@gameap/frontend 4.1.0-dev3 → 4.1.0-dev5

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 (45) hide show
  1. package/dist/{AdminClientCertificatesView-DQTMJ6LY.js → AdminClientCertificatesView-BQyXmri1.js} +33 -34
  2. package/dist/{AdminDaemonTaskListView-Bx3e0Miy.js → AdminDaemonTaskListView-DTQbTpkt.js} +49 -50
  3. package/dist/{AdminDaemonTaskOutputView-BJtLdoAq.js → AdminDaemonTaskOutputView-DRrZwAwW.js} +32 -33
  4. package/dist/{AdminGamesEdit-hDe3Pr-7.js → AdminGamesEdit-CDTCJu52.js} +43 -44
  5. package/dist/{AdminGamesList-CM1xADCW.js → AdminGamesList-CU_RB7gu.js} +55 -56
  6. package/dist/{AdminModEdit-DDKd6Vga.js → AdminModEdit-P0crpkM3.js} +106 -107
  7. package/dist/{AdminNodeShowView-DMoEY2Cu.js → AdminNodeShowView-Col-7fyA.js} +34 -35
  8. package/dist/{AdminNodesCreateView-BXZDQIJ1.js → AdminNodesCreateView-CZsMnSCJ.js} +26 -27
  9. package/dist/{AdminNodesEditView-xO7-szjJ.js → AdminNodesEditView-DdNciuMa.js} +23 -24
  10. package/dist/{AdminNodesView-ugTPiC4h.js → AdminNodesView-DvuZ9haB.js} +16 -17
  11. package/dist/{AdminServersCreate-DOygFz_E.js → AdminServersCreate-zGHHAEkO.js} +56 -57
  12. package/dist/{AdminServersEdit-cZX6UGB1.js → AdminServersEdit-BR6sRGlM.js} +31 -32
  13. package/dist/{AdminServersList-CC50WRsv.js → AdminServersList-DhUQ1zrt.js} +21 -22
  14. package/dist/{AdminUsersEditView-CXpMKFfI.js → AdminUsersEditView-CqRLzCkV.js} +44 -45
  15. package/dist/{AdminUsersView-DGuGEHVR.js → AdminUsersView-TCHghzxY.js} +37 -38
  16. package/dist/{CreateModForm-CqhcrNFp.js → CreateModForm-Byq8UvuW.js} +23 -23
  17. package/dist/{CreateNodeModal-BvbJTKhD.js → CreateNodeModal-BNV35RnR.js} +1 -1
  18. package/dist/{DsIpSelector-DN9IyT4L.js → DsIpSelector-EnBHsJLE.js} +1 -1
  19. package/dist/{FileManager-8TWHezyM.js → FileManager-X3FkHNzF.js} +1 -1
  20. package/dist/{GameModSelector-DRIaCbGY.js → GameModSelector-bZsSGC6T.js} +4 -4
  21. package/dist/{InputManyList-By5xECIK.js → InputManyList-BFGIEnls.js} +1 -1
  22. package/dist/{InputTextList-Bm2Ofq5J.js → InputTextList-D280D5fs.js} +1 -1
  23. package/dist/{PluginPendingView-DHd_yijv.js → PluginPendingView-Cp6KgA8z.js} +1 -1
  24. package/dist/{RconConsole-DH9XeOu3.js → RconConsole-BxjHKC6E.js} +24 -25
  25. package/dist/{RconPlayers-GrvCMJX3.js → RconPlayers-CXL0bHlU.js} +32 -32
  26. package/dist/{ServerConsole-BHHnpxJy.js → ServerConsole-Cr-BZJIC.js} +1 -1
  27. package/dist/{ServerIdView-BfqrYuar.js → ServerIdView-wsnPfVUi.js} +141 -142
  28. package/dist/{ServerSelector-QMK1qiXa.js → ServerSelector-D7O1thVu.js} +1 -1
  29. package/dist/{ServerSettings-Cz6C8Dlh.js → ServerSettings-Lk4lq5hI.js} +1 -1
  30. package/dist/{ServerStatus-DBJW9C6H.js → ServerStatus-CCFiPWXV.js} +1 -1
  31. package/dist/{ServerTasks-Bs3iGYY3.js → ServerTasks-gNFBkyv1.js} +1 -1
  32. package/dist/{SettingsParameters-DCqhqxHk.js → SettingsParameters-BVpVg868.js} +1 -1
  33. package/dist/{SmartPortSelector-DektJC6p.js → SmartPortSelector-bubAEnvR.js} +8 -8
  34. package/dist/{UpdateNodeForm-CwirLUIK.js → UpdateNodeForm-BQDjp3CR.js} +1 -1
  35. package/dist/{UserServerPrivileges-utyKdh7O.js → UserServerPrivileges-CizE2EYl.js} +1 -1
  36. package/dist/{_createCompounder-DSupx5mD.js → _createCompounder-NPjOAZm-.js} +2 -2
  37. package/dist/{camelCase-WcUYdRB3.js → camelCase-BXg45SFI.js} +2 -2
  38. package/dist/{capitalize-DRKkBaYR.js → capitalize-BSQeiLff.js} +10 -10
  39. package/dist/{clientCertificates-BsJdUHYw.js → clientCertificates-Dm0Bh62v.js} +1 -1
  40. package/dist/{gameList-DpGDCxFE.js → gameList-CJAymSBL.js} +1 -1
  41. package/dist/{index-60qEjGuU.js → index-Fmomw6wi.js} +2333 -1954
  42. package/dist/index.js +1 -1
  43. package/dist/{loader-CrZTMKcy.js → loader-BGOXrNPF.js} +1 -1
  44. package/dist/{snakeCase-CTCA7tap.js → snakeCase-o1mQEFQr.js} +1 -1
  45. package/package.json +6 -4
