@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.
- package/dist/chunks/{super-editor.es-J7K_8fA3.es.js → super-editor.es-Bt5pMkY-.es.js} +500 -236
- package/dist/chunks/{super-editor.es-0mAzj58N.cjs → super-editor.es-CzfjXQ8V.cjs} +499 -235
- package/dist/composables/use-high-contrast-mode.d.ts +5 -0
- package/dist/composables/use-high-contrast-mode.d.ts.map +1 -0
- package/dist/core/SuperDoc.d.ts +7 -0
- package/dist/core/SuperDoc.d.ts.map +1 -1
- package/dist/core/create-app.d.ts.map +1 -1
- package/dist/style.css +299 -245
- package/dist/super-editor/ai-writer.es.js +2 -2
- package/dist/super-editor/chunks/{converter-BSr2Ue72.js → converter-LyqpytFD.js} +2 -2
- package/dist/super-editor/chunks/{docx-zipper-BCUCSdEs.js → docx-zipper-CSx2w--M.js} +1 -1
- package/dist/super-editor/chunks/{editor-DOwVVn_i.js → editor-czvDp00c.js} +96 -35
- package/dist/super-editor/chunks/{toolbar-hUPYR8un.js → toolbar-BnvzLMKn.js} +80 -36
- package/dist/super-editor/components/toolbar/defaultItems.d.ts.map +1 -1
- package/dist/super-editor/composables/use-high-contrast-mode.d.ts +5 -0
- package/dist/super-editor/composables/use-high-contrast-mode.d.ts.map +1 -0
- package/dist/super-editor/converter.es.js +1 -1
- package/dist/super-editor/core/Editor.d.ts +1 -0
- package/dist/super-editor/core/Editor.d.ts.map +1 -1
- package/dist/super-editor/docx-zipper.es.js +2 -2
- package/dist/super-editor/editor.es.js +3 -3
- package/dist/super-editor/extensions/ai/ai-nodes.d.ts.map +1 -1
- package/dist/super-editor/extensions/bookmarks/bookmarks.d.ts.map +1 -1
- package/dist/super-editor/extensions/bullet-list/bullet-list.d.ts.map +1 -1
- package/dist/super-editor/extensions/comment/comment.d.ts.map +1 -1
- package/dist/super-editor/extensions/document/document.d.ts.map +1 -1
- package/dist/super-editor/extensions/field-annotation/field-annotation.d.ts.map +1 -1
- package/dist/super-editor/extensions/heading/heading.d.ts.map +1 -1
- package/dist/super-editor/extensions/image/image.d.ts.map +1 -1
- package/dist/super-editor/extensions/line-break/line-break.d.ts.map +1 -1
- package/dist/super-editor/extensions/list-item/list-item.d.ts.map +1 -1
- package/dist/super-editor/extensions/mention/mention.d.ts.map +1 -1
- package/dist/super-editor/extensions/ordered-list/ordered-list.d.ts.map +1 -1
- package/dist/super-editor/extensions/page-number/page-number.d.ts.map +1 -1
- package/dist/super-editor/extensions/pagination/pagination-helpers.d.ts.map +1 -1
- package/dist/super-editor/extensions/run-item/run-item.d.ts.map +1 -1
- package/dist/super-editor/extensions/shape-container/shape-container.d.ts.map +1 -1
- package/dist/super-editor/extensions/shape-textbox/shape-textbox.d.ts.map +1 -1
- package/dist/super-editor/extensions/structured-content/structured-content.d.ts.map +1 -1
- package/dist/super-editor/extensions/table/table.d.ts.map +1 -1
- package/dist/super-editor/extensions/table-cell/table-cell.d.ts.map +1 -1
- package/dist/super-editor/extensions/table-header/table-header.d.ts.map +1 -1
- package/dist/super-editor/extensions/table-row/table-row.d.ts.map +1 -1
- package/dist/super-editor/file-zipper.es.js +1 -1
- package/dist/super-editor/style.css +243 -196
- package/dist/super-editor/super-editor.es.js +334 -174
- package/dist/super-editor/toolbar.es.js +2 -2
- package/dist/super-editor.cjs +1 -1
- package/dist/super-editor.es.js +1 -1
- package/dist/superdoc.cjs +34 -9
- package/dist/superdoc.es.js +35 -10
- package/dist/superdoc.umd.js +536 -247
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +2 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { computed, createElementBlock, openBlock, createElementVNode, createCommentVNode, normalizeClass, normalizeStyle, ref, unref, createBlock, toDisplayString, withDirectives, withKeys, withModifiers, vModelText, getCurrentInstance, createVNode, readonly, watch, onMounted, onBeforeUnmount, reactive, onBeforeMount, inject, onActivated, onDeactivated, createTextVNode, Fragment, Comment, defineComponent, provide, h, Teleport, toRef, nextTick, renderSlot, isVNode, shallowRef, watchEffect, mergeProps, Transition, vShow, cloneVNode, Text, renderList, withCtx } from "vue";
|
|
2
|
-
import { x as process$1 } from "./converter-
|
|
3
|
-
import { _ as _export_sfc, g as global$1 } from "./editor-
|
|
2
|
+
import { x as process$1 } from "./converter-LyqpytFD.js";
|
|
3
|
+
import { _ as _export_sfc, u as useHighContrastMode, g as global$1 } from "./editor-czvDp00c.js";
|
|
4
4
|
const sanitizeNumber = (value, defaultNumber) => {
|
|
5
5
|
let sanitized = value.replace(/[^0-9.]/g, "");
|
|
6
6
|
sanitized = parseFloat(sanitized);
|
|
@@ -191,15 +191,16 @@ const _sfc_main$5 = {
|
|
|
191
191
|
}
|
|
192
192
|
};
|
|
193
193
|
const ToolbarButtonIcon = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-6d7523ab"]]);
|
|
194
|
-
const _hoisted_1$3 = ["
|
|
195
|
-
const _hoisted_2$2 =
|
|
194
|
+
const _hoisted_1$3 = ["role"];
|
|
195
|
+
const _hoisted_2$2 = ["data-item", "aria-label"];
|
|
196
|
+
const _hoisted_3$2 = {
|
|
196
197
|
key: 1,
|
|
197
198
|
class: "button-label"
|
|
198
199
|
};
|
|
199
|
-
const
|
|
200
|
-
const _hoisted_4 = ["placeholder", "onKeydown", "id"];
|
|
200
|
+
const _hoisted_4 = { key: 2 };
|
|
201
201
|
const _hoisted_5 = ["placeholder", "onKeydown", "id"];
|
|
202
|
-
const _hoisted_6 = ["
|
|
202
|
+
const _hoisted_6 = ["placeholder", "onKeydown", "id"];
|
|
203
|
+
const _hoisted_7 = ["innerHTML"];
|
|
203
204
|
const _sfc_main$4 = {
|
|
204
205
|
__name: "ToolbarButton",
|
|
205
206
|
props: {
|
|
@@ -226,6 +227,10 @@ const _sfc_main$4 = {
|
|
|
226
227
|
defaultLabel: {
|
|
227
228
|
type: String,
|
|
228
229
|
default: null
|
|
230
|
+
},
|
|
231
|
+
isOverflowItem: {
|
|
232
|
+
type: Boolean,
|
|
233
|
+
default: false
|
|
229
234
|
}
|
|
230
235
|
},
|
|
231
236
|
emits: ["buttonClick", "textSubmit"],
|
|
@@ -249,6 +254,7 @@ const _sfc_main$4 = {
|
|
|
249
254
|
} = props.toolbarItem;
|
|
250
255
|
const inlineTextInput = ref(props.defaultLabel);
|
|
251
256
|
const inlineInput = ref(null);
|
|
257
|
+
const { isHighContrastMode } = useHighContrastMode();
|
|
252
258
|
const handleClick = () => {
|
|
253
259
|
if (hasInlineTextInput) {
|
|
254
260
|
inlineInput.value?.focus();
|
|
@@ -276,12 +282,15 @@ const _sfc_main$4 = {
|
|
|
276
282
|
return (_ctx, _cache) => {
|
|
277
283
|
return openBlock(), createElementBlock("div", {
|
|
278
284
|
class: normalizeClass(["toolbar-item", unref(attributes).className]),
|
|
279
|
-
style: normalizeStyle(getStyle.value)
|
|
285
|
+
style: normalizeStyle(getStyle.value),
|
|
286
|
+
role: __props.isOverflowItem ? "menuitem" : ""
|
|
280
287
|
}, [
|
|
281
288
|
createElementVNode("div", {
|
|
282
289
|
onClick: handleClick,
|
|
283
|
-
class: normalizeClass(["toolbar-button", { active: unref(active), disabled: unref(disabled), narrow: __props.isNarrow, wide: __props.isWide, "has-inline-text-input": unref(hasInlineTextInput) }]),
|
|
284
|
-
"data-item": `btn-${unref(name) || ""}
|
|
290
|
+
class: normalizeClass(["toolbar-button", { active: unref(active), disabled: unref(disabled), narrow: __props.isNarrow, wide: __props.isWide, "has-inline-text-input": unref(hasInlineTextInput), "high-contrast": unref(isHighContrastMode) }]),
|
|
291
|
+
"data-item": `btn-${unref(name) || ""}`,
|
|
292
|
+
"aria-label": unref(attributes).ariaLabel,
|
|
293
|
+
role: "button"
|
|
285
294
|
}, [
|
|
286
295
|
unref(icon) ? (openBlock(), createBlock(ToolbarButtonIcon, {
|
|
287
296
|
key: 0,
|
|
@@ -290,8 +299,8 @@ const _sfc_main$4 = {
|
|
|
290
299
|
icon: unref(icon),
|
|
291
300
|
name: unref(name)
|
|
292
301
|
}, null, 8, ["color", "icon", "name"])) : createCommentVNode("", true),
|
|
293
|
-
unref(label) && !unref(hideLabel) && !unref(inlineTextInputVisible) ? (openBlock(), createElementBlock("div",
|
|
294
|
-
unref(inlineTextInputVisible) ? (openBlock(), createElementBlock("span",
|
|
302
|
+
unref(label) && !unref(hideLabel) && !unref(inlineTextInputVisible) ? (openBlock(), createElementBlock("div", _hoisted_3$2, toDisplayString(unref(label)), 1)) : createCommentVNode("", true),
|
|
303
|
+
unref(inlineTextInputVisible) ? (openBlock(), createElementBlock("span", _hoisted_4, [
|
|
295
304
|
unref(name) === "fontSize" ? withDirectives((openBlock(), createElementBlock("input", {
|
|
296
305
|
key: 0,
|
|
297
306
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => inlineTextInput.value = $event),
|
|
@@ -299,12 +308,12 @@ const _sfc_main$4 = {
|
|
|
299
308
|
placeholder: unref(label),
|
|
300
309
|
onKeydown: withKeys(withModifiers(handleInputSubmit, ["prevent"]), ["enter"]),
|
|
301
310
|
type: "text",
|
|
302
|
-
class: "button-text-input",
|
|
311
|
+
class: normalizeClass(["button-text-input", { "high-contrast": unref(isHighContrastMode) }]),
|
|
303
312
|
id: "inlineTextInput-" + unref(name),
|
|
304
313
|
autoccomplete: "off",
|
|
305
314
|
ref_key: "inlineInput",
|
|
306
315
|
ref: inlineInput
|
|
307
|
-
}, null,
|
|
316
|
+
}, null, 42, _hoisted_5)), [
|
|
308
317
|
[vModelText, inlineTextInput.value]
|
|
309
318
|
]) : withDirectives((openBlock(), createElementBlock("input", {
|
|
310
319
|
key: 1,
|
|
@@ -317,7 +326,7 @@ const _sfc_main$4 = {
|
|
|
317
326
|
autoccomplete: "off",
|
|
318
327
|
ref_key: "inlineInput",
|
|
319
328
|
ref: inlineInput
|
|
320
|
-
}, null, 40,
|
|
329
|
+
}, null, 40, _hoisted_6)), [
|
|
321
330
|
[vModelText, inlineTextInput.value]
|
|
322
331
|
])
|
|
323
332
|
])) : createCommentVNode("", true),
|
|
@@ -326,14 +335,18 @@ const _sfc_main$4 = {
|
|
|
326
335
|
class: "dropdown-caret",
|
|
327
336
|
innerHTML: caretIcon.value,
|
|
328
337
|
style: normalizeStyle({ opacity: unref(disabled) ? 0.6 : 1 })
|
|
329
|
-
}, null, 12,
|
|
330
|
-
], 10,
|
|
331
|
-
],
|
|
338
|
+
}, null, 12, _hoisted_7)) : createCommentVNode("", true)
|
|
339
|
+
], 10, _hoisted_2$2)
|
|
340
|
+
], 14, _hoisted_1$3);
|
|
332
341
|
};
|
|
333
342
|
}
|
|
334
343
|
};
|
|
335
|
-
const ToolbarButton = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-
|
|
336
|
-
const _hoisted_1$2 = {
|
|
344
|
+
const ToolbarButton = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-6eb57404"]]);
|
|
345
|
+
const _hoisted_1$2 = {
|
|
346
|
+
class: "toolbar-separator",
|
|
347
|
+
role: "separator",
|
|
348
|
+
"aria-label": "Toolbar separator"
|
|
349
|
+
};
|
|
337
350
|
const _sfc_main$3 = {
|
|
338
351
|
__name: "ToolbarSeparator",
|
|
339
352
|
props: {
|
|
@@ -344,19 +357,30 @@ const _sfc_main$3 = {
|
|
|
344
357
|
},
|
|
345
358
|
emits: ["command"],
|
|
346
359
|
setup(__props, { emit: __emit }) {
|
|
360
|
+
const { isHighContrastMode } = useHighContrastMode();
|
|
361
|
+
const getSeparatorColor = () => {
|
|
362
|
+
if (isHighContrastMode.value) {
|
|
363
|
+
return "#000";
|
|
364
|
+
}
|
|
365
|
+
return "#dbdbdb";
|
|
366
|
+
};
|
|
347
367
|
return (_ctx, _cache) => {
|
|
348
|
-
return openBlock(), createElementBlock("div", _hoisted_1$2,
|
|
349
|
-
createElementVNode("div", {
|
|
350
|
-
|
|
368
|
+
return openBlock(), createElementBlock("div", _hoisted_1$2, [
|
|
369
|
+
createElementVNode("div", {
|
|
370
|
+
class: "separator-inner",
|
|
371
|
+
style: normalizeStyle({ backgroundColor: getSeparatorColor() })
|
|
372
|
+
}, null, 4)
|
|
373
|
+
]);
|
|
351
374
|
};
|
|
352
375
|
}
|
|
353
376
|
};
|
|
354
|
-
const ToolbarSeparator = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-
|
|
377
|
+
const ToolbarSeparator = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-b240fc3a"]]);
|
|
355
378
|
const _hoisted_1$1 = { class: "overflow-menu" };
|
|
356
379
|
const _hoisted_2$1 = { class: "overflow-menu-trigger" };
|
|
357
380
|
const _hoisted_3$1 = {
|
|
358
381
|
key: 0,
|
|
359
|
-
class: "overflow-menu_items"
|
|
382
|
+
class: "overflow-menu_items",
|
|
383
|
+
role: "group"
|
|
360
384
|
};
|
|
361
385
|
const _sfc_main$2 = {
|
|
362
386
|
__name: "OverflowMenu",
|
|
@@ -394,16 +418,17 @@ const _sfc_main$2 = {
|
|
|
394
418
|
]),
|
|
395
419
|
isDropdownOpened.value ? (openBlock(), createElementBlock("div", _hoisted_3$1, [
|
|
396
420
|
createVNode(ButtonGroup, {
|
|
421
|
+
class: "superdoc-toolbar-overflow",
|
|
397
422
|
"toolbar-items": __props.overflowItems,
|
|
398
|
-
|
|
399
|
-
|
|
423
|
+
"from-overflow": "",
|
|
424
|
+
onCommand: handleCommand
|
|
400
425
|
}, null, 8, ["toolbar-items"])
|
|
401
426
|
])) : createCommentVNode("", true)
|
|
402
427
|
]);
|
|
403
428
|
};
|
|
404
429
|
}
|
|
405
430
|
};
|
|
406
|
-
const OverflowMenu = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-
|
|
431
|
+
const OverflowMenu = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-c637209b"]]);
|
|
407
432
|
function plugin$1(options) {
|
|
408
433
|
let _bPrefix = ".";
|
|
409
434
|
let _ePrefix = "__";
|
|
@@ -9751,6 +9776,10 @@ const _sfc_main$1 = {
|
|
|
9751
9776
|
position: {
|
|
9752
9777
|
type: String,
|
|
9753
9778
|
default: "left"
|
|
9779
|
+
},
|
|
9780
|
+
fromOverflow: {
|
|
9781
|
+
type: Boolean,
|
|
9782
|
+
default: false
|
|
9754
9783
|
}
|
|
9755
9784
|
},
|
|
9756
9785
|
emits: ["command"],
|
|
@@ -9758,6 +9787,7 @@ const _sfc_main$1 = {
|
|
|
9758
9787
|
const emit = __emit;
|
|
9759
9788
|
const props = __props;
|
|
9760
9789
|
const currentItem = ref(null);
|
|
9790
|
+
const { isHighContrastMode } = useHighContrastMode();
|
|
9761
9791
|
const isMobile = window.matchMedia("(max-width: 768px)").matches;
|
|
9762
9792
|
const styleMap = {
|
|
9763
9793
|
left: {
|
|
@@ -9816,13 +9846,20 @@ const _sfc_main$1 = {
|
|
|
9816
9846
|
};
|
|
9817
9847
|
});
|
|
9818
9848
|
};
|
|
9849
|
+
const getDropdownAttributes = (option, item) => {
|
|
9850
|
+
return {
|
|
9851
|
+
role: "menuitem",
|
|
9852
|
+
ariaLabel: `${item.attributes.value.ariaLabel} - ${option.label}`
|
|
9853
|
+
};
|
|
9854
|
+
};
|
|
9819
9855
|
const handleClickOutside = (e) => {
|
|
9820
9856
|
closeDropdowns();
|
|
9821
9857
|
};
|
|
9822
9858
|
return (_ctx, _cache) => {
|
|
9823
9859
|
return openBlock(), createElementBlock("div", {
|
|
9824
9860
|
style: normalizeStyle(getPositionStyle.value),
|
|
9825
|
-
class: "button-group"
|
|
9861
|
+
class: "button-group",
|
|
9862
|
+
role: "group"
|
|
9826
9863
|
}, [
|
|
9827
9864
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.toolbarItems, (item) => {
|
|
9828
9865
|
return openBlock(), createElementBlock("div", {
|
|
@@ -9843,10 +9880,14 @@ const _sfc_main$1 = {
|
|
|
9843
9880
|
show: item.expand.value,
|
|
9844
9881
|
size: "medium",
|
|
9845
9882
|
placement: "bottom-start",
|
|
9846
|
-
class: "toolbar-button toolbar-dropdown sd-editor-toolbar-dropdown",
|
|
9883
|
+
class: normalizeClass(["toolbar-button toolbar-dropdown sd-editor-toolbar-dropdown", { "high-contrast": unref(isHighContrastMode) }]),
|
|
9847
9884
|
onSelect: (key, option) => handleSelect(item, option),
|
|
9848
9885
|
onClickoutside: handleClickOutside,
|
|
9849
|
-
style: normalizeStyle(item.dropdownStyles.value)
|
|
9886
|
+
style: normalizeStyle(item.dropdownStyles.value),
|
|
9887
|
+
"menu-props": () => ({
|
|
9888
|
+
role: "menu"
|
|
9889
|
+
}),
|
|
9890
|
+
"node-props": (option) => getDropdownAttributes(option, item)
|
|
9850
9891
|
}, {
|
|
9851
9892
|
default: withCtx(() => [
|
|
9852
9893
|
createVNode(unref(NTooltip), {
|
|
@@ -9870,7 +9911,7 @@ const _sfc_main$1 = {
|
|
|
9870
9911
|
}, 1032, ["disabled"])
|
|
9871
9912
|
]),
|
|
9872
9913
|
_: 2
|
|
9873
|
-
}, 1032, ["options", "trigger", "show", "onSelect", "style"])) : isButton(item) ? (openBlock(), createBlock(unref(NTooltip), {
|
|
9914
|
+
}, 1032, ["options", "trigger", "show", "class", "onSelect", "style", "node-props"])) : isButton(item) ? (openBlock(), createBlock(unref(NTooltip), {
|
|
9874
9915
|
key: 2,
|
|
9875
9916
|
trigger: "hover",
|
|
9876
9917
|
class: "sd-editor-toolbar-tooltip"
|
|
@@ -9878,9 +9919,10 @@ const _sfc_main$1 = {
|
|
|
9878
9919
|
trigger: withCtx(() => [
|
|
9879
9920
|
createVNode(ToolbarButton, {
|
|
9880
9921
|
"toolbar-item": item,
|
|
9922
|
+
"is-overflow-item": __props.fromOverflow,
|
|
9881
9923
|
onTextSubmit: ($event) => handleToolbarButtonTextSubmit(item, $event),
|
|
9882
9924
|
onButtonClick: ($event) => handleToolbarButtonClick(item)
|
|
9883
|
-
}, null, 8, ["toolbar-item", "onTextSubmit", "onButtonClick"])
|
|
9925
|
+
}, null, 8, ["toolbar-item", "is-overflow-item", "onTextSubmit", "onButtonClick"])
|
|
9884
9926
|
]),
|
|
9885
9927
|
default: withCtx(() => [
|
|
9886
9928
|
item.tooltip ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
|
@@ -9901,7 +9943,7 @@ const _sfc_main$1 = {
|
|
|
9901
9943
|
};
|
|
9902
9944
|
}
|
|
9903
9945
|
};
|
|
9904
|
-
const ButtonGroup = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-
|
|
9946
|
+
const ButtonGroup = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-b09e5a20"]]);
|
|
9905
9947
|
const _sfc_main = {
|
|
9906
9948
|
__name: "Toolbar",
|
|
9907
9949
|
emits: ["command", "toggle", "select"],
|
|
@@ -9946,7 +9988,9 @@ const _sfc_main = {
|
|
|
9946
9988
|
return (_ctx, _cache) => {
|
|
9947
9989
|
return openBlock(), createElementBlock("div", {
|
|
9948
9990
|
class: "superdoc-toolbar",
|
|
9949
|
-
key: unref(toolbarKey)
|
|
9991
|
+
key: unref(toolbarKey),
|
|
9992
|
+
role: "toolbar",
|
|
9993
|
+
"aria-label": "Toolbar"
|
|
9950
9994
|
}, [
|
|
9951
9995
|
unref(showLeftSide) ? (openBlock(), createBlock(ButtonGroup, {
|
|
9952
9996
|
key: 0,
|
|
@@ -9972,7 +10016,7 @@ const _sfc_main = {
|
|
|
9972
10016
|
};
|
|
9973
10017
|
}
|
|
9974
10018
|
};
|
|
9975
|
-
const Toolbar = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
10019
|
+
const Toolbar = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-2a400574"]]);
|
|
9976
10020
|
export {
|
|
9977
10021
|
NSkeleton as N,
|
|
9978
10022
|
Toolbar as T,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defaultItems.d.ts","sourceRoot":"","sources":["../../../src/components/toolbar/defaultItems.js"],"names":[],"mappings":"AAuBO;;;;;
|
|
1
|
+
{"version":3,"file":"defaultItems.d.ts","sourceRoot":"","sources":["../../../src/components/toolbar/defaultItems.js"],"names":[],"mappings":"AAuBO;;;;;EAwnCN;AAEM,sEAEJ;;;CAAuB,UASvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-high-contrast-mode.d.ts","sourceRoot":"","sources":["../../src/composables/use-high-contrast-mode.js"],"names":[],"mappings":"AAIA;;;EASC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Editor.d.ts","sourceRoot":"","sources":["../../src/core/Editor.js"],"names":[],"mappings":"AA6BA;;;;GAIG;AAEH;;;;;GAKG;AACH;;;;;EAKE;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2DG;AAEH;;;;GAIG;AACH;
|
|
1
|
+
{"version":3,"file":"Editor.d.ts","sourceRoot":"","sources":["../../src/core/Editor.js"],"names":[],"mappings":"AA6BA;;;;GAIG;AAEH;;;;;GAKG;AACH;;;;;EAKE;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2DG;AAEH;;;;GAIG;AACH;IAuqBE;;;;;;;;;;;;OAYG;IACH,+BARW,IAAI,GAAC,IAAI,GAAC,MAAM,WAChB,OAAO,GACL,OAAO,OAAO,CAc1B;IAED;;;;;OAKG;IACH,qCAFa,MAAM,CAKlB;IAED;;;;;;OAMG;IACH,gDAHW,MAAM,OAMhB;IA8pBD;;;;;OAKG;IACH,2CAFa,OAAO,CAOnB;IAhxCD;;;;OAIG;IACH,qBAHW,aAAa,EAwBvB;IA/HD;;;OAGG;IACH,sBAAiB;IAEjB;;;OAGG;IACH,sBAAsB;IAEtB;;;OAGG;IACH,YAAO;IAEP;;;OAGG;IACH,UAAK;IAEL;;;OAGG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ACP,OAAO;;;;gBACP,OAAO;;;;YACP,MAAM;;;;kBACN,OAAO;;;;iBACP,OAAO;;;;;;;;;;;;uBAGP,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAsBP,OAAO;;;;mBACP,OAAO;;;;WACP,MAAM;;6BApGS,mBAAmB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { E } from "./chunks/editor-
|
|
2
|
-
import "./chunks/converter-
|
|
3
|
-
import "./chunks/docx-zipper-
|
|
1
|
+
import { E } from "./chunks/editor-czvDp00c.js";
|
|
2
|
+
import "./chunks/converter-LyqpytFD.js";
|
|
3
|
+
import "./chunks/docx-zipper-CSx2w--M.js";
|
|
4
4
|
export {
|
|
5
5
|
E as Editor
|
|
6
6
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ai-nodes.d.ts","sourceRoot":"","sources":["../../../src/extensions/ai/ai-nodes.js"],"names":[],"mappings":"AAIA,+
|
|
1
|
+
{"version":3,"file":"ai-nodes.d.ts","sourceRoot":"","sources":["../../../src/extensions/ai/ai-nodes.js"],"names":[],"mappings":"AAIA,+BAwCG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookmarks.d.ts","sourceRoot":"","sources":["../../../src/extensions/bookmarks/bookmarks.js"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"bookmarks.d.ts","sourceRoot":"","sources":["../../../src/extensions/bookmarks/bookmarks.js"],"names":[],"mappings":"AAEA,gCAsCG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bullet-list.d.ts","sourceRoot":"","sources":["../../../src/extensions/bullet-list/bullet-list.js"],"names":[],"mappings":"AASA,
|
|
1
|
+
{"version":3,"file":"bullet-list.d.ts","sourceRoot":"","sources":["../../../src/extensions/bullet-list/bullet-list.js"],"names":[],"mappings":"AASA,6BAqFG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"comment.d.ts","sourceRoot":"","sources":["../../../src/extensions/comment/comment.js"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"comment.d.ts","sourceRoot":"","sources":["../../../src/extensions/comment/comment.js"],"names":[],"mappings":"AAEA,oCAyCG;AAEH,kCAqCG;AAEH,mCAqCG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"document.d.ts","sourceRoot":"","sources":["../../../src/extensions/document/document.js"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"document.d.ts","sourceRoot":"","sources":["../../../src/extensions/document/document.js"],"names":[],"mappings":"AAEA,2BAuBG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"field-annotation.d.ts","sourceRoot":"","sources":["../../../src/extensions/field-annotation/field-annotation.js"],"names":[],"mappings":"AAQA,kCAAmC,iBAAiB,CAAC;AACrD,8BAA+B,YAAY,CAAC;AAC5C,qCAAsC,oBAAoB,CAAC;AAE3D,
|
|
1
|
+
{"version":3,"file":"field-annotation.d.ts","sourceRoot":"","sources":["../../../src/extensions/field-annotation/field-annotation.js"],"names":[],"mappings":"AAQA,kCAAmC,iBAAiB,CAAC;AACrD,8BAA+B,YAAY,CAAC;AAC5C,qCAAsC,oBAAoB,CAAC;AAE3D,kCAu8BG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"heading.d.ts","sourceRoot":"","sources":["../../../src/extensions/heading/heading.js"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"heading.d.ts","sourceRoot":"","sources":["../../../src/extensions/heading/heading.js"],"names":[],"mappings":"AAEA,0BAsEG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../../src/extensions/image/image.js"],"names":[],"mappings":"AAIA,
|
|
1
|
+
{"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../../src/extensions/image/image.js"],"names":[],"mappings":"AAIA,wBA6IG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"line-break.d.ts","sourceRoot":"","sources":["../../../src/extensions/line-break/line-break.js"],"names":[],"mappings":"AAEA,4BAiBG;AAEH,
|
|
1
|
+
{"version":3,"file":"line-break.d.ts","sourceRoot":"","sources":["../../../src/extensions/line-break/line-break.js"],"names":[],"mappings":"AAEA,4BAiBG;AAEH,4BAsCG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-item.d.ts","sourceRoot":"","sources":["../../../src/extensions/list-item/list-item.js"],"names":[],"mappings":"AAKA,
|
|
1
|
+
{"version":3,"file":"list-item.d.ts","sourceRoot":"","sources":["../../../src/extensions/list-item/list-item.js"],"names":[],"mappings":"AAKA,2BAiOG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mention.d.ts","sourceRoot":"","sources":["../../../src/extensions/mention/mention.js"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"mention.d.ts","sourceRoot":"","sources":["../../../src/extensions/mention/mention.js"],"names":[],"mappings":"AAEA,0BAgDG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ordered-list.d.ts","sourceRoot":"","sources":["../../../src/extensions/ordered-list/ordered-list.js"],"names":[],"mappings":"AAYA,
|
|
1
|
+
{"version":3,"file":"ordered-list.d.ts","sourceRoot":"","sources":["../../../src/extensions/ordered-list/ordered-list.js"],"names":[],"mappings":"AAYA,8BAmRG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page-number.d.ts","sourceRoot":"","sources":["../../../src/extensions/page-number/page-number.js"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"page-number.d.ts","sourceRoot":"","sources":["../../../src/extensions/page-number/page-number.js"],"names":[],"mappings":"AAEA,6BAuBG;AAEH,iCAuBG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pagination-helpers.d.ts","sourceRoot":"","sources":["../../../src/extensions/pagination/pagination-helpers.js"],"names":[],"mappings":"AAKA,iDAAqE;AAQ9D,2CAHI,WAAW,OAuCrB;AA8BM;;;;;;;;
|
|
1
|
+
{"version":3,"file":"pagination-helpers.d.ts","sourceRoot":"","sources":["../../../src/extensions/pagination/pagination-helpers.js"],"names":[],"mappings":"AAKA,iDAAqE;AAQ9D,2CAHI,WAAW,OAuCrB;AA8BM;;;;;;;;QAkEN;AAEM,6EAeN;AAEM,0GAoBN;AAEM;;;8DAmBN;0BA7MyB,mBAAmB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"run-item.d.ts","sourceRoot":"","sources":["../../../src/extensions/run-item/run-item.js"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"run-item.d.ts","sourceRoot":"","sources":["../../../src/extensions/run-item/run-item.js"],"names":[],"mappings":"AAEA,0BAyBG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shape-container.d.ts","sourceRoot":"","sources":["../../../src/extensions/shape-container/shape-container.js"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"shape-container.d.ts","sourceRoot":"","sources":["../../../src/extensions/shape-container/shape-container.js"],"names":[],"mappings":"AAEA,iCA+DG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shape-textbox.d.ts","sourceRoot":"","sources":["../../../src/extensions/shape-textbox/shape-textbox.js"],"names":[],"mappings":"AAEA,+
|
|
1
|
+
{"version":3,"file":"shape-textbox.d.ts","sourceRoot":"","sources":["../../../src/extensions/shape-textbox/shape-textbox.js"],"names":[],"mappings":"AAEA,+BAyCG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"structured-content.d.ts","sourceRoot":"","sources":["../../../src/extensions/structured-content/structured-content.js"],"names":[],"mappings":"AAGA,
|
|
1
|
+
{"version":3,"file":"structured-content.d.ts","sourceRoot":"","sources":["../../../src/extensions/structured-content/structured-content.js"],"names":[],"mappings":"AAGA,oCAoCG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../../src/extensions/table/table.js"],"names":[],"mappings":"AAmCA,
|
|
1
|
+
{"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../../src/extensions/table/table.js"],"names":[],"mappings":"AAmCA,wBAoVG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-cell.d.ts","sourceRoot":"","sources":["../../../src/extensions/table-cell/table-cell.js"],"names":[],"mappings":"AAGA,
|
|
1
|
+
{"version":3,"file":"table-cell.d.ts","sourceRoot":"","sources":["../../../src/extensions/table-cell/table-cell.js"],"names":[],"mappings":"AAGA,4BA0HG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-header.d.ts","sourceRoot":"","sources":["../../../src/extensions/table-header/table-header.js"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"table-header.d.ts","sourceRoot":"","sources":["../../../src/extensions/table-header/table-header.js"],"names":[],"mappings":"AAEA,8BAmDG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-row.d.ts","sourceRoot":"","sources":["../../../src/extensions/table-row/table-row.js"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"table-row.d.ts","sourceRoot":"","sources":["../../../src/extensions/table-row/table-row.js"],"names":[],"mappings":"AAEA,2BAkCG"}
|