@stll/folio-vue 0.3.0 → 0.4.0
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/{ListButtons-CDkmhg3v.js → ListButtons-BaILr4AO.js} +79 -79
- package/dist/{ListButtons-3UeVXRAK.cjs → ListButtons-CC7_7-e3.cjs} +2 -2
- package/dist/{PageSetupDialog-Djs8aW5A.js → WatermarkDialog-D-uTab0-.js} +2092 -818
- package/dist/WatermarkDialog-SzyoSZmL.cjs +15 -0
- package/dist/components/DocxEditor/types.d.ts +2 -0
- package/dist/components/dialogs/index.d.ts +13 -9
- package/dist/composables/useDocxEditor.d.ts +2 -0
- package/dist/composables.cjs +1 -1
- package/dist/composables.js +1 -1
- package/dist/dialogs.cjs +1 -1
- package/dist/dialogs.js +5 -3
- package/dist/folio-vue.css +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.d.ts +3 -1
- package/dist/index.js +1118 -1114
- package/dist/ui.cjs +1 -1
- package/dist/ui.d.ts +6 -2
- package/dist/ui.js +58 -59
- package/dist/useZoom-8M2AQIMJ.cjs +1 -0
- package/dist/{useZoom-CIIRid8U.js → useZoom-BR--m9w3.js} +140 -140
- package/package.json +1 -1
- package/dist/PageSetupDialog-GGWMpoe-.cjs +0 -15
- package/dist/TablePropertiesDialog-B399kZgL.js +0 -901
- package/dist/TablePropertiesDialog-DYbjwevC.cjs +0 -1
- package/dist/useZoom-BryUw3Cu.cjs +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { D as e, F as t, P as n, j as r, y as i } from "./WatermarkDialog-D-uTab0-.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 { extractSelectionContext as I } from "@stll/folio-core/prosemirror/plugins/selectionTracker";
|
|
4
4
|
import { pixelsToTwips as L, twipsToPixels as R } from "@stll/folio-core/utils/units";
|
|
@@ -7,7 +7,7 @@ import { redoDepth as B, undoDepth as V } from "prosemirror-history";
|
|
|
7
7
|
import { clearFormatting as ee } from "@stll/folio-core/prosemirror/commands/formatting";
|
|
8
8
|
import { getTableContext as H } from "@stll/folio-core/prosemirror/extensions/nodes/TableExtension";
|
|
9
9
|
//#region src/components/CommentMarginMarkers.vue?vue&type=script&setup=true&lang.ts
|
|
10
|
-
var U = ["title", "onClick"], te = /*#__PURE__*/
|
|
10
|
+
var U = ["title", "onClick"], te = /*#__PURE__*/ t(/* @__PURE__ */ p({
|
|
11
11
|
__name: "CommentMarginMarkers",
|
|
12
12
|
props: {
|
|
13
13
|
comments: {},
|
|
@@ -67,7 +67,7 @@ var U = ["title", "onClick"], te = /*#__PURE__*/ e(/* @__PURE__ */ p({
|
|
|
67
67
|
}), [["__scopeId", "data-v-fa51d56d"]]), W = { class: "doc-name" }, G = ["value"], K = {
|
|
68
68
|
key: 1,
|
|
69
69
|
class: "doc-name__text"
|
|
70
|
-
}, q = /*#__PURE__*/
|
|
70
|
+
}, q = /*#__PURE__*/ t(/* @__PURE__ */ p({
|
|
71
71
|
__name: "DocumentName",
|
|
72
72
|
props: {
|
|
73
73
|
modelValue: {},
|
|
@@ -98,7 +98,7 @@ var U = ["title", "onClick"], te = /*#__PURE__*/ e(/* @__PURE__ */ p({
|
|
|
98
98
|
onBlur: s
|
|
99
99
|
}, null, 40, G)) : (b(), l("span", K, E(i.value || "Untitled document"), 1))]));
|
|
100
100
|
}
|
|
101
|
-
}), [["__scopeId", "data-v-545e2786"]]), J = ["aria-selected", "onMouseenter"], ne = { class: "docx-table-grid-inline__label" }, Y = /*#__PURE__*/
|
|
101
|
+
}), [["__scopeId", "data-v-545e2786"]]), J = ["aria-selected", "onMouseenter"], ne = { class: "docx-table-grid-inline__label" }, Y = /*#__PURE__*/ t(/* @__PURE__ */ p({
|
|
102
102
|
__name: "TableGridInline",
|
|
103
103
|
props: {
|
|
104
104
|
gridRows: { default: 6 },
|
|
@@ -142,7 +142,7 @@ var U = ["title", "onClick"], te = /*#__PURE__*/ e(/* @__PURE__ */ p({
|
|
|
142
142
|
}, ie = {
|
|
143
143
|
key: 1,
|
|
144
144
|
class: "menu-bar__break-submenu"
|
|
145
|
-
}, ae = ["onClick"], oe = /*#__PURE__*/
|
|
145
|
+
}, ae = ["onClick"], oe = /*#__PURE__*/ t(/* @__PURE__ */ p({
|
|
146
146
|
__name: "MenuBar",
|
|
147
147
|
props: {
|
|
148
148
|
showFileOpen: {
|
|
@@ -159,8 +159,8 @@ var U = ["title", "onClick"], te = /*#__PURE__*/ e(/* @__PURE__ */ p({
|
|
|
159
159
|
}
|
|
160
160
|
},
|
|
161
161
|
emits: ["action", "insert-table"],
|
|
162
|
-
setup(e, { emit:
|
|
163
|
-
let { Menu: d } =
|
|
162
|
+
setup(e, { emit: t }) {
|
|
163
|
+
let { Menu: d } = i(), p = e, m = t, { t: h } = r();
|
|
164
164
|
function g(e) {
|
|
165
165
|
return () => m("action", e);
|
|
166
166
|
}
|
|
@@ -282,7 +282,7 @@ var U = ["title", "onClick"], te = /*#__PURE__*/ e(/* @__PURE__ */ p({
|
|
|
282
282
|
"title",
|
|
283
283
|
"aria-expanded",
|
|
284
284
|
"onClick"
|
|
285
|
-
], X = { class: "docx-icon-grid__panel" }, ce = ["title", "onClick"], le = /*#__PURE__*/
|
|
285
|
+
], X = { class: "docx-icon-grid__panel" }, ce = ["title", "onClick"], le = /*#__PURE__*/ t(/* @__PURE__ */ p({
|
|
286
286
|
__name: "IconGridDropdown",
|
|
287
287
|
props: {
|
|
288
288
|
options: {},
|
|
@@ -294,9 +294,9 @@ var U = ["title", "onClick"], te = /*#__PURE__*/ e(/* @__PURE__ */ p({
|
|
|
294
294
|
},
|
|
295
295
|
emits: ["select"],
|
|
296
296
|
setup(e, { emit: t }) {
|
|
297
|
-
let
|
|
297
|
+
let r = t, { Popover: o } = i(), c = S(!1);
|
|
298
298
|
function d(e) {
|
|
299
|
-
|
|
299
|
+
r("select", e), c.value = !1;
|
|
300
300
|
}
|
|
301
301
|
return (t, r) => (b(), s(O(o), {
|
|
302
302
|
open: c.value,
|
|
@@ -340,7 +340,7 @@ var U = ["title", "onClick"], te = /*#__PURE__*/ e(/* @__PURE__ */ p({
|
|
|
340
340
|
},
|
|
341
341
|
emits: ["change"],
|
|
342
342
|
setup(e) {
|
|
343
|
-
let
|
|
343
|
+
let t = e, { t: n } = r(), i = [
|
|
344
344
|
{
|
|
345
345
|
value: "inline",
|
|
346
346
|
labelKey: "imageWrap.inline",
|
|
@@ -373,19 +373,19 @@ var U = ["title", "onClick"], te = /*#__PURE__*/ e(/* @__PURE__ */ p({
|
|
|
373
373
|
}
|
|
374
374
|
], a = o(() => i.map((e) => ({
|
|
375
375
|
value: e.value,
|
|
376
|
-
label:
|
|
376
|
+
label: n(e.labelKey),
|
|
377
377
|
iconName: e.iconName
|
|
378
378
|
}))), c = o(() => {
|
|
379
|
-
let e =
|
|
379
|
+
let e = t.imageContext;
|
|
380
380
|
return e.displayMode === "float" && e.cssFloat === "left" ? "wrapRight" : e.displayMode === "float" && e.cssFloat === "right" ? "wrapLeft" : e.wrapType;
|
|
381
381
|
}), l = o(() => a.value.find((e) => e.value === c.value) ?? a.value.at(0)), u = o(() => l.value?.iconName ?? "format_image_left"), d = o(() => l.value?.label ?? "");
|
|
382
|
-
return (t,
|
|
382
|
+
return (t, r) => (b(), s(le, {
|
|
383
383
|
options: a.value,
|
|
384
384
|
"active-value": c.value,
|
|
385
385
|
"trigger-icon": u.value,
|
|
386
|
-
"tooltip-content": O(
|
|
386
|
+
"tooltip-content": O(n)("imageWrap.tooltipPrefix", { label: d.value }),
|
|
387
387
|
disabled: e.disabled,
|
|
388
|
-
onSelect:
|
|
388
|
+
onSelect: r[0] ||= (e) => t.$emit("change", e)
|
|
389
389
|
}, null, 8, [
|
|
390
390
|
"options",
|
|
391
391
|
"active-value",
|
|
@@ -399,7 +399,7 @@ var U = ["title", "onClick"], te = /*#__PURE__*/ e(/* @__PURE__ */ p({
|
|
|
399
399
|
props: { disabled: { type: Boolean } },
|
|
400
400
|
emits: ["transform"],
|
|
401
401
|
setup(e) {
|
|
402
|
-
let { t
|
|
402
|
+
let { t } = r(), n = [
|
|
403
403
|
{
|
|
404
404
|
value: "rotateCW",
|
|
405
405
|
labelKey: "imageTransform.rotateClockwise",
|
|
@@ -420,17 +420,17 @@ var U = ["title", "onClick"], te = /*#__PURE__*/ e(/* @__PURE__ */ p({
|
|
|
420
420
|
labelKey: "imageTransform.flipVertical",
|
|
421
421
|
iconName: "swap_vert"
|
|
422
422
|
}
|
|
423
|
-
], i = o(() =>
|
|
423
|
+
], i = o(() => n.map((e) => ({
|
|
424
424
|
value: e.value,
|
|
425
|
-
label:
|
|
425
|
+
label: t(e.labelKey),
|
|
426
426
|
iconName: e.iconName
|
|
427
427
|
})));
|
|
428
|
-
return (
|
|
428
|
+
return (n, r) => (b(), s(le, {
|
|
429
429
|
options: i.value,
|
|
430
430
|
"trigger-icon": "rotate_right",
|
|
431
|
-
"tooltip-content": O(
|
|
431
|
+
"tooltip-content": O(t)("imageTransform.tooltip"),
|
|
432
432
|
disabled: e.disabled,
|
|
433
|
-
onSelect: r[0] ||= (e) =>
|
|
433
|
+
onSelect: r[0] ||= (e) => n.$emit("transform", e)
|
|
434
434
|
}, null, 8, [
|
|
435
435
|
"options",
|
|
436
436
|
"tooltip-content",
|
|
@@ -440,12 +440,12 @@ var U = ["title", "onClick"], te = /*#__PURE__*/ e(/* @__PURE__ */ p({
|
|
|
440
440
|
}), Z = ["title", "onClick"], fe = {
|
|
441
441
|
key: 0,
|
|
442
442
|
class: "editing-mode__label"
|
|
443
|
-
}, pe = { class: "editing-mode__panel" }, me = ["onClick"], he = { class: "editing-mode__option-text" }, ge = { class: "editing-mode__option-label" }, _e = { class: "editing-mode__option-desc" }, ve = /*#__PURE__*/
|
|
443
|
+
}, pe = { class: "editing-mode__panel" }, me = ["onClick"], he = { class: "editing-mode__option-text" }, ge = { class: "editing-mode__option-label" }, _e = { class: "editing-mode__option-desc" }, ve = /*#__PURE__*/ t(/* @__PURE__ */ p({
|
|
444
444
|
__name: "EditingModeDropdown",
|
|
445
445
|
props: { modelValue: {} },
|
|
446
446
|
emits: ["update:modelValue"],
|
|
447
|
-
setup(e, { emit:
|
|
448
|
-
let { t: d } =
|
|
447
|
+
setup(e, { emit: t }) {
|
|
448
|
+
let { t: d } = r(), { Popover: p } = i(), m = e, h = t, _ = {
|
|
449
449
|
value: "editing",
|
|
450
450
|
labelKey: "editor.editing",
|
|
451
451
|
icon: "edit_note",
|
|
@@ -525,7 +525,7 @@ var U = ["title", "onClick"], te = /*#__PURE__*/ e(/* @__PURE__ */ p({
|
|
|
525
525
|
"aria-pressed",
|
|
526
526
|
"aria-label",
|
|
527
527
|
"title"
|
|
528
|
-
], xe = { class: "review-controls__toggle-label" }, Se = ["title", "onClick"], Ce = { class: "review-controls__display-label" }, we = ["onClick"], Te = { class: "review-controls__option-label" }, Ee = /*#__PURE__*/
|
|
528
|
+
], xe = { class: "review-controls__toggle-label" }, Se = ["title", "onClick"], Ce = { class: "review-controls__display-label" }, we = ["onClick"], Te = { class: "review-controls__option-label" }, Ee = /*#__PURE__*/ t(/* @__PURE__ */ p({
|
|
529
529
|
__name: "ReviewControls",
|
|
530
530
|
props: {
|
|
531
531
|
trackChangesOn: { type: Boolean },
|
|
@@ -536,8 +536,8 @@ var U = ["title", "onClick"], te = /*#__PURE__*/ e(/* @__PURE__ */ p({
|
|
|
536
536
|
}
|
|
537
537
|
},
|
|
538
538
|
emits: ["toggle-track-changes", "update:display-mode"],
|
|
539
|
-
setup(e, { emit:
|
|
540
|
-
let { t: d } =
|
|
539
|
+
setup(e, { emit: t }) {
|
|
540
|
+
let { t: d } = r(), { Popover: p } = i(), m = e, h = t, _ = S(!1), v = {
|
|
541
541
|
"all-markup": "markupView.allMarkup",
|
|
542
542
|
"simple-markup": "markupView.simple",
|
|
543
543
|
"no-markup": "markupView.noMarkup",
|
|
@@ -945,7 +945,7 @@ var We = {
|
|
|
945
945
|
"title",
|
|
946
946
|
"aria-label",
|
|
947
947
|
"disabled"
|
|
948
|
-
], xt = ["title", "aria-label"], St = ["aria-expanded", "title"], Ct = ["onMousedown"], wt = ["title", "aria-label"], Tt = ["title", "aria-label"], Et = ["title", "aria-label"], Dt = /*#__PURE__*/
|
|
948
|
+
], xt = ["title", "aria-label"], St = ["aria-expanded", "title"], Ct = ["onMousedown"], wt = ["title", "aria-label"], Tt = ["title", "aria-label"], Et = ["title", "aria-label"], Dt = /*#__PURE__*/ t(/* @__PURE__ */ p({
|
|
949
949
|
__name: "Toolbar",
|
|
950
950
|
props: {
|
|
951
951
|
view: { default: null },
|
|
@@ -1002,8 +1002,8 @@ var We = {
|
|
|
1002
1002
|
"image-properties",
|
|
1003
1003
|
"image-transform"
|
|
1004
1004
|
],
|
|
1005
|
-
setup(e, { emit:
|
|
1006
|
-
let { ColorPicker: p } =
|
|
1005
|
+
setup(e, { emit: t }) {
|
|
1006
|
+
let { ColorPicker: p } = i(), m = e, { t: h } = r(), v = t, y = o(() => m.zoomPercent ?? 100), x = o(() => m.isMinZoom ?? !1), T = o(() => m.isMaxZoom ?? !1), D = o(() => m.zoomPresets ?? Pe), k = o(() => m.showZoomControl ?? !0), A = S(null), j = S(null), M = S(null), N = S(null), L = S(null), R = S(null), { openDropdown: z, dropdownMenuStyle: H, toggleDropdown: U, recomputeDropdownPos: te } = Fe({
|
|
1007
1007
|
zoom: R,
|
|
1008
1008
|
style: A,
|
|
1009
1009
|
font: j,
|
|
@@ -1475,7 +1475,7 @@ var We = {
|
|
|
1475
1475
|
w(t.$slots, "toolbar-extra", {}, void 0, !0)
|
|
1476
1476
|
])) : c("", !0);
|
|
1477
1477
|
}
|
|
1478
|
-
}), [["__scopeId", "data-v-27c1178b"]]), Ot = ["aria-valuemax"], kt = { class: "docx-horizontal-ruler__ticks" }, At = ["title", "onDblclick"], jt = 12240, Mt = 1440, Nt = 1440, Pt = 567, Ft = "var(--doc-primary)", It = "var(--doc-primary)", Lt = "var(--doc-primary-hover)", Q = 5, Rt = /*#__PURE__*/
|
|
1478
|
+
}), [["__scopeId", "data-v-27c1178b"]]), Ot = ["aria-valuemax"], kt = { class: "docx-horizontal-ruler__ticks" }, At = ["title", "onDblclick"], jt = 12240, Mt = 1440, Nt = 1440, Pt = 567, Ft = "var(--doc-primary)", It = "var(--doc-primary)", Lt = "var(--doc-primary-hover)", Q = 5, Rt = /*#__PURE__*/ t(/* @__PURE__ */ p({
|
|
1479
1479
|
__name: "HorizontalRuler",
|
|
1480
1480
|
props: {
|
|
1481
1481
|
sectionProps: {},
|
|
@@ -1759,12 +1759,12 @@ var We = {
|
|
|
1759
1759
|
}, E(m.value), 5)) : c("", !0)
|
|
1760
1760
|
], 12, Ot));
|
|
1761
1761
|
}
|
|
1762
|
-
}), [["__scopeId", "data-v-845ef58d"]]), zt = ["disabled", "onClick"], Bt = { class: "docx-tbp__panel" }, Vt = ["title", "onClick"], Ht = /*#__PURE__*/
|
|
1762
|
+
}), [["__scopeId", "data-v-845ef58d"]]), zt = ["disabled", "onClick"], Bt = { class: "docx-tbp__panel" }, Vt = ["title", "onClick"], Ht = /*#__PURE__*/ t(/* @__PURE__ */ p({
|
|
1763
1763
|
__name: "TableBorderPicker",
|
|
1764
1764
|
props: { disabled: { type: Boolean } },
|
|
1765
1765
|
emits: ["change"],
|
|
1766
1766
|
setup(e, { emit: t }) {
|
|
1767
|
-
let { Popover:
|
|
1767
|
+
let { Popover: r } = i(), o = t, c = S(!1), d = [
|
|
1768
1768
|
{
|
|
1769
1769
|
value: "all",
|
|
1770
1770
|
icon: "border_all",
|
|
@@ -1819,10 +1819,10 @@ var We = {
|
|
|
1819
1819
|
function p(e) {
|
|
1820
1820
|
o("change", e), c.value = !1;
|
|
1821
1821
|
}
|
|
1822
|
-
return (t,
|
|
1822
|
+
return (t, i) => (b(), s(O(r), {
|
|
1823
1823
|
open: c.value,
|
|
1824
|
-
"onUpdate:open":
|
|
1825
|
-
onClose:
|
|
1824
|
+
"onUpdate:open": i[0] ||= (e) => c.value = e,
|
|
1825
|
+
onClose: i[1] ||= (e) => c.value = !1
|
|
1826
1826
|
}, {
|
|
1827
1827
|
trigger: M(({ toggle: t }) => [u("button", {
|
|
1828
1828
|
type: "button",
|
|
@@ -1855,16 +1855,16 @@ var We = {
|
|
|
1855
1855
|
value: {}
|
|
1856
1856
|
},
|
|
1857
1857
|
emits: ["change"],
|
|
1858
|
-
setup(
|
|
1859
|
-
let
|
|
1858
|
+
setup(t, { emit: n }) {
|
|
1859
|
+
let i = n, { t: a } = r();
|
|
1860
1860
|
function o(e) {
|
|
1861
|
-
typeof e == "string" ?
|
|
1861
|
+
typeof e == "string" ? i("change", e.replace(/^#/, "")) : e.rgb ? i("change", e.rgb.replace(/^#/, "")) : e.auto && i("change", "000000");
|
|
1862
1862
|
}
|
|
1863
|
-
return (
|
|
1863
|
+
return (n, r) => (b(), s(e, {
|
|
1864
1864
|
mode: "border",
|
|
1865
|
-
value:
|
|
1866
|
-
theme:
|
|
1867
|
-
disabled:
|
|
1865
|
+
value: t.value,
|
|
1866
|
+
theme: t.theme ?? null,
|
|
1867
|
+
disabled: t.disabled,
|
|
1868
1868
|
title: O(a)("table.borderColor"),
|
|
1869
1869
|
onChange: o
|
|
1870
1870
|
}, null, 8, [
|
|
@@ -1874,12 +1874,12 @@ var We = {
|
|
|
1874
1874
|
"title"
|
|
1875
1875
|
]));
|
|
1876
1876
|
}
|
|
1877
|
-
}), Wt = ["disabled", "onClick"], Gt = { class: "docx-tbwidth__panel" }, Kt = ["onClick"], qt = { class: "docx-tbwidth__label" }, Jt = /*#__PURE__*/
|
|
1877
|
+
}), Wt = ["disabled", "onClick"], Gt = { class: "docx-tbwidth__panel" }, Kt = ["onClick"], qt = { class: "docx-tbwidth__label" }, Jt = /*#__PURE__*/ t(/* @__PURE__ */ p({
|
|
1878
1878
|
__name: "TableBorderWidthPicker",
|
|
1879
1879
|
props: { disabled: { type: Boolean } },
|
|
1880
1880
|
emits: ["change"],
|
|
1881
1881
|
setup(e, { emit: t }) {
|
|
1882
|
-
let { Popover:
|
|
1882
|
+
let { Popover: r } = i(), o = t, c = S(!1), d = [
|
|
1883
1883
|
{
|
|
1884
1884
|
label: "0.5pt",
|
|
1885
1885
|
eighths: 4,
|
|
@@ -1924,10 +1924,10 @@ var We = {
|
|
|
1924
1924
|
function p(e) {
|
|
1925
1925
|
o("change", e), c.value = !1;
|
|
1926
1926
|
}
|
|
1927
|
-
return (t,
|
|
1927
|
+
return (t, i) => (b(), s(O(r), {
|
|
1928
1928
|
open: c.value,
|
|
1929
|
-
"onUpdate:open":
|
|
1930
|
-
onClose:
|
|
1929
|
+
"onUpdate:open": i[0] ||= (e) => c.value = e,
|
|
1930
|
+
onClose: i[1] ||= (e) => c.value = !1
|
|
1931
1931
|
}, {
|
|
1932
1932
|
trigger: M(({ toggle: t }) => [u("button", {
|
|
1933
1933
|
type: "button",
|
|
@@ -1959,16 +1959,16 @@ var We = {
|
|
|
1959
1959
|
value: {}
|
|
1960
1960
|
},
|
|
1961
1961
|
emits: ["change"],
|
|
1962
|
-
setup(
|
|
1963
|
-
let
|
|
1962
|
+
setup(t, { emit: n }) {
|
|
1963
|
+
let i = n, { t: a } = r();
|
|
1964
1964
|
function o(e) {
|
|
1965
|
-
typeof e == "string" &&
|
|
1965
|
+
typeof e == "string" && i("change", e === "none" ? "" : e.replace(/^#/, ""));
|
|
1966
1966
|
}
|
|
1967
|
-
return (
|
|
1967
|
+
return (n, r) => (b(), s(e, {
|
|
1968
1968
|
mode: "highlight",
|
|
1969
|
-
value:
|
|
1970
|
-
theme:
|
|
1971
|
-
disabled:
|
|
1969
|
+
value: t.value,
|
|
1970
|
+
theme: t.theme ?? null,
|
|
1971
|
+
disabled: t.disabled,
|
|
1972
1972
|
title: O(a)("table.cellFillColor"),
|
|
1973
1973
|
icon: "format_color_fill",
|
|
1974
1974
|
"auto-label": O(a)("colorPicker.noColor"),
|
|
@@ -1997,7 +1997,7 @@ var We = {
|
|
|
1997
1997
|
}, En = { class: "docx-tmore__field-label" }, Dn = { class: "docx-tmore__grow" }, On = {
|
|
1998
1998
|
key: 2,
|
|
1999
1999
|
class: "docx-tmore__sub docx-tmore__sub--list"
|
|
2000
|
-
}, kn = /*#__PURE__*/
|
|
2000
|
+
}, kn = /*#__PURE__*/ t(/* @__PURE__ */ p({
|
|
2001
2001
|
__name: "TableMoreDropdown",
|
|
2002
2002
|
props: {
|
|
2003
2003
|
disabled: {
|
|
@@ -2022,8 +2022,8 @@ var We = {
|
|
|
2022
2022
|
"cell-text-direction",
|
|
2023
2023
|
"row-height"
|
|
2024
2024
|
],
|
|
2025
|
-
setup(e, { emit:
|
|
2026
|
-
let { Popover: o } =
|
|
2025
|
+
setup(e, { emit: t }) {
|
|
2026
|
+
let { Popover: o } = i(), d = e, p = t, { t: m } = r(), h = S(!1), _ = S(!1), v = S(!1), y = S(!1), w = x({
|
|
2027
2027
|
top: 0,
|
|
2028
2028
|
bottom: 0,
|
|
2029
2029
|
left: 108,
|
|
@@ -2404,7 +2404,7 @@ var We = {
|
|
|
2404
2404
|
_: 1
|
|
2405
2405
|
}, 8, ["open"]));
|
|
2406
2406
|
}
|
|
2407
|
-
}), [["__scopeId", "data-v-53619b7d"]]), An = /*#__PURE__*/
|
|
2407
|
+
}), [["__scopeId", "data-v-53619b7d"]]), An = /*#__PURE__*/ t(/* @__PURE__ */ p({
|
|
2408
2408
|
__name: "TableToolbar",
|
|
2409
2409
|
props: {
|
|
2410
2410
|
view: {},
|
|
@@ -2553,7 +2553,7 @@ var We = {
|
|
|
2553
2553
|
])
|
|
2554
2554
|
], 64)) : c("", !0);
|
|
2555
2555
|
}
|
|
2556
|
-
}), [["__scopeId", "data-v-af7b47da"]]), jn = { class: "docx-vertical-ruler__ticks" }, Mn = 15840, Nn = 1440, Pn = 1440, Fn = 567, In = /*#__PURE__*/
|
|
2556
|
+
}), [["__scopeId", "data-v-af7b47da"]]), jn = { class: "docx-vertical-ruler__ticks" }, Mn = 15840, Nn = 1440, Pn = 1440, Fn = 567, In = /*#__PURE__*/ t(/* @__PURE__ */ p({
|
|
2557
2557
|
__name: "VerticalRuler",
|
|
2558
2558
|
props: {
|
|
2559
2559
|
sectionProps: {},
|
|
@@ -2772,7 +2772,7 @@ var Hn = /* @__PURE__ */ p({
|
|
|
2772
2772
|
}, Wn = {
|
|
2773
2773
|
key: 0,
|
|
2774
2774
|
class: "reply-thread__more"
|
|
2775
|
-
}, Gn = { class: "reply-thread__header" }, Kn = { class: "reply-thread__author-block" }, qn = { class: "reply-thread__author" }, Jn = { class: "reply-thread__date" }, Yn = /*#__PURE__*/
|
|
2775
|
+
}, Gn = { class: "reply-thread__header" }, Kn = { class: "reply-thread__author-block" }, qn = { class: "reply-thread__author" }, Jn = { class: "reply-thread__date" }, Yn = /*#__PURE__*/ t(/* @__PURE__ */ p({
|
|
2776
2776
|
__name: "ReplyThread",
|
|
2777
2777
|
props: {
|
|
2778
2778
|
replies: {},
|
|
@@ -2788,7 +2788,7 @@ var Hn = /* @__PURE__ */ p({
|
|
|
2788
2788
|
size: 28
|
|
2789
2789
|
}, null, 8, ["name"]), u("div", Kn, [u("div", qn, E(t.author || "Unknown"), 1), u("div", Jn, E(O(Rn)(t.date)), 1)])]), u("div", { class: g(["reply-thread__body", { "reply-thread__body--clamp": !e.isExpanded }]) }, E(O(Ln)(t.content)), 3)], 2))), 128))])) : c("", !0);
|
|
2790
2790
|
}
|
|
2791
|
-
}), [["__scopeId", "data-v-05622ce1"]]), Xn = ["onKeydown"], Zn = { class: "reply-input__actions" }, Qn = ["disabled"], $n = /*#__PURE__*/
|
|
2791
|
+
}), [["__scopeId", "data-v-05622ce1"]]), Xn = ["onKeydown"], Zn = { class: "reply-input__actions" }, Qn = ["disabled"], $n = /*#__PURE__*/ t(/* @__PURE__ */ p({
|
|
2792
2792
|
__name: "ReplyInput",
|
|
2793
2793
|
emits: ["submit"],
|
|
2794
2794
|
setup(e, { emit: t }) {
|
|
@@ -2842,7 +2842,7 @@ var Hn = /* @__PURE__ */ p({
|
|
|
2842
2842
|
}, nr = { class: "comment-card__head" }, rr = { class: "comment-card__author-block" }, ir = { class: "comment-card__author" }, ar = { class: "comment-card__date" }, or = {
|
|
2843
2843
|
key: 0,
|
|
2844
2844
|
class: "comment-card__actions"
|
|
2845
|
-
}, sr = ["title"], cr = { class: "comment-card__body" }, lr = /*#__PURE__*/
|
|
2845
|
+
}, sr = ["title"], cr = { class: "comment-card__body" }, lr = /*#__PURE__*/ t(/* @__PURE__ */ p({
|
|
2846
2846
|
__name: "CommentCard",
|
|
2847
2847
|
props: {
|
|
2848
2848
|
comment: {},
|
|
@@ -2916,7 +2916,7 @@ var Hn = /* @__PURE__ */ p({
|
|
|
2916
2916
|
})) : c("", !0)
|
|
2917
2917
|
], 42, er));
|
|
2918
2918
|
}
|
|
2919
|
-
}), [["__scopeId", "data-v-e4e6cbdb"]]), ur = ["data-comment-id"], dr = /*#__PURE__*/
|
|
2919
|
+
}), [["__scopeId", "data-v-e4e6cbdb"]]), ur = ["data-comment-id"], dr = /*#__PURE__*/ t(/* @__PURE__ */ p({
|
|
2920
2920
|
__name: "ResolvedCommentMarker",
|
|
2921
2921
|
props: { comment: {} },
|
|
2922
2922
|
emits: ["toggle-expand"],
|
|
@@ -2968,7 +2968,7 @@ var Hn = /* @__PURE__ */ p({
|
|
|
2968
2968
|
}, Pr = {
|
|
2969
2969
|
key: 13,
|
|
2970
2970
|
class: "tc-card__deleted"
|
|
2971
|
-
}, Fr = /*#__PURE__*/
|
|
2971
|
+
}, Fr = /*#__PURE__*/ t(/* @__PURE__ */ p({
|
|
2972
2972
|
__name: "TrackedChangeCard",
|
|
2973
2973
|
props: {
|
|
2974
2974
|
change: {},
|
|
@@ -2981,8 +2981,8 @@ var Hn = /* @__PURE__ */ p({
|
|
|
2981
2981
|
"reject-by-id",
|
|
2982
2982
|
"reply"
|
|
2983
2983
|
],
|
|
2984
|
-
setup(e, { emit:
|
|
2985
|
-
let { t: i } =
|
|
2984
|
+
setup(e, { emit: t }) {
|
|
2985
|
+
let { t: i } = r(), p = e, m = t, h = o(() => p.change.author || i("trackedChanges.unknown"));
|
|
2986
2986
|
function _() {
|
|
2987
2987
|
let e = new Set([p.change.revisionId]);
|
|
2988
2988
|
p.change.type === "replacement" && p.change.insertionRevisionId != null && e.add(p.change.insertionRevisionId);
|
|
@@ -3038,7 +3038,7 @@ var Hn = /* @__PURE__ */ p({
|
|
|
3038
3038
|
})) : c("", !0)
|
|
3039
3039
|
], 34));
|
|
3040
3040
|
}
|
|
3041
|
-
}), [["__scopeId", "data-v-d8e9f35f"]]), Ir = ["onKeydown"], Lr = { class: "add-comment-card__actions" }, Rr = ["disabled"], zr = /*#__PURE__*/
|
|
3041
|
+
}), [["__scopeId", "data-v-d8e9f35f"]]), Ir = ["onKeydown"], Lr = { class: "add-comment-card__actions" }, Rr = ["disabled"], zr = /*#__PURE__*/ t(/* @__PURE__ */ p({
|
|
3042
3042
|
__name: "AddCommentCard",
|
|
3043
3043
|
emits: ["submit", "cancel"],
|
|
3044
3044
|
setup(e, { emit: t }) {
|
|
@@ -3156,7 +3156,7 @@ function Vr({ comments: e, trackedChanges: t, showResolved: n, isAddingComment:
|
|
|
3156
3156
|
}
|
|
3157
3157
|
//#endregion
|
|
3158
3158
|
//#region src/components/UnifiedSidebar.vue?vue&type=script&setup=true&lang.ts
|
|
3159
|
-
var Hr = ["data-card-id"], Ur = 16, Wr = /*#__PURE__*/
|
|
3159
|
+
var Hr = ["data-card-id"], Ur = 16, Wr = /*#__PURE__*/ t(/* @__PURE__ */ p({
|
|
3160
3160
|
__name: "UnifiedSidebar",
|
|
3161
3161
|
props: {
|
|
3162
3162
|
isOpen: { type: Boolean },
|
|
@@ -3392,7 +3392,7 @@ var Hr = ["data-card-id"], Ur = 16, Wr = /*#__PURE__*/ e(/* @__PURE__ */ p({
|
|
|
3392
3392
|
"onClick"
|
|
3393
3393
|
])) : c("", !0)], 12, Hr))), 128))], 4)], 36)) : c("", !0)], 64));
|
|
3394
3394
|
}
|
|
3395
|
-
}), [["__scopeId", "data-v-a073acda"]]), Gr = /*#__PURE__*/
|
|
3395
|
+
}), [["__scopeId", "data-v-a073acda"]]), Gr = /*#__PURE__*/ t(/* @__PURE__ */ p({
|
|
3396
3396
|
__name: "StylePicker",
|
|
3397
3397
|
props: {
|
|
3398
3398
|
value: {},
|
|
@@ -3405,7 +3405,7 @@ var Hr = ["data-card-id"], Ur = 16, Wr = /*#__PURE__*/ e(/* @__PURE__ */ p({
|
|
|
3405
3405
|
},
|
|
3406
3406
|
emits: ["change"],
|
|
3407
3407
|
setup(e, { emit: t }) {
|
|
3408
|
-
let { Select: n } =
|
|
3408
|
+
let { Select: n } = i(), r = e, a = t, c = [
|
|
3409
3409
|
{
|
|
3410
3410
|
styleId: "Normal",
|
|
3411
3411
|
name: "Normal text"
|
|
@@ -3430,7 +3430,7 @@ var Hr = ["data-card-id"], Ur = 16, Wr = /*#__PURE__*/ e(/* @__PURE__ */ p({
|
|
|
3430
3430
|
styleId: "Heading3",
|
|
3431
3431
|
name: "Heading 3"
|
|
3432
3432
|
}
|
|
3433
|
-
], l = o(() =>
|
|
3433
|
+
], l = o(() => r.styles ?? c), u = o(() => l.value.map((e) => ({
|
|
3434
3434
|
value: e.styleId,
|
|
3435
3435
|
label: e.name
|
|
3436
3436
|
})));
|
|
@@ -3456,7 +3456,7 @@ var Hr = ["data-card-id"], Ur = 16, Wr = /*#__PURE__*/ e(/* @__PURE__ */ p({
|
|
|
3456
3456
|
"title",
|
|
3457
3457
|
"aria-expanded",
|
|
3458
3458
|
"onClick"
|
|
3459
|
-
], qr = { class: "docx-align__panel" }, Jr = ["title", "onClick"], Yr = /*#__PURE__*/
|
|
3459
|
+
], qr = { class: "docx-align__panel" }, Jr = ["title", "onClick"], Yr = /*#__PURE__*/ t(/* @__PURE__ */ p({
|
|
3460
3460
|
__name: "AlignmentButtons",
|
|
3461
3461
|
props: {
|
|
3462
3462
|
value: { default: "left" },
|
|
@@ -3467,7 +3467,7 @@ var Hr = ["data-card-id"], Ur = 16, Wr = /*#__PURE__*/ e(/* @__PURE__ */ p({
|
|
|
3467
3467
|
},
|
|
3468
3468
|
emits: ["change"],
|
|
3469
3469
|
setup(e, { emit: t }) {
|
|
3470
|
-
let { Popover:
|
|
3470
|
+
let { Popover: r } = i(), c = e, d = t, p = S(!1), m = [
|
|
3471
3471
|
{
|
|
3472
3472
|
value: "left",
|
|
3473
3473
|
label: "Align left",
|
|
@@ -3496,10 +3496,10 @@ var Hr = ["data-card-id"], Ur = 16, Wr = /*#__PURE__*/ e(/* @__PURE__ */ p({
|
|
|
3496
3496
|
function v(e) {
|
|
3497
3497
|
d("change", e), p.value = !1;
|
|
3498
3498
|
}
|
|
3499
|
-
return (t,
|
|
3499
|
+
return (t, i) => (b(), s(O(r), {
|
|
3500
3500
|
open: p.value,
|
|
3501
|
-
"onUpdate:open":
|
|
3502
|
-
onClose:
|
|
3501
|
+
"onUpdate:open": i[0] ||= (e) => p.value = e,
|
|
3502
|
+
onClose: i[1] ||= (e) => p.value = !1
|
|
3503
3503
|
}, {
|
|
3504
3504
|
trigger: M(({ toggle: t }) => [u("button", {
|
|
3505
3505
|
type: "button",
|
|
@@ -3541,7 +3541,7 @@ function Xr() {
|
|
|
3541
3541
|
}
|
|
3542
3542
|
//#endregion
|
|
3543
3543
|
//#region src/components/ui/ListButtons.vue?vue&type=script&setup=true&lang.ts
|
|
3544
|
-
var Zr = { class: "docx-list-btns" }, Qr = ["disabled"], $r = ["disabled"], ei = ["disabled"], ti = ["disabled"], ni = /*#__PURE__*/
|
|
3544
|
+
var Zr = { class: "docx-list-btns" }, Qr = ["disabled"], $r = ["disabled"], ei = ["disabled"], ti = ["disabled"], ni = /*#__PURE__*/ t(/* @__PURE__ */ p({
|
|
3545
3545
|
__name: "ListButtons",
|
|
3546
3546
|
props: {
|
|
3547
3547
|
listState: {},
|