@gameap/frontend 4.1.0-dev14 → 4.1.0-dev15
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,9 +1,10 @@
|
|
|
1
|
-
import { mergeModels as I, ref as
|
|
2
|
-
import { t, l as C, _ as
|
|
3
|
-
import { NForm as ee, NCard as L, NFormItem as m, NInput as p
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
1
|
+
import { mergeModels as I, ref as U, useModel as j, createElementBlock as $, openBlock as _, createVNode as a, unref as e, withCtx as d, createElementVNode as c, renderSlot as H, createBlock as w, createCommentVNode as R, normalizeClass as h, toDisplayString as N, computed as M, onMounted as J, Fragment as K, createTextVNode as Q } from "vue";
|
|
2
|
+
import { t, l as C, _ as B, a as z, h as X, m as Y, B as Z, e as k, n as G } from "./index-CiR3a1Cv.js";
|
|
3
|
+
import { NForm as ee, NCard as L, NFormItem as m, NInput as p } from "naive-ui";
|
|
4
|
+
import { _ as ae } from "./GModal-C4shXjCa.js";
|
|
5
|
+
import { r as S, a as le, c as te } from "./validators-r6Rit4O6.js";
|
|
6
|
+
import { u as oe } from "./gameList-BuPam-HN.js";
|
|
7
|
+
import { _ as se } from "./CreateModForm-CDqlkWYW.js";
|
|
7
8
|
import { useRoute as ne, useRouter as ie } from "vue-router";
|
|
8
9
|
import { storeToRefs as de } from "pinia";
|
|
9
10
|
const ue = { class: "flex flex-wrap mt-2" }, re = { class: "md:w-1/2 pr-8" }, me = { class: "md:w-1/2" }, pe = { class: "hidden lg:inline" }, ve = {
|
|
@@ -25,25 +26,25 @@ const ue = { class: "flex flex-wrap mt-2" }, re = { class: "md:w-1/2 pr-8" }, me
|
|
|
25
26
|
modelModifiers: {}
|
|
26
27
|
}),
|
|
27
28
|
emits: /* @__PURE__ */ I(["update"], ["update:modelValue"]),
|
|
28
|
-
setup(v, { emit:
|
|
29
|
-
const x =
|
|
29
|
+
setup(v, { emit: W }) {
|
|
30
|
+
const x = U({}), l = j(v, "modelValue"), g = {
|
|
30
31
|
code: {
|
|
31
32
|
required: !0,
|
|
32
33
|
validator: le(
|
|
33
|
-
|
|
34
|
+
S(t("labels.code")),
|
|
34
35
|
te(t("labels.code"), 2, 16)
|
|
35
36
|
)
|
|
36
37
|
},
|
|
37
38
|
name: {
|
|
38
39
|
required: !0,
|
|
39
|
-
validator:
|
|
40
|
+
validator: S(t("labels.name"))
|
|
40
41
|
}
|
|
41
|
-
},
|
|
42
|
+
}, A = W, b = () => {
|
|
42
43
|
x.value.validate().then(() => {
|
|
43
|
-
|
|
44
|
+
A("update");
|
|
44
45
|
});
|
|
45
46
|
};
|
|
46
|
-
return (r, s) => (_(),
|
|
47
|
+
return (r, s) => (_(), $("div", null, [
|
|
47
48
|
a(e(ee), {
|
|
48
49
|
"label-placement": "top",
|
|
49
50
|
"label-width": "auto",
|
|
@@ -283,31 +284,31 @@ const ue = { class: "flex flex-wrap mt-2" }, re = { class: "md:w-1/2 pr-8" }, me
|
|
|
283
284
|
]),
|
|
284
285
|
_: 3
|
|
285
286
|
}, 8, ["model"]),
|
|
286
|
-
a(
|
|
287
|
+
a(B, {
|
|
287
288
|
color: "green",
|
|
288
289
|
onClick: b
|
|
289
290
|
}, {
|
|
290
291
|
default: d(() => [
|
|
291
|
-
a(e(
|
|
292
|
+
a(e(z), {
|
|
292
293
|
name: "save",
|
|
293
294
|
class: "mr-0.5"
|
|
294
295
|
}),
|
|
295
|
-
c("span", pe, " " +
|
|
296
|
+
c("span", pe, " " + N(e(t)("main.save")), 1)
|
|
296
297
|
]),
|
|
297
298
|
_: 1
|
|
298
299
|
})
|
|
299
300
|
]));
|
|
300
301
|
}
|
|
301
|
-
},
|
|
302
|
+
}, he = {
|
|
302
303
|
__name: "AdminGamesEdit",
|
|
303
304
|
setup(v) {
|
|
304
|
-
const
|
|
305
|
+
const W = ne(), x = ie(), l = X(), g = oe(), A = M(() => [
|
|
305
306
|
{ route: "/", text: "GameAP", icon: "gicon gicon-gameap" },
|
|
306
307
|
{ route: { name: "admin.games.index" }, text: t("games.games") },
|
|
307
308
|
{ text: t("games.title_edit") }
|
|
308
309
|
]), { gameCode: b, game: r, mods: s } = de(l);
|
|
309
310
|
J(() => {
|
|
310
|
-
l.setGameCode(
|
|
311
|
+
l.setGameCode(W.params.code), n.value.code = b.value, l.fetchGame().then(() => {
|
|
311
312
|
n.value.name = r.value.name, n.value.engine = r.value.engine, n.value.engineVersion = r.value.engine_version, n.value.steamAppIdLinux = r.value.steam_app_id_linux, n.value.steamAppIdWindows = r.value.steam_app_id_windows, n.value.steamAppSetConfig = r.value.steam_app_set_config, n.value.localRepositoryLinux = r.value.local_repository_linux, n.value.localRepositoryWindows = r.value.local_repository_windows, n.value.remoteRepositoryLinux = r.value.remote_repository_linux, n.value.remoteRepositoryWindows = r.value.remote_repository_windows;
|
|
312
313
|
}), l.fetchMods();
|
|
313
314
|
});
|
|
@@ -331,7 +332,7 @@ const ue = { class: "flex flex-wrap mt-2" }, re = { class: "md:w-1/2 pr-8" }, me
|
|
|
331
332
|
}).catch((i) => {
|
|
332
333
|
k(i);
|
|
333
334
|
});
|
|
334
|
-
}, n =
|
|
335
|
+
}, n = U({}), V = U(!1), f = U({
|
|
335
336
|
game: null,
|
|
336
337
|
name: "",
|
|
337
338
|
remoteRepositoryLinux: "",
|
|
@@ -399,16 +400,16 @@ const ue = { class: "flex flex-wrap mt-2" }, re = { class: "md:w-1/2 pr-8" }, me
|
|
|
399
400
|
k(i);
|
|
400
401
|
});
|
|
401
402
|
};
|
|
402
|
-
return (u, i) => (_(),
|
|
403
|
-
a(e(Y), { items:
|
|
404
|
-
a(
|
|
403
|
+
return (u, i) => (_(), $(K, null, [
|
|
404
|
+
a(e(Y), { items: A.value }, null, 8, ["items"]),
|
|
405
|
+
a(B, {
|
|
405
406
|
class: "mr-1",
|
|
406
407
|
color: "orange",
|
|
407
408
|
onClick: i[0] || (i[0] = (y) => q())
|
|
408
409
|
}, {
|
|
409
410
|
default: d(() => [
|
|
410
|
-
a(e(
|
|
411
|
-
Q(" " +
|
|
411
|
+
a(e(z), { name: "cat" }),
|
|
412
|
+
Q(" " + N(e(t)("games.add_mod")), 1)
|
|
412
413
|
]),
|
|
413
414
|
_: 1
|
|
414
415
|
}),
|
|
@@ -449,12 +450,8 @@ const ue = { class: "flex flex-wrap mt-2" }, re = { class: "md:w-1/2 pr-8" }, me
|
|
|
449
450
|
a(e(ae), {
|
|
450
451
|
show: V.value,
|
|
451
452
|
"onUpdate:show": i[3] || (i[3] = (y) => V.value = y),
|
|
452
|
-
class: "custom-card",
|
|
453
|
-
preset: "card",
|
|
454
453
|
title: e(t)("games.title_add_mod"),
|
|
455
|
-
|
|
456
|
-
style: { width: "600px" },
|
|
457
|
-
segmented: { content: "soft", footer: "soft" }
|
|
454
|
+
style: { width: "600px" }
|
|
458
455
|
}, {
|
|
459
456
|
default: d(() => [
|
|
460
457
|
a(se, {
|
|
@@ -469,5 +466,5 @@ const ue = { class: "flex flex-wrap mt-2" }, re = { class: "md:w-1/2 pr-8" }, me
|
|
|
469
466
|
}
|
|
470
467
|
};
|
|
471
468
|
export {
|
|
472
|
-
|
|
469
|
+
he as default
|
|
473
470
|
};
|