@gameap/frontend 4.1.0-dev13 → 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.
Files changed (63) hide show
  1. package/dist/{AdminClientCertificatesView-Bg8X_Ouc.js → AdminClientCertificatesView-Cdat-6ub.js} +56 -66
  2. package/dist/{AdminDaemonTaskListView-DbJp0aqQ.js → AdminDaemonTaskListView-C0Jy1oat.js} +28 -29
  3. package/dist/{AdminDaemonTaskOutputView-DNCHQfxx.js → AdminDaemonTaskOutputView-BdstVc5K.js} +23 -25
  4. package/dist/{AdminGamesEdit-jco7cBfk.js → AdminGamesEdit-BOxBjeqI.js} +28 -31
  5. package/dist/{AdminGamesList-CMjsgEpx.js → AdminGamesList-C6nSWKdx.js} +136 -143
  6. package/dist/{AdminModEdit-BlRu_09M.js → AdminModEdit-diCpKnO2.js} +8 -8
  7. package/dist/{AdminNodeShowView-BHxJkjYJ.js → AdminNodeShowView-BIUiXpmk.js} +51 -61
  8. package/dist/{AdminNodesCreateView-DihmM46W.js → AdminNodesCreateView-Brzzh4HN.js} +13 -12
  9. package/dist/{AdminNodesEditView-CVACSido.js → AdminNodesEditView-Dwr2kt82.js} +16 -15
  10. package/dist/{AdminNodesView-CHtiU6dZ.js → AdminNodesView-DyiGZ1lZ.js} +25 -25
  11. package/dist/{AdminPluginsView-CRjF3BPs.js → AdminPluginsView-CUe4i8kM.js} +96 -105
  12. package/dist/{AdminServersCreate-5f8x6eZO.js → AdminServersCreate-iNMqnGK9.js} +26 -25
  13. package/dist/{AdminServersEdit-CA7711nJ.js → AdminServersEdit-DVI74EZc.js} +24 -23
  14. package/dist/{AdminServersList-De5ZMEGZ.js → AdminServersList-CkjyJfPK.js} +28 -28
  15. package/dist/{AdminUsersEditView-DeYo98vi.js → AdminUsersEditView-BTscuJ86.js} +2 -2
  16. package/dist/{AdminUsersView-C8fKEhpr.js → AdminUsersView-D-fJfjLH.js} +95 -105
  17. package/dist/{CreateModForm-CqkvVLfN.js → CreateModForm-CDqlkWYW.js} +3 -3
  18. package/dist/{CreateNodeModal-DOXVtVLQ.js → CreateNodeModal-CcpGS94Z.js} +1 -1
  19. package/dist/{DsIpSelector-C676Y19X.js → DsIpSelector-B_sWnbEP.js} +1 -1
  20. package/dist/{EmptyView-Bf6zmQQt.js → EmptyView-CopbPCy6.js} +1 -1
  21. package/dist/{FileManager-DSa9v4Ex.js → FileManager-JXa457rg.js} +691 -690
  22. package/dist/GCard-BmZwrZ1e.js +50 -0
  23. package/dist/GDataTable-DC0a2vJJ.js +60 -0
  24. package/dist/GDivider-tYaNzeM5.js +16 -0
  25. package/dist/GEmpty-Bkw6u0WR.js +35 -0
  26. package/dist/GModal-C4shXjCa.js +53 -0
  27. package/dist/GSwitch-1wlrRoUA.js +42 -0
  28. package/dist/GTable-DRH5VONX.js +38 -0
  29. package/dist/{GameModSelector-CQBT8ZLu.js → GameModSelector-BzBYr5Bl.js} +2 -2
  30. package/dist/{InputManyList-DUOtepb8.js → InputManyList-B65AFbLu.js} +21 -20
  31. package/dist/{InputTextList-lPhVIV04.js → InputTextList-DUpEA_--.js} +1 -1
  32. package/dist/PluginPendingView-CaK51oA9.js +35 -0
  33. package/dist/{ProfileView-Dw2T3X8m.js → ProfileView-BTXGnm4R.js} +74 -83
  34. package/dist/{RconConsole-CvxNBv0B.js → RconConsole-BSienrhk.js} +2 -2
  35. package/dist/{RconPlayers-odUKa0Ps.js → RconPlayers-jIqnphJ1.js} +111 -118
  36. package/dist/{ServerConsole-B9v2PcWb.js → ServerConsole-BdF95Ef6.js} +1 -1
  37. package/dist/{ServerControlButton-D_zJbxr6.js → ServerControlButton-7Un9i8tt.js} +6 -6
  38. package/dist/{ServerIdView-_vGQRk7y.js → ServerIdView-1X_6i-s6.js} +69 -67
  39. package/dist/{ServerSelector-6fCqL3e9.js → ServerSelector-Y4fSKiM2.js} +1 -1
  40. package/dist/{ServerSettings-C6-tkLTH.js → ServerSettings-DsIlowVa.js} +23 -21
  41. package/dist/{ServerStatus-CcqB0h1r.js → ServerStatus-BblAtet5.js} +1 -1
  42. package/dist/{ServerTasks-BcaZzvz7.js → ServerTasks-2jQBkpL9.js} +1 -1
  43. package/dist/{ServersView-S_G_kuGj.js → ServersView-CmDavKT_.js} +76 -76
  44. package/dist/{SettingsParameters-u3Awy4Vf.js → SettingsParameters-jT8ffL4p.js} +4 -3
  45. package/dist/{SmartPortSelector-BRSQFVqT.js → SmartPortSelector-BuREMnLx.js} +1 -1
  46. package/dist/{TokensView-C1RFJSB5.js → TokensView-Cw5j1Ivk.js} +60 -64
  47. package/dist/{UpdateNodeForm-BAhzQLt-.js → UpdateNodeForm-BnIqe7rC.js} +11 -10
  48. package/dist/{UserServerPrivileges-Q2wQMyHi.js → UserServerPrivileges-CvGlXrzS.js} +82 -92
  49. package/dist/{_createCompounder-CXjx5-CF.js → _createCompounder-vPBqoT5p.js} +3 -3
  50. package/dist/{camelCase-CSrB2MWj.js → camelCase-BSEkxKhA.js} +2 -2
  51. package/dist/{capitalize-BZSBvd6d.js → capitalize-BVfQSCbg.js} +5 -5
  52. package/dist/{clientCertificates-C0FlDwsb.js → clientCertificates-DHDjG6a2.js} +1 -1
  53. package/dist/frontend.css +1 -1
  54. package/dist/{gameList-kucszmx0.js → gameList-BuPam-HN.js} +1 -1
  55. package/dist/{index-9fvX7FD-.js → index-CiR3a1Cv.js} +180 -179
  56. package/dist/index.js +1 -1
  57. package/dist/{isEmpty-D0Z8Rneq.js → isEmpty-CLFmjU_j.js} +11 -11
  58. package/dist/{loader-qtG-Lf6M.js → loader-DStCgv0r.js} +1 -1
  59. package/dist/mockServiceWorker.js +1 -1
  60. package/dist/{snakeCase-nnM4dAra.js → snakeCase-lCSKsq6x.js} +1 -1
  61. package/dist/{validators-ChBGsKft.js → validators-r6Rit4O6.js} +2 -2
  62. package/package.json +2 -2
  63. package/dist/PluginPendingView-DaDaN30Q.js +0 -34