@@ -1,6 +1,5 @@
1
- import { mergeModels as S, ref as q, useModel as z, resolveComponent as A, createElementBlock as B, openBlock as c, normalizeClass as f, createVNode as s, unref as e, withCtx as i, createElementVNode as n, createBlock as V, createCommentVNode as y, toDisplayString as E, computed as R, onMounted as F, Fragment as I } from "vue";
2
- import { Loading as _, GBreadcrumbs as P } from "@gameap/ui";
3
- import { d as M, y as $, t as a, B as G, v as L, z as D, A as O, o as x, _ as T, e as k, n as W } from "./index-60qEjGuU.js";
1
+ import { mergeModels as S, ref as q, useModel as F, resolveComponent as R, createElementBlock as E, openBlock as c, normalizeClass as f, createVNode as s, unref as e, withCtx as i, createElementVNode as d, createBlock as V, createCommentVNode as _, toDisplayString as $, computed as z, onMounted as A, Fragment as B } from "vue";
2
+ import { d as M, C as I, t as a, F as P, y as D, D as G, E as L, s as y, l as k, _ as O, e as x, k as T, n as W } from "./index-Fmomw6wi.js";
4
3
  import { NForm as j, NCard as C, NFormItem as p, NInput as v, NSelect as H } from "naive-ui";
5
4
  import { useRoute as J, useRouter as K } from "vue-router";
6
5
  import { storeToRefs as Q } from "pinia";
@@ -17,24 +16,24 @@ const X = { class: "flex-wrap mt-2 md:grid md:grid-cols-2 gap-8" }, Y = { class:
17
16
  }),
18
17
  emits: /* @__PURE__ */ S(["update"], ["update:modelValue"]),
