@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,13 +1,11 @@
|
|
|
1
|
-
import { ref as
|
|
2
|
-
import {
|
|
3
|
-
import { u as
|
|
4
|
-
import { storeToRefs as
|
|
5
|
-
import { NForm as
|
|
6
|
-
import { useRouter as
|
|
7
|
-
import
|
|
8
|
-
|
|
9
|
-
import ae from "./DsIpSelector-EnBHsJLE.js";
|
|
10
|
-
const M = [
|
|
1
|
+
import { ref as I, computed as y, onMounted as H, watch as M, resolveComponent as d, createElementBlock as V, openBlock as W, Fragment as J, createVNode as r, unref as l, withCtx as u, createElementVNode as v, toDisplayString as K } from "vue";
|
|
2
|
+
import { x as Q, j as X, t as n, e as S, m as Y, a as C, _ as Z, n as k } from "./index-BDKiNPpP.js";
|
|
3
|
+
import { u as ee } from "./gameList-BLdEusRA.js";
|
|
4
|
+
import { storeToRefs as L } from "pinia";
|
|
5
|
+
import { NForm as te, NFormItem as p, NInputGroup as re, NSwitch as ae } from "naive-ui";
|
|
6
|
+
import { useRouter as oe } from "vue-router";
|
|
7
|
+
import { r as i } from "./validators-BVXTUmow.js";
|
|
8
|
+
const U = [
|
|
11
9
|
"Alpha",
|
|
12
10
|
"Bravo",
|
|
13
11
|
"Charlie",
|
|
@@ -19,116 +17,116 @@ const M = [
|
|
|
19
17
|
"Sierra",
|
|
20
18
|
"Whiskey"
|
|
21
19
|
];
|
|
22
|
-
function
|
|
23
|
-
const
|
|
24
|
-
return `${
|
|
20
|
+
function le(q = "Server") {
|
|
21
|
+
const b = U[Math.floor(Math.random() * U.length)], f = Math.floor(Math.random() * 90) + 10;
|
|
22
|
+
return `${q} ${b}-${f}`;
|
|
25
23
|
}
|
|
26
|
-
const
|
|
24
|
+
const ne = { class: "flex flex-wrap mt-2" }, se = { class: "md:w-1/2 pr-8" }, ue = ["innerHTML"], de = { class: "md:w-1/2" }, ie = { class: "hidden lg:inline" }, be = {
|
|
27
25
|
__name: "AdminServersCreate",
|
|
28
|
-
setup(
|
|
29
|
-
const
|
|
26
|
+
setup(q) {
|
|
27
|
+
const b = oe(), f = ee(), w = Q(), G = X(), { games: O } = L(f), { nodes: F } = L(w), N = I({}), e = I({
|
|
30
28
|
serverPort: 27015,
|
|
31
29
|
queryPort: 27015,
|
|
32
30
|
rconPort: 27015,
|
|
33
31
|
install: !0,
|
|
34
32
|
user: "gameap"
|
|
35
|
-
}),
|
|
33
|
+
}), R = y(() => [
|
|
36
34
|
{ route: "/", text: "GameAP", icon: "gicon gicon-gameap" },
|
|
37
|
-
{ route: { name: "admin.servers.index" }, text:
|
|
38
|
-
{ route: { name: "admin.servers.create" }, text:
|
|
35
|
+
{ route: { name: "admin.servers.index" }, text: n("servers.game_servers") },
|
|
36
|
+
{ route: { name: "admin.servers.create" }, text: n("servers.create") }
|
|
39
37
|
]);
|
|
40
|
-
|
|
41
|
-
|
|
38
|
+
H(() => {
|
|
39
|
+
$(), j();
|
|
42
40
|
});
|
|
43
|
-
const
|
|
41
|
+
const h = y(() => {
|
|
44
42
|
let o = {};
|
|
45
|
-
for (const [t,
|
|
46
|
-
o[
|
|
43
|
+
for (const [t, s] of Object.entries(O.value))
|
|
44
|
+
o[s.code] = s.name;
|
|
47
45
|
return o;
|
|
48
|
-
}),
|
|
46
|
+
}), x = y(() => {
|
|
49
47
|
let o = {};
|
|
50
|
-
for (const [t,
|
|
51
|
-
o[
|
|
48
|
+
for (const [t, s] of Object.entries(F.value))
|
|
49
|
+
o[s.id] = s.name;
|
|
52
50
|
return o;
|
|
53
|
-
}),
|
|
51
|
+
}), $ = async () => {
|
|
54
52
|
try {
|
|
55
53
|
await f.fetchGames();
|
|
56
54
|
} catch {
|
|
57
|
-
|
|
55
|
+
S(error);
|
|
58
56
|
}
|
|
59
|
-
},
|
|
57
|
+
}, j = () => {
|
|
60
58
|
w.fetchNodesByFilter([]).catch((o) => {
|
|
61
|
-
|
|
59
|
+
S(o);
|
|
62
60
|
});
|
|
63
61
|
};
|
|
64
|
-
|
|
62
|
+
M(x, (o) => {
|
|
65
63
|
const t = Object.keys(o);
|
|
66
64
|
t.length === 1 && !e.value.nodeId && (e.value.nodeId = Number(t[0]));
|
|
67
|
-
}, { immediate: !0 }),
|
|
65
|
+
}, { immediate: !0 }), M(() => e.value.name, (o) => {
|
|
68
66
|
if (!o || e.value.game)
|
|
69
67
|
return;
|
|
70
|
-
const t = o.toLowerCase().split(/\s+/).filter((
|
|
68
|
+
const t = o.toLowerCase().split(/\s+/).filter((c) => c.length >= 3);
|
|
71
69
|
if (t.length === 0)
|
|
72
70
|
return;
|
|
73
|
-
const
|
|
74
|
-
for (const [
|
|
75
|
-
const _ =
|
|
76
|
-
for (const
|
|
77
|
-
if (_.includes(
|
|
78
|
-
|
|
71
|
+
const s = /* @__PURE__ */ new Set();
|
|
72
|
+
for (const [c, P] of Object.entries(h.value)) {
|
|
73
|
+
const _ = c.toLowerCase(), g = P.toLowerCase();
|
|
74
|
+
for (const m of t)
|
|
75
|
+
if (_.includes(m) || m.includes(_) || g.includes(m) || m.includes(g)) {
|
|
76
|
+
s.add(c);
|
|
79
77
|
break;
|
|
80
78
|
}
|
|
81
79
|
}
|
|
82
|
-
|
|
80
|
+
s.size === 1 && (e.value.game = [...s][0]);
|
|
83
81
|
});
|
|
84
|
-
const
|
|
85
|
-
const o =
|
|
86
|
-
e.value.name =
|
|
87
|
-
},
|
|
82
|
+
const D = () => {
|
|
83
|
+
const o = h.value[e.value.game] || "Server";
|
|
84
|
+
e.value.name = le(o);
|
|
85
|
+
}, B = {
|
|
88
86
|
name: {
|
|
89
87
|
required: !0,
|
|
90
|
-
validator:
|
|
88
|
+
validator: i(n("labels.name"))
|
|
91
89
|
},
|
|
92
90
|
game: {
|
|
93
91
|
required: !0,
|
|
94
|
-
validator:
|
|
92
|
+
validator: i(n("labels.game_id"))
|
|
95
93
|
},
|
|
96
94
|
gameMod: {
|
|
97
95
|
required: !0,
|
|
98
|
-
validator:
|
|
96
|
+
validator: i(n("labels.game_mod_id"))
|
|
99
97
|
},
|
|
100
98
|
installed: {
|
|
101
99
|
required: !0
|
|
102
100
|
},
|
|
103
101
|
nodeId: {
|
|
104
102
|
required: !0,
|
|
105
|
-
validator:
|
|
103
|
+
validator: i(n("labels.ds_id"))
|
|
106
104
|
},
|
|
107
105
|
ip: {
|
|
108
106
|
required: !0,
|
|
109
|
-
validator:
|
|
107
|
+
validator: i(n("labels.ip"))
|
|
110
108
|
},
|
|
111
109
|
serverPort: {
|
|
112
110
|
required: !0,
|
|
113
|
-
validator:
|
|
111
|
+
validator: i(n("labels.server_port"))
|
|
114
112
|
},
|
|
115
113
|
queryPort: {
|
|
116
114
|
required: !0,
|
|
117
|
-
validator:
|
|
115
|
+
validator: i(n("labels.query_port"))
|
|
118
116
|
},
|
|
119
117
|
rconPort: {
|
|
120
118
|
required: !0,
|
|
121
|
-
validator:
|
|
119
|
+
validator: i(n("labels.rcon_port"))
|
|
122
120
|
}
|
|
123
|
-
},
|
|
124
|
-
|
|
125
|
-
o ? (console.log(o),
|
|
121
|
+
}, E = () => {
|
|
122
|
+
N.value?.validate((o, { warnings: t }) => {
|
|
123
|
+
o ? (console.log(o), k({
|
|
126
124
|
content: "Please check the form.",
|
|
127
125
|
type: "error"
|
|
128
|
-
})) :
|
|
126
|
+
})) : T();
|
|
129
127
|
});
|
|
130
|
-
},
|
|
131
|
-
|
|
128
|
+
}, T = () => {
|
|
129
|
+
G.create({
|
|
132
130
|
name: e.value.name,
|
|
133
131
|
game_id: e.value.game,
|
|
134
132
|
game_mod_id: e.value.gameMod,
|
|
@@ -142,33 +140,33 @@ const le = { class: "flex flex-wrap mt-2" }, se = { class: "md:w-1/2 pr-8" }, ne
|
|
|
142
140
|
rcon_port: e.value.rconPort,
|
|
143
141
|
dir: e.value.dir
|
|
144
142
|
}).then(() => {
|
|
145
|
-
|
|
146
|
-
content:
|
|
143
|
+
k({
|
|
144
|
+
content: n("servers.create_success_msg"),
|
|
147
145
|
type: "success"
|
|
148
146
|
}, () => {
|
|
149
|
-
|
|
147
|
+
b.push({ name: "admin.servers.index" });
|
|
150
148
|
});
|
|
151
149
|
}).catch((o) => {
|
|
152
|
-
|
|
150
|
+
S(o);
|
|
153
151
|
});
|
|
154
152
|
};
|
|
155
153
|
return (o, t) => {
|
|
156
|
-
const
|
|
157
|
-
return
|
|
158
|
-
|
|
159
|
-
|
|
154
|
+
const s = d("n-input"), c = d("n-button"), P = d("GameModSelector"), _ = d("n-collapse-item"), g = d("n-collapse"), m = d("n-card"), z = d("DsIpSelector"), A = d("SmartPortSelector");
|
|
155
|
+
return W(), V(J, null, [
|
|
156
|
+
r(l(Y), { items: R.value }, null, 8, ["items"]),
|
|
157
|
+
r(l(te), {
|
|
160
158
|
"label-placement": "top",
|
|
161
159
|
"label-width": "auto",
|
|
162
160
|
ref_key: "formRef",
|
|
163
|
-
ref:
|
|
161
|
+
ref: N,
|
|
164
162
|
model: e.value,
|
|
165
|
-
rules:
|
|
163
|
+
rules: B
|
|
166
164
|
}, {
|
|
167
165
|
default: u(() => [
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
title:
|
|
166
|
+
v("div", ne, [
|
|
167
|
+
v("div", se, [
|
|
168
|
+
r(m, {
|
|
169
|
+
title: l(n)("servers.basic_info"),
|
|
172
170
|
size: "small",
|
|
173
171
|
class: "mb-3",
|
|
174
172
|
"header-class": "g-card-header",
|
|
@@ -178,22 +176,22 @@ const le = { class: "flex flex-wrap mt-2" }, se = { class: "md:w-1/2 pr-8" }, ne
|
|
|
178
176
|
}
|
|
179
177
|
}, {
|
|
180
178
|
default: u(() => [
|
|
181
|
-
|
|
182
|
-
label:
|
|
179
|
+
r(l(p), {
|
|
180
|
+
label: l(n)("labels.name"),
|
|
183
181
|
path: "name"
|
|
184
182
|
}, {
|
|
185
183
|
default: u(() => [
|
|
186
|
-
|
|
184
|
+
r(l(re), null, {
|
|
187
185
|
default: u(() => [
|
|
188
|
-
|
|
186
|
+
r(s, {
|
|
189
187
|
value: e.value.name,
|
|
190
|
-
"onUpdate:value": t[0] || (t[0] = (
|
|
188
|
+
"onUpdate:value": t[0] || (t[0] = (a) => e.value.name = a),
|
|
191
189
|
type: "text"
|
|
192
190
|
}, null, 8, ["value"]),
|
|
193
|
-
|
|
194
|
-
default: u(() => [
|
|
195
|
-
|
|
196
|
-
])
|
|
191
|
+
r(c, { onClick: D }, {
|
|
192
|
+
default: u(() => [
|
|
193
|
+
r(l(C), { name: "dice" })
|
|
194
|
+
]),
|
|
197
195
|
_: 1
|
|
198
196
|
})
|
|
199
197
|
]),
|
|
@@ -202,74 +200,74 @@ const le = { class: "flex flex-wrap mt-2" }, se = { class: "md:w-1/2 pr-8" }, ne
|
|
|
202
200
|
]),
|
|
203
201
|
_: 1
|
|
204
202
|
}, 8, ["label"]),
|
|
205
|
-
|
|
206
|
-
games:
|
|
203
|
+
r(P, {
|
|
204
|
+
games: h.value,
|
|
207
205
|
"game-path": "game",
|
|
208
206
|
"game-mod-path": "gameMod",
|
|
209
207
|
game: e.value.game,
|
|
210
|
-
"onUpdate:game": t[1] || (t[1] = (
|
|
208
|
+
"onUpdate:game": t[1] || (t[1] = (a) => e.value.game = a),
|
|
211
209
|
"game-mod": e.value.gameMod,
|
|
212
|
-
"onUpdate:gameMod": t[2] || (t[2] = (
|
|
210
|
+
"onUpdate:gameMod": t[2] || (t[2] = (a) => e.value.gameMod = a)
|
|
213
211
|
}, null, 8, ["games", "game", "game-mod"]),
|
|
214
|
-
|
|
215
|
-
label:
|
|
212
|
+
r(l(p), {
|
|
213
|
+
label: l(n)("servers.install"),
|
|
216
214
|
path: "install"
|
|
217
215
|
}, {
|
|
218
216
|
default: u(() => [
|
|
219
|
-
|
|
217
|
+
r(l(ae), {
|
|
220
218
|
value: e.value.install,
|
|
221
|
-
"onUpdate:value": t[3] || (t[3] = (
|
|
219
|
+
"onUpdate:value": t[3] || (t[3] = (a) => e.value.install = a)
|
|
222
220
|
}, null, 8, ["value"])
|
|
223
221
|
]),
|
|
224
222
|
_: 1
|
|
225
223
|
}, 8, ["label"]),
|
|
226
|
-
|
|
224
|
+
r(g, null, {
|
|
227
225
|
default: u(() => [
|
|
228
|
-
|
|
229
|
-
title:
|
|
226
|
+
r(_, {
|
|
227
|
+
title: l(n)("main.more")
|
|
230
228
|
}, {
|
|
231
229
|
default: u(() => [
|
|
232
|
-
|
|
233
|
-
label:
|
|
230
|
+
r(l(p), {
|
|
231
|
+
label: l(n)("labels.rcon"),
|
|
234
232
|
path: "rcon"
|
|
235
233
|
}, {
|
|
236
234
|
default: u(() => [
|
|
237
|
-
|
|
235
|
+
r(s, {
|
|
238
236
|
value: e.value.rcon,
|
|
239
|
-
"onUpdate:value": t[4] || (t[4] = (
|
|
237
|
+
"onUpdate:value": t[4] || (t[4] = (a) => e.value.rcon = a),
|
|
240
238
|
type: "password",
|
|
241
239
|
"show-password-on": "click"
|
|
242
240
|
}, null, 8, ["value"])
|
|
243
241
|
]),
|
|
244
242
|
_: 1
|
|
245
243
|
}, 8, ["label"]),
|
|
246
|
-
|
|
247
|
-
label:
|
|
244
|
+
r(l(p), {
|
|
245
|
+
label: l(n)("labels.dir"),
|
|
248
246
|
class: "mb-4",
|
|
249
247
|
path: "dir"
|
|
250
248
|
}, {
|
|
251
249
|
feedback: u(() => [
|
|
252
|
-
|
|
253
|
-
innerHTML:
|
|
254
|
-
}, null, 8,
|
|
250
|
+
v("small", {
|
|
251
|
+
innerHTML: l(n)("servers.d_dir")
|
|
252
|
+
}, null, 8, ue)
|
|
255
253
|
]),
|
|
256
254
|
default: u(() => [
|
|
257
|
-
|
|
255
|
+
r(s, {
|
|
258
256
|
value: e.value.dir,
|
|
259
|
-
"onUpdate:value": t[5] || (t[5] = (
|
|
257
|
+
"onUpdate:value": t[5] || (t[5] = (a) => e.value.dir = a),
|
|
260
258
|
type: "text"
|
|
261
259
|
}, null, 8, ["value"])
|
|
262
260
|
]),
|
|
263
261
|
_: 1
|
|
264
262
|
}, 8, ["label"]),
|
|
265
|
-
|
|
266
|
-
label:
|
|
263
|
+
r(l(p), {
|
|
264
|
+
label: l(n)("labels.su_user"),
|
|
267
265
|
path: "user"
|
|
268
266
|
}, {
|
|
269
267
|
default: u(() => [
|
|
270
|
-
|
|
268
|
+
r(s, {
|
|
271
269
|
value: e.value.user,
|
|
272
|
-
"onUpdate:value": t[6] || (t[6] = (
|
|
270
|
+
"onUpdate:value": t[6] || (t[6] = (a) => e.value.user = a),
|
|
273
271
|
type: "text"
|
|
274
272
|
}, null, 8, ["value"])
|
|
275
273
|
]),
|
|
@@ -285,9 +283,9 @@ const le = { class: "flex flex-wrap mt-2" }, se = { class: "md:w-1/2 pr-8" }, ne
|
|
|
285
283
|
_: 1
|
|
286
284
|
}, 8, ["title"])
|
|
287
285
|
]),
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
title:
|
|
286
|
+
v("div", de, [
|
|
287
|
+
r(m, {
|
|
288
|
+
title: l(n)("servers.ds_ip_ports"),
|
|
291
289
|
size: "small",
|
|
292
290
|
class: "mb-3",
|
|
293
291
|
"header-class": "g-card-header",
|
|
@@ -297,22 +295,22 @@ const le = { class: "flex flex-wrap mt-2" }, se = { class: "md:w-1/2 pr-8" }, ne
|
|
|
297
295
|
}
|
|
298
296
|
}, {
|
|
299
297
|
default: u(() => [
|
|
300
|
-
|
|
301
|
-
"ds-list":
|
|
298
|
+
r(z, {
|
|
299
|
+
"ds-list": x.value,
|
|
302
300
|
"node-id": e.value.nodeId,
|
|
303
|
-
"onUpdate:nodeId": t[7] || (t[7] = (
|
|
301
|
+
"onUpdate:nodeId": t[7] || (t[7] = (a) => e.value.nodeId = a),
|
|
304
302
|
ip: e.value.ip,
|
|
305
|
-
"onUpdate:ip": t[8] || (t[8] = (
|
|
303
|
+
"onUpdate:ip": t[8] || (t[8] = (a) => e.value.ip = a),
|
|
306
304
|
"node-id-path": "nodeId",
|
|
307
305
|
"ip-path": "ip"
|
|
308
306
|
}, null, 8, ["ds-list", "node-id", "ip"]),
|
|
309
|
-
|
|
307
|
+
r(A, {
|
|
310
308
|
"server-port": e.value.serverPort,
|
|
311
|
-
"onUpdate:serverPort": t[9] || (t[9] = (
|
|
309
|
+
"onUpdate:serverPort": t[9] || (t[9] = (a) => e.value.serverPort = a),
|
|
312
310
|
"rcon-port": e.value.rconPort,
|
|
313
|
-
"onUpdate:rconPort": t[10] || (t[10] = (
|
|
311
|
+
"onUpdate:rconPort": t[10] || (t[10] = (a) => e.value.rconPort = a),
|
|
314
312
|
"query-port": e.value.queryPort,
|
|
315
|
-
"onUpdate:queryPort": t[11] || (t[11] = (
|
|
313
|
+
"onUpdate:queryPort": t[11] || (t[11] = (a) => e.value.queryPort = a),
|
|
316
314
|
"server-port-path": "serverPort",
|
|
317
315
|
"rcon-port-path": "rconPort",
|
|
318
316
|
"query-port-path": "queryPort"
|
|
@@ -321,13 +319,13 @@ const le = { class: "flex flex-wrap mt-2" }, se = { class: "md:w-1/2 pr-8" }, ne
|
|
|
321
319
|
_: 1
|
|
322
320
|
}, 8, ["title"])
|
|
323
321
|
]),
|
|
324
|
-
|
|
322
|
+
r(Z, {
|
|
325
323
|
color: "green",
|
|
326
|
-
onClick:
|
|
324
|
+
onClick: E
|
|
327
325
|
}, {
|
|
328
326
|
default: u(() => [
|
|
329
|
-
|
|
330
|
-
|
|
327
|
+
r(l(C), { name: "add-square" }),
|
|
328
|
+
v("span", ie, " " + K(l(n)("main.create")), 1)
|
|
331
329
|
]),
|
|
332
330
|
_: 1
|
|
333
331
|
})
|
|
@@ -340,5 +338,5 @@ const le = { class: "flex flex-wrap mt-2" }, se = { class: "md:w-1/2 pr-8" }, ne
|
|
|
340
338
|
}
|
|
341
339
|
};
|
|
342
340
|
export {
|
|
343
|
-
|
|
341
|
+
be as default
|
|
344
342
|
};
|