@mtdt/observeops-ds-elements 0.1.92 → 0.1.94
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.
|
@@ -1730,7 +1730,7 @@ function u9(e) {
|
|
|
1730
1730
|
// assets
|
|
1731
1731
|
components: y1,
|
|
1732
1732
|
directives: E1,
|
|
1733
|
-
filters:
|
|
1733
|
+
filters: Z
|
|
1734
1734
|
} = t;
|
|
1735
1735
|
if (h && h9(h, l, null), r)
|
|
1736
1736
|
for (const g1 in r) {
|
|
@@ -2729,7 +2729,7 @@ function z9(e, t) {
|
|
|
2729
2729
|
N,
|
|
2730
2730
|
Y,
|
|
2731
2731
|
K
|
|
2732
|
-
) :
|
|
2732
|
+
) : Z(
|
|
2733
2733
|
b,
|
|
2734
2734
|
_,
|
|
2735
2735
|
N,
|
|
@@ -2738,7 +2738,7 @@ function z9(e, t) {
|
|
|
2738
2738
|
Y,
|
|
2739
2739
|
K
|
|
2740
2740
|
) : f1(f, b, K);
|
|
2741
|
-
},
|
|
2741
|
+
}, Z = (f, b, _, N, I, T, Y) => {
|
|
2742
2742
|
const W = f.component = N9(
|
|
2743
2743
|
f,
|
|
2744
2744
|
N,
|
|
@@ -3003,18 +3003,18 @@ function z9(e, t) {
|
|
|
3003
3003
|
c1(X, I, T, !0);
|
|
3004
3004
|
continue;
|
|
3005
3005
|
}
|
|
3006
|
-
let
|
|
3006
|
+
let w;
|
|
3007
3007
|
if (X.key != null)
|
|
3008
|
-
|
|
3008
|
+
w = S.get(X.key);
|
|
3009
3009
|
else
|
|
3010
3010
|
for (e1 = M; e1 <= h1; e1++)
|
|
3011
3011
|
if (c2[e1 - M] === 0 && m3(X, b[e1])) {
|
|
3012
|
-
|
|
3012
|
+
w = e1;
|
|
3013
3013
|
break;
|
|
3014
3014
|
}
|
|
3015
|
-
|
|
3015
|
+
w === void 0 ? c1(X, I, T, !0) : (c2[w - M] = O + 1, w >= R1 ? R1 = w : B1 = !0, j(
|
|
3016
3016
|
X,
|
|
3017
|
-
b[
|
|
3017
|
+
b[w],
|
|
3018
3018
|
_,
|
|
3019
3019
|
null,
|
|
3020
3020
|
I,
|
|
@@ -3026,13 +3026,13 @@ function z9(e, t) {
|
|
|
3026
3026
|
}
|
|
3027
3027
|
const C2 = B1 ? O9(c2) : i3;
|
|
3028
3028
|
for (e1 = C2.length - 1, O = x1 - 1; O >= 0; O--) {
|
|
3029
|
-
const X = M + O,
|
|
3029
|
+
const X = M + O, w = b[X], y = b[X + 1], Q = X + 1 < u1 ? (
|
|
3030
3030
|
// #13559, #14173 fallback to el placeholder for unresolved async component
|
|
3031
3031
|
y.el || U5(y)
|
|
3032
3032
|
) : N;
|
|
3033
3033
|
c2[O] === 0 ? j(
|
|
3034
3034
|
null,
|
|
3035
|
-
|
|
3035
|
+
w,
|
|
3036
3036
|
_,
|
|
3037
3037
|
Q,
|
|
3038
3038
|
I,
|
|
@@ -3040,7 +3040,7 @@ function z9(e, t) {
|
|
|
3040
3040
|
Y,
|
|
3041
3041
|
W,
|
|
3042
3042
|
K
|
|
3043
|
-
) : B1 && (e1 < 0 || O !== C2[e1] ? n1(
|
|
3043
|
+
) : B1 && (e1 < 0 || O !== C2[e1] ? n1(w, _, Q, 2) : e1--);
|
|
3044
3044
|
}
|
|
3045
3045
|
}
|
|
3046
3046
|
}, n1 = (f, b, _, N, I = null) => {
|
|
@@ -3193,7 +3193,7 @@ function z9(e, t) {
|
|
|
3193
3193
|
um: c1,
|
|
3194
3194
|
m: n1,
|
|
3195
3195
|
r: H1,
|
|
3196
|
-
mt:
|
|
3196
|
+
mt: Z,
|
|
3197
3197
|
mc: p1,
|
|
3198
3198
|
pc: v1,
|
|
3199
3199
|
pbc: G,
|
|
@@ -4435,7 +4435,7 @@ const H0 = ':host{display:inline-block}button,input,select,textarea{font-family:
|
|
|
4435
4435
|
j1(t.$slots, "default")
|
|
4436
4436
|
], 10, V0));
|
|
4437
4437
|
}
|
|
4438
|
-
}, S0 = /* @__PURE__ */ O1(_0, [["styles", [H0]]]), $0 = '.tag{display:inline-flex;align-items:center;gap:6px;font-family:var(--font-family, "Poppins", sans-serif);font-size:.7rem;font-weight:500;line-height:22px;padding:0 8px;border-radius:4px}.tag.disabled{opacity:.5;cursor:not-allowed}.tag-green{color:var(--secondary-green, #14b053);background:var(--secondary-green-lightest, rgba(54, 213, 118, .2))}.tag-red{color:var(--secondary-red, #ec5b5b);background:var(--secondary-red-lightest, rgba(236, 91, 91, .2))}.tag-yellow{color:var(--secondary-yellow, #e8b407);background:var(--secondary-yellow-lightest, rgba(250, 209, 0, .2))}.tag-orange{color:var(--secondary-orange, #f47c22);background:var(--secondary-orange-lightest, rgba(250, 153, 80, .2))}.tag-primary{color:var(--default-tag-text-color, #516381);background:var(--tag-bg-color, var(--neutral-lighter, #e3e8f2))}.tag-purple{color:var(--severity-unreachable, #6d2ed1);background:var(--severity-unreachable-lightest, #e7dcfa)}.tag-unknown{color:var(--severity-unknown, #b1b1b1);background:var(--severity-unknown-lighter, #fcfcfc)}.used-count-pill{color:var(--primary, #111c2c);background:var(--tag-bg-color, #e3e8f2)}.new{color:var(--secondary-green, #14b053);background:var(--secondary-green-lightest, rgba(54, 213, 118, .2))}.provision{color:var(--primary, #111c2c);background:var(--primary-lightest, rgba(9, 157, 217, .2))}.unprovision{color:var(--secondary-orange, #f47c22);background:var(--secondary-orange-lightest, rgba(250, 153, 80, .2))}.neutral-lighter{color:var(--page-text-color, #1d2a3e);background:var(--neutral-lighter, #e3e8f2)}.default,.nav-beta-tag{color:var(--default-tag-text-color, #516381);background:var(--tag-bg-color, #e3e8f2)}.main-tags{color:var(--main-tags-text-color, #218b81);background:var(--main-tags-bg-color, #cdf1ed)}.rounded{border-radius:10px}.compliance-tag-padding{padding-left:.69rem;padding-right:.69rem}.x-wrap{position:relative;display:inline-flex}.x{cursor:pointer;color:inherit;font-size:12px;line-height:1;outline:none;border-radius:2px}.x:focus-visible{outline:1.5px solid var(--checkbox-checked-border-color, #6a7fa0);outline-offset:1px}.confirm{position:absolute;top:calc(100% + 6px);right:0;z-index:20;display:inline-flex;flex-direction:column;gap:6px;min-width:132px;padding:8px 10px;border-radius:4px;cursor:default;background:var(--common-widget-bg, #fff);box-shadow:0 2px 8px var(--neutral-shadow-light, rgba(0, 0, 0, .15));font-family:var(--font-family, "Poppins", sans-serif);font-weight:400}.confirm-title{font-size:.75rem;color:var(--page-text-color, #1d2a3e);white-space:nowrap}.confirm-actions{display:inline-flex;gap:8px;justify-content:flex-end}.confirm-yes,.confirm-no{cursor:pointer;font-size:.7rem;font-weight:500;padding:2px 10px;border-radius:4px;outline:none}.confirm-yes{color:var(--primary-button-text, #fff);background:var(--primary-button-bg, #07101f)}.confirm-no{color:var(--default-button-text, #1d2a3e);background:var(--default-button-bg, #fff);border:1px solid var(--default-button-border, #e3e8f2)}.confirm-yes:focus-visible,.confirm-no:focus-visible{outline:1.5px solid var(--checkbox-checked-border-color, #6a7fa0);outline-offset:1px}', A0 = {
|
|
4438
|
+
}, S0 = /* @__PURE__ */ O1(_0, [["styles", [H0]]]), $0 = '.tag.numeric{font-family:var(--numeric-font-family, "JetBrains Mono", monospace);font-feature-settings:"tnum"}.tag{display:inline-flex;align-items:center;gap:6px;font-family:var(--font-family, "Poppins", sans-serif);font-size:.7rem;font-weight:500;line-height:22px;padding:0 8px;border-radius:4px}.tag.disabled{opacity:.5;cursor:not-allowed}.tag-green{color:var(--secondary-green, #14b053);background:var(--secondary-green-lightest, rgba(54, 213, 118, .2))}.tag-red{color:var(--secondary-red, #ec5b5b);background:var(--secondary-red-lightest, rgba(236, 91, 91, .2))}.tag-yellow{color:var(--secondary-yellow, #e8b407);background:var(--secondary-yellow-lightest, rgba(250, 209, 0, .2))}.tag-orange{color:var(--secondary-orange, #f47c22);background:var(--secondary-orange-lightest, rgba(250, 153, 80, .2))}.tag-primary{color:var(--default-tag-text-color, #516381);background:var(--tag-bg-color, var(--neutral-lighter, #e3e8f2))}.tag-purple{color:var(--severity-unreachable, #6d2ed1);background:var(--severity-unreachable-lightest, #e7dcfa)}.tag-unknown{color:var(--severity-unknown, #b1b1b1);background:var(--severity-unknown-lighter, #fcfcfc)}.used-count-pill{color:var(--primary, #111c2c);background:var(--tag-bg-color, #e3e8f2)}.new{color:var(--secondary-green, #14b053);background:var(--secondary-green-lightest, rgba(54, 213, 118, .2))}.provision{color:var(--primary, #111c2c);background:var(--primary-lightest, rgba(9, 157, 217, .2))}.unprovision{color:var(--secondary-orange, #f47c22);background:var(--secondary-orange-lightest, rgba(250, 153, 80, .2))}.neutral-lighter{color:var(--page-text-color, #1d2a3e);background:var(--neutral-lighter, #e3e8f2)}.default,.nav-beta-tag{color:var(--default-tag-text-color, #516381);background:var(--tag-bg-color, #e3e8f2)}.main-tags{color:var(--main-tags-text-color, #218b81);background:var(--main-tags-bg-color, #cdf1ed)}.rounded{border-radius:10px}.compliance-tag-padding{padding-left:.69rem;padding-right:.69rem}.x-wrap{position:relative;display:inline-flex}.x{cursor:pointer;color:inherit;font-size:12px;line-height:1;outline:none;border-radius:2px}.x:focus-visible{outline:1.5px solid var(--checkbox-checked-border-color, #6a7fa0);outline-offset:1px}.confirm{position:absolute;top:calc(100% + 6px);right:0;z-index:20;display:inline-flex;flex-direction:column;gap:6px;min-width:132px;padding:8px 10px;border-radius:4px;cursor:default;background:var(--common-widget-bg, #fff);box-shadow:0 2px 8px var(--neutral-shadow-light, rgba(0, 0, 0, .15));font-family:var(--font-family, "Poppins", sans-serif);font-weight:400}.confirm-title{font-size:.75rem;color:var(--page-text-color, #1d2a3e);white-space:nowrap}.confirm-actions{display:inline-flex;gap:8px;justify-content:flex-end}.confirm-yes,.confirm-no{cursor:pointer;font-size:.7rem;font-weight:500;padding:2px 10px;border-radius:4px;outline:none}.confirm-yes{color:var(--primary-button-text, #fff);background:var(--primary-button-bg, #07101f)}.confirm-no{color:var(--default-button-text, #1d2a3e);background:var(--default-button-bg, #fff);border:1px solid var(--default-button-border, #e3e8f2)}.confirm-yes:focus-visible,.confirm-no:focus-visible{outline:1.5px solid var(--checkbox-checked-border-color, #6a7fa0);outline-offset:1px}', A0 = {
|
|
4439
4439
|
key: 0,
|
|
4440
4440
|
class: "confirm",
|
|
4441
4441
|
role: "dialog"
|
|
@@ -4451,6 +4451,8 @@ const H0 = ':host{display:inline-block}button,input,select,textarea{font-family:
|
|
|
4451
4451
|
forcePrimary: { type: Boolean, default: !1 },
|
|
4452
4452
|
compliance: { type: Boolean, default: !1 },
|
|
4453
4453
|
// .compliance-tag-padding (wider horizontal padding)
|
|
4454
|
+
numeric: { type: Boolean, default: !1 },
|
|
4455
|
+
// count/metric tag — JetBrains Mono + tabular figures (.numeric-value)
|
|
4454
4456
|
confirmable: { type: Boolean, default: !1 },
|
|
4455
4457
|
// ask before removing (registry: confirmable + confirm-title)
|
|
4456
4458
|
confirmTitle: { type: String, default: "Are you sure?" }
|
|
@@ -4537,7 +4539,7 @@ const H0 = ':host{display:inline-block}button,input,select,textarea{font-family:
|
|
|
4537
4539
|
const a1 = T1("obs-icon");
|
|
4538
4540
|
return c.value ? (n(), i("span", {
|
|
4539
4541
|
key: 0,
|
|
4540
|
-
class: B(["tag", [l1.value, { rounded: J.value, disabled: e.disabled, "compliance-tag-padding": e.compliance }]])
|
|
4542
|
+
class: B(["tag", [l1.value, { rounded: J.value, disabled: e.disabled, numeric: e.numeric, "compliance-tag-padding": e.compliance }]])
|
|
4541
4543
|
}, [
|
|
4542
4544
|
e.status ? (n(), i(A, { key: 0 }, [
|
|
4543
4545
|
$1(L(D.value), 1)
|
|
@@ -5185,12 +5187,12 @@ const H0 = ':host{display:inline-block}button,input,select,textarea{font-family:
|
|
|
5185
5187
|
function l1(m) {
|
|
5186
5188
|
return m ? String(m).split(",").map((g) => g.trim()).filter(Boolean) : [];
|
|
5187
5189
|
}
|
|
5188
|
-
const J = /* @__PURE__ */ U(null), D = /* @__PURE__ */ U(null), z = /* @__PURE__ */ U(null), E = /* @__PURE__ */ U(null), a1 = /* @__PURE__ */ U(!1), R = /* @__PURE__ */ U(""), p1 = /* @__PURE__ */ U(-1), o1 = /* @__PURE__ */ U(-1), G = /* @__PURE__ */ U(!1), k1 = /* @__PURE__ */ U(!1), y1 = /* @__PURE__ */ U(!1), E1 = /* @__PURE__ */ U(""),
|
|
5190
|
+
const J = /* @__PURE__ */ U(null), D = /* @__PURE__ */ U(null), z = /* @__PURE__ */ U(null), E = /* @__PURE__ */ U(null), a1 = /* @__PURE__ */ U(!1), R = /* @__PURE__ */ U(""), p1 = /* @__PURE__ */ U(-1), o1 = /* @__PURE__ */ U(-1), G = /* @__PURE__ */ U(!1), k1 = /* @__PURE__ */ U(!1), y1 = /* @__PURE__ */ U(!1), E1 = /* @__PURE__ */ U(""), Z = /* @__PURE__ */ U(l1(s.value)), f1 = /* @__PURE__ */ U([]), V1 = /* @__PURE__ */ U({}), g1 = /* @__PURE__ */ U(!1), v1 = /* @__PURE__ */ U({});
|
|
5189
5191
|
K1(() => s.value, (m) => {
|
|
5190
|
-
|
|
5192
|
+
Z.value = l1(m);
|
|
5191
5193
|
});
|
|
5192
5194
|
const q1 = s2();
|
|
5193
|
-
K1(
|
|
5195
|
+
K1(Z, (m) => {
|
|
5194
5196
|
if (!q1) return;
|
|
5195
5197
|
const g = s.multiple ? m.join(",") : m[0] || "";
|
|
5196
5198
|
try {
|
|
@@ -5223,7 +5225,7 @@ const H0 = ':host{display:inline-block}button,input,select,textarea{font-family:
|
|
|
5223
5225
|
}, i2 = H(() => e2(f2.value, []).concat(f1.value)), f = H(() => f2.value.some((m) => m.group)), b = H(() => {
|
|
5224
5226
|
const m = R.value.toLowerCase();
|
|
5225
5227
|
return i2.value.filter((g) => !m || String(g.label).toLowerCase().includes(m));
|
|
5226
|
-
}), _ = H(() => i2.value.filter((m) => !m.disabled).map((m) => m.value)), N = H(() => _.value.length > 0 && _.value.every((m) =>
|
|
5228
|
+
}), _ = H(() => i2.value.filter((m) => !m.disabled).map((m) => m.value)), N = H(() => _.value.length > 0 && _.value.every((m) => Z.value.includes(m))), I = /* @__PURE__ */ U(/* @__PURE__ */ new Set()), T = (m) => m && String(m).startsWith("--") ? `var(${m}, #6a7fa0)` : m, Y = (m) => {
|
|
5227
5229
|
if (m.severity) return String(m.severity).toLowerCase().trim();
|
|
5228
5230
|
const g = m.color && String(m.color).match(/^--severity-([a-z]+)/i);
|
|
5229
5231
|
return g ? g[1].toLowerCase() : "";
|
|
@@ -5250,19 +5252,19 @@ const H0 = ':host{display:inline-block}button,input,select,textarea{font-family:
|
|
|
5250
5252
|
};
|
|
5251
5253
|
function S(m) {
|
|
5252
5254
|
const g = M(m).filter((x) => !x.disabled);
|
|
5253
|
-
return g.length > 0 && g.every((x) =>
|
|
5255
|
+
return g.length > 0 && g.every((x) => Z.value.includes(x.value));
|
|
5254
5256
|
}
|
|
5255
5257
|
function e1(m) {
|
|
5256
|
-
return !S(m) && M(m).some((g) =>
|
|
5258
|
+
return !S(m) && M(m).some((g) => Z.value.includes(g.value));
|
|
5257
5259
|
}
|
|
5258
5260
|
function b1(m) {
|
|
5259
5261
|
const g = M(m).filter((d1) => !d1.disabled).map((d1) => d1.value);
|
|
5260
|
-
let x = [...
|
|
5262
|
+
let x = [...Z.value];
|
|
5261
5263
|
if (S(m)) x = x.filter((d1) => !g.includes(d1));
|
|
5262
5264
|
else for (const d1 of g) x.includes(d1) || x.push(d1);
|
|
5263
|
-
|
|
5265
|
+
Z.value = x, l("change", [...Z.value]);
|
|
5264
5266
|
}
|
|
5265
|
-
const x1 = H(() => s.maxValues > 0 &&
|
|
5267
|
+
const x1 = H(() => s.maxValues > 0 && Z.value.length >= s.maxValues);
|
|
5266
5268
|
function B1(m) {
|
|
5267
5269
|
const g = i2.value.find((x) => x.value === m);
|
|
5268
5270
|
return g ? g.label : m;
|
|
@@ -5280,7 +5282,7 @@ const H0 = ':host{display:inline-block}button,input,select,textarea{font-family:
|
|
|
5280
5282
|
a1.value && R1();
|
|
5281
5283
|
}
|
|
5282
5284
|
function C2() {
|
|
5283
|
-
s.disabled || s.loading || (a1.value = !0, l("show"), p1.value = Math.max(0, b.value.findIndex((m) =>
|
|
5285
|
+
s.disabled || s.loading || (a1.value = !0, l("show"), p1.value = Math.max(0, b.value.findIndex((m) => Z.value.includes(m.value))), u2(() => {
|
|
5284
5286
|
try {
|
|
5285
5287
|
const m = D.value;
|
|
5286
5288
|
m && m.showPopover && !m.matches(":popover-open") && m.showPopover();
|
|
@@ -5292,27 +5294,27 @@ const H0 = ':host{display:inline-block}button,input,select,textarea{font-family:
|
|
|
5292
5294
|
function X() {
|
|
5293
5295
|
a1.value && (a1.value = !1, R.value = "", p1.value = -1, l("hide"), window.removeEventListener("scroll", c2, !0), window.removeEventListener("resize", c2));
|
|
5294
5296
|
}
|
|
5295
|
-
function
|
|
5297
|
+
function w() {
|
|
5296
5298
|
a1.value ? X() : C2();
|
|
5297
5299
|
}
|
|
5298
5300
|
function y(m) {
|
|
5299
5301
|
if (!m.disabled)
|
|
5300
5302
|
if (s.multiple) {
|
|
5301
|
-
const g =
|
|
5302
|
-
if (g >= 0)
|
|
5303
|
+
const g = Z.value.indexOf(m.value);
|
|
5304
|
+
if (g >= 0) Z.value.splice(g, 1);
|
|
5303
5305
|
else {
|
|
5304
5306
|
if (x1.value) return;
|
|
5305
|
-
|
|
5307
|
+
Z.value.push(m.value);
|
|
5306
5308
|
}
|
|
5307
|
-
|
|
5309
|
+
Z.value = [...Z.value], l("change", [...Z.value]);
|
|
5308
5310
|
} else
|
|
5309
|
-
|
|
5311
|
+
Z.value = [m.value], l("change", m.value), X();
|
|
5310
5312
|
}
|
|
5311
5313
|
function Q() {
|
|
5312
|
-
|
|
5314
|
+
Z.value = N.value ? [] : s.maxValues > 0 ? _.value.slice(0, s.maxValues) : [..._.value], l("change", [...Z.value]);
|
|
5313
5315
|
}
|
|
5314
5316
|
function w1(m) {
|
|
5315
|
-
m && m.stopPropagation(),
|
|
5317
|
+
m && m.stopPropagation(), Z.value = [], l("change", s.multiple ? [] : "");
|
|
5316
5318
|
}
|
|
5317
5319
|
function i1() {
|
|
5318
5320
|
y1.value = !0, E1.value = "", u2(() => {
|
|
@@ -5324,7 +5326,7 @@ const H0 = ':host{display:inline-block}button,input,select,textarea{font-family:
|
|
|
5324
5326
|
}
|
|
5325
5327
|
function P1() {
|
|
5326
5328
|
const m = E1.value.trim();
|
|
5327
|
-
m && (i2.value.some((g) => g.value === m) || (f1.value = [...f1.value, { value: m, label: m }]), l("add", m), s.multiple ? (
|
|
5329
|
+
m && (i2.value.some((g) => g.value === m) || (f1.value = [...f1.value, { value: m, label: m }]), l("add", m), s.multiple ? (Z.value.includes(m) || (Z.value = [...Z.value, m]), l("change", [...Z.value])) : (Z.value = [m], l("change", m)), y1.value = !1, E1.value = "", u2(R1));
|
|
5328
5330
|
}
|
|
5329
5331
|
function d2(m) {
|
|
5330
5332
|
R.value = m.target.value, p1.value = 0, l("search", R.value), u2(R1);
|
|
@@ -5357,9 +5359,9 @@ const H0 = ':host{display:inline-block}button,input,select,textarea{font-family:
|
|
|
5357
5359
|
function w4(m) {
|
|
5358
5360
|
m.currentTarget.contains(m.relatedTarget) || X();
|
|
5359
5361
|
}
|
|
5360
|
-
const I3 = H(() => s.allowClear && !s.removeClearBtn &&
|
|
5362
|
+
const I3 = H(() => s.allowClear && !s.removeClearBtn && Z.value.length && !s.disabled && !s.loading), z2 = H(() => Z.value.length ? B1(Z.value[0]) : ""), g3 = H(() => Math.max(0, Z.value.length - 1)), X2 = H(() => z2.value + (g3.value ? ` (+${g3.value})` : ""));
|
|
5361
5363
|
function j3(m) {
|
|
5362
|
-
if (a1.value || !s.multiple ||
|
|
5364
|
+
if (a1.value || !s.multiple || Z.value.length < 2) return;
|
|
5363
5365
|
const g = m.currentTarget.getBoundingClientRect();
|
|
5364
5366
|
v1.value = { position: "fixed", left: Math.round(g.left) + "px", top: Math.round(g.bottom + 6) + "px" }, g1.value = !0;
|
|
5365
5367
|
}
|
|
@@ -5384,21 +5386,21 @@ const H0 = ':host{display:inline-block}button,input,select,textarea{font-family:
|
|
|
5384
5386
|
onFocusout: w4
|
|
5385
5387
|
}, [
|
|
5386
5388
|
e.multiple && e.disabled ? (n(), i("div", z7, [
|
|
5387
|
-
|
|
5388
|
-
(n(!0), i(A, null, s1(
|
|
5389
|
+
Z.value.length ? (n(), i(A, { key: 0 }, [
|
|
5390
|
+
(n(!0), i(A, null, s1(Z.value.slice(0, e.maxItems), (P) => (n(), i("span", {
|
|
5389
5391
|
class: "pill",
|
|
5390
5392
|
key: P
|
|
5391
5393
|
}, L(B1(P)), 1))), 128)),
|
|
5392
|
-
|
|
5394
|
+
Z.value.length > e.maxItems ? (n(), i("span", {
|
|
5393
5395
|
key: 0,
|
|
5394
5396
|
class: "pill more",
|
|
5395
5397
|
role: "button",
|
|
5396
5398
|
tabindex: "0",
|
|
5397
5399
|
onClick: g[0] || (g[0] = (P) => k1.value = !k1.value)
|
|
5398
5400
|
}, [
|
|
5399
|
-
$1(" +" + L(
|
|
5401
|
+
$1(" +" + L(Z.value.length - e.maxItems) + " ", 1),
|
|
5400
5402
|
k1.value ? (n(), i("div", T7, [
|
|
5401
|
-
(n(!0), i(A, null, s1(
|
|
5403
|
+
(n(!0), i(A, null, s1(Z.value.slice(e.maxItems), (P) => (n(), i("div", {
|
|
5402
5404
|
class: "pill-pop-item",
|
|
5403
5405
|
key: P
|
|
5404
5406
|
}, L(B1(P)), 1))), 128))
|
|
@@ -5407,28 +5409,28 @@ const H0 = ':host{display:inline-block}button,input,select,textarea{font-family:
|
|
|
5407
5409
|
], 64)) : (n(), i("span", O7, L(A1.value), 1))
|
|
5408
5410
|
])) : J1.value === "text" ? (n(), i("span", {
|
|
5409
5411
|
key: 1,
|
|
5410
|
-
class: B(["t-text", { ph: !
|
|
5411
|
-
onClick:
|
|
5412
|
+
class: B(["t-text", { ph: !Z.value.length }]),
|
|
5413
|
+
onClick: w,
|
|
5412
5414
|
onMouseenter: j3,
|
|
5413
5415
|
onMouseleave: N3
|
|
5414
|
-
}, L(
|
|
5416
|
+
}, L(Z.value.length ? e.multiple ? X2.value : z2.value : A1.value), 35)) : J1.value === "chip" ? (n(), i("button", {
|
|
5415
5417
|
key: 2,
|
|
5416
5418
|
class: "t-chip",
|
|
5417
5419
|
disabled: e.disabled,
|
|
5418
|
-
onClick:
|
|
5420
|
+
onClick: w
|
|
5419
5421
|
}, [
|
|
5420
5422
|
d("span", {
|
|
5421
|
-
class: B({ ph: !
|
|
5422
|
-
}, L(
|
|
5423
|
+
class: B({ ph: !Z.value.length })
|
|
5424
|
+
}, L(Z.value.length ? e.multiple ? X2.value : z2.value : A1.value), 3)
|
|
5423
5425
|
], 8, P7)) : J1.value === "button" ? (n(), i("button", {
|
|
5424
5426
|
key: 3,
|
|
5425
5427
|
class: B(["t-btn", { open: a1.value }]),
|
|
5426
5428
|
disabled: e.disabled,
|
|
5427
|
-
onClick:
|
|
5429
|
+
onClick: w
|
|
5428
5430
|
}, [
|
|
5429
5431
|
d("span", {
|
|
5430
|
-
class: B({ ph: !
|
|
5431
|
-
}, L(e.triggerLabel || (
|
|
5432
|
+
class: B({ ph: !Z.value.length && !e.triggerLabel })
|
|
5433
|
+
}, L(e.triggerLabel || (Z.value.length ? e.multiple ? X2.value : z2.value : A1.value)), 3),
|
|
5432
5434
|
q(x, {
|
|
5433
5435
|
class: B(["chev", { up: a1.value }]),
|
|
5434
5436
|
name: e.triggerIcon || "chevronDown",
|
|
@@ -5436,26 +5438,26 @@ const H0 = ':host{display:inline-block}button,input,select,textarea{font-family:
|
|
|
5436
5438
|
}, null, 8, ["class", "name"])
|
|
5437
5439
|
], 10, E7)) : J1.value === "icon" ? (n(), i("button", {
|
|
5438
5440
|
key: 4,
|
|
5439
|
-
class: B(["t-icon", { on:
|
|
5441
|
+
class: B(["t-icon", { on: Z.value.length, open: a1.value, bordered: a.value }]),
|
|
5440
5442
|
disabled: e.disabled,
|
|
5441
5443
|
"aria-label": e.triggerLabel || A1.value,
|
|
5442
|
-
onClick:
|
|
5444
|
+
onClick: w
|
|
5443
5445
|
}, [
|
|
5444
5446
|
q(x, {
|
|
5445
5447
|
name: e.triggerIcon || (a.value ? "eye" : "ellipsisV"),
|
|
5446
5448
|
size: "16"
|
|
5447
5449
|
}, null, 8, ["name"]),
|
|
5448
|
-
e.multiple &&
|
|
5450
|
+
e.multiple && Z.value.length ? (n(), i("span", B7, L(Z.value.length), 1)) : V("", !0)
|
|
5449
5451
|
], 10, D7)) : (n(), i("button", {
|
|
5450
5452
|
key: 5,
|
|
5451
5453
|
class: B(["trig", { open: a1.value }]),
|
|
5452
5454
|
disabled: e.disabled,
|
|
5453
|
-
onClick:
|
|
5455
|
+
onClick: w,
|
|
5454
5456
|
onMouseenter: g[1] || (g[1] = (P) => G.value = !0),
|
|
5455
5457
|
onMouseleave: g[2] || (g[2] = (P) => G.value = !1)
|
|
5456
5458
|
}, [
|
|
5457
5459
|
d("span", I7, [
|
|
5458
|
-
|
|
5460
|
+
Z.value.length ? (n(), i("span", j7, L(e.multiple ? X2.value : z2.value), 1)) : (n(), i("span", N7, L(A1.value), 1))
|
|
5459
5461
|
]),
|
|
5460
5462
|
d("span", F7, [
|
|
5461
5463
|
I3.value && G.value ? (n(), i("span", {
|
|
@@ -5478,12 +5480,12 @@ const H0 = ':host{display:inline-block}button,input,select,textarea{font-family:
|
|
|
5478
5480
|
}, null, 8, ["class"]))
|
|
5479
5481
|
])
|
|
5480
5482
|
], 42, R7)),
|
|
5481
|
-
g1.value && !a1.value && e.textOnly && e.multiple &&
|
|
5483
|
+
g1.value && !a1.value && e.textOnly && e.multiple && Z.value.length > 1 ? (n(), i("div", {
|
|
5482
5484
|
key: 6,
|
|
5483
5485
|
class: "val-pop",
|
|
5484
5486
|
style: Z1(v1.value)
|
|
5485
5487
|
}, [
|
|
5486
|
-
(n(!0), i(A, null, s1(
|
|
5488
|
+
(n(!0), i(A, null, s1(Z.value, (P) => (n(), i("div", {
|
|
5487
5489
|
key: P,
|
|
5488
5490
|
class: "val-pop-item"
|
|
5489
5491
|
}, L(B1(P)), 1))), 128))
|
|
@@ -5623,10 +5625,10 @@ const H0 = ':host{display:inline-block}button,input,select,textarea{font-family:
|
|
|
5623
5625
|
(n(!0), i(A, null, s1(C1.value, (P) => (n(), i("button", {
|
|
5624
5626
|
key: (P.__branch ? "g-" : "o-") + P.value,
|
|
5625
5627
|
type: "button",
|
|
5626
|
-
class: B(["mopt tnode", { branch: P.__branch, on: !P.__branch &&
|
|
5628
|
+
class: B(["mopt tnode", { branch: P.__branch, on: !P.__branch && Z.value.includes(P.value), dis: P.disabled }]),
|
|
5627
5629
|
style: Z1({ paddingLeft: 12 + P.__level * 18 + "px" }),
|
|
5628
5630
|
role: "option",
|
|
5629
|
-
"aria-selected": !P.__branch &&
|
|
5631
|
+
"aria-selected": !P.__branch && Z.value.includes(P.value),
|
|
5630
5632
|
onClick: (L1) => P.__branch ? u1(P) : y(P)
|
|
5631
5633
|
}, [
|
|
5632
5634
|
d("span", oe, [
|
|
@@ -5639,7 +5641,7 @@ const H0 = ':host{display:inline-block}button,input,select,textarea{font-family:
|
|
|
5639
5641
|
]),
|
|
5640
5642
|
e.multiple ? (n(), i("span", {
|
|
5641
5643
|
key: 0,
|
|
5642
|
-
class: B(["cbx", P.__branch ? { ck: S(P), ind: e1(P) } : { ck:
|
|
5644
|
+
class: B(["cbx", P.__branch ? { ck: S(P), ind: e1(P) } : { ck: Z.value.includes(P.value) }]),
|
|
5643
5645
|
"aria-hidden": "true",
|
|
5644
5646
|
onClick: m1((L1) => P.__branch ? b1(P) : y(P), ["stop"])
|
|
5645
5647
|
}, null, 10, re)) : V("", !0),
|
|
@@ -5689,9 +5691,9 @@ const H0 = ':host{display:inline-block}button,input,select,textarea{font-family:
|
|
|
5689
5691
|
], 64)) : (n(), i(A, { key: 1 }, [
|
|
5690
5692
|
(n(!0), i(A, null, s1(b.value, (P, L1) => (n(), i("button", {
|
|
5691
5693
|
key: P.value,
|
|
5692
|
-
class: B(["mopt", { on:
|
|
5694
|
+
class: B(["mopt", { on: Z.value.includes(P.value), dis: P.disabled, active: L1 === p1.value }]),
|
|
5693
5695
|
role: "option",
|
|
5694
|
-
"aria-selected":
|
|
5696
|
+
"aria-selected": Z.value.includes(P.value),
|
|
5695
5697
|
onClick: (G1) => y(P),
|
|
5696
5698
|
onMouseenter: (G1) => {
|
|
5697
5699
|
o1.value = L1, p1.value = L1;
|
|
@@ -5700,7 +5702,7 @@ const H0 = ':host{display:inline-block}button,input,select,textarea{font-family:
|
|
|
5700
5702
|
}, [
|
|
5701
5703
|
e.multiple ? (n(), i("span", {
|
|
5702
5704
|
key: 0,
|
|
5703
|
-
class: B(["cbx", { ck:
|
|
5705
|
+
class: B(["cbx", { ck: Z.value.includes(P.value) }]),
|
|
5704
5706
|
"aria-hidden": "true"
|
|
5705
5707
|
}, null, 2)) : V("", !0),
|
|
5706
5708
|
P.avatar ? (n(), i("span", {
|
|
@@ -5749,7 +5751,7 @@ const H0 = ':host{display:inline-block}button,input,select,textarea{font-family:
|
|
|
5749
5751
|
])]))
|
|
5750
5752
|
], 64))
|
|
5751
5753
|
], 8, ce),
|
|
5752
|
-
e.multiple &&
|
|
5754
|
+
e.multiple && Z.value.length ? (n(), i("div", ge, [
|
|
5753
5755
|
d("button", {
|
|
5754
5756
|
class: "clearbtn",
|
|
5755
5757
|
onClick: w1
|
|
@@ -5863,59 +5865,59 @@ const H0 = ':host{display:inline-block}button,input,select,textarea{font-family:
|
|
|
5863
5865
|
},
|
|
5864
5866
|
emits: ["change"],
|
|
5865
5867
|
setup(e, { emit: t }) {
|
|
5866
|
-
const s = e, l = t, c = H(() => s.type === "select"), o = (
|
|
5867
|
-
const f1 =
|
|
5868
|
-
return f1 > 0 ? { value:
|
|
5869
|
-
})), a = (
|
|
5870
|
-
const f1 = r.value.find((V1) => V1.value ===
|
|
5871
|
-
return f1 ? f1.label :
|
|
5868
|
+
const s = e, l = t, c = H(() => s.type === "select"), o = (Z) => String(Z || "").split(",").map((f1) => f1.trim()).filter(Boolean), r = H(() => Array.isArray(s.options) ? s.options.map((Z) => typeof Z == "string" ? { value: Z, label: Z } : { value: Z.value, label: Z.label ?? Z.text ?? Z.value }) : o(s.options).map((Z) => {
|
|
5869
|
+
const f1 = Z.indexOf(":");
|
|
5870
|
+
return f1 > 0 ? { value: Z.slice(0, f1), label: Z.slice(f1 + 1) } : { value: Z, label: Z };
|
|
5871
|
+
})), a = (Z) => {
|
|
5872
|
+
const f1 = r.value.find((V1) => V1.value === Z);
|
|
5873
|
+
return f1 ? f1.label : Z;
|
|
5872
5874
|
}, p = s2(), h = /* @__PURE__ */ U(o(s.value));
|
|
5873
|
-
K1(() => s.value, (
|
|
5874
|
-
h.value = o(
|
|
5875
|
-
}), K1(h, (
|
|
5875
|
+
K1(() => s.value, (Z) => {
|
|
5876
|
+
h.value = o(Z);
|
|
5877
|
+
}), K1(h, (Z) => {
|
|
5876
5878
|
if (!p) return;
|
|
5877
|
-
const f1 =
|
|
5879
|
+
const f1 = Z.join(",");
|
|
5878
5880
|
try {
|
|
5879
5881
|
p.value !== f1 && (p.value = f1);
|
|
5880
5882
|
} catch {
|
|
5881
5883
|
}
|
|
5882
5884
|
}, { deep: !0 });
|
|
5883
5885
|
const u = /* @__PURE__ */ U(""), v = /* @__PURE__ */ U(!1), C = /* @__PURE__ */ U(0), k = /* @__PURE__ */ U(null), $ = H(() => s.lowercase !== "false" && s.lowercase !== !1);
|
|
5884
|
-
function j(
|
|
5885
|
-
const f1 =
|
|
5886
|
+
function j(Z) {
|
|
5887
|
+
const f1 = Z.trim();
|
|
5886
5888
|
return c.value ? f1 : $.value ? f1.toLowerCase() : f1;
|
|
5887
5889
|
}
|
|
5888
5890
|
const t1 = H(() => s.placeholder || (c.value ? "Select" : "Add Tags")), l1 = H(() => !s.disabled && !s.loading), J = H(() => {
|
|
5889
|
-
const
|
|
5891
|
+
const Z = u.value.trim().toLowerCase();
|
|
5890
5892
|
if (c.value)
|
|
5891
|
-
return r.value.filter((v1) => !h.value.includes(v1.value) && (!
|
|
5892
|
-
const f1 = h.value.map((v1) => v1.toLowerCase()), V1 = o(s.suggestions).filter((v1) => !f1.includes(v1.toLowerCase()) && (!
|
|
5893
|
-
|
|
5893
|
+
return r.value.filter((v1) => !h.value.includes(v1.value) && (!Z || v1.label.toLowerCase().includes(Z) || v1.value.toLowerCase().includes(Z)));
|
|
5894
|
+
const f1 = h.value.map((v1) => v1.toLowerCase()), V1 = o(s.suggestions).filter((v1) => !f1.includes(v1.toLowerCase()) && (!Z || v1.toLowerCase().includes(Z))), g1 = [];
|
|
5895
|
+
Z && !f1.includes(j(u.value)) && !V1.some((v1) => v1.toLowerCase() === Z) && g1.push({ label: u.value.trim(), value: j(u.value), create: !0 });
|
|
5894
5896
|
for (const v1 of V1) g1.push({ label: v1, value: v1 });
|
|
5895
5897
|
return g1;
|
|
5896
5898
|
}), D = H(() => v.value && l1.value && J.value.length > 0);
|
|
5897
|
-
function z(
|
|
5898
|
-
h.value =
|
|
5899
|
+
function z(Z) {
|
|
5900
|
+
h.value = Z, l("change", h.value);
|
|
5899
5901
|
}
|
|
5900
|
-
function E(
|
|
5901
|
-
h.value.includes(
|
|
5902
|
+
function E(Z) {
|
|
5903
|
+
h.value.includes(Z) || z([...h.value, Z]), u.value = "", C.value = 0;
|
|
5902
5904
|
}
|
|
5903
|
-
function a1(
|
|
5904
|
-
const f1 = j(
|
|
5905
|
+
function a1(Z) {
|
|
5906
|
+
const f1 = j(Z);
|
|
5905
5907
|
f1 && (h.value.includes(f1) || z([...h.value, f1]), u.value = "", C.value = 0);
|
|
5906
5908
|
}
|
|
5907
|
-
function R(
|
|
5908
|
-
z(h.value.filter((f1, V1) => V1 !==
|
|
5909
|
+
function R(Z) {
|
|
5910
|
+
z(h.value.filter((f1, V1) => V1 !== Z));
|
|
5909
5911
|
}
|
|
5910
5912
|
function p1() {
|
|
5911
5913
|
v.value = !0, C.value = 0;
|
|
5912
5914
|
}
|
|
5913
|
-
function o1(
|
|
5914
|
-
if (
|
|
5915
|
-
|
|
5915
|
+
function o1(Z) {
|
|
5916
|
+
if (Z.key === "Enter" || Z.key === "," && !c.value) {
|
|
5917
|
+
Z.preventDefault();
|
|
5916
5918
|
const f1 = J.value[C.value];
|
|
5917
5919
|
c.value ? f1 && E(f1.value) : a1(f1 ? f1.value : u.value);
|
|
5918
|
-
} else
|
|
5920
|
+
} else Z.key === "ArrowDown" ? (Z.preventDefault(), v.value = !0, C.value = Math.min(C.value + 1, J.value.length - 1)) : Z.key === "ArrowUp" ? (Z.preventDefault(), C.value = Math.max(C.value - 1, 0)) : Z.key === "Escape" ? v.value = !1 : Z.key === "Backspace" && !u.value && h.value.length && R(h.value.length - 1);
|
|
5919
5921
|
}
|
|
5920
5922
|
function G() {
|
|
5921
5923
|
!s.disabled && k.value && (k.value.focus(), v.value = !0);
|
|
@@ -5925,13 +5927,13 @@ const H0 = ':host{display:inline-block}button,input,select,textarea{font-family:
|
|
|
5925
5927
|
v.value = !1, c.value || a1(u.value);
|
|
5926
5928
|
}, 150);
|
|
5927
5929
|
}
|
|
5928
|
-
function y1(
|
|
5929
|
-
c.value ? E(
|
|
5930
|
+
function y1(Z) {
|
|
5931
|
+
c.value ? E(Z.value) : a1(Z.value), k.value && k.value.focus();
|
|
5930
5932
|
}
|
|
5931
5933
|
function E1() {
|
|
5932
5934
|
v.value ? v.value = !1 : G();
|
|
5933
5935
|
}
|
|
5934
|
-
return (
|
|
5936
|
+
return (Z, f1) => {
|
|
5935
5937
|
const V1 = T1("obs-icon");
|
|
5936
5938
|
return n(), i("div", {
|
|
5937
5939
|
class: B(["box", ["t-" + e.type, { disabled: e.disabled, loading: e.loading, block: e.block, open: D.value }]]),
|
|
@@ -6709,7 +6711,7 @@ const H0 = ':host{display:inline-block}button,input,select,textarea{font-family:
|
|
|
6709
6711
|
function E1() {
|
|
6710
6712
|
C.value = "custom", h.value = !1;
|
|
6711
6713
|
}
|
|
6712
|
-
function
|
|
6714
|
+
function Z(g) {
|
|
6713
6715
|
g.stopPropagation(), C.value = null, h.value = !1;
|
|
6714
6716
|
}
|
|
6715
6717
|
function f1(g) {
|
|
@@ -6788,7 +6790,7 @@ const H0 = ':host{display:inline-block}button,input,select,textarea{font-family:
|
|
|
6788
6790
|
const g = /* @__PURE__ */ new Date(), x = g.getHours();
|
|
6789
6791
|
K.value = x % 12 || 12, O.value = g.getMinutes(), u1.value = x < 12 ? "AM" : "PM";
|
|
6790
6792
|
}
|
|
6791
|
-
function
|
|
6793
|
+
function w() {
|
|
6792
6794
|
s.disabled || (T.value = !T.value, T.value && (Y.value = M.value ? "time" : "date"), T.value && M.value && !b1.value && X());
|
|
6793
6795
|
}
|
|
6794
6796
|
function y(g) {
|
|
@@ -6874,7 +6876,7 @@ const H0 = ':host{display:inline-block}button,input,select,textarea{font-family:
|
|
|
6874
6876
|
}, [
|
|
6875
6877
|
d("span", {
|
|
6876
6878
|
class: B(["field", { disabled: e.disabled, open: T.value }]),
|
|
6877
|
-
onClick:
|
|
6879
|
+
onClick: w
|
|
6878
6880
|
}, [
|
|
6879
6881
|
d("span", {
|
|
6880
6882
|
class: B(["field-ph", { filled: C2.value }])
|
|
@@ -7079,7 +7081,7 @@ const H0 = ':host{display:inline-block}button,input,select,textarea{font-family:
|
|
|
7079
7081
|
name: "timesCircle",
|
|
7080
7082
|
size: "12",
|
|
7081
7083
|
class: "clr",
|
|
7082
|
-
onClick: m1(
|
|
7084
|
+
onClick: m1(Z, ["stop"])
|
|
7083
7085
|
})) : (n(), _1(d1, {
|
|
7084
7086
|
key: 1,
|
|
7085
7087
|
name: "chevronDown",
|
|
@@ -7368,11 +7370,11 @@ const H0 = ':host{display:inline-block}button,input,select,textarea{font-family:
|
|
|
7368
7370
|
},
|
|
7369
7371
|
emits: ["change"],
|
|
7370
7372
|
setup(e, { emit: t }) {
|
|
7371
|
-
const s = e, l = t, c = s2(), o = (
|
|
7372
|
-
if (Array.isArray(
|
|
7373
|
-
if (typeof
|
|
7373
|
+
const s = e, l = t, c = s2(), o = (w, y) => {
|
|
7374
|
+
if (Array.isArray(w)) return w;
|
|
7375
|
+
if (typeof w == "string" && w.trim())
|
|
7374
7376
|
try {
|
|
7375
|
-
const Q = JSON.parse(
|
|
7377
|
+
const Q = JSON.parse(w);
|
|
7376
7378
|
return Array.isArray(Q) ? Q : y;
|
|
7377
7379
|
} catch {
|
|
7378
7380
|
return y;
|
|
@@ -7392,19 +7394,19 @@ const H0 = ':host{display:inline-block}button,input,select,textarea{font-family:
|
|
|
7392
7394
|
{ k: "start with", l: "Start With" },
|
|
7393
7395
|
{ k: "end with", l: "End With" },
|
|
7394
7396
|
{ k: "between", l: "Between" }
|
|
7395
|
-
], p = (
|
|
7397
|
+
], p = (w) => JSON.parse(JSON.stringify(w)), h = () => ({ operand: "", operator: "", value: "", toValue: "" }), u = () => ({ inclusion: "include", condition: "and", conditions: [h()] }), v = () => ({ condition: "and", groups: [u()] }), C = () => ({ pre: v(), post: v() }), k = /* @__PURE__ */ U(!1), $ = /* @__PURE__ */ U("pre"), j = /* @__PURE__ */ U({
|
|
7396
7398
|
pre: { condition: "or", groups: [
|
|
7397
7399
|
{ inclusion: "include", condition: "and", conditions: [{ operand: "Severity", operator: "=", value: "Critical", toValue: "" }, { operand: "Source", operator: "contain", value: "aws", toValue: "" }] },
|
|
7398
7400
|
{ inclusion: "include", condition: "and", conditions: [{ operand: "Status", operator: "=", value: "Down", toValue: "" }] }
|
|
7399
7401
|
] },
|
|
7400
7402
|
post: { condition: "and", groups: [u()] }
|
|
7401
|
-
}), t1 = /* @__PURE__ */ U(p(j.value)), l1 = [{ k: "pre", text: "Pre Filters" }, { k: "post", text: "Post Filters" }], J = H(() => $.value === "pre" ? 3 : 1), D = H(() => t1.value ? t1.value[$.value] : null), z = (
|
|
7402
|
-
const y = a.find((Q) => Q.k ===
|
|
7403
|
-
return y ? y.l :
|
|
7403
|
+
}), t1 = /* @__PURE__ */ U(p(j.value)), l1 = [{ k: "pre", text: "Pre Filters" }, { k: "post", text: "Post Filters" }], J = H(() => $.value === "pre" ? 3 : 1), D = H(() => t1.value ? t1.value[$.value] : null), z = (w) => {
|
|
7404
|
+
const y = a.find((Q) => Q.k === w);
|
|
7405
|
+
return y ? y.l : w;
|
|
7404
7406
|
};
|
|
7405
|
-
function E(
|
|
7406
|
-
if (!
|
|
7407
|
-
const y =
|
|
7407
|
+
function E(w) {
|
|
7408
|
+
if (!w || !w.groups) return "";
|
|
7409
|
+
const y = w.condition === "or" ? "OR" : "AND", Q = w.groups.map((w1) => {
|
|
7408
7410
|
const i1 = w1.conditions.filter((d2) => d2.operand && d2.operator);
|
|
7409
7411
|
if (!i1.length) return "";
|
|
7410
7412
|
const z1 = w1.condition === "or" ? "OR" : "AND", P1 = i1.map((d2) => d2.operand + " <b>" + z(d2.operator) + "</b> " + (d2.operator === "between" ? (d2.value || "?") + "–" + (d2.toValue || "?") : d2.value || "Any")).join(" " + z1 + " ");
|
|
@@ -7412,21 +7414,21 @@ const H0 = ':host{display:inline-block}button,input,select,textarea{font-family:
|
|
|
7412
7414
|
}).filter(Boolean);
|
|
7413
7415
|
return Q.length ? Q.length > 1 ? Q.map((w1) => "(" + w1 + ")").join(" " + y + " ") : Q[0] : "";
|
|
7414
7416
|
}
|
|
7415
|
-
const a1 = H(() => j.value ? ["pre", "post"].map((
|
|
7417
|
+
const a1 = H(() => j.value ? ["pre", "post"].map((w) => E(j.value[w])).filter(Boolean).join(' <strong style="color:var(--primary,#111c2c);margin:0 6px">|</strong> ') : "");
|
|
7416
7418
|
function R() {
|
|
7417
7419
|
k.value || (t1.value = p(j.value || C())), k.value = !k.value;
|
|
7418
7420
|
}
|
|
7419
|
-
function p1(
|
|
7420
|
-
D.value.groups[
|
|
7421
|
+
function p1(w) {
|
|
7422
|
+
D.value.groups[w].conditions.push(h());
|
|
7421
7423
|
}
|
|
7422
|
-
function o1(
|
|
7423
|
-
D.value.groups[
|
|
7424
|
+
function o1(w, y) {
|
|
7425
|
+
D.value.groups[w].conditions.splice(y, 1);
|
|
7424
7426
|
}
|
|
7425
7427
|
function G() {
|
|
7426
7428
|
D.value.groups.push(u());
|
|
7427
7429
|
}
|
|
7428
|
-
function k1(
|
|
7429
|
-
D.value.groups.splice(
|
|
7430
|
+
function k1(w) {
|
|
7431
|
+
D.value.groups.splice(w, 1);
|
|
7430
7432
|
}
|
|
7431
7433
|
function y1() {
|
|
7432
7434
|
j.value = p(t1.value), k.value = !1;
|
|
@@ -7434,7 +7436,7 @@ const H0 = ':host{display:inline-block}button,input,select,textarea{font-family:
|
|
|
7434
7436
|
function E1() {
|
|
7435
7437
|
t1.value = C(), j.value = null, k.value = !1;
|
|
7436
7438
|
}
|
|
7437
|
-
function
|
|
7439
|
+
function Z() {
|
|
7438
7440
|
t1.value = { ...t1.value, [$.value]: j.value ? p(j.value[$.value]) : v() };
|
|
7439
7441
|
}
|
|
7440
7442
|
const f1 = {
|
|
@@ -7464,24 +7466,24 @@ const H0 = ':host{display:inline-block}button,input,select,textarea{font-family:
|
|
|
7464
7466
|
{ field: "group", operator: "is", value: ["MySQL", "PostgreSQL"] },
|
|
7465
7467
|
{ field: "severity", operator: "is", value: ["Down", "Warning"] },
|
|
7466
7468
|
{ field: "type", operator: "is", value: ["AWS Auto Scaling", "EC2", "S3", "RDS"] }
|
|
7467
|
-
], q1 = H(() => o(s.fields, g1)), A1 = /* @__PURE__ */ U(o(s.value, v1).map((
|
|
7468
|
-
K1(() => s.value, (
|
|
7469
|
-
|
|
7469
|
+
], q1 = H(() => o(s.fields, g1)), A1 = /* @__PURE__ */ U(o(s.value, v1).map((w) => ({ ...w })));
|
|
7470
|
+
K1(() => s.value, (w) => {
|
|
7471
|
+
w != null && (A1.value = o(w, []).map((y) => ({ ...y })));
|
|
7470
7472
|
});
|
|
7471
7473
|
function n1() {
|
|
7472
|
-
const
|
|
7474
|
+
const w = A1.value.filter((y) => y.field && y.operator && (X1(y.operator) && X1(y.operator).noValue ? !0 : Array.isArray(y.value) ? y.value.length : y.value !== "" && y.value != null)).map((y) => ({ field: y.field, operator: y.operator, value: y.value }));
|
|
7473
7475
|
if (c)
|
|
7474
7476
|
try {
|
|
7475
|
-
const y = JSON.stringify(
|
|
7477
|
+
const y = JSON.stringify(w);
|
|
7476
7478
|
c.value !== y && (c.value = y);
|
|
7477
7479
|
} catch {
|
|
7478
7480
|
}
|
|
7479
|
-
l("change",
|
|
7481
|
+
l("change", w);
|
|
7480
7482
|
}
|
|
7481
7483
|
const c1 = /* @__PURE__ */ U(null), H1 = /* @__PURE__ */ U(null), U1 = /* @__PURE__ */ U(null);
|
|
7482
|
-
function y2(
|
|
7484
|
+
function y2(w) {
|
|
7483
7485
|
u2(() => {
|
|
7484
|
-
const y = U1.value && U1.value.querySelectorAll(".chip-wrap")[
|
|
7486
|
+
const y = U1.value && U1.value.querySelectorAll(".chip-wrap")[w];
|
|
7485
7487
|
if (!y) {
|
|
7486
7488
|
H1.value = null;
|
|
7487
7489
|
return;
|
|
@@ -7490,96 +7492,96 @@ const H0 = ':host{display:inline-block}button,input,select,textarea{font-family:
|
|
|
7490
7492
|
H1.value = { left: Math.round(Q.left), top: Math.round(Q.bottom + 6) };
|
|
7491
7493
|
});
|
|
7492
7494
|
}
|
|
7493
|
-
const J1 = (
|
|
7495
|
+
const J1 = (w) => q1.value.find((y) => y.key === w), X1 = (w) => {
|
|
7494
7496
|
for (const y in f1) {
|
|
7495
|
-
const Q = f1[y].find((w1) => w1.k ===
|
|
7497
|
+
const Q = f1[y].find((w1) => w1.k === w);
|
|
7496
7498
|
if (Q) return Q;
|
|
7497
7499
|
}
|
|
7498
7500
|
return null;
|
|
7499
|
-
}, o2 = (
|
|
7500
|
-
const y = J1(
|
|
7501
|
+
}, o2 = (w) => {
|
|
7502
|
+
const y = J1(w.field);
|
|
7501
7503
|
return y ? y.label : "Select Filter";
|
|
7502
|
-
}, f2 = (
|
|
7503
|
-
const y = X1(
|
|
7504
|
+
}, f2 = (w) => {
|
|
7505
|
+
const y = X1(w.operator);
|
|
7504
7506
|
return y ? y.l : "";
|
|
7505
|
-
}, e2 = (
|
|
7506
|
-
const y = X1(
|
|
7507
|
+
}, e2 = (w) => {
|
|
7508
|
+
const y = X1(w.operator);
|
|
7507
7509
|
return y && !y.noValue;
|
|
7508
|
-
}, i2 = (
|
|
7509
|
-
const y = X1(
|
|
7510
|
+
}, i2 = (w) => {
|
|
7511
|
+
const y = X1(w.operator);
|
|
7510
7512
|
return y && y.multi;
|
|
7511
|
-
}, f = (
|
|
7512
|
-
const y =
|
|
7513
|
+
}, f = (w) => {
|
|
7514
|
+
const y = w.value;
|
|
7513
7515
|
return Array.isArray(y) ? y.length ? y.length === 1 ? y[0] : y[0] + " (+" + (y.length - 1) + ")" : "…" : y === "" || y == null ? "…" : y;
|
|
7514
|
-
}, b = (
|
|
7516
|
+
}, b = (w) => !w.operator, _ = (w) => !b(w) || !w.field, N = (w, y) => c1.value && c1.value.i === w && c1.value.step === y, I = H(() => {
|
|
7515
7517
|
if (!c1.value) return [];
|
|
7516
|
-
const
|
|
7518
|
+
const w = A1.value[c1.value.i];
|
|
7517
7519
|
if (c1.value.step === "field") return q1.value.map((Q) => ({ k: Q.key, l: Q.label }));
|
|
7518
|
-
const y = J1(
|
|
7520
|
+
const y = J1(w.field);
|
|
7519
7521
|
return c1.value.step === "operator" ? (f1[y ? y.type : "enum"] || []).map((Q) => ({ k: Q.k, l: Q.l })) : (y ? y.values : []).map((Q) => ({ k: Q, l: Q }));
|
|
7520
|
-
}), T = H(() => A1.value.some((
|
|
7521
|
-
if (!
|
|
7522
|
-
if (!e2(
|
|
7523
|
-
const y =
|
|
7522
|
+
}), T = H(() => A1.value.some((w) => {
|
|
7523
|
+
if (!w.field || !w.operator) return !1;
|
|
7524
|
+
if (!e2(w)) return !0;
|
|
7525
|
+
const y = w.value;
|
|
7524
7526
|
return Array.isArray(y) ? y.length > 0 : y !== "" && y != null;
|
|
7525
7527
|
}));
|
|
7526
|
-
function Y(
|
|
7528
|
+
function Y(w, y, Q) {
|
|
7527
7529
|
Q && Q.stopPropagation();
|
|
7528
|
-
const w1 = A1.value[
|
|
7529
|
-
if (y === "field" && w1.dflt && w1.field && (y = "operator"), N(
|
|
7530
|
+
const w1 = A1.value[w];
|
|
7531
|
+
if (y === "field" && w1.dflt && w1.field && (y = "operator"), N(w, y)) {
|
|
7530
7532
|
c1.value = null, H1.value = null;
|
|
7531
7533
|
return;
|
|
7532
7534
|
}
|
|
7533
|
-
c1.value = { i:
|
|
7535
|
+
c1.value = { i: w, step: y }, y2(w);
|
|
7534
7536
|
}
|
|
7535
|
-
function W(
|
|
7537
|
+
function W(w) {
|
|
7536
7538
|
const { i: y, step: Q } = c1.value, w1 = A1.value[y];
|
|
7537
7539
|
if (Q === "field")
|
|
7538
|
-
w1.field =
|
|
7540
|
+
w1.field = w.k, w1.operator = "", w1.value = "", c1.value = { i: y, step: "operator" };
|
|
7539
7541
|
else if (Q === "operator")
|
|
7540
|
-
w1.operator =
|
|
7542
|
+
w1.operator = w.k, w1.value = i2(w1) ? [] : "", c1.value = e2(w1) && !i2(w1) ? { i: y, step: "value" } : null, i2(w1) && e2(w1) && K(y);
|
|
7541
7543
|
else if (i2(w1)) {
|
|
7542
7544
|
const i1 = Array.isArray(w1.value) ? w1.value : [];
|
|
7543
|
-
w1.value = i1.includes(
|
|
7545
|
+
w1.value = i1.includes(w.k) ? i1.filter((z1) => z1 !== w.k) : [...i1, w.k];
|
|
7544
7546
|
} else
|
|
7545
|
-
w1.value =
|
|
7547
|
+
w1.value = w.k, c1.value = null;
|
|
7546
7548
|
A1.value = [...A1.value], n1(), c1.value ? y2(c1.value.i) : H1.value = null;
|
|
7547
7549
|
}
|
|
7548
|
-
function K(
|
|
7550
|
+
function K(w) {
|
|
7549
7551
|
u2(() => {
|
|
7550
7552
|
const y = () => {
|
|
7551
|
-
const Q = U1.value && U1.value.querySelectorAll(".chip-wrap")[
|
|
7553
|
+
const Q = U1.value && U1.value.querySelectorAll(".chip-wrap")[w], w1 = Q && Q.querySelector(".valsel obs-select"), i1 = w1 && w1.shadowRoot && w1.shadowRoot.querySelector(".t-text");
|
|
7552
7554
|
return i1 ? (i1.click(), !0) : !1;
|
|
7553
7555
|
};
|
|
7554
7556
|
y() || requestAnimationFrame(y);
|
|
7555
7557
|
});
|
|
7556
7558
|
}
|
|
7557
|
-
const O = (
|
|
7558
|
-
const Q = A1.value[
|
|
7559
|
+
const O = (w, y) => {
|
|
7560
|
+
const Q = A1.value[w].value;
|
|
7559
7561
|
return Array.isArray(Q) ? Q.includes(y.k) : Q === y.k;
|
|
7560
7562
|
};
|
|
7561
|
-
function u1(
|
|
7562
|
-
A1.value.splice(
|
|
7563
|
+
function u1(w) {
|
|
7564
|
+
A1.value.splice(w, 1), c1.value = null, H1.value = null, n1();
|
|
7563
7565
|
}
|
|
7564
7566
|
function r1() {
|
|
7565
7567
|
A1.value.push({ field: "", operator: "", value: "" });
|
|
7566
|
-
const
|
|
7567
|
-
c1.value = { i:
|
|
7568
|
+
const w = A1.value.length - 1;
|
|
7569
|
+
c1.value = { i: w, step: "field" }, y2(w);
|
|
7568
7570
|
}
|
|
7569
7571
|
function h1() {
|
|
7570
7572
|
A1.value = [], c1.value = null, H1.value = null, n1();
|
|
7571
7573
|
}
|
|
7572
|
-
function C1(
|
|
7573
|
-
const y = J1(
|
|
7574
|
+
function C1(w) {
|
|
7575
|
+
const y = J1(w.field);
|
|
7574
7576
|
return y ? JSON.stringify((y.values || []).map((Q) => typeof Q == "string" ? { value: Q, label: Q } : Q.children ? { value: Q.v, label: Q.v, children: Q.children.map((w1) => ({ value: w1, label: w1 })) } : { value: Q.v, label: Q.v, color: Q.col })) : "[]";
|
|
7575
7577
|
}
|
|
7576
|
-
const M = (
|
|
7577
|
-
const y = J1(
|
|
7578
|
+
const M = (w) => Array.isArray(w.value) ? w.value.join(",") : w.value || "", S = (w) => {
|
|
7579
|
+
const y = J1(w.field);
|
|
7578
7580
|
return !!(y && y.selectAll);
|
|
7579
7581
|
};
|
|
7580
|
-
function e1(
|
|
7582
|
+
function e1(w, y) {
|
|
7581
7583
|
const Q = y && y.detail, w1 = Array.isArray(Q) ? Q[0] : Q;
|
|
7582
|
-
A1.value[
|
|
7584
|
+
A1.value[w].value = Array.isArray(w1) ? w1 : w1 == null || w1 === "" ? [] : [w1], n1();
|
|
7583
7585
|
}
|
|
7584
7586
|
const b1 = ["Down monitors", "Critical alerts", "Unacknowledged", "My favorites"], x1 = /* @__PURE__ */ U({}), B1 = /* @__PURE__ */ U([
|
|
7585
7587
|
{ n: "Backup Status", open: !0, rows: [{ n: "Successful", c: 5, i: "check-circle", col: "var(--secondary-green)" }, { n: "Failed", c: 3, i: "times-circle", col: "var(--secondary-red)" }] },
|
|
@@ -7588,17 +7590,17 @@ const H0 = ':host{display:inline-block}button,input,select,textarea{font-family:
|
|
|
7588
7590
|
{ n: "Vendor", open: !1, rows: [{ n: "Huawei", c: 1 }, { n: "Cisco Systems", c: 6 }] },
|
|
7589
7591
|
{ n: "Template", open: !1, rows: [{ n: "Cisco", c: 3 }, { n: "sophos firewall", c: 1 }] }
|
|
7590
7592
|
]);
|
|
7591
|
-
function R1(
|
|
7592
|
-
|
|
7593
|
+
function R1(w) {
|
|
7594
|
+
w.open = !w.open;
|
|
7593
7595
|
}
|
|
7594
|
-
function c2(
|
|
7595
|
-
x1.value = { ...x1.value, [
|
|
7596
|
+
function c2(w) {
|
|
7597
|
+
x1.value = { ...x1.value, [w]: !x1.value[w] };
|
|
7596
7598
|
}
|
|
7597
|
-
const C2 = (
|
|
7598
|
-
function X(
|
|
7599
|
-
|
|
7599
|
+
const C2 = (w) => ({ "check-circle": "checkCircle", "times-circle": "timesCircle", sitemap: "sitemap", server: "server" })[w] || "";
|
|
7600
|
+
function X(w) {
|
|
7601
|
+
w.composedPath().some((y) => y && y.tagName === "OBS-FILTERS") || (k.value = !1, c1.value = null, H1.value = null, A1.value.some((y) => !y.field) && (A1.value = A1.value.filter((y) => y.field)));
|
|
7600
7602
|
}
|
|
7601
|
-
return R2(() => document.addEventListener("click", X, !0)), A2(() => document.removeEventListener("click", X, !0)), (
|
|
7603
|
+
return R2(() => document.addEventListener("click", X, !0)), A2(() => document.removeEventListener("click", X, !0)), (w, y) => {
|
|
7602
7604
|
const Q = T1("obs-icon"), w1 = T1("obs-select");
|
|
7603
7605
|
return n(), i("div", {
|
|
7604
7606
|
class: B(["fx", "k-" + e.kind])
|
|
@@ -7829,7 +7831,7 @@ const H0 = ':host{display:inline-block}button,input,select,textarea{font-family:
|
|
|
7829
7831
|
d("div", { class: "foot" }, [
|
|
7830
7832
|
d("button", {
|
|
7831
7833
|
class: "btn ghost",
|
|
7832
|
-
onClick:
|
|
7834
|
+
onClick: Z
|
|
7833
7835
|
}, "Reset"),
|
|
7834
7836
|
d("button", {
|
|
7835
7837
|
class: "btn danger",
|
|
@@ -8232,27 +8234,27 @@ const vl = ':host{font-family:var(--font-family, "Poppins", sans-serif)}button{f
|
|
|
8232
8234
|
}),
|
|
8233
8235
|
!v.value && $.value ? (n(), i(A, { key: 0 }, [
|
|
8234
8236
|
$.value.note ? (n(), i("span", bl, L($.value.note), 1)) : V("", !0),
|
|
8235
|
-
(n(!0), i(A, null, s1($.value.left || [], (
|
|
8236
|
-
key: "l" +
|
|
8237
|
-
variant:
|
|
8238
|
-
outline:
|
|
8239
|
-
onClick: (f1) => l1(
|
|
8237
|
+
(n(!0), i(A, null, s1($.value.left || [], (Z) => (n(), _1(E1, {
|
|
8238
|
+
key: "l" + Z.t,
|
|
8239
|
+
variant: Z.v,
|
|
8240
|
+
outline: Z.outline || null,
|
|
8241
|
+
onClick: (f1) => l1(Z)
|
|
8240
8242
|
}, {
|
|
8241
8243
|
default: k2(() => [
|
|
8242
|
-
$1(L(
|
|
8244
|
+
$1(L(Z.t), 1)
|
|
8243
8245
|
]),
|
|
8244
8246
|
_: 2
|
|
8245
8247
|
}, 1032, ["variant", "outline", "onClick"]))), 128)),
|
|
8246
8248
|
d("span", ml, [
|
|
8247
|
-
(n(!0), i(A, null, s1($.value.right, (
|
|
8248
|
-
key: "r" +
|
|
8249
|
-
variant:
|
|
8250
|
-
outline:
|
|
8249
|
+
(n(!0), i(A, null, s1($.value.right, (Z, f1) => (n(), _1(E1, {
|
|
8250
|
+
key: "r" + Z.t,
|
|
8251
|
+
variant: Z.v,
|
|
8252
|
+
outline: Z.outline || null,
|
|
8251
8253
|
style: Z1(f1 < $.value.right.length - 1 ? "margin-right:8px" : ""),
|
|
8252
|
-
onClick: (V1) => l1(
|
|
8254
|
+
onClick: (V1) => l1(Z)
|
|
8253
8255
|
}, {
|
|
8254
8256
|
default: k2(() => [
|
|
8255
|
-
$1(L(
|
|
8257
|
+
$1(L(Z.t), 1)
|
|
8256
8258
|
]),
|
|
8257
8259
|
_: 2
|
|
8258
8260
|
}, 1032, ["variant", "outline", "style", "onClick"]))), 128))
|
|
@@ -8912,7 +8914,7 @@ const vl = ':host{font-family:var(--font-family, "Poppins", sans-serif)}button{f
|
|
|
8912
8914
|
const c1 = G(n1);
|
|
8913
8915
|
c1 != null && (s.multiple ? v.value = v.value.map(String).includes(String(c1)) ? v.value.filter((H1) => String(H1) !== String(c1)) : [...v.value, c1] : (v.value = [c1], v1()), k1());
|
|
8914
8916
|
}
|
|
8915
|
-
function
|
|
8917
|
+
function Z() {
|
|
8916
8918
|
v.value = [], $.value = "all", k1();
|
|
8917
8919
|
}
|
|
8918
8920
|
function f1(n1) {
|
|
@@ -9010,7 +9012,7 @@ const vl = ':host{font-family:var(--font-family, "Poppins", sans-serif)}button{f
|
|
|
9010
9012
|
c1[1] || (c1[1] = d("span", { class: "sep" }, "|", -1)),
|
|
9011
9013
|
d("a", {
|
|
9012
9014
|
class: "lnk",
|
|
9013
|
-
onClick:
|
|
9015
|
+
onClick: Z
|
|
9014
9016
|
}, "Clear Selected")
|
|
9015
9017
|
])) : V("", !0)
|
|
9016
9018
|
]),
|
|
@@ -9521,7 +9523,7 @@ const vl = ':host{font-family:var(--font-family, "Poppins", sans-serif)}button{f
|
|
|
9521
9523
|
if (!E.value) return R.value;
|
|
9522
9524
|
const M = (j.value - 1) * z.value;
|
|
9523
9525
|
return R.value.slice(M, M + z.value);
|
|
9524
|
-
}), G = H(() => o1.value.length > 0 && o1.value.every((M) => J(M))), k1 = H(() => !G.value && o1.value.some((M) => J(M))), y1 = H(() => r.value.length + (s.selectable ? 1 : 0) + (p.value.length ? 1 : 0) + (s.expandable ? 1 : 0) + (s.editable ? 1 : 0)), E1 = /* @__PURE__ */ U(/* @__PURE__ */ new Set()),
|
|
9526
|
+
}), G = H(() => o1.value.length > 0 && o1.value.every((M) => J(M))), k1 = H(() => !G.value && o1.value.some((M) => J(M))), y1 = H(() => r.value.length + (s.selectable ? 1 : 0) + (p.value.length ? 1 : 0) + (s.expandable ? 1 : 0) + (s.editable ? 1 : 0)), E1 = /* @__PURE__ */ U(/* @__PURE__ */ new Set()), Z = (M) => E1.value.has(String(t1(M)));
|
|
9525
9527
|
if (s.tree) {
|
|
9526
9528
|
const M = /* @__PURE__ */ new Set(), S = (e1) => (e1 || []).forEach((b1) => {
|
|
9527
9529
|
Array.isArray(b1.children) && b1.children.length && (M.add(String(b1[s.rowKey])), S(b1.children));
|
|
@@ -9550,7 +9552,7 @@ const vl = ':host{font-family:var(--font-family, "Poppins", sans-serif)}button{f
|
|
|
9550
9552
|
function n1(M, S, e1) {
|
|
9551
9553
|
for (const b1 of M || []) {
|
|
9552
9554
|
const x1 = Array.isArray(b1.children) && b1.children.length > 0;
|
|
9553
|
-
e1.push({ ...b1, __level: S, __hasKids: x1 }), x1 &&
|
|
9555
|
+
e1.push({ ...b1, __level: S, __hasKids: x1 }), x1 && Z(b1) && n1(b1.children, S + 1, e1);
|
|
9554
9556
|
}
|
|
9555
9557
|
return e1;
|
|
9556
9558
|
}
|
|
@@ -9663,7 +9665,7 @@ const vl = ':host{font-family:var(--font-family, "Poppins", sans-serif)}button{f
|
|
|
9663
9665
|
key: X.key,
|
|
9664
9666
|
class: B(["al-" + (X.align || "left"), { srt: e.sortable && X.sortable, sorted: k.value === X.key }]),
|
|
9665
9667
|
style: Z1(X.width ? { width: X.width } : null),
|
|
9666
|
-
onClick: (
|
|
9668
|
+
onClick: (w) => Y(X)
|
|
9667
9669
|
}, [
|
|
9668
9670
|
d("span", uo, [
|
|
9669
9671
|
$1(L(X.title), 1),
|
|
@@ -9690,7 +9692,7 @@ const vl = ':host{font-family:var(--font-family, "Poppins", sans-serif)}button{f
|
|
|
9690
9692
|
d("td", { colspan: y1.value }, [
|
|
9691
9693
|
d("span", {
|
|
9692
9694
|
class: B(["grp", { clickable: g1.value }]),
|
|
9693
|
-
onClick: (
|
|
9695
|
+
onClick: (w) => q1(X.__group)
|
|
9694
9696
|
}, [
|
|
9695
9697
|
g1.value ? (n(), _1(x1, {
|
|
9696
9698
|
key: 0,
|
|
@@ -9704,15 +9706,15 @@ const vl = ':host{font-family:var(--font-family, "Poppins", sans-serif)}button{f
|
|
|
9704
9706
|
], 2)) : (n(), i(A, { key: 1 }, [
|
|
9705
9707
|
d("tr", {
|
|
9706
9708
|
class: B({ "row-selected": J(X), "in-group": !!e.groupBy }),
|
|
9707
|
-
onClick: (
|
|
9709
|
+
onClick: (w) => l("rowclick", t1(X))
|
|
9708
9710
|
}, [
|
|
9709
9711
|
e.expandable ? (n(), i("td", {
|
|
9710
9712
|
key: 0,
|
|
9711
9713
|
class: "exp-col",
|
|
9712
|
-
onClick: m1((
|
|
9714
|
+
onClick: m1((w) => f1(X), ["stop"])
|
|
9713
9715
|
}, [
|
|
9714
9716
|
q(x1, {
|
|
9715
|
-
name:
|
|
9717
|
+
name: Z(X) ? "chevronDown" : "chevronRight",
|
|
9716
9718
|
size: "12",
|
|
9717
9719
|
class: "exp-ic"
|
|
9718
9720
|
}, null, 8, ["name"])
|
|
@@ -9726,13 +9728,13 @@ const vl = ':host{font-family:var(--font-family, "Poppins", sans-serif)}button{f
|
|
|
9726
9728
|
q(b1, {
|
|
9727
9729
|
checked: J(X),
|
|
9728
9730
|
disabled: !!X.disabled,
|
|
9729
|
-
onChange: (
|
|
9731
|
+
onChange: (w) => N(X, w)
|
|
9730
9732
|
}, null, 8, ["checked", "disabled", "onChange"])
|
|
9731
9733
|
])) : V("", !0),
|
|
9732
|
-
(n(!0), i(A, null, s1(r.value, (
|
|
9733
|
-
key:
|
|
9734
|
-
class: B(["al-" + (
|
|
9735
|
-
style: Z1(
|
|
9734
|
+
(n(!0), i(A, null, s1(r.value, (w, y) => (n(), i("td", {
|
|
9735
|
+
key: w.key,
|
|
9736
|
+
class: B(["al-" + (w.align || "left"), w.cls, { heat: w.type === "heat" }]),
|
|
9737
|
+
style: Z1(w.type === "heat" ? { background: h1(X, w) } : null)
|
|
9736
9738
|
}, [
|
|
9737
9739
|
e.tree && y === 0 ? (n(), i("span", {
|
|
9738
9740
|
key: 0,
|
|
@@ -9742,40 +9744,40 @@ const vl = ':host{font-family:var(--font-family, "Poppins", sans-serif)}button{f
|
|
|
9742
9744
|
X.__hasKids ? (n(), _1(x1, {
|
|
9743
9745
|
key: 0,
|
|
9744
9746
|
class: "tree-chev",
|
|
9745
|
-
name:
|
|
9747
|
+
name: Z(X) ? "chevronDown" : "chevronRight",
|
|
9746
9748
|
size: "12",
|
|
9747
9749
|
onClick: m1((Q) => f1(X), ["stop"])
|
|
9748
9750
|
}, null, 8, ["name", "onClick"])) : (n(), i("span", xo))
|
|
9749
9751
|
], 4)) : V("", !0),
|
|
9750
|
-
e.editable && y2(X) &&
|
|
9752
|
+
e.editable && y2(X) && w.editable ? (n(), _1(B1, {
|
|
9751
9753
|
key: 1,
|
|
9752
9754
|
class: "edit-input",
|
|
9753
|
-
value: String(U1.value[
|
|
9754
|
-
onInput: (Q) => X1(
|
|
9755
|
-
}, null, 8, ["value", "onInput"])) :
|
|
9755
|
+
value: String(U1.value[w.key] ?? ""),
|
|
9756
|
+
onInput: (Q) => X1(w.key, Q)
|
|
9757
|
+
}, null, 8, ["value", "onInput"])) : w.type === "heat" ? (n(), i("span", yo, L(O(X, w)), 1)) : w.type === "bar" ? (n(), i("span", Zo, [
|
|
9756
9758
|
d("span", wo, [
|
|
9757
9759
|
d("span", {
|
|
9758
9760
|
class: "bar-fill",
|
|
9759
|
-
style: Z1({ width: C1(X,
|
|
9761
|
+
style: Z1({ width: C1(X, w) + "%", background: C1(X, w) > 70 ? "var(--severity-major, #f47c22)" : "var(--primary-alt, #3279be)" })
|
|
9760
9762
|
}, null, 4)
|
|
9761
9763
|
]),
|
|
9762
|
-
d("span", Mo, L(C1(X,
|
|
9763
|
-
])) :
|
|
9764
|
+
d("span", Mo, L(C1(X, w)) + "%", 1)
|
|
9765
|
+
])) : w.type === "severity" ? (n(), i("span", ko, [
|
|
9764
9766
|
q(R1, {
|
|
9765
9767
|
severity: u1(X),
|
|
9766
9768
|
shape: "dot"
|
|
9767
9769
|
}, null, 8, ["severity"]),
|
|
9768
|
-
$1(L(O(X,
|
|
9769
|
-
])) :
|
|
9770
|
+
$1(L(O(X, w)), 1)
|
|
9771
|
+
])) : w.type === "dot" ? (n(), i("span", Ho, [
|
|
9770
9772
|
q(R1, {
|
|
9771
|
-
severity: String(O(X,
|
|
9773
|
+
severity: String(O(X, w)).toLowerCase().trim(),
|
|
9772
9774
|
shape: "dot",
|
|
9773
9775
|
"display-text": ""
|
|
9774
9776
|
}, null, 8, ["severity"])
|
|
9775
|
-
])) :
|
|
9777
|
+
])) : w.type === "status" ? (n(), _1(e1, {
|
|
9776
9778
|
key: 6,
|
|
9777
|
-
status: String(O(X,
|
|
9778
|
-
}, null, 8, ["status"])) :
|
|
9779
|
+
status: String(O(X, w))
|
|
9780
|
+
}, null, 8, ["status"])) : w.type === "type" ? (n(), i("span", Vo, [
|
|
9779
9781
|
q(x1, {
|
|
9780
9782
|
name: "server",
|
|
9781
9783
|
size: "15"
|
|
@@ -9785,8 +9787,8 @@ const vl = ':host{font-family:var(--font-family, "Poppins", sans-serif)}button{f
|
|
|
9785
9787
|
size: "14",
|
|
9786
9788
|
class: "cog"
|
|
9787
9789
|
})
|
|
9788
|
-
])) :
|
|
9789
|
-
(n(!0), i(A, null, s1(Array.isArray(O(X,
|
|
9790
|
+
])) : w.type === "tags" ? (n(), i("span", Lo, [
|
|
9791
|
+
(n(!0), i(A, null, s1(Array.isArray(O(X, w)) ? O(X, w) : [], (Q, w1) => (n(), _1(e1, {
|
|
9790
9792
|
key: w1,
|
|
9791
9793
|
variant: Q.variant || "default"
|
|
9792
9794
|
}, {
|
|
@@ -9795,16 +9797,16 @@ const vl = ':host{font-family:var(--font-family, "Poppins", sans-serif)}button{f
|
|
|
9795
9797
|
]),
|
|
9796
9798
|
_: 2
|
|
9797
9799
|
}, 1032, ["variant"]))), 128))
|
|
9798
|
-
])) :
|
|
9800
|
+
])) : w.type === "sparkline" ? (n(), i("svg", _o, [
|
|
9799
9801
|
d("polyline", {
|
|
9800
|
-
points: r1(O(X,
|
|
9802
|
+
points: r1(O(X, w)),
|
|
9801
9803
|
fill: "none",
|
|
9802
9804
|
stroke: "var(--primary-alt, #3279be)",
|
|
9803
9805
|
"stroke-width": "1.5",
|
|
9804
9806
|
"stroke-linecap": "round",
|
|
9805
9807
|
"stroke-linejoin": "round"
|
|
9806
9808
|
}, null, 8, So)
|
|
9807
|
-
])) : (n(), i("span", $o, L(O(X,
|
|
9809
|
+
])) : (n(), i("span", $o, L(O(X, w)), 1))
|
|
9808
9810
|
], 6))), 128)),
|
|
9809
9811
|
p.value.length ? (n(), i("td", {
|
|
9810
9812
|
key: 2,
|
|
@@ -9815,7 +9817,7 @@ const vl = ':host{font-family:var(--font-family, "Poppins", sans-serif)}button{f
|
|
|
9815
9817
|
q(c2, {
|
|
9816
9818
|
items: h.value,
|
|
9817
9819
|
placement: "bottom-end",
|
|
9818
|
-
onSelect: (
|
|
9820
|
+
onSelect: (w) => W(X, w)
|
|
9819
9821
|
}, null, 8, ["items", "onSelect"])
|
|
9820
9822
|
])) : V("", !0),
|
|
9821
9823
|
e.editable ? (n(), i("td", {
|
|
@@ -9827,7 +9829,7 @@ const vl = ':host{font-family:var(--font-family, "Poppins", sans-serif)}button{f
|
|
|
9827
9829
|
y2(X) ? (n(), i("span", Ao, [
|
|
9828
9830
|
q(C2, {
|
|
9829
9831
|
class: "edit-save",
|
|
9830
|
-
onClick: m1((
|
|
9832
|
+
onClick: m1((w) => o2(X), ["prevent"])
|
|
9831
9833
|
}, {
|
|
9832
9834
|
default: k2(() => [...S[8] || (S[8] = [
|
|
9833
9835
|
$1("Save", -1)
|
|
@@ -9837,7 +9839,7 @@ const vl = ':host{font-family:var(--font-family, "Poppins", sans-serif)}button{f
|
|
|
9837
9839
|
q(C2, {
|
|
9838
9840
|
class: "edit-cancel",
|
|
9839
9841
|
muted: "",
|
|
9840
|
-
onClick: S[2] || (S[2] = m1((
|
|
9842
|
+
onClick: S[2] || (S[2] = m1((w) => f2(), ["prevent"]))
|
|
9841
9843
|
}, {
|
|
9842
9844
|
default: k2(() => [...S[9] || (S[9] = [
|
|
9843
9845
|
$1("Cancel", -1)
|
|
@@ -9850,11 +9852,11 @@ const vl = ':host{font-family:var(--font-family, "Poppins", sans-serif)}button{f
|
|
|
9850
9852
|
size: "14",
|
|
9851
9853
|
class: "edit-pencil",
|
|
9852
9854
|
title: "Edit row",
|
|
9853
|
-
onClick: (
|
|
9855
|
+
onClick: (w) => J1(X)
|
|
9854
9856
|
}, null, 8, ["onClick"]))
|
|
9855
9857
|
])) : V("", !0)
|
|
9856
9858
|
], 10, bo),
|
|
9857
|
-
e.expandable &&
|
|
9859
|
+
e.expandable && Z(X) ? (n(), i("tr", zo, [
|
|
9858
9860
|
S[10] || (S[10] = d("td", { class: "exp-col" }, null, -1)),
|
|
9859
9861
|
e.selectable ? (n(), i("td", To)) : V("", !0),
|
|
9860
9862
|
d("td", {
|
|
@@ -9911,8 +9913,8 @@ const vl = ':host{font-family:var(--font-family, "Poppins", sans-serif)}button{f
|
|
|
9911
9913
|
size: "12"
|
|
9912
9914
|
})
|
|
9913
9915
|
], 2),
|
|
9914
|
-
(n(!0), i(A, null, s1(i2.value, (X,
|
|
9915
|
-
key:
|
|
9916
|
+
(n(!0), i(A, null, s1(i2.value, (X, w) => (n(), i("span", {
|
|
9917
|
+
key: w,
|
|
9916
9918
|
class: B(["ppage", { sel: X === j.value, dots: X === "…" }]),
|
|
9917
9919
|
onClick: (y) => K(X)
|
|
9918
9920
|
}, L(X), 11, No))), 128)),
|
|
@@ -10330,13 +10332,13 @@ const vl = ':host{font-family:var(--font-family, "Poppins", sans-serif)}button{f
|
|
|
10330
10332
|
], 2);
|
|
10331
10333
|
};
|
|
10332
10334
|
}
|
|
10333
|
-
}, Sr = /* @__PURE__ */ O1(_r, [["styles", [Mr]]]), $r = ":host{display:block;height:100%}.sm{display:flex;flex-direction:column;box-sizing:border-box;width:100%;height:100%;color:var(--page-text-color, #1d2a3e);border:1px solid var(--border-color, #e3e8f2);border-radius:6px;overflow:hidden;font-size:13px;background:var(--page-background-color, #fff)}.m-categories.sm{border:0;border-radius:0}.hd{display:flex;align-items:center}.hd:not(.seg){padding:0 12px}.tabbar{flex:1;min-width:0}.hd.seg{gap:10px;padding:10px 8px 2px}.switcher{flex:1;min-width:0}.srow{display:flex;align-items:center;gap:8px;padding:8px;--input-height-base: 35px}.sinput{flex:1;min-width:0}.rows{flex:1;overflow:auto;padding-bottom:6px;min-height:0}.row{display:flex;align-items:center;gap:8px;padding:7px 12px;cursor:pointer;text-decoration:none;color:inherit}.row.group{font-weight:500}.chev{color:var(--neutral-light, #6a7fa0);flex-shrink:0;width:14px}.r-ic{color:var(--neutral-light, #6a7fa0);flex-shrink:0}.lbl{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fav{color:var(--secondary-yellow, #f5bc18);flex-shrink:0}.count{flex-shrink:0}.pencil{color:var(--neutral-light, #6a7fa0);flex-shrink:0;visibility:hidden}.row:hover .pencil,.row.active .pencil{visibility:visible}.row:not(.active):hover{background:var(--nav-hover-bg, #ecf1f9)}.row.leaf.active{color:var(--primary, #111c2c);background:var(--code-tag-background-color, #ecf1f9)}.m-sections .row.group{padding-top:9px;padding-bottom:9px;font-size:13px}.m-sections .row.leaf{padding-top:6px;padding-bottom:6px;font-size:13px}.m-sections .row.leaf.active{box-shadow:inset 2px 0 0 var(--primary, #111c2c)}.m-categories .row.group{padding-top:9px;padding-bottom:9px;padding-right:6px;font-size:14px}.m-categories .row.leaf{padding-top:7px;padding-bottom:7px;padding-right:6px;font-size:13px}.m-tree .row.group{padding-top:6px;padding-bottom:6px;font-size:13px}.m-tree .row.group .r-ic{color:var(--primary-alt, #1d2a3e)}.m-tree .row.leaf{padding-top:5px;padding-bottom:5px;font-size:13px}.m-tree .leaf-chev{width:14px}.m-list .row{padding-top:9px;padding-bottom:9px;font-size:14px;border-bottom:1px solid var(--border-color, #e3e8f2)}.m-list .row.active{font-weight:600}", Ar = {
|
|
10335
|
+
}, Sr = /* @__PURE__ */ O1(_r, [["styles", [Mr]]]), $r = ":host{display:block;height:100%}.sm{display:flex;flex-direction:column;box-sizing:border-box;width:100%;height:100%;color:var(--page-text-color, #1d2a3e);border:1px solid var(--border-color, #e3e8f2);border-radius:6px;overflow:hidden;font-size:13px;background:var(--page-background-color, #fff)}.m-categories.sm{border:0;border-radius:0}.hd{display:flex;align-items:center}.hd:not(.seg){padding:0 12px}.tabbar{flex:1;min-width:0}.hd.seg{gap:10px;padding:10px 8px 2px}.switcher{flex:1;min-width:0}.srow{display:flex;align-items:center;gap:8px;padding:8px;--input-height-base: 35px}.sinput{flex:1;min-width:0}.rows{flex:1;overflow:auto;padding-bottom:6px;min-height:0}.row{display:flex;align-items:center;gap:8px;padding:7px 12px;cursor:pointer;text-decoration:none;color:inherit}.row.group{font-weight:500}.chev{color:var(--neutral-light, #6a7fa0);flex-shrink:0;width:14px}.r-ic{color:var(--neutral-light, #6a7fa0);flex-shrink:0}.lbl{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fav{color:var(--secondary-yellow, #f5bc18);flex-shrink:0}.count{flex-shrink:0}.r-logo{flex-shrink:0;width:20px;height:20px;object-fit:contain;display:block}.pencil{color:var(--neutral-light, #6a7fa0);flex-shrink:0;visibility:hidden}.row:hover .pencil,.row.active .pencil{visibility:visible}.row:not(.active):hover{background:var(--nav-hover-bg, #ecf1f9)}.row.leaf.active{color:var(--primary, #111c2c);background:var(--code-tag-background-color, #ecf1f9)}.m-sections .row.group{padding-top:9px;padding-bottom:9px;font-size:13px}.m-sections .row.leaf{padding-top:6px;padding-bottom:6px;font-size:13px}.m-sections .row.leaf.active{box-shadow:inset 2px 0 0 var(--primary, #111c2c)}.m-categories .row.group{padding-top:9px;padding-bottom:9px;padding-right:6px;font-size:14px}.m-categories .row.leaf{padding-top:7px;padding-bottom:7px;padding-right:6px;font-size:13px}.m-tree .row.group{padding-top:6px;padding-bottom:6px;font-size:13px}.m-tree .row.group .r-ic{color:var(--primary-alt, #1d2a3e)}.m-tree .row.leaf{padding-top:5px;padding-bottom:5px;font-size:13px}.m-tree .leaf-chev{width:14px}.m-list .row{padding-top:9px;padding-bottom:9px;font-size:14px;border-bottom:1px solid var(--border-color, #e3e8f2)}.m-list .row.active{font-weight:600}", Ar = {
|
|
10334
10336
|
key: 1,
|
|
10335
10337
|
class: "srow"
|
|
10336
10338
|
}, zr = {
|
|
10337
10339
|
class: "rows",
|
|
10338
10340
|
role: "tree"
|
|
10339
|
-
}, Tr = ["aria-expanded", "onClick"], Or = { class: "lbl" },
|
|
10341
|
+
}, Tr = ["aria-expanded", "onClick"], Or = ["src"], Pr = { class: "lbl" }, Er = {
|
|
10340
10342
|
__name: "ObsSideMenu.ce",
|
|
10341
10343
|
props: {
|
|
10342
10344
|
mode: { type: String, default: "sections" },
|
|
@@ -10376,10 +10378,10 @@ const vl = ':host{font-family:var(--font-family, "Poppins", sans-serif)}button{f
|
|
|
10376
10378
|
function j(R, p1, o1, G) {
|
|
10377
10379
|
const k1 = h.value.trim().toLowerCase();
|
|
10378
10380
|
for (const y1 of R) {
|
|
10379
|
-
const E1 = C(y1, o1),
|
|
10381
|
+
const E1 = C(y1, o1), Z = Array.isArray(y1.children) && y1.children.length;
|
|
10380
10382
|
if (k1 && !$(y1, k1)) continue;
|
|
10381
|
-
const f1 = k1 ?
|
|
10382
|
-
G.push({ label: y1.label, icon: y1.icon || "", count: y1.count, favorite: !!y1.favorite, edit: !!y1.edit, depth: p1, kids:
|
|
10383
|
+
const f1 = k1 ? Z && $(y1, k1) : !!u[E1];
|
|
10384
|
+
G.push({ label: y1.label, icon: y1.icon || "", logo: y1.logo || "", count: y1.count, favorite: !!y1.favorite, edit: !!y1.edit, depth: p1, kids: Z, open: f1, path: E1, leaf: !Z }), Z && f1 && j(y1.children, p1 + 1, E1, G);
|
|
10383
10385
|
}
|
|
10384
10386
|
}
|
|
10385
10387
|
const t1 = H(() => {
|
|
@@ -10444,17 +10446,17 @@ const vl = ':host{font-family:var(--font-family, "Poppins", sans-serif)}button{f
|
|
|
10444
10446
|
j1(R.$slots, "search-action")
|
|
10445
10447
|
])) : V("", !0),
|
|
10446
10448
|
d("div", zr, [
|
|
10447
|
-
(n(!0), i(A, null, s1(t1.value, (
|
|
10448
|
-
key:
|
|
10449
|
-
class: B(["row", { group:
|
|
10450
|
-
style: Z1({ paddingLeft: l1(
|
|
10449
|
+
(n(!0), i(A, null, s1(t1.value, (Z) => (n(), i("div", {
|
|
10450
|
+
key: Z.path,
|
|
10451
|
+
class: B(["row", { group: Z.kids, leaf: Z.leaf, active: Z.leaf && Z.label === J.value }]),
|
|
10452
|
+
style: Z1({ paddingLeft: l1(Z) + "px" }),
|
|
10451
10453
|
role: "treeitem",
|
|
10452
|
-
"aria-expanded":
|
|
10453
|
-
onClick: (f1) => D(
|
|
10454
|
+
"aria-expanded": Z.kids ? String(Z.open) : null,
|
|
10455
|
+
onClick: (f1) => D(Z)
|
|
10454
10456
|
}, [
|
|
10455
|
-
|
|
10457
|
+
Z.kids ? (n(), _1(y1, {
|
|
10456
10458
|
key: 0,
|
|
10457
|
-
name:
|
|
10459
|
+
name: Z.open ? "chevronDown" : "chevronRight",
|
|
10458
10460
|
size: "12",
|
|
10459
10461
|
class: "chev"
|
|
10460
10462
|
}, null, 8, ["name"])) : e.mode === "tree" ? (n(), _1(y1, {
|
|
@@ -10463,32 +10465,38 @@ const vl = ':host{font-family:var(--font-family, "Poppins", sans-serif)}button{f
|
|
|
10463
10465
|
size: "12",
|
|
10464
10466
|
class: "chev leaf-chev"
|
|
10465
10467
|
})) : V("", !0),
|
|
10466
|
-
|
|
10468
|
+
Z.favorite ? (n(), _1(y1, {
|
|
10467
10469
|
key: 2,
|
|
10468
10470
|
name: "star",
|
|
10469
10471
|
size: "16",
|
|
10470
10472
|
class: "fav"
|
|
10471
10473
|
})) : V("", !0),
|
|
10472
|
-
|
|
10474
|
+
Z.logo ? (n(), i("img", {
|
|
10473
10475
|
key: 3,
|
|
10474
|
-
|
|
10475
|
-
|
|
10476
|
+
src: Z.logo,
|
|
10477
|
+
class: "r-logo",
|
|
10478
|
+
alt: ""
|
|
10479
|
+
}, null, 8, Or)) : Z.icon ? (n(), _1(y1, {
|
|
10480
|
+
key: 4,
|
|
10481
|
+
name: Z.icon,
|
|
10482
|
+
size: Z.kids ? 19 : 16,
|
|
10476
10483
|
class: "r-ic"
|
|
10477
10484
|
}, null, 8, ["name", "size"])) : V("", !0),
|
|
10478
|
-
d("span",
|
|
10479
|
-
|
|
10480
|
-
key:
|
|
10485
|
+
d("span", Pr, L(Z.label), 1),
|
|
10486
|
+
Z.count != null && Z.count !== "" ? (n(), _1(E1, {
|
|
10487
|
+
key: 5,
|
|
10481
10488
|
class: "count",
|
|
10482
10489
|
variant: "tag-primary",
|
|
10483
|
-
rounded: ""
|
|
10490
|
+
rounded: "",
|
|
10491
|
+
numeric: e.mode === "tree"
|
|
10484
10492
|
}, {
|
|
10485
10493
|
default: k2(() => [
|
|
10486
|
-
$1(L(
|
|
10494
|
+
$1(L(Z.count), 1)
|
|
10487
10495
|
]),
|
|
10488
10496
|
_: 2
|
|
10489
|
-
},
|
|
10490
|
-
|
|
10491
|
-
key:
|
|
10497
|
+
}, 1032, ["numeric"])) : V("", !0),
|
|
10498
|
+
Z.edit ? (n(), _1(y1, {
|
|
10499
|
+
key: 6,
|
|
10492
10500
|
name: "pencil",
|
|
10493
10501
|
size: "12",
|
|
10494
10502
|
class: "pencil"
|
|
@@ -10498,10 +10506,10 @@ const vl = ':host{font-family:var(--font-family, "Poppins", sans-serif)}button{f
|
|
|
10498
10506
|
], 2);
|
|
10499
10507
|
};
|
|
10500
10508
|
}
|
|
10501
|
-
},
|
|
10509
|
+
}, Dr = /* @__PURE__ */ O1(Er, [["styles", [$r]]]), Br = ":host{display:inline-block;height:100%}.sb{position:relative;box-sizing:border-box;display:flex;flex-direction:column;width:65px;height:100%;min-height:var(--sidebar-min-height, 620px);padding-top:4px;background:var(--nav-panel-bg, #f6f9fc);color:var(--nav-text-color, #1d2a3e);box-shadow:3px 10px 10px #0000001a;transition:width .15s;overflow:hidden}.sb.expanded{width:170px}.logo{position:relative;z-index:1;display:flex;align-items:center;height:53px;margin:0 8px 8px;padding-left:13px;gap:10px;text-decoration:none;color:inherit;white-space:nowrap;flex-shrink:0}.sb:not(.expanded) .logo{justify-content:center;padding-left:0}.mark{display:inline-flex;align-items:center;flex-shrink:0}.mark svg{width:26px;height:26px;display:block}.mark ::slotted(img){width:26px;height:26px;display:block}.name{font-size:13px;font-weight:400;color:var(--page-text-color, #1d2a3e)}.items{position:relative;z-index:1;display:flex;flex-direction:column;flex:1;min-height:0}.item{display:flex;align-items:center;height:40px;margin:0 8px 8px;padding-left:17px;gap:14px;border-radius:6px;text-decoration:none;white-space:nowrap;color:var(--nav-text-color, #1d2a3e);flex-shrink:0;cursor:pointer}.sb:not(.expanded) .item{justify-content:center;padding-left:0;gap:0}.item:hover:not(.active){background:var(--nav-hover-bg, #ecf1f9)}.item.active{background:var(--primary-alt, #1d2a3e);color:var(--nav-selected-text-color, #f6f9fc)}.ic{flex-shrink:0}.lbl{display:inline-flex;align-items:center;font-size:13px;gap:8px}.beta{font-size:9px;padding:2px 7px;border-radius:5px;background:var(--code-tag-background-color, #ecf1f9);color:var(--nav-text-color, #1d2a3e);letter-spacing:.5px}.blobs{position:absolute;z-index:0;right:-75px;bottom:-100px;width:200px;height:200px;pointer-events:none}", Rr = { class: "mark" }, Ir = { class: "items" }, jr = ["aria-current", "onClick"], Nr = { class: "lbl" }, Fr = {
|
|
10502
10510
|
key: 0,
|
|
10503
10511
|
class: "beta"
|
|
10504
|
-
},
|
|
10512
|
+
}, Ur = {
|
|
10505
10513
|
__name: "ObsSidebar.ce",
|
|
10506
10514
|
props: {
|
|
10507
10515
|
items: { type: [String, Array], default: "" },
|
|
@@ -10535,7 +10543,7 @@ const vl = ':host{font-family:var(--font-family, "Poppins", sans-serif)}button{f
|
|
|
10535
10543
|
onClick: u[0] || (u[0] = m1(() => {
|
|
10536
10544
|
}, ["prevent"]))
|
|
10537
10545
|
}, [
|
|
10538
|
-
d("span",
|
|
10546
|
+
d("span", Rr, [
|
|
10539
10547
|
j1(h.$slots, "logo", {}, () => [
|
|
10540
10548
|
u[3] || (u[3] = d("svg", {
|
|
10541
10549
|
viewBox: "0 0 32 32",
|
|
@@ -10564,7 +10572,7 @@ const vl = ':host{font-family:var(--font-family, "Poppins", sans-serif)}button{f
|
|
|
10564
10572
|
[r4, r.value]
|
|
10565
10573
|
])
|
|
10566
10574
|
]),
|
|
10567
|
-
d("div",
|
|
10575
|
+
d("div", Ir, [
|
|
10568
10576
|
(n(!0), i(A, null, s1(a.value, (C) => (n(), i("a", {
|
|
10569
10577
|
key: C.key,
|
|
10570
10578
|
class: B(["item", { active: C.key === e.active }]),
|
|
@@ -10577,22 +10585,22 @@ const vl = ':host{font-family:var(--font-family, "Poppins", sans-serif)}button{f
|
|
|
10577
10585
|
size: "18",
|
|
10578
10586
|
class: "ic"
|
|
10579
10587
|
}, null, 8, ["name"]),
|
|
10580
|
-
Z2(d("span",
|
|
10588
|
+
Z2(d("span", Nr, [
|
|
10581
10589
|
$1(L(C.label), 1),
|
|
10582
|
-
C.beta ? (n(), i("span",
|
|
10590
|
+
C.beta ? (n(), i("span", Fr, "BETA")) : V("", !0)
|
|
10583
10591
|
], 512), [
|
|
10584
10592
|
[r4, r.value]
|
|
10585
10593
|
])
|
|
10586
|
-
], 10,
|
|
10594
|
+
], 10, jr))), 128))
|
|
10587
10595
|
]),
|
|
10588
10596
|
u[4] || (u[4] = n2('<span class="blobs" aria-hidden="true"><svg viewBox="0 0 200 180" width="200" height="200"><defs><linearGradient id="sbBlobA" x1="0" y1="1" x2="1" y2="0"><stop offset="0" stop-color="#89c540"></stop><stop offset="1" stop-color="#099dd9"></stop></linearGradient><linearGradient id="sbBlobB" x1="0" y1="1" x2="1" y2="0"><stop offset="0" stop-color="#f5bc18"></stop><stop offset="1" stop-color="#f58518"></stop></linearGradient></defs><circle cx="118" cy="90" r="74" fill="url(#sbBlobA)" opacity="0.5"></circle><circle cx="65" cy="50" r="34" fill="url(#sbBlobB)" opacity="0.5"></circle></svg></span>', 1))
|
|
10589
10597
|
], 34);
|
|
10590
10598
|
};
|
|
10591
10599
|
}
|
|
10592
|
-
},
|
|
10600
|
+
}, Wr = /* @__PURE__ */ O1(Ur, [["styles", [Br]]]), Kr = "button{font-family:inherit}:host{display:block}.tabs{color:var(--page-text-color, #1d2a3e)}.bar{display:flex;align-items:flex-end;position:relative;border-bottom:1px solid var(--border-color, #e3e8f2)}.tab{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;outline:0;padding:12px 0 8px;margin:0 20px -1px 0;border-bottom:4px solid transparent;font-family:inherit;font-size:.8rem;font-weight:400;line-height:1.5;text-align:start;color:var(--tabs-text-color, #516381);cursor:pointer;white-space:nowrap;display:inline-flex;align-items:center;gap:6px;transition:color .3s cubic-bezier(.645,.045,.355,1)}.tab:last-child{margin-right:0}.tab:hover:not(.disabled){color:var(--primary, #111c2c);border-bottom-color:var(--primary, #111c2c)}.tab.active{color:var(--primary, #111c2c);font-weight:500;border-bottom-color:var(--primary, #111c2c)}.tab.disabled{color:var(--neutral-light, #a5bad0);cursor:not-allowed}.tab .ic{display:inline-flex}.tab .lbl{display:inline-grid}.tab .lbl:after{content:attr(data-label);font-weight:500;height:0;visibility:hidden;overflow:hidden;pointer-events:none}.body{color:var(--page-text-color, #1d2a3e)}.v-no-border .bar{border-bottom-color:transparent}.v-sticky .bar{position:sticky;top:0;z-index:2;background:var(--page-background-color, #fff)}.v-grey .bar{background:var(--neutral-lightest, #f4f6fa)}", qr = {
|
|
10593
10601
|
class: "bar",
|
|
10594
10602
|
role: "tablist"
|
|
10595
|
-
},
|
|
10603
|
+
}, Jr = ["aria-selected", "disabled", "onClick"], Gr = ["data-label"], Yr = { class: "body" }, Xr = {
|
|
10596
10604
|
__name: "ObsTabs.ce",
|
|
10597
10605
|
props: {
|
|
10598
10606
|
tabs: { type: String, default: "" },
|
|
@@ -10656,7 +10664,7 @@ const vl = ':host{font-family:var(--font-family, "Poppins", sans-serif)}button{f
|
|
|
10656
10664
|
return n(), i("div", {
|
|
10657
10665
|
class: B(["tabs", ["v-" + (e.variant || "line")]])
|
|
10658
10666
|
}, [
|
|
10659
|
-
d("div",
|
|
10667
|
+
d("div", qr, [
|
|
10660
10668
|
(n(!0), i(A, null, s1(a.value, ($) => (n(), i("button", {
|
|
10661
10669
|
key: $.key,
|
|
10662
10670
|
class: B(["tab", { active: $.key === p.value, disabled: $.disabled }]),
|
|
@@ -10676,10 +10684,10 @@ const vl = ':host{font-family:var(--font-family, "Poppins", sans-serif)}button{f
|
|
|
10676
10684
|
d("span", {
|
|
10677
10685
|
class: "lbl",
|
|
10678
10686
|
"data-label": o($)
|
|
10679
|
-
}, L(o($)), 9,
|
|
10680
|
-
], 10,
|
|
10687
|
+
}, L(o($)), 9, Gr)
|
|
10688
|
+
], 10, Jr))), 128))
|
|
10681
10689
|
]),
|
|
10682
|
-
d("div",
|
|
10690
|
+
d("div", Yr, [
|
|
10683
10691
|
(n(!0), i(A, null, s1(a.value, ($) => Z2((n(), i("div", {
|
|
10684
10692
|
key: $.key,
|
|
10685
10693
|
class: "pane",
|
|
@@ -10693,26 +10701,26 @@ const vl = ':host{font-family:var(--font-family, "Poppins", sans-serif)}button{f
|
|
|
10693
10701
|
], 2);
|
|
10694
10702
|
};
|
|
10695
10703
|
}
|
|
10696
|
-
},
|
|
10704
|
+
}, Qr = /* @__PURE__ */ O1(Xr, [["styles", [Kr]]]), en = "button{font-family:inherit}:host{display:block}.wrap{display:block}.crumb ::slotted(*){display:block;margin-bottom:6px}.ph{display:flex;align-items:center;justify-content:space-between;padding:8px 0;border-bottom:1px solid var(--border-color, #e3e8f2);color:var(--page-text-color, #1d2a3e)}.ph.no-divider{border-bottom-color:transparent}.left{display:flex;align-items:flex-start;gap:10px;min-width:0}.titles{display:flex;flex-direction:column;min-width:0}.ttl-row{display:flex;align-items:center;gap:10px;min-width:0}.subtitle{margin-top:2px;font-size:.75rem;line-height:1.4;color:var(--neutral-theme-color, #6a7fa0);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.accent{flex:0 0 auto;width:3px;height:16px;border-radius:2px}.meta{display:flex;flex-wrap:wrap;align-items:center;row-gap:2px;margin-top:4px;font-size:.75rem;line-height:1.5;color:var(--page-text-color, #1d2a3e)}.meta-item{display:inline-flex;align-items:center}.meta-sep{margin:0 8px;color:var(--neutral-light, #6a7fa0)}.meta-ic{color:var(--neutral-theme-color, #6a7fa0);margin-right:4px;display:inline-flex}.meta-dot{margin-right:4px;display:inline-flex}.meta-label{color:var(--neutral-theme-color, #6a7fa0);margin-right:4px}.meta-value{color:var(--page-text-color, #1d2a3e)}.right{display:flex;align-items:center;gap:8px;flex:0 0 auto}.back{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;padding:0;cursor:pointer;height:24px;display:inline-flex;align-items:center;color:var(--neutral-light, #a5bad0)}.title{margin:0;font-size:16px;font-weight:500;line-height:1.5;color:var(--primary-alt, #1d2a3e);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.count{display:inline-flex;align-items:center;height:18px;padding:0 4px;border-radius:4px;font-size:.7rem;background:var(--timerange-background-color, #e3e8f2);color:var(--timerange-text-color, #7186a8)}", tn = { class: "wrap" }, sn = { class: "crumb" }, cn = { class: "left" }, ln = { class: "titles" }, on = { class: "ttl-row" }, rn = {
|
|
10697
10705
|
key: 1,
|
|
10698
10706
|
class: "title"
|
|
10699
|
-
},
|
|
10707
|
+
}, nn = {
|
|
10700
10708
|
key: 2,
|
|
10701
10709
|
class: "count"
|
|
10702
|
-
},
|
|
10710
|
+
}, an = {
|
|
10703
10711
|
key: 0,
|
|
10704
10712
|
class: "subtitle"
|
|
10705
|
-
},
|
|
10713
|
+
}, dn = {
|
|
10706
10714
|
key: 1,
|
|
10707
10715
|
class: "meta"
|
|
10708
|
-
},
|
|
10716
|
+
}, pn = {
|
|
10709
10717
|
key: 0,
|
|
10710
10718
|
class: "meta-sep",
|
|
10711
10719
|
"aria-hidden": "true"
|
|
10712
|
-
},
|
|
10720
|
+
}, un = { class: "meta-item" }, hn = {
|
|
10713
10721
|
key: 2,
|
|
10714
10722
|
class: "meta-label"
|
|
10715
|
-
},
|
|
10723
|
+
}, vn = { class: "meta-value" }, fn = { class: "right" }, Cn = {
|
|
10716
10724
|
__name: "ObsPageHeader.ce",
|
|
10717
10725
|
props: {
|
|
10718
10726
|
heading: { type: String, default: "" },
|
|
@@ -10747,14 +10755,14 @@ const vl = ':host{font-family:var(--font-family, "Poppins", sans-serif)}button{f
|
|
|
10747
10755
|
};
|
|
10748
10756
|
return (a, p) => {
|
|
10749
10757
|
const h = T1("obs-icon"), u = T1("obs-severity");
|
|
10750
|
-
return n(), i("div",
|
|
10751
|
-
d("div",
|
|
10758
|
+
return n(), i("div", tn, [
|
|
10759
|
+
d("div", sn, [
|
|
10752
10760
|
j1(a.$slots, "breadcrumb")
|
|
10753
10761
|
]),
|
|
10754
10762
|
d("div", {
|
|
10755
10763
|
class: B(["ph", { "no-divider": l(e.noDivider) }])
|
|
10756
10764
|
}, [
|
|
10757
|
-
d("div",
|
|
10765
|
+
d("div", cn, [
|
|
10758
10766
|
l(e.back) ? (n(), i("button", {
|
|
10759
10767
|
key: 0,
|
|
10760
10768
|
class: "back",
|
|
@@ -10769,23 +10777,23 @@ const vl = ':host{font-family:var(--font-family, "Poppins", sans-serif)}button{f
|
|
|
10769
10777
|
])) : V("", !0),
|
|
10770
10778
|
j1(a.$slots, "back"),
|
|
10771
10779
|
j1(a.$slots, "before"),
|
|
10772
|
-
d("div",
|
|
10773
|
-
d("div",
|
|
10780
|
+
d("div", ln, [
|
|
10781
|
+
d("div", on, [
|
|
10774
10782
|
o.value ? (n(), i("span", {
|
|
10775
10783
|
key: 0,
|
|
10776
10784
|
class: "accent",
|
|
10777
10785
|
style: Z1({ background: o.value }),
|
|
10778
10786
|
"aria-hidden": "true"
|
|
10779
10787
|
}, null, 4)) : V("", !0),
|
|
10780
|
-
e.heading ? (n(), i("h4",
|
|
10781
|
-
e.count !== null && e.count !== "" ? (n(), i("span",
|
|
10788
|
+
e.heading ? (n(), i("h4", rn, L(e.heading), 1)) : V("", !0),
|
|
10789
|
+
e.count !== null && e.count !== "" ? (n(), i("span", nn, L(e.count), 1)) : V("", !0),
|
|
10782
10790
|
j1(a.$slots, "title")
|
|
10783
10791
|
]),
|
|
10784
|
-
e.subtitle ? (n(), i("div",
|
|
10785
|
-
c.value.length ? (n(), i("div",
|
|
10792
|
+
e.subtitle ? (n(), i("div", an, L(e.subtitle), 1)) : V("", !0),
|
|
10793
|
+
c.value.length ? (n(), i("div", dn, [
|
|
10786
10794
|
(n(!0), i(A, null, s1(c.value, (v, C) => (n(), i(A, { key: C }, [
|
|
10787
|
-
C > 0 ? (n(), i("span",
|
|
10788
|
-
d("span",
|
|
10795
|
+
C > 0 ? (n(), i("span", pn, "|")) : V("", !0),
|
|
10796
|
+
d("span", un, [
|
|
10789
10797
|
v.icon ? (n(), _1(h, {
|
|
10790
10798
|
key: 0,
|
|
10791
10799
|
name: v.icon,
|
|
@@ -10799,32 +10807,32 @@ const vl = ':host{font-family:var(--font-family, "Poppins", sans-serif)}button{f
|
|
|
10799
10807
|
shape: "dot",
|
|
10800
10808
|
class: "meta-dot"
|
|
10801
10809
|
}, null, 8, ["severity"])) : V("", !0),
|
|
10802
|
-
v.label ? (n(), i("span",
|
|
10803
|
-
d("span",
|
|
10810
|
+
v.label ? (n(), i("span", hn, L(v.label) + ":", 1)) : V("", !0),
|
|
10811
|
+
d("span", vn, L(v.value), 1)
|
|
10804
10812
|
])
|
|
10805
10813
|
], 64))), 128))
|
|
10806
10814
|
])) : V("", !0)
|
|
10807
10815
|
])
|
|
10808
10816
|
]),
|
|
10809
|
-
d("div",
|
|
10817
|
+
d("div", fn, [
|
|
10810
10818
|
j1(a.$slots, "default")
|
|
10811
10819
|
])
|
|
10812
10820
|
], 2)
|
|
10813
10821
|
]);
|
|
10814
10822
|
};
|
|
10815
10823
|
}
|
|
10816
|
-
},
|
|
10824
|
+
}, gn = /* @__PURE__ */ O1(Cn, [["styles", [en]]]), bn = "button{font-family:inherit}:host{display:block}.app{display:flex;align-items:center;justify-content:space-between;height:50px;padding:0 16px;background:var(--page-background-color, #fff);border-bottom:1px solid var(--border-color, #e3e8f2);color:var(--page-text-color, #1d2a3e)}.brand{display:inline-flex;align-items:center;font-size:18px;font-weight:700;letter-spacing:.5px;color:var(--primary-alt, #1d2a3e)}.brand ::slotted(img){height:40px;display:block}.right{display:flex;align-items:center;gap:4px}.circ{position:relative;width:36px;height:36px;border:0;border-radius:50%;padding:0;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;background:none;color:var(--neutral-light, #6a7fa0);transition:background .15s,color .15s}.circ:hover{background:var(--neutral-lighter, #e3e8f2)}.circ.active{color:var(--primary, #111c2c)}.badge{position:absolute;top:6px;right:6px;width:14px;height:14px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--secondary-red, #ec5b5b);color:var(--white-regular, #fff);font-size:9px;line-height:1}.build{display:inline-flex;align-items:center;height:22px;margin:0 8px;padding:0 8px;border-radius:4px;font-size:11px;background:var(--timerange-background-color, #e3e8f2);color:var(--primary, #111c2c)}.avatar{width:32px;height:32px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:var(--primary, #111c2c);color:var(--white-regular, #fff);font-size:12px;font-weight:600;cursor:pointer}", mn = { class: "app" }, xn = { class: "brand" }, yn = { class: "right" }, Zn = ["aria-label", "title", "onClick"], wn = {
|
|
10817
10825
|
key: 0,
|
|
10818
10826
|
class: "badge"
|
|
10819
|
-
},
|
|
10827
|
+
}, Mn = {
|
|
10820
10828
|
key: 0,
|
|
10821
10829
|
class: "build"
|
|
10822
|
-
},
|
|
10830
|
+
}, kn = {
|
|
10823
10831
|
key: 0,
|
|
10824
10832
|
class: "avatar",
|
|
10825
10833
|
role: "button",
|
|
10826
10834
|
tabindex: "0"
|
|
10827
|
-
},
|
|
10835
|
+
}, Hn = {
|
|
10828
10836
|
__name: "ObsAppHeader.ce",
|
|
10829
10837
|
props: {
|
|
10830
10838
|
brand: { type: String, default: "" },
|
|
@@ -10854,13 +10862,13 @@ const vl = ':host{font-family:var(--font-family, "Poppins", sans-serif)}button{f
|
|
|
10854
10862
|
});
|
|
10855
10863
|
return (r, a) => {
|
|
10856
10864
|
const p = T1("obs-icon");
|
|
10857
|
-
return n(), i("header",
|
|
10858
|
-
d("div",
|
|
10865
|
+
return n(), i("header", mn, [
|
|
10866
|
+
d("div", xn, [
|
|
10859
10867
|
j1(r.$slots, "brand", {}, () => [
|
|
10860
10868
|
$1(L(e.brand), 1)
|
|
10861
10869
|
])
|
|
10862
10870
|
]),
|
|
10863
|
-
d("div",
|
|
10871
|
+
d("div", yn, [
|
|
10864
10872
|
(n(!0), i(A, null, s1(o.value, (h, u) => (n(), i("button", {
|
|
10865
10873
|
key: u,
|
|
10866
10874
|
class: B(["circ", { active: h.active }]),
|
|
@@ -10873,24 +10881,24 @@ const vl = ':host{font-family:var(--font-family, "Poppins", sans-serif)}button{f
|
|
|
10873
10881
|
name: h.icon,
|
|
10874
10882
|
size: "18"
|
|
10875
10883
|
}, null, 8, ["name"]),
|
|
10876
|
-
h.badge !== null ? (n(), i("span",
|
|
10877
|
-
], 10,
|
|
10884
|
+
h.badge !== null ? (n(), i("span", wn, L(h.badge), 1)) : V("", !0)
|
|
10885
|
+
], 10, Zn))), 128)),
|
|
10878
10886
|
j1(r.$slots, "default"),
|
|
10879
|
-
e.build ? (n(), i("span",
|
|
10887
|
+
e.build ? (n(), i("span", Mn, "BUILD : " + L(e.build), 1)) : V("", !0),
|
|
10880
10888
|
j1(r.$slots, "user", {}, () => [
|
|
10881
|
-
e.user ? (n(), i("span",
|
|
10889
|
+
e.user ? (n(), i("span", kn, L(e.user), 1)) : V("", !0)
|
|
10882
10890
|
])
|
|
10883
10891
|
])
|
|
10884
10892
|
]);
|
|
10885
10893
|
};
|
|
10886
10894
|
}
|
|
10887
|
-
},
|
|
10895
|
+
}, Vn = /* @__PURE__ */ O1(Hn, [["styles", [bn]]]), Ln = ":host{display:block}.tb{display:flex;align-items:center;color:var(--page-text-color, #1d2a3e);font-size:var(--text-sm, .8rem)}.tb.v-grid,.tb.v-widget{justify-content:space-between}.tb-lead{display:flex;align-items:center;gap:8px;min-width:0}.tb-main{display:flex;align-items:center;gap:8px;flex:0 0 auto}.tb.v-bulk{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid var(--border-color, #e3e8f2);border-radius:8px;box-shadow:var(--tooltip-box-shadow, 0 2px 8px rgba(0,0,0,.15));background:var(--page-background-color, #fff)}.tb-sel{display:inline-flex;align-items:center;gap:6px;margin-right:16px}.tb-chk{display:inline-flex}.tb-count{font-size:13px;font-weight:500;white-space:nowrap;color:var(--neutral-light, #6a7fa0)}.tb.v-widget{padding:0 8px;border:1px solid var(--border-color, #e3e8f2);border-bottom:none;border-radius:6px 6px 0 0;background:var(--common-widget-bg, #fff)}.tb-title{font-size:14px;font-weight:500;padding:8px 0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}", _n = ["role"], Sn = {
|
|
10888
10896
|
key: 0,
|
|
10889
10897
|
class: "tb-sel"
|
|
10890
|
-
},
|
|
10898
|
+
}, $n = { class: "tb-count" }, An = { class: "tb-lead" }, zn = {
|
|
10891
10899
|
key: 0,
|
|
10892
10900
|
class: "tb-title"
|
|
10893
|
-
},
|
|
10901
|
+
}, Tn = { class: "tb-main" }, On = {
|
|
10894
10902
|
__name: "ObsToolbar.ce",
|
|
10895
10903
|
props: {
|
|
10896
10904
|
variant: { type: String, default: "" },
|
|
@@ -10912,28 +10920,28 @@ const vl = ':host{font-family:var(--font-family, "Poppins", sans-serif)}button{f
|
|
|
10912
10920
|
role: e.variant === "bulk" ? "toolbar" : null
|
|
10913
10921
|
}, [
|
|
10914
10922
|
e.variant === "bulk" ? (n(), i(A, { key: 0 }, [
|
|
10915
|
-
e.count !== null && e.count !== "" ? (n(), i("span",
|
|
10923
|
+
e.count !== null && e.count !== "" ? (n(), i("span", Sn, [
|
|
10916
10924
|
q(p, {
|
|
10917
10925
|
checked: "",
|
|
10918
10926
|
class: "tb-chk",
|
|
10919
10927
|
onChange: o
|
|
10920
10928
|
}),
|
|
10921
|
-
d("span",
|
|
10929
|
+
d("span", $n, L(c.value), 1)
|
|
10922
10930
|
])) : V("", !0),
|
|
10923
10931
|
j1(r.$slots, "default")
|
|
10924
10932
|
], 64)) : (n(), i(A, { key: 1 }, [
|
|
10925
|
-
d("div",
|
|
10926
|
-
e.variant === "widget" && e.title ? (n(), i("span",
|
|
10933
|
+
d("div", An, [
|
|
10934
|
+
e.variant === "widget" && e.title ? (n(), i("span", zn, L(e.title), 1)) : V("", !0),
|
|
10927
10935
|
j1(r.$slots, "start")
|
|
10928
10936
|
]),
|
|
10929
|
-
d("div",
|
|
10937
|
+
d("div", Tn, [
|
|
10930
10938
|
j1(r.$slots, "default")
|
|
10931
10939
|
])
|
|
10932
10940
|
], 64))
|
|
10933
|
-
], 10,
|
|
10941
|
+
], 10, _n);
|
|
10934
10942
|
};
|
|
10935
10943
|
}
|
|
10936
|
-
},
|
|
10944
|
+
}, Pn = /* @__PURE__ */ O1(On, [["styles", [Ln]]]), En = {
|
|
10937
10945
|
"obs-button": S0,
|
|
10938
10946
|
"obs-tag": P0,
|
|
10939
10947
|
"obs-checkbox": N0,
|
|
@@ -10966,18 +10974,18 @@ const vl = ':host{font-family:var(--font-family, "Poppins", sans-serif)}button{f
|
|
|
10966
10974
|
"obs-key-value": gr,
|
|
10967
10975
|
"obs-divider": wr,
|
|
10968
10976
|
"obs-breadcrumbs": Sr,
|
|
10969
|
-
"obs-side-menu":
|
|
10970
|
-
"obs-sidebar":
|
|
10971
|
-
"obs-tabs":
|
|
10972
|
-
"obs-page-header":
|
|
10973
|
-
"obs-app-header":
|
|
10974
|
-
"obs-toolbar":
|
|
10977
|
+
"obs-side-menu": Dr,
|
|
10978
|
+
"obs-sidebar": Wr,
|
|
10979
|
+
"obs-tabs": Qr,
|
|
10980
|
+
"obs-page-header": gn,
|
|
10981
|
+
"obs-app-header": Vn,
|
|
10982
|
+
"obs-toolbar": Pn
|
|
10975
10983
|
};
|
|
10976
|
-
function
|
|
10977
|
-
for (const [e, t] of Object.entries(
|
|
10984
|
+
function Dn() {
|
|
10985
|
+
for (const [e, t] of Object.entries(En))
|
|
10978
10986
|
customElements.get(e) || customElements.define(e, /* @__PURE__ */ C0(t));
|
|
10979
10987
|
}
|
|
10980
|
-
|
|
10988
|
+
Dn();
|
|
10981
10989
|
export {
|
|
10982
|
-
|
|
10990
|
+
Dn as register
|
|
10983
10991
|
};
|