@drghaliasri/butex 5.5.2 → 5.5.4
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/README.md +73 -3
- package/dist/document.d.mts +6 -5
- package/dist/document.d.ts +6 -5
- package/dist/document.js +171 -24
- package/dist/document.js.map +1 -1
- package/dist/document.mjs +170 -24
- package/dist/document.mjs.map +1 -1
- package/dist/document2.d.mts +21 -6
- package/dist/document2.d.ts +21 -6
- package/dist/document2.js +331 -51
- package/dist/document2.js.map +1 -1
- package/dist/document2.mjs +330 -51
- package/dist/document2.mjs.map +1 -1
- package/dist/index.d.mts +32 -2
- package/dist/index.d.ts +32 -2
- package/dist/index.global.js +142 -89
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +142 -89
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +142 -89
- package/dist/index.mjs.map +1 -1
- package/dist/react-document.d.mts +2 -2
- package/dist/react-document.d.ts +2 -2
- package/dist/react-document.js +113 -55
- package/dist/react-document.js.map +1 -1
- package/dist/react-document.mjs +113 -55
- package/dist/react-document.mjs.map +1 -1
- package/dist/react-document2.d.mts +19 -4
- package/dist/react-document2.d.ts +19 -4
- package/dist/react-document2.js +365 -68
- package/dist/react-document2.js.map +1 -1
- package/dist/react-document2.mjs +365 -68
- package/dist/react-document2.mjs.map +1 -1
- package/dist/react.d.mts +1 -1
- package/dist/react.d.ts +1 -1
- package/dist/react.js +99 -35
- package/dist/react.js.map +1 -1
- package/dist/react.mjs +99 -35
- package/dist/react.mjs.map +1 -1
- package/package.json +1 -1
package/dist/document2.d.mts
CHANGED
|
@@ -3,7 +3,7 @@ type EditorNodeKind = 'char' | 'number' | 'operator' | 'delimiter' | 'frac' | 's
|
|
|
3
3
|
type MatrixEnvStyle = 'matrix' | 'pmatrix' | 'bmatrix' | 'Bmatrix' | 'vmatrix' | 'Vmatrix';
|
|
4
4
|
type GridEnvName = MatrixEnvStyle | 'array' | 'aligned';
|
|
5
5
|
type EnvColumnAlignment = 'l' | 'c' | 'r';
|
|
6
|
-
type CharacterFontId = 'default' | 'takween' | 'diwani' | 'diwaniOutline';
|
|
6
|
+
type CharacterFontId = 'default' | 'takween' | 'diwani' | 'diwaniOutline' | 'maghribi';
|
|
7
7
|
type DigitFormId = 'western' | 'arabicIndic' | 'persianIndic';
|
|
8
8
|
type EditorSyncState = 'synced' | 'diverged';
|
|
9
9
|
type EditorChain = {
|
|
@@ -142,7 +142,20 @@ type MathObject2Json = {
|
|
|
142
142
|
math_mode: string;
|
|
143
143
|
lines: ChainJson[];
|
|
144
144
|
closing: string;
|
|
145
|
+
/** Side used by the delimited source stored in the containing value/cell. */
|
|
146
|
+
source_side?: Document2ParseMode;
|
|
147
|
+
/** Preserve whether LaTeX export should prefer imported AST rendering or editor source. */
|
|
148
|
+
source_owner?: 'imported-structured' | 'editor';
|
|
149
|
+
label_enabled?: boolean;
|
|
150
|
+
label?: string;
|
|
151
|
+
};
|
|
152
|
+
/** Positional metadata for a raw-only span that has no structured equation AST. */
|
|
153
|
+
type RawMathObject2Json = {
|
|
154
|
+
node_type: 'RawMathObject';
|
|
155
|
+
label_enabled?: boolean;
|
|
156
|
+
label?: string;
|
|
145
157
|
};
|
|
158
|
+
type Document2MathObjectJson = MathObject2Json | RawMathObject2Json;
|
|
146
159
|
type ReferenceFieldSeparator = ',' | '،';
|
|
147
160
|
type Reference2Json = {
|
|
148
161
|
key: string;
|
|
@@ -178,7 +191,7 @@ type Document2BlockJson = {
|
|
|
178
191
|
formats?: TextFormatSpan2Json[];
|
|
179
192
|
/** Stable host asset identity (e.g. S3 key / UUID); optional for \\includegraphics. */
|
|
180
193
|
asset_id?: string;
|
|
181
|
-
math_objects?:
|
|
194
|
+
math_objects?: Array<Document2MathObjectJson | null>;
|
|
182
195
|
options?: Record<string, string>;
|
|
183
196
|
closing?: string;
|
|
184
197
|
items?: Document2ListItemJson[];
|
|
@@ -194,7 +207,7 @@ type Document2BlockJson = {
|
|
|
194
207
|
type Document2ListItemJson = {
|
|
195
208
|
value: string;
|
|
196
209
|
formats?: TextFormatSpan2Json[];
|
|
197
|
-
math_objects?:
|
|
210
|
+
math_objects?: Array<Document2MathObjectJson | null>;
|
|
198
211
|
blocks?: Document2BlockJson[];
|
|
199
212
|
};
|
|
200
213
|
type Document2Diagnostic = {
|
|
@@ -661,7 +674,6 @@ declare function bibliographyEntryLatex(reference: Reference2): string;
|
|
|
661
674
|
*/
|
|
662
675
|
declare function absoluteHttpHref(url: string): string;
|
|
663
676
|
|
|
664
|
-
/** Arabic XeLaTeX preamble fragments for full-document export. */
|
|
665
677
|
type ArabicDigitsMapping = 'arabicdigits' | 'digits';
|
|
666
678
|
type ArabicXeLatexPreambleOptions = {
|
|
667
679
|
digitsMapping?: ArabicDigitsMapping;
|
|
@@ -688,6 +700,9 @@ type Document2LatexOptions = {
|
|
|
688
700
|
declare function inlineFieldLatex(field: InlineField2): string;
|
|
689
701
|
declare function document2Latex(document: Document2Node, options?: Document2LatexOptions): string;
|
|
690
702
|
|
|
703
|
+
/** Convert the live editor AST to the canonical JSON wire format. */
|
|
704
|
+
declare function toDocumentJson2(document: Document2Node): Document2Json;
|
|
705
|
+
|
|
691
706
|
declare const DEFAULT_DOCUMENT2_HISTORY_MAX_DEPTH = 100;
|
|
692
707
|
type Document2HistoryStacks = {
|
|
693
708
|
past: Document2Node[];
|
|
@@ -717,7 +732,7 @@ declare function toggleBlockInSelection(state: BlockSelectionState, index: numbe
|
|
|
717
732
|
declare function extendBlockSelectionFromAnchor(state: BlockSelectionState, index: number, blockCount: number): BlockSelectionState;
|
|
718
733
|
declare function remapSelectionAfterRangeMove(selection: BlockSelectionRange, direction: -1 | 1): BlockSelectionRange;
|
|
719
734
|
|
|
720
|
-
declare function createInlineField2(value?: string, mathObjects?:
|
|
735
|
+
declare function createInlineField2(value?: string, mathObjects?: Array<Document2MathObjectJson | null>, options?: ImportDocument2Options, path?: string, diagnostics?: Document2Diagnostic[], formats?: TextFormatSpan2Json[]): InlineField2;
|
|
721
736
|
declare function fromDocumentJson2(json: unknown, options?: ImportDocument2Options): Document2Node;
|
|
722
737
|
declare function createEmptyDocument2(): Document2Node;
|
|
723
738
|
|
|
@@ -750,4 +765,4 @@ type Document2PreviewOptions = {
|
|
|
750
765
|
};
|
|
751
766
|
declare function document2Preview(document: Document2Node, output?: Document2MathOutput, equationSide?: EditorSide, previewOptions?: Document2PreviewOptions): Document2Preview;
|
|
752
767
|
|
|
753
|
-
export { type ArabicDigitsMapping, type ArabicXeLatexPreambleOptions, BUTEX_BASMALA, BUTEX_BASMALA_LINE1, BUTEX_BASMALA_LINE2, BUTEX_BASMALA_SALAWAT, BUTEX_CLOSING_HAMDALA, type BibliographyBlock2, type BlockSelectionRange, type BlockSelectionState, type CiteToken2, DEFAULT_DOCUMENT2_HISTORY_MAX_DEPTH, DEFAULT_HIJRI_DATE, DEFAULT_REFERENCE_FIELD_SEPARATOR, type Document2Block, type Document2BlockJson, type Document2Diagnostic, type Document2Direction, type Document2HijriDate, type Document2HistoryStacks, type Document2Json, type Document2KeyError, type Document2KeyNamespace, type Document2LabelEntry, type Document2LabelKind, type Document2LatexOptions, type Document2MathOutput, type Document2Meta, type Document2MetaProp, type Document2Node, type Document2Preview, type Document2PreviewOptions, type FloatMeta2, type FloatMetaPatch, type FormatCiteLabelOptions, type FormatFloatCaptionTitleOptions, HIJRI_MONTH_IDS, HIJRI_YEAR_MAX, HIJRI_YEAR_MIN, type HijriMonthId, type ImageBlock2, type ImportDocument2Options, type InlineField2, type InlineToken2, type ListBlock2, type MathIsland2, type MathObject2Json, type MathToken2, type PreviewBlock2, type PreviewInline2, type RawBlock2, type RefToken2, type Reference2, type Reference2Json, type ReferenceFieldSeparator, type TableBlock2, type TextBlock2, type TextFormatSpan2Json, type TextStyle2, type TextToken2, absoluteHttpHref, addDocument2ImageBlock, addDocument2ListBlock, addDocument2ListItem, addDocument2Reference, addDocument2TableBlock, addDocument2TextBlock, applyFloatMetaPatch, arabicXeLatexPreambleCmd, arabicXeLatexPreambleFont, arabicXeLatexPreamblePkg, bibliographyEntryBody, bibliographyEntryLatex, butexBasmalaDisplayLatex, butexBasmalaDisplayTex, butexBasmalaTitlingPreamble, butexDiwaniDisplayLatex, butexDiwaniDisplayTex, butexInColumnMaketitleHook, citeTokenLatex, cloneDocument2Meta, cloneDocument2Node, collectDocument2Labels, createDocument2History, createEmptyArabicEquationSession, createEmptyDocument2, createEmptyEquationSession, createEmptyReference2, createInlineField2, defaultFloatMeta, detectInlineSpans2, detectMathSpans2, document2HasAbstract, document2HasMaketitle, document2HasTitleStack, document2HistoryCanRedo, document2HistoryCanUndo, document2KeyError, document2Latex, document2Preview, emptyBlockSelection, emptyDocument2Meta, ensureDocument2BibliographyBlock, extendBlockSelectionFromAnchor, fillDocument2MetaGaps, findFirstInlineField, formatBibliographyNumber, formatCiteLabel, formatFloatCaptionPreview, formatFloatCaptionTitle, formatHijriDate, formatRefLabel, fromDocumentJson2, getArabicXeLatexPreamble, hijriMonthLabel, inlineFieldLatex, insertCiteTokenAtCaret, insertDocument2BlockAfter, insertMathToken, insertMathTokenAtCaret, insertRefTokenAtCaret, isDuplicateDocument2Key, isValidDocument2Key, labelNumberMap, mathNodeFromArabicSession, mathNodeFromSession, mathSourceFromArabicSession, mathSourceFromSession, mathTokenSourceForSide, mathTokenToArabicEditorSession, mathTokenToEditorSession, mergeDocument2Meta, moveDocument2BlockById, moveDocument2BlockRange, moveDocument2Reference, normalizeBlockSelection, normalizeDocument2HijriDate, normalizeDocument2Key, normalizeDocument2Meta, normalizeReferenceFieldSeparator, parseCiteKeys, parseFloatMetaFromJson, parseRefKeys, pushDocument2Snapshot, refTokenLatex, referenceFromJson, referenceNumberMap, remapSelectionAfterRangeMove, removeCiteTokenById, removeDocument2BlockById, removeDocument2BlockRange, removeDocument2ListItem, removeDocument2Reference, removeMathTokenById, removeRefTokenById, replaceMathTokenFromSession, resolveCiteNumbers, restoreDocument2Redo, restoreDocument2Undo, setDocument2References, stripDisplayMathDelimiters, toggleBlockInSelection, toggleTextTokenStyle, updateCiteTokenKeys, updateDocument2ImageMeta, updateDocument2ImageValue, updateDocument2Meta, updateDocument2Reference, updateDocument2TableMeta, updateDocument2TextBlockCentered, updateMathTokenLabel, updateRefTokenKeys, updateTextToken };
|
|
768
|
+
export { type ArabicDigitsMapping, type ArabicXeLatexPreambleOptions, BUTEX_BASMALA, BUTEX_BASMALA_LINE1, BUTEX_BASMALA_LINE2, BUTEX_BASMALA_SALAWAT, BUTEX_CLOSING_HAMDALA, type BibliographyBlock2, type BlockSelectionRange, type BlockSelectionState, type CiteToken2, DEFAULT_DOCUMENT2_HISTORY_MAX_DEPTH, DEFAULT_HIJRI_DATE, DEFAULT_REFERENCE_FIELD_SEPARATOR, type Document2Block, type Document2BlockJson, type Document2Diagnostic, type Document2Direction, type Document2HijriDate, type Document2HistoryStacks, type Document2Json, type Document2KeyError, type Document2KeyNamespace, type Document2LabelEntry, type Document2LabelKind, type Document2LatexOptions, type Document2MathObjectJson, type Document2MathOutput, type Document2Meta, type Document2MetaProp, type Document2Node, type Document2Preview, type Document2PreviewOptions, type FloatMeta2, type FloatMetaPatch, type FormatCiteLabelOptions, type FormatFloatCaptionTitleOptions, HIJRI_MONTH_IDS, HIJRI_YEAR_MAX, HIJRI_YEAR_MIN, type HijriMonthId, type ImageBlock2, type ImportDocument2Options, type InlineField2, type InlineToken2, type ListBlock2, type MathIsland2, type MathObject2Json, type MathToken2, type PreviewBlock2, type PreviewInline2, type RawBlock2, type RawMathObject2Json, type RefToken2, type Reference2, type Reference2Json, type ReferenceFieldSeparator, type TableBlock2, type TextBlock2, type TextFormatSpan2Json, type TextStyle2, type TextToken2, absoluteHttpHref, addDocument2ImageBlock, addDocument2ListBlock, addDocument2ListItem, addDocument2Reference, addDocument2TableBlock, addDocument2TextBlock, applyFloatMetaPatch, arabicXeLatexPreambleCmd, arabicXeLatexPreambleFont, arabicXeLatexPreamblePkg, bibliographyEntryBody, bibliographyEntryLatex, butexBasmalaDisplayLatex, butexBasmalaDisplayTex, butexBasmalaTitlingPreamble, butexDiwaniDisplayLatex, butexDiwaniDisplayTex, butexInColumnMaketitleHook, citeTokenLatex, cloneDocument2Meta, cloneDocument2Node, collectDocument2Labels, createDocument2History, createEmptyArabicEquationSession, createEmptyDocument2, createEmptyEquationSession, createEmptyReference2, createInlineField2, defaultFloatMeta, detectInlineSpans2, detectMathSpans2, document2HasAbstract, document2HasMaketitle, document2HasTitleStack, document2HistoryCanRedo, document2HistoryCanUndo, document2KeyError, document2Latex, document2Preview, emptyBlockSelection, emptyDocument2Meta, ensureDocument2BibliographyBlock, extendBlockSelectionFromAnchor, fillDocument2MetaGaps, findFirstInlineField, formatBibliographyNumber, formatCiteLabel, formatFloatCaptionPreview, formatFloatCaptionTitle, formatHijriDate, formatRefLabel, fromDocumentJson2, getArabicXeLatexPreamble, hijriMonthLabel, inlineFieldLatex, insertCiteTokenAtCaret, insertDocument2BlockAfter, insertMathToken, insertMathTokenAtCaret, insertRefTokenAtCaret, isDuplicateDocument2Key, isValidDocument2Key, labelNumberMap, mathNodeFromArabicSession, mathNodeFromSession, mathSourceFromArabicSession, mathSourceFromSession, mathTokenSourceForSide, mathTokenToArabicEditorSession, mathTokenToEditorSession, mergeDocument2Meta, moveDocument2BlockById, moveDocument2BlockRange, moveDocument2Reference, normalizeBlockSelection, normalizeDocument2HijriDate, normalizeDocument2Key, normalizeDocument2Meta, normalizeReferenceFieldSeparator, parseCiteKeys, parseFloatMetaFromJson, parseRefKeys, pushDocument2Snapshot, refTokenLatex, referenceFromJson, referenceNumberMap, remapSelectionAfterRangeMove, removeCiteTokenById, removeDocument2BlockById, removeDocument2BlockRange, removeDocument2ListItem, removeDocument2Reference, removeMathTokenById, removeRefTokenById, replaceMathTokenFromSession, resolveCiteNumbers, restoreDocument2Redo, restoreDocument2Undo, setDocument2References, stripDisplayMathDelimiters, toDocumentJson2, toggleBlockInSelection, toggleTextTokenStyle, updateCiteTokenKeys, updateDocument2ImageMeta, updateDocument2ImageValue, updateDocument2Meta, updateDocument2Reference, updateDocument2TableMeta, updateDocument2TextBlockCentered, updateMathTokenLabel, updateRefTokenKeys, updateTextToken };
|
package/dist/document2.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ type EditorNodeKind = 'char' | 'number' | 'operator' | 'delimiter' | 'frac' | 's
|
|
|
3
3
|
type MatrixEnvStyle = 'matrix' | 'pmatrix' | 'bmatrix' | 'Bmatrix' | 'vmatrix' | 'Vmatrix';
|
|
4
4
|
type GridEnvName = MatrixEnvStyle | 'array' | 'aligned';
|
|
5
5
|
type EnvColumnAlignment = 'l' | 'c' | 'r';
|
|
6
|
-
type CharacterFontId = 'default' | 'takween' | 'diwani' | 'diwaniOutline';
|
|
6
|
+
type CharacterFontId = 'default' | 'takween' | 'diwani' | 'diwaniOutline' | 'maghribi';
|
|
7
7
|
type DigitFormId = 'western' | 'arabicIndic' | 'persianIndic';
|
|
8
8
|
type EditorSyncState = 'synced' | 'diverged';
|
|
9
9
|
type EditorChain = {
|
|
@@ -142,7 +142,20 @@ type MathObject2Json = {
|
|
|
142
142
|
math_mode: string;
|
|
143
143
|
lines: ChainJson[];
|
|
144
144
|
closing: string;
|
|
145
|
+
/** Side used by the delimited source stored in the containing value/cell. */
|
|
146
|
+
source_side?: Document2ParseMode;
|
|
147
|
+
/** Preserve whether LaTeX export should prefer imported AST rendering or editor source. */
|
|
148
|
+
source_owner?: 'imported-structured' | 'editor';
|
|
149
|
+
label_enabled?: boolean;
|
|
150
|
+
label?: string;
|
|
151
|
+
};
|
|
152
|
+
/** Positional metadata for a raw-only span that has no structured equation AST. */
|
|
153
|
+
type RawMathObject2Json = {
|
|
154
|
+
node_type: 'RawMathObject';
|
|
155
|
+
label_enabled?: boolean;
|
|
156
|
+
label?: string;
|
|
145
157
|
};
|
|
158
|
+
type Document2MathObjectJson = MathObject2Json | RawMathObject2Json;
|
|
146
159
|
type ReferenceFieldSeparator = ',' | '،';
|
|
147
160
|
type Reference2Json = {
|
|
148
161
|
key: string;
|
|
@@ -178,7 +191,7 @@ type Document2BlockJson = {
|
|
|
178
191
|
formats?: TextFormatSpan2Json[];
|
|
179
192
|
/** Stable host asset identity (e.g. S3 key / UUID); optional for \\includegraphics. */
|
|
180
193
|
asset_id?: string;
|
|
181
|
-
math_objects?:
|
|
194
|
+
math_objects?: Array<Document2MathObjectJson | null>;
|
|
182
195
|
options?: Record<string, string>;
|
|
183
196
|
closing?: string;
|
|
184
197
|
items?: Document2ListItemJson[];
|
|
@@ -194,7 +207,7 @@ type Document2BlockJson = {
|
|
|
194
207
|
type Document2ListItemJson = {
|
|
195
208
|
value: string;
|
|
196
209
|
formats?: TextFormatSpan2Json[];
|
|
197
|
-
math_objects?:
|
|
210
|
+
math_objects?: Array<Document2MathObjectJson | null>;
|
|
198
211
|
blocks?: Document2BlockJson[];
|
|
199
212
|
};
|
|
200
213
|
type Document2Diagnostic = {
|
|
@@ -661,7 +674,6 @@ declare function bibliographyEntryLatex(reference: Reference2): string;
|
|
|
661
674
|
*/
|
|
662
675
|
declare function absoluteHttpHref(url: string): string;
|
|
663
676
|
|
|
664
|
-
/** Arabic XeLaTeX preamble fragments for full-document export. */
|
|
665
677
|
type ArabicDigitsMapping = 'arabicdigits' | 'digits';
|
|
666
678
|
type ArabicXeLatexPreambleOptions = {
|
|
667
679
|
digitsMapping?: ArabicDigitsMapping;
|
|
@@ -688,6 +700,9 @@ type Document2LatexOptions = {
|
|
|
688
700
|
declare function inlineFieldLatex(field: InlineField2): string;
|
|
689
701
|
declare function document2Latex(document: Document2Node, options?: Document2LatexOptions): string;
|
|
690
702
|
|
|
703
|
+
/** Convert the live editor AST to the canonical JSON wire format. */
|
|
704
|
+
declare function toDocumentJson2(document: Document2Node): Document2Json;
|
|
705
|
+
|
|
691
706
|
declare const DEFAULT_DOCUMENT2_HISTORY_MAX_DEPTH = 100;
|
|
692
707
|
type Document2HistoryStacks = {
|
|
693
708
|
past: Document2Node[];
|
|
@@ -717,7 +732,7 @@ declare function toggleBlockInSelection(state: BlockSelectionState, index: numbe
|
|
|
717
732
|
declare function extendBlockSelectionFromAnchor(state: BlockSelectionState, index: number, blockCount: number): BlockSelectionState;
|
|
718
733
|
declare function remapSelectionAfterRangeMove(selection: BlockSelectionRange, direction: -1 | 1): BlockSelectionRange;
|
|
719
734
|
|
|
720
|
-
declare function createInlineField2(value?: string, mathObjects?:
|
|
735
|
+
declare function createInlineField2(value?: string, mathObjects?: Array<Document2MathObjectJson | null>, options?: ImportDocument2Options, path?: string, diagnostics?: Document2Diagnostic[], formats?: TextFormatSpan2Json[]): InlineField2;
|
|
721
736
|
declare function fromDocumentJson2(json: unknown, options?: ImportDocument2Options): Document2Node;
|
|
722
737
|
declare function createEmptyDocument2(): Document2Node;
|
|
723
738
|
|
|
@@ -750,4 +765,4 @@ type Document2PreviewOptions = {
|
|
|
750
765
|
};
|
|
751
766
|
declare function document2Preview(document: Document2Node, output?: Document2MathOutput, equationSide?: EditorSide, previewOptions?: Document2PreviewOptions): Document2Preview;
|
|
752
767
|
|
|
753
|
-
export { type ArabicDigitsMapping, type ArabicXeLatexPreambleOptions, BUTEX_BASMALA, BUTEX_BASMALA_LINE1, BUTEX_BASMALA_LINE2, BUTEX_BASMALA_SALAWAT, BUTEX_CLOSING_HAMDALA, type BibliographyBlock2, type BlockSelectionRange, type BlockSelectionState, type CiteToken2, DEFAULT_DOCUMENT2_HISTORY_MAX_DEPTH, DEFAULT_HIJRI_DATE, DEFAULT_REFERENCE_FIELD_SEPARATOR, type Document2Block, type Document2BlockJson, type Document2Diagnostic, type Document2Direction, type Document2HijriDate, type Document2HistoryStacks, type Document2Json, type Document2KeyError, type Document2KeyNamespace, type Document2LabelEntry, type Document2LabelKind, type Document2LatexOptions, type Document2MathOutput, type Document2Meta, type Document2MetaProp, type Document2Node, type Document2Preview, type Document2PreviewOptions, type FloatMeta2, type FloatMetaPatch, type FormatCiteLabelOptions, type FormatFloatCaptionTitleOptions, HIJRI_MONTH_IDS, HIJRI_YEAR_MAX, HIJRI_YEAR_MIN, type HijriMonthId, type ImageBlock2, type ImportDocument2Options, type InlineField2, type InlineToken2, type ListBlock2, type MathIsland2, type MathObject2Json, type MathToken2, type PreviewBlock2, type PreviewInline2, type RawBlock2, type RefToken2, type Reference2, type Reference2Json, type ReferenceFieldSeparator, type TableBlock2, type TextBlock2, type TextFormatSpan2Json, type TextStyle2, type TextToken2, absoluteHttpHref, addDocument2ImageBlock, addDocument2ListBlock, addDocument2ListItem, addDocument2Reference, addDocument2TableBlock, addDocument2TextBlock, applyFloatMetaPatch, arabicXeLatexPreambleCmd, arabicXeLatexPreambleFont, arabicXeLatexPreamblePkg, bibliographyEntryBody, bibliographyEntryLatex, butexBasmalaDisplayLatex, butexBasmalaDisplayTex, butexBasmalaTitlingPreamble, butexDiwaniDisplayLatex, butexDiwaniDisplayTex, butexInColumnMaketitleHook, citeTokenLatex, cloneDocument2Meta, cloneDocument2Node, collectDocument2Labels, createDocument2History, createEmptyArabicEquationSession, createEmptyDocument2, createEmptyEquationSession, createEmptyReference2, createInlineField2, defaultFloatMeta, detectInlineSpans2, detectMathSpans2, document2HasAbstract, document2HasMaketitle, document2HasTitleStack, document2HistoryCanRedo, document2HistoryCanUndo, document2KeyError, document2Latex, document2Preview, emptyBlockSelection, emptyDocument2Meta, ensureDocument2BibliographyBlock, extendBlockSelectionFromAnchor, fillDocument2MetaGaps, findFirstInlineField, formatBibliographyNumber, formatCiteLabel, formatFloatCaptionPreview, formatFloatCaptionTitle, formatHijriDate, formatRefLabel, fromDocumentJson2, getArabicXeLatexPreamble, hijriMonthLabel, inlineFieldLatex, insertCiteTokenAtCaret, insertDocument2BlockAfter, insertMathToken, insertMathTokenAtCaret, insertRefTokenAtCaret, isDuplicateDocument2Key, isValidDocument2Key, labelNumberMap, mathNodeFromArabicSession, mathNodeFromSession, mathSourceFromArabicSession, mathSourceFromSession, mathTokenSourceForSide, mathTokenToArabicEditorSession, mathTokenToEditorSession, mergeDocument2Meta, moveDocument2BlockById, moveDocument2BlockRange, moveDocument2Reference, normalizeBlockSelection, normalizeDocument2HijriDate, normalizeDocument2Key, normalizeDocument2Meta, normalizeReferenceFieldSeparator, parseCiteKeys, parseFloatMetaFromJson, parseRefKeys, pushDocument2Snapshot, refTokenLatex, referenceFromJson, referenceNumberMap, remapSelectionAfterRangeMove, removeCiteTokenById, removeDocument2BlockById, removeDocument2BlockRange, removeDocument2ListItem, removeDocument2Reference, removeMathTokenById, removeRefTokenById, replaceMathTokenFromSession, resolveCiteNumbers, restoreDocument2Redo, restoreDocument2Undo, setDocument2References, stripDisplayMathDelimiters, toggleBlockInSelection, toggleTextTokenStyle, updateCiteTokenKeys, updateDocument2ImageMeta, updateDocument2ImageValue, updateDocument2Meta, updateDocument2Reference, updateDocument2TableMeta, updateDocument2TextBlockCentered, updateMathTokenLabel, updateRefTokenKeys, updateTextToken };
|
|
768
|
+
export { type ArabicDigitsMapping, type ArabicXeLatexPreambleOptions, BUTEX_BASMALA, BUTEX_BASMALA_LINE1, BUTEX_BASMALA_LINE2, BUTEX_BASMALA_SALAWAT, BUTEX_CLOSING_HAMDALA, type BibliographyBlock2, type BlockSelectionRange, type BlockSelectionState, type CiteToken2, DEFAULT_DOCUMENT2_HISTORY_MAX_DEPTH, DEFAULT_HIJRI_DATE, DEFAULT_REFERENCE_FIELD_SEPARATOR, type Document2Block, type Document2BlockJson, type Document2Diagnostic, type Document2Direction, type Document2HijriDate, type Document2HistoryStacks, type Document2Json, type Document2KeyError, type Document2KeyNamespace, type Document2LabelEntry, type Document2LabelKind, type Document2LatexOptions, type Document2MathObjectJson, type Document2MathOutput, type Document2Meta, type Document2MetaProp, type Document2Node, type Document2Preview, type Document2PreviewOptions, type FloatMeta2, type FloatMetaPatch, type FormatCiteLabelOptions, type FormatFloatCaptionTitleOptions, HIJRI_MONTH_IDS, HIJRI_YEAR_MAX, HIJRI_YEAR_MIN, type HijriMonthId, type ImageBlock2, type ImportDocument2Options, type InlineField2, type InlineToken2, type ListBlock2, type MathIsland2, type MathObject2Json, type MathToken2, type PreviewBlock2, type PreviewInline2, type RawBlock2, type RawMathObject2Json, type RefToken2, type Reference2, type Reference2Json, type ReferenceFieldSeparator, type TableBlock2, type TextBlock2, type TextFormatSpan2Json, type TextStyle2, type TextToken2, absoluteHttpHref, addDocument2ImageBlock, addDocument2ListBlock, addDocument2ListItem, addDocument2Reference, addDocument2TableBlock, addDocument2TextBlock, applyFloatMetaPatch, arabicXeLatexPreambleCmd, arabicXeLatexPreambleFont, arabicXeLatexPreamblePkg, bibliographyEntryBody, bibliographyEntryLatex, butexBasmalaDisplayLatex, butexBasmalaDisplayTex, butexBasmalaTitlingPreamble, butexDiwaniDisplayLatex, butexDiwaniDisplayTex, butexInColumnMaketitleHook, citeTokenLatex, cloneDocument2Meta, cloneDocument2Node, collectDocument2Labels, createDocument2History, createEmptyArabicEquationSession, createEmptyDocument2, createEmptyEquationSession, createEmptyReference2, createInlineField2, defaultFloatMeta, detectInlineSpans2, detectMathSpans2, document2HasAbstract, document2HasMaketitle, document2HasTitleStack, document2HistoryCanRedo, document2HistoryCanUndo, document2KeyError, document2Latex, document2Preview, emptyBlockSelection, emptyDocument2Meta, ensureDocument2BibliographyBlock, extendBlockSelectionFromAnchor, fillDocument2MetaGaps, findFirstInlineField, formatBibliographyNumber, formatCiteLabel, formatFloatCaptionPreview, formatFloatCaptionTitle, formatHijriDate, formatRefLabel, fromDocumentJson2, getArabicXeLatexPreamble, hijriMonthLabel, inlineFieldLatex, insertCiteTokenAtCaret, insertDocument2BlockAfter, insertMathToken, insertMathTokenAtCaret, insertRefTokenAtCaret, isDuplicateDocument2Key, isValidDocument2Key, labelNumberMap, mathNodeFromArabicSession, mathNodeFromSession, mathSourceFromArabicSession, mathSourceFromSession, mathTokenSourceForSide, mathTokenToArabicEditorSession, mathTokenToEditorSession, mergeDocument2Meta, moveDocument2BlockById, moveDocument2BlockRange, moveDocument2Reference, normalizeBlockSelection, normalizeDocument2HijriDate, normalizeDocument2Key, normalizeDocument2Meta, normalizeReferenceFieldSeparator, parseCiteKeys, parseFloatMetaFromJson, parseRefKeys, pushDocument2Snapshot, refTokenLatex, referenceFromJson, referenceNumberMap, remapSelectionAfterRangeMove, removeCiteTokenById, removeDocument2BlockById, removeDocument2BlockRange, removeDocument2ListItem, removeDocument2Reference, removeMathTokenById, removeRefTokenById, replaceMathTokenFromSession, resolveCiteNumbers, restoreDocument2Redo, restoreDocument2Undo, setDocument2References, stripDisplayMathDelimiters, toDocumentJson2, toggleBlockInSelection, toggleTextTokenStyle, updateCiteTokenKeys, updateDocument2ImageMeta, updateDocument2ImageValue, updateDocument2Meta, updateDocument2Reference, updateDocument2TableMeta, updateDocument2TextBlockCentered, updateMathTokenLabel, updateRefTokenKeys, updateTextToken };
|