@@ -1,11 +1,11 @@
1
- import { NTable as O, NModal as D } from "naive-ui";
2
- import { resolveComponent as R, createElementBlock as u, openBlock as m, createVNode as h, withCtx as p, createElementVNode as t, createCommentVNode as c, toDisplayString as o, Fragment as L, renderList as B, withDirectives as k, vModelText as _, ref as T } from "vue";
3
- import { storeToRefs as U } from "pinia";
4
- import { W as z, H as S, X as H, Y as E, Z as K, $ as V, G as M, R as q, a0 as C, a1 as W, a2 as X, a3 as Y, a4 as Z, a5 as J, c as Q, a as $, _ as x, n as w, e as P, u as j } from "./index-9fvX7FD-.js";
5
- import { u as ee } from "./ServerIdView-_vGQRk7y.js";
6
- import { S as re, b as I, a as ne, i as v } from "./isEmpty-D0Z8Rneq.js";
7
- var se = 1, te = 2;
8
- function oe(e, r, n, a) {
1
+ import { resolveComponent as y, createElementBlock as u, openBlock as c, createVNode as h, withCtx as p, createElementVNode as t, createCommentVNode as m, toDisplayString as o, Fragment as O, renderList as D, withDirectives as _, vModelText as w, ref as T } from "vue";
2
+ import { storeToRefs as L } from "pinia";
3
+ import { X as B, I as S, Y as U, Z as M, $ as z, a0 as H, H as R, T as K, a1 as I, a2 as V, a3 as q, a4 as X, a5 as Y, a6 as Z, c as J, a as Q, _ as W, n as P, e as v, u as x } from "./index-CiR3a1Cv.js";
4
+ import { u as $ } from "./ServerIdView-1X_6i-s6.js";
5
+ import "naive-ui";
6
+ import { S as j, b as C, a as ee, i as A } from "./isEmpty-CLFmjU_j.js";
7
+ var re = 1, ne = 2;
8
+ function se(e, r, n, a) {
9
9
  var i = n.length, s = i;
10
10
  if (e == null)
11
11
  return !s;
@@ -16,25 +16,25 @@ function oe(e, r, n, a) {
16
16
  }
17
17
  for (; ++i < s; ) {
18
18
  d = n[i];
19
- var f = d[0], b = e[f], y = d[1];
19
+ var f = d[0], b = e[f], k = d[1];
20
20
  if (d[2]) {
21
21
  if (b === void 0 && !(f in e))
22
22
  return !1;
23
23
  } else {
24
- var l = new re(), g;
25
- if (!(g === void 0 ? I(y, b, se | te, a, l) : g))
24
+ var l = new j(), g;
25
+ if (!(g === void 0 ? C(k, b, re | ne, a, l) : g))
26
26
  return !1;
27
27
  }
28
28
  }
29
29
  return !0;
30
30
  }
31
- function N(e) {
32
- return e === e && !z(e);
31
+ function G(e) {
32
+ return e === e && !B(e);
33
33
  }
34
- function ae(e) {
34
+ function te(e) {
35
35
  for (var r = S(e), n = r.length; n--; ) {
36
36
  var a = r[n], i = e[a];
37
- r[n] = [a, i, N(i)];
37
+ r[n] = [a, i, G(i)];
38
38
  }
39
39
  return r;
40
40
  }
@@ -43,74 +43,74 @@ function F(e, r) {
43
43
  return n == null ? !1 : n[e] === r && (r !== void 0 || e in Object(n));
44
44
  };
45
45
  }
46
- function ie(e) {
47
- var r = ae(e);
46
+ function oe(e) {
47
+ var r = te(e);
48
48
  return r.length == 1 && r[0][2] ? F(r[0][0], r[0][1]) : function(n) {
49
- return n === e || oe(n, e, r);
49
+ return n === e || se(n, e, r);
50
50
  };
51
51
  }
52
- function le(e, r) {
52
+ function ae(e, r) {
53
53
  return e != null && r in Object(e);
54
54
  }
55
- function de(e, r, n) {
56
- r = H(r, e);
55
+ function ie(e, r, n) {
56
+ r = U(r, e);
57
57
  for (var a = -1, i = r.length, s = !1; ++a < i; ) {
58
- var d = E(r[a]);
58
+ var d = M(r[a]);
59
59
  if (!(s = e != null && n(e, d)))
60
60
  break;
61
61
  e = e[d];
62
62
  }
63
- return s || ++a != i ? s : (i = e == null ? 0 : e.length, !!i && K(i) && V(d, i) && (M(e) || q(e)));
63
+ return s || ++a != i ? s : (i = e == null ? 0 : e.length, !!i && z(i) && H(d, i) && (R(e) || K(e)));
64
64
  }
65
- function ue(e, r) {
66
- return e != null && de(e, r, le);
65
+ function le(e, r) {
66
+ return e != null && ie(e, r, ae);
67
67
  }
68
- var me = 1, ce = 2;
69
- function he(e, r) {
70
- return C(e) && N(r) ? F(E(e), r) : function(n) {
71
- var a = W(n, e);
72
- return a === void 0 && a === r ? ue(n, e) : I(r, a, me | ce);
68
+ var de = 1, ue = 2;
69
+ function ce(e, r) {
70
+ return I(e) && G(r) ? F(M(e), r) : function(n) {
71
+ var a = V(n, e);
72
+ return a === void 0 && a === r ? le(n, e) : C(r, a, de | ue);
73
73
  };
74
74
  }
75
- function fe(e) {
75
+ function me(e) {
76
76
  return function(r) {
77
77
  return r?.[e];
78
78
  };
79
79
  }
80
- function pe(e) {
80
+ function he(e) {
81
81
  return function(r) {
82
- return X(r, e);
82
+ return q(r, e);
83
83
  };
84
84
  }
85
- function ge(e) {
86
- return C(e) ? fe(E(e)) : pe(e);
85
+ function fe(e) {
86
+ return I(e) ? me(M(e)) : he(e);
87
+ }
88
+ function pe(e) {
89
+ return typeof e == "function" ? e : e == null ? X : typeof e == "object" ? R(e) ? ce(e[0], e[1]) : oe(e) : fe(e);
87
90
  }
88
- function be(e) {
89
- return typeof e == "function" ? e : e == null ? Y : typeof e == "object" ? M(e) ? he(e[0], e[1]) : ie(e) : ge(e);
91
+ var ge = Y();
92
+ function be(e, r) {
93
+ return e && ge(e, r, S);
90
94
  }
91
- var ye = Z();
95
+ var ye = Z(be);
92
96
  function ke(e, r) {
93
- return e && ye(e, r, S);
94
- }
95
- var _e = J(ke);
96
- function we(e, r) {
97
97
  var n;
98
- return _e(e, function(a, i, s) {
98
+ return ye(e, function(a, i, s) {
99
99
  return n = r(a, i, s), !n;
100
100
  }), !!n;
101
101
  }
102
- function A(e, r, n) {
103
- var a = M(e) ? ne : we;
104
- return a(e, be(r));
102
+ function E(e, r, n) {
103
+ var a = R(e) ? ee : ke;
104
+ return a(e, pe(r));
105
105
  }
106
- const Pe = {
106
+ const _e = {
107
107
  name: "RconPlayers",
108
- components: { GButton: x, GIcon: $ },
108
+ components: { GButton: W, GIcon: Q },
109
109
  props: {
110
110
  serverId: Number
111
111
  },
112
112
  setup() {
113
- const e = j(), r = ee(), { players: n } = U(r);
113
+ const e = x(), r = $(), { players: n } = L(r);
114
114
  return {
115
115
  serverStore: e,
116
116
  rconStore: r,
@@ -189,23 +189,23 @@ const Pe = {
189
189
  },
190
190
  ban() {
191
191
  this.rconStore.banPlayer(this.form.player, this.form.reason, this.form.time).then(() => {
192
- this.hideModal(), w(this.trans("rcon.ban_msg_success"));
192
+ this.hideModal(), P(this.trans("rcon.ban_msg_success"));
193
193
  }).catch((e) => {
194
- this.hideModal(), P(e);
194
+ this.hideModal(), v(e);
195
195
  });
196
196
  },
197
197
  kick() {
198
198
  this.rconStore.kickPlayer(this.form.player, this.form.reason).then(() => {
199
- this.hideModal(), w(this.trans("rcon.kick_msg_success"));
199
+ this.hideModal(), P(this.trans("rcon.kick_msg_success"));
200
200
  }).catch((e) => {
201
- this.hideModal(), P(e);
201
+ this.hideModal(), v(e);
202
202
  });
203
203
  },
204
204
  sendMessage() {
205
205
  this.rconStore.sendPlayerMessage(this.form.playerId, this.form.message).then(() => {
206
- this.hideModal(), w(this.trans("rcon.message_msg_success"));
206
+ this.hideModal(), P(this.trans("rcon.message_msg_success"));
207
207
  }).catch((e) => {
208
- this.hideModal(), P(e);
208
+ this.hideModal(), v(e);
209
209
  });
210
210
  }
211
211
  },
@@ -221,49 +221,49 @@ const Pe = {
221
221
  }
222
222
  },
223
223
  ipRow() {
224
- return A(this.players, (e) => !v(e.ip));
224
+ return E(this.players, (e) => !A(e.ip));
225
225
  },
226
226
  pingRow() {
227
- return A(this.players, (e) => !v(e.ping));
227
+ return E(this.players, (e) => !A(e.ping));
228
228
  },
229
229
  scoreRow() {
230
- return A(this.players, (e) => !v(e.score));
230
+ return E(this.players, (e) => !A(e.score));
231
231
  }
232
232
  },
233
233
  mounted() {
234
234
  this.serverStore.setServerId(this.serverId), this.rconStore.fetchPlayers();
235
235
  }
236
- }, ve = { id: "rcon-players-component" }, Ae = { key: 0 }, Ee = { key: 1 }, Me = { key: 2 }, Re = { key: 0 }, Se = { key: 1 }, Ce = { key: 2 }, Ie = { class: "grid grid-cols-2 gap-x-4" }, Ne = { class: "hidden lg:inline" }, Fe = { class: "hidden lg:inline" }, Ge = {
236
+ }, we = { id: "rcon-players-component" }, Pe = { key: 0 }, ve = { key: 1 }, Ae = { key: 2 }, Ee = { key: 0 }, Me = { key: 1 }, Re = { key: 2 }, Se = { class: "grid grid-cols-2 gap-x-4" }, Ie = { class: "hidden lg:inline" }, Ce = { class: "hidden lg:inline" }, Ge = {
237
237
  key: 0,
238
238
  class: "mb-3"
239
- }, Oe = {
239
+ }, Fe = {
240
240
  for: "input-reason",
241
241
  class: "control-label"
242
- }, De = {
242
+ }, Ne = {
243
243
  key: 0,
244
244
  class: "help-block"
245
- }, Le = { class: "text-red-600" }, Be = {
245
+ }, Oe = { class: "text-red-600" }, De = {
246
246
  key: 1,
247
247
  class: "mb-3"
248
248
  }, Te = {
249
249
  for: "input-time",
250
250
  class: "control-label"
251
- }, Ue = {
251
+ }, Le = {
252
252
  key: 0,
253
253
  class: "help-block"
254
- }, ze = { class: "text-red-600" }, He = {
254
+ }, Be = { class: "text-red-600" }, Ue = {
255
255
  key: 2,
256
256
  class: "mb-3"
257
- }, Ke = {
257
+ }, ze = {
258
258
  for: "input-mesage",
259
259
  class: "control-label"
260
- }, Ve = {
260
+ }, He = {
261
261
  key: 0,
262
262
  class: "help-block"
263
- }, qe = { class: "text-red-600" };
264
- function We(e, r, n, a, i, s) {
265
- const d = R("GIcon"), f = R("GButton"), b = O, y = D;
266
- return m(), u("div", ve, [
263
+ }, Ke = { class: "text-red-600" };
264
+ function Ve(e, r, n, a, i, s) {
265
+ const d = y("GIcon"), f = y("GButton"), b = y("GTable"), k = y("GModal");
266
+ return c(), u("div", we, [
267
267
  h(f, {
268
268
  color: "green",
269
269
  size: "small",
@@ -275,36 +275,33 @@ function We(e, r, n, a, i, s) {
275
275
  ]),
276
276
  _: 1
277
277
  }, 8, ["onClick"]),
278
- h(b, {
279
- size: "small",
280
- bordered: !1
281
- }, {
278
+ h(b, { size: "small" }, {
282
279
  default: p(() => [
283
280
  t("thead", null, [
284
281
  t("tr", null, [
285
282
  t("th", null, o(e.trans("rcon.player_name")), 1),
286
- s.scoreRow ? (m(), u("th", Ae, o(e.trans("rcon.player_score")), 1)) : c("", !0),
287
- s.pingRow ? (m(), u("th", Ee, o(e.trans("rcon.player_ping")), 1)) : c("", !0),
288
- s.ipRow ? (m(), u("th", Me, o(e.trans("rcon.player_ip")), 1)) : c("", !0),
283
+ s.scoreRow ? (c(), u("th", Pe, o(e.trans("rcon.player_score")), 1)) : m("", !0),
284
+ s.pingRow ? (c(), u("th", ve, o(e.trans("rcon.player_ping")), 1)) : m("", !0),
285
+ s.ipRow ? (c(), u("th", Ae, o(e.trans("rcon.player_ip")), 1)) : m("", !0),
289
286
  t("th", null, o(e.trans("main.actions")), 1)
290
287
  ])
291
288
  ]),
292
- (m(!0), u(L, null, B(a.players, (l, g) => (m(), u("tbody", null, [
289
+ (c(!0), u(O, null, D(a.players, (l, g) => (c(), u("tbody", null, [
293
290
  t("tr", null, [
294
291
  t("td", null, o(l.name), 1),
295
- s.scoreRow ? (m(), u("td", Re, o(l.score), 1)) : c("", !0),
296
- s.pingRow ? (m(), u("td", Se, o(l.ping), 1)) : c("", !0),
297
- s.ipRow ? (m(), u("td", Ce, o(l.ip), 1)) : c("", !0),
298
- t("td", Ie, [
292
+ s.scoreRow ? (c(), u("td", Ee, o(l.score), 1)) : m("", !0),
293
+ s.pingRow ? (c(), u("td", Me, o(l.ping), 1)) : m("", !0),
294
+ s.ipRow ? (c(), u("td", Re, o(l.ip), 1)) : m("", !0),
295
+ t("td", Se, [
299
296
  h(f, {
300
297
  color: "black",
301
298
  size: "small",
302
299
  class: "mb-2",
303
- onClick: (G) => s.openDialog("kick", g)
300
+ onClick: (N) => s.openDialog("kick", g)
304
301
  }, {
305
302
  default: p(() => [
306
303
  r[6] || (r[6] = t("i", { class: "gicon gicon-kick mr-1" }, null, -1)),
307
- t("span", Ne, o(e.trans("rcon.kick")), 1)
304
+ t("span", Ie, o(e.trans("rcon.kick")), 1)
308
305
  ]),
309
306
  _: 1
310
307
  }, 8, ["onClick"]),
@@ -312,14 +309,14 @@ function We(e, r, n, a, i, s) {
312
309
  color: "black",
313
310
  size: "small",
314
311
  class: "mb-2",
315
- onClick: (G) => s.openDialog("ban", g)
312
+ onClick: (N) => s.openDialog("ban", g)
316
313
  }, {
317
314
  default: p(() => [
318
315
  h(d, {
319
316
  name: "ban",
320
317
  class: "mr-1"
321
318
  }),
322
- t("span", Fe, o(e.trans("rcon.ban")), 1)
319
+ t("span", Ce, o(e.trans("rcon.ban")), 1)
323
320
  ]),
324
321
  _: 1
325
322
  }, 8, ["onClick"])
@@ -329,15 +326,11 @@ function We(e, r, n, a, i, s) {
329
326
  ]),
330
327
  _: 1
331
328
  }),
332
- h(y, {
329
+ h(k, {
333
330
  show: e.modalEnabled,
334
331
  "onUpdate:show": r[5] || (r[5] = (l) => e.modalEnabled = l),
335
- class: "custom-card",
336
- preset: "card",
337
332
  title: s.dialogTitle,
338
- bordered: !1,
339
- style: { width: "600px" },
340
- segmented: e.segmented
333
+ style: { width: "600px" }
341
334
  }, {
342
335
  footer: p(() => [
343
336
  t("button", {
@@ -354,71 +347,71 @@ function We(e, r, n, a, i, s) {
354
347
  default: p(() => [
355
348
  t("div", null, [
356
349
  t("form", null, [
357
- e.dialogAction === "ban" || e.dialogAction === "kick" ? (m(), u("div", Ge, [
358
- t("label", Oe, o(e.trans("rcon.reason")), 1),
359
- k(t("input", {
350
+ e.dialogAction === "ban" || e.dialogAction === "kick" ? (c(), u("div", Ge, [
351
+ t("label", Fe, o(e.trans("rcon.reason")), 1),
352
+ _(t("input", {
360
353
  "onUpdate:modelValue": r[0] || (r[0] = (l) => e.form.reason = l),
361
354
  id: "input-reason",
362
355
  type: "text",
363
356
  class: "block appearance-none w-full py-1 px-2 mb-1 leading-normal bg-white text-stone-800 border border-stone-200 rounded"
364
357
  }, null, 512), [
365
358
  [
366
- _,
359
+ w,
367
360
  e.form.reason,
368
361
  void 0,
369
362
  { number: !0 }
370
363
  ]
371
364
  ]),
372
- e.errors.reason ? (m(), u("span", De, [
373
- t("strong", Le, o(e.errors.reason), 1)
374
- ])) : c("", !0)
375
- ])) : c("", !0),
376
- e.dialogAction === "ban" ? (m(), u("div", Be, [
365
+ e.errors.reason ? (c(), u("span", Ne, [
366
+ t("strong", Oe, o(e.errors.reason), 1)
367
+ ])) : m("", !0)
368
+ ])) : m("", !0),
369
+ e.dialogAction === "ban" ? (c(), u("div", De, [
377
370
  t("label", Te, o(e.trans("rcon.time")), 1),
378
- k(t("input", {
371
+ _(t("input", {
379
372
  "onUpdate:modelValue": r[1] || (r[1] = (l) => e.form.time = l),
380
373
  id: "input-time",
381
374
  type: "number",
382
375
  class: "block appearance-none w-full py-1 px-2 mb-1 leading-normal bg-white text-stone-800 border border-stone-200 rounded"
383
376
  }, null, 512), [
384
377
  [
385
- _,
378
+ w,
386
379
  e.form.time,
387
380
  void 0,
388
381
  { number: !0 }
389
382
  ]
390
383
  ]),
391
- e.errors.time ? (m(), u("span", Ue, [
392
- t("strong", ze, o(e.errors.time), 1)
393
- ])) : c("", !0)
394
- ])) : c("", !0),
395
- e.dialogAction === "message" ? (m(), u("div", He, [
396
- t("label", Ke, o(e.trans("rcon.message")), 1),
397
- k(t("input", {
384
+ e.errors.time ? (c(), u("span", Le, [
385
+ t("strong", Be, o(e.errors.time), 1)
386
+ ])) : m("", !0)
387
+ ])) : m("", !0),
388
+ e.dialogAction === "message" ? (c(), u("div", Ue, [
389
+ t("label", ze, o(e.trans("rcon.message")), 1),
390
+ _(t("input", {
398
391
  "onUpdate:modelValue": r[2] || (r[2] = (l) => e.form.message = l),
399
392
  id: "input-mesage",
400
393
  type: "text",
401
394
  class: "block appearance-none w-full py-1 px-2 mb-1 leading-normal bg-white text-stone-800 border border-stone-200 rounded"
402
395
  }, null, 512), [
403
396
  [
404
- _,
397
+ w,
405
398
  e.form.message,
406
399
  void 0,
407
400
  { number: !0 }
408
401
  ]
409
402
  ]),
410
- e.errors.message ? (m(), u("span", Ve, [
411
- t("strong", qe, o(e.errors.message), 1)
412
- ])) : c("", !0)
413
- ])) : c("", !0)
403
+ e.errors.message ? (c(), u("span", He, [
404
+ t("strong", Ke, o(e.errors.message), 1)
405
+ ])) : m("", !0)
406
+ ])) : m("", !0)
414
407
  ])
415
408
  ])
416
409
  ]),
417
410
  _: 1
418
- }, 8, ["show", "title", "segmented"])
411
+ }, 8, ["show", "title"])
419
412
  ]);
420
413
  }
421
- const xe = /* @__PURE__ */ Q(Pe, [["render", We]]);
414
+ const We = /* @__PURE__ */ J(_e, [["render", Ve]]);
422
415
  export {
423
- xe as default
416
+ We as default
424
417
  };
@@ -1,5 +1,5 @@
1
1
  import { ref as l, onMounted as N, onUnmounted as T, createElementBlock as n, openBlock as t, createElementVNode as o, createCommentVNode as k, createVNode as I, toDisplayString as v, createBlock as A, withDirectives as B, unref as _, withKeys as V, vModelText as R, createTextVNode as S } from "vue";
2
- import { a as $, b as x, r as D, e as H } from "./index-9fvX7FD-.js";
2
+ import { a as $, b as x, r as D, e as H } from "./index-CiR3a1Cv.js";
3
3
  import { NDivider as E } from "naive-ui";
4
4
  const K = { class: "w-full" }, M = { class: "coding inverse-toggle px-5 pt-4 shadow-lg text-stone-100 text-sm font-mono subpixel-antialiased bg-stone-800 dark:bg-stone-900 pb-6 pt-4 rounded-lg leading-normal overflow-hidden" }, U = {
5
5
  key: 0,
@@ -1,6 +1,6 @@
1
1
  import { NModal as j, NProgress as F } from "naive-ui";
2
- import { ref as _, createElementBlock as J, openBlock as Q, Fragment as X, createVNode as g, withCtx as b, createElementVNode as S, toDisplayString as P, normalizeClass as Y, unref as Z, h as x } from "vue";
3
- import { k as ee, t, _ as se, a as te, d as ae, b as T, w as p } from "./index-9fvX7FD-.js";
2
+ import { ref as _, createElementBlock as J, openBlock as Q, Fragment as X, createVNode as g, withCtx as b, createElementVNode as S, toDisplayString as x, normalizeClass as Y, unref as Z, h as P } from "vue";
3
+ import { k as ee, t, _ as se, a as te, d as ae, b as T, x as p } from "./index-CiR3a1Cv.js";
4
4
  const ne = { class: "progress-info" }, re = { class: "hidden lg:inline" }, oe = 2e3, y = 2e3, ie = 2e4, k = 0, le = 10, ce = 40, ue = 80, O = 100, G = 10, U = 2e3, ge = {
5
5
  __name: "ServerControlButton",
6
6
  props: [
@@ -91,8 +91,8 @@ const ne = { class: "progress-info" }, re = { class: "hidden lg:inline" }, oe =
91
91
  (e === void 0 || e === "") && (e = t("gdaemon_tasks.common_error_msg")), u = !0;
92
92
  let s = "";
93
93
  C && (s = () => [
94
- x("div", [
95
- x(
94
+ P("div", [
95
+ P(
96
96
  "a",
97
97
  { href: "/admin/gdaemon_tasks/" + n.id },
98
98
  t("servers.task_see_log")
@@ -149,7 +149,7 @@ const ne = { class: "progress-info" }, re = { class: "hidden lg:inline" }, oe =
149
149
  "on-update:show": $
150
150
  }, {
151
151
  default: b(() => [
152
- S("div", ne, P(o.value), 1),
152
+ S("div", ne, x(o.value), 1),
153
153
  g(r, {
154
154
  type: "line",
155
155
  height: 24,
@@ -173,7 +173,7 @@ const ne = { class: "progress-info" }, re = { class: "hidden lg:inline" }, oe =
173
173
  }, {
174
174
  default: b(() => [
175
175
  g(Z(te), { name: i.icon }, null, 8, ["name"]),
176
- S("span", re, " " + P(i.text), 1)
176
+ S("span", re, " " + x(i.text), 1)
177
177
  ]),
178
178
  _: 1
179
179
  }, 8, ["class", "color", "size"])