@gameap/frontend 4.1.0-dev1 → 4.1.0-dev2
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-DQTMJ6LY.js +368 -0
- package/dist/AdminDaemonTaskListView-Bx3e0Miy.js +316 -0
- package/dist/AdminDaemonTaskOutputView-BJtLdoAq.js +87 -0
- package/dist/AdminGamesEdit-hDe3Pr-7.js +470 -0
- package/dist/AdminGamesList-CM1xADCW.js +500 -0
- package/dist/AdminModEdit-DDKd6Vga.js +526 -0
- package/dist/AdminNodeShowView-DMoEY2Cu.js +167 -0
- package/dist/AdminNodesCreateView-BXZDQIJ1.js +85 -0
- package/dist/AdminNodesEditView-xO7-szjJ.js +66 -0
- package/dist/AdminNodesView-ugTPiC4h.js +161 -0
- package/dist/AdminServersCreate-DOygFz_E.js +345 -0
- package/dist/AdminServersEdit-cZX6UGB1.js +400 -0
- package/dist/AdminServersList-CC50WRsv.js +165 -0
- package/dist/AdminUsersEditView-CXpMKFfI.js +305 -0
- package/dist/AdminUsersView-DGuGEHVR.js +443 -0
- package/dist/CreateModForm-CqhcrNFp.js +122 -0
- package/dist/CreateNodeModal-BvbJTKhD.js +93 -0
- package/dist/DsIpSelector-DN9IyT4L.js +90 -0
- package/dist/FileManager-8TWHezyM.js +31882 -0
- package/dist/GameModSelector-DRIaCbGY.js +94 -0
- package/dist/InputManyList-By5xECIK.js +110 -0
- package/dist/InputTextList-Bm2Ofq5J.js +63 -0
- package/dist/PluginPendingView-DHd_yijv.js +31 -0
- package/dist/RconConsole-DH9XeOu3.js +75 -0
- package/dist/RconPlayers-GrvCMJX3.js +420 -0
- package/dist/ServerConsole-BHHnpxJy.js +98 -0
- package/dist/ServerIdView-BfqrYuar.js +577 -0
- package/dist/ServerSelector-QMK1qiXa.js +52 -0
- package/dist/ServerSettings-Cz6C8Dlh.js +84 -0
- package/dist/ServerStatus-DBJW9C6H.js +63 -0
- package/dist/ServerTasks-Bs3iGYY3.js +854 -0
- package/dist/SettingsParameters-DCqhqxHk.js +87 -0
- package/dist/SmartPortSelector-DektJC6p.js +161 -0
- package/dist/UpdateNodeForm-CwirLUIK.js +648 -0
- package/dist/UserServerPrivileges-utyKdh7O.js +318 -0
- package/dist/_commonjsHelpers-C6fGbg64.js +6 -0
- package/dist/_createCompounder-DSupx5mD.js +241 -0
- package/dist/camelCase-WcUYdRB3.js +8 -0
- package/dist/capitalize-DRKkBaYR.js +40 -0
- package/dist/clientCertificates-BsJdUHYw.js +53 -0
- package/dist/favicon-32x32.png +0 -0
- package/dist/favicon-96x96.png +0 -0
- package/dist/favicon.ico +0 -0
- package/dist/fonts/gicon.eot +0 -0
- package/dist/fonts/gicon.svg +33 -0
- package/dist/fonts/gicon.ttf +0 -0
- package/dist/fonts/gicon.woff +0 -0
- package/dist/fonts/gicon.woff2 +0 -0
- package/dist/frontend.css +14 -0
- package/dist/gameList-DpGDCxFE.js +115 -0
- package/dist/images/gap_logo_white.png +0 -0
- package/dist/images/gap_logo_white_mini.png +0 -0
- package/dist/images/gicon.svg +18 -0
- package/dist/images/icons/save-white.svg +1 -0
- package/dist/images/icons/save.svg +1 -0
- package/dist/index-60qEjGuU.js +5371 -0
- package/dist/index.js +1 -0
- package/dist/loader-CrZTMKcy.js +131 -0
- package/dist/mockServiceWorker.js +349 -0
- package/dist/snakeCase-CTCA7tap.js +7 -0
- package/package.json +1 -2
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { mergeModels as y, useModel as p, computed as m, watch as i, onUnmounted as L, resolveComponent as U, createElementBlock as g, openBlock as w, withDirectives as v, createVNode as s, createElementVNode as c, vModelText as f, unref as I, withCtx as h } from "vue";
|
|
2
|
+
import { storeToRefs as D } from "pinia";
|
|
3
|
+
import { h as O, u as P } from "./index-60qEjGuU.js";
|
|
4
|
+
import { NFormItem as b } from "naive-ui";
|
|
5
|
+
const V = ["name"], B = ["name"], E = {
|
|
6
|
+
__name: "DsIpSelector",
|
|
7
|
+
props: /* @__PURE__ */ y({
|
|
8
|
+
dsList: Object,
|
|
9
|
+
serverIpFieldName: {
|
|
10
|
+
type: String,
|
|
11
|
+
default: "server_ip"
|
|
12
|
+
},
|
|
13
|
+
dsIdFieldName: {
|
|
14
|
+
type: String,
|
|
15
|
+
default: "ds_id"
|
|
16
|
+
},
|
|
17
|
+
nodeSelectDisabled: {
|
|
18
|
+
type: Boolean,
|
|
19
|
+
default: !1
|
|
20
|
+
},
|
|
21
|
+
nodeIdPath: "nodeId",
|
|
22
|
+
ipPath: "ip"
|
|
23
|
+
}, {
|
|
24
|
+
nodeId: {},
|
|
25
|
+
nodeIdModifiers: {},
|
|
26
|
+
ip: {},
|
|
27
|
+
ipModifiers: {}
|
|
28
|
+
}),
|
|
29
|
+
emits: ["update:nodeId", "update:ip"],
|
|
30
|
+
setup(l) {
|
|
31
|
+
const N = l, o = p(l, "nodeId"), d = p(l, "ip"), n = O(), S = P(), { ipList: u } = D(n), M = m(() => Object.entries(N.dsList).map(([e, t]) => ({ value: Number(e), label: t }))), F = m(() => u.value.map((e) => ({ value: e, label: e })));
|
|
32
|
+
return i(u, (e) => {
|
|
33
|
+
e.length >= 1 && !e.includes(d.value) && (d.value = e[0]);
|
|
34
|
+
}), i(o, (e) => {
|
|
35
|
+
n.setNodeId(o.value), n.fetchIpList();
|
|
36
|
+
}, { immediate: !0 }), i(d, (e) => {
|
|
37
|
+
S.setFormIp(d.value);
|
|
38
|
+
}), L(() => {
|
|
39
|
+
n.resetNodeId();
|
|
40
|
+
}), (e, t) => {
|
|
41
|
+
const r = U("n-select");
|
|
42
|
+
return w(), g("div", null, [
|
|
43
|
+
v(c("input", {
|
|
44
|
+
type: "hidden",
|
|
45
|
+
name: l.dsIdFieldName,
|
|
46
|
+
"onUpdate:modelValue": t[0] || (t[0] = (a) => o.value = a)
|
|
47
|
+
}, null, 8, V), [
|
|
48
|
+
[f, o.value]
|
|
49
|
+
]),
|
|
50
|
+
v(c("input", {
|
|
51
|
+
type: "hidden",
|
|
52
|
+
name: l.serverIpFieldName,
|
|
53
|
+
"onUpdate:modelValue": t[1] || (t[1] = (a) => d.value = a)
|
|
54
|
+
}, null, 8, B), [
|
|
55
|
+
[f, d.value]
|
|
56
|
+
]),
|
|
57
|
+
s(I(b), { path: l.nodeIdPath }, {
|
|
58
|
+
default: h(() => [
|
|
59
|
+
s(r, {
|
|
60
|
+
value: o.value,
|
|
61
|
+
"onUpdate:value": t[2] || (t[2] = (a) => o.value = a),
|
|
62
|
+
disabled: l.nodeSelectDisabled,
|
|
63
|
+
options: M.value,
|
|
64
|
+
placeholder: e.trans("labels.ds_id")
|
|
65
|
+
}, null, 8, ["value", "disabled", "options", "placeholder"])
|
|
66
|
+
]),
|
|
67
|
+
_: 1
|
|
68
|
+
}, 8, ["path"]),
|
|
69
|
+
s(I(b), {
|
|
70
|
+
path: l.ipPath,
|
|
71
|
+
"show-label": !1
|
|
72
|
+
}, {
|
|
73
|
+
default: h(() => [
|
|
74
|
+
s(r, {
|
|
75
|
+
value: d.value,
|
|
76
|
+
"onUpdate:value": t[3] || (t[3] = (a) => d.value = a),
|
|
77
|
+
disabled: !o.value,
|
|
78
|
+
options: F.value,
|
|
79
|
+
placeholder: e.trans("labels.ip")
|
|
80
|
+
}, null, 8, ["value", "disabled", "options", "placeholder"])
|
|
81
|
+
]),
|
|
82
|
+
_: 1
|
|
83
|
+
}, 8, ["path"])
|
|
84
|
+
]);
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
};
|
|
88
|
+
export {
|
|
89
|
+
E as default
|
|
90
|
+
};
|