@aiquants/markdown 1.2.0 → 1.3.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/_basePickBy-9OP_RXFr.js +152 -0
- package/dist/{_basePickBy-DGJ-oAbP.js.map → _basePickBy-9OP_RXFr.js.map} +1 -1
- package/dist/_basePickBy-GmCmss_z.cjs +2 -0
- package/dist/{_basePickBy-CJeGUXFc.cjs.map → _basePickBy-GmCmss_z.cjs.map} +1 -1
- package/dist/{_baseUniq-zkWo_1rp.js → _baseUniq-C4HU9xaT.js} +53 -53
- package/dist/{_baseUniq-zkWo_1rp.js.map → _baseUniq-C4HU9xaT.js.map} +1 -1
- package/dist/_baseUniq-yI_NkbvN.cjs +2 -0
- package/dist/{_baseUniq-DmmwqgFi.cjs.map → _baseUniq-yI_NkbvN.cjs.map} +1 -1
- package/dist/arc-C5PAY8Ez.cjs +2 -0
- package/dist/{arc-DAUA8YnG.cjs.map → arc-C5PAY8Ez.cjs.map} +1 -1
- package/dist/arc-aptHQYeE.js +84 -0
- package/dist/{arc-Do8CANbr.js.map → arc-aptHQYeE.js.map} +1 -1
- package/dist/{architecture-U656AL7Q-Bk_BCN3G.cjs → architecture-U656AL7Q-CFvrPE5f.cjs} +2 -2
- package/dist/architecture-U656AL7Q-CFvrPE5f.cjs.map +1 -0
- package/dist/architecture-U656AL7Q-DWT7i6G1.js +6 -0
- package/dist/architecture-U656AL7Q-DWT7i6G1.js.map +1 -0
- package/dist/architectureDiagram-VXUJARFQ-Cbg25OnL.cjs +37 -0
- package/dist/{architectureDiagram-VXUJARFQ-eU-3tnCG.cjs.map → architectureDiagram-VXUJARFQ-Cbg25OnL.cjs.map} +1 -1
- package/dist/{architectureDiagram-VXUJARFQ-C3_AqxrC.js → architectureDiagram-VXUJARFQ-DYhs05fD.js} +133 -133
- package/dist/{architectureDiagram-VXUJARFQ-C3_AqxrC.js.map → architectureDiagram-VXUJARFQ-DYhs05fD.js.map} +1 -1
- package/dist/{blockDiagram-VD42YOAC-DI0rOR-X.js → blockDiagram-VD42YOAC-Dvczpqb4.js} +6 -6
- package/dist/{blockDiagram-VD42YOAC-DI0rOR-X.js.map → blockDiagram-VD42YOAC-Dvczpqb4.js.map} +1 -1
- package/dist/{blockDiagram-VD42YOAC-CnsJKAH7.cjs → blockDiagram-VD42YOAC-NTEawOfj.cjs} +2 -2
- package/dist/{blockDiagram-VD42YOAC-CnsJKAH7.cjs.map → blockDiagram-VD42YOAC-NTEawOfj.cjs.map} +1 -1
- package/dist/{c4Diagram-YG6GDRKO-CCs9MC7P.cjs → c4Diagram-YG6GDRKO-3V8xMGCe.cjs} +2 -2
- package/dist/{c4Diagram-YG6GDRKO-CCs9MC7P.cjs.map → c4Diagram-YG6GDRKO-3V8xMGCe.cjs.map} +1 -1
- package/dist/{c4Diagram-YG6GDRKO-D51PeXS6.js → c4Diagram-YG6GDRKO-eyamau5R.js} +24 -24
- package/dist/{c4Diagram-YG6GDRKO-D51PeXS6.js.map → c4Diagram-YG6GDRKO-eyamau5R.js.map} +1 -1
- package/dist/channel-2EzZomVR.cjs +2 -0
- package/dist/{channel-BaCsO_0A.cjs.map → channel-2EzZomVR.cjs.map} +1 -1
- package/dist/channel-C7bO53Zp.js +6 -0
- package/dist/{channel-KAvJVFiL.js.map → channel-C7bO53Zp.js.map} +1 -1
- package/dist/{chunk-4BX2VUAB-RTUYNJ4N.js → chunk-4BX2VUAB-DTN5uvgP.js} +2 -2
- package/dist/{chunk-4BX2VUAB-RTUYNJ4N.js.map → chunk-4BX2VUAB-DTN5uvgP.js.map} +1 -1
- package/dist/chunk-4BX2VUAB-DigEkb3b.cjs +2 -0
- package/dist/{chunk-4BX2VUAB-CNm_p9u2.cjs.map → chunk-4BX2VUAB-DigEkb3b.cjs.map} +1 -1
- package/dist/{chunk-55IACEB6-Dw6JfE_R.js → chunk-55IACEB6-BP-wtTGH.js} +4 -4
- package/dist/{chunk-55IACEB6-Dw6JfE_R.js.map → chunk-55IACEB6-BP-wtTGH.js.map} +1 -1
- package/dist/chunk-55IACEB6-Dbik_xkm.cjs +2 -0
- package/dist/{chunk-55IACEB6-yuqRdS6I.cjs.map → chunk-55IACEB6-Dbik_xkm.cjs.map} +1 -1
- package/dist/{chunk-B4BG7PRW-5i9HWRdu.cjs → chunk-B4BG7PRW-CL-opUm6.cjs} +2 -2
- package/dist/{chunk-B4BG7PRW-5i9HWRdu.cjs.map → chunk-B4BG7PRW-CL-opUm6.cjs.map} +1 -1
- package/dist/{chunk-B4BG7PRW-Cu2KwVXL.js → chunk-B4BG7PRW-LSfTbvAq.js} +24 -24
- package/dist/{chunk-B4BG7PRW-Cu2KwVXL.js.map → chunk-B4BG7PRW-LSfTbvAq.js.map} +1 -1
- package/dist/{chunk-DI55MBZ5-RM4QxlLs.cjs → chunk-DI55MBZ5-B3ZzvJz3.cjs} +2 -2
- package/dist/{chunk-DI55MBZ5-RM4QxlLs.cjs.map → chunk-DI55MBZ5-B3ZzvJz3.cjs.map} +1 -1
- package/dist/{chunk-DI55MBZ5-D9r0NVIn.js → chunk-DI55MBZ5-BFKy5qpq.js} +18 -18
- package/dist/{chunk-DI55MBZ5-D9r0NVIn.js.map → chunk-DI55MBZ5-BFKy5qpq.js.map} +1 -1
- package/dist/{chunk-FMBD7UC4-DCOkUt8T.js → chunk-FMBD7UC4-Cj0rYanC.js} +2 -2
- package/dist/{chunk-FMBD7UC4-DCOkUt8T.js.map → chunk-FMBD7UC4-Cj0rYanC.js.map} +1 -1
- package/dist/{chunk-FMBD7UC4-BF1L4E3r.cjs → chunk-FMBD7UC4-SJFpUcbQ.cjs} +2 -2
- package/dist/{chunk-FMBD7UC4-BF1L4E3r.cjs.map → chunk-FMBD7UC4-SJFpUcbQ.cjs.map} +1 -1
- package/dist/chunk-QN33PNHL-Bivt7krM.cjs +2 -0
- package/dist/{chunk-QN33PNHL-D02O-uMO.cjs.map → chunk-QN33PNHL-Bivt7krM.cjs.map} +1 -1
- package/dist/chunk-QN33PNHL-C2jhEFgD.js +20 -0
- package/dist/{chunk-QN33PNHL-hzQ0yPiA.js.map → chunk-QN33PNHL-C2jhEFgD.js.map} +1 -1
- package/dist/chunk-QZHKN3VN-CQh9a-c0.cjs +2 -0
- package/dist/{chunk-QZHKN3VN-BmkTtKro.cjs.map → chunk-QZHKN3VN-CQh9a-c0.cjs.map} +1 -1
- package/dist/{chunk-QZHKN3VN-B6f2M6cP.js → chunk-QZHKN3VN-CkWcYGiz.js} +2 -2
- package/dist/{chunk-QZHKN3VN-B6f2M6cP.js.map → chunk-QZHKN3VN-CkWcYGiz.js.map} +1 -1
- package/dist/chunk-TZMSLE5B-Bsi1MAsv.cjs +2 -0
- package/dist/{chunk-TZMSLE5B-kcQjV4u6.cjs.map → chunk-TZMSLE5B-Bsi1MAsv.cjs.map} +1 -1
- package/dist/{chunk-TZMSLE5B-CMgHccah.js → chunk-TZMSLE5B-t5WZ_Iu6.js} +21 -21
- package/dist/{chunk-TZMSLE5B-CMgHccah.js.map → chunk-TZMSLE5B-t5WZ_Iu6.js.map} +1 -1
- package/dist/classDiagram-2ON5EDUG-DT-nF1RS.cjs +2 -0
- package/dist/{classDiagram-2ON5EDUG-D8v286nZ.cjs.map → classDiagram-2ON5EDUG-DT-nF1RS.cjs.map} +1 -1
- package/dist/{classDiagram-2ON5EDUG-Cr5EKsK5.js → classDiagram-2ON5EDUG-Dxp5YM_R.js} +3 -3
- package/dist/{classDiagram-2ON5EDUG-Cr5EKsK5.js.map → classDiagram-2ON5EDUG-Dxp5YM_R.js.map} +1 -1
- package/dist/classDiagram-v2-WZHVMYZB-DT-nF1RS.cjs +2 -0
- package/dist/{classDiagram-v2-WZHVMYZB-D8v286nZ.cjs.map → classDiagram-v2-WZHVMYZB-DT-nF1RS.cjs.map} +1 -1
- package/dist/{classDiagram-v2-WZHVMYZB-Cr5EKsK5.js → classDiagram-v2-WZHVMYZB-Dxp5YM_R.js} +3 -3
- package/dist/{classDiagram-v2-WZHVMYZB-Cr5EKsK5.js.map → classDiagram-v2-WZHVMYZB-Dxp5YM_R.js.map} +1 -1
- package/dist/cli.js +109 -13
- package/dist/clone-DeYaJvUq.cjs +2 -0
- package/dist/{clone-Qa8ZMMKU.cjs.map → clone-DeYaJvUq.cjs.map} +1 -1
- package/dist/clone-DxjV0XqV.js +9 -0
- package/dist/{clone-BxPvQEOl.js.map → clone-DxjV0XqV.js.map} +1 -1
- package/dist/cose-bilkent-S5V4N54A-C3dnKObK.cjs +2 -0
- package/dist/{cose-bilkent-S5V4N54A-BJ3wg7KS.cjs.map → cose-bilkent-S5V4N54A-C3dnKObK.cjs.map} +1 -1
- package/dist/{cose-bilkent-S5V4N54A-B0RvLg-Z.js → cose-bilkent-S5V4N54A-CC9Kvv3r.js} +2 -2
- package/dist/{cose-bilkent-S5V4N54A-B0RvLg-Z.js.map → cose-bilkent-S5V4N54A-CC9Kvv3r.js.map} +1 -1
- package/dist/{index-CPFTnxie.cjs → createIntentTweetLink-BVYfpo7F.cjs} +59 -59
- package/dist/createIntentTweetLink-BVYfpo7F.cjs.map +1 -0
- package/dist/{index-DBVR6GYe.js → createIntentTweetLink-R2TGMXxb.js} +4054 -4381
- package/dist/createIntentTweetLink-R2TGMXxb.js.map +1 -0
- package/dist/css/github-markdown.css +1 -1
- package/dist/css/katex.min.css +24 -24
- package/dist/{dagre-6UL2VRFP--PuHyvOJ.js → dagre-6UL2VRFP-BohBB2aw.js} +37 -37
- package/dist/{dagre-6UL2VRFP--PuHyvOJ.js.map → dagre-6UL2VRFP-BohBB2aw.js.map} +1 -1
- package/dist/dagre-6UL2VRFP-CVZTIZO9.cjs +5 -0
- package/dist/{dagre-6UL2VRFP-BDyQ7zKw.cjs.map → dagre-6UL2VRFP-CVZTIZO9.cjs.map} +1 -1
- package/dist/{diagram-PSM6KHXK-B57QodqD.js → diagram-PSM6KHXK-5NyYKVKy.js} +56 -56
- package/dist/{diagram-PSM6KHXK-B57QodqD.js.map → diagram-PSM6KHXK-5NyYKVKy.js.map} +1 -1
- package/dist/diagram-PSM6KHXK-DutalUmN.cjs +25 -0
- package/dist/{diagram-PSM6KHXK-u5RdYoub.cjs.map → diagram-PSM6KHXK-DutalUmN.cjs.map} +1 -1
- package/dist/{diagram-QEK2KX5R-Da-pT7Ux.js → diagram-QEK2KX5R-0MtoueI0.js} +40 -40
- package/dist/{diagram-QEK2KX5R-Da-pT7Ux.js.map → diagram-QEK2KX5R-0MtoueI0.js.map} +1 -1
- package/dist/diagram-QEK2KX5R-DsgPiAVd.cjs +44 -0
- package/dist/{diagram-QEK2KX5R-D1cueJAA.cjs.map → diagram-QEK2KX5R-DsgPiAVd.cjs.map} +1 -1
- package/dist/diagram-S2PKOQOG-8R0sX2-5.cjs +25 -0
- package/dist/{diagram-S2PKOQOG-DpAD-cB_.cjs.map → diagram-S2PKOQOG-8R0sX2-5.cjs.map} +1 -1
- package/dist/{diagram-S2PKOQOG-BvfG2rAS.js → diagram-S2PKOQOG-BppXCAEs.js} +15 -15
- package/dist/{diagram-S2PKOQOG-BvfG2rAS.js.map → diagram-S2PKOQOG-BppXCAEs.js.map} +1 -1
- package/dist/{erDiagram-Q2GNP2WA-ohQILmdi.cjs → erDiagram-Q2GNP2WA-BVp_M17a.cjs} +3 -3
- package/dist/{erDiagram-Q2GNP2WA-ohQILmdi.cjs.map → erDiagram-Q2GNP2WA-BVp_M17a.cjs.map} +1 -1
- package/dist/{erDiagram-Q2GNP2WA-WM-jEF2o.js → erDiagram-Q2GNP2WA-swVgAmNA.js} +65 -65
- package/dist/{erDiagram-Q2GNP2WA-WM-jEF2o.js.map → erDiagram-Q2GNP2WA-swVgAmNA.js.map} +1 -1
- package/dist/{flowDiagram-NV44I4VS-C_bxgg0e.cjs → flowDiagram-NV44I4VS-BoSynmGJ.cjs} +4 -4
- package/dist/{flowDiagram-NV44I4VS-C_bxgg0e.cjs.map → flowDiagram-NV44I4VS-BoSynmGJ.cjs.map} +1 -1
- package/dist/{flowDiagram-NV44I4VS-BCumxy_A.js → flowDiagram-NV44I4VS-DsEDlWj7.js} +24 -24
- package/dist/{flowDiagram-NV44I4VS-BCumxy_A.js.map → flowDiagram-NV44I4VS-DsEDlWj7.js.map} +1 -1
- package/dist/ganttDiagram-JELNMOA3-BcnntGZq.cjs +268 -0
- package/dist/{ganttDiagram-JELNMOA3-Geq6x747.cjs.map → ganttDiagram-JELNMOA3-BcnntGZq.cjs.map} +1 -1
- package/dist/{ganttDiagram-JELNMOA3-Dr1NLren.js → ganttDiagram-JELNMOA3-C4XTSocE.js} +3 -3
- package/dist/{ganttDiagram-JELNMOA3-Dr1NLren.js.map → ganttDiagram-JELNMOA3-C4XTSocE.js.map} +1 -1
- package/dist/{gitGraph-F6HP7TQM-BeOJ-IAj.cjs → gitGraph-F6HP7TQM-CDxfJup7.cjs} +2 -2
- package/dist/gitGraph-F6HP7TQM-CDxfJup7.cjs.map +1 -0
- package/dist/gitGraph-F6HP7TQM-DYKSEh6b.js +6 -0
- package/dist/gitGraph-F6HP7TQM-DYKSEh6b.js.map +1 -0
- package/dist/{gitGraphDiagram-NY62KEGX-BLjyc1Wj.js → gitGraphDiagram-NY62KEGX-B1d1zQF8.js} +33 -33
- package/dist/{gitGraphDiagram-NY62KEGX-BLjyc1Wj.js.map → gitGraphDiagram-NY62KEGX-B1d1zQF8.js.map} +1 -1
- package/dist/gitGraphDiagram-NY62KEGX-Dx6KuASB.cjs +66 -0
- package/dist/{gitGraphDiagram-NY62KEGX-DzsNlXbq.cjs.map → gitGraphDiagram-NY62KEGX-Dx6KuASB.cjs.map} +1 -1
- package/dist/graph-CareAXtQ.cjs +2 -0
- package/dist/{graph-afCf5ZM1.cjs.map → graph-CareAXtQ.cjs.map} +1 -1
- package/dist/{graph-BlkDovJY.js → graph-DlYjyX_q.js} +7 -7
- package/dist/{graph-BlkDovJY.js.map → graph-DlYjyX_q.js.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.client.cjs +2 -0
- package/dist/index.client.cjs.map +1 -0
- package/dist/index.client.d.ts +2 -0
- package/dist/index.client.js +46 -0
- package/dist/index.client.js.map +1 -0
- package/dist/index.js +39 -46
- package/dist/index.js.map +1 -1
- package/dist/index.server.cjs +2 -0
- package/dist/index.server.cjs.map +1 -0
- package/dist/index.server.d.ts +2 -0
- package/dist/index.server.js +197 -0
- package/dist/index.server.js.map +1 -0
- package/dist/{info-NVLQJR56-zgrtE1eV.cjs → info-NVLQJR56-DoYEwGdO.cjs} +2 -2
- package/dist/info-NVLQJR56-DoYEwGdO.cjs.map +1 -0
- package/dist/info-NVLQJR56-mHjQxn1n.js +6 -0
- package/dist/info-NVLQJR56-mHjQxn1n.js.map +1 -0
- package/dist/infoDiagram-WHAUD3N6-Bm7Ywzku.js +25 -0
- package/dist/{infoDiagram-WHAUD3N6-DZlGk8Eu.js.map → infoDiagram-WHAUD3N6-Bm7Ywzku.js.map} +1 -1
- package/dist/infoDiagram-WHAUD3N6-Cj1ZcGEx.cjs +3 -0
- package/dist/{infoDiagram-WHAUD3N6-e_6Fu7A3.cjs.map → infoDiagram-WHAUD3N6-Cj1ZcGEx.cjs.map} +1 -1
- package/dist/{journeyDiagram-XKPGCS4Q-DWNhUx2B.cjs → journeyDiagram-XKPGCS4Q-CO_Iy-dg.cjs} +2 -2
- package/dist/{journeyDiagram-XKPGCS4Q-DWNhUx2B.cjs.map → journeyDiagram-XKPGCS4Q-CO_Iy-dg.cjs.map} +1 -1
- package/dist/{journeyDiagram-XKPGCS4Q-FOnZHY81.js → journeyDiagram-XKPGCS4Q-KBpMVeri.js} +20 -20
- package/dist/{journeyDiagram-XKPGCS4Q-FOnZHY81.js.map → journeyDiagram-XKPGCS4Q-KBpMVeri.js.map} +1 -1
- package/dist/{kanban-definition-3W4ZIXB7-DmXZ76_s.cjs → kanban-definition-3W4ZIXB7-BaEUkYS9.cjs} +2 -2
- package/dist/{kanban-definition-3W4ZIXB7-DmXZ76_s.cjs.map → kanban-definition-3W4ZIXB7-BaEUkYS9.cjs.map} +1 -1
- package/dist/{kanban-definition-3W4ZIXB7-BKCGrp4d.js → kanban-definition-3W4ZIXB7-uZwLFtc6.js} +25 -25
- package/dist/{kanban-definition-3W4ZIXB7-BKCGrp4d.js.map → kanban-definition-3W4ZIXB7-uZwLFtc6.js.map} +1 -1
- package/dist/{layout-BM8fgH_I.js → layout-C4uBH3zs.js} +91 -91
- package/dist/{layout-BM8fgH_I.js.map → layout-C4uBH3zs.js.map} +1 -1
- package/dist/layout-Cig-NcZ-.cjs +2 -0
- package/dist/{layout-CQ55vGEs.cjs.map → layout-Cig-NcZ-.cjs.map} +1 -1
- package/dist/{linear-rySziqxM.js → linear-B54UVO1I.js} +36 -36
- package/dist/{linear-rySziqxM.js.map → linear-B54UVO1I.js.map} +1 -1
- package/dist/linear-C5ea0WOA.cjs +2 -0
- package/dist/{linear-Ck5hTmin.cjs.map → linear-C5ea0WOA.cjs.map} +1 -1
- package/dist/markdown.css +1 -1
- package/dist/{mermaid-parser.core-DdgAu_8I.js → mermaid-parser.core-CRCSS3x9.js} +12 -12
- package/dist/{mermaid-parser.core-DdgAu_8I.js.map → mermaid-parser.core-CRCSS3x9.js.map} +1 -1
- package/dist/{mermaid-parser.core-5P84tW26.cjs → mermaid-parser.core-DKlKJJeH.cjs} +3 -3
- package/dist/{mermaid-parser.core-5P84tW26.cjs.map → mermaid-parser.core-DKlKJJeH.cjs.map} +1 -1
- package/dist/{mindmap-definition-VGOIOE7T-DUR7ZFmn.js → mindmap-definition-VGOIOE7T-DJDrsyKM.js} +18 -18
- package/dist/{mindmap-definition-VGOIOE7T-DUR7ZFmn.js.map → mindmap-definition-VGOIOE7T-DJDrsyKM.js.map} +1 -1
- package/dist/{mindmap-definition-VGOIOE7T-DRqIC1aB.cjs → mindmap-definition-VGOIOE7T-_CT3r7tc.cjs} +2 -2
- package/dist/{mindmap-definition-VGOIOE7T-DRqIC1aB.cjs.map → mindmap-definition-VGOIOE7T-_CT3r7tc.cjs.map} +1 -1
- package/dist/packet-BFZMPI3H-Cf0CxnNc.js +6 -0
- package/dist/packet-BFZMPI3H-Cf0CxnNc.js.map +1 -0
- package/dist/{packet-BFZMPI3H--8xo99vs.cjs → packet-BFZMPI3H-UE0TInBh.cjs} +2 -2
- package/dist/packet-BFZMPI3H-UE0TInBh.cjs.map +1 -0
- package/dist/{pie-7BOR55EZ-DMvSDGfH.cjs → pie-7BOR55EZ-D5N4uISY.cjs} +2 -2
- package/dist/pie-7BOR55EZ-D5N4uISY.cjs.map +1 -0
- package/dist/pie-7BOR55EZ-DHnihBQw.js +6 -0
- package/dist/pie-7BOR55EZ-DHnihBQw.js.map +1 -0
- package/dist/{pieDiagram-ADFJNKIX-BHrTl2Ns.js → pieDiagram-ADFJNKIX-Cgyhv4O2.js} +40 -40
- package/dist/{pieDiagram-ADFJNKIX-BHrTl2Ns.js.map → pieDiagram-ADFJNKIX-Cgyhv4O2.js.map} +1 -1
- package/dist/pieDiagram-ADFJNKIX-DYdkLVI8.cjs +31 -0
- package/dist/{pieDiagram-ADFJNKIX-D3u8fH01.cjs.map → pieDiagram-ADFJNKIX-DYdkLVI8.cjs.map} +1 -1
- package/dist/{quadrantDiagram-AYHSOK5B-Dbi7OKEt.js → quadrantDiagram-AYHSOK5B-4egcx5Ji.js} +3 -3
- package/dist/{quadrantDiagram-AYHSOK5B-Dbi7OKEt.js.map → quadrantDiagram-AYHSOK5B-4egcx5Ji.js.map} +1 -1
- package/dist/{quadrantDiagram-AYHSOK5B-C2Bzy_90.cjs → quadrantDiagram-AYHSOK5B-CdBtnCoL.cjs} +2 -2
- package/dist/{quadrantDiagram-AYHSOK5B-C2Bzy_90.cjs.map → quadrantDiagram-AYHSOK5B-CdBtnCoL.cjs.map} +1 -1
- package/dist/radar-NHE76QYJ-BK_NFT-s.js +6 -0
- package/dist/radar-NHE76QYJ-BK_NFT-s.js.map +1 -0
- package/dist/{radar-NHE76QYJ-Cc5Nvs_h.cjs → radar-NHE76QYJ-BLam0moQ.cjs} +2 -2
- package/dist/radar-NHE76QYJ-BLam0moQ.cjs.map +1 -0
- package/dist/remark-zenn-message-BJj3ceML.cjs +2 -0
- package/dist/remark-zenn-message-BJj3ceML.cjs.map +1 -0
- package/dist/remark-zenn-message-D9xkldEG.js +384 -0
- package/dist/remark-zenn-message-D9xkldEG.js.map +1 -0
- package/dist/{requirementDiagram-UZGBJVZJ-CC6A_LQI.cjs → requirementDiagram-UZGBJVZJ-BqaYFBy4.cjs} +2 -2
- package/dist/{requirementDiagram-UZGBJVZJ-CC6A_LQI.cjs.map → requirementDiagram-UZGBJVZJ-BqaYFBy4.cjs.map} +1 -1
- package/dist/{requirementDiagram-UZGBJVZJ-B7DlOlwl.js → requirementDiagram-UZGBJVZJ-Bvt1sD5v.js} +6 -6
- package/dist/{requirementDiagram-UZGBJVZJ-B7DlOlwl.js.map → requirementDiagram-UZGBJVZJ-Bvt1sD5v.js.map} +1 -1
- package/dist/sankeyDiagram-TZEHDZUN-B8g4psMF.cjs +11 -0
- package/dist/{sankeyDiagram-TZEHDZUN-BnHCo-Mn.cjs.map → sankeyDiagram-TZEHDZUN-B8g4psMF.cjs.map} +1 -1
- package/dist/{sankeyDiagram-TZEHDZUN-DpEUf9Vo.js → sankeyDiagram-TZEHDZUN-DN9oPLeV.js} +30 -30
- package/dist/{sankeyDiagram-TZEHDZUN-DpEUf9Vo.js.map → sankeyDiagram-TZEHDZUN-DN9oPLeV.js.map} +1 -1
- package/dist/{sequenceDiagram-WL72ISMW-CjEh0r36.js → sequenceDiagram-WL72ISMW-BPNbnK-H.js} +30 -30
- package/dist/{sequenceDiagram-WL72ISMW-CjEh0r36.js.map → sequenceDiagram-WL72ISMW-BPNbnK-H.js.map} +1 -1
- package/dist/{sequenceDiagram-WL72ISMW-Bl6_BUzR.cjs → sequenceDiagram-WL72ISMW-BvgLSCB3.cjs} +2 -2
- package/dist/{sequenceDiagram-WL72ISMW-Bl6_BUzR.cjs.map → sequenceDiagram-WL72ISMW-BvgLSCB3.cjs.map} +1 -1
- package/dist/src/cli.d.ts +0 -1
- package/dist/src/components/NodesRenderer.d.ts +1 -2
- package/dist/src/components/NodesRenderer.d.ts.map +1 -1
- package/dist/src/components/mdastNodes/HTMLBlockContainerNode.d.ts +26 -0
- package/dist/src/components/mdastNodes/HTMLBlockContainerNode.d.ts.map +1 -0
- package/dist/src/components/mdastNodes/HTMLNode.d.ts.map +1 -1
- package/dist/src/components/mdastNodes/ZennDetailsNode.d.ts.map +1 -1
- package/dist/src/components/mdastNodes/ZennMessageNode.d.ts.map +1 -1
- package/dist/src/components/plugins/DifyIFramePlugin.d.ts.map +1 -1
- package/dist/src/index.client.d.ts +41 -0
- package/dist/src/index.client.d.ts.map +1 -0
- package/dist/src/index.d.ts +1 -48
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.server.d.ts +9 -0
- package/dist/src/index.server.d.ts.map +1 -0
- package/dist/src/plugins/fetchSiteMetadata.d.ts.map +1 -1
- package/dist/src/plugins/remark-block-link-metadata.d.ts.map +1 -1
- package/dist/src/plugins/remark-html-in-html.d.ts.map +1 -1
- package/dist/src/plugins/{remark-import-directive.async.d.ts → remark-import-directive.async.server.d.ts} +1 -1
- package/dist/src/plugins/remark-import-directive.async.server.d.ts.map +1 -0
- package/dist/src/plugins/remark-resolve-uri.async.d.ts.map +1 -1
- package/dist/src/plugins/remark-unwrap-block-html.d.ts +8 -0
- package/dist/src/plugins/remark-unwrap-block-html.d.ts.map +1 -0
- package/dist/src/plugins/remark-zenn-message.d.ts.map +1 -1
- package/dist/src/plugins/transformUri.async.server.d.ts.map +1 -1
- package/dist/src/remarkProcessor.server.d.ts.map +1 -1
- package/dist/src/utils/simple-logger.d.ts +98 -0
- package/dist/src/utils/simple-logger.d.ts.map +1 -0
- package/dist/stateDiagram-FKZM4ZOC-CE-teJok.cjs +2 -0
- package/dist/{stateDiagram-FKZM4ZOC-DKdLEfTU.cjs.map → stateDiagram-FKZM4ZOC-CE-teJok.cjs.map} +1 -1
- package/dist/{stateDiagram-FKZM4ZOC-DSb4cefI.js → stateDiagram-FKZM4ZOC-D0XVXerq.js} +16 -16
- package/dist/{stateDiagram-FKZM4ZOC-DSb4cefI.js.map → stateDiagram-FKZM4ZOC-D0XVXerq.js.map} +1 -1
- package/dist/stateDiagram-v2-4FDKWEC3-BhT2kIeU.cjs +2 -0
- package/dist/{stateDiagram-v2-4FDKWEC3-BYtBH478.cjs.map → stateDiagram-v2-4FDKWEC3-BhT2kIeU.cjs.map} +1 -1
- package/dist/{stateDiagram-v2-4FDKWEC3-ByfhcH6w.js → stateDiagram-v2-4FDKWEC3-COdGK5g3.js} +3 -3
- package/dist/{stateDiagram-v2-4FDKWEC3-ByfhcH6w.js.map → stateDiagram-v2-4FDKWEC3-COdGK5g3.js.map} +1 -1
- package/dist/styles/markdown.css +1 -1
- package/dist/{timeline-definition-IT6M3QCI-D_WhTqG-.js → timeline-definition-IT6M3QCI-C8YV5f2Z.js} +141 -141
- package/dist/{timeline-definition-IT6M3QCI-D_WhTqG-.js.map → timeline-definition-IT6M3QCI-C8YV5f2Z.js.map} +1 -1
- package/dist/{timeline-definition-IT6M3QCI-B1leptlP.cjs → timeline-definition-IT6M3QCI-OOGU6-EM.cjs} +15 -15
- package/dist/{timeline-definition-IT6M3QCI-B1leptlP.cjs.map → timeline-definition-IT6M3QCI-OOGU6-EM.cjs.map} +1 -1
- package/dist/{treemap-KMMF4GRG-C3kLUDBv.cjs → treemap-KMMF4GRG-CSVka7h1.cjs} +2 -2
- package/dist/treemap-KMMF4GRG-CSVka7h1.cjs.map +1 -0
- package/dist/treemap-KMMF4GRG-SQDrdaKE.js +6 -0
- package/dist/treemap-KMMF4GRG-SQDrdaKE.js.map +1 -0
- package/dist/vite.config.d.ts.map +1 -1
- package/dist/{xychartDiagram-PRI3JC2R-DavmnzBp.js → xychartDiagram-PRI3JC2R-BAGOH5Jc.js} +37 -37
- package/dist/{xychartDiagram-PRI3JC2R-DavmnzBp.js.map → xychartDiagram-PRI3JC2R-BAGOH5Jc.js.map} +1 -1
- package/dist/{xychartDiagram-PRI3JC2R-ClYujusC.cjs → xychartDiagram-PRI3JC2R-p1LajfzD.cjs} +2 -2
- package/dist/{xychartDiagram-PRI3JC2R-ClYujusC.cjs.map → xychartDiagram-PRI3JC2R-p1LajfzD.cjs.map} +1 -1
- package/package.json +38 -27
- package/dist/_basePickBy-CJeGUXFc.cjs +0 -2
- package/dist/_basePickBy-DGJ-oAbP.js +0 -152
- package/dist/_baseUniq-DmmwqgFi.cjs +0 -2
- package/dist/arc-DAUA8YnG.cjs +0 -2
- package/dist/arc-Do8CANbr.js +0 -84
- package/dist/architecture-U656AL7Q-Bk_BCN3G.cjs.map +0 -1
- package/dist/architecture-U656AL7Q-Brw03iK0.js +0 -6
- package/dist/architecture-U656AL7Q-Brw03iK0.js.map +0 -1
- package/dist/architectureDiagram-VXUJARFQ-eU-3tnCG.cjs +0 -37
- package/dist/channel-BaCsO_0A.cjs +0 -2
- package/dist/channel-KAvJVFiL.js +0 -6
- package/dist/chunk-4BX2VUAB-CNm_p9u2.cjs +0 -2
- package/dist/chunk-55IACEB6-yuqRdS6I.cjs +0 -2
- package/dist/chunk-QN33PNHL-D02O-uMO.cjs +0 -2
- package/dist/chunk-QN33PNHL-hzQ0yPiA.js +0 -20
- package/dist/chunk-QZHKN3VN-BmkTtKro.cjs +0 -2
- package/dist/chunk-TZMSLE5B-kcQjV4u6.cjs +0 -2
- package/dist/classDiagram-2ON5EDUG-D8v286nZ.cjs +0 -2
- package/dist/classDiagram-v2-WZHVMYZB-D8v286nZ.cjs +0 -2
- package/dist/clone-BxPvQEOl.js +0 -9
- package/dist/clone-Qa8ZMMKU.cjs +0 -2
- package/dist/cose-bilkent-S5V4N54A-BJ3wg7KS.cjs +0 -2
- package/dist/dagre-6UL2VRFP-BDyQ7zKw.cjs +0 -5
- package/dist/diagram-PSM6KHXK-u5RdYoub.cjs +0 -25
- package/dist/diagram-QEK2KX5R-D1cueJAA.cjs +0 -44
- package/dist/diagram-S2PKOQOG-DpAD-cB_.cjs +0 -25
- package/dist/ganttDiagram-JELNMOA3-Geq6x747.cjs +0 -268
- package/dist/gitGraph-F6HP7TQM-BeOJ-IAj.cjs.map +0 -1
- package/dist/gitGraph-F6HP7TQM-CxoMWXoZ.js +0 -6
- package/dist/gitGraph-F6HP7TQM-CxoMWXoZ.js.map +0 -1
- package/dist/gitGraphDiagram-NY62KEGX-DzsNlXbq.cjs +0 -66
- package/dist/graph-afCf5ZM1.cjs +0 -2
- package/dist/index-CPFTnxie.cjs.map +0 -1
- package/dist/index-DBVR6GYe.js.map +0 -1
- package/dist/info-NVLQJR56-BkEWtnrf.js +0 -6
- package/dist/info-NVLQJR56-BkEWtnrf.js.map +0 -1
- package/dist/info-NVLQJR56-zgrtE1eV.cjs.map +0 -1
- package/dist/infoDiagram-WHAUD3N6-DZlGk8Eu.js +0 -25
- package/dist/infoDiagram-WHAUD3N6-e_6Fu7A3.cjs +0 -3
- package/dist/layout-CQ55vGEs.cjs +0 -2
- package/dist/linear-Ck5hTmin.cjs +0 -2
- package/dist/packet-BFZMPI3H--8xo99vs.cjs.map +0 -1
- package/dist/packet-BFZMPI3H-BiLhYuSA.js +0 -6
- package/dist/packet-BFZMPI3H-BiLhYuSA.js.map +0 -1
- package/dist/pie-7BOR55EZ-DMvSDGfH.cjs.map +0 -1
- package/dist/pie-7BOR55EZ-Dsi8HblZ.js +0 -6
- package/dist/pie-7BOR55EZ-Dsi8HblZ.js.map +0 -1
- package/dist/pieDiagram-ADFJNKIX-D3u8fH01.cjs +0 -31
- package/dist/radar-NHE76QYJ-Cc5Nvs_h.cjs.map +0 -1
- package/dist/radar-NHE76QYJ-tUFyopn8.js +0 -6
- package/dist/radar-NHE76QYJ-tUFyopn8.js.map +0 -1
- package/dist/sankeyDiagram-TZEHDZUN-BnHCo-Mn.cjs +0 -11
- package/dist/src/plugins/remark-import-directive.async.d.ts.map +0 -1
- package/dist/stateDiagram-FKZM4ZOC-DKdLEfTU.cjs +0 -2
- package/dist/stateDiagram-v2-4FDKWEC3-BYtBH478.cjs +0 -2
- package/dist/treemap-KMMF4GRG-C3kLUDBv.cjs.map +0 -1
- package/dist/treemap-KMMF4GRG-Dp0HUz7N.js +0 -6
- package/dist/treemap-KMMF4GRG-Dp0HUz7N.js.map +0 -1
package/dist/{timeline-definition-IT6M3QCI-B1leptlP.cjs → timeline-definition-IT6M3QCI-OOGU6-EM.cjs}
RENAMED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./createIntentTweetLink-BVYfpo7F.cjs"),tt=require("./arc-C5PAY8Ez.cjs");var J=(function(){var r=n.__name(function(m,s,a,c){for(a=a||{},c=m.length;c--;a[m[c]]=s);return a},"o"),t=[6,8,10,11,12,14,16,17,20,21],e=[1,9],l=[1,10],i=[1,11],d=[1,12],h=[1,13],_=[1,16],f=[1,17],p={trace:n.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,timeline:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,period_statement:18,event_statement:19,period:20,event:21,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",20:"period",21:"event"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,1],[18,1],[19,1]],performAction:n.__name(function(s,a,c,u,g,o,w){var k=o.length-1;switch(g){case 1:return o[k-1];case 2:this.$=[];break;case 3:o[k-1].push(o[k]),this.$=o[k-1];break;case 4:case 5:this.$=o[k];break;case 6:case 7:this.$=[];break;case 8:u.getCommonDb().setDiagramTitle(o[k].substr(6)),this.$=o[k].substr(6);break;case 9:this.$=o[k].trim(),u.getCommonDb().setAccTitle(this.$);break;case 10:case 11:this.$=o[k].trim(),u.getCommonDb().setAccDescription(this.$);break;case 12:u.addSection(o[k].substr(8)),this.$=o[k].substr(8);break;case 15:u.addTask(o[k],0,""),this.$=o[k];break;case 16:u.addEvent(o[k].substr(2)),this.$=o[k];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},r(t,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:e,12:l,14:i,16:d,17:h,18:14,19:15,20:_,21:f},r(t,[2,7],{1:[2,1]}),r(t,[2,3]),{9:18,11:e,12:l,14:i,16:d,17:h,18:14,19:15,20:_,21:f},r(t,[2,5]),r(t,[2,6]),r(t,[2,8]),{13:[1,19]},{15:[1,20]},r(t,[2,11]),r(t,[2,12]),r(t,[2,13]),r(t,[2,14]),r(t,[2,15]),r(t,[2,16]),r(t,[2,4]),r(t,[2,9]),r(t,[2,10])],defaultActions:{},parseError:n.__name(function(s,a){if(a.recoverable)this.trace(s);else{var c=new Error(s);throw c.hash=a,c}},"parseError"),parse:n.__name(function(s){var a=this,c=[0],u=[],g=[null],o=[],w=this.table,k="",I=0,H=0,z=2,G=1,M=o.slice.call(arguments,1),y=Object.create(this.lexer),b={yy:{}};for(var N in this.yy)Object.prototype.hasOwnProperty.call(this.yy,N)&&(b.yy[N]=this.yy[N]);y.setInput(s,b.yy),b.yy.lexer=y,b.yy.parser=this,typeof y.yylloc>"u"&&(y.yylloc={});var L=y.yylloc;o.push(L);var V=y.options&&y.options.ranges;typeof b.yy.parseError=="function"?this.parseError=b.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function q(E){c.length=c.length-2*E,g.length=g.length-E,o.length=o.length-E}n.__name(q,"popStack");function Y(){var E;return E=u.pop()||y.lex()||G,typeof E!="number"&&(E instanceof Array&&(u=E,E=u.pop()),E=a.symbols_[E]||E),E}n.__name(Y,"lex");for(var S,P,T,U,C={},W,$,D,B;;){if(P=c[c.length-1],this.defaultActions[P]?T=this.defaultActions[P]:((S===null||typeof S>"u")&&(S=Y()),T=w[P]&&w[P][S]),typeof T>"u"||!T.length||!T[0]){var Z="";B=[];for(W in w[P])this.terminals_[W]&&W>z&&B.push("'"+this.terminals_[W]+"'");y.showPosition?Z="Parse error on line "+(I+1)+`:
|
|
2
2
|
`+y.showPosition()+`
|
|
3
|
-
Expecting `+B.join(", ")+", got '"+(this.terminals_[S]||S)+"'":Z="Parse error on line "+(I+1)+": Unexpected "+(S==G?"end of input":"'"+(this.terminals_[S]||S)+"'"),this.parseError(Z,{text:y.match,token:this.terminals_[S]||S,line:y.yylineno,loc
|
|
3
|
+
Expecting `+B.join(", ")+", got '"+(this.terminals_[S]||S)+"'":Z="Parse error on line "+(I+1)+": Unexpected "+(S==G?"end of input":"'"+(this.terminals_[S]||S)+"'"),this.parseError(Z,{text:y.match,token:this.terminals_[S]||S,line:y.yylineno,loc:L,expected:B})}if(T[0]instanceof Array&&T.length>1)throw new Error("Parse Error: multiple actions possible at state: "+P+", token: "+S);switch(T[0]){case 1:c.push(S),g.push(y.yytext),o.push(y.yylloc),c.push(T[1]),S=null,H=y.yyleng,k=y.yytext,I=y.yylineno,L=y.yylloc;break;case 2:if($=this.productions_[T[1]][1],C.$=g[g.length-$],C._$={first_line:o[o.length-($||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-($||1)].first_column,last_column:o[o.length-1].last_column},V&&(C._$.range=[o[o.length-($||1)].range[0],o[o.length-1].range[1]]),U=this.performAction.apply(C,[k,H,I,b.yy,T[1],g,o].concat(M)),typeof U<"u")return U;$&&(c=c.slice(0,-1*$*2),g=g.slice(0,-1*$),o=o.slice(0,-1*$)),c.push(this.productions_[T[1]][0]),g.push(C.$),o.push(C._$),D=w[c[c.length-2]][c[c.length-1]],c.push(D);break;case 3:return!0}}return!0},"parse")},x=(function(){var m={EOF:1,parseError:n.__name(function(a,c){if(this.yy.parser)this.yy.parser.parseError(a,c);else throw new Error(a)},"parseError"),setInput:n.__name(function(s,a){return this.yy=a||this.yy||{},this._input=s,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:n.__name(function(){var s=this._input[0];this.yytext+=s,this.yyleng++,this.offset++,this.match+=s,this.matched+=s;var a=s.match(/(?:\r\n?|\n).*/g);return a?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),s},"input"),unput:n.__name(function(s){var a=s.length,c=s.split(/(?:\r\n?|\n)/g);this._input=s+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;var u=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1&&(this.yylineno-=c.length-1);var g=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:c?(c.length===u.length?this.yylloc.first_column:0)+u[u.length-c.length].length-c[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[g[0],g[0]+this.yyleng-a]),this.yyleng=this.yytext.length,this},"unput"),more:n.__name(function(){return this._more=!0,this},"more"),reject:n.__name(function(){if(this.options.backtrack_lexer)this._backtrack=!0;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).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:n.__name(function(s){this.unput(this.match.slice(s))},"less"),pastInput:n.__name(function(){var s=this.matched.substr(0,this.matched.length-this.match.length);return(s.length>20?"...":"")+s.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:n.__name(function(){var s=this.match;return s.length<20&&(s+=this._input.substr(0,20-s.length)),(s.substr(0,20)+(s.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:n.__name(function(){var s=this.pastInput(),a=new Array(s.length+1).join("-");return s+this.upcomingInput()+`
|
|
5
5
|
`+a+"^"},"showPosition"),test_match:n.__name(function(s,a){var c,u,g;if(this.options.backtrack_lexer&&(g={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(g.yylloc.range=this.yylloc.range.slice(0))),u=s[0].match(/(?:\r\n?|\n).*/g),u&&(this.yylineno+=u.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:u?u[u.length-1].length-u[u.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+s[0].length},this.yytext+=s[0],this.match+=s[0],this.matches=s,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(s[0].length),this.matched+=s[0],c=this.performAction.call(this,this.yy,this,a,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),c)return c;if(this._backtrack){for(var o in g)this[o]=g[o];return!1}return!1},"test_match"),next:n.__name(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var s,a,c,u;this._more||(this.yytext="",this.match="");for(var g=this._currentRules(),o=0;o<g.length;o++)if(c=this._input.match(this.rules[g[o]]),c&&(!a||c[0].length>a[0].length)){if(a=c,u=o,this.options.backtrack_lexer){if(s=this.test_match(c,g[o]),s!==!1)return s;if(this._backtrack){a=!1;continue}else return!1}else if(!this.options.flex)break}return a?(s=this.test_match(a,g[u]),s!==!1?s:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
|
|
6
|
-
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:n.__name(function(){var a=this.next();return a||this.lex()},"lex"),begin:n.__name(function(a){this.conditionStack.push(a)},"begin"),popState:n.__name(function(){var a=this.conditionStack.length-1;return a>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:n.__name(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:n.__name(function(a){return a=this.conditionStack.length-1-Math.abs(a||0),a>=0?this.conditionStack[a]:"INITIAL"},"topState"),pushState:n.__name(function(a){this.begin(a)},"pushState"),stateStackSize:n.__name(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:n.__name(function(a,c,u,g){switch(u){case 0:break;case 1:break;case 2:return 10;case 3:break;case 4:break;case 5:return 4;case 6:return 11;case 7:return this.begin("acc_title"),12;case 8:return this.popState(),"acc_title_value";case 9:return this.begin("acc_descr"),14;case 10:return this.popState(),"acc_descr_value";case 11:this.begin("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 17;case 15:return 21;case 16:return 20;case 17:return 6;case 18:return"INVALID"}},"anonymous"),rules:[/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:timeline\b)/i,/^(?:title\s[^\n]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^:\n]+)/i,/^(?::\s(?:[^:\n]|:(?!\s))+)/i,/^(?:[^#:\n]+)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,9,11,14,15,16,17,18],inclusive:!0}}};return m})();p.lexer=x;function v(){this.yy={}}return n.__name(v,"Parser"),v.prototype=p,p.Parser=v,new v})();J.parser=J;var _t=J,rt={};n.__export(rt,{addEvent:()=>ut,addSection:()=>ot,addTask:()=>dt,addTaskOrg:()=>pt,clear:()=>lt,default:()=>ft,getCommonDb:()=>at,getSections:()=>ct,getTasks:()=>ht});var R="",st=0,K=[],O=[],F=[],at=n.__name(()=>n.commonDb_exports,"getCommonDb"),lt=n.__name(function(){K.length=0,O.length=0,R="",F.length=0,n.clear()},"clear"),ot=n.__name(function(i){R=i,K.push(i)},"addSection"),ct=n.__name(function(){return K},"getSections"),ht=n.__name(function(){let i=et();const t=100;let e=0;for(;!i&&e<t;)i=et(),e++;return O.push(...F),O},"getTasks"),dt=n.__name(function(i,t,e){const l={id:st++,section:R,type:R,task:i,score:t||0,events:e?[e]:[]};F.push(l)},"addTask"),ut=n.__name(function(i){F.find(e=>e.id===st-1).events.push(i)},"addEvent"),pt=n.__name(function(i){const t={section:R,type:R,description:i,task:i,classes:[]};O.push(t)},"addTaskOrg"),et=n.__name(function(){const i=n.__name(function(e){return F[e].processed},"compileTask");let t=!0;for(const[e,l]of F.entries())i(e),t=t&&l.processed;return t},"compileTasks"),ft={clear:lt,getCommonDb:at,addSection:ot,getSections:ct,getTasks:ht,addTask:dt,addTaskOrg:pt,addEvent:ut},mt=12,j=n.__name(function(i,t){const e=i.append("rect");return e.attr("x",t.x),e.attr("y",t.y),e.attr("fill",t.fill),e.attr("stroke",t.stroke),e.attr("width",t.width),e.attr("height",t.height),e.attr("rx",t.rx),e.attr("ry",t.ry),t.class!==void 0&&e.attr("class",t.class),e},"drawRect"),xt=n.__name(function(i,t){const l=i.append("circle").attr("cx",t.cx).attr("cy",t.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible"),r=i.append("g");r.append("circle").attr("cx",t.cx-15/3).attr("cy",t.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),r.append("circle").attr("cx",t.cx+15/3).attr("cy",t.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666");function d(f){const p=tt.d3arc().startAngle(Math.PI/2).endAngle(3*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);f.append("path").attr("class","mouth").attr("d",p).attr("transform","translate("+t.cx+","+(t.cy+2)+")")}n.__name(d,"smile");function h(f){const p=tt.d3arc().startAngle(3*Math.PI/2).endAngle(5*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);f.append("path").attr("class","mouth").attr("d",p).attr("transform","translate("+t.cx+","+(t.cy+7)+")")}n.__name(h,"sad");function _(f){f.append("line").attr("class","mouth").attr("stroke",2).attr("x1",t.cx-5).attr("y1",t.cy+7).attr("x2",t.cx+5).attr("y2",t.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}return n.__name(_,"ambivalent"),t.score>3?d(r):t.score<3?h(r):_(r),l},"drawFace"),kt=n.__name(function(i,t){const e=i.append("circle");return e.attr("cx",t.cx),e.attr("cy",t.cy),e.attr("class","actor-"+t.pos),e.attr("fill",t.fill),e.attr("stroke",t.stroke),e.attr("r",t.r),e.class!==void 0&&e.attr("class",e.class),t.title!==void 0&&e.append("title").text(t.title),e},"drawCircle"),gt=n.__name(function(i,t){const e=t.text.replace(/<br\s*\/?>/gi," "),l=i.append("text");l.attr("x",t.x),l.attr("y",t.y),l.attr("class","legend"),l.style("text-anchor",t.anchor),t.class!==void 0&&l.attr("class",t.class);const r=l.append("tspan");return r.attr("x",t.x+t.textMargin*2),r.text(e),l},"drawText"),vt=n.__name(function(i,t){function e(r,d,h,_,f){return r+","+d+" "+(r+h)+","+d+" "+(r+h)+","+(d+_-f)+" "+(r+h-f*1.2)+","+(d+_)+" "+r+","+(d+_)}n.__name(e,"genPoints");const l=i.append("polygon");l.attr("points",e(t.x,t.y,50,20,7)),l.attr("class","labelBox"),t.y=t.y+t.labelMargin,t.x=t.x+.5*t.labelMargin,gt(i,t)},"drawLabel"),bt=n.__name(function(i,t,e){const l=i.append("g"),r=Q();r.x=t.x,r.y=t.y,r.fill=t.fill,r.width=e.width,r.height=e.height,r.class="journey-section section-type-"+t.num,r.rx=3,r.ry=3,j(l,r),yt(e)(t.text,l,r.x,r.y,r.width,r.height,{class:"journey-section section-type-"+t.num},e,t.colour)},"drawSection"),nt=-1,wt=n.__name(function(i,t,e){const l=t.x+e.width/2,r=i.append("g");nt++,r.append("line").attr("id","task"+nt).attr("x1",l).attr("y1",t.y).attr("x2",l).attr("y2",450).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),xt(r,{cx:l,cy:300+(5-t.score)*30,score:t.score});const h=Q();h.x=t.x,h.y=t.y,h.fill=t.fill,h.width=e.width,h.height=e.height,h.class="task task-type-"+t.num,h.rx=3,h.ry=3,j(r,h),yt(e)(t.task,r,h.x,h.y,h.width,h.height,{class:"task"},e,t.colour)},"drawTask"),St=n.__name(function(i,t){j(i,{x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,class:"rect"}).lower()},"drawBackgroundRect"),Et=n.__name(function(){return{x:0,y:0,fill:void 0,"text-anchor":"start",width:100,height:100,textMargin:0,rx:0,ry:0}},"getTextObj"),Q=n.__name(function(){return{x:0,y:0,width:100,anchor:"start",height:100,rx:0,ry:0}},"getNoteRect"),yt=(function(){function i(r,d,h,_,f,p,x,v){const m=d.append("text").attr("x",h+f/2).attr("y",_+p/2+5).style("font-color",v).style("text-anchor","middle").text(r);l(m,x)}n.__name(i,"byText");function t(r,d,h,_,f,p,x,v,m){const{taskFontSize:s,taskFontFamily:a}=v,c=r.split(/<br\s*\/?>/gi);for(let u=0;u<c.length;u++){const g=u*s-s*(c.length-1)/2,o=d.append("text").attr("x",h+f/2).attr("y",_).attr("fill",m).style("text-anchor","middle").style("font-size",s).style("font-family",a);o.append("tspan").attr("x",h+f/2).attr("dy",g).text(c[u]),o.attr("y",_+p/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),l(o,x)}}n.__name(t,"byTspan");function e(r,d,h,_,f,p,x,v){const m=d.append("switch"),a=m.append("foreignObject").attr("x",h).attr("y",_).attr("width",f).attr("height",p).attr("position","fixed").append("xhtml:div").style("display","table").style("height","100%").style("width","100%");a.append("div").attr("class","label").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(r),t(r,m,h,_,f,p,x,v),l(a,x)}n.__name(e,"byFo");function l(r,d){for(const h in d)h in d&&r.attr(h,d[h])}return n.__name(l,"_setTextAttrs"),function(r){return r.textPlacement==="fo"?e:r.textPlacement==="old"?i:t}})(),Tt=n.__name(function(i){i.append("defs").append("marker").attr("id","arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z")},"initGraphics");function X(i,t){i.each(function(){var e=n.select(this),l=e.text().split(/(\s+|<br>)/).reverse(),r,d=[],h=1.1,_=e.attr("y"),f=parseFloat(e.attr("dy")),p=e.text(null).append("tspan").attr("x",0).attr("y",_).attr("dy",f+"em");for(let x=0;x<l.length;x++)r=l[l.length-1-x],d.push(r),p.text(d.join(" ").trim()),(p.node().getComputedTextLength()>t||r==="<br>")&&(d.pop(),p.text(d.join(" ").trim()),r==="<br>"?d=[""]:d=[r],p=e.append("tspan").attr("x",0).attr("y",_).attr("dy",h+"em").text(r))})}n.__name(X,"wrap");var It=n.__name(function(i,t,e,l){const r=e%mt-1,d=i.append("g");t.section=r,d.attr("class",(t.class?t.class+" ":"")+"timeline-node "+("section-"+r));const h=d.append("g"),_=d.append("g"),p=_.append("text").text(t.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(X,t.width).node().getBBox(),x=l.fontSize?.replace?l.fontSize.replace("px",""):l.fontSize;return t.height=p.height+x*1.1*.5+t.padding,t.height=Math.max(t.height,t.maxHeight),t.width=t.width+2*t.padding,_.attr("transform","translate("+t.width/2+", "+t.padding/2+")"),$t(h,t,r,l),t},"drawNode"),Nt=n.__name(function(i,t,e){const l=i.append("g"),d=l.append("text").text(t.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(X,t.width).node().getBBox(),h=e.fontSize?.replace?e.fontSize.replace("px",""):e.fontSize;return l.remove(),d.height+h*1.1*.5+t.padding},"getVirtualNodeHeight"),$t=n.__name(function(i,t,e){i.append("path").attr("id","node-"+t.id).attr("class","node-bkg node-"+t.type).attr("d",`M0 ${t.height-5} v${-t.height+10} q0,-5 5,-5 h${t.width-10} q5,0 5,5 v${t.height-5} H0 Z`),i.append("line").attr("class","node-line-"+e).attr("x1",0).attr("y1",t.height).attr("x2",t.width).attr("y2",t.height)},"defaultBkg"),A={drawRect:j,drawCircle:kt,drawSection:bt,drawText:gt,drawLabel:vt,drawTask:wt,drawBackgroundRect:St,getTextObj:Et,getNoteRect:Q,initGraphics:Tt,drawNode:It,getVirtualNodeHeight:Nt},Lt=n.__name(function(i,t,e,l){const r=n.getConfig2(),d=r.timeline?.leftMargin??50;n.log.debug("timeline",l.db);const h=r.securityLevel;let _;h==="sandbox"&&(_=n.select("#i"+t));const p=(h==="sandbox"?n.select(_.nodes()[0].contentDocument.body):n.select("body")).select("#"+t);p.append("g");const x=l.db.getTasks(),v=l.db.getCommonDb().getDiagramTitle();n.log.debug("task",x),A.initGraphics(p);const m=l.db.getSections();n.log.debug("sections",m);let s=0,a=0,c=0,u=0,g=50+d,o=50;u=50;let w=0,k=!0;m.forEach(function(M){const y={number:w,descr:M,section:w,width:150,padding:20,maxHeight:s},b=A.getVirtualNodeHeight(p,y,r);n.log.debug("sectionHeight before draw",b),s=Math.max(s,b+20)});let I=0,H=0;n.log.debug("tasks.length",x.length);for(const[M,y]of x.entries()){const b={number:M,descr:y,section:y.section,width:150,padding:20,maxHeight:a},N=A.getVirtualNodeHeight(p,b,r);n.log.debug("taskHeight before draw",N),a=Math.max(a,N+20),I=Math.max(I,y.events.length);let $=0;for(const V of y.events){const q={descr:V,section:y.section,number:y.section,width:150,padding:20,maxHeight:50};$+=A.getVirtualNodeHeight(p,q,r)}y.events.length>0&&($+=(y.events.length-1)*10),H=Math.max(H,$)}n.log.debug("maxSectionHeight before draw",s),n.log.debug("maxTaskHeight before draw",a),m&&m.length>0?m.forEach(M=>{const y=x.filter(V=>V.section===M),b={number:w,descr:M,section:w,width:200*Math.max(y.length,1)-50,padding:20,maxHeight:s};n.log.debug("sectionNode",b);const N=p.append("g"),$=A.drawNode(N,b,w,r);n.log.debug("sectionNode output",$),N.attr("transform",`translate(${g}, ${u})`),o+=s+50,y.length>0&&it(p,y,w,g,o,a,r,I,H,s,!1),g+=200*Math.max(y.length,1),o=u,w++}):(k=!1,it(p,x,w,g,o,a,r,I,H,s,!0));const z=p.node().getBBox();n.log.debug("bounds",z),v&&p.append("text").text(v).attr("x",z.width/2-d).attr("font-size","4ex").attr("font-weight","bold").attr("y",20),c=k?s+a+150:a+100,p.append("g").attr("class","lineWrapper").append("line").attr("x1",d).attr("y1",c).attr("x2",z.width+3*d).attr("y2",c).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)"),n.setupGraphViewbox(void 0,p,r.timeline?.padding??50,r.timeline?.useMaxWidth??!1)},"draw"),it=n.__name(function(i,t,e,l,r,d,h,_,f,p,x){for(const v of t){const m={descr:v.task,section:e,number:e,width:150,padding:20,maxHeight:d};n.log.debug("taskNode",m);const s=i.append("g").attr("class","taskWrapper"),c=A.drawNode(s,m,e,h).height;if(n.log.debug("taskHeight after draw",c),s.attr("transform",`translate(${l}, ${r})`),d=Math.max(d,c),v.events){const u=i.append("g").attr("class","lineWrapper");let g=d;r+=100,g=g+Mt(i,v.events,e,l,r,h),r-=100,u.append("line").attr("x1",l+190/2).attr("y1",r+d).attr("x2",l+190/2).attr("y2",r+d+100+f+100).attr("stroke-width",2).attr("stroke","black").attr("marker-end","url(#arrowhead)").attr("stroke-dasharray","5,5")}l=l+200,x&&!h.timeline?.disableMulticolor&&e++}r=r-10},"drawTasks"),Mt=n.__name(function(i,t,e,l,r,d){let h=0;const _=r;r=r+100;for(const f of t){const p={descr:f,section:e,number:e,width:150,padding:20,maxHeight:50};n.log.debug("eventNode",p);const x=i.append("g").attr("class","eventWrapper"),m=A.drawNode(x,p,e,d).height;h=h+m,x.attr("transform",`translate(${l}, ${r})`),r=r+10+m}return r=_,h},"drawEvents"),Ht={setConf:n.__name(()=>{},"setConf"),draw:Lt},Pt=n.__name(i=>{let t="";for(let e=0;e<i.THEME_COLOR_LIMIT;e++)i["lineColor"+e]=i["lineColor"+e]||i["cScaleInv"+e],n.isDark(i["lineColor"+e])?i["lineColor"+e]=n.lighten(i["lineColor"+e],20):i["lineColor"+e]=n.darken(i["lineColor"+e],20);for(let e=0;e<i.THEME_COLOR_LIMIT;e++){const l=""+(17-3*e);t+=`
|
|
6
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:n.__name(function(){var a=this.next();return a||this.lex()},"lex"),begin:n.__name(function(a){this.conditionStack.push(a)},"begin"),popState:n.__name(function(){var a=this.conditionStack.length-1;return a>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:n.__name(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:n.__name(function(a){return a=this.conditionStack.length-1-Math.abs(a||0),a>=0?this.conditionStack[a]:"INITIAL"},"topState"),pushState:n.__name(function(a){this.begin(a)},"pushState"),stateStackSize:n.__name(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:n.__name(function(a,c,u,g){switch(u){case 0:break;case 1:break;case 2:return 10;case 3:break;case 4:break;case 5:return 4;case 6:return 11;case 7:return this.begin("acc_title"),12;case 8:return this.popState(),"acc_title_value";case 9:return this.begin("acc_descr"),14;case 10:return this.popState(),"acc_descr_value";case 11:this.begin("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 17;case 15:return 21;case 16:return 20;case 17:return 6;case 18:return"INVALID"}},"anonymous"),rules:[/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:timeline\b)/i,/^(?:title\s[^\n]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^:\n]+)/i,/^(?::\s(?:[^:\n]|:(?!\s))+)/i,/^(?:[^#:\n]+)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,9,11,14,15,16,17,18],inclusive:!0}}};return m})();p.lexer=x;function v(){this.yy={}}return n.__name(v,"Parser"),v.prototype=p,p.Parser=v,new v})();J.parser=J;var _t=J,it={};n.__export(it,{addEvent:()=>ut,addSection:()=>ot,addTask:()=>dt,addTaskOrg:()=>pt,clear:()=>lt,default:()=>ft,getCommonDb:()=>at,getSections:()=>ct,getTasks:()=>ht});var R="",st=0,K=[],O=[],F=[],at=n.__name(()=>n.commonDb_exports,"getCommonDb"),lt=n.__name(function(){K.length=0,O.length=0,R="",F.length=0,n.clear()},"clear"),ot=n.__name(function(r){R=r,K.push(r)},"addSection"),ct=n.__name(function(){return K},"getSections"),ht=n.__name(function(){let r=et();const t=100;let e=0;for(;!r&&e<t;)r=et(),e++;return O.push(...F),O},"getTasks"),dt=n.__name(function(r,t,e){const l={id:st++,section:R,type:R,task:r,score:t||0,events:e?[e]:[]};F.push(l)},"addTask"),ut=n.__name(function(r){F.find(e=>e.id===st-1).events.push(r)},"addEvent"),pt=n.__name(function(r){const t={section:R,type:R,description:r,task:r,classes:[]};O.push(t)},"addTaskOrg"),et=n.__name(function(){const r=n.__name(function(e){return F[e].processed},"compileTask");let t=!0;for(const[e,l]of F.entries())r(e),t=t&&l.processed;return t},"compileTasks"),ft={clear:lt,getCommonDb:at,addSection:ot,getSections:ct,getTasks:ht,addTask:dt,addTaskOrg:pt,addEvent:ut},mt=12,j=n.__name(function(r,t){const e=r.append("rect");return e.attr("x",t.x),e.attr("y",t.y),e.attr("fill",t.fill),e.attr("stroke",t.stroke),e.attr("width",t.width),e.attr("height",t.height),e.attr("rx",t.rx),e.attr("ry",t.ry),t.class!==void 0&&e.attr("class",t.class),e},"drawRect"),xt=n.__name(function(r,t){const l=r.append("circle").attr("cx",t.cx).attr("cy",t.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible"),i=r.append("g");i.append("circle").attr("cx",t.cx-15/3).attr("cy",t.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),i.append("circle").attr("cx",t.cx+15/3).attr("cy",t.cy-15/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666");function d(f){const p=tt.d3arc().startAngle(Math.PI/2).endAngle(3*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);f.append("path").attr("class","mouth").attr("d",p).attr("transform","translate("+t.cx+","+(t.cy+2)+")")}n.__name(d,"smile");function h(f){const p=tt.d3arc().startAngle(3*Math.PI/2).endAngle(5*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);f.append("path").attr("class","mouth").attr("d",p).attr("transform","translate("+t.cx+","+(t.cy+7)+")")}n.__name(h,"sad");function _(f){f.append("line").attr("class","mouth").attr("stroke",2).attr("x1",t.cx-5).attr("y1",t.cy+7).attr("x2",t.cx+5).attr("y2",t.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}return n.__name(_,"ambivalent"),t.score>3?d(i):t.score<3?h(i):_(i),l},"drawFace"),kt=n.__name(function(r,t){const e=r.append("circle");return e.attr("cx",t.cx),e.attr("cy",t.cy),e.attr("class","actor-"+t.pos),e.attr("fill",t.fill),e.attr("stroke",t.stroke),e.attr("r",t.r),e.class!==void 0&&e.attr("class",e.class),t.title!==void 0&&e.append("title").text(t.title),e},"drawCircle"),gt=n.__name(function(r,t){const e=t.text.replace(/<br\s*\/?>/gi," "),l=r.append("text");l.attr("x",t.x),l.attr("y",t.y),l.attr("class","legend"),l.style("text-anchor",t.anchor),t.class!==void 0&&l.attr("class",t.class);const i=l.append("tspan");return i.attr("x",t.x+t.textMargin*2),i.text(e),l},"drawText"),vt=n.__name(function(r,t){function e(i,d,h,_,f){return i+","+d+" "+(i+h)+","+d+" "+(i+h)+","+(d+_-f)+" "+(i+h-f*1.2)+","+(d+_)+" "+i+","+(d+_)}n.__name(e,"genPoints");const l=r.append("polygon");l.attr("points",e(t.x,t.y,50,20,7)),l.attr("class","labelBox"),t.y=t.y+t.labelMargin,t.x=t.x+.5*t.labelMargin,gt(r,t)},"drawLabel"),bt=n.__name(function(r,t,e){const l=r.append("g"),i=Q();i.x=t.x,i.y=t.y,i.fill=t.fill,i.width=e.width,i.height=e.height,i.class="journey-section section-type-"+t.num,i.rx=3,i.ry=3,j(l,i),yt(e)(t.text,l,i.x,i.y,i.width,i.height,{class:"journey-section section-type-"+t.num},e,t.colour)},"drawSection"),nt=-1,wt=n.__name(function(r,t,e){const l=t.x+e.width/2,i=r.append("g");nt++,i.append("line").attr("id","task"+nt).attr("x1",l).attr("y1",t.y).attr("x2",l).attr("y2",450).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),xt(i,{cx:l,cy:300+(5-t.score)*30,score:t.score});const h=Q();h.x=t.x,h.y=t.y,h.fill=t.fill,h.width=e.width,h.height=e.height,h.class="task task-type-"+t.num,h.rx=3,h.ry=3,j(i,h),yt(e)(t.task,i,h.x,h.y,h.width,h.height,{class:"task"},e,t.colour)},"drawTask"),St=n.__name(function(r,t){j(r,{x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,class:"rect"}).lower()},"drawBackgroundRect"),Et=n.__name(function(){return{x:0,y:0,fill:void 0,"text-anchor":"start",width:100,height:100,textMargin:0,rx:0,ry:0}},"getTextObj"),Q=n.__name(function(){return{x:0,y:0,width:100,anchor:"start",height:100,rx:0,ry:0}},"getNoteRect"),yt=(function(){function r(i,d,h,_,f,p,x,v){const m=d.append("text").attr("x",h+f/2).attr("y",_+p/2+5).style("font-color",v).style("text-anchor","middle").text(i);l(m,x)}n.__name(r,"byText");function t(i,d,h,_,f,p,x,v,m){const{taskFontSize:s,taskFontFamily:a}=v,c=i.split(/<br\s*\/?>/gi);for(let u=0;u<c.length;u++){const g=u*s-s*(c.length-1)/2,o=d.append("text").attr("x",h+f/2).attr("y",_).attr("fill",m).style("text-anchor","middle").style("font-size",s).style("font-family",a);o.append("tspan").attr("x",h+f/2).attr("dy",g).text(c[u]),o.attr("y",_+p/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),l(o,x)}}n.__name(t,"byTspan");function e(i,d,h,_,f,p,x,v){const m=d.append("switch"),a=m.append("foreignObject").attr("x",h).attr("y",_).attr("width",f).attr("height",p).attr("position","fixed").append("xhtml:div").style("display","table").style("height","100%").style("width","100%");a.append("div").attr("class","label").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(i),t(i,m,h,_,f,p,x,v),l(a,x)}n.__name(e,"byFo");function l(i,d){for(const h in d)h in d&&i.attr(h,d[h])}return n.__name(l,"_setTextAttrs"),function(i){return i.textPlacement==="fo"?e:i.textPlacement==="old"?r:t}})(),Tt=n.__name(function(r){r.append("defs").append("marker").attr("id","arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z")},"initGraphics");function X(r,t){r.each(function(){var e=n.select(this),l=e.text().split(/(\s+|<br>)/).reverse(),i,d=[],h=1.1,_=e.attr("y"),f=parseFloat(e.attr("dy")),p=e.text(null).append("tspan").attr("x",0).attr("y",_).attr("dy",f+"em");for(let x=0;x<l.length;x++)i=l[l.length-1-x],d.push(i),p.text(d.join(" ").trim()),(p.node().getComputedTextLength()>t||i==="<br>")&&(d.pop(),p.text(d.join(" ").trim()),i==="<br>"?d=[""]:d=[i],p=e.append("tspan").attr("x",0).attr("y",_).attr("dy",h+"em").text(i))})}n.__name(X,"wrap");var It=n.__name(function(r,t,e,l){const i=e%mt-1,d=r.append("g");t.section=i,d.attr("class",(t.class?t.class+" ":"")+"timeline-node "+("section-"+i));const h=d.append("g"),_=d.append("g"),p=_.append("text").text(t.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(X,t.width).node().getBBox(),x=l.fontSize?.replace?l.fontSize.replace("px",""):l.fontSize;return t.height=p.height+x*1.1*.5+t.padding,t.height=Math.max(t.height,t.maxHeight),t.width=t.width+2*t.padding,_.attr("transform","translate("+t.width/2+", "+t.padding/2+")"),Lt(h,t,i,l),t},"drawNode"),Nt=n.__name(function(r,t,e){const l=r.append("g"),d=l.append("text").text(t.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(X,t.width).node().getBBox(),h=e.fontSize?.replace?e.fontSize.replace("px",""):e.fontSize;return l.remove(),d.height+h*1.1*.5+t.padding},"getVirtualNodeHeight"),Lt=n.__name(function(r,t,e){r.append("path").attr("id","node-"+t.id).attr("class","node-bkg node-"+t.type).attr("d",`M0 ${t.height-5} v${-t.height+10} q0,-5 5,-5 h${t.width-10} q5,0 5,5 v${t.height-5} H0 Z`),r.append("line").attr("class","node-line-"+e).attr("x1",0).attr("y1",t.height).attr("x2",t.width).attr("y2",t.height)},"defaultBkg"),A={drawRect:j,drawCircle:kt,drawSection:bt,drawText:gt,drawLabel:vt,drawTask:wt,drawBackgroundRect:St,getTextObj:Et,getNoteRect:Q,initGraphics:Tt,drawNode:It,getVirtualNodeHeight:Nt},$t=n.__name(function(r,t,e,l){const i=n.getConfig2(),d=i.timeline?.leftMargin??50;n.log.debug("timeline",l.db);const h=i.securityLevel;let _;h==="sandbox"&&(_=n.select("#i"+t));const p=(h==="sandbox"?n.select(_.nodes()[0].contentDocument.body):n.select("body")).select("#"+t);p.append("g");const x=l.db.getTasks(),v=l.db.getCommonDb().getDiagramTitle();n.log.debug("task",x),A.initGraphics(p);const m=l.db.getSections();n.log.debug("sections",m);let s=0,a=0,c=0,u=0,g=50+d,o=50;u=50;let w=0,k=!0;m.forEach(function(M){const y={number:w,descr:M,section:w,width:150,padding:20,maxHeight:s},b=A.getVirtualNodeHeight(p,y,i);n.log.debug("sectionHeight before draw",b),s=Math.max(s,b+20)});let I=0,H=0;n.log.debug("tasks.length",x.length);for(const[M,y]of x.entries()){const b={number:M,descr:y,section:y.section,width:150,padding:20,maxHeight:a},N=A.getVirtualNodeHeight(p,b,i);n.log.debug("taskHeight before draw",N),a=Math.max(a,N+20),I=Math.max(I,y.events.length);let L=0;for(const V of y.events){const q={descr:V,section:y.section,number:y.section,width:150,padding:20,maxHeight:50};L+=A.getVirtualNodeHeight(p,q,i)}y.events.length>0&&(L+=(y.events.length-1)*10),H=Math.max(H,L)}n.log.debug("maxSectionHeight before draw",s),n.log.debug("maxTaskHeight before draw",a),m&&m.length>0?m.forEach(M=>{const y=x.filter(V=>V.section===M),b={number:w,descr:M,section:w,width:200*Math.max(y.length,1)-50,padding:20,maxHeight:s};n.log.debug("sectionNode",b);const N=p.append("g"),L=A.drawNode(N,b,w,i);n.log.debug("sectionNode output",L),N.attr("transform",`translate(${g}, ${u})`),o+=s+50,y.length>0&&rt(p,y,w,g,o,a,i,I,H,s,!1),g+=200*Math.max(y.length,1),o=u,w++}):(k=!1,rt(p,x,w,g,o,a,i,I,H,s,!0));const z=p.node().getBBox();n.log.debug("bounds",z),v&&p.append("text").text(v).attr("x",z.width/2-d).attr("font-size","4ex").attr("font-weight","bold").attr("y",20),c=k?s+a+150:a+100,p.append("g").attr("class","lineWrapper").append("line").attr("x1",d).attr("y1",c).attr("x2",z.width+3*d).attr("y2",c).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)"),n.setupGraphViewbox(void 0,p,i.timeline?.padding??50,i.timeline?.useMaxWidth??!1)},"draw"),rt=n.__name(function(r,t,e,l,i,d,h,_,f,p,x){for(const v of t){const m={descr:v.task,section:e,number:e,width:150,padding:20,maxHeight:d};n.log.debug("taskNode",m);const s=r.append("g").attr("class","taskWrapper"),c=A.drawNode(s,m,e,h).height;if(n.log.debug("taskHeight after draw",c),s.attr("transform",`translate(${l}, ${i})`),d=Math.max(d,c),v.events){const u=r.append("g").attr("class","lineWrapper");let g=d;i+=100,g=g+Mt(r,v.events,e,l,i,h),i-=100,u.append("line").attr("x1",l+190/2).attr("y1",i+d).attr("x2",l+190/2).attr("y2",i+d+100+f+100).attr("stroke-width",2).attr("stroke","black").attr("marker-end","url(#arrowhead)").attr("stroke-dasharray","5,5")}l=l+200,x&&!h.timeline?.disableMulticolor&&e++}i=i-10},"drawTasks"),Mt=n.__name(function(r,t,e,l,i,d){let h=0;const _=i;i=i+100;for(const f of t){const p={descr:f,section:e,number:e,width:150,padding:20,maxHeight:50};n.log.debug("eventNode",p);const x=r.append("g").attr("class","eventWrapper"),m=A.drawNode(x,p,e,d).height;h=h+m,x.attr("transform",`translate(${l}, ${i})`),i=i+10+m}return i=_,h},"drawEvents"),Ht={setConf:n.__name(()=>{},"setConf"),draw:$t},Pt=n.__name(r=>{let t="";for(let e=0;e<r.THEME_COLOR_LIMIT;e++)r["lineColor"+e]=r["lineColor"+e]||r["cScaleInv"+e],n.isDark(r["lineColor"+e])?r["lineColor"+e]=n.lighten(r["lineColor"+e],20):r["lineColor"+e]=n.darken(r["lineColor"+e],20);for(let e=0;e<r.THEME_COLOR_LIMIT;e++){const l=""+(17-3*e);t+=`
|
|
7
7
|
.section-${e-1} rect, .section-${e-1} path, .section-${e-1} circle, .section-${e-1} path {
|
|
8
|
-
fill: ${
|
|
8
|
+
fill: ${r["cScale"+e]};
|
|
9
9
|
}
|
|
10
10
|
.section-${e-1} text {
|
|
11
|
-
fill: ${
|
|
11
|
+
fill: ${r["cScaleLabel"+e]};
|
|
12
12
|
}
|
|
13
13
|
.node-icon-${e-1} {
|
|
14
14
|
font-size: 40px;
|
|
15
|
-
color: ${
|
|
15
|
+
color: ${r["cScaleLabel"+e]};
|
|
16
16
|
}
|
|
17
17
|
.section-edge-${e-1}{
|
|
18
|
-
stroke: ${
|
|
18
|
+
stroke: ${r["cScale"+e]};
|
|
19
19
|
}
|
|
20
20
|
.edge-depth-${e-1}{
|
|
21
21
|
stroke-width: ${l};
|
|
22
22
|
}
|
|
23
23
|
.section-${e-1} line {
|
|
24
|
-
stroke: ${
|
|
24
|
+
stroke: ${r["cScaleInv"+e]} ;
|
|
25
25
|
stroke-width: 3;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
.lineWrapper line{
|
|
29
|
-
stroke: ${
|
|
29
|
+
stroke: ${r["cScaleLabel"+e]} ;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
.disabled, .disabled circle, .disabled text {
|
|
@@ -35,16 +35,16 @@ Expecting `+B.join(", ")+", got '"+(this.terminals_[S]||S)+"'":Z="Parse error on
|
|
|
35
35
|
.disabled text {
|
|
36
36
|
fill: #efefef;
|
|
37
37
|
}
|
|
38
|
-
`}return t},"genSections"),At=n.__name(
|
|
38
|
+
`}return t},"genSections"),At=n.__name(r=>`
|
|
39
39
|
.edge {
|
|
40
40
|
stroke-width: 3;
|
|
41
41
|
}
|
|
42
|
-
${Pt(
|
|
42
|
+
${Pt(r)}
|
|
43
43
|
.section-root rect, .section-root path, .section-root circle {
|
|
44
|
-
fill: ${
|
|
44
|
+
fill: ${r.git0};
|
|
45
45
|
}
|
|
46
46
|
.section-root text {
|
|
47
|
-
fill: ${
|
|
47
|
+
fill: ${r.gitBranchLabel0};
|
|
48
48
|
}
|
|
49
49
|
.icon-container {
|
|
50
50
|
height:100%;
|
|
@@ -58,5 +58,5 @@ Expecting `+B.join(", ")+", got '"+(this.terminals_[S]||S)+"'":Z="Parse error on
|
|
|
58
58
|
.eventWrapper {
|
|
59
59
|
filter: brightness(120%);
|
|
60
60
|
}
|
|
61
|
-
`,"getStyles"),Ct=At,Rt={db:
|
|
62
|
-
//# sourceMappingURL=timeline-definition-IT6M3QCI-
|
|
61
|
+
`,"getStyles"),Ct=At,Rt={db:it,renderer:Ht,parser:_t,styles:Ct};exports.diagram=Rt;
|
|
62
|
+
//# sourceMappingURL=timeline-definition-IT6M3QCI-OOGU6-EM.cjs.map
|