proskomma-core 0.9.13 → 0.9.15

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/esm/wrapper.mjs CHANGED
@@ -1,5 +1,7 @@
1
- import cjsModule from '../index.cjs';
2
- // Proskomma, lexingRegexes, blocksSpecUtils
3
- export const Proskomma = cjsModule.Proskomma;
4
- export const lexingRegexes = cjsModule.lexingRegexes;
5
- export const blocksSpecUtils = cjsModule.blocksSpecUtils;
1
+ import {
2
+ Proskomma, lexingRegexes, blocksSpecUtils,
3
+ } from '../index.cjs';
4
+
5
+ export {
6
+ Proskomma, lexingRegexes, blocksSpecUtils,
7
+ };
package/package.json CHANGED
@@ -1,11 +1,10 @@
1
1
  {
2
2
  "name": "proskomma-core",
3
- "version": "0.9.13",
3
+ "version": "0.9.15",
4
4
  "description": "A Scripture Runtime Engine",
5
- "main": "esm/wrapper.mjs",
6
5
  "exports": {
7
- "require": "./index.cjs",
8
- "import": "./esm/wrapper.mjs"
6
+ ".": "./index.cjs",
7
+ "./esm": "./esm/wrapper.mjs"
9
8
  },
10
9
  "scripts": {
11
10
  "test": "export PKSRC=dist && npm run build && bash -c \"tape -r @babel/register test/code/*.cjs | node_modules/tap-summary/bin/cmd.js\"",
package/docs/_config.yml DELETED
@@ -1 +0,0 @@
1
- theme: jekyll-theme-minimal
package/docs/index.md DELETED
@@ -1,3 +0,0 @@
1
- # PROSKOMMA
2
-
3
- Work in progress...
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1,451 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
- <!-- Created with Inkscape (http://www.inkscape.org/) -->
3
-
4
- <svg
5
- xmlns:dc="http://purl.org/dc/elements/1.1/"
6
- xmlns:cc="http://creativecommons.org/ns#"
7
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
8
- xmlns:svg="http://www.w3.org/2000/svg"
9
- xmlns="http://www.w3.org/2000/svg"
10
- xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
11
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
12
- width="210mm"
13
- height="297mm"
14
- viewBox="0 0 210 297"
15
- version="1.1"
16
- id="svg8"
17
- inkscape:version="0.92.5 (2060ec1f9f, 2020-04-08)"
18
- sodipodi:docname="proskomma_edit_html.svg"
19
- inkscape:export-filename="/home/mark/repos/proskomma-js/docs/proskomma_edit_html.png"
20
- inkscape:export-xdpi="205.25253"
21
- inkscape:export-ydpi="205.25253">
22
- <defs
23
- id="defs2">
24
- <marker
25
- inkscape:stockid="Arrow2Send"
26
- orient="auto"
27
- refY="0.0"
28
- refX="0.0"
29
- id="Arrow2Send"
30
- style="overflow:visible;"
31
- inkscape:isstock="true">
32
- <path
33
- id="path1006"
34
- style="fill-rule:evenodd;stroke-width:0.625;stroke-linejoin:round;stroke:#000000;stroke-opacity:1;fill:#000000;fill-opacity:1"
35
- d="M 8.7185878,4.0337352 L -2.2072895,0.016013256 L 8.7185884,-4.0017078 C 6.9730900,-1.6296469 6.9831476,1.6157441 8.7185878,4.0337352 z "
36
- transform="scale(0.3) rotate(180) translate(-2.3,0)" />
37
- </marker>
38
- <marker
39
- inkscape:stockid="Arrow2Send"
40
- orient="auto"
41
- refY="0"
42
- refX="0"
43
- id="Arrow2Send-3"
44
- style="overflow:visible"
45
- inkscape:isstock="true">
46
- <path
47
- inkscape:connector-curvature="0"
48
- id="path1006-5"
49
- style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.625;stroke-linejoin:round;stroke-opacity:1"
50
- d="M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354408,5.6174519 -6e-7,8.035443 z"
51
- transform="matrix(-0.3,0,0,-0.3,0.69,0)" />
52
- </marker>
53
- <marker
54
- inkscape:stockid="Arrow2Send"
55
- orient="auto"
56
- refY="0"
57
- refX="0"
58
- id="Arrow2Send-2"
59
- style="overflow:visible"
60
- inkscape:isstock="true">
61
- <path
62
- inkscape:connector-curvature="0"
63
- id="path1006-9"
64
- style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.625;stroke-linejoin:round;stroke-opacity:1"
65
- d="M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354408,5.6174519 -6e-7,8.035443 z"
66
- transform="matrix(-0.3,0,0,-0.3,0.69,0)" />
67
- </marker>
68
- <marker
69
- inkscape:stockid="Arrow2Send"
70
- orient="auto"
71
- refY="0"
72
- refX="0"
73
- id="Arrow2Send-27"
74
- style="overflow:visible"
75
- inkscape:isstock="true">
76
- <path
77
- inkscape:connector-curvature="0"
78
- id="path1006-0"
79
- style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.625;stroke-linejoin:round;stroke-opacity:1"
80
- d="M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354408,5.6174519 -6e-7,8.035443 z"
81
- transform="matrix(-0.3,0,0,-0.3,0.69,0)" />
82
- </marker>
83
- <marker
84
- inkscape:stockid="Arrow2Send"
85
- orient="auto"
86
- refY="0"
87
- refX="0"
88
- id="Arrow2Send-3-9"
89
- style="overflow:visible"
90
- inkscape:isstock="true">
91
- <path
92
- inkscape:connector-curvature="0"
93
- id="path1006-5-3"
94
- style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.625;stroke-linejoin:round;stroke-opacity:1"
95
- d="M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354408,5.6174519 -6e-7,8.035443 z"
96
- transform="matrix(-0.3,0,0,-0.3,0.69,0)" />
97
- </marker>
98
- <marker
99
- inkscape:stockid="Arrow2Send"
100
- orient="auto"
101
- refY="0"
102
- refX="0"
103
- id="Arrow2Send-9"
104
- style="overflow:visible"
105
- inkscape:isstock="true">
106
- <path
107
- inkscape:connector-curvature="0"
108
- id="path1006-2"
109
- style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.625;stroke-linejoin:round;stroke-opacity:1"
110
- d="M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354408,5.6174519 -6e-7,8.035443 z"
111
- transform="matrix(-0.3,0,0,-0.3,0.69,0)" />
112
- </marker>
113
- <marker
114
- inkscape:stockid="Arrow2Send"
115
- orient="auto"
116
- refY="0"
117
- refX="0"
118
- id="Arrow2Send-3-0"
119
- style="overflow:visible"
120
- inkscape:isstock="true">
121
- <path
122
- inkscape:connector-curvature="0"
123
- id="path1006-5-2"
124
- style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.625;stroke-linejoin:round;stroke-opacity:1"
125
- d="M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354408,5.6174519 -6e-7,8.035443 z"
126
- transform="matrix(-0.3,0,0,-0.3,0.69,0)" />
127
- </marker>
128
- </defs>
129
- <sodipodi:namedview
130
- id="base"
131
- pagecolor="#ffffff"
132
- bordercolor="#666666"
133
- borderopacity="1.0"
134
- inkscape:pageopacity="0.0"
135
- inkscape:pageshadow="2"
136
- inkscape:zoom="0.71539352"
137
- inkscape:cx="164.89565"
138
- inkscape:cy="554.28571"
139
- inkscape:document-units="mm"
140
- inkscape:current-layer="layer1"
141
- showgrid="true"
142
- inkscape:window-width="1200"
143
- inkscape:window-height="1788"
144
- inkscape:window-x="0"
145
- inkscape:window-y="27"
146
- inkscape:window-maximized="1"
147
- showguides="false">
148
- <inkscape:grid
149
- type="xygrid"
150
- id="grid815" />
151
- </sodipodi:namedview>
152
- <metadata
153
- id="metadata5">
154
- <rdf:RDF>
155
- <cc:Work
156
- rdf:about="">
157
- <dc:format>image/svg+xml</dc:format>
158
- <dc:type
159
- rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
160
- <dc:title />
161
- </cc:Work>
162
- </rdf:RDF>
163
- </metadata>
164
- <g
165
- inkscape:label="Layer 1"
166
- inkscape:groupmode="layer"
167
- id="layer1">
168
- <text
169
- xml:space="preserve"
170
- style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif Bold';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
171
- x="104.30371"
172
- y="11.25"
173
- id="text842"><tspan
174
- sodipodi:role="line"
175
- id="tspan840"
176
- x="104.30371"
177
- y="11.25"
178
- style="font-size:9.87777805px;text-align:center;text-anchor:middle;stroke-width:0.26458332">Proskomma Edit</tspan><tspan
179
- sodipodi:role="line"
180
- x="104.30371"
181
- y="23.597223"
182
- style="font-style:italic;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:9.87777805px;font-family:sans-serif;-inkscape-font-specification:'sans-serif Italic';text-align:center;text-anchor:middle;stroke-width:0.26458332"
183
- id="tspan945">(Possible HTML Implementation)</tspan></text>
184
- <g
185
- id="g1845"
186
- transform="translate(-2.1166667)">
187
- <g
188
- transform="translate(2.2373291)"
189
- id="g1793">
190
- <rect
191
- style="opacity:1;fill:#2affd5;fill-opacity:1;stroke:#000000;stroke-width:0.3818813;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
192
- id="rect817-6"
193
- width="201.08333"
194
- height="37.041668"
195
- x="5.2916775"
196
- y="103.88313" />
197
- <text
198
- xml:space="preserve"
199
- style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:12.69999981px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif Bold';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
200
- x="9.630393"
201
- y="126.94321"
202
- id="text846"><tspan
203
- sodipodi:role="line"
204
- x="9.630393"
205
- y="126.94321"
206
- style="font-size:12.69999981px;stroke-width:0.26458332"
207
- id="tspan947">PERF-to-HTML</tspan></text>
208
- <text
209
- xml:space="preserve"
210
- style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:8.46666622px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif Bold';letter-spacing:0px;word-spacing:0px;fill:#dee3db;fill-opacity:1;stroke:#1f241c;stroke-width:0.26458332"
211
- x="142.54701"
212
- y="125.48594"
213
- id="text868"><tspan
214
- sodipodi:role="line"
215
- id="tspan866"
216
- x="142.54701"
217
- y="125.48594"
218
- style="font-size:8.46666622px;fill:#dee3db;stroke:#1f241c;stroke-width:0.26458332">VIEWMODEL</tspan></text>
219
- </g>
220
- <g
221
- transform="translate(2.23734,26.271051)"
222
- id="g962">
223
- <rect
224
- style="opacity:1;fill:#80b3ff;fill-opacity:1;stroke:#000000;stroke-width:0.3818813;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
225
- id="rect817-6-7"
226
- width="201.08333"
227
- height="37.041668"
228
- x="5.2916665"
229
- y="153.31183" />
230
- <text
231
- xml:space="preserve"
232
- style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:8.46666622px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif Bold';letter-spacing:0px;word-spacing:0px;fill:#dee3db;fill-opacity:1;stroke:#1f241c;stroke-width:0.26458332"
233
- x="142.3914"
234
- y="174.91466"
235
- id="text893"><tspan
236
- sodipodi:role="line"
237
- id="tspan891"
238
- x="142.3914"
239
- y="174.91466"
240
- style="font-size:8.46666622px;fill:#dee3db;stroke:#1f241c;stroke-width:0.26458332">VIEWMODEL</tspan></text>
241
- <text
242
- xml:space="preserve"
243
- style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:12.69999981px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif Bold';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
244
- x="9.5311642"
245
- y="176.65718"
246
- id="text901"><tspan
247
- sodipodi:role="line"
248
- id="tspan899"
249
- x="9.5311642"
250
- y="176.65718"
251
- style="font-size:12.69999981px;stroke-width:0.26458332">MkPERF</tspan></text>
252
- </g>
253
- <g
254
- transform="translate(2.2373348,1.3392556)"
255
- id="g969">
256
- <rect
257
- style="opacity:1;fill:#2a7fff;fill-opacity:1;stroke:#000000;stroke-width:0.3818813;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
258
- id="rect817-6-5"
259
- width="201.08333"
260
- height="37.041668"
261
- x="5.2916718"
262
- y="253.94339" />
263
- <text
264
- xml:space="preserve"
265
- style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:8.46666622px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif Bold';letter-spacing:0px;word-spacing:0px;fill:#dee3db;fill-opacity:1;stroke:#1f241c;stroke-width:0.26458332"
266
- x="167.21677"
267
- y="275.5462"
268
- id="text897"><tspan
269
- sodipodi:role="line"
270
- id="tspan895"
271
- x="167.21677"
272
- y="275.5462"
273
- style="font-size:8.46666622px;fill:#dee3db;stroke:#1f241c;stroke-width:0.26458332">MODEL</tspan></text>
274
- <text
275
- xml:space="preserve"
276
- style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:12.69999981px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif Bold';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
277
- x="9.5311642"
278
- y="277.19882"
279
- id="text943"><tspan
280
- sodipodi:role="line"
281
- id="tspan941"
282
- x="9.5311642"
283
- y="277.19882"
284
- style="font-size:12.69999981px;stroke-width:0.26458332">Proskomma Core</tspan></text>
285
- </g>
286
- <g
287
- transform="translate(-5.7525335,-2.8895907)"
288
- id="g1769">
289
- <text
290
- xml:space="preserve"
291
- style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:5.64444447px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif Bold';text-align:end;letter-spacing:0px;word-spacing:0px;text-anchor:end;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
292
- x="99.059998"
293
- y="162.66852"
294
- id="text919"><tspan
295
- sodipodi:role="line"
296
- x="99.059998"
297
- y="162.66852"
298
- style="font-size:5.64444447px;text-align:end;text-anchor:end;stroke-width:0.26458332"
299
- id="tspan923">readSequence()</tspan></text>
300
- <text
301
- xml:space="preserve"
302
- style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:5.64444447px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif Bold';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
303
- x="120.62411"
304
- y="162.82791"
305
- id="text927"><tspan
306
- sodipodi:role="line"
307
- id="tspan925"
308
- x="120.62411"
309
- y="162.82791"
310
- style="font-size:5.64444447px;stroke-width:0.26458332">updateSequence()</tspan></text>
311
- <g
312
- id="g1396"
313
- transform="translate(27.177438,28.985175)">
314
- <path
315
- inkscape:connector-curvature="0"
316
- id="path971"
317
- d="M 79.374999,148.83333 V 122.375"
318
- style="fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#Arrow2Send)" />
319
- <path
320
- inkscape:connector-curvature="0"
321
- id="path971-6"
322
- d="m 85.725002,119.48316 v 26.45833"
323
- style="fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#Arrow2Send-3)" />
324
- </g>
325
- </g>
326
- <g
327
- transform="translate(1.9205555,8.5300794)"
328
- id="g1619">
329
- <text
330
- xml:space="preserve"
331
- style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:5.64444447px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif Bold';text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
332
- x="138.34756"
333
- y="221.4373"
334
- id="text931"><tspan
335
- sodipodi:role="line"
336
- id="tspan929"
337
- x="138.34756"
338
- y="221.4373"
339
- style="font-size:5.64444447px;text-align:center;text-anchor:middle;stroke-width:0.26458332">submitToPk()</tspan><tspan
340
- sodipodi:role="line"
341
- x="138.34756"
342
- y="228.49286"
343
- style="font-size:5.64444447px;text-align:center;text-anchor:middle;stroke-width:0.26458332"
344
- id="tspan933">(GQL Mutation)</tspan></text>
345
- <text
346
- xml:space="preserve"
347
- style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:5.64444447px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif Bold';text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
348
- x="72.635262"
349
- y="221.32343"
350
- id="text937"><tspan
351
- sodipodi:role="line"
352
- id="tspan935"
353
- x="72.635262"
354
- y="221.32343"
355
- style="font-size:5.64444447px;text-align:center;text-anchor:middle;stroke-width:0.26458332">fetchFromPk()</tspan><tspan
356
- sodipodi:role="line"
357
- x="72.635262"
358
- y="228.37898"
359
- style="font-size:5.64444447px;text-align:center;text-anchor:middle;stroke-width:0.26458332"
360
- id="tspan939">(GQL Query)</tspan></text>
361
- <g
362
- transform="translate(23.283335,93.265273)"
363
- id="g1396-6">
364
- <path
365
- inkscape:connector-curvature="0"
366
- id="path971-0"
367
- d="M 79.374999,148.83333 V 122.375"
368
- style="fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#Arrow2Send-27)" />
369
- <path
370
- inkscape:connector-curvature="0"
371
- id="path971-6-6"
372
- d="m 85.725002,119.48316 v 26.45833"
373
- style="fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#Arrow2Send-3-9)" />
374
- </g>
375
- </g>
376
- <g
377
- transform="translate(2.2373286)"
378
- id="g1781">
379
- <rect
380
- style="opacity:1;fill:#aaffee;fill-opacity:1;stroke:#000000;stroke-width:0.3818813;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
381
- id="rect817-6-2"
382
- width="201.08333"
383
- height="37.041668"
384
- x="5.291678"
385
- y="28.183369" />
386
- <text
387
- xml:space="preserve"
388
- style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:12.69999981px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif Bold';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
389
- x="9.6303921"
390
- y="51.438797"
391
- id="text846-6"><tspan
392
- sodipodi:role="line"
393
- x="9.6303921"
394
- y="51.438797"
395
- style="font-size:12.69999981px;stroke-width:0.26458332"
396
- id="tspan947-1">HTML Editor</tspan></text>
397
- <text
398
- xml:space="preserve"
399
- style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:8.46666622px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif Bold';letter-spacing:0px;word-spacing:0px;fill:#dee3db;fill-opacity:1;stroke:#1f241c;stroke-width:0.26458332"
400
- x="176.94238"
401
- y="49.790318"
402
- id="text868-8"><tspan
403
- sodipodi:role="line"
404
- id="tspan866-7"
405
- x="176.94238"
406
- y="49.790318"
407
- style="font-size:8.46666622px;fill:#dee3db;stroke:#1f241c;stroke-width:0.26458332">VIEW</tspan></text>
408
- </g>
409
- <g
410
- transform="translate(0,-7.2708387)"
411
- id="g1760">
412
- <g
413
- id="g1396-3"
414
- transform="translate(21.166668,-42.333333)">
415
- <path
416
- inkscape:connector-curvature="0"
417
- id="path971-7"
418
- d="M 79.374999,148.83333 V 122.375"
419
- style="fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#Arrow2Send-9)" />
420
- <path
421
- inkscape:connector-curvature="0"
422
- id="path971-6-5"
423
- d="m 85.725002,119.48316 v 26.45833"
424
- style="fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#Arrow2Send-3-0)" />
425
- </g>
426
- <text
427
- xml:space="preserve"
428
- style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:5.64444447px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif Bold';text-align:end;letter-spacing:0px;word-spacing:0px;text-anchor:end;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
429
- x="94.229111"
430
- y="92.403214"
431
- id="text919-9"><tspan
432
- sodipodi:role="line"
433
- x="94.229111"
434
- y="92.403214"
435
- style="font-size:5.64444447px;text-align:end;text-anchor:end;stroke-width:0.26458332"
436
- id="tspan923-2">readHTMLElement()</tspan></text>
437
- <text
438
- xml:space="preserve"
439
- style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:5.64444447px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif Bold';text-align:end;letter-spacing:0px;word-spacing:0px;text-anchor:end;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
440
- x="185.3764"
441
- y="92.511345"
442
- id="text919-9-2"><tspan
443
- sodipodi:role="line"
444
- x="185.3764"
445
- y="92.511345"
446
- style="font-size:5.64444447px;text-align:end;text-anchor:end;stroke-width:0.26458332"
447
- id="tspan923-2-8">updateHTMLElement()</tspan></text>
448
- </g>
449
- </g>
450
- </g>
451
- </svg>
Binary file
@@ -1,349 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
- <!-- Created with Inkscape (http://www.inkscape.org/) -->
3
-
4
- <svg
5
- xmlns:dc="http://purl.org/dc/elements/1.1/"
6
- xmlns:cc="http://creativecommons.org/ns#"
7
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
8
- xmlns:svg="http://www.w3.org/2000/svg"
9
- xmlns="http://www.w3.org/2000/svg"
10
- xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
11
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
12
- width="210mm"
13
- height="297mm"
14
- viewBox="0 0 210 297"
15
- version="1.1"
16
- id="svg8"
17
- inkscape:version="0.92.5 (2060ec1f9f, 2020-04-08)"
18
- sodipodi:docname="proskomma_edit_reference.svg"
19
- inkscape:export-filename="/home/mark/repos/proskomma-js/docs/proskomma_edit_reference.png"
20
- inkscape:export-xdpi="205.25253"
21
- inkscape:export-ydpi="205.25253">
22
- <defs
23
- id="defs2">
24
- <marker
25
- inkscape:stockid="Arrow2Send"
26
- orient="auto"
27
- refY="0.0"
28
- refX="0.0"
29
- id="Arrow2Send"
30
- style="overflow:visible;"
31
- inkscape:isstock="true">
32
- <path
33
- id="path1006"
34
- style="fill-rule:evenodd;stroke-width:0.625;stroke-linejoin:round;stroke:#000000;stroke-opacity:1;fill:#000000;fill-opacity:1"
35
- d="M 8.7185878,4.0337352 L -2.2072895,0.016013256 L 8.7185884,-4.0017078 C 6.9730900,-1.6296469 6.9831476,1.6157441 8.7185878,4.0337352 z "
36
- transform="scale(0.3) rotate(180) translate(-2.3,0)" />
37
- </marker>
38
- <marker
39
- inkscape:stockid="Arrow2Send"
40
- orient="auto"
41
- refY="0"
42
- refX="0"
43
- id="Arrow2Send-3"
44
- style="overflow:visible"
45
- inkscape:isstock="true">
46
- <path
47
- inkscape:connector-curvature="0"
48
- id="path1006-5"
49
- style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.625;stroke-linejoin:round;stroke-opacity:1"
50
- d="M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354408,5.6174519 -6e-7,8.035443 z"
51
- transform="matrix(-0.3,0,0,-0.3,0.69,0)" />
52
- </marker>
53
- <marker
54
- inkscape:stockid="Arrow2Send"
55
- orient="auto"
56
- refY="0"
57
- refX="0"
58
- id="Arrow2Send-2"
59
- style="overflow:visible"
60
- inkscape:isstock="true">
61
- <path
62
- inkscape:connector-curvature="0"
63
- id="path1006-9"
64
- style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.625;stroke-linejoin:round;stroke-opacity:1"
65
- d="M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354408,5.6174519 -6e-7,8.035443 z"
66
- transform="matrix(-0.3,0,0,-0.3,0.69,0)" />
67
- </marker>
68
- <marker
69
- inkscape:stockid="Arrow2Send"
70
- orient="auto"
71
- refY="0"
72
- refX="0"
73
- id="Arrow2Send-27"
74
- style="overflow:visible"
75
- inkscape:isstock="true">
76
- <path
77
- inkscape:connector-curvature="0"
78
- id="path1006-0"
79
- style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.625;stroke-linejoin:round;stroke-opacity:1"
80
- d="M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354408,5.6174519 -6e-7,8.035443 z"
81
- transform="matrix(-0.3,0,0,-0.3,0.69,0)" />
82
- </marker>
83
- <marker
84
- inkscape:stockid="Arrow2Send"
85
- orient="auto"
86
- refY="0"
87
- refX="0"
88
- id="Arrow2Send-3-9"
89
- style="overflow:visible"
90
- inkscape:isstock="true">
91
- <path
92
- inkscape:connector-curvature="0"
93
- id="path1006-5-3"
94
- style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.625;stroke-linejoin:round;stroke-opacity:1"
95
- d="M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354408,5.6174519 -6e-7,8.035443 z"
96
- transform="matrix(-0.3,0,0,-0.3,0.69,0)" />
97
- </marker>
98
- </defs>
99
- <sodipodi:namedview
100
- id="base"
101
- pagecolor="#ffffff"
102
- bordercolor="#666666"
103
- borderopacity="1.0"
104
- inkscape:pageopacity="0.0"
105
- inkscape:pageshadow="2"
106
- inkscape:zoom="0.71539352"
107
- inkscape:cx="164.89565"
108
- inkscape:cy="554.28571"
109
- inkscape:document-units="mm"
110
- inkscape:current-layer="layer1"
111
- showgrid="true"
112
- inkscape:window-width="1200"
113
- inkscape:window-height="1788"
114
- inkscape:window-x="0"
115
- inkscape:window-y="27"
116
- inkscape:window-maximized="1">
117
- <inkscape:grid
118
- type="xygrid"
119
- id="grid815" />
120
- </sodipodi:namedview>
121
- <metadata
122
- id="metadata5">
123
- <rdf:RDF>
124
- <cc:Work
125
- rdf:about="">
126
- <dc:format>image/svg+xml</dc:format>
127
- <dc:type
128
- rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
129
- <dc:title />
130
- </cc:Work>
131
- </rdf:RDF>
132
- </metadata>
133
- <g
134
- inkscape:label="Layer 1"
135
- inkscape:groupmode="layer"
136
- id="layer1">
137
- <text
138
- xml:space="preserve"
139
- style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:4.23333311px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif Bold';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
140
- x="104.30371"
141
- y="11.25"
142
- id="text842"><tspan
143
- sodipodi:role="line"
144
- id="tspan840"
145
- x="26.458332"
146
- y="11.25"
147
- style="font-size:9.87777805px;stroke-width:0.26458332;text-anchor:middle;text-align:center">Proskomma Edit</tspan><tspan
148
- sodipodi:role="line"
149
- x="26.458332"
150
- y="23.597223"
151
- style="font-size:9.87777805px;stroke-width:0.26458332;text-anchor:middle;text-align:center;-inkscape-font-specification:'sans-serif Italic';font-family:sans-serif;font-weight:normal;font-style:italic;font-stretch:normal;font-variant:normal"
152
- id="tspan945">(Reference Implementation)</tspan></text>
153
- <g
154
- id="g955"
155
- transform="translate(5.2452087e-6,1.305143e-5)">
156
- <rect
157
- y="73.780556"
158
- x="5.2916665"
159
- height="37.041668"
160
- width="201.08333"
161
- id="rect817-6"
162
- style="opacity:1;fill:#d5e5ff;fill-opacity:1;stroke:#000000;stroke-width:0.3818813;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
163
- <text
164
- id="text846"
165
- y="89.09848"
166
- x="9.6303825"
167
- style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:12.69999981px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif Bold';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
168
- xml:space="preserve"><tspan
169
- style="font-size:12.69999981px;stroke-width:0.26458332"
170
- y="89.09848"
171
- x="9.6303825"
172
- id="tspan844"
173
- sodipodi:role="line">PERF-Based Editor UI</tspan><tspan
174
- id="tspan947"
175
- style="font-size:12.69999981px;stroke-width:0.26458332"
176
- y="104.97348"
177
- x="9.6303825"
178
- sodipodi:role="line">in React</tspan></text>
179
- <text
180
- id="text868"
181
- y="95.387505"
182
- x="176.25394"
183
- style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:8.46666622px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif Bold';letter-spacing:0px;word-spacing:0px;fill:#dee3db;fill-opacity:1;stroke:#1f241c;stroke-width:0.26458332"
184
- xml:space="preserve"><tspan
185
- style="font-size:8.46666622px;fill:#dee3db;stroke:#1f241c;stroke-width:0.26458332"
186
- y="95.387505"
187
- x="176.25394"
188
- id="tspan866"
189
- sodipodi:role="line">VIEW</tspan></text>
190
- </g>
191
- <g
192
- id="g962"
193
- transform="translate(5.2452087e-6,10.550144)">
194
- <rect
195
- y="153.31183"
196
- x="5.2916665"
197
- height="37.041668"
198
- width="201.08333"
199
- id="rect817-6-7"
200
- style="opacity:1;fill:#80b3ff;fill-opacity:1;stroke:#000000;stroke-width:0.3818813;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
201
- <text
202
- id="text893"
203
- y="174.91466"
204
- x="142.3914"
205
- style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:8.46666622px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif Bold';letter-spacing:0px;word-spacing:0px;fill:#dee3db;fill-opacity:1;stroke:#1f241c;stroke-width:0.26458332"
206
- xml:space="preserve"><tspan
207
- style="font-size:8.46666622px;fill:#dee3db;stroke:#1f241c;stroke-width:0.26458332"
208
- y="174.91466"
209
- x="142.3914"
210
- id="tspan891"
211
- sodipodi:role="line">VIEWMODEL</tspan></text>
212
- <text
213
- id="text901"
214
- y="176.65718"
215
- x="9.5311642"
216
- style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:12.69999981px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif Bold';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
217
- xml:space="preserve"><tspan
218
- style="font-size:12.69999981px;stroke-width:0.26458332"
219
- y="176.65718"
220
- x="9.5311642"
221
- id="tspan899"
222
- sodipodi:role="line">MkPERF</tspan></text>
223
- </g>
224
- <text
225
- xml:space="preserve"
226
- style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:5.64444447px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif Bold';text-align:start;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
227
- x="117.26357"
228
- y="130.09624"
229
- id="text919"><tspan
230
- sodipodi:role="line"
231
- id="tspan917"
232
- x="117.26357"
233
- y="130.09624"
234
- style="font-size:5.64444447px;text-align:start;text-anchor:start;stroke-width:0.26458332">createBlock()</tspan><tspan
235
- sodipodi:role="line"
236
- x="117.26357"
237
- y="137.15179"
238
- style="font-size:5.64444447px;text-align:start;text-anchor:start;stroke-width:0.26458332"
239
- id="tspan921">updateBlock()</tspan><tspan
240
- sodipodi:role="line"
241
- x="117.26357"
242
- y="144.20735"
243
- style="font-size:5.64444447px;text-align:start;text-anchor:start;stroke-width:0.26458332"
244
- id="tspan923">deleteBlock()</tspan></text>
245
- <text
246
- xml:space="preserve"
247
- style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:5.64444447px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif Bold';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
248
- x="45.292473"
249
- y="137.0266"
250
- id="text927"><tspan
251
- sodipodi:role="line"
252
- id="tspan925"
253
- x="45.292473"
254
- y="137.0266"
255
- style="font-size:5.64444447px;stroke-width:0.26458332">readSequence()</tspan></text>
256
- <text
257
- xml:space="preserve"
258
- style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:5.64444447px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif Bold';text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
259
- x="138.34756"
260
- y="221.4373"
261
- id="text931"><tspan
262
- sodipodi:role="line"
263
- id="tspan929"
264
- x="138.34756"
265
- y="221.4373"
266
- style="font-size:5.64444447px;text-align:center;text-anchor:middle;stroke-width:0.26458332">submitToPk()</tspan><tspan
267
- sodipodi:role="line"
268
- x="138.34756"
269
- y="228.49286"
270
- style="font-size:5.64444447px;text-align:center;text-anchor:middle;stroke-width:0.26458332"
271
- id="tspan933">(GQL Mutation)</tspan></text>
272
- <text
273
- xml:space="preserve"
274
- style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:5.64444447px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif Bold';text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
275
- x="72.635262"
276
- y="221.32343"
277
- id="text937"><tspan
278
- sodipodi:role="line"
279
- id="tspan935"
280
- x="72.635262"
281
- y="221.32343"
282
- style="font-size:5.64444447px;text-align:center;text-anchor:middle;stroke-width:0.26458332">fetchFromPk()</tspan><tspan
283
- sodipodi:role="line"
284
- x="72.635262"
285
- y="228.37898"
286
- style="font-size:5.64444447px;text-align:center;text-anchor:middle;stroke-width:0.26458332"
287
- id="tspan939">(GQL Query)</tspan></text>
288
- <g
289
- id="g969">
290
- <rect
291
- y="253.94339"
292
- x="5.2916718"
293
- height="37.041668"
294
- width="201.08333"
295
- id="rect817-6-5"
296
- style="opacity:1;fill:#2a7fff;fill-opacity:1;stroke:#000000;stroke-width:0.3818813;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
297
- <text
298
- id="text897"
299
- y="275.5462"
300
- x="167.21677"
301
- style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:8.46666622px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif Bold';letter-spacing:0px;word-spacing:0px;fill:#dee3db;fill-opacity:1;stroke:#1f241c;stroke-width:0.26458332"
302
- xml:space="preserve"><tspan
303
- style="font-size:8.46666622px;fill:#dee3db;stroke:#1f241c;stroke-width:0.26458332"
304
- y="275.5462"
305
- x="167.21677"
306
- id="tspan895"
307
- sodipodi:role="line">MODEL</tspan></text>
308
- <text
309
- id="text943"
310
- y="277.19882"
311
- x="9.5311642"
312
- style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:12.69999981px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif Bold';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
313
- xml:space="preserve"><tspan
314
- style="font-size:12.69999981px;stroke-width:0.26458332"
315
- y="277.19882"
316
- x="9.5311642"
317
- id="tspan941"
318
- sodipodi:role="line">Proskomma Core</tspan></text>
319
- </g>
320
- <g
321
- id="g1396"
322
- transform="translate(23.283335,3.1838529)">
323
- <path
324
- inkscape:connector-curvature="0"
325
- id="path971"
326
- d="M 79.374999,148.83333 V 122.375"
327
- style="fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#Arrow2Send)" />
328
- <path
329
- inkscape:connector-curvature="0"
330
- id="path971-6"
331
- d="m 85.725002,119.48316 v 26.45833"
332
- style="fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#Arrow2Send-3)" />
333
- </g>
334
- <g
335
- transform="translate(23.283335,93.265273)"
336
- id="g1396-6">
337
- <path
338
- inkscape:connector-curvature="0"
339
- id="path971-0"
340
- d="M 79.374999,148.83333 V 122.375"
341
- style="fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#Arrow2Send-27)" />
342
- <path
343
- inkscape:connector-curvature="0"
344
- id="path971-6-6"
345
- d="m 85.725002,119.48316 v 26.45833"
346
- style="fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#Arrow2Send-3-9)" />
347
- </g>
348
- </g>
349
- </svg>
Binary file