@harbour-enterprises/superdoc 0.12.31 → 0.12.34-next.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/dist/chunks/{super-editor.es-BxaiA9ut.cjs → super-editor.es-C2uZFYse.cjs} +599 -269
  2. package/dist/chunks/{super-editor.es-CYH3KblY.es.js → super-editor.es-mtzaNl_I.es.js} +613 -283
  3. package/dist/composables/use-high-contrast-mode.d.ts +5 -0
  4. package/dist/composables/use-high-contrast-mode.d.ts.map +1 -0
  5. package/dist/core/SuperDoc.d.ts +7 -0
  6. package/dist/core/SuperDoc.d.ts.map +1 -1
  7. package/dist/core/create-app.d.ts.map +1 -1
  8. package/dist/index.d.ts +2 -1
  9. package/dist/index.d.ts.map +1 -1
  10. package/dist/style.css +299 -245
  11. package/dist/super-editor/ai-writer.es.js +2 -2
  12. package/dist/super-editor/chunks/{converter-Dm2_Htrh.js → converter-CenRPnts.js} +2 -2
  13. package/dist/super-editor/chunks/{docx-zipper-CU11jH41.js → docx-zipper-DdgXH9QX.js} +7 -3
  14. package/dist/super-editor/chunks/{editor-CISWiQkg.js → editor-B44D-Ttm.js} +190 -67
  15. package/dist/super-editor/chunks/{toolbar-Dgo3wQvN.js → toolbar-DmkQTZha.js} +80 -36
  16. package/dist/super-editor/components/toolbar/defaultItems.d.ts.map +1 -1
  17. package/dist/super-editor/composables/use-high-contrast-mode.d.ts +5 -0
  18. package/dist/super-editor/composables/use-high-contrast-mode.d.ts.map +1 -0
  19. package/dist/super-editor/converter.es.js +1 -1
  20. package/dist/super-editor/core/DocxZipper.d.ts +1 -1
  21. package/dist/super-editor/core/DocxZipper.d.ts.map +1 -1
  22. package/dist/super-editor/core/Editor.d.ts +2 -1
  23. package/dist/super-editor/core/Editor.d.ts.map +1 -1
  24. package/dist/super-editor/core/InputRule.d.ts.map +1 -1
  25. package/dist/super-editor/core/helpers/annotator.d.ts +17 -3
  26. package/dist/super-editor/core/helpers/annotator.d.ts.map +1 -1
  27. package/dist/super-editor/docx-zipper.es.js +2 -2
  28. package/dist/super-editor/editor.es.js +3 -3
  29. package/dist/super-editor/extensions/ai/ai-nodes.d.ts.map +1 -1
  30. package/dist/super-editor/extensions/bookmarks/bookmarks.d.ts.map +1 -1
  31. package/dist/super-editor/extensions/bullet-list/bullet-list.d.ts.map +1 -1
  32. package/dist/super-editor/extensions/collaboration/collaboration-helpers.d.ts.map +1 -1
  33. package/dist/super-editor/extensions/comment/comment.d.ts.map +1 -1
  34. package/dist/super-editor/extensions/document/document.d.ts.map +1 -1
  35. package/dist/super-editor/extensions/field-annotation/field-annotation.d.ts.map +1 -1
  36. package/dist/super-editor/extensions/field-annotation/fieldAnnotationHelpers/getHeaderFooterAnnotations.d.ts +2 -0
  37. package/dist/super-editor/extensions/field-annotation/fieldAnnotationHelpers/getHeaderFooterAnnotations.d.ts.map +1 -0
  38. package/dist/super-editor/extensions/field-annotation/fieldAnnotationHelpers/index.d.ts +1 -0
  39. package/dist/super-editor/extensions/heading/heading.d.ts.map +1 -1
  40. package/dist/super-editor/extensions/image/image.d.ts.map +1 -1
  41. package/dist/super-editor/extensions/line-break/line-break.d.ts.map +1 -1
  42. package/dist/super-editor/extensions/list-item/list-item.d.ts.map +1 -1
  43. package/dist/super-editor/extensions/mention/mention.d.ts.map +1 -1
  44. package/dist/super-editor/extensions/ordered-list/ordered-list.d.ts.map +1 -1
  45. package/dist/super-editor/extensions/page-number/page-number.d.ts.map +1 -1
  46. package/dist/super-editor/extensions/pagination/pagination-helpers.d.ts.map +1 -1
  47. package/dist/super-editor/extensions/run-item/run-item.d.ts.map +1 -1
  48. package/dist/super-editor/extensions/shape-container/shape-container.d.ts.map +1 -1
  49. package/dist/super-editor/extensions/shape-textbox/shape-textbox.d.ts.map +1 -1
  50. package/dist/super-editor/extensions/structured-content/structured-content.d.ts.map +1 -1
  51. package/dist/super-editor/extensions/table/table.d.ts.map +1 -1
  52. package/dist/super-editor/extensions/table-cell/table-cell.d.ts.map +1 -1
  53. package/dist/super-editor/extensions/table-header/table-header.d.ts.map +1 -1
  54. package/dist/super-editor/extensions/table-row/table-row.d.ts.map +1 -1
  55. package/dist/super-editor/file-zipper.es.js +1 -1
  56. package/dist/super-editor/index.d.ts +1 -1
  57. package/dist/super-editor/style.css +243 -196
  58. package/dist/super-editor/super-editor.es.js +335 -174
  59. package/dist/super-editor/toolbar.es.js +2 -2
  60. package/dist/super-editor.cjs +2 -1
  61. package/dist/super-editor.es.js +15 -14
  62. package/dist/superdoc.cjs +35 -9
  63. package/dist/superdoc.es.js +233 -207
  64. package/dist/superdoc.umd.js +636 -281
  65. package/dist/superdoc.umd.js.map +1 -1
  66. package/package.json +2 -2
