@gameap/frontend 4.1.0-dev1 → 4.1.0-dev3

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.
Files changed (61) hide show
  1. package/dist/AdminClientCertificatesView-DQTMJ6LY.js +368 -0
  2. package/dist/AdminDaemonTaskListView-Bx3e0Miy.js +316 -0
  3. package/dist/AdminDaemonTaskOutputView-BJtLdoAq.js +87 -0
  4. package/dist/AdminGamesEdit-hDe3Pr-7.js +470 -0
  5. package/dist/AdminGamesList-CM1xADCW.js +500 -0
  6. package/dist/AdminModEdit-DDKd6Vga.js +526 -0
  7. package/dist/AdminNodeShowView-DMoEY2Cu.js +167 -0
  8. package/dist/AdminNodesCreateView-BXZDQIJ1.js +85 -0
  9. package/dist/AdminNodesEditView-xO7-szjJ.js +66 -0
  10. package/dist/AdminNodesView-ugTPiC4h.js +161 -0
  11. package/dist/AdminServersCreate-DOygFz_E.js +345 -0
  12. package/dist/AdminServersEdit-cZX6UGB1.js +400 -0
  13. package/dist/AdminServersList-CC50WRsv.js +165 -0
  14. package/dist/AdminUsersEditView-CXpMKFfI.js +305 -0
  15. package/dist/AdminUsersView-DGuGEHVR.js +443 -0
  16. package/dist/CreateModForm-CqhcrNFp.js +122 -0
  17. package/dist/CreateNodeModal-BvbJTKhD.js +93 -0
  18. package/dist/DsIpSelector-DN9IyT4L.js +90 -0
  19. package/dist/FileManager-8TWHezyM.js +31882 -0
  20. package/dist/GameModSelector-DRIaCbGY.js +94 -0
  21. package/dist/InputManyList-By5xECIK.js +110 -0
  22. package/dist/InputTextList-Bm2Ofq5J.js +63 -0
  23. package/dist/PluginPendingView-DHd_yijv.js +31 -0
  24. package/dist/RconConsole-DH9XeOu3.js +75 -0
  25. package/dist/RconPlayers-GrvCMJX3.js +420 -0
  26. package/dist/ServerConsole-BHHnpxJy.js +98 -0
  27. package/dist/ServerIdView-BfqrYuar.js +577 -0
  28. package/dist/ServerSelector-QMK1qiXa.js +52 -0
  29. package/dist/ServerSettings-Cz6C8Dlh.js +84 -0
  30. package/dist/ServerStatus-DBJW9C6H.js +63 -0
  31. package/dist/ServerTasks-Bs3iGYY3.js +854 -0
  32. package/dist/SettingsParameters-DCqhqxHk.js +87 -0
  33. package/dist/SmartPortSelector-DektJC6p.js +161 -0
  34. package/dist/UpdateNodeForm-CwirLUIK.js +648 -0
  35. package/dist/UserServerPrivileges-utyKdh7O.js +318 -0
  36. package/dist/_commonjsHelpers-C6fGbg64.js +6 -0
  37. package/dist/_createCompounder-DSupx5mD.js +241 -0
  38. package/dist/camelCase-WcUYdRB3.js +8 -0
  39. package/dist/capitalize-DRKkBaYR.js +40 -0
  40. package/dist/clientCertificates-BsJdUHYw.js +53 -0
  41. package/dist/favicon-32x32.png +0 -0
  42. package/dist/favicon-96x96.png +0 -0
  43. package/dist/favicon.ico +0 -0
  44. package/dist/fonts/gicon.eot +0 -0
  45. package/dist/fonts/gicon.svg +33 -0
  46. package/dist/fonts/gicon.ttf +0 -0
  47. package/dist/fonts/gicon.woff +0 -0
  48. package/dist/fonts/gicon.woff2 +0 -0
  49. package/dist/frontend.css +14 -0
  50. package/dist/gameList-DpGDCxFE.js +115 -0
  51. package/dist/images/gap_logo_white.png +0 -0
  52. package/dist/images/gap_logo_white_mini.png +0 -0
  53. package/dist/images/gicon.svg +18 -0
  54. package/dist/images/icons/save-white.svg +1 -0
  55. package/dist/images/icons/save.svg +1 -0
  56. package/dist/index-60qEjGuU.js +5371 -0
  57. package/dist/index.js +1 -0
  58. package/dist/loader-CrZTMKcy.js +131 -0
  59. package/dist/mockServiceWorker.js +349 -0
  60. package/dist/snakeCase-CTCA7tap.js +7 -0
  61. package/package.json +2 -2
