@gameap/frontend 4.1.0-dev14 → 4.1.0-dev16

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,13 @@
1
- import { mergeModels as S, ref as w, useModel as L, createElementBlock as y, openBlock as b, normalizeClass as D, createVNode as n, unref as a, withCtx as f, createBlock as O, createCommentVNode as H, createElementVNode as h, Fragment as q, renderList as F, createTextVNode as I, toDisplayString as V, computed as j, onMounted as J, h as m } from "vue";
2
- import { b as x, t as s, l as z, _ as M, a as C, e as P, m as K, n as B } from "./index-9fvX7FD-.js";
3
- import { defineStore as Q, storeToRefs as W } from "pinia";
4
- import { NForm as X, NFormItem as E, NInput as R, NCheckbox as G, NCheckboxGroup as Y, NDataTable as Z, NModal as ee, NInputGroup as te, NButton as ae } from "naive-ui";
5
- import { r as se } from "./validators-ChBGsKft.js";
6
- import { i as ie } from "./isEmpty-D0Z8Rneq.js";
1
+ import { mergeModels as F, ref as w, useModel as L, createElementBlock as y, openBlock as h, normalizeClass as M, createVNode as n, unref as a, withCtx as f, createBlock as O, createCommentVNode as H, createElementVNode as b, Fragment as q, renderList as j, createTextVNode as I, toDisplayString as P, computed as B, onMounted as J, h as m } from "vue";
2
+ import { b as T, t as s, l as z, _ as S, a as C, e as $, m as K, n as D } from "./index-CiR3a1Cv.js";
3
+ import { _ as Q } from "./GDataTable-DC0a2vJJ.js";
4
+ import { _ as W } from "./GModal-C4shXjCa.js";
5
+ import { NForm as X, NFormItem as E, NInput as R, NCheckbox as G, NCheckboxGroup as Y, NInputGroup as Z, NButton as ee } from "naive-ui";
6
+ import { defineStore as te, storeToRefs as ae } from "pinia";
7
+ import { r as se } from "./validators-r6Rit4O6.js";
8
+ import { i as ie } from "./isEmpty-CLFmjU_j.js";
7
9
  import { j as ne } from "./join-CmlzL0H9.js";
