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