@harbour-enterprises/superdoc 0.12.30 → 0.12.31-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 (54) hide show
  1. package/dist/chunks/{super-editor.es-J7K_8fA3.es.js → super-editor.es-Bt5pMkY-.es.js} +500 -236
  2. package/dist/chunks/{super-editor.es-0mAzj58N.cjs → super-editor.es-CzfjXQ8V.cjs} +499 -235
  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/style.css +299 -245
  9. package/dist/super-editor/ai-writer.es.js +2 -2
  10. package/dist/super-editor/chunks/{converter-BSr2Ue72.js → converter-LyqpytFD.js} +2 -2
  11. package/dist/super-editor/chunks/{docx-zipper-BCUCSdEs.js → docx-zipper-CSx2w--M.js} +1 -1
  12. package/dist/super-editor/chunks/{editor-DOwVVn_i.js → editor-czvDp00c.js} +96 -35
  13. package/dist/super-editor/chunks/{toolbar-hUPYR8un.js → toolbar-BnvzLMKn.js} +80 -36
  14. package/dist/super-editor/components/toolbar/defaultItems.d.ts.map +1 -1
  15. package/dist/super-editor/composables/use-high-contrast-mode.d.ts +5 -0
  16. package/dist/super-editor/composables/use-high-contrast-mode.d.ts.map +1 -0
  17. package/dist/super-editor/converter.es.js +1 -1
  18. package/dist/super-editor/core/Editor.d.ts +1 -0
  19. package/dist/super-editor/core/Editor.d.ts.map +1 -1
  20. package/dist/super-editor/docx-zipper.es.js +2 -2
  21. package/dist/super-editor/editor.es.js +3 -3
  22. package/dist/super-editor/extensions/ai/ai-nodes.d.ts.map +1 -1
  23. package/dist/super-editor/extensions/bookmarks/bookmarks.d.ts.map +1 -1
  24. package/dist/super-editor/extensions/bullet-list/bullet-list.d.ts.map +1 -1
  25. package/dist/super-editor/extensions/comment/comment.d.ts.map +1 -1
  26. package/dist/super-editor/extensions/document/document.d.ts.map +1 -1
  27. package/dist/super-editor/extensions/field-annotation/field-annotation.d.ts.map +1 -1
  28. package/dist/super-editor/extensions/heading/heading.d.ts.map +1 -1
  29. package/dist/super-editor/extensions/image/image.d.ts.map +1 -1
  30. package/dist/super-editor/extensions/line-break/line-break.d.ts.map +1 -1
  31. package/dist/super-editor/extensions/list-item/list-item.d.ts.map +1 -1
  32. package/dist/super-editor/extensions/mention/mention.d.ts.map +1 -1
  33. package/dist/super-editor/extensions/ordered-list/ordered-list.d.ts.map +1 -1
  34. package/dist/super-editor/extensions/page-number/page-number.d.ts.map +1 -1
  35. package/dist/super-editor/extensions/pagination/pagination-helpers.d.ts.map +1 -1
  36. package/dist/super-editor/extensions/run-item/run-item.d.ts.map +1 -1
  37. package/dist/super-editor/extensions/shape-container/shape-container.d.ts.map +1 -1
  38. package/dist/super-editor/extensions/shape-textbox/shape-textbox.d.ts.map +1 -1
  39. package/dist/super-editor/extensions/structured-content/structured-content.d.ts.map +1 -1
  40. package/dist/super-editor/extensions/table/table.d.ts.map +1 -1
  41. package/dist/super-editor/extensions/table-cell/table-cell.d.ts.map +1 -1
  42. package/dist/super-editor/extensions/table-header/table-header.d.ts.map +1 -1
  43. package/dist/super-editor/extensions/table-row/table-row.d.ts.map +1 -1
  44. package/dist/super-editor/file-zipper.es.js +1 -1
  45. package/dist/super-editor/style.css +243 -196
  46. package/dist/super-editor/super-editor.es.js +334 -174
  47. package/dist/super-editor/toolbar.es.js +2 -2
  48. package/dist/super-editor.cjs +1 -1
  49. package/dist/super-editor.es.js +1 -1
  50. package/dist/superdoc.cjs +34 -9
  51. package/dist/superdoc.es.js +35 -10
  52. package/dist/superdoc.umd.js +536 -247
  53. package/dist/superdoc.umd.js.map +1 -1
  54. package/package.json +2 -1
@@ -1,6 +1,6 @@
1
1
  import * as Y from "yjs";
2
2
  import { UndoManager, Item as Item$2, ContentType, Text as Text$1, XmlElement, encodeStateAsUpdate } from "yjs";
3
- import { g as global$2, c as createApp, r as ref$1, a as computed, b as createElementBlock, o as openBlock, F as Fragment$1, d as renderList, n as normalizeClass, w as withModifiers, e as createCommentVNode, t as toDisplayString, f as createBaseVNode, i as inject, h as onBeforeMount, j as onMounted, k as onBeforeUnmount, l as watch, m as defineComponent, q as getCurrentInstance, s as onDeactivated, u as nextTick, v as createBlock, x as createVNode, y as unref, z as withCtx, A as createTextVNode, B as normalizeStyle, C as h, D as toRef, E as provide, G as mergeProps, H as cloneVNode, T as Text$2, I as withDirectives, J as watchEffect, K as shallowRef, L as vModelText, M as withKeys, N as reactive, O as readonly, P as Transition, Q as vShow, R as Comment, S as renderSlot, U as onActivated, V as Teleport, W as isVNode, X as onUnmounted } from "./vue-IIIZMHTg.es.js";
3
+ import { g as global$2, r as ref$1, c as createApp, a as computed, b as createElementBlock, o as openBlock, F as Fragment$1, d as renderList, n as normalizeClass, w as withModifiers, e as createCommentVNode, t as toDisplayString, f as createBaseVNode, i as inject, h as onBeforeMount, j as onMounted, k as onBeforeUnmount, l as watch, m as defineComponent, q as getCurrentInstance, s as onDeactivated, u as nextTick, v as createBlock, x as createVNode, y as unref, z as withCtx, A as createTextVNode, B as normalizeStyle, C as h, D as toRef, E as provide, G as mergeProps, H as cloneVNode, T as Text$2, I as withDirectives, J as watchEffect, K as shallowRef, L as vModelText, M as withKeys, N as reactive, O as readonly, P as Transition, Q as vShow, R as Comment, S as renderSlot, U as onActivated, V as Teleport, W as isVNode, X as onUnmounted } from "./vue-IIIZMHTg.es.js";
4
4
  var __defProp$2 = Object.defineProperty;
5
5
  var __typeError$2 = (msg2) => {
6
6
  throw TypeError(msg2);
@@ -23290,7 +23290,7 @@ const _SuperConverter = class _SuperConverter2 {
23290
23290
  return;
23291
23291
  }
23292
23292
  }
