@everchron/ec-shards 9.3.0 → 9.5.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.js +103 -71
- package/dist/ec-shards.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/ec-shards.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineAsyncComponent as ee, watch as ce, openBlock as o, createBlock as h, resolveDynamicComponent as Ee, unref as ae, normalizeClass as y, createElementBlock as l, normalizeStyle as x, resolveComponent as g, createVNode as _, createCommentVNode as u, createElementVNode as f, createTextVNode as D, toDisplayString as w, renderSlot as p, Transition as
|
|
1
|
+
import { defineAsyncComponent as ee, watch as ce, openBlock as o, createBlock as h, resolveDynamicComponent as Ee, unref as ae, normalizeClass as y, createElementBlock as l, normalizeStyle as x, resolveComponent as g, createVNode as _, createCommentVNode as u, createElementVNode as f, createTextVNode as D, toDisplayString as w, renderSlot as p, Transition as ue, withCtx as S, computed as ke, reactive as Qs, nextTick as ei, onBeforeUnmount as Pt, toRefs as _s, isRef as ti, onMounted as ks, useSlots as si, ref as Ye, watchEffect as kt, withKeys as G, Teleport as ii, withDirectives as Ge, vShow as gt, mergeProps as De, normalizeProps as ni, guardReactiveProps as ai, withModifiers as U, pushScopeId as be, popScopeId as _e, Fragment as X, renderList as he, resolveDirective as oi, vModelText as ri, markRaw as li, h as ci, TransitionGroup as di } from "vue";
|
|
2
2
|
const te = (e, s) => {
|
|
3
3
|
const t = e[s];
|
|
4
4
|
return t ? typeof t == "function" ? t() : Promise.resolve(t) : new Promise((a, n) => {
|
|
@@ -223,7 +223,7 @@ const ws = /* @__PURE__ */ v(mi, [["render", bi], ["__scopeId", "data-v-4804812d
|
|
|
223
223
|
"aria-label": "Actions"
|
|
224
224
|
};
|
|
225
225
|
function wi(e, s, t, a, n, i) {
|
|
226
|
-
return o(), h(
|
|
226
|
+
return o(), h(ue, {
|
|
227
227
|
name: "action-bar",
|
|
228
228
|
appear: ""
|
|
229
229
|
}, {
|
|
@@ -1904,7 +1904,7 @@ const na = /* @__PURE__ */ v(ta, [["render", ia], ["__scopeId", "data-v-baf3bb28
|
|
|
1904
1904
|
p(J.$slots, "default", {}, void 0, !0)
|
|
1905
1905
|
], 40, aa),
|
|
1906
1906
|
(o(), h(ii, { to: "body" }, [
|
|
1907
|
-
_(
|
|
1907
|
+
_(ue, { name: "fade" }, {
|
|
1908
1908
|
default: S(() => [
|
|
1909
1909
|
e.persistent || c.value ? Ge((o(), l("div", {
|
|
1910
1910
|
key: 0,
|
|
@@ -2120,7 +2120,7 @@ function ha(e, s, t, a, n, i) {
|
|
|
2120
2120
|
_: 3
|
|
2121
2121
|
}, 8, ["class", "style"]);
|
|
2122
2122
|
}
|
|
2123
|
-
const nt = /* @__PURE__ */ v(pa, [["render", ha], ["__scopeId", "data-v-b3c32482"]]),
|
|
2123
|
+
const nt = /* @__PURE__ */ v(pa, [["render", ha], ["__scopeId", "data-v-b3c32482"]]), fe = {
|
|
2124
2124
|
data() {
|
|
2125
2125
|
return {
|
|
2126
2126
|
uniqueId: ""
|
|
@@ -2139,7 +2139,7 @@ const nt = /* @__PURE__ */ v(pa, [["render", ha], ["__scopeId", "data-v-b3c32482
|
|
|
2139
2139
|
name: "ecs-checkbox",
|
|
2140
2140
|
emits: ["input", "shiftClick"],
|
|
2141
2141
|
components: { EcsFormCheck: Ft, EcsText: nt },
|
|
2142
|
-
mixins: [
|
|
2142
|
+
mixins: [fe],
|
|
2143
2143
|
props: {
|
|
2144
2144
|
/** Name attribute of the input. */
|
|
2145
2145
|
name: {
|
|
@@ -2274,7 +2274,7 @@ const Vt = /* @__PURE__ */ v(va, [["render", _a], ["__scopeId", "data-v-e15ff286
|
|
|
2274
2274
|
name: "ecs-radiobutton",
|
|
2275
2275
|
emits: ["input", "change"],
|
|
2276
2276
|
components: { EcsFormCheck: Ft, EcsText: nt },
|
|
2277
|
-
mixins: [
|
|
2277
|
+
mixins: [fe],
|
|
2278
2278
|
model: {
|
|
2279
2279
|
prop: "checked",
|
|
2280
2280
|
event: "input"
|
|
@@ -2394,7 +2394,7 @@ const xa = /* @__PURE__ */ v(ka, [["render", Ca], ["__scopeId", "data-v-0296b689
|
|
|
2394
2394
|
name: "ecs-switch",
|
|
2395
2395
|
emits: ["input"],
|
|
2396
2396
|
components: { EcsFocusRing: L },
|
|
2397
|
-
mixins: [
|
|
2397
|
+
mixins: [fe],
|
|
2398
2398
|
props: {
|
|
2399
2399
|
/** Sets the name attribute. */
|
|
2400
2400
|
name: {
|
|
@@ -3910,15 +3910,15 @@ function Lo(e, s, t) {
|
|
|
3910
3910
|
};
|
|
3911
3911
|
}
|
|
3912
3912
|
function ds(e, s, t, a) {
|
|
3913
|
-
var n = [
|
|
3913
|
+
var n = [pe(Math.round(e).toString(16)), pe(Math.round(s).toString(16)), pe(Math.round(t).toString(16))];
|
|
3914
3914
|
return a && n[0].charAt(0) == n[0].charAt(1) && n[1].charAt(0) == n[1].charAt(1) && n[2].charAt(0) == n[2].charAt(1) ? n[0].charAt(0) + n[1].charAt(0) + n[2].charAt(0) : n.join("");
|
|
3915
3915
|
}
|
|
3916
3916
|
function Oo(e, s, t, a, n) {
|
|
3917
|
-
var i = [
|
|
3917
|
+
var i = [pe(Math.round(e).toString(16)), pe(Math.round(s).toString(16)), pe(Math.round(t).toString(16)), pe(Ns(a))];
|
|
3918
3918
|
return n && i[0].charAt(0) == i[0].charAt(1) && i[1].charAt(0) == i[1].charAt(1) && i[2].charAt(0) == i[2].charAt(1) && i[3].charAt(0) == i[3].charAt(1) ? i[0].charAt(0) + i[1].charAt(0) + i[2].charAt(0) + i[3].charAt(0) : i.join("");
|
|
3919
3919
|
}
|
|
3920
3920
|
function us(e, s, t, a) {
|
|
3921
|
-
var n = [
|
|
3921
|
+
var n = [pe(Ns(a)), pe(Math.round(e).toString(16)), pe(Math.round(s).toString(16)), pe(Math.round(t).toString(16))];
|
|
3922
3922
|
return n.join("");
|
|
3923
3923
|
}
|
|
3924
3924
|
C.equals = function(e, s) {
|
|
@@ -4224,7 +4224,7 @@ function Yo(e) {
|
|
|
4224
4224
|
function Xo(e) {
|
|
4225
4225
|
return typeof e == "string" && e.indexOf("%") != -1;
|
|
4226
4226
|
}
|
|
4227
|
-
function
|
|
4227
|
+
function pe(e) {
|
|
4228
4228
|
return e.length == 1 ? "0" + e : "" + e;
|
|
4229
4229
|
}
|
|
4230
4230
|
function Je(e) {
|
|
@@ -4236,7 +4236,7 @@ function Ns(e) {
|
|
|
4236
4236
|
function gs(e) {
|
|
4237
4237
|
return ne(e) / 255;
|
|
4238
4238
|
}
|
|
4239
|
-
var
|
|
4239
|
+
var me = function() {
|
|
4240
4240
|
var e = "[-\\+]?\\d+%?", s = "[-\\+]?\\d*\\.\\d+%?", t = "(?:" + s + ")|(?:" + e + ")", a = "[\\s|\\(]+(" + t + ")[,|\\s]+(" + t + ")[,|\\s]+(" + t + ")\\s*\\)?", n = "[\\s|\\(]+(" + t + ")[,|\\s]+(" + t + ")[,|\\s]+(" + t + ")[,|\\s]+(" + t + ")\\s*\\)?";
|
|
4241
4241
|
return {
|
|
4242
4242
|
CSS_UNIT: new RegExp(t),
|
|
@@ -4253,7 +4253,7 @@ var ge = function() {
|
|
|
4253
4253
|
};
|
|
4254
4254
|
}();
|
|
4255
4255
|
function ze(e) {
|
|
4256
|
-
return !!
|
|
4256
|
+
return !!me.CSS_UNIT.exec(e);
|
|
4257
4257
|
}
|
|
4258
4258
|
function Zo(e) {
|
|
4259
4259
|
e = e.replace(Eo, "").replace($o, "").toLowerCase();
|
|
@@ -4269,51 +4269,51 @@ function Zo(e) {
|
|
|
4269
4269
|
format: "name"
|
|
4270
4270
|
};
|
|
4271
4271
|
var t;
|
|
4272
|
-
return (t =
|
|
4272
|
+
return (t = me.rgb.exec(e)) ? {
|
|
4273
4273
|
r: t[1],
|
|
4274
4274
|
g: t[2],
|
|
4275
4275
|
b: t[3]
|
|
4276
|
-
} : (t =
|
|
4276
|
+
} : (t = me.rgba.exec(e)) ? {
|
|
4277
4277
|
r: t[1],
|
|
4278
4278
|
g: t[2],
|
|
4279
4279
|
b: t[3],
|
|
4280
4280
|
a: t[4]
|
|
4281
|
-
} : (t =
|
|
4281
|
+
} : (t = me.hsl.exec(e)) ? {
|
|
4282
4282
|
h: t[1],
|
|
4283
4283
|
s: t[2],
|
|
4284
4284
|
l: t[3]
|
|
4285
|
-
} : (t =
|
|
4285
|
+
} : (t = me.hsla.exec(e)) ? {
|
|
4286
4286
|
h: t[1],
|
|
4287
4287
|
s: t[2],
|
|
4288
4288
|
l: t[3],
|
|
4289
4289
|
a: t[4]
|
|
4290
|
-
} : (t =
|
|
4290
|
+
} : (t = me.hsv.exec(e)) ? {
|
|
4291
4291
|
h: t[1],
|
|
4292
4292
|
s: t[2],
|
|
4293
4293
|
v: t[3]
|
|
4294
|
-
} : (t =
|
|
4294
|
+
} : (t = me.hsva.exec(e)) ? {
|
|
4295
4295
|
h: t[1],
|
|
4296
4296
|
s: t[2],
|
|
4297
4297
|
v: t[3],
|
|
4298
4298
|
a: t[4]
|
|
4299
|
-
} : (t =
|
|
4299
|
+
} : (t = me.hex8.exec(e)) ? {
|
|
4300
4300
|
r: ne(t[1]),
|
|
4301
4301
|
g: ne(t[2]),
|
|
4302
4302
|
b: ne(t[3]),
|
|
4303
4303
|
a: gs(t[4]),
|
|
4304
4304
|
format: s ? "name" : "hex8"
|
|
4305
|
-
} : (t =
|
|
4305
|
+
} : (t = me.hex6.exec(e)) ? {
|
|
4306
4306
|
r: ne(t[1]),
|
|
4307
4307
|
g: ne(t[2]),
|
|
4308
4308
|
b: ne(t[3]),
|
|
4309
4309
|
format: s ? "name" : "hex"
|
|
4310
|
-
} : (t =
|
|
4310
|
+
} : (t = me.hex4.exec(e)) ? {
|
|
4311
4311
|
r: ne(t[1] + "" + t[1]),
|
|
4312
4312
|
g: ne(t[2] + "" + t[2]),
|
|
4313
4313
|
b: ne(t[3] + "" + t[3]),
|
|
4314
4314
|
a: gs(t[4] + "" + t[4]),
|
|
4315
4315
|
format: s ? "name" : "hex8"
|
|
4316
|
-
} : (t =
|
|
4316
|
+
} : (t = me.hex3.exec(e)) ? {
|
|
4317
4317
|
r: ne(t[1] + "" + t[1]),
|
|
4318
4318
|
g: ne(t[2] + "" + t[2]),
|
|
4319
4319
|
b: ne(t[3] + "" + t[3]),
|
|
@@ -5087,6 +5087,11 @@ const Rb = /* @__PURE__ */ v(Tr, [["render", Ar], ["__scopeId", "data-v-68234afa
|
|
|
5087
5087
|
/** Sets the count of the collapse control in parenthese next to the headline. */
|
|
5088
5088
|
count: {
|
|
5089
5089
|
type: Number
|
|
5090
|
+
},
|
|
5091
|
+
/** Hides the controls when the collapse is closed */
|
|
5092
|
+
hideControlsWhenCollapsed: {
|
|
5093
|
+
type: Boolean,
|
|
5094
|
+
default: !1
|
|
5090
5095
|
}
|
|
5091
5096
|
},
|
|
5092
5097
|
data() {
|
|
@@ -5172,9 +5177,14 @@ function qr(e, s, t, a, n, i) {
|
|
|
5172
5177
|
inset: 0,
|
|
5173
5178
|
radius: 0
|
|
5174
5179
|
}),
|
|
5175
|
-
|
|
5176
|
-
|
|
5177
|
-
|
|
5180
|
+
_(ue, { name: "fade" }, {
|
|
5181
|
+
default: S(() => [
|
|
5182
|
+
e.$slots.controls && (!t.hideControlsWhenCollapsed || n.isVisible) ? (o(), l("div", Vr, [
|
|
5183
|
+
p(e.$slots, "controls", {}, void 0, !0)
|
|
5184
|
+
])) : u("", !0)
|
|
5185
|
+
]),
|
|
5186
|
+
_: 3
|
|
5187
|
+
})
|
|
5178
5188
|
], 42, Rr)
|
|
5179
5189
|
]),
|
|
5180
5190
|
f("div", {
|
|
@@ -5190,11 +5200,11 @@ function qr(e, s, t, a, n, i) {
|
|
|
5190
5200
|
], 10, Hr)
|
|
5191
5201
|
], 2);
|
|
5192
5202
|
}
|
|
5193
|
-
const Fb = /* @__PURE__ */ v(Nr, [["render", qr], ["__scopeId", "data-v-
|
|
5203
|
+
const Fb = /* @__PURE__ */ v(Nr, [["render", qr], ["__scopeId", "data-v-56e0b99c"]]), Wr = {
|
|
5194
5204
|
name: "ecs-collection-control",
|
|
5195
5205
|
emits: ["toggled", "collectionTooltip"],
|
|
5196
5206
|
components: { EcsIcon: M, EcsFocusRing: L },
|
|
5197
|
-
mixins: [
|
|
5207
|
+
mixins: [fe],
|
|
5198
5208
|
props: {
|
|
5199
5209
|
/** Icon representing the type of selection. The list of available icon names can be found [here](https://github.com/everchron/ec-shards/tree/main/src/assets/icons). */
|
|
5200
5210
|
icon: {
|
|
@@ -5394,10 +5404,10 @@ function sl(e, s, t, a, n, i) {
|
|
|
5394
5404
|
}, null, 4)
|
|
5395
5405
|
], 2));
|
|
5396
5406
|
}
|
|
5397
|
-
const
|
|
5407
|
+
const ge = /* @__PURE__ */ v(Zr, [["render", sl], ["__scopeId", "data-v-75354c78"]]), il = {
|
|
5398
5408
|
name: "ecs-formatted",
|
|
5399
|
-
components: { EcsSkeletonLoader:
|
|
5400
|
-
mixins: [
|
|
5409
|
+
components: { EcsSkeletonLoader: ge },
|
|
5410
|
+
mixins: [fe],
|
|
5401
5411
|
props: {
|
|
5402
5412
|
/** Sets the general font size of the formatted text component to small. */
|
|
5403
5413
|
small: {
|
|
@@ -5445,7 +5455,7 @@ function al(e, s, t, a, n, i) {
|
|
|
5445
5455
|
const Fs = /* @__PURE__ */ v(il, [["render", al]]), ol = {
|
|
5446
5456
|
name: "ecs-comment",
|
|
5447
5457
|
emits: ["edit", "delete"],
|
|
5448
|
-
components: { EcsAvatar: Li, EcsButton: Ce, EcsFormatted: Fs, EcsSkeletonLoader:
|
|
5458
|
+
components: { EcsAvatar: Li, EcsButton: Ce, EcsFormatted: Fs, EcsSkeletonLoader: ge },
|
|
5449
5459
|
props: {
|
|
5450
5460
|
/** Name of the user that is the comment author. */
|
|
5451
5461
|
userName: {
|
|
@@ -6414,8 +6424,8 @@ function wd(e, s, t, a, n, i) {
|
|
|
6414
6424
|
}
|
|
6415
6425
|
const Wb = /* @__PURE__ */ v(kd, [["render", wd], ["__scopeId", "data-v-08aaa823"]]), Sd = {
|
|
6416
6426
|
name: "ecs-data-card",
|
|
6417
|
-
components: { EcsIcon: M, EcsSkeletonLoader:
|
|
6418
|
-
mixins: [
|
|
6427
|
+
components: { EcsIcon: M, EcsSkeletonLoader: ge, EcsButtonTable: Rs, EcsButton: Ce, EcsFocusRing: L },
|
|
6428
|
+
mixins: [fe],
|
|
6419
6429
|
props: {
|
|
6420
6430
|
/** If passed, an icon will be displayed in the data card. The icon prop must match a specific icons name. The list of available icon names can be found [here](https://github.com/everchron/ec-shards/tree/main/src/assets/icons). */
|
|
6421
6431
|
icon: {
|
|
@@ -7498,8 +7508,8 @@ function Pu(e, s, t, a, n, i) {
|
|
|
7498
7508
|
const Jb = /* @__PURE__ */ v(Eu, [["render", Pu]]), Tu = {
|
|
7499
7509
|
name: "ecs-data-list-item",
|
|
7500
7510
|
emits: ["toggled"],
|
|
7501
|
-
components: { EcsButtonMore: Ds, EcsSkeletonLoader:
|
|
7502
|
-
mixins: [
|
|
7511
|
+
components: { EcsButtonMore: Ds, EcsSkeletonLoader: ge },
|
|
7512
|
+
mixins: [fe],
|
|
7503
7513
|
props: {
|
|
7504
7514
|
/** The label that shows up to the left of the list item. Usually describes the content to the left, e.g.: "Type", "Profiles", etc. */
|
|
7505
7515
|
identifier: {
|
|
@@ -7961,7 +7971,7 @@ const s_ = /* @__PURE__ */ v(Ku, [["render", Zu], ["__scopeId", "data-v-800f5f8e
|
|
|
7961
7971
|
name: "ecs-document-state",
|
|
7962
7972
|
components: {
|
|
7963
7973
|
EcsIcon: M,
|
|
7964
|
-
EcsSkeletonLoader:
|
|
7974
|
+
EcsSkeletonLoader: ge
|
|
7965
7975
|
},
|
|
7966
7976
|
props: {
|
|
7967
7977
|
/** Determines if the document has been processed by OCR. */
|
|
@@ -8228,7 +8238,7 @@ const kf = /* @__PURE__ */ v(yf, [["render", _f], ["__scopeId", "data-v-fc9084ab
|
|
|
8228
8238
|
emits: ["onFileDrop", "cancel"],
|
|
8229
8239
|
components: {
|
|
8230
8240
|
EcsEmptyState: vf,
|
|
8231
|
-
EcsSkeletonLoader:
|
|
8241
|
+
EcsSkeletonLoader: ge,
|
|
8232
8242
|
EcsProgress: kf,
|
|
8233
8243
|
EcsButton: Ce,
|
|
8234
8244
|
EcsFocusRing: L,
|
|
@@ -8620,7 +8630,7 @@ function Af(e, s, t, a, n, i) {
|
|
|
8620
8630
|
}
|
|
8621
8631
|
const o_ = /* @__PURE__ */ v(Pf, [["render", Af], ["__scopeId", "data-v-00b5ab33"]]), Nf = {
|
|
8622
8632
|
name: "ecs-excerpt-snippet",
|
|
8623
|
-
components: { EcsIcon: M, EcsSkeletonLoader:
|
|
8633
|
+
components: { EcsIcon: M, EcsSkeletonLoader: ge, EcsFormatted: Fs },
|
|
8624
8634
|
props: {
|
|
8625
8635
|
/** Determines how the content of the excerpt should be rendered. */
|
|
8626
8636
|
type: {
|
|
@@ -8814,7 +8824,7 @@ const c_ = /* @__PURE__ */ v(Gf, [["render", Yf]]), Xf = {
|
|
|
8814
8824
|
EcsButtonTable: Rs,
|
|
8815
8825
|
EcsFocusRing: L
|
|
8816
8826
|
},
|
|
8817
|
-
mixins: [
|
|
8827
|
+
mixins: [fe],
|
|
8818
8828
|
props: {
|
|
8819
8829
|
/** Adds a button to the right of the list items, which allows to remove/delete the item. Emits the `@remove` event on click. */
|
|
8820
8830
|
remove: {
|
|
@@ -8940,7 +8950,7 @@ function lg(e, s, t, a, n, i) {
|
|
|
8940
8950
|
tabindex: t.hover ? "0" : "-1"
|
|
8941
8951
|
}, [
|
|
8942
8952
|
t.hover ? (o(), h(r, { key: 0 })) : u("", !0),
|
|
8943
|
-
_(
|
|
8953
|
+
_(ue, { name: "title" }, {
|
|
8944
8954
|
default: S(() => [
|
|
8945
8955
|
t.showTitleEdit || !t.edit ? (o(), l("div", Jf, [
|
|
8946
8956
|
t.icon ? (o(), h(c, {
|
|
@@ -9031,7 +9041,7 @@ function lg(e, s, t, a, n, i) {
|
|
|
9031
9041
|
}, [
|
|
9032
9042
|
p(e.$slots, "collapse", {}, void 0, !0)
|
|
9033
9043
|
], 10, ag)) : u("", !0),
|
|
9034
|
-
_(
|
|
9044
|
+
_(ue, { name: "edit" }, {
|
|
9035
9045
|
default: S(() => [
|
|
9036
9046
|
e.$slots.edit && t.edit ? (o(), l("div", {
|
|
9037
9047
|
key: 0,
|
|
@@ -9635,7 +9645,7 @@ const m_ = /* @__PURE__ */ v(Dg, [["render", Vg], ["__scopeId", "data-v-c9188464
|
|
|
9635
9645
|
}
|
|
9636
9646
|
};
|
|
9637
9647
|
function qg(e, s, t, a, n, i) {
|
|
9638
|
-
return o(), h(
|
|
9648
|
+
return o(), h(ue, {
|
|
9639
9649
|
name: "fade",
|
|
9640
9650
|
appear: ""
|
|
9641
9651
|
}, {
|
|
@@ -10007,7 +10017,7 @@ function pm(e, s, t, a, n, i) {
|
|
|
10007
10017
|
const b_ = /* @__PURE__ */ v(gm, [["render", pm]]), hm = {
|
|
10008
10018
|
name: "ecs-input-float",
|
|
10009
10019
|
emits: ["input"],
|
|
10010
|
-
mixins: [
|
|
10020
|
+
mixins: [fe],
|
|
10011
10021
|
props: {
|
|
10012
10022
|
/** Input type, supports most HTML5 types. */
|
|
10013
10023
|
type: {
|
|
@@ -10931,7 +10941,7 @@ function rp(e, s, t, a, n, i) {
|
|
|
10931
10941
|
const B_ = /* @__PURE__ */ v(tp, [["render", rp], ["__scopeId", "data-v-f5afc4e6"]]), lp = {
|
|
10932
10942
|
name: "ecs-layout-data-table",
|
|
10933
10943
|
components: { EcsActionToolbar: Si, EcsButton: Ce },
|
|
10934
|
-
mixins: [
|
|
10944
|
+
mixins: [fe],
|
|
10935
10945
|
props: {
|
|
10936
10946
|
/** Needs to be set when the edit/view sidebar is expanded. */
|
|
10937
10947
|
sidebarExpanded: {
|
|
@@ -11000,7 +11010,7 @@ function hp(e, s, t, a, n, i) {
|
|
|
11000
11010
|
"data-test": "button-toggle-statistics"
|
|
11001
11011
|
}, null, 8, ["onClick", "type", "active", "aria-label", "title", "aria-controls"])) : u("", !0)
|
|
11002
11012
|
])) : u("", !0),
|
|
11003
|
-
_(
|
|
11013
|
+
_(ue, { name: n.statisticsBarTransition }, {
|
|
11004
11014
|
default: S(() => [
|
|
11005
11015
|
e.$slots.statistics && n.showStatistics ? (o(), l("div", {
|
|
11006
11016
|
key: 0,
|
|
@@ -11139,7 +11149,7 @@ const I_ = /* @__PURE__ */ v(vp, [["render", kp], ["__scopeId", "data-v-6d506293
|
|
|
11139
11149
|
components: {
|
|
11140
11150
|
EcsFlexRow: Te,
|
|
11141
11151
|
EcsSticker: Fe,
|
|
11142
|
-
EcsSkeletonLoader:
|
|
11152
|
+
EcsSkeletonLoader: ge
|
|
11143
11153
|
},
|
|
11144
11154
|
props: {
|
|
11145
11155
|
/** Determines the type of log message, which also impacts the styling of it. */
|
|
@@ -11315,7 +11325,7 @@ const $_ = /* @__PURE__ */ v(Bp, [["render", Ep], ["__scopeId", "data-v-e2371c57
|
|
|
11315
11325
|
class: "ecs-modal-footer-wrap"
|
|
11316
11326
|
}, Op = /* @__PURE__ */ Pp(() => /* @__PURE__ */ f("div", { class: "ecs-modal-backdrop ecs-modal-sheet-backdrop" }, null, -1));
|
|
11317
11327
|
function Ap(e, s, t, a, n, i) {
|
|
11318
|
-
return o(), h(
|
|
11328
|
+
return o(), h(ue, { name: "dialog-fade" }, {
|
|
11319
11329
|
default: S(() => [
|
|
11320
11330
|
n.isShown ? (o(), l("div", {
|
|
11321
11331
|
key: 0,
|
|
@@ -11914,7 +11924,7 @@ const A_ = /* @__PURE__ */ v(oh, [["render", lh], ["__scopeId", "data-v-e28fc40f
|
|
|
11914
11924
|
};
|
|
11915
11925
|
function xh(e, s, t, a, n, i) {
|
|
11916
11926
|
const r = g("ecs-icon"), c = g("ecs-button-toolbar"), d = g("ecs-alert");
|
|
11917
|
-
return o(), h(
|
|
11927
|
+
return o(), h(ue, {
|
|
11918
11928
|
name: "fade",
|
|
11919
11929
|
appear: ""
|
|
11920
11930
|
}, {
|
|
@@ -12001,7 +12011,7 @@ function xh(e, s, t, a, n, i) {
|
|
|
12001
12011
|
e.$slots.sidebar && n.width > 1500 ? (o(), l("div", vh, [
|
|
12002
12012
|
p(e.$slots, "sidebar", {}, void 0, !0)
|
|
12003
12013
|
])) : u("", !0),
|
|
12004
|
-
_(
|
|
12014
|
+
_(ue, { name: "slide" }, {
|
|
12005
12015
|
default: S(() => [
|
|
12006
12016
|
e.$slots.sidebar && n.width <= 1500 && n.showSidebar ? (o(), l("div", yh, [
|
|
12007
12017
|
p(e.$slots, "sidebar", {}, void 0, !0)
|
|
@@ -12517,7 +12527,7 @@ function Uh(e, s, t, a, n, i) {
|
|
|
12517
12527
|
}
|
|
12518
12528
|
const V_ = /* @__PURE__ */ v(Wh, [["render", Uh], ["__scopeId", "data-v-c1516cc2"]]), Gh = {
|
|
12519
12529
|
name: "ecs-rating-star-read",
|
|
12520
|
-
components: { EcsSkeletonLoader:
|
|
12530
|
+
components: { EcsSkeletonLoader: ge },
|
|
12521
12531
|
props: {
|
|
12522
12532
|
/** Sets the star rating count. */
|
|
12523
12533
|
rating: {
|
|
@@ -12570,7 +12580,7 @@ function Xh(e, s, t, a, n, i) {
|
|
|
12570
12580
|
const Zh = /* @__PURE__ */ v(Gh, [["render", Xh], ["__scopeId", "data-v-8f28e1c1"]]), Jh = {
|
|
12571
12581
|
name: "ecs-rating-favorability",
|
|
12572
12582
|
emits: ["click"],
|
|
12573
|
-
components: { EcsIcon: M, EcsSkeletonLoader:
|
|
12583
|
+
components: { EcsIcon: M, EcsSkeletonLoader: ge },
|
|
12574
12584
|
props: {
|
|
12575
12585
|
/** If set, the favorability icon will have a label as well. */
|
|
12576
12586
|
label: {
|
|
@@ -12982,7 +12992,7 @@ function Tv(e, s, t, a, n, i) {
|
|
|
12982
12992
|
}
|
|
12983
12993
|
const W_ = /* @__PURE__ */ v($v, [["render", Tv], ["__scopeId", "data-v-ec263a49"]]), Mv = {
|
|
12984
12994
|
name: "ecs-segments",
|
|
12985
|
-
emits: ["click"],
|
|
12995
|
+
emits: ["click", "update:modelValue"],
|
|
12986
12996
|
components: { EcsIcon: M },
|
|
12987
12997
|
props: {
|
|
12988
12998
|
/** Array of all the options objects:
|
|
@@ -12998,6 +13008,12 @@ const W_ = /* @__PURE__ */ v($v, [["render", Tv], ["__scopeId", "data-v-ec263a49
|
|
|
12998
13008
|
type: String,
|
|
12999
13009
|
required: !0
|
|
13000
13010
|
},
|
|
13011
|
+
/** Determines the size of the segment control. */
|
|
13012
|
+
size: {
|
|
13013
|
+
type: String,
|
|
13014
|
+
default: "md",
|
|
13015
|
+
validator: (e) => ["sml", "md"].includes(e)
|
|
13016
|
+
},
|
|
13001
13017
|
/** Renders the segment control inline - which means it will not adapt to the full available width of it's parent element. */
|
|
13002
13018
|
inline: {
|
|
13003
13019
|
type: Boolean,
|
|
@@ -13008,48 +13024,64 @@ const W_ = /* @__PURE__ */ v($v, [["render", Tv], ["__scopeId", "data-v-ec263a49
|
|
|
13008
13024
|
type: [String, Number],
|
|
13009
13025
|
default: ""
|
|
13010
13026
|
},
|
|
13027
|
+
/** Disables all segments. */
|
|
13011
13028
|
disabled: {
|
|
13012
13029
|
type: Boolean,
|
|
13013
13030
|
default: !1
|
|
13031
|
+
},
|
|
13032
|
+
/** Sets the currently active value. Must match an `option.id` from the `options` array. */
|
|
13033
|
+
modelValue: {
|
|
13034
|
+
type: [String, Number],
|
|
13035
|
+
default: ""
|
|
13036
|
+
}
|
|
13037
|
+
},
|
|
13038
|
+
emits: ["click", "update:modelValue"],
|
|
13039
|
+
computed: {
|
|
13040
|
+
isChecked() {
|
|
13041
|
+
return (e) => String(this.modelValue || this.value).toLowerCase() === String(e).toLowerCase();
|
|
13042
|
+
}
|
|
13043
|
+
},
|
|
13044
|
+
methods: {
|
|
13045
|
+
handleChange(e) {
|
|
13046
|
+
this.$emit("update:modelValue", e), this.$emit("click", e);
|
|
13014
13047
|
}
|
|
13015
13048
|
}
|
|
13016
|
-
}, Lv = ["for"
|
|
13049
|
+
}, Lv = ["for"], Ov = ["name", "value", "id", "checked", "disabled", "onChange"], Av = ["title"];
|
|
13017
13050
|
function Nv(e, s, t, a, n, i) {
|
|
13018
13051
|
const r = g("ecs-icon");
|
|
13019
13052
|
return o(), l("div", {
|
|
13020
|
-
class: y(["ecs-segments",
|
|
13053
|
+
class: y(["ecs-segments", { "ecs-segments-inline": t.inline }])
|
|
13021
13054
|
}, [
|
|
13022
13055
|
(o(!0), l(X, null, he(t.options, (c) => (o(), l("label", {
|
|
13023
13056
|
key: c.id,
|
|
13024
|
-
for: c.id
|
|
13025
|
-
disabled: t.disabled
|
|
13057
|
+
for: c.id
|
|
13026
13058
|
}, [
|
|
13027
13059
|
f("input", {
|
|
13028
13060
|
type: "radio",
|
|
13029
13061
|
name: t.name,
|
|
13030
13062
|
value: c.id,
|
|
13031
13063
|
id: c.id,
|
|
13032
|
-
checked:
|
|
13064
|
+
checked: i.isChecked(c.id),
|
|
13033
13065
|
disabled: c.disabled || t.disabled,
|
|
13034
|
-
|
|
13035
|
-
}, null,
|
|
13066
|
+
onChange: (d) => i.handleChange(c.id)
|
|
13067
|
+
}, null, 40, Ov),
|
|
13036
13068
|
f("span", {
|
|
13037
|
-
class: "ecs-segment",
|
|
13069
|
+
class: y(["ecs-segment", { "ecs-segment-sml": t.size === "sml", "ecs-segment-md": t.size === "md" }]),
|
|
13038
13070
|
title: c.title
|
|
13039
13071
|
}, [
|
|
13040
13072
|
c.icon ? (o(), h(r, {
|
|
13041
13073
|
key: 0,
|
|
13042
|
-
class: y(
|
|
13074
|
+
class: y({ "icon-spacing": c.icon && c.label }),
|
|
13043
13075
|
type: c.icon,
|
|
13044
13076
|
size: "20",
|
|
13045
13077
|
color: "#2F333C"
|
|
13046
13078
|
}, null, 8, ["class", "type"])) : u("", !0),
|
|
13047
13079
|
D(" " + w(c.label), 1)
|
|
13048
|
-
],
|
|
13080
|
+
], 10, Av)
|
|
13049
13081
|
], 8, Lv))), 128))
|
|
13050
13082
|
], 2);
|
|
13051
13083
|
}
|
|
13052
|
-
const j_ = /* @__PURE__ */ v(Mv, [["render", Nv], ["__scopeId", "data-v-
|
|
13084
|
+
const j_ = /* @__PURE__ */ v(Mv, [["render", Nv], ["__scopeId", "data-v-b5e60ac4"]]), Dv = {
|
|
13053
13085
|
name: "ecs-select-tile",
|
|
13054
13086
|
emits: ["click"],
|
|
13055
13087
|
components: {
|
|
@@ -13408,7 +13440,7 @@ function ky(e, s, t, a, n, i) {
|
|
|
13408
13440
|
p(e.$slots, "primary-controls", {}, void 0, !0)
|
|
13409
13441
|
])) : u("", !0)
|
|
13410
13442
|
])),
|
|
13411
|
-
_(
|
|
13443
|
+
_(ue, { name: "expansion" }, {
|
|
13412
13444
|
default: S(() => [
|
|
13413
13445
|
t.subHeaderExpanded && e.$slots.subheader ? (o(), l("div", by, [
|
|
13414
13446
|
p(e.$slots, "subheader", {}, void 0, !0)
|
|
@@ -13416,7 +13448,7 @@ function ky(e, s, t, a, n, i) {
|
|
|
13416
13448
|
]),
|
|
13417
13449
|
_: 3
|
|
13418
13450
|
}),
|
|
13419
|
-
_(
|
|
13451
|
+
_(ue, { name: "expansion" }, {
|
|
13420
13452
|
default: S(() => [
|
|
13421
13453
|
t.tertiaryHeaderExpanded && e.$slots.tertiaryheader ? (o(), l("div", _y, [
|
|
13422
13454
|
p(e.$slots, "tertiaryheader", {}, void 0, !0)
|
|
@@ -13695,7 +13727,7 @@ function Ny(e, s, t, a, n, i) {
|
|
|
13695
13727
|
const s0 = /* @__PURE__ */ v(Ty, [["render", Ny], ["__scopeId", "data-v-5098e4d3"]]), Dy = {
|
|
13696
13728
|
name: "ecs-tag",
|
|
13697
13729
|
emits: ["click"],
|
|
13698
|
-
components: { EcsSkeletonLoader:
|
|
13730
|
+
components: { EcsSkeletonLoader: ge, EcsFocusRing: L },
|
|
13699
13731
|
props: {
|
|
13700
13732
|
/** Determines the visual style of the tag. */
|
|
13701
13733
|
type: {
|
|
@@ -13880,7 +13912,7 @@ const o0 = /* @__PURE__ */ v(Ky, [["render", Xy], ["__scopeId", "data-v-451fee48
|
|
|
13880
13912
|
emits: ["click"],
|
|
13881
13913
|
components: {
|
|
13882
13914
|
EcsIcon: M,
|
|
13883
|
-
EcsSkeletonLoader:
|
|
13915
|
+
EcsSkeletonLoader: ge
|
|
13884
13916
|
},
|
|
13885
13917
|
props: {
|
|
13886
13918
|
/** Displays a status indicator based on the passed value. */
|
|
@@ -13972,7 +14004,7 @@ const l0 = /* @__PURE__ */ v(ib, [["render", ab], ["__scopeId", "data-v-6af94f50
|
|
|
13972
14004
|
name: "ecs-tree-list-item",
|
|
13973
14005
|
emits: ["click", "toggled"],
|
|
13974
14006
|
components: { EcsIcon: M, EcsButtonCollapse: Ht, EcsFocusRing: L },
|
|
13975
|
-
mixins: [
|
|
14007
|
+
mixins: [fe],
|
|
13976
14008
|
props: {
|
|
13977
14009
|
/** ID for the Tree List Item */
|
|
13978
14010
|
id: String,
|
|
@@ -14177,7 +14209,7 @@ const d0 = /* @__PURE__ */ v(gb, [["render", pb], ["__scopeId", "data-v-a5153e06
|
|
|
14177
14209
|
name: "EcsTypeConfirmation",
|
|
14178
14210
|
emits: ["update:modelValue"],
|
|
14179
14211
|
components: { EcsInput: dm, EcsAlert: ws, EcsFormGroup: Tg },
|
|
14180
|
-
mixins: [
|
|
14212
|
+
mixins: [fe],
|
|
14181
14213
|
props: {
|
|
14182
14214
|
verb: {
|
|
14183
14215
|
type: String,
|
|
@@ -14441,7 +14473,7 @@ export {
|
|
|
14441
14473
|
X_ as EcsSidebarContent,
|
|
14442
14474
|
Z_ as EcsSidebarFooter,
|
|
14443
14475
|
J_ as EcsSidebarHeader,
|
|
14444
|
-
|
|
14476
|
+
ge as EcsSkeletonLoader,
|
|
14445
14477
|
Ra as EcsSortbutton,
|
|
14446
14478
|
Ym as EcsSplitpanes,
|
|
14447
14479
|
Hu as EcsStateIcon,
|