@ddd-tool/domain-designer-generator 0.1.0-beta.4 → 0.1.0-beta.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/domain/define.d.ts +8 -1
- package/domain/generator-agg.d.ts +0 -22
- package/domain-plugin/generator-csharp-plugin.d.ts +0 -2
- package/domain-plugin/generator-go-plugin.d.ts +0 -2
- package/domain-plugin/generator-java-plugin.d.ts +0 -2
- package/domain-plugin/generator-kotlin-plugin.d.ts +0 -2
- package/index.js +256 -254
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -5,17 +5,17 @@
|
|
|
5
5
|
**/
|
|
6
6
|
/*! #__NO_SIDE_EFFECTS__ */
|
|
7
7
|
// @__NO_SIDE_EFFECTS__
|
|
8
|
-
function
|
|
8
|
+
function Bn(e) {
|
|
9
9
|
const n = /* @__PURE__ */ Object.create(null);
|
|
10
10
|
for (const t of e.split(",")) n[t] = 1;
|
|
11
11
|
return (t) => t in n;
|
|
12
12
|
}
|
|
13
13
|
process.env.NODE_ENV !== "production" && Object.freeze({});
|
|
14
14
|
process.env.NODE_ENV !== "production" && Object.freeze([]);
|
|
15
|
-
const Ve = Object.assign,
|
|
15
|
+
const Ve = Object.assign, zn = Object.prototype.hasOwnProperty, Re = (e, n) => zn.call(e, n), q = Array.isArray, oe = (e) => mn(e) === "[object Map]", Gn = (e) => typeof e == "function", Jn = (e) => typeof e == "string", le = (e) => typeof e == "symbol", Se = (e) => e !== null && typeof e == "object", Wn = Object.prototype.toString, mn = (e) => Wn.call(e), fn = (e) => mn(e).slice(8, -1), qe = (e) => Jn(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, Yn = (e) => {
|
|
16
16
|
const n = /* @__PURE__ */ Object.create(null);
|
|
17
17
|
return (t) => n[t] || (n[t] = e(t));
|
|
18
|
-
},
|
|
18
|
+
}, qn = Yn((e) => e.charAt(0).toUpperCase() + e.slice(1)), Z = (e, n) => !Object.is(e, n);
|
|
19
19
|
/**
|
|
20
20
|
* @vue/reactivity v3.5.13
|
|
21
21
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
@@ -34,7 +34,7 @@ function Zn(e, n = !1) {
|
|
|
34
34
|
function Ze() {
|
|
35
35
|
hn++;
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function Qe() {
|
|
38
38
|
if (--hn > 0)
|
|
39
39
|
return;
|
|
40
40
|
if (re) {
|
|
@@ -60,11 +60,11 @@ function Xe() {
|
|
|
60
60
|
}
|
|
61
61
|
if (e) throw e;
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function Qn(e) {
|
|
64
64
|
for (let n = e.deps; n; n = n.nextDep)
|
|
65
65
|
n.version = -1, n.prevActiveLink = n.dep.activeLink, n.dep.activeLink = n;
|
|
66
66
|
}
|
|
67
|
-
function
|
|
67
|
+
function Xn(e) {
|
|
68
68
|
let n, t = e.depsTail, s = t;
|
|
69
69
|
for (; s; ) {
|
|
70
70
|
const o = s.prevDep;
|
|
@@ -90,13 +90,13 @@ function vn(e) {
|
|
|
90
90
|
const t = A, s = H;
|
|
91
91
|
A = e, H = !0;
|
|
92
92
|
try {
|
|
93
|
-
|
|
93
|
+
Qn(e);
|
|
94
94
|
const o = e.fn(e._value);
|
|
95
95
|
(n.version === 0 || Z(o, e._value)) && (e._value = o, n.version++);
|
|
96
96
|
} catch (o) {
|
|
97
97
|
throw n.version++, o;
|
|
98
98
|
} finally {
|
|
99
|
-
A = t, H = s,
|
|
99
|
+
A = t, H = s, Xn(e), e.flags &= -3;
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
function gn(e, n = !1) {
|
|
@@ -127,7 +127,7 @@ class st {
|
|
|
127
127
|
this.sub = n, this.dep = t, this.version = t.version, this.nextDep = this.prevDep = this.nextSub = this.prevSub = this.prevActiveLink = void 0;
|
|
128
128
|
}
|
|
129
129
|
}
|
|
130
|
-
class
|
|
130
|
+
class Xe {
|
|
131
131
|
constructor(n) {
|
|
132
132
|
this.computed = n, this.version = 0, this.activeLink = void 0, this.subs = void 0, this.map = void 0, this.key = void 0, this.sc = 0, process.env.NODE_ENV !== "production" && (this.subsHead = void 0);
|
|
133
133
|
}
|
|
@@ -169,7 +169,7 @@ class Qe {
|
|
|
169
169
|
for (let t = this.subs; t; t = t.prevSub)
|
|
170
170
|
t.sub.notify() && t.sub.dep.notify();
|
|
171
171
|
} finally {
|
|
172
|
-
|
|
172
|
+
Qe();
|
|
173
173
|
}
|
|
174
174
|
}
|
|
175
175
|
}
|
|
@@ -185,19 +185,19 @@ function Cn(e) {
|
|
|
185
185
|
t !== e && (e.prevSub = t, t && (t.nextSub = e)), process.env.NODE_ENV !== "production" && e.dep.subsHead === void 0 && (e.dep.subsHead = e), e.dep.subs = e;
|
|
186
186
|
}
|
|
187
187
|
}
|
|
188
|
-
const He = /* @__PURE__ */ new WeakMap(),
|
|
188
|
+
const He = /* @__PURE__ */ new WeakMap(), U = Symbol(
|
|
189
189
|
process.env.NODE_ENV !== "production" ? "Object iterate" : ""
|
|
190
190
|
), Le = Symbol(
|
|
191
191
|
process.env.NODE_ENV !== "production" ? "Map keys iterate" : ""
|
|
192
192
|
), ie = Symbol(
|
|
193
193
|
process.env.NODE_ENV !== "production" ? "Array iterate" : ""
|
|
194
194
|
);
|
|
195
|
-
function
|
|
195
|
+
function x(e, n, t) {
|
|
196
196
|
if (H && A) {
|
|
197
197
|
let s = He.get(e);
|
|
198
198
|
s || He.set(e, s = /* @__PURE__ */ new Map());
|
|
199
199
|
let o = s.get(t);
|
|
200
|
-
o || (s.set(t, o = new
|
|
200
|
+
o || (s.set(t, o = new Xe()), o.map = s, o.key = t), process.env.NODE_ENV !== "production" ? o.track({
|
|
201
201
|
target: e,
|
|
202
202
|
type: n,
|
|
203
203
|
key: t
|
|
@@ -223,7 +223,7 @@ function R(e, n, t, s, o, r) {
|
|
|
223
223
|
if (Ze(), n === "clear")
|
|
224
224
|
c.forEach(g);
|
|
225
225
|
else {
|
|
226
|
-
const _ =
|
|
226
|
+
const _ = q(e), m = _ && qe(t);
|
|
227
227
|
if (_ && t === "length") {
|
|
228
228
|
const a = Number(s);
|
|
229
229
|
c.forEach((u, i) => {
|
|
@@ -232,75 +232,75 @@ function R(e, n, t, s, o, r) {
|
|
|
232
232
|
} else
|
|
233
233
|
switch ((t !== void 0 || c.has(void 0)) && g(c.get(t)), m && g(c.get(ie)), n) {
|
|
234
234
|
case "add":
|
|
235
|
-
_ ? m && g(c.get("length")) : (g(c.get(
|
|
235
|
+
_ ? m && g(c.get("length")) : (g(c.get(U)), oe(e) && g(c.get(Le)));
|
|
236
236
|
break;
|
|
237
237
|
case "delete":
|
|
238
|
-
_ || (g(c.get(
|
|
238
|
+
_ || (g(c.get(U)), oe(e) && g(c.get(Le)));
|
|
239
239
|
break;
|
|
240
240
|
case "set":
|
|
241
|
-
oe(e) && g(c.get(
|
|
241
|
+
oe(e) && g(c.get(U));
|
|
242
242
|
break;
|
|
243
243
|
}
|
|
244
244
|
}
|
|
245
|
-
|
|
245
|
+
Qe();
|
|
246
246
|
}
|
|
247
247
|
function W(e) {
|
|
248
|
-
const n =
|
|
249
|
-
return n === e ? n : (
|
|
248
|
+
const n = j(e);
|
|
249
|
+
return n === e ? n : (x(n, "iterate", ie), L(e) ? n : n.map(T));
|
|
250
250
|
}
|
|
251
251
|
function en(e) {
|
|
252
|
-
return
|
|
252
|
+
return x(e = j(e), "iterate", ie), e;
|
|
253
253
|
}
|
|
254
254
|
const rt = {
|
|
255
255
|
__proto__: null,
|
|
256
256
|
[Symbol.iterator]() {
|
|
257
|
-
return Oe(this, Symbol.iterator,
|
|
257
|
+
return Oe(this, Symbol.iterator, T);
|
|
258
258
|
},
|
|
259
259
|
concat(...e) {
|
|
260
260
|
return W(this).concat(
|
|
261
|
-
...e.map((n) =>
|
|
261
|
+
...e.map((n) => q(n) ? W(n) : n)
|
|
262
262
|
);
|
|
263
263
|
},
|
|
264
264
|
entries() {
|
|
265
|
-
return Oe(this, "entries", (e) => (e[1] =
|
|
265
|
+
return Oe(this, "entries", (e) => (e[1] = T(e[1]), e));
|
|
266
266
|
},
|
|
267
267
|
every(e, n) {
|
|
268
|
-
return
|
|
268
|
+
return F(this, "every", e, n, void 0, arguments);
|
|
269
269
|
},
|
|
270
270
|
filter(e, n) {
|
|
271
|
-
return
|
|
271
|
+
return F(this, "filter", e, n, (t) => t.map(T), arguments);
|
|
272
272
|
},
|
|
273
273
|
find(e, n) {
|
|
274
|
-
return
|
|
274
|
+
return F(this, "find", e, n, T, arguments);
|
|
275
275
|
},
|
|
276
276
|
findIndex(e, n) {
|
|
277
|
-
return
|
|
277
|
+
return F(this, "findIndex", e, n, void 0, arguments);
|
|
278
278
|
},
|
|
279
279
|
findLast(e, n) {
|
|
280
|
-
return
|
|
280
|
+
return F(this, "findLast", e, n, T, arguments);
|
|
281
281
|
},
|
|
282
282
|
findLastIndex(e, n) {
|
|
283
|
-
return
|
|
283
|
+
return F(this, "findLastIndex", e, n, void 0, arguments);
|
|
284
284
|
},
|
|
285
285
|
// flat, flatMap could benefit from ARRAY_ITERATE but are not straight-forward to implement
|
|
286
286
|
forEach(e, n) {
|
|
287
|
-
return
|
|
287
|
+
return F(this, "forEach", e, n, void 0, arguments);
|
|
288
288
|
},
|
|
289
289
|
includes(...e) {
|
|
290
|
-
return
|
|
290
|
+
return Te(this, "includes", e);
|
|
291
291
|
},
|
|
292
292
|
indexOf(...e) {
|
|
293
|
-
return
|
|
293
|
+
return Te(this, "indexOf", e);
|
|
294
294
|
},
|
|
295
295
|
join(e) {
|
|
296
296
|
return W(this).join(e);
|
|
297
297
|
},
|
|
298
298
|
// keys() iterator only reads `length`, no optimisation required
|
|
299
299
|
lastIndexOf(...e) {
|
|
300
|
-
return
|
|
300
|
+
return Te(this, "lastIndexOf", e);
|
|
301
301
|
},
|
|
302
302
|
map(e, n) {
|
|
303
|
-
return
|
|
303
|
+
return F(this, "map", e, n, void 0, arguments);
|
|
304
304
|
},
|
|
305
305
|
pop() {
|
|
306
306
|
return te(this, "pop");
|
|
@@ -319,7 +319,7 @@ const rt = {
|
|
|
319
319
|
},
|
|
320
320
|
// slice could use ARRAY_ITERATE but also seems to beg for range tracking
|
|
321
321
|
some(e, n) {
|
|
322
|
-
return
|
|
322
|
+
return F(this, "some", e, n, void 0, arguments);
|
|
323
323
|
},
|
|
324
324
|
splice(...e) {
|
|
325
325
|
return te(this, "splice", e);
|
|
@@ -337,7 +337,7 @@ const rt = {
|
|
|
337
337
|
return te(this, "unshift", e);
|
|
338
338
|
},
|
|
339
339
|
values() {
|
|
340
|
-
return Oe(this, "values",
|
|
340
|
+
return Oe(this, "values", T);
|
|
341
341
|
}
|
|
342
342
|
};
|
|
343
343
|
function Oe(e, n, t) {
|
|
@@ -348,15 +348,15 @@ function Oe(e, n, t) {
|
|
|
348
348
|
}), o;
|
|
349
349
|
}
|
|
350
350
|
const at = Array.prototype;
|
|
351
|
-
function
|
|
351
|
+
function F(e, n, t, s, o, r) {
|
|
352
352
|
const c = en(e), g = c !== e && !L(e), _ = c[n];
|
|
353
353
|
if (_ !== at[n]) {
|
|
354
354
|
const u = _.apply(e, r);
|
|
355
|
-
return g ?
|
|
355
|
+
return g ? T(u) : u;
|
|
356
356
|
}
|
|
357
357
|
let m = t;
|
|
358
358
|
c !== e && (g ? m = function(u, i) {
|
|
359
|
-
return t.call(this,
|
|
359
|
+
return t.call(this, T(u), i, e);
|
|
360
360
|
} : t.length > 2 && (m = function(u, i) {
|
|
361
361
|
return t.call(this, u, i, e);
|
|
362
362
|
}));
|
|
@@ -369,27 +369,27 @@ function un(e, n, t, s) {
|
|
|
369
369
|
return o !== e && (L(e) ? t.length > 3 && (r = function(c, g, _) {
|
|
370
370
|
return t.call(this, c, g, _, e);
|
|
371
371
|
}) : r = function(c, g, _) {
|
|
372
|
-
return t.call(this, c,
|
|
372
|
+
return t.call(this, c, T(g), _, e);
|
|
373
373
|
}), o[n](r, ...s);
|
|
374
374
|
}
|
|
375
|
-
function
|
|
376
|
-
const s =
|
|
377
|
-
|
|
375
|
+
function Te(e, n, t) {
|
|
376
|
+
const s = j(e);
|
|
377
|
+
x(s, "iterate", ie);
|
|
378
378
|
const o = s[n](...t);
|
|
379
|
-
return (o === -1 || o === !1) && bt(t[0]) ? (t[0] =
|
|
379
|
+
return (o === -1 || o === !1) && bt(t[0]) ? (t[0] = j(t[0]), s[n](...t)) : o;
|
|
380
380
|
}
|
|
381
381
|
function te(e, n, t = []) {
|
|
382
382
|
tt(), Ze();
|
|
383
|
-
const s =
|
|
384
|
-
return
|
|
383
|
+
const s = j(e)[n].apply(e, t);
|
|
384
|
+
return Qe(), ot(), s;
|
|
385
385
|
}
|
|
386
|
-
const it = /* @__PURE__ */
|
|
386
|
+
const it = /* @__PURE__ */ Bn("__proto__,__v_isRef,__isVue"), $n = new Set(
|
|
387
387
|
/* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(le)
|
|
388
388
|
);
|
|
389
389
|
function ct(e) {
|
|
390
390
|
le(e) || (e = String(e));
|
|
391
|
-
const n =
|
|
392
|
-
return
|
|
391
|
+
const n = j(this);
|
|
392
|
+
return x(n, "has", e), n.hasOwnProperty(e);
|
|
393
393
|
}
|
|
394
394
|
class bn {
|
|
395
395
|
constructor(n = !1, t = !1) {
|
|
@@ -408,7 +408,7 @@ class bn {
|
|
|
408
408
|
return s === (o ? r ? En : yn : r ? _t : Nn).get(n) || // receiver is not the reactive proxy, but has the same prototype
|
|
409
409
|
// this means the receiver is a user proxy of the reactive proxy
|
|
410
410
|
Object.getPrototypeOf(n) === Object.getPrototypeOf(s) ? n : void 0;
|
|
411
|
-
const c =
|
|
411
|
+
const c = q(n);
|
|
412
412
|
if (!o) {
|
|
413
413
|
let _;
|
|
414
414
|
if (c && (_ = rt[t]))
|
|
@@ -422,9 +422,9 @@ class bn {
|
|
|
422
422
|
// if this is a proxy wrapping a ref, return methods using the raw ref
|
|
423
423
|
// as receiver so that we don't have to call `toRaw` on the ref in all
|
|
424
424
|
// its class methods
|
|
425
|
-
|
|
425
|
+
Q(n) ? n : s
|
|
426
426
|
);
|
|
427
|
-
return (le(t) ? $n.has(t) : it(t)) || (o ||
|
|
427
|
+
return (le(t) ? $n.has(t) : it(t)) || (o || x(n, "get", t), r) ? g : Q(g) ? c && qe(t) ? g : g.value : Se(g) ? o ? ge(g) : Sn(g) : g;
|
|
428
428
|
}
|
|
429
429
|
}
|
|
430
430
|
class ut extends bn {
|
|
@@ -435,16 +435,16 @@ class ut extends bn {
|
|
|
435
435
|
let r = n[t];
|
|
436
436
|
if (!this._isShallow) {
|
|
437
437
|
const _ = ne(r);
|
|
438
|
-
if (!L(s) && !ne(s) && (r =
|
|
438
|
+
if (!L(s) && !ne(s) && (r = j(r), s = j(s)), !q(n) && Q(r) && !Q(s))
|
|
439
439
|
return _ ? !1 : (r.value = s, !0);
|
|
440
440
|
}
|
|
441
|
-
const c =
|
|
441
|
+
const c = q(n) && qe(t) ? Number(t) < n.length : Re(n, t), g = Reflect.set(
|
|
442
442
|
n,
|
|
443
443
|
t,
|
|
444
444
|
s,
|
|
445
|
-
|
|
445
|
+
Q(n) ? n : o
|
|
446
446
|
);
|
|
447
|
-
return n ===
|
|
447
|
+
return n === j(o) && (c ? Z(s, r) && R(n, "set", t, s, r) : R(n, "add", t, s)), g;
|
|
448
448
|
}
|
|
449
449
|
deleteProperty(n, t) {
|
|
450
450
|
const s = Re(n, t), o = n[t], r = Reflect.deleteProperty(n, t);
|
|
@@ -452,13 +452,13 @@ class ut extends bn {
|
|
|
452
452
|
}
|
|
453
453
|
has(n, t) {
|
|
454
454
|
const s = Reflect.has(n, t);
|
|
455
|
-
return (!le(t) || !$n.has(t)) &&
|
|
455
|
+
return (!le(t) || !$n.has(t)) && x(n, "has", t), s;
|
|
456
456
|
}
|
|
457
457
|
ownKeys(n) {
|
|
458
|
-
return
|
|
458
|
+
return x(
|
|
459
459
|
n,
|
|
460
460
|
"iterate",
|
|
461
|
-
|
|
461
|
+
q(n) ? "length" : U
|
|
462
462
|
), Reflect.ownKeys(n);
|
|
463
463
|
}
|
|
464
464
|
}
|
|
@@ -482,11 +482,11 @@ class wn extends bn {
|
|
|
482
482
|
const lt = /* @__PURE__ */ new ut(), pt = /* @__PURE__ */ new wn(), dt = /* @__PURE__ */ new wn(!0), Me = (e) => e, de = (e) => Reflect.getPrototypeOf(e);
|
|
483
483
|
function mt(e, n, t) {
|
|
484
484
|
return function(...s) {
|
|
485
|
-
const o = this.__v_raw, r =
|
|
486
|
-
return !n &&
|
|
485
|
+
const o = this.__v_raw, r = j(o), c = oe(r), g = e === "entries" || e === Symbol.iterator && c, _ = e === "keys" && c, m = o[e](...s), a = t ? Me : n ? Ke : T;
|
|
486
|
+
return !n && x(
|
|
487
487
|
r,
|
|
488
488
|
"iterate",
|
|
489
|
-
_ ? Le :
|
|
489
|
+
_ ? Le : U
|
|
490
490
|
), {
|
|
491
491
|
// iterator protocol
|
|
492
492
|
next() {
|
|
@@ -508,8 +508,8 @@ function me(e) {
|
|
|
508
508
|
if (process.env.NODE_ENV !== "production") {
|
|
509
509
|
const t = n[0] ? `on key "${n[0]}" ` : "";
|
|
510
510
|
ee(
|
|
511
|
-
`${
|
|
512
|
-
|
|
511
|
+
`${qn(e)} operation ${t}failed: target is readonly.`,
|
|
512
|
+
j(this)
|
|
513
513
|
);
|
|
514
514
|
}
|
|
515
515
|
return e === "delete" ? !1 : e === "clear" ? void 0 : this;
|
|
@@ -518,9 +518,9 @@ function me(e) {
|
|
|
518
518
|
function ft(e, n) {
|
|
519
519
|
const t = {
|
|
520
520
|
get(o) {
|
|
521
|
-
const r = this.__v_raw, c =
|
|
522
|
-
e || (Z(o, g) &&
|
|
523
|
-
const { has: _ } = de(c), m = n ? Me : e ? Ke :
|
|
521
|
+
const r = this.__v_raw, c = j(r), g = j(o);
|
|
522
|
+
e || (Z(o, g) && x(c, "get", o), x(c, "get", g));
|
|
523
|
+
const { has: _ } = de(c), m = n ? Me : e ? Ke : T;
|
|
524
524
|
if (_.call(c, o))
|
|
525
525
|
return m(r.get(o));
|
|
526
526
|
if (_.call(c, g))
|
|
@@ -529,15 +529,15 @@ function ft(e, n) {
|
|
|
529
529
|
},
|
|
530
530
|
get size() {
|
|
531
531
|
const o = this.__v_raw;
|
|
532
|
-
return !e &&
|
|
532
|
+
return !e && x(j(o), "iterate", U), Reflect.get(o, "size", o);
|
|
533
533
|
},
|
|
534
534
|
has(o) {
|
|
535
|
-
const r = this.__v_raw, c =
|
|
536
|
-
return e || (Z(o, g) &&
|
|
535
|
+
const r = this.__v_raw, c = j(r), g = j(o);
|
|
536
|
+
return e || (Z(o, g) && x(c, "has", o), x(c, "has", g)), o === g ? r.has(o) : r.has(o) || r.has(g);
|
|
537
537
|
},
|
|
538
538
|
forEach(o, r) {
|
|
539
|
-
const c = this, g = c.__v_raw, _ =
|
|
540
|
-
return !e &&
|
|
539
|
+
const c = this, g = c.__v_raw, _ = j(g), m = n ? Me : e ? Ke : T;
|
|
540
|
+
return !e && x(_, "iterate", U), g.forEach((a, u) => o.call(r, m(a), m(u), c));
|
|
541
541
|
}
|
|
542
542
|
};
|
|
543
543
|
return Ve(
|
|
@@ -549,27 +549,27 @@ function ft(e, n) {
|
|
|
549
549
|
clear: me("clear")
|
|
550
550
|
} : {
|
|
551
551
|
add(o) {
|
|
552
|
-
!n && !L(o) && !ne(o) && (o =
|
|
553
|
-
const r =
|
|
552
|
+
!n && !L(o) && !ne(o) && (o = j(o));
|
|
553
|
+
const r = j(this);
|
|
554
554
|
return de(r).has.call(r, o) || (r.add(o), R(r, "add", o, o)), this;
|
|
555
555
|
},
|
|
556
556
|
set(o, r) {
|
|
557
|
-
!n && !L(r) && !ne(r) && (r =
|
|
558
|
-
const c =
|
|
557
|
+
!n && !L(r) && !ne(r) && (r = j(r));
|
|
558
|
+
const c = j(this), { has: g, get: _ } = de(c);
|
|
559
559
|
let m = g.call(c, o);
|
|
560
|
-
m ? process.env.NODE_ENV !== "production" && ln(c, g, o) : (o =
|
|
560
|
+
m ? process.env.NODE_ENV !== "production" && ln(c, g, o) : (o = j(o), m = g.call(c, o));
|
|
561
561
|
const a = _.call(c, o);
|
|
562
562
|
return c.set(o, r), m ? Z(r, a) && R(c, "set", o, r, a) : R(c, "add", o, r), this;
|
|
563
563
|
},
|
|
564
564
|
delete(o) {
|
|
565
|
-
const r =
|
|
565
|
+
const r = j(this), { has: c, get: g } = de(r);
|
|
566
566
|
let _ = c.call(r, o);
|
|
567
|
-
_ ? process.env.NODE_ENV !== "production" && ln(r, c, o) : (o =
|
|
567
|
+
_ ? process.env.NODE_ENV !== "production" && ln(r, c, o) : (o = j(o), _ = c.call(r, o));
|
|
568
568
|
const m = g ? g.call(r, o) : void 0, a = r.delete(o);
|
|
569
569
|
return _ && R(r, "delete", o, void 0, m), a;
|
|
570
570
|
},
|
|
571
571
|
clear() {
|
|
572
|
-
const o =
|
|
572
|
+
const o = j(this), r = o.size !== 0, c = process.env.NODE_ENV !== "production" ? oe(o) ? new Map(o) : new Set(o) : void 0, g = o.clear();
|
|
573
573
|
return r && R(
|
|
574
574
|
o,
|
|
575
575
|
"clear",
|
|
@@ -604,7 +604,7 @@ const ht = {
|
|
|
604
604
|
get: /* @__PURE__ */ nn(!0, !0)
|
|
605
605
|
};
|
|
606
606
|
function ln(e, n, t) {
|
|
607
|
-
const s =
|
|
607
|
+
const s = j(t);
|
|
608
608
|
if (s !== t && n.call(e, s)) {
|
|
609
609
|
const o = fn(e);
|
|
610
610
|
ee(
|
|
@@ -630,7 +630,7 @@ function Ct(e) {
|
|
|
630
630
|
function $t(e) {
|
|
631
631
|
return e.__v_skip || !Object.isExtensible(e) ? 0 : Ct(fn(e));
|
|
632
632
|
}
|
|
633
|
-
function
|
|
633
|
+
function Sn(e) {
|
|
634
634
|
return ne(e) ? e : tn(
|
|
635
635
|
e,
|
|
636
636
|
!1,
|
|
@@ -658,7 +658,7 @@ function he(e) {
|
|
|
658
658
|
);
|
|
659
659
|
}
|
|
660
660
|
function tn(e, n, t, s, o) {
|
|
661
|
-
if (!
|
|
661
|
+
if (!Se(e))
|
|
662
662
|
return process.env.NODE_ENV !== "production" && ee(
|
|
663
663
|
`value cannot be made ${n ? "readonly" : "reactive"}: ${String(
|
|
664
664
|
e
|
|
@@ -687,23 +687,23 @@ function L(e) {
|
|
|
687
687
|
function bt(e) {
|
|
688
688
|
return e ? !!e.__v_raw : !1;
|
|
689
689
|
}
|
|
690
|
-
function
|
|
690
|
+
function j(e) {
|
|
691
691
|
const n = e && e.__v_raw;
|
|
692
|
-
return n ?
|
|
692
|
+
return n ? j(n) : e;
|
|
693
693
|
}
|
|
694
|
-
const
|
|
695
|
-
function
|
|
694
|
+
const T = (e) => Se(e) ? Sn(e) : e, Ke = (e) => Se(e) ? ge(e) : e;
|
|
695
|
+
function Q(e) {
|
|
696
696
|
return e ? e.__v_isRef === !0 : !1;
|
|
697
697
|
}
|
|
698
698
|
function _e(e) {
|
|
699
699
|
return wt(e, !1);
|
|
700
700
|
}
|
|
701
701
|
function wt(e, n) {
|
|
702
|
-
return
|
|
702
|
+
return Q(e) ? e : new Nt(e, n);
|
|
703
703
|
}
|
|
704
704
|
class Nt {
|
|
705
705
|
constructor(n, t) {
|
|
706
|
-
this.dep = new
|
|
706
|
+
this.dep = new Xe(), this.__v_isRef = !0, this.__v_isShallow = !1, this._rawValue = t ? n : j(n), this._value = t ? n : T(n), this.__v_isShallow = t;
|
|
707
707
|
}
|
|
708
708
|
get value() {
|
|
709
709
|
return process.env.NODE_ENV !== "production" ? this.dep.track({
|
|
@@ -714,7 +714,7 @@ class Nt {
|
|
|
714
714
|
}
|
|
715
715
|
set value(n) {
|
|
716
716
|
const t = this._rawValue, s = this.__v_isShallow || L(n) || ne(n);
|
|
717
|
-
n = s ? n :
|
|
717
|
+
n = s ? n : j(n), Z(n, t) && (this._rawValue = n, this._value = s ? n : T(n), process.env.NODE_ENV !== "production" ? this.dep.trigger({
|
|
718
718
|
target: this,
|
|
719
719
|
type: "set",
|
|
720
720
|
key: "value",
|
|
@@ -725,7 +725,7 @@ class Nt {
|
|
|
725
725
|
}
|
|
726
726
|
class yt {
|
|
727
727
|
constructor(n, t, s) {
|
|
728
|
-
this.fn = n, this.setter = t, this._value = void 0, this.dep = new
|
|
728
|
+
this.fn = n, this.setter = t, this._value = void 0, this.dep = new Xe(this), this.__v_isRef = !0, this.deps = void 0, this.depsTail = void 0, this.flags = 16, this.globalVersion = ae - 1, this.next = void 0, this.effect = this, this.__v_isReadonly = !t, this.isSSR = s;
|
|
729
729
|
}
|
|
730
730
|
/**
|
|
731
731
|
* @internal
|
|
@@ -748,20 +748,20 @@ class yt {
|
|
|
748
748
|
this.setter ? this.setter(n) : process.env.NODE_ENV !== "production" && ee("Write operation failed: computed value is readonly");
|
|
749
749
|
}
|
|
750
750
|
}
|
|
751
|
-
function
|
|
751
|
+
function Ue(e, n, t = !1) {
|
|
752
752
|
let s, o;
|
|
753
|
-
|
|
753
|
+
Gn(e) ? s = e : (s = e.get, o = e.set);
|
|
754
754
|
const r = new yt(s, o, t);
|
|
755
755
|
return process.env.NODE_ENV, r;
|
|
756
756
|
}
|
|
757
757
|
const Et = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
|
|
758
|
-
let
|
|
758
|
+
let St = (e = 21) => {
|
|
759
759
|
let n = "", t = crypto.getRandomValues(new Uint8Array(e |= 0));
|
|
760
760
|
for (; e--; )
|
|
761
761
|
n += Et[t[e] & 63];
|
|
762
762
|
return n;
|
|
763
763
|
};
|
|
764
|
-
function
|
|
764
|
+
function jt(e, n = !0, t = !1) {
|
|
765
765
|
const s = _e();
|
|
766
766
|
let o;
|
|
767
767
|
const r = _e(!1);
|
|
@@ -811,12 +811,12 @@ function St(e, n = !0, t = !1) {
|
|
|
811
811
|
}),
|
|
812
812
|
callback: g,
|
|
813
813
|
onError: m,
|
|
814
|
-
resolved:
|
|
815
|
-
error:
|
|
814
|
+
resolved: Ue(() => r.value),
|
|
815
|
+
error: Ue(() => s.value)
|
|
816
816
|
};
|
|
817
817
|
}
|
|
818
|
-
function
|
|
819
|
-
return
|
|
818
|
+
function Be() {
|
|
819
|
+
return St();
|
|
820
820
|
}
|
|
821
821
|
function At() {
|
|
822
822
|
const e = {}, n = {}, t = /* @__PURE__ */ new WeakMap(), s = {};
|
|
@@ -839,7 +839,7 @@ function At() {
|
|
|
839
839
|
createSetupPlugin(o) {
|
|
840
840
|
let r;
|
|
841
841
|
return o instanceof Function ? r = o() : r = o, Object.freeze({
|
|
842
|
-
__id:
|
|
842
|
+
__id: Be(),
|
|
843
843
|
type: "Setup",
|
|
844
844
|
mount(c) {
|
|
845
845
|
if (c.isInitialized.value)
|
|
@@ -851,7 +851,7 @@ function At() {
|
|
|
851
851
|
createHotSwapPlugin(o) {
|
|
852
852
|
let r;
|
|
853
853
|
return o instanceof Function ? r = o() : r = o, Object.freeze({
|
|
854
|
-
__id:
|
|
854
|
+
__id: Be(),
|
|
855
855
|
type: "HotSwap",
|
|
856
856
|
mount: r.mount,
|
|
857
857
|
unmount: r.unmount
|
|
@@ -891,14 +891,14 @@ function It(e) {
|
|
|
891
891
|
return At();
|
|
892
892
|
}
|
|
893
893
|
function Ot(e) {
|
|
894
|
-
const n =
|
|
894
|
+
const n = Tt(e);
|
|
895
895
|
return he({
|
|
896
896
|
states: n.states,
|
|
897
897
|
commands: n.commands,
|
|
898
898
|
events: n.events
|
|
899
899
|
});
|
|
900
900
|
}
|
|
901
|
-
function
|
|
901
|
+
function Tt(e) {
|
|
902
902
|
const n = e.states;
|
|
903
903
|
for (const c of Object.keys(e.states))
|
|
904
904
|
n[c] = ge(n[c]);
|
|
@@ -912,13 +912,13 @@ function xt(e) {
|
|
|
912
912
|
destroy: e.destroy
|
|
913
913
|
});
|
|
914
914
|
}
|
|
915
|
-
function
|
|
915
|
+
function xt(e) {
|
|
916
916
|
const {
|
|
917
917
|
callback: n,
|
|
918
918
|
onError: t,
|
|
919
919
|
promise: s,
|
|
920
920
|
resolved: o
|
|
921
|
-
} =
|
|
921
|
+
} = jt(() => {
|
|
922
922
|
}, !1, 5e3);
|
|
923
923
|
function r(u) {
|
|
924
924
|
if (o.value === !0)
|
|
@@ -930,7 +930,7 @@ function Tt(e) {
|
|
|
930
930
|
Promise.resolve().then(u);
|
|
931
931
|
},
|
|
932
932
|
onBeforeInitialize: r,
|
|
933
|
-
isInitialized:
|
|
933
|
+
isInitialized: Ue(() => o.value),
|
|
934
934
|
untilInitialized: s
|
|
935
935
|
});
|
|
936
936
|
setTimeout(
|
|
@@ -943,7 +943,7 @@ function Tt(e) {
|
|
|
943
943
|
);
|
|
944
944
|
const _ = g.states || {}, m = g.commands || {}, a = g.events || {};
|
|
945
945
|
return {
|
|
946
|
-
__id:
|
|
946
|
+
__id: Be(),
|
|
947
947
|
type: "Singleton",
|
|
948
948
|
api: Ot({
|
|
949
949
|
states: _,
|
|
@@ -962,8 +962,8 @@ Stack : ${u.stack || "unkown"}`);
|
|
|
962
962
|
};
|
|
963
963
|
}
|
|
964
964
|
let fe;
|
|
965
|
-
function
|
|
966
|
-
return
|
|
965
|
+
function Dt(e) {
|
|
966
|
+
return xt(() => {
|
|
967
967
|
const n = _e(e), t = _e({});
|
|
968
968
|
let s = () => [], o = () => [], r = () => [], c = () => [], g = () => [], _ = () => [], m = () => [];
|
|
969
969
|
return {
|
|
@@ -1031,17 +1031,17 @@ function Ao(e) {
|
|
|
1031
1031
|
if (!fe) {
|
|
1032
1032
|
if (!e)
|
|
1033
1033
|
throw new Error("designer is required");
|
|
1034
|
-
fe =
|
|
1034
|
+
fe = Dt(e), pe.registerAgg(fe);
|
|
1035
1035
|
}
|
|
1036
1036
|
return fe.api;
|
|
1037
1037
|
}
|
|
1038
|
-
function
|
|
1038
|
+
function je(e) {
|
|
1039
1039
|
return e && e._attributes && e._attributes.rule === "Info";
|
|
1040
1040
|
}
|
|
1041
|
-
function
|
|
1041
|
+
function Pt(e) {
|
|
1042
1042
|
return e && e._attributes && e._attributes.rule === "Agg";
|
|
1043
1043
|
}
|
|
1044
|
-
function
|
|
1044
|
+
function Ft(e) {
|
|
1045
1045
|
return e && e._attributes && e._attributes.rule === "Command";
|
|
1046
1046
|
}
|
|
1047
1047
|
function kt(e) {
|
|
@@ -1053,32 +1053,32 @@ function Vt(e) {
|
|
|
1053
1053
|
function Rt(e) {
|
|
1054
1054
|
return e && e._attributes && e._attributes.rule === "ReadModel";
|
|
1055
1055
|
}
|
|
1056
|
-
const
|
|
1056
|
+
const ze = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {};
|
|
1057
1057
|
process.env.NODE_ENV !== "production" && Object.freeze([]);
|
|
1058
1058
|
const Ht = () => {
|
|
1059
1059
|
}, Lt = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // uppercase letter
|
|
1060
|
-
(e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), Ae = Object.assign,
|
|
1060
|
+
(e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), Ae = Object.assign, P = Array.isArray, J = (e) => typeof e == "function", M = (e) => typeof e == "string", Mt = (e) => typeof e == "symbol", B = (e) => e !== null && typeof e == "object";
|
|
1061
1061
|
let pn;
|
|
1062
1062
|
const Ie = () => pn || (pn = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
|
|
1063
1063
|
function on(e) {
|
|
1064
|
-
if (
|
|
1064
|
+
if (P(e)) {
|
|
1065
1065
|
const n = {};
|
|
1066
1066
|
for (let t = 0; t < e.length; t++) {
|
|
1067
|
-
const s = e[t], o = M(s) ?
|
|
1067
|
+
const s = e[t], o = M(s) ? zt(s) : on(s);
|
|
1068
1068
|
if (o)
|
|
1069
1069
|
for (const r in o)
|
|
1070
1070
|
n[r] = o[r];
|
|
1071
1071
|
}
|
|
1072
1072
|
return n;
|
|
1073
|
-
} else if (M(e) ||
|
|
1073
|
+
} else if (M(e) || B(e))
|
|
1074
1074
|
return e;
|
|
1075
1075
|
}
|
|
1076
|
-
const Kt = /;(?![^(]*\))/g,
|
|
1077
|
-
function
|
|
1076
|
+
const Kt = /;(?![^(]*\))/g, Ut = /:([^]+)/, Bt = /\/\*[^]*?\*\//g;
|
|
1077
|
+
function zt(e) {
|
|
1078
1078
|
const n = {};
|
|
1079
|
-
return e.replace(
|
|
1079
|
+
return e.replace(Bt, "").split(Kt).forEach((t) => {
|
|
1080
1080
|
if (t) {
|
|
1081
|
-
const s = t.split(
|
|
1081
|
+
const s = t.split(Ut);
|
|
1082
1082
|
s.length > 1 && (n[s[0].trim()] = s[1].trim());
|
|
1083
1083
|
}
|
|
1084
1084
|
}), n;
|
|
@@ -1087,12 +1087,12 @@ function sn(e) {
|
|
|
1087
1087
|
let n = "";
|
|
1088
1088
|
if (M(e))
|
|
1089
1089
|
n = e;
|
|
1090
|
-
else if (
|
|
1090
|
+
else if (P(e))
|
|
1091
1091
|
for (let t = 0; t < e.length; t++) {
|
|
1092
1092
|
const s = sn(e[t]);
|
|
1093
1093
|
s && (n += s + " ");
|
|
1094
1094
|
}
|
|
1095
|
-
else if (
|
|
1095
|
+
else if (B(e))
|
|
1096
1096
|
for (const t in e)
|
|
1097
1097
|
e[t] && (n += t + " ");
|
|
1098
1098
|
return n.trim();
|
|
@@ -1109,21 +1109,21 @@ Symbol(
|
|
|
1109
1109
|
new Set(
|
|
1110
1110
|
/* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((e) => e !== "arguments" && e !== "caller").map((e) => Symbol[e]).filter(Mt)
|
|
1111
1111
|
);
|
|
1112
|
-
function
|
|
1113
|
-
return
|
|
1112
|
+
function jn(e) {
|
|
1113
|
+
return Ge(e) ? jn(e.__v_raw) : !!(e && e.__v_isReactive);
|
|
1114
1114
|
}
|
|
1115
|
-
function
|
|
1115
|
+
function Ge(e) {
|
|
1116
1116
|
return !!(e && e.__v_isReadonly);
|
|
1117
1117
|
}
|
|
1118
|
-
function
|
|
1118
|
+
function xe(e) {
|
|
1119
1119
|
return !!(e && e.__v_isShallow);
|
|
1120
1120
|
}
|
|
1121
1121
|
function Je(e) {
|
|
1122
1122
|
return e ? !!e.__v_raw : !1;
|
|
1123
1123
|
}
|
|
1124
|
-
function
|
|
1124
|
+
function z(e) {
|
|
1125
1125
|
const n = e && e.__v_raw;
|
|
1126
|
-
return n ?
|
|
1126
|
+
return n ? z(n) : e;
|
|
1127
1127
|
}
|
|
1128
1128
|
function rn(e) {
|
|
1129
1129
|
return e ? e.__v_isRef === !0 : !1;
|
|
@@ -1133,18 +1133,18 @@ function rn(e) {
|
|
|
1133
1133
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
1134
1134
|
* @license MIT
|
|
1135
1135
|
**/
|
|
1136
|
-
const
|
|
1137
|
-
function
|
|
1138
|
-
|
|
1136
|
+
const G = [];
|
|
1137
|
+
function Gt(e) {
|
|
1138
|
+
G.push(e);
|
|
1139
1139
|
}
|
|
1140
1140
|
function Jt() {
|
|
1141
|
-
|
|
1141
|
+
G.pop();
|
|
1142
1142
|
}
|
|
1143
|
-
let
|
|
1143
|
+
let De = !1;
|
|
1144
1144
|
function ce(e, ...n) {
|
|
1145
|
-
if (
|
|
1146
|
-
|
|
1147
|
-
const t =
|
|
1145
|
+
if (De) return;
|
|
1146
|
+
De = !0;
|
|
1147
|
+
const t = G.length ? G[G.length - 1].component : null, s = t && t.appContext.config.warnHandler, o = Wt();
|
|
1148
1148
|
if (s)
|
|
1149
1149
|
an(
|
|
1150
1150
|
s,
|
|
@@ -1167,12 +1167,12 @@ function ce(e, ...n) {
|
|
|
1167
1167
|
else {
|
|
1168
1168
|
const r = [`[Vue warn]: ${e}`, ...n];
|
|
1169
1169
|
o.length && r.push(`
|
|
1170
|
-
`, ...
|
|
1170
|
+
`, ...Yt(o));
|
|
1171
1171
|
}
|
|
1172
|
-
|
|
1172
|
+
De = !1;
|
|
1173
1173
|
}
|
|
1174
1174
|
function Wt() {
|
|
1175
|
-
let e =
|
|
1175
|
+
let e = G[G.length - 1];
|
|
1176
1176
|
if (!e)
|
|
1177
1177
|
return [];
|
|
1178
1178
|
const n = [];
|
|
@@ -1187,14 +1187,14 @@ function Wt() {
|
|
|
1187
1187
|
}
|
|
1188
1188
|
return n;
|
|
1189
1189
|
}
|
|
1190
|
-
function
|
|
1190
|
+
function Yt(e) {
|
|
1191
1191
|
const n = [];
|
|
1192
1192
|
return e.forEach((t, s) => {
|
|
1193
1193
|
n.push(...s === 0 ? [] : [`
|
|
1194
|
-
`], ...
|
|
1194
|
+
`], ...qt(t));
|
|
1195
1195
|
}), n;
|
|
1196
1196
|
}
|
|
1197
|
-
function
|
|
1197
|
+
function qt({ vnode: e, recurseCount: n }) {
|
|
1198
1198
|
const t = n > 0 ? `... (${n} recursive calls)` : "", s = e.component ? e.component.parent == null : !1, o = ` at <${Mn(
|
|
1199
1199
|
e.component,
|
|
1200
1200
|
e.type,
|
|
@@ -1209,7 +1209,7 @@ function Zt(e) {
|
|
|
1209
1209
|
}), t.length > 3 && n.push(" ..."), n;
|
|
1210
1210
|
}
|
|
1211
1211
|
function An(e, n, t) {
|
|
1212
|
-
return M(n) ? (n = JSON.stringify(n), t ? n : [`${e}=${n}`]) : typeof n == "number" || typeof n == "boolean" || n == null ? t ? n : [`${e}=${n}`] : rn(n) ? (n = An(e,
|
|
1212
|
+
return M(n) ? (n = JSON.stringify(n), t ? n : [`${e}=${n}`]) : typeof n == "number" || typeof n == "boolean" || n == null ? t ? n : [`${e}=${n}`] : rn(n) ? (n = An(e, z(n.value), !0), t ? n : [`${e}=Ref<`, n, ">"]) : J(n) ? [`${e}=fn${n.name ? `<${n.name}>` : ""}`] : (n = z(n), t ? n : [`${e}=`, n]);
|
|
1213
1213
|
}
|
|
1214
1214
|
const In = {
|
|
1215
1215
|
sp: "serverPrefetch hook",
|
|
@@ -1252,7 +1252,7 @@ function an(e, n, t, s) {
|
|
|
1252
1252
|
}
|
|
1253
1253
|
}
|
|
1254
1254
|
function On(e, n, t, s = !0) {
|
|
1255
|
-
const o = n ? n.vnode : null, { errorHandler: r, throwUnhandledErrorInProduction: c } = n && n.appContext.config ||
|
|
1255
|
+
const o = n ? n.vnode : null, { errorHandler: r, throwUnhandledErrorInProduction: c } = n && n.appContext.config || ze;
|
|
1256
1256
|
if (n) {
|
|
1257
1257
|
let g = n.parent;
|
|
1258
1258
|
const _ = n.proxy, m = process.env.NODE_ENV !== "production" ? In[t] : `https://vuejs.org/error-reference/#runtime-${t}`;
|
|
@@ -1274,67 +1274,67 @@ function On(e, n, t, s = !0) {
|
|
|
1274
1274
|
return;
|
|
1275
1275
|
}
|
|
1276
1276
|
}
|
|
1277
|
-
|
|
1277
|
+
Qt(e, t, o, s, c);
|
|
1278
1278
|
}
|
|
1279
|
-
function
|
|
1279
|
+
function Qt(e, n, t, s = !0, o = !1) {
|
|
1280
1280
|
if (process.env.NODE_ENV !== "production") {
|
|
1281
1281
|
const r = In[n];
|
|
1282
|
-
if (t &&
|
|
1282
|
+
if (t && Gt(t), ce(`Unhandled error${r ? ` during execution of ${r}` : ""}`), t && Jt(), s)
|
|
1283
1283
|
throw e;
|
|
1284
1284
|
} else if (o)
|
|
1285
1285
|
throw e;
|
|
1286
1286
|
}
|
|
1287
|
-
const
|
|
1287
|
+
const D = [];
|
|
1288
1288
|
let k = -1;
|
|
1289
|
-
const
|
|
1290
|
-
let V = null,
|
|
1291
|
-
const
|
|
1289
|
+
const X = [];
|
|
1290
|
+
let V = null, Y = 0;
|
|
1291
|
+
const Xt = /* @__PURE__ */ Promise.resolve();
|
|
1292
1292
|
let We = null;
|
|
1293
1293
|
const eo = 100;
|
|
1294
1294
|
function no(e) {
|
|
1295
|
-
let n = k + 1, t =
|
|
1295
|
+
let n = k + 1, t = D.length;
|
|
1296
1296
|
for (; n < t; ) {
|
|
1297
|
-
const s = n + t >>> 1, o =
|
|
1297
|
+
const s = n + t >>> 1, o = D[s], r = ue(o);
|
|
1298
1298
|
r < e || r === e && o.flags & 2 ? n = s + 1 : t = s;
|
|
1299
1299
|
}
|
|
1300
1300
|
return n;
|
|
1301
1301
|
}
|
|
1302
1302
|
function to(e) {
|
|
1303
1303
|
if (!(e.flags & 1)) {
|
|
1304
|
-
const n = ue(e), t =
|
|
1304
|
+
const n = ue(e), t = D[D.length - 1];
|
|
1305
1305
|
!t || // fast path when the job id is larger than the tail
|
|
1306
|
-
!(e.flags & 2) && n >= ue(t) ?
|
|
1306
|
+
!(e.flags & 2) && n >= ue(t) ? D.push(e) : D.splice(no(n), 0, e), e.flags |= 1, Tn();
|
|
1307
1307
|
}
|
|
1308
1308
|
}
|
|
1309
|
-
function
|
|
1310
|
-
We || (We =
|
|
1309
|
+
function Tn() {
|
|
1310
|
+
We || (We = Xt.then(xn));
|
|
1311
1311
|
}
|
|
1312
1312
|
function oo(e) {
|
|
1313
|
-
|
|
1313
|
+
P(e) ? X.push(...e) : V && e.id === -1 ? V.splice(Y + 1, 0, e) : e.flags & 1 || (X.push(e), e.flags |= 1), Tn();
|
|
1314
1314
|
}
|
|
1315
1315
|
function so(e) {
|
|
1316
|
-
if (
|
|
1317
|
-
const n = [...new Set(
|
|
1316
|
+
if (X.length) {
|
|
1317
|
+
const n = [...new Set(X)].sort(
|
|
1318
1318
|
(t, s) => ue(t) - ue(s)
|
|
1319
1319
|
);
|
|
1320
|
-
if (
|
|
1320
|
+
if (X.length = 0, V) {
|
|
1321
1321
|
V.push(...n);
|
|
1322
1322
|
return;
|
|
1323
1323
|
}
|
|
1324
|
-
for (V = n, process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map()),
|
|
1325
|
-
const t = V[
|
|
1326
|
-
process.env.NODE_ENV !== "production" &&
|
|
1324
|
+
for (V = n, process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map()), Y = 0; Y < V.length; Y++) {
|
|
1325
|
+
const t = V[Y];
|
|
1326
|
+
process.env.NODE_ENV !== "production" && Dn(e, t) || (t.flags & 4 && (t.flags &= -2), t.flags & 8 || t(), t.flags &= -2);
|
|
1327
1327
|
}
|
|
1328
|
-
V = null,
|
|
1328
|
+
V = null, Y = 0;
|
|
1329
1329
|
}
|
|
1330
1330
|
}
|
|
1331
1331
|
const ue = (e) => e.id == null ? e.flags & 2 ? -1 : 1 / 0 : e.id;
|
|
1332
|
-
function
|
|
1332
|
+
function xn(e) {
|
|
1333
1333
|
process.env.NODE_ENV !== "production" && (e = e || /* @__PURE__ */ new Map());
|
|
1334
|
-
const n = process.env.NODE_ENV !== "production" ? (t) =>
|
|
1334
|
+
const n = process.env.NODE_ENV !== "production" ? (t) => Dn(e, t) : Ht;
|
|
1335
1335
|
try {
|
|
1336
|
-
for (k = 0; k <
|
|
1337
|
-
const t =
|
|
1336
|
+
for (k = 0; k < D.length; k++) {
|
|
1337
|
+
const t = D[k];
|
|
1338
1338
|
if (t && !(t.flags & 8)) {
|
|
1339
1339
|
if (process.env.NODE_ENV !== "production" && n(t))
|
|
1340
1340
|
continue;
|
|
@@ -1346,14 +1346,14 @@ function Tn(e) {
|
|
|
1346
1346
|
}
|
|
1347
1347
|
}
|
|
1348
1348
|
} finally {
|
|
1349
|
-
for (; k <
|
|
1350
|
-
const t =
|
|
1349
|
+
for (; k < D.length; k++) {
|
|
1350
|
+
const t = D[k];
|
|
1351
1351
|
t && (t.flags &= -2);
|
|
1352
1352
|
}
|
|
1353
|
-
k = -1,
|
|
1353
|
+
k = -1, D.length = 0, so(e), We = null, (D.length || X.length) && xn(e);
|
|
1354
1354
|
}
|
|
1355
1355
|
}
|
|
1356
|
-
function
|
|
1356
|
+
function Dn(e, n) {
|
|
1357
1357
|
const t = e.get(n) || 0;
|
|
1358
1358
|
if (t > eo) {
|
|
1359
1359
|
const s = n.i, o = s && Ln(s.type);
|
|
@@ -1365,11 +1365,11 @@ function Pn(e, n) {
|
|
|
1365
1365
|
}
|
|
1366
1366
|
return e.set(n, t + 1), !1;
|
|
1367
1367
|
}
|
|
1368
|
-
const
|
|
1368
|
+
const Pe = /* @__PURE__ */ new Map();
|
|
1369
1369
|
process.env.NODE_ENV !== "production" && (Ie().__VUE_HMR_RUNTIME__ = {
|
|
1370
|
-
createRecord:
|
|
1371
|
-
rerender:
|
|
1372
|
-
reload:
|
|
1370
|
+
createRecord: Fe(ro),
|
|
1371
|
+
rerender: Fe(ao),
|
|
1372
|
+
reload: Fe(io)
|
|
1373
1373
|
});
|
|
1374
1374
|
const Ce = /* @__PURE__ */ new Map();
|
|
1375
1375
|
function ro(e, n) {
|
|
@@ -1394,13 +1394,13 @@ function io(e, n) {
|
|
|
1394
1394
|
const s = [...t.instances];
|
|
1395
1395
|
for (let o = 0; o < s.length; o++) {
|
|
1396
1396
|
const r = s[o], c = $e(r.type);
|
|
1397
|
-
let g =
|
|
1398
|
-
g || (c !== t.initialDef && dn(c, n),
|
|
1397
|
+
let g = Pe.get(c);
|
|
1398
|
+
g || (c !== t.initialDef && dn(c, n), Pe.set(c, g = /* @__PURE__ */ new Set())), g.add(r), r.appContext.propsCache.delete(r.type), r.appContext.emitsCache.delete(r.type), r.appContext.optionsCache.delete(r.type), r.ceReload ? (g.add(r), r.ceReload(n.styles), g.delete(r)) : r.parent ? to(() => {
|
|
1399
1399
|
r.parent.update(), g.delete(r);
|
|
1400
1400
|
}) : r.appContext.reload ? r.appContext.reload() : typeof window < "u" && window.location.reload(), r.root.ce && r !== r.root && r.root.ce._removeChildStyle(c);
|
|
1401
1401
|
}
|
|
1402
1402
|
oo(() => {
|
|
1403
|
-
|
|
1403
|
+
Pe.clear();
|
|
1404
1404
|
});
|
|
1405
1405
|
}
|
|
1406
1406
|
function dn(e, n) {
|
|
@@ -1408,7 +1408,7 @@ function dn(e, n) {
|
|
|
1408
1408
|
for (const t in e)
|
|
1409
1409
|
t !== "__file" && !(t in n) && delete e[t];
|
|
1410
1410
|
}
|
|
1411
|
-
function
|
|
1411
|
+
function Fe(e) {
|
|
1412
1412
|
return (n, t) => {
|
|
1413
1413
|
try {
|
|
1414
1414
|
return e(n, t);
|
|
@@ -1418,14 +1418,14 @@ function De(e) {
|
|
|
1418
1418
|
}
|
|
1419
1419
|
let be = null, co = null;
|
|
1420
1420
|
const uo = (e) => e.__isTeleport;
|
|
1421
|
-
function
|
|
1422
|
-
e.shapeFlag & 6 && e.component ? (e.transition = n,
|
|
1421
|
+
function Pn(e, n) {
|
|
1422
|
+
e.shapeFlag & 6 && e.component ? (e.transition = n, Pn(e.component.subTree, n)) : e.shapeFlag & 128 ? (e.ssContent.transition = n.clone(e.ssContent), e.ssFallback.transition = n.clone(e.ssFallback)) : e.transition = n;
|
|
1423
1423
|
}
|
|
1424
1424
|
Ie().requestIdleCallback;
|
|
1425
1425
|
Ie().cancelIdleCallback;
|
|
1426
1426
|
const lo = Symbol.for("v-ndc");
|
|
1427
1427
|
process.env.NODE_ENV;
|
|
1428
|
-
const po = {},
|
|
1428
|
+
const po = {}, Fn = (e) => Object.getPrototypeOf(e) === po, mo = (e) => e.__isSuspense, kn = Symbol.for("v-fgt"), fo = Symbol.for("v-txt"), ho = Symbol.for("v-cmt");
|
|
1429
1429
|
function vo(e) {
|
|
1430
1430
|
return e ? e.__v_isVNode === !0 : !1;
|
|
1431
1431
|
}
|
|
@@ -1482,10 +1482,10 @@ function Rn(e, n = null, t = null, s = 0, o = null, r = !1) {
|
|
|
1482
1482
|
if (Kn(e) && (e = e.__vccOpts), n) {
|
|
1483
1483
|
n = $o(n);
|
|
1484
1484
|
let { class: g, style: _ } = n;
|
|
1485
|
-
g && !M(g) && (n.class = sn(g)),
|
|
1485
|
+
g && !M(g) && (n.class = sn(g)), B(_) && (Je(_) && !P(_) && (_ = Ae({}, _)), n.style = on(_));
|
|
1486
1486
|
}
|
|
1487
|
-
const c = M(e) ? 1 : mo(e) ? 128 : uo(e) ? 64 :
|
|
1488
|
-
return process.env.NODE_ENV !== "production" && c & 4 && Je(e) && (e =
|
|
1487
|
+
const c = M(e) ? 1 : mo(e) ? 128 : uo(e) ? 64 : B(e) ? 4 : J(e) ? 2 : 0;
|
|
1488
|
+
return process.env.NODE_ENV !== "production" && c & 4 && Je(e) && (e = z(e), ce(
|
|
1489
1489
|
"Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",
|
|
1490
1490
|
`
|
|
1491
1491
|
Component that was made reactive: `,
|
|
@@ -1502,7 +1502,7 @@ Component that was made reactive: `,
|
|
|
1502
1502
|
);
|
|
1503
1503
|
}
|
|
1504
1504
|
function $o(e) {
|
|
1505
|
-
return e ? Je(e) ||
|
|
1505
|
+
return e ? Je(e) || Fn(e) ? Ae({}, e) : e : null;
|
|
1506
1506
|
}
|
|
1507
1507
|
function we(e, n, t = !1, s = !1) {
|
|
1508
1508
|
const { props: o, ref: r, patchFlag: c, children: g, transition: _ } = e, m = n ? wo(o || {}, n) : o, a = {
|
|
@@ -1515,11 +1515,11 @@ function we(e, n, t = !1, s = !1) {
|
|
|
1515
1515
|
// #2078 in the case of <component :is="vnode" ref="extra"/>
|
|
1516
1516
|
// if the vnode itself already has a ref, cloneVNode will need to merge
|
|
1517
1517
|
// the refs so the single vnode can be set on multiple refs
|
|
1518
|
-
t && r ?
|
|
1518
|
+
t && r ? P(r) ? r.concat(ve(n)) : [r, ve(n)] : ve(n)
|
|
1519
1519
|
) : r,
|
|
1520
1520
|
scopeId: e.scopeId,
|
|
1521
1521
|
slotScopeIds: e.slotScopeIds,
|
|
1522
|
-
children: process.env.NODE_ENV !== "production" && c === -1 &&
|
|
1522
|
+
children: process.env.NODE_ENV !== "production" && c === -1 && P(g) ? g.map(Hn) : g,
|
|
1523
1523
|
target: e.target,
|
|
1524
1524
|
targetStart: e.targetStart,
|
|
1525
1525
|
targetAnchor: e.targetAnchor,
|
|
@@ -1548,14 +1548,14 @@ function we(e, n, t = !1, s = !1) {
|
|
|
1548
1548
|
ctx: e.ctx,
|
|
1549
1549
|
ce: e.ce
|
|
1550
1550
|
};
|
|
1551
|
-
return _ && s &&
|
|
1551
|
+
return _ && s && Pn(
|
|
1552
1552
|
a,
|
|
1553
1553
|
_.clone(a)
|
|
1554
1554
|
), a;
|
|
1555
1555
|
}
|
|
1556
1556
|
function Hn(e) {
|
|
1557
1557
|
const n = we(e);
|
|
1558
|
-
return
|
|
1558
|
+
return P(e.children) && (n.children = e.children.map(Hn)), n;
|
|
1559
1559
|
}
|
|
1560
1560
|
function bo(e = " ", n = 0) {
|
|
1561
1561
|
return Co(fo, null, e, n);
|
|
@@ -1565,7 +1565,7 @@ function cn(e, n) {
|
|
|
1565
1565
|
const { shapeFlag: s } = e;
|
|
1566
1566
|
if (n == null)
|
|
1567
1567
|
n = null;
|
|
1568
|
-
else if (
|
|
1568
|
+
else if (P(n))
|
|
1569
1569
|
t = 16;
|
|
1570
1570
|
else if (typeof n == "object")
|
|
1571
1571
|
if (s & 65) {
|
|
@@ -1573,7 +1573,7 @@ function cn(e, n) {
|
|
|
1573
1573
|
o && (o._c && (o._d = !1), cn(e, o()), o._c && (o._d = !0));
|
|
1574
1574
|
return;
|
|
1575
1575
|
} else
|
|
1576
|
-
t = 32, !n._ && !
|
|
1576
|
+
t = 32, !n._ && !Fn(n) && (n._ctx = be);
|
|
1577
1577
|
else J(n) ? (n = { default: n, _ctx: be }, t = 32) : (n = String(n), s & 64 ? (t = 16, n = [bo(n)]) : t = 8);
|
|
1578
1578
|
e.children = n, e.shapeFlag |= t;
|
|
1579
1579
|
}
|
|
@@ -1588,7 +1588,7 @@ function wo(...e) {
|
|
|
1588
1588
|
n.style = on([n.style, s.style]);
|
|
1589
1589
|
else if (Lt(o)) {
|
|
1590
1590
|
const r = n[o], c = s[o];
|
|
1591
|
-
c && r !== c && !(
|
|
1591
|
+
c && r !== c && !(P(r) && r.includes(c)) && (n[o] = r ? [].concat(r, c) : c);
|
|
1592
1592
|
} else o !== "" && (n[o] = s[o]);
|
|
1593
1593
|
}
|
|
1594
1594
|
return n;
|
|
@@ -1640,7 +1640,7 @@ function Eo() {
|
|
|
1640
1640
|
const e = { style: "color:#3ba776" }, n = { style: "color:#1677ff" }, t = { style: "color:#f5222d" }, s = { style: "color:#eb2f96" }, o = {
|
|
1641
1641
|
__vue_custom_formatter: !0,
|
|
1642
1642
|
header(u) {
|
|
1643
|
-
return
|
|
1643
|
+
return B(u) ? u.__isVue ? ["div", e, "VueInstance"] : rn(u) ? [
|
|
1644
1644
|
"div",
|
|
1645
1645
|
{},
|
|
1646
1646
|
["span", e, a(u)],
|
|
@@ -1648,17 +1648,17 @@ function Eo() {
|
|
|
1648
1648
|
// avoid debugger accessing value affecting behavior
|
|
1649
1649
|
g("_value" in u ? u._value : u),
|
|
1650
1650
|
">"
|
|
1651
|
-
] :
|
|
1651
|
+
] : jn(u) ? [
|
|
1652
1652
|
"div",
|
|
1653
1653
|
{},
|
|
1654
|
-
["span", e,
|
|
1654
|
+
["span", e, xe(u) ? "ShallowReactive" : "Reactive"],
|
|
1655
1655
|
"<",
|
|
1656
1656
|
g(u),
|
|
1657
|
-
`>${
|
|
1658
|
-
] :
|
|
1657
|
+
`>${Ge(u) ? " (readonly)" : ""}`
|
|
1658
|
+
] : Ge(u) ? [
|
|
1659
1659
|
"div",
|
|
1660
1660
|
{},
|
|
1661
|
-
["span", e,
|
|
1661
|
+
["span", e, xe(u) ? "ShallowReadonly" : "Readonly"],
|
|
1662
1662
|
"<",
|
|
1663
1663
|
g(u),
|
|
1664
1664
|
">"
|
|
@@ -1678,7 +1678,7 @@ function Eo() {
|
|
|
1678
1678
|
};
|
|
1679
1679
|
function r(u) {
|
|
1680
1680
|
const i = [];
|
|
1681
|
-
u.type.props && u.props && i.push(c("props",
|
|
1681
|
+
u.type.props && u.props && i.push(c("props", z(u.props))), u.setupState !== ze && i.push(c("setup", u.setupState)), u.data !== ze && i.push(c("data", z(u.data)));
|
|
1682
1682
|
const p = _(u, "computed");
|
|
1683
1683
|
p && i.push(c("computed", p));
|
|
1684
1684
|
const b = _(u, "inject");
|
|
@@ -1721,7 +1721,7 @@ function Eo() {
|
|
|
1721
1721
|
] : ["span", {}];
|
|
1722
1722
|
}
|
|
1723
1723
|
function g(u, i = !0) {
|
|
1724
|
-
return typeof u == "number" ? ["span", n, u] : typeof u == "string" ? ["span", t, JSON.stringify(u)] : typeof u == "boolean" ? ["span", s, u] :
|
|
1724
|
+
return typeof u == "number" ? ["span", n, u] : typeof u == "string" ? ["span", t, JSON.stringify(u)] : typeof u == "boolean" ? ["span", s, u] : B(u) ? ["object", { object: i ? z(u) : u }] : ["span", t, String(u)];
|
|
1725
1725
|
}
|
|
1726
1726
|
function _(u, i) {
|
|
1727
1727
|
const p = u.type;
|
|
@@ -1734,11 +1734,11 @@ function Eo() {
|
|
|
1734
1734
|
}
|
|
1735
1735
|
function m(u, i, p) {
|
|
1736
1736
|
const b = u[p];
|
|
1737
|
-
if (
|
|
1737
|
+
if (P(b) && b.includes(i) || B(b) && i in b || u.extends && m(u.extends, i, p) || u.mixins && u.mixins.some((C) => m(C, i, p)))
|
|
1738
1738
|
return !0;
|
|
1739
1739
|
}
|
|
1740
1740
|
function a(u) {
|
|
1741
|
-
return
|
|
1741
|
+
return xe(u) ? "ShallowRef" : u.effect ? "ComputedRef" : "Ref";
|
|
1742
1742
|
}
|
|
1743
1743
|
window.devtoolsFormatters ? window.devtoolsFormatters.push(o) : window.devtoolsFormatters = [o];
|
|
1744
1744
|
}
|
|
@@ -1750,14 +1750,14 @@ process.env.NODE_ENV;
|
|
|
1750
1750
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
1751
1751
|
* @license MIT
|
|
1752
1752
|
**/
|
|
1753
|
-
function
|
|
1753
|
+
function So() {
|
|
1754
1754
|
Eo();
|
|
1755
1755
|
}
|
|
1756
|
-
process.env.NODE_ENV !== "production" &&
|
|
1757
|
-
function
|
|
1758
|
-
return
|
|
1756
|
+
process.env.NODE_ENV !== "production" && So();
|
|
1757
|
+
function jo(e) {
|
|
1758
|
+
return Ft(e) || kt(e) || Pt(e) || Vt(e) || Rt(e);
|
|
1759
1759
|
}
|
|
1760
|
-
var
|
|
1760
|
+
var Un = /* @__PURE__ */ ((e) => (e.Java = "java", e.Kotlin = "kotlin", e.CSharp = "csharp", e.Go = "go", e))(Un || {});
|
|
1761
1761
|
class I {
|
|
1762
1762
|
imports = /* @__PURE__ */ new Set();
|
|
1763
1763
|
parentDir;
|
|
@@ -1803,7 +1803,9 @@ var Ne;
|
|
|
1803
1803
|
((e) => {
|
|
1804
1804
|
((n) => {
|
|
1805
1805
|
n.Lombok = "Lombok", n.LombokBuilder = "LombokBuilder", n.RecordValueObject = "RecordValueObject", n.CommandHandler = "CommandHandler", n.Jpa = "Jpa", n.Timezone = "Timezone", n.SpringFramework = "SpringFramework";
|
|
1806
|
-
})(e.JavaGeneratorAddition || (e.JavaGeneratorAddition = {}))
|
|
1806
|
+
})(e.JavaGeneratorAddition || (e.JavaGeneratorAddition = {})), ((n) => {
|
|
1807
|
+
n.TABLE = "TABLE", n.SEQUENCE = "SEQUENCE", n.IDENTITY = "IDENTITY", n.UUID = "UUID", n.AUTO = "AUTO";
|
|
1808
|
+
})(e.IdGenStrategy || (e.IdGenStrategy = {}));
|
|
1807
1809
|
})(Ne || (Ne = {}));
|
|
1808
1810
|
var ye;
|
|
1809
1811
|
((e) => {
|
|
@@ -1817,23 +1819,23 @@ var Ee;
|
|
|
1817
1819
|
n.Timezone = "Timezone", n.RecordStruct = "RecordStruct", n.PrimaryConstructor = "PrimaryConstructor", n.CommandHandlerInterface = "CommandHandlerInterface", n.AggInterface = "AggInterface";
|
|
1818
1820
|
})(e.CSharpGeneratorAddition || (e.CSharpGeneratorAddition = {}));
|
|
1819
1821
|
})(Ee || (Ee = {}));
|
|
1820
|
-
var
|
|
1822
|
+
var Ye;
|
|
1821
1823
|
((e) => {
|
|
1822
1824
|
((n) => {
|
|
1823
1825
|
n.SinglePackageEachDesigner = "SinglePackageEachDesigner";
|
|
1824
1826
|
})(e.GoGeneratorAddition || (e.GoGeneratorAddition = {}));
|
|
1825
|
-
})(
|
|
1827
|
+
})(Ye || (Ye = {}));
|
|
1826
1828
|
const Io = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1827
1829
|
__proto__: null,
|
|
1828
1830
|
CodeFile: I,
|
|
1829
|
-
Language:
|
|
1831
|
+
Language: Un,
|
|
1830
1832
|
get csharp() {
|
|
1831
1833
|
return Ee;
|
|
1832
1834
|
},
|
|
1833
1835
|
get go() {
|
|
1834
|
-
return
|
|
1836
|
+
return Ye;
|
|
1835
1837
|
},
|
|
1836
|
-
isStruct:
|
|
1838
|
+
isStruct: jo,
|
|
1837
1839
|
get java() {
|
|
1838
1840
|
return Ne;
|
|
1839
1841
|
},
|
|
@@ -1877,7 +1879,7 @@ var y;
|
|
|
1877
1879
|
}
|
|
1878
1880
|
e.upperFirst = _;
|
|
1879
1881
|
})(y || (y = {}));
|
|
1880
|
-
const
|
|
1882
|
+
const S = Ne.JavaGeneratorAddition, Oo = pe.createHotSwapPlugin(() => {
|
|
1881
1883
|
const e = "value", n = "command", t = "event";
|
|
1882
1884
|
function s(o) {
|
|
1883
1885
|
return y.stringToUpperCamel(o._attributes.name);
|
|
@@ -1907,14 +1909,14 @@ const j = Ne.JavaGeneratorAddition, Oo = pe.createHotSwapPlugin(() => {
|
|
|
1907
1909
|
}
|
|
1908
1910
|
function a(i, p) {
|
|
1909
1911
|
const b = r.value.additions, C = y.stringToLowerSnake(p._attributes.name).replace(/_/, " ");
|
|
1910
|
-
return /\b(time|timestamp|date|deadline|expire)\b/.test(C) ? b.has(
|
|
1912
|
+
return /\b(time|timestamp|date|deadline|expire)\b/.test(C) ? b.has(S.Timezone) ? (i.add("java.time.OffsetDateTime"), "OffsetDateTime") : (i.add("java.time.LocalDateTime"), "LocalDateTime") : /\b(enum|gender|sex|count|amount|num|number|flag|times)\b/.test(C) ? "Integer" : /\b(price)$/.test(C) ? (i.add("java.math.BigDecimal"), "BigDecimal") : /^(if|is)\b/.test(C) ? "Boolean" : je(p) && (p._attributes.type === "Id" || p._attributes.type === "Version" || /\b(id|identifier|ver|version)$/.test(C)) ? "Long" : "String";
|
|
1911
1913
|
}
|
|
1912
1914
|
o.commands._setInfoCodeProvider(
|
|
1913
1915
|
(i) => {
|
|
1914
1916
|
const p = /* @__PURE__ */ new Set();
|
|
1915
1917
|
p.add(r.value.nonNullAnnotation);
|
|
1916
1918
|
const b = r.value.nonNullAnnotation.split(".").pop(), C = s(i), h = r.value.additions, $ = [];
|
|
1917
|
-
return h.has(
|
|
1919
|
+
return h.has(S.RecordValueObject) ? (h.has(S.Jpa) && (p.add("javax.persistence.Embeddable"), $.push("@Embeddable")), $.push(`public record ${C}(@${b} ${a(p, i)} value) {`), $.push(` public ${C} {`), $.push(" // HACK check value"), $.push(" }"), $.push("}")) : h.has(S.Lombok) ? ($.push("@lombok.Getter"), h.has(S.Jpa) && (p.add("javax.persistence.Embeddable"), $.push("@Embeddable")), $.push(`public class ${C} {`), $.push(` private final ${a(p, i)} value;`), $.push(""), $.push(` public ${C} (@${b} ${a(p, i)} value) {`), $.push(" // HACK check value"), $.push(" this.value = value;"), $.push(" }"), $.push("}")) : (h.has(S.Jpa) && (p.add("javax.persistence.Embeddable"), $.push("@Embeddable")), $.push(`public class ${s(i)} {`), $.push(` private final ${a(p, i)} value;`), $.push(""), $.push(` public ${C} (@${b} ${a(p, i)} value) {`), $.push(" // HACK check value"), $.push(" this.value = value;"), $.push(" }"), $.push(""), $.push(` public ${a(p, i)} getValue() {`), $.push(" return this.value;"), $.push(" }"), $.push("}")), [
|
|
1918
1920
|
{
|
|
1919
1921
|
type: "Info",
|
|
1920
1922
|
imports: p,
|
|
@@ -1930,8 +1932,8 @@ const j = Ne.JavaGeneratorAddition, Oo = pe.createHotSwapPlugin(() => {
|
|
|
1930
1932
|
const h = /* @__PURE__ */ new Set();
|
|
1931
1933
|
h.add(r.value.nonNullAnnotation);
|
|
1932
1934
|
const $ = s(i), l = [], d = Object.values(i.inner);
|
|
1933
|
-
if (m(h, d), b.has(
|
|
1934
|
-
b.has(
|
|
1935
|
+
if (m(h, d), b.has(S.RecordValueObject)) {
|
|
1936
|
+
b.has(S.LombokBuilder) && l.push("@lombok.Builder(toBuilder = true)"), l.push(`public record ${$}(`);
|
|
1935
1937
|
const w = [];
|
|
1936
1938
|
for (const f of d) {
|
|
1937
1939
|
const v = s(f);
|
|
@@ -1945,8 +1947,8 @@ const j = Ne.JavaGeneratorAddition, Oo = pe.createHotSwapPlugin(() => {
|
|
|
1945
1947
|
}
|
|
1946
1948
|
l.push(w.join(`,
|
|
1947
1949
|
`)), l.push(") {"), l.push(` public ${$} {`), l.push(" // HACK check value"), l.push(" }"), l.push("}");
|
|
1948
|
-
} else if (b.has(
|
|
1949
|
-
l.push("@lombok.AllArgsConstructor"), l.push("@lombok.Getter"), b.has(
|
|
1950
|
+
} else if (b.has(S.Lombok)) {
|
|
1951
|
+
l.push("@lombok.AllArgsConstructor"), l.push("@lombok.Getter"), b.has(S.LombokBuilder) && l.push("@lombok.Builder(toBuilder = true)"), l.push(`public class ${$} {`);
|
|
1950
1952
|
for (const w of d) {
|
|
1951
1953
|
const f = s(w);
|
|
1952
1954
|
l.push(` @${C}`), l.push(
|
|
@@ -1985,13 +1987,13 @@ const j = Ne.JavaGeneratorAddition, Oo = pe.createHotSwapPlugin(() => {
|
|
|
1985
1987
|
`)
|
|
1986
1988
|
});
|
|
1987
1989
|
}
|
|
1988
|
-
if (!b.has(
|
|
1990
|
+
if (!b.has(S.CommandHandler))
|
|
1989
1991
|
return p;
|
|
1990
1992
|
{
|
|
1991
1993
|
const h = /* @__PURE__ */ new Set();
|
|
1992
1994
|
h.add(r.value.nonNullAnnotation);
|
|
1993
1995
|
const $ = s(i), l = [];
|
|
1994
|
-
b.has(
|
|
1996
|
+
b.has(S.SpringFramework) && (h.add("org.springframework.stereotype.Component"), l.push("@Component")), b.has(S.Lombok) && l.push("@lombok.RequiredArgsConstructor"), l.push(`public class ${$}Handler {`);
|
|
1995
1997
|
const d = [...o.states.designer.value._getContext().getAssociationMap()[i._attributes.__id]].filter(
|
|
1996
1998
|
(w) => w._attributes.rule === "Agg"
|
|
1997
1999
|
);
|
|
@@ -2012,8 +2014,8 @@ const j = Ne.JavaGeneratorAddition, Oo = pe.createHotSwapPlugin(() => {
|
|
|
2012
2014
|
const h = /* @__PURE__ */ new Set();
|
|
2013
2015
|
h.add(r.value.nonNullAnnotation);
|
|
2014
2016
|
const $ = s(i), l = [], d = Object.values(i.inner);
|
|
2015
|
-
if (m(h, d), b.has(
|
|
2016
|
-
b.has(
|
|
2017
|
+
if (m(h, d), b.has(S.RecordValueObject)) {
|
|
2018
|
+
b.has(S.LombokBuilder) && l.push("@lombok.Builder(toBuilder = true)"), l.push(`public record ${$}(`);
|
|
2017
2019
|
const w = [];
|
|
2018
2020
|
for (const f of d) {
|
|
2019
2021
|
const v = s(f);
|
|
@@ -2027,8 +2029,8 @@ const j = Ne.JavaGeneratorAddition, Oo = pe.createHotSwapPlugin(() => {
|
|
|
2027
2029
|
}
|
|
2028
2030
|
l.push(w.join(`,
|
|
2029
2031
|
`)), l.push(") {"), l.push(` public ${$} {`), l.push(" // HACK check value"), l.push(" }"), l.push("}");
|
|
2030
|
-
} else if (b.has(
|
|
2031
|
-
l.push("@lombok.AllArgsConstructor"), l.push("@lombok.Getter"), b.has(
|
|
2032
|
+
} else if (b.has(S.Lombok)) {
|
|
2033
|
+
l.push("@lombok.AllArgsConstructor"), l.push("@lombok.Getter"), b.has(S.LombokBuilder) && l.push("@lombok.Builder(toBuilder = true)"), l.push(`public class ${$} {`);
|
|
2032
2034
|
for (const w of d) {
|
|
2033
2035
|
const f = s(w);
|
|
2034
2036
|
l.push(` @${C}`), l.push(
|
|
@@ -2067,13 +2069,13 @@ const j = Ne.JavaGeneratorAddition, Oo = pe.createHotSwapPlugin(() => {
|
|
|
2067
2069
|
`)
|
|
2068
2070
|
});
|
|
2069
2071
|
}
|
|
2070
|
-
if (!b.has(
|
|
2072
|
+
if (!b.has(S.CommandHandler))
|
|
2071
2073
|
return p;
|
|
2072
2074
|
{
|
|
2073
2075
|
const h = /* @__PURE__ */ new Set();
|
|
2074
2076
|
h.add(r.value.nonNullAnnotation);
|
|
2075
2077
|
const $ = s(i), l = [];
|
|
2076
|
-
b.has(
|
|
2078
|
+
b.has(S.SpringFramework) && (h.add("org.springframework.stereotype.Component"), l.push("@Component")), b.has(S.Lombok) && l.push("@lombok.RequiredArgsConstructor"), l.push(`public class ${$}Handler {`);
|
|
2077
2079
|
const d = [...o.states.designer.value._getContext().getAssociationMap()[i._attributes.__id]].filter(
|
|
2078
2080
|
(w) => w._attributes.rule === "Agg"
|
|
2079
2081
|
);
|
|
@@ -2111,13 +2113,13 @@ const j = Ne.JavaGeneratorAddition, Oo = pe.createHotSwapPlugin(() => {
|
|
|
2111
2113
|
const l = /* @__PURE__ */ new Set();
|
|
2112
2114
|
l.add(r.value.nonNullAnnotation);
|
|
2113
2115
|
const d = [], w = Object.values(i.inner);
|
|
2114
|
-
if (m(l, w), p.has(
|
|
2116
|
+
if (m(l, w), p.has(S.Lombok)) {
|
|
2115
2117
|
d.push(
|
|
2116
|
-
p.has(
|
|
2117
|
-
), d.push("@lombok.Getter"), p.has(
|
|
2118
|
+
p.has(S.Jpa) ? "@lombok.NoArgsConstructor" : "@lombok.AllArgsConstructor"
|
|
2119
|
+
), d.push("@lombok.Getter"), p.has(S.Jpa) && (l.add("javax.persistence.Entity"), d.push("@Entity"), l.add("javax.persistence.Table"), d.push(`@Table(name = "${y.camelToLowerSnake(h)}")`)), d.push(`public class ${h}Impl implements ${h} {`);
|
|
2118
2120
|
for (const v of w) {
|
|
2119
2121
|
const N = s(v);
|
|
2120
|
-
d.push(` @${C}`), p.has(
|
|
2122
|
+
d.push(` @${C}`), p.has(S.Jpa) && (v._attributes.type === "Id" && (l.add("javax.persistence.Id"), d.push(` @GeneratedValue(strategy = GenerationType.${r.value.idGenStrategy})`), d.push(" @Id")), l.add("javax.persistence.AttributeOverride"), l.add("javax.persistence.Column"), d.push(
|
|
2121
2123
|
` @AttributeOverride(name = "value", column = @Column(name = "${y.camelToUpperSnake(
|
|
2122
2124
|
N
|
|
2123
2125
|
)}", unique = true))`
|
|
@@ -2134,10 +2136,10 @@ const j = Ne.JavaGeneratorAddition, Oo = pe.createHotSwapPlugin(() => {
|
|
|
2134
2136
|
}
|
|
2135
2137
|
d.push("}");
|
|
2136
2138
|
} else {
|
|
2137
|
-
p.has(
|
|
2139
|
+
p.has(S.Jpa) && (l.add("javax.persistence.Entity"), d.push("@Entity"), l.add("javax.persistence.Table"), d.push(`@Table(name = "${y.camelToLowerSnake(h)}")`)), d.push(`public class ${h}Impl implements ${h} {`);
|
|
2138
2140
|
for (const E of w) {
|
|
2139
2141
|
const O = s(E);
|
|
2140
|
-
d.push(` @${C}`), p.has(
|
|
2142
|
+
d.push(` @${C}`), p.has(S.Jpa) && (E._attributes.type === "Id" && (l.add("javax.persistence.Id"), d.push(` @GeneratedValue(strategy = GenerationType.${r.value.idGenStrategy})`), d.push(" @Id")), l.add("javax.persistence.AttributeOverride"), l.add("javax.persistence.Column"), d.push(
|
|
2141
2143
|
` @AttributeOverride(name = "value", column = @Column(name = "${y.camelToUpperSnake(
|
|
2142
2144
|
O
|
|
2143
2145
|
)}"))`
|
|
@@ -2146,7 +2148,7 @@ const j = Ne.JavaGeneratorAddition, Oo = pe.createHotSwapPlugin(() => {
|
|
|
2146
2148
|
d.push("");
|
|
2147
2149
|
const f = [], v = [];
|
|
2148
2150
|
for (const E of w) {
|
|
2149
|
-
if (p.has(
|
|
2151
|
+
if (p.has(S.Jpa))
|
|
2150
2152
|
break;
|
|
2151
2153
|
const O = s(E);
|
|
2152
2154
|
f.push(
|
|
@@ -2186,8 +2188,8 @@ const j = Ne.JavaGeneratorAddition, Oo = pe.createHotSwapPlugin(() => {
|
|
|
2186
2188
|
const p = /* @__PURE__ */ new Set();
|
|
2187
2189
|
p.add(r.value.nonNullAnnotation);
|
|
2188
2190
|
const b = r.value.nonNullAnnotation.split(".").pop(), C = r.value.additions, h = s(i), $ = [], l = Object.values(i.inner);
|
|
2189
|
-
if (m(p, l), C.has(
|
|
2190
|
-
C.has(
|
|
2191
|
+
if (m(p, l), C.has(S.RecordValueObject)) {
|
|
2192
|
+
C.has(S.LombokBuilder) && $.push("@lombok.Builder(toBuilder = true)"), $.push(`public record ${h}(`);
|
|
2191
2193
|
const d = [];
|
|
2192
2194
|
for (const w of l) {
|
|
2193
2195
|
const f = s(w);
|
|
@@ -2201,8 +2203,8 @@ const j = Ne.JavaGeneratorAddition, Oo = pe.createHotSwapPlugin(() => {
|
|
|
2201
2203
|
}
|
|
2202
2204
|
$.push(d.join(`,
|
|
2203
2205
|
`)), $.push(") {"), $.push(` public ${h} {`), $.push(" // HACK check value"), $.push(" }"), $.push("}");
|
|
2204
|
-
} else if (C.has(
|
|
2205
|
-
$.push("@lombok.AllArgsConstructor"), $.push("@lombok.Getter"), C.has(
|
|
2206
|
+
} else if (C.has(S.Lombok)) {
|
|
2207
|
+
$.push("@lombok.AllArgsConstructor"), $.push("@lombok.Getter"), C.has(S.LombokBuilder) && $.push("@lombok.Builder(toBuilder = true)"), $.push(`public class ${h} {`);
|
|
2206
2208
|
for (const d of l) {
|
|
2207
2209
|
const w = s(d);
|
|
2208
2210
|
$.push(` @${b}`), $.push(
|
|
@@ -2339,7 +2341,7 @@ const j = Ne.JavaGeneratorAddition, Oo = pe.createHotSwapPlugin(() => {
|
|
|
2339
2341
|
});
|
|
2340
2342
|
}
|
|
2341
2343
|
};
|
|
2342
|
-
}), ke = ye.KotlinGeneratorAddition,
|
|
2344
|
+
}), ke = ye.KotlinGeneratorAddition, To = pe.createHotSwapPlugin(() => ({
|
|
2343
2345
|
unmount({ api: e }) {
|
|
2344
2346
|
e.commands.clearCaches(), e.commands._setCommandCodeProvider(() => []), e.commands._setFacadeCommandCodeProvider(() => []), e.commands._setAggCodeProvider(() => []), e.commands._setEventCodeProvider(() => []), e.commands._setReadModelCodeProvider(() => []), e.commands._setCodeFileProvider(() => []), e.commands.setContext({});
|
|
2345
2347
|
},
|
|
@@ -2367,7 +2369,7 @@ const j = Ne.JavaGeneratorAddition, Oo = pe.createHotSwapPlugin(() => {
|
|
|
2367
2369
|
}
|
|
2368
2370
|
function _(m, a) {
|
|
2369
2371
|
const u = t.value.additions, i = y.stringToLowerSnake(a._attributes.name).replace(/_/, " ");
|
|
2370
|
-
return /\b(time|timestamp|date|deadline|expire)\b/.test(i) ? u.has(ke.Timezone) ? (m.add("java.time.OffsetDateTime"), "OffsetDateTime") : (m.add("java.time.LocalDateTime"), "LocalDateTime") : /\b(enum|gender|sex|count|amount|num|number|flag|times)\b/.test(i) ? "Integer" : /\b(price)$/.test(i) ? (m.add("java.math.BigDecimal"), "BigDecimal") : /^(if|is)\b/.test(i) ? "Boolean" :
|
|
2372
|
+
return /\b(time|timestamp|date|deadline|expire)\b/.test(i) ? u.has(ke.Timezone) ? (m.add("java.time.OffsetDateTime"), "OffsetDateTime") : (m.add("java.time.LocalDateTime"), "LocalDateTime") : /\b(enum|gender|sex|count|amount|num|number|flag|times)\b/.test(i) ? "Integer" : /\b(price)$/.test(i) ? (m.add("java.math.BigDecimal"), "BigDecimal") : /^(if|is)\b/.test(i) ? "Boolean" : je(a) && (a._attributes.type === "Id" || a._attributes.type === "Version") || /\b(id|identifier|ver|version)$/.test(i) ? "Long" : "String";
|
|
2371
2373
|
}
|
|
2372
2374
|
e.commands._setInfoCodeProvider(
|
|
2373
2375
|
(m) => {
|
|
@@ -2562,7 +2564,7 @@ const j = Ne.JavaGeneratorAddition, Oo = pe.createHotSwapPlugin(() => {
|
|
|
2562
2564
|
return m;
|
|
2563
2565
|
});
|
|
2564
2566
|
}
|
|
2565
|
-
})),
|
|
2567
|
+
})), xo = pe.createHotSwapPlugin(() => ({
|
|
2566
2568
|
unmount({ api: e }) {
|
|
2567
2569
|
e.commands.clearCaches(), e.commands._setCommandCodeProvider(() => []), e.commands._setFacadeCommandCodeProvider(() => []), e.commands._setAggCodeProvider(() => []), e.commands._setEventCodeProvider(() => []), e.commands._setReadModelCodeProvider(() => []), e.commands._setCodeFileProvider(() => []), e.commands.setContext({});
|
|
2568
2570
|
},
|
|
@@ -2582,7 +2584,7 @@ const j = Ne.JavaGeneratorAddition, Oo = pe.createHotSwapPlugin(() => {
|
|
|
2582
2584
|
}
|
|
2583
2585
|
function g(_, m) {
|
|
2584
2586
|
const a = y.stringToLowerSnake(m._attributes.name).replace(/_/, " ");
|
|
2585
|
-
return /\b(time|timestamp|date|deadline|expire)\b/.test(a) ? (_.add("time"), "time.Time") : /\b(enum|gender|sex|count|amount|num|number|flag|times)\b/.test(a) ? "int" : /\b(price)$/.test(a) ? "string" : /^(if|is)\b/.test(a) ? "bool" :
|
|
2587
|
+
return /\b(time|timestamp|date|deadline|expire)\b/.test(a) ? (_.add("time"), "time.Time") : /\b(enum|gender|sex|count|amount|num|number|flag|times)\b/.test(a) ? "int" : /\b(price)$/.test(a) ? "string" : /^(if|is)\b/.test(a) ? "bool" : je(m) && (m._attributes.type === "Id" || m._attributes.type === "Version" || /\b(id|identifier|ver|version)$/.test(a)) ? "int64" : "string";
|
|
2586
2588
|
}
|
|
2587
2589
|
e.commands._setInfoCodeProvider(
|
|
2588
2590
|
(_) => {
|
|
@@ -2755,7 +2757,7 @@ const j = Ne.JavaGeneratorAddition, Oo = pe.createHotSwapPlugin(() => {
|
|
|
2755
2757
|
`)), _.push(u), _.push(p), _;
|
|
2756
2758
|
});
|
|
2757
2759
|
}
|
|
2758
|
-
})), K = Ee.CSharpGeneratorAddition,
|
|
2760
|
+
})), K = Ee.CSharpGeneratorAddition, Do = pe.createHotSwapPlugin(() => {
|
|
2759
2761
|
const e = " ";
|
|
2760
2762
|
function n(t, s = 1) {
|
|
2761
2763
|
return t.split(`
|
|
@@ -2782,7 +2784,7 @@ const j = Ne.JavaGeneratorAddition, Oo = pe.createHotSwapPlugin(() => {
|
|
|
2782
2784
|
}
|
|
2783
2785
|
function m(a, u) {
|
|
2784
2786
|
const i = s.value.additions, p = y.stringToLowerSnake(u._attributes.name).replace(/_/, " ");
|
|
2785
|
-
return /\b(time|timestamp|date|deadline|expire)\b/.test(p) ? i.has(K.Timezone) ? "System.DateTimeOffset" : "System.DateTime" : /\b(enum|gender|sex|count|amount|num|number|flag|times)\b/.test(p) ? "int" : /\b(price)$/.test(p) ? "decimal" : /^(if|is)\b/.test(p) ? "bool" :
|
|
2787
|
+
return /\b(time|timestamp|date|deadline|expire)\b/.test(p) ? i.has(K.Timezone) ? "System.DateTimeOffset" : "System.DateTime" : /\b(enum|gender|sex|count|amount|num|number|flag|times)\b/.test(p) ? "int" : /\b(price)$/.test(p) ? "decimal" : /^(if|is)\b/.test(p) ? "bool" : je(u) && (u._attributes.type === "Id" || u._attributes.type === "Version" || /\b(id|identifier|ver|version)$/.test(p)) ? "long" : "string";
|
|
2786
2788
|
}
|
|
2787
2789
|
t.commands._setInfoCodeProvider(
|
|
2788
2790
|
(a) => {
|
|
@@ -3045,10 +3047,10 @@ const j = Ne.JavaGeneratorAddition, Oo = pe.createHotSwapPlugin(() => {
|
|
|
3045
3047
|
};
|
|
3046
3048
|
});
|
|
3047
3049
|
export {
|
|
3048
|
-
|
|
3049
|
-
|
|
3050
|
+
Do as GENERATOR_CSHARP_PLUGIN,
|
|
3051
|
+
xo as GENERATOR_GO_PLUGIN,
|
|
3050
3052
|
Oo as GENERATOR_JAVA_PLUGIN,
|
|
3051
|
-
|
|
3053
|
+
To as GENERATOR_KOTLIN_PLUGIN,
|
|
3052
3054
|
pe as GeneratorPliginHelper,
|
|
3053
3055
|
Io as define,
|
|
3054
3056
|
Ao as useGeneratorAgg
|