@drghaliasri/butex 5.3.3 → 5.4.1
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/document.d.mts +4 -1
- package/dist/document.d.ts +4 -1
- package/dist/document.js +310 -0
- package/dist/document.js.map +1 -1
- package/dist/document.mjs +310 -0
- package/dist/document.mjs.map +1 -1
- package/dist/document2.d.mts +4 -1
- package/dist/document2.d.ts +4 -1
- package/dist/document2.js +429 -2
- package/dist/document2.js.map +1 -1
- package/dist/document2.mjs +429 -2
- package/dist/document2.mjs.map +1 -1
- package/dist/index.d.mts +188 -3
- package/dist/index.d.ts +188 -3
- package/dist/index.global.js +848 -3
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +848 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +848 -3
- package/dist/index.mjs.map +1 -1
- package/dist/react-document.js +1037 -4
- package/dist/react-document.js.map +1 -1
- package/dist/react-document.mjs +1037 -4
- package/dist/react-document.mjs.map +1 -1
- package/dist/react-document2.d.mts +4 -1
- package/dist/react-document2.d.ts +4 -1
- package/dist/react-document2.js +1039 -6
- package/dist/react-document2.js.map +1 -1
- package/dist/react-document2.mjs +1039 -6
- package/dist/react-document2.mjs.map +1 -1
- package/dist/react.d.mts +141 -1
- package/dist/react.d.ts +141 -1
- package/dist/react.js +919 -4
- package/dist/react.js.map +1 -1
- package/dist/react.mjs +919 -4
- package/dist/react.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -99,7 +99,7 @@ declare const BUTEX_EDITOR_CSS: string;
|
|
|
99
99
|
declare function injectBuTeXEditorStyles(doc?: Document): void;
|
|
100
100
|
|
|
101
101
|
type EditorSide = 'english' | 'arabic';
|
|
102
|
-
type EditorNodeKind = 'char' | 'number' | 'operator' | 'delimiter' | 'frac' | 'sqrt' | 'env' | 'atomicCommand' | 'atomicOperatorCommand';
|
|
102
|
+
type EditorNodeKind = 'char' | 'number' | 'operator' | 'delimiter' | 'frac' | 'sqrt' | 'overset' | 'underset' | 'accent' | 'env' | 'atomicCommand' | 'atomicOperatorCommand';
|
|
103
103
|
type MatrixEnvStyle = 'matrix' | 'pmatrix' | 'bmatrix' | 'Bmatrix' | 'vmatrix' | 'Vmatrix';
|
|
104
104
|
type GridEnvName = MatrixEnvStyle | 'array' | 'aligned';
|
|
105
105
|
type EnvColumnAlignment = 'l' | 'c' | 'r';
|
|
@@ -124,6 +124,9 @@ type EditorNode = {
|
|
|
124
124
|
denominator: EditorChain | null;
|
|
125
125
|
radicand: EditorChain | null;
|
|
126
126
|
rootIndex: EditorChain | null;
|
|
127
|
+
overExpr: EditorChain | null;
|
|
128
|
+
underExpr: EditorChain | null;
|
|
129
|
+
baseExpr: EditorChain | null;
|
|
127
130
|
envName: GridEnvName | null;
|
|
128
131
|
matrixStyle: MatrixEnvStyle | null;
|
|
129
132
|
matrixRows: EditorChain[][] | null;
|
|
@@ -174,6 +177,146 @@ type EditorSession = {
|
|
|
174
177
|
debugLog: EditorDebugEntry[];
|
|
175
178
|
};
|
|
176
179
|
|
|
180
|
+
type AccentPlacement = 'over' | 'under';
|
|
181
|
+
declare const ACCENT_COMMANDS: {
|
|
182
|
+
readonly vec: {
|
|
183
|
+
readonly id: "vec";
|
|
184
|
+
readonly englishTex: "\\vec";
|
|
185
|
+
readonly arabicTex: "\\arabvec";
|
|
186
|
+
readonly placement: "over";
|
|
187
|
+
readonly label: "⃗";
|
|
188
|
+
readonly title: "سهم فوق";
|
|
189
|
+
};
|
|
190
|
+
readonly hat: {
|
|
191
|
+
readonly id: "hat";
|
|
192
|
+
readonly englishTex: "\\hat";
|
|
193
|
+
readonly arabicTex: "\\hat";
|
|
194
|
+
readonly placement: "over";
|
|
195
|
+
readonly label: "ˆ";
|
|
196
|
+
readonly title: "قبعة";
|
|
197
|
+
};
|
|
198
|
+
readonly tilde: {
|
|
199
|
+
readonly id: "tilde";
|
|
200
|
+
readonly englishTex: "\\tilde";
|
|
201
|
+
readonly arabicTex: "\\tilde";
|
|
202
|
+
readonly placement: "over";
|
|
203
|
+
readonly label: "˜";
|
|
204
|
+
readonly title: "مدة";
|
|
205
|
+
};
|
|
206
|
+
readonly dot: {
|
|
207
|
+
readonly id: "dot";
|
|
208
|
+
readonly englishTex: "\\dot";
|
|
209
|
+
readonly arabicTex: "\\dot";
|
|
210
|
+
readonly placement: "over";
|
|
211
|
+
readonly label: "˙";
|
|
212
|
+
readonly title: "نقطة فوق";
|
|
213
|
+
};
|
|
214
|
+
readonly ddot: {
|
|
215
|
+
readonly id: "ddot";
|
|
216
|
+
readonly englishTex: "\\ddot";
|
|
217
|
+
readonly arabicTex: "\\ddot";
|
|
218
|
+
readonly placement: "over";
|
|
219
|
+
readonly label: "¨";
|
|
220
|
+
readonly title: "نقطتان فوق";
|
|
221
|
+
};
|
|
222
|
+
readonly dddot: {
|
|
223
|
+
readonly id: "dddot";
|
|
224
|
+
readonly englishTex: "\\dddot";
|
|
225
|
+
readonly arabicTex: "\\dddot";
|
|
226
|
+
readonly placement: "over";
|
|
227
|
+
readonly label: "⃛";
|
|
228
|
+
readonly title: "ثلاث نقاط فوق";
|
|
229
|
+
};
|
|
230
|
+
readonly bar: {
|
|
231
|
+
readonly id: "bar";
|
|
232
|
+
readonly englishTex: "\\bar";
|
|
233
|
+
readonly arabicTex: "\\bar";
|
|
234
|
+
readonly placement: "over";
|
|
235
|
+
readonly label: "¯";
|
|
236
|
+
readonly title: "خط فوق";
|
|
237
|
+
};
|
|
238
|
+
readonly check: {
|
|
239
|
+
readonly id: "check";
|
|
240
|
+
readonly englishTex: "\\check";
|
|
241
|
+
readonly arabicTex: "\\check";
|
|
242
|
+
readonly placement: "over";
|
|
243
|
+
readonly label: "ˇ";
|
|
244
|
+
readonly title: "علامة تحقق";
|
|
245
|
+
};
|
|
246
|
+
readonly breve: {
|
|
247
|
+
readonly id: "breve";
|
|
248
|
+
readonly englishTex: "\\breve";
|
|
249
|
+
readonly arabicTex: "\\breve";
|
|
250
|
+
readonly placement: "over";
|
|
251
|
+
readonly label: "˘";
|
|
252
|
+
readonly title: "قوس قصير";
|
|
253
|
+
};
|
|
254
|
+
readonly acute: {
|
|
255
|
+
readonly id: "acute";
|
|
256
|
+
readonly englishTex: "\\acute";
|
|
257
|
+
readonly arabicTex: "\\grave";
|
|
258
|
+
readonly placement: "over";
|
|
259
|
+
readonly label: "´";
|
|
260
|
+
readonly title: "نبرة حادة";
|
|
261
|
+
};
|
|
262
|
+
readonly grave: {
|
|
263
|
+
readonly id: "grave";
|
|
264
|
+
readonly englishTex: "\\grave";
|
|
265
|
+
readonly arabicTex: "\\acute";
|
|
266
|
+
readonly placement: "over";
|
|
267
|
+
readonly label: "`";
|
|
268
|
+
readonly title: "نبرة ثقيلة";
|
|
269
|
+
};
|
|
270
|
+
readonly overline: {
|
|
271
|
+
readonly id: "overline";
|
|
272
|
+
readonly englishTex: "\\overline";
|
|
273
|
+
readonly arabicTex: "\\overline";
|
|
274
|
+
readonly placement: "over";
|
|
275
|
+
readonly label: "‾";
|
|
276
|
+
readonly title: "خط علوي ممتد";
|
|
277
|
+
};
|
|
278
|
+
readonly underline: {
|
|
279
|
+
readonly id: "underline";
|
|
280
|
+
readonly englishTex: "\\underline";
|
|
281
|
+
readonly arabicTex: "\\underline";
|
|
282
|
+
readonly placement: "under";
|
|
283
|
+
readonly label: "_";
|
|
284
|
+
readonly title: "خط سفلي";
|
|
285
|
+
};
|
|
286
|
+
readonly overleftarrow: {
|
|
287
|
+
readonly id: "overleftarrow";
|
|
288
|
+
readonly englishTex: "\\overleftarrow";
|
|
289
|
+
readonly arabicTex: "\\overrightarrow";
|
|
290
|
+
readonly placement: "over";
|
|
291
|
+
readonly label: "←";
|
|
292
|
+
readonly title: "سهم علوي إلى اليسار";
|
|
293
|
+
};
|
|
294
|
+
readonly overrightarrow: {
|
|
295
|
+
readonly id: "overrightarrow";
|
|
296
|
+
readonly englishTex: "\\overrightarrow";
|
|
297
|
+
readonly arabicTex: "\\overleftarrow";
|
|
298
|
+
readonly placement: "over";
|
|
299
|
+
readonly label: "→";
|
|
300
|
+
readonly title: "سهم علوي إلى اليمين";
|
|
301
|
+
};
|
|
302
|
+
readonly overleftrightarrow: {
|
|
303
|
+
readonly id: "overleftrightarrow";
|
|
304
|
+
readonly englishTex: "\\overleftrightarrow";
|
|
305
|
+
readonly arabicTex: "\\overleftrightarrow";
|
|
306
|
+
readonly placement: "over";
|
|
307
|
+
readonly label: "↔";
|
|
308
|
+
readonly title: "سهم علوي مزدوج الاتجاه";
|
|
309
|
+
};
|
|
310
|
+
};
|
|
311
|
+
type AccentCommandId = keyof typeof ACCENT_COMMANDS;
|
|
312
|
+
type AccentCommandSpec = (typeof ACCENT_COMMANDS)[AccentCommandId] & {
|
|
313
|
+
placement: AccentPlacement;
|
|
314
|
+
};
|
|
315
|
+
declare function accentCommandSpec(id: string): AccentCommandSpec | null;
|
|
316
|
+
declare function accentCommandsList(): AccentCommandSpec[];
|
|
317
|
+
/** Resolve accent id from a TeX command name like `\hat` or `\arabvec`. */
|
|
318
|
+
declare function accentCommandIdFromTex(tex: string): AccentCommandId | null;
|
|
319
|
+
|
|
177
320
|
declare const ATOMIC_COMMANDS: {
|
|
178
321
|
readonly cos: {
|
|
179
322
|
readonly id: "cos";
|
|
@@ -1055,6 +1198,9 @@ declare function createEditorNode(kind: EditorNode['kind'], expr: string): Edito
|
|
|
1055
1198
|
declare function createDelimiterNode(leftDelimExpr: string, rightDelimExpr: string): EditorNode;
|
|
1056
1199
|
declare function createFracNode(): EditorNode;
|
|
1057
1200
|
declare function createSqrtNode(): EditorNode;
|
|
1201
|
+
declare function createOversetNode(): EditorNode;
|
|
1202
|
+
declare function createUndersetNode(): EditorNode;
|
|
1203
|
+
declare function createAccentNode(accentId: AccentCommandId): EditorNode;
|
|
1058
1204
|
declare function createMatrixEnvNode(style: MatrixEnvStyle, rows: number, columns: number): EditorNode;
|
|
1059
1205
|
declare function createGridEnvNode(envName: GridEnvName, rows: number, columns: number, columnAlignments?: EnvColumnAlignment[]): EditorNode;
|
|
1060
1206
|
declare function createAtomicCommandNode(commandId: AtomicCommandId): EditorNode;
|
|
@@ -1156,7 +1302,7 @@ declare function restoreRedo(stacks: UndoRedoStacks, sessionNow: EditorSession):
|
|
|
1156
1302
|
declare function undoRedoCanUndo(stacks: UndoRedoStacks): boolean;
|
|
1157
1303
|
declare function undoRedoCanRedo(stacks: UndoRedoStacks): boolean;
|
|
1158
1304
|
|
|
1159
|
-
type ParentRelationKind = 'root' | 'superscript' | 'subscript' | 'inner' | 'numerator' | 'denominator' | 'radicand' | 'rootIndex' | 'matrixCell';
|
|
1305
|
+
type ParentRelationKind = 'root' | 'superscript' | 'subscript' | 'inner' | 'numerator' | 'denominator' | 'radicand' | 'rootIndex' | 'overExpr' | 'underExpr' | 'baseExpr' | 'matrixCell';
|
|
1160
1306
|
type ParentRelation = {
|
|
1161
1307
|
kind: ParentRelationKind;
|
|
1162
1308
|
ownerNodeId: string | null;
|
|
@@ -1206,6 +1352,16 @@ declare function insertFraction(session: EditorSession): EditorSession;
|
|
|
1206
1352
|
declare function insertFirstDerivative(session: EditorSession): EditorSession;
|
|
1207
1353
|
declare function insertSecondDerivative(session: EditorSession): EditorSession;
|
|
1208
1354
|
declare function insertSqrt(session: EditorSession): EditorSession;
|
|
1355
|
+
declare function insertOverset(session: EditorSession): EditorSession;
|
|
1356
|
+
declare function insertUnderset(session: EditorSession): EditorSession;
|
|
1357
|
+
declare function insertLimitsSeriesTemplate(session: EditorSession, commandId: AtomicCommandId): EditorSession;
|
|
1358
|
+
declare function insertAccentPair(session: EditorSession): EditorSession;
|
|
1359
|
+
/**
|
|
1360
|
+
* Insert a one-argument math accent. When a selection is active in one chain,
|
|
1361
|
+
* wrap the selected nodes into the accent base; otherwise insert an empty base
|
|
1362
|
+
* and place the caret inside it.
|
|
1363
|
+
*/
|
|
1364
|
+
declare function insertAccent(session: EditorSession, accentId: AccentCommandId): EditorSession;
|
|
1209
1365
|
declare function insertMatrixEnv(session: EditorSession, style: MatrixEnvStyle, rows: number, columns: number): EditorSession;
|
|
1210
1366
|
declare function insertArrayEnv(session: EditorSession, rows: number, columns: number, columnAlignments?: EnvColumnAlignment[]): EditorSession;
|
|
1211
1367
|
declare function insertAlignedEnv(session: EditorSession, rows: number, columns: number): EditorSession;
|
|
@@ -1257,6 +1413,12 @@ declare const FRAC_CSS: string;
|
|
|
1257
1413
|
|
|
1258
1414
|
declare const SQRT_CSS: string;
|
|
1259
1415
|
|
|
1416
|
+
declare const OVERSET_CSS: string;
|
|
1417
|
+
|
|
1418
|
+
declare const UNDERSET_CSS: string;
|
|
1419
|
+
|
|
1420
|
+
declare const ACCENT_CSS: string;
|
|
1421
|
+
|
|
1260
1422
|
declare const MATRIX_ENV_CSS: string;
|
|
1261
1423
|
|
|
1262
1424
|
declare const ATOMIC_COMMAND_CSS: string;
|
|
@@ -1311,6 +1473,11 @@ type EditorRuntimeApi = {
|
|
|
1311
1473
|
insertArrayEnv: (rows: number, columns: number) => void;
|
|
1312
1474
|
insertAlignedEnv: (rows: number, columns: number) => void;
|
|
1313
1475
|
insertSqrt: () => void;
|
|
1476
|
+
insertOverset: () => void;
|
|
1477
|
+
insertUnderset: () => void;
|
|
1478
|
+
insertLimitsSeriesTemplate: (commandId: AtomicCommandId) => void;
|
|
1479
|
+
insertAccentPair: () => void;
|
|
1480
|
+
insertAccent: (accentId: AccentCommandId) => void;
|
|
1314
1481
|
insertAtomicCommand: (commandId: AtomicCommandId) => void;
|
|
1315
1482
|
insertAtomicOperatorCommand: (commandId: AtomicOperatorCommandId) => void;
|
|
1316
1483
|
addSup: () => void;
|
|
@@ -1331,10 +1498,15 @@ declare function runtimeStatusText(session: EditorSession, uiLocale?: ButexUiLoc
|
|
|
1331
1498
|
sync: string;
|
|
1332
1499
|
};
|
|
1333
1500
|
|
|
1501
|
+
declare const index_ACCENT_COMMANDS: typeof ACCENT_COMMANDS;
|
|
1502
|
+
declare const index_ACCENT_CSS: typeof ACCENT_CSS;
|
|
1334
1503
|
declare const index_ATOMIC_COMMANDS: typeof ATOMIC_COMMANDS;
|
|
1335
1504
|
declare const index_ATOMIC_COMMAND_CSS: typeof ATOMIC_COMMAND_CSS;
|
|
1336
1505
|
declare const index_ATOMIC_OPERATOR_COMMANDS: typeof ATOMIC_OPERATOR_COMMANDS;
|
|
1337
1506
|
declare const index_ATOMIC_OPERATOR_COMMAND_CSS: typeof ATOMIC_OPERATOR_COMMAND_CSS;
|
|
1507
|
+
type index_AccentCommandId = AccentCommandId;
|
|
1508
|
+
type index_AccentCommandSpec = AccentCommandSpec;
|
|
1509
|
+
type index_AccentPlacement = AccentPlacement;
|
|
1338
1510
|
type index_AtomicCommandCategory = AtomicCommandCategory;
|
|
1339
1511
|
type index_AtomicCommandId = AtomicCommandId;
|
|
1340
1512
|
type index_AtomicCommandSpec = AtomicCommandSpec;
|
|
@@ -1365,10 +1537,15 @@ declare const index_FRAC_CSS: typeof FRAC_CSS;
|
|
|
1365
1537
|
type index_GridEnvName = GridEnvName;
|
|
1366
1538
|
declare const index_MATRIX_ENV_CSS: typeof MATRIX_ENV_CSS;
|
|
1367
1539
|
type index_MatrixEnvStyle = MatrixEnvStyle;
|
|
1540
|
+
declare const index_OVERSET_CSS: typeof OVERSET_CSS;
|
|
1368
1541
|
declare const index_SQRT_CSS: typeof SQRT_CSS;
|
|
1369
1542
|
type index_SpacingCommandSpec = SpacingCommandSpec;
|
|
1370
1543
|
type index_SpacingDirection = SpacingDirection;
|
|
1544
|
+
declare const index_UNDERSET_CSS: typeof UNDERSET_CSS;
|
|
1371
1545
|
type index_UndoRedoStacks = UndoRedoStacks;
|
|
1546
|
+
declare const index_accentCommandIdFromTex: typeof accentCommandIdFromTex;
|
|
1547
|
+
declare const index_accentCommandSpec: typeof accentCommandSpec;
|
|
1548
|
+
declare const index_accentCommandsList: typeof accentCommandsList;
|
|
1372
1549
|
declare const index_activeSideLabel: typeof activeSideLabel;
|
|
1373
1550
|
declare const index_activeTreeKey: typeof activeTreeKey;
|
|
1374
1551
|
declare const index_addMatrixColumn: typeof addMatrixColumn;
|
|
@@ -1389,6 +1566,7 @@ declare const index_cloneEditorSession: typeof cloneEditorSession;
|
|
|
1389
1566
|
declare const index_collectCaretPositions: typeof collectCaretPositions;
|
|
1390
1567
|
declare const index_copySelection: typeof copySelection;
|
|
1391
1568
|
declare const index_coveredNodeIds: typeof coveredNodeIds;
|
|
1569
|
+
declare const index_createAccentNode: typeof createAccentNode;
|
|
1392
1570
|
declare const index_createAtomicCommandNode: typeof createAtomicCommandNode;
|
|
1393
1571
|
declare const index_createAtomicOperatorCommandNode: typeof createAtomicOperatorCommandNode;
|
|
1394
1572
|
declare const index_createDelimiterNode: typeof createDelimiterNode;
|
|
@@ -1399,8 +1577,10 @@ declare const index_createEditorSession: typeof createEditorSession;
|
|
|
1399
1577
|
declare const index_createFracNode: typeof createFracNode;
|
|
1400
1578
|
declare const index_createGridEnvNode: typeof createGridEnvNode;
|
|
1401
1579
|
declare const index_createMatrixEnvNode: typeof createMatrixEnvNode;
|
|
1580
|
+
declare const index_createOversetNode: typeof createOversetNode;
|
|
1402
1581
|
declare const index_createSqrtNode: typeof createSqrtNode;
|
|
1403
1582
|
declare const index_createStarterSession: typeof createStarterSession;
|
|
1583
|
+
declare const index_createUndersetNode: typeof createUndersetNode;
|
|
1404
1584
|
declare const index_createUndoRedoStacks: typeof createUndoRedoStacks;
|
|
1405
1585
|
declare const index_cutSelection: typeof cutSelection;
|
|
1406
1586
|
declare const index_deleteBackward: typeof deleteBackward;
|
|
@@ -1414,6 +1594,8 @@ declare const index_formatDigits: typeof formatDigits;
|
|
|
1414
1594
|
declare const index_fragmentToPlainText: typeof fragmentToPlainText;
|
|
1415
1595
|
declare const index_horizontalCaretDelta: typeof horizontalCaretDelta;
|
|
1416
1596
|
declare const index_injectBuTeXEditorStyles: typeof injectBuTeXEditorStyles;
|
|
1597
|
+
declare const index_insertAccent: typeof insertAccent;
|
|
1598
|
+
declare const index_insertAccentPair: typeof insertAccentPair;
|
|
1417
1599
|
declare const index_insertAlignedEnv: typeof insertAlignedEnv;
|
|
1418
1600
|
declare const index_insertArrayEnv: typeof insertArrayEnv;
|
|
1419
1601
|
declare const index_insertAtomicCommand: typeof insertAtomicCommand;
|
|
@@ -1423,11 +1605,14 @@ declare const index_insertDelimiterPair: typeof insertDelimiterPair;
|
|
|
1423
1605
|
declare const index_insertDivideOperator: typeof insertDivideOperator;
|
|
1424
1606
|
declare const index_insertFirstDerivative: typeof insertFirstDerivative;
|
|
1425
1607
|
declare const index_insertFraction: typeof insertFraction;
|
|
1608
|
+
declare const index_insertLimitsSeriesTemplate: typeof insertLimitsSeriesTemplate;
|
|
1426
1609
|
declare const index_insertMatrixEnv: typeof insertMatrixEnv;
|
|
1427
1610
|
declare const index_insertNumber: typeof insertNumber;
|
|
1428
1611
|
declare const index_insertOperator: typeof insertOperator;
|
|
1612
|
+
declare const index_insertOverset: typeof insertOverset;
|
|
1429
1613
|
declare const index_insertSecondDerivative: typeof insertSecondDerivative;
|
|
1430
1614
|
declare const index_insertSqrt: typeof insertSqrt;
|
|
1615
|
+
declare const index_insertUnderset: typeof insertUnderset;
|
|
1431
1616
|
declare const index_isSelectionActive: typeof isSelectionActive;
|
|
1432
1617
|
declare const index_isSpacingCommandSpec: typeof isSpacingCommandSpec;
|
|
1433
1618
|
declare const index_mirrorBuTeXOperatorsInTex: typeof mirrorBuTeXOperatorsInTex;
|
|
@@ -1472,7 +1657,7 @@ declare const index_toggleTakweenCharacterFont: typeof toggleTakweenCharacterFon
|
|
|
1472
1657
|
declare const index_undoRedoCanRedo: typeof undoRedoCanRedo;
|
|
1473
1658
|
declare const index_undoRedoCanUndo: typeof undoRedoCanUndo;
|
|
1474
1659
|
declare namespace index {
|
|
1475
|
-
export { index_ATOMIC_COMMANDS as ATOMIC_COMMANDS, index_ATOMIC_COMMAND_CSS as ATOMIC_COMMAND_CSS, index_ATOMIC_OPERATOR_COMMANDS as ATOMIC_OPERATOR_COMMANDS, index_ATOMIC_OPERATOR_COMMAND_CSS as ATOMIC_OPERATOR_COMMAND_CSS, type index_AtomicCommandCategory as AtomicCommandCategory, type index_AtomicCommandId as AtomicCommandId, type index_AtomicCommandSpec as AtomicCommandSpec, type index_AtomicOperatorCommandCategory as AtomicOperatorCommandCategory, type index_AtomicOperatorCommandId as AtomicOperatorCommandId, type index_AtomicOperatorCommandSpec as AtomicOperatorCommandSpec, index_BUTEX_EDITOR_CSS as BUTEX_EDITOR_CSS, index_BUTEX_FRAGMENT_MIME as BUTEX_FRAGMENT_MIME, type index_CharacterFontId as CharacterFontId, index_DEFAULT_UNDO_HISTORY_MAX_DEPTH as DEFAULT_UNDO_HISTORY_MAX_DEPTH, index_DELIMITER_CSS as DELIMITER_CSS, type index_DigitFormId as DigitFormId, type index_EditorCaret as EditorCaret, type index_EditorChain as EditorChain, type index_EditorDebugEntry as EditorDebugEntry, type index_EditorFragment as EditorFragment, type index_EditorNode as EditorNode, type index_EditorNodeKind as EditorNodeKind, type index_EditorRuntimeApi as EditorRuntimeApi, type index_EditorRuntimeOptions as EditorRuntimeOptions, type index_EditorSelectionRange as EditorSelectionRange, type index_EditorSession as EditorSession, type index_EditorSide as EditorSide, type index_EditorSyncMap as EditorSyncMap, type index_EditorSyncState as EditorSyncState, type index_EnvColumnAlignment as EnvColumnAlignment, index_FRAC_CSS as FRAC_CSS, type index_GridEnvName as GridEnvName, index_MATRIX_ENV_CSS as MATRIX_ENV_CSS, type index_MatrixEnvStyle as MatrixEnvStyle, index_SQRT_CSS as SQRT_CSS, type index_SpacingCommandSpec as SpacingCommandSpec, type index_SpacingDirection as SpacingDirection, type index_UndoRedoStacks as UndoRedoStacks, index_activeSideLabel as activeSideLabel, index_activeTreeKey as activeTreeKey, index_addMatrixColumn as addMatrixColumn, index_addMatrixRow as addMatrixRow, index_addSub as addSub, index_addSup as addSup, index_atomicCommandSpec as atomicCommandSpec, index_atomicCommandsByCategory as atomicCommandsByCategory, index_atomicOperatorCommandSpec as atomicOperatorCommandSpec, index_atomicOperatorCommandsByCategory as atomicOperatorCommandsByCategory, index_breakLeafTyping as breakLeafTyping, index_buildInitialSyncMap as buildInitialSyncMap, index_buildNodeBody as buildNodeBody, index_buildNodeScripts as buildNodeScripts, index_caretStep as caretStep, index_clearSelection as clearSelection, index_cloneEditorSession as cloneEditorSession, index_collectCaretPositions as collectCaretPositions, index_copySelection as copySelection, index_coveredNodeIds as coveredNodeIds, index_createAtomicCommandNode as createAtomicCommandNode, index_createAtomicOperatorCommandNode as createAtomicOperatorCommandNode, index_createDelimiterNode as createDelimiterNode, index_createEditorChain as createEditorChain, index_createEditorNode as createEditorNode, index_createEditorRuntime as createEditorRuntime, index_createEditorSession as createEditorSession, index_createFracNode as createFracNode, index_createGridEnvNode as createGridEnvNode, index_createMatrixEnvNode as createMatrixEnvNode, index_createSqrtNode as createSqrtNode, index_createStarterSession as createStarterSession, index_createUndoRedoStacks as createUndoRedoStacks, index_cutSelection as cutSelection, index_deleteBackward as deleteBackward, index_deleteForward as deleteForward, index_deleteStructure as deleteStructure, index_deserializeFragment as deserializeFragment, index_extendSelectionByStep as extendSelectionByStep, index_findChainById as findChainById, index_findNodeById as findNodeById, index_formatDigits as formatDigits, index_fragmentToPlainText as fragmentToPlainText, index_horizontalCaretDelta as horizontalCaretDelta, index_injectBuTeXEditorStyles as injectBuTeXEditorStyles, index_insertAlignedEnv as insertAlignedEnv, index_insertArrayEnv as insertArrayEnv, index_insertAtomicCommand as insertAtomicCommand, index_insertAtomicOperatorCommand as insertAtomicOperatorCommand, index_insertChar as insertChar, index_insertDelimiterPair as insertDelimiterPair, index_insertDivideOperator as insertDivideOperator, index_insertFirstDerivative as insertFirstDerivative, index_insertFraction as insertFraction, index_insertMatrixEnv as insertMatrixEnv, index_insertNumber as insertNumber, index_insertOperator as insertOperator, index_insertSecondDerivative as insertSecondDerivative, index_insertSqrt as insertSqrt, index_isSelectionActive as isSelectionActive, index_isSpacingCommandSpec as isSpacingCommandSpec, index_mirrorBuTeXOperatorsInTex as mirrorBuTeXOperatorsInTex, index_moveCaret as moveCaret, index_moveCaretHorizontal as moveCaretHorizontal, index_moveCaretVertical as moveCaretVertical, index_nodeChildChains as nodeChildChains, index_normalizeSelection as normalizeSelection, index_passiveTreeKey as passiveTreeKey, index_pasteFragment as pasteFragment, index_pasteText as pasteText, index_pushUndoRedoSnapshot as pushUndoRedoSnapshot, index_regenerateFragmentIds as regenerateFragmentIds, index_removeMatrixColumn as removeMatrixColumn, index_removeMatrixRow as removeMatrixRow, index_removeSub as removeSub, index_removeSup as removeSup, index_renderArabicLatexFromSession as renderArabicLatexFromSession, index_renderChainArabic as renderChainArabic, index_renderChainEnglish as renderChainEnglish, index_renderEnglishLatexFromSession as renderEnglishLatexFromSession, index_restoreRedo as restoreRedo, index_restoreUndo as restoreUndo, index_runtimeStatusText as runtimeStatusText, index_selectNode as selectNode, index_serializeSelection as serializeSelection, index_setArabicReverseNumberTyping as setArabicReverseNumberTyping, index_setArrayColumnAlignment as setArrayColumnAlignment, index_setCaret as setCaret, index_setCurrentCharacterFont as setCurrentCharacterFont, index_setCurrentDigitForm as setCurrentDigitForm, index_setExpr as setExpr, index_setMatrixEnvStyle as setMatrixEnvStyle, index_setRenderError as setRenderError, index_setSelectionFromMouse as setSelectionFromMouse, index_setSplitLeafTyping as setSplitLeafTyping, index_shouldMirrorOperatorDisplay as shouldMirrorOperatorDisplay, index_switchSide as switchSide, index_syncSelectionToCaret as syncSelectionToCaret, index_syncStateSummary as syncStateSummary, index_toggleTakweenCharacterFont as toggleTakweenCharacterFont, index_undoRedoCanRedo as undoRedoCanRedo, index_undoRedoCanUndo as undoRedoCanUndo };
|
|
1660
|
+
export { index_ACCENT_COMMANDS as ACCENT_COMMANDS, index_ACCENT_CSS as ACCENT_CSS, index_ATOMIC_COMMANDS as ATOMIC_COMMANDS, index_ATOMIC_COMMAND_CSS as ATOMIC_COMMAND_CSS, index_ATOMIC_OPERATOR_COMMANDS as ATOMIC_OPERATOR_COMMANDS, index_ATOMIC_OPERATOR_COMMAND_CSS as ATOMIC_OPERATOR_COMMAND_CSS, type index_AccentCommandId as AccentCommandId, type index_AccentCommandSpec as AccentCommandSpec, type index_AccentPlacement as AccentPlacement, type index_AtomicCommandCategory as AtomicCommandCategory, type index_AtomicCommandId as AtomicCommandId, type index_AtomicCommandSpec as AtomicCommandSpec, type index_AtomicOperatorCommandCategory as AtomicOperatorCommandCategory, type index_AtomicOperatorCommandId as AtomicOperatorCommandId, type index_AtomicOperatorCommandSpec as AtomicOperatorCommandSpec, index_BUTEX_EDITOR_CSS as BUTEX_EDITOR_CSS, index_BUTEX_FRAGMENT_MIME as BUTEX_FRAGMENT_MIME, type index_CharacterFontId as CharacterFontId, index_DEFAULT_UNDO_HISTORY_MAX_DEPTH as DEFAULT_UNDO_HISTORY_MAX_DEPTH, index_DELIMITER_CSS as DELIMITER_CSS, type index_DigitFormId as DigitFormId, type index_EditorCaret as EditorCaret, type index_EditorChain as EditorChain, type index_EditorDebugEntry as EditorDebugEntry, type index_EditorFragment as EditorFragment, type index_EditorNode as EditorNode, type index_EditorNodeKind as EditorNodeKind, type index_EditorRuntimeApi as EditorRuntimeApi, type index_EditorRuntimeOptions as EditorRuntimeOptions, type index_EditorSelectionRange as EditorSelectionRange, type index_EditorSession as EditorSession, type index_EditorSide as EditorSide, type index_EditorSyncMap as EditorSyncMap, type index_EditorSyncState as EditorSyncState, type index_EnvColumnAlignment as EnvColumnAlignment, index_FRAC_CSS as FRAC_CSS, type index_GridEnvName as GridEnvName, index_MATRIX_ENV_CSS as MATRIX_ENV_CSS, type index_MatrixEnvStyle as MatrixEnvStyle, index_OVERSET_CSS as OVERSET_CSS, index_SQRT_CSS as SQRT_CSS, type index_SpacingCommandSpec as SpacingCommandSpec, type index_SpacingDirection as SpacingDirection, index_UNDERSET_CSS as UNDERSET_CSS, type index_UndoRedoStacks as UndoRedoStacks, index_accentCommandIdFromTex as accentCommandIdFromTex, index_accentCommandSpec as accentCommandSpec, index_accentCommandsList as accentCommandsList, index_activeSideLabel as activeSideLabel, index_activeTreeKey as activeTreeKey, index_addMatrixColumn as addMatrixColumn, index_addMatrixRow as addMatrixRow, index_addSub as addSub, index_addSup as addSup, index_atomicCommandSpec as atomicCommandSpec, index_atomicCommandsByCategory as atomicCommandsByCategory, index_atomicOperatorCommandSpec as atomicOperatorCommandSpec, index_atomicOperatorCommandsByCategory as atomicOperatorCommandsByCategory, index_breakLeafTyping as breakLeafTyping, index_buildInitialSyncMap as buildInitialSyncMap, index_buildNodeBody as buildNodeBody, index_buildNodeScripts as buildNodeScripts, index_caretStep as caretStep, index_clearSelection as clearSelection, index_cloneEditorSession as cloneEditorSession, index_collectCaretPositions as collectCaretPositions, index_copySelection as copySelection, index_coveredNodeIds as coveredNodeIds, index_createAccentNode as createAccentNode, index_createAtomicCommandNode as createAtomicCommandNode, index_createAtomicOperatorCommandNode as createAtomicOperatorCommandNode, index_createDelimiterNode as createDelimiterNode, index_createEditorChain as createEditorChain, index_createEditorNode as createEditorNode, index_createEditorRuntime as createEditorRuntime, index_createEditorSession as createEditorSession, index_createFracNode as createFracNode, index_createGridEnvNode as createGridEnvNode, index_createMatrixEnvNode as createMatrixEnvNode, index_createOversetNode as createOversetNode, index_createSqrtNode as createSqrtNode, index_createStarterSession as createStarterSession, index_createUndersetNode as createUndersetNode, index_createUndoRedoStacks as createUndoRedoStacks, index_cutSelection as cutSelection, index_deleteBackward as deleteBackward, index_deleteForward as deleteForward, index_deleteStructure as deleteStructure, index_deserializeFragment as deserializeFragment, index_extendSelectionByStep as extendSelectionByStep, index_findChainById as findChainById, index_findNodeById as findNodeById, index_formatDigits as formatDigits, index_fragmentToPlainText as fragmentToPlainText, index_horizontalCaretDelta as horizontalCaretDelta, index_injectBuTeXEditorStyles as injectBuTeXEditorStyles, index_insertAccent as insertAccent, index_insertAccentPair as insertAccentPair, index_insertAlignedEnv as insertAlignedEnv, index_insertArrayEnv as insertArrayEnv, index_insertAtomicCommand as insertAtomicCommand, index_insertAtomicOperatorCommand as insertAtomicOperatorCommand, index_insertChar as insertChar, index_insertDelimiterPair as insertDelimiterPair, index_insertDivideOperator as insertDivideOperator, index_insertFirstDerivative as insertFirstDerivative, index_insertFraction as insertFraction, index_insertLimitsSeriesTemplate as insertLimitsSeriesTemplate, index_insertMatrixEnv as insertMatrixEnv, index_insertNumber as insertNumber, index_insertOperator as insertOperator, index_insertOverset as insertOverset, index_insertSecondDerivative as insertSecondDerivative, index_insertSqrt as insertSqrt, index_insertUnderset as insertUnderset, index_isSelectionActive as isSelectionActive, index_isSpacingCommandSpec as isSpacingCommandSpec, index_mirrorBuTeXOperatorsInTex as mirrorBuTeXOperatorsInTex, index_moveCaret as moveCaret, index_moveCaretHorizontal as moveCaretHorizontal, index_moveCaretVertical as moveCaretVertical, index_nodeChildChains as nodeChildChains, index_normalizeSelection as normalizeSelection, index_passiveTreeKey as passiveTreeKey, index_pasteFragment as pasteFragment, index_pasteText as pasteText, index_pushUndoRedoSnapshot as pushUndoRedoSnapshot, index_regenerateFragmentIds as regenerateFragmentIds, index_removeMatrixColumn as removeMatrixColumn, index_removeMatrixRow as removeMatrixRow, index_removeSub as removeSub, index_removeSup as removeSup, index_renderArabicLatexFromSession as renderArabicLatexFromSession, index_renderChainArabic as renderChainArabic, index_renderChainEnglish as renderChainEnglish, index_renderEnglishLatexFromSession as renderEnglishLatexFromSession, index_restoreRedo as restoreRedo, index_restoreUndo as restoreUndo, index_runtimeStatusText as runtimeStatusText, index_selectNode as selectNode, index_serializeSelection as serializeSelection, index_setArabicReverseNumberTyping as setArabicReverseNumberTyping, index_setArrayColumnAlignment as setArrayColumnAlignment, index_setCaret as setCaret, index_setCurrentCharacterFont as setCurrentCharacterFont, index_setCurrentDigitForm as setCurrentDigitForm, index_setExpr as setExpr, index_setMatrixEnvStyle as setMatrixEnvStyle, index_setRenderError as setRenderError, index_setSelectionFromMouse as setSelectionFromMouse, index_setSplitLeafTyping as setSplitLeafTyping, index_shouldMirrorOperatorDisplay as shouldMirrorOperatorDisplay, index_switchSide as switchSide, index_syncSelectionToCaret as syncSelectionToCaret, index_syncStateSummary as syncStateSummary, index_toggleTakweenCharacterFont as toggleTakweenCharacterFont, index_undoRedoCanRedo as undoRedoCanRedo, index_undoRedoCanUndo as undoRedoCanUndo };
|
|
1476
1661
|
}
|
|
1477
1662
|
|
|
1478
1663
|
/**
|