@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.
Files changed (77) hide show
  1. package/dist/{AdminClientCertificatesView-BQyXmri1.js → AdminClientCertificatesView-rVNAX5Dl.js} +97 -94
  2. package/dist/AdminDaemonTaskListView-CoUVp9tK.js +316 -0
  3. package/dist/{AdminDaemonTaskOutputView-DRrZwAwW.js → AdminDaemonTaskOutputView-BJpuWCtc.js} +18 -17
  4. package/dist/{AdminGamesEdit-CDTCJu52.js → AdminGamesEdit-HKWU2C59.js} +121 -117
  5. package/dist/AdminGamesList-BwN_RFDY.js +518 -0
  6. package/dist/{AdminModEdit-P0crpkM3.js → AdminModEdit-CbVGlk5M.js} +123 -119
  7. package/dist/AdminNodeShowView-C7VsvwQo.js +175 -0
  8. package/dist/AdminNodesCreateView-BfEHhFn2.js +87 -0
  9. package/dist/{AdminNodesEditView-DdNciuMa.js → AdminNodesEditView-DE-zhVTd.js} +11 -11
  10. package/dist/AdminNodesView-QMdy3oJ1.js +167 -0
  11. package/dist/AdminPluginsView-BBALhxPk.js +984 -0
  12. package/dist/{AdminServersCreate-zGHHAEkO.js → AdminServersCreate-g_A290kz.js} +122 -124
  13. package/dist/{AdminServersEdit-BR6sRGlM.js → AdminServersEdit-D0RERbR5.js} +125 -124
  14. package/dist/{AdminServersList-DhUQ1zrt.js → AdminServersList-_ek_2u8B.js} +35 -31
  15. package/dist/{AdminUsersEditView-CqRLzCkV.js → AdminUsersEditView-CbZCH6eM.js} +89 -85
  16. package/dist/{AdminUsersView-TCHghzxY.js → AdminUsersView-D4WoRB5b.js} +145 -141
  17. package/dist/CreateModForm-CpbIOQNu.js +123 -0
  18. package/dist/CreateNodeModal-C96UVcAJ.js +99 -0
  19. package/dist/{DsIpSelector-EnBHsJLE.js → DsIpSelector-D_hc_JYQ.js} +1 -1
  20. package/dist/EmptyView-qkQQJ_OR.js +9 -0
  21. package/dist/FileManager-v-1ASSne.js +5931 -0
  22. package/dist/GameIcon-DaYNlnur.js +87 -0
  23. package/dist/{GameModSelector-bZsSGC6T.js → GameModSelector-CiI3H5Zq.js} +21 -20
  24. package/dist/InputManyList-C52f5V6l.js +110 -0
  25. package/dist/InputTextList-5KeNATa7.js +63 -0
  26. package/dist/PluginPendingView-CDR44QCG.js +34 -0
  27. package/dist/ProfileView-CC3KJ2gK.js +295 -0
  28. package/dist/RconConsole-DkRK7vz3.js +74 -0
  29. package/dist/{RconPlayers-CXL0bHlU.js → RconPlayers-CDRCp79f.js} +131 -127
  30. package/dist/ServerConsole-Bj0Zr1BS.js +99 -0
  31. package/dist/ServerControlButton-C4zWzA-d.js +185 -0
  32. package/dist/ServerIdView-BJS6wcMH.js +608 -0
  33. package/dist/{ServerSelector-D7O1thVu.js → ServerSelector-DPM5SjWO.js} +7 -7
  34. package/dist/{ServerSettings-Lk4lq5hI.js → ServerSettings-BYRSLaJk.js} +26 -26
  35. package/dist/{ServerStatus-CCFiPWXV.js → ServerStatus-BK8yKehx.js} +1 -1
  36. package/dist/{ServerTasks-gNFBkyv1.js → ServerTasks-DUC2DDcY.js} +304 -302
  37. package/dist/ServersView-BbLoOEEz.js +312 -0
  38. package/dist/SettingsParameters-C-TFWsJF.js +89 -0
  39. package/dist/SmartPortSelector-DCsuCDpV.js +174 -0
  40. package/dist/TokensView-B5D45QbV.js +392 -0
  41. package/dist/{UpdateNodeForm-BQDjp3CR.js → UpdateNodeForm-DmAoHURu.js} +131 -127
  42. package/dist/UserServerPrivileges-k-30v4ps.js +319 -0
  43. package/dist/{_createCompounder-NPjOAZm-.js → _createCompounder-DHQYnhTQ.js} +2 -2
  44. package/dist/{camelCase-BXg45SFI.js → camelCase-CE1GGhvX.js} +2 -2
  45. package/dist/{capitalize-BSQeiLff.js → capitalize-DnZmwhT4.js} +5 -5
  46. package/dist/{clientCertificates-Dm0Bh62v.js → clientCertificates-Dd9OqxGQ.js} +1 -1
  47. package/dist/frontend.css +6 -14
  48. package/dist/{gameList-CJAymSBL.js → gameList-BLdEusRA.js} +40 -40
  49. package/dist/gameap.svg +3 -0
  50. package/dist/gameap_full.svg +9 -0
  51. package/dist/index-BDKiNPpP.js +3840 -0
  52. package/dist/index.js +1 -1
  53. package/dist/isEmpty-lBntcFaB.js +263 -0
  54. package/dist/join-CmlzL0H9.js +7 -0
  55. package/dist/{loader-BGOXrNPF.js → loader-C49Def-j.js} +1 -1
  56. package/dist/{snakeCase-o1mQEFQr.js → snakeCase--wUVfLw4.js} +1 -1
  57. package/dist/validators-BVXTUmow.js +65 -0
  58. package/package.json +1 -1
  59. package/dist/AdminDaemonTaskListView-DTQbTpkt.js +0 -315
  60. package/dist/AdminGamesList-CU_RB7gu.js +0 -499
  61. package/dist/AdminNodeShowView-Col-7fyA.js +0 -166
  62. package/dist/AdminNodesCreateView-CZsMnSCJ.js +0 -84
  63. package/dist/AdminNodesView-DvuZ9haB.js +0 -160
  64. package/dist/CreateModForm-Byq8UvuW.js +0 -122
  65. package/dist/CreateNodeModal-BNV35RnR.js +0 -93
  66. package/dist/FileManager-X3FkHNzF.js +0 -31882
  67. package/dist/InputManyList-BFGIEnls.js +0 -110
  68. package/dist/InputTextList-D280D5fs.js +0 -63
  69. package/dist/PluginPendingView-Cp6KgA8z.js +0 -31
  70. package/dist/RconConsole-BxjHKC6E.js +0 -74
  71. package/dist/ServerConsole-Cr-BZJIC.js +0 -98
  72. package/dist/ServerIdView-wsnPfVUi.js +0 -576
  73. package/dist/SettingsParameters-BVpVg868.js +0 -87
  74. package/dist/SmartPortSelector-bubAEnvR.js +0 -161
  75. package/dist/UserServerPrivileges-CizE2EYl.js +0 -318
  76. package/dist/_commonjsHelpers-C6fGbg64.js +0 -6
  77. package/dist/index-Fmomw6wi.js +0 -5750
