@drghaliasri/butex 5.3.2 → 5.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/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";
@@ -586,7 +729,7 @@ declare const ATOMIC_OPERATOR_COMMANDS: {
586
729
  readonly id: "neq";
587
730
  readonly category: "operators1";
588
731
  readonly Tex: "\\neq";
589
- readonly mirror: false;
732
+ readonly mirror: true;
590
733
  readonly Label: "≠";
591
734
  readonly title: "لا يساوي";
592
735
  readonly svg_path: null;
@@ -596,6 +739,7 @@ declare const ATOMIC_OPERATOR_COMMANDS: {
596
739
  readonly category: "operators1";
597
740
  readonly Tex: "\\approx";
598
741
  readonly mirror: false;
742
+ readonly displayMirror: true;
599
743
  readonly Label: "≈";
600
744
  readonly title: "تقريبا يساوي";
601
745
  readonly svg_path: null;
@@ -605,6 +749,7 @@ declare const ATOMIC_OPERATOR_COMMANDS: {
605
749
  readonly category: "operators1";
606
750
  readonly Tex: "\\sim";
607
751
  readonly mirror: false;
752
+ readonly displayMirror: true;
608
753
  readonly Label: "∼";
609
754
  readonly title: "مشابه";
610
755
  readonly svg_path: null;
@@ -623,6 +768,7 @@ declare const ATOMIC_OPERATOR_COMMANDS: {
623
768
  readonly category: "operators1";
624
769
  readonly Tex: "\\leq";
625
770
  readonly mirror: true;
771
+ readonly displayMirror: false;
626
772
  readonly Label: "≤";
627
773
  readonly title: "أصغر من أو يساوي";
628
774
  readonly svg_path: null;
@@ -632,6 +778,7 @@ declare const ATOMIC_OPERATOR_COMMANDS: {
632
778
  readonly category: "operators1";
633
779
  readonly Tex: "\\geq";
634
780
  readonly mirror: true;
781
+ readonly displayMirror: false;
635
782
  readonly Label: "≥";
636
783
  readonly title: "أكبر من أو يساوي";
637
784
  readonly svg_path: null;
@@ -641,6 +788,7 @@ declare const ATOMIC_OPERATOR_COMMANDS: {
641
788
  readonly category: "operators1";
642
789
  readonly Tex: "\\coloneqq";
643
790
  readonly mirror: true;
791
+ readonly displayMirror: false;
644
792
  readonly Label: "≔";
645
793
  readonly title: "يعرف بأنه يساوي";
646
794
  readonly svg_path: null;
@@ -650,6 +798,7 @@ declare const ATOMIC_OPERATOR_COMMANDS: {
650
798
  readonly category: "operators1";
651
799
  readonly Tex: "\\eqqcolon";
652
800
  readonly mirror: true;
801
+ readonly displayMirror: false;
653
802
  readonly Label: "≕";
654
803
  readonly title: "يساوي بالتعريف";
655
804
  readonly svg_path: null;
@@ -659,6 +808,7 @@ declare const ATOMIC_OPERATOR_COMMANDS: {
659
808
  readonly category: "operators2";
660
809
  readonly Tex: "\\propto";
661
810
  readonly mirror: true;
811
+ readonly displayMirror: false;
662
812
  readonly Label: "∝";
663
813
  readonly title: "يتناسب مع";
664
814
  readonly svg_path: null;
@@ -668,6 +818,7 @@ declare const ATOMIC_OPERATOR_COMMANDS: {
668
818
  readonly category: "operators2";
669
819
  readonly Tex: "\\in";
670
820
  readonly mirror: true;
821
+ readonly displayMirror: false;
671
822
  readonly Label: "∈";
672
823
  readonly title: "ينتمي إلى";
673
824
  readonly svg_path: null;
@@ -677,6 +828,7 @@ declare const ATOMIC_OPERATOR_COMMANDS: {
677
828
  readonly category: "operators2";
678
829
  readonly Tex: "\\notin";
679
830
  readonly mirror: false;
831
+ readonly displayMirror: true;
680
832
  readonly Label: "∉";
681
833
  readonly title: "لا ينتمي إلى";
682
834
  readonly svg_path: null;
@@ -686,6 +838,7 @@ declare const ATOMIC_OPERATOR_COMMANDS: {
686
838
  readonly category: "operators2";
687
839
  readonly Tex: "\\subset";
688
840
  readonly mirror: true;
841
+ readonly displayMirror: false;
689
842
  readonly Label: "⊂";
690
843
  readonly title: "مجموعة جزئية من";
691
844
  readonly svg_path: null;
@@ -695,6 +848,7 @@ declare const ATOMIC_OPERATOR_COMMANDS: {
695
848
  readonly category: "operators2";
696
849
  readonly Tex: "\\supset";
697
850
  readonly mirror: true;
851
+ readonly displayMirror: false;
698
852
  readonly Label: "⊃";
699
853
  readonly title: "مجموعة شاملة لـ";
700
854
  readonly svg_path: null;
@@ -704,6 +858,7 @@ declare const ATOMIC_OPERATOR_COMMANDS: {
704
858
  readonly category: "operators2";
705
859
  readonly Tex: "\\subseteq";
706
860
  readonly mirror: true;
861
+ readonly displayMirror: false;
707
862
  readonly Label: "⊆";
708
863
  readonly title: "مجموعة جزئية أو تساوي";
709
864
  readonly svg_path: null;
@@ -713,6 +868,7 @@ declare const ATOMIC_OPERATOR_COMMANDS: {
713
868
  readonly category: "operators2";
714
869
  readonly Tex: "\\supseteq";
715
870
  readonly mirror: true;
871
+ readonly displayMirror: false;
716
872
  readonly Label: "⊇";
717
873
  readonly title: "مجموعة شاملة أو تساوي";
718
874
  readonly svg_path: null;
@@ -722,6 +878,7 @@ declare const ATOMIC_OPERATOR_COMMANDS: {
722
878
  readonly category: "operators2";
723
879
  readonly Tex: "\\cap";
724
880
  readonly mirror: false;
881
+ readonly displayMirror: true;
725
882
  readonly Label: "∩";
726
883
  readonly title: "تقاطع";
727
884
  readonly svg_path: null;
@@ -731,6 +888,7 @@ declare const ATOMIC_OPERATOR_COMMANDS: {
731
888
  readonly category: "operators2";
732
889
  readonly Tex: "\\cup";
733
890
  readonly mirror: false;
891
+ readonly displayMirror: true;
734
892
  readonly Label: "∪";
735
893
  readonly title: "اتحاد";
736
894
  readonly svg_path: null;
@@ -740,6 +898,7 @@ declare const ATOMIC_OPERATOR_COMMANDS: {
740
898
  readonly category: "operators2";
741
899
  readonly Tex: "\\emptyset";
742
900
  readonly mirror: false;
901
+ readonly displayMirror: true;
743
902
  readonly Label: "∅";
744
903
  readonly title: "المجموعة الخالية";
745
904
  readonly svg_path: null;
@@ -749,6 +908,7 @@ declare const ATOMIC_OPERATOR_COMMANDS: {
749
908
  readonly category: "operators2";
750
909
  readonly Tex: "\\nsubseteq";
751
910
  readonly mirror: true;
911
+ readonly displayMirror: false;
752
912
  readonly Label: "⊈";
753
913
  readonly title: "ليست مجموعة جزئية أو تساوي";
754
914
  readonly svg_path: null;
@@ -758,6 +918,7 @@ declare const ATOMIC_OPERATOR_COMMANDS: {
758
918
  readonly category: "operators2";
759
919
  readonly Tex: "\\nsupseteq";
760
920
  readonly mirror: true;
921
+ readonly displayMirror: false;
761
922
  readonly Label: "⊉";
762
923
  readonly title: "ليست مجموعة شاملة أو تساوي";
763
924
  readonly svg_path: null;
@@ -966,6 +1127,7 @@ declare const ATOMIC_OPERATOR_COMMANDS: {
966
1127
  readonly category: "integrals";
967
1128
  readonly Tex: "\\iint";
968
1129
  readonly mirror: true;
1130
+ readonly displayMirror: false;
969
1131
  readonly Label: "∬";
970
1132
  readonly title: "تكامل مزدوج";
971
1133
  readonly svg_path: null;
@@ -975,6 +1137,7 @@ declare const ATOMIC_OPERATOR_COMMANDS: {
975
1137
  readonly category: "integrals";
976
1138
  readonly Tex: "\\iiint";
977
1139
  readonly mirror: true;
1140
+ readonly displayMirror: false;
978
1141
  readonly Label: "∭";
979
1142
  readonly title: "تكامل ثلاثي";
980
1143
  readonly svg_path: null;
@@ -984,6 +1147,7 @@ declare const ATOMIC_OPERATOR_COMMANDS: {
984
1147
  readonly category: "integrals";
985
1148
  readonly Tex: "\\iiiint";
986
1149
  readonly mirror: true;
1150
+ readonly displayMirror: false;
987
1151
  readonly Label: "⨌";
988
1152
  readonly title: "تكامل رباعي";
989
1153
  readonly svg_path: null;
@@ -993,6 +1157,7 @@ declare const ATOMIC_OPERATOR_COMMANDS: {
993
1157
  readonly category: "integrals";
994
1158
  readonly Tex: "\\oint";
995
1159
  readonly mirror: true;
1160
+ readonly displayMirror: false;
996
1161
  readonly Label: "∮";
997
1162
  readonly title: "تكامل مغلق";
998
1163
  readonly svg_path: null;
@@ -1002,6 +1167,7 @@ declare const ATOMIC_OPERATOR_COMMANDS: {
1002
1167
  readonly category: "integrals";
1003
1168
  readonly Tex: "\\oiint";
1004
1169
  readonly mirror: true;
1170
+ readonly displayMirror: false;
1005
1171
  readonly Label: "∯";
1006
1172
  readonly title: "تكامل سطحي مغلق";
1007
1173
  readonly svg_path: null;
@@ -1011,6 +1177,7 @@ declare const ATOMIC_OPERATOR_COMMANDS: {
1011
1177
  readonly category: "integrals";
1012
1178
  readonly Tex: "\\oiiint";
1013
1179
  readonly mirror: true;
1180
+ readonly displayMirror: false;
1014
1181
  readonly Label: "∰";
1015
1182
  readonly title: "تكامل حجمي مغلق";
1016
1183
  readonly svg_path: null;
@@ -1031,6 +1198,9 @@ declare function createEditorNode(kind: EditorNode['kind'], expr: string): Edito
1031
1198
  declare function createDelimiterNode(leftDelimExpr: string, rightDelimExpr: string): EditorNode;
1032
1199
  declare function createFracNode(): EditorNode;
1033
1200
  declare function createSqrtNode(): EditorNode;
1201
+ declare function createOversetNode(): EditorNode;
1202
+ declare function createUndersetNode(): EditorNode;
1203
+ declare function createAccentNode(accentId: AccentCommandId): EditorNode;
1034
1204
  declare function createMatrixEnvNode(style: MatrixEnvStyle, rows: number, columns: number): EditorNode;
1035
1205
  declare function createGridEnvNode(envName: GridEnvName, rows: number, columns: number, columnAlignments?: EnvColumnAlignment[]): EditorNode;
1036
1206
  declare function createAtomicCommandNode(commandId: AtomicCommandId): EditorNode;
@@ -1132,7 +1302,7 @@ declare function restoreRedo(stacks: UndoRedoStacks, sessionNow: EditorSession):
1132
1302
  declare function undoRedoCanUndo(stacks: UndoRedoStacks): boolean;
1133
1303
  declare function undoRedoCanRedo(stacks: UndoRedoStacks): boolean;
1134
1304
 
1135
- 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';
1136
1306
  type ParentRelation = {
1137
1307
  kind: ParentRelationKind;
1138
1308
  ownerNodeId: string | null;
@@ -1182,6 +1352,16 @@ declare function insertFraction(session: EditorSession): EditorSession;
1182
1352
  declare function insertFirstDerivative(session: EditorSession): EditorSession;
1183
1353
  declare function insertSecondDerivative(session: EditorSession): EditorSession;
1184
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;
1185
1365
  declare function insertMatrixEnv(session: EditorSession, style: MatrixEnvStyle, rows: number, columns: number): EditorSession;
1186
1366
  declare function insertArrayEnv(session: EditorSession, rows: number, columns: number, columnAlignments?: EnvColumnAlignment[]): EditorSession;
1187
1367
  declare function insertAlignedEnv(session: EditorSession, rows: number, columns: number): EditorSession;
@@ -1233,6 +1413,12 @@ declare const FRAC_CSS: string;
1233
1413
 
1234
1414
  declare const SQRT_CSS: string;
1235
1415
 
1416
+ declare const OVERSET_CSS: string;
1417
+
1418
+ declare const UNDERSET_CSS: string;
1419
+
1420
+ declare const ACCENT_CSS: string;
1421
+
1236
1422
  declare const MATRIX_ENV_CSS: string;
1237
1423
 
1238
1424
  declare const ATOMIC_COMMAND_CSS: string;
@@ -1287,6 +1473,11 @@ type EditorRuntimeApi = {
1287
1473
  insertArrayEnv: (rows: number, columns: number) => void;
1288
1474
  insertAlignedEnv: (rows: number, columns: number) => void;
1289
1475
  insertSqrt: () => void;
1476
+ insertOverset: () => void;
1477
+ insertUnderset: () => void;
1478
+ insertLimitsSeriesTemplate: (commandId: AtomicCommandId) => void;
1479
+ insertAccentPair: () => void;
1480
+ insertAccent: (accentId: AccentCommandId) => void;
1290
1481
  insertAtomicCommand: (commandId: AtomicCommandId) => void;
1291
1482
  insertAtomicOperatorCommand: (commandId: AtomicOperatorCommandId) => void;
1292
1483
  addSup: () => void;
@@ -1307,10 +1498,15 @@ declare function runtimeStatusText(session: EditorSession, uiLocale?: ButexUiLoc
1307
1498
  sync: string;
1308
1499
  };
1309
1500
 
1501
+ declare const index_ACCENT_COMMANDS: typeof ACCENT_COMMANDS;
1502
+ declare const index_ACCENT_CSS: typeof ACCENT_CSS;
1310
1503
  declare const index_ATOMIC_COMMANDS: typeof ATOMIC_COMMANDS;
1311
1504
  declare const index_ATOMIC_COMMAND_CSS: typeof ATOMIC_COMMAND_CSS;
1312
1505
  declare const index_ATOMIC_OPERATOR_COMMANDS: typeof ATOMIC_OPERATOR_COMMANDS;
1313
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;
1314
1510
  type index_AtomicCommandCategory = AtomicCommandCategory;
1315
1511
  type index_AtomicCommandId = AtomicCommandId;
1316
1512
  type index_AtomicCommandSpec = AtomicCommandSpec;
@@ -1341,10 +1537,15 @@ declare const index_FRAC_CSS: typeof FRAC_CSS;
1341
1537
  type index_GridEnvName = GridEnvName;
1342
1538
  declare const index_MATRIX_ENV_CSS: typeof MATRIX_ENV_CSS;
1343
1539
  type index_MatrixEnvStyle = MatrixEnvStyle;
1540
+ declare const index_OVERSET_CSS: typeof OVERSET_CSS;
1344
1541
  declare const index_SQRT_CSS: typeof SQRT_CSS;
1345
1542
  type index_SpacingCommandSpec = SpacingCommandSpec;
1346
1543
  type index_SpacingDirection = SpacingDirection;
1544
+ declare const index_UNDERSET_CSS: typeof UNDERSET_CSS;
1347
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;
1348
1549
  declare const index_activeSideLabel: typeof activeSideLabel;
1349
1550
  declare const index_activeTreeKey: typeof activeTreeKey;
1350
1551
  declare const index_addMatrixColumn: typeof addMatrixColumn;
@@ -1365,6 +1566,7 @@ declare const index_cloneEditorSession: typeof cloneEditorSession;
1365
1566
  declare const index_collectCaretPositions: typeof collectCaretPositions;
1366
1567
  declare const index_copySelection: typeof copySelection;
1367
1568
  declare const index_coveredNodeIds: typeof coveredNodeIds;
1569
+ declare const index_createAccentNode: typeof createAccentNode;
1368
1570
  declare const index_createAtomicCommandNode: typeof createAtomicCommandNode;
1369
1571
  declare const index_createAtomicOperatorCommandNode: typeof createAtomicOperatorCommandNode;
1370
1572
  declare const index_createDelimiterNode: typeof createDelimiterNode;
@@ -1375,8 +1577,10 @@ declare const index_createEditorSession: typeof createEditorSession;
1375
1577
  declare const index_createFracNode: typeof createFracNode;
1376
1578
  declare const index_createGridEnvNode: typeof createGridEnvNode;
1377
1579
  declare const index_createMatrixEnvNode: typeof createMatrixEnvNode;
1580
+ declare const index_createOversetNode: typeof createOversetNode;
1378
1581
  declare const index_createSqrtNode: typeof createSqrtNode;
1379
1582
  declare const index_createStarterSession: typeof createStarterSession;
1583
+ declare const index_createUndersetNode: typeof createUndersetNode;
1380
1584
  declare const index_createUndoRedoStacks: typeof createUndoRedoStacks;
1381
1585
  declare const index_cutSelection: typeof cutSelection;
1382
1586
  declare const index_deleteBackward: typeof deleteBackward;
@@ -1390,6 +1594,8 @@ declare const index_formatDigits: typeof formatDigits;
1390
1594
  declare const index_fragmentToPlainText: typeof fragmentToPlainText;
1391
1595
  declare const index_horizontalCaretDelta: typeof horizontalCaretDelta;
1392
1596
  declare const index_injectBuTeXEditorStyles: typeof injectBuTeXEditorStyles;
1597
+ declare const index_insertAccent: typeof insertAccent;
1598
+ declare const index_insertAccentPair: typeof insertAccentPair;
1393
1599
  declare const index_insertAlignedEnv: typeof insertAlignedEnv;
1394
1600
  declare const index_insertArrayEnv: typeof insertArrayEnv;
1395
1601
  declare const index_insertAtomicCommand: typeof insertAtomicCommand;
@@ -1399,11 +1605,14 @@ declare const index_insertDelimiterPair: typeof insertDelimiterPair;
1399
1605
  declare const index_insertDivideOperator: typeof insertDivideOperator;
1400
1606
  declare const index_insertFirstDerivative: typeof insertFirstDerivative;
1401
1607
  declare const index_insertFraction: typeof insertFraction;
1608
+ declare const index_insertLimitsSeriesTemplate: typeof insertLimitsSeriesTemplate;
1402
1609
  declare const index_insertMatrixEnv: typeof insertMatrixEnv;
1403
1610
  declare const index_insertNumber: typeof insertNumber;
1404
1611
  declare const index_insertOperator: typeof insertOperator;
1612
+ declare const index_insertOverset: typeof insertOverset;
1405
1613
  declare const index_insertSecondDerivative: typeof insertSecondDerivative;
1406
1614
  declare const index_insertSqrt: typeof insertSqrt;
1615
+ declare const index_insertUnderset: typeof insertUnderset;
1407
1616
  declare const index_isSelectionActive: typeof isSelectionActive;
1408
1617
  declare const index_isSpacingCommandSpec: typeof isSpacingCommandSpec;
1409
1618
  declare const index_mirrorBuTeXOperatorsInTex: typeof mirrorBuTeXOperatorsInTex;
@@ -1448,7 +1657,7 @@ declare const index_toggleTakweenCharacterFont: typeof toggleTakweenCharacterFon
1448
1657
  declare const index_undoRedoCanRedo: typeof undoRedoCanRedo;
1449
1658
  declare const index_undoRedoCanUndo: typeof undoRedoCanUndo;
1450
1659
  declare namespace index {
1451
- 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 };
1452
1661
  }
1453
1662
 
1454
1663
  /**