@gameap/frontend 4.1.0-dev7 → 4.1.0-dev9
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-BQyXmri1.js → AdminClientCertificatesView-rVNAX5Dl.js} +97 -94
- package/dist/AdminDaemonTaskListView-CoUVp9tK.js +316 -0
- package/dist/{AdminDaemonTaskOutputView-DRrZwAwW.js → AdminDaemonTaskOutputView-BJpuWCtc.js} +18 -17
- package/dist/{AdminGamesEdit-CDTCJu52.js → AdminGamesEdit-HKWU2C59.js} +121 -117
- package/dist/AdminGamesList-BwN_RFDY.js +518 -0
- package/dist/{AdminModEdit-P0crpkM3.js → AdminModEdit-CbVGlk5M.js} +123 -119
- package/dist/AdminNodeShowView-C7VsvwQo.js +175 -0
- package/dist/AdminNodesCreateView-BfEHhFn2.js +87 -0
- package/dist/{AdminNodesEditView-DdNciuMa.js → AdminNodesEditView-DE-zhVTd.js} +11 -11
- package/dist/AdminNodesView-QMdy3oJ1.js +167 -0
- package/dist/AdminPluginsView-BBALhxPk.js +984 -0
- package/dist/{AdminServersCreate-zGHHAEkO.js → AdminServersCreate-g_A290kz.js} +122 -124
- package/dist/{AdminServersEdit-BR6sRGlM.js → AdminServersEdit-D0RERbR5.js} +125 -124
- package/dist/{AdminServersList-DhUQ1zrt.js → AdminServersList-_ek_2u8B.js} +35 -31
- package/dist/{AdminUsersEditView-CqRLzCkV.js → AdminUsersEditView-CbZCH6eM.js} +89 -85
- package/dist/{AdminUsersView-TCHghzxY.js → AdminUsersView-D4WoRB5b.js} +145 -141
- package/dist/CreateModForm-CpbIOQNu.js +123 -0
- package/dist/CreateNodeModal-C96UVcAJ.js +99 -0
- package/dist/{DsIpSelector-EnBHsJLE.js → DsIpSelector-D_hc_JYQ.js} +1 -1
- package/dist/EmptyView-qkQQJ_OR.js +9 -0
- package/dist/FileManager-v-1ASSne.js +5931 -0
- package/dist/GameIcon-DaYNlnur.js +87 -0
- package/dist/{GameModSelector-bZsSGC6T.js → GameModSelector-CiI3H5Zq.js} +21 -20
- package/dist/InputManyList-C52f5V6l.js +110 -0
- package/dist/InputTextList-5KeNATa7.js +63 -0
- package/dist/PluginPendingView-CDR44QCG.js +34 -0
- package/dist/ProfileView-CC3KJ2gK.js +295 -0
- package/dist/RconConsole-DkRK7vz3.js +74 -0
- package/dist/{RconPlayers-CXL0bHlU.js → RconPlayers-CDRCp79f.js} +131 -127
- package/dist/ServerConsole-Bj0Zr1BS.js +99 -0
- package/dist/ServerControlButton-C4zWzA-d.js +185 -0
- package/dist/ServerIdView-BJS6wcMH.js +608 -0
- package/dist/{ServerSelector-D7O1thVu.js → ServerSelector-DPM5SjWO.js} +7 -7
- package/dist/{ServerSettings-Lk4lq5hI.js → ServerSettings-BYRSLaJk.js} +26 -26
- package/dist/{ServerStatus-CCFiPWXV.js → ServerStatus-BK8yKehx.js} +1 -1
- package/dist/{ServerTasks-gNFBkyv1.js → ServerTasks-DUC2DDcY.js} +304 -302
- package/dist/ServersView-BbLoOEEz.js +312 -0
- package/dist/SettingsParameters-C-TFWsJF.js +89 -0
- package/dist/SmartPortSelector-DCsuCDpV.js +174 -0
- package/dist/TokensView-B5D45QbV.js +392 -0
- package/dist/{UpdateNodeForm-BQDjp3CR.js → UpdateNodeForm-DmAoHURu.js} +131 -127
- package/dist/UserServerPrivileges-k-30v4ps.js +319 -0
- package/dist/{_createCompounder-NPjOAZm-.js → _createCompounder-DHQYnhTQ.js} +2 -2
- package/dist/{camelCase-BXg45SFI.js → camelCase-CE1GGhvX.js} +2 -2
- package/dist/{capitalize-BSQeiLff.js → capitalize-DnZmwhT4.js} +5 -5
- package/dist/{clientCertificates-Dm0Bh62v.js → clientCertificates-Dd9OqxGQ.js} +1 -1
- package/dist/frontend.css +6 -14
- package/dist/{gameList-CJAymSBL.js → gameList-BLdEusRA.js} +40 -40
- package/dist/gameap.svg +3 -0
- package/dist/gameap_full.svg +9 -0
- package/dist/index-BDKiNPpP.js +3840 -0
- package/dist/index.js +1 -1
- package/dist/isEmpty-lBntcFaB.js +263 -0
- package/dist/join-CmlzL0H9.js +7 -0
- package/dist/{loader-BGOXrNPF.js → loader-C49Def-j.js} +1 -1
- package/dist/{snakeCase-o1mQEFQr.js → snakeCase--wUVfLw4.js} +1 -1
- package/dist/validators-BVXTUmow.js +65 -0
- package/package.json +1 -1
- package/dist/AdminDaemonTaskListView-DTQbTpkt.js +0 -315
- package/dist/AdminGamesList-CU_RB7gu.js +0 -499
- package/dist/AdminNodeShowView-Col-7fyA.js +0 -166
- package/dist/AdminNodesCreateView-CZsMnSCJ.js +0 -84
- package/dist/AdminNodesView-DvuZ9haB.js +0 -160
- package/dist/CreateModForm-Byq8UvuW.js +0 -122
- package/dist/CreateNodeModal-BNV35RnR.js +0 -93
- package/dist/FileManager-X3FkHNzF.js +0 -31882
- package/dist/InputManyList-BFGIEnls.js +0 -110
- package/dist/InputTextList-D280D5fs.js +0 -63
- package/dist/PluginPendingView-Cp6KgA8z.js +0 -31
- package/dist/RconConsole-BxjHKC6E.js +0 -74
- package/dist/ServerConsole-Cr-BZJIC.js +0 -98
- package/dist/ServerIdView-wsnPfVUi.js +0 -576
- package/dist/SettingsParameters-BVpVg868.js +0 -87
- package/dist/SmartPortSelector-bubAEnvR.js +0 -161
- package/dist/UserServerPrivileges-CizE2EYl.js +0 -318
- package/dist/_commonjsHelpers-C6fGbg64.js +0 -6
- package/dist/index-Fmomw6wi.js +0 -5750
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { mergeModels as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
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-BDKiNPpP.js";
|
|
3
|
+
import { r as M } from "./validators-BVXTUmow.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 = {
|
|
5
6
|
__name: "UpdateNodeForm",
|
|
6
|
-
props: /* @__PURE__ */
|
|
7
|
+
props: /* @__PURE__ */ x({
|
|
7
8
|
loading: {
|
|
8
9
|
type: Boolean,
|
|
9
10
|
required: !1
|
|
@@ -16,71 +17,71 @@ const H = { class: "flex flex-wrap mt-2" }, K = { class: "md:w-1/2 pr-4" }, $ =
|
|
|
16
17
|
modelValue: {},
|
|
17
18
|
modelModifiers: {}
|
|
18
19
|
}),
|
|
19
|
-
emits: /* @__PURE__ */
|
|
20
|
-
setup(
|
|
21
|
-
const
|
|
20
|
+
emits: /* @__PURE__ */ x(["send"], ["update:modelValue"]),
|
|
21
|
+
setup(b, { emit: g }) {
|
|
22
|
+
const y = [
|
|
22
23
|
{ label: "Linux", value: "linux" },
|
|
23
24
|
{ label: "Windows", value: "windows" },
|
|
24
25
|
{ label: "MacOS", value: "macos", disabled: !0 }
|
|
25
|
-
],
|
|
26
|
+
], U = (p) => {
|
|
26
27
|
switch (p.label) {
|
|
27
28
|
case "Linux":
|
|
28
29
|
return [
|
|
29
|
-
v(
|
|
30
|
+
v(m, { name: "linux" }),
|
|
30
31
|
v("span", { class: "ml-2" }, [p.label])
|
|
31
32
|
];
|
|
32
33
|
case "Windows":
|
|
33
34
|
return [
|
|
34
|
-
v(
|
|
35
|
+
v(m, { name: "windows" }),
|
|
35
36
|
v("span", { class: "ml-2" }, [p.label])
|
|
36
37
|
];
|
|
37
38
|
case "MacOS":
|
|
38
39
|
return [
|
|
39
|
-
v(
|
|
40
|
+
v(m, { name: "apple" }),
|
|
40
41
|
v("span", { class: "ml-2" }, [p.label])
|
|
41
42
|
];
|
|
42
43
|
}
|
|
43
44
|
return p.label;
|
|
44
|
-
},
|
|
45
|
+
}, w = I({}), a = L(b, "modelValue"), C = {
|
|
45
46
|
name: {
|
|
46
47
|
required: !0,
|
|
47
|
-
validator:
|
|
48
|
+
validator: M(d("labels.name"))
|
|
48
49
|
}
|
|
49
|
-
},
|
|
50
|
-
p.fileList.length > 0 ?
|
|
51
|
-
},
|
|
52
|
-
|
|
53
|
-
|
|
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");
|
|
54
55
|
});
|
|
55
56
|
};
|
|
56
|
-
return (p,
|
|
57
|
-
const
|
|
58
|
-
return
|
|
59
|
-
class:
|
|
57
|
+
return (p, t) => {
|
|
58
|
+
const N = V("InputTextList");
|
|
59
|
+
return q(), R("div", {
|
|
60
|
+
class: z(p.$attrs.class)
|
|
60
61
|
}, [
|
|
61
|
-
l(e(
|
|
62
|
+
l(e(O), {
|
|
62
63
|
"label-placement": "top",
|
|
63
64
|
"label-width": "auto",
|
|
64
65
|
ref_key: "formRef",
|
|
65
|
-
ref:
|
|
66
|
-
model:
|
|
67
|
-
rules:
|
|
66
|
+
ref: w,
|
|
67
|
+
model: a.value,
|
|
68
|
+
rules: C
|
|
68
69
|
}, {
|
|
69
70
|
default: o(() => [
|
|
70
|
-
l(e(
|
|
71
|
+
l(e(T), {
|
|
71
72
|
type: "line",
|
|
72
73
|
class: "flex justify-between",
|
|
73
74
|
animated: ""
|
|
74
75
|
}, {
|
|
75
76
|
default: o(() => [
|
|
76
|
-
l(e(
|
|
77
|
+
l(e(_), { name: "main" }, {
|
|
77
78
|
tab: o(() => [
|
|
78
79
|
c(n(e(d)("dedicated_servers.main")), 1)
|
|
79
80
|
]),
|
|
80
81
|
default: o(() => [
|
|
81
82
|
r("div", H, [
|
|
82
83
|
r("div", K, [
|
|
83
|
-
l(e(
|
|
84
|
+
l(e(f), {
|
|
84
85
|
title: e(d)("games.basic_info"),
|
|
85
86
|
size: "small",
|
|
86
87
|
class: "mb-3",
|
|
@@ -97,8 +98,8 @@ const H = { class: "flex flex-wrap mt-2" }, K = { class: "md:w-1/2 pr-4" }, $ =
|
|
|
97
98
|
}, {
|
|
98
99
|
default: o(() => [
|
|
99
100
|
l(e(i), {
|
|
100
|
-
value:
|
|
101
|
-
"onUpdate:value":
|
|
101
|
+
value: a.value.name,
|
|
102
|
+
"onUpdate:value": t[0] || (t[0] = (s) => a.value.name = s),
|
|
102
103
|
type: "text"
|
|
103
104
|
}, null, 8, ["value"])
|
|
104
105
|
]),
|
|
@@ -109,9 +110,9 @@ const H = { class: "flex flex-wrap mt-2" }, K = { class: "md:w-1/2 pr-4" }, $ =
|
|
|
109
110
|
path: "enabled"
|
|
110
111
|
}, {
|
|
111
112
|
default: o(() => [
|
|
112
|
-
l(e(
|
|
113
|
-
value:
|
|
114
|
-
"onUpdate:value":
|
|
113
|
+
l(e(B), {
|
|
114
|
+
value: a.value.enabled,
|
|
115
|
+
"onUpdate:value": t[1] || (t[1] = (s) => a.value.enabled = s)
|
|
115
116
|
}, null, 8, ["value"])
|
|
116
117
|
]),
|
|
117
118
|
_: 1
|
|
@@ -121,16 +122,16 @@ const H = { class: "flex flex-wrap mt-2" }, K = { class: "md:w-1/2 pr-4" }, $ =
|
|
|
121
122
|
path: "os"
|
|
122
123
|
}, {
|
|
123
124
|
default: o(() => [
|
|
124
|
-
l(e(
|
|
125
|
-
value:
|
|
126
|
-
"onUpdate:value":
|
|
127
|
-
options:
|
|
128
|
-
"render-label":
|
|
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
|
|
129
130
|
}, null, 8, ["value"])
|
|
130
131
|
]),
|
|
131
132
|
_: 1
|
|
132
133
|
}, 8, ["label"]),
|
|
133
|
-
r("div",
|
|
134
|
+
r("div", E, [
|
|
134
135
|
l(e(u), {
|
|
135
136
|
class: "md:w-1/2 pr-2",
|
|
136
137
|
label: e(d)("labels.location"),
|
|
@@ -138,8 +139,8 @@ const H = { class: "flex flex-wrap mt-2" }, K = { class: "md:w-1/2 pr-4" }, $ =
|
|
|
138
139
|
}, {
|
|
139
140
|
default: o(() => [
|
|
140
141
|
l(e(i), {
|
|
141
|
-
value:
|
|
142
|
-
"onUpdate:value":
|
|
142
|
+
value: a.value.location,
|
|
143
|
+
"onUpdate:value": t[3] || (t[3] = (s) => a.value.location = s),
|
|
143
144
|
type: "text"
|
|
144
145
|
}, null, 8, ["value"])
|
|
145
146
|
]),
|
|
@@ -152,15 +153,15 @@ const H = { class: "flex flex-wrap mt-2" }, K = { class: "md:w-1/2 pr-4" }, $ =
|
|
|
152
153
|
}, {
|
|
153
154
|
default: o(() => [
|
|
154
155
|
l(e(i), {
|
|
155
|
-
value:
|
|
156
|
-
"onUpdate:value":
|
|
156
|
+
value: a.value.provider,
|
|
157
|
+
"onUpdate:value": t[4] || (t[4] = (s) => a.value.provider = s),
|
|
157
158
|
type: "text"
|
|
158
159
|
}, null, 8, ["value"])
|
|
159
160
|
]),
|
|
160
161
|
_: 1
|
|
161
162
|
}, 8, ["label"])
|
|
162
163
|
]),
|
|
163
|
-
r("div",
|
|
164
|
+
r("div", W, [
|
|
164
165
|
l(e(u), {
|
|
165
166
|
class: "md:w-1/2 pr-2",
|
|
166
167
|
label: e(d)("labels.work_path"),
|
|
@@ -168,8 +169,8 @@ const H = { class: "flex flex-wrap mt-2" }, K = { class: "md:w-1/2 pr-4" }, $ =
|
|
|
168
169
|
}, {
|
|
169
170
|
default: o(() => [
|
|
170
171
|
l(e(i), {
|
|
171
|
-
value:
|
|
172
|
-
"onUpdate:value":
|
|
172
|
+
value: a.value.workPath,
|
|
173
|
+
"onUpdate:value": t[5] || (t[5] = (s) => a.value.workPath = s),
|
|
173
174
|
type: "text"
|
|
174
175
|
}, null, 8, ["value"])
|
|
175
176
|
]),
|
|
@@ -182,8 +183,8 @@ const H = { class: "flex flex-wrap mt-2" }, K = { class: "md:w-1/2 pr-4" }, $ =
|
|
|
182
183
|
}, {
|
|
183
184
|
default: o(() => [
|
|
184
185
|
l(e(i), {
|
|
185
|
-
value:
|
|
186
|
-
"onUpdate:value":
|
|
186
|
+
value: a.value.steamcmdPath,
|
|
187
|
+
"onUpdate:value": t[6] || (t[6] = (s) => a.value.steamcmdPath = s),
|
|
187
188
|
type: "text"
|
|
188
189
|
}, null, 8, ["value"])
|
|
189
190
|
]),
|
|
@@ -194,8 +195,8 @@ const H = { class: "flex flex-wrap mt-2" }, K = { class: "md:w-1/2 pr-4" }, $ =
|
|
|
194
195
|
_: 1
|
|
195
196
|
}, 8, ["title"])
|
|
196
197
|
]),
|
|
197
|
-
r("div",
|
|
198
|
-
l(e(
|
|
198
|
+
r("div", j, [
|
|
199
|
+
l(e(f), {
|
|
199
200
|
title: e(d)("dedicated_servers.ip_list"),
|
|
200
201
|
size: "small",
|
|
201
202
|
class: "mb-3",
|
|
@@ -206,9 +207,9 @@ const H = { class: "flex flex-wrap mt-2" }, K = { class: "md:w-1/2 pr-4" }, $ =
|
|
|
206
207
|
}
|
|
207
208
|
}, {
|
|
208
209
|
default: o(() => [
|
|
209
|
-
l(
|
|
210
|
-
modelValue:
|
|
211
|
-
"onUpdate:modelValue":
|
|
210
|
+
l(N, {
|
|
211
|
+
modelValue: a.value.ip,
|
|
212
|
+
"onUpdate:modelValue": t[7] || (t[7] = (s) => a.value.ip = s),
|
|
212
213
|
name: "ip",
|
|
213
214
|
label: "IP"
|
|
214
215
|
}, null, 8, ["modelValue"])
|
|
@@ -220,12 +221,12 @@ const H = { class: "flex flex-wrap mt-2" }, K = { class: "md:w-1/2 pr-4" }, $ =
|
|
|
220
221
|
]),
|
|
221
222
|
_: 1
|
|
222
223
|
}),
|
|
223
|
-
l(e(
|
|
224
|
-
tab: o(() => [...
|
|
224
|
+
l(e(_), { name: "daemon" }, {
|
|
225
|
+
tab: o(() => [...t[27] || (t[27] = [
|
|
225
226
|
c(" Daemon ", -1)
|
|
226
227
|
])]),
|
|
227
228
|
default: o(() => [
|
|
228
|
-
l(e(
|
|
229
|
+
l(e(f), {
|
|
229
230
|
size: "small",
|
|
230
231
|
class: "mb-3",
|
|
231
232
|
"header-class": "g-card-header",
|
|
@@ -235,7 +236,7 @@ const H = { class: "flex flex-wrap mt-2" }, K = { class: "md:w-1/2 pr-4" }, $ =
|
|
|
235
236
|
}
|
|
236
237
|
}, {
|
|
237
238
|
default: o(() => [
|
|
238
|
-
r("div",
|
|
239
|
+
r("div", A, [
|
|
239
240
|
l(e(u), {
|
|
240
241
|
class: "md:w-1/2 pr-2",
|
|
241
242
|
label: e(d)("labels.gdaemon_host"),
|
|
@@ -243,8 +244,8 @@ const H = { class: "flex flex-wrap mt-2" }, K = { class: "md:w-1/2 pr-4" }, $ =
|
|
|
243
244
|
}, {
|
|
244
245
|
default: o(() => [
|
|
245
246
|
l(e(i), {
|
|
246
|
-
value:
|
|
247
|
-
"onUpdate:value":
|
|
247
|
+
value: a.value.gdaemonHost,
|
|
248
|
+
"onUpdate:value": t[8] || (t[8] = (s) => a.value.gdaemonHost = s),
|
|
248
249
|
type: "text"
|
|
249
250
|
}, null, 8, ["value"])
|
|
250
251
|
]),
|
|
@@ -257,15 +258,15 @@ const H = { class: "flex flex-wrap mt-2" }, K = { class: "md:w-1/2 pr-4" }, $ =
|
|
|
257
258
|
}, {
|
|
258
259
|
default: o(() => [
|
|
259
260
|
l(e(i), {
|
|
260
|
-
value:
|
|
261
|
-
"onUpdate:value":
|
|
261
|
+
value: a.value.gdaemonPort,
|
|
262
|
+
"onUpdate:value": t[9] || (t[9] = (s) => a.value.gdaemonPort = s),
|
|
262
263
|
type: "text"
|
|
263
264
|
}, null, 8, ["value"])
|
|
264
265
|
]),
|
|
265
266
|
_: 1
|
|
266
267
|
}, 8, ["label"])
|
|
267
268
|
]),
|
|
268
|
-
r("div",
|
|
269
|
+
r("div", J, [
|
|
269
270
|
l(e(u), {
|
|
270
271
|
class: "md:w-1/2 pr-2",
|
|
271
272
|
label: e(d)("labels.gdaemon_login"),
|
|
@@ -273,8 +274,8 @@ const H = { class: "flex flex-wrap mt-2" }, K = { class: "md:w-1/2 pr-4" }, $ =
|
|
|
273
274
|
}, {
|
|
274
275
|
default: o(() => [
|
|
275
276
|
l(e(i), {
|
|
276
|
-
value:
|
|
277
|
-
"onUpdate:value":
|
|
277
|
+
value: a.value.gdaemonLogin,
|
|
278
|
+
"onUpdate:value": t[10] || (t[10] = (s) => a.value.gdaemonLogin = s),
|
|
278
279
|
type: "text"
|
|
279
280
|
}, null, 8, ["value"])
|
|
280
281
|
]),
|
|
@@ -287,8 +288,8 @@ const H = { class: "flex flex-wrap mt-2" }, K = { class: "md:w-1/2 pr-4" }, $ =
|
|
|
287
288
|
}, {
|
|
288
289
|
default: o(() => [
|
|
289
290
|
l(e(i), {
|
|
290
|
-
value:
|
|
291
|
-
"onUpdate:value":
|
|
291
|
+
value: a.value.gdaemonPassword,
|
|
292
|
+
"onUpdate:value": t[11] || (t[11] = (s) => a.value.gdaemonPassword = s),
|
|
292
293
|
type: "password",
|
|
293
294
|
"show-password-on": "click",
|
|
294
295
|
"input-props": { autocomplete: "one-time-code" }
|
|
@@ -297,34 +298,34 @@ const H = { class: "flex flex-wrap mt-2" }, K = { class: "md:w-1/2 pr-4" }, $ =
|
|
|
297
298
|
_: 1
|
|
298
299
|
}, 8, ["label"])
|
|
299
300
|
]),
|
|
300
|
-
r("div",
|
|
301
|
+
r("div", Q, [
|
|
301
302
|
l(e(u), {
|
|
302
303
|
class: "md:w-1/2 pr-2",
|
|
303
304
|
label: e(d)("labels.client_certificate_id"),
|
|
304
305
|
path: "clientCertificateId"
|
|
305
306
|
}, {
|
|
306
307
|
default: o(() => [
|
|
307
|
-
l(e(
|
|
308
|
-
value:
|
|
309
|
-
"onUpdate:value":
|
|
310
|
-
options:
|
|
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
|
|
311
312
|
}, null, 8, ["value", "options"])
|
|
312
313
|
]),
|
|
313
314
|
_: 1
|
|
314
315
|
}, 8, ["label"])
|
|
315
316
|
]),
|
|
316
|
-
r("div",
|
|
317
|
+
r("div", X, [
|
|
317
318
|
l(e(u), {
|
|
318
319
|
class: "md:w-1/2 pl-2",
|
|
319
320
|
label: e(d)("labels.gdaemon_server_cert"),
|
|
320
321
|
path: "serverCertificate"
|
|
321
322
|
}, {
|
|
322
323
|
default: o(() => [
|
|
323
|
-
l(e(
|
|
324
|
+
l(e($), {
|
|
324
325
|
max: 1,
|
|
325
326
|
multiple: !1,
|
|
326
327
|
"default-upload": !1,
|
|
327
|
-
onChange:
|
|
328
|
+
onChange: S
|
|
328
329
|
}, {
|
|
329
330
|
default: o(() => [
|
|
330
331
|
l(e(G), { class: "mt-2" }, {
|
|
@@ -346,12 +347,12 @@ const H = { class: "flex flex-wrap mt-2" }, K = { class: "md:w-1/2 pr-4" }, $ =
|
|
|
346
347
|
]),
|
|
347
348
|
_: 1
|
|
348
349
|
}),
|
|
349
|
-
l(e(
|
|
350
|
+
l(e(_), { name: "scripts" }, {
|
|
350
351
|
tab: o(() => [
|
|
351
352
|
c(n(e(d)("dedicated_servers.scripts")), 1)
|
|
352
353
|
]),
|
|
353
354
|
default: o(() => [
|
|
354
|
-
l(e(
|
|
355
|
+
l(e(f), {
|
|
355
356
|
size: "small",
|
|
356
357
|
class: "mb-3",
|
|
357
358
|
"header-class": "g-card-header",
|
|
@@ -361,10 +362,10 @@ const H = { class: "flex flex-wrap mt-2" }, K = { class: "md:w-1/2 pr-4" }, $ =
|
|
|
361
362
|
}
|
|
362
363
|
}, {
|
|
363
364
|
footer: o(() => [
|
|
364
|
-
r("div",
|
|
365
|
-
r("div",
|
|
366
|
-
r("h5",
|
|
367
|
-
r("ul",
|
|
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, [
|
|
368
369
|
r("li", null, "{host} — " + n(e(d)("dedicated_servers.d_shortcodes_host")), 1),
|
|
369
370
|
r("li", null, "{port} — " + n(e(d)("dedicated_servers.d_shortcodes_port")), 1),
|
|
370
371
|
r("li", null, "{query_port} — " + n(e(d)("dedicated_servers.d_shortcodes_query_port")), 1),
|
|
@@ -377,20 +378,20 @@ const H = { class: "flex flex-wrap mt-2" }, K = { class: "md:w-1/2 pr-4" }, $ =
|
|
|
377
378
|
r("li", null, "{user} —" + n(e(d)("dedicated_servers.d_shortcodes_user")), 1)
|
|
378
379
|
])
|
|
379
380
|
]),
|
|
380
|
-
r("div",
|
|
381
|
-
r("h5",
|
|
382
|
-
r("ul",
|
|
381
|
+
r("div", ie, [
|
|
382
|
+
r("h5", ne, n(e(d)("dedicated_servers.start_restart_shortcodes")), 1),
|
|
383
|
+
r("ul", pe, [
|
|
383
384
|
r("li", null, "{command} — " + n(e(d)("dedicated_servers.d_shortcodes_start_command")), 1)
|
|
384
385
|
]),
|
|
385
|
-
r("h5",
|
|
386
|
-
r("ul",
|
|
386
|
+
r("h5", ve, n(e(d)("dedicated_servers.console_command_shortcodes")), 1),
|
|
387
|
+
r("ul", ce, [
|
|
387
388
|
r("li", null, "{command} — " + n(e(d)("dedicated_servers.d_shortcodes_console_command")), 1)
|
|
388
389
|
])
|
|
389
390
|
])
|
|
390
391
|
])
|
|
391
392
|
]),
|
|
392
393
|
default: o(() => [
|
|
393
|
-
r("div",
|
|
394
|
+
r("div", Y, [
|
|
394
395
|
l(e(u), {
|
|
395
396
|
class: "md:w-1/2 pr-2",
|
|
396
397
|
label: e(d)("labels.script_install"),
|
|
@@ -398,8 +399,8 @@ const H = { class: "flex flex-wrap mt-2" }, K = { class: "md:w-1/2 pr-4" }, $ =
|
|
|
398
399
|
}, {
|
|
399
400
|
default: o(() => [
|
|
400
401
|
l(e(i), {
|
|
401
|
-
value:
|
|
402
|
-
"onUpdate:value":
|
|
402
|
+
value: a.value.scriptInstall,
|
|
403
|
+
"onUpdate:value": t[13] || (t[13] = (s) => a.value.scriptInstall = s),
|
|
403
404
|
type: "text",
|
|
404
405
|
placeholder: ""
|
|
405
406
|
}, null, 8, ["value"])
|
|
@@ -413,8 +414,8 @@ const H = { class: "flex flex-wrap mt-2" }, K = { class: "md:w-1/2 pr-4" }, $ =
|
|
|
413
414
|
}, {
|
|
414
415
|
default: o(() => [
|
|
415
416
|
l(e(i), {
|
|
416
|
-
value:
|
|
417
|
-
"onUpdate:value":
|
|
417
|
+
value: a.value.scriptReinstall,
|
|
418
|
+
"onUpdate:value": t[14] || (t[14] = (s) => a.value.scriptReinstall = s),
|
|
418
419
|
type: "text",
|
|
419
420
|
placeholder: ""
|
|
420
421
|
}, null, 8, ["value"])
|
|
@@ -422,7 +423,7 @@ const H = { class: "flex flex-wrap mt-2" }, K = { class: "md:w-1/2 pr-4" }, $ =
|
|
|
422
423
|
_: 1
|
|
423
424
|
}, 8, ["label"])
|
|
424
425
|
]),
|
|
425
|
-
r("div",
|
|
426
|
+
r("div", Z, [
|
|
426
427
|
l(e(u), {
|
|
427
428
|
class: "md:w-1/2 pr-2",
|
|
428
429
|
label: e(d)("labels.script_update"),
|
|
@@ -430,8 +431,8 @@ const H = { class: "flex flex-wrap mt-2" }, K = { class: "md:w-1/2 pr-4" }, $ =
|
|
|
430
431
|
}, {
|
|
431
432
|
default: o(() => [
|
|
432
433
|
l(e(i), {
|
|
433
|
-
value:
|
|
434
|
-
"onUpdate:value":
|
|
434
|
+
value: a.value.scriptUpdate,
|
|
435
|
+
"onUpdate:value": t[15] || (t[15] = (s) => a.value.scriptUpdate = s),
|
|
435
436
|
type: "text",
|
|
436
437
|
placeholder: ""
|
|
437
438
|
}, null, 8, ["value"])
|
|
@@ -445,8 +446,8 @@ const H = { class: "flex flex-wrap mt-2" }, K = { class: "md:w-1/2 pr-4" }, $ =
|
|
|
445
446
|
}, {
|
|
446
447
|
default: o(() => [
|
|
447
448
|
l(e(i), {
|
|
448
|
-
value:
|
|
449
|
-
"onUpdate:value":
|
|
449
|
+
value: a.value.scriptStart,
|
|
450
|
+
"onUpdate:value": t[16] || (t[16] = (s) => a.value.scriptStart = s),
|
|
450
451
|
type: "text",
|
|
451
452
|
placeholder: ""
|
|
452
453
|
}, null, 8, ["value"])
|
|
@@ -454,7 +455,7 @@ const H = { class: "flex flex-wrap mt-2" }, K = { class: "md:w-1/2 pr-4" }, $ =
|
|
|
454
455
|
_: 1
|
|
455
456
|
}, 8, ["label"])
|
|
456
457
|
]),
|
|
457
|
-
r("div",
|
|
458
|
+
r("div", ee, [
|
|
458
459
|
l(e(u), {
|
|
459
460
|
class: "md:w-1/2 pr-2",
|
|
460
461
|
label: e(d)("labels.script_pause"),
|
|
@@ -462,8 +463,8 @@ const H = { class: "flex flex-wrap mt-2" }, K = { class: "md:w-1/2 pr-4" }, $ =
|
|
|
462
463
|
}, {
|
|
463
464
|
default: o(() => [
|
|
464
465
|
l(e(i), {
|
|
465
|
-
value:
|
|
466
|
-
"onUpdate:value":
|
|
466
|
+
value: a.value.scriptPause,
|
|
467
|
+
"onUpdate:value": t[17] || (t[17] = (s) => a.value.scriptPause = s),
|
|
467
468
|
type: "text",
|
|
468
469
|
placeholder: ""
|
|
469
470
|
}, null, 8, ["value"])
|
|
@@ -477,8 +478,8 @@ const H = { class: "flex flex-wrap mt-2" }, K = { class: "md:w-1/2 pr-4" }, $ =
|
|
|
477
478
|
}, {
|
|
478
479
|
default: o(() => [
|
|
479
480
|
l(e(i), {
|
|
480
|
-
value:
|
|
481
|
-
"onUpdate:value":
|
|
481
|
+
value: a.value.scriptUnpause,
|
|
482
|
+
"onUpdate:value": t[18] || (t[18] = (s) => a.value.scriptUnpause = s),
|
|
482
483
|
type: "text",
|
|
483
484
|
placeholder: ""
|
|
484
485
|
}, null, 8, ["value"])
|
|
@@ -486,7 +487,7 @@ const H = { class: "flex flex-wrap mt-2" }, K = { class: "md:w-1/2 pr-4" }, $ =
|
|
|
486
487
|
_: 1
|
|
487
488
|
}, 8, ["label"])
|
|
488
489
|
]),
|
|
489
|
-
r("div",
|
|
490
|
+
r("div", le, [
|
|
490
491
|
l(e(u), {
|
|
491
492
|
class: "md:w-1/2 pr-2",
|
|
492
493
|
label: e(d)("labels.script_stop"),
|
|
@@ -494,8 +495,8 @@ const H = { class: "flex flex-wrap mt-2" }, K = { class: "md:w-1/2 pr-4" }, $ =
|
|
|
494
495
|
}, {
|
|
495
496
|
default: o(() => [
|
|
496
497
|
l(e(i), {
|
|
497
|
-
value:
|
|
498
|
-
"onUpdate:value":
|
|
498
|
+
value: a.value.scriptStop,
|
|
499
|
+
"onUpdate:value": t[19] || (t[19] = (s) => a.value.scriptStop = s),
|
|
499
500
|
type: "text",
|
|
500
501
|
placeholder: ""
|
|
501
502
|
}, null, 8, ["value"])
|
|
@@ -509,8 +510,8 @@ const H = { class: "flex flex-wrap mt-2" }, K = { class: "md:w-1/2 pr-4" }, $ =
|
|
|
509
510
|
}, {
|
|
510
511
|
default: o(() => [
|
|
511
512
|
l(e(i), {
|
|
512
|
-
value:
|
|
513
|
-
"onUpdate:value":
|
|
513
|
+
value: a.value.scriptKill,
|
|
514
|
+
"onUpdate:value": t[20] || (t[20] = (s) => a.value.scriptKill = s),
|
|
514
515
|
type: "text",
|
|
515
516
|
placeholder: ""
|
|
516
517
|
}, null, 8, ["value"])
|
|
@@ -518,7 +519,7 @@ const H = { class: "flex flex-wrap mt-2" }, K = { class: "md:w-1/2 pr-4" }, $ =
|
|
|
518
519
|
_: 1
|
|
519
520
|
}, 8, ["label"])
|
|
520
521
|
]),
|
|
521
|
-
r("div",
|
|
522
|
+
r("div", ae, [
|
|
522
523
|
l(e(u), {
|
|
523
524
|
class: "md:w-1/2 pr-2",
|
|
524
525
|
label: e(d)("labels.script_restart"),
|
|
@@ -526,8 +527,8 @@ const H = { class: "flex flex-wrap mt-2" }, K = { class: "md:w-1/2 pr-4" }, $ =
|
|
|
526
527
|
}, {
|
|
527
528
|
default: o(() => [
|
|
528
529
|
l(e(i), {
|
|
529
|
-
value:
|
|
530
|
-
"onUpdate:value":
|
|
530
|
+
value: a.value.scriptRestart,
|
|
531
|
+
"onUpdate:value": t[21] || (t[21] = (s) => a.value.scriptRestart = s),
|
|
531
532
|
type: "text",
|
|
532
533
|
placeholder: ""
|
|
533
534
|
}, null, 8, ["value"])
|
|
@@ -541,8 +542,8 @@ const H = { class: "flex flex-wrap mt-2" }, K = { class: "md:w-1/2 pr-4" }, $ =
|
|
|
541
542
|
}, {
|
|
542
543
|
default: o(() => [
|
|
543
544
|
l(e(i), {
|
|
544
|
-
value:
|
|
545
|
-
"onUpdate:value":
|
|
545
|
+
value: a.value.scriptStatus,
|
|
546
|
+
"onUpdate:value": t[22] || (t[22] = (s) => a.value.scriptStatus = s),
|
|
546
547
|
type: "text",
|
|
547
548
|
placeholder: ""
|
|
548
549
|
}, null, 8, ["value"])
|
|
@@ -550,7 +551,7 @@ const H = { class: "flex flex-wrap mt-2" }, K = { class: "md:w-1/2 pr-4" }, $ =
|
|
|
550
551
|
_: 1
|
|
551
552
|
}, 8, ["label"])
|
|
552
553
|
]),
|
|
553
|
-
r("div",
|
|
554
|
+
r("div", te, [
|
|
554
555
|
l(e(u), {
|
|
555
556
|
class: "md:w-1/2 pr-2",
|
|
556
557
|
label: e(d)("labels.script_get_console"),
|
|
@@ -558,8 +559,8 @@ const H = { class: "flex flex-wrap mt-2" }, K = { class: "md:w-1/2 pr-4" }, $ =
|
|
|
558
559
|
}, {
|
|
559
560
|
default: o(() => [
|
|
560
561
|
l(e(i), {
|
|
561
|
-
value:
|
|
562
|
-
"onUpdate:value":
|
|
562
|
+
value: a.value.scriptGetConsole,
|
|
563
|
+
"onUpdate:value": t[23] || (t[23] = (s) => a.value.scriptGetConsole = s),
|
|
563
564
|
type: "text",
|
|
564
565
|
placeholder: ""
|
|
565
566
|
}, null, 8, ["value"])
|
|
@@ -573,8 +574,8 @@ const H = { class: "flex flex-wrap mt-2" }, K = { class: "md:w-1/2 pr-4" }, $ =
|
|
|
573
574
|
}, {
|
|
574
575
|
default: o(() => [
|
|
575
576
|
l(e(i), {
|
|
576
|
-
value:
|
|
577
|
-
"onUpdate:value":
|
|
577
|
+
value: a.value.scriptSendCommand,
|
|
578
|
+
"onUpdate:value": t[24] || (t[24] = (s) => a.value.scriptSendCommand = s),
|
|
578
579
|
type: "text",
|
|
579
580
|
placeholder: ""
|
|
580
581
|
}, null, 8, ["value"])
|
|
@@ -582,7 +583,7 @@ const H = { class: "flex flex-wrap mt-2" }, K = { class: "md:w-1/2 pr-4" }, $ =
|
|
|
582
583
|
_: 1
|
|
583
584
|
}, 8, ["label"])
|
|
584
585
|
]),
|
|
585
|
-
r("div",
|
|
586
|
+
r("div", se, [
|
|
586
587
|
l(e(u), {
|
|
587
588
|
class: "md:w-1/2 pr-2",
|
|
588
589
|
label: e(d)("labels.script_delete"),
|
|
@@ -590,8 +591,8 @@ const H = { class: "flex flex-wrap mt-2" }, K = { class: "md:w-1/2 pr-4" }, $ =
|
|
|
590
591
|
}, {
|
|
591
592
|
default: o(() => [
|
|
592
593
|
l(e(i), {
|
|
593
|
-
value:
|
|
594
|
-
"onUpdate:value":
|
|
594
|
+
value: a.value.scriptDelete,
|
|
595
|
+
"onUpdate:value": t[25] || (t[25] = (s) => a.value.scriptDelete = s),
|
|
595
596
|
type: "text",
|
|
596
597
|
placeholder: ""
|
|
597
598
|
}, null, 8, ["value"])
|
|
@@ -605,8 +606,8 @@ const H = { class: "flex flex-wrap mt-2" }, K = { class: "md:w-1/2 pr-4" }, $ =
|
|
|
605
606
|
}, {
|
|
606
607
|
default: o(() => [
|
|
607
608
|
l(e(i), {
|
|
608
|
-
value:
|
|
609
|
-
"onUpdate:value":
|
|
609
|
+
value: a.value.scriptStats,
|
|
610
|
+
"onUpdate:value": t[26] || (t[26] = (s) => a.value.scriptStats = s),
|
|
610
611
|
type: "text",
|
|
611
612
|
placeholder: ""
|
|
612
613
|
}, null, 8, ["value"])
|
|
@@ -626,15 +627,18 @@ const H = { class: "flex flex-wrap mt-2" }, K = { class: "md:w-1/2 pr-4" }, $ =
|
|
|
626
627
|
]),
|
|
627
628
|
_: 1
|
|
628
629
|
}, 8, ["model"]),
|
|
629
|
-
|
|
630
|
+
D(p.$slots, "button", {}, () => [
|
|
630
631
|
l(F, {
|
|
631
632
|
class: "mt-2",
|
|
632
633
|
color: "green",
|
|
633
|
-
onClick:
|
|
634
|
+
onClick: k
|
|
634
635
|
}, {
|
|
635
636
|
default: o(() => [
|
|
636
|
-
|
|
637
|
-
|
|
637
|
+
l(e(m), {
|
|
638
|
+
name: "save",
|
|
639
|
+
class: "mr-0.5"
|
|
640
|
+
}),
|
|
641
|
+
r("span", me, " " + n(e(d)("main.save")), 1)
|
|
638
642
|
]),
|
|
639
643
|
_: 1
|
|
640
644
|
})
|
|
@@ -644,5 +648,5 @@ const H = { class: "flex flex-wrap mt-2" }, K = { class: "md:w-1/2 pr-4" }, $ =
|
|
|
644
648
|
}
|
|
645
649
|
};
|
|
646
650
|
export {
|
|
647
|
-
|
|
651
|
+
xe as _
|
|
648
652
|
};
|