@zerops/web-components 0.2.2 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -0
- package/chunks/{recipe-fetch-D2IpKMVr.js → app-CrO8M3t-.js} +3822 -4988
- package/chunks/{browser-CUhuh3a-.js → browser-CZljKQ_O.js} +1 -1
- package/chunks/recipe-fetch-9bf8nynf.js +1186 -0
- package/managed-service-diagram.d.ts +12 -0
- package/managed-service-diagram.js +3998 -0
- package/network-diagram.js +509 -484
- package/package.json +5 -1
- package/recipe-card.js +95 -94
- package/recipes/zerops-showcase.json +1 -1
package/recipe-card.js
CHANGED
|
@@ -5,7 +5,8 @@ var _r = (i) => {
|
|
|
5
5
|
var ia = (i, t, r) => t in i ? na(i, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : i[t] = r;
|
|
6
6
|
var s = (i, t, r) => ia(i, typeof t != "symbol" ? t + "" : t, r), $n = (i, t, r) => t.has(i) || _r("Cannot " + r);
|
|
7
7
|
var Tt = (i, t, r) => ($n(i, t, "read from private field"), r ? r.call(i) : t.get(i)), Dt = (i, t, r) => t.has(i) ? _r("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(i) : t.set(i, r), Qt = (i, t, r, e) => ($n(i, t, "write to private field"), e ? e.call(i, r) : t.set(i, r), r), Zn = (i, t, r) => ($n(i, t, "access private method"), r);
|
|
8
|
-
import { o as qe, c as $t, _ as Ge, h as ra, S as ct, O as qt, a as ri, b as oi, A as Ro, d as ko, i as br, e as Eo, t as oa, f as sa, E as Rt, g as aa, j as T, ɵ as be, k as S, l as u, D as q, P as ca, I as z, m as Pt, n as j, R as Ye, p as N, V as Gt, q as Se, r as I, C as la, s as da, u as Xe, v as jt, w as Oo, x as ua, y as W, z as x, B as gt, F as Ao, G as ot, H as kt, J as mt, K as it, L as It, M as Ne, N as Q, Q as ha, T as To, U as vt, W as tt, X as pa, Y as Zt, Z as Tn, $ as ma, a0 as Yt, a1 as Po, a2 as
|
|
8
|
+
import { o as qe, c as $t, _ as Ge, h as ra, S as ct, O as qt, a as ri, b as oi, A as Ro, d as ko, i as br, e as Eo, t as oa, f as sa, E as Rt, g as aa, j as T, ɵ as be, k as S, l as u, D as q, P as ca, I as z, m as Pt, n as j, R as Ye, p as N, V as Gt, q as Se, r as I, C as la, s as da, u as Xe, v as jt, w as Oo, x as ua, y as W, z as x, B as gt, F as Ao, G as ot, H as kt, J as mt, K as it, L as It, M as Ne, N as Q, Q as ha, T as To, U as vt, W as tt, X as pa, Y as Zt, Z as Tn, $ as ma, a0 as Yt, a1 as Po, a2 as K, a3 as fa, a4 as ga, a5 as _a, a6 as rt, a7 as v, a8 as Bi, a9 as ba, aa as va, ab as ya, ac as wa, ad as Ca, ae as xa, af as B, ag as Z, ah as Ke, ai as Sa, aj as Ra, ak as ka, al as D, am as Re, an as Ea, ao as Oa, ap as Y, aq as P, ar as ji, as as Ui, at as f, au as R, av as _, aw as p, ax as k, ay as b, az as g, aA as L, aB as ut, aC as X, aD as Vi, aE as H, aF as $, aG as U, aH as Io, aI as Xt, aJ as Ot, aK as At, aL as ht, aM as ve, aN as Lo, aO as yt, aP as Qe, aQ as et, aR as dt, aS as Aa, aT as bt, aU as Ta, aV as st, aW as E, aX as O, aY as wt, aZ as Ct, a_ as Je, a$ as Pa, b0 as Do, b1 as Ia, b2 as La, b3 as Pn, b4 as Da, b5 as Hi, b6 as za, b7 as Ma, b8 as si, b9 as zo, ba as Fa, bb as Mo, bc as Fo, bd as No, be as Bo, bf as Na, bg as Ba, bh as tn, bi as In, bj as ja, bk as $i, bl as Zi, bm as Wi, bn as Ua, bo as Va, bp as Ha, bq as $a, br as Za } from "./chunks/app-CrO8M3t-.js";
|
|
9
|
+
import { c as Wa, a as qa, s as qi, P as nt, _ as Et, b as De, d as Ga, i as Ya, e as Xa, f as Ka, n as jo, g as Ut, h as Qa, B as Ja, j as ke, k as tc, l as Ln, M as ec, m as vr, R as nc, o as yr, p as Uo, q as ic, Z as rc, r as Vo, t as oc, u as sc, v as ac, w as Ho, x as cc, y as $o, z as lc, A as dc } from "./chunks/recipe-fetch-9bf8nynf.js";
|
|
9
10
|
function uc() {
|
|
10
11
|
return qe(function(i, t) {
|
|
11
12
|
var r = null;
|
|
@@ -652,7 +653,7 @@ function Xo(i) {
|
|
|
652
653
|
return i.length > 0 ? i[i.length - 1] : null;
|
|
653
654
|
}
|
|
654
655
|
function Kt(i) {
|
|
655
|
-
return Dn(i) ? i :
|
|
656
|
+
return Dn(i) ? i : _a(i) ? It(Promise.resolve(i)) : x(i);
|
|
656
657
|
}
|
|
657
658
|
function Ko(i) {
|
|
658
659
|
return Dn(i) ? wn(i) : Promise.resolve(i);
|
|
@@ -1393,7 +1394,7 @@ function fl(i) {
|
|
|
1393
1394
|
return !(i instanceof Ji) && !(i instanceof xn);
|
|
1394
1395
|
}
|
|
1395
1396
|
function gl(i, t) {
|
|
1396
|
-
return i.providers && !i._injector && (i._injector =
|
|
1397
|
+
return i.providers && !i._injector && (i._injector = va(i.providers, t, `Route: ${i.path}`)), i._injector ?? t;
|
|
1397
1398
|
}
|
|
1398
1399
|
function lt(i) {
|
|
1399
1400
|
return i.outlet || y;
|
|
@@ -1717,7 +1718,7 @@ let wl = /* @__PURE__ */ (() => {
|
|
|
1717
1718
|
s(this, "routerOutletData", v());
|
|
1718
1719
|
s(this, "parentContexts", u(Fn));
|
|
1719
1720
|
s(this, "location", u(Gt));
|
|
1720
|
-
s(this, "changeDetector", u(
|
|
1721
|
+
s(this, "changeDetector", u(Bi));
|
|
1721
1722
|
s(this, "inputBinder", u(er, {
|
|
1722
1723
|
optional: !0
|
|
1723
1724
|
}));
|
|
@@ -2025,7 +2026,7 @@ function Pl(i) {
|
|
|
2025
2026
|
}
|
|
2026
2027
|
function Oe(i, t) {
|
|
2027
2028
|
const r = /* @__PURE__ */ Symbol(), e = t.get(i, r);
|
|
2028
|
-
return e === r ? typeof i == "function" && !
|
|
2029
|
+
return e === r ? typeof i == "function" && !ga(i) ? i : t.get(i) : e;
|
|
2029
2030
|
}
|
|
2030
2031
|
function Ie(i, t, r, e, n = {
|
|
2031
2032
|
canDeactivateChecks: [],
|
|
@@ -2092,11 +2093,11 @@ function Bl(i) {
|
|
|
2092
2093
|
return i && rn(i.canMatch);
|
|
2093
2094
|
}
|
|
2094
2095
|
function ys(i) {
|
|
2095
|
-
return i instanceof
|
|
2096
|
+
return i instanceof ba || i?.name === "EmptyError";
|
|
2096
2097
|
}
|
|
2097
2098
|
const an = /* @__PURE__ */ Symbol("INITIAL_VALUE");
|
|
2098
2099
|
function Ce() {
|
|
2099
|
-
return mt((i) =>
|
|
2100
|
+
return mt((i) => qa(i.map((t) => t.pipe(Ne(1), qi(an)))).pipe(W((t) => {
|
|
2100
2101
|
for (const r of t)
|
|
2101
2102
|
if (r !== !0) {
|
|
2102
2103
|
if (r === an)
|
|
@@ -2144,7 +2145,7 @@ function Vl(i, t, r, e) {
|
|
|
2144
2145
|
return It(i).pipe(Zt((n) => Gl(n.component, n.route, r, t, e)), Yt((n) => n !== !0, !0));
|
|
2145
2146
|
}
|
|
2146
2147
|
function Hl(i, t, r, e) {
|
|
2147
|
-
return It(t).pipe(Po((n) =>
|
|
2148
|
+
return It(t).pipe(Po((n) => Wa(Zl(n.route.parent, e), $l(n.route, e), ql(i, n.path, r), Wl(i, n.route, r))), Yt((n) => n !== !0, !0));
|
|
2148
2149
|
}
|
|
2149
2150
|
function $l(i, t) {
|
|
2150
2151
|
return i !== null && t && t(new pl(i)), x(!0);
|
|
@@ -2191,7 +2192,7 @@ function Yl(i, t, r, e, n) {
|
|
|
2191
2192
|
return x(a).pipe(Ce(), xs(e));
|
|
2192
2193
|
}
|
|
2193
2194
|
function xs(i) {
|
|
2194
|
-
return
|
|
2195
|
+
return ya(it((t) => {
|
|
2195
2196
|
if (typeof t != "boolean")
|
|
2196
2197
|
throw Rn(i, t);
|
|
2197
2198
|
}), W((t) => t === !0));
|
|
@@ -2659,7 +2660,7 @@ function bd(i, t, r, e) {
|
|
|
2659
2660
|
if (c instanceof ir)
|
|
2660
2661
|
throw Rn(new Mn(), c);
|
|
2661
2662
|
o[a] = c;
|
|
2662
|
-
}))), Wo(1), W(() => o), To((a) => ys(a) ? Rt :
|
|
2663
|
+
}))), Wo(1), W(() => o), To((a) => ys(a) ? Rt : wa(a)));
|
|
2663
2664
|
}
|
|
2664
2665
|
function vd(i, t, r, e) {
|
|
2665
2666
|
const n = Ee(t) ?? e, o = Oe(i, n), a = o.resolve ? o.resolve(t, r) : vt(n, () => o(t, r));
|
|
@@ -2705,7 +2706,7 @@ let As = /* @__PURE__ */ (() => {
|
|
|
2705
2706
|
}
|
|
2706
2707
|
};
|
|
2707
2708
|
s(t, "ɵfac", function(o) {
|
|
2708
|
-
return new (o || t)(be(
|
|
2709
|
+
return new (o || t)(be(fa));
|
|
2709
2710
|
}), s(t, "ɵprov", /* @__PURE__ */ S({
|
|
2710
2711
|
token: t,
|
|
2711
2712
|
factory: t.ɵfac,
|
|
@@ -3526,7 +3527,7 @@ let Bd = /* @__PURE__ */ (() => {
|
|
|
3526
3527
|
s(this, "skipLocationChange", !1);
|
|
3527
3528
|
s(this, "replaceUrl", !1);
|
|
3528
3529
|
s(this, "routerLinkInput", null);
|
|
3529
|
-
this.router = e, this.route = n, this.tabIndexAttribute = o, this.renderer = a, this.el = c, this.locationStrategy = l, this.reactiveHref.set(u(new
|
|
3530
|
+
this.router = e, this.route = n, this.tabIndexAttribute = o, this.renderer = a, this.el = c, this.locationStrategy = l, this.reactiveHref.set(u(new Ca("href"), {
|
|
3530
3531
|
optional: !0
|
|
3531
3532
|
}));
|
|
3532
3533
|
const d = c.nativeElement.tagName?.toLowerCase();
|
|
@@ -3588,7 +3589,7 @@ let Bd = /* @__PURE__ */ (() => {
|
|
|
3588
3589
|
}
|
|
3589
3590
|
};
|
|
3590
3591
|
s(t, "ɵfac", function(n) {
|
|
3591
|
-
return new (n || t)(Pt(Fd), Pt(Nn),
|
|
3592
|
+
return new (n || t)(Pt(Fd), Pt(Nn), xa("tabindex"), Pt(Ye), Pt(j), Pt(zn));
|
|
3592
3593
|
}), s(t, "ɵdir", /* @__PURE__ */ N({
|
|
3593
3594
|
type: t,
|
|
3594
3595
|
selectors: [["", "routerLink", ""]],
|
|
@@ -3596,7 +3597,7 @@ let Bd = /* @__PURE__ */ (() => {
|
|
|
3596
3597
|
hostBindings: function(n, o) {
|
|
3597
3598
|
n & 1 && Z("click", function(c) {
|
|
3598
3599
|
return o.onClick(c.button, c.ctrlKey, c.shiftKey, c.altKey, c.metaKey);
|
|
3599
|
-
}), n & 2 && Ke("href", o.reactiveHref(),
|
|
3600
|
+
}), n & 2 && Ke("href", o.reactiveHref(), Sa)("target", o.target);
|
|
3600
3601
|
},
|
|
3601
3602
|
inputs: {
|
|
3602
3603
|
target: "target",
|
|
@@ -3636,15 +3637,15 @@ ee.ɵfac = function(r) {
|
|
|
3636
3637
|
return e.onHostClick(o);
|
|
3637
3638
|
});
|
|
3638
3639
|
}, inputs: { data: [1, "data"], lineNumbers: [1, "lineNumbers"] }, features: [Re([
|
|
3639
|
-
{ provide:
|
|
3640
|
+
{ provide: Oa, useValue: Ea.NONE }
|
|
3640
3641
|
])], decls: 1, vars: 3, consts: [[1, "c-markdown", 3, "data", "disableSanitizer", "lineNumbers"]], template: function(r, e) {
|
|
3641
3642
|
r & 1 && K(0, "markdown", 0), r & 2 && D("data", e.data())("disableSanitizer", !0)("lineNumbers", !1);
|
|
3642
|
-
}, dependencies: [
|
|
3643
|
+
}, dependencies: [Ra, ka], encapsulation: 2, changeDetection: 0 });
|
|
3643
3644
|
let bi = ee;
|
|
3644
3645
|
function jd(i, t) {
|
|
3645
3646
|
if (i & 1 && K(0, "img", 2), i & 2) {
|
|
3646
3647
|
const r = b();
|
|
3647
|
-
D("src", r.iconUrl(),
|
|
3648
|
+
D("src", r.iconUrl(), Vi)("alt", r.name());
|
|
3648
3649
|
}
|
|
3649
3650
|
}
|
|
3650
3651
|
function Ud(i, t) {
|
|
@@ -3664,7 +3665,7 @@ function Vd(i, t) {
|
|
|
3664
3665
|
}
|
|
3665
3666
|
if (i & 2) {
|
|
3666
3667
|
const r = b();
|
|
3667
|
-
D("href", r.detailHref(),
|
|
3668
|
+
D("href", r.detailHref(), Vi), p(), X(" ", r.name(), " ");
|
|
3668
3669
|
}
|
|
3669
3670
|
}
|
|
3670
3671
|
function Hd(i, t) {
|
|
@@ -3688,7 +3689,7 @@ ne.ɵfac = function(r) {
|
|
|
3688
3689
|
return new (r || ne)();
|
|
3689
3690
|
}, ne.ɵcmp = /* @__PURE__ */ I({ type: ne, selectors: [["zui-alt-recipe-header"]], inputs: { name: [1, "name"], icon: [1, "icon"], iconImage: [1, "iconImage"], iconHeight: [1, "iconHeight"], desc: [1, "desc"], disableTagLinks: [1, "disableTagLinks"], detailHref: [1, "detailHref"] }, outputs: { linkClicked: "linkClicked" }, decls: 7, vars: 3, consts: [[1, "flex", "flex-col", "gap-3", "w-full"], [1, "flex", "items-center", "gap-2.5"], [1, "block", "shrink-0", "w-8", "h-8", "object-contain", 3, "src", "alt"], [1, "shrink-0", "mat-icon-32", 3, "svgIcon"], ["target", "_blank", "rel", "noopener", 1, "no-underline", "text-inherit", "transition-opacity", "hover:opacity-80", "c-alt-card-title", 3, "href"], [1, "c-alt-card-title"], [1, "block", "w-full", "c-alt-card-desc", 3, "data"], ["target", "_blank", "rel", "noopener", 1, "no-underline", "text-inherit", "transition-opacity", "hover:opacity-80", "c-alt-card-title", 3, "click", "href"]], template: function(r, e) {
|
|
3690
3691
|
r & 1 && (f(0, "div", 0)(1, "div", 1), R(2, jd, 1, 2, "img", 2)(3, Ud, 1, 1, "mat-icon", 3), R(4, Vd, 2, 2, "a", 4)(5, Hd, 2, 1, "span", 5), _(), R(6, $d, 1, 1, "zui-markdown", 6), _()), r & 2 && (p(2), k(e.iconUrl() ? 2 : e.icon() ? 3 : -1), p(2), k(e.detailHref() ? 4 : 5), p(2), k(e.desc() ? 6 : -1));
|
|
3691
|
-
}, dependencies: [
|
|
3692
|
+
}, dependencies: [ji, Ui, bi], styles: [`[_nghost-%COMP%] {
|
|
3692
3693
|
display: block;
|
|
3693
3694
|
width: 100%;
|
|
3694
3695
|
}`], changeDetection: 0 });
|
|
@@ -3714,10 +3715,10 @@ let Qd = /* @__PURE__ */ (() => {
|
|
|
3714
3715
|
this._options?.ignoreKeys?.some((n) => n === e.keyCode) || (this._modality.next("keyboard"), this._mostRecentTarget = Et(e));
|
|
3715
3716
|
});
|
|
3716
3717
|
s(this, "_onMousedown", (e) => {
|
|
3717
|
-
Date.now() - this._lastTouchMs < zs || (this._modality.next(
|
|
3718
|
+
Date.now() - this._lastTouchMs < zs || (this._modality.next(Ya(e) ? "keyboard" : "mouse"), this._mostRecentTarget = Et(e));
|
|
3718
3719
|
});
|
|
3719
3720
|
s(this, "_onTouchstart", (e) => {
|
|
3720
|
-
if (
|
|
3721
|
+
if (Xa(e)) {
|
|
3721
3722
|
this._modality.next("keyboard");
|
|
3722
3723
|
return;
|
|
3723
3724
|
}
|
|
@@ -3729,7 +3730,7 @@ let Qd = /* @__PURE__ */ (() => {
|
|
|
3729
3730
|
if (this._options = {
|
|
3730
3731
|
...Kd,
|
|
3731
3732
|
...o
|
|
3732
|
-
}, this.modalityDetected = this._modality.pipe(
|
|
3733
|
+
}, this.modalityDetected = this._modality.pipe(Ka(1)), this.modalityChanged = this.modalityDetected.pipe(Io()), this._platform.isBrowser) {
|
|
3733
3734
|
const a = u(Xt).createRenderer(null, null);
|
|
3734
3735
|
this._listenerCleanups = e.runOutsideAngular(() => [a.listen(n, "keydown", this._onKeydown, Qn), a.listen(n, "mousedown", this._onMousedown, Qn), a.listen(n, "touchstart", this._onTouchstart, Qn)]);
|
|
3735
3736
|
}
|
|
@@ -3754,7 +3755,7 @@ let Qd = /* @__PURE__ */ (() => {
|
|
|
3754
3755
|
var yn = /* @__PURE__ */ (function(i) {
|
|
3755
3756
|
return i[i.IMMEDIATE = 0] = "IMMEDIATE", i[i.EVENTUAL = 1] = "EVENTUAL", i;
|
|
3756
3757
|
})(yn || {});
|
|
3757
|
-
const Jd = /* @__PURE__ */ new z("cdk-focus-monitor-default-options"), cn = /* @__PURE__ */
|
|
3758
|
+
const Jd = /* @__PURE__ */ new z("cdk-focus-monitor-default-options"), cn = /* @__PURE__ */ jo({
|
|
3758
3759
|
passive: !0,
|
|
3759
3760
|
capture: !0
|
|
3760
3761
|
});
|
|
@@ -3793,7 +3794,7 @@ let or = /* @__PURE__ */ (() => {
|
|
|
3793
3794
|
const o = De(e);
|
|
3794
3795
|
if (!this._platform.isBrowser || o.nodeType !== 1)
|
|
3795
3796
|
return x();
|
|
3796
|
-
const a =
|
|
3797
|
+
const a = Ga(o) || this._document, c = this._elementInfo.get(o);
|
|
3797
3798
|
if (c)
|
|
3798
3799
|
return n && (c.checkChildren = !0), c.subject;
|
|
3799
3800
|
const l = {
|
|
@@ -4059,7 +4060,7 @@ let Ms = /* @__PURE__ */ (() => {
|
|
|
4059
4060
|
_subscribe() {
|
|
4060
4061
|
this._unsubscribe();
|
|
4061
4062
|
const e = this._contentObserver.observe(this._elementRef);
|
|
4062
|
-
this._currentSubscription = (this.debounce ? e.pipe(
|
|
4063
|
+
this._currentSubscription = (this.debounce ? e.pipe(Qa(this.debounce)) : e).subscribe(this.event);
|
|
4063
4064
|
}
|
|
4064
4065
|
_unsubscribe() {
|
|
4065
4066
|
this._currentSubscription?.unsubscribe();
|
|
@@ -4338,7 +4339,7 @@ let pu = /* @__PURE__ */ (() => {
|
|
|
4338
4339
|
n && !n.firstChange && this.autoCapture && this.focusTrap?.hasAttached() && this._captureFocus();
|
|
4339
4340
|
}
|
|
4340
4341
|
_captureFocus() {
|
|
4341
|
-
this._previouslyFocusedElement =
|
|
4342
|
+
this._previouslyFocusedElement = tc(), this.focusTrap?.focusInitialElementWhenReady();
|
|
4342
4343
|
}
|
|
4343
4344
|
};
|
|
4344
4345
|
s(t, "ɵfac", function(n) {
|
|
@@ -4464,7 +4465,7 @@ let bu = /* @__PURE__ */ (() => {
|
|
|
4464
4465
|
s(this, "_hasCheckedHighContrastMode");
|
|
4465
4466
|
s(this, "_document", u(q));
|
|
4466
4467
|
s(this, "_breakpointSubscription");
|
|
4467
|
-
this._breakpointSubscription = u(
|
|
4468
|
+
this._breakpointSubscription = u(Ja).observe("(forced-colors: active)").subscribe(() => {
|
|
4468
4469
|
this._hasCheckedHighContrastMode && (this._hasCheckedHighContrastMode = !1, this._applyBodyHighContrastModeCssClasses());
|
|
4469
4470
|
});
|
|
4470
4471
|
}
|
|
@@ -4526,7 +4527,7 @@ let bu = /* @__PURE__ */ (() => {
|
|
|
4526
4527
|
})();
|
|
4527
4528
|
const ti = {}, St = class St {
|
|
4528
4529
|
constructor() {
|
|
4529
|
-
s(this, "_appId", /* @__PURE__ */ u(
|
|
4530
|
+
s(this, "_appId", /* @__PURE__ */ u(Lo));
|
|
4530
4531
|
}
|
|
4531
4532
|
getId(t, r = !1) {
|
|
4532
4533
|
return this._appId !== "ng" && (t += this._appId), ti.hasOwnProperty(t) || (ti[t] = 0), `${t}${r ? St._infix + "-" : ""}${ti[t]++}`;
|
|
@@ -4566,7 +4567,7 @@ let wi = 0, wu = /* @__PURE__ */ (() => {
|
|
|
4566
4567
|
s(this, "_messageRegistry", /* @__PURE__ */ new Map());
|
|
4567
4568
|
s(this, "_messagesContainer", null);
|
|
4568
4569
|
s(this, "_id", `${wi++}`);
|
|
4569
|
-
u(ke).load(Xi), this._id = u(
|
|
4570
|
+
u(ke).load(Xi), this._id = u(Lo) + "-" + wi++;
|
|
4570
4571
|
}
|
|
4571
4572
|
describe(e, n, o) {
|
|
4572
4573
|
if (!this._canBeDescribed(e, n))
|
|
@@ -4700,8 +4701,8 @@ let Su = /* @__PURE__ */ (() => {
|
|
|
4700
4701
|
const t = class t {
|
|
4701
4702
|
constructor() {
|
|
4702
4703
|
s(this, "_document", u(q));
|
|
4703
|
-
s(this, "_animationsDisabled",
|
|
4704
|
-
s(this, "_globalRippleOptions", u(
|
|
4704
|
+
s(this, "_animationsDisabled", Ln());
|
|
4705
|
+
s(this, "_globalRippleOptions", u(ec, {
|
|
4705
4706
|
optional: !0
|
|
4706
4707
|
}));
|
|
4707
4708
|
s(this, "_platform", u(nt));
|
|
@@ -4748,7 +4749,7 @@ let Su = /* @__PURE__ */ (() => {
|
|
|
4748
4749
|
exitDuration: c
|
|
4749
4750
|
}
|
|
4750
4751
|
}
|
|
4751
|
-
}, d = new
|
|
4752
|
+
}, d = new nc(l, this._ngZone, n, this._platform, this._injector), h = !l.rippleDisabled;
|
|
4752
4753
|
h && d.setupTriggerEvents(e), this._hosts.set(e, {
|
|
4753
4754
|
target: l,
|
|
4754
4755
|
renderer: d,
|
|
@@ -4791,14 +4792,14 @@ let Su = /* @__PURE__ */ (() => {
|
|
|
4791
4792
|
})();
|
|
4792
4793
|
const ku = ["*"], Eu = /* @__PURE__ */ new z("MAT_BUTTON_CONFIG");
|
|
4793
4794
|
function Xr(i) {
|
|
4794
|
-
return i == null ? void 0 :
|
|
4795
|
+
return i == null ? void 0 : Ta(i);
|
|
4795
4796
|
}
|
|
4796
4797
|
let Un = /* @__PURE__ */ (() => {
|
|
4797
4798
|
const t = class t {
|
|
4798
4799
|
constructor() {
|
|
4799
4800
|
s(this, "_elementRef", u(j));
|
|
4800
4801
|
s(this, "_ngZone", u(U));
|
|
4801
|
-
s(this, "_animationsDisabled",
|
|
4802
|
+
s(this, "_animationsDisabled", Ln());
|
|
4802
4803
|
s(this, "_config", u(Eu, {
|
|
4803
4804
|
optional: !0
|
|
4804
4805
|
}));
|
|
@@ -4869,7 +4870,7 @@ let Un = /* @__PURE__ */ (() => {
|
|
|
4869
4870
|
hostAttrs: [1, "mat-mdc-button-base"],
|
|
4870
4871
|
hostVars: 13,
|
|
4871
4872
|
hostBindings: function(n, o) {
|
|
4872
|
-
n & 2 && (Ke("disabled", o._getDisabledAttribute())("aria-disabled", o._getAriaDisabled())("tabindex", o._getTabIndex()),
|
|
4873
|
+
n & 2 && (Ke("disabled", o._getDisabledAttribute())("aria-disabled", o._getAriaDisabled())("tabindex", o._getTabIndex()), Aa(o.color ? "mat-" + o.color : ""), bt("mat-mdc-button-disabled", o.disabled)("mat-mdc-button-disabled-interactive", o.disabledInteractive)("mat-unthemed", !o.color)("_mat-animation-noopable", o._animationsDisabled));
|
|
4873
4874
|
},
|
|
4874
4875
|
inputs: {
|
|
4875
4876
|
color: "color",
|
|
@@ -5142,7 +5143,7 @@ function Lu(i, t) {
|
|
|
5142
5143
|
}
|
|
5143
5144
|
if (i & 2) {
|
|
5144
5145
|
const r = b();
|
|
5145
|
-
D("href", r.detailHref(),
|
|
5146
|
+
D("href", r.detailHref(), Vi);
|
|
5146
5147
|
}
|
|
5147
5148
|
}
|
|
5148
5149
|
const re = class re {
|
|
@@ -5156,7 +5157,7 @@ re.ɵfac = function(r) {
|
|
|
5156
5157
|
r & 1 && (f(0, "div", 0), R(1, Lu, 4, 1, "a", 1), f(2, "button", 2), Z("click", function() {
|
|
5157
5158
|
return e.recipeImport.emit(e.importYaml());
|
|
5158
5159
|
}), f(3, "mat-icon", 3), g(4, "check"), _(), g(5, " DEPLOY "), _()()), r & 2 && (p(), k(e.detailHref() ? 1 : -1), p(), D("disabled", !e.importYaml()));
|
|
5159
|
-
}, dependencies: [
|
|
5160
|
+
}, dependencies: [ji, Ui, cr, Ve], styles: [`[_nghost-%COMP%] {
|
|
5160
5161
|
display: block;
|
|
5161
5162
|
width: 100%;
|
|
5162
5163
|
}
|
|
@@ -5276,7 +5277,7 @@ function Uu(i, t) {
|
|
|
5276
5277
|
function Vu(i, t) {
|
|
5277
5278
|
if (i & 1 && (f(0, "div", 2), wt(1, Uu, 1, 1, "zui-bar-icon", 9, Je), _()), i & 2) {
|
|
5278
5279
|
const r = b().$implicit, e = b();
|
|
5279
|
-
p(), Ct(
|
|
5280
|
+
p(), Ct(Do(0, ju).constructor(e.getContainerCount(r)));
|
|
5280
5281
|
}
|
|
5281
5282
|
}
|
|
5282
5283
|
function Hu(i, t) {
|
|
@@ -5309,7 +5310,7 @@ function qu(i, t) {
|
|
|
5309
5310
|
function Gu(i, t) {
|
|
5310
5311
|
if (i & 1 && (f(0, "div", 8)(1, "span", 10), g(2), _(), f(3, "span", 11), g(4), _()(), f(5, "div", 12)(6, "div")(7, "span", 10), g(8), _(), f(9, "span", 11), g(10, " RAM"), _()(), f(11, "div")(12, "span", 10), g(13), _(), f(14, "span", 11), g(15, " Disc"), _()()()), i & 2) {
|
|
5311
5312
|
const r = b().$implicit;
|
|
5312
|
-
p(2), L(r.autoscaling.verticalAutoscaling.minResource.cpuCoreCount), p(2),
|
|
5313
|
+
p(2), L(r.autoscaling.verticalAutoscaling.minResource.cpuCoreCount), p(2), Ia(" ", r.autoscaling.verticalAutoscaling.cpuMode === "SHARED" ? "Shared" : "Dedicated", " ", r.autoscaling.verticalAutoscaling.minResource.cpuCoreCount > 1 ? "Cores" : "Core"), p(4), X("", r.autoscaling.verticalAutoscaling.minResource.memoryGBytes, " GB"), p(5), X("", r.autoscaling.verticalAutoscaling.minResource.diskGBytes, " GB");
|
|
5313
5314
|
}
|
|
5314
5315
|
}
|
|
5315
5316
|
function Yu(i, t) {
|
|
@@ -5320,14 +5321,14 @@ function Yu(i, t) {
|
|
|
5320
5321
|
}
|
|
5321
5322
|
const se = class se {
|
|
5322
5323
|
constructor() {
|
|
5323
|
-
this.services = v(), this.displayServices = P(() =>
|
|
5324
|
+
this.services = v(), this.displayServices = P(() => Uo(this.services())), this.getContainerCount = ic;
|
|
5324
5325
|
}
|
|
5325
5326
|
};
|
|
5326
5327
|
se.ɵfac = function(r) {
|
|
5327
5328
|
return new (r || se)();
|
|
5328
5329
|
}, se.ɵcmp = /* @__PURE__ */ I({ type: se, selectors: [["zui-alt-recipe-services-grid"]], inputs: { services: [1, "services"] }, decls: 3, vars: 5, consts: [[1, "grid", "gap-2", "w-full", 3, "ngClass"], [1, "flex", "flex-col", "items-center", "px-2", "py-2.5", "rounded-md", "bg-alt-card-service-bg"], [1, "flex", "gap-1", "mb-1.5"], [1, "mb-0.5", "text-center"], [1, "c-alt-card-service-title"], [1, "c-alt-card-service-label"], [1, "mb-1.5", "text-center", "c-alt-card-service-label"], [1, "flex", "flex-col", "items-center", "gap-0.5", "w-full"], [1, "text-center"], ["size", "sm", 3, "active"], [1, "c-alt-card-value"], [1, "c-alt-card-value-label"], [1, "flex", "justify-center", "gap-2"]], template: function(r, e) {
|
|
5329
|
-
r & 1 && (f(0, "div", 0), wt(1, Yu, 12, 6, "div", 1, Je), _()), r & 2 && (D("ngClass",
|
|
5330
|
-
}, dependencies: [Go,
|
|
5330
|
+
r & 1 && (f(0, "div", 0), wt(1, Yu, 12, 6, "div", 1, Je), _()), r & 2 && (D("ngClass", Pa(1, Bu, e.displayServices().length === 1, e.displayServices().length >= 2, e.displayServices().length >= 3 && e.displayServices().length !== 4)), p(), Ct(e.displayServices()));
|
|
5331
|
+
}, dependencies: [Go, rc], styles: [`.__grid-cols-3-m[_ngcontent-%COMP%] {
|
|
5331
5332
|
@media (min-width: 810px) {
|
|
5332
5333
|
grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
|
|
5333
5334
|
}
|
|
@@ -5353,7 +5354,7 @@ function Qu(i, t) {
|
|
|
5353
5354
|
}
|
|
5354
5355
|
const ae = class ae {
|
|
5355
5356
|
constructor() {
|
|
5356
|
-
this.pricing = Du, this.services = v(), this.projectMode = v(), this.pricePer = v(), this.priceModifier = v(1), this.displayServices = P(() =>
|
|
5357
|
+
this.pricing = Du, this.services = v(), this.projectMode = v(), this.pricePer = v(), this.priceModifier = v(1), this.displayServices = P(() => Uo(this.services())), this.derivedProjectMode = P(() => Vo(this.services(), this.projectMode())), this.totalResources = P(() => oc(this.displayServices())), this.resourceBreakdown = P(() => {
|
|
5357
5358
|
const t = this.displayServices();
|
|
5358
5359
|
let r = 0, e = 0;
|
|
5359
5360
|
for (const n of t) {
|
|
@@ -5362,7 +5363,7 @@ const ae = class ae {
|
|
|
5362
5363
|
const o = n.autoscaling?.verticalAutoscaling?.minResource;
|
|
5363
5364
|
if (!o)
|
|
5364
5365
|
continue;
|
|
5365
|
-
const a =
|
|
5366
|
+
const a = sc(n.typeId, ac(n), n.autoscaling?.horizontalAutoscaling?.minContainerCount || 1), c = o.cpuCoreCount * a;
|
|
5366
5367
|
n.autoscaling?.verticalAutoscaling?.cpuMode === "DEDICATED" ? e += c : r += c;
|
|
5367
5368
|
}
|
|
5368
5369
|
return { sharedCores: r, dedicatedCores: e };
|
|
@@ -5375,7 +5376,7 @@ const ae = class ae {
|
|
|
5375
5376
|
ae.ɵfac = function(r) {
|
|
5376
5377
|
return new (r || ae)();
|
|
5377
5378
|
}, ae.ɵcmp = /* @__PURE__ */ I({ type: ae, selectors: [["zui-alt-recipe-footer"]], inputs: { services: [1, "services"], projectMode: [1, "projectMode"], pricePer: [1, "pricePer"], priceModifier: [1, "priceModifier"] }, decls: 20, vars: 8, consts: [[1, "flex", "flex-col", "items-end", "gap-3", "w-full"], [1, "flex", "flex-wrap", "justify-end", "gap-x-3", "gap-y-1"], [1, "flex", "items-end", "gap-0.5"], [1, "c-alt-card-metric-value"], [1, "c-alt-card-metric-label"], [1, "flex", "flex-col", "items-end", "gap-0.5"], [1, "tabular-nums", "c-alt-card-title"], [1, "c-alt-card-core-desc"]], template: function(r, e) {
|
|
5378
|
-
r & 1 && (E(0, "div", 0)(1, "div", 1), R(2, Xu, 5, 2, "div", 2), R(3, Ku, 5, 2, "div", 2), E(4, "div", 2)(5, "span", 3), g(6), O(), E(7, "span", 4), g(8, "GB RAM"), O()(), E(9, "div", 2)(10, "span", 3), g(11), O(), E(12, "span", 4), g(13, "GB Disk (SSD)"), O()(), R(14, Qu, 5, 1, "div", 2), O(), E(15, "div", 5)(16, "span", 6), g(17), O(), E(18, "span", 7), g(19, "per month"), O()()()), r & 2 && (p(2), k(e.resourceBreakdown().sharedCores ? 2 : -1), p(), k(e.resourceBreakdown().dedicatedCores ? 3 : -1), p(3), L(e.totalResources().ram), p(5), L(e.totalResources().disc), p(3), k(e.totalResources().storage ? 14 : -1), p(3),
|
|
5379
|
+
r & 1 && (E(0, "div", 0)(1, "div", 1), R(2, Xu, 5, 2, "div", 2), R(3, Ku, 5, 2, "div", 2), E(4, "div", 2)(5, "span", 3), g(6), O(), E(7, "span", 4), g(8, "GB RAM"), O()(), E(9, "div", 2)(10, "span", 3), g(11), O(), E(12, "span", 4), g(13, "GB Disk (SSD)"), O()(), R(14, Qu, 5, 1, "div", 2), O(), E(15, "div", 5)(16, "span", 6), g(17), O(), E(18, "span", 7), g(19, "per month"), O()()()), r & 2 && (p(2), k(e.resourceBreakdown().sharedCores ? 2 : -1), p(), k(e.resourceBreakdown().dedicatedCores ? 3 : -1), p(3), L(e.totalResources().ram), p(5), L(e.totalResources().disc), p(3), k(e.totalResources().storage ? 14 : -1), p(3), La(" ", "$", "", e.cost().amount, ".", e.cost().decimal, " "));
|
|
5379
5380
|
}, encapsulation: 2, changeDetection: 0 });
|
|
5380
5381
|
let ki = ae;
|
|
5381
5382
|
class Ju {
|
|
@@ -5561,7 +5562,7 @@ let oo = /* @__PURE__ */ (() => {
|
|
|
5561
5562
|
features: [Re([{
|
|
5562
5563
|
provide: $s,
|
|
5563
5564
|
useFactory: sh,
|
|
5564
|
-
deps: [
|
|
5565
|
+
deps: [Da(() => t)]
|
|
5565
5566
|
}]), Se]
|
|
5566
5567
|
}));
|
|
5567
5568
|
let i = t;
|
|
@@ -5632,7 +5633,7 @@ let Vn = /* @__PURE__ */ (() => {
|
|
|
5632
5633
|
s(this, "elementRef", u(j));
|
|
5633
5634
|
s(this, "scrollDispatcher", u(Vn));
|
|
5634
5635
|
s(this, "ngZone", u(U));
|
|
5635
|
-
s(this, "dir", u(
|
|
5636
|
+
s(this, "dir", u(Pn, {
|
|
5636
5637
|
optional: !0
|
|
5637
5638
|
}));
|
|
5638
5639
|
s(this, "_scrollElement", this.elementRef.nativeElement);
|
|
@@ -5791,7 +5792,7 @@ let Ei = /* @__PURE__ */ (() => {
|
|
|
5791
5792
|
constructor() {
|
|
5792
5793
|
super();
|
|
5793
5794
|
s(this, "elementRef", u(j));
|
|
5794
|
-
s(this, "_changeDetectorRef", u(
|
|
5795
|
+
s(this, "_changeDetectorRef", u(Bi));
|
|
5795
5796
|
s(this, "_scrollStrategy", u($s, {
|
|
5796
5797
|
optional: !0
|
|
5797
5798
|
}));
|
|
@@ -5831,7 +5832,7 @@ let Ei = /* @__PURE__ */ (() => {
|
|
|
5831
5832
|
const o = si(() => {
|
|
5832
5833
|
this._changeDetectionNeeded() && this._doChangeDetection();
|
|
5833
5834
|
}, {
|
|
5834
|
-
injector: u(
|
|
5835
|
+
injector: u(zo).injector
|
|
5835
5836
|
});
|
|
5836
5837
|
u(Ao).onDestroy(() => {
|
|
5837
5838
|
o.destroy();
|
|
@@ -5845,7 +5846,7 @@ let Ei = /* @__PURE__ */ (() => {
|
|
|
5845
5846
|
}
|
|
5846
5847
|
ngOnInit() {
|
|
5847
5848
|
this._platform.isBrowser && (this.scrollable === this && super.ngOnInit(), this.ngZone.runOutsideAngular(() => Promise.resolve().then(() => {
|
|
5848
|
-
this._measureViewportSize(), this._scrollStrategy.attach(this), this.scrollable.elementScrolled().pipe(
|
|
5849
|
+
this._measureViewportSize(), this._scrollStrategy.attach(this), this.scrollable.elementScrolled().pipe(qi(null), Yi(0, dh), Q(this._destroyed)).subscribe(() => this._scrollStrategy.onContentScrolled()), this._markChangeDetectionNeeded();
|
|
5849
5850
|
})));
|
|
5850
5851
|
}
|
|
5851
5852
|
ngOnDestroy() {
|
|
@@ -5959,9 +5960,9 @@ let Ei = /* @__PURE__ */ (() => {
|
|
|
5959
5960
|
type: t,
|
|
5960
5961
|
selectors: [["cdk-virtual-scroll-viewport"]],
|
|
5961
5962
|
viewQuery: function(o, a) {
|
|
5962
|
-
if (o & 1 &&
|
|
5963
|
+
if (o & 1 && Mo(ih, 7), o & 2) {
|
|
5963
5964
|
let c;
|
|
5964
|
-
|
|
5965
|
+
Fo(c = No()) && (a._contentWrapper = c.first);
|
|
5965
5966
|
}
|
|
5966
5967
|
},
|
|
5967
5968
|
hostAttrs: [1, "cdk-virtual-scroll-viewport"],
|
|
@@ -5987,7 +5988,7 @@ let Ei = /* @__PURE__ */ (() => {
|
|
|
5987
5988
|
vars: 4,
|
|
5988
5989
|
consts: [["contentWrapper", ""], [1, "cdk-virtual-scroll-content-wrapper"], [1, "cdk-virtual-scroll-spacer"]],
|
|
5989
5990
|
template: function(o, a) {
|
|
5990
|
-
o & 1 && (Qe(), E(0, "div", 1, 0), dt(2), O(), et(3, "div", 2)), o & 2 && (p(3),
|
|
5991
|
+
o & 1 && (Qe(), E(0, "div", 1, 0), dt(2), O(), et(3, "div", 2)), o & 2 && (p(3), Fa("width", a._totalContentWidth())("height", a._totalContentHeight()));
|
|
5991
5992
|
},
|
|
5992
5993
|
styles: [`cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}
|
|
5993
5994
|
`],
|
|
@@ -6008,8 +6009,8 @@ let ao = /* @__PURE__ */ (() => {
|
|
|
6008
6009
|
const t = class t {
|
|
6009
6010
|
constructor() {
|
|
6010
6011
|
s(this, "_viewContainerRef", u(Gt));
|
|
6011
|
-
s(this, "_template", u(
|
|
6012
|
-
s(this, "_differs", u(
|
|
6012
|
+
s(this, "_template", u(Hi));
|
|
6013
|
+
s(this, "_differs", u(za));
|
|
6013
6014
|
s(this, "_viewRepeater", u(ro));
|
|
6014
6015
|
s(this, "_viewport", u(Ei, {
|
|
6015
6016
|
skipSelf: !0
|
|
@@ -6018,7 +6019,7 @@ let ao = /* @__PURE__ */ (() => {
|
|
|
6018
6019
|
s(this, "_dataSourceChanges", new T());
|
|
6019
6020
|
s(this, "_cdkVirtualForOf");
|
|
6020
6021
|
s(this, "_cdkVirtualForTrackBy");
|
|
6021
|
-
s(this, "dataStream", this._dataSourceChanges.pipe(
|
|
6022
|
+
s(this, "dataStream", this._dataSourceChanges.pipe(qi(null), xc(), mt(([e, n]) => this._changeDataSource(e, n)), Ma(1)));
|
|
6022
6023
|
s(this, "_differ", null);
|
|
6023
6024
|
s(this, "_data");
|
|
6024
6025
|
s(this, "_renderedItems");
|
|
@@ -6327,7 +6328,7 @@ class hh extends Ws {
|
|
|
6327
6328
|
attachComponentPortal(r) {
|
|
6328
6329
|
let e;
|
|
6329
6330
|
if (r.viewContainerRef) {
|
|
6330
|
-
const n = r.injector || r.viewContainerRef.injector, o = n.get(
|
|
6331
|
+
const n = r.injector || r.viewContainerRef.injector, o = n.get(Bo, null, {
|
|
6331
6332
|
optional: !0
|
|
6332
6333
|
}) || void 0;
|
|
6333
6334
|
e = r.viewContainerRef.createComponent(r.component, {
|
|
@@ -6338,7 +6339,7 @@ class hh extends Ws {
|
|
|
6338
6339
|
}), this.setDisposeFn(() => e.destroy());
|
|
6339
6340
|
} else {
|
|
6340
6341
|
const n = this._appRef, o = r.injector || this._defaultInjector || ht.NULL, a = o.get(Xe, n.injector);
|
|
6341
|
-
e =
|
|
6342
|
+
e = Na(r.component, {
|
|
6342
6343
|
elementInjector: o,
|
|
6343
6344
|
environmentInjector: a,
|
|
6344
6345
|
projectableNodes: r.projectableNodes || void 0
|
|
@@ -6367,7 +6368,7 @@ class hh extends Ws {
|
|
|
6367
6368
|
let uo = /* @__PURE__ */ (() => {
|
|
6368
6369
|
const t = class t extends ur {
|
|
6369
6370
|
constructor() {
|
|
6370
|
-
const e = u(
|
|
6371
|
+
const e = u(Hi), n = u(Gt);
|
|
6371
6372
|
super(e, n);
|
|
6372
6373
|
}
|
|
6373
6374
|
};
|
|
@@ -6385,7 +6386,7 @@ let uo = /* @__PURE__ */ (() => {
|
|
|
6385
6386
|
const t = class t extends Ws {
|
|
6386
6387
|
constructor() {
|
|
6387
6388
|
super();
|
|
6388
|
-
s(this, "_moduleRef", u(
|
|
6389
|
+
s(this, "_moduleRef", u(Bo, {
|
|
6389
6390
|
optional: !0
|
|
6390
6391
|
}));
|
|
6391
6392
|
s(this, "_document", u(q));
|
|
@@ -7603,7 +7604,7 @@ let Ah = /* @__PURE__ */ (() => {
|
|
|
7603
7604
|
const Qs = /* @__PURE__ */ new z("OVERLAY_DEFAULT_CONFIG");
|
|
7604
7605
|
function fr(i, t) {
|
|
7605
7606
|
i.get(ke).load(Xs);
|
|
7606
|
-
const r = i.get(Ks), e = i.get(q), n = i.get(yi), o = i.get(
|
|
7607
|
+
const r = i.get(Ks), e = i.get(q), n = i.get(yi), o = i.get(zo), a = i.get(Pn), c = i.get(Ye, null, {
|
|
7607
7608
|
optional: !0
|
|
7608
7609
|
}) || i.get(Xt).createRenderer(null, null), l = new Gs(t), d = i.get(Qs, null, {
|
|
7609
7610
|
optional: !0
|
|
@@ -7612,7 +7613,7 @@ function fr(i, t) {
|
|
|
7612
7613
|
const h = e.createElement("div"), m = e.createElement("div");
|
|
7613
7614
|
h.id = n.getId("cdk-overlay-"), h.classList.add("cdk-overlay-pane"), m.appendChild(h), l.usePopover && (m.setAttribute("popover", "manual"), m.classList.add("cdk-overlay-popover"));
|
|
7614
7615
|
const C = l.usePopover ? l.positionStrategy?.getPopoverInsertionPoint?.() : null;
|
|
7615
|
-
return r.getContainerElement().appendChild(m), pr(C) ? C.after(m) : C?.type === "parent" && C.element.appendChild(m), new xh(new hh(h, o, i), m, h, l, i.get(U), i.get(yh), e, i.get(en), i.get(wh), t?.disableAnimations ?? i.get(
|
|
7616
|
+
return r.getContainerElement().appendChild(m), pr(C) ? C.after(m) : C?.type === "parent" && C.element.appendChild(m), new xh(new hh(h, o, i), m, h, l, i.get(U), i.get(yh), e, i.get(en), i.get(wh), t?.disableAnimations ?? i.get(Ba, null, {
|
|
7616
7617
|
optional: !0
|
|
7617
7618
|
}) === "NoopAnimations", i.get(Xe), c);
|
|
7618
7619
|
}
|
|
@@ -7687,7 +7688,7 @@ const Lh = /* @__PURE__ */ new z("cdk-connected-overlay-default-config");
|
|
|
7687
7688
|
let wo = /* @__PURE__ */ (() => {
|
|
7688
7689
|
const t = class t {
|
|
7689
7690
|
constructor() {
|
|
7690
|
-
s(this, "_dir", u(
|
|
7691
|
+
s(this, "_dir", u(Pn, {
|
|
7691
7692
|
optional: !0
|
|
7692
7693
|
}));
|
|
7693
7694
|
s(this, "_injector", u(ht));
|
|
@@ -7730,7 +7731,7 @@ let wo = /* @__PURE__ */ (() => {
|
|
|
7730
7731
|
s(this, "detach", new rt());
|
|
7731
7732
|
s(this, "overlayKeydown", new rt());
|
|
7732
7733
|
s(this, "overlayOutsideClick", new rt());
|
|
7733
|
-
const e = u(
|
|
7734
|
+
const e = u(Hi), n = u(Gt), o = u(Lh, {
|
|
7734
7735
|
optional: !0
|
|
7735
7736
|
}), a = u(Qs, {
|
|
7736
7737
|
optional: !0
|
|
@@ -7907,7 +7908,7 @@ const Dh = ["tooltip"], zh = 20, Mh = /* @__PURE__ */ new z("mat-tooltip-scroll-
|
|
|
7907
7908
|
hideDelay: 0,
|
|
7908
7909
|
touchendHideDelay: 1500
|
|
7909
7910
|
})
|
|
7910
|
-
}), xo = "tooltip-panel", So = /* @__PURE__ */
|
|
7911
|
+
}), xo = "tooltip-panel", So = /* @__PURE__ */ jo({
|
|
7911
7912
|
passive: !0
|
|
7912
7913
|
}), Nh = 8, Bh = 8, jh = 24, Uh = 200;
|
|
7913
7914
|
let Ai = /* @__PURE__ */ (() => {
|
|
@@ -7918,11 +7919,11 @@ let Ai = /* @__PURE__ */ (() => {
|
|
|
7918
7919
|
s(this, "_platform", u(nt));
|
|
7919
7920
|
s(this, "_ariaDescriber", u(wu));
|
|
7920
7921
|
s(this, "_focusMonitor", u(or));
|
|
7921
|
-
s(this, "_dir", u(
|
|
7922
|
+
s(this, "_dir", u(Pn));
|
|
7922
7923
|
s(this, "_injector", u(ht));
|
|
7923
7924
|
s(this, "_viewContainerRef", u(Gt));
|
|
7924
|
-
s(this, "_mediaMatcher", u(
|
|
7925
|
-
s(this, "_animationsDisabled",
|
|
7925
|
+
s(this, "_mediaMatcher", u(cc));
|
|
7926
|
+
s(this, "_animationsDisabled", Ln());
|
|
7926
7927
|
s(this, "_defaultOptions", u(Fh, {
|
|
7927
7928
|
optional: !0
|
|
7928
7929
|
}));
|
|
@@ -8246,7 +8247,7 @@ let Ai = /* @__PURE__ */ (() => {
|
|
|
8246
8247
|
})(), Ti = /* @__PURE__ */ (() => {
|
|
8247
8248
|
const t = class t {
|
|
8248
8249
|
constructor() {
|
|
8249
|
-
s(this, "_changeDetectorRef", u(
|
|
8250
|
+
s(this, "_changeDetectorRef", u(Bi));
|
|
8250
8251
|
s(this, "_elementRef", u(j));
|
|
8251
8252
|
s(this, "_isMultiline", !1);
|
|
8252
8253
|
s(this, "message");
|
|
@@ -8255,7 +8256,7 @@ let Ai = /* @__PURE__ */ (() => {
|
|
|
8255
8256
|
s(this, "_hideTimeoutId");
|
|
8256
8257
|
s(this, "_triggerElement");
|
|
8257
8258
|
s(this, "_mouseLeaveHideDelay");
|
|
8258
|
-
s(this, "_animationsDisabled",
|
|
8259
|
+
s(this, "_animationsDisabled", Ln());
|
|
8259
8260
|
s(this, "_tooltip");
|
|
8260
8261
|
s(this, "_closeOnInteraction", !1);
|
|
8261
8262
|
s(this, "_isVisible", !1);
|
|
@@ -8326,9 +8327,9 @@ let Ai = /* @__PURE__ */ (() => {
|
|
|
8326
8327
|
type: t,
|
|
8327
8328
|
selectors: [["mat-tooltip-component"]],
|
|
8328
8329
|
viewQuery: function(n, o) {
|
|
8329
|
-
if (n & 1 &&
|
|
8330
|
+
if (n & 1 && Mo(Dh, 7), n & 2) {
|
|
8330
8331
|
let a;
|
|
8331
|
-
|
|
8332
|
+
Fo(a = No()) && (o._tooltip = a.first);
|
|
8332
8333
|
}
|
|
8333
8334
|
},
|
|
8334
8335
|
hostAttrs: ["aria-hidden", "true"],
|
|
@@ -8481,36 +8482,36 @@ function Yh(i, t) {
|
|
|
8481
8482
|
}
|
|
8482
8483
|
}
|
|
8483
8484
|
function Xh(i, t) {
|
|
8484
|
-
i & 1 &&
|
|
8485
|
+
i & 1 && Wi(0);
|
|
8485
8486
|
}
|
|
8486
8487
|
function Kh(i, t) {
|
|
8487
8488
|
if (i & 1) {
|
|
8488
8489
|
const r = ut();
|
|
8489
|
-
f(0, "div", 16),
|
|
8490
|
+
f(0, "div", 16), In(1, Xh, 1, 0, "ng-container", 17), f(2, "span", 18), g(3), _()(), f(4, "div", 19)(5, "mat-icon", 20), g(6), _(), f(7, "span", 21), g(8), _(), f(9, "button", 22), Z("click", function(n) {
|
|
8490
8491
|
H(r);
|
|
8491
8492
|
const o = b(2);
|
|
8492
8493
|
return n.stopPropagation(), $(o.removeAgent.emit(o.agents()[0].agentType));
|
|
8493
8494
|
}), f(10, "mat-icon", 23), g(11, "close"), _(), f(12, "span"), g(13, "Remove agent"), _()()();
|
|
8494
8495
|
}
|
|
8495
8496
|
if (i & 2) {
|
|
8496
|
-
const r = b(2), e =
|
|
8497
|
-
p(), D("ngTemplateOutlet", e)("ngTemplateOutletContext",
|
|
8497
|
+
const r = b(2), e = $i(1);
|
|
8498
|
+
p(), D("ngTemplateOutlet", e)("ngTemplateOutletContext", Zi(6, gr, r.agents()[0].agentType)), p(2), L(r.label(r.agents()[0].agentType)), p(3), L(r.authIcon(r.agents()[0].authType)), p(2), L(r.authLabel(r.agents()[0].authType)), p(), Ke("aria-label", "Remove " + r.label(r.agents()[0].agentType));
|
|
8498
8499
|
}
|
|
8499
8500
|
}
|
|
8500
8501
|
function Qh(i, t) {
|
|
8501
|
-
i & 1 &&
|
|
8502
|
+
i & 1 && Wi(0);
|
|
8502
8503
|
}
|
|
8503
8504
|
function Jh(i, t) {
|
|
8504
8505
|
if (i & 1) {
|
|
8505
8506
|
const r = ut();
|
|
8506
|
-
f(0, "div", 24),
|
|
8507
|
+
f(0, "div", 24), In(1, Qh, 1, 0, "ng-container", 17), f(2, "span", 18), g(3), _(), f(4, "span", 25), g(5), _(), f(6, "button", 26), Z("click", function(n) {
|
|
8507
8508
|
const o = H(r).$implicit, a = b(3);
|
|
8508
8509
|
return n.stopPropagation(), $(a.removeAgent.emit(o.agentType));
|
|
8509
8510
|
}), f(7, "mat-icon", 23), g(8, "close"), _()()();
|
|
8510
8511
|
}
|
|
8511
8512
|
if (i & 2) {
|
|
8512
|
-
const r = t.$implicit, e = b(3), n =
|
|
8513
|
-
p(), D("ngTemplateOutlet", n)("ngTemplateOutletContext",
|
|
8513
|
+
const r = t.$implicit, e = b(3), n = $i(1);
|
|
8514
|
+
p(), D("ngTemplateOutlet", n)("ngTemplateOutletContext", Zi(6, gr, r.agentType)), p(2), L(e.label(r.agentType)), p(2), L(e.authTag(r.authType)), p(), D("matTooltip", "Remove " + e.label(r.agentType)), Ke("aria-label", "Remove " + e.label(r.agentType));
|
|
8514
8515
|
}
|
|
8515
8516
|
}
|
|
8516
8517
|
function tp(i, t) {
|
|
@@ -8538,7 +8539,7 @@ function ip(i, t) {
|
|
|
8538
8539
|
}
|
|
8539
8540
|
}
|
|
8540
8541
|
function rp(i, t) {
|
|
8541
|
-
i & 1 &&
|
|
8542
|
+
i & 1 && Wi(0);
|
|
8542
8543
|
}
|
|
8543
8544
|
function op(i, t) {
|
|
8544
8545
|
if (i & 1) {
|
|
@@ -8546,15 +8547,15 @@ function op(i, t) {
|
|
|
8546
8547
|
f(0, "button", 30), Z("click", function(n) {
|
|
8547
8548
|
const o = H(r).$implicit, a = b(2);
|
|
8548
8549
|
return n.stopPropagation(), $(a.quickAddAgent.emit(o));
|
|
8549
|
-
}),
|
|
8550
|
+
}), In(1, rp, 1, 0, "ng-container", 17), f(2, "span", 31), g(3), _(), f(4, "mat-icon", 32), g(5, "add"), _()();
|
|
8550
8551
|
}
|
|
8551
8552
|
if (i & 2) {
|
|
8552
|
-
const r = t.$implicit, e = b(2), n =
|
|
8553
|
-
Ke("aria-label", "Add " + e.label(r)), p(), D("ngTemplateOutlet", n)("ngTemplateOutletContext",
|
|
8553
|
+
const r = t.$implicit, e = b(2), n = $i(1);
|
|
8554
|
+
Ke("aria-label", "Add " + e.label(r)), p(), D("ngTemplateOutlet", n)("ngTemplateOutletContext", Zi(4, gr, r)), p(2), L(e.label(r));
|
|
8554
8555
|
}
|
|
8555
8556
|
}
|
|
8556
8557
|
function sp(i, t) {
|
|
8557
|
-
if (i & 1 && (f(0, "div", 9)(1, "span", 28), g(2, "Quick add"), _(), wt(3, op, 6, 6, "button", 29,
|
|
8558
|
+
if (i & 1 && (f(0, "div", 9)(1, "span", 28), g(2, "Quick add"), _(), wt(3, op, 6, 6, "button", 29, ja), _()), i & 2) {
|
|
8558
8559
|
const r = b();
|
|
8559
8560
|
p(3), Ct(r.quickAddAgents());
|
|
8560
8561
|
}
|
|
@@ -8639,7 +8640,7 @@ xe = new WeakSet(), Js = function() {
|
|
|
8639
8640
|
}, pe.ɵcmp = /* @__PURE__ */ I({ type: pe, selectors: [["zui-zagent-mini-card"]], inputs: { config: [1, "config"], agentsSupported: [1, "agentsSupported"], services: [1, "services"], os: [1, "os"], connectedServices: [1, "connectedServices"] }, outputs: { configure: "configure", quickAddAgent: "quickAddAgent", removeAgent: "removeAgent" }, decls: 14, vars: 7, consts: [["brandMark", ""], [1, "__card", 3, "click"], [1, "__head"], [1, "__head-label"], ["type", "button", "mat-stroked-button", "", "aria-label", "Configure ZCP service", 1, "__configure-btn", 3, "click"], [1, "__tiles"], [1, "__tile", "__tile--agent"], [1, "__tile", "__tile--ide"], [1, "__tile", "__tile--base"], [1, "__quick-add"], [1, "__mounts"], [1, "__brand"], [1, "__tile-head"], ["fontSet", "material-icons-outlined", 1, "__tile-icon"], [1, "__tile-title"], [1, "__tile-meta"], [1, "__meta-row"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], [1, "__meta-text", "__meta-text--primary"], [1, "__meta-row", "__meta-row--auth"], ["fontSet", "material-icons-outlined", 1, "__meta-icon"], [1, "__meta-text"], ["type", "button", 1, "__meta-remove-overlay", 3, "click"], ["fontSet", "material-icons-outlined"], [1, "__meta-row", "__meta-row--agent"], [1, "__auth-tag"], ["type", "button", 1, "__agent-remove", 3, "click", "matTooltip"], [1, "__brand", "__brand--ide"], [1, "__quick-add-label"], ["type", "button", 1, "__qa-chip"], ["type", "button", 1, "__qa-chip", 3, "click"], [1, "__qa-name"], ["fontSet", "material-icons-outlined", 1, "__qa-add"], [1, "__mounts-label"], [1, "__chips"], [1, "__svc-chip"], [1, "__chip-dev"]], template: function(r, e) {
|
|
8640
8641
|
if (r & 1) {
|
|
8641
8642
|
const n = ut();
|
|
8642
|
-
|
|
8643
|
+
In(0, Yh, 5, 1, "ng-template", null, 0, Ua), f(2, "div", 1), Z("click", function() {
|
|
8643
8644
|
return H(n), $(e.configure.emit());
|
|
8644
8645
|
}), f(3, "div", 2)(4, "span", 3), g(5, "ZCP configuration"), _(), f(6, "button", 4), Z("click", function(a) {
|
|
8645
8646
|
return H(n), a.stopPropagation(), $(e.configure.emit());
|
|
@@ -8648,8 +8649,8 @@ xe = new WeakSet(), Js = function() {
|
|
|
8648
8649
|
r & 2 && (p(8), bt("__tiles--single", e.tileCount() === 1), p(), k(e.showAgent() ? 9 : -1), p(), k(e.showVscode() ? 10 : -1), p(), k(!e.showAgent() && !e.showVscode() ? 11 : -1), p(), k(e.agentsSupported() && e.quickAddAgents().length ? 12 : -1), p(), k(e.serviceChips().length ? 13 : -1));
|
|
8649
8650
|
}, dependencies: [
|
|
8650
8651
|
Tc,
|
|
8652
|
+
ji,
|
|
8651
8653
|
Ui,
|
|
8652
|
-
Vi,
|
|
8653
8654
|
cr,
|
|
8654
8655
|
Ve,
|
|
8655
8656
|
Vh,
|
|
@@ -9097,7 +9098,7 @@ function _p(i, t) {
|
|
|
9097
9098
|
function bp(i, t) {
|
|
9098
9099
|
if (i & 1 && (f(0, "a", 4), g(1), _()), i & 2) {
|
|
9099
9100
|
const r = b().$implicit;
|
|
9100
|
-
D("routerLink",
|
|
9101
|
+
D("routerLink", Do(3, fp))("queryParams", r.queryParams), p(), X(" ", r.name, " ");
|
|
9101
9102
|
}
|
|
9102
9103
|
}
|
|
9103
9104
|
function vp(i, t) {
|
|
@@ -9195,7 +9196,7 @@ const me = class me {
|
|
|
9195
9196
|
}), this.envsByKey = P(() => this.environments()?.length ? this.environments().reduce((t, r) => (t[r._key] || (t[r._key] = r), t), {}) : {}), this.defaultEnvironmentKey = P(() => $o(this.environments() || [])), this.currentEnvironmentKey = P(() => this.selectedEnvironmentKey() || this.defaultEnvironmentKey()), this.activeEnvironment = P(() => {
|
|
9196
9197
|
const t = this.currentEnvironmentKey();
|
|
9197
9198
|
return t ? this.envsByKey()[t] : void 0;
|
|
9198
|
-
}), this.derivedProjectMode = P(() =>
|
|
9199
|
+
}), this.derivedProjectMode = P(() => Vo(this.activeEnvironment()?._servicesExtended));
|
|
9199
9200
|
}
|
|
9200
9201
|
/** Returns the native DEPLOY button element for popover anchoring */
|
|
9201
9202
|
get deployButtonEl() {
|
|
@@ -9269,17 +9270,17 @@ const fe = class fe {
|
|
|
9269
9270
|
} catch {
|
|
9270
9271
|
return;
|
|
9271
9272
|
}
|
|
9272
|
-
} }), this.apiBase = v("https://api.zerops.io"), this.appUrl = v("https://app.zerops.io"), this.deployed = Y(), this.detailOpened = Y(), Qt(this, Ze, u(
|
|
9273
|
+
} }), this.apiBase = v("https://api.zerops.io"), this.appUrl = v("https://app.zerops.io"), this.deployed = Y(), this.detailOpened = Y(), Qt(this, Ze, u(Ha)), this.recipe = gt(null), this.loading = gt(!0), this.error = gt(!1), this.selectedEnvironmentKey = gt(void 0), Qt(this, ge, P(() => {
|
|
9273
9274
|
const t = this.recipe();
|
|
9274
9275
|
return t && (this.selectedEnvironmentKey() || $o(t._environmentsExtended || [])) || "";
|
|
9275
9276
|
})), this.detailHref = P(() => {
|
|
9276
9277
|
const t = this.recipe();
|
|
9277
9278
|
if (t)
|
|
9278
9279
|
return `${this.appUrl()}/recipes/${t.slug}?environment=${Tt(this, ge).call(this)}`;
|
|
9279
|
-
}), Qt(this, _e, new T()), Qt(this, We,
|
|
9280
|
+
}), Qt(this, _e, new T()), Qt(this, We, Va(Tt(this, _e).pipe(mt((t) => lc(Tt(this, Ze), this.apiBase(), t))))), si(() => {
|
|
9280
9281
|
const t = this.recipeData(), r = this.slug();
|
|
9281
9282
|
if (t) {
|
|
9282
|
-
const e =
|
|
9283
|
+
const e = dc(t);
|
|
9283
9284
|
this.loading.set(!1), this.error.set(e.error), this.recipe.set(e.recipe), this.selectedEnvironmentKey.set(void 0);
|
|
9284
9285
|
} else r && (this.loading.set(!0), this.error.set(!1), this.recipe.set(null), this.selectedEnvironmentKey.set(void 0), Tt(this, _e).next(r));
|
|
9285
9286
|
}), si(() => {
|
|
@@ -9330,6 +9331,6 @@ Ze = new WeakMap(), ge = new WeakMap(), _e = new WeakMap(), We = new WeakMap(),
|
|
|
9330
9331
|
font-size: 14px;
|
|
9331
9332
|
}`], changeDetection: 0 });
|
|
9332
9333
|
let Ni = fe;
|
|
9333
|
-
|
|
9334
|
-
customElements.get("zerops-recipe-card") || customElements.define("zerops-recipe-card",
|
|
9334
|
+
$a().then((i) => {
|
|
9335
|
+
customElements.get("zerops-recipe-card") || customElements.define("zerops-recipe-card", Za(Ni, { injector: i.injector }));
|
|
9335
9336
|
});
|