@@ -1,6 +1,6 @@
1
1
  import { computed, createElementBlock, openBlock, createElementVNode, createCommentVNode, normalizeClass, normalizeStyle, ref, unref, createBlock, toDisplayString, withDirectives, withKeys, withModifiers, vModelText, getCurrentInstance, createVNode, readonly, watch, onMounted, onBeforeUnmount, reactive, onBeforeMount, inject, onActivated, onDeactivated, createTextVNode, Fragment, Comment, defineComponent, provide, h, Teleport, toRef, nextTick, renderSlot, isVNode, shallowRef, watchEffect, mergeProps, Transition, vShow, cloneVNode, Text, renderList, withCtx } from "vue";
2
- import { x as process$1 } from "./converter-Dm2_Htrh.js";
3
- import { _ as _export_sfc, g as global$1 } from "./editor-CISWiQkg.js";
2
+ import { x as process$1 } from "./converter-CenRPnts.js";
3
+ import { _ as _export_sfc, u as useHighContrastMode, g as global$1 } from "./editor-B44D-Ttm.js";
4
4
  const sanitizeNumber = (value, defaultNumber) => {
5
5
  let sanitized = value.replace(/[^0-9.]/g, "");
6
6
  sanitized = parseFloat(sanitized);
@@ -191,15 +191,16 @@ const _sfc_main$5 = {
191
191
  }
192
192
  };
193
193
  const ToolbarButtonIcon = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-6d7523ab"]]);
194
- const _hoisted_1$3 = ["data-item"];
195
- const _hoisted_2$2 = {
194
+ const _hoisted_1$3 = ["role"];
195
+ const _hoisted_2$2 = ["data-item", "aria-label"];
196
+ const _hoisted_3$2 = {
196
197
  key: 1,
197
198
  class: "button-label"
198
199
  };
199
- const _hoisted_3$2 = { key: 2 };
200
- const _hoisted_4 = ["placeholder", "onKeydown", "id"];
200
+ const _hoisted_4 = { key: 2 };
201
201
  const _hoisted_5 = ["placeholder", "onKeydown", "id"];
202
- const _hoisted_6 = ["innerHTML"];
202
+ const _hoisted_6 = ["placeholder", "onKeydown", "id"];
203
+ const _hoisted_7 = ["innerHTML"];
203
204
  const _sfc_main$4 = {
204
205
  __name: "ToolbarButton",
205
206
  props: {
@@ -226,6 +227,10 @@ const _sfc_main$4 = {
226
227
  defaultLabel: {
227
228
  type: String,
228
229
  default: null
230
+ },
231
+ isOverflowItem: {
232
+ type: Boolean,
233
+ default: false
229
234
  }
230
235
  },
231
236
  emits: ["buttonClick", "textSubmit"],
@@ -249,6 +254,7 @@ const _sfc_main$4 = {
249
254
  } = props.toolbarItem;
250
255
  const inlineTextInput = ref(props.defaultLabel);
251
256
  const inlineInput = ref(null);
257
+ const { isHighContrastMode } = useHighContrastMode();
252
258
  const handleClick = () => {
253
259
  if (hasInlineTextInput) {
254
260
  inlineInput.value?.focus();
@@ -276,12 +282,15 @@ const _sfc_main$4 = {
276
282
  return (_ctx, _cache) => {
277
283
  return openBlock(), createElementBlock("div", {
278
284
  class: normalizeClass(["toolbar-item", unref(attributes).className]),
279
- style: normalizeStyle(getStyle.value)
285
+ style: normalizeStyle(getStyle.value),
286
+ role: __props.isOverflowItem ? "menuitem" : ""
280
287
  }, [
281
288
  createElementVNode("div", {
282
289
  onClick: handleClick,
283
- class: normalizeClass(["toolbar-button", { active: unref(active), disabled: unref(disabled), narrow: __props.isNarrow, wide: __props.isWide, "has-inline-text-input": unref(hasInlineTextInput) }]),
284
- "data-item": `btn-${unref(name) || ""}`
290
+ class: normalizeClass(["toolbar-button", { active: unref(active), disabled: unref(disabled), narrow: __props.isNarrow, wide: __props.isWide, "has-inline-text-input": unref(hasInlineTextInput), "high-contrast": unref(isHighContrastMode) }]),
291
+ "data-item": `btn-${unref(name) || ""}`,
292
+ "aria-label": unref(attributes).ariaLabel,
293
+ role: "button"
285
294
  }, [
286
295
  unref(icon) ? (openBlock(), createBlock(ToolbarButtonIcon, {
287
296
  key: 0,
@@ -290,8 +299,8 @@ const _sfc_main$4 = {
290
299
  icon: unref(icon),
291
300
  name: unref(name)
292
301
  }, null, 8, ["color", "icon", "name"])) : createCommentVNode("", true),
293
- unref(label) && !unref(hideLabel) && !unref(inlineTextInputVisible) ? (openBlock(), createElementBlock("div", _hoisted_2$2, toDisplayString(unref(label)), 1)) : createCommentVNode("", true),
294
- unref(inlineTextInputVisible) ? (openBlock(), createElementBlock("span", _hoisted_3$2, [
302
+ unref(label) && !unref(hideLabel) && !unref(inlineTextInputVisible) ? (openBlock(), createElementBlock("div", _hoisted_3$2, toDisplayString(unref(label)), 1)) : createCommentVNode("", true),
303
+ unref(inlineTextInputVisible) ? (openBlock(), createElementBlock("span", _hoisted_4, [
295
304
  unref(name) === "fontSize" ? withDirectives((openBlock(), createElementBlock("input", {
296
305
  key: 0,
297
306
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => inlineTextInput.value = $event),
@@ -299,12 +308,12 @@ const _sfc_main$4 = {
299
308
  placeholder: unref(label),
300
309
  onKeydown: withKeys(withModifiers(handleInputSubmit, ["prevent"]), ["enter"]),
301
310
  type: "text",
302
- class: "button-text-input",
311
+ class: normalizeClass(["button-text-input", { "high-contrast": unref(isHighContrastMode) }]),
303
312
  id: "inlineTextInput-" + unref(name),
304
313
  autoccomplete: "off",
305
314
  ref_key: "inlineInput",
306
315
  ref: inlineInput
307
- }, null, 40, _hoisted_4)), [
316
+ }, null, 42, _hoisted_5)), [
308
317
  [vModelText, inlineTextInput.value]
309
318
  ]) : withDirectives((openBlock(), createElementBlock("input", {
310
319
  key: 1,
@@ -317,7 +326,7 @@ const _sfc_main$4 = {
317
326
  autoccomplete: "off",
318
327
  ref_key: "inlineInput",
319
328
  ref: inlineInput
320
- }, null, 40, _hoisted_5)), [
329
+ }, null, 40, _hoisted_6)), [
321
330
  [vModelText, inlineTextInput.value]
322
331
  ])
323
332
  ])) : createCommentVNode("", true),
@@ -326,14 +335,18 @@ const _sfc_main$4 = {
326
335
  class: "dropdown-caret",
327
336
  innerHTML: caretIcon.value,
328
337
  style: normalizeStyle({ opacity: unref(disabled) ? 0.6 : 1 })
329
- }, null, 12, _hoisted_6)) : createCommentVNode("", true)
330
- ], 10, _hoisted_1$3)
331
- ], 6);
338
+ }, null, 12, _hoisted_7)) : createCommentVNode("", true)
339
+ ], 10, _hoisted_2$2)
340
+ ], 14, _hoisted_1$3);
332
341
  };
