@everchron/ec-shards 22.2.4 → 22.3.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/dist/ec-shards.cjs +8 -8
- package/dist/ec-shards.css +1 -1
- package/dist/ec-shards.js +127 -117
- package/package.json +1 -1
package/dist/ec-shards.js
CHANGED
|
@@ -17467,6 +17467,11 @@ var Iy = /*#__PURE__*/ a(Dy, [["render", Fy], ["__scopeId", "data-v-3d7c8e2b"]])
|
|
|
17467
17467
|
},
|
|
17468
17468
|
emits: ["click", "toggleCollapse"],
|
|
17469
17469
|
props: {
|
|
17470
|
+
variant: {
|
|
17471
|
+
type: String,
|
|
17472
|
+
default: "default",
|
|
17473
|
+
validator: (e) => ["default", "bordered"].includes(e)
|
|
17474
|
+
},
|
|
17470
17475
|
as: {
|
|
17471
17476
|
type: String,
|
|
17472
17477
|
default: "div",
|
|
@@ -17519,7 +17524,7 @@ var Iy = /*#__PURE__*/ a(Dy, [["render", Fy], ["__scopeId", "data-v-3d7c8e2b"]])
|
|
|
17519
17524
|
this.internalCollapse = e;
|
|
17520
17525
|
} },
|
|
17521
17526
|
computed: { shouldIndent() {
|
|
17522
|
-
return this.indent === void 0 ? this.clickable : this.indent;
|
|
17527
|
+
return this.variant === "bordered" ? !0 : this.indent === void 0 ? this.clickable : this.indent;
|
|
17523
17528
|
} },
|
|
17524
17529
|
methods: {
|
|
17525
17530
|
handleClick() {
|
|
@@ -17539,6 +17544,7 @@ var Iy = /*#__PURE__*/ a(Dy, [["render", Fy], ["__scopeId", "data-v-3d7c8e2b"]])
|
|
|
17539
17544
|
function Hy(e, t, n, r, i, a) {
|
|
17540
17545
|
let o = F("ecs-skeleton-loader");
|
|
17541
17546
|
return j(), h("div", { class: D(["ecs-structured-content", [
|
|
17547
|
+
n.variant,
|
|
17542
17548
|
{ clickable: n.clickable },
|
|
17543
17549
|
{ collapsed: i.internalCollapse },
|
|
17544
17550
|
{ expanded: i.internalCollapse === !1 }
|
|
@@ -17579,7 +17585,11 @@ function Hy(e, t, n, r, i, a) {
|
|
|
17579
17585
|
type: "multi"
|
|
17580
17586
|
})) : P(e.$slots, "collapse", { key: 1 }, void 0, !0)])])], 2))], 2);
|
|
17581
17587
|
}
|
|
17582
|
-
var Uy = /*#__PURE__*/ a(Ly, [["render", Hy], ["__scopeId", "data-v-
|
|
17588
|
+
var Uy = /*#__PURE__*/ a(Ly, [["render", Hy], ["__scopeId", "data-v-b8633c7c"]]), Wy = { name: "ecs-structured-content-list" }, Gy = { class: "ecs-structured-content-list" };
|
|
17589
|
+
function Ky(e, t, n, r, i, a) {
|
|
17590
|
+
return j(), h("div", Gy, [P(e.$slots, "default")]);
|
|
17591
|
+
}
|
|
17592
|
+
var qy = /*#__PURE__*/ a(Wy, [["render", Ky]]), Jy = {
|
|
17583
17593
|
name: "ecs-swatches-picker",
|
|
17584
17594
|
emits: ["update:modelValue"],
|
|
17585
17595
|
props: {
|
|
@@ -17627,14 +17637,14 @@ var Uy = /*#__PURE__*/ a(Ly, [["render", Hy], ["__scopeId", "data-v-8a9e5f3a"]])
|
|
|
17627
17637
|
this.selectedTitle = this.swatches[this.swatches.findIndex((e) => e.hex === this.selectedColor)].title;
|
|
17628
17638
|
}
|
|
17629
17639
|
}
|
|
17630
|
-
},
|
|
17640
|
+
}, Yy = [
|
|
17631
17641
|
"onClick",
|
|
17632
17642
|
"onKeydown",
|
|
17633
17643
|
"title",
|
|
17634
17644
|
"aria-label",
|
|
17635
17645
|
"aria-checked"
|
|
17636
17646
|
];
|
|
17637
|
-
function
|
|
17647
|
+
function Xy(e, t, n, r, i, a) {
|
|
17638
17648
|
return j(), h("div", {
|
|
17639
17649
|
class: D(["ecs-swatches", a.sizeClass]),
|
|
17640
17650
|
role: "radiogroup"
|
|
@@ -17652,9 +17662,9 @@ function Ky(e, t, n, r, i, a) {
|
|
|
17652
17662
|
backgroundColor: e.hex,
|
|
17653
17663
|
color: e.hex
|
|
17654
17664
|
})
|
|
17655
|
-
}, null, 46,
|
|
17665
|
+
}, null, 46, Yy))), 128))], 2);
|
|
17656
17666
|
}
|
|
17657
|
-
var
|
|
17667
|
+
var Zy = /*#__PURE__*/ a(Jy, [["render", Xy], ["__scopeId", "data-v-96e7b457"]]), Qy = {
|
|
17658
17668
|
name: "ecs-tab",
|
|
17659
17669
|
props: {
|
|
17660
17670
|
show: {
|
|
@@ -17683,8 +17693,8 @@ var qy = /*#__PURE__*/ a(Wy, [["render", Ky], ["__scopeId", "data-v-96e7b457"]])
|
|
|
17683
17693
|
mounted() {
|
|
17684
17694
|
!this.ariaLabeledBy || this.ariaLabeledBy.trim();
|
|
17685
17695
|
}
|
|
17686
|
-
},
|
|
17687
|
-
function
|
|
17696
|
+
}, $y = ["aria-labelledby"];
|
|
17697
|
+
function eb(e, t, n, r, i, a) {
|
|
17688
17698
|
return j(), h("div", {
|
|
17689
17699
|
class: D(["ecs-tab-pane", [
|
|
17690
17700
|
n.show ? "show" : "",
|
|
@@ -17693,9 +17703,9 @@ function Xy(e, t, n, r, i, a) {
|
|
|
17693
17703
|
]]),
|
|
17694
17704
|
role: "tabpanel",
|
|
17695
17705
|
"aria-labelledby": n.ariaLabeledBy
|
|
17696
|
-
}, [P(e.$slots, "default", {}, void 0, !0)], 10,
|
|
17706
|
+
}, [P(e.$slots, "default", {}, void 0, !0)], 10, $y);
|
|
17697
17707
|
}
|
|
17698
|
-
var
|
|
17708
|
+
var tb = /*#__PURE__*/ a(Qy, [["render", eb], ["__scopeId", "data-v-2c119fff"]]), nb = {
|
|
17699
17709
|
name: "ecs-tab-button",
|
|
17700
17710
|
emits: ["click", "tabNavigation"],
|
|
17701
17711
|
components: {
|
|
@@ -17778,16 +17788,16 @@ var Zy = /*#__PURE__*/ a(Jy, [["render", Xy], ["__scopeId", "data-v-2c119fff"]])
|
|
|
17778
17788
|
});
|
|
17779
17789
|
}
|
|
17780
17790
|
}
|
|
17781
|
-
},
|
|
17791
|
+
}, rb = [
|
|
17782
17792
|
"disabled",
|
|
17783
17793
|
"aria-selected",
|
|
17784
17794
|
"aria-controls",
|
|
17785
17795
|
"aria-label"
|
|
17786
|
-
],
|
|
17796
|
+
], ib = {
|
|
17787
17797
|
key: 2,
|
|
17788
17798
|
class: "shortcut"
|
|
17789
17799
|
};
|
|
17790
|
-
function
|
|
17800
|
+
function ab(e, t, n, r, i, a) {
|
|
17791
17801
|
let o = F("ecs-icon"), s = F("ecs-sticker"), c = F("ecs-focus-ring");
|
|
17792
17802
|
return j(), h("button", {
|
|
17793
17803
|
class: D(["ecs-tab-button", [
|
|
@@ -17815,12 +17825,12 @@ function tb(e, t, n, r, i, a) {
|
|
|
17815
17825
|
type: n.sticker
|
|
17816
17826
|
}, null, 8, ["type"])) : m("", !0),
|
|
17817
17827
|
P(e.$slots, "default", {}, void 0, !0),
|
|
17818
|
-
n.shortcut ? (j(), h("span",
|
|
17828
|
+
n.shortcut ? (j(), h("span", ib, L(n.shortcut), 1)) : m("", !0),
|
|
17819
17829
|
y(c, { inset: 0 }),
|
|
17820
17830
|
t[2] ||= g("span", { class: "hover" }, null, -1)
|
|
17821
|
-
], 42,
|
|
17831
|
+
], 42, rb);
|
|
17822
17832
|
}
|
|
17823
|
-
var
|
|
17833
|
+
var ob = /*#__PURE__*/ a(nb, [["render", ab], ["__scopeId", "data-v-22e00b93"]]), sb = {
|
|
17824
17834
|
name: "ecs-tag",
|
|
17825
17835
|
emits: ["click"],
|
|
17826
17836
|
components: {
|
|
@@ -17911,11 +17921,11 @@ var nb = /*#__PURE__*/ a(Qy, [["render", tb], ["__scopeId", "data-v-22e00b93"]])
|
|
|
17911
17921
|
methods: { handleClick(e) {
|
|
17912
17922
|
this.$emit("click", e);
|
|
17913
17923
|
} }
|
|
17914
|
-
},
|
|
17924
|
+
}, cb = ["title"], lb = {
|
|
17915
17925
|
key: 1,
|
|
17916
17926
|
class: "count"
|
|
17917
17927
|
};
|
|
17918
|
-
function
|
|
17928
|
+
function ub(e, t, n, r, i, a) {
|
|
17919
17929
|
let o = F("ecs-skeleton-loader"), s = F("ecs-focus-ring");
|
|
17920
17930
|
return j(), p(I(n.hover ? "button" : "span"), {
|
|
17921
17931
|
class: D(["ecs-tag", [
|
|
@@ -17935,9 +17945,9 @@ function ob(e, t, n, r, i, a) {
|
|
|
17935
17945
|
key: 0,
|
|
17936
17946
|
class: "path",
|
|
17937
17947
|
title: n.path
|
|
17938
|
-
}, "../", 8,
|
|
17948
|
+
}, "../", 8, cb)) : m("", !0),
|
|
17939
17949
|
P(e.$slots, "default", {}, void 0, !0),
|
|
17940
|
-
n.count ? (j(), h("span",
|
|
17950
|
+
n.count ? (j(), h("span", lb, L(n.count), 1)) : m("", !0),
|
|
17941
17951
|
n.loading ? (j(), p(o, {
|
|
17942
17952
|
key: 2,
|
|
17943
17953
|
type: "single",
|
|
@@ -17955,36 +17965,36 @@ function ob(e, t, n, r, i, a) {
|
|
|
17955
17965
|
"disabled"
|
|
17956
17966
|
]);
|
|
17957
17967
|
}
|
|
17958
|
-
var
|
|
17968
|
+
var db = /*#__PURE__*/ a(sb, [["render", ub], ["__scopeId", "data-v-f26ee531"]]), fb = { name: "ecs-tag-cloud" }, pb = {
|
|
17959
17969
|
class: "ecs-tag-cloud",
|
|
17960
17970
|
role: "list"
|
|
17961
17971
|
};
|
|
17962
|
-
function
|
|
17963
|
-
return j(), h("div",
|
|
17972
|
+
function mb(e, t, n, r, i, a) {
|
|
17973
|
+
return j(), h("div", pb, [P(e.$slots, "default", {}, void 0, !0)]);
|
|
17964
17974
|
}
|
|
17965
|
-
var
|
|
17966
|
-
function
|
|
17975
|
+
var hb = /*#__PURE__*/ a(fb, [["render", mb], ["__scopeId", "data-v-4334fe7e"]]), gb = /* @__PURE__ */ new WeakMap();
|
|
17976
|
+
function _b(e) {
|
|
17967
17977
|
let t = e.value, n = t && typeof t == "object" ? { ...t } : { content: t ?? "" };
|
|
17968
17978
|
n.content = n.content == null ? "" : String(n.content);
|
|
17969
17979
|
for (let t of Object.keys(e.modifiers || {})) dv.includes(t) && !n.placement ? n.placement = t : fv.includes(t) && !n.variant ? n.variant = t : t === "locked" ? n.locked = !0 : t === "interactive" && (n.interactive = !0);
|
|
17970
17980
|
return n;
|
|
17971
17981
|
}
|
|
17972
|
-
function
|
|
17982
|
+
function vb(e, t) {
|
|
17973
17983
|
return e === t ? !0 : !e || !t || typeof e != "object" || typeof t != "object" ? !1 : JSON.stringify(e) === JSON.stringify(t);
|
|
17974
17984
|
}
|
|
17975
|
-
var
|
|
17985
|
+
var yb = {
|
|
17976
17986
|
mounted(e, t) {
|
|
17977
|
-
|
|
17987
|
+
gb.set(e, Sv(e, _b(t)));
|
|
17978
17988
|
},
|
|
17979
17989
|
updated(e, t) {
|
|
17980
|
-
|
|
17990
|
+
vb(t.value, t.oldValue) || gb.get(e)?.update(_b(t));
|
|
17981
17991
|
},
|
|
17982
17992
|
unmounted(e) {
|
|
17983
|
-
|
|
17993
|
+
gb.get(e)?.destroy(), gb.delete(e);
|
|
17984
17994
|
}
|
|
17985
|
-
},
|
|
17986
|
-
e.directive(t,
|
|
17987
|
-
} },
|
|
17995
|
+
}, bb = { install(e, { name: t = "ecs-tooltip" } = {}) {
|
|
17996
|
+
e.directive(t, yb);
|
|
17997
|
+
} }, xb = {
|
|
17988
17998
|
name: "ecs-toast",
|
|
17989
17999
|
emits: ["action"],
|
|
17990
18000
|
components: { EcsFocusRing: H },
|
|
@@ -18007,7 +18017,7 @@ var hb = {
|
|
|
18007
18017
|
return this.theme;
|
|
18008
18018
|
} }
|
|
18009
18019
|
};
|
|
18010
|
-
function
|
|
18020
|
+
function Sb(e, t, n, r, i, a) {
|
|
18011
18021
|
let o = F("ecs-focus-ring");
|
|
18012
18022
|
return j(), h("div", {
|
|
18013
18023
|
class: D(["ecs-toast", a.typeClass]),
|
|
@@ -18023,17 +18033,17 @@ function vb(e, t, n, r, i, a) {
|
|
|
18023
18033
|
radius: 6
|
|
18024
18034
|
})])) : m("", !0)], 2);
|
|
18025
18035
|
}
|
|
18026
|
-
var
|
|
18036
|
+
var Cb = /*#__PURE__*/ a(xb, [["render", Sb], ["__scopeId", "data-v-15714c67"]]), wb = { name: "ecs-toasts" }, Tb = {
|
|
18027
18037
|
class: "ecs-toasts",
|
|
18028
18038
|
"aria-live": "polite"
|
|
18029
18039
|
};
|
|
18030
|
-
function
|
|
18031
|
-
return j(), h("div",
|
|
18040
|
+
function Eb(e, t, n, r, i, a) {
|
|
18041
|
+
return j(), h("div", Tb, [y(d, { name: "transition-toast" }, {
|
|
18032
18042
|
default: R(() => [P(e.$slots, "default", {}, void 0, !0)]),
|
|
18033
18043
|
_: 3
|
|
18034
18044
|
})]);
|
|
18035
18045
|
}
|
|
18036
|
-
var
|
|
18046
|
+
var Db = /*#__PURE__*/ a(wb, [["render", Eb], ["__scopeId", "data-v-451fee48"]]), Ob = "application/x-ecs-chip", kb = "application/x-ecs-segments", Ab = /^[ \t\u00a0]/, jb = "", Mb = 1e3, Nb = 100, Pb = [
|
|
18037
18047
|
"ArrowLeft",
|
|
18038
18048
|
"ArrowRight",
|
|
18039
18049
|
"ArrowUp",
|
|
@@ -18042,7 +18052,7 @@ var Cb = /*#__PURE__*/ a(bb, [["render", Sb], ["__scopeId", "data-v-451fee48"]])
|
|
|
18042
18052
|
"End",
|
|
18043
18053
|
"PageUp",
|
|
18044
18054
|
"PageDown"
|
|
18045
|
-
],
|
|
18055
|
+
], Fb = null, Ib = {
|
|
18046
18056
|
name: "ecs-token-input",
|
|
18047
18057
|
emits: [
|
|
18048
18058
|
"update:modelValue",
|
|
@@ -18185,7 +18195,7 @@ var Cb = /*#__PURE__*/ a(bb, [["render", Sb], ["__scopeId", "data-v-451fee48"]])
|
|
|
18185
18195
|
}), t = "");
|
|
18186
18196
|
};
|
|
18187
18197
|
return this.$refs.editable.childNodes.forEach((r) => {
|
|
18188
|
-
r.nodeType === Node.TEXT_NODE ? t += r.textContent.replaceAll(
|
|
18198
|
+
r.nodeType === Node.TEXT_NODE ? t += r.textContent.replaceAll(jb, "") : r.nodeType === Node.ELEMENT_NODE && (this.isChipHost(r) ? (n(), e.push({
|
|
18189
18199
|
...r.__chip,
|
|
18190
18200
|
type: "chip"
|
|
18191
18201
|
})) : r.tagName !== "BR" && (t += r.textContent));
|
|
@@ -18218,7 +18228,7 @@ var Cb = /*#__PURE__*/ a(bb, [["render", Sb], ["__scopeId", "data-v-451fee48"]])
|
|
|
18218
18228
|
},
|
|
18219
18229
|
recordHistory(e) {
|
|
18220
18230
|
let t = this.history, n = this.pendingEditKind || "other", r = Date.now();
|
|
18221
|
-
n !== "other" && n === t.lastKind && r - t.lastTime <
|
|
18231
|
+
n !== "other" && n === t.lastKind && r - t.lastTime < Mb || (t.undo.push(e), t.undo.length > Nb && t.undo.shift()), t.redo = [], t.lastKind = n, t.lastTime = r;
|
|
18222
18232
|
},
|
|
18223
18233
|
breakHistoryGroup() {
|
|
18224
18234
|
this.history.lastKind = null;
|
|
@@ -18295,10 +18305,10 @@ var Cb = /*#__PURE__*/ a(bb, [["render", Sb], ["__scopeId", "data-v-451fee48"]])
|
|
|
18295
18305
|
(!this.isChipHost(e.nextSibling) || !this.startsLine(e.nextSibling)) && (e.remove(), t = !0);
|
|
18296
18306
|
return;
|
|
18297
18307
|
}
|
|
18298
|
-
for (let n = e.data.indexOf(
|
|
18308
|
+
for (let n = e.data.indexOf(jb); n !== -1; n = e.data.indexOf(jb)) e.deleteData(n, 1), t = !0;
|
|
18299
18309
|
}
|
|
18300
18310
|
}), this.chipHosts().forEach((e) => {
|
|
18301
|
-
this.startsLine(e) && !this.isLineAnchor(e.previousSibling) && (e.before(document.createTextNode(
|
|
18311
|
+
this.startsLine(e) && !this.isLineAnchor(e.previousSibling) && (e.before(document.createTextNode(jb)), t = !0);
|
|
18302
18312
|
}), t && this.reapplySelection();
|
|
18303
18313
|
},
|
|
18304
18314
|
reapplySelection() {
|
|
@@ -18310,7 +18320,7 @@ var Cb = /*#__PURE__*/ a(bb, [["render", Sb], ["__scopeId", "data-v-451fee48"]])
|
|
|
18310
18320
|
e.removeAllRanges(), e.addRange(n);
|
|
18311
18321
|
},
|
|
18312
18322
|
isLineAnchor(e) {
|
|
18313
|
-
return !!e && e.nodeType === Node.TEXT_NODE && e.data ===
|
|
18323
|
+
return !!e && e.nodeType === Node.TEXT_NODE && e.data === jb;
|
|
18314
18324
|
},
|
|
18315
18325
|
startsLine(e) {
|
|
18316
18326
|
let t = this.siblingContent(e, "previousSibling");
|
|
@@ -18392,7 +18402,7 @@ var Cb = /*#__PURE__*/ a(bb, [["render", Sb], ["__scopeId", "data-v-451fee48"]])
|
|
|
18392
18402
|
if (!this.chipSpacing || this.chipsOnly) return e;
|
|
18393
18403
|
this.needsLeadingSpace(e) && e.before(document.createTextNode(" "));
|
|
18394
18404
|
let t = this.siblingContent(e, "nextSibling");
|
|
18395
|
-
if (t && t.nodeType === Node.TEXT_NODE &&
|
|
18405
|
+
if (t && t.nodeType === Node.TEXT_NODE && Ab.test(t.textContent)) return t.textContent.length === 1 || t.splitText(1), t;
|
|
18396
18406
|
let n = document.createTextNode(" ");
|
|
18397
18407
|
return e.after(n), n;
|
|
18398
18408
|
},
|
|
@@ -18407,7 +18417,7 @@ var Cb = /*#__PURE__*/ a(bb, [["render", Sb], ["__scopeId", "data-v-451fee48"]])
|
|
|
18407
18417
|
},
|
|
18408
18418
|
detachChipHost(e) {
|
|
18409
18419
|
let t = this.siblingContent(e, "previousSibling"), n = this.siblingContent(e, "nextSibling");
|
|
18410
|
-
ne(null, e), e.remove(), !(!this.chipSpacing || this.chipsOnly) && (!n || n.nodeType !== Node.TEXT_NODE || !
|
|
18420
|
+
ne(null, e), e.remove(), !(!this.chipSpacing || this.chipsOnly) && (!n || n.nodeType !== Node.TEXT_NODE || !Ab.test(n.textContent) || (!t || t.nodeType === Node.TEXT_NODE && /\s$/.test(t.textContent)) && n.deleteData(0, 1));
|
|
18411
18421
|
},
|
|
18412
18422
|
removeChipHost(e) {
|
|
18413
18423
|
this.selectedChip === e && (this.selectedChip = null);
|
|
@@ -18465,7 +18475,7 @@ var Cb = /*#__PURE__*/ a(bb, [["render", Sb], ["__scopeId", "data-v-451fee48"]])
|
|
|
18465
18475
|
let t = !e.shiftKey && !e.ctrlKey && !e.metaKey && !e.altKey ? this.lineAnchorAtCaret() : null;
|
|
18466
18476
|
if (t && this.moveFromLineAnchor(e, t)) return;
|
|
18467
18477
|
if (e.key !== "Backspace") {
|
|
18468
|
-
|
|
18478
|
+
Pb.includes(e.key) && this.breakHistoryGroup(), !e.ctrlKey && !e.metaKey && this.clearChipSelection();
|
|
18469
18479
|
return;
|
|
18470
18480
|
}
|
|
18471
18481
|
if (this.selectedChip) {
|
|
@@ -18554,7 +18564,7 @@ var Cb = /*#__PURE__*/ a(bb, [["render", Sb], ["__scopeId", "data-v-451fee48"]])
|
|
|
18554
18564
|
if (this.isChipHost(r)) t.push({ ...r.__chip });
|
|
18555
18565
|
else if (r.nodeType === Node.TEXT_NODE) {
|
|
18556
18566
|
let t = r === e.startContainer ? e.startOffset : 0, i = r === e.endContainer ? e.endOffset : r.data.length;
|
|
18557
|
-
n(r.data.slice(t, i).replaceAll(
|
|
18567
|
+
n(r.data.slice(t, i).replaceAll(jb, ""));
|
|
18558
18568
|
}
|
|
18559
18569
|
}
|
|
18560
18570
|
});
|
|
@@ -18566,11 +18576,11 @@ var Cb = /*#__PURE__*/ a(bb, [["render", Sb], ["__scopeId", "data-v-451fee48"]])
|
|
|
18566
18576
|
return t.setStart(e.endContainer, e.endOffset), t.setEnd(this.$refs.editable, this.$refs.editable.childNodes.length), t.toString() === "";
|
|
18567
18577
|
},
|
|
18568
18578
|
writeClipboard(e, t) {
|
|
18569
|
-
e.setData(
|
|
18579
|
+
e.setData(kb, JSON.stringify(t)), e.setData("text/plain", t.map((e) => e.type === "chip" ? e.label : e.value).join(""));
|
|
18570
18580
|
},
|
|
18571
18581
|
readClipboard(e) {
|
|
18572
18582
|
try {
|
|
18573
|
-
let t = JSON.parse(e.getData(
|
|
18583
|
+
let t = JSON.parse(e.getData(kb) || "null");
|
|
18574
18584
|
if (Array.isArray(t)) return t.filter((e) => e && (e.type === "chip" ? e.value != null : typeof e.value == "string"));
|
|
18575
18585
|
} catch {}
|
|
18576
18586
|
let t = (e.getData("text/plain") || "").replace(/\r\n?/g, "\n");
|
|
@@ -18609,7 +18619,7 @@ var Cb = /*#__PURE__*/ a(bb, [["render", Sb], ["__scopeId", "data-v-451fee48"]])
|
|
|
18609
18619
|
this.breakHistoryGroup(), e.target === this.$el && this.isEditable && this.focusEditable(!0);
|
|
18610
18620
|
},
|
|
18611
18621
|
onDragOver(e) {
|
|
18612
|
-
this.isEditable && this.hasChipPayload(e) && (e.preventDefault(), e.dataTransfer.dropEffect =
|
|
18622
|
+
this.isEditable && this.hasChipPayload(e) && (e.preventDefault(), e.dataTransfer.dropEffect = Fb ? "move" : "copy", this.dragOver = !0, this.updateDropCaret(e.clientX, e.clientY));
|
|
18613
18623
|
},
|
|
18614
18624
|
onDragLeave(e) {
|
|
18615
18625
|
(e.target === this.$el || !this.$el.contains(e.relatedTarget)) && (this.dragOver = !1, this.hideDropCaret());
|
|
@@ -18619,7 +18629,7 @@ var Cb = /*#__PURE__*/ a(bb, [["render", Sb], ["__scopeId", "data-v-451fee48"]])
|
|
|
18619
18629
|
let t = this.readChipPayload(e);
|
|
18620
18630
|
if (!t) return;
|
|
18621
18631
|
e.preventDefault();
|
|
18622
|
-
let n =
|
|
18632
|
+
let n = Fb, r = !!n && n.owner === this;
|
|
18623
18633
|
if (!r) {
|
|
18624
18634
|
let e = this.isChipAllowed(t);
|
|
18625
18635
|
if (!e.allowed) {
|
|
@@ -18635,7 +18645,7 @@ var Cb = /*#__PURE__*/ a(bb, [["render", Sb], ["__scopeId", "data-v-451fee48"]])
|
|
|
18635
18645
|
let a = this.captureChipRects();
|
|
18636
18646
|
r && this.detachChipHost(n.host);
|
|
18637
18647
|
let o = this.createChipHost(t);
|
|
18638
|
-
i.insertNode(o), this.placeCaretAfter(this.addChipSpacing(o)), this.animateReorder(a), this.syncFromDom(), n && !r && n.owner.releaseMovedChip(n.host),
|
|
18648
|
+
i.insertNode(o), this.placeCaretAfter(this.addChipSpacing(o)), this.animateReorder(a), this.syncFromDom(), n && !r && n.owner.releaseMovedChip(n.host), Fb = null;
|
|
18639
18649
|
},
|
|
18640
18650
|
releaseMovedChip(e) {
|
|
18641
18651
|
this.detachChipHost(e), this.clearLeftoverSpacing(), this.syncFromDom();
|
|
@@ -18645,20 +18655,20 @@ var Cb = /*#__PURE__*/ a(bb, [["render", Sb], ["__scopeId", "data-v-451fee48"]])
|
|
|
18645
18655
|
e.preventDefault();
|
|
18646
18656
|
return;
|
|
18647
18657
|
}
|
|
18648
|
-
this.clearChipSelection(),
|
|
18658
|
+
this.clearChipSelection(), Fb = {
|
|
18649
18659
|
host: t,
|
|
18650
18660
|
owner: this
|
|
18651
|
-
}, e.dataTransfer.effectAllowed = "move", e.dataTransfer.setData(
|
|
18661
|
+
}, e.dataTransfer.effectAllowed = "move", e.dataTransfer.setData(Ob, JSON.stringify(t.__chip)), e.dataTransfer.setData("text/plain", t.__chip.label || ""), t.classList.add("is-dragging");
|
|
18652
18662
|
},
|
|
18653
18663
|
onChipDragEnd(e) {
|
|
18654
|
-
e.classList.remove("is-dragging"),
|
|
18664
|
+
e.classList.remove("is-dragging"), Fb && Fb.host === e && (Fb = null), this.hideDropCaret();
|
|
18655
18665
|
},
|
|
18656
18666
|
hasChipPayload(e) {
|
|
18657
18667
|
let t = e.dataTransfer && e.dataTransfer.types;
|
|
18658
|
-
return !!t && Array.prototype.indexOf.call(t,
|
|
18668
|
+
return !!t && Array.prototype.indexOf.call(t, Ob) !== -1;
|
|
18659
18669
|
},
|
|
18660
18670
|
readChipPayload(e) {
|
|
18661
|
-
let t = e.dataTransfer && e.dataTransfer.getData(
|
|
18671
|
+
let t = e.dataTransfer && e.dataTransfer.getData(Ob);
|
|
18662
18672
|
if (!t) return null;
|
|
18663
18673
|
try {
|
|
18664
18674
|
let e = JSON.parse(t);
|
|
@@ -18812,13 +18822,13 @@ var Cb = /*#__PURE__*/ a(bb, [["render", Sb], ["__scopeId", "data-v-451fee48"]])
|
|
|
18812
18822
|
});
|
|
18813
18823
|
}
|
|
18814
18824
|
}
|
|
18815
|
-
},
|
|
18825
|
+
}, Lb = [
|
|
18816
18826
|
"contenteditable",
|
|
18817
18827
|
"tabindex",
|
|
18818
18828
|
"data-placeholder",
|
|
18819
18829
|
"data-empty"
|
|
18820
18830
|
];
|
|
18821
|
-
function
|
|
18831
|
+
function Rb(e, t, n, r, i, a) {
|
|
18822
18832
|
return j(), h("div", {
|
|
18823
18833
|
class: D(["ecs-token-input", [
|
|
18824
18834
|
a.sizeClass,
|
|
@@ -18851,7 +18861,7 @@ function Pb(e, t, n, r, i, a) {
|
|
|
18851
18861
|
onPaste: t[5] ||= (...e) => a.onPaste && a.onPaste(...e),
|
|
18852
18862
|
onFocus: t[6] ||= (t) => e.$emit("focus", t),
|
|
18853
18863
|
onBlur: t[7] ||= (...e) => a.onBlur && a.onBlur(...e)
|
|
18854
|
-
}, null, 40,
|
|
18864
|
+
}, null, 40, Lb), pe(g("div", {
|
|
18855
18865
|
class: "ecs-token-input-caret",
|
|
18856
18866
|
style: k({
|
|
18857
18867
|
left: i.dropCaret.left + "px",
|
|
@@ -18861,7 +18871,7 @@ function Pb(e, t, n, r, i, a) {
|
|
|
18861
18871
|
"aria-hidden": "true"
|
|
18862
18872
|
}, null, 4), [[ue, i.dropCaret.visible]])], 34);
|
|
18863
18873
|
}
|
|
18864
|
-
var
|
|
18874
|
+
var zb = /*#__PURE__*/ a(Ib, [["render", Rb], ["__scopeId", "data-v-2271a3ac"]]), Bb = "application/x-ecs-chip", Vb = {
|
|
18865
18875
|
name: "ecs-token-input-source",
|
|
18866
18876
|
emits: ["dragstart", "dragend"],
|
|
18867
18877
|
components: { EcsIcon: r },
|
|
@@ -18891,7 +18901,7 @@ var Fb = /*#__PURE__*/ a(Mb, [["render", Pb], ["__scopeId", "data-v-2271a3ac"]])
|
|
|
18891
18901
|
...t,
|
|
18892
18902
|
type: "chip"
|
|
18893
18903
|
};
|
|
18894
|
-
e.dataTransfer.effectAllowed = "copy", e.dataTransfer.setData(
|
|
18904
|
+
e.dataTransfer.effectAllowed = "copy", e.dataTransfer.setData(Bb, JSON.stringify(n)), e.dataTransfer.setData("text/plain", t.label || ""), e.currentTarget.classList.add("is-dragging"), this.$emit("dragstart", {
|
|
18895
18905
|
chip: n,
|
|
18896
18906
|
event: e
|
|
18897
18907
|
});
|
|
@@ -18903,8 +18913,8 @@ var Fb = /*#__PURE__*/ a(Mb, [["render", Pb], ["__scopeId", "data-v-2271a3ac"]])
|
|
|
18903
18913
|
});
|
|
18904
18914
|
}
|
|
18905
18915
|
}
|
|
18906
|
-
},
|
|
18907
|
-
function
|
|
18916
|
+
}, Hb = ["onDragstart", "onDragend"], Ub = { class: "ecs-token-input-source-chip-label" };
|
|
18917
|
+
function Wb(e, t, n, r, i, a) {
|
|
18908
18918
|
let o = F("ecs-icon");
|
|
18909
18919
|
return j(), h("div", { class: D(["ecs-token-input-source", [a.sizeClass]]) }, [(j(!0), h(s, null, N(n.chips, (e) => (j(), h("div", {
|
|
18910
18920
|
key: e.value,
|
|
@@ -18912,28 +18922,28 @@ function Bb(e, t, n, r, i, a) {
|
|
|
18912
18922
|
draggable: "true",
|
|
18913
18923
|
onDragstart: (t) => a.onDragStart(t, e),
|
|
18914
18924
|
onDragend: (t) => a.onDragEnd(t, e)
|
|
18915
|
-
}, [g("span",
|
|
18925
|
+
}, [g("span", Ub, L(e.label), 1), y(o, {
|
|
18916
18926
|
type: "drag-handler",
|
|
18917
18927
|
size: "16",
|
|
18918
18928
|
class: "ecs-token-input-source-chip-handle"
|
|
18919
|
-
})], 40,
|
|
18929
|
+
})], 40, Hb))), 128))], 2);
|
|
18920
18930
|
}
|
|
18921
|
-
var
|
|
18931
|
+
var Gb = /*#__PURE__*/ a(Vb, [["render", Wb], ["__scopeId", "data-v-1cdeb827"]]), Kb = {
|
|
18922
18932
|
name: "ecs-toolbar",
|
|
18923
18933
|
props: { type: {
|
|
18924
18934
|
type: String,
|
|
18925
18935
|
validator: (e) => ["viewer", "index"].includes(e),
|
|
18926
18936
|
default: "index"
|
|
18927
18937
|
} }
|
|
18928
|
-
},
|
|
18938
|
+
}, qb = {
|
|
18929
18939
|
class: "ecs-toolbar",
|
|
18930
18940
|
role: "toolbar",
|
|
18931
18941
|
"aria-label": "Main"
|
|
18932
18942
|
};
|
|
18933
|
-
function
|
|
18934
|
-
return j(), h("div",
|
|
18943
|
+
function Jb(e, t, n, r, i, a) {
|
|
18944
|
+
return j(), h("div", qb, [P(e.$slots, "default", {}, void 0, !0)]);
|
|
18935
18945
|
}
|
|
18936
|
-
var
|
|
18946
|
+
var Yb = /*#__PURE__*/ a(Kb, [["render", Jb], ["__scopeId", "data-v-7c660aeb"]]), Xb = {
|
|
18937
18947
|
name: "ecs-transcript-state",
|
|
18938
18948
|
emits: ["click"],
|
|
18939
18949
|
components: {
|
|
@@ -18961,7 +18971,7 @@ var Gb = /*#__PURE__*/ a(Hb, [["render", Wb], ["__scopeId", "data-v-7c660aeb"]])
|
|
|
18961
18971
|
default: !1
|
|
18962
18972
|
}
|
|
18963
18973
|
}
|
|
18964
|
-
},
|
|
18974
|
+
}, Zb = ["aria-busy"], Qb = {
|
|
18965
18975
|
key: 0,
|
|
18966
18976
|
class: "state-svg healthy",
|
|
18967
18977
|
width: "32",
|
|
@@ -18970,7 +18980,7 @@ var Gb = /*#__PURE__*/ a(Hb, [["render", Wb], ["__scopeId", "data-v-7c660aeb"]])
|
|
|
18970
18980
|
fill: "none",
|
|
18971
18981
|
"aria-hidden": "true",
|
|
18972
18982
|
focusable: "false"
|
|
18973
|
-
},
|
|
18983
|
+
}, $b = {
|
|
18974
18984
|
key: 1,
|
|
18975
18985
|
class: "state-svg corrupted",
|
|
18976
18986
|
width: "32",
|
|
@@ -18979,11 +18989,11 @@ var Gb = /*#__PURE__*/ a(Hb, [["render", Wb], ["__scopeId", "data-v-7c660aeb"]])
|
|
|
18979
18989
|
fill: "none",
|
|
18980
18990
|
"aria-hidden": "true",
|
|
18981
18991
|
focusable: "false"
|
|
18982
|
-
},
|
|
18992
|
+
}, ex = {
|
|
18983
18993
|
key: 2,
|
|
18984
18994
|
class: "loading"
|
|
18985
18995
|
};
|
|
18986
|
-
function
|
|
18996
|
+
function tx(e, t, n, r, i, a) {
|
|
18987
18997
|
let o = F("ecs-skeleton-loader"), c = F("ecs-icon"), l = F("ecs-sticker");
|
|
18988
18998
|
return j(), h("div", {
|
|
18989
18999
|
onClick: t[0] ||= (t) => e.$emit("click", t),
|
|
@@ -19019,12 +19029,12 @@ function Zb(e, t, n, r, i, a) {
|
|
|
19019
19029
|
d: "M27 22.9997C27 24.4724 25.8061 25.6663 24.3333 25.6663H12C10.8954 25.6663 10 24.7709 10 23.6663V8.33301C10 7.22844 9.10457 6.33301 8 6.33301C6.89543 6.33301 6 7.22844 6 8.33301V11.6663C6 12.4027 6.59695 12.9997 7.33333 12.9997H10"
|
|
19020
19030
|
})
|
|
19021
19031
|
], -1),
|
|
19022
|
-
n.state == "healthy" ? (j(), h("svg",
|
|
19032
|
+
n.state == "healthy" ? (j(), h("svg", Qb, [...t[1] ||= [g("path", {
|
|
19023
19033
|
class: "badge",
|
|
19024
19034
|
"stroke-width": "1.5",
|
|
19025
19035
|
d: "M25.3799 15.8115C25.8045 15.4048 26.4938 15.0513 27.1357 15.3701C27.4872 15.5447 27.6905 15.8736 27.7383 16.2305C27.7827 16.5629 27.6938 16.8931 27.5508 17.1836L27.5303 17.2246L27.5049 17.2637L23.6709 23.1084L23.6543 23.1348L23.6357 23.1582C23.4025 23.4576 23.0493 23.7212 22.5928 23.748C22.1257 23.7754 21.736 23.5449 21.4629 23.2383L21.4551 23.2295L21.4482 23.2217L19.5107 20.9121L19.4883 20.8857L19.4688 20.8574C19.2249 20.5057 19.2065 20.1098 19.3096 19.7803C19.4064 19.4711 19.6052 19.2212 19.8174 19.0469C20.0301 18.8721 20.3093 18.7289 20.6221 18.6885C20.9393 18.6475 21.3106 18.7157 21.6143 18.9873H21.6152L22.3291 19.5996L25.3145 15.8838L25.3447 15.8457L25.3799 15.8115Z"
|
|
19026
19036
|
}, null, -1)]])) : m("", !0),
|
|
19027
|
-
n.state == "corrupted" ? (j(), h("svg",
|
|
19037
|
+
n.state == "corrupted" ? (j(), h("svg", $b, [...t[2] ||= [
|
|
19028
19038
|
g("path", {
|
|
19029
19039
|
class: "badge",
|
|
19030
19040
|
"stroke-width": "1.5",
|
|
@@ -19045,7 +19055,7 @@ function Zb(e, t, n, r, i, a) {
|
|
|
19045
19055
|
r: "0.62963"
|
|
19046
19056
|
}, null, -1)
|
|
19047
19057
|
]])) : m("", !0),
|
|
19048
|
-
n.state == "loading" ? (j(), h("span",
|
|
19058
|
+
n.state == "loading" ? (j(), h("span", ex, [y(c, {
|
|
19049
19059
|
type: "loading",
|
|
19050
19060
|
size: "18px",
|
|
19051
19061
|
color: "var(--color-icon-emphasized)"
|
|
@@ -19056,9 +19066,9 @@ function Zb(e, t, n, r, i, a) {
|
|
|
19056
19066
|
size: 12,
|
|
19057
19067
|
class: "warning"
|
|
19058
19068
|
})) : m("", !0)
|
|
19059
|
-
], 64))], 10,
|
|
19069
|
+
], 64))], 10, Zb);
|
|
19060
19070
|
}
|
|
19061
|
-
var
|
|
19071
|
+
var nx = /*#__PURE__*/ a(Xb, [["render", tx], ["__scopeId", "data-v-58253f2b"]]), rx = {
|
|
19062
19072
|
name: "ecs-tree-list",
|
|
19063
19073
|
props: {
|
|
19064
19074
|
id: { type: String },
|
|
@@ -19072,15 +19082,15 @@ var Qb = /*#__PURE__*/ a(Kb, [["render", Zb], ["__scopeId", "data-v-58253f2b"]])
|
|
|
19072
19082
|
default: !1
|
|
19073
19083
|
}
|
|
19074
19084
|
}
|
|
19075
|
-
},
|
|
19076
|
-
function
|
|
19085
|
+
}, ix = ["id", "role"];
|
|
19086
|
+
function ax(e, t, n, r, i, a) {
|
|
19077
19087
|
return j(), h("div", {
|
|
19078
19088
|
class: D(["ecs-tree-view-list", { "ecs-tree-view-list-indent": n.indent }]),
|
|
19079
19089
|
id: n.id,
|
|
19080
19090
|
role: n.role
|
|
19081
|
-
}, [P(e.$slots, "default", {}, void 0, !0)], 10,
|
|
19091
|
+
}, [P(e.$slots, "default", {}, void 0, !0)], 10, ix);
|
|
19082
19092
|
}
|
|
19083
|
-
var
|
|
19093
|
+
var ox = /*#__PURE__*/ a(rx, [["render", ax], ["__scopeId", "data-v-6af94f50"]]), sx = {
|
|
19084
19094
|
name: "ecs-tree-list-item",
|
|
19085
19095
|
emits: ["click", "toggled"],
|
|
19086
19096
|
components: {
|
|
@@ -19230,17 +19240,17 @@ var nx = /*#__PURE__*/ a($b, [["render", tx], ["__scopeId", "data-v-6af94f50"]])
|
|
|
19230
19240
|
created() {
|
|
19231
19241
|
this.expandId = this.generateUniqueId();
|
|
19232
19242
|
}
|
|
19233
|
-
},
|
|
19243
|
+
}, cx = ["tabindex"], lx = {
|
|
19234
19244
|
key: 1,
|
|
19235
19245
|
class: "icon-container"
|
|
19236
|
-
},
|
|
19246
|
+
}, ux = {
|
|
19237
19247
|
key: 2,
|
|
19238
19248
|
class: "ecs-tree-view-entry-control"
|
|
19239
|
-
},
|
|
19249
|
+
}, dx = ["disabled"], fx = {
|
|
19240
19250
|
key: 4,
|
|
19241
19251
|
class: "ecs-tree-view-entry-actions"
|
|
19242
|
-
},
|
|
19243
|
-
function
|
|
19252
|
+
}, px = ["id", "aria-hidden"];
|
|
19253
|
+
function mx(e, t, n, r, i, a) {
|
|
19244
19254
|
let o = F("ecs-button-collapse"), s = F("ecs-icon"), c = F("ecs-sticker"), l = F("ecs-focus-ring");
|
|
19245
19255
|
return j(), h("div", null, [g("div", {
|
|
19246
19256
|
onKeydown: [t[2] ||= z(B((...e) => a.focusPrevious && a.focusPrevious(...e), ["prevent"]), ["up"]), t[3] ||= z(B((...e) => a.focusNext && a.focusNext(...e), ["prevent"]), ["down"])],
|
|
@@ -19277,7 +19287,7 @@ function ux(e, t, n, r, i, a) {
|
|
|
19277
19287
|
"aria-busy",
|
|
19278
19288
|
"onClick"
|
|
19279
19289
|
])) : m("", !0),
|
|
19280
|
-
n.icon ? (j(), h("div",
|
|
19290
|
+
n.icon ? (j(), h("div", lx, [y(s, {
|
|
19281
19291
|
type: n.icon,
|
|
19282
19292
|
color: n.iconColor,
|
|
19283
19293
|
size: a.iconSize
|
|
@@ -19295,18 +19305,18 @@ function ux(e, t, n, r, i, a) {
|
|
|
19295
19305
|
"color",
|
|
19296
19306
|
"style"
|
|
19297
19307
|
])) : m("", !0)])) : m("", !0),
|
|
19298
|
-
e.$slots.control ? (j(), h("div",
|
|
19308
|
+
e.$slots.control ? (j(), h("div", ux, [P(e.$slots, "control", {}, void 0, !0)])) : m("", !0),
|
|
19299
19309
|
g("span", {
|
|
19300
19310
|
disabled: n.disabled,
|
|
19301
19311
|
onClick: t[0] ||= (t) => !n.disabled && e.$emit("click", t),
|
|
19302
19312
|
class: D(["title", [n.titleOverflow ? "overflow" : "", n.disabled ? "disabled" : ""]])
|
|
19303
|
-
}, [P(e.$slots, "default", {}, void 0, !0)], 10,
|
|
19313
|
+
}, [P(e.$slots, "default", {}, void 0, !0)], 10, dx),
|
|
19304
19314
|
n.afterLabel ? (j(), h("span", {
|
|
19305
19315
|
key: 3,
|
|
19306
19316
|
onClick: t[1] ||= (t) => !n.disabled && e.$emit("click", t),
|
|
19307
19317
|
class: "after-label"
|
|
19308
19318
|
}, L(n.afterLabel), 1)) : m("", !0),
|
|
19309
|
-
e.$slots.actions ? (j(), h("div",
|
|
19319
|
+
e.$slots.actions ? (j(), h("div", fx, [P(e.$slots, "actions", {}, void 0, !0)])) : m("", !0),
|
|
19310
19320
|
n.draggable ? (j(), p(s, {
|
|
19311
19321
|
key: 5,
|
|
19312
19322
|
type: "drag-handler",
|
|
@@ -19314,18 +19324,18 @@ function ux(e, t, n, r, i, a) {
|
|
|
19314
19324
|
class: "drag-handle"
|
|
19315
19325
|
})) : m("", !0),
|
|
19316
19326
|
a.isSelectable ? (j(), p(l, { key: 6 })) : m("", !0)
|
|
19317
|
-
], 42,
|
|
19327
|
+
], 42, cx), e.$slots.collapse ? (j(), h("div", {
|
|
19318
19328
|
key: 0,
|
|
19319
19329
|
class: D([i.isVisible ? "collapse-show" : "collapse-hide", "collapsable"]),
|
|
19320
19330
|
id: i.expandId,
|
|
19321
19331
|
"aria-hidden": i.isVisible ? "false" : "true"
|
|
19322
|
-
}, [P(e.$slots, "collapse", {}, void 0, !0)], 10,
|
|
19332
|
+
}, [P(e.$slots, "collapse", {}, void 0, !0)], 10, px)) : m("", !0)]);
|
|
19323
19333
|
}
|
|
19324
|
-
var
|
|
19325
|
-
function
|
|
19326
|
-
return j(), h("div",
|
|
19334
|
+
var hx = /*#__PURE__*/ a(sx, [["render", mx], ["__scopeId", "data-v-420e447e"]]), gx = { name: "ecs-tree-list-headline" }, _x = { class: "ecs-tree-view-headline" };
|
|
19335
|
+
function vx(e, t, n, r, i, a) {
|
|
19336
|
+
return j(), h("div", _x, [P(e.$slots, "default", {}, void 0, !0)]);
|
|
19327
19337
|
}
|
|
19328
|
-
var
|
|
19338
|
+
var yx = /*#__PURE__*/ a(gx, [["render", vx], ["__scopeId", "data-v-0c382007"]]), bx = {
|
|
19329
19339
|
name: "EcsTypeConfirmation",
|
|
19330
19340
|
emits: ["update:modelValue", "bypassConfirm"],
|
|
19331
19341
|
components: {
|
|
@@ -19401,15 +19411,15 @@ var hx = /*#__PURE__*/ a(fx, [["render", mx], ["__scopeId", "data-v-0c382007"]])
|
|
|
19401
19411
|
mounted() {
|
|
19402
19412
|
this.uniqueId = "input-" + this.generateUniqueId(), this.bypassActive && this.alertType !== "none" && this.$emit("update:modelValue", !0);
|
|
19403
19413
|
}
|
|
19404
|
-
},
|
|
19405
|
-
function
|
|
19414
|
+
}, xx = ["for"], Sx = { class: "ecs-type-confirmation-verb" }, Cx = ["for"], wx = { class: "ecs-type-confirmation-verb" };
|
|
19415
|
+
function Tx(e, t, n, r, i, a) {
|
|
19406
19416
|
let o = F("ecs-input"), s = F("ecs-form-group"), c = F("ecs-checkbox"), l = F("ecs-alert");
|
|
19407
19417
|
return n.alertType == "none" ? (j(), p(s, {
|
|
19408
19418
|
key: 1,
|
|
19409
19419
|
class: "ecs-type-confirmation-input"
|
|
19410
19420
|
}, {
|
|
19411
19421
|
default: R(() => [
|
|
19412
|
-
g("label", { for: i.uniqueId }, L(a.text), 9,
|
|
19422
|
+
g("label", { for: i.uniqueId }, L(a.text), 9, Cx),
|
|
19413
19423
|
y(o, {
|
|
19414
19424
|
modelValue: i.inputValue,
|
|
19415
19425
|
"onUpdate:modelValue": t[2] ||= (e) => i.inputValue = e,
|
|
@@ -19423,7 +19433,7 @@ function xx(e, t, n, r, i, a) {
|
|
|
19423
19433
|
"error",
|
|
19424
19434
|
"id"
|
|
19425
19435
|
]),
|
|
19426
|
-
g("span",
|
|
19436
|
+
g("span", wx, L(a.upperCaseVerb), 1)
|
|
19427
19437
|
]),
|
|
19428
19438
|
_: 1
|
|
19429
19439
|
})) : (j(), p(l, {
|
|
@@ -19438,7 +19448,7 @@ function xx(e, t, n, r, i, a) {
|
|
|
19438
19448
|
class: "ecs-type-confirmation-input"
|
|
19439
19449
|
}, {
|
|
19440
19450
|
default: R(() => [
|
|
19441
|
-
g("label", { for: i.uniqueId }, L(a.text), 9,
|
|
19451
|
+
g("label", { for: i.uniqueId }, L(a.text), 9, xx),
|
|
19442
19452
|
y(o, {
|
|
19443
19453
|
modelValue: i.inputValue,
|
|
19444
19454
|
"onUpdate:modelValue": t[0] ||= (e) => i.inputValue = e,
|
|
@@ -19452,7 +19462,7 @@ function xx(e, t, n, r, i, a) {
|
|
|
19452
19462
|
"error",
|
|
19453
19463
|
"id"
|
|
19454
19464
|
]),
|
|
19455
|
-
g("span",
|
|
19465
|
+
g("span", Sx, L(a.upperCaseVerb), 1)
|
|
19456
19466
|
]),
|
|
19457
19467
|
_: 1
|
|
19458
19468
|
})),
|
|
@@ -19469,7 +19479,7 @@ function xx(e, t, n, r, i, a) {
|
|
|
19469
19479
|
_: 3
|
|
19470
19480
|
}, 8, ["headline", "type"]));
|
|
19471
19481
|
}
|
|
19472
|
-
var
|
|
19482
|
+
var Ex = /*#__PURE__*/ a(bx, [["render", Tx], ["__scopeId", "data-v-1a286241"]]), Dx = {
|
|
19473
19483
|
name: "ecs-video",
|
|
19474
19484
|
props: {
|
|
19475
19485
|
posterImage: {
|
|
@@ -19493,14 +19503,14 @@ var Sx = /*#__PURE__*/ a(gx, [["render", xx], ["__scopeId", "data-v-1a286241"]])
|
|
|
19493
19503
|
default: null
|
|
19494
19504
|
}
|
|
19495
19505
|
}
|
|
19496
|
-
},
|
|
19506
|
+
}, Ox = [
|
|
19497
19507
|
"poster",
|
|
19498
19508
|
"autoplay",
|
|
19499
19509
|
"loop",
|
|
19500
19510
|
"controls",
|
|
19501
19511
|
"src"
|
|
19502
19512
|
];
|
|
19503
|
-
function
|
|
19513
|
+
function kx(e, t, n, r, i, a) {
|
|
19504
19514
|
return j(), h("video", {
|
|
19505
19515
|
poster: n.posterImage,
|
|
19506
19516
|
autoplay: n.autoplay,
|
|
@@ -19508,9 +19518,9 @@ function Tx(e, t, n, r, i, a) {
|
|
|
19508
19518
|
controls: n.controls,
|
|
19509
19519
|
class: "ecs-video",
|
|
19510
19520
|
src: n.mp4Source
|
|
19511
|
-
}, null, 8,
|
|
19521
|
+
}, null, 8, Ox);
|
|
19512
19522
|
}
|
|
19513
|
-
var
|
|
19523
|
+
var Ax = /*#__PURE__*/ a(Dx, [["render", kx], ["__scopeId", "data-v-ce84fcb3"]]), jx = {
|
|
19514
19524
|
name: "ecs-window",
|
|
19515
19525
|
components: {
|
|
19516
19526
|
EcsButton: X,
|
|
@@ -19681,11 +19691,11 @@ var Ex = /*#__PURE__*/ a(Cx, [["render", Tx], ["__scopeId", "data-v-ce84fcb3"]])
|
|
|
19681
19691
|
this.isFocused = !1, this.$emit("blur");
|
|
19682
19692
|
}
|
|
19683
19693
|
}
|
|
19684
|
-
},
|
|
19694
|
+
}, Mx = { class: "ecs-window-content scrollbar scrollbar-sml" }, Nx = {
|
|
19685
19695
|
key: 1,
|
|
19686
19696
|
class: "ecs-window-footer"
|
|
19687
19697
|
};
|
|
19688
|
-
function
|
|
19698
|
+
function Px(e, t, n, r, i, a) {
|
|
19689
19699
|
let o = F("ecs-text-v2"), c = F("ecs-button");
|
|
19690
19700
|
return n.show ? (j(), h("div", {
|
|
19691
19701
|
key: 0,
|
|
@@ -19722,8 +19732,8 @@ function Ax(e, t, n, r, i, a) {
|
|
|
19722
19732
|
"aria-label": "Close window",
|
|
19723
19733
|
title: "Close"
|
|
19724
19734
|
})], 32)) : m("", !0),
|
|
19725
|
-
g("div",
|
|
19726
|
-
e.$slots.footer ? (j(), h("div",
|
|
19735
|
+
g("div", Mx, [P(e.$slots, "default", {}, void 0, !0)]),
|
|
19736
|
+
e.$slots.footer ? (j(), h("div", Nx, [P(e.$slots, "footer", {}, void 0, !0)])) : m("", !0),
|
|
19727
19737
|
n.resizable ? (j(), h(s, { key: 2 }, [
|
|
19728
19738
|
g("div", {
|
|
19729
19739
|
onMousedown: t[2] ||= (e) => a.startResize("right"),
|
|
@@ -19742,6 +19752,6 @@ function Ax(e, t, n, r, i, a) {
|
|
|
19742
19752
|
], 64)) : m("", !0)
|
|
19743
19753
|
], 38)) : m("", !0);
|
|
19744
19754
|
}
|
|
19745
|
-
var
|
|
19755
|
+
var Fx = /*#__PURE__*/ a(jx, [["render", Px], ["__scopeId", "data-v-4724a9db"]]);
|
|
19746
19756
|
//#endregion
|
|
19747
|
-
export { Ie as EcsActionToolbar, Ae as EcsAlert, He as EcsAudio, Ze as EcsAvatar, et as EcsBanner, rt as EcsBreadcrumb, st as EcsBreadcrumbButton, dt as EcsBreadcrumbTitle, zi as EcsBulkSelector, X as EcsButton, qi as EcsButtonCollapse, Ia as EcsButtonContext, Ba as EcsButtonContextGroup, Wa as EcsButtonDialog, Ui as EcsButtonGroup, Ja as EcsButtonMore, $a as EcsButtonTable, Mi as EcsButtonToolbar, ro as EcsButtonToolbarGroup, lo as EcsCard, vo as EcsChatConversation, Oo as EcsChatMessage, Ar as EcsCheckbox, mo as EcsCitationLine, Cr as EcsClickableArea, Wo as EcsCollapse, Ac as EcsColorPicker, Nc as EcsColorPickerInput, bs as EcsComment, ws as EcsCommentList, is as EcsContentCard, Fo as EcsContextMenu, Jc as EcsDataCard, Qc as EcsDataCardList, ul as EcsDataCardRow, gl as EcsDataGrid, uu as EcsDataGridCell, ru as EcsDataGridGroup, $l as EcsDataGridHeadCell, bl as EcsDataGridRow, Tl as EcsDataGridRowGroup, mu as EcsDataList, xu as EcsDataListItem, Tu as EcsDialog, Au as EcsDialogHeader, Iu as EcsDirectoryEntry, qu as EcsDocumentState, td as EcsDonutChart, xd as EcsDropzone, wd as EcsEcaiWrapper, sd as EcsEmptyState, jd as EcsEntryLink, Hd as EcsExcerptSnippet, Af as EcsExhibitStickerEditor, n as EcsFavicon, t as EcsFileIcon, Pf as EcsFileList, Xf as EcsFileListItem, o as EcsFillIcon, Qf as EcsFlag, tp as EcsFlexCol, G as EcsFlexRow, H as EcsFocusRing, hp as EcsFolderSelector, br as EcsFormCheck, vp as EcsFormGroup, wp as EcsFormHeadline, Mp as EcsFormSet, cs as EcsFormatted, Fp as EcsHighlight, r as EcsIcon, Rp as EcsIllustration, em as EcsIndexListItem, qp as EcsIndexToolbar, am as EcsInfoTooltip, dm as EcsInlineEdit, Mm as EcsInplace, qd as EcsInput, mm as EcsInputAddon, op as EcsInputClear, vm as EcsInputConnector, wm as EcsInputFloat, Dm as EcsInputGroup, up as EcsInputSearch, Lm as EcsJumperDocument, Wm as EcsJumperIndex, ah as EcsJumperPage, Lh as EcsLayoutDataTable, wh as EcsLayoutDirectory, gh as EcsLayoutIndex, Gh as EcsLegendItem, Qh as EcsLogMessage, rg as EcsMap, lg as EcsModal, xg as EcsModalFooter, hg as EcsModalHeader, Lg as EcsMultiselectOption, Og as EcsMultiselectSearchToken, jg as EcsMultiselectToken, t_ as EcsOverlay, l_ as EcsPagination, ch as EcsPane, nl as EcsPartyEntry, mr as EcsPopover, __ as EcsPopoverHeader, _r as EcsPopoverList, Zd as EcsPopoverListHeadline, Di as EcsPopoverListItem, dd as EcsProgress, q_ as EcsQuicklink, Fr as EcsRadiobutton, $_ as EcsRange, D_ as EcsRatingFavorability, S_ as EcsRatingStarRead, ov as EcsRatingStarWrite, ef as EcsScrollContainer, uv as EcsSection, Av as EcsSegment, Pl as EcsSelect, Vv as EcsSelectTile, Fv as EcsSelectionGrid, Fi as EcsSeparator, Gv as EcsSequenceMap, Xv as EcsSequenceMapButton, xo as EcsShinyText, sy as EcsSidebar, uy as EcsSidebarContent, py as EcsSidebarFooter, Sy as EcsSidebarHeader, Ey as EcsSidebarList, Iy as EcsSidebarListItem, W as EcsSkeletonLoader, Kr as EcsSortbutton, lh as EcsSplitpanes, i as EcsStateIcon, U as EcsSticker, Uy as EcsStructuredContent, qy as EcsSwatchesPicker, Ur as EcsSwitch,
|
|
19757
|
+
export { Ie as EcsActionToolbar, Ae as EcsAlert, He as EcsAudio, Ze as EcsAvatar, et as EcsBanner, rt as EcsBreadcrumb, st as EcsBreadcrumbButton, dt as EcsBreadcrumbTitle, zi as EcsBulkSelector, X as EcsButton, qi as EcsButtonCollapse, Ia as EcsButtonContext, Ba as EcsButtonContextGroup, Wa as EcsButtonDialog, Ui as EcsButtonGroup, Ja as EcsButtonMore, $a as EcsButtonTable, Mi as EcsButtonToolbar, ro as EcsButtonToolbarGroup, lo as EcsCard, vo as EcsChatConversation, Oo as EcsChatMessage, Ar as EcsCheckbox, mo as EcsCitationLine, Cr as EcsClickableArea, Wo as EcsCollapse, Ac as EcsColorPicker, Nc as EcsColorPickerInput, bs as EcsComment, ws as EcsCommentList, is as EcsContentCard, Fo as EcsContextMenu, Jc as EcsDataCard, Qc as EcsDataCardList, ul as EcsDataCardRow, gl as EcsDataGrid, uu as EcsDataGridCell, ru as EcsDataGridGroup, $l as EcsDataGridHeadCell, bl as EcsDataGridRow, Tl as EcsDataGridRowGroup, mu as EcsDataList, xu as EcsDataListItem, Tu as EcsDialog, Au as EcsDialogHeader, Iu as EcsDirectoryEntry, qu as EcsDocumentState, td as EcsDonutChart, xd as EcsDropzone, wd as EcsEcaiWrapper, sd as EcsEmptyState, jd as EcsEntryLink, Hd as EcsExcerptSnippet, Af as EcsExhibitStickerEditor, n as EcsFavicon, t as EcsFileIcon, Pf as EcsFileList, Xf as EcsFileListItem, o as EcsFillIcon, Qf as EcsFlag, tp as EcsFlexCol, G as EcsFlexRow, H as EcsFocusRing, hp as EcsFolderSelector, br as EcsFormCheck, vp as EcsFormGroup, wp as EcsFormHeadline, Mp as EcsFormSet, cs as EcsFormatted, Fp as EcsHighlight, r as EcsIcon, Rp as EcsIllustration, em as EcsIndexListItem, qp as EcsIndexToolbar, am as EcsInfoTooltip, dm as EcsInlineEdit, Mm as EcsInplace, qd as EcsInput, mm as EcsInputAddon, op as EcsInputClear, vm as EcsInputConnector, wm as EcsInputFloat, Dm as EcsInputGroup, up as EcsInputSearch, Lm as EcsJumperDocument, Wm as EcsJumperIndex, ah as EcsJumperPage, Lh as EcsLayoutDataTable, wh as EcsLayoutDirectory, gh as EcsLayoutIndex, Gh as EcsLegendItem, Qh as EcsLogMessage, rg as EcsMap, lg as EcsModal, xg as EcsModalFooter, hg as EcsModalHeader, Lg as EcsMultiselectOption, Og as EcsMultiselectSearchToken, jg as EcsMultiselectToken, t_ as EcsOverlay, l_ as EcsPagination, ch as EcsPane, nl as EcsPartyEntry, mr as EcsPopover, __ as EcsPopoverHeader, _r as EcsPopoverList, Zd as EcsPopoverListHeadline, Di as EcsPopoverListItem, dd as EcsProgress, q_ as EcsQuicklink, Fr as EcsRadiobutton, $_ as EcsRange, D_ as EcsRatingFavorability, S_ as EcsRatingStarRead, ov as EcsRatingStarWrite, ef as EcsScrollContainer, uv as EcsSection, Av as EcsSegment, Pl as EcsSelect, Vv as EcsSelectTile, Fv as EcsSelectionGrid, Fi as EcsSeparator, Gv as EcsSequenceMap, Xv as EcsSequenceMapButton, xo as EcsShinyText, sy as EcsSidebar, uy as EcsSidebarContent, py as EcsSidebarFooter, Sy as EcsSidebarHeader, Ey as EcsSidebarList, Iy as EcsSidebarListItem, W as EcsSkeletonLoader, Kr as EcsSortbutton, lh as EcsSplitpanes, i as EcsStateIcon, U as EcsSticker, Uy as EcsStructuredContent, qy as EcsStructuredContentList, Zy as EcsSwatchesPicker, Ur as EcsSwitch, tb as EcsTab, ey as EcsTabBar, ob as EcsTabButton, ry as EcsTabs, db as EcsTag, hb as EcsTagCloud, J as EcsTextV2, Cb as EcsToast, Db as EcsToasts, zb as EcsTokenInput, Gb as EcsTokenInputSource, Yb as EcsToolbar, wv as EcsTooltip, yb as EcsTooltipDirective, bb as EcsTooltipPlugin, nx as EcsTranscriptState, ox as EcsTreeList, yx as EcsTreeListHeadline, hx as EcsTreeListItem, Ex as EcsTypeConfirmation, Ax as EcsVideo, Fx as EcsWindow };
|