@windrun-huaiin/third-ui 7.6.1 → 10.1.0
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/_virtual/advancedFormat.js +1 -1
- package/dist/_virtual/advancedFormat.mjs +1 -1
- package/dist/_virtual/customParseFormat.js +1 -1
- package/dist/_virtual/customParseFormat.mjs +1 -1
- package/dist/_virtual/dayjs.min.js +1 -1
- package/dist/_virtual/dayjs.min.mjs +1 -1
- package/dist/_virtual/isoWeek.js +1 -1
- package/dist/_virtual/isoWeek.mjs +1 -1
- package/dist/clerk/clerk-organization.js +1 -1
- package/dist/clerk/clerk-organization.mjs +1 -1
- package/dist/clerk/{clerk-page-generator-client.js → clerk-page-context-generator.js} +2 -2
- package/dist/clerk/{clerk-page-generator-client.mjs → clerk-page-context-generator.mjs} +2 -2
- package/dist/clerk/clerk-page-generator.js +3 -3
- package/dist/clerk/clerk-page-generator.mjs +3 -3
- package/dist/clerk/clerk-user-client.js +4 -3
- package/dist/clerk/clerk-user-client.mjs +4 -3
- package/dist/clerk/clerk-user.js +1 -1
- package/dist/clerk/clerk-user.mjs +1 -1
- package/dist/clerk/fingerprint/fingerprint-client.js +1 -1
- package/dist/clerk/fingerprint/fingerprint-client.mjs +1 -1
- package/dist/clerk/fingerprint/fingerprint-provider.js +147 -56
- package/dist/clerk/fingerprint/fingerprint-provider.mjs +148 -57
- package/dist/clerk/fingerprint/fingerprint-server.d.ts +16 -0
- package/dist/clerk/fingerprint/fingerprint-server.js +18 -0
- package/dist/clerk/fingerprint/fingerprint-server.mjs +18 -1
- package/dist/clerk/fingerprint/server.js +1 -0
- package/dist/clerk/fingerprint/server.mjs +1 -1
- package/dist/clerk/fingerprint/types.d.ts +13 -2
- package/dist/clerk/fingerprint/use-fingerprint.js +1 -1
- package/dist/clerk/fingerprint/use-fingerprint.mjs +1 -1
- package/dist/clerk/index.d.ts +2 -1
- package/dist/clerk/index.js +5 -3
- package/dist/clerk/index.mjs +2 -1
- package/dist/clerk/signin-with-fingerprint-client.js +4 -11
- package/dist/clerk/signin-with-fingerprint-client.mjs +4 -11
- package/dist/clerk/signup-button-with-fingerprint-client.d.ts +6 -0
- package/dist/clerk/signup-button-with-fingerprint-client.js +56 -0
- package/dist/clerk/signup-button-with-fingerprint-client.mjs +54 -0
- package/dist/clerk/signup-with-fingerprint-client.js +4 -11
- package/dist/clerk/signup-with-fingerprint-client.mjs +4 -11
- package/dist/fuma/base/custom-header.d.ts +38 -0
- package/dist/fuma/base/custom-header.js +163 -0
- package/dist/fuma/base/custom-header.mjs +161 -0
- package/dist/fuma/base/custom-home-layout.d.ts +68 -0
- package/dist/fuma/base/custom-home-layout.js +23 -0
- package/dist/fuma/base/custom-home-layout.mjs +21 -0
- package/dist/fuma/base/index.d.ts +2 -0
- package/dist/fuma/base/index.js +9 -0
- package/dist/fuma/base/index.mjs +2 -0
- package/dist/fuma/fuma-banner-suit.d.ts +2 -1
- package/dist/fuma/fuma-banner-suit.js +8 -14
- package/dist/fuma/fuma-banner-suit.mjs +8 -14
- package/dist/fuma/fuma-page-genarator.d.ts +5 -2
- package/dist/fuma/fuma-page-genarator.js +14 -17
- package/dist/fuma/fuma-page-genarator.mjs +14 -17
- package/dist/fuma/fuma-translate-util.d.ts +2 -0
- package/dist/fuma/fuma-translate-util.js +40 -0
- package/dist/fuma/fuma-translate-util.mjs +38 -0
- package/dist/fuma/llm-copy-handler.js +9 -8
- package/dist/fuma/llm-copy-handler.mjs +9 -8
- package/dist/fuma/mdx/banner.d.ts +7 -1
- package/dist/fuma/mdx/banner.js +15 -15
- package/dist/fuma/mdx/banner.mjs +15 -15
- package/dist/fuma/mdx/fuma-github-info.js +1 -1
- package/dist/fuma/mdx/fuma-github-info.mjs +1 -1
- package/dist/fuma/mdx/gradient-button.js +29 -18
- package/dist/fuma/mdx/gradient-button.mjs +29 -18
- package/dist/fuma/mdx/image-zoom.js +2 -2
- package/dist/fuma/mdx/image-zoom.mjs +2 -2
- package/dist/fuma/mdx/mermaid.js +3 -3
- package/dist/fuma/mdx/mermaid.mjs +3 -3
- package/dist/fuma/mdx/toc-base.js +9 -4
- package/dist/fuma/mdx/toc-base.mjs +9 -4
- package/dist/fuma/mdx/zia-card.js +3 -3
- package/dist/fuma/mdx/zia-card.mjs +3 -3
- package/dist/fuma/mdx/zia-file.js +1 -1
- package/dist/fuma/mdx/zia-file.mjs +1 -1
- package/dist/fuma/server.d.ts +1 -0
- package/dist/fuma/server.js +2 -0
- package/dist/fuma/server.mjs +1 -0
- package/dist/fuma/site-x.js +1 -1
- package/dist/fuma/site-x.mjs +1 -1
- package/dist/lib/fuma-schema-check-util.d.ts +4 -57
- package/dist/lib/fuma-schema-check-util.js +10 -31
- package/dist/lib/fuma-schema-check-util.mjs +11 -29
- package/dist/lib/server.d.ts +0 -1
- package/dist/lib/server.js +0 -5
- package/dist/lib/server.mjs +1 -2
- package/dist/main/ai-prompt-textarea.js +1 -1
- package/dist/main/ai-prompt-textarea.mjs +1 -1
- package/dist/main/credit/credit-nav-button.d.ts +21 -0
- package/dist/main/credit/credit-nav-button.js +117 -0
- package/dist/main/credit/credit-nav-button.mjs +114 -0
- package/dist/main/credit/credit-overview-client.d.ts +26 -0
- package/dist/main/credit/credit-overview-client.js +269 -0
- package/dist/main/credit/credit-overview-client.mjs +267 -0
- package/dist/main/credit/credit-overview.d.ts +8 -0
- package/dist/main/credit/credit-overview.js +34 -0
- package/dist/main/credit/credit-overview.mjs +32 -0
- package/dist/main/credit/types.d.ts +68 -0
- package/dist/main/cta.js +3 -2
- package/dist/main/cta.mjs +3 -2
- package/dist/main/faq.js +3 -12
- package/dist/main/faq.mjs +3 -12
- package/dist/main/features.js +3 -2
- package/dist/main/features.mjs +3 -2
- package/dist/main/footer.js +2 -2
- package/dist/main/footer.mjs +2 -2
- package/dist/main/gallery/gallery-desktop-grid.d.ts +6 -0
- package/dist/main/gallery/gallery-desktop-grid.js +10 -0
- package/dist/main/gallery/gallery-desktop-grid.mjs +8 -0
- package/dist/main/gallery/gallery-interactive.d.ts +4 -0
- package/dist/main/gallery/gallery-interactive.js +128 -0
- package/dist/main/gallery/gallery-interactive.mjs +126 -0
- package/dist/main/gallery/gallery-mobile-swiper.d.ts +6 -0
- package/dist/main/gallery/gallery-mobile-swiper.js +13 -0
- package/dist/main/gallery/gallery-mobile-swiper.mjs +11 -0
- package/dist/main/gallery/gallery-server.d.ts +2 -0
- package/dist/main/gallery/gallery-server.js +33 -0
- package/dist/main/gallery/gallery-server.mjs +31 -0
- package/dist/main/gallery/gallery-types.d.ts +19 -0
- package/dist/main/gallery-interactive.js +1 -1
- package/dist/main/gallery-interactive.mjs +1 -1
- package/dist/main/gallery.js +6 -5
- package/dist/main/gallery.mjs +6 -5
- package/dist/main/go-to-top.js +1 -1
- package/dist/main/go-to-top.mjs +1 -1
- package/dist/main/index.d.ts +3 -1
- package/dist/main/index.js +5 -1
- package/dist/main/index.mjs +3 -1
- package/dist/main/money-price/customer-portal.d.ts +7 -0
- package/dist/main/money-price/customer-portal.js +54 -0
- package/dist/main/money-price/customer-portal.mjs +52 -0
- package/dist/main/money-price/money-price-button.d.ts +1 -1
- package/dist/main/money-price/money-price-button.js +162 -42
- package/dist/main/money-price/money-price-button.mjs +162 -42
- package/dist/main/money-price/money-price-config-util.d.ts +50 -2
- package/dist/main/money-price/money-price-config-util.js +177 -4
- package/dist/main/money-price/money-price-config-util.mjs +175 -4
- package/dist/main/money-price/money-price-data.d.ts +8 -0
- package/dist/main/money-price/money-price-data.js +28 -0
- package/dist/main/money-price/money-price-data.mjs +26 -0
- package/dist/main/money-price/money-price-interactive.d.ts +1 -1
- package/dist/main/money-price/money-price-interactive.js +251 -288
- package/dist/main/money-price/money-price-interactive.mjs +253 -290
- package/dist/main/money-price/money-price-types.d.ts +69 -20
- package/dist/main/money-price/money-price.d.ts +1 -1
- package/dist/main/money-price/money-price.js +9 -62
- package/dist/main/money-price/money-price.mjs +10 -63
- package/dist/main/price-plan.js +4 -15
- package/dist/main/price-plan.mjs +4 -15
- package/dist/main/section-layout.d.ts +1 -0
- package/dist/main/section-layout.js +7 -0
- package/dist/main/section-layout.mjs +5 -0
- package/dist/main/seo-content.js +3 -2
- package/dist/main/seo-content.mjs +3 -2
- package/dist/main/server.d.ts +6 -3
- package/dist/main/server.js +9 -4
- package/dist/main/server.mjs +4 -2
- package/dist/main/tips.js +3 -2
- package/dist/main/tips.mjs +3 -2
- package/dist/main/usage.js +4 -3
- package/dist/main/usage.mjs +4 -3
- package/dist/main/x-button.js +6 -6
- package/dist/main/x-button.mjs +6 -6
- package/dist/node_modules/.pnpm/@fingerprintjs_fingerprintjs@4.6.2/node_modules/@fingerprintjs/fingerprintjs/dist/fp.esm.js +1 -1
- package/dist/node_modules/.pnpm/@fingerprintjs_fingerprintjs@4.6.2/node_modules/@fingerprintjs/fingerprintjs/dist/fp.esm.mjs +1 -1
- package/dist/node_modules/.pnpm/{@iconify_utils@2.3.0 → @iconify_utils@3.0.2}/node_modules/@iconify/utils/lib/customisations/defaults.js +7 -6
- package/dist/node_modules/.pnpm/{@iconify_utils@2.3.0 → @iconify_utils@3.0.2}/node_modules/@iconify/utils/lib/customisations/defaults.mjs +7 -6
- package/dist/node_modules/.pnpm/@iconify_utils@3.0.2/node_modules/@iconify/utils/lib/icon/defaults.js +39 -0
- package/dist/node_modules/.pnpm/@iconify_utils@3.0.2/node_modules/@iconify/utils/lib/icon/defaults.mjs +34 -0
- package/dist/node_modules/.pnpm/@iconify_utils@3.0.2/node_modules/@iconify/utils/lib/icon/merge.js +20 -0
- package/dist/node_modules/.pnpm/@iconify_utils@3.0.2/node_modules/@iconify/utils/lib/icon/merge.mjs +18 -0
- package/dist/node_modules/.pnpm/@iconify_utils@3.0.2/node_modules/@iconify/utils/lib/icon/name.js +60 -0
- package/dist/node_modules/.pnpm/@iconify_utils@3.0.2/node_modules/@iconify/utils/lib/icon/name.mjs +57 -0
- package/dist/node_modules/.pnpm/@iconify_utils@3.0.2/node_modules/@iconify/utils/lib/icon/transformations.js +15 -0
- package/dist/node_modules/.pnpm/@iconify_utils@3.0.2/node_modules/@iconify/utils/lib/icon/transformations.mjs +13 -0
- package/dist/node_modules/.pnpm/@iconify_utils@3.0.2/node_modules/@iconify/utils/lib/icon-set/get-icon.js +30 -0
- package/dist/node_modules/.pnpm/@iconify_utils@3.0.2/node_modules/@iconify/utils/lib/icon-set/get-icon.mjs +27 -0
- package/dist/node_modules/.pnpm/@iconify_utils@3.0.2/node_modules/@iconify/utils/lib/icon-set/tree.js +26 -0
- package/dist/node_modules/.pnpm/@iconify_utils@3.0.2/node_modules/@iconify/utils/lib/icon-set/tree.mjs +24 -0
- package/dist/node_modules/.pnpm/@iconify_utils@3.0.2/node_modules/@iconify/utils/lib/svg/build.js +118 -0
- package/dist/node_modules/.pnpm/@iconify_utils@3.0.2/node_modules/@iconify/utils/lib/svg/build.mjs +115 -0
- package/dist/node_modules/.pnpm/@iconify_utils@3.0.2/node_modules/@iconify/utils/lib/svg/defs.js +36 -0
- package/dist/node_modules/.pnpm/@iconify_utils@3.0.2/node_modules/@iconify/utils/lib/svg/defs.mjs +32 -0
- package/dist/node_modules/.pnpm/@iconify_utils@3.0.2/node_modules/@iconify/utils/lib/svg/html.js +12 -0
- package/dist/node_modules/.pnpm/@iconify_utils@3.0.2/node_modules/@iconify/utils/lib/svg/html.mjs +10 -0
- package/dist/node_modules/.pnpm/@iconify_utils@3.0.2/node_modules/@iconify/utils/lib/svg/id.js +48 -0
- package/dist/node_modules/.pnpm/@iconify_utils@3.0.2/node_modules/@iconify/utils/lib/svg/id.mjs +46 -0
- package/dist/node_modules/.pnpm/@iconify_utils@3.0.2/node_modules/@iconify/utils/lib/svg/size.js +30 -0
- package/dist/node_modules/.pnpm/@iconify_utils@3.0.2/node_modules/@iconify/utils/lib/svg/size.mjs +28 -0
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/architecture-U656AL7Q.js +9 -0
- package/dist/node_modules/.pnpm/{@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/architecture-O4VJ6CD3.mjs → @mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/architecture-U656AL7Q.mjs} +2 -2
- package/dist/node_modules/.pnpm/{@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-KMC2YHZD.js → @mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-76Q3JFCE.js} +8 -8
- package/dist/node_modules/.pnpm/{@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-KMC2YHZD.mjs → @mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-76Q3JFCE.mjs} +1 -1
- package/dist/node_modules/.pnpm/{@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-4KMFLZZN.js → @mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-FPAJGGOC.js} +1 -1
- package/dist/node_modules/.pnpm/{@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-4KMFLZZN.mjs → @mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-FPAJGGOC.mjs} +1 -1
- package/dist/node_modules/.pnpm/{@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-XRWGC2XP.js → @mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-FWNWRKHM.js} +13 -13
- package/dist/node_modules/.pnpm/{@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-XRWGC2XP.mjs → @mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-FWNWRKHM.mjs} +1 -1
- package/dist/node_modules/.pnpm/{@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-T44TD3VJ.js → @mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-LBM3YZW2.js} +8 -8
- package/dist/node_modules/.pnpm/{@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-T44TD3VJ.mjs → @mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-LBM3YZW2.mjs} +1 -1
- package/dist/node_modules/.pnpm/{@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-WFRQ32O7.js → @mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-LHMN2FUI.js} +8 -8
- package/dist/node_modules/.pnpm/{@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-WFRQ32O7.mjs → @mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-LHMN2FUI.mjs} +1 -1
- package/dist/node_modules/.pnpm/{@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-JEIROHC2.js → @mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-O7ZBX7Z2.js} +10 -10
- package/dist/node_modules/.pnpm/{@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-JEIROHC2.mjs → @mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-O7ZBX7Z2.mjs} +1 -1
- package/dist/node_modules/.pnpm/{@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-BN7GFLIU.js → @mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-S6J4BHB3.js} +8 -8
- package/dist/node_modules/.pnpm/{@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-BN7GFLIU.mjs → @mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-S6J4BHB3.mjs} +1 -1
- package/dist/node_modules/.pnpm/{@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-WFWHJNB7.js → @mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-T53DSG4Q.js} +10 -10
- package/dist/node_modules/.pnpm/{@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-WFWHJNB7.mjs → @mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-T53DSG4Q.mjs} +1 -1
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/gitGraph-F6HP7TQM.js +9 -0
- package/dist/node_modules/.pnpm/{@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/gitGraph-ZV4HHKMB.mjs → @mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/gitGraph-F6HP7TQM.mjs} +2 -2
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/info-NVLQJR56.js +9 -0
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/info-NVLQJR56.mjs +2 -0
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/packet-BFZMPI3H.js +9 -0
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/packet-BFZMPI3H.mjs +2 -0
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/pie-7BOR55EZ.js +9 -0
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/pie-7BOR55EZ.mjs +2 -0
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/radar-NHE76QYJ.js +9 -0
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/radar-NHE76QYJ.mjs +2 -0
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treemap-KMMF4GRG.js +9 -0
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treemap-KMMF4GRG.mjs +2 -0
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.6.3/node_modules/@mermaid-js/parser/dist/mermaid-parser.core.js +129 -0
- package/dist/node_modules/.pnpm/{@mermaid-js_parser@0.6.2 → @mermaid-js_parser@0.6.3}/node_modules/@mermaid-js/parser/dist/mermaid-parser.core.mjs +16 -16
- package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/order/cross-count.js +0 -3
- package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/order/cross-count.mjs +0 -3
- package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/position/bk.js +24 -4
- package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/position/bk.mjs +24 -4
- package/dist/node_modules/.pnpm/{dompurify@3.2.6 → dompurify@3.3.0}/node_modules/dompurify/dist/purify.es.js +59 -25
- package/dist/node_modules/.pnpm/{dompurify@3.2.6 → dompurify@3.3.0}/node_modules/dompurify/dist/purify.es.mjs +59 -25
- package/dist/node_modules/.pnpm/{katex@0.16.22 → katex@0.16.25}/node_modules/katex/dist/katex.js +26 -34
- package/dist/node_modules/.pnpm/{katex@0.16.22 → katex@0.16.25}/node_modules/katex/dist/katex.mjs +26 -34
- package/dist/node_modules/.pnpm/marked@16.4.2/node_modules/marked/lib/marked.esm.js +84 -0
- package/dist/node_modules/.pnpm/marked@16.4.2/node_modules/marked/lib/marked.esm.mjs +74 -0
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/architectureDiagram-SUXI7LT5.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/architectureDiagram-VXUJARFQ.js} +373 -351
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/architectureDiagram-SUXI7LT5.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/architectureDiagram-VXUJARFQ.mjs} +320 -298
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-6J76NXCF.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-VD42YOAC.js} +393 -380
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-6J76NXCF.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-VD42YOAC.mjs} +162 -149
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-6F6E4RAY.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-YG6GDRKO.js} +126 -125
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-6F6E4RAY.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-YG6GDRKO.mjs} +10 -9
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-353BL4L5.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-4BX2VUAB.js} +2 -2
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-353BL4L5.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-4BX2VUAB.mjs} +1 -1
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-BFAMUDN2.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-55IACEB6.js} +2 -2
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-BFAMUDN2.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-55IACEB6.mjs} +1 -1
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-RKKUNAVE.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-6MN3ZHY7.js} +15 -15
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-RKKUNAVE.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-6MN3ZHY7.mjs} +15 -15
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-3XYRH5AP.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ABZYJK2D.js} +142 -203
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-3XYRH5AP.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ABZYJK2D.mjs} +27 -85
- package/dist/node_modules/.pnpm/mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-AGHRB4JF.js +81 -0
- package/dist/node_modules/.pnpm/mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-AGHRB4JF.mjs +76 -0
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-UWXLY5YG.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ATLVNIR6.js} +30 -11
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-UWXLY5YG.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-ATLVNIR6.mjs} +22 -3
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-SZ463SBG.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-B4BG7PRW.js} +207 -205
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-SZ463SBG.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-B4BG7PRW.mjs} +132 -130
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-AC5SNWB5.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-CVBHYZKI.js} +2 -2
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-AC5SNWB5.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-CVBHYZKI.mjs} +1 -1
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-OW32GOEJ.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-DI55MBZ5.js} +98 -97
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-OW32GOEJ.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-DI55MBZ5.mjs} +10 -9
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-P3VETL53.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-EXTU4WIE.js} +4 -3
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-P3VETL53.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-EXTU4WIE.mjs} +2 -1
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-E2GYISFI.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-FMBD7UC4.js} +2 -2
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-E2GYISFI.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-FMBD7UC4.mjs} +1 -1
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-MXNHSMXR.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-HN2XXSSU.js} +17 -9
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-MXNHSMXR.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-HN2XXSSU.mjs} +11 -5
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QESNASVV.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JA3XYJ7Z.js} +51 -50
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QESNASVV.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JA3XYJ7Z.mjs} +23 -22
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JW4RIYDF.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JZLCHNYA.js} +731 -440
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JW4RIYDF.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-JZLCHNYA.mjs} +404 -113
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-L5ZGVLVO.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-MI3HLSF2.js} +139 -139
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-L5ZGVLVO.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-MI3HLSF2.mjs} +5 -5
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-IWUHOULB.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-N4CR4FBY.js} +29 -22
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-IWUHOULB.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-N4CR4FBY.mjs} +13 -6
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-SKB7J2MH.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QN33PNHL.js} +7 -6
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-SKB7J2MH.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QN33PNHL.mjs} +2 -1
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-M6DAPIYF.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QXUST7PY.js} +211 -85
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-M6DAPIYF.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QXUST7PY.mjs} +142 -16
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-AACKK3MU.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QZHKN3VN.js} +2 -2
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-AACKK3MU.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-QZHKN3VN.mjs} +1 -1
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-55PJQP7W.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-S3R3BYOJ.js} +61 -49
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-55PJQP7W.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-S3R3BYOJ.mjs} +13 -1
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-67H74DCK.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-TZMSLE5B.js} +10 -9
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-67H74DCK.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/chunk-TZMSLE5B.mjs} +2 -1
- package/dist/node_modules/.pnpm/mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-2ON5EDUG.js +31 -0
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-M3E45YP4.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-2ON5EDUG.mjs} +9 -8
- package/dist/node_modules/.pnpm/mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-WZHVMYZB.js +31 -0
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-YAWTLIQI.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-WZHVMYZB.mjs} +9 -8
- package/dist/node_modules/.pnpm/mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/cose-bilkent-S5V4N54A.js +302 -0
- package/dist/node_modules/.pnpm/mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/cose-bilkent-S5V4N54A.mjs +300 -0
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/dagre-JOIXM2OF.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/dagre-6UL2VRFP.js} +123 -122
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/dagre-JOIXM2OF.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/dagre-6UL2VRFP.mjs} +12 -11
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/diagram-VMROVX33.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/diagram-PSM6KHXK.js} +46 -45
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/diagram-VMROVX33.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/diagram-PSM6KHXK.mjs} +8 -7
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/diagram-ZTM2IBQH.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/diagram-QEK2KX5R.js} +45 -44
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/diagram-ZTM2IBQH.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/diagram-QEK2KX5R.mjs} +6 -5
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/diagram-5UYTHUR4.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/diagram-S2PKOQOG.js} +68 -57
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/diagram-5UYTHUR4.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/diagram-S2PKOQOG.mjs} +56 -45
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/erDiagram-3M52JZNH.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/erDiagram-Q2GNP2WA.js} +70 -69
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/erDiagram-3M52JZNH.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/erDiagram-Q2GNP2WA.mjs} +14 -13
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-KYDEHFYC.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-NV44I4VS.js} +97 -93
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-KYDEHFYC.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-NV44I4VS.mjs} +20 -16
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-EK5VF46D.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-LVOFAZNH.js} +134 -125
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-EK5VF46D.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-LVOFAZNH.mjs} +27 -18
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/gitGraphDiagram-GW3U2K7C.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/gitGraphDiagram-NY62KEGX.js} +116 -115
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/gitGraphDiagram-GW3U2K7C.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/gitGraphDiagram-NY62KEGX.mjs} +6 -5
- package/dist/node_modules/.pnpm/mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-ER5ION4S.js +42 -0
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-LHK5PUON.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-ER5ION4S.mjs} +5 -4
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-EWQZEKCU.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-XKPGCS4Q.js} +100 -99
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-EWQZEKCU.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-XKPGCS4Q.mjs} +10 -9
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/kanban-definition-ZSS6B67P.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/kanban-definition-3W4ZIXB7.js} +79 -78
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/kanban-definition-ZSS6B67P.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/kanban-definition-3W4ZIXB7.mjs} +12 -11
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-6CBA2TL7.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-VGOIOE7T.js} +277 -379
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-6CBA2TL7.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-VGOIOE7T.mjs} +234 -336
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-NIOCPIFQ.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-ADFJNKIX.js} +58 -56
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-NIOCPIFQ.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-ADFJNKIX.mjs} +30 -28
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-2OG54O6I.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-AYHSOK5B.js} +96 -95
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-2OG54O6I.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-AYHSOK5B.mjs} +6 -5
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/requirementDiagram-QOLK2EJ7.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/requirementDiagram-UZGBJVZJ.js} +64 -63
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/requirementDiagram-QOLK2EJ7.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/requirementDiagram-UZGBJVZJ.mjs} +14 -13
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-4UZDY2LN.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-TZEHDZUN.js} +73 -69
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-4UZDY2LN.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-TZEHDZUN.mjs} +17 -13
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-SKLFT4DO.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-WL72ISMW.js} +839 -376
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-SKLFT4DO.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-WL72ISMW.mjs} +591 -128
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-MI5ZYTHO.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-FKZM4ZOC.js} +94 -93
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-MI5ZYTHO.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-FKZM4ZOC.mjs} +12 -11
- package/dist/node_modules/.pnpm/mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-4FDKWEC3.js +31 -0
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-5AN5P6BG.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-4FDKWEC3.mjs} +9 -8
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/timeline-definition-MYPXXCX6.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/timeline-definition-IT6M3QCI.js} +93 -92
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/timeline-definition-MYPXXCX6.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/timeline-definition-IT6M3QCI.mjs} +8 -7
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-H2YORKM3.js → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-PRI3JC2R.js} +136 -133
- package/dist/node_modules/.pnpm/{mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-H2YORKM3.mjs → mermaid@11.12.1/node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-PRI3JC2R.mjs} +43 -40
- package/dist/node_modules/.pnpm/{mermaid@11.9.0 → mermaid@11.12.1}/node_modules/mermaid/dist/mermaid.core.js +226 -225
- package/dist/node_modules/.pnpm/{mermaid@11.9.0 → mermaid@11.12.1}/node_modules/mermaid/dist/mermaid.core.mjs +43 -42
- package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.3.0_react-dom@19.1.0_react@19.1.0__react@19.1.0 → react-medium-image-zoom@5.4.0_react-dom@19.2.0_react@19.2.0__react@19.2.0}/node_modules/react-medium-image-zoom/dist/index.js +16 -12
- package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.3.0_react-dom@19.1.0_react@19.1.0__react@19.1.0 → react-medium-image-zoom@5.4.0_react-dom@19.2.0_react@19.2.0__react@19.2.0}/node_modules/react-medium-image-zoom/dist/index.mjs +16 -12
- package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/pagination.js +461 -0
- package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/modules/pagination.mjs +459 -0
- package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/classes-to-selector.js +8 -0
- package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/classes-to-selector.mjs +6 -0
- package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/create-element-if-not-defined.js +23 -0
- package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/create-element-if-not-defined.mjs +21 -0
- package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/ssr-window.esm.js +143 -0
- package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/ssr-window.esm.mjs +140 -0
- package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/swiper-core.js +3874 -0
- package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/swiper-core.mjs +3871 -0
- package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/update-on-virtual-data.js +129 -0
- package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/update-on-virtual-data.mjs +124 -0
- package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/update-swiper.js +226 -0
- package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/update-swiper.mjs +216 -0
- package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/utils.js +310 -0
- package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/shared/utils.mjs +288 -0
- package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/swiper-react.js +390 -0
- package/dist/node_modules/.pnpm/swiper@12.0.3/node_modules/swiper/swiper-react.mjs +387 -0
- package/dist/node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/native.js +6 -0
- package/dist/node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/native.mjs +4 -0
- package/dist/node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/rng.js +15 -0
- package/dist/node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/rng.mjs +13 -0
- package/dist/node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/stringify.js +30 -0
- package/dist/node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/stringify.mjs +28 -0
- package/dist/node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/v4.js +21 -0
- package/dist/node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/v4.mjs +19 -0
- package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/errors.js +52 -0
- package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/errors.mjs +50 -0
- package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/iso.js +44 -0
- package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/iso.mjs +35 -0
- package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/parse.js +31 -0
- package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/parse.mjs +18 -0
- package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/schemas.js +492 -0
- package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/classic/schemas.mjs +439 -0
- package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/api.js +434 -0
- package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/api.mjs +388 -0
- package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/checks.js +245 -0
- package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/checks.mjs +232 -0
- package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/core.js +68 -0
- package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/core.mjs +62 -0
- package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/errors.js +80 -0
- package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/errors.mjs +75 -0
- package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/parse.js +101 -0
- package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/parse.mjs +86 -0
- package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/regexes.js +102 -0
- package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/regexes.mjs +76 -0
- package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/registries.js +56 -0
- package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/registries.mjs +52 -0
- package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/schemas.js +952 -0
- package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/schemas.mjs +909 -0
- package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/util.js +182 -0
- package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/util.mjs +163 -0
- package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/versions.js +9 -0
- package/dist/node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/versions.mjs +7 -0
- package/package.json +27 -21
- package/src/clerk/{clerk-page-generator-client.tsx → clerk-page-context-generator.tsx} +2 -2
- package/src/clerk/clerk-page-generator.tsx +3 -3
- package/src/clerk/clerk-user-client.tsx +7 -12
- package/src/clerk/fingerprint/fingerprint-provider.tsx +311 -112
- package/src/clerk/fingerprint/fingerprint-server.ts +33 -5
- package/src/clerk/fingerprint/types.ts +16 -2
- package/src/clerk/fingerprint/use-fingerprint.ts +1 -1
- package/src/clerk/index.ts +2 -1
- package/src/clerk/signin-with-fingerprint-client.tsx +3 -11
- package/src/clerk/signup-button-with-fingerprint-client.tsx +87 -0
- package/src/clerk/signup-with-fingerprint-client.tsx +3 -11
- package/src/fuma/base/custom-header.tsx +574 -0
- package/src/fuma/base/custom-home-layout.tsx +146 -0
- package/src/fuma/base/index.ts +2 -0
- package/src/fuma/fuma-banner-suit.tsx +23 -6
- package/src/fuma/fuma-page-genarator.tsx +31 -11
- package/src/fuma/fuma-translate-util.ts +44 -0
- package/src/fuma/llm-copy-handler.ts +8 -7
- package/src/fuma/mdx/airtical-card.tsx +1 -1
- package/src/fuma/mdx/banner.tsx +25 -7
- package/src/fuma/mdx/gradient-button.tsx +43 -26
- package/src/fuma/mdx/image-grid.tsx +1 -1
- package/src/fuma/mdx/mermaid.tsx +2 -2
- package/src/fuma/mdx/toc-base.tsx +9 -4
- package/src/fuma/mdx/zia-card.tsx +6 -6
- package/src/fuma/server.ts +1 -0
- package/src/lib/fuma-schema-check-util.ts +11 -40
- package/src/lib/server.ts +0 -1
- package/src/main/ai-prompt-textarea.tsx +1 -1
- package/src/main/credit/credit-nav-button.tsx +283 -0
- package/src/main/credit/credit-overview-client.tsx +552 -0
- package/src/main/credit/credit-overview.tsx +53 -0
- package/src/main/credit/types.ts +89 -0
- package/src/main/cta.tsx +10 -9
- package/src/main/faq.tsx +6 -5
- package/src/main/features.tsx +4 -4
- package/src/main/footer.tsx +1 -1
- package/src/main/gallery/gallery-desktop-grid.tsx +41 -0
- package/src/main/gallery/gallery-interactive.tsx +153 -0
- package/src/main/gallery/gallery-mobile-swiper.tsx +65 -0
- package/src/main/gallery/gallery-server.tsx +46 -0
- package/src/main/gallery/gallery-types.ts +22 -0
- package/src/main/go-to-top.tsx +1 -1
- package/src/main/index.ts +5 -3
- package/src/main/money-price/customer-portal.ts +63 -0
- package/src/main/money-price/money-price-button.tsx +211 -56
- package/src/main/money-price/money-price-config-util.ts +222 -5
- package/src/main/money-price/money-price-data.ts +49 -0
- package/src/main/money-price/money-price-interactive.tsx +479 -356
- package/src/main/money-price/money-price-types.ts +76 -22
- package/src/main/money-price/money-price.tsx +28 -267
- package/src/main/price-plan.tsx +4 -4
- package/src/main/section-layout.ts +5 -0
- package/src/main/seo-content.tsx +3 -3
- package/src/main/server.ts +15 -4
- package/src/main/tips.tsx +3 -3
- package/src/main/usage.tsx +5 -5
- package/src/main/x-button.tsx +13 -13
- package/src/styles/fuma.css +38 -13
- package/src/styles/third-ui.css +37 -2
- package/dist/lib/fuma-search-util.d.ts +0 -2
- package/dist/lib/fuma-search-util.js +0 -8
- package/dist/lib/fuma-search-util.mjs +0 -6
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/defaults.js +0 -29
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/defaults.mjs +0 -24
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/merge.js +0 -22
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/merge.mjs +0 -20
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/name.js +0 -55
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/name.mjs +0 -52
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/transformations.js +0 -18
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/transformations.mjs +0 -16
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon-set/get-icon.js +0 -29
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon-set/get-icon.mjs +0 -26
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon-set/tree.js +0 -25
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon-set/tree.mjs +0 -23
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/build.js +0 -122
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/build.mjs +0 -119
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/defs.js +0 -34
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/defs.mjs +0 -30
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/html.js +0 -11
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/html.mjs +0 -9
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/id.js +0 -30
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/id.mjs +0 -28
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/size.js +0 -42
- package/dist/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/size.mjs +0 -40
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/architecture-O4VJ6CD3.js +0 -9
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/gitGraph-ZV4HHKMB.js +0 -9
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/info-63CPKGFF.js +0 -9
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/info-63CPKGFF.mjs +0 -2
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/packet-HUATNLJX.js +0 -9
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/packet-HUATNLJX.mjs +0 -2
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/pie-WTHONI2E.js +0 -9
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/pie-WTHONI2E.mjs +0 -2
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/radar-NJJJXTRR.js +0 -9
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/radar-NJJJXTRR.mjs +0 -2
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treemap-75Q7IDZK.js +0 -9
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/treemap-75Q7IDZK.mjs +0 -2
- package/dist/node_modules/.pnpm/@mermaid-js_parser@0.6.2/node_modules/@mermaid-js/parser/dist/mermaid-parser.core.js +0 -129
- package/dist/node_modules/.pnpm/marked@16.1.2/node_modules/marked/lib/marked.esm.js +0 -83
- package/dist/node_modules/.pnpm/marked@16.1.2/node_modules/marked/lib/marked.esm.mjs +0 -73
- package/dist/node_modules/.pnpm/mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-M3E45YP4.js +0 -30
- package/dist/node_modules/.pnpm/mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-YAWTLIQI.js +0 -30
- package/dist/node_modules/.pnpm/mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-LHK5PUON.js +0 -41
- package/dist/node_modules/.pnpm/mermaid@11.9.0/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-5AN5P6BG.js +0 -30
- package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/ZodError.js +0 -135
- package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/ZodError.mjs +0 -132
- package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/errors.js +0 -11
- package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/errors.mjs +0 -8
- package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/errorUtil.js +0 -8
- package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/errorUtil.mjs +0 -8
- package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/parseUtil.js +0 -122
- package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/parseUtil.mjs +0 -111
- package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/util.js +0 -138
- package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/util.mjs +0 -135
- package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/locales/en.js +0 -113
- package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/locales/en.mjs +0 -111
- package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/types.js +0 -3339
- package/dist/node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/types.mjs +0 -3297
- package/src/lib/fuma-search-util.ts +0 -6
- package/src/main/gallery-interactive.tsx +0 -171
- package/src/main/gallery.tsx +0 -98
- /package/dist/clerk/{clerk-page-generator-client.d.ts → clerk-page-context-generator.d.ts} +0 -0
- /package/dist/node_modules/.pnpm/{@rollup_plugin-typescript@12.1.4_rollup@4.46.2_tslib@2.8.1_typescript@5.9.2 → @rollup_plugin-typescript@12.1.4_rollup@4.46.2_tslib@2.8.1_typescript@5.9.3}/node_modules/tslib/tslib.es6.js +0 -0
- /package/dist/node_modules/.pnpm/{@rollup_plugin-typescript@12.1.4_rollup@4.46.2_tslib@2.8.1_typescript@5.9.2 → @rollup_plugin-typescript@12.1.4_rollup@4.46.2_tslib@2.8.1_typescript@5.9.3}/node_modules/tslib/tslib.es6.mjs +0 -0
- /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/acyclic.js +0 -0
- /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/acyclic.mjs +0 -0
- /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/add-border-segments.js +0 -0
- /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/add-border-segments.mjs +0 -0
- /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/coordinate-system.js +0 -0
- /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/coordinate-system.mjs +0 -0
- /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/data/list.js +0 -0
- /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/data/list.mjs +0 -0
- /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/greedy-fas.js +0 -0
- /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/greedy-fas.mjs +0 -0
- /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/layout.js +0 -0
- /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/layout.mjs +0 -0
- /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/nesting-graph.js +0 -0
- /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/nesting-graph.mjs +0 -0
- /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/normalize.js +0 -0
- /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/normalize.mjs +0 -0
- /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/order/add-subgraph-constraints.js +0 -0
- /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/order/add-subgraph-constraints.mjs +0 -0
- /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/order/barycenter.js +0 -0
- /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/order/barycenter.mjs +0 -0
- /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/order/build-layer-graph.js +0 -0
- /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/order/build-layer-graph.mjs +0 -0
- /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/order/index.js +0 -0
- /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/order/index.mjs +0 -0
- /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/order/init-order.js +0 -0
- /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/order/init-order.mjs +0 -0
- /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/order/resolve-conflicts.js +0 -0
- /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/order/resolve-conflicts.mjs +0 -0
- /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/order/sort-subgraph.js +0 -0
- /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/order/sort-subgraph.mjs +0 -0
- /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/order/sort.js +0 -0
- /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/order/sort.mjs +0 -0
- /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/parent-dummy-chains.js +0 -0
- /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/parent-dummy-chains.mjs +0 -0
- /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/position/index.js +0 -0
- /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/position/index.mjs +0 -0
- /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/rank/feasible-tree.js +0 -0
- /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/rank/feasible-tree.mjs +0 -0
- /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/rank/index.js +0 -0
- /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/rank/index.mjs +0 -0
- /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/rank/network-simplex.js +0 -0
- /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/rank/network-simplex.mjs +0 -0
- /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/rank/util.js +0 -0
- /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/rank/util.mjs +0 -0
- /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/util.js +0 -0
- /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/dagre/util.mjs +0 -0
- /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/graphlib/alg/dfs.js +0 -0
- /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/graphlib/alg/dfs.mjs +0 -0
- /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/graphlib/alg/postorder.js +0 -0
- /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/graphlib/alg/postorder.mjs +0 -0
- /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/graphlib/alg/preorder.js +0 -0
- /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/graphlib/alg/preorder.mjs +0 -0
- /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/graphlib/alg/topsort.js +0 -0
- /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/graphlib/alg/topsort.mjs +0 -0
- /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/graphlib/graph.js +0 -0
- /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/graphlib/graph.mjs +0 -0
- /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/graphlib/json.js +0 -0
- /package/dist/node_modules/.pnpm/{dagre-d3-es@7.0.11 → dagre-d3-es@7.0.13}/node_modules/dagre-d3-es/src/graphlib/json.mjs +0 -0
- /package/dist/node_modules/.pnpm/{dayjs@1.11.13 → dayjs@1.11.19}/node_modules/dayjs/dayjs.min.js +0 -0
- /package/dist/node_modules/.pnpm/{dayjs@1.11.13 → dayjs@1.11.19}/node_modules/dayjs/dayjs.min.mjs +0 -0
- /package/dist/node_modules/.pnpm/{dayjs@1.11.13 → dayjs@1.11.19}/node_modules/dayjs/plugin/advancedFormat.js +0 -0
- /package/dist/node_modules/.pnpm/{dayjs@1.11.13 → dayjs@1.11.19}/node_modules/dayjs/plugin/advancedFormat.mjs +0 -0
- /package/dist/node_modules/.pnpm/{dayjs@1.11.13 → dayjs@1.11.19}/node_modules/dayjs/plugin/customParseFormat.js +0 -0
- /package/dist/node_modules/.pnpm/{dayjs@1.11.13 → dayjs@1.11.19}/node_modules/dayjs/plugin/customParseFormat.mjs +0 -0
- /package/dist/node_modules/.pnpm/{dayjs@1.11.13 → dayjs@1.11.19}/node_modules/dayjs/plugin/isoWeek.js +0 -0
- /package/dist/node_modules/.pnpm/{dayjs@1.11.13 → dayjs@1.11.19}/node_modules/dayjs/plugin/isoWeek.mjs +0 -0
|
@@ -1,28 +1,30 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
3
|
+
var chunkTZMSLE5B = require('./chunk-TZMSLE5B.js');
|
|
4
|
+
var chunkMI3HLSF2 = require('./chunk-MI3HLSF2.js');
|
|
5
|
+
var chunkQZHKN3VN = require('./chunk-QZHKN3VN.js');
|
|
6
|
+
var chunkS3R3BYOJ = require('./chunk-S3R3BYOJ.js');
|
|
7
|
+
var chunkABZYJK2D = require('./chunk-ABZYJK2D.js');
|
|
8
|
+
var chunkAGHRB4JF = require('./chunk-AGHRB4JF.js');
|
|
7
9
|
require('../../../../../../d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/selection/index.js');
|
|
8
10
|
require('../../../../../../d3-zoom@3.0.0/node_modules/d3-zoom/src/transform.js');
|
|
9
11
|
var index = require('../../../../../../../../_virtual/index.js');
|
|
10
12
|
var select = require('../../../../../../d3-selection@3.0.0/node_modules/d3-selection/src/select.js');
|
|
11
13
|
|
|
12
14
|
// src/diagrams/sequence/parser/sequenceDiagram.jison
|
|
13
|
-
var parser = function() {
|
|
14
|
-
var o = /* @__PURE__ */
|
|
15
|
+
var parser = (function() {
|
|
16
|
+
var o = /* @__PURE__ */ chunkAGHRB4JF.__name(function(k, v, o2, l) {
|
|
15
17
|
for (o2 = o2 || {}, l = k.length; l--; o2[k[l]] = v) ;
|
|
16
18
|
return o2;
|
|
17
|
-
}, "o"), $V0 = [1, 2], $V1 = [1, 3], $V2 = [1, 4], $V3 = [2, 4], $V4 = [1, 9], $V5 = [1, 11], $V6 = [1, 13], $V7 = [1, 14], $V8 = [1, 16], $V9 = [1, 17], $Va = [1, 18], $Vb = [1, 24], $Vc = [1, 25], $Vd = [1, 26], $Ve = [1, 27], $Vf = [1, 28], $Vg = [1, 29], $Vh = [1, 30], $Vi = [1, 31], $Vj = [1, 32], $Vk = [1, 33], $Vl = [1, 34], $Vm = [1, 35], $Vn = [1, 36], $Vo = [1, 37], $Vp = [1, 38], $Vq = [1, 39], $Vr = [1, 41], $Vs = [1, 42], $Vt = [1, 43], $Vu = [1, 44], $Vv = [1, 45], $Vw = [1, 46], $Vx = [1, 4, 5, 13, 14, 16, 18, 21, 23, 29, 30, 31, 33, 35, 36, 37, 38, 39, 41, 43, 44, 46, 47, 48, 49, 50, 52, 53,
|
|
19
|
+
}, "o"), $V0 = [1, 2], $V1 = [1, 3], $V2 = [1, 4], $V3 = [2, 4], $V4 = [1, 9], $V5 = [1, 11], $V6 = [1, 13], $V7 = [1, 14], $V8 = [1, 16], $V9 = [1, 17], $Va = [1, 18], $Vb = [1, 24], $Vc = [1, 25], $Vd = [1, 26], $Ve = [1, 27], $Vf = [1, 28], $Vg = [1, 29], $Vh = [1, 30], $Vi = [1, 31], $Vj = [1, 32], $Vk = [1, 33], $Vl = [1, 34], $Vm = [1, 35], $Vn = [1, 36], $Vo = [1, 37], $Vp = [1, 38], $Vq = [1, 39], $Vr = [1, 41], $Vs = [1, 42], $Vt = [1, 43], $Vu = [1, 44], $Vv = [1, 45], $Vw = [1, 46], $Vx = [1, 4, 5, 13, 14, 16, 18, 21, 23, 29, 30, 31, 33, 35, 36, 37, 38, 39, 41, 43, 44, 46, 47, 48, 49, 50, 52, 53, 55, 60, 61, 62, 63, 71], $Vy = [2, 71], $Vz = [4, 5, 16, 50, 52, 53], $VA = [4, 5, 13, 14, 16, 18, 21, 23, 29, 30, 31, 33, 35, 36, 37, 38, 39, 41, 43, 44, 46, 50, 52, 53, 55, 60, 61, 62, 63, 71], $VB = [4, 5, 13, 14, 16, 18, 21, 23, 29, 30, 31, 33, 35, 36, 37, 38, 39, 41, 43, 44, 46, 49, 50, 52, 53, 55, 60, 61, 62, 63, 71], $VC = [4, 5, 13, 14, 16, 18, 21, 23, 29, 30, 31, 33, 35, 36, 37, 38, 39, 41, 43, 44, 46, 48, 50, 52, 53, 55, 60, 61, 62, 63, 71], $VD = [4, 5, 13, 14, 16, 18, 21, 23, 29, 30, 31, 33, 35, 36, 37, 38, 39, 41, 43, 44, 46, 47, 50, 52, 53, 55, 60, 61, 62, 63, 71], $VE = [69, 70, 71], $VF = [1, 127];
|
|
18
20
|
var parser2 = {
|
|
19
|
-
trace: /* @__PURE__ */
|
|
21
|
+
trace: /* @__PURE__ */ chunkAGHRB4JF.__name(function trace() {
|
|
20
22
|
}, "trace"),
|
|
21
23
|
yy: {},
|
|
22
|
-
symbols_: { "error": 2, "start": 3, "SPACE": 4, "NEWLINE": 5, "SD": 6, "document": 7, "line": 8, "statement": 9, "box_section": 10, "box_line": 11, "participant_statement": 12, "create": 13, "box": 14, "restOfLine": 15, "end": 16, "signal": 17, "autonumber": 18, "NUM": 19, "off": 20, "activate": 21, "actor": 22, "deactivate": 23, "note_statement": 24, "links_statement": 25, "link_statement": 26, "properties_statement": 27, "details_statement": 28, "title": 29, "legacy_title": 30, "acc_title": 31, "acc_title_value": 32, "acc_descr": 33, "acc_descr_value": 34, "acc_descr_multiline_value": 35, "loop": 36, "rect": 37, "opt": 38, "alt": 39, "else_sections": 40, "par": 41, "par_sections": 42, "par_over": 43, "critical": 44, "option_sections": 45, "break": 46, "option": 47, "and": 48, "else": 49, "participant": 50, "AS": 51, "participant_actor": 52, "destroy": 53, "
|
|
23
|
-
terminals_: { 2: "error", 4: "SPACE", 5: "NEWLINE", 6: "SD", 13: "create", 14: "box", 15: "restOfLine", 16: "end", 18: "autonumber", 19: "NUM", 20: "off", 21: "activate", 23: "deactivate", 29: "title", 30: "legacy_title", 31: "acc_title", 32: "acc_title_value", 33: "acc_descr", 34: "acc_descr_value", 35: "acc_descr_multiline_value", 36: "loop", 37: "rect", 38: "opt", 39: "alt", 41: "par", 43: "par_over", 44: "critical", 46: "break", 47: "option", 48: "and", 49: "else", 50: "participant", 51: "AS", 52: "participant_actor", 53: "destroy",
|
|
24
|
-
productions_: [0, [3, 2], [3, 2], [3, 2], [7, 0], [7, 2], [8, 2], [8, 1], [8, 1], [10, 0], [10, 2], [11, 2], [11, 1], [11, 1], [9, 1], [9, 2], [9, 4], [9, 2], [9, 4], [9, 3], [9, 3], [9, 2], [9, 3], [9, 3], [9, 2], [9, 2], [9, 2], [9, 2], [9, 2], [9, 1], [9, 1], [9, 2], [9, 2], [9, 1], [9, 4], [9, 4], [9, 4], [9, 4], [9, 4], [9, 4], [9, 4], [9, 4], [45, 1], [45, 4], [42, 1], [42, 4], [40, 1], [40, 4], [12, 5], [12, 3], [12, 5], [12, 3], [12, 3], [24, 4], [24, 4], [25, 3], [26, 3], [27, 3], [28, 3], [
|
|
25
|
-
performAction: /* @__PURE__ */
|
|
24
|
+
symbols_: { "error": 2, "start": 3, "SPACE": 4, "NEWLINE": 5, "SD": 6, "document": 7, "line": 8, "statement": 9, "box_section": 10, "box_line": 11, "participant_statement": 12, "create": 13, "box": 14, "restOfLine": 15, "end": 16, "signal": 17, "autonumber": 18, "NUM": 19, "off": 20, "activate": 21, "actor": 22, "deactivate": 23, "note_statement": 24, "links_statement": 25, "link_statement": 26, "properties_statement": 27, "details_statement": 28, "title": 29, "legacy_title": 30, "acc_title": 31, "acc_title_value": 32, "acc_descr": 33, "acc_descr_value": 34, "acc_descr_multiline_value": 35, "loop": 36, "rect": 37, "opt": 38, "alt": 39, "else_sections": 40, "par": 41, "par_sections": 42, "par_over": 43, "critical": 44, "option_sections": 45, "break": 46, "option": 47, "and": 48, "else": 49, "participant": 50, "AS": 51, "participant_actor": 52, "destroy": 53, "actor_with_config": 54, "note": 55, "placement": 56, "text2": 57, "over": 58, "actor_pair": 59, "links": 60, "link": 61, "properties": 62, "details": 63, "spaceList": 64, ",": 65, "left_of": 66, "right_of": 67, "signaltype": 68, "+": 69, "-": 70, "ACTOR": 71, "config_object": 72, "CONFIG_START": 73, "CONFIG_CONTENT": 74, "CONFIG_END": 75, "SOLID_OPEN_ARROW": 76, "DOTTED_OPEN_ARROW": 77, "SOLID_ARROW": 78, "BIDIRECTIONAL_SOLID_ARROW": 79, "DOTTED_ARROW": 80, "BIDIRECTIONAL_DOTTED_ARROW": 81, "SOLID_CROSS": 82, "DOTTED_CROSS": 83, "SOLID_POINT": 84, "DOTTED_POINT": 85, "TXT": 86, "$accept": 0, "$end": 1 },
|
|
25
|
+
terminals_: { 2: "error", 4: "SPACE", 5: "NEWLINE", 6: "SD", 13: "create", 14: "box", 15: "restOfLine", 16: "end", 18: "autonumber", 19: "NUM", 20: "off", 21: "activate", 23: "deactivate", 29: "title", 30: "legacy_title", 31: "acc_title", 32: "acc_title_value", 33: "acc_descr", 34: "acc_descr_value", 35: "acc_descr_multiline_value", 36: "loop", 37: "rect", 38: "opt", 39: "alt", 41: "par", 43: "par_over", 44: "critical", 46: "break", 47: "option", 48: "and", 49: "else", 50: "participant", 51: "AS", 52: "participant_actor", 53: "destroy", 55: "note", 58: "over", 60: "links", 61: "link", 62: "properties", 63: "details", 65: ",", 66: "left_of", 67: "right_of", 69: "+", 70: "-", 71: "ACTOR", 73: "CONFIG_START", 74: "CONFIG_CONTENT", 75: "CONFIG_END", 76: "SOLID_OPEN_ARROW", 77: "DOTTED_OPEN_ARROW", 78: "SOLID_ARROW", 79: "BIDIRECTIONAL_SOLID_ARROW", 80: "DOTTED_ARROW", 81: "BIDIRECTIONAL_DOTTED_ARROW", 82: "SOLID_CROSS", 83: "DOTTED_CROSS", 84: "SOLID_POINT", 85: "DOTTED_POINT", 86: "TXT" },
|
|
26
|
+
productions_: [0, [3, 2], [3, 2], [3, 2], [7, 0], [7, 2], [8, 2], [8, 1], [8, 1], [10, 0], [10, 2], [11, 2], [11, 1], [11, 1], [9, 1], [9, 2], [9, 4], [9, 2], [9, 4], [9, 3], [9, 3], [9, 2], [9, 3], [9, 3], [9, 2], [9, 2], [9, 2], [9, 2], [9, 2], [9, 1], [9, 1], [9, 2], [9, 2], [9, 1], [9, 4], [9, 4], [9, 4], [9, 4], [9, 4], [9, 4], [9, 4], [9, 4], [45, 1], [45, 4], [42, 1], [42, 4], [40, 1], [40, 4], [12, 5], [12, 3], [12, 5], [12, 3], [12, 3], [12, 3], [24, 4], [24, 4], [25, 3], [26, 3], [27, 3], [28, 3], [64, 2], [64, 1], [59, 3], [59, 1], [56, 1], [56, 1], [17, 5], [17, 5], [17, 4], [54, 2], [72, 3], [22, 1], [68, 1], [68, 1], [68, 1], [68, 1], [68, 1], [68, 1], [68, 1], [68, 1], [68, 1], [68, 1], [57, 1]],
|
|
27
|
+
performAction: /* @__PURE__ */ chunkAGHRB4JF.__name(function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$) {
|
|
26
28
|
var $0 = $$.length - 1;
|
|
27
29
|
switch (yystate) {
|
|
28
30
|
case 3:
|
|
@@ -167,39 +169,44 @@ var parser = function() {
|
|
|
167
169
|
this.$ = $$[$0 - 1];
|
|
168
170
|
break;
|
|
169
171
|
case 53:
|
|
170
|
-
|
|
172
|
+
$$[$0 - 1].draw = "participant";
|
|
173
|
+
$$[$0 - 1].type = "addParticipant";
|
|
174
|
+
this.$ = $$[$0 - 1];
|
|
171
175
|
break;
|
|
172
176
|
case 54:
|
|
177
|
+
this.$ = [$$[$0 - 1], { type: "addNote", placement: $$[$0 - 2], actor: $$[$0 - 1].actor, text: $$[$0] }];
|
|
178
|
+
break;
|
|
179
|
+
case 55:
|
|
173
180
|
$$[$0 - 2] = [].concat($$[$0 - 1], $$[$0 - 1]).slice(0, 2);
|
|
174
181
|
$$[$0 - 2][0] = $$[$0 - 2][0].actor;
|
|
175
182
|
$$[$0 - 2][1] = $$[$0 - 2][1].actor;
|
|
176
183
|
this.$ = [$$[$0 - 1], { type: "addNote", placement: yy.PLACEMENT.OVER, actor: $$[$0 - 2].slice(0, 2), text: $$[$0] }];
|
|
177
184
|
break;
|
|
178
|
-
case
|
|
185
|
+
case 56:
|
|
179
186
|
this.$ = [$$[$0 - 1], { type: "addLinks", actor: $$[$0 - 1].actor, text: $$[$0] }];
|
|
180
187
|
break;
|
|
181
|
-
case
|
|
188
|
+
case 57:
|
|
182
189
|
this.$ = [$$[$0 - 1], { type: "addALink", actor: $$[$0 - 1].actor, text: $$[$0] }];
|
|
183
190
|
break;
|
|
184
|
-
case
|
|
191
|
+
case 58:
|
|
185
192
|
this.$ = [$$[$0 - 1], { type: "addProperties", actor: $$[$0 - 1].actor, text: $$[$0] }];
|
|
186
193
|
break;
|
|
187
|
-
case
|
|
194
|
+
case 59:
|
|
188
195
|
this.$ = [$$[$0 - 1], { type: "addDetails", actor: $$[$0 - 1].actor, text: $$[$0] }];
|
|
189
196
|
break;
|
|
190
|
-
case
|
|
197
|
+
case 62:
|
|
191
198
|
this.$ = [$$[$0 - 2], $$[$0]];
|
|
192
199
|
break;
|
|
193
|
-
case
|
|
200
|
+
case 63:
|
|
194
201
|
this.$ = $$[$0];
|
|
195
202
|
break;
|
|
196
|
-
case
|
|
203
|
+
case 64:
|
|
197
204
|
this.$ = yy.PLACEMENT.LEFTOF;
|
|
198
205
|
break;
|
|
199
|
-
case
|
|
206
|
+
case 65:
|
|
200
207
|
this.$ = yy.PLACEMENT.RIGHTOF;
|
|
201
208
|
break;
|
|
202
|
-
case
|
|
209
|
+
case 66:
|
|
203
210
|
this.$ = [
|
|
204
211
|
$$[$0 - 4],
|
|
205
212
|
$$[$0 - 1],
|
|
@@ -207,7 +214,7 @@ var parser = function() {
|
|
|
207
214
|
{ type: "activeStart", signalType: yy.LINETYPE.ACTIVE_START, actor: $$[$0 - 1].actor }
|
|
208
215
|
];
|
|
209
216
|
break;
|
|
210
|
-
case
|
|
217
|
+
case 67:
|
|
211
218
|
this.$ = [
|
|
212
219
|
$$[$0 - 4],
|
|
213
220
|
$$[$0 - 1],
|
|
@@ -215,50 +222,60 @@ var parser = function() {
|
|
|
215
222
|
{ type: "activeEnd", signalType: yy.LINETYPE.ACTIVE_END, actor: $$[$0 - 4].actor }
|
|
216
223
|
];
|
|
217
224
|
break;
|
|
218
|
-
case
|
|
225
|
+
case 68:
|
|
219
226
|
this.$ = [$$[$0 - 3], $$[$0 - 1], { type: "addMessage", from: $$[$0 - 3].actor, to: $$[$0 - 1].actor, signalType: $$[$0 - 2], msg: $$[$0] }];
|
|
220
227
|
break;
|
|
221
|
-
case
|
|
228
|
+
case 69:
|
|
229
|
+
this.$ = {
|
|
230
|
+
type: "addParticipant",
|
|
231
|
+
actor: $$[$0 - 1],
|
|
232
|
+
config: $$[$0]
|
|
233
|
+
};
|
|
234
|
+
break;
|
|
235
|
+
case 70:
|
|
236
|
+
this.$ = $$[$0 - 1].trim();
|
|
237
|
+
break;
|
|
238
|
+
case 71:
|
|
222
239
|
this.$ = { type: "addParticipant", actor: $$[$0] };
|
|
223
240
|
break;
|
|
224
|
-
case
|
|
241
|
+
case 72:
|
|
225
242
|
this.$ = yy.LINETYPE.SOLID_OPEN;
|
|
226
243
|
break;
|
|
227
|
-
case
|
|
244
|
+
case 73:
|
|
228
245
|
this.$ = yy.LINETYPE.DOTTED_OPEN;
|
|
229
246
|
break;
|
|
230
|
-
case
|
|
247
|
+
case 74:
|
|
231
248
|
this.$ = yy.LINETYPE.SOLID;
|
|
232
249
|
break;
|
|
233
|
-
case
|
|
250
|
+
case 75:
|
|
234
251
|
this.$ = yy.LINETYPE.BIDIRECTIONAL_SOLID;
|
|
235
252
|
break;
|
|
236
|
-
case
|
|
253
|
+
case 76:
|
|
237
254
|
this.$ = yy.LINETYPE.DOTTED;
|
|
238
255
|
break;
|
|
239
|
-
case
|
|
256
|
+
case 77:
|
|
240
257
|
this.$ = yy.LINETYPE.BIDIRECTIONAL_DOTTED;
|
|
241
258
|
break;
|
|
242
|
-
case
|
|
259
|
+
case 78:
|
|
243
260
|
this.$ = yy.LINETYPE.SOLID_CROSS;
|
|
244
261
|
break;
|
|
245
|
-
case
|
|
262
|
+
case 79:
|
|
246
263
|
this.$ = yy.LINETYPE.DOTTED_CROSS;
|
|
247
264
|
break;
|
|
248
|
-
case
|
|
265
|
+
case 80:
|
|
249
266
|
this.$ = yy.LINETYPE.SOLID_POINT;
|
|
250
267
|
break;
|
|
251
|
-
case
|
|
268
|
+
case 81:
|
|
252
269
|
this.$ = yy.LINETYPE.DOTTED_POINT;
|
|
253
270
|
break;
|
|
254
|
-
case
|
|
271
|
+
case 82:
|
|
255
272
|
this.$ = yy.parseMessage($$[$0].trim().substring(1));
|
|
256
273
|
break;
|
|
257
274
|
}
|
|
258
275
|
}, "anonymous"),
|
|
259
|
-
table: [{ 3: 1, 4: $V0, 5: $V1, 6: $V2 }, { 1: [3] }, { 3: 5, 4: $V0, 5: $V1, 6: $V2 }, { 3: 6, 4: $V0, 5: $V1, 6: $V2 }, o([1, 4, 5, 13, 14, 18, 21, 23, 29, 30, 31, 33, 35, 36, 37, 38, 39, 41, 43, 44, 46, 50, 52, 53,
|
|
260
|
-
defaultActions: { 5: [2, 1], 6: [2, 2],
|
|
261
|
-
parseError: /* @__PURE__ */
|
|
276
|
+
table: [{ 3: 1, 4: $V0, 5: $V1, 6: $V2 }, { 1: [3] }, { 3: 5, 4: $V0, 5: $V1, 6: $V2 }, { 3: 6, 4: $V0, 5: $V1, 6: $V2 }, o([1, 4, 5, 13, 14, 18, 21, 23, 29, 30, 31, 33, 35, 36, 37, 38, 39, 41, 43, 44, 46, 50, 52, 53, 55, 60, 61, 62, 63, 71], $V3, { 7: 7 }), { 1: [2, 1] }, { 1: [2, 2] }, { 1: [2, 3], 4: $V4, 5: $V5, 8: 8, 9: 10, 12: 12, 13: $V6, 14: $V7, 17: 15, 18: $V8, 21: $V9, 22: 40, 23: $Va, 24: 19, 25: 20, 26: 21, 27: 22, 28: 23, 29: $Vb, 30: $Vc, 31: $Vd, 33: $Ve, 35: $Vf, 36: $Vg, 37: $Vh, 38: $Vi, 39: $Vj, 41: $Vk, 43: $Vl, 44: $Vm, 46: $Vn, 50: $Vo, 52: $Vp, 53: $Vq, 55: $Vr, 60: $Vs, 61: $Vt, 62: $Vu, 63: $Vv, 71: $Vw }, o($Vx, [2, 5]), { 9: 47, 12: 12, 13: $V6, 14: $V7, 17: 15, 18: $V8, 21: $V9, 22: 40, 23: $Va, 24: 19, 25: 20, 26: 21, 27: 22, 28: 23, 29: $Vb, 30: $Vc, 31: $Vd, 33: $Ve, 35: $Vf, 36: $Vg, 37: $Vh, 38: $Vi, 39: $Vj, 41: $Vk, 43: $Vl, 44: $Vm, 46: $Vn, 50: $Vo, 52: $Vp, 53: $Vq, 55: $Vr, 60: $Vs, 61: $Vt, 62: $Vu, 63: $Vv, 71: $Vw }, o($Vx, [2, 7]), o($Vx, [2, 8]), o($Vx, [2, 14]), { 12: 48, 50: $Vo, 52: $Vp, 53: $Vq }, { 15: [1, 49] }, { 5: [1, 50] }, { 5: [1, 53], 19: [1, 51], 20: [1, 52] }, { 22: 54, 71: $Vw }, { 22: 55, 71: $Vw }, { 5: [1, 56] }, { 5: [1, 57] }, { 5: [1, 58] }, { 5: [1, 59] }, { 5: [1, 60] }, o($Vx, [2, 29]), o($Vx, [2, 30]), { 32: [1, 61] }, { 34: [1, 62] }, o($Vx, [2, 33]), { 15: [1, 63] }, { 15: [1, 64] }, { 15: [1, 65] }, { 15: [1, 66] }, { 15: [1, 67] }, { 15: [1, 68] }, { 15: [1, 69] }, { 15: [1, 70] }, { 22: 71, 54: 72, 71: [1, 73] }, { 22: 74, 71: $Vw }, { 22: 75, 71: $Vw }, { 68: 76, 76: [1, 77], 77: [1, 78], 78: [1, 79], 79: [1, 80], 80: [1, 81], 81: [1, 82], 82: [1, 83], 83: [1, 84], 84: [1, 85], 85: [1, 86] }, { 56: 87, 58: [1, 88], 66: [1, 89], 67: [1, 90] }, { 22: 91, 71: $Vw }, { 22: 92, 71: $Vw }, { 22: 93, 71: $Vw }, { 22: 94, 71: $Vw }, o([5, 51, 65, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86], $Vy), o($Vx, [2, 6]), o($Vx, [2, 15]), o($Vz, [2, 9], { 10: 95 }), o($Vx, [2, 17]), { 5: [1, 97], 19: [1, 96] }, { 5: [1, 98] }, o($Vx, [2, 21]), { 5: [1, 99] }, { 5: [1, 100] }, o($Vx, [2, 24]), o($Vx, [2, 25]), o($Vx, [2, 26]), o($Vx, [2, 27]), o($Vx, [2, 28]), o($Vx, [2, 31]), o($Vx, [2, 32]), o($VA, $V3, { 7: 101 }), o($VA, $V3, { 7: 102 }), o($VA, $V3, { 7: 103 }), o($VB, $V3, { 40: 104, 7: 105 }), o($VC, $V3, { 42: 106, 7: 107 }), o($VC, $V3, { 7: 107, 42: 108 }), o($VD, $V3, { 45: 109, 7: 110 }), o($VA, $V3, { 7: 111 }), { 5: [1, 113], 51: [1, 112] }, { 5: [1, 114] }, o([5, 51], $Vy, { 72: 115, 73: [1, 116] }), { 5: [1, 118], 51: [1, 117] }, { 5: [1, 119] }, { 22: 122, 69: [1, 120], 70: [1, 121], 71: $Vw }, o($VE, [2, 72]), o($VE, [2, 73]), o($VE, [2, 74]), o($VE, [2, 75]), o($VE, [2, 76]), o($VE, [2, 77]), o($VE, [2, 78]), o($VE, [2, 79]), o($VE, [2, 80]), o($VE, [2, 81]), { 22: 123, 71: $Vw }, { 22: 125, 59: 124, 71: $Vw }, { 71: [2, 64] }, { 71: [2, 65] }, { 57: 126, 86: $VF }, { 57: 128, 86: $VF }, { 57: 129, 86: $VF }, { 57: 130, 86: $VF }, { 4: [1, 133], 5: [1, 135], 11: 132, 12: 134, 16: [1, 131], 50: $Vo, 52: $Vp, 53: $Vq }, { 5: [1, 136] }, o($Vx, [2, 19]), o($Vx, [2, 20]), o($Vx, [2, 22]), o($Vx, [2, 23]), { 4: $V4, 5: $V5, 8: 8, 9: 10, 12: 12, 13: $V6, 14: $V7, 16: [1, 137], 17: 15, 18: $V8, 21: $V9, 22: 40, 23: $Va, 24: 19, 25: 20, 26: 21, 27: 22, 28: 23, 29: $Vb, 30: $Vc, 31: $Vd, 33: $Ve, 35: $Vf, 36: $Vg, 37: $Vh, 38: $Vi, 39: $Vj, 41: $Vk, 43: $Vl, 44: $Vm, 46: $Vn, 50: $Vo, 52: $Vp, 53: $Vq, 55: $Vr, 60: $Vs, 61: $Vt, 62: $Vu, 63: $Vv, 71: $Vw }, { 4: $V4, 5: $V5, 8: 8, 9: 10, 12: 12, 13: $V6, 14: $V7, 16: [1, 138], 17: 15, 18: $V8, 21: $V9, 22: 40, 23: $Va, 24: 19, 25: 20, 26: 21, 27: 22, 28: 23, 29: $Vb, 30: $Vc, 31: $Vd, 33: $Ve, 35: $Vf, 36: $Vg, 37: $Vh, 38: $Vi, 39: $Vj, 41: $Vk, 43: $Vl, 44: $Vm, 46: $Vn, 50: $Vo, 52: $Vp, 53: $Vq, 55: $Vr, 60: $Vs, 61: $Vt, 62: $Vu, 63: $Vv, 71: $Vw }, { 4: $V4, 5: $V5, 8: 8, 9: 10, 12: 12, 13: $V6, 14: $V7, 16: [1, 139], 17: 15, 18: $V8, 21: $V9, 22: 40, 23: $Va, 24: 19, 25: 20, 26: 21, 27: 22, 28: 23, 29: $Vb, 30: $Vc, 31: $Vd, 33: $Ve, 35: $Vf, 36: $Vg, 37: $Vh, 38: $Vi, 39: $Vj, 41: $Vk, 43: $Vl, 44: $Vm, 46: $Vn, 50: $Vo, 52: $Vp, 53: $Vq, 55: $Vr, 60: $Vs, 61: $Vt, 62: $Vu, 63: $Vv, 71: $Vw }, { 16: [1, 140] }, { 4: $V4, 5: $V5, 8: 8, 9: 10, 12: 12, 13: $V6, 14: $V7, 16: [2, 46], 17: 15, 18: $V8, 21: $V9, 22: 40, 23: $Va, 24: 19, 25: 20, 26: 21, 27: 22, 28: 23, 29: $Vb, 30: $Vc, 31: $Vd, 33: $Ve, 35: $Vf, 36: $Vg, 37: $Vh, 38: $Vi, 39: $Vj, 41: $Vk, 43: $Vl, 44: $Vm, 46: $Vn, 49: [1, 141], 50: $Vo, 52: $Vp, 53: $Vq, 55: $Vr, 60: $Vs, 61: $Vt, 62: $Vu, 63: $Vv, 71: $Vw }, { 16: [1, 142] }, { 4: $V4, 5: $V5, 8: 8, 9: 10, 12: 12, 13: $V6, 14: $V7, 16: [2, 44], 17: 15, 18: $V8, 21: $V9, 22: 40, 23: $Va, 24: 19, 25: 20, 26: 21, 27: 22, 28: 23, 29: $Vb, 30: $Vc, 31: $Vd, 33: $Ve, 35: $Vf, 36: $Vg, 37: $Vh, 38: $Vi, 39: $Vj, 41: $Vk, 43: $Vl, 44: $Vm, 46: $Vn, 48: [1, 143], 50: $Vo, 52: $Vp, 53: $Vq, 55: $Vr, 60: $Vs, 61: $Vt, 62: $Vu, 63: $Vv, 71: $Vw }, { 16: [1, 144] }, { 16: [1, 145] }, { 4: $V4, 5: $V5, 8: 8, 9: 10, 12: 12, 13: $V6, 14: $V7, 16: [2, 42], 17: 15, 18: $V8, 21: $V9, 22: 40, 23: $Va, 24: 19, 25: 20, 26: 21, 27: 22, 28: 23, 29: $Vb, 30: $Vc, 31: $Vd, 33: $Ve, 35: $Vf, 36: $Vg, 37: $Vh, 38: $Vi, 39: $Vj, 41: $Vk, 43: $Vl, 44: $Vm, 46: $Vn, 47: [1, 146], 50: $Vo, 52: $Vp, 53: $Vq, 55: $Vr, 60: $Vs, 61: $Vt, 62: $Vu, 63: $Vv, 71: $Vw }, { 4: $V4, 5: $V5, 8: 8, 9: 10, 12: 12, 13: $V6, 14: $V7, 16: [1, 147], 17: 15, 18: $V8, 21: $V9, 22: 40, 23: $Va, 24: 19, 25: 20, 26: 21, 27: 22, 28: 23, 29: $Vb, 30: $Vc, 31: $Vd, 33: $Ve, 35: $Vf, 36: $Vg, 37: $Vh, 38: $Vi, 39: $Vj, 41: $Vk, 43: $Vl, 44: $Vm, 46: $Vn, 50: $Vo, 52: $Vp, 53: $Vq, 55: $Vr, 60: $Vs, 61: $Vt, 62: $Vu, 63: $Vv, 71: $Vw }, { 15: [1, 148] }, o($Vx, [2, 49]), o($Vx, [2, 53]), { 5: [2, 69] }, { 74: [1, 149] }, { 15: [1, 150] }, o($Vx, [2, 51]), o($Vx, [2, 52]), { 22: 151, 71: $Vw }, { 22: 152, 71: $Vw }, { 57: 153, 86: $VF }, { 57: 154, 86: $VF }, { 57: 155, 86: $VF }, { 65: [1, 156], 86: [2, 63] }, { 5: [2, 56] }, { 5: [2, 82] }, { 5: [2, 57] }, { 5: [2, 58] }, { 5: [2, 59] }, o($Vx, [2, 16]), o($Vz, [2, 10]), { 12: 157, 50: $Vo, 52: $Vp, 53: $Vq }, o($Vz, [2, 12]), o($Vz, [2, 13]), o($Vx, [2, 18]), o($Vx, [2, 34]), o($Vx, [2, 35]), o($Vx, [2, 36]), o($Vx, [2, 37]), { 15: [1, 158] }, o($Vx, [2, 38]), { 15: [1, 159] }, o($Vx, [2, 39]), o($Vx, [2, 40]), { 15: [1, 160] }, o($Vx, [2, 41]), { 5: [1, 161] }, { 75: [1, 162] }, { 5: [1, 163] }, { 57: 164, 86: $VF }, { 57: 165, 86: $VF }, { 5: [2, 68] }, { 5: [2, 54] }, { 5: [2, 55] }, { 22: 166, 71: $Vw }, o($Vz, [2, 11]), o($VB, $V3, { 7: 105, 40: 167 }), o($VC, $V3, { 7: 107, 42: 168 }), o($VD, $V3, { 7: 110, 45: 169 }), o($Vx, [2, 48]), { 5: [2, 70] }, o($Vx, [2, 50]), { 5: [2, 66] }, { 5: [2, 67] }, { 86: [2, 62] }, { 16: [2, 47] }, { 16: [2, 45] }, { 16: [2, 43] }],
|
|
277
|
+
defaultActions: { 5: [2, 1], 6: [2, 2], 89: [2, 64], 90: [2, 65], 115: [2, 69], 126: [2, 56], 127: [2, 82], 128: [2, 57], 129: [2, 58], 130: [2, 59], 153: [2, 68], 154: [2, 54], 155: [2, 55], 162: [2, 70], 164: [2, 66], 165: [2, 67], 166: [2, 62], 167: [2, 47], 168: [2, 45], 169: [2, 43] },
|
|
278
|
+
parseError: /* @__PURE__ */ chunkAGHRB4JF.__name(function parseError(str, hash) {
|
|
262
279
|
if (hash.recoverable) {
|
|
263
280
|
this.trace(str);
|
|
264
281
|
} else {
|
|
@@ -267,7 +284,7 @@ var parser = function() {
|
|
|
267
284
|
throw error;
|
|
268
285
|
}
|
|
269
286
|
}, "parseError"),
|
|
270
|
-
parse: /* @__PURE__ */
|
|
287
|
+
parse: /* @__PURE__ */ chunkAGHRB4JF.__name(function parse(input) {
|
|
271
288
|
var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = "", yylineno = 0, yyleng = 0, TERROR = 2, EOF = 1;
|
|
272
289
|
var args = lstack.slice.call(arguments, 1);
|
|
273
290
|
var lexer2 = Object.create(this.lexer);
|
|
@@ -296,7 +313,7 @@ var parser = function() {
|
|
|
296
313
|
vstack.length = vstack.length - n;
|
|
297
314
|
lstack.length = lstack.length - n;
|
|
298
315
|
}
|
|
299
|
-
|
|
316
|
+
chunkAGHRB4JF.__name(popStack, "popStack");
|
|
300
317
|
function lex() {
|
|
301
318
|
var token;
|
|
302
319
|
token = tstack.pop() || lexer2.lex() || EOF;
|
|
@@ -309,7 +326,7 @@ var parser = function() {
|
|
|
309
326
|
}
|
|
310
327
|
return token;
|
|
311
328
|
}
|
|
312
|
-
|
|
329
|
+
chunkAGHRB4JF.__name(lex, "lex");
|
|
313
330
|
var symbol, state, action, r, yyval = {}, p, len, newState, expected;
|
|
314
331
|
while (true) {
|
|
315
332
|
state = stack[stack.length - 1];
|
|
@@ -404,10 +421,10 @@ var parser = function() {
|
|
|
404
421
|
return true;
|
|
405
422
|
}, "parse")
|
|
406
423
|
};
|
|
407
|
-
var lexer = /* @__PURE__ */ function() {
|
|
424
|
+
var lexer = /* @__PURE__ */ (function() {
|
|
408
425
|
var lexer2 = {
|
|
409
426
|
EOF: 1,
|
|
410
|
-
parseError: /* @__PURE__ */
|
|
427
|
+
parseError: /* @__PURE__ */ chunkAGHRB4JF.__name(function parseError(str, hash) {
|
|
411
428
|
if (this.yy.parser) {
|
|
412
429
|
this.yy.parser.parseError(str, hash);
|
|
413
430
|
} else {
|
|
@@ -415,7 +432,7 @@ var parser = function() {
|
|
|
415
432
|
}
|
|
416
433
|
}, "parseError"),
|
|
417
434
|
// resets the lexer, sets new input
|
|
418
|
-
setInput: /* @__PURE__ */
|
|
435
|
+
setInput: /* @__PURE__ */ chunkAGHRB4JF.__name(function(input, yy) {
|
|
419
436
|
this.yy = yy || this.yy || {};
|
|
420
437
|
this._input = input;
|
|
421
438
|
this._more = this._backtrack = this.done = false;
|
|
@@ -435,7 +452,7 @@ var parser = function() {
|
|
|
435
452
|
return this;
|
|
436
453
|
}, "setInput"),
|
|
437
454
|
// consumes and returns one char from the input
|
|
438
|
-
input: /* @__PURE__ */
|
|
455
|
+
input: /* @__PURE__ */ chunkAGHRB4JF.__name(function() {
|
|
439
456
|
var ch = this._input[0];
|
|
440
457
|
this.yytext += ch;
|
|
441
458
|
this.yyleng++;
|
|
@@ -456,7 +473,7 @@ var parser = function() {
|
|
|
456
473
|
return ch;
|
|
457
474
|
}, "input"),
|
|
458
475
|
// unshifts one char (or a string) into the input
|
|
459
|
-
unput: /* @__PURE__ */
|
|
476
|
+
unput: /* @__PURE__ */ chunkAGHRB4JF.__name(function(ch) {
|
|
460
477
|
var len = ch.length;
|
|
461
478
|
var lines = ch.split(/(?:\r\n?|\n)/g);
|
|
462
479
|
this._input = ch + this._input;
|
|
@@ -482,12 +499,12 @@ var parser = function() {
|
|
|
482
499
|
return this;
|
|
483
500
|
}, "unput"),
|
|
484
501
|
// When called from action, caches matched text and appends it on next action
|
|
485
|
-
more: /* @__PURE__ */
|
|
502
|
+
more: /* @__PURE__ */ chunkAGHRB4JF.__name(function() {
|
|
486
503
|
this._more = true;
|
|
487
504
|
return this;
|
|
488
505
|
}, "more"),
|
|
489
506
|
// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.
|
|
490
|
-
reject: /* @__PURE__ */
|
|
507
|
+
reject: /* @__PURE__ */ chunkAGHRB4JF.__name(function() {
|
|
491
508
|
if (this.options.backtrack_lexer) {
|
|
492
509
|
this._backtrack = true;
|
|
493
510
|
} else {
|
|
@@ -500,16 +517,16 @@ var parser = function() {
|
|
|
500
517
|
return this;
|
|
501
518
|
}, "reject"),
|
|
502
519
|
// retain first n characters of the match
|
|
503
|
-
less: /* @__PURE__ */
|
|
520
|
+
less: /* @__PURE__ */ chunkAGHRB4JF.__name(function(n) {
|
|
504
521
|
this.unput(this.match.slice(n));
|
|
505
522
|
}, "less"),
|
|
506
523
|
// displays already matched input, i.e. for error messages
|
|
507
|
-
pastInput: /* @__PURE__ */
|
|
524
|
+
pastInput: /* @__PURE__ */ chunkAGHRB4JF.__name(function() {
|
|
508
525
|
var past = this.matched.substr(0, this.matched.length - this.match.length);
|
|
509
526
|
return (past.length > 20 ? "..." : "") + past.substr(-20).replace(/\n/g, "");
|
|
510
527
|
}, "pastInput"),
|
|
511
528
|
// displays upcoming input, i.e. for error messages
|
|
512
|
-
upcomingInput: /* @__PURE__ */
|
|
529
|
+
upcomingInput: /* @__PURE__ */ chunkAGHRB4JF.__name(function() {
|
|
513
530
|
var next = this.match;
|
|
514
531
|
if (next.length < 20) {
|
|
515
532
|
next += this._input.substr(0, 20 - next.length);
|
|
@@ -517,13 +534,13 @@ var parser = function() {
|
|
|
517
534
|
return (next.substr(0, 20) + (next.length > 20 ? "..." : "")).replace(/\n/g, "");
|
|
518
535
|
}, "upcomingInput"),
|
|
519
536
|
// displays the character position where the lexing error occurred, i.e. for error messages
|
|
520
|
-
showPosition: /* @__PURE__ */
|
|
537
|
+
showPosition: /* @__PURE__ */ chunkAGHRB4JF.__name(function() {
|
|
521
538
|
var pre = this.pastInput();
|
|
522
539
|
var c = new Array(pre.length + 1).join("-");
|
|
523
540
|
return pre + this.upcomingInput() + "\n" + c + "^";
|
|
524
541
|
}, "showPosition"),
|
|
525
542
|
// test the lexed token: return FALSE when not a match, otherwise return token
|
|
526
|
-
test_match: /* @__PURE__ */
|
|
543
|
+
test_match: /* @__PURE__ */ chunkAGHRB4JF.__name(function(match, indexed_rule) {
|
|
527
544
|
var token, lines, backup;
|
|
528
545
|
if (this.options.backtrack_lexer) {
|
|
529
546
|
backup = {
|
|
@@ -586,7 +603,7 @@ var parser = function() {
|
|
|
586
603
|
return false;
|
|
587
604
|
}, "test_match"),
|
|
588
605
|
// return next match in input
|
|
589
|
-
next: /* @__PURE__ */
|
|
606
|
+
next: /* @__PURE__ */ chunkAGHRB4JF.__name(function() {
|
|
590
607
|
if (this.done) {
|
|
591
608
|
return this.EOF;
|
|
592
609
|
}
|
|
@@ -637,7 +654,7 @@ var parser = function() {
|
|
|
637
654
|
}
|
|
638
655
|
}, "next"),
|
|
639
656
|
// return next match that has a token
|
|
640
|
-
lex: /* @__PURE__ */
|
|
657
|
+
lex: /* @__PURE__ */ chunkAGHRB4JF.__name(function lex() {
|
|
641
658
|
var r = this.next();
|
|
642
659
|
if (r) {
|
|
643
660
|
return r;
|
|
@@ -646,11 +663,11 @@ var parser = function() {
|
|
|
646
663
|
}
|
|
647
664
|
}, "lex"),
|
|
648
665
|
// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
|
|
649
|
-
begin: /* @__PURE__ */
|
|
666
|
+
begin: /* @__PURE__ */ chunkAGHRB4JF.__name(function begin(condition) {
|
|
650
667
|
this.conditionStack.push(condition);
|
|
651
668
|
}, "begin"),
|
|
652
669
|
// pop the previously active lexer condition state off the condition stack
|
|
653
|
-
popState: /* @__PURE__ */
|
|
670
|
+
popState: /* @__PURE__ */ chunkAGHRB4JF.__name(function popState() {
|
|
654
671
|
var n = this.conditionStack.length - 1;
|
|
655
672
|
if (n > 0) {
|
|
656
673
|
return this.conditionStack.pop();
|
|
@@ -659,7 +676,7 @@ var parser = function() {
|
|
|
659
676
|
}
|
|
660
677
|
}, "popState"),
|
|
661
678
|
// produce the lexer rule set which is active for the currently active lexer condition state
|
|
662
|
-
_currentRules: /* @__PURE__ */
|
|
679
|
+
_currentRules: /* @__PURE__ */ chunkAGHRB4JF.__name(function _currentRules() {
|
|
663
680
|
if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {
|
|
664
681
|
return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;
|
|
665
682
|
} else {
|
|
@@ -667,7 +684,7 @@ var parser = function() {
|
|
|
667
684
|
}
|
|
668
685
|
}, "_currentRules"),
|
|
669
686
|
// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
|
|
670
|
-
topState: /* @__PURE__ */
|
|
687
|
+
topState: /* @__PURE__ */ chunkAGHRB4JF.__name(function topState(n) {
|
|
671
688
|
n = this.conditionStack.length - 1 - Math.abs(n || 0);
|
|
672
689
|
if (n >= 0) {
|
|
673
690
|
return this.conditionStack[n];
|
|
@@ -676,15 +693,15 @@ var parser = function() {
|
|
|
676
693
|
}
|
|
677
694
|
}, "topState"),
|
|
678
695
|
// alias for begin(condition)
|
|
679
|
-
pushState: /* @__PURE__ */
|
|
696
|
+
pushState: /* @__PURE__ */ chunkAGHRB4JF.__name(function pushState(condition) {
|
|
680
697
|
this.begin(condition);
|
|
681
698
|
}, "pushState"),
|
|
682
699
|
// return the number of states currently on the stack
|
|
683
|
-
stateStackSize: /* @__PURE__ */
|
|
700
|
+
stateStackSize: /* @__PURE__ */ chunkAGHRB4JF.__name(function stateStackSize() {
|
|
684
701
|
return this.conditionStack.length;
|
|
685
702
|
}, "stateStackSize"),
|
|
686
703
|
options: { "case-insensitive": true },
|
|
687
|
-
performAction: /* @__PURE__ */
|
|
704
|
+
performAction: /* @__PURE__ */ chunkAGHRB4JF.__name(function anonymous(yy, yy_, $avoiding_name_collisions, YY_START) {
|
|
688
705
|
switch ($avoiding_name_collisions) {
|
|
689
706
|
case 0:
|
|
690
707
|
return 5;
|
|
@@ -701,177 +718,193 @@ var parser = function() {
|
|
|
701
718
|
case 6:
|
|
702
719
|
return 19;
|
|
703
720
|
case 7:
|
|
721
|
+
this.begin("CONFIG");
|
|
722
|
+
return 73;
|
|
723
|
+
case 8:
|
|
724
|
+
return 74;
|
|
725
|
+
case 9:
|
|
726
|
+
this.popState();
|
|
727
|
+
this.popState();
|
|
728
|
+
return 75;
|
|
729
|
+
case 10:
|
|
730
|
+
yy_.yytext = yy_.yytext.trim();
|
|
731
|
+
return 71;
|
|
732
|
+
case 11:
|
|
733
|
+
yy_.yytext = yy_.yytext.trim();
|
|
734
|
+
this.begin("ALIAS");
|
|
735
|
+
return 71;
|
|
736
|
+
case 12:
|
|
704
737
|
this.begin("LINE");
|
|
705
738
|
return 14;
|
|
706
|
-
case
|
|
739
|
+
case 13:
|
|
707
740
|
this.begin("ID");
|
|
708
741
|
return 50;
|
|
709
|
-
case
|
|
742
|
+
case 14:
|
|
710
743
|
this.begin("ID");
|
|
711
744
|
return 52;
|
|
712
|
-
case
|
|
745
|
+
case 15:
|
|
713
746
|
return 13;
|
|
714
|
-
case
|
|
747
|
+
case 16:
|
|
715
748
|
this.begin("ID");
|
|
716
749
|
return 53;
|
|
717
|
-
case
|
|
750
|
+
case 17:
|
|
718
751
|
yy_.yytext = yy_.yytext.trim();
|
|
719
752
|
this.begin("ALIAS");
|
|
720
|
-
return
|
|
721
|
-
case
|
|
753
|
+
return 71;
|
|
754
|
+
case 18:
|
|
722
755
|
this.popState();
|
|
723
756
|
this.popState();
|
|
724
757
|
this.begin("LINE");
|
|
725
758
|
return 51;
|
|
726
|
-
case
|
|
759
|
+
case 19:
|
|
727
760
|
this.popState();
|
|
728
761
|
this.popState();
|
|
729
762
|
return 5;
|
|
730
|
-
case
|
|
763
|
+
case 20:
|
|
731
764
|
this.begin("LINE");
|
|
732
765
|
return 36;
|
|
733
|
-
case
|
|
766
|
+
case 21:
|
|
734
767
|
this.begin("LINE");
|
|
735
768
|
return 37;
|
|
736
|
-
case
|
|
769
|
+
case 22:
|
|
737
770
|
this.begin("LINE");
|
|
738
771
|
return 38;
|
|
739
|
-
case
|
|
772
|
+
case 23:
|
|
740
773
|
this.begin("LINE");
|
|
741
774
|
return 39;
|
|
742
|
-
case
|
|
775
|
+
case 24:
|
|
743
776
|
this.begin("LINE");
|
|
744
777
|
return 49;
|
|
745
|
-
case
|
|
778
|
+
case 25:
|
|
746
779
|
this.begin("LINE");
|
|
747
780
|
return 41;
|
|
748
|
-
case
|
|
781
|
+
case 26:
|
|
749
782
|
this.begin("LINE");
|
|
750
783
|
return 43;
|
|
751
|
-
case
|
|
784
|
+
case 27:
|
|
752
785
|
this.begin("LINE");
|
|
753
786
|
return 48;
|
|
754
|
-
case
|
|
787
|
+
case 28:
|
|
755
788
|
this.begin("LINE");
|
|
756
789
|
return 44;
|
|
757
|
-
case
|
|
790
|
+
case 29:
|
|
758
791
|
this.begin("LINE");
|
|
759
792
|
return 47;
|
|
760
|
-
case
|
|
793
|
+
case 30:
|
|
761
794
|
this.begin("LINE");
|
|
762
795
|
return 46;
|
|
763
|
-
case
|
|
796
|
+
case 31:
|
|
764
797
|
this.popState();
|
|
765
798
|
return 15;
|
|
766
|
-
case 27:
|
|
767
|
-
return 16;
|
|
768
|
-
case 28:
|
|
769
|
-
return 65;
|
|
770
|
-
case 29:
|
|
771
|
-
return 66;
|
|
772
|
-
case 30:
|
|
773
|
-
return 59;
|
|
774
|
-
case 31:
|
|
775
|
-
return 60;
|
|
776
799
|
case 32:
|
|
777
|
-
return
|
|
800
|
+
return 16;
|
|
778
801
|
case 33:
|
|
779
|
-
return
|
|
802
|
+
return 66;
|
|
780
803
|
case 34:
|
|
781
|
-
return
|
|
804
|
+
return 67;
|
|
782
805
|
case 35:
|
|
783
|
-
return
|
|
806
|
+
return 60;
|
|
784
807
|
case 36:
|
|
808
|
+
return 61;
|
|
809
|
+
case 37:
|
|
810
|
+
return 62;
|
|
811
|
+
case 38:
|
|
812
|
+
return 63;
|
|
813
|
+
case 39:
|
|
814
|
+
return 58;
|
|
815
|
+
case 40:
|
|
816
|
+
return 55;
|
|
817
|
+
case 41:
|
|
785
818
|
this.begin("ID");
|
|
786
819
|
return 21;
|
|
787
|
-
case
|
|
820
|
+
case 42:
|
|
788
821
|
this.begin("ID");
|
|
789
822
|
return 23;
|
|
790
|
-
case
|
|
823
|
+
case 43:
|
|
791
824
|
return 29;
|
|
792
|
-
case
|
|
825
|
+
case 44:
|
|
793
826
|
return 30;
|
|
794
|
-
case
|
|
827
|
+
case 45:
|
|
795
828
|
this.begin("acc_title");
|
|
796
829
|
return 31;
|
|
797
|
-
case
|
|
830
|
+
case 46:
|
|
798
831
|
this.popState();
|
|
799
832
|
return "acc_title_value";
|
|
800
|
-
case
|
|
833
|
+
case 47:
|
|
801
834
|
this.begin("acc_descr");
|
|
802
835
|
return 33;
|
|
803
|
-
case
|
|
836
|
+
case 48:
|
|
804
837
|
this.popState();
|
|
805
838
|
return "acc_descr_value";
|
|
806
|
-
case
|
|
839
|
+
case 49:
|
|
807
840
|
this.begin("acc_descr_multiline");
|
|
808
841
|
break;
|
|
809
|
-
case
|
|
842
|
+
case 50:
|
|
810
843
|
this.popState();
|
|
811
844
|
break;
|
|
812
|
-
case 46:
|
|
813
|
-
return "acc_descr_multiline_value";
|
|
814
|
-
case 47:
|
|
815
|
-
return 6;
|
|
816
|
-
case 48:
|
|
817
|
-
return 18;
|
|
818
|
-
case 49:
|
|
819
|
-
return 20;
|
|
820
|
-
case 50:
|
|
821
|
-
return 64;
|
|
822
845
|
case 51:
|
|
823
|
-
return
|
|
846
|
+
return "acc_descr_multiline_value";
|
|
824
847
|
case 52:
|
|
825
|
-
|
|
826
|
-
return 70;
|
|
848
|
+
return 6;
|
|
827
849
|
case 53:
|
|
828
|
-
return
|
|
850
|
+
return 18;
|
|
829
851
|
case 54:
|
|
830
|
-
return
|
|
852
|
+
return 20;
|
|
831
853
|
case 55:
|
|
832
|
-
return
|
|
854
|
+
return 65;
|
|
833
855
|
case 56:
|
|
834
|
-
return
|
|
856
|
+
return 5;
|
|
835
857
|
case 57:
|
|
858
|
+
yy_.yytext = yy_.yytext.trim();
|
|
836
859
|
return 71;
|
|
837
860
|
case 58:
|
|
838
|
-
return
|
|
861
|
+
return 78;
|
|
839
862
|
case 59:
|
|
840
|
-
return
|
|
863
|
+
return 79;
|
|
841
864
|
case 60:
|
|
842
|
-
return
|
|
865
|
+
return 80;
|
|
843
866
|
case 61:
|
|
844
|
-
return
|
|
867
|
+
return 81;
|
|
845
868
|
case 62:
|
|
846
|
-
return
|
|
869
|
+
return 76;
|
|
847
870
|
case 63:
|
|
848
|
-
return
|
|
871
|
+
return 77;
|
|
849
872
|
case 64:
|
|
850
|
-
return
|
|
873
|
+
return 82;
|
|
851
874
|
case 65:
|
|
852
|
-
return
|
|
875
|
+
return 83;
|
|
853
876
|
case 66:
|
|
854
|
-
return
|
|
877
|
+
return 84;
|
|
855
878
|
case 67:
|
|
856
|
-
return
|
|
879
|
+
return 85;
|
|
857
880
|
case 68:
|
|
881
|
+
return 86;
|
|
882
|
+
case 69:
|
|
883
|
+
return 86;
|
|
884
|
+
case 70:
|
|
885
|
+
return 69;
|
|
886
|
+
case 71:
|
|
887
|
+
return 70;
|
|
888
|
+
case 72:
|
|
889
|
+
return 5;
|
|
890
|
+
case 73:
|
|
858
891
|
return "INVALID";
|
|
859
892
|
}
|
|
860
893
|
}, "anonymous"),
|
|
861
|
-
rules: [/^(?:[\n]+)/i, /^(?:\s+)/i, /^(?:((?!\n)\s)+)/i, /^(?:#[^\n]*)/i, /^(?:%(?!\{)[^\n]*)/i, /^(?:[^\}]%%[^\n]*)/i, /^(?:[0-9]+(?=[ \n]+))/i, /^(?:box\b)/i, /^(?:participant\b)/i, /^(?:actor\b)/i, /^(?:create\b)/i, /^(?:destroy\b)/i, /^(?:[
|
|
862
|
-
conditions: { "acc_descr_multiline": { "rules": [
|
|
894
|
+
rules: [/^(?:[\n]+)/i, /^(?:\s+)/i, /^(?:((?!\n)\s)+)/i, /^(?:#[^\n]*)/i, /^(?:%(?!\{)[^\n]*)/i, /^(?:[^\}]%%[^\n]*)/i, /^(?:[0-9]+(?=[ \n]+))/i, /^(?:@\{)/i, /^(?:[^\}]+)/i, /^(?:\})/i, /^(?:[^\<->\->:\n,;@\s]+(?=@\{))/i, /^(?:[^\<->\->:\n,;@]+?([\-]*[^\<->\->:\n,;@]+?)*?(?=((?!\n)\s)+as(?!\n)\s|[#\n;]|$))/i, /^(?:box\b)/i, /^(?:participant\b)/i, /^(?:actor\b)/i, /^(?:create\b)/i, /^(?:destroy\b)/i, /^(?:[^<\->\->:\n,;]+?([\-]*[^<\->\->:\n,;]+?)*?(?=((?!\n)\s)+as(?!\n)\s|[#\n;]|$))/i, /^(?:as\b)/i, /^(?:(?:))/i, /^(?:loop\b)/i, /^(?:rect\b)/i, /^(?:opt\b)/i, /^(?:alt\b)/i, /^(?:else\b)/i, /^(?:par\b)/i, /^(?:par_over\b)/i, /^(?:and\b)/i, /^(?:critical\b)/i, /^(?:option\b)/i, /^(?:break\b)/i, /^(?:(?:[:]?(?:no)?wrap)?[^#\n;]*)/i, /^(?:end\b)/i, /^(?:left of\b)/i, /^(?:right of\b)/i, /^(?:links\b)/i, /^(?:link\b)/i, /^(?:properties\b)/i, /^(?:details\b)/i, /^(?:over\b)/i, /^(?:note\b)/i, /^(?:activate\b)/i, /^(?:deactivate\b)/i, /^(?:title\s[^#\n;]+)/i, /^(?:title:\s[^#\n;]+)/i, /^(?:accTitle\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*\{\s*)/i, /^(?:[\}])/i, /^(?:[^\}]*)/i, /^(?:sequenceDiagram\b)/i, /^(?:autonumber\b)/i, /^(?:off\b)/i, /^(?:,)/i, /^(?:;)/i, /^(?:[^+<\->\->:\n,;]+((?!(-x|--x|-\)|--\)))[\-]*[^\+<\->\->:\n,;]+)*)/i, /^(?:->>)/i, /^(?:<<->>)/i, /^(?:-->>)/i, /^(?:<<-->>)/i, /^(?:->)/i, /^(?:-->)/i, /^(?:-[x])/i, /^(?:--[x])/i, /^(?:-[\)])/i, /^(?:--[\)])/i, /^(?::(?:(?:no)?wrap)?[^#\n;]*)/i, /^(?::)/i, /^(?:\+)/i, /^(?:-)/i, /^(?:$)/i, /^(?:.)/i],
|
|
895
|
+
conditions: { "acc_descr_multiline": { "rules": [50, 51], "inclusive": false }, "acc_descr": { "rules": [48], "inclusive": false }, "acc_title": { "rules": [46], "inclusive": false }, "ID": { "rules": [2, 3, 7, 10, 11, 17], "inclusive": false }, "ALIAS": { "rules": [2, 3, 18, 19], "inclusive": false }, "LINE": { "rules": [2, 3, 31], "inclusive": false }, "CONFIG": { "rules": [8, 9], "inclusive": false }, "CONFIG_DATA": { "rules": [], "inclusive": false }, "INITIAL": { "rules": [0, 1, 3, 4, 5, 6, 12, 13, 14, 15, 16, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 47, 49, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73], "inclusive": true } }
|
|
863
896
|
};
|
|
864
897
|
return lexer2;
|
|
865
|
-
}();
|
|
898
|
+
})();
|
|
866
899
|
parser2.lexer = lexer;
|
|
867
900
|
function Parser() {
|
|
868
901
|
this.yy = {};
|
|
869
902
|
}
|
|
870
|
-
|
|
903
|
+
chunkAGHRB4JF.__name(Parser, "Parser");
|
|
871
904
|
Parser.prototype = parser2;
|
|
872
905
|
parser2.Parser = Parser;
|
|
873
906
|
return new Parser();
|
|
874
|
-
}();
|
|
907
|
+
})();
|
|
875
908
|
parser.parser = parser;
|
|
876
909
|
var sequenceDiagram_default = parser;
|
|
877
910
|
|
|
@@ -919,9 +952,14 @@ var PLACEMENT = {
|
|
|
919
952
|
RIGHTOF: 1,
|
|
920
953
|
OVER: 2
|
|
921
954
|
};
|
|
955
|
+
var PARTICIPANT_TYPE = {
|
|
956
|
+
ACTOR: "actor",
|
|
957
|
+
CONTROL: "control",
|
|
958
|
+
DATABASE: "database",
|
|
959
|
+
ENTITY: "entity"};
|
|
922
960
|
var SequenceDB = class {
|
|
923
961
|
constructor() {
|
|
924
|
-
this.state = new
|
|
962
|
+
this.state = new chunkQZHKN3VN.ImperativeState(() => ({
|
|
925
963
|
prevActor: void 0,
|
|
926
964
|
actors: /* @__PURE__ */ new Map(),
|
|
927
965
|
createdActors: /* @__PURE__ */ new Map(),
|
|
@@ -935,23 +973,23 @@ var SequenceDB = class {
|
|
|
935
973
|
lastCreated: void 0,
|
|
936
974
|
lastDestroyed: void 0
|
|
937
975
|
}));
|
|
938
|
-
this.setAccTitle =
|
|
939
|
-
this.setAccDescription =
|
|
940
|
-
this.setDiagramTitle =
|
|
941
|
-
this.getAccTitle =
|
|
942
|
-
this.getAccDescription =
|
|
943
|
-
this.getDiagramTitle =
|
|
976
|
+
this.setAccTitle = chunkABZYJK2D.setAccTitle;
|
|
977
|
+
this.setAccDescription = chunkABZYJK2D.setAccDescription;
|
|
978
|
+
this.setDiagramTitle = chunkABZYJK2D.setDiagramTitle;
|
|
979
|
+
this.getAccTitle = chunkABZYJK2D.getAccTitle;
|
|
980
|
+
this.getAccDescription = chunkABZYJK2D.getAccDescription;
|
|
981
|
+
this.getDiagramTitle = chunkABZYJK2D.getDiagramTitle;
|
|
944
982
|
this.apply = this.apply.bind(this);
|
|
945
983
|
this.parseBoxData = this.parseBoxData.bind(this);
|
|
946
984
|
this.parseMessage = this.parseMessage.bind(this);
|
|
947
985
|
this.clear();
|
|
948
|
-
this.setWrap(
|
|
986
|
+
this.setWrap(chunkABZYJK2D.getConfig2().wrap);
|
|
949
987
|
this.LINETYPE = LINETYPE;
|
|
950
988
|
this.ARROWTYPE = ARROWTYPE;
|
|
951
989
|
this.PLACEMENT = PLACEMENT;
|
|
952
990
|
}
|
|
953
991
|
static {
|
|
954
|
-
|
|
992
|
+
chunkAGHRB4JF.__name(this, "SequenceDB");
|
|
955
993
|
}
|
|
956
994
|
addBox(data) {
|
|
957
995
|
this.state.records.boxes.push({
|
|
@@ -962,8 +1000,19 @@ var SequenceDB = class {
|
|
|
962
1000
|
});
|
|
963
1001
|
this.state.records.currentBox = this.state.records.boxes.slice(-1)[0];
|
|
964
1002
|
}
|
|
965
|
-
addActor(id, name, description, type) {
|
|
1003
|
+
addActor(id, name, description, type, metadata) {
|
|
966
1004
|
let assignedBox = this.state.records.currentBox;
|
|
1005
|
+
let doc;
|
|
1006
|
+
if (metadata !== void 0) {
|
|
1007
|
+
let yamlData;
|
|
1008
|
+
if (!metadata.includes("\n")) {
|
|
1009
|
+
yamlData = "{\n" + metadata + "\n}";
|
|
1010
|
+
} else {
|
|
1011
|
+
yamlData = metadata + "\n";
|
|
1012
|
+
}
|
|
1013
|
+
doc = chunkMI3HLSF2.load(yamlData, { schema: chunkMI3HLSF2.JSON_SCHEMA });
|
|
1014
|
+
}
|
|
1015
|
+
type = doc?.type ?? type;
|
|
967
1016
|
const old = this.state.records.actors.get(id);
|
|
968
1017
|
if (old) {
|
|
969
1018
|
if (this.state.records.currentBox && old.box && this.state.records.currentBox !== old.box) {
|
|
@@ -1110,11 +1159,11 @@ var SequenceDB = class {
|
|
|
1110
1159
|
if (this.state.records.wrapEnabled !== void 0) {
|
|
1111
1160
|
return this.state.records.wrapEnabled;
|
|
1112
1161
|
}
|
|
1113
|
-
return
|
|
1162
|
+
return chunkABZYJK2D.getConfig2().sequence?.wrap ?? false;
|
|
1114
1163
|
}
|
|
1115
1164
|
clear() {
|
|
1116
1165
|
this.state.reset();
|
|
1117
|
-
|
|
1166
|
+
chunkABZYJK2D.clear();
|
|
1118
1167
|
}
|
|
1119
1168
|
parseMessage(str) {
|
|
1120
1169
|
const trimmedStr = str.trim();
|
|
@@ -1123,7 +1172,7 @@ var SequenceDB = class {
|
|
|
1123
1172
|
text: cleanedText,
|
|
1124
1173
|
wrap
|
|
1125
1174
|
};
|
|
1126
|
-
|
|
1175
|
+
chunkAGHRB4JF.log.debug(`parseMessage: ${JSON.stringify(message)}`);
|
|
1127
1176
|
return message;
|
|
1128
1177
|
}
|
|
1129
1178
|
// We expect the box statement to be color first then description
|
|
@@ -1148,7 +1197,7 @@ var SequenceDB = class {
|
|
|
1148
1197
|
}
|
|
1149
1198
|
const { wrap, cleanedText } = this.extractWrap(title);
|
|
1150
1199
|
return {
|
|
1151
|
-
text: cleanedText ?
|
|
1200
|
+
text: cleanedText ? chunkABZYJK2D.sanitizeText(cleanedText, chunkABZYJK2D.getConfig2()) : void 0,
|
|
1152
1201
|
color,
|
|
1153
1202
|
wrap
|
|
1154
1203
|
};
|
|
@@ -1175,20 +1224,20 @@ var SequenceDB = class {
|
|
|
1175
1224
|
addLinks(actorId, text) {
|
|
1176
1225
|
const actor = this.getActor(actorId);
|
|
1177
1226
|
try {
|
|
1178
|
-
let sanitizedText =
|
|
1227
|
+
let sanitizedText = chunkABZYJK2D.sanitizeText(text.text, chunkABZYJK2D.getConfig2());
|
|
1179
1228
|
sanitizedText = sanitizedText.replace(/=/g, "=");
|
|
1180
1229
|
sanitizedText = sanitizedText.replace(/&/g, "&");
|
|
1181
1230
|
const links = JSON.parse(sanitizedText);
|
|
1182
1231
|
this.insertLinks(actor, links);
|
|
1183
1232
|
} catch (e) {
|
|
1184
|
-
|
|
1233
|
+
chunkAGHRB4JF.log.error("error while parsing actor link text", e);
|
|
1185
1234
|
}
|
|
1186
1235
|
}
|
|
1187
1236
|
addALink(actorId, text) {
|
|
1188
1237
|
const actor = this.getActor(actorId);
|
|
1189
1238
|
try {
|
|
1190
1239
|
const links = {};
|
|
1191
|
-
let sanitizedText =
|
|
1240
|
+
let sanitizedText = chunkABZYJK2D.sanitizeText(text.text, chunkABZYJK2D.getConfig2());
|
|
1192
1241
|
const sep = sanitizedText.indexOf("@");
|
|
1193
1242
|
sanitizedText = sanitizedText.replace(/=/g, "=");
|
|
1194
1243
|
sanitizedText = sanitizedText.replace(/&/g, "&");
|
|
@@ -1197,7 +1246,7 @@ var SequenceDB = class {
|
|
|
1197
1246
|
links[label] = link;
|
|
1198
1247
|
this.insertLinks(actor, links);
|
|
1199
1248
|
} catch (e) {
|
|
1200
|
-
|
|
1249
|
+
chunkAGHRB4JF.log.error("error while parsing actor link text", e);
|
|
1201
1250
|
}
|
|
1202
1251
|
}
|
|
1203
1252
|
insertLinks(actor, links) {
|
|
@@ -1212,11 +1261,11 @@ var SequenceDB = class {
|
|
|
1212
1261
|
addProperties(actorId, text) {
|
|
1213
1262
|
const actor = this.getActor(actorId);
|
|
1214
1263
|
try {
|
|
1215
|
-
const sanitizedText =
|
|
1264
|
+
const sanitizedText = chunkABZYJK2D.sanitizeText(text.text, chunkABZYJK2D.getConfig2());
|
|
1216
1265
|
const properties = JSON.parse(sanitizedText);
|
|
1217
1266
|
this.insertProperties(actor, properties);
|
|
1218
1267
|
} catch (e) {
|
|
1219
|
-
|
|
1268
|
+
chunkAGHRB4JF.log.error("error while parsing actor properties text", e);
|
|
1220
1269
|
}
|
|
1221
1270
|
}
|
|
1222
1271
|
insertProperties(actor, properties) {
|
|
@@ -1244,7 +1293,7 @@ var SequenceDB = class {
|
|
|
1244
1293
|
this.insertLinks(actor, details.links);
|
|
1245
1294
|
}
|
|
1246
1295
|
} catch (e) {
|
|
1247
|
-
|
|
1296
|
+
chunkAGHRB4JF.log.error("error while parsing actor details text", e);
|
|
1248
1297
|
}
|
|
1249
1298
|
}
|
|
1250
1299
|
getActorProperty(actor, key) {
|
|
@@ -1276,7 +1325,7 @@ var SequenceDB = class {
|
|
|
1276
1325
|
});
|
|
1277
1326
|
break;
|
|
1278
1327
|
case "addParticipant":
|
|
1279
|
-
this.addActor(param.actor, param.actor, param.description, param.draw);
|
|
1328
|
+
this.addActor(param.actor, param.actor, param.description, param.draw, param.config);
|
|
1280
1329
|
break;
|
|
1281
1330
|
case "createParticipant":
|
|
1282
1331
|
if (this.state.records.actors.has(param.actor)) {
|
|
@@ -1285,7 +1334,7 @@ var SequenceDB = class {
|
|
|
1285
1334
|
);
|
|
1286
1335
|
}
|
|
1287
1336
|
this.state.records.lastCreated = param.actor;
|
|
1288
|
-
this.addActor(param.actor, param.actor, param.description, param.draw);
|
|
1337
|
+
this.addActor(param.actor, param.actor, param.description, param.draw, param.config);
|
|
1289
1338
|
this.state.records.createdActors.set(param.actor, this.state.records.messages.length);
|
|
1290
1339
|
break;
|
|
1291
1340
|
case "destroyParticipant":
|
|
@@ -1367,7 +1416,7 @@ var SequenceDB = class {
|
|
|
1367
1416
|
this.addSignal(void 0, void 0, void 0, param.signalType);
|
|
1368
1417
|
break;
|
|
1369
1418
|
case "setAccTitle":
|
|
1370
|
-
|
|
1419
|
+
chunkABZYJK2D.setAccTitle(param.text);
|
|
1371
1420
|
break;
|
|
1372
1421
|
case "parStart":
|
|
1373
1422
|
this.addSignal(void 0, void 0, param.parText, param.signalType);
|
|
@@ -1397,12 +1446,12 @@ var SequenceDB = class {
|
|
|
1397
1446
|
}
|
|
1398
1447
|
}
|
|
1399
1448
|
getConfig() {
|
|
1400
|
-
return
|
|
1449
|
+
return chunkABZYJK2D.getConfig2().sequence;
|
|
1401
1450
|
}
|
|
1402
1451
|
};
|
|
1403
1452
|
|
|
1404
1453
|
// src/diagrams/sequence/styles.js
|
|
1405
|
-
var getStyles = /* @__PURE__ */
|
|
1454
|
+
var getStyles = /* @__PURE__ */ chunkAGHRB4JF.__name((options) => `.actor {
|
|
1406
1455
|
stroke: ${options.actorBorder};
|
|
1407
1456
|
fill: ${options.actorBkg};
|
|
1408
1457
|
}
|
|
@@ -1415,6 +1464,11 @@ var getStyles = /* @__PURE__ */ chunk3XYRH5AP.__name((options) => `.actor {
|
|
|
1415
1464
|
.actor-line {
|
|
1416
1465
|
stroke: ${options.actorLineColor};
|
|
1417
1466
|
}
|
|
1467
|
+
|
|
1468
|
+
.innerArc {
|
|
1469
|
+
stroke-width: 1.5;
|
|
1470
|
+
stroke-dasharray: none;
|
|
1471
|
+
}
|
|
1418
1472
|
|
|
1419
1473
|
.messageLine0 {
|
|
1420
1474
|
stroke-width: 1.5;
|
|
@@ -1518,6 +1572,7 @@ var getStyles = /* @__PURE__ */ chunk3XYRH5AP.__name((options) => `.actor {
|
|
|
1518
1572
|
fill: ${options.actorBkg};
|
|
1519
1573
|
stroke-width: 2px;
|
|
1520
1574
|
}
|
|
1575
|
+
|
|
1521
1576
|
`, "getStyles");
|
|
1522
1577
|
var styles_default = getStyles;
|
|
1523
1578
|
var ACTOR_TYPE_WIDTH = 18 * 2;
|
|
@@ -1525,10 +1580,10 @@ var TOP_ACTOR_CLASS = "actor-top";
|
|
|
1525
1580
|
var BOTTOM_ACTOR_CLASS = "actor-bottom";
|
|
1526
1581
|
var ACTOR_BOX_CLASS = "actor-box";
|
|
1527
1582
|
var ACTOR_MAN_FIGURE_CLASS = "actor-man";
|
|
1528
|
-
var drawRect2 = /* @__PURE__ */
|
|
1529
|
-
return
|
|
1583
|
+
var drawRect2 = /* @__PURE__ */ chunkAGHRB4JF.__name(function(elem, rectData) {
|
|
1584
|
+
return chunkTZMSLE5B.drawRect(elem, rectData);
|
|
1530
1585
|
}, "drawRect");
|
|
1531
|
-
var drawPopup = /* @__PURE__ */
|
|
1586
|
+
var drawPopup = /* @__PURE__ */ chunkAGHRB4JF.__name(function(elem, actor, minMenuWidth, textAttrs, forceMenus) {
|
|
1532
1587
|
if (actor.links === void 0 || actor.links === null || Object.keys(actor.links).length === 0) {
|
|
1533
1588
|
return { height: 0, width: 0 };
|
|
1534
1589
|
}
|
|
@@ -1581,13 +1636,13 @@ var drawPopup = /* @__PURE__ */ chunk3XYRH5AP.__name(function(elem, actor, minMe
|
|
|
1581
1636
|
rectElem.attr("height", linkY);
|
|
1582
1637
|
return { height: rectData.height + linkY, width: menuWidth };
|
|
1583
1638
|
}, "drawPopup");
|
|
1584
|
-
var popupMenuToggle = /* @__PURE__ */
|
|
1639
|
+
var popupMenuToggle = /* @__PURE__ */ chunkAGHRB4JF.__name(function(popId) {
|
|
1585
1640
|
return "var pu = document.getElementById('" + popId + "'); if (pu != null) { pu.style.display = pu.style.display == 'block' ? 'none' : 'block'; }";
|
|
1586
1641
|
}, "popupMenuToggle");
|
|
1587
|
-
var drawKatex = /* @__PURE__ */
|
|
1642
|
+
var drawKatex = /* @__PURE__ */ chunkAGHRB4JF.__name(async function(elem, textData, msgModel = null) {
|
|
1588
1643
|
let textElem = elem.append("foreignObject");
|
|
1589
|
-
const
|
|
1590
|
-
const divElem = textElem.append("xhtml:div").attr("style", "width: fit-content;").attr("xmlns", "http://www.w3.org/1999/xhtml").html(
|
|
1644
|
+
const linesSanitized = await chunkABZYJK2D.renderKatexSanitized(textData.text, chunkABZYJK2D.getConfig());
|
|
1645
|
+
const divElem = textElem.append("xhtml:div").attr("style", "width: fit-content;").attr("xmlns", "http://www.w3.org/1999/xhtml").html(linesSanitized);
|
|
1591
1646
|
const dim = divElem.node().getBoundingClientRect();
|
|
1592
1647
|
textElem.attr("height", Math.round(dim.height)).attr("width", Math.round(dim.width));
|
|
1593
1648
|
if (textData.class === "noteText") {
|
|
@@ -1611,27 +1666,27 @@ var drawKatex = /* @__PURE__ */ chunk3XYRH5AP.__name(async function(elem, textDa
|
|
|
1611
1666
|
}
|
|
1612
1667
|
return [textElem];
|
|
1613
1668
|
}, "drawKatex");
|
|
1614
|
-
var drawText = /* @__PURE__ */
|
|
1669
|
+
var drawText = /* @__PURE__ */ chunkAGHRB4JF.__name(function(elem, textData) {
|
|
1615
1670
|
let prevTextHeight = 0;
|
|
1616
1671
|
let textHeight = 0;
|
|
1617
|
-
const lines = textData.text.split(
|
|
1618
|
-
const [_textFontSize, _textFontSizePx] =
|
|
1672
|
+
const lines = textData.text.split(chunkABZYJK2D.common_default.lineBreakRegex);
|
|
1673
|
+
const [_textFontSize, _textFontSizePx] = chunkS3R3BYOJ.parseFontSize(textData.fontSize);
|
|
1619
1674
|
let textElems = [];
|
|
1620
1675
|
let dy = 0;
|
|
1621
|
-
let yfunc = /* @__PURE__ */
|
|
1676
|
+
let yfunc = /* @__PURE__ */ chunkAGHRB4JF.__name(() => textData.y, "yfunc");
|
|
1622
1677
|
if (textData.valign !== void 0 && textData.textMargin !== void 0 && textData.textMargin > 0) {
|
|
1623
1678
|
switch (textData.valign) {
|
|
1624
1679
|
case "top":
|
|
1625
1680
|
case "start":
|
|
1626
|
-
yfunc = /* @__PURE__ */
|
|
1681
|
+
yfunc = /* @__PURE__ */ chunkAGHRB4JF.__name(() => Math.round(textData.y + textData.textMargin), "yfunc");
|
|
1627
1682
|
break;
|
|
1628
1683
|
case "middle":
|
|
1629
1684
|
case "center":
|
|
1630
|
-
yfunc = /* @__PURE__ */
|
|
1685
|
+
yfunc = /* @__PURE__ */ chunkAGHRB4JF.__name(() => Math.round(textData.y + (prevTextHeight + textHeight + textData.textMargin) / 2), "yfunc");
|
|
1631
1686
|
break;
|
|
1632
1687
|
case "bottom":
|
|
1633
1688
|
case "end":
|
|
1634
|
-
yfunc = /* @__PURE__ */
|
|
1689
|
+
yfunc = /* @__PURE__ */ chunkAGHRB4JF.__name(() => Math.round(
|
|
1635
1690
|
textData.y + (prevTextHeight + textHeight + 2 * textData.textMargin) - textData.textMargin
|
|
1636
1691
|
), "yfunc");
|
|
1637
1692
|
break;
|
|
@@ -1692,7 +1747,7 @@ var drawText = /* @__PURE__ */ chunk3XYRH5AP.__name(function(elem, textData) {
|
|
|
1692
1747
|
} else if (dy !== 0) {
|
|
1693
1748
|
textElem.attr("dy", dy);
|
|
1694
1749
|
}
|
|
1695
|
-
const text = line ||
|
|
1750
|
+
const text = line || chunkS3R3BYOJ.ZERO_WIDTH_SPACE;
|
|
1696
1751
|
if (textData.tspan) {
|
|
1697
1752
|
const span = textElem.append("tspan");
|
|
1698
1753
|
span.attr("x", textData.x);
|
|
@@ -1711,11 +1766,11 @@ var drawText = /* @__PURE__ */ chunk3XYRH5AP.__name(function(elem, textData) {
|
|
|
1711
1766
|
}
|
|
1712
1767
|
return textElems;
|
|
1713
1768
|
}, "drawText");
|
|
1714
|
-
var drawLabel = /* @__PURE__ */
|
|
1769
|
+
var drawLabel = /* @__PURE__ */ chunkAGHRB4JF.__name(function(elem, txtObject) {
|
|
1715
1770
|
function genPoints(x, y, width, height, cut) {
|
|
1716
1771
|
return x + "," + y + " " + (x + width) + "," + y + " " + (x + width) + "," + (y + height - cut) + " " + (x + width - cut * 1.2) + "," + (y + height) + " " + x + "," + (y + height);
|
|
1717
1772
|
}
|
|
1718
|
-
|
|
1773
|
+
chunkAGHRB4JF.__name(genPoints, "genPoints");
|
|
1719
1774
|
const polygon = elem.append("polygon");
|
|
1720
1775
|
polygon.attr("points", genPoints(txtObject.x, txtObject.y, txtObject.width, txtObject.height, 7));
|
|
1721
1776
|
polygon.attr("class", "labelBox");
|
|
@@ -1724,7 +1779,7 @@ var drawLabel = /* @__PURE__ */ chunk3XYRH5AP.__name(function(elem, txtObject) {
|
|
|
1724
1779
|
return polygon;
|
|
1725
1780
|
}, "drawLabel");
|
|
1726
1781
|
var actorCnt = -1;
|
|
1727
|
-
var fixLifeLineHeights = /* @__PURE__ */
|
|
1782
|
+
var fixLifeLineHeights = /* @__PURE__ */ chunkAGHRB4JF.__name((diagram2, actors, actorKeys, conf2) => {
|
|
1728
1783
|
if (!diagram2.select) {
|
|
1729
1784
|
return;
|
|
1730
1785
|
}
|
|
@@ -1738,7 +1793,7 @@ var fixLifeLineHeights = /* @__PURE__ */ chunk3XYRH5AP.__name((diagram2, actors,
|
|
|
1738
1793
|
}
|
|
1739
1794
|
});
|
|
1740
1795
|
}, "fixLifeLineHeights");
|
|
1741
|
-
var drawActorTypeParticipant = /* @__PURE__ */
|
|
1796
|
+
var drawActorTypeParticipant = /* @__PURE__ */ chunkAGHRB4JF.__name(function(elem, actor, conf2, isFooter) {
|
|
1742
1797
|
const actorY = isFooter ? actor.stopy : actor.starty;
|
|
1743
1798
|
const center = actor.x + actor.width / 2;
|
|
1744
1799
|
const centerY = actorY + actor.height;
|
|
@@ -1756,7 +1811,7 @@ var drawActorTypeParticipant = /* @__PURE__ */ chunk3XYRH5AP.__name(function(ele
|
|
|
1756
1811
|
g.attr("id", "root-" + actorCnt);
|
|
1757
1812
|
}
|
|
1758
1813
|
}
|
|
1759
|
-
const rect =
|
|
1814
|
+
const rect = chunkTZMSLE5B.getNoteRect();
|
|
1760
1815
|
var cssclass = "actor";
|
|
1761
1816
|
if (actor.properties?.class) {
|
|
1762
1817
|
cssclass = actor.properties.class;
|
|
@@ -1781,12 +1836,12 @@ var drawActorTypeParticipant = /* @__PURE__ */ chunk3XYRH5AP.__name(function(ele
|
|
|
1781
1836
|
if (actor.properties?.icon) {
|
|
1782
1837
|
const iconSrc = actor.properties.icon.trim();
|
|
1783
1838
|
if (iconSrc.charAt(0) === "@") {
|
|
1784
|
-
|
|
1839
|
+
chunkTZMSLE5B.drawEmbeddedImage(g, rect.x + rect.width - 20, rect.y + 10, iconSrc.substr(1));
|
|
1785
1840
|
} else {
|
|
1786
|
-
|
|
1841
|
+
chunkTZMSLE5B.drawImage(g, rect.x + rect.width - 20, rect.y + 10, iconSrc);
|
|
1787
1842
|
}
|
|
1788
1843
|
}
|
|
1789
|
-
_drawTextCandidateFunc(conf2,
|
|
1844
|
+
_drawTextCandidateFunc(conf2, chunkABZYJK2D.hasKatex(actor.description))(
|
|
1790
1845
|
actor.description,
|
|
1791
1846
|
g,
|
|
1792
1847
|
rect.x,
|
|
@@ -1804,10 +1859,340 @@ var drawActorTypeParticipant = /* @__PURE__ */ chunk3XYRH5AP.__name(function(ele
|
|
|
1804
1859
|
}
|
|
1805
1860
|
return height;
|
|
1806
1861
|
}, "drawActorTypeParticipant");
|
|
1807
|
-
var
|
|
1862
|
+
var drawActorTypeCollections = /* @__PURE__ */ chunkAGHRB4JF.__name(function(elem, actor, conf2, isFooter) {
|
|
1863
|
+
const actorY = isFooter ? actor.stopy : actor.starty;
|
|
1864
|
+
const center = actor.x + actor.width / 2;
|
|
1865
|
+
const centerY = actorY + actor.height;
|
|
1866
|
+
const boxplusLineGroup = elem.append("g").lower();
|
|
1867
|
+
var g = boxplusLineGroup;
|
|
1868
|
+
if (!isFooter) {
|
|
1869
|
+
actorCnt++;
|
|
1870
|
+
if (Object.keys(actor.links || {}).length && !conf2.forceMenus) {
|
|
1871
|
+
g.attr("onclick", popupMenuToggle(`actor${actorCnt}_popup`)).attr("cursor", "pointer");
|
|
1872
|
+
}
|
|
1873
|
+
g.append("line").attr("id", "actor" + actorCnt).attr("x1", center).attr("y1", centerY).attr("x2", center).attr("y2", 2e3).attr("class", "actor-line 200").attr("stroke-width", "0.5px").attr("stroke", "#999").attr("name", actor.name);
|
|
1874
|
+
g = boxplusLineGroup.append("g");
|
|
1875
|
+
actor.actorCnt = actorCnt;
|
|
1876
|
+
if (actor.links != null) {
|
|
1877
|
+
g.attr("id", "root-" + actorCnt);
|
|
1878
|
+
}
|
|
1879
|
+
}
|
|
1880
|
+
const rect = chunkTZMSLE5B.getNoteRect();
|
|
1881
|
+
var cssclass = "actor";
|
|
1882
|
+
if (actor.properties?.class) {
|
|
1883
|
+
cssclass = actor.properties.class;
|
|
1884
|
+
} else {
|
|
1885
|
+
rect.fill = "#eaeaea";
|
|
1886
|
+
}
|
|
1887
|
+
if (isFooter) {
|
|
1888
|
+
cssclass += ` ${BOTTOM_ACTOR_CLASS}`;
|
|
1889
|
+
} else {
|
|
1890
|
+
cssclass += ` ${TOP_ACTOR_CLASS}`;
|
|
1891
|
+
}
|
|
1892
|
+
rect.x = actor.x;
|
|
1893
|
+
rect.y = actorY;
|
|
1894
|
+
rect.width = actor.width;
|
|
1895
|
+
rect.height = actor.height;
|
|
1896
|
+
rect.class = cssclass;
|
|
1897
|
+
rect.name = actor.name;
|
|
1898
|
+
const offset = 6;
|
|
1899
|
+
const shadowRect = {
|
|
1900
|
+
...rect,
|
|
1901
|
+
x: rect.x + (isFooter ? -offset : -offset),
|
|
1902
|
+
y: rect.y + (isFooter ? +offset : +offset),
|
|
1903
|
+
class: "actor"
|
|
1904
|
+
};
|
|
1905
|
+
const rectElem = drawRect2(g, rect);
|
|
1906
|
+
drawRect2(g, shadowRect);
|
|
1907
|
+
actor.rectData = rect;
|
|
1908
|
+
if (actor.properties?.icon) {
|
|
1909
|
+
const iconSrc = actor.properties.icon.trim();
|
|
1910
|
+
if (iconSrc.charAt(0) === "@") {
|
|
1911
|
+
chunkTZMSLE5B.drawEmbeddedImage(g, rect.x + rect.width - 20, rect.y + 10, iconSrc.substr(1));
|
|
1912
|
+
} else {
|
|
1913
|
+
chunkTZMSLE5B.drawImage(g, rect.x + rect.width - 20, rect.y + 10, iconSrc);
|
|
1914
|
+
}
|
|
1915
|
+
}
|
|
1916
|
+
_drawTextCandidateFunc(conf2, chunkABZYJK2D.hasKatex(actor.description))(
|
|
1917
|
+
actor.description,
|
|
1918
|
+
g,
|
|
1919
|
+
rect.x - offset,
|
|
1920
|
+
rect.y + offset,
|
|
1921
|
+
rect.width,
|
|
1922
|
+
rect.height,
|
|
1923
|
+
{ class: `actor ${ACTOR_BOX_CLASS}` },
|
|
1924
|
+
conf2
|
|
1925
|
+
);
|
|
1926
|
+
let height = actor.height;
|
|
1927
|
+
if (rectElem.node) {
|
|
1928
|
+
const bounds2 = rectElem.node().getBBox();
|
|
1929
|
+
actor.height = bounds2.height;
|
|
1930
|
+
height = bounds2.height;
|
|
1931
|
+
}
|
|
1932
|
+
return height;
|
|
1933
|
+
}, "drawActorTypeCollections");
|
|
1934
|
+
var drawActorTypeQueue = /* @__PURE__ */ chunkAGHRB4JF.__name(function(elem, actor, conf2, isFooter) {
|
|
1935
|
+
const actorY = isFooter ? actor.stopy : actor.starty;
|
|
1936
|
+
const center = actor.x + actor.width / 2;
|
|
1937
|
+
const centerY = actorY + actor.height;
|
|
1938
|
+
const boxplusLineGroup = elem.append("g").lower();
|
|
1939
|
+
let g = boxplusLineGroup;
|
|
1940
|
+
if (!isFooter) {
|
|
1941
|
+
actorCnt++;
|
|
1942
|
+
if (Object.keys(actor.links || {}).length && !conf2.forceMenus) {
|
|
1943
|
+
g.attr("onclick", popupMenuToggle(`actor${actorCnt}_popup`)).attr("cursor", "pointer");
|
|
1944
|
+
}
|
|
1945
|
+
g.append("line").attr("id", "actor" + actorCnt).attr("x1", center).attr("y1", centerY).attr("x2", center).attr("y2", 2e3).attr("class", "actor-line 200").attr("stroke-width", "0.5px").attr("stroke", "#999").attr("name", actor.name);
|
|
1946
|
+
g = boxplusLineGroup.append("g");
|
|
1947
|
+
actor.actorCnt = actorCnt;
|
|
1948
|
+
if (actor.links != null) {
|
|
1949
|
+
g.attr("id", "root-" + actorCnt);
|
|
1950
|
+
}
|
|
1951
|
+
}
|
|
1952
|
+
const rect = chunkTZMSLE5B.getNoteRect();
|
|
1953
|
+
let cssclass = "actor";
|
|
1954
|
+
if (actor.properties?.class) {
|
|
1955
|
+
cssclass = actor.properties.class;
|
|
1956
|
+
} else {
|
|
1957
|
+
rect.fill = "#eaeaea";
|
|
1958
|
+
}
|
|
1959
|
+
if (isFooter) {
|
|
1960
|
+
cssclass += ` ${BOTTOM_ACTOR_CLASS}`;
|
|
1961
|
+
} else {
|
|
1962
|
+
cssclass += ` ${TOP_ACTOR_CLASS}`;
|
|
1963
|
+
}
|
|
1964
|
+
rect.x = actor.x;
|
|
1965
|
+
rect.y = actorY;
|
|
1966
|
+
rect.width = actor.width;
|
|
1967
|
+
rect.height = actor.height;
|
|
1968
|
+
rect.class = cssclass;
|
|
1969
|
+
rect.name = actor.name;
|
|
1970
|
+
const ry = rect.height / 2;
|
|
1971
|
+
const rx = ry / (2.5 + rect.height / 50);
|
|
1972
|
+
const cylinderGroup = g.append("g");
|
|
1973
|
+
const cylinderArc = g.append("g");
|
|
1974
|
+
cylinderGroup.append("path").attr(
|
|
1975
|
+
"d",
|
|
1976
|
+
`M ${rect.x},${rect.y + ry}
|
|
1977
|
+
a ${rx},${ry} 0 0 0 0,${rect.height}
|
|
1978
|
+
h ${rect.width - 2 * rx}
|
|
1979
|
+
a ${rx},${ry} 0 0 0 0,-${rect.height}
|
|
1980
|
+
Z
|
|
1981
|
+
`
|
|
1982
|
+
).attr("class", cssclass);
|
|
1983
|
+
cylinderArc.append("path").attr(
|
|
1984
|
+
"d",
|
|
1985
|
+
`M ${rect.x},${rect.y + ry}
|
|
1986
|
+
a ${rx},${ry} 0 0 0 0,${rect.height}`
|
|
1987
|
+
).attr("stroke", "#666").attr("stroke-width", "1px").attr("class", cssclass);
|
|
1988
|
+
cylinderGroup.attr("transform", `translate(${rx}, ${-(rect.height / 2)})`);
|
|
1989
|
+
cylinderArc.attr("transform", `translate(${rect.width - rx}, ${-rect.height / 2})`);
|
|
1990
|
+
actor.rectData = rect;
|
|
1991
|
+
if (actor.properties?.icon) {
|
|
1992
|
+
const iconSrc = actor.properties.icon.trim();
|
|
1993
|
+
const iconX = rect.x + rect.width - 20;
|
|
1994
|
+
const iconY = rect.y + 10;
|
|
1995
|
+
if (iconSrc.charAt(0) === "@") {
|
|
1996
|
+
chunkTZMSLE5B.drawEmbeddedImage(g, iconX, iconY, iconSrc.substr(1));
|
|
1997
|
+
} else {
|
|
1998
|
+
chunkTZMSLE5B.drawImage(g, iconX, iconY, iconSrc);
|
|
1999
|
+
}
|
|
2000
|
+
}
|
|
2001
|
+
_drawTextCandidateFunc(conf2, chunkABZYJK2D.hasKatex(actor.description))(
|
|
2002
|
+
actor.description,
|
|
2003
|
+
g,
|
|
2004
|
+
rect.x,
|
|
2005
|
+
rect.y,
|
|
2006
|
+
rect.width,
|
|
2007
|
+
rect.height,
|
|
2008
|
+
{ class: `actor ${ACTOR_BOX_CLASS}` },
|
|
2009
|
+
conf2
|
|
2010
|
+
);
|
|
2011
|
+
let height = actor.height;
|
|
2012
|
+
const lastPath = cylinderGroup.select("path:last-child");
|
|
2013
|
+
if (lastPath.node()) {
|
|
2014
|
+
const bounds2 = lastPath.node().getBBox();
|
|
2015
|
+
actor.height = bounds2.height;
|
|
2016
|
+
height = bounds2.height;
|
|
2017
|
+
}
|
|
2018
|
+
return height;
|
|
2019
|
+
}, "drawActorTypeQueue");
|
|
2020
|
+
var drawActorTypeControl = /* @__PURE__ */ chunkAGHRB4JF.__name(function(elem, actor, conf2, isFooter) {
|
|
2021
|
+
const actorY = isFooter ? actor.stopy : actor.starty;
|
|
2022
|
+
const center = actor.x + actor.width / 2;
|
|
2023
|
+
const centerY = actorY + 75;
|
|
2024
|
+
const line = elem.append("g").lower();
|
|
2025
|
+
if (!isFooter) {
|
|
2026
|
+
actorCnt++;
|
|
2027
|
+
line.append("line").attr("id", "actor" + actorCnt).attr("x1", center).attr("y1", centerY).attr("x2", center).attr("y2", 2e3).attr("class", "actor-line 200").attr("stroke-width", "0.5px").attr("stroke", "#999").attr("name", actor.name);
|
|
2028
|
+
actor.actorCnt = actorCnt;
|
|
2029
|
+
}
|
|
2030
|
+
const actElem = elem.append("g");
|
|
2031
|
+
let cssClass = ACTOR_MAN_FIGURE_CLASS;
|
|
2032
|
+
if (isFooter) {
|
|
2033
|
+
cssClass += ` ${BOTTOM_ACTOR_CLASS}`;
|
|
2034
|
+
} else {
|
|
2035
|
+
cssClass += ` ${TOP_ACTOR_CLASS}`;
|
|
2036
|
+
}
|
|
2037
|
+
actElem.attr("class", cssClass);
|
|
2038
|
+
actElem.attr("name", actor.name);
|
|
2039
|
+
const rect = chunkTZMSLE5B.getNoteRect();
|
|
2040
|
+
rect.x = actor.x;
|
|
2041
|
+
rect.y = actorY;
|
|
2042
|
+
rect.fill = "#eaeaea";
|
|
2043
|
+
rect.width = actor.width;
|
|
2044
|
+
rect.height = actor.height;
|
|
2045
|
+
rect.class = "actor";
|
|
2046
|
+
const cx = actor.x + actor.width / 2;
|
|
2047
|
+
const cy = actorY + 30;
|
|
2048
|
+
const r = 18;
|
|
2049
|
+
actElem.append("defs").append("marker").attr("id", "filled-head-control").attr("refX", 11).attr("refY", 5.8).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "172.5").append("path").attr("d", "M 14.4 5.6 L 7.2 10.4 L 8.8 5.6 L 7.2 0.8 Z");
|
|
2050
|
+
actElem.append("circle").attr("cx", cx).attr("cy", cy).attr("r", r).attr("fill", "#eaeaf7").attr("stroke", "#666").attr("stroke-width", 1.2);
|
|
2051
|
+
actElem.append("line").attr("marker-end", "url(#filled-head-control)").attr("transform", `translate(${cx}, ${cy - r})`);
|
|
2052
|
+
const bounds2 = actElem.node().getBBox();
|
|
2053
|
+
actor.height = bounds2.height + 2 * (conf2?.sequence?.labelBoxHeight ?? 0);
|
|
2054
|
+
_drawTextCandidateFunc(conf2, chunkABZYJK2D.hasKatex(actor.description))(
|
|
2055
|
+
actor.description,
|
|
2056
|
+
actElem,
|
|
2057
|
+
rect.x,
|
|
2058
|
+
rect.y + r + (isFooter ? 5 : 10),
|
|
2059
|
+
rect.width,
|
|
2060
|
+
rect.height,
|
|
2061
|
+
{ class: `actor ${ACTOR_MAN_FIGURE_CLASS}` },
|
|
2062
|
+
conf2
|
|
2063
|
+
);
|
|
2064
|
+
return actor.height;
|
|
2065
|
+
}, "drawActorTypeControl");
|
|
2066
|
+
var drawActorTypeEntity = /* @__PURE__ */ chunkAGHRB4JF.__name(function(elem, actor, conf2, isFooter) {
|
|
2067
|
+
const actorY = isFooter ? actor.stopy : actor.starty;
|
|
2068
|
+
const center = actor.x + actor.width / 2;
|
|
2069
|
+
const centerY = actorY + 75;
|
|
2070
|
+
const line = elem.append("g").lower();
|
|
2071
|
+
const actElem = elem.append("g");
|
|
2072
|
+
let cssClass = ACTOR_MAN_FIGURE_CLASS;
|
|
2073
|
+
if (isFooter) {
|
|
2074
|
+
cssClass += ` ${BOTTOM_ACTOR_CLASS}`;
|
|
2075
|
+
} else {
|
|
2076
|
+
cssClass += ` ${TOP_ACTOR_CLASS}`;
|
|
2077
|
+
}
|
|
2078
|
+
actElem.attr("class", cssClass);
|
|
2079
|
+
actElem.attr("name", actor.name);
|
|
2080
|
+
const rect = chunkTZMSLE5B.getNoteRect();
|
|
2081
|
+
rect.x = actor.x;
|
|
2082
|
+
rect.y = actorY;
|
|
2083
|
+
rect.fill = "#eaeaea";
|
|
2084
|
+
rect.width = actor.width;
|
|
2085
|
+
rect.height = actor.height;
|
|
2086
|
+
rect.class = "actor";
|
|
2087
|
+
const cx = actor.x + actor.width / 2;
|
|
2088
|
+
const cy = actorY + (!isFooter ? 25 : 10);
|
|
2089
|
+
const r = 18;
|
|
2090
|
+
actElem.append("circle").attr("cx", cx).attr("cy", cy).attr("r", r).attr("width", actor.width).attr("height", actor.height);
|
|
2091
|
+
actElem.append("line").attr("x1", cx - r).attr("x2", cx + r).attr("y1", cy + r).attr("y2", cy + r).attr("stroke", "#333").attr("stroke-width", 2);
|
|
2092
|
+
const bounds2 = actElem.node().getBBox();
|
|
2093
|
+
actor.height = bounds2.height + (conf2?.sequence?.labelBoxHeight ?? 0);
|
|
2094
|
+
if (!isFooter) {
|
|
2095
|
+
actorCnt++;
|
|
2096
|
+
line.append("line").attr("id", "actor" + actorCnt).attr("x1", center).attr("y1", centerY).attr("x2", center).attr("y2", 2e3).attr("class", "actor-line 200").attr("stroke-width", "0.5px").attr("stroke", "#999").attr("name", actor.name);
|
|
2097
|
+
actor.actorCnt = actorCnt;
|
|
2098
|
+
}
|
|
2099
|
+
_drawTextCandidateFunc(conf2, chunkABZYJK2D.hasKatex(actor.description))(
|
|
2100
|
+
actor.description,
|
|
2101
|
+
actElem,
|
|
2102
|
+
rect.x,
|
|
2103
|
+
rect.y + (!isFooter ? (cy + r - actorY) / 2 : (cy - actorY + r - 5) / 2),
|
|
2104
|
+
rect.width,
|
|
2105
|
+
rect.height,
|
|
2106
|
+
{ class: `actor ${ACTOR_MAN_FIGURE_CLASS}` },
|
|
2107
|
+
conf2
|
|
2108
|
+
);
|
|
2109
|
+
if (!isFooter) {
|
|
2110
|
+
actElem.attr("transform", `translate(${0}, ${r / 2})`);
|
|
2111
|
+
} else {
|
|
2112
|
+
actElem.attr("transform", `translate(${0}, ${r / 2})`);
|
|
2113
|
+
}
|
|
2114
|
+
return actor.height;
|
|
2115
|
+
}, "drawActorTypeEntity");
|
|
2116
|
+
var drawActorTypeDatabase = /* @__PURE__ */ chunkAGHRB4JF.__name(function(elem, actor, conf2, isFooter) {
|
|
2117
|
+
const actorY = isFooter ? actor.stopy : actor.starty;
|
|
2118
|
+
const center = actor.x + actor.width / 2;
|
|
2119
|
+
const centerY = actorY + actor.height + 2 * conf2.boxTextMargin;
|
|
2120
|
+
const boxplusLineGroup = elem.append("g").lower();
|
|
2121
|
+
let g = boxplusLineGroup;
|
|
2122
|
+
if (!isFooter) {
|
|
2123
|
+
actorCnt++;
|
|
2124
|
+
if (Object.keys(actor.links || {}).length && !conf2.forceMenus) {
|
|
2125
|
+
g.attr("onclick", popupMenuToggle(`actor${actorCnt}_popup`)).attr("cursor", "pointer");
|
|
2126
|
+
}
|
|
2127
|
+
g.append("line").attr("id", "actor" + actorCnt).attr("x1", center).attr("y1", centerY).attr("x2", center).attr("y2", 2e3).attr("class", "actor-line 200").attr("stroke-width", "0.5px").attr("stroke", "#999").attr("name", actor.name);
|
|
2128
|
+
g = boxplusLineGroup.append("g");
|
|
2129
|
+
actor.actorCnt = actorCnt;
|
|
2130
|
+
if (actor.links != null) {
|
|
2131
|
+
g.attr("id", "root-" + actorCnt);
|
|
2132
|
+
}
|
|
2133
|
+
}
|
|
2134
|
+
const rect = chunkTZMSLE5B.getNoteRect();
|
|
2135
|
+
let cssclass = "actor";
|
|
2136
|
+
if (actor.properties?.class) {
|
|
2137
|
+
cssclass = actor.properties.class;
|
|
2138
|
+
} else {
|
|
2139
|
+
rect.fill = "#eaeaea";
|
|
2140
|
+
}
|
|
2141
|
+
if (isFooter) {
|
|
2142
|
+
cssclass += ` ${BOTTOM_ACTOR_CLASS}`;
|
|
2143
|
+
} else {
|
|
2144
|
+
cssclass += ` ${TOP_ACTOR_CLASS}`;
|
|
2145
|
+
}
|
|
2146
|
+
rect.x = actor.x;
|
|
2147
|
+
rect.y = actorY;
|
|
2148
|
+
rect.width = actor.width;
|
|
2149
|
+
rect.height = actor.height;
|
|
2150
|
+
rect.class = cssclass;
|
|
2151
|
+
rect.name = actor.name;
|
|
2152
|
+
rect.x = actor.x;
|
|
2153
|
+
rect.y = actorY;
|
|
2154
|
+
const w = rect.width / 4;
|
|
2155
|
+
const h = rect.width / 4;
|
|
2156
|
+
const rx = w / 2;
|
|
2157
|
+
const ry = rx / (2.5 + w / 50);
|
|
2158
|
+
const cylinderGroup = g.append("g");
|
|
2159
|
+
const d = `
|
|
2160
|
+
M ${rect.x},${rect.y + ry}
|
|
2161
|
+
a ${rx},${ry} 0 0 0 ${w},0
|
|
2162
|
+
a ${rx},${ry} 0 0 0 -${w},0
|
|
2163
|
+
l 0,${h - 2 * ry}
|
|
2164
|
+
a ${rx},${ry} 0 0 0 ${w},0
|
|
2165
|
+
l 0,-${h - 2 * ry}
|
|
2166
|
+
`;
|
|
2167
|
+
cylinderGroup.append("path").attr("d", d).attr("fill", "#eaeaea").attr("stroke", "#000").attr("stroke-width", 1).attr("class", cssclass);
|
|
2168
|
+
if (!isFooter) {
|
|
2169
|
+
cylinderGroup.attr("transform", `translate(${w * 1.5}, ${(rect.height + ry) / 4})`);
|
|
2170
|
+
} else {
|
|
2171
|
+
cylinderGroup.attr("transform", `translate(${w * 1.5}, ${rect.height / 4 - 2 * ry})`);
|
|
2172
|
+
}
|
|
2173
|
+
actor.rectData = rect;
|
|
2174
|
+
_drawTextCandidateFunc(conf2, chunkABZYJK2D.hasKatex(actor.description))(
|
|
2175
|
+
actor.description,
|
|
2176
|
+
g,
|
|
2177
|
+
rect.x,
|
|
2178
|
+
rect.y + (!isFooter ? (rect.height + ry) / 2 : (rect.height + h) / 4),
|
|
2179
|
+
rect.width,
|
|
2180
|
+
rect.height,
|
|
2181
|
+
{ class: `actor ${ACTOR_BOX_CLASS}` },
|
|
2182
|
+
conf2
|
|
2183
|
+
);
|
|
2184
|
+
const lastPath = cylinderGroup.select("path:last-child");
|
|
2185
|
+
if (lastPath.node()) {
|
|
2186
|
+
const bounds2 = lastPath.node().getBBox();
|
|
2187
|
+
actor.height = bounds2.height + (conf2.sequence.labelBoxHeight ?? 0);
|
|
2188
|
+
}
|
|
2189
|
+
return actor.height;
|
|
2190
|
+
}, "drawActorTypeDatabase");
|
|
2191
|
+
var drawActorTypeBoundary = /* @__PURE__ */ chunkAGHRB4JF.__name(function(elem, actor, conf2, isFooter) {
|
|
1808
2192
|
const actorY = isFooter ? actor.stopy : actor.starty;
|
|
1809
2193
|
const center = actor.x + actor.width / 2;
|
|
1810
2194
|
const centerY = actorY + 80;
|
|
2195
|
+
const radius = 30;
|
|
1811
2196
|
const line = elem.append("g").lower();
|
|
1812
2197
|
if (!isFooter) {
|
|
1813
2198
|
actorCnt++;
|
|
@@ -1823,7 +2208,55 @@ var drawActorTypeActor = /* @__PURE__ */ chunk3XYRH5AP.__name(function(elem, act
|
|
|
1823
2208
|
}
|
|
1824
2209
|
actElem.attr("class", cssClass);
|
|
1825
2210
|
actElem.attr("name", actor.name);
|
|
1826
|
-
const rect =
|
|
2211
|
+
const rect = chunkTZMSLE5B.getNoteRect();
|
|
2212
|
+
rect.x = actor.x;
|
|
2213
|
+
rect.y = actorY;
|
|
2214
|
+
rect.fill = "#eaeaea";
|
|
2215
|
+
rect.width = actor.width;
|
|
2216
|
+
rect.height = actor.height;
|
|
2217
|
+
rect.class = "actor";
|
|
2218
|
+
actElem.append("line").attr("id", "actor-man-torso" + actorCnt).attr("x1", actor.x + actor.width / 2 - radius * 2.5).attr("y1", actorY + 10).attr("x2", actor.x + actor.width / 2 - 15).attr("y2", actorY + 10);
|
|
2219
|
+
actElem.append("line").attr("id", "actor-man-arms" + actorCnt).attr("x1", actor.x + actor.width / 2 - radius * 2.5).attr("y1", actorY + 0).attr("x2", actor.x + actor.width / 2 - radius * 2.5).attr("y2", actorY + 20);
|
|
2220
|
+
actElem.append("circle").attr("cx", actor.x + actor.width / 2).attr("cy", actorY + 10).attr("r", radius);
|
|
2221
|
+
const bounds2 = actElem.node().getBBox();
|
|
2222
|
+
actor.height = bounds2.height + (conf2.sequence.labelBoxHeight ?? 0);
|
|
2223
|
+
_drawTextCandidateFunc(conf2, chunkABZYJK2D.hasKatex(actor.description))(
|
|
2224
|
+
actor.description,
|
|
2225
|
+
actElem,
|
|
2226
|
+
rect.x,
|
|
2227
|
+
rect.y + (!isFooter ? radius / 2 + 3 : radius / 2 - 4),
|
|
2228
|
+
rect.width,
|
|
2229
|
+
rect.height,
|
|
2230
|
+
{ class: `actor ${ACTOR_MAN_FIGURE_CLASS}` },
|
|
2231
|
+
conf2
|
|
2232
|
+
);
|
|
2233
|
+
if (!isFooter) {
|
|
2234
|
+
actElem.attr("transform", `translate(0,${radius / 2 + 7})`);
|
|
2235
|
+
} else {
|
|
2236
|
+
actElem.attr("transform", `translate(0,${radius / 2 + 7})`);
|
|
2237
|
+
}
|
|
2238
|
+
return actor.height;
|
|
2239
|
+
}, "drawActorTypeBoundary");
|
|
2240
|
+
var drawActorTypeActor = /* @__PURE__ */ chunkAGHRB4JF.__name(function(elem, actor, conf2, isFooter) {
|
|
2241
|
+
const actorY = isFooter ? actor.stopy : actor.starty;
|
|
2242
|
+
const center = actor.x + actor.width / 2;
|
|
2243
|
+
const centerY = actorY + 80;
|
|
2244
|
+
const line = elem.append("g").lower();
|
|
2245
|
+
if (!isFooter) {
|
|
2246
|
+
actorCnt++;
|
|
2247
|
+
line.append("line").attr("id", "actor" + actorCnt).attr("x1", center).attr("y1", centerY).attr("x2", center).attr("y2", 2e3).attr("class", "actor-line 200").attr("stroke-width", "0.5px").attr("stroke", "#999").attr("name", actor.name);
|
|
2248
|
+
actor.actorCnt = actorCnt;
|
|
2249
|
+
}
|
|
2250
|
+
const actElem = elem.append("g");
|
|
2251
|
+
let cssClass = ACTOR_MAN_FIGURE_CLASS;
|
|
2252
|
+
if (isFooter) {
|
|
2253
|
+
cssClass += ` ${BOTTOM_ACTOR_CLASS}`;
|
|
2254
|
+
} else {
|
|
2255
|
+
cssClass += ` ${TOP_ACTOR_CLASS}`;
|
|
2256
|
+
}
|
|
2257
|
+
actElem.attr("class", cssClass);
|
|
2258
|
+
actElem.attr("name", actor.name);
|
|
2259
|
+
const rect = chunkTZMSLE5B.getNoteRect();
|
|
1827
2260
|
rect.x = actor.x;
|
|
1828
2261
|
rect.y = actorY;
|
|
1829
2262
|
rect.fill = "#eaeaea";
|
|
@@ -1844,7 +2277,7 @@ var drawActorTypeActor = /* @__PURE__ */ chunk3XYRH5AP.__name(function(elem, act
|
|
|
1844
2277
|
circle.attr("height", actor.height);
|
|
1845
2278
|
const bounds2 = actElem.node().getBBox();
|
|
1846
2279
|
actor.height = bounds2.height;
|
|
1847
|
-
_drawTextCandidateFunc(conf2,
|
|
2280
|
+
_drawTextCandidateFunc(conf2, chunkABZYJK2D.hasKatex(actor.description))(
|
|
1848
2281
|
actor.description,
|
|
1849
2282
|
actElem,
|
|
1850
2283
|
rect.x,
|
|
@@ -1856,15 +2289,27 @@ var drawActorTypeActor = /* @__PURE__ */ chunk3XYRH5AP.__name(function(elem, act
|
|
|
1856
2289
|
);
|
|
1857
2290
|
return actor.height;
|
|
1858
2291
|
}, "drawActorTypeActor");
|
|
1859
|
-
var drawActor = /* @__PURE__ */
|
|
2292
|
+
var drawActor = /* @__PURE__ */ chunkAGHRB4JF.__name(async function(elem, actor, conf2, isFooter) {
|
|
1860
2293
|
switch (actor.type) {
|
|
1861
2294
|
case "actor":
|
|
1862
2295
|
return await drawActorTypeActor(elem, actor, conf2, isFooter);
|
|
1863
2296
|
case "participant":
|
|
1864
2297
|
return await drawActorTypeParticipant(elem, actor, conf2, isFooter);
|
|
2298
|
+
case "boundary":
|
|
2299
|
+
return await drawActorTypeBoundary(elem, actor, conf2, isFooter);
|
|
2300
|
+
case "control":
|
|
2301
|
+
return await drawActorTypeControl(elem, actor, conf2, isFooter);
|
|
2302
|
+
case "entity":
|
|
2303
|
+
return await drawActorTypeEntity(elem, actor, conf2, isFooter);
|
|
2304
|
+
case "database":
|
|
2305
|
+
return await drawActorTypeDatabase(elem, actor, conf2, isFooter);
|
|
2306
|
+
case "collections":
|
|
2307
|
+
return await drawActorTypeCollections(elem, actor, conf2, isFooter);
|
|
2308
|
+
case "queue":
|
|
2309
|
+
return await drawActorTypeQueue(elem, actor, conf2, isFooter);
|
|
1865
2310
|
}
|
|
1866
2311
|
}, "drawActor");
|
|
1867
|
-
var drawBox = /* @__PURE__ */
|
|
2312
|
+
var drawBox = /* @__PURE__ */ chunkAGHRB4JF.__name(function(elem, box, conf2) {
|
|
1868
2313
|
const boxplusTextGroup = elem.append("g");
|
|
1869
2314
|
const g = boxplusTextGroup;
|
|
1870
2315
|
drawBackgroundRect2(g, box);
|
|
@@ -1882,11 +2327,11 @@ var drawBox = /* @__PURE__ */ chunk3XYRH5AP.__name(function(elem, box, conf2) {
|
|
|
1882
2327
|
}
|
|
1883
2328
|
g.lower();
|
|
1884
2329
|
}, "drawBox");
|
|
1885
|
-
var anchorElement = /* @__PURE__ */
|
|
2330
|
+
var anchorElement = /* @__PURE__ */ chunkAGHRB4JF.__name(function(elem) {
|
|
1886
2331
|
return elem.append("g");
|
|
1887
2332
|
}, "anchorElement");
|
|
1888
|
-
var drawActivation = /* @__PURE__ */
|
|
1889
|
-
const rect =
|
|
2333
|
+
var drawActivation = /* @__PURE__ */ chunkAGHRB4JF.__name(function(elem, bounds2, verticalPos, conf2, actorActivations2) {
|
|
2334
|
+
const rect = chunkTZMSLE5B.getNoteRect();
|
|
1890
2335
|
const g = bounds2.anchored;
|
|
1891
2336
|
rect.x = bounds2.startx;
|
|
1892
2337
|
rect.y = bounds2.starty;
|
|
@@ -1895,7 +2340,7 @@ var drawActivation = /* @__PURE__ */ chunk3XYRH5AP.__name(function(elem, bounds2
|
|
|
1895
2340
|
rect.height = verticalPos - bounds2.starty;
|
|
1896
2341
|
drawRect2(g, rect);
|
|
1897
2342
|
}, "drawActivation");
|
|
1898
|
-
var drawLoop = /* @__PURE__ */
|
|
2343
|
+
var drawLoop = /* @__PURE__ */ chunkAGHRB4JF.__name(async function(elem, loopModel, labelText, conf2) {
|
|
1899
2344
|
const {
|
|
1900
2345
|
boxMargin,
|
|
1901
2346
|
boxTextMargin,
|
|
@@ -1906,7 +2351,7 @@ var drawLoop = /* @__PURE__ */ chunk3XYRH5AP.__name(async function(elem, loopMod
|
|
|
1906
2351
|
messageFontWeight: fontWeight
|
|
1907
2352
|
} = conf2;
|
|
1908
2353
|
const g = elem.append("g");
|
|
1909
|
-
const drawLoopLine = /* @__PURE__ */
|
|
2354
|
+
const drawLoopLine = /* @__PURE__ */ chunkAGHRB4JF.__name(function(startx, starty, stopx, stopy) {
|
|
1910
2355
|
return g.append("line").attr("x1", startx).attr("y1", starty).attr("x2", stopx).attr("y2", stopy).attr("class", "loopLine");
|
|
1911
2356
|
}, "drawLoopLine");
|
|
1912
2357
|
drawLoopLine(loopModel.startx, loopModel.starty, loopModel.stopx, loopModel.starty);
|
|
@@ -1921,7 +2366,7 @@ var drawLoop = /* @__PURE__ */ chunk3XYRH5AP.__name(async function(elem, loopMod
|
|
|
1921
2366
|
);
|
|
1922
2367
|
});
|
|
1923
2368
|
}
|
|
1924
|
-
let txt =
|
|
2369
|
+
let txt = chunkTZMSLE5B.getTextObj();
|
|
1925
2370
|
txt.text = labelText;
|
|
1926
2371
|
txt.x = loopModel.startx;
|
|
1927
2372
|
txt.y = loopModel.starty;
|
|
@@ -1948,7 +2393,7 @@ var drawLoop = /* @__PURE__ */ chunk3XYRH5AP.__name(async function(elem, loopMod
|
|
|
1948
2393
|
txt.fontSize = fontSize;
|
|
1949
2394
|
txt.fontWeight = fontWeight;
|
|
1950
2395
|
txt.wrap = true;
|
|
1951
|
-
let textElem =
|
|
2396
|
+
let textElem = chunkABZYJK2D.hasKatex(txt.text) ? await drawKatex(g, txt, loopModel) : drawText(g, txt);
|
|
1952
2397
|
if (loopModel.sectionTitles !== void 0) {
|
|
1953
2398
|
for (const [idx, item] of Object.entries(loopModel.sectionTitles)) {
|
|
1954
2399
|
if (item.message) {
|
|
@@ -1963,7 +2408,7 @@ var drawLoop = /* @__PURE__ */ chunk3XYRH5AP.__name(async function(elem, loopMod
|
|
|
1963
2408
|
txt.fontSize = fontSize;
|
|
1964
2409
|
txt.fontWeight = fontWeight;
|
|
1965
2410
|
txt.wrap = loopModel.wrap;
|
|
1966
|
-
if (
|
|
2411
|
+
if (chunkABZYJK2D.hasKatex(txt.text)) {
|
|
1967
2412
|
loopModel.starty = loopModel.sections[idx].y;
|
|
1968
2413
|
await drawKatex(g, txt, loopModel);
|
|
1969
2414
|
} else {
|
|
@@ -1979,42 +2424,42 @@ var drawLoop = /* @__PURE__ */ chunk3XYRH5AP.__name(async function(elem, loopMod
|
|
|
1979
2424
|
loopModel.height = Math.round(loopModel.stopy - loopModel.starty);
|
|
1980
2425
|
return g;
|
|
1981
2426
|
}, "drawLoop");
|
|
1982
|
-
var drawBackgroundRect2 = /* @__PURE__ */
|
|
1983
|
-
|
|
2427
|
+
var drawBackgroundRect2 = /* @__PURE__ */ chunkAGHRB4JF.__name(function(elem, bounds2) {
|
|
2428
|
+
chunkTZMSLE5B.drawBackgroundRect(elem, bounds2);
|
|
1984
2429
|
}, "drawBackgroundRect");
|
|
1985
|
-
var insertDatabaseIcon = /* @__PURE__ */
|
|
2430
|
+
var insertDatabaseIcon = /* @__PURE__ */ chunkAGHRB4JF.__name(function(elem) {
|
|
1986
2431
|
elem.append("defs").append("symbol").attr("id", "database").attr("fill-rule", "evenodd").attr("clip-rule", "evenodd").append("path").attr("transform", "scale(.5)").attr(
|
|
1987
2432
|
"d",
|
|
1988
2433
|
"M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z"
|
|
1989
2434
|
);
|
|
1990
2435
|
}, "insertDatabaseIcon");
|
|
1991
|
-
var insertComputerIcon = /* @__PURE__ */
|
|
2436
|
+
var insertComputerIcon = /* @__PURE__ */ chunkAGHRB4JF.__name(function(elem) {
|
|
1992
2437
|
elem.append("defs").append("symbol").attr("id", "computer").attr("width", "24").attr("height", "24").append("path").attr("transform", "scale(.5)").attr(
|
|
1993
2438
|
"d",
|
|
1994
2439
|
"M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z"
|
|
1995
2440
|
);
|
|
1996
2441
|
}, "insertComputerIcon");
|
|
1997
|
-
var insertClockIcon = /* @__PURE__ */
|
|
2442
|
+
var insertClockIcon = /* @__PURE__ */ chunkAGHRB4JF.__name(function(elem) {
|
|
1998
2443
|
elem.append("defs").append("symbol").attr("id", "clock").attr("width", "24").attr("height", "24").append("path").attr("transform", "scale(.5)").attr(
|
|
1999
2444
|
"d",
|
|
2000
2445
|
"M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z"
|
|
2001
2446
|
);
|
|
2002
2447
|
}, "insertClockIcon");
|
|
2003
|
-
var insertArrowHead = /* @__PURE__ */
|
|
2448
|
+
var insertArrowHead = /* @__PURE__ */ chunkAGHRB4JF.__name(function(elem) {
|
|
2004
2449
|
elem.append("defs").append("marker").attr("id", "arrowhead").attr("refX", 7.9).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 12).attr("markerHeight", 12).attr("orient", "auto-start-reverse").append("path").attr("d", "M -1 0 L 10 5 L 0 10 z");
|
|
2005
2450
|
}, "insertArrowHead");
|
|
2006
|
-
var insertArrowFilledHead = /* @__PURE__ */
|
|
2451
|
+
var insertArrowFilledHead = /* @__PURE__ */ chunkAGHRB4JF.__name(function(elem) {
|
|
2007
2452
|
elem.append("defs").append("marker").attr("id", "filled-head").attr("refX", 15.5).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").append("path").attr("d", "M 18,7 L9,13 L14,7 L9,1 Z");
|
|
2008
2453
|
}, "insertArrowFilledHead");
|
|
2009
|
-
var insertSequenceNumber = /* @__PURE__ */
|
|
2454
|
+
var insertSequenceNumber = /* @__PURE__ */ chunkAGHRB4JF.__name(function(elem) {
|
|
2010
2455
|
elem.append("defs").append("marker").attr("id", "sequencenumber").attr("refX", 15).attr("refY", 15).attr("markerWidth", 60).attr("markerHeight", 40).attr("orient", "auto").append("circle").attr("cx", 15).attr("cy", 15).attr("r", 6);
|
|
2011
2456
|
}, "insertSequenceNumber");
|
|
2012
|
-
var insertArrowCrossHead = /* @__PURE__ */
|
|
2457
|
+
var insertArrowCrossHead = /* @__PURE__ */ chunkAGHRB4JF.__name(function(elem) {
|
|
2013
2458
|
const defs = elem.append("defs");
|
|
2014
2459
|
const marker = defs.append("marker").attr("id", "crosshead").attr("markerWidth", 15).attr("markerHeight", 8).attr("orient", "auto").attr("refX", 4).attr("refY", 4.5);
|
|
2015
2460
|
marker.append("path").attr("fill", "none").attr("stroke", "#000000").style("stroke-dasharray", "0, 0").attr("stroke-width", "1pt").attr("d", "M 1,2 L 6,7 M 6,2 L 1,7");
|
|
2016
2461
|
}, "insertArrowCrossHead");
|
|
2017
|
-
var getTextObj2 = /* @__PURE__ */
|
|
2462
|
+
var getTextObj2 = /* @__PURE__ */ chunkAGHRB4JF.__name(function() {
|
|
2018
2463
|
return {
|
|
2019
2464
|
x: 0,
|
|
2020
2465
|
y: 0,
|
|
@@ -2030,7 +2475,7 @@ var getTextObj2 = /* @__PURE__ */ chunk3XYRH5AP.__name(function() {
|
|
|
2030
2475
|
valign: void 0
|
|
2031
2476
|
};
|
|
2032
2477
|
}, "getTextObj");
|
|
2033
|
-
var getNoteRect2 = /* @__PURE__ */
|
|
2478
|
+
var getNoteRect2 = /* @__PURE__ */ chunkAGHRB4JF.__name(function() {
|
|
2034
2479
|
return {
|
|
2035
2480
|
x: 0,
|
|
2036
2481
|
y: 0,
|
|
@@ -2043,16 +2488,16 @@ var getNoteRect2 = /* @__PURE__ */ chunk3XYRH5AP.__name(function() {
|
|
|
2043
2488
|
ry: 0
|
|
2044
2489
|
};
|
|
2045
2490
|
}, "getNoteRect");
|
|
2046
|
-
var _drawTextCandidateFunc = /* @__PURE__ */ function() {
|
|
2491
|
+
var _drawTextCandidateFunc = /* @__PURE__ */ (function() {
|
|
2047
2492
|
function byText(content, g, x, y, width, height, textAttrs) {
|
|
2048
2493
|
const text = g.append("text").attr("x", x + width / 2).attr("y", y + height / 2 + 5).style("text-anchor", "middle").text(content);
|
|
2049
2494
|
_setTextAttrs(text, textAttrs);
|
|
2050
2495
|
}
|
|
2051
|
-
|
|
2496
|
+
chunkAGHRB4JF.__name(byText, "byText");
|
|
2052
2497
|
function byTspan(content, g, x, y, width, height, textAttrs, conf2) {
|
|
2053
2498
|
const { actorFontSize, actorFontFamily, actorFontWeight } = conf2;
|
|
2054
|
-
const [_actorFontSize, _actorFontSizePx] =
|
|
2055
|
-
const lines = content.split(
|
|
2499
|
+
const [_actorFontSize, _actorFontSizePx] = chunkS3R3BYOJ.parseFontSize(actorFontSize);
|
|
2500
|
+
const lines = content.split(chunkABZYJK2D.common_default.lineBreakRegex);
|
|
2056
2501
|
for (let i = 0; i < lines.length; i++) {
|
|
2057
2502
|
const dy = i * _actorFontSize - _actorFontSize * (lines.length - 1) / 2;
|
|
2058
2503
|
const text = g.append("text").attr("x", x + width / 2).attr("y", y).style("text-anchor", "middle").style("font-size", _actorFontSizePx).style("font-weight", actorFontWeight).style("font-family", actorFontFamily);
|
|
@@ -2061,7 +2506,7 @@ var _drawTextCandidateFunc = /* @__PURE__ */ function() {
|
|
|
2061
2506
|
_setTextAttrs(text, textAttrs);
|
|
2062
2507
|
}
|
|
2063
2508
|
}
|
|
2064
|
-
|
|
2509
|
+
chunkAGHRB4JF.__name(byTspan, "byTspan");
|
|
2065
2510
|
function byFo(content, g, x, y, width, height, textAttrs, conf2) {
|
|
2066
2511
|
const s = g.append("switch");
|
|
2067
2512
|
const f = s.append("foreignObject").attr("x", x).attr("y", y).attr("width", width).attr("height", height);
|
|
@@ -2070,17 +2515,17 @@ var _drawTextCandidateFunc = /* @__PURE__ */ function() {
|
|
|
2070
2515
|
byTspan(content, s, x, y, width, height, textAttrs, conf2);
|
|
2071
2516
|
_setTextAttrs(text, textAttrs);
|
|
2072
2517
|
}
|
|
2073
|
-
|
|
2518
|
+
chunkAGHRB4JF.__name(byFo, "byFo");
|
|
2074
2519
|
async function byKatex(content, g, x, y, width, height, textAttrs, conf2) {
|
|
2075
|
-
const dim = await
|
|
2520
|
+
const dim = await chunkABZYJK2D.calculateMathMLDimensions(content, chunkABZYJK2D.getConfig());
|
|
2076
2521
|
const s = g.append("switch");
|
|
2077
2522
|
const f = s.append("foreignObject").attr("x", x + width / 2 - dim.width / 2).attr("y", y + height / 2 - dim.height / 2).attr("width", dim.width).attr("height", dim.height);
|
|
2078
2523
|
const text = f.append("xhtml:div").style("height", "100%").style("width", "100%");
|
|
2079
|
-
text.append("div").style("text-align", "center").style("vertical-align", "middle").html(await
|
|
2524
|
+
text.append("div").style("text-align", "center").style("vertical-align", "middle").html(await chunkABZYJK2D.renderKatexSanitized(content, chunkABZYJK2D.getConfig()));
|
|
2080
2525
|
byTspan(content, s, x, y, width, height, textAttrs, conf2);
|
|
2081
2526
|
_setTextAttrs(text, textAttrs);
|
|
2082
2527
|
}
|
|
2083
|
-
|
|
2528
|
+
chunkAGHRB4JF.__name(byKatex, "byKatex");
|
|
2084
2529
|
function _setTextAttrs(toText, fromTextAttrsDict) {
|
|
2085
2530
|
for (const key in fromTextAttrsDict) {
|
|
2086
2531
|
if (fromTextAttrsDict.hasOwnProperty(key)) {
|
|
@@ -2088,23 +2533,23 @@ var _drawTextCandidateFunc = /* @__PURE__ */ function() {
|
|
|
2088
2533
|
}
|
|
2089
2534
|
}
|
|
2090
2535
|
}
|
|
2091
|
-
|
|
2536
|
+
chunkAGHRB4JF.__name(_setTextAttrs, "_setTextAttrs");
|
|
2092
2537
|
return function(conf2, hasKatex2 = false) {
|
|
2093
2538
|
if (hasKatex2) {
|
|
2094
2539
|
return byKatex;
|
|
2095
2540
|
}
|
|
2096
2541
|
return conf2.textPlacement === "fo" ? byFo : conf2.textPlacement === "old" ? byText : byTspan;
|
|
2097
2542
|
};
|
|
2098
|
-
}();
|
|
2099
|
-
var _drawMenuItemTextCandidateFunc = /* @__PURE__ */ function() {
|
|
2543
|
+
})();
|
|
2544
|
+
var _drawMenuItemTextCandidateFunc = /* @__PURE__ */ (function() {
|
|
2100
2545
|
function byText(content, g, x, y, width, height, textAttrs) {
|
|
2101
2546
|
const text = g.append("text").attr("x", x).attr("y", y).style("text-anchor", "start").text(content);
|
|
2102
2547
|
_setTextAttrs(text, textAttrs);
|
|
2103
2548
|
}
|
|
2104
|
-
|
|
2549
|
+
chunkAGHRB4JF.__name(byText, "byText");
|
|
2105
2550
|
function byTspan(content, g, x, y, width, height, textAttrs, conf2) {
|
|
2106
2551
|
const { actorFontSize, actorFontFamily, actorFontWeight } = conf2;
|
|
2107
|
-
const lines = content.split(
|
|
2552
|
+
const lines = content.split(chunkABZYJK2D.common_default.lineBreakRegex);
|
|
2108
2553
|
for (let i = 0; i < lines.length; i++) {
|
|
2109
2554
|
const dy = i * actorFontSize - actorFontSize * (lines.length - 1) / 2;
|
|
2110
2555
|
const text = g.append("text").attr("x", x).attr("y", y).style("text-anchor", "start").style("font-size", actorFontSize).style("font-weight", actorFontWeight).style("font-family", actorFontFamily);
|
|
@@ -2113,7 +2558,7 @@ var _drawMenuItemTextCandidateFunc = /* @__PURE__ */ function() {
|
|
|
2113
2558
|
_setTextAttrs(text, textAttrs);
|
|
2114
2559
|
}
|
|
2115
2560
|
}
|
|
2116
|
-
|
|
2561
|
+
chunkAGHRB4JF.__name(byTspan, "byTspan");
|
|
2117
2562
|
function byFo(content, g, x, y, width, height, textAttrs, conf2) {
|
|
2118
2563
|
const s = g.append("switch");
|
|
2119
2564
|
const f = s.append("foreignObject").attr("x", x).attr("y", y).attr("width", width).attr("height", height);
|
|
@@ -2122,7 +2567,7 @@ var _drawMenuItemTextCandidateFunc = /* @__PURE__ */ function() {
|
|
|
2122
2567
|
byTspan(content, s, x, y, width, height, textAttrs, conf2);
|
|
2123
2568
|
_setTextAttrs(text, textAttrs);
|
|
2124
2569
|
}
|
|
2125
|
-
|
|
2570
|
+
chunkAGHRB4JF.__name(byFo, "byFo");
|
|
2126
2571
|
function _setTextAttrs(toText, fromTextAttrsDict) {
|
|
2127
2572
|
for (const key in fromTextAttrsDict) {
|
|
2128
2573
|
if (fromTextAttrsDict.hasOwnProperty(key)) {
|
|
@@ -2130,11 +2575,11 @@ var _drawMenuItemTextCandidateFunc = /* @__PURE__ */ function() {
|
|
|
2130
2575
|
}
|
|
2131
2576
|
}
|
|
2132
2577
|
}
|
|
2133
|
-
|
|
2578
|
+
chunkAGHRB4JF.__name(_setTextAttrs, "_setTextAttrs");
|
|
2134
2579
|
return function(conf2) {
|
|
2135
2580
|
return conf2.textPlacement === "fo" ? byFo : conf2.textPlacement === "old" ? byText : byTspan;
|
|
2136
2581
|
};
|
|
2137
|
-
}();
|
|
2582
|
+
})();
|
|
2138
2583
|
var svgDraw_default = {
|
|
2139
2584
|
drawRect: drawRect2,
|
|
2140
2585
|
drawText,
|
|
@@ -2172,44 +2617,44 @@ var bounds = {
|
|
|
2172
2617
|
sequenceItems: [],
|
|
2173
2618
|
activations: [],
|
|
2174
2619
|
models: {
|
|
2175
|
-
getHeight: /* @__PURE__ */
|
|
2620
|
+
getHeight: /* @__PURE__ */ chunkAGHRB4JF.__name(function() {
|
|
2176
2621
|
return Math.max.apply(
|
|
2177
2622
|
null,
|
|
2178
2623
|
this.actors.length === 0 ? [0] : this.actors.map((actor) => actor.height || 0)
|
|
2179
2624
|
) + (this.loops.length === 0 ? 0 : this.loops.map((it) => it.height || 0).reduce((acc, h) => acc + h)) + (this.messages.length === 0 ? 0 : this.messages.map((it) => it.height || 0).reduce((acc, h) => acc + h)) + (this.notes.length === 0 ? 0 : this.notes.map((it) => it.height || 0).reduce((acc, h) => acc + h));
|
|
2180
2625
|
}, "getHeight"),
|
|
2181
|
-
clear: /* @__PURE__ */
|
|
2626
|
+
clear: /* @__PURE__ */ chunkAGHRB4JF.__name(function() {
|
|
2182
2627
|
this.actors = [];
|
|
2183
2628
|
this.boxes = [];
|
|
2184
2629
|
this.loops = [];
|
|
2185
2630
|
this.messages = [];
|
|
2186
2631
|
this.notes = [];
|
|
2187
2632
|
}, "clear"),
|
|
2188
|
-
addBox: /* @__PURE__ */
|
|
2633
|
+
addBox: /* @__PURE__ */ chunkAGHRB4JF.__name(function(boxModel) {
|
|
2189
2634
|
this.boxes.push(boxModel);
|
|
2190
2635
|
}, "addBox"),
|
|
2191
|
-
addActor: /* @__PURE__ */
|
|
2636
|
+
addActor: /* @__PURE__ */ chunkAGHRB4JF.__name(function(actorModel) {
|
|
2192
2637
|
this.actors.push(actorModel);
|
|
2193
2638
|
}, "addActor"),
|
|
2194
|
-
addLoop: /* @__PURE__ */
|
|
2639
|
+
addLoop: /* @__PURE__ */ chunkAGHRB4JF.__name(function(loopModel) {
|
|
2195
2640
|
this.loops.push(loopModel);
|
|
2196
2641
|
}, "addLoop"),
|
|
2197
|
-
addMessage: /* @__PURE__ */
|
|
2642
|
+
addMessage: /* @__PURE__ */ chunkAGHRB4JF.__name(function(msgModel) {
|
|
2198
2643
|
this.messages.push(msgModel);
|
|
2199
2644
|
}, "addMessage"),
|
|
2200
|
-
addNote: /* @__PURE__ */
|
|
2645
|
+
addNote: /* @__PURE__ */ chunkAGHRB4JF.__name(function(noteModel) {
|
|
2201
2646
|
this.notes.push(noteModel);
|
|
2202
2647
|
}, "addNote"),
|
|
2203
|
-
lastActor: /* @__PURE__ */
|
|
2648
|
+
lastActor: /* @__PURE__ */ chunkAGHRB4JF.__name(function() {
|
|
2204
2649
|
return this.actors[this.actors.length - 1];
|
|
2205
2650
|
}, "lastActor"),
|
|
2206
|
-
lastLoop: /* @__PURE__ */
|
|
2651
|
+
lastLoop: /* @__PURE__ */ chunkAGHRB4JF.__name(function() {
|
|
2207
2652
|
return this.loops[this.loops.length - 1];
|
|
2208
2653
|
}, "lastLoop"),
|
|
2209
|
-
lastMessage: /* @__PURE__ */
|
|
2654
|
+
lastMessage: /* @__PURE__ */ chunkAGHRB4JF.__name(function() {
|
|
2210
2655
|
return this.messages[this.messages.length - 1];
|
|
2211
2656
|
}, "lastMessage"),
|
|
2212
|
-
lastNote: /* @__PURE__ */
|
|
2657
|
+
lastNote: /* @__PURE__ */ chunkAGHRB4JF.__name(function() {
|
|
2213
2658
|
return this.notes[this.notes.length - 1];
|
|
2214
2659
|
}, "lastNote"),
|
|
2215
2660
|
actors: [],
|
|
@@ -2218,7 +2663,7 @@ var bounds = {
|
|
|
2218
2663
|
messages: [],
|
|
2219
2664
|
notes: []
|
|
2220
2665
|
},
|
|
2221
|
-
init: /* @__PURE__ */
|
|
2666
|
+
init: /* @__PURE__ */ chunkAGHRB4JF.__name(function() {
|
|
2222
2667
|
this.sequenceItems = [];
|
|
2223
2668
|
this.activations = [];
|
|
2224
2669
|
this.models.clear();
|
|
@@ -2229,20 +2674,20 @@ var bounds = {
|
|
|
2229
2674
|
stopy: void 0
|
|
2230
2675
|
};
|
|
2231
2676
|
this.verticalPos = 0;
|
|
2232
|
-
setConf(
|
|
2677
|
+
setConf(chunkABZYJK2D.getConfig2());
|
|
2233
2678
|
}, "init"),
|
|
2234
|
-
updateVal: /* @__PURE__ */
|
|
2679
|
+
updateVal: /* @__PURE__ */ chunkAGHRB4JF.__name(function(obj, key, val, fun) {
|
|
2235
2680
|
if (obj[key] === void 0) {
|
|
2236
2681
|
obj[key] = val;
|
|
2237
2682
|
} else {
|
|
2238
2683
|
obj[key] = fun(val, obj[key]);
|
|
2239
2684
|
}
|
|
2240
2685
|
}, "updateVal"),
|
|
2241
|
-
updateBounds: /* @__PURE__ */
|
|
2686
|
+
updateBounds: /* @__PURE__ */ chunkAGHRB4JF.__name(function(startx, starty, stopx, stopy) {
|
|
2242
2687
|
const _self = this;
|
|
2243
2688
|
let cnt = 0;
|
|
2244
2689
|
function updateFn(type) {
|
|
2245
|
-
return /* @__PURE__ */
|
|
2690
|
+
return /* @__PURE__ */ chunkAGHRB4JF.__name(function updateItemBounds(item) {
|
|
2246
2691
|
cnt++;
|
|
2247
2692
|
const n = _self.sequenceItems.length - cnt + 1;
|
|
2248
2693
|
_self.updateVal(item, "starty", starty - n * conf.boxMargin, Math.min);
|
|
@@ -2257,22 +2702,22 @@ var bounds = {
|
|
|
2257
2702
|
}
|
|
2258
2703
|
}, "updateItemBounds");
|
|
2259
2704
|
}
|
|
2260
|
-
|
|
2705
|
+
chunkAGHRB4JF.__name(updateFn, "updateFn");
|
|
2261
2706
|
this.sequenceItems.forEach(updateFn());
|
|
2262
2707
|
this.activations.forEach(updateFn("activation"));
|
|
2263
2708
|
}, "updateBounds"),
|
|
2264
|
-
insert: /* @__PURE__ */
|
|
2265
|
-
const _startx =
|
|
2266
|
-
const _stopx =
|
|
2267
|
-
const _starty =
|
|
2268
|
-
const _stopy =
|
|
2709
|
+
insert: /* @__PURE__ */ chunkAGHRB4JF.__name(function(startx, starty, stopx, stopy) {
|
|
2710
|
+
const _startx = chunkABZYJK2D.common_default.getMin(startx, stopx);
|
|
2711
|
+
const _stopx = chunkABZYJK2D.common_default.getMax(startx, stopx);
|
|
2712
|
+
const _starty = chunkABZYJK2D.common_default.getMin(starty, stopy);
|
|
2713
|
+
const _stopy = chunkABZYJK2D.common_default.getMax(starty, stopy);
|
|
2269
2714
|
this.updateVal(bounds.data, "startx", _startx, Math.min);
|
|
2270
2715
|
this.updateVal(bounds.data, "starty", _starty, Math.min);
|
|
2271
2716
|
this.updateVal(bounds.data, "stopx", _stopx, Math.max);
|
|
2272
2717
|
this.updateVal(bounds.data, "stopy", _stopy, Math.max);
|
|
2273
2718
|
this.updateBounds(_startx, _starty, _stopx, _stopy);
|
|
2274
2719
|
}, "insert"),
|
|
2275
|
-
newActivation: /* @__PURE__ */
|
|
2720
|
+
newActivation: /* @__PURE__ */ chunkAGHRB4JF.__name(function(message, diagram2, actors) {
|
|
2276
2721
|
const actorRect = actors.get(message.from);
|
|
2277
2722
|
const stackedSize = actorActivations(message.from).length || 0;
|
|
2278
2723
|
const x = actorRect.x + actorRect.width / 2 + (stackedSize - 1) * conf.activationWidth / 2;
|
|
@@ -2285,13 +2730,13 @@ var bounds = {
|
|
|
2285
2730
|
anchored: svgDraw_default.anchorElement(diagram2)
|
|
2286
2731
|
});
|
|
2287
2732
|
}, "newActivation"),
|
|
2288
|
-
endActivation: /* @__PURE__ */
|
|
2733
|
+
endActivation: /* @__PURE__ */ chunkAGHRB4JF.__name(function(message) {
|
|
2289
2734
|
const lastActorActivationIdx = this.activations.map(function(activation) {
|
|
2290
2735
|
return activation.actor;
|
|
2291
2736
|
}).lastIndexOf(message.from);
|
|
2292
2737
|
return this.activations.splice(lastActorActivationIdx, 1)[0];
|
|
2293
2738
|
}, "endActivation"),
|
|
2294
|
-
createLoop: /* @__PURE__ */
|
|
2739
|
+
createLoop: /* @__PURE__ */ chunkAGHRB4JF.__name(function(title = { message: void 0, wrap: false, width: void 0 }, fill) {
|
|
2295
2740
|
return {
|
|
2296
2741
|
startx: void 0,
|
|
2297
2742
|
starty: this.verticalPos,
|
|
@@ -2304,16 +2749,16 @@ var bounds = {
|
|
|
2304
2749
|
fill
|
|
2305
2750
|
};
|
|
2306
2751
|
}, "createLoop"),
|
|
2307
|
-
newLoop: /* @__PURE__ */
|
|
2752
|
+
newLoop: /* @__PURE__ */ chunkAGHRB4JF.__name(function(title = { message: void 0, wrap: false, width: void 0 }, fill) {
|
|
2308
2753
|
this.sequenceItems.push(this.createLoop(title, fill));
|
|
2309
2754
|
}, "newLoop"),
|
|
2310
|
-
endLoop: /* @__PURE__ */
|
|
2755
|
+
endLoop: /* @__PURE__ */ chunkAGHRB4JF.__name(function() {
|
|
2311
2756
|
return this.sequenceItems.pop();
|
|
2312
2757
|
}, "endLoop"),
|
|
2313
|
-
isLoopOverlap: /* @__PURE__ */
|
|
2758
|
+
isLoopOverlap: /* @__PURE__ */ chunkAGHRB4JF.__name(function() {
|
|
2314
2759
|
return this.sequenceItems.length ? this.sequenceItems[this.sequenceItems.length - 1].overlap : false;
|
|
2315
2760
|
}, "isLoopOverlap"),
|
|
2316
|
-
addSectionToLoop: /* @__PURE__ */
|
|
2761
|
+
addSectionToLoop: /* @__PURE__ */ chunkAGHRB4JF.__name(function(message) {
|
|
2317
2762
|
const loop = this.sequenceItems.pop();
|
|
2318
2763
|
loop.sections = loop.sections || [];
|
|
2319
2764
|
loop.sectionTitles = loop.sectionTitles || [];
|
|
@@ -2321,39 +2766,39 @@ var bounds = {
|
|
|
2321
2766
|
loop.sectionTitles.push(message);
|
|
2322
2767
|
this.sequenceItems.push(loop);
|
|
2323
2768
|
}, "addSectionToLoop"),
|
|
2324
|
-
saveVerticalPos: /* @__PURE__ */
|
|
2769
|
+
saveVerticalPos: /* @__PURE__ */ chunkAGHRB4JF.__name(function() {
|
|
2325
2770
|
if (this.isLoopOverlap()) {
|
|
2326
2771
|
this.savedVerticalPos = this.verticalPos;
|
|
2327
2772
|
}
|
|
2328
2773
|
}, "saveVerticalPos"),
|
|
2329
|
-
resetVerticalPos: /* @__PURE__ */
|
|
2774
|
+
resetVerticalPos: /* @__PURE__ */ chunkAGHRB4JF.__name(function() {
|
|
2330
2775
|
if (this.isLoopOverlap()) {
|
|
2331
2776
|
this.verticalPos = this.savedVerticalPos;
|
|
2332
2777
|
}
|
|
2333
2778
|
}, "resetVerticalPos"),
|
|
2334
|
-
bumpVerticalPos: /* @__PURE__ */
|
|
2779
|
+
bumpVerticalPos: /* @__PURE__ */ chunkAGHRB4JF.__name(function(bump) {
|
|
2335
2780
|
this.verticalPos = this.verticalPos + bump;
|
|
2336
|
-
this.data.stopy =
|
|
2781
|
+
this.data.stopy = chunkABZYJK2D.common_default.getMax(this.data.stopy, this.verticalPos);
|
|
2337
2782
|
}, "bumpVerticalPos"),
|
|
2338
|
-
getVerticalPos: /* @__PURE__ */
|
|
2783
|
+
getVerticalPos: /* @__PURE__ */ chunkAGHRB4JF.__name(function() {
|
|
2339
2784
|
return this.verticalPos;
|
|
2340
2785
|
}, "getVerticalPos"),
|
|
2341
|
-
getBounds: /* @__PURE__ */
|
|
2786
|
+
getBounds: /* @__PURE__ */ chunkAGHRB4JF.__name(function() {
|
|
2342
2787
|
return { bounds: this.data, models: this.models };
|
|
2343
2788
|
}, "getBounds")
|
|
2344
2789
|
};
|
|
2345
|
-
var drawNote = /* @__PURE__ */
|
|
2790
|
+
var drawNote = /* @__PURE__ */ chunkAGHRB4JF.__name(async function(elem, noteModel) {
|
|
2346
2791
|
bounds.bumpVerticalPos(conf.boxMargin);
|
|
2347
2792
|
noteModel.height = conf.boxMargin;
|
|
2348
2793
|
noteModel.starty = bounds.getVerticalPos();
|
|
2349
|
-
const rect =
|
|
2794
|
+
const rect = chunkTZMSLE5B.getNoteRect();
|
|
2350
2795
|
rect.x = noteModel.startx;
|
|
2351
2796
|
rect.y = noteModel.starty;
|
|
2352
2797
|
rect.width = noteModel.width || conf.width;
|
|
2353
2798
|
rect.class = "note";
|
|
2354
2799
|
const g = elem.append("g");
|
|
2355
2800
|
const rectElem = svgDraw_default.drawRect(g, rect);
|
|
2356
|
-
const textObj =
|
|
2801
|
+
const textObj = chunkTZMSLE5B.getTextObj();
|
|
2357
2802
|
textObj.x = noteModel.startx;
|
|
2358
2803
|
textObj.y = noteModel.starty;
|
|
2359
2804
|
textObj.width = rect.width;
|
|
@@ -2366,7 +2811,7 @@ var drawNote = /* @__PURE__ */ chunk3XYRH5AP.__name(async function(elem, noteMod
|
|
|
2366
2811
|
textObj.anchor = conf.noteAlign;
|
|
2367
2812
|
textObj.textMargin = conf.noteMargin;
|
|
2368
2813
|
textObj.valign = "center";
|
|
2369
|
-
const textElem =
|
|
2814
|
+
const textElem = chunkABZYJK2D.hasKatex(textObj.text) ? await drawKatex(g, textObj) : drawText(g, textObj);
|
|
2370
2815
|
const textHeight = Math.round(
|
|
2371
2816
|
textElem.map((te) => (te._groups || te)[0][0].getBBox().height).reduce((acc, curr) => acc + curr)
|
|
2372
2817
|
);
|
|
@@ -2378,21 +2823,21 @@ var drawNote = /* @__PURE__ */ chunk3XYRH5AP.__name(async function(elem, noteMod
|
|
|
2378
2823
|
bounds.insert(noteModel.startx, noteModel.starty, noteModel.stopx, noteModel.stopy);
|
|
2379
2824
|
bounds.models.addNote(noteModel);
|
|
2380
2825
|
}, "drawNote");
|
|
2381
|
-
var messageFont = /* @__PURE__ */
|
|
2826
|
+
var messageFont = /* @__PURE__ */ chunkAGHRB4JF.__name((cnf) => {
|
|
2382
2827
|
return {
|
|
2383
2828
|
fontFamily: cnf.messageFontFamily,
|
|
2384
2829
|
fontSize: cnf.messageFontSize,
|
|
2385
2830
|
fontWeight: cnf.messageFontWeight
|
|
2386
2831
|
};
|
|
2387
2832
|
}, "messageFont");
|
|
2388
|
-
var noteFont = /* @__PURE__ */
|
|
2833
|
+
var noteFont = /* @__PURE__ */ chunkAGHRB4JF.__name((cnf) => {
|
|
2389
2834
|
return {
|
|
2390
2835
|
fontFamily: cnf.noteFontFamily,
|
|
2391
2836
|
fontSize: cnf.noteFontSize,
|
|
2392
2837
|
fontWeight: cnf.noteFontWeight
|
|
2393
2838
|
};
|
|
2394
2839
|
}, "noteFont");
|
|
2395
|
-
var actorFont = /* @__PURE__ */
|
|
2840
|
+
var actorFont = /* @__PURE__ */ chunkAGHRB4JF.__name((cnf) => {
|
|
2396
2841
|
return {
|
|
2397
2842
|
fontFamily: cnf.actorFontFamily,
|
|
2398
2843
|
fontSize: cnf.actorFontSize,
|
|
@@ -2402,9 +2847,9 @@ var actorFont = /* @__PURE__ */ chunk3XYRH5AP.__name((cnf) => {
|
|
|
2402
2847
|
async function boundMessage(_diagram, msgModel) {
|
|
2403
2848
|
bounds.bumpVerticalPos(10);
|
|
2404
2849
|
const { startx, stopx, message } = msgModel;
|
|
2405
|
-
const lines =
|
|
2406
|
-
const isKatexMsg =
|
|
2407
|
-
const textDims = isKatexMsg ? await
|
|
2850
|
+
const lines = chunkABZYJK2D.common_default.splitBreaks(message).length;
|
|
2851
|
+
const isKatexMsg = chunkABZYJK2D.hasKatex(message);
|
|
2852
|
+
const textDims = isKatexMsg ? await chunkABZYJK2D.calculateMathMLDimensions(message, chunkABZYJK2D.getConfig2()) : chunkS3R3BYOJ.utils_default.calculateTextDimensions(message, messageFont(conf));
|
|
2408
2853
|
if (!isKatexMsg) {
|
|
2409
2854
|
const lineHeight = textDims.height / lines;
|
|
2410
2855
|
msgModel.height += lineHeight;
|
|
@@ -2420,7 +2865,7 @@ async function boundMessage(_diagram, msgModel) {
|
|
|
2420
2865
|
lineStartY = bounds.getVerticalPos() + totalOffset;
|
|
2421
2866
|
}
|
|
2422
2867
|
totalOffset += 30;
|
|
2423
|
-
const dx =
|
|
2868
|
+
const dx = chunkABZYJK2D.common_default.getMax(textWidth / 2, conf.width / 2);
|
|
2424
2869
|
bounds.insert(
|
|
2425
2870
|
startx - dx,
|
|
2426
2871
|
bounds.getVerticalPos() - 10 + totalOffset,
|
|
@@ -2438,11 +2883,11 @@ async function boundMessage(_diagram, msgModel) {
|
|
|
2438
2883
|
bounds.insert(msgModel.fromBounds, msgModel.starty, msgModel.toBounds, msgModel.stopy);
|
|
2439
2884
|
return lineStartY;
|
|
2440
2885
|
}
|
|
2441
|
-
|
|
2442
|
-
var drawMessage = /* @__PURE__ */
|
|
2886
|
+
chunkAGHRB4JF.__name(boundMessage, "boundMessage");
|
|
2887
|
+
var drawMessage = /* @__PURE__ */ chunkAGHRB4JF.__name(async function(diagram2, msgModel, lineStartY, diagObj) {
|
|
2443
2888
|
const { startx, stopx, starty, message, type, sequenceIndex, sequenceVisible } = msgModel;
|
|
2444
|
-
const textDims =
|
|
2445
|
-
const textObj =
|
|
2889
|
+
const textDims = chunkS3R3BYOJ.utils_default.calculateTextDimensions(message, messageFont(conf));
|
|
2890
|
+
const textObj = chunkTZMSLE5B.getTextObj();
|
|
2446
2891
|
textObj.x = startx;
|
|
2447
2892
|
textObj.y = starty + 10;
|
|
2448
2893
|
textObj.width = stopx - startx;
|
|
@@ -2456,7 +2901,7 @@ var drawMessage = /* @__PURE__ */ chunk3XYRH5AP.__name(async function(diagram2,
|
|
|
2456
2901
|
textObj.valign = "center";
|
|
2457
2902
|
textObj.textMargin = conf.wrapPadding;
|
|
2458
2903
|
textObj.tspan = false;
|
|
2459
|
-
if (
|
|
2904
|
+
if (chunkABZYJK2D.hasKatex(textObj.text)) {
|
|
2460
2905
|
await drawKatex(diagram2, textObj, { startx, stopx, starty: lineStartY });
|
|
2461
2906
|
} else {
|
|
2462
2907
|
drawText(diagram2, textObj);
|
|
@@ -2467,7 +2912,7 @@ var drawMessage = /* @__PURE__ */ chunk3XYRH5AP.__name(async function(diagram2,
|
|
|
2467
2912
|
if (conf.rightAngles) {
|
|
2468
2913
|
line = diagram2.append("path").attr(
|
|
2469
2914
|
"d",
|
|
2470
|
-
`M ${startx},${lineStartY} H ${startx +
|
|
2915
|
+
`M ${startx},${lineStartY} H ${startx + chunkABZYJK2D.common_default.getMax(conf.width / 2, textWidth / 2)} V ${lineStartY + 25} H ${startx}`
|
|
2471
2916
|
);
|
|
2472
2917
|
} else {
|
|
2473
2918
|
line = diagram2.append("path").attr(
|
|
@@ -2490,7 +2935,7 @@ var drawMessage = /* @__PURE__ */ chunk3XYRH5AP.__name(async function(diagram2,
|
|
|
2490
2935
|
}
|
|
2491
2936
|
let url = "";
|
|
2492
2937
|
if (conf.arrowMarkerAbsolute) {
|
|
2493
|
-
url =
|
|
2938
|
+
url = chunkABZYJK2D.getUrl(true);
|
|
2494
2939
|
}
|
|
2495
2940
|
line.attr("stroke-width", 2);
|
|
2496
2941
|
line.attr("stroke", "none");
|
|
@@ -2509,11 +2954,20 @@ var drawMessage = /* @__PURE__ */ chunk3XYRH5AP.__name(async function(diagram2,
|
|
|
2509
2954
|
line.attr("marker-end", "url(" + url + "#crosshead)");
|
|
2510
2955
|
}
|
|
2511
2956
|
if (sequenceVisible || conf.showSequenceNumbers) {
|
|
2512
|
-
|
|
2957
|
+
const isBidirectional = type === diagObj.db.LINETYPE.BIDIRECTIONAL_SOLID || type === diagObj.db.LINETYPE.BIDIRECTIONAL_DOTTED;
|
|
2958
|
+
if (isBidirectional) {
|
|
2959
|
+
const SEQUENCE_NUMBER_RADIUS = 6;
|
|
2960
|
+
if (startx < stopx) {
|
|
2961
|
+
line.attr("x1", startx + 2 * SEQUENCE_NUMBER_RADIUS);
|
|
2962
|
+
} else {
|
|
2963
|
+
line.attr("x1", startx + SEQUENCE_NUMBER_RADIUS);
|
|
2964
|
+
}
|
|
2965
|
+
}
|
|
2966
|
+
diagram2.append("line").attr("x1", startx).attr("y1", lineStartY).attr("x2", startx).attr("y2", lineStartY).attr("stroke-width", 0).attr("marker-start", "url(" + url + "#sequencenumber)");
|
|
2513
2967
|
diagram2.append("text").attr("x", startx).attr("y", lineStartY + 4).attr("font-family", "sans-serif").attr("font-size", "12px").attr("text-anchor", "middle").attr("class", "sequenceNumber").text(sequenceIndex);
|
|
2514
2968
|
}
|
|
2515
2969
|
}, "drawMessage");
|
|
2516
|
-
var addActorRenderingData = /* @__PURE__ */
|
|
2970
|
+
var addActorRenderingData = /* @__PURE__ */ chunkAGHRB4JF.__name(function(diagram2, actors, createdActors, actorKeys, verticalPos, messages, isFooter) {
|
|
2517
2971
|
let prevWidth = 0;
|
|
2518
2972
|
let prevMargin = 0;
|
|
2519
2973
|
let prevBox = void 0;
|
|
@@ -2535,9 +2989,9 @@ var addActorRenderingData = /* @__PURE__ */ chunk3XYRH5AP.__name(function(diagra
|
|
|
2535
2989
|
prevMargin += box.margin;
|
|
2536
2990
|
}
|
|
2537
2991
|
actor.width = actor.width || conf.width;
|
|
2538
|
-
actor.height =
|
|
2992
|
+
actor.height = chunkABZYJK2D.common_default.getMax(actor.height || conf.height, conf.height);
|
|
2539
2993
|
actor.margin = actor.margin || conf.actorMargin;
|
|
2540
|
-
maxHeight =
|
|
2994
|
+
maxHeight = chunkABZYJK2D.common_default.getMax(maxHeight, actor.height);
|
|
2541
2995
|
if (createdActors.get(actor.name)) {
|
|
2542
2996
|
prevMargin += actor.width / 2;
|
|
2543
2997
|
}
|
|
@@ -2557,7 +3011,7 @@ var addActorRenderingData = /* @__PURE__ */ chunk3XYRH5AP.__name(function(diagra
|
|
|
2557
3011
|
}
|
|
2558
3012
|
bounds.bumpVerticalPos(maxHeight);
|
|
2559
3013
|
}, "addActorRenderingData");
|
|
2560
|
-
var drawActors = /* @__PURE__ */
|
|
3014
|
+
var drawActors = /* @__PURE__ */ chunkAGHRB4JF.__name(async function(diagram2, actors, actorKeys, isFooter) {
|
|
2561
3015
|
if (!isFooter) {
|
|
2562
3016
|
for (const actorKey of actorKeys) {
|
|
2563
3017
|
const actor = actors.get(actorKey);
|
|
@@ -2572,12 +3026,12 @@ var drawActors = /* @__PURE__ */ chunk3XYRH5AP.__name(async function(diagram2, a
|
|
|
2572
3026
|
actor.stopy = bounds.getVerticalPos();
|
|
2573
3027
|
}
|
|
2574
3028
|
const height = await svgDraw_default.drawActor(diagram2, actor, conf, true);
|
|
2575
|
-
maxHeight =
|
|
3029
|
+
maxHeight = chunkABZYJK2D.common_default.getMax(maxHeight, height);
|
|
2576
3030
|
}
|
|
2577
3031
|
bounds.bumpVerticalPos(maxHeight + conf.boxMargin);
|
|
2578
3032
|
}
|
|
2579
3033
|
}, "drawActors");
|
|
2580
|
-
var drawActorsPopup = /* @__PURE__ */
|
|
3034
|
+
var drawActorsPopup = /* @__PURE__ */ chunkAGHRB4JF.__name(function(diagram2, actors, actorKeys, doc) {
|
|
2581
3035
|
let maxHeight = 0;
|
|
2582
3036
|
let maxWidth = 0;
|
|
2583
3037
|
for (const actorKey of actorKeys) {
|
|
@@ -2600,8 +3054,8 @@ var drawActorsPopup = /* @__PURE__ */ chunk3XYRH5AP.__name(function(diagram2, ac
|
|
|
2600
3054
|
}
|
|
2601
3055
|
return { maxHeight, maxWidth };
|
|
2602
3056
|
}, "drawActorsPopup");
|
|
2603
|
-
var setConf = /* @__PURE__ */
|
|
2604
|
-
|
|
3057
|
+
var setConf = /* @__PURE__ */ chunkAGHRB4JF.__name(function(cnf) {
|
|
3058
|
+
chunkABZYJK2D.assignWithDepth_default(conf, cnf);
|
|
2605
3059
|
if (cnf.fontFamily) {
|
|
2606
3060
|
conf.actorFontFamily = conf.noteFontFamily = conf.messageFontFamily = cnf.fontFamily;
|
|
2607
3061
|
}
|
|
@@ -2612,23 +3066,23 @@ var setConf = /* @__PURE__ */ chunk3XYRH5AP.__name(function(cnf) {
|
|
|
2612
3066
|
conf.actorFontWeight = conf.noteFontWeight = conf.messageFontWeight = cnf.fontWeight;
|
|
2613
3067
|
}
|
|
2614
3068
|
}, "setConf");
|
|
2615
|
-
var actorActivations = /* @__PURE__ */
|
|
3069
|
+
var actorActivations = /* @__PURE__ */ chunkAGHRB4JF.__name(function(actor) {
|
|
2616
3070
|
return bounds.activations.filter(function(activation) {
|
|
2617
3071
|
return activation.actor === actor;
|
|
2618
3072
|
});
|
|
2619
3073
|
}, "actorActivations");
|
|
2620
|
-
var activationBounds = /* @__PURE__ */
|
|
3074
|
+
var activationBounds = /* @__PURE__ */ chunkAGHRB4JF.__name(function(actor, actors) {
|
|
2621
3075
|
const actorObj = actors.get(actor);
|
|
2622
3076
|
const activations = actorActivations(actor);
|
|
2623
3077
|
const left = activations.reduce(
|
|
2624
3078
|
function(acc, activation) {
|
|
2625
|
-
return
|
|
3079
|
+
return chunkABZYJK2D.common_default.getMin(acc, activation.startx);
|
|
2626
3080
|
},
|
|
2627
3081
|
actorObj.x + actorObj.width / 2 - 1
|
|
2628
3082
|
);
|
|
2629
3083
|
const right = activations.reduce(
|
|
2630
3084
|
function(acc, activation) {
|
|
2631
|
-
return
|
|
3085
|
+
return chunkABZYJK2D.common_default.getMax(acc, activation.stopx);
|
|
2632
3086
|
},
|
|
2633
3087
|
actorObj.x + actorObj.width / 2 + 1
|
|
2634
3088
|
);
|
|
@@ -2640,18 +3094,18 @@ function adjustLoopHeightForWrap(loopWidths, msg, preMargin, postMargin, addLoop
|
|
|
2640
3094
|
if (msg.id && msg.message && loopWidths[msg.id]) {
|
|
2641
3095
|
const loopWidth = loopWidths[msg.id].width;
|
|
2642
3096
|
const textConf = messageFont(conf);
|
|
2643
|
-
msg.message =
|
|
3097
|
+
msg.message = chunkS3R3BYOJ.utils_default.wrapLabel(`[${msg.message}]`, loopWidth - 2 * conf.wrapPadding, textConf);
|
|
2644
3098
|
msg.width = loopWidth;
|
|
2645
3099
|
msg.wrap = true;
|
|
2646
|
-
const textDims =
|
|
2647
|
-
const totalOffset =
|
|
3100
|
+
const textDims = chunkS3R3BYOJ.utils_default.calculateTextDimensions(msg.message, textConf);
|
|
3101
|
+
const totalOffset = chunkABZYJK2D.common_default.getMax(textDims.height, conf.labelBoxHeight);
|
|
2648
3102
|
heightAdjust = postMargin + totalOffset;
|
|
2649
|
-
|
|
3103
|
+
chunkAGHRB4JF.log.debug(`${totalOffset} - ${msg.message}`);
|
|
2650
3104
|
}
|
|
2651
3105
|
addLoopFn(msg);
|
|
2652
3106
|
bounds.bumpVerticalPos(heightAdjust);
|
|
2653
3107
|
}
|
|
2654
|
-
|
|
3108
|
+
chunkAGHRB4JF.__name(adjustLoopHeightForWrap, "adjustLoopHeightForWrap");
|
|
2655
3109
|
function adjustCreatedDestroyedData(msg, msgModel, lineStartY, index, actors, createdActors, destroyedActors) {
|
|
2656
3110
|
function receiverAdjustment(actor, adjustment) {
|
|
2657
3111
|
if (actor.x < actors.get(msg.from).x) {
|
|
@@ -2672,7 +3126,7 @@ function adjustCreatedDestroyedData(msg, msgModel, lineStartY, index, actors, cr
|
|
|
2672
3126
|
msgModel.stopx = msgModel.stopx - adjustment;
|
|
2673
3127
|
}
|
|
2674
3128
|
}
|
|
2675
|
-
|
|
3129
|
+
chunkAGHRB4JF.__name(receiverAdjustment, "receiverAdjustment");
|
|
2676
3130
|
function senderAdjustment(actor, adjustment) {
|
|
2677
3131
|
if (actor.x < actors.get(msg.to).x) {
|
|
2678
3132
|
bounds.insert(
|
|
@@ -2692,17 +3146,23 @@ function adjustCreatedDestroyedData(msg, msgModel, lineStartY, index, actors, cr
|
|
|
2692
3146
|
msgModel.startx = msgModel.startx - adjustment;
|
|
2693
3147
|
}
|
|
2694
3148
|
}
|
|
2695
|
-
|
|
3149
|
+
chunkAGHRB4JF.__name(senderAdjustment, "senderAdjustment");
|
|
3150
|
+
const actorArray = [
|
|
3151
|
+
PARTICIPANT_TYPE.ACTOR,
|
|
3152
|
+
PARTICIPANT_TYPE.CONTROL,
|
|
3153
|
+
PARTICIPANT_TYPE.ENTITY,
|
|
3154
|
+
PARTICIPANT_TYPE.DATABASE
|
|
3155
|
+
];
|
|
2696
3156
|
if (createdActors.get(msg.to) == index) {
|
|
2697
3157
|
const actor = actors.get(msg.to);
|
|
2698
|
-
const adjustment = actor.type
|
|
3158
|
+
const adjustment = actorArray.includes(actor.type) ? ACTOR_TYPE_WIDTH / 2 + 3 : actor.width / 2 + 3;
|
|
2699
3159
|
receiverAdjustment(actor, adjustment);
|
|
2700
3160
|
actor.starty = lineStartY - actor.height / 2;
|
|
2701
3161
|
bounds.bumpVerticalPos(actor.height / 2);
|
|
2702
3162
|
} else if (destroyedActors.get(msg.from) == index) {
|
|
2703
3163
|
const actor = actors.get(msg.from);
|
|
2704
3164
|
if (conf.mirrorActors) {
|
|
2705
|
-
const adjustment = actor.type
|
|
3165
|
+
const adjustment = actorArray.includes(actor.type) ? ACTOR_TYPE_WIDTH / 2 : actor.width / 2;
|
|
2706
3166
|
senderAdjustment(actor, adjustment);
|
|
2707
3167
|
}
|
|
2708
3168
|
actor.stopy = lineStartY - actor.height / 2;
|
|
@@ -2710,16 +3170,16 @@ function adjustCreatedDestroyedData(msg, msgModel, lineStartY, index, actors, cr
|
|
|
2710
3170
|
} else if (destroyedActors.get(msg.to) == index) {
|
|
2711
3171
|
const actor = actors.get(msg.to);
|
|
2712
3172
|
if (conf.mirrorActors) {
|
|
2713
|
-
const adjustment = actor.type
|
|
3173
|
+
const adjustment = actorArray.includes(actor.type) ? ACTOR_TYPE_WIDTH / 2 + 3 : actor.width / 2 + 3;
|
|
2714
3174
|
receiverAdjustment(actor, adjustment);
|
|
2715
3175
|
}
|
|
2716
3176
|
actor.stopy = lineStartY - actor.height / 2;
|
|
2717
3177
|
bounds.bumpVerticalPos(actor.height / 2);
|
|
2718
3178
|
}
|
|
2719
3179
|
}
|
|
2720
|
-
|
|
2721
|
-
var draw = /* @__PURE__ */
|
|
2722
|
-
const { securityLevel, sequence } =
|
|
3180
|
+
chunkAGHRB4JF.__name(adjustCreatedDestroyedData, "adjustCreatedDestroyedData");
|
|
3181
|
+
var draw = /* @__PURE__ */ chunkAGHRB4JF.__name(async function(_text, id, _version, diagObj) {
|
|
3182
|
+
const { securityLevel, sequence } = chunkABZYJK2D.getConfig2();
|
|
2723
3183
|
conf = sequence;
|
|
2724
3184
|
let sandboxElement;
|
|
2725
3185
|
if (securityLevel === "sandbox") {
|
|
@@ -2728,7 +3188,7 @@ var draw = /* @__PURE__ */ chunk3XYRH5AP.__name(async function(_text, id, _versi
|
|
|
2728
3188
|
const root = securityLevel === "sandbox" ? select(sandboxElement.nodes()[0].contentDocument.body) : select("body");
|
|
2729
3189
|
const doc = securityLevel === "sandbox" ? sandboxElement.nodes()[0].contentDocument : document;
|
|
2730
3190
|
bounds.init();
|
|
2731
|
-
|
|
3191
|
+
chunkAGHRB4JF.log.debug(diagObj.db);
|
|
2732
3192
|
const diagram2 = securityLevel === "sandbox" ? root.select(`[id="${id}"]`) : select(`[id="${id}"]`);
|
|
2733
3193
|
const actors = diagObj.db.getActors();
|
|
2734
3194
|
const createdActors = diagObj.db.getCreatedActors();
|
|
@@ -2779,7 +3239,7 @@ var draw = /* @__PURE__ */ chunk3XYRH5AP.__name(async function(_text, id, _versi
|
|
|
2779
3239
|
);
|
|
2780
3240
|
bounds.insert(activationData.startx, verticalPos - 10, activationData.stopx, verticalPos);
|
|
2781
3241
|
}
|
|
2782
|
-
|
|
3242
|
+
chunkAGHRB4JF.__name(activeEnd, "activeEnd");
|
|
2783
3243
|
let sequenceIndex = 1;
|
|
2784
3244
|
let sequenceIndexStep = 1;
|
|
2785
3245
|
const messagesToDraw = [];
|
|
@@ -2961,7 +3421,7 @@ var draw = /* @__PURE__ */ chunk3XYRH5AP.__name(async function(_text, id, _versi
|
|
|
2961
3421
|
messagesToDraw.push({ messageModel: msgModel, lineStartY });
|
|
2962
3422
|
bounds.models.addMessage(msgModel);
|
|
2963
3423
|
} catch (e) {
|
|
2964
|
-
|
|
3424
|
+
chunkAGHRB4JF.log.error("error while drawing message", e);
|
|
2965
3425
|
}
|
|
2966
3426
|
}
|
|
2967
3427
|
if ([
|
|
@@ -2980,8 +3440,8 @@ var draw = /* @__PURE__ */ chunk3XYRH5AP.__name(async function(_text, id, _versi
|
|
|
2980
3440
|
}
|
|
2981
3441
|
index++;
|
|
2982
3442
|
}
|
|
2983
|
-
|
|
2984
|
-
|
|
3443
|
+
chunkAGHRB4JF.log.debug("createdActors", createdActors);
|
|
3444
|
+
chunkAGHRB4JF.log.debug("destroyedActors", destroyedActors);
|
|
2985
3445
|
await drawActors(diagram2, actors, actorKeys, false);
|
|
2986
3446
|
for (const e of messagesToDraw) {
|
|
2987
3447
|
await drawMessage(diagram2, e.messageModel, e.lineStartY, diagObj);
|
|
@@ -2994,10 +3454,11 @@ var draw = /* @__PURE__ */ chunk3XYRH5AP.__name(async function(_text, id, _versi
|
|
|
2994
3454
|
for (const box2 of bounds.models.boxes) {
|
|
2995
3455
|
box2.height = bounds.getVerticalPos() - box2.y;
|
|
2996
3456
|
bounds.insert(box2.x, box2.y, box2.x + box2.width, box2.height);
|
|
2997
|
-
|
|
2998
|
-
box2.
|
|
2999
|
-
box2.
|
|
3000
|
-
box2.
|
|
3457
|
+
const boxPadding = conf.boxMargin * 2;
|
|
3458
|
+
box2.startx = box2.x - boxPadding;
|
|
3459
|
+
box2.starty = box2.y - boxPadding * 0.25;
|
|
3460
|
+
box2.stopx = box2.startx + box2.width + 2 * boxPadding;
|
|
3461
|
+
box2.stopy = box2.starty + box2.height + boxPadding * 0.75;
|
|
3001
3462
|
box2.stroke = "rgb(0,0,0, 0.5)";
|
|
3002
3463
|
svgDraw_default.drawBox(diagram2, box2, conf);
|
|
3003
3464
|
}
|
|
@@ -3034,13 +3495,13 @@ var draw = /* @__PURE__ */ chunk3XYRH5AP.__name(async function(_text, id, _versi
|
|
|
3034
3495
|
if (title) {
|
|
3035
3496
|
diagram2.append("text").text(title).attr("x", (box.stopx - box.startx) / 2 - 2 * conf.diagramMarginX).attr("y", -25);
|
|
3036
3497
|
}
|
|
3037
|
-
|
|
3498
|
+
chunkABZYJK2D.configureSvgSize(diagram2, height, width, conf.useMaxWidth);
|
|
3038
3499
|
const extraVertForTitle = title ? 40 : 0;
|
|
3039
3500
|
diagram2.attr(
|
|
3040
3501
|
"viewBox",
|
|
3041
3502
|
box.startx - conf.diagramMarginX + " -" + (conf.diagramMarginY + extraVertForTitle) + " " + width + " " + (height + extraVertForTitle)
|
|
3042
3503
|
);
|
|
3043
|
-
|
|
3504
|
+
chunkAGHRB4JF.log.debug(`models:`, bounds.models);
|
|
3044
3505
|
}, "draw");
|
|
3045
3506
|
async function getMaxMessageWidthPerActor(actors, messages, diagObj) {
|
|
3046
3507
|
const maxMessageWidthPerActor = {};
|
|
@@ -3056,47 +3517,47 @@ async function getMaxMessageWidthPerActor(actors, messages, diagObj) {
|
|
|
3056
3517
|
const isNote = msg.placement !== void 0;
|
|
3057
3518
|
const isMessage = !isNote;
|
|
3058
3519
|
const textFont = isNote ? noteFont(conf) : messageFont(conf);
|
|
3059
|
-
const wrappedMessage = msg.wrap ?
|
|
3060
|
-
const messageDimensions =
|
|
3520
|
+
const wrappedMessage = msg.wrap ? chunkS3R3BYOJ.utils_default.wrapLabel(msg.message, conf.width - 2 * conf.wrapPadding, textFont) : msg.message;
|
|
3521
|
+
const messageDimensions = chunkABZYJK2D.hasKatex(wrappedMessage) ? await chunkABZYJK2D.calculateMathMLDimensions(msg.message, chunkABZYJK2D.getConfig2()) : chunkS3R3BYOJ.utils_default.calculateTextDimensions(wrappedMessage, textFont);
|
|
3061
3522
|
const messageWidth = messageDimensions.width + 2 * conf.wrapPadding;
|
|
3062
3523
|
if (isMessage && msg.from === actor.nextActor) {
|
|
3063
|
-
maxMessageWidthPerActor[msg.to] =
|
|
3524
|
+
maxMessageWidthPerActor[msg.to] = chunkABZYJK2D.common_default.getMax(
|
|
3064
3525
|
maxMessageWidthPerActor[msg.to] || 0,
|
|
3065
3526
|
messageWidth
|
|
3066
3527
|
);
|
|
3067
3528
|
} else if (isMessage && msg.from === actor.prevActor) {
|
|
3068
|
-
maxMessageWidthPerActor[msg.from] =
|
|
3529
|
+
maxMessageWidthPerActor[msg.from] = chunkABZYJK2D.common_default.getMax(
|
|
3069
3530
|
maxMessageWidthPerActor[msg.from] || 0,
|
|
3070
3531
|
messageWidth
|
|
3071
3532
|
);
|
|
3072
3533
|
} else if (isMessage && msg.from === msg.to) {
|
|
3073
|
-
maxMessageWidthPerActor[msg.from] =
|
|
3534
|
+
maxMessageWidthPerActor[msg.from] = chunkABZYJK2D.common_default.getMax(
|
|
3074
3535
|
maxMessageWidthPerActor[msg.from] || 0,
|
|
3075
3536
|
messageWidth / 2
|
|
3076
3537
|
);
|
|
3077
|
-
maxMessageWidthPerActor[msg.to] =
|
|
3538
|
+
maxMessageWidthPerActor[msg.to] = chunkABZYJK2D.common_default.getMax(
|
|
3078
3539
|
maxMessageWidthPerActor[msg.to] || 0,
|
|
3079
3540
|
messageWidth / 2
|
|
3080
3541
|
);
|
|
3081
3542
|
} else if (msg.placement === diagObj.db.PLACEMENT.RIGHTOF) {
|
|
3082
|
-
maxMessageWidthPerActor[msg.from] =
|
|
3543
|
+
maxMessageWidthPerActor[msg.from] = chunkABZYJK2D.common_default.getMax(
|
|
3083
3544
|
maxMessageWidthPerActor[msg.from] || 0,
|
|
3084
3545
|
messageWidth
|
|
3085
3546
|
);
|
|
3086
3547
|
} else if (msg.placement === diagObj.db.PLACEMENT.LEFTOF) {
|
|
3087
|
-
maxMessageWidthPerActor[actor.prevActor] =
|
|
3548
|
+
maxMessageWidthPerActor[actor.prevActor] = chunkABZYJK2D.common_default.getMax(
|
|
3088
3549
|
maxMessageWidthPerActor[actor.prevActor] || 0,
|
|
3089
3550
|
messageWidth
|
|
3090
3551
|
);
|
|
3091
3552
|
} else if (msg.placement === diagObj.db.PLACEMENT.OVER) {
|
|
3092
3553
|
if (actor.prevActor) {
|
|
3093
|
-
maxMessageWidthPerActor[actor.prevActor] =
|
|
3554
|
+
maxMessageWidthPerActor[actor.prevActor] = chunkABZYJK2D.common_default.getMax(
|
|
3094
3555
|
maxMessageWidthPerActor[actor.prevActor] || 0,
|
|
3095
3556
|
messageWidth / 2
|
|
3096
3557
|
);
|
|
3097
3558
|
}
|
|
3098
3559
|
if (actor.nextActor) {
|
|
3099
|
-
maxMessageWidthPerActor[msg.from] =
|
|
3560
|
+
maxMessageWidthPerActor[msg.from] = chunkABZYJK2D.common_default.getMax(
|
|
3100
3561
|
maxMessageWidthPerActor[msg.from] || 0,
|
|
3101
3562
|
messageWidth / 2
|
|
3102
3563
|
);
|
|
@@ -3104,15 +3565,15 @@ async function getMaxMessageWidthPerActor(actors, messages, diagObj) {
|
|
|
3104
3565
|
}
|
|
3105
3566
|
}
|
|
3106
3567
|
}
|
|
3107
|
-
|
|
3568
|
+
chunkAGHRB4JF.log.debug("maxMessageWidthPerActor:", maxMessageWidthPerActor);
|
|
3108
3569
|
return maxMessageWidthPerActor;
|
|
3109
3570
|
}
|
|
3110
|
-
|
|
3111
|
-
var getRequiredPopupWidth = /* @__PURE__ */
|
|
3571
|
+
chunkAGHRB4JF.__name(getMaxMessageWidthPerActor, "getMaxMessageWidthPerActor");
|
|
3572
|
+
var getRequiredPopupWidth = /* @__PURE__ */ chunkAGHRB4JF.__name(function(actor) {
|
|
3112
3573
|
let requiredPopupWidth = 0;
|
|
3113
3574
|
const textFont = actorFont(conf);
|
|
3114
3575
|
for (const key in actor.links) {
|
|
3115
|
-
const labelDimensions =
|
|
3576
|
+
const labelDimensions = chunkS3R3BYOJ.utils_default.calculateTextDimensions(key, textFont);
|
|
3116
3577
|
const labelWidth = labelDimensions.width + 2 * conf.wrapPadding + 2 * conf.boxMargin;
|
|
3117
3578
|
if (requiredPopupWidth < labelWidth) {
|
|
3118
3579
|
requiredPopupWidth = labelWidth;
|
|
@@ -3125,16 +3586,16 @@ async function calculateActorMargins(actors, actorToMessageWidth, boxes) {
|
|
|
3125
3586
|
for (const prop of actors.keys()) {
|
|
3126
3587
|
const actor = actors.get(prop);
|
|
3127
3588
|
if (actor.wrap) {
|
|
3128
|
-
actor.description =
|
|
3589
|
+
actor.description = chunkS3R3BYOJ.utils_default.wrapLabel(
|
|
3129
3590
|
actor.description,
|
|
3130
3591
|
conf.width - 2 * conf.wrapPadding,
|
|
3131
3592
|
actorFont(conf)
|
|
3132
3593
|
);
|
|
3133
3594
|
}
|
|
3134
|
-
const actDims =
|
|
3135
|
-
actor.width = actor.wrap ? conf.width :
|
|
3136
|
-
actor.height = actor.wrap ?
|
|
3137
|
-
maxHeight =
|
|
3595
|
+
const actDims = chunkABZYJK2D.hasKatex(actor.description) ? await chunkABZYJK2D.calculateMathMLDimensions(actor.description, chunkABZYJK2D.getConfig2()) : chunkS3R3BYOJ.utils_default.calculateTextDimensions(actor.description, actorFont(conf));
|
|
3596
|
+
actor.width = actor.wrap ? conf.width : chunkABZYJK2D.common_default.getMax(conf.width, actDims.width + 2 * conf.wrapPadding);
|
|
3597
|
+
actor.height = actor.wrap ? chunkABZYJK2D.common_default.getMax(actDims.height, conf.height) : conf.height;
|
|
3598
|
+
maxHeight = chunkABZYJK2D.common_default.getMax(maxHeight, actor.height);
|
|
3138
3599
|
}
|
|
3139
3600
|
for (const actorKey in actorToMessageWidth) {
|
|
3140
3601
|
const actor = actors.get(actorKey);
|
|
@@ -3145,12 +3606,12 @@ async function calculateActorMargins(actors, actorToMessageWidth, boxes) {
|
|
|
3145
3606
|
if (!nextActor) {
|
|
3146
3607
|
const messageWidth2 = actorToMessageWidth[actorKey];
|
|
3147
3608
|
const actorWidth2 = messageWidth2 + conf.actorMargin - actor.width / 2;
|
|
3148
|
-
actor.margin =
|
|
3609
|
+
actor.margin = chunkABZYJK2D.common_default.getMax(actorWidth2, conf.actorMargin);
|
|
3149
3610
|
continue;
|
|
3150
3611
|
}
|
|
3151
3612
|
const messageWidth = actorToMessageWidth[actorKey];
|
|
3152
3613
|
const actorWidth = messageWidth + conf.actorMargin - actor.width / 2 - nextActor.width / 2;
|
|
3153
|
-
actor.margin =
|
|
3614
|
+
actor.margin = chunkABZYJK2D.common_default.getMax(actorWidth, conf.actorMargin);
|
|
3154
3615
|
}
|
|
3155
3616
|
let maxBoxHeight = 0;
|
|
3156
3617
|
boxes.forEach((box) => {
|
|
@@ -3158,13 +3619,15 @@ async function calculateActorMargins(actors, actorToMessageWidth, boxes) {
|
|
|
3158
3619
|
let totalWidth = box.actorKeys.reduce((total, aKey) => {
|
|
3159
3620
|
return total += actors.get(aKey).width + (actors.get(aKey).margin || 0);
|
|
3160
3621
|
}, 0);
|
|
3622
|
+
const standardBoxPadding = conf.boxMargin * 8;
|
|
3623
|
+
totalWidth += standardBoxPadding;
|
|
3161
3624
|
totalWidth -= 2 * conf.boxTextMargin;
|
|
3162
3625
|
if (box.wrap) {
|
|
3163
|
-
box.name =
|
|
3626
|
+
box.name = chunkS3R3BYOJ.utils_default.wrapLabel(box.name, totalWidth - 2 * conf.wrapPadding, textFont);
|
|
3164
3627
|
}
|
|
3165
|
-
const boxMsgDimensions =
|
|
3166
|
-
maxBoxHeight =
|
|
3167
|
-
const minWidth =
|
|
3628
|
+
const boxMsgDimensions = chunkS3R3BYOJ.utils_default.calculateTextDimensions(box.name, textFont);
|
|
3629
|
+
maxBoxHeight = chunkABZYJK2D.common_default.getMax(boxMsgDimensions.height, maxBoxHeight);
|
|
3630
|
+
const minWidth = chunkABZYJK2D.common_default.getMax(totalWidth, boxMsgDimensions.width + 2 * conf.wrapPadding);
|
|
3168
3631
|
box.margin = conf.boxTextMargin;
|
|
3169
3632
|
if (totalWidth < minWidth) {
|
|
3170
3633
|
const missing = (minWidth - totalWidth) / 2;
|
|
@@ -3172,21 +3635,21 @@ async function calculateActorMargins(actors, actorToMessageWidth, boxes) {
|
|
|
3172
3635
|
}
|
|
3173
3636
|
});
|
|
3174
3637
|
boxes.forEach((box) => box.textMaxHeight = maxBoxHeight);
|
|
3175
|
-
return
|
|
3638
|
+
return chunkABZYJK2D.common_default.getMax(maxHeight, conf.height);
|
|
3176
3639
|
}
|
|
3177
|
-
|
|
3178
|
-
var buildNoteModel = /* @__PURE__ */
|
|
3640
|
+
chunkAGHRB4JF.__name(calculateActorMargins, "calculateActorMargins");
|
|
3641
|
+
var buildNoteModel = /* @__PURE__ */ chunkAGHRB4JF.__name(async function(msg, actors, diagObj) {
|
|
3179
3642
|
const fromActor = actors.get(msg.from);
|
|
3180
3643
|
const toActor = actors.get(msg.to);
|
|
3181
3644
|
const startx = fromActor.x;
|
|
3182
3645
|
const stopx = toActor.x;
|
|
3183
3646
|
const shouldWrap = msg.wrap && msg.message;
|
|
3184
|
-
let textDimensions =
|
|
3185
|
-
shouldWrap ?
|
|
3647
|
+
let textDimensions = chunkABZYJK2D.hasKatex(msg.message) ? await chunkABZYJK2D.calculateMathMLDimensions(msg.message, chunkABZYJK2D.getConfig2()) : chunkS3R3BYOJ.utils_default.calculateTextDimensions(
|
|
3648
|
+
shouldWrap ? chunkS3R3BYOJ.utils_default.wrapLabel(msg.message, conf.width, noteFont(conf)) : msg.message,
|
|
3186
3649
|
noteFont(conf)
|
|
3187
3650
|
);
|
|
3188
3651
|
const noteModel = {
|
|
3189
|
-
width: shouldWrap ? conf.width :
|
|
3652
|
+
width: shouldWrap ? conf.width : chunkABZYJK2D.common_default.getMax(conf.width, textDimensions.width + 2 * conf.noteMargin),
|
|
3190
3653
|
height: 0,
|
|
3191
3654
|
startx: fromActor.x,
|
|
3192
3655
|
stopx: 0,
|
|
@@ -3195,41 +3658,41 @@ var buildNoteModel = /* @__PURE__ */ chunk3XYRH5AP.__name(async function(msg, ac
|
|
|
3195
3658
|
message: msg.message
|
|
3196
3659
|
};
|
|
3197
3660
|
if (msg.placement === diagObj.db.PLACEMENT.RIGHTOF) {
|
|
3198
|
-
noteModel.width = shouldWrap ?
|
|
3661
|
+
noteModel.width = shouldWrap ? chunkABZYJK2D.common_default.getMax(conf.width, textDimensions.width) : chunkABZYJK2D.common_default.getMax(
|
|
3199
3662
|
fromActor.width / 2 + toActor.width / 2,
|
|
3200
3663
|
textDimensions.width + 2 * conf.noteMargin
|
|
3201
3664
|
);
|
|
3202
3665
|
noteModel.startx = startx + (fromActor.width + conf.actorMargin) / 2;
|
|
3203
3666
|
} else if (msg.placement === diagObj.db.PLACEMENT.LEFTOF) {
|
|
3204
|
-
noteModel.width = shouldWrap ?
|
|
3667
|
+
noteModel.width = shouldWrap ? chunkABZYJK2D.common_default.getMax(conf.width, textDimensions.width + 2 * conf.noteMargin) : chunkABZYJK2D.common_default.getMax(
|
|
3205
3668
|
fromActor.width / 2 + toActor.width / 2,
|
|
3206
3669
|
textDimensions.width + 2 * conf.noteMargin
|
|
3207
3670
|
);
|
|
3208
3671
|
noteModel.startx = startx - noteModel.width + (fromActor.width - conf.actorMargin) / 2;
|
|
3209
3672
|
} else if (msg.to === msg.from) {
|
|
3210
|
-
textDimensions =
|
|
3211
|
-
shouldWrap ?
|
|
3673
|
+
textDimensions = chunkS3R3BYOJ.utils_default.calculateTextDimensions(
|
|
3674
|
+
shouldWrap ? chunkS3R3BYOJ.utils_default.wrapLabel(msg.message, chunkABZYJK2D.common_default.getMax(conf.width, fromActor.width), noteFont(conf)) : msg.message,
|
|
3212
3675
|
noteFont(conf)
|
|
3213
3676
|
);
|
|
3214
|
-
noteModel.width = shouldWrap ?
|
|
3677
|
+
noteModel.width = shouldWrap ? chunkABZYJK2D.common_default.getMax(conf.width, fromActor.width) : chunkABZYJK2D.common_default.getMax(fromActor.width, conf.width, textDimensions.width + 2 * conf.noteMargin);
|
|
3215
3678
|
noteModel.startx = startx + (fromActor.width - noteModel.width) / 2;
|
|
3216
3679
|
} else {
|
|
3217
3680
|
noteModel.width = Math.abs(startx + fromActor.width / 2 - (stopx + toActor.width / 2)) + conf.actorMargin;
|
|
3218
3681
|
noteModel.startx = startx < stopx ? startx + fromActor.width / 2 - conf.actorMargin / 2 : stopx + toActor.width / 2 - conf.actorMargin / 2;
|
|
3219
3682
|
}
|
|
3220
3683
|
if (shouldWrap) {
|
|
3221
|
-
noteModel.message =
|
|
3684
|
+
noteModel.message = chunkS3R3BYOJ.utils_default.wrapLabel(
|
|
3222
3685
|
msg.message,
|
|
3223
3686
|
noteModel.width - 2 * conf.wrapPadding,
|
|
3224
3687
|
noteFont(conf)
|
|
3225
3688
|
);
|
|
3226
3689
|
}
|
|
3227
|
-
|
|
3690
|
+
chunkAGHRB4JF.log.debug(
|
|
3228
3691
|
`NM:[${noteModel.startx},${noteModel.stopx},${noteModel.starty},${noteModel.stopy}:${noteModel.width},${noteModel.height}=${msg.message}]`
|
|
3229
3692
|
);
|
|
3230
3693
|
return noteModel;
|
|
3231
3694
|
}, "buildNoteModel");
|
|
3232
|
-
var buildMessageModel = /* @__PURE__ */
|
|
3695
|
+
var buildMessageModel = /* @__PURE__ */ chunkAGHRB4JF.__name(function(msg, actors, diagObj) {
|
|
3233
3696
|
if (![
|
|
3234
3697
|
diagObj.db.LINETYPE.SOLID_OPEN,
|
|
3235
3698
|
diagObj.db.LINETYPE.DOTTED_OPEN,
|
|
@@ -3250,7 +3713,7 @@ var buildMessageModel = /* @__PURE__ */ chunk3XYRH5AP.__name(function(msg, actor
|
|
|
3250
3713
|
let startx = isArrowToRight ? fromRight : fromLeft;
|
|
3251
3714
|
let stopx = isArrowToRight ? toLeft : toRight;
|
|
3252
3715
|
const isArrowToActivation = Math.abs(toLeft - toRight) > 2;
|
|
3253
|
-
const adjustValue = /* @__PURE__ */
|
|
3716
|
+
const adjustValue = /* @__PURE__ */ chunkAGHRB4JF.__name((value) => {
|
|
3254
3717
|
return isArrowToRight ? -value : value;
|
|
3255
3718
|
}, "adjustValue");
|
|
3256
3719
|
if (msg.from === msg.to) {
|
|
@@ -3271,15 +3734,15 @@ var buildMessageModel = /* @__PURE__ */ chunk3XYRH5AP.__name(function(msg, actor
|
|
|
3271
3734
|
const allBounds = [fromLeft, fromRight, toLeft, toRight];
|
|
3272
3735
|
const boundedWidth = Math.abs(startx - stopx);
|
|
3273
3736
|
if (msg.wrap && msg.message) {
|
|
3274
|
-
msg.message =
|
|
3737
|
+
msg.message = chunkS3R3BYOJ.utils_default.wrapLabel(
|
|
3275
3738
|
msg.message,
|
|
3276
|
-
|
|
3739
|
+
chunkABZYJK2D.common_default.getMax(boundedWidth + 2 * conf.wrapPadding, conf.width),
|
|
3277
3740
|
messageFont(conf)
|
|
3278
3741
|
);
|
|
3279
3742
|
}
|
|
3280
|
-
const msgDims =
|
|
3743
|
+
const msgDims = chunkS3R3BYOJ.utils_default.calculateTextDimensions(msg.message, messageFont(conf));
|
|
3281
3744
|
return {
|
|
3282
|
-
width:
|
|
3745
|
+
width: chunkABZYJK2D.common_default.getMax(
|
|
3283
3746
|
msg.wrap ? 0 : msgDims.width + 2 * conf.wrapPadding,
|
|
3284
3747
|
boundedWidth + 2 * conf.wrapPadding,
|
|
3285
3748
|
conf.width
|
|
@@ -3296,7 +3759,7 @@ var buildMessageModel = /* @__PURE__ */ chunk3XYRH5AP.__name(function(msg, actor
|
|
|
3296
3759
|
toBounds: Math.max.apply(null, allBounds)
|
|
3297
3760
|
};
|
|
3298
3761
|
}, "buildMessageModel");
|
|
3299
|
-
var calculateLoopBounds = /* @__PURE__ */
|
|
3762
|
+
var calculateLoopBounds = /* @__PURE__ */ chunkAGHRB4JF.__name(async function(messages, actors, _maxWidthPerActor, diagObj) {
|
|
3300
3763
|
const loops = {};
|
|
3301
3764
|
const stack = [];
|
|
3302
3765
|
let current, noteModel, msgModel;
|
|
@@ -3363,9 +3826,9 @@ var calculateLoopBounds = /* @__PURE__ */ chunk3XYRH5AP.__name(async function(me
|
|
|
3363
3826
|
msg.noteModel = noteModel;
|
|
3364
3827
|
stack.forEach((stk) => {
|
|
3365
3828
|
current = stk;
|
|
3366
|
-
current.from =
|
|
3367
|
-
current.to =
|
|
3368
|
-
current.width =
|
|
3829
|
+
current.from = chunkABZYJK2D.common_default.getMin(current.from, noteModel.startx);
|
|
3830
|
+
current.to = chunkABZYJK2D.common_default.getMax(current.to, noteModel.startx + noteModel.width);
|
|
3831
|
+
current.width = chunkABZYJK2D.common_default.getMax(current.width, Math.abs(current.from - current.to)) - conf.labelBoxWidth;
|
|
3369
3832
|
});
|
|
3370
3833
|
} else {
|
|
3371
3834
|
msgModel = buildMessageModel(msg, actors, diagObj);
|
|
@@ -3376,28 +3839,28 @@ var calculateLoopBounds = /* @__PURE__ */ chunk3XYRH5AP.__name(async function(me
|
|
|
3376
3839
|
if (msgModel.startx === msgModel.stopx) {
|
|
3377
3840
|
const from = actors.get(msg.from);
|
|
3378
3841
|
const to = actors.get(msg.to);
|
|
3379
|
-
current.from =
|
|
3842
|
+
current.from = chunkABZYJK2D.common_default.getMin(
|
|
3380
3843
|
from.x - msgModel.width / 2,
|
|
3381
3844
|
from.x - from.width / 2,
|
|
3382
3845
|
current.from
|
|
3383
3846
|
);
|
|
3384
|
-
current.to =
|
|
3847
|
+
current.to = chunkABZYJK2D.common_default.getMax(
|
|
3385
3848
|
to.x + msgModel.width / 2,
|
|
3386
3849
|
to.x + from.width / 2,
|
|
3387
3850
|
current.to
|
|
3388
3851
|
);
|
|
3389
|
-
current.width =
|
|
3852
|
+
current.width = chunkABZYJK2D.common_default.getMax(current.width, Math.abs(current.to - current.from)) - conf.labelBoxWidth;
|
|
3390
3853
|
} else {
|
|
3391
|
-
current.from =
|
|
3392
|
-
current.to =
|
|
3393
|
-
current.width =
|
|
3854
|
+
current.from = chunkABZYJK2D.common_default.getMin(msgModel.startx, current.from);
|
|
3855
|
+
current.to = chunkABZYJK2D.common_default.getMax(msgModel.stopx, current.to);
|
|
3856
|
+
current.width = chunkABZYJK2D.common_default.getMax(current.width, msgModel.width) - conf.labelBoxWidth;
|
|
3394
3857
|
}
|
|
3395
3858
|
});
|
|
3396
3859
|
}
|
|
3397
3860
|
}
|
|
3398
3861
|
}
|
|
3399
3862
|
bounds.activations = [];
|
|
3400
|
-
|
|
3863
|
+
chunkAGHRB4JF.log.debug("Loop type widths:", loops);
|
|
3401
3864
|
return loops;
|
|
3402
3865
|
}, "calculateLoopBounds");
|
|
3403
3866
|
var sequenceRenderer_default = {
|
|
@@ -3416,13 +3879,13 @@ var diagram = {
|
|
|
3416
3879
|
},
|
|
3417
3880
|
renderer: sequenceRenderer_default,
|
|
3418
3881
|
styles: styles_default,
|
|
3419
|
-
init: /* @__PURE__ */
|
|
3882
|
+
init: /* @__PURE__ */ chunkAGHRB4JF.__name((cnf) => {
|
|
3420
3883
|
if (!cnf.sequence) {
|
|
3421
3884
|
cnf.sequence = {};
|
|
3422
3885
|
}
|
|
3423
3886
|
if (cnf.wrap) {
|
|
3424
3887
|
cnf.sequence.wrap = cnf.wrap;
|
|
3425
|
-
|
|
3888
|
+
chunkABZYJK2D.setConfig2({ sequence: { wrap: cnf.wrap } });
|
|
3426
3889
|
}
|
|
3427
3890
|
}, "init")
|
|
3428
3891
|
};
|