@ddd-tool/domain-designer-cli 0.1.0-beta.10 → 0.1.0-beta.11

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.
@@ -26,9 +26,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
26
26
  mod
27
27
  ));
28
28
 
29
- // node_modules/.pnpm/@vue+shared@3.5.13/node_modules/@vue/shared/dist/shared.cjs.prod.js
29
+ // node_modules/.pnpm/@vue+shared@3.5.14/node_modules/@vue/shared/dist/shared.cjs.prod.js
30
30
  var require_shared_cjs_prod = __commonJS({
31
- "node_modules/.pnpm/@vue+shared@3.5.13/node_modules/@vue/shared/dist/shared.cjs.prod.js"(exports2) {
31
+ "node_modules/.pnpm/@vue+shared@3.5.14/node_modules/@vue/shared/dist/shared.cjs.prod.js"(exports2) {
32
32
  "use strict";
33
33
  Object.defineProperty(exports2, "__esModule", { value: true });
34
34
  // @__NO_SIDE_EFFECTS__
@@ -605,9 +605,9 @@ var require_shared_cjs_prod = __commonJS({
605
605
  }
606
606
  });
607
607
 
608
- // node_modules/.pnpm/@vue+shared@3.5.13/node_modules/@vue/shared/dist/shared.cjs.js
608
+ // node_modules/.pnpm/@vue+shared@3.5.14/node_modules/@vue/shared/dist/shared.cjs.js
609
609
  var require_shared_cjs = __commonJS({
610
- "node_modules/.pnpm/@vue+shared@3.5.13/node_modules/@vue/shared/dist/shared.cjs.js"(exports2) {
610
+ "node_modules/.pnpm/@vue+shared@3.5.14/node_modules/@vue/shared/dist/shared.cjs.js"(exports2) {
611
611
  "use strict";
612
612
  Object.defineProperty(exports2, "__esModule", { value: true });
613
613
  // @__NO_SIDE_EFFECTS__
@@ -1184,9 +1184,9 @@ var require_shared_cjs = __commonJS({
1184
1184
  }
1185
1185
  });
1186
1186
 
1187
- // node_modules/.pnpm/@vue+shared@3.5.13/node_modules/@vue/shared/index.js
1187
+ // node_modules/.pnpm/@vue+shared@3.5.14/node_modules/@vue/shared/index.js
1188
1188
  var require_shared = __commonJS({
1189
- "node_modules/.pnpm/@vue+shared@3.5.13/node_modules/@vue/shared/index.js"(exports2, module2) {
1189
+ "node_modules/.pnpm/@vue+shared@3.5.14/node_modules/@vue/shared/index.js"(exports2, module2) {
1190
1190
  "use strict";
1191
1191
  if (process.env.NODE_ENV === "production") {
1192
1192
  module2.exports = require_shared_cjs_prod();
@@ -1196,9 +1196,9 @@ var require_shared = __commonJS({
1196
1196
  }
1197
1197
  });
1198
1198
 
1199
- // node_modules/.pnpm/@vue+reactivity@3.5.13/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js
1199
+ // node_modules/.pnpm/@vue+reactivity@3.5.14/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js
1200
1200
  var require_reactivity_cjs_prod = __commonJS({
1201
- "node_modules/.pnpm/@vue+reactivity@3.5.13/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js"(exports2) {
1201
+ "node_modules/.pnpm/@vue+reactivity@3.5.14/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js"(exports2) {
1202
1202
  "use strict";
1203
1203
  Object.defineProperty(exports2, "__esModule", { value: true });
1204
1204
  var shared = require_shared();
@@ -1207,6 +1207,7 @@ var require_reactivity_cjs_prod = __commonJS({
1207
1207
  constructor(detached = false) {
1208
1208
  this.detached = detached;
1209
1209
  this._active = true;
1210
+ this._on = 0;
1210
1211
  this.effects = [];
1211
1212
  this.cleanups = [];
1212
1213
  this._isPaused = false;
@@ -1269,14 +1270,20 @@ var require_reactivity_cjs_prod = __commonJS({
1269
1270
  * @internal
1270
1271
  */
1271
1272
  on() {
1272
- activeEffectScope = this;
1273
+ if (++this._on === 1) {
1274
+ this.prevScope = activeEffectScope;
1275
+ activeEffectScope = this;
1276
+ }
1273
1277
  }
1274
1278
  /**
1275
1279
  * This should only be called on non-detached scopes
1276
1280
  * @internal
1277
1281
  */
1278
1282
  off() {
1279
- activeEffectScope = this.parent;
1283
+ if (this._on > 0 && --this._on === 0) {
1284
+ activeEffectScope = this.prevScope;
1285
+ this.prevScope = void 0;
1286
+ }
1280
1287
  }
1281
1288
  stop(fromParent) {
1282
1289
  if (this._active) {
@@ -1333,7 +1340,9 @@ var require_reactivity_cjs_prod = __commonJS({
1333
1340
  "ALLOW_RECURSE": 32,
1334
1341
  "32": "ALLOW_RECURSE",
1335
1342
  "PAUSED": 64,
1336
- "64": "PAUSED"
1343
+ "64": "PAUSED",
1344
+ "EVALUATED": 128,
1345
+ "128": "EVALUATED"
1337
1346
  };
1338
1347
  var pausedQueueEffects = /* @__PURE__ */ new WeakSet();
1339
1348
  var ReactiveEffect = class {
@@ -1354,7 +1363,7 @@ var require_reactivity_cjs_prod = __commonJS({
1354
1363
  }
1355
1364
  resume() {
1356
1365
  if (this.flags & 64) {
1357
- this.flags &= ~64;
1366
+ this.flags &= -65;
1358
1367
  if (pausedQueueEffects.has(this)) {
1359
1368
  pausedQueueEffects.delete(this);
1360
1369
  this.trigger();
@@ -1389,7 +1398,7 @@ var require_reactivity_cjs_prod = __commonJS({
1389
1398
  cleanupDeps(this);
1390
1399
  activeSub = prevEffect;
1391
1400
  shouldTrack = prevShouldTrack;
1392
- this.flags &= ~2;
1401
+ this.flags &= -3;
1393
1402
  }
1394
1403
  }
1395
1404
  stop() {
@@ -1400,7 +1409,7 @@ var require_reactivity_cjs_prod = __commonJS({
1400
1409
  this.deps = this.depsTail = void 0;
1401
1410
  cleanupEffect(this);
1402
1411
  this.onStop && this.onStop();
1403
- this.flags &= ~1;
1412
+ this.flags &= -2;
1404
1413
  }
1405
1414
  }
1406
1415
  trigger() {
@@ -1450,7 +1459,7 @@ var require_reactivity_cjs_prod = __commonJS({
1450
1459
  while (e) {
1451
1460
  const next = e.next;
1452
1461
  e.next = void 0;
1453
- e.flags &= ~8;
1462
+ e.flags &= -9;
1454
1463
  e = next;
1455
1464
  }
1456
1465
  }
@@ -1461,7 +1470,7 @@ var require_reactivity_cjs_prod = __commonJS({
1461
1470
  while (e) {
1462
1471
  const next = e.next;
1463
1472
  e.next = void 0;
1464
- e.flags &= ~8;
1473
+ e.flags &= -9;
1465
1474
  if (e.flags & 1) {
1466
1475
  try {
1467
1476
  ;
@@ -1517,17 +1526,16 @@ var require_reactivity_cjs_prod = __commonJS({
1517
1526
  if (computed2.flags & 4 && !(computed2.flags & 16)) {
1518
1527
  return;
1519
1528
  }
1520
- computed2.flags &= ~16;
1529
+ computed2.flags &= -17;
1521
1530
  if (computed2.globalVersion === globalVersion) {
1522
1531
  return;
1523
1532
  }
1524
1533
  computed2.globalVersion = globalVersion;
1525
- const dep = computed2.dep;
1526
- computed2.flags |= 2;
1527
- if (dep.version > 0 && !computed2.isSSR && computed2.deps && !isDirty(computed2)) {
1528
- computed2.flags &= ~2;
1534
+ if (!computed2.isSSR && computed2.flags & 128 && (!computed2.deps && !computed2._dirty || !isDirty(computed2))) {
1529
1535
  return;
1530
1536
  }
1537
+ computed2.flags |= 2;
1538
+ const dep = computed2.dep;
1531
1539
  const prevSub = activeSub;
1532
1540
  const prevShouldTrack = shouldTrack;
1533
1541
  activeSub = computed2;
@@ -1536,6 +1544,7 @@ var require_reactivity_cjs_prod = __commonJS({
1536
1544
  prepareDeps(computed2);
1537
1545
  const value = computed2.fn(computed2._value);
1538
1546
  if (dep.version === 0 || shared.hasChanged(value, computed2._value)) {
1547
+ computed2.flags |= 128;
1539
1548
  computed2._value = value;
1540
1549
  dep.version++;
1541
1550
  }
@@ -1546,7 +1555,7 @@ var require_reactivity_cjs_prod = __commonJS({
1546
1555
  activeSub = prevSub;
1547
1556
  shouldTrack = prevShouldTrack;
1548
1557
  cleanupDeps(computed2);
1549
- computed2.flags &= ~2;
1558
+ computed2.flags &= -3;
1550
1559
  }
1551
1560
  }
1552
1561
  function removeSub(link, soft = false) {
@@ -1562,7 +1571,7 @@ var require_reactivity_cjs_prod = __commonJS({
1562
1571
  if (dep.subs === link) {
1563
1572
  dep.subs = prevSub;
1564
1573
  if (!prevSub && dep.computed) {
1565
- dep.computed.flags &= ~4;
1574
+ dep.computed.flags &= -5;
1566
1575
  for (let l2 = dep.computed.deps; l2; l2 = l2.nextDep) {
1567
1576
  removeSub(l2, true);
1568
1577
  }
@@ -2406,14 +2415,14 @@ var require_reactivity_cjs_prod = __commonJS({
2406
2415
  if (target["__v_raw"] && !(isReadonly2 && target["__v_isReactive"])) {
2407
2416
  return target;
2408
2417
  }
2409
- const existingProxy = proxyMap.get(target);
2410
- if (existingProxy) {
2411
- return existingProxy;
2412
- }
2413
2418
  const targetType = getTargetType(target);
2414
2419
  if (targetType === 0) {
2415
2420
  return target;
2416
2421
  }
2422
+ const existingProxy = proxyMap.get(target);
2423
+ if (existingProxy) {
2424
+ return existingProxy;
2425
+ }
2417
2426
  const proxy = new Proxy(
2418
2427
  target,
2419
2428
  targetType === 2 ? collectionHandlers : baseHandlers
@@ -2910,9 +2919,9 @@ var require_reactivity_cjs_prod = __commonJS({
2910
2919
  }
2911
2920
  });
2912
2921
 
2913
- // node_modules/.pnpm/@vue+reactivity@3.5.13/node_modules/@vue/reactivity/dist/reactivity.cjs.js
2922
+ // node_modules/.pnpm/@vue+reactivity@3.5.14/node_modules/@vue/reactivity/dist/reactivity.cjs.js
2914
2923
  var require_reactivity_cjs = __commonJS({
2915
- "node_modules/.pnpm/@vue+reactivity@3.5.13/node_modules/@vue/reactivity/dist/reactivity.cjs.js"(exports2) {
2924
+ "node_modules/.pnpm/@vue+reactivity@3.5.14/node_modules/@vue/reactivity/dist/reactivity.cjs.js"(exports2) {
2916
2925
  "use strict";
2917
2926
  Object.defineProperty(exports2, "__esModule", { value: true });
2918
2927
  var shared = require_shared();
@@ -2924,6 +2933,7 @@ var require_reactivity_cjs = __commonJS({
2924
2933
  constructor(detached = false) {
2925
2934
  this.detached = detached;
2926
2935
  this._active = true;
2936
+ this._on = 0;
2927
2937
  this.effects = [];
2928
2938
  this.cleanups = [];
2929
2939
  this._isPaused = false;
@@ -2988,14 +2998,20 @@ var require_reactivity_cjs = __commonJS({
2988
2998
  * @internal
2989
2999
  */
2990
3000
  on() {
2991
- activeEffectScope = this;
3001
+ if (++this._on === 1) {
3002
+ this.prevScope = activeEffectScope;
3003
+ activeEffectScope = this;
3004
+ }
2992
3005
  }
2993
3006
  /**
2994
3007
  * This should only be called on non-detached scopes
2995
3008
  * @internal
2996
3009
  */
2997
3010
  off() {
2998
- activeEffectScope = this.parent;
3011
+ if (this._on > 0 && --this._on === 0) {
3012
+ activeEffectScope = this.prevScope;
3013
+ this.prevScope = void 0;
3014
+ }
2999
3015
  }
3000
3016
  stop(fromParent) {
3001
3017
  if (this._active) {
@@ -3056,7 +3072,9 @@ var require_reactivity_cjs = __commonJS({
3056
3072
  "ALLOW_RECURSE": 32,
3057
3073
  "32": "ALLOW_RECURSE",
3058
3074
  "PAUSED": 64,
3059
- "64": "PAUSED"
3075
+ "64": "PAUSED",
3076
+ "EVALUATED": 128,
3077
+ "128": "EVALUATED"
3060
3078
  };
3061
3079
  var pausedQueueEffects = /* @__PURE__ */ new WeakSet();
3062
3080
  var ReactiveEffect = class {
@@ -3077,7 +3095,7 @@ var require_reactivity_cjs = __commonJS({
3077
3095
  }
3078
3096
  resume() {
3079
3097
  if (this.flags & 64) {
3080
- this.flags &= ~64;
3098
+ this.flags &= -65;
3081
3099
  if (pausedQueueEffects.has(this)) {
3082
3100
  pausedQueueEffects.delete(this);
3083
3101
  this.trigger();
@@ -3117,7 +3135,7 @@ var require_reactivity_cjs = __commonJS({
3117
3135
  cleanupDeps(this);
3118
3136
  activeSub = prevEffect;
3119
3137
  shouldTrack = prevShouldTrack;
3120
- this.flags &= ~2;
3138
+ this.flags &= -3;
3121
3139
  }
3122
3140
  }
3123
3141
  stop() {
@@ -3128,7 +3146,7 @@ var require_reactivity_cjs = __commonJS({
3128
3146
  this.deps = this.depsTail = void 0;
3129
3147
  cleanupEffect(this);
3130
3148
  this.onStop && this.onStop();
3131
- this.flags &= ~1;
3149
+ this.flags &= -2;
3132
3150
  }
3133
3151
  }
3134
3152
  trigger() {
@@ -3178,7 +3196,7 @@ var require_reactivity_cjs = __commonJS({
3178
3196
  while (e) {
3179
3197
  const next = e.next;
3180
3198
  e.next = void 0;
3181
- e.flags &= ~8;
3199
+ e.flags &= -9;
3182
3200
  e = next;
3183
3201
  }
3184
3202
  }
@@ -3189,7 +3207,7 @@ var require_reactivity_cjs = __commonJS({
3189
3207
  while (e) {
3190
3208
  const next = e.next;
3191
3209
  e.next = void 0;
3192
- e.flags &= ~8;
3210
+ e.flags &= -9;
3193
3211
  if (e.flags & 1) {
3194
3212
  try {
3195
3213
  ;
@@ -3245,17 +3263,16 @@ var require_reactivity_cjs = __commonJS({
3245
3263
  if (computed2.flags & 4 && !(computed2.flags & 16)) {
3246
3264
  return;
3247
3265
  }
3248
- computed2.flags &= ~16;
3266
+ computed2.flags &= -17;
3249
3267
  if (computed2.globalVersion === globalVersion) {
3250
3268
  return;
3251
3269
  }
3252
3270
  computed2.globalVersion = globalVersion;
3253
- const dep = computed2.dep;
3254
- computed2.flags |= 2;
3255
- if (dep.version > 0 && !computed2.isSSR && computed2.deps && !isDirty(computed2)) {
3256
- computed2.flags &= ~2;
3271
+ if (!computed2.isSSR && computed2.flags & 128 && (!computed2.deps && !computed2._dirty || !isDirty(computed2))) {
3257
3272
  return;
3258
3273
  }
3274
+ computed2.flags |= 2;
3275
+ const dep = computed2.dep;
3259
3276
  const prevSub = activeSub;
3260
3277
  const prevShouldTrack = shouldTrack;
3261
3278
  activeSub = computed2;
@@ -3264,6 +3281,7 @@ var require_reactivity_cjs = __commonJS({
3264
3281
  prepareDeps(computed2);
3265
3282
  const value = computed2.fn(computed2._value);
3266
3283
  if (dep.version === 0 || shared.hasChanged(value, computed2._value)) {
3284
+ computed2.flags |= 128;
3267
3285
  computed2._value = value;
3268
3286
  dep.version++;
3269
3287
  }
@@ -3274,7 +3292,7 @@ var require_reactivity_cjs = __commonJS({
3274
3292
  activeSub = prevSub;
3275
3293
  shouldTrack = prevShouldTrack;
3276
3294
  cleanupDeps(computed2);
3277
- computed2.flags &= ~2;
3295
+ computed2.flags &= -3;
3278
3296
  }
3279
3297
  }
3280
3298
  function removeSub(link, soft = false) {
@@ -3293,7 +3311,7 @@ var require_reactivity_cjs = __commonJS({
3293
3311
  if (dep.subs === link) {
3294
3312
  dep.subs = prevSub;
3295
3313
  if (!prevSub && dep.computed) {
3296
- dep.computed.flags &= ~4;
3314
+ dep.computed.flags &= -5;
3297
3315
  for (let l2 = dep.computed.deps; l2; l2 = l2.nextDep) {
3298
3316
  removeSub(l2, true);
3299
3317
  }
@@ -4222,14 +4240,14 @@ var require_reactivity_cjs = __commonJS({
4222
4240
  if (target["__v_raw"] && !(isReadonly2 && target["__v_isReactive"])) {
4223
4241
  return target;
4224
4242
  }
4225
- const existingProxy = proxyMap.get(target);
4226
- if (existingProxy) {
4227
- return existingProxy;
4228
- }
4229
4243
  const targetType = getTargetType(target);
4230
4244
  if (targetType === 0) {
4231
4245
  return target;
4232
4246
  }
4247
+ const existingProxy = proxyMap.get(target);
4248
+ if (existingProxy) {
4249
+ return existingProxy;
4250
+ }
4233
4251
  const proxy = new Proxy(
4234
4252
  target,
4235
4253
  targetType === 2 ? collectionHandlers : baseHandlers
@@ -4772,9 +4790,9 @@ var require_reactivity_cjs = __commonJS({
4772
4790
  }
4773
4791
  });
4774
4792
 
4775
- // node_modules/.pnpm/@vue+reactivity@3.5.13/node_modules/@vue/reactivity/index.js
4793
+ // node_modules/.pnpm/@vue+reactivity@3.5.14/node_modules/@vue/reactivity/index.js
4776
4794
  var require_reactivity = __commonJS({
4777
- "node_modules/.pnpm/@vue+reactivity@3.5.13/node_modules/@vue/reactivity/index.js"(exports2, module2) {
4795
+ "node_modules/.pnpm/@vue+reactivity@3.5.14/node_modules/@vue/reactivity/index.js"(exports2, module2) {
4778
4796
  "use strict";
4779
4797
  if (process.env.NODE_ENV === "production") {
4780
4798
  module2.exports = require_reactivity_cjs_prod();
@@ -13213,10 +13231,10 @@ function toString(...args) {
13213
13231
  // src/domain/i18n-agg/index.ts
13214
13232
  var import_reactivity2 = __toESM(require_reactivity(), 1);
13215
13233
 
13216
- // node_modules/.pnpm/vue-fn@0.1.0-beta.1_@vue+re_4ca1cd6871b8a9d3850126940100dd32/node_modules/vue-fn/domain-server/index.mjs
13234
+ // node_modules/.pnpm/vue-fn@0.1.0-beta.1_@vue+re_6c6f2c418066476e32047d51b707ca14/node_modules/vue-fn/domain-server/index.mjs
13217
13235
  var import_reactivity = __toESM(require_reactivity(), 1);
13218
13236
 
13219
- // node_modules/.pnpm/vue-fn@0.1.0-beta.1_@vue+re_4ca1cd6871b8a9d3850126940100dd32/node_modules/vue-fn/index.browser-CWCjzKuA.js
13237
+ // node_modules/.pnpm/vue-fn@0.1.0-beta.1_@vue+re_6c6f2c418066476e32047d51b707ca14/node_modules/vue-fn/index.browser-CWCjzKuA.js
13220
13238
  var l = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
13221
13239
  var r = (t = 21) => {
13222
13240
  let e = "", n = crypto.getRandomValues(new Uint8Array(t |= 0));
@@ -13225,7 +13243,7 @@ var r = (t = 21) => {
13225
13243
  return e;
13226
13244
  };
13227
13245
 
13228
- // node_modules/.pnpm/vue-fn@0.1.0-beta.1_@vue+re_4ca1cd6871b8a9d3850126940100dd32/node_modules/vue-fn/domain-server/index.mjs
13246
+ // node_modules/.pnpm/vue-fn@0.1.0-beta.1_@vue+re_6c6f2c418066476e32047d51b707ca14/node_modules/vue-fn/domain-server/index.mjs
13229
13247
  function I(r2, o = true, a = false) {
13230
13248
  const n = (0, import_reactivity.ref)();
13231
13249
  let e;
@@ -13511,7 +13529,7 @@ function onCancel() {
13511
13529
  // src/utils/package-info.ts
13512
13530
  var package_info_default = {
13513
13531
  "name": "@ddd-tool/domain-designer-cli",
13514
- "version": "0.1.0-beta.10",
13532
+ "version": "0.1.0-beta.11",
13515
13533
  "private": true,
13516
13534
  "type": "module",
13517
13535
  "files": [
@@ -13526,7 +13544,7 @@ var package_info_default = {
13526
13544
  },
13527
13545
  "readme": "ERROR: No README data found!",
13528
13546
  "homepage": "https://github.com/ddd-tool/domain-designer-cli-node#readme",
13529
- "_id": "@ddd-tool/domain-designer-cli@0.1.0-beta.10"
13547
+ "_id": "@ddd-tool/domain-designer-cli@0.1.0-beta.11"
13530
13548
  };
13531
13549
 
13532
13550
  // src/domain/environment-agg/index.ts
@@ -14160,7 +14178,7 @@ var import_fs6 = __toESM(require("fs"), 1);
14160
14178
  var import_path7 = __toESM(require("path"), 1);
14161
14179
  var import_child_process5 = require("child_process");
14162
14180
 
14163
- // node_modules/.pnpm/@ddd-tool+domain-designer-core@0.1.0-beta.7/node_modules/@ddd-tool/domain-designer-core/index.js
14181
+ // node_modules/.pnpm/@ddd-tool+domain-designer-core@0.1.0-beta.9/node_modules/@ddd-tool/domain-designer-core/index.js
14164
14182
  function tr(t) {
14165
14183
  const e = t;
14166
14184
  return e && typeof e.actor == "function" && typeof e.startWorkflow == "function" && typeof e.defineUserStory == "function" && typeof e._getContext == "function" && typeof e.note == "function" && typeof e.info == "object" && typeof e.command == "function" && typeof e.facadeCmd == "function" && typeof e.agg == "function" && typeof e.event == "function" && typeof e.system == "function" && typeof e.policy == "function" && typeof e.service == "function" && typeof e.readModel == "function";
@@ -14386,12 +14404,12 @@ function oe(t, e, n, s = true) {
14386
14404
  const r2 = e ? e.vnode : null, { errorHandler: o, throwUnhandledErrorInProduction: c } = e && e.appContext.config || Et;
14387
14405
  if (e) {
14388
14406
  let i = e.parent;
14389
- const a = e.proxy, d = process.env.NODE_ENV !== "production" ? re[n] : `https://vuejs.org/error-reference/#runtime-${n}`;
14407
+ const l2 = e.proxy, p = process.env.NODE_ENV !== "production" ? re[n] : `https://vuejs.org/error-reference/#runtime-${n}`;
14390
14408
  for (; i; ) {
14391
- const l2 = i.ec;
14392
- if (l2) {
14393
- for (let u = 0; u < l2.length; u++)
14394
- if (l2[u](t, a, d) === false)
14409
+ const a = i.ec;
14410
+ if (a) {
14411
+ for (let u = 0; u < a.length; u++)
14412
+ if (a[u](t, l2, p) === false)
14395
14413
  return;
14396
14414
  }
14397
14415
  i = i.parent;
@@ -14399,8 +14417,8 @@ function oe(t, e, n, s = true) {
14399
14417
  if (o) {
14400
14418
  At(), Mt(o, null, 10, [
14401
14419
  t,
14402
- a,
14403
- d
14420
+ l2,
14421
+ p
14404
14422
  ]), Vt();
14405
14423
  return;
14406
14424
  }
@@ -14580,7 +14598,7 @@ var ot = ({
14580
14598
  ref_for: n
14581
14599
  }) => (typeof t == "number" && (t = "" + t), t != null ? x(t) || M2(t) || $(t) ? { i: lt, r: t, k: e, f: !!n } : t : null);
14582
14600
  function Rn(t, e = null, n = null, s = 0, r2 = null, o = t === fe ? 0 : 1, c = false, i = false) {
14583
- const a = {
14601
+ const l2 = {
14584
14602
  __v_isVNode: true,
14585
14603
  __v_skip: true,
14586
14604
  type: t,
@@ -14609,7 +14627,7 @@ function Rn(t, e = null, n = null, s = 0, r2 = null, o = t === fe ? 0 : 1, c = f
14609
14627
  appContext: null,
14610
14628
  ctx: lt
14611
14629
  };
14612
- return i ? (Pt(a, n), o & 128 && t.normalize(a)) : n && (a.shapeFlag |= x(n) ? 8 : 16), process.env.NODE_ENV !== "production" && a.key !== a.key && W("VNode created with invalid key (NaN). VNode type:", a.type), a;
14630
+ return i ? (Pt(l2, n), o & 128 && t.normalize(l2)) : n && (l2.shapeFlag |= x(n) ? 8 : 16), process.env.NODE_ENV !== "production" && l2.key !== l2.key && W("VNode created with invalid key (NaN). VNode type:", l2.type), l2;
14613
14631
  }
14614
14632
  var Fn = process.env.NODE_ENV !== "production" ? Tn : _e;
14615
14633
  function _e(t, e = null, n = null, s = 0, r2 = null, o = false) {
@@ -14624,8 +14642,8 @@ function _e(t, e = null, n = null, s = 0, r2 = null, o = false) {
14624
14642
  }
14625
14643
  if (be(t) && (t = t.__vccOpts), e) {
14626
14644
  e = Cn(e);
14627
- let { class: i, style: a } = e;
14628
- i && !x(i) && (e.class = Ct(i)), R(a) && (ct(a) && !y2(a) && (a = B({}, a)), e.style = Ft(a));
14645
+ let { class: i, style: l2 } = e;
14646
+ i && !x(i) && (e.class = Ct(i)), R(l2) && (ct(l2) && !y2(l2) && (l2 = B({}, l2)), e.style = Ft(l2));
14629
14647
  }
14630
14648
  const c = x(t) ? 1 : Nn(t) ? 128 : mn(t) ? 64 : R(t) ? 4 : $(t) ? 2 : 0;
14631
14649
  return process.env.NODE_ENV !== "production" && c & 4 && ct(t) && (t = h(t), W(
@@ -14648,12 +14666,12 @@ function Cn(t) {
14648
14666
  return t ? ct(t) || le(t) ? B({}, t) : t : null;
14649
14667
  }
14650
14668
  function ft(t, e, n = false, s = false) {
14651
- const { props: r2, ref: o, patchFlag: c, children: i, transition: a } = t, d = e ? xn(r2 || {}, e) : r2, l2 = {
14669
+ const { props: r2, ref: o, patchFlag: c, children: i, transition: l2 } = t, p = e ? xn(r2 || {}, e) : r2, a = {
14652
14670
  __v_isVNode: true,
14653
14671
  __v_skip: true,
14654
14672
  type: t.type,
14655
- props: d,
14656
- key: d && de(d),
14673
+ props: p,
14674
+ key: p && de(p),
14657
14675
  ref: e && e.ref ? (
14658
14676
  // #2078 in the case of <component :is="vnode" ref="extra"/>
14659
14677
  // if the vnode itself already has a ref, cloneVNode will need to merge
@@ -14677,7 +14695,7 @@ function ft(t, e, n = false, s = false) {
14677
14695
  dynamicChildren: t.dynamicChildren,
14678
14696
  appContext: t.appContext,
14679
14697
  dirs: t.dirs,
14680
- transition: a,
14698
+ transition: l2,
14681
14699
  // These should technically only be non-null on mounted VNodes. However,
14682
14700
  // they *should* be copied for kept-alive vnodes. So we just always copy
14683
14701
  // them since them being non-null during a mount doesn't affect the logic as
@@ -14691,10 +14709,10 @@ function ft(t, e, n = false, s = false) {
14691
14709
  ctx: t.ctx,
14692
14710
  ce: t.ce
14693
14711
  };
14694
- return a && s && ae(
14695
- l2,
14696
- a.clone(l2)
14697
- ), l2;
14712
+ return l2 && s && ae(
14713
+ a,
14714
+ l2.clone(a)
14715
+ ), a;
14698
14716
  }
14699
14717
  function pe(t) {
14700
14718
  const e = ft(t);
@@ -14787,7 +14805,7 @@ function In() {
14787
14805
  return R(u) ? u.__isVue ? ["div", t, "VueInstance"] : M2(u) ? [
14788
14806
  "div",
14789
14807
  {},
14790
- ["span", t, l2(u)],
14808
+ ["span", t, a(u)],
14791
14809
  "<",
14792
14810
  // avoid debugger accessing value affecting behavior
14793
14811
  i("_value" in u ? u._value : u),
@@ -14823,9 +14841,9 @@ function In() {
14823
14841
  function o(u) {
14824
14842
  const f = [];
14825
14843
  u.type.props && u.props && f.push(c("props", h(u.props))), u.setupState !== Et && f.push(c("setup", u.setupState)), u.data !== Et && f.push(c("data", h(u.data)));
14826
- const _ = a(u, "computed");
14827
- _ && f.push(c("computed", _));
14828
- const g2 = a(u, "inject");
14844
+ const d = l2(u, "computed");
14845
+ d && f.push(c("computed", d));
14846
+ const g2 = l2(u, "inject");
14829
14847
  return g2 && f.push(c("injected", g2)), f.push([
14830
14848
  "div",
14831
14849
  {},
@@ -14855,11 +14873,11 @@ function In() {
14855
14873
  {
14856
14874
  style: "padding-left:1.25em"
14857
14875
  },
14858
- ...Object.keys(f).map((_) => [
14876
+ ...Object.keys(f).map((d) => [
14859
14877
  "div",
14860
14878
  {},
14861
- ["span", s, _ + ": "],
14862
- i(f[_], false)
14879
+ ["span", s, d + ": "],
14880
+ i(f[d], false)
14863
14881
  ])
14864
14882
  ]
14865
14883
  ] : ["span", {}];
@@ -14867,21 +14885,21 @@ function In() {
14867
14885
  function i(u, f = true) {
14868
14886
  return typeof u == "number" ? ["span", e, u] : typeof u == "string" ? ["span", n, JSON.stringify(u)] : typeof u == "boolean" ? ["span", s, u] : R(u) ? ["object", { object: f ? h(u) : u }] : ["span", n, String(u)];
14869
14887
  }
14870
- function a(u, f) {
14871
- const _ = u.type;
14872
- if ($(_))
14888
+ function l2(u, f) {
14889
+ const d = u.type;
14890
+ if ($(d))
14873
14891
  return;
14874
14892
  const g2 = {};
14875
14893
  for (const b2 in u.ctx)
14876
- d(_, b2, f) && (g2[b2] = u.ctx[b2]);
14894
+ p(d, b2, f) && (g2[b2] = u.ctx[b2]);
14877
14895
  return g2;
14878
14896
  }
14879
- function d(u, f, _) {
14880
- const g2 = u[_];
14881
- if (y2(g2) && g2.includes(f) || R(g2) && f in g2 || u.extends && d(u.extends, f, _) || u.mixins && u.mixins.some((b2) => d(b2, f, _)))
14897
+ function p(u, f, d) {
14898
+ const g2 = u[d];
14899
+ if (y2(g2) && g2.includes(f) || R(g2) && f in g2 || u.extends && p(u.extends, f, d) || u.mixins && u.mixins.some((b2) => p(b2, f, d)))
14882
14900
  return true;
14883
14901
  }
14884
- function l2(u) {
14902
+ function a(u) {
14885
14903
  return F2(u) ? "ShallowRef" : u.effect ? "ComputedRef" : "Ref";
14886
14904
  }
14887
14905
  window.devtoolsFormatters ? window.devtoolsFormatters.push(r2) : window.devtoolsFormatters = [r2];
@@ -14894,7 +14912,7 @@ function Mn() {
14894
14912
  }
14895
14913
  process.env.NODE_ENV !== "production" && Mn();
14896
14914
 
14897
- // node_modules/.pnpm/@ddd-tool+domain-designer-g_01515f1f919a13786c6bf13504cc0ffd/node_modules/@ddd-tool/domain-designer-generator/index.js
14915
+ // node_modules/.pnpm/@ddd-tool+domain-designer-g_1eee61252fb0788de80f303a4b2fa5e3/node_modules/@ddd-tool/domain-designer-generator/index.js
14898
14916
  // @__NO_SIDE_EFFECTS__
14899
14917
  function Bn(e) {
14900
14918
  const n = /* @__PURE__ */ Object.create(null);
@@ -14983,20 +15001,15 @@ function Xn(e) {
14983
15001
  return !!e._dirty;
14984
15002
  }
14985
15003
  function hn2(e) {
14986
- if (e.flags & 4 && !(e.flags & 16) || (e.flags &= -17, e.globalVersion === re2))
15004
+ if (e.flags & 4 && !(e.flags & 16) || (e.flags &= -17, e.globalVersion === re2) || (e.globalVersion = re2, !e.isSSR && e.flags & 128 && (!e.deps && !e._dirty || !Xn(e))))
14987
15005
  return;
14988
- e.globalVersion = re2;
14989
- const n = e.dep;
14990
- if (e.flags |= 2, n.version > 0 && !e.isSSR && e.deps && !Xn(e)) {
14991
- e.flags &= -3;
14992
- return;
14993
- }
14994
- const t = A, r2 = R2;
15006
+ e.flags |= 2;
15007
+ const n = e.dep, t = A, r2 = R2;
14995
15008
  A = e, R2 = true;
14996
15009
  try {
14997
15010
  Zn(e);
14998
15011
  const o = e.fn(e._value);
14999
- (n.version === 0 || q(o, e._value)) && (e._value = o, n.version++);
15012
+ (n.version === 0 || q(o, e._value)) && (e.flags |= 128, e._value = o, n.version++);
15000
15013
  } catch (o) {
15001
15014
  throw n.version++, o;
15002
15015
  } finally {
@@ -15583,15 +15596,15 @@ function nn2(e, n, t, r2, o) {
15583
15596
  ), e;
15584
15597
  if (e.__v_raw && !(n && e.__v_isReactive))
15585
15598
  return e;
15586
- const s = o.get(e);
15587
- if (s)
15588
- return s;
15589
- const p = Ct2(e);
15590
- if (p === 0)
15599
+ const s = Ct2(e);
15600
+ if (s === 0)
15591
15601
  return e;
15602
+ const p = o.get(e);
15603
+ if (p)
15604
+ return p;
15592
15605
  const _ = new Proxy(
15593
15606
  e,
15594
- p === 2 ? r2 : t
15607
+ s === 2 ? r2 : t
15595
15608
  );
15596
15609
  return o.set(e, _), _;
15597
15610
  }
@@ -18608,7 +18621,7 @@ async function start() {
18608
18621
 
18609
18622
  @vue/shared/dist/shared.cjs.prod.js:
18610
18623
  (**
18611
- * @vue/shared v3.5.13
18624
+ * @vue/shared v3.5.14
18612
18625
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
18613
18626
  * @license MIT
18614
18627
  **)
@@ -18616,7 +18629,7 @@ async function start() {
18616
18629
 
18617
18630
  @vue/shared/dist/shared.cjs.js:
18618
18631
  (**
18619
- * @vue/shared v3.5.13
18632
+ * @vue/shared v3.5.14
18620
18633
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
18621
18634
  * @license MIT
18622
18635
  **)
@@ -18624,14 +18637,14 @@ async function start() {
18624
18637
 
18625
18638
  @vue/reactivity/dist/reactivity.cjs.prod.js:
18626
18639
  (**
18627
- * @vue/reactivity v3.5.13
18640
+ * @vue/reactivity v3.5.14
18628
18641
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
18629
18642
  * @license MIT
18630
18643
  **)
18631
18644
 
18632
18645
  @vue/reactivity/dist/reactivity.cjs.js:
18633
18646
  (**
18634
- * @vue/reactivity v3.5.13
18647
+ * @vue/reactivity v3.5.14
18635
18648
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
18636
18649
  * @license MIT
18637
18650
  **)
@@ -18667,13 +18680,13 @@ async function start() {
18667
18680
 
18668
18681
  @ddd-tool/domain-designer-generator/index.js:
18669
18682
  (**
18670
- * @vue/shared v3.5.13
18683
+ * @vue/shared v3.5.14
18671
18684
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
18672
18685
  * @license MIT
18673
18686
  **)
18674
18687
  (*! #__NO_SIDE_EFFECTS__ *)
18675
18688
  (**
18676
- * @vue/reactivity v3.5.13
18689
+ * @vue/reactivity v3.5.14
18677
18690
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
18678
18691
  * @license MIT
18679
18692
  **)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ddd-tool/domain-designer-cli",
3
- "version": "0.1.0-beta.10",
3
+ "version": "0.1.0-beta.11",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "type": "module",
@@ -27,21 +27,21 @@
27
27
  "repository": "https://github.com/ddd-tool/domain-designer-cli-node",
28
28
  "license": "Apache-2.0",
29
29
  "devDependencies": {
30
- "@ddd-tool/domain-designer-core": "0.1.0-beta.7",
31
- "@ddd-tool/domain-designer-ui-component": "0.1.0-beta.6",
32
- "@primeuix/themes": "^1.0.0",
33
- "@types/node": "^22.13.10",
34
- "@vitejs/plugin-vue": "^5.2.3",
30
+ "@ddd-tool/domain-designer-core": "0.1.0-beta.9",
31
+ "@ddd-tool/domain-designer-ui-component": "0.1.0-beta.7",
32
+ "@primeuix/themes": "^1.1.1",
33
+ "@types/node": "^22.15.21",
34
+ "@vitejs/plugin-vue": "^5.2.4",
35
35
  "@vue/tsconfig": "^0.7.0",
36
36
  "esbuild": "^0.24.2",
37
37
  "npm-run-all2": "^7.0.2",
38
38
  "primeicons": "^7.0.0",
39
- "primevue": "^4.3.2",
40
- "typescript": "^5.8.2",
41
- "vite": "^6.2.2",
42
- "vue": "^3.5.13",
43
- "vue-tsc": "^2.2.8",
44
- "zx": "^8.4.1"
39
+ "primevue": "^4.3.4",
40
+ "typescript": "^5.8.3",
41
+ "vite": "^6.3.5",
42
+ "vue": "^3.5.14",
43
+ "vue-tsc": "^2.2.10",
44
+ "zx": "^8.5.4"
45
45
  },
46
46
  "scripts": {
47
47
  "dev": "vite",
@@ -173,6 +173,8 @@ export interface DomainDesignSystem extends DomainDesignObject {
173
173
  command<G_NAME extends string, ARR extends NonEmptyArray<CustomInfo<G_NAME>>>(name: string, infos: ARR, note?: string | DomainDesignNote): DomainDesignCommand<CustomInfoArrayToInfoObject<ARR>>;
174
174
  facadeCmd<FACADECMD extends DomainDesignFacadeCommand<any>>(facadeCmd: FACADECMD): FACADECMD;
175
175
  facadeCmd<G_NAME extends string, ARR extends NonEmptyArray<CustomInfo<G_NAME>>>(name: string, infos: ARR, note?: string | DomainDesignNote): DomainDesignFacadeCommand<CustomInfoArrayToInfoObject<ARR>>;
176
+ event<EVENT extends DomainDesignEvent<any>>(event: EVENT): EVENT;
177
+ event<G_NAME extends string, ARR extends NonEmptyArray<CustomInfo<G_NAME>>>(name: string, infos: ARR, note?: string | DomainDesignNote): DomainDesignEvent<CustomInfoArrayToInfoObject<ARR>>;
176
178
  toFormat(): string;
177
179
  }
178
180
  export type DomainDesignServiceProvider = (name: string, note?: string | DomainDesignNote) => DomainDesignService;
@@ -1 +1 @@
1
- 0.1.0-beta.10
1
+ 0.1.0-beta.11