@coreframe/dashboard 0.4.0-next.4 → 3.0.0-beta.2
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 +23 -21
- package/dist/browser/api/client.js +1 -0
- package/dist/browser/api/contract.js +1 -0
- package/dist/browser/api/error-mapping.js +1 -0
- package/dist/browser/api/errors.js +1 -0
- package/dist/browser/api/paths.js +1 -0
- package/dist/browser/api/rouzer.js +1 -0
- package/dist/browser/api/validation.js +1 -0
- package/dist/{package → browser}/app-client.d.ts +4 -4
- package/dist/browser/app-client.js +1 -0
- package/dist/browser/plugins/diagnostics/api/contract.js +1 -0
- package/dist/browser/plugins/diagnostics/web/queries.js +1 -0
- package/dist/browser/plugins/diagnostics/web.d.ts +4 -0
- package/dist/browser/plugins/diagnostics/web.js +1 -0
- package/dist/browser/web/dashboard/dashboard-page.js +1 -0
- package/dist/browser/web/dashboard/dashboard-section.js +1 -0
- package/dist/browser/web/dashboard/dashboard.style.js +1 -0
- package/dist/browser/web/dashboard/deployed-dashboard-page.js +1 -0
- package/dist/browser/web/dashboard/findings.js +1 -0
- package/dist/browser/web/dashboard/worker-environment.js +1 -0
- package/dist/browser/web/root.style.js +1 -0
- package/dist/browser/web/styled-system/css/css.js +1 -0
- package/dist/browser/web/styled-system/css/cx.js +1 -0
- package/dist/browser/web/styled-system/css/merge-css.js +1 -0
- package/dist/browser/web/styled-system/helpers.js +1 -0
- package/dist/browser/web/styled-system/recipes/dashboard-button.js +1 -0
- package/dist/browser/web/styled-system/recipes/dashboard-confirm-dialog.js +1 -0
- package/dist/browser/web/styled-system/recipes/dashboard-empty-state.js +1 -0
- package/dist/browser/web/styled-system/recipes/dashboard-error-state.js +1 -0
- package/dist/browser/web/styled-system/recipes/dashboard-field.js +1 -0
- package/dist/browser/web/styled-system/recipes/dashboard-page.js +1 -0
- package/dist/browser/web/styled-system/recipes/dashboard-section.js +1 -0
- package/dist/browser/web/styled-system/recipes/dashboard-status.js +1 -0
- package/dist/browser/web/styled-system/recipes/dashboard-tabs.js +1 -0
- package/dist/{package → browser}/web/ui/index.d.ts +28 -14
- package/dist/browser/web/ui/index.js +1 -0
- package/dist/compiled/api/client.js +23 -0
- package/dist/compiled/api/contract.js +13 -0
- package/dist/compiled/api/error-mapping.js +12 -0
- package/dist/compiled/api/errors.js +18 -0
- package/dist/compiled/api/paths.js +9 -0
- package/dist/compiled/api/rouzer.js +22 -0
- package/dist/compiled/api/validation.js +22 -0
- package/dist/compiled/app/main.js +17 -0
- package/dist/compiled/app-client.js +179 -0
- package/dist/compiled/bamboo.css +2 -0
- package/dist/compiled/compiled-styles.js +1 -0
- package/dist/compiled/octane-client-build.json +8 -0
- package/dist/compiled/plugins/diagnostics/api/contract.js +10 -0
- package/dist/compiled/plugins/diagnostics/web/queries.js +12 -0
- package/dist/compiled/plugins/diagnostics/web.js +56 -0
- package/dist/compiled/web/dashboard/dashboard-page.js +356 -0
- package/dist/compiled/web/dashboard/dashboard-section.js +61 -0
- package/dist/compiled/web/dashboard/dashboard.style.js +50 -0
- package/dist/compiled/web/dashboard/deployed-dashboard-page.js +376 -0
- package/dist/compiled/web/dashboard/findings.js +393 -0
- package/dist/compiled/web/dashboard/worker-environment.js +187 -0
- package/dist/compiled/web/root.style.js +9 -0
- package/dist/compiled/web/styled-system/css/cx.js +41 -0
- package/dist/compiled/web/ui/index.js +1825 -0
- package/dist/compiled/web-shell/index.js +2 -0
- package/dist/compiled/web-shell/shell.js +335 -0
- package/dist/package/app/main.js +1 -0
- package/dist/package/build.d.ts +6 -23
- package/dist/package/build.js +3 -2
- package/dist/package/config.d.ts +3 -10
- package/dist/package/plugins/diagnostics/api/contract.d.ts +1 -1
- package/dist/package/plugins/diagnostics/api/contract.js +1 -1
- package/dist/package/shell.css +1 -0
- package/dist/package/web-shell/index.d.ts +2 -2
- package/dist/package/web-shell/index.js +1 -1
- package/dist/package/web-shell/shell.d.ts +12 -7
- package/dist/package/web-shell/shell.js +1 -1
- package/dist/package/worker.js +1 -1
- package/package.json +27 -26
- package/dist/package/app/empty.d.ts +0 -2
- package/dist/package/app/empty.js +0 -1
- package/dist/package/app/entry.client.js +0 -1
- package/dist/package/app/index-route.d.ts +0 -4
- package/dist/package/app/index-route.js +0 -1
- package/dist/package/app/index.d.ts +0 -5
- package/dist/package/app/index.js +0 -1
- package/dist/package/app/not-found.d.ts +0 -4
- package/dist/package/app/not-found.js +0 -1
- package/dist/package/app/root.d.ts +0 -12
- package/dist/package/app/root.js +0 -1
- package/dist/package/app/routes.d.ts +0 -6
- package/dist/package/app/routes.js +0 -1
- package/dist/package/app/shell.d.ts +0 -6
- package/dist/package/app/shell.js +0 -1
- package/dist/package/app-client.js +0 -1
- package/dist/package/plugins/diagnostics/web/queries.js +0 -1
- package/dist/package/plugins/diagnostics/web.d.ts +0 -4
- package/dist/package/plugins/diagnostics/web.js +0 -1
- package/dist/package/styled-css.js +0 -1
- package/dist/package/web/dashboard/dashboard-page.js +0 -1
- package/dist/package/web/dashboard/dashboard-section.js +0 -1
- package/dist/package/web/dashboard/dashboard.style.js +0 -1
- package/dist/package/web/dashboard/deployed-dashboard-page.js +0 -1
- package/dist/package/web/dashboard/findings.js +0 -1
- package/dist/package/web/dashboard/worker-environment.js +0 -1
- package/dist/package/web/root.style.js +0 -1
- package/dist/package/web/styled-system/css/conditions.js +0 -1
- package/dist/package/web/styled-system/css/css.js +0 -1
- package/dist/package/web/styled-system/css/cx.js +0 -1
- package/dist/package/web/styled-system/helpers.js +0 -1
- package/dist/package/web/styled-system/recipes/dashboard-button.js +0 -1
- package/dist/package/web/styled-system/recipes/dashboard-confirm-dialog.js +0 -1
- package/dist/package/web/styled-system/recipes/dashboard-empty-state.js +0 -1
- package/dist/package/web/styled-system/recipes/dashboard-error-state.js +0 -1
- package/dist/package/web/styled-system/recipes/dashboard-field.js +0 -1
- package/dist/package/web/styled-system/recipes/dashboard-page.js +0 -1
- package/dist/package/web/styled-system/recipes/dashboard-section.js +0 -1
- package/dist/package/web/styled-system/recipes/dashboard-status.js +0 -1
- package/dist/package/web/styled-system/recipes/dashboard-tabs.js +0 -1
- package/dist/package/web/styled-system/recipes/runtime.js +0 -1
- package/dist/package/web/ui/index.js +0 -1
- package/dist/package/web/ui/styles.js +0 -1
- /package/dist/package/app/{entry.client.d.ts → main.d.ts} +0 -0
|
@@ -0,0 +1,356 @@
|
|
|
1
|
+
import e from "./dashboard.style.js";
|
|
2
|
+
import { FindingSection as t, LinksSection as n } from "./findings.js";
|
|
3
|
+
import { WorkerEnvironment as r } from "./worker-environment.js";
|
|
4
|
+
import { __s as i, bag8 as a, bagOf as o, child as s, clone as c, createScopedValue as l, hookSlots as u, setClassName as d, setEventHandler as f, sibling as p, template as m, useState as h } from "octane";
|
|
5
|
+
import { __delegateEvents as g, bagChildHole as _, bagDone as v, bagHole as y, bagRecord as b, commitHole as x, createElementFromConfig as S, deferRecord as C, enableHostDescriptors as w, isRenderCall as T, memoPublish as E, memoSlot as D, memoTake1 as O, setEventSlot as k, signalOwnerUse as A } from "octane/internal/client";
|
|
6
|
+
w(), g(["click"], [112]);
|
|
7
|
+
var j = /* @__PURE__ */ m("<main><header><div><span aria-hidden=true>C</span><div><p>Coreframe Dashboard</p><h1></h1></div></div><div><span></span><button>Refresh</button></div></header><section aria-labelledby=summary-title><div><p>Production readiness</p><h2 id=summary-title></h2><p>Diagnostics updated <!>.</p></div><dl><!><!><!></dl></section><div><!><!><!><!>"), M = /* @__PURE__ */ m("<div><dt></dt><dd>"), N = /* @__PURE__ */ u(3), P = /* @__PURE__ */ Symbol(N), F = /* @__PURE__ */ Symbol(N + 1), I = /* @__PURE__ */ Symbol(N + 2);
|
|
8
|
+
function L(e, t, n) {
|
|
9
|
+
let r;
|
|
10
|
+
(r = t[0]) !== e && (d(e.b, r), e.a = r), (r = t[1]) !== e && (d(e.d, r), e.c = r), (r = t[2]) !== e && (d(e.f, r), e.e = r), (r = t[3]) !== e && (d(e.h, r), e.g = r), (r = t[4]) !== e && (d(e.j, r), e.i = r), (r = t[5]) !== e && (d(e.l, r), e.k = r), (r = t[6]) !== e && (d(e.n, r), e.m = r), (r = t[7]) !== e && (d(e.p, r), e.o = r), (r = t[8]) !== e && (d(e.r, r), e.q = r), (r = t[9]) !== e && (n ? k(e.r, "$oclick", r) : e.r.$oclick = r), (r = t[10]) !== e && (d(e.t, r), e.s = r), (r = t[11]) !== e && (d(e.v, r), e.u = r), (r = t[12]) !== e && (d(e.x, r), e.w = r), (r = t[13]) !== e && (d(e.z, r), e.y = r), (r = t[14]) !== e && (d(e.B, r), e.A = r), (r = t[15]) !== e && (d(e.D, r), e.C = r), (r = t[16]) !== e && (e.E = x(e, t[17], e.E, r), e.F = r), (r = t[18]) !== e && (e.G = x(e, t[19], e.G, r), e.H = r), (r = t[20]) !== e && (e.I = x(e, t[21], e.I, r), e.J = r), (r = t[22]) !== e && (e.L = x(e, t[23], e.L, r), e.M = r), (r = t[24]) !== e && (e.O = x(e, t[25], e.O, r), e.P = r), (r = t[26]) !== e && (e.R = x(e, t[27], e.R, r), e.S = r), (r = t[28]) !== e && (e.U = x(e, t[29], e.U, r), e.V = r), (r = t[30]) !== e && (e.X = x(e, t[31], e.X, r), e.Y = r), (r = t[32]) !== e && (e.f52 = x(e, t[33], e.f52, r), e.f53 = r), (r = t[34]) !== e && (e.f55 = x(e, t[35], e.f55, r), e.f56 = r), (r = t[36]) !== e && (e.f58 = x(e, t[37], e.f58, r), e.f59 = r);
|
|
11
|
+
}
|
|
12
|
+
var R = /* @__PURE__ */ i(function(e, t, n) {
|
|
13
|
+
let r = t.slots[0], i = null;
|
|
14
|
+
if (r === void 0) {
|
|
15
|
+
let n, i, a, l, u, m, h, g, _ = c(j), v = s(_), y = s(v), b = s(y), x = s(p(b)), S = p(x), C = p(y), w = s(C), T = p(w);
|
|
16
|
+
f(T, "$oclick", e.h11);
|
|
17
|
+
let E = p(v), D = s(E), O = s(D), k = p(O), A = p(k), M = p(D), N = p(E);
|
|
18
|
+
n = p(s(A));
|
|
19
|
+
let P = s(M);
|
|
20
|
+
i = P;
|
|
21
|
+
let F = p(P);
|
|
22
|
+
a = F, l = p(F);
|
|
23
|
+
let I = s(N);
|
|
24
|
+
u = I;
|
|
25
|
+
let R = p(I);
|
|
26
|
+
m = R;
|
|
27
|
+
let z = p(R);
|
|
28
|
+
h = z, g = p(z), r = o(t, _, {
|
|
29
|
+
a: void 0,
|
|
30
|
+
b: _,
|
|
31
|
+
c: void 0,
|
|
32
|
+
d: v,
|
|
33
|
+
e: void 0,
|
|
34
|
+
f: y,
|
|
35
|
+
g: void 0,
|
|
36
|
+
h: b,
|
|
37
|
+
i: void 0,
|
|
38
|
+
j: x,
|
|
39
|
+
k: void 0,
|
|
40
|
+
l: S,
|
|
41
|
+
m: void 0,
|
|
42
|
+
n: C,
|
|
43
|
+
o: void 0,
|
|
44
|
+
p: w,
|
|
45
|
+
q: void 0,
|
|
46
|
+
r: T,
|
|
47
|
+
s: void 0,
|
|
48
|
+
t: E,
|
|
49
|
+
u: void 0,
|
|
50
|
+
v: O,
|
|
51
|
+
w: void 0,
|
|
52
|
+
x: k,
|
|
53
|
+
y: void 0,
|
|
54
|
+
z: A,
|
|
55
|
+
A: void 0,
|
|
56
|
+
B: M,
|
|
57
|
+
C: void 0,
|
|
58
|
+
D: N,
|
|
59
|
+
E: null,
|
|
60
|
+
F: t,
|
|
61
|
+
G: null,
|
|
62
|
+
H: t,
|
|
63
|
+
I: null,
|
|
64
|
+
J: t,
|
|
65
|
+
K: n,
|
|
66
|
+
L: null,
|
|
67
|
+
M: t,
|
|
68
|
+
N: i,
|
|
69
|
+
O: null,
|
|
70
|
+
P: t,
|
|
71
|
+
Q: a,
|
|
72
|
+
R: null,
|
|
73
|
+
S: t,
|
|
74
|
+
T: l,
|
|
75
|
+
U: null,
|
|
76
|
+
V: t,
|
|
77
|
+
W: u,
|
|
78
|
+
X: null,
|
|
79
|
+
Y: t,
|
|
80
|
+
Z: m,
|
|
81
|
+
f52: null,
|
|
82
|
+
f53: t,
|
|
83
|
+
f54: h,
|
|
84
|
+
f55: null,
|
|
85
|
+
f56: t,
|
|
86
|
+
f57: g,
|
|
87
|
+
f58: null,
|
|
88
|
+
f59: t,
|
|
89
|
+
$: 38,
|
|
90
|
+
next: L
|
|
91
|
+
});
|
|
92
|
+
{
|
|
93
|
+
let t = e.h0;
|
|
94
|
+
d(r.b, t), r.a = t;
|
|
95
|
+
}
|
|
96
|
+
{
|
|
97
|
+
let t = e.h1;
|
|
98
|
+
d(r.d, t), r.c = t;
|
|
99
|
+
}
|
|
100
|
+
{
|
|
101
|
+
let t = e.h2;
|
|
102
|
+
d(r.f, t), r.e = t;
|
|
103
|
+
}
|
|
104
|
+
{
|
|
105
|
+
let t = e.h3;
|
|
106
|
+
d(r.h, t), r.g = t;
|
|
107
|
+
}
|
|
108
|
+
{
|
|
109
|
+
let t = e.h4;
|
|
110
|
+
d(r.j, t), r.i = t;
|
|
111
|
+
}
|
|
112
|
+
{
|
|
113
|
+
let t = e.h5;
|
|
114
|
+
d(r.l, t), r.k = t;
|
|
115
|
+
}
|
|
116
|
+
{
|
|
117
|
+
let t = e.h7;
|
|
118
|
+
d(r.n, t), r.m = t;
|
|
119
|
+
}
|
|
120
|
+
{
|
|
121
|
+
let t = e.h8;
|
|
122
|
+
d(r.p, t), r.o = t;
|
|
123
|
+
}
|
|
124
|
+
{
|
|
125
|
+
let t = e.h10;
|
|
126
|
+
d(r.r, t), r.q = t;
|
|
127
|
+
}
|
|
128
|
+
{
|
|
129
|
+
let t = e.h12;
|
|
130
|
+
d(r.t, t), r.s = t;
|
|
131
|
+
}
|
|
132
|
+
{
|
|
133
|
+
let t = e.h13;
|
|
134
|
+
d(r.v, t), r.u = t;
|
|
135
|
+
}
|
|
136
|
+
{
|
|
137
|
+
let t = e.h14;
|
|
138
|
+
d(r.x, t), r.w = t;
|
|
139
|
+
}
|
|
140
|
+
{
|
|
141
|
+
let t = e.h16;
|
|
142
|
+
d(r.z, t), r.y = t;
|
|
143
|
+
}
|
|
144
|
+
{
|
|
145
|
+
let t = e.h18;
|
|
146
|
+
d(r.B, t), r.A = t;
|
|
147
|
+
}
|
|
148
|
+
{
|
|
149
|
+
let t = e.h22;
|
|
150
|
+
d(r.D, t), r.C = t;
|
|
151
|
+
}
|
|
152
|
+
} else {
|
|
153
|
+
let n = r.$ > 255, a = A.active;
|
|
154
|
+
{
|
|
155
|
+
let o = e.h11;
|
|
156
|
+
a && f(r.r), (n || o !== r.r.$oclick) && (i = b(t, i, 9, o, r.r.$oclick));
|
|
157
|
+
}
|
|
158
|
+
{
|
|
159
|
+
let a = e.h0;
|
|
160
|
+
(a !== r.a || n) && (i = b(t, i, 0, a, r.a));
|
|
161
|
+
}
|
|
162
|
+
{
|
|
163
|
+
let a = e.h1;
|
|
164
|
+
(a !== r.c || n) && (i = b(t, i, 1, a, r.c));
|
|
165
|
+
}
|
|
166
|
+
{
|
|
167
|
+
let a = e.h2;
|
|
168
|
+
(a !== r.e || n) && (i = b(t, i, 2, a, r.e));
|
|
169
|
+
}
|
|
170
|
+
{
|
|
171
|
+
let a = e.h3;
|
|
172
|
+
(a !== r.g || n) && (i = b(t, i, 3, a, r.g));
|
|
173
|
+
}
|
|
174
|
+
{
|
|
175
|
+
let a = e.h4;
|
|
176
|
+
(a !== r.i || n) && (i = b(t, i, 4, a, r.i));
|
|
177
|
+
}
|
|
178
|
+
{
|
|
179
|
+
let a = e.h5;
|
|
180
|
+
(a !== r.k || n) && (i = b(t, i, 5, a, r.k));
|
|
181
|
+
}
|
|
182
|
+
{
|
|
183
|
+
let a = e.h7;
|
|
184
|
+
(a !== r.m || n) && (i = b(t, i, 6, a, r.m));
|
|
185
|
+
}
|
|
186
|
+
{
|
|
187
|
+
let a = e.h8;
|
|
188
|
+
(a !== r.o || n) && (i = b(t, i, 7, a, r.o));
|
|
189
|
+
}
|
|
190
|
+
{
|
|
191
|
+
let a = e.h10;
|
|
192
|
+
(a !== r.q || n) && (i = b(t, i, 8, a, r.q));
|
|
193
|
+
}
|
|
194
|
+
{
|
|
195
|
+
let a = e.h12;
|
|
196
|
+
(a !== r.s || n) && (i = b(t, i, 10, a, r.s));
|
|
197
|
+
}
|
|
198
|
+
{
|
|
199
|
+
let a = e.h13;
|
|
200
|
+
(a !== r.u || n) && (i = b(t, i, 11, a, r.u));
|
|
201
|
+
}
|
|
202
|
+
{
|
|
203
|
+
let a = e.h14;
|
|
204
|
+
(a !== r.w || n) && (i = b(t, i, 12, a, r.w));
|
|
205
|
+
}
|
|
206
|
+
{
|
|
207
|
+
let a = e.h16;
|
|
208
|
+
(a !== r.y || n) && (i = b(t, i, 13, a, r.y));
|
|
209
|
+
}
|
|
210
|
+
{
|
|
211
|
+
let a = e.h18;
|
|
212
|
+
(a !== r.A || n) && (i = b(t, i, 14, a, r.A));
|
|
213
|
+
}
|
|
214
|
+
{
|
|
215
|
+
let a = e.h22;
|
|
216
|
+
(a !== r.C || n) && (i = b(t, i, 15, a, r.C));
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
r.$ >> 8 == 1 && (v(t, r), r.$ < 256 && (i = null)), i = _(r, i, 16, e.h6, r.F, r.E, t, 1, r.l), i = _(r, i, 18, e.h9, r.H, r.G, t, 2, r.p), i = _(r, i, 20, e.h15, r.J, r.I, t, 3, r.x), i = y(r, i, 22, e.h17, r.M, r.L, t, 4, r.z, r.K, !0), i = y(r, i, 24, e.h19, r.P, r.O, t, 5, r.B, r.N, !0), i = y(r, i, 26, e.h20, r.S, r.R, t, 6, r.B, r.Q, !0), i = y(r, i, 28, e.h21, r.V, r.U, t, 7, r.B, r.T, !0), i = y(r, i, 30, e.h23, r.Y, r.X, t, 8, r.D, r.W, !0), i = y(r, i, 32, e.h24, r.f53, r.f52, t, 9, r.D, r.Z, !0), i = y(r, i, 34, e.h25, r.f56, r.f55, t, 10, r.D, r.f54, !0), i = y(r, i, 36, e.h26, r.f59, r.f58, t, 11, r.D, r.f57, !0), r.$ >> 8 == 1 && v(t, r);
|
|
220
|
+
});
|
|
221
|
+
function z(i, a, o, s, c, u, d, f) {
|
|
222
|
+
return S("r:", R, {
|
|
223
|
+
h0: e.page,
|
|
224
|
+
h1: e.topbar,
|
|
225
|
+
h2: e.brand,
|
|
226
|
+
h3: e.brandMark,
|
|
227
|
+
h4: e.eyebrow,
|
|
228
|
+
h5: e.title,
|
|
229
|
+
h6: d,
|
|
230
|
+
h7: e.topbarActions,
|
|
231
|
+
h8: K(f.dashboard.headline.status),
|
|
232
|
+
h9: U[f.dashboard.headline.status],
|
|
233
|
+
h10: e.button,
|
|
234
|
+
h11: c,
|
|
235
|
+
h12: e.summary,
|
|
236
|
+
h13: e.eyebrow,
|
|
237
|
+
h14: e.summaryTitle,
|
|
238
|
+
h15: f.dashboard.headline.message,
|
|
239
|
+
h16: e.muted,
|
|
240
|
+
h17: J(f.snapshot.collectedAt),
|
|
241
|
+
h18: e.summaryFacts,
|
|
242
|
+
h19: S("c:4f995320", G, {
|
|
243
|
+
label: "First-release scope",
|
|
244
|
+
value: s.scope
|
|
245
|
+
}),
|
|
246
|
+
h20: S("c:3230f91c", G, {
|
|
247
|
+
label: "Product identity",
|
|
248
|
+
value: s.identity
|
|
249
|
+
}),
|
|
250
|
+
h21: S("c:65005bcd", G, {
|
|
251
|
+
label: "Legal and privacy",
|
|
252
|
+
value: s.legal
|
|
253
|
+
}),
|
|
254
|
+
h22: e.grid,
|
|
255
|
+
h23: S("c:08f9b462", r, { status: u.workerEnvironment }),
|
|
256
|
+
h24: S("c:23365a73", t, {
|
|
257
|
+
title: "Path to production",
|
|
258
|
+
description: "Decisions and human-owned work that remain before the first production release.",
|
|
259
|
+
findings: f.dashboard.launchItems,
|
|
260
|
+
emptyTitle: "No outstanding launch items",
|
|
261
|
+
emptyMessage: "Diagnostics found no unresolved production-readiness work.",
|
|
262
|
+
copiedAction: i,
|
|
263
|
+
copyError: a,
|
|
264
|
+
onCopy: o
|
|
265
|
+
}),
|
|
266
|
+
h25: f.dashboard.problems.length ? l(() => S("c:3d523c34", t, {
|
|
267
|
+
title: "Problems",
|
|
268
|
+
description: "Local or runtime problems that need investigation.",
|
|
269
|
+
findings: f.dashboard.problems,
|
|
270
|
+
emptyTitle: "No problems",
|
|
271
|
+
emptyMessage: "No problems were returned.",
|
|
272
|
+
copiedAction: i,
|
|
273
|
+
copyError: a,
|
|
274
|
+
onCopy: o
|
|
275
|
+
})) : null,
|
|
276
|
+
h26: f.dashboard.links.length ? l(() => S("c:f2954899", n, { links: f.dashboard.links })) : null
|
|
277
|
+
});
|
|
278
|
+
}
|
|
279
|
+
function B(e, t) {
|
|
280
|
+
let n;
|
|
281
|
+
(n = t[0]) !== e && (d(e.b, n), e.a = n), (n = t[1]) !== e && (e.d = x(e, t[2], e.d, n), e.e = n), (n = t[3]) !== e && (e.g = x(e, t[4], e.g, n), e.h = n);
|
|
282
|
+
}
|
|
283
|
+
var V = /* @__PURE__ */ i(function(e, t, n) {
|
|
284
|
+
let r = t.slots[0], i = null;
|
|
285
|
+
if (r === void 0) {
|
|
286
|
+
let n = c(M), i = s(n);
|
|
287
|
+
r = a(t, n, void 0, n, i, null, t, p(i), null, t, 5, B);
|
|
288
|
+
{
|
|
289
|
+
let t = e.h0;
|
|
290
|
+
d(r.b, t), r.a = t;
|
|
291
|
+
}
|
|
292
|
+
} else {
|
|
293
|
+
let n = r.$ > 255;
|
|
294
|
+
{
|
|
295
|
+
let a = e.h0;
|
|
296
|
+
(a !== r.a || n) && (i = b(t, i, 0, a, r.a));
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
r.$ >> 8 == 1 && (v(t, r), r.$ < 256 && (i = null)), i = _(r, i, 1, e.h1, r.e, r.d, t, 1, r.c), i = _(r, i, 3, e.h2, r.h, r.g, t, 2, r.f), r.$ >> 8 == 1 && v(t, r);
|
|
300
|
+
});
|
|
301
|
+
function H(t, n) {
|
|
302
|
+
return S("r:", V, {
|
|
303
|
+
h0: e.summaryFact,
|
|
304
|
+
h1: t,
|
|
305
|
+
h2: n
|
|
306
|
+
});
|
|
307
|
+
}
|
|
308
|
+
var U = {
|
|
309
|
+
ready: "No outstanding findings",
|
|
310
|
+
needs_setup: "Launch decisions needed",
|
|
311
|
+
broken_locally: "Diagnostics blocked",
|
|
312
|
+
not_deploy_ready: "Launch work remaining",
|
|
313
|
+
unknown: "Readiness incomplete"
|
|
314
|
+
};
|
|
315
|
+
function W({ payload: e, onRefresh: t }, n = void 0) {
|
|
316
|
+
let r, i, a, [o, s] = h(void 0, P), [c, l] = h(void 0, F), u = e.diagnostics, d = u.snapshot.facts.package?.name ?? "Unnamed project", f = (i = u, r = D(I), a = O(r, i), a === null ? E(r, q(u), i) : a.value);
|
|
317
|
+
async function p(e, t) {
|
|
318
|
+
try {
|
|
319
|
+
if (!navigator.clipboard) throw Error("Clipboard access is unavailable");
|
|
320
|
+
await navigator.clipboard.writeText(t), s(e), l(void 0);
|
|
321
|
+
} catch {
|
|
322
|
+
l(e);
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
return T(n) ? z(o, c, p, f, t, e, d, u) : C(z, o, c, p, f, t, e, d, u);
|
|
326
|
+
}
|
|
327
|
+
function G({ label: e, value: t }, n = void 0) {
|
|
328
|
+
return T(n) ? H(e, t) : C(H, e, t);
|
|
329
|
+
}
|
|
330
|
+
function K(t) {
|
|
331
|
+
return t === "ready" ? `${e.status} ${e.success}` : t === "broken_locally" ? `${e.status} ${e.danger}` : t === "unknown" ? `${e.status} ${e.neutral}` : `${e.status} ${e.warning}`;
|
|
332
|
+
}
|
|
333
|
+
function q(e) {
|
|
334
|
+
let t = e.snapshot.facts.launchReadiness;
|
|
335
|
+
if (!t) return {
|
|
336
|
+
scope: "Unknown",
|
|
337
|
+
identity: "Unknown",
|
|
338
|
+
legal: "Unknown"
|
|
339
|
+
};
|
|
340
|
+
let n = t.defaultIdentity.length + +(e.snapshot.facts.package?.name === "coreframe"), r = t.defaultLegalDocuments.length + +!t.privacyReviewRecorded;
|
|
341
|
+
return {
|
|
342
|
+
scope: t.productionChecklistExists ? "Recorded" : "Undecided",
|
|
343
|
+
identity: n === 0 ? "Personalized" : n === 1 ? "1 default remains" : `${n} defaults remain`,
|
|
344
|
+
legal: r === 0 ? "Reviewed" : `${r} item${r === 1 ? "" : "s"} pending`
|
|
345
|
+
};
|
|
346
|
+
}
|
|
347
|
+
function J(e) {
|
|
348
|
+
let t = new Date(e);
|
|
349
|
+
return Number.isNaN(t.valueOf()) ? "just now" : new Intl.DateTimeFormat(void 0, {
|
|
350
|
+
dateStyle: "medium",
|
|
351
|
+
timeStyle: "short"
|
|
352
|
+
}).format(t);
|
|
353
|
+
}
|
|
354
|
+
W.$$singleRoot = !0, G.$$singleRoot = !0;
|
|
355
|
+
//#endregion
|
|
356
|
+
export { W as DashboardPage };
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import e from "./dashboard.style.js";
|
|
2
|
+
import { EmptyState as t } from "../ui/index.js";
|
|
3
|
+
import { __s as n, bag9 as r, child as i, clone as a, setClassName as o, sibling as s, template as c } from "octane";
|
|
4
|
+
import { bagChildHole as l, bagDone as u, bagRecord as d, commitHole as f, createElementFromConfig as p, deferRecord as m, enableHostDescriptors as h, isRenderCall as g, setPlainAttribute as _ } from "octane/internal/client";
|
|
5
|
+
//#region src/web/dashboard/dashboard-section.tsx
|
|
6
|
+
h();
|
|
7
|
+
var v = /* @__PURE__ */ c("<header><h2></h2><p>");
|
|
8
|
+
function y(e, t) {
|
|
9
|
+
let n;
|
|
10
|
+
(n = t[0]) !== e && (o(e.b, n), e.a = n), (n = t[1]) !== e && (_(e.d, "id", n), e.c = n), (n = t[2]) !== e && (e.e = f(e, t[3], e.e, n), e.f = n), (n = t[4]) !== e && (e.h = f(e, t[5], e.h, n), e.i = n);
|
|
11
|
+
}
|
|
12
|
+
var b = /* @__PURE__ */ n(function(e, t, n) {
|
|
13
|
+
let c = t.slots[0], f = null;
|
|
14
|
+
if (c === void 0) {
|
|
15
|
+
let n = a(v), l = i(n);
|
|
16
|
+
c = r(t, n, void 0, n, void 0, l, null, t, s(l), null, t, 6, y);
|
|
17
|
+
{
|
|
18
|
+
let t = e.h0;
|
|
19
|
+
o(c.b, t), c.a = t;
|
|
20
|
+
}
|
|
21
|
+
{
|
|
22
|
+
let t = e.h1;
|
|
23
|
+
_(c.d, "id", t), c.c = t;
|
|
24
|
+
}
|
|
25
|
+
} else {
|
|
26
|
+
let n = c.$ > 255;
|
|
27
|
+
{
|
|
28
|
+
let r = e.h0;
|
|
29
|
+
(r !== c.a || n) && (f = d(t, f, 0, r, c.a));
|
|
30
|
+
}
|
|
31
|
+
{
|
|
32
|
+
let r = e.h1;
|
|
33
|
+
(r !== c.c || n) && (f = d(t, f, 1, r, c.c));
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
c.$ >> 8 == 1 && (u(t, c), c.$ < 256 && (f = null)), f = l(c, f, 2, e.h2, c.f, c.e, t, 1, c.d), f = l(c, f, 4, e.h3, c.i, c.h, t, 2, c.g), c.$ >> 8 == 1 && u(t, c);
|
|
37
|
+
});
|
|
38
|
+
function x(t, n) {
|
|
39
|
+
return p("r:", b, {
|
|
40
|
+
h0: e.sectionHeader,
|
|
41
|
+
h1: `${n}-title`,
|
|
42
|
+
h2: n,
|
|
43
|
+
h3: t
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
function S(n, r) {
|
|
47
|
+
return p("c:7c316b81", t, {
|
|
48
|
+
className: e.empty,
|
|
49
|
+
title: r,
|
|
50
|
+
message: n
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
function C({ title: e, description: t }, n = void 0) {
|
|
54
|
+
return g(n) ? x(t, e) : m(x, t, e);
|
|
55
|
+
}
|
|
56
|
+
function w({ title: e, message: t }, n = void 0) {
|
|
57
|
+
return g(n) ? S(t, e) : m(S, t, e);
|
|
58
|
+
}
|
|
59
|
+
C.$$singleRoot = !0;
|
|
60
|
+
//#endregion
|
|
61
|
+
export { w as EmptyState, C as SectionHeader };
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
//#region src/web/dashboard/dashboard.style.ts
|
|
2
|
+
var e = {
|
|
3
|
+
page: "w_min(76rem,_calc(100vw_-_2rem)) m_0_auto p_1.25rem_0_3rem md:p_2rem_0_4rem",
|
|
4
|
+
topbar: "d_flex ai_flex-start md:ai_center jc_space-between flex-d_column md:flex-d_row gap_1.25rem p_0_0.25rem_1.5rem",
|
|
5
|
+
brand: "d_flex ai_center gap_0.875rem",
|
|
6
|
+
brandMark: "d_grid w_2.625rem h_2.625rem place-items_center bdr_0.75rem bg_gray.900 c_white fs_1rem fw_750 bx-sh_0_5px_14px_rgb(32_33_38_/_0.16)",
|
|
7
|
+
topbarActions: "d_flex flex-wrap_wrap ai_center gap_0.625rem",
|
|
8
|
+
eyebrow: "m_0_0_0.2rem c_gray.600 fs_0.65rem fw_700 ls_0.1em tt_uppercase",
|
|
9
|
+
title: "m_0 fs_clamp(1.5rem,_4vw,_1.875rem) fw_700 ls_-0.035em lh_1.05",
|
|
10
|
+
button: "bd_1px_solid_token(colors.gray.300) bdr_0.625rem bg_white c_gray.900 p_0.5625rem_0.75rem fw_600 bx-sh_0_1px_2px_rgb(32_33_38_/_0.05) trs_border-color_150ms_ease,_box-shadow_150ms_ease,_transform_150ms_ease [&:hover]:bd-c_gray.500 [&:hover]:bx-sh_0_3px_8px_rgb(32_33_38_/_0.08) [&:hover]:trf_translateY(-1px) [&:focus-visible]:ring_3px_solid_rgb(91_91_214_/_0.22) [&:focus-visible]:ring-o_2px [&:disabled]:op_0.55",
|
|
11
|
+
primaryButton: "bd_1px_solid_token(colors.indigo.600) bdr_0.625rem bg_indigo.600 c_white p_0.5625rem_0.75rem fw_600 bx-sh_0_4px_10px_rgb(91_91_214_/_0.2) trs_filter_150ms_ease,_transform_150ms_ease [&:hover:not(:disabled)]:filter_brightness(0.94) [&:hover:not(:disabled)]:trf_translateY(-1px) [&:focus-visible]:ring_3px_solid_rgb(91_91_214_/_0.22) [&:focus-visible]:ring-o_2px [&:disabled]:bd-c_gray.300 [&:disabled]:bg_gray.100 [&:disabled]:c_gray.500 [&:disabled]:bx-sh_none [&:disabled]:op_1",
|
|
12
|
+
smallButton: "bd_1px_solid_token(colors.gray.300) bdr_0.5rem bg_white c_gray.900 p_0.4rem_0.625rem fs_0.75rem fw_600 trs_border-color_150ms_ease,_background_150ms_ease [&:hover]:bd-c_indigo.600 [&:hover]:bg_gray.100",
|
|
13
|
+
status: "d_inline-flex ai_center bdr_999px gap_0.4rem p_0.5rem_0.7rem fs_0.75rem fw_650 lh_1 white-space_nowrap [&::before]:w_0.4rem [&::before]:h_0.4rem [&::before]:bdr_50% [&::before]:bg_currentColor [&::before]:content_''",
|
|
14
|
+
success: "bg_green.50 c_green.700",
|
|
15
|
+
warning: "bg_yellow.50 c_yellow.700",
|
|
16
|
+
danger: "bg_red.50 c_red.700",
|
|
17
|
+
neutral: "bg_gray.100 c_gray.600",
|
|
18
|
+
summary: "pos_relative d_grid grid-tc_1fr md:grid-tc_minmax(0,_1.05fr)_minmax(21rem,_0.95fr) ai_center gap_1.5rem md:gap_2.5rem ov_hidden bd_1px_solid_token(colors.gray.200) bdr_1rem bg_linear-gradient(135deg,_#fff_20%,_#f8f7ff_100%) p_1.25rem md:p_1.75rem_2rem bx-sh_0_12px_35px_rgb(32_33_38_/_0.055) [&::after]:pos_absolute [&::after]:top_-5rem [&::after]:right_-3rem [&::after]:w_11rem [&::after]:h_11rem [&::after]:bdr_50% [&::after]:bg_rgb(91_91_214_/_0.06) [&::after]:content_'' [&::after]:pointer-events_none",
|
|
19
|
+
summaryTitle: "m_0 fs_clamp(1.4rem,_3vw,_1.8rem) fw_680 ls_-0.025em lh_1.2",
|
|
20
|
+
muted: "max-w_47.5rem m_0.5rem_0_0 c_gray.600 fs_0.875rem lh_1.55",
|
|
21
|
+
summaryFacts: "pos_relative z_1 d_grid grid-tc_1fr sm:grid-tc_repeat(3,_minmax(0,_1fr)) gap_0.625rem m_0",
|
|
22
|
+
summaryFact: "min-w_0 bd_1px_solid_rgb(229_228_223_/_0.9) bdr_0.75rem bg_rgb(255_255_255_/_0.8) p_0.875rem bx-sh_0_2px_10px_rgb(32_33_38_/_0.035) [&_dt]:c_gray.500 [&_dt]:fs_0.625rem [&_dt]:fw_700 [&_dt]:ls_0.035em [&_dt]:tt_uppercase [&_dd]:m_0.35rem_0_0 [&_dd]:fs_0.925rem [&_dd]:fw_650 [&_dd]:lh_1.3",
|
|
23
|
+
grid: "d_grid grid-tc_1fr md:grid-tc_repeat(2,_minmax(0,_1fr)) gap_1rem pt_1rem",
|
|
24
|
+
section: "min-w_0 grid-c_auto md:grid-c_1_/_-1 bd_1px_solid_token(colors.gray.200) bdr_1rem bg_white p_1.125rem md:p_1.375rem_1.5rem bx-sh_0_5px_18px_rgb(32_33_38_/_0.035)",
|
|
25
|
+
sectionHeader: "mb_1rem [&_h2]:m_0 [&_h2]:fs_1.05rem [&_h2]:fw_680 [&_h2]:ls_-0.015em [&_p]:m_0.3rem_0_0 [&_p]:c_gray.600 [&_p]:fs_0.8125rem [&_p]:lh_1.45",
|
|
26
|
+
environmentNotice: "m_0.75rem_0 bdr_0.625rem bg_yellow.50 c_yellow.700 p_0.625rem_0.75rem fs_0.75rem lh_1.45",
|
|
27
|
+
environmentTableFrame: "ov-x_auto",
|
|
28
|
+
environmentTable: "w_100% bd-cl_collapse ta_left [&_th,_&_td]:bd-t_1px_solid_token(colors.gray.200) [&_th,_&_td]:p_0.75rem [&_th,_&_td]:va_top [&_th,_&_td]:fs_0.75rem [&_thead_th]:bd-t_0 [&_thead_th]:c_gray.500 [&_thead_th]:fs_0.65rem [&_thead_th]:fw_700 [&_thead_th]:ls_0.04em [&_thead_th]:tt_uppercase [&_tbody_th]:min-w_16rem [&_tbody_th]:fw_600 [&_code]:fs_0.75rem [&_tbody_th_span]:d_block [&_tbody_th_span]:max-w_28rem [&_tbody_th_span]:mt_0.25rem [&_tbody_th_span]:c_gray.600 [&_tbody_th_span]:fw_400 [&_tbody_th_span]:lh_1.4",
|
|
29
|
+
environmentState: "d_inline-flex bdr_999px bg_gray.100 c_gray.600 p_0.3125rem_0.5rem fs_0.6875rem fw_650 lh_1 white-space_nowrap",
|
|
30
|
+
environmentStateOk: "bg_green.50 c_green.700",
|
|
31
|
+
environmentStateMissing: "bg_red.50 c_red.700",
|
|
32
|
+
environmentStatePending: "bg_yellow.50 c_yellow.800",
|
|
33
|
+
list: "li-s_none m_0 p_0",
|
|
34
|
+
empty: "bd-t_1px_solid_token(colors.gray.200) pt_0.875rem [&_strong]:fs_0.8125rem [&_p]:m_0.25rem_0_0 [&_p]:c_gray.600 [&_p]:fs_0.8125rem",
|
|
35
|
+
error: "m_0.75rem_0_0 c_red.700 fs_0.8125rem",
|
|
36
|
+
findingRow: "bd-t_1px_solid_token(colors.gray.200) p_1.125rem_0 [&:first-child]:bd-t_0 [&:first-child]:pt_0.125rem [&:last-child]:pb_0.125rem",
|
|
37
|
+
findingTitle: "d_flex ai_center flex-wrap_wrap gap_0.5rem [&_h3]:m_0 [&_h3]:fs_0.9rem [&_h3]:fw_650",
|
|
38
|
+
findingArea: "c_gray.500 fs_0.6875rem fw_700 ls_0.04em tt_uppercase white-space_nowrap",
|
|
39
|
+
findingStatus: "d_inline-flex ml_auto bdr_999px p_0.3125rem_0.5rem fs_0.75rem fw_650 lh_1 white-space_nowrap",
|
|
40
|
+
dot: "w_0.4375rem h_0.4375rem flex_0_0_auto bdr_50%",
|
|
41
|
+
successDot: "bg_green.700",
|
|
42
|
+
warningDot: "bg_yellow.700",
|
|
43
|
+
dangerDot: "bg_red.700",
|
|
44
|
+
evidence: "d_flex flex-wrap_wrap gap_0.375rem_1.125rem m_0.625rem_0_0_0.9375rem [&_>_div]:d_flex [&_>_div]:ai_baseline [&_>_div]:gap_0.3125rem [&_dt]:c_gray.500 [&_dt]:fs_0.6875rem [&_dt]:fw_700 [&_dt]:tt_uppercase [&_dd]:m_0 [&_dd]:fs_0.75rem [&_dd]:fw_600",
|
|
45
|
+
actions: "d_grid gap_0.5rem m_0.75rem_0_0_0.9375rem [&_a]:w_fit-content [&_a]:c_indigo.600 [&_a]:fs_0.8125rem [&_a]:fw_600",
|
|
46
|
+
action: "d_flex ai_center flex-wrap_wrap gap_0.5rem [&_>_span:first-child]:fs_0.8125rem [&_>_span:first-child]:fw_600",
|
|
47
|
+
linkRow: "bd-t_1px_solid_token(colors.gray.200) [&:first-child]:bd-t_0 [&_a]:d_flex [&_a]:ai_center [&_a]:jc_space-between [&_a]:gap_1rem [&_a]:p_0.6875rem_0 [&_a]:c_indigo.600 [&_a]:fw_600 [&_a]:td_none [&_a]:[&:hover]:td_underline"
|
|
48
|
+
};
|
|
49
|
+
//#endregion
|
|
50
|
+
export { e as default };
|