@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,10 +1,11 @@
|
|
|
1
|
-
import { getLineFunctionsWithOffset } from './chunk-
|
|
2
|
-
import { createLabel_default } from './chunk-
|
|
3
|
-
import { getSubGraphTitleMargins } from './chunk-
|
|
4
|
-
import { isLabelStyle } from './chunk-
|
|
5
|
-
import { createText } from './chunk-
|
|
6
|
-
import { utils_default } from './chunk-
|
|
7
|
-
import {
|
|
1
|
+
import { getLineFunctionsWithOffset, markerOffsets2, markerOffsets } from './chunk-HN2XXSSU.mjs';
|
|
2
|
+
import { createLabel_default } from './chunk-JZLCHNYA.mjs';
|
|
3
|
+
import { getSubGraphTitleMargins } from './chunk-CVBHYZKI.mjs';
|
|
4
|
+
import { styles2String, isLabelStyle } from './chunk-ATLVNIR6.mjs';
|
|
5
|
+
import { createText } from './chunk-JA3XYJ7Z.mjs';
|
|
6
|
+
import { utils_default } from './chunk-S3R3BYOJ.mjs';
|
|
7
|
+
import { getConfig2, evaluate } from './chunk-ABZYJK2D.mjs';
|
|
8
|
+
import { __name, log } from './chunk-AGHRB4JF.mjs';
|
|
8
9
|
import '../../../../../../d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/selection/index.mjs';
|
|
9
10
|
import '../../../../../../d3-zoom@3.0.0/node_modules/d3-zoom/src/transform.mjs';
|
|
10
11
|
import at from '../../../../../../roughjs@4.6.6/node_modules/roughjs/bundled/rough.esm.mjs';
|
|
@@ -91,15 +92,17 @@ var getLabelStyles = /* @__PURE__ */ __name((styleArray) => {
|
|
|
91
92
|
}, "getLabelStyles");
|
|
92
93
|
var insertEdgeLabel = /* @__PURE__ */ __name(async (elem, edge) => {
|
|
93
94
|
let useHtmlLabels = evaluate(getConfig2().flowchart.htmlLabels);
|
|
95
|
+
const { labelStyles } = styles2String(edge);
|
|
96
|
+
edge.labelStyle = labelStyles;
|
|
94
97
|
const labelElement = await createText(elem, edge.label, {
|
|
95
|
-
style:
|
|
98
|
+
style: edge.labelStyle,
|
|
96
99
|
useHtmlLabels,
|
|
97
100
|
addSvgBackground: true,
|
|
98
101
|
isNode: false
|
|
99
102
|
});
|
|
100
103
|
log.info("abc82", edge, edge.labelType);
|
|
101
104
|
const edgeLabel = elem.insert("g").attr("class", "edgeLabel");
|
|
102
|
-
const label = edgeLabel.insert("g").attr("class", "label");
|
|
105
|
+
const label = edgeLabel.insert("g").attr("class", "label").attr("data-id", edge.id);
|
|
103
106
|
label.node().appendChild(labelElement);
|
|
104
107
|
let bbox = labelElement.getBBox();
|
|
105
108
|
if (useHtmlLabels) {
|
|
@@ -430,7 +433,17 @@ var fixCorners = /* @__PURE__ */ __name(function(lineData) {
|
|
|
430
433
|
}
|
|
431
434
|
return newLineData;
|
|
432
435
|
}, "fixCorners");
|
|
433
|
-
var
|
|
436
|
+
var generateDashArray = /* @__PURE__ */ __name((len, oValueS, oValueE) => {
|
|
437
|
+
const middleLength = len - oValueS - oValueE;
|
|
438
|
+
const dashLength = 2;
|
|
439
|
+
const gapLength = 2;
|
|
440
|
+
const dashGapPairLength = dashLength + gapLength;
|
|
441
|
+
const numberOfPairs = Math.floor(middleLength / dashGapPairLength);
|
|
442
|
+
const middlePattern = Array(numberOfPairs).fill(`${dashLength} ${gapLength}`).join(" ");
|
|
443
|
+
const dashArray = `0 ${oValueS} ${middlePattern} ${oValueE}`;
|
|
444
|
+
return dashArray;
|
|
445
|
+
}, "generateDashArray");
|
|
446
|
+
var insertEdge = /* @__PURE__ */ __name(function(elem, edge, clusterDb, diagramType, startNode, endNode, id, skipIntersect = false) {
|
|
434
447
|
const { handDrawnSeed } = getConfig2();
|
|
435
448
|
let points = edge.points;
|
|
436
449
|
let pointsHasChanged = false;
|
|
@@ -443,11 +456,12 @@ var insertEdge = /* @__PURE__ */ __name(function(elem, edge, clusterDb, diagramT
|
|
|
443
456
|
}
|
|
444
457
|
edgeClassStyles.push(edge.cssCompiledStyles[key]);
|
|
445
458
|
}
|
|
446
|
-
|
|
459
|
+
log.debug("UIO intersect check", edge.points, head.x, tail.x);
|
|
460
|
+
if (head.intersect && tail.intersect && !skipIntersect) {
|
|
447
461
|
points = points.slice(1, edge.points.length - 1);
|
|
448
462
|
points.unshift(tail.intersect(points[0]));
|
|
449
463
|
log.debug(
|
|
450
|
-
"Last point
|
|
464
|
+
"Last point UIO",
|
|
451
465
|
edge.start,
|
|
452
466
|
"-->",
|
|
453
467
|
edge.end,
|
|
@@ -457,6 +471,7 @@ var insertEdge = /* @__PURE__ */ __name(function(elem, edge, clusterDb, diagramT
|
|
|
457
471
|
);
|
|
458
472
|
points.push(head.intersect(points[points.length - 1]));
|
|
459
473
|
}
|
|
474
|
+
const pointsStr = btoa(JSON.stringify(points));
|
|
460
475
|
if (edge.toCluster) {
|
|
461
476
|
log.info("to cluster abc88", clusterDb.get(edge.toCluster));
|
|
462
477
|
points = cutPathAtIntersect(edge.points, clusterDb.get(edge.toCluster).node);
|
|
@@ -545,9 +560,10 @@ var insertEdge = /* @__PURE__ */ __name(function(elem, edge, clusterDb, diagramT
|
|
|
545
560
|
strokeClasses += " edge-pattern-solid";
|
|
546
561
|
}
|
|
547
562
|
let svgPath;
|
|
548
|
-
let linePath = lineFunction(lineData);
|
|
549
|
-
const edgeStyles = Array.isArray(edge.style) ? edge.style :
|
|
563
|
+
let linePath = edge.curve === "rounded" ? generateRoundedPath(applyMarkerOffsetsToPoints(lineData, edge), 5) : lineFunction(lineData);
|
|
564
|
+
const edgeStyles = Array.isArray(edge.style) ? edge.style : [edge.style];
|
|
550
565
|
let strokeColor = edgeStyles.find((style) => style?.startsWith("stroke:"));
|
|
566
|
+
let animatedEdge = false;
|
|
551
567
|
if (edge.look === "handDrawn") {
|
|
552
568
|
const rc = at.svg(elem);
|
|
553
569
|
Object.assign([], lineData);
|
|
@@ -570,20 +586,45 @@ var insertEdge = /* @__PURE__ */ __name(function(elem, edge, clusterDb, diagramT
|
|
|
570
586
|
if (edge.animation) {
|
|
571
587
|
animationClass = " edge-animation-" + edge.animation;
|
|
572
588
|
}
|
|
573
|
-
const pathStyle = stylesFromClasses ? stylesFromClasses + ";" + styles + ";" : styles;
|
|
589
|
+
const pathStyle = (stylesFromClasses ? stylesFromClasses + ";" + styles + ";" : styles) + ";" + (edgeStyles ? edgeStyles.reduce((acc, style) => acc + ";" + style, "") : "");
|
|
574
590
|
svgPath = elem.append("path").attr("d", linePath).attr("id", edge.id).attr(
|
|
575
591
|
"class",
|
|
576
592
|
" " + strokeClasses + (edge.classes ? " " + edge.classes : "") + (animationClass ?? "")
|
|
577
593
|
).attr("style", pathStyle);
|
|
578
594
|
strokeColor = pathStyle.match(/stroke:([^;]+)/)?.[1];
|
|
595
|
+
animatedEdge = edge.animate === true || !!edge.animation || stylesFromClasses.includes("animation");
|
|
596
|
+
const pathNode = svgPath.node();
|
|
597
|
+
const len = typeof pathNode.getTotalLength === "function" ? pathNode.getTotalLength() : 0;
|
|
598
|
+
const oValueS = markerOffsets2[edge.arrowTypeStart] || 0;
|
|
599
|
+
const oValueE = markerOffsets2[edge.arrowTypeEnd] || 0;
|
|
600
|
+
if (edge.look === "neo" && !animatedEdge) {
|
|
601
|
+
const dashArray = edge.pattern === "dotted" || edge.pattern === "dashed" ? generateDashArray(len, oValueS, oValueE) : `0 ${oValueS} ${len - oValueS - oValueE} ${oValueE}`;
|
|
602
|
+
const mOffset = `stroke-dasharray: ${dashArray}; stroke-dashoffset: 0;`;
|
|
603
|
+
svgPath.attr("style", mOffset + svgPath.attr("style"));
|
|
604
|
+
}
|
|
605
|
+
}
|
|
606
|
+
svgPath.attr("data-edge", true);
|
|
607
|
+
svgPath.attr("data-et", "edge");
|
|
608
|
+
svgPath.attr("data-id", edge.id);
|
|
609
|
+
svgPath.attr("data-points", pointsStr);
|
|
610
|
+
if (edge.showPoints) {
|
|
611
|
+
lineData.forEach((point3) => {
|
|
612
|
+
elem.append("circle").style("stroke", "red").style("fill", "red").attr("r", 1).attr("cx", point3.x).attr("cy", point3.y);
|
|
613
|
+
});
|
|
579
614
|
}
|
|
580
615
|
let url = "";
|
|
581
616
|
if (getConfig2().flowchart.arrowMarkerAbsolute || getConfig2().state.arrowMarkerAbsolute) {
|
|
582
|
-
url =
|
|
617
|
+
url = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search;
|
|
618
|
+
url = url.replace(/\(/g, "\\(").replace(/\)/g, "\\)");
|
|
583
619
|
}
|
|
584
620
|
log.info("arrowTypeStart", edge.arrowTypeStart);
|
|
585
621
|
log.info("arrowTypeEnd", edge.arrowTypeEnd);
|
|
586
622
|
addEdgeMarkers(svgPath, edge, url, id, diagramType, strokeColor);
|
|
623
|
+
const midIndex = Math.floor(points.length / 2);
|
|
624
|
+
const point2 = points[midIndex];
|
|
625
|
+
if (!utils_default.isLabelCoordinateInPath(point2, svgPath.attr("d"))) {
|
|
626
|
+
pointsHasChanged = true;
|
|
627
|
+
}
|
|
587
628
|
let paths = {};
|
|
588
629
|
if (pointsHasChanged) {
|
|
589
630
|
paths.updatedPath = points;
|
|
@@ -591,6 +632,91 @@ var insertEdge = /* @__PURE__ */ __name(function(elem, edge, clusterDb, diagramT
|
|
|
591
632
|
paths.originalPath = edge.points;
|
|
592
633
|
return paths;
|
|
593
634
|
}, "insertEdge");
|
|
635
|
+
function generateRoundedPath(points, radius) {
|
|
636
|
+
if (points.length < 2) {
|
|
637
|
+
return "";
|
|
638
|
+
}
|
|
639
|
+
let path = "";
|
|
640
|
+
const size = points.length;
|
|
641
|
+
const epsilon = 1e-5;
|
|
642
|
+
for (let i = 0; i < size; i++) {
|
|
643
|
+
const currPoint = points[i];
|
|
644
|
+
const prevPoint = points[i - 1];
|
|
645
|
+
const nextPoint = points[i + 1];
|
|
646
|
+
if (i === 0) {
|
|
647
|
+
path += `M${currPoint.x},${currPoint.y}`;
|
|
648
|
+
} else if (i === size - 1) {
|
|
649
|
+
path += `L${currPoint.x},${currPoint.y}`;
|
|
650
|
+
} else {
|
|
651
|
+
const dx1 = currPoint.x - prevPoint.x;
|
|
652
|
+
const dy1 = currPoint.y - prevPoint.y;
|
|
653
|
+
const dx2 = nextPoint.x - currPoint.x;
|
|
654
|
+
const dy2 = nextPoint.y - currPoint.y;
|
|
655
|
+
const len1 = Math.hypot(dx1, dy1);
|
|
656
|
+
const len2 = Math.hypot(dx2, dy2);
|
|
657
|
+
if (len1 < epsilon || len2 < epsilon) {
|
|
658
|
+
path += `L${currPoint.x},${currPoint.y}`;
|
|
659
|
+
continue;
|
|
660
|
+
}
|
|
661
|
+
const nx1 = dx1 / len1;
|
|
662
|
+
const ny1 = dy1 / len1;
|
|
663
|
+
const nx2 = dx2 / len2;
|
|
664
|
+
const ny2 = dy2 / len2;
|
|
665
|
+
const dot = nx1 * nx2 + ny1 * ny2;
|
|
666
|
+
const clampedDot = Math.max(-1, Math.min(1, dot));
|
|
667
|
+
const angle = Math.acos(clampedDot);
|
|
668
|
+
if (angle < epsilon || Math.abs(Math.PI - angle) < epsilon) {
|
|
669
|
+
path += `L${currPoint.x},${currPoint.y}`;
|
|
670
|
+
continue;
|
|
671
|
+
}
|
|
672
|
+
const cutLen = Math.min(radius / Math.sin(angle / 2), len1 / 2, len2 / 2);
|
|
673
|
+
const startX = currPoint.x - nx1 * cutLen;
|
|
674
|
+
const startY = currPoint.y - ny1 * cutLen;
|
|
675
|
+
const endX = currPoint.x + nx2 * cutLen;
|
|
676
|
+
const endY = currPoint.y + ny2 * cutLen;
|
|
677
|
+
path += `L${startX},${startY}`;
|
|
678
|
+
path += `Q${currPoint.x},${currPoint.y} ${endX},${endY}`;
|
|
679
|
+
}
|
|
680
|
+
}
|
|
681
|
+
return path;
|
|
682
|
+
}
|
|
683
|
+
__name(generateRoundedPath, "generateRoundedPath");
|
|
684
|
+
function calculateDeltaAndAngle(point1, point2) {
|
|
685
|
+
if (!point1 || !point2) {
|
|
686
|
+
return { angle: 0, deltaX: 0, deltaY: 0 };
|
|
687
|
+
}
|
|
688
|
+
const deltaX = point2.x - point1.x;
|
|
689
|
+
const deltaY = point2.y - point1.y;
|
|
690
|
+
const angle = Math.atan2(deltaY, deltaX);
|
|
691
|
+
return { angle, deltaX, deltaY };
|
|
692
|
+
}
|
|
693
|
+
__name(calculateDeltaAndAngle, "calculateDeltaAndAngle");
|
|
694
|
+
function applyMarkerOffsetsToPoints(points, edge) {
|
|
695
|
+
const newPoints = points.map((point2) => ({ ...point2 }));
|
|
696
|
+
if (points.length >= 2 && markerOffsets[edge.arrowTypeStart]) {
|
|
697
|
+
const offsetValue = markerOffsets[edge.arrowTypeStart];
|
|
698
|
+
const point1 = points[0];
|
|
699
|
+
const point2 = points[1];
|
|
700
|
+
const { angle } = calculateDeltaAndAngle(point1, point2);
|
|
701
|
+
const offsetX = offsetValue * Math.cos(angle);
|
|
702
|
+
const offsetY = offsetValue * Math.sin(angle);
|
|
703
|
+
newPoints[0].x = point1.x + offsetX;
|
|
704
|
+
newPoints[0].y = point1.y + offsetY;
|
|
705
|
+
}
|
|
706
|
+
const n = points.length;
|
|
707
|
+
if (n >= 2 && markerOffsets[edge.arrowTypeEnd]) {
|
|
708
|
+
const offsetValue = markerOffsets[edge.arrowTypeEnd];
|
|
709
|
+
const point1 = points[n - 1];
|
|
710
|
+
const point2 = points[n - 2];
|
|
711
|
+
const { angle } = calculateDeltaAndAngle(point2, point1);
|
|
712
|
+
const offsetX = offsetValue * Math.cos(angle);
|
|
713
|
+
const offsetY = offsetValue * Math.sin(angle);
|
|
714
|
+
newPoints[n - 1].x = point1.x - offsetX;
|
|
715
|
+
newPoints[n - 1].y = point1.y - offsetY;
|
|
716
|
+
}
|
|
717
|
+
return newPoints;
|
|
718
|
+
}
|
|
719
|
+
__name(applyMarkerOffsetsToPoints, "applyMarkerOffsetsToPoints");
|
|
594
720
|
|
|
595
721
|
// src/rendering-util/rendering-elements/markers.js
|
|
596
722
|
var insertMarkers = /* @__PURE__ */ __name((elem, markerArray, type, id) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkAGHRB4JF = require('./chunk-AGHRB4JF.js');
|
|
4
4
|
|
|
5
5
|
// src/utils/imperativeState.ts
|
|
6
6
|
var ImperativeState = class {
|
|
@@ -12,7 +12,7 @@ var ImperativeState = class {
|
|
|
12
12
|
this.records = this.init();
|
|
13
13
|
}
|
|
14
14
|
static {
|
|
15
|
-
|
|
15
|
+
chunkAGHRB4JF.__name(this, "ImperativeState");
|
|
16
16
|
}
|
|
17
17
|
reset() {
|
|
18
18
|
this.records = this.init();
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkABZYJK2D = require('./chunk-ABZYJK2D.js');
|
|
4
|
+
var chunkAGHRB4JF = require('./chunk-AGHRB4JF.js');
|
|
4
5
|
var index = require('../../../../../../../../_virtual/index.js');
|
|
5
6
|
require('../../../../../../d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/selection/index.js');
|
|
6
7
|
require('../../../../../../d3-zoom@3.0.0/node_modules/d3-zoom/src/transform.js');
|
|
@@ -48,20 +49,20 @@ var d3CurveTypes = {
|
|
|
48
49
|
curveStepBefore: step.stepBefore
|
|
49
50
|
};
|
|
50
51
|
var directiveWithoutOpen = /\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi;
|
|
51
|
-
var detectInit = /* @__PURE__ */
|
|
52
|
+
var detectInit = /* @__PURE__ */ chunkAGHRB4JF.__name(function(text, config) {
|
|
52
53
|
const inits = detectDirective(text, /(?:init\b)|(?:initialize\b)/);
|
|
53
54
|
let results = {};
|
|
54
55
|
if (Array.isArray(inits)) {
|
|
55
56
|
const args = inits.map((init) => init.args);
|
|
56
|
-
|
|
57
|
-
results =
|
|
57
|
+
chunkABZYJK2D.sanitizeDirective(args);
|
|
58
|
+
results = chunkABZYJK2D.assignWithDepth_default(results, [...args]);
|
|
58
59
|
} else {
|
|
59
60
|
results = inits.args;
|
|
60
61
|
}
|
|
61
62
|
if (!results) {
|
|
62
63
|
return;
|
|
63
64
|
}
|
|
64
|
-
let type =
|
|
65
|
+
let type = chunkABZYJK2D.detectType(text, config);
|
|
65
66
|
const prop = "config";
|
|
66
67
|
if (results[prop] !== void 0) {
|
|
67
68
|
if (type === "flowchart-v2") {
|
|
@@ -72,7 +73,7 @@ var detectInit = /* @__PURE__ */ chunk3XYRH5AP.__name(function(text, config) {
|
|
|
72
73
|
}
|
|
73
74
|
return results;
|
|
74
75
|
}, "detectInit");
|
|
75
|
-
var detectDirective = /* @__PURE__ */
|
|
76
|
+
var detectDirective = /* @__PURE__ */ chunkAGHRB4JF.__name(function(text, type = null) {
|
|
76
77
|
try {
|
|
77
78
|
const commentWithoutDirectives = new RegExp(
|
|
78
79
|
`[%]{2}(?![{]${directiveWithoutOpen.source})(?=[}][%]{2}).*
|
|
@@ -80,14 +81,14 @@ var detectDirective = /* @__PURE__ */ chunk3XYRH5AP.__name(function(text, type =
|
|
|
80
81
|
"ig"
|
|
81
82
|
);
|
|
82
83
|
text = text.trim().replace(commentWithoutDirectives, "").replace(/'/gm, '"');
|
|
83
|
-
|
|
84
|
+
chunkAGHRB4JF.log.debug(
|
|
84
85
|
`Detecting diagram directive${type !== null ? " type:" + type : ""} based on the text:${text}`
|
|
85
86
|
);
|
|
86
87
|
let match;
|
|
87
88
|
const result = [];
|
|
88
|
-
while ((match =
|
|
89
|
-
if (match.index ===
|
|
90
|
-
|
|
89
|
+
while ((match = chunkABZYJK2D.directiveRegex.exec(text)) !== null) {
|
|
90
|
+
if (match.index === chunkABZYJK2D.directiveRegex.lastIndex) {
|
|
91
|
+
chunkABZYJK2D.directiveRegex.lastIndex++;
|
|
91
92
|
}
|
|
92
93
|
if (match && !type || type && match[1]?.match(type) || type && match[2]?.match(type)) {
|
|
93
94
|
const type2 = match[1] ? match[1] : match[2];
|
|
@@ -100,16 +101,16 @@ var detectDirective = /* @__PURE__ */ chunk3XYRH5AP.__name(function(text, type =
|
|
|
100
101
|
}
|
|
101
102
|
return result.length === 1 ? result[0] : result;
|
|
102
103
|
} catch (error) {
|
|
103
|
-
|
|
104
|
+
chunkAGHRB4JF.log.error(
|
|
104
105
|
`ERROR: ${error.message} - Unable to parse directive type: '${type}' based on the text: '${text}'`
|
|
105
106
|
);
|
|
106
107
|
return { type: void 0, args: null };
|
|
107
108
|
}
|
|
108
109
|
}, "detectDirective");
|
|
109
|
-
var removeDirectives = /* @__PURE__ */
|
|
110
|
-
return text.replace(
|
|
110
|
+
var removeDirectives = /* @__PURE__ */ chunkAGHRB4JF.__name(function(text) {
|
|
111
|
+
return text.replace(chunkABZYJK2D.directiveRegex, "");
|
|
111
112
|
}, "removeDirectives");
|
|
112
|
-
var isSubstringInArray = /* @__PURE__ */
|
|
113
|
+
var isSubstringInArray = /* @__PURE__ */ chunkAGHRB4JF.__name(function(str, arr) {
|
|
113
114
|
for (const [i, element] of arr.entries()) {
|
|
114
115
|
if (element.match(str)) {
|
|
115
116
|
return i;
|
|
@@ -124,7 +125,7 @@ function interpolateToCurve(interpolate, defaultCurve) {
|
|
|
124
125
|
const curveName = `curve${interpolate.charAt(0).toUpperCase() + interpolate.slice(1)}`;
|
|
125
126
|
return d3CurveTypes[curveName] ?? defaultCurve;
|
|
126
127
|
}
|
|
127
|
-
|
|
128
|
+
chunkAGHRB4JF.__name(interpolateToCurve, "interpolateToCurve");
|
|
128
129
|
function formatUrl(linkStr, config) {
|
|
129
130
|
const url = linkStr.trim();
|
|
130
131
|
if (!url) {
|
|
@@ -135,8 +136,8 @@ function formatUrl(linkStr, config) {
|
|
|
135
136
|
}
|
|
136
137
|
return url;
|
|
137
138
|
}
|
|
138
|
-
|
|
139
|
-
var runFunc = /* @__PURE__ */
|
|
139
|
+
chunkAGHRB4JF.__name(formatUrl, "formatUrl");
|
|
140
|
+
var runFunc = /* @__PURE__ */ chunkAGHRB4JF.__name((functionName, ...params) => {
|
|
140
141
|
const arrPaths = functionName.split(".");
|
|
141
142
|
const len = arrPaths.length - 1;
|
|
142
143
|
const fnName = arrPaths[len];
|
|
@@ -144,7 +145,7 @@ var runFunc = /* @__PURE__ */ chunk3XYRH5AP.__name((functionName, ...params) =>
|
|
|
144
145
|
for (let i = 0; i < len; i++) {
|
|
145
146
|
obj = obj[arrPaths[i]];
|
|
146
147
|
if (!obj) {
|
|
147
|
-
|
|
148
|
+
chunkAGHRB4JF.log.error(`Function name: ${functionName} not found in window`);
|
|
148
149
|
return;
|
|
149
150
|
}
|
|
150
151
|
}
|
|
@@ -156,7 +157,7 @@ function distance(p1, p2) {
|
|
|
156
157
|
}
|
|
157
158
|
return Math.sqrt(Math.pow(p2.x - p1.x, 2) + Math.pow(p2.y - p1.y, 2));
|
|
158
159
|
}
|
|
159
|
-
|
|
160
|
+
chunkAGHRB4JF.__name(distance, "distance");
|
|
160
161
|
function traverseEdge(points) {
|
|
161
162
|
let prevPoint;
|
|
162
163
|
let totalDistance = 0;
|
|
@@ -167,19 +168,19 @@ function traverseEdge(points) {
|
|
|
167
168
|
const remainingDistance = totalDistance / 2;
|
|
168
169
|
return calculatePoint(points, remainingDistance);
|
|
169
170
|
}
|
|
170
|
-
|
|
171
|
+
chunkAGHRB4JF.__name(traverseEdge, "traverseEdge");
|
|
171
172
|
function calcLabelPosition(points) {
|
|
172
173
|
if (points.length === 1) {
|
|
173
174
|
return points[0];
|
|
174
175
|
}
|
|
175
176
|
return traverseEdge(points);
|
|
176
177
|
}
|
|
177
|
-
|
|
178
|
-
var roundNumber = /* @__PURE__ */
|
|
178
|
+
chunkAGHRB4JF.__name(calcLabelPosition, "calcLabelPosition");
|
|
179
|
+
var roundNumber = /* @__PURE__ */ chunkAGHRB4JF.__name((num, precision = 2) => {
|
|
179
180
|
const factor = Math.pow(10, precision);
|
|
180
181
|
return Math.round(num * factor) / factor;
|
|
181
182
|
}, "roundNumber");
|
|
182
|
-
var calculatePoint = /* @__PURE__ */
|
|
183
|
+
var calculatePoint = /* @__PURE__ */ chunkAGHRB4JF.__name((points, distanceToTraverse) => {
|
|
183
184
|
let prevPoint = void 0;
|
|
184
185
|
let remainingDistance = distanceToTraverse;
|
|
185
186
|
for (const point of points) {
|
|
@@ -210,8 +211,8 @@ var calculatePoint = /* @__PURE__ */ chunk3XYRH5AP.__name((points, distanceToTra
|
|
|
210
211
|
}
|
|
211
212
|
throw new Error("Could not find a suitable point for the given distance");
|
|
212
213
|
}, "calculatePoint");
|
|
213
|
-
var calcCardinalityPosition = /* @__PURE__ */
|
|
214
|
-
|
|
214
|
+
var calcCardinalityPosition = /* @__PURE__ */ chunkAGHRB4JF.__name((isRelationTypePresent, points, initialPosition) => {
|
|
215
|
+
chunkAGHRB4JF.log.info(`our points ${JSON.stringify(points)}`);
|
|
215
216
|
if (points[0] !== initialPosition) {
|
|
216
217
|
points = points.reverse();
|
|
217
218
|
}
|
|
@@ -226,7 +227,7 @@ var calcCardinalityPosition = /* @__PURE__ */ chunk3XYRH5AP.__name((isRelationTy
|
|
|
226
227
|
}, "calcCardinalityPosition");
|
|
227
228
|
function calcTerminalLabelPosition(terminalMarkerSize, position, _points) {
|
|
228
229
|
const points = structuredClone(_points);
|
|
229
|
-
|
|
230
|
+
chunkAGHRB4JF.log.info("our points", points);
|
|
230
231
|
if (position !== "start_left" && position !== "start_right") {
|
|
231
232
|
points.reverse();
|
|
232
233
|
}
|
|
@@ -250,7 +251,7 @@ function calcTerminalLabelPosition(terminalMarkerSize, position, _points) {
|
|
|
250
251
|
}
|
|
251
252
|
return cardinalityPosition;
|
|
252
253
|
}
|
|
253
|
-
|
|
254
|
+
chunkAGHRB4JF.__name(calcTerminalLabelPosition, "calcTerminalLabelPosition");
|
|
254
255
|
function getStylesFromArray(arr) {
|
|
255
256
|
let style = "";
|
|
256
257
|
let labelStyle = "";
|
|
@@ -265,9 +266,9 @@ function getStylesFromArray(arr) {
|
|
|
265
266
|
}
|
|
266
267
|
return { style, labelStyle };
|
|
267
268
|
}
|
|
268
|
-
|
|
269
|
+
chunkAGHRB4JF.__name(getStylesFromArray, "getStylesFromArray");
|
|
269
270
|
var cnt = 0;
|
|
270
|
-
var generateId = /* @__PURE__ */
|
|
271
|
+
var generateId = /* @__PURE__ */ chunkAGHRB4JF.__name(() => {
|
|
271
272
|
cnt++;
|
|
272
273
|
return "id-" + Math.random().toString(36).substr(2, 12) + "-" + cnt;
|
|
273
274
|
}, "generateId");
|
|
@@ -280,11 +281,11 @@ function makeRandomHex(length) {
|
|
|
280
281
|
}
|
|
281
282
|
return result;
|
|
282
283
|
}
|
|
283
|
-
|
|
284
|
-
var random = /* @__PURE__ */
|
|
284
|
+
chunkAGHRB4JF.__name(makeRandomHex, "makeRandomHex");
|
|
285
|
+
var random = /* @__PURE__ */ chunkAGHRB4JF.__name((options) => {
|
|
285
286
|
return makeRandomHex(options.length);
|
|
286
287
|
}, "random");
|
|
287
|
-
var getTextObj = /* @__PURE__ */
|
|
288
|
+
var getTextObj = /* @__PURE__ */ chunkAGHRB4JF.__name(function() {
|
|
288
289
|
return {
|
|
289
290
|
x: 0,
|
|
290
291
|
y: 0,
|
|
@@ -300,8 +301,8 @@ var getTextObj = /* @__PURE__ */ chunk3XYRH5AP.__name(function() {
|
|
|
300
301
|
text: ""
|
|
301
302
|
};
|
|
302
303
|
}, "getTextObj");
|
|
303
|
-
var drawSimpleText = /* @__PURE__ */
|
|
304
|
-
const nText = textData.text.replace(
|
|
304
|
+
var drawSimpleText = /* @__PURE__ */ chunkAGHRB4JF.__name(function(elem, textData) {
|
|
305
|
+
const nText = textData.text.replace(chunkABZYJK2D.common_default.lineBreakRegex, " ");
|
|
305
306
|
const [, _fontSizePx] = parseFontSize(textData.fontSize);
|
|
306
307
|
const textElem = elem.append("text");
|
|
307
308
|
textElem.attr("x", textData.x);
|
|
@@ -329,7 +330,7 @@ var wrapLabel = memoize(
|
|
|
329
330
|
{ fontSize: 12, fontWeight: 400, fontFamily: "Arial", joinWith: "<br/>" },
|
|
330
331
|
config
|
|
331
332
|
);
|
|
332
|
-
if (
|
|
333
|
+
if (chunkABZYJK2D.common_default.lineBreakRegex.test(label)) {
|
|
333
334
|
return label;
|
|
334
335
|
}
|
|
335
336
|
const words = label.split(" ").filter(Boolean);
|
|
@@ -387,11 +388,11 @@ var breakString = memoize(
|
|
|
387
388
|
function calculateTextHeight(text, config) {
|
|
388
389
|
return calculateTextDimensions(text, config).height;
|
|
389
390
|
}
|
|
390
|
-
|
|
391
|
+
chunkAGHRB4JF.__name(calculateTextHeight, "calculateTextHeight");
|
|
391
392
|
function calculateTextWidth(text, config) {
|
|
392
393
|
return calculateTextDimensions(text, config).width;
|
|
393
394
|
}
|
|
394
|
-
|
|
395
|
+
chunkAGHRB4JF.__name(calculateTextWidth, "calculateTextWidth");
|
|
395
396
|
var calculateTextDimensions = memoize(
|
|
396
397
|
(text, config) => {
|
|
397
398
|
const { fontSize = 12, fontFamily = "Arial", fontWeight = 400 } = config;
|
|
@@ -400,7 +401,7 @@ var calculateTextDimensions = memoize(
|
|
|
400
401
|
}
|
|
401
402
|
const [, _fontSizePx] = parseFontSize(fontSize);
|
|
402
403
|
const fontFamilies = ["sans-serif", fontFamily];
|
|
403
|
-
const lines = text.split(
|
|
404
|
+
const lines = text.split(chunkABZYJK2D.common_default.lineBreakRegex);
|
|
404
405
|
const dims = [];
|
|
405
406
|
const body = select("body");
|
|
406
407
|
if (!body.remove) {
|
|
@@ -438,11 +439,11 @@ var InitIDGenerator = class {
|
|
|
438
439
|
this.next = deterministic ? () => this.count++ : () => Date.now();
|
|
439
440
|
}
|
|
440
441
|
static {
|
|
441
|
-
|
|
442
|
+
chunkAGHRB4JF.__name(this, "InitIDGenerator");
|
|
442
443
|
}
|
|
443
444
|
};
|
|
444
445
|
var decoder;
|
|
445
|
-
var entityDecode = /* @__PURE__ */
|
|
446
|
+
var entityDecode = /* @__PURE__ */ chunkAGHRB4JF.__name(function(html) {
|
|
446
447
|
decoder = decoder || document.createElement("div");
|
|
447
448
|
html = escape(html).replace(/%26/g, "&").replace(/%23/g, "#").replace(/%3B/g, ";");
|
|
448
449
|
decoder.innerHTML = html;
|
|
@@ -451,8 +452,8 @@ var entityDecode = /* @__PURE__ */ chunk3XYRH5AP.__name(function(html) {
|
|
|
451
452
|
function isDetailedError(error) {
|
|
452
453
|
return "str" in error;
|
|
453
454
|
}
|
|
454
|
-
|
|
455
|
-
var insertTitle = /* @__PURE__ */
|
|
455
|
+
chunkAGHRB4JF.__name(isDetailedError, "isDetailedError");
|
|
456
|
+
var insertTitle = /* @__PURE__ */ chunkAGHRB4JF.__name((parent, cssClass, titleTopMargin, title) => {
|
|
456
457
|
if (!title) {
|
|
457
458
|
return;
|
|
458
459
|
}
|
|
@@ -462,7 +463,7 @@ var insertTitle = /* @__PURE__ */ chunk3XYRH5AP.__name((parent, cssClass, titleT
|
|
|
462
463
|
}
|
|
463
464
|
parent.append("text").text(title).attr("text-anchor", "middle").attr("x", bounds.x + bounds.width / 2).attr("y", -titleTopMargin).attr("class", cssClass);
|
|
464
465
|
}, "insertTitle");
|
|
465
|
-
var parseFontSize = /* @__PURE__ */
|
|
466
|
+
var parseFontSize = /* @__PURE__ */ chunkAGHRB4JF.__name((fontSize) => {
|
|
466
467
|
if (typeof fontSize === "number") {
|
|
467
468
|
return [fontSize, fontSize + "px"];
|
|
468
469
|
}
|
|
@@ -478,9 +479,9 @@ var parseFontSize = /* @__PURE__ */ chunk3XYRH5AP.__name((fontSize) => {
|
|
|
478
479
|
function cleanAndMerge(defaultData, data) {
|
|
479
480
|
return merge({}, defaultData, data);
|
|
480
481
|
}
|
|
481
|
-
|
|
482
|
+
chunkAGHRB4JF.__name(cleanAndMerge, "cleanAndMerge");
|
|
482
483
|
var utils_default = {
|
|
483
|
-
assignWithDepth:
|
|
484
|
+
assignWithDepth: chunkABZYJK2D.assignWithDepth_default,
|
|
484
485
|
wrapLabel,
|
|
485
486
|
calculateTextHeight,
|
|
486
487
|
calculateTextWidth,
|
|
@@ -500,10 +501,11 @@ var utils_default = {
|
|
|
500
501
|
runFunc,
|
|
501
502
|
entityDecode,
|
|
502
503
|
insertTitle,
|
|
504
|
+
isLabelCoordinateInPath,
|
|
503
505
|
parseFontSize,
|
|
504
506
|
InitIDGenerator
|
|
505
507
|
};
|
|
506
|
-
var encodeEntities = /* @__PURE__ */
|
|
508
|
+
var encodeEntities = /* @__PURE__ */ chunkAGHRB4JF.__name(function(text) {
|
|
507
509
|
let txt = text;
|
|
508
510
|
txt = txt.replace(/style.*:\S*#.*;/g, function(s) {
|
|
509
511
|
return s.substring(0, s.length - 1);
|
|
@@ -522,10 +524,10 @@ var encodeEntities = /* @__PURE__ */ chunk3XYRH5AP.__name(function(text) {
|
|
|
522
524
|
});
|
|
523
525
|
return txt;
|
|
524
526
|
}, "encodeEntities");
|
|
525
|
-
var decodeEntities = /* @__PURE__ */
|
|
527
|
+
var decodeEntities = /* @__PURE__ */ chunkAGHRB4JF.__name(function(text) {
|
|
526
528
|
return text.replace(/fl°°/g, "&#").replace(/fl°/g, "&").replace(/¶ß/g, ";");
|
|
527
529
|
}, "decodeEntities");
|
|
528
|
-
var getEdgeId = /* @__PURE__ */
|
|
530
|
+
var getEdgeId = /* @__PURE__ */ chunkAGHRB4JF.__name((from, to, {
|
|
529
531
|
counter = 0,
|
|
530
532
|
prefix,
|
|
531
533
|
suffix
|
|
@@ -538,7 +540,17 @@ var getEdgeId = /* @__PURE__ */ chunk3XYRH5AP.__name((from, to, {
|
|
|
538
540
|
function handleUndefinedAttr(attrValue) {
|
|
539
541
|
return attrValue ?? null;
|
|
540
542
|
}
|
|
541
|
-
|
|
543
|
+
chunkAGHRB4JF.__name(handleUndefinedAttr, "handleUndefinedAttr");
|
|
544
|
+
function isLabelCoordinateInPath(point, dAttr) {
|
|
545
|
+
const roundedX = Math.round(point.x);
|
|
546
|
+
const roundedY = Math.round(point.y);
|
|
547
|
+
const sanitizedD = dAttr.replace(
|
|
548
|
+
/(\d+\.\d+)/g,
|
|
549
|
+
(match) => Math.round(parseFloat(match)).toString()
|
|
550
|
+
);
|
|
551
|
+
return sanitizedD.includes(roundedX.toString()) || sanitizedD.includes(roundedY.toString());
|
|
552
|
+
}
|
|
553
|
+
chunkAGHRB4JF.__name(isLabelCoordinateInPath, "isLabelCoordinateInPath");
|
|
542
554
|
|
|
543
555
|
exports.ZERO_WIDTH_SPACE = ZERO_WIDTH_SPACE;
|
|
544
556
|
exports.calculateTextHeight = calculateTextHeight;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { assignWithDepth_default, directiveRegex, sanitizeDirective, detectType, common_default } from './chunk-ABZYJK2D.mjs';
|
|
2
|
+
import { __name, log } from './chunk-AGHRB4JF.mjs';
|
|
2
3
|
import { d as distExports } from '../../../../../../../../_virtual/index.mjs';
|
|
3
4
|
import '../../../../../../d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/selection/index.mjs';
|
|
4
5
|
import '../../../../../../d3-zoom@3.0.0/node_modules/d3-zoom/src/transform.mjs';
|
|
@@ -498,6 +499,7 @@ var utils_default = {
|
|
|
498
499
|
runFunc,
|
|
499
500
|
entityDecode,
|
|
500
501
|
insertTitle,
|
|
502
|
+
isLabelCoordinateInPath,
|
|
501
503
|
parseFontSize,
|
|
502
504
|
InitIDGenerator
|
|
503
505
|
};
|
|
@@ -537,5 +539,15 @@ function handleUndefinedAttr(attrValue) {
|
|
|
537
539
|
return attrValue ?? null;
|
|
538
540
|
}
|
|
539
541
|
__name(handleUndefinedAttr, "handleUndefinedAttr");
|
|
542
|
+
function isLabelCoordinateInPath(point, dAttr) {
|
|
543
|
+
const roundedX = Math.round(point.x);
|
|
544
|
+
const roundedY = Math.round(point.y);
|
|
545
|
+
const sanitizedD = dAttr.replace(
|
|
546
|
+
/(\d+\.\d+)/g,
|
|
547
|
+
(match) => Math.round(parseFloat(match)).toString()
|
|
548
|
+
);
|
|
549
|
+
return sanitizedD.includes(roundedX.toString()) || sanitizedD.includes(roundedY.toString());
|
|
550
|
+
}
|
|
551
|
+
__name(isLabelCoordinateInPath, "isLabelCoordinateInPath");
|
|
540
552
|
|
|
541
553
|
export { ZERO_WIDTH_SPACE, calculateTextHeight, calculateTextWidth, cleanAndMerge, decodeEntities, encodeEntities, generateId, getEdgeId, getStylesFromArray, handleUndefinedAttr, interpolateToCurve, isDetailedError, parseFontSize, random, removeDirectives, utils_default, wrapLabel };
|