@harbour-enterprises/superdoc 0.23.0-next.19 → 0.23.0-next.20
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/{PdfViewer-BzfXAaWt.cjs → PdfViewer-BIyyMlj5.cjs} +1 -1
- package/dist/chunks/{PdfViewer-B2uwyIlo.es.js → PdfViewer-BgDqtrWg.es.js} +1 -1
- package/dist/chunks/{index-H3dscFSf.es.js → index-CJj1CDwm.es.js} +2 -2
- package/dist/chunks/{index-DDWD3Ala.cjs → index-DPjesQ6E.cjs} +2 -2
- package/dist/chunks/{super-editor.es-CHGawnS5.cjs → super-editor.es-DgYHEl7L.cjs} +14 -3
- package/dist/chunks/{super-editor.es-DKYU5AbZ.es.js → super-editor.es-f9MFI0Ev.es.js} +14 -3
- package/dist/super-editor/super-editor.es.js +14 -3
- package/dist/super-editor.cjs +1 -1
- package/dist/super-editor.es.js +1 -1
- package/dist/superdoc.cjs +2 -2
- package/dist/superdoc.es.js +2 -2
- package/dist/superdoc.umd.js +14 -3
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const vue = require("./vue-DKMj1I9B.cjs");
|
|
4
|
-
const superdoc = require("./index-
|
|
4
|
+
const superdoc = require("./index-DPjesQ6E.cjs");
|
|
5
5
|
function self(vars) {
|
|
6
6
|
const {
|
|
7
7
|
opacityDisabled,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { m as defineComponent, B as h, O as Transition, $ as process$1, I as watchEffect, d as computed, r as ref, j as onMounted, W as onUnmounted, c as createElementBlock, o as openBlock, a as createBaseVNode, f as createCommentVNode, v as createVNode, x as unref } from "./vue-ZWZLQtoU.es.js";
|
|
2
|
-
import { d as derived, c, a as cB, f as fadeInTransition, b as cM, N as NBaseLoading, w as warnOnce, u as useConfig, e as useTheme, p as pxfy, g as createKey, h as useThemeClass, i as useCompitable, _ as _export_sfc, j as useSuperdocStore, s as storeToRefs, k as useSelection } from "./index-
|
|
2
|
+
import { d as derived, c, a as cB, f as fadeInTransition, b as cM, N as NBaseLoading, w as warnOnce, u as useConfig, e as useTheme, p as pxfy, g as createKey, h as useThemeClass, i as useCompitable, _ as _export_sfc, j as useSuperdocStore, s as storeToRefs, k as useSelection } from "./index-CJj1CDwm.es.js";
|
|
3
3
|
function self(vars) {
|
|
4
4
|
const {
|
|
5
5
|
opacityDisabled,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { q as index, C as CommentsPluginKey, h as TrackChangesBasePluginKey, E as Editor, n as getRichTextExtensions, f as SuperInput, e as SuperEditor, A as AIWriter, g as SuperToolbar, i as createZip } from "./super-editor.es-
|
|
1
|
+
import { q as index, C as CommentsPluginKey, h as TrackChangesBasePluginKey, E as Editor, n as getRichTextExtensions, f as SuperInput, e as SuperEditor, A as AIWriter, g as SuperToolbar, i as createZip } from "./super-editor.es-f9MFI0Ev.es.js";
|
|
2
2
|
import { a0 as effectScope, r as ref, _ as markRaw, $ as process$1, a1 as toRaw, d as computed, a2 as isRef, a3 as isReactive, C as toRef, i as inject, p as getCurrentInstance, l as watch, x as unref, a4 as hasInjectionContext, M as reactive, s as nextTick, a5 as getCurrentScope, a6 as onScopeDispose, a7 as toRefs, g as global$1, J as shallowRef, N as readonly, j as onMounted, k as onBeforeUnmount, h as onBeforeMount, S as onActivated, q as onDeactivated, z as createTextVNode, F as Fragment, Q as Comment, m as defineComponent, D as provide, H as withDirectives, B as h, U as Teleport, R as renderSlot, V as isVNode, I as watchEffect, O as Transition, a8 as TransitionGroup, E as mergeProps, P as vShow, G as cloneVNode, T as Text, c as createElementBlock, o as openBlock, t as toDisplayString, v as createVNode, y as withCtx, a as createBaseVNode, A as normalizeStyle, f as createCommentVNode, u as createBlock, w as withModifiers, n as normalizeClass, a9 as resolveDirective, e as renderList, b as createApp, X as resolveDynamicComponent, aa as defineAsyncComponent } from "./vue-ZWZLQtoU.es.js";
|
|
3
3
|
import { B as BlankDOCX } from "./blank-docx-iwdyG9RH.es.js";
|
|
4
4
|
import { E as EventEmitter } from "./eventemitter3-BWEnUdTY.es.js";
|
|
@@ -17099,7 +17099,7 @@ const _sfc_main = {
|
|
|
17099
17099
|
__name: "SuperDoc",
|
|
17100
17100
|
emits: ["selection-update"],
|
|
17101
17101
|
setup(__props, { emit: __emit }) {
|
|
17102
|
-
const PdfViewer = defineAsyncComponent(() => import("./PdfViewer-
|
|
17102
|
+
const PdfViewer = defineAsyncComponent(() => import("./PdfViewer-BgDqtrWg.es.js"));
|
|
17103
17103
|
const superdocStore = useSuperdocStore();
|
|
17104
17104
|
const commentsStore = useCommentsStore();
|
|
17105
17105
|
const {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const superEditor_es = require("./super-editor.es-
|
|
2
|
+
const superEditor_es = require("./super-editor.es-DgYHEl7L.cjs");
|
|
3
3
|
const vue = require("./vue-DKMj1I9B.cjs");
|
|
4
4
|
const blankDocx = require("./blank-docx-CPqX9RF5.cjs");
|
|
5
5
|
const eventemitter3 = require("./eventemitter3-DkXkH2rT.cjs");
|
|
@@ -17116,7 +17116,7 @@ const _sfc_main = {
|
|
|
17116
17116
|
__name: "SuperDoc",
|
|
17117
17117
|
emits: ["selection-update"],
|
|
17118
17118
|
setup(__props, { emit: __emit }) {
|
|
17119
|
-
const PdfViewer = vue.defineAsyncComponent(() => Promise.resolve().then(() => require("./PdfViewer-
|
|
17119
|
+
const PdfViewer = vue.defineAsyncComponent(() => Promise.resolve().then(() => require("./PdfViewer-BIyyMlj5.cjs")));
|
|
17120
17120
|
const superdocStore = useSuperdocStore();
|
|
17121
17121
|
const commentsStore = useCommentsStore();
|
|
17122
17122
|
const {
|
|
@@ -83893,16 +83893,21 @@ const makeDefaultItems = ({
|
|
|
83893
83893
|
onActivate: ({ fontFamily: fontFamily2 }) => {
|
|
83894
83894
|
if (!fontFamily2) return;
|
|
83895
83895
|
fontButton.label.value = fontFamily2;
|
|
83896
|
+
const defaultFont = fontOptions.find((i2) => i2.label === fontButton.defaultLabel.value);
|
|
83896
83897
|
const foundFont = fontOptions.find((i2) => i2.label === fontFamily2);
|
|
83897
83898
|
if (foundFont) {
|
|
83898
83899
|
fontButton.selectedValue.value = foundFont.key;
|
|
83900
|
+
} else if (defaultFont) {
|
|
83901
|
+
fontButton.selectedValue.value = defaultFont.key;
|
|
83899
83902
|
} else {
|
|
83900
83903
|
fontButton.selectedValue.value = "";
|
|
83901
83904
|
}
|
|
83902
83905
|
},
|
|
83903
83906
|
onDeactivate: () => {
|
|
83904
83907
|
fontButton.label.value = fontButton.defaultLabel.value;
|
|
83905
|
-
fontButton.
|
|
83908
|
+
const defaultFont = fontOptions.find((i2) => i2.label === fontButton.defaultLabel.value);
|
|
83909
|
+
if (defaultFont) fontButton.selectedValue.value = defaultFont.key;
|
|
83910
|
+
else fontButton.selectedValue.value = "";
|
|
83906
83911
|
}
|
|
83907
83912
|
});
|
|
83908
83913
|
const aiButton = useToolbarItem({
|
|
@@ -83970,9 +83975,11 @@ const makeDefaultItems = ({
|
|
|
83970
83975
|
},
|
|
83971
83976
|
options: fontSizeOptions,
|
|
83972
83977
|
onActivate: ({ fontSize: size2 }) => {
|
|
83978
|
+
const defaultSize = fontSizeOptions.find((i2) => i2.label === String(fontSize2.defaultLabel.value));
|
|
83973
83979
|
if (!size2) {
|
|
83974
83980
|
fontSize2.label.value = fontSize2.defaultLabel.value;
|
|
83975
|
-
fontSize2.selectedValue.value =
|
|
83981
|
+
if (defaultSize) fontSize2.selectedValue.value = defaultSize.key;
|
|
83982
|
+
else fontSize2.selectedValue.value = "";
|
|
83976
83983
|
return;
|
|
83977
83984
|
}
|
|
83978
83985
|
let sanitizedValue = sanitizeNumber(size2, 12);
|
|
@@ -83984,6 +83991,8 @@ const makeDefaultItems = ({
|
|
|
83984
83991
|
});
|
|
83985
83992
|
if (foundSize) {
|
|
83986
83993
|
fontSize2.selectedValue.value = foundSize.key;
|
|
83994
|
+
} else if (defaultSize) {
|
|
83995
|
+
fontSize2.selectedValue.value = defaultSize.key;
|
|
83987
83996
|
} else {
|
|
83988
83997
|
fontSize2.selectedValue.value = "";
|
|
83989
83998
|
}
|
|
@@ -83991,7 +84000,9 @@ const makeDefaultItems = ({
|
|
|
83991
84000
|
},
|
|
83992
84001
|
onDeactivate: () => {
|
|
83993
84002
|
fontSize2.label.value = fontSize2.defaultLabel.value;
|
|
83994
|
-
fontSize2.
|
|
84003
|
+
const defaultSize = fontSizeOptions.find((i2) => i2.label === String(fontSize2.defaultLabel.value));
|
|
84004
|
+
if (defaultSize) fontSize2.selectedValue.value = defaultSize.key;
|
|
84005
|
+
else fontSize2.selectedValue.value = "";
|
|
83995
84006
|
}
|
|
83996
84007
|
});
|
|
83997
84008
|
const separator = useToolbarItem({
|
|
@@ -83876,16 +83876,21 @@ const makeDefaultItems = ({
|
|
|
83876
83876
|
onActivate: ({ fontFamily: fontFamily2 }) => {
|
|
83877
83877
|
if (!fontFamily2) return;
|
|
83878
83878
|
fontButton.label.value = fontFamily2;
|
|
83879
|
+
const defaultFont = fontOptions.find((i2) => i2.label === fontButton.defaultLabel.value);
|
|
83879
83880
|
const foundFont = fontOptions.find((i2) => i2.label === fontFamily2);
|
|
83880
83881
|
if (foundFont) {
|
|
83881
83882
|
fontButton.selectedValue.value = foundFont.key;
|
|
83883
|
+
} else if (defaultFont) {
|
|
83884
|
+
fontButton.selectedValue.value = defaultFont.key;
|
|
83882
83885
|
} else {
|
|
83883
83886
|
fontButton.selectedValue.value = "";
|
|
83884
83887
|
}
|
|
83885
83888
|
},
|
|
83886
83889
|
onDeactivate: () => {
|
|
83887
83890
|
fontButton.label.value = fontButton.defaultLabel.value;
|
|
83888
|
-
fontButton.
|
|
83891
|
+
const defaultFont = fontOptions.find((i2) => i2.label === fontButton.defaultLabel.value);
|
|
83892
|
+
if (defaultFont) fontButton.selectedValue.value = defaultFont.key;
|
|
83893
|
+
else fontButton.selectedValue.value = "";
|
|
83889
83894
|
}
|
|
83890
83895
|
});
|
|
83891
83896
|
const aiButton = useToolbarItem({
|
|
@@ -83953,9 +83958,11 @@ const makeDefaultItems = ({
|
|
|
83953
83958
|
},
|
|
83954
83959
|
options: fontSizeOptions,
|
|
83955
83960
|
onActivate: ({ fontSize: size2 }) => {
|
|
83961
|
+
const defaultSize = fontSizeOptions.find((i2) => i2.label === String(fontSize2.defaultLabel.value));
|
|
83956
83962
|
if (!size2) {
|
|
83957
83963
|
fontSize2.label.value = fontSize2.defaultLabel.value;
|
|
83958
|
-
fontSize2.selectedValue.value =
|
|
83964
|
+
if (defaultSize) fontSize2.selectedValue.value = defaultSize.key;
|
|
83965
|
+
else fontSize2.selectedValue.value = "";
|
|
83959
83966
|
return;
|
|
83960
83967
|
}
|
|
83961
83968
|
let sanitizedValue = sanitizeNumber(size2, 12);
|
|
@@ -83967,6 +83974,8 @@ const makeDefaultItems = ({
|
|
|
83967
83974
|
});
|
|
83968
83975
|
if (foundSize) {
|
|
83969
83976
|
fontSize2.selectedValue.value = foundSize.key;
|
|
83977
|
+
} else if (defaultSize) {
|
|
83978
|
+
fontSize2.selectedValue.value = defaultSize.key;
|
|
83970
83979
|
} else {
|
|
83971
83980
|
fontSize2.selectedValue.value = "";
|
|
83972
83981
|
}
|
|
@@ -83974,7 +83983,9 @@ const makeDefaultItems = ({
|
|
|
83974
83983
|
},
|
|
83975
83984
|
onDeactivate: () => {
|
|
83976
83985
|
fontSize2.label.value = fontSize2.defaultLabel.value;
|
|
83977
|
-
fontSize2.
|
|
83986
|
+
const defaultSize = fontSizeOptions.find((i2) => i2.label === String(fontSize2.defaultLabel.value));
|
|
83987
|
+
if (defaultSize) fontSize2.selectedValue.value = defaultSize.key;
|
|
83988
|
+
else fontSize2.selectedValue.value = "";
|
|
83978
83989
|
}
|
|
83979
83990
|
});
|
|
83980
83991
|
const separator = useToolbarItem({
|
|
@@ -1457,16 +1457,21 @@ const makeDefaultItems = ({
|
|
|
1457
1457
|
onActivate: ({ fontFamily }) => {
|
|
1458
1458
|
if (!fontFamily) return;
|
|
1459
1459
|
fontButton.label.value = fontFamily;
|
|
1460
|
+
const defaultFont = fontOptions.find((i2) => i2.label === fontButton.defaultLabel.value);
|
|
1460
1461
|
const foundFont = fontOptions.find((i2) => i2.label === fontFamily);
|
|
1461
1462
|
if (foundFont) {
|
|
1462
1463
|
fontButton.selectedValue.value = foundFont.key;
|
|
1464
|
+
} else if (defaultFont) {
|
|
1465
|
+
fontButton.selectedValue.value = defaultFont.key;
|
|
1463
1466
|
} else {
|
|
1464
1467
|
fontButton.selectedValue.value = "";
|
|
1465
1468
|
}
|
|
1466
1469
|
},
|
|
1467
1470
|
onDeactivate: () => {
|
|
1468
1471
|
fontButton.label.value = fontButton.defaultLabel.value;
|
|
1469
|
-
fontButton.
|
|
1472
|
+
const defaultFont = fontOptions.find((i2) => i2.label === fontButton.defaultLabel.value);
|
|
1473
|
+
if (defaultFont) fontButton.selectedValue.value = defaultFont.key;
|
|
1474
|
+
else fontButton.selectedValue.value = "";
|
|
1470
1475
|
}
|
|
1471
1476
|
});
|
|
1472
1477
|
const aiButton = useToolbarItem({
|
|
@@ -1534,9 +1539,11 @@ const makeDefaultItems = ({
|
|
|
1534
1539
|
},
|
|
1535
1540
|
options: fontSizeOptions,
|
|
1536
1541
|
onActivate: ({ fontSize: size }) => {
|
|
1542
|
+
const defaultSize = fontSizeOptions.find((i2) => i2.label === String(fontSize.defaultLabel.value));
|
|
1537
1543
|
if (!size) {
|
|
1538
1544
|
fontSize.label.value = fontSize.defaultLabel.value;
|
|
1539
|
-
fontSize.selectedValue.value =
|
|
1545
|
+
if (defaultSize) fontSize.selectedValue.value = defaultSize.key;
|
|
1546
|
+
else fontSize.selectedValue.value = "";
|
|
1540
1547
|
return;
|
|
1541
1548
|
}
|
|
1542
1549
|
let sanitizedValue = sanitizeNumber(size, 12);
|
|
@@ -1548,6 +1555,8 @@ const makeDefaultItems = ({
|
|
|
1548
1555
|
});
|
|
1549
1556
|
if (foundSize) {
|
|
1550
1557
|
fontSize.selectedValue.value = foundSize.key;
|
|
1558
|
+
} else if (defaultSize) {
|
|
1559
|
+
fontSize.selectedValue.value = defaultSize.key;
|
|
1551
1560
|
} else {
|
|
1552
1561
|
fontSize.selectedValue.value = "";
|
|
1553
1562
|
}
|
|
@@ -1555,7 +1564,9 @@ const makeDefaultItems = ({
|
|
|
1555
1564
|
},
|
|
1556
1565
|
onDeactivate: () => {
|
|
1557
1566
|
fontSize.label.value = fontSize.defaultLabel.value;
|
|
1558
|
-
fontSize.
|
|
1567
|
+
const defaultSize = fontSizeOptions.find((i2) => i2.label === String(fontSize.defaultLabel.value));
|
|
1568
|
+
if (defaultSize) fontSize.selectedValue.value = defaultSize.key;
|
|
1569
|
+
else fontSize.selectedValue.value = "";
|
|
1559
1570
|
}
|
|
1560
1571
|
});
|
|
1561
1572
|
const separator = useToolbarItem({
|
package/dist/super-editor.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const superEditor_es = require("./chunks/super-editor.es-
|
|
3
|
+
const superEditor_es = require("./chunks/super-editor.es-DgYHEl7L.cjs");
|
|
4
4
|
require("./chunks/vue-DKMj1I9B.cjs");
|
|
5
5
|
exports.AIWriter = superEditor_es.AIWriter;
|
|
6
6
|
exports.AnnotatorHelpers = superEditor_es.AnnotatorHelpers;
|
package/dist/super-editor.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A, a, _, C, D, E, b, S, c, d, e, f, g, T, h, i, j, k, l, m, n, o, p, r, q } from "./chunks/super-editor.es-
|
|
1
|
+
import { A, a, _, C, D, E, b, S, c, d, e, f, g, T, h, i, j, k, l, m, n, o, p, r, q } from "./chunks/super-editor.es-f9MFI0Ev.es.js";
|
|
2
2
|
import "./chunks/vue-ZWZLQtoU.es.js";
|
|
3
3
|
export {
|
|
4
4
|
A as AIWriter,
|
package/dist/superdoc.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const superEditor_es = require("./chunks/super-editor.es-
|
|
4
|
-
const superdoc = require("./chunks/index-
|
|
3
|
+
const superEditor_es = require("./chunks/super-editor.es-DgYHEl7L.cjs");
|
|
4
|
+
const superdoc = require("./chunks/index-DPjesQ6E.cjs");
|
|
5
5
|
require("./chunks/vue-DKMj1I9B.cjs");
|
|
6
6
|
const blankDocx = require("./chunks/blank-docx-CPqX9RF5.cjs");
|
|
7
7
|
exports.AnnotatorHelpers = superEditor_es.AnnotatorHelpers;
|
package/dist/superdoc.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a, E, b, S, d, i, j, n, r, p, q } from "./chunks/super-editor.es-
|
|
2
|
-
import { D, H, P, S as S2, m, l } from "./chunks/index-
|
|
1
|
+
import { a, E, b, S, d, i, j, n, r, p, q } from "./chunks/super-editor.es-f9MFI0Ev.es.js";
|
|
2
|
+
import { D, H, P, S as S2, m, l } from "./chunks/index-CJj1CDwm.es.js";
|
|
3
3
|
import "./chunks/vue-ZWZLQtoU.es.js";
|
|
4
4
|
import { B } from "./chunks/blank-docx-iwdyG9RH.es.js";
|
|
5
5
|
export {
|
package/dist/superdoc.umd.js
CHANGED
|
@@ -91591,16 +91591,21 @@ ${style2}
|
|
|
91591
91591
|
onActivate: ({ fontFamily: fontFamily2 }) => {
|
|
91592
91592
|
if (!fontFamily2) return;
|
|
91593
91593
|
fontButton.label.value = fontFamily2;
|
|
91594
|
+
const defaultFont = fontOptions.find((i2) => i2.label === fontButton.defaultLabel.value);
|
|
91594
91595
|
const foundFont = fontOptions.find((i2) => i2.label === fontFamily2);
|
|
91595
91596
|
if (foundFont) {
|
|
91596
91597
|
fontButton.selectedValue.value = foundFont.key;
|
|
91598
|
+
} else if (defaultFont) {
|
|
91599
|
+
fontButton.selectedValue.value = defaultFont.key;
|
|
91597
91600
|
} else {
|
|
91598
91601
|
fontButton.selectedValue.value = "";
|
|
91599
91602
|
}
|
|
91600
91603
|
},
|
|
91601
91604
|
onDeactivate: () => {
|
|
91602
91605
|
fontButton.label.value = fontButton.defaultLabel.value;
|
|
91603
|
-
fontButton.
|
|
91606
|
+
const defaultFont = fontOptions.find((i2) => i2.label === fontButton.defaultLabel.value);
|
|
91607
|
+
if (defaultFont) fontButton.selectedValue.value = defaultFont.key;
|
|
91608
|
+
else fontButton.selectedValue.value = "";
|
|
91604
91609
|
}
|
|
91605
91610
|
});
|
|
91606
91611
|
const aiButton = useToolbarItem({
|
|
@@ -91668,9 +91673,11 @@ ${style2}
|
|
|
91668
91673
|
},
|
|
91669
91674
|
options: fontSizeOptions,
|
|
91670
91675
|
onActivate: ({ fontSize: size2 }) => {
|
|
91676
|
+
const defaultSize = fontSizeOptions.find((i2) => i2.label === String(fontSize2.defaultLabel.value));
|
|
91671
91677
|
if (!size2) {
|
|
91672
91678
|
fontSize2.label.value = fontSize2.defaultLabel.value;
|
|
91673
|
-
fontSize2.selectedValue.value =
|
|
91679
|
+
if (defaultSize) fontSize2.selectedValue.value = defaultSize.key;
|
|
91680
|
+
else fontSize2.selectedValue.value = "";
|
|
91674
91681
|
return;
|
|
91675
91682
|
}
|
|
91676
91683
|
let sanitizedValue = sanitizeNumber(size2, 12);
|
|
@@ -91682,6 +91689,8 @@ ${style2}
|
|
|
91682
91689
|
});
|
|
91683
91690
|
if (foundSize) {
|
|
91684
91691
|
fontSize2.selectedValue.value = foundSize.key;
|
|
91692
|
+
} else if (defaultSize) {
|
|
91693
|
+
fontSize2.selectedValue.value = defaultSize.key;
|
|
91685
91694
|
} else {
|
|
91686
91695
|
fontSize2.selectedValue.value = "";
|
|
91687
91696
|
}
|
|
@@ -91689,7 +91698,9 @@ ${style2}
|
|
|
91689
91698
|
},
|
|
91690
91699
|
onDeactivate: () => {
|
|
91691
91700
|
fontSize2.label.value = fontSize2.defaultLabel.value;
|
|
91692
|
-
fontSize2.
|
|
91701
|
+
const defaultSize = fontSizeOptions.find((i2) => i2.label === String(fontSize2.defaultLabel.value));
|
|
91702
|
+
if (defaultSize) fontSize2.selectedValue.value = defaultSize.key;
|
|
91703
|
+
else fontSize2.selectedValue.value = "";
|
|
91693
91704
|
}
|
|
91694
91705
|
});
|
|
91695
91706
|
const separator = useToolbarItem({
|