@harbour-enterprises/superdoc 0.19.0-next.1 → 0.19.0-next.3

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 (32) hide show
  1. package/dist/chunks/{PdfViewer-C2T9YTtR.cjs → PdfViewer-BXpR6HYz.cjs} +1 -1
  2. package/dist/chunks/{PdfViewer-DXueyp6G.es.js → PdfViewer-e5Sqf3uK.es.js} +1 -1
  3. package/dist/chunks/{index-DYPEIENP.es.js → index-Bgbca9Qo.es.js} +3 -3
  4. package/dist/chunks/{index-Do3Yz9zO.cjs → index-Dg8DEGbE.cjs} +3 -3
  5. package/dist/chunks/{super-editor.es-ehqZe3p-.cjs → super-editor.es-BbN2QJLe.cjs} +269 -190
  6. package/dist/chunks/{super-editor.es-BY32iqnX.es.js → super-editor.es-Dga1v3zZ.es.js} +269 -190
  7. package/dist/core/SuperDoc.d.ts.map +1 -1
  8. package/dist/super-editor/ai-writer.es.js +2 -2
  9. package/dist/super-editor/chunks/{converter-X9LxTGJB.js → converter-CMajoq-M.js} +226 -177
  10. package/dist/super-editor/chunks/{docx-zipper-CAu7OzVm.js → docx-zipper-C5rg6GNf.js} +1 -1
  11. package/dist/super-editor/chunks/{editor-DJIu60o8.js → editor-CH3sE8Fq.js} +45 -15
  12. package/dist/super-editor/chunks/{toolbar-DYCZq9kV.js → toolbar-BHnLBr61.js} +2 -2
  13. package/dist/super-editor/converter.es.js +1 -1
  14. package/dist/super-editor/docx-zipper.es.js +2 -2
  15. package/dist/super-editor/editor.es.js +3 -3
  16. package/dist/super-editor/file-zipper.es.js +1 -1
  17. package/dist/super-editor/src/core/super-converter/v2/importer/docxImporter.d.ts +2 -2
  18. package/dist/super-editor/src/core/super-converter/v2/importer/hyperlinkImporter.d.ts +2 -6
  19. package/dist/super-editor/src/core/super-converter/v3/handlers/utils.d.ts +1 -0
  20. package/dist/super-editor/src/core/super-converter/v3/handlers/w/hyperlink/hyperlink-translator.d.ts +7 -0
  21. package/dist/super-editor/src/core/super-converter/v3/handlers/w/hyperlink/index.d.ts +1 -0
  22. package/dist/super-editor/src/core/super-converter/v3/node-translator/node-translator.d.ts +2 -1
  23. package/dist/super-editor/src/extensions/link/link.d.ts +4 -0
  24. package/dist/super-editor/super-editor.es.js +6 -6
  25. package/dist/super-editor/toolbar.es.js +2 -2
  26. package/dist/super-editor.cjs +1 -1
  27. package/dist/super-editor.es.js +1 -1
  28. package/dist/superdoc.cjs +2 -2
  29. package/dist/superdoc.es.js +2 -2
  30. package/dist/superdoc.umd.js +270 -191
  31. package/dist/superdoc.umd.js.map +1 -1
  32. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- import { p as process$1, aw as commonjsGlobal, B as Buffer, ax as getDefaultExportFromCjs, ay as getContentTypesFromXml, az as xmljs } from "./converter-X9LxTGJB.js";
1
+ import { p as process$1, aw as commonjsGlobal, B as Buffer, ax as getDefaultExportFromCjs, ay as getContentTypesFromXml, az as xmljs } from "./converter-CMajoq-M.js";
2
2
  function commonjsRequire(path) {
3
3
  throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
4
4
  }