23293
- static updateDocumentVersion(docx = this.convertedXml, version2 = "0.12.30") {
23293
+ static updateDocumentVersion(docx = this.convertedXml, version2 = "0.12.31-next.1") {
23294
23294
  const customLocation = "docProps/custom.xml";
23295
23295
  if (!docx[customLocation]) {
23296
23296
  docx[customLocation] = generateCustomXml();
@@ -23756,7 +23756,7 @@ function storeSuperdocVersion(docx) {
23756
23756
  function generateCustomXml() {
23757
23757
  return DEFAULT_CUSTOM_XML;
23758
23758
  }
23759
- function generateSuperdocVersion(pid = 2, version2 = "0.12.30") {
23759
+ function generateSuperdocVersion(pid = 2, version2 = "0.12.31-next.1") {
23760
23760
  return {
23761
23761
  type: "element",
23762
23762
  name: "property",
@@ -39101,6 +39101,9 @@ const createHeaderFooterEditor = ({
39101
39101
  pm.style.minHeight = "100%";
39102
39102
  pm.style.outline = "none";
39103
39103
  pm.style.border = "none";
39104
+ pm.setAttribute("role", "textbox");
39105
+ pm.setAttribute("aria-multiline", true);
39106
+ pm.setAttribute("aria-label", `${type2} content area. Double click to start typing.`);
39104
39107
  return headerFooterEditor;
39105
39108
  };
39106
39109
  const broadcastEditorEvents = (editor, sectionEditor) => {
@@ -39122,13 +39125,16 @@ const broadcastEditorEvents = (editor, sectionEditor) => {
39122
39125
  const toggleHeaderFooterEditMode = (editor, focusedSectionEditor, isEditMode) => {
39123
39126
  editor.converter.headerEditors.forEach((item) => {
39124
39127
  item.editor.setEditable(isEditMode, false);
39128
+ item.editor.view.dom.setAttribute("aria-readonly", !isEditMode);
39125
39129
  });
39126
39130
  editor.converter.footerEditors.forEach((item) => {
39127
39131
  item.editor.setEditable(isEditMode, false);
39132
+ item.editor.view.dom.setAttribute("aria-readonly", !isEditMode);
39128
39133
  });
39129
39134
  if (isEditMode) {
39130
39135
  const pm = document.querySelector(".ProseMirror");
39131
39136
  pm.classList.add("header-footer-edit");
39137
+ pm.setAttribute("aria-readonly", true);
39132
39138
  }
39133
39139
  if (focusedSectionEditor) {
39134
39140
  focusedSectionEditor.view.focus();
@@ -40316,6 +40322,16 @@ const generateCollaborationData = (editor) => {
40316
40322
  initializeMetaMap(ydoc, editor);
40317
40323
  return encodeStateAsUpdate(ydoc);
40318
40324
  };
40325
+ const isHighContrastMode = ref$1(false);
40326
+ function useHighContrastMode() {
40327
+ const setHighContrastMode = (value) => {
40328
+ isHighContrastMode.value = value;
40329
+ };
40330
+ return {
40331
+ isHighContrastMode,
40332
+ setHighContrastMode
40333
+ };
40334
+ }
40319
40335
  const _Editor = class _Editor2 extends EventEmitter$1 {
40320
40336
  /**
40321
40337
  * Create a new Editor instance
@@ -40408,6 +40424,8 @@ const _Editor = class _Editor2 extends EventEmitter$1 {
40408
40424
  }
40409
40425
  };
40410
40426
  let initMode = modes[this.options.mode] ?? modes.default;
40427
+ const { setHighContrastMode } = useHighContrastMode();
40428
+ this.setHighContrastMode = setHighContrastMode;
40411
40429
  initMode();
40412
40430
  }
40413
40431
  /**
@@ -40704,6 +40722,10 @@ const _Editor = class _Editor2 extends EventEmitter$1 {
40704
40722
  if (!proseMirror || !pageSize || !pageMargins) {
40705
40723
  return;
40706
40724
  }
40725
+ proseMirror.setAttribute("role", "document");
40726
+ proseMirror.setAttribute("aria-multiline", true);
40727
+ proseMirror.setAttribute("aria-label", "Main content area, start typing to enter text.");
40728
+ proseMirror.setAttribute("aria-description", "");
40707
40729
  element.style.width = pageSize.width + "in";
40708
40730
  element.style.minWidth = pageSize.width + "in";
40709
40731
  element.style.minHeight = pageSize.height + "in";
@@ -40955,7 +40977,7 @@ const _Editor = class _Editor2 extends EventEmitter$1 {
40955
40977
  * @returns {Object | void} Migration results
40956
40978
  */
40957
40979
  processCollaborationMigrations() {
40958
- console.debug("[checkVersionMigrations] Current editor version", "0.12.30");
40980
+ console.debug("[checkVersionMigrations] Current editor version", "0.12.31-next.1");
40959
40981
  if (!this.options.ydoc) return;
40960
40982
  const metaMap = this.options.ydoc.getMap("meta");
40961
40983
  let docVersion = metaMap.get("version");
@@ -41319,6 +41341,7 @@ createView_fn = function() {
41319
41341
  toggleHeaderFooterEditMode(this, null, false);
41320
41342
  const pm = document.querySelector(".ProseMirror");
41321
41343
  pm.classList.remove("header-footer-edit");
41344
+ pm.setAttribute("aria-readonly", false);
41322
41345
  }
41323
41346
  }
41324
41347
  });
@@ -42291,7 +42314,8 @@ const AiLoaderNode = Node$1.create({
42291
42314
  return {
42292
42315
  htmlAttributes: {
42293
42316
  class: "sd-ai-loader",
42294
- contentEditable: "false"
42317
+ contentEditable: "false",
42318
+ "aria-label": "AI loader node"
42295
42319
  }
42296
42320
  };
42297
42321
  },
@@ -42487,7 +42511,8 @@ const Document = Node$1.create({
42487
42511
  addAttributes() {
42488
42512
  return {
42489
42513
  attributes: {
42490
- rendered: false
42514
+ rendered: false,
42515
+ "aria-label": "Document node"
42491
42516
  }
42492
42517
  };
42493
42518
  }
@@ -42511,7 +42536,8 @@ const RunItem = Node$1.create({
42511
42536
  addAttributes() {
42512
42537
  return {
42513
42538
  attributes: {
42514
- rendered: false
42539
+ rendered: false,
42540
+ "aria-label": "Run node"
42515
42541
  }
42516
42542
  };
42517
42543
  }
@@ -42564,7 +42590,9 @@ const BulletList = Node$1.create({
42564
42590
  addOptions() {
42565
42591
  return {
42566
42592
  itemTypeName: "listItem",
42567
- htmlAttributes: {},
42593
+ htmlAttributes: {
42594
+ "aria-label": "Bullet list node"
42595
+ },
42568
42596
  keepMarks: true,
42569
42597
  keepAttributes: false
42570
42598
  };
@@ -42855,7 +42883,9 @@ const OrderedList = Node$1.create({
42855
42883
  addOptions() {
42856
42884
  return {
42857
42885
  itemTypeName: "listItem",
42858
- htmlAttributes: {},
42886
+ htmlAttributes: {
42887
+ "aria-label": "Ordered list node"
42888
+ },
42859
42889
  keepMarks: true,
42860
42890
  keepAttributes: false,
42861
42891
  listStyleTypes: ["decimal", "lowerAlpha", "lowerRoman"]
@@ -43255,7 +43285,9 @@ const ListItem = Node$1.create({
43255
43285
  // to run listItem commands first
43256
43286
  addOptions() {
43257
43287
  return {
43258
- htmlAttributes: {},
43288
+ htmlAttributes: {
43289
+ "aria-label": "List item node"
43290
+ },
43259
43291
  bulletListTypeName: "bulletList",
43260
43292
  orderedListTypeName: "orderedList"
43261
43293
  };
@@ -43777,7 +43809,9 @@ const Heading = Node$1.create({
43777
43809
  addOptions() {
43778
43810
  return {
43779
43811
  levels: [1, 2, 3, 4, 5, 6],
43780
- htmlAttributes: {}
43812
+ htmlAttributes: {
43813
+ "aria-label": "Heading node"
43814
+ }
43781
43815
  };
43782
43816
  },
43783
43817
  addAttributes() {
@@ -43838,7 +43872,8 @@ const CommentRangeStart = Node$1.create({
43838
43872
  addOptions() {
43839
43873
  return {
43840
43874
  htmlAttributes: {
43841
- contentEditable: "false"
43875
+ contentEditable: "false",
43876
+ "aria-label": "Comment range start node"
43842
43877
  }
43843
43878
  };
43844
43879
  },
@@ -43867,7 +43902,8 @@ const CommentRangeEnd = Node$1.create({
43867
43902
  addOptions() {
43868
43903
  return {
43869
43904
  htmlAttributes: {
43870
- contentEditable: "false"
43905
+ contentEditable: "false",
43906
+ "aria-label": "Comment range end node"
43871
43907
  }
43872
43908
  };
43873
43909
  },
@@ -43895,7 +43931,8 @@ const CommentReference = Node$1.create({
43895
43931
  addOptions() {
43896
43932
  return {
43897
43933
  htmlAttributes: {
43898
- contentEditable: "false"
43934
+ contentEditable: "false",
43935
+ "aria-label": "Comment reference node"
43899
43936
  }
43900
43937
  };
43901
43938
  },
@@ -44070,7 +44107,9 @@ const HardBreak = Node$1.create({
44070
44107
  return {
44071
44108
  htmlAttributes: {
44072
44109
  contentEditable: "false",
44073
- lineBreakType: "page"
44110
+ lineBreakType: "page",
44111
+ "aria-hidden": "true",
44112
+ "aria-label": "Hard break node"
44074
44113
  }
44075
44114
  };
44076
44115
  },
@@ -46428,7 +46467,9 @@ const Table = Node$1.create({
46428
46467
  tableRole: "table",
46429
46468
  addOptions() {
46430
46469
  return {
46431
- htmlAttributes: {},
46470
+ htmlAttributes: {
46471
+ "aria-label": "Table node"
46472
+ },
46432
46473
  resizable: true,
46433
46474
  handleWidth: 5,
46434
46475
  cellMinWidth: 25,
@@ -46678,7 +46719,9 @@ const TableHeader = Node$1.create({
46678
46719
  isolating: true,
46679
46720
  addOptions() {
46680
46721
  return {
46681
- htmlAttributes: {}
46722
+ htmlAttributes: {
46723
+ "aria-label": "Table head node"
46724
+ }
46682
46725
  };
46683
46726
  },
46684
46727
  addAttributes() {
@@ -46718,7 +46761,9 @@ const TableRow = Node$1.create({
46718
46761
  tableRole: "row",
46719
46762
  addOptions() {
46720
46763
  return {
46721
- htmlAttributes: {}
46764
+ htmlAttributes: {
46765
+ "aria-label": "Table row node"
46766
+ }
46722
46767
  };
46723
46768
  },
46724
46769
  addAttributes() {
@@ -46746,7 +46791,9 @@ const TableCell = Node$1.create({
46746
46791
  isolating: true,
46747
46792
  addOptions() {
46748
46793
  return {
46749
- htmlAttributes: {}
46794
+ htmlAttributes: {
46795
+ "aria-label": "Table cell node"
46796
+ }
46750
46797
  };
46751
46798
  },
46752
46799
  addAttributes() {
@@ -47427,7 +47474,8 @@ const FieldAnnotation = Node$1.create({
47427
47474
  addOptions() {
47428
47475
  return {
47429
47476
  htmlAttributes: {
47430
- class: annotationClass
47477
+ class: annotationClass,
47478
+ "aria-label": "Field annotation node"
47431
47479
  },
47432
47480
  annotationClass,
47433
47481
  annotationContentClass,
@@ -48369,7 +48417,8 @@ const Image = Node$1.create({
48369
48417
  return {
48370
48418
  allowBase64: true,
48371
48419
  htmlAttributes: {
48372
- style: "display: inline-block;"
48420
+ style: "display: inline-block;",
48421
+ "aria-label": "Image node"
48373
48422
  }
48374
48423
  };
48375
48424
  },
@@ -48485,7 +48534,11 @@ const BookmarkStart = Node$1.create({
48485
48534
  inline: true,
48486
48535
  addOptions() {
48487
48536
  return {
48488
- htmlAttributes: { style: "height: 0; width: 0;" }
48537
+ htmlAttributes: {
48538
+ style: "height: 0; width: 0;",
48539
+ "aria-label": "Bookmark start node",
48540
+ role: "link"
48541
+ }
48489
48542
  };
48490
48543
  },
48491
48544
  addAttributes() {
@@ -48519,7 +48572,8 @@ const Mention = Node$1.create({
48519
48572
  addOptions() {
48520
48573
  return {
48521
48574
  htmlAttributes: {
48522
- class: "sd-editor-mention"
48575
+ class: "sd-editor-mention",
48576
+ "aria-label": "Mention node"
48523
48577
  }
48524
48578
  };
48525
48579
  },
@@ -48557,7 +48611,8 @@ const PageNumber = Node$1.create({
48557
48611
  addOptions() {
48558
48612
  return {
48559
48613
  htmlAttributes: {
48560
- "data-id": "auto-page-number"
48614
+ "data-id": "auto-page-number",
48615
+ "aria-label": "Page number node"
48561
48616
  }
48562
48617
  };
48563
48618
  },
@@ -48576,7 +48631,8 @@ const TotalPageCount = Node$1.create({
48576
48631
  addOptions() {
48577
48632
  return {
48578
48633
  htmlAttributes: {
48579
- "data-id": "auto-total-pages"
48634
+ "data-id": "auto-total-pages",
48635
+ "aria-label": "Total page count node"
48580
48636
  }
48581
48637
  };
48582
48638
  },
@@ -48595,7 +48651,8 @@ const ShapeContainer = Node$1.create({
48595
48651
  addOptions() {
48596
48652
  return {
48597
48653
  htmlAttributes: {
48598
- class: "sd-editor-shape-container"
48654
+ class: "sd-editor-shape-container",
48655
+ "aria-label": "Shape container node"
48599
48656
  }
48600
48657
  };
48601
48658
  },
@@ -48648,7 +48705,8 @@ const ShapeTextbox = Node$1.create({
48648
48705
  addOptions() {
48649
48706
  return {
48650
48707
  htmlAttributes: {
48651
- class: "sd-editor-shape-textbox"
48708
+ class: "sd-editor-shape-textbox",
48709
+ "aria-label": "Shape textbox node"
48652
48710
  }
48653
48711
  };
48654
48712
  },
@@ -48740,7 +48798,9 @@ const StructuredContent = Node$1.create({
48740
48798
  addOptions() {
48741
48799
  return {
48742
48800
  annotationClass: "sd-structured-content-tag",
48743
- htmlAttributes: {}
48801
+ htmlAttributes: {
48802
+ "aria-label": "Structured content node"
48803
+ }
48744
48804
  };
48745
48805
  },
48746
48806
  parseDOM() {
@@ -52200,9 +52260,9 @@ const _export_sfc = (sfc, props) => {
52200
52260
  };
52201
52261
  const _hoisted_1$e = ["onClick", "onMouseenter"];
52202
52262
  const _hoisted_2$c = { key: 0 };
52203
- const _hoisted_3$b = { key: 0 };
52263
+ const _hoisted_3$a = { key: 0 };
52204
52264
  const _hoisted_4$6 = { key: 1 };
52205
- const _hoisted_5$6 = { key: 1 };
52265
+ const _hoisted_5$5 = { key: 1 };
52206
52266
  const _sfc_main$f = {
52207
52267
  __name: "Mentions",
52208
52268
  props: {
@@ -52275,9 +52335,9 @@ const _sfc_main$f = {
52275
52335
  class: normalizeClass(["user-row", { selected: activeUserIndex.value === index2 }])
52276
52336
  }, [
52277
52337
  user.name ? (openBlock(), createElementBlock("div", _hoisted_2$c, [
52278
- user.name ? (openBlock(), createElementBlock("span", _hoisted_3$b, toDisplayString(user.name), 1)) : createCommentVNode("", true),
52338
+ user.name ? (openBlock(), createElementBlock("span", _hoisted_3$a, toDisplayString(user.name), 1)) : createCommentVNode("", true),
52279
52339
  user.name && user.email ? (openBlock(), createElementBlock("span", _hoisted_4$6, " (" + toDisplayString(user.email) + ")", 1)) : createCommentVNode("", true)
52280
- ])) : (openBlock(), createElementBlock("div", _hoisted_5$6, [
52340
+ ])) : (openBlock(), createElementBlock("div", _hoisted_5$5, [
52281
52341
  createBaseVNode("span", null, toDisplayString(user.email), 1)
52282
52342
  ]))
52283
52343
  ], 42, _hoisted_1$e);
@@ -53588,15 +53648,16 @@ const _sfc_main$5$1 = {
53588
53648
  }
53589
53649
  };
53590
53650
  const ToolbarButtonIcon = /* @__PURE__ */ _export_sfc(_sfc_main$5$1, [["__scopeId", "data-v-6d7523ab"]]);
53591
- const _hoisted_1$3$1 = ["data-item"];
53592
- const _hoisted_2$2$1 = {
53651
+ const _hoisted_1$3$1 = ["role"];
53652
+ const _hoisted_2$2$1 = ["data-item", "aria-label"];
53653
+ const _hoisted_3$2$1 = {
53593
53654
  key: 1,
53594
53655
  class: "button-label"
53595
53656
  };
53596
- const _hoisted_3$2$1 = { key: 2 };
53597
- const _hoisted_4$5 = ["placeholder", "onKeydown", "id"];
53598
- const _hoisted_5$5 = ["placeholder", "onKeydown", "id"];
53599
- const _hoisted_6$2 = ["innerHTML"];
53657
+ const _hoisted_4$5 = { key: 2 };
53658
+ const _hoisted_5$4 = ["placeholder", "onKeydown", "id"];
53659
+ const _hoisted_6$2 = ["placeholder", "onKeydown", "id"];
53660
+ const _hoisted_7$1 = ["innerHTML"];
53600
53661
  const _sfc_main$4$1 = {
53601
53662
  __name: "ToolbarButton",
53602
53663
  props: {
@@ -53623,6 +53684,10 @@ const _sfc_main$4$1 = {
53623
53684
  defaultLabel: {
53624
53685
  type: String,
53625
53686
  default: null
53687
+ },
53688
+ isOverflowItem: {
53689
+ type: Boolean,
53690
+ default: false
53626
53691
  }
53627
53692
  },
53628
53693
  emits: ["buttonClick", "textSubmit"],
@@ -53646,6 +53711,7 @@ const _sfc_main$4$1 = {
53646
53711
  } = props.toolbarItem;
53647
53712
  const inlineTextInput = ref$1(props.defaultLabel);
53648
53713
  const inlineInput = ref$1(null);
53714
+ const { isHighContrastMode: isHighContrastMode2 } = useHighContrastMode();
53649
53715
  const handleClick2 = () => {
53650
53716
  if (hasInlineTextInput) {
53651
53717
  inlineInput.value?.focus();
@@ -53673,12 +53739,15 @@ const _sfc_main$4$1 = {
53673
53739
  return (_ctx, _cache) => {
53674
53740
  return openBlock(), createElementBlock("div", {
53675
53741
  class: normalizeClass(["toolbar-item", unref(attributes).className]),
53676
- style: normalizeStyle(getStyle.value)
53742
+ style: normalizeStyle(getStyle.value),
53743
+ role: __props.isOverflowItem ? "menuitem" : ""
53677
53744
  }, [
53678
53745
  createBaseVNode("div", {
53679
53746
  onClick: handleClick2,
53680
- class: normalizeClass(["toolbar-button", { active: unref(active), disabled: unref(disabled), narrow: __props.isNarrow, wide: __props.isWide, "has-inline-text-input": unref(hasInlineTextInput) }]),
53681
- "data-item": `btn-${unref(name) || ""}`
53747
+ 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(isHighContrastMode2) }]),
53748
+ "data-item": `btn-${unref(name) || ""}`,
53749
+ "aria-label": unref(attributes).ariaLabel,
53750
+ role: "button"
53682
53751
  }, [
53683
53752
  unref(icon) ? (openBlock(), createBlock(ToolbarButtonIcon, {
53684
53753
  key: 0,
@@ -53687,8 +53756,8 @@ const _sfc_main$4$1 = {
53687
53756
  icon: unref(icon),
53688
53757
  name: unref(name)
53689
53758
  }, null, 8, ["color", "icon", "name"])) : createCommentVNode("", true),
53690
- unref(label) && !unref(hideLabel) && !unref(inlineTextInputVisible) ? (openBlock(), createElementBlock("div", _hoisted_2$2$1, toDisplayString(unref(label)), 1)) : createCommentVNode("", true),
53691
- unref(inlineTextInputVisible) ? (openBlock(), createElementBlock("span", _hoisted_3$2$1, [
53759
+ unref(label) && !unref(hideLabel) && !unref(inlineTextInputVisible) ? (openBlock(), createElementBlock("div", _hoisted_3$2$1, toDisplayString(unref(label)), 1)) : createCommentVNode("", true),
53760
+ unref(inlineTextInputVisible) ? (openBlock(), createElementBlock("span", _hoisted_4$5, [
53692
53761
  unref(name) === "fontSize" ? withDirectives((openBlock(), createElementBlock("input", {
53693
53762
  key: 0,
53694
53763
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => inlineTextInput.value = $event),
@@ -53696,12 +53765,12 @@ const _sfc_main$4$1 = {
53696
53765
  placeholder: unref(label),
53697
53766
  onKeydown: withKeys(withModifiers(handleInputSubmit, ["prevent"]), ["enter"]),
53698
53767
  type: "text",
53699
- class: "button-text-input",
53768
+ class: normalizeClass(["button-text-input", { "high-contrast": unref(isHighContrastMode2) }]),
53700
53769
  id: "inlineTextInput-" + unref(name),
53701
53770
  autoccomplete: "off",
53702
53771
  ref_key: "inlineInput",
53703
53772
  ref: inlineInput
53704
- }, null, 40, _hoisted_4$5)), [
53773
+ }, null, 42, _hoisted_5$4)), [
53705
53774
  [vModelText, inlineTextInput.value]
53706
53775
  ]) : withDirectives((openBlock(), createElementBlock("input", {
53707
53776
  key: 1,
@@ -53714,7 +53783,7 @@ const _sfc_main$4$1 = {
53714
53783
  autoccomplete: "off",
53715
53784
  ref_key: "inlineInput",
53716
53785
  ref: inlineInput
53717
- }, null, 40, _hoisted_5$5)), [
53786
+ }, null, 40, _hoisted_6$2)), [
53718
53787
  [vModelText, inlineTextInput.value]
53719
53788
  ])
53720
53789
  ])) : createCommentVNode("", true),
@@ -53723,14 +53792,18 @@ const _sfc_main$4$1 = {
53723
53792
  class: "dropdown-caret",
53724
53793
  innerHTML: caretIcon.value,
53725
53794
  style: normalizeStyle({ opacity: unref(disabled) ? 0.6 : 1 })
53726
- }, null, 12, _hoisted_6$2)) : createCommentVNode("", true)
53727
- ], 10, _hoisted_1$3$1)
53728
- ], 6);
53795
+ }, null, 12, _hoisted_7$1)) : createCommentVNode("", true)
53796
+ ], 10, _hoisted_2$2$1)
53797
+ ], 14, _hoisted_1$3$1);
53729
53798
  };
53730
53799
  }
53731
53800
  };
53732
- const ToolbarButton = /* @__PURE__ */ _export_sfc(_sfc_main$4$1, [["__scopeId", "data-v-62bb3747"]]);
53733
- const _hoisted_1$2$1 = { class: "toolbar-separator" };
53801
+ const ToolbarButton = /* @__PURE__ */ _export_sfc(_sfc_main$4$1, [["__scopeId", "data-v-6eb57404"]]);
53802
+ const _hoisted_1$2$1 = {
53803
+ class: "toolbar-separator",
53804
+ role: "separator",
53805
+ "aria-label": "Toolbar separator"
53806
+ };
53734
53807
  const _sfc_main$3$1 = {
53735
53808
  __name: "ToolbarSeparator",
53736
53809
  props: {
@@ -53741,19 +53814,30 @@ const _sfc_main$3$1 = {
53741
53814
  },
53742
53815
  emits: ["command"],
53743
53816
  setup(__props, { emit: __emit }) {
53817
+ const { isHighContrastMode: isHighContrastMode2 } = useHighContrastMode();
53818
+ const getSeparatorColor = () => {
53819
+ if (isHighContrastMode2.value) {
53820
+ return "#000";
53821
+ }
53822
+ return "#dbdbdb";
53823
+ };
53744
53824
  return (_ctx, _cache) => {
53745
- return openBlock(), createElementBlock("div", _hoisted_1$2$1, _cache[0] || (_cache[0] = [
53746
- createBaseVNode("div", { class: "separator-inner" }, null, -1)
53747
- ]));
53825
+ return openBlock(), createElementBlock("div", _hoisted_1$2$1, [
53826
+ createBaseVNode("div", {
53827
+ class: "separator-inner",
53828
+ style: normalizeStyle({ backgroundColor: getSeparatorColor() })
53829
+ }, null, 4)
53830
+ ]);
53748
53831
  };
53749
53832
  }
53750
53833
  };
53751
- const ToolbarSeparator = /* @__PURE__ */ _export_sfc(_sfc_main$3$1, [["__scopeId", "data-v-ac2ee4f9"]]);
53834
+ const ToolbarSeparator = /* @__PURE__ */ _export_sfc(_sfc_main$3$1, [["__scopeId", "data-v-b240fc3a"]]);
53752
53835
  const _hoisted_1$1$1 = { class: "overflow-menu" };
53753
53836
  const _hoisted_2$1$1 = { class: "overflow-menu-trigger" };
53754
53837
  const _hoisted_3$1$1 = {
53755
53838
  key: 0,
53756
- class: "overflow-menu_items"
53839
+ class: "overflow-menu_items",
53840
+ role: "group"
53757
53841
  };
53758
53842
  const _sfc_main$2$1 = {
53759
53843
  __name: "OverflowMenu",
@@ -53791,16 +53875,17 @@ const _sfc_main$2$1 = {
53791
53875
  ]),
53792
53876
  isDropdownOpened.value ? (openBlock(), createElementBlock("div", _hoisted_3$1$1, [
53793
53877
  createVNode(ButtonGroup, {
53878
+ class: "superdoc-toolbar-overflow",
53794
53879
  "toolbar-items": __props.overflowItems,
53795
- onCommand: handleCommand,
53796
- class: "superdoc-toolbar-overflow"
53880
+ "from-overflow": "",
53881
+ onCommand: handleCommand
53797
53882
  }, null, 8, ["toolbar-items"])
53798
53883
  ])) : createCommentVNode("", true)
53799
53884
  ]);
53800
53885
  };
53801
53886
  }
53802
53887
  };
53803
- const OverflowMenu = /* @__PURE__ */ _export_sfc(_sfc_main$2$1, [["__scopeId", "data-v-ca29bf1d"]]);
53888
+ const OverflowMenu = /* @__PURE__ */ _export_sfc(_sfc_main$2$1, [["__scopeId", "data-v-c637209b"]]);
53804
53889
  function plugin$1(options2) {
53805
53890
  let _bPrefix = ".";
53806
53891
  let _ePrefix = "__";
@@ -63133,7 +63218,7 @@ const NSkeleton = defineComponent({
63133
63218
  });
63134
63219
  const _hoisted_1$d = { key: 0 };
63135
63220
  const _hoisted_2$b = { key: 0 };
63136
- const _hoisted_3$a = { key: 0 };
63221
+ const _hoisted_3$9 = { key: 0 };
63137
63222
  const _sfc_main$1$1 = {
63138
63223
  __name: "ButtonGroup",
63139
63224
  props: {
@@ -63148,6 +63233,10 @@ const _sfc_main$1$1 = {
63148
63233
  position: {
63149
63234
  type: String,
63150
63235
  default: "left"
63236
+ },
63237
+ fromOverflow: {
63238
+ type: Boolean,
63239
+ default: false
63151
63240
  }
63152
63241
  },
63153
63242
  emits: ["command"],
@@ -63155,6 +63244,7 @@ const _sfc_main$1$1 = {
63155
63244
  const emit = __emit;
63156
63245
  const props = __props;
63157
63246
  const currentItem = ref$1(null);
63247
+ const { isHighContrastMode: isHighContrastMode2 } = useHighContrastMode();
63158
63248
  const isMobile = window.matchMedia("(max-width: 768px)").matches;
63159
63249
  const styleMap = {
63160
63250
  left: {
@@ -63213,13 +63303,20 @@ const _sfc_main$1$1 = {
63213
63303
  };
63214
63304
  });
63215
63305
  };
63306
+ const getDropdownAttributes = (option, item) => {
63307
+ return {
63308
+ role: "menuitem",
63309
+ ariaLabel: `${item.attributes.value.ariaLabel} - ${option.label}`
63310
+ };
63311
+ };
63216
63312
  const handleClickOutside = (e) => {
63217
63313
  closeDropdowns();
63218
63314
  };
63219
63315
  return (_ctx, _cache) => {
63220
63316
  return openBlock(), createElementBlock("div", {
63221
63317
  style: normalizeStyle(getPositionStyle.value),
63222
- class: "button-group"
63318
+ class: "button-group",
63319
+ role: "group"
63223
63320
  }, [
63224
63321
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(__props.toolbarItems, (item) => {
63225
63322
  return openBlock(), createElementBlock("div", {
@@ -63240,10 +63337,14 @@ const _sfc_main$1$1 = {
63240
63337
  show: item.expand.value,
63241
63338
  size: "medium",
63242
63339
  placement: "bottom-start",
63243
- class: "toolbar-button toolbar-dropdown sd-editor-toolbar-dropdown",
63340
+ class: normalizeClass(["toolbar-button toolbar-dropdown sd-editor-toolbar-dropdown", { "high-contrast": unref(isHighContrastMode2) }]),
63244
63341
  onSelect: (key, option) => handleSelect(item, option),
63245
63342
  onClickoutside: handleClickOutside,
63246
- style: normalizeStyle(item.dropdownStyles.value)
63343
+ style: normalizeStyle(item.dropdownStyles.value),
63344
+ "menu-props": () => ({
63345
+ role: "menu"
63346
+ }),
63347
+ "node-props": (option) => getDropdownAttributes(option, item)
63247
63348
  }, {
63248
63349
  default: withCtx(() => [
63249
63350
  createVNode(unref(NTooltip), {
@@ -63267,7 +63368,7 @@ const _sfc_main$1$1 = {
63267
63368
  }, 1032, ["disabled"])
63268
63369
  ]),
63269
63370
  _: 2
63270
- }, 1032, ["options", "trigger", "show", "onSelect", "style"])) : isButton(item) ? (openBlock(), createBlock(unref(NTooltip), {
63371
+ }, 1032, ["options", "trigger", "show", "class", "onSelect", "style", "node-props"])) : isButton(item) ? (openBlock(), createBlock(unref(NTooltip), {
63271
63372
  key: 2,
63272
63373
  trigger: "hover",
63273
63374
  class: "sd-editor-toolbar-tooltip"
@@ -63275,14 +63376,15 @@ const _sfc_main$1$1 = {
63275
63376
  trigger: withCtx(() => [
63276
63377
  createVNode(ToolbarButton, {
63277
63378
  "toolbar-item": item,
63379
+ "is-overflow-item": __props.fromOverflow,
63278
63380
  onTextSubmit: ($event) => handleToolbarButtonTextSubmit(item, $event),
63279
63381
  onButtonClick: ($event) => handleToolbarButtonClick(item)
63280
- }, null, 8, ["toolbar-item", "onTextSubmit", "onButtonClick"])
63382
+ }, null, 8, ["toolbar-item", "is-overflow-item", "onTextSubmit", "onButtonClick"])
63281
63383
  ]),
63282
63384
  default: withCtx(() => [
63283
63385
  item.tooltip ? (openBlock(), createElementBlock("div", _hoisted_2$b, [
63284
63386
  createTextVNode(toDisplayString(item.tooltip) + " ", 1),
63285
- item.disabled.value ? (openBlock(), createElementBlock("span", _hoisted_3$a, "(disabled)")) : createCommentVNode("", true)
63387
+ item.disabled.value ? (openBlock(), createElementBlock("span", _hoisted_3$9, "(disabled)")) : createCommentVNode("", true)
63286
63388
  ])) : createCommentVNode("", true)
63287
63389
  ]),
63288
63390
  _: 2
@@ -63298,7 +63400,7 @@ const _sfc_main$1$1 = {
63298
63400
  };
63299
63401
  }
63300
63402
  };
63301
- const ButtonGroup = /* @__PURE__ */ _export_sfc(_sfc_main$1$1, [["__scopeId", "data-v-7751c4e5"]]);
63403
+ const ButtonGroup = /* @__PURE__ */ _export_sfc(_sfc_main$1$1, [["__scopeId", "data-v-b09e5a20"]]);
63302
63404
  const _sfc_main$e = {
63303
63405
  __name: "Toolbar",
63304
63406
  emits: ["command", "toggle", "select"],
@@ -63343,7 +63445,9 @@ const _sfc_main$e = {
63343
63445
  return (_ctx, _cache) => {
63344
63446
  return openBlock(), createElementBlock("div", {
63345
63447
  class: "superdoc-toolbar",
63346
- key: unref(toolbarKey)
63448
+ key: unref(toolbarKey),
63449
+ role: "toolbar",
63450
+ "aria-label": "Toolbar"
63347
63451
  }, [
63348
63452
  unref(showLeftSide) ? (openBlock(), createBlock(ButtonGroup, {
63349
63453
  key: 0,
@@ -63369,7 +63473,7 @@ const _sfc_main$e = {
63369
63473
  };
63370
63474
  }
63371
63475
  };
63372
- const Toolbar = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-abd0fb95"]]);
63476
+ const Toolbar = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-2a400574"]]);
63373
63477
  const DEFAULT_API_ENDPOINT = "https://sd-dev-express-gateway-i6xtm.ondigitalocean.app/insights";
63374
63478
  const SYSTEM_PROMPT = "You are an expert copywriter and you are immersed in a document editor. You are to provide document related text responses based on the user prompts. Only write what is asked for. Do not provide explanations. Try to keep placeholders as short as possible. Do not output your prompt. Your instructions are: ";
63375
63479
  async function baseInsightsFetch(payload, options2 = {}) {
@@ -63606,9 +63710,9 @@ const edit = '<!-- @note: includes color gradient for inline svg AI Writer -->\n
63606
63710
  const paperPlane = '<!-- @note: includes color gradient for inline svg AI Writer -->\n<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.-->\n <defs>\n <linearGradient id="gradient" x1="125%" y1="50%" x2="-25%" y2="50%">\n <stop offset="-20%" stop-color="rgba(218, 215, 118, 0.5)" />\n <stop offset="30%" stop-color="rgb(191, 100, 100)" />\n <stop offset="60%" stop-color="rgb(77, 82, 217)" />\n <stop offset="150%" stop-color="rgb(255, 219, 102)" />\n </linearGradient>\n </defs>\n <path fill="url(#gradient)" d="M440 6.5L24 246.4c-34.4 19.9-31.1 70.8 5.7 85.9L144 379.6V464c0 46.4 59.2 65.5 86.6 28.6l43.8-59.1 111.9 46.2c5.9 2.4 12.1 3.6 18.3 3.6 8.2 0 16.3-2.1 23.6-6.2 12.8-7.2 21.6-20 23.9-34.5l59.4-387.2c6.1-40.1-36.9-68.8-71.5-48.9zM192 464v-64.6l36.6 15.1L192 464zm212.6-28.7l-153.8-63.5L391 169.5c10.7-15.5-9.5-33.5-23.7-21.2L155.8 332.6 48 288 464 48l-59.4 387.3z"/>\n</svg>';
63607
63711
  const _hoisted_1$c = { class: "ai-user-input-field" };
63608
63712
  const _hoisted_2$a = ["innerHTML"];
63609
- const _hoisted_3$9 = ["placeholder"];
63713
+ const _hoisted_3$8 = ["placeholder"];
63610
63714
  const _hoisted_4$4 = { class: "ai-loader" };
63611
- const _hoisted_5$4 = ["innerHTML"];
63715
+ const _hoisted_5$3 = ["innerHTML"];
63612
63716
  const _sfc_main$d = {
63613
63717
  __name: "AIWriter",
63614
63718
  props: {
@@ -63884,7 +63988,7 @@ const _sfc_main$d = {
63884
63988
  onInput: handleInput,
63885
63989
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => promptText.value = $event),
63886
63990
  rows: "4"
63887
- }, null, 40, _hoisted_3$9), [
63991
+ }, null, 40, _hoisted_3$8), [
63888
63992
  [vModelText, promptText.value]
63889
63993
  ])
63890
63994
  ]),
@@ -63894,7 +63998,7 @@ const _sfc_main$d = {
63894
63998
  class: "ai-textarea-icon ai-submit-button",
63895
63999
  onClick: withModifiers(handleSubmit, ["stop"]),
63896
64000
  innerHTML: unref(paperPlane)
63897
- }, null, 8, _hoisted_5$4)) : createCommentVNode("", true)
64001
+ }, null, 8, _hoisted_5$3)) : createCommentVNode("", true)
63898
64002
  ])
63899
64003
  ], 544);
63900
64004
  };
@@ -64229,71 +64333,80 @@ const useToolbarItem = (options2) => {
64229
64333
  onDeactivate
64230
64334
  };
64231
64335
  };
64232
- const _hoisted_1$b = { class: "alignment-buttons" };
64336
+ const _hoisted_1$b = ["innerHTML"];
64233
64337
  const _hoisted_2$9 = ["innerHTML"];
64234
- const _hoisted_3$8 = ["innerHTML"];
64338
+ const _hoisted_3$7 = ["innerHTML"];
64235
64339
  const _hoisted_4$3 = ["innerHTML"];
64236
- const _hoisted_5$3 = ["innerHTML"];
64237
64340
  const _sfc_main$c = {
64238
64341
  __name: "AlignmentButtons",
64239
64342
  emits: ["select"],
64240
64343
  setup(__props, { emit: __emit }) {
64344
+ const { isHighContrastMode: isHighContrastMode2 } = useHighContrastMode();
64241
64345
  const emit = __emit;
64242
64346
  const select = (alignment2) => {
64243
64347
  emit("select", alignment2);
64244
64348
  };
64245
64349
  return (_ctx, _cache) => {
64246
- return openBlock(), createElementBlock("div", _hoisted_1$b, [
64350
+ return openBlock(), createElementBlock("div", {
64351
+ class: normalizeClass(["alignment-buttons", { "high-contrast": unref(isHighContrastMode2) }])
64352
+ }, [
64247
64353
  createBaseVNode("div", {
64248
64354
  class: "button-icon",
64249
64355
  onClick: _cache[0] || (_cache[0] = ($event) => select("left")),
64250
64356
  innerHTML: unref(toolbarIcons).alignLeft,
64251
- "data-item": "btn-textAlign-option"
64252
- }, null, 8, _hoisted_2$9),
64357
+ "data-item": "btn-textAlign-option",
64358
+ role: "menuitem",
64359
+ "aria-label": "Align left"
64360
+ }, null, 8, _hoisted_1$b),
64253
64361
  createBaseVNode("div", {
64254
64362
  class: "button-icon",
64255
64363
  onClick: _cache[1] || (_cache[1] = ($event) => select("center")),
64256
64364
  innerHTML: unref(toolbarIcons).alignCenter,
64257
- "data-item": "btn-textAlign-option"
64258
- }, null, 8, _hoisted_3$8),
64365
+ "data-item": "btn-textAlign-option",
64366
+ role: "menuitem",
64367
+ "aria-label": "Align center"
64368
+ }, null, 8, _hoisted_2$9),
64259
64369
  createBaseVNode("div", {
64260
64370
  class: "button-icon",
64261
64371
  onClick: _cache[2] || (_cache[2] = ($event) => select("right")),
64262
64372
  innerHTML: unref(toolbarIcons).alignRight,
64263
- "data-item": "btn-textAlign-option"
64264
- }, null, 8, _hoisted_4$3),
64373
+ "data-item": "btn-textAlign-option",
64374
+ role: "menuitem",
64375
+ "aria-label": "Align right"
64376
+ }, null, 8, _hoisted_3$7),
64265
64377
  createBaseVNode("div", {
64266
64378
  class: "button-icon",
64267
64379
  onClick: _cache[3] || (_cache[3] = ($event) => select("justify")),
64268
64380
  innerHTML: unref(toolbarIcons).alignJustify,
64269
- "data-item": "btn-textAlign-option"
64270
- }, null, 8, _hoisted_5$3)
64271
- ]);
64381
+ "data-item": "btn-textAlign-option",
64382
+ role: "menuitem",
64383
+ "aria-label": "Justify"
64384
+ }, null, 8, _hoisted_4$3)
64385
+ ], 2);
64272
64386
  };
64273
64387
  }
64274
64388
  };
64275
- const AlignmentButtons = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-932a4937"]]);
64276
- const _hoisted_1$a = { class: "link-input-ctn" };
64277
- const _hoisted_2$8 = {
64389
+ const AlignmentButtons = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-58d8a9bb"]]);
64390
+ const _hoisted_1$a = {
64278
64391
  key: 0,
64279
64392
  class: "link-title"
64280
64393
  };
64281
- const _hoisted_3$7 = {
64394
+ const _hoisted_2$8 = {
64282
64395
  key: 1,
64283
64396
  class: "link-title"
64284
64397
  };
64285
- const _hoisted_4$2 = {
64398
+ const _hoisted_3$6 = {
64286
64399
  key: 2,
64287
64400
  class: "link-title"
64288
64401
  };
64289
- const _hoisted_5$2 = { key: 3 };
64290
- const _hoisted_6$1 = { class: "input-row" };
64291
- const _hoisted_7$1 = ["innerHTML"];
64292
- const _hoisted_8 = ["onKeydown"];
64293
- const _hoisted_9 = ["innerHTML"];
64294
- const _hoisted_10 = { class: "input-row link-buttons" };
64295
- const _hoisted_11 = ["innerHTML"];
64296
- const _hoisted_12 = {
64402
+ const _hoisted_4$2 = { key: 3 };
64403
+ const _hoisted_5$2 = { class: "input-row" };
64404
+ const _hoisted_6$1 = ["innerHTML"];
64405
+ const _hoisted_7 = ["onKeydown"];
64406
+ const _hoisted_8 = ["innerHTML"];
64407
+ const _hoisted_9 = { class: "input-row link-buttons" };
64408
+ const _hoisted_10 = ["innerHTML"];
64409
+ const _hoisted_11 = {
64297
64410
  key: 4,
64298
64411
  class: "input-row go-to-anchor clickable"
64299
64412
  };
@@ -64326,6 +64439,7 @@ const _sfc_main$b = {
64326
64439
  setup(__props, { emit: __emit }) {
64327
64440
  const emit = __emit;
64328
64441
  const props = __props;
64442
+ const { isHighContrastMode: isHighContrastMode2 } = useHighContrastMode();
64329
64443
  const { proxy } = getCurrentInstance();
64330
64444
  const handleSubmit = () => {
64331
64445
  if (proxy?.$submit instanceof Function) proxy.$submit();
@@ -64376,16 +64490,19 @@ const _sfc_main$b = {
64376
64490
  if (props.showInput) focusInput();
64377
64491
  });
64378
64492
  return (_ctx, _cache) => {
64379
- return openBlock(), createElementBlock("div", _hoisted_1$a, [
64380
- !__props.href ? (openBlock(), createElementBlock("div", _hoisted_2$8, "Add link")) : isAnchor.value ? (openBlock(), createElementBlock("div", _hoisted_3$7, "Page anchor")) : (openBlock(), createElementBlock("div", _hoisted_4$2, "Edit link")),
64381
- __props.showInput && !isAnchor.value ? (openBlock(), createElementBlock("div", _hoisted_5$2, [
64382
- createBaseVNode("div", _hoisted_6$1, [
64493
+ return openBlock(), createElementBlock("div", {
64494
+ class: normalizeClass(["link-input-ctn", { "high-contrast": unref(isHighContrastMode2) }])
64495
+ }, [
64496
+ !__props.href ? (openBlock(), createElementBlock("div", _hoisted_1$a, "Add link")) : isAnchor.value ? (openBlock(), createElementBlock("div", _hoisted_2$8, "Page anchor")) : (openBlock(), createElementBlock("div", _hoisted_3$6, "Edit link")),
64497
+ __props.showInput && !isAnchor.value ? (openBlock(), createElementBlock("div", _hoisted_4$2, [
64498
+ createBaseVNode("div", _hoisted_5$2, [
64383
64499
  createBaseVNode("div", {
64384
64500
  class: "input-icon",
64385
64501
  innerHTML: unref(toolbarIcons).linkInput
64386
- }, null, 8, _hoisted_7$1),
64502
+ }, null, 8, _hoisted_6$1),
64387
64503
  withDirectives(createBaseVNode("input", {
64388
64504
  type: "text",
64505
+ name: "link",
64389
64506
  placeholder: "Type or paste a link",
64390
64507
  class: normalizeClass({ error: urlError.value }),
64391
64508
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => rawUrl.value = $event),
@@ -64393,7 +64510,7 @@ const _sfc_main$b = {
64393
64510
  withKeys(withModifiers(handleSubmit, ["stop", "prevent"]), ["enter"]),
64394
64511
  _cache[1] || (_cache[1] = ($event) => urlError.value = false)
64395
64512
  ]
64396
- }, null, 42, _hoisted_8), [
64513
+ }, null, 42, _hoisted_7), [
64397
64514
  [vModelText, rawUrl.value]
64398
64515
  ]),
64399
64516
  createBaseVNode("div", {
@@ -64401,9 +64518,9 @@ const _sfc_main$b = {
64401
64518
  innerHTML: unref(toolbarIcons).openLink,
64402
64519
  onClick: openLink,
64403
64520
  "data-item": "btn-link-open"
64404
- }, null, 10, _hoisted_9)
64521
+ }, null, 10, _hoisted_8)
64405
64522
  ]),
64406
- createBaseVNode("div", _hoisted_10, [
64523
+ createBaseVNode("div", _hoisted_9, [
64407
64524
  __props.href ? (openBlock(), createElementBlock("button", {
64408
64525
  key: 0,
64409
64526
  class: "remove-btn",
@@ -64413,7 +64530,7 @@ const _sfc_main$b = {
64413
64530
  createBaseVNode("div", {
64414
64531
  class: "remove-btn__icon",
64415
64532
  innerHTML: unref(toolbarIcons).removeLink
64416
- }, null, 8, _hoisted_11),
64533
+ }, null, 8, _hoisted_10),
64417
64534
  _cache[3] || (_cache[3] = createTextVNode(" Remove "))
64418
64535
  ])) : createCommentVNode("", true),
64419
64536
  showApply.value ? (openBlock(), createElementBlock("button", {
@@ -64423,23 +64540,22 @@ const _sfc_main$b = {
64423
64540
  "data-item": "btn-link-apply"
64424
64541
  }, toDisplayString(getApplyText.value), 3)) : createCommentVNode("", true)
64425
64542
  ])
64426
- ])) : isAnchor.value ? (openBlock(), createElementBlock("div", _hoisted_12, [
64543
+ ])) : isAnchor.value ? (openBlock(), createElementBlock("div", _hoisted_11, [
64427
64544
  createBaseVNode("a", {
64428
64545
  onClick: _cache[2] || (_cache[2] = withModifiers((...args) => __props.goToAnchor && __props.goToAnchor(...args), ["stop", "prevent"]))
64429
64546
  }, "Go to " + toDisplayString(__props.href.startsWith("#_") ? __props.href.substring(2) : __props.href), 1)
64430
64547
  ])) : createCommentVNode("", true)
64431
- ]);
64548
+ ], 2);
64432
64549
  };
64433
64550
  }
64434
64551
  };
64435
- const LinkInput = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-04bac853"]]);
64436
- const _hoisted_1$9 = { class: "document-mode" };
64437
- const _hoisted_2$7 = ["onClick"];
64438
- const _hoisted_3$6 = { class: "document-mode-column icon-column" };
64439
- const _hoisted_4$1 = ["innerHTML"];
64440
- const _hoisted_5$1 = { class: "document-mode-column text-column" };
64441
- const _hoisted_6 = { class: "document-mode-type" };
64442
- const _hoisted_7 = { class: "document-mode-description" };
64552
+ const LinkInput = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-64aa14bc"]]);
64553
+ const _hoisted_1$9 = ["onClick"];
64554
+ const _hoisted_2$7 = { class: "document-mode-column icon-column" };
64555
+ const _hoisted_3$5 = ["innerHTML"];
64556
+ const _hoisted_4$1 = { class: "document-mode-column text-column" };
64557
+ const _hoisted_5$1 = { class: "document-mode-type" };
64558
+ const _hoisted_6 = { class: "document-mode-description" };
64443
64559
  const _sfc_main$a = {
64444
64560
  __name: "DocumentMode",
64445
64561
  props: {
@@ -64450,34 +64566,38 @@ const _sfc_main$a = {
64450
64566
  emits: ["select"],
64451
64567
  setup(__props, { emit: __emit }) {
64452
64568
  const emit = __emit;
64569
+ const { isHighContrastMode: isHighContrastMode2 } = useHighContrastMode();
64453
64570
  const handleClick2 = (item) => {
64454
64571
  emit("select", item);
64455
64572
  };
64456
64573
  return (_ctx, _cache) => {
64457
- return openBlock(), createElementBlock("div", _hoisted_1$9, [
64574
+ return openBlock(), createElementBlock("div", {
64575
+ class: normalizeClass(["document-mode", { "high-contrast": unref(isHighContrastMode2) }])
64576
+ }, [
64458
64577
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(__props.options, (option) => {
64459
64578
  return openBlock(), createElementBlock("div", {
64460
64579
  class: normalizeClass(["option-item", { disabled: option.disabled }]),
64461
64580
  onClick: ($event) => handleClick2(option),
64462
- "data-item": "btn-documentMode-option"
64581
+ "data-item": "btn-documentMode-option",
64582
+ role: "menuitem"
64463
64583
  }, [
64464
- createBaseVNode("div", _hoisted_3$6, [
64584
+ createBaseVNode("div", _hoisted_2$7, [
64465
64585
  createBaseVNode("div", {
64466
64586
  class: "icon-column__icon",
64467
64587
  innerHTML: option.icon
64468
- }, null, 8, _hoisted_4$1)
64588
+ }, null, 8, _hoisted_3$5)
64469
64589
  ]),
64470
- createBaseVNode("div", _hoisted_5$1, [
64471
- createBaseVNode("div", _hoisted_6, toDisplayString(option.label), 1),
64472
- createBaseVNode("div", _hoisted_7, toDisplayString(option.description), 1)
64590
+ createBaseVNode("div", _hoisted_4$1, [
64591
+ createBaseVNode("div", _hoisted_5$1, toDisplayString(option.label), 1),
64592
+ createBaseVNode("div", _hoisted_6, toDisplayString(option.description), 1)
64473
64593
  ])
64474
- ], 10, _hoisted_2$7);
64594
+ ], 10, _hoisted_1$9);
64475
64595
  }), 256))
64476
- ]);
64596
+ ], 2);
64477
64597
  };
64478
64598
  }
64479
64599
  };
64480
- const DocumentMode = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-8afd7fbb"]]);
64600
+ const DocumentMode = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-050d9d49"]]);
64481
64601
  const _hoisted_1$8 = {
64482
64602
  key: 0,
64483
64603
  class: "linked-style-buttons"
@@ -64520,9 +64640,9 @@ const _sfc_main$9 = {
64520
64640
  }
64521
64641
  };
64522
64642
  const LinkedStyle = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-bf5a8c1e"]]);
64523
- const _hoisted_1$7 = ["onClick"];
64643
+ const _hoisted_1$7 = ["aria-label", "onClick"];
64524
64644
  const _hoisted_2$5 = ["innerHTML"];
64525
- const _hoisted_3$5 = ["innerHTML"];
64645
+ const _hoisted_3$4 = ["innerHTML"];
64526
64646
  const _sfc_main$8 = {
64527
64647
  __name: "IconGridRow",
64528
64648
  props: {
@@ -64559,12 +64679,15 @@ const _sfc_main$8 = {
64559
64679
  return openBlock(true), createElementBlock(Fragment$1, null, renderList(__props.icons, (row, rowIndex) => {
64560
64680
  return openBlock(), createElementBlock("div", {
64561
64681
  class: "option-row",
64562
- key: rowIndex
64682
+ key: rowIndex,
64683
+ role: "group"
64563
64684
  }, [
64564
64685
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(row, (option, optionIndex) => {
64565
64686
  return openBlock(), createElementBlock("div", {
64566
64687
  class: "option",
64567
64688
  key: optionIndex,
64689
+ "aria-label": option.label,
64690
+ role: "menuitem",
64568
64691
  onClick: withModifiers(($event) => handleClick2(option), ["stop", "prevent"])
64569
64692
  }, [
64570
64693
  createBaseVNode("div", {
@@ -64577,7 +64700,7 @@ const _sfc_main$8 = {
64577
64700
  class: "option__check",
64578
64701
  innerHTML: unref(toolbarIcons).colorOptionCheck,
64579
64702
  style: normalizeStyle(getCheckStyle(option.value, optionIndex))
64580
- }, null, 12, _hoisted_3$5)) : createCommentVNode("", true)
64703
+ }, null, 12, _hoisted_3$4)) : createCommentVNode("", true)
64581
64704
  ], 8, _hoisted_1$7);
64582
64705
  }), 128))
64583
64706
  ]);
@@ -64585,11 +64708,11 @@ const _sfc_main$8 = {
64585
64708
  };
64586
64709
  }
64587
64710
  };
64588
- const IconGridRow = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-6a2a9a40"]]);
64711
+ const IconGridRow = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-d96a82fa"]]);
64589
64712
  const DropIcon = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M320 512c53.2 0 101.4-21.6 136.1-56.6l-298.3-235C140 257.1 128 292.3 128 320c0 106 86 192 192 192zM505.2 370.7c4.4-16.2 6.8-33.1 6.8-50.7c0-91.2-130.2-262.3-166.6-308.3C339.4 4.2 330.5 0 320.9 0l-1.8 0c-9.6 0-18.5 4.2-24.5 11.7C277.8 33 240.7 81.3 205.8 136L38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L505.2 370.7zM224 336c0 44.2 35.8 80 80 80c8.8 0 16 7.2 16 16s-7.2 16-16 16c-61.9 0-112-50.1-112-112c0-8.8 7.2-16 16-16s16 7.2 16 16z"/></svg>\n';
64590
64713
  const _hoisted_1$6 = { class: "options-grid-wrap" };
64591
64714
  const _hoisted_2$4 = ["innerHTML"];
64592
- const _hoisted_3$4 = { class: "option-grid-ctn" };
64715
+ const _hoisted_3$3 = { class: "option-grid-ctn" };
64593
64716
  const _sfc_main$7 = {
64594
64717
  __name: "IconGrid",
64595
64718
  props: {
@@ -64621,6 +64744,8 @@ const _sfc_main$7 = {
64621
64744
  __props.hasNoneIcon ? (openBlock(), createElementBlock("div", {
64622
64745
  key: 0,
64623
64746
  class: "none-option",
64747
+ role: "menuitem",
64748
+ "aria-label": "Clear color selection",
64624
64749
  onClick: _cache[0] || (_cache[0] = ($event) => handleSelect("none"))
64625
64750
  }, [
64626
64751
  createBaseVNode("span", {
@@ -64629,7 +64754,7 @@ const _sfc_main$7 = {
64629
64754
  }, null, 8, _hoisted_2$4),
64630
64755
  _cache[1] || (_cache[1] = createTextVNode(" None "))
64631
64756
  ])) : createCommentVNode("", true),
64632
- createBaseVNode("div", _hoisted_3$4, [
64757
+ createBaseVNode("div", _hoisted_3$3, [
64633
64758
  createVNode(IconGridRow, {
64634
64759
  icons: __props.icons,
64635
64760
  "active-color": __props.activeColor,
@@ -64648,7 +64773,7 @@ const _sfc_main$7 = {
64648
64773
  };
64649
64774
  }
64650
64775
  };
64651
- const IconGrid = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-47b783db"]]);
64776
+ const IconGrid = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-9246bdef"]]);
64652
64777
  const closeDropdown$1 = (dropdown) => {
64653
64778
  dropdown.expand.value = false;
64654
64779
  };
@@ -64682,84 +64807,83 @@ const renderColorOptions = (superToolbar, button, customIcons = [], hasNoneIcon
64682
64807
  };
64683
64808
  const icons = [
64684
64809
  [
64685
- makeColorOption("#111111"),
64686
- makeColorOption("#333333"),
64687
- makeColorOption("#5C5C5C"),
64688
- makeColorOption("#858585"),
64689
- makeColorOption("#ADADAD"),
64690
- makeColorOption("#D6D6D6"),
64691
- makeColorOption("#FFFFFF")
64810
+ makeColorOption("#111111", "black"),
64811
+ makeColorOption("#333333", "dark gray"),
64812
+ makeColorOption("#5C5C5C", "medium gray"),
64813
+ makeColorOption("#858585", "light gray"),
64814
+ makeColorOption("#ADADAD", "very light gray"),
64815
+ makeColorOption("#D6D6D6", "transparent gray"),
64816
+ makeColorOption("#FFFFFF", "white")
64692
64817
  ],
64693
64818
  [
64694
- makeColorOption("#860028"),
64695
- makeColorOption("#D2003F"),
64696
- makeColorOption("#DB3365"),
64697
- makeColorOption("#E4668C"),
64698
- makeColorOption("#ED99B2"),
64699
- makeColorOption("#F6CCD9"),
64700
- makeColorOption("#FF004D")
64819
+ makeColorOption("#860028", "dark red"),
64820
+ makeColorOption("#D2003F", "red"),
64821
+ makeColorOption("#DB3365", "coral red"),
64822
+ makeColorOption("#E4668C", "light red"),
64823
+ makeColorOption("#ED99B2", "pale pink"),
64824
+ makeColorOption("#F6CCD9", "transparent pink"),
64825
+ makeColorOption("#FF004D", "bright pink")
64701
64826
  ],
64702
64827
  [
64703
- makeColorOption("#83015E"),
64704
- makeColorOption("#CD0194"),
64705
- makeColorOption("#D734A9"),
64706
- makeColorOption("#E167BF"),
64707
- makeColorOption("#EB99D4"),
64708
- makeColorOption("#F5CCEA"),
64709
- makeColorOption("#FF00A8")
64828
+ makeColorOption("#83015E", "dark purple"),
64829
+ makeColorOption("#CD0194", "purple"),
64830
+ makeColorOption("#D734A9", "orchid"),
64831
+ makeColorOption("#E167BF", "light purple"),
64832
+ makeColorOption("#EB99D4", "lavender"),
64833
+ makeColorOption("#F5CCEA", "transparent pink"),
64834
+ makeColorOption("#FF00A8", "neon pink")
64710
64835
  ],
64711
64836
  [
64712
- makeColorOption("#8E220A"),
64713
- makeColorOption("#DD340F"),
64714
- makeColorOption("#E45C3F"),
64715
- makeColorOption("#EB856F"),
64716
- makeColorOption("#F1AE9F"),
64717
- makeColorOption("#F8D6CF"),
64718
- makeColorOption("#FF7A00")
64837
+ makeColorOption("#8E220A", "maroon"),
64838
+ makeColorOption("#DD340F", "red-orange"),
64839
+ makeColorOption("#E45C3F", "burnt orange"),
64840
+ makeColorOption("#EB856F", "peach"),
64841
+ makeColorOption("#F1AE9F", "pale peach"),
64842
+ makeColorOption("#F8D6CF", "transparent peach"),
64843
+ makeColorOption("#FF7A00", "orange")
64719
64844
  ],
64720
64845
  [
64721
- makeColorOption("#947D02"),
64722
- makeColorOption("#E7C302"),
64723
- makeColorOption("#ECCF35"),
64724
- makeColorOption("#F1DB67"),
64725
- makeColorOption("#F5E79A"),
64726
- makeColorOption("#FAF3CC"),
64727
- makeColorOption("#FAFF09")
64846
+ makeColorOption("#947D02", "olive"),
64847
+ makeColorOption("#E7C302", "mustard yellow"),
64848
+ makeColorOption("#ECCF35", "yellow"),
64849
+ makeColorOption("#F1DB67", "light yellow"),
64850
+ makeColorOption("#F5E79A", "very pale yellow"),
64851
+ makeColorOption("#FAF3CC", "transparent yellow"),
64852
+ makeColorOption("#FAFF09", "neon yellow")
64728
64853
  ],
64729
64854
  [
64730
- makeColorOption("#055432"),
64731
- makeColorOption("#07834F"),
64732
- makeColorOption("#399C72"),
64733
- makeColorOption("#6AB595"),
64734
- makeColorOption("#9CCDB9"),
64735
- makeColorOption("#CDE6DC"),
64736
- makeColorOption("#05F38F")
64855
+ makeColorOption("#055432", "forest green"),
64856
+ makeColorOption("#07834F", "green"),
64857
+ makeColorOption("#399C72", "medium green"),
64858
+ makeColorOption("#6AB595", "light green"),
64859
+ makeColorOption("#9CCDB9", "mint"),
64860
+ makeColorOption("#CDE6DC", "transparent mint"),
64861
+ makeColorOption("#05F38F", "bright teal")
64737
64862
  ],
64738
64863
  [
64739
- makeColorOption("#063E7E"),
64740
- makeColorOption("#0A60C5"),
64741
- makeColorOption("#3B80D1"),
64742
- makeColorOption("#6CA0DC"),
64743
- makeColorOption("#9DBFE8"),
64744
- makeColorOption("#CEDFF3"),
64745
- makeColorOption("#21c8ce")
64864
+ makeColorOption("#063E7E", "navy blue"),
64865
+ makeColorOption("#0A60C5", "blue"),
64866
+ makeColorOption("#3B80D1", "sky blue"),
64867
+ makeColorOption("#6CA0DC", "cornflower blue"),
64868
+ makeColorOption("#9DBFE8", "light blue"),
64869
+ makeColorOption("#CEDFF3", "very light blue"),
64870
+ makeColorOption("#21c8ce", "cyan")
64746
64871
  ],
64747
64872
  [
64748
- makeColorOption("#3E027A"),
64749
- makeColorOption("#6103BF"),
64750
- makeColorOption("#8136CC"),
64751
- makeColorOption("#A068D9"),
64752
- makeColorOption("#C09AE6"),
64753
- makeColorOption("#DFCDF2"),
64754
- makeColorOption("#A91DFF")
64873
+ makeColorOption("#3E027A", "deep purple"),
64874
+ makeColorOption("#6103BF", "indigo"),
64875
+ makeColorOption("#8136CC", "violet"),
64876
+ makeColorOption("#A068D9", "lavender pink"),
64877
+ makeColorOption("#C09AE6", "light lilac"),
64878
+ makeColorOption("#DFCDF2", "transparent lilac"),
64879
+ makeColorOption("#A91DFF", "neon purple")
64755
64880
  ]
64756
64881
  ];
64757
64882
  const getAvailableColorOptions = () => {
64758
64883
  return icons.flat().map((item) => item.value);
64759
64884
  };
64760
- const _hoisted_1$5 = { class: "toolbar-table-grid-wrapper" };
64761
- const _hoisted_2$3 = ["data-cols", "data-rows", "onClick"];
64762
- const _hoisted_3$3 = { class: "toolbar-table-grid-value" };
64885
+ const _hoisted_1$5 = ["data-cols", "data-rows", "onClick"];
64886
+ const _hoisted_2$3 = ["aria-valuetext"];
64763
64887
  const _sfc_main$6 = {
64764
64888
  __name: "TableGrid",
64765
64889
  emits: ["select", "clickoutside"],
@@ -64767,6 +64891,7 @@ const _sfc_main$6 = {
64767
64891
  const emit = __emit;
64768
64892
  const selectedRows = ref$1(0);
64769
64893
  const selectedCols = ref$1(0);
64894
+ const { isHighContrastMode: isHighContrastMode2 } = useHighContrastMode();
64770
64895
  const onTableGridMouseOver = (event) => {
64771
64896
  let target = event.target;
64772
64897
  let isGrid = !!target.dataset.grid;
@@ -64794,7 +64919,9 @@ const _sfc_main$6 = {
64794
64919
  emit("select", { cols, rows });
64795
64920
  };
64796
64921
  return (_ctx, _cache) => {
64797
- return openBlock(), createElementBlock("div", _hoisted_1$5, [
64922
+ return openBlock(), createElementBlock("div", {
64923
+ class: normalizeClass(["toolbar-table-grid-wrapper", { "high-contrast": unref(isHighContrastMode2) }])
64924
+ }, [
64798
64925
  createBaseVNode("div", {
64799
64926
  class: "toolbar-table-grid",
64800
64927
  onMouseover: onTableGridMouseOver,
@@ -64810,19 +64937,22 @@ const _sfc_main$6 = {
64810
64937
  "data-rows": i,
64811
64938
  "data-item": "true",
64812
64939
  onClick: withModifiers(($event) => handleClick2({ cols: n2, rows: i }), ["stop", "prevent"])
64813
- }, null, 8, _hoisted_2$3);
64940
+ }, null, 8, _hoisted_1$5);
64814
64941
  }), 64))
64815
64942
  ], 64);
64816
64943
  }), 64))
64817
64944
  ], 32),
64818
- createBaseVNode("div", _hoisted_3$3, toDisplayString(selectedRows.value) + " x " + toDisplayString(selectedCols.value), 1)
64819
- ]);
64945
+ createBaseVNode("div", {
64946
+ class: "toolbar-table-grid-value",
64947
+ "aria-valuetext": `${selectedRows.value} x ${selectedCols.value}`
64948
+ }, toDisplayString(selectedRows.value) + " x " + toDisplayString(selectedCols.value), 9, _hoisted_2$3)
64949
+ ], 2);
64820
64950
  };
64821
64951
  }
64822
64952
  };
64823
- const TableGrid = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-06352ab9"]]);
64953
+ const TableGrid = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-617bf152"]]);
64824
64954
  const _hoisted_1$4 = { class: "toolbar-table-actions" };
64825
- const _hoisted_2$2 = ["onClick", "data-item"];
64955
+ const _hoisted_2$2 = ["onClick", "data-item", "ariaLabel"];
64826
64956
  const _hoisted_3$2 = { class: "toolbar-table-actions__icon" };
64827
64957
  const _hoisted_4 = ["innerHTML"];
64828
64958
  const _hoisted_5 = { class: "toolbar-table-actions__label" };
@@ -64845,7 +64975,9 @@ const _sfc_main$5 = {
64845
64975
  return openBlock(), createElementBlock("div", {
64846
64976
  class: normalizeClass(["toolbar-table-actions__item", { "toolbar-table-actions__item--border": option.bottomBorder }]),
64847
64977
  onClick: ($event) => handleClick2(option),
64848
- "data-item": option.props?.["data-item"] || ""
64978
+ "data-item": option.props?.["data-item"] || "",
64979
+ ariaLabel: option.props?.ariaLabel,
64980
+ role: "menuitem"
64849
64981
  }, [
64850
64982
  createBaseVNode("div", _hoisted_3$2, [
64851
64983
  createBaseVNode("div", {
@@ -64860,7 +64992,7 @@ const _sfc_main$5 = {
64860
64992
  };
64861
64993
  }
64862
64994
  };
64863
- const TableActions = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-fdbfb4b0"]]);
64995
+ const TableActions = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-f82e859a"]]);
64864
64996
  const checkIconSvg = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"/></svg>\n';
64865
64997
  const _hoisted_1$3 = { class: "search-input-ctn" };
64866
64998
  const _hoisted_2$1 = { class: "row" };
@@ -64961,7 +65093,10 @@ const makeDefaultItems = ({
64961
65093
  name: "bold",
64962
65094
  command: "toggleBold",
64963
65095
  icon: toolbarIcons2.bold,
64964
- tooltip: toolbarTexts2.bold
65096
+ tooltip: toolbarTexts2.bold,
65097
+ attributes: {
65098
+ ariaLabel: "Bold"
65099
+ }
64965
65100
  });
64966
65101
  const fontButton = useToolbarItem({
64967
65102
  type: "dropdown",
@@ -64976,6 +65111,9 @@ const makeDefaultItems = ({
64976
65111
  isWide: true,
64977
65112
  style: { width: "116px" },
64978
65113
  suppressActiveHighlight: true,
65114
+ attributes: {
65115
+ ariaLabel: "Font family"
65116
+ },
64979
65117
  options: [...toolbarFonts ? toolbarFonts : TOOLBAR_FONTS],
64980
65118
  onActivate: ({ fontFamily: fontFamily2 }) => {
64981
65119
  if (!fontFamily2) return;
@@ -64996,6 +65134,9 @@ const makeDefaultItems = ({
64996
65134
  hasCaret: false,
64997
65135
  isWide: true,
64998
65136
  suppressActiveHighlight: true,
65137
+ attributes: {
65138
+ ariaLabel: "AI"
65139
+ },
64999
65140
  options: [
65000
65141
  {
65001
65142
  type: "render",
@@ -65043,6 +65184,9 @@ const makeDefaultItems = ({
65043
65184
  suppressActiveHighlight: true,
65044
65185
  isWide: true,
65045
65186
  command: "setFontSize",
65187
+ attributes: {
65188
+ ariaLabel: "Font size"
65189
+ },
65046
65190
  options: [
65047
65191
  { label: "8", key: "8pt", props: { "data-item": "btn-fontSize-option" } },
65048
65192
  { label: "9", key: "9pt", props: { "data-item": "btn-fontSize-option" } },
@@ -65078,14 +65222,20 @@ const makeDefaultItems = ({
65078
65222
  name: "italic",
65079
65223
  command: "toggleItalic",
65080
65224
  icon: toolbarIcons2.italic,
65081
- tooltip: toolbarTexts2.italic
65225
+ tooltip: toolbarTexts2.italic,
65226
+ attributes: {
65227
+ ariaLabel: "Italic"
65228
+ }
65082
65229
  });
65083
65230
  const underline = useToolbarItem({
65084
65231
  type: "button",
65085
65232
  name: "underline",
65086
65233
  command: "toggleUnderline",
65087
65234
  icon: toolbarIcons2.underline,
65088
- tooltip: toolbarTexts2.underline
65235
+ tooltip: toolbarTexts2.underline,
65236
+ attributes: {
65237
+ ariaLabel: "Underline"
65238
+ }
65089
65239
  });
65090
65240
  const highlight = useToolbarItem({
65091
65241
  type: "dropdown",
@@ -65098,6 +65248,9 @@ const makeDefaultItems = ({
65098
65248
  command: "setHighlight",
65099
65249
  noArgumentCommand: "unsetHighlight",
65100
65250
  suppressActiveHighlight: true,
65251
+ attributes: {
65252
+ ariaLabel: "Highlight"
65253
+ },
65101
65254
  options: [
65102
65255
  {
65103
65256
  key: "color",
@@ -65120,6 +65273,9 @@ const makeDefaultItems = ({
65120
65273
  tooltip: toolbarTexts2.color,
65121
65274
  command: "setColor",
65122
65275
  suppressActiveHighlight: true,
65276
+ attributes: {
65277
+ ariaLabel: "Color"
65278
+ },
65123
65279
  options: [
65124
65280
  {
65125
65281
  key: "color",
@@ -65140,6 +65296,9 @@ const makeDefaultItems = ({
65140
65296
  tooltip: toolbarTexts2.search,
65141
65297
  group: "right",
65142
65298
  inputRef: searchRef,
65299
+ attributes: {
65300
+ ariaLabel: "Search"
65301
+ },
65143
65302
  options: [
65144
65303
  {
65145
65304
  type: "render",
@@ -65165,6 +65324,9 @@ const makeDefaultItems = ({
65165
65324
  markName: "link",
65166
65325
  icon: toolbarIcons2.link,
65167
65326
  tooltip: toolbarTexts2.link,
65327
+ attributes: {
65328
+ ariaLabel: "Link dropdown"
65329
+ },
65168
65330
  options: [
65169
65331
  {
65170
65332
  type: "render",
@@ -65218,7 +65380,10 @@ const makeDefaultItems = ({
65218
65380
  command: "startImageUpload",
65219
65381
  icon: toolbarIcons2.image,
65220
65382
  tooltip: toolbarTexts2.image,
65221
- disabled: false
65383
+ disabled: false,
65384
+ attributes: {
65385
+ ariaLabel: "Image"
65386
+ }
65222
65387
  });
65223
65388
  const tableItem = useToolbarItem({
65224
65389
  type: "dropdown",
@@ -65229,6 +65394,9 @@ const makeDefaultItems = ({
65229
65394
  tooltip: toolbarTexts2.table,
65230
65395
  command: "insertTable",
65231
65396
  suppressActiveHighlight: true,
65397
+ attributes: {
65398
+ ariaLabel: "Table"
65399
+ },
65232
65400
  options: [
65233
65401
  {
65234
65402
  key: "table",
@@ -65255,6 +65423,9 @@ const makeDefaultItems = ({
65255
65423
  icon: toolbarIcons2.tableActions,
65256
65424
  hideLabel: true,
65257
65425
  disabled: true,
65426
+ attributes: {
65427
+ ariaLabel: "Table actions"
65428
+ },
65258
65429
  options: [
65259
65430
  {
65260
65431
  type: "render",
@@ -65267,69 +65438,102 @@ const makeDefaultItems = ({
65267
65438
  label: toolbarTexts2.addRowBefore,
65268
65439
  command: "addRowBefore",
65269
65440
  icon: toolbarIcons2.addRowBefore,
65270
- props: { "data-item": "btn-tableActions-option" }
65441
+ props: {
65442
+ "data-item": "btn-tableActions-option",
65443
+ ariaLabel: "Add row before"
65444
+ }
65271
65445
  },
65272
65446
  {
65273
65447
  label: toolbarTexts2.addRowAfter,
65274
65448
  command: "addRowAfter",
65275
65449
  icon: toolbarIcons2.addRowAfter,
65276
- props: { "data-item": "btn-tableActions-option" }
65450
+ props: {
65451
+ "data-item": "btn-tableActions-option",
65452
+ ariaLabel: "Add row after"
65453
+ }
65277
65454
  },
65278
65455
  {
65279
65456
  label: toolbarTexts2.addColumnBefore,
65280
65457
  command: "addColumnBefore",
65281
65458
  icon: toolbarIcons2.addColumnBefore,
65282
- props: { "data-item": "btn-tableActions-option" }
65459
+ props: {
65460
+ "data-item": "btn-tableActions-option",
65461
+ ariaLabel: "Add column before"
65462
+ }
65283
65463
  },
65284
65464
  {
65285
65465
  label: toolbarTexts2.addColumnAfter,
65286
65466
  command: "addColumnAfter",
65287
65467
  icon: toolbarIcons2.addColumnAfter,
65288
65468
  bottomBorder: true,
65289
- props: { "data-item": "btn-tableActions-option" }
65469
+ props: {
65470
+ "data-item": "btn-tableActions-option",
65471
+ ariaLabel: "Add column after"
65472
+ }
65290
65473
  },
65291
65474
  {
65292
65475
  label: toolbarTexts2.deleteRow,
65293
65476
  command: "deleteRow",
65294
65477
  icon: toolbarIcons2.deleteRow,
65295
- props: { "data-item": "btn-tableActions-option" }
65478
+ props: {
65479
+ "data-item": "btn-tableActions-option",
65480
+ ariaLabel: "Delete row"
65481
+ }
65296
65482
  },
65297
65483
  {
65298
65484
  label: toolbarTexts2.deleteColumn,
65299
65485
  command: "deleteColumn",
65300
65486
  icon: toolbarIcons2.deleteColumn,
65301
- props: { "data-item": "btn-tableActions-option" }
65487
+ props: {
65488
+ "data-item": "btn-tableActions-option",
65489
+ ariaLabel: "Delete column"
65490
+ }
65302
65491
  },
65303
65492
  {
65304
65493
  label: toolbarTexts2.deleteTable,
65305
65494
  command: "deleteTable",
65306
65495
  icon: toolbarIcons2.deleteTable,
65307
- props: { "data-item": "btn-tableActions-option" }
65496
+ props: {
65497
+ "data-item": "btn-tableActions-option",
65498
+ ariaLabel: "Delete table"
65499
+ }
65308
65500
  },
65309
65501
  {
65310
65502
  label: toolbarTexts2.transparentBorders,
65311
65503
  command: "deleteCellAndTableBorders",
65312
65504
  icon: toolbarIcons2.deleteBorders,
65313
65505
  bottomBorder: true,
65314
- props: { "data-item": "btn-tableActions-option" }
65506
+ props: {
65507
+ "data-item": "btn-tableActions-option",
65508
+ ariaLabel: "Delete cell and table borders"
65509
+ }
65315
65510
  },
65316
65511
  {
65317
65512
  label: toolbarTexts2.mergeCells,
65318
65513
  command: "mergeCells",
65319
65514
  icon: toolbarIcons2.mergeCells,
65320
- props: { "data-item": "btn-tableActions-option" }
65515
+ props: {
65516
+ "data-item": "btn-tableActions-option",
65517
+ ariaLabel: "Merge cells"
65518
+ }
65321
65519
  },
65322
65520
  {
65323
65521
  label: toolbarTexts2.splitCell,
65324
65522
  command: "splitCell",
65325
65523
  icon: toolbarIcons2.splitCell,
65326
- props: { "data-item": "btn-tableActions-option" }
65524
+ props: {
65525
+ "data-item": "btn-tableActions-option",
65526
+ ariaLabel: "Split cells"
65527
+ }
65327
65528
  },
65328
65529
  {
65329
65530
  label: toolbarTexts2.fixTables,
65330
65531
  command: "fixTables",
65331
65532
  icon: toolbarIcons2.fixTables,
65332
- props: { "data-item": "btn-tableActions-option" }
65533
+ props: {
65534
+ "data-item": "btn-tableActions-option",
65535
+ ariaLabel: "Fix tables"
65536
+ }
65333
65537
  }
65334
65538
  ];
65335
65539
  function renderTableActions(tableActionsItem2) {
@@ -65352,6 +65556,9 @@ const makeDefaultItems = ({
65352
65556
  markName: "textAlign",
65353
65557
  labelAttr: "textAlign",
65354
65558
  suppressActiveHighlight: true,
65559
+ attributes: {
65560
+ ariaLabel: "Text align"
65561
+ },
65355
65562
  options: [
65356
65563
  {
65357
65564
  type: "render",
@@ -65395,14 +65602,20 @@ const makeDefaultItems = ({
65395
65602
  name: "list",
65396
65603
  command: "toggleBulletList",
65397
65604
  icon: toolbarIcons2.bulletList,
65398
- tooltip: toolbarTexts2.bulletList
65605
+ tooltip: toolbarTexts2.bulletList,
65606
+ attributes: {
65607
+ ariaLabel: "Bullet list"
65608
+ }
65399
65609
  });
65400
65610
  const numberedList = useToolbarItem({
65401
65611
  type: "button",
65402
65612
  name: "numberedlist",
65403
65613
  command: "toggleOrderedList",
65404
65614
  icon: toolbarIcons2.numberedList,
65405
- tooltip: toolbarTexts2.numberedList
65615
+ tooltip: toolbarTexts2.numberedList,
65616
+ attributes: {
65617
+ ariaLabel: "Numbered list"
65618
+ }
65406
65619
  });
65407
65620
  const indentLeft = useToolbarItem({
65408
65621
  type: "button",
@@ -65410,7 +65623,10 @@ const makeDefaultItems = ({
65410
65623
  command: "decreaseTextIndent",
65411
65624
  icon: toolbarIcons2.indentLeft,
65412
65625
  tooltip: toolbarTexts2.indentLeft,
65413
- disabled: false
65626
+ disabled: false,
65627
+ attributes: {
65628
+ ariaLabel: "Left indent"
65629
+ }
65414
65630
  });
65415
65631
  const indentRight = useToolbarItem({
65416
65632
  type: "button",
@@ -65418,14 +65634,20 @@ const makeDefaultItems = ({
65418
65634
  command: "increaseTextIndent",
65419
65635
  icon: toolbarIcons2.indentRight,
65420
65636
  tooltip: toolbarTexts2.indentRight,
65421
- disabled: false
65637
+ disabled: false,
65638
+ attributes: {
65639
+ ariaLabel: "Right indent"
65640
+ }
65422
65641
  });
65423
65642
  const overflow = useToolbarItem({
65424
65643
  type: "overflow",
65425
65644
  name: "overflow",
65426
65645
  command: "toggleOverflow",
65427
65646
  icon: toolbarIcons2.overflow,
65428
- disabled: false
65647
+ disabled: false,
65648
+ attributes: {
65649
+ ariaLabel: "Overflow items"
65650
+ }
65429
65651
  });
65430
65652
  const zoom = useToolbarItem({
65431
65653
  type: "dropdown",
@@ -65439,6 +65661,9 @@ const makeDefaultItems = ({
65439
65661
  isWide: true,
65440
65662
  inlineTextInputVisible: false,
65441
65663
  hasInlineTextInput: true,
65664
+ attributes: {
65665
+ ariaLabel: "Zoom"
65666
+ },
65442
65667
  options: [
65443
65668
  { label: "50%", key: 0.5, props: { "data-item": "btn-zoom-option" } },
65444
65669
  { label: "75%", key: 0.75, props: { "data-item": "btn-zoom-option" } },
@@ -65461,6 +65686,9 @@ const makeDefaultItems = ({
65461
65686
  command: "undo",
65462
65687
  icon: toolbarIcons2.undo,
65463
65688
  group: "left",
65689
+ attributes: {
65690
+ ariaLabel: "Undo"
65691
+ },
65464
65692
  onDeactivate: () => {
65465
65693
  undo2.disabled.value = !superToolbar.undoDepth;
65466
65694
  }
@@ -65473,6 +65701,9 @@ const makeDefaultItems = ({
65473
65701
  command: "redo",
65474
65702
  icon: toolbarIcons2.redo,
65475
65703
  group: "left",
65704
+ attributes: {
65705
+ ariaLabel: "Redo"
65706
+ },
65476
65707
  onDeactivate: () => {
65477
65708
  redo2.disabled.value = !superToolbar.redoDepth;
65478
65709
  }
@@ -65484,7 +65715,10 @@ const makeDefaultItems = ({
65484
65715
  tooltip: toolbarTexts2.trackChanges,
65485
65716
  command: "toggleTrackChanges",
65486
65717
  icon: toolbarIcons2.trackChanges,
65487
- group: "left"
65718
+ group: "left",
65719
+ attributes: {
65720
+ ariaLabel: "Track changes"
65721
+ }
65488
65722
  });
65489
65723
  const acceptTrackedChangeBySelection = useToolbarItem({
65490
65724
  type: "button",
@@ -65493,7 +65727,10 @@ const makeDefaultItems = ({
65493
65727
  tooltip: toolbarTexts2.trackChangesAccept,
65494
65728
  command: "acceptTrackedChangeBySelection",
65495
65729
  icon: toolbarIcons2.trackChangesAccept,
65496
- group: "left"
65730
+ group: "left",
65731
+ attributes: {
65732
+ ariaLabel: "Accept tracked changes"
65733
+ }
65497
65734
  });
65498
65735
  const rejectTrackedChangeOnSelection = useToolbarItem({
65499
65736
  type: "button",
@@ -65502,7 +65739,10 @@ const makeDefaultItems = ({
65502
65739
  tooltip: toolbarTexts2.trackChangesReject,
65503
65740
  command: "rejectTrackedChangeOnSelection",
65504
65741
  icon: toolbarIcons2.trackChangesReject,
65505
- group: "left"
65742
+ group: "left",
65743
+ attributes: {
65744
+ ariaLabel: "Reject tracked changes"
65745
+ }
65506
65746
  });
65507
65747
  const toggleTrackChangesOriginal = useToolbarItem({
65508
65748
  type: "button",
@@ -65511,7 +65751,10 @@ const makeDefaultItems = ({
65511
65751
  tooltip: toolbarTexts2.trackChangesOriginal,
65512
65752
  command: "toggleTrackChangesShowOriginal",
65513
65753
  icon: toolbarIcons2.trackChangesOriginal,
65514
- group: "left"
65754
+ group: "left",
65755
+ attributes: {
65756
+ ariaLabel: "Toggle tracked changes show original"
65757
+ }
65515
65758
  });
65516
65759
  const toggleTrackChangesFinal = useToolbarItem({
65517
65760
  type: "button",
@@ -65520,14 +65763,20 @@ const makeDefaultItems = ({
65520
65763
  tooltip: toolbarTexts2.trackChangesFinal,
65521
65764
  command: "toggleTrackChangesShowFinal",
65522
65765
  icon: toolbarIcons2.trackChangesFinal,
65523
- group: "left"
65766
+ group: "left",
65767
+ attributes: {
65768
+ ariaLabel: "Toggle tracked changes show final"
65769
+ }
65524
65770
  });
65525
65771
  const clearFormatting = useToolbarItem({
65526
65772
  type: "button",
65527
65773
  name: "clearFormatting",
65528
65774
  command: "clearFormat",
65529
65775
  tooltip: toolbarTexts2.clearFormatting,
65530
- icon: toolbarIcons2.clearFormatting
65776
+ icon: toolbarIcons2.clearFormatting,
65777
+ attributes: {
65778
+ ariaLabel: "Clear formatting"
65779
+ }
65531
65780
  });
65532
65781
  [
65533
65782
  bold,
@@ -65543,7 +65792,10 @@ const makeDefaultItems = ({
65543
65792
  name: "copyFormat",
65544
65793
  tooltip: toolbarTexts2.copyFormat,
65545
65794
  icon: toolbarIcons2.copyFormat,
65546
- command: "copyFormat"
65795
+ command: "copyFormat",
65796
+ attributes: {
65797
+ ariaLabel: "Copy formatting"
65798
+ }
65547
65799
  });
65548
65800
  const getDocumentOptionsAfterRole = (role2, documentOptions2) => {
65549
65801
  if (role2 === "editor") return documentOptions2;
@@ -65572,7 +65824,8 @@ const makeDefaultItems = ({
65572
65824
  disabled: role !== "editor",
65573
65825
  attributes: {
65574
65826
  dropdownPosition: "right",
65575
- className: "toolbar-item--doc-mode"
65827
+ className: "toolbar-item--doc-mode",
65828
+ ariaLabel: "Document mode"
65576
65829
  },
65577
65830
  options: [
65578
65831
  {
@@ -65619,7 +65872,10 @@ const makeDefaultItems = ({
65619
65872
  name: "pageBreakTool",
65620
65873
  command: "insertPageBreak",
65621
65874
  icon: toolbarIcons2.pageBreak,
65622
- tooltip: toolbarTexts2.pageBreak
65875
+ tooltip: toolbarTexts2.pageBreak,
65876
+ attributes: {
65877
+ ariaLabel: "Page break"
65878
+ }
65623
65879
  });
65624
65880
  const controlSizes = /* @__PURE__ */ new Map([
65625
65881
  ["separator", 20],
@@ -65637,7 +65893,10 @@ const makeDefaultItems = ({
65637
65893
  name: "ruler",
65638
65894
  command: "toggleRuler",
65639
65895
  icon: toolbarIcons2.ruler,
65640
- tooltip: toolbarTexts2.ruler
65896
+ tooltip: toolbarTexts2.ruler,
65897
+ attributes: {
65898
+ ariaLabel: "Ruler"
65899
+ }
65641
65900
  });
65642
65901
  const selectedLinkedStyle = ref$1(null);
65643
65902
  const linkedStyles = useToolbarItem({
@@ -65653,7 +65912,8 @@ const makeDefaultItems = ({
65653
65912
  suppressActiveHighlight: true,
65654
65913
  disabled: false,
65655
65914
  attributes: {
65656
- className: "toolbar-item--linked-styles"
65915
+ className: "toolbar-item--linked-styles",
65916
+ ariaLabel: "Linked styles"
65657
65917
  },
65658
65918
  options: [
65659
65919
  {
@@ -65700,6 +65960,9 @@ const makeDefaultItems = ({
65700
65960
  command: "setLineHeight",
65701
65961
  dropdownValueKey: "key",
65702
65962
  selectedValue: "1",
65963
+ attributes: {
65964
+ ariaLabel: "Line height"
65965
+ },
65703
65966
  options: [
65704
65967
  { label: "1,0", key: "1", icon: () => renderIcon("1", lineHeight2.selectedValue), props: { "data-item": "btn-lineHeight-option" } },
65705
65968
  { label: "1,15", key: "1.15", icon: () => renderIcon("1.15", lineHeight2.selectedValue), props: { "data-item": "btn-lineHeight-option" } },
@@ -67017,7 +67280,8 @@ const _sfc_main$2 = {
67017
67280
  createBaseVNode("div", {
67018
67281
  ref_key: "editorElem",
67019
67282
  ref: editorElem,
67020
- class: "editor-element super-editor__element"
67283
+ class: "editor-element super-editor__element",
67284
+ role: "presentation"
67021
67285
  }, null, 512)
67022
67286
  ], 544),
67023
67287
  !editorReady.value ? (openBlock(), createElementBlock("div", _hoisted_2, [
@@ -67069,7 +67333,7 @@ const _sfc_main$2 = {
67069
67333
  };
67070
67334
  }
67071
67335
  };
67072
- const SuperEditor = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-ff8f86f4"]]);
67336
+ const SuperEditor = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-f27b7c30"]]);
67073
67337
  const _sfc_main$1 = {
67074
67338
  __name: "BasicUpload",
67075
67339
  emits: ["file-change"],