@harbour-enterprises/superdoc 0.7.1 → 0.7.2
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-C3EfxPkJ.js → super-editor.es-CaEMYSNH.js} +11 -6
- package/dist/chunks/{super-editor.es-C3EfxPkJ.js.map → super-editor.es-CaEMYSNH.js.map} +1 -1
- package/dist/style.css +4 -4
- package/dist/super-editor/chunks/{converter-ei3PNE_E.js → converter-I-9J-iGd.js} +3 -3
- package/dist/super-editor/chunks/{converter-ei3PNE_E.js.map → converter-I-9J-iGd.js.map} +1 -1
- package/dist/super-editor/chunks/{docx-zipper-B7uIfmYn.js → docx-zipper-D_7tmb71.js} +2 -2
- package/dist/super-editor/chunks/{docx-zipper-B7uIfmYn.js.map → docx-zipper-D_7tmb71.js.map} +1 -1
- package/dist/super-editor/chunks/{editor-Bggv0Jux.js → editor-9uvP8PI9.js} +4 -4
- package/dist/super-editor/chunks/{editor-Bggv0Jux.js.map → editor-9uvP8PI9.js.map} +1 -1
- package/dist/super-editor/chunks/{toolbar-DLqRjwsa.js → toolbar-D0vUE7AB.js} +10 -5
- package/dist/super-editor/chunks/toolbar-D0vUE7AB.js.map +1 -0
- package/dist/super-editor/converter.es.js +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/file-zipper.es.js +1 -1
- package/dist/super-editor/style.css +4 -4
- package/dist/super-editor/super-editor.es.js +6 -6
- package/dist/super-editor/toolbar.es.js +2 -2
- package/dist/super-editor.es.js +1 -1
- package/dist/superdoc.es.js +3 -3
- package/dist/superdoc.umd.js +11 -6
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
- package/dist/super-editor/chunks/toolbar-DLqRjwsa.js.map +0 -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 { p as process$1 } from "./converter-
|
|
3
|
-
import { _ as _export_sfc, g as global$1 } from "./editor-
|
|
2
|
+
import { p as process$1 } from "./converter-I-9J-iGd.js";
|
|
3
|
+
import { _ as _export_sfc, g as global$1 } from "./editor-9uvP8PI9.js";
|
|
4
4
|
const sanitizeNumber = (value, defaultNumber) => {
|
|
5
5
|
let sanitized = value.replace(/[^0-9.]/g, "");
|
|
6
6
|
sanitized = parseFloat(sanitized);
|
|
@@ -364,7 +364,12 @@ const _sfc_main$2 = {
|
|
|
364
364
|
},
|
|
365
365
|
setup(__props) {
|
|
366
366
|
const { proxy } = getCurrentInstance();
|
|
367
|
+
const props = __props;
|
|
367
368
|
const isDropdownOpened = ref(false);
|
|
369
|
+
const overflowToolbarItem = computed(() => ({
|
|
370
|
+
...props.toolbarItem,
|
|
371
|
+
active: isDropdownOpened
|
|
372
|
+
}));
|
|
368
373
|
const toggleOverflowMenu = () => {
|
|
369
374
|
isDropdownOpened.value = !isDropdownOpened.value;
|
|
370
375
|
};
|
|
@@ -375,7 +380,7 @@ const _sfc_main$2 = {
|
|
|
375
380
|
return openBlock(), createElementBlock("div", _hoisted_1$1, [
|
|
376
381
|
createElementVNode("div", _hoisted_2$1, [
|
|
377
382
|
createVNode(ToolbarButton, {
|
|
378
|
-
"toolbar-item":
|
|
383
|
+
"toolbar-item": overflowToolbarItem.value,
|
|
379
384
|
onButtonClick: toggleOverflowMenu
|
|
380
385
|
}, null, 8, ["toolbar-item"])
|
|
381
386
|
]),
|
|
@@ -390,7 +395,7 @@ const _sfc_main$2 = {
|
|
|
390
395
|
};
|
|
391
396
|
}
|
|
392
397
|
};
|
|
393
|
-
const OverflowMenu = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-
|
|
398
|
+
const OverflowMenu = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-ca29bf1d"]]);
|
|
394
399
|
function plugin$1(options) {
|
|
395
400
|
let _bPrefix = ".";
|
|
396
401
|
let _ePrefix = "__";
|
|
@@ -9919,4 +9924,4 @@ export {
|
|
|
9919
9924
|
sanitizeNumber as s,
|
|
9920
9925
|
toolbarIcons as t
|
|
9921
9926
|
};
|
|
9922
|
-
//# sourceMappingURL=toolbar-
|
|
9927
|
+
//# sourceMappingURL=toolbar-D0vUE7AB.js.map
|