@vcmap/module-selector 2.0.4 → 2.0.5

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,11 +10,11 @@ function loadCss(href) {
10
10
  elem.onerror = reject;
11
11
  document.head.appendChild(elem);
12
12
  });
13
- } await loadCss('data:text/css;base64,LnYtY2FyZFtkYXRhLXYtNDFiNjIzZGNde2Rpc3BsYXk6ZmxleDtmbGV4LWRpcmVjdGlvbjpjb2x1bW47anVzdGlmeS1jb250ZW50OmNlbnRlcjthbGlnbi1pdGVtczpjZW50ZXI7aGVpZ2h0OjE1MHB4O3dpZHRoOjE1MHB4O2FzcGVjdC1yYXRpbzoxO3RyYW5zaXRpb246YmFja2dyb3VuZC1jb2xvciAuM3N9LmZpeGVkLWNhcmRbZGF0YS12LTQxYjYyM2RjXXtoZWlnaHQ6MTUwcHg7d2lkdGg6MTUwcHg7YXNwZWN0LXJhdGlvOjF9LnNlbGVjdGVkLWNhcmRbZGF0YS12LTQxYjYyM2RjXXtiYWNrZ3JvdW5kLWNvbG9yOnJnYih2YXIoLS12LXRoZW1lLXByaW1hcnkpKTtjb2xvcjpyZ2IodmFyKC0tdi10aGVtZS1vbi1wcmltYXJ5KSl9LnRvcC1yaWdodC1pY29uW2RhdGEtdi00MWI2MjNkY117cG9zaXRpb246YWJzb2x1dGU7dG9wOjhweDtsZWZ0OjhweDt6LWluZGV4OjEwO2N1cnNvcjpwb2ludGVyO2NvbG9yOnJnYih2YXIoLS12LXRoZW1lLW9uLXN1cmZhY2UpKX0uZ3JvdXBDYXJkW2RhdGEtdi00MWI2MjNkY117d2lkdGg6MTQ2cHg7YmFja2dyb3VuZC1jb2xvcjpyZ2IodmFyKC0tdi10aGVtZS1zdXJmYWNlKSk7Ym9yZGVyOm5vbmUhaW1wb3J0YW50O2JvcmRlci1yaWdodDoxcHggc29saWQhaW1wb3J0YW50fS5pbnRlcm1lZGlhdGUtY2FyZFtkYXRhLXYtNDFiNjIzZGNde3dpZHRoOjE0OHB4O2JhY2tncm91bmQtY29sb3I6cmdiKHZhcigtLXYtdGhlbWUtc3VyZmFjZSkpO2JvcmRlcjpub25lIWltcG9ydGFudDtib3JkZXItcmlnaHQ6MXB4IHNvbGlkIWltcG9ydGFudH0uZ3JvdXBUaXRsZVtkYXRhLXYtNDFiNjIzZGNdLC5ncm91cEljb25bZGF0YS12LTQxYjYyM2RjXXttYXJnaW4tbGVmdDoyMHB4IWltcG9ydGFudH0K');var qe = Object.defineProperty;
13
+ } await loadCss('data:text/css;base64,LnYtY2FyZFtkYXRhLXYtZTdlYzFmZTdde2Rpc3BsYXk6ZmxleDtmbGV4LWRpcmVjdGlvbjpjb2x1bW47anVzdGlmeS1jb250ZW50OmNlbnRlcjthbGlnbi1pdGVtczpjZW50ZXI7aGVpZ2h0OjE1MHB4O3dpZHRoOjE1MHB4O2FzcGVjdC1yYXRpbzoxO3RyYW5zaXRpb246YmFja2dyb3VuZC1jb2xvciAuM3N9LmZpeGVkLWNhcmRbZGF0YS12LWU3ZWMxZmU3XXtoZWlnaHQ6MTUwcHg7d2lkdGg6MTUwcHg7YXNwZWN0LXJhdGlvOjF9LnNlbGVjdGVkLWNhcmRbZGF0YS12LWU3ZWMxZmU3XXtiYWNrZ3JvdW5kLWNvbG9yOnJnYih2YXIoLS12LXRoZW1lLXByaW1hcnkpKTtjb2xvcjpyZ2IodmFyKC0tdi10aGVtZS1vbi1wcmltYXJ5KSl9LnRvcC1yaWdodC1pY29uW2RhdGEtdi1lN2VjMWZlN117cG9zaXRpb246YWJzb2x1dGU7dG9wOjhweDtsZWZ0OjhweDt6LWluZGV4OjEwO2N1cnNvcjpwb2ludGVyO2NvbG9yOnJnYih2YXIoLS12LXRoZW1lLW9uLXN1cmZhY2UpKX0uZ3JvdXBDYXJkW2RhdGEtdi1lN2VjMWZlN117d2lkdGg6MTQ2cHg7YmFja2dyb3VuZC1jb2xvcjpyZ2IodmFyKC0tdi10aGVtZS1zdXJmYWNlKSk7Ym9yZGVyOm5vbmUhaW1wb3J0YW50O2JvcmRlci1yaWdodDoxcHggc29saWQhaW1wb3J0YW50fS5pbnRlcm1lZGlhdGUtY2FyZFtkYXRhLXYtZTdlYzFmZTdde3dpZHRoOjE0OHB4O2JhY2tncm91bmQtY29sb3I6cmdiKHZhcigtLXYtdGhlbWUtc3VyZmFjZSkpO2JvcmRlcjpub25lIWltcG9ydGFudDtib3JkZXItcmlnaHQ6MXB4IHNvbGlkIWltcG9ydGFudH0uZ3JvdXBUaXRsZVtkYXRhLXYtZTdlYzFmZTddLC5ncm91cEljb25bZGF0YS12LWU3ZWMxZmU3XXttYXJnaW4tbGVmdDoyMHB4IWltcG9ydGFudH0uZml4ZWQtYm90dG9tW2RhdGEtdi1lN2VjMWZlN117cG9zaXRpb246c3RpY2t5O2JvdHRvbTowO2JhY2tncm91bmQtY29sb3I6cmdiKHZhcigtLXYtdGhlbWUtc3VyZmFjZSkpO3otaW5kZXg6MTB9Cg==');var qe = Object.defineProperty;
14
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";
15
+ var J = (e, o, i) => Pe(e, typeof o != "symbol" ? o + "" : o, i);
16
+ import { VcsFormButton as ce, VcsTextField as me, VcsLabel as Se, VcsFormSection as ye, VcsTextArea as we, VcsCheckbox as ke, 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 Z, resolveComponent as a, openBlock as C, createBlock as U, withCtx as t, createVNode as l, mergeProps as se, createTextVNode as h, toDisplayString as g, createCommentVNode as G, createElementVNode as L, createElementBlock as K, Fragment as ee, renderList as he, 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
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
19
  import { VcsModule as lo } from "../../../assets/core.js";
20
20
  function Ce(e, o) {
@@ -56,7 +56,7 @@ var ro = function e(o, i) {
56
56
  }
57
57
  return o !== o && i !== i;
58
58
  };
59
- const ve = /* @__PURE__ */ no(ro), L = "@vcmap/module-selector", so = "2.0.4", uo = "^6.0";
59
+ const ge = /* @__PURE__ */ no(ro), z = "@vcmap/module-selector", so = "2.0.5", uo = "^6.0";
60
60
  async function $e(e, o) {
61
61
  const i = await fetch(e, {
62
62
  method: "GET"
@@ -116,7 +116,7 @@ const co = oe({
116
116
  }
117
117
  },
118
118
  setup(e) {
119
- const o = Ue("vcsApp"), i = o.plugins.getByKey(L), { modules: d } = e, n = J(() => {
119
+ const o = Ue("vcsApp"), i = o.plugins.getByKey(z), { modules: d } = e, n = Z(() => {
120
120
  const c = e.modules[i.selectedMainModuleIndex.value];
121
121
  return (c == null ? void 0 : c.type) === "group" ? c.cards : [];
122
122
  }), r = (c) => {
@@ -125,10 +125,10 @@ const co = oe({
125
125
  i.selectedNestedModuleIndex.value === c ? i.selectedNestedModuleIndex.value = null : i.selectedNestedModuleIndex.value = c;
126
126
  }, u = () => {
127
127
  i.selectedNestedModuleIndex.value = null, i.selectedMainModuleIndex.value = null;
128
- }, y = J(() => {
128
+ }, S = Z(() => {
129
129
  if (!e.requireModuleSelection) return !1;
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;
130
+ const c = i.selectedMainModuleIndex.value, y = i.selectedNestedModuleIndex.value, M = d[c];
131
+ return c == null || (M == null ? void 0 : M.type) === "group" && M.cards && y == null;
132
132
  });
133
133
  return {
134
134
  nestedCards: n,
@@ -136,7 +136,7 @@ const co = oe({
136
136
  selectModule: r,
137
137
  selectNestedModule: s,
138
138
  showMainCards: u,
139
- isButtonDisabled: y,
139
+ isButtonDisabled: S,
140
140
  app: o
141
141
  };
142
142
  }
@@ -147,20 +147,20 @@ const co = oe({
147
147
  return i;
148
148
  };
149
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, {
150
+ const s = a("v-icon"), u = a("v-tooltip"), S = a("v-card-title"), c = a("v-card"), y = a("v-col"), M = a("v-row"), $ = a("VcsFormButton"), B = a("v-container"), b = a("v-sheet");
151
+ return C(), U(b, {
152
152
  class: "module-selector",
153
153
  elevation: "1"
154
154
  }, {
155
155
  default: t(() => [
156
156
  l(B, null, {
157
157
  default: t(() => [
158
- l(S, {
158
+ l(M, {
159
159
  class: "justify-center align-center",
160
160
  "no-gutters": ""
161
161
  }, {
162
162
  default: t(() => [
163
- e.basisModule && !e.nestedCards.length ? (C(), _(h, {
163
+ e.basisModule && !e.nestedCards.length ? (C(), U(y, {
164
164
  key: 0,
165
165
  cols: "auto",
166
166
  class: "pa-2"
@@ -172,16 +172,16 @@ function mo(e, o, i, d, n, r) {
172
172
  }, {
173
173
  default: t(() => [
174
174
  l(u, { "max-width": 300 }, {
175
- activator: t(({ props: g }) => [
176
- e.basisModule.description ? (C(), _(
175
+ activator: t(({ props: v }) => [
176
+ e.basisModule.description ? (C(), U(
177
177
  s,
178
178
  se({
179
179
  key: 0,
180
180
  class: "top-right-icon"
181
- }, g),
181
+ }, v),
182
182
  {
183
183
  default: t(() => [
184
- M(v("$vcsInfo"))
184
+ h(g("$vcsInfo"))
185
185
  ]),
186
186
  _: 2
187
187
  /* DYNAMIC */
@@ -191,10 +191,10 @@ function mo(e, o, i, d, n, r) {
191
191
  )) : G("v-if", !0)
192
192
  ]),
193
193
  default: t(() => [
194
- H(
194
+ L(
195
195
  "span",
196
196
  null,
197
- v(e.$st(e.basisModule.description)),
197
+ g(e.$st(e.basisModule.description)),
198
198
  1
199
199
  /* TEXT */
200
200
  )
@@ -202,13 +202,13 @@ function mo(e, o, i, d, n, r) {
202
202
  _: 1
203
203
  /* STABLE */
204
204
  }),
205
- e.basisModule.icon ? (C(), _(s, {
205
+ e.basisModule.icon ? (C(), U(s, {
206
206
  key: 0,
207
207
  size: "50"
208
208
  }, {
209
209
  default: t(() => [
210
- M(
211
- v(e.basisModule.icon),
210
+ h(
211
+ g(e.basisModule.icon),
212
212
  1
213
213
  /* TEXT */
214
214
  )
@@ -216,10 +216,10 @@ function mo(e, o, i, d, n, r) {
216
216
  _: 1
217
217
  /* STABLE */
218
218
  })) : G("v-if", !0),
219
- l(y, { class: "text-center" }, {
219
+ l(S, { class: "text-center" }, {
220
220
  default: t(() => [
221
- M(
222
- v(e.$st(e.basisModule.title)),
221
+ h(
222
+ g(e.$st(e.basisModule.title)),
223
223
  1
224
224
  /* TEXT */
225
225
  )
@@ -235,11 +235,11 @@ function mo(e, o, i, d, n, r) {
235
235
  _: 1
236
236
  /* STABLE */
237
237
  })) : G("v-if", !0),
238
- e.nestedCards.length ? (C(), x(
238
+ e.nestedCards.length ? (C(), K(
239
239
  ee,
240
240
  { key: 2 },
241
241
  [
242
- l(h, {
242
+ l(y, {
243
243
  cols: "auto",
244
244
  class: "pa-2"
245
245
  }, {
@@ -247,18 +247,18 @@ function mo(e, o, i, d, n, r) {
247
247
  l(c, {
248
248
  class: "fixed-card hover-card",
249
249
  variant: "outlined",
250
- onClick: o[0] || (o[0] = (g) => e.showMainCards())
250
+ onClick: o[0] || (o[0] = (v) => e.showMainCards())
251
251
  }, {
252
252
  default: t(() => [
253
253
  l(s, { size: "50" }, {
254
254
  default: t(() => [
255
- M("mdi-arrow-left")
255
+ h("mdi-arrow-left")
256
256
  ]),
257
257
  _: 1
258
258
  /* STABLE */
259
259
  }),
260
- M(
261
- " " + v(e.$st("moduleSelector.cardBack")),
260
+ h(
261
+ " " + g(e.$st("moduleSelector.cardBack")),
262
262
  1
263
263
  /* TEXT */
264
264
  )
@@ -270,11 +270,11 @@ function mo(e, o, i, d, n, r) {
270
270
  _: 1
271
271
  /* STABLE */
272
272
  }),
273
- (C(!0), x(
273
+ (C(!0), K(
274
274
  ee,
275
275
  null,
276
- Me(e.nestedCards, (g, N) => (C(), _(
277
- h,
276
+ he(e.nestedCards, (v, N) => (C(), U(
277
+ y,
278
278
  {
279
279
  key: N,
280
280
  cols: "auto",
@@ -295,7 +295,7 @@ function mo(e, o, i, d, n, r) {
295
295
  { "max-width": 300 },
296
296
  {
297
297
  activator: t(({ props: p }) => [
298
- g.description ? (C(), _(
298
+ v.description ? (C(), U(
299
299
  s,
300
300
  se({
301
301
  key: 0,
@@ -304,7 +304,7 @@ function mo(e, o, i, d, n, r) {
304
304
  }, p),
305
305
  {
306
306
  default: t(() => [
307
- M(v("$vcsInfo"))
307
+ h(g("$vcsInfo"))
308
308
  ]),
309
309
  _: 2
310
310
  /* DYNAMIC */
@@ -314,10 +314,10 @@ function mo(e, o, i, d, n, r) {
314
314
  )) : G("v-if", !0)
315
315
  ]),
316
316
  default: t(() => [
317
- H(
317
+ L(
318
318
  "span",
319
319
  null,
320
- v(e.$st(g.description)),
320
+ g(e.$st(v.description)),
321
321
  1
322
322
  /* TEXT */
323
323
  )
@@ -328,7 +328,7 @@ function mo(e, o, i, d, n, r) {
328
328
  1024
329
329
  /* DYNAMIC_SLOTS */
330
330
  ),
331
- g.icon ? (C(), _(
331
+ v.icon ? (C(), U(
332
332
  s,
333
333
  {
334
334
  key: 0,
@@ -336,8 +336,8 @@ function mo(e, o, i, d, n, r) {
336
336
  },
337
337
  {
338
338
  default: t(() => [
339
- M(
340
- v(g.icon),
339
+ h(
340
+ g(v.icon),
341
341
  1
342
342
  /* TEXT */
343
343
  )
@@ -349,12 +349,12 @@ function mo(e, o, i, d, n, r) {
349
349
  /* DYNAMIC_SLOTS */
350
350
  )) : G("v-if", !0),
351
351
  l(
352
- y,
352
+ S,
353
353
  { class: "text-center" },
354
354
  {
355
355
  default: t(() => [
356
- M(
357
- v(e.$st(g.title)),
356
+ h(
357
+ g(e.$st(v.title)),
358
358
  1
359
359
  /* TEXT */
360
360
  )
@@ -382,11 +382,11 @@ function mo(e, o, i, d, n, r) {
382
382
  ],
383
383
  64
384
384
  /* STABLE_FRAGMENT */
385
- )) : (C(!0), x(
385
+ )) : (C(!0), K(
386
386
  ee,
387
387
  { key: 1 },
388
- Me(e.modules, (g, N) => (C(), _(
389
- h,
388
+ he(e.modules, (v, N) => (C(), U(
389
+ y,
390
390
  {
391
391
  cols: "auto",
392
392
  class: "pa-2",
@@ -397,7 +397,7 @@ function mo(e, o, i, d, n, r) {
397
397
  l(c, {
398
398
  class: re(["fixed-card hover-card", {
399
399
  "selected-card": e.plugin.selectedMainModuleIndex.value === N,
400
- "pr-3": g.type === "group"
400
+ "pr-3": v.type === "group"
401
401
  }]),
402
402
  variant: "outlined",
403
403
  onClick: (p) => e.selectModule(N)
@@ -408,7 +408,7 @@ function mo(e, o, i, d, n, r) {
408
408
  { "max-width": 300 },
409
409
  {
410
410
  activator: t(({ props: p }) => [
411
- g.description ? (C(), _(
411
+ v.description ? (C(), U(
412
412
  s,
413
413
  se({
414
414
  key: 0,
@@ -417,7 +417,7 @@ function mo(e, o, i, d, n, r) {
417
417
  }, p),
418
418
  {
419
419
  default: t(() => [
420
- M(v("$vcsInfo"))
420
+ h(g("$vcsInfo"))
421
421
  ]),
422
422
  _: 2
423
423
  /* DYNAMIC */
@@ -427,10 +427,10 @@ function mo(e, o, i, d, n, r) {
427
427
  )) : G("v-if", !0)
428
428
  ]),
429
429
  default: t(() => [
430
- H(
430
+ L(
431
431
  "span",
432
432
  null,
433
- v(e.$st(g.description)),
433
+ g(e.$st(v.description)),
434
434
  1
435
435
  /* TEXT */
436
436
  )
@@ -441,25 +441,25 @@ function mo(e, o, i, d, n, r) {
441
441
  1024
442
442
  /* DYNAMIC_SLOTS */
443
443
  ),
444
- g.type === "group" && g.cards ? (C(), _(c, {
444
+ v.type === "group" && v.cards ? (C(), U(c, {
445
445
  key: 0,
446
446
  class: re(["intermediate-card", {
447
447
  "selected-card": e.plugin.selectedMainModuleIndex.value === N,
448
- "pr-3": g.type === "group"
448
+ "pr-3": v.type === "group"
449
449
  }]),
450
450
  variant: "outlined"
451
451
  }, {
452
452
  default: t(() => [
453
453
  l(c, {
454
- variant: g.type === "group" && g.cards ? "outlined" : void 0,
454
+ variant: v.type === "group" && v.cards ? "outlined" : void 0,
455
455
  class: re({
456
456
  "selected-card": e.plugin.selectedMainModuleIndex.value === N,
457
- groupCard: g.type === "group",
458
- innerCard: g.type === "group"
457
+ groupCard: v.type === "group",
458
+ innerCard: v.type === "group"
459
459
  })
460
460
  }, {
461
461
  default: t(() => [
462
- g.icon ? (C(), _(
462
+ v.icon ? (C(), U(
463
463
  s,
464
464
  {
465
465
  key: 0,
@@ -468,8 +468,8 @@ function mo(e, o, i, d, n, r) {
468
468
  },
469
469
  {
470
470
  default: t(() => [
471
- M(
472
- v(g.icon),
471
+ h(
472
+ g(v.icon),
473
473
  1
474
474
  /* TEXT */
475
475
  )
@@ -481,12 +481,12 @@ function mo(e, o, i, d, n, r) {
481
481
  /* DYNAMIC_SLOTS */
482
482
  )) : G("v-if", !0),
483
483
  l(
484
- y,
484
+ S,
485
485
  { class: "text-center groupTitle" },
486
486
  {
487
487
  default: t(() => [
488
- M(
489
- v(e.$st(g.title)),
488
+ h(
489
+ g(e.$st(v.title)),
490
490
  1
491
491
  /* TEXT */
492
492
  )
@@ -504,11 +504,11 @@ function mo(e, o, i, d, n, r) {
504
504
  ]),
505
505
  _: 2
506
506
  /* DYNAMIC */
507
- }, 1032, ["class"])) : (C(), x(
507
+ }, 1032, ["class"])) : (C(), K(
508
508
  ee,
509
509
  { key: 1 },
510
510
  [
511
- g.icon ? (C(), _(
511
+ v.icon ? (C(), U(
512
512
  s,
513
513
  {
514
514
  key: 0,
@@ -516,8 +516,8 @@ function mo(e, o, i, d, n, r) {
516
516
  },
517
517
  {
518
518
  default: t(() => [
519
- M(
520
- v(g.icon),
519
+ h(
520
+ g(v.icon),
521
521
  1
522
522
  /* TEXT */
523
523
  )
@@ -529,12 +529,12 @@ function mo(e, o, i, d, n, r) {
529
529
  /* DYNAMIC_SLOTS */
530
530
  )) : G("v-if", !0),
531
531
  l(
532
- y,
532
+ S,
533
533
  { class: "text-center" },
534
534
  {
535
535
  default: t(() => [
536
- M(
537
- v(e.$st(g.title)),
536
+ h(
537
+ g(e.$st(v.title)),
538
538
  1
539
539
  /* TEXT */
540
540
  )
@@ -567,12 +567,15 @@ function mo(e, o, i, d, n, r) {
567
567
  _: 1
568
568
  /* STABLE */
569
569
  }),
570
- l(S, { justify: "end" }, {
570
+ l(M, {
571
+ class: "fixed-bottom",
572
+ justify: "end"
573
+ }, {
571
574
  default: t(() => [
572
575
  l($, {
573
576
  variant: "filled",
574
577
  class: "ma-5",
575
- onClick: o[1] || (o[1] = (g) => e.startApplication(
578
+ onClick: o[1] || (o[1] = (v) => e.startApplication(
576
579
  e.plugin.selectedMainModuleIndex.value,
577
580
  e.plugin.selectedNestedModuleIndex.value,
578
581
  e.app,
@@ -582,8 +585,8 @@ function mo(e, o, i, d, n, r) {
582
585
  disabled: e.isButtonDisabled
583
586
  }, {
584
587
  default: t(() => [
585
- M(
586
- v(e.$st("moduleSelector.startButton")),
588
+ h(
589
+ g(e.$st("moduleSelector.startButton")),
587
590
  1
588
591
  /* TEXT */
589
592
  )
@@ -604,7 +607,7 @@ function mo(e, o, i, d, n, r) {
604
607
  /* STABLE */
605
608
  });
606
609
  }
607
- const po = /* @__PURE__ */ ne(co, [["render", mo], ["__scopeId", "data-v-41b623dc"]]), ue = () => ({
610
+ const po = /* @__PURE__ */ ne(co, [["render", mo], ["__scopeId", "data-v-e7ec1fe7"]]), ue = () => ({
608
611
  windowTitle: "moduleSelector.title",
609
612
  isActiveOnStart: !0,
610
613
  requireModuleSelection: !1,
@@ -624,7 +627,7 @@ const po = /* @__PURE__ */ ne(co, [["render", mo], ["__scopeId", "data-v-41b623d
624
627
  name: "ModuleEditor",
625
628
  components: {
626
629
  VcsTextField: me,
627
- VcsLabel: ye,
630
+ VcsLabel: Se,
628
631
  VCol: ie,
629
632
  VRow: le,
630
633
  VForm: Ee,
@@ -632,7 +635,7 @@ const po = /* @__PURE__ */ ne(co, [["render", mo], ["__scopeId", "data-v-41b623d
632
635
  VcsFormButton: ce,
633
636
  VDivider: oo,
634
637
  VCard: Ie,
635
- VcsFormSection: Se,
638
+ VcsFormSection: ye,
636
639
  VcsTextArea: we
637
640
  },
638
641
  props: {
@@ -652,12 +655,12 @@ const po = /* @__PURE__ */ ne(co, [["render", mo], ["__scopeId", "data-v-41b623d
652
655
  requiredRule: (r) => !!r || "moduleSelector.configEditor.editorError"
653
656
  };
654
657
  }
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, {
658
+ }), go = { class: "d-flex gc-2 w-100 justify-end pa-2" };
659
+ function vo(e, o, i, d, n, r) {
660
+ const s = a("VcsLabel"), u = a("v-col"), S = a("VcsTextField"), c = a("v-row"), y = a("VcsTextArea"), M = a("v-container"), $ = a("v-form"), B = a("v-divider"), b = a("VcsFormButton"), v = a("VcsFormSection"), N = a("v-card");
661
+ return C(), U(N, null, {
659
662
  default: t(() => [
660
- l(g, null, {
663
+ l(v, { heading: "moduleSelector.configEditor.moduleSettings" }, {
661
664
  default: t(() => [
662
665
  l($, {
663
666
  modelValue: e.isFormValid,
@@ -665,7 +668,7 @@ function go(e, o, i, d, n, r) {
665
668
  ref: "form"
666
669
  }, {
667
670
  default: t(() => [
668
- l(S, { class: "px-2 pt-0 pb-2" }, {
671
+ l(M, { class: "px-2 pt-0 pb-2" }, {
669
672
  default: t(() => [
670
673
  l(c, { "no-gutters": "" }, {
671
674
  default: t(() => [
@@ -676,8 +679,8 @@ function go(e, o, i, d, n, r) {
676
679
  "html-for": "moduleName"
677
680
  }, {
678
681
  default: t(() => [
679
- M(
680
- v(e.$st("moduleSelector.configEditor.moduleName")),
682
+ h(
683
+ g(e.$st("moduleSelector.configEditor.moduleName")),
681
684
  1
682
685
  /* TEXT */
683
686
  )
@@ -691,7 +694,7 @@ function go(e, o, i, d, n, r) {
691
694
  }),
692
695
  l(u, { cols: "6" }, {
693
696
  default: t(() => [
694
- l(y, {
697
+ l(S, {
695
698
  id: "moduleName",
696
699
  placeholder: "Module Name",
697
700
  modelValue: e.localModuleOptions.title,
@@ -715,8 +718,8 @@ function go(e, o, i, d, n, r) {
715
718
  "html-for": "moduleIcon"
716
719
  }, {
717
720
  default: t(() => [
718
- M(
719
- v(e.$st("moduleSelector.configEditor.moduleIcon")),
721
+ h(
722
+ g(e.$st("moduleSelector.configEditor.moduleIcon")),
720
723
  1
721
724
  /* TEXT */
722
725
  )
@@ -730,7 +733,7 @@ function go(e, o, i, d, n, r) {
730
733
  }),
731
734
  l(u, { cols: "6" }, {
732
735
  default: t(() => [
733
- l(y, {
736
+ l(S, {
734
737
  id: "moduleIcon",
735
738
  placeholder: "Icon Name",
736
739
  modelValue: e.localModuleOptions.icon,
@@ -754,8 +757,8 @@ function go(e, o, i, d, n, r) {
754
757
  "html-for": "moduleUrl"
755
758
  }, {
756
759
  default: t(() => [
757
- M(
758
- v(e.$st("moduleSelector.configEditor.moduleUrl")),
760
+ h(
761
+ g(e.$st("moduleSelector.configEditor.moduleUrl")),
759
762
  1
760
763
  /* TEXT */
761
764
  )
@@ -769,7 +772,7 @@ function go(e, o, i, d, n, r) {
769
772
  }),
770
773
  l(u, { cols: "6" }, {
771
774
  default: t(() => [
772
- l(y, {
775
+ l(S, {
773
776
  id: "moduleUrl",
774
777
  placeholder: "URL",
775
778
  modelValue: e.localModuleOptions.moduleUrl,
@@ -790,8 +793,8 @@ function go(e, o, i, d, n, r) {
790
793
  default: t(() => [
791
794
  l(s, { "html-for": "moduleDescription" }, {
792
795
  default: t(() => [
793
- M(
794
- v(e.$st("moduleSelector.configEditor.moduleDescription")),
796
+ h(
797
+ g(e.$st("moduleSelector.configEditor.moduleDescription")),
795
798
  1
796
799
  /* TEXT */
797
800
  )
@@ -805,7 +808,7 @@ function go(e, o, i, d, n, r) {
805
808
  }),
806
809
  l(u, { cols: "6" }, {
807
810
  default: t(() => [
808
- l(h, {
811
+ l(y, {
809
812
  id: "moduleDescription",
810
813
  modelValue: e.localModuleOptions.description,
811
814
  "onUpdate:modelValue": o[3] || (o[3] = (p) => e.localModuleOptions.description = p)
@@ -827,8 +830,8 @@ function go(e, o, i, d, n, r) {
827
830
  /* STABLE */
828
831
  }, 8, ["modelValue"]),
829
832
  l(B),
830
- H("div", vo, [
831
- l(V, {
833
+ L("div", go, [
834
+ l(b, {
832
835
  disabled: !e.isFormValid,
833
836
  onClick: o[5] || (o[5] = () => {
834
837
  e.$emit("submit", e.localModuleOptions);
@@ -836,8 +839,8 @@ function go(e, o, i, d, n, r) {
836
839
  variant: "filled"
837
840
  }, {
838
841
  default: t(() => [
839
- M(
840
- v(e.$st("components.apply")),
842
+ h(
843
+ g(e.$st("components.apply")),
841
844
  1
842
845
  /* TEXT */
843
846
  )
@@ -845,12 +848,12 @@ function go(e, o, i, d, n, r) {
845
848
  _: 1
846
849
  /* STABLE */
847
850
  }, 8, ["disabled"]),
848
- l(V, {
851
+ l(b, {
849
852
  onClick: o[6] || (o[6] = (p) => e.$emit("close"))
850
853
  }, {
851
854
  default: t(() => [
852
- M(
853
- v(e.$st("components.cancel")),
855
+ h(
856
+ g(e.$st("components.cancel")),
854
857
  1
855
858
  /* TEXT */
856
859
  )
@@ -868,13 +871,13 @@ function go(e, o, i, d, n, r) {
868
871
  /* STABLE */
869
872
  });
870
873
  }
871
- const Mo = /* @__PURE__ */ ne(fo, [["render", go]]), ho = oe({
874
+ const ho = /* @__PURE__ */ ne(fo, [["render", vo]]), Mo = oe({
872
875
  name: "WindowPositionSettings",
873
876
  components: {
874
877
  VContainer: te,
875
878
  VRow: le,
876
879
  VCol: ie,
877
- VcsCheckbox: _e,
880
+ VcsCheckbox: ke,
878
881
  VcsTextField: me
879
882
  },
880
883
  props: {
@@ -894,11 +897,11 @@ const Mo = /* @__PURE__ */ ne(fo, [["render", go]]), ho = oe({
894
897
  o
895
898
  );
896
899
  return {
897
- inputs: J(() => e.positionKeys.reduce(
900
+ inputs: Z(() => e.positionKeys.reduce(
898
901
  (n, r) => (n[r] = {
899
902
  key: r,
900
903
  checkbox: Le(i, r, null),
901
- input: J({
904
+ input: Z({
902
905
  get() {
903
906
  return i.value[r];
904
907
  },
@@ -913,18 +916,18 @@ const Mo = /* @__PURE__ */ ne(fo, [["render", go]]), ho = oe({
913
916
  };
914
917
  }
915
918
  });
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
+ function bo(e, o, i, d, n, r) {
920
+ const s = a("VcsCheckbox"), u = a("v-col"), S = a("VcsTextField"), c = a("v-row"), y = a("v-container");
921
+ return C(), U(y, { class: "py-0 px-1" }, {
919
922
  default: t(() => [
920
- (C(!0), x(
923
+ (C(!0), K(
921
924
  ee,
922
925
  null,
923
- Me(e.inputs, ({ key: S, checkbox: $, input: B, placeholder: V }) => (C(), _(
926
+ he(e.inputs, ({ key: M, checkbox: $, input: B, placeholder: b }) => (C(), U(
924
927
  c,
925
928
  {
926
929
  "no-gutters": "",
927
- key: S
930
+ key: M
928
931
  },
929
932
  {
930
933
  default: t(() => [
@@ -934,9 +937,9 @@ function Vo(e, o, i, d, n, r) {
934
937
  {
935
938
  default: t(() => [
936
939
  l(s, {
937
- label: `appConfigurator.editors.featureInfo.window.position.${S}`,
940
+ label: `appConfigurator.editors.featureInfo.window.position.${M}`,
938
941
  modelValue: $.value,
939
- "onUpdate:modelValue": (g) => $.value = g
942
+ "onUpdate:modelValue": (v) => $.value = v
940
943
  }, null, 8, ["label", "modelValue", "onUpdate:modelValue"])
941
944
  ]),
942
945
  _: 2
@@ -950,12 +953,12 @@ function Vo(e, o, i, d, n, r) {
950
953
  null,
951
954
  {
952
955
  default: t(() => [
953
- l(y, {
956
+ l(S, {
954
957
  clearable: "",
955
958
  disabled: !$.value,
956
- placeholder: V,
959
+ placeholder: b,
957
960
  modelValue: B.value,
958
- "onUpdate:modelValue": (g) => B.value = g,
961
+ "onUpdate:modelValue": (v) => B.value = v,
959
962
  modelModifiers: { trim: !0 }
960
963
  }, null, 8, ["disabled", "placeholder", "modelValue", "onUpdate:modelValue"])
961
964
  ]),
@@ -980,30 +983,30 @@ function Vo(e, o, i, d, n, r) {
980
983
  /* STABLE */
981
984
  });
982
985
  }
983
- const bo = /* @__PURE__ */ ne(ho, [["render", Vo]]);
986
+ const Vo = /* @__PURE__ */ ne(Mo, [["render", bo]]);
984
987
  let De = "";
985
- function yo(e) {
988
+ function So(e) {
986
989
  De = e;
987
990
  }
988
- let he;
989
- function So(e) {
990
- he = e;
991
+ let Me;
992
+ function yo(e) {
993
+ Me = e;
991
994
  }
992
- let ke = {};
995
+ let _e = {};
993
996
  function wo() {
994
- return he ? {
995
- authorization: `Bearer ${he}`,
996
- ...ke
997
- } : { ...ke };
997
+ return Me ? {
998
+ authorization: `Bearer ${Me}`,
999
+ ..._e
1000
+ } : { ..._e };
998
1001
  }
999
1002
  class Io extends Error {
1000
1003
  constructor(i, d, n, r, s) {
1001
1004
  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");
1005
+ J(this, "url");
1006
+ J(this, "method");
1007
+ J(this, "status");
1008
+ J(this, "reason");
1009
+ J(this, "error");
1007
1010
  this.error = s, this.method = d, this.status = i, this.url = n, this.reason = r;
1008
1011
  }
1009
1012
  }
@@ -1030,8 +1033,8 @@ async function Co(e, o, i, d = void 0, n = {}) {
1030
1033
  return r;
1031
1034
  let s = await r.text(), u;
1032
1035
  try {
1033
- const y = JSON.parse(s);
1034
- y.reason && ({ reason: s } = y), y.error && ({ error: u } = y);
1036
+ const S = JSON.parse(s);
1037
+ S.reason && ({ reason: s } = S), S.error && ({ error: u } = S);
1035
1038
  } catch {
1036
1039
  }
1037
1040
  throw new Io(r.status, o, e, s, u);
@@ -1039,7 +1042,7 @@ async function Co(e, o, i, d = void 0, n = {}) {
1039
1042
  async function $o(e, o, i, d = void 0, n = {}) {
1040
1043
  return (await Co(e, o, i, d, n)).json();
1041
1044
  }
1042
- async function ko(e) {
1045
+ async function _o(e) {
1043
1046
  const o = "api/v1/project/{projectId}/modules", i = "get", n = Eo(o, e, {
1044
1047
  projectId: "path",
1045
1048
  limit: "query",
@@ -1066,7 +1069,7 @@ j.ERROR = O.ERROR | O.WARN | O.INFO | O.DEBUG;
1066
1069
  j.WARN = O.WARN | O.INFO | O.DEBUG;
1067
1070
  j.INFO = O.INFO | O.DEBUG;
1068
1071
  j.DEBUG = O.DEBUG;
1069
- const Y = {
1072
+ const x = {
1070
1073
  useTimestamp: !1,
1071
1074
  logLevel: O.INFO
1072
1075
  }, de = /* @__PURE__ */ new Map();
@@ -1087,7 +1090,7 @@ class Be {
1087
1090
  * @param {...any} optArgs
1088
1091
  */
1089
1092
  error(o, ...i) {
1090
- Y.logLevel & j.ERROR && this._log(String(o), O.ERROR, i);
1093
+ x.logLevel & j.ERROR && this._log(String(o), O.ERROR, i);
1091
1094
  }
1092
1095
  /**
1093
1096
  * Logs a warning message
@@ -1095,7 +1098,7 @@ class Be {
1095
1098
  * @param {...any} optArgs
1096
1099
  */
1097
1100
  warning(o, ...i) {
1098
- Y.logLevel & j.WARN && this._log(String(o), O.WARN, i);
1101
+ x.logLevel & j.WARN && this._log(String(o), O.WARN, i);
1099
1102
  }
1100
1103
  /**
1101
1104
  * Deprecate a function. deprecations are stored on the logger
@@ -1116,7 +1119,7 @@ class Be {
1116
1119
  * @param {...any} optArgs
1117
1120
  */
1118
1121
  info(o, ...i) {
1119
- Y.logLevel & j.INFO && this._log(String(o), O.INFO, i);
1122
+ x.logLevel & j.INFO && this._log(String(o), O.INFO, i);
1120
1123
  }
1121
1124
  /**
1122
1125
  * Logs a debug message
@@ -1124,7 +1127,7 @@ class Be {
1124
1127
  * @param {...any} optArgs
1125
1128
  */
1126
1129
  debug(o, ...i) {
1127
- Y.logLevel & j.DEBUG && this._log(String(o), O.DEBUG, i);
1130
+ x.logLevel & j.DEBUG && this._log(String(o), O.DEBUG, i);
1128
1131
  }
1129
1132
  /**
1130
1133
  * Alias for debug
@@ -1132,7 +1135,7 @@ class Be {
1132
1135
  * @param {...any} optArgs
1133
1136
  */
1134
1137
  log(o, ...i) {
1135
- Y.logLevel & j.DEBUG && this._log(String(o), O.DEBUG, i);
1138
+ x.logLevel & j.DEBUG && this._log(String(o), O.DEBUG, i);
1136
1139
  }
1137
1140
  /**
1138
1141
  * Logs a message
@@ -1146,17 +1149,17 @@ class Be {
1146
1149
  this.className && (n = `[${this.className}] ${n}`), console[de.get(i)](n, ...d), i & O.ERROR && (console.group(), console.trace(), console.groupEnd());
1147
1150
  }
1148
1151
  }
1149
- const Ve = /* @__PURE__ */ new Map();
1150
- let ge;
1151
- function _o() {
1152
- return ge || (ge = new Be()), ge;
1152
+ const be = /* @__PURE__ */ new Map();
1153
+ let ve;
1154
+ function ko() {
1155
+ return ve || (ve = new Be()), ve;
1153
1156
  }
1154
1157
  function Uo(e) {
1155
1158
  const o = new Be(e);
1156
- return Ve.set(e, o), o;
1159
+ return be.set(e, o), o;
1157
1160
  }
1158
- function be(e) {
1159
- return e ? Ve.has(e) ? Ve.get(e) : Uo(e) : _o();
1161
+ function Ve(e) {
1162
+ return e ? be.has(e) ? be.get(e) : Uo(e) : ko();
1160
1163
  }
1161
1164
  function Ao(e) {
1162
1165
  try {
@@ -1165,12 +1168,12 @@ function Ao(e) {
1165
1168
  e.serverUrl,
1166
1169
  window.location.href
1167
1170
  ).toString();
1168
- yo(o);
1171
+ So(o);
1169
1172
  const i = e.token || localStorage.getItem("Meteor.loginToken");
1170
- i && (So(i), be(L).info("Publisher connection successful"));
1173
+ i && (yo(i), Ve(z).info("Publisher connection successful"));
1171
1174
  }
1172
1175
  } catch (o) {
1173
- be(L).error("Failed to connect to publisher", o);
1176
+ Ve(z).error("Failed to connect to publisher", o);
1174
1177
  }
1175
1178
  }
1176
1179
  function To(e, o) {
@@ -1223,9 +1226,9 @@ const Oo = oe({
1223
1226
  VTooltip: Ne,
1224
1227
  VIcon: Te,
1225
1228
  VCard: Ie,
1226
- VcsLabel: ye,
1229
+ VcsLabel: Se,
1227
1230
  VcsTextField: me,
1228
- VcsFormSection: Se,
1231
+ VcsFormSection: ye,
1229
1232
  VRow: le,
1230
1233
  VCol: ie,
1231
1234
  VForm: Ee,
@@ -1239,29 +1242,29 @@ const Oo = oe({
1239
1242
  }
1240
1243
  },
1241
1244
  setup(e, { emit: o }) {
1242
- const i = Ue("vcsApp"), d = i.plugins.getByKey(L), n = i.plugins.getByKey(
1245
+ const i = Ue("vcsApp"), d = i.plugins.getByKey(z), n = i.plugins.getByKey(
1243
1246
  "@vcmap/app-configurator"
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 };
1247
+ ), { serverUrl: r, projectId: s, appId: u, token: S } = (n == null ? void 0 : n.config) || d.config, c = { serverUrl: r, projectId: s, appId: u, token: S };
1245
1248
  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 = {
1249
+ const y = A(!0), M = A([]), $ = A(0), B = A(0), b = A([void 0]), v = No(), N = /* @__PURE__ */ new Map(), p = A(e.modelValue), P = Z(() => p.value.id === ""), k = A(!1), Q = () => {
1250
+ var R, W;
1251
+ k.value = !!((R = p.value) != null && R.title) && !!((W = p.value) != null && W.icon);
1252
+ }, X = {
1250
1253
  standalone: "$vcsGlobeNature",
1251
1254
  extension: "$vcsShapes"
1252
1255
  };
1253
- function X(R) {
1256
+ function Y(R) {
1254
1257
  var T;
1255
- const { itemsPerPage: z, page: m, search: I, sortBy: f } = R;
1256
- h.value = !0, c.projectId ? ko({
1258
+ const { itemsPerPage: W, page: m, search: I, sortBy: f } = R;
1259
+ y.value = !0, c.projectId ? _o({
1257
1260
  projectId: c.projectId,
1258
- limit: z,
1261
+ limit: W,
1259
1262
  page: m - 1,
1260
1263
  name: I,
1261
- orderBy: f == null ? void 0 : f.map(({ key: k }) => k),
1264
+ orderBy: f == null ? void 0 : f.map(({ key: _ }) => _),
1262
1265
  sort: (T = f == null ? void 0 : f[0]) == null ? void 0 : T.order
1263
- }).then((k) => {
1264
- S.value = k.items.map((E) => {
1266
+ }).then((_) => {
1267
+ M.value = _.items.map((E) => {
1265
1268
  var D, F;
1266
1269
  const w = {
1267
1270
  name: E.name,
@@ -1273,147 +1276,164 @@ const Oo = oe({
1273
1276
  _id: E._id
1274
1277
  };
1275
1278
  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(
1279
+ }), $.value = _.totalCount, B.value = _.totalPages;
1280
+ }).catch((_) => {
1281
+ Ve("CloudModuleSelector.vue").error(
1279
1282
  "Failed to load project modules.",
1280
- k
1283
+ _
1281
1284
  );
1282
1285
  }).finally(() => {
1283
- h.value = !1;
1284
- }) : (S.value = [], h.value = !1);
1286
+ y.value = !1;
1287
+ }) : (M.value = [], y.value = !1);
1285
1288
  }
1286
1289
  return {
1287
1290
  selectedItem: p,
1288
1291
  isItemIdEmpty: P,
1289
- loading: h,
1290
- items: S,
1292
+ loading: y,
1293
+ items: M,
1291
1294
  totalItems: $,
1292
1295
  totalPages: B,
1293
- headers: g,
1294
- selected: V,
1296
+ headers: v,
1297
+ selected: b,
1295
1298
  typeIcon(R) {
1296
- return Q[R];
1299
+ return X[R];
1297
1300
  },
1298
1301
  formatDate: To,
1299
- getItems: X,
1302
+ getItems: Y,
1300
1303
  close: () => {
1301
1304
  o("close");
1302
1305
  },
1303
1306
  addSelected: () => {
1304
1307
  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);
1308
+ b.value.length > 0 && ((R = b.value[0]) == null ? void 0 : R._id) !== "" && (p.value.id = b.value[0]._id, p.value.title = b.value[0].name, p.value.icon = "", p.value.moduleUrl = `configs/${b.value[0]._id}.json`, p.value.description = b.value[0].description);
1306
1309
  },
1307
- isFValid: U,
1308
- validateForm: Z,
1310
+ isFValid: k,
1311
+ validateForm: Q,
1309
1312
  removeSelected: () => {
1310
1313
  p.value.id = "", p.value.title = "", p.value.icon = "", p.value.description = "", p.value.moduleUrl = "";
1311
1314
  },
1312
1315
  requiredRule: (R) => !!R || "moduleSelector.configEditor.editorError"
1313
1316
  };
1314
1317
  }
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, {
1318
+ }), Do = { class: "d-flex gc-2 px-2 pt-2 pb-2" }, Bo = {
1319
+ key: 0,
1320
+ class: "d-flex gc-2 justify-end w-100"
1321
+ }, Fo = {
1322
+ key: 1,
1323
+ class: "d-flex gc-2 justify-space-between w-100"
1324
+ }, Go = { class: "d-flex gc-2" };
1325
+ function Ro(e, o, i, d, n, r) {
1326
+ const s = a("v-icon"), u = a("v-tooltip"), S = a("VcsDataTable"), c = a("VcsFormSection"), y = a("VcsLabel"), M = a("v-col"), $ = a("VcsTextField"), B = a("v-row"), b = a("VcsTextArea"), v = a("v-container"), N = a("v-form"), p = a("VcsFormButton"), P = a("v-card");
1327
+ return C(), U(P, null, {
1319
1328
  default: t(() => [
1320
- H("div", null, [
1321
- e.isItemIdEmpty ? (C(), _(y, {
1329
+ L("div", null, [
1330
+ e.isItemIdEmpty ? (C(), U(c, {
1322
1331
  key: 0,
1323
- "base-component": "VDataTableServer",
1324
- loading: e.loading,
1325
- items: e.items,
1326
- "server-items-length": e.totalItems,
1327
- "server-pages-length": e.totalPages,
1328
- "searchbar-placeholder": e.$t("moduleSelector.configEditor.moduleCloudPicker.searchName"),
1329
- headers: e.headers,
1330
- "select-strategy": "single",
1331
- "return-object": "",
1332
- "show-select": "",
1333
- "item-value": "_id",
1334
- modelValue: e.selected,
1335
- "onUpdate:modelValue": o[0] || (o[0] = (U) => e.selected = U),
1336
- "onUpdate:items": e.getItems
1332
+ heading: "moduleSelector.configEditor.moduleSettings"
1337
1333
  }, {
1338
- "item.type": t(({ item: U }) => [
1339
- l(
1340
- s,
1341
- Qe(Xe({ ...e.$attrs })),
1342
- {
1343
- default: t(() => [
1344
- M(
1345
- v(e.typeIcon(U.type)),
1346
- 1
1347
- /* TEXT */
1348
- )
1349
- ]),
1350
- _: 2
1351
- /* DYNAMIC */
1352
- },
1353
- 1040
1354
- /* FULL_PROPS, DYNAMIC_SLOTS */
1355
- ),
1356
- l(
1357
- u,
1358
- {
1359
- activator: "parent",
1360
- location: "right"
1361
- },
1362
- {
1363
- default: t(() => [
1364
- M(
1365
- v(e.$t(`appConfigurator.dialogs.vcsModuleTable.${U.type}`)),
1366
- 1
1367
- /* TEXT */
1368
- )
1369
- ]),
1370
- _: 2
1371
- /* DYNAMIC */
1372
- },
1373
- 1024
1374
- /* DYNAMIC_SLOTS */
1375
- )
1376
- ]),
1377
- "item.createdAt": t(({ item: U }) => [
1378
- M(
1379
- v(e.formatDate(U.createdAt, e.$i18n.locale)),
1380
- 1
1381
- /* TEXT */
1382
- )
1383
- ]),
1384
- "item.updatedAt": t(({ item: U }) => [
1385
- M(
1386
- v(e.formatDate(U.updatedAt, e.$i18n.locale)),
1387
- 1
1388
- /* TEXT */
1389
- )
1334
+ default: t(() => [
1335
+ l(S, {
1336
+ "base-component": "VDataTableServer",
1337
+ loading: e.loading,
1338
+ items: e.items,
1339
+ "server-items-length": e.totalItems,
1340
+ "server-pages-length": e.totalPages,
1341
+ "searchbar-placeholder": e.$t("moduleSelector.configEditor.moduleCloudPicker.searchName"),
1342
+ headers: e.headers,
1343
+ "select-strategy": "single",
1344
+ "return-object": "",
1345
+ "show-select": "",
1346
+ "item-value": "_id",
1347
+ modelValue: e.selected,
1348
+ "onUpdate:modelValue": o[0] || (o[0] = (k) => e.selected = k),
1349
+ "onUpdate:items": e.getItems
1350
+ }, {
1351
+ "item.type": t(({ item: k }) => [
1352
+ l(
1353
+ s,
1354
+ Qe(Xe({ ...e.$attrs })),
1355
+ {
1356
+ default: t(() => [
1357
+ h(
1358
+ g(e.typeIcon(k.type)),
1359
+ 1
1360
+ /* TEXT */
1361
+ )
1362
+ ]),
1363
+ _: 2
1364
+ /* DYNAMIC */
1365
+ },
1366
+ 1040
1367
+ /* FULL_PROPS, DYNAMIC_SLOTS */
1368
+ ),
1369
+ l(
1370
+ u,
1371
+ {
1372
+ activator: "parent",
1373
+ location: "right"
1374
+ },
1375
+ {
1376
+ default: t(() => [
1377
+ h(
1378
+ g(e.$t(`appConfigurator.dialogs.vcsModuleTable.${k.type}`)),
1379
+ 1
1380
+ /* TEXT */
1381
+ )
1382
+ ]),
1383
+ _: 2
1384
+ /* DYNAMIC */
1385
+ },
1386
+ 1024
1387
+ /* DYNAMIC_SLOTS */
1388
+ )
1389
+ ]),
1390
+ "item.createdAt": t(({ item: k }) => [
1391
+ h(
1392
+ g(e.formatDate(k.createdAt, e.$i18n.locale)),
1393
+ 1
1394
+ /* TEXT */
1395
+ )
1396
+ ]),
1397
+ "item.updatedAt": t(({ item: k }) => [
1398
+ h(
1399
+ g(e.formatDate(k.updatedAt, e.$i18n.locale)),
1400
+ 1
1401
+ /* TEXT */
1402
+ )
1403
+ ]),
1404
+ _: 1
1405
+ /* STABLE */
1406
+ }, 8, ["loading", "items", "server-items-length", "server-pages-length", "searchbar-placeholder", "headers", "modelValue", "onUpdate:items"])
1390
1407
  ]),
1391
1408
  _: 1
1392
1409
  /* STABLE */
1393
- }, 8, ["loading", "items", "server-items-length", "server-pages-length", "searchbar-placeholder", "headers", "modelValue", "onUpdate:items"])) : (C(), _(N, { key: 1 }, {
1410
+ })) : (C(), U(c, {
1411
+ key: 1,
1412
+ heading: "moduleSelector.configEditor.moduleSettings"
1413
+ }, {
1394
1414
  default: t(() => [
1395
- l(g, {
1415
+ l(N, {
1396
1416
  modelValue: e.isFValid,
1397
- "onUpdate:modelValue": o[4] || (o[4] = (U) => e.isFValid = U),
1417
+ "onUpdate:modelValue": o[4] || (o[4] = (k) => e.isFValid = k),
1398
1418
  ref: "form"
1399
1419
  }, {
1400
1420
  default: t(() => [
1401
- l(V, { class: "px-2 pt-0 pb-2" }, {
1421
+ l(v, { class: "px-2 pt-0 pb-2" }, {
1402
1422
  default: t(() => [
1403
- l($, {
1423
+ l(B, {
1404
1424
  "no-gutters": "",
1405
1425
  class: "px-2"
1406
1426
  }, {
1407
1427
  default: t(() => [
1408
- l(h, { cols: "2" }, {
1428
+ l(M, { cols: "2" }, {
1409
1429
  default: t(() => [
1410
- l(c, {
1430
+ l(y, {
1411
1431
  required: "",
1412
1432
  "html-for": "moduleName"
1413
1433
  }, {
1414
1434
  default: t(() => [
1415
- M(
1416
- v(e.$st("moduleSelector.configEditor.moduleName")),
1435
+ h(
1436
+ g(e.$st("moduleSelector.configEditor.moduleName")),
1417
1437
  1
1418
1438
  /* TEXT */
1419
1439
  )
@@ -1425,13 +1445,13 @@ function Bo(e, o, i, d, n, r) {
1425
1445
  _: 1
1426
1446
  /* STABLE */
1427
1447
  }),
1428
- l(h, { cols: "4" }, {
1448
+ l(M, { cols: "4" }, {
1429
1449
  default: t(() => [
1430
- l(S, {
1450
+ l($, {
1431
1451
  id: "moduleName",
1432
1452
  placeholder: "Module Name",
1433
1453
  modelValue: e.selectedItem.title,
1434
- "onUpdate:modelValue": o[1] || (o[1] = (U) => e.selectedItem.title = U),
1454
+ "onUpdate:modelValue": o[1] || (o[1] = (k) => e.selectedItem.title = k),
1435
1455
  rules: [e.requiredRule]
1436
1456
  }, null, 8, ["modelValue", "rules"])
1437
1457
  ]),
@@ -1442,20 +1462,20 @@ function Bo(e, o, i, d, n, r) {
1442
1462
  _: 1
1443
1463
  /* STABLE */
1444
1464
  }),
1445
- l($, {
1465
+ l(B, {
1446
1466
  "no-gutters": "",
1447
1467
  class: "px-2"
1448
1468
  }, {
1449
1469
  default: t(() => [
1450
- l(h, { cols: "2" }, {
1470
+ l(M, { cols: "2" }, {
1451
1471
  default: t(() => [
1452
- l(c, {
1472
+ l(y, {
1453
1473
  required: "",
1454
1474
  "html-for": "moduleIcon"
1455
1475
  }, {
1456
1476
  default: t(() => [
1457
- M(
1458
- v(e.$st("moduleSelector.configEditor.moduleIcon")),
1477
+ h(
1478
+ g(e.$st("moduleSelector.configEditor.moduleIcon")),
1459
1479
  1
1460
1480
  /* TEXT */
1461
1481
  )
@@ -1467,13 +1487,13 @@ function Bo(e, o, i, d, n, r) {
1467
1487
  _: 1
1468
1488
  /* STABLE */
1469
1489
  }),
1470
- l(h, { cols: "4" }, {
1490
+ l(M, { cols: "4" }, {
1471
1491
  default: t(() => [
1472
- l(S, {
1492
+ l($, {
1473
1493
  id: "moduleIcon",
1474
1494
  placeholder: "Icon Name",
1475
1495
  modelValue: e.selectedItem.icon,
1476
- "onUpdate:modelValue": o[2] || (o[2] = (U) => e.selectedItem.icon = U),
1496
+ "onUpdate:modelValue": o[2] || (o[2] = (k) => e.selectedItem.icon = k),
1477
1497
  rules: [e.requiredRule]
1478
1498
  }, null, 8, ["modelValue", "rules"])
1479
1499
  ]),
@@ -1484,17 +1504,17 @@ function Bo(e, o, i, d, n, r) {
1484
1504
  _: 1
1485
1505
  /* STABLE */
1486
1506
  }),
1487
- l($, {
1507
+ l(B, {
1488
1508
  "no-gutters": "",
1489
1509
  class: "px-2"
1490
1510
  }, {
1491
1511
  default: t(() => [
1492
- l(h, { cols: "2" }, {
1512
+ l(M, { cols: "2" }, {
1493
1513
  default: t(() => [
1494
- l(c, { "html-for": "moduleDescription" }, {
1514
+ l(y, { "html-for": "moduleDescription" }, {
1495
1515
  default: t(() => [
1496
- M(
1497
- v(e.$st("moduleSelector.configEditor.moduleDescription")),
1516
+ h(
1517
+ g(e.$st("moduleSelector.configEditor.moduleDescription")),
1498
1518
  1
1499
1519
  /* TEXT */
1500
1520
  )
@@ -1506,12 +1526,12 @@ function Bo(e, o, i, d, n, r) {
1506
1526
  _: 1
1507
1527
  /* STABLE */
1508
1528
  }),
1509
- l(h, { cols: "4" }, {
1529
+ l(M, { cols: "4" }, {
1510
1530
  default: t(() => [
1511
- l(B, {
1531
+ l(b, {
1512
1532
  id: "moduleDescription",
1513
1533
  modelValue: e.selectedItem.description,
1514
- "onUpdate:modelValue": o[3] || (o[3] = (U) => e.selectedItem.description = U)
1534
+ "onUpdate:modelValue": o[3] || (o[3] = (k) => e.selectedItem.description = k)
1515
1535
  }, null, 8, ["modelValue"])
1516
1536
  ]),
1517
1537
  _: 1
@@ -1533,74 +1553,80 @@ function Bo(e, o, i, d, n, r) {
1533
1553
  _: 1
1534
1554
  /* STABLE */
1535
1555
  })),
1536
- H("div", Do, [
1537
- e.isItemIdEmpty ? (C(), _(p, {
1538
- key: 0,
1539
- variant: "filled",
1540
- disabled: e.selected[0] === void 0,
1541
- class: "ma-2",
1542
- onClick: e.addSelected,
1543
- tooltip: "appConfigurator.dialogs.addTooltip",
1544
- "tooltip-position": "bottom"
1545
- }, {
1546
- default: t(() => [
1547
- M(
1548
- v(e.$t("moduleSelector.configEditor.moduleCloudPicker.continue")),
1549
- 1
1550
- /* TEXT */
1551
- )
1552
- ]),
1553
- _: 1
1554
- /* STABLE */
1555
- }, 8, ["disabled", "onClick"])) : G("v-if", !0),
1556
- e.isItemIdEmpty ? G("v-if", !0) : (C(), _(p, {
1557
- key: 1,
1558
- disabled: !e.isFValid,
1559
- variant: "filled",
1560
- class: "ma-2",
1561
- onClick: o[5] || (o[5] = () => {
1562
- e.$emit("submit", e.selectedItem);
1563
- })
1564
- }, {
1565
- default: t(() => [
1566
- M(
1567
- v(e.$t("components.apply")),
1568
- 1
1569
- /* TEXT */
1570
- )
1571
- ]),
1572
- _: 1
1573
- /* STABLE */
1574
- }, 8, ["disabled"])),
1575
- e.isItemIdEmpty ? G("v-if", !0) : (C(), _(p, {
1576
- key: 2,
1577
- onClick: e.removeSelected,
1578
- class: "ma-2"
1579
- }, {
1580
- default: t(() => [
1581
- M(
1582
- v(e.$t("moduleSelector.configEditor.moduleCloudPicker.back")),
1583
- 1
1584
- /* TEXT */
1585
- )
1586
- ]),
1587
- _: 1
1588
- /* STABLE */
1589
- }, 8, ["onClick"])),
1590
- l(p, {
1591
- class: "ma-2",
1592
- onClick: e.close
1593
- }, {
1594
- default: t(() => [
1595
- M(
1596
- v(e.$t("components.cancel")),
1597
- 1
1598
- /* TEXT */
1599
- )
1600
- ]),
1601
- _: 1
1602
- /* STABLE */
1603
- }, 8, ["onClick"])
1556
+ L("div", Do, [
1557
+ e.isItemIdEmpty ? (C(), K("div", Bo, [
1558
+ l(p, {
1559
+ variant: "filled",
1560
+ disabled: e.selected[0] === void 0,
1561
+ onClick: e.addSelected,
1562
+ tooltip: "appConfigurator.dialogs.addTooltip",
1563
+ "tooltip-position": "bottom"
1564
+ }, {
1565
+ default: t(() => [
1566
+ h(
1567
+ g(e.$t("moduleSelector.configEditor.moduleCloudPicker.continue")),
1568
+ 1
1569
+ /* TEXT */
1570
+ )
1571
+ ]),
1572
+ _: 1
1573
+ /* STABLE */
1574
+ }, 8, ["disabled", "onClick"]),
1575
+ l(p, { onClick: e.close }, {
1576
+ default: t(() => [
1577
+ h(
1578
+ g(e.$t("components.cancel")),
1579
+ 1
1580
+ /* TEXT */
1581
+ )
1582
+ ]),
1583
+ _: 1
1584
+ /* STABLE */
1585
+ }, 8, ["onClick"])
1586
+ ])) : G("v-if", !0),
1587
+ e.isItemIdEmpty ? G("v-if", !0) : (C(), K("div", Fo, [
1588
+ l(p, { onClick: e.removeSelected }, {
1589
+ default: t(() => [
1590
+ h(
1591
+ g(e.$t("moduleSelector.configEditor.moduleCloudPicker.back")),
1592
+ 1
1593
+ /* TEXT */
1594
+ )
1595
+ ]),
1596
+ _: 1
1597
+ /* STABLE */
1598
+ }, 8, ["onClick"]),
1599
+ L("div", Go, [
1600
+ l(p, {
1601
+ disabled: !e.isFValid,
1602
+ variant: "filled",
1603
+ onClick: o[5] || (o[5] = () => {
1604
+ e.$emit("submit", e.selectedItem);
1605
+ })
1606
+ }, {
1607
+ default: t(() => [
1608
+ h(
1609
+ g(e.$t("components.apply")),
1610
+ 1
1611
+ /* TEXT */
1612
+ )
1613
+ ]),
1614
+ _: 1
1615
+ /* STABLE */
1616
+ }, 8, ["disabled"]),
1617
+ l(p, { onClick: e.close }, {
1618
+ default: t(() => [
1619
+ h(
1620
+ g(e.$t("components.cancel")),
1621
+ 1
1622
+ /* TEXT */
1623
+ )
1624
+ ]),
1625
+ _: 1
1626
+ /* STABLE */
1627
+ }, 8, ["onClick"])
1628
+ ])
1629
+ ]))
1604
1630
  ])
1605
1631
  ])
1606
1632
  ]),
@@ -1608,25 +1634,25 @@ function Bo(e, o, i, d, n, r) {
1608
1634
  /* STABLE */
1609
1635
  });
1610
1636
  }
1611
- const Fo = /* @__PURE__ */ ne(Oo, [["render", Bo]]), Go = oe({
1637
+ const qo = /* @__PURE__ */ ne(Oo, [["render", Ro]]), Po = oe({
1612
1638
  name: "ModuleSelectorConfigEditor",
1613
1639
  components: {
1614
1640
  VForm: Ee,
1615
1641
  VcsFormButton: ce,
1616
- VcsCheckbox: _e,
1642
+ VcsCheckbox: ke,
1617
1643
  VDialog: to,
1618
1644
  VcsList: We,
1619
- VcsFormSection: Se,
1645
+ VcsFormSection: ye,
1620
1646
  VRow: le,
1621
1647
  VSheet: Ae,
1622
- VcsLabel: ye,
1648
+ VcsLabel: Se,
1623
1649
  AbstractConfigEditor: He,
1624
1650
  VcsTextField: me,
1625
1651
  VCol: ie,
1626
1652
  VContainer: te,
1627
- ModuleEditor: Mo,
1628
- WindowPositionSettings: bo,
1629
- VcsModuleTable: Fo,
1653
+ ModuleEditor: ho,
1654
+ WindowPositionSettings: Vo,
1655
+ VcsModuleTable: qo,
1630
1656
  VcsTextArea: we
1631
1657
  },
1632
1658
  props: {
@@ -1640,7 +1666,7 @@ const Fo = /* @__PURE__ */ ne(Oo, [["render", Bo]]), Go = oe({
1640
1666
  }
1641
1667
  },
1642
1668
  setup(e) {
1643
- var pe, R, z;
1669
+ var pe, R, W;
1644
1670
  const o = A(0), i = A(void 0), d = A([]), n = A(void 0), r = A({
1645
1671
  id: "",
1646
1672
  title: "",
@@ -1661,14 +1687,14 @@ const Fo = /* @__PURE__ */ ne(Oo, [["render", Bo]]), Go = oe({
1661
1687
  description: "",
1662
1688
  cards: []
1663
1689
  };
1664
- const y = A(!1), c = A(!1), h = A(!1), S = A(void 0);
1690
+ const S = A(!1), c = A(!1), y = A(!1), M = A(void 0);
1665
1691
  i.value = {
1666
1692
  ...ue(),
1667
1693
  ...e.getConfig()
1668
1694
  };
1669
1695
  const $ = A();
1670
1696
  (pe = i.value) != null && pe.basisModule && ($.value = (R = i.value) == null ? void 0 : R.basisModule);
1671
- const B = J({
1697
+ const B = Z({
1672
1698
  get() {
1673
1699
  return !!$.value;
1674
1700
  },
@@ -1676,22 +1702,22 @@ const Fo = /* @__PURE__ */ ne(Oo, [["render", Bo]]), Go = oe({
1676
1702
  var I;
1677
1703
  m ? $.value = ((I = i.value) == null ? void 0 : I.basisModule) || { title: "" } : $.value = null;
1678
1704
  }
1679
- }), V = Ye([]);
1680
- function g(m) {
1705
+ }), b = Ye([]);
1706
+ function v(m) {
1681
1707
  var I;
1682
1708
  if (m.type === "url") {
1683
- const { actions: f, id: T, name: k, ...E } = m;
1709
+ const { actions: f, id: T, name: _, ...E } = m;
1684
1710
  return {
1685
1711
  ...E,
1686
1712
  moduleUrl: m.moduleUrl || ""
1687
1713
  };
1688
1714
  } else {
1689
1715
  const f = ((I = m.cards) == null ? void 0 : I.map((D) => {
1690
- const { actions: F, id: q, name: W, ...Re } = D;
1716
+ const { actions: F, id: q, name: H, ...Re } = D;
1691
1717
  return {
1692
1718
  ...Re
1693
1719
  };
1694
- })) || [], { actions: T, id: k, name: E, ...w } = m;
1720
+ })) || [], { actions: T, id: _, name: E, ...w } = m;
1695
1721
  return {
1696
1722
  ...w,
1697
1723
  ...f.length ? { cards: f } : {}
@@ -1699,10 +1725,10 @@ const Fo = /* @__PURE__ */ ne(Oo, [["render", Bo]]), Go = oe({
1699
1725
  }
1700
1726
  }
1701
1727
  function N(m) {
1702
- return m.map(g);
1728
+ return m.map(v);
1703
1729
  }
1704
1730
  function p(m, I) {
1705
- var T, k, E;
1731
+ var T, _, E;
1706
1732
  const f = {
1707
1733
  id: `${m.title || "undefined"}-${I}`,
1708
1734
  name: m.title,
@@ -1742,7 +1768,7 @@ const Fo = /* @__PURE__ */ ne(Oo, [["render", Bo]]), Go = oe({
1742
1768
  }
1743
1769
  c.value = !0;
1744
1770
  }
1745
- })), m.type === "group" && ((k = f.actions) == null || k.push({
1771
+ })), m.type === "group" && ((_ = f.actions) == null || _.push({
1746
1772
  name: "editGroup",
1747
1773
  title: "moduleSelector.configEditor.TooltipEditGroup",
1748
1774
  icon: "mdi-playlist-edit",
@@ -1752,11 +1778,11 @@ const Fo = /* @__PURE__ */ ne(Oo, [["render", Bo]]), Go = oe({
1752
1778
  (D) => D.id === f.id
1753
1779
  );
1754
1780
  if (w) {
1755
- n.value = w, h.value = !0;
1781
+ n.value = w, y.value = !0;
1756
1782
  const [D] = N([
1757
1783
  n.value
1758
1784
  ]);
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");
1785
+ D.cards.length === 0 && (D.cards = []), u = structuredClone(D), b.splice(2, 1), b.length > 1 && (b[1].icon = "$vcsPlus", b[1].title = "moduleSelector.configEditor.TooltipAddModule");
1760
1786
  }
1761
1787
  }
1762
1788
  }
@@ -1774,7 +1800,7 @@ const Fo = /* @__PURE__ */ ne(Oo, [["render", Bo]]), Go = oe({
1774
1800
  }
1775
1801
  }), f;
1776
1802
  }
1777
- V.push({
1803
+ b.push({
1778
1804
  name: "moduleSelector.configEditor.addFromCloud",
1779
1805
  title: "moduleSelector.configEditor.TooltipAddCloudModule",
1780
1806
  icon: "$vcsImport",
@@ -1785,7 +1811,7 @@ const Fo = /* @__PURE__ */ ne(Oo, [["render", Bo]]), Go = oe({
1785
1811
  icon: "",
1786
1812
  moduleUrl: "",
1787
1813
  description: ""
1788
- }, y.value = !0;
1814
+ }, S.value = !0;
1789
1815
  }
1790
1816
  });
1791
1817
  const P = {
@@ -1799,17 +1825,17 @@ const Fo = /* @__PURE__ */ ne(Oo, [["render", Bo]]), Go = oe({
1799
1825
  description: "",
1800
1826
  cards: []
1801
1827
  };
1802
- h.value = !0;
1828
+ y.value = !0;
1803
1829
  const I = (f = d.value) == null ? void 0 : f.push(
1804
1830
  p(
1805
1831
  m,
1806
1832
  d.value.length
1807
1833
  )
1808
1834
  );
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");
1835
+ n.value = d.value[I - 1], y.value = !0, b.splice(2, 1), b.length > 1 && (b[1].icon = "$vcsPlus", b[1].title = "moduleSelector.configEditor.TooltipAddModule");
1810
1836
  }
1811
1837
  };
1812
- (z = i.value) != null && z.modules && (d.value = i.value.modules.map(p)), V.push(
1838
+ (W = i.value) != null && W.modules && (d.value = i.value.modules.map(p)), b.push(
1813
1839
  {
1814
1840
  name: "moduleSelector.configEditor.add",
1815
1841
  callback() {
@@ -1824,29 +1850,29 @@ const Fo = /* @__PURE__ */ ne(Oo, [["render", Bo]]), Go = oe({
1824
1850
  },
1825
1851
  P
1826
1852
  ), xe(i, (m) => {
1827
- m != null && m.modules ? S.value = m.modules.map(
1853
+ m != null && m.modules ? M.value = m.modules.map(
1828
1854
  (I, f) => p(I, f)
1829
- ) : S.value = [];
1855
+ ) : M.value = [];
1830
1856
  });
1831
- const U = () => {
1857
+ const k = () => {
1832
1858
  var T;
1833
1859
  const m = fe((T = i.value) == null ? void 0 : T.position), I = Object.values(m).some(
1834
- (k) => k !== void 0
1860
+ (_) => _ !== void 0
1835
1861
  ), f = {
1836
1862
  ...fe(i.value),
1837
1863
  modules: N(d.value),
1838
1864
  basisModule: fe($.value)
1839
1865
  };
1840
1866
  I ? f.position = m : delete f.position, e.setConfig(f);
1841
- }, Z = () => {
1842
- var m, I, f, T, k, E, w, D;
1867
+ }, Q = () => {
1868
+ var m, I, f, T, _, E, w, D;
1843
1869
  if (n.value === void 0) {
1844
1870
  if (r.value)
1845
1871
  if (((m = r.value) == null ? void 0 : m.id) !== "") {
1846
1872
  const F = d.value.find(
1847
1873
  (q) => {
1848
- var W;
1849
- return q.id === ((W = r.value) == null ? void 0 : W.id);
1874
+ var H;
1875
+ return q.id === ((H = r.value) == null ? void 0 : H.id);
1850
1876
  }
1851
1877
  );
1852
1878
  F && Object.assign(F, {
@@ -1864,14 +1890,14 @@ const Fo = /* @__PURE__ */ ne(Oo, [["render", Bo]]), Go = oe({
1864
1890
  );
1865
1891
  } else if (r.value && ((I = r.value) == null ? void 0 : I.id) !== "") {
1866
1892
  const F = n.value.cards.find(
1867
- (W) => W.id === r.value.id
1893
+ (H) => H.id === r.value.id
1868
1894
  );
1869
1895
  F && Object.assign(F, {
1870
1896
  ...r.value
1871
1897
  });
1872
1898
  let q;
1873
1899
  (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
1900
+ (H) => H.id === q
1875
1901
  );
1876
1902
  } else {
1877
1903
  n.value.cards.push(
@@ -1884,7 +1910,7 @@ const Fo = /* @__PURE__ */ ne(Oo, [["render", Bo]]), Go = oe({
1884
1910
  )
1885
1911
  );
1886
1912
  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(
1913
+ (_ = n.value) != null && _.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
1914
  (q) => q.id === F
1889
1915
  );
1890
1916
  }
@@ -1895,7 +1921,7 @@ const Fo = /* @__PURE__ */ ne(Oo, [["render", Bo]]), Go = oe({
1895
1921
  moduleUrl: "",
1896
1922
  description: ""
1897
1923
  }, c.value = !1;
1898
- }, Q = () => {
1924
+ }, X = () => {
1899
1925
  var m, I, f, T;
1900
1926
  if (n.value === void 0)
1901
1927
  s.value && d.value.push(
@@ -1920,9 +1946,9 @@ const Fo = /* @__PURE__ */ ne(Oo, [["render", Bo]]), Go = oe({
1920
1946
  n.value.cards.length
1921
1947
  )
1922
1948
  );
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
1949
+ let _;
1950
+ (m = n.value) != null && m.id || ((I = n.value) == null ? void 0 : I.id) !== "" ? _ = n.value.id : _ = `${(f = n.value) == null ? void 0 : f.title}-${d.value.length - 1}`, n.value = (T = d.value) == null ? void 0 : T.find(
1951
+ (E) => E.id === _
1926
1952
  );
1927
1953
  }
1928
1954
  s.value = {
@@ -1931,15 +1957,15 @@ const Fo = /* @__PURE__ */ ne(Oo, [["render", Bo]]), Go = oe({
1931
1957
  icon: "",
1932
1958
  moduleUrl: "",
1933
1959
  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";
1960
+ }, S.value = !1;
1961
+ }, Y = () => {
1962
+ y.value = !1, n.value = void 0, b.length > 1 && (delete b[1].icon, delete b[1].title), b.push(P);
1963
+ }, V = (m) => m && m.trim() !== "" ? !0 : "moduleSelector.configEditor.error";
1938
1964
  return {
1939
1965
  isFormValid: A(),
1940
1966
  editingItem: r,
1941
1967
  selectedGroupItem: u,
1942
- groupItemDialogVisible: h,
1968
+ groupItemDialogVisible: y,
1943
1969
  cancelCurrentGroup: () => {
1944
1970
  const m = d.value.findIndex(
1945
1971
  (I) => I.id === n.value.id
@@ -1949,55 +1975,55 @@ const Fo = /* @__PURE__ */ ne(Oo, [["render", Bo]]), Go = oe({
1949
1975
  d.value.splice(m, 1, I);
1950
1976
  } else
1951
1977
  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);
1978
+ y.value = !1, n.value = void 0, b.length > 1 && (delete b[1].icon, delete b[1].title), b.push(P);
1953
1979
  },
1954
1980
  selectCloudItem: s,
1955
1981
  editingItemDialogVisible: c,
1956
- selectCloudItemDialogVisible: y,
1982
+ selectCloudItemDialogVisible: S,
1957
1983
  localConfig: i,
1958
1984
  listItemArray: d,
1959
1985
  currentGroup: n,
1960
- apply: U,
1961
- returnLevel: X,
1962
- updateItem: Z,
1963
- updateCloudItem: Q,
1986
+ apply: k,
1987
+ returnLevel: Y,
1988
+ updateItem: Q,
1989
+ updateCloudItem: X,
1964
1990
  level: o,
1965
- listItems: S,
1991
+ listItems: M,
1966
1992
  basisModule: $,
1967
1993
  basisModuleExists: B,
1968
- headerActions: V,
1969
- isRequired: b,
1994
+ headerActions: b,
1995
+ isRequired: V,
1970
1996
  moveItem({
1971
1997
  item: m,
1972
1998
  targetIndex: I
1973
1999
  }) {
1974
- var T, k, E;
2000
+ var T, _, E;
1975
2001
  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));
2002
+ f !== I && ((_ = d.value) == null || _.splice(f, 1), (E = d.value) == null || E.splice(I, 0, m));
1977
2003
  },
1978
2004
  moveCard({
1979
2005
  item: m,
1980
2006
  targetIndex: I
1981
2007
  }) {
1982
- var T, k, E, w;
2008
+ var T, _, E, w;
1983
2009
  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));
2010
+ f !== I && ((_ = (T = n.value) == null ? void 0 : T.cards) == null || _.splice(f, 1), (w = (E = n.value) == null ? void 0 : E.cards) == null || w.splice(I, 0, m));
1985
2011
  }
1986
2012
  };
1987
2013
  }
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({
2014
+ }), jo = { class: "d-flex gc-2 px-2 pt-2 pb-2" }, Lo = { class: "d-flex gc-2 justify-end w-100" };
2015
+ function zo(e, o, i, d, n, r) {
2016
+ const s = a("VcsLabel"), u = a("v-col"), S = a("VcsTextField"), c = a("v-row"), y = a("VcsCheckbox"), M = a("v-container"), $ = a("VcsFormSection"), B = a("VcsTextArea"), b = a("v-form"), v = a("VcsList"), N = a("VcsFormButton"), p = a("v-sheet"), P = a("v-dialog"), k = a("ModuleEditor"), Q = a("VcsModuleTable"), X = a("WindowPositionSettings"), Y = a("AbstractConfigEditor");
2017
+ return e.localConfig ? (C(), U(Y, se({
1992
2018
  key: 0,
1993
2019
  onSubmit: e.apply
1994
2020
  }, { ...e.$attrs, ...e.$props }), {
1995
2021
  default: t(() => [
1996
- l(S, { class: "py-0 px-0" }, {
2022
+ l(M, { class: "py-0 px-0" }, {
1997
2023
  default: t(() => [
1998
2024
  l($, { heading: "moduleSelector.configEditor.general" }, {
1999
2025
  default: t(() => [
2000
- l(S, { class: "py-0 px-1" }, {
2026
+ l(M, { class: "py-0 px-1" }, {
2001
2027
  default: t(() => [
2002
2028
  l(c, { "no-gutters": "" }, {
2003
2029
  default: t(() => [
@@ -2005,8 +2031,8 @@ function qo(e, o, i, d, n, r) {
2005
2031
  default: t(() => [
2006
2032
  l(s, { "html-for": "moduleselector-window-title" }, {
2007
2033
  default: t(() => [
2008
- M(
2009
- v(e.$st("moduleSelector.configEditor.windowTitle")),
2034
+ h(
2035
+ g(e.$st("moduleSelector.configEditor.windowTitle")),
2010
2036
  1
2011
2037
  /* TEXT */
2012
2038
  )
@@ -2020,11 +2046,11 @@ function qo(e, o, i, d, n, r) {
2020
2046
  }),
2021
2047
  l(u, null, {
2022
2048
  default: t(() => [
2023
- l(y, {
2049
+ l(S, {
2024
2050
  id: "moduleselector-window-title",
2025
2051
  placeholder: e.$st("moduleSelector.title"),
2026
2052
  modelValue: e.localConfig.windowTitle,
2027
- "onUpdate:modelValue": o[0] || (o[0] = (b) => e.localConfig.windowTitle = b)
2053
+ "onUpdate:modelValue": o[0] || (o[0] = (V) => e.localConfig.windowTitle = V)
2028
2054
  }, null, 8, ["placeholder", "modelValue"])
2029
2055
  ]),
2030
2056
  _: 1
@@ -2038,9 +2064,9 @@ function qo(e, o, i, d, n, r) {
2038
2064
  default: t(() => [
2039
2065
  l(u, null, {
2040
2066
  default: t(() => [
2041
- l(h, {
2067
+ l(y, {
2042
2068
  modelValue: e.localConfig.isActiveOnStart,
2043
- "onUpdate:modelValue": o[1] || (o[1] = (b) => e.localConfig.isActiveOnStart = b),
2069
+ "onUpdate:modelValue": o[1] || (o[1] = (V) => e.localConfig.isActiveOnStart = V),
2044
2070
  label: "moduleSelector.configEditor.isActiveOnStart"
2045
2071
  }, null, 8, ["modelValue"])
2046
2072
  ]),
@@ -2055,9 +2081,9 @@ function qo(e, o, i, d, n, r) {
2055
2081
  default: t(() => [
2056
2082
  l(u, null, {
2057
2083
  default: t(() => [
2058
- l(h, {
2084
+ l(y, {
2059
2085
  modelValue: e.localConfig.requireModuleSelection,
2060
- "onUpdate:modelValue": o[2] || (o[2] = (b) => e.localConfig.requireModuleSelection = b),
2086
+ "onUpdate:modelValue": o[2] || (o[2] = (V) => e.localConfig.requireModuleSelection = V),
2061
2087
  label: "moduleSelector.configEditor.requireModuleSelection"
2062
2088
  }, null, 8, ["modelValue"])
2063
2089
  ]),
@@ -2078,16 +2104,16 @@ function qo(e, o, i, d, n, r) {
2078
2104
  }),
2079
2105
  l($, { heading: "moduleSelector.configEditor.baseModule" }, {
2080
2106
  default: t(() => [
2081
- l(S, { class: "py-0 px-1" }, {
2107
+ l(M, { class: "py-0 px-1" }, {
2082
2108
  default: t(() => [
2083
2109
  l(c, { "no-gutters": "" }, {
2084
2110
  default: t(() => [
2085
2111
  l(u, null, {
2086
2112
  default: t(() => [
2087
- l(h, {
2113
+ l(y, {
2088
2114
  id: "BaseModuleCheckbox",
2089
2115
  modelValue: e.basisModuleExists,
2090
- "onUpdate:modelValue": o[3] || (o[3] = (b) => e.basisModuleExists = b),
2116
+ "onUpdate:modelValue": o[3] || (o[3] = (V) => e.basisModuleExists = V),
2091
2117
  label: "moduleSelector.configEditor.baseModuleCheckbox"
2092
2118
  }, null, 8, ["modelValue"])
2093
2119
  ]),
@@ -2098,7 +2124,7 @@ function qo(e, o, i, d, n, r) {
2098
2124
  _: 1
2099
2125
  /* STABLE */
2100
2126
  }),
2101
- e.basisModuleExists ? (C(), _(c, {
2127
+ e.basisModuleExists ? (C(), U(c, {
2102
2128
  key: 0,
2103
2129
  "no-gutters": ""
2104
2130
  }, {
@@ -2110,8 +2136,8 @@ function qo(e, o, i, d, n, r) {
2110
2136
  "html-for": "basisModuleName"
2111
2137
  }, {
2112
2138
  default: t(() => [
2113
- M(
2114
- v(e.$st("moduleSelector.configEditor.title")),
2139
+ h(
2140
+ g(e.$st("moduleSelector.configEditor.title")),
2115
2141
  1
2116
2142
  /* TEXT */
2117
2143
  )
@@ -2125,14 +2151,14 @@ function qo(e, o, i, d, n, r) {
2125
2151
  }),
2126
2152
  l(u, null, {
2127
2153
  default: t(() => [
2128
- l(y, {
2154
+ l(S, {
2129
2155
  id: "basisModuleName",
2130
2156
  placeholder: "Base Module",
2131
2157
  rules: [
2132
2158
  e.basisModuleExists && (!e.basisModule.title || e.basisModule.title === "") ? () => "moduleSelector.configEditor.error" : () => !0
2133
2159
  ],
2134
2160
  modelValue: e.basisModule.title,
2135
- "onUpdate:modelValue": o[4] || (o[4] = (b) => e.basisModule.title = b)
2161
+ "onUpdate:modelValue": o[4] || (o[4] = (V) => e.basisModule.title = V)
2136
2162
  }, null, 8, ["rules", "modelValue"])
2137
2163
  ]),
2138
2164
  _: 1
@@ -2142,7 +2168,7 @@ function qo(e, o, i, d, n, r) {
2142
2168
  _: 1
2143
2169
  /* STABLE */
2144
2170
  })) : G("v-if", !0),
2145
- e.basisModuleExists ? (C(), _(c, {
2171
+ e.basisModuleExists ? (C(), U(c, {
2146
2172
  key: 1,
2147
2173
  "no-gutters": ""
2148
2174
  }, {
@@ -2154,8 +2180,8 @@ function qo(e, o, i, d, n, r) {
2154
2180
  "html-for": "basisModuleIcon"
2155
2181
  }, {
2156
2182
  default: t(() => [
2157
- M(
2158
- v(e.$st("components.style.icon")),
2183
+ h(
2184
+ g(e.$st("components.style.icon")),
2159
2185
  1
2160
2186
  /* TEXT */
2161
2187
  )
@@ -2169,14 +2195,14 @@ function qo(e, o, i, d, n, r) {
2169
2195
  }),
2170
2196
  l(u, null, {
2171
2197
  default: t(() => [
2172
- l(y, {
2198
+ l(S, {
2173
2199
  id: "basisModuleIcon",
2174
2200
  placeholder: "mdi-home-city",
2175
2201
  rules: [
2176
2202
  e.basisModuleExists && (!e.basisModule.icon || e.basisModule.icon === "") ? () => "moduleSelector.configEditor.error" : () => !0
2177
2203
  ],
2178
2204
  modelValue: e.basisModule.icon,
2179
- "onUpdate:modelValue": o[5] || (o[5] = (b) => e.basisModule.icon = b)
2205
+ "onUpdate:modelValue": o[5] || (o[5] = (V) => e.basisModule.icon = V)
2180
2206
  }, null, 8, ["rules", "modelValue"])
2181
2207
  ]),
2182
2208
  _: 1
@@ -2186,7 +2212,7 @@ function qo(e, o, i, d, n, r) {
2186
2212
  _: 1
2187
2213
  /* STABLE */
2188
2214
  })) : G("v-if", !0),
2189
- e.basisModuleExists ? (C(), _(c, {
2215
+ e.basisModuleExists ? (C(), U(c, {
2190
2216
  key: 2,
2191
2217
  "no-gutters": ""
2192
2218
  }, {
@@ -2195,8 +2221,8 @@ function qo(e, o, i, d, n, r) {
2195
2221
  default: t(() => [
2196
2222
  l(s, { "html-for": "basisModuleDescription" }, {
2197
2223
  default: t(() => [
2198
- M(
2199
- v(e.$st("moduleSelector.configEditor.moduleDescription")),
2224
+ h(
2225
+ g(e.$st("moduleSelector.configEditor.moduleDescription")),
2200
2226
  1
2201
2227
  /* TEXT */
2202
2228
  )
@@ -2213,7 +2239,7 @@ function qo(e, o, i, d, n, r) {
2213
2239
  l(B, {
2214
2240
  id: "basisModuleDescription",
2215
2241
  modelValue: e.basisModule.description,
2216
- "onUpdate:modelValue": o[6] || (o[6] = (b) => e.basisModule.description = b)
2242
+ "onUpdate:modelValue": o[6] || (o[6] = (V) => e.basisModule.description = V)
2217
2243
  }, null, 8, ["modelValue"])
2218
2244
  ]),
2219
2245
  _: 1
@@ -2237,24 +2263,24 @@ function qo(e, o, i, d, n, r) {
2237
2263
  }),
2238
2264
  l(P, {
2239
2265
  modelValue: e.groupItemDialogVisible,
2240
- "onUpdate:modelValue": o[13] || (o[13] = (b) => e.groupItemDialogVisible = b),
2266
+ "onUpdate:modelValue": o[13] || (o[13] = (V) => e.groupItemDialogVisible = V),
2241
2267
  width: "800",
2242
2268
  persistent: !0
2243
2269
  }, {
2244
2270
  default: t(() => [
2245
- e.currentGroup ? (C(), _(p, { key: 0 }, {
2271
+ e.currentGroup ? (C(), U(p, { key: 0 }, {
2246
2272
  default: t(() => [
2247
2273
  l($, {
2248
2274
  heading: "moduleSelector.configEditor.groupHeading",
2249
2275
  "start-open": !0
2250
2276
  }, {
2251
2277
  default: t(() => [
2252
- l(V, {
2278
+ l(b, {
2253
2279
  modelValue: e.isFormValid,
2254
- "onUpdate:modelValue": o[10] || (o[10] = (b) => e.isFormValid = b)
2280
+ "onUpdate:modelValue": o[10] || (o[10] = (V) => e.isFormValid = V)
2255
2281
  }, {
2256
2282
  default: t(() => [
2257
- l(S, { class: "py-0 px-1" }, {
2283
+ l(M, { class: "py-0 px-1" }, {
2258
2284
  default: t(() => [
2259
2285
  l(c, { "no-gutters": "" }, {
2260
2286
  default: t(() => [
@@ -2265,8 +2291,8 @@ function qo(e, o, i, d, n, r) {
2265
2291
  "html-for": "groupModuleName"
2266
2292
  }, {
2267
2293
  default: t(() => [
2268
- M(
2269
- v(e.$st("moduleSelector.configEditor.groupName")),
2294
+ h(
2295
+ g(e.$st("moduleSelector.configEditor.groupName")),
2270
2296
  1
2271
2297
  /* TEXT */
2272
2298
  )
@@ -2280,11 +2306,11 @@ function qo(e, o, i, d, n, r) {
2280
2306
  }),
2281
2307
  l(u, null, {
2282
2308
  default: t(() => [
2283
- l(y, {
2309
+ l(S, {
2284
2310
  id: "groupModuleName",
2285
2311
  placeholder: "Module Name",
2286
2312
  modelValue: e.currentGroup.title,
2287
- "onUpdate:modelValue": o[7] || (o[7] = (b) => e.currentGroup.title = b),
2313
+ "onUpdate:modelValue": o[7] || (o[7] = (V) => e.currentGroup.title = V),
2288
2314
  rules: [e.isRequired]
2289
2315
  }, null, 8, ["modelValue", "rules"])
2290
2316
  ]),
@@ -2304,8 +2330,8 @@ function qo(e, o, i, d, n, r) {
2304
2330
  "html-for": "groupModuleIcon"
2305
2331
  }, {
2306
2332
  default: t(() => [
2307
- M(
2308
- v(e.$st("moduleSelector.configEditor.moduleIcon")),
2333
+ h(
2334
+ g(e.$st("moduleSelector.configEditor.moduleIcon")),
2309
2335
  1
2310
2336
  /* TEXT */
2311
2337
  )
@@ -2319,11 +2345,11 @@ function qo(e, o, i, d, n, r) {
2319
2345
  }),
2320
2346
  l(u, null, {
2321
2347
  default: t(() => [
2322
- l(y, {
2348
+ l(S, {
2323
2349
  id: "groupModuleIcon",
2324
2350
  placeholder: "Module Icon",
2325
2351
  modelValue: e.currentGroup.icon,
2326
- "onUpdate:modelValue": o[8] || (o[8] = (b) => e.currentGroup.icon = b),
2352
+ "onUpdate:modelValue": o[8] || (o[8] = (V) => e.currentGroup.icon = V),
2327
2353
  rules: [e.isRequired]
2328
2354
  }, null, 8, ["modelValue", "rules"])
2329
2355
  ]),
@@ -2340,8 +2366,8 @@ function qo(e, o, i, d, n, r) {
2340
2366
  default: t(() => [
2341
2367
  l(s, { "html-for": "groupModuleDescription" }, {
2342
2368
  default: t(() => [
2343
- M(
2344
- v(e.$st("moduleSelector.configEditor.groupDescription")),
2369
+ h(
2370
+ g(e.$st("moduleSelector.configEditor.groupDescription")),
2345
2371
  1
2346
2372
  /* TEXT */
2347
2373
  )
@@ -2359,7 +2385,7 @@ function qo(e, o, i, d, n, r) {
2359
2385
  id: "groupModuleDescription",
2360
2386
  placeholder: "",
2361
2387
  modelValue: e.currentGroup.description,
2362
- "onUpdate:modelValue": o[9] || (o[9] = (b) => e.currentGroup.description = b)
2388
+ "onUpdate:modelValue": o[9] || (o[9] = (V) => e.currentGroup.description = V)
2363
2389
  }, null, 8, ["modelValue"])
2364
2390
  ]),
2365
2391
  _: 1
@@ -2382,12 +2408,12 @@ function qo(e, o, i, d, n, r) {
2382
2408
  /* STABLE */
2383
2409
  }),
2384
2410
  l($, {
2385
- heading: "moduleSelector.configEditor.heading",
2411
+ heading: "moduleSelector.configEditor.heading2",
2386
2412
  "start-open": !0,
2387
2413
  "header-actions": e.headerActions
2388
2414
  }, {
2389
2415
  default: t(() => [
2390
- l(g, {
2416
+ l(v, {
2391
2417
  class: "draggable-list",
2392
2418
  items: e.currentGroup.cards,
2393
2419
  draggable: !0,
@@ -2397,37 +2423,37 @@ function qo(e, o, i, d, n, r) {
2397
2423
  _: 1
2398
2424
  /* STABLE */
2399
2425
  }, 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
- })
2426
+ L("div", jo, [
2427
+ L("div", Lo, [
2428
+ l(N, {
2429
+ variant: "filled",
2430
+ disabled: !e.isFormValid,
2431
+ onClick: o[11] || (o[11] = (V) => e.returnLevel())
2432
+ }, {
2433
+ default: t(() => [
2434
+ h(
2435
+ g(e.$t("components.apply")),
2436
+ 1
2437
+ /* TEXT */
2438
+ )
2439
+ ]),
2440
+ _: 1
2441
+ /* STABLE */
2442
+ }, 8, ["disabled"]),
2443
+ l(N, {
2444
+ onClick: o[12] || (o[12] = (V) => e.cancelCurrentGroup())
2445
+ }, {
2446
+ default: t(() => [
2447
+ h(
2448
+ g(e.$t("components.cancel")),
2449
+ 1
2450
+ /* TEXT */
2451
+ )
2452
+ ]),
2453
+ _: 1
2454
+ /* STABLE */
2455
+ })
2456
+ ])
2431
2457
  ])
2432
2458
  ]),
2433
2459
  _: 1
@@ -2443,22 +2469,22 @@ function qo(e, o, i, d, n, r) {
2443
2469
  "header-actions": e.headerActions
2444
2470
  }, {
2445
2471
  default: t(() => [
2446
- l(g, {
2472
+ l(v, {
2447
2473
  items: e.listItemArray,
2448
2474
  draggable: !0,
2449
2475
  onItemMoved: e.moveItem
2450
2476
  }, null, 8, ["items", "onItemMoved"]),
2451
2477
  l(P, {
2452
2478
  modelValue: e.editingItemDialogVisible,
2453
- "onUpdate:modelValue": o[16] || (o[16] = (b) => e.editingItemDialogVisible = b),
2479
+ "onUpdate:modelValue": o[16] || (o[16] = (V) => e.editingItemDialogVisible = V),
2454
2480
  width: "400",
2455
2481
  persistent: !0
2456
2482
  }, {
2457
2483
  default: t(() => [
2458
- l(U, {
2484
+ l(k, {
2459
2485
  "model-value": e.editingItem,
2460
- onClose: o[14] || (o[14] = (b) => e.editingItemDialogVisible = !1),
2461
- onSubmit: o[15] || (o[15] = (b) => e.updateItem())
2486
+ onClose: o[14] || (o[14] = (V) => e.editingItemDialogVisible = !1),
2487
+ onSubmit: o[15] || (o[15] = (V) => e.updateItem())
2462
2488
  }, null, 8, ["model-value"])
2463
2489
  ]),
2464
2490
  _: 1
@@ -2466,15 +2492,15 @@ function qo(e, o, i, d, n, r) {
2466
2492
  }, 8, ["modelValue"]),
2467
2493
  l(P, {
2468
2494
  modelValue: e.selectCloudItemDialogVisible,
2469
- "onUpdate:modelValue": o[19] || (o[19] = (b) => e.selectCloudItemDialogVisible = b),
2495
+ "onUpdate:modelValue": o[19] || (o[19] = (V) => e.selectCloudItemDialogVisible = V),
2470
2496
  width: "1000",
2471
2497
  persistent: !0
2472
2498
  }, {
2473
2499
  default: t(() => [
2474
- l(Z, {
2500
+ l(Q, {
2475
2501
  "model-value": e.selectCloudItem,
2476
- onClose: o[17] || (o[17] = (b) => e.selectCloudItemDialogVisible = !1),
2477
- onSubmit: o[18] || (o[18] = (b) => e.updateCloudItem())
2502
+ onClose: o[17] || (o[17] = (V) => e.selectCloudItemDialogVisible = !1),
2503
+ onSubmit: o[18] || (o[18] = (V) => e.updateCloudItem())
2478
2504
  }, null, 8, ["model-value"])
2479
2505
  ]),
2480
2506
  _: 1
@@ -2489,9 +2515,9 @@ function qo(e, o, i, d, n, r) {
2489
2515
  expandable: !0
2490
2516
  }, {
2491
2517
  default: t(() => [
2492
- l(Q, {
2518
+ l(X, {
2493
2519
  modelValue: e.localConfig.position,
2494
- "onUpdate:modelValue": o[20] || (o[20] = (b) => e.localConfig.position = b),
2520
+ "onUpdate:modelValue": o[20] || (o[20] = (V) => e.localConfig.position = V),
2495
2521
  "position-keys": [
2496
2522
  "top",
2497
2523
  "right",
@@ -2512,12 +2538,12 @@ function qo(e, o, i, d, n, r) {
2512
2538
  /* STABLE */
2513
2539
  }, 16, ["onSubmit"])) : G("v-if", !0);
2514
2540
  }
2515
- const Po = /* @__PURE__ */ ne(Go, [["render", qo]]);
2516
- function Ko(e) {
2541
+ const Wo = /* @__PURE__ */ ne(Po, [["render", zo]]);
2542
+ function Xo(e) {
2517
2543
  let o;
2518
2544
  return {
2519
2545
  get name() {
2520
- return L;
2546
+ return z;
2521
2547
  },
2522
2548
  get version() {
2523
2549
  return so;
@@ -2550,11 +2576,11 @@ function Ko(e) {
2550
2576
  }
2551
2577
  };
2552
2578
  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)) {
2579
+ const u = Ce(d.smi), S = Ce(d.snmi), c = io(d.w), { modules: y } = this.config;
2580
+ if (u !== void 0 && u < (y == null ? void 0 : y.length)) {
2555
2581
  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);
2582
+ const M = y[u];
2583
+ S !== void 0 && (M == null ? void 0 : M.type) === "group" && S < ((s = M == null ? void 0 : M.cards) == null ? void 0 : s.length) && (this.selectedNestedModuleIndex.value = S);
2558
2584
  }
2559
2585
  c || await Oe(
2560
2586
  this.selectedMainModuleIndex.value,
@@ -2572,16 +2598,16 @@ function Ko(e) {
2572
2598
  },
2573
2599
  n,
2574
2600
  o.windowManager,
2575
- L
2601
+ z
2576
2602
  );
2577
2603
  return o.navbarManager.add(
2578
2604
  {
2579
2605
  id: r.name,
2580
2606
  action: r
2581
2607
  },
2582
- L,
2608
+ z,
2583
2609
  Ze.PROJECT
2584
- ), (d && d.w || !d && this.config.isActiveOnStart) && o.windowManager.add(n, L), Promise.resolve();
2610
+ ), (d && d.w || !d && this.config.isActiveOnStart) && o.windowManager.add(n, z), Promise.resolve();
2585
2611
  },
2586
2612
  getDefaultOptions: ue,
2587
2613
  getState() {
@@ -2592,7 +2618,7 @@ function Ko(e) {
2592
2618
  getConfigEditors() {
2593
2619
  return [
2594
2620
  {
2595
- component: Po,
2621
+ component: Wo,
2596
2622
  title: "moduleSelector.name",
2597
2623
  infoUrlCallback: o.getHelpUrlCallback(
2598
2624
  "/components/plugins/moduleSelectorConfig.html",
@@ -2603,7 +2629,7 @@ function Ko(e) {
2603
2629
  },
2604
2630
  toJSON() {
2605
2631
  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;
2632
+ 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), ge(this.config.position, d.position) || (i.position = this.config.position), ge(this.config.modules, d.modules) || (i.modules = this.config.modules), ge(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;
2607
2633
  },
2608
2634
  i18n: {
2609
2635
  de: {
@@ -2636,6 +2662,7 @@ function Ko(e) {
2636
2662
  editorError: "Bitte füllen Sie das Feld aus",
2637
2663
  breadcrumbs: { overview: "Übersicht", group: "Gruppe" },
2638
2664
  heading: "Themen- & Modulzuordnung",
2665
+ heading2: "Modulzuordnung",
2639
2666
  groupHeading: "Gruppeneinstellungen",
2640
2667
  baseModule: "Basismodul",
2641
2668
  baseModuleCheckbox: "Basismodul anzeigen",
@@ -2653,7 +2680,8 @@ function Ko(e) {
2653
2680
  isActiveOnStart: "Themenkartenauswahl beim Start der Karte zeigen",
2654
2681
  requireModuleSelection: "Modulauswahl erforderlich machen",
2655
2682
  windowTitle: "Fenster Titel",
2656
- windowPosition: "Fenster Position"
2683
+ windowPosition: "Fenster Position",
2684
+ moduleSettings: "Modul Einstellungen"
2657
2685
  }
2658
2686
  }
2659
2687
  },
@@ -2687,6 +2715,7 @@ function Ko(e) {
2687
2715
  editorError: "Please fill in the field",
2688
2716
  breadcrumbs: { overview: "Overview", group: "Group" },
2689
2717
  heading: "Topic & module assignment",
2718
+ heading2: "Module assignment",
2690
2719
  groupHeading: "Group settings",
2691
2720
  baseModule: "Base module",
2692
2721
  baseModuleCheckbox: "Show base module",
@@ -2704,7 +2733,8 @@ function Ko(e) {
2704
2733
  isActiveOnStart: "Show theme map selection on map start",
2705
2734
  requireModuleSelection: "Require module selection",
2706
2735
  windowTitle: "Window title",
2707
- windowPosition: "Window position"
2736
+ windowPosition: "Window position",
2737
+ moduleSettings: "Module settings"
2708
2738
  }
2709
2739
  }
2710
2740
  }
@@ -2714,5 +2744,5 @@ function Ko(e) {
2714
2744
  };
2715
2745
  }
2716
2746
  export {
2717
- Ko as default
2747
+ Xo as default
2718
2748
  };