@@ -0,0 +1,648 @@
1
+ import { mergeModels as w, ref as N, useModel as I, resolveComponent as L, createElementBlock as V, openBlock as R, normalizeClass as q, createVNode as l, renderSlot as z, unref as e, withCtx as o, createElementVNode as r, createTextVNode as c, toDisplayString as n, h as v } from "vue";
2
+ import { o as D, t as d, _ as F } from "./index-60qEjGuU.js";
3
+ import { NForm as M, NTabs as O, NTabPane as f, NCard as m, NFormItem as u, NInput as i, NSwitch as T, NSelect as x, NUpload as B, NButton as G } from "naive-ui";
4
+ const H = { class: "flex flex-wrap mt-2" }, K = { class: "md:w-1/2 pr-4" }, $ = { class: "flex flex-wrap w-full" }, E = { class: "flex flex-wrap w-full" }, W = { class: "md:w-1/2 pl-4" }, j = { class: "flex flex-wrap w-full" }, A = { class: "flex flex-wrap w-full mt-4" }, J = { class: "flex flex-wrap w-full" }, Q = { class: "flex flex-wrap w-full" }, X = { class: "flex flex-wrap w-full" }, Y = { class: "flex flex-wrap w-full" }, Z = { class: "flex flex-wrap w-full" }, ee = { class: "flex flex-wrap w-full" }, le = { class: "flex flex-wrap w-full" }, ae = { class: "flex flex-wrap w-full" }, te = { class: "flex flex-wrap w-full" }, se = { class: "flex flex-wrap" }, de = { class: "md:w-1/2 pr-4 pl-4" }, oe = { class: "text-xl font-bold dark:text-white" }, re = { class: "ml-1 space-y-1 list-disc list-inside" }, ue = { class: "md:w-1/2 pr-4 pl-4" }, ie = { class: "text-xl font-bold dark:text-white" }, ne = { class: "ml-1 space-y-1 list-disc list-inside" }, pe = { class: "text-xl font-bold dark:text-white" }, ve = { class: "ml-1 space-y-1 list-disc list-inside" }, ce = { class: "hidden lg:inline" }, be = {
5
+ __name: "UpdateNodeForm",
6
+ props: /* @__PURE__ */ w({
7
+ loading: {
8
+ type: Boolean,
9
+ required: !1
10
+ },
11
+ clientCertificateOptions: {
12
+ type: Array,
13
+ required: !0
14
+ }
15
+ }, {
16
+ modelValue: {},
17
+ modelModifiers: {}
18
+ }),
19
+ emits: /* @__PURE__ */ w(["send"], ["update:modelValue"]),
20
+ setup(_, { emit: h }) {
21
+ const g = [
22
+ { label: "Linux", value: "linux" },
23
+ { label: "Windows", value: "windows" },
24
+ { label: "MacOS", value: "macos", disabled: !0 }
25
+ ], y = (p) => {
26
+ switch (p.label) {
27
+ case "Linux":
28
+ return [
29
+ v("i", { class: "fa-brands fa-linux" }, []),
30
+ v("span", { class: "ml-2" }, [p.label])
31
+ ];
32
+ case "Windows":
33
+ return [
34
+ v("i", { class: "fa-brands fa-windows" }, []),
35
+ v("span", { class: "ml-2" }, [p.label])
36
+ ];
37
+ case "MacOS":
38
+ return [
39
+ v("i", { class: "fa-brands fa-apple" }, []),
40
+ v("span", { class: "ml-2" }, [p.label])
41
+ ];
42
+ }
43
+ return p.label;
44
+ }, b = N({}), t = I(_, "modelValue"), U = {
45
+ name: {
46
+ required: !0,
47
+ validator: D(d("labels.name"))
48
+ }
49
+ }, C = (p) => {
50
+ p.fileList.length > 0 ? t.value.serverCertificateFile = p.fileList[0].file : t.value.serverCertificateFile = null;
51
+ }, S = h, P = () => {
52
+ b.value.validate().then(() => {
53
+ S("send");
54
+ });
55
+ };
56
+ return (p, a) => {
57
+ const k = L("InputTextList");
58
+ return R(), V("div", {
59
+ class: q(p.$attrs.class)
60
+ }, [
61
+ l(e(M), {
62
+ "label-placement": "top",
63
+ "label-width": "auto",
64
+ ref_key: "formRef",
65
+ ref: b,
66
+ model: t.value,
67
+ rules: U
68
+ }, {
69
+ default: o(() => [
70
+ l(e(O), {
71
+ type: "line",
72
+ class: "flex justify-between",
73
+ animated: ""
74
+ }, {
75
+ default: o(() => [
76
+ l(e(f), { name: "main" }, {
77
+ tab: o(() => [
78
+ c(n(e(d)("dedicated_servers.main")), 1)
79
+ ]),
80
+ default: o(() => [
81
+ r("div", H, [
82
+ r("div", K, [
83
+ l(e(m), {
84
+ title: e(d)("games.basic_info"),
85
+ size: "small",
86
+ class: "mb-3",
87
+ "header-class": "g-card-header",
88
+ segmented: {
89
+ content: !0,
90
+ footer: "soft"
91
+ }
92
+ }, {
93
+ default: o(() => [
94
+ l(e(u), {
95
+ label: e(d)("labels.name"),
96
+ path: "name"
97
+ }, {
98
+ default: o(() => [
99
+ l(e(i), {
100
+ value: t.value.name,
101
+ "onUpdate:value": a[0] || (a[0] = (s) => t.value.name = s),
102
+ type: "text"
103
+ }, null, 8, ["value"])
104
+ ]),
105
+ _: 1
106
+ }, 8, ["label"]),
107
+ l(e(u), {
108
+ label: e(d)("labels.enabled"),
109
+ path: "enabled"
110
+ }, {
111
+ default: o(() => [
112
+ l(e(T), {
113
+ value: t.value.enabled,
114
+ "onUpdate:value": a[1] || (a[1] = (s) => t.value.enabled = s)
115
+ }, null, 8, ["value"])
116
+ ]),
117
+ _: 1
118
+ }, 8, ["label"]),
119
+ l(e(u), {
120
+ label: e(d)("labels.os"),
121
+ path: "os"
122
+ }, {
123
+ default: o(() => [
124
+ l(e(x), {
125
+ value: t.value.os,
126
+ "onUpdate:value": a[2] || (a[2] = (s) => t.value.os = s),
127
+ options: g,
128
+ "render-label": y
129
+ }, null, 8, ["value"])
130
+ ]),
131
+ _: 1
132
+ }, 8, ["label"]),
133
+ r("div", $, [
134
+ l(e(u), {
135
+ class: "md:w-1/2 pr-2",
136
+ label: e(d)("labels.location"),
137
+ path: "location"
138
+ }, {
139
+ default: o(() => [
140
+ l(e(i), {
141
+ value: t.value.location,
142
+ "onUpdate:value": a[3] || (a[3] = (s) => t.value.location = s),
143
+ type: "text"
144
+ }, null, 8, ["value"])
145
+ ]),
146
+ _: 1
147
+ }, 8, ["label"]),
148
+ l(e(u), {
149
+ class: "md:w-1/2 pl-2",
150
+ label: e(d)("labels.provider"),
151
+ path: "provider"
152
+ }, {
153
+ default: o(() => [
154
+ l(e(i), {
155
+ value: t.value.provider,
156
+ "onUpdate:value": a[4] || (a[4] = (s) => t.value.provider = s),
157
+ type: "text"
158
+ }, null, 8, ["value"])
159
+ ]),
160
+ _: 1
161
+ }, 8, ["label"])
162
+ ]),
163
+ r("div", E, [
164
+ l(e(u), {
165
+ class: "md:w-1/2 pr-2",
166
+ label: e(d)("labels.work_path"),
167
+ path: "workPath"
168
+ }, {
169
+ default: o(() => [
170
+ l(e(i), {
171
+ value: t.value.workPath,
172
+ "onUpdate:value": a[5] || (a[5] = (s) => t.value.workPath = s),
173
+ type: "text"
174
+ }, null, 8, ["value"])
175
+ ]),
176
+ _: 1
177
+ }, 8, ["label"]),
178
+ l(e(u), {
179
+ class: "md:w-1/2 pl-2",
180
+ label: e(d)("labels.steamcmd_path"),
181
+ path: "steamcmdPath"
182
+ }, {
183
+ default: o(() => [
184
+ l(e(i), {
185
+ value: t.value.steamcmdPath,
186
+ "onUpdate:value": a[6] || (a[6] = (s) => t.value.steamcmdPath = s),
187
+ type: "text"
188
+ }, null, 8, ["value"])
189
+ ]),
190
+ _: 1
191
+ }, 8, ["label"])
192
+ ])
193
+ ]),
194
+ _: 1
195
+ }, 8, ["title"])
196
+ ]),
197
+ r("div", W, [
198
+ l(e(m), {
199
+ title: e(d)("dedicated_servers.ip_list"),
200
+ size: "small",
201
+ class: "mb-3",
202
+ "header-class": "g-card-header",
203
+ segmented: {
204
+ content: !0,
205
+ footer: "soft"
206
+ }
207
+ }, {
208
+ default: o(() => [
209
+ l(k, {
210
+ modelValue: t.value.ip,
211
+ "onUpdate:modelValue": a[7] || (a[7] = (s) => t.value.ip = s),
212
+ name: "ip",
213
+ label: "IP"
214
+ }, null, 8, ["modelValue"])
215
+ ]),
216
+ _: 1
217
+ }, 8, ["title"])
218
+ ])
219
+ ])
220
+ ]),
221
+ _: 1
222
+ }),
223
+ l(e(f), { name: "daemon" }, {
224
+ tab: o(() => [...a[27] || (a[27] = [
225
+ c(" Daemon ", -1)
226
+ ])]),
227
+ default: o(() => [
228
+ l(e(m), {
229
+ size: "small",
230
+ class: "mb-3",
231
+ "header-class": "g-card-header",
232
+ segmented: {
233
+ content: !0,
234
+ footer: "soft"
235
+ }
236
+ }, {
237
+ default: o(() => [
238
+ r("div", j, [
239
+ l(e(u), {
240
+ class: "md:w-1/2 pr-2",
241
+ label: e(d)("labels.gdaemon_host"),
242
+ path: "gdaemonHost"
243
+ }, {
244
+ default: o(() => [
245
+ l(e(i), {
246
+ value: t.value.gdaemonHost,
247
+ "onUpdate:value": a[8] || (a[8] = (s) => t.value.gdaemonHost = s),
248
+ type: "text"
249
+ }, null, 8, ["value"])
250
+ ]),
251
+ _: 1
252
+ }, 8, ["label"]),
253
+ l(e(u), {
254
+ class: "md:w-1/2 pl-2",
255
+ label: e(d)("labels.gdaemon_port"),
256
+ path: "gdaemonPort"
257
+ }, {
258
+ default: o(() => [
259
+ l(e(i), {
260
+ value: t.value.gdaemonPort,
261
+ "onUpdate:value": a[9] || (a[9] = (s) => t.value.gdaemonPort = s),
262
+ type: "text"
263
+ }, null, 8, ["value"])
264
+ ]),
265
+ _: 1
266
+ }, 8, ["label"])
267
+ ]),
268
+ r("div", A, [
269
+ l(e(u), {
270
+ class: "md:w-1/2 pr-2",
271
+ label: e(d)("labels.gdaemon_login"),
272
+ path: "gdaemonLogin"
273
+ }, {
274
+ default: o(() => [
275
+ l(e(i), {
276
+ value: t.value.gdaemonLogin,
277
+ "onUpdate:value": a[10] || (a[10] = (s) => t.value.gdaemonLogin = s),
278
+ type: "text"
279
+ }, null, 8, ["value"])
280
+ ]),
281
+ _: 1
282
+ }, 8, ["label"]),
283
+ l(e(u), {
284
+ class: "md:w-1/2 pl-2",
285
+ label: e(d)("labels.gdaemon_password"),
286
+ path: "gdaemonPassword"
287
+ }, {
288
+ default: o(() => [
289
+ l(e(i), {
290
+ value: t.value.gdaemonPassword,
291
+ "onUpdate:value": a[11] || (a[11] = (s) => t.value.gdaemonPassword = s),
292
+ type: "password",
293
+ "show-password-on": "click",
294
+ "input-props": { autocomplete: "one-time-code" }
295
+ }, null, 8, ["value"])
296
+ ]),
297
+ _: 1
298
+ }, 8, ["label"])
299
+ ]),
300
+ r("div", J, [
301
+ l(e(u), {
302
+ class: "md:w-1/2 pr-2",
303
+ label: e(d)("labels.client_certificate_id"),
304
+ path: "clientCertificateId"
305
+ }, {
306
+ default: o(() => [
307
+ l(e(x), {
308
+ value: t.value.clientCertificateId,
309
+ "onUpdate:value": a[12] || (a[12] = (s) => t.value.clientCertificateId = s),
310
+ options: _.clientCertificateOptions
311
+ }, null, 8, ["value", "options"])
312
+ ]),
313
+ _: 1
314
+ }, 8, ["label"])
315
+ ]),
316
+ r("div", Q, [
317
+ l(e(u), {
318
+ class: "md:w-1/2 pl-2",
319
+ label: e(d)("labels.gdaemon_server_cert"),
320
+ path: "serverCertificate"
321
+ }, {
322
+ default: o(() => [
323
+ l(e(B), {
324
+ max: 1,
325
+ multiple: !1,
326
+ "default-upload": !1,
327
+ onChange: C
328
+ }, {
329
+ default: o(() => [
330
+ l(e(G), { class: "mt-2" }, {
331
+ default: o(() => [
332
+ c(n(e(d)("main.upload_file")), 1)
333
+ ]),
334
+ _: 1
335
+ })
336
+ ]),
337
+ _: 1
338
+ })
339
+ ]),
340
+ _: 1
341
+ }, 8, ["label"])
342
+ ])
343
+ ]),
344
+ _: 1
345
+ })
346
+ ]),
347
+ _: 1
348
+ }),
349
+ l(e(f), { name: "scripts" }, {
350
+ tab: o(() => [
351
+ c(n(e(d)("dedicated_servers.scripts")), 1)
352
+ ]),
353
+ default: o(() => [
354
+ l(e(m), {
355
+ size: "small",
356
+ class: "mb-3",
357
+ "header-class": "g-card-header",
358
+ segmented: {
359
+ content: !0,
360
+ footer: "soft"
361
+ }
362
+ }, {
363
+ footer: o(() => [
364
+ r("div", se, [
365
+ r("div", de, [
366
+ r("h5", oe, n(e(d)("dedicated_servers.game_server_shortcodes")), 1),
367
+ r("ul", re, [
368
+ r("li", null, "{host} — " + n(e(d)("dedicated_servers.d_shortcodes_host")), 1),
369
+ r("li", null, "{port} — " + n(e(d)("dedicated_servers.d_shortcodes_port")), 1),
370
+ r("li", null, "{query_port} — " + n(e(d)("dedicated_servers.d_shortcodes_query_port")), 1),
371
+ r("li", null, "{rcon_port} — " + n(e(d)("dedicated_servers.d_shortcodes_rcon_port")), 1),
372
+ r("li", null, "{dir} — " + n(e(d)("dedicated_servers.d_shortcodes_dir")), 1),
373
+ r("li", null, "{id} — " + n(e(d)("dedicated_servers.d_shortcodes_id")), 1),
374
+ r("li", null, "{uuid} — " + n(e(d)("dedicated_servers.d_shortcodes_uuid")), 1),
375
+ r("li", null, "{uuid_short} — " + n(e(d)("dedicated_servers.d_shortcodes_uuid_short")), 1),
376
+ r("li", null, "{game} — " + n(e(d)("dedicated_servers.d_shortcodes_game")), 1),
377
+ r("li", null, "{user} —" + n(e(d)("dedicated_servers.d_shortcodes_user")), 1)
378
+ ])
379
+ ]),
380
+ r("div", ue, [
381
+ r("h5", ie, n(e(d)("dedicated_servers.start_restart_shortcodes")), 1),
382
+ r("ul", ne, [
383
+ r("li", null, "{command} — " + n(e(d)("dedicated_servers.d_shortcodes_start_command")), 1)
384
+ ]),
385
+ r("h5", pe, n(e(d)("dedicated_servers.console_command_shortcodes")), 1),
386
+ r("ul", ve, [
387
+ r("li", null, "{command} — " + n(e(d)("dedicated_servers.d_shortcodes_console_command")), 1)
388
+ ])
389
+ ])
390
+ ])
391
+ ]),
392
+ default: o(() => [
393
+ r("div", X, [
394
+ l(e(u), {
395
+ class: "md:w-1/2 pr-2",
396
+ label: e(d)("labels.script_install"),
397
+ path: "scriptInstall"
398
+ }, {
399
+ default: o(() => [
400
+ l(e(i), {
401
+ value: t.value.scriptInstall,
402
+ "onUpdate:value": a[13] || (a[13] = (s) => t.value.scriptInstall = s),
403
+ type: "text",
404
+ placeholder: ""
405
+ }, null, 8, ["value"])
406
+ ]),
407
+ _: 1
408
+ }, 8, ["label"]),
409
+ l(e(u), {
410
+ class: "md:w-1/2 pl-2",
411
+ label: e(d)("labels.script_reinstall"),
412
+ path: "scriptReinstall"
413
+ }, {
414
+ default: o(() => [
415
+ l(e(i), {
416
+ value: t.value.scriptReinstall,
417
+ "onUpdate:value": a[14] || (a[14] = (s) => t.value.scriptReinstall = s),
418
+ type: "text",
419
+ placeholder: ""
420
+ }, null, 8, ["value"])
421
+ ]),
422
+ _: 1
423
+ }, 8, ["label"])
424
+ ]),
425
+ r("div", Y, [
426
+ l(e(u), {
427
+ class: "md:w-1/2 pr-2",
428
+ label: e(d)("labels.script_update"),
429
+ path: "scriptUpdate"
430
+ }, {
431
+ default: o(() => [
432
+ l(e(i), {
433
+ value: t.value.scriptUpdate,
434
+ "onUpdate:value": a[15] || (a[15] = (s) => t.value.scriptUpdate = s),
435
+ type: "text",
436
+ placeholder: ""
437
+ }, null, 8, ["value"])
438
+ ]),
439
+ _: 1
440
+ }, 8, ["label"]),
441
+ l(e(u), {
442
+ class: "md:w-1/2 pl-2",
443
+ label: e(d)("labels.script_start"),
444
+ path: "scriptStart"
445
+ }, {
446
+ default: o(() => [
447
+ l(e(i), {
448
+ value: t.value.scriptStart,
449
+ "onUpdate:value": a[16] || (a[16] = (s) => t.value.scriptStart = s),
450
+ type: "text",
451
+ placeholder: ""
452
+ }, null, 8, ["value"])
453
+ ]),
454
+ _: 1
455
+ }, 8, ["label"])
456
+ ]),
457
+ r("div", Z, [
458
+ l(e(u), {
459
+ class: "md:w-1/2 pr-2",
460
+ label: e(d)("labels.script_pause"),
461
+ path: "scriptPause"
462
+ }, {
463
+ default: o(() => [
464
+ l(e(i), {
465
+ value: t.value.scriptPause,
466
+ "onUpdate:value": a[17] || (a[17] = (s) => t.value.scriptPause = s),
467
+ type: "text",
468
+ placeholder: ""
469
+ }, null, 8, ["value"])
470
+ ]),
471
+ _: 1
472
+ }, 8, ["label"]),
473
+ l(e(u), {
474
+ class: "md:w-1/2 pl-2",
475
+ label: e(d)("labels.script_unpause"),
476
+ path: "scriptUnpause"
477
+ }, {
478
+ default: o(() => [
479
+ l(e(i), {
480
+ value: t.value.scriptUnpause,
481
+ "onUpdate:value": a[18] || (a[18] = (s) => t.value.scriptUnpause = s),
482
+ type: "text",
483
+ placeholder: ""
484
+ }, null, 8, ["value"])
485
+ ]),
486
+ _: 1
487
+ }, 8, ["label"])
488
+ ]),
489
+ r("div", ee, [
490
+ l(e(u), {
491
+ class: "md:w-1/2 pr-2",
492
+ label: e(d)("labels.script_stop"),
493
+ path: "scriptStop"
494
+ }, {
495
+ default: o(() => [
496
+ l(e(i), {
497
+ value: t.value.scriptStop,
498
+ "onUpdate:value": a[19] || (a[19] = (s) => t.value.scriptStop = s),
499
+ type: "text",
500
+ placeholder: ""
501
+ }, null, 8, ["value"])
502
+ ]),
503
+ _: 1
504
+ }, 8, ["label"]),
505
+ l(e(u), {
506
+ class: "md:w-1/2 pl-2",
507
+ label: e(d)("labels.script_kill"),
508
+ path: "scriptKill"
509
+ }, {
510
+ default: o(() => [
511
+ l(e(i), {
512
+ value: t.value.scriptKill,
513
+ "onUpdate:value": a[20] || (a[20] = (s) => t.value.scriptKill = s),
514
+ type: "text",
515
+ placeholder: ""
516
+ }, null, 8, ["value"])
517
+ ]),
518
+ _: 1
519
+ }, 8, ["label"])
520
+ ]),
521
+ r("div", le, [
522
+ l(e(u), {
523
+ class: "md:w-1/2 pr-2",
524
+ label: e(d)("labels.script_restart"),
525
+ path: "scriptRestart"
526
+ }, {
527
+ default: o(() => [
528
+ l(e(i), {
529
+ value: t.value.scriptRestart,
530
+ "onUpdate:value": a[21] || (a[21] = (s) => t.value.scriptRestart = s),
531
+ type: "text",
532
+ placeholder: ""
533
+ }, null, 8, ["value"])
534
+ ]),
535
+ _: 1
536
+ }, 8, ["label"]),
537
+ l(e(u), {
538
+ class: "md:w-1/2 pl-2",
539
+ label: e(d)("labels.script_status"),
540
+ path: "scriptStatus"
541
+ }, {
542
+ default: o(() => [
543
+ l(e(i), {
544
+ value: t.value.scriptStatus,
545
+ "onUpdate:value": a[22] || (a[22] = (s) => t.value.scriptStatus = s),
546
+ type: "text",
547
+ placeholder: ""
548
+ }, null, 8, ["value"])
549
+ ]),
550
+ _: 1
551
+ }, 8, ["label"])
552
+ ]),
553
+ r("div", ae, [
554
+ l(e(u), {
555
+ class: "md:w-1/2 pr-2",
556
+ label: e(d)("labels.script_get_console"),
557
+ path: "scriptGetConsole"
558
+ }, {
559
+ default: o(() => [
560
+ l(e(i), {
561
+ value: t.value.scriptGetConsole,
562
+ "onUpdate:value": a[23] || (a[23] = (s) => t.value.scriptGetConsole = s),
563
+ type: "text",
564
+ placeholder: ""
565
+ }, null, 8, ["value"])
566
+ ]),
567
+ _: 1
568
+ }, 8, ["label"]),
569
+ l(e(u), {
570
+ class: "md:w-1/2 pl-2",
571
+ label: e(d)("labels.script_send_command"),
572
+ path: "scriptSendCommand"
573
+ }, {
574
+ default: o(() => [
575
+ l(e(i), {
576
+ value: t.value.scriptSendCommand,
577
+ "onUpdate:value": a[24] || (a[24] = (s) => t.value.scriptSendCommand = s),
578
+ type: "text",
579
+ placeholder: ""
580
+ }, null, 8, ["value"])
581
+ ]),
582
+ _: 1
583
+ }, 8, ["label"])
584
+ ]),
585
+ r("div", te, [
586
+ l(e(u), {
587
+ class: "md:w-1/2 pr-2",
588
+ label: e(d)("labels.script_delete"),
589
+ path: "scriptDelete"
590
+ }, {
591
+ default: o(() => [
592
+ l(e(i), {
593
+ value: t.value.scriptDelete,
594
+ "onUpdate:value": a[25] || (a[25] = (s) => t.value.scriptDelete = s),
595
+ type: "text",
596
+ placeholder: ""
597
+ }, null, 8, ["value"])
598
+ ]),
599
+ _: 1
600
+ }, 8, ["label"]),
601
+ l(e(u), {
602
+ class: "md:w-1/2 pl-2",
603
+ label: e(d)("labels.script_stats"),
604
+ path: "scriptStats"
605
+ }, {
606
+ default: o(() => [
607
+ l(e(i), {
608
+ value: t.value.scriptStats,
609
+ "onUpdate:value": a[26] || (a[26] = (s) => t.value.scriptStats = s),
610
+ type: "text",
611
+ placeholder: ""
612
+ }, null, 8, ["value"])
613
+ ]),
614
+ _: 1
615
+ }, 8, ["label"])
616
+ ])
617
+ ]),
618
+ _: 1
619
+ })
620
+ ]),
621
+ _: 1
622
+ })
623
+ ]),
624
+ _: 1
625
+ })
626
+ ]),
627
+ _: 1
628
+ }, 8, ["model"]),
629
+ z(p.$slots, "button", {}, () => [
630
+ l(F, {
631
+ class: "mt-2",
632
+ color: "green",
633
+ onClick: P
634
+ }, {
635
+ default: o(() => [
636
+ a[28] || (a[28] = r("i", { class: "fa-regular fa-floppy-disk mr-0.5" }, null, -1)),
637
+ r("span", ce, " " + n(e(d)("main.save")), 1)
638
+ ]),
639
+ _: 1
640
+ })
641
+ ])
642
+ ], 2);
643
+ };
644
+ }
645
+ };
646
+ export {
647
+ be as _
648
+ };