@@ -12,9 +12,9 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
12
12
  var _Attribute_static, getGlobalAttributes_fn, getNodeAndMarksAttributes_fn, _Schema_static, createNodesSchema_fn, createMarksSchema_fn, _events, _ExtensionService_instances, setupExtensions_fn, attachEditorEvents_fn, _editor, _stateValidators, _xmlValidators, _requiredNodeTypes, _requiredMarkTypes, _SuperValidator_instances, initializeValidators_fn, collectValidatorRequirements_fn, analyzeDocument_fn, _commandService, _Editor_instances, initContainerElement_fn, init_fn, initRichText_fn, onFocus_fn, checkHeadless_fn, insertNewFileData_fn, registerPluginByNameIfNotExists_fn, createExtensionService_fn, createCommandService_fn, createConverter_fn, initMedia_fn, initFonts_fn, createSchema_fn, generatePmData_fn, createView_fn, onCollaborationReady_fn, initComments_fn, initPagination_fn, dispatchTransaction_fn, handleNodeSelection_fn, prepareDocumentForImport_fn, prepareDocumentForExport_fn, endCollaboration_fn, validateDocumentInit_fn, validateDocumentExport_fn, initDevTools_fn, _ListItemNodeView_instances, init_fn2, _FieldAnnotationView_instances, createAnnotation_fn, _AutoPageNumberNodeView_instances, renderDom_fn, scheduleUpdateNodeStyle_fn, _DocumentSectionView_instances, init_fn3, addToolTip_fn;
13
13
  import * as Y from "yjs";
14
14
  import { UndoManager, Item as Item$1, ContentType, Text as Text$1, XmlElement, encodeStateAsUpdate } from "yjs";
15
- import { P as PluginKey, a as Plugin, M as Mapping, N as NodeSelection, S as Selection, T as TextSelection, b as Slice, D as DOMSerializer, F as Fragment, c as DOMParser$1, d as Mark$1, e as dropPoint, A as AllSelection, p as process$1, B as Buffer2, f as callOrGet, g as getExtensionConfigField, h as getMarkType, i as getMarksFromSelection, j as getNodeType, k as getSchemaTypeNameByName, l as Schema$1, m as cleanSchemaItem, n as canSplit, o as defaultBlockAt$1, q as liftTarget, r as canJoin, s as joinPoint, t as replaceStep$1, R as ReplaceAroundStep$1, u as isTextSelection, v as getMarkRange, w as isMarkActive, x as isNodeActive, y as deleteProps, z as processContent, C as ReplaceStep, E as NodeRange, G as findWrapping, L as ListHelpers, H as findParentNode, I as isMacOS, J as isIOS, K as getSchemaTypeByName, O as inputRulesPlugin, Q as TrackDeleteMarkName, U as TrackInsertMarkName, V as v4, W as TrackFormatMarkName, X as comments_module_events, Y as findMark, Z as objectIncludes, _ as AddMarkStep, $ as RemoveMarkStep, a0 as twipsToLines, a1 as pixelsToTwips, a2 as helpers, a3 as posToDOMRect, a4 as CommandService, a5 as SuperConverter, a6 as createDocument, a7 as createDocFromMarkdown, a8 as createDocFromHTML, a9 as EditorState, aa as hasSomeParentWithClass, ab as isActive, ac as unflattenListsInHtml, ad as parseSizeUnit, ae as minMax, af as getLineHeightValueString, ag as InputRule, ah as kebabCase, ai as findParentNodeClosestToPos, aj as getListItemStyleDefinitions, ak as docxNumberigHelpers, al as parseIndentElement, am as combineIndents, an as StepMap, ao as getColStyleDeclaration, ap as SelectionRange, aq as Transform, ar as isInTable$1, as as createColGroup, at as generateDocxRandomId, au as insertNewRelationship, av as htmlHandler } from "./converter-X9LxTGJB.js";
15
+ import { P as PluginKey, a as Plugin, M as Mapping, N as NodeSelection, S as Selection, T as TextSelection, b as Slice, D as DOMSerializer, F as Fragment, c as DOMParser$1, d as Mark$1, e as dropPoint, A as AllSelection, p as process$1, B as Buffer2, f as callOrGet, g as getExtensionConfigField, h as getMarkType, i as getMarksFromSelection, j as getNodeType, k as getSchemaTypeNameByName, l as Schema$1, m as cleanSchemaItem, n as canSplit, o as defaultBlockAt$1, q as liftTarget, r as canJoin, s as joinPoint, t as replaceStep$1, R as ReplaceAroundStep$1, u as isTextSelection, v as getMarkRange, w as isMarkActive, x as isNodeActive, y as deleteProps, z as processContent, C as ReplaceStep, E as NodeRange, G as findWrapping, L as ListHelpers, H as findParentNode, I as isMacOS, J as isIOS, K as getSchemaTypeByName, O as inputRulesPlugin, Q as TrackDeleteMarkName, U as TrackInsertMarkName, V as v4, W as TrackFormatMarkName, X as comments_module_events, Y as findMark, Z as objectIncludes, _ as AddMarkStep, $ as RemoveMarkStep, a0 as twipsToLines, a1 as pixelsToTwips, a2 as helpers, a3 as posToDOMRect, a4 as CommandService, a5 as SuperConverter, a6 as createDocument, a7 as createDocFromMarkdown, a8 as createDocFromHTML, a9 as EditorState, aa as hasSomeParentWithClass, ab as isActive, ac as unflattenListsInHtml, ad as parseSizeUnit, ae as minMax, af as getLineHeightValueString, ag as InputRule, ah as kebabCase, ai as findParentNodeClosestToPos, aj as getListItemStyleDefinitions, ak as docxNumberigHelpers, al as parseIndentElement, am as combineIndents, an as StepMap, ao as getColStyleDeclaration, ap as SelectionRange, aq as Transform, ar as isInTable$1, as as createColGroup, at as generateDocxRandomId, au as insertNewRelationship, av as htmlHandler } from "./converter-CMajoq-M.js";
16
16
  import { ref, computed, createElementBlock, openBlock, withModifiers, Fragment as Fragment$1, renderList, normalizeClass, createCommentVNode, toDisplayString, createElementVNode, createApp } from "vue";
