@stll/folio-vue 0.26.2 → 0.26.4
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/SplitCellDialog-Dge_CE-B.cjs +15 -0
- package/dist/{SplitCellDialog-bNeugz_3.js → SplitCellDialog-Vl4gq22E.js} +395 -407
- package/dist/{StylePicker-DfIQUq6G.js → StylePicker-bQuysXuB.js} +11 -21
- package/dist/{StylePicker-ynX3GzFu.cjs → StylePicker-hnZuzLnq.cjs} +1 -1
- package/dist/components/DocumentOutline.vue.d.ts +2 -2
- package/dist/composables.js +8 -15
- package/dist/dialogs.cjs +1 -1
- package/dist/dialogs.js +1 -1
- package/dist/folio-vue.css +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +39 -64
- package/dist/messages/ar.cjs +1 -1
- package/dist/messages/cs.cjs +1 -1
- package/dist/messages/de.cjs +1 -1
- package/dist/messages/en.cjs +1 -1
- package/dist/messages/es.cjs +1 -1
- package/dist/messages/et.cjs +1 -1
- package/dist/messages/fr.cjs +1 -1
- package/dist/messages/he.cjs +1 -1
- package/dist/messages/hi.cjs +1 -1
- package/dist/messages/hu.cjs +1 -1
- package/dist/messages/lt.cjs +1 -1
- package/dist/messages/lv.cjs +1 -1
- package/dist/messages/pl.cjs +1 -1
- package/dist/messages/pt-BR.cjs +1 -1
- package/dist/messages/sk.cjs +1 -1
- package/dist/messages/tr.cjs +1 -1
- package/dist/messages/zh-CN.cjs +1 -1
- package/dist/rolldown-runtime-5iZMYShA.cjs +1 -0
- package/dist/styles.js +2 -3
- package/dist/ui.cjs +1 -1
- package/dist/ui.js +5 -8
- package/dist/{useZoom-CX0mrPQY.js → useZoom-C_7cmUyk.js} +8 -16
- package/dist/{zIndex-Ei9BbHSW.js → zIndex-FOGfTBdc.js} +1 -2
- package/package.json +5 -5
- package/dist/SplitCellDialog-DfMw2Ev2.cjs +0 -15
- package/dist/rolldown-runtime-CYJQrBu7.cjs +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as e, D as t, F as n, O as r, y as i } from "./SplitCellDialog-
|
|
1
|
+
import { A as e, D as t, F as n, O as r, y as i } from "./SplitCellDialog-Vl4gq22E.js";
|
|
2
2
|
import { Fragment as a, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createTextVNode as d, createVNode as f, defineComponent as p, mergeProps as m, nextTick as h, normalizeClass as g, normalizeStyle as _, onBeforeUnmount as v, onMounted as y, openBlock as b, reactive as x, ref as S, renderList as C, renderSlot as w, resolveDynamicComponent as T, toDisplayString as E, toRef as D, unref as O, vModelSelect as k, vModelText as A, watch as j, withCtx as M, withDirectives as N, withKeys as P, withModifiers as F } from "vue";
|
|
3
3
|
import { DISPLAY_MODES as I } from "@stll/folio-core/managers/EditorModeManager";
|
|
4
4
|
import { PANEL_METRICS as L } from "@stll/folio-core/panel-layout";
|
|
@@ -15,7 +15,7 @@ import { commentAnchorSelector as G, indexCommentAnchors as K } from "@stll/foli
|
|
|
15
15
|
import { pixelsToTwips as q, twipsToPixels as J } from "@stll/folio-core/utils/units";
|
|
16
16
|
import { onDocumentPointerDown as Y } from "@stll/folio-core/utils/documentPointerDown";
|
|
17
17
|
import { resolveSidebarItemPositions as ie } from "@stll/folio-core/render-dom/resolveSidebarItemPositions";
|
|
18
|
-
|
|
18
|
+
// src/components/CommentMarginMarkers.vue?vue&type=script&setup=true&lang.ts
|
|
19
19
|
var ae = ["title", "onClick"], oe = /*#__PURE__*/ e(/* @__PURE__ */ p({
|
|
20
20
|
__name: "CommentMarginMarkers",
|
|
21
21
|
props: {
|
|
@@ -449,8 +449,7 @@ function Ee(e) {
|
|
|
449
449
|
color: e.rPr?.color?.rgb
|
|
450
450
|
})).sort((e, t) => e.priority - t.priority);
|
|
451
451
|
}
|
|
452
|
-
|
|
453
|
-
//#region src/composables/useParagraphStyleOptions.ts
|
|
452
|
+
// src/composables/useParagraphStyleOptions.ts
|
|
454
453
|
function De(e) {
|
|
455
454
|
let t = o(() => {
|
|
456
455
|
let t = Ee(e.documentStyles());
|
|
@@ -475,8 +474,7 @@ function De(e) {
|
|
|
475
474
|
})
|
|
476
475
|
};
|
|
477
476
|
}
|
|
478
|
-
|
|
479
|
-
//#region src/composables/useToolbarDropdowns.ts
|
|
477
|
+
// src/composables/useToolbarDropdowns.ts
|
|
480
478
|
function Oe(e) {
|
|
481
479
|
let t = S(null), n = S({
|
|
482
480
|
top: 0,
|
|
@@ -530,8 +528,7 @@ function Oe(e) {
|
|
|
530
528
|
recomputeDropdownPos: i
|
|
531
529
|
};
|
|
532
530
|
}
|
|
533
|
-
|
|
534
|
-
//#region src/composables/useToolbarFontSize.ts
|
|
531
|
+
// src/composables/useToolbarFontSize.ts
|
|
535
532
|
function ke(e) {
|
|
536
533
|
let t = S(!1), n = (t) => e.execCommand("setFontSize", t * 2);
|
|
537
534
|
function r() {
|
|
@@ -567,8 +564,7 @@ function ke(e) {
|
|
|
567
564
|
decreaseFontSize: c
|
|
568
565
|
};
|
|
569
566
|
}
|
|
570
|
-
|
|
571
|
-
//#region src/utils/fontOptions.ts
|
|
567
|
+
// src/utils/fontOptions.ts
|
|
572
568
|
function Ae(e) {
|
|
573
569
|
if (e === void 0) return;
|
|
574
570
|
let t = e.map((e) => typeof e == "string" ? {
|
|
@@ -596,8 +592,7 @@ function Me(e, t) {
|
|
|
596
592
|
}
|
|
597
593
|
return i;
|
|
598
594
|
}
|
|
599
|
-
|
|
600
|
-
//#region src/components/EditingModeDropdown.vue?vue&type=script&setup=true&lang.ts
|
|
595
|
+
// src/components/EditingModeDropdown.vue?vue&type=script&setup=true&lang.ts
|
|
601
596
|
var Ne = ["title", "onClick"], Pe = {
|
|
602
597
|
key: 0,
|
|
603
598
|
class: "editing-mode__label"
|
|
@@ -2741,8 +2736,7 @@ var Ne = ["title", "onClick"], Pe = {
|
|
|
2741
2736
|
], 4));
|
|
2742
2737
|
}
|
|
2743
2738
|
}), [["__scopeId", "data-v-fc4bcb45"]]);
|
|
2744
|
-
|
|
2745
|
-
//#region src/composables/useCommentSidebarItems.ts
|
|
2739
|
+
// src/composables/useCommentSidebarItems.ts
|
|
2746
2740
|
function Xn({ comments: e, trackedChanges: t, showResolved: n, isAddingComment: r, addCommentYPosition: i }) {
|
|
2747
2741
|
return o(() => {
|
|
2748
2742
|
let a = [];
|
|
@@ -2784,8 +2778,7 @@ function Xn({ comments: e, trackedChanges: t, showResolved: n, isAddingComment:
|
|
|
2784
2778
|
}), a;
|
|
2785
2779
|
});
|
|
2786
2780
|
}
|
|
2787
|
-
|
|
2788
|
-
//#region src/components/sidebar/AddCommentCard.vue?vue&type=script&setup=true&lang.ts
|
|
2781
|
+
// src/components/sidebar/AddCommentCard.vue?vue&type=script&setup=true&lang.ts
|
|
2789
2782
|
var Zn = ["onKeydown"], Qn = { class: "add-comment-card__actions" }, $n = ["disabled"], er = /*#__PURE__*/ e(/* @__PURE__ */ p({
|
|
2790
2783
|
__name: "AddCommentCard",
|
|
2791
2784
|
emits: ["submit", "cancel"],
|
|
@@ -2825,8 +2818,7 @@ var Zn = ["onKeydown"], Qn = { class: "add-comment-card__actions" }, $n = ["disa
|
|
|
2825
2818
|
}, " Comment ", 10, $n)])], 32));
|
|
2826
2819
|
}
|
|
2827
2820
|
}), [["__scopeId", "data-v-8a5fd620"]]);
|
|
2828
|
-
|
|
2829
|
-
//#region src/utils/comments.ts
|
|
2821
|
+
// src/utils/comments.ts
|
|
2830
2822
|
function tr(e) {
|
|
2831
2823
|
return e ? new Date(e).toLocaleString(void 0, {
|
|
2832
2824
|
hour: "numeric",
|
|
@@ -2873,8 +2865,7 @@ function $(e, t = 50) {
|
|
|
2873
2865
|
end: t
|
|
2874
2866
|
}) + "..." : e;
|
|
2875
2867
|
}
|
|
2876
|
-
|
|
2877
|
-
//#region src/components/sidebar/Avatar.vue
|
|
2868
|
+
// src/components/sidebar/Avatar.vue
|
|
2878
2869
|
var ar = /* @__PURE__ */ p({
|
|
2879
2870
|
__name: "Avatar",
|
|
2880
2871
|
props: {
|
|
@@ -3713,5 +3704,4 @@ var ar = /* @__PURE__ */ p({
|
|
|
3713
3704
|
]));
|
|
3714
3705
|
}
|
|
3715
3706
|
}), [["__scopeId", "data-v-44de0ff6"]]);
|
|
3716
|
-
//#endregion
|
|
3717
3707
|
export { Be as C, oe as D, ue as E, Qe as S, fe as T, Qt as _, $r as a, et as b, _r as c, Yn as d, Un as f, nn as g, cn as h, ri as i, lr as l, ln as m, pi as n, Ar as o, Hn as p, si as r, Or as s, mi as t, er as u, Zt as v, he as w, $e as x, Bt as y };
|