@zenuml/core 4.6.1 → 4.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/zenuml.mjs +18 -6
- package/dist/parser/index.cjs +1 -1
- package/dist/parser/index.mjs +6 -6
- package/dist/zenuml.esm.mjs +14015 -13207
- package/dist/zenuml.js +575 -570
- package/package.json +2 -1
package/dist/cli/zenuml.mjs
CHANGED
|
@@ -8908,7 +8908,9 @@ let Participants$1 = class Participants {
|
|
|
8908
8908
|
};
|
|
8909
8909
|
|
|
8910
8910
|
let participants = undefined;
|
|
8911
|
-
|
|
8911
|
+
// Depth counter: parameters and conditions nest, and an inner exit must not
|
|
8912
|
+
// re-enable collection while the outer one is still open.
|
|
8913
|
+
let isBlind = 0;
|
|
8912
8914
|
let groupId = undefined;
|
|
8913
8915
|
const ToCollector = new sequenceParserListener();
|
|
8914
8916
|
|
|
@@ -9039,19 +9041,19 @@ ToCollector.enterRef = function (ctx) {
|
|
|
9039
9041
|
};
|
|
9040
9042
|
|
|
9041
9043
|
ToCollector.enterParameters = function () {
|
|
9042
|
-
isBlind
|
|
9044
|
+
isBlind++;
|
|
9043
9045
|
};
|
|
9044
9046
|
|
|
9045
9047
|
ToCollector.exitParameters = function () {
|
|
9046
|
-
isBlind
|
|
9048
|
+
isBlind--;
|
|
9047
9049
|
};
|
|
9048
9050
|
|
|
9049
9051
|
ToCollector.enterCondition = function () {
|
|
9050
|
-
isBlind
|
|
9052
|
+
isBlind++;
|
|
9051
9053
|
};
|
|
9052
9054
|
|
|
9053
9055
|
ToCollector.exitCondition = function () {
|
|
9054
|
-
isBlind
|
|
9056
|
+
isBlind--;
|
|
9055
9057
|
};
|
|
9056
9058
|
|
|
9057
9059
|
ToCollector.enterGroup = function (ctx) {
|
|
@@ -9086,6 +9088,7 @@ ToCollector.getParticipants = function (context) {
|
|
|
9086
9088
|
const cached = participantsCache.get(context);
|
|
9087
9089
|
if (cached) return cached;
|
|
9088
9090
|
participants = new Participants$1();
|
|
9091
|
+
isBlind = 0;
|
|
9089
9092
|
walker$1.walk(this, context);
|
|
9090
9093
|
participantsCache.set(context, participants);
|
|
9091
9094
|
return participants;
|
|
@@ -12624,6 +12627,13 @@ const database = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
|
12624
12627
|
default: DatabaseSvg
|
|
12625
12628
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
12626
12629
|
|
|
12630
|
+
const QueueSvg = "<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M4.75 6.25h14.5M4.75 17.75h14.5\" stroke=\"currentColor\" stroke-width=\"1\"/>\n <path d=\"M4.75 6.25a2.5 5.75 0 0 0 0 11.5\" stroke=\"currentColor\" stroke-width=\"1\"/>\n <ellipse cx=\"19.25\" cy=\"12\" rx=\"2.5\" ry=\"5.75\" stroke=\"currentColor\" stroke-width=\"1\"/>\n</svg>\n";
|
|
12631
|
+
|
|
12632
|
+
const queue = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
12633
|
+
__proto__: null,
|
|
12634
|
+
default: QueueSvg
|
|
12635
|
+
}, Symbol.toStringTag, { value: 'Module' }));
|
|
12636
|
+
|
|
12627
12637
|
const EntitySvg = "<svg width=\"77\" height=\"80\" viewBox=\"0 0 77 80\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n\t<g>\n\t\t<path d=\"M74.0149 38.8888C74.0149 43.5755 73.0918 48.2163 71.2983 52.5463C69.5048 56.8762 66.876 60.8105 63.562 64.1245C60.248 67.4385 56.3137 70.0673 51.9838 71.8608C47.6538 73.6543 43.013 74.5774 38.3263 74.5774C33.6396 74.5774 28.9988 73.6543 24.6689 71.8608C20.3389 70.0673 16.4046 67.4385 13.0907 64.1245C9.77666 60.8105 7.14785 56.8762 5.35433 52.5463C3.56081 48.2163 2.6377 43.5755 2.6377 38.8888C2.6377 34.2021 3.56081 29.5613 5.35433 25.2314C7.14785 20.9014 9.77666 16.9671 13.0907 13.6532C16.4046 10.3392 20.3389 7.71035 24.6689 5.91683C28.9988 4.12331 33.6396 3.2002 38.3263 3.2002C43.013 3.2002 47.6538 4.12331 51.9838 5.91683C56.3137 7.71035 60.248 10.3392 63.562 13.6532C66.876 16.9671 69.5048 20.9014 71.2983 25.2314C73.0918 29.5613 74.0149 34.2021 74.0149 38.8888V38.8888Z\" stroke=\"currentColor\" stroke-width=\"3.3333\"/>\n\t\t<path d=\"M2.69922 75.4727L75.6992 75.5154\" stroke=\"currentColor\" stroke-width=\"3.3333\"/>\n\t</g>\n</svg>\n";
|
|
12628
12638
|
|
|
12629
12639
|
const Robustness_Diagram_Entity = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
@@ -12649,6 +12659,7 @@ const coreIcons = {
|
|
|
12649
12659
|
control: () => Promise.resolve().then(() => Robustness_Diagram_Control),
|
|
12650
12660
|
database: () => Promise.resolve().then(() => database),
|
|
12651
12661
|
entity: () => Promise.resolve().then(() => Robustness_Diagram_Entity),
|
|
12662
|
+
queue: () => Promise.resolve().then(() => queue),
|
|
12652
12663
|
cognito: () => import('./assets/Arch_Amazon-Cognito_16-BGlE6NnW.mjs'),
|
|
12653
12664
|
elasticbeantalk: () => import('./assets/Arch_AWS-Elastic-Beanstalk_16-BQhSFqRk.mjs'),
|
|
12654
12665
|
kinesis: () => import('./assets/Arch_Amazon-Kinesis_16-C_nCVk3q.mjs'),
|
|
@@ -12709,7 +12720,8 @@ const ICONS = {
|
|
|
12709
12720
|
iam: parseRawSvg(icon_160),
|
|
12710
12721
|
boundary: parseRawSvg(BoundarySvg),
|
|
12711
12722
|
control: parseRawSvg(ControlSvg),
|
|
12712
|
-
entity: parseRawSvg(EntitySvg)
|
|
12723
|
+
entity: parseRawSvg(EntitySvg),
|
|
12724
|
+
queue: parseRawSvg(QueueSvg)
|
|
12713
12725
|
};
|
|
12714
12726
|
const loadedIcons = /* @__PURE__ */ new Map();
|
|
12715
12727
|
const iconLoads = /* @__PURE__ */ new Map();
|