diff --git a/demos/zenuml.html b/demos/zenuml.html index 3ce0ac085..8fe3ab3b9 100644 --- a/demos/zenuml.html +++ b/demos/zenuml.html @@ -10,16 +10,20 @@
zenuml - title Sync Messages (Design Pattern: Adapter) - @Starter(Client) - Adapter.interfaceMethod() { - translateParameter(parameter) - - result = Implementation.implementationMethod() - - translateResult() - return translatedResult - } +BookLibService.Borrow(id) { + User = Session.GetUser() + if(User.isActive) { + try { + BookRepository.Update(id, onLoan, User) + receipt = new Receipt(id, dueDate) + } catch (BookNotFoundException) { + ErrorService.onException(BookNotFoundException) + } finally { + Connection.close() + } + } + return receipt +}
zenuml diff --git a/packages/mermaid-zenuml/package.json b/packages/mermaid-zenuml/package.json index 7a419c433..49f468dde 100644 --- a/packages/mermaid-zenuml/package.json +++ b/packages/mermaid-zenuml/package.json @@ -33,7 +33,7 @@ ], "license": "MIT", "dependencies": { - "@zenuml/core": "^3.23.28" + "@zenuml/core": "^3.31.1" }, "devDependencies": { "mermaid": "workspace:^" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ca3d69848..fba2de553 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -6,7 +6,7 @@ settings: patchedDependencies: roughjs: - hash: 3543d47108cb41b68ec6a671c0e1f9d0cfe2ce524fea5b0992511ae84c3c6b64 + hash: vxb6t6fqvzyhwhtjiliqr25jyq path: patches/roughjs.patch importers: @@ -267,7 +267,7 @@ importers: version: 15.0.7 roughjs: specifier: ^4.6.6 - version: 4.6.6(patch_hash=3543d47108cb41b68ec6a671c0e1f9d0cfe2ce524fea5b0992511ae84c3c6b64) + version: 4.6.6(patch_hash=vxb6t6fqvzyhwhtjiliqr25jyq) stylis: specifier: ^4.3.6 version: 4.3.6 @@ -440,8 +440,8 @@ importers: packages/mermaid-zenuml: dependencies: '@zenuml/core': - specifier: ^3.23.28 - version: 3.27.12(typescript@5.7.3) + specifier: ^3.31.1 + version: 3.31.1(typescript@5.7.3) devDependencies: mermaid: specifier: workspace:^ @@ -3895,8 +3895,8 @@ packages: '@xtuc/long@4.2.2': resolution: {integrity: sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==} - '@zenuml/core@3.27.12': - resolution: {integrity: sha512-cNIQM6CCcsz4VqgHySIxjIlqjRnVO7d3HfBQtBkw8woBrvssHfU6FxSg23RVUsb8j98TdruPgEgLbpFbKCGlHA==} + '@zenuml/core@3.31.1': + resolution: {integrity: sha512-gfbCIp2+AmdT9tUmRiRmMtxWHhvlo0VieGICgxFkvmcJxfNXRokpUrlW1H2NDcD+n9vYy6KjNSoYAxiph/9Irw==} engines: {node: '>=12.0.0'} JSONSelect@0.4.0: @@ -14411,7 +14411,7 @@ snapshots: '@vue/compat@3.5.13(vue@3.5.13(typescript@5.7.3))': dependencies: - '@babel/parser': 7.26.9 + '@babel/parser': 7.27.2 estree-walker: 2.0.2 source-map-js: 1.2.1 vue: 3.5.13(typescript@5.7.3) @@ -14664,7 +14664,7 @@ snapshots: '@xtuc/long@4.2.2': {} - '@zenuml/core@3.27.12(typescript@5.7.3)': + '@zenuml/core@3.31.1(typescript@5.7.3)': dependencies: '@headlessui-float/vue': 0.14.4(@headlessui/vue@1.7.23(vue@3.5.13(typescript@5.7.3)))(vue@3.5.13(typescript@5.7.3)) '@headlessui/tailwindcss': 0.2.2(tailwindcss@3.4.17) @@ -19869,7 +19869,7 @@ snapshots: postcss-load-config@4.0.2(postcss@8.5.3): dependencies: lilconfig: 3.1.3 - yaml: 2.7.0 + yaml: 2.7.1 optionalDependencies: postcss: 8.5.3 @@ -20340,7 +20340,7 @@ snapshots: '@rollup/rollup-win32-x64-msvc': 4.40.2 fsevents: 2.3.3 - roughjs@4.6.6(patch_hash=3543d47108cb41b68ec6a671c0e1f9d0cfe2ce524fea5b0992511ae84c3c6b64): + roughjs@4.6.6(patch_hash=vxb6t6fqvzyhwhtjiliqr25jyq): dependencies: hachure-fill: 0.5.2 path-data-parser: 0.1.0