333
342
  }
334
343
  };
335
- const ToolbarButton = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-62bb3747"]]);
336
- const _hoisted_1$2 = { class: "toolbar-separator" };
344
+ const ToolbarButton = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-6eb57404"]]);
345
+ const _hoisted_1$2 = {
346
+ class: "toolbar-separator",
347
+ role: "separator",
348
+ "aria-label": "Toolbar separator"
349
+ };
337
350
  const _sfc_main$3 = {
338
351
  __name: "ToolbarSeparator",
339
352
  props: {
@@ -344,19 +357,30 @@ const _sfc_main$3 = {
344
357
  },
345
358
  emits: ["command"],
346
359
  setup(__props, { emit: __emit }) {
360
+ const { isHighContrastMode } = useHighContrastMode();
361
+ const getSeparatorColor = () => {
362
+ if (isHighContrastMode.value) {
363
+ return "#000";
364
+ }
365
+ return "#dbdbdb";
366
+ };
347
367
  return (_ctx, _cache) => {
348
- return openBlock(), createElementBlock("div", _hoisted_1$2, _cache[0] || (_cache[0] = [
349
- createElementVNode("div", { class: "separator-inner" }, null, -1)
350
- ]));
368
+ return openBlock(), createElementBlock("div", _hoisted_1$2, [
369
+ createElementVNode("div", {
370
+ class: "separator-inner",
371
+ style: normalizeStyle({ backgroundColor: getSeparatorColor() })
372
+ }, null, 4)
373
+ ]);
351
374
  };
352
375
  }
353
376
  };
354
- const ToolbarSeparator = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-ac2ee4f9"]]);
377
+ const ToolbarSeparator = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-b240fc3a"]]);
355
378
  const _hoisted_1$1 = { class: "overflow-menu" };
356
379
  const _hoisted_2$1 = { class: "overflow-menu-trigger" };
357
380
  const _hoisted_3$1 = {
358
381
  key: 0,
359
- class: "overflow-menu_items"
382
+ class: "overflow-menu_items",
383
+ role: "group"
360
384
  };
361
385
  const _sfc_main$2 = {
362
386
  __name: "OverflowMenu",
@@ -394,16 +418,17 @@ const _sfc_main$2 = {
394
418
  ]),
395
419
  isDropdownOpened.value ? (openBlock(), createElementBlock("div", _hoisted_3$1, [
396
420
  createVNode(ButtonGroup, {
421
+ class: "superdoc-toolbar-overflow",
397
422
  "toolbar-items": __props.overflowItems,
398
- onCommand: handleCommand,
399
- class: "superdoc-toolbar-overflow"
423
+ "from-overflow": "",
424
+ onCommand: handleCommand
400
425
  }, null, 8, ["toolbar-items"])
401
426
  ])) : createCommentVNode("", true)
402
427
  ]);
403
428
  };
404
429
  }
405
430
  };
