@coreframe/dashboard 0.4.0-next.3 → 3.0.0-beta.1
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 +22 -10
- 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 +2 -4
- 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 +26 -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,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 };
|
|
@@ -0,0 +1,376 @@
|
|
|
1
|
+
import e from "./dashboard.style.js";
|
|
2
|
+
import { SectionHeader as t } from "./dashboard-section.js";
|
|
3
|
+
import { __s as n, bag13 as r, bag8 as i, bagOf as a, child as o, clone as s, createScopedElement as c, createScopedValue as l, htext as u, htextSwap as d, mapSlot as f, positionalChildren as p, setClassName as m, setEventHandler as h, setText as g, sibling as _, template as v } from "octane";
|
|
4
|
+
import { __delegateEvents as y, bagChildHole as b, bagDone as x, bagHole as S, bagRecord as C, commitHole as w, createElementFromConfig as T, createHostElement as E, deferRecord as D, enableHostDescriptors as O, isRenderCall as k, setEventSlot as A, signalOwnerUse as j } from "octane/internal/client";
|
|
5
|
+
O(), y(["click"], [112]);
|
|
6
|
+
var M = /* @__PURE__ */ v("<tr><th scope=row><code></code><span></span></th><td></td><td><span> "), N = /* @__PURE__ */ v("<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=deployment-title><div><p>Deployed Worker</p><h2 id=deployment-title><!> deployment</h2><p>Read-only release identity and required Worker configuration.</p></div><dl><!><!><!></dl></section><div><section aria-labelledby=configuration-title><!><div><table><thead><tr><th scope=col>Name</th><th scope=col>Kind</th><th scope=col>Status</th></tr></thead><tbody><!></tbody></table></div></section><!>"), P = /* @__PURE__ */ v("<div><dt></dt><dd>"), F = (e) => e.name;
|
|
7
|
+
function I(e, t) {
|
|
8
|
+
let n;
|
|
9
|
+
(n = t[0]) !== e && (m(e.b, n), e.a = n), (n = t[1]) !== e && (g(e.c, n), e.d = n), (n = t[2]) !== e && (e.f = w(e, t[3], e.f, n), e.g = n), (n = t[4]) !== e && (e.i = w(e, t[5], e.i, n), e.j = n), (n = t[6]) !== e && (e.l = w(e, t[7], e.l, n), e.m = n);
|
|
10
|
+
}
|
|
11
|
+
function L(t, n, i) {
|
|
12
|
+
let a = n.slots[0], c = null;
|
|
13
|
+
if (a === void 0) {
|
|
14
|
+
let i, c, l = s(M), d = o(_(o(l), 2));
|
|
15
|
+
i = u(d, c = t.status === "configured" ? "Configured" : "Missing", 1);
|
|
16
|
+
let f = o(l), p = o(f), h = _(p), g = _(f);
|
|
17
|
+
a = r(n, l, void 0, d, i, c, p, null, n, h, null, n, g, null, n, 8, I);
|
|
18
|
+
{
|
|
19
|
+
let n = `${e.environmentState} ${t.status === "configured" ? e.environmentStateOk : e.environmentStateMissing}`;
|
|
20
|
+
m(a.b, n), a.a = n;
|
|
21
|
+
}
|
|
22
|
+
} else {
|
|
23
|
+
let r = a.$ > 255;
|
|
24
|
+
{
|
|
25
|
+
let e = t.status === "configured" ? "Configured" : "Missing";
|
|
26
|
+
(e !== a.d || r) && (c = C(n, c, 1, e, a.d));
|
|
27
|
+
}
|
|
28
|
+
{
|
|
29
|
+
let i = `${e.environmentState} ${t.status === "configured" ? e.environmentStateOk : e.environmentStateMissing}`;
|
|
30
|
+
(i !== a.a || r) && (c = C(n, c, 0, i, a.a));
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
a.$ >> 8 == 1 && (x(n, a), a.$ < 256 && (c = null)), c = b(a, c, 2, t.name, a.g, a.f, n, 1, a.e), c = b(a, c, 4, t.description, a.j, a.i, n, 2, a.h), c = b(a, c, 6, t.kind, a.m, a.l, n, 3, a.k), a.$ >> 8 == 1 && x(n, a);
|
|
34
|
+
}
|
|
35
|
+
function R(e, t, n) {
|
|
36
|
+
let r;
|
|
37
|
+
(r = t[0]) !== e && (m(e.b, r), e.a = r), (r = t[1]) !== e && (m(e.d, r), e.c = r), (r = t[2]) !== e && (m(e.f, r), e.e = r), (r = t[3]) !== e && (m(e.h, r), e.g = r), (r = t[4]) !== e && (m(e.j, r), e.i = r), (r = t[5]) !== e && (m(e.l, r), e.k = r), (r = t[6]) !== e && (m(e.n, r), e.m = r), (r = t[7]) !== e && (m(e.p, r), e.o = r), (r = t[8]) !== e && (g(e.q, r), e.r = r), (r = t[9]) !== e && (m(e.t, r), e.s = r), (r = t[10]) !== e && (n ? A(e.t, "$oclick", r) : e.t.$oclick = r), (r = t[11]) !== e && (m(e.v, r), e.u = r), (r = t[12]) !== e && (m(e.x, r), e.w = r), (r = t[13]) !== e && (m(e.z, r), e.y = r), (r = t[14]) !== e && (g(e.A, r), e.B = r), (r = t[15]) !== e && (m(e.D, r), e.C = r), (r = t[16]) !== e && (m(e.F, r), e.E = r), (r = t[17]) !== e && (m(e.H, r), e.G = r), (r = t[18]) !== e && (m(e.J, r), e.I = r), (r = t[19]) !== e && (m(e.L, r), e.K = r), (r = t[20]) !== e && (m(e.N, r), e.M = r), (r = t[21]) !== e && (e.Q = w(e, t[22], e.Q, r), e.R = r), (r = t[23]) !== e && (e.T = w(e, t[24], e.T, r), e.U = r), (r = t[25]) !== e && (e.W = w(e, t[26], e.W, r), e.X = r), (r = t[27]) !== e && (e.Z = w(e, t[28], e.Z, r), e.f52 = r), (r = t[29]) !== e && (e.f54 = w(e, t[30], e.f54, r), e.f55 = r), (r = t[31]) !== e && (e.f57 = w(e, t[32], e.f57, r), e.f58 = r);
|
|
38
|
+
}
|
|
39
|
+
var z = /* @__PURE__ */ n(function(e, t, n) {
|
|
40
|
+
let r = t.slots[0], i = null;
|
|
41
|
+
if (r === void 0) {
|
|
42
|
+
let n, i, c, l, f, p, g, v, y, b, x = s(N), S = o(x), C = o(S), w = o(C), T = o(_(w)), E = _(T), D = _(C), O = o(D);
|
|
43
|
+
n = u(O, i = e.h9, 1);
|
|
44
|
+
let k = _(O);
|
|
45
|
+
h(k, "$oclick", e.h11);
|
|
46
|
+
let A = _(S), j = o(A), M = o(j), P = _(M), F = o(P), I = _(P), L = _(j), z = _(A), B = o(z), V = _(o(B)), H = o(V), U = _(o(H));
|
|
47
|
+
f = o(U);
|
|
48
|
+
let W = o(L);
|
|
49
|
+
p = W;
|
|
50
|
+
let G = _(W);
|
|
51
|
+
g = G, v = _(G), y = o(B), b = _(B), c = d(F, l = e.h15), r = a(t, x, {
|
|
52
|
+
a: void 0,
|
|
53
|
+
b: x,
|
|
54
|
+
c: void 0,
|
|
55
|
+
d: S,
|
|
56
|
+
e: void 0,
|
|
57
|
+
f: C,
|
|
58
|
+
g: void 0,
|
|
59
|
+
h: w,
|
|
60
|
+
i: void 0,
|
|
61
|
+
j: T,
|
|
62
|
+
k: void 0,
|
|
63
|
+
l: E,
|
|
64
|
+
m: void 0,
|
|
65
|
+
n: D,
|
|
66
|
+
o: void 0,
|
|
67
|
+
p: O,
|
|
68
|
+
q: n,
|
|
69
|
+
r: i,
|
|
70
|
+
s: void 0,
|
|
71
|
+
t: k,
|
|
72
|
+
u: void 0,
|
|
73
|
+
v: A,
|
|
74
|
+
w: void 0,
|
|
75
|
+
x: M,
|
|
76
|
+
y: void 0,
|
|
77
|
+
z: P,
|
|
78
|
+
A: c,
|
|
79
|
+
B: l,
|
|
80
|
+
C: void 0,
|
|
81
|
+
D: I,
|
|
82
|
+
E: void 0,
|
|
83
|
+
F: L,
|
|
84
|
+
G: void 0,
|
|
85
|
+
H: z,
|
|
86
|
+
I: void 0,
|
|
87
|
+
J: B,
|
|
88
|
+
K: void 0,
|
|
89
|
+
L: V,
|
|
90
|
+
M: void 0,
|
|
91
|
+
N: H,
|
|
92
|
+
O: U,
|
|
93
|
+
P: f,
|
|
94
|
+
Q: null,
|
|
95
|
+
R: t,
|
|
96
|
+
S: p,
|
|
97
|
+
T: null,
|
|
98
|
+
U: t,
|
|
99
|
+
V: g,
|
|
100
|
+
W: null,
|
|
101
|
+
X: t,
|
|
102
|
+
Y: v,
|
|
103
|
+
Z: null,
|
|
104
|
+
f52: t,
|
|
105
|
+
f53: y,
|
|
106
|
+
f54: null,
|
|
107
|
+
f55: t,
|
|
108
|
+
f56: b,
|
|
109
|
+
f57: null,
|
|
110
|
+
f58: t,
|
|
111
|
+
$: 33,
|
|
112
|
+
next: R
|
|
113
|
+
});
|
|
114
|
+
{
|
|
115
|
+
let t = e.h0;
|
|
116
|
+
m(r.b, t), r.a = t;
|
|
117
|
+
}
|
|
118
|
+
{
|
|
119
|
+
let t = e.h1;
|
|
120
|
+
m(r.d, t), r.c = t;
|
|
121
|
+
}
|
|
122
|
+
{
|
|
123
|
+
let t = e.h2;
|
|
124
|
+
m(r.f, t), r.e = t;
|
|
125
|
+
}
|
|
126
|
+
{
|
|
127
|
+
let t = e.h3;
|
|
128
|
+
m(r.h, t), r.g = t;
|
|
129
|
+
}
|
|
130
|
+
{
|
|
131
|
+
let t = e.h4;
|
|
132
|
+
m(r.j, t), r.i = t;
|
|
133
|
+
}
|
|
134
|
+
{
|
|
135
|
+
let t = e.h5;
|
|
136
|
+
m(r.l, t), r.k = t;
|
|
137
|
+
}
|
|
138
|
+
{
|
|
139
|
+
let t = e.h7;
|
|
140
|
+
m(r.n, t), r.m = t;
|
|
141
|
+
}
|
|
142
|
+
{
|
|
143
|
+
let t = e.h8;
|
|
144
|
+
m(r.p, t), r.o = t;
|
|
145
|
+
}
|
|
146
|
+
{
|
|
147
|
+
let t = e.h10;
|
|
148
|
+
m(r.t, t), r.s = t;
|
|
149
|
+
}
|
|
150
|
+
{
|
|
151
|
+
let t = e.h12;
|
|
152
|
+
m(r.v, t), r.u = t;
|
|
153
|
+
}
|
|
154
|
+
{
|
|
155
|
+
let t = e.h13;
|
|
156
|
+
m(r.x, t), r.w = t;
|
|
157
|
+
}
|
|
158
|
+
{
|
|
159
|
+
let t = e.h14;
|
|
160
|
+
m(r.z, t), r.y = t;
|
|
161
|
+
}
|
|
162
|
+
{
|
|
163
|
+
let t = e.h16;
|
|
164
|
+
m(r.D, t), r.C = t;
|
|
165
|
+
}
|
|
166
|
+
{
|
|
167
|
+
let t = e.h17;
|
|
168
|
+
m(r.F, t), r.E = t;
|
|
169
|
+
}
|
|
170
|
+
{
|
|
171
|
+
let t = e.h21;
|
|
172
|
+
m(r.H, t), r.G = t;
|
|
173
|
+
}
|
|
174
|
+
{
|
|
175
|
+
let t = e.h22;
|
|
176
|
+
m(r.J, t), r.I = t;
|
|
177
|
+
}
|
|
178
|
+
{
|
|
179
|
+
let t = e.h24;
|
|
180
|
+
m(r.L, t), r.K = t;
|
|
181
|
+
}
|
|
182
|
+
{
|
|
183
|
+
let t = e.h25;
|
|
184
|
+
m(r.N, t), r.M = t;
|
|
185
|
+
}
|
|
186
|
+
} else {
|
|
187
|
+
let n = r.$ > 255, a = j.active;
|
|
188
|
+
{
|
|
189
|
+
let a = e.h9;
|
|
190
|
+
(a !== r.r || n) && (i = C(t, i, 8, a, r.r));
|
|
191
|
+
}
|
|
192
|
+
{
|
|
193
|
+
let o = e.h11;
|
|
194
|
+
a && h(r.t), (n || o !== r.t.$oclick) && (i = C(t, i, 10, o, r.t.$oclick));
|
|
195
|
+
}
|
|
196
|
+
{
|
|
197
|
+
let a = e.h15;
|
|
198
|
+
(a !== r.B || n) && (i = C(t, i, 14, a, r.B));
|
|
199
|
+
}
|
|
200
|
+
{
|
|
201
|
+
let a = e.h0;
|
|
202
|
+
(a !== r.a || n) && (i = C(t, i, 0, a, r.a));
|
|
203
|
+
}
|
|
204
|
+
{
|
|
205
|
+
let a = e.h1;
|
|
206
|
+
(a !== r.c || n) && (i = C(t, i, 1, a, r.c));
|
|
207
|
+
}
|
|
208
|
+
{
|
|
209
|
+
let a = e.h2;
|
|
210
|
+
(a !== r.e || n) && (i = C(t, i, 2, a, r.e));
|
|
211
|
+
}
|
|
212
|
+
{
|
|
213
|
+
let a = e.h3;
|
|
214
|
+
(a !== r.g || n) && (i = C(t, i, 3, a, r.g));
|
|
215
|
+
}
|
|
216
|
+
{
|
|
217
|
+
let a = e.h4;
|
|
218
|
+
(a !== r.i || n) && (i = C(t, i, 4, a, r.i));
|
|
219
|
+
}
|
|
220
|
+
{
|
|
221
|
+
let a = e.h5;
|
|
222
|
+
(a !== r.k || n) && (i = C(t, i, 5, a, r.k));
|
|
223
|
+
}
|
|
224
|
+
{
|
|
225
|
+
let a = e.h7;
|
|
226
|
+
(a !== r.m || n) && (i = C(t, i, 6, a, r.m));
|
|
227
|
+
}
|
|
228
|
+
{
|
|
229
|
+
let a = e.h8;
|
|
230
|
+
(a !== r.o || n) && (i = C(t, i, 7, a, r.o));
|
|
231
|
+
}
|
|
232
|
+
{
|
|
233
|
+
let a = e.h10;
|
|
234
|
+
(a !== r.s || n) && (i = C(t, i, 9, a, r.s));
|
|
235
|
+
}
|
|
236
|
+
{
|
|
237
|
+
let a = e.h12;
|
|
238
|
+
(a !== r.u || n) && (i = C(t, i, 11, a, r.u));
|
|
239
|
+
}
|
|
240
|
+
{
|
|
241
|
+
let a = e.h13;
|
|
242
|
+
(a !== r.w || n) && (i = C(t, i, 12, a, r.w));
|
|
243
|
+
}
|
|
244
|
+
{
|
|
245
|
+
let a = e.h14;
|
|
246
|
+
(a !== r.y || n) && (i = C(t, i, 13, a, r.y));
|
|
247
|
+
}
|
|
248
|
+
{
|
|
249
|
+
let a = e.h16;
|
|
250
|
+
(a !== r.C || n) && (i = C(t, i, 15, a, r.C));
|
|
251
|
+
}
|
|
252
|
+
{
|
|
253
|
+
let a = e.h17;
|
|
254
|
+
(a !== r.E || n) && (i = C(t, i, 16, a, r.E));
|
|
255
|
+
}
|
|
256
|
+
{
|
|
257
|
+
let a = e.h21;
|
|
258
|
+
(a !== r.G || n) && (i = C(t, i, 17, a, r.G));
|
|
259
|
+
}
|
|
260
|
+
{
|
|
261
|
+
let a = e.h22;
|
|
262
|
+
(a !== r.I || n) && (i = C(t, i, 18, a, r.I));
|
|
263
|
+
}
|
|
264
|
+
{
|
|
265
|
+
let a = e.h24;
|
|
266
|
+
(a !== r.K || n) && (i = C(t, i, 19, a, r.K));
|
|
267
|
+
}
|
|
268
|
+
{
|
|
269
|
+
let a = e.h25;
|
|
270
|
+
(a !== r.M || n) && (i = C(t, i, 20, a, r.M));
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
r.$ >> 8 == 1 && (x(t, r), r.$ < 256 && (i = null)), f(t, 1, r.O, e.h26, e.h27, e.h28, F, L, 27, void 0, r.P, 1), i = b(r, i, 21, e.h6, r.R, r.Q, t, 2, r.l), i = S(r, i, 23, e.h18, r.U, r.T, t, 3, r.F, r.S, !0), i = S(r, i, 25, e.h19, r.X, r.W, t, 4, r.F, r.V, !0), i = S(r, i, 27, e.h20, r.f52, r.Z, t, 5, r.F, r.Y, !0), i = S(r, i, 29, e.h23, r.f55, r.f54, t, 6, r.J, r.f53, !0), i = S(r, i, 31, e.h29, r.f58, r.f57, t, 7, r.H, r.f56, !0), r.$ >> 8 == 1 && x(t, r);
|
|
274
|
+
});
|
|
275
|
+
function B(n, r, i, a, o) {
|
|
276
|
+
return T("r:", z, {
|
|
277
|
+
h0: e.page,
|
|
278
|
+
h1: e.topbar,
|
|
279
|
+
h2: e.brand,
|
|
280
|
+
h3: e.brandMark,
|
|
281
|
+
h4: e.eyebrow,
|
|
282
|
+
h5: e.title,
|
|
283
|
+
h6: o.release.applicationName,
|
|
284
|
+
h7: e.topbarActions,
|
|
285
|
+
h8: `${e.status} ${i.length ? e.warning : e.success}`,
|
|
286
|
+
h9: i.length ? `${i.length} missing` : "Configuration ready",
|
|
287
|
+
h10: e.button,
|
|
288
|
+
h11: a,
|
|
289
|
+
h12: e.summary,
|
|
290
|
+
h13: e.eyebrow,
|
|
291
|
+
h14: e.summaryTitle,
|
|
292
|
+
h15: o.environment === "production" ? "Production" : "Staging",
|
|
293
|
+
h16: e.muted,
|
|
294
|
+
h17: e.summaryFacts,
|
|
295
|
+
h18: T("c:50554889", G, {
|
|
296
|
+
label: "Application",
|
|
297
|
+
value: o.release.applicationVersion ?? "Unknown"
|
|
298
|
+
}),
|
|
299
|
+
h19: T("c:3e8af228", G, {
|
|
300
|
+
label: "Coreframe",
|
|
301
|
+
value: o.release.coreframeVersion ?? "Unknown"
|
|
302
|
+
}),
|
|
303
|
+
h20: T("c:52a3ab3a", G, {
|
|
304
|
+
label: "Release",
|
|
305
|
+
value: o.release.releaseName ?? o.release.cloudflareVersionTag ?? "Unknown"
|
|
306
|
+
}),
|
|
307
|
+
h21: e.grid,
|
|
308
|
+
h22: e.section,
|
|
309
|
+
h23: T("c:e11bbe32", t, {
|
|
310
|
+
title: "Worker configuration",
|
|
311
|
+
description: "Required values are checked by presence only. Secret and variable values are never returned."
|
|
312
|
+
}),
|
|
313
|
+
h24: e.environmentTableFrame,
|
|
314
|
+
h25: e.environmentTable,
|
|
315
|
+
h26: (n = o.configuration, r = n.map, n),
|
|
316
|
+
h27: r,
|
|
317
|
+
h28: (t) => c("tr", { key: t.name }, () => p([
|
|
318
|
+
c("th", { scope: "row" }, () => p([c("code", {}, () => t.name), c("span", {}, () => t.description)])),
|
|
319
|
+
c("td", {}, () => t.kind),
|
|
320
|
+
c("td", {}, () => l(() => c("span", { className: `${e.environmentState} ${t.status === "configured" ? e.environmentStateOk : e.environmentStateMissing}` }, () => t.status === "configured" ? "Configured" : "Missing")))
|
|
321
|
+
])),
|
|
322
|
+
h29: o.links.length ? l(() => c("section", {
|
|
323
|
+
className: e.section,
|
|
324
|
+
"aria-labelledby": "links-title"
|
|
325
|
+
}, () => p([T("c:5907b797", t, {
|
|
326
|
+
title: "Helpful links",
|
|
327
|
+
description: "Configured deployment resources."
|
|
328
|
+
}), l(() => c("ul", { className: e.list }, () => o.links.map((t) => c("li", {
|
|
329
|
+
className: e.linkRow,
|
|
330
|
+
key: t.id
|
|
331
|
+
}, () => l(() => c("a", {
|
|
332
|
+
href: t.href,
|
|
333
|
+
rel: "noreferrer",
|
|
334
|
+
target: "_blank"
|
|
335
|
+
}, () => p([c("span", {}, () => t.label), E("span", { "aria-hidden": "true" }, "→")])))))))]))) : null
|
|
336
|
+
});
|
|
337
|
+
}
|
|
338
|
+
function V(e, t) {
|
|
339
|
+
let n;
|
|
340
|
+
(n = t[0]) !== e && (m(e.b, n), e.a = n), (n = t[1]) !== e && (e.d = w(e, t[2], e.d, n), e.e = n), (n = t[3]) !== e && (e.g = w(e, t[4], e.g, n), e.h = n);
|
|
341
|
+
}
|
|
342
|
+
var H = /* @__PURE__ */ n(function(e, t, n) {
|
|
343
|
+
let r = t.slots[0], a = null;
|
|
344
|
+
if (r === void 0) {
|
|
345
|
+
let n = s(P), a = o(n);
|
|
346
|
+
r = i(t, n, void 0, n, a, null, t, _(a), null, t, 5, V);
|
|
347
|
+
{
|
|
348
|
+
let t = e.h0;
|
|
349
|
+
m(r.b, t), r.a = t;
|
|
350
|
+
}
|
|
351
|
+
} else {
|
|
352
|
+
let n = r.$ > 255;
|
|
353
|
+
{
|
|
354
|
+
let i = e.h0;
|
|
355
|
+
(i !== r.a || n) && (a = C(t, a, 0, i, r.a));
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
r.$ >> 8 == 1 && (x(t, r), r.$ < 256 && (a = null)), a = b(r, a, 1, e.h1, r.e, r.d, t, 1, r.c), a = b(r, a, 3, e.h2, r.h, r.g, t, 2, r.f), r.$ >> 8 == 1 && x(t, r);
|
|
359
|
+
});
|
|
360
|
+
function U(t, n) {
|
|
361
|
+
return T("r:", H, {
|
|
362
|
+
h0: e.summaryFact,
|
|
363
|
+
h1: t,
|
|
364
|
+
h2: n
|
|
365
|
+
});
|
|
366
|
+
}
|
|
367
|
+
function W({ payload: e, onRefresh: t }, n = void 0) {
|
|
368
|
+
let r = e.configuration.filter((e) => e.status === "missing");
|
|
369
|
+
return k(n) ? B(void 0, void 0, r, t, e) : D(B, void 0, void 0, r, t, e);
|
|
370
|
+
}
|
|
371
|
+
function G({ label: e, value: t }, n = void 0) {
|
|
372
|
+
return k(n) ? U(e, t) : D(U, e, t);
|
|
373
|
+
}
|
|
374
|
+
W.$$singleRoot = !0, G.$$singleRoot = !0;
|
|
375
|
+
//#endregion
|
|
376
|
+
export { W as DeployedDashboardPage };
|