@modusoperandi/licit 1.0.9 → 1.0.10

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.
Files changed (38) hide show
  1. package/DocNodeSpec.js +0 -2
  2. package/DocNodeSpec.js.flow +0 -2
  3. package/EditorCommands.js +0 -2
  4. package/EditorCommands.js.flow +0 -2
  5. package/EditorNodes.js +1 -3
  6. package/EditorNodes.js.flow +0 -3
  7. package/bom.xml +789 -608
  8. package/package.json +2 -4
  9. package/styles.css +0 -5
  10. package/ui/DocLayoutEditor.js +0 -10
  11. package/ui/DocLayoutEditor.js.flow +0 -12
  12. package/ui/Editor.js +2 -3
  13. package/ui/Editor.js.flow +1 -3
  14. package/ui/EditorToolbarConfig.js +1 -3
  15. package/ui/EditorToolbarConfig.js.flow +0 -2
  16. package/ui/czi-editor.css +0 -12
  17. package/MathEditCommand.js +0 -114
  18. package/MathEditCommand.js.flow +0 -119
  19. package/MathNodeSpec.js +0 -49
  20. package/MathNodeSpec.js.flow +0 -46
  21. package/ui/MathEditor.js +0 -86
  22. package/ui/MathEditor.js.flow +0 -70
  23. package/ui/MathInlineEditor.js +0 -121
  24. package/ui/MathInlineEditor.js.flow +0 -100
  25. package/ui/MathNodeView.js +0 -215
  26. package/ui/MathNodeView.js.flow +0 -175
  27. package/ui/mathquill-editor/MathQuillEditor.js +0 -183
  28. package/ui/mathquill-editor/MathQuillEditor.js.flow +0 -157
  29. package/ui/mathquill-editor/MathQuillEditorSymbols.js +0 -416
  30. package/ui/mathquill-editor/MathQuillEditorSymbols.js.flow +0 -483
  31. package/ui/mathquill-editor/MathQuillEditorSymbolsPanel.js +0 -67
  32. package/ui/mathquill-editor/MathQuillEditorSymbolsPanel.js.flow +0 -49
  33. package/ui/mathquill-editor/czi-mathquill-editor-symbols-panel.css +0 -39
  34. package/ui/mathquill-editor/czi-mathquill-editor.css +0 -50
  35. package/ui/mathquill-editor/mathquill-import-kludge.js +0 -13
  36. package/ui/mathquill-editor/mathquill-import-kludge.js.flow +0 -15
  37. package/ui/renderLaTeXAsHTML.js +0 -51
  38. package/ui/renderLaTeXAsHTML.js.flow +0 -42
