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