406
- const OverflowMenu = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-ca29bf1d"]]);
431
+ const OverflowMenu = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-c637209b"]]);
407
432
  function plugin$1(options) {
408
433
  let _bPrefix = ".";
409
434
  let _ePrefix = "__";
@@ -9751,6 +9776,10 @@ const _sfc_main$1 = {
9751
9776
  position: {
9752
9777
  type: String,
9753
9778
  default: "left"
9779
+ },
9780
+ fromOverflow: {
9781
+ type: Boolean,
9782
+ default: false
9754
9783
  }
9755
9784
  },
9756
9785
  emits: ["command"],
@@ -9758,6 +9787,7 @@ const _sfc_main$1 = {
9758
9787
  const emit = __emit;
9759
9788
  const props = __props;
9760
9789
  const currentItem = ref(null);
9790
+ const { isHighContrastMode } = useHighContrastMode();
9761
9791
  const isMobile = window.matchMedia("(max-width: 768px)").matches;
9762
9792
  const styleMap = {
9763
9793
  left: {
@@ -9816,13 +9846,20 @@ const _sfc_main$1 = {
9816
9846
  };
9817
9847
  });
9818
9848
  };
9849
+ const getDropdownAttributes = (option, item) => {
9850
+ return {
9851
+ role: "menuitem",
9852
+ ariaLabel: `${item.attributes.value.ariaLabel} - ${option.label}`
9853
+ };
9854
+ };
9819
9855
  const handleClickOutside = (e) => {
9820
9856
  closeDropdowns();
9821
9857
  };
9822
9858
  return (_ctx, _cache) => {
9823
9859
  return openBlock(), createElementBlock("div", {
9824
9860
  style: normalizeStyle(getPositionStyle.value),
9825
- class: "button-group"
9861
+ class: "button-group",
9862
+ role: "group"
9826
9863
  }, [
9827
9864
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.toolbarItems, (item) => {
9828
9865
  return openBlock(), createElementBlock("div", {
@@ -9843,10 +9880,14 @@ const _sfc_main$1 = {
9843
9880
  show: item.expand.value,
9844
9881
  size: "medium",
9845
9882
  placement: "bottom-start",
9846
- class: "toolbar-button toolbar-dropdown sd-editor-toolbar-dropdown",
9883
+ class: normalizeClass(["toolbar-button toolbar-dropdown sd-editor-toolbar-dropdown", { "high-contrast": unref(isHighContrastMode) }]),
9847
9884
  onSelect: (key, option) => handleSelect(item, option),
9848
9885
  onClickoutside: handleClickOutside,
9849
- style: normalizeStyle(item.dropdownStyles.value)
9886
+ style: normalizeStyle(item.dropdownStyles.value),
9887
+ "menu-props": () => ({
9888
+ role: "menu"
9889
+ }),
9890
+ "node-props": (option) => getDropdownAttributes(option, item)
9850
9891
  }, {
9851
9892
  default: withCtx(() => [
9852
9893
  createVNode(unref(NTooltip), {
@@ -9870,7 +9911,7 @@ const _sfc_main$1 = {
9870
9911
  }, 1032, ["disabled"])
9871
9912
  ]),
9872
9913
  _: 2
9873
- }, 1032, ["options", "trigger", "show", "onSelect", "style"])) : isButton(item) ? (openBlock(), createBlock(unref(NTooltip), {
9914
+ }, 1032, ["options", "trigger", "show", "class", "onSelect", "style", "node-props"])) : isButton(item) ? (openBlock(), createBlock(unref(NTooltip), {
9874
9915
  key: 2,
9875
9916
  trigger: "hover",
9876
9917
  class: "sd-editor-toolbar-tooltip"
@@ -9878,9 +9919,10 @@ const _sfc_main$1 = {
9878
9919
  trigger: withCtx(() => [
9879
9920
  createVNode(ToolbarButton, {
9880
9921
  "toolbar-item": item,
9922
+ "is-overflow-item": __props.fromOverflow,
9881
9923
  onTextSubmit: ($event) => handleToolbarButtonTextSubmit(item, $event),
9882
9924
  onButtonClick: ($event) => handleToolbarButtonClick(item)
9883
- }, null, 8, ["toolbar-item", "onTextSubmit", "onButtonClick"])
9925
+ }, null, 8, ["toolbar-item", "is-overflow-item", "onTextSubmit", "onButtonClick"])
9884
9926
  ]),
9885
9927
  default: withCtx(() => [
9886
9928
  item.tooltip ? (openBlock(), createElementBlock("div", _hoisted_2, [
@@ -9901,7 +9943,7 @@ const _sfc_main$1 = {
9901
9943
  };
9902
9944
  }
9903
9945
  };
9904
- const ButtonGroup = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-7751c4e5"]]);
9946
+ const ButtonGroup = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-b09e5a20"]]);
9905
9947
  const _sfc_main = {
9906
9948
  __name: "Toolbar",
9907
9949
  emits: ["command", "toggle", "select"],
@@ -9946,7 +9988,9 @@ const _sfc_main = {
9946
9988
  return (_ctx, _cache) => {
9947
9989
  return openBlock(), createElementBlock("div", {
9948
9990
  class: "superdoc-toolbar",
9949
- key: unref(toolbarKey)
9991
+ key: unref(toolbarKey),
9992
+ role: "toolbar",
9993
+ "aria-label": "Toolbar"
9950
9994
  }, [
9951
9995
  unref(showLeftSide) ? (openBlock(), createBlock(ButtonGroup, {
9952
9996
  key: 0,
@@ -9972,7 +10016,7 @@ const _sfc_main = {
9972
10016
  };
9973
10017
  }
9974
10018
  };
9975
- const Toolbar = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-abd0fb95"]]);
10019
+ const Toolbar = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-2a400574"]]);
9976
10020
  export {
9977
10021
  NSkeleton as N,
9978
10022
  Toolbar as T,
@@ -1 +1 @@
1
- {"version":3,"file":"defaultItems.d.ts","sourceRoot":"","sources":["../../../src/components/toolbar/defaultItems.js"],"names":[],"mappings":"AAuBO;;;;;EAq/BN;AAEM,sEAEJ;;;CAAuB,UASvB"}
1
+ {"version":3,"file":"defaultItems.d.ts","sourceRoot":"","sources":["../../../src/components/toolbar/defaultItems.js"],"names":[],"mappings":"AAuBO;;;;;EAwnCN;AAEM,sEAEJ;;;CAAuB,UASvB"}
@@ -0,0 +1,5 @@
1
+ export function useHighContrastMode(): {
2
+ isHighContrastMode: import("vue").Ref<boolean, boolean>;
3
+ setHighContrastMode: (value: any) => void;
4
+ };
5
+ //# sourceMappingURL=use-high-contrast-mode.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-high-contrast-mode.d.ts","sourceRoot":"","sources":["../../src/composables/use-high-contrast-mode.js"],"names":[],"mappings":"AAIA;;;EASC"}
@@ -1,4 +1,4 @@
1
- import { O } from "./chunks/converter-Dm2_Htrh.js";
1
+ import { O } from "./chunks/converter-CenRPnts.js";
2
2
  export {
3
3
  O as SuperConverter
4
4
  };
@@ -33,7 +33,7 @@ declare class DocxZipper {
33
33
  /**
34
34
  * Update [Content_Types].xml with extensions of new Image annotations
35
35
  */
36
- updateContentTypes(docx: any, media: any): Promise<void>;
36
+ updateContentTypes(docx: any, media: any, fromJson: any): Promise<any>;
37
37
  unzip(file: any): Promise<any>;
38
38
  updateZip({ docx, updatedDocs, originalDocxFile, media, fonts, isHeadless }: {
39
39
  docx: any;
@@ -1 +1 @@
1
- {"version":3,"file":"DocxZipper.d.ts","sourceRoot":"","sources":["../../src/core/DocxZipper.js"],"names":[],"mappings":";AAKA;;GAEG;AACH;IACE,yBAOC;IANC,WAAkC;IAClC,SAAsB;IACtB,aAAe;IACf,UAAe;IACf,eAAoB;IACpB,UAAe;IAGjB;;;;;;;;;;;;;;;;;SAiBK;IACL,yDA0CC;IAED,qCAEC;IAED;;OAEG;IACH,yDAoEC;IAED,+BAGC;IAED;;;;;;;qBAaC;IAED;;;;;OAKG;IACH,kFAFa,OAAO,CAAC,KAAK,CAAC,CA6B1B;IAED;;;;;;OAMG;IACH,yCAJW,IAAI,iCAEF,OAAO,CAAC,KAAK,CAAC,CAyB1B;CACF"}
1
+ {"version":3,"file":"DocxZipper.d.ts","sourceRoot":"","sources":["../../src/core/DocxZipper.js"],"names":[],"mappings":";AAIA;;GAEG;AACH;IACE,yBAOC;IANC,WAAkC;IAClC,SAAsB;IACtB,aAAe;IACf,UAAe;IACf,eAAoB;IACpB,UAAe;IAGjB;;;;;;;;;;;;;;;;;SAiBK;IACL,yDA0CC;IAED,qCAEC;IAED;;OAEG;IACH,uEA0EC;IAED,+BAGC;IAED;;;;;;;qBAaC;IAED;;;;;OAKG;IACH,kFAFa,OAAO,CAAC,KAAK,CAAC,CA6B1B;IAED;;;;;;OAMG;IACH,yCAJW,IAAI,iCAEF,OAAO,CAAC,KAAK,CAAC,CAyB1B;CACF"}
@@ -209,6 +209,7 @@ export class Editor extends EventEmitter {
209
209
  handleImageUpload: any;
210
210
  telemetry: any;
211
211
  };
212
+ setHighContrastMode: (value: any) => void;
212
213
  /**
213
214
  * Set the toolbar for this editor
214
215
  * @param {Object} toolbar - The toolbar instance
@@ -461,7 +462,7 @@ export class Editor extends EventEmitter {
461
462
  * @param {String[]} hiddenIds List of field ids to remove from the document.
462
463
  * @returns {void}
463
464
  */
464
- annotate(annotationValues?: FieldValue[], hiddenIds?: string[]): void;
465
+ annotate(annotationValues?: FieldValue[], hiddenIds?: string[], removeEmptyFields?: boolean): void;
465
466
  /**
466
467
  * Preview annotations in the editor. It stores a copy of the original state.
467
468
  * This can be reverted via closePreview()
@@ -1 +1 @@
1
- {"version":3,"file":"Editor.d.ts","sourceRoot":"","sources":["../../src/core/Editor.js"],"names":[],"mappings":"AA6BA;;;;GAIG;AAEH;;;;;GAKG;AACH;;;;;EAKE;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2DG;AAEH;;;;GAIG;AACH;IAqqBE;;;;;;;;;;;;OAYG;IACH,+BARW,IAAI,GAAC,IAAI,GAAC,MAAM,WAChB,OAAO,GACL,OAAO,OAAO,CAc1B;IAED;;;;;OAKG;IACH,qCAFa,MAAM,CAKlB;IAED;;;;;;OAMG;IACH,gDAHW,MAAM,OAMhB;IAwpBD;;;;;OAKG;IACH,2CAFa,OAAO,CAOnB;IAxwCD;;;;OAIG;IACH,qBAHW,aAAa,EAsBvB;IA7HD;;;OAGG;IACH,sBAAiB;IAEjB;;;OAGG;IACH,sBAAsB;IAEtB;;;OAGG;IACH,YAAO;IAEP;;;OAGG;IACH,UAAK;IAEL;;;OAGG;IACH,WAFU,OAAO,CAEC;IAQlB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA+DE;IAkKF;;;;OAIG;IACH,0BAFa,IAAI,CAIhB;IADC,aAAsB;IAsBxB;;;OAGG;IACH,SAFa,IAAI,CAIhB;IAED;;;OAGG;IACH,iBAEC;IAED;;;OAGG;IACH,mBAEC;IAED;;;OAGG;IACH,oBAEC;IAED;;;OAGG;IACH,kBAFa,OAAO,CAInB;IAED;;;OAGG;IACH,mBAFa,OAAO,CAInB;IAED;;;OAGG;IACH,eAFa,WAAW,CAIvB;IAED;;;OAGG;IACH,aAFa,KAAK,CAAE,IAAI,CAAC,CAIxB;IAED;;;OAGG;IACH,aAEC;IAED;;;OAGG;IACH,WAEC;IAED;;;OAGG;IACH,8BAFW,MAAM,QAqChB;IAED;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ACN,MAAM;;;;WACN,MAAM,GAAG,IAAI;;;;;;cAIZ,WAAW;;;;eACX,MAAM;;;;iBACN,OAAO;;;;mBACP,QAAQ;;;;iBACR,MAAM;;;;cACN,MAAM;;;;WACN,IAAI;;;;YACJ,KAAK,CAAE,IAAI,CAAC;;;;;;;;;;;;;;;;mBAIZ,MAAM;;;;WACN,MAAM;;;;WACN,MAAM;;;;;;;;;;;;;;;;;;;;iBAKN,MAAM;;;;;;;;eAEN,OAAO;;;;;;;;;;;;;;;;uBAIP,OAAO;;;;wBACP,OAAO;;;;gBACP,OAAO;;;;YACP,MAAM;;;;kBACN,OAAO;;;;iBACP,OAAO;;;;;;;;;;;;uBAGP,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAsBP,OAAO;;;;mBACP,OAAO;;;;WACP,MAAM;;6BAjGS,mBAAmB"}
@@ -1 +1 @@
1
- {"version":3,"file":"InputRule.d.ts","sourceRoot":"","sources":["../../src/core/InputRule.js"],"names":[],"mappings":"AAUA;IAIE,yBAGC;IAND,WAAM;IACN,aAAQ;CAMT;AAgHM;;;gBAkHN;AAkCM,oDASN;uBA/RiC,mBAAmB"}
1
+ {"version":3,"file":"InputRule.d.ts","sourceRoot":"","sources":["../../src/core/InputRule.js"],"names":[],"mappings":"AAUA;IAIE,yBAGC;IAND,WAAM;IACN,aAAQ;CAMT;AAgHM;;;gBAyHN;AAkCM,oDASN;uBAtSiC,mBAAmB"}
@@ -3,18 +3,23 @@ export function processTables({ state, tr, annotationValues }: {
3
3
  editor: any;
4
4
  annotationValues: any[];
5
5
  }): any;
6
- export function annotateDocument({ annotationValues, hiddenFieldIds, schema, tr, editor, }: {
6
+ export function getAllHeaderFooterEditors(editor: Editor): any[];
7
+ export function annotateDocument({ annotationValues, hiddenFieldIds, removeEmptyFields, schema, tr, editor, }: {
7
8
  annotationValues?: any[];
8
9
  hiddenFieldIds?: any[];
10
+ removeEmptyFields?: boolean;
9
11
  schema: any;
10
12
  tr: any;
11
13
  editor: any;
12
14
  }): any;
13
- export namespace AnnotatorServices {
15
+ export namespace AnnotatorHelpers {
14
16
  export { getFieldAttrs };
15
17
  export { processTables };
16
18
  export { annotateDocument };
17
19
  export { annotateHeadersAndFooters };
20
+ export { getAllHeaderFooterEditors };
21
+ export { updateHeaderFooterFieldAnnotations };
22
+ export { deleteHeaderFooterFieldAnnotations };
18
23
  }
19
24
  /**
20
25
  * Annotate headers and footers in the document
@@ -25,10 +30,19 @@ export namespace AnnotatorServices {
25
30
  * @param {Array} param0.hiddenFieldIds List of field IDs to hide
26
31
  * @returns {void}
27
32
  */
28
- declare function annotateHeadersAndFooters({ editor, annotationValues, hiddenFieldIds }: {
33
+ declare function annotateHeadersAndFooters({ editor, annotationValues, hiddenFieldIds, removeEmptyFields }: {
29
34
  editor: any;
30
35
  annotationValues: any[];
31
36
  hiddenFieldIds: any[];
32
37
  }): void;
38
+ declare function updateHeaderFooterFieldAnnotations({ editor, fieldIdOrArray, attrs }: {
39
+ editor: any;
40
+ fieldIdOrArray: any;
41
+ attrs?: {};
42
+ }): void;
43
+ declare function deleteHeaderFooterFieldAnnotations({ editor, fieldIdOrArray }: {
44
+ editor: any;
45
+ fieldIdOrArray: any;
46
+ }): void;
33
47
  export {};
34
48
  //# sourceMappingURL=annotator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"annotator.d.ts","sourceRoot":"","sources":["../../../src/core/helpers/annotator.js"],"names":[],"mappings":"AAWO,uEAiBN;AAiCM,+DAHJ;IAAuB,MAAM;IACP,gBAAgB;CACxC,OAkBA;AAuIM;;;;;;QAsFN;;;;;;;AApID;;;;;;;;GAQG;AACH,yFALG;IAAuB,MAAM;IACP,gBAAgB;IAChB,cAAc;CACpC,GAAU,IAAI,CAqChB"}
1
+ {"version":3,"file":"annotator.d.ts","sourceRoot":"","sources":["../../../src/core/helpers/annotator.js"],"names":[],"mappings":"AAWO,uEAiBN;AAiCM,+DAHJ;IAAuB,MAAM;IACP,gBAAgB;CACxC,OAkBA;AA8FM,kDAHI,MAAM,GACJ,KAAQ,CAsCpB;AAwBM;;;;;;;QAyFN;;;;;;;;;;AA/GD;;;;;;;;GAQG;AACH,4GALG;IAAuB,MAAM;IACP,gBAAgB;IAChB,cAAc;CACpC,GAAU,IAAI,CAahB;AAuHD;;;;SAeC;AAED;;;SAeC"}
@@ -1,5 +1,5 @@
1
- import "./chunks/converter-Dm2_Htrh.js";
2
- import { D } from "./chunks/docx-zipper-CU11jH41.js";
1
+ import "./chunks/converter-CenRPnts.js";
2
+ import { D } from "./chunks/docx-zipper-DdgXH9QX.js";
3
3
  export {
4
4
  D as default
5
5
  };
@@ -1,6 +1,6 @@
1
- import { E } from "./chunks/editor-CISWiQkg.js";
2
- import "./chunks/converter-Dm2_Htrh.js";
3
- import "./chunks/docx-zipper-CU11jH41.js";
1
+ import { E } from "./chunks/editor-B44D-Ttm.js";
2
+ import "./chunks/converter-CenRPnts.js";
3
+ import "./chunks/docx-zipper-DdgXH9QX.js";
4
4
  export {
5
5
  E as Editor
6
6
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ai-nodes.d.ts","sourceRoot":"","sources":["../../../src/extensions/ai/ai-nodes.js"],"names":[],"mappings":"AAIA,+BAuCG"}
1
+ {"version":3,"file":"ai-nodes.d.ts","sourceRoot":"","sources":["../../../src/extensions/ai/ai-nodes.js"],"names":[],"mappings":"AAIA,+BAwCG"}
@@ -1 +1 @@
1
- {"version":3,"file":"bookmarks.d.ts","sourceRoot":"","sources":["../../../src/extensions/bookmarks/bookmarks.js"],"names":[],"mappings":"AAEA,gCAkCG"}
1
+ {"version":3,"file":"bookmarks.d.ts","sourceRoot":"","sources":["../../../src/extensions/bookmarks/bookmarks.js"],"names":[],"mappings":"AAEA,gCAsCG"}
@@ -1 +1 @@
1
- {"version":3,"file":"bullet-list.d.ts","sourceRoot":"","sources":["../../../src/extensions/bullet-list/bullet-list.js"],"names":[],"mappings":"AASA,6BAmFG"}
1
+ {"version":3,"file":"bullet-list.d.ts","sourceRoot":"","sources":["../../../src/extensions/bullet-list/bullet-list.js"],"names":[],"mappings":"AASA,6BAqFG"}
@@ -1 +1 @@
1
- {"version":3,"file":"collaboration-helpers.d.ts","sourceRoot":"","sources":["../../../src/extensions/collaboration/collaboration-helpers.js"],"names":[],"mappings":"AAMO,2CAHI,MAAM,GACJ,OAAO,CAAC,IAAI,CAAC,CAyBzB"}
1
+ {"version":3,"file":"collaboration-helpers.d.ts","sourceRoot":"","sources":["../../../src/extensions/collaboration/collaboration-helpers.js"],"names":[],"mappings":"AAMO,2CAHI,MAAM,GACJ,OAAO,CAAC,IAAI,CAAC,CAuBzB"}
@@ -1 +1 @@
1
- {"version":3,"file":"comment.d.ts","sourceRoot":"","sources":["../../../src/extensions/comment/comment.js"],"names":[],"mappings":"AAEA,oCAwCG;AAEH,kCAoCG;AAEH,mCAoCG"}
1
+ {"version":3,"file":"comment.d.ts","sourceRoot":"","sources":["../../../src/extensions/comment/comment.js"],"names":[],"mappings":"AAEA,oCAyCG;AAEH,kCAqCG;AAEH,mCAqCG"}
@@ -1 +1 @@
1
- {"version":3,"file":"document.d.ts","sourceRoot":"","sources":["../../../src/extensions/document/document.js"],"names":[],"mappings":"AAEA,2BAsBG"}
1
+ {"version":3,"file":"document.d.ts","sourceRoot":"","sources":["../../../src/extensions/document/document.js"],"names":[],"mappings":"AAEA,2BAuBG"}
@@ -1 +1 @@
1
- {"version":3,"file":"field-annotation.d.ts","sourceRoot":"","sources":["../../../src/extensions/field-annotation/field-annotation.js"],"names":[],"mappings":"AAQA,kCAAmC,iBAAiB,CAAC;AACrD,8BAA+B,YAAY,CAAC;AAC5C,qCAAsC,oBAAoB,CAAC;AAE3D,kCAs8BG"}
1
+ {"version":3,"file":"field-annotation.d.ts","sourceRoot":"","sources":["../../../src/extensions/field-annotation/field-annotation.js"],"names":[],"mappings":"AAQA,kCAAmC,iBAAiB,CAAC;AACrD,8BAA+B,YAAY,CAAC;AAC5C,qCAAsC,oBAAoB,CAAC;AAE3D,kCAu8BG"}
@@ -0,0 +1,2 @@
1
+ export function getHeaderFooterAnnotations(editor: any): any[];
2
+ //# sourceMappingURL=getHeaderFooterAnnotations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getHeaderFooterAnnotations.d.ts","sourceRoot":"","sources":["../../../../src/extensions/field-annotation/fieldAnnotationHelpers/getHeaderFooterAnnotations.js"],"names":[],"mappings":"AAOO,yDAFM,KAAQ,CAWpB"}
@@ -6,4 +6,5 @@ export * from "./findFirstFieldAnnotationByFieldId.js";
6
6
  export * from "./findFieldAnnotationsBetween.js";
7
7
  export * from "./findRemovedFieldAnnotations.js";
8
8
  export * from "./trackFieldAnnotationsDeletion.js";
9
+ export * from "./getHeaderFooterAnnotations.js";
9
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"heading.d.ts","sourceRoot":"","sources":["../../../src/extensions/heading/heading.js"],"names":[],"mappings":"AAEA,0BAoEG"}
1
+ {"version":3,"file":"heading.d.ts","sourceRoot":"","sources":["../../../src/extensions/heading/heading.js"],"names":[],"mappings":"AAEA,0BAsEG"}
@@ -1 +1 @@
1
- {"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../../src/extensions/image/image.js"],"names":[],"mappings":"AAIA,wBA4IG"}
1
+ {"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../../src/extensions/image/image.js"],"names":[],"mappings":"AAIA,wBA6IG"}
@@ -1 +1 @@
1
- {"version":3,"file":"line-break.d.ts","sourceRoot":"","sources":["../../../src/extensions/line-break/line-break.js"],"names":[],"mappings":"AAEA,4BAiBG;AAEH,4BAoCG"}
1
+ {"version":3,"file":"line-break.d.ts","sourceRoot":"","sources":["../../../src/extensions/line-break/line-break.js"],"names":[],"mappings":"AAEA,4BAiBG;AAEH,4BAsCG"}
@@ -1 +1 @@
1
- {"version":3,"file":"list-item.d.ts","sourceRoot":"","sources":["../../../src/extensions/list-item/list-item.js"],"names":[],"mappings":"AAKA,2BA+NG"}
1
+ {"version":3,"file":"list-item.d.ts","sourceRoot":"","sources":["../../../src/extensions/list-item/list-item.js"],"names":[],"mappings":"AAKA,2BAiOG"}
@@ -1 +1 @@
1
- {"version":3,"file":"mention.d.ts","sourceRoot":"","sources":["../../../src/extensions/mention/mention.js"],"names":[],"mappings":"AAEA,0BA+CG"}
1
+ {"version":3,"file":"mention.d.ts","sourceRoot":"","sources":["../../../src/extensions/mention/mention.js"],"names":[],"mappings":"AAEA,0BAgDG"}
@@ -1 +1 @@
1
- {"version":3,"file":"ordered-list.d.ts","sourceRoot":"","sources":["../../../src/extensions/ordered-list/ordered-list.js"],"names":[],"mappings":"AAYA,8BAiRG"}
1
+ {"version":3,"file":"ordered-list.d.ts","sourceRoot":"","sources":["../../../src/extensions/ordered-list/ordered-list.js"],"names":[],"mappings":"AAYA,8BAmRG"}
@@ -1 +1 @@
1
- {"version":3,"file":"page-number.d.ts","sourceRoot":"","sources":["../../../src/extensions/page-number/page-number.js"],"names":[],"mappings":"AAEA,6BAsBG;AAEH,iCAsBG"}
1
+ {"version":3,"file":"page-number.d.ts","sourceRoot":"","sources":["../../../src/extensions/page-number/page-number.js"],"names":[],"mappings":"AAEA,6BAuBG;AAEH,iCAuBG"}
@@ -1 +1 @@
1
- {"version":3,"file":"pagination-helpers.d.ts","sourceRoot":"","sources":["../../../src/extensions/pagination/pagination-helpers.js"],"names":[],"mappings":"AAKA,iDAAqE;AAQ9D,2CAHI,WAAW,OAuCrB;AA8BM;;;;;;;;QA8DN;AAEM,6EAeN;AAEM,0GAiBN;AAEM;;;8DAmBN;0BAtMyB,mBAAmB"}
1
+ {"version":3,"file":"pagination-helpers.d.ts","sourceRoot":"","sources":["../../../src/extensions/pagination/pagination-helpers.js"],"names":[],"mappings":"AAKA,iDAAqE;AAQ9D,2CAHI,WAAW,OAuCrB;AA8BM;;;;;;;;QAkEN;AAEM,6EAeN;AAEM,0GAoBN;AAEM;;;8DAmBN;0BA7MyB,mBAAmB"}
@@ -1 +1 @@
1
- {"version":3,"file":"run-item.d.ts","sourceRoot":"","sources":["../../../src/extensions/run-item/run-item.js"],"names":[],"mappings":"AAEA,0BAwBG"}
1
+ {"version":3,"file":"run-item.d.ts","sourceRoot":"","sources":["../../../src/extensions/run-item/run-item.js"],"names":[],"mappings":"AAEA,0BAyBG"}
@@ -1 +1 @@
1
- {"version":3,"file":"shape-container.d.ts","sourceRoot":"","sources":["../../../src/extensions/shape-container/shape-container.js"],"names":[],"mappings":"AAEA,iCA8DG"}
1
+ {"version":3,"file":"shape-container.d.ts","sourceRoot":"","sources":["../../../src/extensions/shape-container/shape-container.js"],"names":[],"mappings":"AAEA,iCA+DG"}
@@ -1 +1 @@
1
- {"version":3,"file":"shape-textbox.d.ts","sourceRoot":"","sources":["../../../src/extensions/shape-textbox/shape-textbox.js"],"names":[],"mappings":"AAEA,+BAwCG"}
1
+ {"version":3,"file":"shape-textbox.d.ts","sourceRoot":"","sources":["../../../src/extensions/shape-textbox/shape-textbox.js"],"names":[],"mappings":"AAEA,+BAyCG"}
@@ -1 +1 @@
1
- {"version":3,"file":"structured-content.d.ts","sourceRoot":"","sources":["../../../src/extensions/structured-content/structured-content.js"],"names":[],"mappings":"AAGA,oCAkCG"}
1
+ {"version":3,"file":"structured-content.d.ts","sourceRoot":"","sources":["../../../src/extensions/structured-content/structured-content.js"],"names":[],"mappings":"AAGA,oCAoCG"}
@@ -1 +1 @@
1
- {"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../../src/extensions/table/table.js"],"names":[],"mappings":"AAmCA,wBAkVG"}
1
+ {"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../../src/extensions/table/table.js"],"names":[],"mappings":"AAmCA,wBAoVG"}
@@ -1 +1 @@
1
- {"version":3,"file":"table-cell.d.ts","sourceRoot":"","sources":["../../../src/extensions/table-cell/table-cell.js"],"names":[],"mappings":"AAGA,4BAwHG"}
1
+ {"version":3,"file":"table-cell.d.ts","sourceRoot":"","sources":["../../../src/extensions/table-cell/table-cell.js"],"names":[],"mappings":"AAGA,4BA0HG"}
@@ -1 +1 @@
1
- {"version":3,"file":"table-header.d.ts","sourceRoot":"","sources":["../../../src/extensions/table-header/table-header.js"],"names":[],"mappings":"AAEA,8BAiDG"}
1
+ {"version":3,"file":"table-header.d.ts","sourceRoot":"","sources":["../../../src/extensions/table-header/table-header.js"],"names":[],"mappings":"AAEA,8BAmDG"}
@@ -1 +1 @@
1
- {"version":3,"file":"table-row.d.ts","sourceRoot":"","sources":["../../../src/extensions/table-row/table-row.js"],"names":[],"mappings":"AAEA,2BAgCG"}
1
+ {"version":3,"file":"table-row.d.ts","sourceRoot":"","sources":["../../../src/extensions/table-row/table-row.js"],"names":[],"mappings":"AAEA,2BAkCG"}
@@ -1,4 +1,4 @@
1
- import { J as JSZip } from "./chunks/docx-zipper-CU11jH41.js";
1
+ import { J as JSZip } from "./chunks/docx-zipper-DdgXH9QX.js";
2
2
  async function createZip(blobs, fileNames) {
3
3
  const zip = new JSZip();
4
4
  blobs.forEach((blob, index) => {
@@ -21,5 +21,5 @@ export namespace Extensions {
21
21
  import { TrackChangesBasePluginKey } from './extensions/track-changes/plugins/index.js';
22
22
  import { CommentsPluginKey } from './extensions/comment/comments-plugin.js';
23
23
  import { Plugin } from 'prosemirror-state';
24
- export { SuperConverter, DocxZipper, SuperToolbar, Editor, SuperEditor, SuperInput, BasicUpload, Toolbar, AIWriter, helpers, fieldAnnotationHelpers, trackChangesHelpers, getMarksFromSelection, getActiveFormatting, getStarterExtensions, getRichTextExtensions, createZip, getAllowedImageDimensions, TrackChangesBasePluginKey, CommentsPluginKey };
24
+ export { SuperConverter, DocxZipper, SuperToolbar, Editor, SuperEditor, SuperInput, BasicUpload, Toolbar, AIWriter, helpers, fieldAnnotationHelpers, trackChangesHelpers, AnnotatorHelpers, getMarksFromSelection, getActiveFormatting, getStarterExtensions, getRichTextExtensions, createZip, getAllowedImageDimensions, TrackChangesBasePluginKey, CommentsPluginKey };
25
25
  //# sourceMappingURL=index.d.ts.map