@antdv-next/x 1.0.2-beta.1 → 1.0.2-beta.3
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/actions/Actions.js +1 -1
- package/dist/attachments/index.js +1 -1
- package/dist/code-highlighter/CodeHighlighter.js +24 -7
- package/dist/conversations/index.js +1 -1
- package/dist/file-card/FileCard.js +1 -1
- package/dist/file-card/List.js +1 -1
- package/dist/index.umd.js +73 -32
- package/dist/locale/useLocale.js +1 -1
- package/dist/mermaid/Mermaid.js +1 -1
- package/dist/package.js +1 -1
- package/dist/prompts/Prompts.js +1 -1
- package/dist/sender/Sender.js +1 -1
- package/dist/sender/SenderHeader.js +1 -1
- package/dist/sender/SenderSwitch.js +1 -1
- package/dist/sources/Sources.js +1 -1
- package/dist/suggestion/Suggestion.js +1 -1
- package/dist/theme/genStyleUtils.js +1 -1
- package/dist/think/Think.js +1 -1
- package/dist/thought-chain/Item.js +1 -1
- package/dist/thought-chain/Node.js +1 -1
- package/dist/thought-chain/ThoughtChain.js +1 -1
- package/dist/welcome/index.js +1 -1
- package/dist/x-provider/context.d.ts +5 -1
- package/dist/x-provider/hooks/use-x-provider-context.js +1 -1
- package/dist/x-provider/index.d.ts +47 -0
- package/dist/x-provider/index.js +25 -0
- package/{dist-browser/Serializer-y_SfSPKv.js → es/Serializer-D1JYN1kI.js} +4 -4
- package/{dist-browser/_basePickBy-Cy7KVmkk.js → es/_basePickBy-DZiMKfOQ.js} +23 -23
- package/{dist-browser/_baseUniq-Ch3HuHeT.js → es/_baseUniq-DY3uHjSO.js} +83 -83
- package/es/antdv-next-x.esm.js +21009 -0
- package/{dist-browser/arc-caEkbRYF.js → es/arc-BuXEd18J.js} +3 -3
- package/es/architecture-PBZL5I3N-BdQzc3t9.js +3 -0
- package/{dist-browser/architectureDiagram-2XIMDMQ5-D3IYLROv.js → es/architectureDiagram-2XIMDMQ5-C8x7stcr.js} +85 -85
- package/{dist-browser/blockDiagram-WCTKOSBZ-nXanZ0sc.js → es/blockDiagram-WCTKOSBZ-DA-s3zoq.js} +530 -530
- package/{dist-browser/c4Diagram-IC4MRINW-C-gVp6th.js → es/c4Diagram-IC4MRINW-DD81dyS8.js} +170 -170
- package/es/channel-DZcPzDuw.js +5 -0
- package/{dist-browser/chunk-4BX2VUAB-fLFD6XW0.js → es/chunk-4BX2VUAB-B3zzxglQ.js} +2 -2
- package/{dist-browser/chunk-55IACEB6-OtyKJzCH.js → es/chunk-55IACEB6-CA9CRLkM.js} +2 -2
- package/{dist-browser/chunk-7E7YKBS2-C1dd36rm.js → es/chunk-7E7YKBS2-C_F-WOLQ.js} +2 -2
- package/{dist-browser/chunk-7R4GIKGN-DuTRhdsf.js → es/chunk-7R4GIKGN-CaI-1szl.js} +3 -3
- package/{dist-browser/chunk-C72U2L5F-ClmZGhFC.js → es/chunk-C72U2L5F-l6RZhGri.js} +2 -2
- package/{dist-browser/chunk-EGIJ26TM-Bar_u1MN.js → es/chunk-EGIJ26TM-Be42NeHw.js} +2 -2
- package/{dist-browser/chunk-FMBD7UC4-C_uJ_JJA.js → es/chunk-FMBD7UC4-DJh0L322.js} +2 -2
- package/{dist-browser/chunk-GEFDOKGD-P7WhyrTU.js → es/chunk-GEFDOKGD-BWt_f4io.js} +278 -278
- package/es/chunk-GLR3WWYH-B30PgFZZ.js +41 -0
- package/{dist-browser/chunk-HHEYEP7N-rv5s5WD4.js → es/chunk-HHEYEP7N-DkMnkoQX.js} +3 -3
- package/{dist-browser/chunk-JSJVCQXG-89HUGe9V.js → es/chunk-JSJVCQXG-ddNKdfu8.js} +4 -4
- package/{dist-browser/chunk-KX2RTZJC-pMHnNRQg.js → es/chunk-KX2RTZJC-BbnGQVgL.js} +3 -3
- package/{dist-browser/chunk-KYZI473N-DJmSs1gK.js → es/chunk-KYZI473N-B2rmiORt.js} +573 -573
- package/{dist-browser/chunk-L3YUKLVL-Ck54qytQ.js → es/chunk-L3YUKLVL-CmAZrf2E.js} +2 -2
- package/{dist-browser/chunk-MX3YWQON-MkpK3uBD.js → es/chunk-MX3YWQON-B3_AxMM1.js} +2 -2
- package/{dist-browser/chunk-NQ4KR5QH-DGshodQv.js → es/chunk-NQ4KR5QH-CmCG9ow3.js} +120 -120
- package/{dist-browser/chunk-O4XLMI2P-e-ZzDQwg.js → es/chunk-O4XLMI2P-CTLwv925.js} +238 -238
- package/{dist-browser/chunk-OZEHJAEY-DULNd43V.js → es/chunk-OZEHJAEY-CtONdvqY.js} +2 -2
- package/{dist-browser/chunk-PQ6SQG4A-CQ9Csv7s.js → es/chunk-PQ6SQG4A-Dx7no2mb.js} +3 -3
- package/{dist-browser/chunk-PU5JKC2W-DkEFvrjH.js → es/chunk-PU5JKC2W-O9_8B7zU.js} +76 -76
- package/{dist-browser/chunk-QZHKN3VN-qww1plfw.js → es/chunk-QZHKN3VN-BbuqVxkO.js} +2 -2
- package/{dist-browser/chunk-R5LLSJPH-BERXSDGJ.js → es/chunk-R5LLSJPH-CpwKqyBY.js} +2 -2
- package/{dist-browser/chunk-WL4C6EOR-C-d8WPS7.js → es/chunk-WL4C6EOR-BXrjoxmr.js} +120 -120
- package/{dist-browser/chunk-XIRO2GV7-CFHofxVB.js → es/chunk-XIRO2GV7-4kMze38t.js} +2 -2
- package/{dist-browser/chunk-XPW4576I-DgvoNZkW.js → es/chunk-XPW4576I-DG6JendS.js} +2 -2
- package/{dist-browser/chunk-XZSTWKYB-k8_EXrSa.js → es/chunk-XZSTWKYB-DjOnj3KP.js} +93 -93
- package/{dist-browser/chunk-YBOYWFTD-BUW4AzEX.js → es/chunk-YBOYWFTD-DVAsFYJ-.js} +8 -8
- package/es/classDiagram-VBA2DB6C-wt_pcvEN.js +29 -0
- package/es/classDiagram-v2-RAHNMMFH-B8Bw4b3n.js +29 -0
- package/es/clone-CtpnpaZq.js +8 -0
- package/{dist-browser/cose-bilkent-S5V4N54A-CnrS2OC1.js → es/cose-bilkent-S5V4N54A-IRlkXPnk.js} +3 -3
- package/{dist-browser/css-Dh17kjFY.js → es/css-DyS1hwc1.js} +1 -1
- package/es/css-HrHT_VUz.js +2 -0
- package/{dist-browser/cytoscape.esm-BY3wHcbp.js → es/cytoscape.esm-i2CZcWd-.js} +1 -1
- package/{dist-browser/dagre-BJOzGlhW.js → es/dagre-Dm2PNtRY.js} +57 -57
- package/es/dagre-KLK3FWXG-DLgOeqbz.js +294 -0
- package/{dist-browser/defaultLocale-BaPFSbai.js → es/defaultLocale-bckJcYh1.js} +12 -12
- package/{dist-browser/diagram-E7M64L7V-DxuJj8ZG.js → es/diagram-E7M64L7V-Cdek_47s.js} +83 -83
- package/{dist-browser/diagram-IFDJBPK2-BOpPZ6pu.js → es/diagram-IFDJBPK2-DzCaWPW3.js} +31 -31
- package/{dist-browser/diagram-P4PSJMXO--ChDmcya.js → es/diagram-P4PSJMXO-B7pPaer-.js} +32 -32
- package/{dist-browser/dist-DltyvPj3.js → es/dist-BX_roQzC.js} +1 -1
- package/{dist-browser/erDiagram-INFDFZHY-BA3m-v87.js → es/erDiagram-INFDFZHY-BZHMCNB3.js} +128 -128
- package/{dist-browser/flowDiagram-PKNHOUZH-BCq6k3kr.js → es/flowDiagram-PKNHOUZH-BBJx8-jP.js} +156 -156
- package/{dist-browser/ganttDiagram-A5KZAMGK-DdMePS21.js → es/ganttDiagram-A5KZAMGK-4TJAHJUF.js} +622 -625
- package/es/gitGraph-HDMCJU4V-CGPcRI5K.js +3 -0
- package/{dist-browser/gitGraphDiagram-K3NZZRJ6-CLbRwChG.js → es/gitGraphDiagram-K3NZZRJ6-CSATib_y.js} +176 -176
- package/{dist-browser/graphlib-C7ysKz4u.js → es/graphlib-WtNUGuyd.js} +4 -4
- package/{dist-browser/html-BmZO1Eoo.js → es/html-B6UxjOv0.js} +2 -2
- package/es/html-Hb1oe8XT.js +2 -0
- package/es/info-3K5VOQVL-D6bOjfim.js +3 -0
- package/{dist-browser/infoDiagram-LFFYTUFH-DQAZ-vFk.js → es/infoDiagram-LFFYTUFH-ahqynRAA.js} +5 -5
- package/{dist-browser/init-PAs0hR-b.js → es/init-B75p2clj.js} +1 -1
- package/{dist-browser/isArrayLikeObject-y3HlYDaX.js → es/isArrayLikeObject-D4gDJaEW.js} +80 -80
- package/{dist-browser/isEmpty-2JxdWtc-.js → es/isEmpty-BgdRybYg.js} +3 -3
- package/{dist-browser/ishikawaDiagram-PHBUUO56-B0r2IgGz.js → es/ishikawaDiagram-PHBUUO56-B9NWp429.js} +67 -67
- package/{dist-browser/journeyDiagram-4ABVD52K-DnMUhOvg.js → es/journeyDiagram-4ABVD52K-CXmYa8OF.js} +6 -6
- package/{dist-browser/kanban-definition-K7BYSVSG-Da5Y-nJy.js → es/kanban-definition-K7BYSVSG-g9tToeab.js} +11 -11
- package/{dist-browser/katex-b-xdokOf.js → es/katex-Bvh2oRWI.js} +1 -1
- package/{dist-browser/line-h2iCTGsE.js → es/line-DETnb8Mr.js} +4 -4
- package/{dist-browser/linear-Bv7XrZCH.js → es/linear-DGQDIL28.js} +23 -23
- package/{dist-browser/math-DPzKeDKn.js → es/math-CoDOuve-.js} +1 -1
- package/{dist-browser/mermaid-parser.core-kTgpNO7M.js → es/mermaid-parser.core-DXn-0ev4.js} +16 -16
- package/{dist-browser/mermaid.core-DRuUNxpC.js → es/mermaid.core-W4vXivv8.js} +208 -208
- package/{dist-browser/mindmap-definition-YRQLILUH-CYeqnCde.js → es/mindmap-definition-YRQLILUH-x9QfilEP.js} +16 -16
- package/{dist-browser/ordinal-D8PKtxfM.js → es/ordinal-F3U6aXtP.js} +3 -3
- package/es/packet-RMMSAZCW-CW6reTze.js +3 -0
- package/{dist-browser/path-DZ-6AyWK.js → es/path-Dm3C8WEs.js} +3 -3
- package/es/pie-UPGHQEXC-ByJXXnsc.js +3 -0
- package/{dist-browser/pieDiagram-SKSYHLDU-DAsfTGvY.js → es/pieDiagram-SKSYHLDU-CG2GOW6Z.js} +32 -32
- package/{dist-browser/quadrantDiagram-337W2JSQ-CZLbmQS4.js → es/quadrantDiagram-337W2JSQ-C81pfz0c.js} +4 -4
- package/es/radar-KQ55EAFF-DLq-eYVH.js +3 -0
- package/{dist-browser/requirementDiagram-Z7DCOOCP-Cb_Ygnfe.js → es/requirementDiagram-Z7DCOOCP-J-tc0fnw.js} +59 -59
- package/{dist-browser/rough.esm-C_hJ3ICT.js → es/rough.esm-BhGP2Udb.js} +1 -1
- package/{dist-browser/sankeyDiagram-WA2Y5GQK-DBe5YfW4.js → es/sankeyDiagram-WA2Y5GQK-BfGyH2f1.js} +18 -18
- package/{dist-browser/sequenceDiagram-2WXFIKYE-C_KUoojT.js → es/sequenceDiagram-2WXFIKYE-m6aSnjku.js} +390 -390
- package/{dist-browser/src-BukXhifV.js → es/src-CFVe5TPD.js} +86 -86
- package/{dist-browser/stateDiagram-RAJIS63D-boG6DyfW.js → es/stateDiagram-RAJIS63D-CPJuOh-s.js} +68 -68
- package/es/stateDiagram-v2-FVOUBMTO-uxSkj8dH.js +27 -0
- package/{dist-browser/timeline-definition-YZTLITO2-pFt6rZ6S.js → es/timeline-definition-YZTLITO2-C7Vz32PK.js} +4 -4
- package/es/treemap-KZPCXAKY-BhLuAwPA.js +3 -0
- package/{dist-browser/vennDiagram-LZ73GAT5-VaCO6k4H.js → es/vennDiagram-LZ73GAT5-BWloH3fI.js} +107 -107
- package/{dist-browser/vue-BJ0ov2CZ.js → es/vue-2aJw7p5p.js} +3 -3
- package/{dist-browser/vue-html-D0gyDbfn.js → es/vue-html-DEjI8X9t.js} +1 -1
- package/{dist-browser/xychartDiagram-JWTSCODW-xS5ybemA.js → es/xychartDiagram-JWTSCODW-l-SVBlqB.js} +103 -103
- package/package.json +13 -11
- package/dist/index.esm.js +0 -11377
- package/dist-browser/architecture-PBZL5I3N-DHfBr78A.js +0 -3
- package/dist-browser/channel-DoEe9DF9.js +0 -5
- package/dist-browser/chunk-GLR3WWYH-BvazRgdo.js +0 -41
- package/dist-browser/classDiagram-VBA2DB6C-DWTAs0Zm.js +0 -29
- package/dist-browser/classDiagram-v2-RAHNMMFH-CoxCdmrt.js +0 -29
- package/dist-browser/clone-BXDbKCDu.js +0 -8
- package/dist-browser/css-D9vrnIUE.js +0 -2
- package/dist-browser/dagre-KLK3FWXG-CFC0naVr.js +0 -294
- package/dist-browser/gitGraph-HDMCJU4V-DbzpICZW.js +0 -3
- package/dist-browser/html-DnTYsv5k.js +0 -2
- package/dist-browser/index.es.js +0 -56150
- package/dist-browser/index.umd.js +0 -3281
- package/dist-browser/info-3K5VOQVL-CpUiQuel.js +0 -3
- package/dist-browser/packet-RMMSAZCW-UTFQ0FQx.js +0 -3
- package/dist-browser/pie-UPGHQEXC-CarAcBSi.js +0 -3
- package/dist-browser/radar-KQ55EAFF-NXK5PC9R.js +0 -3
- package/dist-browser/stateDiagram-v2-FVOUBMTO-DHCajhrN.js +0 -27
- package/dist-browser/treemap-KZPCXAKY-Cj9QakFB.js +0 -3
- /package/{dist-browser → es}/array-CWNufkl9.js +0 -0
- /package/{dist-browser → es}/bash-CXEwhtGQ.js +0 -0
- /package/{dist-browser → es}/chunk-WQLz0Won.js +0 -0
- /package/{dist-browser → es}/diff-BSu5dsa2.js +0 -0
- /package/{dist-browser → es}/javascript-BXHK_bZ2.js +0 -0
- /package/{dist-browser → es}/javascript-NV_FQBab.js +0 -0
- /package/{dist-browser → es}/json-C8Y9C4Ne.js +0 -0
- /package/{dist-browser → es}/json-DZ_9-j3Q.js +0 -0
- /package/{dist-browser → es}/jsx-CxlNNvOI.js +0 -0
- /package/{dist-browser → es}/markdown-BKwT7HWz.js +0 -0
- /package/{dist-browser → es}/mermaid-C1RUu_Iw.js +0 -0
- /package/{dist-browser → es}/python-BQM8giqx.js +0 -0
- /package/{dist-browser → es}/tsx-DIYEV_g7.js +0 -0
- /package/{dist-browser → es}/typescript-B6MWEsBH.js +0 -0
- /package/{dist-browser → es}/typescript-CR48gG1F.js +0 -0
- /package/{dist-browser → es}/yaml-Y0CqUPTQ.js +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./javascript-BXHK_bZ2.js";
|
|
2
|
-
//#region node_modules/@shikijs/langs/dist/vue-html.mjs
|
|
2
|
+
//#region ../../node_modules/.pnpm/@shikijs+langs@3.23.0/node_modules/@shikijs/langs/dist/vue-html.mjs
|
|
3
3
|
var t = Object.freeze(JSON.parse("{\"displayName\":\"Vue HTML\",\"fileTypes\":[],\"name\":\"vue-html\",\"patterns\":[{\"include\":\"source.vue#vue-interpolations\"},{\"begin\":\"(<)([A-Z][-0-:A-Za-z]*)(?=[^>]*></\\\\2>)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.html\"},\"2\":{\"name\":\"support.class.component.html\"}},\"end\":\"(>)(<)(/)(\\\\2)(>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.end.html\"},\"2\":{\"name\":\"punctuation.definition.tag.begin.html meta.scope.between-tag-pair.html\"},\"3\":{\"name\":\"punctuation.definition.tag.begin.html\"},\"4\":{\"name\":\"support.class.component.html\"},\"5\":{\"name\":\"punctuation.definition.tag.end.html\"}},\"name\":\"meta.tag.any.html\",\"patterns\":[{\"include\":\"#tag-stuff\"}]},{\"begin\":\"(<)([a-z][-0-:A-Za-z]*)(?=[^>]*></\\\\2>)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.html\"},\"2\":{\"name\":\"entity.name.tag.html\"}},\"end\":\"(>)(<)(/)(\\\\2)(>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.end.html\"},\"2\":{\"name\":\"punctuation.definition.tag.begin.html meta.scope.between-tag-pair.html\"},\"3\":{\"name\":\"punctuation.definition.tag.begin.html\"},\"4\":{\"name\":\"entity.name.tag.html\"},\"5\":{\"name\":\"punctuation.definition.tag.end.html\"}},\"name\":\"meta.tag.any.html\",\"patterns\":[{\"include\":\"#tag-stuff\"}]},{\"begin\":\"(<\\\\?)(xml)\",\"captures\":{\"1\":{\"name\":\"punctuation.definition.tag.html\"},\"2\":{\"name\":\"entity.name.tag.xml.html\"}},\"end\":\"(\\\\?>)\",\"name\":\"meta.tag.preprocessor.xml.html\",\"patterns\":[{\"include\":\"#tag-generic-attribute\"},{\"include\":\"#string-double-quoted\"},{\"include\":\"#string-single-quoted\"}]},{\"begin\":\"<!--\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.comment.html\"}},\"end\":\"-->\",\"name\":\"comment.block.html\"},{\"begin\":\"<!\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.tag.html\"}},\"end\":\">\",\"name\":\"meta.tag.sgml.html\",\"patterns\":[{\"begin\":\"(?i:DOCTYPE)\",\"captures\":{\"1\":{\"name\":\"entity.name.tag.doctype.html\"}},\"end\":\"(?=>)\",\"name\":\"meta.tag.sgml.doctype.html\",\"patterns\":[{\"match\":\"\\\"[^\\\">]*\\\"\",\"name\":\"string.quoted.double.doctype.identifiers-and-DTDs.html\"}]},{\"begin\":\"\\\\[CDATA\\\\[\",\"end\":\"]](?=>)\",\"name\":\"constant.other.inline-data.html\"},{\"match\":\"(\\\\s*)(?!--|>)\\\\S(\\\\s*)\",\"name\":\"invalid.illegal.bad-comments-or-CDATA.html\"}]},{\"begin\":\"(</?)([A-Z][-0-:A-Za-z]*)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.html\"},\"2\":{\"name\":\"support.class.component.html\"}},\"end\":\"(>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.end.html\"}},\"name\":\"meta.tag.block.any.html\",\"patterns\":[{\"include\":\"#tag-stuff\"}]},{\"begin\":\"(</?)([a-z][-0-:A-Za-z]*)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.html\"},\"2\":{\"name\":\"entity.name.tag.block.any.html\"}},\"end\":\"(>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.end.html\"}},\"name\":\"meta.tag.block.any.html\",\"patterns\":[{\"include\":\"#tag-stuff\"}]},{\"begin\":\"(</?)((?i:body|head|html))\\\\b\",\"captures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.html\"},\"2\":{\"name\":\"entity.name.tag.structure.any.html\"}},\"end\":\"(>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.end.html\"}},\"name\":\"meta.tag.structure.any.html\",\"patterns\":[{\"include\":\"#tag-stuff\"}]},{\"begin\":\"(</?)((?i:address|blockquote|dd|div|dl|dt|fieldset|form|frame|frameset|h1|h2|h3|h4|h5|h6|iframe|noframes|object|ol|p|ul|applet|center|dir|hr|menu|pre)(?!-))\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.html\"},\"2\":{\"name\":\"entity.name.tag.block.any.html\"}},\"end\":\"(>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.end.html\"}},\"name\":\"meta.tag.block.any.html\",\"patterns\":[{\"include\":\"#tag-stuff\"}]},{\"begin\":\"(</?)((?i:a|abbr|acronym|area|b|base|basefont|bdo|big|br|button|caption|cite|code|col|colgroup|del|dfn|em|font|head|html|i|img|input|ins|isindex|kbd|label|legend|li|link|map|meta|noscript|optgroup|option|param|[qs]|samp|script|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|title|tr|tt|u|var)(?!-))\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.html\"},\"2\":{\"name\":\"entity.name.tag.inline.any.html\"}},\"end\":\"(/?>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.end.html\"}},\"name\":\"meta.tag.inline.any.html\",\"patterns\":[{\"include\":\"#tag-stuff\"}]},{\"begin\":\"(</?)([-0-:A-Za-z]+)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.html\"},\"2\":{\"name\":\"entity.name.tag.other.html\"}},\"end\":\"(/?>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.end.html\"}},\"name\":\"meta.tag.other.html\",\"patterns\":[{\"include\":\"#tag-stuff\"}]},{\"include\":\"#entities\"},{\"match\":\"<>\",\"name\":\"invalid.illegal.incomplete.html\"},{\"match\":\"<\",\"name\":\"invalid.illegal.bad-angle-bracket.html\"}],\"repository\":{\"entities\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"punctuation.definition.entity.html\"},\"3\":{\"name\":\"punctuation.definition.entity.html\"}},\"match\":\"(&)([0-9A-Za-z]+|#[0-9]+|#x\\\\h+)(;)\",\"name\":\"constant.character.entity.html\"},{\"match\":\"&\",\"name\":\"invalid.illegal.bad-ampersand.html\"}]},\"string-double-quoted\":{\"begin\":\"\\\"\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.html\"}},\"end\":\"\\\"\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.html\"}},\"name\":\"string.quoted.double.html\",\"patterns\":[{\"include\":\"source.vue#vue-interpolations\"},{\"include\":\"#entities\"}]},\"string-single-quoted\":{\"begin\":\"'\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.html\"}},\"end\":\"'\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.html\"}},\"name\":\"string.quoted.single.html\",\"patterns\":[{\"include\":\"source.vue#vue-interpolations\"},{\"include\":\"#entities\"}]},\"tag-generic-attribute\":{\"match\":\"(?<=[^=])\\\\b([-0-:A-Z_a-z]+)\",\"name\":\"entity.other.attribute-name.html\"},\"tag-id-attribute\":{\"begin\":\"\\\\b(id)\\\\b\\\\s*(=)\",\"captures\":{\"1\":{\"name\":\"entity.other.attribute-name.id.html\"},\"2\":{\"name\":\"punctuation.separator.key-value.html\"}},\"end\":\"(?!\\\\G)(?<=[\\\"'[^/<>\\\\s]])\",\"name\":\"meta.attribute-with-value.id.html\",\"patterns\":[{\"begin\":\"\\\"\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.html\"}},\"contentName\":\"meta.toc-list.id.html\",\"end\":\"\\\"\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.html\"}},\"name\":\"string.quoted.double.html\",\"patterns\":[{\"include\":\"source.vue#vue-interpolations\"},{\"include\":\"#entities\"}]},{\"begin\":\"'\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.html\"}},\"contentName\":\"meta.toc-list.id.html\",\"end\":\"'\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.html\"}},\"name\":\"string.quoted.single.html\",\"patterns\":[{\"include\":\"source.vue#vue-interpolations\"},{\"include\":\"#entities\"}]},{\"captures\":{\"0\":{\"name\":\"meta.toc-list.id.html\"}},\"match\":\"(?<==)(?:[^\\\"'/<>\\\\s]|/(?!>))+\",\"name\":\"string.unquoted.html\"}]},\"tag-stuff\":{\"patterns\":[{\"include\":\"#vue-directives\"},{\"include\":\"#tag-id-attribute\"},{\"include\":\"#tag-generic-attribute\"},{\"include\":\"#string-double-quoted\"},{\"include\":\"#string-single-quoted\"},{\"include\":\"#unquoted-attribute\"}]},\"unquoted-attribute\":{\"match\":\"(?<==)(?:[^\\\"'/<>\\\\s]|/(?!>))+\",\"name\":\"string.unquoted.html\"},\"vue-directives\":{\"begin\":\"(?:\\\\b(v-)|([#:@]))([-0-9A-Z_a-z]+)(?::([-A-Z_a-z]+))?(?:\\\\.([-A-Z_a-z]+))*\\\\s*(=)\",\"captures\":{\"1\":{\"name\":\"entity.other.attribute-name.html\"},\"2\":{\"name\":\"punctuation.separator.key-value.html\"},\"3\":{\"name\":\"entity.other.attribute-name.html\"},\"4\":{\"name\":\"entity.other.attribute-name.html\"},\"5\":{\"name\":\"entity.other.attribute-name.html\"},\"6\":{\"name\":\"punctuation.separator.key-value.html\"}},\"end\":\"(?<=[\\\"'])|(?=[<>`\\\\s])\",\"name\":\"meta.directive.vue\",\"patterns\":[{\"begin\":\"`\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.html\"}},\"end\":\"`\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.html\"}},\"name\":\"source.directive.vue\",\"patterns\":[{\"include\":\"source.js#expression\"}]},{\"begin\":\"\\\"\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.html\"}},\"end\":\"\\\"\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.html\"}},\"name\":\"source.directive.vue\",\"patterns\":[{\"include\":\"source.js#expression\"}]},{\"begin\":\"'\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.html\"}},\"end\":\"'\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.html\"}},\"name\":\"source.directive.vue\",\"patterns\":[{\"include\":\"source.js#expression\"}]}]}},\"scopeName\":\"text.html.vue-html\",\"embeddedLangs\":[\"javascript\"],\"embeddedLangsLazy\":[]}")), n = [...e, t];
|
|
4
4
|
//#endregion
|
|
5
5
|
export { n as default };
|
package/{dist-browser/xychartDiagram-JWTSCODW-xS5ybemA.js → es/xychartDiagram-JWTSCODW-l-SVBlqB.js}
RENAMED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { B as r, C as i, E as a, L as o, V as s, W as c, _ as l, a as u, c as d, d as f, v as p, y as m } from "./chunk-7R4GIKGN-
|
|
4
|
-
import { t as h } from "./linear-
|
|
5
|
-
import { t as g } from "./ordinal-
|
|
6
|
-
import { t as _ } from "./init-
|
|
7
|
-
import { t as v } from "./line-
|
|
8
|
-
import { t as y } from "./chunk-HHEYEP7N-
|
|
9
|
-
import { t as b } from "./chunk-PU5JKC2W-
|
|
10
|
-
//#region ../../node_modules/d3-array/src/range.js
|
|
1
|
+
import { r as e } from "./chunk-GEFDOKGD-BWt_f4io.js";
|
|
2
|
+
import { g as t, h as n } from "./src-CFVe5TPD.js";
|
|
3
|
+
import { B as r, C as i, E as a, L as o, V as s, W as c, _ as l, a as u, c as d, d as f, v as p, y as m } from "./chunk-7R4GIKGN-CaI-1szl.js";
|
|
4
|
+
import { t as h } from "./linear-DGQDIL28.js";
|
|
5
|
+
import { t as g } from "./ordinal-F3U6aXtP.js";
|
|
6
|
+
import { t as _ } from "./init-B75p2clj.js";
|
|
7
|
+
import { t as v } from "./line-DETnb8Mr.js";
|
|
8
|
+
import { t as y } from "./chunk-HHEYEP7N-DkMnkoQX.js";
|
|
9
|
+
import { t as b } from "./chunk-PU5JKC2W-O9_8B7zU.js";
|
|
10
|
+
//#region ../../node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/range.js
|
|
11
11
|
function x(e, t, n) {
|
|
12
12
|
e = +e, t = +t, n = (i = arguments.length) < 2 ? (t = e, e = 0, 1) : i < 3 ? 1 : +n;
|
|
13
13
|
for (var r = -1, i = Math.max(0, Math.ceil((t - e) / n)) | 0, a = Array(i); ++r < i;) a[r] = e + r * n;
|
|
14
14
|
return a;
|
|
15
15
|
}
|
|
16
16
|
//#endregion
|
|
17
|
-
//#region ../../node_modules/d3-scale/src/band.js
|
|
17
|
+
//#region ../../node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/band.js
|
|
18
18
|
function S() {
|
|
19
19
|
var e = g().unknown(void 0), t = e.domain, n = e.range, r = 0, i = 1, a, o, s = !1, c = 0, l = 0, u = .5;
|
|
20
20
|
delete e.unknown;
|
|
@@ -51,12 +51,12 @@ function S() {
|
|
|
51
51
|
}, _.apply(d(), arguments);
|
|
52
52
|
}
|
|
53
53
|
//#endregion
|
|
54
|
-
//#region ../../node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-JWTSCODW.mjs
|
|
54
|
+
//#region ../../node_modules/.pnpm/mermaid@11.13.0/node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-JWTSCODW.mjs
|
|
55
55
|
var C = (function() {
|
|
56
|
-
var e = /* @__PURE__ */
|
|
56
|
+
var e = /* @__PURE__ */ n(function(e, t, n, r) {
|
|
57
57
|
for (n ||= {}, r = e.length; r--; n[e[r]] = t);
|
|
58
58
|
return n;
|
|
59
|
-
}, "o"),
|
|
59
|
+
}, "o"), t = [
|
|
60
60
|
1,
|
|
61
61
|
10,
|
|
62
62
|
12,
|
|
@@ -138,7 +138,7 @@ var C = (function() {
|
|
|
138
138
|
49,
|
|
139
139
|
50
|
|
140
140
|
], O = [1, 64], k = {
|
|
141
|
-
trace: /* @__PURE__ */
|
|
141
|
+
trace: /* @__PURE__ */ n(function() {}, "trace"),
|
|
142
142
|
yy: {},
|
|
143
143
|
symbols_: {
|
|
144
144
|
error: 2,
|
|
@@ -282,7 +282,7 @@ var C = (function() {
|
|
|
282
282
|
[40, 1],
|
|
283
283
|
[40, 1]
|
|
284
284
|
],
|
|
285
|
-
performAction: /* @__PURE__ */
|
|
285
|
+
performAction: /* @__PURE__ */ n(function(e, t, n, r, i, a, o) {
|
|
286
286
|
var s = a.length - 1;
|
|
287
287
|
switch (i) {
|
|
288
288
|
case 5:
|
|
@@ -394,7 +394,7 @@ var C = (function() {
|
|
|
394
394
|
}
|
|
395
395
|
}, "anonymous"),
|
|
396
396
|
table: [
|
|
397
|
-
e(
|
|
397
|
+
e(t, r, {
|
|
398
398
|
3: 1,
|
|
399
399
|
4: 2,
|
|
400
400
|
7: 4,
|
|
@@ -404,7 +404,7 @@ var C = (function() {
|
|
|
404
404
|
36: s
|
|
405
405
|
}),
|
|
406
406
|
{ 1: [3] },
|
|
407
|
-
e(
|
|
407
|
+
e(t, r, {
|
|
408
408
|
4: 2,
|
|
409
409
|
7: 4,
|
|
410
410
|
3: 8,
|
|
@@ -413,7 +413,7 @@ var C = (function() {
|
|
|
413
413
|
35: o,
|
|
414
414
|
36: s
|
|
415
415
|
}),
|
|
416
|
-
e(
|
|
416
|
+
e(t, r, {
|
|
417
417
|
4: 2,
|
|
418
418
|
7: 4,
|
|
419
419
|
6: 9,
|
|
@@ -440,7 +440,7 @@ var C = (function() {
|
|
|
440
440
|
e(c, [2, 35]),
|
|
441
441
|
e(c, [2, 36]),
|
|
442
442
|
{ 1: [2, 1] },
|
|
443
|
-
e(
|
|
443
|
+
e(t, r, {
|
|
444
444
|
4: 2,
|
|
445
445
|
7: 4,
|
|
446
446
|
3: 21,
|
|
@@ -451,7 +451,7 @@ var C = (function() {
|
|
|
451
451
|
}),
|
|
452
452
|
{ 1: [2, 3] },
|
|
453
453
|
e(c, [2, 5]),
|
|
454
|
-
e(
|
|
454
|
+
e(t, [2, 7], {
|
|
455
455
|
4: 22,
|
|
456
456
|
34: a,
|
|
457
457
|
35: o,
|
|
@@ -690,15 +690,15 @@ var C = (function() {
|
|
|
690
690
|
72: [2, 28],
|
|
691
691
|
73: [2, 20]
|
|
692
692
|
},
|
|
693
|
-
parseError: /* @__PURE__ */
|
|
693
|
+
parseError: /* @__PURE__ */ n(function(e, t) {
|
|
694
694
|
if (t.recoverable) this.trace(e);
|
|
695
695
|
else {
|
|
696
696
|
var n = Error(e);
|
|
697
697
|
throw n.hash = t, n;
|
|
698
698
|
}
|
|
699
699
|
}, "parseError"),
|
|
700
|
-
parse: /* @__PURE__ */
|
|
701
|
-
var
|
|
700
|
+
parse: /* @__PURE__ */ n(function(e) {
|
|
701
|
+
var t = this, r = [0], i = [], a = [null], o = [], s = this.table, c = "", l = 0, u = 0, d = 0, f = 2, p = 1, m = o.slice.call(arguments, 1), h = Object.create(this.lexer), g = { yy: {} };
|
|
702
702
|
for (var _ in this.yy) Object.prototype.hasOwnProperty.call(this.yy, _) && (g.yy[_] = this.yy[_]);
|
|
703
703
|
h.setInput(e, g.yy), g.yy.lexer = h, g.yy.parser = this, h.yylloc === void 0 && (h.yylloc = {});
|
|
704
704
|
var v = h.yylloc;
|
|
@@ -708,12 +708,12 @@ var C = (function() {
|
|
|
708
708
|
function b(e) {
|
|
709
709
|
r.length -= 2 * e, a.length -= e, o.length -= e;
|
|
710
710
|
}
|
|
711
|
-
|
|
711
|
+
n(b, "popStack");
|
|
712
712
|
function x() {
|
|
713
713
|
var e = i.pop() || h.lex() || p;
|
|
714
|
-
return typeof e != "number" && (e instanceof Array && (i = e, e = i.pop()), e =
|
|
714
|
+
return typeof e != "number" && (e instanceof Array && (i = e, e = i.pop()), e = t.symbols_[e] || e), e;
|
|
715
715
|
}
|
|
716
|
-
|
|
716
|
+
n(x, "lex");
|
|
717
717
|
for (var S, C, w, T, E, D = {}, O, k, A, j;;) {
|
|
718
718
|
if (w = r[r.length - 1], this.defaultActions[w] ? T = this.defaultActions[w] : (S ??= x(), T = s[w] && s[w][S]), T === void 0 || !T.length || !T[0]) {
|
|
719
719
|
var M = "";
|
|
@@ -757,11 +757,11 @@ var C = (function() {
|
|
|
757
757
|
k.lexer = /* @__PURE__ */ (function() {
|
|
758
758
|
return {
|
|
759
759
|
EOF: 1,
|
|
760
|
-
parseError: /* @__PURE__ */
|
|
760
|
+
parseError: /* @__PURE__ */ n(function(e, t) {
|
|
761
761
|
if (this.yy.parser) this.yy.parser.parseError(e, t);
|
|
762
762
|
else throw Error(e);
|
|
763
763
|
}, "parseError"),
|
|
764
|
-
setInput: /* @__PURE__ */
|
|
764
|
+
setInput: /* @__PURE__ */ n(function(e, t) {
|
|
765
765
|
return this.yy = t || this.yy || {}, this._input = e, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
|
|
766
766
|
first_line: 1,
|
|
767
767
|
first_column: 0,
|
|
@@ -769,11 +769,11 @@ var C = (function() {
|
|
|
769
769
|
last_column: 0
|
|
770
770
|
}, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
|
|
771
771
|
}, "setInput"),
|
|
772
|
-
input: /* @__PURE__ */
|
|
772
|
+
input: /* @__PURE__ */ n(function() {
|
|
773
773
|
var e = this._input[0];
|
|
774
774
|
return this.yytext += e, this.yyleng++, this.offset++, this.match += e, this.matched += e, e.match(/(?:\r\n?|\n).*/g) ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), e;
|
|
775
775
|
}, "input"),
|
|
776
|
-
unput: /* @__PURE__ */
|
|
776
|
+
unput: /* @__PURE__ */ n(function(e) {
|
|
777
777
|
var t = e.length, n = e.split(/(?:\r\n?|\n)/g);
|
|
778
778
|
this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - t), this.offset -= t;
|
|
779
779
|
var r = this.match.split(/(?:\r\n?|\n)/g);
|
|
@@ -786,10 +786,10 @@ var C = (function() {
|
|
|
786
786
|
last_column: n ? (n.length === r.length ? this.yylloc.first_column : 0) + r[r.length - n.length].length - n[0].length : this.yylloc.first_column - t
|
|
787
787
|
}, this.options.ranges && (this.yylloc.range = [i[0], i[0] + this.yyleng - t]), this.yyleng = this.yytext.length, this;
|
|
788
788
|
}, "unput"),
|
|
789
|
-
more: /* @__PURE__ */
|
|
789
|
+
more: /* @__PURE__ */ n(function() {
|
|
790
790
|
return this._more = !0, this;
|
|
791
791
|
}, "more"),
|
|
792
|
-
reject: /* @__PURE__ */
|
|
792
|
+
reject: /* @__PURE__ */ n(function() {
|
|
793
793
|
if (this.options.backtrack_lexer) this._backtrack = !0;
|
|
794
794
|
else return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n" + this.showPosition(), {
|
|
795
795
|
text: "",
|
|
@@ -798,22 +798,22 @@ var C = (function() {
|
|
|
798
798
|
});
|
|
799
799
|
return this;
|
|
800
800
|
}, "reject"),
|
|
801
|
-
less: /* @__PURE__ */
|
|
801
|
+
less: /* @__PURE__ */ n(function(e) {
|
|
802
802
|
this.unput(this.match.slice(e));
|
|
803
803
|
}, "less"),
|
|
804
|
-
pastInput: /* @__PURE__ */
|
|
804
|
+
pastInput: /* @__PURE__ */ n(function() {
|
|
805
805
|
var e = this.matched.substr(0, this.matched.length - this.match.length);
|
|
806
806
|
return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
|
|
807
807
|
}, "pastInput"),
|
|
808
|
-
upcomingInput: /* @__PURE__ */
|
|
808
|
+
upcomingInput: /* @__PURE__ */ n(function() {
|
|
809
809
|
var e = this.match;
|
|
810
810
|
return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
|
|
811
811
|
}, "upcomingInput"),
|
|
812
|
-
showPosition: /* @__PURE__ */
|
|
812
|
+
showPosition: /* @__PURE__ */ n(function() {
|
|
813
813
|
var e = this.pastInput(), t = Array(e.length + 1).join("-");
|
|
814
814
|
return e + this.upcomingInput() + "\n" + t + "^";
|
|
815
815
|
}, "showPosition"),
|
|
816
|
-
test_match: /* @__PURE__ */
|
|
816
|
+
test_match: /* @__PURE__ */ n(function(e, t) {
|
|
817
817
|
var n, r, i;
|
|
818
818
|
if (this.options.backtrack_lexer && (i = {
|
|
819
819
|
yylineno: this.yylineno,
|
|
@@ -846,7 +846,7 @@ var C = (function() {
|
|
|
846
846
|
}
|
|
847
847
|
return !1;
|
|
848
848
|
}, "test_match"),
|
|
849
|
-
next: /* @__PURE__ */
|
|
849
|
+
next: /* @__PURE__ */ n(function() {
|
|
850
850
|
if (this.done) return this.EOF;
|
|
851
851
|
this._input || (this.done = !0);
|
|
852
852
|
var e, t, n, r;
|
|
@@ -866,29 +866,29 @@ var C = (function() {
|
|
|
866
866
|
line: this.yylineno
|
|
867
867
|
});
|
|
868
868
|
}, "next"),
|
|
869
|
-
lex: /* @__PURE__ */
|
|
869
|
+
lex: /* @__PURE__ */ n(function() {
|
|
870
870
|
return this.next() || this.lex();
|
|
871
871
|
}, "lex"),
|
|
872
|
-
begin: /* @__PURE__ */
|
|
872
|
+
begin: /* @__PURE__ */ n(function(e) {
|
|
873
873
|
this.conditionStack.push(e);
|
|
874
874
|
}, "begin"),
|
|
875
|
-
popState: /* @__PURE__ */
|
|
875
|
+
popState: /* @__PURE__ */ n(function() {
|
|
876
876
|
return this.conditionStack.length - 1 > 0 ? this.conditionStack.pop() : this.conditionStack[0];
|
|
877
877
|
}, "popState"),
|
|
878
|
-
_currentRules: /* @__PURE__ */
|
|
878
|
+
_currentRules: /* @__PURE__ */ n(function() {
|
|
879
879
|
return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
|
|
880
880
|
}, "_currentRules"),
|
|
881
|
-
topState: /* @__PURE__ */
|
|
881
|
+
topState: /* @__PURE__ */ n(function(e) {
|
|
882
882
|
return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
|
|
883
883
|
}, "topState"),
|
|
884
|
-
pushState: /* @__PURE__ */
|
|
884
|
+
pushState: /* @__PURE__ */ n(function(e) {
|
|
885
885
|
this.begin(e);
|
|
886
886
|
}, "pushState"),
|
|
887
|
-
stateStackSize: /* @__PURE__ */
|
|
887
|
+
stateStackSize: /* @__PURE__ */ n(function() {
|
|
888
888
|
return this.conditionStack.length;
|
|
889
889
|
}, "stateStackSize"),
|
|
890
890
|
options: { "case-insensitive": !0 },
|
|
891
|
-
performAction: /* @__PURE__ */
|
|
891
|
+
performAction: /* @__PURE__ */ n(function(e, t, n, r) {
|
|
892
892
|
switch (n) {
|
|
893
893
|
case 0: break;
|
|
894
894
|
case 1: break;
|
|
@@ -1233,28 +1233,28 @@ var C = (function() {
|
|
|
1233
1233
|
function A() {
|
|
1234
1234
|
this.yy = {};
|
|
1235
1235
|
}
|
|
1236
|
-
return
|
|
1236
|
+
return n(A, "Parser"), A.prototype = k, k.Parser = A, new A();
|
|
1237
1237
|
})();
|
|
1238
1238
|
C.parser = C;
|
|
1239
1239
|
var w = C;
|
|
1240
1240
|
function T(e) {
|
|
1241
1241
|
return e.type === "bar";
|
|
1242
1242
|
}
|
|
1243
|
-
|
|
1243
|
+
n(T, "isBarPlot");
|
|
1244
1244
|
function E(e) {
|
|
1245
1245
|
return e.type === "band";
|
|
1246
1246
|
}
|
|
1247
|
-
|
|
1247
|
+
n(E, "isBandAxisData");
|
|
1248
1248
|
function D(e) {
|
|
1249
1249
|
return e.type === "linear";
|
|
1250
1250
|
}
|
|
1251
|
-
|
|
1251
|
+
n(D, "isLinearAxisData");
|
|
1252
1252
|
var O = class {
|
|
1253
1253
|
constructor(e) {
|
|
1254
1254
|
this.parentGroup = e;
|
|
1255
1255
|
}
|
|
1256
1256
|
static {
|
|
1257
|
-
|
|
1257
|
+
n(this, "TextDimensionCalculatorWithFont");
|
|
1258
1258
|
}
|
|
1259
1259
|
getMaxDimension(e, t) {
|
|
1260
1260
|
if (!this.parentGroup) return {
|
|
@@ -1286,7 +1286,7 @@ var O = class {
|
|
|
1286
1286
|
}, this.axisPosition = "left";
|
|
1287
1287
|
}
|
|
1288
1288
|
static {
|
|
1289
|
-
|
|
1289
|
+
n(this, "BaseAxis");
|
|
1290
1290
|
}
|
|
1291
1291
|
setRange(e) {
|
|
1292
1292
|
this.range = e, this.axisPosition === "left" || this.axisPosition === "right" ? this.boundingRect.height = e[1] - e[0] : this.boundingRect.width = e[1] - e[0], this.recalculateScale();
|
|
@@ -1516,7 +1516,7 @@ var O = class {
|
|
|
1516
1516
|
}
|
|
1517
1517
|
}, M = class extends j {
|
|
1518
1518
|
static {
|
|
1519
|
-
|
|
1519
|
+
n(this, "BandAxis");
|
|
1520
1520
|
}
|
|
1521
1521
|
constructor(e, t, n, r, i) {
|
|
1522
1522
|
super(e, r, i, t), this.categories = n, this.scale = S().domain(this.categories).range(this.getRange());
|
|
@@ -1525,7 +1525,7 @@ var O = class {
|
|
|
1525
1525
|
super.setRange(e);
|
|
1526
1526
|
}
|
|
1527
1527
|
recalculateScale() {
|
|
1528
|
-
this.scale = S().domain(this.categories).range(this.getRange()).paddingInner(1).paddingOuter(0).align(.5),
|
|
1528
|
+
this.scale = S().domain(this.categories).range(this.getRange()).paddingInner(1).paddingOuter(0).align(.5), t.trace("BandAxis axis final categories, range: ", this.categories, this.getRange());
|
|
1529
1529
|
}
|
|
1530
1530
|
getTickValues() {
|
|
1531
1531
|
return this.categories;
|
|
@@ -1535,7 +1535,7 @@ var O = class {
|
|
|
1535
1535
|
}
|
|
1536
1536
|
}, ee = class extends j {
|
|
1537
1537
|
static {
|
|
1538
|
-
|
|
1538
|
+
n(this, "LinearAxis");
|
|
1539
1539
|
}
|
|
1540
1540
|
constructor(e, t, n, r, i) {
|
|
1541
1541
|
super(e, r, i, t), this.domain = n, this.scale = h().domain(this.domain).range(this.getRange());
|
|
@@ -1555,7 +1555,7 @@ function N(e, t, n, r) {
|
|
|
1555
1555
|
let i = new O(r);
|
|
1556
1556
|
return E(e) ? new M(t, n, e.categories, e.title, i) : new ee(t, n, [e.min, e.max], e.title, i);
|
|
1557
1557
|
}
|
|
1558
|
-
|
|
1558
|
+
n(N, "getAxis");
|
|
1559
1559
|
var te = class {
|
|
1560
1560
|
constructor(e, t, n, r) {
|
|
1561
1561
|
this.textDimensionCalculator = e, this.chartConfig = t, this.chartData = n, this.chartThemeConfig = r, this.boundingRect = {
|
|
@@ -1566,7 +1566,7 @@ var te = class {
|
|
|
1566
1566
|
}, this.showChartTitle = !1;
|
|
1567
1567
|
}
|
|
1568
1568
|
static {
|
|
1569
|
-
|
|
1569
|
+
n(this, "ChartTitle");
|
|
1570
1570
|
}
|
|
1571
1571
|
setBoundingBoxXY(e) {
|
|
1572
1572
|
this.boundingRect.x = e.x, this.boundingRect.y = e.y;
|
|
@@ -1599,13 +1599,13 @@ var te = class {
|
|
|
1599
1599
|
function ne(e, t, n, r) {
|
|
1600
1600
|
return new te(new O(r), e, t, n);
|
|
1601
1601
|
}
|
|
1602
|
-
|
|
1602
|
+
n(ne, "getChartTitleComponent");
|
|
1603
1603
|
var re = class {
|
|
1604
1604
|
constructor(e, t, n, r, i) {
|
|
1605
1605
|
this.plotData = e, this.xAxis = t, this.yAxis = n, this.orientation = r, this.plotIndex = i;
|
|
1606
1606
|
}
|
|
1607
1607
|
static {
|
|
1608
|
-
|
|
1608
|
+
n(this, "LinePlot");
|
|
1609
1609
|
}
|
|
1610
1610
|
getDrawableElement() {
|
|
1611
1611
|
let e = this.plotData.data.map((e) => [this.xAxis.getScaleValue(e[0]), this.yAxis.getScaleValue(e[1])]), t;
|
|
@@ -1624,7 +1624,7 @@ var re = class {
|
|
|
1624
1624
|
this.barData = e, this.boundingRect = t, this.xAxis = n, this.yAxis = r, this.orientation = i, this.plotIndex = a;
|
|
1625
1625
|
}
|
|
1626
1626
|
static {
|
|
1627
|
-
|
|
1627
|
+
n(this, "BarPlot");
|
|
1628
1628
|
}
|
|
1629
1629
|
getDrawableElement() {
|
|
1630
1630
|
let e = this.barData.data.map((e) => [this.xAxis.getScaleValue(e[0]), this.yAxis.getScaleValue(e[1])]), t = Math.min(this.xAxis.getAxisOuterPadding() * 2, this.xAxis.getTickDistance()) * .95, n = t / 2;
|
|
@@ -1664,7 +1664,7 @@ var re = class {
|
|
|
1664
1664
|
};
|
|
1665
1665
|
}
|
|
1666
1666
|
static {
|
|
1667
|
-
|
|
1667
|
+
n(this, "BasePlot");
|
|
1668
1668
|
}
|
|
1669
1669
|
setAxes(e, t) {
|
|
1670
1670
|
this.xAxis = e, this.yAxis = t;
|
|
@@ -1701,7 +1701,7 @@ var re = class {
|
|
|
1701
1701
|
function P(e, t, n) {
|
|
1702
1702
|
return new ae(e, t, n);
|
|
1703
1703
|
}
|
|
1704
|
-
|
|
1704
|
+
n(P, "getPlotComponent");
|
|
1705
1705
|
var oe = class {
|
|
1706
1706
|
constructor(e, t, n, r) {
|
|
1707
1707
|
this.chartConfig = e, this.chartData = t, this.componentStore = {
|
|
@@ -1722,7 +1722,7 @@ var oe = class {
|
|
|
1722
1722
|
};
|
|
1723
1723
|
}
|
|
1724
1724
|
static {
|
|
1725
|
-
|
|
1725
|
+
n(this, "Orchestrator");
|
|
1726
1726
|
}
|
|
1727
1727
|
calculateVerticalSpace() {
|
|
1728
1728
|
let e = this.chartConfig.width, t = this.chartConfig.height, n = 0, r = 0, i = Math.floor(e * this.chartConfig.plotReservedSpacePercent / 100), a = Math.floor(t * this.chartConfig.plotReservedSpacePercent / 100), o = this.componentStore.plot.calculateSpace({
|
|
@@ -1792,22 +1792,22 @@ var oe = class {
|
|
|
1792
1792
|
}
|
|
1793
1793
|
}, se = class {
|
|
1794
1794
|
static {
|
|
1795
|
-
|
|
1795
|
+
n(this, "XYChartBuilder");
|
|
1796
1796
|
}
|
|
1797
1797
|
static build(e, t, n, r) {
|
|
1798
1798
|
return new oe(e, t, n, r).getDrawableElement();
|
|
1799
1799
|
}
|
|
1800
1800
|
}, F = 0, I, L = W(), R = U(), z = G(), B = R.plotColorPalette.split(",").map((e) => e.trim()), V = !1, H = !1;
|
|
1801
1801
|
function U() {
|
|
1802
|
-
let
|
|
1803
|
-
return
|
|
1802
|
+
let t = a(), n = m();
|
|
1803
|
+
return e(t.xyChart, n.themeVariables.xyChart);
|
|
1804
1804
|
}
|
|
1805
|
-
|
|
1805
|
+
n(U, "getChartDefaultThemeConfig");
|
|
1806
1806
|
function W() {
|
|
1807
|
-
let
|
|
1808
|
-
return
|
|
1807
|
+
let t = m();
|
|
1808
|
+
return e(f.xyChart, t.xyChart);
|
|
1809
1809
|
}
|
|
1810
|
-
|
|
1810
|
+
n(W, "getChartDefaultConfig");
|
|
1811
1811
|
function G() {
|
|
1812
1812
|
return {
|
|
1813
1813
|
yAxis: {
|
|
@@ -1825,24 +1825,24 @@ function G() {
|
|
|
1825
1825
|
plots: []
|
|
1826
1826
|
};
|
|
1827
1827
|
}
|
|
1828
|
-
|
|
1828
|
+
n(G, "getChartDefaultData");
|
|
1829
1829
|
function K(e) {
|
|
1830
1830
|
let t = m();
|
|
1831
1831
|
return o(e.trim(), t);
|
|
1832
1832
|
}
|
|
1833
|
-
|
|
1833
|
+
n(K, "textSanitizer");
|
|
1834
1834
|
function q(e) {
|
|
1835
1835
|
I = e;
|
|
1836
1836
|
}
|
|
1837
|
-
|
|
1837
|
+
n(q, "setTmpSVGG");
|
|
1838
1838
|
function J(e) {
|
|
1839
1839
|
e === "horizontal" ? L.chartOrientation = "horizontal" : L.chartOrientation = "vertical";
|
|
1840
1840
|
}
|
|
1841
|
-
|
|
1841
|
+
n(J, "setOrientation");
|
|
1842
1842
|
function Y(e) {
|
|
1843
1843
|
z.xAxis.title = K(e.text);
|
|
1844
1844
|
}
|
|
1845
|
-
|
|
1845
|
+
n(Y, "setXAxisTitle");
|
|
1846
1846
|
function X(e, t) {
|
|
1847
1847
|
z.xAxis = {
|
|
1848
1848
|
type: "linear",
|
|
@@ -1851,7 +1851,7 @@ function X(e, t) {
|
|
|
1851
1851
|
max: t
|
|
1852
1852
|
}, V = !0;
|
|
1853
1853
|
}
|
|
1854
|
-
|
|
1854
|
+
n(X, "setXAxisRangeData");
|
|
1855
1855
|
function ce(e) {
|
|
1856
1856
|
z.xAxis = {
|
|
1857
1857
|
type: "band",
|
|
@@ -1859,11 +1859,11 @@ function ce(e) {
|
|
|
1859
1859
|
categories: e.map((e) => K(e.text))
|
|
1860
1860
|
}, V = !0;
|
|
1861
1861
|
}
|
|
1862
|
-
|
|
1862
|
+
n(ce, "setXAxisBand");
|
|
1863
1863
|
function le(e) {
|
|
1864
1864
|
z.yAxis.title = K(e.text);
|
|
1865
1865
|
}
|
|
1866
|
-
|
|
1866
|
+
n(le, "setYAxisTitle");
|
|
1867
1867
|
function ue(e, t) {
|
|
1868
1868
|
z.yAxis = {
|
|
1869
1869
|
type: "linear",
|
|
@@ -1872,7 +1872,7 @@ function ue(e, t) {
|
|
|
1872
1872
|
max: t
|
|
1873
1873
|
}, H = !0;
|
|
1874
1874
|
}
|
|
1875
|
-
|
|
1875
|
+
n(ue, "setYAxisRangeData");
|
|
1876
1876
|
function de(e) {
|
|
1877
1877
|
let t = Math.min(...e), n = Math.max(...e), r = D(z.yAxis) ? z.yAxis.min : Infinity, i = D(z.yAxis) ? z.yAxis.max : -Infinity;
|
|
1878
1878
|
z.yAxis = {
|
|
@@ -1882,7 +1882,7 @@ function de(e) {
|
|
|
1882
1882
|
max: Math.max(i, n)
|
|
1883
1883
|
};
|
|
1884
1884
|
}
|
|
1885
|
-
|
|
1885
|
+
n(de, "setYAxisRangeFromPlotData");
|
|
1886
1886
|
function Z(e) {
|
|
1887
1887
|
let t = [];
|
|
1888
1888
|
if (e.length === 0) return t;
|
|
@@ -1897,11 +1897,11 @@ function Z(e) {
|
|
|
1897
1897
|
}
|
|
1898
1898
|
return t;
|
|
1899
1899
|
}
|
|
1900
|
-
|
|
1900
|
+
n(Z, "transformDataWithoutCategory");
|
|
1901
1901
|
function Q(e) {
|
|
1902
1902
|
return B[e === 0 ? 0 : e % B.length];
|
|
1903
1903
|
}
|
|
1904
|
-
|
|
1904
|
+
n(Q, "getPlotColorFromPalette");
|
|
1905
1905
|
function fe(e, t) {
|
|
1906
1906
|
let n = Z(t);
|
|
1907
1907
|
z.plots.push({
|
|
@@ -1911,7 +1911,7 @@ function fe(e, t) {
|
|
|
1911
1911
|
data: n
|
|
1912
1912
|
}), F++;
|
|
1913
1913
|
}
|
|
1914
|
-
|
|
1914
|
+
n(fe, "setLineData");
|
|
1915
1915
|
function pe(e, t) {
|
|
1916
1916
|
let n = Z(t);
|
|
1917
1917
|
z.plots.push({
|
|
@@ -1920,29 +1920,29 @@ function pe(e, t) {
|
|
|
1920
1920
|
data: n
|
|
1921
1921
|
}), F++;
|
|
1922
1922
|
}
|
|
1923
|
-
|
|
1923
|
+
n(pe, "setBarData");
|
|
1924
1924
|
function me() {
|
|
1925
1925
|
if (z.plots.length === 0) throw Error("No Plot to render, please provide a plot with some data");
|
|
1926
1926
|
return z.title = i(), se.build(L, z, R, I);
|
|
1927
1927
|
}
|
|
1928
|
-
|
|
1928
|
+
n(me, "getDrawableElem");
|
|
1929
1929
|
function he() {
|
|
1930
1930
|
return R;
|
|
1931
1931
|
}
|
|
1932
|
-
|
|
1932
|
+
n(he, "getChartThemeConfig");
|
|
1933
1933
|
function ge() {
|
|
1934
1934
|
return L;
|
|
1935
1935
|
}
|
|
1936
|
-
|
|
1936
|
+
n(ge, "getChartConfig");
|
|
1937
1937
|
function $() {
|
|
1938
1938
|
return z;
|
|
1939
1939
|
}
|
|
1940
|
-
|
|
1940
|
+
n($, "getXYChartData");
|
|
1941
1941
|
var _e = {
|
|
1942
1942
|
parser: w,
|
|
1943
1943
|
db: {
|
|
1944
1944
|
getDrawableElem: me,
|
|
1945
|
-
clear: /* @__PURE__ */
|
|
1945
|
+
clear: /* @__PURE__ */ n(function() {
|
|
1946
1946
|
u(), F = 0, L = W(), z = G(), R = U(), B = R.plotColorPalette.split(",").map((e) => e.trim()), V = !1, H = !1;
|
|
1947
1947
|
}, "clear"),
|
|
1948
1948
|
setAccTitle: s,
|
|
@@ -1964,20 +1964,20 @@ var _e = {
|
|
|
1964
1964
|
getChartConfig: ge,
|
|
1965
1965
|
getXYChartData: $
|
|
1966
1966
|
},
|
|
1967
|
-
renderer: { draw: /* @__PURE__ */
|
|
1967
|
+
renderer: { draw: /* @__PURE__ */ n((e, r, i, a) => {
|
|
1968
1968
|
let o = a.db, s = o.getChartThemeConfig(), c = o.getChartConfig(), l = o.getXYChartData().plots[0].data.map((e) => e[1]);
|
|
1969
1969
|
function u(e) {
|
|
1970
1970
|
return e === "top" ? "text-before-edge" : "middle";
|
|
1971
1971
|
}
|
|
1972
|
-
|
|
1972
|
+
n(u, "getDominantBaseLine");
|
|
1973
1973
|
function f(e) {
|
|
1974
1974
|
return e === "left" ? "start" : e === "right" ? "end" : "middle";
|
|
1975
1975
|
}
|
|
1976
|
-
|
|
1976
|
+
n(f, "getTextAnchor");
|
|
1977
1977
|
function p(e) {
|
|
1978
1978
|
return `translate(${e.x}, ${e.y}) rotate(${e.rotation || 0})`;
|
|
1979
1979
|
}
|
|
1980
|
-
|
|
1980
|
+
n(p, "getTextTransformation"), t.debug("Rendering xychart chart\n" + e);
|
|
1981
1981
|
let m = y(r), h = m.append("g").attr("class", "main"), g = h.append("rect").attr("width", c.width).attr("height", c.height).attr("class", "background");
|
|
1982
1982
|
d(m, c.height, c.width, !0), m.attr("viewBox", `0 0 ${c.width} ${c.height}`), g.attr("fill", s.backgroundColor), o.setTmpSVGG(m.append("g").attr("class", "mermaid-tmp-group"));
|
|
1983
1983
|
let _ = o.getDrawableElem(), v = {};
|
|
@@ -1989,18 +1989,18 @@ var _e = {
|
|
|
1989
1989
|
}
|
|
1990
1990
|
return t;
|
|
1991
1991
|
}
|
|
1992
|
-
|
|
1992
|
+
n(b, "getGroup");
|
|
1993
1993
|
for (let e of _) {
|
|
1994
1994
|
if (e.data.length === 0) continue;
|
|
1995
|
-
let
|
|
1995
|
+
let t = b(e.groupTexts);
|
|
1996
1996
|
switch (e.type) {
|
|
1997
1997
|
case "rect":
|
|
1998
|
-
if (
|
|
1998
|
+
if (t.selectAll("rect").data(e.data).enter().append("rect").attr("x", (e) => e.x).attr("y", (e) => e.y).attr("width", (e) => e.width).attr("height", (e) => e.height).attr("fill", (e) => e.fill).attr("stroke", (e) => e.strokeFill).attr("stroke-width", (e) => e.strokeWidth), c.showDataLabel) if (c.chartOrientation === "horizontal") {
|
|
1999
1999
|
let r = function(e, t) {
|
|
2000
2000
|
let { data: n, label: r } = e;
|
|
2001
2001
|
return t * r.length * i <= n.width - 10;
|
|
2002
2002
|
};
|
|
2003
|
-
|
|
2003
|
+
n(r, "fitsHorizontally");
|
|
2004
2004
|
let i = .7, a = e.data.map((e, t) => ({
|
|
2005
2005
|
data: e,
|
|
2006
2006
|
label: l[t].toString()
|
|
@@ -2009,13 +2009,13 @@ var _e = {
|
|
|
2009
2009
|
for (; !r(e, n) && n > 0;) --n;
|
|
2010
2010
|
return n;
|
|
2011
2011
|
}), s = Math.floor(Math.min(...o));
|
|
2012
|
-
|
|
2012
|
+
t.selectAll("text").data(a).enter().append("text").attr("x", (e) => e.data.x + e.data.width - 10).attr("y", (e) => e.data.y + e.data.height / 2).attr("text-anchor", "end").attr("dominant-baseline", "middle").attr("fill", "black").attr("font-size", `${s}px`).text((e) => e.label);
|
|
2013
2013
|
} else {
|
|
2014
2014
|
let r = function(e, t, n) {
|
|
2015
2015
|
let { data: r, label: i } = e, a = t * i.length * .7, o = r.x + r.width / 2, s = o - a / 2, c = o + a / 2, l = s >= r.x && c <= r.x + r.width, u = r.y + n + t <= r.y + r.height;
|
|
2016
2016
|
return l && u;
|
|
2017
2017
|
};
|
|
2018
|
-
|
|
2018
|
+
n(r, "fitsInBar");
|
|
2019
2019
|
let i = e.data.map((e, t) => ({
|
|
2020
2020
|
data: e,
|
|
2021
2021
|
label: l[t].toString()
|
|
@@ -2024,14 +2024,14 @@ var _e = {
|
|
|
2024
2024
|
for (; !r(e, i, 10) && i > 0;) --i;
|
|
2025
2025
|
return i;
|
|
2026
2026
|
}), o = Math.floor(Math.min(...a));
|
|
2027
|
-
|
|
2027
|
+
t.selectAll("text").data(i).enter().append("text").attr("x", (e) => e.data.x + e.data.width / 2).attr("y", (e) => e.data.y + 10).attr("text-anchor", "middle").attr("dominant-baseline", "hanging").attr("fill", "black").attr("font-size", `${o}px`).text((e) => e.label);
|
|
2028
2028
|
}
|
|
2029
2029
|
break;
|
|
2030
2030
|
case "text":
|
|
2031
|
-
|
|
2031
|
+
t.selectAll("text").data(e.data).enter().append("text").attr("x", 0).attr("y", 0).attr("fill", (e) => e.fill).attr("font-size", (e) => e.fontSize).attr("dominant-baseline", (e) => u(e.verticalPos)).attr("text-anchor", (e) => f(e.horizontalPos)).attr("transform", (e) => p(e)).text((e) => e.text);
|
|
2032
2032
|
break;
|
|
2033
2033
|
case "path":
|
|
2034
|
-
|
|
2034
|
+
t.selectAll("path").data(e.data).enter().append("path").attr("d", (e) => e.path).attr("fill", (e) => e.fill ? e.fill : "none").attr("stroke", (e) => e.strokeFill).attr("stroke-width", (e) => e.strokeWidth);
|
|
2035
2035
|
break;
|
|
2036
2036
|
}
|
|
2037
2037
|
}
|