@harbour-enterprises/superdoc 0.30.0-next.2 → 0.30.0-next.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/dist/chunks/{PdfViewer-B_U27-1K.es.js → PdfViewer-DyeZP8Nl.es.js} +2 -2
- package/dist/chunks/{PdfViewer-DjMr1y41.cjs → PdfViewer-Sfmu-cdb.cjs} +2 -2
- package/dist/chunks/{eventemitter3-BvTILlBo.cjs → eventemitter3-DmHNHvFX.cjs} +1 -1
- package/dist/chunks/{eventemitter3-D4gv5QOO.es.js → eventemitter3-hYlnBzSA.es.js} +1 -1
- package/dist/chunks/{index-D8F3d1e3.es.js → index-BHHC2mqV.es.js} +6 -6
- package/dist/chunks/{index-uO0JG1KW.cjs → index-BuNsREKD.cjs} +6 -6
- package/dist/chunks/{index-BJia6SL_-D6cjpcdW.es.js → index-D6-7DIFN-BWm3AMeg.es.js} +1 -1
- package/dist/chunks/{index-BJia6SL_-O9_RiF6K.cjs → index-D6-7DIFN-Dhy8SBt-.cjs} +1 -1
- package/dist/chunks/{jszip-B0BPx_cv.cjs → jszip-BP2FTbpi.cjs} +7 -7
- package/dist/chunks/{jszip-Bhl-Iudl.es.js → jszip-jKrsZoMS.es.js} +7 -7
- package/dist/chunks/{super-editor.es-BjEfFiAF.es.js → super-editor.es-Dg85Z65T.es.js} +14326 -15436
- package/dist/chunks/{super-editor.es-C0Cv2AzF.cjs → super-editor.es-c6saBc8S.cjs} +14326 -15436
- package/dist/chunks/{vue-D1vcEBAQ.es.js → vue-CKmzTNVs.es.js} +2 -2
- package/dist/chunks/{vue-BQxRC6G7.cjs → vue-Cwv-wUpm.cjs} +2 -2
- package/dist/chunks/xml-js-BSDu25I7.cjs +3 -0
- package/dist/chunks/xml-js-CBrRls0f.es.js +2 -0
- package/dist/packages/superdoc/src/core/SuperDoc.d.ts.map +1 -1
- package/dist/packages/superdoc/src/core/types/index.d.ts.map +1 -1
- package/dist/style.css +0 -22
- package/dist/super-editor/ai-writer.es.js +2 -2
- package/dist/super-editor/chunks/{converter-DxPmeV-v.js → converter-OJmgERLD.js} +12475 -12504
- package/dist/super-editor/chunks/{docx-zipper-BnnW7IuB.js → docx-zipper-DmTCMGub.js} +2 -2
- package/dist/super-editor/chunks/{editor-B2jkX1wz.js → editor-BV5Ao3FS.js} +1436 -2503
- package/dist/super-editor/chunks/{index-BJia6SL_.js → index-D6-7DIFN.js} +1 -1
- package/dist/super-editor/chunks/{toolbar-DFlHgpZd.js → toolbar-s_KEL20H.js} +2 -2
- package/dist/super-editor/converter.es.js +2 -2
- package/dist/super-editor/docx-zipper.es.js +2 -2
- package/dist/super-editor/editor.es.js +3 -3
- package/dist/super-editor/file-zipper.es.js +1 -1
- package/dist/super-editor/style.css +0 -22
- package/dist/super-editor/super-editor/src/components/slash-menu/utils.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/components/toolbar/super-toolbar.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/ExtensionService.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/InputRule.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/commands/__tests__/schemaWithLists.d.ts +1 -1
- package/dist/super-editor/super-editor/src/core/commands/changeListLevel.d.ts +15 -0
- package/dist/super-editor/super-editor/src/core/commands/changeListLevel.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/commands/decreaseListIndent.d.ts +1 -1
- package/dist/super-editor/super-editor/src/core/commands/decreaseListIndent.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/commands/increaseListIndent.d.ts +2 -1
- package/dist/super-editor/super-editor/src/core/commands/increaseListIndent.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/commands/index.d.ts +2 -7
- package/dist/super-editor/super-editor/src/core/commands/list-helpers/is-list.d.ts +1 -1
- package/dist/super-editor/super-editor/src/core/commands/list-helpers/is-list.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/commands/list-helpers/list-indent-helpers.d.ts +0 -1
- package/dist/super-editor/super-editor/src/core/commands/list-helpers/list-indent-helpers.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/commands/removeNumberingProperties.d.ts +4 -0
- package/dist/super-editor/super-editor/src/core/commands/removeNumberingProperties.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/commands/restartNumbering.d.ts +7 -0
- package/dist/super-editor/super-editor/src/core/commands/restartNumbering.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/core/commands/splitBlock.d.ts +2 -1
- package/dist/super-editor/super-editor/src/core/commands/splitBlock.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/commands/tests/test-schema.d.ts +1 -1
- package/dist/super-editor/super-editor/src/core/commands/toggleList.d.ts +6 -56
- package/dist/super-editor/super-editor/src/core/commands/toggleList.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/extensions/keymap.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/helpers/contentProcessor.d.ts +3 -3
- package/dist/super-editor/super-editor/src/core/helpers/createNodeFromContent.d.ts +2 -2
- package/dist/super-editor/super-editor/src/core/helpers/createNodeFromContent.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/helpers/importHtml.d.ts +2 -2
- package/dist/super-editor/super-editor/src/core/helpers/importHtml.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/helpers/importMarkdown.d.ts +2 -2
- package/dist/super-editor/super-editor/src/core/helpers/list-numbering-helpers.d.ts +15 -42
- package/dist/super-editor/super-editor/src/core/helpers/list-numbering-helpers.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/helpers/pasteListHelpers.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/helpers/pasteListHelpers.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/inputRules/docx-paste/docx-paste.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/inputRules/html/html-helpers.d.ts +2 -5
- package/dist/super-editor/super-editor/src/core/inputRules/html/html-helpers.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/SuperConverter.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/exporter.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/helpers.d.ts +2 -0
- package/dist/super-editor/super-editor/src/core/super-converter/helpers.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/styles.d.ts +6 -4
- package/dist/super-editor/super-editor/src/core/super-converter/styles.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/docxImporter.d.ts +2 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/docxImporter.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/listImporter.d.ts +0 -97
- package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/listImporter.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/p/helpers/legacy-handle-paragraph-node.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/field-annotation/cleanup-commands/cleanUpListsWithAnnotations.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/field-annotation/cleanup-commands/index.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/index.d.ts +1 -4
- package/dist/super-editor/super-editor/src/extensions/index.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/linked-styles/helpers.d.ts +1 -1
- package/dist/super-editor/super-editor/src/extensions/linked-styles/helpers.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/paragraph/NumberingManager.d.ts +30 -0
- package/dist/super-editor/super-editor/src/extensions/paragraph/NumberingManager.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/extensions/paragraph/ParagraphNodeView.d.ts +37 -0
- package/dist/super-editor/super-editor/src/extensions/paragraph/ParagraphNodeView.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/extensions/paragraph/numberingPlugin.d.ts +9 -0
- package/dist/super-editor/super-editor/src/extensions/paragraph/numberingPlugin.d.ts.map +1 -0
- package/dist/super-editor/super-editor/src/extensions/paragraph/paragraph.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/run/commands/split-run.d.ts +1 -0
- package/dist/super-editor/super-editor/src/extensions/run/commands/split-run.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/tab/helpers/tabDecorations.d.ts +13 -2
- package/dist/super-editor/super-editor/src/extensions/tab/helpers/tabDecorations.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/text-style/text-style.d.ts.map +1 -1
- package/dist/super-editor/super-editor/src/extensions/track-changes/permission-helpers.d.ts.map +1 -1
- package/dist/super-editor/super-editor.es.js +75 -40
- package/dist/super-editor/toolbar.es.js +2 -2
- package/dist/super-editor.cjs +2 -2
- package/dist/super-editor.es.js +2 -2
- package/dist/superdoc.cjs +2 -2
- package/dist/superdoc.es.js +2 -2
- package/dist/superdoc.umd.js +14098 -15208
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunks/xml-js-cO2Q8Wfu.cjs +0 -3
- package/dist/chunks/xml-js-jMPlIVKT.es.js +0 -2
- package/dist/images/altText_add.svg +0 -3
- package/dist/images/altText_disclaimer.svg +0 -3
- package/dist/images/altText_done.svg +0 -3
- package/dist/images/altText_spinner.svg +0 -30
- package/dist/images/altText_warning.svg +0 -3
- package/dist/images/annotation-check.svg +0 -11
- package/dist/images/annotation-comment.svg +0 -16
- package/dist/images/annotation-help.svg +0 -26
- package/dist/images/annotation-insert.svg +0 -10
- package/dist/images/annotation-key.svg +0 -11
- package/dist/images/annotation-newparagraph.svg +0 -11
- package/dist/images/annotation-noicon.svg +0 -7
- package/dist/images/annotation-note.svg +0 -42
- package/dist/images/annotation-paperclip.svg +0 -6
- package/dist/images/annotation-paragraph.svg +0 -16
- package/dist/images/annotation-pushpin.svg +0 -7
- package/dist/images/cursor-editorFreeHighlight.svg +0 -6
- package/dist/images/cursor-editorFreeText.svg +0 -3
- package/dist/images/cursor-editorInk.svg +0 -4
- package/dist/images/cursor-editorTextHighlight.svg +0 -8
- package/dist/images/editor-toolbar-delete.svg +0 -5
- package/dist/images/loading-icon.gif +0 -0
- package/dist/images/messageBar_closingButton.svg +0 -3
- package/dist/images/messageBar_warning.svg +0 -3
- package/dist/images/toolbarButton-editorHighlight.svg +0 -6
- package/dist/images/toolbarButton-menuArrow.svg +0 -3
- package/dist/super-editor/super-editor/src/core/commands/backspaceNextToList.d.ts +0 -6
- package/dist/super-editor/super-editor/src/core/commands/backspaceNextToList.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/commands/deleteListItem.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/commands/deleteListItem.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/commands/deleteNextToList.d.ts +0 -15
- package/dist/super-editor/super-editor/src/core/commands/deleteNextToList.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/commands/liftListItem.d.ts +0 -5
- package/dist/super-editor/super-editor/src/core/commands/liftListItem.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/commands/sinkListItem.d.ts +0 -5
- package/dist/super-editor/super-editor/src/core/commands/sinkListItem.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/commands/splitListItem.d.ts +0 -2
- package/dist/super-editor/super-editor/src/core/commands/splitListItem.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/core/commands/wrapInList.d.ts +0 -5
- package/dist/super-editor/super-editor/src/core/commands/wrapInList.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/extensions/bullet-list/bullet-list.d.ts +0 -15
- package/dist/super-editor/super-editor/src/extensions/bullet-list/bullet-list.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/extensions/bullet-list/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/extensions/bullet-list/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/extensions/list-item/ListItemNodeView.d.ts +0 -43
- package/dist/super-editor/super-editor/src/extensions/list-item/ListItemNodeView.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/extensions/list-item/helpers/listItemTypography.d.ts +0 -68
- package/dist/super-editor/super-editor/src/extensions/list-item/helpers/listItemTypography.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/extensions/list-item/helpers/styledListMarkerPlugin.d.ts +0 -13
- package/dist/super-editor/super-editor/src/extensions/list-item/helpers/styledListMarkerPlugin.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/extensions/list-item/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/extensions/list-item/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/extensions/list-item/list-item.d.ts +0 -51
- package/dist/super-editor/super-editor/src/extensions/list-item/list-item.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/extensions/ordered-list/helpers/orderedListMarkerPlugin.d.ts +0 -3
- package/dist/super-editor/super-editor/src/extensions/ordered-list/helpers/orderedListMarkerPlugin.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/extensions/ordered-list/helpers/orderedListSyncPlugin.d.ts +0 -6
- package/dist/super-editor/super-editor/src/extensions/ordered-list/helpers/orderedListSyncPlugin.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/extensions/ordered-list/index.d.ts +0 -2
- package/dist/super-editor/super-editor/src/extensions/ordered-list/index.d.ts.map +0 -1
- package/dist/super-editor/super-editor/src/extensions/ordered-list/ordered-list.d.ts +0 -38
- package/dist/super-editor/super-editor/src/extensions/ordered-list/ordered-list.d.ts.map +0 -1
|
@@ -3,22 +3,24 @@
|
|
|
3
3
|
* @param {import('@translator').SCEncoderConfig} params
|
|
4
4
|
* @param {Object} inlineProps - The inline paragraph properties.
|
|
5
5
|
* @param {boolean} [insideTable=false] - Whether the paragraph is inside a table.
|
|
6
|
+
* @param {boolean} [overrideInlineStyleId=false] - Whether to override the inline style ID with the one from numbering.
|
|
6
7
|
* @returns {Object} The resolved paragraph properties.
|
|
7
8
|
*/
|
|
8
|
-
export function resolveParagraphProperties(params: import("@translator").SCEncoderConfig, inlineProps: any, insideTable?: boolean): any;
|
|
9
|
+
export function resolveParagraphProperties(params: import("@translator").SCEncoderConfig, inlineProps: any, insideTable?: boolean, overrideInlineStyleId?: boolean): any;
|
|
9
10
|
export function getDefaultProperties(params: any, translator: any): any;
|
|
10
11
|
export function getStyleProperties(params: any, styleId: any, translator: any): {
|
|
11
12
|
properties: any;
|
|
12
13
|
isDefault: boolean;
|
|
13
14
|
basedOn: any;
|
|
14
15
|
};
|
|
15
|
-
export function getNumberingProperties(params: any, ilvl: any, numId: any, translator: any): any;
|
|
16
|
+
export function getNumberingProperties(params: any, ilvl: any, numId: any, translator: any, tries?: number): any;
|
|
16
17
|
export function encodeMarksFromRPr(runProperties: any, docx: any): {
|
|
17
18
|
type: string;
|
|
18
19
|
attrs: {};
|
|
19
20
|
}[];
|
|
21
|
+
export function encodeCSSFromRPr(runProperties: any, docx: any): {};
|
|
20
22
|
export function decodeRPrFromMarks(marks: any): {};
|
|
21
|
-
export function resolveRunProperties(params: import("@translator").SCEncoderConfig, inlineRpr: any, resolvedPpr: any, isListNumber?: boolean): any;
|
|
22
|
-
export function combineProperties(propertiesArray: any, fullOverrideProps?: any[]): any;
|
|
23
|
+
export function resolveRunProperties(params: import("@translator").SCEncoderConfig, inlineRpr: any, resolvedPpr: any, isListNumber?: boolean, numberingDefinedInline?: boolean): any;
|
|
24
|
+
export function combineProperties(propertiesArray: any, fullOverrideProps?: any[], specialHandling?: {}): any;
|
|
23
25
|
export function combineRunProperties(propertiesArray: any): any;
|
|
24
26
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/core/super-converter/styles.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/core/super-converter/styles.js"],"names":[],"mappings":"AA0EA;;;;;;;GAOG;AACH,mDANW,OAAO,aAAa,EAAE,eAAe,kCAErC,OAAO,0BACP,OAAO,OAuFjB;AA8BD,wEAgBC;AAED;;;;EAsBC;AAED,iHA8DC;AA2CD;;;IAqGC;AAED,oEAyKC;AAED,mDAoFC;AA9qBM,6CALI,OAAO,aAAa,EAAE,eAAe,mGA8D/C;AAsOM,8GAmCN;AAEM,gEAEN"}
|
package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/docxImporter.d.ts
CHANGED
|
@@ -29,11 +29,12 @@ export function createDocumentJson(docx: ParsedDocx, converter: SuperConverter,
|
|
|
29
29
|
pageStyles: any;
|
|
30
30
|
} | null;
|
|
31
31
|
export function defaultNodeListHandler(): {
|
|
32
|
-
handler: ({ nodes: elements, docx, insideTrackChange, converter, editor, filename, parentStyleId, lists, inlineDocumentFonts, path, extraParams, }: {
|
|
32
|
+
handler: ({ nodes: elements, docx, insideTrackChange, converter, numbering, editor, filename, parentStyleId, lists, inlineDocumentFonts, path, extraParams, }: {
|
|
33
33
|
nodes: any;
|
|
34
34
|
docx: any;
|
|
35
35
|
insideTrackChange: any;
|
|
36
36
|
converter: any;
|
|
37
|
+
numbering: any;
|
|
37
38
|
editor: any;
|
|
38
39
|
filename: any;
|
|
39
40
|
parentStyleId: any;
|
package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/docxImporter.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"docxImporter.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/super-converter/v2/importer/docxImporter.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"docxImporter.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/super-converter/v2/importer/docxImporter.js"],"names":[],"mappings":"AAqfA;;;;;;;;GAQG;AACH,wDAFa,MAAS,IAAI,CAiBzB;AAuHD;;;;;;;;GAQG;AACH,mDAHW,KAAK,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,GAAG,CAAC;IAAC,KAAK,CAAC,EAAE,GAAG,CAAC;IAAC,KAAK,CAAC,EAAE,GAAG,EAAE,CAAA;CAAC,CAAC,SA4B1E;AAvnBM,yCALI,UAAU,aACV,cAAc,UACd,MAAM,GACJ;IAAC,KAAK,EAAE,UAAU,CAAC;IAAC,kBAAkB,EAAE,OAAO,CAAC;IAAC,UAAU,EAAE,GAAC,CAAA;CAAC,GAAC,IAAI,CAyGhF;AAEM;;;;;;;;;;;;;;;;EA4BN;sBAvJY,OAAO,GAAA,CAAC;yBACR;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,GAAC,CAAC;IAAC,IAAI,EAAE,GAAC,CAAC;IAAC,KAAK,EAAE,GAAC,CAAC;IAAC,KAAK,EAAE,EAAE,CAAC;CAAC;yBACzD;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,EAAE,CAAA;CAAC;gCAEzB,CAAC,KAAK,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,iBAAiB,EAAE,OAAO,KAAK,UAAU,EAAE;8BAChF;IAAC,OAAO,EAAE,iBAAiB,CAAC;IAAC,eAAe,EAAE,gBAAgB,EAAE,CAAA;CAAC;0BAEjE,CAAC,KAAK,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,eAAe,EAAE,eAAe,EAAE,iBAAiB,EAAE,OAAO,KAAK;IAAC,KAAK,EAAE,UAAU,EAAE,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAC;+BAC7I;IAAC,WAAW,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,WAAW,CAAA;CAAC"}
|
package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/listImporter.d.ts
CHANGED
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Checks if the given node is a list or not.
|
|
3
|
-
*
|
|
4
|
-
* @param {XmlNode} node The node to check.
|
|
5
|
-
* @returns {boolean} Whether the node is a list or not.
|
|
6
|
-
*/
|
|
7
|
-
export function testForList(node: XmlNode, docx: any): boolean;
|
|
8
1
|
/**
|
|
9
2
|
* Get the style tag from the style ID
|
|
10
3
|
*
|
|
@@ -13,107 +6,17 @@ export function testForList(node: XmlNode, docx: any): boolean;
|
|
|
13
6
|
* @returns {Object} The style tag
|
|
14
7
|
*/
|
|
15
8
|
export function getStyleTagFromStyleId(styleId: string, docx: any): any;
|
|
16
|
-
/**
|
|
17
|
-
* Get the num ID from the style definition
|
|
18
|
-
* This is a recursive function that will check the style definition for the numId
|
|
19
|
-
* If it doesn't exist, it will check the basedOn style definition for the numId
|
|
20
|
-
* This will continue until we find a numId or we run out of basedOn styles
|
|
21
|
-
*
|
|
22
|
-
* @param {Object} node The node to check
|
|
23
|
-
* @param {string} styleId The style ID to check
|
|
24
|
-
* @param {Object} docx The docx data
|
|
25
|
-
* @param {Set} seenStyleIds The set of style IDs we've already seen to avoid circular references
|
|
26
|
-
* @returns {string|null} The numId or null if not found
|
|
27
|
-
*/
|
|
28
|
-
export function getNumPrRecursive({ node, styleId, docx, seenStyleIds }: any): string | null;
|
|
29
9
|
/**
|
|
30
10
|
* Normalize the level text character to a standard format
|
|
31
11
|
* @param {string} lvlText The level text to normalize
|
|
32
12
|
* @returns {string} The normalized level text
|
|
33
13
|
*/
|
|
34
14
|
export function normalizeLvlTextChar(lvlText: string): string;
|
|
35
|
-
/**
|
|
36
|
-
* Main function to get list item information from numbering.xml
|
|
37
|
-
*
|
|
38
|
-
* @param {object} attributes
|
|
39
|
-
* @param {int} level
|
|
40
|
-
* @param {ParsedDocx} docx
|
|
41
|
-
* @returns
|
|
42
|
-
*/
|
|
43
|
-
export function getNodeNumberingDefinition(item: any, level: int, docx: ParsedDocx): {
|
|
44
|
-
listType?: undefined;
|
|
45
|
-
listOrderingType?: undefined;
|
|
46
|
-
listrPrs?: undefined;
|
|
47
|
-
listpPrs?: undefined;
|
|
48
|
-
start?: undefined;
|
|
49
|
-
lvlText?: undefined;
|
|
50
|
-
lvlJc?: undefined;
|
|
51
|
-
customFormat?: undefined;
|
|
52
|
-
} | {
|
|
53
|
-
listType: string;
|
|
54
|
-
listOrderingType: any;
|
|
55
|
-
listrPrs: {};
|
|
56
|
-
listpPrs: {
|
|
57
|
-
indent: {};
|
|
58
|
-
justify: {
|
|
59
|
-
val: any;
|
|
60
|
-
};
|
|
61
|
-
tabStops: any[];
|
|
62
|
-
};
|
|
63
|
-
start: any;
|
|
64
|
-
lvlText: any;
|
|
65
|
-
lvlJc: any;
|
|
66
|
-
customFormat: any;
|
|
67
|
-
};
|
|
68
|
-
export function getNodeNumberingDefinitionByStyle(item: any, docx: any): {
|
|
69
|
-
definition?: undefined;
|
|
70
|
-
ilvl?: undefined;
|
|
71
|
-
} | {
|
|
72
|
-
definition: {
|
|
73
|
-
listType?: undefined;
|
|
74
|
-
listOrderingType?: undefined;
|
|
75
|
-
listrPrs?: undefined;
|
|
76
|
-
listpPrs?: undefined;
|
|
77
|
-
start?: undefined;
|
|
78
|
-
lvlText?: undefined;
|
|
79
|
-
lvlJc?: undefined;
|
|
80
|
-
customFormat?: undefined;
|
|
81
|
-
} | {
|
|
82
|
-
listType: string;
|
|
83
|
-
listOrderingType: any;
|
|
84
|
-
listrPrs: {};
|
|
85
|
-
listpPrs: {
|
|
86
|
-
indent: {};
|
|
87
|
-
justify: {
|
|
88
|
-
val: any;
|
|
89
|
-
};
|
|
90
|
-
tabStops: any[];
|
|
91
|
-
};
|
|
92
|
-
start: any;
|
|
93
|
-
lvlText: any;
|
|
94
|
-
lvlJc: any;
|
|
95
|
-
customFormat: any;
|
|
96
|
-
};
|
|
97
|
-
ilvl: number;
|
|
98
|
-
};
|
|
99
15
|
export function getDefinitionForLevel(data: any, level: any): any;
|
|
100
|
-
export function parseIndentElement(indElem: any): {};
|
|
101
|
-
export function combineIndents(ind1: any, ind2: any): {};
|
|
102
|
-
/**
|
|
103
|
-
* @type {import("docxImporter").NodeHandler}
|
|
104
|
-
*/
|
|
105
|
-
export const handleListNode: any;
|
|
106
|
-
/**
|
|
107
|
-
* @type {import("docxImporter").NodeHandlerEntry}
|
|
108
|
-
*/
|
|
109
|
-
export const listHandlerEntity: any;
|
|
110
16
|
export function getAbstractDefinition(numId: any, docx: any, converter: any): import("./numberingCache.js").DocxXmlElement;
|
|
111
17
|
export function generateListPath(level: any, numId: any, styleId: any, levels: any, docx: any): any[];
|
|
112
18
|
export function getListLevelDefinitionTag(numId: string, level: string, pStyleId: any, docx: any): any;
|
|
113
19
|
export namespace docxNumberingHelpers {
|
|
114
|
-
export { getListLevelDefinitionTag };
|
|
115
|
-
export { combineIndents };
|
|
116
|
-
export { parseIndentElement };
|
|
117
20
|
export { generateListPath };
|
|
118
21
|
export { normalizeLvlTextChar };
|
|
119
22
|
}
|
package/dist/super-editor/super-editor/src/core/super-converter/v2/importer/listImporter.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listImporter.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/super-converter/v2/importer/listImporter.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"listImporter.d.ts","sourceRoot":"","sources":["../../../../../../../src/core/super-converter/v2/importer/listImporter.js"],"names":[],"mappings":"AAMA;;;;;;GAMG;AACH,gDAJW,MAAM,kBAahB;AAoJD;;;;GAIG;AACH,8CAHW,MAAM,GACJ,MAAM,CAWlB;AAED,kEAWC;AAnIM,2HAsCN;AAEM,sGAWN;AASM,iDALI,MAAM,SACN,MAAM,iCA8ChB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"legacy-handle-paragraph-node.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/core/super-converter/v3/handlers/w/p/helpers/legacy-handle-paragraph-node.js"],"names":[],"mappings":"AAUO,4CAHI,OAAO,aAAa,EAAE,eAAe,
|
|
1
|
+
{"version":3,"file":"legacy-handle-paragraph-node.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/core/super-converter/v3/handlers/w/p/helpers/legacy-handle-paragraph-node.js"],"names":[],"mappings":"AAUO,4CAHI,OAAO,aAAa,EAAE,eAAe,OA8E/C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cleanUpListsWithAnnotations.d.ts","sourceRoot":"","sources":["../../../../../../src/extensions/field-annotation/cleanup-commands/cleanUpListsWithAnnotations.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"cleanUpListsWithAnnotations.d.ts","sourceRoot":"","sources":["../../../../../../src/extensions/field-annotation/cleanup-commands/cleanUpListsWithAnnotations.js"],"names":[],"mappings":"AAqDO,6DAHI,MAAM,EAAE,YAmEhB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/extensions/field-annotation/cleanup-commands/index.js"],"names":[],"mappings":"AAGA;sCAOqF,yBAAmB;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/extensions/field-annotation/cleanup-commands/index.js"],"names":[],"mappings":"AAGA;sCAOqF,yBAAmB;kCAA29B,yBAAmB;EAJplC"}
|
|
@@ -3,9 +3,6 @@ import { Heading } from './heading/index.js';
|
|
|
3
3
|
import { Document } from './document/index.js';
|
|
4
4
|
import { Text } from './text/index.js';
|
|
5
5
|
import { Run } from './run/index.js';
|
|
6
|
-
import { BulletList } from './bullet-list/index.js';
|
|
7
|
-
import { OrderedList } from './ordered-list/index.js';
|
|
8
|
-
import { ListItem } from './list-item/index.js';
|
|
9
6
|
import { Paragraph } from './paragraph/index.js';
|
|
10
7
|
import { CommentRangeStart } from './comment/index.js';
|
|
11
8
|
import { CommentRangeEnd } from './comment/index.js';
|
|
@@ -66,5 +63,5 @@ import { CustomSelection } from './custom-selection/index.js';
|
|
|
66
63
|
import { TextTransform } from './text-transform/index.js';
|
|
67
64
|
import { VectorShape } from './vector-shape/index.js';
|
|
68
65
|
import { ShapeGroup } from './shape-group/index.js';
|
|
69
|
-
export { History, Heading, Document, Text, Run,
|
|
66
|
+
export { History, Heading, Document, Text, Run, Paragraph, CommentRangeStart, CommentRangeEnd, CommentReference, TabNode, LineBreak, HardBreak, Bold, Italic, Underline, Highlight, Strike, Color, FontFamily, FontSize, TextAlign, TextIndent, TextStyle, LineHeight, FormatCommands, CommentsPlugin, Gapcursor, Table, TableRow, TableCell, TableHeader, Placeholder, DropCursor, BlockNode, FieldAnnotation, fieldAnnotationHelpers, Image, BookmarkStart, BookmarkEnd, PopoverPlugin, Mention, Collaboration, CollaborationCursor, TrackChanges, TrackInsert, TrackDelete, TrackFormat, CommentsMark, trackChangesHelpers, AiMark, AiAnimationMark, AiLoaderNode, AiPlugin, Search, StructuredContent, StructuredContentBlock, StructuredContentCommands, DocumentSection, NodeResizer, CustomSelection, TextTransform, VectorShape, ShapeGroup };
|
|
70
67
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/extensions/index.js"],"names":[],"mappings":"wBACwB,oBAAoB;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/extensions/index.js"],"names":[],"mappings":"wBACwB,oBAAoB;wBAqBpB,oBAAoB;yBAJnB,qBAAqB;qBACzB,iBAAiB;oBAClB,gBAAgB;0BACV,sBAAsB;kCAEqB,oBAAoB;gCAApB,oBAAoB;iCAApB,oBAAoB;wBACjE,gBAAgB;0BACH,uBAAuB;0BAAvB,uBAAuB;qBA2BvC,iBAAiB;uBACf,mBAAmB;0BAChB,sBAAsB;0BACtB,sBAAsB;uBACzB,mBAAmB;sBAtDpB,kBAAkB;2BACb,wBAAwB;yBAC1B,sBAAsB;0BACrB,uBAAuB;2BACtB,wBAAwB;0BA6CzB,4BAA4B;2BA5C3B,wBAAwB;+BACpB,4BAA4B;+BAuD5B,oBAAoB;0BArDzB,sBAAsB;sBAgB1B,kBAAkB;yBAEf,sBAAsB;0BACrB,uBAAuB;4BAFrB,yBAAyB;4BAqCzB,wBAAwB;2BAvDzB,uBAAuB;0BAoCxB,uBAAuB;gCAfO,6BAA6B;uCAA7B,6BAA6B;sBAC/D,kBAAkB;8BACG,sBAAsB;4BAAtB,sBAAsB;8BAiCnC,2BAA2B;wBAhCjC,oBAAoB;8BAtBd,0BAA0B;oCACpB,iCAAiC;6BAsDxC,0BAA0B;4BARD,0BAA0B;4BAA1B,0BAA0B;4BAA1B,0BAA0B;6BACnD,oBAAoB;oCAeb,0BAA0B;AA0C9D,uJA0EC;AAlHD,wJAsCC;uBArG+D,eAAe;gCAAf,eAAe;6BAAf,eAAe;yBAAf,eAAe;uBAwDxD,mBAAmB;kCAzBnC,+BAA+B;uCAA/B,+BAA+B;0CA7BI,+BAA+B;gCA6BlE,+BAA+B;4BA0BV,wBAAwB;gCACpB,6BAA6B;8BAX/B,2BAA2B;4BAb7B,yBAAyB;2BAC1B,wBAAwB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export function getLinkedStyle(styleId: string, styles?: any[]): any;
|
|
2
2
|
export function getSpacingStyle(spacing: any): any;
|
|
3
|
-
export function getSpacingStyleString(spacing: any, marks: any[]): string;
|
|
3
|
+
export function getSpacingStyleString(spacing: any, marks: any[], isListItem: any): string;
|
|
4
4
|
export function getMarksStyle(attrs: any[]): string;
|
|
5
5
|
export function getQuickFormatList(editor: any): any[];
|
|
6
6
|
export function generateLinkedStyleString(linkedStyle: any, basedOnStyle: any, node: any, parent: any, includeSpacing?: boolean): string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/linked-styles/helpers.js"],"names":[],"mappings":"AAiBO,wCANI,MAAM,uBAWhB;AASM,
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/linked-styles/helpers.js"],"names":[],"mappings":"AAiBO,wCANI,MAAM,uBAWhB;AASM,mDAiBN;AAUM,oFAHM,MAAM,CAsClB;AASM,6CAHM,MAAM,CA2BlB;AAWM,uDAUN;AAcM,wHALI,OAAO,GACL,MAAM,CA2KlB;AAcM,iFANM,OAAO,CA4GnB"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Factory that tracks numbering counters, restart settings, and cached paths
|
|
3
|
+
* for list rendering. Each instance is meant to be scoped to a document view.
|
|
4
|
+
*
|
|
5
|
+
* @returns {{
|
|
6
|
+
* setStartSettings: (numId: string | number, level: number, startValue: number, restartValue?: number) => void,
|
|
7
|
+
* setCounter: (numId: string | number, level: number, pos: number, value: number) => void,
|
|
8
|
+
* getCounter: (numId: string | number, level: number, pos: number) => number | null,
|
|
9
|
+
* calculateCounter: (numId: string | number, level: number, pos: number) => number,
|
|
10
|
+
* getAncestorsPath: (numId: string | number, level: number, pos: number) => number[],
|
|
11
|
+
* calculatePath: (numId: string | number, level: number, pos: number) => number[],
|
|
12
|
+
* getCountersMap: () => Record<string, Record<string, Record<string, number>>>,
|
|
13
|
+
* _clearCache: () => void,
|
|
14
|
+
* enableCache: () => void,
|
|
15
|
+
* disableCache: () => void
|
|
16
|
+
* }}
|
|
17
|
+
*/
|
|
18
|
+
export function NumberingManager(): {
|
|
19
|
+
setStartSettings: (numId: string | number, level: number, startValue: number, restartValue?: number) => void;
|
|
20
|
+
setCounter: (numId: string | number, level: number, pos: number, value: number) => void;
|
|
21
|
+
getCounter: (numId: string | number, level: number, pos: number) => number | null;
|
|
22
|
+
calculateCounter: (numId: string | number, level: number, pos: number) => number;
|
|
23
|
+
getAncestorsPath: (numId: string | number, level: number, pos: number) => number[];
|
|
24
|
+
calculatePath: (numId: string | number, level: number, pos: number) => number[];
|
|
25
|
+
getCountersMap: () => Record<string, Record<string, Record<string, number>>>;
|
|
26
|
+
_clearCache: () => void;
|
|
27
|
+
enableCache: () => void;
|
|
28
|
+
disableCache: () => void;
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=NumberingManager.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NumberingManager.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/paragraph/NumberingManager.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,oCAba;IACR,gBAAgB,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7G,UAAU,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxF,UAAU,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,KAAK,MAAM,GAAG,IAAI,CAAC;IAClF,gBAAgB,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,KAAK,MAAM,CAAC;IACjF,gBAAgB,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,KAAK,MAAM,EAAE,CAAC;IACnF,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,KAAK,MAAM,EAAE,CAAC;IAChF,cAAc,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC;IAC7E,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,YAAY,EAAE,MAAM,IAAI,CAAA;CACzB,CAgTH"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ProseMirror node view that renders paragraphs, including special handling for
|
|
3
|
+
* numbered/bulleted lists so marker/separator elements stay in sync with docx
|
|
4
|
+
* layout expectations.
|
|
5
|
+
*/
|
|
6
|
+
export class ParagraphNodeView {
|
|
7
|
+
/**
|
|
8
|
+
* @param {import('prosemirror-model').Node} node Current paragraph node.
|
|
9
|
+
* @param {import('../../core/Editor').Editor} editor Editor instance providing schema/helpers.
|
|
10
|
+
* @param {() => number} getPos Position getter provided by ProseMirror.
|
|
11
|
+
* @param {import('prosemirror-view').Decoration[]} decorations Decorations applied to this node.
|
|
12
|
+
* @param {Record<string, unknown>} extensionAttrs Extra attributes declared by the paragraph extension.
|
|
13
|
+
*/
|
|
14
|
+
constructor(node: import("prosemirror-model").Node, editor: import("../../core/Editor").Editor, getPos: () => number, decorations: import("prosemirror-view").Decoration[], extensionAttrs: Record<string, unknown>);
|
|
15
|
+
node: import("prosemirror-model").Node;
|
|
16
|
+
editor: import("@core/index.js").Editor;
|
|
17
|
+
getPos: () => number;
|
|
18
|
+
decorations: import("prosemirror-view").Decoration[];
|
|
19
|
+
extensionAttrs: Record<string, unknown>;
|
|
20
|
+
_animationFrameRequest: any;
|
|
21
|
+
dom: HTMLParagraphElement;
|
|
22
|
+
contentDOM: HTMLSpanElement;
|
|
23
|
+
/**
|
|
24
|
+
* @param {import('prosemirror-model').Node} node
|
|
25
|
+
* @param {import('prosemirror-view').Decoration[]} decorations
|
|
26
|
+
*/
|
|
27
|
+
update(node: import("prosemirror-model").Node, decorations: import("prosemirror-view").Decoration[]): boolean;
|
|
28
|
+
/**
|
|
29
|
+
* @param {MutationRecord} mutation
|
|
30
|
+
*/
|
|
31
|
+
ignoreMutation(mutation: MutationRecord): boolean;
|
|
32
|
+
marker: HTMLSpanElement;
|
|
33
|
+
separator: HTMLSpanElement | Text;
|
|
34
|
+
destroy(): void;
|
|
35
|
+
#private;
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=ParagraphNodeView.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ParagraphNodeView.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/paragraph/ParagraphNodeView.js"],"names":[],"mappings":"AAMA;;;;GAIG;AACH;IACE;;;;;;OAMG;IACH,kBANW,OAAO,mBAAmB,EAAE,IAAI,UAChC,OAAO,mBAAmB,EAAE,MAAM,UAClC,MAAM,MAAM,eACZ,OAAO,kBAAkB,EAAE,UAAU,EAAE,kBACvC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAuBjC;IApBC,uCAAgB;IAChB,wCAAoB;IACpB,cAPe,MAAM,CAOD;IACpB,qDAA8B;IAC9B,wCAAoC;IACpC,4BAAkC;IAElC,0BAAsC;IACtC,4BAAgD;IAclD;;;OAGG;IACH,aAHW,OAAO,mBAAmB,EAAE,IAAI,eAChC,OAAO,kBAAkB,EAAE,UAAU,EAAE,WAwBjD;IA2BD;;OAEG;IACH,yBAFW,cAAc,WAexB;IAmBG,wBAA4C;IAe1C,kCAA+C;IA2LrD,gBAEC;;CACF"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Create a ProseMirror plugin that keeps `listRendering` data in sync with the
|
|
3
|
+
* underlying Word numbering definitions.
|
|
4
|
+
*
|
|
5
|
+
* @param {import('../../core/Editor').Editor} editor The active editor instance.
|
|
6
|
+
* @returns {import('prosemirror-state').Plugin}
|
|
7
|
+
*/
|
|
8
|
+
export function createNumberingPlugin(editor: import("../../core/Editor").Editor): import("prosemirror-state").Plugin;
|
|
9
|
+
//# sourceMappingURL=numberingPlugin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"numberingPlugin.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/paragraph/numberingPlugin.js"],"names":[],"mappings":"AAMA;;;;;;GAMG;AACH,8CAHW,OAAO,mBAAmB,EAAE,MAAM,GAChC,OAAO,mBAAmB,EAAE,MAAM,CA0H9C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"paragraph.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/paragraph/paragraph.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"paragraph.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/paragraph/paragraph.js"],"names":[],"mappings":"AA+BA;;;;;;GAMG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAEH;;;;GAIG;AACH,iCAigBG;;;;;;;;;yBAzkBiC,gBAAgB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"split-run.d.ts","sourceRoot":"","sources":["../../../../../../src/extensions/run/commands/split-run.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"split-run.d.ts","sourceRoot":"","sources":["../../../../../../src/extensions/run/commands/split-run.js"],"names":[],"mappings":"AA0BA,oEA+CC;AAhEM,4BAFM,OAAO,sBAAsB,EAAE,OAAO,CAiBlD"}
|
|
@@ -1,4 +1,15 @@
|
|
|
1
|
-
export function
|
|
1
|
+
export function calculateTabStyle(nodeSize: any, view: any, pos: any, blockParent: any, paragraphContext: any, coordCache?: any, domPosCache?: any): string;
|
|
2
|
+
export function findParagraphContext($pos: any, cache: any, helpers: any): any;
|
|
3
|
+
export function extractParagraphContext(node: any, startPos: any, helpers: any, depth?: number): {
|
|
4
|
+
paragraph: any;
|
|
5
|
+
paragraphDepth: number;
|
|
6
|
+
startPos: any;
|
|
7
|
+
indent: any;
|
|
8
|
+
tabStops: any;
|
|
9
|
+
flattened: any[];
|
|
10
|
+
positionMap: Map<any, any>;
|
|
11
|
+
accumulatedTabWidth: number;
|
|
12
|
+
};
|
|
2
13
|
export function flattenParagraph(paragraph: any, paragraphStartPos: any): {
|
|
3
14
|
entries: any[];
|
|
4
15
|
positionMap: Map<any, any>;
|
|
@@ -10,7 +21,7 @@ export function getIndentWidth(view: any, paragraphStartPos: any, indentAttrs?:
|
|
|
10
21
|
export function calculateIndentFallback(indentAttrs?: {}): number;
|
|
11
22
|
export function getLeftCoord(view: any, pos: any, coordCache?: any, domPosCache?: any): any;
|
|
12
23
|
export function getCachedDomAtPos(view: any, pos: any, domPosCache?: any): any;
|
|
13
|
-
export function calcTabHeight(
|
|
24
|
+
export function calcTabHeight(blockParent: any): string;
|
|
14
25
|
export const defaultTabDistance: 48;
|
|
15
26
|
export const defaultLineLength: 816;
|
|
16
27
|
export function getTabDecorations(doc: any, view: any, helpers: any, from?: number, to?: any): any[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tabDecorations.d.ts","sourceRoot":"","sources":["../../../../../../src/extensions/tab/helpers/tabDecorations.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tabDecorations.d.ts","sourceRoot":"","sources":["../../../../../../src/extensions/tab/helpers/tabDecorations.js"],"names":[],"mappings":"AAoCA,4JA+FC;AAED,+EAaC;AAED;;;;;;;;;EA+BC;AAED;;;EAyBC;AAED,sEAOC;AAED,0FAcC;AAED,8GAiBC;AAED,iIAUC;AAED,kEAmBC;AAED,4FA+BC;AAED,+EAYC;AAED,wDAUC;AAnVD,iCAAkC,EAAE,CAAC;AACrC,gCAAiC,GAAG,CAAC;AAE9B,qGA4BN"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-style.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/text-style/text-style.js"],"names":[],"mappings":"AAIA;;;;;GAKG;AAEH;;;;;GAKG;AAEH;;;;GAIG;AACH,
|
|
1
|
+
{"version":3,"file":"text-style.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/text-style/text-style.js"],"names":[],"mappings":"AAIA;;;;;GAKG;AAEH;;;;;GAKG;AAEH;;;;GAIG;AACH,6BAwEG;;;;;;;;;qBA9F6B,gBAAgB"}
|
package/dist/super-editor/super-editor/src/extensions/track-changes/permission-helpers.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"permission-helpers.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/track-changes/permission-helpers.js"],"names":[],"mappings":"AAgDO,2DALJ;IAAwD,KAAK,EAArD,OAAO,mBAAmB,EAAE,WAAW;IACxB,IAAI,EAAnB,MAAM;IACS,EAAE,EAAjB,MAAM;CACd,GAAU,KAAK,KAAQ,CAkBzB;AA+BM,iFALJ;IAAmE,MAAM,EAAjE;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"permission-helpers.d.ts","sourceRoot":"","sources":["../../../../../src/extensions/track-changes/permission-helpers.js"],"names":[],"mappings":"AAgDO,2DALJ;IAAwD,KAAK,EAArD,OAAO,mBAAmB,EAAE,WAAW;IACxB,IAAI,EAAnB,MAAM;IACS,EAAE,EAAjB,MAAM;CACd,GAAU,KAAK,KAAQ,CAkBzB;AA+BM,iFALJ;IAAmE,MAAM,EAAjE;;;;;;;;;;;;0BAsDs3zd,aAAa;;;;2BAAgoB,IAAI;;;;;;;6BAAwmI,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mCAA4jb,aAAa;0BAA/6uB,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;iDAA06lC,UAAU;kDAAuV,UAAU,aAA+E,UAAU;oCAAgZ,UAAU;;;;;;;;;KAtDz/wf;IACxB,MAAM,EAAhC,QAAQ,GAAC,QAAQ;IACK,cAAc,EAApC,KAAK,KAAQ;CACrB,GAAU,OAAO,CAkCnB;AAWM,iFALJ;IAAwD,KAAK,EAArD,OAAO,mBAAmB,EAAE,WAAW;IACnB,GAAG,EAAvB,MAAM,GAAC,IAAI;IACS,eAAe,EAAnC,MAAM,GAAC,IAAI;CACnB,GAAU,KAAK,KAAQ,CAOzB"}
|
|
@@ -9,14 +9,14 @@ var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read fr
|
|
|
9
9
|
var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
|
|
10
10
|
var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method);
|
|
11
11
|
var _SuperToolbar_instances, initToolbarGroups_fn, _interceptedCommands, makeToolbarItems_fn, initDefaultFonts_fn, updateHighlightColors_fn, deactivateAll_fn, updateToolbarHistory_fn, enrichTrackedChanges_fn, runCommandWithArgumentOnly_fn;
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import { _ as _export_sfc, u as useHighContrastMode, a as getQuickFormatList, b as generateLinkedStyleString, c as
|
|
15
|
-
import {
|
|
12
|
+
import { aF as getDefaultExportFromCjs, X as v4, T as TextSelection$1, v as getMarkRange, aI as vClickOutside, aJ as getActiveFormatting, aA as isInTable, I as findParentNode, J as isList, aK as readFromClipboard, aL as handleClipboardPaste, aM as getFileObject, aN as translator, aO as translator$1, aP as translator$2, aQ as translator$3, aR as translator$4, aS as translator$5, aT as translator$6, aU as translator$7, aV as translator$8, aW as translator$9, aX as translator$a, aY as translator$b, aZ as translator$c, a_ as translator$d, a$ as translator$e, b0 as commentRangeEndTranslator, b1 as commentRangeStartTranslator, b2 as translator$f, b3 as translator$g, b4 as translator$h, b5 as translator$i, b6 as translator$j, b7 as translator$k, b8 as translator$l, b9 as translator$m, ba as translator$n, bb as translator$o, bc as translator$p, bd as translator$q, be as translator$r, bf as translator$s, bg as translator$t, bh as translator$u, bi as translator$v, bj as translator$w, bk as translator$x, bl as translator$y, bm as translator$z, bn as translator$A, bo as translator$B, bp as translator$C, bq as translator$D, br as translator$E, bs as translator$F, bt as translator$G, bu as translator$H, bv as translator$I, bw as translator$J, bx as translator$K, by as translator$L, bz as translator$M, bA as translator$N, bB as translator$O, bC as translator$P, bD as translator$Q, bE as translator$R, bF as translator$S, bG as translator$T, bH as translator$U, bI as translator$V, bJ as translator$W, bK as translator$X, bL as translator$Y, bM as translator$Z, bN as translator$_, bO as translator$$, bP as translator$10, bQ as translator$11, bR as translator$12, bS as translator$13, bT as translator$14, bU as translator$15, bV as translator$16, bW as translator$17, bX as translator$18, bY as translator$19, bZ as translator$1a, b_ as translator$1b, b$ as translator$1c, c0 as translator$1d, c1 as translator$1e, c2 as translator$1f, c3 as translator$1g, c4 as translator$1h, c5 as translator$1i, c6 as translator$1j, P as PluginKey, a as Plugin } from "./chunks/converter-OJmgERLD.js";
|
|
13
|
+
import { a7, i, a4 } from "./chunks/converter-OJmgERLD.js";
|
|
14
|
+
import { _ as _export_sfc, u as useHighContrastMode, a as getQuickFormatList, b as generateLinkedStyleString, c as getFileOpener, d as checkAndProcessImage, r as replaceSelectionWithImagePlaceholder, e as uploadAndInsertImage, f as collectTrackedChanges, i as isTrackedChangeActionAllowed, y as yUndoPluginKey, h as undoDepth, j as redoDepth, k as collectTrackedChangesForContext, s as shouldBypassContextMenu, S as SlashMenuPluginKey, l as isHeadless, E as Editor, m as getStarterExtensions, P as Placeholder, n as getRichTextExtensions, D as DecorationSet, o as Decoration, M as Mark, p as Extension, A as Attribute, N as Node } from "./chunks/editor-BV5Ao3FS.js";
|
|
15
|
+
import { v, C, w, T, q, x, t } from "./chunks/editor-BV5Ao3FS.js";
|
|
16
16
|
import { ref, onMounted, createElementBlock, openBlock, normalizeClass, unref, Fragment, renderList, createElementVNode, withModifiers, toDisplayString, createCommentVNode, normalizeStyle, computed, watch, withDirectives, withKeys, vModelText, createTextVNode, createVNode, h, createApp, markRaw, nextTick, onBeforeUnmount, defineComponent, reactive, onUnmounted, renderSlot, shallowRef, createBlock, withCtx, resolveDynamicComponent, normalizeProps, guardReactiveProps } from "vue";
|
|
17
|
-
import { t as toolbarIcons, s as sanitizeNumber, T as Toolbar, p as plusIconSvg, a as trashIconSvg, b as borderNoneIconSvg, c as arrowsToDotIconSvg, d as arrowsLeftRightIconSvg, w as wrenchIconSvg, m as magicWandIcon, e as checkIconSvg$1, x as xMarkIconSvg, l as linkIconSvg, f as tableIconSvg, g as scissorsIconSvg, h as copyIconSvg, i as pasteIconSvg, u as useMessage, N as NSkeleton } from "./chunks/toolbar-
|
|
17
|
+
import { t as toolbarIcons, s as sanitizeNumber, T as Toolbar, p as plusIconSvg, a as trashIconSvg, b as borderNoneIconSvg, c as arrowsToDotIconSvg, d as arrowsLeftRightIconSvg, w as wrenchIconSvg, m as magicWandIcon, e as checkIconSvg$1, x as xMarkIconSvg, l as linkIconSvg, f as tableIconSvg, g as scissorsIconSvg, h as copyIconSvg, i as pasteIconSvg, u as useMessage, N as NSkeleton } from "./chunks/toolbar-s_KEL20H.js";
|
|
18
18
|
import AIWriter from "./ai-writer.es.js";
|
|
19
|
-
import { D } from "./chunks/docx-zipper-
|
|
19
|
+
import { D } from "./chunks/docx-zipper-DmTCMGub.js";
|
|
20
20
|
import { createZip } from "./file-zipper.es.js";
|
|
21
21
|
var eventemitter3 = { exports: {} };
|
|
22
22
|
var hasRequiredEventemitter3;
|
|
@@ -80,7 +80,7 @@ function requireEventemitter3() {
|
|
|
80
80
|
if (listeners.fn) return 1;
|
|
81
81
|
return listeners.length;
|
|
82
82
|
};
|
|
83
|
-
EventEmitter2.prototype.emit = function emit(event, a1,
|
|
83
|
+
EventEmitter2.prototype.emit = function emit(event, a1, a2, a3, a42, a5) {
|
|
84
84
|
var evt = prefix ? prefix + event : event;
|
|
85
85
|
if (!this._events[evt]) return false;
|
|
86
86
|
var listeners = this._events[evt], len = arguments.length, args, i2;
|
|
@@ -92,13 +92,13 @@ function requireEventemitter3() {
|
|
|
92
92
|
case 2:
|
|
93
93
|
return listeners.fn.call(listeners.context, a1), true;
|
|
94
94
|
case 3:
|
|
95
|
-
return listeners.fn.call(listeners.context, a1,
|
|
95
|
+
return listeners.fn.call(listeners.context, a1, a2), true;
|
|
96
96
|
case 4:
|
|
97
|
-
return listeners.fn.call(listeners.context, a1,
|
|
97
|
+
return listeners.fn.call(listeners.context, a1, a2, a3), true;
|
|
98
98
|
case 5:
|
|
99
|
-
return listeners.fn.call(listeners.context, a1,
|
|
99
|
+
return listeners.fn.call(listeners.context, a1, a2, a3, a42), true;
|
|
100
100
|
case 6:
|
|
101
|
-
return listeners.fn.call(listeners.context, a1,
|
|
101
|
+
return listeners.fn.call(listeners.context, a1, a2, a3, a42, a5), true;
|
|
102
102
|
}
|
|
103
103
|
for (i2 = 1, args = new Array(len - 1); i2 < len; i2++) {
|
|
104
104
|
args[i2 - 1] = arguments[i2];
|
|
@@ -116,10 +116,10 @@ function requireEventemitter3() {
|
|
|
116
116
|
listeners[i2].fn.call(listeners[i2].context, a1);
|
|
117
117
|
break;
|
|
118
118
|
case 3:
|
|
119
|
-
listeners[i2].fn.call(listeners[i2].context, a1,
|
|
119
|
+
listeners[i2].fn.call(listeners[i2].context, a1, a2);
|
|
120
120
|
break;
|
|
121
121
|
case 4:
|
|
122
|
-
listeners[i2].fn.call(listeners[i2].context, a1,
|
|
122
|
+
listeners[i2].fn.call(listeners[i2].context, a1, a2, a3);
|
|
123
123
|
break;
|
|
124
124
|
default:
|
|
125
125
|
if (!args) for (j = 1, args = new Array(len - 1); j < len; j++) {
|
|
@@ -2732,11 +2732,9 @@ class SuperToolbar extends EventEmitter {
|
|
|
2732
2732
|
* @returns {void}
|
|
2733
2733
|
*/
|
|
2734
2734
|
increaseTextIndent: ({ item, argument }) => {
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
if (listItemsInSelection.length) {
|
|
2739
|
-
return this.activeEditor.commands.increaseListIndent(listItemsInSelection);
|
|
2735
|
+
let command = item.command;
|
|
2736
|
+
if (this.activeEditor.commands.increaseListIndent?.()) {
|
|
2737
|
+
return true;
|
|
2740
2738
|
}
|
|
2741
2739
|
if (command in this.activeEditor.commands) {
|
|
2742
2740
|
this.activeEditor.commands[command](argument);
|
|
@@ -2751,10 +2749,8 @@ class SuperToolbar extends EventEmitter {
|
|
|
2751
2749
|
*/
|
|
2752
2750
|
decreaseTextIndent: ({ item, argument }) => {
|
|
2753
2751
|
let command = item.command;
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
if (listItemsInSelection.length) {
|
|
2757
|
-
return this.activeEditor.commands.decreaseListIndent(listItemsInSelection);
|
|
2752
|
+
if (this.activeEditor.commands.decreaseListIndent?.()) {
|
|
2753
|
+
return true;
|
|
2758
2754
|
}
|
|
2759
2755
|
if (command in this.activeEditor.commands) {
|
|
2760
2756
|
this.activeEditor.commands[command](argument);
|
|
@@ -3066,11 +3062,15 @@ class SuperToolbar extends EventEmitter {
|
|
|
3066
3062
|
if (item.name.value === "tableActions") {
|
|
3067
3063
|
item.disabled.value = !inTable;
|
|
3068
3064
|
}
|
|
3069
|
-
const
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
|
-
item.
|
|
3065
|
+
const selection2 = this.activeEditor.state.selection;
|
|
3066
|
+
const listParent = findParentNode(isList)(selection2)?.node;
|
|
3067
|
+
if (listParent) {
|
|
3068
|
+
const numberingType = listParent.attrs.listRendering.numberingType;
|
|
3069
|
+
if (item.name.value === "list" && numberingType === "bullet") {
|
|
3070
|
+
item.activate();
|
|
3071
|
+
} else if (item.name.value === "numberedlist" && numberingType !== "bullet") {
|
|
3072
|
+
item.activate();
|
|
3073
|
+
}
|
|
3074
3074
|
}
|
|
3075
3075
|
});
|
|
3076
3076
|
}
|
|
@@ -3626,7 +3626,7 @@ async function getEditorContext(editor, event) {
|
|
|
3626
3626
|
const clipboardContent = normalizeClipboardContent(rawClipboardContent);
|
|
3627
3627
|
const structureFromResolvedPos = pos !== null ? getStructureFromResolvedPos(state, pos) : null;
|
|
3628
3628
|
const isInTable2 = structureFromResolvedPos?.isInTable ?? selectionHasNodeOrMark(state, "table", { requireEnds: true });
|
|
3629
|
-
const isInList = structureFromResolvedPos?.isInList ?? (
|
|
3629
|
+
const isInList = structureFromResolvedPos?.isInList ?? selectionIncludesListParagraph(state);
|
|
3630
3630
|
const isInSectionNode = structureFromResolvedPos?.isInSectionNode ?? selectionHasNodeOrMark(state, "documentSection", { requireEnds: true });
|
|
3631
3631
|
const currentNodeType = node?.type?.name || null;
|
|
3632
3632
|
const activeMarks = [];
|
|
@@ -3754,16 +3754,51 @@ function computeCanRedo(editor, state) {
|
|
|
3754
3754
|
function isCollaborationEnabled(editor) {
|
|
3755
3755
|
return Boolean(editor?.options?.collaborationProvider && editor?.options?.ydoc);
|
|
3756
3756
|
}
|
|
3757
|
+
function selectionIncludesListParagraph(state) {
|
|
3758
|
+
const { $from, $to, from, to } = state.selection;
|
|
3759
|
+
const hasListInResolvedPos = ($pos) => {
|
|
3760
|
+
for (let depth = $pos.depth; depth > 0; depth--) {
|
|
3761
|
+
if (isList($pos.node(depth))) {
|
|
3762
|
+
return true;
|
|
3763
|
+
}
|
|
3764
|
+
}
|
|
3765
|
+
return false;
|
|
3766
|
+
};
|
|
3767
|
+
if (hasListInResolvedPos($from) || hasListInResolvedPos($to)) {
|
|
3768
|
+
return true;
|
|
3769
|
+
}
|
|
3770
|
+
let found = false;
|
|
3771
|
+
state.doc.nodesBetween(from, to, (node) => {
|
|
3772
|
+
if (isList(node)) {
|
|
3773
|
+
found = true;
|
|
3774
|
+
return false;
|
|
3775
|
+
}
|
|
3776
|
+
return true;
|
|
3777
|
+
});
|
|
3778
|
+
return found;
|
|
3779
|
+
}
|
|
3757
3780
|
function getStructureFromResolvedPos(state, pos) {
|
|
3758
3781
|
try {
|
|
3759
3782
|
const $pos = state.doc.resolve(pos);
|
|
3760
|
-
|
|
3783
|
+
let isInList = false;
|
|
3784
|
+
let isInTable2 = false;
|
|
3785
|
+
let isInSectionNode = false;
|
|
3761
3786
|
for (let depth = $pos.depth; depth > 0; depth--) {
|
|
3762
|
-
|
|
3787
|
+
const node = $pos.node(depth);
|
|
3788
|
+
const name = node.type.name;
|
|
3789
|
+
if (!isInList && isList(node)) {
|
|
3790
|
+
isInList = true;
|
|
3791
|
+
}
|
|
3792
|
+
if (!isInTable2 && (name === "table" || name === "tableRow" || name === "tableCell" || name === "tableHeader")) {
|
|
3793
|
+
isInTable2 = true;
|
|
3794
|
+
}
|
|
3795
|
+
if (!isInSectionNode && name === "documentSection") {
|
|
3796
|
+
isInSectionNode = true;
|
|
3797
|
+
}
|
|
3798
|
+
if (isInList && isInTable2 && isInSectionNode) {
|
|
3799
|
+
break;
|
|
3800
|
+
}
|
|
3763
3801
|
}
|
|
3764
|
-
const isInList = ancestors.has("bulletList") || ancestors.has("orderedList");
|
|
3765
|
-
const isInTable2 = ancestors.has("table") || ancestors.has("tableRow") || ancestors.has("tableCell") || ancestors.has("tableHeader");
|
|
3766
|
-
const isInSectionNode = ancestors.has("documentSection");
|
|
3767
3802
|
return {
|
|
3768
3803
|
isInTable: isInTable2,
|
|
3769
3804
|
isInList,
|
|
@@ -5224,28 +5259,28 @@ const Extensions = {
|
|
|
5224
5259
|
};
|
|
5225
5260
|
export {
|
|
5226
5261
|
AIWriter,
|
|
5227
|
-
|
|
5262
|
+
v as AnnotatorHelpers,
|
|
5228
5263
|
_sfc_main$4 as BasicUpload,
|
|
5229
5264
|
C as CommentsPluginKey,
|
|
5230
5265
|
D as DocxZipper,
|
|
5231
5266
|
Editor,
|
|
5232
5267
|
Extensions,
|
|
5233
|
-
|
|
5268
|
+
w as SectionHelpers,
|
|
5234
5269
|
_sfc_main$5 as SlashMenu,
|
|
5235
|
-
|
|
5270
|
+
a7 as SuperConverter,
|
|
5236
5271
|
SuperEditor,
|
|
5237
5272
|
SuperInput,
|
|
5238
5273
|
SuperToolbar,
|
|
5239
5274
|
Toolbar,
|
|
5240
5275
|
T as TrackChangesBasePluginKey,
|
|
5241
5276
|
createZip,
|
|
5242
|
-
|
|
5277
|
+
q as fieldAnnotationHelpers,
|
|
5243
5278
|
getActiveFormatting,
|
|
5244
|
-
|
|
5279
|
+
x as getAllowedImageDimensions,
|
|
5245
5280
|
i as getMarksFromSelection,
|
|
5246
5281
|
getRichTextExtensions,
|
|
5247
5282
|
getStarterExtensions,
|
|
5248
|
-
|
|
5283
|
+
a4 as helpers,
|
|
5249
5284
|
registeredHandlers,
|
|
5250
|
-
|
|
5285
|
+
t as trackChangesHelpers
|
|
5251
5286
|
};
|