@burdenoff/microfe-sandbox 2026.525.3 → 2026.528.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/dist/sandbox/components/CountdownTimer.js +39 -47
- package/dist/sandbox/components/CountdownTimer.js.map +1 -1
- package/dist/sandbox/components/ExportSandboxesDialog.js +62 -60
- package/dist/sandbox/components/ExportSandboxesDialog.js.map +1 -1
- package/dist/sandbox/components/ExtendTTLModal.js +8 -2
- package/dist/sandbox/components/ExtendTTLModal.js.map +1 -1
- package/dist/sandbox/components/FilesFolderPicker.js +53 -53
- package/dist/sandbox/components/FilesFolderPicker.js.map +1 -1
- package/dist/sandbox/components/PageLayout.js +16 -24
- package/dist/sandbox/components/PageLayout.js.map +1 -1
- package/dist/sandbox/components/RouteUtils.js +3 -3
- package/dist/sandbox/components/RouteUtils.js.map +1 -1
- package/dist/sandbox/components/SandboxActivityTab.js +0 -2
- package/dist/sandbox/components/SandboxActivityTab.js.map +1 -1
- package/dist/sandbox/components/SandboxUsageBanner.js +1 -2
- package/dist/sandbox/components/SandboxUsageBanner.js.map +1 -1
- package/dist/sandbox/components/StatusBadge.js +1 -2
- package/dist/sandbox/components/StatusBadge.js.map +1 -1
- package/dist/sandbox/components/TagsInput.js +2 -2
- package/dist/sandbox/components/TagsInput.js.map +1 -1
- package/dist/sandbox/pages/AdminPage.js +82 -78
- package/dist/sandbox/pages/AdminPage.js.map +1 -1
- package/dist/sandbox/pages/AdminTemplatesPage.js +1 -1
- package/dist/sandbox/pages/AdminTemplatesPage.js.map +1 -1
- package/dist/sandbox/pages/SandboxCreatePage.js +513 -463
- package/dist/sandbox/pages/SandboxCreatePage.js.map +1 -1
- package/dist/sandbox/pages/SandboxDetailPage.js +374 -339
- package/dist/sandbox/pages/SandboxDetailPage.js.map +1 -1
- package/dist/sandbox/pages/SandboxListPage.js +2 -1
- package/dist/sandbox/pages/SandboxListPage.js.map +1 -1
- package/dist/sandbox/pages/TemplateDetailPage.js +199 -150
- package/dist/sandbox/pages/TemplateDetailPage.js.map +1 -1
- package/dist/sandbox/pages/UserTemplatesPage.js +1 -1
- package/dist/sandbox/pages/UserTemplatesPage.js.map +1 -1
- package/dist/sandbox/providers/SandboxProvider.js +1 -1
- package/dist/sandbox/providers/SandboxProvider.js.map +1 -1
- package/package.json +2 -2
|
@@ -5,29 +5,36 @@ import { tWithFallback as o } from "../utils/i18n.js";
|
|
|
5
5
|
import { PageLayout as s } from "../components/PageLayout.js";
|
|
6
6
|
import { useCreateSandboxTemplateMutation as c, useGetSandboxTemplateQuery as l, useUpdateSandboxTemplateMutation as u } from "../../generated/wspace-operations.js";
|
|
7
7
|
import { useEffect as d, useState as f } from "react";
|
|
8
|
-
import { AlertCircle as p, ArrowLeft as m, CheckCircle2 as h, Container as g, Cpu as _, Database as v, Image as
|
|
8
|
+
import { AlertCircle as p, ArrowLeft as m, CheckCircle2 as h, Container as g, Cpu as _, Database as v, Image as y, Info as ee, LayoutTemplate as b, Loader2 as x, MemoryStick as S, Plus as C, Save as w, Timer as T, Trash2 as E, X as D } from "lucide-react";
|
|
9
9
|
import { useParams as O } from "react-router-dom";
|
|
10
10
|
import { useI18n as k } from "@burdenoff/fe-libs/shared/providers/shell";
|
|
11
11
|
import { jsx as A, jsxs as j } from "react/jsx-runtime";
|
|
12
12
|
//#region src/sandbox/pages/TemplateDetailPage.tsx
|
|
13
|
-
var M =
|
|
14
|
-
name: "",
|
|
15
|
-
image: "",
|
|
16
|
-
ports: [],
|
|
17
|
-
env: [],
|
|
18
|
-
requestsCpu: "",
|
|
19
|
-
requestsMemory: "",
|
|
20
|
-
limitsCpu: "",
|
|
21
|
-
limitsMemory: ""
|
|
22
|
-
};
|
|
13
|
+
var M = 0;
|
|
23
14
|
function N() {
|
|
24
|
-
|
|
15
|
+
return M += 1, `tpl-row-${M}-${Date.now()}`;
|
|
16
|
+
}
|
|
17
|
+
function P() {
|
|
18
|
+
return {
|
|
19
|
+
_rowId: N(),
|
|
20
|
+
name: "",
|
|
21
|
+
image: "",
|
|
22
|
+
ports: [],
|
|
23
|
+
env: [],
|
|
24
|
+
requestsCpu: "",
|
|
25
|
+
requestsMemory: "",
|
|
26
|
+
limitsCpu: "",
|
|
27
|
+
limitsMemory: ""
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
function F() {
|
|
31
|
+
let { templateId: M } = O(), { basePath: F = "/", navigate: I, workspaceId: L } = e(), { t: R } = k(), z = !!M && M !== "new", [B] = c(), [V] = u(), { data: H } = l({
|
|
25
32
|
variables: {
|
|
26
|
-
context: { workspaceId:
|
|
27
|
-
id:
|
|
33
|
+
context: { workspaceId: L },
|
|
34
|
+
id: M
|
|
28
35
|
},
|
|
29
|
-
skip: !
|
|
30
|
-
}), [
|
|
36
|
+
skip: !z || !M || !L
|
|
37
|
+
}), [U, W] = f({
|
|
31
38
|
name: "",
|
|
32
39
|
description: "",
|
|
33
40
|
template: "AI_BUILDER",
|
|
@@ -38,7 +45,7 @@ function N() {
|
|
|
38
45
|
memoryLimit: "4Gi",
|
|
39
46
|
ttlSeconds: 14400,
|
|
40
47
|
containers: [{
|
|
41
|
-
...
|
|
48
|
+
...P(),
|
|
42
49
|
name: "main"
|
|
43
50
|
}],
|
|
44
51
|
storageMode: "NONE",
|
|
@@ -48,8 +55,8 @@ function N() {
|
|
|
48
55
|
allowedImages: []
|
|
49
56
|
});
|
|
50
57
|
d(() => {
|
|
51
|
-
let e =
|
|
52
|
-
e &&
|
|
58
|
+
let e = H?.getSandboxTemplate;
|
|
59
|
+
e && W({
|
|
53
60
|
name: e.name ?? "",
|
|
54
61
|
description: e.description ?? "",
|
|
55
62
|
template: e.template ?? "AI_BUILDER",
|
|
@@ -60,9 +67,11 @@ function N() {
|
|
|
60
67
|
memoryLimit: e.resources?.memoryLimit ?? "4Gi",
|
|
61
68
|
ttlSeconds: e.ttlSeconds ?? 14400,
|
|
62
69
|
containers: e.containers && e.containers.length > 0 ? e.containers.map((e) => ({
|
|
70
|
+
_rowId: N(),
|
|
63
71
|
name: e.name ?? "",
|
|
64
72
|
image: e.image ?? "",
|
|
65
73
|
ports: e.ports?.map((e) => ({
|
|
74
|
+
_rowId: N(),
|
|
66
75
|
containerPort: e.containerPort,
|
|
67
76
|
name: e.name ?? ""
|
|
68
77
|
})) ?? [],
|
|
@@ -72,7 +81,7 @@ function N() {
|
|
|
72
81
|
limitsCpu: e.resources?.limitsCpu ?? "",
|
|
73
82
|
limitsMemory: e.resources?.limitsMemory ?? ""
|
|
74
83
|
})) : [{
|
|
75
|
-
...
|
|
84
|
+
...P(),
|
|
76
85
|
name: "main"
|
|
77
86
|
}],
|
|
78
87
|
storageMode: e.storage?.mode ?? "NONE",
|
|
@@ -81,70 +90,72 @@ function N() {
|
|
|
81
90
|
storageRetainOnDelete: e.storage?.retainOnDelete ?? !1,
|
|
82
91
|
allowedImages: e.allowedImages ?? []
|
|
83
92
|
});
|
|
84
|
-
}, [
|
|
85
|
-
let [
|
|
86
|
-
|
|
93
|
+
}, [H]);
|
|
94
|
+
let [G, K] = f({}), [q, J] = f(null), [Y, X] = f(!1), Z = (e, t) => {
|
|
95
|
+
J({
|
|
87
96
|
type: e,
|
|
88
97
|
message: t
|
|
89
|
-
}), setTimeout(() =>
|
|
90
|
-
},
|
|
91
|
-
|
|
98
|
+
}), setTimeout(() => J(null), 5e3);
|
|
99
|
+
}, Q = (e, t) => {
|
|
100
|
+
W((n) => ({
|
|
92
101
|
...n,
|
|
93
102
|
[e]: t
|
|
94
|
-
})), typeof t == "string" &&
|
|
103
|
+
})), typeof t == "string" && G[e] && K((t) => {
|
|
95
104
|
let n = { ...t };
|
|
96
105
|
return delete n[e], n;
|
|
97
106
|
});
|
|
98
|
-
},
|
|
99
|
-
|
|
107
|
+
}, te = () => {
|
|
108
|
+
W((e) => ({
|
|
100
109
|
...e,
|
|
101
|
-
containers: [...e.containers,
|
|
110
|
+
containers: [...e.containers, P()]
|
|
102
111
|
}));
|
|
103
|
-
},
|
|
104
|
-
|
|
112
|
+
}, ne = (e) => {
|
|
113
|
+
W((t) => ({
|
|
105
114
|
...t,
|
|
106
115
|
containers: t.containers.filter((t, n) => n !== e)
|
|
107
116
|
}));
|
|
108
117
|
}, $ = (e, t, n) => {
|
|
109
|
-
|
|
118
|
+
W((r) => ({
|
|
110
119
|
...r,
|
|
111
120
|
containers: r.containers.map((r, i) => i === e ? {
|
|
112
121
|
...r,
|
|
113
122
|
[t]: n
|
|
114
123
|
} : r)
|
|
115
124
|
}));
|
|
116
|
-
},
|
|
117
|
-
|
|
125
|
+
}, re = () => {
|
|
126
|
+
W((e) => ({
|
|
118
127
|
...e,
|
|
119
128
|
allowedImages: [...e.allowedImages, ""]
|
|
120
129
|
}));
|
|
121
|
-
},
|
|
122
|
-
|
|
130
|
+
}, ie = (e) => {
|
|
131
|
+
W((t) => ({
|
|
123
132
|
...t,
|
|
124
133
|
allowedImages: t.allowedImages.filter((t, n) => n !== e)
|
|
125
134
|
}));
|
|
126
|
-
},
|
|
127
|
-
|
|
135
|
+
}, ae = (e, t) => {
|
|
136
|
+
W((n) => ({
|
|
128
137
|
...n,
|
|
129
138
|
allowedImages: n.allowedImages.map((n, r) => r === e ? t : n)
|
|
130
139
|
}));
|
|
131
|
-
},
|
|
140
|
+
}, oe = () => {
|
|
132
141
|
let e = {};
|
|
133
|
-
return
|
|
142
|
+
return U.name.trim() || (e.name = o(R, "sandbox.template.errors.nameRequired", "Name is required")), U.cpuRequest.trim() || (e.cpuRequest = o(R, "sandbox.template.errors.cpuRequestRequired", "CPU request is required")), U.cpuLimit.trim() || (e.cpuLimit = o(R, "sandbox.template.errors.cpuLimitRequired", "CPU limit is required")), U.memoryRequest.trim() || (e.memoryRequest = o(R, "sandbox.template.errors.memoryRequestRequired", "Memory request is required")), U.memoryLimit.trim() || (e.memoryLimit = o(R, "sandbox.template.errors.memoryLimitRequired", "Memory limit is required")), K(e), Object.keys(e).length === 0;
|
|
134
143
|
};
|
|
135
144
|
return /* @__PURE__ */ j(s, {
|
|
136
145
|
showHeader: !1,
|
|
137
146
|
children: [
|
|
138
|
-
|
|
139
|
-
className: `fixed top-4 right-4 z-50 flex items-center gap-3 px-5 py-3 rounded-xl shadow-2xl border-2 animate-in slide-in-from-top-4 duration-300 ${
|
|
147
|
+
q && /* @__PURE__ */ j("div", {
|
|
148
|
+
className: `fixed top-4 right-4 z-50 flex items-center gap-3 px-5 py-3 rounded-xl shadow-2xl border-2 animate-in slide-in-from-top-4 duration-300 ${q.type === "success" ? "bg-status-success-bg-subtle text-status-success-text border-border-default" : "bg-status-error-bg-subtle text-status-error-text border-border-default"}`,
|
|
140
149
|
children: [
|
|
141
|
-
|
|
150
|
+
q.type === "success" ? /* @__PURE__ */ A(h, { size: 20 }) : /* @__PURE__ */ A(p, { size: 20 }),
|
|
142
151
|
/* @__PURE__ */ A("span", {
|
|
143
152
|
className: "font-medium",
|
|
144
|
-
children:
|
|
153
|
+
children: q.message
|
|
145
154
|
}),
|
|
146
155
|
/* @__PURE__ */ A("button", {
|
|
147
|
-
|
|
156
|
+
type: "button",
|
|
157
|
+
onClick: () => J(null),
|
|
158
|
+
"aria-label": "Dismiss notification",
|
|
148
159
|
className: "ml-2 p-1 rounded-md hover:bg-accent",
|
|
149
160
|
children: /* @__PURE__ */ A(D, { size: 16 })
|
|
150
161
|
})
|
|
@@ -155,9 +166,10 @@ function N() {
|
|
|
155
166
|
children: /* @__PURE__ */ j("div", {
|
|
156
167
|
className: "relative z-10 flex items-center gap-4",
|
|
157
168
|
children: [/* @__PURE__ */ A("button", {
|
|
158
|
-
|
|
169
|
+
type: "button",
|
|
170
|
+
onClick: () => I?.(t(F, "templates")),
|
|
159
171
|
className: "p-2.5 hover:bg-accent rounded-lg transition-all duration-200 hover:scale-110",
|
|
160
|
-
"aria-label": o(
|
|
172
|
+
"aria-label": o(R, "sandbox.template.actions.backToTemplates", "Back to templates"),
|
|
161
173
|
children: /* @__PURE__ */ A(m, { size: 20 })
|
|
162
174
|
}), /* @__PURE__ */ j("div", {
|
|
163
175
|
className: "flex items-center gap-3",
|
|
@@ -169,60 +181,60 @@ function N() {
|
|
|
169
181
|
})
|
|
170
182
|
}), /* @__PURE__ */ A("h1", {
|
|
171
183
|
className: "text-2xl sm:text-3xl font-bold",
|
|
172
|
-
children:
|
|
184
|
+
children: z ? o(R, "sandbox.template.title.edit", "Edit Template") : o(R, "sandbox.template.title.create", "Create Template")
|
|
173
185
|
})]
|
|
174
186
|
})]
|
|
175
187
|
})
|
|
176
188
|
}),
|
|
177
189
|
/* @__PURE__ */ j("form", {
|
|
178
190
|
onSubmit: async (e) => {
|
|
179
|
-
if (e.preventDefault(), !
|
|
180
|
-
|
|
191
|
+
if (e.preventDefault(), !oe()) {
|
|
192
|
+
Z("error", o(R, "sandbox.template.errors.fixFormErrors", "Please fix the form errors"));
|
|
181
193
|
return;
|
|
182
194
|
}
|
|
183
|
-
|
|
195
|
+
X(!0);
|
|
184
196
|
try {
|
|
185
|
-
let e =
|
|
186
|
-
name:
|
|
187
|
-
image:
|
|
188
|
-
ports:
|
|
189
|
-
env:
|
|
190
|
-
resources:
|
|
191
|
-
requestsCpu:
|
|
192
|
-
requestsMemory:
|
|
193
|
-
limitsCpu:
|
|
194
|
-
limitsMemory:
|
|
197
|
+
let e = U.containers.reduce((e, t) => (!t.name.trim() || !t.image.trim() || e.push({
|
|
198
|
+
name: t.name,
|
|
199
|
+
image: t.image,
|
|
200
|
+
ports: t.ports.length > 0 ? t.ports : void 0,
|
|
201
|
+
env: t.env.length > 0 ? t.env.filter((e) => e.name.trim()) : void 0,
|
|
202
|
+
resources: t.requestsCpu || t.requestsMemory || t.limitsCpu || t.limitsMemory ? {
|
|
203
|
+
requestsCpu: t.requestsCpu || void 0,
|
|
204
|
+
requestsMemory: t.requestsMemory || void 0,
|
|
205
|
+
limitsCpu: t.limitsCpu || void 0,
|
|
206
|
+
limitsMemory: t.limitsMemory || void 0
|
|
195
207
|
} : void 0
|
|
196
|
-
})), n = {
|
|
197
|
-
context: { workspaceId:
|
|
198
|
-
name:
|
|
199
|
-
description:
|
|
200
|
-
template:
|
|
201
|
-
isDefault:
|
|
208
|
+
}), e), []), n = {
|
|
209
|
+
context: { workspaceId: L },
|
|
210
|
+
name: U.name,
|
|
211
|
+
description: U.description || void 0,
|
|
212
|
+
template: U.template,
|
|
213
|
+
isDefault: U.isDefault,
|
|
202
214
|
containers: e,
|
|
203
215
|
resources: {
|
|
204
|
-
cpuRequest:
|
|
205
|
-
cpuLimit:
|
|
206
|
-
memoryRequest:
|
|
207
|
-
memoryLimit:
|
|
216
|
+
cpuRequest: U.cpuRequest,
|
|
217
|
+
cpuLimit: U.cpuLimit,
|
|
218
|
+
memoryRequest: U.memoryRequest,
|
|
219
|
+
memoryLimit: U.memoryLimit
|
|
208
220
|
},
|
|
209
221
|
storage: {
|
|
210
|
-
mode:
|
|
211
|
-
sizeGi:
|
|
212
|
-
mountPath:
|
|
213
|
-
retainOnDelete:
|
|
222
|
+
mode: U.storageMode,
|
|
223
|
+
sizeGi: U.storageMode === "NONE" ? void 0 : U.storageSizeGi,
|
|
224
|
+
mountPath: U.storageMode === "NONE" ? void 0 : U.storageMountPath,
|
|
225
|
+
retainOnDelete: U.storageMode === "PERSISTENT" ? U.storageRetainOnDelete : !1
|
|
214
226
|
},
|
|
215
|
-
allowedImages:
|
|
216
|
-
ttlSeconds:
|
|
227
|
+
allowedImages: U.allowedImages.filter((e) => e.trim()),
|
|
228
|
+
ttlSeconds: U.ttlSeconds
|
|
217
229
|
};
|
|
218
|
-
|
|
219
|
-
id:
|
|
230
|
+
z ? await V({ variables: { input: {
|
|
231
|
+
id: M,
|
|
220
232
|
...n
|
|
221
|
-
} } }) : await
|
|
233
|
+
} } }) : await B({ variables: { input: n } }), Z("success", z ? o(R, "sandbox.template.success.updated", "Template updated!") : o(R, "sandbox.template.success.created", "Template created!")), setTimeout(() => I?.(t(F, "templates")), 1500);
|
|
222
234
|
} catch {
|
|
223
|
-
|
|
235
|
+
Z("error", o(R, "sandbox.template.errors.saveFailed", "Failed to save template"));
|
|
224
236
|
} finally {
|
|
225
|
-
|
|
237
|
+
X(!1);
|
|
226
238
|
}
|
|
227
239
|
},
|
|
228
240
|
className: "space-y-6",
|
|
@@ -232,10 +244,10 @@ function N() {
|
|
|
232
244
|
children: [
|
|
233
245
|
/* @__PURE__ */ j("h2", {
|
|
234
246
|
className: "text-lg font-bold flex items-center gap-2",
|
|
235
|
-
children: [/* @__PURE__ */ A(
|
|
247
|
+
children: [/* @__PURE__ */ A(ee, {
|
|
236
248
|
size: 18,
|
|
237
249
|
className: "text-primary"
|
|
238
|
-
}), o(
|
|
250
|
+
}), o(R, "sandbox.template.sections.info", "Template Information")]
|
|
239
251
|
}),
|
|
240
252
|
/* @__PURE__ */ j("div", { children: [
|
|
241
253
|
/* @__PURE__ */ j("label", {
|
|
@@ -247,16 +259,17 @@ function N() {
|
|
|
247
259
|
})]
|
|
248
260
|
}),
|
|
249
261
|
/* @__PURE__ */ A("input", {
|
|
262
|
+
"aria-label": "Name",
|
|
250
263
|
type: "text",
|
|
251
264
|
id: "name",
|
|
252
|
-
value:
|
|
253
|
-
onChange: (e) =>
|
|
254
|
-
className: `w-full px-4 py-2.5 border-2 rounded-lg bg-background focus:outline-none focus:ring-2 focus:ring-primary/20 transition-all ${
|
|
265
|
+
value: U.name,
|
|
266
|
+
onChange: (e) => Q("name", e.target.value),
|
|
267
|
+
className: `w-full px-4 py-2.5 border-2 rounded-lg bg-background focus:outline-none focus:ring-2 focus:ring-primary/20 transition-all ${G.name ? "border-destructive" : "border-border focus:border-primary"}`,
|
|
255
268
|
placeholder: "AI Builder - Standard"
|
|
256
269
|
}),
|
|
257
|
-
|
|
270
|
+
G.name && /* @__PURE__ */ j("p", {
|
|
258
271
|
className: "text-sm text-destructive mt-1 flex items-center gap-1",
|
|
259
|
-
children: [/* @__PURE__ */ A(p, { size: 14 }),
|
|
272
|
+
children: [/* @__PURE__ */ A(p, { size: 14 }), G.name]
|
|
260
273
|
})
|
|
261
274
|
] }),
|
|
262
275
|
/* @__PURE__ */ j("div", { children: [/* @__PURE__ */ A("label", {
|
|
@@ -264,9 +277,10 @@ function N() {
|
|
|
264
277
|
className: "block text-sm font-semibold mb-2",
|
|
265
278
|
children: "Description"
|
|
266
279
|
}), /* @__PURE__ */ A("textarea", {
|
|
280
|
+
"aria-label": "Description",
|
|
267
281
|
id: "description",
|
|
268
|
-
value:
|
|
269
|
-
onChange: (e) =>
|
|
282
|
+
value: U.description,
|
|
283
|
+
onChange: (e) => Q("description", e.target.value),
|
|
270
284
|
rows: 3,
|
|
271
285
|
className: "w-full px-4 py-2.5 border-2 border-border rounded-lg bg-background focus:outline-none focus:ring-2 focus:ring-primary/20 focus:border-primary transition-all",
|
|
272
286
|
placeholder: "Template description..."
|
|
@@ -279,8 +293,8 @@ function N() {
|
|
|
279
293
|
children: "Template Type"
|
|
280
294
|
}), /* @__PURE__ */ j("select", {
|
|
281
295
|
id: "template",
|
|
282
|
-
value:
|
|
283
|
-
onChange: (e) =>
|
|
296
|
+
value: U.template,
|
|
297
|
+
onChange: (e) => Q("template", e.target.value),
|
|
284
298
|
className: "w-full px-4 py-2.5 border-2 border-border rounded-lg bg-background focus:outline-none focus:ring-2 focus:ring-primary/20 focus:border-primary transition-all",
|
|
285
299
|
children: [
|
|
286
300
|
/* @__PURE__ */ A("option", {
|
|
@@ -303,11 +317,12 @@ function N() {
|
|
|
303
317
|
})] }), /* @__PURE__ */ j("div", {
|
|
304
318
|
className: "flex items-center gap-3 pt-7",
|
|
305
319
|
children: [/* @__PURE__ */ A("input", {
|
|
320
|
+
"aria-label": "Default template",
|
|
306
321
|
type: "checkbox",
|
|
307
322
|
id: "isDefault",
|
|
308
|
-
checked:
|
|
309
|
-
onChange: (e) =>
|
|
310
|
-
className: "
|
|
323
|
+
checked: U.isDefault,
|
|
324
|
+
onChange: (e) => Q("isDefault", e.target.checked),
|
|
325
|
+
className: "size-4 rounded border-border text-primary focus:ring-primary/20"
|
|
311
326
|
}), /* @__PURE__ */ A("label", {
|
|
312
327
|
htmlFor: "isDefault",
|
|
313
328
|
className: "text-sm font-medium",
|
|
@@ -328,22 +343,22 @@ function N() {
|
|
|
328
343
|
size: 18,
|
|
329
344
|
className: "text-primary"
|
|
330
345
|
}),
|
|
331
|
-
o(
|
|
346
|
+
o(R, "sandbox.template.sections.containers", "Default Containers"),
|
|
332
347
|
/* @__PURE__ */ A(n, {
|
|
333
348
|
variant: "secondary",
|
|
334
|
-
children:
|
|
349
|
+
children: U.containers.length
|
|
335
350
|
})
|
|
336
351
|
]
|
|
337
352
|
}), /* @__PURE__ */ j(r, {
|
|
338
353
|
type: "button",
|
|
339
354
|
variant: "outline",
|
|
340
355
|
size: "sm",
|
|
341
|
-
onClick:
|
|
356
|
+
onClick: te,
|
|
342
357
|
children: [/* @__PURE__ */ A(C, { size: 14 }), "Add Container"]
|
|
343
358
|
})]
|
|
344
359
|
}), /* @__PURE__ */ A("div", {
|
|
345
360
|
className: "space-y-4",
|
|
346
|
-
children:
|
|
361
|
+
children: U.containers.map((e, t) => /* @__PURE__ */ j("div", {
|
|
347
362
|
className: "p-4 rounded-lg border-2 border-border/50 bg-muted/20 space-y-3",
|
|
348
363
|
children: [
|
|
349
364
|
/* @__PURE__ */ j("div", {
|
|
@@ -355,30 +370,36 @@ function N() {
|
|
|
355
370
|
t + 1,
|
|
356
371
|
e.name && `: ${e.name}`
|
|
357
372
|
]
|
|
358
|
-
}),
|
|
373
|
+
}), U.containers.length > 1 && /* @__PURE__ */ A(r, {
|
|
359
374
|
type: "button",
|
|
360
375
|
variant: "ghost",
|
|
361
376
|
size: "icon",
|
|
362
|
-
className: "text-destructive hover:text-destructive
|
|
363
|
-
onClick: () =>
|
|
377
|
+
className: "text-destructive hover:text-destructive size-7",
|
|
378
|
+
onClick: () => ne(t),
|
|
364
379
|
children: /* @__PURE__ */ A(E, { size: 14 })
|
|
365
380
|
})]
|
|
366
381
|
}),
|
|
367
382
|
/* @__PURE__ */ j("div", {
|
|
368
383
|
className: "grid grid-cols-1 sm:grid-cols-2 gap-3",
|
|
369
384
|
children: [/* @__PURE__ */ j("div", { children: [/* @__PURE__ */ A("label", {
|
|
385
|
+
htmlFor: `tpl-${e._rowId}-name`,
|
|
370
386
|
className: "block text-xs font-semibold mb-1",
|
|
371
387
|
children: "Name"
|
|
372
388
|
}), /* @__PURE__ */ A("input", {
|
|
389
|
+
"aria-label": "Name",
|
|
390
|
+
id: `tpl-${e._rowId}-name`,
|
|
373
391
|
type: "text",
|
|
374
392
|
value: e.name,
|
|
375
393
|
onChange: (e) => $(t, "name", e.target.value),
|
|
376
394
|
className: "w-full px-3 py-2 border-2 border-border rounded-lg bg-background text-sm focus:outline-none focus:ring-2 focus:ring-primary/20 focus:border-primary transition-all",
|
|
377
395
|
placeholder: "main"
|
|
378
396
|
})] }), /* @__PURE__ */ j("div", { children: [/* @__PURE__ */ A("label", {
|
|
397
|
+
htmlFor: `tpl-${e._rowId}-image`,
|
|
379
398
|
className: "block text-xs font-semibold mb-1",
|
|
380
399
|
children: "Image"
|
|
381
400
|
}), /* @__PURE__ */ A("input", {
|
|
401
|
+
"aria-label": "Image",
|
|
402
|
+
id: `tpl-${e._rowId}-image`,
|
|
382
403
|
type: "text",
|
|
383
404
|
value: e.image,
|
|
384
405
|
onChange: (e) => $(t, "image", e.target.value),
|
|
@@ -390,9 +411,12 @@ function N() {
|
|
|
390
411
|
className: "grid grid-cols-2 sm:grid-cols-4 gap-3",
|
|
391
412
|
children: [
|
|
392
413
|
/* @__PURE__ */ j("div", { children: [/* @__PURE__ */ A("label", {
|
|
414
|
+
htmlFor: `tpl-${e._rowId}-cpuReq`,
|
|
393
415
|
className: "block text-xs text-muted-foreground mb-1",
|
|
394
416
|
children: "CPU Req"
|
|
395
417
|
}), /* @__PURE__ */ A("input", {
|
|
418
|
+
"aria-label": "CPU Req",
|
|
419
|
+
id: `tpl-${e._rowId}-cpuReq`,
|
|
396
420
|
type: "text",
|
|
397
421
|
value: e.requestsCpu,
|
|
398
422
|
onChange: (e) => $(t, "requestsCpu", e.target.value),
|
|
@@ -400,9 +424,12 @@ function N() {
|
|
|
400
424
|
placeholder: "250m"
|
|
401
425
|
})] }),
|
|
402
426
|
/* @__PURE__ */ j("div", { children: [/* @__PURE__ */ A("label", {
|
|
427
|
+
htmlFor: `tpl-${e._rowId}-cpuLim`,
|
|
403
428
|
className: "block text-xs text-muted-foreground mb-1",
|
|
404
429
|
children: "CPU Lim"
|
|
405
430
|
}), /* @__PURE__ */ A("input", {
|
|
431
|
+
"aria-label": "CPU Lim",
|
|
432
|
+
id: `tpl-${e._rowId}-cpuLim`,
|
|
406
433
|
type: "text",
|
|
407
434
|
value: e.limitsCpu,
|
|
408
435
|
onChange: (e) => $(t, "limitsCpu", e.target.value),
|
|
@@ -410,9 +437,12 @@ function N() {
|
|
|
410
437
|
placeholder: "1"
|
|
411
438
|
})] }),
|
|
412
439
|
/* @__PURE__ */ j("div", { children: [/* @__PURE__ */ A("label", {
|
|
440
|
+
htmlFor: `tpl-${e._rowId}-memReq`,
|
|
413
441
|
className: "block text-xs text-muted-foreground mb-1",
|
|
414
442
|
children: "Mem Req"
|
|
415
443
|
}), /* @__PURE__ */ A("input", {
|
|
444
|
+
"aria-label": "Mem Req",
|
|
445
|
+
id: `tpl-${e._rowId}-memReq`,
|
|
416
446
|
type: "text",
|
|
417
447
|
value: e.requestsMemory,
|
|
418
448
|
onChange: (e) => $(t, "requestsMemory", e.target.value),
|
|
@@ -420,9 +450,12 @@ function N() {
|
|
|
420
450
|
placeholder: "512Mi"
|
|
421
451
|
})] }),
|
|
422
452
|
/* @__PURE__ */ j("div", { children: [/* @__PURE__ */ A("label", {
|
|
453
|
+
htmlFor: `tpl-${e._rowId}-memLim`,
|
|
423
454
|
className: "block text-xs text-muted-foreground mb-1",
|
|
424
455
|
children: "Mem Lim"
|
|
425
456
|
}), /* @__PURE__ */ A("input", {
|
|
457
|
+
"aria-label": "Memory limit",
|
|
458
|
+
id: `tpl-${e._rowId}-memLim`,
|
|
426
459
|
type: "text",
|
|
427
460
|
value: e.limitsMemory,
|
|
428
461
|
onChange: (e) => $(t, "limitsMemory", e.target.value),
|
|
@@ -432,7 +465,7 @@ function N() {
|
|
|
432
465
|
]
|
|
433
466
|
})
|
|
434
467
|
]
|
|
435
|
-
},
|
|
468
|
+
}, e._rowId))
|
|
436
469
|
})]
|
|
437
470
|
}) }),
|
|
438
471
|
/* @__PURE__ */ A(i, { children: /* @__PURE__ */ j(a, {
|
|
@@ -443,7 +476,7 @@ function N() {
|
|
|
443
476
|
children: [/* @__PURE__ */ A(_, {
|
|
444
477
|
size: 18,
|
|
445
478
|
className: "text-primary"
|
|
446
|
-
}), o(
|
|
479
|
+
}), o(R, "sandbox.template.sections.resources", "Default Pod Resources")]
|
|
447
480
|
}),
|
|
448
481
|
/* @__PURE__ */ j("div", {
|
|
449
482
|
className: "grid grid-cols-1 sm:grid-cols-2 gap-5",
|
|
@@ -456,11 +489,12 @@ function N() {
|
|
|
456
489
|
className: "text-status-info-text"
|
|
457
490
|
}), " CPU Request"]
|
|
458
491
|
}), /* @__PURE__ */ A("input", {
|
|
492
|
+
"aria-label": "CPU Request",
|
|
459
493
|
type: "text",
|
|
460
494
|
id: "cpuRequest",
|
|
461
|
-
value:
|
|
462
|
-
onChange: (e) =>
|
|
463
|
-
className: `w-full px-4 py-2.5 mt-2 border-2 rounded-lg bg-background font-mono focus:outline-none focus:ring-2 focus:ring-primary/20 transition-all ${
|
|
495
|
+
value: U.cpuRequest,
|
|
496
|
+
onChange: (e) => Q("cpuRequest", e.target.value),
|
|
497
|
+
className: `w-full px-4 py-2.5 mt-2 border-2 rounded-lg bg-background font-mono focus:outline-none focus:ring-2 focus:ring-primary/20 transition-all ${G.cpuRequest ? "border-destructive" : "border-border focus:border-primary"}`,
|
|
464
498
|
placeholder: "500m"
|
|
465
499
|
})] }),
|
|
466
500
|
/* @__PURE__ */ j("div", { children: [/* @__PURE__ */ j("label", {
|
|
@@ -471,11 +505,12 @@ function N() {
|
|
|
471
505
|
className: "text-status-info-text"
|
|
472
506
|
}), " CPU Limit"]
|
|
473
507
|
}), /* @__PURE__ */ A("input", {
|
|
508
|
+
"aria-label": "CPU Limit",
|
|
474
509
|
type: "text",
|
|
475
510
|
id: "cpuLimit",
|
|
476
|
-
value:
|
|
477
|
-
onChange: (e) =>
|
|
478
|
-
className: `w-full px-4 py-2.5 mt-2 border-2 rounded-lg bg-background font-mono focus:outline-none focus:ring-2 focus:ring-primary/20 transition-all ${
|
|
511
|
+
value: U.cpuLimit,
|
|
512
|
+
onChange: (e) => Q("cpuLimit", e.target.value),
|
|
513
|
+
className: `w-full px-4 py-2.5 mt-2 border-2 rounded-lg bg-background font-mono focus:outline-none focus:ring-2 focus:ring-primary/20 transition-all ${G.cpuLimit ? "border-destructive" : "border-border focus:border-primary"}`,
|
|
479
514
|
placeholder: "2"
|
|
480
515
|
})] }),
|
|
481
516
|
/* @__PURE__ */ j("div", { children: [/* @__PURE__ */ j("label", {
|
|
@@ -486,11 +521,12 @@ function N() {
|
|
|
486
521
|
className: "text-accent-purple-subtle"
|
|
487
522
|
}), " Memory Request"]
|
|
488
523
|
}), /* @__PURE__ */ A("input", {
|
|
524
|
+
"aria-label": "Memory request",
|
|
489
525
|
type: "text",
|
|
490
526
|
id: "memoryRequest",
|
|
491
|
-
value:
|
|
492
|
-
onChange: (e) =>
|
|
493
|
-
className: `w-full px-4 py-2.5 mt-2 border-2 rounded-lg bg-background font-mono focus:outline-none focus:ring-2 focus:ring-primary/20 transition-all ${
|
|
527
|
+
value: U.memoryRequest,
|
|
528
|
+
onChange: (e) => Q("memoryRequest", e.target.value),
|
|
529
|
+
className: `w-full px-4 py-2.5 mt-2 border-2 rounded-lg bg-background font-mono focus:outline-none focus:ring-2 focus:ring-primary/20 transition-all ${G.memoryRequest ? "border-destructive" : "border-border focus:border-primary"}`,
|
|
494
530
|
placeholder: "1Gi"
|
|
495
531
|
})] }),
|
|
496
532
|
/* @__PURE__ */ j("div", { children: [/* @__PURE__ */ j("label", {
|
|
@@ -501,11 +537,12 @@ function N() {
|
|
|
501
537
|
className: "text-accent-purple-subtle"
|
|
502
538
|
}), " Memory Limit"]
|
|
503
539
|
}), /* @__PURE__ */ A("input", {
|
|
540
|
+
"aria-label": "Memory limit",
|
|
504
541
|
type: "text",
|
|
505
542
|
id: "memoryLimit",
|
|
506
|
-
value:
|
|
507
|
-
onChange: (e) =>
|
|
508
|
-
className: `w-full px-4 py-2.5 mt-2 border-2 rounded-lg bg-background font-mono focus:outline-none focus:ring-2 focus:ring-primary/20 transition-all ${
|
|
543
|
+
value: U.memoryLimit,
|
|
544
|
+
onChange: (e) => Q("memoryLimit", e.target.value),
|
|
545
|
+
className: `w-full px-4 py-2.5 mt-2 border-2 rounded-lg bg-background font-mono focus:outline-none focus:ring-2 focus:ring-primary/20 transition-all ${G.memoryLimit ? "border-destructive" : "border-border focus:border-primary"}`,
|
|
509
546
|
placeholder: "4Gi"
|
|
510
547
|
})] })
|
|
511
548
|
]
|
|
@@ -525,17 +562,18 @@ function N() {
|
|
|
525
562
|
children: ((e) => {
|
|
526
563
|
let t = Math.floor(e / 3600), n = Math.floor(e % 3600 / 60);
|
|
527
564
|
return t > 0 && n > 0 ? `${t}h ${n}m` : t > 0 ? `${t}h` : `${n}m`;
|
|
528
|
-
})(
|
|
565
|
+
})(U.ttlSeconds)
|
|
529
566
|
})
|
|
530
567
|
]
|
|
531
568
|
}), /* @__PURE__ */ A("input", {
|
|
569
|
+
"aria-label": "Default TTL seconds",
|
|
532
570
|
type: "range",
|
|
533
571
|
id: "ttlSeconds",
|
|
534
572
|
min: 600,
|
|
535
573
|
max: 86400,
|
|
536
574
|
step: 600,
|
|
537
|
-
value:
|
|
538
|
-
onChange: (e) =>
|
|
575
|
+
value: U.ttlSeconds,
|
|
576
|
+
onChange: (e) => Q("ttlSeconds", Number(e.target.value)),
|
|
539
577
|
className: "w-full mt-2 accent-primary"
|
|
540
578
|
})] })
|
|
541
579
|
]
|
|
@@ -548,12 +586,15 @@ function N() {
|
|
|
548
586
|
children: [/* @__PURE__ */ A(v, {
|
|
549
587
|
size: 18,
|
|
550
588
|
className: "text-primary"
|
|
551
|
-
}), o(
|
|
589
|
+
}), o(R, "sandbox.template.sections.storage", "Default Storage")]
|
|
552
590
|
}),
|
|
553
591
|
/* @__PURE__ */ j("div", { children: [/* @__PURE__ */ A("label", {
|
|
592
|
+
htmlFor: "storageModeGroup",
|
|
554
593
|
className: "block text-sm font-semibold mb-3",
|
|
555
594
|
children: "Mode"
|
|
556
595
|
}), /* @__PURE__ */ A("div", {
|
|
596
|
+
id: "storageModeGroup",
|
|
597
|
+
"aria-label": "Storage mode",
|
|
557
598
|
className: "grid grid-cols-3 gap-3",
|
|
558
599
|
children: [
|
|
559
600
|
"NONE",
|
|
@@ -561,8 +602,8 @@ function N() {
|
|
|
561
602
|
"PERSISTENT"
|
|
562
603
|
].map((e) => /* @__PURE__ */ A("button", {
|
|
563
604
|
type: "button",
|
|
564
|
-
onClick: () =>
|
|
565
|
-
className: `p-3 rounded-lg border-2 text-left transition-all duration-200 ${
|
|
605
|
+
onClick: () => Q("storageMode", e),
|
|
606
|
+
className: `p-3 rounded-lg border-2 text-left transition-all duration-200 ${U.storageMode === e ? "border-primary bg-primary/5 shadow-sm" : "border-border hover:border-primary/50 hover:bg-muted/50"}`,
|
|
566
607
|
children: /* @__PURE__ */ A("p", {
|
|
567
608
|
className: "font-medium text-sm",
|
|
568
609
|
children: {
|
|
@@ -573,38 +614,45 @@ function N() {
|
|
|
573
614
|
})
|
|
574
615
|
}, e))
|
|
575
616
|
})] }),
|
|
576
|
-
|
|
617
|
+
U.storageMode !== "NONE" && /* @__PURE__ */ j("div", {
|
|
577
618
|
className: "grid grid-cols-1 sm:grid-cols-2 gap-5",
|
|
578
619
|
children: [
|
|
579
620
|
/* @__PURE__ */ j("div", { children: [/* @__PURE__ */ A("label", {
|
|
621
|
+
htmlFor: "tplStorageSizeGi",
|
|
580
622
|
className: "block text-sm font-semibold mb-2",
|
|
581
623
|
children: "Size (GiB)"
|
|
582
624
|
}), /* @__PURE__ */ A("input", {
|
|
625
|
+
id: "tplStorageSizeGi",
|
|
626
|
+
"aria-label": "Size (GiB)",
|
|
583
627
|
type: "number",
|
|
584
|
-
value:
|
|
585
|
-
onChange: (e) =>
|
|
628
|
+
value: U.storageSizeGi,
|
|
629
|
+
onChange: (e) => Q("storageSizeGi", Number(e.target.value)),
|
|
586
630
|
min: 1,
|
|
587
631
|
max: 200,
|
|
588
632
|
className: "w-full px-4 py-2.5 border-2 border-border rounded-lg bg-background font-mono focus:outline-none focus:ring-2 focus:ring-primary/20 focus:border-primary transition-all"
|
|
589
633
|
})] }),
|
|
590
634
|
/* @__PURE__ */ j("div", { children: [/* @__PURE__ */ A("label", {
|
|
635
|
+
htmlFor: "tplStorageMountPath",
|
|
591
636
|
className: "block text-sm font-semibold mb-2",
|
|
592
637
|
children: "Mount Path"
|
|
593
638
|
}), /* @__PURE__ */ A("input", {
|
|
639
|
+
id: "tplStorageMountPath",
|
|
640
|
+
"aria-label": "Mount Path",
|
|
594
641
|
type: "text",
|
|
595
|
-
value:
|
|
596
|
-
onChange: (e) =>
|
|
642
|
+
value: U.storageMountPath,
|
|
643
|
+
onChange: (e) => Q("storageMountPath", e.target.value),
|
|
597
644
|
className: "w-full px-4 py-2.5 border-2 border-border rounded-lg bg-background font-mono focus:outline-none focus:ring-2 focus:ring-primary/20 focus:border-primary transition-all",
|
|
598
645
|
placeholder: "/data"
|
|
599
646
|
})] }),
|
|
600
|
-
|
|
647
|
+
U.storageMode === "PERSISTENT" && /* @__PURE__ */ j("div", {
|
|
601
648
|
className: "flex items-center gap-3 sm:col-span-2",
|
|
602
649
|
children: [/* @__PURE__ */ A("input", {
|
|
650
|
+
"aria-label": "Retain storage on delete",
|
|
603
651
|
type: "checkbox",
|
|
604
652
|
id: "storageRetainOnDelete",
|
|
605
|
-
checked:
|
|
606
|
-
onChange: (e) =>
|
|
607
|
-
className: "
|
|
653
|
+
checked: U.storageRetainOnDelete,
|
|
654
|
+
onChange: (e) => Q("storageRetainOnDelete", e.target.checked),
|
|
655
|
+
className: "size-4 rounded border-border text-primary focus:ring-primary/20"
|
|
608
656
|
}), /* @__PURE__ */ A("label", {
|
|
609
657
|
htmlFor: "storageRetainOnDelete",
|
|
610
658
|
className: "text-sm font-medium",
|
|
@@ -623,61 +671,62 @@ function N() {
|
|
|
623
671
|
children: [/* @__PURE__ */ j("h2", {
|
|
624
672
|
className: "text-lg font-bold flex items-center gap-2",
|
|
625
673
|
children: [
|
|
626
|
-
/* @__PURE__ */ A(
|
|
674
|
+
/* @__PURE__ */ A(y, {
|
|
627
675
|
size: 18,
|
|
628
676
|
className: "text-primary"
|
|
629
677
|
}),
|
|
630
|
-
o(
|
|
631
|
-
|
|
678
|
+
o(R, "sandbox.template.sections.allowedImages", "Allowed Images"),
|
|
679
|
+
U.allowedImages.length > 0 && /* @__PURE__ */ A(n, {
|
|
632
680
|
variant: "secondary",
|
|
633
|
-
children:
|
|
681
|
+
children: U.allowedImages.length
|
|
634
682
|
})
|
|
635
683
|
]
|
|
636
684
|
}), /* @__PURE__ */ j(r, {
|
|
637
685
|
type: "button",
|
|
638
686
|
variant: "outline",
|
|
639
687
|
size: "sm",
|
|
640
|
-
onClick:
|
|
688
|
+
onClick: re,
|
|
641
689
|
children: [/* @__PURE__ */ A(C, { size: 14 }), "Add Image"]
|
|
642
690
|
})]
|
|
643
691
|
}),
|
|
644
692
|
/* @__PURE__ */ A("p", {
|
|
645
693
|
className: "text-xs text-muted-foreground",
|
|
646
|
-
children: o(
|
|
694
|
+
children: o(R, "sandbox.template.allowedImages.hint", "Restrict which container images can be used with this template. Leave empty to allow any image.")
|
|
647
695
|
}),
|
|
648
|
-
|
|
696
|
+
U.allowedImages.map((e, t) => /* @__PURE__ */ j("div", {
|
|
649
697
|
className: "flex items-center gap-2",
|
|
650
698
|
children: [/* @__PURE__ */ A("input", {
|
|
699
|
+
"aria-label": "Allowed image",
|
|
651
700
|
type: "text",
|
|
652
701
|
value: e,
|
|
653
|
-
onChange: (e) =>
|
|
702
|
+
onChange: (e) => ae(t, e.target.value),
|
|
654
703
|
className: "flex-1 px-4 py-2 border-2 border-border rounded-lg bg-background text-sm font-mono focus:outline-none focus:ring-2 focus:ring-primary/20 focus:border-primary transition-all",
|
|
655
704
|
placeholder: "harbor-internal.burdenoff.com/sandbox/*"
|
|
656
705
|
}), /* @__PURE__ */ A("button", {
|
|
657
706
|
type: "button",
|
|
658
|
-
onClick: () =>
|
|
707
|
+
onClick: () => ie(t),
|
|
659
708
|
className: "p-2 text-destructive hover:bg-destructive/10 rounded-lg",
|
|
660
709
|
children: /* @__PURE__ */ A(E, { size: 14 })
|
|
661
710
|
})]
|
|
662
|
-
}, t))
|
|
711
|
+
}, `allowed-img-${t}-${e}`))
|
|
663
712
|
]
|
|
664
713
|
}) }),
|
|
665
714
|
/* @__PURE__ */ j("div", {
|
|
666
715
|
className: "flex flex-col sm:flex-row gap-3 pt-2",
|
|
667
716
|
children: [/* @__PURE__ */ j(r, {
|
|
668
717
|
type: "submit",
|
|
669
|
-
disabled:
|
|
718
|
+
disabled: Y,
|
|
670
719
|
size: "lg",
|
|
671
|
-
children: [
|
|
720
|
+
children: [Y ? /* @__PURE__ */ A(x, {
|
|
672
721
|
size: 18,
|
|
673
722
|
className: "animate-spin"
|
|
674
|
-
}) : /* @__PURE__ */ A(w, { size: 18 }),
|
|
723
|
+
}) : /* @__PURE__ */ A(w, { size: 18 }), z ? o(R, "sandbox.template.actions.saveChanges", "Save Changes") : o(R, "sandbox.template.actions.create", "Create Template")]
|
|
675
724
|
}), /* @__PURE__ */ A(r, {
|
|
676
725
|
type: "button",
|
|
677
726
|
variant: "outline",
|
|
678
|
-
onClick: () =>
|
|
679
|
-
disabled:
|
|
680
|
-
children: o(
|
|
727
|
+
onClick: () => I?.(t(F, "templates")),
|
|
728
|
+
disabled: Y,
|
|
729
|
+
children: o(R, "sandbox.template.actions.cancel", "Cancel")
|
|
681
730
|
})]
|
|
682
731
|
})
|
|
683
732
|
]
|
|
@@ -686,6 +735,6 @@ function N() {
|
|
|
686
735
|
});
|
|
687
736
|
}
|
|
688
737
|
//#endregion
|
|
689
|
-
export {
|
|
738
|
+
export { F as TemplateDetailPage };
|
|
690
739
|
|
|
691
740
|
//# sourceMappingURL=TemplateDetailPage.js.map
|