@vcmap/module-selector 2.0.2 → 2.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -10,93 +10,94 @@ function loadCss(href) {
10
10
  elem.onerror = reject;
11
11
  document.head.appendChild(elem);
12
12
  });
13
- } await loadCss('data:text/css;base64,LnYtY2FyZFtkYXRhLXYtMjlhMjIwMmZde2Rpc3BsYXk6ZmxleDtmbGV4LWRpcmVjdGlvbjpjb2x1bW47anVzdGlmeS1jb250ZW50OmNlbnRlcjthbGlnbi1pdGVtczpjZW50ZXI7aGVpZ2h0OjE1MHB4O3dpZHRoOjE1MHB4O2FzcGVjdC1yYXRpbzoxO3RyYW5zaXRpb246YmFja2dyb3VuZC1jb2xvciAuM3N9LmZpeGVkLWNhcmRbZGF0YS12LTI5YTIyMDJmXXtoZWlnaHQ6MTUwcHg7d2lkdGg6MTUwcHg7YXNwZWN0LXJhdGlvOjF9LnNlbGVjdGVkLWNhcmRbZGF0YS12LTI5YTIyMDJmXXtiYWNrZ3JvdW5kLWNvbG9yOnJnYih2YXIoLS12LXRoZW1lLXByaW1hcnkpKTtjb2xvcjpyZ2IodmFyKC0tdi10aGVtZS1vbi1wcmltYXJ5KSl9LnYtYnJlYWRjcnVtYnNbZGF0YS12LTA0YmU3OGExXXtwYWRkaW5nOjE2cHggMCA0cHh9Cg==');var Oe = Object.defineProperty;
14
- var Te = (e, o, t) => o in e ? Oe(e, o, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[o] = t;
15
- var W = (e, o, t) => Te(e, typeof o != "symbol" ? o + "" : o, t);
16
- import { VcsFormButton as he, VcsTextField as se, VcsLabel as be, VcsFormSection as Me, VcsCheckbox as $e, useProxiedComplexModel as Fe, useModelHasProperty as Re, VcsDataTable as De, VcsList as qe, AbstractConfigEditor as Pe, WindowSlot as Ge, createToggleAction as je, ButtonLocation as Le } from "../../../assets/ui.js";
17
- import { defineComponent as J, inject as Se, computed as H, resolveComponent as c, openBlock as I, createBlock as $, withCtx as n, createVNode as d, createTextVNode as S, toDisplayString as V, createCommentVNode as q, createElementBlock as ie, Fragment as de, renderList as me, normalizeClass as ye, ref as k, createElementVNode as pe, normalizeProps as ze, guardReactiveProps as We, reactive as He, watch as we, mergeProps as Ke } from "../../../assets/vue.js";
18
- import { VSheet as Je, VContainer as Z, VRow as Q, VCol as X, VCard as Ve, VIcon as _e, VCardTitle as Ze, VForm as ke, VDivider as Qe, VTooltip as Xe, VDialog as Ye, VBreadcrumbs as xe, VBreadcrumbsItem as eo } from "../../../assets/vuetify.js";
19
- import { VcsModule as oo } from "../../../assets/core.js";
20
- function Ee(e, o) {
13
+ } await loadCss('data:text/css;base64,LnYtY2FyZFtkYXRhLXYtNDFiNjIzZGNde2Rpc3BsYXk6ZmxleDtmbGV4LWRpcmVjdGlvbjpjb2x1bW47anVzdGlmeS1jb250ZW50OmNlbnRlcjthbGlnbi1pdGVtczpjZW50ZXI7aGVpZ2h0OjE1MHB4O3dpZHRoOjE1MHB4O2FzcGVjdC1yYXRpbzoxO3RyYW5zaXRpb246YmFja2dyb3VuZC1jb2xvciAuM3N9LmZpeGVkLWNhcmRbZGF0YS12LTQxYjYyM2RjXXtoZWlnaHQ6MTUwcHg7d2lkdGg6MTUwcHg7YXNwZWN0LXJhdGlvOjF9LnNlbGVjdGVkLWNhcmRbZGF0YS12LTQxYjYyM2RjXXtiYWNrZ3JvdW5kLWNvbG9yOnJnYih2YXIoLS12LXRoZW1lLXByaW1hcnkpKTtjb2xvcjpyZ2IodmFyKC0tdi10aGVtZS1vbi1wcmltYXJ5KSl9LnRvcC1yaWdodC1pY29uW2RhdGEtdi00MWI2MjNkY117cG9zaXRpb246YWJzb2x1dGU7dG9wOjhweDtsZWZ0OjhweDt6LWluZGV4OjEwO2N1cnNvcjpwb2ludGVyO2NvbG9yOnJnYih2YXIoLS12LXRoZW1lLW9uLXN1cmZhY2UpKX0uZ3JvdXBDYXJkW2RhdGEtdi00MWI2MjNkY117d2lkdGg6MTQ2cHg7YmFja2dyb3VuZC1jb2xvcjpyZ2IodmFyKC0tdi10aGVtZS1zdXJmYWNlKSk7Ym9yZGVyOm5vbmUhaW1wb3J0YW50O2JvcmRlci1yaWdodDoxcHggc29saWQhaW1wb3J0YW50fS5pbnRlcm1lZGlhdGUtY2FyZFtkYXRhLXYtNDFiNjIzZGNde3dpZHRoOjE0OHB4O2JhY2tncm91bmQtY29sb3I6cmdiKHZhcigtLXYtdGhlbWUtc3VyZmFjZSkpO2JvcmRlcjpub25lIWltcG9ydGFudDtib3JkZXItcmlnaHQ6MXB4IHNvbGlkIWltcG9ydGFudH0uZ3JvdXBUaXRsZVtkYXRhLXYtNDFiNjIzZGNdLC5ncm91cEljb25bZGF0YS12LTQxYjYyM2RjXXttYXJnaW4tbGVmdDoyMHB4IWltcG9ydGFudH0K');var qe = Object.defineProperty;
14
+ var Pe = (e, o, i) => o in e ? qe(e, o, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[o] = i;
15
+ var K = (e, o, i) => Pe(e, typeof o != "symbol" ? o + "" : o, i);
16
+ import { VcsFormButton as ce, VcsTextField as me, VcsLabel as ye, VcsFormSection as Se, VcsTextArea as we, VcsCheckbox as _e, useProxiedComplexModel as je, useModelHasProperty as Le, VcsDataTable as ze, VcsList as We, AbstractConfigEditor as He, WindowSlot as Ke, createToggleAction as Je, ButtonLocation as Ze } from "../../../assets/ui.js";
17
+ import { defineComponent as oe, inject as Ue, computed as J, resolveComponent as a, openBlock as C, createBlock as _, withCtx as t, createVNode as l, mergeProps as se, createTextVNode as M, toDisplayString as v, createCommentVNode as G, createElementVNode as H, createElementBlock as x, Fragment as ee, renderList as Me, normalizeClass as re, ref as A, normalizeProps as Qe, guardReactiveProps as Xe, reactive as Ye, watch as xe, toRaw as fe } from "../../../assets/vue.js";
18
+ import { VSheet as Ae, VContainer as te, VRow as le, VCol as ie, VCard as Ie, VIcon as Te, VCardTitle as eo, VTooltip as Ne, VForm as Ee, VDivider as oo, VDialog as to } from "../../../assets/vuetify.js";
19
+ import { VcsModule as lo } from "../../../assets/core.js";
20
+ function Ce(e, o) {
21
21
  if (e != null) {
22
- const t = Number.parseInt(String(e), 10);
23
- if (t != null && !Number.isNaN(t))
24
- return t;
22
+ const i = Number.parseInt(String(e), 10);
23
+ if (i != null && !Number.isNaN(i))
24
+ return i;
25
25
  }
26
26
  return o;
27
27
  }
28
- function to(e, o) {
28
+ function io(e, o) {
29
29
  return e == null ? !!o : typeof e == "boolean" ? e : e === 1 ? !0 : e === 0 ? !1 : typeof e == "string" && (e.toLowerCase() === "true" || e.toLowerCase() === "1") ? !0 : typeof e == "string" && (e.toLowerCase() === "false" || e.toLowerCase() === "0") ? !1 : !!o;
30
30
  }
31
- function lo(e) {
31
+ function no(e) {
32
32
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
33
33
  }
34
- var no = function e(o, t) {
35
- if (o === t) return !0;
36
- if (o && t && typeof o == "object" && typeof t == "object") {
37
- if (o.constructor !== t.constructor) return !1;
38
- var r, i, l;
34
+ var ro = function e(o, i) {
35
+ if (o === i) return !0;
36
+ if (o && i && typeof o == "object" && typeof i == "object") {
37
+ if (o.constructor !== i.constructor) return !1;
38
+ var d, n, r;
39
39
  if (Array.isArray(o)) {
40
- if (r = o.length, r != t.length) return !1;
41
- for (i = r; i-- !== 0; )
42
- if (!e(o[i], t[i])) return !1;
40
+ if (d = o.length, d != i.length) return !1;
41
+ for (n = d; n-- !== 0; )
42
+ if (!e(o[n], i[n])) return !1;
43
43
  return !0;
44
44
  }
45
- if (o.constructor === RegExp) return o.source === t.source && o.flags === t.flags;
46
- if (o.valueOf !== Object.prototype.valueOf) return o.valueOf() === t.valueOf();
47
- if (o.toString !== Object.prototype.toString) return o.toString() === t.toString();
48
- if (l = Object.keys(o), r = l.length, r !== Object.keys(t).length) return !1;
49
- for (i = r; i-- !== 0; )
50
- if (!Object.prototype.hasOwnProperty.call(t, l[i])) return !1;
51
- for (i = r; i-- !== 0; ) {
52
- var a = l[i];
53
- if (!e(o[a], t[a])) return !1;
45
+ if (o.constructor === RegExp) return o.source === i.source && o.flags === i.flags;
46
+ if (o.valueOf !== Object.prototype.valueOf) return o.valueOf() === i.valueOf();
47
+ if (o.toString !== Object.prototype.toString) return o.toString() === i.toString();
48
+ if (r = Object.keys(o), d = r.length, d !== Object.keys(i).length) return !1;
49
+ for (n = d; n-- !== 0; )
50
+ if (!Object.prototype.hasOwnProperty.call(i, r[n])) return !1;
51
+ for (n = d; n-- !== 0; ) {
52
+ var s = r[n];
53
+ if (!e(o[s], i[s])) return !1;
54
54
  }
55
55
  return !0;
56
56
  }
57
- return o !== o && t !== t;
57
+ return o !== o && i !== i;
58
58
  };
59
- const ue = /* @__PURE__ */ lo(no), j = "@vcmap/module-selector", io = "2.0.2", ro = "^6.0";
60
- async function Ie(e, o) {
61
- const t = await fetch(e, {
59
+ const ve = /* @__PURE__ */ no(ro), L = "@vcmap/module-selector", so = "2.0.4", uo = "^6.0";
60
+ async function $e(e, o) {
61
+ const i = await fetch(e, {
62
62
  method: "GET"
63
- }).then((r) => {
64
- if (r.ok)
65
- return r.json();
63
+ }).then((d) => {
64
+ if (d.ok)
65
+ return d.json();
66
66
  });
67
- if (t) {
68
- t._id = "moduleSelector_module_id";
69
- const r = new oo(t);
70
- await o.addModule(r);
67
+ if (i) {
68
+ i._id = "moduleSelector_module_id";
69
+ const d = new lo(i);
70
+ await o.addModule(d);
71
71
  }
72
72
  }
73
73
  async function ao(e) {
74
- var i, l;
75
- const o = "moduleSelector_module_id", t = (i = e.maps.activeMap) == null ? void 0 : i.name;
76
- e.getModuleById(o) && await e.removeModule(o), e.maps.activeMap || await e.maps.setActiveMap(t || ((l = [...e.maps][0]) == null ? void 0 : l.name));
74
+ var n, r;
75
+ const o = "moduleSelector_module_id", i = (n = e.maps.activeMap) == null ? void 0 : n.name;
76
+ e.getModuleById(o) && await e.removeModule(o), e.maps.activeMap || await e.maps.setActiveMap(i || ((r = [...e.maps][0]) == null ? void 0 : r.name));
77
77
  }
78
78
  const ae = "moduleSelector_window_id";
79
- async function Ue(e, o, t, r, i) {
80
- var s;
81
- if (await ao(t), e === null && !i) {
82
- t.windowManager.remove(ae);
79
+ async function Oe(e, o, i, d, n) {
80
+ var u;
81
+ if (await ao(i), e === null && !n) {
82
+ i.windowManager.remove(ae);
83
83
  return;
84
84
  }
85
- const l = r[e], a = (l == null ? void 0 : l.type) === "group" ? (s = l.cards) == null ? void 0 : s[o] : null;
86
- a != null && a.moduleUrl ? await Ie(a.moduleUrl, t) : (l == null ? void 0 : l.type) === "url" && await Ie(l.moduleUrl, t), t.windowManager.remove(ae);
85
+ const r = d[e], s = (r == null ? void 0 : r.type) === "group" ? (u = r.cards) == null ? void 0 : u[o] : null;
86
+ s != null && s.moduleUrl ? await $e(s.moduleUrl, i) : (r == null ? void 0 : r.type) === "url" && await $e(r.moduleUrl, i), i.windowManager.remove(ae);
87
87
  }
88
- const so = J({
88
+ const co = oe({
89
89
  name: "ModuleSelector",
90
- methods: { startApplication: Ue },
90
+ methods: { startApplication: Oe },
91
91
  components: {
92
- VSheet: Je,
93
- VContainer: Z,
94
- VRow: Q,
95
- VCol: X,
96
- VCard: Ve,
97
- VIcon: _e,
98
- VCardTitle: Ze,
99
- VcsFormButton: he
92
+ VSheet: Ae,
93
+ VContainer: te,
94
+ VRow: le,
95
+ VCol: ie,
96
+ VCard: Ie,
97
+ VIcon: Te,
98
+ VCardTitle: eo,
99
+ VcsFormButton: ce,
100
+ VTooltip: Ne
100
101
  },
101
102
  props: {
102
103
  modules: {
@@ -115,79 +116,110 @@ const so = J({
115
116
  }
116
117
  },
117
118
  setup(e) {
118
- const o = Se("vcsApp"), t = o.plugins.getByKey(j), { modules: r } = e, i = H(() => {
119
- const u = e.modules[t.selectedMainModuleIndex.value];
120
- return (u == null ? void 0 : u.type) === "group" ? u.cards : [];
121
- }), l = (u) => {
122
- t.selectedMainModuleIndex.value === u ? t.selectedMainModuleIndex.value = null : t.selectedMainModuleIndex.value = u;
123
- }, a = (u) => {
124
- t.selectedNestedModuleIndex.value === u ? t.selectedNestedModuleIndex.value = null : t.selectedNestedModuleIndex.value = u;
125
- }, s = () => {
126
- t.selectedNestedModuleIndex.value = null, t.selectedMainModuleIndex.value = null;
127
- }, f = H(() => {
119
+ const o = Ue("vcsApp"), i = o.plugins.getByKey(L), { modules: d } = e, n = J(() => {
120
+ const c = e.modules[i.selectedMainModuleIndex.value];
121
+ return (c == null ? void 0 : c.type) === "group" ? c.cards : [];
122
+ }), r = (c) => {
123
+ i.selectedMainModuleIndex.value === c ? i.selectedMainModuleIndex.value = null : i.selectedMainModuleIndex.value = c;
124
+ }, s = (c) => {
125
+ i.selectedNestedModuleIndex.value === c ? i.selectedNestedModuleIndex.value = null : i.selectedNestedModuleIndex.value = c;
126
+ }, u = () => {
127
+ i.selectedNestedModuleIndex.value = null, i.selectedMainModuleIndex.value = null;
128
+ }, y = J(() => {
128
129
  if (!e.requireModuleSelection) return !1;
129
- const u = t.selectedMainModuleIndex.value, C = t.selectedNestedModuleIndex.value, b = r[u];
130
- return u == null || (b == null ? void 0 : b.type) === "group" && b.cards && C == null;
130
+ const c = i.selectedMainModuleIndex.value, h = i.selectedNestedModuleIndex.value, S = d[c];
131
+ return c == null || (S == null ? void 0 : S.type) === "group" && S.cards && h == null;
131
132
  });
132
133
  return {
133
- nestedCards: i,
134
- plugin: t,
135
- selectModule: l,
136
- selectNestedModule: a,
137
- showMainCards: s,
138
- isButtonDisabled: f,
134
+ nestedCards: n,
135
+ plugin: i,
136
+ selectModule: r,
137
+ selectNestedModule: s,
138
+ showMainCards: u,
139
+ isButtonDisabled: y,
139
140
  app: o
140
141
  };
141
142
  }
142
- }), Y = (e, o) => {
143
- const t = e.__vccOpts || e;
144
- for (const [r, i] of o)
145
- t[r] = i;
146
- return t;
143
+ }), ne = (e, o) => {
144
+ const i = e.__vccOpts || e;
145
+ for (const [d, n] of o)
146
+ i[d] = n;
147
+ return i;
147
148
  };
148
- function uo(e, o, t, r, i, l) {
149
- const a = c("v-icon"), s = c("v-card-title"), f = c("v-card"), u = c("v-col"), C = c("v-row"), b = c("VcsFormButton"), g = c("v-container"), R = c("v-sheet");
150
- return I(), $(R, {
149
+ function mo(e, o, i, d, n, r) {
150
+ const s = a("v-icon"), u = a("v-tooltip"), y = a("v-card-title"), c = a("v-card"), h = a("v-col"), S = a("v-row"), $ = a("VcsFormButton"), B = a("v-container"), V = a("v-sheet");
151
+ return C(), _(V, {
151
152
  class: "module-selector",
152
153
  elevation: "1"
153
154
  }, {
154
- default: n(() => [
155
- d(g, null, {
156
- default: n(() => [
157
- d(C, {
155
+ default: t(() => [
156
+ l(B, null, {
157
+ default: t(() => [
158
+ l(S, {
158
159
  class: "justify-center align-center",
159
160
  "no-gutters": ""
160
161
  }, {
161
- default: n(() => [
162
- e.basisModule && !e.nestedCards.length ? (I(), $(u, {
162
+ default: t(() => [
163
+ e.basisModule && !e.nestedCards.length ? (C(), _(h, {
163
164
  key: 0,
164
165
  cols: "auto",
165
166
  class: "pa-2"
166
167
  }, {
167
- default: n(() => [
168
- d(f, {
168
+ default: t(() => [
169
+ l(c, {
169
170
  class: "pa-3 fixed-card selected-card",
170
- outlined: ""
171
+ variant: "outlined"
171
172
  }, {
172
- default: n(() => [
173
- e.basisModule.icon ? (I(), $(a, {
173
+ default: t(() => [
174
+ l(u, { "max-width": 300 }, {
175
+ activator: t(({ props: g }) => [
176
+ e.basisModule.description ? (C(), _(
177
+ s,
178
+ se({
179
+ key: 0,
180
+ class: "top-right-icon"
181
+ }, g),
182
+ {
183
+ default: t(() => [
184
+ M(v("$vcsInfo"))
185
+ ]),
186
+ _: 2
187
+ /* DYNAMIC */
188
+ },
189
+ 1040
190
+ /* FULL_PROPS, DYNAMIC_SLOTS */
191
+ )) : G("v-if", !0)
192
+ ]),
193
+ default: t(() => [
194
+ H(
195
+ "span",
196
+ null,
197
+ v(e.$st(e.basisModule.description)),
198
+ 1
199
+ /* TEXT */
200
+ )
201
+ ]),
202
+ _: 1
203
+ /* STABLE */
204
+ }),
205
+ e.basisModule.icon ? (C(), _(s, {
174
206
  key: 0,
175
207
  size: "50"
176
208
  }, {
177
- default: n(() => [
178
- S(
179
- V(e.basisModule.icon),
209
+ default: t(() => [
210
+ M(
211
+ v(e.basisModule.icon),
180
212
  1
181
213
  /* TEXT */
182
214
  )
183
215
  ]),
184
216
  _: 1
185
217
  /* STABLE */
186
- })) : q("v-if", !0),
187
- d(s, { class: "text-center" }, {
188
- default: n(() => [
189
- S(
190
- V(e.$st(e.basisModule.title)),
218
+ })) : G("v-if", !0),
219
+ l(y, { class: "text-center" }, {
220
+ default: t(() => [
221
+ M(
222
+ v(e.$st(e.basisModule.title)),
191
223
  1
192
224
  /* TEXT */
193
225
  )
@@ -202,31 +234,31 @@ function uo(e, o, t, r, i, l) {
202
234
  ]),
203
235
  _: 1
204
236
  /* STABLE */
205
- })) : q("v-if", !0),
206
- e.nestedCards.length ? (I(), ie(
207
- de,
237
+ })) : G("v-if", !0),
238
+ e.nestedCards.length ? (C(), x(
239
+ ee,
208
240
  { key: 2 },
209
241
  [
210
- d(u, {
242
+ l(h, {
211
243
  cols: "auto",
212
244
  class: "pa-2"
213
245
  }, {
214
- default: n(() => [
215
- d(f, {
246
+ default: t(() => [
247
+ l(c, {
216
248
  class: "fixed-card hover-card",
217
- outlined: "",
218
- onClick: o[0] || (o[0] = (v) => e.showMainCards())
249
+ variant: "outlined",
250
+ onClick: o[0] || (o[0] = (g) => e.showMainCards())
219
251
  }, {
220
- default: n(() => [
221
- d(a, { size: "50" }, {
222
- default: n(() => [
223
- S("mdi-arrow-left")
252
+ default: t(() => [
253
+ l(s, { size: "50" }, {
254
+ default: t(() => [
255
+ M("mdi-arrow-left")
224
256
  ]),
225
257
  _: 1
226
258
  /* STABLE */
227
259
  }),
228
- S(
229
- " " + V(e.$st("moduleSelector.cardBack")),
260
+ M(
261
+ " " + v(e.$st("moduleSelector.cardBack")),
230
262
  1
231
263
  /* TEXT */
232
264
  )
@@ -238,36 +270,74 @@ function uo(e, o, t, r, i, l) {
238
270
  _: 1
239
271
  /* STABLE */
240
272
  }),
241
- (I(!0), ie(
242
- de,
273
+ (C(!0), x(
274
+ ee,
243
275
  null,
244
- me(e.nestedCards, (v, y) => (I(), $(
245
- u,
276
+ Me(e.nestedCards, (g, N) => (C(), _(
277
+ h,
246
278
  {
247
- key: y,
279
+ key: N,
248
280
  cols: "auto",
249
281
  class: "pa-2"
250
282
  },
251
283
  {
252
- default: n(() => [
253
- d(f, {
254
- class: ye(["fixed-card hover-card", {
255
- "selected-card": e.plugin.selectedNestedModuleIndex.value === y
284
+ default: t(() => [
285
+ l(c, {
286
+ class: re(["fixed-card hover-card", {
287
+ "selected-card": e.plugin.selectedNestedModuleIndex.value === N
256
288
  }]),
257
- outlined: "",
258
- onClick: (U) => e.selectNestedModule(y)
289
+ variant: "outlined",
290
+ onClick: (p) => e.selectNestedModule(N)
259
291
  }, {
260
- default: n(() => [
261
- v.icon ? (I(), $(
262
- a,
292
+ default: t(() => [
293
+ l(
294
+ u,
295
+ { "max-width": 300 },
296
+ {
297
+ activator: t(({ props: p }) => [
298
+ g.description ? (C(), _(
299
+ s,
300
+ se({
301
+ key: 0,
302
+ class: "top-right-icon",
303
+ ref_for: !0
304
+ }, p),
305
+ {
306
+ default: t(() => [
307
+ M(v("$vcsInfo"))
308
+ ]),
309
+ _: 2
310
+ /* DYNAMIC */
311
+ },
312
+ 1040
313
+ /* FULL_PROPS, DYNAMIC_SLOTS */
314
+ )) : G("v-if", !0)
315
+ ]),
316
+ default: t(() => [
317
+ H(
318
+ "span",
319
+ null,
320
+ v(e.$st(g.description)),
321
+ 1
322
+ /* TEXT */
323
+ )
324
+ ]),
325
+ _: 2
326
+ /* DYNAMIC */
327
+ },
328
+ 1024
329
+ /* DYNAMIC_SLOTS */
330
+ ),
331
+ g.icon ? (C(), _(
332
+ s,
263
333
  {
264
334
  key: 0,
265
335
  size: "50"
266
336
  },
267
337
  {
268
- default: n(() => [
269
- S(
270
- V(v.icon),
338
+ default: t(() => [
339
+ M(
340
+ v(g.icon),
271
341
  1
272
342
  /* TEXT */
273
343
  )
@@ -277,14 +347,14 @@ function uo(e, o, t, r, i, l) {
277
347
  },
278
348
  1024
279
349
  /* DYNAMIC_SLOTS */
280
- )) : q("v-if", !0),
281
- d(
282
- s,
350
+ )) : G("v-if", !0),
351
+ l(
352
+ y,
283
353
  { class: "text-center" },
284
354
  {
285
- default: n(() => [
286
- S(
287
- V(e.$st(v.title)),
355
+ default: t(() => [
356
+ M(
357
+ v(e.$st(g.title)),
288
358
  1
289
359
  /* TEXT */
290
360
  )
@@ -312,53 +382,55 @@ function uo(e, o, t, r, i, l) {
312
382
  ],
313
383
  64
314
384
  /* STABLE_FRAGMENT */
315
- )) : (I(!0), ie(
316
- de,
385
+ )) : (C(!0), x(
386
+ ee,
317
387
  { key: 1 },
318
- me(e.modules, (v, y) => (I(), $(
319
- u,
388
+ Me(e.modules, (g, N) => (C(), _(
389
+ h,
320
390
  {
321
391
  cols: "auto",
322
392
  class: "pa-2",
323
- key: y
393
+ key: N
324
394
  },
325
395
  {
326
- default: n(() => [
327
- d(f, {
328
- class: ye(["fixed-card hover-card", {
329
- "selected-card": e.plugin.selectedMainModuleIndex.value === y
396
+ default: t(() => [
397
+ l(c, {
398
+ class: re(["fixed-card hover-card", {
399
+ "selected-card": e.plugin.selectedMainModuleIndex.value === N,
400
+ "pr-3": g.type === "group"
330
401
  }]),
331
- outlined: "",
332
- onClick: (U) => e.selectModule(y)
402
+ variant: "outlined",
403
+ onClick: (p) => e.selectModule(N)
333
404
  }, {
334
- default: n(() => [
335
- v.icon ? (I(), $(
336
- a,
405
+ default: t(() => [
406
+ l(
407
+ u,
408
+ { "max-width": 300 },
337
409
  {
338
- key: 0,
339
- size: "50"
340
- },
341
- {
342
- default: n(() => [
343
- S(
344
- V(v.icon),
345
- 1
346
- /* TEXT */
347
- )
410
+ activator: t(({ props: p }) => [
411
+ g.description ? (C(), _(
412
+ s,
413
+ se({
414
+ key: 0,
415
+ class: "top-right-icon",
416
+ ref_for: !0
417
+ }, p),
418
+ {
419
+ default: t(() => [
420
+ M(v("$vcsInfo"))
421
+ ]),
422
+ _: 2
423
+ /* DYNAMIC */
424
+ },
425
+ 1040
426
+ /* FULL_PROPS, DYNAMIC_SLOTS */
427
+ )) : G("v-if", !0)
348
428
  ]),
349
- _: 2
350
- /* DYNAMIC */
351
- },
352
- 1024
353
- /* DYNAMIC_SLOTS */
354
- )) : q("v-if", !0),
355
- d(
356
- s,
357
- { class: "text-center" },
358
- {
359
- default: n(() => [
360
- S(
361
- V(e.$st(v.title)),
429
+ default: t(() => [
430
+ H(
431
+ "span",
432
+ null,
433
+ v(e.$st(g.description)),
362
434
  1
363
435
  /* TEXT */
364
436
  )
@@ -368,7 +440,115 @@ function uo(e, o, t, r, i, l) {
368
440
  },
369
441
  1024
370
442
  /* DYNAMIC_SLOTS */
371
- )
443
+ ),
444
+ g.type === "group" && g.cards ? (C(), _(c, {
445
+ key: 0,
446
+ class: re(["intermediate-card", {
447
+ "selected-card": e.plugin.selectedMainModuleIndex.value === N,
448
+ "pr-3": g.type === "group"
449
+ }]),
450
+ variant: "outlined"
451
+ }, {
452
+ default: t(() => [
453
+ l(c, {
454
+ variant: g.type === "group" && g.cards ? "outlined" : void 0,
455
+ class: re({
456
+ "selected-card": e.plugin.selectedMainModuleIndex.value === N,
457
+ groupCard: g.type === "group",
458
+ innerCard: g.type === "group"
459
+ })
460
+ }, {
461
+ default: t(() => [
462
+ g.icon ? (C(), _(
463
+ s,
464
+ {
465
+ key: 0,
466
+ size: "50",
467
+ class: "groupIcon"
468
+ },
469
+ {
470
+ default: t(() => [
471
+ M(
472
+ v(g.icon),
473
+ 1
474
+ /* TEXT */
475
+ )
476
+ ]),
477
+ _: 2
478
+ /* DYNAMIC */
479
+ },
480
+ 1024
481
+ /* DYNAMIC_SLOTS */
482
+ )) : G("v-if", !0),
483
+ l(
484
+ y,
485
+ { class: "text-center groupTitle" },
486
+ {
487
+ default: t(() => [
488
+ M(
489
+ v(e.$st(g.title)),
490
+ 1
491
+ /* TEXT */
492
+ )
493
+ ]),
494
+ _: 2
495
+ /* DYNAMIC */
496
+ },
497
+ 1024
498
+ /* DYNAMIC_SLOTS */
499
+ )
500
+ ]),
501
+ _: 2
502
+ /* DYNAMIC */
503
+ }, 1032, ["variant", "class"])
504
+ ]),
505
+ _: 2
506
+ /* DYNAMIC */
507
+ }, 1032, ["class"])) : (C(), x(
508
+ ee,
509
+ { key: 1 },
510
+ [
511
+ g.icon ? (C(), _(
512
+ s,
513
+ {
514
+ key: 0,
515
+ size: "50"
516
+ },
517
+ {
518
+ default: t(() => [
519
+ M(
520
+ v(g.icon),
521
+ 1
522
+ /* TEXT */
523
+ )
524
+ ]),
525
+ _: 2
526
+ /* DYNAMIC */
527
+ },
528
+ 1024
529
+ /* DYNAMIC_SLOTS */
530
+ )) : G("v-if", !0),
531
+ l(
532
+ y,
533
+ { class: "text-center" },
534
+ {
535
+ default: t(() => [
536
+ M(
537
+ v(e.$st(g.title)),
538
+ 1
539
+ /* TEXT */
540
+ )
541
+ ]),
542
+ _: 2
543
+ /* DYNAMIC */
544
+ },
545
+ 1024
546
+ /* DYNAMIC_SLOTS */
547
+ )
548
+ ],
549
+ 64
550
+ /* STABLE_FRAGMENT */
551
+ ))
372
552
  ]),
373
553
  _: 2
374
554
  /* DYNAMIC */
@@ -387,12 +567,12 @@ function uo(e, o, t, r, i, l) {
387
567
  _: 1
388
568
  /* STABLE */
389
569
  }),
390
- d(C, { justify: "end" }, {
391
- default: n(() => [
392
- d(b, {
570
+ l(S, { justify: "end" }, {
571
+ default: t(() => [
572
+ l($, {
393
573
  variant: "filled",
394
574
  class: "ma-5",
395
- onClick: o[1] || (o[1] = (v) => e.startApplication(
575
+ onClick: o[1] || (o[1] = (g) => e.startApplication(
396
576
  e.plugin.selectedMainModuleIndex.value,
397
577
  e.plugin.selectedNestedModuleIndex.value,
398
578
  e.app,
@@ -401,9 +581,9 @@ function uo(e, o, t, r, i, l) {
401
581
  )),
402
582
  disabled: e.isButtonDisabled
403
583
  }, {
404
- default: n(() => [
405
- S(
406
- V(e.$st("moduleSelector.startButton")),
584
+ default: t(() => [
585
+ M(
586
+ v(e.$st("moduleSelector.startButton")),
407
587
  1
408
588
  /* TEXT */
409
589
  )
@@ -424,14 +604,15 @@ function uo(e, o, t, r, i, l) {
424
604
  /* STABLE */
425
605
  });
426
606
  }
427
- const co = /* @__PURE__ */ Y(so, [["render", uo], ["__scopeId", "data-v-29a2202f"]]), re = () => ({
607
+ const po = /* @__PURE__ */ ne(co, [["render", mo], ["__scopeId", "data-v-41b623dc"]]), ue = () => ({
428
608
  windowTitle: "moduleSelector.title",
429
609
  isActiveOnStart: !0,
430
610
  requireModuleSelection: !1,
431
611
  position: {
432
612
  left: "33%",
433
613
  right: "33%",
434
- top: "10%"
614
+ top: "10%",
615
+ maxHeight: "80%"
435
616
  },
436
617
  basisModule: void 0,
437
618
  modules: [],
@@ -439,19 +620,20 @@ const co = /* @__PURE__ */ Y(so, [["render", uo], ["__scopeId", "data-v-29a2202f
439
620
  projectId: "",
440
621
  appId: "",
441
622
  token: ""
442
- }), mo = J({
623
+ }), fo = oe({
443
624
  name: "ModuleEditor",
444
625
  components: {
445
- VcsTextField: se,
446
- VcsLabel: be,
447
- VCol: X,
448
- VRow: Q,
449
- VForm: ke,
450
- VContainer: Z,
451
- VcsFormButton: he,
452
- VDivider: Qe,
453
- VCard: Ve,
454
- VcsFormSection: Me
626
+ VcsTextField: me,
627
+ VcsLabel: ye,
628
+ VCol: ie,
629
+ VRow: le,
630
+ VForm: Ee,
631
+ VContainer: te,
632
+ VcsFormButton: ce,
633
+ VDivider: oo,
634
+ VCard: Ie,
635
+ VcsFormSection: Se,
636
+ VcsTextArea: we
455
637
  },
456
638
  props: {
457
639
  modelValue: {
@@ -460,42 +642,42 @@ const co = /* @__PURE__ */ Y(so, [["render", uo], ["__scopeId", "data-v-29a2202f
460
642
  }
461
643
  },
462
644
  setup(e) {
463
- const o = k(e.modelValue), t = k(!1);
645
+ const o = A(e.modelValue), i = A(!1);
464
646
  return {
465
647
  localModuleOptions: o,
466
- isFormValid: t,
648
+ isFormValid: i,
467
649
  validateForm: () => {
468
- t.value = !!o.value.title;
650
+ i.value = !!o.value.title;
469
651
  },
470
- requiredRule: (l) => !!l || "moduleSelector.configEditor.editorError"
652
+ requiredRule: (r) => !!r || "moduleSelector.configEditor.editorError"
471
653
  };
472
654
  }
473
- }), po = { class: "d-flex gc-2 w-100 justify-end pa-2" };
474
- function fo(e, o, t, r, i, l) {
475
- const a = c("VcsLabel"), s = c("v-col"), f = c("VcsTextField"), u = c("v-row"), C = c("v-container"), b = c("v-form"), g = c("v-divider"), R = c("VcsFormButton"), v = c("VcsFormSection"), y = c("v-card");
476
- return I(), $(y, null, {
477
- default: n(() => [
478
- d(v, null, {
479
- default: n(() => [
480
- d(b, {
655
+ }), vo = { class: "d-flex gc-2 w-100 justify-end pa-2" };
656
+ function go(e, o, i, d, n, r) {
657
+ const s = a("VcsLabel"), u = a("v-col"), y = a("VcsTextField"), c = a("v-row"), h = a("VcsTextArea"), S = a("v-container"), $ = a("v-form"), B = a("v-divider"), V = a("VcsFormButton"), g = a("VcsFormSection"), N = a("v-card");
658
+ return C(), _(N, null, {
659
+ default: t(() => [
660
+ l(g, null, {
661
+ default: t(() => [
662
+ l($, {
481
663
  modelValue: e.isFormValid,
482
- "onUpdate:modelValue": o[3] || (o[3] = (U) => e.isFormValid = U),
664
+ "onUpdate:modelValue": o[4] || (o[4] = (p) => e.isFormValid = p),
483
665
  ref: "form"
484
666
  }, {
485
- default: n(() => [
486
- d(C, { class: "px-2 pt-0 pb-2" }, {
487
- default: n(() => [
488
- d(u, { "no-gutters": "" }, {
489
- default: n(() => [
490
- d(s, { cols: "6" }, {
491
- default: n(() => [
492
- d(a, {
667
+ default: t(() => [
668
+ l(S, { class: "px-2 pt-0 pb-2" }, {
669
+ default: t(() => [
670
+ l(c, { "no-gutters": "" }, {
671
+ default: t(() => [
672
+ l(u, { cols: "6" }, {
673
+ default: t(() => [
674
+ l(s, {
493
675
  required: "",
494
676
  "html-for": "moduleName"
495
677
  }, {
496
- default: n(() => [
497
- S(
498
- V(e.$st("moduleSelector.configEditor.moduleName")),
678
+ default: t(() => [
679
+ M(
680
+ v(e.$st("moduleSelector.configEditor.moduleName")),
499
681
  1
500
682
  /* TEXT */
501
683
  )
@@ -507,13 +689,13 @@ function fo(e, o, t, r, i, l) {
507
689
  _: 1
508
690
  /* STABLE */
509
691
  }),
510
- d(s, { cols: "6" }, {
511
- default: n(() => [
512
- d(f, {
692
+ l(u, { cols: "6" }, {
693
+ default: t(() => [
694
+ l(y, {
513
695
  id: "moduleName",
514
696
  placeholder: "Module Name",
515
697
  modelValue: e.localModuleOptions.title,
516
- "onUpdate:modelValue": o[0] || (o[0] = (U) => e.localModuleOptions.title = U),
698
+ "onUpdate:modelValue": o[0] || (o[0] = (p) => e.localModuleOptions.title = p),
517
699
  rules: [e.requiredRule]
518
700
  }, null, 8, ["modelValue", "rules"])
519
701
  ]),
@@ -524,17 +706,17 @@ function fo(e, o, t, r, i, l) {
524
706
  _: 1
525
707
  /* STABLE */
526
708
  }),
527
- d(u, { "no-gutters": "" }, {
528
- default: n(() => [
529
- d(s, { cols: "6" }, {
530
- default: n(() => [
531
- d(a, {
709
+ l(c, { "no-gutters": "" }, {
710
+ default: t(() => [
711
+ l(u, { cols: "6" }, {
712
+ default: t(() => [
713
+ l(s, {
532
714
  required: "",
533
715
  "html-for": "moduleIcon"
534
716
  }, {
535
- default: n(() => [
536
- S(
537
- V(e.$st("moduleSelector.configEditor.moduleIcon")),
717
+ default: t(() => [
718
+ M(
719
+ v(e.$st("moduleSelector.configEditor.moduleIcon")),
538
720
  1
539
721
  /* TEXT */
540
722
  )
@@ -546,13 +728,13 @@ function fo(e, o, t, r, i, l) {
546
728
  _: 1
547
729
  /* STABLE */
548
730
  }),
549
- d(s, { cols: "6" }, {
550
- default: n(() => [
551
- d(f, {
731
+ l(u, { cols: "6" }, {
732
+ default: t(() => [
733
+ l(y, {
552
734
  id: "moduleIcon",
553
735
  placeholder: "Icon Name",
554
736
  modelValue: e.localModuleOptions.icon,
555
- "onUpdate:modelValue": o[1] || (o[1] = (U) => e.localModuleOptions.icon = U),
737
+ "onUpdate:modelValue": o[1] || (o[1] = (p) => e.localModuleOptions.icon = p),
556
738
  rules: [e.requiredRule]
557
739
  }, null, 8, ["modelValue", "rules"])
558
740
  ]),
@@ -563,17 +745,17 @@ function fo(e, o, t, r, i, l) {
563
745
  _: 1
564
746
  /* STABLE */
565
747
  }),
566
- d(u, { "no-gutters": "" }, {
567
- default: n(() => [
568
- d(s, { cols: "6" }, {
569
- default: n(() => [
570
- d(a, {
748
+ l(c, { "no-gutters": "" }, {
749
+ default: t(() => [
750
+ l(u, { cols: "6" }, {
751
+ default: t(() => [
752
+ l(s, {
571
753
  required: "",
572
754
  "html-for": "moduleUrl"
573
755
  }, {
574
- default: n(() => [
575
- S(
576
- V(e.$st("moduleSelector.configEditor.moduleUrl")),
756
+ default: t(() => [
757
+ M(
758
+ v(e.$st("moduleSelector.configEditor.moduleUrl")),
577
759
  1
578
760
  /* TEXT */
579
761
  )
@@ -585,13 +767,13 @@ function fo(e, o, t, r, i, l) {
585
767
  _: 1
586
768
  /* STABLE */
587
769
  }),
588
- d(s, { cols: "6" }, {
589
- default: n(() => [
590
- d(f, {
770
+ l(u, { cols: "6" }, {
771
+ default: t(() => [
772
+ l(y, {
591
773
  id: "moduleUrl",
592
774
  placeholder: "URL",
593
775
  modelValue: e.localModuleOptions.moduleUrl,
594
- "onUpdate:modelValue": o[2] || (o[2] = (U) => e.localModuleOptions.moduleUrl = U),
776
+ "onUpdate:modelValue": o[2] || (o[2] = (p) => e.localModuleOptions.moduleUrl = p),
595
777
  rules: [e.requiredRule]
596
778
  }, null, 8, ["modelValue", "rules"])
597
779
  ]),
@@ -601,6 +783,40 @@ function fo(e, o, t, r, i, l) {
601
783
  ]),
602
784
  _: 1
603
785
  /* STABLE */
786
+ }),
787
+ l(c, { "no-gutters": "" }, {
788
+ default: t(() => [
789
+ l(u, { cols: "6" }, {
790
+ default: t(() => [
791
+ l(s, { "html-for": "moduleDescription" }, {
792
+ default: t(() => [
793
+ M(
794
+ v(e.$st("moduleSelector.configEditor.moduleDescription")),
795
+ 1
796
+ /* TEXT */
797
+ )
798
+ ]),
799
+ _: 1
800
+ /* STABLE */
801
+ })
802
+ ]),
803
+ _: 1
804
+ /* STABLE */
805
+ }),
806
+ l(u, { cols: "6" }, {
807
+ default: t(() => [
808
+ l(h, {
809
+ id: "moduleDescription",
810
+ modelValue: e.localModuleOptions.description,
811
+ "onUpdate:modelValue": o[3] || (o[3] = (p) => e.localModuleOptions.description = p)
812
+ }, null, 8, ["modelValue"])
813
+ ]),
814
+ _: 1
815
+ /* STABLE */
816
+ })
817
+ ]),
818
+ _: 1
819
+ /* STABLE */
604
820
  })
605
821
  ]),
606
822
  _: 1
@@ -610,18 +826,18 @@ function fo(e, o, t, r, i, l) {
610
826
  _: 1
611
827
  /* STABLE */
612
828
  }, 8, ["modelValue"]),
613
- d(g),
614
- pe("div", po, [
615
- d(R, {
829
+ l(B),
830
+ H("div", vo, [
831
+ l(V, {
616
832
  disabled: !e.isFormValid,
617
- onClick: o[4] || (o[4] = () => {
833
+ onClick: o[5] || (o[5] = () => {
618
834
  e.$emit("submit", e.localModuleOptions);
619
835
  }),
620
836
  variant: "filled"
621
837
  }, {
622
- default: n(() => [
623
- S(
624
- V(e.$st("components.apply")),
838
+ default: t(() => [
839
+ M(
840
+ v(e.$st("components.apply")),
625
841
  1
626
842
  /* TEXT */
627
843
  )
@@ -629,12 +845,12 @@ function fo(e, o, t, r, i, l) {
629
845
  _: 1
630
846
  /* STABLE */
631
847
  }, 8, ["disabled"]),
632
- d(R, {
633
- onClick: o[5] || (o[5] = (U) => e.$emit("close"))
848
+ l(V, {
849
+ onClick: o[6] || (o[6] = (p) => e.$emit("close"))
634
850
  }, {
635
- default: n(() => [
636
- S(
637
- V(e.$st("components.cancel")),
851
+ default: t(() => [
852
+ M(
853
+ v(e.$st("components.cancel")),
638
854
  1
639
855
  /* TEXT */
640
856
  )
@@ -652,14 +868,14 @@ function fo(e, o, t, r, i, l) {
652
868
  /* STABLE */
653
869
  });
654
870
  }
655
- const vo = /* @__PURE__ */ Y(mo, [["render", fo]]), go = J({
871
+ const Mo = /* @__PURE__ */ ne(fo, [["render", go]]), ho = oe({
656
872
  name: "WindowPositionSettings",
657
873
  components: {
658
- VContainer: Z,
659
- VRow: Q,
660
- VCol: X,
661
- VcsCheckbox: $e,
662
- VcsTextField: se
874
+ VContainer: te,
875
+ VRow: le,
876
+ VCol: ie,
877
+ VcsCheckbox: _e,
878
+ VcsTextField: me
663
879
  },
664
880
  props: {
665
881
  modelValue: {
@@ -672,55 +888,55 @@ const vo = /* @__PURE__ */ Y(mo, [["render", fo]]), go = J({
672
888
  }
673
889
  },
674
890
  setup(e, { emit: o }) {
675
- const t = Fe(
891
+ const i = je(
676
892
  e,
677
893
  "modelValue",
678
894
  o
679
895
  );
680
896
  return {
681
- inputs: H(() => e.positionKeys.reduce(
682
- (i, l) => (i[l] = {
683
- key: l,
684
- checkbox: Re(t, l, null),
685
- input: H({
897
+ inputs: J(() => e.positionKeys.reduce(
898
+ (n, r) => (n[r] = {
899
+ key: r,
900
+ checkbox: Le(i, r, null),
901
+ input: J({
686
902
  get() {
687
- return t.value[l];
903
+ return i.value[r];
688
904
  },
689
- set(a) {
690
- t.value[l] = a;
905
+ set(s) {
906
+ i.value[r] = s;
691
907
  }
692
908
  }),
693
909
  placeholder: "auto"
694
- }, i),
910
+ }, n),
695
911
  {}
696
912
  ))
697
913
  };
698
914
  }
699
915
  });
700
- function ho(e, o, t, r, i, l) {
701
- const a = c("VcsCheckbox"), s = c("v-col"), f = c("VcsTextField"), u = c("v-row"), C = c("v-container");
702
- return I(), $(C, { class: "py-0 px-1" }, {
703
- default: n(() => [
704
- (I(!0), ie(
705
- de,
916
+ function Vo(e, o, i, d, n, r) {
917
+ const s = a("VcsCheckbox"), u = a("v-col"), y = a("VcsTextField"), c = a("v-row"), h = a("v-container");
918
+ return C(), _(h, { class: "py-0 px-1" }, {
919
+ default: t(() => [
920
+ (C(!0), x(
921
+ ee,
706
922
  null,
707
- me(e.inputs, ({ key: b, checkbox: g, input: R, placeholder: v }) => (I(), $(
708
- u,
923
+ Me(e.inputs, ({ key: S, checkbox: $, input: B, placeholder: V }) => (C(), _(
924
+ c,
709
925
  {
710
926
  "no-gutters": "",
711
- key: b
927
+ key: S
712
928
  },
713
929
  {
714
- default: n(() => [
715
- d(
716
- s,
930
+ default: t(() => [
931
+ l(
932
+ u,
717
933
  null,
718
934
  {
719
- default: n(() => [
720
- d(a, {
721
- label: `appConfigurator.editors.featureInfo.window.position.${b}`,
722
- modelValue: g.value,
723
- "onUpdate:modelValue": (y) => g.value = y
935
+ default: t(() => [
936
+ l(s, {
937
+ label: `appConfigurator.editors.featureInfo.window.position.${S}`,
938
+ modelValue: $.value,
939
+ "onUpdate:modelValue": (g) => $.value = g
724
940
  }, null, 8, ["label", "modelValue", "onUpdate:modelValue"])
725
941
  ]),
726
942
  _: 2
@@ -729,17 +945,17 @@ function ho(e, o, t, r, i, l) {
729
945
  1024
730
946
  /* DYNAMIC_SLOTS */
731
947
  ),
732
- d(
733
- s,
948
+ l(
949
+ u,
734
950
  null,
735
951
  {
736
- default: n(() => [
737
- d(f, {
952
+ default: t(() => [
953
+ l(y, {
738
954
  clearable: "",
739
- disabled: !g.value,
740
- placeholder: v,
741
- modelValue: R.value,
742
- "onUpdate:modelValue": (y) => R.value = y,
955
+ disabled: !$.value,
956
+ placeholder: V,
957
+ modelValue: B.value,
958
+ "onUpdate:modelValue": (g) => B.value = g,
743
959
  modelModifiers: { trim: !0 }
744
960
  }, null, 8, ["disabled", "placeholder", "modelValue", "onUpdate:modelValue"])
745
961
  ]),
@@ -764,67 +980,67 @@ function ho(e, o, t, r, i, l) {
764
980
  /* STABLE */
765
981
  });
766
982
  }
767
- const bo = /* @__PURE__ */ Y(go, [["render", ho]]);
768
- let Ae = "";
769
- function Mo(e) {
770
- Ae = e;
983
+ const bo = /* @__PURE__ */ ne(ho, [["render", Vo]]);
984
+ let De = "";
985
+ function yo(e) {
986
+ De = e;
771
987
  }
772
- let fe;
988
+ let he;
773
989
  function So(e) {
774
- fe = e;
990
+ he = e;
775
991
  }
776
- let Ce = {};
777
- function Vo() {
778
- return fe ? {
779
- authorization: `Bearer ${fe}`,
780
- ...Ce
781
- } : { ...Ce };
992
+ let ke = {};
993
+ function wo() {
994
+ return he ? {
995
+ authorization: `Bearer ${he}`,
996
+ ...ke
997
+ } : { ...ke };
782
998
  }
783
- class yo extends Error {
784
- constructor(t, r, i, l, a) {
785
- super(`Failed to ${r} ${i}. Got status ${t} with reason: ${l}`);
786
- W(this, "url");
787
- W(this, "method");
788
- W(this, "status");
789
- W(this, "reason");
790
- W(this, "error");
791
- this.error = a, this.method = r, this.status = t, this.url = i, this.reason = l;
999
+ class Io extends Error {
1000
+ constructor(i, d, n, r, s) {
1001
+ super(`Failed to ${d} ${n}. Got status ${i} with reason: ${r}`);
1002
+ K(this, "url");
1003
+ K(this, "method");
1004
+ K(this, "status");
1005
+ K(this, "reason");
1006
+ K(this, "error");
1007
+ this.error = s, this.method = d, this.status = i, this.url = n, this.reason = r;
792
1008
  }
793
1009
  }
794
- function wo(e, o, t) {
795
- let r = e;
796
- Object.keys(t).filter((l) => t[l] === "path").map((l) => ({ key: l, param: o[l] })).forEach(({ key: l, param: a }) => {
797
- r = r.replace(`{${l}}`, a.toString());
1010
+ function Eo(e, o, i) {
1011
+ let d = e;
1012
+ Object.keys(i).filter((r) => i[r] === "path").map((r) => ({ key: r, param: o[r] })).forEach(({ key: r, param: s }) => {
1013
+ d = d.replace(`{${r}}`, s.toString());
798
1014
  });
799
- const i = new URL(r, Ae);
800
- return Object.keys(t).filter((l) => t[l] === "query" && o[l]).map((l) => ({ key: l, param: o[l] })).forEach(({ key: l, param: a }) => {
801
- Array.isArray(a) ? a.forEach((s) => {
802
- i.searchParams.append(l, s.toString());
803
- }) : i.searchParams.append(l, a.toString());
804
- }), i.toString();
1015
+ const n = new URL(d, De);
1016
+ return Object.keys(i).filter((r) => i[r] === "query" && o[r]).map((r) => ({ key: r, param: o[r] })).forEach(({ key: r, param: s }) => {
1017
+ Array.isArray(s) ? s.forEach((u) => {
1018
+ n.searchParams.append(r, u.toString());
1019
+ }) : n.searchParams.append(r, s.toString());
1020
+ }), n.toString();
805
1021
  }
806
- async function Eo(e, o, t, r = void 0, i = {}) {
807
- const l = await fetch(e, {
1022
+ async function Co(e, o, i, d = void 0, n = {}) {
1023
+ const r = await fetch(e, {
808
1024
  method: o,
809
- body: r,
810
- headers: { ...i, ...Vo() },
1025
+ body: d,
1026
+ headers: { ...n, ...wo() },
811
1027
  redirect: "follow"
812
1028
  });
813
- if (l.status === t)
814
- return l;
815
- let a = await l.text(), s;
1029
+ if (r.status === i)
1030
+ return r;
1031
+ let s = await r.text(), u;
816
1032
  try {
817
- const f = JSON.parse(a);
818
- f.reason && ({ reason: a } = f), f.error && ({ error: s } = f);
1033
+ const y = JSON.parse(s);
1034
+ y.reason && ({ reason: s } = y), y.error && ({ error: u } = y);
819
1035
  } catch {
820
1036
  }
821
- throw new yo(l.status, o, e, a, s);
1037
+ throw new Io(r.status, o, e, s, u);
822
1038
  }
823
- async function Io(e, o, t, r = void 0, i = {}) {
824
- return (await Eo(e, o, t, r, i)).json();
1039
+ async function $o(e, o, i, d = void 0, n = {}) {
1040
+ return (await Co(e, o, i, d, n)).json();
825
1041
  }
826
- async function Co(e) {
827
- const o = "api/v1/project/{projectId}/modules", t = "get", i = wo(o, e, {
1042
+ async function ko(e) {
1043
+ const o = "api/v1/project/{projectId}/modules", i = "get", n = Eo(o, e, {
828
1044
  projectId: "path",
829
1045
  limit: "query",
830
1046
  page: "query",
@@ -832,33 +1048,33 @@ async function Co(e) {
832
1048
  orderBy: "query",
833
1049
  name: "query"
834
1050
  });
835
- return Io(i, t, 200, void 0, void 0);
1051
+ return $o(n, i, 200, void 0, void 0);
836
1052
  }
837
- const A = {
1053
+ const O = {
838
1054
  OFF: 1,
839
1055
  ERROR: 2,
840
1056
  WARN: 4,
841
1057
  INFO: 8,
842
1058
  DEBUG: 16
843
- }, P = {
1059
+ }, j = {
844
1060
  ERROR: 0,
845
1061
  WARN: 0,
846
1062
  INFO: 0,
847
1063
  DEBUG: 0
848
1064
  };
849
- P.ERROR = A.ERROR | A.WARN | A.INFO | A.DEBUG;
850
- P.WARN = A.WARN | A.INFO | A.DEBUG;
851
- P.INFO = A.INFO | A.DEBUG;
852
- P.DEBUG = A.DEBUG;
853
- const K = {
1065
+ j.ERROR = O.ERROR | O.WARN | O.INFO | O.DEBUG;
1066
+ j.WARN = O.WARN | O.INFO | O.DEBUG;
1067
+ j.INFO = O.INFO | O.DEBUG;
1068
+ j.DEBUG = O.DEBUG;
1069
+ const Y = {
854
1070
  useTimestamp: !1,
855
- logLevel: A.INFO
856
- }, x = /* @__PURE__ */ new Map();
857
- x.set(A.ERROR, "error");
858
- x.set(A.WARN, "warn");
859
- x.set(A.INFO, "info");
860
- x.set(A.DEBUG, "log");
861
- class Ne {
1071
+ logLevel: O.INFO
1072
+ }, de = /* @__PURE__ */ new Map();
1073
+ de.set(O.ERROR, "error");
1074
+ de.set(O.WARN, "warn");
1075
+ de.set(O.INFO, "info");
1076
+ de.set(O.DEBUG, "log");
1077
+ class Be {
862
1078
  /**
863
1079
  * @param {string=} className
864
1080
  */
@@ -870,28 +1086,28 @@ class Ne {
870
1086
  * @param {string} msg The message to log.
871
1087
  * @param {...any} optArgs
872
1088
  */
873
- error(o, ...t) {
874
- K.logLevel & P.ERROR && this._log(String(o), A.ERROR, t);
1089
+ error(o, ...i) {
1090
+ Y.logLevel & j.ERROR && this._log(String(o), O.ERROR, i);
875
1091
  }
876
1092
  /**
877
1093
  * Logs a warning message
878
1094
  * @param {string} msg The message to log.
879
1095
  * @param {...any} optArgs
880
1096
  */
881
- warning(o, ...t) {
882
- K.logLevel & P.WARN && this._log(String(o), A.WARN, t);
1097
+ warning(o, ...i) {
1098
+ Y.logLevel & j.WARN && this._log(String(o), O.WARN, i);
883
1099
  }
884
1100
  /**
885
1101
  * Deprecate a function. deprecations are stored on the logger
886
1102
  * @param {string} functionName
887
1103
  * @param {string=} alternativeFunctionName
888
1104
  */
889
- deprecate(o, t) {
890
- const r = String(o), i = t ? String(t) : null;
891
- if (!this.deprecations.has(r)) {
892
- this.deprecations.set(r, i || null);
893
- let l = `${r} has been deprecated and will be removed`;
894
- i && (l = `${l}. ${i}`), this.warning(l);
1105
+ deprecate(o, i) {
1106
+ const d = String(o), n = i ? String(i) : null;
1107
+ if (!this.deprecations.has(d)) {
1108
+ this.deprecations.set(d, n || null);
1109
+ let r = `${d} has been deprecated and will be removed`;
1110
+ n && (r = `${r}. ${n}`), this.warning(r);
895
1111
  }
896
1112
  }
897
1113
  /**
@@ -899,24 +1115,24 @@ class Ne {
899
1115
  * @param {string} msg The message to log.
900
1116
  * @param {...any} optArgs
901
1117
  */
902
- info(o, ...t) {
903
- K.logLevel & P.INFO && this._log(String(o), A.INFO, t);
1118
+ info(o, ...i) {
1119
+ Y.logLevel & j.INFO && this._log(String(o), O.INFO, i);
904
1120
  }
905
1121
  /**
906
1122
  * Logs a debug message
907
1123
  * @param {string} msg The message to log.
908
1124
  * @param {...any} optArgs
909
1125
  */
910
- debug(o, ...t) {
911
- K.logLevel & P.DEBUG && this._log(String(o), A.DEBUG, t);
1126
+ debug(o, ...i) {
1127
+ Y.logLevel & j.DEBUG && this._log(String(o), O.DEBUG, i);
912
1128
  }
913
1129
  /**
914
1130
  * Alias for debug
915
1131
  * @param {string} msg The message to log.
916
1132
  * @param {...any} optArgs
917
1133
  */
918
- log(o, ...t) {
919
- K.logLevel & P.DEBUG && this._log(String(o), A.DEBUG, t);
1134
+ log(o, ...i) {
1135
+ Y.logLevel & j.DEBUG && this._log(String(o), O.DEBUG, i);
920
1136
  }
921
1137
  /**
922
1138
  * Logs a message
@@ -925,46 +1141,47 @@ class Ne {
925
1141
  * @param {Array} optArgs
926
1142
  * @private
927
1143
  */
928
- _log(o, t, r) {
929
- let i = o;
930
- this.className && (i = `[${this.className}] ${i}`), console[x.get(t)](i, ...r), t & A.ERROR && (console.group(), console.trace(), console.groupEnd());
1144
+ _log(o, i, d) {
1145
+ let n = o;
1146
+ this.className && (n = `[${this.className}] ${n}`), console[de.get(i)](n, ...d), i & O.ERROR && (console.group(), console.trace(), console.groupEnd());
931
1147
  }
932
1148
  }
933
- const ve = /* @__PURE__ */ new Map();
934
- let ce;
935
- function $o() {
936
- return ce || (ce = new Ne()), ce;
1149
+ const Ve = /* @__PURE__ */ new Map();
1150
+ let ge;
1151
+ function _o() {
1152
+ return ge || (ge = new Be()), ge;
937
1153
  }
938
- function _o(e) {
939
- const o = new Ne(e);
940
- return ve.set(e, o), o;
1154
+ function Uo(e) {
1155
+ const o = new Be(e);
1156
+ return Ve.set(e, o), o;
941
1157
  }
942
- function ge(e) {
943
- return e ? ve.has(e) ? ve.get(e) : _o(e) : $o();
1158
+ function be(e) {
1159
+ return e ? Ve.has(e) ? Ve.get(e) : Uo(e) : _o();
944
1160
  }
945
- function ko(e) {
1161
+ function Ao(e) {
946
1162
  try {
947
1163
  if (e.serverUrl) {
948
1164
  const o = new URL(
949
1165
  e.serverUrl,
950
1166
  window.location.href
951
1167
  ).toString();
952
- Mo(o);
953
- const t = e.token || localStorage.getItem("Meteor.loginToken");
954
- t && (So(t), ge(j).info("Publisher connection successful"));
1168
+ yo(o);
1169
+ const i = e.token || localStorage.getItem("Meteor.loginToken");
1170
+ i && (So(i), be(L).info("Publisher connection successful"));
955
1171
  }
956
1172
  } catch (o) {
957
- ge(j).error("Failed to connect to publisher", o);
1173
+ be(L).error("Failed to connect to publisher", o);
958
1174
  }
959
1175
  }
960
- function Uo(e, o) {
1176
+ function To(e, o) {
961
1177
  return new Date(e).toLocaleString(o);
962
1178
  }
963
- function Ao() {
1179
+ function No() {
964
1180
  return [
965
1181
  {
966
1182
  title: "moduleSelector.configEditor.moduleCloudPicker.headers.name",
967
- value: "name"
1183
+ value: "name",
1184
+ sortable: !0
968
1185
  },
969
1186
  {
970
1187
  title: "moduleSelector.configEditor.moduleCloudPicker.headers.type",
@@ -973,7 +1190,8 @@ function Ao() {
973
1190
  },
974
1191
  {
975
1192
  title: "moduleSelector.configEditor.moduleCloudPicker.headers.description",
976
- value: "description"
1193
+ value: "description",
1194
+ sortable: !0
977
1195
  },
978
1196
  {
979
1197
  title: "moduleSelector.configEditor.moduleCloudPicker.headers.createdAt",
@@ -987,29 +1205,32 @@ function Ao() {
987
1205
  },
988
1206
  {
989
1207
  title: "moduleSelector.configEditor.moduleCloudPicker.headers.createdBy",
990
- value: "createdBy"
1208
+ value: "createdBy",
1209
+ sortable: !0
991
1210
  },
992
1211
  {
993
1212
  title: "moduleSelector.configEditor.moduleCloudPicker.headers.updatedBy",
994
- value: "updatedBy"
1213
+ value: "updatedBy",
1214
+ sortable: !0
995
1215
  }
996
1216
  ];
997
1217
  }
998
- const No = J({
1218
+ const Oo = oe({
999
1219
  name: "CloudModuleSelector",
1000
1220
  components: {
1001
- VcsDataTable: De,
1002
- VcsFormButton: he,
1003
- VTooltip: Xe,
1004
- VIcon: _e,
1005
- VCard: Ve,
1006
- VcsLabel: be,
1007
- VcsTextField: se,
1008
- VcsFormSection: Me,
1009
- VRow: Q,
1010
- VCol: X,
1011
- VForm: ke,
1012
- VContainer: Z
1221
+ VcsDataTable: ze,
1222
+ VcsFormButton: ce,
1223
+ VTooltip: Ne,
1224
+ VIcon: Te,
1225
+ VCard: Ie,
1226
+ VcsLabel: ye,
1227
+ VcsTextField: me,
1228
+ VcsFormSection: Se,
1229
+ VRow: le,
1230
+ VCol: ie,
1231
+ VForm: Ee,
1232
+ VContainer: te,
1233
+ VcsTextArea: we
1013
1234
  },
1014
1235
  props: {
1015
1236
  modelValue: {
@@ -1018,86 +1239,86 @@ const No = J({
1018
1239
  }
1019
1240
  },
1020
1241
  setup(e, { emit: o }) {
1021
- const t = Se("vcsApp"), r = t.plugins.getByKey(j), i = t.plugins.getByKey(
1242
+ const i = Ue("vcsApp"), d = i.plugins.getByKey(L), n = i.plugins.getByKey(
1022
1243
  "@vcmap/app-configurator"
1023
- );
1024
- ko(i.config || r.config);
1025
- const l = k(!0), a = k([]), s = k(0), f = k(0), u = k([void 0]), C = Ao(), b = /* @__PURE__ */ new Map(), g = k(e.modelValue), R = H(() => g.value.id === ""), v = k(!1), y = () => {
1026
- var D, L;
1027
- v.value = !!((D = g.value) != null && D.title) && !!((L = g.value) != null && L.icon);
1028
- }, U = {
1244
+ ), { serverUrl: r, projectId: s, appId: u, token: y } = (n == null ? void 0 : n.config) || d.config, c = { serverUrl: r, projectId: s, appId: u, token: y };
1245
+ Ao(c);
1246
+ const h = A(!0), S = A([]), $ = A(0), B = A(0), V = A([void 0]), g = No(), N = /* @__PURE__ */ new Map(), p = A(e.modelValue), P = J(() => p.value.id === ""), U = A(!1), Z = () => {
1247
+ var R, z;
1248
+ U.value = !!((R = p.value) != null && R.title) && !!((z = p.value) != null && z.icon);
1249
+ }, Q = {
1029
1250
  standalone: "$vcsGlobeNature",
1030
1251
  extension: "$vcsShapes"
1031
1252
  };
1032
- function G(D) {
1033
- var _;
1034
- const { itemsPerPage: L, page: te, search: le, sortBy: ne, sortDesc: m } = D;
1035
- l.value = !0, (_ = i == null ? void 0 : i.config) != null && _.projectId && Co({
1036
- projectId: i.config.projectId,
1037
- limit: L,
1038
- page: te - 1,
1039
- name: le,
1040
- orderBy: ne,
1041
- sort: m != null && m[0] ? "desc" : "asc"
1042
- }).then((h) => {
1043
- a.value = h.items.map((w) => {
1044
- var T, E;
1045
- const B = {
1046
- name: w.name,
1047
- description: w.description,
1048
- createdAt: w.createdAt,
1049
- updatedAt: w.updatedAt,
1050
- createdBy: (i == null ? void 0 : i.getUserName(w.createdBy)) || w.createdBy,
1051
- updatedBy: (i == null ? void 0 : i.getUserName(w.updatedBy)) || w.updatedBy,
1052
- _id: w._id
1253
+ function X(R) {
1254
+ var T;
1255
+ const { itemsPerPage: z, page: m, search: I, sortBy: f } = R;
1256
+ h.value = !0, c.projectId ? ko({
1257
+ projectId: c.projectId,
1258
+ limit: z,
1259
+ page: m - 1,
1260
+ name: I,
1261
+ orderBy: f == null ? void 0 : f.map(({ key: k }) => k),
1262
+ sort: (T = f == null ? void 0 : f[0]) == null ? void 0 : T.order
1263
+ }).then((k) => {
1264
+ S.value = k.items.map((E) => {
1265
+ var D, F;
1266
+ const w = {
1267
+ name: E.name,
1268
+ description: E.description,
1269
+ createdAt: E.createdAt,
1270
+ updatedAt: E.updatedAt,
1271
+ createdBy: (n == null ? void 0 : n.getUserName(E.createdBy)) || E.createdBy,
1272
+ updatedBy: (n == null ? void 0 : n.getUserName(E.updatedBy)) || E.updatedBy,
1273
+ _id: E._id
1053
1274
  };
1054
- return (((T = w.maps) == null ? void 0 : T.length) ?? 0) > 0 && (((E = w.layers) == null ? void 0 : E.length) ?? 0) > 0 ? B.type = "standalone" : B.type = "extension", B.disabled = !!t.getModuleById(w._id), b.set(w._id, w), B;
1055
- }), s.value = h.totalCount, f.value = h.totalPages;
1056
- }).catch((h) => {
1057
- ge("CloudModuleSelector.vue").error(
1275
+ return (((D = E.maps) == null ? void 0 : D.length) ?? 0) > 0 && (((F = E.layers) == null ? void 0 : F.length) ?? 0) > 0 ? w.type = "standalone" : w.type = "extension", w.disabled = !!i.getModuleById(E._id), N.set(E._id, E), w;
1276
+ }), $.value = k.totalCount, B.value = k.totalPages;
1277
+ }).catch((k) => {
1278
+ be("CloudModuleSelector.vue").error(
1058
1279
  "Failed to load project modules.",
1059
- h
1280
+ k
1060
1281
  );
1061
1282
  }).finally(() => {
1062
- l.value = !1;
1063
- });
1283
+ h.value = !1;
1284
+ }) : (S.value = [], h.value = !1);
1064
1285
  }
1065
1286
  return {
1066
- selectedItem: g,
1067
- isItemIdEmpty: R,
1068
- loading: l,
1069
- items: a,
1070
- totalItems: s,
1071
- totalPages: f,
1072
- headers: C,
1073
- selected: u,
1074
- typeIcon(D) {
1075
- return U[D];
1287
+ selectedItem: p,
1288
+ isItemIdEmpty: P,
1289
+ loading: h,
1290
+ items: S,
1291
+ totalItems: $,
1292
+ totalPages: B,
1293
+ headers: g,
1294
+ selected: V,
1295
+ typeIcon(R) {
1296
+ return Q[R];
1076
1297
  },
1077
- formatDate: Uo,
1078
- getItems: G,
1298
+ formatDate: To,
1299
+ getItems: X,
1079
1300
  close: () => {
1080
1301
  o("close");
1081
1302
  },
1082
1303
  addSelected: () => {
1083
- var D;
1084
- u.value.length > 0 && ((D = u.value[0]) == null ? void 0 : D._id) !== "" && (g.value.id = u.value[0]._id, g.value.title = u.value[0].name, g.value.icon = "", g.value.moduleUrl = `configs/${u.value[0]._id}.json`);
1304
+ var R;
1305
+ V.value.length > 0 && ((R = V.value[0]) == null ? void 0 : R._id) !== "" && (p.value.id = V.value[0]._id, p.value.title = V.value[0].name, p.value.icon = "", p.value.moduleUrl = `configs/${V.value[0]._id}.json`, p.value.description = V.value[0].description);
1085
1306
  },
1086
- isFValid: v,
1087
- validateForm: y,
1307
+ isFValid: U,
1308
+ validateForm: Z,
1088
1309
  removeSelected: () => {
1089
- g.value.id = "", g.value.title = "", g.value.icon = "", g.value.moduleUrl = "";
1310
+ p.value.id = "", p.value.title = "", p.value.icon = "", p.value.description = "", p.value.moduleUrl = "";
1090
1311
  },
1091
- requiredRule: (D) => !!D || "moduleSelector.configEditor.editorError"
1312
+ requiredRule: (R) => !!R || "moduleSelector.configEditor.editorError"
1092
1313
  };
1093
1314
  }
1094
- }), Bo = { class: "d-flex px-2" };
1095
- function Oo(e, o, t, r, i, l) {
1096
- const a = c("v-icon"), s = c("v-tooltip"), f = c("VcsDataTable"), u = c("VcsLabel"), C = c("v-col"), b = c("VcsTextField"), g = c("v-row"), R = c("v-container"), v = c("v-form"), y = c("VcsFormSection"), U = c("VcsFormButton"), G = c("v-card");
1097
- return I(), $(G, null, {
1098
- default: n(() => [
1099
- pe("div", null, [
1100
- e.isItemIdEmpty ? (I(), $(f, {
1315
+ }), Do = { class: "d-flex px-2 justify-end w-100" };
1316
+ function Bo(e, o, i, d, n, r) {
1317
+ const s = a("v-icon"), u = a("v-tooltip"), y = a("VcsDataTable"), c = a("VcsLabel"), h = a("v-col"), S = a("VcsTextField"), $ = a("v-row"), B = a("VcsTextArea"), V = a("v-container"), g = a("v-form"), N = a("VcsFormSection"), p = a("VcsFormButton"), P = a("v-card");
1318
+ return C(), _(P, null, {
1319
+ default: t(() => [
1320
+ H("div", null, [
1321
+ e.isItemIdEmpty ? (C(), _(y, {
1101
1322
  key: 0,
1102
1323
  "base-component": "VDataTableServer",
1103
1324
  loading: e.loading,
@@ -1111,17 +1332,17 @@ function Oo(e, o, t, r, i, l) {
1111
1332
  "show-select": "",
1112
1333
  "item-value": "_id",
1113
1334
  modelValue: e.selected,
1114
- "onUpdate:modelValue": o[0] || (o[0] = (N) => e.selected = N),
1335
+ "onUpdate:modelValue": o[0] || (o[0] = (U) => e.selected = U),
1115
1336
  "onUpdate:items": e.getItems
1116
1337
  }, {
1117
- "item.type": n(({ item: N }) => [
1118
- d(
1119
- a,
1120
- ze(We({ ...e.$attrs })),
1338
+ "item.type": t(({ item: U }) => [
1339
+ l(
1340
+ s,
1341
+ Qe(Xe({ ...e.$attrs })),
1121
1342
  {
1122
- default: n(() => [
1123
- S(
1124
- V(e.typeIcon(N.type)),
1343
+ default: t(() => [
1344
+ M(
1345
+ v(e.typeIcon(U.type)),
1125
1346
  1
1126
1347
  /* TEXT */
1127
1348
  )
@@ -1132,16 +1353,16 @@ function Oo(e, o, t, r, i, l) {
1132
1353
  1040
1133
1354
  /* FULL_PROPS, DYNAMIC_SLOTS */
1134
1355
  ),
1135
- d(
1136
- s,
1356
+ l(
1357
+ u,
1137
1358
  {
1138
1359
  activator: "parent",
1139
1360
  location: "right"
1140
1361
  },
1141
1362
  {
1142
- default: n(() => [
1143
- S(
1144
- V(e.$t(`appConfigurator.dialogs.vcsModuleTable.${N.type}`)),
1363
+ default: t(() => [
1364
+ M(
1365
+ v(e.$t(`appConfigurator.dialogs.vcsModuleTable.${U.type}`)),
1145
1366
  1
1146
1367
  /* TEXT */
1147
1368
  )
@@ -1153,46 +1374,46 @@ function Oo(e, o, t, r, i, l) {
1153
1374
  /* DYNAMIC_SLOTS */
1154
1375
  )
1155
1376
  ]),
1156
- "item.createdAt": n(({ item: N }) => [
1157
- S(
1158
- V(e.formatDate(N.createdAt, e.$i18n.locale)),
1377
+ "item.createdAt": t(({ item: U }) => [
1378
+ M(
1379
+ v(e.formatDate(U.createdAt, e.$i18n.locale)),
1159
1380
  1
1160
1381
  /* TEXT */
1161
1382
  )
1162
1383
  ]),
1163
- "item.updatedAt": n(({ item: N }) => [
1164
- S(
1165
- V(e.formatDate(N.updatedAt, e.$i18n.locale)),
1384
+ "item.updatedAt": t(({ item: U }) => [
1385
+ M(
1386
+ v(e.formatDate(U.updatedAt, e.$i18n.locale)),
1166
1387
  1
1167
1388
  /* TEXT */
1168
1389
  )
1169
1390
  ]),
1170
1391
  _: 1
1171
1392
  /* STABLE */
1172
- }, 8, ["loading", "items", "server-items-length", "server-pages-length", "searchbar-placeholder", "headers", "modelValue", "onUpdate:items"])) : (I(), $(y, { key: 1 }, {
1173
- default: n(() => [
1174
- d(v, {
1393
+ }, 8, ["loading", "items", "server-items-length", "server-pages-length", "searchbar-placeholder", "headers", "modelValue", "onUpdate:items"])) : (C(), _(N, { key: 1 }, {
1394
+ default: t(() => [
1395
+ l(g, {
1175
1396
  modelValue: e.isFValid,
1176
- "onUpdate:modelValue": o[3] || (o[3] = (N) => e.isFValid = N),
1397
+ "onUpdate:modelValue": o[4] || (o[4] = (U) => e.isFValid = U),
1177
1398
  ref: "form"
1178
1399
  }, {
1179
- default: n(() => [
1180
- d(R, { class: "px-2 pt-0 pb-2" }, {
1181
- default: n(() => [
1182
- d(g, {
1400
+ default: t(() => [
1401
+ l(V, { class: "px-2 pt-0 pb-2" }, {
1402
+ default: t(() => [
1403
+ l($, {
1183
1404
  "no-gutters": "",
1184
1405
  class: "px-2"
1185
1406
  }, {
1186
- default: n(() => [
1187
- d(C, { cols: "2" }, {
1188
- default: n(() => [
1189
- d(u, {
1407
+ default: t(() => [
1408
+ l(h, { cols: "2" }, {
1409
+ default: t(() => [
1410
+ l(c, {
1190
1411
  required: "",
1191
1412
  "html-for": "moduleName"
1192
1413
  }, {
1193
- default: n(() => [
1194
- S(
1195
- V(e.$st("moduleSelector.configEditor.moduleName")),
1414
+ default: t(() => [
1415
+ M(
1416
+ v(e.$st("moduleSelector.configEditor.moduleName")),
1196
1417
  1
1197
1418
  /* TEXT */
1198
1419
  )
@@ -1204,13 +1425,13 @@ function Oo(e, o, t, r, i, l) {
1204
1425
  _: 1
1205
1426
  /* STABLE */
1206
1427
  }),
1207
- d(C, { cols: "4" }, {
1208
- default: n(() => [
1209
- d(b, {
1428
+ l(h, { cols: "4" }, {
1429
+ default: t(() => [
1430
+ l(S, {
1210
1431
  id: "moduleName",
1211
1432
  placeholder: "Module Name",
1212
1433
  modelValue: e.selectedItem.title,
1213
- "onUpdate:modelValue": o[1] || (o[1] = (N) => e.selectedItem.title = N),
1434
+ "onUpdate:modelValue": o[1] || (o[1] = (U) => e.selectedItem.title = U),
1214
1435
  rules: [e.requiredRule]
1215
1436
  }, null, 8, ["modelValue", "rules"])
1216
1437
  ]),
@@ -1221,20 +1442,20 @@ function Oo(e, o, t, r, i, l) {
1221
1442
  _: 1
1222
1443
  /* STABLE */
1223
1444
  }),
1224
- d(g, {
1445
+ l($, {
1225
1446
  "no-gutters": "",
1226
1447
  class: "px-2"
1227
1448
  }, {
1228
- default: n(() => [
1229
- d(C, { cols: "2" }, {
1230
- default: n(() => [
1231
- d(u, {
1449
+ default: t(() => [
1450
+ l(h, { cols: "2" }, {
1451
+ default: t(() => [
1452
+ l(c, {
1232
1453
  required: "",
1233
1454
  "html-for": "moduleIcon"
1234
1455
  }, {
1235
- default: n(() => [
1236
- S(
1237
- V(e.$st("moduleSelector.configEditor.moduleIcon")),
1456
+ default: t(() => [
1457
+ M(
1458
+ v(e.$st("moduleSelector.configEditor.moduleIcon")),
1238
1459
  1
1239
1460
  /* TEXT */
1240
1461
  )
@@ -1246,13 +1467,13 @@ function Oo(e, o, t, r, i, l) {
1246
1467
  _: 1
1247
1468
  /* STABLE */
1248
1469
  }),
1249
- d(C, { cols: "4" }, {
1250
- default: n(() => [
1251
- d(b, {
1470
+ l(h, { cols: "4" }, {
1471
+ default: t(() => [
1472
+ l(S, {
1252
1473
  id: "moduleIcon",
1253
1474
  placeholder: "Icon Name",
1254
1475
  modelValue: e.selectedItem.icon,
1255
- "onUpdate:modelValue": o[2] || (o[2] = (N) => e.selectedItem.icon = N),
1476
+ "onUpdate:modelValue": o[2] || (o[2] = (U) => e.selectedItem.icon = U),
1256
1477
  rules: [e.requiredRule]
1257
1478
  }, null, 8, ["modelValue", "rules"])
1258
1479
  ]),
@@ -1262,6 +1483,43 @@ function Oo(e, o, t, r, i, l) {
1262
1483
  ]),
1263
1484
  _: 1
1264
1485
  /* STABLE */
1486
+ }),
1487
+ l($, {
1488
+ "no-gutters": "",
1489
+ class: "px-2"
1490
+ }, {
1491
+ default: t(() => [
1492
+ l(h, { cols: "2" }, {
1493
+ default: t(() => [
1494
+ l(c, { "html-for": "moduleDescription" }, {
1495
+ default: t(() => [
1496
+ M(
1497
+ v(e.$st("moduleSelector.configEditor.moduleDescription")),
1498
+ 1
1499
+ /* TEXT */
1500
+ )
1501
+ ]),
1502
+ _: 1
1503
+ /* STABLE */
1504
+ })
1505
+ ]),
1506
+ _: 1
1507
+ /* STABLE */
1508
+ }),
1509
+ l(h, { cols: "4" }, {
1510
+ default: t(() => [
1511
+ l(B, {
1512
+ id: "moduleDescription",
1513
+ modelValue: e.selectedItem.description,
1514
+ "onUpdate:modelValue": o[3] || (o[3] = (U) => e.selectedItem.description = U)
1515
+ }, null, 8, ["modelValue"])
1516
+ ]),
1517
+ _: 1
1518
+ /* STABLE */
1519
+ })
1520
+ ]),
1521
+ _: 1
1522
+ /* STABLE */
1265
1523
  })
1266
1524
  ]),
1267
1525
  _: 1
@@ -1275,8 +1533,8 @@ function Oo(e, o, t, r, i, l) {
1275
1533
  _: 1
1276
1534
  /* STABLE */
1277
1535
  })),
1278
- pe("div", Bo, [
1279
- e.isItemIdEmpty ? (I(), $(U, {
1536
+ H("div", Do, [
1537
+ e.isItemIdEmpty ? (C(), _(p, {
1280
1538
  key: 0,
1281
1539
  variant: "filled",
1282
1540
  disabled: e.selected[0] === void 0,
@@ -1285,28 +1543,28 @@ function Oo(e, o, t, r, i, l) {
1285
1543
  tooltip: "appConfigurator.dialogs.addTooltip",
1286
1544
  "tooltip-position": "bottom"
1287
1545
  }, {
1288
- default: n(() => [
1289
- S(
1290
- V(e.$t("moduleSelector.configEditor.moduleCloudPicker.continue")),
1546
+ default: t(() => [
1547
+ M(
1548
+ v(e.$t("moduleSelector.configEditor.moduleCloudPicker.continue")),
1291
1549
  1
1292
1550
  /* TEXT */
1293
1551
  )
1294
1552
  ]),
1295
1553
  _: 1
1296
1554
  /* STABLE */
1297
- }, 8, ["disabled", "onClick"])) : q("v-if", !0),
1298
- e.isItemIdEmpty ? q("v-if", !0) : (I(), $(U, {
1555
+ }, 8, ["disabled", "onClick"])) : G("v-if", !0),
1556
+ e.isItemIdEmpty ? G("v-if", !0) : (C(), _(p, {
1299
1557
  key: 1,
1300
1558
  disabled: !e.isFValid,
1301
1559
  variant: "filled",
1302
1560
  class: "ma-2",
1303
- onClick: o[4] || (o[4] = () => {
1561
+ onClick: o[5] || (o[5] = () => {
1304
1562
  e.$emit("submit", e.selectedItem);
1305
1563
  })
1306
1564
  }, {
1307
- default: n(() => [
1308
- S(
1309
- V(e.$t("components.apply")),
1565
+ default: t(() => [
1566
+ M(
1567
+ v(e.$t("components.apply")),
1310
1568
  1
1311
1569
  /* TEXT */
1312
1570
  )
@@ -1314,14 +1572,14 @@ function Oo(e, o, t, r, i, l) {
1314
1572
  _: 1
1315
1573
  /* STABLE */
1316
1574
  }, 8, ["disabled"])),
1317
- e.isItemIdEmpty ? q("v-if", !0) : (I(), $(U, {
1575
+ e.isItemIdEmpty ? G("v-if", !0) : (C(), _(p, {
1318
1576
  key: 2,
1319
1577
  onClick: e.removeSelected,
1320
1578
  class: "ma-2"
1321
1579
  }, {
1322
- default: n(() => [
1323
- S(
1324
- V(e.$t("moduleSelector.configEditor.moduleCloudPicker.back")),
1580
+ default: t(() => [
1581
+ M(
1582
+ v(e.$t("moduleSelector.configEditor.moduleCloudPicker.back")),
1325
1583
  1
1326
1584
  /* TEXT */
1327
1585
  )
@@ -1329,13 +1587,13 @@ function Oo(e, o, t, r, i, l) {
1329
1587
  _: 1
1330
1588
  /* STABLE */
1331
1589
  }, 8, ["onClick"])),
1332
- d(U, {
1590
+ l(p, {
1333
1591
  class: "ma-2",
1334
1592
  onClick: e.close
1335
1593
  }, {
1336
- default: n(() => [
1337
- S(
1338
- V(e.$t("components.cancel")),
1594
+ default: t(() => [
1595
+ M(
1596
+ v(e.$t("components.cancel")),
1339
1597
  1
1340
1598
  /* TEXT */
1341
1599
  )
@@ -1350,24 +1608,26 @@ function Oo(e, o, t, r, i, l) {
1350
1608
  /* STABLE */
1351
1609
  });
1352
1610
  }
1353
- const To = /* @__PURE__ */ Y(No, [["render", Oo]]), Fo = J({
1611
+ const Fo = /* @__PURE__ */ ne(Oo, [["render", Bo]]), Go = oe({
1354
1612
  name: "ModuleSelectorConfigEditor",
1355
1613
  components: {
1356
- VcsCheckbox: $e,
1357
- VDialog: Ye,
1358
- VcsList: qe,
1359
- VcsFormSection: Me,
1360
- VRow: Q,
1361
- VcsLabel: be,
1362
- AbstractConfigEditor: Pe,
1363
- VcsTextField: se,
1364
- VCol: X,
1365
- VContainer: Z,
1366
- ModuleEditor: vo,
1367
- VBreadcrumbs: xe,
1368
- VBreadcrumbsItem: eo,
1614
+ VForm: Ee,
1615
+ VcsFormButton: ce,
1616
+ VcsCheckbox: _e,
1617
+ VDialog: to,
1618
+ VcsList: We,
1619
+ VcsFormSection: Se,
1620
+ VRow: le,
1621
+ VSheet: Ae,
1622
+ VcsLabel: ye,
1623
+ AbstractConfigEditor: He,
1624
+ VcsTextField: me,
1625
+ VCol: ie,
1626
+ VContainer: te,
1627
+ ModuleEditor: Mo,
1369
1628
  WindowPositionSettings: bo,
1370
- VcsModuleTable: To
1629
+ VcsModuleTable: Fo,
1630
+ VcsTextArea: we
1371
1631
  },
1372
1632
  props: {
1373
1633
  getConfig: {
@@ -1380,338 +1640,373 @@ const To = /* @__PURE__ */ Y(No, [["render", Oo]]), Fo = J({
1380
1640
  }
1381
1641
  },
1382
1642
  setup(e) {
1383
- var te, le, ne;
1384
- const o = Se("vcsApp"), t = k(0), r = k(void 0), i = k([]), l = k(void 0), a = k({ id: "", title: "", icon: "", moduleUrl: "" }), s = k({ id: "", title: "", icon: "", moduleUrl: "" }), f = k(!1), u = k(!1), C = k(!1), b = k(void 0);
1385
- r.value = {
1386
- ...re(),
1643
+ var pe, R, z;
1644
+ const o = A(0), i = A(void 0), d = A([]), n = A(void 0), r = A({
1645
+ id: "",
1646
+ title: "",
1647
+ icon: "",
1648
+ moduleUrl: "",
1649
+ description: ""
1650
+ }), s = A({
1651
+ id: "",
1652
+ title: "",
1653
+ icon: "",
1654
+ moduleUrl: "",
1655
+ description: ""
1656
+ });
1657
+ let u = {
1658
+ title: "",
1659
+ icon: "",
1660
+ type: "group",
1661
+ description: "",
1662
+ cards: []
1663
+ };
1664
+ const y = A(!1), c = A(!1), h = A(!1), S = A(void 0);
1665
+ i.value = {
1666
+ ...ue(),
1387
1667
  ...e.getConfig()
1388
1668
  };
1389
- const g = k();
1390
- (te = r.value) != null && te.basisModule && (g.value = (le = r.value) == null ? void 0 : le.basisModule);
1391
- const R = H({
1669
+ const $ = A();
1670
+ (pe = i.value) != null && pe.basisModule && ($.value = (R = i.value) == null ? void 0 : R.basisModule);
1671
+ const B = J({
1392
1672
  get() {
1393
- return !!g.value;
1673
+ return !!$.value;
1394
1674
  },
1395
1675
  set(m) {
1396
- var _;
1397
- m ? g.value = ((_ = r.value) == null ? void 0 : _.basisModule) || { title: "" } : g.value = null;
1676
+ var I;
1677
+ m ? $.value = ((I = i.value) == null ? void 0 : I.basisModule) || { title: "" } : $.value = null;
1398
1678
  }
1399
- }), v = He([]);
1400
- function y(m, _) {
1401
- var w, B, T;
1402
- const h = {
1403
- id: `${m.title || "undefined"}-${_}`,
1679
+ }), V = Ye([]);
1680
+ function g(m) {
1681
+ var I;
1682
+ if (m.type === "url") {
1683
+ const { actions: f, id: T, name: k, ...E } = m;
1684
+ return {
1685
+ ...E,
1686
+ moduleUrl: m.moduleUrl || ""
1687
+ };
1688
+ } else {
1689
+ const f = ((I = m.cards) == null ? void 0 : I.map((D) => {
1690
+ const { actions: F, id: q, name: W, ...Re } = D;
1691
+ return {
1692
+ ...Re
1693
+ };
1694
+ })) || [], { actions: T, id: k, name: E, ...w } = m;
1695
+ return {
1696
+ ...w,
1697
+ ...f.length ? { cards: f } : {}
1698
+ };
1699
+ }
1700
+ }
1701
+ function N(m) {
1702
+ return m.map(g);
1703
+ }
1704
+ function p(m, I) {
1705
+ var T, k, E;
1706
+ const f = {
1707
+ id: `${m.title || "undefined"}-${I}`,
1404
1708
  name: m.title,
1405
1709
  title: m.title,
1406
1710
  icon: m.icon,
1407
1711
  type: m.type,
1712
+ description: m.description,
1408
1713
  actions: []
1409
1714
  };
1410
- return m.type === "url" && (h.moduleUrl = m.moduleUrl, (w = h.actions) == null || w.push({
1715
+ return m.type === "url" && (f.moduleUrl = m.moduleUrl, (T = f.actions) == null || T.push({
1411
1716
  name: "edit",
1412
1717
  title: "moduleSelector.configEditor.TooltipEditModule",
1413
1718
  icon: "$vcsEdit",
1414
1719
  callback() {
1415
- if (l.value === void 0 && i.value.length > 0) {
1416
- const E = i.value.find(
1417
- (F) => F.id === h.id
1720
+ if (n.value === void 0 && d.value.length > 0) {
1721
+ const w = d.value.find(
1722
+ (D) => D.id === f.id
1418
1723
  );
1419
- E && (a.value = {
1420
- id: E.id,
1421
- title: E.title,
1422
- icon: E.icon,
1423
- moduleUrl: E.moduleUrl
1724
+ w && (r.value = {
1725
+ id: w.id,
1726
+ title: w.title,
1727
+ icon: w.icon,
1728
+ moduleUrl: w.moduleUrl,
1729
+ description: w.description
1424
1730
  });
1425
1731
  } else {
1426
- const E = l.value.cards.find(
1427
- (F) => F.id === h.id
1732
+ const w = n.value.cards.find(
1733
+ (D) => D.id === f.id
1428
1734
  );
1429
- E && (a.value = {
1430
- id: E.id,
1431
- title: E.title,
1432
- icon: E.icon,
1433
- moduleUrl: E.moduleUrl
1735
+ w && (r.value = {
1736
+ id: w.id,
1737
+ title: w.title,
1738
+ icon: w.icon,
1739
+ moduleUrl: w.moduleUrl,
1740
+ description: w.description
1434
1741
  });
1435
1742
  }
1436
- u.value = !0;
1743
+ c.value = !0;
1437
1744
  }
1438
- })), m.type === "group" && ((B = h.actions) == null || B.push({
1745
+ })), m.type === "group" && ((k = f.actions) == null || k.push({
1439
1746
  name: "editGroup",
1440
1747
  title: "moduleSelector.configEditor.TooltipEditGroup",
1441
1748
  icon: "mdi-playlist-edit",
1442
1749
  callback() {
1443
- if (i.value.length > 0) {
1444
- const E = i.value.find(
1445
- (F) => F.id === h.id
1750
+ if (d.value.length > 0) {
1751
+ const w = d.value.find(
1752
+ (D) => D.id === f.id
1446
1753
  );
1447
- E && (l.value = E, v.splice(2, 1), v.length > 1 && (v[1].icon = "$vcsPlus", v[1].title = "moduleSelector.configEditor.TooltipAddModule"));
1754
+ if (w) {
1755
+ n.value = w, h.value = !0;
1756
+ const [D] = N([
1757
+ n.value
1758
+ ]);
1759
+ D.cards.length === 0 && (D.cards = []), u = structuredClone(D), V.splice(2, 1), V.length > 1 && (V[1].icon = "$vcsPlus", V[1].title = "moduleSelector.configEditor.TooltipAddModule");
1760
+ }
1448
1761
  }
1449
1762
  }
1450
- }), m.cards && (h.cards = m.cards.map(y))), (T = h.actions) == null || T.push({
1763
+ }), m.cards && (f.cards = m.cards.map(p))), (E = f.actions) == null || E.push({
1451
1764
  name: "linkButton.editor.remove",
1452
1765
  title: "moduleSelector.configEditor.TooltipDeleteMG",
1453
1766
  icon: "$vcsTrashCan",
1454
1767
  callback() {
1455
- var E, F, M;
1456
- l.value ? l.value.cards = (F = (E = l.value) == null ? void 0 : E.cards) == null ? void 0 : F.filter(
1457
- (O) => O.id !== h.id
1458
- ) : i.value = (M = i.value) == null ? void 0 : M.filter(
1459
- (O) => O.id !== h.id
1768
+ var w, D, F;
1769
+ n.value ? n.value.cards = (D = (w = n.value) == null ? void 0 : w.cards) == null ? void 0 : D.filter(
1770
+ (q) => q.id !== f.id
1771
+ ) : d.value = (F = d.value) == null ? void 0 : F.filter(
1772
+ (q) => q.id !== f.id
1460
1773
  );
1461
1774
  }
1462
- }), h;
1775
+ }), f;
1463
1776
  }
1464
- v.push({
1777
+ V.push({
1465
1778
  name: "moduleSelector.configEditor.addFromCloud",
1779
+ title: "moduleSelector.configEditor.TooltipAddCloudModule",
1466
1780
  icon: "$vcsImport",
1467
1781
  callback() {
1468
1782
  s.value = {
1469
1783
  id: "",
1470
1784
  title: "",
1471
1785
  icon: "",
1472
- moduleUrl: ""
1473
- }, f.value = !0;
1786
+ moduleUrl: "",
1787
+ description: ""
1788
+ }, y.value = !0;
1474
1789
  }
1475
1790
  });
1476
- function U(m) {
1477
- var _;
1478
- if (m.type === "url") {
1479
- const { actions: h, id: w, name: B, ...T } = m;
1480
- return {
1481
- ...T,
1482
- moduleUrl: m.moduleUrl || ""
1483
- };
1484
- } else {
1485
- const h = ((_ = m.cards) == null ? void 0 : _.map((F) => {
1486
- const { actions: M, id: O, name: z, ...Be } = F;
1487
- return {
1488
- ...Be
1489
- };
1490
- })) || [], { actions: w, id: B, name: T, ...E } = m;
1491
- return {
1492
- ...E,
1493
- ...h.length ? { cards: h } : {}
1494
- };
1495
- }
1496
- }
1497
- const G = {
1791
+ const P = {
1498
1792
  name: "moduleSelector.configEditor.addGroup",
1499
1793
  callback() {
1500
- var h;
1794
+ var f;
1501
1795
  const m = {
1502
1796
  type: "group",
1503
1797
  title: "",
1504
1798
  icon: "",
1799
+ description: "",
1505
1800
  cards: []
1506
1801
  };
1507
- C.value = !0;
1508
- const _ = (h = i.value) == null ? void 0 : h.push(
1509
- y(
1802
+ h.value = !0;
1803
+ const I = (f = d.value) == null ? void 0 : f.push(
1804
+ p(
1510
1805
  m,
1511
- i.value.length
1806
+ d.value.length
1512
1807
  )
1513
1808
  );
1514
- l.value = i.value[_ - 1], v.splice(2, 1), v.length > 1 && (v[1].icon = "$vcsPlus", v[1].title = "moduleSelector.configEditor.TooltipAddModule");
1809
+ n.value = d.value[I - 1], h.value = !0, V.splice(2, 1), V.length > 1 && (V[1].icon = "$vcsPlus", V[1].title = "moduleSelector.configEditor.TooltipAddModule");
1515
1810
  }
1516
1811
  };
1517
- function N(m) {
1518
- return m.map(U);
1519
- }
1520
- (ne = r.value) != null && ne.modules && (i.value = r.value.modules.map(y)), v.push(
1812
+ (z = i.value) != null && z.modules && (d.value = i.value.modules.map(p)), V.push(
1521
1813
  {
1522
1814
  name: "moduleSelector.configEditor.add",
1523
1815
  callback() {
1524
- a.value = {
1816
+ r.value = {
1525
1817
  id: "",
1526
1818
  title: "",
1527
1819
  icon: "",
1528
- moduleUrl: ""
1529
- }, u.value = !0;
1820
+ moduleUrl: "",
1821
+ description: ""
1822
+ }, c.value = !0;
1530
1823
  }
1531
1824
  },
1532
- G
1533
- ), we(r, (m) => {
1534
- m != null && m.modules ? b.value = m.modules.map(
1535
- (_, h) => y(_, h)
1536
- ) : b.value = [];
1825
+ P
1826
+ ), xe(i, (m) => {
1827
+ m != null && m.modules ? S.value = m.modules.map(
1828
+ (I, f) => p(I, f)
1829
+ ) : S.value = [];
1537
1830
  });
1538
- const ee = () => {
1539
- e.setConfig({
1540
- ...r.value,
1541
- modules: N(i.value),
1542
- basisModule: g.value
1543
- });
1544
- }, oe = () => {
1545
- var m, _, h, w, B, T, E, F;
1546
- if (l.value === void 0) {
1547
- if (a.value)
1548
- if (((m = a.value) == null ? void 0 : m.id) !== "") {
1549
- const M = i.value.find(
1550
- (O) => {
1551
- var z;
1552
- return O.id === ((z = a.value) == null ? void 0 : z.id);
1831
+ const U = () => {
1832
+ var T;
1833
+ const m = fe((T = i.value) == null ? void 0 : T.position), I = Object.values(m).some(
1834
+ (k) => k !== void 0
1835
+ ), f = {
1836
+ ...fe(i.value),
1837
+ modules: N(d.value),
1838
+ basisModule: fe($.value)
1839
+ };
1840
+ I ? f.position = m : delete f.position, e.setConfig(f);
1841
+ }, Z = () => {
1842
+ var m, I, f, T, k, E, w, D;
1843
+ if (n.value === void 0) {
1844
+ if (r.value)
1845
+ if (((m = r.value) == null ? void 0 : m.id) !== "") {
1846
+ const F = d.value.find(
1847
+ (q) => {
1848
+ var W;
1849
+ return q.id === ((W = r.value) == null ? void 0 : W.id);
1553
1850
  }
1554
1851
  );
1555
- M && Object.assign(M, {
1556
- ...a.value
1852
+ F && Object.assign(F, {
1853
+ ...r.value
1557
1854
  });
1558
1855
  } else
1559
- i.value.push(
1560
- y(
1856
+ d.value.push(
1857
+ p(
1561
1858
  {
1562
- ...a.value,
1859
+ ...r.value,
1563
1860
  type: "url"
1564
1861
  },
1565
- i.value.length
1862
+ d.value.length
1566
1863
  )
1567
1864
  );
1568
- } else if (a.value && ((_ = a.value) == null ? void 0 : _.id) !== "") {
1569
- const M = l.value.cards.find(
1570
- (z) => z.id === a.value.id
1865
+ } else if (r.value && ((I = r.value) == null ? void 0 : I.id) !== "") {
1866
+ const F = n.value.cards.find(
1867
+ (W) => W.id === r.value.id
1571
1868
  );
1572
- M && Object.assign(M, {
1573
- ...a.value
1869
+ F && Object.assign(F, {
1870
+ ...r.value
1574
1871
  });
1575
- let O;
1576
- (h = l.value) != null && h.id || ((w = l.value) == null ? void 0 : w.id) !== "" ? O = l.value.id : O = `${l.value.title}-${i.value.length - 1}`, l.value = i.value.find(
1577
- (z) => z.id === O
1872
+ let q;
1873
+ (f = n.value) != null && f.id || ((T = n.value) == null ? void 0 : T.id) !== "" ? q = n.value.id : q = `${n.value.title}-${d.value.length - 1}`, n.value = d.value.find(
1874
+ (W) => W.id === q
1578
1875
  );
1579
1876
  } else {
1580
- l.value.cards.push(
1581
- y(
1877
+ n.value.cards.push(
1878
+ p(
1582
1879
  {
1583
- ...a.value,
1880
+ ...r.value,
1584
1881
  type: "url"
1585
1882
  },
1586
- l.value.cards.length
1883
+ n.value.cards.length
1587
1884
  )
1588
1885
  );
1589
- let M;
1590
- (B = l.value) != null && B.id || ((T = l.value) == null ? void 0 : T.id) !== "" ? M = l.value.id : M = `${(E = l.value) == null ? void 0 : E.title}-${i.value.length - 1}`, l.value = (F = i.value) == null ? void 0 : F.find(
1591
- (O) => O.id === M
1886
+ let F;
1887
+ (k = n.value) != null && k.id || ((E = n.value) == null ? void 0 : E.id) !== "" ? F = n.value.id : F = `${(w = n.value) == null ? void 0 : w.title}-${d.value.length - 1}`, n.value = (D = d.value) == null ? void 0 : D.find(
1888
+ (q) => q.id === F
1592
1889
  );
1593
1890
  }
1594
- a.value = {
1891
+ r.value = {
1595
1892
  id: "",
1596
1893
  title: "",
1597
1894
  icon: "",
1598
- moduleUrl: ""
1599
- }, u.value = !1;
1600
- }, p = () => {
1601
- var m, _, h, w;
1602
- if (l.value === void 0)
1603
- s.value && i.value.push(
1604
- y(
1895
+ moduleUrl: "",
1896
+ description: ""
1897
+ }, c.value = !1;
1898
+ }, Q = () => {
1899
+ var m, I, f, T;
1900
+ if (n.value === void 0)
1901
+ s.value && d.value.push(
1902
+ p(
1605
1903
  {
1606
1904
  title: s.value.title,
1607
1905
  icon: s.value.icon,
1608
1906
  moduleUrl: s.value.moduleUrl,
1609
- type: "url"
1907
+ type: "url",
1908
+ description: s.value.description
1610
1909
  },
1611
- i.value.length
1910
+ d.value.length
1612
1911
  )
1613
1912
  );
1614
1913
  else {
1615
- l.value.cards.push(
1616
- y(
1914
+ n.value.cards.push(
1915
+ p(
1617
1916
  {
1618
1917
  ...s.value,
1619
1918
  type: "url"
1620
1919
  },
1621
- l.value.cards.length
1920
+ n.value.cards.length
1622
1921
  )
1623
1922
  );
1624
- let B;
1625
- (m = l.value) != null && m.id || ((_ = l.value) == null ? void 0 : _.id) !== "" ? B = l.value.id : B = `${(h = l.value) == null ? void 0 : h.title}-${i.value.length - 1}`, l.value = (w = i.value) == null ? void 0 : w.find(
1626
- (T) => T.id === B
1923
+ let k;
1924
+ (m = n.value) != null && m.id || ((I = n.value) == null ? void 0 : I.id) !== "" ? k = n.value.id : k = `${(f = n.value) == null ? void 0 : f.title}-${d.value.length - 1}`, n.value = (T = d.value) == null ? void 0 : T.find(
1925
+ (E) => E.id === k
1627
1926
  );
1628
1927
  }
1629
1928
  s.value = {
1630
1929
  id: "",
1631
1930
  title: "",
1632
1931
  icon: "",
1633
- moduleUrl: ""
1634
- }, f.value = !1;
1635
- }, D = () => {
1636
- l.value = void 0, v.length > 1 && (delete v[1].icon, delete v[1].title), v.push(G);
1637
- }, L = k([
1638
- {
1639
- title: o.vueI18n.t(
1640
- "moduleSelector.configEditor.breadcrumbs.overview"
1641
- ),
1642
- disabled: !1,
1643
- href: "#"
1932
+ moduleUrl: "",
1933
+ description: ""
1934
+ }, y.value = !1;
1935
+ }, X = () => {
1936
+ h.value = !1, n.value = void 0, V.length > 1 && (delete V[1].icon, delete V[1].title), V.push(P);
1937
+ }, b = (m) => m && m.trim() !== "" ? !0 : "moduleSelector.configEditor.error";
1938
+ return {
1939
+ isFormValid: A(),
1940
+ editingItem: r,
1941
+ selectedGroupItem: u,
1942
+ groupItemDialogVisible: h,
1943
+ cancelCurrentGroup: () => {
1944
+ const m = d.value.findIndex(
1945
+ (I) => I.id === n.value.id
1946
+ );
1947
+ if (u.title !== "") {
1948
+ const I = p(u, m);
1949
+ d.value.splice(m, 1, I);
1950
+ } else
1951
+ d.value.splice(m, 1);
1952
+ h.value = !1, n.value = void 0, V.length > 1 && (delete V[1].icon, delete V[1].title), V.push(P);
1644
1953
  },
1645
- {
1646
- title: o.vueI18n.t("moduleSelector.configEditor.breadcrumbs.group"),
1647
- disabled: !0,
1648
- href: "#"
1649
- }
1650
- ]);
1651
- return we(l, (m) => {
1652
- m && m.title && (L.value[1].title = `${o.vueI18n.t("moduleSelector.configEditor.breadcrumbs.group")}: ${m.title}`, m.name = m.title);
1653
- }), {
1654
- editingItem: a,
1655
1954
  selectCloudItem: s,
1656
- editingItemDialogVisible: u,
1657
- selectCloudItemDialogVisible: f,
1658
- localConfig: r,
1659
- listItemArray: i,
1660
- breadcrumbItems: L,
1661
- currentGroup: l,
1662
- apply: ee,
1663
- returnLevel: D,
1664
- updateItem: oe,
1665
- updateCloudItem: p,
1666
- level: t,
1667
- listItems: b,
1668
- basisModule: g,
1669
- basisModuleExists: R,
1670
- headerActions: v,
1671
- move({
1955
+ editingItemDialogVisible: c,
1956
+ selectCloudItemDialogVisible: y,
1957
+ localConfig: i,
1958
+ listItemArray: d,
1959
+ currentGroup: n,
1960
+ apply: U,
1961
+ returnLevel: X,
1962
+ updateItem: Z,
1963
+ updateCloudItem: Q,
1964
+ level: o,
1965
+ listItems: S,
1966
+ basisModule: $,
1967
+ basisModuleExists: B,
1968
+ headerActions: V,
1969
+ isRequired: b,
1970
+ moveItem({
1672
1971
  item: m,
1673
- targetIndex: _
1972
+ targetIndex: I
1674
1973
  }) {
1675
- var h, w, B, T, E, F;
1676
- if (i.value && l.value === void 0) {
1677
- let M = _;
1678
- M = M >= 0 ? M : 0, M = M < ((h = i.value) == null ? void 0 : h.length) ? M : i.value.length - 1;
1679
- const O = (w = i.value) == null ? void 0 : w.indexOf(m);
1680
- O !== M && ((B = i.value) == null || B.splice(O, 1), (T = i.value) == null || T.splice(M, 0, m));
1681
- } else if ((((F = (E = l.value) == null ? void 0 : E.cards) == null ? void 0 : F.length) ?? 0) > 1) {
1682
- let M = _;
1683
- M = M >= 0 ? M : 0, M = M < l.value.cards.length ? M : l.value.cards.length - 1;
1684
- const O = l.value.cards.indexOf(m);
1685
- O && O !== M && (l.value.cards.splice(O, 1), l.value.cards.splice(M, 0, m));
1686
- }
1974
+ var T, k, E;
1975
+ const f = (T = d.value) == null ? void 0 : T.indexOf(m);
1976
+ f !== I && ((k = d.value) == null || k.splice(f, 1), (E = d.value) == null || E.splice(I, 0, m));
1977
+ },
1978
+ moveCard({
1979
+ item: m,
1980
+ targetIndex: I
1981
+ }) {
1982
+ var T, k, E, w;
1983
+ const f = n.value.cards.indexOf(m);
1984
+ f !== I && ((k = (T = n.value) == null ? void 0 : T.cards) == null || k.splice(f, 1), (w = (E = n.value) == null ? void 0 : E.cards) == null || w.splice(I, 0, m));
1687
1985
  }
1688
1986
  };
1689
1987
  }
1690
- });
1691
- function Ro(e, o, t, r, i, l) {
1692
- const a = c("VcsLabel"), s = c("v-col"), f = c("VcsTextField"), u = c("v-row"), C = c("VcsCheckbox"), b = c("v-container"), g = c("VcsFormSection"), R = c("WindowPositionSettings"), v = c("v-breadcrumbs-item"), y = c("v-breadcrumbs"), U = c("VcsList"), G = c("ModuleEditor"), N = c("v-dialog"), ee = c("VcsModuleTable"), oe = c("AbstractConfigEditor");
1693
- return e.localConfig ? (I(), $(oe, Ke({
1988
+ }), Ro = { class: "d-flex px-2 justify-end w-100" };
1989
+ function qo(e, o, i, d, n, r) {
1990
+ const s = a("VcsLabel"), u = a("v-col"), y = a("VcsTextField"), c = a("v-row"), h = a("VcsCheckbox"), S = a("v-container"), $ = a("VcsFormSection"), B = a("VcsTextArea"), V = a("v-form"), g = a("VcsList"), N = a("VcsFormButton"), p = a("v-sheet"), P = a("v-dialog"), U = a("ModuleEditor"), Z = a("VcsModuleTable"), Q = a("WindowPositionSettings"), X = a("AbstractConfigEditor");
1991
+ return e.localConfig ? (C(), _(X, se({
1694
1992
  key: 0,
1695
1993
  onSubmit: e.apply
1696
1994
  }, { ...e.$attrs, ...e.$props }), {
1697
- default: n(() => [
1698
- e.currentGroup === void 0 ? (I(), $(b, {
1699
- key: 0,
1700
- class: "py-0 px-0"
1701
- }, {
1702
- default: n(() => [
1703
- d(g, { heading: "moduleSelector.configEditor.general" }, {
1704
- default: n(() => [
1705
- d(b, { class: "py-0 px-1" }, {
1706
- default: n(() => [
1707
- d(u, { "no-gutters": "" }, {
1708
- default: n(() => [
1709
- d(s, { cols: "6" }, {
1710
- default: n(() => [
1711
- d(a, { "html-for": "moduleselector-window-title" }, {
1712
- default: n(() => [
1713
- S(
1714
- V(e.$st("moduleSelector.configEditor.windowTitle")),
1995
+ default: t(() => [
1996
+ l(S, { class: "py-0 px-0" }, {
1997
+ default: t(() => [
1998
+ l($, { heading: "moduleSelector.configEditor.general" }, {
1999
+ default: t(() => [
2000
+ l(S, { class: "py-0 px-1" }, {
2001
+ default: t(() => [
2002
+ l(c, { "no-gutters": "" }, {
2003
+ default: t(() => [
2004
+ l(u, { cols: "6" }, {
2005
+ default: t(() => [
2006
+ l(s, { "html-for": "moduleselector-window-title" }, {
2007
+ default: t(() => [
2008
+ M(
2009
+ v(e.$st("moduleSelector.configEditor.windowTitle")),
1715
2010
  1
1716
2011
  /* TEXT */
1717
2012
  )
@@ -1723,13 +2018,13 @@ function Ro(e, o, t, r, i, l) {
1723
2018
  _: 1
1724
2019
  /* STABLE */
1725
2020
  }),
1726
- d(s, null, {
1727
- default: n(() => [
1728
- d(f, {
2021
+ l(u, null, {
2022
+ default: t(() => [
2023
+ l(y, {
1729
2024
  id: "moduleselector-window-title",
1730
2025
  placeholder: e.$st("moduleSelector.title"),
1731
2026
  modelValue: e.localConfig.windowTitle,
1732
- "onUpdate:modelValue": o[0] || (o[0] = (p) => e.localConfig.windowTitle = p)
2027
+ "onUpdate:modelValue": o[0] || (o[0] = (b) => e.localConfig.windowTitle = b)
1733
2028
  }, null, 8, ["placeholder", "modelValue"])
1734
2029
  ]),
1735
2030
  _: 1
@@ -1739,13 +2034,13 @@ function Ro(e, o, t, r, i, l) {
1739
2034
  _: 1
1740
2035
  /* STABLE */
1741
2036
  }),
1742
- d(u, { "no-gutters": "" }, {
1743
- default: n(() => [
1744
- d(s, null, {
1745
- default: n(() => [
1746
- d(C, {
2037
+ l(c, { "no-gutters": "" }, {
2038
+ default: t(() => [
2039
+ l(u, null, {
2040
+ default: t(() => [
2041
+ l(h, {
1747
2042
  modelValue: e.localConfig.isActiveOnStart,
1748
- "onUpdate:modelValue": o[1] || (o[1] = (p) => e.localConfig.isActiveOnStart = p),
2043
+ "onUpdate:modelValue": o[1] || (o[1] = (b) => e.localConfig.isActiveOnStart = b),
1749
2044
  label: "moduleSelector.configEditor.isActiveOnStart"
1750
2045
  }, null, 8, ["modelValue"])
1751
2046
  ]),
@@ -1756,13 +2051,13 @@ function Ro(e, o, t, r, i, l) {
1756
2051
  _: 1
1757
2052
  /* STABLE */
1758
2053
  }),
1759
- d(u, { "no-gutters": "" }, {
1760
- default: n(() => [
1761
- d(s, null, {
1762
- default: n(() => [
1763
- d(C, {
2054
+ l(c, { "no-gutters": "" }, {
2055
+ default: t(() => [
2056
+ l(u, null, {
2057
+ default: t(() => [
2058
+ l(h, {
1764
2059
  modelValue: e.localConfig.requireModuleSelection,
1765
- "onUpdate:modelValue": o[2] || (o[2] = (p) => e.localConfig.requireModuleSelection = p),
2060
+ "onUpdate:modelValue": o[2] || (o[2] = (b) => e.localConfig.requireModuleSelection = b),
1766
2061
  label: "moduleSelector.configEditor.requireModuleSelection"
1767
2062
  }, null, 8, ["modelValue"])
1768
2063
  ]),
@@ -1781,41 +2076,18 @@ function Ro(e, o, t, r, i, l) {
1781
2076
  _: 1
1782
2077
  /* STABLE */
1783
2078
  }),
1784
- d(g, {
1785
- heading: "moduleSelector.configEditor.windowPosition",
1786
- expandable: !0
1787
- }, {
1788
- default: n(() => [
1789
- d(R, {
1790
- modelValue: e.localConfig.position,
1791
- "onUpdate:modelValue": o[3] || (o[3] = (p) => e.localConfig.position = p),
1792
- "position-keys": [
1793
- "top",
1794
- "right",
1795
- "bottom",
1796
- "left",
1797
- "width",
1798
- "maxWidth",
1799
- "height",
1800
- "maxHeight"
1801
- ]
1802
- }, null, 8, ["modelValue"])
1803
- ]),
1804
- _: 1
1805
- /* STABLE */
1806
- }),
1807
- d(g, { heading: "moduleSelector.configEditor.baseModule" }, {
1808
- default: n(() => [
1809
- d(b, { class: "py-0 px-1" }, {
1810
- default: n(() => [
1811
- d(u, { "no-gutters": "" }, {
1812
- default: n(() => [
1813
- d(s, null, {
1814
- default: n(() => [
1815
- d(C, {
2079
+ l($, { heading: "moduleSelector.configEditor.baseModule" }, {
2080
+ default: t(() => [
2081
+ l(S, { class: "py-0 px-1" }, {
2082
+ default: t(() => [
2083
+ l(c, { "no-gutters": "" }, {
2084
+ default: t(() => [
2085
+ l(u, null, {
2086
+ default: t(() => [
2087
+ l(h, {
1816
2088
  id: "BaseModuleCheckbox",
1817
2089
  modelValue: e.basisModuleExists,
1818
- "onUpdate:modelValue": o[4] || (o[4] = (p) => e.basisModuleExists = p),
2090
+ "onUpdate:modelValue": o[3] || (o[3] = (b) => e.basisModuleExists = b),
1819
2091
  label: "moduleSelector.configEditor.baseModuleCheckbox"
1820
2092
  }, null, 8, ["modelValue"])
1821
2093
  ]),
@@ -1826,20 +2098,20 @@ function Ro(e, o, t, r, i, l) {
1826
2098
  _: 1
1827
2099
  /* STABLE */
1828
2100
  }),
1829
- e.basisModuleExists ? (I(), $(u, {
2101
+ e.basisModuleExists ? (C(), _(c, {
1830
2102
  key: 0,
1831
2103
  "no-gutters": ""
1832
2104
  }, {
1833
- default: n(() => [
1834
- d(s, { cols: "6" }, {
1835
- default: n(() => [
1836
- d(a, {
2105
+ default: t(() => [
2106
+ l(u, { cols: "6" }, {
2107
+ default: t(() => [
2108
+ l(s, {
1837
2109
  required: "",
1838
2110
  "html-for": "basisModuleName"
1839
2111
  }, {
1840
- default: n(() => [
1841
- S(
1842
- V(e.$st("moduleSelector.configEditor.title")),
2112
+ default: t(() => [
2113
+ M(
2114
+ v(e.$st("moduleSelector.configEditor.title")),
1843
2115
  1
1844
2116
  /* TEXT */
1845
2117
  )
@@ -1851,16 +2123,16 @@ function Ro(e, o, t, r, i, l) {
1851
2123
  _: 1
1852
2124
  /* STABLE */
1853
2125
  }),
1854
- d(s, null, {
1855
- default: n(() => [
1856
- d(f, {
2126
+ l(u, null, {
2127
+ default: t(() => [
2128
+ l(y, {
1857
2129
  id: "basisModuleName",
1858
2130
  placeholder: "Base Module",
1859
2131
  rules: [
1860
2132
  e.basisModuleExists && (!e.basisModule.title || e.basisModule.title === "") ? () => "moduleSelector.configEditor.error" : () => !0
1861
2133
  ],
1862
2134
  modelValue: e.basisModule.title,
1863
- "onUpdate:modelValue": o[5] || (o[5] = (p) => e.basisModule.title = p)
2135
+ "onUpdate:modelValue": o[4] || (o[4] = (b) => e.basisModule.title = b)
1864
2136
  }, null, 8, ["rules", "modelValue"])
1865
2137
  ]),
1866
2138
  _: 1
@@ -1869,21 +2141,21 @@ function Ro(e, o, t, r, i, l) {
1869
2141
  ]),
1870
2142
  _: 1
1871
2143
  /* STABLE */
1872
- })) : q("v-if", !0),
1873
- e.basisModuleExists ? (I(), $(u, {
2144
+ })) : G("v-if", !0),
2145
+ e.basisModuleExists ? (C(), _(c, {
1874
2146
  key: 1,
1875
2147
  "no-gutters": ""
1876
2148
  }, {
1877
- default: n(() => [
1878
- d(s, { cols: "6" }, {
1879
- default: n(() => [
1880
- d(a, {
2149
+ default: t(() => [
2150
+ l(u, { cols: "6" }, {
2151
+ default: t(() => [
2152
+ l(s, {
1881
2153
  required: "",
1882
2154
  "html-for": "basisModuleIcon"
1883
2155
  }, {
1884
- default: n(() => [
1885
- S(
1886
- V(e.$st("components.style.icon")),
2156
+ default: t(() => [
2157
+ M(
2158
+ v(e.$st("components.style.icon")),
1887
2159
  1
1888
2160
  /* TEXT */
1889
2161
  )
@@ -1895,16 +2167,16 @@ function Ro(e, o, t, r, i, l) {
1895
2167
  _: 1
1896
2168
  /* STABLE */
1897
2169
  }),
1898
- d(s, null, {
1899
- default: n(() => [
1900
- d(f, {
2170
+ l(u, null, {
2171
+ default: t(() => [
2172
+ l(y, {
1901
2173
  id: "basisModuleIcon",
1902
2174
  placeholder: "mdi-home-city",
1903
2175
  rules: [
1904
2176
  e.basisModuleExists && (!e.basisModule.icon || e.basisModule.icon === "") ? () => "moduleSelector.configEditor.error" : () => !0
1905
2177
  ],
1906
2178
  modelValue: e.basisModule.icon,
1907
- "onUpdate:modelValue": o[6] || (o[6] = (p) => e.basisModule.icon = p)
2179
+ "onUpdate:modelValue": o[5] || (o[5] = (b) => e.basisModule.icon = b)
1908
2180
  }, null, 8, ["rules", "modelValue"])
1909
2181
  ]),
1910
2182
  _: 1
@@ -1913,7 +2185,44 @@ function Ro(e, o, t, r, i, l) {
1913
2185
  ]),
1914
2186
  _: 1
1915
2187
  /* STABLE */
1916
- })) : q("v-if", !0)
2188
+ })) : G("v-if", !0),
2189
+ e.basisModuleExists ? (C(), _(c, {
2190
+ key: 2,
2191
+ "no-gutters": ""
2192
+ }, {
2193
+ default: t(() => [
2194
+ l(u, { cols: "6" }, {
2195
+ default: t(() => [
2196
+ l(s, { "html-for": "basisModuleDescription" }, {
2197
+ default: t(() => [
2198
+ M(
2199
+ v(e.$st("moduleSelector.configEditor.moduleDescription")),
2200
+ 1
2201
+ /* TEXT */
2202
+ )
2203
+ ]),
2204
+ _: 1
2205
+ /* STABLE */
2206
+ })
2207
+ ]),
2208
+ _: 1
2209
+ /* STABLE */
2210
+ }),
2211
+ l(u, null, {
2212
+ default: t(() => [
2213
+ l(B, {
2214
+ id: "basisModuleDescription",
2215
+ modelValue: e.basisModule.description,
2216
+ "onUpdate:modelValue": o[6] || (o[6] = (b) => e.basisModule.description = b)
2217
+ }, null, 8, ["modelValue"])
2218
+ ]),
2219
+ _: 1
2220
+ /* STABLE */
2221
+ })
2222
+ ]),
2223
+ _: 1
2224
+ /* STABLE */
2225
+ })) : G("v-if", !0)
1917
2226
  ]),
1918
2227
  _: 1
1919
2228
  /* STABLE */
@@ -1925,164 +2234,247 @@ function Ro(e, o, t, r, i, l) {
1925
2234
  ]),
1926
2235
  _: 1
1927
2236
  /* STABLE */
1928
- })) : (I(), $(b, {
1929
- key: 1,
1930
- class: "py-0 px-1"
2237
+ }),
2238
+ l(P, {
2239
+ modelValue: e.groupItemDialogVisible,
2240
+ "onUpdate:modelValue": o[13] || (o[13] = (b) => e.groupItemDialogVisible = b),
2241
+ width: "800",
2242
+ persistent: !0
1931
2243
  }, {
1932
- default: n(() => [
1933
- d(y, {
1934
- items: e.breadcrumbItems,
1935
- divider: "/"
1936
- }, {
1937
- item: n(({ item: p }) => [
1938
- (I(), $(v, {
1939
- key: p.title,
1940
- disabled: p.disabled,
1941
- href: p.href,
1942
- onClick: (D) => p.disabled ? null : e.returnLevel()
2244
+ default: t(() => [
2245
+ e.currentGroup ? (C(), _(p, { key: 0 }, {
2246
+ default: t(() => [
2247
+ l($, {
2248
+ heading: "moduleSelector.configEditor.groupHeading",
2249
+ "start-open": !0
1943
2250
  }, {
1944
- default: n(() => [
1945
- S(
1946
- V(p.title),
1947
- 1
1948
- /* TEXT */
1949
- )
1950
- ]),
1951
- _: 2
1952
- /* DYNAMIC */
1953
- }, 1032, ["disabled", "href", "onClick"]))
1954
- ]),
1955
- _: 1
1956
- /* STABLE */
1957
- }, 8, ["items"]),
1958
- d(u, { "no-gutters": "" }, {
1959
- default: n(() => [
1960
- d(s, { cols: "6" }, {
1961
- default: n(() => [
1962
- d(a, {
1963
- required: "",
1964
- "html-for": "groupModuleName"
1965
- }, {
1966
- default: n(() => [
1967
- S(
1968
- V(e.$st("moduleSelector.configEditor.groupName")),
1969
- 1
1970
- /* TEXT */
1971
- )
1972
- ]),
1973
- _: 1
1974
- /* STABLE */
1975
- })
1976
- ]),
1977
- _: 1
1978
- /* STABLE */
1979
- }),
1980
- d(s, null, {
1981
- default: n(() => [
1982
- d(f, {
1983
- id: "groupModuleName",
1984
- placeholder: "Module Name",
1985
- modelValue: e.currentGroup.title,
1986
- "onUpdate:modelValue": o[7] || (o[7] = (p) => e.currentGroup.title = p),
1987
- rules: [(p) => !!p || "moduleSelector.configEditor.error"]
1988
- }, null, 8, ["modelValue", "rules"])
1989
- ]),
1990
- _: 1
1991
- /* STABLE */
1992
- })
1993
- ]),
1994
- _: 1
1995
- /* STABLE */
1996
- }),
1997
- d(u, { "no-gutters": "" }, {
1998
- default: n(() => [
1999
- d(s, { cols: "6" }, {
2000
- default: n(() => [
2001
- d(a, {
2002
- required: "",
2003
- "html-for": "groupModuleIcon"
2251
+ default: t(() => [
2252
+ l(V, {
2253
+ modelValue: e.isFormValid,
2254
+ "onUpdate:modelValue": o[10] || (o[10] = (b) => e.isFormValid = b)
2004
2255
  }, {
2005
- default: n(() => [
2006
- S(
2007
- V(e.$st("moduleSelector.configEditor.moduleIcon")),
2008
- 1
2009
- /* TEXT */
2010
- )
2256
+ default: t(() => [
2257
+ l(S, { class: "py-0 px-1" }, {
2258
+ default: t(() => [
2259
+ l(c, { "no-gutters": "" }, {
2260
+ default: t(() => [
2261
+ l(u, { cols: "6" }, {
2262
+ default: t(() => [
2263
+ l(s, {
2264
+ required: "",
2265
+ "html-for": "groupModuleName"
2266
+ }, {
2267
+ default: t(() => [
2268
+ M(
2269
+ v(e.$st("moduleSelector.configEditor.groupName")),
2270
+ 1
2271
+ /* TEXT */
2272
+ )
2273
+ ]),
2274
+ _: 1
2275
+ /* STABLE */
2276
+ })
2277
+ ]),
2278
+ _: 1
2279
+ /* STABLE */
2280
+ }),
2281
+ l(u, null, {
2282
+ default: t(() => [
2283
+ l(y, {
2284
+ id: "groupModuleName",
2285
+ placeholder: "Module Name",
2286
+ modelValue: e.currentGroup.title,
2287
+ "onUpdate:modelValue": o[7] || (o[7] = (b) => e.currentGroup.title = b),
2288
+ rules: [e.isRequired]
2289
+ }, null, 8, ["modelValue", "rules"])
2290
+ ]),
2291
+ _: 1
2292
+ /* STABLE */
2293
+ })
2294
+ ]),
2295
+ _: 1
2296
+ /* STABLE */
2297
+ }),
2298
+ l(c, { "no-gutters": "" }, {
2299
+ default: t(() => [
2300
+ l(u, { cols: "6" }, {
2301
+ default: t(() => [
2302
+ l(s, {
2303
+ required: "",
2304
+ "html-for": "groupModuleIcon"
2305
+ }, {
2306
+ default: t(() => [
2307
+ M(
2308
+ v(e.$st("moduleSelector.configEditor.moduleIcon")),
2309
+ 1
2310
+ /* TEXT */
2311
+ )
2312
+ ]),
2313
+ _: 1
2314
+ /* STABLE */
2315
+ })
2316
+ ]),
2317
+ _: 1
2318
+ /* STABLE */
2319
+ }),
2320
+ l(u, null, {
2321
+ default: t(() => [
2322
+ l(y, {
2323
+ id: "groupModuleIcon",
2324
+ placeholder: "Module Icon",
2325
+ modelValue: e.currentGroup.icon,
2326
+ "onUpdate:modelValue": o[8] || (o[8] = (b) => e.currentGroup.icon = b),
2327
+ rules: [e.isRequired]
2328
+ }, null, 8, ["modelValue", "rules"])
2329
+ ]),
2330
+ _: 1
2331
+ /* STABLE */
2332
+ })
2333
+ ]),
2334
+ _: 1
2335
+ /* STABLE */
2336
+ }),
2337
+ l(c, { "no-gutters": "" }, {
2338
+ default: t(() => [
2339
+ l(u, { cols: "6" }, {
2340
+ default: t(() => [
2341
+ l(s, { "html-for": "groupModuleDescription" }, {
2342
+ default: t(() => [
2343
+ M(
2344
+ v(e.$st("moduleSelector.configEditor.groupDescription")),
2345
+ 1
2346
+ /* TEXT */
2347
+ )
2348
+ ]),
2349
+ _: 1
2350
+ /* STABLE */
2351
+ })
2352
+ ]),
2353
+ _: 1
2354
+ /* STABLE */
2355
+ }),
2356
+ l(u, null, {
2357
+ default: t(() => [
2358
+ l(B, {
2359
+ id: "groupModuleDescription",
2360
+ placeholder: "",
2361
+ modelValue: e.currentGroup.description,
2362
+ "onUpdate:modelValue": o[9] || (o[9] = (b) => e.currentGroup.description = b)
2363
+ }, null, 8, ["modelValue"])
2364
+ ]),
2365
+ _: 1
2366
+ /* STABLE */
2367
+ })
2368
+ ]),
2369
+ _: 1
2370
+ /* STABLE */
2371
+ })
2372
+ ]),
2373
+ _: 1
2374
+ /* STABLE */
2375
+ })
2011
2376
  ]),
2012
2377
  _: 1
2013
2378
  /* STABLE */
2014
- })
2379
+ }, 8, ["modelValue"])
2015
2380
  ]),
2016
2381
  _: 1
2017
2382
  /* STABLE */
2018
2383
  }),
2019
- d(s, null, {
2020
- default: n(() => [
2021
- d(f, {
2022
- id: "groupModuleIcon",
2023
- placeholder: "Module Icon",
2024
- modelValue: e.currentGroup.icon,
2025
- "onUpdate:modelValue": o[8] || (o[8] = (p) => e.currentGroup.icon = p),
2026
- rules: [
2027
- (p) => !!p || "moduleSelector.configEditor.editorError"
2028
- ]
2029
- }, null, 8, ["modelValue", "rules"])
2384
+ l($, {
2385
+ heading: "moduleSelector.configEditor.heading",
2386
+ "start-open": !0,
2387
+ "header-actions": e.headerActions
2388
+ }, {
2389
+ default: t(() => [
2390
+ l(g, {
2391
+ class: "draggable-list",
2392
+ items: e.currentGroup.cards,
2393
+ draggable: !0,
2394
+ onItemMoved: e.moveCard
2395
+ }, null, 8, ["items", "onItemMoved"])
2030
2396
  ]),
2031
2397
  _: 1
2032
2398
  /* STABLE */
2033
- })
2399
+ }, 8, ["header-actions"]),
2400
+ H("div", Ro, [
2401
+ l(N, {
2402
+ variant: "filled",
2403
+ class: "ma-2",
2404
+ disabled: !e.isFormValid,
2405
+ onClick: o[11] || (o[11] = (b) => e.returnLevel())
2406
+ }, {
2407
+ default: t(() => [
2408
+ M(
2409
+ v(e.$t("components.apply")),
2410
+ 1
2411
+ /* TEXT */
2412
+ )
2413
+ ]),
2414
+ _: 1
2415
+ /* STABLE */
2416
+ }, 8, ["disabled"]),
2417
+ l(N, {
2418
+ class: "ma-2",
2419
+ onClick: o[12] || (o[12] = (b) => e.cancelCurrentGroup())
2420
+ }, {
2421
+ default: t(() => [
2422
+ M(
2423
+ v(e.$t("components.cancel")),
2424
+ 1
2425
+ /* TEXT */
2426
+ )
2427
+ ]),
2428
+ _: 1
2429
+ /* STABLE */
2430
+ })
2431
+ ])
2034
2432
  ]),
2035
2433
  _: 1
2036
2434
  /* STABLE */
2037
- })
2435
+ })) : G("v-if", !0)
2038
2436
  ]),
2039
2437
  _: 1
2040
2438
  /* STABLE */
2041
- })),
2042
- d(g, {
2439
+ }, 8, ["modelValue"]),
2440
+ l($, {
2043
2441
  heading: "moduleSelector.configEditor.heading",
2044
2442
  "start-open": !0,
2045
2443
  "header-actions": e.headerActions
2046
2444
  }, {
2047
- default: n(() => [
2048
- e.currentGroup === void 0 ? (I(), $(U, {
2049
- key: 0,
2445
+ default: t(() => [
2446
+ l(g, {
2050
2447
  items: e.listItemArray,
2051
2448
  draggable: !0,
2052
- onItemMoved: e.move
2053
- }, null, 8, ["items", "onItemMoved"])) : (I(), $(U, {
2054
- key: 1,
2055
- items: e.currentGroup.cards,
2056
- draggable: !0,
2057
- onItemMoved: e.move
2058
- }, null, 8, ["items", "onItemMoved"])),
2059
- d(N, {
2449
+ onItemMoved: e.moveItem
2450
+ }, null, 8, ["items", "onItemMoved"]),
2451
+ l(P, {
2060
2452
  modelValue: e.editingItemDialogVisible,
2061
- "onUpdate:modelValue": o[11] || (o[11] = (p) => e.editingItemDialogVisible = p),
2453
+ "onUpdate:modelValue": o[16] || (o[16] = (b) => e.editingItemDialogVisible = b),
2062
2454
  width: "400",
2063
2455
  persistent: !0
2064
2456
  }, {
2065
- default: n(() => [
2066
- d(G, {
2457
+ default: t(() => [
2458
+ l(U, {
2067
2459
  "model-value": e.editingItem,
2068
- onClose: o[9] || (o[9] = (p) => e.editingItemDialogVisible = !1),
2069
- onSubmit: o[10] || (o[10] = (p) => e.updateItem())
2460
+ onClose: o[14] || (o[14] = (b) => e.editingItemDialogVisible = !1),
2461
+ onSubmit: o[15] || (o[15] = (b) => e.updateItem())
2070
2462
  }, null, 8, ["model-value"])
2071
2463
  ]),
2072
2464
  _: 1
2073
2465
  /* STABLE */
2074
2466
  }, 8, ["modelValue"]),
2075
- d(N, {
2467
+ l(P, {
2076
2468
  modelValue: e.selectCloudItemDialogVisible,
2077
- "onUpdate:modelValue": o[14] || (o[14] = (p) => e.selectCloudItemDialogVisible = p),
2469
+ "onUpdate:modelValue": o[19] || (o[19] = (b) => e.selectCloudItemDialogVisible = b),
2078
2470
  width: "1000",
2079
2471
  persistent: !0
2080
2472
  }, {
2081
- default: n(() => [
2082
- d(ee, {
2473
+ default: t(() => [
2474
+ l(Z, {
2083
2475
  "model-value": e.selectCloudItem,
2084
- onClose: o[12] || (o[12] = (p) => e.selectCloudItemDialogVisible = !1),
2085
- onSubmit: o[13] || (o[13] = (p) => e.updateCloudItem())
2476
+ onClose: o[17] || (o[17] = (b) => e.selectCloudItemDialogVisible = !1),
2477
+ onSubmit: o[18] || (o[18] = (b) => e.updateCloudItem())
2086
2478
  }, null, 8, ["model-value"])
2087
2479
  ]),
2088
2480
  _: 1
@@ -2091,39 +2483,63 @@ function Ro(e, o, t, r, i, l) {
2091
2483
  ]),
2092
2484
  _: 1
2093
2485
  /* STABLE */
2094
- }, 8, ["header-actions"])
2486
+ }, 8, ["header-actions"]),
2487
+ l($, {
2488
+ heading: "moduleSelector.configEditor.windowPosition",
2489
+ expandable: !0
2490
+ }, {
2491
+ default: t(() => [
2492
+ l(Q, {
2493
+ modelValue: e.localConfig.position,
2494
+ "onUpdate:modelValue": o[20] || (o[20] = (b) => e.localConfig.position = b),
2495
+ "position-keys": [
2496
+ "top",
2497
+ "right",
2498
+ "bottom",
2499
+ "left",
2500
+ "width",
2501
+ "maxWidth",
2502
+ "height",
2503
+ "maxHeight"
2504
+ ]
2505
+ }, null, 8, ["modelValue"])
2506
+ ]),
2507
+ _: 1
2508
+ /* STABLE */
2509
+ })
2095
2510
  ]),
2096
2511
  _: 1
2097
2512
  /* STABLE */
2098
- }, 16, ["onSubmit"])) : q("v-if", !0);
2513
+ }, 16, ["onSubmit"])) : G("v-if", !0);
2099
2514
  }
2100
- const Do = /* @__PURE__ */ Y(Fo, [["render", Ro], ["__scopeId", "data-v-04be78a1"]]);
2101
- function zo(e) {
2515
+ const Po = /* @__PURE__ */ ne(Go, [["render", qo]]);
2516
+ function Ko(e) {
2102
2517
  let o;
2103
2518
  return {
2104
2519
  get name() {
2105
- return j;
2520
+ return L;
2106
2521
  },
2107
2522
  get version() {
2108
- return io;
2523
+ return so;
2109
2524
  },
2110
2525
  get mapVersion() {
2111
- return ro;
2526
+ return uo;
2112
2527
  },
2113
2528
  get config() {
2114
- return { ...re(), ...e };
2529
+ return { ...ue(), ...e };
2115
2530
  },
2116
- selectedMainModuleIndex: k(void 0),
2117
- selectedNestedModuleIndex: k(void 0),
2118
- async initialize(t, r) {
2119
- var a;
2120
- o = t;
2121
- const i = {
2531
+ selectedMainModuleIndex: A(void 0),
2532
+ selectedNestedModuleIndex: A(void 0),
2533
+ async initialize(i, d) {
2534
+ var s;
2535
+ o = i;
2536
+ const n = {
2122
2537
  id: ae,
2123
- component: co,
2124
- slot: Ge.DETACHED,
2538
+ component: po,
2539
+ slot: Ke.DETACHED,
2125
2540
  position: this.config.position,
2126
2541
  state: {
2542
+ headerIcon: "mdi-view-grid",
2127
2543
  headerTitle: this.config.windowTitle,
2128
2544
  infoUrlCallback: o.getHelpUrlCallback("/tools/moduleSelector.html")
2129
2545
  },
@@ -2133,50 +2549,50 @@ function zo(e) {
2133
2549
  requireModuleSelection: this.config.requireModuleSelection
2134
2550
  }
2135
2551
  };
2136
- if (r) {
2137
- const s = Ee(r.smi), f = Ee(r.snmi), u = to(r.w), { modules: C } = this.config;
2138
- if (s !== void 0 && s < (C == null ? void 0 : C.length)) {
2139
- this.selectedMainModuleIndex.value = s;
2140
- const b = C[s];
2141
- f !== void 0 && (b == null ? void 0 : b.type) === "group" && f < ((a = b == null ? void 0 : b.cards) == null ? void 0 : a.length) && (this.selectedNestedModuleIndex.value = f);
2552
+ if (d) {
2553
+ const u = Ce(d.smi), y = Ce(d.snmi), c = io(d.w), { modules: h } = this.config;
2554
+ if (u !== void 0 && u < (h == null ? void 0 : h.length)) {
2555
+ this.selectedMainModuleIndex.value = u;
2556
+ const S = h[u];
2557
+ y !== void 0 && (S == null ? void 0 : S.type) === "group" && y < ((s = S == null ? void 0 : S.cards) == null ? void 0 : s.length) && (this.selectedNestedModuleIndex.value = y);
2142
2558
  }
2143
- u || await Ue(
2559
+ c || await Oe(
2144
2560
  this.selectedMainModuleIndex.value,
2145
2561
  this.selectedNestedModuleIndex.value,
2146
2562
  o,
2147
- e.modules,
2148
- e.basisModule
2563
+ this.config.modules,
2564
+ this.config.basisModule
2149
2565
  );
2150
2566
  }
2151
- const { action: l } = je(
2567
+ const { action: r } = Je(
2152
2568
  {
2153
2569
  name: "moduleSelector",
2154
2570
  title: "moduleSelector.title",
2155
2571
  icon: "mdi-view-grid"
2156
2572
  },
2157
- i,
2573
+ n,
2158
2574
  o.windowManager,
2159
- j
2575
+ L
2160
2576
  );
2161
2577
  return o.navbarManager.add(
2162
2578
  {
2163
- id: l.name,
2164
- action: l
2579
+ id: r.name,
2580
+ action: r
2165
2581
  },
2166
- j,
2167
- Le.PROJECT
2168
- ), (r && r.w || !r && e.isActiveOnStart) && o.windowManager.add(i, j), Promise.resolve();
2582
+ L,
2583
+ Ze.PROJECT
2584
+ ), (d && d.w || !d && this.config.isActiveOnStart) && o.windowManager.add(n, L), Promise.resolve();
2169
2585
  },
2170
- getDefaultOptions: re,
2586
+ getDefaultOptions: ue,
2171
2587
  getState() {
2172
- var a, s;
2173
- const t = (a = this.selectedMainModuleIndex) == null ? void 0 : a.value, r = (s = this.selectedNestedModuleIndex) == null ? void 0 : s.value, i = o.windowManager.has(ae), l = this.config.isActiveOnStart;
2174
- return t !== void 0 || r !== void 0 || i !== l ? { smi: t, snmi: r, w: i } : {};
2588
+ var s, u;
2589
+ const i = (s = this.selectedMainModuleIndex) == null ? void 0 : s.value, d = (u = this.selectedNestedModuleIndex) == null ? void 0 : u.value, n = o.windowManager.has(ae), r = this.config.isActiveOnStart;
2590
+ return i !== void 0 || d !== void 0 || n !== r ? { smi: i, snmi: d, w: n } : {};
2175
2591
  },
2176
2592
  getConfigEditors() {
2177
2593
  return [
2178
2594
  {
2179
- component: Do,
2595
+ component: Po,
2180
2596
  title: "moduleSelector.name",
2181
2597
  infoUrlCallback: o.getHelpUrlCallback(
2182
2598
  "/components/plugins/moduleSelectorConfig.html",
@@ -2186,8 +2602,8 @@ function zo(e) {
2186
2602
  ];
2187
2603
  },
2188
2604
  toJSON() {
2189
- const t = {}, r = re();
2190
- return this.config.windowTitle !== r.windowTitle && (t.windowTitle = this.config.windowTitle), this.config.isActiveOnStart !== r.isActiveOnStart && (t.isActiveOnStart = this.config.isActiveOnStart), this.config.requireModuleSelection !== r.requireModuleSelection && (t.requireModuleSelection = this.config.requireModuleSelection), ue(this.config.position, r.position) || (t.position = this.config.position), ue(this.config.modules, r.modules) || (t.modules = this.config.modules), ue(this.config.basisModule, r.basisModule) || (t.basisModule = this.config.basisModule), e.serverUrl != null && (t.serverUrl = e.serverUrl), e.projectId != null && (t.projectId = e.projectId), e.appId != null && (t.appId = e.appId), e.token != null && (t.token = e.token), t;
2605
+ const i = {}, d = ue();
2606
+ return this.config.windowTitle !== d.windowTitle && (i.windowTitle = this.config.windowTitle), this.config.isActiveOnStart !== d.isActiveOnStart && (i.isActiveOnStart = this.config.isActiveOnStart), this.config.requireModuleSelection !== d.requireModuleSelection && (i.requireModuleSelection = this.config.requireModuleSelection), ve(this.config.position, d.position) || (i.position = this.config.position), ve(this.config.modules, d.modules) || (i.modules = this.config.modules), ve(this.config.basisModule, d.basisModule) || (i.basisModule = this.config.basisModule), e.serverUrl != null && (i.serverUrl = e.serverUrl), e.projectId != null && (i.projectId = e.projectId), e.appId != null && (i.appId = e.appId), e.token != null && (i.token = e.token), i;
2191
2607
  },
2192
2608
  i18n: {
2193
2609
  de: {
@@ -2211,6 +2627,7 @@ function zo(e) {
2211
2627
  updatedBy: "Aktualisiert von"
2212
2628
  }
2213
2629
  },
2630
+ TooltipAddCloudModule: "Modul aus Projekt hinzufügen",
2214
2631
  TooltipAddModule: "Modul hinzufügen",
2215
2632
  TooltipEditModule: "Modul bearbeiten",
2216
2633
  TooltipEditGroup: "Modul-Gruppe bearbeiten",
@@ -2219,14 +2636,17 @@ function zo(e) {
2219
2636
  editorError: "Bitte füllen Sie das Feld aus",
2220
2637
  breadcrumbs: { overview: "Übersicht", group: "Gruppe" },
2221
2638
  heading: "Themen- & Modulzuordnung",
2639
+ groupHeading: "Gruppeneinstellungen",
2222
2640
  baseModule: "Basismodul",
2223
2641
  baseModuleCheckbox: "Basismodul anzeigen",
2224
2642
  title: "Titel",
2225
- add: "Module hinzufügen",
2226
- addGroup: "Module Gruppe hinzufügen",
2227
- moduleName: "Module Name",
2643
+ add: "Modul hinzufügen",
2644
+ addGroup: "Gruppe hinzufügen",
2645
+ moduleName: "Modul Name",
2228
2646
  moduleIcon: "Icon Name",
2229
- moduleUrl: "Module URL",
2647
+ moduleUrl: "Modul URL",
2648
+ moduleDescription: "Modul Beschreibung",
2649
+ groupDescription: "Gruppen Beschreibung",
2230
2650
  groupName: "Gruppen Name",
2231
2651
  back: "Zurück",
2232
2652
  general: "Allgemeine Einstellungen",
@@ -2255,9 +2675,10 @@ function zo(e) {
2255
2675
  createdAt: "Created at",
2256
2676
  updatedAt: "Updated at",
2257
2677
  createdBy: "Created by",
2258
- updatedBy: "Created by"
2678
+ updatedBy: "Updated by"
2259
2679
  }
2260
2680
  },
2681
+ TooltipAddCloudModule: "Add module from project",
2261
2682
  TooltipAddModule: "Add module",
2262
2683
  TooltipEditModule: "Edit module",
2263
2684
  TooltipEditGroup: "Edit module group",
@@ -2266,14 +2687,17 @@ function zo(e) {
2266
2687
  editorError: "Please fill in the field",
2267
2688
  breadcrumbs: { overview: "Overview", group: "Group" },
2268
2689
  heading: "Topic & module assignment",
2690
+ groupHeading: "Group settings",
2269
2691
  baseModule: "Base module",
2270
2692
  baseModuleCheckbox: "Show base module",
2271
2693
  title: "Title",
2272
2694
  add: "Add module",
2273
- addGroup: "Add module Group",
2695
+ addGroup: "Add group",
2274
2696
  moduleName: "Module name",
2275
2697
  moduleIcon: "Icon name",
2276
2698
  moduleUrl: "Module URL",
2699
+ moduleDescription: "Module description",
2700
+ groupDescription: "Group description",
2277
2701
  groupName: "Group name",
2278
2702
  back: "Back",
2279
2703
  general: "General settings",
@@ -2290,5 +2714,5 @@ function zo(e) {
2290
2714
  };
2291
2715
  }
2292
2716
  export {
2293
- zo as default
2717
+ Ko as default
2294
2718
  };