@@ -1,13 +1,11 @@
1
- import { ref as x, computed as h, onMounted as T, watch as k, resolveComponent as c, createElementBlock as z, openBlock as A, Fragment as D, createVNode as a, unref as s, withCtx as u, createElementVNode as i, toDisplayString as H } from "vue";
2
- import { q as V, i as W, t as l, e as q, s as d, k as J, _ as K, n as C } from "./index-Fmomw6wi.js";
3
- import { u as Q } from "./gameList-CJAymSBL.js";
4
- import { storeToRefs as I } from "pinia";
5
- import { NForm as X, NFormItem as p, NInputGroup as Y, NSwitch as Z } from "naive-ui";
6
- import { useRouter as ee } from "vue-router";
7
- import te from "./GameModSelector-bZsSGC6T.js";
8
- import re from "./SmartPortSelector-bubAEnvR.js";
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 oe(P = "Server") {
23
- const g = M[Math.floor(Math.random() * M.length)], f = Math.floor(Math.random() * 90) + 10;
24
- return `${P} ${g}-${f}`;
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 le = { class: "flex flex-wrap mt-2" }, se = { class: "md:w-1/2 pr-8" }, ne = ["innerHTML"], ue = { class: "md:w-1/2" }, de = { class: "hidden lg:inline" }, ye = {
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(P) {
29
- const g = ee(), f = Q(), w = V(), L = W(), { games: U } = I(f), { nodes: $ } = I(w), S = x({}), e = x({
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
- }), G = h(() => [
33
+ }), R = y(() => [
36
34
  { route: "/", text: "GameAP", icon: "gicon gicon-gameap" },
37
- { route: { name: "admin.servers.index" }, text: l("servers.game_servers") },
38
- { route: { name: "admin.servers.create" }, text: l("servers.create") }
35
+ { route: { name: "admin.servers.index" }, text: n("servers.game_servers") },
36
+ { route: { name: "admin.servers.create" }, text: n("servers.create") }
39
37
  ]);
40
- T(() => {
41
- O(), F();
38
+ H(() => {
39
+ $(), j();
42
40
  });
43
- const b = h(() => {
41
+ const h = y(() => {
44
42
  let o = {};
45
- for (const [t, n] of Object.entries(U.value))
46
- o[n.code] = n.name;
43
+ for (const [t, s] of Object.entries(O.value))
44
+ o[s.code] = s.name;
47
45
  return o;
48
- }), N = h(() => {
46
+ }), x = y(() => {
49
47
  let o = {};
50
- for (const [t, n] of Object.entries($.value))
51
- o[n.id] = n.name;
48
+ for (const [t, s] of Object.entries(F.value))
49
+ o[s.id] = s.name;
52
50
  return o;
53
- }), O = async () => {
51
+ }), $ = async () => {
54
52
  try {
55
53
  await f.fetchGames();
56
54
  } catch {
57
- q(error);
55
+ S(error);
58
56
  }
59
- }, F = () => {
57
+ }, j = () => {
60
58
  w.fetchNodesByFilter([]).catch((o) => {
61
- q(o);
59
+ S(o);
62
60
  });
63
61
  };
64
- k(N, (o) => {
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 }), k(() => e.value.name, (o) => {
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((m) => m.length >= 3);
68
+ const t = o.toLowerCase().split(/\s+/).filter((c) => c.length >= 3);
71
69
  if (t.length === 0)
72
70
  return;
73
- const n = /* @__PURE__ */ new Set();
74
- for (const [m, y] of Object.entries(b.value)) {
75
- const _ = m.toLowerCase(), v = y.toLowerCase();
76
- for (const r of t)
77
- if (_.includes(r) || r.includes(_) || v.includes(r) || r.includes(v)) {
78
- n.add(m);
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
- n.size === 1 && (e.value.game = [...n][0]);
80
+ s.size === 1 && (e.value.game = [...s][0]);
83
81
  });
84
- const R = () => {
85
- const o = b.value[e.value.game] || "Server";
86
- e.value.name = oe(o);
87
- }, j = {
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: d(l("labels.name"))
88
+ validator: i(n("labels.name"))
91
89
  },
92
90
  game: {
93
91
  required: !0,
94
- validator: d(l("labels.game_id"))
92
+ validator: i(n("labels.game_id"))
95
93
  },
96
94
  gameMod: {
97
95
  required: !0,
98
- validator: d(l("labels.game_mod_id"))
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: d(l("labels.ds_id"))
103
+ validator: i(n("labels.ds_id"))
106
104
  },
107
105
  ip: {
108
106
  required: !0,
109
- validator: d(l("labels.ip"))
107
+ validator: i(n("labels.ip"))
110
108
  },
111
109
  serverPort: {
112
110
  required: !0,
113
- validator: d(l("labels.server_port"))
111
+ validator: i(n("labels.server_port"))
114
112
  },
115
113
  queryPort: {
116
114
  required: !0,
117
- validator: d(l("labels.query_port"))
115
+ validator: i(n("labels.query_port"))
118
116
  },
119
117
  rconPort: {
120
118
  required: !0,
121
- validator: d(l("labels.rcon_port"))
119
+ validator: i(n("labels.rcon_port"))
122
120
  }
123
- }, B = () => {
124
- S.value?.validate((o, { warnings: t }) => {
125
- o ? (console.log(o), C({
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
- })) : E();
126
+ })) : T();
129
127
  });
130
- }, E = () => {
131
- L.create({
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
- C({
146
- content: l("servers.create_success_msg"),
143
+ k({
144
+ content: n("servers.create_success_msg"),
147
145
  type: "success"
148
146
  }, () => {
149
- g.push({ name: "admin.servers.index" });
147
+ b.push({ name: "admin.servers.index" });
150
148
  });
151
149
  }).catch((o) => {
152
- q(o);
150
+ S(o);
153
151
  });
154
152
  };
155
153
  return (o, t) => {
156
- const n = c("n-input"), m = c("n-button"), y = c("n-collapse-item"), _ = c("n-collapse"), v = c("n-card");
157
- return A(), z(D, null, [
158
- a(s(J), { items: G.value }, null, 8, ["items"]),
159
- a(s(X), {
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: S,
161
+ ref: N,
164
162
  model: e.value,
165
- rules: j
163
+ rules: B
166
164
  }, {
167
165
  default: u(() => [
168
- i("div", le, [
169
- i("div", se, [
170
- a(v, {
171
- title: s(l)("servers.basic_info"),
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
- a(s(p), {
182
- label: s(l)("labels.name"),
179
+ r(l(p), {
180
+ label: l(n)("labels.name"),
183
181
  path: "name"
184
182
  }, {
185
183
  default: u(() => [
186
- a(s(Y), null, {
184
+ r(l(re), null, {
187
185
  default: u(() => [
188
- a(n, {
186
+ r(s, {
189
187
  value: e.value.name,
190
- "onUpdate:value": t[0] || (t[0] = (r) => e.value.name = r),
188
+ "onUpdate:value": t[0] || (t[0] = (a) => e.value.name = a),
191
189
  type: "text"
192
190
  }, null, 8, ["value"]),
193
- a(m, { onClick: R }, {
194
- default: u(() => [...t[12] || (t[12] = [
195
- i("i", { class: "fa-solid fa-dice" }, null, -1)
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
- a(te, {
206
- games: b.value,
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] = (r) => e.value.game = r),
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] = (r) => e.value.gameMod = r)
210
+ "onUpdate:gameMod": t[2] || (t[2] = (a) => e.value.gameMod = a)
213
211
  }, null, 8, ["games", "game", "game-mod"]),
214
- a(s(p), {
215
- label: s(l)("servers.install"),
212
+ r(l(p), {
213
+ label: l(n)("servers.install"),
216
214
  path: "install"
217
215
  }, {
218
216
  default: u(() => [
219
- a(s(Z), {
217
+ r(l(ae), {
220
218
  value: e.value.install,
221
- "onUpdate:value": t[3] || (t[3] = (r) => e.value.install = r)
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
- a(_, null, {
224
+ r(g, null, {
227
225
  default: u(() => [
228
- a(y, {
229
- title: s(l)("main.more")
226
+ r(_, {
227
+ title: l(n)("main.more")
230
228
  }, {
231
229
  default: u(() => [
232
- a(s(p), {
233
- label: s(l)("labels.rcon"),
230
+ r(l(p), {
231
+ label: l(n)("labels.rcon"),
234
232
  path: "rcon"
235
233
  }, {
236
234
  default: u(() => [
237
- a(n, {
235
+ r(s, {
238
236
  value: e.value.rcon,
239
- "onUpdate:value": t[4] || (t[4] = (r) => e.value.rcon = r),
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
- a(s(p), {
247
- label: s(l)("labels.dir"),
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
- i("small", {
253
- innerHTML: s(l)("servers.d_dir")
254
- }, null, 8, ne)
250
+ v("small", {
251
+ innerHTML: l(n)("servers.d_dir")
252
+ }, null, 8, ue)
255
253
  ]),
256
254
  default: u(() => [
257
- a(n, {
255
+ r(s, {
258
256
  value: e.value.dir,
259
- "onUpdate:value": t[5] || (t[5] = (r) => e.value.dir = r),
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
- a(s(p), {
266
- label: s(l)("labels.su_user"),
263
+ r(l(p), {
264
+ label: l(n)("labels.su_user"),
267
265
  path: "user"
268
266
  }, {
269
267
  default: u(() => [
270
- a(n, {
268
+ r(s, {
271
269
  value: e.value.user,
272
- "onUpdate:value": t[6] || (t[6] = (r) => e.value.user = r),
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
- i("div", ue, [
289
- a(v, {
290
- title: s(l)("servers.ds_ip_ports"),
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
- a(ae, {
301
- "ds-list": N.value,
298
+ r(z, {
299
+ "ds-list": x.value,
302
300
  "node-id": e.value.nodeId,
303
- "onUpdate:nodeId": t[7] || (t[7] = (r) => e.value.nodeId = r),
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] = (r) => e.value.ip = r),
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
- a(re, {
307
+ r(A, {
310
308
  "server-port": e.value.serverPort,
311
- "onUpdate:serverPort": t[9] || (t[9] = (r) => e.value.serverPort = r),
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] = (r) => e.value.rconPort = r),
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] = (r) => e.value.queryPort = r),
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
- a(K, {
322
+ r(Z, {
325
323
  color: "green",
326
- onClick: B
324
+ onClick: E
327
325
  }, {
328
326
  default: u(() => [
329
- t[13] || (t[13] = i("i", { class: "fa-regular fa-square-plus" }, null, -1)),
330
- i("span", de, " " + H(s(l)("main.create")), 1)
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
- ye as default
341
+ be as default
344
342
  };