@windrun-huaiin/third-ui 7.6.1 → 10.0.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 +48 -0
- package/dist/fuma/base/custom-home-layout.mjs +46 -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 +9 -3
- package/dist/fuma/fuma-banner-suit.mjs +9 -3
- package/dist/fuma/fuma-page-genarator.d.ts +4 -1
- package/dist/fuma/fuma-page-genarator.js +15 -6
- package/dist/fuma/fuma-page-genarator.mjs +15 -6
- 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 +5 -4
- package/dist/main/faq.mjs +5 -4
- 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 +44 -0
- package/dist/main/gallery/gallery-server.mjs +42 -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 +6 -6
- package/dist/main/price-plan.mjs +6 -6
- 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 +22 -5
- package/src/fuma/fuma-page-genarator.tsx +29 -9
- 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/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 +9 -8
- package/src/main/faq.tsx +4 -3
- package/src/main/features.tsx +3 -3
- 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 +3 -3
- package/src/main/section-layout.ts +5 -0
- package/src/main/seo-content.tsx +2 -2
- package/src/main/server.ts +15 -4
- package/src/main/tips.tsx +2 -2
- package/src/main/usage.tsx +4 -4
- 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,15 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
var
|
|
3
|
+
var chunkFMBD7UC4 = require('./chunk-FMBD7UC4.js');
|
|
4
|
+
var chunkHN2XXSSU = require('./chunk-HN2XXSSU.js');
|
|
5
|
+
var chunkCVBHYZKI = require('./chunk-CVBHYZKI.js');
|
|
6
|
+
var chunkJA3XYJ7Z = require('./chunk-JA3XYJ7Z.js');
|
|
7
|
+
var chunkS3R3BYOJ = require('./chunk-S3R3BYOJ.js');
|
|
8
|
+
var chunkABZYJK2D = require('./chunk-ABZYJK2D.js');
|
|
9
|
+
var chunkAGHRB4JF = require('./chunk-AGHRB4JF.js');
|
|
9
10
|
var clone = require('../../../../../../lodash-es@4.17.21/node_modules/lodash-es/clone.js');
|
|
10
11
|
require('../../../../../../d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/selection/index.js');
|
|
11
12
|
require('../../../../../../d3-zoom@3.0.0/node_modules/d3-zoom/src/transform.js');
|
|
12
|
-
var graph = require('../../../../../../dagre-d3-es@7.0.
|
|
13
|
+
var graph = require('../../../../../../dagre-d3-es@7.0.13/node_modules/dagre-d3-es/src/graphlib/graph.js');
|
|
13
14
|
var channel = require('../../../../../../khroma@2.1.0/node_modules/khroma/dist/methods/channel.js');
|
|
14
15
|
var rgba = require('../../../../../../khroma@2.1.0/node_modules/khroma/dist/methods/rgba.js');
|
|
15
16
|
var select = require('../../../../../../d3-selection@3.0.0/node_modules/d3-selection/src/select.js');
|
|
@@ -17,19 +18,19 @@ var line = require('../../../../../../d3-shape@3.2.0/node_modules/d3-shape/src/l
|
|
|
17
18
|
var basis = require('../../../../../../d3-shape@3.2.0/node_modules/d3-shape/src/curve/basis.js');
|
|
18
19
|
|
|
19
20
|
// src/diagrams/block/parser/block.jison
|
|
20
|
-
var parser = function() {
|
|
21
|
-
var o = /* @__PURE__ */
|
|
21
|
+
var parser = (function() {
|
|
22
|
+
var o = /* @__PURE__ */ chunkAGHRB4JF.__name(function(k, v, o2, l) {
|
|
22
23
|
for (o2 = o2 || {}, l = k.length; l--; o2[k[l]] = v) ;
|
|
23
24
|
return o2;
|
|
24
|
-
}, "o"), $V0 = [1,
|
|
25
|
+
}, "o"), $V0 = [1, 15], $V1 = [1, 7], $V2 = [1, 13], $V3 = [1, 14], $V4 = [1, 19], $V5 = [1, 16], $V6 = [1, 17], $V7 = [1, 18], $V8 = [8, 30], $V9 = [8, 10, 21, 28, 29, 30, 31, 39, 43, 46], $Va = [1, 23], $Vb = [1, 24], $Vc = [8, 10, 15, 16, 21, 28, 29, 30, 31, 39, 43, 46], $Vd = [8, 10, 15, 16, 21, 27, 28, 29, 30, 31, 39, 43, 46], $Ve = [1, 49];
|
|
25
26
|
var parser2 = {
|
|
26
|
-
trace: /* @__PURE__ */
|
|
27
|
+
trace: /* @__PURE__ */ chunkAGHRB4JF.__name(function trace() {
|
|
27
28
|
}, "trace"),
|
|
28
29
|
yy: {},
|
|
29
|
-
symbols_: { "error": 2, "spaceLines": 3, "SPACELINE": 4, "NL": 5, "separator": 6, "SPACE": 7, "EOF": 8, "start": 9, "BLOCK_DIAGRAM_KEY": 10, "document": 11, "stop": 12, "statement": 13, "link": 14, "LINK": 15, "START_LINK": 16, "LINK_LABEL": 17, "STR": 18, "nodeStatement": 19, "columnsStatement": 20, "SPACE_BLOCK": 21, "blockStatement": 22, "classDefStatement": 23, "cssClassStatement": 24, "styleStatement": 25, "node": 26, "SIZE": 27, "COLUMNS": 28, "id-block": 29, "end": 30, "
|
|
30
|
-
terminals_: { 2: "error", 4: "SPACELINE", 5: "NL", 7: "SPACE", 8: "EOF", 10: "BLOCK_DIAGRAM_KEY", 15: "LINK", 16: "START_LINK", 17: "LINK_LABEL", 18: "STR", 21: "SPACE_BLOCK", 27: "SIZE", 28: "COLUMNS", 29: "id-block", 30: "end", 31: "
|
|
31
|
-
productions_: [0, [3, 1], [3, 2], [3, 2], [6, 1], [6, 1], [6, 1], [9, 3], [12, 1], [12, 1], [12, 2], [12, 2], [11, 1], [11, 2], [14, 1], [14, 4], [13, 1], [13, 1], [13, 1], [13, 1], [13, 1], [13, 1], [13, 1], [19, 3], [19, 2], [19, 1], [20, 1], [22, 4], [22, 3], [26, 1], [26, 2], [
|
|
32
|
-
performAction: /* @__PURE__ */
|
|
30
|
+
symbols_: { "error": 2, "spaceLines": 3, "SPACELINE": 4, "NL": 5, "separator": 6, "SPACE": 7, "EOF": 8, "start": 9, "BLOCK_DIAGRAM_KEY": 10, "document": 11, "stop": 12, "statement": 13, "link": 14, "LINK": 15, "START_LINK": 16, "LINK_LABEL": 17, "STR": 18, "nodeStatement": 19, "columnsStatement": 20, "SPACE_BLOCK": 21, "blockStatement": 22, "classDefStatement": 23, "cssClassStatement": 24, "styleStatement": 25, "node": 26, "SIZE": 27, "COLUMNS": 28, "id-block": 29, "end": 30, "NODE_ID": 31, "nodeShapeNLabel": 32, "dirList": 33, "DIR": 34, "NODE_DSTART": 35, "NODE_DEND": 36, "BLOCK_ARROW_START": 37, "BLOCK_ARROW_END": 38, "classDef": 39, "CLASSDEF_ID": 40, "CLASSDEF_STYLEOPTS": 41, "DEFAULT": 42, "class": 43, "CLASSENTITY_IDS": 44, "STYLECLASS": 45, "style": 46, "STYLE_ENTITY_IDS": 47, "STYLE_DEFINITION_DATA": 48, "$accept": 0, "$end": 1 },
|
|
31
|
+
terminals_: { 2: "error", 4: "SPACELINE", 5: "NL", 7: "SPACE", 8: "EOF", 10: "BLOCK_DIAGRAM_KEY", 15: "LINK", 16: "START_LINK", 17: "LINK_LABEL", 18: "STR", 21: "SPACE_BLOCK", 27: "SIZE", 28: "COLUMNS", 29: "id-block", 30: "end", 31: "NODE_ID", 34: "DIR", 35: "NODE_DSTART", 36: "NODE_DEND", 37: "BLOCK_ARROW_START", 38: "BLOCK_ARROW_END", 39: "classDef", 40: "CLASSDEF_ID", 41: "CLASSDEF_STYLEOPTS", 42: "DEFAULT", 43: "class", 44: "CLASSENTITY_IDS", 45: "STYLECLASS", 46: "style", 47: "STYLE_ENTITY_IDS", 48: "STYLE_DEFINITION_DATA" },
|
|
32
|
+
productions_: [0, [3, 1], [3, 2], [3, 2], [6, 1], [6, 1], [6, 1], [9, 3], [12, 1], [12, 1], [12, 2], [12, 2], [11, 1], [11, 2], [14, 1], [14, 4], [13, 1], [13, 1], [13, 1], [13, 1], [13, 1], [13, 1], [13, 1], [19, 3], [19, 2], [19, 1], [20, 1], [22, 4], [22, 3], [26, 1], [26, 2], [33, 1], [33, 2], [32, 3], [32, 4], [23, 3], [23, 3], [24, 3], [25, 3]],
|
|
33
|
+
performAction: /* @__PURE__ */ chunkAGHRB4JF.__name(function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$) {
|
|
33
34
|
var $0 = $$.length - 1;
|
|
34
35
|
switch (yystate) {
|
|
35
36
|
case 4:
|
|
@@ -146,9 +147,9 @@ var parser = function() {
|
|
|
146
147
|
break;
|
|
147
148
|
}
|
|
148
149
|
}, "anonymous"),
|
|
149
|
-
table: [{ 9: 1, 10: [1, 2] }, { 1: [3] }, { 11: 3, 13: 4, 19: 5, 20: 6, 21: $
|
|
150
|
+
table: [{ 9: 1, 10: [1, 2] }, { 1: [3] }, { 10: $V0, 11: 3, 13: 4, 19: 5, 20: 6, 21: $V1, 22: 8, 23: 9, 24: 10, 25: 11, 26: 12, 28: $V2, 29: $V3, 31: $V4, 39: $V5, 43: $V6, 46: $V7 }, { 8: [1, 20] }, o($V8, [2, 12], { 13: 4, 19: 5, 20: 6, 22: 8, 23: 9, 24: 10, 25: 11, 26: 12, 11: 21, 10: $V0, 21: $V1, 28: $V2, 29: $V3, 31: $V4, 39: $V5, 43: $V6, 46: $V7 }), o($V9, [2, 16], { 14: 22, 15: $Va, 16: $Vb }), o($V9, [2, 17]), o($V9, [2, 18]), o($V9, [2, 19]), o($V9, [2, 20]), o($V9, [2, 21]), o($V9, [2, 22]), o($Vc, [2, 25], { 27: [1, 25] }), o($V9, [2, 26]), { 19: 26, 26: 12, 31: $V4 }, { 10: $V0, 11: 27, 13: 4, 19: 5, 20: 6, 21: $V1, 22: 8, 23: 9, 24: 10, 25: 11, 26: 12, 28: $V2, 29: $V3, 31: $V4, 39: $V5, 43: $V6, 46: $V7 }, { 40: [1, 28], 42: [1, 29] }, { 44: [1, 30] }, { 47: [1, 31] }, o($Vd, [2, 29], { 32: 32, 35: [1, 33], 37: [1, 34] }), { 1: [2, 7] }, o($V8, [2, 13]), { 26: 35, 31: $V4 }, { 31: [2, 14] }, { 17: [1, 36] }, o($Vc, [2, 24]), { 10: $V0, 11: 37, 13: 4, 14: 22, 15: $Va, 16: $Vb, 19: 5, 20: 6, 21: $V1, 22: 8, 23: 9, 24: 10, 25: 11, 26: 12, 28: $V2, 29: $V3, 31: $V4, 39: $V5, 43: $V6, 46: $V7 }, { 30: [1, 38] }, { 41: [1, 39] }, { 41: [1, 40] }, { 45: [1, 41] }, { 48: [1, 42] }, o($Vd, [2, 30]), { 18: [1, 43] }, { 18: [1, 44] }, o($Vc, [2, 23]), { 18: [1, 45] }, { 30: [1, 46] }, o($V9, [2, 28]), o($V9, [2, 35]), o($V9, [2, 36]), o($V9, [2, 37]), o($V9, [2, 38]), { 36: [1, 47] }, { 33: 48, 34: $Ve }, { 15: [1, 50] }, o($V9, [2, 27]), o($Vd, [2, 33]), { 38: [1, 51] }, { 33: 52, 34: $Ve, 38: [2, 31] }, { 31: [2, 15] }, o($Vd, [2, 34]), { 38: [2, 32] }],
|
|
150
151
|
defaultActions: { 20: [2, 7], 23: [2, 14], 50: [2, 15], 52: [2, 32] },
|
|
151
|
-
parseError: /* @__PURE__ */
|
|
152
|
+
parseError: /* @__PURE__ */ chunkAGHRB4JF.__name(function parseError(str, hash) {
|
|
152
153
|
if (hash.recoverable) {
|
|
153
154
|
this.trace(str);
|
|
154
155
|
} else {
|
|
@@ -157,7 +158,7 @@ var parser = function() {
|
|
|
157
158
|
throw error;
|
|
158
159
|
}
|
|
159
160
|
}, "parseError"),
|
|
160
|
-
parse: /* @__PURE__ */
|
|
161
|
+
parse: /* @__PURE__ */ chunkAGHRB4JF.__name(function parse(input) {
|
|
161
162
|
var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = "", yylineno = 0, yyleng = 0, TERROR = 2, EOF = 1;
|
|
162
163
|
var args = lstack.slice.call(arguments, 1);
|
|
163
164
|
var lexer2 = Object.create(this.lexer);
|
|
@@ -186,7 +187,7 @@ var parser = function() {
|
|
|
186
187
|
vstack.length = vstack.length - n;
|
|
187
188
|
lstack.length = lstack.length - n;
|
|
188
189
|
}
|
|
189
|
-
|
|
190
|
+
chunkAGHRB4JF.__name(popStack, "popStack");
|
|
190
191
|
function lex() {
|
|
191
192
|
var token;
|
|
192
193
|
token = tstack.pop() || lexer2.lex() || EOF;
|
|
@@ -199,7 +200,7 @@ var parser = function() {
|
|
|
199
200
|
}
|
|
200
201
|
return token;
|
|
201
202
|
}
|
|
202
|
-
|
|
203
|
+
chunkAGHRB4JF.__name(lex, "lex");
|
|
203
204
|
var symbol, state, action, r, yyval = {}, p, len, newState, expected;
|
|
204
205
|
while (true) {
|
|
205
206
|
state = stack[stack.length - 1];
|
|
@@ -294,10 +295,10 @@ var parser = function() {
|
|
|
294
295
|
return true;
|
|
295
296
|
}, "parse")
|
|
296
297
|
};
|
|
297
|
-
var lexer = /* @__PURE__ */ function() {
|
|
298
|
+
var lexer = /* @__PURE__ */ (function() {
|
|
298
299
|
var lexer2 = {
|
|
299
300
|
EOF: 1,
|
|
300
|
-
parseError: /* @__PURE__ */
|
|
301
|
+
parseError: /* @__PURE__ */ chunkAGHRB4JF.__name(function parseError(str, hash) {
|
|
301
302
|
if (this.yy.parser) {
|
|
302
303
|
this.yy.parser.parseError(str, hash);
|
|
303
304
|
} else {
|
|
@@ -305,7 +306,7 @@ var parser = function() {
|
|
|
305
306
|
}
|
|
306
307
|
}, "parseError"),
|
|
307
308
|
// resets the lexer, sets new input
|
|
308
|
-
setInput: /* @__PURE__ */
|
|
309
|
+
setInput: /* @__PURE__ */ chunkAGHRB4JF.__name(function(input, yy) {
|
|
309
310
|
this.yy = yy || this.yy || {};
|
|
310
311
|
this._input = input;
|
|
311
312
|
this._more = this._backtrack = this.done = false;
|
|
@@ -325,7 +326,7 @@ var parser = function() {
|
|
|
325
326
|
return this;
|
|
326
327
|
}, "setInput"),
|
|
327
328
|
// consumes and returns one char from the input
|
|
328
|
-
input: /* @__PURE__ */
|
|
329
|
+
input: /* @__PURE__ */ chunkAGHRB4JF.__name(function() {
|
|
329
330
|
var ch = this._input[0];
|
|
330
331
|
this.yytext += ch;
|
|
331
332
|
this.yyleng++;
|
|
@@ -346,7 +347,7 @@ var parser = function() {
|
|
|
346
347
|
return ch;
|
|
347
348
|
}, "input"),
|
|
348
349
|
// unshifts one char (or a string) into the input
|
|
349
|
-
unput: /* @__PURE__ */
|
|
350
|
+
unput: /* @__PURE__ */ chunkAGHRB4JF.__name(function(ch) {
|
|
350
351
|
var len = ch.length;
|
|
351
352
|
var lines = ch.split(/(?:\r\n?|\n)/g);
|
|
352
353
|
this._input = ch + this._input;
|
|
@@ -372,12 +373,12 @@ var parser = function() {
|
|
|
372
373
|
return this;
|
|
373
374
|
}, "unput"),
|
|
374
375
|
// When called from action, caches matched text and appends it on next action
|
|
375
|
-
more: /* @__PURE__ */
|
|
376
|
+
more: /* @__PURE__ */ chunkAGHRB4JF.__name(function() {
|
|
376
377
|
this._more = true;
|
|
377
378
|
return this;
|
|
378
379
|
}, "more"),
|
|
379
380
|
// 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.
|
|
380
|
-
reject: /* @__PURE__ */
|
|
381
|
+
reject: /* @__PURE__ */ chunkAGHRB4JF.__name(function() {
|
|
381
382
|
if (this.options.backtrack_lexer) {
|
|
382
383
|
this._backtrack = true;
|
|
383
384
|
} else {
|
|
@@ -390,16 +391,16 @@ var parser = function() {
|
|
|
390
391
|
return this;
|
|
391
392
|
}, "reject"),
|
|
392
393
|
// retain first n characters of the match
|
|
393
|
-
less: /* @__PURE__ */
|
|
394
|
+
less: /* @__PURE__ */ chunkAGHRB4JF.__name(function(n) {
|
|
394
395
|
this.unput(this.match.slice(n));
|
|
395
396
|
}, "less"),
|
|
396
397
|
// displays already matched input, i.e. for error messages
|
|
397
|
-
pastInput: /* @__PURE__ */
|
|
398
|
+
pastInput: /* @__PURE__ */ chunkAGHRB4JF.__name(function() {
|
|
398
399
|
var past = this.matched.substr(0, this.matched.length - this.match.length);
|
|
399
400
|
return (past.length > 20 ? "..." : "") + past.substr(-20).replace(/\n/g, "");
|
|
400
401
|
}, "pastInput"),
|
|
401
402
|
// displays upcoming input, i.e. for error messages
|
|
402
|
-
upcomingInput: /* @__PURE__ */
|
|
403
|
+
upcomingInput: /* @__PURE__ */ chunkAGHRB4JF.__name(function() {
|
|
403
404
|
var next = this.match;
|
|
404
405
|
if (next.length < 20) {
|
|
405
406
|
next += this._input.substr(0, 20 - next.length);
|
|
@@ -407,13 +408,13 @@ var parser = function() {
|
|
|
407
408
|
return (next.substr(0, 20) + (next.length > 20 ? "..." : "")).replace(/\n/g, "");
|
|
408
409
|
}, "upcomingInput"),
|
|
409
410
|
// displays the character position where the lexing error occurred, i.e. for error messages
|
|
410
|
-
showPosition: /* @__PURE__ */
|
|
411
|
+
showPosition: /* @__PURE__ */ chunkAGHRB4JF.__name(function() {
|
|
411
412
|
var pre = this.pastInput();
|
|
412
413
|
var c = new Array(pre.length + 1).join("-");
|
|
413
414
|
return pre + this.upcomingInput() + "\n" + c + "^";
|
|
414
415
|
}, "showPosition"),
|
|
415
416
|
// test the lexed token: return FALSE when not a match, otherwise return token
|
|
416
|
-
test_match: /* @__PURE__ */
|
|
417
|
+
test_match: /* @__PURE__ */ chunkAGHRB4JF.__name(function(match, indexed_rule) {
|
|
417
418
|
var token, lines, backup;
|
|
418
419
|
if (this.options.backtrack_lexer) {
|
|
419
420
|
backup = {
|
|
@@ -476,7 +477,7 @@ var parser = function() {
|
|
|
476
477
|
return false;
|
|
477
478
|
}, "test_match"),
|
|
478
479
|
// return next match in input
|
|
479
|
-
next: /* @__PURE__ */
|
|
480
|
+
next: /* @__PURE__ */ chunkAGHRB4JF.__name(function() {
|
|
480
481
|
if (this.done) {
|
|
481
482
|
return this.EOF;
|
|
482
483
|
}
|
|
@@ -527,7 +528,7 @@ var parser = function() {
|
|
|
527
528
|
}
|
|
528
529
|
}, "next"),
|
|
529
530
|
// return next match that has a token
|
|
530
|
-
lex: /* @__PURE__ */
|
|
531
|
+
lex: /* @__PURE__ */ chunkAGHRB4JF.__name(function lex() {
|
|
531
532
|
var r = this.next();
|
|
532
533
|
if (r) {
|
|
533
534
|
return r;
|
|
@@ -536,11 +537,11 @@ var parser = function() {
|
|
|
536
537
|
}
|
|
537
538
|
}, "lex"),
|
|
538
539
|
// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
|
|
539
|
-
begin: /* @__PURE__ */
|
|
540
|
+
begin: /* @__PURE__ */ chunkAGHRB4JF.__name(function begin(condition) {
|
|
540
541
|
this.conditionStack.push(condition);
|
|
541
542
|
}, "begin"),
|
|
542
543
|
// pop the previously active lexer condition state off the condition stack
|
|
543
|
-
popState: /* @__PURE__ */
|
|
544
|
+
popState: /* @__PURE__ */ chunkAGHRB4JF.__name(function popState() {
|
|
544
545
|
var n = this.conditionStack.length - 1;
|
|
545
546
|
if (n > 0) {
|
|
546
547
|
return this.conditionStack.pop();
|
|
@@ -549,7 +550,7 @@ var parser = function() {
|
|
|
549
550
|
}
|
|
550
551
|
}, "popState"),
|
|
551
552
|
// produce the lexer rule set which is active for the currently active lexer condition state
|
|
552
|
-
_currentRules: /* @__PURE__ */
|
|
553
|
+
_currentRules: /* @__PURE__ */ chunkAGHRB4JF.__name(function _currentRules() {
|
|
553
554
|
if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {
|
|
554
555
|
return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;
|
|
555
556
|
} else {
|
|
@@ -557,7 +558,7 @@ var parser = function() {
|
|
|
557
558
|
}
|
|
558
559
|
}, "_currentRules"),
|
|
559
560
|
// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
|
|
560
|
-
topState: /* @__PURE__ */
|
|
561
|
+
topState: /* @__PURE__ */ chunkAGHRB4JF.__name(function topState(n) {
|
|
561
562
|
n = this.conditionStack.length - 1 - Math.abs(n || 0);
|
|
562
563
|
if (n >= 0) {
|
|
563
564
|
return this.conditionStack[n];
|
|
@@ -566,141 +567,143 @@ var parser = function() {
|
|
|
566
567
|
}
|
|
567
568
|
}, "topState"),
|
|
568
569
|
// alias for begin(condition)
|
|
569
|
-
pushState: /* @__PURE__ */
|
|
570
|
+
pushState: /* @__PURE__ */ chunkAGHRB4JF.__name(function pushState(condition) {
|
|
570
571
|
this.begin(condition);
|
|
571
572
|
}, "pushState"),
|
|
572
573
|
// return the number of states currently on the stack
|
|
573
|
-
stateStackSize: /* @__PURE__ */
|
|
574
|
+
stateStackSize: /* @__PURE__ */ chunkAGHRB4JF.__name(function stateStackSize() {
|
|
574
575
|
return this.conditionStack.length;
|
|
575
576
|
}, "stateStackSize"),
|
|
576
577
|
options: {},
|
|
577
|
-
performAction: /* @__PURE__ */
|
|
578
|
+
performAction: /* @__PURE__ */ chunkAGHRB4JF.__name(function anonymous(yy, yy_, $avoiding_name_collisions, YY_START) {
|
|
578
579
|
switch ($avoiding_name_collisions) {
|
|
579
580
|
case 0:
|
|
581
|
+
yy.getLogger().debug("Found block-beta");
|
|
580
582
|
return 10;
|
|
581
583
|
case 1:
|
|
582
|
-
yy.getLogger().debug("Found
|
|
583
|
-
return
|
|
584
|
+
yy.getLogger().debug("Found id-block");
|
|
585
|
+
return 29;
|
|
584
586
|
case 2:
|
|
585
|
-
yy.getLogger().debug("Found
|
|
586
|
-
return
|
|
587
|
+
yy.getLogger().debug("Found block");
|
|
588
|
+
return 10;
|
|
587
589
|
case 3:
|
|
588
|
-
yy.getLogger().debug("Found space-block");
|
|
589
|
-
return 29;
|
|
590
|
-
case 4:
|
|
591
590
|
yy.getLogger().debug(".", yy_.yytext);
|
|
592
591
|
break;
|
|
593
|
-
case
|
|
592
|
+
case 4:
|
|
594
593
|
yy.getLogger().debug("_", yy_.yytext);
|
|
595
594
|
break;
|
|
596
|
-
case
|
|
595
|
+
case 5:
|
|
597
596
|
return 5;
|
|
598
|
-
case
|
|
597
|
+
case 6:
|
|
599
598
|
yy_.yytext = -1;
|
|
600
599
|
return 28;
|
|
601
|
-
case
|
|
600
|
+
case 7:
|
|
602
601
|
yy_.yytext = yy_.yytext.replace(/columns\s+/, "");
|
|
603
602
|
yy.getLogger().debug("COLUMNS (LEX)", yy_.yytext);
|
|
604
603
|
return 28;
|
|
605
|
-
case
|
|
604
|
+
case 8:
|
|
606
605
|
this.pushState("md_string");
|
|
607
606
|
break;
|
|
608
|
-
case
|
|
607
|
+
case 9:
|
|
609
608
|
return "MD_STR";
|
|
610
|
-
case
|
|
609
|
+
case 10:
|
|
611
610
|
this.popState();
|
|
612
611
|
break;
|
|
613
|
-
case
|
|
612
|
+
case 11:
|
|
614
613
|
this.pushState("string");
|
|
615
614
|
break;
|
|
616
|
-
case
|
|
615
|
+
case 12:
|
|
617
616
|
yy.getLogger().debug("LEX: POPPING STR:", yy_.yytext);
|
|
618
617
|
this.popState();
|
|
619
618
|
break;
|
|
620
|
-
case
|
|
619
|
+
case 13:
|
|
621
620
|
yy.getLogger().debug("LEX: STR end:", yy_.yytext);
|
|
622
621
|
return "STR";
|
|
623
|
-
case
|
|
622
|
+
case 14:
|
|
624
623
|
yy_.yytext = yy_.yytext.replace(/space\:/, "");
|
|
625
624
|
yy.getLogger().debug("SPACE NUM (LEX)", yy_.yytext);
|
|
626
625
|
return 21;
|
|
627
|
-
case
|
|
626
|
+
case 15:
|
|
628
627
|
yy_.yytext = "1";
|
|
629
628
|
yy.getLogger().debug("COLUMNS (LEX)", yy_.yytext);
|
|
630
629
|
return 21;
|
|
630
|
+
case 16:
|
|
631
|
+
return 42;
|
|
631
632
|
case 17:
|
|
632
|
-
return 43;
|
|
633
|
-
case 18:
|
|
634
633
|
return "LINKSTYLE";
|
|
635
|
-
case
|
|
634
|
+
case 18:
|
|
636
635
|
return "INTERPOLATE";
|
|
637
|
-
case
|
|
636
|
+
case 19:
|
|
638
637
|
this.pushState("CLASSDEF");
|
|
639
|
-
return
|
|
640
|
-
case
|
|
638
|
+
return 39;
|
|
639
|
+
case 20:
|
|
641
640
|
this.popState();
|
|
642
641
|
this.pushState("CLASSDEFID");
|
|
643
642
|
return "DEFAULT_CLASSDEF_ID";
|
|
644
|
-
case
|
|
643
|
+
case 21:
|
|
645
644
|
this.popState();
|
|
646
645
|
this.pushState("CLASSDEFID");
|
|
646
|
+
return 40;
|
|
647
|
+
case 22:
|
|
648
|
+
this.popState();
|
|
647
649
|
return 41;
|
|
648
650
|
case 23:
|
|
649
|
-
this.popState();
|
|
650
|
-
return 42;
|
|
651
|
-
case 24:
|
|
652
651
|
this.pushState("CLASS");
|
|
652
|
+
return 43;
|
|
653
|
+
case 24:
|
|
654
|
+
this.popState();
|
|
655
|
+
this.pushState("CLASS_STYLE");
|
|
653
656
|
return 44;
|
|
654
657
|
case 25:
|
|
655
658
|
this.popState();
|
|
656
|
-
this.pushState("CLASS_STYLE");
|
|
657
659
|
return 45;
|
|
658
660
|
case 26:
|
|
659
|
-
this.
|
|
661
|
+
this.pushState("STYLE_STMNT");
|
|
660
662
|
return 46;
|
|
661
663
|
case 27:
|
|
662
|
-
this.
|
|
664
|
+
this.popState();
|
|
665
|
+
this.pushState("STYLE_DEFINITION");
|
|
663
666
|
return 47;
|
|
664
667
|
case 28:
|
|
665
668
|
this.popState();
|
|
666
|
-
this.pushState("STYLE_DEFINITION");
|
|
667
669
|
return 48;
|
|
668
670
|
case 29:
|
|
669
|
-
this.popState();
|
|
670
|
-
return 49;
|
|
671
|
-
case 30:
|
|
672
671
|
this.pushState("acc_title");
|
|
673
672
|
return "acc_title";
|
|
674
|
-
case
|
|
673
|
+
case 30:
|
|
675
674
|
this.popState();
|
|
676
675
|
return "acc_title_value";
|
|
677
|
-
case
|
|
676
|
+
case 31:
|
|
678
677
|
this.pushState("acc_descr");
|
|
679
678
|
return "acc_descr";
|
|
680
|
-
case
|
|
679
|
+
case 32:
|
|
681
680
|
this.popState();
|
|
682
681
|
return "acc_descr_value";
|
|
683
|
-
case
|
|
682
|
+
case 33:
|
|
684
683
|
this.pushState("acc_descr_multiline");
|
|
685
684
|
break;
|
|
686
|
-
case
|
|
685
|
+
case 34:
|
|
687
686
|
this.popState();
|
|
688
687
|
break;
|
|
689
|
-
case
|
|
688
|
+
case 35:
|
|
690
689
|
return "acc_descr_multiline_value";
|
|
691
|
-
case
|
|
690
|
+
case 36:
|
|
692
691
|
return 30;
|
|
692
|
+
case 37:
|
|
693
|
+
this.popState();
|
|
694
|
+
yy.getLogger().debug("Lex: ((");
|
|
695
|
+
return "NODE_DEND";
|
|
693
696
|
case 38:
|
|
694
697
|
this.popState();
|
|
695
698
|
yy.getLogger().debug("Lex: ((");
|
|
696
699
|
return "NODE_DEND";
|
|
697
700
|
case 39:
|
|
698
701
|
this.popState();
|
|
699
|
-
yy.getLogger().debug("Lex:
|
|
702
|
+
yy.getLogger().debug("Lex: ))");
|
|
700
703
|
return "NODE_DEND";
|
|
701
704
|
case 40:
|
|
702
705
|
this.popState();
|
|
703
|
-
yy.getLogger().debug("Lex:
|
|
706
|
+
yy.getLogger().debug("Lex: ((");
|
|
704
707
|
return "NODE_DEND";
|
|
705
708
|
case 41:
|
|
706
709
|
this.popState();
|
|
@@ -708,198 +711,197 @@ var parser = function() {
|
|
|
708
711
|
return "NODE_DEND";
|
|
709
712
|
case 42:
|
|
710
713
|
this.popState();
|
|
711
|
-
yy.getLogger().debug("Lex: (
|
|
714
|
+
yy.getLogger().debug("Lex: (-");
|
|
712
715
|
return "NODE_DEND";
|
|
713
716
|
case 43:
|
|
714
717
|
this.popState();
|
|
715
|
-
yy.getLogger().debug("Lex:
|
|
718
|
+
yy.getLogger().debug("Lex: -)");
|
|
716
719
|
return "NODE_DEND";
|
|
717
720
|
case 44:
|
|
718
721
|
this.popState();
|
|
719
|
-
yy.getLogger().debug("Lex:
|
|
722
|
+
yy.getLogger().debug("Lex: ((");
|
|
720
723
|
return "NODE_DEND";
|
|
721
724
|
case 45:
|
|
722
725
|
this.popState();
|
|
723
|
-
yy.getLogger().debug("Lex:
|
|
726
|
+
yy.getLogger().debug("Lex: ]]");
|
|
724
727
|
return "NODE_DEND";
|
|
725
728
|
case 46:
|
|
726
729
|
this.popState();
|
|
727
|
-
yy.getLogger().debug("Lex:
|
|
730
|
+
yy.getLogger().debug("Lex: (");
|
|
728
731
|
return "NODE_DEND";
|
|
729
732
|
case 47:
|
|
730
733
|
this.popState();
|
|
731
|
-
yy.getLogger().debug("Lex:
|
|
734
|
+
yy.getLogger().debug("Lex: ])");
|
|
732
735
|
return "NODE_DEND";
|
|
733
736
|
case 48:
|
|
734
737
|
this.popState();
|
|
735
|
-
yy.getLogger().debug("Lex: ]
|
|
738
|
+
yy.getLogger().debug("Lex: /]");
|
|
736
739
|
return "NODE_DEND";
|
|
737
740
|
case 49:
|
|
738
741
|
this.popState();
|
|
739
742
|
yy.getLogger().debug("Lex: /]");
|
|
740
743
|
return "NODE_DEND";
|
|
741
744
|
case 50:
|
|
742
|
-
this.popState();
|
|
743
|
-
yy.getLogger().debug("Lex: /]");
|
|
744
|
-
return "NODE_DEND";
|
|
745
|
-
case 51:
|
|
746
745
|
this.popState();
|
|
747
746
|
yy.getLogger().debug("Lex: )]");
|
|
748
747
|
return "NODE_DEND";
|
|
749
|
-
case
|
|
748
|
+
case 51:
|
|
750
749
|
this.popState();
|
|
751
750
|
yy.getLogger().debug("Lex: )");
|
|
752
751
|
return "NODE_DEND";
|
|
753
|
-
case
|
|
752
|
+
case 52:
|
|
754
753
|
this.popState();
|
|
755
754
|
yy.getLogger().debug("Lex: ]>");
|
|
756
755
|
return "NODE_DEND";
|
|
757
|
-
case
|
|
756
|
+
case 53:
|
|
758
757
|
this.popState();
|
|
759
758
|
yy.getLogger().debug("Lex: ]");
|
|
760
759
|
return "NODE_DEND";
|
|
761
|
-
case
|
|
760
|
+
case 54:
|
|
762
761
|
yy.getLogger().debug("Lexa: -)");
|
|
763
762
|
this.pushState("NODE");
|
|
764
|
-
return
|
|
765
|
-
case
|
|
763
|
+
return 35;
|
|
764
|
+
case 55:
|
|
766
765
|
yy.getLogger().debug("Lexa: (-");
|
|
767
766
|
this.pushState("NODE");
|
|
768
|
-
return
|
|
769
|
-
case
|
|
767
|
+
return 35;
|
|
768
|
+
case 56:
|
|
770
769
|
yy.getLogger().debug("Lexa: ))");
|
|
771
770
|
this.pushState("NODE");
|
|
772
|
-
return
|
|
773
|
-
case
|
|
771
|
+
return 35;
|
|
772
|
+
case 57:
|
|
774
773
|
yy.getLogger().debug("Lexa: )");
|
|
775
774
|
this.pushState("NODE");
|
|
776
|
-
return
|
|
777
|
-
case
|
|
775
|
+
return 35;
|
|
776
|
+
case 58:
|
|
778
777
|
yy.getLogger().debug("Lex: (((");
|
|
779
778
|
this.pushState("NODE");
|
|
780
|
-
return
|
|
779
|
+
return 35;
|
|
780
|
+
case 59:
|
|
781
|
+
yy.getLogger().debug("Lexa: )");
|
|
782
|
+
this.pushState("NODE");
|
|
783
|
+
return 35;
|
|
781
784
|
case 60:
|
|
782
785
|
yy.getLogger().debug("Lexa: )");
|
|
783
786
|
this.pushState("NODE");
|
|
784
|
-
return
|
|
787
|
+
return 35;
|
|
785
788
|
case 61:
|
|
786
789
|
yy.getLogger().debug("Lexa: )");
|
|
787
790
|
this.pushState("NODE");
|
|
788
|
-
return
|
|
791
|
+
return 35;
|
|
789
792
|
case 62:
|
|
790
|
-
yy.getLogger().debug("
|
|
793
|
+
yy.getLogger().debug("Lexc: >");
|
|
791
794
|
this.pushState("NODE");
|
|
792
|
-
return
|
|
795
|
+
return 35;
|
|
793
796
|
case 63:
|
|
794
|
-
yy.getLogger().debug("
|
|
797
|
+
yy.getLogger().debug("Lexa: ([");
|
|
795
798
|
this.pushState("NODE");
|
|
796
|
-
return
|
|
799
|
+
return 35;
|
|
797
800
|
case 64:
|
|
798
|
-
yy.getLogger().debug("Lexa:
|
|
801
|
+
yy.getLogger().debug("Lexa: )");
|
|
799
802
|
this.pushState("NODE");
|
|
800
|
-
return
|
|
803
|
+
return 35;
|
|
801
804
|
case 65:
|
|
802
|
-
yy.getLogger().debug("Lexa: )");
|
|
803
805
|
this.pushState("NODE");
|
|
804
|
-
return
|
|
806
|
+
return 35;
|
|
805
807
|
case 66:
|
|
806
808
|
this.pushState("NODE");
|
|
807
|
-
return
|
|
809
|
+
return 35;
|
|
808
810
|
case 67:
|
|
809
811
|
this.pushState("NODE");
|
|
810
|
-
return
|
|
812
|
+
return 35;
|
|
811
813
|
case 68:
|
|
812
814
|
this.pushState("NODE");
|
|
813
|
-
return
|
|
815
|
+
return 35;
|
|
814
816
|
case 69:
|
|
815
817
|
this.pushState("NODE");
|
|
816
|
-
return
|
|
818
|
+
return 35;
|
|
817
819
|
case 70:
|
|
818
820
|
this.pushState("NODE");
|
|
819
|
-
return
|
|
821
|
+
return 35;
|
|
820
822
|
case 71:
|
|
821
823
|
this.pushState("NODE");
|
|
822
|
-
return
|
|
824
|
+
return 35;
|
|
823
825
|
case 72:
|
|
824
|
-
this.pushState("NODE");
|
|
825
|
-
return 36;
|
|
826
|
-
case 73:
|
|
827
826
|
yy.getLogger().debug("Lexa: [");
|
|
828
827
|
this.pushState("NODE");
|
|
829
|
-
return
|
|
830
|
-
case
|
|
828
|
+
return 35;
|
|
829
|
+
case 73:
|
|
831
830
|
this.pushState("BLOCK_ARROW");
|
|
832
831
|
yy.getLogger().debug("LEX ARR START");
|
|
833
|
-
return
|
|
834
|
-
case
|
|
832
|
+
return 37;
|
|
833
|
+
case 74:
|
|
835
834
|
yy.getLogger().debug("Lex: NODE_ID", yy_.yytext);
|
|
836
|
-
return
|
|
837
|
-
case
|
|
835
|
+
return 31;
|
|
836
|
+
case 75:
|
|
838
837
|
yy.getLogger().debug("Lex: EOF", yy_.yytext);
|
|
839
838
|
return 8;
|
|
840
|
-
case
|
|
839
|
+
case 76:
|
|
841
840
|
this.pushState("md_string");
|
|
842
841
|
break;
|
|
843
|
-
case
|
|
842
|
+
case 77:
|
|
844
843
|
this.pushState("md_string");
|
|
845
844
|
break;
|
|
846
|
-
case
|
|
845
|
+
case 78:
|
|
847
846
|
return "NODE_DESCR";
|
|
848
|
-
case
|
|
847
|
+
case 79:
|
|
849
848
|
this.popState();
|
|
850
849
|
break;
|
|
851
|
-
case
|
|
850
|
+
case 80:
|
|
852
851
|
yy.getLogger().debug("Lex: Starting string");
|
|
853
852
|
this.pushState("string");
|
|
854
853
|
break;
|
|
855
|
-
case
|
|
854
|
+
case 81:
|
|
856
855
|
yy.getLogger().debug("LEX ARR: Starting string");
|
|
857
856
|
this.pushState("string");
|
|
858
857
|
break;
|
|
859
|
-
case
|
|
858
|
+
case 82:
|
|
860
859
|
yy.getLogger().debug("LEX: NODE_DESCR:", yy_.yytext);
|
|
861
860
|
return "NODE_DESCR";
|
|
862
|
-
case
|
|
861
|
+
case 83:
|
|
863
862
|
yy.getLogger().debug("LEX POPPING");
|
|
864
863
|
this.popState();
|
|
865
864
|
break;
|
|
866
|
-
case
|
|
865
|
+
case 84:
|
|
867
866
|
yy.getLogger().debug("Lex: =>BAE");
|
|
868
867
|
this.pushState("ARROW_DIR");
|
|
869
868
|
break;
|
|
870
|
-
case
|
|
869
|
+
case 85:
|
|
871
870
|
yy_.yytext = yy_.yytext.replace(/^,\s*/, "");
|
|
872
871
|
yy.getLogger().debug("Lex (right): dir:", yy_.yytext);
|
|
873
872
|
return "DIR";
|
|
874
|
-
case
|
|
873
|
+
case 86:
|
|
875
874
|
yy_.yytext = yy_.yytext.replace(/^,\s*/, "");
|
|
876
875
|
yy.getLogger().debug("Lex (left):", yy_.yytext);
|
|
877
876
|
return "DIR";
|
|
878
|
-
case
|
|
877
|
+
case 87:
|
|
879
878
|
yy_.yytext = yy_.yytext.replace(/^,\s*/, "");
|
|
880
879
|
yy.getLogger().debug("Lex (x):", yy_.yytext);
|
|
881
880
|
return "DIR";
|
|
882
|
-
case
|
|
881
|
+
case 88:
|
|
883
882
|
yy_.yytext = yy_.yytext.replace(/^,\s*/, "");
|
|
884
883
|
yy.getLogger().debug("Lex (y):", yy_.yytext);
|
|
885
884
|
return "DIR";
|
|
886
|
-
case
|
|
885
|
+
case 89:
|
|
887
886
|
yy_.yytext = yy_.yytext.replace(/^,\s*/, "");
|
|
888
887
|
yy.getLogger().debug("Lex (up):", yy_.yytext);
|
|
889
888
|
return "DIR";
|
|
890
|
-
case
|
|
889
|
+
case 90:
|
|
891
890
|
yy_.yytext = yy_.yytext.replace(/^,\s*/, "");
|
|
892
891
|
yy.getLogger().debug("Lex (down):", yy_.yytext);
|
|
893
892
|
return "DIR";
|
|
894
|
-
case
|
|
893
|
+
case 91:
|
|
895
894
|
yy_.yytext = "]>";
|
|
896
895
|
yy.getLogger().debug("Lex (ARROW_DIR end):", yy_.yytext);
|
|
897
896
|
this.popState();
|
|
898
897
|
this.popState();
|
|
899
898
|
return "BLOCK_ARROW_END";
|
|
900
|
-
case
|
|
899
|
+
case 92:
|
|
901
900
|
yy.getLogger().debug("Lex: LINK", "#" + yy_.yytext + "#");
|
|
902
901
|
return 15;
|
|
902
|
+
case 93:
|
|
903
|
+
yy.getLogger().debug("Lex: LINK", yy_.yytext);
|
|
904
|
+
return 15;
|
|
903
905
|
case 94:
|
|
904
906
|
yy.getLogger().debug("Lex: LINK", yy_.yytext);
|
|
905
907
|
return 15;
|
|
@@ -907,59 +909,56 @@ var parser = function() {
|
|
|
907
909
|
yy.getLogger().debug("Lex: LINK", yy_.yytext);
|
|
908
910
|
return 15;
|
|
909
911
|
case 96:
|
|
910
|
-
yy.getLogger().debug("Lex: LINK", yy_.yytext);
|
|
911
|
-
return 15;
|
|
912
|
-
case 97:
|
|
913
912
|
yy.getLogger().debug("Lex: START_LINK", yy_.yytext);
|
|
914
913
|
this.pushState("LLABEL");
|
|
915
914
|
return 16;
|
|
916
|
-
case
|
|
915
|
+
case 97:
|
|
917
916
|
yy.getLogger().debug("Lex: START_LINK", yy_.yytext);
|
|
918
917
|
this.pushState("LLABEL");
|
|
919
918
|
return 16;
|
|
920
|
-
case
|
|
919
|
+
case 98:
|
|
921
920
|
yy.getLogger().debug("Lex: START_LINK", yy_.yytext);
|
|
922
921
|
this.pushState("LLABEL");
|
|
923
922
|
return 16;
|
|
924
|
-
case
|
|
923
|
+
case 99:
|
|
925
924
|
this.pushState("md_string");
|
|
926
925
|
break;
|
|
927
|
-
case
|
|
926
|
+
case 100:
|
|
928
927
|
yy.getLogger().debug("Lex: Starting string");
|
|
929
928
|
this.pushState("string");
|
|
930
929
|
return "LINK_LABEL";
|
|
931
|
-
case
|
|
930
|
+
case 101:
|
|
932
931
|
this.popState();
|
|
933
932
|
yy.getLogger().debug("Lex: LINK", "#" + yy_.yytext + "#");
|
|
934
933
|
return 15;
|
|
935
|
-
case
|
|
934
|
+
case 102:
|
|
936
935
|
this.popState();
|
|
937
936
|
yy.getLogger().debug("Lex: LINK", yy_.yytext);
|
|
938
937
|
return 15;
|
|
939
|
-
case
|
|
938
|
+
case 103:
|
|
940
939
|
this.popState();
|
|
941
940
|
yy.getLogger().debug("Lex: LINK", yy_.yytext);
|
|
942
941
|
return 15;
|
|
943
|
-
case
|
|
942
|
+
case 104:
|
|
944
943
|
yy.getLogger().debug("Lex: COLON", yy_.yytext);
|
|
945
944
|
yy_.yytext = yy_.yytext.slice(1);
|
|
946
945
|
return 27;
|
|
947
946
|
}
|
|
948
947
|
}, "anonymous"),
|
|
949
|
-
rules: [/^(?:block-beta\b)/, /^(?:block
|
|
950
|
-
conditions: { "STYLE_DEFINITION": { "rules": [
|
|
948
|
+
rules: [/^(?:block-beta\b)/, /^(?:block:)/, /^(?:block\b)/, /^(?:[\s]+)/, /^(?:[\n]+)/, /^(?:((\u000D\u000A)|(\u000A)))/, /^(?:columns\s+auto\b)/, /^(?:columns\s+[\d]+)/, /^(?:["][`])/, /^(?:[^`"]+)/, /^(?:[`]["])/, /^(?:["])/, /^(?:["])/, /^(?:[^"]*)/, /^(?:space[:]\d+)/, /^(?:space\b)/, /^(?:default\b)/, /^(?:linkStyle\b)/, /^(?:interpolate\b)/, /^(?:classDef\s+)/, /^(?:DEFAULT\s+)/, /^(?:\w+\s+)/, /^(?:[^\n]*)/, /^(?:class\s+)/, /^(?:(\w+)+((,\s*\w+)*))/, /^(?:[^\n]*)/, /^(?:style\s+)/, /^(?:(\w+)+((,\s*\w+)*))/, /^(?:[^\n]*)/, /^(?:accTitle\s*:\s*)/, /^(?:(?!\n||)*[^\n]*)/, /^(?:accDescr\s*:\s*)/, /^(?:(?!\n||)*[^\n]*)/, /^(?:accDescr\s*\{\s*)/, /^(?:[\}])/, /^(?:[^\}]*)/, /^(?:end\b\s*)/, /^(?:\(\(\()/, /^(?:\)\)\))/, /^(?:[\)]\))/, /^(?:\}\})/, /^(?:\})/, /^(?:\(-)/, /^(?:-\))/, /^(?:\(\()/, /^(?:\]\])/, /^(?:\()/, /^(?:\]\))/, /^(?:\\\])/, /^(?:\/\])/, /^(?:\)\])/, /^(?:[\)])/, /^(?:\]>)/, /^(?:[\]])/, /^(?:-\))/, /^(?:\(-)/, /^(?:\)\))/, /^(?:\))/, /^(?:\(\(\()/, /^(?:\(\()/, /^(?:\{\{)/, /^(?:\{)/, /^(?:>)/, /^(?:\(\[)/, /^(?:\()/, /^(?:\[\[)/, /^(?:\[\|)/, /^(?:\[\()/, /^(?:\)\)\))/, /^(?:\[\\)/, /^(?:\[\/)/, /^(?:\[\\)/, /^(?:\[)/, /^(?:<\[)/, /^(?:[^\(\[\n\-\)\{\}\s\<\>:]+)/, /^(?:$)/, /^(?:["][`])/, /^(?:["][`])/, /^(?:[^`"]+)/, /^(?:[`]["])/, /^(?:["])/, /^(?:["])/, /^(?:[^"]+)/, /^(?:["])/, /^(?:\]>\s*\()/, /^(?:,?\s*right\s*)/, /^(?:,?\s*left\s*)/, /^(?:,?\s*x\s*)/, /^(?:,?\s*y\s*)/, /^(?:,?\s*up\s*)/, /^(?:,?\s*down\s*)/, /^(?:\)\s*)/, /^(?:\s*[xo<]?--+[-xo>]\s*)/, /^(?:\s*[xo<]?==+[=xo>]\s*)/, /^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/, /^(?:\s*~~[\~]+\s*)/, /^(?:\s*[xo<]?--\s*)/, /^(?:\s*[xo<]?==\s*)/, /^(?:\s*[xo<]?-\.\s*)/, /^(?:["][`])/, /^(?:["])/, /^(?:\s*[xo<]?--+[-xo>]\s*)/, /^(?:\s*[xo<]?==+[=xo>]\s*)/, /^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/, /^(?::\d+)/],
|
|
949
|
+
conditions: { "STYLE_DEFINITION": { "rules": [28], "inclusive": false }, "STYLE_STMNT": { "rules": [27], "inclusive": false }, "CLASSDEFID": { "rules": [22], "inclusive": false }, "CLASSDEF": { "rules": [20, 21], "inclusive": false }, "CLASS_STYLE": { "rules": [25], "inclusive": false }, "CLASS": { "rules": [24], "inclusive": false }, "LLABEL": { "rules": [99, 100, 101, 102, 103], "inclusive": false }, "ARROW_DIR": { "rules": [85, 86, 87, 88, 89, 90, 91], "inclusive": false }, "BLOCK_ARROW": { "rules": [76, 81, 84], "inclusive": false }, "NODE": { "rules": [37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 77, 80], "inclusive": false }, "md_string": { "rules": [9, 10, 78, 79], "inclusive": false }, "space": { "rules": [], "inclusive": false }, "string": { "rules": [12, 13, 82, 83], "inclusive": false }, "acc_descr_multiline": { "rules": [34, 35], "inclusive": false }, "acc_descr": { "rules": [32], "inclusive": false }, "acc_title": { "rules": [30], "inclusive": false }, "INITIAL": { "rules": [0, 1, 2, 3, 4, 5, 6, 7, 8, 11, 14, 15, 16, 17, 18, 19, 23, 26, 29, 31, 33, 36, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 92, 93, 94, 95, 96, 97, 98, 104], "inclusive": true } }
|
|
951
950
|
};
|
|
952
951
|
return lexer2;
|
|
953
|
-
}();
|
|
952
|
+
})();
|
|
954
953
|
parser2.lexer = lexer;
|
|
955
954
|
function Parser() {
|
|
956
955
|
this.yy = {};
|
|
957
956
|
}
|
|
958
|
-
|
|
957
|
+
chunkAGHRB4JF.__name(Parser, "Parser");
|
|
959
958
|
Parser.prototype = parser2;
|
|
960
959
|
parser2.Parser = Parser;
|
|
961
960
|
return new Parser();
|
|
962
|
-
}();
|
|
961
|
+
})();
|
|
963
962
|
parser.parser = parser;
|
|
964
963
|
var block_default = parser;
|
|
965
964
|
var blockDatabase = /* @__PURE__ */ new Map();
|
|
@@ -969,10 +968,10 @@ var COLOR_KEYWORD = "color";
|
|
|
969
968
|
var FILL_KEYWORD = "fill";
|
|
970
969
|
var BG_FILL = "bgFill";
|
|
971
970
|
var STYLECLASS_SEP = ",";
|
|
972
|
-
var config =
|
|
971
|
+
var config = chunkABZYJK2D.getConfig2();
|
|
973
972
|
var classes = /* @__PURE__ */ new Map();
|
|
974
|
-
var sanitizeText2 = /* @__PURE__ */
|
|
975
|
-
var addStyleClass = /* @__PURE__ */
|
|
973
|
+
var sanitizeText2 = /* @__PURE__ */ chunkAGHRB4JF.__name((txt) => chunkABZYJK2D.common_default.sanitizeText(txt, config), "sanitizeText");
|
|
974
|
+
var addStyleClass = /* @__PURE__ */ chunkAGHRB4JF.__name(function(id, styleAttributes = "") {
|
|
976
975
|
let foundClass = classes.get(id);
|
|
977
976
|
if (!foundClass) {
|
|
978
977
|
foundClass = { id, styles: [], textStyles: [] };
|
|
@@ -990,13 +989,13 @@ var addStyleClass = /* @__PURE__ */ chunk3XYRH5AP.__name(function(id, styleAttri
|
|
|
990
989
|
});
|
|
991
990
|
}
|
|
992
991
|
}, "addStyleClass");
|
|
993
|
-
var addStyle2Node = /* @__PURE__ */
|
|
992
|
+
var addStyle2Node = /* @__PURE__ */ chunkAGHRB4JF.__name(function(id, styles = "") {
|
|
994
993
|
const foundBlock = blockDatabase.get(id);
|
|
995
994
|
if (styles !== void 0 && styles !== null) {
|
|
996
995
|
foundBlock.styles = styles.split(STYLECLASS_SEP);
|
|
997
996
|
}
|
|
998
997
|
}, "addStyle2Node");
|
|
999
|
-
var setCssClass = /* @__PURE__ */
|
|
998
|
+
var setCssClass = /* @__PURE__ */ chunkAGHRB4JF.__name(function(itemIds, cssClassName) {
|
|
1000
999
|
itemIds.split(",").forEach(function(id) {
|
|
1001
1000
|
let foundBlock = blockDatabase.get(id);
|
|
1002
1001
|
if (foundBlock === void 0) {
|
|
@@ -1010,10 +1009,17 @@ var setCssClass = /* @__PURE__ */ chunk3XYRH5AP.__name(function(itemIds, cssClas
|
|
|
1010
1009
|
foundBlock.classes.push(cssClassName);
|
|
1011
1010
|
});
|
|
1012
1011
|
}, "setCssClass");
|
|
1013
|
-
var populateBlockDatabase = /* @__PURE__ */
|
|
1012
|
+
var populateBlockDatabase = /* @__PURE__ */ chunkAGHRB4JF.__name((_blockList, parent) => {
|
|
1014
1013
|
const blockList = _blockList.flat();
|
|
1015
1014
|
const children = [];
|
|
1015
|
+
const columnSettingBlock = blockList.find((b) => b?.type === "column-setting");
|
|
1016
|
+
const column = columnSettingBlock?.columns ?? -1;
|
|
1016
1017
|
for (const block of blockList) {
|
|
1018
|
+
if (typeof column === "number" && column > 0 && block.type !== "column-setting" && typeof block.widthInColumns === "number" && block.widthInColumns > column) {
|
|
1019
|
+
chunkAGHRB4JF.log.warn(
|
|
1020
|
+
`Block ${block.id} width ${block.widthInColumns} exceeds configured column width ${column}`
|
|
1021
|
+
);
|
|
1022
|
+
}
|
|
1017
1023
|
if (block.label) {
|
|
1018
1024
|
block.label = sanitizeText2(block.label);
|
|
1019
1025
|
}
|
|
@@ -1077,9 +1083,9 @@ var populateBlockDatabase = /* @__PURE__ */ chunk3XYRH5AP.__name((_blockList, pa
|
|
|
1077
1083
|
}, "populateBlockDatabase");
|
|
1078
1084
|
var blocks = [];
|
|
1079
1085
|
var rootBlock = { id: "root", type: "composite", children: [], columns: -1 };
|
|
1080
|
-
var clear2 = /* @__PURE__ */
|
|
1081
|
-
|
|
1082
|
-
|
|
1086
|
+
var clear2 = /* @__PURE__ */ chunkAGHRB4JF.__name(() => {
|
|
1087
|
+
chunkAGHRB4JF.log.debug("Clear called");
|
|
1088
|
+
chunkABZYJK2D.clear();
|
|
1083
1089
|
rootBlock = { id: "root", type: "composite", children: [], columns: -1 };
|
|
1084
1090
|
blockDatabase = /* @__PURE__ */ new Map([["root", rootBlock]]);
|
|
1085
1091
|
blocks = [];
|
|
@@ -1088,12 +1094,12 @@ var clear2 = /* @__PURE__ */ chunk3XYRH5AP.__name(() => {
|
|
|
1088
1094
|
edgeCount = /* @__PURE__ */ new Map();
|
|
1089
1095
|
}, "clear");
|
|
1090
1096
|
function typeStr2Type(typeStr) {
|
|
1091
|
-
|
|
1097
|
+
chunkAGHRB4JF.log.debug("typeStr2Type", typeStr);
|
|
1092
1098
|
switch (typeStr) {
|
|
1093
1099
|
case "[]":
|
|
1094
1100
|
return "square";
|
|
1095
1101
|
case "()":
|
|
1096
|
-
|
|
1102
|
+
chunkAGHRB4JF.log.debug("we have a round");
|
|
1097
1103
|
return "round";
|
|
1098
1104
|
case "(())":
|
|
1099
1105
|
return "circle";
|
|
@@ -1125,9 +1131,9 @@ function typeStr2Type(typeStr) {
|
|
|
1125
1131
|
return "na";
|
|
1126
1132
|
}
|
|
1127
1133
|
}
|
|
1128
|
-
|
|
1134
|
+
chunkAGHRB4JF.__name(typeStr2Type, "typeStr2Type");
|
|
1129
1135
|
function edgeTypeStr2Type(typeStr) {
|
|
1130
|
-
|
|
1136
|
+
chunkAGHRB4JF.log.debug("typeStr2Type", typeStr);
|
|
1131
1137
|
switch (typeStr) {
|
|
1132
1138
|
case "==":
|
|
1133
1139
|
return "thick";
|
|
@@ -1135,29 +1141,31 @@ function edgeTypeStr2Type(typeStr) {
|
|
|
1135
1141
|
return "normal";
|
|
1136
1142
|
}
|
|
1137
1143
|
}
|
|
1138
|
-
|
|
1144
|
+
chunkAGHRB4JF.__name(edgeTypeStr2Type, "edgeTypeStr2Type");
|
|
1139
1145
|
function edgeStrToEdgeData(typeStr) {
|
|
1140
|
-
switch (typeStr.
|
|
1141
|
-
case "
|
|
1146
|
+
switch (typeStr.replace(/^[\s-]+|[\s-]+$/g, "")) {
|
|
1147
|
+
case "x":
|
|
1142
1148
|
return "arrow_cross";
|
|
1143
|
-
case "
|
|
1149
|
+
case "o":
|
|
1144
1150
|
return "arrow_circle";
|
|
1145
|
-
|
|
1151
|
+
case ">":
|
|
1146
1152
|
return "arrow_point";
|
|
1153
|
+
default:
|
|
1154
|
+
return "";
|
|
1147
1155
|
}
|
|
1148
1156
|
}
|
|
1149
|
-
|
|
1157
|
+
chunkAGHRB4JF.__name(edgeStrToEdgeData, "edgeStrToEdgeData");
|
|
1150
1158
|
var cnt = 0;
|
|
1151
|
-
var generateId = /* @__PURE__ */
|
|
1159
|
+
var generateId = /* @__PURE__ */ chunkAGHRB4JF.__name(() => {
|
|
1152
1160
|
cnt++;
|
|
1153
1161
|
return "id-" + Math.random().toString(36).substr(2, 12) + "-" + cnt;
|
|
1154
1162
|
}, "generateId");
|
|
1155
|
-
var setHierarchy = /* @__PURE__ */
|
|
1163
|
+
var setHierarchy = /* @__PURE__ */ chunkAGHRB4JF.__name((block) => {
|
|
1156
1164
|
rootBlock.children = block;
|
|
1157
1165
|
populateBlockDatabase(block, rootBlock);
|
|
1158
1166
|
blocks = rootBlock.children;
|
|
1159
1167
|
}, "setHierarchy");
|
|
1160
|
-
var getColumns = /* @__PURE__ */
|
|
1168
|
+
var getColumns = /* @__PURE__ */ chunkAGHRB4JF.__name((blockId) => {
|
|
1161
1169
|
const block = blockDatabase.get(blockId);
|
|
1162
1170
|
if (!block) {
|
|
1163
1171
|
return -1;
|
|
@@ -1170,27 +1178,27 @@ var getColumns = /* @__PURE__ */ chunk3XYRH5AP.__name((blockId) => {
|
|
|
1170
1178
|
}
|
|
1171
1179
|
return block.children.length;
|
|
1172
1180
|
}, "getColumns");
|
|
1173
|
-
var getBlocksFlat = /* @__PURE__ */
|
|
1181
|
+
var getBlocksFlat = /* @__PURE__ */ chunkAGHRB4JF.__name(() => {
|
|
1174
1182
|
return [...blockDatabase.values()];
|
|
1175
1183
|
}, "getBlocksFlat");
|
|
1176
|
-
var getBlocks = /* @__PURE__ */
|
|
1184
|
+
var getBlocks = /* @__PURE__ */ chunkAGHRB4JF.__name(() => {
|
|
1177
1185
|
return blocks || [];
|
|
1178
1186
|
}, "getBlocks");
|
|
1179
|
-
var getEdges = /* @__PURE__ */
|
|
1187
|
+
var getEdges = /* @__PURE__ */ chunkAGHRB4JF.__name(() => {
|
|
1180
1188
|
return edgeList;
|
|
1181
1189
|
}, "getEdges");
|
|
1182
|
-
var getBlock = /* @__PURE__ */
|
|
1190
|
+
var getBlock = /* @__PURE__ */ chunkAGHRB4JF.__name((id) => {
|
|
1183
1191
|
return blockDatabase.get(id);
|
|
1184
1192
|
}, "getBlock");
|
|
1185
|
-
var setBlock = /* @__PURE__ */
|
|
1193
|
+
var setBlock = /* @__PURE__ */ chunkAGHRB4JF.__name((block) => {
|
|
1186
1194
|
blockDatabase.set(block.id, block);
|
|
1187
1195
|
}, "setBlock");
|
|
1188
|
-
var getLogger = /* @__PURE__ */
|
|
1189
|
-
var getClasses = /* @__PURE__ */
|
|
1196
|
+
var getLogger = /* @__PURE__ */ chunkAGHRB4JF.__name(() => chunkAGHRB4JF.log, "getLogger");
|
|
1197
|
+
var getClasses = /* @__PURE__ */ chunkAGHRB4JF.__name(function() {
|
|
1190
1198
|
return classes;
|
|
1191
1199
|
}, "getClasses");
|
|
1192
1200
|
var db = {
|
|
1193
|
-
getConfig: /* @__PURE__ */
|
|
1201
|
+
getConfig: /* @__PURE__ */ chunkAGHRB4JF.__name(() => chunkABZYJK2D.getConfig().block, "getConfig"),
|
|
1194
1202
|
typeStr2Type,
|
|
1195
1203
|
edgeTypeStr2Type,
|
|
1196
1204
|
edgeStrToEdgeData,
|
|
@@ -1207,14 +1215,14 @@ var db = {
|
|
|
1207
1215
|
generateId
|
|
1208
1216
|
};
|
|
1209
1217
|
var blockDB_default = db;
|
|
1210
|
-
var fade = /* @__PURE__ */
|
|
1218
|
+
var fade = /* @__PURE__ */ chunkAGHRB4JF.__name((color, opacity) => {
|
|
1211
1219
|
const channel2 = channel;
|
|
1212
1220
|
const r = channel2(color, "r");
|
|
1213
1221
|
const g = channel2(color, "g");
|
|
1214
1222
|
const b = channel2(color, "b");
|
|
1215
1223
|
return rgba(r, g, b, opacity);
|
|
1216
1224
|
}, "fade");
|
|
1217
|
-
var getStyles = /* @__PURE__ */
|
|
1225
|
+
var getStyles = /* @__PURE__ */ chunkAGHRB4JF.__name((options) => `.label {
|
|
1218
1226
|
font-family: ${options.fontFamily};
|
|
1219
1227
|
color: ${options.nodeTextColor || options.textColor};
|
|
1220
1228
|
}
|
|
@@ -1326,50 +1334,50 @@ var getStyles = /* @__PURE__ */ chunk3XYRH5AP.__name((options) => `.label {
|
|
|
1326
1334
|
font-size: 18px;
|
|
1327
1335
|
fill: ${options.textColor};
|
|
1328
1336
|
}
|
|
1329
|
-
${
|
|
1337
|
+
${chunkFMBD7UC4.getIconStyles()}
|
|
1330
1338
|
`, "getStyles");
|
|
1331
1339
|
var styles_default = getStyles;
|
|
1332
1340
|
|
|
1333
1341
|
// src/dagre-wrapper/markers.js
|
|
1334
|
-
var insertMarkers = /* @__PURE__ */
|
|
1342
|
+
var insertMarkers = /* @__PURE__ */ chunkAGHRB4JF.__name((elem, markerArray, type, id) => {
|
|
1335
1343
|
markerArray.forEach((markerName) => {
|
|
1336
1344
|
markers[markerName](elem, type, id);
|
|
1337
1345
|
});
|
|
1338
1346
|
}, "insertMarkers");
|
|
1339
|
-
var extension = /* @__PURE__ */
|
|
1340
|
-
|
|
1347
|
+
var extension = /* @__PURE__ */ chunkAGHRB4JF.__name((elem, type, id) => {
|
|
1348
|
+
chunkAGHRB4JF.log.trace("Making markers for ", id);
|
|
1341
1349
|
elem.append("defs").append("marker").attr("id", id + "_" + type + "-extensionStart").attr("class", "marker extension " + type).attr("refX", 18).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").append("path").attr("d", "M 1,7 L18,13 V 1 Z");
|
|
1342
1350
|
elem.append("defs").append("marker").attr("id", id + "_" + type + "-extensionEnd").attr("class", "marker extension " + type).attr("refX", 1).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").append("path").attr("d", "M 1,1 V 13 L18,7 Z");
|
|
1343
1351
|
}, "extension");
|
|
1344
|
-
var composition = /* @__PURE__ */
|
|
1352
|
+
var composition = /* @__PURE__ */ chunkAGHRB4JF.__name((elem, type, id) => {
|
|
1345
1353
|
elem.append("defs").append("marker").attr("id", id + "_" + type + "-compositionStart").attr("class", "marker composition " + type).attr("refX", 18).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").append("path").attr("d", "M 18,7 L9,13 L1,7 L9,1 Z");
|
|
1346
1354
|
elem.append("defs").append("marker").attr("id", id + "_" + type + "-compositionEnd").attr("class", "marker composition " + type).attr("refX", 1).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").append("path").attr("d", "M 18,7 L9,13 L1,7 L9,1 Z");
|
|
1347
1355
|
}, "composition");
|
|
1348
|
-
var aggregation = /* @__PURE__ */
|
|
1356
|
+
var aggregation = /* @__PURE__ */ chunkAGHRB4JF.__name((elem, type, id) => {
|
|
1349
1357
|
elem.append("defs").append("marker").attr("id", id + "_" + type + "-aggregationStart").attr("class", "marker aggregation " + type).attr("refX", 18).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").append("path").attr("d", "M 18,7 L9,13 L1,7 L9,1 Z");
|
|
1350
1358
|
elem.append("defs").append("marker").attr("id", id + "_" + type + "-aggregationEnd").attr("class", "marker aggregation " + type).attr("refX", 1).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").append("path").attr("d", "M 18,7 L9,13 L1,7 L9,1 Z");
|
|
1351
1359
|
}, "aggregation");
|
|
1352
|
-
var dependency = /* @__PURE__ */
|
|
1360
|
+
var dependency = /* @__PURE__ */ chunkAGHRB4JF.__name((elem, type, id) => {
|
|
1353
1361
|
elem.append("defs").append("marker").attr("id", id + "_" + type + "-dependencyStart").attr("class", "marker dependency " + type).attr("refX", 6).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").append("path").attr("d", "M 5,7 L9,13 L1,7 L9,1 Z");
|
|
1354
1362
|
elem.append("defs").append("marker").attr("id", id + "_" + type + "-dependencyEnd").attr("class", "marker dependency " + type).attr("refX", 13).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");
|
|
1355
1363
|
}, "dependency");
|
|
1356
|
-
var lollipop = /* @__PURE__ */
|
|
1364
|
+
var lollipop = /* @__PURE__ */ chunkAGHRB4JF.__name((elem, type, id) => {
|
|
1357
1365
|
elem.append("defs").append("marker").attr("id", id + "_" + type + "-lollipopStart").attr("class", "marker lollipop " + type).attr("refX", 13).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").append("circle").attr("stroke", "black").attr("fill", "transparent").attr("cx", 7).attr("cy", 7).attr("r", 6);
|
|
1358
1366
|
elem.append("defs").append("marker").attr("id", id + "_" + type + "-lollipopEnd").attr("class", "marker lollipop " + type).attr("refX", 1).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").append("circle").attr("stroke", "black").attr("fill", "transparent").attr("cx", 7).attr("cy", 7).attr("r", 6);
|
|
1359
1367
|
}, "lollipop");
|
|
1360
|
-
var point = /* @__PURE__ */
|
|
1368
|
+
var point = /* @__PURE__ */ chunkAGHRB4JF.__name((elem, type, id) => {
|
|
1361
1369
|
elem.append("marker").attr("id", id + "_" + type + "-pointEnd").attr("class", "marker " + type).attr("viewBox", "0 0 10 10").attr("refX", 6).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 12).attr("markerHeight", 12).attr("orient", "auto").append("path").attr("d", "M 0 0 L 10 5 L 0 10 z").attr("class", "arrowMarkerPath").style("stroke-width", 1).style("stroke-dasharray", "1,0");
|
|
1362
1370
|
elem.append("marker").attr("id", id + "_" + type + "-pointStart").attr("class", "marker " + type).attr("viewBox", "0 0 10 10").attr("refX", 4.5).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 12).attr("markerHeight", 12).attr("orient", "auto").append("path").attr("d", "M 0 5 L 10 10 L 10 0 z").attr("class", "arrowMarkerPath").style("stroke-width", 1).style("stroke-dasharray", "1,0");
|
|
1363
1371
|
}, "point");
|
|
1364
|
-
var circle = /* @__PURE__ */
|
|
1372
|
+
var circle = /* @__PURE__ */ chunkAGHRB4JF.__name((elem, type, id) => {
|
|
1365
1373
|
elem.append("marker").attr("id", id + "_" + type + "-circleEnd").attr("class", "marker " + type).attr("viewBox", "0 0 10 10").attr("refX", 11).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 11).attr("markerHeight", 11).attr("orient", "auto").append("circle").attr("cx", "5").attr("cy", "5").attr("r", "5").attr("class", "arrowMarkerPath").style("stroke-width", 1).style("stroke-dasharray", "1,0");
|
|
1366
1374
|
elem.append("marker").attr("id", id + "_" + type + "-circleStart").attr("class", "marker " + type).attr("viewBox", "0 0 10 10").attr("refX", -1).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 11).attr("markerHeight", 11).attr("orient", "auto").append("circle").attr("cx", "5").attr("cy", "5").attr("r", "5").attr("class", "arrowMarkerPath").style("stroke-width", 1).style("stroke-dasharray", "1,0");
|
|
1367
1375
|
}, "circle");
|
|
1368
|
-
var cross = /* @__PURE__ */
|
|
1376
|
+
var cross = /* @__PURE__ */ chunkAGHRB4JF.__name((elem, type, id) => {
|
|
1369
1377
|
elem.append("marker").attr("id", id + "_" + type + "-crossEnd").attr("class", "marker cross " + type).attr("viewBox", "0 0 11 11").attr("refX", 12).attr("refY", 5.2).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 11).attr("markerHeight", 11).attr("orient", "auto").append("path").attr("d", "M 1,1 l 9,9 M 10,1 l -9,9").attr("class", "arrowMarkerPath").style("stroke-width", 2).style("stroke-dasharray", "1,0");
|
|
1370
1378
|
elem.append("marker").attr("id", id + "_" + type + "-crossStart").attr("class", "marker cross " + type).attr("viewBox", "0 0 11 11").attr("refX", -1).attr("refY", 5.2).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 11).attr("markerHeight", 11).attr("orient", "auto").append("path").attr("d", "M 1,1 l 9,9 M 10,1 l -9,9").attr("class", "arrowMarkerPath").style("stroke-width", 2).style("stroke-dasharray", "1,0");
|
|
1371
1379
|
}, "cross");
|
|
1372
|
-
var barb = /* @__PURE__ */
|
|
1380
|
+
var barb = /* @__PURE__ */ chunkAGHRB4JF.__name((elem, type, id) => {
|
|
1373
1381
|
elem.append("defs").append("marker").attr("id", id + "_" + type + "-barbEnd").attr("refX", 19).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 14).attr("markerUnits", "strokeWidth").attr("orient", "auto").append("path").attr("d", "M 19,7 L9,13 L14,7 L9,1 Z");
|
|
1374
1382
|
}, "barb");
|
|
1375
1383
|
var markers = {
|
|
@@ -1386,7 +1394,7 @@ var markers = {
|
|
|
1386
1394
|
var markers_default = insertMarkers;
|
|
1387
1395
|
|
|
1388
1396
|
// src/diagrams/block/layout.ts
|
|
1389
|
-
var padding =
|
|
1397
|
+
var padding = chunkABZYJK2D.getConfig2()?.block?.padding ?? 8;
|
|
1390
1398
|
function calculateBlockPosition(columns, position) {
|
|
1391
1399
|
if (columns === 0 || !Number.isInteger(columns)) {
|
|
1392
1400
|
throw new Error("Columns must be an integer !== 0.");
|
|
@@ -1404,13 +1412,13 @@ function calculateBlockPosition(columns, position) {
|
|
|
1404
1412
|
const py = Math.floor(position / columns);
|
|
1405
1413
|
return { px, py };
|
|
1406
1414
|
}
|
|
1407
|
-
|
|
1408
|
-
var getMaxChildSize = /* @__PURE__ */
|
|
1415
|
+
chunkAGHRB4JF.__name(calculateBlockPosition, "calculateBlockPosition");
|
|
1416
|
+
var getMaxChildSize = /* @__PURE__ */ chunkAGHRB4JF.__name((block) => {
|
|
1409
1417
|
let maxWidth = 0;
|
|
1410
1418
|
let maxHeight = 0;
|
|
1411
1419
|
for (const child of block.children) {
|
|
1412
1420
|
const { width, height, x, y } = child.size ?? { width: 0, height: 0, x: 0, y: 0 };
|
|
1413
|
-
|
|
1421
|
+
chunkAGHRB4JF.log.debug(
|
|
1414
1422
|
"getMaxChildSize abc95 child:",
|
|
1415
1423
|
child.id,
|
|
1416
1424
|
"width:",
|
|
@@ -1436,7 +1444,7 @@ var getMaxChildSize = /* @__PURE__ */ chunk3XYRH5AP.__name((block) => {
|
|
|
1436
1444
|
return { width: maxWidth, height: maxHeight };
|
|
1437
1445
|
}, "getMaxChildSize");
|
|
1438
1446
|
function setBlockSizes(block, db2, siblingWidth = 0, siblingHeight = 0) {
|
|
1439
|
-
|
|
1447
|
+
chunkAGHRB4JF.log.debug(
|
|
1440
1448
|
"setBlockSizes abc95 (start)",
|
|
1441
1449
|
block.id,
|
|
1442
1450
|
block?.size?.x,
|
|
@@ -1462,17 +1470,17 @@ function setBlockSizes(block, db2, siblingWidth = 0, siblingHeight = 0) {
|
|
|
1462
1470
|
const childSize = getMaxChildSize(block);
|
|
1463
1471
|
maxWidth = childSize.width;
|
|
1464
1472
|
maxHeight = childSize.height;
|
|
1465
|
-
|
|
1473
|
+
chunkAGHRB4JF.log.debug("setBlockSizes abc95 maxWidth of", block.id, ":s children is ", maxWidth, maxHeight);
|
|
1466
1474
|
for (const child of block.children) {
|
|
1467
1475
|
if (child.size) {
|
|
1468
|
-
|
|
1476
|
+
chunkAGHRB4JF.log.debug(
|
|
1469
1477
|
`abc95 Setting size of children of ${block.id} id=${child.id} ${maxWidth} ${maxHeight} ${JSON.stringify(child.size)}`
|
|
1470
1478
|
);
|
|
1471
1479
|
child.size.width = maxWidth * (child.widthInColumns ?? 1) + padding * ((child.widthInColumns ?? 1) - 1);
|
|
1472
1480
|
child.size.height = maxHeight;
|
|
1473
1481
|
child.size.x = 0;
|
|
1474
1482
|
child.size.y = 0;
|
|
1475
|
-
|
|
1483
|
+
chunkAGHRB4JF.log.debug(
|
|
1476
1484
|
`abc95 updating size of ${block.id} children child:${child.id} maxWidth:${maxWidth} maxHeight:${maxHeight}`
|
|
1477
1485
|
);
|
|
1478
1486
|
}
|
|
@@ -1493,16 +1501,16 @@ function setBlockSizes(block, db2, siblingWidth = 0, siblingHeight = 0) {
|
|
|
1493
1501
|
let width = xSize * (maxWidth + padding) + padding;
|
|
1494
1502
|
let height = ySize * (maxHeight + padding) + padding;
|
|
1495
1503
|
if (width < siblingWidth) {
|
|
1496
|
-
|
|
1504
|
+
chunkAGHRB4JF.log.debug(
|
|
1497
1505
|
`Detected to small sibling: abc95 ${block.id} siblingWidth ${siblingWidth} siblingHeight ${siblingHeight} width ${width}`
|
|
1498
1506
|
);
|
|
1499
1507
|
width = siblingWidth;
|
|
1500
1508
|
height = siblingHeight;
|
|
1501
1509
|
const childWidth = (siblingWidth - xSize * padding - padding) / xSize;
|
|
1502
1510
|
const childHeight = (siblingHeight - ySize * padding - padding) / ySize;
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1511
|
+
chunkAGHRB4JF.log.debug("Size indata abc88", block.id, "childWidth", childWidth, "maxWidth", maxWidth);
|
|
1512
|
+
chunkAGHRB4JF.log.debug("Size indata abc88", block.id, "childHeight", childHeight, "maxHeight", maxHeight);
|
|
1513
|
+
chunkAGHRB4JF.log.debug("Size indata abc88 xSize", xSize, "padding", padding);
|
|
1506
1514
|
for (const child of block.children) {
|
|
1507
1515
|
if (child.size) {
|
|
1508
1516
|
child.size.width = childWidth;
|
|
@@ -1512,7 +1520,7 @@ function setBlockSizes(block, db2, siblingWidth = 0, siblingHeight = 0) {
|
|
|
1512
1520
|
}
|
|
1513
1521
|
}
|
|
1514
1522
|
}
|
|
1515
|
-
|
|
1523
|
+
chunkAGHRB4JF.log.debug(
|
|
1516
1524
|
`abc95 (finale calc) ${block.id} xSize ${xSize} ySize ${ySize} columns ${columns}${block.children.length} width=${Math.max(width, block.size?.width || 0)}`
|
|
1517
1525
|
);
|
|
1518
1526
|
if (width < (block?.size?.width || 0)) {
|
|
@@ -1520,7 +1528,7 @@ function setBlockSizes(block, db2, siblingWidth = 0, siblingHeight = 0) {
|
|
|
1520
1528
|
const num = columns > 0 ? Math.min(block.children.length, columns) : block.children.length;
|
|
1521
1529
|
if (num > 0) {
|
|
1522
1530
|
const childWidth = (width - num * padding - padding) / num;
|
|
1523
|
-
|
|
1531
|
+
chunkAGHRB4JF.log.debug("abc95 (growing to fit) width", block.id, width, block.size?.width, childWidth);
|
|
1524
1532
|
for (const child of block.children) {
|
|
1525
1533
|
if (child.size) {
|
|
1526
1534
|
child.size.width = childWidth;
|
|
@@ -1535,7 +1543,7 @@ function setBlockSizes(block, db2, siblingWidth = 0, siblingHeight = 0) {
|
|
|
1535
1543
|
y: 0
|
|
1536
1544
|
};
|
|
1537
1545
|
}
|
|
1538
|
-
|
|
1546
|
+
chunkAGHRB4JF.log.debug(
|
|
1539
1547
|
"setBlockSizes abc94 (done)",
|
|
1540
1548
|
block.id,
|
|
1541
1549
|
block?.size?.x,
|
|
@@ -1544,20 +1552,20 @@ function setBlockSizes(block, db2, siblingWidth = 0, siblingHeight = 0) {
|
|
|
1544
1552
|
block?.size?.height
|
|
1545
1553
|
);
|
|
1546
1554
|
}
|
|
1547
|
-
|
|
1555
|
+
chunkAGHRB4JF.__name(setBlockSizes, "setBlockSizes");
|
|
1548
1556
|
function layoutBlocks(block, db2) {
|
|
1549
|
-
|
|
1557
|
+
chunkAGHRB4JF.log.debug(
|
|
1550
1558
|
`abc85 layout blocks (=>layoutBlocks) ${block.id} x: ${block?.size?.x} y: ${block?.size?.y} width: ${block?.size?.width}`
|
|
1551
1559
|
);
|
|
1552
1560
|
const columns = block.columns ?? -1;
|
|
1553
|
-
|
|
1561
|
+
chunkAGHRB4JF.log.debug("layoutBlocks columns abc95", block.id, "=>", columns, block);
|
|
1554
1562
|
if (block.children && // find max width of children
|
|
1555
1563
|
block.children.length > 0) {
|
|
1556
1564
|
const width = block?.children[0]?.size?.width ?? 0;
|
|
1557
1565
|
const widthOfChildren = block.children.length * width + (block.children.length - 1) * padding;
|
|
1558
|
-
|
|
1566
|
+
chunkAGHRB4JF.log.debug("widthOfChildren 88", widthOfChildren, "posX");
|
|
1559
1567
|
let columnPos = 0;
|
|
1560
|
-
|
|
1568
|
+
chunkAGHRB4JF.log.debug("abc91 block?.size?.x", block.id, block?.size?.x);
|
|
1561
1569
|
let startingPosX = block?.size?.x ? block?.size?.x + (-block?.size?.width / 2 || 0) : -padding;
|
|
1562
1570
|
let rowPos = 0;
|
|
1563
1571
|
for (const child of block.children) {
|
|
@@ -1570,35 +1578,39 @@ function layoutBlocks(block, db2) {
|
|
|
1570
1578
|
if (py != rowPos) {
|
|
1571
1579
|
rowPos = py;
|
|
1572
1580
|
startingPosX = block?.size?.x ? block?.size?.x + (-block?.size?.width / 2 || 0) : -padding;
|
|
1573
|
-
|
|
1581
|
+
chunkAGHRB4JF.log.debug("New row in layout for block", block.id, " and child ", child.id, rowPos);
|
|
1574
1582
|
}
|
|
1575
|
-
|
|
1583
|
+
chunkAGHRB4JF.log.debug(
|
|
1576
1584
|
`abc89 layout blocks (child) id: ${child.id} Pos: ${columnPos} (px, py) ${px},${py} (${parent?.size?.x},${parent?.size?.y}) parent: ${parent.id} width: ${width2}${padding}`
|
|
1577
1585
|
);
|
|
1578
1586
|
if (parent.size) {
|
|
1579
1587
|
const halfWidth = width2 / 2;
|
|
1580
1588
|
child.size.x = startingPosX + padding + halfWidth;
|
|
1581
|
-
|
|
1589
|
+
chunkAGHRB4JF.log.debug(
|
|
1582
1590
|
`abc91 layout blocks (calc) px, pyid:${child.id} startingPos=X${startingPosX} new startingPosX${child.size.x} ${halfWidth} padding=${padding} width=${width2} halfWidth=${halfWidth} => x:${child.size.x} y:${child.size.y} ${child.widthInColumns} (width * (child?.w || 1)) / 2 ${width2 * (child?.widthInColumns ?? 1) / 2}`
|
|
1583
1591
|
);
|
|
1584
1592
|
startingPosX = child.size.x + halfWidth;
|
|
1585
1593
|
child.size.y = parent.size.y - parent.size.height / 2 + py * (height + padding) + height / 2 + padding;
|
|
1586
|
-
|
|
1594
|
+
chunkAGHRB4JF.log.debug(
|
|
1587
1595
|
`abc88 layout blocks (calc) px, pyid:${child.id}startingPosX${startingPosX}${padding}${halfWidth}=>x:${child.size.x}y:${child.size.y}${child.widthInColumns}(width * (child?.w || 1)) / 2${width2 * (child?.widthInColumns ?? 1) / 2}`
|
|
1588
1596
|
);
|
|
1589
1597
|
}
|
|
1590
1598
|
if (child.children) {
|
|
1591
1599
|
layoutBlocks(child);
|
|
1592
1600
|
}
|
|
1593
|
-
|
|
1594
|
-
|
|
1601
|
+
let columnsFilled = child?.widthInColumns ?? 1;
|
|
1602
|
+
if (columns > 0) {
|
|
1603
|
+
columnsFilled = Math.min(columnsFilled, columns - columnPos % columns);
|
|
1604
|
+
}
|
|
1605
|
+
columnPos += columnsFilled;
|
|
1606
|
+
chunkAGHRB4JF.log.debug("abc88 columnsPos", child, columnPos);
|
|
1595
1607
|
}
|
|
1596
1608
|
}
|
|
1597
|
-
|
|
1609
|
+
chunkAGHRB4JF.log.debug(
|
|
1598
1610
|
`layout blocks (<==layoutBlocks) ${block.id} x: ${block?.size?.x} y: ${block?.size?.y} width: ${block?.size?.width}`
|
|
1599
1611
|
);
|
|
1600
1612
|
}
|
|
1601
|
-
|
|
1613
|
+
chunkAGHRB4JF.__name(layoutBlocks, "layoutBlocks");
|
|
1602
1614
|
function findBounds(block, { minX, minY, maxX, maxY } = { minX: 0, minY: 0, maxX: 0, maxY: 0 }) {
|
|
1603
1615
|
if (block.size && block.id !== "root") {
|
|
1604
1616
|
const { x, y, width, height } = block.size;
|
|
@@ -1622,7 +1634,7 @@ function findBounds(block, { minX, minY, maxX, maxY } = { minX: 0, minY: 0, maxX
|
|
|
1622
1634
|
}
|
|
1623
1635
|
return { minX, minY, maxX, maxY };
|
|
1624
1636
|
}
|
|
1625
|
-
|
|
1637
|
+
chunkAGHRB4JF.__name(findBounds, "findBounds");
|
|
1626
1638
|
function layout(db2) {
|
|
1627
1639
|
const root = db2.getBlock("root");
|
|
1628
1640
|
if (!root) {
|
|
@@ -1630,26 +1642,26 @@ function layout(db2) {
|
|
|
1630
1642
|
}
|
|
1631
1643
|
setBlockSizes(root, db2, 0, 0);
|
|
1632
1644
|
layoutBlocks(root);
|
|
1633
|
-
|
|
1645
|
+
chunkAGHRB4JF.log.debug("getBlocks", JSON.stringify(root, null, 2));
|
|
1634
1646
|
const { minX, minY, maxX, maxY } = findBounds(root);
|
|
1635
1647
|
const height = maxY - minY;
|
|
1636
1648
|
const width = maxX - minX;
|
|
1637
1649
|
return { x: minX, y: minY, width, height };
|
|
1638
1650
|
}
|
|
1639
|
-
|
|
1651
|
+
chunkAGHRB4JF.__name(layout, "layout");
|
|
1640
1652
|
function applyStyle(dom, styleFn) {
|
|
1641
1653
|
if (styleFn) {
|
|
1642
1654
|
dom.attr("style", styleFn);
|
|
1643
1655
|
}
|
|
1644
1656
|
}
|
|
1645
|
-
|
|
1646
|
-
function addHtmlLabel(node) {
|
|
1657
|
+
chunkAGHRB4JF.__name(applyStyle, "applyStyle");
|
|
1658
|
+
function addHtmlLabel(node, config2) {
|
|
1647
1659
|
const fo = select(document.createElementNS("http://www.w3.org/2000/svg", "foreignObject"));
|
|
1648
1660
|
const div = fo.append("xhtml:div");
|
|
1649
1661
|
const label = node.label;
|
|
1650
1662
|
const labelClass = node.isNode ? "nodeLabel" : "edgeLabel";
|
|
1651
1663
|
const span = div.append("span");
|
|
1652
|
-
span.html(label);
|
|
1664
|
+
span.html(chunkABZYJK2D.sanitizeText(label, config2));
|
|
1653
1665
|
applyStyle(span, node.labelStyle);
|
|
1654
1666
|
span.attr("class", labelClass);
|
|
1655
1667
|
applyStyle(div, node.labelStyle);
|
|
@@ -1658,22 +1670,23 @@ function addHtmlLabel(node) {
|
|
|
1658
1670
|
div.attr("xmlns", "http://www.w3.org/1999/xhtml");
|
|
1659
1671
|
return fo.node();
|
|
1660
1672
|
}
|
|
1661
|
-
|
|
1662
|
-
var createLabel = /* @__PURE__ */
|
|
1673
|
+
chunkAGHRB4JF.__name(addHtmlLabel, "addHtmlLabel");
|
|
1674
|
+
var createLabel = /* @__PURE__ */ chunkAGHRB4JF.__name(async (_vertexText, style, isTitle, isNode) => {
|
|
1663
1675
|
let vertexText = _vertexText || "";
|
|
1664
1676
|
if (typeof vertexText === "object") {
|
|
1665
1677
|
vertexText = vertexText[0];
|
|
1666
1678
|
}
|
|
1667
|
-
|
|
1679
|
+
const config2 = chunkABZYJK2D.getConfig2();
|
|
1680
|
+
if (chunkABZYJK2D.evaluate(config2.flowchart.htmlLabels)) {
|
|
1668
1681
|
vertexText = vertexText.replace(/\\n|\n/g, "<br />");
|
|
1669
|
-
|
|
1670
|
-
const label = await
|
|
1682
|
+
chunkAGHRB4JF.log.debug("vertexText" + vertexText);
|
|
1683
|
+
const label = await chunkJA3XYJ7Z.replaceIconSubstring(chunkS3R3BYOJ.decodeEntities(vertexText));
|
|
1671
1684
|
const node = {
|
|
1672
1685
|
isNode,
|
|
1673
1686
|
label,
|
|
1674
1687
|
labelStyle: style.replace("fill:", "color:")
|
|
1675
1688
|
};
|
|
1676
|
-
let vertexNode = addHtmlLabel(node);
|
|
1689
|
+
let vertexNode = addHtmlLabel(node, config2);
|
|
1677
1690
|
return vertexNode;
|
|
1678
1691
|
} else {
|
|
1679
1692
|
const svgLabel = document.createElementNS("http://www.w3.org/2000/svg", "text");
|
|
@@ -1705,7 +1718,7 @@ var createLabel = /* @__PURE__ */ chunk3XYRH5AP.__name(async (_vertexText, style
|
|
|
1705
1718
|
var createLabel_default = createLabel;
|
|
1706
1719
|
|
|
1707
1720
|
// src/dagre-wrapper/edgeMarker.ts
|
|
1708
|
-
var addEdgeMarkers = /* @__PURE__ */
|
|
1721
|
+
var addEdgeMarkers = /* @__PURE__ */ chunkAGHRB4JF.__name((svgPath, edge, url, id, diagramType) => {
|
|
1709
1722
|
if (edge.arrowTypeStart) {
|
|
1710
1723
|
addEdgeMarker(svgPath, "start", edge.arrowTypeStart, url, id, diagramType);
|
|
1711
1724
|
}
|
|
@@ -1724,10 +1737,10 @@ var arrowTypesMap = {
|
|
|
1724
1737
|
dependency: "dependency",
|
|
1725
1738
|
lollipop: "lollipop"
|
|
1726
1739
|
};
|
|
1727
|
-
var addEdgeMarker = /* @__PURE__ */
|
|
1740
|
+
var addEdgeMarker = /* @__PURE__ */ chunkAGHRB4JF.__name((svgPath, position, arrowType, url, id, diagramType) => {
|
|
1728
1741
|
const endMarkerType = arrowTypesMap[arrowType];
|
|
1729
1742
|
if (!endMarkerType) {
|
|
1730
|
-
|
|
1743
|
+
chunkAGHRB4JF.log.warn(`Unknown arrow type: ${arrowType}`);
|
|
1731
1744
|
return;
|
|
1732
1745
|
}
|
|
1733
1746
|
const suffix = position === "start" ? "Start" : "End";
|
|
@@ -1737,10 +1750,10 @@ var addEdgeMarker = /* @__PURE__ */ chunk3XYRH5AP.__name((svgPath, position, arr
|
|
|
1737
1750
|
// src/dagre-wrapper/edges.js
|
|
1738
1751
|
var edgeLabels = {};
|
|
1739
1752
|
var terminalLabels = {};
|
|
1740
|
-
var insertEdgeLabel = /* @__PURE__ */
|
|
1741
|
-
const config2 =
|
|
1742
|
-
const useHtmlLabels =
|
|
1743
|
-
const labelElement = edge.labelType === "markdown" ?
|
|
1753
|
+
var insertEdgeLabel = /* @__PURE__ */ chunkAGHRB4JF.__name(async (elem, edge) => {
|
|
1754
|
+
const config2 = chunkABZYJK2D.getConfig2();
|
|
1755
|
+
const useHtmlLabels = chunkABZYJK2D.evaluate(config2.flowchart.htmlLabels);
|
|
1756
|
+
const labelElement = edge.labelType === "markdown" ? chunkJA3XYJ7Z.createText(
|
|
1744
1757
|
elem,
|
|
1745
1758
|
edge.label,
|
|
1746
1759
|
{
|
|
@@ -1824,24 +1837,24 @@ var insertEdgeLabel = /* @__PURE__ */ chunk3XYRH5AP.__name(async (elem, edge) =>
|
|
|
1824
1837
|
return labelElement;
|
|
1825
1838
|
}, "insertEdgeLabel");
|
|
1826
1839
|
function setTerminalWidth(fo, value) {
|
|
1827
|
-
if (
|
|
1840
|
+
if (chunkABZYJK2D.getConfig2().flowchart.htmlLabels && fo) {
|
|
1828
1841
|
fo.style.width = value.length * 9 + "px";
|
|
1829
1842
|
fo.style.height = "12px";
|
|
1830
1843
|
}
|
|
1831
1844
|
}
|
|
1832
|
-
|
|
1833
|
-
var positionEdgeLabel = /* @__PURE__ */
|
|
1834
|
-
|
|
1845
|
+
chunkAGHRB4JF.__name(setTerminalWidth, "setTerminalWidth");
|
|
1846
|
+
var positionEdgeLabel = /* @__PURE__ */ chunkAGHRB4JF.__name((edge, paths) => {
|
|
1847
|
+
chunkAGHRB4JF.log.debug("Moving label abc88 ", edge.id, edge.label, edgeLabels[edge.id], paths);
|
|
1835
1848
|
let path = paths.updatedPath ? paths.updatedPath : paths.originalPath;
|
|
1836
|
-
const siteConfig =
|
|
1837
|
-
const { subGraphTitleTotalMargin } =
|
|
1849
|
+
const siteConfig = chunkABZYJK2D.getConfig2();
|
|
1850
|
+
const { subGraphTitleTotalMargin } = chunkCVBHYZKI.getSubGraphTitleMargins(siteConfig);
|
|
1838
1851
|
if (edge.label) {
|
|
1839
1852
|
const el = edgeLabels[edge.id];
|
|
1840
1853
|
let x = edge.x;
|
|
1841
1854
|
let y = edge.y;
|
|
1842
1855
|
if (path) {
|
|
1843
|
-
const pos =
|
|
1844
|
-
|
|
1856
|
+
const pos = chunkS3R3BYOJ.utils_default.calcLabelPosition(path);
|
|
1857
|
+
chunkAGHRB4JF.log.debug(
|
|
1845
1858
|
"Moving label " + edge.label + " from (",
|
|
1846
1859
|
x,
|
|
1847
1860
|
",",
|
|
@@ -1864,7 +1877,7 @@ var positionEdgeLabel = /* @__PURE__ */ chunk3XYRH5AP.__name((edge, paths) => {
|
|
|
1864
1877
|
let x = edge.x;
|
|
1865
1878
|
let y = edge.y;
|
|
1866
1879
|
if (path) {
|
|
1867
|
-
const pos =
|
|
1880
|
+
const pos = chunkS3R3BYOJ.utils_default.calcTerminalLabelPosition(edge.arrowTypeStart ? 10 : 0, "start_left", path);
|
|
1868
1881
|
x = pos.x;
|
|
1869
1882
|
y = pos.y;
|
|
1870
1883
|
}
|
|
@@ -1875,7 +1888,7 @@ var positionEdgeLabel = /* @__PURE__ */ chunk3XYRH5AP.__name((edge, paths) => {
|
|
|
1875
1888
|
let x = edge.x;
|
|
1876
1889
|
let y = edge.y;
|
|
1877
1890
|
if (path) {
|
|
1878
|
-
const pos =
|
|
1891
|
+
const pos = chunkS3R3BYOJ.utils_default.calcTerminalLabelPosition(
|
|
1879
1892
|
edge.arrowTypeStart ? 10 : 0,
|
|
1880
1893
|
"start_right",
|
|
1881
1894
|
path
|
|
@@ -1890,7 +1903,7 @@ var positionEdgeLabel = /* @__PURE__ */ chunk3XYRH5AP.__name((edge, paths) => {
|
|
|
1890
1903
|
let x = edge.x;
|
|
1891
1904
|
let y = edge.y;
|
|
1892
1905
|
if (path) {
|
|
1893
|
-
const pos =
|
|
1906
|
+
const pos = chunkS3R3BYOJ.utils_default.calcTerminalLabelPosition(edge.arrowTypeEnd ? 10 : 0, "end_left", path);
|
|
1894
1907
|
x = pos.x;
|
|
1895
1908
|
y = pos.y;
|
|
1896
1909
|
}
|
|
@@ -1901,14 +1914,14 @@ var positionEdgeLabel = /* @__PURE__ */ chunk3XYRH5AP.__name((edge, paths) => {
|
|
|
1901
1914
|
let x = edge.x;
|
|
1902
1915
|
let y = edge.y;
|
|
1903
1916
|
if (path) {
|
|
1904
|
-
const pos =
|
|
1917
|
+
const pos = chunkS3R3BYOJ.utils_default.calcTerminalLabelPosition(edge.arrowTypeEnd ? 10 : 0, "end_right", path);
|
|
1905
1918
|
x = pos.x;
|
|
1906
1919
|
y = pos.y;
|
|
1907
1920
|
}
|
|
1908
1921
|
el.attr("transform", `translate(${x}, ${y})`);
|
|
1909
1922
|
}
|
|
1910
1923
|
}, "positionEdgeLabel");
|
|
1911
|
-
var outsideNode = /* @__PURE__ */
|
|
1924
|
+
var outsideNode = /* @__PURE__ */ chunkAGHRB4JF.__name((node, point2) => {
|
|
1912
1925
|
const x = node.x;
|
|
1913
1926
|
const y = node.y;
|
|
1914
1927
|
const dx = Math.abs(point2.x - x);
|
|
@@ -1920,8 +1933,8 @@ var outsideNode = /* @__PURE__ */ chunk3XYRH5AP.__name((node, point2) => {
|
|
|
1920
1933
|
}
|
|
1921
1934
|
return false;
|
|
1922
1935
|
}, "outsideNode");
|
|
1923
|
-
var intersection = /* @__PURE__ */
|
|
1924
|
-
|
|
1936
|
+
var intersection = /* @__PURE__ */ chunkAGHRB4JF.__name((node, outsidePoint, insidePoint) => {
|
|
1937
|
+
chunkAGHRB4JF.log.debug(`intersection calc abc89:
|
|
1925
1938
|
outsidePoint: ${JSON.stringify(outsidePoint)}
|
|
1926
1939
|
insidePoint : ${JSON.stringify(insidePoint)}
|
|
1927
1940
|
node : x:${node.x} y:${node.y} w:${node.width} h:${node.height}`);
|
|
@@ -1950,7 +1963,7 @@ var intersection = /* @__PURE__ */ chunk3XYRH5AP.__name((node, outsidePoint, ins
|
|
|
1950
1963
|
if (Q === 0) {
|
|
1951
1964
|
res.y = outsidePoint.y;
|
|
1952
1965
|
}
|
|
1953
|
-
|
|
1966
|
+
chunkAGHRB4JF.log.debug(`abc89 topp/bott calc, Q ${Q}, q ${q}, R ${R}, r ${r}`, res);
|
|
1954
1967
|
return res;
|
|
1955
1968
|
} else {
|
|
1956
1969
|
if (insidePoint.x < outsidePoint.x) {
|
|
@@ -1961,7 +1974,7 @@ var intersection = /* @__PURE__ */ chunk3XYRH5AP.__name((node, outsidePoint, ins
|
|
|
1961
1974
|
let q = Q * r / R;
|
|
1962
1975
|
let _x = insidePoint.x < outsidePoint.x ? insidePoint.x + R - r : insidePoint.x - R + r;
|
|
1963
1976
|
let _y = insidePoint.y < outsidePoint.y ? insidePoint.y + q : insidePoint.y - q;
|
|
1964
|
-
|
|
1977
|
+
chunkAGHRB4JF.log.debug(`sides calc abc89, Q ${Q}, q ${q}, R ${R}, r ${r}`, { _x, _y });
|
|
1965
1978
|
if (r === 0) {
|
|
1966
1979
|
_x = outsidePoint.x;
|
|
1967
1980
|
_y = outsidePoint.y;
|
|
@@ -1975,8 +1988,8 @@ var intersection = /* @__PURE__ */ chunk3XYRH5AP.__name((node, outsidePoint, ins
|
|
|
1975
1988
|
return { x: _x, y: _y };
|
|
1976
1989
|
}
|
|
1977
1990
|
}, "intersection");
|
|
1978
|
-
var cutPathAtIntersect = /* @__PURE__ */
|
|
1979
|
-
|
|
1991
|
+
var cutPathAtIntersect = /* @__PURE__ */ chunkAGHRB4JF.__name((_points, boundaryNode) => {
|
|
1992
|
+
chunkAGHRB4JF.log.debug("abc88 cutPathAtIntersect", _points, boundaryNode);
|
|
1980
1993
|
let points = [];
|
|
1981
1994
|
let lastPointOutside = _points[0];
|
|
1982
1995
|
let isInside = false;
|
|
@@ -2000,9 +2013,9 @@ var cutPathAtIntersect = /* @__PURE__ */ chunk3XYRH5AP.__name((_points, boundary
|
|
|
2000
2013
|
});
|
|
2001
2014
|
return points;
|
|
2002
2015
|
}, "cutPathAtIntersect");
|
|
2003
|
-
var insertEdge = /* @__PURE__ */
|
|
2016
|
+
var insertEdge = /* @__PURE__ */ chunkAGHRB4JF.__name(function(elem, e, edge, clusterDb, diagramType, graph, id) {
|
|
2004
2017
|
let points = edge.points;
|
|
2005
|
-
|
|
2018
|
+
chunkAGHRB4JF.log.debug("abc88 InsertEdge: edge=", edge, "e=", e);
|
|
2006
2019
|
let pointsHasChanged = false;
|
|
2007
2020
|
const tail = graph.node(e.v);
|
|
2008
2021
|
var head = graph.node(e.w);
|
|
@@ -2012,12 +2025,12 @@ var insertEdge = /* @__PURE__ */ chunk3XYRH5AP.__name(function(elem, e, edge, cl
|
|
|
2012
2025
|
points.push(head.intersect(points[points.length - 1]));
|
|
2013
2026
|
}
|
|
2014
2027
|
if (edge.toCluster) {
|
|
2015
|
-
|
|
2028
|
+
chunkAGHRB4JF.log.debug("to cluster abc88", clusterDb[edge.toCluster]);
|
|
2016
2029
|
points = cutPathAtIntersect(edge.points, clusterDb[edge.toCluster].node);
|
|
2017
2030
|
pointsHasChanged = true;
|
|
2018
2031
|
}
|
|
2019
2032
|
if (edge.fromCluster) {
|
|
2020
|
-
|
|
2033
|
+
chunkAGHRB4JF.log.debug("from cluster abc88", clusterDb[edge.fromCluster]);
|
|
2021
2034
|
points = cutPathAtIntersect(points.reverse(), clusterDb[edge.fromCluster].node).reverse();
|
|
2022
2035
|
pointsHasChanged = true;
|
|
2023
2036
|
}
|
|
@@ -2026,7 +2039,7 @@ var insertEdge = /* @__PURE__ */ chunk3XYRH5AP.__name(function(elem, e, edge, cl
|
|
|
2026
2039
|
if (edge.curve && (diagramType === "graph" || diagramType === "flowchart")) {
|
|
2027
2040
|
curve = edge.curve;
|
|
2028
2041
|
}
|
|
2029
|
-
const { x, y } =
|
|
2042
|
+
const { x, y } = chunkHN2XXSSU.getLineFunctionsWithOffset(edge);
|
|
2030
2043
|
const lineFunction = line().x(x).y(y).curve(curve);
|
|
2031
2044
|
let strokeClasses;
|
|
2032
2045
|
switch (edge.thickness) {
|
|
@@ -2055,8 +2068,8 @@ var insertEdge = /* @__PURE__ */ chunk3XYRH5AP.__name(function(elem, e, edge, cl
|
|
|
2055
2068
|
}
|
|
2056
2069
|
const svgPath = elem.append("path").attr("d", lineFunction(lineData)).attr("id", edge.id).attr("class", " " + strokeClasses + (edge.classes ? " " + edge.classes : "")).attr("style", edge.style);
|
|
2057
2070
|
let url = "";
|
|
2058
|
-
if (
|
|
2059
|
-
url =
|
|
2071
|
+
if (chunkABZYJK2D.getConfig2().flowchart.arrowMarkerAbsolute || chunkABZYJK2D.getConfig2().state.arrowMarkerAbsolute) {
|
|
2072
|
+
url = chunkABZYJK2D.getUrl(true);
|
|
2060
2073
|
}
|
|
2061
2074
|
addEdgeMarkers(svgPath, edge, url, id, diagramType);
|
|
2062
2075
|
let paths = {};
|
|
@@ -2068,7 +2081,7 @@ var insertEdge = /* @__PURE__ */ chunk3XYRH5AP.__name(function(elem, e, edge, cl
|
|
|
2068
2081
|
}, "insertEdge");
|
|
2069
2082
|
|
|
2070
2083
|
// src/dagre-wrapper/blockArrowHelper.ts
|
|
2071
|
-
var expandAndDeduplicateDirections = /* @__PURE__ */
|
|
2084
|
+
var expandAndDeduplicateDirections = /* @__PURE__ */ chunkAGHRB4JF.__name((directions) => {
|
|
2072
2085
|
const uniqueDirections = /* @__PURE__ */ new Set();
|
|
2073
2086
|
for (const direction of directions) {
|
|
2074
2087
|
switch (direction) {
|
|
@@ -2087,7 +2100,7 @@ var expandAndDeduplicateDirections = /* @__PURE__ */ chunk3XYRH5AP.__name((direc
|
|
|
2087
2100
|
}
|
|
2088
2101
|
return uniqueDirections;
|
|
2089
2102
|
}, "expandAndDeduplicateDirections");
|
|
2090
|
-
var getArrowPoints = /* @__PURE__ */
|
|
2103
|
+
var getArrowPoints = /* @__PURE__ */ chunkAGHRB4JF.__name((duplicatedDirections, bbox, node) => {
|
|
2091
2104
|
const directions = expandAndDeduplicateDirections(duplicatedDirections);
|
|
2092
2105
|
const f = 2;
|
|
2093
2106
|
const height = bbox.height + 2 * node.padding;
|
|
@@ -2275,7 +2288,7 @@ var getArrowPoints = /* @__PURE__ */ chunk3XYRH5AP.__name((duplicatedDirections,
|
|
|
2275
2288
|
function intersectNode(node, point2) {
|
|
2276
2289
|
return node.intersect(point2);
|
|
2277
2290
|
}
|
|
2278
|
-
|
|
2291
|
+
chunkAGHRB4JF.__name(intersectNode, "intersectNode");
|
|
2279
2292
|
var intersect_node_default = intersectNode;
|
|
2280
2293
|
|
|
2281
2294
|
// src/dagre-wrapper/intersect/intersect-ellipse.js
|
|
@@ -2295,14 +2308,14 @@ function intersectEllipse(node, rx, ry, point2) {
|
|
|
2295
2308
|
}
|
|
2296
2309
|
return { x: cx + dx, y: cy + dy };
|
|
2297
2310
|
}
|
|
2298
|
-
|
|
2311
|
+
chunkAGHRB4JF.__name(intersectEllipse, "intersectEllipse");
|
|
2299
2312
|
var intersect_ellipse_default = intersectEllipse;
|
|
2300
2313
|
|
|
2301
2314
|
// src/dagre-wrapper/intersect/intersect-circle.js
|
|
2302
2315
|
function intersectCircle(node, rx, point2) {
|
|
2303
2316
|
return intersect_ellipse_default(node, rx, rx, point2);
|
|
2304
2317
|
}
|
|
2305
|
-
|
|
2318
|
+
chunkAGHRB4JF.__name(intersectCircle, "intersectCircle");
|
|
2306
2319
|
var intersect_circle_default = intersectCircle;
|
|
2307
2320
|
|
|
2308
2321
|
// src/dagre-wrapper/intersect/intersect-line.js
|
|
@@ -2338,11 +2351,11 @@ function intersectLine(p1, p2, q1, q2) {
|
|
|
2338
2351
|
y = num < 0 ? (num - offset) / denom : (num + offset) / denom;
|
|
2339
2352
|
return { x, y };
|
|
2340
2353
|
}
|
|
2341
|
-
|
|
2354
|
+
chunkAGHRB4JF.__name(intersectLine, "intersectLine");
|
|
2342
2355
|
function sameSign(r1, r2) {
|
|
2343
2356
|
return r1 * r2 > 0;
|
|
2344
2357
|
}
|
|
2345
|
-
|
|
2358
|
+
chunkAGHRB4JF.__name(sameSign, "sameSign");
|
|
2346
2359
|
var intersect_line_default = intersectLine;
|
|
2347
2360
|
|
|
2348
2361
|
// src/dagre-wrapper/intersect/intersect-polygon.js
|
|
@@ -2393,10 +2406,10 @@ function intersectPolygon(node, polyPoints, point2) {
|
|
|
2393
2406
|
}
|
|
2394
2407
|
return intersections[0];
|
|
2395
2408
|
}
|
|
2396
|
-
|
|
2409
|
+
chunkAGHRB4JF.__name(intersectPolygon, "intersectPolygon");
|
|
2397
2410
|
|
|
2398
2411
|
// src/dagre-wrapper/intersect/intersect-rect.js
|
|
2399
|
-
var intersectRect = /* @__PURE__ */
|
|
2412
|
+
var intersectRect = /* @__PURE__ */ chunkAGHRB4JF.__name((node, point2) => {
|
|
2400
2413
|
var x = node.x;
|
|
2401
2414
|
var y = node.y;
|
|
2402
2415
|
var dx = point2.x - x;
|
|
@@ -2429,10 +2442,10 @@ var intersect_default = {
|
|
|
2429
2442
|
polygon: intersect_polygon_default,
|
|
2430
2443
|
rect: intersect_rect_default
|
|
2431
2444
|
};
|
|
2432
|
-
var labelHelper = /* @__PURE__ */
|
|
2433
|
-
const config2 =
|
|
2445
|
+
var labelHelper = /* @__PURE__ */ chunkAGHRB4JF.__name(async (parent, node, _classes, isNode) => {
|
|
2446
|
+
const config2 = chunkABZYJK2D.getConfig2();
|
|
2434
2447
|
let classes2;
|
|
2435
|
-
const useHtmlLabels = node.useHtmlLabels ||
|
|
2448
|
+
const useHtmlLabels = node.useHtmlLabels || chunkABZYJK2D.evaluate(config2.flowchart.htmlLabels);
|
|
2436
2449
|
if (!_classes) {
|
|
2437
2450
|
classes2 = "node default";
|
|
2438
2451
|
} else {
|
|
@@ -2449,9 +2462,9 @@ var labelHelper = /* @__PURE__ */ chunk3XYRH5AP.__name(async (parent, node, _cla
|
|
|
2449
2462
|
const textNode = label.node();
|
|
2450
2463
|
let text;
|
|
2451
2464
|
if (node.labelType === "markdown") {
|
|
2452
|
-
text =
|
|
2465
|
+
text = chunkJA3XYJ7Z.createText(
|
|
2453
2466
|
label,
|
|
2454
|
-
|
|
2467
|
+
chunkABZYJK2D.sanitizeText(chunkS3R3BYOJ.decodeEntities(labelText), config2),
|
|
2455
2468
|
{
|
|
2456
2469
|
useHtmlLabels,
|
|
2457
2470
|
width: node.width || config2.flowchart.wrappingWidth,
|
|
@@ -2462,7 +2475,7 @@ var labelHelper = /* @__PURE__ */ chunk3XYRH5AP.__name(async (parent, node, _cla
|
|
|
2462
2475
|
} else {
|
|
2463
2476
|
text = textNode.appendChild(
|
|
2464
2477
|
await createLabel_default(
|
|
2465
|
-
|
|
2478
|
+
chunkABZYJK2D.sanitizeText(chunkS3R3BYOJ.decodeEntities(labelText), config2),
|
|
2466
2479
|
node.labelStyle,
|
|
2467
2480
|
false,
|
|
2468
2481
|
isNode
|
|
@@ -2471,7 +2484,7 @@ var labelHelper = /* @__PURE__ */ chunk3XYRH5AP.__name(async (parent, node, _cla
|
|
|
2471
2484
|
}
|
|
2472
2485
|
let bbox = text.getBBox();
|
|
2473
2486
|
const halfPadding = node.padding / 2;
|
|
2474
|
-
if (
|
|
2487
|
+
if (chunkABZYJK2D.evaluate(config2.flowchart.htmlLabels)) {
|
|
2475
2488
|
const div = text.children[0];
|
|
2476
2489
|
const dv = select(text);
|
|
2477
2490
|
const images = div.getElementsByTagName("img");
|
|
@@ -2494,7 +2507,7 @@ var labelHelper = /* @__PURE__ */ chunk3XYRH5AP.__name(async (parent, node, _cla
|
|
|
2494
2507
|
}
|
|
2495
2508
|
res(img);
|
|
2496
2509
|
}
|
|
2497
|
-
|
|
2510
|
+
chunkAGHRB4JF.__name(setupImage, "setupImage");
|
|
2498
2511
|
setTimeout(() => {
|
|
2499
2512
|
if (img.complete) {
|
|
2500
2513
|
setupImage();
|
|
@@ -2521,7 +2534,7 @@ var labelHelper = /* @__PURE__ */ chunk3XYRH5AP.__name(async (parent, node, _cla
|
|
|
2521
2534
|
label.insert("rect", ":first-child");
|
|
2522
2535
|
return { shapeSvg, bbox, halfPadding, label };
|
|
2523
2536
|
}, "labelHelper");
|
|
2524
|
-
var updateNodeBounds = /* @__PURE__ */
|
|
2537
|
+
var updateNodeBounds = /* @__PURE__ */ chunkAGHRB4JF.__name((node, element) => {
|
|
2525
2538
|
const bbox = element.node().getBBox();
|
|
2526
2539
|
node.width = bbox.width;
|
|
2527
2540
|
node.height = bbox.height;
|
|
@@ -2534,11 +2547,11 @@ function insertPolygonShape(parent, w, h, points) {
|
|
|
2534
2547
|
}).join(" ")
|
|
2535
2548
|
).attr("class", "label-container").attr("transform", "translate(" + -w / 2 + "," + h / 2 + ")");
|
|
2536
2549
|
}
|
|
2537
|
-
|
|
2550
|
+
chunkAGHRB4JF.__name(insertPolygonShape, "insertPolygonShape");
|
|
2538
2551
|
|
|
2539
2552
|
// src/dagre-wrapper/shapes/note.js
|
|
2540
|
-
var note = /* @__PURE__ */
|
|
2541
|
-
const useHtmlLabels = node.useHtmlLabels ||
|
|
2553
|
+
var note = /* @__PURE__ */ chunkAGHRB4JF.__name(async (parent, node) => {
|
|
2554
|
+
const useHtmlLabels = node.useHtmlLabels || chunkABZYJK2D.getConfig2().flowchart.htmlLabels;
|
|
2542
2555
|
if (!useHtmlLabels) {
|
|
2543
2556
|
node.centerLabel = true;
|
|
2544
2557
|
}
|
|
@@ -2548,7 +2561,7 @@ var note = /* @__PURE__ */ chunk3XYRH5AP.__name(async (parent, node) => {
|
|
|
2548
2561
|
"node " + node.classes,
|
|
2549
2562
|
true
|
|
2550
2563
|
);
|
|
2551
|
-
|
|
2564
|
+
chunkAGHRB4JF.log.info("Classes = ", node.classes);
|
|
2552
2565
|
const rect2 = shapeSvg.insert("rect", ":first-child");
|
|
2553
2566
|
rect2.attr("rx", node.rx).attr("ry", node.ry).attr("x", -bbox.width / 2 - halfPadding).attr("y", -bbox.height / 2 - halfPadding).attr("width", bbox.width + node.padding).attr("height", bbox.height + node.padding);
|
|
2554
2567
|
updateNodeBounds(node, rect2);
|
|
@@ -2560,18 +2573,18 @@ var note = /* @__PURE__ */ chunk3XYRH5AP.__name(async (parent, node) => {
|
|
|
2560
2573
|
var note_default = note;
|
|
2561
2574
|
|
|
2562
2575
|
// src/dagre-wrapper/nodes.js
|
|
2563
|
-
var formatClass = /* @__PURE__ */
|
|
2576
|
+
var formatClass = /* @__PURE__ */ chunkAGHRB4JF.__name((str) => {
|
|
2564
2577
|
if (str) {
|
|
2565
2578
|
return " " + str;
|
|
2566
2579
|
}
|
|
2567
2580
|
return "";
|
|
2568
2581
|
}, "formatClass");
|
|
2569
|
-
var getClassesFromNode = /* @__PURE__ */
|
|
2582
|
+
var getClassesFromNode = /* @__PURE__ */ chunkAGHRB4JF.__name((node, otherClasses) => {
|
|
2570
2583
|
return `${otherClasses ? otherClasses : "node default"}${formatClass(node.classes)} ${formatClass(
|
|
2571
2584
|
node.class
|
|
2572
2585
|
)}`;
|
|
2573
2586
|
}, "getClassesFromNode");
|
|
2574
|
-
var question = /* @__PURE__ */
|
|
2587
|
+
var question = /* @__PURE__ */ chunkAGHRB4JF.__name(async (parent, node) => {
|
|
2575
2588
|
const { shapeSvg, bbox } = await labelHelper(
|
|
2576
2589
|
parent,
|
|
2577
2590
|
node,
|
|
@@ -2587,17 +2600,17 @@ var question = /* @__PURE__ */ chunk3XYRH5AP.__name(async (parent, node) => {
|
|
|
2587
2600
|
{ x: s / 2, y: -s },
|
|
2588
2601
|
{ x: 0, y: -s / 2 }
|
|
2589
2602
|
];
|
|
2590
|
-
|
|
2603
|
+
chunkAGHRB4JF.log.info("Question main (Circle)");
|
|
2591
2604
|
const questionElem = insertPolygonShape(shapeSvg, s, s, points);
|
|
2592
2605
|
questionElem.attr("style", node.style);
|
|
2593
2606
|
updateNodeBounds(node, questionElem);
|
|
2594
2607
|
node.intersect = function(point2) {
|
|
2595
|
-
|
|
2608
|
+
chunkAGHRB4JF.log.warn("Intersect called");
|
|
2596
2609
|
return intersect_default.polygon(node, points, point2);
|
|
2597
2610
|
};
|
|
2598
2611
|
return shapeSvg;
|
|
2599
2612
|
}, "question");
|
|
2600
|
-
var choice = /* @__PURE__ */
|
|
2613
|
+
var choice = /* @__PURE__ */ chunkAGHRB4JF.__name((parent, node) => {
|
|
2601
2614
|
const shapeSvg = parent.insert("g").attr("class", "node default").attr("id", node.domId || node.id);
|
|
2602
2615
|
const s = 28;
|
|
2603
2616
|
const points = [
|
|
@@ -2620,7 +2633,7 @@ var choice = /* @__PURE__ */ chunk3XYRH5AP.__name((parent, node) => {
|
|
|
2620
2633
|
};
|
|
2621
2634
|
return shapeSvg;
|
|
2622
2635
|
}, "choice");
|
|
2623
|
-
var hexagon = /* @__PURE__ */
|
|
2636
|
+
var hexagon = /* @__PURE__ */ chunkAGHRB4JF.__name(async (parent, node) => {
|
|
2624
2637
|
const { shapeSvg, bbox } = await labelHelper(
|
|
2625
2638
|
parent,
|
|
2626
2639
|
node,
|
|
@@ -2647,7 +2660,7 @@ var hexagon = /* @__PURE__ */ chunk3XYRH5AP.__name(async (parent, node) => {
|
|
|
2647
2660
|
};
|
|
2648
2661
|
return shapeSvg;
|
|
2649
2662
|
}, "hexagon");
|
|
2650
|
-
var block_arrow = /* @__PURE__ */
|
|
2663
|
+
var block_arrow = /* @__PURE__ */ chunkAGHRB4JF.__name(async (parent, node) => {
|
|
2651
2664
|
const { shapeSvg, bbox } = await labelHelper(parent, node, void 0, true);
|
|
2652
2665
|
const f = 2;
|
|
2653
2666
|
const h = bbox.height + 2 * node.padding;
|
|
@@ -2662,7 +2675,7 @@ var block_arrow = /* @__PURE__ */ chunk3XYRH5AP.__name(async (parent, node) => {
|
|
|
2662
2675
|
};
|
|
2663
2676
|
return shapeSvg;
|
|
2664
2677
|
}, "block_arrow");
|
|
2665
|
-
var rect_left_inv_arrow = /* @__PURE__ */
|
|
2678
|
+
var rect_left_inv_arrow = /* @__PURE__ */ chunkAGHRB4JF.__name(async (parent, node) => {
|
|
2666
2679
|
const { shapeSvg, bbox } = await labelHelper(
|
|
2667
2680
|
parent,
|
|
2668
2681
|
node,
|
|
@@ -2687,7 +2700,7 @@ var rect_left_inv_arrow = /* @__PURE__ */ chunk3XYRH5AP.__name(async (parent, no
|
|
|
2687
2700
|
};
|
|
2688
2701
|
return shapeSvg;
|
|
2689
2702
|
}, "rect_left_inv_arrow");
|
|
2690
|
-
var lean_right = /* @__PURE__ */
|
|
2703
|
+
var lean_right = /* @__PURE__ */ chunkAGHRB4JF.__name(async (parent, node) => {
|
|
2691
2704
|
const { shapeSvg, bbox } = await labelHelper(parent, node, getClassesFromNode(node), true);
|
|
2692
2705
|
const w = bbox.width + node.padding;
|
|
2693
2706
|
const h = bbox.height + node.padding;
|
|
@@ -2705,7 +2718,7 @@ var lean_right = /* @__PURE__ */ chunk3XYRH5AP.__name(async (parent, node) => {
|
|
|
2705
2718
|
};
|
|
2706
2719
|
return shapeSvg;
|
|
2707
2720
|
}, "lean_right");
|
|
2708
|
-
var lean_left = /* @__PURE__ */
|
|
2721
|
+
var lean_left = /* @__PURE__ */ chunkAGHRB4JF.__name(async (parent, node) => {
|
|
2709
2722
|
const { shapeSvg, bbox } = await labelHelper(
|
|
2710
2723
|
parent,
|
|
2711
2724
|
node,
|
|
@@ -2728,7 +2741,7 @@ var lean_left = /* @__PURE__ */ chunk3XYRH5AP.__name(async (parent, node) => {
|
|
|
2728
2741
|
};
|
|
2729
2742
|
return shapeSvg;
|
|
2730
2743
|
}, "lean_left");
|
|
2731
|
-
var trapezoid = /* @__PURE__ */
|
|
2744
|
+
var trapezoid = /* @__PURE__ */ chunkAGHRB4JF.__name(async (parent, node) => {
|
|
2732
2745
|
const { shapeSvg, bbox } = await labelHelper(
|
|
2733
2746
|
parent,
|
|
2734
2747
|
node,
|
|
@@ -2751,7 +2764,7 @@ var trapezoid = /* @__PURE__ */ chunk3XYRH5AP.__name(async (parent, node) => {
|
|
|
2751
2764
|
};
|
|
2752
2765
|
return shapeSvg;
|
|
2753
2766
|
}, "trapezoid");
|
|
2754
|
-
var inv_trapezoid = /* @__PURE__ */
|
|
2767
|
+
var inv_trapezoid = /* @__PURE__ */ chunkAGHRB4JF.__name(async (parent, node) => {
|
|
2755
2768
|
const { shapeSvg, bbox } = await labelHelper(
|
|
2756
2769
|
parent,
|
|
2757
2770
|
node,
|
|
@@ -2774,7 +2787,7 @@ var inv_trapezoid = /* @__PURE__ */ chunk3XYRH5AP.__name(async (parent, node) =>
|
|
|
2774
2787
|
};
|
|
2775
2788
|
return shapeSvg;
|
|
2776
2789
|
}, "inv_trapezoid");
|
|
2777
|
-
var rect_right_inv_arrow = /* @__PURE__ */
|
|
2790
|
+
var rect_right_inv_arrow = /* @__PURE__ */ chunkAGHRB4JF.__name(async (parent, node) => {
|
|
2778
2791
|
const { shapeSvg, bbox } = await labelHelper(
|
|
2779
2792
|
parent,
|
|
2780
2793
|
node,
|
|
@@ -2798,7 +2811,7 @@ var rect_right_inv_arrow = /* @__PURE__ */ chunk3XYRH5AP.__name(async (parent, n
|
|
|
2798
2811
|
};
|
|
2799
2812
|
return shapeSvg;
|
|
2800
2813
|
}, "rect_right_inv_arrow");
|
|
2801
|
-
var cylinder = /* @__PURE__ */
|
|
2814
|
+
var cylinder = /* @__PURE__ */ chunkAGHRB4JF.__name(async (parent, node) => {
|
|
2802
2815
|
const { shapeSvg, bbox } = await labelHelper(
|
|
2803
2816
|
parent,
|
|
2804
2817
|
node,
|
|
@@ -2830,7 +2843,7 @@ var cylinder = /* @__PURE__ */ chunk3XYRH5AP.__name(async (parent, node) => {
|
|
|
2830
2843
|
};
|
|
2831
2844
|
return shapeSvg;
|
|
2832
2845
|
}, "cylinder");
|
|
2833
|
-
var rect = /* @__PURE__ */
|
|
2846
|
+
var rect = /* @__PURE__ */ chunkAGHRB4JF.__name(async (parent, node) => {
|
|
2834
2847
|
const { shapeSvg, bbox, halfPadding } = await labelHelper(
|
|
2835
2848
|
parent,
|
|
2836
2849
|
node,
|
|
@@ -2850,7 +2863,7 @@ var rect = /* @__PURE__ */ chunk3XYRH5AP.__name(async (parent, node) => {
|
|
|
2850
2863
|
propKeys.delete("borders");
|
|
2851
2864
|
}
|
|
2852
2865
|
propKeys.forEach((propKey) => {
|
|
2853
|
-
|
|
2866
|
+
chunkAGHRB4JF.log.warn(`Unknown node property ${propKey}`);
|
|
2854
2867
|
});
|
|
2855
2868
|
}
|
|
2856
2869
|
updateNodeBounds(node, rect2);
|
|
@@ -2859,7 +2872,7 @@ var rect = /* @__PURE__ */ chunk3XYRH5AP.__name(async (parent, node) => {
|
|
|
2859
2872
|
};
|
|
2860
2873
|
return shapeSvg;
|
|
2861
2874
|
}, "rect");
|
|
2862
|
-
var composite = /* @__PURE__ */
|
|
2875
|
+
var composite = /* @__PURE__ */ chunkAGHRB4JF.__name(async (parent, node) => {
|
|
2863
2876
|
const { shapeSvg, bbox, halfPadding } = await labelHelper(
|
|
2864
2877
|
parent,
|
|
2865
2878
|
node,
|
|
@@ -2879,7 +2892,7 @@ var composite = /* @__PURE__ */ chunk3XYRH5AP.__name(async (parent, node) => {
|
|
|
2879
2892
|
propKeys.delete("borders");
|
|
2880
2893
|
}
|
|
2881
2894
|
propKeys.forEach((propKey) => {
|
|
2882
|
-
|
|
2895
|
+
chunkAGHRB4JF.log.warn(`Unknown node property ${propKey}`);
|
|
2883
2896
|
});
|
|
2884
2897
|
}
|
|
2885
2898
|
updateNodeBounds(node, rect2);
|
|
@@ -2888,9 +2901,9 @@ var composite = /* @__PURE__ */ chunk3XYRH5AP.__name(async (parent, node) => {
|
|
|
2888
2901
|
};
|
|
2889
2902
|
return shapeSvg;
|
|
2890
2903
|
}, "composite");
|
|
2891
|
-
var labelRect = /* @__PURE__ */
|
|
2904
|
+
var labelRect = /* @__PURE__ */ chunkAGHRB4JF.__name(async (parent, node) => {
|
|
2892
2905
|
const { shapeSvg } = await labelHelper(parent, node, "label", true);
|
|
2893
|
-
|
|
2906
|
+
chunkAGHRB4JF.log.trace("Classes = ", node.class);
|
|
2894
2907
|
const rect2 = shapeSvg.insert("rect", ":first-child");
|
|
2895
2908
|
const totalWidth = 0;
|
|
2896
2909
|
const totalHeight = 0;
|
|
@@ -2903,7 +2916,7 @@ var labelRect = /* @__PURE__ */ chunk3XYRH5AP.__name(async (parent, node) => {
|
|
|
2903
2916
|
propKeys.delete("borders");
|
|
2904
2917
|
}
|
|
2905
2918
|
propKeys.forEach((propKey) => {
|
|
2906
|
-
|
|
2919
|
+
chunkAGHRB4JF.log.warn(`Unknown node property ${propKey}`);
|
|
2907
2920
|
});
|
|
2908
2921
|
}
|
|
2909
2922
|
updateNodeBounds(node, rect2);
|
|
@@ -2914,40 +2927,40 @@ var labelRect = /* @__PURE__ */ chunk3XYRH5AP.__name(async (parent, node) => {
|
|
|
2914
2927
|
}, "labelRect");
|
|
2915
2928
|
function applyNodePropertyBorders(rect2, borders, totalWidth, totalHeight) {
|
|
2916
2929
|
const strokeDashArray = [];
|
|
2917
|
-
const addBorder = /* @__PURE__ */
|
|
2930
|
+
const addBorder = /* @__PURE__ */ chunkAGHRB4JF.__name((length) => {
|
|
2918
2931
|
strokeDashArray.push(length, 0);
|
|
2919
2932
|
}, "addBorder");
|
|
2920
|
-
const skipBorder = /* @__PURE__ */
|
|
2933
|
+
const skipBorder = /* @__PURE__ */ chunkAGHRB4JF.__name((length) => {
|
|
2921
2934
|
strokeDashArray.push(0, length);
|
|
2922
2935
|
}, "skipBorder");
|
|
2923
2936
|
if (borders.includes("t")) {
|
|
2924
|
-
|
|
2937
|
+
chunkAGHRB4JF.log.debug("add top border");
|
|
2925
2938
|
addBorder(totalWidth);
|
|
2926
2939
|
} else {
|
|
2927
2940
|
skipBorder(totalWidth);
|
|
2928
2941
|
}
|
|
2929
2942
|
if (borders.includes("r")) {
|
|
2930
|
-
|
|
2943
|
+
chunkAGHRB4JF.log.debug("add right border");
|
|
2931
2944
|
addBorder(totalHeight);
|
|
2932
2945
|
} else {
|
|
2933
2946
|
skipBorder(totalHeight);
|
|
2934
2947
|
}
|
|
2935
2948
|
if (borders.includes("b")) {
|
|
2936
|
-
|
|
2949
|
+
chunkAGHRB4JF.log.debug("add bottom border");
|
|
2937
2950
|
addBorder(totalWidth);
|
|
2938
2951
|
} else {
|
|
2939
2952
|
skipBorder(totalWidth);
|
|
2940
2953
|
}
|
|
2941
2954
|
if (borders.includes("l")) {
|
|
2942
|
-
|
|
2955
|
+
chunkAGHRB4JF.log.debug("add left border");
|
|
2943
2956
|
addBorder(totalHeight);
|
|
2944
2957
|
} else {
|
|
2945
2958
|
skipBorder(totalHeight);
|
|
2946
2959
|
}
|
|
2947
2960
|
rect2.attr("stroke-dasharray", strokeDashArray.join(" "));
|
|
2948
2961
|
}
|
|
2949
|
-
|
|
2950
|
-
var rectWithTitle = /* @__PURE__ */
|
|
2962
|
+
chunkAGHRB4JF.__name(applyNodePropertyBorders, "applyNodePropertyBorders");
|
|
2963
|
+
var rectWithTitle = /* @__PURE__ */ chunkAGHRB4JF.__name(async (parent, node) => {
|
|
2951
2964
|
let classes2;
|
|
2952
2965
|
if (!node.classes) {
|
|
2953
2966
|
classes2 = "node default";
|
|
@@ -2965,17 +2978,17 @@ var rectWithTitle = /* @__PURE__ */ chunk3XYRH5AP.__name(async (parent, node) =>
|
|
|
2965
2978
|
} else {
|
|
2966
2979
|
title = text2;
|
|
2967
2980
|
}
|
|
2968
|
-
|
|
2981
|
+
chunkAGHRB4JF.log.info("Label text abc79", title, text2, typeof text2 === "object");
|
|
2969
2982
|
const text = label.node().appendChild(await createLabel_default(title, node.labelStyle, true, true));
|
|
2970
2983
|
let bbox = { width: 0, height: 0 };
|
|
2971
|
-
if (
|
|
2984
|
+
if (chunkABZYJK2D.evaluate(chunkABZYJK2D.getConfig2().flowchart.htmlLabels)) {
|
|
2972
2985
|
const div = text.children[0];
|
|
2973
2986
|
const dv = select(text);
|
|
2974
2987
|
bbox = div.getBoundingClientRect();
|
|
2975
2988
|
dv.attr("width", bbox.width);
|
|
2976
2989
|
dv.attr("height", bbox.height);
|
|
2977
2990
|
}
|
|
2978
|
-
|
|
2991
|
+
chunkAGHRB4JF.log.info("Text 2", text2);
|
|
2979
2992
|
const textRows = text2.slice(1, text2.length);
|
|
2980
2993
|
let titleBox = text.getBBox();
|
|
2981
2994
|
const descr = label.node().appendChild(
|
|
@@ -2986,7 +2999,7 @@ var rectWithTitle = /* @__PURE__ */ chunk3XYRH5AP.__name(async (parent, node) =>
|
|
|
2986
2999
|
true
|
|
2987
3000
|
)
|
|
2988
3001
|
);
|
|
2989
|
-
if (
|
|
3002
|
+
if (chunkABZYJK2D.evaluate(chunkABZYJK2D.getConfig2().flowchart.htmlLabels)) {
|
|
2990
3003
|
const div = descr.children[0];
|
|
2991
3004
|
const dv = select(descr);
|
|
2992
3005
|
bbox = div.getBoundingClientRect();
|
|
@@ -3017,7 +3030,7 @@ var rectWithTitle = /* @__PURE__ */ chunk3XYRH5AP.__name(async (parent, node) =>
|
|
|
3017
3030
|
};
|
|
3018
3031
|
return shapeSvg;
|
|
3019
3032
|
}, "rectWithTitle");
|
|
3020
|
-
var stadium = /* @__PURE__ */
|
|
3033
|
+
var stadium = /* @__PURE__ */ chunkAGHRB4JF.__name(async (parent, node) => {
|
|
3021
3034
|
const { shapeSvg, bbox } = await labelHelper(
|
|
3022
3035
|
parent,
|
|
3023
3036
|
node,
|
|
@@ -3033,7 +3046,7 @@ var stadium = /* @__PURE__ */ chunk3XYRH5AP.__name(async (parent, node) => {
|
|
|
3033
3046
|
};
|
|
3034
3047
|
return shapeSvg;
|
|
3035
3048
|
}, "stadium");
|
|
3036
|
-
var circle2 = /* @__PURE__ */
|
|
3049
|
+
var circle2 = /* @__PURE__ */ chunkAGHRB4JF.__name(async (parent, node) => {
|
|
3037
3050
|
const { shapeSvg, bbox, halfPadding } = await labelHelper(
|
|
3038
3051
|
parent,
|
|
3039
3052
|
node,
|
|
@@ -3042,15 +3055,15 @@ var circle2 = /* @__PURE__ */ chunk3XYRH5AP.__name(async (parent, node) => {
|
|
|
3042
3055
|
);
|
|
3043
3056
|
const circle3 = shapeSvg.insert("circle", ":first-child");
|
|
3044
3057
|
circle3.attr("style", node.style).attr("rx", node.rx).attr("ry", node.ry).attr("r", bbox.width / 2 + halfPadding).attr("width", bbox.width + node.padding).attr("height", bbox.height + node.padding);
|
|
3045
|
-
|
|
3058
|
+
chunkAGHRB4JF.log.info("Circle main");
|
|
3046
3059
|
updateNodeBounds(node, circle3);
|
|
3047
3060
|
node.intersect = function(point2) {
|
|
3048
|
-
|
|
3061
|
+
chunkAGHRB4JF.log.info("Circle intersect", node, bbox.width / 2 + halfPadding, point2);
|
|
3049
3062
|
return intersect_default.circle(node, bbox.width / 2 + halfPadding, point2);
|
|
3050
3063
|
};
|
|
3051
3064
|
return shapeSvg;
|
|
3052
3065
|
}, "circle");
|
|
3053
|
-
var doublecircle = /* @__PURE__ */
|
|
3066
|
+
var doublecircle = /* @__PURE__ */ chunkAGHRB4JF.__name(async (parent, node) => {
|
|
3054
3067
|
const { shapeSvg, bbox, halfPadding } = await labelHelper(
|
|
3055
3068
|
parent,
|
|
3056
3069
|
node,
|
|
@@ -3064,15 +3077,15 @@ var doublecircle = /* @__PURE__ */ chunk3XYRH5AP.__name(async (parent, node) =>
|
|
|
3064
3077
|
circleGroup.attr("class", node.class);
|
|
3065
3078
|
outerCircle.attr("style", node.style).attr("rx", node.rx).attr("ry", node.ry).attr("r", bbox.width / 2 + halfPadding + gap).attr("width", bbox.width + node.padding + gap * 2).attr("height", bbox.height + node.padding + gap * 2);
|
|
3066
3079
|
innerCircle.attr("style", node.style).attr("rx", node.rx).attr("ry", node.ry).attr("r", bbox.width / 2 + halfPadding).attr("width", bbox.width + node.padding).attr("height", bbox.height + node.padding);
|
|
3067
|
-
|
|
3080
|
+
chunkAGHRB4JF.log.info("DoubleCircle main");
|
|
3068
3081
|
updateNodeBounds(node, outerCircle);
|
|
3069
3082
|
node.intersect = function(point2) {
|
|
3070
|
-
|
|
3083
|
+
chunkAGHRB4JF.log.info("DoubleCircle intersect", node, bbox.width / 2 + halfPadding + gap, point2);
|
|
3071
3084
|
return intersect_default.circle(node, bbox.width / 2 + halfPadding + gap, point2);
|
|
3072
3085
|
};
|
|
3073
3086
|
return shapeSvg;
|
|
3074
3087
|
}, "doublecircle");
|
|
3075
|
-
var subroutine = /* @__PURE__ */
|
|
3088
|
+
var subroutine = /* @__PURE__ */ chunkAGHRB4JF.__name(async (parent, node) => {
|
|
3076
3089
|
const { shapeSvg, bbox } = await labelHelper(
|
|
3077
3090
|
parent,
|
|
3078
3091
|
node,
|
|
@@ -3101,7 +3114,7 @@ var subroutine = /* @__PURE__ */ chunk3XYRH5AP.__name(async (parent, node) => {
|
|
|
3101
3114
|
};
|
|
3102
3115
|
return shapeSvg;
|
|
3103
3116
|
}, "subroutine");
|
|
3104
|
-
var start = /* @__PURE__ */
|
|
3117
|
+
var start = /* @__PURE__ */ chunkAGHRB4JF.__name((parent, node) => {
|
|
3105
3118
|
const shapeSvg = parent.insert("g").attr("class", "node default").attr("id", node.domId || node.id);
|
|
3106
3119
|
const circle3 = shapeSvg.insert("circle", ":first-child");
|
|
3107
3120
|
circle3.attr("class", "state-start").attr("r", 7).attr("width", 14).attr("height", 14);
|
|
@@ -3111,7 +3124,7 @@ var start = /* @__PURE__ */ chunk3XYRH5AP.__name((parent, node) => {
|
|
|
3111
3124
|
};
|
|
3112
3125
|
return shapeSvg;
|
|
3113
3126
|
}, "start");
|
|
3114
|
-
var forkJoin = /* @__PURE__ */
|
|
3127
|
+
var forkJoin = /* @__PURE__ */ chunkAGHRB4JF.__name((parent, node, dir) => {
|
|
3115
3128
|
const shapeSvg = parent.insert("g").attr("class", "node default").attr("id", node.domId || node.id);
|
|
3116
3129
|
let width = 70;
|
|
3117
3130
|
let height = 10;
|
|
@@ -3128,7 +3141,7 @@ var forkJoin = /* @__PURE__ */ chunk3XYRH5AP.__name((parent, node, dir) => {
|
|
|
3128
3141
|
};
|
|
3129
3142
|
return shapeSvg;
|
|
3130
3143
|
}, "forkJoin");
|
|
3131
|
-
var end = /* @__PURE__ */
|
|
3144
|
+
var end = /* @__PURE__ */ chunkAGHRB4JF.__name((parent, node) => {
|
|
3132
3145
|
const shapeSvg = parent.insert("g").attr("class", "node default").attr("id", node.domId || node.id);
|
|
3133
3146
|
const innerCircle = shapeSvg.insert("circle", ":first-child");
|
|
3134
3147
|
const circle3 = shapeSvg.insert("circle", ":first-child");
|
|
@@ -3140,7 +3153,7 @@ var end = /* @__PURE__ */ chunk3XYRH5AP.__name((parent, node) => {
|
|
|
3140
3153
|
};
|
|
3141
3154
|
return shapeSvg;
|
|
3142
3155
|
}, "end");
|
|
3143
|
-
var class_box = /* @__PURE__ */
|
|
3156
|
+
var class_box = /* @__PURE__ */ chunkAGHRB4JF.__name(async (parent, node) => {
|
|
3144
3157
|
const halfPadding = node.padding / 2;
|
|
3145
3158
|
const rowPadding = 4;
|
|
3146
3159
|
const lineHeight = 8;
|
|
@@ -3162,7 +3175,7 @@ var class_box = /* @__PURE__ */ chunk3XYRH5AP.__name(async (parent, node) => {
|
|
|
3162
3175
|
const interfaceLabelText = node.classData.annotations[0] ? "\xAB" + node.classData.annotations[0] + "\xBB" : "";
|
|
3163
3176
|
const interfaceLabel = labelContainer.node().appendChild(await createLabel_default(interfaceLabelText, node.labelStyle, true, true));
|
|
3164
3177
|
let interfaceBBox = interfaceLabel.getBBox();
|
|
3165
|
-
if (
|
|
3178
|
+
if (chunkABZYJK2D.evaluate(chunkABZYJK2D.getConfig2().flowchart.htmlLabels)) {
|
|
3166
3179
|
const div = interfaceLabel.children[0];
|
|
3167
3180
|
const dv = select(interfaceLabel);
|
|
3168
3181
|
interfaceBBox = div.getBoundingClientRect();
|
|
@@ -3175,7 +3188,7 @@ var class_box = /* @__PURE__ */ chunk3XYRH5AP.__name(async (parent, node) => {
|
|
|
3175
3188
|
}
|
|
3176
3189
|
let classTitleString = node.classData.label;
|
|
3177
3190
|
if (node.classData.type !== void 0 && node.classData.type !== "") {
|
|
3178
|
-
if (
|
|
3191
|
+
if (chunkABZYJK2D.getConfig2().flowchart.htmlLabels) {
|
|
3179
3192
|
classTitleString += "<" + node.classData.type + ">";
|
|
3180
3193
|
} else {
|
|
3181
3194
|
classTitleString += "<" + node.classData.type + ">";
|
|
@@ -3184,7 +3197,7 @@ var class_box = /* @__PURE__ */ chunk3XYRH5AP.__name(async (parent, node) => {
|
|
|
3184
3197
|
const classTitleLabel = labelContainer.node().appendChild(await createLabel_default(classTitleString, node.labelStyle, true, true));
|
|
3185
3198
|
select(classTitleLabel).attr("class", "classTitle");
|
|
3186
3199
|
let classTitleBBox = classTitleLabel.getBBox();
|
|
3187
|
-
if (
|
|
3200
|
+
if (chunkABZYJK2D.evaluate(chunkABZYJK2D.getConfig2().flowchart.htmlLabels)) {
|
|
3188
3201
|
const div = classTitleLabel.children[0];
|
|
3189
3202
|
const dv = select(classTitleLabel);
|
|
3190
3203
|
classTitleBBox = div.getBoundingClientRect();
|
|
@@ -3199,7 +3212,7 @@ var class_box = /* @__PURE__ */ chunk3XYRH5AP.__name(async (parent, node) => {
|
|
|
3199
3212
|
node.classData.members.forEach(async (member) => {
|
|
3200
3213
|
const parsedInfo = member.getDisplayDetails();
|
|
3201
3214
|
let parsedText = parsedInfo.displayText;
|
|
3202
|
-
if (
|
|
3215
|
+
if (chunkABZYJK2D.getConfig2().flowchart.htmlLabels) {
|
|
3203
3216
|
parsedText = parsedText.replace(/</g, "<").replace(/>/g, ">");
|
|
3204
3217
|
}
|
|
3205
3218
|
const lbl = labelContainer.node().appendChild(
|
|
@@ -3211,7 +3224,7 @@ var class_box = /* @__PURE__ */ chunk3XYRH5AP.__name(async (parent, node) => {
|
|
|
3211
3224
|
)
|
|
3212
3225
|
);
|
|
3213
3226
|
let bbox = lbl.getBBox();
|
|
3214
|
-
if (
|
|
3227
|
+
if (chunkABZYJK2D.evaluate(chunkABZYJK2D.getConfig2().flowchart.htmlLabels)) {
|
|
3215
3228
|
const div = lbl.children[0];
|
|
3216
3229
|
const dv = select(lbl);
|
|
3217
3230
|
bbox = div.getBoundingClientRect();
|
|
@@ -3229,7 +3242,7 @@ var class_box = /* @__PURE__ */ chunk3XYRH5AP.__name(async (parent, node) => {
|
|
|
3229
3242
|
node.classData.methods.forEach(async (member) => {
|
|
3230
3243
|
const parsedInfo = member.getDisplayDetails();
|
|
3231
3244
|
let displayText = parsedInfo.displayText;
|
|
3232
|
-
if (
|
|
3245
|
+
if (chunkABZYJK2D.getConfig2().flowchart.htmlLabels) {
|
|
3233
3246
|
displayText = displayText.replace(/</g, "<").replace(/>/g, ">");
|
|
3234
3247
|
}
|
|
3235
3248
|
const lbl = labelContainer.node().appendChild(
|
|
@@ -3241,7 +3254,7 @@ var class_box = /* @__PURE__ */ chunk3XYRH5AP.__name(async (parent, node) => {
|
|
|
3241
3254
|
)
|
|
3242
3255
|
);
|
|
3243
3256
|
let bbox = lbl.getBBox();
|
|
3244
|
-
if (
|
|
3257
|
+
if (chunkABZYJK2D.evaluate(chunkABZYJK2D.getConfig2().flowchart.htmlLabels)) {
|
|
3245
3258
|
const div = lbl.children[0];
|
|
3246
3259
|
const dv = select(lbl);
|
|
3247
3260
|
bbox = div.getBoundingClientRect();
|
|
@@ -3326,12 +3339,12 @@ var shapes = {
|
|
|
3326
3339
|
class_box
|
|
3327
3340
|
};
|
|
3328
3341
|
var nodeElems = {};
|
|
3329
|
-
var insertNode = /* @__PURE__ */
|
|
3342
|
+
var insertNode = /* @__PURE__ */ chunkAGHRB4JF.__name(async (elem, node, renderOptions) => {
|
|
3330
3343
|
let newEl;
|
|
3331
3344
|
let el;
|
|
3332
3345
|
if (node.link) {
|
|
3333
3346
|
let target;
|
|
3334
|
-
if (
|
|
3347
|
+
if (chunkABZYJK2D.getConfig2().securityLevel === "sandbox") {
|
|
3335
3348
|
target = "_top";
|
|
3336
3349
|
} else if (node.linkTarget) {
|
|
3337
3350
|
target = node.linkTarget || "_blank";
|
|
@@ -3354,9 +3367,9 @@ var insertNode = /* @__PURE__ */ chunk3XYRH5AP.__name(async (elem, node, renderO
|
|
|
3354
3367
|
}
|
|
3355
3368
|
return newEl;
|
|
3356
3369
|
}, "insertNode");
|
|
3357
|
-
var positionNode = /* @__PURE__ */
|
|
3370
|
+
var positionNode = /* @__PURE__ */ chunkAGHRB4JF.__name((node) => {
|
|
3358
3371
|
const el = nodeElems[node.id];
|
|
3359
|
-
|
|
3372
|
+
chunkAGHRB4JF.log.trace(
|
|
3360
3373
|
"Transforming node",
|
|
3361
3374
|
node.diff,
|
|
3362
3375
|
node,
|
|
@@ -3450,7 +3463,7 @@ function getNodeFromBlock(block, db2, positioned = false) {
|
|
|
3450
3463
|
default:
|
|
3451
3464
|
shape = "rect";
|
|
3452
3465
|
}
|
|
3453
|
-
const styles =
|
|
3466
|
+
const styles = chunkS3R3BYOJ.getStylesFromArray(vertex?.styles ?? []);
|
|
3454
3467
|
const vertexText = vertex.label;
|
|
3455
3468
|
const bounds = vertex.size ?? { width: 0, height: 0, x: 0, y: 0 };
|
|
3456
3469
|
const node = {
|
|
@@ -3470,17 +3483,17 @@ function getNodeFromBlock(block, db2, positioned = false) {
|
|
|
3470
3483
|
positioned,
|
|
3471
3484
|
intersect: void 0,
|
|
3472
3485
|
type: vertex.type,
|
|
3473
|
-
padding: padding2 ??
|
|
3486
|
+
padding: padding2 ?? chunkABZYJK2D.getConfig()?.block?.padding ?? 0
|
|
3474
3487
|
};
|
|
3475
3488
|
return node;
|
|
3476
3489
|
}
|
|
3477
|
-
|
|
3490
|
+
chunkAGHRB4JF.__name(getNodeFromBlock, "getNodeFromBlock");
|
|
3478
3491
|
async function calculateBlockSize(elem, block, db2) {
|
|
3479
3492
|
const node = getNodeFromBlock(block, db2, false);
|
|
3480
3493
|
if (node.type === "group") {
|
|
3481
3494
|
return;
|
|
3482
3495
|
}
|
|
3483
|
-
const config2 =
|
|
3496
|
+
const config2 = chunkABZYJK2D.getConfig();
|
|
3484
3497
|
const nodeEl = await insertNode(elem, node, { config: config2 });
|
|
3485
3498
|
const boundingBox = nodeEl.node().getBBox();
|
|
3486
3499
|
const obj = db2.getBlock(node.id);
|
|
@@ -3488,18 +3501,18 @@ async function calculateBlockSize(elem, block, db2) {
|
|
|
3488
3501
|
db2.setBlock(obj);
|
|
3489
3502
|
nodeEl.remove();
|
|
3490
3503
|
}
|
|
3491
|
-
|
|
3504
|
+
chunkAGHRB4JF.__name(calculateBlockSize, "calculateBlockSize");
|
|
3492
3505
|
async function insertBlockPositioned(elem, block, db2) {
|
|
3493
3506
|
const node = getNodeFromBlock(block, db2, true);
|
|
3494
3507
|
const obj = db2.getBlock(node.id);
|
|
3495
3508
|
if (obj.type !== "space") {
|
|
3496
|
-
const config2 =
|
|
3509
|
+
const config2 = chunkABZYJK2D.getConfig();
|
|
3497
3510
|
await insertNode(elem, node, { config: config2 });
|
|
3498
3511
|
block.intersect = node?.intersect;
|
|
3499
3512
|
positionNode(node);
|
|
3500
3513
|
}
|
|
3501
3514
|
}
|
|
3502
|
-
|
|
3515
|
+
chunkAGHRB4JF.__name(insertBlockPositioned, "insertBlockPositioned");
|
|
3503
3516
|
async function performOperations(elem, blocks2, db2, operation) {
|
|
3504
3517
|
for (const block of blocks2) {
|
|
3505
3518
|
await operation(elem, block, db2);
|
|
@@ -3508,15 +3521,15 @@ async function performOperations(elem, blocks2, db2, operation) {
|
|
|
3508
3521
|
}
|
|
3509
3522
|
}
|
|
3510
3523
|
}
|
|
3511
|
-
|
|
3524
|
+
chunkAGHRB4JF.__name(performOperations, "performOperations");
|
|
3512
3525
|
async function calculateBlockSizes(elem, blocks2, db2) {
|
|
3513
3526
|
await performOperations(elem, blocks2, db2, calculateBlockSize);
|
|
3514
3527
|
}
|
|
3515
|
-
|
|
3528
|
+
chunkAGHRB4JF.__name(calculateBlockSizes, "calculateBlockSizes");
|
|
3516
3529
|
async function insertBlocks(elem, blocks2, db2) {
|
|
3517
3530
|
await performOperations(elem, blocks2, db2, insertBlockPositioned);
|
|
3518
3531
|
}
|
|
3519
|
-
|
|
3532
|
+
chunkAGHRB4JF.__name(insertBlocks, "insertBlocks");
|
|
3520
3533
|
async function insertEdges(elem, edges, blocks2, db2, id) {
|
|
3521
3534
|
const g = new graph.Graph({
|
|
3522
3535
|
multigraph: true,
|
|
@@ -3586,14 +3599,14 @@ async function insertEdges(elem, edges, blocks2, db2, id) {
|
|
|
3586
3599
|
}
|
|
3587
3600
|
}
|
|
3588
3601
|
}
|
|
3589
|
-
|
|
3602
|
+
chunkAGHRB4JF.__name(insertEdges, "insertEdges");
|
|
3590
3603
|
|
|
3591
3604
|
// src/diagrams/block/blockRenderer.ts
|
|
3592
|
-
var getClasses2 = /* @__PURE__ */
|
|
3605
|
+
var getClasses2 = /* @__PURE__ */ chunkAGHRB4JF.__name(function(text, diagObj) {
|
|
3593
3606
|
return diagObj.db.getClasses();
|
|
3594
3607
|
}, "getClasses");
|
|
3595
|
-
var draw = /* @__PURE__ */
|
|
3596
|
-
const { securityLevel, block: conf } =
|
|
3608
|
+
var draw = /* @__PURE__ */ chunkAGHRB4JF.__name(async function(text, id, _version, diagObj) {
|
|
3609
|
+
const { securityLevel, block: conf } = chunkABZYJK2D.getConfig();
|
|
3597
3610
|
const db2 = diagObj.db;
|
|
3598
3611
|
let sandboxElement;
|
|
3599
3612
|
if (securityLevel === "sandbox") {
|
|
@@ -3617,8 +3630,8 @@ var draw = /* @__PURE__ */ chunk3XYRH5AP.__name(async function(text, id, _versio
|
|
|
3617
3630
|
const height = bounds2.height + magicFactor + 10;
|
|
3618
3631
|
const width = bounds2.width + 10;
|
|
3619
3632
|
const { useMaxWidth } = conf;
|
|
3620
|
-
|
|
3621
|
-
|
|
3633
|
+
chunkABZYJK2D.configureSvgSize(svg, height, width, !!useMaxWidth);
|
|
3634
|
+
chunkAGHRB4JF.log.debug("Here Bounds", bounds, bounds2);
|
|
3622
3635
|
svg.attr(
|
|
3623
3636
|
"viewBox",
|
|
3624
3637
|
`${bounds2.x - 5} ${bounds2.y - 5} ${bounds2.width + 10} ${bounds2.height + 10}`
|