@ddd-tool/domain-designer-ui-component 0.1.0-beta.7 → 0.1.0-beta.8
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/index.js +119 -110
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -9650,7 +9650,7 @@ let __tla = (async () => {
|
|
|
9650
9650
|
t4 && (s3.name = t4);
|
|
9651
9651
|
return s3;
|
|
9652
9652
|
}(this._isDirected, e3, r3, t3);
|
|
9653
|
-
return e3 = d3.v, r3 = d3.w, Object.freeze(d3), this._edgeObjs[a3] = d3,
|
|
9653
|
+
return e3 = d3.v, r3 = d3.w, Object.freeze(d3), this._edgeObjs[a3] = d3, C2(this._preds[r3], e3), C2(this._sucs[e3], r3), this._in[r3][a3] = d3, this._out[e3][a3] = d3, this._edgeCount++, this;
|
|
9654
9654
|
}
|
|
9655
9655
|
edge(e3, r3, n3) {
|
|
9656
9656
|
var t3 = "object" == typeof e3 ? M2(this._isDirected, e3) : j2(this._isDirected, e3, r3, n3);
|
|
@@ -9689,7 +9689,7 @@ let __tla = (async () => {
|
|
|
9689
9689
|
}
|
|
9690
9690
|
class I extends x2 {
|
|
9691
9691
|
}
|
|
9692
|
-
function
|
|
9692
|
+
function C2(e3, r3) {
|
|
9693
9693
|
e3[r3] ? e3[r3]++ : e3[r3] = 1;
|
|
9694
9694
|
}
|
|
9695
9695
|
function O2(e3, r3) {
|
|
@@ -14015,17 +14015,17 @@ Stack : ${l2.stack || "unkown"}`);
|
|
|
14015
14015
|
function Ln(t2) {
|
|
14016
14016
|
return t2 && t2._attributes && t2._attributes.rule === "Info";
|
|
14017
14017
|
}
|
|
14018
|
-
const
|
|
14018
|
+
const Nt = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {};
|
|
14019
14019
|
process.env.NODE_ENV !== "production" && Object.freeze([]);
|
|
14020
14020
|
const Lt = () => {
|
|
14021
14021
|
}, Re = (t2) => t2.charCodeAt(0) === 111 && t2.charCodeAt(1) === 110 && (t2.charCodeAt(2) > 122 || t2.charCodeAt(2) < 97), B = Object.assign, y$1 = Array.isArray, $$1 = (t2) => typeof t2 == "function", x$1 = (t2) => typeof t2 == "string", Z$1 = (t2) => typeof t2 == "symbol", R$1 = (t2) => t2 !== null && typeof t2 == "object";
|
|
14022
14022
|
let $t;
|
|
14023
14023
|
const dt = () => $t || ($t = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
|
|
14024
|
-
function
|
|
14024
|
+
function Dt(t2) {
|
|
14025
14025
|
if (y$1(t2)) {
|
|
14026
14026
|
const e2 = {};
|
|
14027
14027
|
for (let n2 = 0; n2 < t2.length; n2++) {
|
|
14028
|
-
const s2 = t2[n2], r2 = x$1(s2) ? Me(s2) :
|
|
14028
|
+
const s2 = t2[n2], r2 = x$1(s2) ? Me(s2) : Dt(s2);
|
|
14029
14029
|
if (r2) for (const o2 in r2) e2[o2] = r2[o2];
|
|
14030
14030
|
}
|
|
14031
14031
|
return e2;
|
|
@@ -14041,11 +14041,11 @@ Stack : ${l2.stack || "unkown"}`);
|
|
|
14041
14041
|
}
|
|
14042
14042
|
}), e2;
|
|
14043
14043
|
}
|
|
14044
|
-
function
|
|
14044
|
+
function xt(t2) {
|
|
14045
14045
|
let e2 = "";
|
|
14046
14046
|
if (x$1(t2)) e2 = t2;
|
|
14047
14047
|
else if (y$1(t2)) for (let n2 = 0; n2 < t2.length; n2++) {
|
|
14048
|
-
const s2 =
|
|
14048
|
+
const s2 = xt(t2[n2]);
|
|
14049
14049
|
s2 && (e2 += s2 + " ");
|
|
14050
14050
|
}
|
|
14051
14051
|
else if (R$1(t2)) for (const n2 in t2) t2[n2] && (e2 += n2 + " ");
|
|
@@ -14061,7 +14061,7 @@ Stack : ${l2.stack || "unkown"}`);
|
|
|
14061
14061
|
function P$1(t2) {
|
|
14062
14062
|
return !!(t2 && t2.__v_isReadonly);
|
|
14063
14063
|
}
|
|
14064
|
-
function
|
|
14064
|
+
function C(t2) {
|
|
14065
14065
|
return !!(t2 && t2.__v_isShallow);
|
|
14066
14066
|
}
|
|
14067
14067
|
function ct(t2) {
|
|
@@ -14081,10 +14081,10 @@ Stack : ${l2.stack || "unkown"}`);
|
|
|
14081
14081
|
function en() {
|
|
14082
14082
|
k$1.pop();
|
|
14083
14083
|
}
|
|
14084
|
-
let
|
|
14084
|
+
let yt = false;
|
|
14085
14085
|
function W$1(t2, ...e2) {
|
|
14086
|
-
if (
|
|
14087
|
-
|
|
14086
|
+
if (yt) return;
|
|
14087
|
+
yt = true;
|
|
14088
14088
|
const n2 = k$1.length ? k$1[k$1.length - 1].component : null, s2 = n2 && n2.appContext.config.warnHandler, r2 = nn();
|
|
14089
14089
|
if (s2) Mt(s2, n2, 11, [
|
|
14090
14090
|
t2 + e2.map((o2) => {
|
|
@@ -14104,7 +14104,7 @@ Stack : ${l2.stack || "unkown"}`);
|
|
|
14104
14104
|
r2.length && o2.push(`
|
|
14105
14105
|
`, ...rn(r2));
|
|
14106
14106
|
}
|
|
14107
|
-
|
|
14107
|
+
yt = false;
|
|
14108
14108
|
}
|
|
14109
14109
|
function nn() {
|
|
14110
14110
|
let t2 = k$1[k$1.length - 1];
|
|
@@ -14203,21 +14203,21 @@ Stack : ${l2.stack || "unkown"}`);
|
|
|
14203
14203
|
}
|
|
14204
14204
|
}
|
|
14205
14205
|
function oe(t2, e2, n2, s2 = true) {
|
|
14206
|
-
const r2 = e2 ? e2.vnode : null, { errorHandler: o2, throwUnhandledErrorInProduction: c2 } = e2 && e2.appContext.config ||
|
|
14206
|
+
const r2 = e2 ? e2.vnode : null, { errorHandler: o2, throwUnhandledErrorInProduction: c2 } = e2 && e2.appContext.config || Nt;
|
|
14207
14207
|
if (e2) {
|
|
14208
14208
|
let i2 = e2.parent;
|
|
14209
|
-
const
|
|
14209
|
+
const f2 = e2.proxy, p2 = process.env.NODE_ENV !== "production" ? re[n2] : `https://vuejs.org/error-reference/#runtime-${n2}`;
|
|
14210
14210
|
for (; i2; ) {
|
|
14211
14211
|
const a2 = i2.ec;
|
|
14212
14212
|
if (a2) {
|
|
14213
|
-
for (let u2 = 0; u2 < a2.length; u2++) if (a2[u2](t2,
|
|
14213
|
+
for (let u2 = 0; u2 < a2.length; u2++) if (a2[u2](t2, f2, p2) === false) return;
|
|
14214
14214
|
}
|
|
14215
14215
|
i2 = i2.parent;
|
|
14216
14216
|
}
|
|
14217
14217
|
if (o2) {
|
|
14218
14218
|
Mt(o2, null, 10, [
|
|
14219
14219
|
t2,
|
|
14220
|
-
|
|
14220
|
+
f2,
|
|
14221
14221
|
p2
|
|
14222
14222
|
]);
|
|
14223
14223
|
return;
|
|
@@ -14236,7 +14236,7 @@ Stack : ${l2.stack || "unkown"}`);
|
|
|
14236
14236
|
const L = [];
|
|
14237
14237
|
let V$1 = null, K$1 = 0;
|
|
14238
14238
|
const un = Promise.resolve();
|
|
14239
|
-
let
|
|
14239
|
+
let Ct = null;
|
|
14240
14240
|
const an = 100;
|
|
14241
14241
|
function ln(t2) {
|
|
14242
14242
|
let e2 = D + 1, n2 = O$1.length;
|
|
@@ -14253,7 +14253,7 @@ Stack : ${l2.stack || "unkown"}`);
|
|
|
14253
14253
|
}
|
|
14254
14254
|
}
|
|
14255
14255
|
function se() {
|
|
14256
|
-
|
|
14256
|
+
Ct || (Ct = un.then(ie));
|
|
14257
14257
|
}
|
|
14258
14258
|
function dn(t2) {
|
|
14259
14259
|
y$1(t2) ? L.push(...t2) : V$1 && t2.id === -1 ? V$1.splice(K$1 + 1, 0, t2) : t2.flags & 1 || (L.push(t2), t2.flags |= 1), se();
|
|
@@ -14291,7 +14291,7 @@ Stack : ${l2.stack || "unkown"}`);
|
|
|
14291
14291
|
const n2 = O$1[D];
|
|
14292
14292
|
n2 && (n2.flags &= -2);
|
|
14293
14293
|
}
|
|
14294
|
-
D = -1, O$1.length = 0, _n(t2),
|
|
14294
|
+
D = -1, O$1.length = 0, _n(t2), Ct = null, (O$1.length || L.length) && ie(t2);
|
|
14295
14295
|
}
|
|
14296
14296
|
}
|
|
14297
14297
|
function ce(t2, e2) {
|
|
@@ -14302,11 +14302,11 @@ Stack : ${l2.stack || "unkown"}`);
|
|
|
14302
14302
|
}
|
|
14303
14303
|
return t2.set(e2, n2 + 1), false;
|
|
14304
14304
|
}
|
|
14305
|
-
const
|
|
14305
|
+
const Et = /* @__PURE__ */ new Map();
|
|
14306
14306
|
process.env.NODE_ENV !== "production" && (dt().__VUE_HMR_RUNTIME__ = {
|
|
14307
|
-
createRecord:
|
|
14308
|
-
rerender:
|
|
14309
|
-
reload:
|
|
14307
|
+
createRecord: wt(pn),
|
|
14308
|
+
rerender: wt(hn),
|
|
14309
|
+
reload: wt(gn)
|
|
14310
14310
|
});
|
|
14311
14311
|
const ut = /* @__PURE__ */ new Map();
|
|
14312
14312
|
function pn(t2, e2) {
|
|
@@ -14335,20 +14335,20 @@ Stack : ${l2.stack || "unkown"}`);
|
|
|
14335
14335
|
];
|
|
14336
14336
|
for (let r2 = 0; r2 < s2.length; r2++) {
|
|
14337
14337
|
const o2 = s2[r2], c2 = at(o2.type);
|
|
14338
|
-
let i2 =
|
|
14339
|
-
i2 || (c2 !== n2.initialDef && Ht(c2, e2),
|
|
14338
|
+
let i2 = Et.get(c2);
|
|
14339
|
+
i2 || (c2 !== n2.initialDef && Ht(c2, e2), Et.set(c2, i2 = /* @__PURE__ */ new Set())), i2.add(o2), o2.appContext.propsCache.delete(o2.type), o2.appContext.emitsCache.delete(o2.type), o2.appContext.optionsCache.delete(o2.type), o2.ceReload ? (i2.add(o2), o2.ceReload(e2.styles), i2.delete(o2)) : o2.parent ? fn(() => {
|
|
14340
14340
|
o2.parent.update(), i2.delete(o2);
|
|
14341
14341
|
}) : o2.appContext.reload ? o2.appContext.reload() : typeof window < "u" && window.location.reload(), o2.root.ce && o2 !== o2.root && o2.root.ce._removeChildStyle(c2);
|
|
14342
14342
|
}
|
|
14343
14343
|
dn(() => {
|
|
14344
|
-
|
|
14344
|
+
Et.clear();
|
|
14345
14345
|
});
|
|
14346
14346
|
}
|
|
14347
14347
|
function Ht(t2, e2) {
|
|
14348
14348
|
B(t2, e2);
|
|
14349
14349
|
for (const n2 in t2) n2 !== "__file" && !(n2 in e2) && delete t2[n2];
|
|
14350
14350
|
}
|
|
14351
|
-
function
|
|
14351
|
+
function wt(t2) {
|
|
14352
14352
|
return (e2, n2) => {
|
|
14353
14353
|
try {
|
|
14354
14354
|
return t2(e2, n2);
|
|
@@ -14376,7 +14376,7 @@ Stack : ${l2.stack || "unkown"}`);
|
|
|
14376
14376
|
f: !!n2
|
|
14377
14377
|
} : t2 : null);
|
|
14378
14378
|
function Rn(t2, e2 = null, n2 = null, s2 = 0, r2 = null, o2 = t2 === fe ? 0 : 1, c2 = false, i2 = false) {
|
|
14379
|
-
const
|
|
14379
|
+
const f2 = {
|
|
14380
14380
|
__v_isVNode: true,
|
|
14381
14381
|
__v_skip: true,
|
|
14382
14382
|
type: t2,
|
|
@@ -14405,28 +14405,28 @@ Stack : ${l2.stack || "unkown"}`);
|
|
|
14405
14405
|
appContext: null,
|
|
14406
14406
|
ctx: lt
|
|
14407
14407
|
};
|
|
14408
|
-
return i2 ? (Pt(
|
|
14408
|
+
return i2 ? (Pt(f2, n2), o2 & 128 && t2.normalize(f2)) : n2 && (f2.shapeFlag |= x$1(n2) ? 8 : 16), process.env.NODE_ENV !== "production" && f2.key !== f2.key && W$1("VNode created with invalid key (NaN). VNode type:", f2.type), f2;
|
|
14409
14409
|
}
|
|
14410
|
-
const
|
|
14410
|
+
const Cn = process.env.NODE_ENV !== "production" ? Tn : _e;
|
|
14411
14411
|
function _e(t2, e2 = null, n2 = null, s2 = 0, r2 = null, o2 = false) {
|
|
14412
14412
|
if ((!t2 || t2 === yn) && (process.env.NODE_ENV !== "production" && !t2 && W$1(`Invalid vnode type when creating vnode: ${t2}.`), t2 = Sn), On(t2)) {
|
|
14413
14413
|
const i2 = ft(t2, e2, true);
|
|
14414
14414
|
return n2 && Pt(i2, n2), i2.patchFlag = -2, i2;
|
|
14415
14415
|
}
|
|
14416
14416
|
if (be(t2) && (t2 = t2.__vccOpts), e2) {
|
|
14417
|
-
e2 =
|
|
14418
|
-
let { class: i2, style:
|
|
14419
|
-
i2 && !x$1(i2) && (e2.class =
|
|
14417
|
+
e2 = Fn(e2);
|
|
14418
|
+
let { class: i2, style: f2 } = e2;
|
|
14419
|
+
i2 && !x$1(i2) && (e2.class = xt(i2)), R$1(f2) && (ct(f2) && !y$1(f2) && (f2 = B({}, f2)), e2.style = Dt(f2));
|
|
14420
14420
|
}
|
|
14421
14421
|
const c2 = x$1(t2) ? 1 : Nn(t2) ? 128 : mn(t2) ? 64 : R$1(t2) ? 4 : $$1(t2) ? 2 : 0;
|
|
14422
14422
|
return process.env.NODE_ENV !== "production" && c2 & 4 && ct(t2) && (t2 = h(t2), W$1("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`.", `
|
|
14423
14423
|
Component that was made reactive: `, t2)), Rn(t2, e2, n2, s2, r2, c2, o2, true);
|
|
14424
14424
|
}
|
|
14425
|
-
function
|
|
14425
|
+
function Fn(t2) {
|
|
14426
14426
|
return t2 ? ct(t2) || le(t2) ? B({}, t2) : t2 : null;
|
|
14427
14427
|
}
|
|
14428
14428
|
function ft(t2, e2, n2 = false, s2 = false) {
|
|
14429
|
-
const { props: r2, ref: o2, patchFlag: c2, children: i2, transition:
|
|
14429
|
+
const { props: r2, ref: o2, patchFlag: c2, children: i2, transition: f2 } = t2, p2 = e2 ? xn(r2 || {}, e2) : r2, a2 = {
|
|
14430
14430
|
__v_isVNode: true,
|
|
14431
14431
|
__v_skip: true,
|
|
14432
14432
|
type: t2.type,
|
|
@@ -14449,7 +14449,7 @@ Component that was made reactive: `, t2)), Rn(t2, e2, n2, s2, r2, c2, o2, true);
|
|
|
14449
14449
|
dynamicChildren: t2.dynamicChildren,
|
|
14450
14450
|
appContext: t2.appContext,
|
|
14451
14451
|
dirs: t2.dirs,
|
|
14452
|
-
transition:
|
|
14452
|
+
transition: f2,
|
|
14453
14453
|
component: t2.component,
|
|
14454
14454
|
suspense: t2.suspense,
|
|
14455
14455
|
ssContent: t2.ssContent && ft(t2.ssContent),
|
|
@@ -14459,14 +14459,14 @@ Component that was made reactive: `, t2)), Rn(t2, e2, n2, s2, r2, c2, o2, true);
|
|
|
14459
14459
|
ctx: t2.ctx,
|
|
14460
14460
|
ce: t2.ce
|
|
14461
14461
|
};
|
|
14462
|
-
return
|
|
14462
|
+
return f2 && s2 && ae(a2, f2.clone(a2)), a2;
|
|
14463
14463
|
}
|
|
14464
14464
|
function pe(t2) {
|
|
14465
14465
|
const e2 = ft(t2);
|
|
14466
14466
|
return y$1(t2.children) && (e2.children = t2.children.map(pe)), e2;
|
|
14467
14467
|
}
|
|
14468
14468
|
function Dn(t2 = " ", e2 = 0) {
|
|
14469
|
-
return
|
|
14469
|
+
return Cn(vn, null, t2, e2);
|
|
14470
14470
|
}
|
|
14471
14471
|
function Pt(t2, e2) {
|
|
14472
14472
|
let n2 = 0;
|
|
@@ -14490,11 +14490,11 @@ Component that was made reactive: `, t2)), Rn(t2, e2, n2, s2, r2, c2, o2, true);
|
|
|
14490
14490
|
const e2 = {};
|
|
14491
14491
|
for (let n2 = 0; n2 < t2.length; n2++) {
|
|
14492
14492
|
const s2 = t2[n2];
|
|
14493
|
-
for (const r2 in s2) if (r2 === "class") e2.class !== s2.class && (e2.class =
|
|
14493
|
+
for (const r2 in s2) if (r2 === "class") e2.class !== s2.class && (e2.class = xt([
|
|
14494
14494
|
e2.class,
|
|
14495
14495
|
s2.class
|
|
14496
14496
|
]));
|
|
14497
|
-
else if (r2 === "style") e2.style =
|
|
14497
|
+
else if (r2 === "style") e2.style = Dt([
|
|
14498
14498
|
e2.style,
|
|
14499
14499
|
s2.style
|
|
14500
14500
|
]);
|
|
@@ -14549,44 +14549,53 @@ Component that was made reactive: `, t2)), Rn(t2, e2, n2, s2, r2, c2, o2, true);
|
|
|
14549
14549
|
}, r2 = {
|
|
14550
14550
|
__vue_custom_formatter: true,
|
|
14551
14551
|
header(u2) {
|
|
14552
|
-
|
|
14552
|
+
if (!R$1(u2)) return null;
|
|
14553
|
+
if (u2.__isVue) return [
|
|
14553
14554
|
"div",
|
|
14554
14555
|
t2,
|
|
14555
14556
|
"VueInstance"
|
|
14556
|
-
]
|
|
14557
|
-
|
|
14558
|
-
|
|
14559
|
-
[
|
|
14560
|
-
"
|
|
14561
|
-
|
|
14562
|
-
|
|
14563
|
-
|
|
14564
|
-
|
|
14565
|
-
|
|
14566
|
-
|
|
14567
|
-
|
|
14568
|
-
|
|
14569
|
-
|
|
14570
|
-
|
|
14571
|
-
|
|
14572
|
-
|
|
14573
|
-
|
|
14574
|
-
|
|
14575
|
-
|
|
14576
|
-
|
|
14577
|
-
|
|
14578
|
-
|
|
14579
|
-
|
|
14580
|
-
|
|
14581
|
-
|
|
14582
|
-
"
|
|
14583
|
-
|
|
14584
|
-
|
|
14585
|
-
|
|
14586
|
-
|
|
14587
|
-
|
|
14588
|
-
|
|
14589
|
-
|
|
14557
|
+
];
|
|
14558
|
+
if (M(u2)) {
|
|
14559
|
+
const l2 = u2.value;
|
|
14560
|
+
return [
|
|
14561
|
+
"div",
|
|
14562
|
+
{},
|
|
14563
|
+
[
|
|
14564
|
+
"span",
|
|
14565
|
+
t2,
|
|
14566
|
+
a2(u2)
|
|
14567
|
+
],
|
|
14568
|
+
"<",
|
|
14569
|
+
i2(l2),
|
|
14570
|
+
">"
|
|
14571
|
+
];
|
|
14572
|
+
} else {
|
|
14573
|
+
if (ee(u2)) return [
|
|
14574
|
+
"div",
|
|
14575
|
+
{},
|
|
14576
|
+
[
|
|
14577
|
+
"span",
|
|
14578
|
+
t2,
|
|
14579
|
+
C(u2) ? "ShallowReactive" : "Reactive"
|
|
14580
|
+
],
|
|
14581
|
+
"<",
|
|
14582
|
+
i2(u2),
|
|
14583
|
+
`>${P$1(u2) ? " (readonly)" : ""}`
|
|
14584
|
+
];
|
|
14585
|
+
if (P$1(u2)) return [
|
|
14586
|
+
"div",
|
|
14587
|
+
{},
|
|
14588
|
+
[
|
|
14589
|
+
"span",
|
|
14590
|
+
t2,
|
|
14591
|
+
C(u2) ? "ShallowReadonly" : "Readonly"
|
|
14592
|
+
],
|
|
14593
|
+
"<",
|
|
14594
|
+
i2(u2),
|
|
14595
|
+
">"
|
|
14596
|
+
];
|
|
14597
|
+
}
|
|
14598
|
+
return null;
|
|
14590
14599
|
},
|
|
14591
14600
|
hasBody(u2) {
|
|
14592
14601
|
return u2 && u2.__isVue;
|
|
@@ -14600,12 +14609,12 @@ Component that was made reactive: `, t2)), Rn(t2, e2, n2, s2, r2, c2, o2, true);
|
|
|
14600
14609
|
}
|
|
14601
14610
|
};
|
|
14602
14611
|
function o2(u2) {
|
|
14603
|
-
const
|
|
14604
|
-
u2.type.props && u2.props &&
|
|
14605
|
-
const d2 =
|
|
14606
|
-
d2 &&
|
|
14607
|
-
const g2 =
|
|
14608
|
-
return g2 &&
|
|
14612
|
+
const l2 = [];
|
|
14613
|
+
u2.type.props && u2.props && l2.push(c2("props", h(u2.props))), u2.setupState !== Nt && l2.push(c2("setup", u2.setupState)), u2.data !== Nt && l2.push(c2("data", h(u2.data)));
|
|
14614
|
+
const d2 = f2(u2, "computed");
|
|
14615
|
+
d2 && l2.push(c2("computed", d2));
|
|
14616
|
+
const g2 = f2(u2, "inject");
|
|
14617
|
+
return g2 && l2.push(c2("injected", g2)), l2.push([
|
|
14609
14618
|
"div",
|
|
14610
14619
|
{},
|
|
14611
14620
|
[
|
|
@@ -14621,10 +14630,10 @@ Component that was made reactive: `, t2)), Rn(t2, e2, n2, s2, r2, c2, o2, true);
|
|
|
14621
14630
|
object: u2
|
|
14622
14631
|
}
|
|
14623
14632
|
]
|
|
14624
|
-
]),
|
|
14633
|
+
]), l2;
|
|
14625
14634
|
}
|
|
14626
|
-
function c2(u2,
|
|
14627
|
-
return
|
|
14635
|
+
function c2(u2, l2) {
|
|
14636
|
+
return l2 = B({}, l2), Object.keys(l2).length ? [
|
|
14628
14637
|
"div",
|
|
14629
14638
|
{
|
|
14630
14639
|
style: "line-height:1.25em;margin-bottom:0.6em"
|
|
@@ -14641,7 +14650,7 @@ Component that was made reactive: `, t2)), Rn(t2, e2, n2, s2, r2, c2, o2, true);
|
|
|
14641
14650
|
{
|
|
14642
14651
|
style: "padding-left:1.25em"
|
|
14643
14652
|
},
|
|
14644
|
-
...Object.keys(
|
|
14653
|
+
...Object.keys(l2).map((d2) => [
|
|
14645
14654
|
"div",
|
|
14646
14655
|
{},
|
|
14647
14656
|
[
|
|
@@ -14649,7 +14658,7 @@ Component that was made reactive: `, t2)), Rn(t2, e2, n2, s2, r2, c2, o2, true);
|
|
|
14649
14658
|
s2,
|
|
14650
14659
|
d2 + ": "
|
|
14651
14660
|
],
|
|
14652
|
-
i2(
|
|
14661
|
+
i2(l2[d2], false)
|
|
14653
14662
|
])
|
|
14654
14663
|
]
|
|
14655
14664
|
] : [
|
|
@@ -14657,7 +14666,7 @@ Component that was made reactive: `, t2)), Rn(t2, e2, n2, s2, r2, c2, o2, true);
|
|
|
14657
14666
|
{}
|
|
14658
14667
|
];
|
|
14659
14668
|
}
|
|
14660
|
-
function i2(u2,
|
|
14669
|
+
function i2(u2, l2 = true) {
|
|
14661
14670
|
return typeof u2 == "number" ? [
|
|
14662
14671
|
"span",
|
|
14663
14672
|
e2,
|
|
@@ -14673,7 +14682,7 @@ Component that was made reactive: `, t2)), Rn(t2, e2, n2, s2, r2, c2, o2, true);
|
|
|
14673
14682
|
] : R$1(u2) ? [
|
|
14674
14683
|
"object",
|
|
14675
14684
|
{
|
|
14676
|
-
object:
|
|
14685
|
+
object: l2 ? h(u2) : u2
|
|
14677
14686
|
}
|
|
14678
14687
|
] : [
|
|
14679
14688
|
"span",
|
|
@@ -14681,19 +14690,19 @@ Component that was made reactive: `, t2)), Rn(t2, e2, n2, s2, r2, c2, o2, true);
|
|
|
14681
14690
|
String(u2)
|
|
14682
14691
|
];
|
|
14683
14692
|
}
|
|
14684
|
-
function
|
|
14693
|
+
function f2(u2, l2) {
|
|
14685
14694
|
const d2 = u2.type;
|
|
14686
14695
|
if ($$1(d2)) return;
|
|
14687
14696
|
const g2 = {};
|
|
14688
|
-
for (const b2 in u2.ctx) p2(d2, b2,
|
|
14697
|
+
for (const b2 in u2.ctx) p2(d2, b2, l2) && (g2[b2] = u2.ctx[b2]);
|
|
14689
14698
|
return g2;
|
|
14690
14699
|
}
|
|
14691
|
-
function p2(u2,
|
|
14700
|
+
function p2(u2, l2, d2) {
|
|
14692
14701
|
const g2 = u2[d2];
|
|
14693
|
-
if (y$1(g2) && g2.includes(
|
|
14702
|
+
if (y$1(g2) && g2.includes(l2) || R$1(g2) && l2 in g2 || u2.extends && p2(u2.extends, l2, d2) || u2.mixins && u2.mixins.some((b2) => p2(b2, l2, d2))) return true;
|
|
14694
14703
|
}
|
|
14695
14704
|
function a2(u2) {
|
|
14696
|
-
return
|
|
14705
|
+
return C(u2) ? "ShallowRef" : u2.effect ? "ComputedRef" : "Ref";
|
|
14697
14706
|
}
|
|
14698
14707
|
window.devtoolsFormatters ? window.devtoolsFormatters.push(r2) : window.devtoolsFormatters = [
|
|
14699
14708
|
r2
|
|
@@ -25870,7 +25879,7 @@ Component that was made reactive: `, t2)), Rn(t2, e2, n2, s2, r2, c2, o2, true);
|
|
|
25870
25879
|
else if (typeof atob == "function") {
|
|
25871
25880
|
const E = atob(B2);
|
|
25872
25881
|
Q = new Uint8Array(E.length);
|
|
25873
|
-
for (let
|
|
25882
|
+
for (let C2 = 0; C2 < E.length; C2++) Q[C2] = E.charCodeAt(C2);
|
|
25874
25883
|
} else throw new Error("Cannot decode base64-encoded data URL");
|
|
25875
25884
|
g2 = await WebAssembly.instantiate(Q, A);
|
|
25876
25885
|
} else {
|
|
@@ -25909,18 +25918,18 @@ Component that was made reactive: `, t2)), Rn(t2, e2, n2, s2, r2, c2, o2, true);
|
|
|
25909
25918
|
}
|
|
25910
25919
|
let B2 = A.length, Q = I(B2, 1) >>> 0;
|
|
25911
25920
|
const E = F();
|
|
25912
|
-
let
|
|
25913
|
-
for (;
|
|
25914
|
-
const D2 = A.charCodeAt(
|
|
25921
|
+
let C2 = 0;
|
|
25922
|
+
for (; C2 < B2; C2++) {
|
|
25923
|
+
const D2 = A.charCodeAt(C2);
|
|
25915
25924
|
if (D2 > 127) break;
|
|
25916
|
-
E[Q +
|
|
25925
|
+
E[Q + C2] = D2;
|
|
25917
25926
|
}
|
|
25918
|
-
if (
|
|
25919
|
-
|
|
25920
|
-
const D2 = F().subarray(Q +
|
|
25921
|
-
|
|
25927
|
+
if (C2 !== B2) {
|
|
25928
|
+
C2 !== 0 && (A = A.slice(C2)), Q = g2(Q, B2, B2 = C2 + A.length * 3, 1) >>> 0;
|
|
25929
|
+
const D2 = F().subarray(Q + C2, Q + B2), w2 = Z(A, D2);
|
|
25930
|
+
C2 += w2.written, Q = g2(Q, B2, C2, 1) >>> 0;
|
|
25922
25931
|
}
|
|
25923
|
-
return c =
|
|
25932
|
+
return c = C2, Q;
|
|
25924
25933
|
}
|
|
25925
25934
|
function R(A) {
|
|
25926
25935
|
return A == null;
|
|
@@ -25951,8 +25960,8 @@ Component that was made reactive: `, t2)), Rn(t2, e2, n2, s2, r2, c2, o2, true);
|
|
|
25951
25960
|
return c = A.length, g2;
|
|
25952
25961
|
}
|
|
25953
25962
|
function K(A, I, g2) {
|
|
25954
|
-
const B2 = S(A, o.__wbindgen_malloc), Q = c, E = S(I, o.__wbindgen_malloc),
|
|
25955
|
-
return o.match_table(B2, Q, E,
|
|
25963
|
+
const B2 = S(A, o.__wbindgen_malloc), Q = c, E = S(I, o.__wbindgen_malloc), C2 = c;
|
|
25964
|
+
return o.match_table(B2, Q, E, C2, !R(g2), R(g2) ? 0 : g2);
|
|
25956
25965
|
}
|
|
25957
25966
|
function _() {
|
|
25958
25967
|
return new Object();
|
|
@@ -26021,15 +26030,15 @@ Component that was made reactive: `, t2)), Rn(t2, e2, n2, s2, r2, c2, o2, true);
|
|
|
26021
26030
|
const Q = A._getContext().getUserStories()[I];
|
|
26022
26031
|
if (!Q) return {};
|
|
26023
26032
|
const E = g2 || {};
|
|
26024
|
-
for (const
|
|
26033
|
+
for (const C2 of Q) return Object.assign(E, wA(A, C2, E));
|
|
26025
26034
|
return E;
|
|
26026
26035
|
}
|
|
26027
26036
|
function wA(A, I, g2) {
|
|
26028
26037
|
const B2 = A._getContext(), Q = g2 || {};
|
|
26029
|
-
let E = "",
|
|
26038
|
+
let E = "", C2 = 0;
|
|
26030
26039
|
for (const D2 of Object.values(B2.getWorkflows()[I])) {
|
|
26031
|
-
if (
|
|
26032
|
-
E = D2,
|
|
26040
|
+
if (C2 === 0) {
|
|
26041
|
+
E = D2, C2++;
|
|
26033
26042
|
continue;
|
|
26034
26043
|
}
|
|
26035
26044
|
const w2 = B2.getIdMap()[E], s2 = B2.getIdMap()[D2];
|
|
@@ -26051,7 +26060,7 @@ Component that was made reactive: `, t2)), Rn(t2, e2, n2, s2, r2, c2, o2, true);
|
|
|
26051
26060
|
type: "warning",
|
|
26052
26061
|
message: `<${w2._attributes.name}>\u4E2D\u7684\`${i2.source}\`\u4E0E<${s2._attributes.name}>\u4E2D\u7684\`${i2.target}\`\u76F8\u4F3C\u5EA6\u8FC7\u9AD8\uFF0C\u5EFA\u8BAE\u68C0\u67E5\u662F\u5426\u6709\u8BEF\uFF08\u76F8\u4F3C\u5EA6 ${i2.score * 100}%\uFF09`
|
|
26053
26062
|
});
|
|
26054
|
-
Q[`${E},${D2}`] = e2, E = D2,
|
|
26063
|
+
Q[`${E},${D2}`] = e2, E = D2, C2++;
|
|
26055
26064
|
}
|
|
26056
26065
|
return Q;
|
|
26057
26066
|
}
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ddd-tool/domain-designer-ui-component",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.8",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@ddd-tool/domain-designer-core": "0.1.0-beta.
|
|
7
|
+
"@ddd-tool/domain-designer-core": "0.1.0-beta.10",
|
|
8
8
|
"@primeuix/themes": "^1.1.1",
|
|
9
9
|
"nomnoml": "^1.7.0",
|
|
10
10
|
"primeicons": "^7.0.0",
|