17
- import { D as DocxZipper } from "./docx-zipper-CAu7OzVm.js";
17
+ import { D as DocxZipper } from "./docx-zipper-C5rg6GNf.js";
18
18
  var GOOD_LEAF_SIZE = 200;
19
19
  var RopeSequence = function RopeSequence2() {
20
20
  };
@@ -13348,8 +13348,8 @@ function ensureValidLinkRID(links, editor, tr, logger) {
13348
13348
  let modified = false;
13349
13349
  const results = [];
13350
13350
  links.forEach(({ mark, from: from2, to }) => {
13351
- const { rId, href } = mark.attrs;
13352
- if (!rId && href) {
13351
+ const { rId, href, anchor } = mark.attrs;
13352
+ if (!rId && href && !anchor) {
13353
13353
  let newId = editor.converter.docxHelpers.findRelationshipIdFromTarget(href, editor);
13354
13354
  if (newId) logger.debug("Reusing existing rId for link:", newId, "from pos:", from2, "to pos:", to);
13355
13355
  if (!newId) {
@@ -14668,7 +14668,7 @@ const _Editor = class _Editor extends EventEmitter {
14668
14668
  * @returns {Object | void} Migration results
14669
14669
  */
14670
14670
  processCollaborationMigrations() {
14671
- console.debug("[checkVersionMigrations] Current editor version", "0.19.0-next.0");
14671
+ console.debug("[checkVersionMigrations] Current editor version", "0.18.1");
14672
14672
  if (!this.options.ydoc) return;
14673
14673
  const metaMap = this.options.ydoc.getMap("meta");
14674
14674
  let docVersion = metaMap.get("version");
@@ -25231,11 +25231,7 @@ const ContentBlock = Node$1.create({
25231
25231
  ];
25232
25232
  },
25233
25233
  renderDOM({ htmlAttributes }) {
25234
- return [
25235
- "div",
25236
- Attribute.mergeAttributes(this.options.htmlAttributes, htmlAttributes, { "data-type": this.name }),
25237
- 0
25238
- ];
25234
+ return ["div", Attribute.mergeAttributes(this.options.htmlAttributes, htmlAttributes, { "data-type": this.name })];
25239
25235
  },
25240
25236
  addCommands() {
25241
25237
  return {
@@ -26336,9 +26332,10 @@ const Link = Mark.create({
26336
26332
  */
26337
26333
  protocols: ["http", "https"],
26338
26334
  htmlAttributes: {
26339
- target: "_blank",
26335
+ target: null,
26340
26336
  rel: "noopener noreferrer nofollow",
26341
- class: null
26337
+ class: null,
26338
+ title: null
26342
26339
  }
26343
26340
  };
26344
26341
  },
@@ -26367,9 +26364,16 @@ const Link = Mark.create({
26367
26364
  },
26368
26365
  /**
26369
26366
  * @category Attribute
26370
- * @param {string} [target='_blank'] - Link target window
26367
+ * @param {TargetFrameOptions} [target='_blank'] - Link target window
26371
26368
  */
26372
- target: { default: this.options.htmlAttributes.target },
26369
+ target: {
26370
+ default: this.options.htmlAttributes.target,
26371
+ renderDOM: ({ target, href }) => {
26372
+ if (target) return { target };
26373
+ else if (href && !href.startsWith("#")) return { target: "_blank" };
26374
+ return {};
26375
+ }
26376
+ },
26373
26377
  /**
26374
26378
  * @category Attribute
26375
26379
  * @param {string} [rel='noopener noreferrer nofollow'] - Relationship attributes
@@ -26390,7 +26394,33 @@ const Link = Mark.create({
26390
26394
  * @category Attribute
26391
26395
  * @param {string} [name] - Anchor name for internal references
26392
26396
  */
26393
- name: { default: null }
26397
+ name: { default: null },
26398
+ /**
26399
+ * @category Attribute
26400
+ * @param {boolean} [history] - Specifies whether the target of the hyperlink shall be added to a list of viewed hyperlinks when it is invoked.
26401
+ */
26402
+ history: { default: true, rendered: false },
26403
+ /**
26404
+ * @category Attribute
26405
+ * @param {string|null} [anchor] - Specifies the name of a bookmark that is the target of this link. If the rId and href attributes are specified, then this attribute is ignored.
26406
+ */
26407
+ anchor: { rendered: false },
26408
+ /**
26409
+ * @category Attribute
26410
+ * @param {string|null} [docLocation] - Specifies a location in the target of the hyperlink.
26411
+ */
26412
+ docLocation: { rendered: false },
26413
+ /**
26414
+ * @category Attribute
26415
+ * @param {string|null} [tooltip] - A tooltip for the link
26416
+ */
26417
+ tooltip: {
26418
+ default: null,
26419
+ renderDOM: ({ tooltip }) => {
26420
+ if (tooltip) return { title: tooltip };
26421
+ return {};
26422
+ }
26423
+ }
26394
26424
  };
26395
26425
  },
26396
26426
  addCommands() {
@@ -1,6 +1,6 @@
1
1
  import { computed, createElementBlock, openBlock, createElementVNode, createCommentVNode, normalizeClass, normalizeStyle, ref, withKeys, unref, withModifiers, createBlock, toDisplayString, withDirectives, vModelText, nextTick, getCurrentInstance, createVNode, readonly, watch, onMounted, onBeforeUnmount, reactive, onBeforeMount, inject, onActivated, onDeactivated, createTextVNode, Fragment, Comment, defineComponent, provide, h, Teleport, toRef, renderSlot, isVNode, shallowRef, watchEffect, mergeProps, Transition, vShow, cloneVNode, Text, renderList, withCtx } from "vue";
2
- import { p as process$1 } from "./converter-X9LxTGJB.js";
3
- import { _ as _export_sfc, u as useHighContrastMode, g as global$1 } from "./editor-DJIu60o8.js";
2
+ import { p as process$1 } from "./converter-CMajoq-M.js";
3
+ import { _ as _export_sfc, u as useHighContrastMode, g as global$1 } from "./editor-CH3sE8Fq.js";
4
4
  const sanitizeNumber = (value, defaultNumber) => {
5
5
  let sanitized = value.replace(/[^0-9.]/g, "");
6
6
  sanitized = parseFloat(sanitized);
@@ -1,4 +1,4 @@
1
- import { a5 } from "./chunks/converter-X9LxTGJB.js";
1
+ import { a5 } from "./chunks/converter-CMajoq-M.js";
2
2
  import "vue";
3
3
  export {
4
4
  a5 as SuperConverter
@@ -1,5 +1,5 @@
1
- import "./chunks/converter-X9LxTGJB.js";
2
- import { D } from "./chunks/docx-zipper-CAu7OzVm.js";
1
+ import "./chunks/converter-CMajoq-M.js";
2
+ import { D } from "./chunks/docx-zipper-C5rg6GNf.js";
3
3
  export {
4
4
  D as default
5
5
  };
@@ -1,6 +1,6 @@
1
- import { E } from "./chunks/editor-DJIu60o8.js";
2
- import "./chunks/converter-X9LxTGJB.js";
3
- import "./chunks/docx-zipper-CAu7OzVm.js";
1
+ import { E } from "./chunks/editor-CH3sE8Fq.js";
2
+ import "./chunks/converter-CMajoq-M.js";
3
+ import "./chunks/docx-zipper-C5rg6GNf.js";
4
4
  export {
5
5
  E as Editor
6
6
  };
@@ -1,4 +1,4 @@
1
- import { J as JSZip } from "./chunks/docx-zipper-CAu7OzVm.js";
1
+ import { J as JSZip } from "./chunks/docx-zipper-C5rg6GNf.js";
2
2
  async function createZip(blobs, fileNames) {
3
3
  const zip = new JSZip();
4
4
  blobs.forEach((blob, index) => {
@@ -52,12 +52,12 @@ export type PmMarkJson = {
52
52
  type: string;
53
53
  attrs: {};
54
54
  };
55
- export type NodeListHandlerFn = (nodes: XmlNode[], docx: ParsedDocx, insideTrackCahange: boolean) => PmNodeJson[];
55
+ export type NodeListHandlerFn = (nodes: XmlNode[], docx: ParsedDocx, insideTrackChange: boolean) => PmNodeJson[];
56
56
  export type NodeListHandler = {
57
57
  handler: NodeListHandlerFn;
58
58
  handlerEntities: NodeHandlerEntry[];
59
59
  };
60
- export type NodeHandler = (nodes: XmlNode[], docx: ParsedDocx, nodeListHandler: NodeListHandler, insideTrackCahange: boolean) => {
60
+ export type NodeHandler = (nodes: XmlNode[], docx: ParsedDocx, nodeListHandler: NodeListHandler, insideTrackChange: boolean) => {
61
61
  nodes: PmNodeJson[];
62
62
  consumed: number;
63
63
  };
@@ -1,8 +1,4 @@
1
1
  /**
2
- * @type {import("docxImporter").NodeHandler}
2
+ * @type {import("./docxImporter").NodeHandlerEntry}
3
3
  */
4
- export const handleHyperlinkNode: any;
5
- /**
6
- * @type {import("docxImporter").NodeHandlerEntry}
7
- */
8
- export const hyperlinkNodeHandlerEntity: any;
4
+ export const hyperlinkNodeHandlerEntity: import("./docxImporter").NodeHandlerEntry;
@@ -0,0 +1 @@
1
+ export function generateV2HandlerEntity(handlerName: string, translator: import("../node-translator/").NodeTranslator): import("../../v2/importer/docxImporter").NodeHandlerEntry;
@@ -0,0 +1,7 @@
1
+ /** @type {import('@translator').NodeTranslatorConfig} */
2
+ export const config: import("@translator").NodeTranslatorConfig;
3
+ /**
4
+ * The NodeTranslator instance for the passthrough element.
5
+ * @type {import('@translator').NodeTranslator}
6
+ */
7
+ export const translator: import("@translator").NodeTranslator;
@@ -0,0 +1 @@
1
+ export * from "./hyperlink-translator.js";
@@ -21,7 +21,7 @@ export const TranslatorTypes: Readonly<{
21
21
  */
22
22
  /** @typedef {import('../../v2/importer/types').NodeHandlerParams} SCEncoderConfig */
23
23
  /** @typedef {import('../../v2/types').SuperDocNode} SCEncoderResult */
24
- /** @typedef {{ node: { attrs?: any, marks?: any[], type: string }, children?: any[] }} SCDecoderConfig */
24
+ /** @typedef {{ node: { attrs?: any, marks?: any[], type: string }, children?: any[], relationships?: any[] }} SCDecoderConfig */
25
25
  /** @typedef {{ name: string, elements: any[] }} SCDecoderResult */
26
26
  /**
27
27
  * @callback NodeTranslatorEncodeFn
@@ -152,6 +152,7 @@ export type SCDecoderConfig = {
152
152
  type: string;
153
153
  };
154
154
  children?: any[];
155
+ relationships?: any[];
155
156
  };
156
157
  export type SCDecoderResult = {
157
158
  name: string;
@@ -34,4 +34,8 @@ export type LinkAttributes = {
34
34
  */
35
35
  name?: string;
36
36
  };
37
+ /**
38
+ * Target frame options
39
+ */
40
+ export type TargetFrameOptions = "_top" | "_self" | "_parent" | "_blank" | string;
37
41
  import { Mark } from '@core/index.js';
@@ -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, runCommandWithArgumentOnly_fn;
12
- import { ax as getDefaultExportFromCjs, V as v4, T as TextSelection$1, v as getMarkRange, aA as vClickOutside, H as findParentNode, aB as getActiveFormatting, ar as isInTable, aC as readFromClipboard, aD as handleClipboardPaste, aE as getFileObject, aF as translator, aG as translator$1, aH as translator$2, a as Plugin } from "./chunks/converter-X9LxTGJB.js";
13
- import { aI, a5, i, a2 } from "./chunks/converter-X9LxTGJB.js";
14
- import { _ as _export_sfc, u as useHighContrastMode, a as getQuickFormatList, b as generateLinkedStyleString, c as getFileOpener, s as startImageUpload, y as yUndoPluginKey, d as undoDepth, r as redoDepth, S as SlashMenuPluginKey, E as Editor, e as getStarterExtensions, P as Placeholder, f as getRichTextExtensions, M as Mark, h as Extension, A as Attribute, N as Node } from "./chunks/editor-DJIu60o8.js";
15
- import { k, C, l, T, i as i2, m, j } from "./chunks/editor-DJIu60o8.js";
12
+ import { ax as getDefaultExportFromCjs, V as v4, T as TextSelection$1, v as getMarkRange, aA as vClickOutside, H as findParentNode, aB as getActiveFormatting, ar as isInTable, aC as readFromClipboard, aD as handleClipboardPaste, aE as getFileObject, aF as translator, aG as translator$1, aH as translator$2, a as Plugin } from "./chunks/converter-CMajoq-M.js";
13
+ import { aI, a5, i, a2 } from "./chunks/converter-CMajoq-M.js";
14
+ import { _ as _export_sfc, u as useHighContrastMode, a as getQuickFormatList, b as generateLinkedStyleString, c as getFileOpener, s as startImageUpload, y as yUndoPluginKey, d as undoDepth, r as redoDepth, S as SlashMenuPluginKey, E as Editor, e as getStarterExtensions, P as Placeholder, f as getRichTextExtensions, M as Mark, h as Extension, A as Attribute, N as Node } from "./chunks/editor-CH3sE8Fq.js";
15
+ import { k, C, l, T, i as i2, m, j } from "./chunks/editor-CH3sE8Fq.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, reactive, onUnmounted, renderSlot, shallowRef, createBlock, withCtx, resolveDynamicComponent, normalizeProps, guardReactiveProps } from "vue";
17
- import { t as toolbarIcons, s as sanitizeNumber, T as Toolbar, m as magicWandIcon, p as plusIconSvg, a as trashIconSvg, l as linkIconSvg, b as tableIconSvg, c as scissorsIconSvg, d as copyIconSvg, e as pasteIconSvg, f as borderNoneIconSvg, g as arrowsToDotIconSvg, h as arrowsLeftRightIconSvg, w as wrenchIconSvg, u as useMessage, N as NSkeleton } from "./chunks/toolbar-DYCZq9kV.js";
17
+ import { t as toolbarIcons, s as sanitizeNumber, T as Toolbar, m as magicWandIcon, p as plusIconSvg, a as trashIconSvg, l as linkIconSvg, b as tableIconSvg, c as scissorsIconSvg, d as copyIconSvg, e as pasteIconSvg, f as borderNoneIconSvg, g as arrowsToDotIconSvg, h as arrowsLeftRightIconSvg, w as wrenchIconSvg, u as useMessage, N as NSkeleton } from "./chunks/toolbar-BHnLBr61.js";
18
18
  import AIWriter from "./ai-writer.es.js";
19
- import { D } from "./chunks/docx-zipper-CAu7OzVm.js";
19
+ import { D } from "./chunks/docx-zipper-C5rg6GNf.js";
20
20
  import { createZip } from "./file-zipper.es.js";
21
21
  var eventemitter3 = { exports: {} };
22
22
  var hasRequiredEventemitter3;
@@ -1,6 +1,6 @@
1
1
  import "vue";
2
- import { T } from "./chunks/toolbar-DYCZq9kV.js";
3
- import "./chunks/editor-DJIu60o8.js";
2
+ import { T } from "./chunks/toolbar-BHnLBr61.js";
3
+ import "./chunks/editor-CH3sE8Fq.js";
4
4
  export {
5
5
  T as default
6
6
  };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const superEditor_es = require("./chunks/super-editor.es-ehqZe3p-.cjs");
3
+ const superEditor_es = require("./chunks/super-editor.es-BbN2QJLe.cjs");
4
4
  require("./chunks/vue-DWle4Cai.cjs");
5
5
  exports.AIWriter = superEditor_es.AIWriter;
6
6
  exports.AnnotatorHelpers = superEditor_es.AnnotatorHelpers;
@@ -1,4 +1,4 @@
1
- import { A, a, _, C, D, E, b, S, c, d, e, f, g, T, h, i, j, k, l, m, n, o, p, r, q } from "./chunks/super-editor.es-BY32iqnX.es.js";
1
+ import { A, a, _, C, D, E, b, S, c, d, e, f, g, T, h, i, j, k, l, m, n, o, p, r, q } from "./chunks/super-editor.es-Dga1v3zZ.es.js";
2
2
  import "./chunks/vue-CXxsqYcP.es.js";
3
3
  export {
4
4
  A as AIWriter,
package/dist/superdoc.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const superEditor_es = require("./chunks/super-editor.es-ehqZe3p-.cjs");
4
- const superdoc = require("./chunks/index-Do3Yz9zO.cjs");
3
+ const superEditor_es = require("./chunks/super-editor.es-BbN2QJLe.cjs");
4
+ const superdoc = require("./chunks/index-Dg8DEGbE.cjs");
5
5
  require("./chunks/vue-DWle4Cai.cjs");
6
6
  require("./chunks/jszip-b7l8QkfH.cjs");
7
7
  const blankDocx = require("./chunks/blank-docx-CPqX9RF5.cjs");
@@ -1,5 +1,5 @@
1
- import { a, E, b, S, d, i, j, n, r, p, q } from "./chunks/super-editor.es-BY32iqnX.es.js";
2
- import { D, H, P, S as S2, m, l } from "./chunks/index-DYPEIENP.es.js";
1
+ import { a, E, b, S, d, i, j, n, r, p, q } from "./chunks/super-editor.es-Dga1v3zZ.es.js";
2
+ import { D, H, P, S as S2, m, l } from "./chunks/index-Bgbca9Qo.es.js";
3
3
  import "./chunks/vue-CXxsqYcP.es.js";
4
4
  import "./chunks/jszip-B8KIZSNe.es.js";
5
5
  import { B } from "./chunks/blank-docx-iwdyG9RH.es.js";