@@ -1,416 +0,0 @@
1
- var bpfrpt_proptype_MathQuillEditorSymbol = {
2
- "label": PropTypes.string.isRequired,
3
- "latex": PropTypes.string.isRequired,
4
- "description": PropTypes.string.isRequired,
5
- "cmd": PropTypes.string.isRequired
6
- };
7
- var bpfrpt_proptype_SymbolDefination = {
8
- // The label shown at the command button.
9
- "label": PropTypes.string.isRequired,
10
- // The latex to use
11
- "latex": PropTypes.string.isRequired,
12
- // The mathquill command to perform.
13
- // http://docs.mathquill.com/en/latest/Api_Methods/#writelatex_string
14
- // "write": Write the given LaTeX at the current cursor position. If the
15
- // cursor does not have focus, writes to last position the cursor occupied
16
- // in the editable field.
17
- // "cmd": Enter a LaTeX command at the current cursor position or with the
18
- // current selection. If the cursor does not have focus, it writes it to
19
- // last position the cursor occupied in the editable field.
20
- "cmd": PropTypes.oneOf(["cmd", "write"]).isRequired,
21
- // the description of the command.
22
- "description": PropTypes.string.isRequired
23
- };
24
- // It's hard to find a full list of latex symbols that we could use.
25
- // Here's are some references that might be helpful.
26
- // https://github.com/mathquill/mathquill/blob/23a0e88c80c79514ffc30ead490bd880306bce2a/src/commands/math/basicSymbols.js
27
- // http://math.chapman.edu/~jipsen/mathquill/test/MathQuillsymbolsMathJax.html
28
- // https://inspera.atlassian.net/wiki/spaces/KB/pages/62062830/MathQuill+symbols
29
- // https://www.rapidtables.com/math/symbols/Basic_Math_Symbols.html
30
- // https://www.math.uci.edu/~xiangwen/pdf/LaTeX-Math-Symbols.pdf
31
-
32
- export var ABSOLUTE = {
33
- label: '|x|',
34
- latex: '|',
35
- description: 'Absolute Value',
36
- cmd: 'cmd'
37
- };
38
- export var ANGLE = {
39
- label: '\\angle',
40
- latex: '\\angle',
41
- description: 'Angle',
42
- cmd: 'write'
43
- };
44
- export var APPROX = {
45
- label: '\\approx',
46
- latex: '\\approx',
47
- description: 'Approximation',
48
- cmd: 'cmd'
49
- };
50
- export var ARCCOS = {
51
- label: '\\arccos',
52
- latex: '\\arccos',
53
- description: 'Arc Cos',
54
- cmd: 'write'
55
- };
56
- export var ARCSIN = {
57
- label: '\\arcsin',
58
- latex: '\\arcsin',
59
- description: 'Arc Sin',
60
- cmd: 'write'
61
- };
62
- export var ARCTAN = {
63
- label: '\\arctan',
64
- latex: '\\arctan',
65
- description: 'Arc Tan',
66
- cmd: 'write'
67
- };
68
- export var ARROWLL = {
69
- label: '\\Longleftarrow',
70
- latex: '\\Longleftarrow',
71
- description: 'Long Left Arrow',
72
- cmd: 'write'
73
- };
74
- export var ARROWRL = {
75
- label: '\\Longrightarrow',
76
- latex: '\\Longrightarrow',
77
- description: 'Long Right Arrow',
78
- cmd: 'write'
79
- };
80
- export var ARROWLLR = {
81
- label: '\\Longleftrightarrow',
82
- latex: '\\Longleftrightarrow',
83
- description: 'Long Left Right Arrow',
84
- cmd: 'write'
85
- };
86
- export var BRACKETS = {
87
- label: '[x]',
88
- latex: '[',
89
- description: 'Brackets',
90
- cmd: 'cmd'
91
- };
92
- export var CENT = {
93
- label: '¢',
94
- latex: '¢',
95
- description: 'Cent',
96
- cmd: 'write'
97
- };
98
- export var COS = {
99
- label: '\\cos',
100
- latex: '\\cos',
101
- description: 'Cos',
102
- cmd: 'write'
103
- };
104
- export var CONG = {
105
- label: '\\cong',
106
- latex: '\\cong',
107
- description: 'Congruent To',
108
- cmd: 'write'
109
- };
110
- export var CTIMES = {
111
- label: '\\otimes',
112
- latex: '\\otimes',
113
- description: 'Tensor Product',
114
- cmd: 'write'
115
- };
116
- export var DEGREES = {
117
- label: '\\deg',
118
- latex: '\\deg',
119
- description: 'Degrees',
120
- cmd: 'write'
121
- };
122
- export var DIVIDE = {
123
- label: "\xF7",
124
- latex: '\\divide',
125
- description: 'Division',
126
- cmd: 'cmd'
127
- };
128
- export var DOLLAR = {
129
- label: '$',
130
- latex: '$',
131
- description: 'Dollar',
132
- cmd: 'write'
133
- };
134
- export var DOTM = {
135
- label: '\\cdot',
136
- latex: '\\cdot',
137
- description: 'Dot for Multiplication',
138
- cmd: 'write'
139
- };
140
- export var EQUAL = {
141
- label: '=',
142
- latex: '=',
143
- description: 'Equal',
144
- cmd: 'cmd'
145
- };
146
- export var FRAC = {
147
- label: '\\frac {x}{y}',
148
- latex: '\\frac',
149
- description: 'Fraction',
150
- cmd: 'cmd'
151
- };
152
- export var GT = {
153
- label: '>',
154
- latex: '>',
155
- description: 'Greater Than',
156
- cmd: 'cmd'
157
- };
158
- export var GTE = {
159
- label: '\\ge',
160
- latex: '\\ge',
161
- description: 'Greater Than or Equal To',
162
- cmd: 'cmd'
163
- };
164
- export var IMAGINARY = {
165
- label: 'i',
166
- latex: 'i',
167
- description: 'Imaginary Number',
168
- cmd: 'write'
169
- };
170
- export var INFINITY = {
171
- label: '\\infty',
172
- latex: '\\infty',
173
- description: 'Infinity',
174
- cmd: 'write'
175
- };
176
- export var INT = {
177
- label: '\\int',
178
- latex: '\\int',
179
- description: 'Integral',
180
- cmd: 'cmd'
181
- };
182
- export var INTERSECT = {
183
- label: '\\cap',
184
- latex: '\\cap',
185
- description: 'Intersection',
186
- cmd: 'write'
187
- };
188
- export var INTXY = {
189
- label: '\\int_{x}^{y}',
190
- latex: '\\int_{x}^{y}',
191
- description: 'Integral',
192
- cmd: 'write'
193
- };
194
- export var LOG_E = {
195
- label: '\\log',
196
- latex: '\\log',
197
- description: 'Log',
198
- cmd: 'cmd'
199
- };
200
- export var LT = {
201
- label: '<',
202
- latex: '<',
203
- description: 'Less Than',
204
- cmd: 'cmd'
205
- };
206
- export var LTE = {
207
- label: '\\le',
208
- latex: 'le',
209
- description: 'Less Than or Equal To',
210
- cmd: 'cmd'
211
- };
212
- export var MINUS = {
213
- label: '-',
214
- latex: '-',
215
- description: 'Subtraction',
216
- cmd: 'cmd'
217
- };
218
- export var NEQ = {
219
- label: '\\neq',
220
- latex: '\\neq',
221
- description: 'Not Equal',
222
- cmd: 'write'
223
- };
224
- export var OVERLINE = {
225
- label: "\\overline\u3000",
226
- latex: '\\overline',
227
- description: 'Overline',
228
- cmd: 'cmd'
229
- };
230
- export var PARENS = {
231
- label: '(x)',
232
- latex: '(',
233
- description: 'Parentheses',
234
- cmd: 'cmd'
235
- };
236
- export var PERP = {
237
- label: '\\perp',
238
- latex: '\\perp',
239
- description: 'Perpendicular Lines',
240
- cmd: 'write'
241
- };
242
- export var PHI = {
243
- label: '\\phi',
244
- latex: '\\phi',
245
- description: 'Phi',
246
- cmd: 'write'
247
- };
248
- export var PI = {
249
- label: '\\pi',
250
- latex: '\\pi',
251
- description: 'Pi',
252
- cmd: 'write'
253
- };
254
- export var PLUS = {
255
- label: '+',
256
- latex: '+',
257
- description: 'Addition',
258
- cmd: 'cmd'
259
- };
260
- export var PM = {
261
- label: '\\pm',
262
- latex: '\\pm',
263
- description: 'Plus-Minus',
264
- cmd: 'cmd'
265
- };
266
- export var POWER = {
267
- label: 'x^{y}',
268
- latex: '^',
269
- description: 'Power',
270
- cmd: 'cmd'
271
- };
272
- export var SIMEQ = {
273
- label: '\\simeq',
274
- latex: '\\simeq',
275
- description: 'Approximately Equal',
276
- cmd: 'write'
277
- };
278
- export var SIM = {
279
- label: '\\sim',
280
- latex: '\\sim',
281
- description: 'Similarity',
282
- cmd: 'write'
283
- };
284
- export var SIN = {
285
- label: '\\sin',
286
- latex: '\\sin',
287
- description: 'Sin',
288
- cmd: 'write'
289
- };
290
- export var SMALLE = {
291
- label: "\u212F",
292
- latex: "\u212F",
293
- description: 'Script Small E',
294
- cmd: 'write'
295
- };
296
- export var SQR = {
297
- label: 'x^{2}',
298
- latex: '^{2}',
299
- description: 'Square',
300
- cmd: 'write'
301
- };
302
- export var SQRT2 = {
303
- label: '\\sqrt[x]{y}',
304
- latex: '\\sqrt[x]{y}',
305
- description: 'Square Root Alt',
306
- cmd: 'write'
307
- };
308
- export var SQRT = {
309
- label: '\\sqrt x',
310
- latex: '\\sqrt',
311
- description: 'Square Root',
312
- cmd: 'cmd'
313
- };
314
- export var SUBSCRIPT = {
315
- label: 'x_{2}',
316
- latex: '_{2}',
317
- description: 'Subscript',
318
- cmd: 'write'
319
- };
320
- export var SUBSET = {
321
- label: '\\sub',
322
- latex: '\\sub',
323
- description: 'Subset',
324
- cmd: 'write'
325
- };
326
- export var SUBSETEQ = {
327
- label: '\\sube',
328
- latex: '\\sube',
329
- description: 'Subset or Equal',
330
- cmd: 'write'
331
- };
332
- export var SUM = {
333
- label: '\\sum',
334
- latex: '\\sum',
335
- description: 'Summation',
336
- cmd: 'cmd'
337
- };
338
- export var SUPERSET = {
339
- label: '\\supset',
340
- latex: '\\supset',
341
- description: 'Superset',
342
- cmd: 'write'
343
- };
344
- export var SUPERSETEQ = {
345
- label: '\\supe',
346
- latex: '\\supe',
347
- description: 'Superset or Equal',
348
- cmd: 'write'
349
- };
350
- export var TAN = {
351
- label: '\\tan',
352
- latex: '\\tan',
353
- description: 'Tan',
354
- cmd: 'write'
355
- };
356
- export var THETA = {
357
- label: '\\theta',
358
- latex: '\\theta',
359
- description: 'Theta',
360
- cmd: 'write'
361
- };
362
- export var TIMES = {
363
- label: '\\times',
364
- latex: '\\times',
365
- description: 'Multiplication',
366
- cmd: 'cmd'
367
- };
368
- export var TRIANGLE = {
369
- label: '\\bigtriangleup',
370
- latex: '\\bigtriangleup',
371
- description: 'Triangle',
372
- cmd: 'write'
373
- };
374
- export var UNDERLINE = {
375
- label: "\\underline\u3000",
376
- latex: "\\underline",
377
- description: 'Underline',
378
- cmd: 'cmd'
379
- };
380
- export var UNION = {
381
- label: '\\cup',
382
- latex: '\\cup',
383
- description: 'Union',
384
- cmd: 'write'
385
- };
386
- export var VDASH = {
387
- label: '\\vdash',
388
- latex: '\\vdash',
389
- description: 'Vertical and Dash Line',
390
- cmd: 'write'
391
- };
392
- export var VERT = {
393
- label: '\\vert',
394
- latex: '\\vert',
395
- description: 'Vertical Line',
396
- cmd: 'write'
397
- };
398
- export var OPERATORS = {
399
- title: 'Operators',
400
- symbols: [PLUS, MINUS, TIMES, DOTM, DIVIDE, EQUAL, APPROX, SIM, SIMEQ, CONG, NEQ, PM, LT, GT, LTE, GTE, UNION, INTERSECT, SUBSET, SUBSETEQ, SUPERSET, SUPERSETEQ, VERT, CTIMES]
401
- };
402
- export var STRUCTURE = {
403
- title: 'Structure',
404
- symbols: [SUM, FRAC, PARENS, BRACKETS, SQR, SUBSCRIPT, ABSOLUTE, INTXY, OVERLINE, UNDERLINE, POWER, INT, SQRT, SQRT2, LOG_E]
405
- };
406
- export var SYMBOLS = {
407
- title: 'Symbols',
408
- symbols: [SMALLE, ANGLE, PI, IMAGINARY, DEGREES, THETA, PHI, TRIANGLE, INFINITY, DOLLAR, CENT, VDASH, PERP, ARROWLL, ARROWRL, ARROWLLR]
409
- };
410
- export var TRIG = {
411
- title: 'Trigonometry',
412
- symbols: [SIN, COS, TAN, ARCSIN, ARCCOS, ARCTAN]
413
- };
414
- import PropTypes from "prop-types";
415
- export { bpfrpt_proptype_MathQuillEditorSymbol };
416
- export { bpfrpt_proptype_SymbolDefination };