@orangelogic/design-system 2.152.0 → 2.153.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/{document-viewer.DzwB_FfN.js → document-viewer.BN-OQfid.js} +1 -1
- package/library/chunks/{image.DYRVQgG1.js → image.DazATuAV.js} +90 -86
- package/library/components/atoms.js +2 -2
- package/library/components/document-viewer.js +2 -2
- package/library/components/image.js +1 -1
- package/library/components/masonry.js +1 -1
- package/library/components/types.js +526 -523
- package/library/components/video.js +1 -1
- package/library/package.json +1 -1
- package/library/packages/atoms/src/components/image/image.d.ts +7 -0
- package/library/packages/molecules/src/gallery-item/gallery-item.d.ts +5 -0
- package/library/packages/organisms/src/xml-editor/xml-editor.d.ts +1 -1
- package/library/react-web-component.d.ts +5 -1
- package/package.json +1 -1
|
@@ -20,12 +20,12 @@ import Zw from "./details.js";
|
|
|
20
20
|
import { default as iYt } from "./diff.js";
|
|
21
21
|
import { C as Oa, D as gf, O as k$, a as jJ, H as HJ, z as VJ, o as UJ } from "../chunks/dialog.DIXmnVis.js";
|
|
22
22
|
import Fs from "./divider.js";
|
|
23
|
-
import { r as qJ, a as _$, b as WJ, c as GJ } from "../chunks/document-viewer.
|
|
24
|
-
import { C as rYt } from "../chunks/document-viewer.
|
|
23
|
+
import { r as qJ, a as _$, b as WJ, c as GJ } from "../chunks/document-viewer.BN-OQfid.js";
|
|
24
|
+
import { C as rYt } from "../chunks/document-viewer.BN-OQfid.js";
|
|
25
25
|
import { d as KJ, C as YJ } from "../chunks/dot-pagination.BdZc-K0r.js";
|
|
26
26
|
import { default as aYt } from "./dot-status.js";
|
|
27
27
|
import { default as lYt } from "./drawer.js";
|
|
28
|
-
import
|
|
28
|
+
import ys from "./dropdown.js";
|
|
29
29
|
import { default as dYt } from "./e-chart.js";
|
|
30
30
|
import { default as pYt } from "./element-clamp.js";
|
|
31
31
|
import XJ from "./format-bytes.js";
|
|
@@ -40,7 +40,7 @@ import { C as gYt } from "../chunks/hub-connection.CA_wS_wh.js";
|
|
|
40
40
|
import { C as _r } from "../chunks/icon.mxNZ85k0.js";
|
|
41
41
|
import { C as Cr } from "../chunks/icon-button.DbVIFgu7.js";
|
|
42
42
|
import { C as nZ, a as rZ } from "../chunks/iframe.DcHjOcLG.js";
|
|
43
|
-
import { C as p4, a as oZ } from "../chunks/image.
|
|
43
|
+
import { C as p4, a as oZ } from "../chunks/image.DazATuAV.js";
|
|
44
44
|
import { default as fYt } from "./image-comparer.js";
|
|
45
45
|
import { default as yYt } from "./include.js";
|
|
46
46
|
import { C as Yr, I as hS } from "../chunks/input.BcyLZUmv.js";
|
|
@@ -118,7 +118,7 @@ import { c as pi } from "../chunks/repeat.CFjcER6_.js";
|
|
|
118
118
|
import { a as xy, F as ky, i as y4, b as p8, c as h8, d as HZ, e as z$, f as j$, g as b4, h as Pk, C as VZ, j as g8, k as m8, l as f8, m as v8, n as y8, o as b8, O as w8, D as vS, p as UZ, q as x8, u as Nk } from "../chunks/asset-link-format.DzYh0_YS.js";
|
|
119
119
|
import { H as EC } from "../chunks/slot.j5oheLJC.js";
|
|
120
120
|
import { a as WXt, g as GXt } from "../chunks/slot.j5oheLJC.js";
|
|
121
|
-
import { c as Mr, d as qZ, H as Di, e as _a, f as
|
|
121
|
+
import { c as Mr, d as qZ, H as Di, e as _a, f as ps, a as WZ, b as Zn } from "../chunks/resizable-component.styles.CAfXABBc.js";
|
|
122
122
|
import { a as $o, E as Wi, b as Mv, O as Zu, T as up, G as k8 } from "../chunks/index.Cpamj0jB.js";
|
|
123
123
|
import { C as YXt } from "../chunks/index.Cpamj0jB.js";
|
|
124
124
|
import { A as Ol, D as Z1, P as yS, E as Eu, B as st, a as pp, S as ow, b as Lo, c as H$, d as GZ, T as _8, f as AC } from "../chunks/content-builder.BU8X7I6V.js";
|
|
@@ -344,7 +344,7 @@ Kr.styles = [ui, uee];
|
|
|
344
344
|
Kr.dependencies = {
|
|
345
345
|
"cx-button": Rn,
|
|
346
346
|
"cx-divider": Fs,
|
|
347
|
-
"cx-dropdown":
|
|
347
|
+
"cx-dropdown": ys,
|
|
348
348
|
"cx-icon": _r,
|
|
349
349
|
"cx-icon-button": Cr,
|
|
350
350
|
"cx-menu": sl,
|
|
@@ -529,7 +529,7 @@ let pr = class extends di {
|
|
|
529
529
|
pr.styles = [ui, gee];
|
|
530
530
|
pr.dependencies = {
|
|
531
531
|
"cx-3d-viewer-config": Kr,
|
|
532
|
-
"cx-dropdown":
|
|
532
|
+
"cx-dropdown": ys,
|
|
533
533
|
"cx-icon-button": Cr,
|
|
534
534
|
"cx-menu-section": aZ,
|
|
535
535
|
"cx-tooltip": Xr
|
|
@@ -4613,7 +4613,7 @@ let ff = class extends di {
|
|
|
4613
4613
|
ff.styles = [ui];
|
|
4614
4614
|
ff.dependencies = {
|
|
4615
4615
|
"cx-button": Rn,
|
|
4616
|
-
"cx-dropdown":
|
|
4616
|
+
"cx-dropdown": ys,
|
|
4617
4617
|
"cx-menu": sl,
|
|
4618
4618
|
"cx-menu-item": Gl,
|
|
4619
4619
|
"cx-tooltip": Xr
|
|
@@ -4660,7 +4660,7 @@ let vf = class extends di {
|
|
|
4660
4660
|
};
|
|
4661
4661
|
vf.styles = [ui];
|
|
4662
4662
|
vf.dependencies = {
|
|
4663
|
-
"cx-dropdown":
|
|
4663
|
+
"cx-dropdown": ys,
|
|
4664
4664
|
"cx-icon-button": Cr,
|
|
4665
4665
|
"cx-menu": sl,
|
|
4666
4666
|
"cx-menu-item": Gl,
|
|
@@ -5288,7 +5288,7 @@ Er = ro([
|
|
|
5288
5288
|
Qt("cx-asset-data-display")
|
|
5289
5289
|
], Er);
|
|
5290
5290
|
const Qee = ni`:host{isolation:isolate}.asset-picker__input[data-user-invalid]~.asset-picker__trigger-wrapper .asset-picker__button::part(base){border-color:var(--cx-input-invalid-border-color)}.asset-picker__input[data-user-invalid]:focus-within~.asset-picker__trigger-wrapper .asset-picker__button::part(base){border-color:var(--cx-input-invalid-border-color);box-shadow:var(--cx-input-invalid-shadow)}.asset-picker__button-container{position:relative}.asset-picker__trigger-wrapper{z-index:1;position:relative}.asset-picker__image{--height:150px;--width:200px;--border-radius:var(--cx-border-radius-medium)}.asset-picker__input{opacity:0;width:100%;height:100%;position:absolute;top:0;left:0}`;
|
|
5291
|
-
var ete = Object.defineProperty, tte = Object.getOwnPropertyDescriptor,
|
|
5291
|
+
var ete = Object.defineProperty, tte = Object.getOwnPropertyDescriptor, bs = (i, e, t, n) => {
|
|
5292
5292
|
for (var r = n > 1 ? void 0 : n ? tte(e, t) : e, o = i.length - 1, a; o >= 0; o--)
|
|
5293
5293
|
(a = i[o]) && (r = (n ? a(e, t, r) : a(r)) || r);
|
|
5294
5294
|
return n && r && ete(e, t, r), r;
|
|
@@ -5412,19 +5412,19 @@ ho.dependencies = {
|
|
|
5412
5412
|
"cx-space": Mn,
|
|
5413
5413
|
"cx-typography": En
|
|
5414
5414
|
};
|
|
5415
|
-
|
|
5415
|
+
bs([
|
|
5416
5416
|
kt(".asset-picker__button")
|
|
5417
5417
|
], ho.prototype, "buttonEl", 2);
|
|
5418
|
-
|
|
5418
|
+
bs([
|
|
5419
5419
|
kt(".asset-picker__input")
|
|
5420
5420
|
], ho.prototype, "inputEl", 2);
|
|
5421
|
-
|
|
5421
|
+
bs([
|
|
5422
5422
|
D({ reflect: !0, type: String })
|
|
5423
5423
|
], ho.prototype, "value", 2);
|
|
5424
|
-
|
|
5424
|
+
bs([
|
|
5425
5425
|
D({ reflect: !0, type: String })
|
|
5426
5426
|
], ho.prototype, "name", 2);
|
|
5427
|
-
|
|
5427
|
+
bs([
|
|
5428
5428
|
D({
|
|
5429
5429
|
converter: {
|
|
5430
5430
|
fromAttribute: (i) => (i ?? "").split(" ").filter((e) => e !== ""),
|
|
@@ -5433,10 +5433,10 @@ ys([
|
|
|
5433
5433
|
reflect: !0
|
|
5434
5434
|
})
|
|
5435
5435
|
], ho.prototype, "type", 2);
|
|
5436
|
-
|
|
5436
|
+
bs([
|
|
5437
5437
|
D({ reflect: !0, type: Boolean })
|
|
5438
5438
|
], ho.prototype, "multiple", 2);
|
|
5439
|
-
|
|
5439
|
+
bs([
|
|
5440
5440
|
D({
|
|
5441
5441
|
converter: {
|
|
5442
5442
|
fromAttribute: (i) => (i ?? "").split(" ").filter((e) => e !== ""),
|
|
@@ -5445,37 +5445,37 @@ ys([
|
|
|
5445
5445
|
reflect: !0
|
|
5446
5446
|
})
|
|
5447
5447
|
], ho.prototype, "accepts", 2);
|
|
5448
|
-
|
|
5448
|
+
bs([
|
|
5449
5449
|
D({ reflect: !0, type: Boolean })
|
|
5450
5450
|
], ho.prototype, "required", 2);
|
|
5451
|
-
|
|
5451
|
+
bs([
|
|
5452
5452
|
D({ attribute: "disabled", reflect: !0, type: Boolean })
|
|
5453
5453
|
], ho.prototype, "disabled", 2);
|
|
5454
|
-
|
|
5454
|
+
bs([
|
|
5455
5455
|
D({ attribute: "restrict", reflect: !0, type: Boolean })
|
|
5456
5456
|
], ho.prototype, "restrict", 2);
|
|
5457
|
-
|
|
5457
|
+
bs([
|
|
5458
5458
|
D({ attribute: "on-request-asset", type: Function })
|
|
5459
5459
|
], ho.prototype, "onRequestAsset", 2);
|
|
5460
|
-
|
|
5460
|
+
bs([
|
|
5461
5461
|
D({ attribute: "record-id", reflect: !0, type: String })
|
|
5462
5462
|
], ho.prototype, "recordId", 2);
|
|
5463
|
-
|
|
5463
|
+
bs([
|
|
5464
5464
|
D({ attribute: "is-site-builder", reflect: !0, type: Boolean })
|
|
5465
5465
|
], ho.prototype, "isSiteBuilder", 2);
|
|
5466
|
-
|
|
5466
|
+
bs([
|
|
5467
5467
|
pe()
|
|
5468
5468
|
], ho.prototype, "previewSrc", 2);
|
|
5469
|
-
|
|
5469
|
+
bs([
|
|
5470
5470
|
pe()
|
|
5471
5471
|
], ho.prototype, "assetTitle", 2);
|
|
5472
|
-
|
|
5472
|
+
bs([
|
|
5473
5473
|
lt("value")
|
|
5474
5474
|
], ho.prototype, "handleValueChange", 1);
|
|
5475
|
-
|
|
5475
|
+
bs([
|
|
5476
5476
|
lt("recordId")
|
|
5477
5477
|
], ho.prototype, "handleRecordIdChange", 1);
|
|
5478
|
-
ho =
|
|
5478
|
+
ho = bs([
|
|
5479
5479
|
Qt("cx-asset-picker")
|
|
5480
5480
|
], ho);
|
|
5481
5481
|
async function ite() {
|
|
@@ -7066,14 +7066,14 @@ const Vte = ni`:host{--overridden-highlightable-item-effect-zoom-scale:var(--hig
|
|
|
7066
7066
|
color: var(--cx-color-danger);
|
|
7067
7067
|
}
|
|
7068
7068
|
`;
|
|
7069
|
-
var qte = Object.defineProperty, Wte = Object.getOwnPropertyDescriptor,
|
|
7069
|
+
var qte = Object.defineProperty, Wte = Object.getOwnPropertyDescriptor, Qa = (i, e, t, n) => {
|
|
7070
7070
|
for (var r = n > 1 ? void 0 : n ? Wte(e, t) : e, o = i.length - 1, a; o >= 0; o--)
|
|
7071
7071
|
(a = i[o]) && (r = (n ? a(e, t, r) : a(r)) || r);
|
|
7072
7072
|
return n && r && qte(e, t, r), r;
|
|
7073
7073
|
};
|
|
7074
|
-
let
|
|
7074
|
+
let vr = class extends qZ {
|
|
7075
7075
|
constructor() {
|
|
7076
|
-
super(...arguments), this.localize = new Si(this), this.src = void 0, this.alt = "", this.pageId = "", this.objectFit = $o.Cover, this.openInNewTab = !1, this.contentVariant = Bg.Default, this.showContentType = lp.Always, this.contentPosition = Mr.Top, this.canZoom = !1, this.loading = !1, this.canSelect = !1, this.selected = !1, this.inView = !1, this.isInert = !1, this.itemIndex = 0;
|
|
7076
|
+
super(...arguments), this.localize = new Si(this), this.src = void 0, this.alt = "", this.pageId = "", this.objectFit = $o.Cover, this.noCrossorigin = !1, this.openInNewTab = !1, this.contentVariant = Bg.Default, this.showContentType = lp.Always, this.contentPosition = Mr.Top, this.canZoom = !1, this.loading = !1, this.canSelect = !1, this.selected = !1, this.inView = !1, this.isInert = !1, this.itemIndex = 0;
|
|
7077
7077
|
}
|
|
7078
7078
|
get canZoomWithSelectMode() {
|
|
7079
7079
|
return this.canZoom;
|
|
@@ -7106,7 +7106,7 @@ let kr = class extends qZ {
|
|
|
7106
7106
|
"gallery-item--has-link": this.hasEvent,
|
|
7107
7107
|
[`gallery-item--${this.contentPosition}`]: !0,
|
|
7108
7108
|
[`gallery-item--text-reveal-style-${this.textRevealStyle}`]: !0
|
|
7109
|
-
})} @mouseenter=${this.handleMouseEnter} @mouseleave=${this.handleMouseLeave}><cx-asset-data-display part="content" class="gallery-item__content" effect=${this.effect} fetch-mode="manual" position=${this.contentPosition} text-reveal-style=${this.textRevealStyle} ?can-zoom=${this.canZoom && !this.isCustomSlot} ?collapsed=${e} ?expanded=${!this.src} ?overlay=${t} @cx-asset-data-display-slot-change=${this.handleSlotChange}><slot></slot></cx-asset-data-display>${Ge(this.src, () => M`<div class="gallery-item__image-container"><cx-image object-fit=${this.objectFit} ?loading=${this.loading} alt=${this.alt} click-handler-type=${oZ.Manual} class=${Lt({
|
|
7109
|
+
})} @mouseenter=${this.handleMouseEnter} @mouseleave=${this.handleMouseLeave}><cx-asset-data-display part="content" class="gallery-item__content" effect=${this.effect} fetch-mode="manual" position=${this.contentPosition} text-reveal-style=${this.textRevealStyle} ?can-zoom=${this.canZoom && !this.isCustomSlot} ?collapsed=${e} ?expanded=${!this.src} ?overlay=${t} @cx-asset-data-display-slot-change=${this.handleSlotChange}><slot></slot></cx-asset-data-display>${Ge(this.src, () => M`<div class="gallery-item__image-container"><cx-image ?no-crossorigin=${this.noCrossorigin} object-fit=${this.objectFit} ?loading=${this.loading} alt=${this.alt} click-handler-type=${oZ.Manual} class=${Lt({
|
|
7110
7110
|
"gallery-item__image": !0
|
|
7111
7111
|
})} part="image" src=${this.src} retry-on-error></cx-image></div>`)}</div></div>`;
|
|
7112
7112
|
}
|
|
@@ -7114,65 +7114,68 @@ let kr = class extends qZ {
|
|
|
7114
7114
|
return this.renderHighlighter();
|
|
7115
7115
|
}
|
|
7116
7116
|
};
|
|
7117
|
-
|
|
7118
|
-
|
|
7117
|
+
vr.styles = [ui, Ute];
|
|
7118
|
+
vr.dependencies = {
|
|
7119
7119
|
"cx-asset-data-display": Er,
|
|
7120
7120
|
"cx-image": p4
|
|
7121
7121
|
};
|
|
7122
|
-
|
|
7122
|
+
Qa([
|
|
7123
7123
|
kt(".gallery-item__image")
|
|
7124
|
-
],
|
|
7125
|
-
|
|
7124
|
+
], vr.prototype, "imageEl", 2);
|
|
7125
|
+
Qa([
|
|
7126
7126
|
kt(".gallery-item__content")
|
|
7127
|
-
],
|
|
7128
|
-
|
|
7127
|
+
], vr.prototype, "contentEl", 2);
|
|
7128
|
+
Qa([
|
|
7129
7129
|
D({ reflect: !0, type: String })
|
|
7130
|
-
],
|
|
7131
|
-
|
|
7130
|
+
], vr.prototype, "src", 2);
|
|
7131
|
+
Qa([
|
|
7132
7132
|
D({ reflect: !0, type: String })
|
|
7133
|
-
],
|
|
7134
|
-
|
|
7133
|
+
], vr.prototype, "alt", 2);
|
|
7134
|
+
Qa([
|
|
7135
7135
|
D({ attribute: "page-id", reflect: !0, type: String })
|
|
7136
|
-
],
|
|
7137
|
-
|
|
7136
|
+
], vr.prototype, "pageId", 2);
|
|
7137
|
+
Qa([
|
|
7138
7138
|
D({ attribute: "object-fit", reflect: !0, type: String })
|
|
7139
|
-
],
|
|
7140
|
-
|
|
7139
|
+
], vr.prototype, "objectFit", 2);
|
|
7140
|
+
Qa([
|
|
7141
|
+
D({ attribute: "no-crossorigin", reflect: !0, type: Boolean })
|
|
7142
|
+
], vr.prototype, "noCrossorigin", 2);
|
|
7143
|
+
Qa([
|
|
7141
7144
|
D({ attribute: "open-in-new-tab", reflect: !0, type: Boolean })
|
|
7142
|
-
],
|
|
7143
|
-
|
|
7145
|
+
], vr.prototype, "openInNewTab", 2);
|
|
7146
|
+
Qa([
|
|
7144
7147
|
D({ attribute: "content-variant", reflect: !0, type: String })
|
|
7145
|
-
],
|
|
7146
|
-
|
|
7148
|
+
], vr.prototype, "contentVariant", 2);
|
|
7149
|
+
Qa([
|
|
7147
7150
|
D({ attribute: "show-content-type", reflect: !0, type: String })
|
|
7148
|
-
],
|
|
7149
|
-
|
|
7151
|
+
], vr.prototype, "showContentType", 2);
|
|
7152
|
+
Qa([
|
|
7150
7153
|
D({ attribute: "content-position", reflect: !0, type: String })
|
|
7151
|
-
],
|
|
7152
|
-
|
|
7154
|
+
], vr.prototype, "contentPosition", 2);
|
|
7155
|
+
Qa([
|
|
7153
7156
|
D({ attribute: "can-zoom", reflect: !0, type: Boolean })
|
|
7154
|
-
],
|
|
7155
|
-
|
|
7157
|
+
], vr.prototype, "canZoom", 2);
|
|
7158
|
+
Qa([
|
|
7156
7159
|
D({ reflect: !0, type: Boolean })
|
|
7157
|
-
],
|
|
7158
|
-
|
|
7160
|
+
], vr.prototype, "loading", 2);
|
|
7161
|
+
Qa([
|
|
7159
7162
|
D({ attribute: "can-select", reflect: !0, type: Boolean })
|
|
7160
|
-
],
|
|
7161
|
-
|
|
7163
|
+
], vr.prototype, "canSelect", 2);
|
|
7164
|
+
Qa([
|
|
7162
7165
|
D({ reflect: !0, type: Boolean })
|
|
7163
|
-
],
|
|
7164
|
-
|
|
7166
|
+
], vr.prototype, "selected", 2);
|
|
7167
|
+
Qa([
|
|
7165
7168
|
D({ attribute: "in-view", reflect: !0, type: Boolean })
|
|
7166
|
-
],
|
|
7167
|
-
|
|
7169
|
+
], vr.prototype, "inView", 2);
|
|
7170
|
+
Qa([
|
|
7168
7171
|
D({ attribute: "inert", reflect: !0, type: Boolean })
|
|
7169
|
-
],
|
|
7170
|
-
|
|
7172
|
+
], vr.prototype, "isInert", 2);
|
|
7173
|
+
Qa([
|
|
7171
7174
|
D({ attribute: "item-index", reflect: !0, type: Number })
|
|
7172
|
-
],
|
|
7173
|
-
|
|
7175
|
+
], vr.prototype, "itemIndex", 2);
|
|
7176
|
+
vr = Qa([
|
|
7174
7177
|
Qt("cx-gallery-item")
|
|
7175
|
-
],
|
|
7178
|
+
], vr);
|
|
7176
7179
|
const Gte = ".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))}";
|
|
7177
7180
|
function Ia(i) {
|
|
7178
7181
|
if (typeof i == "string" || typeof i == "number") return "" + i;
|
|
@@ -11512,11 +11515,11 @@ const aoe = {
|
|
|
11512
11515
|
position: "relative",
|
|
11513
11516
|
zIndex: 0
|
|
11514
11517
|
};
|
|
11515
|
-
function soe({ nodes: i, edges: e, defaultNodes: t, defaultEdges: n, 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: A, onNodeContextMenu: I, onNodeDoubleClick: z, onNodeDragStart: V, onNodeDrag: H, onNodeDragStop: L, onNodesDelete: X, onEdgesDelete: F, onDelete: $, onSelectionChange: K, onSelectionDragStart: B, onSelectionDrag: Y, onSelectionDragStop: N, onSelectionContextMenu: re, onSelectionStart: ce, onSelectionEnd: ee, onBeforeDelete: ve, connectionMode: Me, connectionLineType: be = yg.Bezier, connectionLineStyle: Ie, connectionLineComponent: Ae, connectionLineContainerStyle: rt, deleteKeyCode: gt = "Backspace", selectionKeyCode: et = "Shift", selectionOnDrag: it = !1, selectionMode: Ke = pw.Full, panActivationKeyCode: _t = "Space", multiSelectionKeyCode: vt = Zk() ? "Meta" : "Control", zoomActivationKeyCode: de = Zk() ? "Meta" : "Control", snapToGrid: tt, snapGrid: at, onlyRenderVisibleElements: Ft = !1, selectNodesOnDrag: ei, nodesDraggable: Wt, autoPanOnNodeFocus: G, nodesConnectable: se, nodesFocusable: ye, nodeOrigin: Pe = iz, edgesFocusable: Ze, edgesReconnectable: he, elementsSelectable: Fe = !0, defaultViewport: Ne = $ne, minZoom: Yt = 0.5, maxZoom: wi = 2, translateExtent: Ni = uw, preventScrolling: le = !0, nodeExtent: Oe, defaultMarkerColor: ie = "#b1b1b7", zoomOnScroll: yt = !0, zoomOnPinch: je = !0, panOnScroll: Tt = !1, panOnScrollSpeed: Xt = 0.5, panOnScrollMode: pt = Qm.Free, zoomOnDoubleClick: Rt = !0, panOnDrag: mi = !0, onPaneClick: Gi, onPaneMouseEnter: Ot, onPaneMouseMove: on, onPaneMouseLeave: Or, onPaneScroll: Jr, onPaneContextMenu: ae, paneClickDistance: Ce = 0, nodeClickDistance: $e = 0, children: wt, onReconnect: Nt, onReconnectStart: _i, onReconnectEnd: qi, onEdgeContextMenu: sr, onEdgeDoubleClick: Zi, onEdgeMouseEnter: an, onEdgeMouseMove: ks, onEdgeMouseLeave: lr, reconnectRadius: Oo = 10, onNodesChange: ta, onEdgesChange: $n, noDragClassName: cr = "nodrag", noWheelClassName: nn = "nowheel", noPanClassName: Dr = "nopan", fitView: Ii, fitViewOptions: Ra, connectOnClick: Zr, attributionPosition: Qr, proOptions:
|
|
11516
|
-
const
|
|
11518
|
+
function soe({ nodes: i, edges: e, defaultNodes: t, defaultEdges: n, 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: A, onNodeContextMenu: I, onNodeDoubleClick: z, onNodeDragStart: V, onNodeDrag: H, onNodeDragStop: L, onNodesDelete: X, onEdgesDelete: F, onDelete: $, onSelectionChange: K, onSelectionDragStart: B, onSelectionDrag: Y, onSelectionDragStop: N, onSelectionContextMenu: re, onSelectionStart: ce, onSelectionEnd: ee, onBeforeDelete: ve, connectionMode: Me, connectionLineType: be = yg.Bezier, connectionLineStyle: Ie, connectionLineComponent: Ae, connectionLineContainerStyle: rt, deleteKeyCode: gt = "Backspace", selectionKeyCode: et = "Shift", selectionOnDrag: it = !1, selectionMode: Ke = pw.Full, panActivationKeyCode: _t = "Space", multiSelectionKeyCode: vt = Zk() ? "Meta" : "Control", zoomActivationKeyCode: de = Zk() ? "Meta" : "Control", snapToGrid: tt, snapGrid: at, onlyRenderVisibleElements: Ft = !1, selectNodesOnDrag: ei, nodesDraggable: Wt, autoPanOnNodeFocus: G, nodesConnectable: se, nodesFocusable: ye, nodeOrigin: Pe = iz, edgesFocusable: Ze, edgesReconnectable: he, elementsSelectable: Fe = !0, defaultViewport: Ne = $ne, minZoom: Yt = 0.5, maxZoom: wi = 2, translateExtent: Ni = uw, preventScrolling: le = !0, nodeExtent: Oe, defaultMarkerColor: ie = "#b1b1b7", zoomOnScroll: yt = !0, zoomOnPinch: je = !0, panOnScroll: Tt = !1, panOnScrollSpeed: Xt = 0.5, panOnScrollMode: pt = Qm.Free, zoomOnDoubleClick: Rt = !0, panOnDrag: mi = !0, onPaneClick: Gi, onPaneMouseEnter: Ot, onPaneMouseMove: on, onPaneMouseLeave: Or, onPaneScroll: Jr, onPaneContextMenu: ae, paneClickDistance: Ce = 0, nodeClickDistance: $e = 0, children: wt, onReconnect: Nt, onReconnectStart: _i, onReconnectEnd: qi, onEdgeContextMenu: sr, onEdgeDoubleClick: Zi, onEdgeMouseEnter: an, onEdgeMouseMove: ks, onEdgeMouseLeave: lr, reconnectRadius: Oo = 10, onNodesChange: ta, onEdgesChange: $n, noDragClassName: cr = "nodrag", noWheelClassName: nn = "nowheel", noPanClassName: Dr = "nopan", fitView: Ii, fitViewOptions: Ra, connectOnClick: Zr, attributionPosition: Qr, proOptions: wr, defaultEdgeOptions: ia, elevateNodesOnSelect: An, elevateEdgesOnSelect: Bt, disableKeyboardA11y: Sr = !1, autoPanOnConnect: jn, autoPanOnNodeDrag: wo, autoPanSpeed: Qi, connectionRadius: qn, isValidConnection: ha, onError: Ba, style: Et, id: Mi, nodeDragThreshold: ga, connectionDragThreshold: te, viewport: ue, onViewportChange: mt, width: Dt, height: It, colorMode: fi = "light", debug: en, onScroll: Jn, ariaLabelConfig: Cn, ...ma }, ic) {
|
|
11519
|
+
const is = Mi || "1", nc = Hne(fi), Hs = Ue.useCallback((Fc) => {
|
|
11517
11520
|
Fc.currentTarget.scrollTo({ top: 0, left: 0, behavior: "instant" }), Jn?.(Fc);
|
|
11518
11521
|
}, [Jn]);
|
|
11519
|
-
return _e.jsx("div", { "data-testid": "rf__wrapper", ...ma, onScroll: Hs, style: { ...Et, ...aoe }, ref: ic, className: Ia(["react-flow", r, nc]), id: Mi, role: "application", children: _e.jsxs(ooe, { nodes: i, edges: e, width: Dt, height: It, fitView: Ii, fitViewOptions: Ra, minZoom: Yt, maxZoom: wi, nodeOrigin: Pe, nodeExtent: Oe, children: [_e.jsx(noe, { onInit: c, onNodeClick: s, onEdgeClick: l, onNodeMouseEnter: E, onNodeMouseMove: C, onNodeMouseLeave: A, onNodeContextMenu: I, onNodeDoubleClick: z, nodeTypes: o, edgeTypes: a, connectionLineType: be, connectionLineStyle: Ie, connectionLineComponent: Ae, connectionLineContainerStyle: rt, selectionKeyCode: et, selectionOnDrag: it, selectionMode: Ke, deleteKeyCode: gt, multiSelectionKeyCode: vt, panActivationKeyCode: _t, zoomActivationKeyCode: de, onlyRenderVisibleElements: Ft, defaultViewport: Ne, translateExtent: Ni, minZoom: Yt, maxZoom: wi, preventScrolling: le, zoomOnScroll: yt, zoomOnPinch: je, zoomOnDoubleClick: Rt, panOnScroll: Tt, panOnScrollSpeed: Xt, panOnScrollMode: pt, panOnDrag: mi, onPaneClick: Gi, onPaneMouseEnter: Ot, onPaneMouseMove: on, onPaneMouseLeave: Or, onPaneScroll: Jr, onPaneContextMenu: ae, paneClickDistance: Ce, nodeClickDistance: $e, onSelectionContextMenu: re, onSelectionStart: ce, onSelectionEnd: ee, onReconnect: Nt, onReconnectStart: _i, onReconnectEnd: qi, onEdgeContextMenu: sr, onEdgeDoubleClick: Zi, onEdgeMouseEnter: an, onEdgeMouseMove: ks, onEdgeMouseLeave: lr, reconnectRadius: Oo, defaultMarkerColor: ie, noDragClassName: cr, noWheelClassName: nn, noPanClassName: Dr, rfId:
|
|
11522
|
+
return _e.jsx("div", { "data-testid": "rf__wrapper", ...ma, onScroll: Hs, style: { ...Et, ...aoe }, ref: ic, className: Ia(["react-flow", r, nc]), id: Mi, role: "application", children: _e.jsxs(ooe, { nodes: i, edges: e, width: Dt, height: It, fitView: Ii, fitViewOptions: Ra, minZoom: Yt, maxZoom: wi, nodeOrigin: Pe, nodeExtent: Oe, children: [_e.jsx(noe, { onInit: c, onNodeClick: s, onEdgeClick: l, onNodeMouseEnter: E, onNodeMouseMove: C, onNodeMouseLeave: A, onNodeContextMenu: I, onNodeDoubleClick: z, nodeTypes: o, edgeTypes: a, connectionLineType: be, connectionLineStyle: Ie, connectionLineComponent: Ae, connectionLineContainerStyle: rt, selectionKeyCode: et, selectionOnDrag: it, selectionMode: Ke, deleteKeyCode: gt, multiSelectionKeyCode: vt, panActivationKeyCode: _t, zoomActivationKeyCode: de, onlyRenderVisibleElements: Ft, defaultViewport: Ne, translateExtent: Ni, minZoom: Yt, maxZoom: wi, preventScrolling: le, zoomOnScroll: yt, zoomOnPinch: je, zoomOnDoubleClick: Rt, panOnScroll: Tt, panOnScrollSpeed: Xt, panOnScrollMode: pt, panOnDrag: mi, onPaneClick: Gi, onPaneMouseEnter: Ot, onPaneMouseMove: on, onPaneMouseLeave: Or, onPaneScroll: Jr, onPaneContextMenu: ae, paneClickDistance: Ce, nodeClickDistance: $e, onSelectionContextMenu: re, onSelectionStart: ce, onSelectionEnd: ee, onReconnect: Nt, onReconnectStart: _i, onReconnectEnd: qi, onEdgeContextMenu: sr, onEdgeDoubleClick: Zi, onEdgeMouseEnter: an, onEdgeMouseMove: ks, onEdgeMouseLeave: lr, reconnectRadius: Oo, defaultMarkerColor: ie, noDragClassName: cr, noWheelClassName: nn, noPanClassName: Dr, rfId: is, disableKeyboardA11y: Sr, nodeExtent: Oe, viewport: ue, onViewportChange: mt }), _e.jsx(jne, { nodes: i, edges: e, defaultNodes: t, defaultEdges: n, onConnect: m, onConnectStart: f, onConnectEnd: b, onClickConnectStart: w, onClickConnectEnd: k, nodesDraggable: Wt, autoPanOnNodeFocus: G, nodesConnectable: se, nodesFocusable: ye, edgesFocusable: Ze, edgesReconnectable: he, elementsSelectable: Fe, elevateNodesOnSelect: An, elevateEdgesOnSelect: Bt, minZoom: Yt, maxZoom: wi, nodeExtent: Oe, onNodesChange: ta, onEdgesChange: $n, snapToGrid: tt, snapGrid: at, connectionMode: Me, translateExtent: Ni, connectOnClick: Zr, defaultEdgeOptions: ia, fitView: Ii, fitViewOptions: Ra, onNodesDelete: X, onEdgesDelete: F, onDelete: $, onNodeDragStart: V, onNodeDrag: H, onNodeDragStop: L, onSelectionDrag: Y, onSelectionDragStart: B, onSelectionDragStop: N, onMove: d, onMoveStart: u, onMoveEnd: h, noPanClassName: Dr, nodeOrigin: Pe, rfId: is, autoPanOnConnect: jn, autoPanOnNodeDrag: wo, autoPanSpeed: Qi, onError: Ba, connectionRadius: qn, isValidConnection: ha, selectNodesOnDrag: ei, nodeDragThreshold: ga, connectionDragThreshold: te, onBeforeDelete: ve, paneClickDistance: Ce, debug: en, ariaLabelConfig: Cn }), _e.jsx(Bne, { onSelectionChange: K }), wt, _e.jsx(Mne, { proOptions: wr, position: Qr }), _e.jsx(Ine, { rfId: is, disableKeyboardA11y: Sr })] }) });
|
|
11520
11523
|
}
|
|
11521
11524
|
var loe = az(soe);
|
|
11522
11525
|
const coe = (i) => i.domNode?.querySelector(".react-flow__edgelabel-renderer");
|
|
@@ -15275,7 +15278,7 @@ jg.dependencies = {
|
|
|
15275
15278
|
"cx-badge": Xw,
|
|
15276
15279
|
"cx-card": Kg,
|
|
15277
15280
|
"cx-divider": Fs,
|
|
15278
|
-
"cx-dropdown":
|
|
15281
|
+
"cx-dropdown": ys,
|
|
15279
15282
|
"cx-icon": _r,
|
|
15280
15283
|
"cx-icon-button": Cr,
|
|
15281
15284
|
"cx-line-clamp": Fu,
|
|
@@ -19768,7 +19771,7 @@ Ta.dependencies = {
|
|
|
19768
19771
|
"cx-bicolor-picker": V$,
|
|
19769
19772
|
"cx-button": Rn,
|
|
19770
19773
|
"cx-divider": Fs,
|
|
19771
|
-
"cx-dropdown":
|
|
19774
|
+
"cx-dropdown": ys,
|
|
19772
19775
|
"cx-icon": _r,
|
|
19773
19776
|
"cx-icon-button": Cr,
|
|
19774
19777
|
"cx-input": Yr,
|
|
@@ -20300,7 +20303,7 @@ const Fut = [
|
|
|
20300
20303
|
// The page-number input and the "of N" count share this group so "N of M"
|
|
20301
20304
|
// never splits into a lone input.
|
|
20302
20305
|
{ breakpoint: 165, name: "pageNumber" }
|
|
20303
|
-
], zut = ni`:host{--cx-draw-panel-min-width:240px;--cx-draw-panel-padding:5px;--cx-draw-panel-slider-width:45
|
|
20306
|
+
], zut = ni`:host{--cx-draw-panel-min-width:240px;--cx-draw-panel-padding:5px;--cx-draw-panel-slider-width:45%;--cx-draw-panel-button-height:calc(var(--cx-font-size-large) + 2 * var(--cx-spacing-2x-small));display:inline-block}.draw-trigger::part(base){height:var(--cx-draw-panel-button-height);padding-inline-end:0}.draw-panel{min-width:var(--cx-draw-panel-min-width)}.draw-panel cx-menu{--font-size:16px;padding-block:0;padding:var(--cx-draw-panel-padding) 0;background:0 0;border:none}.draw-params{padding:var(--cx-draw-panel-padding) var(--cx-spacing-small);color:var(--cx-color-neutral);overflow:hidden}.draw-params__slider{max-width:var(--cx-draw-panel-slider-width);flex:auto;margin-inline-end:var(--cx-spacing-small,12px)}.draw-params__slider::part(base){margin:0}.draw-divider{--padding:0px}`;
|
|
20304
20307
|
var jut = Object.defineProperty, Hut = Object.getOwnPropertyDescriptor, ej = (i) => {
|
|
20305
20308
|
throw TypeError(i);
|
|
20306
20309
|
}, Yg = (i, e, t, n) => {
|
|
@@ -20434,7 +20437,7 @@ cd.dependencies = {
|
|
|
20434
20437
|
"cx-button": Rn,
|
|
20435
20438
|
"cx-color-picker": Jw,
|
|
20436
20439
|
"cx-divider": Fs,
|
|
20437
|
-
"cx-dropdown":
|
|
20440
|
+
"cx-dropdown": ys,
|
|
20438
20441
|
"cx-icon": _r,
|
|
20439
20442
|
"cx-menu": sl,
|
|
20440
20443
|
"cx-menu-item": Gl,
|
|
@@ -20602,7 +20605,7 @@ let Hg = class extends di {
|
|
|
20602
20605
|
Hg.styles = [ui, Uut];
|
|
20603
20606
|
Hg.dependencies = {
|
|
20604
20607
|
"cx-divider": Fs,
|
|
20605
|
-
"cx-dropdown":
|
|
20608
|
+
"cx-dropdown": ys,
|
|
20606
20609
|
"cx-icon": _r,
|
|
20607
20610
|
"cx-icon-button": Cr,
|
|
20608
20611
|
"cx-menu": sl,
|
|
@@ -20677,7 +20680,7 @@ let Vg = class extends di {
|
|
|
20677
20680
|
};
|
|
20678
20681
|
Vg.styles = [ui, Gut];
|
|
20679
20682
|
Vg.dependencies = {
|
|
20680
|
-
"cx-dropdown":
|
|
20683
|
+
"cx-dropdown": ys,
|
|
20681
20684
|
"cx-icon": _r,
|
|
20682
20685
|
"cx-icon-button": Cr,
|
|
20683
20686
|
"cx-space": Mn,
|
|
@@ -20705,7 +20708,7 @@ Vg = i3([
|
|
|
20705
20708
|
Qt("cx-pdf-viewer-view-on-asset")
|
|
20706
20709
|
], Vg);
|
|
20707
20710
|
const Xut = ni`:host{--pdf-viewer-toolbar-page-input-width:55px;--pdf-viewer-toolbar-scale-dropdown-width:20ch;--pdf-viewer-toolbar-divider-height:30px;display:block}.pdf-viewer-toolbar__middle{margin-inline:auto}.pdf-viewer-toolbar cx-divider[vertical]{height:var(--pdf-viewer-toolbar-divider-height);--spacing:0}.pdf-viewer-toolbar__page-input{width:var(--pdf-viewer-toolbar-page-input-width)}.pdf-viewer-toolbar__page-input::part(input){text-align:right;padding-inline:var(--cx-spacing-x-small)}.pdf-viewer-toolbar__scale{width:var(--pdf-viewer-toolbar-scale-dropdown-width)}.pdf-viewer-toolbar__tool--hide{display:none}cx-icon-button.pdf-viewer-toolbar__tool{--cx-focus-ring-offset:-2px}`;
|
|
20708
|
-
var Jut = Object.defineProperty, Zut = Object.getOwnPropertyDescriptor,
|
|
20711
|
+
var Jut = Object.defineProperty, Zut = Object.getOwnPropertyDescriptor, yr = (i, e, t, n) => {
|
|
20709
20712
|
for (var r = n > 1 ? void 0 : n ? Zut(e, t) : e, o = i.length - 1, a; o >= 0; o--)
|
|
20710
20713
|
(a = i[o]) && (r = (n ? a(e, t, r) : a(r)) || r);
|
|
20711
20714
|
return n && r && Jut(e, t, r), r;
|
|
@@ -20894,113 +20897,113 @@ Kn.dependencies = {
|
|
|
20894
20897
|
"cx-space": Mn,
|
|
20895
20898
|
"cx-typography": En
|
|
20896
20899
|
};
|
|
20897
|
-
|
|
20900
|
+
yr([
|
|
20898
20901
|
pe()
|
|
20899
20902
|
], Kn.prototype, "hiddenTools", 2);
|
|
20900
|
-
|
|
20903
|
+
yr([
|
|
20901
20904
|
D({ attribute: "current-page", reflect: !0, type: Number })
|
|
20902
20905
|
], Kn.prototype, "currentPage", 2);
|
|
20903
|
-
|
|
20906
|
+
yr([
|
|
20904
20907
|
D({ attribute: "total-pages", reflect: !0, type: Number })
|
|
20905
20908
|
], Kn.prototype, "totalPages", 2);
|
|
20906
|
-
|
|
20909
|
+
yr([
|
|
20907
20910
|
D({ attribute: "prev-disabled", reflect: !0, type: Boolean })
|
|
20908
20911
|
], Kn.prototype, "prevDisabled", 2);
|
|
20909
|
-
|
|
20912
|
+
yr([
|
|
20910
20913
|
D({ attribute: "next-disabled", reflect: !0, type: Boolean })
|
|
20911
20914
|
], Kn.prototype, "nextDisabled", 2);
|
|
20912
|
-
|
|
20915
|
+
yr([
|
|
20913
20916
|
D({ attribute: "scale-value", reflect: !0 })
|
|
20914
20917
|
], Kn.prototype, "scaleValue", 2);
|
|
20915
|
-
|
|
20918
|
+
yr([
|
|
20916
20919
|
D({ attribute: "zoom-in-disabled", reflect: !0, type: Boolean })
|
|
20917
20920
|
], Kn.prototype, "zoomInDisabled", 2);
|
|
20918
|
-
|
|
20921
|
+
yr([
|
|
20919
20922
|
D({ attribute: "zoom-out-disabled", reflect: !0, type: Boolean })
|
|
20920
20923
|
], Kn.prototype, "zoomOutDisabled", 2);
|
|
20921
|
-
|
|
20924
|
+
yr([
|
|
20922
20925
|
D({ attribute: "active-annotation-mode", reflect: !0 })
|
|
20923
20926
|
], Kn.prototype, "activeAnnotationMode", 2);
|
|
20924
|
-
|
|
20927
|
+
yr([
|
|
20925
20928
|
D({ attribute: "suggested-edit-button-disabled", reflect: !0, type: Boolean })
|
|
20926
20929
|
], Kn.prototype, "suggestedEditButtonDisabled", 2);
|
|
20927
|
-
|
|
20930
|
+
yr([
|
|
20928
20931
|
D({ attribute: "anchor-comment-button-disabled", reflect: !0, type: Boolean })
|
|
20929
20932
|
], Kn.prototype, "anchorCommentButtonDisabled", 2);
|
|
20930
|
-
|
|
20933
|
+
yr([
|
|
20931
20934
|
D({ attribute: "draw-button-disabled", reflect: !0, type: Boolean })
|
|
20932
20935
|
], Kn.prototype, "drawButtonDisabled", 2);
|
|
20933
|
-
|
|
20936
|
+
yr([
|
|
20934
20937
|
D({ attribute: "draw-color" })
|
|
20935
20938
|
], Kn.prototype, "drawColor", 2);
|
|
20936
|
-
|
|
20939
|
+
yr([
|
|
20937
20940
|
D({ attribute: "draw-thickness", type: Number })
|
|
20938
20941
|
], Kn.prototype, "drawThickness", 2);
|
|
20939
|
-
|
|
20942
|
+
yr([
|
|
20940
20943
|
D({ attribute: "draw-opacity", type: Number })
|
|
20941
20944
|
], Kn.prototype, "drawOpacity", 2);
|
|
20942
|
-
|
|
20945
|
+
yr([
|
|
20943
20946
|
D({
|
|
20944
20947
|
attribute: "show-suggested-edits",
|
|
20945
20948
|
reflect: !0,
|
|
20946
20949
|
type: Boolean
|
|
20947
20950
|
})
|
|
20948
20951
|
], Kn.prototype, "showSuggestedEdits", 2);
|
|
20949
|
-
|
|
20952
|
+
yr([
|
|
20950
20953
|
D({
|
|
20951
20954
|
attribute: "show-anchor-comments",
|
|
20952
20955
|
reflect: !0,
|
|
20953
20956
|
type: Boolean
|
|
20954
20957
|
})
|
|
20955
20958
|
], Kn.prototype, "showAnchorComments", 2);
|
|
20956
|
-
|
|
20959
|
+
yr([
|
|
20957
20960
|
D({ attribute: "show-annotations", reflect: !0, type: Boolean })
|
|
20958
20961
|
], Kn.prototype, "showAnnotations", 2);
|
|
20959
|
-
|
|
20962
|
+
yr([
|
|
20960
20963
|
D({ attribute: "cursor-tool", reflect: !0 })
|
|
20961
20964
|
], Kn.prototype, "cursorTool", 2);
|
|
20962
|
-
|
|
20965
|
+
yr([
|
|
20963
20966
|
D({ attribute: "scroll-mode", reflect: !0 })
|
|
20964
20967
|
], Kn.prototype, "scrollMode", 2);
|
|
20965
|
-
|
|
20968
|
+
yr([
|
|
20966
20969
|
D({ attribute: "spread-mode", reflect: !0 })
|
|
20967
20970
|
], Kn.prototype, "spreadMode", 2);
|
|
20968
|
-
|
|
20971
|
+
yr([
|
|
20969
20972
|
D({
|
|
20970
20973
|
attribute: "reading-mode-button-disabled",
|
|
20971
20974
|
reflect: !0,
|
|
20972
20975
|
type: Boolean
|
|
20973
20976
|
})
|
|
20974
20977
|
], Kn.prototype, "readingModeButtonDisabled", 2);
|
|
20975
|
-
|
|
20978
|
+
yr([
|
|
20976
20979
|
D({
|
|
20977
20980
|
attribute: "presentation-mode-button-disabled",
|
|
20978
20981
|
reflect: !0,
|
|
20979
20982
|
type: Boolean
|
|
20980
20983
|
})
|
|
20981
20984
|
], Kn.prototype, "presentationModeButtonDisabled", 2);
|
|
20982
|
-
|
|
20985
|
+
yr([
|
|
20983
20986
|
D({ reflect: !0, type: Boolean })
|
|
20984
20987
|
], Kn.prototype, "loading", 2);
|
|
20985
|
-
|
|
20988
|
+
yr([
|
|
20986
20989
|
D({ attribute: "enable-print", reflect: !0, type: Boolean })
|
|
20987
20990
|
], Kn.prototype, "enablePrint", 2);
|
|
20988
|
-
|
|
20991
|
+
yr([
|
|
20989
20992
|
D({ attribute: "enable-download", reflect: !0, type: Boolean })
|
|
20990
20993
|
], Kn.prototype, "enableDownload", 2);
|
|
20991
|
-
|
|
20994
|
+
yr([
|
|
20992
20995
|
D({ attribute: "enable-annotation", reflect: !0, type: Boolean })
|
|
20993
20996
|
], Kn.prototype, "enableAnnotation", 2);
|
|
20994
|
-
|
|
20997
|
+
yr([
|
|
20995
20998
|
D({ attribute: "enable-bookmark", reflect: !0, type: Boolean })
|
|
20996
20999
|
], Kn.prototype, "enableBookmark", 2);
|
|
20997
|
-
|
|
21000
|
+
yr([
|
|
20998
21001
|
D({ attribute: "enable-presentation-mode", reflect: !0, type: Boolean })
|
|
20999
21002
|
], Kn.prototype, "enablePresentationMode", 2);
|
|
21000
|
-
|
|
21003
|
+
yr([
|
|
21001
21004
|
D({ attribute: "enable-open-file", reflect: !0, type: Boolean })
|
|
21002
21005
|
], Kn.prototype, "enableOpenFile", 2);
|
|
21003
|
-
|
|
21006
|
+
yr([
|
|
21004
21007
|
lt(
|
|
21005
21008
|
[
|
|
21006
21009
|
"enableAnnotation",
|
|
@@ -21013,7 +21016,7 @@ vr([
|
|
|
21013
21016
|
{ waitUntilFirstUpdate: !0 }
|
|
21014
21017
|
)
|
|
21015
21018
|
], Kn.prototype, "handleEnabledControlsChange", 1);
|
|
21016
|
-
Kn =
|
|
21019
|
+
Kn = yr([
|
|
21017
21020
|
Qt("cx-pdf-viewer-toolbar")
|
|
21018
21021
|
], Kn);
|
|
21019
21022
|
let a1 = new AbortController();
|
|
@@ -22293,7 +22296,7 @@ Pu.styles = [ui, uht];
|
|
|
22293
22296
|
Pu.dependencies = {
|
|
22294
22297
|
"cx-button": Rn,
|
|
22295
22298
|
"cx-divider": Fs,
|
|
22296
|
-
"cx-dropdown":
|
|
22299
|
+
"cx-dropdown": ys,
|
|
22297
22300
|
"cx-icon": _r,
|
|
22298
22301
|
"cx-icon-button": Cr,
|
|
22299
22302
|
"cx-line-clamp": Fu,
|
|
@@ -39077,7 +39080,7 @@ function _0t(i) {
|
|
|
39077
39080
|
function C0t(i) {
|
|
39078
39081
|
return i.formatter === k0t;
|
|
39079
39082
|
}
|
|
39080
|
-
let
|
|
39083
|
+
let gs = class extends di {
|
|
39081
39084
|
constructor() {
|
|
39082
39085
|
super(...arguments), w0t(this, T9), this.data = [], this.columns = [], this.loading = !1, this.layout = "fitColumns", this.rowHeight = 48, this.pagination = !1, this.paginationSize = 100, this.canSearch = !1, this.searchFields = [], this.showLoadMore = !1, this.loadMoreLabel = "Load More", this.transformedColumns = [];
|
|
39083
39086
|
}
|
|
@@ -39107,8 +39110,8 @@ RV = function(i = []) {
|
|
|
39107
39110
|
} : e
|
|
39108
39111
|
);
|
|
39109
39112
|
};
|
|
39110
|
-
|
|
39111
|
-
|
|
39113
|
+
gs.styles = [ui, f0t];
|
|
39114
|
+
gs.dependencies = {
|
|
39112
39115
|
"cx-button": Rn,
|
|
39113
39116
|
"cx-space": Mn,
|
|
39114
39117
|
"cx-table": MC
|
|
@@ -39119,53 +39122,53 @@ Xl([
|
|
|
39119
39122
|
reflect: !1,
|
|
39120
39123
|
type: Array
|
|
39121
39124
|
})
|
|
39122
|
-
],
|
|
39125
|
+
], gs.prototype, "data", 2);
|
|
39123
39126
|
Xl([
|
|
39124
39127
|
D({
|
|
39125
39128
|
attribute: "columns",
|
|
39126
39129
|
reflect: !1,
|
|
39127
39130
|
type: Array
|
|
39128
39131
|
})
|
|
39129
|
-
],
|
|
39132
|
+
], gs.prototype, "columns", 2);
|
|
39130
39133
|
Xl([
|
|
39131
39134
|
D({ attribute: "loading", reflect: !0, type: Boolean })
|
|
39132
|
-
],
|
|
39135
|
+
], gs.prototype, "loading", 2);
|
|
39133
39136
|
Xl([
|
|
39134
39137
|
D({ type: String })
|
|
39135
|
-
],
|
|
39138
|
+
], gs.prototype, "layout", 2);
|
|
39136
39139
|
Xl([
|
|
39137
39140
|
D({ attribute: "row-height", type: Number })
|
|
39138
|
-
],
|
|
39141
|
+
], gs.prototype, "rowHeight", 2);
|
|
39139
39142
|
Xl([
|
|
39140
39143
|
D({ type: Boolean })
|
|
39141
|
-
],
|
|
39144
|
+
], gs.prototype, "pagination", 2);
|
|
39142
39145
|
Xl([
|
|
39143
39146
|
D({ attribute: "pagination-size", type: Number })
|
|
39144
|
-
],
|
|
39147
|
+
], gs.prototype, "paginationSize", 2);
|
|
39145
39148
|
Xl([
|
|
39146
39149
|
D({ attribute: "can-search", type: Boolean })
|
|
39147
|
-
],
|
|
39150
|
+
], gs.prototype, "canSearch", 2);
|
|
39148
39151
|
Xl([
|
|
39149
39152
|
D({ attribute: "search-fields", type: Array })
|
|
39150
|
-
],
|
|
39153
|
+
], gs.prototype, "searchFields", 2);
|
|
39151
39154
|
Xl([
|
|
39152
39155
|
D({ attribute: "table-height", type: String })
|
|
39153
|
-
],
|
|
39156
|
+
], gs.prototype, "tableHeight", 2);
|
|
39154
39157
|
Xl([
|
|
39155
39158
|
D({ attribute: "show-load-more", type: Boolean })
|
|
39156
|
-
],
|
|
39159
|
+
], gs.prototype, "showLoadMore", 2);
|
|
39157
39160
|
Xl([
|
|
39158
39161
|
D({ attribute: "load-more-label", type: String })
|
|
39159
|
-
],
|
|
39162
|
+
], gs.prototype, "loadMoreLabel", 2);
|
|
39160
39163
|
Xl([
|
|
39161
39164
|
pe()
|
|
39162
|
-
],
|
|
39165
|
+
], gs.prototype, "transformedColumns", 2);
|
|
39163
39166
|
Xl([
|
|
39164
39167
|
lt("columns")
|
|
39165
|
-
],
|
|
39166
|
-
|
|
39168
|
+
], gs.prototype, "handleColumnsChange", 1);
|
|
39169
|
+
gs = Xl([
|
|
39167
39170
|
Qt("cx-dashboard-table")
|
|
39168
|
-
],
|
|
39171
|
+
], gs);
|
|
39169
39172
|
/**
|
|
39170
39173
|
* @license
|
|
39171
39174
|
* Copyright 2021 Google LLC
|
|
@@ -39360,7 +39363,7 @@ var N0t = Object.defineProperty, L0t = Object.getOwnPropertyDescriptor, xn = (i,
|
|
|
39360
39363
|
};
|
|
39361
39364
|
let sn = class extends di {
|
|
39362
39365
|
constructor() {
|
|
39363
|
-
super(), this.localize = new Si(this), this.bentoLayout = new P0t(), this._scrollRaf = !1, this._viewportHeight = 0, this._resizeObserver = null, this._lastEmittedFirst = -1, this._lastEmittedLast = -2, this.data = [], this.breakpoints = [1 / 0, 1 / 0, 1 / 0], this.smallCardContentPosition = Mr.Top, this.largeCardContentPosition = Mr.Left, this.contentVariant = Bg.Default, this.filler = Cm.None, this.fillerMode = pk.Fit, this.maxColumns = 4, this.maxRows = 1 / 0, this.totalItems = 0, this.showContentType = lp.Always, this.emptyLabel = "", this.itemHeight = "", this.rowGap = "", this.columnGap = "", this.highlightBorder = !1, this.highlightColorOverlay = !1, this.highlightDropShadow = !1, this.highlightBackground = !1, this.highlightSiblingsFadeOut = !1, this.effect = Di.None, this.textRevealStyle = _a.Slide, this.zoomStyle =
|
|
39366
|
+
super(), this.localize = new Si(this), this.bentoLayout = new P0t(), this._scrollRaf = !1, this._viewportHeight = 0, this._resizeObserver = null, this._lastEmittedFirst = -1, this._lastEmittedLast = -2, this.data = [], this.breakpoints = [1 / 0, 1 / 0, 1 / 0], this.smallCardContentPosition = Mr.Top, this.largeCardContentPosition = Mr.Left, this.contentVariant = Bg.Default, this.filler = Cm.None, this.fillerMode = pk.Fit, this.maxColumns = 4, this.maxRows = 1 / 0, this.totalItems = 0, this.showContentType = lp.Always, this.emptyLabel = "", this.itemHeight = "", this.rowGap = "", this.columnGap = "", this.highlightBorder = !1, this.highlightColorOverlay = !1, this.highlightDropShadow = !1, this.highlightBackground = !1, this.highlightSiblingsFadeOut = !1, this.effect = Di.None, this.textRevealStyle = _a.Slide, this.zoomStyle = ps.WithinBorders, this.itemAriaRoleDescription = "", this.accessibilityTooltip = void 0, this.easing = Wi.Linear, this.syncRowContentHeight = !1, this.containerStyles = {}, this.prevColumnCount = 0, this.filledData = [], this.hoveredItemId = void 0, this.scrollSize = 0, this.scrollOffset = 0, this.virtualFirst = 0, this.virtualLast = -1, this.isTooltipShown = !1, this.galleryItemTag = "cx-gallery-item", this.handleResize = this.handleResize.bind(this), this.handleScroll = this.handleScroll.bind(this), this.handleContentMutation = this.handleContentMutation.bind(this), this.contentMutationController = new S0t(this, {
|
|
39364
39367
|
callback: this.handleContentMutation,
|
|
39365
39368
|
config: {
|
|
39366
39369
|
characterData: !0,
|
|
@@ -39635,13 +39638,13 @@ let sn = class extends di {
|
|
|
39635
39638
|
handleClick(i) {
|
|
39636
39639
|
}
|
|
39637
39640
|
handleMouseEnter(i) {
|
|
39638
|
-
i.target && i.target instanceof
|
|
39641
|
+
i.target && i.target instanceof vr && (this.hoveredItemId = i.target.dataset.id ?? void 0);
|
|
39639
39642
|
}
|
|
39640
39643
|
handleMouseLeave(i) {
|
|
39641
|
-
i.target && i.target instanceof
|
|
39644
|
+
i.target && i.target instanceof vr && (this.hoveredItemId = void 0);
|
|
39642
39645
|
}
|
|
39643
39646
|
handleKeyDown(i) {
|
|
39644
|
-
if (i.target instanceof
|
|
39647
|
+
if (i.target instanceof vr && (i.key === "Enter" || i.key === " ")) {
|
|
39645
39648
|
i.preventDefault(), i.target.click();
|
|
39646
39649
|
return;
|
|
39647
39650
|
}
|
|
@@ -39652,7 +39655,7 @@ let sn = class extends di {
|
|
|
39652
39655
|
"ArrowDown",
|
|
39653
39656
|
"Home",
|
|
39654
39657
|
"End"
|
|
39655
|
-
].includes(i.key) && i.target instanceof
|
|
39658
|
+
].includes(i.key) && i.target instanceof vr) {
|
|
39656
39659
|
const e = this.localize.dir() === "rtl", t = !e && i.key === "ArrowRight" || e && i.key === "ArrowLeft", n = !e && i.key === "ArrowLeft" || e && i.key === "ArrowRight", r = i.key === "ArrowDown", o = i.key === "ArrowUp";
|
|
39657
39660
|
i.preventDefault();
|
|
39658
39661
|
const a = i.target.dataset.column?.split(" ").map(Number), s = Number.parseInt(i.target.dataset.row || "0", 10);
|
|
@@ -39792,7 +39795,7 @@ let sn = class extends di {
|
|
|
39792
39795
|
sn.styles = [ui, T0t];
|
|
39793
39796
|
sn.SCROLL_THRESHOLD = 50;
|
|
39794
39797
|
sn.dependencies = {
|
|
39795
|
-
"cx-gallery-item":
|
|
39798
|
+
"cx-gallery-item": vr,
|
|
39796
39799
|
"cx-tooltip": Xr
|
|
39797
39800
|
};
|
|
39798
39801
|
xn([
|
|
@@ -40866,7 +40869,7 @@ E9 = Ai([
|
|
|
40866
40869
|
], E9);
|
|
40867
40870
|
let Ci = class extends di {
|
|
40868
40871
|
constructor() {
|
|
40869
|
-
super(), this.galleryItemTag = "cx-gallery-item", this.data = [], this.chunk = [0, 1 / 0], this.totalData = 0, this.loop = !1, this.navigation = void 0, this.autoplay = !1, this.autoplayInterval = "3s", this.slidesPerPage = 1, this.slidesPerMove = 1, this.orientation = Zu.Horizontal, this.mouseDragging = !1, this.peekSlides = !1, this.transitionType = up.Slide, this.easing = Wi.Linear, this.slideEasing = Wi.Linear, this.emptyLabel = "", this.contentVariant = Bg.Default, this.contentPosition = Mr.Top, this.showContentType = lp.Always, this.highlightBorder = !1, this.highlightColorOverlay = !1, this.highlightDropShadow = !1, this.highlightBackground = !1, this.highlightSiblingsFadeOut = !1, this.effect = Di.None, this.textRevealStyle = _a.Slide, this.zoomStyle =
|
|
40872
|
+
super(), this.galleryItemTag = "cx-gallery-item", this.data = [], this.chunk = [0, 1 / 0], this.totalData = 0, this.loop = !1, this.navigation = void 0, this.autoplay = !1, this.autoplayInterval = "3s", this.slidesPerPage = 1, this.slidesPerMove = 1, this.orientation = Zu.Horizontal, this.mouseDragging = !1, this.peekSlides = !1, this.transitionType = up.Slide, this.easing = Wi.Linear, this.slideEasing = Wi.Linear, this.emptyLabel = "", this.contentVariant = Bg.Default, this.contentPosition = Mr.Top, this.showContentType = lp.Always, this.highlightBorder = !1, this.highlightColorOverlay = !1, this.highlightDropShadow = !1, this.highlightBackground = !1, this.highlightSiblingsFadeOut = !1, this.effect = Di.None, this.textRevealStyle = _a.Slide, this.zoomStyle = ps.WithinBorders, this.accessibilityTooltip = void 0, this.itemAriaRoleDescription = "", this.activeSlide = 0, this.scrolling = !1, this.dragging = !1, this.transitioning = !1, this.loading = !1, this.pendingSlideChange = !1, this.fadeTimeout = null, this.fadeTransitionToken = 0, this.range = [0, this.slidesPerPage - 1], this.isChunked = !1, this.chunkOffset = 2, this.dragStartPosition = [-1, -1], this.hoveredItemId = void 0, this.dotPaginationFocusCount = 0, this.slideOrderChanged = !1, this.autoplayController = new J0t(
|
|
40870
40873
|
this,
|
|
40871
40874
|
() => this.next()
|
|
40872
40875
|
), this.localize = new Si(this), this.instantScrollGap = 10, this.isTooltipShown = !1, this.pendingNavigationIndex = null, this.isProgrammaticFocus = !1, this.handleMouseDrag = (i) => {
|
|
@@ -41090,14 +41093,14 @@ let Ci = class extends di {
|
|
|
41090
41093
|
}
|
|
41091
41094
|
}
|
|
41092
41095
|
handleItemListKeyDown(i) {
|
|
41093
|
-
if (i.target instanceof
|
|
41096
|
+
if (i.target instanceof vr && (i.key === "Enter" || i.key === " ") && (i.preventDefault(), i.target.click()), [
|
|
41094
41097
|
"ArrowLeft",
|
|
41095
41098
|
"ArrowRight",
|
|
41096
41099
|
"ArrowUp",
|
|
41097
41100
|
"ArrowDown",
|
|
41098
41101
|
"Home",
|
|
41099
41102
|
"End"
|
|
41100
|
-
].includes(i.key) && i.target instanceof
|
|
41103
|
+
].includes(i.key) && i.target instanceof vr) {
|
|
41101
41104
|
const e = this.localize.dir() === "rtl", t = !e && i.key === "ArrowRight" || e && i.key === "ArrowLeft", n = !e && i.key === "ArrowLeft" || e && i.key === "ArrowRight";
|
|
41102
41105
|
i.preventDefault();
|
|
41103
41106
|
let r;
|
|
@@ -41513,14 +41516,14 @@ let Ci = class extends di {
|
|
|
41513
41516
|
this.dotPaginationFocusCount++;
|
|
41514
41517
|
}
|
|
41515
41518
|
handleMouseEnter(i) {
|
|
41516
|
-
if (i.target && i.target instanceof
|
|
41519
|
+
if (i.target && i.target instanceof vr) {
|
|
41517
41520
|
if (this.hoverLeaveTimeout && (clearTimeout(this.hoverLeaveTimeout), this.hoverLeaveTimeout = void 0), i.target.isInert)
|
|
41518
41521
|
return;
|
|
41519
41522
|
this.hoveredItemId = i.target.dataset.id ?? void 0;
|
|
41520
41523
|
}
|
|
41521
41524
|
}
|
|
41522
41525
|
handleMouseLeave(i) {
|
|
41523
|
-
if (i.target && i.target instanceof
|
|
41526
|
+
if (i.target && i.target instanceof vr) {
|
|
41524
41527
|
const e = Number.parseFloat(
|
|
41525
41528
|
getComputedStyle(this).getPropertyValue(
|
|
41526
41529
|
"--transition-transform-duration"
|
|
@@ -41637,7 +41640,7 @@ let Ci = class extends di {
|
|
|
41637
41640
|
this.data || [],
|
|
41638
41641
|
(s, l) => s[this.renderIdKey] || `carousel-item-${l}`,
|
|
41639
41642
|
(s, l) => {
|
|
41640
|
-
const c = this.navigation === "pagination" || this.navigation === "both" ? `slide-${l + 1}` : `carousel-item-${l}`, d = l === this.activeSlide, u = this.hoveredItemId === s.id && (this.effect === Di.Zoom && this.zoomStyle ===
|
|
41643
|
+
const c = this.navigation === "pagination" || this.navigation === "both" ? `slide-${l + 1}` : `carousel-item-${l}`, d = l === this.activeSlide, u = this.hoveredItemId === s.id && (this.effect === Di.Zoom && this.zoomStyle === ps.PopOut || this.effect === Di.Jump);
|
|
41641
41644
|
return Zc`<cx-popup class=${Lt({
|
|
41642
41645
|
highlighter__popup: !0,
|
|
41643
41646
|
"highlighter__popup--hovered": this.hoveredItemId === s.id
|
|
@@ -41667,7 +41670,7 @@ Ci.styles = [
|
|
|
41667
41670
|
];
|
|
41668
41671
|
Ci.dependencies = {
|
|
41669
41672
|
"cx-carousel-dot-pagination": E9,
|
|
41670
|
-
"cx-gallery-item":
|
|
41673
|
+
"cx-gallery-item": vr,
|
|
41671
41674
|
"cx-icon": _r,
|
|
41672
41675
|
"cx-popup": $l,
|
|
41673
41676
|
"cx-resize-observer": Wy,
|
|
@@ -45290,7 +45293,7 @@ Rr.dependencies = {
|
|
|
45290
45293
|
"cx-checkbox": Ph,
|
|
45291
45294
|
"cx-confirm-popover": OC,
|
|
45292
45295
|
"cx-divider": Fs,
|
|
45293
|
-
"cx-dropdown":
|
|
45296
|
+
"cx-dropdown": ys,
|
|
45294
45297
|
"cx-icon-button": Cr,
|
|
45295
45298
|
"cx-input": Yr,
|
|
45296
45299
|
"cx-markdown": h4,
|
|
@@ -46258,7 +46261,7 @@ var $kt = Object.defineProperty, Fkt = Object.getOwnPropertyDescriptor, Jl = (i,
|
|
|
46258
46261
|
(a = i[o]) && (r = (n ? a(e, t, r) : a(r)) || r);
|
|
46259
46262
|
return n && r && $kt(e, t, r), r;
|
|
46260
46263
|
};
|
|
46261
|
-
let
|
|
46264
|
+
let ms = class extends di {
|
|
46262
46265
|
constructor() {
|
|
46263
46266
|
super(...arguments), this.localize = new Si(this), this._status = "loading", this._isRefreshing = !1, this.clusterData = { services: [] }, this.sliderDesiredCount = {}, this.confirmCount = 0, this.refreshInterval = 60, this.getClusterData = async () => ({ services: [] }), this.updateService = async ({ desiredCount: i, serviceId: e }) => ({
|
|
46264
46267
|
service: {
|
|
@@ -46372,8 +46375,8 @@ let gs = class extends di {
|
|
|
46372
46375
|
<cx-format-date class="status__date" year="numeric" month="numeric" day="numeric" hour="numeric" minute="numeric" second="numeric"></cx-format-date><cx-icon-button label=${this.localize.term("refresh")} part="status__refresh-button" class="status__refresh-button" name="refresh" @click=${this.refreshStatus}></cx-icon-button><cx-spinner part="status__refresh-spinner" class="status__refresh-spinner"></cx-spinner></div></div>`;
|
|
46373
46376
|
}
|
|
46374
46377
|
};
|
|
46375
|
-
|
|
46376
|
-
|
|
46378
|
+
ms.styles = Nkt;
|
|
46379
|
+
ms.dependencies = {
|
|
46377
46380
|
"cx-alert": $J,
|
|
46378
46381
|
"cx-button": Rn,
|
|
46379
46382
|
"cx-cluster-management-service": Xd,
|
|
@@ -46385,49 +46388,49 @@ gs.dependencies = {
|
|
|
46385
46388
|
};
|
|
46386
46389
|
Jl([
|
|
46387
46390
|
kt(".dialog")
|
|
46388
|
-
],
|
|
46391
|
+
], ms.prototype, "dialog", 2);
|
|
46389
46392
|
Jl([
|
|
46390
46393
|
kt(".status__date")
|
|
46391
|
-
],
|
|
46394
|
+
], ms.prototype, "refreshDate", 2);
|
|
46392
46395
|
Jl([
|
|
46393
46396
|
pe()
|
|
46394
|
-
],
|
|
46397
|
+
], ms.prototype, "_status", 2);
|
|
46395
46398
|
Jl([
|
|
46396
46399
|
pe()
|
|
46397
|
-
],
|
|
46400
|
+
], ms.prototype, "_isRefreshing", 2);
|
|
46398
46401
|
Jl([
|
|
46399
46402
|
pe()
|
|
46400
|
-
],
|
|
46403
|
+
], ms.prototype, "errorObject", 2);
|
|
46401
46404
|
Jl([
|
|
46402
46405
|
pe()
|
|
46403
|
-
],
|
|
46406
|
+
], ms.prototype, "clusterData", 2);
|
|
46404
46407
|
Jl([
|
|
46405
46408
|
pe()
|
|
46406
|
-
],
|
|
46409
|
+
], ms.prototype, "sliderDesiredCount", 2);
|
|
46407
46410
|
Jl([
|
|
46408
46411
|
pe()
|
|
46409
|
-
],
|
|
46412
|
+
], ms.prototype, "confirmCount", 2);
|
|
46410
46413
|
Jl([
|
|
46411
46414
|
D({ attribute: "refresh-interval", type: Number })
|
|
46412
|
-
],
|
|
46415
|
+
], ms.prototype, "refreshInterval", 2);
|
|
46413
46416
|
Jl([
|
|
46414
46417
|
D({ attribute: "get-cluster-data" })
|
|
46415
|
-
],
|
|
46418
|
+
], ms.prototype, "getClusterData", 2);
|
|
46416
46419
|
Jl([
|
|
46417
46420
|
D({ attribute: "update-service" })
|
|
46418
|
-
],
|
|
46421
|
+
], ms.prototype, "updateService", 2);
|
|
46419
46422
|
Jl([
|
|
46420
46423
|
D({ attribute: "clean-up" })
|
|
46421
|
-
],
|
|
46424
|
+
], ms.prototype, "cleanUp", 2);
|
|
46422
46425
|
Jl([
|
|
46423
46426
|
D({ reflect: !0, type: Boolean })
|
|
46424
|
-
],
|
|
46427
|
+
], ms.prototype, "readonly", 2);
|
|
46425
46428
|
Jl([
|
|
46426
46429
|
lt("getClusterData")
|
|
46427
|
-
],
|
|
46428
|
-
|
|
46430
|
+
], ms.prototype, "refreshStatus", 1);
|
|
46431
|
+
ms = Jl([
|
|
46429
46432
|
Qt("cx-cluster-management")
|
|
46430
|
-
],
|
|
46433
|
+
], ms);
|
|
46431
46434
|
var zkt = Object.defineProperty, jkt = Object.getOwnPropertyDescriptor, Hkt = Object.getPrototypeOf, Vkt = Reflect.get, aO = (i, e, t, n) => {
|
|
46432
46435
|
for (var r = n > 1 ? void 0 : n ? jkt(e, t) : e, o = i.length - 1, a; o >= 0; o--)
|
|
46433
46436
|
(a = i[o]) && (r = (n ? a(e, t, r) : a(r)) || r);
|
|
@@ -48715,7 +48718,7 @@ Ja.dependencies = {
|
|
|
48715
48718
|
"cx-checkbox": Ph,
|
|
48716
48719
|
"cx-confirm-popover": OC,
|
|
48717
48720
|
"cx-dialog": Oa,
|
|
48718
|
-
"cx-dropdown":
|
|
48721
|
+
"cx-dropdown": ys,
|
|
48719
48722
|
"cx-dynamic-select": Yy,
|
|
48720
48723
|
"cx-grid": eu,
|
|
48721
48724
|
"cx-grid-item": tu,
|
|
@@ -50838,8 +50841,8 @@ var V2t = {
|
|
|
50838
50841
|
}
|
|
50839
50842
|
}
|
|
50840
50843
|
for (var oa = 0, vl = ke; oa < We; ++oa) {
|
|
50841
|
-
var
|
|
50842
|
-
vl == "L" &&
|
|
50844
|
+
var ls = Be[oa];
|
|
50845
|
+
vl == "L" && ls == "1" ? Be[oa] = "L" : S.test(ls) && (vl = ls);
|
|
50843
50846
|
}
|
|
50844
50847
|
for (var ya = 0; ya < We; ++ya)
|
|
50845
50848
|
if (x.test(Be[ya])) {
|
|
@@ -51061,7 +51064,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
51061
51064
|
}
|
|
51062
51065
|
return y;
|
|
51063
51066
|
}
|
|
51064
|
-
function
|
|
51067
|
+
function wr(p, g) {
|
|
51065
51068
|
for (var y; p.innerMode && (y = p.innerMode(g), !(!y || y.mode == p)); )
|
|
51066
51069
|
g = y.state, p = y.mode;
|
|
51067
51070
|
return y || { mode: p, state: g };
|
|
@@ -51299,12 +51302,12 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
51299
51302
|
}
|
|
51300
51303
|
function ic(p, g, y) {
|
|
51301
51304
|
if (!g.styles || g.styles[0] != p.state.modeGen) {
|
|
51302
|
-
var v =
|
|
51305
|
+
var v = is(p, Qi(g)), x = g.text.length > p.options.maxHighlightLength && Qr(p.doc.mode, v.state), S = ma(p, g, v);
|
|
51303
51306
|
x && (v.state = x), g.stateAfter = v.save(!x), g.styles = S.styles, S.classes ? g.styleClasses = S.classes : g.styleClasses && (g.styleClasses = null), y === p.doc.highlightFrontier && (p.doc.modeFrontier = Math.max(p.doc.modeFrontier, ++p.doc.highlightFrontier));
|
|
51304
51307
|
}
|
|
51305
51308
|
return g.styles;
|
|
51306
51309
|
}
|
|
51307
|
-
function
|
|
51310
|
+
function is(p, g, y) {
|
|
51308
51311
|
var v = p.doc, x = p.display;
|
|
51309
51312
|
if (!v.mode.startState)
|
|
51310
51313
|
return new Cn(v, !0, g);
|
|
@@ -51324,14 +51327,14 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
51324
51327
|
if (p.blankLine)
|
|
51325
51328
|
return p.blankLine(g);
|
|
51326
51329
|
if (p.innerMode) {
|
|
51327
|
-
var y =
|
|
51330
|
+
var y = wr(p, g);
|
|
51328
51331
|
if (y.mode.blankLine)
|
|
51329
51332
|
return y.mode.blankLine(y.state);
|
|
51330
51333
|
}
|
|
51331
51334
|
}
|
|
51332
51335
|
function Fc(p, g, y, v) {
|
|
51333
51336
|
for (var x = 0; x < 10; x++) {
|
|
51334
|
-
v && (v[0] =
|
|
51337
|
+
v && (v[0] = wr(p, y).mode);
|
|
51335
51338
|
var S = p.token(g, y);
|
|
51336
51339
|
if (g.pos > g.start)
|
|
51337
51340
|
return S;
|
|
@@ -51344,7 +51347,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
51344
51347
|
function lu(p, g, y, v) {
|
|
51345
51348
|
var x = p.doc, S = x.mode, P;
|
|
51346
51349
|
g = It(x, g);
|
|
51347
|
-
var j = Bt(x, g.line), q =
|
|
51350
|
+
var j = Bt(x, g.line), q = is(p, g.line, y), J = new An(j.text, p.options.tabSize, q), me;
|
|
51348
51351
|
for (v && (me = []); (v || J.pos < g.ch) && !J.eol(); )
|
|
51349
51352
|
J.start = J.pos, P = Fc(S, J, q.state), v && me.push(new rc(J, P, Qr(x.mode, q.state)));
|
|
51350
51353
|
return v ? me : new rc(J, P, q.state);
|
|
@@ -51410,7 +51413,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
51410
51413
|
function oc() {
|
|
51411
51414
|
Do = !0;
|
|
51412
51415
|
}
|
|
51413
|
-
function
|
|
51416
|
+
function ns() {
|
|
51414
51417
|
tr = !0;
|
|
51415
51418
|
}
|
|
51416
51419
|
function fa(p, g, y) {
|
|
@@ -51895,7 +51898,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
51895
51898
|
}
|
|
51896
51899
|
}
|
|
51897
51900
|
var xd = null;
|
|
51898
|
-
function
|
|
51901
|
+
function xr(p, g) {
|
|
51899
51902
|
var y = Tt(p, g);
|
|
51900
51903
|
if (y.length) {
|
|
51901
51904
|
var v = Array.prototype.slice.call(arguments, 2), x;
|
|
@@ -51997,7 +52000,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
51997
52000
|
if (g.widgets)
|
|
51998
52001
|
for (var S = Vc(y), P = 0, j = g.widgets; P < j.length; ++P) {
|
|
51999
52002
|
var q = j[P], J = K("div", [q.node], "CodeMirror-linewidget" + (q.className ? " " + q.className : ""));
|
|
52000
|
-
q.handleMouseEvents || J.setAttribute("cm-ignore-events", "true"), cm(q, J, y, v), p.display.input.setUneditable(J), x && q.above ? S.insertBefore(J, y.gutter || y.text) : S.appendChild(J),
|
|
52003
|
+
q.handleMouseEvents || J.setAttribute("cm-ignore-events", "true"), cm(q, J, y, v), p.display.input.setUneditable(J), x && q.above ? S.insertBefore(J, y.gutter || y.text) : S.appendChild(J), xr(q, "redraw");
|
|
52001
52004
|
}
|
|
52002
52005
|
}
|
|
52003
52006
|
function cm(p, g, y, v) {
|
|
@@ -52037,14 +52040,14 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
52037
52040
|
var g = $(p.measure, K("pre", "x", "CodeMirror-line-like")), y = window.getComputedStyle ? window.getComputedStyle(g) : g.currentStyle, v = { left: parseInt(y.paddingLeft), right: parseInt(y.paddingRight) };
|
|
52038
52041
|
return !isNaN(v.left) && !isNaN(v.right) && (p.cachedPaddingH = v), v;
|
|
52039
52042
|
}
|
|
52040
|
-
function
|
|
52043
|
+
function rs(p) {
|
|
52041
52044
|
return gt - p.display.nativeBarWidth;
|
|
52042
52045
|
}
|
|
52043
52046
|
function Cd(p) {
|
|
52044
|
-
return p.display.scroller.clientWidth -
|
|
52047
|
+
return p.display.scroller.clientWidth - rs(p) - p.display.barWidth;
|
|
52045
52048
|
}
|
|
52046
52049
|
function W(p) {
|
|
52047
|
-
return p.display.scroller.clientHeight -
|
|
52050
|
+
return p.display.scroller.clientHeight - rs(p) - p.display.barHeight;
|
|
52048
52051
|
}
|
|
52049
52052
|
function ne(p, g, y) {
|
|
52050
52053
|
var v = p.options.lineWrapping, x = v && Cd(p);
|
|
@@ -52514,7 +52517,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
52514
52517
|
var j = y.sel.ranges[P];
|
|
52515
52518
|
if (!(j.from().line >= p.display.viewTo || j.to().line < p.display.viewFrom)) {
|
|
52516
52519
|
var q = j.empty();
|
|
52517
|
-
(q || p.options.showCursorWhenSelecting) && cn(p, j.head, x), q ||
|
|
52520
|
+
(q || p.options.showCursorWhenSelecting) && cn(p, j.head, x), q || as(p, j, S);
|
|
52518
52521
|
}
|
|
52519
52522
|
}
|
|
52520
52523
|
return v;
|
|
@@ -52533,7 +52536,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
52533
52536
|
function ra(p, g) {
|
|
52534
52537
|
return p.top - g.top || p.left - g.left;
|
|
52535
52538
|
}
|
|
52536
|
-
function
|
|
52539
|
+
function as(p, g, y) {
|
|
52537
52540
|
var v = p.display, x = p.doc, S = document.createDocumentFragment(), P = dm(p.display), j = P.left, q = Math.max(v.sizerWidth, Cd(p) - v.sizer.offsetLeft) - P.right, J = x.direction == "ltr";
|
|
52538
52541
|
function me(ci, vi, Vi, $i) {
|
|
52539
52542
|
vi < 0 && (vi = 0), vi = Math.round(vi), $i = Math.round($i), S.appendChild(K("div", null, "CodeMirror-selected", "position: absolute; left: " + ci + `px;
|
|
@@ -52545,19 +52548,19 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
52545
52548
|
function ko(oa, vl) {
|
|
52546
52549
|
return Z(p, Et(ci, oa), "div", $i, vl);
|
|
52547
52550
|
}
|
|
52548
|
-
function uc(oa, vl,
|
|
52549
|
-
var ya = Xe(p, $i, null, oa), aa = vl == "ltr" == (
|
|
52551
|
+
function uc(oa, vl, ls) {
|
|
52552
|
+
var ya = Xe(p, $i, null, oa), aa = vl == "ltr" == (ls == "after") ? "left" : "right", Po = ls == "after" ? ya.begin : ya.end - (/\s/.test($i.text.charAt(ya.end - 1)) ? 2 : 1);
|
|
52550
52553
|
return ko(Po, aa)[aa];
|
|
52551
52554
|
}
|
|
52552
52555
|
var fl = ie($i, x.direction);
|
|
52553
|
-
return wi(fl, vi || 0, Vi ?? bn, function(oa, vl,
|
|
52554
|
-
var aa =
|
|
52556
|
+
return wi(fl, vi || 0, Vi ?? bn, function(oa, vl, ls, ya) {
|
|
52557
|
+
var aa = ls == "ltr", Po = ko(oa, aa ? "left" : "right"), yl = ko(vl - 1, aa ? "right" : "left"), ov = vi == null && oa == 0, Zh = Vi == null && vl == bn, As = ya == 0, Xu = !fl || ya == fl.length - 1;
|
|
52555
52558
|
if (yl.top - Po.top <= 3) {
|
|
52556
52559
|
var qa = (J ? ov : Zh) && As, uS = (J ? Zh : ov) && Xu, Gp = qa ? j : (aa ? Po : yl).left, fm = uS ? q : (aa ? yl : Po).right;
|
|
52557
52560
|
me(Gp, Po.top, fm - Gp, Po.bottom);
|
|
52558
52561
|
} else {
|
|
52559
52562
|
var vm, Ws, av, pS;
|
|
52560
|
-
aa ? (vm = J && ov && As ? j : Po.left, Ws = J ? q : uc(oa,
|
|
52563
|
+
aa ? (vm = J && ov && As ? j : Po.left, Ws = J ? q : uc(oa, ls, "before"), av = J ? j : uc(vl, ls, "after"), pS = J && Zh && Xu ? q : yl.right) : (vm = J ? uc(oa, ls, "before") : j, Ws = !J && ov && As ? q : Po.right, av = !J && Zh && Xu ? j : yl.left, pS = J ? uc(vl, ls, "after") : q), me(vm, Po.top, Ws - vm, Po.bottom), Po.bottom < yl.top && me(j, Po.bottom, null, yl.top), me(av, yl.top, pS - av, yl.bottom);
|
|
52561
52564
|
}
|
|
52562
52565
|
(!jr || ra(Po, jr) < 0) && (jr = Po), ra(yl, jr) < 0 && (jr = yl), (!Ua || ra(Po, Ua) < 0) && (Ua = Po), ra(yl, Ua) < 0 && (Ua = yl);
|
|
52563
52566
|
}), { start: jr, end: Ua };
|
|
@@ -52581,7 +52584,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
52581
52584
|
}, p.options.cursorBlinkRate) : p.options.cursorBlinkRate < 0 && (g.cursorDiv.style.visibility = "hidden");
|
|
52582
52585
|
}
|
|
52583
52586
|
}
|
|
52584
|
-
function
|
|
52587
|
+
function ss(p) {
|
|
52585
52588
|
p.hasFocus() || (p.display.input.focus(), p.state.focused || um(p));
|
|
52586
52589
|
}
|
|
52587
52590
|
function gu(p) {
|
|
@@ -52645,7 +52648,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
52645
52648
|
if (g.top + v.top < 0 ? x = !0 : g.bottom + v.top > (window.innerHeight || document.documentElement.clientHeight) && (x = !1), x != null && !b) {
|
|
52646
52649
|
var S = K("div", "", null, `position: absolute;
|
|
52647
52650
|
top: ` + (g.top - y.viewOffset - hu(p.display)) + `px;
|
|
52648
|
-
height: ` + (g.bottom - g.top +
|
|
52651
|
+
height: ` + (g.bottom - g.top + rs(p) + y.barHeight) + `px;
|
|
52649
52652
|
left: ` + g.left + "px; width: " + Math.max(2, g.right - g.left) + "px;");
|
|
52650
52653
|
p.display.lineSpace.appendChild(S), S.scrollIntoView(x), p.display.lineSpace.removeChild(S);
|
|
52651
52654
|
}
|
|
@@ -52738,7 +52741,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
52738
52741
|
viewWidth: g.wrapper.clientWidth,
|
|
52739
52742
|
barLeft: p.options.fixedGutter ? y : 0,
|
|
52740
52743
|
docHeight: v,
|
|
52741
|
-
scrollHeight: v +
|
|
52744
|
+
scrollHeight: v + rs(p) + g.barHeight,
|
|
52742
52745
|
nativeBarWidth: g.nativeBarWidth,
|
|
52743
52746
|
gutterWidth: y
|
|
52744
52747
|
};
|
|
@@ -52881,13 +52884,13 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
52881
52884
|
}
|
|
52882
52885
|
function NX(p) {
|
|
52883
52886
|
var g = p.cm, y = g.display;
|
|
52884
|
-
p.updatedDisplay && Dx(g), p.barMeasure = mb(g), y.maxLineChanged && !g.options.lineWrapping && (p.adjustWidthTo = qe(g, y.maxLine, y.maxLine.text.length).left + 3, g.display.sizerWidth = p.adjustWidthTo, p.barMeasure.scrollWidth = Math.max(y.scroller.clientWidth, y.sizer.offsetLeft + p.adjustWidthTo +
|
|
52887
|
+
p.updatedDisplay && Dx(g), p.barMeasure = mb(g), y.maxLineChanged && !g.options.lineWrapping && (p.adjustWidthTo = qe(g, y.maxLine, y.maxLine.text.length).left + 3, g.display.sizerWidth = p.adjustWidthTo, p.barMeasure.scrollWidth = Math.max(y.scroller.clientWidth, y.sizer.offsetLeft + p.adjustWidthTo + rs(g) + g.display.barWidth), p.maxScrollLeft = Math.max(0, y.sizer.offsetLeft + p.adjustWidthTo - Cd(g))), (p.updatedDisplay || p.selectionChanged) && (p.preparedSelection = y.input.prepareSelection());
|
|
52885
52888
|
}
|
|
52886
52889
|
function LX(p) {
|
|
52887
52890
|
var g = p.cm;
|
|
52888
52891
|
p.adjustWidthTo != null && (g.display.sizer.style.minWidth = p.adjustWidthTo + "px", p.maxScrollLeft < g.doc.scrollLeft && pm(g, Math.min(g.display.scroller.scrollLeft, p.maxScrollLeft), !0), g.display.maxLineChanged = !1);
|
|
52889
52892
|
var y = p.focus && p.focus == re();
|
|
52890
|
-
p.preparedSelection && g.display.input.showSelection(p.preparedSelection, y), (p.updatedDisplay || p.startHeight != g.doc.height) && Yf(g, p.barMeasure), p.updatedDisplay && K3(g, p.barMeasure), p.selectionChanged && Wh(g), g.state.focused && p.updateInput && g.display.input.reset(p.typing), y &&
|
|
52893
|
+
p.preparedSelection && g.display.input.showSelection(p.preparedSelection, y), (p.updatedDisplay || p.startHeight != g.doc.height) && Yf(g, p.barMeasure), p.updatedDisplay && K3(g, p.barMeasure), p.selectionChanged && Wh(g), g.state.focused && p.updateInput && g.display.input.reset(p.typing), y && ss(p.cm);
|
|
52891
52894
|
}
|
|
52892
52895
|
function RX(p) {
|
|
52893
52896
|
var g = p.cm, y = g.display, v = g.doc;
|
|
@@ -52962,7 +52965,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
52962
52965
|
function BX(p) {
|
|
52963
52966
|
var g = p.doc;
|
|
52964
52967
|
if (!(g.highlightFrontier >= p.display.viewTo)) {
|
|
52965
|
-
var y = +/* @__PURE__ */ new Date() + p.options.workTime, v =
|
|
52968
|
+
var y = +/* @__PURE__ */ new Date() + p.options.workTime, v = is(p, g.highlightFrontier), x = [];
|
|
52966
52969
|
g.iter(v.line, Math.min(g.first + g.size, p.display.viewTo + 500), function(S) {
|
|
52967
52970
|
if (v.line >= p.display.viewFrom) {
|
|
52968
52971
|
var P = S.styles, j = S.text.length > p.options.maxHighlightLength ? Qr(g.mode, v.state) : null, q = ma(p, S, v, !0);
|
|
@@ -52994,7 +52997,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
52994
52997
|
};
|
|
52995
52998
|
function $X(p) {
|
|
52996
52999
|
var g = p.display;
|
|
52997
|
-
!g.scrollbarsClipped && g.scroller.offsetWidth && (g.nativeBarWidth = g.scroller.offsetWidth - g.scroller.clientWidth, g.heightForcer.style.height =
|
|
53000
|
+
!g.scrollbarsClipped && g.scroller.offsetWidth && (g.nativeBarWidth = g.scroller.offsetWidth - g.scroller.clientWidth, g.heightForcer.style.height = rs(p) + "px", g.sizer.style.marginBottom = -g.nativeBarWidth + "px", g.sizer.style.borderRightWidth = rs(p) + "px", g.scrollbarsClipped = !0);
|
|
52998
53001
|
}
|
|
52999
53002
|
function FX(p) {
|
|
53000
53003
|
if (p.hasFocus())
|
|
@@ -53078,10 +53081,10 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
53078
53081
|
}
|
|
53079
53082
|
function G3(p) {
|
|
53080
53083
|
var g = p.gutters.offsetWidth;
|
|
53081
|
-
p.sizer.style.marginLeft = g + "px",
|
|
53084
|
+
p.sizer.style.marginLeft = g + "px", xr(p, "gutterChanged", p);
|
|
53082
53085
|
}
|
|
53083
53086
|
function K3(p, g) {
|
|
53084
|
-
p.display.sizer.style.minHeight = g.docHeight + "px", p.display.heightForcer.style.top = g.docHeight + "px", p.display.gutters.style.height = g.docHeight + p.display.barHeight +
|
|
53087
|
+
p.display.sizer.style.minHeight = g.docHeight + "px", p.display.heightForcer.style.top = g.docHeight + "px", p.display.gutters.style.height = g.docHeight + p.display.barHeight + rs(p) + "px";
|
|
53085
53088
|
}
|
|
53086
53089
|
function X7(p) {
|
|
53087
53090
|
var g = p.display, y = g.view;
|
|
@@ -53298,7 +53301,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
53298
53301
|
return y ? y[gi] : null;
|
|
53299
53302
|
}
|
|
53300
53303
|
function S(gi, ci, vi) {
|
|
53301
|
-
zp(gi, ci, vi, v),
|
|
53304
|
+
zp(gi, ci, vi, v), xr(gi, "change", gi, g);
|
|
53302
53305
|
}
|
|
53303
53306
|
function P(gi, ci) {
|
|
53304
53307
|
for (var vi = [], Vi = gi; Vi < ci; ++Vi)
|
|
@@ -53325,7 +53328,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
53325
53328
|
var li = P(1, J.length - 1);
|
|
53326
53329
|
ft > 1 && p.remove(j.line + 1, ft - 1), p.insert(j.line + 1, li);
|
|
53327
53330
|
}
|
|
53328
|
-
|
|
53331
|
+
xr(p, "change", p, g);
|
|
53329
53332
|
}
|
|
53330
53333
|
function Yh(p, g, y) {
|
|
53331
53334
|
function v(x, S, P) {
|
|
@@ -53520,7 +53523,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
53520
53523
|
hD(p, mD(p, g, v, !0)), !(y && y.scroll === !1) && p.cm && p.cm.getOption("readOnly") != "nocursor" && Kf(p.cm);
|
|
53521
53524
|
}
|
|
53522
53525
|
function hD(p, g) {
|
|
53523
|
-
g.equals(p.sel) || (p.sel = g, p.cm && (p.cm.curOp.updateInput = 1, p.cm.curOp.selectionChanged = !0, mi(p.cm)),
|
|
53526
|
+
g.equals(p.sel) || (p.sel = g, p.cm && (p.cm.curOp.updateInput = 1, p.cm.curOp.selectionChanged = !0, mi(p.cm)), xr(p, "cursorActivity", p));
|
|
53524
53527
|
}
|
|
53525
53528
|
function gD(p) {
|
|
53526
53529
|
hD(p, mD(p, p.sel, null, !1));
|
|
@@ -53704,7 +53707,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
53704
53707
|
removed: g.removed,
|
|
53705
53708
|
origin: g.origin
|
|
53706
53709
|
};
|
|
53707
|
-
ke &&
|
|
53710
|
+
ke && xr(p, "change", p, We), me && (p.curOp.changeObjs || (p.curOp.changeObjs = [])).push(We);
|
|
53708
53711
|
}
|
|
53709
53712
|
p.display.selForContextMenu = null;
|
|
53710
53713
|
}
|
|
@@ -53758,7 +53761,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
53758
53761
|
removeInner: function(p, g) {
|
|
53759
53762
|
for (var y = p, v = p + g; y < v; ++y) {
|
|
53760
53763
|
var x = this.lines[y];
|
|
53761
|
-
this.height -= x.height, du(x),
|
|
53764
|
+
this.height -= x.height, du(x), xr(x, "delete");
|
|
53762
53765
|
}
|
|
53763
53766
|
this.lines.splice(p, g);
|
|
53764
53767
|
},
|
|
@@ -53879,14 +53882,14 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
53879
53882
|
var S = Yu(this);
|
|
53880
53883
|
wo(y, Math.max(0, y.height - S)), p && (dc(p, function() {
|
|
53881
53884
|
CD(p, y, -S), si(p, v, "widget");
|
|
53882
|
-
}),
|
|
53885
|
+
}), xr(p, "lineWidgetCleared", p, this, v));
|
|
53883
53886
|
}
|
|
53884
53887
|
}, Cb.prototype.changed = function() {
|
|
53885
53888
|
var p = this, g = this.height, y = this.doc.cm, v = this.line;
|
|
53886
53889
|
this.height = null;
|
|
53887
53890
|
var x = Yu(this) - g;
|
|
53888
53891
|
x && (Ts(this.doc, v) || wo(v, v.height + x), y && dc(y, function() {
|
|
53889
|
-
y.curOp.forceUpdate = !0, CD(y, v, x),
|
|
53892
|
+
y.curOp.forceUpdate = !0, CD(y, v, x), xr(y, "lineWidgetChanged", y, p, Qi(v));
|
|
53890
53893
|
}));
|
|
53891
53894
|
}, Ot(Cb);
|
|
53892
53895
|
function CD(p, g, y) {
|
|
@@ -53901,7 +53904,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
53901
53904
|
wo(P, P.height + Yu(x)), q && U3(S, x.height), S.curOp.forceUpdate = !0;
|
|
53902
53905
|
}
|
|
53903
53906
|
return !0;
|
|
53904
|
-
}), S &&
|
|
53907
|
+
}), S && xr(S, "lineWidgetAdded", S, x, typeof g == "number" ? g : Qi(g)), x;
|
|
53905
53908
|
}
|
|
53906
53909
|
var SD = 0, Xh = function(p, g) {
|
|
53907
53910
|
this.lines = [], this.type = g, this.doc = p, this.id = ++SD;
|
|
@@ -53911,7 +53914,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
53911
53914
|
var p = this.doc.cm, g = p && !p.curOp;
|
|
53912
53915
|
if (g && gm(p), Gi(this, "clear")) {
|
|
53913
53916
|
var y = this.find();
|
|
53914
|
-
y &&
|
|
53917
|
+
y && xr(this, "clear", y.from, y.to);
|
|
53915
53918
|
}
|
|
53916
53919
|
for (var v = null, x = null, S = 0; S < this.lines.length; ++S) {
|
|
53917
53920
|
var P = this.lines[S], j = $a(P.markedSpans, this);
|
|
@@ -53922,7 +53925,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
53922
53925
|
var J = Ur(this.lines[q]), me = Hc(J);
|
|
53923
53926
|
me > p.display.maxLineLength && (p.display.maxLine = J, p.display.maxLineLength = me, p.display.maxLineChanged = !0);
|
|
53924
53927
|
}
|
|
53925
|
-
v != null && p && this.collapsed && Mt(p, v, x + 1), this.lines.length = 0, this.explicitlyCleared = !0, this.atomic && this.doc.cantEdit && (this.doc.cantEdit = !1, p && gD(p.doc)), p &&
|
|
53928
|
+
v != null && p && this.collapsed && Mt(p, v, x + 1), this.lines.length = 0, this.explicitlyCleared = !0, this.atomic && this.doc.cantEdit && (this.doc.cantEdit = !1, p && gD(p.doc)), p && xr(p, "markerCleared", p, this, v, x), g && mm(p), this.parent && this.parent.clear();
|
|
53926
53929
|
}
|
|
53927
53930
|
}, Xh.prototype.find = function(p, g) {
|
|
53928
53931
|
p == null && this.type == "bookmark" && (p = 1);
|
|
@@ -53944,7 +53947,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
53944
53947
|
var q = Yu(y) - j;
|
|
53945
53948
|
q && wo(x, x.height + q);
|
|
53946
53949
|
}
|
|
53947
|
-
|
|
53950
|
+
xr(v, "markerChanged", v, p);
|
|
53948
53951
|
});
|
|
53949
53952
|
}, Xh.prototype.attachLine = function(p) {
|
|
53950
53953
|
if (!this.lines.length && this.doc.cm) {
|
|
@@ -53969,7 +53972,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
53969
53972
|
if (S.replacedWith && (S.collapsed = !0, S.widgetNode = B("span", [S.replacedWith], "CodeMirror-widget"), v.handleMouseEvents || S.widgetNode.setAttribute("cm-ignore-events", "true"), v.insertLeft && (S.widgetNode.insertLeft = !0)), S.collapsed) {
|
|
53970
53973
|
if (Bi(p, g.line, g, y, S) || g.line != y.line && Bi(p, y.line, g, y, S))
|
|
53971
53974
|
throw new Error("Inserting collapsed marker partially overlapping an existing one");
|
|
53972
|
-
|
|
53975
|
+
ns();
|
|
53973
53976
|
}
|
|
53974
53977
|
S.addToHistory && sD(p, { from: g, to: y, origin: "markText" }, p.sel, NaN);
|
|
53975
53978
|
var j = g.line, q = p.cm, J;
|
|
@@ -53989,7 +53992,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
53989
53992
|
else if (S.className || S.startStyle || S.endStyle || S.css || S.attributes || S.title)
|
|
53990
53993
|
for (var me = g.line; me <= y.line; me++)
|
|
53991
53994
|
si(q, me, "text");
|
|
53992
|
-
S.atomic && gD(q.doc),
|
|
53995
|
+
S.atomic && gD(q.doc), xr(q, "markerAdded", q, S);
|
|
53993
53996
|
}
|
|
53994
53997
|
return S;
|
|
53995
53998
|
}
|
|
@@ -54003,7 +54006,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
54003
54006
|
this.explicitlyCleared = !0;
|
|
54004
54007
|
for (var p = 0; p < this.markers.length; ++p)
|
|
54005
54008
|
this.markers[p].clear();
|
|
54006
|
-
|
|
54009
|
+
xr(this, "clear");
|
|
54007
54010
|
}
|
|
54008
54011
|
}, Sb.prototype.find = function(p, g) {
|
|
54009
54012
|
return this.primary.find(p, g);
|
|
@@ -55134,7 +55137,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
55134
55137
|
}
|
|
55135
55138
|
function RD(p, g, y, v) {
|
|
55136
55139
|
var x = gJ(p, g, v);
|
|
55137
|
-
return x == "multi" && (p.state.keySeq = g), x == "handled" &&
|
|
55140
|
+
return x == "multi" && (p.state.keySeq = g), x == "handled" && xr(p, "keyHandled", p, g, y), (x == "handled" || x == "multi") && (on(y), Wh(p)), !!x;
|
|
55138
55141
|
}
|
|
55139
55142
|
function BD(p, g) {
|
|
55140
55143
|
var y = PD(g, !0);
|
|
@@ -55239,7 +55242,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
55239
55242
|
return (x.extend == null || p.doc.extend) && (x.extend = p.doc.extend || y.shiftKey), x.addNew == null && (x.addNew = C ? y.metaKey : y.ctrlKey), x.moveOnDrag == null && (x.moveOnDrag = !(C ? y.altKey : y.ctrlKey)), x;
|
|
55240
55243
|
}
|
|
55241
55244
|
function kJ(p, g, y, v) {
|
|
55242
|
-
s ? setTimeout(Me(
|
|
55245
|
+
s ? setTimeout(Me(ss, p), 0) : p.curOp.focus = re();
|
|
55243
55246
|
var x = xJ(p, y, v), S = p.doc.sel, P;
|
|
55244
55247
|
p.options.dragDrop && wt && !p.isReadOnly() && y == "single" && (P = S.contains(g)) > -1 && (Mi((P = S.ranges[P]).from(), g) < 0 || g.xRel > 0) && (Mi(P.to(), g) > 0 || g.xRel < 0) ? _J(p, v, g, x) : CJ(p, v, g, x);
|
|
55245
55248
|
}
|
|
@@ -55301,8 +55304,8 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
55301
55304
|
{ origin: "*mouse", scroll: !1 }
|
|
55302
55305
|
), p.scrollIntoView(ci);
|
|
55303
55306
|
} else {
|
|
55304
|
-
var vl = P,
|
|
55305
|
-
Mi(
|
|
55307
|
+
var vl = P, ls = HD(p, ci, v.unit), ya = vl.anchor, aa;
|
|
55308
|
+
Mi(ls.anchor, ya) > 0 ? (aa = ls.head, ya = mt(vl.from(), ls.anchor)) : (aa = ls.anchor, ya = ue(vl.to(), ls.head));
|
|
55306
55309
|
var Po = q.ranges.slice(0);
|
|
55307
55310
|
Po[j] = SJ(p, new mr(It(S, ya), aa)), Es(S, mu(p, Po, j), Ke);
|
|
55308
55311
|
}
|
|
@@ -55618,7 +55621,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
55618
55621
|
};
|
|
55619
55622
|
function Mb(p, g, y, v) {
|
|
55620
55623
|
var x = p.doc, S;
|
|
55621
|
-
y == null && (y = "add"), y == "smart" && (x.mode.indent ? S =
|
|
55624
|
+
y == null && (y = "add"), y == "smart" && (x.mode.indent ? S = is(p, g).state : y = "prev");
|
|
55622
55625
|
var P = p.options.tabSize, j = Bt(x, g), q = Ie(j.text, null, P);
|
|
55623
55626
|
j.stateAfter && (j.stateAfter = null);
|
|
55624
55627
|
var J = j.text.match(/^\s*/)[0], me;
|
|
@@ -55675,7 +55678,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
55675
55678
|
text: J ? J[We % J.length] : q,
|
|
55676
55679
|
origin: x || (j ? "paste" : p.state.cutIncoming > P ? "cut" : "+input")
|
|
55677
55680
|
};
|
|
55678
|
-
Zf(p.doc, jt),
|
|
55681
|
+
Zf(p.doc, jt), xr(p, "inputRead", p, jt);
|
|
55679
55682
|
}
|
|
55680
55683
|
g && !j && KD(p, g), Kf(p), p.curOp.updateInput < 2 && (p.curOp.updateInput = ke), p.curOp.typing = !0, p.state.pasteIncoming = p.state.cutIncoming = -1;
|
|
55681
55684
|
}
|
|
@@ -55699,7 +55702,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
55699
55702
|
break;
|
|
55700
55703
|
}
|
|
55701
55704
|
} else S.electricInput && S.electricInput.test(Bt(p.doc, x.head.line).text.slice(0, x.head.ch)) && (P = Mb(p, x.head.line, "smart"));
|
|
55702
|
-
P &&
|
|
55705
|
+
P && xr(p, "electricInput", p, x.head.line);
|
|
55703
55706
|
}
|
|
55704
55707
|
}
|
|
55705
55708
|
}
|
|
@@ -55842,7 +55845,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
55842
55845
|
},
|
|
55843
55846
|
getStateAfter: function(v, x) {
|
|
55844
55847
|
var S = this.doc;
|
|
55845
|
-
return v = Dt(S, v ?? S.first + S.size - 1),
|
|
55848
|
+
return v = Dt(S, v ?? S.first + S.size - 1), is(this, v + 1, x).state;
|
|
55846
55849
|
},
|
|
55847
55850
|
cursorCoords: function(v, x) {
|
|
55848
55851
|
var S, P = this.doc.sel.primary();
|
|
@@ -55977,8 +55980,8 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
55977
55980
|
return {
|
|
55978
55981
|
left: v.scrollLeft,
|
|
55979
55982
|
top: v.scrollTop,
|
|
55980
|
-
height: v.scrollHeight -
|
|
55981
|
-
width: v.scrollWidth -
|
|
55983
|
+
height: v.scrollHeight - rs(this) - this.display.barHeight,
|
|
55984
|
+
width: v.scrollWidth - rs(this) - this.display.barWidth,
|
|
55982
55985
|
clientHeight: W(this),
|
|
55983
55986
|
clientWidth: Cd(this)
|
|
55984
55987
|
};
|
|
@@ -56018,7 +56021,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
56018
56021
|
}),
|
|
56019
56022
|
swapDoc: qs(function(v) {
|
|
56020
56023
|
var x = this.doc;
|
|
56021
|
-
return x.cm = null, this.state.selectingText && this.state.selectingText(), rD(this, v), cc(this), this.display.input.reset(), hb(this, v.scrollLeft, v.scrollTop), this.curOp.forceScroll = !0,
|
|
56024
|
+
return x.cm = null, this.state.selectingText && this.state.selectingText(), rD(this, v), cc(this), this.display.input.reset(), hb(this, v.scrollLeft, v.scrollTop), this.curOp.forceScroll = !0, xr(this, "swapDoc", this, x), x;
|
|
56022
56025
|
}),
|
|
56023
56026
|
phrase: function(v) {
|
|
56024
56027
|
var x = this.options.phrases;
|
|
@@ -56642,7 +56645,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
56642
56645
|
return j;
|
|
56643
56646
|
}
|
|
56644
56647
|
function RJ(p) {
|
|
56645
|
-
p.off = Xt, p.on = je, p.wheelEventPixels = VX, p.Doc = ml, p.splitLines = Zi, p.countColumn = Ie, p.findColumn = vt, p.isWordChar = ye, p.Pass = et, p.signal = pt, p.Line = Uo, p.changeEnd = Kh, p.scrollbarModel = G7, p.Pos = Et, p.cmpPos = Mi, p.modes = ta, p.mimeModes = $n, p.resolveMode = Dr, p.getMode = Ii, p.modeExtensions = Ra, p.extendMode = Zr, p.copyState = Qr, p.startState = ia, p.innerMode =
|
|
56648
|
+
p.off = Xt, p.on = je, p.wheelEventPixels = VX, p.Doc = ml, p.splitLines = Zi, p.countColumn = Ie, p.findColumn = vt, p.isWordChar = ye, p.Pass = et, p.signal = pt, p.Line = Uo, p.changeEnd = Kh, p.scrollbarModel = G7, p.Pos = Et, p.cmpPos = Mi, p.modes = ta, p.mimeModes = $n, p.resolveMode = Dr, p.getMode = Ii, p.modeExtensions = Ra, p.extendMode = Zr, p.copyState = Qr, p.startState = ia, p.innerMode = wr, p.commands = Ab, p.keyMap = Wp, p.keyName = PD, p.isModifierKey = ID, p.lookupKey = tv, p.normalizeKeyMap = uJ, p.StringStream = An, p.SharedTextMarker = Sb, p.TextMarker = Xh, p.LineWidget = Cb, p.e_preventDefault = on, p.e_stopPropagation = Or, p.e_stop = ae, p.addClass = ce, p.contains = N, p.rmClass = X, p.keyNames = Jh;
|
|
56646
56649
|
}
|
|
56647
56650
|
EJ(so), IJ(so);
|
|
56648
56651
|
var BJ = "iter insert remove copy getEditor constructor".split(" ");
|
|
@@ -58922,22 +58925,22 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
58922
58925
|
if (ue == "<") return N(et(">"), ie(wt, ">"), it, Qr);
|
|
58923
58926
|
if (ue == "extends" || ue == "implements" || u && te == ",")
|
|
58924
58927
|
return ue == "implements" && (B.marked = "keyword"), N(u ? mi : de, Qr);
|
|
58925
|
-
if (te == "{") return N(et("}"),
|
|
58928
|
+
if (te == "{") return N(et("}"), wr, it);
|
|
58926
58929
|
}
|
|
58927
|
-
function
|
|
58930
|
+
function wr(te, ue) {
|
|
58928
58931
|
if (te == "async" || te == "variable" && (ue == "static" || ue == "get" || ue == "set" || u && ve(ue)) && B.stream.match(/^\s+[\w$\xa1-\uffff]/, !1))
|
|
58929
|
-
return B.marked = "keyword", N(
|
|
58932
|
+
return B.marked = "keyword", N(wr);
|
|
58930
58933
|
if (te == "variable" || B.style == "keyword")
|
|
58931
|
-
return B.marked = "property", N(ia,
|
|
58932
|
-
if (te == "number" || te == "string") return N(ia,
|
|
58934
|
+
return B.marked = "property", N(ia, wr);
|
|
58935
|
+
if (te == "number" || te == "string") return N(ia, wr);
|
|
58933
58936
|
if (te == "[")
|
|
58934
|
-
return N(de, Tt, Ke("]"), ia,
|
|
58937
|
+
return N(de, Tt, Ke("]"), ia, wr);
|
|
58935
58938
|
if (ue == "*")
|
|
58936
|
-
return B.marked = "keyword", N(
|
|
58937
|
-
if (u && te == "(") return Y(nn,
|
|
58938
|
-
if (te == ";" || te == ",") return N(
|
|
58939
|
+
return B.marked = "keyword", N(wr);
|
|
58940
|
+
if (u && te == "(") return Y(nn, wr);
|
|
58941
|
+
if (te == ";" || te == ",") return N(wr);
|
|
58939
58942
|
if (te == "}") return N();
|
|
58940
|
-
if (ue == "@") return N(de,
|
|
58943
|
+
if (ue == "@") return N(de, wr);
|
|
58941
58944
|
}
|
|
58942
58945
|
function ia(te, ue) {
|
|
58943
58946
|
if (ue == "!" || ue == "?") return N(ia);
|
|
@@ -63744,7 +63747,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
63744
63747
|
),
|
|
63745
63748
|
get: () => (
|
|
63746
63749
|
/* reexport */
|
|
63747
|
-
|
|
63750
|
+
wr
|
|
63748
63751
|
),
|
|
63749
63752
|
groupBy: () => (
|
|
63750
63753
|
/* reexport */
|
|
@@ -63780,7 +63783,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
63780
63783
|
),
|
|
63781
63784
|
initial: () => (
|
|
63782
63785
|
/* reexport */
|
|
63783
|
-
|
|
63786
|
+
xr
|
|
63784
63787
|
),
|
|
63785
63788
|
inject: () => (
|
|
63786
63789
|
/* reexport */
|
|
@@ -63940,7 +63943,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
63940
63943
|
),
|
|
63941
63944
|
memoize: () => (
|
|
63942
63945
|
/* reexport */
|
|
63943
|
-
|
|
63946
|
+
ns
|
|
63944
63947
|
),
|
|
63945
63948
|
methods: () => (
|
|
63946
63949
|
/* reexport */
|
|
@@ -64197,7 +64200,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
64197
64200
|
foldr: () => Ts,
|
|
64198
64201
|
forEach: () => Mo,
|
|
64199
64202
|
functions: () => an,
|
|
64200
|
-
get: () =>
|
|
64203
|
+
get: () => wr,
|
|
64201
64204
|
groupBy: () => Hh,
|
|
64202
64205
|
has: () => ia,
|
|
64203
64206
|
head: () => kd,
|
|
@@ -64206,7 +64209,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
64206
64209
|
includes: () => Uo,
|
|
64207
64210
|
indexBy: () => qo,
|
|
64208
64211
|
indexOf: () => Ei,
|
|
64209
|
-
initial: () =>
|
|
64212
|
+
initial: () => xr,
|
|
64210
64213
|
inject: () => ja,
|
|
64211
64214
|
intersection: () => qh,
|
|
64212
64215
|
invert: () => Zi,
|
|
@@ -64246,7 +64249,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
64246
64249
|
matcher: () => Bt,
|
|
64247
64250
|
matches: () => Bt,
|
|
64248
64251
|
max: () => Fh,
|
|
64249
|
-
memoize: () =>
|
|
64252
|
+
memoize: () => ns,
|
|
64250
64253
|
methods: () => an,
|
|
64251
64254
|
min: () => om,
|
|
64252
64255
|
mixin: () => Vp,
|
|
@@ -64605,7 +64608,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
64605
64608
|
}
|
|
64606
64609
|
return xe ? W : void 0;
|
|
64607
64610
|
}
|
|
64608
|
-
function
|
|
64611
|
+
function wr(W, ne, xe) {
|
|
64609
64612
|
var Te = Qr(W, Zr(ne));
|
|
64610
64613
|
return F(Te) ? xe : Te;
|
|
64611
64614
|
}
|
|
@@ -64674,7 +64677,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
64674
64677
|
}
|
|
64675
64678
|
function Et(W) {
|
|
64676
64679
|
return W == null ? Ba : function(ne) {
|
|
64677
|
-
return
|
|
64680
|
+
return wr(W, ne);
|
|
64678
64681
|
};
|
|
64679
64682
|
}
|
|
64680
64683
|
function Mi(W, ne, xe) {
|
|
@@ -64720,7 +64723,7 @@ b`.split(/\n/).length != 3 ? function(p) {
|
|
|
64720
64723
|
function ic(W) {
|
|
64721
64724
|
return "\\" + Cn[W];
|
|
64722
64725
|
}
|
|
64723
|
-
var
|
|
64726
|
+
var is = /^\s*(\w|\$)+\s*$/;
|
|
64724
64727
|
function nc(W, ne, xe) {
|
|
64725
64728
|
!ne && xe && (ne = xe), ne = ta({}, ne, ie.templateSettings);
|
|
64726
64729
|
var Te = RegExp([
|
|
@@ -64740,7 +64743,7 @@ __p+='`), Yi;
|
|
|
64740
64743
|
`;
|
|
64741
64744
|
var ct = ne.variable;
|
|
64742
64745
|
if (ct) {
|
|
64743
|
-
if (!
|
|
64746
|
+
if (!is.test(ct)) throw new Error(
|
|
64744
64747
|
"variable is not a bare identifier: " + ct
|
|
64745
64748
|
);
|
|
64746
64749
|
} else
|
|
@@ -64830,7 +64833,7 @@ __p+='`), Yi;
|
|
|
64830
64833
|
}
|
|
64831
64834
|
return W;
|
|
64832
64835
|
});
|
|
64833
|
-
function
|
|
64836
|
+
function ns(W, ne) {
|
|
64834
64837
|
var xe = function(Te) {
|
|
64835
64838
|
var qe = xe.cache, Le = "" + (ne ? ne.apply(this, arguments) : Te);
|
|
64836
64839
|
return de(qe, Le) || (qe[Le] = W.apply(this, arguments)), qe[Le];
|
|
@@ -65119,11 +65122,11 @@ __p+='`), Yi;
|
|
|
65119
65122
|
return !Uo(ne, Le);
|
|
65120
65123
|
}), Gu(W, xe, Te);
|
|
65121
65124
|
});
|
|
65122
|
-
function
|
|
65125
|
+
function xr(W, ne, xe) {
|
|
65123
65126
|
return d.call(W, 0, Math.max(0, W.length - (ne == null || xe ? 1 : ne)));
|
|
65124
65127
|
}
|
|
65125
65128
|
function kd(W, ne, xe) {
|
|
65126
|
-
return W == null || W.length < 1 ? ne == null || xe ? void 0 : [] : ne == null || xe ? W[0] :
|
|
65129
|
+
return W == null || W.length < 1 ? ne == null || xe ? void 0 : [] : ne == null || xe ? W[0] : xr(W, W.length - ne);
|
|
65127
65130
|
}
|
|
65128
65131
|
function lc(W, ne, xe) {
|
|
65129
65132
|
return d.call(W, ne == null || xe ? 1 : ne);
|
|
@@ -65216,9 +65219,9 @@ __p+='`), Yi;
|
|
|
65216
65219
|
};
|
|
65217
65220
|
});
|
|
65218
65221
|
const dm = ie;
|
|
65219
|
-
var
|
|
65220
|
-
|
|
65221
|
-
const Cd =
|
|
65222
|
+
var rs = Vp(n);
|
|
65223
|
+
rs._ = rs;
|
|
65224
|
+
const Cd = rs;
|
|
65222
65225
|
}
|
|
65223
65226
|
)
|
|
65224
65227
|
/******/
|
|
@@ -74377,14 +74380,14 @@ var ETt = /* @__PURE__ */ function() {
|
|
|
74377
74380
|
}
|
|
74378
74381
|
e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
|
|
74379
74382
|
};
|
|
74380
|
-
}(),
|
|
74381
|
-
return
|
|
74383
|
+
}(), cs = function() {
|
|
74384
|
+
return cs = Object.assign || function(i) {
|
|
74382
74385
|
for (var e, t = 1, n = arguments.length; t < n; t++) {
|
|
74383
74386
|
e = arguments[t];
|
|
74384
74387
|
for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && (i[r] = e[r]);
|
|
74385
74388
|
}
|
|
74386
74389
|
return i;
|
|
74387
|
-
},
|
|
74390
|
+
}, cs.apply(this, arguments);
|
|
74388
74391
|
}, ATt = function(i, e) {
|
|
74389
74392
|
var t = {};
|
|
74390
74393
|
for (var n in i) Object.prototype.hasOwnProperty.call(i, n) && e.indexOf(n) < 0 && (t[n] = i[n]);
|
|
@@ -74612,23 +74615,23 @@ var DTt = (
|
|
|
74612
74615
|
var H = { defaults: a.defaults };
|
|
74613
74616
|
delete a.defaults;
|
|
74614
74617
|
var L = new Set(I.typeExtends);
|
|
74615
|
-
L.add(I.getDefaults().type), n.model = I.extend(
|
|
74618
|
+
L.add(I.getDefaults().type), n.model = I.extend(cs(cs({}, a), V(m, a, I)), {
|
|
74616
74619
|
typeExtends: L,
|
|
74617
74620
|
isComponent: k && !E && !c ? I.isComponent : c || function() {
|
|
74618
74621
|
return 0;
|
|
74619
74622
|
}
|
|
74620
74623
|
}), Object.defineProperty(n.model.prototype, "defaults", {
|
|
74621
74624
|
get: function() {
|
|
74622
|
-
return
|
|
74625
|
+
return cs(cs({}, (0, Q.result)(I.prototype, "defaults") || {}), (0, Q.result)(H, "defaults") || {});
|
|
74623
74626
|
}
|
|
74624
74627
|
});
|
|
74625
74628
|
}
|
|
74626
|
-
if (typeof l == "object" && (n.view = z.extend(
|
|
74629
|
+
if (typeof l == "object" && (n.view = z.extend(cs(cs({}, l), V(b, l, z)))), k ? (k.model = n.model, k.view = n.view) : (n.id = t, this.componentTypes.unshift(n)), w) {
|
|
74627
74630
|
var X = {
|
|
74628
74631
|
id: t,
|
|
74629
74632
|
label: t,
|
|
74630
74633
|
content: { type: t }
|
|
74631
|
-
}, F = w === !0 ? X :
|
|
74634
|
+
}, F = w === !0 ? X : cs(cs({}, X), w);
|
|
74632
74635
|
r.Blocks.add(F.id || t, F);
|
|
74633
74636
|
}
|
|
74634
74637
|
var $ = "component:type:".concat(k ? "update" : "add");
|
|
@@ -74719,7 +74722,7 @@ var DTt = (
|
|
|
74719
74722
|
if (Ap(t) && n instanceof Fo && Ap(n)) {
|
|
74720
74723
|
var a = Lw(t), s = Wm(a) ? a : Wd(a), l = Lw(n), c = Wm(l) ? l : Wd(l), d = s === c, u = a !== l;
|
|
74721
74724
|
if (d && u)
|
|
74722
|
-
return
|
|
74725
|
+
return cs(cs({}, o), { reason: Kv.TargetReject });
|
|
74723
74726
|
}
|
|
74724
74727
|
var h = (0, xt.isComponent)(n) ? n : null;
|
|
74725
74728
|
if (!h) {
|
|
@@ -74736,7 +74739,7 @@ var DTt = (
|
|
|
74736
74739
|
f = (0, Q.isArray)(f) ? f.join(",") : f, f = (0, Q.isString)(f) ? b?.matches(f) : f;
|
|
74737
74740
|
}
|
|
74738
74741
|
if (!f)
|
|
74739
|
-
return
|
|
74742
|
+
return cs(cs({}, o), { reason: Kv.SourceReject });
|
|
74740
74743
|
var w = t.get("droppable");
|
|
74741
74744
|
if ((0, Q.isFunction)(w))
|
|
74742
74745
|
w = !!w(h, t, r);
|
|
@@ -74747,7 +74750,7 @@ var DTt = (
|
|
|
74747
74750
|
w = (0, Q.isArray)(w) ? w.join(",") : w, w = (0, Q.isString)(w) ? b?.matches(w) : w;
|
|
74748
74751
|
}
|
|
74749
74752
|
var k = [t].concat(t.parents()).indexOf(h) > -1;
|
|
74750
|
-
return !w || k ?
|
|
74753
|
+
return !w || k ? cs(cs({}, o), { reason: Kv.TargetReject }) : cs(cs({}, o), { result: !0 });
|
|
74751
74754
|
}, e.prototype.allById = function() {
|
|
74752
74755
|
return this.componentsById;
|
|
74753
74756
|
}, e.prototype.getById = function(t) {
|
|
@@ -77788,7 +77791,7 @@ function uAt(i, e) {
|
|
|
77788
77791
|
function u(le, Oe) {
|
|
77789
77792
|
var ie = d(Oe, le), yt = ie.flat, je = ie.showSelectionPalette, Tt = ie.localStorageKey, Xt = ie.theme, pt = ie.callbacks, Rt = k(Vo, 10), mi = !1, Gi = !1, Ot = !0, on = 0, Or = 0, Jr = 0, ae = 0, Ce = 0, $e = 0, wt = 0, Nt = 0, _i = 0, qi = 0, sr = 1, Zi = [], an = [], ks = {}, lr = ie.selectionPalette.slice(0), Oo = ie.maxSelectionSize, ta = "sp-dragging", $n = null, cr = le.ownerDocument;
|
|
77790
77793
|
cr.body;
|
|
77791
|
-
var nn = i(le), Dr = !1, Ii = i(s, cr).addClass(Xt), Ra = Ii.find(".sp-picker-container"), Zr = Ii.find(".sp-color"), Qr = Ii.find(".sp-dragger"),
|
|
77794
|
+
var nn = i(le), Dr = !1, Ii = i(s, cr).addClass(Xt), Ra = Ii.find(".sp-picker-container"), Zr = Ii.find(".sp-color"), Qr = Ii.find(".sp-dragger"), wr = Ii.find(".sp-hue"), ia = Ii.find(".sp-slider"), An = Ii.find(".sp-alpha-inner"), Bt = Ii.find(".sp-alpha"), Sr = Ii.find(".sp-alpha-handle"), jn = Ii.find(".sp-input"), wo = Ii.find(".sp-palette"), Qi = Ii.find(".sp-initial"), qn = Ii.find(".sp-cancel"), ha = Ii.find(".sp-clear"), Ba = Ii.find(".sp-choose"), Et = Ii.find(".sp-palette-toggle"), Mi = nn.is("input"), ga = Mi && nn.attr("type") === "color" && E(), te = Mi && !yt, ue = te ? i(a).addClass(Xt).addClass(ie.className).addClass(ie.replacerClassName) : i([]), mt = te ? ue : nn, Dt = ue.find(".sp-preview-inner"), It = ie.color || Mi && nn.val(), fi = !1, en = ie.preferredFormat, Jn = !ie.showButtons || ie.clickoutFiresChange, Cn = !It, ma = ie.allowEmpty && !ga;
|
|
77792
77795
|
function ic() {
|
|
77793
77796
|
if (ie.showPaletteOnly && (ie.showPalette = !0), Et.text(ie.showPaletteOnly ? ie.togglePaletteMoreText : ie.togglePaletteLessText), ie.palette) {
|
|
77794
77797
|
Zi = ie.palette.slice(0), an = i.isArray(Zi[0]) ? Zi : [Zi], ks = {};
|
|
@@ -77800,7 +77803,7 @@ function uAt(i, e) {
|
|
|
77800
77803
|
}
|
|
77801
77804
|
Ii.toggleClass("sp-flat", yt), Ii.toggleClass("sp-input-disabled", !ie.showInput), Ii.toggleClass("sp-alpha-enabled", ie.showAlpha), Ii.toggleClass("sp-clear-enabled", ma), Ii.toggleClass("sp-buttons-disabled", !ie.showButtons), Ii.toggleClass("sp-palette-buttons-disabled", !ie.togglePaletteOnly), Ii.toggleClass("sp-palette-disabled", !ie.showPalette), Ii.toggleClass("sp-palette-only", ie.showPaletteOnly), Ii.toggleClass("sp-initial-disabled", !ie.showInitial), Ii.addClass(ie.className).addClass(ie.containerClassName), Vo();
|
|
77802
77805
|
}
|
|
77803
|
-
function
|
|
77806
|
+
function is() {
|
|
77804
77807
|
if (r && Ii.find("*:not(input)").attr("unselectable", "on"), ic(), te && nn.after(ue).hide(), ma || ha.hide(), yt)
|
|
77805
77808
|
nn.after(Ii).hide();
|
|
77806
77809
|
else {
|
|
@@ -77814,16 +77817,16 @@ function uAt(i, e) {
|
|
|
77814
77817
|
}), jn.keydown(function(Bi) {
|
|
77815
77818
|
Bi.keyCode == 13 && ul();
|
|
77816
77819
|
}), qn.text(ie.cancelText), qn.bind("click.spectrum", function(Bi) {
|
|
77817
|
-
Bi.stopPropagation(), Bi.preventDefault(), fa(),
|
|
77820
|
+
Bi.stopPropagation(), Bi.preventDefault(), fa(), ns();
|
|
77818
77821
|
}), ha.attr("title", ie.clearText), ha.bind("click.spectrum", function(Bi) {
|
|
77819
77822
|
Bi.stopPropagation(), Bi.preventDefault(), Cn = !0, Ho(), yt && _s(!0);
|
|
77820
77823
|
}), Ba.text(ie.chooseText), Ba.bind("click.spectrum", function(Bi) {
|
|
77821
|
-
Bi.stopPropagation(), Bi.preventDefault(), r && jn.is(":focus") && jn.trigger("change"), ao() && (_s(!0),
|
|
77824
|
+
Bi.stopPropagation(), Bi.preventDefault(), r && jn.is(":focus") && jn.trigger("change"), ao() && (_s(!0), ns());
|
|
77822
77825
|
}), Et.text(ie.showPaletteOnly ? ie.togglePaletteMoreText : ie.togglePaletteLessText), Et.bind("click.spectrum", function(Bi) {
|
|
77823
77826
|
Bi.stopPropagation(), Bi.preventDefault(), ie.showPaletteOnly = !ie.showPaletteOnly, !ie.showPaletteOnly && !yt && Ii.css("left", "-=" + (Ra.outerWidth(!0) + 5)), ic();
|
|
77824
77827
|
}), w(Bt, function(Bi, Ur, Mo) {
|
|
77825
77828
|
sr = Bi / Ce, Cn = !1, Mo.shiftKey && (sr = Math.round(sr * 10) / 10), Ho();
|
|
77826
|
-
}, cu, mn), w(
|
|
77829
|
+
}, cu, mn), w(wr, function(Bi, Ur) {
|
|
77827
77830
|
Nt = parseFloat(Ur / ae), Cn = !1, ie.showAlpha || (sr = 1), Ho();
|
|
77828
77831
|
}, cu, mn), w(Zr, function(Bi, Ur, Mo) {
|
|
77829
77832
|
if (!Mo.shiftKey)
|
|
@@ -77836,7 +77839,7 @@ function uAt(i, e) {
|
|
|
77836
77839
|
Ts && (_i = parseFloat(Bi / on)), Vs && (qi = parseFloat((Or - Ur) / Or)), Cn = !1, ie.showAlpha || (sr = 1), Ho();
|
|
77837
77840
|
}, cu, mn), It ? ($a(It), Fa(), en = ie.preferredFormat || $(It).getFormat(), Hs(It)) : Fa(), yt && Do();
|
|
77838
77841
|
function Ei(Bi) {
|
|
77839
|
-
return Bi.data && Bi.data.ignore ? ($a(i(Bi.target).closest(".sp-thumb-el").data("color")), Ho()) : ($a(i(Bi.target).closest(".sp-thumb-el").data("color")), Ho(), ie.hideAfterPaletteSelect && (_s(!0),
|
|
77842
|
+
return Bi.data && Bi.data.ignore ? ($a(i(Bi.target).closest(".sp-thumb-el").data("color")), Ho()) : ($a(i(Bi.target).closest(".sp-thumb-el").data("color")), Ho(), ie.hideAfterPaletteSelect && (_s(!0), ns())), !1;
|
|
77840
77843
|
}
|
|
77841
77844
|
var Nn = r ? "mousedown.spectrum" : "click.spectrum touchstart.spectrum";
|
|
77842
77845
|
wo.delegate(".sp-thumb-el", Nn, Ei), Qi.delegate(".sp-thumb-el:nth-child(1)", Nn, { ignore: !0 }, Ei);
|
|
@@ -77906,7 +77909,7 @@ function uAt(i, e) {
|
|
|
77906
77909
|
}
|
|
77907
77910
|
}
|
|
77908
77911
|
function Uu() {
|
|
77909
|
-
mi ?
|
|
77912
|
+
mi ? ns() : Do();
|
|
77910
77913
|
}
|
|
77911
77914
|
function Do() {
|
|
77912
77915
|
var Ti = i.Event("beforeShow.spectrum");
|
|
@@ -77921,12 +77924,12 @@ function uAt(i, e) {
|
|
|
77921
77924
|
}
|
|
77922
77925
|
}
|
|
77923
77926
|
function tr(Ti) {
|
|
77924
|
-
Ti.keyCode === 27 &&
|
|
77927
|
+
Ti.keyCode === 27 && ns();
|
|
77925
77928
|
}
|
|
77926
77929
|
function oc(Ti) {
|
|
77927
|
-
Ti.button != 2 && (Gi || (Jn ? _s(!0) : fa(),
|
|
77930
|
+
Ti.button != 2 && (Gi || (Jn ? _s(!0) : fa(), ns()));
|
|
77928
77931
|
}
|
|
77929
|
-
function
|
|
77932
|
+
function ns() {
|
|
77930
77933
|
!mi || yt || (mi = !1, i(cr).unbind("keydown.spectrum", tr), i(cr).unbind("click.spectrum", oc), i(window).unbind("resize.spectrum", Rt), ue.removeClass("sp-active"), Ii.addClass("sp-hidden"), pt.hide(Io()), nn.trigger("hide.spectrum", [Io()]));
|
|
77931
77934
|
}
|
|
77932
77935
|
function fa() {
|
|
@@ -78001,7 +78004,7 @@ function uAt(i, e) {
|
|
|
78001
78004
|
Ei && (Nn = Ei.toString(en), !mi && Hs(Ei)), Mi && nn.val(Nn), Ti && Bi && (pt.change(Ei), nn.trigger("change", [Ei]));
|
|
78002
78005
|
}
|
|
78003
78006
|
function Vo() {
|
|
78004
|
-
mi && (on = Zr.width(), Or = Zr.height(), Jr = Qr.height(),
|
|
78007
|
+
mi && (on = Zr.width(), Or = Zr.height(), Jr = Qr.height(), wr.width(), ae = wr.height(), wt = ia.height(), Ce = Bt.width(), $e = Sr.width(), yt || (Ii.css("position", "absolute"), ie.offset ? Ii.offset(ie.offset) : Ii.offset(h(Ii, mt))), pl(), ie.showPalette && rc(), nn.trigger("reflow.spectrum"));
|
|
78005
78008
|
}
|
|
78006
78009
|
function Fp() {
|
|
78007
78010
|
nn.show(), mt.unbind("click.spectrum touchstart.spectrum"), Ii.remove(), ue.remove(), n[Cs.id] = null;
|
|
@@ -78017,15 +78020,15 @@ function uAt(i, e) {
|
|
|
78017
78020
|
Dr = !1, nn.attr("disabled", !1), mt.removeClass("sp-disabled");
|
|
78018
78021
|
}
|
|
78019
78022
|
function hl() {
|
|
78020
|
-
|
|
78023
|
+
ns(), Dr = !0, nn.attr("disabled", !0), mt.addClass("sp-disabled");
|
|
78021
78024
|
}
|
|
78022
78025
|
function jc(Ti) {
|
|
78023
78026
|
ie.offset = Ti, Vo();
|
|
78024
78027
|
}
|
|
78025
|
-
|
|
78028
|
+
is();
|
|
78026
78029
|
var Cs = {
|
|
78027
78030
|
show: Do,
|
|
78028
|
-
hide:
|
|
78031
|
+
hide: ns,
|
|
78029
78032
|
toggle: Uu,
|
|
78030
78033
|
reflow: Vo,
|
|
78031
78034
|
option: za,
|
|
@@ -90952,7 +90955,7 @@ const $7t = {
|
|
|
90952
90955
|
transformations: "[]",
|
|
90953
90956
|
"transition-type": up.Slide,
|
|
90954
90957
|
variant: Ir.Carousel,
|
|
90955
|
-
"zoom-style":
|
|
90958
|
+
"zoom-style": ps.WithinBorders
|
|
90956
90959
|
}, F7t = (i, e = {}) => {
|
|
90957
90960
|
const t = new ua(i), { enableAssetFormatControls: n = !1, enableFontFamilyControls: r = !1 } = e;
|
|
90958
90961
|
return [
|
|
@@ -91852,14 +91855,14 @@ const $7t = {
|
|
|
91852
91855
|
name: "zoom-style",
|
|
91853
91856
|
options: [
|
|
91854
91857
|
{
|
|
91855
|
-
id:
|
|
91858
|
+
id: ps.WithinBorders,
|
|
91856
91859
|
name: i.term("withinBorders"),
|
|
91857
|
-
value:
|
|
91860
|
+
value: ps.WithinBorders
|
|
91858
91861
|
},
|
|
91859
91862
|
{
|
|
91860
|
-
id:
|
|
91863
|
+
id: ps.PopOut,
|
|
91861
91864
|
name: i.term("popOut"),
|
|
91862
|
-
value:
|
|
91865
|
+
value: ps.PopOut
|
|
91863
91866
|
}
|
|
91864
91867
|
],
|
|
91865
91868
|
show: (o) => o.effect === Di.Zoom,
|
|
@@ -94084,7 +94087,7 @@ const pDt = {
|
|
|
94084
94087
|
"transformation-record-id": "",
|
|
94085
94088
|
transformations: "[]",
|
|
94086
94089
|
variant: Ir.Grid,
|
|
94087
|
-
"zoom-style":
|
|
94090
|
+
"zoom-style": ps.WithinBorders
|
|
94088
94091
|
}, yDt = M`<svg width="188" height="70" viewBox="0 0 188 70" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="188" height="70" rx="6" fill="#3A80F7"/><rect opacity="0.5" width="188" height="70" fill="white"/><rect opacity="0.5" x="30" y="8" width="40" height="24" rx="4" fill="white"/><rect opacity="0.5" x="30" y="36" width="40" height="26" rx="4" fill="white"/><rect opacity="0.5" x="74" y="8" width="38" height="24" rx="4" fill="white"/><rect opacity="0.5" x="74" y="36" width="38" height="26" rx="4" fill="white"/><rect opacity="0.5" x="116" y="8" width="42" height="24" rx="4" fill="white"/><rect opacity="0.5" x="116" y="36" width="42" height="26" rx="4" fill="white"/></svg>`, bDt = M`<svg width="188" height="70" viewBox="0 0 188 70" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="188" height="70" rx="6" fill="#3A80F7"/><rect opacity="0.5" width="188" height="70" fill="white"/><rect opacity="0.5" x="7" y="23" width="40" height="24" rx="4" fill="white"/><rect opacity="0.5" x="51" y="23" width="38" height="24" rx="4" fill="white"/><rect opacity="0.5" x="93" y="23" width="42" height="24" rx="4" fill="white"/><rect opacity="0.5" x="139" y="23" width="42" height="24" rx="4" fill="white"/></svg>`, wDt = M`<svg width="188" height="70" viewBox="0 0 188 70" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="188" height="70" rx="6" fill="#3A80F7"/><rect opacity="0.5" width="188" height="70" fill="white"/><rect opacity="0.5" x="20" y="8" width="40" height="24" rx="4" fill="white"/><rect opacity="0.5" x="84" y="36" width="40" height="24" rx="4" fill="white"/><rect opacity="0.5" x="64" y="8" width="40" height="24" rx="4" fill="white"/><rect opacity="0.5" x="128" y="36" width="40" height="24" rx="4" fill="white"/><rect opacity="0.5" x="108" y="8" width="60" height="24" rx="4" fill="white"/><rect opacity="0.5" x="20" y="36" width="60" height="24" rx="4" fill="white"/></svg>`, xDt = (i, e = {}) => {
|
|
94089
94092
|
const t = new ua(i), { enableAssetFormatControls: n = !1, enableFontFamilyControls: r = !1 } = e;
|
|
94090
94093
|
return [
|
|
@@ -95003,14 +95006,14 @@ const pDt = {
|
|
|
95003
95006
|
name: "zoom-style",
|
|
95004
95007
|
options: [
|
|
95005
95008
|
{
|
|
95006
|
-
id:
|
|
95009
|
+
id: ps.WithinBorders,
|
|
95007
95010
|
name: i.term("withinBorders"),
|
|
95008
|
-
value:
|
|
95011
|
+
value: ps.WithinBorders
|
|
95009
95012
|
},
|
|
95010
95013
|
{
|
|
95011
|
-
id:
|
|
95014
|
+
id: ps.PopOut,
|
|
95012
95015
|
name: i.term("popOut"),
|
|
95013
|
-
value:
|
|
95016
|
+
value: ps.PopOut
|
|
95014
95017
|
}
|
|
95015
95018
|
],
|
|
95016
95019
|
show: (o) => o.effect === Di.Zoom,
|
|
@@ -95427,7 +95430,7 @@ const pDt = {
|
|
|
95427
95430
|
transformations: "",
|
|
95428
95431
|
"transition-type": up.Slide,
|
|
95429
95432
|
width: "",
|
|
95430
|
-
"zoom-style":
|
|
95433
|
+
"zoom-style": ps.WithinBorders
|
|
95431
95434
|
}, IDt = (i, e = {}) => {
|
|
95432
95435
|
const t = new ua(i), { enableAssetFormatControls: n = !1, enableFontFamilyControls: r = !1 } = e;
|
|
95433
95436
|
return [
|
|
@@ -96289,14 +96292,14 @@ const pDt = {
|
|
|
96289
96292
|
name: "zoom-style",
|
|
96290
96293
|
options: [
|
|
96291
96294
|
{
|
|
96292
|
-
id:
|
|
96295
|
+
id: ps.WithinBorders,
|
|
96293
96296
|
name: i.term("withinBorders"),
|
|
96294
|
-
value:
|
|
96297
|
+
value: ps.WithinBorders
|
|
96295
96298
|
},
|
|
96296
96299
|
{
|
|
96297
|
-
id:
|
|
96300
|
+
id: ps.PopOut,
|
|
96298
96301
|
name: i.term("popOut"),
|
|
96299
|
-
value:
|
|
96302
|
+
value: ps.PopOut
|
|
96300
96303
|
}
|
|
96301
96304
|
],
|
|
96302
96305
|
show: (o) => o.effect === Di.Zoom,
|
|
@@ -115111,7 +115114,7 @@ const u8t = {
|
|
|
115111
115114
|
rgb: [164, 120, 100]
|
|
115112
115115
|
}
|
|
115113
115116
|
}, g8t = ni`.color-swatch-picker__space{width:100%}.color-swatch-picker__dialog{--body-spacing:0;--header-spacing:var(--cx-spacing-small) var(--cx-spacing-large) 0;--width:640px}.color-swatch-picker__table{--group-row-background-color:transparent;--row-background-color:transparent;--row-even-background-color:transparent;--row-hover-background-color:var(--cx-color-neutral-50);--row-even-hover-background-color:var(--cx-color-neutral-50);--header-height:48px;--cell-line-height:35px;--cell-border-color:transparent;--cell-bottom-border-color:transparent;--cell-hover-background-color:transparent;--row-header-border-color:transparent;--cell-horizontal-padding:var(--cx-spacing-2x-small);--header-horizontal-padding:var(--cx-spacing-2x-small);--header-border-bottom:1px solid var(--cx-color-neutral-200);--hover-menu-background-color:var(--row-hover-background-color)}.color-swatch-picker__table::part(table){background-color:#0000}.color-swatch-group__table__copy-button::part(button){background:0 0;border-width:0;height:fit-content;min-height:fit-content;padding:0}.color-swatch-picker__loading-spinner{--track-width:4px;font-size:var(--cx-font-size-3x-large)}.color-swatch-picker__add-color-button{width:100px}`;
|
|
115114
|
-
var m8t = Object.defineProperty, f8t = Object.getOwnPropertyDescriptor,
|
|
115117
|
+
var m8t = Object.defineProperty, f8t = Object.getOwnPropertyDescriptor, es = (i, e, t, n) => {
|
|
115115
115118
|
for (var r = n > 1 ? void 0 : n ? f8t(e, t) : e, o = i.length - 1, a; o >= 0; o--)
|
|
115116
115119
|
(a = i[o]) && (r = (n ? a(e, t, r) : a(r)) || r);
|
|
115117
115120
|
return n && r && m8t(e, t, r), r;
|
|
@@ -115316,13 +115319,13 @@ jo.dependencies = {
|
|
|
115316
115319
|
"cx-table": MC,
|
|
115317
115320
|
"cx-typography": En
|
|
115318
115321
|
};
|
|
115319
|
-
|
|
115322
|
+
es([
|
|
115320
115323
|
kt("cx-dialog")
|
|
115321
115324
|
], jo.prototype, "dialog", 2);
|
|
115322
|
-
|
|
115325
|
+
es([
|
|
115323
115326
|
D({ type: Object })
|
|
115324
115327
|
], jo.prototype, "boundary", 2);
|
|
115325
|
-
|
|
115328
|
+
es([
|
|
115326
115329
|
D({
|
|
115327
115330
|
converter: {
|
|
115328
115331
|
fromAttribute: (i) => {
|
|
@@ -115338,10 +115341,10 @@ Qa([
|
|
|
115338
115341
|
type: String
|
|
115339
115342
|
})
|
|
115340
115343
|
], jo.prototype, "data", 2);
|
|
115341
|
-
|
|
115344
|
+
es([
|
|
115342
115345
|
D({ attribute: "disable-table-load", reflect: !0, type: Boolean })
|
|
115343
115346
|
], jo.prototype, "disableTableLoad", 2);
|
|
115344
|
-
|
|
115347
|
+
es([
|
|
115345
115348
|
D({
|
|
115346
115349
|
attribute: "supported-languages",
|
|
115347
115350
|
converter: {
|
|
@@ -115352,46 +115355,46 @@ Qa([
|
|
|
115352
115355
|
type: Array
|
|
115353
115356
|
})
|
|
115354
115357
|
], jo.prototype, "supportedLanguages", 2);
|
|
115355
|
-
|
|
115358
|
+
es([
|
|
115356
115359
|
D({ attribute: "default-language", reflect: !0, type: String })
|
|
115357
115360
|
], jo.prototype, "defaultLanguage", 2);
|
|
115358
|
-
|
|
115361
|
+
es([
|
|
115359
115362
|
pe()
|
|
115360
115363
|
], jo.prototype, "dialogType", 2);
|
|
115361
|
-
|
|
115364
|
+
es([
|
|
115362
115365
|
pe()
|
|
115363
115366
|
], jo.prototype, "dialogId", 2);
|
|
115364
|
-
|
|
115367
|
+
es([
|
|
115365
115368
|
pe()
|
|
115366
115369
|
], jo.prototype, "dialogName", 2);
|
|
115367
|
-
|
|
115370
|
+
es([
|
|
115368
115371
|
pe()
|
|
115369
115372
|
], jo.prototype, "dialogNameTranslations", 2);
|
|
115370
|
-
|
|
115373
|
+
es([
|
|
115371
115374
|
pe()
|
|
115372
115375
|
], jo.prototype, "dialogPalette", 2);
|
|
115373
|
-
|
|
115376
|
+
es([
|
|
115374
115377
|
pe()
|
|
115375
115378
|
], jo.prototype, "dialogHex", 2);
|
|
115376
|
-
|
|
115379
|
+
es([
|
|
115377
115380
|
pe()
|
|
115378
115381
|
], jo.prototype, "dialogRgb", 2);
|
|
115379
|
-
|
|
115382
|
+
es([
|
|
115380
115383
|
pe()
|
|
115381
115384
|
], jo.prototype, "dialogCmyk", 2);
|
|
115382
|
-
|
|
115385
|
+
es([
|
|
115383
115386
|
pe()
|
|
115384
115387
|
], jo.prototype, "dialogPmsId", 2);
|
|
115385
|
-
|
|
115388
|
+
es([
|
|
115386
115389
|
pe()
|
|
115387
115390
|
], jo.prototype, "dialogColor", 2);
|
|
115388
|
-
|
|
115391
|
+
es([
|
|
115389
115392
|
pe()
|
|
115390
115393
|
], jo.prototype, "palettes", 2);
|
|
115391
|
-
|
|
115394
|
+
es([
|
|
115392
115395
|
lt("data")
|
|
115393
115396
|
], jo.prototype, "handleDataChange", 1);
|
|
115394
|
-
jo =
|
|
115397
|
+
jo = es([
|
|
115395
115398
|
Qt("cx-color-swatch-picker")
|
|
115396
115399
|
], jo);
|
|
115397
115400
|
const v8t = ni`.folder-picker__name{--color:var(--cx-color-primary-500)}.folder-picker__request-folder-button:not(:first-child){margin-left:var(--cx-spacing-small)}`;
|
|
@@ -115535,7 +115538,7 @@ var x8t = Object.defineProperty, k8t = Object.getOwnPropertyDescriptor, Lc = (i,
|
|
|
115535
115538
|
(a = i[o]) && (r = (n ? a(e, t, r) : a(r)) || r);
|
|
115536
115539
|
return n && r && x8t(e, t, r), r;
|
|
115537
115540
|
};
|
|
115538
|
-
let
|
|
115541
|
+
let fs = class extends di {
|
|
115539
115542
|
constructor() {
|
|
115540
115543
|
super(), this.localize = new Si(this), this.variant = yi.Asset, this.dialogVariant = pp.Gallery, this.boundary = document.body, this.onRequestAsset = void 0, this.image = null, this.selectedPosition = -1, this.disabledAssetPicker = !1, this.editedImage = { id: "" }, this.assetRequestingStatus = !1, this.selectedPageLabel = "", this.isThumbnailManuallySet = !1, this.apiGetTeamSpaceSpaceList = C3, this.apiGetPagesAndLinks = this.apiGetPagesAndLinks.bind(this);
|
|
115541
115544
|
}
|
|
@@ -115775,8 +115778,8 @@ let ms = class extends di {
|
|
|
115775
115778
|
)}</cx-radio-group></cx-grid-item></cx-grid></form><cx-divider></cx-divider><cx-space slot="footer" spacing="x-small" wrap="nowrap" justify-content="end"><cx-button variant="default" size="medium" @click=${this.hide}>${this.localize.term("cancel")}</cx-button><cx-button data-testid="save-button" variant="primary" size="medium" type="submit" @click=${this.handleSaveClick}>${this.localize.term("save")}</cx-button></cx-space></cx-dialog>`;
|
|
115776
115779
|
}
|
|
115777
115780
|
};
|
|
115778
|
-
|
|
115779
|
-
|
|
115781
|
+
fs.styles = [ui, w8t];
|
|
115782
|
+
fs.dependencies = {
|
|
115780
115783
|
"cx-asset-picker": ho,
|
|
115781
115784
|
"cx-button": Rn,
|
|
115782
115785
|
"cx-checkbox": Ph,
|
|
@@ -115795,50 +115798,50 @@ ms.dependencies = {
|
|
|
115795
115798
|
};
|
|
115796
115799
|
Lc([
|
|
115797
115800
|
kt("cx-dialog")
|
|
115798
|
-
],
|
|
115801
|
+
], fs.prototype, "dialog", 2);
|
|
115799
115802
|
Lc([
|
|
115800
115803
|
kt("cx-asset-picker")
|
|
115801
|
-
],
|
|
115804
|
+
], fs.prototype, "assetPicker", 2);
|
|
115802
115805
|
Lc([
|
|
115803
115806
|
kt("#gallery-config-form")
|
|
115804
|
-
],
|
|
115807
|
+
], fs.prototype, "form", 2);
|
|
115805
115808
|
Lc([
|
|
115806
115809
|
D({ reflect: !0, type: String })
|
|
115807
|
-
],
|
|
115810
|
+
], fs.prototype, "variant", 2);
|
|
115808
115811
|
Lc([
|
|
115809
115812
|
D({ attribute: "dialog-variant", reflect: !0, type: String })
|
|
115810
|
-
],
|
|
115813
|
+
], fs.prototype, "dialogVariant", 2);
|
|
115811
115814
|
Lc([
|
|
115812
115815
|
D({ type: Object })
|
|
115813
|
-
],
|
|
115816
|
+
], fs.prototype, "boundary", 2);
|
|
115814
115817
|
Lc([
|
|
115815
115818
|
D({ attribute: "on-request-asset", type: Function })
|
|
115816
|
-
],
|
|
115819
|
+
], fs.prototype, "onRequestAsset", 2);
|
|
115817
115820
|
Lc([
|
|
115818
115821
|
D({ type: Object })
|
|
115819
|
-
],
|
|
115822
|
+
], fs.prototype, "image", 2);
|
|
115820
115823
|
Lc([
|
|
115821
115824
|
D({ attribute: "selected-position", type: Number })
|
|
115822
|
-
],
|
|
115825
|
+
], fs.prototype, "selectedPosition", 2);
|
|
115823
115826
|
Lc([
|
|
115824
115827
|
D({
|
|
115825
115828
|
attribute: "disabled-asset-picker",
|
|
115826
115829
|
reflect: !0,
|
|
115827
115830
|
type: Boolean
|
|
115828
115831
|
})
|
|
115829
|
-
],
|
|
115832
|
+
], fs.prototype, "disabledAssetPicker", 2);
|
|
115830
115833
|
Lc([
|
|
115831
115834
|
pe()
|
|
115832
|
-
],
|
|
115835
|
+
], fs.prototype, "editedImage", 2);
|
|
115833
115836
|
Lc([
|
|
115834
115837
|
pe()
|
|
115835
|
-
],
|
|
115838
|
+
], fs.prototype, "assetRequestingStatus", 2);
|
|
115836
115839
|
Lc([
|
|
115837
115840
|
pe()
|
|
115838
|
-
],
|
|
115839
|
-
|
|
115841
|
+
], fs.prototype, "selectedPageLabel", 2);
|
|
115842
|
+
fs = Lc([
|
|
115840
115843
|
Qt("cx-gallery-config")
|
|
115841
|
-
],
|
|
115844
|
+
], fs);
|
|
115842
115845
|
const _8t = ni`:host{width:100%;display:block;position:relative}.gallery-picker-dialog{--width:600px}.gallery-picker-dialog::part(body){padding-bottom:0}.gallery-picker-dialog::part(footer){padding-top:0}.gallery-picker__no-slides-added{margin-bottom:var(--cx-spacing-medium);display:block}.gallery-picker__overlay{margin-bottom:var(--cx-spacing-small)}.gallery-picker__masonry-wrapper{padding-right:var(--cx-spacing-medium)}.gallery-picker__input{opacity:0;pointer-events:none;z-index:-1;width:33.3333%;position:absolute;top:0;left:0;transform:translateY(-90%)}`;
|
|
115843
115846
|
var C8t = Object.defineProperty, S8t = Object.getOwnPropertyDescriptor, zr = (i, e, t, n) => {
|
|
115844
115847
|
for (var r = n > 1 ? void 0 : n ? S8t(e, t) : e, o = i.length - 1, a; o >= 0; o--)
|
|
@@ -116164,7 +116167,7 @@ hr.styles = [
|
|
|
116164
116167
|
];
|
|
116165
116168
|
hr.dependencies = {
|
|
116166
116169
|
"cx-button": Rn,
|
|
116167
|
-
"cx-gallery-config":
|
|
116170
|
+
"cx-gallery-config": fs,
|
|
116168
116171
|
"cx-input": Yr,
|
|
116169
116172
|
"cx-masonry": MQ,
|
|
116170
116173
|
"cx-space": Mn,
|
|
@@ -118012,7 +118015,7 @@ vn.dependencies = {
|
|
|
118012
118015
|
"cx-dialog": Oa,
|
|
118013
118016
|
"cx-divider": Fs,
|
|
118014
118017
|
"cx-download-format-picker": tl,
|
|
118015
|
-
"cx-dropdown":
|
|
118018
|
+
"cx-dropdown": ys,
|
|
118016
118019
|
"cx-dynamic-select": Yy,
|
|
118017
118020
|
"cx-folder-picker": Ea,
|
|
118018
118021
|
"cx-font-picker": sd,
|
|
@@ -122708,42 +122711,42 @@ function FMt(i) {
|
|
|
122708
122711
|
var e;
|
|
122709
122712
|
return i >= 55296 && i <= 57343 || i > 1114111 ? 65533 : (e = BMt.get(i)) !== null && e !== void 0 ? e : i;
|
|
122710
122713
|
}
|
|
122711
|
-
var
|
|
122714
|
+
var us;
|
|
122712
122715
|
(function(i) {
|
|
122713
122716
|
i[i.NUM = 35] = "NUM", i[i.SEMI = 59] = "SEMI", i[i.EQUALS = 61] = "EQUALS", i[i.ZERO = 48] = "ZERO", i[i.NINE = 57] = "NINE", i[i.LOWER_A = 97] = "LOWER_A", i[i.LOWER_F = 102] = "LOWER_F", i[i.LOWER_X = 120] = "LOWER_X", i[i.LOWER_Z = 122] = "LOWER_Z", i[i.UPPER_A = 65] = "UPPER_A", i[i.UPPER_F = 70] = "UPPER_F", i[i.UPPER_Z = 90] = "UPPER_Z";
|
|
122714
|
-
})(
|
|
122717
|
+
})(us || (us = {}));
|
|
122715
122718
|
const zMt = 32;
|
|
122716
122719
|
var Cg;
|
|
122717
122720
|
(function(i) {
|
|
122718
122721
|
i[i.VALUE_LENGTH = 49152] = "VALUE_LENGTH", i[i.BRANCH_LENGTH = 16256] = "BRANCH_LENGTH", i[i.JUMP_TABLE = 127] = "JUMP_TABLE";
|
|
122719
122722
|
})(Cg || (Cg = {}));
|
|
122720
122723
|
function P5(i) {
|
|
122721
|
-
return i >=
|
|
122724
|
+
return i >= us.ZERO && i <= us.NINE;
|
|
122722
122725
|
}
|
|
122723
122726
|
function jMt(i) {
|
|
122724
|
-
return i >=
|
|
122727
|
+
return i >= us.UPPER_A && i <= us.UPPER_F || i >= us.LOWER_A && i <= us.LOWER_F;
|
|
122725
122728
|
}
|
|
122726
122729
|
function HMt(i) {
|
|
122727
|
-
return i >=
|
|
122730
|
+
return i >= us.UPPER_A && i <= us.UPPER_Z || i >= us.LOWER_A && i <= us.LOWER_Z || P5(i);
|
|
122728
122731
|
}
|
|
122729
122732
|
function VMt(i) {
|
|
122730
|
-
return i ===
|
|
122733
|
+
return i === us.EQUALS || HMt(i);
|
|
122731
122734
|
}
|
|
122732
|
-
var
|
|
122735
|
+
var ds;
|
|
122733
122736
|
(function(i) {
|
|
122734
122737
|
i[i.EntityStart = 0] = "EntityStart", i[i.NumericStart = 1] = "NumericStart", i[i.NumericDecimal = 2] = "NumericDecimal", i[i.NumericHex = 3] = "NumericHex", i[i.NamedEntity = 4] = "NamedEntity";
|
|
122735
|
-
})(
|
|
122738
|
+
})(ds || (ds = {}));
|
|
122736
122739
|
var uh;
|
|
122737
122740
|
(function(i) {
|
|
122738
122741
|
i[i.Legacy = 0] = "Legacy", i[i.Strict = 1] = "Strict", i[i.Attribute = 2] = "Attribute";
|
|
122739
122742
|
})(uh || (uh = {}));
|
|
122740
122743
|
class hG {
|
|
122741
122744
|
constructor(e, t, n) {
|
|
122742
|
-
this.decodeTree = e, this.emitCodePoint = t, this.errors = n, this.state =
|
|
122745
|
+
this.decodeTree = e, this.emitCodePoint = t, this.errors = n, this.state = ds.EntityStart, this.consumed = 1, this.result = 0, this.treeIndex = 0, this.excess = 1, this.decodeMode = uh.Strict;
|
|
122743
122746
|
}
|
|
122744
122747
|
/** Resets the instance to make it reusable. */
|
|
122745
122748
|
startEntity(e) {
|
|
122746
|
-
this.decodeMode = e, this.state =
|
|
122749
|
+
this.decodeMode = e, this.state = ds.EntityStart, this.result = 0, this.treeIndex = 0, this.excess = 1, this.consumed = 1;
|
|
122747
122750
|
}
|
|
122748
122751
|
/**
|
|
122749
122752
|
* Write an entity to the decoder. This can be called multiple times with partial entities.
|
|
@@ -122758,15 +122761,15 @@ class hG {
|
|
|
122758
122761
|
*/
|
|
122759
122762
|
write(e, t) {
|
|
122760
122763
|
switch (this.state) {
|
|
122761
|
-
case
|
|
122762
|
-
return e.charCodeAt(t) ===
|
|
122763
|
-
case
|
|
122764
|
+
case ds.EntityStart:
|
|
122765
|
+
return e.charCodeAt(t) === us.NUM ? (this.state = ds.NumericStart, this.consumed += 1, this.stateNumericStart(e, t + 1)) : (this.state = ds.NamedEntity, this.stateNamedEntity(e, t));
|
|
122766
|
+
case ds.NumericStart:
|
|
122764
122767
|
return this.stateNumericStart(e, t);
|
|
122765
|
-
case
|
|
122768
|
+
case ds.NumericDecimal:
|
|
122766
122769
|
return this.stateNumericDecimal(e, t);
|
|
122767
|
-
case
|
|
122770
|
+
case ds.NumericHex:
|
|
122768
122771
|
return this.stateNumericHex(e, t);
|
|
122769
|
-
case
|
|
122772
|
+
case ds.NamedEntity:
|
|
122770
122773
|
return this.stateNamedEntity(e, t);
|
|
122771
122774
|
}
|
|
122772
122775
|
}
|
|
@@ -122780,7 +122783,7 @@ class hG {
|
|
|
122780
122783
|
* @returns The number of characters that were consumed, or -1 if the entity is incomplete.
|
|
122781
122784
|
*/
|
|
122782
122785
|
stateNumericStart(e, t) {
|
|
122783
|
-
return t >= e.length ? -1 : (e.charCodeAt(t) | zMt) ===
|
|
122786
|
+
return t >= e.length ? -1 : (e.charCodeAt(t) | zMt) === us.LOWER_X ? (this.state = ds.NumericHex, this.consumed += 1, this.stateNumericHex(e, t + 1)) : (this.state = ds.NumericDecimal, this.stateNumericDecimal(e, t));
|
|
122784
122787
|
}
|
|
122785
122788
|
addToNumericResult(e, t, n, r) {
|
|
122786
122789
|
if (t !== n) {
|
|
@@ -122845,11 +122848,11 @@ class hG {
|
|
|
122845
122848
|
var n;
|
|
122846
122849
|
if (this.consumed <= t)
|
|
122847
122850
|
return (n = this.errors) === null || n === void 0 || n.absenceOfDigitsInNumericCharacterReference(this.consumed), 0;
|
|
122848
|
-
if (e ===
|
|
122851
|
+
if (e === us.SEMI)
|
|
122849
122852
|
this.consumed += 1;
|
|
122850
122853
|
else if (this.decodeMode === uh.Strict)
|
|
122851
122854
|
return 0;
|
|
122852
|
-
return this.emitCodePoint(FMt(this.result), this.consumed), this.errors && (e !==
|
|
122855
|
+
return this.emitCodePoint(FMt(this.result), this.consumed), this.errors && (e !== us.SEMI && this.errors.missingSemicolonAfterCharacterReference(), this.errors.validateNumericCharacterReference(this.result)), this.consumed;
|
|
122853
122856
|
}
|
|
122854
122857
|
/**
|
|
122855
122858
|
* Parses a named entity.
|
|
@@ -122871,7 +122874,7 @@ class hG {
|
|
|
122871
122874
|
(o === 0 || // And there should be no invalid characters.
|
|
122872
122875
|
VMt(a)) ? 0 : this.emitNotTerminatedNamedEntity();
|
|
122873
122876
|
if (r = n[this.treeIndex], o = (r & Cg.VALUE_LENGTH) >> 14, o !== 0) {
|
|
122874
|
-
if (a ===
|
|
122877
|
+
if (a === us.SEMI)
|
|
122875
122878
|
return this.emitNamedEntityData(this.treeIndex, o, this.consumed + this.excess);
|
|
122876
122879
|
this.decodeMode !== uh.Strict && (this.result = this.treeIndex, this.consumed += this.excess, this.excess = 0);
|
|
122877
122880
|
}
|
|
@@ -122911,16 +122914,16 @@ class hG {
|
|
|
122911
122914
|
end() {
|
|
122912
122915
|
var e;
|
|
122913
122916
|
switch (this.state) {
|
|
122914
|
-
case
|
|
122917
|
+
case ds.NamedEntity:
|
|
122915
122918
|
return this.result !== 0 && (this.decodeMode !== uh.Attribute || this.result === this.treeIndex) ? this.emitNotTerminatedNamedEntity() : 0;
|
|
122916
122919
|
// Otherwise, emit a numeric entity if we have one.
|
|
122917
|
-
case
|
|
122920
|
+
case ds.NumericDecimal:
|
|
122918
122921
|
return this.emitNumericEntity(0, 2);
|
|
122919
|
-
case
|
|
122922
|
+
case ds.NumericHex:
|
|
122920
122923
|
return this.emitNumericEntity(0, 3);
|
|
122921
|
-
case
|
|
122924
|
+
case ds.NumericStart:
|
|
122922
122925
|
return (e = this.errors) === null || e === void 0 || e.absenceOfDigitsInNumericCharacterReference(this.consumed), 0;
|
|
122923
|
-
case
|
|
122926
|
+
case ds.EntityStart:
|
|
122924
122927
|
return 0;
|
|
122925
122928
|
}
|
|
122926
122929
|
}
|
|
@@ -132757,7 +132760,7 @@ function qRt(i) {
|
|
|
132757
132760
|
}
|
|
132758
132761
|
return null;
|
|
132759
132762
|
}
|
|
132760
|
-
function
|
|
132763
|
+
function ts(i) {
|
|
132761
132764
|
const e = i.selection.$head;
|
|
132762
132765
|
for (let t = e.depth; t > 0; t--)
|
|
132763
132766
|
if (e.node(t).type.spec.tableRole == "row") return !0;
|
|
@@ -133153,7 +133156,7 @@ function sK(i, { map: e, tableStart: t, table: n }, r) {
|
|
|
133153
133156
|
return i;
|
|
133154
133157
|
}
|
|
133155
133158
|
function tBt(i, e) {
|
|
133156
|
-
if (!
|
|
133159
|
+
if (!ts(i)) return !1;
|
|
133157
133160
|
if (e) {
|
|
133158
133161
|
const t = Na(i);
|
|
133159
133162
|
e(sK(i.tr, t, t.left));
|
|
@@ -133161,7 +133164,7 @@ function tBt(i, e) {
|
|
|
133161
133164
|
return !0;
|
|
133162
133165
|
}
|
|
133163
133166
|
function iBt(i, e) {
|
|
133164
|
-
if (!
|
|
133167
|
+
if (!ts(i)) return !1;
|
|
133165
133168
|
if (e) {
|
|
133166
133169
|
const t = Na(i);
|
|
133167
133170
|
e(sK(i.tr, t, t.right));
|
|
@@ -133186,7 +133189,7 @@ function nBt(i, { map: e, table: t, tableStart: n }, r) {
|
|
|
133186
133189
|
}
|
|
133187
133190
|
}
|
|
133188
133191
|
function rBt(i, e) {
|
|
133189
|
-
if (!
|
|
133192
|
+
if (!ts(i)) return !1;
|
|
133190
133193
|
if (e) {
|
|
133191
133194
|
const t = Na(i), n = i.tr;
|
|
133192
133195
|
if (t.left == 0 && t.right == t.map.width) return !1;
|
|
@@ -133229,7 +133232,7 @@ function cK(i, { map: e, tableStart: t, table: n }, r) {
|
|
|
133229
133232
|
return i.insert(a, To(n.type.schema).row.create(null, s)), i;
|
|
133230
133233
|
}
|
|
133231
133234
|
function oBt(i, e) {
|
|
133232
|
-
if (!
|
|
133235
|
+
if (!ts(i)) return !1;
|
|
133233
133236
|
if (e) {
|
|
133234
133237
|
const t = Na(i);
|
|
133235
133238
|
e(cK(i.tr, t, t.top));
|
|
@@ -133237,7 +133240,7 @@ function oBt(i, e) {
|
|
|
133237
133240
|
return !0;
|
|
133238
133241
|
}
|
|
133239
133242
|
function aBt(i, e) {
|
|
133240
|
-
if (!
|
|
133243
|
+
if (!ts(i)) return !1;
|
|
133241
133244
|
if (e) {
|
|
133242
133245
|
const t = Na(i);
|
|
133243
133246
|
e(cK(i.tr, t, t.bottom));
|
|
@@ -133270,7 +133273,7 @@ function sBt(i, { map: e, table: t, tableStart: n }, r) {
|
|
|
133270
133273
|
}
|
|
133271
133274
|
}
|
|
133272
133275
|
function lBt(i, e) {
|
|
133273
|
-
if (!
|
|
133276
|
+
if (!ts(i)) return !1;
|
|
133274
133277
|
if (e) {
|
|
133275
133278
|
const t = Na(i), n = i.tr;
|
|
133276
133279
|
if (t.top == 0 && t.bottom == t.map.height) return !1;
|
|
@@ -133398,7 +133401,7 @@ function dBt(i) {
|
|
|
133398
133401
|
}
|
|
133399
133402
|
function uBt(i, e) {
|
|
133400
133403
|
return function(t, n) {
|
|
133401
|
-
if (!
|
|
133404
|
+
if (!ts(t)) return !1;
|
|
133402
133405
|
const r = ab(t);
|
|
133403
133406
|
if (r.nodeAfter.attrs[i] === e) return !1;
|
|
133404
133407
|
if (n) {
|
|
@@ -133418,7 +133421,7 @@ function uBt(i, e) {
|
|
|
133418
133421
|
}
|
|
133419
133422
|
function pBt(i) {
|
|
133420
133423
|
return function(e, t) {
|
|
133421
|
-
if (!
|
|
133424
|
+
if (!ts(e)) return !1;
|
|
133422
133425
|
if (t) {
|
|
133423
133426
|
const n = To(e.schema), r = Na(e), o = e.tr, a = r.map.cellsInRect(
|
|
133424
133427
|
i == "column" ? {
|
|
@@ -133467,7 +133470,7 @@ function qR(i, e, t) {
|
|
|
133467
133470
|
}
|
|
133468
133471
|
function Vw(i, e) {
|
|
133469
133472
|
return e = e || { useDeprecatedLogic: !1 }, e.useDeprecatedLogic ? pBt(i) : function(t, n) {
|
|
133470
|
-
if (!
|
|
133473
|
+
if (!ts(t)) return !1;
|
|
133471
133474
|
if (n) {
|
|
133472
133475
|
const r = To(t.schema), o = Na(t), a = t.tr, s = qR("row", o, r), l = qR(
|
|
133473
133476
|
"column",
|
|
@@ -133525,7 +133528,7 @@ function gBt(i, e) {
|
|
|
133525
133528
|
}
|
|
133526
133529
|
function WR(i) {
|
|
133527
133530
|
return function(e, t) {
|
|
133528
|
-
if (!
|
|
133531
|
+
if (!ts(e)) return !1;
|
|
133529
133532
|
const n = gBt(ab(e), i);
|
|
133530
133533
|
if (n == null) return !1;
|
|
133531
133534
|
if (t) {
|
|
@@ -133825,7 +133828,7 @@ function bBt(i, e) {
|
|
|
133825
133828
|
return n ? (i.dispatch(i.state.tr.setSelection(new rn(n))), !0) : !1;
|
|
133826
133829
|
}
|
|
133827
133830
|
function wBt(i, e, t) {
|
|
133828
|
-
if (!
|
|
133831
|
+
if (!ts(i.state)) return !1;
|
|
133829
133832
|
let n = dK(t);
|
|
133830
133833
|
const r = i.state.selection;
|
|
133831
133834
|
if (r instanceof rn) {
|
|
@@ -134941,7 +134944,7 @@ function JO(i, e) {
|
|
|
134941
134944
|
return i.selection instanceof Pi && i.selection.node.type.name === "table" ? (e && e(i.tr.delete(i.selection.from, i.selection.to)), !0) : !1;
|
|
134942
134945
|
}
|
|
134943
134946
|
function JBt(i, e) {
|
|
134944
|
-
if (!
|
|
134947
|
+
if (!ts(i))
|
|
134945
134948
|
return !1;
|
|
134946
134949
|
if (e) {
|
|
134947
134950
|
const t = Na(i), n = i.tr;
|
|
@@ -135010,7 +135013,7 @@ function JBt(i, e) {
|
|
|
135010
135013
|
return !0;
|
|
135011
135014
|
}
|
|
135012
135015
|
function ZBt(i, e) {
|
|
135013
|
-
if (!
|
|
135016
|
+
if (!ts(i))
|
|
135014
135017
|
return !1;
|
|
135015
135018
|
if (e) {
|
|
135016
135019
|
const t = Na(i), n = i.tr;
|
|
@@ -135201,7 +135204,7 @@ function t$t(i, e) {
|
|
|
135201
135204
|
)(i, e);
|
|
135202
135205
|
}
|
|
135203
135206
|
function i$t(i, e) {
|
|
135204
|
-
if (!
|
|
135207
|
+
if (!ts(i))
|
|
135205
135208
|
return !1;
|
|
135206
135209
|
if (e) {
|
|
135207
135210
|
const t = Na(i);
|
|
@@ -135210,7 +135213,7 @@ function i$t(i, e) {
|
|
|
135210
135213
|
return !0;
|
|
135211
135214
|
}
|
|
135212
135215
|
function n$t(i, e) {
|
|
135213
|
-
if (!
|
|
135216
|
+
if (!ts(i))
|
|
135214
135217
|
return !1;
|
|
135215
135218
|
if (e) {
|
|
135216
135219
|
const t = Na(i);
|
|
@@ -135219,7 +135222,7 @@ function n$t(i, e) {
|
|
|
135219
135222
|
return !0;
|
|
135220
135223
|
}
|
|
135221
135224
|
function r$t(i, e) {
|
|
135222
|
-
if (!
|
|
135225
|
+
if (!ts(i))
|
|
135223
135226
|
return !1;
|
|
135224
135227
|
if (e) {
|
|
135225
135228
|
const t = Na(i);
|
|
@@ -135228,7 +135231,7 @@ function r$t(i, e) {
|
|
|
135228
135231
|
return !0;
|
|
135229
135232
|
}
|
|
135230
135233
|
function o$t(i, e) {
|
|
135231
|
-
if (!
|
|
135234
|
+
if (!ts(i))
|
|
135232
135235
|
return !1;
|
|
135233
135236
|
if (e) {
|
|
135234
135237
|
const t = Na(i);
|
|
@@ -135262,7 +135265,7 @@ function a$t(i, e) {
|
|
|
135262
135265
|
}
|
|
135263
135266
|
function lB(i) {
|
|
135264
135267
|
return function(e, t) {
|
|
135265
|
-
if (!
|
|
135268
|
+
if (!ts(e))
|
|
135266
135269
|
return !1;
|
|
135267
135270
|
const n = a$t(ab(e), i);
|
|
135268
135271
|
if (n == null)
|
|
@@ -135823,7 +135826,7 @@ function C$t(i, e) {
|
|
|
135823
135826
|
return n ? (i.dispatch(i.state.tr.setSelection(new rn(n))), !0) : !1;
|
|
135824
135827
|
}
|
|
135825
135828
|
function S$t(i, e, t) {
|
|
135826
|
-
if (!
|
|
135829
|
+
if (!ts(i.state))
|
|
135827
135830
|
return !1;
|
|
135828
135831
|
let n = dK(t);
|
|
135829
135832
|
const r = i.state.selection;
|
|
@@ -138614,7 +138617,7 @@ DK([
|
|
|
138614
138617
|
pC = DK([
|
|
138615
138618
|
Qt("cx-select-with-tooltip")
|
|
138616
138619
|
], pC);
|
|
138617
|
-
var _Ft = Object.defineProperty, CFt = Object.getOwnPropertyDescriptor,
|
|
138620
|
+
var _Ft = Object.defineProperty, CFt = Object.getOwnPropertyDescriptor, br = (i, e, t, n) => {
|
|
138618
138621
|
for (var r = n > 1 ? void 0 : n ? CFt(e, t) : e, o = i.length - 1, a; o >= 0; o--)
|
|
138619
138622
|
(a = i[o]) && (r = (n ? a(e, t, r) : a(r)) || r);
|
|
138620
138623
|
return n && r && _Ft(e, t, r), r;
|
|
@@ -139397,7 +139400,7 @@ Xn.dependencies = {
|
|
|
139397
139400
|
"cx-checkbox": Ph,
|
|
139398
139401
|
"cx-color-picker": Jw,
|
|
139399
139402
|
"cx-dialog": Oa,
|
|
139400
|
-
"cx-dropdown":
|
|
139403
|
+
"cx-dropdown": ys,
|
|
139401
139404
|
"cx-icon": _r,
|
|
139402
139405
|
"cx-icon-button": Cr,
|
|
139403
139406
|
"cx-image-dialog": Bs,
|
|
@@ -139413,100 +139416,100 @@ Xn.dependencies = {
|
|
|
139413
139416
|
"cx-special-characters-dialog": K$t,
|
|
139414
139417
|
"cx-typography": En
|
|
139415
139418
|
};
|
|
139416
|
-
|
|
139419
|
+
br([
|
|
139417
139420
|
kt("cx-popup")
|
|
139418
139421
|
], Xn.prototype, "bubbleMenu", 2);
|
|
139419
|
-
|
|
139422
|
+
br([
|
|
139420
139423
|
kt("cx-anchor-dialog")
|
|
139421
139424
|
], Xn.prototype, "anchorDialog", 2);
|
|
139422
|
-
|
|
139425
|
+
br([
|
|
139423
139426
|
kt("cx-special-characters-dialog")
|
|
139424
139427
|
], Xn.prototype, "specialCharDialog", 2);
|
|
139425
|
-
|
|
139428
|
+
br([
|
|
139426
139429
|
kt("cx-image-dialog")
|
|
139427
139430
|
], Xn.prototype, "assetDialog", 2);
|
|
139428
|
-
|
|
139431
|
+
br([
|
|
139429
139432
|
kt(".bullet-list-dropdown")
|
|
139430
139433
|
], Xn.prototype, "bulletListDropdown", 2);
|
|
139431
|
-
|
|
139434
|
+
br([
|
|
139432
139435
|
kt(".ordered-list-dropdown")
|
|
139433
139436
|
], Xn.prototype, "orderedListDropdown", 2);
|
|
139434
|
-
|
|
139437
|
+
br([
|
|
139435
139438
|
D({ attribute: "tiptap-editor", type: Object })
|
|
139436
139439
|
], Xn.prototype, "tiptapEditor", 2);
|
|
139437
|
-
|
|
139440
|
+
br([
|
|
139438
139441
|
D({ type: Object })
|
|
139439
139442
|
], Xn.prototype, "model", 2);
|
|
139440
|
-
|
|
139443
|
+
br([
|
|
139441
139444
|
D({ attribute: "enable-all", type: Boolean })
|
|
139442
139445
|
], Xn.prototype, "enableAll", 2);
|
|
139443
|
-
|
|
139446
|
+
br([
|
|
139444
139447
|
D({ attribute: "basic-format", type: Boolean })
|
|
139445
139448
|
], Xn.prototype, "basicFormat", 2);
|
|
139446
|
-
|
|
139449
|
+
br([
|
|
139447
139450
|
D({ attribute: "text-script", type: Boolean })
|
|
139448
139451
|
], Xn.prototype, "textScript", 2);
|
|
139449
|
-
|
|
139452
|
+
br([
|
|
139450
139453
|
D({ attribute: "text-alignment", type: Boolean })
|
|
139451
139454
|
], Xn.prototype, "textAlignment", 2);
|
|
139452
|
-
|
|
139455
|
+
br([
|
|
139453
139456
|
D({ attribute: "text-listing", type: Boolean })
|
|
139454
139457
|
], Xn.prototype, "textListing", 2);
|
|
139455
|
-
|
|
139458
|
+
br([
|
|
139456
139459
|
D({ attribute: "font-size", type: Boolean })
|
|
139457
139460
|
], Xn.prototype, "fontSize", 2);
|
|
139458
|
-
|
|
139461
|
+
br([
|
|
139459
139462
|
D({ attribute: "font-color", type: Boolean })
|
|
139460
139463
|
], Xn.prototype, "fontColor", 2);
|
|
139461
|
-
|
|
139464
|
+
br([
|
|
139462
139465
|
D({ attribute: "block-formatting", type: Boolean })
|
|
139463
139466
|
], Xn.prototype, "blockFormatting", 2);
|
|
139464
|
-
|
|
139467
|
+
br([
|
|
139465
139468
|
D({ attribute: "text-indentation", type: Boolean })
|
|
139466
139469
|
], Xn.prototype, "textIndentation", 2);
|
|
139467
|
-
|
|
139470
|
+
br([
|
|
139468
139471
|
D({ attribute: "line-height", type: Boolean })
|
|
139469
139472
|
], Xn.prototype, "lineHeight", 2);
|
|
139470
|
-
|
|
139473
|
+
br([
|
|
139471
139474
|
D({ attribute: "link", type: Boolean })
|
|
139472
139475
|
], Xn.prototype, "link", 2);
|
|
139473
|
-
|
|
139476
|
+
br([
|
|
139474
139477
|
D({ attribute: "highlight", type: Boolean })
|
|
139475
139478
|
], Xn.prototype, "highlight", 2);
|
|
139476
|
-
|
|
139479
|
+
br([
|
|
139477
139480
|
D({ type: Object })
|
|
139478
139481
|
], Xn.prototype, "boundary", 2);
|
|
139479
|
-
|
|
139482
|
+
br([
|
|
139480
139483
|
D({ attribute: "on-request-asset", type: Function })
|
|
139481
139484
|
], Xn.prototype, "onRequestAsset", 2);
|
|
139482
|
-
|
|
139485
|
+
br([
|
|
139483
139486
|
D({ attribute: "one-row", type: Boolean })
|
|
139484
139487
|
], Xn.prototype, "singleRow", 2);
|
|
139485
|
-
|
|
139488
|
+
br([
|
|
139486
139489
|
pe()
|
|
139487
139490
|
], Xn.prototype, "isBulletListOpen", 2);
|
|
139488
|
-
|
|
139491
|
+
br([
|
|
139489
139492
|
pe()
|
|
139490
139493
|
], Xn.prototype, "isOrderedListOpen", 2);
|
|
139491
|
-
|
|
139494
|
+
br([
|
|
139492
139495
|
pe()
|
|
139493
139496
|
], Xn.prototype, "isInvalidUrl", 2);
|
|
139494
|
-
|
|
139497
|
+
br([
|
|
139495
139498
|
pe()
|
|
139496
139499
|
], Xn.prototype, "previousTiptapEditor", 2);
|
|
139497
|
-
|
|
139500
|
+
br([
|
|
139498
139501
|
lt("tiptapEditor", { waitUntilFirstUpdate: !0 })
|
|
139499
139502
|
], Xn.prototype, "handleTiptapEditorChange", 1);
|
|
139500
|
-
|
|
139503
|
+
br([
|
|
139501
139504
|
pe()
|
|
139502
139505
|
], Xn.prototype, "_openAnchorDialog", 2);
|
|
139503
|
-
|
|
139506
|
+
br([
|
|
139504
139507
|
pe()
|
|
139505
139508
|
], Xn.prototype, "_openSpecialCharDialog", 2);
|
|
139506
|
-
|
|
139509
|
+
br([
|
|
139507
139510
|
pe()
|
|
139508
139511
|
], Xn.prototype, "_openImageDialog", 2);
|
|
139509
|
-
Xn =
|
|
139512
|
+
Xn = br([
|
|
139510
139513
|
Qt("cx-rte-bubble-menu")
|
|
139511
139514
|
], Xn);
|
|
139512
139515
|
const { min: SFt, max: TFt } = Math, uf = (i, e = 0, t = 1) => SFt(TFt(e, i), t), ZO = (i) => {
|
|
@@ -143710,7 +143713,7 @@ function Zjt() {
|
|
|
143710
143713
|
}
|
|
143711
143714
|
}
|
|
143712
143715
|
function wt() {
|
|
143713
|
-
|
|
143716
|
+
wr(Xt, function() {
|
|
143714
143717
|
Nt() && _i();
|
|
143715
143718
|
});
|
|
143716
143719
|
}
|
|
@@ -143807,7 +143810,7 @@ function Zjt() {
|
|
|
143807
143810
|
return pt = _;
|
|
143808
143811
|
} }, totalEchoes: { get: function() {
|
|
143809
143812
|
return ta;
|
|
143810
|
-
} }, newPSD: cr, usePSD:
|
|
143813
|
+
} }, newPSD: cr, usePSD: wr, scheduler: { get: function() {
|
|
143811
143814
|
return le;
|
|
143812
143815
|
}, set: function(_) {
|
|
143813
143816
|
le = _;
|
|
@@ -143865,7 +143868,7 @@ function Zjt() {
|
|
|
143865
143868
|
var Z = pt, oe = Object.create(Z);
|
|
143866
143869
|
return oe.parent = Z, oe.ref = 0, oe.global = !1, oe.id = ++$n, Xt.env, oe.env = Ni ? { Promise: Ot, PromiseProp: { value: Ot, configurable: !0, writable: !0 }, all: Ot.all, race: Ot.race, allSettled: Ot.allSettled, any: Ot.any, resolve: Ot.resolve, reject: Ot.reject } : {}, T && l(oe, T), ++Z.ref, oe.finalize = function() {
|
|
143867
143870
|
--this.parent.ref || this.parent.finalize();
|
|
143868
|
-
}, U =
|
|
143871
|
+
}, U = wr(oe, _, R, U), oe.ref === 0 && oe.finalize(), U;
|
|
143869
143872
|
}
|
|
143870
143873
|
function nn() {
|
|
143871
143874
|
return an.id || (an.id = ++ks), ++an.awaits, an.echoes += Fe, an.id;
|
|
@@ -143894,7 +143897,7 @@ function Zjt() {
|
|
|
143894
143897
|
var _ = o.Promise;
|
|
143895
143898
|
return Ni ? { Promise: _, PromiseProp: Object.getOwnPropertyDescriptor(o, "Promise"), all: _.all, race: _.race, allSettled: _.allSettled, any: _.any, resolve: _.resolve, reject: _.reject } : {};
|
|
143896
143899
|
}
|
|
143897
|
-
function
|
|
143900
|
+
function wr(_, T, R, U, Z) {
|
|
143898
143901
|
var oe = pt;
|
|
143899
143902
|
try {
|
|
143900
143903
|
return Zr(_, !0), T(R, U, Z);
|
|
@@ -144292,14 +144295,14 @@ function Zjt() {
|
|
|
144292
144295
|
return Et(U(), T());
|
|
144293
144296
|
} : T, _.justLimit = R && !U;
|
|
144294
144297
|
}
|
|
144295
|
-
function
|
|
144298
|
+
function is(_, T) {
|
|
144296
144299
|
if (_.isPrimKey) return T.primaryKey;
|
|
144297
144300
|
var R = T.getIndexByKeyPath(_.index);
|
|
144298
144301
|
if (!R) throw new Ke.Schema("KeyPath " + _.index + " on object store " + T.name + " is not indexed");
|
|
144299
144302
|
return R;
|
|
144300
144303
|
}
|
|
144301
144304
|
function nc(_, T, R) {
|
|
144302
|
-
var U =
|
|
144305
|
+
var U = is(_, T.schema);
|
|
144303
144306
|
return T.openCursor({ trans: R, values: !_.keysOnly, reverse: _.dir === "prev", unique: !!_.unique, query: { index: U, range: _.range } });
|
|
144304
144307
|
}
|
|
144305
144308
|
function Hs(_, T, R, U) {
|
|
@@ -144394,7 +144397,7 @@ function Zjt() {
|
|
|
144394
144397
|
var T = this;
|
|
144395
144398
|
return this._read(function(R) {
|
|
144396
144399
|
var U = T._ctx, Z = U.table.core;
|
|
144397
|
-
if (Cn(U, !0)) return Z.count({ trans: R, query: { index:
|
|
144400
|
+
if (Cn(U, !0)) return Z.count({ trans: R, query: { index: is(U, Z.schema), range: U.range } }).then(function(fe) {
|
|
144398
144401
|
return Math.min(fe, U.limit);
|
|
144399
144402
|
});
|
|
144400
144403
|
var oe = 0;
|
|
@@ -144421,7 +144424,7 @@ function Zjt() {
|
|
|
144421
144424
|
return this._read(function(R) {
|
|
144422
144425
|
var U = T._ctx;
|
|
144423
144426
|
if (U.dir === "next" && Cn(U, !0) && 0 < U.limit) {
|
|
144424
|
-
var Z = U.valueMapper, oe =
|
|
144427
|
+
var Z = U.valueMapper, oe = is(U, U.table.core.schema);
|
|
144425
144428
|
return U.table.core.query({ trans: R, limit: U.limit, values: !0, query: { index: oe, range: U.range } }).then(function(Se) {
|
|
144426
144429
|
return Se = Se.result, Z ? Se.map(Z) : Se;
|
|
144427
144430
|
});
|
|
@@ -144502,7 +144505,7 @@ function Zjt() {
|
|
|
144502
144505
|
}, mn.prototype.primaryKeys = function(_) {
|
|
144503
144506
|
var T = this._ctx;
|
|
144504
144507
|
if (T.dir === "next" && Cn(T, !0) && 0 < T.limit) return this._read(function(U) {
|
|
144505
|
-
var Z =
|
|
144508
|
+
var Z = is(T, T.table.core.schema);
|
|
144506
144509
|
return T.table.core.query({ trans: U, values: !1, limit: T.limit, query: { index: Z, range: T.range } });
|
|
144507
144510
|
}).then(function(U) {
|
|
144508
144511
|
return U.result;
|
|
@@ -144617,7 +144620,7 @@ function Zjt() {
|
|
|
144617
144620
|
return $a("");
|
|
144618
144621
|
}).limit(0);
|
|
144619
144622
|
}
|
|
144620
|
-
function
|
|
144623
|
+
function ns(_, T, R, U) {
|
|
144621
144624
|
var Z, oe, fe, Se, Re, He, Xe, De = R.length;
|
|
144622
144625
|
if (!R.every(function(Ye) {
|
|
144623
144626
|
return typeof Ye == "string";
|
|
@@ -144710,21 +144713,21 @@ function Zjt() {
|
|
|
144710
144713
|
}, ao.prototype.startsWith = function(_) {
|
|
144711
144714
|
return typeof _ != "string" ? tr(this, wo) : this.between(_, _ + Sr, !0, !0);
|
|
144712
144715
|
}, ao.prototype.startsWithIgnoreCase = function(_) {
|
|
144713
|
-
return _ === "" ? this.startsWith(_) :
|
|
144716
|
+
return _ === "" ? this.startsWith(_) : ns(this, function(T, R) {
|
|
144714
144717
|
return T.indexOf(R[0]) === 0;
|
|
144715
144718
|
}, [_], Sr);
|
|
144716
144719
|
}, ao.prototype.equalsIgnoreCase = function(_) {
|
|
144717
|
-
return
|
|
144720
|
+
return ns(this, function(T, R) {
|
|
144718
144721
|
return T === R[0];
|
|
144719
144722
|
}, [_], "");
|
|
144720
144723
|
}, ao.prototype.anyOfIgnoreCase = function() {
|
|
144721
144724
|
var _ = ve.apply(ee, arguments);
|
|
144722
|
-
return _.length === 0 ? oc(this) :
|
|
144725
|
+
return _.length === 0 ? oc(this) : ns(this, function(T, R) {
|
|
144723
144726
|
return R.indexOf(T) !== -1;
|
|
144724
144727
|
}, _, "");
|
|
144725
144728
|
}, ao.prototype.startsWithAnyOfIgnoreCase = function() {
|
|
144726
144729
|
var _ = ve.apply(ee, arguments);
|
|
144727
|
-
return _.length === 0 ? oc(this) :
|
|
144730
|
+
return _.length === 0 ? oc(this) : ns(this, function(T, R) {
|
|
144728
144731
|
return R.some(function(U) {
|
|
144729
144732
|
return T.indexOf(U) === 0;
|
|
144730
144733
|
});
|
|
@@ -144831,7 +144834,7 @@ function Zjt() {
|
|
|
144831
144834
|
if (A(!pt.global), --this._reculock == 0) for (pt.global || (pt.lockOwnerFor = null); 0 < this._blockedFuncs.length && !this._locked(); ) {
|
|
144832
144835
|
var _ = this._blockedFuncs.shift();
|
|
144833
144836
|
try {
|
|
144834
|
-
|
|
144837
|
+
wr(_[1], _[0]);
|
|
144835
144838
|
} catch {
|
|
144836
144839
|
}
|
|
144837
144840
|
}
|
|
@@ -144974,8 +144977,8 @@ function Zjt() {
|
|
|
144974
144977
|
var Jt, xi = (dt || ht || { length: 1 }).length;
|
|
144975
144978
|
if (dt && ht && dt.length !== ht.length) throw new Error("Given keys array must have same length as given values array.");
|
|
144976
144979
|
if (xi === 0) return qt({ numFailures: 0, failures: {}, results: [], lastResult: void 0 });
|
|
144977
|
-
function pn(
|
|
144978
|
-
++Us, Fa(
|
|
144980
|
+
function pn(ss) {
|
|
144981
|
+
++Us, Fa(ss);
|
|
144979
144982
|
}
|
|
144980
144983
|
var Sn = [], hn = [], Us = 0;
|
|
144981
144984
|
if (ot === "deleteRange") {
|
|
@@ -144983,18 +144986,18 @@ function Zjt() {
|
|
|
144983
144986
|
Ct.type === 3 ? Sn.push(Jt = $t.clear()) : Sn.push(Jt = $t.delete(U(Ct)));
|
|
144984
144987
|
} else {
|
|
144985
144988
|
var Mt = si ? Mt ? [ht, dt] : [ht, null] : [dt, null], cn = Mt[0], ra = Mt[1];
|
|
144986
|
-
if (si) for (var
|
|
144987
|
-
else for (
|
|
144989
|
+
if (si) for (var as = 0; as < xi; ++as) Sn.push(Jt = ra && ra[as] !== void 0 ? $t[ot](cn[as], ra[as]) : $t[ot](cn[as])), Jt.onerror = pn;
|
|
144990
|
+
else for (as = 0; as < xi; ++as) Sn.push(Jt = $t[ot](cn[as])), Jt.onerror = pn;
|
|
144988
144991
|
}
|
|
144989
|
-
function Wh(
|
|
144990
|
-
|
|
144992
|
+
function Wh(ss) {
|
|
144993
|
+
ss = ss.target.result, Sn.forEach(function(gu, um) {
|
|
144991
144994
|
return gu.error != null && (hn[um] = gu.error);
|
|
144992
144995
|
}), qt({ numFailures: Us, failures: hn, results: ot === "delete" ? dt : Sn.map(function(gu) {
|
|
144993
144996
|
return gu.result;
|
|
144994
|
-
}), lastResult:
|
|
144997
|
+
}), lastResult: ss });
|
|
144995
144998
|
}
|
|
144996
|
-
Jt.onerror = function(
|
|
144997
|
-
pn(
|
|
144999
|
+
Jt.onerror = function(ss) {
|
|
145000
|
+
pn(ss), Wh(ss);
|
|
144998
145001
|
}, Jt.onsuccess = Wh;
|
|
144999
145002
|
});
|
|
145000
145003
|
}, getMany: function(Je) {
|
|
@@ -145039,31 +145042,31 @@ function Zjt() {
|
|
|
145039
145042
|
}, cn.trans = Ve, cn.stop = cn.continue = cn.continuePrimaryKey = cn.advance = function() {
|
|
145040
145043
|
throw new Error("Cursor not started");
|
|
145041
145044
|
}, cn.fail = Zi(ti), cn.next = function() {
|
|
145042
|
-
var ra = this,
|
|
145045
|
+
var ra = this, as = 1;
|
|
145043
145046
|
return this.start(function() {
|
|
145044
|
-
return
|
|
145047
|
+
return as-- ? ra.continue() : ra.stop();
|
|
145045
145048
|
}).then(function() {
|
|
145046
145049
|
return ra;
|
|
145047
145050
|
});
|
|
145048
145051
|
}, cn.start = function(ra) {
|
|
145049
|
-
function
|
|
145052
|
+
function as() {
|
|
145050
145053
|
if (Jt.result) try {
|
|
145051
145054
|
ra();
|
|
145052
|
-
} catch (
|
|
145053
|
-
cn.fail(
|
|
145055
|
+
} catch (ss) {
|
|
145056
|
+
cn.fail(ss);
|
|
145054
145057
|
}
|
|
145055
145058
|
else cn.done = !0, cn.start = function() {
|
|
145056
145059
|
throw new Error("Cursor behind last entry");
|
|
145057
145060
|
}, cn.stop();
|
|
145058
145061
|
}
|
|
145059
|
-
var Wh = new Promise(function(
|
|
145060
|
-
|
|
145061
|
-
cn.stop = cn.continue = cn.continuePrimaryKey = cn.advance = Us,
|
|
145062
|
+
var Wh = new Promise(function(ss, gu) {
|
|
145063
|
+
ss = Zi(ss), Jt.onerror = Ho(gu), cn.fail = gu, cn.stop = function(um) {
|
|
145064
|
+
cn.stop = cn.continue = cn.continuePrimaryKey = cn.advance = Us, ss(um);
|
|
145062
145065
|
};
|
|
145063
145066
|
});
|
|
145064
|
-
return Jt.onsuccess = Zi(function(
|
|
145065
|
-
Jt.onsuccess =
|
|
145066
|
-
}), cn.continue = pn, cn.continuePrimaryKey = Sn, cn.advance = hn,
|
|
145067
|
+
return Jt.onsuccess = Zi(function(ss) {
|
|
145068
|
+
Jt.onsuccess = as, as();
|
|
145069
|
+
}), cn.continue = pn, cn.continuePrimaryKey = Sn, cn.advance = hn, as(), Wh;
|
|
145067
145070
|
}, qt(cn)) : qt(null);
|
|
145068
145071
|
}, ti);
|
|
145069
145072
|
});
|
|
@@ -145409,7 +145412,7 @@ function Zjt() {
|
|
|
145409
145412
|
} })[N] = function() {
|
|
145410
145413
|
return sc(this);
|
|
145411
145414
|
}, Fi));
|
|
145412
|
-
var
|
|
145415
|
+
var xr = {}, kd = {}, lc = !1;
|
|
145413
145416
|
function Vc(_) {
|
|
145414
145417
|
Gu(kd, _), lc || (lc = !0, setTimeout(function() {
|
|
145415
145418
|
lc = !1, Vh(kd, !(kd = {}));
|
|
@@ -145418,10 +145421,10 @@ function Zjt() {
|
|
|
145418
145421
|
function Vh(_, T) {
|
|
145419
145422
|
T === void 0 && (T = !1);
|
|
145420
145423
|
var R = /* @__PURE__ */ new Set();
|
|
145421
|
-
if (_.all) for (var U = 0, Z = Object.values(
|
|
145424
|
+
if (_.all) for (var U = 0, Z = Object.values(xr); U < Z.length; U++) Uh(fe = Z[U], _, R, T);
|
|
145422
145425
|
else for (var oe in _) {
|
|
145423
145426
|
var fe, Se = /^idb\:\/\/(.*)\/(.*)\//.exec(oe);
|
|
145424
|
-
Se && (oe = Se[1], Se = Se[2], (fe =
|
|
145427
|
+
Se && (oe = Se[1], Se = Se[2], (fe = xr["idb://".concat(oe, "/").concat(Se)]) && Uh(fe, _, R, T));
|
|
145425
145428
|
}
|
|
145426
145429
|
R.forEach(function(Re) {
|
|
145427
145430
|
return Re();
|
|
@@ -145802,7 +145805,7 @@ function Zjt() {
|
|
|
145802
145805
|
return !(oe in R.failures);
|
|
145803
145806
|
})), T);
|
|
145804
145807
|
}
|
|
145805
|
-
function
|
|
145808
|
+
function rs(_, T) {
|
|
145806
145809
|
return R = _, ((U = T).lower === void 0 || (U.lowerOpen ? 0 < ue(R, U.lower) : 0 <= ue(R, U.lower))) && (_ = _, (T = T).upper === void 0 || (T.upperOpen ? ue(_, T.upper) < 0 : ue(_, T.upper) <= 0));
|
|
145807
145810
|
var R, U;
|
|
145808
145811
|
}
|
|
@@ -145813,8 +145816,8 @@ function Zjt() {
|
|
|
145813
145816
|
if (Ye.type === "add" || Ye.type === "put") for (var ot = new qo(), dt = Ye.values.length - 1; 0 <= dt; --dt) {
|
|
145814
145817
|
var ht, Ct = Ye.values[dt], qt = He(Ct);
|
|
145815
145818
|
ot.hasKey(qt) || (ht = Xe(Ct), (Se && s(ht) ? ht.some(function(Jt) {
|
|
145816
|
-
return
|
|
145817
|
-
}) :
|
|
145819
|
+
return rs(Jt, Re);
|
|
145820
|
+
}) : rs(ht, Re)) && (ot.addKey(qt), Ve.push(Ct)));
|
|
145818
145821
|
}
|
|
145819
145822
|
switch (Ye.type) {
|
|
145820
145823
|
case "add":
|
|
@@ -145847,7 +145850,7 @@ function Zjt() {
|
|
|
145847
145850
|
case "deleteRange":
|
|
145848
145851
|
var si = Ye.range;
|
|
145849
145852
|
Je = ze.filter(function(xi) {
|
|
145850
|
-
return !
|
|
145853
|
+
return !rs(He(xi), si);
|
|
145851
145854
|
});
|
|
145852
145855
|
}
|
|
145853
145856
|
return Je;
|
|
@@ -145896,7 +145899,7 @@ function Zjt() {
|
|
|
145896
145899
|
return function() {
|
|
145897
145900
|
if (oe.abort(), U === "readwrite") {
|
|
145898
145901
|
for (var He = /* @__PURE__ */ new Set(), Xe = 0, De = R; Xe < De.length; Xe++) {
|
|
145899
|
-
var Qe = De[Xe], ze =
|
|
145902
|
+
var Qe = De[Xe], ze = xr["idb://".concat(T, "/").concat(Qe)];
|
|
145900
145903
|
if (ze) {
|
|
145901
145904
|
var Ye = _.table(Qe), Je = ze.optimisticOps.filter(function(xi) {
|
|
145902
145905
|
return xi.trans === Se;
|
|
@@ -145927,7 +145930,7 @@ function Zjt() {
|
|
|
145927
145930
|
return n(n({}, U), { mutate: function(oe) {
|
|
145928
145931
|
var fe = pt.trans;
|
|
145929
145932
|
if (Z.outbound || fe.db._options.cache === "disabled" || fe.explicit || fe.idbtrans.mode !== "readwrite") return U.mutate(oe);
|
|
145930
|
-
var Se =
|
|
145933
|
+
var Se = xr["idb://".concat(T, "/").concat(R)];
|
|
145931
145934
|
return Se ? (fe = U.mutate(oe), oe.type !== "add" && oe.type !== "put" || !(50 <= oe.values.length || _d(Z, oe).some(function(Re) {
|
|
145932
145935
|
return Re == null;
|
|
145933
145936
|
})) ? (Se.optimisticOps.push(oe), oe.mutatedParts && Vc(oe.mutatedParts), fe.then(function(Re) {
|
|
@@ -145946,7 +145949,7 @@ function Zjt() {
|
|
|
145946
145949
|
}, query: function(oe) {
|
|
145947
145950
|
if (!gl(pt, U) || !hu("query", oe)) return U.query(oe);
|
|
145948
145951
|
var fe = ((He = pt.trans) === null || He === void 0 ? void 0 : He.db._options.cache) === "immutable", De = pt, Se = De.requery, Re = De.signal, He = function(Ye, Je, Ve, ot) {
|
|
145949
|
-
var dt =
|
|
145952
|
+
var dt = xr["idb://".concat(Ye, "/").concat(Je)];
|
|
145950
145953
|
if (!dt) return [];
|
|
145951
145954
|
if (!(Je = dt.queries[Ve])) return [null, !1, dt, null];
|
|
145952
145955
|
var ht = Je[(ot.query ? ot.query.index.name : null) || ""];
|
|
@@ -145974,7 +145977,7 @@ function Zjt() {
|
|
|
145974
145977
|
return Ye;
|
|
145975
145978
|
}).catch(function(Ye) {
|
|
145976
145979
|
return ze && Xe && ce(ze, Xe), Promise.reject(Ye);
|
|
145977
|
-
}), Xe = { obsSet: oe.obsSet, promise: De, subscribers: /* @__PURE__ */ new Set(), type: "query", req: oe, dirty: !1 }, ze ? ze.push(Xe) : (ze = [Xe], (Qe = Qe || (
|
|
145980
|
+
}), Xe = { obsSet: oe.obsSet, promise: De, subscribers: /* @__PURE__ */ new Set(), type: "query", req: oe, dirty: !1 }, ze ? ze.push(Xe) : (ze = [Xe], (Qe = Qe || (xr["idb://".concat(T, "/").concat(R)] = { queries: { query: {}, count: {} }, objs: /* @__PURE__ */ new Map(), optimisticOps: [], unsignaledParts: {} })).queries.query[oe.query.index.name || ""] = ze)), xe(Xe, ze, Se, Re), Xe.promise.then(function(Ye) {
|
|
145978
145981
|
return { result: Cd(Ye.result, oe, Qe?.optimisticOps, U, Xe, fe) };
|
|
145979
145982
|
});
|
|
145980
145983
|
} });
|
|
@@ -146015,7 +146018,7 @@ function Zjt() {
|
|
|
146015
146018
|
})), this;
|
|
146016
146019
|
}, ct.prototype.open = function() {
|
|
146017
146020
|
var _ = this;
|
|
146018
|
-
return
|
|
146021
|
+
return wr(Xt, function() {
|
|
146019
146022
|
return sm(_);
|
|
146020
146023
|
});
|
|
146021
146024
|
}, ct.prototype._close = function() {
|
|
@@ -146134,7 +146137,7 @@ function Zjt() {
|
|
|
146134
146137
|
});
|
|
146135
146138
|
});
|
|
146136
146139
|
}).bind(null, this, oe, fe, Z, R);
|
|
146137
|
-
return Z ? Z._promise(oe, Re, "lock") : pt.trans ?
|
|
146140
|
+
return Z ? Z._promise(oe, Re, "lock") : pt.trans ? wr(pt.transless, function() {
|
|
146138
146141
|
return U._whenReady(Re);
|
|
146139
146142
|
}) : this._whenReady(Re);
|
|
146140
146143
|
}, ct.prototype.table = function(_) {
|
|
@@ -146313,7 +146316,7 @@ function Zjt() {
|
|
|
146313
146316
|
l(this, _);
|
|
146314
146317
|
};
|
|
146315
146318
|
}, ignoreTransaction: function(_) {
|
|
146316
|
-
return pt.trans ?
|
|
146319
|
+
return pt.trans ? wr(pt.transless, _) : _();
|
|
146317
146320
|
}, vip: qu, async: function(_) {
|
|
146318
146321
|
return function() {
|
|
146319
146322
|
try {
|
|
@@ -146342,7 +146345,7 @@ function Zjt() {
|
|
|
146342
146345
|
typeof T == "string" ? V(_, T, void 0) : "length" in T && [].map.call(T, function(R) {
|
|
146343
146346
|
V(_, R, void 0);
|
|
146344
146347
|
});
|
|
146345
|
-
}, shallowClone: H, deepClone: K, getObjectDiff: qh, cmp: ue, asap: I, minKey: -1 / 0, addons: [], connections: Qi, errnames: et, dependencies: zt, cache:
|
|
146348
|
+
}, shallowClone: H, deepClone: K, getObjectDiff: qh, cmp: ue, asap: I, minKey: -1 / 0, addons: [], connections: Qi, errnames: et, dependencies: zt, cache: xr, semVer: "4.0.11", version: "4.0.11".split(".").map(function(_) {
|
|
146346
146349
|
return parseInt(_);
|
|
146347
146350
|
}).reduce(function(_, T, R) {
|
|
146348
146351
|
return _ + T / Math.pow(10, 2 * R);
|
|
@@ -148556,7 +148559,7 @@ yn.dependencies = {
|
|
|
148556
148559
|
"cx-confirm-popover": OC,
|
|
148557
148560
|
"cx-dialog": Oa,
|
|
148558
148561
|
"cx-divider": Fs,
|
|
148559
|
-
"cx-dropdown":
|
|
148562
|
+
"cx-dropdown": ys,
|
|
148560
148563
|
"cx-icon": _r,
|
|
148561
148564
|
"cx-icon-button": Cr,
|
|
148562
148565
|
"cx-input": Yr,
|
|
@@ -148810,7 +148813,7 @@ let rl = class extends di {
|
|
|
148810
148813
|
rl.styles = [ui, cVt];
|
|
148811
148814
|
rl.dependencies = {
|
|
148812
148815
|
"cx-button": Rn,
|
|
148813
|
-
"cx-dropdown":
|
|
148816
|
+
"cx-dropdown": ys,
|
|
148814
148817
|
"cx-icon-button": Cr,
|
|
148815
148818
|
"cx-input": Yr,
|
|
148816
148819
|
"cx-menu": sl,
|
|
@@ -152538,7 +152541,7 @@ Ji.dependencies = {
|
|
|
152538
152541
|
"cx-button": Rn,
|
|
152539
152542
|
"cx-dialog": Oa,
|
|
152540
152543
|
"cx-divider": Fs,
|
|
152541
|
-
"cx-dropdown":
|
|
152544
|
+
"cx-dropdown": ys,
|
|
152542
152545
|
"cx-grid": eu,
|
|
152543
152546
|
"cx-grid-item": tu,
|
|
152544
152547
|
"cx-icon": _r,
|
|
@@ -153288,7 +153291,7 @@ $u.dependencies = {
|
|
|
153288
153291
|
"cx-button": Rn,
|
|
153289
153292
|
"cx-button-group": u4,
|
|
153290
153293
|
"cx-divider": Fs,
|
|
153291
|
-
"cx-dropdown":
|
|
153294
|
+
"cx-dropdown": ys,
|
|
153292
153295
|
"cx-icon": _r,
|
|
153293
153296
|
"cx-menu": sl,
|
|
153294
153297
|
"cx-space": Mn,
|
|
@@ -153322,7 +153325,7 @@ var jUt = Object.defineProperty, HUt = Object.getOwnPropertyDescriptor, $c = (i,
|
|
|
153322
153325
|
(a = i[o]) && (r = (n ? a(e, t, r) : a(r)) || r);
|
|
153323
153326
|
return n && r && jUt(e, t, r), r;
|
|
153324
153327
|
};
|
|
153325
|
-
let
|
|
153328
|
+
let vs = class extends di {
|
|
153326
153329
|
constructor() {
|
|
153327
153330
|
super(...arguments), this.localize = new Si(this), this.data = {
|
|
153328
153331
|
id: "",
|
|
@@ -153478,8 +153481,8 @@ let fs = class extends di {
|
|
|
153478
153481
|
)}</div></div><slot></slot></div>`;
|
|
153479
153482
|
}
|
|
153480
153483
|
};
|
|
153481
|
-
|
|
153482
|
-
|
|
153484
|
+
vs.styles = [ui, zUt];
|
|
153485
|
+
vs.dependencies = {
|
|
153483
153486
|
"cx-icon": _r,
|
|
153484
153487
|
"cx-line-clamp": Fu,
|
|
153485
153488
|
"cx-spinner": hd,
|
|
@@ -153488,46 +153491,46 @@ fs.dependencies = {
|
|
|
153488
153491
|
};
|
|
153489
153492
|
$c([
|
|
153490
153493
|
D({ reflect: !1, type: Object })
|
|
153491
|
-
],
|
|
153494
|
+
], vs.prototype, "data", 2);
|
|
153492
153495
|
$c([
|
|
153493
153496
|
D({ reflect: !0, type: Boolean })
|
|
153494
|
-
],
|
|
153497
|
+
], vs.prototype, "selected", 2);
|
|
153495
153498
|
$c([
|
|
153496
153499
|
D({ reflect: !0, type: Number })
|
|
153497
|
-
],
|
|
153500
|
+
], vs.prototype, "scale", 2);
|
|
153498
153501
|
$c([
|
|
153499
153502
|
D({ attribute: "max-scale", reflect: !0, type: Number })
|
|
153500
|
-
],
|
|
153503
|
+
], vs.prototype, "maxScale", 2);
|
|
153501
153504
|
$c([
|
|
153502
153505
|
D({ attribute: "max-duration", reflect: !0, type: Number })
|
|
153503
|
-
],
|
|
153506
|
+
], vs.prototype, "maxDuration", 2);
|
|
153504
153507
|
$c([
|
|
153505
153508
|
D({ reflect: !1, type: Object })
|
|
153506
|
-
],
|
|
153509
|
+
], vs.prototype, "cache", 2);
|
|
153507
153510
|
$c([
|
|
153508
153511
|
D({ attribute: "canvas-src", reflect: !1, type: String })
|
|
153509
|
-
],
|
|
153512
|
+
], vs.prototype, "canvasSrc", 2);
|
|
153510
153513
|
$c([
|
|
153511
153514
|
D({ reflect: !1, type: Object })
|
|
153512
|
-
],
|
|
153515
|
+
], vs.prototype, "canvas", 2);
|
|
153513
153516
|
$c([
|
|
153514
153517
|
pe()
|
|
153515
|
-
],
|
|
153518
|
+
], vs.prototype, "expectedFrameCount", 2);
|
|
153516
153519
|
$c([
|
|
153517
153520
|
pe()
|
|
153518
|
-
],
|
|
153521
|
+
], vs.prototype, "frameIterator", 2);
|
|
153519
153522
|
$c([
|
|
153520
153523
|
pe()
|
|
153521
|
-
],
|
|
153524
|
+
], vs.prototype, "interval", 2);
|
|
153522
153525
|
$c([
|
|
153523
153526
|
pe()
|
|
153524
|
-
],
|
|
153527
|
+
], vs.prototype, "video", 2);
|
|
153525
153528
|
$c([
|
|
153526
153529
|
lt(["data", "scale", "canvas", "maxDuration"], { waitUntilFirstUpdate: !0 })
|
|
153527
|
-
],
|
|
153528
|
-
|
|
153530
|
+
], vs.prototype, "handleDataChange", 1);
|
|
153531
|
+
vs = $c([
|
|
153529
153532
|
Qt("cx-video-editor-track")
|
|
153530
|
-
],
|
|
153533
|
+
], vs);
|
|
153531
153534
|
const VUt = ni`.video-editor-transition{background-color:var(--cx-color-neutral-500);opacity:.9;border-radius:var(--cx-border-radius-small);border:2px solid var(--cx-color-neutral-500);width:42px;height:calc(100% + 2px);color:var(--cx-color-neutral-0);z-index:1;justify-content:center;align-items:center;display:flex}.video-editor-transition--selected{background-color:var(--cx-color-primary);border-color:var(--cx-color-primary)}`;
|
|
153532
153535
|
var UUt = Object.defineProperty, qUt = Object.getOwnPropertyDescriptor, Ox = (i, e, t, n) => {
|
|
153533
153536
|
for (var r = n > 1 ? void 0 : n ? qUt(e, t) : e, o = i.length - 1, a; o >= 0; o--)
|
|
@@ -153769,7 +153772,7 @@ Br.dependencies = {
|
|
|
153769
153772
|
"cx-icon": _r,
|
|
153770
153773
|
"cx-popup": $l,
|
|
153771
153774
|
"cx-resize-observer": Wy,
|
|
153772
|
-
"cx-video-editor-track":
|
|
153775
|
+
"cx-video-editor-track": vs,
|
|
153773
153776
|
"cx-video-editor-transition": Mh
|
|
153774
153777
|
};
|
|
153775
153778
|
bo([
|
|
@@ -154178,10 +154181,10 @@ var iqt = Object.defineProperty, nqt = Object.getOwnPropertyDescriptor, NY = (i)
|
|
|
154178
154181
|
for (var r = n > 1 ? void 0 : n ? nqt(e, t) : e, o = i.length - 1, a; o >= 0; o--)
|
|
154179
154182
|
(a = i[o]) && (r = (n ? a(e, t, r) : a(r)) || r);
|
|
154180
154183
|
return n && r && iqt(e, t, r), r;
|
|
154181
|
-
}, LY = (i, e, t) => e.has(i) || NY("Cannot " + t), Sc = (i, e, t) => (LY(i, e, "read from private field"), t ? t.call(i) : e.get(i)), rqt = (i, e, t) => e.has(i) ? NY("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(i) : e.set(i, t), Ml = (i, e, t) => (LY(i, e, "access private method"), t),
|
|
154184
|
+
}, LY = (i, e, t) => e.has(i) || NY("Cannot " + t), Sc = (i, e, t) => (LY(i, e, "read from private field"), t ? t.call(i) : e.get(i)), rqt = (i, e, t) => e.has(i) ? NY("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(i) : e.set(i, t), Ml = (i, e, t) => (LY(i, e, "access private method"), t), kr, xC, s4, Gw, Uy, RY, BY, $Y, FY, h7, g7, l4, zY, jY, HY, VY, UY;
|
|
154182
154185
|
let Aa = class extends di {
|
|
154183
154186
|
constructor() {
|
|
154184
|
-
super(...arguments), rqt(this,
|
|
154187
|
+
super(...arguments), rqt(this, kr), this.localize = new Si(this), this.expanded = !1, this.order = "", this.isRoot = !1, this.canAdd = !1, this.canEdit = !1, this.canCopy = !1, this.canPaste = !1, this.canDelete = !1, this.showMenu = !1;
|
|
154185
154188
|
}
|
|
154186
154189
|
/** The direct child tag name for a given parent tag (e.g. `FetchRules` -> `Generation`). */
|
|
154187
154190
|
static getDirectChildName(i) {
|
|
@@ -154203,14 +154206,14 @@ let Aa = class extends di {
|
|
|
154203
154206
|
handleActionButtonClick(i) {
|
|
154204
154207
|
i.stopPropagation();
|
|
154205
154208
|
const e = i.currentTarget.dataset.actionKind;
|
|
154206
|
-
e && Ml(this,
|
|
154209
|
+
e && Ml(this, kr, g7).call(this, e);
|
|
154207
154210
|
}
|
|
154208
154211
|
render() {
|
|
154209
|
-
return M`<div role="presentation" @mouseenter=${Ml(this,
|
|
154212
|
+
return M`<div role="presentation" @mouseenter=${Ml(this, kr, RY)} @mouseleave=${Ml(this, kr, BY)}>${Ml(this, kr, VY).call(this)}</div>${Ml(this, kr, UY).call(this)}
|
|
154210
154213
|
`;
|
|
154211
154214
|
}
|
|
154212
154215
|
};
|
|
154213
|
-
|
|
154216
|
+
kr = /* @__PURE__ */ new WeakSet();
|
|
154214
154217
|
xC = function() {
|
|
154215
154218
|
return this.name === "FetchRules";
|
|
154216
154219
|
};
|
|
@@ -154221,19 +154224,19 @@ Gw = function() {
|
|
|
154221
154224
|
return this.name === "Packet";
|
|
154222
154225
|
};
|
|
154223
154226
|
Uy = function() {
|
|
154224
|
-
return this.expanded && Sc(this,
|
|
154227
|
+
return this.expanded && Sc(this, kr, Gw);
|
|
154225
154228
|
};
|
|
154226
154229
|
RY = function(i) {
|
|
154227
|
-
i.stopPropagation(), Sc(this,
|
|
154230
|
+
i.stopPropagation(), Sc(this, kr, Uy) || (this.showMenu = !0);
|
|
154228
154231
|
};
|
|
154229
154232
|
BY = function(i) {
|
|
154230
|
-
i.stopPropagation(), Sc(this,
|
|
154233
|
+
i.stopPropagation(), Sc(this, kr, Uy) || (this.showMenu = !1);
|
|
154231
154234
|
};
|
|
154232
154235
|
$Y = function() {
|
|
154233
|
-
Ml(this,
|
|
154236
|
+
Ml(this, kr, h7).call(this, !this.self.expand);
|
|
154234
154237
|
};
|
|
154235
154238
|
FY = function(i) {
|
|
154236
|
-
i.stopPropagation(), Ml(this,
|
|
154239
|
+
i.stopPropagation(), Ml(this, kr, h7).call(this, !this.self.expand);
|
|
154237
154240
|
};
|
|
154238
154241
|
h7 = function(i) {
|
|
154239
154242
|
this.emit("cx-xml-editor-element-expand-toggle", {
|
|
@@ -154252,7 +154255,7 @@ g7 = function(i) {
|
|
|
154252
154255
|
});
|
|
154253
154256
|
};
|
|
154254
154257
|
l4 = function(i) {
|
|
154255
|
-
i.stopPropagation(), Ml(this,
|
|
154258
|
+
i.stopPropagation(), Ml(this, kr, g7).call(this, la.AddElement);
|
|
154256
154259
|
};
|
|
154257
154260
|
zY = function() {
|
|
154258
154261
|
const i = Aa.getDirectChildName(this.name);
|
|
@@ -154295,27 +154298,27 @@ zY = function() {
|
|
|
154295
154298
|
].filter((e) => e.visible);
|
|
154296
154299
|
};
|
|
154297
154300
|
jY = function() {
|
|
154298
|
-
const i = Ml(this,
|
|
154301
|
+
const i = Ml(this, kr, zY).call(this).map(
|
|
154299
154302
|
(e) => M`<cx-tooltip hoist content=${e.title}><cx-icon-button data-action-kind=${e.kind} data-testid="${e.id}-${this.name}" name=${e.icon} label=${e.title} @click=${this.handleActionButtonClick}></cx-icon-button></cx-tooltip>`
|
|
154300
154303
|
);
|
|
154301
|
-
return M`<div class="element-tag__menu ${this.showMenu || Sc(this,
|
|
154304
|
+
return M`<div class="element-tag__menu ${this.showMenu || Sc(this, kr, Uy) ? "" : "element-tag__menu--hidden"}">${i}</div>`;
|
|
154302
154305
|
};
|
|
154303
154306
|
HY = function() {
|
|
154304
|
-
return this.self.type !== Hr.Element || !this.self.elements ? M`<div class="element-tag__expand-spacer"></div>` : M`<cx-tooltip hoist content=${this.expanded ? this.localize.term("collapse") : this.localize.term("expand")}><cx-icon-button data-testid="expand-collapse-button-${this.name}" name=${this.expanded ? "expand_less" : "expand_more"} label=${this.expanded ? this.localize.term("collapse") : this.localize.term("expand")} @click=${Ml(this,
|
|
154307
|
+
return this.self.type !== Hr.Element || !this.self.elements ? M`<div class="element-tag__expand-spacer"></div>` : M`<cx-tooltip hoist content=${this.expanded ? this.localize.term("collapse") : this.localize.term("expand")}><cx-icon-button data-testid="expand-collapse-button-${this.name}" name=${this.expanded ? "expand_less" : "expand_more"} label=${this.expanded ? this.localize.term("collapse") : this.localize.term("expand")} @click=${Ml(this, kr, FY)}></cx-icon-button></cx-tooltip>`;
|
|
154305
154308
|
};
|
|
154306
154309
|
VY = function() {
|
|
154307
|
-
return Sc(this,
|
|
154308
|
-
${Ml(this,
|
|
154310
|
+
return Sc(this, kr, xC) ? Hi : M`<div class="element-tag__title ${Sc(this, kr, Gw) && Sc(this, kr, Uy) ? "element-tag__title--editing" : ""}" @click=${Ml(this, kr, $Y)}><cx-typography variant="body3">${this.name || this.localize.term("untitled")} ${this.order}</cx-typography><div class="element-tag__actions">${Ml(this, kr, jY).call(this)}
|
|
154311
|
+
${Ml(this, kr, HY).call(this)}</div></div>${Ge(Sc(this, kr, Gw) && Sc(this, kr, Uy), () => M`<slot name="packet-editor"></slot>`)}
|
|
154309
154312
|
`;
|
|
154310
154313
|
};
|
|
154311
154314
|
UY = function() {
|
|
154312
|
-
return !this.expanded || Sc(this,
|
|
154313
|
-
Sc(this,
|
|
154314
|
-
() => M`<cx-button class="element-tag__add-button" variant="default" size="large" @click=${Ml(this,
|
|
154315
|
+
return !this.expanded || Sc(this, kr, Gw) ? Hi : M`<div class="element-tag__content ${Sc(this, kr, xC) ? "" : "element-tag__content--auto-height"}" data-node=${this.name}><div class="element-tag__content-inner ${Sc(this, kr, s4) ? "element-tag__content-inner--generation" : ""}"><slot></slot>${Ge(
|
|
154316
|
+
Sc(this, kr, s4),
|
|
154317
|
+
() => M`<cx-button class="element-tag__add-button" variant="default" size="large" @click=${Ml(this, kr, l4)}><cx-icon slot="prefix" name="add_circle"></cx-icon>${this.localize.term("add")} Packet
|
|
154315
154318
|
</cx-button>`
|
|
154316
154319
|
)}</div></div>${Ge(
|
|
154317
|
-
Sc(this,
|
|
154318
|
-
() => M`<cx-button class="element-tag__add-button" variant="default" size="large" @click=${Ml(this,
|
|
154320
|
+
Sc(this, kr, xC),
|
|
154321
|
+
() => M`<cx-button class="element-tag__add-button" variant="default" size="large" @click=${Ml(this, kr, l4)}><cx-icon slot="prefix" name="add_circle"></cx-icon>${this.localize.term("add")} Generation
|
|
154319
154322
|
</cx-button>`
|
|
154320
154323
|
)}
|
|
154321
154324
|
`;
|
|
@@ -154467,7 +154470,7 @@ var uqt = Object.defineProperty, pqt = Object.getOwnPropertyDescriptor, KY = (i)
|
|
|
154467
154470
|
for (var r = n > 1 ? void 0 : n ? pqt(e, t) : e, o = i.length - 1, a; o >= 0; o--)
|
|
154468
154471
|
(a = i[o]) && (r = (n ? a(e, t, r) : a(r)) || r);
|
|
154469
154472
|
return n && r && uqt(e, t, r), r;
|
|
154470
|
-
}, hqt = (i, e, t) => e.has(i) || KY("Cannot " + t), gqt = (i, e, t) => e.has(i) ? KY("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(i) : e.set(i, t), zi = (i, e, t) => (hqt(i, e, "access private method"), t), Li, Yo,
|
|
154473
|
+
}, hqt = (i, e, t) => e.has(i) || KY("Cannot " + t), gqt = (i, e, t) => e.has(i) ? KY("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(i) : e.set(i, t), zi = (i, e, t) => (hqt(i, e, "access private method"), t), Li, Yo, hs, Em, YY, XY, JY, ZY, QY, eX, tX, iX, nX, rX, oX, aX, sX, lX, cX;
|
|
154471
154474
|
const mqt = [
|
|
154472
154475
|
hf.Parents,
|
|
154473
154476
|
hf.Children,
|
|
@@ -154544,7 +154547,7 @@ let $s = class extends di {
|
|
|
154544
154547
|
};
|
|
154545
154548
|
}
|
|
154546
154549
|
updateExtraFiltersDebounced(i, e) {
|
|
154547
|
-
zi(this, Li,
|
|
154550
|
+
zi(this, Li, hs).call(this, Bo.UpdateElement, {
|
|
154548
154551
|
key: "ExtraFilters",
|
|
154549
154552
|
newValue: e,
|
|
154550
154553
|
parent: this.value,
|
|
@@ -154552,7 +154555,7 @@ let $s = class extends di {
|
|
|
154552
154555
|
});
|
|
154553
154556
|
}
|
|
154554
154557
|
updateLimitDebounced(i, e) {
|
|
154555
|
-
zi(this, Li,
|
|
154558
|
+
zi(this, Li, hs).call(this, Bo.UpdateElement, {
|
|
154556
154559
|
key: "Limit",
|
|
154557
154560
|
newValue: e,
|
|
154558
154561
|
parent: this.value,
|
|
@@ -154585,7 +154588,7 @@ Yo = function(i, e) {
|
|
|
154585
154588
|
return o ? [...n, ...o] : n;
|
|
154586
154589
|
}, []);
|
|
154587
154590
|
};
|
|
154588
|
-
|
|
154591
|
+
hs = function(i, e) {
|
|
154589
154592
|
this.emit("cx-xml-editor-packet-change", {
|
|
154590
154593
|
detail: { payload: e, type: i }
|
|
154591
154594
|
});
|
|
@@ -154593,7 +154596,7 @@ ps = function(i, e) {
|
|
|
154593
154596
|
Em = function(i, e) {
|
|
154594
154597
|
return (t) => {
|
|
154595
154598
|
const n = t.target.checked;
|
|
154596
|
-
zi(this, Li,
|
|
154599
|
+
zi(this, Li, hs).call(this, Bo.UpdateElement, {
|
|
154597
154600
|
key: e,
|
|
154598
154601
|
newValue: n ? "1" : void 0,
|
|
154599
154602
|
parent: this.value,
|
|
@@ -154603,7 +154606,7 @@ Em = function(i, e) {
|
|
|
154603
154606
|
};
|
|
154604
154607
|
YY = function(i) {
|
|
154605
154608
|
const e = i.target.checked, t = zi(this, Li, Yo).call(this, "SameFieldValue")[0];
|
|
154606
|
-
this.enabledSameField = e, e || zi(this, Li,
|
|
154609
|
+
this.enabledSameField = e, e || zi(this, Li, hs).call(this, Bo.UpdateElement, {
|
|
154607
154610
|
key: "SameFieldValue",
|
|
154608
154611
|
newValue: "",
|
|
154609
154612
|
parent: this.value,
|
|
@@ -154613,7 +154616,7 @@ YY = function(i) {
|
|
|
154613
154616
|
};
|
|
154614
154617
|
XY = function(i) {
|
|
154615
154618
|
const e = zi(this, Li, Yo).call(this, "SameFieldValue")[0], t = i.target.value;
|
|
154616
|
-
zi(this, Li,
|
|
154619
|
+
zi(this, Li, hs).call(this, Bo.UpdateElement, {
|
|
154617
154620
|
key: "SameFieldValue",
|
|
154618
154621
|
newValue: t,
|
|
154619
154622
|
parent: this.value,
|
|
@@ -154624,7 +154627,7 @@ XY = function(i) {
|
|
|
154624
154627
|
JY = function(i, e) {
|
|
154625
154628
|
return (t) => {
|
|
154626
154629
|
const n = t.target.value, r = this.enabledRelations.find((o) => o.id === n);
|
|
154627
|
-
!n || !r || zi(this, Li,
|
|
154630
|
+
!n || !r || zi(this, Li, hs).call(this, Bo.UpdateRelation, {
|
|
154628
154631
|
attributes: {
|
|
154629
154632
|
direction: e,
|
|
154630
154633
|
id: r.linkType,
|
|
@@ -154637,7 +154640,7 @@ JY = function(i, e) {
|
|
|
154637
154640
|
ZY = function(i) {
|
|
154638
154641
|
return () => {
|
|
154639
154642
|
const e = this.value.elements?.findIndex((t) => t.Relations !== void 0) ?? -1;
|
|
154640
|
-
e === -1 || !this.value.elements || zi(this, Li,
|
|
154643
|
+
e === -1 || !this.value.elements || zi(this, Li, hs).call(this, Bo.DeleteElement, {
|
|
154641
154644
|
key: "Relation",
|
|
154642
154645
|
parent: this.value.elements[e].Relations,
|
|
154643
154646
|
value: i
|
|
@@ -154649,19 +154652,19 @@ QY = function(i) {
|
|
|
154649
154652
|
const t = this.value.elements?.findIndex((n) => n.Relations !== void 0) ?? -1;
|
|
154650
154653
|
if (this.value.elements) {
|
|
154651
154654
|
if (t === -1) {
|
|
154652
|
-
zi(this, Li,
|
|
154655
|
+
zi(this, Li, hs).call(this, Bo.AddElement, {
|
|
154653
154656
|
attributes: { direction: i },
|
|
154654
154657
|
key: "Relations",
|
|
154655
154658
|
self: this.value
|
|
154656
154659
|
});
|
|
154657
154660
|
const n = this.value.elements.findIndex((r) => r.Relations !== void 0);
|
|
154658
|
-
zi(this, Li,
|
|
154661
|
+
zi(this, Li, hs).call(this, Bo.AddElement, {
|
|
154659
154662
|
attributes: { direction: i },
|
|
154660
154663
|
key: "Relation",
|
|
154661
154664
|
self: this.value.elements[n].Relations
|
|
154662
154665
|
});
|
|
154663
154666
|
} else
|
|
154664
|
-
zi(this, Li,
|
|
154667
|
+
zi(this, Li, hs).call(this, Bo.AddElement, {
|
|
154665
154668
|
attributes: { direction: i },
|
|
154666
154669
|
key: "Relation",
|
|
154667
154670
|
self: this.value.elements[t].Relations
|
|
@@ -154672,7 +154675,7 @@ QY = function(i) {
|
|
|
154672
154675
|
};
|
|
154673
154676
|
eX = function(i, e) {
|
|
154674
154677
|
return (t) => {
|
|
154675
|
-
zi(this, Li,
|
|
154678
|
+
zi(this, Li, hs).call(this, Bo.UpdateElement, {
|
|
154676
154679
|
key: e,
|
|
154677
154680
|
newValue: t.detail.value,
|
|
154678
154681
|
parent: zi(this, Li, Yo).call(this, "TypeFilters", !0)[0]?.TypeFilters,
|
|
@@ -154683,11 +154686,11 @@ eX = function(i, e) {
|
|
|
154683
154686
|
tX = function(i, e) {
|
|
154684
154687
|
return () => {
|
|
154685
154688
|
const t = zi(this, Li, Yo).call(this, "TypeFilters", !0)[0]?.TypeFilters;
|
|
154686
|
-
t && (zi(this, Li,
|
|
154689
|
+
t && (zi(this, Li, hs).call(this, Bo.DeleteElement, {
|
|
154687
154690
|
key: e,
|
|
154688
154691
|
parent: t,
|
|
154689
154692
|
value: i[e]
|
|
154690
|
-
}), t.elements?.length === 0 && zi(this, Li,
|
|
154693
|
+
}), t.elements?.length === 0 && zi(this, Li, hs).call(this, Bo.DeleteElement, {
|
|
154691
154694
|
key: "TypeFilters",
|
|
154692
154695
|
parent: this.value,
|
|
154693
154696
|
value: t
|
|
@@ -154695,20 +154698,20 @@ tX = function(i, e) {
|
|
|
154695
154698
|
};
|
|
154696
154699
|
};
|
|
154697
154700
|
iX = function() {
|
|
154698
|
-
zi(this, Li, Yo).call(this, "TypeFilters", !0)[0] || zi(this, Li,
|
|
154701
|
+
zi(this, Li, Yo).call(this, "TypeFilters", !0)[0] || zi(this, Li, hs).call(this, Bo.AddElement, {
|
|
154699
154702
|
key: "TypeFilters",
|
|
154700
154703
|
self: this.value
|
|
154701
154704
|
});
|
|
154702
154705
|
const i = zi(this, Li, Yo).call(this, "TypeFilters", !0)[0].TypeFilters, e = i.elements, t = e?.[e.length - 1];
|
|
154703
154706
|
if (t) {
|
|
154704
154707
|
const n = Object.keys(t)[0];
|
|
154705
|
-
zi(this, Li,
|
|
154708
|
+
zi(this, Li, hs).call(this, Bo.AddText, {
|
|
154706
154709
|
key: [...n.split(".").slice(0, 2), "*"].join("."),
|
|
154707
154710
|
self: i
|
|
154708
154711
|
});
|
|
154709
154712
|
} else {
|
|
154710
154713
|
const n = this.subTypes.find((r) => r.subTypeValue.endsWith("*"));
|
|
154711
|
-
zi(this, Li,
|
|
154714
|
+
zi(this, Li, hs).call(this, Bo.AddText, {
|
|
154712
154715
|
key: n?.subTypeValue,
|
|
154713
154716
|
self: i
|
|
154714
154717
|
});
|
|
@@ -154720,7 +154723,7 @@ nX = function(i) {
|
|
|
154720
154723
|
};
|
|
154721
154724
|
rX = function(i) {
|
|
154722
154725
|
const e = zi(this, Li, Yo).call(this, "OrderBy")[0];
|
|
154723
|
-
zi(this, Li,
|
|
154726
|
+
zi(this, Li, hs).call(this, Bo.UpdateElement, {
|
|
154724
154727
|
key: "OrderBy",
|
|
154725
154728
|
newValue: i.target.value,
|
|
154726
154729
|
parent: this.value,
|
|
@@ -155399,7 +155402,7 @@ export {
|
|
|
155399
155402
|
Ep as CxChartPlanBuilder,
|
|
155400
155403
|
Rr as CxChatbot,
|
|
155401
155404
|
Ph as CxCheckbox,
|
|
155402
|
-
|
|
155405
|
+
ms as CxClusterManagement,
|
|
155403
155406
|
Jw as CxColorPicker,
|
|
155404
155407
|
sJt as CxColorSwatch,
|
|
155405
155408
|
SJt as CxColorSwatchGroup,
|
|
@@ -155413,7 +155416,7 @@ export {
|
|
|
155413
155416
|
Ja as CxDamCustomToolbarButtonsEditor,
|
|
155414
155417
|
Cp as CxDashboardFilter,
|
|
155415
155418
|
zl as CxDashboardIframe,
|
|
155416
|
-
|
|
155419
|
+
gs as CxDashboardTable,
|
|
155417
155420
|
wp as CxDataTabGroup,
|
|
155418
155421
|
zJ as CxDateCalendar,
|
|
155419
155422
|
Zw as CxDetails,
|
|
@@ -155428,7 +155431,7 @@ export {
|
|
|
155428
155431
|
tl as CxDownloadFormatPicker,
|
|
155429
155432
|
yn as CxDownloader,
|
|
155430
155433
|
lYt as CxDrawer,
|
|
155431
|
-
|
|
155434
|
+
ys as CxDropdown,
|
|
155432
155435
|
Yy as CxDynamicSelect,
|
|
155433
155436
|
dYt as CxEChart,
|
|
155434
155437
|
pYt as CxElementClamp,
|
|
@@ -155445,7 +155448,7 @@ export {
|
|
|
155445
155448
|
JJ as CxFormatDate,
|
|
155446
155449
|
ZJ as CxFormatNumber,
|
|
155447
155450
|
C$ as CxFormatTime,
|
|
155448
|
-
|
|
155451
|
+
vr as CxGalleryItem,
|
|
155449
155452
|
jg as CxGraphView,
|
|
155450
155453
|
eu as CxGrid,
|
|
155451
155454
|
tu as CxGridItem,
|