@orangelogic/design-system 3.30.0 → 3.32.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/library/chunks/{color-swatch-group.lBTDUt_i.js → color-swatch-group.Dj7Blfcx.js} +5 -5
- package/library/chunks/{document-viewer.Bqh3JppM.js → document-viewer.D5PW4BPW.js} +2 -2
- package/library/chunks/{image.DAbpXfEy.js → image.2ZXc5UiB.js} +2 -2
- package/library/chunks/{index.BDM2hIU7.js → index.T_4MGRBK.js} +1 -1
- package/library/chunks/{resizable-component.styles.CxjaYhiB.js → resizable-component.styles.kMFDlGgv.js} +1 -1
- package/library/chunks/{types.LleN6Ydu.js → types.sT_IYJb2.js} +431 -427
- package/library/components/atoms.js +2 -2
- package/library/components/audio.js +1 -1
- package/library/components/color-swatch-group.js +1 -1
- package/library/components/color-swatch.js +6 -6
- package/library/components/document-viewer.js +3 -3
- package/library/components/image.js +2 -2
- package/library/components/masonry.js +1 -1
- package/library/components/organisms.js +1 -1
- package/library/components/select.js +1 -3
- package/library/components/types.js +4 -4
- package/library/components/video.js +2 -2
- package/library/package.json +1 -1
- package/library/packages/organisms/src/lightbox/lightbox.d.ts +2 -1
- package/package.json +1 -1
|
@@ -20,7 +20,7 @@ import NJ from "../components/details.js";
|
|
|
20
20
|
import "../components/diff.js";
|
|
21
21
|
import { C as oo, D as kw, O as d4, a as fII, H as vII, z as GII, o as YII } from "./dialog.C2q9XwLW.js";
|
|
22
22
|
import ks from "../components/divider.js";
|
|
23
|
-
import { r as KII, a as m4, b as LII, c as XII } from "./document-viewer.
|
|
23
|
+
import { r as KII, a as m4, b as LII, c as XII } from "./document-viewer.D5PW4BPW.js";
|
|
24
24
|
import { d as VII, C as FII } from "./dot-pagination.BclVUAf7.js";
|
|
25
25
|
import "../components/dot-status.js";
|
|
26
26
|
import "../components/drawer.js";
|
|
@@ -38,15 +38,15 @@ import { H as BII, a as zII } from "./hub-connection.BtevPWYb.js";
|
|
|
38
38
|
import { C as vA } from "./icon.BLXWp6CU.js";
|
|
39
39
|
import { C as wA, I as jII } from "./icon-button.BXs29IQE.js";
|
|
40
40
|
import { C as HII, a as MII } from "./iframe.e5XdCox5.js";
|
|
41
|
-
import { C as RJ, a as UII } from "./image.
|
|
41
|
+
import { C as RJ, a as UII } from "./image.2ZXc5UiB.js";
|
|
42
42
|
import "../components/image-comparer.js";
|
|
43
43
|
import "../components/include.js";
|
|
44
44
|
import { C as ie, I as sY } from "./input.zRoRq5mq.js";
|
|
45
45
|
import "../components/input-group.js";
|
|
46
46
|
import Ec from "../components/line-clamp.js";
|
|
47
47
|
import { C as pv, e as _II, x as OII, s as EII, p as Vx, a as TII } from "./markdown.Dh6DSJjb.js";
|
|
48
|
-
import
|
|
49
|
-
import { C as
|
|
48
|
+
import Uo from "../components/menu.js";
|
|
49
|
+
import { C as _o, M as Fx, a as QII } from "./menu-item.Nj67PtZi.js";
|
|
50
50
|
import v3 from "../components/menu-label.js";
|
|
51
51
|
import G3 from "../components/menu-section.js";
|
|
52
52
|
import DII from "../components/mutation-observer.js";
|
|
@@ -107,7 +107,7 @@ import { t as lY, c as zn, d as ZiI, i as yW, G as qd, j as dr, h as FX, s as Hx
|
|
|
107
107
|
import { c as bC } from "./repeat.CFjcER6_.js";
|
|
108
108
|
import { a as ku, F as zc, b as Bu, c as R4, M as R3, d as Bw, e as zw, f as yiI, g as x4, h as S4, i as x3, j as S3, C as WiI, k as Th, l as Ux, m as _x, n as Ox, o as Ex, p as fiI, q as viI, r as Tx, u as k4, s as NX, t as RX, v as xX } from "./asset-link-format.CekdzXsS.js";
|
|
109
109
|
import { H as Jv } from "./slot.j5oheLJC.js";
|
|
110
|
-
import { c as LA, d as GiI, H as YC, e as Xt, f as wo, b as YiI, a as Kg } from "./resizable-component.styles.
|
|
110
|
+
import { c as LA, d as GiI, H as YC, e as Xt, f as wo, b as YiI, a as Kg } from "./resizable-component.styles.kMFDlGgv.js";
|
|
111
111
|
import { s as k3, C as B3, F as Ea, a as rY } from "./folder-select.DZZTtdAO.js";
|
|
112
112
|
import { a as Ig, E as QC, b as Ah, O as Wl, T as mr, G as Qx } from "./index.Cpamj0jB.js";
|
|
113
113
|
import { A as kn, P as cY, B as PI, E as Em, a as ur, I as jw, S as zu, b as oe, C as Qh, c as ou, d as B4, e as Dx, f as KiI, T as Px, D as dY } from "./content-builder.CBBdfVOl.js";
|
|
@@ -118,9 +118,9 @@ import "../components/color-swatch.js";
|
|
|
118
118
|
import { C as yv, a as LiI } from "./confirm-popover.CeKZ8dF1.js";
|
|
119
119
|
import XiI from "../components/corner-position-input-group.js";
|
|
120
120
|
import ViI from "../components/cropper.js";
|
|
121
|
-
import { h as sC, D as j4, e as qx, C as
|
|
121
|
+
import { h as sC, D as j4, e as qx, C as Oo, M as fp, T as xJ } from "./endpoints.mJ5S-tIs.js";
|
|
122
122
|
import { o as lC } from "./if-defined.BRoBj_Rp.js";
|
|
123
|
-
import { O as H4, P as
|
|
123
|
+
import { O as H4, P as ko } from "./position-picker.qkbJlboF.js";
|
|
124
124
|
import { a as j3, p as FiI, e as M4, r as B2, b as NiI, c as RiI, f as Wv } from "./transformation.BwQ_H-4q.js";
|
|
125
125
|
import { a as xiI, b as U4, t as _4, c as H3, r as O4, d as $Z } from "./url.CGdWC06g.js";
|
|
126
126
|
import fv from "../components/dynamic-select.js";
|
|
@@ -128,7 +128,7 @@ import { D as E4, M as SiI, U as kiI, F as BiI } from "./time.DYWuX2id.js";
|
|
|
128
128
|
import { D as pu, b as vv, t as ziI, c as mY, H as jiI, P as I5, a as SX, d as i5, e as HiI } from "./date-picker.BGHn6qg8.js";
|
|
129
129
|
import { g as T4, F as MiI } from "./form.LpappO1d.js";
|
|
130
130
|
import { d as uY, c as C5, e as UiI, i as g5, h as _iI, p as OiI, t as EiI } from "./date.iWq_pkIk.js";
|
|
131
|
-
import { F as Q4, a as TiI, b as M3, D as D4, c as A5, d as QiI, H as DiI, e as Bm, f as Fh, g as Tm, h as vd, o as Jl } from "./color-swatch-group.
|
|
131
|
+
import { F as Q4, a as TiI, b as M3, D as D4, c as A5, d as QiI, H as DiI, e as Bm, f as Fh, g as Tm, h as vd, o as Jl } from "./color-swatch-group.Dj7Blfcx.js";
|
|
132
132
|
import { b as Gv, a as Hw, c as PiI, r as UI, j as yI, w as $iI, R as qiI } from "./jsx-runtime.CTpPVMxj.js";
|
|
133
133
|
import { j as bY } from "./index.CrhRU5m8.js";
|
|
134
134
|
import { i as U3, T as hY, t as ICI } from "./transform.BuqENXeT.js";
|
|
@@ -332,8 +332,8 @@ Ie.dependencies = {
|
|
|
332
332
|
"cx-dropdown": no,
|
|
333
333
|
"cx-icon": vA,
|
|
334
334
|
"cx-icon-button": wA,
|
|
335
|
-
"cx-menu":
|
|
336
|
-
"cx-menu-item":
|
|
335
|
+
"cx-menu": Uo,
|
|
336
|
+
"cx-menu-item": _o,
|
|
337
337
|
"cx-switch": Wp,
|
|
338
338
|
"cx-tooltip": Ke,
|
|
339
339
|
"cx-typography": eA
|
|
@@ -4599,8 +4599,8 @@ Hu.styles = [hC];
|
|
|
4599
4599
|
Hu.dependencies = {
|
|
4600
4600
|
"cx-button": Pg,
|
|
4601
4601
|
"cx-dropdown": no,
|
|
4602
|
-
"cx-menu":
|
|
4603
|
-
"cx-menu-item":
|
|
4602
|
+
"cx-menu": Uo,
|
|
4603
|
+
"cx-menu-item": _o,
|
|
4604
4604
|
"cx-tooltip": Ke
|
|
4605
4605
|
};
|
|
4606
4606
|
$3([
|
|
@@ -4647,8 +4647,8 @@ Mu.styles = [hC];
|
|
|
4647
4647
|
Mu.dependencies = {
|
|
4648
4648
|
"cx-dropdown": no,
|
|
4649
4649
|
"cx-icon-button": wA,
|
|
4650
|
-
"cx-menu":
|
|
4651
|
-
"cx-menu-item":
|
|
4650
|
+
"cx-menu": Uo,
|
|
4651
|
+
"cx-menu-item": _o,
|
|
4652
4652
|
"cx-space": $g,
|
|
4653
4653
|
"cx-tooltip": Ke
|
|
4654
4654
|
};
|
|
@@ -5814,7 +5814,7 @@ let yo = class extends cC {
|
|
|
5814
5814
|
`url("${this.withBackgroundRetryToken(g)}")`
|
|
5815
5815
|
), i("--details-background-size", C.backgroundObjectFit || Ig.Cover), i(
|
|
5816
5816
|
"--details-background-position",
|
|
5817
|
-
H4[C.backgroundCropFocus ??
|
|
5817
|
+
H4[C.backgroundCropFocus ?? ko.TopCenter]
|
|
5818
5818
|
)), I;
|
|
5819
5819
|
}
|
|
5820
5820
|
/**
|
|
@@ -7325,7 +7325,7 @@ var hAI = Object.defineProperty, pAI = Object.getOwnPropertyDescriptor, Me = (C,
|
|
|
7325
7325
|
};
|
|
7326
7326
|
let CA = class extends GiI {
|
|
7327
7327
|
constructor() {
|
|
7328
|
-
super(...arguments), this.localize = new VC(this), this.src = void 0, this.srcset = "", this.sizes = "", this.alt = "", this.pageId = "", this.objectFit = Ig.Cover, this.cropFocus =
|
|
7328
|
+
super(...arguments), this.localize = new VC(this), this.src = void 0, this.srcset = "", this.sizes = "", this.alt = "", this.pageId = "", this.objectFit = Ig.Cover, this.cropFocus = ko.CenterCenter, this.backgroundColor = "", this.noCrossorigin = !1, this.openInNewTab = !1, this.contentVariant = qd.Default, this.showContentType = dr.Always, this.contentPosition = LA.Top, this.canZoom = !1, this.loading = !1, this.canSelect = !1, this.selected = !1, this.inView = !1, this.isInert = !1, this.itemIndex = 0;
|
|
7329
7329
|
}
|
|
7330
7330
|
get canZoomWithSelectMode() {
|
|
7331
7331
|
return this.canZoom;
|
|
@@ -11739,10 +11739,10 @@ const YoI = {
|
|
|
11739
11739
|
zIndex: 0
|
|
11740
11740
|
};
|
|
11741
11741
|
function KoI({ nodes: C, edges: I, defaultNodes: i, defaultEdges: g, className: A, nodeTypes: e, edgeTypes: t, onNodeClick: o, onEdgeClick: n, onInit: s, onMove: a, onMoveStart: l, onMoveEnd: c, onConnect: d, onConnectStart: u, onConnectEnd: p, onClickConnectStart: Z, onClickConnectEnd: J, onNodeMouseEnter: G, onNodeMouseMove: W, onNodeMouseLeave: v, onNodeContextMenu: V, onNodeDoubleClick: x, onNodeDragStart: M, onNodeDrag: j, onNodeDragStop: S, onNodesDelete: D, onEdgesDelete: z, onDelete: B, onSelectionChange: O, onSelectionDragStart: N, onSelectionDrag: E, onSelectionDragStop: R, onSelectionContextMenu: AI, onSelectionStart: sI, onSelectionEnd: II, onBeforeDelete: uI, connectionMode: LI, connectionLineType: hI = Rd.Bezier, connectionLineStyle: vI, connectionLineComponent: YI, connectionLineContainerStyle: ti, deleteKeyCode: di = "Backspace", selectionKeyCode: Ci = "Shift", selectionOnDrag: Ai = !1, selectionMode: TI = Tw.Full, panActivationKeyCode: yi = "Space", multiSelectionKeyCode: bi = jW() ? "Meta" : "Control", zoomActivationKeyCode: aI = jW() ? "Meta" : "Control", snapToGrid: gi, snapGrid: ni, onlyRenderVisibleElements: zi = !1, selectNodesOnDrag: IC, nodesDraggable: Oi, autoPanOnNodeFocus: Q, nodesConnectable: oI, nodesFocusable: pI, nodeOrigin: FI = I6, edgesFocusable: qI, edgesReconnectable: rI, elementsSelectable: BI = !0, defaultViewport: NI = ttI, minZoom: Di = 0.5, maxZoom: JC = 2, translateExtent: SC = Ew, preventScrolling: nI = !0, nodeExtent: XI, defaultMarkerColor: CI = "#b1b1b7", zoomOnScroll: hi = !0, zoomOnPinch: jI = !0, panOnScroll: vi = !1, panOnScrollSpeed: Pi = 0.5, panOnScrollMode: ri = yu.Free, zoomOnDoubleClick: Si = !0, panOnDrag: uC = !0, onPaneClick: PC, onPaneMouseEnter: Li, onPaneMouseMove: rg, onPaneMouseLeave: SA, onPaneScroll: ge, onPaneContextMenu: tI, paneClickDistance: WI = 0, nodeClickDistance: kI = 0, children: Zi, onReconnect: xi, onReconnectStart: vC, onReconnectEnd: EC, onEdgeContextMenu: mA, onEdgeDoubleClick: eg, onEdgeMouseEnter: cg, onEdgeMouseMove: Yo, onEdgeMouseLeave: uA, reconnectRadius: Ve = 10, onNodesChange: tt, onEdgesChange: Hg, noDragClassName: bA = "nodrag", noWheelClassName: ag = "nowheel", noPanClassName: kA = "nopan", fitView: NC, fitViewOptions: jt, connectOnClick: Ae, attributionPosition: ee, proOptions: YA, defaultEdgeOptions: ot, elevateNodesOnSelect: xg, elevateEdgesOnSelect: ki, disableKeyboardA11y: VA = !1, autoPanOnConnect: Eg, autoPanOnNodeDrag: ye, autoPanSpeed: tg, connectionRadius: qg, isValidConnection: Zt, onError: Ht, style: Gi, id: RC, nodeDragThreshold: wt, connectionDragThreshold: iI, viewport: lI, onViewportChange: mi, width: Xi, height: Fi, colorMode: ZC = "light", debug: og, onScroll: oA, ariaLabelConfig: Xg, ...Jt }, ts) {
|
|
11742
|
-
const lo = RC || "1", ns = atI(ZC),
|
|
11742
|
+
const lo = RC || "1", ns = atI(ZC), Qo = UI.useCallback((Os) => {
|
|
11743
11743
|
Os.currentTarget.scrollTo({ top: 0, left: 0, behavior: "instant" }), oA?.(Os);
|
|
11744
11744
|
}, [oA]);
|
|
11745
|
-
return yI.jsx("div", { "data-testid": "rf__wrapper", ...Jt, onScroll:
|
|
11745
|
+
return yI.jsx("div", { "data-testid": "rf__wrapper", ...Jt, onScroll: Qo, style: { ...Gi, ...YoI }, ref: ts, className: xt(["react-flow", A, ns]), id: RC, role: "application", children: yI.jsxs(GoI, { nodes: C, edges: I, width: Xi, height: Fi, fitView: NC, fitViewOptions: jt, minZoom: Di, maxZoom: JC, nodeOrigin: FI, nodeExtent: XI, children: [yI.jsx(foI, { onInit: s, onNodeClick: o, onEdgeClick: n, onNodeMouseEnter: G, onNodeMouseMove: W, onNodeMouseLeave: v, onNodeContextMenu: V, onNodeDoubleClick: x, nodeTypes: e, edgeTypes: t, connectionLineType: hI, connectionLineStyle: vI, connectionLineComponent: YI, connectionLineContainerStyle: ti, selectionKeyCode: Ci, selectionOnDrag: Ai, selectionMode: TI, deleteKeyCode: di, multiSelectionKeyCode: bi, panActivationKeyCode: yi, zoomActivationKeyCode: aI, onlyRenderVisibleElements: zi, defaultViewport: NI, translateExtent: SC, minZoom: Di, maxZoom: JC, preventScrolling: nI, zoomOnScroll: hi, zoomOnPinch: jI, zoomOnDoubleClick: Si, panOnScroll: vi, panOnScrollSpeed: Pi, panOnScrollMode: ri, panOnDrag: uC, onPaneClick: PC, onPaneMouseEnter: Li, onPaneMouseMove: rg, onPaneMouseLeave: SA, onPaneScroll: ge, onPaneContextMenu: tI, paneClickDistance: WI, nodeClickDistance: kI, onSelectionContextMenu: AI, onSelectionStart: sI, onSelectionEnd: II, onReconnect: xi, onReconnectStart: vC, onReconnectEnd: EC, onEdgeContextMenu: mA, onEdgeDoubleClick: eg, onEdgeMouseEnter: cg, onEdgeMouseMove: Yo, onEdgeMouseLeave: uA, reconnectRadius: Ve, defaultMarkerColor: CI, noDragClassName: bA, noWheelClassName: ag, noPanClassName: kA, rfId: lo, disableKeyboardA11y: VA, nodeExtent: XI, viewport: lI, onViewportChange: mi }), yI.jsx(stI, { nodes: C, edges: I, defaultNodes: i, defaultEdges: g, onConnect: d, onConnectStart: u, onConnectEnd: p, onClickConnectStart: Z, onClickConnectEnd: J, nodesDraggable: Oi, autoPanOnNodeFocus: Q, nodesConnectable: oI, nodesFocusable: pI, edgesFocusable: qI, edgesReconnectable: rI, elementsSelectable: BI, elevateNodesOnSelect: xg, elevateEdgesOnSelect: ki, minZoom: Di, maxZoom: JC, nodeExtent: XI, onNodesChange: tt, onEdgesChange: Hg, snapToGrid: gi, snapGrid: ni, connectionMode: LI, translateExtent: SC, connectOnClick: Ae, defaultEdgeOptions: ot, fitView: NC, fitViewOptions: jt, onNodesDelete: D, onEdgesDelete: z, onDelete: B, onNodeDragStart: M, onNodeDrag: j, onNodeDragStop: S, onSelectionDrag: E, onSelectionDragStart: N, onSelectionDragStop: R, onMove: a, onMoveStart: l, onMoveEnd: c, noPanClassName: kA, nodeOrigin: FI, rfId: lo, autoPanOnConnect: Eg, autoPanOnNodeDrag: ye, autoPanSpeed: tg, onError: Ht, connectionRadius: qg, isValidConnection: Zt, selectNodesOnDrag: IC, nodeDragThreshold: wt, connectionDragThreshold: iI, onBeforeDelete: uI, paneClickDistance: WI, debug: og, ariaLabelConfig: Xg }), yI.jsx(etI, { onSelectionChange: O }), Zi, yI.jsx(ItI, { proOptions: YA, position: ee }), yI.jsx(qeI, { rfId: lo, disableKeyboardA11y: VA })] }) });
|
|
11746
11746
|
}
|
|
11747
11747
|
var LoI = A6(KoI);
|
|
11748
11748
|
const XoI = (C) => C.domNode?.querySelector(".react-flow__edgelabel-renderer");
|
|
@@ -15505,8 +15505,8 @@ gm.dependencies = {
|
|
|
15505
15505
|
"cx-icon": vA,
|
|
15506
15506
|
"cx-icon-button": wA,
|
|
15507
15507
|
"cx-line-clamp": Ec,
|
|
15508
|
-
"cx-menu":
|
|
15509
|
-
"cx-menu-item":
|
|
15508
|
+
"cx-menu": Uo,
|
|
15509
|
+
"cx-menu-item": _o,
|
|
15510
15510
|
"cx-spinner": Bs,
|
|
15511
15511
|
"cx-tooltip": Ke
|
|
15512
15512
|
};
|
|
@@ -16330,8 +16330,8 @@ rA.dependencies = {
|
|
|
16330
16330
|
"cx-icon": vA,
|
|
16331
16331
|
"cx-icon-button": wA,
|
|
16332
16332
|
"cx-input": ie,
|
|
16333
|
-
"cx-menu":
|
|
16334
|
-
"cx-menu-item":
|
|
16333
|
+
"cx-menu": Uo,
|
|
16334
|
+
"cx-menu-item": _o,
|
|
16335
16335
|
"cx-option": Ft,
|
|
16336
16336
|
"cx-select": so,
|
|
16337
16337
|
"cx-space": $g
|
|
@@ -21132,7 +21132,7 @@ class DC {
|
|
|
21132
21132
|
negative, it will search backwards first.
|
|
21133
21133
|
*/
|
|
21134
21134
|
static near(I, i = 1) {
|
|
21135
|
-
return this.findFrom(I, i) || this.findFrom(I, -i) || new
|
|
21135
|
+
return this.findFrom(I, i) || this.findFrom(I, -i) || new sn(I.node(0));
|
|
21136
21136
|
}
|
|
21137
21137
|
/**
|
|
21138
21138
|
Find the cursor or leaf node selection closest to the start of
|
|
@@ -21141,14 +21141,14 @@ class DC {
|
|
|
21141
21141
|
exists.
|
|
21142
21142
|
*/
|
|
21143
21143
|
static atStart(I) {
|
|
21144
|
-
return Eb(I, I, 0, 0, 1) || new
|
|
21144
|
+
return Eb(I, I, 0, 0, 1) || new sn(I);
|
|
21145
21145
|
}
|
|
21146
21146
|
/**
|
|
21147
21147
|
Find the cursor or leaf node selection closest to the end of the
|
|
21148
21148
|
given document.
|
|
21149
21149
|
*/
|
|
21150
21150
|
static atEnd(I) {
|
|
21151
|
-
return Eb(I, I, I.content.size, I.childCount, -1) || new
|
|
21151
|
+
return Eb(I, I, I.content.size, I.childCount, -1) || new sn(I);
|
|
21152
21152
|
}
|
|
21153
21153
|
/**
|
|
21154
21154
|
Deserialize the JSON representation of a selection. Must be
|
|
@@ -21344,7 +21344,7 @@ class yF {
|
|
|
21344
21344
|
return g && xC.isSelectable(g) ? new xC(i) : DC.near(i);
|
|
21345
21345
|
}
|
|
21346
21346
|
}
|
|
21347
|
-
class
|
|
21347
|
+
class sn extends DC {
|
|
21348
21348
|
/**
|
|
21349
21349
|
Create an all-selection over the given document.
|
|
21350
21350
|
*/
|
|
@@ -21366,25 +21366,25 @@ class nn extends DC {
|
|
|
21366
21366
|
@internal
|
|
21367
21367
|
*/
|
|
21368
21368
|
static fromJSON(I) {
|
|
21369
|
-
return new
|
|
21369
|
+
return new sn(I);
|
|
21370
21370
|
}
|
|
21371
21371
|
map(I) {
|
|
21372
|
-
return new
|
|
21372
|
+
return new sn(I);
|
|
21373
21373
|
}
|
|
21374
21374
|
eq(I) {
|
|
21375
|
-
return I instanceof
|
|
21375
|
+
return I instanceof sn;
|
|
21376
21376
|
}
|
|
21377
21377
|
getBookmark() {
|
|
21378
21378
|
return QaI;
|
|
21379
21379
|
}
|
|
21380
21380
|
}
|
|
21381
|
-
DC.jsonID("all",
|
|
21381
|
+
DC.jsonID("all", sn);
|
|
21382
21382
|
const QaI = {
|
|
21383
21383
|
map() {
|
|
21384
21384
|
return this;
|
|
21385
21385
|
},
|
|
21386
21386
|
resolve(C) {
|
|
21387
|
-
return new
|
|
21387
|
+
return new sn(C);
|
|
21388
21388
|
}
|
|
21389
21389
|
};
|
|
21390
21390
|
function Eb(C, I, i, g, A, e = !1) {
|
|
@@ -22033,7 +22033,7 @@ const KF = (C, I) => {
|
|
|
22033
22033
|
return !0;
|
|
22034
22034
|
}, j_ = (C, I) => {
|
|
22035
22035
|
let i = C.selection, { $from: g, $to: A } = i;
|
|
22036
|
-
if (i instanceof
|
|
22036
|
+
if (i instanceof sn || g.parent.inlineContent || A.parent.inlineContent)
|
|
22037
22037
|
return !1;
|
|
22038
22038
|
let e = YF(A.parent.contentMatchAt(A.indexAfter()));
|
|
22039
22039
|
if (!e || !e.isTextblock)
|
|
@@ -22073,7 +22073,7 @@ function glI(C) {
|
|
|
22073
22073
|
e.unshift(null);
|
|
22074
22074
|
}
|
|
22075
22075
|
let a = I.tr;
|
|
22076
|
-
(I.selection instanceof BC || I.selection instanceof
|
|
22076
|
+
(I.selection instanceof BC || I.selection instanceof sn) && a.deleteSelection();
|
|
22077
22077
|
let l = a.mapping.map(g.pos), c = da(a.doc, l, e.length, e);
|
|
22078
22078
|
if (c || (e[0] = o ? { type: o } : null, c = da(a.doc, l, e.length, e)), a.split(l, e.length, e), !n && s && g.node(t).type != o) {
|
|
22079
22079
|
let d = a.mapping.map(g.before(t)), u = a.doc.resolve(d);
|
|
@@ -22085,7 +22085,7 @@ function glI(C) {
|
|
|
22085
22085
|
const AlI = glI(), elI = (C, I) => {
|
|
22086
22086
|
let { $from: i, to: g } = C.selection, A, e = i.sharedDepth(g);
|
|
22087
22087
|
return e == 0 ? !1 : (A = i.before(e), I && I(C.tr.setSelection(xC.create(C.doc, A))), !0);
|
|
22088
|
-
}, tlI = (C, I) => (I && I(C.tr.setSelection(new
|
|
22088
|
+
}, tlI = (C, I) => (I && I(C.tr.setSelection(new sn(C.doc))), !0);
|
|
22089
22089
|
function olI(C, I, i) {
|
|
22090
22090
|
let g = I.nodeBefore, A = I.nodeAfter, e = I.index();
|
|
22091
22091
|
return !g || !A || !g.type.compatibleContent(A.type) ? !1 : !g.content.size && I.parent.canReplace(e - 1, e) ? (i && i(C.tr.delete(I.pos - g.nodeSize, I.pos).scrollIntoView()), !0) : !I.parent.canReplace(e, e + 1) || !(A.isTextblock || $c(C.doc, I.pos)) ? !1 : (i && i(C.tr.join(I.pos).scrollIntoView()), !0);
|
|
@@ -23716,7 +23716,7 @@ function ElI(C, I, i) {
|
|
|
23716
23716
|
}
|
|
23717
23717
|
const fr = typeof navigator < "u" ? navigator : null, OS = typeof document < "u" ? document : null, lm = fr && fr.userAgent || "", rV = /Edge\/(\d+)/.exec(lm), AO = /MSIE \d/.exec(lm), cV = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(lm), Fs = !!(AO || cV || rV), Od = AO ? document.documentMode : cV ? +cV[1] : rV ? +rV[1] : 0, Sl = !Fs && /gecko\/(\d+)/i.test(lm);
|
|
23718
23718
|
Sl && +(/Firefox\/(\d+)/.exec(lm) || [0, 0])[1];
|
|
23719
|
-
const dV = !Fs && /Chrome\/(\d+)/.exec(lm),
|
|
23719
|
+
const dV = !Fs && /Chrome\/(\d+)/.exec(lm), on = !!dV, eO = dV ? +dV[1] : 0, Dn = !Fs && !!fr && /Apple Computer/.test(fr.vendor), op = Dn && (/Mobile\/\w+/.test(lm) || !!fr && fr.maxTouchPoints > 2), ja = op || (fr ? /Mac/.test(fr.platform) : !1), TlI = fr ? /Win/.test(fr.platform) : !1, Gc = /Android \d/.test(lm), DJ = !!OS && "webkitFontSmoothing" in OS.documentElement.style, QlI = DJ ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
|
|
23720
23720
|
function DlI(C) {
|
|
23721
23721
|
let I = C.defaultView && C.defaultView.visualViewport;
|
|
23722
23722
|
return I ? {
|
|
@@ -24922,7 +24922,7 @@ class drI {
|
|
|
24922
24922
|
for (; I instanceof Tu; )
|
|
24923
24923
|
i = I, I = i.children[i.children.length - 1];
|
|
24924
24924
|
(!I || // Empty textblock
|
|
24925
|
-
!(I instanceof Pv) || /\n$/.test(I.node.text) || this.view.requiresGeckoHackNode && /\s$/.test(I.node.text)) && ((Dn ||
|
|
24925
|
+
!(I instanceof Pv) || /\n$/.test(I.node.text) || this.view.requiresGeckoHackNode && /\s$/.test(I.node.text)) && ((Dn || on) && I && I.dom.contentEditable == "false" && this.addHackNode("IMG", i), this.addHackNode("BR", this.top));
|
|
24926
24926
|
}
|
|
24927
24927
|
addHackNode(I, i) {
|
|
24928
24928
|
if (i == this.top && this.index < i.children.length && i.children[this.index].matchesHack(I))
|
|
@@ -25098,7 +25098,7 @@ function bO(C) {
|
|
|
25098
25098
|
function xc(C, I = !1) {
|
|
25099
25099
|
let i = C.state.selection;
|
|
25100
25100
|
if (hO(C, i), !!bO(C)) {
|
|
25101
|
-
if (!I && C.input.mouseDown && C.input.mouseDown.allowDefault &&
|
|
25101
|
+
if (!I && C.input.mouseDown && C.input.mouseDown.allowDefault && on) {
|
|
25102
25102
|
let g = C.domSelectionRange(), A = C.domObserver.currentSelection;
|
|
25103
25103
|
if (g.anchorNode && A.anchorNode && Eu(g.anchorNode, g.anchorOffset, A.anchorNode, A.anchorOffset)) {
|
|
25104
25104
|
C.input.mouseDown.delayedSelectionSync = !0, C.domObserver.setCurSelection();
|
|
@@ -25114,7 +25114,7 @@ function xc(C, I = !1) {
|
|
|
25114
25114
|
C.domObserver.setCurSelection(), C.domObserver.connectSelection();
|
|
25115
25115
|
}
|
|
25116
25116
|
}
|
|
25117
|
-
const ik = Dn ||
|
|
25117
|
+
const ik = Dn || on && eO < 63;
|
|
25118
25118
|
function Ck(C, I) {
|
|
25119
25119
|
let { node: i, offset: g } = C.docView.domFromPos(I, 0), A = g < i.childNodes.length ? i.childNodes[g] : null, e = g ? i.childNodes[g - 1] : null;
|
|
25120
25120
|
if (Dn && A && A.contentEditable == "false")
|
|
@@ -25342,7 +25342,7 @@ function hV(C, I, i) {
|
|
|
25342
25342
|
}
|
|
25343
25343
|
function ok(C, I) {
|
|
25344
25344
|
let i = C.state.doc.resolve(I);
|
|
25345
|
-
if (!(
|
|
25345
|
+
if (!(on || TlI) && i.parent.inlineContent) {
|
|
25346
25346
|
let A = C.coordsAtPos(I);
|
|
25347
25347
|
if (I > i.start()) {
|
|
25348
25348
|
let e = C.coordsAtPos(I - 1), t = (e.top + e.bottom) / 2;
|
|
@@ -25368,7 +25368,7 @@ function nk(C, I, i) {
|
|
|
25368
25368
|
return Kd(C, t);
|
|
25369
25369
|
}
|
|
25370
25370
|
if (!A.parent.inlineContent) {
|
|
25371
|
-
let t = I < 0 ? A : e, o = g instanceof
|
|
25371
|
+
let t = I < 0 ? A : e, o = g instanceof sn ? DC.near(t, I) : DC.findFrom(t, I);
|
|
25372
25372
|
return o ? Kd(C, o) : !1;
|
|
25373
25373
|
}
|
|
25374
25374
|
return !1;
|
|
@@ -25595,7 +25595,7 @@ function FrI(C) {
|
|
|
25595
25595
|
return i;
|
|
25596
25596
|
}
|
|
25597
25597
|
function NrI(C) {
|
|
25598
|
-
let I = C.querySelectorAll(
|
|
25598
|
+
let I = C.querySelectorAll(on ? "span:not([class]):not([style])" : "span.Apple-converted-space");
|
|
25599
25599
|
for (let i = 0; i < I.length; i++) {
|
|
25600
25600
|
let g = I[i];
|
|
25601
25601
|
g.childNodes.length == 1 && g.textContent == " " && g.parentNode && g.parentNode.replaceChild(C.ownerDocument.createTextNode(" "), g);
|
|
@@ -25670,7 +25670,7 @@ function jrI(C, I) {
|
|
|
25670
25670
|
}
|
|
25671
25671
|
$n.keydown = (C, I) => {
|
|
25672
25672
|
let i = I;
|
|
25673
|
-
if (C.input.shiftKey = i.keyCode == 16 || i.shiftKey, !KO(C, i) && (C.input.lastKeyCode = i.keyCode, C.input.lastKeyCodeTime = Date.now(), !(Gc &&
|
|
25673
|
+
if (C.input.shiftKey = i.keyCode == 16 || i.shiftKey, !KO(C, i) && (C.input.lastKeyCode = i.keyCode, C.input.lastKeyCodeTime = Date.now(), !(Gc && on && i.keyCode == 13)))
|
|
25674
25674
|
if (i.keyCode != 229 && C.domObserver.forceFlush(), op && i.keyCode == 13 && !i.ctrlKey && !i.altKey && !i.metaKey) {
|
|
25675
25675
|
let g = Date.now();
|
|
25676
25676
|
C.input.lastIOSEnter = g, C.input.lastIOSEnterFallbackTimeout = setTimeout(() => {
|
|
@@ -25814,7 +25814,7 @@ class QrI {
|
|
|
25814
25814
|
// (hidden) cursor is doesn't change the selection, and
|
|
25815
25815
|
// thus doesn't get a reaction from ProseMirror. This
|
|
25816
25816
|
// works around that.
|
|
25817
|
-
|
|
25817
|
+
on && !this.view.state.selection.visible && Math.min(Math.abs(i.pos - this.view.state.selection.from), Math.abs(i.pos - this.view.state.selection.to)) <= 2) ? (Sh(this.view, DC.near(this.view.state.doc.resolve(i.pos))), I.preventDefault()) : Bd(this.view, "pointer");
|
|
25818
25818
|
}
|
|
25819
25819
|
move(I) {
|
|
25820
25820
|
this.updateAllowDefault(I), Bd(this.view, "pointer"), I.buttons == 0 && this.done();
|
|
@@ -25974,7 +25974,7 @@ Pn.dragstart = (C, I) => {
|
|
|
25974
25974
|
}
|
|
25975
25975
|
}
|
|
25976
25976
|
let o = (t || C.state.selection).content(), { dom: n, text: s, slice: a } = wO(C, o);
|
|
25977
|
-
(!i.dataTransfer.files.length || !
|
|
25977
|
+
(!i.dataTransfer.files.length || !on || eO > 120) && i.dataTransfer.clearData(), i.dataTransfer.setData(gJ ? "Text" : "text/html", n.innerHTML), i.dataTransfer.effectAllowed = "copyMove", gJ || i.dataTransfer.setData("text/plain", s), C.dragging = new FO(a, !i[NO], t);
|
|
25978
25978
|
};
|
|
25979
25979
|
Pn.dragend = (C) => {
|
|
25980
25980
|
let I = C.dragging;
|
|
@@ -26031,7 +26031,7 @@ Pn.blur = (C, I) => {
|
|
|
26031
26031
|
C.focused && (C.domObserver.stop(), C.dom.classList.remove("ProseMirror-focused"), C.domObserver.start(), i.relatedTarget && C.dom.contains(i.relatedTarget) && C.domObserver.currentSelection.clear(), C.focused = !1);
|
|
26032
26032
|
};
|
|
26033
26033
|
Pn.beforeinput = (C, I) => {
|
|
26034
|
-
if (
|
|
26034
|
+
if (on && Gc && I.inputType == "deleteContentBackward") {
|
|
26035
26035
|
C.domObserver.flushSoon();
|
|
26036
26036
|
let { domChangeCount: g } = C.input;
|
|
26037
26037
|
setTimeout(() => {
|
|
@@ -26199,7 +26199,7 @@ class Zg {
|
|
|
26199
26199
|
you must make a copy if you want need to preserve that.
|
|
26200
26200
|
*/
|
|
26201
26201
|
static create(I, i) {
|
|
26202
|
-
return i.length ? C0(i, I, 0, Yu) :
|
|
26202
|
+
return i.length ? C0(i, I, 0, Yu) : gn;
|
|
26203
26203
|
}
|
|
26204
26204
|
/**
|
|
26205
26205
|
Find all decorations in this set which touch the given range
|
|
@@ -26229,7 +26229,7 @@ class Zg {
|
|
|
26229
26229
|
document.
|
|
26230
26230
|
*/
|
|
26231
26231
|
map(I, i, g) {
|
|
26232
|
-
return this ==
|
|
26232
|
+
return this == gn || I.maps.length == 0 ? this : this.mapInner(I, i, 0, 0, g || Yu);
|
|
26233
26233
|
}
|
|
26234
26234
|
/**
|
|
26235
26235
|
@internal
|
|
@@ -26240,7 +26240,7 @@ class Zg {
|
|
|
26240
26240
|
let n = this.local[o].map(I, g, A);
|
|
26241
26241
|
n && n.type.valid(i, n) ? (t || (t = [])).push(n) : e.onRemove && e.onRemove(this.local[o].spec);
|
|
26242
26242
|
}
|
|
26243
|
-
return this.children.length ? CcI(this.children, t || [], I, i, g, A, e) : t ? new Zg(t.sort(Ku), Qb) :
|
|
26243
|
+
return this.children.length ? CcI(this.children, t || [], I, i, g, A, e) : t ? new Zg(t.sort(Ku), Qb) : gn;
|
|
26244
26244
|
}
|
|
26245
26245
|
/**
|
|
26246
26246
|
Add the given array of decorations to the ones in the set,
|
|
@@ -26249,7 +26249,7 @@ class Zg {
|
|
|
26249
26249
|
structure.
|
|
26250
26250
|
*/
|
|
26251
26251
|
add(I, i) {
|
|
26252
|
-
return i.length ? this ==
|
|
26252
|
+
return i.length ? this == gn ? Zg.create(I, i) : this.addInner(I, i, 0) : this;
|
|
26253
26253
|
}
|
|
26254
26254
|
addInner(I, i, g) {
|
|
26255
26255
|
let A, e = 0;
|
|
@@ -26271,7 +26271,7 @@ class Zg {
|
|
|
26271
26271
|
the ones in the given array.
|
|
26272
26272
|
*/
|
|
26273
26273
|
remove(I) {
|
|
26274
|
-
return I.length == 0 || this ==
|
|
26274
|
+
return I.length == 0 || this == gn ? this : this.removeInner(I, 0);
|
|
26275
26275
|
}
|
|
26276
26276
|
removeInner(I, i) {
|
|
26277
26277
|
let g = this.children, A = this.local;
|
|
@@ -26283,7 +26283,7 @@ class Zg {
|
|
|
26283
26283
|
continue;
|
|
26284
26284
|
g == this.children && (g = this.children.slice());
|
|
26285
26285
|
let s = g[e + 2].removeInner(t, o + 1);
|
|
26286
|
-
s !=
|
|
26286
|
+
s != gn ? g[e + 2] = s : (g.splice(e, 3), e -= 3);
|
|
26287
26287
|
}
|
|
26288
26288
|
if (A.length) {
|
|
26289
26289
|
for (let e = 0, t; e < I.length; e++)
|
|
@@ -26291,10 +26291,10 @@ class Zg {
|
|
|
26291
26291
|
for (let o = 0; o < A.length; o++)
|
|
26292
26292
|
A[o].eq(t, i) && (A == this.local && (A = this.local.slice()), A.splice(o--, 1));
|
|
26293
26293
|
}
|
|
26294
|
-
return g == this.children && A == this.local ? this : A.length || g.length ? new Zg(A, g) :
|
|
26294
|
+
return g == this.children && A == this.local ? this : A.length || g.length ? new Zg(A, g) : gn;
|
|
26295
26295
|
}
|
|
26296
26296
|
forChild(I, i) {
|
|
26297
|
-
if (this ==
|
|
26297
|
+
if (this == gn)
|
|
26298
26298
|
return this;
|
|
26299
26299
|
if (i.isLeaf)
|
|
26300
26300
|
return Zg.empty;
|
|
@@ -26316,7 +26316,7 @@ class Zg {
|
|
|
26316
26316
|
let o = new Zg(A.sort(Ku), Qb);
|
|
26317
26317
|
return g ? new xd([o, g]) : o;
|
|
26318
26318
|
}
|
|
26319
|
-
return g ||
|
|
26319
|
+
return g || gn;
|
|
26320
26320
|
}
|
|
26321
26321
|
/**
|
|
26322
26322
|
@internal
|
|
@@ -26344,7 +26344,7 @@ class Zg {
|
|
|
26344
26344
|
@internal
|
|
26345
26345
|
*/
|
|
26346
26346
|
localsInner(I) {
|
|
26347
|
-
if (this ==
|
|
26347
|
+
if (this == gn)
|
|
26348
26348
|
return Qb;
|
|
26349
26349
|
if (I.inlineContent || !this.local.some(Td.is))
|
|
26350
26350
|
return this.local;
|
|
@@ -26359,7 +26359,7 @@ class Zg {
|
|
|
26359
26359
|
}
|
|
26360
26360
|
Zg.empty = new Zg([], []);
|
|
26361
26361
|
Zg.removeOverlap = kF;
|
|
26362
|
-
const
|
|
26362
|
+
const gn = Zg.empty;
|
|
26363
26363
|
class xd {
|
|
26364
26364
|
constructor(I) {
|
|
26365
26365
|
this.members = I;
|
|
@@ -26374,7 +26374,7 @@ class xd {
|
|
|
26374
26374
|
let g = [];
|
|
26375
26375
|
for (let A = 0; A < this.members.length; A++) {
|
|
26376
26376
|
let e = this.members[A].forChild(I, i);
|
|
26377
|
-
e !=
|
|
26377
|
+
e != gn && (e instanceof xd ? g = g.concat(e.members) : g.push(e));
|
|
26378
26378
|
}
|
|
26379
26379
|
return xd.from(g);
|
|
26380
26380
|
}
|
|
@@ -26406,7 +26406,7 @@ class xd {
|
|
|
26406
26406
|
static from(I) {
|
|
26407
26407
|
switch (I.length) {
|
|
26408
26408
|
case 0:
|
|
26409
|
-
return
|
|
26409
|
+
return gn;
|
|
26410
26410
|
case 1:
|
|
26411
26411
|
return I[0];
|
|
26412
26412
|
default:
|
|
@@ -26449,7 +26449,7 @@ function CcI(C, I, i, g, A, e, t) {
|
|
|
26449
26449
|
let c = i.map(C[s + 1] + e, -1), d = c - A, { index: u, offset: p } = g.content.findIndex(l), Z = g.maybeChild(u);
|
|
26450
26450
|
if (Z && p == l && p + Z.nodeSize == d) {
|
|
26451
26451
|
let J = o[s + 2].mapInner(i, Z, a + 1, C[s] + e + 1, t);
|
|
26452
|
-
J !=
|
|
26452
|
+
J != gn ? (o[s] = l, o[s + 1] = d, o[s + 2] = J) : (o[s + 1] = -2, n = !0);
|
|
26453
26453
|
} else
|
|
26454
26454
|
n = !0;
|
|
26455
26455
|
}
|
|
@@ -26511,13 +26511,13 @@ function C0(C, I, i, g) {
|
|
|
26511
26511
|
if (s) {
|
|
26512
26512
|
e = !0;
|
|
26513
26513
|
let a = C0(s, o, i + n + 1, g);
|
|
26514
|
-
a !=
|
|
26514
|
+
a != gn && A.push(n, n + o.nodeSize, a);
|
|
26515
26515
|
}
|
|
26516
26516
|
});
|
|
26517
26517
|
let t = RO(e ? SO(C) : C, -i).sort(Ku);
|
|
26518
26518
|
for (let o = 0; o < t.length; o++)
|
|
26519
26519
|
t[o].type.valid(I, t[o]) || (g.onRemove && g.onRemove(t[o].spec), t.splice(o--, 1));
|
|
26520
|
-
return t.length || A.length ? new Zg(t, A) :
|
|
26520
|
+
return t.length || A.length ? new Zg(t, A) : gn;
|
|
26521
26521
|
}
|
|
26522
26522
|
function Ku(C, I) {
|
|
26523
26523
|
return C.from - I.from || C.to - I.to;
|
|
@@ -26549,7 +26549,7 @@ function AK(C) {
|
|
|
26549
26549
|
let I = [];
|
|
26550
26550
|
return C.someProp("decorations", (i) => {
|
|
26551
26551
|
let g = i(C.state);
|
|
26552
|
-
g && g !=
|
|
26552
|
+
g && g != gn && I.push(g);
|
|
26553
26553
|
}), C.cursorWrapper && I.push(Zg.create(C.state.doc, [C.cursorWrapper.deco])), xd.from(I);
|
|
26554
26554
|
}
|
|
26555
26555
|
const AcI = {
|
|
@@ -26750,7 +26750,7 @@ function acI(C, I) {
|
|
|
26750
26750
|
}
|
|
26751
26751
|
function lcI(C, I, i) {
|
|
26752
26752
|
let { node: g, fromOffset: A, toOffset: e, from: t, to: o } = C.docView.parseRange(I, i), n = C.domSelectionRange(), s, a = n.anchorNode;
|
|
26753
|
-
if (a && C.dom.contains(a.nodeType == 1 ? a : a.parentNode) && (s = [{ node: a, offset: n.anchorOffset }], Dv(n) || s.push({ node: n.focusNode, offset: n.focusOffset })),
|
|
26753
|
+
if (a && C.dom.contains(a.nodeType == 1 ? a : a.parentNode) && (s = [{ node: a, offset: n.anchorOffset }], Dv(n) || s.push({ node: n.focusNode, offset: n.focusOffset })), on && C.input.lastKeyCode === 8)
|
|
26754
26754
|
for (let Z = e; Z > A; Z--) {
|
|
26755
26755
|
let J = g.childNodes[Z - 1], G = J.pmViewDesc;
|
|
26756
26756
|
if (J.nodeName == "BR" && !G) {
|
|
@@ -26797,7 +26797,7 @@ function dcI(C, I, i, g, A) {
|
|
|
26797
26797
|
if (C.input.compositionPendingChanges = 0, I < 0) {
|
|
26798
26798
|
let S = C.input.lastSelectionTime > Date.now() - 50 ? C.input.lastSelectionOrigin : null, D = VF(C, S);
|
|
26799
26799
|
if (D && !C.state.selection.eq(D)) {
|
|
26800
|
-
if (
|
|
26800
|
+
if (on && Gc && C.input.lastKeyCode === 13 && Date.now() - 100 < C.input.lastKeyCodeTime && C.someProp("handleKeyDown", (B) => B(C, Pm(13, "Enter"))))
|
|
26801
26801
|
return;
|
|
26802
26802
|
let z = C.state.tr.setSelection(D);
|
|
26803
26803
|
S == "pointer" ? z.setMeta("pointer", !0) : S == "key" && z.scrollIntoView(), e && z.setMeta("composition", e), C.dispatch(z);
|
|
@@ -26833,10 +26833,10 @@ function dcI(C, I, i, g, A) {
|
|
|
26833
26833
|
return;
|
|
26834
26834
|
}
|
|
26835
26835
|
if (C.state.selection.anchor > u.start && ucI(a, u.start, u.endA, p, Z) && C.someProp("handleKeyDown", (S) => S(C, Pm(8, "Backspace")))) {
|
|
26836
|
-
Gc &&
|
|
26836
|
+
Gc && on && C.domObserver.suppressSelectionUpdates();
|
|
26837
26837
|
return;
|
|
26838
26838
|
}
|
|
26839
|
-
|
|
26839
|
+
on && u.endB == u.start && (C.input.lastChromeDelete = Date.now()), Gc && !G && p.start() != Z.start() && Z.parentOffset == 0 && p.depth == Z.depth && s.sel && s.sel.anchor == s.sel.head && s.sel.head == u.endA && (u.endB -= 2, Z = s.doc.resolveNoCache(u.endB - s.from), setTimeout(() => {
|
|
26840
26840
|
C.someProp("handleKeyDown", function(S) {
|
|
26841
26841
|
return S(C, Pm(13, "Enter"));
|
|
26842
26842
|
});
|
|
@@ -26859,7 +26859,7 @@ function dcI(C, I, i, g, A) {
|
|
|
26859
26859
|
}
|
|
26860
26860
|
if (x || (x = C.state.tr.replace(v, V, s.doc.slice(u.start - s.from, u.endB - s.from))), s.sel) {
|
|
26861
26861
|
let S = bk(C, x.doc, s.sel);
|
|
26862
|
-
S && !(
|
|
26862
|
+
S && !(on && C.composing && S.empty && (u.start != u.endB || C.input.lastChromeDelete < Date.now() - 100) && (S.head == v || S.head == x.mapping.map(V) - 1) || Fs && S.empty && S.head == v) && x.setSelection(S);
|
|
26863
26863
|
}
|
|
26864
26864
|
M && x.ensureMarks(M), e && x.setMeta("composition", e), C.dispatch(x.scrollIntoView());
|
|
26865
26865
|
}
|
|
@@ -27013,9 +27013,9 @@ let kO = class {
|
|
|
27013
27013
|
let c = a == "preserve" && t && this.dom.style.overflowAnchor == null && $lI(this);
|
|
27014
27014
|
if (t) {
|
|
27015
27015
|
this.domObserver.stop();
|
|
27016
|
-
let d = l && (Fs ||
|
|
27016
|
+
let d = l && (Fs || on) && !this.composing && !A.selection.empty && !I.selection.empty && hcI(A.selection, I.selection);
|
|
27017
27017
|
if (l) {
|
|
27018
|
-
let u =
|
|
27018
|
+
let u = on ? this.trackWrites = this.domSelectionRange().focusNode : null;
|
|
27019
27019
|
this.composing && (this.input.compositionNode = PrI(this)), (e || !this.docView.update(I.doc, s, n, this)) && (this.docView.updateOuterDeco(s), this.docView.destroy(), this.docView = qS(I.doc, s, n, this.dom, this)), u && !this.trackWrites && (d = !0);
|
|
27020
27020
|
}
|
|
27021
27021
|
d || !(this.input.mouseDown && this.domObserver.currentSelection.eq(this.domSelectionRange()) && JrI(this)) ? xc(this, d) : (hO(this, I.selection), this.domObserver.setCurSelection()), this.domObserver.start();
|
|
@@ -28998,7 +28998,7 @@ function Ye(C) {
|
|
|
28998
28998
|
}
|
|
28999
28999
|
return I;
|
|
29000
29000
|
}
|
|
29001
|
-
var
|
|
29001
|
+
var tn = new Ng("selectingCells");
|
|
29002
29002
|
function sl(C) {
|
|
29003
29003
|
for (let I = C.depth - 1; I > 0; I--)
|
|
29004
29004
|
if (C.node(I).type.spec.tableRole == "row")
|
|
@@ -30123,21 +30123,21 @@ function bdI(C, I) {
|
|
|
30123
30123
|
return;
|
|
30124
30124
|
function e(n, s) {
|
|
30125
30125
|
let a = sK(C, s);
|
|
30126
|
-
const l =
|
|
30126
|
+
const l = tn.getState(C.state) == null;
|
|
30127
30127
|
if (!a || !qv(n, a))
|
|
30128
30128
|
if (l) a = n;
|
|
30129
30129
|
else return;
|
|
30130
30130
|
const c = new lg(n, a);
|
|
30131
30131
|
if (l || !C.state.selection.eq(c)) {
|
|
30132
30132
|
const d = C.state.tr.setSelection(c);
|
|
30133
|
-
l && d.setMeta(
|
|
30133
|
+
l && d.setMeta(tn, n.pos), C.dispatch(d);
|
|
30134
30134
|
}
|
|
30135
30135
|
}
|
|
30136
30136
|
function t() {
|
|
30137
|
-
C.root.removeEventListener("mouseup", t), C.root.removeEventListener("dragstart", t), C.root.removeEventListener("mousemove", o),
|
|
30137
|
+
C.root.removeEventListener("mouseup", t), C.root.removeEventListener("dragstart", t), C.root.removeEventListener("mousemove", o), tn.getState(C.state) != null && C.dispatch(C.state.tr.setMeta(tn, -1));
|
|
30138
30138
|
}
|
|
30139
30139
|
function o(n) {
|
|
30140
|
-
const s = n, a =
|
|
30140
|
+
const s = n, a = tn.getState(C.state);
|
|
30141
30141
|
let l;
|
|
30142
30142
|
if (a != null)
|
|
30143
30143
|
l = C.state.doc.resolve(a);
|
|
@@ -30441,7 +30441,7 @@ function rE({
|
|
|
30441
30441
|
allowTableNodeSelection: C = !1
|
|
30442
30442
|
} = {}) {
|
|
30443
30443
|
return new wg({
|
|
30444
|
-
key:
|
|
30444
|
+
key: tn,
|
|
30445
30445
|
// This piece of state is used to remember when a mouse-drag
|
|
30446
30446
|
// cell-selection is happening, so that it can continue even as
|
|
30447
30447
|
// transactions (which might move its anchor cell) come in.
|
|
@@ -30450,7 +30450,7 @@ function rE({
|
|
|
30450
30450
|
return null;
|
|
30451
30451
|
},
|
|
30452
30452
|
apply(I, i) {
|
|
30453
|
-
const g = I.getMeta(
|
|
30453
|
+
const g = I.getMeta(tn);
|
|
30454
30454
|
if (g != null) return g == -1 ? null : g;
|
|
30455
30455
|
if (i == null || !I.docChanged) return i;
|
|
30456
30456
|
const { deleted: A, pos: e } = I.mapping.mapResult(i);
|
|
@@ -30463,7 +30463,7 @@ function rE({
|
|
|
30463
30463
|
mousedown: bdI
|
|
30464
30464
|
},
|
|
30465
30465
|
createSelectionBetween(I) {
|
|
30466
|
-
return
|
|
30466
|
+
return tn.getState(I.state) != null ? I.state.selection : null;
|
|
30467
30467
|
},
|
|
30468
30468
|
handleTripleClick: mdI,
|
|
30469
30469
|
handleKeyDown: ddI,
|
|
@@ -31337,7 +31337,7 @@ class gmI {
|
|
|
31337
31337
|
return !1;
|
|
31338
31338
|
}
|
|
31339
31339
|
}
|
|
31340
|
-
var
|
|
31340
|
+
var Cn = /* @__PURE__ */ ((C) => (C.Preview = "preview", C.Source = "source", C.Edit = "edit", C.Wysiwyg = "wysiwyg", C))(Cn || {});
|
|
31341
31341
|
const AmI = aC`:host{display:block;position:relative}.toolbar-anchor{z-index:1;height:0;position:sticky;inset-block-start:0}:host([no-sticky-toolbar]) .toolbar-anchor{position:static}.toolbar{align-items:center;gap:var(--cx-markdown-viewer-toolbar-gap,var(--cx-spacing-x-small));opacity:0;transition:opacity var(--cx-transition-fast) ease;display:flex;position:absolute;inset-block-start:var(--cx-markdown-viewer-toolbar-offset-block,var(--cx-spacing-medium));inset-inline-end:var(--cx-markdown-viewer-toolbar-offset-inline,var(--cx-spacing-medium))}:host(:hover) .toolbar,:host(:focus-within) .toolbar{opacity:1}:host(:not([view=wysiwyg])) .toolbar{padding:var(--cx-spacing-3x-small);border-radius:var(--cx-border-radius-medium);background:var(--cx-color-neutral-0)}cx-radio-group::part(form-control-label),cx-textarea::part(form-control-label){clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.view[hidden]{display:none}.source{font-family:var(--cx-font-mono);font-size:var(--cx-markdown-viewer-source-font-size,var(--cx-font-size-small));white-space:pre-wrap;overflow-wrap:anywhere;max-height:var(--cx-markdown-viewer-source-max-height,none);background:0 0;margin:0;padding:0;overflow:auto}cx-textarea::part(textarea){font-family:var(--cx-font-mono);font-size:var(--cx-markdown-viewer-source-font-size,var(--cx-font-size-small));min-height:var(--cx-markdown-viewer-edit-min-height,auto)}.rich-toolbar{align-items:center;gap:var(--cx-spacing-3x-small);padding:var(--cx-spacing-2x-small);border-block-end:1px solid var(--cx-color-neutral-200);background:var(--cx-color-neutral-0);flex-wrap:wrap;display:flex}:host([view=wysiwyg]) .toolbar-anchor{z-index:2}:host([view=wysiwyg]) .rich-toolbar{padding-inline-end:var(--cx-markdown-viewer-view-switcher-width,12rem)}:host([view=wysiwyg]) .toolbar{inset-block-start:var(--cx-spacing-2x-small);inset-inline-end:var(--cx-spacing-2x-small)}.rich-toolbar__separator{width:1px;margin-inline:var(--cx-spacing-2x-small);background:var(--cx-color-neutral-200);align-self:stretch}.rich-toolbar cx-icon-button.active::part(base){border-radius:var(--cx-border-radius-small);background:var(--cx-color-neutral-200);color:var(--cx-color-neutral-900)}.rich{border:var(--cx-input-border-width) solid var(--cx-input-border-color);border-radius:var(--cx-input-border-radius-medium);flex-direction:column;max-height:100%;display:flex}.rich-editor{flex:1;min-height:0;overflow:auto}.rich-editor .ProseMirror{padding:var(--cx-spacing-medium);min-height:var(--cx-markdown-viewer-edit-min-height,20lh);white-space:pre-wrap;outline:none}.rich-editor table{table-layout:fixed;width:100%}.rich-editor th,.rich-editor td{border:1px solid var(--cx-color-neutral-300)}.rich-editor .selectedCell{background:var(--cx-color-primary-100);position:relative}.rich-editor .cx-md-frontmatter,.rich-editor .cx-md-html{padding:var(--cx-spacing-x-small);border-inline-start:3px solid var(--cx-color-neutral-400);background:var(--cx-color-neutral-100);font-family:var(--cx-font-mono);font-size:var(--cx-markdown-viewer-source-font-size,var(--cx-font-size-small));white-space:pre-wrap;display:block}.rich-editor span.cx-md-html{padding:0 var(--cx-spacing-3x-small);border-inline-start:0;display:inline}`;
|
|
31342
31342
|
var emI = Object.defineProperty, tmI = Object.getOwnPropertyDescriptor, pn = (C, I, i, g) => {
|
|
31343
31343
|
for (var A = g > 1 ? void 0 : g ? tmI(I, i) : I, e = C.length - 1, t; e >= 0; e--)
|
|
@@ -31345,10 +31345,10 @@ var emI = Object.defineProperty, tmI = Object.getOwnPropertyDescriptor, pn = (C,
|
|
|
31345
31345
|
return g && A && emI(I, i, A), A;
|
|
31346
31346
|
};
|
|
31347
31347
|
const zk = {
|
|
31348
|
-
[
|
|
31349
|
-
[
|
|
31350
|
-
[
|
|
31351
|
-
[
|
|
31348
|
+
[Cn.Preview]: { icon: "preview", term: "preview" },
|
|
31349
|
+
[Cn.Source]: { icon: "code", term: "source" },
|
|
31350
|
+
[Cn.Edit]: { icon: "edit", term: "edit" },
|
|
31351
|
+
[Cn.Wysiwyg]: { icon: "text_fields", term: "richText" }
|
|
31352
31352
|
}, omI = [
|
|
31353
31353
|
{ action: "bold", icon: "format_bold", label: (C) => C.term("bold") },
|
|
31354
31354
|
{ action: "italic", icon: "format_italic", label: (C) => C.term("italic") },
|
|
@@ -31411,7 +31411,7 @@ let io = class extends cC {
|
|
|
31411
31411
|
constructor() {
|
|
31412
31412
|
super(...arguments), this.localize = new VC(this), this.richEditor = new gmI(this, {
|
|
31413
31413
|
onChange: (C) => this.handleRichEditorChange(C)
|
|
31414
|
-
}), this.availableViewModes = [], this.editable = !1, this.linkTarget = "", this.markdown = "", this.noCopyButton = !1, this.noStickyToolbar = !1, this.noViewToggle = !1, this.value = "", this.view =
|
|
31414
|
+
}), this.availableViewModes = [], this.editable = !1, this.linkTarget = "", this.markdown = "", this.noCopyButton = !1, this.noStickyToolbar = !1, this.noViewToggle = !1, this.value = "", this.view = Cn.Preview;
|
|
31415
31415
|
}
|
|
31416
31416
|
handleDefaultViewModeChange() {
|
|
31417
31417
|
this.defaultViewMode && (this.view = this.defaultViewMode);
|
|
@@ -31420,7 +31420,7 @@ let io = class extends cC {
|
|
|
31420
31420
|
this.value = this.markdown;
|
|
31421
31421
|
}
|
|
31422
31422
|
async handleRichEditorSync() {
|
|
31423
|
-
if (await this.updateComplete, this.activeView !==
|
|
31423
|
+
if (await this.updateComplete, this.activeView !== Cn.Wysiwyg) {
|
|
31424
31424
|
this.richEditor.destroy();
|
|
31425
31425
|
return;
|
|
31426
31426
|
}
|
|
@@ -31446,11 +31446,11 @@ let io = class extends cC {
|
|
|
31446
31446
|
/** The host's list narrowed to supported modes, falling back to all of them when empty. */
|
|
31447
31447
|
get offeredViews() {
|
|
31448
31448
|
const C = this.editable ? [
|
|
31449
|
-
|
|
31450
|
-
|
|
31451
|
-
|
|
31452
|
-
|
|
31453
|
-
] : [
|
|
31449
|
+
Cn.Preview,
|
|
31450
|
+
Cn.Source,
|
|
31451
|
+
Cn.Edit,
|
|
31452
|
+
Cn.Wysiwyg
|
|
31453
|
+
] : [Cn.Preview, Cn.Source], I = new Set(C), i = [...new Set(this.availableViewModes)].filter(
|
|
31454
31454
|
(g) => I.has(g)
|
|
31455
31455
|
);
|
|
31456
31456
|
return i.length > 0 ? i : C;
|
|
@@ -31515,7 +31515,7 @@ let io = class extends cC {
|
|
|
31515
31515
|
)}</div>`;
|
|
31516
31516
|
}
|
|
31517
31517
|
render() {
|
|
31518
|
-
const C = this.offeredViews, I = C.includes(this.view) ? this.view : C[0], i = I ===
|
|
31518
|
+
const C = this.offeredViews, I = C.includes(this.view) ? this.view : C[0], i = I === Cn.Edit, g = I === Cn.Wysiwyg, A = I === Cn.Source, e = i || g ? "" : this.value;
|
|
31519
31519
|
return X`<!-- Zero-height sticky anchor: pins the toolbar to the top of whichever ancestor scrolls at no
|
|
31520
31520
|
cost in vertical space. --><div class="toolbar-anchor"><div class="toolbar" part="toolbar"><!-- Copy sits before the group: the toolbar is right-anchored, so showing and hiding it
|
|
31521
31521
|
grows leftwards and never shifts the buttons under the pointer. -->${_I(
|
|
@@ -31754,8 +31754,8 @@ Ns.styles = smI;
|
|
|
31754
31754
|
Ns.dependencies = {
|
|
31755
31755
|
"cx-badge": Jp,
|
|
31756
31756
|
"cx-icon": vA,
|
|
31757
|
-
"cx-menu":
|
|
31758
|
-
"cx-menu-item":
|
|
31757
|
+
"cx-menu": Uo,
|
|
31758
|
+
"cx-menu-item": _o,
|
|
31759
31759
|
"cx-popup": Il,
|
|
31760
31760
|
"cx-space": $g,
|
|
31761
31761
|
"cx-tooltip": Ke
|
|
@@ -31797,7 +31797,7 @@ var cmI = Object.defineProperty, dmI = Object.getOwnPropertyDescriptor, zs = (C,
|
|
|
31797
31797
|
(t = C[e]) && (A = (g ? t(I, i, A) : t(A)) || A);
|
|
31798
31798
|
return g && A && cmI(I, i, A), A;
|
|
31799
31799
|
};
|
|
31800
|
-
let
|
|
31800
|
+
let Bo = class extends cC {
|
|
31801
31801
|
constructor() {
|
|
31802
31802
|
super(), this.rootSelector = "", this.canClick = !1, this.headingTitle = "", this.showUnderlineType = KV.Hover, this.autoSync = !1, this.excludeNested = !1, this.outlineItems = [], this.root = document, this.currentHash = "", this.manualSelected = !1, this.MAX_NESTED_LEVEL = 2, this.extractHeadings = this.extractHeadings.bind(this), this.extractRoot = this.extractRoot.bind(this), this.updateCurrentHash = this.updateCurrentHash.bind(this);
|
|
31803
31803
|
}
|
|
@@ -31989,8 +31989,8 @@ let ko = class extends cC {
|
|
|
31989
31989
|
)}</ul></cx-resize-observer>`;
|
|
31990
31990
|
}
|
|
31991
31991
|
};
|
|
31992
|
-
|
|
31993
|
-
|
|
31992
|
+
Bo.styles = [hC, rmI];
|
|
31993
|
+
Bo.dependencies = {
|
|
31994
31994
|
"cx-header": b4,
|
|
31995
31995
|
"cx-line-clamp": Ec,
|
|
31996
31996
|
"cx-resize-observer": Zv,
|
|
@@ -31998,46 +31998,46 @@ ko.dependencies = {
|
|
|
31998
31998
|
};
|
|
31999
31999
|
zs([
|
|
32000
32000
|
Ki(".page-outline__indicator")
|
|
32001
|
-
],
|
|
32001
|
+
], Bo.prototype, "indicator", 2);
|
|
32002
32002
|
zs([
|
|
32003
32003
|
Ki(".page-outline__list")
|
|
32004
|
-
],
|
|
32004
|
+
], Bo.prototype, "list", 2);
|
|
32005
32005
|
zs([
|
|
32006
32006
|
K({ attribute: "root-selector", reflect: !0, type: String })
|
|
32007
|
-
],
|
|
32007
|
+
], Bo.prototype, "rootSelector", 2);
|
|
32008
32008
|
zs([
|
|
32009
32009
|
K({ attribute: "can-click", reflect: !0, type: Boolean })
|
|
32010
|
-
],
|
|
32010
|
+
], Bo.prototype, "canClick", 2);
|
|
32011
32011
|
zs([
|
|
32012
32012
|
K({ attribute: "heading-title", reflect: !0, type: String })
|
|
32013
|
-
],
|
|
32013
|
+
], Bo.prototype, "headingTitle", 2);
|
|
32014
32014
|
zs([
|
|
32015
32015
|
K({ attribute: "show-underline-type", reflect: !0, type: String })
|
|
32016
|
-
],
|
|
32016
|
+
], Bo.prototype, "showUnderlineType", 2);
|
|
32017
32017
|
zs([
|
|
32018
32018
|
K({ attribute: "auto-sync", reflect: !0, type: Boolean })
|
|
32019
|
-
],
|
|
32019
|
+
], Bo.prototype, "autoSync", 2);
|
|
32020
32020
|
zs([
|
|
32021
32021
|
K({ attribute: "exclude-nested", reflect: !0, type: Boolean })
|
|
32022
|
-
],
|
|
32022
|
+
], Bo.prototype, "excludeNested", 2);
|
|
32023
32023
|
zs([
|
|
32024
32024
|
dI()
|
|
32025
|
-
],
|
|
32025
|
+
], Bo.prototype, "outlineItems", 2);
|
|
32026
32026
|
zs([
|
|
32027
32027
|
dI()
|
|
32028
|
-
],
|
|
32028
|
+
], Bo.prototype, "currentHash", 2);
|
|
32029
32029
|
zs([
|
|
32030
32030
|
dI()
|
|
32031
|
-
],
|
|
32031
|
+
], Bo.prototype, "manualSelected", 2);
|
|
32032
32032
|
zs([
|
|
32033
32033
|
Ii("rootSelector")
|
|
32034
|
-
],
|
|
32034
|
+
], Bo.prototype, "handleRootSelectorChange", 1);
|
|
32035
32035
|
zs([
|
|
32036
32036
|
Ii("autoSync")
|
|
32037
|
-
],
|
|
32038
|
-
|
|
32037
|
+
], Bo.prototype, "handleAutoSyncChange", 1);
|
|
32038
|
+
Bo = zs([
|
|
32039
32039
|
eC("cx-page-outline")
|
|
32040
|
-
],
|
|
32040
|
+
], Bo);
|
|
32041
32041
|
const mmI = [
|
|
32042
32042
|
"ink",
|
|
32043
32043
|
"square",
|
|
@@ -32212,8 +32212,8 @@ ba.dependencies = {
|
|
|
32212
32212
|
"cx-divider": ks,
|
|
32213
32213
|
"cx-dropdown": no,
|
|
32214
32214
|
"cx-icon": vA,
|
|
32215
|
-
"cx-menu":
|
|
32216
|
-
"cx-menu-item":
|
|
32215
|
+
"cx-menu": Uo,
|
|
32216
|
+
"cx-menu-item": _o,
|
|
32217
32217
|
"cx-range": L3,
|
|
32218
32218
|
"cx-space": $g,
|
|
32219
32219
|
"cx-typography": eA
|
|
@@ -32381,8 +32381,8 @@ em.dependencies = {
|
|
|
32381
32381
|
"cx-dropdown": no,
|
|
32382
32382
|
"cx-icon": vA,
|
|
32383
32383
|
"cx-icon-button": wA,
|
|
32384
|
-
"cx-menu":
|
|
32385
|
-
"cx-menu-item":
|
|
32384
|
+
"cx-menu": Uo,
|
|
32385
|
+
"cx-menu-item": _o
|
|
32386
32386
|
};
|
|
32387
32387
|
CG([
|
|
32388
32388
|
K({ attribute: "cursor-tool", reflect: !0 })
|
|
@@ -33723,7 +33723,7 @@ var KuI = Object.defineProperty, LuI = Object.getOwnPropertyDescriptor, cm = (C,
|
|
|
33723
33723
|
return g && A && KuI(I, i, A), A;
|
|
33724
33724
|
};
|
|
33725
33725
|
const aK = ".";
|
|
33726
|
-
let
|
|
33726
|
+
let zo = class extends cC {
|
|
33727
33727
|
constructor() {
|
|
33728
33728
|
super(...arguments), this.localize = new VC(this), this.options = [], this.multiple = !1, this.value = "", this.required = !1, this.rows = [], this.rowIds = [];
|
|
33729
33729
|
}
|
|
@@ -33740,14 +33740,14 @@ let Bo = class extends cC {
|
|
|
33740
33740
|
};
|
|
33741
33741
|
}
|
|
33742
33742
|
syncRowsFromValue() {
|
|
33743
|
-
const C = this.value.split(" ").filter((I) => I !== "").map((I) =>
|
|
33743
|
+
const C = this.value.split(" ").filter((I) => I !== "").map((I) => zo.decodeRowToken(I));
|
|
33744
33744
|
this.rows = C.length > 0 || this.multiple ? C : [{ subtype: "", type: "" }], this.rowIds = this.rows.map(() => ca("type-subtype-row-"));
|
|
33745
33745
|
}
|
|
33746
33746
|
subOptionsFor(C) {
|
|
33747
33747
|
return this.options.find((I) => I.value === C)?.subOptions ?? [];
|
|
33748
33748
|
}
|
|
33749
33749
|
applyRows(C, I) {
|
|
33750
|
-
this.rows = C, this.rowIds = I, this.value = C.filter((i) => i.type !== "" || i.subtype !== "").map((i) =>
|
|
33750
|
+
this.rows = C, this.rowIds = I, this.value = C.filter((i) => i.type !== "" || i.subtype !== "").map((i) => zo.encodeRowToken(i)).join(" "), this.emit("cx-change", { detail: {} });
|
|
33751
33751
|
}
|
|
33752
33752
|
rowIndexOf(C) {
|
|
33753
33753
|
return Number(C.closest("[data-row-index]")?.dataset.rowIndex ?? -1);
|
|
@@ -33798,8 +33798,8 @@ let Bo = class extends cC {
|
|
|
33798
33798
|
)}</div>`;
|
|
33799
33799
|
}
|
|
33800
33800
|
};
|
|
33801
|
-
|
|
33802
|
-
|
|
33801
|
+
zo.styles = [hC, YuI];
|
|
33802
|
+
zo.dependencies = {
|
|
33803
33803
|
"cx-button": Pg,
|
|
33804
33804
|
"cx-icon": vA,
|
|
33805
33805
|
"cx-icon-button": wA,
|
|
@@ -33808,29 +33808,29 @@ Bo.dependencies = {
|
|
|
33808
33808
|
};
|
|
33809
33809
|
cm([
|
|
33810
33810
|
K({ attribute: !1, type: Array })
|
|
33811
|
-
],
|
|
33811
|
+
], zo.prototype, "options", 2);
|
|
33812
33812
|
cm([
|
|
33813
33813
|
K({ reflect: !0, type: Boolean })
|
|
33814
|
-
],
|
|
33814
|
+
], zo.prototype, "multiple", 2);
|
|
33815
33815
|
cm([
|
|
33816
33816
|
K({ reflect: !0, type: String })
|
|
33817
|
-
],
|
|
33817
|
+
], zo.prototype, "value", 2);
|
|
33818
33818
|
cm([
|
|
33819
33819
|
K({ reflect: !0, type: Boolean })
|
|
33820
|
-
],
|
|
33820
|
+
], zo.prototype, "required", 2);
|
|
33821
33821
|
cm([
|
|
33822
33822
|
dI()
|
|
33823
|
-
],
|
|
33823
|
+
], zo.prototype, "rows", 2);
|
|
33824
33824
|
cm([
|
|
33825
33825
|
dI()
|
|
33826
|
-
],
|
|
33826
|
+
], zo.prototype, "rowIds", 2);
|
|
33827
33827
|
cm([
|
|
33828
33828
|
Ii("value", { waitUntilFirstUpdate: !1 }),
|
|
33829
33829
|
Ii("multiple")
|
|
33830
|
-
],
|
|
33831
|
-
|
|
33830
|
+
], zo.prototype, "syncRowsFromValue", 1);
|
|
33831
|
+
zo = cm([
|
|
33832
33832
|
eC("cx-type-subtype-select")
|
|
33833
|
-
],
|
|
33833
|
+
], zo);
|
|
33834
33834
|
var kl = /* @__PURE__ */ ((C) => (C.Current = "current", C.Latest = "latest", C))(kl || {});
|
|
33835
33835
|
const XuI = aC`:host{isolation:isolate}.asset-format-picker__input[data-user-invalid]~.asset-format-picker__button::part(base){border-color:var(--cx-input-invalid-border-color)}.asset-format-picker__input[data-user-invalid]:focus-within~.asset-format-picker__button::part(base){border-color:var(--cx-input-invalid-border-color);box-shadow:var(--cx-input-invalid-shadow)}.asset-format-picker__button-container{position:relative}.asset-format-picker__button{z-index:1;position:relative}.asset-format-picker__input{opacity:0;width:100%;height:100%;position:absolute;top:0;left:0}`;
|
|
33836
33836
|
var VuI = Object.defineProperty, FuI = Object.getOwnPropertyDescriptor, SE = (C) => {
|
|
@@ -33840,7 +33840,7 @@ var VuI = Object.defineProperty, FuI = Object.getOwnPropertyDescriptor, SE = (C)
|
|
|
33840
33840
|
(t = C[e]) && (A = (g ? t(I, i, A) : t(A)) || A);
|
|
33841
33841
|
return g && A && VuI(I, i, A), A;
|
|
33842
33842
|
}, kE = (C, I, i) => I.has(C) || SE("Cannot " + i), NuI = (C, I, i) => (kE(C, I, "read from private field"), i ? i.call(C) : I.get(C)), RuI = (C, I, i) => I.has(C) ? SE("Cannot add the same private member more than once") : I instanceof WeakSet ? I.add(C) : I.set(C, i), Pk = (C, I, i, g) => (kE(C, I, "write to private field"), I.set(C, i), i), BZ;
|
|
33843
|
-
let
|
|
33843
|
+
let jo = class extends cC {
|
|
33844
33844
|
constructor() {
|
|
33845
33845
|
super(...arguments), this.localize = new VC(this), this.apiGetAuthorizedObjects = x4, this.apiGetAvailableProxies = S4, this.apiSearchAssets = x3, this.value = void 0, this.name = "", this.assetId = "", this.isSiteBuilder = !1, this.required = !1, this.disabled = !1, this.defaultFormat = "", this.onRequestAssetFormat = void 0, RuI(this, BZ, /* @__PURE__ */ new Map()), this.canAccess = !0;
|
|
33846
33846
|
}
|
|
@@ -33918,8 +33918,8 @@ let zo = class extends cC {
|
|
|
33918
33918
|
}
|
|
33919
33919
|
};
|
|
33920
33920
|
BZ = /* @__PURE__ */ new WeakMap();
|
|
33921
|
-
|
|
33922
|
-
|
|
33921
|
+
jo.styles = [hC, XuI];
|
|
33922
|
+
jo.dependencies = {
|
|
33923
33923
|
"cx-button": Pg,
|
|
33924
33924
|
"cx-icon-button": wA,
|
|
33925
33925
|
"cx-input": ie,
|
|
@@ -33929,7 +33929,7 @@ zo.dependencies = {
|
|
|
33929
33929
|
};
|
|
33930
33930
|
Ja([
|
|
33931
33931
|
Ki(".asset-format-picker__input")
|
|
33932
|
-
],
|
|
33932
|
+
], jo.prototype, "inputEl", 2);
|
|
33933
33933
|
Ja([
|
|
33934
33934
|
K({
|
|
33935
33935
|
converter: {
|
|
@@ -33945,40 +33945,40 @@ Ja([
|
|
|
33945
33945
|
reflect: !0,
|
|
33946
33946
|
type: Object
|
|
33947
33947
|
})
|
|
33948
|
-
],
|
|
33948
|
+
], jo.prototype, "value", 2);
|
|
33949
33949
|
Ja([
|
|
33950
33950
|
K({ reflect: !0, type: String })
|
|
33951
|
-
],
|
|
33951
|
+
], jo.prototype, "name", 2);
|
|
33952
33952
|
Ja([
|
|
33953
33953
|
K({ attribute: "asset-id", reflect: !0, type: String })
|
|
33954
|
-
],
|
|
33954
|
+
], jo.prototype, "assetId", 2);
|
|
33955
33955
|
Ja([
|
|
33956
33956
|
K({ attribute: "is-site-builder", reflect: !0, type: Boolean })
|
|
33957
|
-
],
|
|
33957
|
+
], jo.prototype, "isSiteBuilder", 2);
|
|
33958
33958
|
Ja([
|
|
33959
33959
|
K({ reflect: !0, type: Boolean })
|
|
33960
|
-
],
|
|
33960
|
+
], jo.prototype, "required", 2);
|
|
33961
33961
|
Ja([
|
|
33962
33962
|
K({ attribute: "disabled", reflect: !0, type: Boolean })
|
|
33963
|
-
],
|
|
33963
|
+
], jo.prototype, "disabled", 2);
|
|
33964
33964
|
Ja([
|
|
33965
33965
|
K({ attribute: "default-format", type: String })
|
|
33966
|
-
],
|
|
33966
|
+
], jo.prototype, "defaultFormat", 2);
|
|
33967
33967
|
Ja([
|
|
33968
33968
|
K({ attribute: "on-request-asset-format", type: Function })
|
|
33969
|
-
],
|
|
33969
|
+
], jo.prototype, "onRequestAssetFormat", 2);
|
|
33970
33970
|
Ja([
|
|
33971
33971
|
dI()
|
|
33972
|
-
],
|
|
33972
|
+
], jo.prototype, "canAccess", 2);
|
|
33973
33973
|
Ja([
|
|
33974
33974
|
Ii("assetId")
|
|
33975
|
-
],
|
|
33975
|
+
], jo.prototype, "handleAssetIdChange", 1);
|
|
33976
33976
|
Ja([
|
|
33977
33977
|
Ii("value")
|
|
33978
|
-
],
|
|
33979
|
-
|
|
33978
|
+
], jo.prototype, "handleValueChange", 1);
|
|
33979
|
+
jo = Ja([
|
|
33980
33980
|
eC("cx-asset-format-picker")
|
|
33981
|
-
],
|
|
33981
|
+
], jo);
|
|
33982
33982
|
const xuI = aC`:host{--menu-width:344px}cx-dropdown{--panel-padding:var(--cx-spacing-x-small) 0 0 0}@supports selector(::part(checked-icon)){cx-dropdown::part(panel){padding-top:var(--cx-spacing-x-small)}}cx-menu{width:var(--menu-width);max-width:min(100%, var(--auto-size-available-width));border:none;border-radius:0}cx-menu[horizontal] cx-menu-section{justify-content:flex-start}cx-menu:not(:last-child){border-bottom:var(--cx-panel-border-width) solid var(--cx-panel-border-color)}cx-menu:has(cx-button){padding-bottom:0}cx-menu-label~cx-menu{padding-top:0}cx-menu-item{--checked-icon-display:none;--prefix-font-size:var(--cx-font-size-large);max-width:100%}cx-menu-item.selected{--prefix-color:var(--cx-color-primary);--suffix-color:var(--cx-color-primary);--label-color:var(--cx-color-primary);--font-weight:var(--cx-font-weight-medium)}cx-menu-item[type=checkbox]{--checked-label-color:var(--view-and-sort-switch-label-color,var(--cx-color-neutral))}cx-menu-item.disable-chevron{--submenu-icon-display:none}cx-menu-item>cx-menu{padding:0}cx-menu-item:focus{outline:none}@supports selector(::part(checked-icon)){cx-menu-item.disable-chevron::part(submenu-icon),cx-menu-item::part(checked-icon){display:none}cx-menu-item::part(prefix){font-size:var(--cx-font-size-large)}cx-menu-item.selected::part(label),cx-menu-item.selected::part(prefix),cx-menu-item.selected::part(suffix){color:var(--cx-color-primary);font-weight:var(--cx-font-weight-medium)}}cx-button{width:100%}cx-button::part(base){padding:0}cx-button::part(prefix){display:none}.submenu-indicator{align-items:center;display:none}.submenu-indicator span{color:var(--cx-color-neutral-400)}.submenu-indicator cx-icon{font-size:var(--cx-font-size-x-large);margin-left:var(--cx-spacing-3x-small)}.horizontal-text{width:28px;display:inline-block}.dropdown__trigger-button::part(base){border-radius:var(--view-and-sort-trigger-button-border-radius,var(--cx-button-border-radius-medium));font:var(--cx-font-label-small);font-weight:var(--view-and-sort-trigger-button-font-weight,500);font-size:var(--view-and-sort-trigger-button-font-size,var(--cx-font-size-small));color:var(--view-and-sort-trigger-button-color,var(--cx-color-neutral-900))}.menu-section__tooltip__icon{color:var(--cx-color-neutral-500);cursor:help;margin-inline-end:var(--cx-spacing-small)}.menu-item__tooltip__icon{color:var(--cx-color-neutral-500);cursor:help}`;
|
|
33983
33983
|
var SuI = Object.defineProperty, kuI = Object.getOwnPropertyDescriptor, tb = (C, I, i, g) => {
|
|
33984
33984
|
for (var A = g > 1 ? void 0 : g ? kuI(I, i) : I, e = C.length - 1, t; e >= 0; e--)
|
|
@@ -34118,8 +34118,8 @@ Bl.dependencies = {
|
|
|
34118
34118
|
"cx-icon": vA,
|
|
34119
34119
|
"cx-icon-button": wA,
|
|
34120
34120
|
"cx-line-clamp": Ec,
|
|
34121
|
-
"cx-menu":
|
|
34122
|
-
"cx-menu-item":
|
|
34121
|
+
"cx-menu": Uo,
|
|
34122
|
+
"cx-menu-item": _o,
|
|
34123
34123
|
"cx-menu-label": v3,
|
|
34124
34124
|
"cx-menu-section": G3,
|
|
34125
34125
|
"cx-space": $g,
|
|
@@ -35477,7 +35477,7 @@ const SbI = (C, I) => ({ tr: i, state: g, dispatch: A }) => {
|
|
|
35477
35477
|
}), !0) : !1;
|
|
35478
35478
|
}, kbI = () => ({ tr: C, dispatch: I }) => (I && C.scrollIntoView(), !0), BbI = () => ({ tr: C, dispatch: I }) => {
|
|
35479
35479
|
if (I) {
|
|
35480
|
-
const i = new
|
|
35480
|
+
const i = new sn(C.doc);
|
|
35481
35481
|
C.setSelection(i);
|
|
35482
35482
|
}
|
|
35483
35483
|
return !0;
|
|
@@ -37951,7 +37951,7 @@ const khI = $E.extend({
|
|
|
37951
37951
|
toggleBulletList: () => ({ chain: C, state: I }) => {
|
|
37952
37952
|
const { selection: i } = I;
|
|
37953
37953
|
let g = C();
|
|
37954
|
-
return i instanceof
|
|
37954
|
+
return i instanceof sn && (g = g.setTextSelection({
|
|
37955
37955
|
from: 0,
|
|
37956
37956
|
to: I.doc.content.size
|
|
37957
37957
|
})), this.options.keepAttributes ? g.toggleList(
|
|
@@ -39383,7 +39383,7 @@ const uG = go.create({
|
|
|
39383
39383
|
toggleOrderedList: () => ({ chain: C, state: I }) => {
|
|
39384
39384
|
const { selection: i } = I;
|
|
39385
39385
|
let g = C();
|
|
39386
|
-
return i instanceof
|
|
39386
|
+
return i instanceof sn && (g = g.setTextSelection({
|
|
39387
39387
|
from: 0,
|
|
39388
39388
|
to: I.doc.content.size
|
|
39389
39389
|
})), this.options.keepAttributes ? g.toggleList(
|
|
@@ -40333,7 +40333,7 @@ function ZB(C, I) {
|
|
|
40333
40333
|
g !== I && i(pB);
|
|
40334
40334
|
});
|
|
40335
40335
|
}
|
|
40336
|
-
let
|
|
40336
|
+
let an = class extends se {
|
|
40337
40337
|
constructor() {
|
|
40338
40338
|
super(...arguments), this.canUseTimeBased = !1, this.hideTimeBasedIcon = !1, this.canAnnotate = !1, this.timeBased = !1, this._annotationState = zh;
|
|
40339
40339
|
}
|
|
@@ -40423,39 +40423,39 @@ let sn = class extends se {
|
|
|
40423
40423
|
return X` ${Kv([this.annotationEl], () => X`<cx-annotator .annotationEl=${this.annotationEl} .annotationState=${this._annotationState} continuous-creation-tools=${eh.Freehand} @cx-marker-area-state-change=${this.handleMarkerAreaStateChange}></cx-annotator>`)}`;
|
|
40424
40424
|
}
|
|
40425
40425
|
};
|
|
40426
|
-
|
|
40427
|
-
|
|
40428
|
-
...rT(
|
|
40426
|
+
an.styles = [...rT(an, an, "styles"), lZI];
|
|
40427
|
+
an.dependencies = {
|
|
40428
|
+
...rT(an, an, "dependencies"),
|
|
40429
40429
|
"cx-annotator": En
|
|
40430
40430
|
};
|
|
40431
40431
|
mm([
|
|
40432
40432
|
Ki("cx-annotator")
|
|
40433
|
-
],
|
|
40433
|
+
], an.prototype, "annotator", 2);
|
|
40434
40434
|
mm([
|
|
40435
40435
|
K({ attribute: "annotation-el", type: Object })
|
|
40436
|
-
],
|
|
40436
|
+
], an.prototype, "annotationEl", 2);
|
|
40437
40437
|
mm([
|
|
40438
40438
|
K({ attribute: "can-use-time-based", reflect: !0, type: Boolean })
|
|
40439
|
-
],
|
|
40439
|
+
], an.prototype, "canUseTimeBased", 2);
|
|
40440
40440
|
mm([
|
|
40441
40441
|
K({ attribute: "hide-time-based-icon", reflect: !0, type: Boolean })
|
|
40442
|
-
],
|
|
40442
|
+
], an.prototype, "hideTimeBasedIcon", 2);
|
|
40443
40443
|
mm([
|
|
40444
40444
|
K({ attribute: "can-annotate", reflect: !0, type: Boolean })
|
|
40445
|
-
],
|
|
40445
|
+
], an.prototype, "canAnnotate", 2);
|
|
40446
40446
|
mm([
|
|
40447
40447
|
K({ attribute: "time-based", reflect: !0, type: Boolean })
|
|
40448
|
-
],
|
|
40448
|
+
], an.prototype, "timeBased", 2);
|
|
40449
40449
|
mm([
|
|
40450
40450
|
K({
|
|
40451
40451
|
attribute: "annotation-state",
|
|
40452
40452
|
reflect: !1,
|
|
40453
40453
|
type: Object
|
|
40454
40454
|
})
|
|
40455
|
-
],
|
|
40456
|
-
|
|
40455
|
+
], an.prototype, "annotationState", 1);
|
|
40456
|
+
an = mm([
|
|
40457
40457
|
eC("cx-annotator-comment-menu")
|
|
40458
|
-
],
|
|
40458
|
+
], an);
|
|
40459
40459
|
const uZI = RA.create({
|
|
40460
40460
|
addProseMirrorPlugins() {
|
|
40461
40461
|
const { host: C } = this.options;
|
|
@@ -41017,7 +41017,7 @@ let mt = class extends Rg {
|
|
|
41017
41017
|
mt.styles = [...uT(mt, mt, "styles"), aZI];
|
|
41018
41018
|
mt.dependencies = {
|
|
41019
41019
|
...uT(mt, mt, "dependencies"),
|
|
41020
|
-
"cx-annotator-comment-menu":
|
|
41020
|
+
"cx-annotator-comment-menu": an
|
|
41021
41021
|
};
|
|
41022
41022
|
js([
|
|
41023
41023
|
Ki("cx-annotator-comment-menu")
|
|
@@ -42357,7 +42357,7 @@ let $C = class extends cC {
|
|
|
42357
42357
|
const { actualIndex: I, index: i, item: g } = C, A = this.galleryItemLiteral, e = this.bentoLayout.getPosition(I), t = this.getContentPosition(g.size || "1x1"), o = g[this.renderIdKey] === this.selectedBentoGridItem && I + 1 <= this.maxRows * this.prevColumnCount, n = e?.rowStart, s = e ? `${e.columnStart} ${e.columnEnd}` : void 0, a = g.srcset && e ? M4(e.width) : "", l = this.isRowReleased(I), c = l ? g.src : void 0;
|
|
42358
42358
|
return ea`<${A} part="item" role=${lC(this.canZoom ? void 0 : "link")} aria-roledescription=${lC(
|
|
42359
42359
|
this.itemAriaRoleDescription || void 0
|
|
42360
|
-
)} tabindex="0" data-row=${lC(n)} data-column=${lC(s)} data-column-count=${this.prevColumnCount} alt=${lC(g.alt)} content-position=${t} content-variant=${this.contentVariant} data-id=${g.id} effect=${this.effect} in-view raw-id=${lC(g.rawId)} page-id=${lC(g.pageId)} object-fit=${g.objectFit || Ig.Cover} crop-focus=${g.cropFocus ||
|
|
42360
|
+
)} tabindex="0" data-row=${lC(n)} data-column=${lC(s)} data-column-count=${this.prevColumnCount} alt=${lC(g.alt)} content-position=${t} content-variant=${this.contentVariant} data-id=${g.id} effect=${this.effect} in-view raw-id=${lC(g.rawId)} page-id=${lC(g.pageId)} object-fit=${g.objectFit || Ig.Cover} crop-focus=${g.cropFocus || ko.CenterCenter} background-color=${lC(g.backgroundColor)} show-content-type=${this.showContentType} src=${lC(c)} srcset=${lC(c && g.srcset || void 0)} sizes=${lC(c && a || void 0)} data-item-index=${I} @cx-load=${this.handleItemImageSettled} @cx-error=${this.handleItemImageSettled} url=${lC(g.url)} text-reveal-style=${this.textRevealStyle} zoom-style=${this.zoomStyle} ?can-select=${this.canSelectBentoGrid && this.isBentoGridSelected} ?can-move-left=${i > 0 && this.canMoveBentoGridItem} ?can-move-right=${i < this.filledData.length - 1 && this.canMoveBentoGridItem} ?can-delete=${this.canDeleteBentoGridItem} ?can-zoom=${this.canZoom} ?has-event=${this.hasEvent || !!g.url} ?open-in-new-tab=${g.openInNewTab} ?highlight-border=${this.highlightBorder} ?highlight-color-overlay=${this.highlightColorOverlay} ?highlight-drop-shadow=${this.highlightDropShadow} ?highlight-background=${this.highlightBackground} ?highlight-opacity=${this.highlightSiblingsFadeOut} ?loading=${!g.src && !g.backgroundColor || !l} ?selected=${o} item-index=${I} ?is-in-edit-mode=${this.isBentoGridInEditMode} class=${Qi({
|
|
42361
42361
|
"bento-grid__item--effect-zoom": this.effect === YC.Zoom
|
|
42362
42362
|
})} style=${Cg(this.computeBentoItemEffectStyles(g))} @blur=${i === 0 ? this.handleBlur : void 0} @focus=${i === 0 ? this.handleFocus : void 0} @mouseenter=${this.highlightSiblingsFadeOut ? this.handleMouseEnter : void 0} @mouseleave=${this.highlightSiblingsFadeOut ? this.handleMouseLeave : void 0} @click=${this.handleClick}>${_I(
|
|
42363
42363
|
g.rawId || g.id,
|
|
@@ -44208,7 +44208,7 @@ let fC = class extends cC {
|
|
|
44208
44208
|
const t = g[this.renderIdKey] === this.selectedCarouselItem && i >= this.range[0] && i <= this.range[1], o = this.isChunked ? this.totalData : this.data?.length, n = i > 0 || this.loop && o > 1, s = i < o - 1 || this.loop && o > 1, a = i === this.activeSlide, l = g.srcset ?? "";
|
|
44209
44209
|
return ea`<${A} part="item" role=${lC(this.canZoom ? void 0 : "link")} aria-roledescription=${lC(
|
|
44210
44210
|
this.itemAriaRoleDescription || void 0
|
|
44211
|
-
)} tabindex=${this.itemTabIndex} alt=${lC(g.alt)} content-position=${this.contentPosition} content-variant=${this.contentVariant} data-id=${g.id} data-slide-id=${I} data-index=${i} effect=${this.effect} object-fit=${g.objectFit || Ig.Cover} crop-focus=${g.cropFocus ||
|
|
44211
|
+
)} tabindex=${this.itemTabIndex} alt=${lC(g.alt)} content-position=${this.contentPosition} content-variant=${this.contentVariant} data-id=${g.id} data-slide-id=${I} data-index=${i} effect=${this.effect} object-fit=${g.objectFit || Ig.Cover} crop-focus=${g.cropFocus || ko.CenterCenter} background-color=${lC(g.backgroundColor)} show-content-type=${this.showContentType} src=${lC(g.src)} srcset=${lC(l || void 0)} sizes=${lC(l ? this.slideSizes : void 0)} url=${lC(g.url)} raw-id=${lC(g.rawId)} page-id=${lC(g.pageId)} popup-distance=${e} item-index=${i} text-reveal-style=${this.textRevealStyle} zoom-style=${this.zoomStyle} ?can-select=${this.canSelectCarousel && this.isCarouselSelected} ?can-move-left=${n && this.canMoveCarouselItem} ?can-move-right=${s && this.canMoveCarouselItem} ?can-delete=${this.canDeleteCarouselItem} ?can-zoom=${this.canZoom} ?has-event=${this.hasEvent || !!g.url} ?open-in-new-tab=${g.openInNewTab} ?highlight-border=${this.highlightBorder} ?highlight-color-overlay=${this.highlightColorOverlay} ?highlight-drop-shadow=${this.highlightDropShadow} ?highlight-background=${this.highlightBackground} ?highlight-opacity=${this.highlightSiblingsFadeOut} ?is-in-edit-mode=${this.isCarouselInEditMode} ?loading=${!g.src && !g.backgroundColor || this.loading} ?selected=${t} class=${Qi({
|
|
44212
44212
|
carousel__slide: !0,
|
|
44213
44213
|
"carousel__slide--active": a,
|
|
44214
44214
|
...typeof g.className == "string" && g.className.trim() !== "" ? { [g.className]: !0 } : {},
|
|
@@ -47955,8 +47955,8 @@ HA.dependencies = {
|
|
|
47955
47955
|
"cx-icon-button": wA,
|
|
47956
47956
|
"cx-input": ie,
|
|
47957
47957
|
"cx-markdown": pv,
|
|
47958
|
-
"cx-menu":
|
|
47959
|
-
"cx-menu-item":
|
|
47958
|
+
"cx-menu": Uo,
|
|
47959
|
+
"cx-menu-item": _o,
|
|
47960
47960
|
"cx-tooltip": Ke,
|
|
47961
47961
|
"cx-typography": eA
|
|
47962
47962
|
};
|
|
@@ -49351,7 +49351,7 @@ async function XWI({
|
|
|
49351
49351
|
BlockType: kN(C)
|
|
49352
49352
|
},
|
|
49353
49353
|
method: "POST",
|
|
49354
|
-
url:
|
|
49354
|
+
url: Oo.BLOCK_TEMPLATE
|
|
49355
49355
|
})).data;
|
|
49356
49356
|
} catch {
|
|
49357
49357
|
return null;
|
|
@@ -49389,7 +49389,7 @@ async function kK({ ids: C }) {
|
|
|
49389
49389
|
}, {});
|
|
49390
49390
|
}
|
|
49391
49391
|
],
|
|
49392
|
-
url:
|
|
49392
|
+
url: Oo.LIST_BLOCK_TEMPLATES
|
|
49393
49393
|
})).data;
|
|
49394
49394
|
} catch {
|
|
49395
49395
|
return {};
|
|
@@ -49410,7 +49410,7 @@ async function VWI({
|
|
|
49410
49410
|
BlockTemplateClientID: I
|
|
49411
49411
|
},
|
|
49412
49412
|
method: "PUT",
|
|
49413
|
-
url:
|
|
49413
|
+
url: Oo.BLOCK_TEMPLATE
|
|
49414
49414
|
})).data;
|
|
49415
49415
|
} catch {
|
|
49416
49416
|
return null;
|
|
@@ -49431,7 +49431,7 @@ async function FWI({ id: C }) {
|
|
|
49431
49431
|
return i.permissions;
|
|
49432
49432
|
}
|
|
49433
49433
|
],
|
|
49434
|
-
url:
|
|
49434
|
+
url: Oo.GET_PERMISSION
|
|
49435
49435
|
})).data;
|
|
49436
49436
|
} catch {
|
|
49437
49437
|
return "";
|
|
@@ -49458,7 +49458,7 @@ async function NWI(C) {
|
|
|
49458
49458
|
})) ?? [];
|
|
49459
49459
|
}
|
|
49460
49460
|
],
|
|
49461
|
-
url:
|
|
49461
|
+
url: Oo.GET_BLOCK_TEMPLATES
|
|
49462
49462
|
})).data;
|
|
49463
49463
|
} catch {
|
|
49464
49464
|
return [];
|
|
@@ -49487,7 +49487,7 @@ async function RWI({
|
|
|
49487
49487
|
})).filter((g) => g.id !== PI.Column && Object.values(PI).includes(g.id));
|
|
49488
49488
|
}
|
|
49489
49489
|
],
|
|
49490
|
-
url:
|
|
49490
|
+
url: Oo.GET_BLOCK_TYPES
|
|
49491
49491
|
})).data;
|
|
49492
49492
|
} catch {
|
|
49493
49493
|
return [];
|
|
@@ -49503,7 +49503,7 @@ async function xWI({ id: C }) {
|
|
|
49503
49503
|
} else
|
|
49504
49504
|
return (await sC.request({
|
|
49505
49505
|
method: "GET",
|
|
49506
|
-
url:
|
|
49506
|
+
url: Oo.GET_CAN_CREATE_BLOCK_TEMPLATE
|
|
49507
49507
|
})).data.canCreate ? Em.Template : Em.Content;
|
|
49508
49508
|
} catch {
|
|
49509
49509
|
return Em.Content;
|
|
@@ -49524,7 +49524,7 @@ async function SWI({ type: C }) {
|
|
|
49524
49524
|
return i.properties[C] ?? [];
|
|
49525
49525
|
}
|
|
49526
49526
|
],
|
|
49527
|
-
url:
|
|
49527
|
+
url: Oo.GET_ADHOC_PROPERTIES
|
|
49528
49528
|
})).data;
|
|
49529
49529
|
} catch {
|
|
49530
49530
|
return [];
|
|
@@ -49542,7 +49542,7 @@ async function kWI() {
|
|
|
49542
49542
|
return I.roles ?? [];
|
|
49543
49543
|
}
|
|
49544
49544
|
],
|
|
49545
|
-
url:
|
|
49545
|
+
url: Oo.GET_DAM_VIEW_AVAILABLE_LEVELS_OF_ACCESS
|
|
49546
49546
|
})).data;
|
|
49547
49547
|
} catch {
|
|
49548
49548
|
return [];
|
|
@@ -49566,7 +49566,7 @@ async function BWI(C) {
|
|
|
49566
49566
|
};
|
|
49567
49567
|
}
|
|
49568
49568
|
],
|
|
49569
|
-
url:
|
|
49569
|
+
url: Oo.GET_DAM_VIEW_AVAILABLE_FORMS
|
|
49570
49570
|
})).data;
|
|
49571
49571
|
} catch {
|
|
49572
49572
|
return { forms: [], hasMore: !1 };
|
|
@@ -49587,7 +49587,7 @@ async function zWI(C) {
|
|
|
49587
49587
|
return i.options ?? [];
|
|
49588
49588
|
}
|
|
49589
49589
|
],
|
|
49590
|
-
url:
|
|
49590
|
+
url: Oo.GET_DAM_VIEW_AVAILABLE_BUTTONS
|
|
49591
49591
|
})).data;
|
|
49592
49592
|
} catch {
|
|
49593
49593
|
return [];
|
|
@@ -49635,7 +49635,7 @@ async function UWI() {
|
|
|
49635
49635
|
return I.statuses ?? [];
|
|
49636
49636
|
}
|
|
49637
49637
|
],
|
|
49638
|
-
url:
|
|
49638
|
+
url: Oo.GET_DAM_VIEW_ASSET_STATUSES
|
|
49639
49639
|
})).data;
|
|
49640
49640
|
} catch {
|
|
49641
49641
|
return [];
|
|
@@ -49656,7 +49656,7 @@ async function BN(C) {
|
|
|
49656
49656
|
return i.panels ?? [];
|
|
49657
49657
|
}
|
|
49658
49658
|
],
|
|
49659
|
-
url:
|
|
49659
|
+
url: Oo.GET_DAM_VIEW_AVAILABLE_PANELS
|
|
49660
49660
|
})).data;
|
|
49661
49661
|
} catch {
|
|
49662
49662
|
return [];
|
|
@@ -49674,7 +49674,7 @@ async function _WI() {
|
|
|
49674
49674
|
return I.options ?? [];
|
|
49675
49675
|
}
|
|
49676
49676
|
],
|
|
49677
|
-
url:
|
|
49677
|
+
url: Oo.GET_DAM_VIEW_DISPLAY_MODE_OPTIONS
|
|
49678
49678
|
})).data;
|
|
49679
49679
|
} catch {
|
|
49680
49680
|
return [];
|
|
@@ -49692,7 +49692,7 @@ async function OWI() {
|
|
|
49692
49692
|
return I.templates ?? [];
|
|
49693
49693
|
}
|
|
49694
49694
|
],
|
|
49695
|
-
url:
|
|
49695
|
+
url: Oo.GET_DAM_VIEW_AVAILABLE_TEMPLATES
|
|
49696
49696
|
})).data;
|
|
49697
49697
|
} catch {
|
|
49698
49698
|
return [];
|
|
@@ -49710,7 +49710,7 @@ async function EWI() {
|
|
|
49710
49710
|
return I.spaces ?? [];
|
|
49711
49711
|
}
|
|
49712
49712
|
],
|
|
49713
|
-
url:
|
|
49713
|
+
url: Oo.GET_DAM_VIEW_AVAILABLE_SPACES
|
|
49714
49714
|
})).data;
|
|
49715
49715
|
} catch {
|
|
49716
49716
|
return [];
|
|
@@ -49731,7 +49731,7 @@ async function TWI() {
|
|
|
49731
49731
|
};
|
|
49732
49732
|
}
|
|
49733
49733
|
],
|
|
49734
|
-
url:
|
|
49734
|
+
url: Oo.GET_DAM_VIEW_AVAILABLE_PAGES
|
|
49735
49735
|
})).data;
|
|
49736
49736
|
} catch {
|
|
49737
49737
|
return { hasMore: !1, pages: [] };
|
|
@@ -68484,9 +68484,9 @@ let vo = class extends cC {
|
|
|
68484
68484
|
show(C = null, I = -1) {
|
|
68485
68485
|
this.image = C, this.selectedPosition = I, this.isThumbnailManuallySet = !0, C ? this.editedImage = {
|
|
68486
68486
|
...C,
|
|
68487
|
-
cropFocus: C.cropFocus ??
|
|
68487
|
+
cropFocus: C.cropFocus ?? ko.CenterCenter
|
|
68488
68488
|
} : this.editedImage = {
|
|
68489
|
-
cropFocus:
|
|
68489
|
+
cropFocus: ko.CenterCenter,
|
|
68490
68490
|
id: "",
|
|
68491
68491
|
name: "",
|
|
68492
68492
|
objectFit: Ig.Cover,
|
|
@@ -70947,7 +70947,7 @@ let Wg = class extends cC {
|
|
|
70947
70947
|
};
|
|
70948
70948
|
Wg.styles = [hC, M0I, U0I];
|
|
70949
70949
|
Wg.dependencies = {
|
|
70950
|
-
"cx-asset-format-picker":
|
|
70950
|
+
"cx-asset-format-picker": jo,
|
|
70951
70951
|
"cx-asset-picker": he,
|
|
70952
70952
|
"cx-asset-transformation-dialog": fA,
|
|
70953
70953
|
"cx-bicolor-picker": z3,
|
|
@@ -70973,8 +70973,8 @@ Wg.dependencies = {
|
|
|
70973
70973
|
"cx-icon-picker": rA,
|
|
70974
70974
|
"cx-input": ie,
|
|
70975
70975
|
"cx-line-clamp": Ec,
|
|
70976
|
-
"cx-menu":
|
|
70977
|
-
"cx-menu-item":
|
|
70976
|
+
"cx-menu": Uo,
|
|
70977
|
+
"cx-menu-item": _o,
|
|
70978
70978
|
"cx-option": Ft,
|
|
70979
70979
|
"cx-padding-input-group": lCI,
|
|
70980
70980
|
"cx-page-picker": Rs,
|
|
@@ -70993,7 +70993,7 @@ Wg.dependencies = {
|
|
|
70993
70993
|
"cx-table": M3,
|
|
70994
70994
|
"cx-textarea": wv,
|
|
70995
70995
|
"cx-tooltip": Ke,
|
|
70996
|
-
"cx-type-subtype-select":
|
|
70996
|
+
"cx-type-subtype-select": zo,
|
|
70997
70997
|
"cx-typography": eA,
|
|
70998
70998
|
"cx-visually-hidden": tiI
|
|
70999
70999
|
};
|
|
@@ -71312,7 +71312,7 @@ let eo = class extends cC {
|
|
|
71312
71312
|
this.updateEditedItem({ spaceId: C.detail.value ?? "" });
|
|
71313
71313
|
}
|
|
71314
71314
|
handleRecordTypeSubtypeChange(C) {
|
|
71315
|
-
const I = C.target, { subtype: i, type: g } =
|
|
71315
|
+
const I = C.target, { subtype: i, type: g } = zo.decodeRowToken(I.value);
|
|
71316
71316
|
this.updateEditedItem({ recordSubType: i, recordType: g });
|
|
71317
71317
|
}
|
|
71318
71318
|
handleAccessLevelChange(C) {
|
|
@@ -71443,7 +71443,7 @@ let eo = class extends cC {
|
|
|
71443
71443
|
return this.editedItem?.action !== Ge.OpenPage ? GC : X`<cx-grid-item xs="3" sm="1"><cx-typography variant="body2">${this.localize.term("page")}</cx-typography></cx-grid-item><cx-grid-item xs="3" sm="2"><cx-dynamic-select data-testid="page-field" clearable free-width hoist placement="bottom-start" .api=${this.pageApi} .columns=${this.pageSelectColumns} .value=${this.editedItem.pageId ?? ""} @cx-change=${this.handlePageChange}></cx-dynamic-select></cx-grid-item>`;
|
|
71444
71444
|
}
|
|
71445
71445
|
renderRecordTypeAndSubTypeField() {
|
|
71446
|
-
return this.editedItem?.action !== Ge.CreateRecord ? GC : X`<cx-grid-item xs="3" sm="1"><span class="field-label"><cx-typography variant="body2">${this.localize.term("type")}</cx-typography><span class="field-label__required" aria-hidden="true">*</span></span></cx-grid-item><cx-grid-item xs="3" sm="2"><cx-type-subtype-select data-testid="record-type-subtype-field" required value=${
|
|
71446
|
+
return this.editedItem?.action !== Ge.CreateRecord ? GC : X`<cx-grid-item xs="3" sm="1"><span class="field-label"><cx-typography variant="body2">${this.localize.term("type")}</cx-typography><span class="field-label__required" aria-hidden="true">*</span></span></cx-grid-item><cx-grid-item xs="3" sm="2"><cx-type-subtype-select data-testid="record-type-subtype-field" required value=${zo.encodeRowToken({
|
|
71447
71447
|
subtype: this.editedItem.recordSubType ?? "",
|
|
71448
71448
|
type: this.editedItem.recordType ?? ""
|
|
71449
71449
|
})} .options=${this.typeSubtypeOptions} @cx-change=${this.handleRecordTypeSubtypeChange}></cx-type-subtype-select></cx-grid-item>`;
|
|
@@ -71513,7 +71513,7 @@ eo.dependencies = {
|
|
|
71513
71513
|
"cx-radio-group": yp,
|
|
71514
71514
|
"cx-select": so,
|
|
71515
71515
|
"cx-space": $g,
|
|
71516
|
-
"cx-type-subtype-select":
|
|
71516
|
+
"cx-type-subtype-select": zo,
|
|
71517
71517
|
"cx-typography": eA
|
|
71518
71518
|
};
|
|
71519
71519
|
Zn([
|
|
@@ -73530,15 +73530,15 @@ var P0I = {
|
|
|
73530
73530
|
var qr = Dt, Xm = No.length, Vm = mI == "rtl" ? 1 : 0;
|
|
73531
73531
|
for (++Dt; Dt < EI && SI[Dt] != "L"; ++Dt)
|
|
73532
73532
|
;
|
|
73533
|
-
for (var
|
|
73534
|
-
if (H.test(SI[
|
|
73535
|
-
qr <
|
|
73536
|
-
var Yb =
|
|
73537
|
-
for (
|
|
73533
|
+
for (var qo = qr; qo < Dt; )
|
|
73534
|
+
if (H.test(SI[qo])) {
|
|
73535
|
+
qr < qo && (No.splice(Xm, 0, new _(1, qr, qo)), Xm += Vm);
|
|
73536
|
+
var Yb = qo;
|
|
73537
|
+
for (++qo; qo < Dt && H.test(SI[qo]); ++qo)
|
|
73538
73538
|
;
|
|
73539
|
-
No.splice(Xm, 0, new _(2, Yb,
|
|
73539
|
+
No.splice(Xm, 0, new _(2, Yb, qo)), Xm += Vm, qr = qo;
|
|
73540
73540
|
} else
|
|
73541
|
-
|
|
73541
|
+
++qo;
|
|
73542
73542
|
qr < Dt && No.splice(Xm, 0, new _(1, qr, Dt));
|
|
73543
73543
|
}
|
|
73544
73544
|
return mI == "ltr" && (No[0].level == 1 && (ir = P.match(/^\s+/)) && (No[0].from = ir[0].length, No.unshift(new _(0, 0, ir[0].length))), ni(No).level == 1 && (ir = P.match(/\s+$/)) && (ni(No).to -= ir[0].length, No.push(new _(0, EI - ir[0].length, EI)))), mI == "rtl" ? No.reverse() : No;
|
|
@@ -73987,10 +73987,10 @@ b`.split(/\n/).length != 3 ? function(r) {
|
|
|
73987
73987
|
}
|
|
73988
73988
|
function ns(r, m, h, b) {
|
|
73989
73989
|
var w = r.doc.mode, f = new xg(m, r.options.tabSize, h);
|
|
73990
|
-
for (f.start = f.pos = b || 0, m == "" &&
|
|
73990
|
+
for (f.start = f.pos = b || 0, m == "" && Qo(w, h.state); !f.eol(); )
|
|
73991
73991
|
Os(w, f, h.state), f.start = f.pos;
|
|
73992
73992
|
}
|
|
73993
|
-
function
|
|
73993
|
+
function Qo(r, m) {
|
|
73994
73994
|
if (r.blankLine)
|
|
73995
73995
|
return r.blankLine(m);
|
|
73996
73996
|
if (r.innerMode) {
|
|
@@ -74035,7 +74035,7 @@ b`.split(/\n/).length != 3 ? function(r) {
|
|
|
74035
74035
|
var H = h.flattenSpans;
|
|
74036
74036
|
H == null && (H = r.options.flattenSpans);
|
|
74037
74037
|
var _ = 0, P = null, mI = new xg(m, r.options.tabSize, b), JI, EI = r.options.addModeClass && [null];
|
|
74038
|
-
for (m == "" && rl(
|
|
74038
|
+
for (m == "" && rl(Qo(h, b.state), f); !mI.eol(); ) {
|
|
74039
74039
|
if (mI.pos > r.options.maxHighlightLength ? (H = !1, F && ns(r, m, b, mI.pos), mI.pos = m.length, JI = null) : JI = rl(Os(h, mI, b.state, EI), f), EI) {
|
|
74040
74040
|
var SI = EI[0].name;
|
|
74041
74041
|
SI && (JI = "m-" + (JI ? SI + " " + JI : SI));
|
|
@@ -74296,20 +74296,20 @@ b`.split(/\n/).length != 3 ? function(r) {
|
|
|
74296
74296
|
if (b = h[w], !!b.marker.collapsed) {
|
|
74297
74297
|
if (b.from == null)
|
|
74298
74298
|
return !0;
|
|
74299
|
-
if (!b.marker.widgetNode && b.from == 0 && b.marker.inclusiveLeft &&
|
|
74299
|
+
if (!b.marker.widgetNode && b.from == 0 && b.marker.inclusiveLeft && Do(r, m, b))
|
|
74300
74300
|
return !0;
|
|
74301
74301
|
}
|
|
74302
74302
|
}
|
|
74303
74303
|
}
|
|
74304
|
-
function
|
|
74304
|
+
function Do(r, m, h) {
|
|
74305
74305
|
if (h.to == null) {
|
|
74306
74306
|
var b = h.marker.find(1, !0);
|
|
74307
|
-
return
|
|
74307
|
+
return Do(r, b.line, Mt(b.line.markedSpans, h.marker));
|
|
74308
74308
|
}
|
|
74309
74309
|
if (h.marker.inclusiveRight && h.to == m.text.length)
|
|
74310
74310
|
return !0;
|
|
74311
74311
|
for (var w = void 0, f = 0; f < m.markedSpans.length; ++f)
|
|
74312
|
-
if (w = m.markedSpans[f], w.marker.collapsed && !w.marker.widgetNode && w.from == h.to && (w.to == null || w.to != h.from) && (w.marker.inclusiveLeft || h.marker.inclusiveRight) &&
|
|
74312
|
+
if (w = m.markedSpans[f], w.marker.collapsed && !w.marker.widgetNode && w.from == h.to && (w.to == null || w.to != h.from) && (w.marker.inclusiveLeft || h.marker.inclusiveRight) && Do(r, m, w))
|
|
74313
74313
|
return !0;
|
|
74314
74314
|
}
|
|
74315
74315
|
function ls(r) {
|
|
@@ -75177,7 +75177,7 @@ b`.split(/\n/).length != 3 ? function(r) {
|
|
|
75177
75177
|
function yg(r) {
|
|
75178
75178
|
r.display.input.showSelection(r.display.input.prepareSelection());
|
|
75179
75179
|
}
|
|
75180
|
-
function
|
|
75180
|
+
function Po(r, m) {
|
|
75181
75181
|
m === void 0 && (m = !0);
|
|
75182
75182
|
for (var h = r.doc, b = {}, w = b.cursors = document.createDocumentFragment(), f = b.selection = document.createDocumentFragment(), F = 0; F < h.sel.ranges.length; F++)
|
|
75183
75183
|
if (!(!m && F == h.sel.primIndex)) {
|
|
@@ -75226,8 +75226,8 @@ b`.split(/\n/).length != 3 ? function(r) {
|
|
|
75226
75226
|
var Dt = (P ? Gb : cd) && No, oY = (P ? cd : Gb) && ir, qr = Dt ? H : (lt ? xe : Kn).left, Xm = oY ? _ : (lt ? Kn : xe).right;
|
|
75227
75227
|
mI(qr, xe.top, Xm - qr, xe.bottom);
|
|
75228
75228
|
} else {
|
|
75229
|
-
var Vm,
|
|
75230
|
-
lt ? (Vm = P && Gb && No ? H : xe.left,
|
|
75229
|
+
var Vm, qo, Yb, nY;
|
|
75230
|
+
lt ? (Vm = P && Gb && No ? H : xe.left, qo = P ? _ : us(at, bo, "before"), Yb = P ? H : us(Yn, bo, "after"), nY = P && cd && ir ? _ : Kn.right) : (Vm = P ? us(at, bo, "before") : H, qo = !P && Gb && No ? _ : xe.right, Yb = !P && cd && ir ? H : Kn.left, nY = P ? us(Yn, bo, "after") : _), mI(Vm, xe.top, qo - Vm, xe.bottom), xe.bottom < Kn.top && mI(H, xe.bottom, null, Kn.top), mI(Yb, Kn.top, nY - Yb, Kn.bottom);
|
|
75231
75231
|
}
|
|
75232
75232
|
(!_A || st(xe, _A) < 0) && (_A = xe), st(Kn, _A) < 0 && (_A = Kn), (!Qt || st(xe, Qt) < 0) && (Qt = xe), st(Kn, Qt) < 0 && (Qt = Kn);
|
|
75233
75233
|
}), { start: _A, end: Qt };
|
|
@@ -75601,7 +75601,7 @@ b`.split(/\n/).length != 3 ? function(r) {
|
|
|
75601
75601
|
}
|
|
75602
75602
|
};
|
|
75603
75603
|
}
|
|
75604
|
-
function
|
|
75604
|
+
function $o(r) {
|
|
75605
75605
|
return function() {
|
|
75606
75606
|
if (this.curOp)
|
|
75607
75607
|
return r.apply(this, arguments);
|
|
@@ -78412,7 +78412,7 @@ b`.split(/\n/).length != 3 ? function(r) {
|
|
|
78412
78412
|
if (w[f] == b || w[f].name == b)
|
|
78413
78413
|
return w.splice(f, 1), !0;
|
|
78414
78414
|
},
|
|
78415
|
-
addOverlay:
|
|
78415
|
+
addOverlay: $o(function(b, w) {
|
|
78416
78416
|
var f = b.token ? b : r.getMode(this.options, b);
|
|
78417
78417
|
if (f.startState)
|
|
78418
78418
|
throw new Error("Overlays may not be stateful.");
|
|
@@ -78429,7 +78429,7 @@ b`.split(/\n/).length != 3 ? function(r) {
|
|
|
78429
78429
|
}
|
|
78430
78430
|
), this.state.modeGen++, Ni(this);
|
|
78431
78431
|
}),
|
|
78432
|
-
removeOverlay:
|
|
78432
|
+
removeOverlay: $o(function(b) {
|
|
78433
78433
|
for (var w = this.state.overlays, f = 0; f < w.length; ++f) {
|
|
78434
78434
|
var F = w[f].modeSpec;
|
|
78435
78435
|
if (F == b || typeof b == "string" && F.name == b) {
|
|
@@ -78438,10 +78438,10 @@ b`.split(/\n/).length != 3 ? function(r) {
|
|
|
78438
78438
|
}
|
|
78439
78439
|
}
|
|
78440
78440
|
}),
|
|
78441
|
-
indentLine:
|
|
78441
|
+
indentLine: $o(function(b, w, f) {
|
|
78442
78442
|
typeof w != "string" && typeof w != "number" && (w == null ? w = this.options.smartIndent ? "smart" : "prev" : w = w ? "add" : "subtract"), Zt(this.doc, b) && nZ(this, b, w, f);
|
|
78443
78443
|
}),
|
|
78444
|
-
indentSelection:
|
|
78444
|
+
indentSelection: $o(function(b) {
|
|
78445
78445
|
for (var w = this.doc.sel.ranges, f = -1, F = 0; F < w.length; F++) {
|
|
78446
78446
|
var H = w[F];
|
|
78447
78447
|
if (H.empty())
|
|
@@ -78557,15 +78557,15 @@ b`.split(/\n/).length != 3 ? function(r) {
|
|
|
78557
78557
|
}
|
|
78558
78558
|
w.style.top = P + "px", w.style.left = w.style.right = "", H == "right" ? (mI = _.sizer.clientWidth - w.offsetWidth, w.style.right = "0px") : (H == "left" ? mI = 0 : H == "middle" && (mI = (_.sizer.clientWidth - w.offsetWidth) / 2), w.style.left = mI + "px"), f && rq(this, { left: mI, top: P, right: mI + w.offsetWidth, bottom: P + w.offsetHeight });
|
|
78559
78559
|
},
|
|
78560
|
-
triggerOnKeyDown:
|
|
78561
|
-
triggerOnKeyPress:
|
|
78560
|
+
triggerOnKeyDown: $o(ux),
|
|
78561
|
+
triggerOnKeyPress: $o(hx),
|
|
78562
78562
|
triggerOnKeyUp: bx,
|
|
78563
|
-
triggerOnMouseDown:
|
|
78563
|
+
triggerOnMouseDown: $o(px),
|
|
78564
78564
|
execCommand: function(b) {
|
|
78565
78565
|
if (AZ.hasOwnProperty(b))
|
|
78566
78566
|
return AZ[b].call(null, this);
|
|
78567
78567
|
},
|
|
78568
|
-
triggerElectric:
|
|
78568
|
+
triggerElectric: $o(function(b) {
|
|
78569
78569
|
vx(this, b);
|
|
78570
78570
|
}),
|
|
78571
78571
|
findPosH: function(b, w, f, F) {
|
|
@@ -78575,13 +78575,13 @@ b`.split(/\n/).length != 3 ? function(r) {
|
|
|
78575
78575
|
;
|
|
78576
78576
|
return _;
|
|
78577
78577
|
},
|
|
78578
|
-
moveH:
|
|
78578
|
+
moveH: $o(function(b, w) {
|
|
78579
78579
|
var f = this;
|
|
78580
78580
|
this.extendSelectionsBy(function(F) {
|
|
78581
78581
|
return f.display.shift || f.doc.extend || F.empty() ? tY(f.doc, F.head, b, w, f.options.rtlMoveVisually) : b < 0 ? F.from() : F.to();
|
|
78582
78582
|
}, yi);
|
|
78583
78583
|
}),
|
|
78584
|
-
deleteH:
|
|
78584
|
+
deleteH: $o(function(b, w) {
|
|
78585
78585
|
var f = this.doc.sel, F = this.doc;
|
|
78586
78586
|
f.somethingSelected() ? F.replaceSelection("", null, "+delete") : Wb(this, function(H) {
|
|
78587
78587
|
var _ = tY(F, H.head, b, w, !1);
|
|
@@ -78598,7 +78598,7 @@ b`.split(/\n/).length != 3 ? function(r) {
|
|
|
78598
78598
|
}
|
|
78599
78599
|
return P;
|
|
78600
78600
|
},
|
|
78601
|
-
moveV:
|
|
78601
|
+
moveV: $o(function(b, w) {
|
|
78602
78602
|
var f = this, F = this.doc, H = [], _ = !this.display.shift && !F.extend && F.sel.somethingSelected();
|
|
78603
78603
|
if (F.extendSelectionsBy(function(mI) {
|
|
78604
78604
|
if (_)
|
|
@@ -78639,7 +78639,7 @@ b`.split(/\n/).length != 3 ? function(r) {
|
|
|
78639
78639
|
isReadOnly: function() {
|
|
78640
78640
|
return !!(this.options.readOnly || this.doc.cantEdit);
|
|
78641
78641
|
},
|
|
78642
|
-
scrollTo:
|
|
78642
|
+
scrollTo: $o(function(b, w) {
|
|
78643
78643
|
Mp(this, b, w);
|
|
78644
78644
|
}),
|
|
78645
78645
|
getScrollInfo: function() {
|
|
@@ -78653,10 +78653,10 @@ b`.split(/\n/).length != 3 ? function(r) {
|
|
|
78653
78653
|
clientWidth: Xa(this)
|
|
78654
78654
|
};
|
|
78655
78655
|
},
|
|
78656
|
-
scrollIntoView:
|
|
78656
|
+
scrollIntoView: $o(function(b, w) {
|
|
78657
78657
|
b == null ? (b = { from: this.doc.sel.primary().head, to: null }, w == null && (w = this.options.cursorScrollMargin)) : typeof b == "number" ? b = { from: Gi(b, 0), to: null } : b.from == null && (b = { from: b, to: null }), b.to || (b.to = b.from), b.margin = w || 0, b.from.line != null ? cq(this, b) : J9(this, b.from, b.to, b.margin);
|
|
78658
78658
|
}),
|
|
78659
|
-
setSize:
|
|
78659
|
+
setSize: $o(function(b, w) {
|
|
78660
78660
|
var f = this, F = function(_) {
|
|
78661
78661
|
return typeof _ == "number" || /^\d+$/.test(String(_)) ? _ + "px" : _;
|
|
78662
78662
|
};
|
|
@@ -78682,11 +78682,11 @@ b`.split(/\n/).length != 3 ? function(r) {
|
|
|
78682
78682
|
endOperation: function() {
|
|
78683
78683
|
return Lm(this);
|
|
78684
78684
|
},
|
|
78685
|
-
refresh:
|
|
78685
|
+
refresh: $o(function() {
|
|
78686
78686
|
var b = this.display.cachedTextHeight;
|
|
78687
78687
|
Ni(this), this.curOp.forceUpdate = !0, ds(this), Mp(this, this.doc.scrollLeft, this.doc.scrollTop), MG(this.display), (b == null || Math.abs(b - MI(this.display)) > 0.5 || this.options.lineWrapping) && _i(this), ri(this, "refresh", this);
|
|
78688
78688
|
}),
|
|
78689
|
-
swapDoc:
|
|
78689
|
+
swapDoc: $o(function(b) {
|
|
78690
78690
|
var w = this.doc;
|
|
78691
78691
|
return w.cm = null, this.state.selectingText && this.state.selectingText(), x9(this, b), ds(this), this.display.input.reset(), Mp(this, b.scrollLeft, b.scrollTop), this.curOp.forceScroll = !0, KA(this, "swapDoc", this, w), w;
|
|
78692
78692
|
}),
|
|
@@ -78835,7 +78835,7 @@ b`.split(/\n/).length != 3 ? function(r) {
|
|
|
78835
78835
|
}, FA.prototype.screenReaderLabelChanged = function(r) {
|
|
78836
78836
|
r ? this.div.setAttribute("aria-label", r) : this.div.removeAttribute("aria-label");
|
|
78837
78837
|
}, FA.prototype.prepareSelection = function() {
|
|
78838
|
-
var r =
|
|
78838
|
+
var r = Po(this.cm, !1);
|
|
78839
78839
|
return r.focus = AI() == this.div, r;
|
|
78840
78840
|
}, FA.prototype.showSelection = function(r, m) {
|
|
78841
78841
|
!r || !this.cm.display.view.length || ((r.focus || m) && this.showPrimarySelection(), this.showMultipleSelections(r));
|
|
@@ -79148,7 +79148,7 @@ b`.split(/\n/).length != 3 ? function(r) {
|
|
|
79148
79148
|
}, Te.prototype.screenReaderLabelChanged = function(r) {
|
|
79149
79149
|
r ? this.textarea.setAttribute("aria-label", r) : this.textarea.removeAttribute("aria-label");
|
|
79150
79150
|
}, Te.prototype.prepareSelection = function() {
|
|
79151
|
-
var r = this.cm, m = r.display, h = r.doc, b =
|
|
79151
|
+
var r = this.cm, m = r.display, h = r.doc, b = Po(r);
|
|
79152
79152
|
if (r.options.moveInputWithCursor) {
|
|
79153
79153
|
var w = eI(r, h.sel.primary().head, "div"), f = m.wrapper.getBoundingClientRect(), F = m.lineDiv.getBoundingClientRect();
|
|
79154
79154
|
b.teTop = Math.max(0, Math.min(
|
|
@@ -86366,7 +86366,7 @@ b`.split(/\n/).length != 3 ? function(r) {
|
|
|
86366
86366
|
),
|
|
86367
86367
|
filter: () => (
|
|
86368
86368
|
/* reexport */
|
|
86369
|
-
|
|
86369
|
+
Do
|
|
86370
86370
|
),
|
|
86371
86371
|
find: () => (
|
|
86372
86372
|
/* reexport */
|
|
@@ -86706,7 +86706,7 @@ b`.split(/\n/).length != 3 ? function(r) {
|
|
|
86706
86706
|
),
|
|
86707
86707
|
result: () => (
|
|
86708
86708
|
/* reexport */
|
|
86709
|
-
|
|
86709
|
+
Qo
|
|
86710
86710
|
),
|
|
86711
86711
|
sample: () => (
|
|
86712
86712
|
/* reexport */
|
|
@@ -86714,7 +86714,7 @@ b`.split(/\n/).length != 3 ? function(r) {
|
|
|
86714
86714
|
),
|
|
86715
86715
|
select: () => (
|
|
86716
86716
|
/* reexport */
|
|
86717
|
-
|
|
86717
|
+
Do
|
|
86718
86718
|
),
|
|
86719
86719
|
shuffle: () => (
|
|
86720
86720
|
/* reexport */
|
|
@@ -86855,7 +86855,7 @@ b`.split(/\n/).length != 3 ? function(r) {
|
|
|
86855
86855
|
every: () => Qs,
|
|
86856
86856
|
extend: () => uA,
|
|
86857
86857
|
extendOwn: () => Ve,
|
|
86858
|
-
filter: () =>
|
|
86858
|
+
filter: () => Do,
|
|
86859
86859
|
find: () => jC,
|
|
86860
86860
|
findIndex: () => Wn,
|
|
86861
86861
|
findKey: () => _t,
|
|
@@ -86940,9 +86940,9 @@ b`.split(/\n/).length != 3 ? function(r) {
|
|
|
86940
86940
|
reject: () => ls,
|
|
86941
86941
|
rest: () => cs,
|
|
86942
86942
|
restArguments: () => j,
|
|
86943
|
-
result: () =>
|
|
86943
|
+
result: () => Qo,
|
|
86944
86944
|
sample: () => dl,
|
|
86945
|
-
select: () =>
|
|
86945
|
+
select: () => Do,
|
|
86946
86946
|
shuffle: () => id,
|
|
86947
86947
|
size: () => wm,
|
|
86948
86948
|
some: () => Ga,
|
|
@@ -87432,7 +87432,7 @@ __p+='`), ig;
|
|
|
87432
87432
|
return MC.source = "function(" + si + `){
|
|
87433
87433
|
` + RI + "}", MC;
|
|
87434
87434
|
}
|
|
87435
|
-
function
|
|
87435
|
+
function Qo(T, gI, wI) {
|
|
87436
87436
|
gI = Ae(gI);
|
|
87437
87437
|
var GI = gI.length;
|
|
87438
87438
|
if (!GI)
|
|
@@ -87646,14 +87646,14 @@ __p+='`), ig;
|
|
|
87646
87646
|
};
|
|
87647
87647
|
}
|
|
87648
87648
|
const Ot = Xo(1), Vo = Xo(-1);
|
|
87649
|
-
function
|
|
87649
|
+
function Do(T, gI, wI) {
|
|
87650
87650
|
var GI = [];
|
|
87651
87651
|
return gI = qg(gI, wI), Re(T, function(OI, RI, si) {
|
|
87652
87652
|
gI(OI, RI, si) && GI.push(OI);
|
|
87653
87653
|
}), GI;
|
|
87654
87654
|
}
|
|
87655
87655
|
function ls(T, gI, wI) {
|
|
87656
|
-
return
|
|
87656
|
+
return Do(T, Ut(qg(gI)), wI);
|
|
87657
87657
|
}
|
|
87658
87658
|
function Qs(T, gI, wI) {
|
|
87659
87659
|
gI = qg(gI, wI);
|
|
@@ -87689,7 +87689,7 @@ __p+='`), ig;
|
|
|
87689
87689
|
return nt(T, VA(gI));
|
|
87690
87690
|
}
|
|
87691
87691
|
function Er(T, gI) {
|
|
87692
|
-
return
|
|
87692
|
+
return Do(T, ki(gI));
|
|
87693
87693
|
}
|
|
87694
87694
|
function Id(T, gI, wI) {
|
|
87695
87695
|
var GI = -1 / 0, OI = -1 / 0, RI, si;
|
|
@@ -87802,13 +87802,13 @@ __p+='`), ig;
|
|
|
87802
87802
|
return T == null || T.length < 1 ? gI == null || wI ? void 0 : [] : gI == null || wI ? T[T.length - 1] : cs(T, Math.max(0, T.length - gI));
|
|
87803
87803
|
}
|
|
87804
87804
|
function Ad(T) {
|
|
87805
|
-
return
|
|
87805
|
+
return Do(T, Boolean);
|
|
87806
87806
|
}
|
|
87807
87807
|
function ed(T, gI) {
|
|
87808
87808
|
return sA(T, gI, !1);
|
|
87809
87809
|
}
|
|
87810
87810
|
const Jm = j(function(T, gI) {
|
|
87811
|
-
return gI = sA(gI, !0, !0),
|
|
87811
|
+
return gI = sA(gI, !0, !0), Do(T, function(wI) {
|
|
87812
87812
|
return !Oe(gI, wI);
|
|
87813
87813
|
});
|
|
87814
87814
|
}), ql = j(function(T, gI) {
|
|
@@ -89783,14 +89783,14 @@ var UfI = (
|
|
|
89783
89783
|
};
|
|
89784
89784
|
}, I;
|
|
89785
89785
|
}(Mi.Kx)
|
|
89786
|
-
), UN = "data-condition-true-content", _N = "data-condition-false-content",
|
|
89787
|
-
return
|
|
89786
|
+
), UN = "data-condition-true-content", _N = "data-condition-false-content", An = function() {
|
|
89787
|
+
return An = Object.assign || function(C) {
|
|
89788
89788
|
for (var I, i = 1, g = arguments.length; i < g; i++) {
|
|
89789
89789
|
I = arguments[i];
|
|
89790
89790
|
for (var A in I) Object.prototype.hasOwnProperty.call(I, A) && (C[A] = I[A]);
|
|
89791
89791
|
}
|
|
89792
89792
|
return C;
|
|
89793
|
-
},
|
|
89793
|
+
}, An.apply(this, arguments);
|
|
89794
89794
|
}, EQ = function(C, I, i) {
|
|
89795
89795
|
if (i || arguments.length === 2) for (var g = 0, A = I.length, e; g < A; g++)
|
|
89796
89796
|
(e || !(g in I)) && (e || (e = Array.prototype.slice.call(I, 0, g)), e[g] = I[g]);
|
|
@@ -89856,12 +89856,12 @@ var UfI = (
|
|
|
89856
89856
|
!A && !e || C.em.log(I, { model: C, toUp: i, context: "symbols", opts: g });
|
|
89857
89857
|
}, TfI = function(C, I) {
|
|
89858
89858
|
I === void 0 && (I = {});
|
|
89859
|
-
var i = C.dataResolverWatchers.getPropsDefsOrValues(
|
|
89859
|
+
var i = C.dataResolverWatchers.getPropsDefsOrValues(An({}, C.changedAttributes())), g = C.dataResolverWatchers.getAttributesDefsOrValues(An({}, i.attributes));
|
|
89860
89860
|
if (QfI(i, g), !(0, wi.isEmptyObj)(i)) {
|
|
89861
89861
|
var A = Kc(C, I);
|
|
89862
89862
|
fz(i, C), Jw(C, "props", A, { opts: I, changed: i }), A.forEach(function(e) {
|
|
89863
|
-
var t =
|
|
89864
|
-
fz(t, e), e.set(t,
|
|
89863
|
+
var t = An({}, i);
|
|
89864
|
+
fz(t, e), e.set(t, An({ fromInstance: C }, I));
|
|
89865
89865
|
});
|
|
89866
89866
|
}
|
|
89867
89867
|
}, QfI = function(C, I) {
|
|
@@ -89895,7 +89895,7 @@ var UfI = (
|
|
|
89895
89895
|
var A = g || i || {}, e = A.fromInstance, t = A.fromUndo, o = { fromInstance: e, fromUndo: t }, n = I.opt.temporary;
|
|
89896
89896
|
if (g)
|
|
89897
89897
|
if (g.add) {
|
|
89898
|
-
var d = [], u = !!Vs(C), a = Kc(C,
|
|
89898
|
+
var d = [], u = !!Vs(C), a = Kc(C, An(An({}, o), { changed: "components:add" }));
|
|
89899
89899
|
if (a.length) {
|
|
89900
89900
|
var p = $a(I);
|
|
89901
89901
|
d = Vs(p || I) || [], d = EQ([], d, !0), d.push(p || I);
|
|
@@ -89911,20 +89911,20 @@ var UfI = (
|
|
|
89911
89911
|
var O = ZJ(B, { prev: 1 });
|
|
89912
89912
|
return S && O && O === S;
|
|
89913
89913
|
})[0], z = D || I.clone({ symbol: !0, symbolInv: u });
|
|
89914
|
-
j.append(z,
|
|
89914
|
+
j.append(z, An({ fromInstance: C }, g));
|
|
89915
89915
|
});
|
|
89916
89916
|
} else {
|
|
89917
89917
|
var Z = $a(I);
|
|
89918
89918
|
if (Z && !g.temporary && Z.set(xn, Vs(Z).filter(function(M) {
|
|
89919
89919
|
return M !== I;
|
|
89920
89920
|
})), !$u(I) && !g.skipRefsUp) {
|
|
89921
|
-
var J = "components:remove", G = g.index, W = I.parent(), v =
|
|
89921
|
+
var J = "components:remove", G = g.index, W = I.parent(), v = An({ fromInstance: I }, g), V = $u(I), x = function(j) {
|
|
89922
89922
|
var S = j.parent();
|
|
89923
89923
|
S && !pJ(S, J) && j.remove(v);
|
|
89924
89924
|
}, a = pJ(W, J) ? [] : Kc(I, o);
|
|
89925
|
-
V && (a = W && Kc(W,
|
|
89925
|
+
V && (a = W && Kc(W, An(An({}, o), { changed: J })), x = function(j) {
|
|
89926
89926
|
var S = j.components().at(G);
|
|
89927
|
-
S && S.remove(
|
|
89927
|
+
S && S.remove(An({ fromInstance: W }, v));
|
|
89928
89928
|
}), !n && Jw(C, "remove", a, {
|
|
89929
89929
|
opts: g,
|
|
89930
89930
|
removed: I.cid,
|
|
@@ -89933,12 +89933,12 @@ var UfI = (
|
|
|
89933
89933
|
}
|
|
89934
89934
|
}
|
|
89935
89935
|
else {
|
|
89936
|
-
var s = I, a = Kc(C,
|
|
89936
|
+
var s = I, a = Kc(C, An(An({}, o), { changed: "components:reset" })), l = s.models, c = /* @__PURE__ */ new Set();
|
|
89937
89937
|
Jw(C, "reset", a, { components: l }), a.forEach(function(M) {
|
|
89938
89938
|
var j = M.components(), S = l.map(function(D, z) {
|
|
89939
89939
|
return C.get(Ih) ? D.clone({ symbol: Xr(D) }) : !Xr(D) || c.has(D) ? (c.add(D), D.clone({ symbol: !0 })) : j.at(z);
|
|
89940
89940
|
});
|
|
89941
|
-
j.reset(S,
|
|
89941
|
+
j.reset(S, An({ fromInstance: C }, i));
|
|
89942
89942
|
});
|
|
89943
89943
|
}
|
|
89944
89944
|
C.__changesUp(A);
|
|
@@ -100502,9 +100502,9 @@ function pXI(C, I) {
|
|
|
100502
100502
|
var nt = vC * rg, Xo = SA - EC * SA, Ot = Math.abs(jC - nt) > Math.abs(PA - Xo);
|
|
100503
100503
|
Hg = Ot ? "x" : "y";
|
|
100504
100504
|
}
|
|
100505
|
-
var Vo = !Hg || Hg === "x",
|
|
100506
|
-
Vo && (vC = parseFloat(jC / rg)),
|
|
100507
|
-
}, rl, fg), Fi ? (Mt(Fi), Ut(), og = CI.preferredFormat || B(Fi).getFormat(),
|
|
100505
|
+
var Vo = !Hg || Hg === "x", Do = !Hg || Hg === "y";
|
|
100506
|
+
Vo && (vC = parseFloat(jC / rg)), Do && (EC = parseFloat((SA - PA) / SA)), Xg = !1, CI.showAlpha || (mA = 1), Ue();
|
|
100507
|
+
}, rl, fg), Fi ? (Mt(Fi), Ut(), og = CI.preferredFormat || B(Fi).getFormat(), Qo(Fi)) : Ut(), hi && Fe();
|
|
100508
100508
|
function XC(jC) {
|
|
100509
100509
|
return jC.data && jC.data.ignore ? (Mt(C(jC.target).closest(".sp-thumb-el").data("color")), Ue()) : (Mt(C(jC.target).closest(".sp-thumb-el").data("color")), Ue(), CI.hideAfterPaletteSelect && (Ko(!0), ro())), !1;
|
|
100510
100510
|
}
|
|
@@ -100516,7 +100516,7 @@ function pXI(C, I) {
|
|
|
100516
100516
|
try {
|
|
100517
100517
|
var LC = window.localStorage[vi].split(",#");
|
|
100518
100518
|
LC.length > 1 && (delete window.localStorage[vi], C.each(LC, function(XC, zg) {
|
|
100519
|
-
|
|
100519
|
+
Qo(zg);
|
|
100520
100520
|
}));
|
|
100521
100521
|
} catch {
|
|
100522
100522
|
}
|
|
@@ -100526,7 +100526,7 @@ function pXI(C, I) {
|
|
|
100526
100526
|
}
|
|
100527
100527
|
}
|
|
100528
100528
|
}
|
|
100529
|
-
function
|
|
100529
|
+
function Qo(LC) {
|
|
100530
100530
|
if (jI) {
|
|
100531
100531
|
var XC = B(LC).toRgbString();
|
|
100532
100532
|
if (!Yo[XC] && C.inArray(XC, uA) === -1)
|
|
@@ -100668,7 +100668,7 @@ function pXI(C, I) {
|
|
|
100668
100668
|
}
|
|
100669
100669
|
function Ko(LC) {
|
|
100670
100670
|
var XC = Ne(), zg = "", jC = Li ? !0 : !B.equals(XC, ZC);
|
|
100671
|
-
XC && (zg = XC.toString(og), !uC &&
|
|
100671
|
+
XC && (zg = XC.toString(og), !uC && Qo(XC)), RC && ag.val(zg), LC && jC && (ri.change(XC), ag.trigger("change", [XC]));
|
|
100672
100672
|
}
|
|
100673
100673
|
function _e() {
|
|
100674
100674
|
uC && (rg = Ae.width(), SA = Ae.height(), ge = ee.height(), YA.width(), tI = YA.height(), Zi = ot.height(), WI = ki.width(), kI = VA.width(), hi || (NC.css("position", "absolute"), CI.offset ? NC.offset(CI.offset) : NC.offset(c(NC, mi))), yn(), CI.showPalette && ss(), ag.trigger("reflow.spectrum"));
|
|
@@ -110955,14 +110955,14 @@ var lRI = /* @__PURE__ */ function() {
|
|
|
110955
110955
|
}
|
|
110956
110956
|
I.prototype = i === null ? Object.create(i) : (g.prototype = i.prototype, new g());
|
|
110957
110957
|
};
|
|
110958
|
-
}(),
|
|
110959
|
-
return
|
|
110958
|
+
}(), In = function() {
|
|
110959
|
+
return In = Object.assign || function(C) {
|
|
110960
110960
|
for (var I, i = 1, g = arguments.length; i < g; i++) {
|
|
110961
110961
|
I = arguments[i];
|
|
110962
110962
|
for (var A in I) Object.prototype.hasOwnProperty.call(I, A) && (C[A] = I[A]);
|
|
110963
110963
|
}
|
|
110964
110964
|
return C;
|
|
110965
|
-
},
|
|
110965
|
+
}, In.apply(this, arguments);
|
|
110966
110966
|
}, fL = function(C, I, i, g) {
|
|
110967
110967
|
function A(e) {
|
|
110968
110968
|
return e instanceof i ? e : new i(function(t) {
|
|
@@ -111554,11 +111554,11 @@ var Rj = {
|
|
|
111554
111554
|
return this.get("state") || "";
|
|
111555
111555
|
}, I.prototype.getHtml = function(i) {
|
|
111556
111556
|
i === void 0 && (i = {});
|
|
111557
|
-
var g = this.config, A = g.optsHtml, e = g.jsInHtml ? this.getJs(i) : "", t = i.component || this.Components.getComponent(), o = t ? this.CodeManager.getCode(t, "html",
|
|
111557
|
+
var g = this.config, A = g.optsHtml, e = g.jsInHtml ? this.getJs(i) : "", t = i.component || this.Components.getComponent(), o = t ? this.CodeManager.getCode(t, "html", In(In({}, A), i)) : "";
|
|
111558
111558
|
return o += e ? "<script>".concat(e, "<\/script>") : "", o;
|
|
111559
111559
|
}, I.prototype.getCss = function(i) {
|
|
111560
111560
|
i === void 0 && (i = {});
|
|
111561
|
-
var g = this.config, A = g.optsCss, e = i.avoidProtected, t = (0, q.isUndefined)(i.keepUnusedStyles) ? g.keepUnusedStyles : i.keepUnusedStyles, o = this.Css, n = i.component || this.Components.getComponent(), s = e ? "" : g.protectedCss, a = n && this.CodeManager.getCode(n, "css",
|
|
111561
|
+
var g = this.config, A = g.optsCss, e = i.avoidProtected, t = (0, q.isUndefined)(i.keepUnusedStyles) ? g.keepUnusedStyles : i.keepUnusedStyles, o = this.Css, n = i.component || this.Components.getComponent(), s = e ? "" : g.protectedCss, a = n && this.CodeManager.getCode(n, "css", In(In({ cssc: o, keepUnusedStyles: t }, A), i));
|
|
111562
111562
|
return n ? i.json ? a : s + a : "";
|
|
111563
111563
|
}, I.prototype.getJs = function(i) {
|
|
111564
111564
|
i === void 0 && (i = {});
|
|
@@ -111593,7 +111593,7 @@ var Rj = {
|
|
|
111593
111593
|
}, I.prototype.storeData = function() {
|
|
111594
111594
|
var i = {}, g = this.getEditing();
|
|
111595
111595
|
g && g.trigger("sync:content", { noCount: !0 }), this.storables.forEach(function(e) {
|
|
111596
|
-
i =
|
|
111596
|
+
i = In(In({}, i), e.store(1));
|
|
111597
111597
|
});
|
|
111598
111598
|
var A = JSON.parse(JSON.stringify(i));
|
|
111599
111599
|
return this.trigger(Ws.projectGet, { project: A }), A;
|
|
@@ -111686,15 +111686,15 @@ var Rj = {
|
|
|
111686
111686
|
this.trigger(n, i, g), o && this.trigger("".concat(n, ":").concat(o), i, g);
|
|
111687
111687
|
}
|
|
111688
111688
|
}, I.prototype.logInfo = function(i, g) {
|
|
111689
|
-
this.log(i,
|
|
111689
|
+
this.log(i, In(In({}, g), { level: "info" }));
|
|
111690
111690
|
}, I.prototype.logWarning = function(i, g) {
|
|
111691
|
-
this.log(i,
|
|
111691
|
+
this.log(i, In(In({}, g), { level: "warning" }));
|
|
111692
111692
|
}, I.prototype.logError = function(i, g) {
|
|
111693
|
-
this.log(i,
|
|
111693
|
+
this.log(i, In(In({}, g), { level: "error" }));
|
|
111694
111694
|
}, I.prototype.initBaseColorPicker = function(i, g) {
|
|
111695
111695
|
g === void 0 && (g = {});
|
|
111696
111696
|
var A = this.config, e = A.colorPicker, t = e === void 0 ? {} : e, o = A.el, n = A.stylePrefix;
|
|
111697
|
-
return (0, to.default)(i).spectrum(
|
|
111697
|
+
return (0, to.default)(i).spectrum(In(In({ containerClassName: "".concat(n, "one-bg ").concat(n, "two-color"), appendTo: o || "body", maxSelectionSize: 8, showPalette: !0, palette: [], showAlpha: !0, chooseText: "Ok", cancelText: "⨯" }, g), t));
|
|
111698
111698
|
}, I.prototype.skip = function(i) {
|
|
111699
111699
|
this.__skip = !0;
|
|
111700
111700
|
var g = this.UndoManager;
|
|
@@ -112599,7 +112599,7 @@ const Bj = JSON.stringify(_w), VRI = JSON.stringify(IF), FRI = {
|
|
|
112599
112599
|
{
|
|
112600
112600
|
configOrder: 6,
|
|
112601
112601
|
controlType: "position-picker",
|
|
112602
|
-
defaultValue:
|
|
112602
|
+
defaultValue: ko.TopCenter,
|
|
112603
112603
|
field: "backgroundCropFocus",
|
|
112604
112604
|
hidden: !0,
|
|
112605
112605
|
show: Cr,
|
|
@@ -113576,7 +113576,7 @@ const jRI = {
|
|
|
113576
113576
|
"data-constraints": !1,
|
|
113577
113577
|
"data-width-percent": "100%",
|
|
113578
113578
|
"data-width-pixel": "",
|
|
113579
|
-
"default-crop-focus":
|
|
113579
|
+
"default-crop-focus": ko.CenterCenter,
|
|
113580
113580
|
"default-object-fit": Ig.Cover,
|
|
113581
113581
|
"details-source-field": "",
|
|
113582
113582
|
"download-format": "",
|
|
@@ -115701,7 +115701,7 @@ const jRI = {
|
|
|
115701
115701
|
], XL = { configs: qRI, defaultValue: PRI, stylable: I9I };
|
|
115702
115702
|
var rt = /* @__PURE__ */ ((C) => (C.Adaptive = "adaptive", C.Default = "default", C.Fill = "fill", C.Fit = "fit", C.Fixed = "fixed", C.PageWidth = "page-width", C))(rt || {}), Yt = /* @__PURE__ */ ((C) => (C.Fill = "fill", C.Fit = "fit", C.Fixed = "fixed", C.PageWidth = "page-width", C.Relative = "relative", C))(Yt || {});
|
|
115703
115703
|
const i9I = {
|
|
115704
|
-
"background-crop-focus":
|
|
115704
|
+
"background-crop-focus": ko.CenterCenter,
|
|
115705
115705
|
"background-format": "TRX",
|
|
115706
115706
|
"background-image": "",
|
|
115707
115707
|
"background-manual-format": !1,
|
|
@@ -115932,7 +115932,7 @@ const i9I = {
|
|
|
115932
115932
|
"--border-radius",
|
|
115933
115933
|
"--custom-width"
|
|
115934
115934
|
], VL = { configs: C9I, defaultValue: i9I, stylable: g9I }, A9I = {
|
|
115935
|
-
"background-crop-focus":
|
|
115935
|
+
"background-crop-focus": ko.CenterCenter,
|
|
115936
115936
|
"background-format": "",
|
|
115937
115937
|
"background-manual-format": !1,
|
|
115938
115938
|
"background-object-fit": Ig.Cover,
|
|
@@ -117313,7 +117313,7 @@ const Z9I = {
|
|
|
117313
117313
|
"download-width-type": fs.Hug,
|
|
117314
117314
|
"full-bleed": !1,
|
|
117315
117315
|
"img-alt": "",
|
|
117316
|
-
"img-crop-focus":
|
|
117316
|
+
"img-crop-focus": ko.CenterCenter,
|
|
117317
117317
|
"img-height-mode": Kg.Auto,
|
|
117318
117318
|
"img-object-fit": Ig.Contain,
|
|
117319
117319
|
name: "",
|
|
@@ -117959,7 +117959,7 @@ const f9I = {
|
|
|
117959
117959
|
"content-variant": qd.Overlay,
|
|
117960
117960
|
"data-width-percent": "100%",
|
|
117961
117961
|
"data-width-pixel": "",
|
|
117962
|
-
"default-crop-focus":
|
|
117962
|
+
"default-crop-focus": ko.CenterCenter,
|
|
117963
117963
|
"default-object-fit": Ig.Cover,
|
|
117964
117964
|
"details-source-field": "",
|
|
117965
117965
|
"download-format": "",
|
|
@@ -119470,7 +119470,7 @@ const j9I = {
|
|
|
119470
119470
|
"click-space": "",
|
|
119471
119471
|
"content-position": LA.TopLeft,
|
|
119472
119472
|
"content-type": iC.Automatic,
|
|
119473
|
-
"crop-focus":
|
|
119473
|
+
"crop-focus": ko.CenterCenter,
|
|
119474
119474
|
"data-constraints": !1,
|
|
119475
119475
|
"data-content-width-percent": "100%",
|
|
119476
119476
|
"data-content-width-pixel": "200px",
|
|
@@ -121365,7 +121365,7 @@ const T9I = (C, I = {}) => {
|
|
|
121365
121365
|
{
|
|
121366
121366
|
configOrder: 4,
|
|
121367
121367
|
controlType: "position-picker",
|
|
121368
|
-
defaultValue:
|
|
121368
|
+
defaultValue: ko.CenterCenter,
|
|
121369
121369
|
field: "cropFocus",
|
|
121370
121370
|
hidden: !0,
|
|
121371
121371
|
title: C.term("cropFocus")
|
|
@@ -121374,7 +121374,7 @@ const T9I = (C, I = {}) => {
|
|
|
121374
121374
|
displayField: "label",
|
|
121375
121375
|
editDialogLabel: C.term("editMarker"),
|
|
121376
121376
|
sampleItem: {
|
|
121377
|
-
cropFocus:
|
|
121377
|
+
cropFocus: ko.CenterCenter,
|
|
121378
121378
|
label: "",
|
|
121379
121379
|
objectFit: Ig.Cover,
|
|
121380
121380
|
thumbnail: ""
|
|
@@ -121538,7 +121538,7 @@ const oxI = {
|
|
|
121538
121538
|
"click-space": "",
|
|
121539
121539
|
"content-position": LA.TopLeft,
|
|
121540
121540
|
"content-type": iC.Automatic,
|
|
121541
|
-
"crop-focus":
|
|
121541
|
+
"crop-focus": ko.CenterCenter,
|
|
121542
121542
|
"data-constraints": !1,
|
|
121543
121543
|
"data-content-width-percent": "100%",
|
|
121544
121544
|
"data-content-width-pixel": "200px",
|
|
@@ -121555,7 +121555,7 @@ const oxI = {
|
|
|
121555
121555
|
"manual-thumbnail-format": !1,
|
|
121556
121556
|
name: "",
|
|
121557
121557
|
"name-source-field": "CoreField.CaptionLong",
|
|
121558
|
-
"object-fit": Ig.
|
|
121558
|
+
"object-fit": Ig.Contain,
|
|
121559
121559
|
"open-in-new-tab": !0,
|
|
121560
121560
|
poster: "",
|
|
121561
121561
|
"show-controls": !0,
|
|
@@ -122574,7 +122574,7 @@ const axI = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
122574
122574
|
__proto__: null,
|
|
122575
122575
|
default: yG
|
|
122576
122576
|
}, Symbol.toStringTag, { value: "Module" })), lxI = aC`.block-picker{--width:80%}.block-picker__card{min-height:146px;position:relative}.block-picker__card,.block-picker__card::part(base){width:100%;height:100%}.block-picker__card::part(image){height:75px}.block-picker__card--center::part(base){flex-direction:column;justify-content:center;align-items:center;display:flex}.block-picker__card__title{margin-bottom:var(--cx-spacing-2x-small);display:block}.block-picker__variants,.block-picker__variants::part(trigger){width:100%;height:100%;display:block}.block-picker__card__title--center cx-typography{text-align:center}.block-picker__overlay{background-color:rgb(from var(--cx-color-neutral-0) r g b / 75%);justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:absolute;top:0;left:0}.block-picker__spinner{--track-width:4px;font-size:var(--cx-font-size-3x-large)}`;
|
|
122577
|
-
var rxI = Object.defineProperty, cxI = Object.getOwnPropertyDescriptor,
|
|
122577
|
+
var rxI = Object.defineProperty, cxI = Object.getOwnPropertyDescriptor, Eo = (C, I, i, g) => {
|
|
122578
122578
|
for (var A = g > 1 ? void 0 : g ? cxI(I, i) : I, e = C.length - 1, t; e >= 0; e--)
|
|
122579
122579
|
(t = C[e]) && (A = (g ? t(I, i, A) : t(A)) || A);
|
|
122580
122580
|
return g && A && rxI(I, i, A), A;
|
|
@@ -122748,52 +122748,52 @@ ut.dependencies = {
|
|
|
122748
122748
|
"cx-grid-item": Ml,
|
|
122749
122749
|
"cx-icon": vA,
|
|
122750
122750
|
"cx-line-clamp": Ec,
|
|
122751
|
-
"cx-menu":
|
|
122752
|
-
"cx-menu-item":
|
|
122751
|
+
"cx-menu": Uo,
|
|
122752
|
+
"cx-menu-item": _o,
|
|
122753
122753
|
"cx-resize-observer": Zv,
|
|
122754
122754
|
"cx-space": $g,
|
|
122755
122755
|
"cx-spinner": Bs,
|
|
122756
122756
|
"cx-typography": eA
|
|
122757
122757
|
};
|
|
122758
|
-
|
|
122758
|
+
Eo([
|
|
122759
122759
|
Ki(".block-picker")
|
|
122760
122760
|
], ut.prototype, "dialog", 2);
|
|
122761
|
-
|
|
122761
|
+
Eo([
|
|
122762
122762
|
Ki(".block-picker__grid")
|
|
122763
122763
|
], ut.prototype, "grid", 2);
|
|
122764
|
-
|
|
122764
|
+
Eo([
|
|
122765
122765
|
K({ reflect: !1, type: Array })
|
|
122766
122766
|
], ut.prototype, "blocks", 2);
|
|
122767
|
-
|
|
122767
|
+
Eo([
|
|
122768
122768
|
K({ reflect: !1, type: Array })
|
|
122769
122769
|
], ut.prototype, "templates", 2);
|
|
122770
|
-
|
|
122770
|
+
Eo([
|
|
122771
122771
|
K({ reflect: !0, type: Boolean })
|
|
122772
122772
|
], ut.prototype, "loading", 2);
|
|
122773
|
-
|
|
122773
|
+
Eo([
|
|
122774
122774
|
K({ attribute: "current-block-type", reflect: !0, type: String })
|
|
122775
122775
|
], ut.prototype, "currentBlockType", 2);
|
|
122776
|
-
|
|
122776
|
+
Eo([
|
|
122777
122777
|
K({
|
|
122778
122778
|
attribute: "selecting-template",
|
|
122779
122779
|
reflect: !0,
|
|
122780
122780
|
type: Boolean
|
|
122781
122781
|
})
|
|
122782
122782
|
], ut.prototype, "selectingTemplate", 2);
|
|
122783
|
-
|
|
122783
|
+
Eo([
|
|
122784
122784
|
K({ attribute: "can-create-template", reflect: !0, type: Boolean })
|
|
122785
122785
|
], ut.prototype, "canCreateTemplate", 2);
|
|
122786
|
-
|
|
122786
|
+
Eo([
|
|
122787
122787
|
K({ attribute: "amount", reflect: !0, type: Number })
|
|
122788
122788
|
], ut.prototype, "amount", 2);
|
|
122789
|
-
|
|
122789
|
+
Eo([
|
|
122790
122790
|
K({
|
|
122791
122791
|
attribute: "force-selecting-template",
|
|
122792
122792
|
reflect: !0,
|
|
122793
122793
|
type: Boolean
|
|
122794
122794
|
})
|
|
122795
122795
|
], ut.prototype, "forceSelectingTemplate", 2);
|
|
122796
|
-
|
|
122796
|
+
Eo([
|
|
122797
122797
|
K({
|
|
122798
122798
|
attribute: "limited-blocks",
|
|
122799
122799
|
converter: {
|
|
@@ -122804,26 +122804,26 @@ Oo([
|
|
|
122804
122804
|
type: String
|
|
122805
122805
|
})
|
|
122806
122806
|
], ut.prototype, "limitedBlocks", 2);
|
|
122807
|
-
|
|
122807
|
+
Eo([
|
|
122808
122808
|
K({ attribute: "add-index", reflect: !0, type: Number })
|
|
122809
122809
|
], ut.prototype, "addIndex", 2);
|
|
122810
|
-
|
|
122810
|
+
Eo([
|
|
122811
122811
|
K({
|
|
122812
122812
|
attribute: "enable-asset-format-controls",
|
|
122813
122813
|
reflect: !0,
|
|
122814
122814
|
type: Boolean
|
|
122815
122815
|
})
|
|
122816
122816
|
], ut.prototype, "enableAssetFormatControls", 2);
|
|
122817
|
-
|
|
122817
|
+
Eo([
|
|
122818
122818
|
K({ attribute: "selected-component", type: Object })
|
|
122819
122819
|
], ut.prototype, "selectedComponent", 2);
|
|
122820
|
-
|
|
122820
|
+
Eo([
|
|
122821
122821
|
K({ type: Object })
|
|
122822
122822
|
], ut.prototype, "boundary", 2);
|
|
122823
|
-
|
|
122823
|
+
Eo([
|
|
122824
122824
|
dI()
|
|
122825
122825
|
], ut.prototype, "maxColumns", 2);
|
|
122826
|
-
ut =
|
|
122826
|
+
ut = Eo([
|
|
122827
122827
|
eC("cx-block-picker")
|
|
122828
122828
|
], ut);
|
|
122829
122829
|
const Ej = "https://design-system.orangelogic.com/assets/content-builder.css", uxI = /* @__PURE__ */ new Set([
|
|
@@ -137696,7 +137696,7 @@ function lHI(C, I) {
|
|
|
137696
137696
|
return;
|
|
137697
137697
|
function A(o, n) {
|
|
137698
137698
|
let s = sX(C, n);
|
|
137699
|
-
const a =
|
|
137699
|
+
const a = tn.getState(C.state) == null;
|
|
137700
137700
|
if (!s || !qv(o, s))
|
|
137701
137701
|
if (a)
|
|
137702
137702
|
s = o;
|
|
@@ -137705,14 +137705,14 @@ function lHI(C, I) {
|
|
|
137705
137705
|
const l = new lg(o, s);
|
|
137706
137706
|
if (a || !C.state.selection.eq(l)) {
|
|
137707
137707
|
const c = C.state.tr.setSelection(l);
|
|
137708
|
-
a && c.setMeta(
|
|
137708
|
+
a && c.setMeta(tn, o.pos), C.dispatch(c);
|
|
137709
137709
|
}
|
|
137710
137710
|
}
|
|
137711
137711
|
function e() {
|
|
137712
|
-
C.root.removeEventListener("mouseup", e), C.root.removeEventListener("dragstart", e), C.root.removeEventListener("mousemove", t),
|
|
137712
|
+
C.root.removeEventListener("mouseup", e), C.root.removeEventListener("dragstart", e), C.root.removeEventListener("mousemove", t), tn.getState(C.state) != null && C.dispatch(C.state.tr.setMeta(tn, -1));
|
|
137713
137713
|
}
|
|
137714
137714
|
function t(o) {
|
|
137715
|
-
const n = o, s =
|
|
137715
|
+
const n = o, s = tn.getState(C.state);
|
|
137716
137716
|
let a;
|
|
137717
137717
|
if (s != null)
|
|
137718
137718
|
a = C.state.doc.resolve(s);
|
|
@@ -137761,10 +137761,10 @@ function rHI({
|
|
|
137761
137761
|
C
|
|
137762
137762
|
);
|
|
137763
137763
|
},
|
|
137764
|
-
key:
|
|
137764
|
+
key: tn,
|
|
137765
137765
|
props: {
|
|
137766
137766
|
createSelectionBetween(I) {
|
|
137767
|
-
return
|
|
137767
|
+
return tn.getState(I.state) != null ? I.state.selection : null;
|
|
137768
137768
|
},
|
|
137769
137769
|
decorations: gHI,
|
|
137770
137770
|
handleDOMEvents: {
|
|
@@ -137779,7 +137779,7 @@ function rHI({
|
|
|
137779
137779
|
// transactions (which might move its anchor cell) come in.
|
|
137780
137780
|
state: {
|
|
137781
137781
|
apply(I, i) {
|
|
137782
|
-
const g = I.getMeta(
|
|
137782
|
+
const g = I.getMeta(tn);
|
|
137783
137783
|
if (g != null)
|
|
137784
137784
|
return g == -1 ? null : g;
|
|
137785
137785
|
if (i == null || !I.docChanged)
|
|
@@ -140188,7 +140188,7 @@ const nM = {
|
|
|
140188
140188
|
type: kn.Image,
|
|
140189
140189
|
width: ""
|
|
140190
140190
|
};
|
|
140191
|
-
let
|
|
140191
|
+
let Ho = class extends cC {
|
|
140192
140192
|
constructor() {
|
|
140193
140193
|
super(...arguments), this.localize = new VC(this), this.open = !1, this.src = "", this.data = {
|
|
140194
140194
|
...nM
|
|
@@ -140382,8 +140382,8 @@ let jo = class extends cC {
|
|
|
140382
140382
|
</cx-typography></cx-space></cx-space><cx-space slot="footer" direction="horizontal" align-items="center" justify-content="end"><cx-button @click=${this.handleDialogCancel}>${this.localize.term("cancel")}</cx-button><cx-button @click=${this.handleDialogConfirm} variant="primary" ?disabled=${this.isValidSrc === !1 || !this.data.src}>${this.localize.term("confirm")}</cx-button></cx-space></cx-dialog>`;
|
|
140383
140383
|
}
|
|
140384
140384
|
};
|
|
140385
|
-
|
|
140386
|
-
|
|
140385
|
+
Ho.styles = [hC, eMI];
|
|
140386
|
+
Ho.dependencies = {
|
|
140387
140387
|
"cx-border-input-group": z4,
|
|
140388
140388
|
"cx-card": am,
|
|
140389
140389
|
"cx-checkbox": Fr,
|
|
@@ -140401,43 +140401,43 @@ jo.dependencies = {
|
|
|
140401
140401
|
};
|
|
140402
140402
|
ya([
|
|
140403
140403
|
Ki(".image-dialog")
|
|
140404
|
-
],
|
|
140404
|
+
], Ho.prototype, "dialog", 2);
|
|
140405
140405
|
ya([
|
|
140406
140406
|
K({ reflect: !0, type: Boolean })
|
|
140407
|
-
],
|
|
140407
|
+
], Ho.prototype, "open", 2);
|
|
140408
140408
|
ya([
|
|
140409
140409
|
K({ attribute: "tiptap-editor", type: Object })
|
|
140410
|
-
],
|
|
140410
|
+
], Ho.prototype, "tiptapEditor", 2);
|
|
140411
140411
|
ya([
|
|
140412
140412
|
K({ reflect: !0, type: String })
|
|
140413
|
-
],
|
|
140413
|
+
], Ho.prototype, "src", 2);
|
|
140414
140414
|
ya([
|
|
140415
140415
|
K({ type: Object })
|
|
140416
|
-
],
|
|
140416
|
+
], Ho.prototype, "data", 2);
|
|
140417
140417
|
ya([
|
|
140418
140418
|
K({ attribute: "title", reflect: !0, type: String })
|
|
140419
|
-
],
|
|
140419
|
+
], Ho.prototype, "dialogTitle", 2);
|
|
140420
140420
|
ya([
|
|
140421
140421
|
K({ attribute: "handle-dialog-cancel", type: Function })
|
|
140422
|
-
],
|
|
140422
|
+
], Ho.prototype, "handleDialogCancel", 2);
|
|
140423
140423
|
ya([
|
|
140424
140424
|
K({ attribute: "handle-dialog-confirm", type: Function })
|
|
140425
|
-
],
|
|
140425
|
+
], Ho.prototype, "handleDialogConfirm", 2);
|
|
140426
140426
|
ya([
|
|
140427
140427
|
K({ type: Object })
|
|
140428
|
-
],
|
|
140428
|
+
], Ho.prototype, "boundary", 2);
|
|
140429
140429
|
ya([
|
|
140430
140430
|
K({ attribute: "on-request-asset", type: Function })
|
|
140431
|
-
],
|
|
140431
|
+
], Ho.prototype, "onRequestAsset", 2);
|
|
140432
140432
|
ya([
|
|
140433
140433
|
dI()
|
|
140434
|
-
],
|
|
140434
|
+
], Ho.prototype, "isValidSrc", 2);
|
|
140435
140435
|
ya([
|
|
140436
140436
|
dI()
|
|
140437
|
-
],
|
|
140438
|
-
|
|
140437
|
+
], Ho.prototype, "originalSize", 2);
|
|
140438
|
+
Ho = ya([
|
|
140439
140439
|
eC("cx-image-dialog")
|
|
140440
|
-
],
|
|
140440
|
+
], Ho);
|
|
140441
140441
|
const nMI = aC`.w-full{width:100%}.no-margin{margin:0!important}.no-wrap{white-space:nowrap}cx-tooltip[slot=trigger]{display:inline-block}.container{background-color:var(--cx-panel-background-color);border-radius:var(--cx-border-radius-large);border:var(--cx-panel-border-width) solid var(--cx-panel-border-color);padding:var(--cx-spacing-2x-small);box-shadow:var(--cx-shadow-large)}.rte-table-bubble-row{align-items:center;gap:var(--cx-spacing-3x-small,1px);flex-wrap:wrap;display:flex}.rte-bubble-separator{box-sizing:border-box;border-left:1px solid var(--cx-color-neutral-200);flex:none;align-self:stretch;width:0}.action-group{--spacing-container-gap:0;border-radius:var(--cx-border-radius-medium)}.action-group cx-icon-button::part(base){border-radius:var(--cx-border-radius-medium)}.action-group:not(.action-group--button) cx-icon-button::part(base):hover{background-color:var(--cx-color-neutral-100)}.action-group cx-icon-button.active::part(base){color:var(--cx-color-primary)}.action-group--button:hover>cx-tooltip>cx-icon-button::part(base),.action-group--button:hover div[slot=trigger] cx-icon-button::part(base){transition:var(--cx-transition-medium);color:var(--cx-color-primary);background-color:var(--cx-color-neutral-200)}cx-space.no-spacing{--spacing-container-gap:0}.action-group--button div[slot=trigger] cx-icon-button::part(base){border-top-right-radius:var(--cx-border-radius-medium);border-bottom-right-radius:var(--cx-border-radius-medium);border-top-left-radius:0;border-bottom-left-radius:0;min-width:0;padding-left:0;padding-right:0}.font-size-select{width:64px}.metafield-select{--option-color:var(--cx-color-neutral-900);--option-font-weight:var(--cx-font-weight-medium);--option-selected-font-weight:var(--cx-font-weight-medium);--option-help-text-color:var(--cx-color-neutral-600);--option-selected-help-text-color:var(--cx-color-neutral-600);width:116px}.line-height-select{width:68px}.block-format-select{width:120px}.link-preview{--color:var(--cx-color-primary-500);cursor:pointer;min-width:0;font-size:var(--cx-font-size-small);flex:1;text-decoration:underline}.advance-link-container{justify-self:flex-start;max-width:600px}cx-select[size=small]::part(combobox),cx-select-with-tooltip[size=small]::part(combobox){padding-inline:var(--cx-spacing-2x-small)}cx-select[size=small]::part(expand-icon),cx-select-with-tooltip[size=small]::part(expand-icon){margin-inline-start:var(--cx-spacing-2x-small)}cx-icon-button::part(icon){--font-size:var(--cx-font-size-medium)}cx-icon-button.rotate-90::part(icon){transform:rotate(90deg)}`;
|
|
140442
140442
|
var sMI = Object.defineProperty, aMI = Object.getOwnPropertyDescriptor, E7 = (C, I, i, g) => {
|
|
140443
140443
|
for (var A = g > 1 ? void 0 : g ? aMI(I, i) : I, e = C.length - 1, t; e >= 0; e--)
|
|
@@ -141269,11 +141269,11 @@ _g.dependencies = {
|
|
|
141269
141269
|
"cx-dropdown": no,
|
|
141270
141270
|
"cx-icon": vA,
|
|
141271
141271
|
"cx-icon-button": wA,
|
|
141272
|
-
"cx-image-dialog":
|
|
141272
|
+
"cx-image-dialog": Ho,
|
|
141273
141273
|
"cx-input": ie,
|
|
141274
141274
|
"cx-line-clamp": Ec,
|
|
141275
|
-
"cx-menu":
|
|
141276
|
-
"cx-menu-item":
|
|
141275
|
+
"cx-menu": Uo,
|
|
141276
|
+
"cx-menu-item": _o,
|
|
141277
141277
|
"cx-option": Ft,
|
|
141278
141278
|
"cx-popup": Il,
|
|
141279
141279
|
"cx-select": so,
|
|
@@ -141832,11 +141832,11 @@ Ti.prototype.luminance = function(C, I = "rgb") {
|
|
|
141832
141832
|
}
|
|
141833
141833
|
return GMI(...this._rgb.slice(0, 3));
|
|
141834
141834
|
};
|
|
141835
|
-
const GMI = (C, I, i) => (C = cX(C), I = cX(I), i = cX(i), 0.2126 * C + 0.7152 * I + 0.0722 * i), cX = (C) => (C /= 255, C <= 0.03928 ? C / 12.92 : WMI((C + 0.055) / 1.055, 2.4)),
|
|
141835
|
+
const GMI = (C, I, i) => (C = cX(C), I = cX(I), i = cX(i), 0.2126 * C + 0.7152 * I + 0.0722 * i), cX = (C) => (C /= 255, C <= 0.03928 ? C / 12.92 : WMI((C + 0.055) / 1.055, 2.4)), nn = {}, hp = (C, I, i = 0.5, ...g) => {
|
|
141836
141836
|
let A = g[0] || "lrgb";
|
|
141837
|
-
if (!
|
|
141837
|
+
if (!nn[A] && !g.length && (A = Object.keys(nn)[0]), !nn[A])
|
|
141838
141838
|
throw new Error(`interpolation mode ${A} is not defined`);
|
|
141839
|
-
return Ug(C) !== "object" && (C = new Ti(C)), Ug(I) !== "object" && (I = new Ti(I)),
|
|
141839
|
+
return Ug(C) !== "object" && (C = new Ti(C)), Ug(I) !== "object" && (I = new Ti(I)), nn[A](C, I, i).alpha(
|
|
141840
141840
|
C.alpha() + i * (I.alpha() - C.alpha())
|
|
141841
141841
|
);
|
|
141842
141842
|
};
|
|
@@ -141939,7 +141939,7 @@ const xMI = (C, I, i) => {
|
|
|
141939
141939
|
"rgb"
|
|
141940
141940
|
);
|
|
141941
141941
|
};
|
|
141942
|
-
|
|
141942
|
+
nn.rgb = xMI;
|
|
141943
141943
|
const { sqrt: dX, pow: Hb } = Math, SMI = (C, I, i) => {
|
|
141944
141944
|
const [g, A, e] = C._rgb, [t, o, n] = I._rgb;
|
|
141945
141945
|
return new Ti(
|
|
@@ -141949,7 +141949,7 @@ const { sqrt: dX, pow: Hb } = Math, SMI = (C, I, i) => {
|
|
|
141949
141949
|
"rgb"
|
|
141950
141950
|
);
|
|
141951
141951
|
};
|
|
141952
|
-
|
|
141952
|
+
nn.lrgb = SMI;
|
|
141953
141953
|
const kMI = (C, I, i) => {
|
|
141954
141954
|
const g = C.lab(), A = I.lab();
|
|
141955
141955
|
return new Ti(
|
|
@@ -141959,7 +141959,7 @@ const kMI = (C, I, i) => {
|
|
|
141959
141959
|
"lab"
|
|
141960
141960
|
);
|
|
141961
141961
|
};
|
|
141962
|
-
|
|
141962
|
+
nn.lab = kMI;
|
|
141963
141963
|
const kp = (C, I, i, g) => {
|
|
141964
141964
|
let A, e;
|
|
141965
141965
|
g === "hsl" ? (A = C.hsl(), e = I.hsl()) : g === "hsv" ? (A = C.hsv(), e = I.hsv()) : g === "hcg" ? (A = C.hcg(), e = I.hcg()) : g === "hsi" ? (A = C.hsi(), e = I.hsi()) : g === "lch" || g === "hcl" ? (g = "hcl", A = C.hcl(), e = I.hcl()) : g === "oklch" && (A = C.oklch().reverse(), e = I.oklch().reverse());
|
|
@@ -141968,8 +141968,8 @@ const kp = (C, I, i, g) => {
|
|
|
141968
141968
|
let c, d, u, p;
|
|
141969
141969
|
return !isNaN(t) && !isNaN(o) ? (o > t && o - t > 180 ? p = o - (t + 360) : o < t && t - o > 180 ? p = o + 360 - t : p = o - t, d = t + i * p) : isNaN(t) ? isNaN(o) ? d = Number.NaN : (d = o, (a == 1 || a == 0) && g != "hsv" && (c = s)) : (d = t, (l == 1 || l == 0) && g != "hsv" && (c = n)), c === void 0 && (c = n + i * (s - n)), u = a + i * (l - a), g === "oklch" ? new Ti([u, c, d], g) : new Ti([d, c, u], g);
|
|
141970
141970
|
}, AP = (C, I, i) => kp(C, I, i, "lch");
|
|
141971
|
-
|
|
141972
|
-
|
|
141971
|
+
nn.lch = AP;
|
|
141972
|
+
nn.hcl = AP;
|
|
141973
141973
|
const BMI = (C) => {
|
|
141974
141974
|
if (Ug(C) == "number" && C >= 0 && C <= 16777215) {
|
|
141975
141975
|
const I = C >> 16, i = C >> 8 & 255, g = C & 255;
|
|
@@ -141997,7 +141997,7 @@ const HMI = (C, I, i) => {
|
|
|
141997
141997
|
const g = C.num(), A = I.num();
|
|
141998
141998
|
return new Ti(g + i * (A - g), "num");
|
|
141999
141999
|
};
|
|
142000
|
-
|
|
142000
|
+
nn.num = HMI;
|
|
142001
142001
|
const { floor: MMI } = Math, UMI = (...C) => {
|
|
142002
142002
|
C = Lg(C, "hcg");
|
|
142003
142003
|
let [I, i, g] = C, A, e, t;
|
|
@@ -142049,7 +142049,7 @@ vg.autodetect.push({
|
|
|
142049
142049
|
}
|
|
142050
142050
|
});
|
|
142051
142051
|
const EMI = (C, I, i) => kp(C, I, i, "hcg");
|
|
142052
|
-
|
|
142052
|
+
nn.hcg = EMI;
|
|
142053
142053
|
const { cos: Mb } = Math, TMI = (...C) => {
|
|
142054
142054
|
C = Lg(C, "hsi");
|
|
142055
142055
|
let [I, i, g] = C, A, e, t;
|
|
@@ -142075,7 +142075,7 @@ vg.autodetect.push({
|
|
|
142075
142075
|
}
|
|
142076
142076
|
});
|
|
142077
142077
|
const I4I = (C, I, i) => kp(C, I, i, "hsi");
|
|
142078
|
-
|
|
142078
|
+
nn.hsi = I4I;
|
|
142079
142079
|
const a3 = (...C) => {
|
|
142080
142080
|
C = Lg(C, "hsl");
|
|
142081
142081
|
const [I, i, g] = C;
|
|
@@ -142112,7 +142112,7 @@ vg.autodetect.push({
|
|
|
142112
142112
|
}
|
|
142113
142113
|
});
|
|
142114
142114
|
const C4I = (C, I, i) => kp(C, I, i, "hsl");
|
|
142115
|
-
|
|
142115
|
+
nn.hsl = C4I;
|
|
142116
142116
|
const { floor: g4I } = Math, A4I = (...C) => {
|
|
142117
142117
|
C = Lg(C, "hsv");
|
|
142118
142118
|
let [I, i, g] = C, A, e, t;
|
|
@@ -142164,7 +142164,7 @@ vg.autodetect.push({
|
|
|
142164
142164
|
}
|
|
142165
142165
|
});
|
|
142166
142166
|
const s4I = (C, I, i) => kp(C, I, i, "hsv");
|
|
142167
|
-
|
|
142167
|
+
nn.hsv = s4I;
|
|
142168
142168
|
function ev(C, I) {
|
|
142169
142169
|
let i = C.length;
|
|
142170
142170
|
Array.isArray(C[0]) || (C = [C]), Array.isArray(I[0]) || (I = I.map((t) => [t]));
|
|
@@ -142234,9 +142234,9 @@ const c4I = (C, I, i) => {
|
|
|
142234
142234
|
"oklab"
|
|
142235
142235
|
);
|
|
142236
142236
|
};
|
|
142237
|
-
|
|
142237
|
+
nn.oklab = c4I;
|
|
142238
142238
|
const d4I = (C, I, i) => kp(C, I, i, "oklch");
|
|
142239
|
-
|
|
142239
|
+
nn.oklch = d4I;
|
|
142240
142240
|
const { pow: mX, sqrt: uX, PI: bX, cos: sM, sin: aM, atan2: m4I } = Math, u4I = (C, I = "lrgb", i = null) => {
|
|
142241
142241
|
const g = C.length;
|
|
142242
142242
|
i || (i = Array.from(new Array(g)).map(() => 1));
|
|
@@ -143993,7 +143993,7 @@ let qC = class extends cC {
|
|
|
143993
143993
|
*/
|
|
143994
143994
|
ensureConfigUi() {
|
|
143995
143995
|
return this.configUiPromise ??= Promise.all([
|
|
143996
|
-
import("./index.
|
|
143996
|
+
import("./index.T_4MGRBK.js"),
|
|
143997
143997
|
Promise.resolve().then(() => axI)
|
|
143998
143998
|
]).then(async ([, C]) => {
|
|
143999
143999
|
this.configsController ??= new C.default(
|
|
@@ -148092,7 +148092,7 @@ function X6I() {
|
|
|
148092
148092
|
var U = lo(y, Y.schema);
|
|
148093
148093
|
return Y.openCursor({ trans: k, values: !y.keysOnly, reverse: y.dir === "prev", unique: !!y.unique, query: { index: U, range: y.range } });
|
|
148094
148094
|
}
|
|
148095
|
-
function
|
|
148095
|
+
function Qo(y, Y, k, U) {
|
|
148096
148096
|
var $ = y.replayFilter ? Gi(y.filter, y.replayFilter()) : y.filter;
|
|
148097
148097
|
if (y.or) {
|
|
148098
148098
|
var eI = {}, bI = function(fI, xI, HI) {
|
|
@@ -148169,7 +148169,7 @@ function X6I() {
|
|
|
148169
148169
|
var Y = this._ctx;
|
|
148170
148170
|
Y.algorithm = Gi(Y.algorithm, y);
|
|
148171
148171
|
}, fg.prototype._iterate = function(y, Y) {
|
|
148172
|
-
return
|
|
148172
|
+
return Qo(this._ctx, y, Y, this._ctx.table.core);
|
|
148173
148173
|
}, fg.prototype.clone = function(y) {
|
|
148174
148174
|
var Y = Object.create(this.constructor.prototype), k = Object.create(this._ctx);
|
|
148175
148175
|
return y && n(k, y), Y._ctx = k, Y;
|
|
@@ -148178,7 +148178,7 @@ function X6I() {
|
|
|
148178
148178
|
}, fg.prototype.each = function(y) {
|
|
148179
148179
|
var Y = this._ctx;
|
|
148180
148180
|
return this._read(function(k) {
|
|
148181
|
-
return
|
|
148181
|
+
return Qo(Y, y, k, Y.table.core);
|
|
148182
148182
|
});
|
|
148183
148183
|
}, fg.prototype.count = function(y) {
|
|
148184
148184
|
var Y = this;
|
|
@@ -148188,7 +148188,7 @@ function X6I() {
|
|
|
148188
148188
|
return Math.min(bI, U.limit);
|
|
148189
148189
|
});
|
|
148190
148190
|
var eI = 0;
|
|
148191
|
-
return
|
|
148191
|
+
return Qo(U, function() {
|
|
148192
148192
|
return ++eI, !1;
|
|
148193
148193
|
}, k, $).then(function() {
|
|
148194
148194
|
return eI;
|
|
@@ -148217,7 +148217,7 @@ function X6I() {
|
|
|
148217
148217
|
});
|
|
148218
148218
|
}
|
|
148219
148219
|
var bI = [];
|
|
148220
|
-
return
|
|
148220
|
+
return Qo(U, function(fI) {
|
|
148221
148221
|
return bI.push(fI);
|
|
148222
148222
|
}, k, U.table.core).then(function() {
|
|
148223
148223
|
return bI;
|
|
@@ -148447,9 +148447,9 @@ function X6I() {
|
|
|
148447
148447
|
for (var ci = null, Wi = zI; Wi < VI; ++Wi) {
|
|
148448
148448
|
var _i = function(CC, Bi, Ni, tC, $i, yC) {
|
|
148449
148449
|
for (var Jg = Math.min(CC.length, tC.length), Vg = -1, yg = 0; yg < Jg; ++yg) {
|
|
148450
|
-
var
|
|
148451
|
-
if (
|
|
148452
|
-
$i(CC[yg],
|
|
148450
|
+
var Po = Bi[yg];
|
|
148451
|
+
if (Po !== tC[yg]) return $i(CC[yg], Ni[yg]) < 0 ? CC.substr(0, yg) + Ni[yg] + Ni.substr(yg + 1) : $i(CC[yg], tC[yg]) < 0 ? CC.substr(0, yg) + tC[yg] + Ni.substr(yg + 1) : 0 <= Vg ? CC.substr(0, Vg) + Bi[Vg] + Ni.substr(Vg + 1) : null;
|
|
148452
|
+
$i(CC[yg], Po) < 0 && (Vg = yg);
|
|
148453
148453
|
}
|
|
148454
148454
|
return Jg < tC.length && yC === "next" ? CC + Ni.substr(CC.length) : Jg < CC.length && yC === "prev" ? CC.substr(0, Ni.length) : Vg < 0 ? null : CC.substr(0, Vg) + tC[Vg] + Ni.substr(Vg + 1);
|
|
148455
148455
|
}(oi, ai, fI[Wi], xI[Wi], bI, HI);
|
|
@@ -148765,11 +148765,11 @@ function X6I() {
|
|
|
148765
148765
|
if (ai && ci && ai.length !== ci.length) throw new Error("Given keys array must have same length as given values array.");
|
|
148766
148766
|
if (yC === 0) return _i({ numFailures: 0, failures: {}, results: [], lastResult: void 0 });
|
|
148767
148767
|
function Jg(uo) {
|
|
148768
|
-
++
|
|
148768
|
+
++Po, Ut(uo);
|
|
148769
148769
|
}
|
|
148770
|
-
var Vg = [], yg = [],
|
|
148770
|
+
var Vg = [], yg = [], Po = 0;
|
|
148771
148771
|
if (oi === "deleteRange") {
|
|
148772
|
-
if (Wi.type === 4) return _i({ numFailures:
|
|
148772
|
+
if (Wi.type === 4) return _i({ numFailures: Po, failures: yg, results: [], lastResult: void 0 });
|
|
148773
148773
|
Wi.type === 3 ? Vg.push($i = Bi.clear()) : Vg.push($i = Bi.delete(U(Wi)));
|
|
148774
148774
|
} else {
|
|
148775
148775
|
var Ni = tC ? Ni ? [ci, ai] : [ci, null] : [ai, null], mg = Ni[0], st = Ni[1];
|
|
@@ -148779,7 +148779,7 @@ function X6I() {
|
|
|
148779
148779
|
function od(uo) {
|
|
148780
148780
|
uo = uo.target.result, Vg.forEach(function(bl, vm) {
|
|
148781
148781
|
return bl.error != null && (yg[vm] = bl.error);
|
|
148782
|
-
}), _i({ numFailures:
|
|
148782
|
+
}), _i({ numFailures: Po, failures: yg, results: oi === "delete" ? ai : Vg.map(function(bl) {
|
|
148783
148783
|
return bl.result;
|
|
148784
148784
|
}), lastResult: uo });
|
|
148785
148785
|
}
|
|
@@ -148823,8 +148823,8 @@ function X6I() {
|
|
|
148823
148823
|
_i = eg(_i);
|
|
148824
148824
|
var tC = ai.index, Bi = ai.range, Ni = MI.objectStore(QI), Ni = tC.isPrimaryKey ? Ni : Ni.index(tC.name), tC = ci ? Wi ? "prevunique" : "prev" : Wi ? "nextunique" : "next", $i = !oi && "openKeyCursor" in Ni ? Ni.openKeyCursor(U(Bi), tC) : Ni.openCursor(U(Bi), tC);
|
|
148825
148825
|
$i.onerror = Ue(CC), $i.onsuccess = eg(function(yC) {
|
|
148826
|
-
var Jg, Vg, yg,
|
|
148827
|
-
mg ? (mg.___id = ++zg, mg.done = !1, Jg = mg.continue.bind(mg), Vg = (Vg = mg.continuePrimaryKey) && Vg.bind(mg), yg = mg.advance.bind(mg),
|
|
148826
|
+
var Jg, Vg, yg, Po, mg = $i.result;
|
|
148827
|
+
mg ? (mg.___id = ++zg, mg.done = !1, Jg = mg.continue.bind(mg), Vg = (Vg = mg.continuePrimaryKey) && Vg.bind(mg), yg = mg.advance.bind(mg), Po = function() {
|
|
148828
148828
|
throw new Error("Cursor not stopped");
|
|
148829
148829
|
}, mg.trans = MI, mg.stop = mg.continue = mg.continuePrimaryKey = mg.advance = function() {
|
|
148830
148830
|
throw new Error("Cursor not started");
|
|
@@ -148848,7 +148848,7 @@ function X6I() {
|
|
|
148848
148848
|
}
|
|
148849
148849
|
var od = new Promise(function(uo, bl) {
|
|
148850
148850
|
uo = eg(uo), $i.onerror = Ue(bl), mg.fail = bl, mg.stop = function(vm) {
|
|
148851
|
-
mg.stop = mg.continue = mg.continuePrimaryKey = mg.advance =
|
|
148851
|
+
mg.stop = mg.continue = mg.continuePrimaryKey = mg.advance = Po, uo(vm);
|
|
148852
148852
|
};
|
|
148853
148853
|
});
|
|
148854
148854
|
return $i.onsuccess = eg(function(uo) {
|
|
@@ -148925,7 +148925,7 @@ function X6I() {
|
|
|
148925
148925
|
function Vo(y, Y) {
|
|
148926
148926
|
return y._cfg.version - Y._cfg.version;
|
|
148927
148927
|
}
|
|
148928
|
-
function
|
|
148928
|
+
function Do(y, Y, k, U) {
|
|
148929
148929
|
var $ = y._dbSchema;
|
|
148930
148930
|
k.objectStoreNames.contains("$meta") && !$.$meta && ($.$meta = Ts("$meta", Id("")[0], []), y._storeNames.push("$meta"));
|
|
148931
148931
|
var eI = y._createTransaction("readwrite", y._storeNames, $);
|
|
@@ -149251,7 +149251,7 @@ function X6I() {
|
|
|
149251
149251
|
var oi;
|
|
149252
149252
|
DI = $I.transaction, Y.autoSchema && !y._options.allowEmptyDB ? ($I.onerror = Ut, DI.abort(), $I.result.close(), (oi = k.deleteDatabase(QI)).onsuccess = oi.onerror = eg(function() {
|
|
149253
149253
|
zI(new TI.NoSuchDatabase("Database ".concat(QI, " doesnt exist")));
|
|
149254
|
-
})) : (DI.onerror = Ue(zI), MI = MI.oldVersion > Math.pow(2, 62) ? 0 : MI.oldVersion, VI = MI < 1, y.idbdb = $I.result, eI && ls(y, DI),
|
|
149254
|
+
})) : (DI.onerror = Ue(zI), MI = MI.oldVersion > Math.pow(2, 62) ? 0 : MI.oldVersion, VI = MI < 1, y.idbdb = $I.result, eI && ls(y, DI), Do(y, MI / 10, DI, zI));
|
|
149255
149255
|
}, zI), $I.onsuccess = eg(function() {
|
|
149256
149256
|
DI = null;
|
|
149257
149257
|
var MI, oi, ai, ci, Wi, _i = y.idbdb = $I.result, CC = G(_i.objectStoreNames);
|
|
@@ -149515,8 +149515,8 @@ function X6I() {
|
|
|
149515
149515
|
return yg != null ? $i.extractKey(yg) : null;
|
|
149516
149516
|
}
|
|
149517
149517
|
function Vg(yg) {
|
|
149518
|
-
return $i.multiEntry && o(yg) ? yg.forEach(function(
|
|
149519
|
-
return yC.addKey(
|
|
149518
|
+
return $i.multiEntry && o(yg) ? yg.forEach(function(Po) {
|
|
149519
|
+
return yC.addKey(Po);
|
|
149520
149520
|
}) : yC.addKey(yg);
|
|
149521
149521
|
}
|
|
149522
149522
|
(MI || oi).forEach(function(yg, st) {
|
|
@@ -149531,7 +149531,7 @@ function X6I() {
|
|
|
149531
149531
|
return yC.extractKey(mg);
|
|
149532
149532
|
}), Vg = yC.keyPath.findIndex(function(mg) {
|
|
149533
149533
|
return mg === bI.keyPath;
|
|
149534
|
-
}), yg = 0,
|
|
149534
|
+
}), yg = 0, Po = $i.results.length; yg < Po; ++yg) Jg[yg][Vg] = $i.results[yg];
|
|
149535
149535
|
QI(yC.name).addKeys(Jg);
|
|
149536
149536
|
})), ai.mutatedParts = $l(ai.mutatedParts || {}, ci), $i;
|
|
149537
149537
|
});
|
|
@@ -152351,8 +152351,8 @@ Gg.dependencies = {
|
|
|
152351
152351
|
"cx-icon-button": wA,
|
|
152352
152352
|
"cx-input": ie,
|
|
152353
152353
|
"cx-line-clamp": Ec,
|
|
152354
|
-
"cx-menu":
|
|
152355
|
-
"cx-menu-item":
|
|
152354
|
+
"cx-menu": Uo,
|
|
152355
|
+
"cx-menu-item": _o,
|
|
152356
152356
|
"cx-pagination": $II,
|
|
152357
152357
|
"cx-progress-bar": qII,
|
|
152358
152358
|
"cx-range": L3,
|
|
@@ -152603,8 +152603,8 @@ dn.dependencies = {
|
|
|
152603
152603
|
"cx-dropdown": no,
|
|
152604
152604
|
"cx-icon-button": wA,
|
|
152605
152605
|
"cx-input": ie,
|
|
152606
|
-
"cx-menu":
|
|
152607
|
-
"cx-menu-item":
|
|
152606
|
+
"cx-menu": Uo,
|
|
152607
|
+
"cx-menu-item": _o,
|
|
152608
152608
|
"cx-popup": Il,
|
|
152609
152609
|
"cx-space": $g,
|
|
152610
152610
|
"cx-tooltip": Ke,
|
|
@@ -152663,7 +152663,11 @@ let mn = class extends cC {
|
|
|
152663
152663
|
this.open && (await this.updateComplete, this.activeIndex = this.startIndex, this.carouselEl?.goToSlide(this.startIndex, "instant"));
|
|
152664
152664
|
}
|
|
152665
152665
|
handleDataChange() {
|
|
152666
|
-
this.mappedData = this.data.map((C) => ({
|
|
152666
|
+
this.mappedData = this.data.map((C) => ({
|
|
152667
|
+
...C,
|
|
152668
|
+
cropFocus: ko.CenterCenter,
|
|
152669
|
+
objectFit: Ig.Contain
|
|
152670
|
+
}));
|
|
152667
152671
|
}
|
|
152668
152672
|
handleRequestClose() {
|
|
152669
152673
|
this.open = !1, this.emit("cx-lightbox-close", { detail: { index: this.activeIndex } });
|
|
@@ -152740,10 +152744,10 @@ var Q_I = Object.defineProperty, D_I = Object.getOwnPropertyDescriptor, PP = (C)
|
|
|
152740
152744
|
for (var A = g > 1 ? void 0 : g ? D_I(I, i) : I, e = C.length - 1, t; e >= 0; e--)
|
|
152741
152745
|
(t = C[e]) && (A = (g ? t(I, i, A) : t(A)) || A);
|
|
152742
152746
|
return g && A && Q_I(I, i, A), A;
|
|
152743
|
-
}, jR = (C, I, i) => I.has(C) || PP("Cannot " + i), bu = (C, I, i) => (jR(C, I, "read from private field"), i ? i.call(C) : I.get(C)), fX = (C, I, i) => I.has(C) ? PP("Cannot add the same private member more than once") : I instanceof WeakSet ? I.add(C) : I.set(C, i), uv = (C, I, i, g) => (jR(C, I, "write to private field"), I.set(C, i), i), Ls = (C, I, i) => (jR(C, I, "access private method"), i), Zp, Wc,
|
|
152747
|
+
}, jR = (C, I, i) => I.has(C) || PP("Cannot " + i), bu = (C, I, i) => (jR(C, I, "read from private field"), i ? i.call(C) : I.get(C)), fX = (C, I, i) => I.has(C) ? PP("Cannot add the same private member more than once") : I instanceof WeakSet ? I.add(C) : I.set(C, i), uv = (C, I, i, g) => (jR(C, I, "write to private field"), I.set(C, i), i), Ls = (C, I, i) => (jR(C, I, "access private method"), i), Zp, Wc, en, $P, HR, qP, I$, i$, C$, g$, Z3, A$, w3, e$;
|
|
152744
152748
|
let bt = class extends cC {
|
|
152745
152749
|
constructor() {
|
|
152746
|
-
super(...arguments), fX(this,
|
|
152750
|
+
super(...arguments), fX(this, en), fX(this, Zp, !1), fX(this, Wc), this.canCreate = !1, this.canDelete = !1, this.canEdit = !1, this.createLabel = "New space", this.currentSpaceId = "", this.currentSpaceName = "", this.deleteLabel = "Delete space", this.excludedSpaceId = "", this.emptyLabel = "No other space available", this.mode = "dropdown", this.panelVisibility = "always", this.settingsLabel = "Space settings", this.triggerIcon = "grid_view", this.triggerLabel = "List of spaces", this.triggerVariant = "button", this.loading = !1, this.spaces = [];
|
|
152747
152751
|
}
|
|
152748
152752
|
connectedCallback() {
|
|
152749
152753
|
super.connectedCallback();
|
|
@@ -152752,21 +152756,21 @@ let bt = class extends cC {
|
|
|
152752
152756
|
super.disconnectedCallback(), bu(this, Wc)?.disconnect(), uv(this, Wc, void 0);
|
|
152753
152757
|
}
|
|
152754
152758
|
updated(C) {
|
|
152755
|
-
super.updated(C), Ls(this,
|
|
152759
|
+
super.updated(C), Ls(this, en, $P).call(this);
|
|
152756
152760
|
}
|
|
152757
152761
|
render() {
|
|
152758
|
-
return this.mode === "inline" ? Ls(this,
|
|
152762
|
+
return this.mode === "inline" ? Ls(this, en, w3).call(this) : X`<cx-dropdown hoist placement="bottom-start" @cx-show=${Ls(this, en, HR)}>${Ls(this, en, e$).call(this)} ${Ls(this, en, w3).call(this)}</cx-dropdown>`;
|
|
152759
152763
|
}
|
|
152760
152764
|
};
|
|
152761
152765
|
Zp = /* @__PURE__ */ new WeakMap();
|
|
152762
152766
|
Wc = /* @__PURE__ */ new WeakMap();
|
|
152763
|
-
|
|
152767
|
+
en = /* @__PURE__ */ new WeakSet();
|
|
152764
152768
|
$P = function() {
|
|
152765
152769
|
if (this.mode !== "inline" || bu(this, Zp) || bu(this, Wc))
|
|
152766
152770
|
return;
|
|
152767
152771
|
const C = this.renderRoot.querySelector("cx-menu");
|
|
152768
152772
|
C && (uv(this, Wc, new IntersectionObserver((I) => {
|
|
152769
|
-
I.some((i) => i.isIntersecting) && (bu(this, Wc)?.disconnect(), uv(this, Wc, void 0), Ls(this,
|
|
152773
|
+
I.some((i) => i.isIntersecting) && (bu(this, Wc)?.disconnect(), uv(this, Wc, void 0), Ls(this, en, HR).call(this));
|
|
152770
152774
|
})), bu(this, Wc).observe(C));
|
|
152771
152775
|
};
|
|
152772
152776
|
HR = async function() {
|
|
@@ -152792,7 +152796,7 @@ qP = function(C) {
|
|
|
152792
152796
|
};
|
|
152793
152797
|
I$ = function(C) {
|
|
152794
152798
|
const I = C.currentTarget.dataset.module, i = this.spaces.find((g) => g.module === I);
|
|
152795
|
-
i && Ls(this,
|
|
152799
|
+
i && Ls(this, en, qP).call(this, i);
|
|
152796
152800
|
};
|
|
152797
152801
|
i$ = function() {
|
|
152798
152802
|
this.emit("cx-space-create");
|
|
@@ -152807,26 +152811,26 @@ Z3 = function(C, I = !1) {
|
|
|
152807
152811
|
return X`<cx-space class="space-selector__status" align-items="center" spacing="small">${I ? X`<cx-spinner></cx-spinner>` : GC} ${C}</cx-space>`;
|
|
152808
152812
|
};
|
|
152809
152813
|
A$ = function() {
|
|
152810
|
-
return this.loading ? Ls(this,
|
|
152814
|
+
return this.loading ? Ls(this, en, Z3).call(this, "", !0) : this.spaces.length ? this.spaces.map((C) => {
|
|
152811
152815
|
const I = C.module === this.currentSpaceId;
|
|
152812
|
-
return X`<cx-menu-item class=${I ? "space-selector__space--current" : ""} data-module=${C.module} type="checkbox" ?checked=${I} @click=${Ls(this,
|
|
152813
|
-
}) : bu(this, Zp) ? Ls(this,
|
|
152816
|
+
return X`<cx-menu-item class=${I ? "space-selector__space--current" : ""} data-module=${C.module} type="checkbox" ?checked=${I} @click=${Ls(this, en, I$)}>${C.name || C.url}</cx-menu-item>`;
|
|
152817
|
+
}) : bu(this, Zp) ? Ls(this, en, Z3).call(this, this.emptyLabel) : GC;
|
|
152814
152818
|
};
|
|
152815
152819
|
w3 = function() {
|
|
152816
152820
|
const C = this.canEdit || this.canDelete;
|
|
152817
|
-
return X`<cx-menu><!-- Entries the host adds above the list, i.e. the drawer's "Back" item. --><slot></slot><cx-menu-section class="space-selector__list">${Ls(this,
|
|
152821
|
+
return X`<cx-menu><!-- Entries the host adds above the list, i.e. the drawer's "Back" item. --><slot></slot><cx-menu-section class="space-selector__list">${Ls(this, en, A$).call(this)}</cx-menu-section>${_I(
|
|
152818
152822
|
this.canCreate,
|
|
152819
|
-
() => X`<cx-menu-section><cx-menu-item @click=${Ls(this,
|
|
152823
|
+
() => X`<cx-menu-section><cx-menu-item @click=${Ls(this, en, i$)}><cx-icon slot="prefix" name="add"></cx-icon>${this.createLabel}</cx-menu-item></cx-menu-section>`
|
|
152820
152824
|
)}
|
|
152821
152825
|
${_I(
|
|
152822
152826
|
C,
|
|
152823
152827
|
() => X`<cx-menu-section>${_I(
|
|
152824
152828
|
this.canEdit,
|
|
152825
|
-
() => X`<cx-menu-item @click=${Ls(this,
|
|
152829
|
+
() => X`<cx-menu-item @click=${Ls(this, en, C$)}><cx-icon slot="prefix" name="settings"></cx-icon>${this.settingsLabel}</cx-menu-item>`
|
|
152826
152830
|
)}
|
|
152827
152831
|
${_I(
|
|
152828
152832
|
this.canDelete,
|
|
152829
|
-
() => X`<cx-menu-item class="space-selector__action--danger" @click=${Ls(this,
|
|
152833
|
+
() => X`<cx-menu-item class="space-selector__action--danger" @click=${Ls(this, en, g$)}><cx-icon slot="prefix" name="delete"></cx-icon>${this.deleteLabel}</cx-menu-item>`
|
|
152830
152834
|
)}</cx-menu-section>`
|
|
152831
152835
|
)}</cx-menu>`;
|
|
152832
152836
|
};
|
|
@@ -152839,8 +152843,8 @@ bt.dependencies = {
|
|
|
152839
152843
|
"cx-dropdown": no,
|
|
152840
152844
|
"cx-icon": vA,
|
|
152841
152845
|
"cx-icon-button": wA,
|
|
152842
|
-
"cx-menu":
|
|
152843
|
-
"cx-menu-item":
|
|
152846
|
+
"cx-menu": Uo,
|
|
152847
|
+
"cx-menu-item": _o,
|
|
152844
152848
|
"cx-menu-section": G3,
|
|
152845
152849
|
"cx-space": $g,
|
|
152846
152850
|
"cx-spinner": Bs
|
|
@@ -156507,8 +156511,8 @@ gg.dependencies = {
|
|
|
156507
156511
|
"cx-icon": vA,
|
|
156508
156512
|
"cx-icon-button": wA,
|
|
156509
156513
|
"cx-input": ie,
|
|
156510
|
-
"cx-menu":
|
|
156511
|
-
"cx-menu-item":
|
|
156514
|
+
"cx-menu": Uo,
|
|
156515
|
+
"cx-menu-item": _o,
|
|
156512
156516
|
"cx-menu-label": v3,
|
|
156513
156517
|
"cx-option": Ft,
|
|
156514
156518
|
"cx-popup": Il,
|
|
@@ -156665,7 +156669,7 @@ var EA = /* @__PURE__ */ ((C) => (C.Element = "Element", C.Text = "Text", C))(EA
|
|
|
156665
156669
|
const AEI = aC`:host{border-color:var(--cx-color-neutral-300);border-style:solid;border-width:1px;display:block;position:relative;overflow:hidden}:host([data-first]){border-top-left-radius:var(--cx-border-radius-medium);border-top-right-radius:var(--cx-border-radius-medium)}:host([data-root]){border-width:0}:host(:not([data-first])){border-top:none}.element-tag__title{border-bottom:none;border-color:var(--cx-color-neutral-300);width:100%;padding:var(--cx-spacing-small);cursor:pointer;background-color:#0000;justify-content:space-between;align-items:center;display:flex}.element-tag__title:hover{background-color:var(--cx-color-neutral-200)}.element-tag__title--editing{border-bottom:1px solid;border-color:var(--cx-color-neutral-300);background-color:var(--cx-color-neutral-200)}.element-tag__title cx-typography::part(base){margin:0}.element-tag__actions{align-items:center;display:flex}.element-tag__menu{margin-left:var(--cx-spacing-x-small);justify-content:flex-end;align-items:center;display:flex}.element-tag__menu--hidden{visibility:hidden}.element-tag__content{overflow:auto}.element-tag__content--auto-height{max-height:1000px}.element-tag__content-inner{padding:0}.element-tag__content-inner--generation{padding:0 var(--cx-spacing-medium) var(--cx-spacing-medium)}.element-tag__expand-spacer{margin-right:var(--cx-spacing-medium)}cx-icon-button{font-size:var(--cx-font-size-medium)}cx-icon-button:not([disabled])::part(base):hover{background-color:#00000014}.element-tag__add-button{width:100%}.element-tag__add-button::part(base){border-bottom-left-radius:var(--cx-border-radius-medium);border-bottom-right-radius:var(--cx-border-radius-medium);text-transform:none;border-style:dashed;border-width:1px;border-top-color:#0000;border-top-left-radius:0;border-top-right-radius:0;justify-content:flex-start;align-self:stretch;align-items:center;width:100%;height:fit-content;display:flex}`;
|
|
156666
156670
|
var eEI = Object.defineProperty, tEI = Object.getOwnPropertyDescriptor, h$ = (C) => {
|
|
156667
156671
|
throw TypeError(C);
|
|
156668
|
-
},
|
|
156672
|
+
}, To = (C, I, i, g) => {
|
|
156669
156673
|
for (var A = g > 1 ? void 0 : g ? tEI(I, i) : I, e = C.length - 1, t; e >= 0; e--)
|
|
156670
156674
|
(t = C[e]) && (A = (g ? t(I, i, A) : t(A)) || A);
|
|
156671
156675
|
return g && A && eEI(I, i, A), A;
|
|
@@ -156822,55 +156826,55 @@ It.dependencies = {
|
|
|
156822
156826
|
"cx-tooltip": Ke,
|
|
156823
156827
|
"cx-typography": eA
|
|
156824
156828
|
};
|
|
156825
|
-
|
|
156829
|
+
To([
|
|
156826
156830
|
K({ attribute: !1, type: Object })
|
|
156827
156831
|
], It.prototype, "self", 2);
|
|
156828
|
-
|
|
156832
|
+
To([
|
|
156829
156833
|
K({ attribute: !1, type: Object })
|
|
156830
156834
|
], It.prototype, "parent", 2);
|
|
156831
|
-
|
|
156835
|
+
To([
|
|
156832
156836
|
K({ type: String })
|
|
156833
156837
|
], It.prototype, "name", 2);
|
|
156834
|
-
|
|
156838
|
+
To([
|
|
156835
156839
|
K({ type: Boolean })
|
|
156836
156840
|
], It.prototype, "expanded", 2);
|
|
156837
|
-
|
|
156841
|
+
To([
|
|
156838
156842
|
K({ type: String })
|
|
156839
156843
|
], It.prototype, "order", 2);
|
|
156840
|
-
|
|
156844
|
+
To([
|
|
156841
156845
|
K({ attribute: "is-root", type: Boolean })
|
|
156842
156846
|
], It.prototype, "isRoot", 2);
|
|
156843
|
-
|
|
156847
|
+
To([
|
|
156844
156848
|
K({ attribute: "is-first", type: Boolean })
|
|
156845
156849
|
], It.prototype, "isFirst", 2);
|
|
156846
|
-
|
|
156850
|
+
To([
|
|
156847
156851
|
K({ attribute: "can-add", type: Boolean })
|
|
156848
156852
|
], It.prototype, "canAdd", 2);
|
|
156849
|
-
|
|
156853
|
+
To([
|
|
156850
156854
|
K({ attribute: "can-edit", type: Boolean })
|
|
156851
156855
|
], It.prototype, "canEdit", 2);
|
|
156852
|
-
|
|
156856
|
+
To([
|
|
156853
156857
|
K({ attribute: "can-copy", type: Boolean })
|
|
156854
156858
|
], It.prototype, "canCopy", 2);
|
|
156855
|
-
|
|
156859
|
+
To([
|
|
156856
156860
|
K({ attribute: "can-paste", type: Boolean })
|
|
156857
156861
|
], It.prototype, "canPaste", 2);
|
|
156858
|
-
|
|
156862
|
+
To([
|
|
156859
156863
|
K({ attribute: "can-delete", type: Boolean })
|
|
156860
156864
|
], It.prototype, "canDelete", 2);
|
|
156861
|
-
|
|
156865
|
+
To([
|
|
156862
156866
|
dI()
|
|
156863
156867
|
], It.prototype, "showMenu", 2);
|
|
156864
|
-
|
|
156868
|
+
To([
|
|
156865
156869
|
Ii("name")
|
|
156866
156870
|
], It.prototype, "handleNameChange", 1);
|
|
156867
|
-
|
|
156871
|
+
To([
|
|
156868
156872
|
Ii("isRoot")
|
|
156869
156873
|
], It.prototype, "handleIsRootChange", 1);
|
|
156870
|
-
|
|
156874
|
+
To([
|
|
156871
156875
|
Ii("isFirst")
|
|
156872
156876
|
], It.prototype, "handleIsFirstChange", 1);
|
|
156873
|
-
It =
|
|
156877
|
+
It = To([
|
|
156874
156878
|
eC("cx-xml-editor-element-tag")
|
|
156875
156879
|
], It);
|
|
156876
156880
|
const nEI = aC`:host{align-items:center;gap:var(--cx-spacing-x-small);flex-direction:row;width:100%;display:flex}.asset-type__subtype{flex:1}`;
|
|
@@ -156973,7 +156977,7 @@ const hEI = [
|
|
|
156973
156977
|
xu.Children,
|
|
156974
156978
|
xu.Both
|
|
156975
156979
|
];
|
|
156976
|
-
let
|
|
156980
|
+
let Mo = class extends cC {
|
|
156977
156981
|
constructor() {
|
|
156978
156982
|
super(...arguments), bEI(this, kC), this.localize = new VC(this), this.enabledRelations = [], this.subTypes = [], this.subTypesMap = {}, this.sortOrders = [], this.sameFields = [], this.enabledSameField = !1;
|
|
156979
156983
|
}
|
|
@@ -157232,7 +157236,7 @@ M$ = function(C) {
|
|
|
157232
157236
|
Number.parseInt(C.target.value, 10) < 0 || this.updateLimitDebounced(I, C.target.value);
|
|
157233
157237
|
};
|
|
157234
157238
|
U$ = function(C, I, i) {
|
|
157235
|
-
const { columns: g, options: A } =
|
|
157239
|
+
const { columns: g, options: A } = Mo.mapRelationsToOptions(this.enabledRelations, {
|
|
157236
157240
|
childRole: this.localize.term("childRole"),
|
|
157237
157241
|
childType: this.localize.term("childType"),
|
|
157238
157242
|
description: this.localize.term("description"),
|
|
@@ -157250,7 +157254,7 @@ U$ = function(C, I, i) {
|
|
|
157250
157254
|
)}<cx-checkbox @cx-change=${UC(this, kC, S$).call(this, C)}>${this.localize.term("directRelationOnRelation", i)}</cx-checkbox></div>`;
|
|
157251
157255
|
};
|
|
157252
157256
|
_$ = function() {
|
|
157253
|
-
const C = UC(this, kC, $e).call(this, "Ancestors")[0], I = UC(this, kC, $e).call(this, "Descendants")[0], i = UC(this, kC, $e).call(this, "DescendantsSeeThru")[0], g = UC(this, kC, $e).call(this, "Self")[0], A = UC(this, kC, $e).call(this, "SameFieldValue")[0], e = UC(this, kC, $e).call(this, "LexicallySimilar")[0], t = UC(this, kC, $e).call(this, "SemanticallySimilar")[0], o = UC(this, kC, $e).call(this, "Relations"), n = A ? Object.keys(A)[0] : "", { columns: s, options: a } =
|
|
157257
|
+
const C = UC(this, kC, $e).call(this, "Ancestors")[0], I = UC(this, kC, $e).call(this, "Descendants")[0], i = UC(this, kC, $e).call(this, "DescendantsSeeThru")[0], g = UC(this, kC, $e).call(this, "Self")[0], A = UC(this, kC, $e).call(this, "SameFieldValue")[0], e = UC(this, kC, $e).call(this, "LexicallySimilar")[0], t = UC(this, kC, $e).call(this, "SemanticallySimilar")[0], o = UC(this, kC, $e).call(this, "Relations"), n = A ? Object.keys(A)[0] : "", { columns: s, options: a } = Mo.mapSameFieldsToOptions(this.sameFields, {
|
|
157254
157258
|
fieldName: this.localize.term("fieldName"),
|
|
157255
157259
|
systemName: this.localize.term("systemName")
|
|
157256
157260
|
}), l = {
|
|
@@ -157277,15 +157281,15 @@ O$ = function() {
|
|
|
157277
157281
|
)}<cx-button class="packet-editor__add-asset-type-button" variant="default" @click=${UC(this, kC, z$)}><cx-icon slot="prefix" name="add_circle"></cx-icon>${this.localize.term("addAssetTypeFilter")}</cx-button><div class="packet-editor__additional-filters-title"><cx-typography variant="body3" class="packet-editor__subheading">${this.localize.term("additionalFilters")}</cx-typography><div class="packet-editor__help-text"><cx-icon name="help_outline"></cx-icon><a class="packet-editor__help-link" href="https://developer.orangelogic.com/reference/query-options" target="_blank" rel="noreferrer">${this.localize.term("searchApiQuery")}</a></div></div><cx-input aria-label=${this.localize.term("additionalFilters")} placeholder=${this.localize.term("supportsSearchApiSyntaxPlaceholder")} size="medium" value=${JiI(i)} @cx-input=${UC(this, kC, j$)}></cx-input></div>`;
|
|
157278
157282
|
};
|
|
157279
157283
|
E$ = function() {
|
|
157280
|
-
const C = UC(this, kC, $e).call(this, "OrderBy")[0], I = UC(this, kC, $e).call(this, "Limit")[0], i = C ? Object.keys(C)[0] : "", g = I ? Object.keys(I)[0] : "", { columns: A, options: e } =
|
|
157284
|
+
const C = UC(this, kC, $e).call(this, "OrderBy")[0], I = UC(this, kC, $e).call(this, "Limit")[0], i = C ? Object.keys(C)[0] : "", g = I ? Object.keys(I)[0] : "", { columns: A, options: e } = Mo.mapSortOrdersToOptions(this.sortOrders, {
|
|
157281
157285
|
description: this.localize.term("description"),
|
|
157282
157286
|
name: this.localize.term("name"),
|
|
157283
157287
|
sortDirection: this.localize.term("sortDirection")
|
|
157284
157288
|
});
|
|
157285
157289
|
return X`<cx-grid columns="12" spacing="var(--cx-spacing-small)" use-flex-gap><cx-grid-item xs="7"><cx-dynamic-select free-width hoist .columns=${A} .options=${e} label=${this.localize.term("orderBy")} value=${i} @cx-change=${UC(this, kC, H$)}></cx-dynamic-select></cx-grid-item><cx-grid-item xs="5"><cx-input label=${this.localize.term("limitToFirst")} placeholder=${this.localize.term("enterValueForSelectedField")} size="medium" type="number" value=${g || "100"} @cx-input=${UC(this, kC, M$)}></cx-input></cx-grid-item></cx-grid>`;
|
|
157286
157290
|
};
|
|
157287
|
-
|
|
157288
|
-
|
|
157291
|
+
Mo.styles = [hC, cEI, VQ];
|
|
157292
|
+
Mo.dependencies = {
|
|
157289
157293
|
"cx-button": Pg,
|
|
157290
157294
|
"cx-checkbox": Fr,
|
|
157291
157295
|
"cx-divider": ks,
|
|
@@ -157301,34 +157305,34 @@ Ho.dependencies = {
|
|
|
157301
157305
|
};
|
|
157302
157306
|
Ur([
|
|
157303
157307
|
K({ attribute: !1, type: Object })
|
|
157304
|
-
],
|
|
157308
|
+
], Mo.prototype, "value", 2);
|
|
157305
157309
|
Ur([
|
|
157306
157310
|
K({ attribute: !1, type: Array })
|
|
157307
|
-
],
|
|
157311
|
+
], Mo.prototype, "enabledRelations", 2);
|
|
157308
157312
|
Ur([
|
|
157309
157313
|
K({ attribute: !1, type: Array })
|
|
157310
|
-
],
|
|
157314
|
+
], Mo.prototype, "subTypes", 2);
|
|
157311
157315
|
Ur([
|
|
157312
157316
|
K({ attribute: !1, type: Object })
|
|
157313
|
-
],
|
|
157317
|
+
], Mo.prototype, "subTypesMap", 2);
|
|
157314
157318
|
Ur([
|
|
157315
157319
|
K({ attribute: !1, type: Array })
|
|
157316
|
-
],
|
|
157320
|
+
], Mo.prototype, "sortOrders", 2);
|
|
157317
157321
|
Ur([
|
|
157318
157322
|
K({ attribute: !1, type: Array })
|
|
157319
|
-
],
|
|
157323
|
+
], Mo.prototype, "sameFields", 2);
|
|
157320
157324
|
Ur([
|
|
157321
157325
|
dI()
|
|
157322
|
-
],
|
|
157326
|
+
], Mo.prototype, "enabledSameField", 2);
|
|
157323
157327
|
Ur([
|
|
157324
157328
|
is(500)
|
|
157325
|
-
],
|
|
157329
|
+
], Mo.prototype, "updateExtraFiltersDebounced", 1);
|
|
157326
157330
|
Ur([
|
|
157327
157331
|
is(500)
|
|
157328
|
-
],
|
|
157329
|
-
|
|
157332
|
+
], Mo.prototype, "updateLimitDebounced", 1);
|
|
157333
|
+
Mo = Ur([
|
|
157330
157334
|
eC("cx-xml-editor-packet-editor")
|
|
157331
|
-
],
|
|
157335
|
+
], Mo);
|
|
157332
157336
|
const XJ = {
|
|
157333
157337
|
ElementName: "NewElement",
|
|
157334
157338
|
Tab: " ",
|
|
@@ -157811,7 +157815,7 @@ f3 = function(C, I, i, g, A, e = !1, t = !0) {
|
|
|
157811
157815
|
lA.styles = [hC, vEI];
|
|
157812
157816
|
lA.dependencies = {
|
|
157813
157817
|
"cx-xml-editor-element-tag": It,
|
|
157814
|
-
"cx-xml-editor-packet-editor":
|
|
157818
|
+
"cx-xml-editor-packet-editor": Mo,
|
|
157815
157819
|
"cx-xml-editor-viewer": Za
|
|
157816
157820
|
};
|
|
157817
157821
|
lA.TEXT_TAGS = /* @__PURE__ */ new Set([
|
|
@@ -157881,7 +157885,7 @@ export {
|
|
|
157881
157885
|
gm as J,
|
|
157882
157886
|
io as K,
|
|
157883
157887
|
Ns as L,
|
|
157884
|
-
|
|
157888
|
+
Bo as M,
|
|
157885
157889
|
AA as N,
|
|
157886
157890
|
l0I as O,
|
|
157887
157891
|
NA as P,
|
|
@@ -157912,7 +157916,7 @@ export {
|
|
|
157912
157916
|
gg as ac,
|
|
157913
157917
|
lA as ad,
|
|
157914
157918
|
j2 as ae,
|
|
157915
|
-
|
|
157919
|
+
zo as b,
|
|
157916
157920
|
M0I as c,
|
|
157917
157921
|
Rs as d,
|
|
157918
157922
|
Wg as e,
|
|
@@ -157925,7 +157929,7 @@ export {
|
|
|
157925
157929
|
MA as l,
|
|
157926
157930
|
fA as m,
|
|
157927
157931
|
he as n,
|
|
157928
|
-
|
|
157932
|
+
jo as o,
|
|
157929
157933
|
yG as p,
|
|
157930
157934
|
J8I as q,
|
|
157931
157935
|
y8I as r,
|