@gameap/frontend 4.1.0-dev14 → 4.1.0-dev16
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 → AdminClientCertificatesView-Cdat-6ub.js} +56 -66
- package/dist/{AdminDaemonTaskListView-DbJp0aqQ.js → AdminDaemonTaskListView-C0Jy1oat.js} +28 -29
- package/dist/{AdminDaemonTaskOutputView-DNCHQfxx.js → AdminDaemonTaskOutputView-BdstVc5K.js} +23 -25
- package/dist/{AdminGamesEdit-jco7cBfk.js → AdminGamesEdit-BOxBjeqI.js} +28 -31
- package/dist/{AdminGamesList-CMjsgEpx.js → AdminGamesList-C6nSWKdx.js} +136 -143
- package/dist/{AdminModEdit-BlRu_09M.js → AdminModEdit-diCpKnO2.js} +8 -8
- package/dist/{AdminNodeShowView-BHxJkjYJ.js → AdminNodeShowView-BIUiXpmk.js} +51 -61
- package/dist/{AdminNodesCreateView-DihmM46W.js → AdminNodesCreateView-Brzzh4HN.js} +13 -12
- package/dist/{AdminNodesEditView-CVACSido.js → AdminNodesEditView-Dwr2kt82.js} +16 -15
- package/dist/{AdminNodesView-CHtiU6dZ.js → AdminNodesView-DyiGZ1lZ.js} +25 -25
- package/dist/{AdminPluginsView-CRjF3BPs.js → AdminPluginsView-CUe4i8kM.js} +96 -105
- package/dist/{AdminServersCreate-5f8x6eZO.js → AdminServersCreate-iNMqnGK9.js} +26 -25
- package/dist/{AdminServersEdit-CA7711nJ.js → AdminServersEdit-DVI74EZc.js} +24 -23
- package/dist/{AdminServersList-De5ZMEGZ.js → AdminServersList-CkjyJfPK.js} +28 -28
- package/dist/{AdminUsersEditView-DeYo98vi.js → AdminUsersEditView-BTscuJ86.js} +2 -2
- package/dist/{AdminUsersView-C8fKEhpr.js → AdminUsersView-D-fJfjLH.js} +95 -105
- package/dist/{CreateModForm-CqkvVLfN.js → CreateModForm-CDqlkWYW.js} +3 -3
- package/dist/{CreateNodeModal-DOXVtVLQ.js → CreateNodeModal-CcpGS94Z.js} +1 -1
- package/dist/{DsIpSelector-C676Y19X.js → DsIpSelector-B_sWnbEP.js} +1 -1
- package/dist/{EmptyView-Bf6zmQQt.js → EmptyView-CopbPCy6.js} +1 -1
- package/dist/{FileManager-DSa9v4Ex.js → FileManager-JXa457rg.js} +691 -690
- package/dist/GCard-BmZwrZ1e.js +50 -0
- package/dist/GDataTable-DC0a2vJJ.js +60 -0
- package/dist/GDivider-tYaNzeM5.js +16 -0
- package/dist/GEmpty-Bkw6u0WR.js +35 -0
- package/dist/GModal-C4shXjCa.js +53 -0
- package/dist/GSwitch-1wlrRoUA.js +42 -0
- package/dist/GTable-DRH5VONX.js +38 -0
- package/dist/{GameModSelector-CQBT8ZLu.js → GameModSelector-BzBYr5Bl.js} +2 -2
- package/dist/{InputManyList-DUOtepb8.js → InputManyList-B65AFbLu.js} +21 -20
- package/dist/{InputTextList-lPhVIV04.js → InputTextList-DUpEA_--.js} +1 -1
- package/dist/PluginPendingView-CaK51oA9.js +35 -0
- package/dist/{ProfileView-Dw2T3X8m.js → ProfileView-BTXGnm4R.js} +74 -83
- package/dist/{RconConsole-CvxNBv0B.js → RconConsole-BSienrhk.js} +2 -2
- package/dist/{RconPlayers-odUKa0Ps.js → RconPlayers-jIqnphJ1.js} +111 -118
- package/dist/{ServerConsole-B9v2PcWb.js → ServerConsole-BdF95Ef6.js} +1 -1
- package/dist/{ServerControlButton-D_zJbxr6.js → ServerControlButton-7Un9i8tt.js} +6 -6
- package/dist/{ServerIdView-_vGQRk7y.js → ServerIdView-1X_6i-s6.js} +69 -67
- package/dist/{ServerSelector-6fCqL3e9.js → ServerSelector-Y4fSKiM2.js} +1 -1
- package/dist/{ServerSettings-C6-tkLTH.js → ServerSettings-DsIlowVa.js} +23 -21
- package/dist/{ServerStatus-CcqB0h1r.js → ServerStatus-BblAtet5.js} +1 -1
- package/dist/{ServerTasks-BcaZzvz7.js → ServerTasks-2jQBkpL9.js} +1 -1
- package/dist/{ServersView-S_G_kuGj.js → ServersView-CmDavKT_.js} +76 -76
- package/dist/{SettingsParameters-u3Awy4Vf.js → SettingsParameters-jT8ffL4p.js} +4 -3
- package/dist/{SmartPortSelector-BRSQFVqT.js → SmartPortSelector-BuREMnLx.js} +1 -1
- package/dist/{TokensView-C1RFJSB5.js → TokensView-Cw5j1Ivk.js} +60 -64
- package/dist/{UpdateNodeForm-BAhzQLt-.js → UpdateNodeForm-BnIqe7rC.js} +11 -10
- package/dist/{UserServerPrivileges-Q2wQMyHi.js → UserServerPrivileges-CvGlXrzS.js} +82 -92
- package/dist/{_createCompounder-CXjx5-CF.js → _createCompounder-vPBqoT5p.js} +3 -3
- package/dist/{camelCase-CSrB2MWj.js → camelCase-BSEkxKhA.js} +2 -2
- package/dist/{capitalize-BZSBvd6d.js → capitalize-BVfQSCbg.js} +5 -5
- package/dist/{clientCertificates-C0FlDwsb.js → clientCertificates-DHDjG6a2.js} +1 -1
- package/dist/frontend.css +1 -1
- package/dist/{gameList-kucszmx0.js → gameList-BuPam-HN.js} +1 -1
- package/dist/{index-9fvX7FD-.js → index-CiR3a1Cv.js} +180 -179
- package/dist/index.js +1 -1
- package/dist/{isEmpty-D0Z8Rneq.js → isEmpty-CLFmjU_j.js} +11 -11
- package/dist/{loader-qtG-Lf6M.js → loader-DStCgv0r.js} +1 -1
- package/dist/mockServiceWorker.js +1 -1
- package/dist/{snakeCase-nnM4dAra.js → snakeCase-lCSKsq6x.js} +1 -1
- package/dist/{validators-ChBGsKft.js → validators-r6Rit4O6.js} +2 -2
- package/package.json +2 -2
- package/dist/PluginPendingView-DaDaN30Q.js +0 -34
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { resolveComponent as Q, createElementBlock as c, openBlock as a, createElementVNode as o, Fragment as F, renderList as N, createBlock as $, createCommentVNode as A, normalizeClass as V, toDisplayString as b, withCtx as M, createVNode as y, reactive as
|
|
1
|
+
import { resolveComponent as Q, createElementBlock as c, openBlock as a, createElementVNode as o, Fragment as F, renderList as N, createBlock as $, createCommentVNode as A, normalizeClass as V, toDisplayString as b, withCtx as M, createVNode as y, reactive as Ge, computed as w, resolveDynamicComponent as he, normalizeStyle as vt, createTextVNode as L, ref as k, onMounted as re, Transition as _t, onUnmounted as bt, provide as be, renderSlot as Y, inject as He, unref as u, withDirectives as xe, vShow as Ht, createStaticVNode as Ke, normalizeProps as Kt, guardReactiveProps as Xt, h as Wt, watch as Zt, mergeProps as xt, vModelText as ot, vModelCheckbox as Jt, defineAsyncComponent as D, createApp as Yt } from "vue";
|
|
2
2
|
import { defineStore as q, createPinia as Qt } from "pinia";
|
|
3
|
-
import { useRouter as Xe, useRoute as
|
|
3
|
+
import { useRouter as Xe, useRoute as ye, createRouter as es, createWebHistory as ts } from "vue-router";
|
|
4
4
|
import yt from "axios";
|
|
5
5
|
import { useMessage as ss, useDialog as ns, darkTheme as os, lightTheme as rs, NConfigProvider as as, ruRU as is, enUS as ls, NDialogProvider as cs, NMessageProvider as us, NSelect as ds } from "naive-ui";
|
|
6
6
|
import wt from "/images/gap_logo_white.png";
|
|
@@ -11,7 +11,7 @@ window.addEventListener("load", function() {
|
|
|
11
11
|
});
|
|
12
12
|
});
|
|
13
13
|
});
|
|
14
|
-
const
|
|
14
|
+
const ue = {
|
|
15
15
|
en: {
|
|
16
16
|
second: ["second", "seconds"],
|
|
17
17
|
minute: ["minute", "minutes"],
|
|
@@ -31,42 +31,42 @@ const ce = {
|
|
|
31
31
|
year: ["год", "года", "лет"]
|
|
32
32
|
}
|
|
33
33
|
};
|
|
34
|
-
var kt = typeof global == "object" && global && global.Object === Object && global, fs = typeof self == "object" && self && self.Object === Object && self,
|
|
34
|
+
var kt = typeof global == "object" && global && global.Object === Object && global, fs = typeof self == "object" && self && self.Object === Object && self, we = kt || fs || Function("return this")(), oe = we.Symbol, Ct = Object.prototype, ms = Ct.hasOwnProperty, ps = Ct.toString, de = oe ? oe.toStringTag : void 0;
|
|
35
35
|
function hs(e) {
|
|
36
|
-
var t = ms.call(e,
|
|
36
|
+
var t = ms.call(e, de), s = e[de];
|
|
37
37
|
try {
|
|
38
|
-
e[
|
|
38
|
+
e[de] = void 0;
|
|
39
39
|
var n = !0;
|
|
40
40
|
} catch {
|
|
41
41
|
}
|
|
42
42
|
var i = ps.call(e);
|
|
43
|
-
return n && (t ? e[
|
|
43
|
+
return n && (t ? e[de] = s : delete e[de]), i;
|
|
44
44
|
}
|
|
45
45
|
var gs = Object.prototype, vs = gs.toString;
|
|
46
46
|
function _s(e) {
|
|
47
47
|
return vs.call(e);
|
|
48
48
|
}
|
|
49
49
|
var bs = "[object Null]", xs = "[object Undefined]", rt = oe ? oe.toStringTag : void 0;
|
|
50
|
-
function
|
|
50
|
+
function ke(e) {
|
|
51
51
|
return e == null ? e === void 0 ? xs : bs : rt && rt in Object(e) ? hs(e) : _s(e);
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function Ce(e) {
|
|
54
54
|
return e != null && typeof e == "object";
|
|
55
55
|
}
|
|
56
56
|
var ys = "[object Symbol]";
|
|
57
57
|
function We(e) {
|
|
58
|
-
return typeof e == "symbol" ||
|
|
58
|
+
return typeof e == "symbol" || Ce(e) && ke(e) == ys;
|
|
59
59
|
}
|
|
60
60
|
function ws(e, t) {
|
|
61
61
|
for (var s = -1, n = e == null ? 0 : e.length, i = Array(n); ++s < n; )
|
|
62
62
|
i[s] = t(e[s], s, e);
|
|
63
63
|
return i;
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var ge = Array.isArray, at = oe ? oe.prototype : void 0, it = at ? at.toString : void 0;
|
|
66
66
|
function $t(e) {
|
|
67
67
|
if (typeof e == "string")
|
|
68
68
|
return e;
|
|
69
|
-
if (
|
|
69
|
+
if (ge(e))
|
|
70
70
|
return ws(e, $t) + "";
|
|
71
71
|
if (We(e))
|
|
72
72
|
return it ? it.call(e) : "";
|
|
@@ -84,11 +84,11 @@ var Cs = "[object AsyncFunction]", $s = "[object Function]", Ss = "[object Gener
|
|
|
84
84
|
function Pt(e) {
|
|
85
85
|
if (!St(e))
|
|
86
86
|
return !1;
|
|
87
|
-
var t =
|
|
87
|
+
var t = ke(e);
|
|
88
88
|
return t == $s || t == Ss || t == Cs || t == Ps;
|
|
89
89
|
}
|
|
90
|
-
var
|
|
91
|
-
var e = /[^.]+$/.exec(
|
|
90
|
+
var ze = we["__core-js_shared__"], lt = (function() {
|
|
91
|
+
var e = /[^.]+$/.exec(ze && ze.keys && ze.keys.IE_PROTO || "");
|
|
92
92
|
return e ? "Symbol(src)_1." + e : "";
|
|
93
93
|
})();
|
|
94
94
|
function Ts(e) {
|
|
@@ -151,36 +151,36 @@ function Xs(e, t) {
|
|
|
151
151
|
}
|
|
152
152
|
var Ws = "[object Arguments]";
|
|
153
153
|
function ct(e) {
|
|
154
|
-
return
|
|
154
|
+
return Ce(e) && ke(e) == Ws;
|
|
155
155
|
}
|
|
156
156
|
var Ft = Object.prototype, Zs = Ft.hasOwnProperty, Js = Ft.propertyIsEnumerable, Ys = ct(/* @__PURE__ */ (function() {
|
|
157
157
|
return arguments;
|
|
158
158
|
})()) ? ct : function(e) {
|
|
159
|
-
return
|
|
159
|
+
return Ce(e) && Zs.call(e, "callee") && !Js.call(e, "callee");
|
|
160
160
|
};
|
|
161
161
|
function Qs() {
|
|
162
162
|
return !1;
|
|
163
163
|
}
|
|
164
|
-
var Mt = typeof exports == "object" && exports && !exports.nodeType && exports, ut = Mt && typeof module == "object" && module && !module.nodeType && module, en = ut && ut.exports === Mt, dt = en ?
|
|
164
|
+
var Mt = typeof exports == "object" && exports && !exports.nodeType && exports, ut = Mt && typeof module == "object" && module && !module.nodeType && module, en = ut && ut.exports === Mt, dt = en ? we.Buffer : void 0, tn = dt ? dt.isBuffer : void 0, sn = tn || Qs, nn = "[object Arguments]", on = "[object Array]", rn = "[object Boolean]", an = "[object Date]", ln = "[object Error]", cn = "[object Function]", un = "[object Map]", dn = "[object Number]", fn = "[object Object]", mn = "[object RegExp]", pn = "[object Set]", hn = "[object String]", gn = "[object WeakMap]", vn = "[object ArrayBuffer]", _n = "[object DataView]", bn = "[object Float32Array]", xn = "[object Float64Array]", yn = "[object Int8Array]", wn = "[object Int16Array]", kn = "[object Int32Array]", Cn = "[object Uint8Array]", $n = "[object Uint8ClampedArray]", Sn = "[object Uint16Array]", Pn = "[object Uint32Array]", z = {};
|
|
165
165
|
z[bn] = z[xn] = z[yn] = z[wn] = z[kn] = z[Cn] = z[$n] = z[Sn] = z[Pn] = !0;
|
|
166
166
|
z[nn] = z[on] = z[vn] = z[rn] = z[_n] = z[an] = z[ln] = z[cn] = z[un] = z[dn] = z[fn] = z[mn] = z[pn] = z[hn] = z[gn] = !1;
|
|
167
167
|
function Tn(e) {
|
|
168
|
-
return
|
|
168
|
+
return Ce(e) && At(e.length) && !!z[ke(e)];
|
|
169
169
|
}
|
|
170
170
|
function An(e) {
|
|
171
171
|
return function(t) {
|
|
172
172
|
return e(t);
|
|
173
173
|
};
|
|
174
174
|
}
|
|
175
|
-
var Et = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
175
|
+
var Et = typeof exports == "object" && exports && !exports.nodeType && exports, fe = Et && typeof module == "object" && module && !module.nodeType && module, In = fe && fe.exports === Et, Ne = In && kt.process, ft = (function() {
|
|
176
176
|
try {
|
|
177
|
-
var e =
|
|
178
|
-
return e ||
|
|
177
|
+
var e = fe && fe.require && fe.require("util").types;
|
|
178
|
+
return e || Ne && Ne.binding && Ne.binding("util");
|
|
179
179
|
} catch {
|
|
180
180
|
}
|
|
181
181
|
})(), mt = ft && ft.isTypedArray, Fn = mt ? An(mt) : Tn, Mn = Object.prototype, En = Mn.hasOwnProperty;
|
|
182
182
|
function jn(e, t) {
|
|
183
|
-
var s =
|
|
183
|
+
var s = ge(e), n = !s && Ys(e), i = !s && !n && sn(e), r = !s && !n && !i && Fn(e), d = s || n || i || r, m = d ? Xs(e.length, String) : [], x = m.length;
|
|
184
184
|
for (var f in e)
|
|
185
185
|
En.call(e, f) && !(d && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
186
186
|
(f == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
@@ -208,14 +208,14 @@ function Gn(e) {
|
|
|
208
208
|
}
|
|
209
209
|
var Vn = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Bn = /^\w*$/;
|
|
210
210
|
function Dn(e, t) {
|
|
211
|
-
if (
|
|
211
|
+
if (ge(e))
|
|
212
212
|
return !1;
|
|
213
213
|
var s = typeof e;
|
|
214
214
|
return s == "number" || s == "symbol" || s == "boolean" || e == null || We(e) ? !0 : Bn.test(e) || !Vn.test(e) || t != null && e in Object(t);
|
|
215
215
|
}
|
|
216
|
-
var
|
|
216
|
+
var me = Tt(Object, "create");
|
|
217
217
|
function Un() {
|
|
218
|
-
this.__data__ =
|
|
218
|
+
this.__data__ = me ? me(null) : {}, this.size = 0;
|
|
219
219
|
}
|
|
220
220
|
function qn(e) {
|
|
221
221
|
var t = this.has(e) && delete this.__data__[e];
|
|
@@ -224,7 +224,7 @@ function qn(e) {
|
|
|
224
224
|
var Hn = "__lodash_hash_undefined__", Kn = Object.prototype, Xn = Kn.hasOwnProperty;
|
|
225
225
|
function Wn(e) {
|
|
226
226
|
var t = this.__data__;
|
|
227
|
-
if (
|
|
227
|
+
if (me) {
|
|
228
228
|
var s = t[e];
|
|
229
229
|
return s === Hn ? void 0 : s;
|
|
230
230
|
}
|
|
@@ -233,12 +233,12 @@ function Wn(e) {
|
|
|
233
233
|
var Zn = Object.prototype, Jn = Zn.hasOwnProperty;
|
|
234
234
|
function Yn(e) {
|
|
235
235
|
var t = this.__data__;
|
|
236
|
-
return
|
|
236
|
+
return me ? t[e] !== void 0 : Jn.call(t, e);
|
|
237
237
|
}
|
|
238
238
|
var Qn = "__lodash_hash_undefined__";
|
|
239
239
|
function eo(e, t) {
|
|
240
240
|
var s = this.__data__;
|
|
241
|
-
return this.size += this.has(e) ? 0 : 1, s[e] =
|
|
241
|
+
return this.size += this.has(e) ? 0 : 1, s[e] = me && t === void 0 ? Qn : t, this;
|
|
242
242
|
}
|
|
243
243
|
function ee(e) {
|
|
244
244
|
var t = -1, s = e == null ? 0 : e.length;
|
|
@@ -255,7 +255,7 @@ ee.prototype.set = eo;
|
|
|
255
255
|
function to() {
|
|
256
256
|
this.__data__ = [], this.size = 0;
|
|
257
257
|
}
|
|
258
|
-
function
|
|
258
|
+
function $e(e, t) {
|
|
259
259
|
for (var s = e.length; s--; )
|
|
260
260
|
if (Us(e[s][0], t))
|
|
261
261
|
return s;
|
|
@@ -263,21 +263,21 @@ function Ce(e, t) {
|
|
|
263
263
|
}
|
|
264
264
|
var so = Array.prototype, no = so.splice;
|
|
265
265
|
function oo(e) {
|
|
266
|
-
var t = this.__data__, s =
|
|
266
|
+
var t = this.__data__, s = $e(t, e);
|
|
267
267
|
if (s < 0)
|
|
268
268
|
return !1;
|
|
269
269
|
var n = t.length - 1;
|
|
270
270
|
return s == n ? t.pop() : no.call(t, s, 1), --this.size, !0;
|
|
271
271
|
}
|
|
272
272
|
function ro(e) {
|
|
273
|
-
var t = this.__data__, s =
|
|
273
|
+
var t = this.__data__, s = $e(t, e);
|
|
274
274
|
return s < 0 ? void 0 : t[s][1];
|
|
275
275
|
}
|
|
276
276
|
function ao(e) {
|
|
277
|
-
return
|
|
277
|
+
return $e(this.__data__, e) > -1;
|
|
278
278
|
}
|
|
279
279
|
function io(e, t) {
|
|
280
|
-
var s = this.__data__, n =
|
|
280
|
+
var s = this.__data__, n = $e(s, e);
|
|
281
281
|
return n < 0 ? (++this.size, s.push([e, t])) : s[n][1] = t, this;
|
|
282
282
|
}
|
|
283
283
|
function ae(e) {
|
|
@@ -292,7 +292,7 @@ ae.prototype.delete = oo;
|
|
|
292
292
|
ae.prototype.get = ro;
|
|
293
293
|
ae.prototype.has = ao;
|
|
294
294
|
ae.prototype.set = io;
|
|
295
|
-
var lo = Tt(
|
|
295
|
+
var lo = Tt(we, "Map");
|
|
296
296
|
function co() {
|
|
297
297
|
this.size = 0, this.__data__ = {
|
|
298
298
|
hash: new ee(),
|
|
@@ -304,22 +304,22 @@ function uo(e) {
|
|
|
304
304
|
var t = typeof e;
|
|
305
305
|
return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
|
|
306
306
|
}
|
|
307
|
-
function
|
|
307
|
+
function Se(e, t) {
|
|
308
308
|
var s = e.__data__;
|
|
309
309
|
return uo(t) ? s[typeof t == "string" ? "string" : "hash"] : s.map;
|
|
310
310
|
}
|
|
311
311
|
function fo(e) {
|
|
312
|
-
var t =
|
|
312
|
+
var t = Se(this, e).delete(e);
|
|
313
313
|
return this.size -= t ? 1 : 0, t;
|
|
314
314
|
}
|
|
315
315
|
function mo(e) {
|
|
316
|
-
return
|
|
316
|
+
return Se(this, e).get(e);
|
|
317
317
|
}
|
|
318
318
|
function po(e) {
|
|
319
|
-
return
|
|
319
|
+
return Se(this, e).has(e);
|
|
320
320
|
}
|
|
321
321
|
function ho(e, t) {
|
|
322
|
-
var s =
|
|
322
|
+
var s = Se(this, e), n = s.size;
|
|
323
323
|
return s.set(e, t), this.size += s.size == n ? 0 : 1, this;
|
|
324
324
|
}
|
|
325
325
|
function te(e) {
|
|
@@ -365,7 +365,7 @@ function jt(e) {
|
|
|
365
365
|
return e == null ? "" : $t(e);
|
|
366
366
|
}
|
|
367
367
|
function wo(e, t) {
|
|
368
|
-
return
|
|
368
|
+
return ge(e) ? e : Dn(e, t) ? [e] : yo(jt(e));
|
|
369
369
|
}
|
|
370
370
|
function ko(e) {
|
|
371
371
|
if (typeof e == "string" || We(e))
|
|
@@ -418,7 +418,7 @@ function Fo(e, t) {
|
|
|
418
418
|
}
|
|
419
419
|
var Mo = Po(Fo, !0);
|
|
420
420
|
function Eo(e, t) {
|
|
421
|
-
var s =
|
|
421
|
+
var s = ge(e) ? Ao : Mo;
|
|
422
422
|
return s(e, To(t));
|
|
423
423
|
}
|
|
424
424
|
function jo() {
|
|
@@ -431,10 +431,10 @@ const Oo = {
|
|
|
431
431
|
ru: (e) => e % 10 === 1 && e % 100 !== 11 ? 0 : e % 10 >= 2 && e % 10 <= 4 && (e % 100 < 10 || e % 100 >= 20) ? 1 : 2
|
|
432
432
|
}, Lo = (e, t) => {
|
|
433
433
|
let s = document.documentElement.lang;
|
|
434
|
-
if (
|
|
434
|
+
if (ue.hasOwnProperty(s) || (s = "default"), !ue[s].hasOwnProperty(e))
|
|
435
435
|
return e;
|
|
436
436
|
const n = Oo[s](t);
|
|
437
|
-
return
|
|
437
|
+
return ue[s][e][n] === void 0 ? ue[s][e][0] : ue[s][e][n];
|
|
438
438
|
}, p = (e, t) => {
|
|
439
439
|
let s = $o(window.i18n, e);
|
|
440
440
|
return s ? (Eo(t, (n, i) => {
|
|
@@ -442,7 +442,7 @@ const Oo = {
|
|
|
442
442
|
}), s) : e;
|
|
443
443
|
};
|
|
444
444
|
let X = null;
|
|
445
|
-
const
|
|
445
|
+
const pe = () => {
|
|
446
446
|
if (X)
|
|
447
447
|
return X;
|
|
448
448
|
const e = document.getElementsByTagName("html");
|
|
@@ -455,7 +455,7 @@ const me = () => {
|
|
|
455
455
|
console.error("[i18n] Unsupported language:", e);
|
|
456
456
|
return;
|
|
457
457
|
}
|
|
458
|
-
}, No = () => window.gameapLang ||
|
|
458
|
+
}, No = () => window.gameapLang || pe(), se = function(e, t) {
|
|
459
459
|
if (e.__CANCEL__)
|
|
460
460
|
return;
|
|
461
461
|
let s = p("main.error"), n = "";
|
|
@@ -950,7 +950,7 @@ const W = q("auth", {
|
|
|
950
950
|
reddit: "fa-brands fa-reddit",
|
|
951
951
|
patreon: "fa-brands fa-patreon",
|
|
952
952
|
teamspeak: "fa-brands fa-teamspeak"
|
|
953
|
-
}, Lt =
|
|
953
|
+
}, Lt = Ge({ ...nr });
|
|
954
954
|
function or(e) {
|
|
955
955
|
return Lt[e];
|
|
956
956
|
}
|
|
@@ -989,7 +989,7 @@ const O = {
|
|
|
989
989
|
width: r[t.size],
|
|
990
990
|
height: r[t.size]
|
|
991
991
|
}));
|
|
992
|
-
return (x, f) => n.value ? (a(), $(
|
|
992
|
+
return (x, f) => n.value ? (a(), $(he(s.value), {
|
|
993
993
|
key: 0,
|
|
994
994
|
class: V(t.class),
|
|
995
995
|
style: vt(m.value)
|
|
@@ -1123,7 +1123,7 @@ const O = {
|
|
|
1123
1123
|
document.addEventListener("click", _, !0);
|
|
1124
1124
|
}), bt(() => {
|
|
1125
1125
|
document.removeEventListener("click", _, !0);
|
|
1126
|
-
}),
|
|
1126
|
+
}), be("menu", {
|
|
1127
1127
|
isOpen: t,
|
|
1128
1128
|
toggle: r,
|
|
1129
1129
|
close: d,
|
|
@@ -1132,7 +1132,7 @@ const O = {
|
|
|
1132
1132
|
registerItem: m,
|
|
1133
1133
|
unregisterItem: x,
|
|
1134
1134
|
setActiveIndex: f
|
|
1135
|
-
}), (l, v) => (a(), $(
|
|
1135
|
+
}), (l, v) => (a(), $(he(e.as), {
|
|
1136
1136
|
ref_key: "menuRef",
|
|
1137
1137
|
ref: s
|
|
1138
1138
|
}, {
|
|
@@ -1169,7 +1169,7 @@ const O = {
|
|
|
1169
1169
|
const t = e, { isOpen: s, close: n } = He("menu"), i = (m) => {
|
|
1170
1170
|
m.key === "Escape" && (m.preventDefault(), n());
|
|
1171
1171
|
}, r = w(() => t.unmount ? s.value : !0), d = w(() => s.value);
|
|
1172
|
-
return (m, x) => r.value ?
|
|
1172
|
+
return (m, x) => r.value ? xe((a(), c("div", {
|
|
1173
1173
|
key: 0,
|
|
1174
1174
|
role: "menu",
|
|
1175
1175
|
tabindex: "-1",
|
|
@@ -1468,11 +1468,11 @@ function Er(e) {
|
|
|
1468
1468
|
console.error("Failed to save UI settings to localStorage:", t);
|
|
1469
1469
|
}
|
|
1470
1470
|
}
|
|
1471
|
-
const
|
|
1471
|
+
const Re = Mr(), Ye = q("uiSettings", {
|
|
1472
1472
|
state: () => ({
|
|
1473
|
-
language:
|
|
1474
|
-
leftMenuMinimized:
|
|
1475
|
-
theme:
|
|
1473
|
+
language: Re.language || null,
|
|
1474
|
+
leftMenuMinimized: Re.leftMenuMinimized || !1,
|
|
1475
|
+
theme: Re.theme || "light"
|
|
1476
1476
|
}),
|
|
1477
1477
|
getters: {
|
|
1478
1478
|
currentLanguage: (e) => e.language,
|
|
@@ -1574,7 +1574,7 @@ const Ne = Mr(), Ye = q("uiSettings", {
|
|
|
1574
1574
|
{
|
|
1575
1575
|
icon: "book",
|
|
1576
1576
|
label: u(p)("navbar.documentation"),
|
|
1577
|
-
link: u(
|
|
1577
|
+
link: u(pe) === "ru" ? "https://docs.gameap.com/ru/" : "https://docs.gameap.com/en/"
|
|
1578
1578
|
},
|
|
1579
1579
|
{
|
|
1580
1580
|
icon: "admin-panel",
|
|
@@ -1697,11 +1697,11 @@ const Rt = /* @__PURE__ */ Qe(Gr, [["render", Br]]), Gt = q("server", () => {
|
|
|
1697
1697
|
su_user: "",
|
|
1698
1698
|
start_command: "",
|
|
1699
1699
|
aliases: null
|
|
1700
|
-
}), i = k([]), r = k(0), d = k(""), m = k(0), x = k(0), f = k(0), _ = w(() => r.value > 0), l = w(() => !!s.value["game-server-start"]), v = w(() => !!s.value["game-server-stop"]), j = w(() => !!s.value["game-server-restart"]), h = w(() => !!s.value["game-server-update"]), R = w(() => !!s.value["game-server-console-view"]), G = w(() => !!s.value["game-server-console-send"]),
|
|
1701
|
-
function
|
|
1700
|
+
}), i = k([]), r = k(0), d = k(""), m = k(0), x = k(0), f = k(0), _ = w(() => r.value > 0), l = w(() => !!s.value["game-server-start"]), v = w(() => !!s.value["game-server-stop"]), j = w(() => !!s.value["game-server-restart"]), h = w(() => !!s.value["game-server-update"]), R = w(() => !!s.value["game-server-console-view"]), G = w(() => !!s.value["game-server-console-send"]), le = w(() => !!s.value["game-server-files"]), ve = w(() => !!s.value["game-server-tasks"]), ce = w(() => !!s.value["game-server-settings"]), Z = w(() => n.value);
|
|
1701
|
+
function Pe(I) {
|
|
1702
1702
|
t.value = I;
|
|
1703
1703
|
}
|
|
1704
|
-
async function
|
|
1704
|
+
async function Te() {
|
|
1705
1705
|
r.value++;
|
|
1706
1706
|
try {
|
|
1707
1707
|
const I = await S.get("/api/servers/" + t.value);
|
|
@@ -1714,7 +1714,7 @@ const Rt = /* @__PURE__ */ Qe(Gr, [["render", Br]]), Gt = q("server", () => {
|
|
|
1714
1714
|
r.value--;
|
|
1715
1715
|
}
|
|
1716
1716
|
}
|
|
1717
|
-
async function
|
|
1717
|
+
async function Ae() {
|
|
1718
1718
|
r.value++;
|
|
1719
1719
|
try {
|
|
1720
1720
|
const I = await S.get("/api/servers/" + t.value + "/abilities");
|
|
@@ -1727,7 +1727,7 @@ const Rt = /* @__PURE__ */ Qe(Gr, [["render", Br]]), Gt = q("server", () => {
|
|
|
1727
1727
|
r.value--;
|
|
1728
1728
|
}
|
|
1729
1729
|
}
|
|
1730
|
-
async function
|
|
1730
|
+
async function Ie() {
|
|
1731
1731
|
r.value++;
|
|
1732
1732
|
try {
|
|
1733
1733
|
const I = await S.get("/api/servers/" + t.value + "/settings");
|
|
@@ -1740,7 +1740,7 @@ const Rt = /* @__PURE__ */ Qe(Gr, [["render", Br]]), Gt = q("server", () => {
|
|
|
1740
1740
|
r.value--;
|
|
1741
1741
|
}
|
|
1742
1742
|
}
|
|
1743
|
-
async function
|
|
1743
|
+
async function Fe(I) {
|
|
1744
1744
|
r.value++;
|
|
1745
1745
|
try {
|
|
1746
1746
|
await S.put("/api/servers/" + t.value, I);
|
|
@@ -1752,7 +1752,7 @@ const Rt = /* @__PURE__ */ Qe(Gr, [["render", Br]]), Gt = q("server", () => {
|
|
|
1752
1752
|
r.value--;
|
|
1753
1753
|
}
|
|
1754
1754
|
}
|
|
1755
|
-
async function
|
|
1755
|
+
async function Me(I) {
|
|
1756
1756
|
r.value++;
|
|
1757
1757
|
try {
|
|
1758
1758
|
await S.put("/api/servers/" + t.value + "/settings", I);
|
|
@@ -1764,16 +1764,16 @@ const Rt = /* @__PURE__ */ Qe(Gr, [["render", Br]]), Gt = q("server", () => {
|
|
|
1764
1764
|
r.value--;
|
|
1765
1765
|
}
|
|
1766
1766
|
}
|
|
1767
|
-
function
|
|
1767
|
+
function Ee(I) {
|
|
1768
1768
|
d.value = I;
|
|
1769
1769
|
}
|
|
1770
|
-
function
|
|
1770
|
+
function je(I) {
|
|
1771
1771
|
m.value = I;
|
|
1772
1772
|
}
|
|
1773
|
-
function
|
|
1773
|
+
function Oe(I) {
|
|
1774
1774
|
x.value = I;
|
|
1775
1775
|
}
|
|
1776
|
-
function
|
|
1776
|
+
function Le(I) {
|
|
1777
1777
|
f.value = I;
|
|
1778
1778
|
}
|
|
1779
1779
|
return {
|
|
@@ -1796,31 +1796,31 @@ const Rt = /* @__PURE__ */ Qe(Gr, [["render", Br]]), Gt = q("server", () => {
|
|
|
1796
1796
|
canUpdate: h,
|
|
1797
1797
|
canReadConsole: R,
|
|
1798
1798
|
canSendConsole: G,
|
|
1799
|
-
canManageFiles:
|
|
1799
|
+
canManageFiles: le,
|
|
1800
1800
|
canManageTasks: ve,
|
|
1801
|
-
canManageSettings:
|
|
1801
|
+
canManageSettings: ce,
|
|
1802
1802
|
getServer: Z,
|
|
1803
1803
|
// Actions
|
|
1804
|
-
setServerId:
|
|
1805
|
-
fetchServer:
|
|
1806
|
-
fetchAbilities:
|
|
1807
|
-
fetchSettings:
|
|
1808
|
-
save:
|
|
1809
|
-
saveSettings:
|
|
1810
|
-
setFormIp:
|
|
1811
|
-
setFormPort:
|
|
1812
|
-
setFormQueryPort:
|
|
1813
|
-
setFormRconPort:
|
|
1804
|
+
setServerId: Pe,
|
|
1805
|
+
fetchServer: Te,
|
|
1806
|
+
fetchAbilities: Ae,
|
|
1807
|
+
fetchSettings: Ie,
|
|
1808
|
+
save: Fe,
|
|
1809
|
+
saveSettings: Me,
|
|
1810
|
+
setFormIp: Ee,
|
|
1811
|
+
setFormPort: je,
|
|
1812
|
+
setFormQueryPort: Oe,
|
|
1813
|
+
setFormRconPort: Le
|
|
1814
1814
|
};
|
|
1815
1815
|
}), Dr = "pluginContext", Ur = "pluginI18n";
|
|
1816
1816
|
function Vt(e = {}) {
|
|
1817
1817
|
const t = qr(e);
|
|
1818
|
-
|
|
1818
|
+
be(Dr, t);
|
|
1819
1819
|
const s = Hr();
|
|
1820
|
-
return
|
|
1820
|
+
return be(Ur, s), be("pluginsStore", ie()), t;
|
|
1821
1821
|
}
|
|
1822
1822
|
function qr(e = {}) {
|
|
1823
|
-
const t =
|
|
1823
|
+
const t = ye(), s = W(), n = Gt(), i = ie();
|
|
1824
1824
|
return {
|
|
1825
1825
|
route: w(() => ({
|
|
1826
1826
|
name: t.name,
|
|
@@ -1851,7 +1851,7 @@ function qr(e = {}) {
|
|
|
1851
1851
|
};
|
|
1852
1852
|
}
|
|
1853
1853
|
function Hr() {
|
|
1854
|
-
const e =
|
|
1854
|
+
const e = ye(), t = ie(), s = window.gameapLang || "en";
|
|
1855
1855
|
return { trans: (i, r) => {
|
|
1856
1856
|
const d = e.meta?.pluginId, m = d ? t.getPluginTranslations(d) : null;
|
|
1857
1857
|
let f = (m?.[s] || m?.en || {})[i] ?? p(i);
|
|
@@ -1869,16 +1869,16 @@ const Kr = {
|
|
|
1869
1869
|
}
|
|
1870
1870
|
},
|
|
1871
1871
|
setup(e) {
|
|
1872
|
-
return Vt(), (t, s) => (a(), $(
|
|
1872
|
+
return Vt(), (t, s) => (a(), $(he(e.routeComponent), Kt(Xt(t.$attrs)), null, 16));
|
|
1873
1873
|
}
|
|
1874
|
-
}, Xr = ["1.0"],
|
|
1875
|
-
const e = k(/* @__PURE__ */ new Map()), t =
|
|
1874
|
+
}, Xr = ["1.0"], ie = q("plugins", () => {
|
|
1875
|
+
const e = k(/* @__PURE__ */ new Map()), t = Ge({
|
|
1876
1876
|
"server-tabs": [],
|
|
1877
1877
|
"dashboard-widgets": [],
|
|
1878
1878
|
"sidebar-sections": [],
|
|
1879
1879
|
"admin-pages": [],
|
|
1880
1880
|
"home-buttons": []
|
|
1881
|
-
}), s = k([]), n = k([]), i =
|
|
1881
|
+
}), s = k([]), n = k([]), i = Ge({
|
|
1882
1882
|
servers: [],
|
|
1883
1883
|
admin: [],
|
|
1884
1884
|
custom: []
|
|
@@ -1892,11 +1892,11 @@ const Kr = {
|
|
|
1892
1892
|
function G(g) {
|
|
1893
1893
|
return e.value.get(g);
|
|
1894
1894
|
}
|
|
1895
|
-
function
|
|
1895
|
+
function le(g) {
|
|
1896
1896
|
return Xr.includes(g);
|
|
1897
1897
|
}
|
|
1898
1898
|
function ve(g) {
|
|
1899
|
-
if (!
|
|
1899
|
+
if (!le(g.apiVersion || "1.0"))
|
|
1900
1900
|
throw new Error(`Unsupported API version: ${g.apiVersion}`);
|
|
1901
1901
|
return e.value.set(g.id, {
|
|
1902
1902
|
id: g.id,
|
|
@@ -1908,7 +1908,7 @@ const Kr = {
|
|
|
1908
1908
|
loadedAt: /* @__PURE__ */ new Date()
|
|
1909
1909
|
}), g.id;
|
|
1910
1910
|
}
|
|
1911
|
-
function
|
|
1911
|
+
function ce(g, C, E, P = {}) {
|
|
1912
1912
|
if (!t[g]) {
|
|
1913
1913
|
console.warn(`Unknown slot: ${g}`);
|
|
1914
1914
|
return;
|
|
@@ -1935,7 +1935,7 @@ const Kr = {
|
|
|
1935
1935
|
section: E.section
|
|
1936
1936
|
}), i[P].sort((B, U) => B.order - U.order);
|
|
1937
1937
|
}
|
|
1938
|
-
function
|
|
1938
|
+
function Pe(g, C) {
|
|
1939
1939
|
s.value.push({
|
|
1940
1940
|
pluginId: g,
|
|
1941
1941
|
...C,
|
|
@@ -1948,7 +1948,7 @@ const Kr = {
|
|
|
1948
1948
|
}
|
|
1949
1949
|
});
|
|
1950
1950
|
}
|
|
1951
|
-
function
|
|
1951
|
+
function Te(g) {
|
|
1952
1952
|
for (const C of s.value)
|
|
1953
1953
|
try {
|
|
1954
1954
|
const E = C.component, P = {
|
|
@@ -1970,28 +1970,28 @@ const Kr = {
|
|
|
1970
1970
|
}
|
|
1971
1971
|
s.value = [];
|
|
1972
1972
|
}
|
|
1973
|
-
function
|
|
1973
|
+
function Ae(g) {
|
|
1974
1974
|
r.value = g;
|
|
1975
1975
|
}
|
|
1976
|
-
function
|
|
1976
|
+
function Ie(g) {
|
|
1977
1977
|
d.value = g;
|
|
1978
1978
|
}
|
|
1979
|
-
function
|
|
1979
|
+
function Fe(g) {
|
|
1980
1980
|
m.value.push(g);
|
|
1981
1981
|
}
|
|
1982
|
-
function
|
|
1982
|
+
function Me(g, C) {
|
|
1983
1983
|
x.value.set(g, C);
|
|
1984
1984
|
}
|
|
1985
|
-
function
|
|
1985
|
+
function Ee(g) {
|
|
1986
1986
|
return x.value.get(g);
|
|
1987
1987
|
}
|
|
1988
|
-
function
|
|
1988
|
+
function je(g, C) {
|
|
1989
1989
|
if (typeof C != "string" || !C.startsWith("@:"))
|
|
1990
1990
|
return C;
|
|
1991
1991
|
const E = C.slice(2), P = x.value.get(g), B = window.gameapLang || "en";
|
|
1992
1992
|
return (P?.[B] || P?.en || {})[E] ?? p(E);
|
|
1993
1993
|
}
|
|
1994
|
-
function
|
|
1994
|
+
function Oe(g, C) {
|
|
1995
1995
|
f.value.push({
|
|
1996
1996
|
pluginId: g,
|
|
1997
1997
|
editor: {
|
|
@@ -2000,7 +2000,7 @@ const Kr = {
|
|
|
2000
2000
|
}
|
|
2001
2001
|
});
|
|
2002
2002
|
}
|
|
2003
|
-
function
|
|
2003
|
+
function Le(g, C, E) {
|
|
2004
2004
|
const { match: P } = g, { fileName: B, filePath: U, extension: qt } = C, { gameCode: tt, gameName: st } = E || {};
|
|
2005
2005
|
let H = 0, K = !1;
|
|
2006
2006
|
if (P.gameCode && P.gameCode !== tt || P.gameName && P.gameName !== st)
|
|
@@ -2041,7 +2041,7 @@ const Kr = {
|
|
|
2041
2041
|
function I(g, C = null) {
|
|
2042
2042
|
const E = [];
|
|
2043
2043
|
for (const { pluginId: P, editor: B } of f.value) {
|
|
2044
|
-
const U =
|
|
2044
|
+
const U = Le(B, g, C);
|
|
2045
2045
|
U > 0 && E.push({
|
|
2046
2046
|
pluginId: P,
|
|
2047
2047
|
editor: B,
|
|
@@ -2083,22 +2083,22 @@ const Kr = {
|
|
|
2083
2083
|
getSlotComponents: h,
|
|
2084
2084
|
getMenuItems: R,
|
|
2085
2085
|
getPlugin: G,
|
|
2086
|
-
getPluginTranslations:
|
|
2087
|
-
resolvePluginText:
|
|
2086
|
+
getPluginTranslations: Ee,
|
|
2087
|
+
resolvePluginText: je,
|
|
2088
2088
|
getMatchingEditors: I,
|
|
2089
2089
|
getDefaultEditor: J,
|
|
2090
2090
|
// Actions
|
|
2091
|
-
checkApiVersion:
|
|
2091
|
+
checkApiVersion: le,
|
|
2092
2092
|
registerPlugin: ve,
|
|
2093
|
-
registerSlotComponent:
|
|
2093
|
+
registerSlotComponent: ce,
|
|
2094
2094
|
registerMenuItem: Z,
|
|
2095
|
-
registerFileEditor:
|
|
2096
|
-
addPendingRoute:
|
|
2097
|
-
registerRoutes:
|
|
2098
|
-
setLoading:
|
|
2099
|
-
setInitialized:
|
|
2100
|
-
addLoadError:
|
|
2101
|
-
setPluginTranslations:
|
|
2095
|
+
registerFileEditor: Oe,
|
|
2096
|
+
addPendingRoute: Pe,
|
|
2097
|
+
registerRoutes: Te,
|
|
2098
|
+
setLoading: Ae,
|
|
2099
|
+
setInitialized: Ie,
|
|
2100
|
+
addLoadError: Fe,
|
|
2101
|
+
setPluginTranslations: Me,
|
|
2102
2102
|
unregisterPlugin: Ut
|
|
2103
2103
|
};
|
|
2104
2104
|
}), Wr = {
|
|
@@ -2136,7 +2136,7 @@ const Kr = {
|
|
|
2136
2136
|
}, ya = { class: "ml-2 w-full text-center text-sm font-bold" }, wa = { class: "w-full px-2" }, ka = { class: "flex flex-col items-center w-full mb-3 border-stone-700" }, Ca = { class: "ml-2 text-sm font-medium" }, $a = { class: "w-full px-2 mt-3" }, Sa = { class: "flex flex-col items-center w-full mb-3 border-stone-700" }, Pa = { class: "ml-2 text-sm font-medium" }, Ta = {
|
|
2137
2137
|
__name: "MainSidebar",
|
|
2138
2138
|
setup(e) {
|
|
2139
|
-
const t = W(), s = Ye(), n =
|
|
2139
|
+
const t = W(), s = Ye(), n = ie(), i = w({
|
|
2140
2140
|
get: () => s.isMenuMinimized,
|
|
2141
2141
|
set: (_) => s.setMenuMinimized(_)
|
|
2142
2142
|
});
|
|
@@ -2377,7 +2377,7 @@ const Kr = {
|
|
|
2377
2377
|
}, Bt = /* @__PURE__ */ Qe(Ta, [["__scopeId", "data-v-96960d74"]]), qe = {
|
|
2378
2378
|
__name: "ContentView",
|
|
2379
2379
|
setup(e) {
|
|
2380
|
-
return Xe(),
|
|
2380
|
+
return Xe(), ye(), window.$message = ss(), window.$dialog = ns(), re(() => {
|
|
2381
2381
|
}), (t, s) => {
|
|
2382
2382
|
const n = Q("RouterView");
|
|
2383
2383
|
return a(), $(n, {
|
|
@@ -2617,7 +2617,7 @@ const Kr = {
|
|
|
2617
2617
|
}, Ba = { class: "sm:flex-1 sm:mr-5" }, Da = { class: "max-w-full" }, Ua = { class: "pt-3 pb-5 content" }, qa = {
|
|
2618
2618
|
__name: "App",
|
|
2619
2619
|
setup(e) {
|
|
2620
|
-
|
|
2620
|
+
ye();
|
|
2621
2621
|
const t = Xe(), s = W(), n = Ye(), i = Aa(), r = Ia(), d = Fa(), m = Gt(), x = Ma(), f = w(() => s.user), _ = {
|
|
2622
2622
|
common: {
|
|
2623
2623
|
primaryColor: "#84cc16",
|
|
@@ -2700,14 +2700,14 @@ const Kr = {
|
|
|
2700
2700
|
// name of the action
|
|
2701
2701
|
store: G,
|
|
2702
2702
|
// store instance, same as `someStore`
|
|
2703
|
-
args:
|
|
2703
|
+
args: le,
|
|
2704
2704
|
// array of parameters passed to the action
|
|
2705
2705
|
after: ve,
|
|
2706
2706
|
// hook after the action returns or resolves
|
|
2707
|
-
onError:
|
|
2707
|
+
onError: ce
|
|
2708
2708
|
// hook if the action throws or rejects
|
|
2709
2709
|
}) => {
|
|
2710
|
-
|
|
2710
|
+
ce((Z) => {
|
|
2711
2711
|
if (Z.response && Z.response.status)
|
|
2712
2712
|
switch (Z.response.status) {
|
|
2713
2713
|
case 401:
|
|
@@ -2725,7 +2725,7 @@ const Kr = {
|
|
|
2725
2725
|
});
|
|
2726
2726
|
};
|
|
2727
2727
|
return i.$onAction(h), r.$onAction(h), d.$onAction(h), m.$onAction(h), x.$onAction(h), (R, G) => (a(), $(u(as), {
|
|
2728
|
-
locale: u(
|
|
2728
|
+
locale: u(pe)() === "ru" ? u(is) : u(ls),
|
|
2729
2729
|
theme: v.value,
|
|
2730
2730
|
"theme-overrides": j.value
|
|
2731
2731
|
}, {
|
|
@@ -2868,7 +2868,7 @@ const ri = /* @__PURE__ */ Qe(si, [["render", oi]]), ai = {
|
|
|
2868
2868
|
setup(e) {
|
|
2869
2869
|
const t = e;
|
|
2870
2870
|
Vt();
|
|
2871
|
-
const s =
|
|
2871
|
+
const s = ie(), n = w(() => [...s.getSlotComponents(t.name)].sort((d, m) => d.order - m.order));
|
|
2872
2872
|
function i(r) {
|
|
2873
2873
|
return {
|
|
2874
2874
|
...r.props,
|
|
@@ -2876,7 +2876,7 @@ const ri = /* @__PURE__ */ Qe(si, [["render", oi]]), ai = {
|
|
|
2876
2876
|
pluginId: r.pluginId
|
|
2877
2877
|
};
|
|
2878
2878
|
}
|
|
2879
|
-
return (r, d) => (a(!0), c(F, null, N(n.value, (m, x) => (a(), $(
|
|
2879
|
+
return (r, d) => (a(!0), c(F, null, N(n.value, (m, x) => (a(), $(he(m.component), xt({
|
|
2880
2880
|
key: `${m.pluginId}-${x}`
|
|
2881
2881
|
}, { ref_for: !0 }, i(m)), null, 16))), 128));
|
|
2882
2882
|
}
|
|
@@ -3064,7 +3064,7 @@ const ri = /* @__PURE__ */ Qe(si, [["render", oi]]), ai = {
|
|
|
3064
3064
|
}, Vi = {
|
|
3065
3065
|
__name: "HomeView",
|
|
3066
3066
|
setup(e) {
|
|
3067
|
-
const t = W(), s = ii(), n = li(), i =
|
|
3067
|
+
const t = W(), s = ii(), n = li(), i = ie(), r = w(() => t.isAdmin), d = w(() => n.loading || s.loading), m = w(() => i.getSlotComponents("home-buttons"));
|
|
3068
3068
|
re(() => {
|
|
3069
3069
|
x(), r.value && f();
|
|
3070
3070
|
});
|
|
@@ -3155,7 +3155,7 @@ const ri = /* @__PURE__ */ Qe(si, [["render", oi]]), ai = {
|
|
|
3155
3155
|
(a(!0), c(F, null, N(m.value, (v) => (a(), c(F, {
|
|
3156
3156
|
key: v.pluginId + "-" + v.name
|
|
3157
3157
|
}, [
|
|
3158
|
-
v.component ? (a(), $(
|
|
3158
|
+
v.component ? (a(), $(he(v.component), xt({
|
|
3159
3159
|
key: 0,
|
|
3160
3160
|
ref_for: !0
|
|
3161
3161
|
}, v.props, {
|
|
@@ -3205,7 +3205,7 @@ const ri = /* @__PURE__ */ Qe(si, [["render", oi]]), ai = {
|
|
|
3205
3205
|
o("i", { class: "fa-brands fa-discord mr-1" }),
|
|
3206
3206
|
L(" Discord ")
|
|
3207
3207
|
], -1)),
|
|
3208
|
-
u(
|
|
3208
|
+
u(pe)() === "ru" ? (a(), c("a", Fi, [...l[4] || (l[4] = [
|
|
3209
3209
|
o("i", { class: "fa-brands fa-vk mr-1" }, null, -1),
|
|
3210
3210
|
L(" VKontakte ", -1)
|
|
3211
3211
|
])])) : A("", !0),
|
|
@@ -3248,7 +3248,7 @@ const ri = /* @__PURE__ */ Qe(si, [["render", oi]]), ai = {
|
|
|
3248
3248
|
o("a", {
|
|
3249
3249
|
type: "button",
|
|
3250
3250
|
class: "text-white bg-sky-500 hover:bg-sky-400 focus:outline-none rounded text-sm px-2 py-1 text-center inline-flex items-center me-1 mb-1 mr-2",
|
|
3251
|
-
href: u(
|
|
3251
|
+
href: u(pe)() === "ru" ? "https://docs.gameap.com/ru/" : "https://docs.gameap.com/en/",
|
|
3252
3252
|
target: "_blank"
|
|
3253
3253
|
}, [
|
|
3254
3254
|
y(u(O), {
|
|
@@ -3319,7 +3319,7 @@ const ri = /* @__PURE__ */ Qe(si, [["render", oi]]), ai = {
|
|
|
3319
3319
|
o("form", Xi, [
|
|
3320
3320
|
o("div", null, [
|
|
3321
3321
|
o("label", Wi, b(u(p)("auth.username_email")), 1),
|
|
3322
|
-
|
|
3322
|
+
xe(o("input", {
|
|
3323
3323
|
type: "email",
|
|
3324
3324
|
name: "email",
|
|
3325
3325
|
id: "email",
|
|
@@ -3332,7 +3332,7 @@ const ri = /* @__PURE__ */ Qe(si, [["render", oi]]), ai = {
|
|
|
3332
3332
|
]),
|
|
3333
3333
|
o("div", null, [
|
|
3334
3334
|
o("label", Zi, b(u(p)("auth.password")), 1),
|
|
3335
|
-
|
|
3335
|
+
xe(o("input", {
|
|
3336
3336
|
type: "password",
|
|
3337
3337
|
name: "password",
|
|
3338
3338
|
id: "password",
|
|
@@ -3346,7 +3346,7 @@ const ri = /* @__PURE__ */ Qe(si, [["render", oi]]), ai = {
|
|
|
3346
3346
|
o("div", Ji, [
|
|
3347
3347
|
o("div", Yi, [
|
|
3348
3348
|
o("div", Qi, [
|
|
3349
|
-
|
|
3349
|
+
xe(o("input", {
|
|
3350
3350
|
"onUpdate:modelValue": m[2] || (m[2] = (x) => i.value = x),
|
|
3351
3351
|
id: "remember",
|
|
3352
3352
|
"aria-describedby": "remember",
|
|
@@ -3454,7 +3454,7 @@ const ri = /* @__PURE__ */ Qe(si, [["render", oi]]), ai = {
|
|
|
3454
3454
|
])
|
|
3455
3455
|
]));
|
|
3456
3456
|
}
|
|
3457
|
-
}, vl = () => import("./ServersView-
|
|
3457
|
+
}, vl = () => import("./ServersView-CmDavKT_.js"), _l = () => import("./ProfileView-BTXGnm4R.js"), bl = () => import("./TokensView-Cw5j1Ivk.js"), xl = () => import("./EmptyView-CopbPCy6.js"), yl = () => import("./ServerIdView-1X_6i-s6.js").then((e) => e.S), wl = () => import("./AdminClientCertificatesView-Cdat-6ub.js"), kl = () => import("./AdminDaemonTaskListView-C0Jy1oat.js"), Cl = () => import("./AdminDaemonTaskOutputView-BdstVc5K.js"), $l = () => import("./AdminGamesEdit-BOxBjeqI.js"), Sl = () => import("./AdminGamesList-C6nSWKdx.js"), Pl = () => import("./AdminModEdit-diCpKnO2.js"), Tl = () => import("./AdminNodeShowView-BIUiXpmk.js"), Al = () => import("./AdminNodesCreateView-Brzzh4HN.js"), Il = () => import("./AdminNodesEditView-Dwr2kt82.js"), Fl = () => import("./AdminNodesView-DyiGZ1lZ.js"), Ml = () => import("./AdminPluginsView-CUe4i8kM.js"), El = () => import("./AdminServersCreate-iNMqnGK9.js"), jl = () => import("./AdminServersEdit-DVI74EZc.js"), Ol = () => import("./AdminServersList-CkjyJfPK.js"), Ll = () => import("./AdminUsersEditView-BTscuJ86.js"), zl = () => import("./AdminUsersView-D-fJfjLH.js"), Nl = [
|
|
3458
3458
|
{
|
|
3459
3459
|
path: "/403",
|
|
3460
3460
|
name: "error403",
|
|
@@ -3650,7 +3650,7 @@ const ri = /* @__PURE__ */ Qe(si, [["render", oi]]), ai = {
|
|
|
3650
3650
|
{
|
|
3651
3651
|
path: "/plugins/:pluginId/:pathMatch(.*)*",
|
|
3652
3652
|
name: "plugin.pending",
|
|
3653
|
-
component: () => import("./PluginPendingView-
|
|
3653
|
+
component: () => import("./PluginPendingView-CaK51oA9.js"),
|
|
3654
3654
|
meta: {
|
|
3655
3655
|
requiresAuth: !0,
|
|
3656
3656
|
isPluginRoute: !0
|
|
@@ -3670,48 +3670,48 @@ const ri = /* @__PURE__ */ Qe(si, [["render", oi]]), ai = {
|
|
|
3670
3670
|
return { name: "home" };
|
|
3671
3671
|
e.meta.title && (document.title = e.meta.title);
|
|
3672
3672
|
}, Gl = D(
|
|
3673
|
-
() => import("./InputTextList-
|
|
3673
|
+
() => import("./InputTextList-DUpEA_--.js")
|
|
3674
3674
|
), Vl = D(
|
|
3675
|
-
() => import("./InputManyList-
|
|
3675
|
+
() => import("./InputManyList-B65AFbLu.js")
|
|
3676
3676
|
), Bl = D(
|
|
3677
|
-
() => import("./ServerStatus-
|
|
3677
|
+
() => import("./ServerStatus-BblAtet5.js")
|
|
3678
3678
|
), Dl = D(
|
|
3679
|
-
() => import("./ServerConsole-
|
|
3679
|
+
() => import("./ServerConsole-BdF95Ef6.js")
|
|
3680
3680
|
), Ul = D(
|
|
3681
|
-
() => import("./ServerTasks-
|
|
3681
|
+
() => import("./ServerTasks-2jQBkpL9.js")
|
|
3682
3682
|
), ql = D(
|
|
3683
3683
|
() => import(
|
|
3684
|
-
"./UserServerPrivileges-
|
|
3684
|
+
"./UserServerPrivileges-CvGlXrzS.js"
|
|
3685
3685
|
/* webpackChunkName: "components/user-server-privileges" */
|
|
3686
3686
|
)
|
|
3687
3687
|
), Hl = D(
|
|
3688
3688
|
() => import(
|
|
3689
|
-
"./GameModSelector-
|
|
3689
|
+
"./GameModSelector-BzBYr5Bl.js"
|
|
3690
3690
|
/* webpackChunkName: "components/game-mod-selector" */
|
|
3691
3691
|
)
|
|
3692
3692
|
), Kl = D(
|
|
3693
3693
|
() => import(
|
|
3694
|
-
"./DsIpSelector-
|
|
3694
|
+
"./DsIpSelector-B_sWnbEP.js"
|
|
3695
3695
|
/* webpackChunkName: "components/game-mod-selector" */
|
|
3696
3696
|
)
|
|
3697
3697
|
), Xl = D(
|
|
3698
3698
|
() => import(
|
|
3699
|
-
"./SmartPortSelector-
|
|
3699
|
+
"./SmartPortSelector-BuREMnLx.js"
|
|
3700
3700
|
/* webpackChunkName: "components/smart-port-selector" */
|
|
3701
3701
|
)
|
|
3702
3702
|
), Wl = D(
|
|
3703
3703
|
() => import(
|
|
3704
|
-
"./ServerSelector-
|
|
3704
|
+
"./ServerSelector-Y4fSKiM2.js"
|
|
3705
3705
|
/* webpackChunkName: "components/server" */
|
|
3706
3706
|
)
|
|
3707
3707
|
), Zl = D(
|
|
3708
3708
|
() => import(
|
|
3709
|
-
"./SettingsParameters-
|
|
3709
|
+
"./SettingsParameters-jT8ffL4p.js"
|
|
3710
3710
|
/* webpackChunkName: "components/settings" */
|
|
3711
3711
|
)
|
|
3712
3712
|
), Jl = D(
|
|
3713
3713
|
() => import(
|
|
3714
|
-
"./CreateNodeModal-
|
|
3714
|
+
"./CreateNodeModal-CcpGS94Z.js"
|
|
3715
3715
|
/* webpackChunkName: "components/blocks" */
|
|
3716
3716
|
)
|
|
3717
3717
|
), T = Yt(qa);
|
|
@@ -3763,7 +3763,7 @@ document.head.appendChild(Dt);
|
|
|
3763
3763
|
async function Ql() {
|
|
3764
3764
|
try {
|
|
3765
3765
|
if (await gt.initializeAuth(), gt.isAuthenticated) {
|
|
3766
|
-
const { loadPlugins: e } = await import("./loader-
|
|
3766
|
+
const { loadPlugins: e } = await import("./loader-DStCgv0r.js");
|
|
3767
3767
|
await e(et);
|
|
3768
3768
|
}
|
|
3769
3769
|
} catch (e) {
|
|
@@ -3777,47 +3777,48 @@ async function Ql() {
|
|
|
3777
3777
|
}
|
|
3778
3778
|
Ql();
|
|
3779
3779
|
export {
|
|
3780
|
-
|
|
3781
|
-
|
|
3782
|
-
|
|
3783
|
-
|
|
3784
|
-
|
|
3785
|
-
|
|
3786
|
-
|
|
3787
|
-
|
|
3788
|
-
|
|
3789
|
-
|
|
3790
|
-
|
|
3791
|
-
|
|
3780
|
+
At as $,
|
|
3781
|
+
Ia as A,
|
|
3782
|
+
cr as B,
|
|
3783
|
+
gr as C,
|
|
3784
|
+
jt as D,
|
|
3785
|
+
Tt as E,
|
|
3786
|
+
we as F,
|
|
3787
|
+
te as G,
|
|
3788
|
+
ge as H,
|
|
3789
|
+
Gn as I,
|
|
3790
|
+
ke as J,
|
|
3791
|
+
Fs as K,
|
|
3792
3792
|
ae as L,
|
|
3793
3793
|
lo as M,
|
|
3794
|
-
|
|
3795
|
-
|
|
3796
|
-
|
|
3797
|
-
|
|
3798
|
-
|
|
3794
|
+
Us as N,
|
|
3795
|
+
sn as O,
|
|
3796
|
+
Fn as P,
|
|
3797
|
+
Ce as Q,
|
|
3798
|
+
It as R,
|
|
3799
3799
|
oe as S,
|
|
3800
|
-
|
|
3801
|
-
|
|
3802
|
-
|
|
3803
|
-
|
|
3804
|
-
|
|
3805
|
-
|
|
3806
|
-
|
|
3800
|
+
Ys as T,
|
|
3801
|
+
Ks as U,
|
|
3802
|
+
Rn as V,
|
|
3803
|
+
il as W,
|
|
3804
|
+
St as X,
|
|
3805
|
+
wo as Y,
|
|
3806
|
+
ko as Z,
|
|
3807
3807
|
ne as _,
|
|
3808
3808
|
O as a,
|
|
3809
|
-
|
|
3810
|
-
|
|
3811
|
-
|
|
3812
|
-
|
|
3813
|
-
|
|
3814
|
-
|
|
3809
|
+
Ds as a0,
|
|
3810
|
+
Dn as a1,
|
|
3811
|
+
$o as a2,
|
|
3812
|
+
Co as a3,
|
|
3813
|
+
ks as a4,
|
|
3814
|
+
So as a5,
|
|
3815
|
+
Po as a6,
|
|
3815
3816
|
S as b,
|
|
3816
3817
|
Qe as c,
|
|
3817
3818
|
Ot as d,
|
|
3818
3819
|
se as e,
|
|
3819
3820
|
Ma as f,
|
|
3820
|
-
|
|
3821
|
+
ie as g,
|
|
3821
3822
|
Fa as h,
|
|
3822
3823
|
Aa as i,
|
|
3823
3824
|
li as j,
|
|
@@ -3832,9 +3833,9 @@ export {
|
|
|
3832
3833
|
zo as s,
|
|
3833
3834
|
p as t,
|
|
3834
3835
|
Gt as u,
|
|
3835
|
-
|
|
3836
|
-
|
|
3837
|
-
|
|
3838
|
-
|
|
3839
|
-
|
|
3836
|
+
Vt as v,
|
|
3837
|
+
pe as w,
|
|
3838
|
+
Vo as x,
|
|
3839
|
+
ii as y,
|
|
3840
|
+
ur as z
|
|
3840
3841
|
};
|