dsh-inkmap 0.0.0-stage → 0.3.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/LICENSE.md +89 -0
- package/README.md +19 -2
- package/README.zh.md +20 -0
- package/THIRD_PARTY_NOTICES.md +2446 -0
- package/client.js +231 -0
- package/cordis.patch.yml +3 -0
- package/host.js +1413 -0
- package/icon.svg +24 -0
- package/locale/en.json +7 -0
- package/locale/zh.json +7 -0
- package/package.json +73 -4
- package/web/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 +0 -0
- package/web/assets/KaTeX_AMS-Regular-DMm9YOAa.woff +0 -0
- package/web/assets/KaTeX_AMS-Regular-DRggAlZN.ttf +0 -0
- package/web/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf +0 -0
- package/web/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff +0 -0
- package/web/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 +0 -0
- package/web/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff +0 -0
- package/web/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 +0 -0
- package/web/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf +0 -0
- package/web/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf +0 -0
- package/web/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff +0 -0
- package/web/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 +0 -0
- package/web/assets/KaTeX_Fraktur-Regular-CB_wures.ttf +0 -0
- package/web/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 +0 -0
- package/web/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff +0 -0
- package/web/assets/KaTeX_Main-Bold-Cx986IdX.woff2 +0 -0
- package/web/assets/KaTeX_Main-Bold-Jm3AIy58.woff +0 -0
- package/web/assets/KaTeX_Main-Bold-waoOVXN0.ttf +0 -0
- package/web/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 +0 -0
- package/web/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf +0 -0
- package/web/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff +0 -0
- package/web/assets/KaTeX_Main-Italic-3WenGoN9.ttf +0 -0
- package/web/assets/KaTeX_Main-Italic-BMLOBm91.woff +0 -0
- package/web/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 +0 -0
- package/web/assets/KaTeX_Main-Regular-B22Nviop.woff2 +0 -0
- package/web/assets/KaTeX_Main-Regular-Dr94JaBh.woff +0 -0
- package/web/assets/KaTeX_Main-Regular-ypZvNtVU.ttf +0 -0
- package/web/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf +0 -0
- package/web/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 +0 -0
- package/web/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff +0 -0
- package/web/assets/KaTeX_Math-Italic-DA0__PXp.woff +0 -0
- package/web/assets/KaTeX_Math-Italic-flOr_0UB.ttf +0 -0
- package/web/assets/KaTeX_Math-Italic-t53AETM-.woff2 +0 -0
- package/web/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf +0 -0
- package/web/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 +0 -0
- package/web/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff +0 -0
- package/web/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 +0 -0
- package/web/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff +0 -0
- package/web/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf +0 -0
- package/web/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf +0 -0
- package/web/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff +0 -0
- package/web/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 +0 -0
- package/web/assets/KaTeX_Script-Regular-C5JkGWo-.ttf +0 -0
- package/web/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 +0 -0
- package/web/assets/KaTeX_Script-Regular-D5yQViql.woff +0 -0
- package/web/assets/KaTeX_Size1-Regular-C195tn64.woff +0 -0
- package/web/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf +0 -0
- package/web/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 +0 -0
- package/web/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf +0 -0
- package/web/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 +0 -0
- package/web/assets/KaTeX_Size2-Regular-oD1tc_U0.woff +0 -0
- package/web/assets/KaTeX_Size3-Regular-CTq5MqoE.woff +0 -0
- package/web/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf +0 -0
- package/web/assets/KaTeX_Size4-Regular-BF-4gkZK.woff +0 -0
- package/web/assets/KaTeX_Size4-Regular-DWFBv043.ttf +0 -0
- package/web/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 +0 -0
- package/web/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff +0 -0
- package/web/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 +0 -0
- package/web/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf +0 -0
- package/web/assets/abnfDiagram-S7VZAUFO-DCzUGFRF.js +1 -0
- package/web/assets/architectureDiagram-YGSQEFNW-DCDp7B_s.js +36 -0
- package/web/assets/blockDiagram-APKKGZFW-Dp98xzjW.js +140 -0
- package/web/assets/bpmnIcons-APHXDYXF-ByGoYv9M.js +1 -0
- package/web/assets/c4Diagram-KJ2TOQU5-CxPOkxbV.js +38 -0
- package/web/assets/chunk-2Q5K7J3B-BMceFX8f.js +1 -0
- package/web/assets/chunk-5VM5RSS4-C9Qw2XEx.js +15 -0
- package/web/assets/chunk-HFQBQIA3-CnMYAsuk.js +1 -0
- package/web/assets/chunk-JWPE2WC7-BSqiGtEr.js +1 -0
- package/web/assets/chunk-KQLB2F66-Crtz58vF.js +2 -0
- package/web/assets/chunk-KS47KZWR-Dv5wN_u7.js +1 -0
- package/web/assets/chunk-OY52VR5R-C8pYN-C4.js +88 -0
- package/web/assets/chunk-TU62E6Q5-CFoEpZGl.js +1 -0
- package/web/assets/chunk-XXDRQBXY-D4qfiWHi.js +1 -0
- package/web/assets/classDiagram-v2-L25IHNXF-BpUzliMF.js +217 -0
- package/web/assets/cose-bilkent-JH36ORCC-O-0rZBHt.js +1 -0
- package/web/assets/cynefin-EF2NZ3EQ-DDFv76G2.js +141 -0
- package/web/assets/cynefinDiagram-L36ESFBY-Bqq6kFZK.js +62 -0
- package/web/assets/cytoscape.esm-Bw5aGq32.js +332 -0
- package/web/assets/d3-scale-4DPf7zan.js +1 -0
- package/web/assets/dagre-SPEB5RXH-DMnAnp6O.js +4 -0
- package/web/assets/diagram-3B7GL73J-CGrQKQaU.js +200 -0
- package/web/assets/diagram-DNEMPZML-Bkae5AE1.js +24 -0
- package/web/assets/diagram-L3MUGCDN-BGWxbw_y.js +41 -0
- package/web/assets/diagram-LA4NIPWU-BtnLKThN.js +24 -0
- package/web/assets/diagram-MHCOC4E2-Cvp57UMh.js +3 -0
- package/web/assets/diagram-XPFHEONP-Cvho1yP_.js +30 -0
- package/web/assets/ebnfDiagram-UZSYDL2S-CvU-EhVB.js +1 -0
- package/web/assets/elk-XV6XMXQE-DrGf1_tu.js +27 -0
- package/web/assets/erDiagram-EYBAPDEH-BnO8m7Bv.js +99 -0
- package/web/assets/flowDiagram-MALGAFMO-D87SYE69.js +213 -0
- package/web/assets/ganttDiagram-23REXITY-BBYnxsjP.js +292 -0
- package/web/assets/gitGraphDiagram-STJD7YCW-DqsbpPW5.js +106 -0
- package/web/assets/graph-Bn3Yngep.js +1 -0
- package/web/assets/index-CfSzSt6G.js +648 -0
- package/web/assets/index-Dzbmi6PZ.css +11 -0
- package/web/assets/infoDiagram-KBXO4MBG-Dxx-5YUy.js +2 -0
- package/web/assets/ishikawaDiagram-M35NCXHK-5sFCM32b.js +70 -0
- package/web/assets/journeyDiagram-OPLOXDXO-B7LH-gFu.js +139 -0
- package/web/assets/kanban-definition-BZKZHSQY-BMVXBGIk.js +89 -0
- package/web/assets/katex-RYEII7GN.js +257 -0
- package/web/assets/mermaid.core-CD6VFwtI.js +312 -0
- package/web/assets/mindmap-definition-I2QAS2VK-gQHH0qKH.js +98 -0
- package/web/assets/pegDiagram-FD4XPPHP-BuGYbf1-.js +1 -0
- package/web/assets/pieDiagram-J4AKIIQI-C5JF9vSK.js +39 -0
- package/web/assets/quadrantDiagram-XTYBLID2-DgU9d7wQ.js +7 -0
- package/web/assets/railroadDiagram-MRQ6NCDL-44C0bWJw.js +1 -0
- package/web/assets/requirementDiagram-Y7LWUY3S-CBp6AUBf.js +84 -0
- package/web/assets/sankeyDiagram-WGJFYUXA-C1Y-Bxdt.js +40 -0
- package/web/assets/sequenceDiagram-5NDRBG5M-BABmlKjV.js +169 -0
- package/web/assets/sizeCapture-INFHLROL-DfwsWa78.js +1 -0
- package/web/assets/stateDiagram-v2-FJ4FJNEA-BYGt7M38.js +291 -0
- package/web/assets/swimlanes-UMQ2AFYF-Dz5f-g49.js +1 -0
- package/web/assets/swimlanesDiagram-OMPLPG4O-DVEAjyOD.js +8 -0
- package/web/assets/timeline-definition-SEUHKTQE-BJnwE8wH.js +120 -0
- package/web/assets/usecaseDiagram-AFA6YXN4-D2RoWXSY.js +370 -0
- package/web/assets/vennDiagram-NNMJR3RB-DuoZW-lM.js +34 -0
- package/web/assets/wardleyDiagram-S7YFUSEH-Cug9e2FD.js +78 -0
- package/web/assets/xychartDiagram-GGNKY7IX-MQVbHA6N.js +7 -0
- package/web/index.html +300 -0
package/web/index.html
ADDED
|
@@ -0,0 +1,300 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
6
|
+
<title>Inkmap</title>
|
|
7
|
+
<script type="module" crossorigin src="./assets/index-CfSzSt6G.js"></script>
|
|
8
|
+
<link rel="stylesheet" crossorigin href="./assets/index-Dzbmi6PZ.css">
|
|
9
|
+
</head>
|
|
10
|
+
<body>
|
|
11
|
+
<header id="bar">
|
|
12
|
+
<button id="undo" class="icon-btn" data-i18n-title="undoTitle" aria-label="Undo">
|
|
13
|
+
<svg width="15" height="15" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"><path d="M3.5 6.5h6a3.5 3.5 0 1 1 0 7H7"/><path d="M6 4 3.5 6.5 6 9"/></svg>
|
|
14
|
+
</button>
|
|
15
|
+
<button id="redo" class="icon-btn" data-i18n-title="redoTitle" aria-label="Redo">
|
|
16
|
+
<svg width="15" height="15" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"><path d="M12.5 6.5h-6a3.5 3.5 0 1 0 0 7H9"/><path d="M10 4l2.5 2.5L10 9"/></svg>
|
|
17
|
+
</button>
|
|
18
|
+
<span class="sep"></span>
|
|
19
|
+
<select id="level-select" data-i18n-title="expandToTitle">
|
|
20
|
+
<option value="" hidden data-i18n="expandTo"></option>
|
|
21
|
+
<option value="1">1</option><option value="2">2</option><option value="3">3</option><option value="4">4</option><option value="all" data-i18n="all"></option>
|
|
22
|
+
</select>
|
|
23
|
+
<button id="fit" data-i18n-title="fitTitle">
|
|
24
|
+
<svg class="bar-icon" width="14" height="14" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M2.5 6V3.5a1 1 0 0 1 1-1H6M10 2.5h2.5a1 1 0 0 1 1 1V6M13.5 10v2.5a1 1 0 0 1-1 1H10M6 13.5H3.5a1 1 0 0 1-1-1V10"/></svg>
|
|
25
|
+
<span data-i18n="fit"></span>
|
|
26
|
+
</button>
|
|
27
|
+
<span class="sep"></span>
|
|
28
|
+
<select id="layout-select" data-i18n-title="layout"></select>
|
|
29
|
+
<select id="theme-select" data-i18n-title="theme"></select>
|
|
30
|
+
<span class="sep"></span>
|
|
31
|
+
<button id="find" data-i18n-title="findTitle">
|
|
32
|
+
<svg class="bar-icon" width="14" height="14" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="7.2" cy="7.2" r="4.5"/><path d="m10.6 10.6 3 3"/></svg>
|
|
33
|
+
<span data-i18n="find"></span>
|
|
34
|
+
</button>
|
|
35
|
+
<span class="dropdown">
|
|
36
|
+
<button id="export">
|
|
37
|
+
<svg class="bar-icon" width="14" height="14" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M8 2.5v7.5M5 7l3 3 3-3"/><path d="M2.5 11.5v1a1.5 1.5 0 0 0 1.5 1.5h8a1.5 1.5 0 0 0 1.5-1.5v-1"/></svg>
|
|
38
|
+
<span data-i18n="export"></span>
|
|
39
|
+
</button>
|
|
40
|
+
<span id="export-menu" class="menu" hidden>
|
|
41
|
+
<button data-export="png" data-i18n="exportPng"></button>
|
|
42
|
+
<button data-export="svg" data-i18n="exportSvg"></button>
|
|
43
|
+
</span>
|
|
44
|
+
</span>
|
|
45
|
+
<button id="present" data-i18n-title="presentTitle">
|
|
46
|
+
<svg class="bar-icon" width="14" height="14" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="2" y="2.8" width="12" height="8.4" rx="1.4"/><path d="M6.8 5.4 10 7l-3.2 1.6V5.4Z"/><path d="M8 11.2v2.3M5.5 13.5h5"/></svg>
|
|
47
|
+
<span data-i18n="present"></span>
|
|
48
|
+
</button>
|
|
49
|
+
<select class="language-select" aria-label="Language / 语言"><option value="en">English</option><option value="zh">中文</option></select>
|
|
50
|
+
<span id="status" data-state="saved"></span>
|
|
51
|
+
<div id="account">
|
|
52
|
+
<button id="pro" type="button" aria-expanded="false" aria-controls="account-panel" hidden>
|
|
53
|
+
<span class="account-avatar" aria-hidden="true"><svg viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.55" stroke-linecap="round" stroke-linejoin="round"><circle cx="8" cy="5.5" r="2.6"/><path d="M3.2 13.4c.7-2.2 2.5-3.4 4.8-3.4s4.1 1.2 4.8 3.4"/></svg></span>
|
|
54
|
+
<span id="account-badge"></span>
|
|
55
|
+
</button>
|
|
56
|
+
<section id="account-panel" aria-labelledby="account-heading" hidden>
|
|
57
|
+
<div class="account-identity">
|
|
58
|
+
<span class="account-avatar" aria-hidden="true"><svg viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><circle cx="8" cy="5.5" r="2.6"/><path d="M3.2 13.4c.7-2.2 2.5-3.4 4.8-3.4s4.1 1.2 4.8 3.4"/></svg></span>
|
|
59
|
+
<div class="account-identity-meta">
|
|
60
|
+
<p id="account-text"></p>
|
|
61
|
+
<h2 id="account-heading" data-i18n="accountHeading"></h2>
|
|
62
|
+
</div>
|
|
63
|
+
</div>
|
|
64
|
+
<div class="account-plan">
|
|
65
|
+
<div id="account-plan-status" class="account-plan-status">
|
|
66
|
+
<div class="account-plan-head">
|
|
67
|
+
<span class="account-plan-dot" aria-hidden="true"></span>
|
|
68
|
+
<strong id="account-plan-title"></strong>
|
|
69
|
+
</div>
|
|
70
|
+
<p id="account-plan-detail"></p>
|
|
71
|
+
</div>
|
|
72
|
+
<div id="account-perks" class="account-perks" hidden>
|
|
73
|
+
<div class="account-perks-head">
|
|
74
|
+
<span class="account-perks-label"><span class="pro-mini-badge">PRO</span><span data-i18n="proPerksTitle"></span></span>
|
|
75
|
+
<span class="account-perks-price" data-i18n="proPriceTag"></span>
|
|
76
|
+
<button id="account-perks-more" class="plan-more-btn" type="button" hidden><span data-i18n="proPerksAll"></span><svg width="11" height="11" viewBox="0 0 12 12" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M4.5 2.5 8 6l-3.5 3.5"/></svg></button>
|
|
77
|
+
</div>
|
|
78
|
+
<ul class="account-perks-list">
|
|
79
|
+
<li data-i18n="perk.markdown"></li>
|
|
80
|
+
<li data-i18n="perk.diagram"></li>
|
|
81
|
+
<li data-i18n="perk.layouts"></li>
|
|
82
|
+
<li data-i18n="perk.export"></li>
|
|
83
|
+
<li data-i18n="perk.rich"></li>
|
|
84
|
+
<li data-i18n="perk.present"></li>
|
|
85
|
+
<li data-i18n="perk.updates"></li>
|
|
86
|
+
</ul>
|
|
87
|
+
</div>
|
|
88
|
+
</div>
|
|
89
|
+
<div class="account-primary">
|
|
90
|
+
<button id="account-buy" class="buy" type="button" data-i18n="buyPro" hidden></button>
|
|
91
|
+
<button id="account-sign-in" class="buy" type="button" data-i18n="signIn" hidden></button>
|
|
92
|
+
</div>
|
|
93
|
+
<div id="account-web-links" class="account-web-links" hidden>
|
|
94
|
+
<button id="account-web-checkout" class="account-ext-link" type="button" hidden>
|
|
95
|
+
<svg width="13" height="13" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="1.8" y="3.5" width="12.4" height="9" rx="1.8"/><path d="M1.8 6.8h12.4"/></svg>
|
|
96
|
+
<span data-i18n="webCheckoutLink"></span>
|
|
97
|
+
<span class="ext-arrow" aria-hidden="true">↗</span>
|
|
98
|
+
</button>
|
|
99
|
+
<a id="account-official-link" class="account-ext-link" href="https://zhiyuanv.com/software.html#inkmap-pricing" target="_blank" rel="noopener noreferrer" hidden>
|
|
100
|
+
<svg width="13" height="13" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="8" cy="8" r="6"/><path d="M2.2 8h11.6"/><path d="M8 2a9.5 9.5 0 0 1 2.4 6A9.5 9.5 0 0 1 8 14a9.5 9.5 0 0 1-2.4-6A9.5 9.5 0 0 1 8 2Z"/></svg>
|
|
101
|
+
<span data-i18n="officialWebsite"></span>
|
|
102
|
+
<span class="ext-arrow" aria-hidden="true">↗</span>
|
|
103
|
+
</a>
|
|
104
|
+
</div>
|
|
105
|
+
<div id="account-actions" class="account-actions" hidden>
|
|
106
|
+
<button id="switch-account" class="account-menu-item" type="button"><svg width="14" height="14" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M11 2.5 13.5 5 11 7.5"/><path d="M2.5 5h11"/><path d="M5 13.5 2.5 11 5 8.5"/><path d="M13.5 11h-11"/></svg><span data-i18n="switchAccount"></span></button>
|
|
107
|
+
<button id="sign-out" class="account-menu-item danger" type="button"><svg width="14" height="14" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M6 2.5H3.8A1.3 1.3 0 0 0 2.5 3.8v8.4c0 .72.58 1.3 1.3 1.3H6"/><path d="M10.5 11 13.5 8l-3-3"/><path d="M13.5 8H6.5"/></svg><span data-i18n="signOut"></span></button>
|
|
108
|
+
</div>
|
|
109
|
+
<div id="account-phone-slot"></div>
|
|
110
|
+
<p id="account-message" class="billing-message" role="status" hidden></p>
|
|
111
|
+
</section>
|
|
112
|
+
</div>
|
|
113
|
+
</header>
|
|
114
|
+
|
|
115
|
+
<div id="search" hidden>
|
|
116
|
+
<input id="find-input" data-i18n-placeholder="findPlaceholder" spellcheck="false">
|
|
117
|
+
<span id="find-count"></span>
|
|
118
|
+
<button id="find-prev" data-i18n-title="prev">↑</button>
|
|
119
|
+
<button id="find-next" data-i18n-title="next">↓</button>
|
|
120
|
+
<span class="sep"></span>
|
|
121
|
+
<input id="replace-input" data-i18n-placeholder="replacePlaceholder" spellcheck="false">
|
|
122
|
+
<button id="replace-one" data-i18n="replace"></button>
|
|
123
|
+
<button id="replace-all" data-i18n="replaceAll"></button>
|
|
124
|
+
<button id="find-close" class="icon" data-i18n-title="close">×</button>
|
|
125
|
+
</div>
|
|
126
|
+
|
|
127
|
+
<main id="map"></main>
|
|
128
|
+
<textarea id="node-inline-edit" rows="1" spellcheck="false" hidden></textarea>
|
|
129
|
+
|
|
130
|
+
<aside id="source" hidden>
|
|
131
|
+
<div class="source-head">
|
|
132
|
+
<span data-i18n="sourceHead"></span>
|
|
133
|
+
<button id="close-source" data-i18n-title="close">×</button>
|
|
134
|
+
</div>
|
|
135
|
+
<textarea id="source-text" spellcheck="false" data-i18n-placeholder="sourcePlaceholder"></textarea>
|
|
136
|
+
<p class="source-hint" data-i18n="sourceHint"></p>
|
|
137
|
+
</aside>
|
|
138
|
+
|
|
139
|
+
<button id="chat-add" hidden></button>
|
|
140
|
+
|
|
141
|
+
<div id="node-menu" class="menu" hidden>
|
|
142
|
+
<button id="menu-add-to-chat" hidden></button>
|
|
143
|
+
<button id="menu-insert-child"><span data-i18n="insertChildNode"></span><kbd>Tab</kbd></button>
|
|
144
|
+
<button id="menu-insert-sibling"><span data-i18n="insertSiblingNode"></span><kbd>Enter</kbd></button>
|
|
145
|
+
<button id="menu-insert-parent"><span data-i18n="insertParentNode"></span><kbd>⇧Tab</kbd></button>
|
|
146
|
+
<button id="menu-move-up"><span data-i18n="moveNodeUp"></span><kbd id="menu-up-kbd">⌘↑</kbd></button>
|
|
147
|
+
<button id="menu-move-down"><span data-i18n="moveNodeDown"></span><kbd id="menu-down-kbd">⌘↓</kbd></button>
|
|
148
|
+
<button id="menu-source"><span data-i18n="editMarkdown"></span><kbd id="menu-source-kbd">⌘E</kbd></button>
|
|
149
|
+
<button id="menu-expand-subtree"><span data-i18n="expandAllDescendants"></span><kbd>⇧/</kbd></button>
|
|
150
|
+
<button id="menu-remove-node"><span data-i18n="removeNode"></span><kbd>⌫</kbd></button>
|
|
151
|
+
</div>
|
|
152
|
+
|
|
153
|
+
<div id="upgrade" hidden>
|
|
154
|
+
<div class="upgrade-card" role="dialog" aria-modal="true" aria-labelledby="upgrade-title">
|
|
155
|
+
<button class="upgrade-close" data-i18n-title="close">×</button>
|
|
156
|
+
<select class="language-select upgrade-language" aria-label="Language / 语言"><option value="en">English</option><option value="zh">中文</option></select>
|
|
157
|
+
<div class="upgrade-head">
|
|
158
|
+
<span class="pro-pill">PRO</span>
|
|
159
|
+
<h2 id="upgrade-title" data-i18n="proTitle"></h2>
|
|
160
|
+
</div>
|
|
161
|
+
<p class="upgrade-sub" data-i18n="proSubtitle"></p>
|
|
162
|
+
<p id="trial-status" hidden></p>
|
|
163
|
+
<p id="trial-expired-message" data-i18n="trialExpired" hidden></p>
|
|
164
|
+
<p class="upgrade-locked" hidden></p>
|
|
165
|
+
<p id="upgrade-account" hidden></p>
|
|
166
|
+
<ul class="upgrade-features"></ul>
|
|
167
|
+
<div class="upgrade-buy">
|
|
168
|
+
<button id="buy-pro" class="buy" type="button" data-i18n="buyPro" hidden></button>
|
|
169
|
+
<button id="upgrade-sign-in" class="buy" type="button" data-i18n="signIn" hidden></button>
|
|
170
|
+
</div>
|
|
171
|
+
<div id="upgrade-web-links" class="account-web-links upgrade-web-links" hidden>
|
|
172
|
+
<button id="upgrade-web-checkout" class="account-ext-link" type="button" hidden>
|
|
173
|
+
<svg width="13" height="13" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="1.8" y="3.5" width="12.4" height="9" rx="1.8"/><path d="M1.8 6.8h12.4"/></svg>
|
|
174
|
+
<span data-i18n="webCheckoutLink"></span>
|
|
175
|
+
<span class="ext-arrow" aria-hidden="true">↗</span>
|
|
176
|
+
</button>
|
|
177
|
+
<a id="upgrade-official-link" class="account-ext-link" href="https://zhiyuanv.com/software.html#inkmap-pricing" target="_blank" rel="noopener noreferrer" hidden>
|
|
178
|
+
<svg width="13" height="13" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="8" cy="8" r="6"/><path d="M2.2 8h11.6"/><path d="M8 2a9.5 9.5 0 0 1 2.4 6A9.5 9.5 0 0 1 8 14a9.5 9.5 0 0 1-2.4-6A9.5 9.5 0 0 1 8 2Z"/></svg>
|
|
179
|
+
<span data-i18n="officialWebsite"></span>
|
|
180
|
+
<span class="ext-arrow" aria-hidden="true">↗</span>
|
|
181
|
+
</a>
|
|
182
|
+
</div>
|
|
183
|
+
<div id="upgrade-account-actions" class="account-actions" hidden>
|
|
184
|
+
<button id="upgrade-switch-account" class="link-btn" type="button" data-i18n="switchAccount"></button>
|
|
185
|
+
<button id="upgrade-sign-out" class="link-btn danger" type="button" data-i18n="signOut"></button>
|
|
186
|
+
</div>
|
|
187
|
+
<div id="upgrade-phone-slot"></div>
|
|
188
|
+
<p id="checkout-msg" class="billing-message" role="status" hidden></p>
|
|
189
|
+
</div>
|
|
190
|
+
</div>
|
|
191
|
+
|
|
192
|
+
<template id="phone-sign-in-template">
|
|
193
|
+
<form class="phone-sign-in" aria-labelledby="phone-sign-in-title">
|
|
194
|
+
<div class="phone-sign-in-head">
|
|
195
|
+
<div class="phone-sign-in-brand">
|
|
196
|
+
<span class="phone-sign-in-badge" aria-hidden="true">
|
|
197
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect x="1.8" y="3.2" width="12.4" height="9.6" rx="2"/><path d="m2.5 4.4 5.5 4 5.5-4"/></svg>
|
|
198
|
+
</span>
|
|
199
|
+
<div>
|
|
200
|
+
<h3 id="phone-sign-in-title" data-i18n="phoneSignIn"></h3>
|
|
201
|
+
<p class="phone-sign-in-sub" data-i18n="phoneSignInSub"></p>
|
|
202
|
+
</div>
|
|
203
|
+
</div>
|
|
204
|
+
<button id="cancel-phone-sign-in" type="button" class="phone-sign-in-close" data-i18n-title="close" aria-label="Close">
|
|
205
|
+
<svg width="14" height="14" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" aria-hidden="true"><path d="M4.2 4.2l7.6 7.6M11.8 4.2l-7.6 7.6"/></svg>
|
|
206
|
+
</button>
|
|
207
|
+
</div>
|
|
208
|
+
<div class="phone-field">
|
|
209
|
+
<label for="sign-in-phone" data-i18n="phoneNumber"></label>
|
|
210
|
+
<div class="phone-input-wrap">
|
|
211
|
+
<svg class="phone-input-icon" width="14" height="14" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="1.8" y="3.2" width="12.4" height="9.6" rx="1.8"/><path d="m2.4 4.2 5.6 4.2 5.6-4.2"/></svg>
|
|
212
|
+
<input id="sign-in-phone" type="text" inputmode="email" autocomplete="email" maxlength="254" required data-i18n-placeholder="phonePlaceholder">
|
|
213
|
+
</div>
|
|
214
|
+
</div>
|
|
215
|
+
<div class="phone-field">
|
|
216
|
+
<label for="sign-in-code" data-i18n="phoneCode"></label>
|
|
217
|
+
<div class="phone-code-row">
|
|
218
|
+
<input id="sign-in-code" type="text" inputmode="numeric" autocomplete="one-time-code" maxlength="6" pattern="[0-9]{6}" required data-i18n-placeholder="phoneCodePlaceholder">
|
|
219
|
+
<button id="send-phone-code" type="button"></button>
|
|
220
|
+
</div>
|
|
221
|
+
</div>
|
|
222
|
+
<p id="phone-sign-in-status" class="billing-message" role="status" aria-live="polite" hidden></p>
|
|
223
|
+
<button class="buy" type="submit" data-i18n="phoneVerifySubmit"></button>
|
|
224
|
+
<p class="phone-sign-in-hint" data-i18n="phoneSignInHint"></p>
|
|
225
|
+
<div class="phone-sign-in-links">
|
|
226
|
+
<button id="phone-browser-sign-in" type="button" class="browser-sign-in-btn"><span data-i18n="browserSignIn"></span><svg width="12" height="12" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M6.5 3.5H3.8A1.3 1.3 0 0 0 2.5 4.8v7.4c0 .72.58 1.3 1.3 1.3h7.4c.72 0 1.3-.58 1.3-1.3V9.5"/><path d="M9.5 2.5h4v4"/><path d="M13.5 2.5 7.5 8.5"/></svg></button>
|
|
227
|
+
</div>
|
|
228
|
+
</form>
|
|
229
|
+
</template>
|
|
230
|
+
|
|
231
|
+
<template id="wechat-pay-template">
|
|
232
|
+
<section class="wechat-pay" aria-labelledby="wechat-pay-title">
|
|
233
|
+
<div class="wechat-pay-head">
|
|
234
|
+
<div class="wechat-pay-brand">
|
|
235
|
+
<span class="wechat-pay-icon" aria-hidden="true">
|
|
236
|
+
<svg width="16" height="16" viewBox="0 0 20 20" fill="none"><path d="M10 1.8 3.2 4.6v4.9c0 4.4 2.9 7.8 6.8 8.7 3.9-.9 6.8-4.3 6.8-8.7V4.6L10 1.8Z" fill="currentColor" fill-opacity=".18" stroke="currentColor" stroke-width="1.6" stroke-linejoin="round"/><path d="m7.2 10.1 2 2 3.8-3.9" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/></svg>
|
|
237
|
+
</span>
|
|
238
|
+
<div>
|
|
239
|
+
<h3 id="wechat-pay-title" data-i18n="wechatPayTitle"></h3>
|
|
240
|
+
<p class="wechat-pay-sub" data-i18n="wechatPaySub"></p>
|
|
241
|
+
</div>
|
|
242
|
+
</div>
|
|
243
|
+
<button id="close-wechat-pay" type="button" class="phone-sign-in-close" data-i18n-title="close" aria-label="Close">
|
|
244
|
+
<svg width="14" height="14" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" aria-hidden="true"><path d="M4.2 4.2l7.6 7.6M11.8 4.2l-7.6 7.6"/></svg>
|
|
245
|
+
</button>
|
|
246
|
+
</div>
|
|
247
|
+
<div class="wechat-pay-meta">
|
|
248
|
+
<div class="wechat-pay-meta-info">
|
|
249
|
+
<span class="wechat-pay-product"><span class="pro-mini-badge">PRO</span><span data-i18n="wechatPayProduct"></span></span>
|
|
250
|
+
<span id="wechat-pay-account" class="wechat-pay-account" hidden></span>
|
|
251
|
+
</div>
|
|
252
|
+
<strong id="wechat-pay-amount" class="wechat-pay-amount">¥29.90</strong>
|
|
253
|
+
</div>
|
|
254
|
+
<div class="wechat-pay-stage">
|
|
255
|
+
<img id="wechat-pay-qr" width="168" height="168" alt="WeChat Pay QR code">
|
|
256
|
+
<div id="wechat-pay-expired" class="wechat-pay-expired" hidden>
|
|
257
|
+
<span data-i18n="wechatPayExpired"></span>
|
|
258
|
+
<button id="refresh-wechat-pay" type="button" class="wechat-refresh-btn" data-i18n="wechatPayRefresh"></button>
|
|
259
|
+
</div>
|
|
260
|
+
</div>
|
|
261
|
+
<div class="wechat-pay-status">
|
|
262
|
+
<span class="wechat-pay-dot" aria-hidden="true"></span>
|
|
263
|
+
<span id="wechat-pay-expires"></span>
|
|
264
|
+
</div>
|
|
265
|
+
<p class="wechat-pay-note" data-i18n="wechatPayNote"></p>
|
|
266
|
+
<div class="phone-sign-in-links">
|
|
267
|
+
<button id="wechat-pay-browser" type="button" class="browser-sign-in-btn"><span data-i18n="wechatPayBrowser"></span><svg width="12" height="12" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M6.5 3.5H3.8A1.3 1.3 0 0 0 2.5 4.8v7.4c0 .72.58 1.3 1.3 1.3h7.4c.72 0 1.3-.58 1.3-1.3V9.5"/><path d="M9.5 2.5h4v4"/><path d="M13.5 2.5 7.5 8.5"/></svg></button>
|
|
268
|
+
<a class="browser-sign-in-btn" href="https://zhiyuanv.com/software.html#inkmap-pricing" target="_blank" rel="noopener noreferrer"><span data-i18n="officialWebsite"></span><svg width="12" height="12" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M6.5 3.5H3.8A1.3 1.3 0 0 0 2.5 4.8v7.4c0 .72.58 1.3 1.3 1.3h7.4c.72 0 1.3-.58 1.3-1.3V9.5"/><path d="M9.5 2.5h4v4"/><path d="M13.5 2.5 7.5 8.5"/></svg></a>
|
|
269
|
+
</div>
|
|
270
|
+
</section>
|
|
271
|
+
</template>
|
|
272
|
+
|
|
273
|
+
<div id="present-bar" hidden>
|
|
274
|
+
<button id="present-prev" type="button" data-i18n="presentPrev"></button>
|
|
275
|
+
<span id="present-step"></span>
|
|
276
|
+
<button id="present-next" type="button" data-i18n="presentNext"></button>
|
|
277
|
+
<span class="sep"></span>
|
|
278
|
+
<button id="present-exit" type="button" data-i18n="presentExit"></button>
|
|
279
|
+
</div>
|
|
280
|
+
|
|
281
|
+
<div id="diagram-modal" hidden>
|
|
282
|
+
<div class="diagram-modal-bar">
|
|
283
|
+
<button id="diagram-zoom-out" type="button" title="−">−</button>
|
|
284
|
+
<span id="diagram-zoom-level">100%</span>
|
|
285
|
+
<button id="diagram-zoom-in" type="button" title="+">+</button>
|
|
286
|
+
<button id="diagram-zoom-fit" type="button" data-i18n="fit"></button>
|
|
287
|
+
<button id="diagram-zoom-reset" type="button">100%</button>
|
|
288
|
+
<button id="diagram-modal-close" type="button" data-i18n-title="close">×</button>
|
|
289
|
+
</div>
|
|
290
|
+
<p id="diagram-modal-hint" data-i18n="diagramHint"></p>
|
|
291
|
+
<div id="diagram-modal-stage" tabindex="0">
|
|
292
|
+
<div id="diagram-modal-world">
|
|
293
|
+
<img id="diagram-modal-img" alt="Mermaid" draggable="false">
|
|
294
|
+
</div>
|
|
295
|
+
</div>
|
|
296
|
+
</div>
|
|
297
|
+
|
|
298
|
+
<div id="toast" hidden></div>
|
|
299
|
+
</body>
|
|
300
|
+
</html>
|