@orangelogic/design-system 2.196.0 → 2.197.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/{asset-link-format.BFxmPgwt.js → asset-link-format.B1YOFow9.js} +586 -583
- package/library/components/asset-link-format.js +1 -1
- package/library/components/organisms.js +1 -1
- package/library/components/types.js +593 -592
- package/library/package.json +1 -1
- package/library/packages/organisms/src/content-builder/components/gallery-picker/gallery-picker.d.ts +8 -0
- package/library/packages/tools/src/fetch-image/fetch-image.d.ts +10 -0
- package/package.json +1 -1
|
@@ -9,7 +9,7 @@ import { default as oJt } from "./avatar.js";
|
|
|
9
9
|
import yx from "./badge.js";
|
|
10
10
|
import { default as sJt } from "./breadcrumb.js";
|
|
11
11
|
import { default as cJt } from "./breadcrumb-item.js";
|
|
12
|
-
import { C as
|
|
12
|
+
import { C as Zi, B as Il, a as Sc } from "../chunks/button.BnkkUqiI.js";
|
|
13
13
|
import OQ from "./button-group.js";
|
|
14
14
|
import am from "./card.js";
|
|
15
15
|
import qh from "./checkbox.js";
|
|
@@ -115,10 +115,10 @@ import { d as ec } from "../chunks/debounce.DaHuiSGU.js";
|
|
|
115
115
|
import { t as XS, c as $l, d as _ee, i as s2, G as Yg, j as gp, h as Cee, s as h8, T as d6, k as fn, l as GF, u as See, m as Tee, n as KF, o as g8 } from "../chunks/string.CfI2ejyR.js";
|
|
116
116
|
import { b as jZt, e as HZt, f as VZt, y as UZt, g as qZt, p as WZt, z as GZt, x as KZt, a as YZt, w as XZt, r as JZt, q as ZZt, v as QZt } from "../chunks/string.CfI2ejyR.js";
|
|
117
117
|
import { c as pn } from "../chunks/repeat.CFjcER6_.js";
|
|
118
|
-
import { a as If, F as $h, i as u6, M as p6, b as Sw, c as Tw, d as Aee, e as YF, f as XF, g as h6, h as l2, C as Eee, j as m8, k as c2, l as f8, m as v8, n as y8, o as b8, p as Oee, q as w8, u as d2, r as h9, s as g9, t as m9 } from "../chunks/asset-link-format.
|
|
118
|
+
import { a as If, F as $h, i as u6, M as p6, b as Sw, c as Tw, d as Aee, e as YF, f as XF, g as h6, h as l2, C as Eee, j as m8, k as c2, l as f8, m as v8, n as y8, o as b8, p as Oee, q as w8, u as d2, r as h9, s as g9, t as m9 } from "../chunks/asset-link-format.B1YOFow9.js";
|
|
119
119
|
import { H as c3 } from "../chunks/slot.j5oheLJC.js";
|
|
120
120
|
import { a as tQt, g as nQt } from "../chunks/slot.j5oheLJC.js";
|
|
121
|
-
import { c as Or, d as Dee, H as En, e as Aa, f as ms, a as Iee, b as
|
|
121
|
+
import { c as Or, d as Dee, H as En, e as Aa, f as ms, a as Iee, b as or } from "../chunks/resizable-component.styles.CAfXABBc.js";
|
|
122
122
|
import { s as kx, F as Wd, C as g6, a as JS } from "../chunks/folder-select.CIqVGGFl.js";
|
|
123
123
|
import { a as Fo, E as Yn, b as Xv, O as Su, T as vp, G as x8 } from "../chunks/index.Cpamj0jB.js";
|
|
124
124
|
import { C as rQt } from "../chunks/index.Cpamj0jB.js";
|
|
@@ -349,7 +349,7 @@ let Qr = class extends hn {
|
|
|
349
349
|
};
|
|
350
350
|
Qr.styles = [gn, Ute];
|
|
351
351
|
Qr.dependencies = {
|
|
352
|
-
"cx-button":
|
|
352
|
+
"cx-button": Zi,
|
|
353
353
|
"cx-divider": $c,
|
|
354
354
|
"cx-dropdown": xs,
|
|
355
355
|
"cx-icon": Hr,
|
|
@@ -4619,7 +4619,7 @@ let Pf = class extends hn {
|
|
|
4619
4619
|
};
|
|
4620
4620
|
Pf.styles = [gn];
|
|
4621
4621
|
Pf.dependencies = {
|
|
4622
|
-
"cx-button":
|
|
4622
|
+
"cx-button": Zi,
|
|
4623
4623
|
"cx-dropdown": xs,
|
|
4624
4624
|
"cx-menu": pl,
|
|
4625
4625
|
"cx-menu-item": hl,
|
|
@@ -5436,7 +5436,7 @@ let ao = class extends hn {
|
|
|
5436
5436
|
};
|
|
5437
5437
|
ao.styles = [gn, Mne];
|
|
5438
5438
|
ao.dependencies = {
|
|
5439
|
-
"cx-button":
|
|
5439
|
+
"cx-button": Zi,
|
|
5440
5440
|
"cx-icon-button": Cr,
|
|
5441
5441
|
"cx-image": xx,
|
|
5442
5442
|
"cx-input": eo,
|
|
@@ -5918,7 +5918,7 @@ let al = class extends hn {
|
|
|
5918
5918
|
};
|
|
5919
5919
|
al.styles = [gn, Jne];
|
|
5920
5920
|
al.dependencies = {
|
|
5921
|
-
"cx-button":
|
|
5921
|
+
"cx-button": Zi,
|
|
5922
5922
|
"cx-icon-button": Cr,
|
|
5923
5923
|
"cx-input": eo,
|
|
5924
5924
|
"cx-space": Ui,
|
|
@@ -6745,7 +6745,7 @@ let Xa = class extends hn {
|
|
|
6745
6745
|
};
|
|
6746
6746
|
Xa.styles = [gn, fie];
|
|
6747
6747
|
Xa.dependencies = {
|
|
6748
|
-
"cx-button":
|
|
6748
|
+
"cx-button": Zi,
|
|
6749
6749
|
"cx-details": wx,
|
|
6750
6750
|
"cx-icon": Hr,
|
|
6751
6751
|
"cx-space": Ui,
|
|
@@ -7114,7 +7114,7 @@ var Cie = Object.defineProperty, Sie = Object.getOwnPropertyDescriptor, ma = (n,
|
|
|
7114
7114
|
(a = n[o]) && (r = (i ? a(e, t, r) : a(r)) || r);
|
|
7115
7115
|
return i && r && Cie(e, t, r), r;
|
|
7116
7116
|
};
|
|
7117
|
-
let
|
|
7117
|
+
let ur = class extends Dee {
|
|
7118
7118
|
constructor() {
|
|
7119
7119
|
super(...arguments), this.localize = new Dn(this), this.src = void 0, this.srcset = "", this.sizes = "", this.alt = "", this.pageId = "", this.objectFit = Fo.Cover, this.noCrossorigin = !1, this.openInNewTab = !1, this.contentVariant = Yg.Default, this.showContentType = gp.Always, this.contentPosition = Or.Top, this.canZoom = !1, this.loading = !1, this.canSelect = !1, this.selected = !1, this.inView = !1, this.isInert = !1, this.itemIndex = 0;
|
|
7120
7120
|
}
|
|
@@ -7157,74 +7157,74 @@ let dr = class extends Dee {
|
|
|
7157
7157
|
return this.renderHighlighter();
|
|
7158
7158
|
}
|
|
7159
7159
|
};
|
|
7160
|
-
|
|
7161
|
-
|
|
7160
|
+
ur.styles = [gn, _ie];
|
|
7161
|
+
ur.dependencies = {
|
|
7162
7162
|
"cx-asset-data-display": _r,
|
|
7163
7163
|
"cx-image": xx
|
|
7164
7164
|
};
|
|
7165
7165
|
ma([
|
|
7166
7166
|
Tt(".gallery-item__image")
|
|
7167
|
-
],
|
|
7167
|
+
], ur.prototype, "imageEl", 2);
|
|
7168
7168
|
ma([
|
|
7169
7169
|
Tt(".gallery-item__content")
|
|
7170
|
-
],
|
|
7170
|
+
], ur.prototype, "contentEl", 2);
|
|
7171
7171
|
ma([
|
|
7172
7172
|
O({ reflect: !0, type: String })
|
|
7173
|
-
],
|
|
7173
|
+
], ur.prototype, "src", 2);
|
|
7174
7174
|
ma([
|
|
7175
7175
|
O({ reflect: !0, type: String })
|
|
7176
|
-
],
|
|
7176
|
+
], ur.prototype, "srcset", 2);
|
|
7177
7177
|
ma([
|
|
7178
7178
|
O({ reflect: !0, type: String })
|
|
7179
|
-
],
|
|
7179
|
+
], ur.prototype, "sizes", 2);
|
|
7180
7180
|
ma([
|
|
7181
7181
|
O({ reflect: !0, type: String })
|
|
7182
|
-
],
|
|
7182
|
+
], ur.prototype, "alt", 2);
|
|
7183
7183
|
ma([
|
|
7184
7184
|
O({ attribute: "page-id", reflect: !0, type: String })
|
|
7185
|
-
],
|
|
7185
|
+
], ur.prototype, "pageId", 2);
|
|
7186
7186
|
ma([
|
|
7187
7187
|
O({ attribute: "object-fit", reflect: !0, type: String })
|
|
7188
|
-
],
|
|
7188
|
+
], ur.prototype, "objectFit", 2);
|
|
7189
7189
|
ma([
|
|
7190
7190
|
O({ attribute: "no-crossorigin", reflect: !0, type: Boolean })
|
|
7191
|
-
],
|
|
7191
|
+
], ur.prototype, "noCrossorigin", 2);
|
|
7192
7192
|
ma([
|
|
7193
7193
|
O({ attribute: "open-in-new-tab", reflect: !0, type: Boolean })
|
|
7194
|
-
],
|
|
7194
|
+
], ur.prototype, "openInNewTab", 2);
|
|
7195
7195
|
ma([
|
|
7196
7196
|
O({ attribute: "content-variant", reflect: !0, type: String })
|
|
7197
|
-
],
|
|
7197
|
+
], ur.prototype, "contentVariant", 2);
|
|
7198
7198
|
ma([
|
|
7199
7199
|
O({ attribute: "show-content-type", reflect: !0, type: String })
|
|
7200
|
-
],
|
|
7200
|
+
], ur.prototype, "showContentType", 2);
|
|
7201
7201
|
ma([
|
|
7202
7202
|
O({ attribute: "content-position", reflect: !0, type: String })
|
|
7203
|
-
],
|
|
7203
|
+
], ur.prototype, "contentPosition", 2);
|
|
7204
7204
|
ma([
|
|
7205
7205
|
O({ attribute: "can-zoom", reflect: !0, type: Boolean })
|
|
7206
|
-
],
|
|
7206
|
+
], ur.prototype, "canZoom", 2);
|
|
7207
7207
|
ma([
|
|
7208
7208
|
O({ reflect: !0, type: Boolean })
|
|
7209
|
-
],
|
|
7209
|
+
], ur.prototype, "loading", 2);
|
|
7210
7210
|
ma([
|
|
7211
7211
|
O({ attribute: "can-select", reflect: !0, type: Boolean })
|
|
7212
|
-
],
|
|
7212
|
+
], ur.prototype, "canSelect", 2);
|
|
7213
7213
|
ma([
|
|
7214
7214
|
O({ reflect: !0, type: Boolean })
|
|
7215
|
-
],
|
|
7215
|
+
], ur.prototype, "selected", 2);
|
|
7216
7216
|
ma([
|
|
7217
7217
|
O({ attribute: "in-view", reflect: !0, type: Boolean })
|
|
7218
|
-
],
|
|
7218
|
+
], ur.prototype, "inView", 2);
|
|
7219
7219
|
ma([
|
|
7220
7220
|
O({ attribute: "inert", reflect: !0, type: Boolean })
|
|
7221
|
-
],
|
|
7221
|
+
], ur.prototype, "isInert", 2);
|
|
7222
7222
|
ma([
|
|
7223
7223
|
O({ attribute: "item-index", reflect: !0, type: Number })
|
|
7224
|
-
],
|
|
7225
|
-
|
|
7224
|
+
], ur.prototype, "itemIndex", 2);
|
|
7225
|
+
ur = ma([
|
|
7226
7226
|
nn("cx-gallery-item")
|
|
7227
|
-
],
|
|
7227
|
+
], ur);
|
|
7228
7228
|
const Tie = ".react-flow{direction:ltr;--xy-edge-stroke-default: #b1b1b7;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #555;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(255, 255, 255, .5);--xy-minimap-background-color-default: #fff;--xy-minimap-mask-background-color-default: rgba(240, 240, 240, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #e2e2e2;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: transparent;--xy-background-pattern-dots-color-default: #91919a;--xy-background-pattern-lines-color-default: #eee;--xy-background-pattern-cross-color-default: #e2e2e2;background-color:var(--xy-background-color, var(--xy-background-color-default));--xy-node-color-default: inherit;--xy-node-border-default: 1px solid #1a192b;--xy-node-background-color-default: #fff;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(0, 0, 0, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #1a192b;--xy-node-border-radius-default: 3px;--xy-handle-background-color-default: #1a192b;--xy-handle-border-color-default: #fff;--xy-selection-background-color-default: rgba(0, 89, 220, .08);--xy-selection-border-default: 1px dotted rgba(0, 89, 220, .8);--xy-controls-button-background-color-default: #fefefe;--xy-controls-button-background-color-hover-default: #f4f4f4;--xy-controls-button-color-default: inherit;--xy-controls-button-color-hover-default: inherit;--xy-controls-button-border-color-default: #eee;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #ffffff;--xy-edge-label-color-default: inherit;--xy-resize-background-color-default: #3367d9}.react-flow.dark{--xy-edge-stroke-default: #3e3e3e;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #727272;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(150, 150, 150, .25);--xy-minimap-background-color-default: #141414;--xy-minimap-mask-background-color-default: rgba(60, 60, 60, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #2b2b2b;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: #141414;--xy-background-pattern-dots-color-default: #777;--xy-background-pattern-lines-color-default: #777;--xy-background-pattern-cross-color-default: #777;--xy-node-color-default: #f8f8f8;--xy-node-border-default: 1px solid #3c3c3c;--xy-node-background-color-default: #1e1e1e;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(255, 255, 255, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #999;--xy-handle-background-color-default: #bebebe;--xy-handle-border-color-default: #1e1e1e;--xy-selection-background-color-default: rgba(200, 200, 220, .08);--xy-selection-border-default: 1px dotted rgba(200, 200, 220, .8);--xy-controls-button-background-color-default: #2b2b2b;--xy-controls-button-background-color-hover-default: #3e3e3e;--xy-controls-button-color-default: #f8f8f8;--xy-controls-button-color-hover-default: #fff;--xy-controls-button-border-color-default: #5b5b5b;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #141414;--xy-edge-label-color-default: #f8f8f8}.react-flow__background{background-color:var(--xy-background-color-props, var(--xy-background-color, var(--xy-background-color-default)));pointer-events:none;z-index:-1}.react-flow__container{position:absolute;width:100%;height:100%;top:0;left:0}.react-flow__pane{z-index:1}.react-flow__pane.draggable{cursor:grab}.react-flow__pane.dragging{cursor:grabbing}.react-flow__pane.selection{cursor:pointer}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow__edge-path{stroke:var(--xy-edge-stroke, var(--xy-edge-stroke-default));stroke-width:var(--xy-edge-stroke-width, var(--xy-edge-stroke-width-default));fill:none}.react-flow__connection-path{stroke:var(--xy-connectionline-stroke, var(--xy-connectionline-stroke-default));stroke-width:var(--xy-connectionline-stroke-width, var(--xy-connectionline-stroke-width-default));fill:none}.react-flow .react-flow__edges{position:absolute}.react-flow .react-flow__edges svg{overflow:visible;position:absolute;pointer-events:none}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge.selectable:focus .react-flow__edge-path,.react-flow__edge.selectable:focus-visible .react-flow__edge-path{stroke:var(--xy-edge-stroke-selected, var(--xy-edge-stroke-selected-default))}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;user-select:none}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:dashdraw .5s linear infinite}svg.react-flow__connectionline{z-index:1001;overflow:visible;position:absolute}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{position:absolute;-webkit-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default}.react-flow__node.selectable{cursor:pointer}.react-flow__node.draggable{cursor:grab;pointer-events:all}.react-flow__node.draggable.dragging{cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:left top;pointer-events:none}.react-flow__nodesselection-rect{position:absolute;pointer-events:all;cursor:grab}.react-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px;width:6px;height:6px;background-color:var(--xy-handle-background-color, var(--xy-handle-background-color-default));border:1px solid var(--xy-handle-border-color, var(--xy-handle-border-color-default));border-radius:100%}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;left:50%;bottom:0;transform:translate(-50%,50%)}.react-flow__handle-top{top:0;left:50%;transform:translate(-50%,-50%)}.react-flow__handle-left{top:50%;left:0;transform:translate(-50%,-50%)}.react-flow__handle-right{top:50%;right:0;transform:translate(50%,-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__pane.selection .react-flow__panel{pointer-events:none}.react-flow__panel{position:absolute;z-index:5;margin:15px}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.top.center,.react-flow__panel.bottom.center{left:50%;transform:translate(-15px) translate(-50%)}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.left.center,.react-flow__panel.right.center{top:50%;transform:translateY(-15px) translateY(-50%)}.react-flow__attribution{font-size:10px;background:var(--xy-attribution-background-color, var(--xy-attribution-background-color-default));padding:2px 3px;margin:0}.react-flow__attribution a{text-decoration:none;color:#999}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edgelabel-renderer{position:absolute;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;user-select:none;left:0;top:0}.react-flow__viewport-portal{position:absolute;width:100%;height:100%;left:0;top:0;-webkit-user-select:none;user-select:none}.react-flow__minimap{background:var( --xy-minimap-background-color-props, var(--xy-minimap-background-color, var(--xy-minimap-background-color-default)) )}.react-flow__minimap-svg{display:block}.react-flow__minimap-mask{fill:var( --xy-minimap-mask-background-color-props, var(--xy-minimap-mask-background-color, var(--xy-minimap-mask-background-color-default)) );stroke:var( --xy-minimap-mask-stroke-color-props, var(--xy-minimap-mask-stroke-color, var(--xy-minimap-mask-stroke-color-default)) );stroke-width:var( --xy-minimap-mask-stroke-width-props, var(--xy-minimap-mask-stroke-width, var(--xy-minimap-mask-stroke-width-default)) )}.react-flow__minimap-node{fill:var( --xy-minimap-node-background-color-props, var(--xy-minimap-node-background-color, var(--xy-minimap-node-background-color-default)) );stroke:var( --xy-minimap-node-stroke-color-props, var(--xy-minimap-node-stroke-color, var(--xy-minimap-node-stroke-color-default)) );stroke-width:var( --xy-minimap-node-stroke-width-props, var(--xy-minimap-node-stroke-width, var(--xy-minimap-node-stroke-width-default)) )}.react-flow__background-pattern.dots{fill:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-dots-color-default)) )}.react-flow__background-pattern.lines{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-lines-color-default)) )}.react-flow__background-pattern.cross{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-cross-color-default)) )}.react-flow__controls{display:flex;flex-direction:column;box-shadow:var(--xy-controls-box-shadow, var(--xy-controls-box-shadow-default))}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{display:flex;justify-content:center;align-items:center;height:26px;width:26px;padding:4px;border:none;background:var(--xy-controls-button-background-color, var(--xy-controls-button-background-color-default));border-bottom:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) );color:var( --xy-controls-button-color-props, var(--xy-controls-button-color, var(--xy-controls-button-color-default)) );cursor:pointer;-webkit-user-select:none;user-select:none}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px;fill:currentColor}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-input,.react-flow__node-default,.react-flow__node-output,.react-flow__node-group{padding:10px;border-radius:var(--xy-node-border-radius, var(--xy-node-border-radius-default));width:150px;font-size:12px;color:var(--xy-node-color, var(--xy-node-color-default));text-align:center;border:var(--xy-node-border, var(--xy-node-border-default));background-color:var(--xy-node-background-color, var(--xy-node-background-color-default))}.react-flow__node-input.selectable:hover,.react-flow__node-default.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:var(--xy-node-boxshadow-hover, var(--xy-node-boxshadow-hover-default))}.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:var(--xy-node-boxshadow-selected, var(--xy-node-boxshadow-selected-default))}.react-flow__node-group{background-color:var(--xy-node-group-background-color, var(--xy-node-group-background-color-default))}.react-flow__nodesselection-rect,.react-flow__selection{background:var(--xy-selection-background-color, var(--xy-selection-background-color-default));border:var(--xy-selection-border, var(--xy-selection-border-default))}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls-button:hover{background:var( --xy-controls-button-background-color-hover-props, var(--xy-controls-button-background-color-hover, var(--xy-controls-button-background-color-hover-default)) );color:var( --xy-controls-button-color-hover-props, var(--xy-controls-button-color-hover, var(--xy-controls-button-color-hover-default)) )}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__controls-button:last-child{border-bottom:none}.react-flow__controls.horizontal .react-flow__controls-button{border-bottom:none;border-right:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) )}.react-flow__controls.horizontal .react-flow__controls-button:last-child{border-right:none}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{width:5px;height:5px;border:1px solid #fff;border-radius:1px;background-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));translate:-50% -50%}.react-flow__resize-control.handle.left{left:0;top:50%}.react-flow__resize-control.handle.right{left:100%;top:50%}.react-flow__resize-control.handle.top{left:50%;top:0}.react-flow__resize-control.handle.bottom{left:50%;top:100%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));border-width:0;border-style:solid}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;transform:translate(-50%);top:0;height:100%}.react-flow__resize-control.line.left{left:0;border-left-width:1px}.react-flow__resize-control.line.right{left:100%;border-right-width:1px}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{height:1px;transform:translateY(-50%);left:0;width:100%}.react-flow__resize-control.line.top{top:0;border-top-width:1px}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.react-flow__edge-textbg{fill:var(--xy-edge-label-background-color, var(--xy-edge-label-background-color-default))}.react-flow__edge-text{fill:var(--xy-edge-label-color, var(--xy-edge-label-color-default))}";
|
|
7229
7229
|
function Pa(n) {
|
|
7230
7230
|
if (typeof n == "string" || typeof n == "number") return "" + n;
|
|
@@ -11521,11 +11521,11 @@ const Nae = {
|
|
|
11521
11521
|
position: "relative",
|
|
11522
11522
|
zIndex: 0
|
|
11523
11523
|
};
|
|
11524
|
-
function Lae({ nodes: n, edges: e, defaultNodes: t, defaultEdges: i, className: r, nodeTypes: o, edgeTypes: a, onNodeClick: s, onEdgeClick: l, onInit: c, onMove: d, onMoveStart: u, onMoveEnd: h, onConnect: m, onConnectStart: f, onConnectEnd: b, onClickConnectStart: w, onClickConnectEnd: k, onNodeMouseEnter: E, onNodeMouseMove: C, onNodeMouseLeave: T, onNodeContextMenu: M, onNodeDoubleClick: z, onNodeDragStart: V, onNodeDrag: H, onNodeDragStop: L, onNodesDelete: X, onEdgesDelete: F, onDelete: $, onSelectionChange: K, onSelectionDragStart: R, onSelectionDrag: Y, onSelectionDragStop: N, onSelectionContextMenu: re, onSelectionStart: ce, onSelectionEnd: ee, onBeforeDelete: ve, connectionMode: Me, connectionLineType: be = Ig.Bezier, connectionLineStyle: Ie, connectionLineComponent: Ee, connectionLineContainerStyle: ot, deleteKeyCode: gt = "Backspace", selectionKeyCode: tt = "Shift", selectionOnDrag: it = !1, selectionMode: Ke = Pw.Full, panActivationKeyCode: _t = "Space", multiSelectionKeyCode: vt = E2() ? "Meta" : "Control", zoomActivationKeyCode: de = E2() ? "Meta" : "Control", snapToGrid: nt, snapGrid: st, onlyRenderVisibleElements: zt = !1, selectNodesOnDrag: en, nodesDraggable: Gt, autoPanOnNodeFocus: G, nodesConnectable: se, nodesFocusable: ye, nodeOrigin: Pe = fj, edgesFocusable: Ze, edgesReconnectable: pe, elementsSelectable: Fe = !0, defaultViewport: Ne = poe, minZoom: Xt = 0.5, maxZoom: _n = 2, translateExtent: Rn = Mw, preventScrolling: le = !0, nodeExtent: Oe, defaultMarkerColor: ne = "#b1b1b7", zoomOnScroll: yt = !0, zoomOnPinch: je = !0, panOnScroll: At = !1, panOnScrollSpeed: Jt = 0.5, panOnScrollMode: pt = mf.Free, zoomOnDoubleClick: Rt = !0, panOnDrag: vn = !0, onPaneClick: Zn, onPaneMouseEnter: Dt, onPaneMouseMove: ui, onPaneMouseLeave: Br, onPaneScroll: to, onPaneContextMenu: ae, paneClickDistance: Ce = 0, nodeClickDistance: $e = 0, children: wt, onReconnect: Bt, onReconnectStart: An, onReconnectEnd: Kn, onEdgeContextMenu: mr, onEdgeDoubleClick: ii, onEdgeMouseEnter: pi, onEdgeMouseMove: Cs, onEdgeMouseLeave: fr, reconnectRadius: Do = 10, onNodesChange: oa, onEdgesChange: ji, noDragClassName: vr = "nodrag", noWheelClassName: li = "nowheel", noPanClassName: Rr = "nopan", fitView: Nn, fitViewOptions: Fa, connectOnClick: no, attributionPosition: io, proOptions: Ar, defaultEdgeOptions: aa, elevateNodesOnSelect: Pi, elevateEdgesOnSelect: $t, disableKeyboardA11y: Ir = !1, autoPanOnConnect: Gi, autoPanOnNodeDrag: wo, autoPanSpeed: ri, connectionRadius:
|
|
11524
|
+
function Lae({ nodes: n, edges: e, defaultNodes: t, defaultEdges: i, className: r, nodeTypes: o, edgeTypes: a, onNodeClick: s, onEdgeClick: l, onInit: c, onMove: d, onMoveStart: u, onMoveEnd: h, onConnect: m, onConnectStart: f, onConnectEnd: b, onClickConnectStart: w, onClickConnectEnd: k, onNodeMouseEnter: E, onNodeMouseMove: C, onNodeMouseLeave: T, onNodeContextMenu: M, onNodeDoubleClick: z, onNodeDragStart: V, onNodeDrag: H, onNodeDragStop: L, onNodesDelete: X, onEdgesDelete: F, onDelete: $, onSelectionChange: K, onSelectionDragStart: R, onSelectionDrag: Y, onSelectionDragStop: N, onSelectionContextMenu: re, onSelectionStart: ce, onSelectionEnd: ee, onBeforeDelete: ve, connectionMode: Me, connectionLineType: be = Ig.Bezier, connectionLineStyle: Ie, connectionLineComponent: Ee, connectionLineContainerStyle: ot, deleteKeyCode: gt = "Backspace", selectionKeyCode: tt = "Shift", selectionOnDrag: it = !1, selectionMode: Ke = Pw.Full, panActivationKeyCode: _t = "Space", multiSelectionKeyCode: vt = E2() ? "Meta" : "Control", zoomActivationKeyCode: de = E2() ? "Meta" : "Control", snapToGrid: nt, snapGrid: st, onlyRenderVisibleElements: zt = !1, selectNodesOnDrag: en, nodesDraggable: Gt, autoPanOnNodeFocus: G, nodesConnectable: se, nodesFocusable: ye, nodeOrigin: Pe = fj, edgesFocusable: Ze, edgesReconnectable: pe, elementsSelectable: Fe = !0, defaultViewport: Ne = poe, minZoom: Xt = 0.5, maxZoom: _n = 2, translateExtent: Rn = Mw, preventScrolling: le = !0, nodeExtent: Oe, defaultMarkerColor: ne = "#b1b1b7", zoomOnScroll: yt = !0, zoomOnPinch: je = !0, panOnScroll: At = !1, panOnScrollSpeed: Jt = 0.5, panOnScrollMode: pt = mf.Free, zoomOnDoubleClick: Rt = !0, panOnDrag: vn = !0, onPaneClick: Zn, onPaneMouseEnter: Dt, onPaneMouseMove: ui, onPaneMouseLeave: Br, onPaneScroll: to, onPaneContextMenu: ae, paneClickDistance: Ce = 0, nodeClickDistance: $e = 0, children: wt, onReconnect: Bt, onReconnectStart: An, onReconnectEnd: Kn, onEdgeContextMenu: mr, onEdgeDoubleClick: ii, onEdgeMouseEnter: pi, onEdgeMouseMove: Cs, onEdgeMouseLeave: fr, reconnectRadius: Do = 10, onNodesChange: oa, onEdgesChange: ji, noDragClassName: vr = "nodrag", noWheelClassName: li = "nowheel", noPanClassName: Rr = "nopan", fitView: Nn, fitViewOptions: Fa, connectOnClick: no, attributionPosition: io, proOptions: Ar, defaultEdgeOptions: aa, elevateNodesOnSelect: Pi, elevateEdgesOnSelect: $t, disableKeyboardA11y: Ir = !1, autoPanOnConnect: Gi, autoPanOnNodeDrag: wo, autoPanSpeed: ri, connectionRadius: Qi, isValidConnection: va, onError: za, style: Et, id: Ln, nodeDragThreshold: ya, connectionDragThreshold: te, viewport: ue, onViewportChange: mt, width: It, height: Mt, colorMode: xn = "light", debug: oi, onScroll: rr, ariaLabelConfig: Di, ...ba }, sc) {
|
|
11525
11525
|
const as = Ln || "1", lc = foe(xn), Us = Ue.useCallback((qc) => {
|
|
11526
|
-
qc.currentTarget.scrollTo({ top: 0, left: 0, behavior: "instant" }),
|
|
11527
|
-
}, [
|
|
11528
|
-
return _e.jsx("div", { "data-testid": "rf__wrapper", ...ba, onScroll: Us, style: { ...Et, ...Nae }, ref: sc, className: Pa(["react-flow", r, lc]), id: Ln, role: "application", children: _e.jsxs(Pae, { nodes: n, edges: e, width: It, height: Mt, fitView: Nn, fitViewOptions: Fa, minZoom: Xt, maxZoom: _n, nodeOrigin: Pe, nodeExtent: Oe, children: [_e.jsx(Iae, { onInit: c, onNodeClick: s, onEdgeClick: l, onNodeMouseEnter: E, onNodeMouseMove: C, onNodeMouseLeave: T, onNodeContextMenu: M, onNodeDoubleClick: z, nodeTypes: o, edgeTypes: a, connectionLineType: be, connectionLineStyle: Ie, connectionLineComponent: Ee, connectionLineContainerStyle: ot, selectionKeyCode: tt, selectionOnDrag: it, selectionMode: Ke, deleteKeyCode: gt, multiSelectionKeyCode: vt, panActivationKeyCode: _t, zoomActivationKeyCode: de, onlyRenderVisibleElements: zt, defaultViewport: Ne, translateExtent: Rn, minZoom: Xt, maxZoom: _n, preventScrolling: le, zoomOnScroll: yt, zoomOnPinch: je, zoomOnDoubleClick: Rt, panOnScroll: At, panOnScrollSpeed: Jt, panOnScrollMode: pt, panOnDrag: vn, onPaneClick: Zn, onPaneMouseEnter: Dt, onPaneMouseMove: ui, onPaneMouseLeave: Br, onPaneScroll: to, onPaneContextMenu: ae, paneClickDistance: Ce, nodeClickDistance: $e, onSelectionContextMenu: re, onSelectionStart: ce, onSelectionEnd: ee, onReconnect: Bt, onReconnectStart: An, onReconnectEnd: Kn, onEdgeContextMenu: mr, onEdgeDoubleClick: ii, onEdgeMouseEnter: pi, onEdgeMouseMove: Cs, onEdgeMouseLeave: fr, reconnectRadius: Do, defaultMarkerColor: ne, noDragClassName: vr, noWheelClassName: li, noPanClassName: Rr, rfId: as, disableKeyboardA11y: Ir, nodeExtent: Oe, viewport: ue, onViewportChange: mt }), _e.jsx(moe, { nodes: n, edges: e, defaultNodes: t, defaultEdges: i, onConnect: m, onConnectStart: f, onConnectEnd: b, onClickConnectStart: w, onClickConnectEnd: k, nodesDraggable: Gt, autoPanOnNodeFocus: G, nodesConnectable: se, nodesFocusable: ye, edgesFocusable: Ze, edgesReconnectable: pe, elementsSelectable: Fe, elevateNodesOnSelect: Pi, elevateEdgesOnSelect: $t, minZoom: Xt, maxZoom: _n, nodeExtent: Oe, onNodesChange: oa, onEdgesChange: ji, snapToGrid: nt, snapGrid: st, connectionMode: Me, translateExtent: Rn, connectOnClick: no, defaultEdgeOptions: aa, fitView: Nn, fitViewOptions: Fa, onNodesDelete: X, onEdgesDelete: F, onDelete: $, onNodeDragStart: V, onNodeDrag: H, onNodeDragStop: L, onSelectionDrag: Y, onSelectionDragStart: R, onSelectionDragStop: N, onMove: d, onMoveStart: u, onMoveEnd: h, noPanClassName: Rr, nodeOrigin: Pe, rfId: as, autoPanOnConnect: Gi, autoPanOnNodeDrag: wo, autoPanSpeed: ri, onError: za, connectionRadius:
|
|
11526
|
+
qc.currentTarget.scrollTo({ top: 0, left: 0, behavior: "instant" }), rr?.(qc);
|
|
11527
|
+
}, [rr]);
|
|
11528
|
+
return _e.jsx("div", { "data-testid": "rf__wrapper", ...ba, onScroll: Us, style: { ...Et, ...Nae }, ref: sc, className: Pa(["react-flow", r, lc]), id: Ln, role: "application", children: _e.jsxs(Pae, { nodes: n, edges: e, width: It, height: Mt, fitView: Nn, fitViewOptions: Fa, minZoom: Xt, maxZoom: _n, nodeOrigin: Pe, nodeExtent: Oe, children: [_e.jsx(Iae, { onInit: c, onNodeClick: s, onEdgeClick: l, onNodeMouseEnter: E, onNodeMouseMove: C, onNodeMouseLeave: T, onNodeContextMenu: M, onNodeDoubleClick: z, nodeTypes: o, edgeTypes: a, connectionLineType: be, connectionLineStyle: Ie, connectionLineComponent: Ee, connectionLineContainerStyle: ot, selectionKeyCode: tt, selectionOnDrag: it, selectionMode: Ke, deleteKeyCode: gt, multiSelectionKeyCode: vt, panActivationKeyCode: _t, zoomActivationKeyCode: de, onlyRenderVisibleElements: zt, defaultViewport: Ne, translateExtent: Rn, minZoom: Xt, maxZoom: _n, preventScrolling: le, zoomOnScroll: yt, zoomOnPinch: je, zoomOnDoubleClick: Rt, panOnScroll: At, panOnScrollSpeed: Jt, panOnScrollMode: pt, panOnDrag: vn, onPaneClick: Zn, onPaneMouseEnter: Dt, onPaneMouseMove: ui, onPaneMouseLeave: Br, onPaneScroll: to, onPaneContextMenu: ae, paneClickDistance: Ce, nodeClickDistance: $e, onSelectionContextMenu: re, onSelectionStart: ce, onSelectionEnd: ee, onReconnect: Bt, onReconnectStart: An, onReconnectEnd: Kn, onEdgeContextMenu: mr, onEdgeDoubleClick: ii, onEdgeMouseEnter: pi, onEdgeMouseMove: Cs, onEdgeMouseLeave: fr, reconnectRadius: Do, defaultMarkerColor: ne, noDragClassName: vr, noWheelClassName: li, noPanClassName: Rr, rfId: as, disableKeyboardA11y: Ir, nodeExtent: Oe, viewport: ue, onViewportChange: mt }), _e.jsx(moe, { nodes: n, edges: e, defaultNodes: t, defaultEdges: i, onConnect: m, onConnectStart: f, onConnectEnd: b, onClickConnectStart: w, onClickConnectEnd: k, nodesDraggable: Gt, autoPanOnNodeFocus: G, nodesConnectable: se, nodesFocusable: ye, edgesFocusable: Ze, edgesReconnectable: pe, elementsSelectable: Fe, elevateNodesOnSelect: Pi, elevateEdgesOnSelect: $t, minZoom: Xt, maxZoom: _n, nodeExtent: Oe, onNodesChange: oa, onEdgesChange: ji, snapToGrid: nt, snapGrid: st, connectionMode: Me, translateExtent: Rn, connectOnClick: no, defaultEdgeOptions: aa, fitView: Nn, fitViewOptions: Fa, onNodesDelete: X, onEdgesDelete: F, onDelete: $, onNodeDragStart: V, onNodeDrag: H, onNodeDragStop: L, onSelectionDrag: Y, onSelectionDragStart: R, onSelectionDragStop: N, onMove: d, onMoveStart: u, onMoveEnd: h, noPanClassName: Rr, nodeOrigin: Pe, rfId: as, autoPanOnConnect: Gi, autoPanOnNodeDrag: wo, autoPanSpeed: ri, onError: za, connectionRadius: Qi, isValidConnection: va, selectNodesOnDrag: en, nodeDragThreshold: ya, connectionDragThreshold: te, onBeforeDelete: ve, paneClickDistance: Ce, debug: oi, ariaLabelConfig: Di }), _e.jsx(uoe, { onSelectionChange: K }), wt, _e.jsx(aoe, { proOptions: Ar, position: io }), _e.jsx(ooe, { rfId: as, disableKeyboardA11y: Ir })] }) });
|
|
11529
11529
|
}
|
|
11530
11530
|
var Bae = wj(Lae);
|
|
11531
11531
|
const Rae = (n) => n.domNode?.querySelector(".react-flow__edgelabel-renderer");
|
|
@@ -19775,7 +19775,7 @@ Da.styles = [gn, nht];
|
|
|
19775
19775
|
Da.dependencies = {
|
|
19776
19776
|
"cx-asset-picker": ao,
|
|
19777
19777
|
"cx-bicolor-picker": ez,
|
|
19778
|
-
"cx-button":
|
|
19778
|
+
"cx-button": Zi,
|
|
19779
19779
|
"cx-divider": $c,
|
|
19780
19780
|
"cx-dropdown": xs,
|
|
19781
19781
|
"cx-icon": Hr,
|
|
@@ -32142,7 +32142,7 @@ if (typeof WeakMap < "u") {
|
|
|
32142
32142
|
if (n[r] == i) return n[r + 1];
|
|
32143
32143
|
}, n5 = (i, r) => (t == 10 && (t = 0), n[t++] = i, n[t++] = r);
|
|
32144
32144
|
}
|
|
32145
|
-
var
|
|
32145
|
+
var tr = class {
|
|
32146
32146
|
constructor(n, e, t, i) {
|
|
32147
32147
|
this.width = n, this.height = e, this.map = t, this.problems = i;
|
|
32148
32148
|
}
|
|
@@ -32270,7 +32270,7 @@ function Vft(n) {
|
|
|
32270
32270
|
m && (o || (o = [])).push({ type: "missing", row: c, n: m }), d++;
|
|
32271
32271
|
}
|
|
32272
32272
|
(e === 0 || t === 0) && (o || (o = [])).push({ type: "zero_sized" });
|
|
32273
|
-
const s = new
|
|
32273
|
+
const s = new tr(e, t, i, o);
|
|
32274
32274
|
let l = !1;
|
|
32275
32275
|
for (let c = 0; !l && c < a.length; c += 2)
|
|
32276
32276
|
a[c] != null && a[c + 1] < t && (l = !0);
|
|
@@ -32477,7 +32477,7 @@ function j3(n, e) {
|
|
|
32477
32477
|
return n.depth == e.depth && n.pos >= e.start(-1) && n.pos <= e.end(-1);
|
|
32478
32478
|
}
|
|
32479
32479
|
function H3(n, e, t) {
|
|
32480
|
-
const i = n.node(-1), r =
|
|
32480
|
+
const i = n.node(-1), r = tr.get(i), o = n.start(-1), a = r.nextCell(n.pos - o, e, t);
|
|
32481
32481
|
return a == null ? null : n.node(0).resolve(o + a);
|
|
32482
32482
|
}
|
|
32483
32483
|
function Hf(n, e, t = 1) {
|
|
@@ -32505,7 +32505,7 @@ var ci = class lh extends Xn {
|
|
|
32505
32505
|
// cells in the same table. They may be the same, to select a single
|
|
32506
32506
|
// cell.
|
|
32507
32507
|
constructor(e, t = e) {
|
|
32508
|
-
const i = e.node(-1), r =
|
|
32508
|
+
const i = e.node(-1), r = tr.get(i), o = e.start(-1), a = r.rectBetween(
|
|
32509
32509
|
e.pos - o,
|
|
32510
32510
|
t.pos - o
|
|
32511
32511
|
), s = e.node(0), l = r.cellsInRect(a).filter((d) => d != t.pos - o);
|
|
@@ -32533,7 +32533,7 @@ var ci = class lh extends Xn {
|
|
|
32533
32533
|
// Returns a rectangular slice of table rows containing the selected
|
|
32534
32534
|
// cells.
|
|
32535
32535
|
content() {
|
|
32536
|
-
const e = this.$anchorCell.node(-1), t =
|
|
32536
|
+
const e = this.$anchorCell.node(-1), t = tr.get(e), i = this.$anchorCell.start(-1), r = t.rectBetween(
|
|
32537
32537
|
this.$anchorCell.pos - i,
|
|
32538
32538
|
this.$headCell.pos - i
|
|
32539
32539
|
), o = {}, a = [];
|
|
@@ -32596,7 +32596,7 @@ var ci = class lh extends Xn {
|
|
|
32596
32596
|
this.replace(e, new ai(Gn.from(t), 0, 0));
|
|
32597
32597
|
}
|
|
32598
32598
|
forEachCell(e) {
|
|
32599
|
-
const t = this.$anchorCell.node(-1), i =
|
|
32599
|
+
const t = this.$anchorCell.node(-1), i = tr.get(t), r = this.$anchorCell.start(-1), o = i.cellsInRect(
|
|
32600
32600
|
i.rectBetween(
|
|
32601
32601
|
this.$anchorCell.pos - r,
|
|
32602
32602
|
this.$headCell.pos - r
|
|
@@ -32616,7 +32616,7 @@ var ci = class lh extends Xn {
|
|
|
32616
32616
|
// Returns the smallest column selection that covers the given anchor
|
|
32617
32617
|
// and head cell.
|
|
32618
32618
|
static colSelection(e, t = e) {
|
|
32619
|
-
const i = e.node(-1), r =
|
|
32619
|
+
const i = e.node(-1), r = tr.get(i), o = e.start(-1), a = r.findCell(e.pos - o), s = r.findCell(t.pos - o), l = e.node(0);
|
|
32620
32620
|
return a.top <= s.top ? (a.top > 0 && (e = l.resolve(o + r.map[a.left])), s.bottom < r.height && (t = l.resolve(
|
|
32621
32621
|
o + r.map[r.width * (r.height - 1) + s.right - 1]
|
|
32622
32622
|
))) : (s.top > 0 && (t = l.resolve(o + r.map[s.left])), a.bottom < r.height && (e = l.resolve(
|
|
@@ -32626,7 +32626,7 @@ var ci = class lh extends Xn {
|
|
|
32626
32626
|
// True if this selection goes all the way from the left to the
|
|
32627
32627
|
// right of the table.
|
|
32628
32628
|
isRowSelection() {
|
|
32629
|
-
const e = this.$anchorCell.node(-1), t =
|
|
32629
|
+
const e = this.$anchorCell.node(-1), t = tr.get(e), i = this.$anchorCell.start(-1), r = t.colCount(this.$anchorCell.pos - i), o = t.colCount(this.$headCell.pos - i);
|
|
32630
32630
|
if (Math.min(r, o) > 0) return !1;
|
|
32631
32631
|
const a = r + this.$anchorCell.nodeAfter.attrs.colspan, s = o + this.$headCell.nodeAfter.attrs.colspan;
|
|
32632
32632
|
return Math.max(a, s) == t.width;
|
|
@@ -32637,7 +32637,7 @@ var ci = class lh extends Xn {
|
|
|
32637
32637
|
// Returns the smallest row selection that covers the given anchor
|
|
32638
32638
|
// and head cell.
|
|
32639
32639
|
static rowSelection(e, t = e) {
|
|
32640
|
-
const i = e.node(-1), r =
|
|
32640
|
+
const i = e.node(-1), r = tr.get(i), o = e.start(-1), a = r.findCell(e.pos - o), s = r.findCell(t.pos - o), l = e.node(0);
|
|
32641
32641
|
return a.left <= s.left ? (a.left > 0 && (e = l.resolve(
|
|
32642
32642
|
o + r.map[a.top * r.width]
|
|
32643
32643
|
)), s.right < r.width && (t = l.resolve(
|
|
@@ -32723,7 +32723,7 @@ function nvt(n, e, t) {
|
|
|
32723
32723
|
const s = r.resolve(i.from + 1);
|
|
32724
32724
|
o = ci.rowSelection(s, s);
|
|
32725
32725
|
} else if (!t) {
|
|
32726
|
-
const s =
|
|
32726
|
+
const s = tr.get(i.node), l = i.from + 1, c = l + s.map[s.width * s.height - 1];
|
|
32727
32727
|
o = ci.create(r, l + 1, c);
|
|
32728
32728
|
}
|
|
32729
32729
|
} else i instanceof Fn && evt(i) ? o = Fn.create(r, i.from) : i instanceof Fn && tvt(i) && (o = Fn.create(r, i.$from.start(), i.$from.end()));
|
|
@@ -32750,7 +32750,7 @@ function pO(n, e) {
|
|
|
32750
32750
|
return e ? e.doc != n.doc && gU(e.doc, n.doc, 0, i) : n.doc.descendants(i), t;
|
|
32751
32751
|
}
|
|
32752
32752
|
function rvt(n, e, t, i) {
|
|
32753
|
-
const r =
|
|
32753
|
+
const r = tr.get(e);
|
|
32754
32754
|
if (!r.problems) return i;
|
|
32755
32755
|
i || (i = n.tr);
|
|
32756
32756
|
const o = [];
|
|
@@ -32809,7 +32809,7 @@ function rvt(n, e, t, i) {
|
|
|
32809
32809
|
return i.setMeta(ivt, { fixTables: !0 });
|
|
32810
32810
|
}
|
|
32811
32811
|
function La(n) {
|
|
32812
|
-
const e = n.selection, t = gb(n), i = t.node(-1), r = t.start(-1), o =
|
|
32812
|
+
const e = n.selection, t = gb(n), i = t.node(-1), r = t.start(-1), o = tr.get(i);
|
|
32813
32813
|
return { ...e instanceof ci ? o.rectBetween(
|
|
32814
32814
|
e.$anchorCell.pos - r,
|
|
32815
32815
|
e.$headCell.pos - r
|
|
@@ -32876,7 +32876,7 @@ function vU(n, e) {
|
|
|
32876
32876
|
const o = t.tableStart ? i.doc.nodeAt(t.tableStart - 1) : i.doc;
|
|
32877
32877
|
if (!o)
|
|
32878
32878
|
throw RangeError("No table found");
|
|
32879
|
-
t.table = o, t.map =
|
|
32879
|
+
t.table = o, t.map = tr.get(o);
|
|
32880
32880
|
}
|
|
32881
32881
|
e(i);
|
|
32882
32882
|
}
|
|
@@ -32960,7 +32960,7 @@ function xU(n, e) {
|
|
|
32960
32960
|
const o = t.tableStart ? i.doc.nodeAt(t.tableStart - 1) : i.doc;
|
|
32961
32961
|
if (!o)
|
|
32962
32962
|
throw RangeError("No table found");
|
|
32963
|
-
t.table = o, t.map =
|
|
32963
|
+
t.table = o, t.map = tr.get(t.table);
|
|
32964
32964
|
}
|
|
32965
32965
|
e(i);
|
|
32966
32966
|
}
|
|
@@ -33415,13 +33415,13 @@ function W2(n, e, t, i, r) {
|
|
|
33415
33415
|
let o = t ? n.doc.nodeAt(t - 1) : n.doc;
|
|
33416
33416
|
if (!o)
|
|
33417
33417
|
throw new Error("No table found");
|
|
33418
|
-
let a =
|
|
33418
|
+
let a = tr.get(o);
|
|
33419
33419
|
const { top: s, left: l } = i, c = l + r.width, d = s + r.height, u = n.tr;
|
|
33420
33420
|
let h = 0;
|
|
33421
33421
|
function m() {
|
|
33422
33422
|
if (o = t ? u.doc.nodeAt(t - 1) : u.doc, !o)
|
|
33423
33423
|
throw new Error("No table found");
|
|
33424
|
-
a =
|
|
33424
|
+
a = tr.get(o), h = u.mapping.maps.length;
|
|
33425
33425
|
}
|
|
33426
33426
|
fvt(u, a, o, t, c, d, h) && m(), aN(u, a, o, t, l, c, s, h) && m(), aN(u, a, o, t, l, c, d, h) && m(), sN(u, a, o, t, s, d, l, h) && m(), sN(u, a, o, t, s, d, c, h) && m();
|
|
33427
33427
|
for (let f = s; f < d; f++) {
|
|
@@ -33520,7 +33520,7 @@ function bvt(n, e, t) {
|
|
|
33520
33520
|
)
|
|
33521
33521
|
]
|
|
33522
33522
|
});
|
|
33523
|
-
const o = r.$anchorCell.node(-1), a = r.$anchorCell.start(-1), s =
|
|
33523
|
+
const o = r.$anchorCell.node(-1), a = r.$anchorCell.start(-1), s = tr.get(o).rectBetween(
|
|
33524
33524
|
r.$anchorCell.pos - a,
|
|
33525
33525
|
r.$headCell.pos - a
|
|
33526
33526
|
);
|
|
@@ -33531,7 +33531,7 @@ function bvt(n, e, t) {
|
|
|
33531
33531
|
n.state,
|
|
33532
33532
|
n.dispatch,
|
|
33533
33533
|
a,
|
|
33534
|
-
|
|
33534
|
+
tr.get(o.node(-1)).findCell(o.pos - a),
|
|
33535
33535
|
i
|
|
33536
33536
|
), !0;
|
|
33537
33537
|
} else
|
|
@@ -33720,7 +33720,7 @@ function _vt(n, e, t, i) {
|
|
|
33720
33720
|
}
|
|
33721
33721
|
if (a != r.activeHandle) {
|
|
33722
33722
|
if (!i && a !== -1) {
|
|
33723
|
-
const s = n.state.doc.resolve(a), l = s.node(-1), c =
|
|
33723
|
+
const s = n.state.doc.resolve(a), l = s.node(-1), c = tr.get(l), d = s.start(-1);
|
|
33724
33724
|
if (c.colCount(s.pos - d) + s.nodeAfter.attrs.colspan - 1 == c.width - 1)
|
|
33725
33725
|
return;
|
|
33726
33726
|
}
|
|
@@ -33800,7 +33800,7 @@ function cN(n, e, t, i) {
|
|
|
33800
33800
|
const { pos: a } = o, s = cu(n.state.doc.resolve(a));
|
|
33801
33801
|
if (!s) return -1;
|
|
33802
33802
|
if (t == "right") return s.pos;
|
|
33803
|
-
const l =
|
|
33803
|
+
const l = tr.get(s.node(-1)), c = s.start(-1), d = l.map.indexOf(s.pos - c);
|
|
33804
33804
|
return d % l.width == 0 ? -1 : c + l.map[d - 1];
|
|
33805
33805
|
}
|
|
33806
33806
|
function dN(n, e, t) {
|
|
@@ -33813,7 +33813,7 @@ function AU(n, e) {
|
|
|
33813
33813
|
);
|
|
33814
33814
|
}
|
|
33815
33815
|
function Evt(n, e, t) {
|
|
33816
|
-
const i = n.state.doc.resolve(e), r = i.node(-1), o =
|
|
33816
|
+
const i = n.state.doc.resolve(e), r = i.node(-1), o = tr.get(r), a = i.start(-1), s = o.colCount(i.pos - a) + i.nodeAfter.attrs.colspan - 1, l = n.state.tr;
|
|
33817
33817
|
for (let c = 0; c < o.height; c++) {
|
|
33818
33818
|
const d = c * o.width + s;
|
|
33819
33819
|
if (c && o.map[d] == o.map[d - o.width]) continue;
|
|
@@ -33825,7 +33825,7 @@ function Evt(n, e, t) {
|
|
|
33825
33825
|
l.docChanged && n.dispatch(l);
|
|
33826
33826
|
}
|
|
33827
33827
|
function uN(n, e, t, i) {
|
|
33828
|
-
const r = n.state.doc.resolve(e), o = r.node(-1), a = r.start(-1), s =
|
|
33828
|
+
const r = n.state.doc.resolve(e), o = r.node(-1), a = r.start(-1), s = tr.get(o).colCount(r.pos - a) + r.nodeAfter.attrs.colspan - 1;
|
|
33829
33829
|
let l = n.domAtPos(r.start(-1)).node;
|
|
33830
33830
|
for (; l && l.nodeName != "TABLE"; )
|
|
33831
33831
|
l = l.parentNode;
|
|
@@ -33846,7 +33846,7 @@ function Dvt(n, e) {
|
|
|
33846
33846
|
const i = [], r = n.doc.resolve(e), o = r.node(-1);
|
|
33847
33847
|
if (!o)
|
|
33848
33848
|
return bi.empty;
|
|
33849
|
-
const a =
|
|
33849
|
+
const a = tr.get(o), s = r.start(-1), l = a.colCount(r.pos - s) + r.nodeAfter.attrs.colspan - 1;
|
|
33850
33850
|
for (let c = 0; c < a.height; c++) {
|
|
33851
33851
|
const d = l + c * a.width;
|
|
33852
33852
|
if ((l == a.width - 1 || a.map[d] != a.map[d + 1]) && (c == 0 || a.map[d] != a.map[d - a.width])) {
|
|
@@ -35634,7 +35634,7 @@ let md = class extends hn {
|
|
|
35634
35634
|
Vv = /* @__PURE__ */ new WeakMap();
|
|
35635
35635
|
md.styles = [gn, byt];
|
|
35636
35636
|
md.dependencies = {
|
|
35637
|
-
"cx-button":
|
|
35637
|
+
"cx-button": Zi,
|
|
35638
35638
|
"cx-color-picker": bx,
|
|
35639
35639
|
"cx-divider": $c,
|
|
35640
35640
|
"cx-dropdown": xs,
|
|
@@ -35913,7 +35913,7 @@ var Dyt = Object.defineProperty, Iyt = Object.getOwnPropertyDescriptor, Sr = (n,
|
|
|
35913
35913
|
(a = n[o]) && (r = (i ? a(e, t, r) : a(r)) || r);
|
|
35914
35914
|
return i && r && Dyt(e, t, r), r;
|
|
35915
35915
|
};
|
|
35916
|
-
let
|
|
35916
|
+
let nr = class extends hn {
|
|
35917
35917
|
constructor() {
|
|
35918
35918
|
super(...arguments), this.localize = new Dn(this), this.hiddenTools = /* @__PURE__ */ new Set(), this.currentPage = 1, this.totalPages = 0, this.prevDisabled = !1, this.nextDisabled = !1, this.scaleValue = "page-width", this.zoomInDisabled = !1, this.zoomOutDisabled = !1, this.activeAnnotationMode = "none", this.suggestedEditButtonDisabled = !1, this.anchorCommentButtonDisabled = !1, this.drawButtonDisabled = !1, this.drawColor = "#ff9800", this.drawThickness = 1, this.drawOpacity = 100, this.showSuggestedEdits = !1, this.showAnchorComments = !1, this.showAnnotations = !1, this.cursorTool = "select", this.scrollMode = "vertical", this.spreadMode = "none", this.readingModeButtonDisabled = !1, this.presentationModeButtonDisabled = !1, this.loading = !1, this.enablePrint = !1, this.enableDownload = !1, this.enableAnnotation = !1, this.enableBookmark = !1, this.enablePresentationMode = !1, this.enableOpenFile = !1;
|
|
35919
35919
|
}
|
|
@@ -36044,7 +36044,7 @@ let tr = class extends hn {
|
|
|
36044
36044
|
"pdf-viewer-toolbar__tool": !0,
|
|
36045
36045
|
"pdf-viewer-toolbar__tool--hide": this.hiddenTools.has("scale")
|
|
36046
36046
|
})} size="small" data-label=${this.localize.term("zoom")} value=${this.scaleValue} @cx-change=${this.handleScaleChange}>${pn(
|
|
36047
|
-
|
|
36047
|
+
nr.getScaleOptions(this.localize),
|
|
36048
36048
|
(n) => n.value,
|
|
36049
36049
|
(n) => I`<cx-option value=${n.value}>${n.label}</cx-option>`
|
|
36050
36050
|
)}
|
|
@@ -36096,8 +36096,8 @@ let tr = class extends hn {
|
|
|
36096
36096
|
return I`<cx-resize-observer @cx-resize=${this.handleResize}><cx-space class="pdf-viewer-toolbar" part="base" align-items="center" wrap="nowrap" spacing="small">${this.renderLeft()} ${this.renderMiddle()} ${this.renderRight()}</cx-space></cx-resize-observer>`;
|
|
36097
36097
|
}
|
|
36098
36098
|
};
|
|
36099
|
-
|
|
36100
|
-
|
|
36099
|
+
nr.styles = [gn, Oyt];
|
|
36100
|
+
nr.dependencies = {
|
|
36101
36101
|
"cx-divider": $c,
|
|
36102
36102
|
"cx-icon-button": Cr,
|
|
36103
36103
|
"cx-input": eo,
|
|
@@ -36112,110 +36112,110 @@ tr.dependencies = {
|
|
|
36112
36112
|
};
|
|
36113
36113
|
Sr([
|
|
36114
36114
|
ge()
|
|
36115
|
-
],
|
|
36115
|
+
], nr.prototype, "hiddenTools", 2);
|
|
36116
36116
|
Sr([
|
|
36117
36117
|
O({ attribute: "current-page", reflect: !0, type: Number })
|
|
36118
|
-
],
|
|
36118
|
+
], nr.prototype, "currentPage", 2);
|
|
36119
36119
|
Sr([
|
|
36120
36120
|
O({ attribute: "total-pages", reflect: !0, type: Number })
|
|
36121
|
-
],
|
|
36121
|
+
], nr.prototype, "totalPages", 2);
|
|
36122
36122
|
Sr([
|
|
36123
36123
|
O({ attribute: "prev-disabled", reflect: !0, type: Boolean })
|
|
36124
|
-
],
|
|
36124
|
+
], nr.prototype, "prevDisabled", 2);
|
|
36125
36125
|
Sr([
|
|
36126
36126
|
O({ attribute: "next-disabled", reflect: !0, type: Boolean })
|
|
36127
|
-
],
|
|
36127
|
+
], nr.prototype, "nextDisabled", 2);
|
|
36128
36128
|
Sr([
|
|
36129
36129
|
O({ attribute: "scale-value", reflect: !0 })
|
|
36130
|
-
],
|
|
36130
|
+
], nr.prototype, "scaleValue", 2);
|
|
36131
36131
|
Sr([
|
|
36132
36132
|
O({ attribute: "zoom-in-disabled", reflect: !0, type: Boolean })
|
|
36133
|
-
],
|
|
36133
|
+
], nr.prototype, "zoomInDisabled", 2);
|
|
36134
36134
|
Sr([
|
|
36135
36135
|
O({ attribute: "zoom-out-disabled", reflect: !0, type: Boolean })
|
|
36136
|
-
],
|
|
36136
|
+
], nr.prototype, "zoomOutDisabled", 2);
|
|
36137
36137
|
Sr([
|
|
36138
36138
|
O({ attribute: "active-annotation-mode", reflect: !0 })
|
|
36139
|
-
],
|
|
36139
|
+
], nr.prototype, "activeAnnotationMode", 2);
|
|
36140
36140
|
Sr([
|
|
36141
36141
|
O({ attribute: "suggested-edit-button-disabled", reflect: !0, type: Boolean })
|
|
36142
|
-
],
|
|
36142
|
+
], nr.prototype, "suggestedEditButtonDisabled", 2);
|
|
36143
36143
|
Sr([
|
|
36144
36144
|
O({ attribute: "anchor-comment-button-disabled", reflect: !0, type: Boolean })
|
|
36145
|
-
],
|
|
36145
|
+
], nr.prototype, "anchorCommentButtonDisabled", 2);
|
|
36146
36146
|
Sr([
|
|
36147
36147
|
O({ attribute: "draw-button-disabled", reflect: !0, type: Boolean })
|
|
36148
|
-
],
|
|
36148
|
+
], nr.prototype, "drawButtonDisabled", 2);
|
|
36149
36149
|
Sr([
|
|
36150
36150
|
O({ attribute: "draw-color" })
|
|
36151
|
-
],
|
|
36151
|
+
], nr.prototype, "drawColor", 2);
|
|
36152
36152
|
Sr([
|
|
36153
36153
|
O({ attribute: "draw-thickness", type: Number })
|
|
36154
|
-
],
|
|
36154
|
+
], nr.prototype, "drawThickness", 2);
|
|
36155
36155
|
Sr([
|
|
36156
36156
|
O({ attribute: "draw-opacity", type: Number })
|
|
36157
|
-
],
|
|
36157
|
+
], nr.prototype, "drawOpacity", 2);
|
|
36158
36158
|
Sr([
|
|
36159
36159
|
O({
|
|
36160
36160
|
attribute: "show-suggested-edits",
|
|
36161
36161
|
reflect: !0,
|
|
36162
36162
|
type: Boolean
|
|
36163
36163
|
})
|
|
36164
|
-
],
|
|
36164
|
+
], nr.prototype, "showSuggestedEdits", 2);
|
|
36165
36165
|
Sr([
|
|
36166
36166
|
O({
|
|
36167
36167
|
attribute: "show-anchor-comments",
|
|
36168
36168
|
reflect: !0,
|
|
36169
36169
|
type: Boolean
|
|
36170
36170
|
})
|
|
36171
|
-
],
|
|
36171
|
+
], nr.prototype, "showAnchorComments", 2);
|
|
36172
36172
|
Sr([
|
|
36173
36173
|
O({ attribute: "show-annotations", reflect: !0, type: Boolean })
|
|
36174
|
-
],
|
|
36174
|
+
], nr.prototype, "showAnnotations", 2);
|
|
36175
36175
|
Sr([
|
|
36176
36176
|
O({ attribute: "cursor-tool", reflect: !0 })
|
|
36177
|
-
],
|
|
36177
|
+
], nr.prototype, "cursorTool", 2);
|
|
36178
36178
|
Sr([
|
|
36179
36179
|
O({ attribute: "scroll-mode", reflect: !0 })
|
|
36180
|
-
],
|
|
36180
|
+
], nr.prototype, "scrollMode", 2);
|
|
36181
36181
|
Sr([
|
|
36182
36182
|
O({ attribute: "spread-mode", reflect: !0 })
|
|
36183
|
-
],
|
|
36183
|
+
], nr.prototype, "spreadMode", 2);
|
|
36184
36184
|
Sr([
|
|
36185
36185
|
O({
|
|
36186
36186
|
attribute: "reading-mode-button-disabled",
|
|
36187
36187
|
reflect: !0,
|
|
36188
36188
|
type: Boolean
|
|
36189
36189
|
})
|
|
36190
|
-
],
|
|
36190
|
+
], nr.prototype, "readingModeButtonDisabled", 2);
|
|
36191
36191
|
Sr([
|
|
36192
36192
|
O({
|
|
36193
36193
|
attribute: "presentation-mode-button-disabled",
|
|
36194
36194
|
reflect: !0,
|
|
36195
36195
|
type: Boolean
|
|
36196
36196
|
})
|
|
36197
|
-
],
|
|
36197
|
+
], nr.prototype, "presentationModeButtonDisabled", 2);
|
|
36198
36198
|
Sr([
|
|
36199
36199
|
O({ reflect: !0, type: Boolean })
|
|
36200
|
-
],
|
|
36200
|
+
], nr.prototype, "loading", 2);
|
|
36201
36201
|
Sr([
|
|
36202
36202
|
O({ attribute: "enable-print", reflect: !0, type: Boolean })
|
|
36203
|
-
],
|
|
36203
|
+
], nr.prototype, "enablePrint", 2);
|
|
36204
36204
|
Sr([
|
|
36205
36205
|
O({ attribute: "enable-download", reflect: !0, type: Boolean })
|
|
36206
|
-
],
|
|
36206
|
+
], nr.prototype, "enableDownload", 2);
|
|
36207
36207
|
Sr([
|
|
36208
36208
|
O({ attribute: "enable-annotation", reflect: !0, type: Boolean })
|
|
36209
|
-
],
|
|
36209
|
+
], nr.prototype, "enableAnnotation", 2);
|
|
36210
36210
|
Sr([
|
|
36211
36211
|
O({ attribute: "enable-bookmark", reflect: !0, type: Boolean })
|
|
36212
|
-
],
|
|
36212
|
+
], nr.prototype, "enableBookmark", 2);
|
|
36213
36213
|
Sr([
|
|
36214
36214
|
O({ attribute: "enable-presentation-mode", reflect: !0, type: Boolean })
|
|
36215
|
-
],
|
|
36215
|
+
], nr.prototype, "enablePresentationMode", 2);
|
|
36216
36216
|
Sr([
|
|
36217
36217
|
O({ attribute: "enable-open-file", reflect: !0, type: Boolean })
|
|
36218
|
-
],
|
|
36218
|
+
], nr.prototype, "enableOpenFile", 2);
|
|
36219
36219
|
Sr([
|
|
36220
36220
|
Qe(
|
|
36221
36221
|
[
|
|
@@ -36228,10 +36228,10 @@ Sr([
|
|
|
36228
36228
|
],
|
|
36229
36229
|
{ waitUntilFirstUpdate: !0 }
|
|
36230
36230
|
)
|
|
36231
|
-
],
|
|
36232
|
-
|
|
36231
|
+
], nr.prototype, "handleEnabledControlsChange", 1);
|
|
36232
|
+
nr = Sr([
|
|
36233
36233
|
nn("cx-pdf-viewer-toolbar")
|
|
36234
|
-
],
|
|
36234
|
+
], nr);
|
|
36235
36235
|
let F1 = new AbortController();
|
|
36236
36236
|
async function LU({
|
|
36237
36237
|
filterName: n,
|
|
@@ -37083,7 +37083,7 @@ let vd = class extends hn {
|
|
|
37083
37083
|
};
|
|
37084
37084
|
vd.styles = [gn, Dbt];
|
|
37085
37085
|
vd.dependencies = {
|
|
37086
|
-
"cx-button":
|
|
37086
|
+
"cx-button": Zi,
|
|
37087
37087
|
"cx-card": am,
|
|
37088
37088
|
"cx-checkbox": qh,
|
|
37089
37089
|
"cx-icon-button": Cr,
|
|
@@ -37208,7 +37208,7 @@ let Bs = class extends hn {
|
|
|
37208
37208
|
};
|
|
37209
37209
|
Bs.styles = [gn, Nbt];
|
|
37210
37210
|
Bs.dependencies = {
|
|
37211
|
-
"cx-button":
|
|
37211
|
+
"cx-button": Zi,
|
|
37212
37212
|
"cx-icon": Hr,
|
|
37213
37213
|
"cx-icon-button": Cr,
|
|
37214
37214
|
"cx-option": ea,
|
|
@@ -37328,7 +37328,7 @@ let Rs = class extends hn {
|
|
|
37328
37328
|
A0 = /* @__PURE__ */ new WeakMap();
|
|
37329
37329
|
Rs.styles = [gn, Rbt];
|
|
37330
37330
|
Rs.dependencies = {
|
|
37331
|
-
"cx-button":
|
|
37331
|
+
"cx-button": Zi,
|
|
37332
37332
|
"cx-icon-button": Cr,
|
|
37333
37333
|
"cx-input": eo,
|
|
37334
37334
|
"cx-space": Ui,
|
|
@@ -37497,7 +37497,7 @@ let Vu = class extends hn {
|
|
|
37497
37497
|
};
|
|
37498
37498
|
Vu.styles = [gn, Hbt];
|
|
37499
37499
|
Vu.dependencies = {
|
|
37500
|
-
"cx-button":
|
|
37500
|
+
"cx-button": Zi,
|
|
37501
37501
|
"cx-divider": $c,
|
|
37502
37502
|
"cx-dropdown": xs,
|
|
37503
37503
|
"cx-icon": Hr,
|
|
@@ -37728,7 +37728,7 @@ function Qa(n, e) {
|
|
|
37728
37728
|
}
|
|
37729
37729
|
return n;
|
|
37730
37730
|
}
|
|
37731
|
-
function
|
|
37731
|
+
function pr(...n) {
|
|
37732
37732
|
return n.filter((e) => !!e).reduce((e, t) => {
|
|
37733
37733
|
const i = { ...e };
|
|
37734
37734
|
return Object.entries(t).forEach(([r, o]) => {
|
|
@@ -37756,7 +37756,7 @@ function ur(...n) {
|
|
|
37756
37756
|
function c5(n, e) {
|
|
37757
37757
|
return e.filter((t) => t.type === n.type.name).filter((t) => t.attribute.rendered).map((t) => t.attribute.renderHTML ? t.attribute.renderHTML(n.attrs) || {} : {
|
|
37758
37758
|
[t.name]: n.attrs[t.name]
|
|
37759
|
-
}).reduce((t, i) =>
|
|
37759
|
+
}).reduce((t, i) => pr(t, i), {});
|
|
37760
37760
|
}
|
|
37761
37761
|
function iq(n) {
|
|
37762
37762
|
return typeof n == "function";
|
|
@@ -40460,7 +40460,7 @@ const Rwt = new Xi("mention"), $wt = Ba.create({
|
|
|
40460
40460
|
renderHTML({ node: n, options: e }) {
|
|
40461
40461
|
return [
|
|
40462
40462
|
"span",
|
|
40463
|
-
|
|
40463
|
+
pr(this.HTMLAttributes, e.HTMLAttributes),
|
|
40464
40464
|
`${e.suggestion.char}${n.attrs.label ?? n.attrs.id}`
|
|
40465
40465
|
];
|
|
40466
40466
|
},
|
|
@@ -40516,7 +40516,7 @@ const Rwt = new Xi("mention"), $wt = Ba.create({
|
|
|
40516
40516
|
if (this.options.renderLabel !== void 0)
|
|
40517
40517
|
return [
|
|
40518
40518
|
"span",
|
|
40519
|
-
|
|
40519
|
+
pr(
|
|
40520
40520
|
{ class: this.name },
|
|
40521
40521
|
this.options.HTMLAttributes,
|
|
40522
40522
|
n
|
|
@@ -40527,7 +40527,7 @@ const Rwt = new Xi("mention"), $wt = Ba.create({
|
|
|
40527
40527
|
})
|
|
40528
40528
|
];
|
|
40529
40529
|
const t = { ...this.options };
|
|
40530
|
-
t.HTMLAttributes =
|
|
40530
|
+
t.HTMLAttributes = pr(
|
|
40531
40531
|
{ class: this.name },
|
|
40532
40532
|
this.options.HTMLAttributes,
|
|
40533
40533
|
n
|
|
@@ -40538,7 +40538,7 @@ const Rwt = new Xi("mention"), $wt = Ba.create({
|
|
|
40538
40538
|
});
|
|
40539
40539
|
return typeof i == "string" ? [
|
|
40540
40540
|
"span",
|
|
40541
|
-
|
|
40541
|
+
pr(
|
|
40542
40542
|
{ class: this.name },
|
|
40543
40543
|
this.options.HTMLAttributes,
|
|
40544
40544
|
n
|
|
@@ -40583,7 +40583,7 @@ const Rwt = new Xi("mention"), $wt = Ba.create({
|
|
|
40583
40583
|
];
|
|
40584
40584
|
},
|
|
40585
40585
|
renderHTML({ HTMLAttributes: n }) {
|
|
40586
|
-
return ["strong",
|
|
40586
|
+
return ["strong", pr(this.options.HTMLAttributes, n), 0];
|
|
40587
40587
|
},
|
|
40588
40588
|
addCommands() {
|
|
40589
40589
|
return {
|
|
@@ -40644,7 +40644,7 @@ const Rwt = new Xi("mention"), $wt = Ba.create({
|
|
|
40644
40644
|
];
|
|
40645
40645
|
},
|
|
40646
40646
|
renderHTML({ HTMLAttributes: n }) {
|
|
40647
|
-
return ["br",
|
|
40647
|
+
return ["br", pr(this.options.HTMLAttributes, n)];
|
|
40648
40648
|
},
|
|
40649
40649
|
renderText() {
|
|
40650
40650
|
return `
|
|
@@ -40731,7 +40731,7 @@ const Rwt = new Xi("mention"), $wt = Ba.create({
|
|
|
40731
40731
|
];
|
|
40732
40732
|
},
|
|
40733
40733
|
renderHTML({ HTMLAttributes: n }) {
|
|
40734
|
-
return ["em",
|
|
40734
|
+
return ["em", pr(this.options.HTMLAttributes, n), 0];
|
|
40735
40735
|
},
|
|
40736
40736
|
addCommands() {
|
|
40737
40737
|
return {
|
|
@@ -40789,7 +40789,7 @@ const Rwt = new Xi("mention"), $wt = Ba.create({
|
|
|
40789
40789
|
];
|
|
40790
40790
|
},
|
|
40791
40791
|
renderHTML({ HTMLAttributes: n }) {
|
|
40792
|
-
return ["li",
|
|
40792
|
+
return ["li", pr(this.options.HTMLAttributes, n), 0];
|
|
40793
40793
|
},
|
|
40794
40794
|
addKeyboardShortcuts() {
|
|
40795
40795
|
return {
|
|
@@ -40814,7 +40814,7 @@ const Rwt = new Xi("mention"), $wt = Ba.create({
|
|
|
40814
40814
|
];
|
|
40815
40815
|
},
|
|
40816
40816
|
renderHTML({ HTMLAttributes: n }) {
|
|
40817
|
-
return ["p",
|
|
40817
|
+
return ["p", pr(this.options.HTMLAttributes, n), 0];
|
|
40818
40818
|
},
|
|
40819
40819
|
addCommands() {
|
|
40820
40820
|
return {
|
|
@@ -40897,7 +40897,7 @@ const Rwt = new Xi("mention"), $wt = Ba.create({
|
|
|
40897
40897
|
];
|
|
40898
40898
|
},
|
|
40899
40899
|
renderHTML({ HTMLAttributes: n }) {
|
|
40900
|
-
return ["s",
|
|
40900
|
+
return ["s", pr(this.options.HTMLAttributes, n), 0];
|
|
40901
40901
|
},
|
|
40902
40902
|
addCommands() {
|
|
40903
40903
|
return {
|
|
@@ -40957,7 +40957,7 @@ const Rwt = new Xi("mention"), $wt = Ba.create({
|
|
|
40957
40957
|
];
|
|
40958
40958
|
},
|
|
40959
40959
|
renderHTML({ HTMLAttributes: n }) {
|
|
40960
|
-
return ["span",
|
|
40960
|
+
return ["span", pr(this.options.HTMLAttributes, n), 0];
|
|
40961
40961
|
},
|
|
40962
40962
|
addCommands() {
|
|
40963
40963
|
return {
|
|
@@ -41089,7 +41089,7 @@ const Rwt = new Xi("mention"), $wt = Ba.create({
|
|
|
41089
41089
|
];
|
|
41090
41090
|
},
|
|
41091
41091
|
renderHTML({ HTMLAttributes: n }) {
|
|
41092
|
-
return ["u",
|
|
41092
|
+
return ["u", pr(this.options.HTMLAttributes, n), 0];
|
|
41093
41093
|
},
|
|
41094
41094
|
addCommands() {
|
|
41095
41095
|
return {
|
|
@@ -41124,7 +41124,7 @@ const Rwt = new Xi("mention"), $wt = Ba.create({
|
|
|
41124
41124
|
];
|
|
41125
41125
|
},
|
|
41126
41126
|
renderHTML({ HTMLAttributes: n }) {
|
|
41127
|
-
return ["ul",
|
|
41127
|
+
return ["ul", pr(this.options.HTMLAttributes, n), 0];
|
|
41128
41128
|
},
|
|
41129
41129
|
addCommands() {
|
|
41130
41130
|
return {
|
|
@@ -42390,9 +42390,9 @@ const rS = vs.create({
|
|
|
42390
42390
|
defaultValidate: (e) => !!Mm(e, this.options.protocols),
|
|
42391
42391
|
protocols: this.options.protocols,
|
|
42392
42392
|
defaultProtocol: this.options.defaultProtocol
|
|
42393
|
-
}) ? ["a",
|
|
42393
|
+
}) ? ["a", pr(this.options.HTMLAttributes, n), 0] : [
|
|
42394
42394
|
"a",
|
|
42395
|
-
|
|
42395
|
+
pr(this.options.HTMLAttributes, { ...n, href: "" }),
|
|
42396
42396
|
0
|
|
42397
42397
|
];
|
|
42398
42398
|
},
|
|
@@ -42553,7 +42553,7 @@ const rS = vs.create({
|
|
|
42553
42553
|
},
|
|
42554
42554
|
renderHTML({ HTMLAttributes: n }) {
|
|
42555
42555
|
const { start: e, ...t } = n;
|
|
42556
|
-
return e === 1 ? ["ol",
|
|
42556
|
+
return e === 1 ? ["ol", pr(this.options.HTMLAttributes, t), 0] : ["ol", pr(this.options.HTMLAttributes, n), 0];
|
|
42557
42557
|
},
|
|
42558
42558
|
addCommands() {
|
|
42559
42559
|
return {
|
|
@@ -42845,7 +42845,7 @@ let To = class extends hn {
|
|
|
42845
42845
|
};
|
|
42846
42846
|
To.styles = [gn, Qxt];
|
|
42847
42847
|
To.dependencies = {
|
|
42848
|
-
"cx-button":
|
|
42848
|
+
"cx-button": Zi,
|
|
42849
42849
|
"cx-card": am,
|
|
42850
42850
|
"cx-icon-button": Cr,
|
|
42851
42851
|
"cx-input": eo,
|
|
@@ -42912,7 +42912,7 @@ var n1t = Object.defineProperty, i1t = Object.getOwnPropertyDescriptor, Ur = (n,
|
|
|
42912
42912
|
(a = n[o]) && (r = (i ? a(e, t, r) : a(r)) || r);
|
|
42913
42913
|
return i && r && n1t(e, t, r), r;
|
|
42914
42914
|
};
|
|
42915
|
-
let
|
|
42915
|
+
let hr = class extends hn {
|
|
42916
42916
|
constructor() {
|
|
42917
42917
|
super(), this.localize = new Dn(this), this.cortexPopupController = new bee(this), this.content = "", this.editable = !1, this.autoFocus = !1, this.canUpload = !1, this.canUseAIAssistant = !1, this.recording = !1, this.queryName = "", this.filterName = "", this.serviceName = "", this.autocompletionViewstate = "", this.maxCount = 300, this.queryDelay = 300, this.minQueryLength = 1, this.isEmpty = !1, this.originalContainer = null, this.fullscreen = !1, this.disabledFullscreen = !1, this.placeholder = this.localize.term("writeSomething"), this.extensions = [
|
|
42918
42918
|
...Jxt({ placeholder: this.placeholder }),
|
|
@@ -43165,8 +43165,8 @@ let pr = class extends hn {
|
|
|
43165
43165
|
})} @mousedown=${this.handleCommentMousedown}><div class="editor"></div>${this.renderMenu()}<cx-mentions></cx-mentions></div><cx-icon-button data-testid="close-button" class="close-button" name="close" @click=${this.handleFullscreenClick}></cx-icon-button>`;
|
|
43166
43166
|
}
|
|
43167
43167
|
};
|
|
43168
|
-
|
|
43169
|
-
|
|
43168
|
+
hr.styles = [gn, Zxt];
|
|
43169
|
+
hr.dependencies = {
|
|
43170
43170
|
"cx-comment-menu": To,
|
|
43171
43171
|
"cx-dialog": ns,
|
|
43172
43172
|
"cx-mentions": Nc,
|
|
@@ -43176,91 +43176,91 @@ pr.dependencies = {
|
|
|
43176
43176
|
};
|
|
43177
43177
|
Ur([
|
|
43178
43178
|
Tt(".editor")
|
|
43179
|
-
],
|
|
43179
|
+
], hr.prototype, "editorContainer", 2);
|
|
43180
43180
|
Ur([
|
|
43181
43181
|
Tt("cx-comment-menu")
|
|
43182
|
-
],
|
|
43182
|
+
], hr.prototype, "commentMenu", 2);
|
|
43183
43183
|
Ur([
|
|
43184
43184
|
Tt("cx-mentions")
|
|
43185
|
-
],
|
|
43185
|
+
], hr.prototype, "commentMention", 2);
|
|
43186
43186
|
Ur([
|
|
43187
43187
|
Tt(".overlay__content")
|
|
43188
|
-
],
|
|
43188
|
+
], hr.prototype, "overlayContent", 2);
|
|
43189
43189
|
Ur([
|
|
43190
43190
|
Tt(".container")
|
|
43191
|
-
],
|
|
43191
|
+
], hr.prototype, "container", 2);
|
|
43192
43192
|
Ur([
|
|
43193
43193
|
Tt("cx-dialog")
|
|
43194
|
-
],
|
|
43194
|
+
], hr.prototype, "dialog", 2);
|
|
43195
43195
|
Ur([
|
|
43196
43196
|
O({ type: String })
|
|
43197
|
-
],
|
|
43197
|
+
], hr.prototype, "content", 2);
|
|
43198
43198
|
Ur([
|
|
43199
43199
|
O({ reflect: !0, type: Boolean })
|
|
43200
|
-
],
|
|
43200
|
+
], hr.prototype, "editable", 2);
|
|
43201
43201
|
Ur([
|
|
43202
43202
|
O({ attribute: "autofocus", reflect: !0, type: Boolean })
|
|
43203
|
-
],
|
|
43203
|
+
], hr.prototype, "autoFocus", 2);
|
|
43204
43204
|
Ur([
|
|
43205
43205
|
O({ attribute: "can-upload", reflect: !0, type: Boolean })
|
|
43206
|
-
],
|
|
43206
|
+
], hr.prototype, "canUpload", 2);
|
|
43207
43207
|
Ur([
|
|
43208
43208
|
O({ attribute: "can-use-ai-assistant", reflect: !0, type: Boolean })
|
|
43209
|
-
],
|
|
43209
|
+
], hr.prototype, "canUseAIAssistant", 2);
|
|
43210
43210
|
Ur([
|
|
43211
43211
|
O({ reflect: !0, type: Boolean })
|
|
43212
|
-
],
|
|
43212
|
+
], hr.prototype, "recording", 2);
|
|
43213
43213
|
Ur([
|
|
43214
43214
|
O({ attribute: "query-name", reflect: !0, type: String })
|
|
43215
|
-
],
|
|
43215
|
+
], hr.prototype, "queryName", 2);
|
|
43216
43216
|
Ur([
|
|
43217
43217
|
O({ attribute: "filter-name", reflect: !0, type: String })
|
|
43218
|
-
],
|
|
43218
|
+
], hr.prototype, "filterName", 2);
|
|
43219
43219
|
Ur([
|
|
43220
43220
|
O({ attribute: "service-name", reflect: !0, type: String })
|
|
43221
|
-
],
|
|
43221
|
+
], hr.prototype, "serviceName", 2);
|
|
43222
43222
|
Ur([
|
|
43223
43223
|
O({ attribute: "autocompletion-viewstate", type: String })
|
|
43224
|
-
],
|
|
43224
|
+
], hr.prototype, "autocompletionViewstate", 2);
|
|
43225
43225
|
Ur([
|
|
43226
43226
|
O({ attribute: "max-count", reflect: !0, type: Number })
|
|
43227
|
-
],
|
|
43227
|
+
], hr.prototype, "maxCount", 2);
|
|
43228
43228
|
Ur([
|
|
43229
43229
|
O({ attribute: "query-delay", reflect: !0, type: Number })
|
|
43230
|
-
],
|
|
43230
|
+
], hr.prototype, "queryDelay", 2);
|
|
43231
43231
|
Ur([
|
|
43232
43232
|
O({ attribute: "min-query-length", reflect: !0, type: Number })
|
|
43233
|
-
],
|
|
43233
|
+
], hr.prototype, "minQueryLength", 2);
|
|
43234
43234
|
Ur([
|
|
43235
43235
|
O({ attribute: "is-empty", reflect: !0, type: Boolean })
|
|
43236
|
-
],
|
|
43236
|
+
], hr.prototype, "isEmpty", 2);
|
|
43237
43237
|
Ur([
|
|
43238
43238
|
ge()
|
|
43239
|
-
],
|
|
43239
|
+
], hr.prototype, "originalContainer", 2);
|
|
43240
43240
|
Ur([
|
|
43241
43241
|
ge()
|
|
43242
|
-
],
|
|
43242
|
+
], hr.prototype, "editor", 2);
|
|
43243
43243
|
Ur([
|
|
43244
43244
|
O({ attribute: "fullscreen", reflect: !0, type: Boolean })
|
|
43245
|
-
],
|
|
43245
|
+
], hr.prototype, "fullscreen", 2);
|
|
43246
43246
|
Ur([
|
|
43247
43247
|
O({ attribute: "disabled-fullscreen", reflect: !0, type: Boolean })
|
|
43248
|
-
],
|
|
43248
|
+
], hr.prototype, "disabledFullscreen", 2);
|
|
43249
43249
|
Ur([
|
|
43250
43250
|
O({ type: String })
|
|
43251
|
-
],
|
|
43251
|
+
], hr.prototype, "placeholder", 2);
|
|
43252
43252
|
Ur([
|
|
43253
43253
|
Qe("editable", { waitUntilFirstUpdate: !0 })
|
|
43254
|
-
],
|
|
43254
|
+
], hr.prototype, "handleEditableChange", 1);
|
|
43255
43255
|
Ur([
|
|
43256
43256
|
Qe("placeholder", { waitUntilFirstUpdate: !0 })
|
|
43257
|
-
],
|
|
43257
|
+
], hr.prototype, "handlePlaceholderChange", 1);
|
|
43258
43258
|
Ur([
|
|
43259
43259
|
Qe("fullscreen", { waitUntilFirstUpdate: !0 })
|
|
43260
|
-
],
|
|
43261
|
-
|
|
43260
|
+
], hr.prototype, "handleFullscreenChange", 1);
|
|
43261
|
+
hr = Ur([
|
|
43262
43262
|
nn("cx-comment")
|
|
43263
|
-
],
|
|
43263
|
+
], hr);
|
|
43264
43264
|
const G1 = new Xi("time"), Sq = zr.create({
|
|
43265
43265
|
addCommands() {
|
|
43266
43266
|
return {
|
|
@@ -44018,7 +44018,7 @@ var A1t = Object.defineProperty, E1t = Object.getOwnPropertyDescriptor, O1t = Ob
|
|
|
44018
44018
|
(a = n[o]) && (r = (i ? a(e, t, r) : a(r)) || r);
|
|
44019
44019
|
return i && r && A1t(e, t, r), r;
|
|
44020
44020
|
}, Mq = (n, e, t) => D1t(O1t(n), t, e);
|
|
44021
|
-
let pa = class extends
|
|
44021
|
+
let pa = class extends hr {
|
|
44022
44022
|
constructor() {
|
|
44023
44023
|
super(...arguments), this.markerController = new T1t(this), this.canUseTimeBased = !1, this.hideTimeBasedIcon = !1, this.canAnnotate = !1, this.timeBased = !1, this.noAutoTimeBasedOnAnnotate = !1, this.submitOnEnter = !1, this.time = [], this.timecodeMode = d6.Standard, this.frameRate = 24;
|
|
44024
44024
|
}
|
|
@@ -44346,7 +44346,7 @@ let Pr = class extends hn {
|
|
|
44346
44346
|
Pr.styles = [gn, I1t];
|
|
44347
44347
|
Pr.dependencies = {
|
|
44348
44348
|
"cx-asset-link-format": Eee,
|
|
44349
|
-
"cx-button":
|
|
44349
|
+
"cx-button": Zi,
|
|
44350
44350
|
"cx-cropper": $ee,
|
|
44351
44351
|
"cx-dialog": ns,
|
|
44352
44352
|
"cx-grid": ou,
|
|
@@ -44515,7 +44515,7 @@ let Dp = class extends hn {
|
|
|
44515
44515
|
};
|
|
44516
44516
|
Dp.styles = [gn, N1t];
|
|
44517
44517
|
Dp.dependencies = {
|
|
44518
|
-
"cx-button":
|
|
44518
|
+
"cx-button": Zi,
|
|
44519
44519
|
"cx-card": am,
|
|
44520
44520
|
"cx-grid": ou,
|
|
44521
44521
|
"cx-grid-item": au,
|
|
@@ -44639,7 +44639,7 @@ Nq = function(n = []) {
|
|
|
44639
44639
|
};
|
|
44640
44640
|
ys.styles = [gn, R1t];
|
|
44641
44641
|
ys.dependencies = {
|
|
44642
|
-
"cx-button":
|
|
44642
|
+
"cx-button": Zi,
|
|
44643
44643
|
"cx-space": Ui,
|
|
44644
44644
|
"cx-table": m6
|
|
44645
44645
|
};
|
|
@@ -45238,13 +45238,13 @@ let Qn = class extends hn {
|
|
|
45238
45238
|
handleClick(n) {
|
|
45239
45239
|
}
|
|
45240
45240
|
handleMouseEnter(n) {
|
|
45241
|
-
n.target && n.target instanceof
|
|
45241
|
+
n.target && n.target instanceof ur && (this.hoveredItemId = n.target.dataset.id ?? void 0);
|
|
45242
45242
|
}
|
|
45243
45243
|
handleMouseLeave(n) {
|
|
45244
|
-
n.target && n.target instanceof
|
|
45244
|
+
n.target && n.target instanceof ur && (this.hoveredItemId = void 0);
|
|
45245
45245
|
}
|
|
45246
45246
|
handleKeyDown(n) {
|
|
45247
|
-
if (n.target instanceof
|
|
45247
|
+
if (n.target instanceof ur && (n.key === "Enter" || n.key === " ")) {
|
|
45248
45248
|
n.preventDefault(), n.target.click();
|
|
45249
45249
|
return;
|
|
45250
45250
|
}
|
|
@@ -45255,7 +45255,7 @@ let Qn = class extends hn {
|
|
|
45255
45255
|
"ArrowDown",
|
|
45256
45256
|
"Home",
|
|
45257
45257
|
"End"
|
|
45258
|
-
].includes(n.key) && n.target instanceof
|
|
45258
|
+
].includes(n.key) && n.target instanceof ur) {
|
|
45259
45259
|
const e = this.localize.dir() === "rtl", t = !e && n.key === "ArrowRight" || e && n.key === "ArrowLeft", i = !e && n.key === "ArrowLeft" || e && n.key === "ArrowRight", r = n.key === "ArrowDown", o = n.key === "ArrowUp";
|
|
45260
45260
|
n.preventDefault();
|
|
45261
45261
|
const a = n.target.dataset.column?.split(" ").map(Number), s = Number.parseInt(n.target.dataset.row || "0", 10);
|
|
@@ -45396,7 +45396,7 @@ Qn.styles = [gn, G1t];
|
|
|
45396
45396
|
Qn.SCROLL_THRESHOLD = 50;
|
|
45397
45397
|
Qn.ROW_RELEASE_TIMEOUT = 2e3;
|
|
45398
45398
|
Qn.dependencies = {
|
|
45399
|
-
"cx-gallery-item":
|
|
45399
|
+
"cx-gallery-item": ur,
|
|
45400
45400
|
"cx-tooltip": Ao
|
|
45401
45401
|
};
|
|
45402
45402
|
hi([
|
|
@@ -46727,14 +46727,14 @@ let Tn = class extends hn {
|
|
|
46727
46727
|
}
|
|
46728
46728
|
}
|
|
46729
46729
|
handleItemListKeyDown(n) {
|
|
46730
|
-
if (n.target instanceof
|
|
46730
|
+
if (n.target instanceof ur && (n.key === "Enter" || n.key === " ") && (n.preventDefault(), n.target.click()), [
|
|
46731
46731
|
"ArrowLeft",
|
|
46732
46732
|
"ArrowRight",
|
|
46733
46733
|
"ArrowUp",
|
|
46734
46734
|
"ArrowDown",
|
|
46735
46735
|
"Home",
|
|
46736
46736
|
"End"
|
|
46737
|
-
].includes(n.key) && n.target instanceof
|
|
46737
|
+
].includes(n.key) && n.target instanceof ur) {
|
|
46738
46738
|
const e = this.localize.dir() === "rtl", t = !e && n.key === "ArrowRight" || e && n.key === "ArrowLeft", i = !e && n.key === "ArrowLeft" || e && n.key === "ArrowRight";
|
|
46739
46739
|
n.preventDefault();
|
|
46740
46740
|
let r;
|
|
@@ -47150,14 +47150,14 @@ let Tn = class extends hn {
|
|
|
47150
47150
|
this.dotPaginationFocusCount++;
|
|
47151
47151
|
}
|
|
47152
47152
|
handleMouseEnter(n) {
|
|
47153
|
-
if (n.target && n.target instanceof
|
|
47153
|
+
if (n.target && n.target instanceof ur) {
|
|
47154
47154
|
if (this.hoverLeaveTimeout && (clearTimeout(this.hoverLeaveTimeout), this.hoverLeaveTimeout = void 0), n.target.isInert)
|
|
47155
47155
|
return;
|
|
47156
47156
|
this.hoveredItemId = n.target.dataset.id ?? void 0;
|
|
47157
47157
|
}
|
|
47158
47158
|
}
|
|
47159
47159
|
handleMouseLeave(n) {
|
|
47160
|
-
if (n.target && n.target instanceof
|
|
47160
|
+
if (n.target && n.target instanceof ur) {
|
|
47161
47161
|
const e = Number.parseFloat(
|
|
47162
47162
|
getComputedStyle(this).getPropertyValue(
|
|
47163
47163
|
"--transition-transform-duration"
|
|
@@ -47304,7 +47304,7 @@ Tn.styles = [
|
|
|
47304
47304
|
];
|
|
47305
47305
|
Tn.dependencies = {
|
|
47306
47306
|
"cx-carousel-dot-pagination": S5,
|
|
47307
|
-
"cx-gallery-item":
|
|
47307
|
+
"cx-gallery-item": ur,
|
|
47308
47308
|
"cx-icon": Hr,
|
|
47309
47309
|
"cx-popup": Qd,
|
|
47310
47310
|
"cx-resize-observer": a3,
|
|
@@ -50453,7 +50453,7 @@ let Mp = class extends hn {
|
|
|
50453
50453
|
};
|
|
50454
50454
|
Mp.styles = [gn, zCt];
|
|
50455
50455
|
Mp.dependencies = {
|
|
50456
|
-
"cx-button":
|
|
50456
|
+
"cx-button": Zi,
|
|
50457
50457
|
"cx-chatbot-popup": tu,
|
|
50458
50458
|
"cx-icon": Hr
|
|
50459
50459
|
};
|
|
@@ -51704,7 +51704,7 @@ let Pp = class extends hn {
|
|
|
51704
51704
|
};
|
|
51705
51705
|
Pp.styles = [gn, qCt];
|
|
51706
51706
|
Pp.dependencies = {
|
|
51707
|
-
"cx-button":
|
|
51707
|
+
"cx-button": Zi,
|
|
51708
51708
|
"cx-details": wx,
|
|
51709
51709
|
"cx-input": eo,
|
|
51710
51710
|
"cx-option": ea,
|
|
@@ -52021,7 +52021,7 @@ let bs = class extends hn {
|
|
|
52021
52021
|
bs.styles = t3t;
|
|
52022
52022
|
bs.dependencies = {
|
|
52023
52023
|
"cx-alert": EQ,
|
|
52024
|
-
"cx-button":
|
|
52024
|
+
"cx-button": Zi,
|
|
52025
52025
|
"cx-cluster-management-service": nu,
|
|
52026
52026
|
"cx-dialog": ns,
|
|
52027
52027
|
"cx-format-date": jQ,
|
|
@@ -52114,7 +52114,7 @@ var p3t = Object.defineProperty, h3t = Object.getOwnPropertyDescriptor, g3t = Ob
|
|
|
52114
52114
|
(a = n[o]) && (r = (i ? a(e, t, r) : a(r)) || r);
|
|
52115
52115
|
return i && r && p3t(e, t, r), r;
|
|
52116
52116
|
}, f3t = (n, e, t) => m3t(g3t(n), t, e);
|
|
52117
|
-
let Ul = class extends
|
|
52117
|
+
let Ul = class extends hr {
|
|
52118
52118
|
constructor() {
|
|
52119
52119
|
super(...arguments), this.canUseTimeBased = !1, this.hideTimeBasedIcon = !1, this.timeBased = !1, this.time = [], this.timecodeMode = d6.Standard, this.frameRate = 24, this.disableFullscreen = !1;
|
|
52120
52120
|
}
|
|
@@ -53634,7 +53634,7 @@ var nSt = Object.defineProperty, iSt = Object.getOwnPropertyDescriptor, Nr = (n,
|
|
|
53634
53634
|
const rSt = {
|
|
53635
53635
|
resizable: !1
|
|
53636
53636
|
};
|
|
53637
|
-
let
|
|
53637
|
+
let sr = class extends hn {
|
|
53638
53638
|
constructor() {
|
|
53639
53639
|
super(...arguments), this.localize = new Dn(this), this.data = [], this.canAdd = !1, this.addDialogLabel = "", this.editDialogLabel = "", this.displayField = "", this.descriptionField = "", this.addItemText = "", this.sampleItem = {}, this.useEvents = !1, this.sortable = !1, this.loadingEvent = "", this.loadingItemIndex = void 0, this.columns = [], this.noHeader = !1, this.rowHeight = 40, this.defaultLanguage = "", this.supportedLanguages = ["en"], this.boundary = document.body, this.onRequestAsset = void 0, this.editedItem = null, this.isAdding = !1, this.columnsMap = {}, this.sortedEntries = [], this.translatableControls = [], this.disableCloseConfigDialog = !1, this.hoverMenu = {
|
|
53640
53640
|
data: [
|
|
@@ -53868,10 +53868,10 @@ let ar = class extends hn {
|
|
|
53868
53868
|
)}</cx-space>`;
|
|
53869
53869
|
}
|
|
53870
53870
|
};
|
|
53871
|
-
|
|
53872
|
-
|
|
53871
|
+
sr.styles = [gn, tSt];
|
|
53872
|
+
sr.dependencies = {
|
|
53873
53873
|
"cx-asset-picker": ao,
|
|
53874
|
-
"cx-button":
|
|
53874
|
+
"cx-button": Zi,
|
|
53875
53875
|
"cx-dialog": ns,
|
|
53876
53876
|
"cx-dynamic-select": pb,
|
|
53877
53877
|
"cx-grid": ou,
|
|
@@ -53891,10 +53891,10 @@ ar.dependencies = {
|
|
|
53891
53891
|
};
|
|
53892
53892
|
Nr([
|
|
53893
53893
|
Tt("cx-dialog")
|
|
53894
|
-
],
|
|
53894
|
+
], sr.prototype, "dialog", 2);
|
|
53895
53895
|
Nr([
|
|
53896
53896
|
Tt("cx-table")
|
|
53897
|
-
],
|
|
53897
|
+
], sr.prototype, "table", 2);
|
|
53898
53898
|
Nr([
|
|
53899
53899
|
O({
|
|
53900
53900
|
converter: {
|
|
@@ -53911,52 +53911,52 @@ Nr([
|
|
|
53911
53911
|
reflect: !1,
|
|
53912
53912
|
type: String
|
|
53913
53913
|
})
|
|
53914
|
-
],
|
|
53914
|
+
], sr.prototype, "data", 2);
|
|
53915
53915
|
Nr([
|
|
53916
53916
|
O({ attribute: "can-add", reflect: !0, type: Boolean })
|
|
53917
|
-
],
|
|
53917
|
+
], sr.prototype, "canAdd", 2);
|
|
53918
53918
|
Nr([
|
|
53919
53919
|
O({ attribute: "add-dialog-label", reflect: !0, type: String })
|
|
53920
|
-
],
|
|
53920
|
+
], sr.prototype, "addDialogLabel", 2);
|
|
53921
53921
|
Nr([
|
|
53922
53922
|
O({ attribute: "edit-dialog-label", reflect: !0, type: String })
|
|
53923
|
-
],
|
|
53923
|
+
], sr.prototype, "editDialogLabel", 2);
|
|
53924
53924
|
Nr([
|
|
53925
53925
|
O({ attribute: "display-field", reflect: !0, type: String })
|
|
53926
|
-
],
|
|
53926
|
+
], sr.prototype, "displayField", 2);
|
|
53927
53927
|
Nr([
|
|
53928
53928
|
O({ attribute: "description-field", reflect: !0, type: String })
|
|
53929
|
-
],
|
|
53929
|
+
], sr.prototype, "descriptionField", 2);
|
|
53930
53930
|
Nr([
|
|
53931
53931
|
O({ attribute: "add-item-text", reflect: !0, type: String })
|
|
53932
|
-
],
|
|
53932
|
+
], sr.prototype, "addItemText", 2);
|
|
53933
53933
|
Nr([
|
|
53934
53934
|
O({ attribute: "sample-item", type: Object })
|
|
53935
|
-
],
|
|
53935
|
+
], sr.prototype, "sampleItem", 2);
|
|
53936
53936
|
Nr([
|
|
53937
53937
|
O({ attribute: "use-events", reflect: !0, type: Boolean })
|
|
53938
|
-
],
|
|
53938
|
+
], sr.prototype, "useEvents", 2);
|
|
53939
53939
|
Nr([
|
|
53940
53940
|
O({ reflect: !0, type: Boolean })
|
|
53941
|
-
],
|
|
53941
|
+
], sr.prototype, "sortable", 2);
|
|
53942
53942
|
Nr([
|
|
53943
53943
|
O({ attribute: "loading-event", reflect: !0, type: String })
|
|
53944
|
-
],
|
|
53944
|
+
], sr.prototype, "loadingEvent", 2);
|
|
53945
53945
|
Nr([
|
|
53946
53946
|
O({ attribute: "loading-item-index", reflect: !0, type: String })
|
|
53947
|
-
],
|
|
53947
|
+
], sr.prototype, "loadingItemIndex", 2);
|
|
53948
53948
|
Nr([
|
|
53949
53949
|
O({ attribute: "columns", reflect: !1, type: Array })
|
|
53950
|
-
],
|
|
53950
|
+
], sr.prototype, "columns", 2);
|
|
53951
53951
|
Nr([
|
|
53952
53952
|
O({ attribute: "no-header", reflect: !0, type: Boolean })
|
|
53953
|
-
],
|
|
53953
|
+
], sr.prototype, "noHeader", 2);
|
|
53954
53954
|
Nr([
|
|
53955
53955
|
O({ attribute: "row-height", reflect: !0, type: Number })
|
|
53956
|
-
],
|
|
53956
|
+
], sr.prototype, "rowHeight", 2);
|
|
53957
53957
|
Nr([
|
|
53958
53958
|
O({ attribute: "default-language", reflect: !0, type: String })
|
|
53959
|
-
],
|
|
53959
|
+
], sr.prototype, "defaultLanguage", 2);
|
|
53960
53960
|
Nr([
|
|
53961
53961
|
O({
|
|
53962
53962
|
attribute: "supported-languages",
|
|
@@ -53967,44 +53967,44 @@ Nr([
|
|
|
53967
53967
|
reflect: !0,
|
|
53968
53968
|
type: Array
|
|
53969
53969
|
})
|
|
53970
|
-
],
|
|
53970
|
+
], sr.prototype, "supportedLanguages", 2);
|
|
53971
53971
|
Nr([
|
|
53972
53972
|
O({ type: Object })
|
|
53973
|
-
],
|
|
53973
|
+
], sr.prototype, "boundary", 2);
|
|
53974
53974
|
Nr([
|
|
53975
53975
|
O({ attribute: "on-request-asset", type: Function })
|
|
53976
|
-
],
|
|
53976
|
+
], sr.prototype, "onRequestAsset", 2);
|
|
53977
53977
|
Nr([
|
|
53978
53978
|
ge()
|
|
53979
|
-
],
|
|
53979
|
+
], sr.prototype, "editedItem", 2);
|
|
53980
53980
|
Nr([
|
|
53981
53981
|
ge()
|
|
53982
|
-
],
|
|
53982
|
+
], sr.prototype, "isAdding", 2);
|
|
53983
53983
|
Nr([
|
|
53984
53984
|
ge()
|
|
53985
|
-
],
|
|
53985
|
+
], sr.prototype, "columnsMap", 2);
|
|
53986
53986
|
Nr([
|
|
53987
53987
|
ge()
|
|
53988
|
-
],
|
|
53988
|
+
], sr.prototype, "sortedEntries", 2);
|
|
53989
53989
|
Nr([
|
|
53990
53990
|
ge()
|
|
53991
|
-
],
|
|
53991
|
+
], sr.prototype, "translatableControls", 2);
|
|
53992
53992
|
Nr([
|
|
53993
53993
|
Qe("columns"),
|
|
53994
53994
|
Qe("supportedLanguages", { waitUntilFirstUpdate: !0 })
|
|
53995
|
-
],
|
|
53995
|
+
], sr.prototype, "handleColumnsChange", 1);
|
|
53996
53996
|
Nr([
|
|
53997
53997
|
Qe("editedItem"),
|
|
53998
53998
|
Qe("columns", { waitUntilFirstUpdate: !0 })
|
|
53999
|
-
],
|
|
53999
|
+
], sr.prototype, "handleEditedItemChange", 1);
|
|
54000
54000
|
Nr([
|
|
54001
54001
|
Qe("loadingEvent", { waitUntilFirstUpdate: !0 }),
|
|
54002
54002
|
Qe("loadingItemIndex", { waitUntilFirstUpdate: !0 }),
|
|
54003
54003
|
ec(10)
|
|
54004
|
-
],
|
|
54005
|
-
|
|
54004
|
+
], sr.prototype, "handleLoadingEventChange", 1);
|
|
54005
|
+
sr = Nr([
|
|
54006
54006
|
nn("cx-list-editor")
|
|
54007
|
-
],
|
|
54007
|
+
], sr);
|
|
54008
54008
|
const oSt = un`:host{display:block}.editor{gap:var(--cx-spacing-small);flex-direction:column;display:flex}.editor__dialog{--width:640px}.editor__add-button{align-self:flex-start}.add-button-panel{min-width:420px;padding:var(--cx-spacing-x-small);gap:var(--cx-spacing-x-small);flex-direction:column;display:flex}.add-button-panel__create-new{align-self:flex-start}.dialog__body{gap:var(--cx-spacing-medium);flex-direction:column;display:flex}.section{gap:var(--cx-spacing-small);flex-direction:column;display:flex}.section__heading{margin:0}.field-label{align-items:center;gap:2px;display:inline-flex}.field-label__required{color:var(--cx-color-danger)}.editor__confirm-popover{--confirm-popover-dialog-width:fit-content;--confirm-button-background-color:var(--cx-color-danger-500);--cancel-button-background-color:var(--cx-color-neutral-100);--cancel-button-color:var(--cx-color-neutral-700)}`;
|
|
54009
54009
|
var aSt = Object.defineProperty, sSt = Object.getOwnPropertyDescriptor, rc = (n, e, t, i) => {
|
|
54010
54010
|
for (var r = i > 1 ? void 0 : i ? sSt(e, t) : e, o = n.length - 1, a; o >= 0; o--)
|
|
@@ -54358,7 +54358,7 @@ let es = class extends hn {
|
|
|
54358
54358
|
};
|
|
54359
54359
|
es.styles = [gn, oSt, p7];
|
|
54360
54360
|
es.dependencies = {
|
|
54361
|
-
"cx-button":
|
|
54361
|
+
"cx-button": Zi,
|
|
54362
54362
|
"cx-checkbox": qh,
|
|
54363
54363
|
"cx-confirm-popover": u3,
|
|
54364
54364
|
"cx-dialog": ns,
|
|
@@ -54369,7 +54369,7 @@ es.dependencies = {
|
|
|
54369
54369
|
"cx-icon": Hr,
|
|
54370
54370
|
"cx-icon-picker": Da,
|
|
54371
54371
|
"cx-input": eo,
|
|
54372
|
-
"cx-list-editor":
|
|
54372
|
+
"cx-list-editor": sr,
|
|
54373
54373
|
"cx-option": ea,
|
|
54374
54374
|
"cx-radio": o3,
|
|
54375
54375
|
"cx-radio-group": Yf,
|
|
@@ -56835,7 +56835,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
56835
56835
|
y += v.children[x].chunkSize();
|
|
56836
56836
|
return y + g.first;
|
|
56837
56837
|
}
|
|
56838
|
-
function
|
|
56838
|
+
function Qi(p, g) {
|
|
56839
56839
|
var y = p.first;
|
|
56840
56840
|
e: do {
|
|
56841
56841
|
for (var v = 0; v < p.children.length; ++v) {
|
|
@@ -56900,7 +56900,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
56900
56900
|
y[v] = Mt(p, g[v]);
|
|
56901
56901
|
return y;
|
|
56902
56902
|
}
|
|
56903
|
-
var
|
|
56903
|
+
var rr = function(p, g) {
|
|
56904
56904
|
this.state = p, this.lookAhead = g;
|
|
56905
56905
|
}, Di = function(p, g, y, v) {
|
|
56906
56906
|
this.state = g, this.doc = p, this.line = y, this.maxLookAhead = v || 0, this.baseTokens = null, this.baseTokenPos = 1;
|
|
@@ -56921,10 +56921,10 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
56921
56921
|
}, Di.prototype.nextLine = function() {
|
|
56922
56922
|
this.line++, this.maxLookAhead > 0 && this.maxLookAhead--;
|
|
56923
56923
|
}, Di.fromSaved = function(p, g, y) {
|
|
56924
|
-
return g instanceof
|
|
56924
|
+
return g instanceof rr ? new Di(p, io(p.mode, g.state), y, g.lookAhead) : new Di(p, io(p.mode, g), y);
|
|
56925
56925
|
}, Di.prototype.save = function(p) {
|
|
56926
56926
|
var g = p !== !1 ? io(this.doc.mode, this.state) : this.state;
|
|
56927
|
-
return this.maxLookAhead > 0 ? new
|
|
56927
|
+
return this.maxLookAhead > 0 ? new rr(g, this.maxLookAhead) : g;
|
|
56928
56928
|
};
|
|
56929
56929
|
function ba(p, g, y, v) {
|
|
56930
56930
|
var x = [p.state.modeGen], S = {};
|
|
@@ -57049,7 +57049,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
57049
57049
|
if (j <= S.first)
|
|
57050
57050
|
return S.first;
|
|
57051
57051
|
var q = $t(S, j - 1), J = q.stateAfter;
|
|
57052
|
-
if (J && (!y || j + (J instanceof
|
|
57052
|
+
if (J && (!y || j + (J instanceof rr ? J.lookAhead : 0) <= S.modeFrontier))
|
|
57053
57053
|
return j;
|
|
57054
57054
|
var me = Ie(q.text, null, p.options.tabSize);
|
|
57055
57055
|
(x == null || v > me) && (x = j - 1, v = me);
|
|
@@ -57060,7 +57060,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
57060
57060
|
if (p.modeFrontier = Math.min(p.modeFrontier, g), !(p.highlightFrontier < g - 10)) {
|
|
57061
57061
|
for (var y = p.first, v = g - 1; v > y; v--) {
|
|
57062
57062
|
var x = $t(p, v).stateAfter;
|
|
57063
|
-
if (x && (!(x instanceof
|
|
57063
|
+
if (x && (!(x instanceof rr) || v + x.lookAhead < g)) {
|
|
57064
57064
|
y = v + 1;
|
|
57065
57065
|
break;
|
|
57066
57066
|
}
|
|
@@ -57068,12 +57068,12 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
57068
57068
|
p.highlightFrontier = Math.min(p.highlightFrontier, y);
|
|
57069
57069
|
}
|
|
57070
57070
|
}
|
|
57071
|
-
var Io = !1,
|
|
57071
|
+
var Io = !1, lr = !1;
|
|
57072
57072
|
function dc() {
|
|
57073
57073
|
Io = !0;
|
|
57074
57074
|
}
|
|
57075
57075
|
function ss() {
|
|
57076
|
-
|
|
57076
|
+
lr = !0;
|
|
57077
57077
|
}
|
|
57078
57078
|
function wa(p, g, y) {
|
|
57079
57079
|
this.marker = p, this.from = g, this.to = y;
|
|
@@ -57219,7 +57219,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
57219
57219
|
return P || g.id - p.id;
|
|
57220
57220
|
}
|
|
57221
57221
|
function Ts(p, g) {
|
|
57222
|
-
var y =
|
|
57222
|
+
var y = lr && p.markedSpans, v;
|
|
57223
57223
|
if (y)
|
|
57224
57224
|
for (var x = void 0, S = 0; S < y.length; ++S)
|
|
57225
57225
|
x = y[S], x.marker.collapsed && (g ? x.from : x.to) == null && (!v || Gc(v, x.marker) < 0) && (v = x.marker);
|
|
@@ -57232,7 +57232,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
57232
57232
|
return Ts(p, !1);
|
|
57233
57233
|
}
|
|
57234
57234
|
function $i(p, g) {
|
|
57235
|
-
var y =
|
|
57235
|
+
var y = lr && p.markedSpans, v;
|
|
57236
57236
|
if (y)
|
|
57237
57237
|
for (var x = 0; x < y.length; ++x) {
|
|
57238
57238
|
var S = y[x];
|
|
@@ -57241,7 +57241,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
57241
57241
|
return v;
|
|
57242
57242
|
}
|
|
57243
57243
|
function zn(p, g, y, v, x) {
|
|
57244
|
-
var S = $t(p, g), P =
|
|
57244
|
+
var S = $t(p, g), P = lr && S.markedSpans;
|
|
57245
57245
|
if (P)
|
|
57246
57246
|
for (var j = 0; j < P.length; ++j) {
|
|
57247
57247
|
var q = P[j];
|
|
@@ -57282,7 +57282,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
57282
57282
|
return ri(y) + 1;
|
|
57283
57283
|
}
|
|
57284
57284
|
function Es(p, g) {
|
|
57285
|
-
var y =
|
|
57285
|
+
var y = lr && g.markedSpans;
|
|
57286
57286
|
if (y) {
|
|
57287
57287
|
for (var v = void 0, x = 0; x < y.length; ++x)
|
|
57288
57288
|
if (v = y[x], !!v.marker.collapsed) {
|
|
@@ -57929,7 +57929,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
57929
57929
|
var v = p.doc;
|
|
57930
57930
|
if (y += p.display.viewOffset, y < 0)
|
|
57931
57931
|
return Se(v.first, 0, null, -1, -1);
|
|
57932
|
-
var x =
|
|
57932
|
+
var x = Qi(v, y), S = v.first + v.size - 1;
|
|
57933
57933
|
if (x > S)
|
|
57934
57934
|
return Se(v.first + v.size - 1, $t(v, S).text.length, null, 1, 1);
|
|
57935
57935
|
g < 0 && (g = 0);
|
|
@@ -58101,9 +58101,9 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
58101
58101
|
g == null && (g = p.doc.first), y == null && (y = p.doc.first + p.doc.size), v || (v = 0);
|
|
58102
58102
|
var x = p.display;
|
|
58103
58103
|
if (v && y < x.viewTo && (x.updateLineNumbers == null || x.updateLineNumbers > g) && (x.updateLineNumbers = g), p.curOp.viewChanged = !0, g >= x.viewTo)
|
|
58104
|
-
|
|
58104
|
+
lr && As(p.doc, g) < x.viewTo && Zt(p);
|
|
58105
58105
|
else if (y <= x.viewFrom)
|
|
58106
|
-
|
|
58106
|
+
lr && Ua(p.doc, y + v) > x.viewFrom ? Zt(p) : (x.viewFrom += v, x.viewTo += v);
|
|
58107
58107
|
else if (g <= x.viewFrom && y >= x.viewTo)
|
|
58108
58108
|
Zt(p);
|
|
58109
58109
|
else if (g <= x.viewFrom) {
|
|
@@ -58135,7 +58135,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
58135
58135
|
}
|
|
58136
58136
|
function Cn(p, g, y, v) {
|
|
58137
58137
|
var x = Ft(p, g), S, P = p.display.view;
|
|
58138
|
-
if (!
|
|
58138
|
+
if (!lr || y == p.doc.first + p.doc.size)
|
|
58139
58139
|
return { index: x, lineN: y };
|
|
58140
58140
|
for (var j = p.display.viewFrom, q = 0; q < x; q++)
|
|
58141
58141
|
j += P[q].size;
|
|
@@ -58294,10 +58294,10 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
58294
58294
|
function n1(p, g, y) {
|
|
58295
58295
|
var v = y && y.top != null ? Math.max(0, y.top) : p.scroller.scrollTop;
|
|
58296
58296
|
v = Math.floor(v - vu(p));
|
|
58297
|
-
var x = y && y.bottom != null ? y.bottom : v + p.wrapper.clientHeight, S =
|
|
58297
|
+
var x = y && y.bottom != null ? y.bottom : v + p.wrapper.clientHeight, S = Qi(g, v), P = Qi(g, x);
|
|
58298
58298
|
if (y && y.ensure) {
|
|
58299
58299
|
var j = y.ensure.from.line, q = y.ensure.to.line;
|
|
58300
|
-
j < S ? (S = j, P =
|
|
58300
|
+
j < S ? (S = j, P = Qi(g, uc($t(g, j)) + p.wrapper.clientHeight)) : Math.min(q, g.lastLine()) >= P && (S = Qi(g, uc($t(g, q)) - p.wrapper.clientHeight), P = q);
|
|
58301
58301
|
}
|
|
58302
58302
|
return { from: S, to: Math.max(P, S + 1) };
|
|
58303
58303
|
}
|
|
@@ -58685,7 +58685,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
58685
58685
|
return !1;
|
|
58686
58686
|
tI(p) && (Zt(p), g.dims = dt(p));
|
|
58687
58687
|
var x = v.first + v.size, S = Math.max(g.visible.from - p.options.viewportMargin, v.first), P = Math.min(x, g.visible.to + p.options.viewportMargin);
|
|
58688
|
-
y.viewFrom < S && S - y.viewFrom < 20 && (S = Math.max(v.first, y.viewFrom)), y.viewTo > P && y.viewTo - P < 20 && (P = Math.min(x, y.viewTo)),
|
|
58688
|
+
y.viewFrom < S && S - y.viewFrom < 20 && (S = Math.max(v.first, y.viewFrom)), y.viewTo > P && y.viewTo - P < 20 && (P = Math.min(x, y.viewTo)), lr && (S = As(p.doc, S), P = Ua(p.doc, P));
|
|
58689
58689
|
var j = S != y.viewFrom || P != y.viewTo || y.lastWrapHeight != g.wrapperHeight || y.lastWrapWidth != g.wrapperWidth;
|
|
58690
58690
|
wi(p, S, P), y.viewOffset = uc($t(p.doc, y.viewFrom)), p.display.mover.style.top = y.viewOffset + "px";
|
|
58691
58691
|
var q = Ii(p);
|
|
@@ -61037,7 +61037,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
61037
61037
|
for (var q = 0; q < p.display.gutterSpecs.length; ++q) {
|
|
61038
61038
|
var J = P.gutters.childNodes[q];
|
|
61039
61039
|
if (J && J.getBoundingClientRect().right >= x) {
|
|
61040
|
-
var me =
|
|
61040
|
+
var me = Qi(p.doc, S), ke = p.display.gutterSpecs[q];
|
|
61041
61041
|
return pt(p, y, p, me, ke.className, g), to(g);
|
|
61042
61042
|
}
|
|
61043
61043
|
}
|
|
@@ -61517,7 +61517,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
61517
61517
|
return v = U(this, v, x || "page"), Be(this, v.left, v.top);
|
|
61518
61518
|
},
|
|
61519
61519
|
lineAtHeight: function(v, x) {
|
|
61520
|
-
return v = U(this, { top: v, left: 0 }, x || "page").top,
|
|
61520
|
+
return v = U(this, { top: v, left: 0 }, x || "page").top, Qi(this.doc, v + this.display.viewOffset);
|
|
61521
61521
|
},
|
|
61522
61522
|
heightAtLine: function(v, x, S) {
|
|
61523
61523
|
var P = !1, j;
|
|
@@ -64006,8 +64006,8 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
64006
64006
|
})(function(i) {
|
|
64007
64007
|
i.defineMode("javascript", function(r, o) {
|
|
64008
64008
|
var a = r.indentUnit, s = o.statementIndent, l = o.jsonld, c = o.json || l, d = o.trackScope !== !1, u = o.typescript, h = o.wordCharacters || /[\w$\xa1-\uffff]/, m = function() {
|
|
64009
|
-
function te(
|
|
64010
|
-
return { type:
|
|
64009
|
+
function te(rr) {
|
|
64010
|
+
return { type: rr, style: "keyword" };
|
|
64011
64011
|
}
|
|
64012
64012
|
var ue = te("keyword a"), mt = te("keyword b"), It = te("keyword c"), Mt = te("keyword d"), xn = te("operator"), oi = { type: "atom", style: "atom" };
|
|
64013
64013
|
return {
|
|
@@ -64149,25 +64149,25 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
64149
64149
|
It && (mt = It.index);
|
|
64150
64150
|
}
|
|
64151
64151
|
for (var Mt = 0, xn = !1, oi = mt - 1; oi >= 0; --oi) {
|
|
64152
|
-
var
|
|
64152
|
+
var rr = te.string.charAt(oi), Di = H.indexOf(rr);
|
|
64153
64153
|
if (Di >= 0 && Di < 3) {
|
|
64154
64154
|
if (!Mt) {
|
|
64155
64155
|
++oi;
|
|
64156
64156
|
break;
|
|
64157
64157
|
}
|
|
64158
64158
|
if (--Mt == 0) {
|
|
64159
|
-
|
|
64159
|
+
rr == "(" && (xn = !0);
|
|
64160
64160
|
break;
|
|
64161
64161
|
}
|
|
64162
64162
|
} else if (Di >= 3 && Di < 6)
|
|
64163
64163
|
++Mt;
|
|
64164
|
-
else if (h.test(
|
|
64164
|
+
else if (h.test(rr))
|
|
64165
64165
|
xn = !0;
|
|
64166
|
-
else if (/["'\/`]/.test(
|
|
64166
|
+
else if (/["'\/`]/.test(rr))
|
|
64167
64167
|
for (; ; --oi) {
|
|
64168
64168
|
if (oi == 0) return;
|
|
64169
64169
|
var ba = te.string.charAt(oi - 1);
|
|
64170
|
-
if (ba ==
|
|
64170
|
+
if (ba == rr && te.string.charAt(oi - 2) != "\\") {
|
|
64171
64171
|
oi--;
|
|
64172
64172
|
break;
|
|
64173
64173
|
}
|
|
@@ -64415,8 +64415,8 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
64415
64415
|
function It(Mt, xn) {
|
|
64416
64416
|
if (mt ? mt.indexOf(Mt) > -1 : Mt == ",") {
|
|
64417
64417
|
var oi = R.state.lexical;
|
|
64418
|
-
return oi.info == "call" && (oi.pos = (oi.pos || 0) + 1), N(function(
|
|
64419
|
-
return
|
|
64418
|
+
return oi.info == "call" && (oi.pos = (oi.pos || 0) + 1), N(function(rr, Di) {
|
|
64419
|
+
return rr == ue || Di == ue ? Y() : Y(te);
|
|
64420
64420
|
}, It);
|
|
64421
64421
|
}
|
|
64422
64422
|
return Mt == ue || xn == ue ? N() : mt && mt.indexOf(";") > -1 ? Y(te) : N(Ke(ue));
|
|
@@ -64609,7 +64609,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
64609
64609
|
return Y(It ? li : vr);
|
|
64610
64610
|
}
|
|
64611
64611
|
function Pi(te, ue) {
|
|
64612
|
-
return ue == "*" ? (R.marked = "keyword", N(
|
|
64612
|
+
return ue == "*" ? (R.marked = "keyword", N(Qi, Ke(";"))) : ue == "default" ? (R.marked = "keyword", N(de, Ke(";"))) : te == "{" ? N(ne($t, "}"), Qi, Ke(";")) : Y(_t);
|
|
64613
64613
|
}
|
|
64614
64614
|
function $t(te, ue) {
|
|
64615
64615
|
if (ue == "as")
|
|
@@ -64617,7 +64617,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
64617
64617
|
if (te == "variable") return Y(nt, $t);
|
|
64618
64618
|
}
|
|
64619
64619
|
function Ir(te) {
|
|
64620
|
-
return te == "string" ? N() : te == "(" ? Y(de) : te == "." ? Y(Gt) : Y(Gi, wo,
|
|
64620
|
+
return te == "string" ? N() : te == "(" ? Y(de) : te == "." ? Y(Gt) : Y(Gi, wo, Qi);
|
|
64621
64621
|
}
|
|
64622
64622
|
function Gi(te, ue) {
|
|
64623
64623
|
return te == "{" ? yt(Gi, "}") : (te == "variable" && ce(ue), ue == "*" && (R.marked = "keyword"), N(ri));
|
|
@@ -64629,7 +64629,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
64629
64629
|
if (ue == "as")
|
|
64630
64630
|
return R.marked = "keyword", N(Gi);
|
|
64631
64631
|
}
|
|
64632
|
-
function
|
|
64632
|
+
function Qi(te, ue) {
|
|
64633
64633
|
if (ue == "from")
|
|
64634
64634
|
return R.marked = "keyword", N(de);
|
|
64635
64635
|
}
|
|
@@ -64678,8 +64678,8 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
64678
64678
|
for (; (It.type == "stat" || It.type == "form") && (mt == "}" || (Mt = te.cc[te.cc.length - 1]) && (Mt == Gt || Mt == G) && !/^[,\.=+\-*:?[\(]/.test(ue)); )
|
|
64679
64679
|
It = It.prev;
|
|
64680
64680
|
s && It.type == ")" && It.prev.type == "stat" && (It = It.prev);
|
|
64681
|
-
var
|
|
64682
|
-
return
|
|
64681
|
+
var rr = It.type, Di = mt == rr;
|
|
64682
|
+
return rr == "vardef" ? It.indented + (te.lastType == "operator" || te.lastType == "," ? It.info.length + 1 : 0) : rr == "form" && mt == "{" ? It.indented : rr == "form" ? It.indented + a : rr == "stat" ? It.indented + (Ln(te, ue) ? s || a : 0) : It.info == "switch" && !Di && o.doubleIndentSwitch != !1 ? It.indented + (/^(?:case|default)\b/.test(ue) ? a : 2 * a) : It.align ? It.column + (Di ? 0 : 1) : It.indented + (Di ? 0 : a);
|
|
64683
64683
|
},
|
|
64684
64684
|
electricInput: /^\s*(?:case .*?:|default:|\{|\})$/,
|
|
64685
64685
|
blockCommentStart: c ? null : "/*",
|
|
@@ -70321,11 +70321,11 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
70321
70321
|
return wo(W, ie, 1 / 0);
|
|
70322
70322
|
}
|
|
70323
70323
|
ne.iteratee = ri;
|
|
70324
|
-
function
|
|
70324
|
+
function Qi(W, ie, xe) {
|
|
70325
70325
|
return ne.iteratee !== ri ? ne.iteratee(W, ie) : wo(W, ie, xe);
|
|
70326
70326
|
}
|
|
70327
70327
|
function va(W, ie, xe) {
|
|
70328
|
-
ie =
|
|
70328
|
+
ie = Qi(ie, xe);
|
|
70329
70329
|
for (var Te = Rn(W), qe = Te.length, Le = {}, ct = 0; ct < qe; ct++) {
|
|
70330
70330
|
var jt = Te[ct];
|
|
70331
70331
|
Le[jt] = ie(W[jt], jt, W);
|
|
@@ -70371,7 +70371,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
70371
70371
|
interpolate: /<%=([\s\S]+?)%>/g,
|
|
70372
70372
|
escape: /<%-([\s\S]+?)%>/g
|
|
70373
70373
|
};
|
|
70374
|
-
var
|
|
70374
|
+
var rr = /(.)^/, Di = {
|
|
70375
70375
|
"'": "'",
|
|
70376
70376
|
"\\": "\\",
|
|
70377
70377
|
"\r": "r",
|
|
@@ -70386,9 +70386,9 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
70386
70386
|
function lc(W, ie, xe) {
|
|
70387
70387
|
!ie && xe && (ie = xe), ie = oa({}, ie, ne.templateSettings);
|
|
70388
70388
|
var Te = RegExp([
|
|
70389
|
-
(ie.escape ||
|
|
70390
|
-
(ie.interpolate ||
|
|
70391
|
-
(ie.evaluate ||
|
|
70389
|
+
(ie.escape || rr).source,
|
|
70390
|
+
(ie.interpolate || rr).source,
|
|
70391
|
+
(ie.evaluate || rr).source
|
|
70392
70392
|
].join("|") + "|$", "g"), qe = 0, Le = "__p+='";
|
|
70393
70393
|
W.replace(Te, function(ei, xo, xa, Id, Zp) {
|
|
70394
70394
|
return Le += W.slice(qe, Zp).replace(ba, sc), qe = Zp + ei.length, xo ? Le += `'+
|
|
@@ -70466,7 +70466,7 @@ __p+='`), ei;
|
|
|
70466
70466
|
});
|
|
70467
70467
|
return Te;
|
|
70468
70468
|
}), Io = G(Ne);
|
|
70469
|
-
function
|
|
70469
|
+
function lr(W, ie, xe, Te) {
|
|
70470
70470
|
if (Te = Te || [], !ie && ie !== 0)
|
|
70471
70471
|
ie = 1 / 0;
|
|
70472
70472
|
else if (ie <= 0)
|
|
@@ -70475,7 +70475,7 @@ __p+='`), ei;
|
|
|
70475
70475
|
var jt = W[Le];
|
|
70476
70476
|
if (Io(jt) && (vt(jt) || st(jt)))
|
|
70477
70477
|
if (ie > 1)
|
|
70478
|
-
|
|
70478
|
+
lr(jt, ie - 1, xe, Te), qe = Te.length;
|
|
70479
70479
|
else
|
|
70480
70480
|
for (var Un = 0, ei = jt.length; Un < ei; ) Te[qe++] = jt[Un++];
|
|
70481
70481
|
else xe || (Te[qe++] = jt);
|
|
@@ -70483,7 +70483,7 @@ __p+='`), ei;
|
|
|
70483
70483
|
return Te;
|
|
70484
70484
|
}
|
|
70485
70485
|
const dc = H(function(W, ie) {
|
|
70486
|
-
ie =
|
|
70486
|
+
ie = lr(ie, !1, !1);
|
|
70487
70487
|
var xe = ie.length;
|
|
70488
70488
|
if (xe < 1) throw new Error("bindAll must be passed function names");
|
|
70489
70489
|
for (; xe--; ) {
|
|
@@ -70559,13 +70559,13 @@ __p+='`), ei;
|
|
|
70559
70559
|
}
|
|
70560
70560
|
const Gp = yl(Uo, 2);
|
|
70561
70561
|
function Va(W, ie, xe) {
|
|
70562
|
-
ie =
|
|
70562
|
+
ie = Qi(ie, xe);
|
|
70563
70563
|
for (var Te = Rn(W), qe, Le = 0, ct = Te.length; Le < ct; Le++)
|
|
70564
70564
|
if (qe = Te[Le], ie(W[qe], qe, W)) return qe;
|
|
70565
70565
|
}
|
|
70566
70566
|
function Wc(W) {
|
|
70567
70567
|
return function(ie, xe, Te) {
|
|
70568
|
-
xe =
|
|
70568
|
+
xe = Qi(xe, Te);
|
|
70569
70569
|
for (var qe = Ne(ie), Le = W > 0 ? 0 : qe - 1; Le >= 0 && Le < qe; Le += W)
|
|
70570
70570
|
if (xe(ie[Le], Le, ie)) return Le;
|
|
70571
70571
|
return -1;
|
|
@@ -70573,7 +70573,7 @@ __p+='`), ei;
|
|
|
70573
70573
|
}
|
|
70574
70574
|
const wl = Wc(1), Gc = Wc(-1);
|
|
70575
70575
|
function Ts(W, ie, xe, Te) {
|
|
70576
|
-
xe =
|
|
70576
|
+
xe = Qi(xe, Te, 1);
|
|
70577
70577
|
for (var qe = xe(ie), Le = 0, ct = Ne(W); Le < ct; ) {
|
|
70578
70578
|
var jt = Math.floor((Le + ct) / 2);
|
|
70579
70579
|
xe(W[jt]) < qe ? Le = jt + 1 : ct = jt;
|
|
@@ -70616,7 +70616,7 @@ __p+='`), ei;
|
|
|
70616
70616
|
return W;
|
|
70617
70617
|
}
|
|
70618
70618
|
function sa(W, ie, xe) {
|
|
70619
|
-
ie =
|
|
70619
|
+
ie = Qi(ie, xe);
|
|
70620
70620
|
for (var Te = !Io(W) && Rn(W), qe = (Te || W).length, Le = Array(qe), ct = 0; ct < qe; ct++) {
|
|
70621
70621
|
var jt = Te ? Te[ct] : ct;
|
|
70622
70622
|
Le[ct] = ie(W[jt], jt, W);
|
|
@@ -70640,15 +70640,15 @@ __p+='`), ei;
|
|
|
70640
70640
|
const Ua = As(1), Es = As(-1);
|
|
70641
70641
|
function qs(W, ie, xe) {
|
|
70642
70642
|
var Te = [];
|
|
70643
|
-
return ie =
|
|
70643
|
+
return ie = Qi(ie, xe), Po(W, function(qe, Le, ct) {
|
|
70644
70644
|
ie(qe, Le, ct) && Te.push(qe);
|
|
70645
70645
|
}), Te;
|
|
70646
70646
|
}
|
|
70647
70647
|
function uc(W, ie, xe) {
|
|
70648
|
-
return qs(W, Ha(
|
|
70648
|
+
return qs(W, Ha(Qi(ie)), xe);
|
|
70649
70649
|
}
|
|
70650
70650
|
function Kc(W, ie, xe) {
|
|
70651
|
-
ie =
|
|
70651
|
+
ie = Qi(ie, xe);
|
|
70652
70652
|
for (var Te = !Io(W) && Rn(W), qe = (Te || W).length, Le = 0; Le < qe; Le++) {
|
|
70653
70653
|
var ct = Te ? Te[Le] : Le;
|
|
70654
70654
|
if (!ie(W[ct], ct, W)) return !1;
|
|
@@ -70656,7 +70656,7 @@ __p+='`), ei;
|
|
|
70656
70656
|
return !0;
|
|
70657
70657
|
}
|
|
70658
70658
|
function Td(W, ie, xe) {
|
|
70659
|
-
ie =
|
|
70659
|
+
ie = Qi(ie, xe);
|
|
70660
70660
|
for (var Te = !Io(W) && Rn(W), qe = (Te || W).length, Le = 0; Le < qe; Le++) {
|
|
70661
70661
|
var ct = Te ? Te[Le] : Le;
|
|
70662
70662
|
if (ie(W[ct], ct, W)) return !0;
|
|
@@ -70690,7 +70690,7 @@ __p+='`), ei;
|
|
|
70690
70690
|
for (var jt = 0, Un = W.length; jt < Un; jt++)
|
|
70691
70691
|
Le = W[jt], Le != null && Le > Te && (Te = Le);
|
|
70692
70692
|
} else
|
|
70693
|
-
ie =
|
|
70693
|
+
ie = Qi(ie, xe), Po(W, function(ei, xo, xa) {
|
|
70694
70694
|
ct = ie(ei, xo, xa), (ct > qe || ct === -1 / 0 && Te === -1 / 0) && (Te = ei, qe = ct);
|
|
70695
70695
|
});
|
|
70696
70696
|
return Te;
|
|
@@ -70702,7 +70702,7 @@ __p+='`), ei;
|
|
|
70702
70702
|
for (var jt = 0, Un = W.length; jt < Un; jt++)
|
|
70703
70703
|
Le = W[jt], Le != null && Le < Te && (Te = Le);
|
|
70704
70704
|
} else
|
|
70705
|
-
ie =
|
|
70705
|
+
ie = Qi(ie, xe), Po(W, function(ei, xo, xa) {
|
|
70706
70706
|
ct = ie(ei, xo, xa), (ct < qe || ct === 1 / 0 && Te === 1 / 0) && (Te = ei, qe = ct);
|
|
70707
70707
|
});
|
|
70708
70708
|
return Te;
|
|
@@ -70723,7 +70723,7 @@ __p+='`), ei;
|
|
|
70723
70723
|
}
|
|
70724
70724
|
function Qh(W, ie, xe) {
|
|
70725
70725
|
var Te = 0;
|
|
70726
|
-
return ie =
|
|
70726
|
+
return ie = Qi(ie, xe), gu(sa(W, function(qe, Le, ct) {
|
|
70727
70727
|
return {
|
|
70728
70728
|
value: qe,
|
|
70729
70729
|
index: Te++,
|
|
@@ -70741,7 +70741,7 @@ __p+='`), ei;
|
|
|
70741
70741
|
function Zu(W, ie) {
|
|
70742
70742
|
return function(xe, Te, qe) {
|
|
70743
70743
|
var Le = ie ? [[], []] : {};
|
|
70744
|
-
return Te =
|
|
70744
|
+
return Te = Qi(Te, qe), Po(xe, function(ct, jt) {
|
|
70745
70745
|
var Un = Te(ct, jt, xe);
|
|
70746
70746
|
W(Le, ct, Un);
|
|
70747
70747
|
}), Le;
|
|
@@ -70769,7 +70769,7 @@ __p+='`), ei;
|
|
|
70769
70769
|
const ep = H(function(W, ie) {
|
|
70770
70770
|
var xe = {}, Te = ie[0];
|
|
70771
70771
|
if (W == null) return xe;
|
|
70772
|
-
Ee(Te) ? (ie.length > 1 && (Te = Gi(Te, ie[1])), ie = Rt(W)) : (Te = sv, ie =
|
|
70772
|
+
Ee(Te) ? (ie.length > 1 && (Te = Gi(Te, ie[1])), ie = Rt(W)) : (Te = sv, ie = lr(ie, !1, !1), W = Object(W));
|
|
70773
70773
|
for (var qe = 0, Le = ie.length; qe < Le; qe++) {
|
|
70774
70774
|
var ct = ie[qe], jt = W[ct];
|
|
70775
70775
|
Te(jt, ct, W) && (xe[ct] = jt);
|
|
@@ -70777,7 +70777,7 @@ __p+='`), ei;
|
|
|
70777
70777
|
return xe;
|
|
70778
70778
|
}), Ad = H(function(W, ie) {
|
|
70779
70779
|
var xe = ie[0], Te;
|
|
70780
|
-
return Ee(xe) ? (xe = Ha(xe), ie.length > 1 && (Te = ie[1])) : (ie = sa(
|
|
70780
|
+
return Ee(xe) ? (xe = Ha(xe), ie.length > 1 && (Te = ie[1])) : (ie = sa(lr(ie, !1, !1), String), xe = function(qe, Le) {
|
|
70781
70781
|
return !qo(ie, Le);
|
|
70782
70782
|
}), ep(W, xe, Te);
|
|
70783
70783
|
});
|
|
@@ -70797,17 +70797,17 @@ __p+='`), ei;
|
|
|
70797
70797
|
return qs(W, Boolean);
|
|
70798
70798
|
}
|
|
70799
70799
|
function ng(W, ie) {
|
|
70800
|
-
return
|
|
70800
|
+
return lr(W, ie, !1);
|
|
70801
70801
|
}
|
|
70802
70802
|
const ym = H(function(W, ie) {
|
|
70803
|
-
return ie =
|
|
70803
|
+
return ie = lr(ie, !0, !0), qs(W, function(xe) {
|
|
70804
70804
|
return !qo(ie, xe);
|
|
70805
70805
|
});
|
|
70806
70806
|
}), tp = H(function(W, ie) {
|
|
70807
70807
|
return ym(W, ie);
|
|
70808
70808
|
});
|
|
70809
70809
|
function Xc(W, ie, xe, Te) {
|
|
70810
|
-
$(ie) || (Te = xe, xe = ie, ie = !1), xe != null && (xe =
|
|
70810
|
+
$(ie) || (Te = xe, xe = ie, ie = !1), xe != null && (xe = Qi(xe, Te));
|
|
70811
70811
|
for (var qe = [], Le = [], ct = 0, jt = Ne(W); ct < jt; ct++) {
|
|
70812
70812
|
var Un = W[ct], ei = xe ? xe(Un, ct, W) : Un;
|
|
70813
70813
|
ie && !xe ? ((!ct || Le !== ei) && qe.push(Un), Le = ei) : xe ? qo(Le, ei) || (Le.push(ei), qe.push(Un)) : qo(qe, Un) || qe.push(Un);
|
|
@@ -70815,7 +70815,7 @@ __p+='`), ei;
|
|
|
70815
70815
|
return qe;
|
|
70816
70816
|
}
|
|
70817
70817
|
const lv = H(function(W) {
|
|
70818
|
-
return Xc(
|
|
70818
|
+
return Xc(lr(W, !0, !0));
|
|
70819
70819
|
});
|
|
70820
70820
|
function ig(W) {
|
|
70821
70821
|
for (var ie = [], xe = arguments.length, Te = 0, qe = Ne(W); Te < qe; Te++) {
|
|
@@ -70885,7 +70885,7 @@ __p+='`), ei;
|
|
|
70885
70885
|
)
|
|
70886
70886
|
/******/
|
|
70887
70887
|
}, HL = {};
|
|
70888
|
-
function
|
|
70888
|
+
function ar(n) {
|
|
70889
70889
|
var e = HL[n];
|
|
70890
70890
|
if (e !== void 0)
|
|
70891
70891
|
return e.exports;
|
|
@@ -70898,9 +70898,9 @@ function or(n) {
|
|
|
70898
70898
|
exports: {}
|
|
70899
70899
|
/******/
|
|
70900
70900
|
};
|
|
70901
|
-
return uSt[n].call(t.exports, t, t.exports,
|
|
70901
|
+
return uSt[n].call(t.exports, t, t.exports, ar), t.exports;
|
|
70902
70902
|
}
|
|
70903
|
-
|
|
70903
|
+
ar.n = (n) => {
|
|
70904
70904
|
var e = n && n.__esModule ? (
|
|
70905
70905
|
/******/
|
|
70906
70906
|
() => n.default
|
|
@@ -70908,13 +70908,13 @@ or.n = (n) => {
|
|
|
70908
70908
|
/******/
|
|
70909
70909
|
() => n
|
|
70910
70910
|
);
|
|
70911
|
-
return
|
|
70911
|
+
return ar.d(e, { a: e }), e;
|
|
70912
70912
|
};
|
|
70913
|
-
|
|
70913
|
+
ar.d = (n, e) => {
|
|
70914
70914
|
for (var t in e)
|
|
70915
|
-
|
|
70915
|
+
ar.o(e, t) && !ar.o(n, t) && Object.defineProperty(n, t, { enumerable: !0, get: e[t] });
|
|
70916
70916
|
};
|
|
70917
|
-
|
|
70917
|
+
ar.g = function() {
|
|
70918
70918
|
if (typeof globalThis == "object") return globalThis;
|
|
70919
70919
|
try {
|
|
70920
70920
|
return this || new Function("return this")();
|
|
@@ -70922,12 +70922,12 @@ or.g = function() {
|
|
|
70922
70922
|
if (typeof window == "object") return window;
|
|
70923
70923
|
}
|
|
70924
70924
|
}();
|
|
70925
|
-
|
|
70926
|
-
|
|
70925
|
+
ar.o = (n, e) => Object.prototype.hasOwnProperty.call(n, e);
|
|
70926
|
+
ar.r = (n) => {
|
|
70927
70927
|
typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(n, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(n, "__esModule", { value: !0 });
|
|
70928
70928
|
};
|
|
70929
70929
|
var sS = {};
|
|
70930
|
-
|
|
70930
|
+
ar.d(sS, {
|
|
70931
70931
|
Ay: () => (
|
|
70932
70932
|
/* binding */
|
|
70933
70933
|
q8t
|
|
@@ -70941,7 +70941,7 @@ or.d(sS, {
|
|
|
70941
70941
|
MK
|
|
70942
70942
|
)
|
|
70943
70943
|
});
|
|
70944
|
-
var Q =
|
|
70944
|
+
var Q = ar(5706), xt = ar(1166);
|
|
70945
70945
|
function Ac(n) {
|
|
70946
70946
|
for (var e = [], t = 1; t < arguments.length; t++)
|
|
70947
70947
|
e[t - 1] = arguments[t];
|
|
@@ -71025,7 +71025,7 @@ var pSt = function() {
|
|
|
71025
71025
|
};
|
|
71026
71026
|
};
|
|
71027
71027
|
const hSt = pSt;
|
|
71028
|
-
var I_ =
|
|
71028
|
+
var I_ = ar(4193), gSt = /* @__PURE__ */ ar.n(I_), ts = ar(7774);
|
|
71029
71029
|
const mSt = function(n) {
|
|
71030
71030
|
var e = n.$;
|
|
71031
71031
|
if (e && e.prototype && e.prototype.constructor.name !== "jQuery") {
|
|
@@ -71088,7 +71088,7 @@ const mSt = function(n) {
|
|
|
71088
71088
|
};
|
|
71089
71089
|
}
|
|
71090
71090
|
};
|
|
71091
|
-
var Vt =
|
|
71091
|
+
var Vt = ar(9156), YW = /* @__PURE__ */ function() {
|
|
71092
71092
|
var n = function(e, t) {
|
|
71093
71093
|
return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(i, r) {
|
|
71094
71094
|
i.__proto__ = r;
|
|
@@ -71360,7 +71360,7 @@ var Xh = (
|
|
|
71360
71360
|
};
|
|
71361
71361
|
};
|
|
71362
71362
|
const kSt = xSt;
|
|
71363
|
-
var rm =
|
|
71363
|
+
var rm = ar(7058), K5;
|
|
71364
71364
|
(function(n) {
|
|
71365
71365
|
n.add = "device:add", n.addBefore = "device:add:before", n.remove = "device:remove", n.removeBefore = "device:remove:before", n.select = "device:select", n.selectBefore = "device:select:before", n.update = "device:update", n.all = "device";
|
|
71366
71366
|
})(K5 || (K5 = {}));
|
|
@@ -71729,7 +71729,7 @@ var OSt = /* @__PURE__ */ function() {
|
|
|
71729
71729
|
}(rm.A)
|
|
71730
71730
|
);
|
|
71731
71731
|
const ISt = DSt;
|
|
71732
|
-
var Kd =
|
|
71732
|
+
var Kd = ar(179), br = ar(2225), MSt = /* @__PURE__ */ function() {
|
|
71733
71733
|
var n = function(e, t) {
|
|
71734
71734
|
return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(i, r) {
|
|
71735
71735
|
i.__proto__ = r;
|
|
@@ -71852,7 +71852,7 @@ var LSt = /* @__PURE__ */ function() {
|
|
|
71852
71852
|
}(Vt.Ss)
|
|
71853
71853
|
);
|
|
71854
71854
|
const iu = BSt;
|
|
71855
|
-
var on =
|
|
71855
|
+
var on = ar(6294), RSt = /* @__PURE__ */ function() {
|
|
71856
71856
|
var n = function(e, t) {
|
|
71857
71857
|
return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(i, r) {
|
|
71858
71858
|
i.__proto__ = r;
|
|
@@ -75198,7 +75198,7 @@ var WTt = (
|
|
|
75198
75198
|
}()
|
|
75199
75199
|
);
|
|
75200
75200
|
const fG = WTt;
|
|
75201
|
-
var Wf =
|
|
75201
|
+
var Wf = ar(8433), GTt = ar(1447), KTt = /* @__PURE__ */ function() {
|
|
75202
75202
|
var n = function(e, t) {
|
|
75203
75203
|
return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(i, r) {
|
|
75204
75204
|
i.__proto__ = r;
|
|
@@ -75728,7 +75728,7 @@ var ZTt = /* @__PURE__ */ function() {
|
|
|
75728
75728
|
}(iu)
|
|
75729
75729
|
);
|
|
75730
75730
|
const tAt = eAt;
|
|
75731
|
-
var yG =
|
|
75731
|
+
var yG = ar(9966), nAt = /* @__PURE__ */ function() {
|
|
75732
75732
|
var n = function(e, t) {
|
|
75733
75733
|
return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(i, r) {
|
|
75734
75734
|
i.__proto__ = r;
|
|
@@ -83450,7 +83450,7 @@ function P4t(n, e) {
|
|
|
83450
83450
|
function u(le, Oe) {
|
|
83451
83451
|
var ne = d(Oe, le), yt = ne.flat, je = ne.showSelectionPalette, At = ne.localStorageKey, Jt = ne.theme, pt = ne.callbacks, Rt = k(Uo, 10), vn = !1, Zn = !1, Dt = !0, ui = 0, Br = 0, to = 0, ae = 0, Ce = 0, $e = 0, wt = 0, Bt = 0, An = 0, Kn = 0, mr = 1, ii = [], pi = [], Cs = {}, fr = ne.selectionPalette.slice(0), Do = ne.maxSelectionSize, oa = "sp-dragging", ji = null, vr = le.ownerDocument;
|
|
83452
83452
|
vr.body;
|
|
83453
|
-
var li = n(le), Rr = !1, Nn = n(s, vr).addClass(Jt), Fa = Nn.find(".sp-picker-container"), no = Nn.find(".sp-color"), io = Nn.find(".sp-dragger"), Ar = Nn.find(".sp-hue"), aa = Nn.find(".sp-slider"), Pi = Nn.find(".sp-alpha-inner"), $t = Nn.find(".sp-alpha"), Ir = Nn.find(".sp-alpha-handle"), Gi = Nn.find(".sp-input"), wo = Nn.find(".sp-palette"), ri = Nn.find(".sp-initial"),
|
|
83453
|
+
var li = n(le), Rr = !1, Nn = n(s, vr).addClass(Jt), Fa = Nn.find(".sp-picker-container"), no = Nn.find(".sp-color"), io = Nn.find(".sp-dragger"), Ar = Nn.find(".sp-hue"), aa = Nn.find(".sp-slider"), Pi = Nn.find(".sp-alpha-inner"), $t = Nn.find(".sp-alpha"), Ir = Nn.find(".sp-alpha-handle"), Gi = Nn.find(".sp-input"), wo = Nn.find(".sp-palette"), ri = Nn.find(".sp-initial"), Qi = Nn.find(".sp-cancel"), va = Nn.find(".sp-clear"), za = Nn.find(".sp-choose"), Et = Nn.find(".sp-palette-toggle"), Ln = li.is("input"), ya = Ln && li.attr("type") === "color" && E(), te = Ln && !yt, ue = te ? n(a).addClass(Jt).addClass(ne.className).addClass(ne.replacerClassName) : n([]), mt = te ? ue : li, It = ue.find(".sp-preview-inner"), Mt = ne.color || Ln && li.val(), xn = !1, oi = ne.preferredFormat, rr = !ne.showButtons || ne.clickoutFiresChange, Di = !Mt, ba = ne.allowEmpty && !ya;
|
|
83454
83454
|
function sc() {
|
|
83455
83455
|
if (ne.showPaletteOnly && (ne.showPalette = !0), Et.text(ne.showPaletteOnly ? ne.togglePaletteMoreText : ne.togglePaletteLessText), ne.palette) {
|
|
83456
83456
|
ii = ne.palette.slice(0), pi = n.isArray(ii[0]) ? ii : [ii], Cs = {};
|
|
@@ -83475,7 +83475,7 @@ function P4t(n, e) {
|
|
|
83475
83475
|
setTimeout(yl, 1);
|
|
83476
83476
|
}), Gi.keydown(function(zn) {
|
|
83477
83477
|
zn.keyCode == 13 && yl();
|
|
83478
|
-
}),
|
|
83478
|
+
}), Qi.text(ne.cancelText), Qi.bind("click.spectrum", function(zn) {
|
|
83479
83479
|
zn.stopPropagation(), zn.preventDefault(), wa(), ss();
|
|
83480
83480
|
}), va.attr("title", ne.clearText), va.bind("click.spectrum", function(zn) {
|
|
83481
83481
|
zn.stopPropagation(), zn.preventDefault(), Di = !0, Vo(), yt && Ss(!0);
|
|
@@ -83579,17 +83579,17 @@ function P4t(n, e) {
|
|
|
83579
83579
|
if (li.trigger("beforeShow.spectrum", [Mo()]), !(pt.beforeShow(Mo()) === !1 || In.isDefaultPrevented())) {
|
|
83580
83580
|
c(), vn = !0;
|
|
83581
83581
|
var Mn = n(vr);
|
|
83582
|
-
Mn.bind("keydown.spectrum",
|
|
83582
|
+
Mn.bind("keydown.spectrum", lr), Mn.bind("click.spectrum", dc), n(window).bind("resize.spectrum", Rt), ue.addClass("sp-active"), Nn.removeClass("sp-hidden"), Uo(), Ha(), xn = Mo(), pu(), pt.show(xn), li.trigger("show.spectrum", [xn]);
|
|
83583
83583
|
}
|
|
83584
83584
|
}
|
|
83585
|
-
function
|
|
83585
|
+
function lr(In) {
|
|
83586
83586
|
In.keyCode === 27 && ss();
|
|
83587
83587
|
}
|
|
83588
83588
|
function dc(In) {
|
|
83589
|
-
In.button != 2 && (Zn || (
|
|
83589
|
+
In.button != 2 && (Zn || (rr ? Ss(!0) : wa(), ss()));
|
|
83590
83590
|
}
|
|
83591
83591
|
function ss() {
|
|
83592
|
-
!vn || yt || (vn = !1, n(vr).unbind("keydown.spectrum",
|
|
83592
|
+
!vn || yt || (vn = !1, n(vr).unbind("keydown.spectrum", lr), n(vr).unbind("click.spectrum", dc), n(window).unbind("resize.spectrum", Rt), ue.removeClass("sp-active"), Nn.addClass("sp-hidden"), pt.hide(Mo()), li.trigger("hide.spectrum", [Mo()]));
|
|
83593
83593
|
}
|
|
83594
83594
|
function wa() {
|
|
83595
83595
|
ja(xn, !0);
|
|
@@ -84826,7 +84826,7 @@ var U4t = /* @__PURE__ */ function() {
|
|
|
84826
84826
|
}(Vh)
|
|
84827
84827
|
);
|
|
84828
84828
|
const W4t = q4t;
|
|
84829
|
-
var G4t =
|
|
84829
|
+
var G4t = ar(8242), K4t = /* @__PURE__ */ function() {
|
|
84830
84830
|
var n = function(e, t) {
|
|
84831
84831
|
return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(i, r) {
|
|
84832
84832
|
i.__proto__ = r;
|
|
@@ -85012,7 +85012,7 @@ var Q4t = function() {
|
|
|
85012
85012
|
};
|
|
85013
85013
|
};
|
|
85014
85014
|
const e6t = Q4t;
|
|
85015
|
-
var t6t =
|
|
85015
|
+
var t6t = ar(6756), n6t = /* @__PURE__ */ function() {
|
|
85016
85016
|
var n = function(e, t) {
|
|
85017
85017
|
return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(i, r) {
|
|
85018
85018
|
i.__proto__ = r;
|
|
@@ -85169,7 +85169,7 @@ var o6t = /* @__PURE__ */ function() {
|
|
|
85169
85169
|
}(Vt.Ss)
|
|
85170
85170
|
);
|
|
85171
85171
|
const s6t = a6t;
|
|
85172
|
-
var WA =
|
|
85172
|
+
var WA = ar(9946), l6t = function() {
|
|
85173
85173
|
return {
|
|
85174
85174
|
stylePrefix: "com-",
|
|
85175
85175
|
defaults: {},
|
|
@@ -85178,7 +85178,7 @@ var WA = or(9946), l6t = function() {
|
|
|
85178
85178
|
};
|
|
85179
85179
|
};
|
|
85180
85180
|
const c6t = l6t;
|
|
85181
|
-
var d6t =
|
|
85181
|
+
var d6t = ar(1738), u6t = /* @__PURE__ */ function() {
|
|
85182
85182
|
var n = function(e, t) {
|
|
85183
85183
|
return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(i, r) {
|
|
85184
85184
|
i.__proto__ = r;
|
|
@@ -85312,7 +85312,7 @@ var d6t = or(1738), u6t = /* @__PURE__ */ function() {
|
|
|
85312
85312
|
}, a["core:redo"] = function(l) {
|
|
85313
85313
|
return l.UndoManager.redo();
|
|
85314
85314
|
}, OB.forEach(function(l) {
|
|
85315
|
-
var c = l[2], d =
|
|
85315
|
+
var c = l[2], d = ar(585)("./".concat(l[1])).default, u = "core:".concat(l[0]);
|
|
85316
85316
|
a[u] = d, c && (a[c] = d, ["run", "stop"].forEach(function(h) {
|
|
85317
85317
|
t.on("".concat(h, ":").concat(c), function() {
|
|
85318
85318
|
for (var m = [], f = 0; f < arguments.length; f++)
|
|
@@ -88468,7 +88468,7 @@ var WOt = /* @__PURE__ */ function() {
|
|
|
88468
88468
|
);
|
|
88469
88469
|
const Xk = hK;
|
|
88470
88470
|
hK.prototype.model = D0;
|
|
88471
|
-
var GOt =
|
|
88471
|
+
var GOt = ar(3178), KOt = /* @__PURE__ */ function() {
|
|
88472
88472
|
var n = function(e, t) {
|
|
88473
88473
|
return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(i, r) {
|
|
88474
88474
|
i.__proto__ = r;
|
|
@@ -89992,7 +89992,7 @@ var hDt = /* @__PURE__ */ function() {
|
|
|
89992
89992
|
return n;
|
|
89993
89993
|
}, C4.apply(this, arguments);
|
|
89994
89994
|
}, fw;
|
|
89995
|
-
(0, xt.hasWin)() && (fw =
|
|
89995
|
+
(0, xt.hasWin)() && (fw = ar(4408), ar(8253), ar(7389), ar(3640));
|
|
89996
89996
|
var _K = (
|
|
89997
89997
|
/** @class */
|
|
89998
89998
|
function(n) {
|
|
@@ -90166,7 +90166,7 @@ var XB, bDt = /* @__PURE__ */ function() {
|
|
|
90166
90166
|
}(jc)
|
|
90167
90167
|
);
|
|
90168
90168
|
const kDt = xDt;
|
|
90169
|
-
var _Dt =
|
|
90169
|
+
var _Dt = ar(4729), CDt = /* @__PURE__ */ ar.n(_Dt), SDt = function() {
|
|
90170
90170
|
return {
|
|
90171
90171
|
maximumStackLength: 500,
|
|
90172
90172
|
trackSelection: !0
|
|
@@ -99035,7 +99035,7 @@ const _Mt = (n) => {
|
|
|
99035
99035
|
"data-width-pixel": "",
|
|
99036
99036
|
extension: "",
|
|
99037
99037
|
height: "300px",
|
|
99038
|
-
"height-mode":
|
|
99038
|
+
"height-mode": or.Auto,
|
|
99039
99039
|
identifier: "",
|
|
99040
99040
|
name: "",
|
|
99041
99041
|
"record-id": "",
|
|
@@ -99063,7 +99063,7 @@ const _Mt = (n) => {
|
|
|
99063
99063
|
callback: ({ extraValue: t, record: i }) => ({
|
|
99064
99064
|
...i,
|
|
99065
99065
|
extension: t?.extension ?? "",
|
|
99066
|
-
"height-mode": typeof t?.extension == "string" && yE.has(t.extension) ?
|
|
99066
|
+
"height-mode": typeof t?.extension == "string" && yE.has(t.extension) ? or.Fixed : i["height-mode"],
|
|
99067
99067
|
identifier: t?.identifier ?? "",
|
|
99068
99068
|
name: t?.name ?? "",
|
|
99069
99069
|
"record-id": t?.id ?? "",
|
|
@@ -99133,19 +99133,19 @@ const _Mt = (n) => {
|
|
|
99133
99133
|
name: "height-mode",
|
|
99134
99134
|
options: [
|
|
99135
99135
|
{
|
|
99136
|
-
id:
|
|
99136
|
+
id: or.Auto,
|
|
99137
99137
|
name: n.term("auto"),
|
|
99138
|
-
value:
|
|
99138
|
+
value: or.Auto
|
|
99139
99139
|
},
|
|
99140
99140
|
{
|
|
99141
|
-
id:
|
|
99141
|
+
id: or.Fixed,
|
|
99142
99142
|
name: n.term("custom"),
|
|
99143
|
-
value:
|
|
99143
|
+
value: or.Fixed
|
|
99144
99144
|
}
|
|
99145
99145
|
],
|
|
99146
99146
|
show: (t) => !(typeof t.extension == "string" && yE.has(t.extension)),
|
|
99147
99147
|
type: "attribute",
|
|
99148
|
-
width: (t) => t["height-mode"] ===
|
|
99148
|
+
width: (t) => t["height-mode"] === or.Fixed ? "25%" : "50%"
|
|
99149
99149
|
},
|
|
99150
99150
|
{
|
|
99151
99151
|
...e.getStyleControl("--height"),
|
|
@@ -99154,7 +99154,7 @@ const _Mt = (n) => {
|
|
|
99154
99154
|
label: n.term("height")
|
|
99155
99155
|
},
|
|
99156
99156
|
name: "height",
|
|
99157
|
-
show: (t) => t["height-mode"] ===
|
|
99157
|
+
show: (t) => t["height-mode"] === or.Fixed,
|
|
99158
99158
|
skipShowCheck: !0,
|
|
99159
99159
|
type: "attribute",
|
|
99160
99160
|
width: (t) => typeof t.extension == "string" && yE.has(t.extension) ? "50%" : "25%"
|
|
@@ -99199,7 +99199,7 @@ const IMt = {
|
|
|
99199
99199
|
"download-text": "Download font kit",
|
|
99200
99200
|
"download-width-type": Sc.Hug,
|
|
99201
99201
|
"img-alt": "",
|
|
99202
|
-
"img-height-mode":
|
|
99202
|
+
"img-height-mode": or.Auto,
|
|
99203
99203
|
"img-object-fit": Fo.Contain,
|
|
99204
99204
|
name: "",
|
|
99205
99205
|
origin: "default",
|
|
@@ -99336,18 +99336,18 @@ const IMt = {
|
|
|
99336
99336
|
name: "img-height-mode",
|
|
99337
99337
|
options: [
|
|
99338
99338
|
{
|
|
99339
|
-
id:
|
|
99339
|
+
id: or.Auto,
|
|
99340
99340
|
name: n.term("auto"),
|
|
99341
|
-
value:
|
|
99341
|
+
value: or.Auto
|
|
99342
99342
|
},
|
|
99343
99343
|
{
|
|
99344
|
-
id:
|
|
99344
|
+
id: or.Fixed,
|
|
99345
99345
|
name: n.term("custom"),
|
|
99346
|
-
value:
|
|
99346
|
+
value: or.Fixed
|
|
99347
99347
|
}
|
|
99348
99348
|
],
|
|
99349
99349
|
type: "attribute",
|
|
99350
|
-
width: (r) => r["img-height-mode"] ===
|
|
99350
|
+
width: (r) => r["img-height-mode"] === or.Fixed ? "25%" : "50%"
|
|
99351
99351
|
},
|
|
99352
99352
|
{
|
|
99353
99353
|
...t.getStyleControl("--height"),
|
|
@@ -99356,7 +99356,7 @@ const IMt = {
|
|
|
99356
99356
|
label: n.term("height")
|
|
99357
99357
|
},
|
|
99358
99358
|
name: "img-height",
|
|
99359
|
-
show: (r) => r["img-height-mode"] ===
|
|
99359
|
+
show: (r) => r["img-height-mode"] === or.Fixed,
|
|
99360
99360
|
width: "25%"
|
|
99361
99361
|
}
|
|
99362
99362
|
],
|
|
@@ -99387,7 +99387,7 @@ const IMt = {
|
|
|
99387
99387
|
value: Fo.Cover
|
|
99388
99388
|
}
|
|
99389
99389
|
],
|
|
99390
|
-
show: (r) => r["img-height-mode"] ===
|
|
99390
|
+
show: (r) => r["img-height-mode"] === or.Fixed,
|
|
99391
99391
|
type: "attribute"
|
|
99392
99392
|
},
|
|
99393
99393
|
{
|
|
@@ -101065,7 +101065,7 @@ const IMt = {
|
|
|
101065
101065
|
"format-dark-mode": "TRX",
|
|
101066
101066
|
"header-source-field": "",
|
|
101067
101067
|
height: "300px",
|
|
101068
|
-
"height-mode":
|
|
101068
|
+
"height-mode": or.Auto,
|
|
101069
101069
|
"highlight-background": !1,
|
|
101070
101070
|
"highlight-border": !1,
|
|
101071
101071
|
"highlight-color-overlay": !1,
|
|
@@ -101249,18 +101249,18 @@ const IMt = {
|
|
|
101249
101249
|
name: "height-mode",
|
|
101250
101250
|
options: [
|
|
101251
101251
|
{
|
|
101252
|
-
id:
|
|
101252
|
+
id: or.Auto,
|
|
101253
101253
|
name: n.term("auto"),
|
|
101254
|
-
value:
|
|
101254
|
+
value: or.Auto
|
|
101255
101255
|
},
|
|
101256
101256
|
{
|
|
101257
|
-
id:
|
|
101257
|
+
id: or.Fixed,
|
|
101258
101258
|
name: n.term("custom"),
|
|
101259
|
-
value:
|
|
101259
|
+
value: or.Fixed
|
|
101260
101260
|
}
|
|
101261
101261
|
],
|
|
101262
101262
|
type: "attribute",
|
|
101263
|
-
width: (a) => a["height-mode"] ===
|
|
101263
|
+
width: (a) => a["height-mode"] === or.Fixed ? "25%" : "50%"
|
|
101264
101264
|
},
|
|
101265
101265
|
{
|
|
101266
101266
|
...t.getStyleControl("--height"),
|
|
@@ -101269,7 +101269,7 @@ const IMt = {
|
|
|
101269
101269
|
label: n.term("height")
|
|
101270
101270
|
},
|
|
101271
101271
|
name: "height",
|
|
101272
|
-
show: (a) => a["height-mode"] ===
|
|
101272
|
+
show: (a) => a["height-mode"] === or.Fixed,
|
|
101273
101273
|
skipShowCheck: !0,
|
|
101274
101274
|
type: "attribute",
|
|
101275
101275
|
width: "25%"
|
|
@@ -102847,7 +102847,7 @@ const IMt = {
|
|
|
102847
102847
|
"format-src": "",
|
|
102848
102848
|
"header-source-field": "",
|
|
102849
102849
|
height: pPt,
|
|
102850
|
-
"height-mode":
|
|
102850
|
+
"height-mode": or.Fixed,
|
|
102851
102851
|
loop: !1,
|
|
102852
102852
|
"manual-thumbnail-format": !1,
|
|
102853
102853
|
name: "",
|
|
@@ -103036,18 +103036,18 @@ const IMt = {
|
|
|
103036
103036
|
name: "height-mode",
|
|
103037
103037
|
options: [
|
|
103038
103038
|
{
|
|
103039
|
-
id:
|
|
103039
|
+
id: or.Auto,
|
|
103040
103040
|
name: n.term("auto"),
|
|
103041
|
-
value:
|
|
103041
|
+
value: or.Auto
|
|
103042
103042
|
},
|
|
103043
103043
|
{
|
|
103044
|
-
id:
|
|
103044
|
+
id: or.Fixed,
|
|
103045
103045
|
name: n.term("custom"),
|
|
103046
|
-
value:
|
|
103046
|
+
value: or.Fixed
|
|
103047
103047
|
}
|
|
103048
103048
|
],
|
|
103049
103049
|
type: "attribute",
|
|
103050
|
-
width: (a) => a["height-mode"] ===
|
|
103050
|
+
width: (a) => a["height-mode"] === or.Fixed ? "25%" : "50%"
|
|
103051
103051
|
},
|
|
103052
103052
|
{
|
|
103053
103053
|
...t.getStyleControl("--height"),
|
|
@@ -103056,7 +103056,7 @@ const IMt = {
|
|
|
103056
103056
|
label: n.term("height")
|
|
103057
103057
|
},
|
|
103058
103058
|
name: "height",
|
|
103059
|
-
show: (a) => a["height-mode"] ===
|
|
103059
|
+
show: (a) => a["height-mode"] === or.Fixed,
|
|
103060
103060
|
type: "attribute",
|
|
103061
103061
|
width: "25%"
|
|
103062
103062
|
}
|
|
@@ -120978,7 +120978,7 @@ let Ho = class extends hn {
|
|
|
120978
120978
|
};
|
|
120979
120979
|
Ho.styles = [gn, OPt];
|
|
120980
120980
|
Ho.dependencies = {
|
|
120981
|
-
"cx-button":
|
|
120981
|
+
"cx-button": Zi,
|
|
120982
120982
|
"cx-color-picker": bx,
|
|
120983
120983
|
"cx-dialog": ns,
|
|
120984
120984
|
"cx-grid": ou,
|
|
@@ -121149,7 +121149,7 @@ let Ia = class extends hn {
|
|
|
121149
121149
|
};
|
|
121150
121150
|
Ia.styles = [gn, MPt];
|
|
121151
121151
|
Ia.dependencies = {
|
|
121152
|
-
"cx-button":
|
|
121152
|
+
"cx-button": Zi,
|
|
121153
121153
|
"cx-dialog": ns,
|
|
121154
121154
|
"cx-folder-select": g6,
|
|
121155
121155
|
"cx-icon-button": Cr,
|
|
@@ -121452,7 +121452,7 @@ let ws = class extends hn {
|
|
|
121452
121452
|
ws.styles = [gn, LPt];
|
|
121453
121453
|
ws.dependencies = {
|
|
121454
121454
|
"cx-asset-picker": ao,
|
|
121455
|
-
"cx-button":
|
|
121455
|
+
"cx-button": Zi,
|
|
121456
121456
|
"cx-checkbox": qh,
|
|
121457
121457
|
"cx-dialog": ns,
|
|
121458
121458
|
"cx-divider": $c,
|
|
@@ -121524,7 +121524,7 @@ AF.plugin({
|
|
|
121524
121524
|
ScrollbarsHiding: MQ,
|
|
121525
121525
|
SizeObserver: IQ
|
|
121526
121526
|
});
|
|
121527
|
-
let
|
|
121527
|
+
let Ji = class extends hn {
|
|
121528
121528
|
constructor() {
|
|
121529
121529
|
super(...arguments), this.formControlController = new qee(this, {
|
|
121530
121530
|
assumeInteractionOn: ["cx-gallery-picker-action"]
|
|
@@ -121596,8 +121596,8 @@ let hr = class extends hn {
|
|
|
121596
121596
|
try {
|
|
121597
121597
|
const n = await this.autofetchController.fetchImagesInFolderByPage({
|
|
121598
121598
|
folderId: this.src,
|
|
121599
|
-
format:
|
|
121600
|
-
manualFormat:
|
|
121599
|
+
format: Ji.THUMBNAIL_FORMAT,
|
|
121600
|
+
manualFormat: !0,
|
|
121601
121601
|
page: this.currentPage,
|
|
121602
121602
|
pageSize: this.itemsPerPage
|
|
121603
121603
|
});
|
|
@@ -121641,8 +121641,8 @@ let hr = class extends hn {
|
|
|
121641
121641
|
async doFetchByIds(n) {
|
|
121642
121642
|
this.loading = !0;
|
|
121643
121643
|
const e = await this.autofetchController.fetchImagesByIDs({
|
|
121644
|
-
format:
|
|
121645
|
-
manualFormat:
|
|
121644
|
+
format: Ji.THUMBNAIL_FORMAT,
|
|
121645
|
+
manualFormat: !0,
|
|
121646
121646
|
recordIds: n
|
|
121647
121647
|
}), t = new Map(
|
|
121648
121648
|
e.map((i) => [i.rawId ?? i.id, i])
|
|
@@ -121834,43 +121834,44 @@ let hr = class extends hn {
|
|
|
121834
121834
|
)}<cx-gallery-config variant=${this.variant} dialog-variant=${this.dialogVariant} ?disabled-asset-picker=${this.sourceVariant === Bi.Api} .boundary=${this.boundary} .onRequestAsset=${this.onRequestAsset} @cx-gallery-config-save=${this.handleSave}></cx-gallery-config>`;
|
|
121835
121835
|
}
|
|
121836
121836
|
};
|
|
121837
|
-
|
|
121837
|
+
Ji.styles = [
|
|
121838
121838
|
gn,
|
|
121839
121839
|
NQ,
|
|
121840
121840
|
$Pt
|
|
121841
121841
|
];
|
|
121842
|
-
|
|
121843
|
-
"cx-button":
|
|
121842
|
+
Ji.dependencies = {
|
|
121843
|
+
"cx-button": Zi,
|
|
121844
121844
|
"cx-gallery-config": ws,
|
|
121845
121845
|
"cx-input": eo,
|
|
121846
121846
|
"cx-masonry": pte,
|
|
121847
121847
|
"cx-space": Ui,
|
|
121848
121848
|
"cx-typography": qi
|
|
121849
121849
|
};
|
|
121850
|
+
Ji.THUMBNAIL_FORMAT = "TR4";
|
|
121850
121851
|
Lr([
|
|
121851
121852
|
Tt("cx-gallery-config")
|
|
121852
|
-
],
|
|
121853
|
+
], Ji.prototype, "galleryConfig", 2);
|
|
121853
121854
|
Lr([
|
|
121854
121855
|
Tt("cx-masonry")
|
|
121855
|
-
],
|
|
121856
|
+
], Ji.prototype, "masonry", 2);
|
|
121856
121857
|
Lr([
|
|
121857
121858
|
Tt(".gallery-picker__masonry-wrapper")
|
|
121858
|
-
],
|
|
121859
|
+
], Ji.prototype, "scrollWrapper", 2);
|
|
121859
121860
|
Lr([
|
|
121860
121861
|
Tt(".gallery-picker__input")
|
|
121861
|
-
],
|
|
121862
|
+
], Ji.prototype, "inputEl", 2);
|
|
121862
121863
|
Lr([
|
|
121863
121864
|
O({ reflect: !0, type: String })
|
|
121864
|
-
],
|
|
121865
|
+
], Ji.prototype, "variant", 2);
|
|
121865
121866
|
Lr([
|
|
121866
121867
|
O({ attribute: "source-variant", reflect: !0, type: String })
|
|
121867
|
-
],
|
|
121868
|
+
], Ji.prototype, "sourceVariant", 2);
|
|
121868
121869
|
Lr([
|
|
121869
121870
|
O({ attribute: "dialog-variant", reflect: !0, type: String })
|
|
121870
|
-
],
|
|
121871
|
+
], Ji.prototype, "dialogVariant", 2);
|
|
121871
121872
|
Lr([
|
|
121872
121873
|
O({ reflect: !0, type: String })
|
|
121873
|
-
],
|
|
121874
|
+
], Ji.prototype, "name", 2);
|
|
121874
121875
|
Lr([
|
|
121875
121876
|
O({
|
|
121876
121877
|
converter: {
|
|
@@ -121887,75 +121888,75 @@ Lr([
|
|
|
121887
121888
|
reflect: !0,
|
|
121888
121889
|
type: String
|
|
121889
121890
|
})
|
|
121890
|
-
],
|
|
121891
|
+
], Ji.prototype, "value", 2);
|
|
121891
121892
|
Lr([
|
|
121892
121893
|
Ite()
|
|
121893
|
-
],
|
|
121894
|
+
], Ji.prototype, "defaultValue", 2);
|
|
121894
121895
|
Lr([
|
|
121895
121896
|
O({ reflect: !0, type: String })
|
|
121896
|
-
],
|
|
121897
|
+
], Ji.prototype, "src", 2);
|
|
121897
121898
|
Lr([
|
|
121898
121899
|
O({ attribute: "format", type: String })
|
|
121899
|
-
],
|
|
121900
|
+
], Ji.prototype, "format", 2);
|
|
121900
121901
|
Lr([
|
|
121901
121902
|
O({ attribute: "manual-format", type: Boolean })
|
|
121902
|
-
],
|
|
121903
|
+
], Ji.prototype, "manualFormat", 2);
|
|
121903
121904
|
Lr([
|
|
121904
121905
|
O({ type: Object })
|
|
121905
|
-
],
|
|
121906
|
+
], Ji.prototype, "boundary", 2);
|
|
121906
121907
|
Lr([
|
|
121907
121908
|
O({ reflect: !1 })
|
|
121908
|
-
],
|
|
121909
|
+
], Ji.prototype, "form", 2);
|
|
121909
121910
|
Lr([
|
|
121910
121911
|
O({ attribute: "on-request-asset", type: Function })
|
|
121911
|
-
],
|
|
121912
|
+
], Ji.prototype, "onRequestAsset", 2);
|
|
121912
121913
|
Lr([
|
|
121913
121914
|
ge()
|
|
121914
|
-
],
|
|
121915
|
+
], Ji.prototype, "loading", 2);
|
|
121915
121916
|
Lr([
|
|
121916
121917
|
ge()
|
|
121917
|
-
],
|
|
121918
|
+
], Ji.prototype, "masonryData", 2);
|
|
121918
121919
|
Lr([
|
|
121919
121920
|
ge()
|
|
121920
|
-
],
|
|
121921
|
+
], Ji.prototype, "dataCount", 2);
|
|
121921
121922
|
Lr([
|
|
121922
121923
|
ge()
|
|
121923
|
-
],
|
|
121924
|
+
], Ji.prototype, "currentPage", 2);
|
|
121924
121925
|
Lr([
|
|
121925
121926
|
ge()
|
|
121926
|
-
],
|
|
121927
|
+
], Ji.prototype, "selectedPosition", 2);
|
|
121927
121928
|
Lr([
|
|
121928
121929
|
ge()
|
|
121929
|
-
],
|
|
121930
|
+
], Ji.prototype, "hasFinishedFetchingData", 2);
|
|
121930
121931
|
Lr([
|
|
121931
121932
|
ge()
|
|
121932
|
-
],
|
|
121933
|
+
], Ji.prototype, "errorDataMap", 2);
|
|
121933
121934
|
Lr([
|
|
121934
121935
|
ge()
|
|
121935
|
-
],
|
|
121936
|
+
], Ji.prototype, "osInstance", 2);
|
|
121936
121937
|
Lr([
|
|
121937
121938
|
Qe("variant")
|
|
121938
|
-
],
|
|
121939
|
+
], Ji.prototype, "handleVariantChange", 1);
|
|
121939
121940
|
Lr([
|
|
121940
121941
|
Qe("src"),
|
|
121941
121942
|
Qe("currentPage", { waitUntilFirstUpdate: !0 }),
|
|
121942
121943
|
Qe("sourceVariant", { waitUntilFirstUpdate: !0 }),
|
|
121943
121944
|
Qe("format", { waitUntilFirstUpdate: !0 })
|
|
121944
|
-
],
|
|
121945
|
+
], Ji.prototype, "fetchImagesInFolderBySlide", 1);
|
|
121945
121946
|
Lr([
|
|
121946
121947
|
Qe("src"),
|
|
121947
121948
|
Qe("sourceVariant", { waitUntilFirstUpdate: !0 })
|
|
121948
|
-
],
|
|
121949
|
+
], Ji.prototype, "handleSourceVariantChange", 1);
|
|
121949
121950
|
Lr([
|
|
121950
121951
|
Qe("value"),
|
|
121951
121952
|
Qe("sourceVariant", { waitUntilFirstUpdate: !0 })
|
|
121952
|
-
],
|
|
121953
|
+
], Ji.prototype, "fetchImagesByIDs", 1);
|
|
121953
121954
|
Lr([
|
|
121954
121955
|
Qe("format", { waitUntilFirstUpdate: !0 })
|
|
121955
|
-
],
|
|
121956
|
-
|
|
121956
|
+
], Ji.prototype, "handleFormatChange", 1);
|
|
121957
|
+
Ji = Lr([
|
|
121957
121958
|
nn("cx-gallery-picker")
|
|
121958
|
-
],
|
|
121959
|
+
], Ji);
|
|
121959
121960
|
const jPt = un`.page-picker__name{--color:var(--cx-color-primary-500)}.page-picker__request-page-button:not(:first-child){margin-left:var(--cx-spacing-small)}`;
|
|
121960
121961
|
var HPt = Object.defineProperty, VPt = Object.getOwnPropertyDescriptor, BK = (n) => {
|
|
121961
121962
|
throw TypeError(n);
|
|
@@ -122069,7 +122070,7 @@ let Lc = class extends hn {
|
|
|
122069
122070
|
wg = /* @__PURE__ */ new WeakMap();
|
|
122070
122071
|
Lc.styles = [gn, jPt];
|
|
122071
122072
|
Lc.dependencies = {
|
|
122072
|
-
"cx-button":
|
|
122073
|
+
"cx-button": Zi,
|
|
122073
122074
|
"cx-dialog": ns,
|
|
122074
122075
|
"cx-folder-select": g6,
|
|
122075
122076
|
"cx-icon-button": Cr,
|
|
@@ -123712,7 +123713,7 @@ Ci.dependencies = {
|
|
|
123712
123713
|
"cx-asset-transformation-dialog": Pr,
|
|
123713
123714
|
"cx-bicolor-picker": ez,
|
|
123714
123715
|
"cx-border-input-group": tz,
|
|
123715
|
-
"cx-button":
|
|
123716
|
+
"cx-button": Zi,
|
|
123716
123717
|
"cx-button-group": OQ,
|
|
123717
123718
|
"cx-card": am,
|
|
123718
123719
|
"cx-checkbox": qh,
|
|
@@ -123727,14 +123728,14 @@ Ci.dependencies = {
|
|
|
123727
123728
|
"cx-dynamic-select": pb,
|
|
123728
123729
|
"cx-folder-picker": Ia,
|
|
123729
123730
|
"cx-font-picker": hd,
|
|
123730
|
-
"cx-gallery-picker":
|
|
123731
|
+
"cx-gallery-picker": Ji,
|
|
123731
123732
|
"cx-grid": ou,
|
|
123732
123733
|
"cx-grid-item": au,
|
|
123733
123734
|
"cx-icon": Hr,
|
|
123734
123735
|
"cx-icon-picker": Da,
|
|
123735
123736
|
"cx-input": eo,
|
|
123736
123737
|
"cx-line-clamp": Bp,
|
|
123737
|
-
"cx-list-editor":
|
|
123738
|
+
"cx-list-editor": sr,
|
|
123738
123739
|
"cx-menu": pl,
|
|
123739
123740
|
"cx-menu-item": hl,
|
|
123740
123741
|
"cx-option": ea,
|
|
@@ -125375,7 +125376,7 @@ const TNt = (n) => {
|
|
|
125375
125376
|
"data-width-pixel": o.width,
|
|
125376
125377
|
width: o.width
|
|
125377
125378
|
};
|
|
125378
|
-
o.heightMode !==
|
|
125379
|
+
o.heightMode !== or.Auto && (a.height = o.height), this.model.addAttributes(a);
|
|
125379
125380
|
}
|
|
125380
125381
|
}
|
|
125381
125382
|
}
|
|
@@ -125601,7 +125602,7 @@ const TNt = (n) => {
|
|
|
125601
125602
|
"data-width-pixel": u.width,
|
|
125602
125603
|
width: u.width
|
|
125603
125604
|
};
|
|
125604
|
-
u.heightMode !==
|
|
125605
|
+
u.heightMode !== or.Auto && (h.height = u.height), this.model.addAttributes(h);
|
|
125605
125606
|
}
|
|
125606
125607
|
}
|
|
125607
125608
|
},
|
|
@@ -126112,7 +126113,7 @@ const ZNt = zr.create({
|
|
|
126112
126113
|
];
|
|
126113
126114
|
},
|
|
126114
126115
|
renderHTML({ HTMLAttributes: n }) {
|
|
126115
|
-
return ["sub",
|
|
126116
|
+
return ["sub", pr(this.options.HTMLAttributes, n), 0];
|
|
126116
126117
|
},
|
|
126117
126118
|
addCommands() {
|
|
126118
126119
|
return {
|
|
@@ -126147,7 +126148,7 @@ const ZNt = zr.create({
|
|
|
126147
126148
|
];
|
|
126148
126149
|
},
|
|
126149
126150
|
renderHTML({ HTMLAttributes: n }) {
|
|
126150
|
-
return ["sup",
|
|
126151
|
+
return ["sup", pr(this.options.HTMLAttributes, n), 0];
|
|
126151
126152
|
},
|
|
126152
126153
|
addCommands() {
|
|
126153
126154
|
return {
|
|
@@ -126189,7 +126190,7 @@ const ZNt = zr.create({
|
|
|
126189
126190
|
];
|
|
126190
126191
|
},
|
|
126191
126192
|
renderHTML({ HTMLAttributes: n }) {
|
|
126192
|
-
return ["mark",
|
|
126193
|
+
return ["mark", pr(this.options.HTMLAttributes, n), 0];
|
|
126193
126194
|
},
|
|
126194
126195
|
addCommands() {
|
|
126195
126196
|
return {
|
|
@@ -126249,7 +126250,7 @@ const ZNt = zr.create({
|
|
|
126249
126250
|
];
|
|
126250
126251
|
},
|
|
126251
126252
|
renderHTML({ HTMLAttributes: n }) {
|
|
126252
|
-
return ["span",
|
|
126253
|
+
return ["span", pr(this.options.HTMLAttributes, n), 0];
|
|
126253
126254
|
},
|
|
126254
126255
|
spanning: !1
|
|
126255
126256
|
}), iLt = /* @__PURE__ */ new Set([
|
|
@@ -126461,7 +126462,7 @@ const sLt = Vp(Ba.create({
|
|
|
126461
126462
|
];
|
|
126462
126463
|
},
|
|
126463
126464
|
renderHTML({ HTMLAttributes: n }) {
|
|
126464
|
-
return ["aside",
|
|
126465
|
+
return ["aside", pr(this.options.HTMLAttributes, n), 0];
|
|
126465
126466
|
}
|
|
126466
126467
|
})), lLt = /^\s*>\s$/, cLt = Ba.create({
|
|
126467
126468
|
name: "blockquote",
|
|
@@ -126479,7 +126480,7 @@ const sLt = Vp(Ba.create({
|
|
|
126479
126480
|
];
|
|
126480
126481
|
},
|
|
126481
126482
|
renderHTML({ HTMLAttributes: n }) {
|
|
126482
|
-
return ["blockquote",
|
|
126483
|
+
return ["blockquote", pr(this.options.HTMLAttributes, n), 0];
|
|
126483
126484
|
},
|
|
126484
126485
|
addCommands() {
|
|
126485
126486
|
return {
|
|
@@ -126740,7 +126741,7 @@ const TR = ["disc", "circle", "square"], ck = /^\s*([-+*])\s$/, xLt = Vp(
|
|
|
126740
126741
|
renderHTML({ HTMLAttributes: n, node: e }) {
|
|
126741
126742
|
return [
|
|
126742
126743
|
"pre",
|
|
126743
|
-
|
|
126744
|
+
pr(this.options.HTMLAttributes, n),
|
|
126744
126745
|
[
|
|
126745
126746
|
"code",
|
|
126746
126747
|
{
|
|
@@ -135183,7 +135184,7 @@ const tFt = CLt.extend({
|
|
|
135183
135184
|
renderHTML({ HTMLAttributes: n }) {
|
|
135184
135185
|
return [
|
|
135185
135186
|
"div",
|
|
135186
|
-
|
|
135187
|
+
pr(this.options.HTMLAttributes, n),
|
|
135187
135188
|
0
|
|
135188
135189
|
];
|
|
135189
135190
|
}
|
|
@@ -135295,7 +135296,7 @@ const iFt = ({ keepMarks: n = !0 } = {}) => ({
|
|
|
135295
135296
|
}));
|
|
135296
135297
|
},
|
|
135297
135298
|
renderHTML({ node: n, HTMLAttributes: e }) {
|
|
135298
|
-
return [`h${this.options.levels.includes(n.attrs.level) ? n.attrs.level : this.options.levels[0]}`,
|
|
135299
|
+
return [`h${this.options.levels.includes(n.attrs.level) ? n.attrs.level : this.options.levels[0]}`, pr(this.options.HTMLAttributes, e), 0];
|
|
135299
135300
|
},
|
|
135300
135301
|
addCommands() {
|
|
135301
135302
|
return {
|
|
@@ -135644,7 +135645,7 @@ const vFt = rS.extend({
|
|
|
135644
135645
|
];
|
|
135645
135646
|
},
|
|
135646
135647
|
renderHTML({ HTMLAttributes: n }) {
|
|
135647
|
-
const e =
|
|
135648
|
+
const e = pr(this.options.HTMLAttributes, n);
|
|
135648
135649
|
return this.editor?.isEditable || delete e.rel, ["a", e, 0];
|
|
135649
135650
|
}
|
|
135650
135651
|
}), yFt = {
|
|
@@ -136232,7 +136233,7 @@ const kFt = (n) => ({ dispatch: e, state: t }) => {
|
|
|
136232
136233
|
const e = n.htmlNode || "p";
|
|
136233
136234
|
return delete n.htmlNode, [
|
|
136234
136235
|
e,
|
|
136235
|
-
|
|
136236
|
+
pr(this.options.HTMLAttributes, n),
|
|
136236
136237
|
0
|
|
136237
136238
|
];
|
|
136238
136239
|
}
|
|
@@ -136410,7 +136411,7 @@ const pk = ({ editor: n }) => {
|
|
|
136410
136411
|
const { colgroup: t, tableWidth: i, tableMinWidth: r } = IFt(n, this.options.cellMinWidth);
|
|
136411
136412
|
return [
|
|
136412
136413
|
"table",
|
|
136413
|
-
|
|
136414
|
+
pr(this.options.HTMLAttributes, e, {
|
|
136414
136415
|
style: i ? `width: ${i}` : `min-width: ${r}`
|
|
136415
136416
|
}),
|
|
136416
136417
|
t,
|
|
@@ -136522,7 +136523,7 @@ const pk = ({ editor: n }) => {
|
|
|
136522
136523
|
];
|
|
136523
136524
|
},
|
|
136524
136525
|
renderHTML({ HTMLAttributes: n }) {
|
|
136525
|
-
return ["td",
|
|
136526
|
+
return ["td", pr(this.options.HTMLAttributes, n), 0];
|
|
136526
136527
|
}
|
|
136527
136528
|
}), RFt = Ba.create({
|
|
136528
136529
|
name: "tableHeader",
|
|
@@ -136557,7 +136558,7 @@ const pk = ({ editor: n }) => {
|
|
|
136557
136558
|
];
|
|
136558
136559
|
},
|
|
136559
136560
|
renderHTML({ HTMLAttributes: n }) {
|
|
136560
|
-
return ["th",
|
|
136561
|
+
return ["th", pr(this.options.HTMLAttributes, n), 0];
|
|
136561
136562
|
}
|
|
136562
136563
|
}), $Ft = Ba.create({
|
|
136563
136564
|
name: "tableRow",
|
|
@@ -136574,7 +136575,7 @@ const pk = ({ editor: n }) => {
|
|
|
136574
136575
|
];
|
|
136575
136576
|
},
|
|
136576
136577
|
renderHTML({ HTMLAttributes: n }) {
|
|
136577
|
-
return ["tr",
|
|
136578
|
+
return ["tr", pr(this.options.HTMLAttributes, n), 0];
|
|
136578
136579
|
}
|
|
136579
136580
|
}), i$ = 10, FFt = ({ height: n, map: e, width: t }, i) => {
|
|
136580
136581
|
let r = i.top * t + i.left, o = r, a = (i.bottom - 1) * t + i.left, s = r + (i.right - i.left - 1);
|
|
@@ -136792,7 +136793,7 @@ function a$(n, e, t, i) {
|
|
|
136792
136793
|
return -1;
|
|
136793
136794
|
if (t == "right")
|
|
136794
136795
|
return s.pos;
|
|
136795
|
-
const l =
|
|
136796
|
+
const l = tr.get(s.node(-1)), c = s.start(-1), d = l.map.indexOf(s.pos - c);
|
|
136796
136797
|
return d % l.width == 0 ? -1 : c + l.map[d - 1];
|
|
136797
136798
|
}
|
|
136798
136799
|
function UFt(n, e, t, i, r) {
|
|
@@ -136808,7 +136809,7 @@ function UFt(n, e, t, i, r) {
|
|
|
136808
136809
|
}
|
|
136809
136810
|
if (s != o.activeHandle) {
|
|
136810
136811
|
if (!r && s !== -1) {
|
|
136811
|
-
const l = n.state.doc.resolve(s), c = l.node(-1), d =
|
|
136812
|
+
const l = n.state.doc.resolve(s), c = l.node(-1), d = tr.get(c), u = l.start(-1);
|
|
136812
136813
|
if (d.colCount(l.pos - u) + l.nodeAfter.attrs.colspan - 1 == d.width - 1)
|
|
136813
136814
|
return;
|
|
136814
136815
|
}
|
|
@@ -136824,7 +136825,7 @@ function WFt(n, e, t) {
|
|
|
136824
136825
|
const i = n.dom.ownerDocument.defaultView ?? window, r = mo.getState(n.state);
|
|
136825
136826
|
if (!r || r.activeHandle == -1 || r.dragging)
|
|
136826
136827
|
return !1;
|
|
136827
|
-
const o = n.state.doc.nodeAt(r.activeHandle), a = n.state.doc.resolve(r.activeHandle), s = a.node(-1), l =
|
|
136828
|
+
const o = n.state.doc.nodeAt(r.activeHandle), a = n.state.doc.resolve(r.activeHandle), s = a.node(-1), l = tr.get(s), c = a.start(-1), d = l.colCount(a.pos - c) + a.nodeAfter.attrs.colspan - 1, u = d + 1, h = new Zf();
|
|
136828
136829
|
let m = 0;
|
|
136829
136830
|
for (let T = a.depth; T > 0; T--)
|
|
136830
136831
|
a.node(T).type.spec.tableRole === "table" && (m = T);
|
|
@@ -136976,7 +136977,7 @@ function GFt(n, e, t = document) {
|
|
|
136976
136977
|
const i = [], r = n.doc.resolve(e), o = r.node(-1);
|
|
136977
136978
|
if (!o)
|
|
136978
136979
|
return bi.empty;
|
|
136979
|
-
const a =
|
|
136980
|
+
const a = tr.get(o), s = r.start(-1), l = a.colCount(r.pos - s) + r.nodeAfter.attrs.colspan;
|
|
136980
136981
|
for (let c = 0; c < a.height; c++) {
|
|
136981
136982
|
const d = l + c * a.width - 1, u = UY(d, a);
|
|
136982
136983
|
if (VE(d, l, c, a, !0)) {
|
|
@@ -136995,7 +136996,7 @@ function $4(n, e, t) {
|
|
|
136995
136996
|
}
|
|
136996
136997
|
function Ry(n, e) {
|
|
136997
136998
|
const t = n.tableStart ? e.doc.nodeAt(n.tableStart - 1) : e.doc;
|
|
136998
|
-
t && (n.table = t, n.map =
|
|
136999
|
+
t && (n.table = t, n.map = tr.get(n.table));
|
|
136999
137000
|
}
|
|
137000
137001
|
function Y7(n, e) {
|
|
137001
137002
|
return n.selection instanceof Bn && n.selection.node.type.name === "table" ? (e && e(n.tr.delete(n.selection.from, n.selection.to)), !0) : !1;
|
|
@@ -137385,7 +137386,7 @@ const F4 = (n) => n.nodeName === "TABLE" || !n.parentElement ? n : F4(n.parentEl
|
|
|
137385
137386
|
const k = n.state.doc.resolve(w), E = k.node(-1), C = k.start(-1);
|
|
137386
137387
|
if (!E.eq(s))
|
|
137387
137388
|
return !1;
|
|
137388
|
-
const T =
|
|
137389
|
+
const T = tr.get(E), M = T.map.indexOf(k.pos - C), z = Math.floor(M / T.width), V = n.nodeDOM(w), H = Ns(b.attrs.style || "");
|
|
137389
137390
|
let L = [0];
|
|
137390
137391
|
if (V.style.width && V.style.width.indexOf("%") > 0) {
|
|
137391
137392
|
const X = F4(V), F = parseFloat(X.style.width) || 100;
|
|
@@ -137467,7 +137468,7 @@ const F4 = (n) => n.nodeName === "TABLE" || !n.parentElement ? n : F4(n.parentEl
|
|
|
137467
137468
|
b < 100 || h ? u / b : u / 100
|
|
137468
137469
|
);
|
|
137469
137470
|
}
|
|
137470
|
-
const f = VY(
|
|
137471
|
+
const f = VY(tr.get(s), s) || 100;
|
|
137471
137472
|
o.setNodeMarkup(l, null, {
|
|
137472
137473
|
...s.attrs,
|
|
137473
137474
|
style: ol({
|
|
@@ -137500,7 +137501,7 @@ class _w {
|
|
|
137500
137501
|
}
|
|
137501
137502
|
}
|
|
137502
137503
|
function KY(n, e) {
|
|
137503
|
-
const t = n.state.doc.resolve(e), i = t.node(-1), r =
|
|
137504
|
+
const t = n.state.doc.resolve(e), i = t.node(-1), r = tr.get(i), o = t.start(-1);
|
|
137504
137505
|
let s = Cw(r, t.pos - o) + (t.nodeAfter.attrs.rowspan || 1) - 1;
|
|
137505
137506
|
s > 0 && t.nodeAfter && t.nodeAfter.attrs.rowspan > 1 && t.nodeAfter.attrs.colspan === r.width && (s -= 1);
|
|
137506
137507
|
const l = (() => {
|
|
@@ -137558,7 +137559,7 @@ function g$(n, e, t, i) {
|
|
|
137558
137559
|
return -1;
|
|
137559
137560
|
if (t == "bottom")
|
|
137560
137561
|
return s.pos;
|
|
137561
|
-
const l =
|
|
137562
|
+
const l = tr.get(s.node(-1)), c = s.start(-1), d = l.map.indexOf(s.pos - c);
|
|
137562
137563
|
return d < l.width ? -1 : c + l.map[d - l.width];
|
|
137563
137564
|
}
|
|
137564
137565
|
function YY(n, e) {
|
|
@@ -137579,7 +137580,7 @@ function czt(n, e, t, i, r) {
|
|
|
137579
137580
|
}
|
|
137580
137581
|
if (s != o.activeHandle) {
|
|
137581
137582
|
if (!r && s !== -1) {
|
|
137582
|
-
const l = n.state.doc.resolve(s), c = l.node(-1), d =
|
|
137583
|
+
const l = n.state.doc.resolve(s), c = l.node(-1), d = tr.get(c), u = l.start(-1);
|
|
137583
137584
|
if (Cw(d, l.pos - u) + l.nodeAfter.attrs.rowspan - 1 == d.width - 1)
|
|
137584
137585
|
return;
|
|
137585
137586
|
}
|
|
@@ -137628,7 +137629,7 @@ function pzt(n, e, t = document) {
|
|
|
137628
137629
|
const i = [], r = n.doc.resolve(e), o = r.node(-1);
|
|
137629
137630
|
if (!o)
|
|
137630
137631
|
return bi.empty;
|
|
137631
|
-
const a =
|
|
137632
|
+
const a = tr.get(o), s = r.start(-1), l = Cw(a, r.pos - s), c = [];
|
|
137632
137633
|
function d(u, h) {
|
|
137633
137634
|
if (u < 0 || u >= h.map.length)
|
|
137634
137635
|
return !1;
|
|
@@ -137786,7 +137787,7 @@ function yzt(n, e, t) {
|
|
|
137786
137787
|
const s = r.resolve(i.from + 1);
|
|
137787
137788
|
o = ci.rowSelection(s, s);
|
|
137788
137789
|
} else if (!t) {
|
|
137789
|
-
const s =
|
|
137790
|
+
const s = tr.get(i.node), l = i.from + 1, c = l + s.map[s.width * s.height - 1];
|
|
137790
137791
|
o = ci.create(r, l + 1, c);
|
|
137791
137792
|
}
|
|
137792
137793
|
} else i instanceof Fn && fzt(i) ? o = Fn.create(r, i.from) : i instanceof Fn && vzt(i) && (o = Fn.create(r, i.from, i.to));
|
|
@@ -137897,7 +137898,7 @@ function kzt(n, e, t) {
|
|
|
137897
137898
|
],
|
|
137898
137899
|
width: 1
|
|
137899
137900
|
});
|
|
137900
|
-
const o = r.$anchorCell.node(-1), a = r.$anchorCell.start(-1), s =
|
|
137901
|
+
const o = r.$anchorCell.node(-1), a = r.$anchorCell.start(-1), s = tr.get(o).rectBetween(
|
|
137901
137902
|
r.$anchorCell.pos - a,
|
|
137902
137903
|
r.$headCell.pos - a
|
|
137903
137904
|
);
|
|
@@ -137908,7 +137909,7 @@ function kzt(n, e, t) {
|
|
|
137908
137909
|
n.state,
|
|
137909
137910
|
n.dispatch,
|
|
137910
137911
|
a,
|
|
137911
|
-
|
|
137912
|
+
tr.get(o.node(-1)).findCell(o.pos - a),
|
|
137912
137913
|
i
|
|
137913
137914
|
), !0;
|
|
137914
137915
|
}
|
|
@@ -138228,7 +138229,7 @@ const Szt = LFt.extend({
|
|
|
138228
138229
|
renderHTML({ HTMLAttributes: n }) {
|
|
138229
138230
|
return [
|
|
138230
138231
|
"table",
|
|
138231
|
-
|
|
138232
|
+
pr(this.options.HTMLAttributes, n),
|
|
138232
138233
|
["tbody", 0]
|
|
138233
138234
|
];
|
|
138234
138235
|
}
|
|
@@ -140351,7 +140352,7 @@ let Rc = class extends hn {
|
|
|
140351
140352
|
};
|
|
140352
140353
|
Rc.styles = [gn, eX];
|
|
140353
140354
|
Rc.dependencies = {
|
|
140354
|
-
"cx-button":
|
|
140355
|
+
"cx-button": Zi,
|
|
140355
140356
|
"cx-dialog": ns,
|
|
140356
140357
|
"cx-input": eo,
|
|
140357
140358
|
"cx-space": Ui,
|
|
@@ -140594,7 +140595,7 @@ let Fs = class extends hn {
|
|
|
140594
140595
|
</cx-checkbox></cx-space><cx-space wrap="nowrap" direction="vertical" class="image-dialog__col" spacing="x-small"><cx-typography variant="body2">${this.localize.term("preview")}</cx-typography><div class="image-container"><cx-image part="image" class=${Ut({
|
|
140595
140596
|
image: !0,
|
|
140596
140597
|
"undefined-src": this.isValidSrc === void 0
|
|
140597
|
-
})} src=${this.data.src || ""} width="100%" height="100%" height-mode=${this.data.keepRatio ?
|
|
140598
|
+
})} src=${this.data.src || ""} width="100%" height="100%" height-mode=${this.data.keepRatio ? or.Auto : or.Fixed} no-crossorigin retry-on-error @cx-load=${this.handleImageLoad}></cx-image></div><cx-typography variant="body3">
|
|
140598
140599
|
In editor, drag image to reposition
|
|
140599
140600
|
</cx-typography><cx-typography variant="body3">
|
|
140600
140601
|
Click on image to enable image resizer
|
|
@@ -140682,7 +140683,7 @@ var wjt = Object.defineProperty, xjt = Object.getOwnPropertyDescriptor, Tr = (n,
|
|
|
140682
140683
|
(a = n[o]) && (r = (i ? a(e, t, r) : a(r)) || r);
|
|
140683
140684
|
return i && r && wjt(e, t, r), r;
|
|
140684
140685
|
};
|
|
140685
|
-
let
|
|
140686
|
+
let ir = class extends hn {
|
|
140686
140687
|
constructor() {
|
|
140687
140688
|
super(), this.localize = new Dn(this), this.tiptapEditor = null, this.model = null, this.enableAll = !1, this.basicFormat = !1, this.textScript = !1, this.textAlignment = !1, this.textListing = !1, this.fontSize = !1, this.fontColor = !1, this.blockFormatting = !1, this.textIndentation = !1, this.lineHeight = !1, this.link = !1, this.highlight = !1, this.boundary = document.body, this.onRequestAsset = void 0, this.singleRow = !1, this.isBulletListOpen = !1, this.isOrderedListOpen = !1, this.isInvalidUrl = !1, this.previousTiptapEditor = null, this.linkDialogRef = fp(), this.displayTextInputRef = fp(), this.linkUrlInputRef = fp(), this.titleInputRef = fp(), this.newTabCheckBoxRef = fp(), this._openAnchorDialog = !1, this._openSpecialCharDialog = !1, this._openImageDialog = !1, this.lastSelection = null, this.onFontSizeChange = this.onFontSizeChange.bind(this), this.onBlockFormatChange = this.onBlockFormatChange.bind(this), this.onLineHeightChange = this.onLineHeightChange.bind(this), this.onKeydown = this.onKeydown.bind(this), this.closeAnchorDialog = this.closeAnchorDialog.bind(this), this.onConfirmAnchorProperties = this.onConfirmAnchorProperties.bind(this), this.closeSpecialCharDialog = this.closeSpecialCharDialog.bind(this), this.onConfirmSpecialCharProperties = this.onConfirmSpecialCharProperties.bind(this), this.closeImageDialog = this.closeImageDialog.bind(this), this.onConfirmImageProperties = this.onConfirmImageProperties.bind(this), this.renderLinkDialog = this.renderLinkDialog.bind(this), this.renderAnchorControl = this.renderAnchorControl.bind(this), this.renderSpecialCharControl = this.renderSpecialCharControl.bind(this), this.renderImageDialog = this.renderImageDialog.bind(this);
|
|
140688
140689
|
}
|
|
@@ -141453,10 +141454,10 @@ let nr = class extends hn {
|
|
|
141453
141454
|
`;
|
|
141454
141455
|
}
|
|
141455
141456
|
};
|
|
141456
|
-
|
|
141457
|
-
|
|
141457
|
+
ir.styles = [gn, vjt];
|
|
141458
|
+
ir.dependencies = {
|
|
141458
141459
|
"cx-anchor-dialog": hjt,
|
|
141459
|
-
"cx-button":
|
|
141460
|
+
"cx-button": Zi,
|
|
141460
141461
|
"cx-checkbox": qh,
|
|
141461
141462
|
"cx-color-picker": bx,
|
|
141462
141463
|
"cx-dialog": ns,
|
|
@@ -141478,100 +141479,100 @@ nr.dependencies = {
|
|
|
141478
141479
|
};
|
|
141479
141480
|
Tr([
|
|
141480
141481
|
Tt("cx-popup")
|
|
141481
|
-
],
|
|
141482
|
+
], ir.prototype, "bubbleMenu", 2);
|
|
141482
141483
|
Tr([
|
|
141483
141484
|
Tt("cx-anchor-dialog")
|
|
141484
|
-
],
|
|
141485
|
+
], ir.prototype, "anchorDialog", 2);
|
|
141485
141486
|
Tr([
|
|
141486
141487
|
Tt("cx-special-characters-dialog")
|
|
141487
|
-
],
|
|
141488
|
+
], ir.prototype, "specialCharDialog", 2);
|
|
141488
141489
|
Tr([
|
|
141489
141490
|
Tt("cx-image-dialog")
|
|
141490
|
-
],
|
|
141491
|
+
], ir.prototype, "assetDialog", 2);
|
|
141491
141492
|
Tr([
|
|
141492
141493
|
Tt(".bullet-list-dropdown")
|
|
141493
|
-
],
|
|
141494
|
+
], ir.prototype, "bulletListDropdown", 2);
|
|
141494
141495
|
Tr([
|
|
141495
141496
|
Tt(".ordered-list-dropdown")
|
|
141496
|
-
],
|
|
141497
|
+
], ir.prototype, "orderedListDropdown", 2);
|
|
141497
141498
|
Tr([
|
|
141498
141499
|
O({ attribute: "tiptap-editor", type: Object })
|
|
141499
|
-
],
|
|
141500
|
+
], ir.prototype, "tiptapEditor", 2);
|
|
141500
141501
|
Tr([
|
|
141501
141502
|
O({ type: Object })
|
|
141502
|
-
],
|
|
141503
|
+
], ir.prototype, "model", 2);
|
|
141503
141504
|
Tr([
|
|
141504
141505
|
O({ attribute: "enable-all", type: Boolean })
|
|
141505
|
-
],
|
|
141506
|
+
], ir.prototype, "enableAll", 2);
|
|
141506
141507
|
Tr([
|
|
141507
141508
|
O({ attribute: "basic-format", type: Boolean })
|
|
141508
|
-
],
|
|
141509
|
+
], ir.prototype, "basicFormat", 2);
|
|
141509
141510
|
Tr([
|
|
141510
141511
|
O({ attribute: "text-script", type: Boolean })
|
|
141511
|
-
],
|
|
141512
|
+
], ir.prototype, "textScript", 2);
|
|
141512
141513
|
Tr([
|
|
141513
141514
|
O({ attribute: "text-alignment", type: Boolean })
|
|
141514
|
-
],
|
|
141515
|
+
], ir.prototype, "textAlignment", 2);
|
|
141515
141516
|
Tr([
|
|
141516
141517
|
O({ attribute: "text-listing", type: Boolean })
|
|
141517
|
-
],
|
|
141518
|
+
], ir.prototype, "textListing", 2);
|
|
141518
141519
|
Tr([
|
|
141519
141520
|
O({ attribute: "font-size", type: Boolean })
|
|
141520
|
-
],
|
|
141521
|
+
], ir.prototype, "fontSize", 2);
|
|
141521
141522
|
Tr([
|
|
141522
141523
|
O({ attribute: "font-color", type: Boolean })
|
|
141523
|
-
],
|
|
141524
|
+
], ir.prototype, "fontColor", 2);
|
|
141524
141525
|
Tr([
|
|
141525
141526
|
O({ attribute: "block-formatting", type: Boolean })
|
|
141526
|
-
],
|
|
141527
|
+
], ir.prototype, "blockFormatting", 2);
|
|
141527
141528
|
Tr([
|
|
141528
141529
|
O({ attribute: "text-indentation", type: Boolean })
|
|
141529
|
-
],
|
|
141530
|
+
], ir.prototype, "textIndentation", 2);
|
|
141530
141531
|
Tr([
|
|
141531
141532
|
O({ attribute: "line-height", type: Boolean })
|
|
141532
|
-
],
|
|
141533
|
+
], ir.prototype, "lineHeight", 2);
|
|
141533
141534
|
Tr([
|
|
141534
141535
|
O({ attribute: "link", type: Boolean })
|
|
141535
|
-
],
|
|
141536
|
+
], ir.prototype, "link", 2);
|
|
141536
141537
|
Tr([
|
|
141537
141538
|
O({ attribute: "highlight", type: Boolean })
|
|
141538
|
-
],
|
|
141539
|
+
], ir.prototype, "highlight", 2);
|
|
141539
141540
|
Tr([
|
|
141540
141541
|
O({ type: Object })
|
|
141541
|
-
],
|
|
141542
|
+
], ir.prototype, "boundary", 2);
|
|
141542
141543
|
Tr([
|
|
141543
141544
|
O({ attribute: "on-request-asset", type: Function })
|
|
141544
|
-
],
|
|
141545
|
+
], ir.prototype, "onRequestAsset", 2);
|
|
141545
141546
|
Tr([
|
|
141546
141547
|
O({ attribute: "one-row", type: Boolean })
|
|
141547
|
-
],
|
|
141548
|
+
], ir.prototype, "singleRow", 2);
|
|
141548
141549
|
Tr([
|
|
141549
141550
|
ge()
|
|
141550
|
-
],
|
|
141551
|
+
], ir.prototype, "isBulletListOpen", 2);
|
|
141551
141552
|
Tr([
|
|
141552
141553
|
ge()
|
|
141553
|
-
],
|
|
141554
|
+
], ir.prototype, "isOrderedListOpen", 2);
|
|
141554
141555
|
Tr([
|
|
141555
141556
|
ge()
|
|
141556
|
-
],
|
|
141557
|
+
], ir.prototype, "isInvalidUrl", 2);
|
|
141557
141558
|
Tr([
|
|
141558
141559
|
ge()
|
|
141559
|
-
],
|
|
141560
|
+
], ir.prototype, "previousTiptapEditor", 2);
|
|
141560
141561
|
Tr([
|
|
141561
141562
|
Qe("tiptapEditor", { waitUntilFirstUpdate: !0 })
|
|
141562
|
-
],
|
|
141563
|
+
], ir.prototype, "handleTiptapEditorChange", 1);
|
|
141563
141564
|
Tr([
|
|
141564
141565
|
ge()
|
|
141565
|
-
],
|
|
141566
|
+
], ir.prototype, "_openAnchorDialog", 2);
|
|
141566
141567
|
Tr([
|
|
141567
141568
|
ge()
|
|
141568
|
-
],
|
|
141569
|
+
], ir.prototype, "_openSpecialCharDialog", 2);
|
|
141569
141570
|
Tr([
|
|
141570
141571
|
ge()
|
|
141571
|
-
],
|
|
141572
|
-
|
|
141572
|
+
], ir.prototype, "_openImageDialog", 2);
|
|
141573
|
+
ir = Tr([
|
|
141573
141574
|
nn("cx-rte-bubble-menu")
|
|
141574
|
-
],
|
|
141575
|
+
], ir);
|
|
141575
141576
|
const { min: kjt, max: _jt } = Math, Tf = (n, e = 0, t = 1) => kjt(_jt(e, n), t), X7 = (n) => {
|
|
141576
141577
|
n._clipped = !1, n._unclipped = n.slice(0);
|
|
141577
141578
|
for (let e = 0; e <= 3; e++)
|
|
@@ -141630,8 +141631,8 @@ class Yt {
|
|
|
141630
141631
|
return Vi(this.hex) == "function" ? this.hex() : `[${this._rgb.join(",")}]`;
|
|
141631
141632
|
}
|
|
141632
141633
|
}
|
|
141633
|
-
const Tjt = "3.1.2",
|
|
141634
|
-
|
|
141634
|
+
const Tjt = "3.1.2", er = (...n) => new Yt(...n);
|
|
141635
|
+
er.version = Tjt;
|
|
141635
141636
|
const ob = {
|
|
141636
141637
|
aliceblue: "#f0f8ff",
|
|
141637
141638
|
antiquewhite: "#faebd7",
|
|
@@ -141977,7 +141978,7 @@ Yt.prototype.lab = function() {
|
|
|
141977
141978
|
return Z7(this._rgb);
|
|
141978
141979
|
};
|
|
141979
141980
|
const Mjt = (...n) => new Yt(...n, "lab");
|
|
141980
|
-
Object.assign(
|
|
141981
|
+
Object.assign(er, { lab: Mjt, getLabWhitePoint: hx, setLabWhitePoint: Oh });
|
|
141981
141982
|
_i.format.lab = J7;
|
|
141982
141983
|
_i.autodetect.push({
|
|
141983
141984
|
p: 2,
|
|
@@ -142060,7 +142061,7 @@ Yt.prototype.hcl = function() {
|
|
|
142060
142061
|
return oX(eD(this._rgb));
|
|
142061
142062
|
};
|
|
142062
142063
|
const Vjt = (...n) => new Yt(...n, "lch"), Ujt = (...n) => new Yt(...n, "hcl");
|
|
142063
|
-
Object.assign(
|
|
142064
|
+
Object.assign(er, { lch: Vjt, hcl: Ujt });
|
|
142064
142065
|
_i.format.lch = Q7;
|
|
142065
142066
|
_i.format.hcl = Fjt;
|
|
142066
142067
|
["lch", "hcl"].forEach(
|
|
@@ -142172,7 +142173,7 @@ Yt.prototype.num = function() {
|
|
|
142172
142173
|
return Yjt(this._rgb);
|
|
142173
142174
|
};
|
|
142174
142175
|
const Xjt = (...n) => new Yt(...n, "num");
|
|
142175
|
-
Object.assign(
|
|
142176
|
+
Object.assign(er, { num: Xjt });
|
|
142176
142177
|
_i.format.num = Kjt;
|
|
142177
142178
|
_i.autodetect.push({
|
|
142178
142179
|
p: 5,
|
|
@@ -142227,7 +142228,7 @@ Yt.prototype.hcg = function() {
|
|
|
142227
142228
|
return eHt(this._rgb);
|
|
142228
142229
|
};
|
|
142229
142230
|
const tHt = (...n) => new Yt(...n, "hcg");
|
|
142230
|
-
|
|
142231
|
+
er.hcg = tHt;
|
|
142231
142232
|
_i.format.hcg = Qjt;
|
|
142232
142233
|
_i.autodetect.push({
|
|
142233
142234
|
p: 1,
|
|
@@ -142253,7 +142254,7 @@ Yt.prototype.hsi = function() {
|
|
|
142253
142254
|
return sHt(this._rgb);
|
|
142254
142255
|
};
|
|
142255
142256
|
const lHt = (...n) => new Yt(...n, "hsi");
|
|
142256
|
-
|
|
142257
|
+
er.hsi = lHt;
|
|
142257
142258
|
_i.format.hsi = iHt;
|
|
142258
142259
|
_i.autodetect.push({
|
|
142259
142260
|
p: 2,
|
|
@@ -142290,7 +142291,7 @@ Yt.prototype.hsl = function() {
|
|
|
142290
142291
|
return hX(this._rgb);
|
|
142291
142292
|
};
|
|
142292
142293
|
const dHt = (...n) => new Yt(...n, "hsl");
|
|
142293
|
-
|
|
142294
|
+
er.hsl = dHt;
|
|
142294
142295
|
_i.format.hsl = H4;
|
|
142295
142296
|
_i.autodetect.push({
|
|
142296
142297
|
p: 2,
|
|
@@ -142342,7 +142343,7 @@ Yt.prototype.hsv = function() {
|
|
|
142342
142343
|
return fHt(this._rgb);
|
|
142343
142344
|
};
|
|
142344
142345
|
const vHt = (...n) => new Yt(...n, "hsv");
|
|
142345
|
-
|
|
142346
|
+
er.hsv = vHt;
|
|
142346
142347
|
_i.format.hsv = hHt;
|
|
142347
142348
|
_i.autodetect.push({
|
|
142348
142349
|
p: 2,
|
|
@@ -142404,7 +142405,7 @@ Yt.prototype.oklab = function() {
|
|
|
142404
142405
|
return nD(this._rgb);
|
|
142405
142406
|
};
|
|
142406
142407
|
const xHt = (...n) => new Yt(...n, "oklab");
|
|
142407
|
-
Object.assign(
|
|
142408
|
+
Object.assign(er, { oklab: xHt });
|
|
142408
142409
|
_i.format.oklab = tD;
|
|
142409
142410
|
_i.autodetect.push({
|
|
142410
142411
|
p: 2,
|
|
@@ -142472,12 +142473,12 @@ const { pow: XE, sqrt: JE, PI: ZE, cos: A$, sin: E$, atan2: CHt } = Math, SHt =
|
|
|
142472
142473
|
return i[0] = JE(i[0]), i[1] = JE(i[1]), i[2] = JE(i[2]), i[3] > 0.9999999 && (i[3] = 1), new Yt(X7(i));
|
|
142473
142474
|
}, { pow: AHt } = Math;
|
|
142474
142475
|
function WC(n) {
|
|
142475
|
-
let e = "rgb", t =
|
|
142476
|
+
let e = "rgb", t = er("#ccc"), i = 0, r = [0, 1], o = [], a = [0, 0], s = !1, l = [], c = !1, d = 0, u = 1, h = !1, m = {}, f = !0, b = 1;
|
|
142476
142477
|
const w = function(V) {
|
|
142477
|
-
if (V = V || ["#fff", "#000"], V && Vi(V) === "string" &&
|
|
142478
|
+
if (V = V || ["#fff", "#000"], V && Vi(V) === "string" && er.brewer && er.brewer[V.toLowerCase()] && (V = er.brewer[V.toLowerCase()]), Vi(V) === "array") {
|
|
142478
142479
|
V.length === 1 && (V = [V[0], V[0]]), V = V.slice(0);
|
|
142479
142480
|
for (let H = 0; H < V.length; H++)
|
|
142480
|
-
V[H] =
|
|
142481
|
+
V[H] = er(V[H]);
|
|
142481
142482
|
o.length = 0;
|
|
142482
142483
|
for (let H = 0; H < V.length; H++)
|
|
142483
142484
|
o.push(H / (V.length - 1));
|
|
@@ -142515,7 +142516,7 @@ function WC(n) {
|
|
|
142515
142516
|
break;
|
|
142516
142517
|
}
|
|
142517
142518
|
if (X > K && X < o[$ + 1]) {
|
|
142518
|
-
X = (X - K) / (o[$ + 1] - K), L =
|
|
142519
|
+
X = (X - K) / (o[$ + 1] - K), L = er.interpolate(
|
|
142519
142520
|
l[$],
|
|
142520
142521
|
l[$ + 1],
|
|
142521
142522
|
X,
|
|
@@ -142532,7 +142533,7 @@ function WC(n) {
|
|
|
142532
142533
|
var M = () => m = {};
|
|
142533
142534
|
w(n);
|
|
142534
142535
|
const z = function(V) {
|
|
142535
|
-
const H =
|
|
142536
|
+
const H = er(T(V));
|
|
142536
142537
|
return c && H[c] ? H[c]() : H;
|
|
142537
142538
|
};
|
|
142538
142539
|
return z.classes = function(V) {
|
|
@@ -142540,8 +142541,8 @@ function WC(n) {
|
|
|
142540
142541
|
if (Vi(V) === "array")
|
|
142541
142542
|
s = V, r = [V[0], V[V.length - 1]];
|
|
142542
142543
|
else {
|
|
142543
|
-
const H =
|
|
142544
|
-
V === 0 ? s = [H.min, H.max] : s =
|
|
142544
|
+
const H = er.analyze(r);
|
|
142545
|
+
V === 0 ? s = [H.min, H.max] : s = er.limits(H, "e", V);
|
|
142545
142546
|
}
|
|
142546
142547
|
return z;
|
|
142547
142548
|
}
|
|
@@ -142613,13 +142614,13 @@ function WC(n) {
|
|
|
142613
142614
|
X = r;
|
|
142614
142615
|
L = X.map((F) => z(F));
|
|
142615
142616
|
}
|
|
142616
|
-
return
|
|
142617
|
+
return er[H] && (L = L.map((X) => X[H]())), L;
|
|
142617
142618
|
}, z.cache = function(V) {
|
|
142618
142619
|
return V != null ? (f = V, z) : f;
|
|
142619
142620
|
}, z.gamma = function(V) {
|
|
142620
142621
|
return V != null ? (b = V, z) : b;
|
|
142621
142622
|
}, z.nodata = function(V) {
|
|
142622
|
-
return V != null ? (t =
|
|
142623
|
+
return V != null ? (t = er(V), z) : t;
|
|
142623
142624
|
}, z;
|
|
142624
142625
|
}
|
|
142625
142626
|
function EHt(n, e, t) {
|
|
@@ -142684,7 +142685,7 @@ Yt.prototype.rgba = function(n = !0) {
|
|
|
142684
142685
|
return this._rgb.slice(0, 4).map((e, t) => t < 3 ? n === !1 ? e : gX(e) : e);
|
|
142685
142686
|
};
|
|
142686
142687
|
const MHt = (...n) => new Yt(...n, "rgb");
|
|
142687
|
-
Object.assign(
|
|
142688
|
+
Object.assign(er, { rgb: MHt });
|
|
142688
142689
|
_i.format.rgb = (...n) => {
|
|
142689
142690
|
const e = Oi(n, "rgba");
|
|
142690
142691
|
return e[3] === void 0 && (e[3] = 1), e;
|
|
@@ -142701,8 +142702,8 @@ const Uu = (n, e, t) => {
|
|
|
142701
142702
|
throw new Error("unknown blend mode " + t);
|
|
142702
142703
|
return Uu[t](n, e);
|
|
142703
142704
|
}, hm = (n) => (e, t) => {
|
|
142704
|
-
const i =
|
|
142705
|
-
return
|
|
142705
|
+
const i = er(t).rgb(), r = er(e).rgb();
|
|
142706
|
+
return er.rgb(n(i, r));
|
|
142706
142707
|
}, gm = (n) => (e, t) => {
|
|
142707
142708
|
const i = [];
|
|
142708
142709
|
return i[0] = n(e[0], t[0]), i[1] = n(e[1], t[1]), i[2] = n(e[2], t[2]), i;
|
|
@@ -142721,7 +142722,7 @@ function UHt(n = 300, e = -1.5, t = 1, i = 1, r = [0, 1]) {
|
|
|
142721
142722
|
Vi(r) === "array" ? a = r[1] - r[0] : (a = 0, r = [r, r]);
|
|
142722
142723
|
const s = function(l) {
|
|
142723
142724
|
const c = yh * ((n + 120) / 360 + e * l), d = jHt(r[0] + a * l, i), h = (o !== 0 ? t[0] + l * o : t) * d * (1 - d) / 2, m = VHt(c), f = HHt(c), b = d + h * (-0.14861 * m + 1.78277 * f), w = d + h * (-0.29227 * m - 0.90649 * f), k = d + h * (1.97294 * m);
|
|
142724
|
-
return
|
|
142725
|
+
return er(X7([b * 255, w * 255, k * 255, 1]));
|
|
142725
142726
|
};
|
|
142726
142727
|
return s.start = function(l) {
|
|
142727
142728
|
return l == null ? n : (n = l, s);
|
|
@@ -142733,7 +142734,7 @@ function UHt(n = 300, e = -1.5, t = 1, i = 1, r = [0, 1]) {
|
|
|
142733
142734
|
return l == null ? t : (t = l, Vi(t) === "array" ? (o = t[1] - t[0], o === 0 && (t = t[1])) : o = 0, s);
|
|
142734
142735
|
}, s.lightness = function(l) {
|
|
142735
142736
|
return l == null ? r : (Vi(l) === "array" ? (r = l, a = l[1] - l[0]) : (r = [l, l], a = 0), s);
|
|
142736
|
-
}, s.scale = () =>
|
|
142737
|
+
}, s.scale = () => er.scale(s), s.hue(t), s;
|
|
142737
142738
|
}
|
|
142738
142739
|
const qHt = "0123456789abcdef", { floor: WHt, random: GHt } = Math, KHt = () => {
|
|
142739
142740
|
let n = "#";
|
|
@@ -142895,7 +142896,7 @@ const sVt = (...n) => {
|
|
|
142895
142896
|
}
|
|
142896
142897
|
}, lVt = {
|
|
142897
142898
|
cool() {
|
|
142898
|
-
return WC([
|
|
142899
|
+
return WC([er.hsl(180, 1, 0.9), er.hsl(250, 0.7, 0.4)]);
|
|
142899
142900
|
},
|
|
142900
142901
|
hot() {
|
|
142901
142902
|
return WC(["#000", "#f00", "#ff0", "#fff"]).mode(
|
|
@@ -142973,7 +142974,7 @@ Yt.prototype.cmyk = function() {
|
|
|
142973
142974
|
return uVt(this._rgb);
|
|
142974
142975
|
};
|
|
142975
142976
|
const pVt = (...n) => new Yt(...n, "cmyk");
|
|
142976
|
-
Object.assign(
|
|
142977
|
+
Object.assign(er, { cmyk: pVt });
|
|
142977
142978
|
_i.format.cmyk = dVt;
|
|
142978
142979
|
_i.autodetect.push({
|
|
142979
142980
|
p: 2,
|
|
@@ -143122,7 +143123,7 @@ Yt.prototype.css = function(n) {
|
|
|
143122
143123
|
return yVt(this._rgb, n);
|
|
143123
143124
|
};
|
|
143124
143125
|
const bVt = (...n) => new Yt(...n, "css");
|
|
143125
|
-
|
|
143126
|
+
er.css = bVt;
|
|
143126
143127
|
_i.format.css = rD;
|
|
143127
143128
|
_i.autodetect.push({
|
|
143128
143129
|
p: 5,
|
|
@@ -143136,7 +143137,7 @@ _i.format.gl = (...n) => {
|
|
|
143136
143137
|
return e[0] *= 255, e[1] *= 255, e[2] *= 255, e;
|
|
143137
143138
|
};
|
|
143138
143139
|
const wVt = (...n) => new Yt(...n, "gl");
|
|
143139
|
-
|
|
143140
|
+
er.gl = wVt;
|
|
143140
143141
|
Yt.prototype.gl = function() {
|
|
143141
143142
|
const n = this._rgb;
|
|
143142
143143
|
return [n[0] / 255, n[1] / 255, n[2] / 255, n[3]];
|
|
@@ -143145,7 +143146,7 @@ Yt.prototype.hex = function(n) {
|
|
|
143145
143146
|
return sX(this._rgb, n);
|
|
143146
143147
|
};
|
|
143147
143148
|
const xVt = (...n) => new Yt(...n, "hex");
|
|
143148
|
-
|
|
143149
|
+
er.hex = xVt;
|
|
143149
143150
|
_i.format.hex = aX;
|
|
143150
143151
|
_i.autodetect.push({
|
|
143151
143152
|
p: 4,
|
|
@@ -143174,13 +143175,13 @@ Yt.prototype.temp = Yt.prototype.kelvin = Yt.prototype.temperature = function()
|
|
|
143174
143175
|
return _Vt(this._rgb);
|
|
143175
143176
|
};
|
|
143176
143177
|
const e9 = (...n) => new Yt(...n, "temp");
|
|
143177
|
-
Object.assign(
|
|
143178
|
+
Object.assign(er, { temp: e9, kelvin: e9, temperature: e9 });
|
|
143178
143179
|
_i.format.temp = _i.format.kelvin = _i.format.temperature = IX;
|
|
143179
143180
|
Yt.prototype.oklch = function() {
|
|
143180
143181
|
return yX(this._rgb);
|
|
143181
143182
|
};
|
|
143182
143183
|
const CVt = (...n) => new Yt(...n, "oklch");
|
|
143183
|
-
Object.assign(
|
|
143184
|
+
Object.assign(er, { oklch: CVt });
|
|
143184
143185
|
_i.format.oklch = bX;
|
|
143185
143186
|
_i.autodetect.push({
|
|
143186
143187
|
p: 2,
|
|
@@ -143189,7 +143190,7 @@ _i.autodetect.push({
|
|
|
143189
143190
|
return "oklch";
|
|
143190
143191
|
}
|
|
143191
143192
|
});
|
|
143192
|
-
Object.assign(
|
|
143193
|
+
Object.assign(er, {
|
|
143193
143194
|
analyze: mX,
|
|
143194
143195
|
average: SHt,
|
|
143195
143196
|
bezier: IHt,
|
|
@@ -143214,7 +143215,7 @@ Object.assign(Qi, {
|
|
|
143214
143215
|
const z$ = (n = "", e = 1) => {
|
|
143215
143216
|
if (!n || n === "none")
|
|
143216
143217
|
return n;
|
|
143217
|
-
let t =
|
|
143218
|
+
let t = er(n);
|
|
143218
143219
|
return e !== 1 && (t = t.alpha(e)), t.hex();
|
|
143219
143220
|
}, j$ = (n) => {
|
|
143220
143221
|
if (!(n?.state.selection instanceof ci))
|
|
@@ -143445,7 +143446,7 @@ let qu = class extends hn {
|
|
|
143445
143446
|
};
|
|
143446
143447
|
qu.styles = [gn, eX];
|
|
143447
143448
|
qu.dependencies = {
|
|
143448
|
-
"cx-button":
|
|
143449
|
+
"cx-button": Zi,
|
|
143449
143450
|
"cx-color-picker": bx,
|
|
143450
143451
|
"cx-dialog": ns,
|
|
143451
143452
|
"cx-input": eo,
|
|
@@ -143941,7 +143942,7 @@ const QVt = [
|
|
|
143941
143942
|
"data-width-pixel": c.width,
|
|
143942
143943
|
width: c.width
|
|
143943
143944
|
};
|
|
143944
|
-
c.heightMode !==
|
|
143945
|
+
c.heightMode !== or.Auto && (d.height = c.height), this.model.addAttributes(d);
|
|
143945
143946
|
},
|
|
143946
143947
|
onVideoClick(l) {
|
|
143947
143948
|
const d = this.model.getAttributes()["click-action"];
|
|
@@ -145380,11 +145381,11 @@ let ti = class extends hn {
|
|
|
145380
145381
|
ti.styles = [gn, cNt];
|
|
145381
145382
|
ti.dependencies = {
|
|
145382
145383
|
"cx-block-picker": ha,
|
|
145383
|
-
"cx-button":
|
|
145384
|
+
"cx-button": Zi,
|
|
145384
145385
|
"cx-config-manager": Ei,
|
|
145385
145386
|
"cx-icon": Hr,
|
|
145386
145387
|
"cx-popup": Qd,
|
|
145387
|
-
"cx-rte-bubble-menu":
|
|
145388
|
+
"cx-rte-bubble-menu": ir,
|
|
145388
145389
|
"cx-rte-table-generator": PVt,
|
|
145389
145390
|
"cx-spinner": bd
|
|
145390
145391
|
};
|
|
@@ -147550,7 +147551,7 @@ function DUt() {
|
|
|
147550
147551
|
Promise === _n && pi.echoes === 0 ? Do === 0 ? _() : enqueueNativeMicroTask(_) : setTimeout(_, 0);
|
|
147551
147552
|
}
|
|
147552
147553
|
("" + Un).indexOf("[native code]") === -1 && (li = Rr = de);
|
|
147553
|
-
var $t = Dt.reject, Ir = "", Gi = "Invalid key provided. Keys must be of type string, number, Date or Array<string | number | Date>.", wo = "String expected.", ri = [],
|
|
147554
|
+
var $t = Dt.reject, Ir = "", Gi = "Invalid key provided. Keys must be of type string, number, Date or Array<string | number | Date>.", wo = "String expected.", ri = [], Qi = "__dbnames", va = "readonly", za = "readwrite";
|
|
147554
147555
|
function Et(_, A) {
|
|
147555
147556
|
return _ ? A ? function() {
|
|
147556
147557
|
return _.apply(this, arguments) && A.apply(this, arguments);
|
|
@@ -147910,7 +147911,7 @@ function DUt() {
|
|
|
147910
147911
|
});
|
|
147911
147912
|
}
|
|
147912
147913
|
}
|
|
147913
|
-
function
|
|
147914
|
+
function rr(_, A) {
|
|
147914
147915
|
return b(A).from({ prototype: _ }), A;
|
|
147915
147916
|
}
|
|
147916
147917
|
function Di(_, A) {
|
|
@@ -148242,7 +148243,7 @@ function DUt() {
|
|
|
148242
148243
|
function Io(_, A) {
|
|
148243
148244
|
return A < _ ? -1 : _ === A ? 0 : 1;
|
|
148244
148245
|
}
|
|
148245
|
-
function
|
|
148246
|
+
function lr(_, A, B) {
|
|
148246
148247
|
return _ = _ instanceof Mo ? new _.Collection(_) : _, _._ctx.error = new (B || TypeError)(A), _;
|
|
148247
148248
|
}
|
|
148248
148249
|
function dc(_) {
|
|
@@ -148254,7 +148255,7 @@ function DUt() {
|
|
|
148254
148255
|
var Z, oe, fe, Se, Be, He, Xe, De = B.length;
|
|
148255
148256
|
if (!B.every(function(Ye) {
|
|
148256
148257
|
return typeof Ye == "string";
|
|
148257
|
-
})) return
|
|
148258
|
+
})) return lr(_, wo);
|
|
148258
148259
|
function et(Ye) {
|
|
148259
148260
|
Z = Ye === "next" ? function(Ve) {
|
|
148260
148261
|
return Ve.toUpperCase();
|
|
@@ -148318,30 +148319,30 @@ function DUt() {
|
|
|
148318
148319
|
return wa(_, A, !B, !U);
|
|
148319
148320
|
});
|
|
148320
148321
|
} catch {
|
|
148321
|
-
return
|
|
148322
|
+
return lr(this, Gi);
|
|
148322
148323
|
}
|
|
148323
148324
|
}, uo.prototype.equals = function(_) {
|
|
148324
|
-
return _ == null ?
|
|
148325
|
+
return _ == null ? lr(this, Gi) : new this.Collection(this, function() {
|
|
148325
148326
|
return ja(_);
|
|
148326
148327
|
});
|
|
148327
148328
|
}, uo.prototype.above = function(_) {
|
|
148328
|
-
return _ == null ?
|
|
148329
|
+
return _ == null ? lr(this, Gi) : new this.Collection(this, function() {
|
|
148329
148330
|
return wa(_, void 0, !0);
|
|
148330
148331
|
});
|
|
148331
148332
|
}, uo.prototype.aboveOrEqual = function(_) {
|
|
148332
|
-
return _ == null ?
|
|
148333
|
+
return _ == null ? lr(this, Gi) : new this.Collection(this, function() {
|
|
148333
148334
|
return wa(_, void 0, !1);
|
|
148334
148335
|
});
|
|
148335
148336
|
}, uo.prototype.below = function(_) {
|
|
148336
|
-
return _ == null ?
|
|
148337
|
+
return _ == null ? lr(this, Gi) : new this.Collection(this, function() {
|
|
148337
148338
|
return wa(void 0, _, !1, !0);
|
|
148338
148339
|
});
|
|
148339
148340
|
}, uo.prototype.belowOrEqual = function(_) {
|
|
148340
|
-
return _ == null ?
|
|
148341
|
+
return _ == null ? lr(this, Gi) : new this.Collection(this, function() {
|
|
148341
148342
|
return wa(void 0, _);
|
|
148342
148343
|
});
|
|
148343
148344
|
}, uo.prototype.startsWith = function(_) {
|
|
148344
|
-
return typeof _ != "string" ?
|
|
148345
|
+
return typeof _ != "string" ? lr(this, wo) : this.between(_, _ + Ir, !0, !0);
|
|
148345
148346
|
}, uo.prototype.startsWithIgnoreCase = function(_) {
|
|
148346
148347
|
return _ === "" ? this.startsWith(_) : ss(this, function(A, B) {
|
|
148347
148348
|
return A.indexOf(B[0]) === 0;
|
|
@@ -148367,7 +148368,7 @@ function DUt() {
|
|
|
148367
148368
|
try {
|
|
148368
148369
|
A.sort(B);
|
|
148369
148370
|
} catch {
|
|
148370
|
-
return
|
|
148371
|
+
return lr(this, Gi);
|
|
148371
148372
|
}
|
|
148372
148373
|
if (A.length === 0) return dc(this);
|
|
148373
148374
|
var U = new this.Collection(this, function() {
|
|
@@ -148391,7 +148392,7 @@ function DUt() {
|
|
|
148391
148392
|
try {
|
|
148392
148393
|
_.sort(this._ascending);
|
|
148393
148394
|
} catch {
|
|
148394
|
-
return
|
|
148395
|
+
return lr(this, Gi);
|
|
148395
148396
|
}
|
|
148396
148397
|
var A = _.reduce(function(B, U) {
|
|
148397
148398
|
return B ? B.concat([[B[B.length - 1][1], U]]) : [[-1 / 0, U]];
|
|
@@ -148402,7 +148403,7 @@ function DUt() {
|
|
|
148402
148403
|
if (at.length === 0) return dc(this);
|
|
148403
148404
|
if (!at.every(function(dt) {
|
|
148404
148405
|
return dt[0] !== void 0 && dt[1] !== void 0 && Z(dt[0], dt[1]) <= 0;
|
|
148405
|
-
})) return
|
|
148406
|
+
})) return lr(this, "First argument to inAnyRange() must be an Array of two-value Arrays [lower,upper] where upper must not be lower than lower", Ke.InvalidArgument);
|
|
148406
148407
|
var Be = !A || A.includeLowers !== !1, He = A && A.includeUppers === !0, Xe, De = Z;
|
|
148407
148408
|
function et(dt, ht) {
|
|
148408
148409
|
return De(dt[0], ht[0]);
|
|
@@ -148419,7 +148420,7 @@ function DUt() {
|
|
|
148419
148420
|
return Ct === Wt && dt.push(ht), dt;
|
|
148420
148421
|
}, [])).sort(et);
|
|
148421
148422
|
} catch {
|
|
148422
|
-
return
|
|
148423
|
+
return lr(this, Gi);
|
|
148423
148424
|
}
|
|
148424
148425
|
var ze = 0, Ye = He ? function(dt) {
|
|
148425
148426
|
return 0 < Z(dt, Xe[ze][1]);
|
|
@@ -148446,7 +148447,7 @@ function DUt() {
|
|
|
148446
148447
|
return typeof A == "string";
|
|
148447
148448
|
}) ? _.length === 0 ? dc(this) : this.inAnyRange(_.map(function(A) {
|
|
148448
148449
|
return [A, A + Ir];
|
|
148449
|
-
})) :
|
|
148450
|
+
})) : lr(this, "startsWithAnyOf() only works with strings");
|
|
148450
148451
|
}, uo);
|
|
148451
148452
|
function uo() {
|
|
148452
148453
|
}
|
|
@@ -148939,7 +148940,7 @@ function DUt() {
|
|
|
148939
148940
|
}
|
|
148940
148941
|
function Zh(_, A) {
|
|
148941
148942
|
var B = _._dbNamesDB;
|
|
148942
|
-
return B || (B = _._dbNamesDB = new Le(
|
|
148943
|
+
return B || (B = _._dbNamesDB = new Le(Qi, { addons: [], indexedDB: _, IDBKeyRange: A })).version(1).stores({ dbnames: "name" }), B.table("dbnames");
|
|
148943
148944
|
}
|
|
148944
148945
|
function Qh(_) {
|
|
148945
148946
|
return _ && typeof _.databases == "function";
|
|
@@ -149111,7 +149112,7 @@ function DUt() {
|
|
|
149111
149112
|
A.vcFired = !0, _.on("versionchange").fire(Pt);
|
|
149112
149113
|
}), Wt.onclose = ii(function(Pt) {
|
|
149113
149114
|
_.on("close").fire(Pt);
|
|
149114
|
-
}), De && (Ct = _._deps, Ft = Ye, Wt = Ct.indexedDB, Ct = Ct.IDBKeyRange, Qh(Wt) || Ft ===
|
|
149115
|
+
}), De && (Ct = _._deps, Ft = Ye, Wt = Ct.indexedDB, Ct = Ct.IDBKeyRange, Qh(Wt) || Ft === Qi || Zh(Wt, Ct).put({ name: Ft }).catch(de)), et();
|
|
149115
149116
|
}, ze);
|
|
149116
149117
|
}).catch(function(et) {
|
|
149117
149118
|
switch (et?.name) {
|
|
@@ -149678,7 +149679,7 @@ function DUt() {
|
|
|
149678
149679
|
var Se = A._deps.indexedDB.deleteDatabase(A.name);
|
|
149679
149680
|
Se.onsuccess = ii(function() {
|
|
149680
149681
|
var Be, He, Xe;
|
|
149681
|
-
Be = A._deps, He = A.name, Xe = Be.indexedDB, Be = Be.IDBKeyRange, Qh(Xe) || He ===
|
|
149682
|
+
Be = A._deps, He = A.name, Xe = Be.indexedDB, Be = Be.IDBKeyRange, Qh(Xe) || He === Qi || Zh(Xe, Be).delete(He).catch(de), Z();
|
|
149682
149683
|
}), Se.onerror = Vo(oe), Se.onblocked = A._fireOnBlocked;
|
|
149683
149684
|
}
|
|
149684
149685
|
if (B) throw new Ke.InvalidArgument("Invalid closeOptions argument to db.delete()");
|
|
@@ -149793,7 +149794,7 @@ function DUt() {
|
|
|
149793
149794
|
}));
|
|
149794
149795
|
});
|
|
149795
149796
|
};
|
|
149796
|
-
}), this.Collection = (Z = this,
|
|
149797
|
+
}), this.Collection = (Z = this, rr(hu.prototype, function(at, Ve) {
|
|
149797
149798
|
this.db = Z;
|
|
149798
149799
|
var ze = Ln, Ye = null;
|
|
149799
149800
|
if (Ve) try {
|
|
@@ -149803,9 +149804,9 @@ function DUt() {
|
|
|
149803
149804
|
}
|
|
149804
149805
|
var Je = at._ctx, Ve = Je.table, at = Ve.hook.reading.fire;
|
|
149805
149806
|
this._ctx = { table: Ve, index: Je.index, isPrimKey: !Je.index || Ve.schema.primKey.keyPath && Je.index === Ve.schema.primKey.name, range: ze, keysOnly: !1, dir: "next", unique: "", algorithm: null, filter: null, replayFilter: null, justLimit: !0, isMatch: null, offset: 0, limit: 1 / 0, error: Ye, or: Je.or, valueMapper: at !== nt ? at : null };
|
|
149806
|
-
})), this.Table = (oe = this,
|
|
149807
|
+
})), this.Table = (oe = this, rr(Mt.prototype, function(De, et, ze) {
|
|
149807
149808
|
this.db = oe, this._tx = ze, this.name = De, this.schema = et, this.hook = oe._allTables[De] ? oe._allTables[De].hook : oi(null, { creating: [en, de], reading: [st, nt], updating: [G, de], deleting: [Gt, de] });
|
|
149808
|
-
})), this.Transaction = (fe = this,
|
|
149809
|
+
})), this.Transaction = (fe = this, rr(Gp.prototype, function(De, et, ze, Ye, Je) {
|
|
149809
149810
|
var Ve = this;
|
|
149810
149811
|
this.db = fe, this.mode = De, this.storeNames = et, this.schema = ze, this.chromeTransactionDurability = Ye, this.idbtrans = null, this.on = oi(this, "complete", "error", "abort"), this.parent = Je || null, this.active = !0, this._reculock = 0, this._blockedFuncs = [], this._resolve = null, this._reject = null, this._waitingFor = null, this._waitingQueue = null, this._spinCount = 0, this._completion = new Dt(function(at, dt) {
|
|
149811
149812
|
Ve._resolve = at, Ve._reject = dt;
|
|
@@ -149815,9 +149816,9 @@ function DUt() {
|
|
|
149815
149816
|
var dt = Ve.active;
|
|
149816
149817
|
return Ve.active = !1, Ve.on.error.fire(at), Ve.parent ? Ve.parent._reject(at) : dt && Ve.idbtrans && Ve.idbtrans.abort(), $t(at);
|
|
149817
149818
|
});
|
|
149818
|
-
})), this.Version = (Se = this,
|
|
149819
|
+
})), this.Version = (Se = this, rr(fm.prototype, function(De) {
|
|
149819
149820
|
this.db = Se, this._cfg = { version: De, storesSource: null, dbschema: {}, tables: {}, contentUpgrade: null };
|
|
149820
|
-
})), this.WhereClause = (Be = this,
|
|
149821
|
+
})), this.WhereClause = (Be = this, rr(Mo.prototype, function(De, et, ze) {
|
|
149821
149822
|
if (this.db = Be, this._ctx = { table: De, index: et === ":id" ? null : et, or: ze }, this._cmp = this._ascending = ue, this._descending = function(Ye, Je) {
|
|
149822
149823
|
return ue(Je, Ye);
|
|
149823
149824
|
}, this._max = function(Ye, Je) {
|
|
@@ -149934,7 +149935,7 @@ function DUt() {
|
|
|
149934
149935
|
return U.map(function(Z) {
|
|
149935
149936
|
return Z.name;
|
|
149936
149937
|
}).filter(function(Z) {
|
|
149937
|
-
return Z !==
|
|
149938
|
+
return Z !== Qi;
|
|
149938
149939
|
});
|
|
149939
149940
|
}) : Zh(B, A).toCollection().primaryKeys()).then(_);
|
|
149940
149941
|
} catch {
|
|
@@ -152184,7 +152185,7 @@ let Si = class extends hn {
|
|
|
152184
152185
|
Si.styles = Bqt;
|
|
152185
152186
|
Si.dependencies = {
|
|
152186
152187
|
"cx-badge": yx,
|
|
152187
|
-
"cx-button":
|
|
152188
|
+
"cx-button": Zi,
|
|
152188
152189
|
"cx-checkbox": qh,
|
|
152189
152190
|
"cx-confirm-popover": u3,
|
|
152190
152191
|
"cx-dialog": ns,
|
|
@@ -152442,7 +152443,7 @@ let cl = class extends hn {
|
|
|
152442
152443
|
};
|
|
152443
152444
|
cl.styles = [gn, jqt];
|
|
152444
152445
|
cl.dependencies = {
|
|
152445
|
-
"cx-button":
|
|
152446
|
+
"cx-button": Zi,
|
|
152446
152447
|
"cx-dropdown": xs,
|
|
152447
152448
|
"cx-icon-button": Cr,
|
|
152448
152449
|
"cx-input": eo,
|
|
@@ -152531,7 +152532,7 @@ let dl = class extends hn {
|
|
|
152531
152532
|
};
|
|
152532
152533
|
dl.styles = [gn, Uqt];
|
|
152533
152534
|
dl.dependencies = {
|
|
152534
|
-
"cx-button":
|
|
152535
|
+
"cx-button": Zi,
|
|
152535
152536
|
"cx-carousel": Tn,
|
|
152536
152537
|
"cx-dialog": ns,
|
|
152537
152538
|
"cx-icon": Hr,
|
|
@@ -152678,7 +152679,7 @@ uJ = function() {
|
|
|
152678
152679
|
};
|
|
152679
152680
|
ga.styles = [gn, Gqt];
|
|
152680
152681
|
ga.dependencies = {
|
|
152681
|
-
"cx-button":
|
|
152682
|
+
"cx-button": Zi,
|
|
152682
152683
|
"cx-dropdown": xs,
|
|
152683
152684
|
"cx-icon": Hr,
|
|
152684
152685
|
"cx-icon-button": Cr,
|
|
@@ -153904,7 +153905,7 @@ const fWt = {
|
|
|
153904
153905
|
})
|
|
153905
153906
|
);
|
|
153906
153907
|
var Sn = /* @__PURE__ */ ((n) => (n.AreaCode = "telephone-format", n.CardinalDetail = "cardinal-detail", n.CardinalFormat = "cardinal-format", n.CharactersFormat = "characters-format", n.DateFormat = "date-format", n.Emphasis = "emphasis", n.InterpretAs = "interpret-as", n.PauseTime = "pause-time", n.Pitch = "pitch", n.Rate = "rate", n.TimeFormat = "time-format", n.Voice = "voice", n.Volume = "volume", n))(Sn || {}), wJ = /* @__PURE__ */ ((n) => (n.Ms = "ms", n.S = "s", n))(wJ || {});
|
|
153907
|
-
const
|
|
153908
|
+
const cr = {
|
|
153908
153909
|
emphasis: "none",
|
|
153909
153910
|
rate: "100%",
|
|
153910
153911
|
pitch: "default",
|
|
@@ -155177,7 +155178,7 @@ function XWt(n) {
|
|
|
155177
155178
|
return n.replace(/[\u00A0\u2000-\u200D\uFEFF]/g, " ").replace(/\s{2,}/g, " ").replace(/[\t\r\n]+/g, " ").replace(/&[#a-zA-Z0-9]+;/g, "").trim();
|
|
155178
155179
|
}
|
|
155179
155180
|
function kJ(n) {
|
|
155180
|
-
return n && n !==
|
|
155181
|
+
return n && n !== cr[Sn.Rate] ? {
|
|
155181
155182
|
prefix: `<speak><prosody rate="${Number.isNaN(Number.parseInt(n)) || n.includes("%") ? n : `${n}%`}">`,
|
|
155182
155183
|
suffix: "</prosody></speak>"
|
|
155183
155184
|
} : {
|
|
@@ -155210,7 +155211,7 @@ function l9(n) {
|
|
|
155210
155211
|
}
|
|
155211
155212
|
}
|
|
155212
155213
|
return {
|
|
155213
|
-
speed:
|
|
155214
|
+
speed: cr[Sn.Rate],
|
|
155214
155215
|
text: n
|
|
155215
155216
|
// Default speed if no prosody tag is found
|
|
155216
155217
|
};
|
|
@@ -155596,7 +155597,7 @@ let ni = class extends hn {
|
|
|
155596
155597
|
"text/plain",
|
|
155597
155598
|
"application/xml",
|
|
155598
155599
|
"text/xml"
|
|
155599
|
-
], this.data = null, this.editable = !1, this.autoFocus = !1, this.componentTitle = this.localize.term("textInput"), this.height = void 0, this.width = void 0, this.maxHeight = "700px", this.maxWidth = void 0, this.minWidth = void 0, this.minHeight = "300px", this.mock = !1, this.disabledMessage = this.localize.term("audioGeneratingHelpText"), this.characterLimit = 5e3, this.voices = [], this._voice = "", this.gender = "MALE", this.language = "en-US", this.speed =
|
|
155600
|
+
], this.data = null, this.editable = !1, this.autoFocus = !1, this.componentTitle = this.localize.term("textInput"), this.height = void 0, this.width = void 0, this.maxHeight = "700px", this.maxWidth = void 0, this.minWidth = void 0, this.minHeight = "300px", this.mock = !1, this.disabledMessage = this.localize.term("audioGeneratingHelpText"), this.characterLimit = 5e3, this.voices = [], this._voice = "", this.gender = "MALE", this.language = "en-US", this.speed = cr[Sn.Rate], this.audio = null, this.isSpeaking = !1, this.loading = !1, this.previewLoading = !1, this.lastPosition = 0, this.isSelectionEmpty = !0, this.bubbleMenuType = null, this.timeCode = null, this.savedData = null, this.isEventListenerAdded = !1, this._isPreviousJobUnfinished = !1, this._isTextSupportedOnly = !1, this._unsupportedSsmlTags = [], this._selectedVoice = null, this.provider = "GoogleTextToSpeech", this.onAudioTimeUpdate = this.onAudioTimeUpdate.bind(this), this.onAudioEnded = this.onAudioEnded.bind(this), this.onKeyDown = this.onKeyDown.bind(this), this.onBubbleMenuOpened = this.onBubbleMenuOpened.bind(this), this.renderBreakMenu = this.renderBreakMenu.bind(this), this.renderSayAsMenu = this.renderSayAsMenu.bind(this);
|
|
155600
155601
|
}
|
|
155601
155602
|
get voice() {
|
|
155602
155603
|
return this._voice;
|
|
@@ -155933,14 +155934,14 @@ let ni = class extends hn {
|
|
|
155933
155934
|
}
|
|
155934
155935
|
handleInsertBreak() {
|
|
155935
155936
|
this.textEditor.chain().setBreakNode({
|
|
155936
|
-
break:
|
|
155937
|
+
break: cr[Sn.PauseTime],
|
|
155937
155938
|
unit: c0[Sn.PauseTime]
|
|
155938
155939
|
}).focus().setNodeSelection(this.lastPosition).run();
|
|
155939
155940
|
}
|
|
155940
155941
|
handleChangeBreakValue(n) {
|
|
155941
155942
|
const e = this.textEditor?.getAttributes("nodeBreak")?.unit;
|
|
155942
155943
|
this.textEditor.chain().setBreakNode({
|
|
155943
|
-
break: n ||
|
|
155944
|
+
break: n || cr[Sn.PauseTime],
|
|
155944
155945
|
unit: e ?? c0[Sn.PauseTime]
|
|
155945
155946
|
}).setNodeSelection(this.lastPosition).run();
|
|
155946
155947
|
}
|
|
@@ -155957,7 +155958,7 @@ let ni = class extends hn {
|
|
|
155957
155958
|
handleBreakUnitChange(n) {
|
|
155958
155959
|
const e = this.textEditor?.getAttributes("nodeBreak")?.break, { value: t } = n.target;
|
|
155959
155960
|
this.textEditor.chain().setBreakNode({
|
|
155960
|
-
break: e ??
|
|
155961
|
+
break: e ?? cr[Sn.PauseTime],
|
|
155961
155962
|
unit: t
|
|
155962
155963
|
}).setNodeSelection(this.lastPosition).run();
|
|
155963
155964
|
}
|
|
@@ -155987,7 +155988,7 @@ let ni = class extends hn {
|
|
|
155987
155988
|
}), [
|
|
155988
155989
|
{
|
|
155989
155990
|
attribute: "level",
|
|
155990
|
-
defaultValue:
|
|
155991
|
+
defaultValue: cr[Sn.Emphasis],
|
|
155991
155992
|
disabled: this._unsupportedSsmlTags.includes(
|
|
155992
155993
|
gx.options.ssmlTagName
|
|
155993
155994
|
),
|
|
@@ -155998,13 +155999,13 @@ let ni = class extends hn {
|
|
|
155998
155999
|
label: this.localize.term("emphasis"),
|
|
155999
156000
|
name: Sn.Emphasis,
|
|
156000
156001
|
onChangeCallback: (c) => {
|
|
156001
|
-
if (c ===
|
|
156002
|
+
if (c === cr[Sn.Emphasis]) {
|
|
156002
156003
|
this.textEditor.chain().unsetEmphasis("level").focus().run();
|
|
156003
156004
|
return;
|
|
156004
156005
|
}
|
|
156005
156006
|
this.textEditor.chain().setEmphasis({
|
|
156006
156007
|
emphasis: {
|
|
156007
|
-
level: c ||
|
|
156008
|
+
level: c || cr[Sn.Emphasis]
|
|
156008
156009
|
}
|
|
156009
156010
|
}).focus().run();
|
|
156010
156011
|
},
|
|
@@ -156013,7 +156014,7 @@ let ni = class extends hn {
|
|
|
156013
156014
|
},
|
|
156014
156015
|
{
|
|
156015
156016
|
attribute: "pitch",
|
|
156016
|
-
defaultValue:
|
|
156017
|
+
defaultValue: cr[Sn.Pitch],
|
|
156017
156018
|
disabled: this._unsupportedSsmlTags.includes(
|
|
156018
156019
|
df.options.ssmlTagName
|
|
156019
156020
|
),
|
|
@@ -156027,13 +156028,13 @@ let ni = class extends hn {
|
|
|
156027
156028
|
),
|
|
156028
156029
|
name: Sn.Pitch,
|
|
156029
156030
|
onChangeCallback: (c) => {
|
|
156030
|
-
if (c ===
|
|
156031
|
+
if (c === cr[Sn.Pitch]) {
|
|
156031
156032
|
this.textEditor.chain().unsetProsody("pitch").focus().run();
|
|
156032
156033
|
return;
|
|
156033
156034
|
}
|
|
156034
156035
|
this.textEditor.chain().setProsody({
|
|
156035
156036
|
prosody: {
|
|
156036
|
-
pitch: c ||
|
|
156037
|
+
pitch: c || cr[Sn.Pitch]
|
|
156037
156038
|
}
|
|
156038
156039
|
}).focus().run();
|
|
156039
156040
|
},
|
|
@@ -156042,7 +156043,7 @@ let ni = class extends hn {
|
|
|
156042
156043
|
},
|
|
156043
156044
|
{
|
|
156044
156045
|
attribute: "volume",
|
|
156045
|
-
defaultValue:
|
|
156046
|
+
defaultValue: cr[Sn.Volume],
|
|
156046
156047
|
disabled: this._unsupportedSsmlTags.includes(
|
|
156047
156048
|
df.options.ssmlTagName
|
|
156048
156049
|
),
|
|
@@ -156056,13 +156057,13 @@ let ni = class extends hn {
|
|
|
156056
156057
|
),
|
|
156057
156058
|
name: Sn.Volume,
|
|
156058
156059
|
onChangeCallback: (c) => {
|
|
156059
|
-
if (c ===
|
|
156060
|
+
if (c === cr[Sn.Volume]) {
|
|
156060
156061
|
this.textEditor.chain().unsetProsody("volume").focus().run();
|
|
156061
156062
|
return;
|
|
156062
156063
|
}
|
|
156063
156064
|
this.textEditor.chain().setProsody({
|
|
156064
156065
|
prosody: {
|
|
156065
|
-
volume: c ||
|
|
156066
|
+
volume: c || cr[Sn.Volume]
|
|
156066
156067
|
}
|
|
156067
156068
|
}).focus().run();
|
|
156068
156069
|
},
|
|
@@ -156070,7 +156071,7 @@ let ni = class extends hn {
|
|
|
156070
156071
|
value: o
|
|
156071
156072
|
},
|
|
156072
156073
|
{
|
|
156073
|
-
defaultValue:
|
|
156074
|
+
defaultValue: cr[Sn.InterpretAs],
|
|
156074
156075
|
disabled: this._unsupportedSsmlTags.includes(zg.options.ssmlTagName),
|
|
156075
156076
|
icon: I`<cx-icon name="info" style=${vi({
|
|
156076
156077
|
color: Xo[Sn.InterpretAs]
|
|
@@ -156079,15 +156080,15 @@ let ni = class extends hn {
|
|
|
156079
156080
|
label: this.localize.term("interpretTextAs"),
|
|
156080
156081
|
name: Sn.InterpretAs,
|
|
156081
156082
|
onChangeCallback: (c) => {
|
|
156082
|
-
if (c ===
|
|
156083
|
+
if (c === cr[Sn.InterpretAs]) {
|
|
156083
156084
|
this.textEditor.chain().unsetSayAs().focus().run();
|
|
156084
156085
|
return;
|
|
156085
156086
|
}
|
|
156086
156087
|
this.textEditor.chain().setSayAs({
|
|
156087
156088
|
sayAs: {
|
|
156088
|
-
detail:
|
|
156089
|
-
format:
|
|
156090
|
-
interpretAs: c ||
|
|
156089
|
+
detail: cr[`${c}-detail`] || void 0,
|
|
156090
|
+
format: cr[`${c}-format`],
|
|
156091
|
+
interpretAs: c || cr[Sn.InterpretAs]
|
|
156091
156092
|
}
|
|
156092
156093
|
}).focus().run();
|
|
156093
156094
|
},
|
|
@@ -156115,7 +156116,7 @@ let ni = class extends hn {
|
|
|
156115
156116
|
}
|
|
156116
156117
|
renderBreakMenu() {
|
|
156117
156118
|
const n = this.textEditor?.getAttributes("nodeBreak")?.break, e = this.textEditor?.getAttributes("nodeBreak")?.unit;
|
|
156118
|
-
return I`<cx-typography variant="body3">${this.localize.term("pauseTime")}</cx-typography><cx-space direction="horizontal"><cx-input value=${n ??
|
|
156119
|
+
return I`<cx-typography variant="body3">${this.localize.term("pauseTime")}</cx-typography><cx-space direction="horizontal"><cx-input value=${n ?? cr[Sn.PauseTime]} type="number" min="0" size="small" default-value=${cr[Sn.PauseTime]} @keydown=${this.handleBreakKeydown} @cx-change=${this.handleBreakChange}></cx-input><cx-radio-group size="small" name="break-unit" value=${e ?? c0[Sn.PauseTime]} @cx-change=${this.handleBreakUnitChange}>${pn(
|
|
156119
156120
|
Object.values(wJ),
|
|
156120
156121
|
(t) => t,
|
|
156121
156122
|
(t) => I`<cx-radio-button value=${t}>${t}</cx-radio-button>`
|
|
@@ -156124,7 +156125,7 @@ let ni = class extends hn {
|
|
|
156124
156125
|
renderSayAsMenu() {
|
|
156125
156126
|
const n = this.textEditor?.getAttributes("sayAs")?.sayAs, { detail: e, format: t, interpretAs: i } = n || {}, r = [
|
|
156126
156127
|
{
|
|
156127
|
-
defaultValue:
|
|
156128
|
+
defaultValue: cr[Sn.DateFormat],
|
|
156128
156129
|
hidden: i !== ad.Date,
|
|
156129
156130
|
icon: I`<span style=${vi({
|
|
156130
156131
|
color: Xo[Sn.InterpretAs]
|
|
@@ -156135,7 +156136,7 @@ let ni = class extends hn {
|
|
|
156135
156136
|
onChangeCallback: (o) => {
|
|
156136
156137
|
this.textEditor.chain().setSayAs({
|
|
156137
156138
|
sayAs: {
|
|
156138
|
-
format: o ||
|
|
156139
|
+
format: o || cr[Sn.DateFormat]
|
|
156139
156140
|
}
|
|
156140
156141
|
}).focus().run();
|
|
156141
156142
|
},
|
|
@@ -156143,7 +156144,7 @@ let ni = class extends hn {
|
|
|
156143
156144
|
value: t
|
|
156144
156145
|
},
|
|
156145
156146
|
{
|
|
156146
|
-
defaultValue:
|
|
156147
|
+
defaultValue: cr[Sn.TimeFormat],
|
|
156147
156148
|
hidden: i !== ad.Time,
|
|
156148
156149
|
icon: I`<span style=${vi({
|
|
156149
156150
|
color: Xo[Sn.InterpretAs]
|
|
@@ -156154,7 +156155,7 @@ let ni = class extends hn {
|
|
|
156154
156155
|
onChangeCallback: (o) => {
|
|
156155
156156
|
this.textEditor.chain().setSayAs({
|
|
156156
156157
|
sayAs: {
|
|
156157
|
-
format: o ||
|
|
156158
|
+
format: o || cr[Sn.TimeFormat]
|
|
156158
156159
|
}
|
|
156159
156160
|
}).focus().run();
|
|
156160
156161
|
},
|
|
@@ -156162,7 +156163,7 @@ let ni = class extends hn {
|
|
|
156162
156163
|
value: t
|
|
156163
156164
|
},
|
|
156164
156165
|
{
|
|
156165
|
-
defaultValue:
|
|
156166
|
+
defaultValue: cr[Sn.AreaCode],
|
|
156166
156167
|
hidden: i !== ad.Telephone,
|
|
156167
156168
|
icon: I`<span style=${vi({
|
|
156168
156169
|
color: Xo[Sn.InterpretAs]
|
|
@@ -156173,7 +156174,7 @@ let ni = class extends hn {
|
|
|
156173
156174
|
onChangeCallback: (o) => {
|
|
156174
156175
|
this.textEditor.chain().setSayAs({
|
|
156175
156176
|
sayAs: {
|
|
156176
|
-
format: o ||
|
|
156177
|
+
format: o || cr[Sn.AreaCode]
|
|
156177
156178
|
}
|
|
156178
156179
|
}).focus().run();
|
|
156179
156180
|
},
|
|
@@ -156181,7 +156182,7 @@ let ni = class extends hn {
|
|
|
156181
156182
|
value: t
|
|
156182
156183
|
},
|
|
156183
156184
|
{
|
|
156184
|
-
defaultValue:
|
|
156185
|
+
defaultValue: cr[Sn.CharactersFormat],
|
|
156185
156186
|
hidden: i !== ad.Characters,
|
|
156186
156187
|
icon: I`<span style=${vi({
|
|
156187
156188
|
color: Xo[Sn.InterpretAs]
|
|
@@ -156192,7 +156193,7 @@ let ni = class extends hn {
|
|
|
156192
156193
|
onChangeCallback: (o) => {
|
|
156193
156194
|
this.textEditor.chain().setSayAs({
|
|
156194
156195
|
sayAs: {
|
|
156195
|
-
format: o ||
|
|
156196
|
+
format: o || cr[Sn.CharactersFormat]
|
|
156196
156197
|
}
|
|
156197
156198
|
}).focus().run();
|
|
156198
156199
|
},
|
|
@@ -156200,7 +156201,7 @@ let ni = class extends hn {
|
|
|
156200
156201
|
value: t
|
|
156201
156202
|
},
|
|
156202
156203
|
{
|
|
156203
|
-
defaultValue:
|
|
156204
|
+
defaultValue: cr[Sn.CardinalFormat],
|
|
156204
156205
|
hidden: i !== ad.Cardinal,
|
|
156205
156206
|
icon: I`<span style=${vi({
|
|
156206
156207
|
color: Xo[Sn.InterpretAs]
|
|
@@ -156211,7 +156212,7 @@ let ni = class extends hn {
|
|
|
156211
156212
|
onChangeCallback: (o) => {
|
|
156212
156213
|
this.textEditor.chain().setSayAs({
|
|
156213
156214
|
sayAs: {
|
|
156214
|
-
format: o ||
|
|
156215
|
+
format: o || cr[Sn.CardinalFormat]
|
|
156215
156216
|
}
|
|
156216
156217
|
}).focus().run();
|
|
156217
156218
|
},
|
|
@@ -156219,7 +156220,7 @@ let ni = class extends hn {
|
|
|
156219
156220
|
value: t
|
|
156220
156221
|
},
|
|
156221
156222
|
{
|
|
156222
|
-
defaultValue:
|
|
156223
|
+
defaultValue: cr[Sn.CardinalDetail],
|
|
156223
156224
|
hidden: i !== ad.Cardinal,
|
|
156224
156225
|
icon: I`<span style=${vi({
|
|
156225
156226
|
color: Xo[Sn.InterpretAs]
|
|
@@ -156230,7 +156231,7 @@ let ni = class extends hn {
|
|
|
156230
156231
|
onChangeCallback: (o) => {
|
|
156231
156232
|
this.textEditor.chain().setSayAs({
|
|
156232
156233
|
sayAs: {
|
|
156233
|
-
detail: o ||
|
|
156234
|
+
detail: o || cr[Sn.CardinalDetail]
|
|
156234
156235
|
}
|
|
156235
156236
|
}).focus().run();
|
|
156236
156237
|
},
|
|
@@ -156334,7 +156335,7 @@ let ni = class extends hn {
|
|
|
156334
156335
|
};
|
|
156335
156336
|
ni.styles = [gn, QWt];
|
|
156336
156337
|
ni.dependencies = {
|
|
156337
|
-
"cx-button":
|
|
156338
|
+
"cx-button": Zi,
|
|
156338
156339
|
"cx-dialog": ns,
|
|
156339
156340
|
"cx-divider": $c,
|
|
156340
156341
|
"cx-dropdown": xs,
|
|
@@ -156652,7 +156653,7 @@ NJ = function() {
|
|
|
156652
156653
|
};
|
|
156653
156654
|
ta.styles = [gn, iGt];
|
|
156654
156655
|
ta.dependencies = {
|
|
156655
|
-
"cx-button":
|
|
156656
|
+
"cx-button": Zi,
|
|
156656
156657
|
"cx-icon": Hr,
|
|
156657
156658
|
"cx-icon-button": Cr,
|
|
156658
156659
|
"cx-tooltip": Ao,
|
|
@@ -157122,7 +157123,7 @@ QJ = function() {
|
|
|
157122
157123
|
};
|
|
157123
157124
|
zs.styles = [gn, pGt, p7];
|
|
157124
157125
|
zs.dependencies = {
|
|
157125
|
-
"cx-button":
|
|
157126
|
+
"cx-button": Zi,
|
|
157126
157127
|
"cx-checkbox": qh,
|
|
157127
157128
|
"cx-divider": $c,
|
|
157128
157129
|
"cx-dynamic-select": pb,
|
|
@@ -157320,7 +157321,7 @@ var TGt = Object.defineProperty, AGt = Object.getOwnPropertyDescriptor, aZ = (n)
|
|
|
157320
157321
|
(a = n[o]) && (r = (i ? a(e, t, r) : a(r)) || r);
|
|
157321
157322
|
return i && r && TGt(e, t, r), r;
|
|
157322
157323
|
}, xD = (n, e, t) => e.has(n) || aZ("Cannot " + t), CF = (n, e, t) => (xD(n, e, "read from private field"), e.get(n)), d9 = (n, e, t) => e.has(n) ? aZ("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(n) : e.set(n, t), u9 = (n, e, t, i) => (xD(n, e, "write to private field"), e.set(n, t), t), fo = (n, e, t) => (xD(n, e, "access private method"), t), F0, a2, Zr, sZ, lZ, i3, n6, Kg, kD, cZ, dZ, uZ, pZ, hZ, gZ, mZ, i6;
|
|
157323
|
-
let
|
|
157324
|
+
let dr = class extends hn {
|
|
157324
157325
|
constructor() {
|
|
157325
157326
|
super(...arguments), d9(this, Zr), this.apiGetAllAliasFields = Y3t, this.apiGetAllSearchableFieldsForCurrentUser = X3t, this.apiGetEnabledRelations = J3t, this.apiGetSortOrders = GW, this.apiGetSubTypesWithWildcard = u7, d9(this, F0, !1), d9(this, a2, null), this.value = "", this.debug = !1, this.tree = null, this.copiedNode = void 0, this.referenceDataLoading = !1, this.enabledRelations = [], this.sortOrders = [], this.subTypes = [], this.subTypesMap = {}, this.metadataFields = [], this.sameFields = [];
|
|
157326
157327
|
}
|
|
@@ -157339,7 +157340,7 @@ let cr = class extends hn {
|
|
|
157339
157340
|
} : { expand: !0, type: Wr.Text };
|
|
157340
157341
|
}
|
|
157341
157342
|
static deleteElement(n, e, t) {
|
|
157342
|
-
const i =
|
|
157343
|
+
const i = dr.findElementIndex(n, e, t);
|
|
157343
157344
|
if (i === -1 || !n.elements)
|
|
157344
157345
|
return null;
|
|
157345
157346
|
const [r] = n.elements.splice(i, 1);
|
|
@@ -157373,14 +157374,14 @@ let cr = class extends hn {
|
|
|
157373
157374
|
}
|
|
157374
157375
|
};
|
|
157375
157376
|
try {
|
|
157376
|
-
|
|
157377
|
+
dr.traverseXMLElements(i.firstChild.childNodes, a[o].elements, o, r);
|
|
157377
157378
|
} catch {
|
|
157378
157379
|
return null;
|
|
157379
157380
|
}
|
|
157380
|
-
return
|
|
157381
|
+
return dr.removeEmptyElements(a), a;
|
|
157381
157382
|
}
|
|
157382
157383
|
static isTextTag(n) {
|
|
157383
|
-
return
|
|
157384
|
+
return dr.TEXT_TAGS.has(n);
|
|
157384
157385
|
}
|
|
157385
157386
|
static getDirectParentName(n) {
|
|
157386
157387
|
switch (n) {
|
|
@@ -157413,17 +157414,17 @@ let cr = class extends hn {
|
|
|
157413
157414
|
if (r.nodeName === "#comment")
|
|
157414
157415
|
continue;
|
|
157415
157416
|
if (r.nodeName === "#text") {
|
|
157416
|
-
|
|
157417
|
+
dr.appendTextNode(r, e, t);
|
|
157417
157418
|
continue;
|
|
157418
157419
|
}
|
|
157419
|
-
if (r.parentElement?.nodeName !==
|
|
157420
|
+
if (r.parentElement?.nodeName !== dr.getDirectParentName(r.nodeName))
|
|
157420
157421
|
throw new Error("Invalid XML");
|
|
157421
157422
|
const o = u8(r.attributes);
|
|
157422
|
-
|
|
157423
|
+
dr.appendElementNode(r, e, o, i);
|
|
157423
157424
|
}
|
|
157424
157425
|
}
|
|
157425
157426
|
static appendTextNode(n, e, t) {
|
|
157426
|
-
if (!(!n.nodeValue || n.nodeValue.trim().length === 0 || !
|
|
157427
|
+
if (!(!n.nodeValue || n.nodeValue.trim().length === 0 || !dr.isTextTag(t))) {
|
|
157427
157428
|
if (n.parentElement?.nodeName === "TypeFilters" && n.nodeValue.includes(`
|
|
157428
157429
|
`)) {
|
|
157429
157430
|
n.nodeValue.split(`
|
|
@@ -157447,7 +157448,7 @@ let cr = class extends hn {
|
|
|
157447
157448
|
expand: !0,
|
|
157448
157449
|
type: Wr.Element
|
|
157449
157450
|
}
|
|
157450
|
-
}, n.childNodes.length > 0 &&
|
|
157451
|
+
}, n.childNodes.length > 0 && dr.traverseXMLElements(
|
|
157451
157452
|
n.childNodes,
|
|
157452
157453
|
e[a][n.nodeName].elements,
|
|
157453
157454
|
n.nodeName,
|
|
@@ -157463,7 +157464,7 @@ let cr = class extends hn {
|
|
|
157463
157464
|
type: Wr.Element
|
|
157464
157465
|
}
|
|
157465
157466
|
};
|
|
157466
|
-
e.push(o), n.childNodes.length > 0 &&
|
|
157467
|
+
e.push(o), n.childNodes.length > 0 && dr.traverseXMLElements(
|
|
157467
157468
|
n.childNodes,
|
|
157468
157469
|
o[n.nodeName].elements,
|
|
157469
157470
|
n.nodeName,
|
|
@@ -157472,7 +157473,7 @@ let cr = class extends hn {
|
|
|
157472
157473
|
}
|
|
157473
157474
|
static removeEmptyElements(n) {
|
|
157474
157475
|
Object.entries(n).forEach(([e, t]) => {
|
|
157475
|
-
t.type === Wr.Element && (t.elements &&
|
|
157476
|
+
t.type === Wr.Element && (t.elements && dr.isTextTag(e) ? t.elements.length === 0 && delete n[e] : t.elements && t.elements.length > 0 && t.elements.forEach((i) => dr.removeEmptyElements(i)));
|
|
157476
157477
|
});
|
|
157477
157478
|
}
|
|
157478
157479
|
connectedCallback() {
|
|
@@ -157506,7 +157507,7 @@ F0 = /* @__PURE__ */ new WeakMap();
|
|
|
157506
157507
|
a2 = /* @__PURE__ */ new WeakMap();
|
|
157507
157508
|
Zr = /* @__PURE__ */ new WeakSet();
|
|
157508
157509
|
sZ = function() {
|
|
157509
|
-
const n =
|
|
157510
|
+
const n = dr.loadXML(this.value) || dr.loadXML(yGt);
|
|
157510
157511
|
n && (fo(this, Zr, i3).call(this, Object.values(n)[0]), this.tree = n);
|
|
157511
157512
|
};
|
|
157512
157513
|
lZ = async function() {
|
|
@@ -157531,11 +157532,11 @@ n6 = function(n) {
|
|
|
157531
157532
|
});
|
|
157532
157533
|
};
|
|
157533
157534
|
Kg = function(n, e, t, i) {
|
|
157534
|
-
const r = t || (n === Wr.Element ? fx.ElementName : fx.TextName), o = n === Wr.Element ? { [r]:
|
|
157535
|
+
const r = t || (n === Wr.Element ? fx.ElementName : fx.TextName), o = n === Wr.Element ? { [r]: dr.getNewElement(r, n, i) } : { [t ?? r]: dr.getNewElement(r, n) };
|
|
157535
157536
|
return e.elements.push(o), r === "Packet" ? fo(this, Zr, Kg).call(this, Wr.Element, o[r], "Relations") : r === "Generation" ? fo(this, Zr, Kg).call(this, Wr.Element, o[r], "Packet") : this.updateTree(), o;
|
|
157536
157537
|
};
|
|
157537
157538
|
kD = function(n, e, t) {
|
|
157538
|
-
|
|
157539
|
+
dr.deleteElement(n, e, t), this.updateTree();
|
|
157539
157540
|
};
|
|
157540
157541
|
cZ = function(n, e) {
|
|
157541
157542
|
e.expand = n, this.updateTree();
|
|
@@ -157641,13 +157642,13 @@ i6 = function(n, e, t, i, r, o = !1, a = !0) {
|
|
|
157641
157642
|
)
|
|
157642
157643
|
)}</cx-xml-editor-element-tag>`;
|
|
157643
157644
|
};
|
|
157644
|
-
|
|
157645
|
-
|
|
157645
|
+
dr.styles = [gn, SGt];
|
|
157646
|
+
dr.dependencies = {
|
|
157646
157647
|
"cx-xml-editor-element-tag": ta,
|
|
157647
157648
|
"cx-xml-editor-packet-editor": zs,
|
|
157648
157649
|
"cx-xml-editor-viewer": yd
|
|
157649
157650
|
};
|
|
157650
|
-
|
|
157651
|
+
dr.TEXT_TAGS = /* @__PURE__ */ new Set([
|
|
157651
157652
|
"OrderBy",
|
|
157652
157653
|
"Limit",
|
|
157653
157654
|
"Self",
|
|
@@ -157662,43 +157663,43 @@ cr.TEXT_TAGS = /* @__PURE__ */ new Set([
|
|
|
157662
157663
|
]);
|
|
157663
157664
|
Sd([
|
|
157664
157665
|
O({ type: String })
|
|
157665
|
-
],
|
|
157666
|
+
], dr.prototype, "value", 2);
|
|
157666
157667
|
Sd([
|
|
157667
157668
|
O({ attribute: "debug", reflect: !0, type: Boolean })
|
|
157668
|
-
],
|
|
157669
|
+
], dr.prototype, "debug", 2);
|
|
157669
157670
|
Sd([
|
|
157670
157671
|
ge()
|
|
157671
|
-
],
|
|
157672
|
+
], dr.prototype, "tree", 2);
|
|
157672
157673
|
Sd([
|
|
157673
157674
|
ge()
|
|
157674
|
-
],
|
|
157675
|
+
], dr.prototype, "copiedNode", 2);
|
|
157675
157676
|
Sd([
|
|
157676
157677
|
ge()
|
|
157677
|
-
],
|
|
157678
|
+
], dr.prototype, "referenceDataLoading", 2);
|
|
157678
157679
|
Sd([
|
|
157679
157680
|
ge()
|
|
157680
|
-
],
|
|
157681
|
+
], dr.prototype, "enabledRelations", 2);
|
|
157681
157682
|
Sd([
|
|
157682
157683
|
ge()
|
|
157683
|
-
],
|
|
157684
|
+
], dr.prototype, "sortOrders", 2);
|
|
157684
157685
|
Sd([
|
|
157685
157686
|
ge()
|
|
157686
|
-
],
|
|
157687
|
+
], dr.prototype, "subTypes", 2);
|
|
157687
157688
|
Sd([
|
|
157688
157689
|
ge()
|
|
157689
|
-
],
|
|
157690
|
+
], dr.prototype, "subTypesMap", 2);
|
|
157690
157691
|
Sd([
|
|
157691
157692
|
ge()
|
|
157692
|
-
],
|
|
157693
|
+
], dr.prototype, "metadataFields", 2);
|
|
157693
157694
|
Sd([
|
|
157694
157695
|
ge()
|
|
157695
|
-
],
|
|
157696
|
+
], dr.prototype, "sameFields", 2);
|
|
157696
157697
|
Sd([
|
|
157697
157698
|
Qe("value")
|
|
157698
|
-
],
|
|
157699
|
-
|
|
157699
|
+
], dr.prototype, "handleValueChange", 1);
|
|
157700
|
+
dr = Sd([
|
|
157700
157701
|
nn("cx-xml-editor")
|
|
157701
|
-
],
|
|
157702
|
+
], dr);
|
|
157702
157703
|
export {
|
|
157703
157704
|
aQt as AUTO_FALLBACK_FORMAT,
|
|
157704
157705
|
sQt as AUTO_FORMAT_EXTENSION,
|
|
@@ -157730,7 +157731,7 @@ export {
|
|
|
157730
157731
|
tz as CxBorderInputGroup,
|
|
157731
157732
|
sJt as CxBreadcrumb,
|
|
157732
157733
|
cJt as CxBreadcrumbItem,
|
|
157733
|
-
|
|
157734
|
+
Zi as CxButton,
|
|
157734
157735
|
OQ as CxButtonGroup,
|
|
157735
157736
|
yo as CxCapacityPlanner,
|
|
157736
157737
|
am as CxCard,
|
|
@@ -157742,7 +157743,7 @@ export {
|
|
|
157742
157743
|
bx as CxColorPicker,
|
|
157743
157744
|
SQt as CxColorSwatch,
|
|
157744
157745
|
VQt as CxColorSwatchGroup,
|
|
157745
|
-
|
|
157746
|
+
hr as CxComment,
|
|
157746
157747
|
Ul as CxCommentV1,
|
|
157747
157748
|
u3 as CxConfirmPopover,
|
|
157748
157749
|
ti as CxContentBuilder,
|
|
@@ -157785,7 +157786,7 @@ export {
|
|
|
157785
157786
|
jQ as CxFormatDate,
|
|
157786
157787
|
HQ as CxFormatNumber,
|
|
157787
157788
|
OF as CxFormatTime,
|
|
157788
|
-
|
|
157789
|
+
ur as CxGalleryItem,
|
|
157789
157790
|
Qg as CxGraphView,
|
|
157790
157791
|
ou as CxGrid,
|
|
157791
157792
|
au as CxGridItem,
|
|
@@ -157804,7 +157805,7 @@ export {
|
|
|
157804
157805
|
OJt as CxInputGroup,
|
|
157805
157806
|
dl as CxLightbox,
|
|
157806
157807
|
Bp as CxLineClamp,
|
|
157807
|
-
|
|
157808
|
+
sr as CxListEditor,
|
|
157808
157809
|
r3 as CxMarkdown,
|
|
157809
157810
|
Za as CxMarkdownViewer,
|
|
157810
157811
|
pte as CxMasonry,
|
|
@@ -157819,7 +157820,7 @@ export {
|
|
|
157819
157820
|
hte as CxPaddingInputGroup,
|
|
157820
157821
|
Ls as CxPageOutline,
|
|
157821
157822
|
nee as CxPagination,
|
|
157822
|
-
|
|
157823
|
+
nr as CxPdfViewerToolbar,
|
|
157823
157824
|
Qd as CxPopup,
|
|
157824
157825
|
gte as CxPositionPicker,
|
|
157825
157826
|
iee as CxProgressBar,
|
|
@@ -157868,7 +157869,7 @@ export {
|
|
|
157868
157869
|
LF as CxVideo,
|
|
157869
157870
|
Vu as CxViewAndSort,
|
|
157870
157871
|
cee as CxVisuallyHidden,
|
|
157871
|
-
|
|
157872
|
+
dr as CxXmlEditor,
|
|
157872
157873
|
p8 as DateRangePresets,
|
|
157873
157874
|
_Zt as DragScroll,
|
|
157874
157875
|
Yn as Easing,
|