19
18
  setup(u, { emit: g }) {
20
- const b = M(), r = q({}), t = z(u, "modelValue"), w = {
19
+ const b = M(), r = q({}), t = F(u, "modelValue"), w = {
21
20
  login: {
22
21
  required: !0,
23
- validator: x(a("labels.login"))
22
+ validator: y(a("labels.login"))
24
23
  },
25
24
  email: {
26
25
  required: !0,
27
- validator: x(a("labels.email"))
26
+ validator: y(a("labels.email"))
28
27
  },
29
28
  name: {
30
29
  required: !0,
31
- validator: x(a("labels.name"))
30
+ validator: y(a("labels.name"))
32
31
  },
33
32
  password: {
34
- validator: G(
35
- L(
36
- O(a("labels.password"), 8),
37
- D(
33
+ validator: P(
34
+ D(
35
+ L(a("labels.password"), 8),
36
+ G(
38
37
  a("labels.password"),
39
38
  a("labels.password_confirmation"),
40
39
  () => t.value.passwordConfirmation
@@ -44,7 +43,7 @@ const X = { class: "flex-wrap mt-2 md:grid md:grid-cols-2 gap-8" }, Y = { class:
44
43
  },
45
44
  roles: {
46
45
  required: !0,
47
- validator: $(a("labels.roles"))
46
+ validator: I(a("labels.roles"))
48
47
  }
49
48
  }, N = [
50
49
  {
@@ -61,8 +60,8 @@ const X = { class: "flex-wrap mt-2 md:grid md:grid-cols-2 gap-8" }, Y = { class:
61
60
  });
62
61
  };
63
62
  return (m, l) => {
64
- const U = A("UserServerPrivileges");
65
- return c(), B("div", {
63
+ const U = R("UserServerPrivileges");
64
+ return c(), E("div", {
66
65
  class: f(m.$attrs.class)
67
66
  }, [
68
67
  s(e(j), {
@@ -74,8 +73,8 @@ const X = { class: "flex-wrap mt-2 md:grid md:grid-cols-2 gap-8" }, Y = { class:
74
73
  rules: w
75
74
  }, {
76
75
  default: i(() => [
77
- n("div", X, [
78
- n("div", null, [
76
+ d("div", X, [
77
+ d("div", null, [
79
78
  s(e(C), {
80
79
  title: e(a)("users.user"),
81
80
  size: "small",
@@ -87,8 +86,8 @@ const X = { class: "flex-wrap mt-2 md:grid md:grid-cols-2 gap-8" }, Y = { class:
87
86
  }
88
87
  }, {
89
88
  default: i(() => [
90
- u.loading ? (c(), V(e(_), { key: 0 })) : y("", !0),
91
- n("div", {
89
+ u.loading ? (c(), V(e(k), { key: 0 })) : _("", !0),
90
+ d("div", {
92
91
  class: f(u.loading ? "hidden" : "")
93
92
  }, [
94
93
  s(e(p), {
@@ -99,7 +98,7 @@ const X = { class: "flex-wrap mt-2 md:grid md:grid-cols-2 gap-8" }, Y = { class:
99
98
  s(e(v), {
100
99
  disabled: "",
101
100
  value: t.value.login,
102
- "onUpdate:value": l[0] || (l[0] = (d) => t.value.login = d),
101
+ "onUpdate:value": l[0] || (l[0] = (n) => t.value.login = n),
103
102
  type: "text"
104
103
  }, null, 8, ["value"])
105
104
  ]),
@@ -112,7 +111,7 @@ const X = { class: "flex-wrap mt-2 md:grid md:grid-cols-2 gap-8" }, Y = { class:
112
111
  default: i(() => [
113
112
  s(e(v), {
114
113
  value: t.value.email,
115
- "onUpdate:value": l[1] || (l[1] = (d) => t.value.email = d),
114
+ "onUpdate:value": l[1] || (l[1] = (n) => t.value.email = n),
116
115
  type: "text"
117
116
  }, null, 8, ["value"])
118
117
  ]),
@@ -125,7 +124,7 @@ const X = { class: "flex-wrap mt-2 md:grid md:grid-cols-2 gap-8" }, Y = { class:
125
124
  default: i(() => [
126
125
  s(e(v), {
127
126
  value: t.value.name,
128
- "onUpdate:value": l[2] || (l[2] = (d) => t.value.name = d),
127
+ "onUpdate:value": l[2] || (l[2] = (n) => t.value.name = n),
129
128
  type: "text"
130
129
  }, null, 8, ["value"])
131
130
  ]),
@@ -138,7 +137,7 @@ const X = { class: "flex-wrap mt-2 md:grid md:grid-cols-2 gap-8" }, Y = { class:
138
137
  default: i(() => [
139
138
  s(e(H), {
140
139
  value: t.value.roles,
141
- "onUpdate:value": l[3] || (l[3] = (d) => t.value.roles = d),
140
+ "onUpdate:value": l[3] || (l[3] = (n) => t.value.roles = n),
142
141
  multiple: "",
143
142
  options: N
144
143
  }, null, 8, ["value"])
@@ -150,7 +149,7 @@ const X = { class: "flex-wrap mt-2 md:grid md:grid-cols-2 gap-8" }, Y = { class:
150
149
  _: 1
151
150
  }, 8, ["title"])
152
151
  ]),
153
- n("div", null, [
152
+ d("div", null, [
154
153
  s(e(C), {
155
154
  title: e(a)("users.update_password"),
156
155
  size: "small",
@@ -162,8 +161,8 @@ const X = { class: "flex-wrap mt-2 md:grid md:grid-cols-2 gap-8" }, Y = { class:
162
161
  }
163
162
  }, {
164
163
  default: i(() => [
165
- u.loading ? (c(), V(e(_), { key: 0 })) : y("", !0),
166
- n("div", {
164
+ u.loading ? (c(), V(e(k), { key: 0 })) : _("", !0),
165
+ d("div", {
167
166
  class: f(u.loading ? "hidden" : "")
168
167
  }, [
169
168
  s(e(p), {
@@ -171,10 +170,10 @@ const X = { class: "flex-wrap mt-2 md:grid md:grid-cols-2 gap-8" }, Y = { class:
171
170
  path: "password"
172
171
  }, {
173
172
  default: i(() => [
174
- n("div", Y, [
173
+ d("div", Y, [
175
174
  s(e(v), {
176
175
  value: t.value.password,
177
- "onUpdate:value": l[4] || (l[4] = (d) => t.value.password = d),
176
+ "onUpdate:value": l[4] || (l[4] = (n) => t.value.password = n),
178
177
  type: "password",
179
178
  "show-password-on": "click",
180
179
  "input-props": { autocomplete: "one-time-code" }
@@ -182,7 +181,7 @@ const X = { class: "flex-wrap mt-2 md:grid md:grid-cols-2 gap-8" }, Y = { class:
182
181
  s(e(v), {
183
182
  class: "mt-6",
184
183
  value: t.value.passwordConfirmation,
185
- "onUpdate:value": l[5] || (l[5] = (d) => t.value.passwordConfirmation = d),
184
+ "onUpdate:value": l[5] || (l[5] = (n) => t.value.passwordConfirmation = n),
186
185
  type: "password",
187
186
  "show-password-on": "click",
188
187
  "input-props": { autocomplete: "one-time-code" },
@@ -198,8 +197,8 @@ const X = { class: "flex-wrap mt-2 md:grid md:grid-cols-2 gap-8" }, Y = { class:
198
197
  }, 8, ["title"])
199
198
  ])
200
199
  ]),
201
- n("div", Z, [
202
- n("div", ee, [
200
+ d("div", Z, [
201
+ d("div", ee, [
203
202
  s(e(C), {
204
203
  title: e(a)("users.servers"),
205
204
  size: "small",
@@ -211,14 +210,14 @@ const X = { class: "flex-wrap mt-2 md:grid md:grid-cols-2 gap-8" }, Y = { class:
211
210
  }
212
211
  }, {
213
212
  default: i(() => [
214
- u.loading ? (c(), V(e(_), { key: 0 })) : y("", !0),
215
- n("div", {
213
+ u.loading ? (c(), V(e(k), { key: 0 })) : _("", !0),
214
+ d("div", {
216
215
  class: f(u.loading ? "hidden" : "")
217
216
  }, [
218
217
  s(U, {
219
218
  "user-id": e(b).userId,
220
219
  modelValue: t.value.servers,
221
- "onUpdate:modelValue": l[6] || (l[6] = (d) => t.value.servers = d)
220
+ "onUpdate:modelValue": l[6] || (l[6] = (n) => t.value.servers = n)
222
221
  }, null, 8, ["user-id", "modelValue"])
223
222
  ], 2)
224
223
  ]),
@@ -229,37 +228,37 @@ const X = { class: "flex-wrap mt-2 md:grid md:grid-cols-2 gap-8" }, Y = { class:
229
228
  ]),
230
229
  _: 1
231
230
  }, 8, ["model"]),
232
- s(T, {
231
+ s(O, {
233
232
  color: "green",
234
233
  onClick: h,
235
234
  class: "mt-4"
236
235
  }, {
237
236
  default: i(() => [
238
- l[7] || (l[7] = n("i", { class: "fa-regular fa-floppy-disk mr-0.5" }, null, -1)),
239
- n("span", le, " " + E(e(a)("main.save")), 1)
237
+ l[7] || (l[7] = d("i", { class: "fa-regular fa-floppy-disk mr-0.5" }, null, -1)),
238
+ d("span", le, " " + $(e(a)("main.save")), 1)
240
239
  ]),
241
240
  _: 1
242
241
  })
243
242
  ], 2);
244
243
  };
245
244
  }
246
- }, ie = {
245
+ }, de = {
247
246
  __name: "AdminUsersEditView",
248
247
  setup(u) {
249
- const g = J(), b = K(), r = M(), t = R(() => [
248
+ const g = J(), b = K(), r = M(), t = z(() => [
250
249
  { route: "/", text: "GameAP", icon: "gicon gicon-gameap" },
251
250
  { route: { name: "admin.users.index" }, text: a("users.users") },
252
251
  { text: a("users.title_edit") }
253
252
  ]), { loading: w, user: N } = Q(r);
254
- F(() => {
253
+ A(() => {
255
254
  r.setUserId(g.params.id), r.fetchUser().then(() => {
256
255
  o.value.login = r.user.login, o.value.email = r.user.email, o.value.name = r.user.name, o.value.roles = r.user.roles;
257
256
  }).catch((m) => {
258
- k(m);
257
+ x(m);
259
258
  }), r.fetchServers().then(() => {
260
259
  o.value.servers = r.servers;
261
260
  }).catch((m) => {
262
- k(m);
261
+ x(m);
263
262
  });
264
263
  });
265
264
  const o = q({
@@ -286,11 +285,11 @@ const X = { class: "flex-wrap mt-2 md:grid md:grid-cols-2 gap-8" }, Y = { class:
286
285
  b.push({ name: "admin.users.index" });
287
286
  });
288
287
  }).catch((l) => {
289
- k(l);
288
+ x(l);
290
289
  });
291
290
  };
292
- return (m, l) => (c(), B(I, null, [
293
- s(e(P), { items: t.value }, null, 8, ["items"]),
291
+ return (m, l) => (c(), E(B, null, [
292
+ s(e(T), { items: t.value }, null, 8, ["items"]),
294
293
  s(ae, {
295
294
  loading: e(w),
296
295
  modelValue: o.value,
@@ -301,5 +300,5 @@ const X = { class: "flex-wrap mt-2 md:grid md:grid-cols-2 gap-8" }, Y = { class:
301
300
  }
302
301
  };
303
302
  export {
304
- ie as default
303
+ de as default
305
304
  };
@@ -1,8 +1,7 @@
1
- import { mergeModels as z, ref as y, useModel as O, createElementBlock as L, openBlock as B, normalizeClass as E, createVNode as a, unref as e, withCtx as d, createBlock as W, createCommentVNode as H, createElementVNode as s, toDisplayString as f, computed as P, onMounted as J, Fragment as K, h as p } from "vue";
2
- import { Loading as T, GBreadcrumbs as Q } from "@gameap/ui";
3
- import { a as M, y as X, t as l, v as Y, z as Z, A as ee, o as k, _ as U, d as le, j as se, e as b, n as I } from "./index-60qEjGuU.js";
1
+ import { mergeModels as B, ref as y, useModel as O, createElementBlock as A, openBlock as E, normalizeClass as I, createVNode as a, unref as e, withCtx as d, createBlock as W, createCommentVNode as H, createElementVNode as s, toDisplayString as f, computed as P, onMounted as J, Fragment as K, h as p } from "vue";
2
+ import { a as M, C as Q, t as l, y as X, D as Y, E as Z, s as k, l as D, _ as U, d as ee, j as le, e as b, k as se, n as $ } from "./index-Fmomw6wi.js";
4
3
  import { defineStore as ae, storeToRefs as te } from "pinia";
5
- import { NForm as oe, NFormItem as w, NInput as h, NSelect as re, NDataTable as ne, NModal as A, NTable as ie } from "naive-ui";
4
+ import { NForm as oe, NFormItem as w, NInput as h, NSelect as re, NDataTable as ne, NModal as z, NTable as ie } from "naive-ui";
6
5
  const ue = ae("userList", {
7
6
  state: () => ({
8
7
  users: [],
@@ -47,7 +46,7 @@ const ue = ae("userList", {
47
46
  }
48
47
  }), de = { class: "flex grid-cols-2 gap-x-4 w-full" }, me = { class: "hidden lg:inline" }, ce = {
49
48
  __name: "CreateUserForm",
50
- props: /* @__PURE__ */ z({
49
+ props: /* @__PURE__ */ B({
51
50
  loading: {
52
51
  type: Boolean,
53
52
  required: !1
@@ -60,9 +59,9 @@ const ue = ae("userList", {
60
59
  },
61
60
  modelModifiers: {}
62
61
  }),
63
- emits: /* @__PURE__ */ z(["create"], ["update:modelValue"]),
62
+ emits: /* @__PURE__ */ B(["create"], ["update:modelValue"]),
64
63
  setup(u, { emit: m }) {
65
- const c = y({}), r = O(u, "modelValue"), x = {
64
+ const c = y({}), r = O(u, "modelValue"), _ = {
66
65
  login: {
67
66
  required: !0,
68
67
  validator: k(l("labels.login"))
@@ -77,10 +76,10 @@ const ue = ae("userList", {
77
76
  },
78
77
  password: {
79
78
  required: !0,
80
- validator: Y(
79
+ validator: X(
81
80
  k(l("labels.password")),
82
- ee(l("labels.password"), 8),
83
- Z(
81
+ Z(l("labels.password"), 8),
82
+ Y(
84
83
  l("labels.password"),
85
84
  l("labels.password_confirmation"),
86
85
  () => r.value.passwordConfirmation
@@ -89,9 +88,9 @@ const ue = ae("userList", {
89
88
  },
90
89
  roles: {
91
90
  required: !0,
92
- validator: X(l("labels.roles"))
91
+ validator: Q(l("labels.roles"))
93
92
  }
94
- }, V = [
93
+ }, x = [
95
94
  {
96
95
  label: "Administrator",
97
96
  value: "admin"
@@ -100,13 +99,13 @@ const ue = ae("userList", {
100
99
  label: "User",
101
100
  value: "user"
102
101
  }
103
- ], _ = m, N = () => {
102
+ ], V = m, N = () => {
104
103
  c.value.validate().then(() => {
105
- _("create");
104
+ V("create");
106
105
  });
107
106
  };
108
- return (S, n) => (B(), L("div", {
109
- class: E(S.$attrs.class)
107
+ return (S, n) => (E(), A("div", {
108
+ class: I(S.$attrs.class)
110
109
  }, [
111
110
  a(e(oe), {
112
111
  "label-placement": "top",
@@ -114,12 +113,12 @@ const ue = ae("userList", {
114
113
  ref_key: "formRef",
115
114
  ref: c,
116
115
  model: r.value,
117
- rules: x
116
+ rules: _
118
117
  }, {
119
118
  default: d(() => [
120
- u.loading ? (B(), W(e(T), { key: 0 })) : H("", !0),
119
+ u.loading ? (E(), W(e(D), { key: 0 })) : H("", !0),
121
120
  s("div", {
122
- class: E(["mb-4", u.loading ? "hidden" : ""])
121
+ class: I(["mb-4", u.loading ? "hidden" : ""])
123
122
  }, [
124
123
  a(e(w), {
125
124
  label: e(l)("labels.login"),
@@ -169,7 +168,7 @@ const ue = ae("userList", {
169
168
  value: r.value.roles,
170
169
  "onUpdate:value": n[3] || (n[3] = (i) => r.value.roles = i),
171
170
  multiple: "",
172
- options: V
171
+ options: x
173
172
  }, null, 8, ["value"])
174
173
  ]),
175
174
  _: 1
@@ -215,13 +214,13 @@ const ue = ae("userList", {
215
214
  })
216
215
  ], 2));
217
216
  }
218
- }, we = {
217
+ }, be = {
219
218
  __name: "AdminUsersView",
220
219
  setup(u) {
221
- const m = ue(), c = le(), r = se(), x = P(() => [
220
+ const m = ue(), c = ee(), r = le(), _ = P(() => [
222
221
  { route: "/", text: "GameAP", icon: "gicon gicon-gameap" },
223
222
  { route: { name: "admin.users.index" }, text: l("users.users") }
224
- ]), V = () => [
223
+ ]), x = () => [
225
224
  {
226
225
  title: l("users.name"),
227
226
  key: "name"
@@ -260,7 +259,7 @@ const ue = ae("userList", {
260
259
  disabled: r.user?.id === t.id,
261
260
  text: l("main.delete"),
262
261
  onClick: () => {
263
- D(t.id);
262
+ F(t.id);
264
263
  }
265
264
  }, [
266
265
  p("i", { class: "fa-solid fa-trash" }),
@@ -269,7 +268,7 @@ const ue = ae("userList", {
269
268
  ];
270
269
  }
271
270
  }
272
- ], { users: _ } = te(m), N = y(V()), S = {
271
+ ], { users: V } = te(m), N = y(x()), S = {
273
272
  pageSize: 20
274
273
  }, n = P(() => m.loading || c.loading);
275
274
  J(() => {
@@ -279,29 +278,29 @@ const ue = ae("userList", {
279
278
  m.fetchUsers().catch((t) => {
280
279
  b(t);
281
280
  });
282
- }, $ = P(() => _.value.map((t) => ({
281
+ }, T = P(() => V.value.map((t) => ({
283
282
  id: t.id,
284
283
  name: t.name,
285
284
  email: t.email
286
- }))), D = (t) => {
285
+ }))), F = (t) => {
287
286
  window.$dialog.success({
288
287
  title: l("users.delete_confirm_msg"),
289
288
  positiveText: l("main.yes"),
290
289
  negativeText: l("main.no"),
291
290
  closable: !1,
292
291
  onPositiveClick: () => {
293
- F(t);
292
+ L(t);
294
293
  },
295
294
  onNegativeClick: () => {
296
295
  }
297
296
  });
298
- }, F = (t) => {
297
+ }, L = (t) => {
299
298
  if (r.user?.id === t) {
300
299
  b(l("users.delete_self_error_msg"));
301
300
  return;
302
301
  }
303
302
  m.deleteUserById(t).then(() => {
304
- I({
303
+ $({
305
304
  content: l("users.delete_success_msg"),
306
305
  type: "success"
307
306
  }, () => {
@@ -330,7 +329,7 @@ const ue = ae("userList", {
330
329
  roles: v.value.roles
331
330
  };
332
331
  m.createUser(t).then(() => {
333
- I({
332
+ $({
334
333
  content: l("users.create_success_msg"),
335
334
  type: "success"
336
335
  }, () => {
@@ -340,8 +339,8 @@ const ue = ae("userList", {
340
339
  b(o);
341
340
  });
342
341
  };
343
- return (t, o) => (B(), L(K, null, [
344
- a(e(Q), { items: x.value }, null, 8, ["items"]),
342
+ return (t, o) => (E(), A(K, null, [
343
+ a(e(se), { items: _.value }, null, 8, ["items"]),
345
344
  a(U, {
346
345
  color: "green",
347
346
  size: "middle",
@@ -359,16 +358,16 @@ const ue = ae("userList", {
359
358
  bordered: !1,
360
359
  "single-line": !0,
361
360
  columns: N.value,
362
- data: $.value,
361
+ data: T.value,
363
362
  loading: n.value,
364
363
  pagination: S
365
364
  }, {
366
365
  loading: d(() => [
367
- a(e(T))
366
+ a(e(D))
368
367
  ]),
369
368
  _: 1
370
369
  }, 8, ["columns", "data", "loading"]),
371
- a(e(A), {
370
+ a(e(z), {
372
371
  show: q.value,
373
372
  "onUpdate:show": o[1] || (o[1] = (g) => q.value = g),
374
373
  class: "custom-card",
@@ -416,7 +415,7 @@ const ue = ae("userList", {
416
415
  ]),
417
416
  _: 1
418
417
  }, 8, ["show", "title"]),
419
- a(e(A), {
418
+ a(e(z), {
420
419
  show: C.value,
421
420
  "onUpdate:show": o[3] || (o[3] = (g) => C.value = g),
422
421
  class: "custom-card",
@@ -439,5 +438,5 @@ const ue = ae("userList", {
439
438
  }
440
439
  };
441
440
  export {
442
- we as default
441
+ be as default
443
442
  };
@@ -1,8 +1,8 @@
1
- import { mergeModels as R, ref as w, useModel as C, computed as F, createElementBlock as N, openBlock as V, createVNode as o, unref as e, withCtx as s, createElementVNode as d, toDisplayString as k } from "vue";
2
- import { o as p, t as r, _ as L } from "./index-60qEjGuU.js";
1
+ import { mergeModels as R, ref as w, useModel as C, computed as F, createElementBlock as N, openBlock as V, createVNode as t, unref as e, withCtx as s, createElementVNode as d, toDisplayString as k } from "vue";
2
+ import { s as p, t as r, _ as L } from "./index-Fmomw6wi.js";
3
3
  import { NForm as M, NFormItem as u, NSelect as S, NInput as n } from "naive-ui";
4
4
  import { storeToRefs as q } from "pinia";
5
- import { u as U } from "./gameList-DpGDCxFE.js";
5
+ import { u as U } from "./gameList-CJAymSBL.js";
6
6
  const W = { class: "hidden lg:inline" }, G = {
7
7
  __name: "CreateModForm",
8
8
  props: {
@@ -16,7 +16,7 @@ const W = { class: "hidden lg:inline" }, G = {
16
16
  },
17
17
  emits: /* @__PURE__ */ R(["create"], ["update:modelValue"]),
18
18
  setup(v, { emit: f }) {
19
- const b = U(), i = w({}), t = C(v, "modelValue"), { games: y } = q(b), _ = {
19
+ const b = U(), i = w({}), o = C(v, "modelValue"), { games: y } = q(b), _ = {
20
20
  game: {
21
21
  required: !0,
22
22
  validator: p(r("labels.game_id"))
@@ -39,63 +39,63 @@ const W = { class: "hidden lg:inline" }, G = {
39
39
  }), m;
40
40
  });
41
41
  return (m, l) => (V(), N("div", null, [
42
- o(e(M), {
42
+ t(e(M), {
43
43
  "label-placement": "top",
44
44
  "label-width": "auto",
45
45
  ref_key: "modCreateFormRef",
46
46
  ref: i,
47
- model: t.value,
47
+ model: o.value,
48
48
  rules: _
49
49
  }, {
50
50
  default: s(() => [
51
- o(e(u), {
51
+ t(e(u), {
52
52
  label: e(r)("labels.game_id"),
53
53
  path: "game"
54
54
  }, {
55
55
  default: s(() => [
56
- o(e(S), {
56
+ t(e(S), {
57
57
  filterable: "",
58
- value: t.value.game,
59
- "onUpdate:value": l[0] || (l[0] = (a) => t.value.game = a),
58
+ value: o.value.game,
59
+ "onUpdate:value": l[0] || (l[0] = (a) => o.value.game = a),
60
60
  options: x.value
61
61
  }, null, 8, ["value", "options"])
62
62
  ]),
63
63
  _: 1
64
64
  }, 8, ["label"]),
65
- o(e(u), {
65
+ t(e(u), {
66
66
  label: e(r)("labels.name"),
67
67
  path: "name"
68
68
  }, {
69
69
  default: s(() => [
70
- o(e(n), {
71
- value: t.value.name,
72
- "onUpdate:value": l[1] || (l[1] = (a) => t.value.name = a),
70
+ t(e(n), {
71
+ value: o.value.name,
72
+ "onUpdate:value": l[1] || (l[1] = (a) => o.value.name = a),
73
73
  type: "text"
74
74
  }, null, 8, ["value"])
75
75
  ]),
76
76
  _: 1
77
77
  }, 8, ["label"]),
78
- o(e(u), {
78
+ t(e(u), {
79
79
  label: e(r)("labels.remote_repository_linux"),
80
80
  path: "remoteRepositoryLinux"
81
81
  }, {
82
82
  default: s(() => [
83
- o(e(n), {
84
- value: t.value.remoteRepositoryLinux,
85
- "onUpdate:value": l[2] || (l[2] = (a) => t.value.remoteRepositoryLinux = a),
83
+ t(e(n), {
84
+ value: o.value.remoteRepositoryLinux,
85
+ "onUpdate:value": l[2] || (l[2] = (a) => o.value.remoteRepositoryLinux = a),
86
86
  type: "text"
87
87
  }, null, 8, ["value"])
88
88
  ]),
89
89
  _: 1
90
90
  }, 8, ["label"]),
91
- o(e(u), {
91
+ t(e(u), {
92
92
  label: e(r)("labels.remote_repository_windows"),
93
93
  path: "remoteRepositoryWindows"
94
94
  }, {
95
95
  default: s(() => [
96
- o(e(n), {
97
- value: t.value.remoteRepositoryWindows,
98
- "onUpdate:value": l[3] || (l[3] = (a) => t.value.remoteRepositoryWindows = a),
96
+ t(e(n), {
97
+ value: o.value.remoteRepositoryWindows,
98
+ "onUpdate:value": l[3] || (l[3] = (a) => o.value.remoteRepositoryWindows = a),
99
99
  type: "text"
100
100
  }, null, 8, ["value"])
101
101
  ]),
@@ -104,7 +104,7 @@ const W = { class: "hidden lg:inline" }, G = {
104
104
  ]),
105
105
  _: 1
106
106
  }, 8, ["model"]),
107
- o(L, {
107
+ t(L, {
108
108
  color: "green",
109
109
  onClick: c
110
110
  }, {
@@ -1,5 +1,5 @@
1
1
  import { ref as f, onMounted as x, resolveComponent as d, createBlock as w, openBlock as b, withCtx as t, createVNode as r, unref as a, createElementVNode as n, createTextVNode as m } from "vue";
2
- import { t as l } from "./index-60qEjGuU.js";
2
+ import { t as l } from "./index-Fmomw6wi.js";
3
3
  const k = ["innerHTML"], v = ["innerHTML"], C = {
4
4
  __name: "CreateNodeModal",
5
5
  props: {
@@ -1,6 +1,6 @@
1
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
2
  import { storeToRefs as D } from "pinia";
3
- import { h as O, u as P } from "./index-60qEjGuU.js";
3
+ import { h as O, u as P } from "./index-Fmomw6wi.js";
4
4
  import { NFormItem as b } from "naive-ui";
5
5
  const V = ["name"], B = ["name"], E = {
6
6
  __name: "DsIpSelector",
@@ -1,5 +1,5 @@
1
1
  import { ref as W, computed as A, reactive as Zh, createElementBlock as z, openBlock as M, createElementVNode as w, unref as N, normalizeClass as $e, resolveComponent as de, Fragment as Ae, renderList as Ot, createVNode as J, createTextVNode as ce, withModifiers as Fn, toDisplayString as I, Transition as wf, withCtx as me, withDirectives as De, createCommentVNode as We, createBlock as zt, vShow as pt, toValue as MO, watch as Jt, onMounted as St, withKeys as vr, onBeforeUnmount as ca, normalizeStyle as Sn, vModelText as cn, defineComponent as EO, shallowRef as za, inject as RO, toRaw as zO, h as _O, markRaw as DO, resolveDynamicComponent as xf, createSlots as ZO, nextTick as NO, onUnmounted as LO } from "vue";
2
- import { a as vl, n as zo, f as jc, u as XO, b as kf, _ as jO, e as IO } from "./index-60qEjGuU.js";
2
+ import { a as vl, n as zo, f as jc, u as XO, b as kf, _ as jO, e as IO } from "./index-Fmomw6wi.js";
3
3
  import { defineStore as wr } from "pinia";
4
4
  import { g as qO } from "./_commonjsHelpers-C6fGbg64.js";
5
5
  const Pe = vl.create({
@@ -1,9 +1,9 @@
1
1
  import { mergeModels as x, useModel as p, onUnmounted as C, computed as c, watch as r, resolveComponent as N, createElementBlock as O, openBlock as P, createElementVNode as s, withDirectives as b, createVNode as n, vModelText as f, unref as u, withCtx as M, h as V } from "vue";
2
2
  import { storeToRefs as w } from "pinia";
3
- import { q as D, t as h, g as j } from "./index-60qEjGuU.js";
4
- import { u as k } from "./gameList-DpGDCxFE.js";
3
+ import { v as D, t as h, g as j } from "./index-Fmomw6wi.js";
4
+ import { u as k } from "./gameList-CJAymSBL.js";
5
5
  import { NFormItem as G } from "naive-ui";
6
- const y = { class: "mb-3" }, B = { class: "mb-3" }, R = {
6
+ const y = { class: "mb-3" }, B = { class: "mb-3" }, $ = {
7
7
  __name: "GameModSelector",
8
8
  props: /* @__PURE__ */ x({
9
9
  games: Object,
@@ -90,5 +90,5 @@ const y = { class: "mb-3" }, B = { class: "mb-3" }, R = {
90
90
  }
91
91
  };
92
92
  export {
93
- R as default
93
+ $ as default
94
94
  };
@@ -1,5 +1,5 @@
1
1
  import { mergeModels as h, useModel as b, reactive as g, computed as x, h as a, createElementBlock as V, openBlock as _, normalizeClass as N, createElementVNode as n, createVNode as u, withCtx as f, unref as y, createTextVNode as w, toDisplayString as C } from "vue";
2
- import { t as r, _ as c } from "./index-60qEjGuU.js";
2
+ import { t as r, _ as c } from "./index-Fmomw6wi.js";
3
3
  import { NSwitch as I, NInput as z, NDataTable as M } from "naive-ui";
4
4
  const T = { class: "mb-3" }, A = { class: "flex justify-center mt-2" }, D = {
5
5
  __name: "InputManyList",
@@ -1,5 +1,5 @@
1
1
  import { mergeModels as p, useModel as v, createElementBlock as a, openBlock as o, createElementVNode as l, Fragment as _, renderList as k, createVNode as u, unref as x, withCtx as i } from "vue";
2
- import { _ as m } from "./index-60qEjGuU.js";
2
+ import { _ as m } from "./index-Fmomw6wi.js";
3
3
  import { NInput as g } from "naive-ui";
4
4
  const V = { class: "flex flex-wrap" }, w = { class: "md:w-full pr-4 pl-4 relative flex items-stretch w-full" }, C = { class: "flex justify-center mt-2" }, M = {
5
5
  __name: "InputTextList",
@@ -1,6 +1,6 @@
1
1
  import { ref as c, watch as p, onMounted as f, createElementBlock as d, createBlock as g, openBlock as r, createElementVNode as s } from "vue";
2
2
  import { useRoute as m, useRouter as _ } from "vue-router";
3
- import { f as x, D as P } from "./index-60qEjGuU.js";
3
+ import { f as x, I as P } from "./index-Fmomw6wi.js";
4
4
  const R = {
5
5
  key: 0,
6
6
  class: "flex items-center justify-center h-64"