8
- const le = Q("tokens", {
10
+ const le = te("tokens", {
9
11
  state: () => ({
10
12
  tokens: [],
11
13
  abilities: {},
@@ -18,7 +20,7 @@ const le = Q("tokens", {
18
20
  async fetchTokens() {
19
21
  this.apiProcesses++;
20
22
  try {
21
- const t = await x.get("/api/tokens");
23
+ const t = await T.get("/api/tokens");
22
24
  this.tokens = Array.isArray(t.data) ? t.data : [];
23
25
  } catch (t) {
24
26
  throw t;
@@ -29,7 +31,7 @@ const le = Q("tokens", {
29
31
  async fetchAbilities() {
30
32
  this.apiProcesses++;
31
33
  try {
32
- const t = await x.get("/api/tokens/abilities");
34
+ const t = await T.get("/api/tokens/abilities");
33
35
  this.abilities = t.data;
34
36
  } catch (t) {
35
37
  throw t;
@@ -40,7 +42,7 @@ const le = Q("tokens", {
40
42
  async createToken(t, o) {
41
43
  this.apiProcesses++;
42
44
  try {
43
- return (await x.post("/api/tokens", {
45
+ return (await T.post("/api/tokens", {
44
46
  token_name: t,
45
47
  abilities: o
46
48
  })).data;
@@ -53,7 +55,7 @@ const le = Q("tokens", {
53
55
  async deleteToken(t) {
54
56
  this.apiProcesses++;
55
57
  try {
56
- await x.delete("/api/tokens/" + t);
58
+ await T.delete("/api/tokens/" + t);
57
59
  } catch (o) {
58
60
  throw o;
59
61
  } finally {
@@ -63,7 +65,7 @@ const le = Q("tokens", {
63
65
  }
64
66
  }), oe = { class: "w-full mb-2" }, re = { class: "m-4" }, ce = { class: "ml-4 m-2" }, de = { class: "flex flex-wrap" }, ue = { class: "md:w-2/3" }, me = { class: "hidden lg:inline" }, fe = {
65
67
  __name: "GenerateTokenForm",
66
- props: /* @__PURE__ */ S({
68
+ props: /* @__PURE__ */ F({
67
69
  loading: {
68
70
  type: Boolean,
69
71
  required: !1
@@ -79,9 +81,9 @@ const le = Q("tokens", {
79
81
  },
80
82
  modelModifiers: {}
81
83
  }),
82
- emits: /* @__PURE__ */ S(["generate"], ["update:modelValue"]),
84
+ emits: /* @__PURE__ */ F(["generate"], ["update:modelValue"]),
83
85
  setup(t, { emit: o }) {
84
- const p = t, N = w({}), l = L(t, "modelValue"), k = w({}), $ = {
86
+ const p = t, V = w({}), l = L(t, "modelValue"), k = w({}), A = {
85
87
  name: {
86
88
  required: !0,
87
89
  validator: se(s("labels.name"))
@@ -95,10 +97,10 @@ const le = Q("tokens", {
95
97
  );
96
98
  }
97
99
  }
98
- }, T = (r) => {
100
+ }, x = (r) => {
99
101
  for (const [i] of Object.entries(p.abilities[r]))
100
102
  k.value[r] ? l.value.abilities.includes(i) || l.value.abilities.push(i) : l.value.abilities = l.value.abilities.filter((c) => c !== i);
101
- }, A = (r) => {
103
+ }, N = (r) => {
102
104
  for (const [i] of Object.entries(p.abilities[r]))
103
105
  if (!l.value.abilities.includes(i)) {
104
106
  k.value[r] = !1;
@@ -106,25 +108,25 @@ const le = Q("tokens", {
106
108
  }
107
109
  k.value[r] = !0;
108
110
  }, _ = o, U = () => {
109
- N.value.validate().then(() => {
111
+ V.value.validate().then(() => {
110
112
  _("generate");
111
113
  });
112
114
  };
113
- return (r, i) => (b(), y("div", {
114
- class: D(r.$attrs.class)
115
+ return (r, i) => (h(), y("div", {
116
+ class: M(r.$attrs.class)
115
117
  }, [
116
118
  n(a(X), {
117
119
  "label-placement": "top",
118
120
  "label-width": "auto",
119
121
  ref_key: "formRef",
120
- ref: N,
122
+ ref: V,
121
123
  model: l.value,
122
- rules: $
124
+ rules: A
123
125
  }, {
124
126
  default: f(() => [
125
- t.loading ? (b(), O(a(z), { key: 0 })) : H("", !0),
126
- h("div", {
127
- class: D(["mb-4", t.loading ? "hidden" : ""])
127
+ t.loading ? (h(), O(a(z), { key: 0 })) : H("", !0),
128
+ b("div", {
129
+ class: M(["mb-4", t.loading ? "hidden" : ""])
128
130
  }, [
129
131
  n(a(E), {
130
132
  label: a(s)("labels.name"),
@@ -144,14 +146,14 @@ const le = Q("tokens", {
144
146
  path: "abilities"
145
147
  }, {
146
148
  default: f(() => [
147
- h("div", oe, [
148
- (b(!0), y(q, null, F(t.abilities, (c, v) => (b(), y("div", re, [
149
+ b("div", oe, [
150
+ (h(!0), y(q, null, j(t.abilities, (c, v) => (h(), y("div", re, [
149
151
  n(a(G), {
150
152
  checked: k.value[v],
151
- "onUpdate:checked": [(u) => k.value[v] = u, (u) => T(v)]
153
+ "onUpdate:checked": [(u) => k.value[v] = u, (u) => x(v)]
152
154
  }, {
153
155
  default: f(() => [
154
- I(V(v), 1)
156
+ I(P(v), 1)
155
157
  ]),
156
158
  _: 2
157
159
  }, 1032, ["checked", "onUpdate:checked"]),
@@ -159,19 +161,19 @@ const le = Q("tokens", {
159
161
  value: l.value.abilities,
160
162
  "onUpdate:value": [
161
163
  i[1] || (i[1] = (u) => l.value.abilities = u),
162
- (u) => A(v)
164
+ (u) => N(v)
163
165
  ]
164
166
  }, {
165
167
  default: f(() => [
166
- h("ul", null, [
167
- (b(!0), y(q, null, F(c, (u, e) => (b(), y("li", ce, [
168
- h("div", de, [
168
+ b("ul", null, [
169
+ (h(!0), y(q, null, j(c, (u, e) => (h(), y("li", ce, [
170
+ b("div", de, [
169
171
  n(a(G), {
170
172
  class: "md:w-1/3",
171
173
  value: e,
172
174
  label: e
173
175
  }, null, 8, ["value", "label"]),
174
- h("div", ue, V(u), 1)
176
+ b("div", ue, P(u), 1)
175
177
  ])
176
178
  ]))), 256))
177
179
  ])
@@ -187,22 +189,22 @@ const le = Q("tokens", {
187
189
  ]),
188
190
  _: 1
189
191
  }, 8, ["model"]),
190
- n(M, {
192
+ n(S, {
191
193
  color: "green",
192
194
  onClick: U
193
195
  }, {
194
196
  default: f(() => [
195
197
  n(a(C), { name: "add-square" }),
196
- h("span", me, " " + V(a(s)("main.generate")), 1)
198
+ b("span", me, " " + P(a(s)("main.generate")), 1)
197
199
  ]),
198
200
  _: 1
199
201
  })
200
202
  ], 2));
201
203
  }
202
- }, pe = { class: "mb-5" }, we = {
204
+ }, pe = { class: "mb-5" }, xe = {
203
205
  __name: "TokensView",
204
206
  setup(t) {
205
- const o = le(), p = j(() => [
207
+ const o = le(), p = B(() => [
206
208
  { route: "/", text: "GameAP", icon: "gicon gicon-gameap" },
207
209
  { route: { name: "tokens" }, text: s("tokens.tokens") }
208
210
  ]), l = w([
@@ -223,7 +225,7 @@ const le = Q("tokens", {
223
225
  title: s("main.actions"),
224
226
  render(e) {
225
227
  return [
226
- m(M, {
228
+ m(S, {
227
229
  color: "red",
228
230
  size: "small",
229
231
  text: s("main.delete"),
@@ -239,15 +241,15 @@ const le = Q("tokens", {
239
241
  }
240
242
  ]), k = {
241
243
  pageSize: 30
242
- }, { loading: $, tokens: T, abilities: A } = W(o);
244
+ }, { loading: A, tokens: x, abilities: N } = ae(o);
243
245
  J(() => {
244
246
  _();
245
247
  });
246
248
  const _ = () => {
247
249
  o.fetchTokens().catch((e) => {
248
- P(e);
250
+ $(e);
249
251
  });
250
- }, U = j(() => Array.isArray(T.value) ? T.value.map((e) => ({
252
+ }, U = B(() => Array.isArray(x.value) ? x.value.map((e) => ({
251
253
  id: e.id,
252
254
  name: e.name,
253
255
  abilities: ne(e.abilities, ", "),
@@ -260,7 +262,7 @@ const le = Q("tokens", {
260
262
  abilities: []
261
263
  }, i.value = !0;
262
264
  }).catch((e) => {
263
- P(e);
265
+ $(e);
264
266
  });
265
267
  }, i = w(!1), c = w({
266
268
  name: "",
@@ -271,14 +273,14 @@ const le = Q("tokens", {
271
273
  c.value.abilities
272
274
  ).then((e) => {
273
275
  const d = w(!1);
274
- B({
276
+ D({
275
277
  content: () => [
276
278
  m(
277
279
  "div",
278
280
  { class: "my-2" },
279
281
  s("tokens.token_created_notification")
280
282
  ),
281
- m(te, {
283
+ m(Z, {
282
284
  class: "mt-2 mb-4"
283
285
  }, [
284
286
  m(R, {
@@ -287,7 +289,7 @@ const le = Q("tokens", {
287
289
  size: "small",
288
290
  style: "width: 100%"
289
291
  }),
290
- m(ae, {
292
+ m(ee, {
291
293
  type: "primary",
292
294
  onClick: () => {
293
295
  navigator.clipboard.writeText(e.token).then(() => {
@@ -309,17 +311,17 @@ const le = Q("tokens", {
309
311
  }, () => {
310
312
  }), _(), i.value = !1, _();
311
313
  }).catch((e) => {
312
- P(e);
314
+ $(e);
313
315
  });
314
316
  }, u = (e) => {
315
317
  const d = () => {
316
318
  o.deleteToken(e).then(() => {
317
- B({
319
+ D({
318
320
  content: s("tokens.token_removed_msg"),
319
321
  type: "success"
320
322
  }), _();
321
323
  }).catch((g) => {
322
- P(g);
324
+ $(g);
323
325
  });
324
326
  };
325
327
  window.$dialog.success({
@@ -334,29 +336,27 @@ const le = Q("tokens", {
334
336
  }
335
337
  });
336
338
  };
337
- return (e, d) => (b(), y(q, null, [
339
+ return (e, d) => (h(), y(q, null, [
338
340
  n(a(K), { items: p.value }, null, 8, ["items"]),
339
- h("div", pe, [
340
- n(M, {
341
+ b("div", pe, [
342
+ n(S, {
341
343
  class: "mr-1",
342
344
  color: "green",
343
345
  onClick: d[0] || (d[0] = (g) => r())
344
346
  }, {
345
347
  default: f(() => [
346
348
  n(a(C), { name: "add-square" }),
347
- I(" " + V(a(s)("tokens.generate_token")), 1)
349
+ I(" " + P(a(s)("tokens.generate_token")), 1)
348
350
  ]),
349
351
  _: 1
350
352
  })
351
353
  ]),
352
- n(a(Z), {
354
+ n(a(Q), {
353
355
  remote: "",
354
356
  ref: "tableRef",
355
- bordered: !1,
356
- "single-line": !0,
357
357
  columns: l.value,
358
358
  data: U.value,
359
- loading: a($),
359
+ loading: a(A),
360
360
  pagination: k
361
361
  }, {
362
362
  loading: f(() => [
@@ -364,19 +364,15 @@ const le = Q("tokens", {
364
364
  ]),
365
365
  _: 1
366
366
  }, 8, ["columns", "data", "loading"]),
367
- n(a(ee), {
367
+ n(a(W), {
368
368
  show: i.value,
369
369
  "onUpdate:show": d[2] || (d[2] = (g) => i.value = g),
370
- class: "custom-card",
371
- preset: "card",
372
370
  title: a(s)("tokens.generate_token"),
373
- bordered: !1,
374
- style: { width: "800px" },
375
- segmented: { content: "soft", footer: "soft" }
371
+ style: { width: "800px" }
376
372
  }, {
377
373
  default: f(() => [
378
374
  n(fe, {
379
- abilities: a(A),
375
+ abilities: a(N),
380
376
  modelValue: c.value,
381
377
  "onUpdate:modelValue": d[1] || (d[1] = (g) => c.value = g),
382
378
  onGenerate: v
@@ -388,5 +384,5 @@ const le = Q("tokens", {
388
384
  }
389
385
  };
390
386
  export {
391
- we as default
387
+ xe as default
392
388
  };
@@ -1,8 +1,9 @@
1
1
  import { mergeModels as x, ref as I, useModel as L, resolveComponent as V, createElementBlock as R, openBlock as q, normalizeClass as z, createVNode as l, renderSlot as D, unref as e, withCtx as o, createElementVNode as r, createTextVNode as c, toDisplayString as n, h as v } from "vue";
2
- import { t as d, _ as F, a as m } from "./index-9fvX7FD-.js";
3
- import { r as M } from "./validators-ChBGsKft.js";
4
- import { NForm as O, NTabs as T, NTabPane as _, NCard as f, NFormItem as u, NInput as i, NSwitch as B, NSelect as h, NUpload as $, NButton as G } from "naive-ui";
5
- const H = { class: "flex flex-wrap mt-2" }, K = { class: "md:w-1/2 pr-4" }, E = { class: "flex flex-wrap w-full" }, W = { class: "flex flex-wrap w-full" }, j = { class: "md:w-1/2 pl-4" }, A = { class: "flex flex-wrap w-full" }, J = { class: "flex flex-wrap w-full mt-4" }, Q = { class: "flex flex-wrap w-full" }, X = { class: "flex flex-wrap w-full" }, Y = { class: "flex flex-wrap w-full" }, Z = { class: "flex flex-wrap w-full" }, ee = { class: "flex flex-wrap w-full" }, le = { class: "flex flex-wrap w-full" }, ae = { class: "flex flex-wrap w-full" }, te = { class: "flex flex-wrap w-full" }, se = { class: "flex flex-wrap w-full" }, de = { class: "flex flex-wrap" }, oe = { class: "md:w-1/2 pr-4 pl-4" }, re = { class: "text-xl font-bold dark:text-white" }, ue = { class: "ml-1 space-y-1 list-disc list-inside" }, ie = { class: "md:w-1/2 pr-4 pl-4" }, ne = { class: "text-xl font-bold dark:text-white" }, pe = { class: "ml-1 space-y-1 list-disc list-inside" }, ve = { class: "text-xl font-bold dark:text-white" }, ce = { class: "ml-1 space-y-1 list-disc list-inside" }, me = { class: "hidden lg:inline" }, xe = {
2
+ import { t as d, _ as F, a as m } from "./index-CiR3a1Cv.js";
3
+ import { NForm as M, NTabs as O, NTabPane as _, NCard as f, NFormItem as u, NInput as i, NSelect as h, NUpload as T, NButton as $ } from "naive-ui";
4
+ import { _ as B } from "./GSwitch-1wlrRoUA.js";
5
+ import { r as G } from "./validators-r6Rit4O6.js";
6
+ const H = { class: "flex flex-wrap mt-2" }, K = { class: "md:w-1/2 pr-4" }, E = { class: "flex flex-wrap w-full" }, W = { class: "flex flex-wrap w-full" }, j = { class: "md:w-1/2 pl-4" }, A = { class: "flex flex-wrap w-full" }, J = { class: "flex flex-wrap w-full mt-4" }, Q = { class: "flex flex-wrap w-full" }, X = { class: "flex flex-wrap w-full" }, Y = { class: "flex flex-wrap w-full" }, Z = { class: "flex flex-wrap w-full" }, ee = { class: "flex flex-wrap w-full" }, le = { class: "flex flex-wrap w-full" }, ae = { class: "flex flex-wrap w-full" }, te = { class: "flex flex-wrap w-full" }, se = { class: "flex flex-wrap w-full" }, de = { class: "flex flex-wrap" }, oe = { class: "md:w-1/2 pr-4 pl-4" }, re = { class: "text-xl font-bold dark:text-white" }, ue = { class: "ml-1 space-y-1 list-disc list-inside" }, ie = { class: "md:w-1/2 pr-4 pl-4" }, ne = { class: "text-xl font-bold dark:text-white" }, pe = { class: "ml-1 space-y-1 list-disc list-inside" }, ve = { class: "text-xl font-bold dark:text-white" }, ce = { class: "ml-1 space-y-1 list-disc list-inside" }, me = { class: "hidden lg:inline" }, he = {
6
7
  __name: "UpdateNodeForm",
7
8
  props: /* @__PURE__ */ x({
8
9
  loading: {
@@ -45,7 +46,7 @@ const H = { class: "flex flex-wrap mt-2" }, K = { class: "md:w-1/2 pr-4" }, E =
45
46
  }, w = I({}), a = L(b, "modelValue"), C = {
46
47
  name: {
47
48
  required: !0,
48
- validator: M(d("labels.name"))
49
+ validator: G(d("labels.name"))
49
50
  }
50
51
  }, S = (p) => {
51
52
  p.fileList.length > 0 ? a.value.serverCertificateFile = p.fileList[0].file : a.value.serverCertificateFile = null;
@@ -59,7 +60,7 @@ const H = { class: "flex flex-wrap mt-2" }, K = { class: "md:w-1/2 pr-4" }, E =
59
60
  return q(), R("div", {
60
61
  class: z(p.$attrs.class)
61
62
  }, [
62
- l(e(O), {
63
+ l(e(M), {
63
64
  "label-placement": "top",
64
65
  "label-width": "auto",
65
66
  ref_key: "formRef",
@@ -68,7 +69,7 @@ const H = { class: "flex flex-wrap mt-2" }, K = { class: "md:w-1/2 pr-4" }, E =
68
69
  rules: C
69
70
  }, {
70
71
  default: o(() => [
71
- l(e(T), {
72
+ l(e(O), {
72
73
  type: "line",
73
74
  class: "flex justify-between",
74
75
  animated: ""
@@ -321,14 +322,14 @@ const H = { class: "flex flex-wrap mt-2" }, K = { class: "md:w-1/2 pr-4" }, E =
321
322
  path: "serverCertificate"
322
323
  }, {
323
324
  default: o(() => [
324
- l(e($), {
325
+ l(e(T), {
325
326
  max: 1,
326
327
  multiple: !1,
327
328
  "default-upload": !1,
328
329
  onChange: S
329
330
  }, {
330
331
  default: o(() => [
331
- l(e(G), { class: "mt-2" }, {
332
+ l(e($), { class: "mt-2" }, {
332
333
  default: o(() => [
333
334
  c(n(e(d)("main.upload_file")), 1)
334
335
  ]),
@@ -648,5 +649,5 @@ const H = { class: "flex flex-wrap mt-2" }, K = { class: "md:w-1/2 pr-4" }, E =
648
649
  }
649
650
  };
650
651
  export {
651
- xe as _
652
+ he as _
652
653
  };