@stll/folio-vue 0.3.0 → 0.5.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-3UeVXRAK.cjs → ListButtons-BvsV1yti.cjs} +2 -2
- package/dist/{ListButtons-CDkmhg3v.js → ListButtons-DXqMvba3.js} +105 -117
- package/dist/WatermarkDialog-DHfk8jrg.cjs +15 -0
- package/dist/{PageSetupDialog-Djs8aW5A.js → WatermarkDialog-r4wmldt4.js} +2094 -1322
- package/dist/components/DocxEditor/types.d.ts +10 -1
- package/dist/components/dialogs/index.d.ts +13 -9
- package/dist/components/sidebar/cardStyles.d.ts +1 -1
- 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 +1 -3
- package/dist/index.d.ts +4 -2
- package/dist/index.js +1236 -1226
- package/dist/ui.cjs +1 -1
- package/dist/ui.d.ts +6 -2
- package/dist/ui.js +58 -59
- package/dist/useZoom-BB6hSMvM.cjs +1 -0
- package/dist/{useZoom-CIIRid8U.js → useZoom-BxDANpqb.js} +215 -212
- package/package.json +11 -6
- 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
- package/dist/utils/aiEditRange.d.ts +0 -26
- package/dist/utils/pageText.d.ts +0 -14
|
@@ -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-r4wmldt4.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: {},
|
|
@@ -64,10 +64,10 @@ var U = ["title", "onClick"], te = /*#__PURE__*/ e(/* @__PURE__ */ p({
|
|
|
64
64
|
size: 18
|
|
65
65
|
}, null, 8, ["name"])], 12, U))), 128))], 36)) : c("", !0);
|
|
66
66
|
}
|
|
67
|
-
}), [["__scopeId", "data-v-
|
|
67
|
+
}), [["__scopeId", "data-v-bea4eef6"]]), 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-
|
|
101
|
+
}), [["__scopeId", "data-v-ae6cb472"]]), 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 },
|
|
@@ -136,13 +136,13 @@ var U = ["title", "onClick"], te = /*#__PURE__*/ e(/* @__PURE__ */ p({
|
|
|
136
136
|
onClick: F(d, ["prevent"])
|
|
137
137
|
}, null, 42, J))), 128))], 36), u("div", ne, E(i.value > 0 && s.value > 0 ? `${s.value} × ${i.value}` : "Select size"), 1)]));
|
|
138
138
|
}
|
|
139
|
-
}), [["__scopeId", "data-v-
|
|
139
|
+
}), [["__scopeId", "data-v-79c593ca"]]), re = {
|
|
140
140
|
class: "menu-bar",
|
|
141
141
|
role: "menubar"
|
|
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
|
}
|
|
@@ -276,13 +276,13 @@ var U = ["title", "onClick"], te = /*#__PURE__*/ e(/* @__PURE__ */ p({
|
|
|
276
276
|
}, null, 8, ["label", "items"])) : c("", !0)
|
|
277
277
|
]));
|
|
278
278
|
}
|
|
279
|
-
}), [["__scopeId", "data-v-
|
|
279
|
+
}), [["__scopeId", "data-v-bd3f3f2c"]]), se = [
|
|
280
280
|
"disabled",
|
|
281
281
|
"aria-label",
|
|
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,
|
|
@@ -332,7 +332,7 @@ var U = ["title", "onClick"], te = /*#__PURE__*/ e(/* @__PURE__ */ p({
|
|
|
332
332
|
_: 1
|
|
333
333
|
}, 8, ["open"]));
|
|
334
334
|
}
|
|
335
|
-
}), [["__scopeId", "data-v-
|
|
335
|
+
}), [["__scopeId", "data-v-72fa875c"]]), ue = /* @__PURE__ */ p({
|
|
336
336
|
__name: "ImageWrapDropdown",
|
|
337
337
|
props: {
|
|
338
338
|
imageContext: {},
|
|
@@ -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",
|
|
@@ -520,12 +520,12 @@ var U = ["title", "onClick"], te = /*#__PURE__*/ e(/* @__PURE__ */ p({
|
|
|
520
520
|
_: 1
|
|
521
521
|
}, 8, ["open"]));
|
|
522
522
|
}
|
|
523
|
-
}), [["__scopeId", "data-v-
|
|
523
|
+
}), [["__scopeId", "data-v-333d7e96"]]), ye = { class: "review-controls" }, be = [
|
|
524
524
|
"disabled",
|
|
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",
|
|
@@ -602,7 +602,7 @@ var U = ["title", "onClick"], te = /*#__PURE__*/ e(/* @__PURE__ */ p({
|
|
|
602
602
|
_: 1
|
|
603
603
|
}, 8, ["open"])]));
|
|
604
604
|
}
|
|
605
|
-
}), [["__scopeId", "data-v-
|
|
605
|
+
}), [["__scopeId", "data-v-e54a1ec7"]]);
|
|
606
606
|
//#endregion
|
|
607
607
|
//#region src/utils/fontOptions.ts
|
|
608
608
|
function De(e) {
|
|
@@ -869,7 +869,7 @@ var Le = {
|
|
|
869
869
|
Heading5: 13,
|
|
870
870
|
Heading6: 13,
|
|
871
871
|
Normal: 14
|
|
872
|
-
}, Re = new Set([
|
|
872
|
+
}, Re = /* @__PURE__ */ new Set([
|
|
873
873
|
"Title",
|
|
874
874
|
"Heading1",
|
|
875
875
|
"Heading2",
|
|
@@ -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-
|
|
1478
|
+
}), [["__scopeId", "data-v-e54d1eac"]]), 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: {},
|
|
@@ -1751,7 +1751,7 @@ var We = {
|
|
|
1751
1751
|
style: _({ left: e.px + "px" }),
|
|
1752
1752
|
title: `${e.label}`,
|
|
1753
1753
|
onDblclick: F((n) => t.$emit("tab-stop-remove", e.twips), ["prevent"])
|
|
1754
|
-
}, "L", 44, At))), 128)),
|
|
1754
|
+
}, " L ", 44, At))), 128)),
|
|
1755
1755
|
d.value && m.value ? (b(), l("div", {
|
|
1756
1756
|
key: 3,
|
|
1757
1757
|
class: "docx-horizontal-ruler__tooltip",
|
|
@@ -1759,12 +1759,12 @@ var We = {
|
|
|
1759
1759
|
}, E(m.value), 5)) : c("", !0)
|
|
1760
1760
|
], 12, Ot));
|
|
1761
1761
|
}
|
|
1762
|
-
}), [["__scopeId", "data-v-
|
|
1762
|
+
}), [["__scopeId", "data-v-6f3ea48c"]]), 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",
|
|
@@ -1847,7 +1847,7 @@ var We = {
|
|
|
1847
1847
|
_: 1
|
|
1848
1848
|
}, 8, ["open"]));
|
|
1849
1849
|
}
|
|
1850
|
-
}), [["__scopeId", "data-v-
|
|
1850
|
+
}), [["__scopeId", "data-v-4e30a014"]]), Ut = /* @__PURE__ */ p({
|
|
1851
1851
|
__name: "TableBorderColorPicker",
|
|
1852
1852
|
props: {
|
|
1853
1853
|
disabled: { type: Boolean },
|
|
@@ -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",
|
|
@@ -1951,7 +1951,7 @@ var We = {
|
|
|
1951
1951
|
_: 1
|
|
1952
1952
|
}, 8, ["open"]));
|
|
1953
1953
|
}
|
|
1954
|
-
}), [["__scopeId", "data-v-
|
|
1954
|
+
}), [["__scopeId", "data-v-42a746ba"]]), Yt = /* @__PURE__ */ p({
|
|
1955
1955
|
__name: "TableCellFillPicker",
|
|
1956
1956
|
props: {
|
|
1957
1957
|
disabled: { type: Boolean },
|
|
@@ -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,
|
|
@@ -2033,7 +2033,7 @@ var We = {
|
|
|
2033
2033
|
e || (_.value = !1, v.value = !1, y.value = !1);
|
|
2034
2034
|
});
|
|
2035
2035
|
function P(e) {
|
|
2036
|
-
return d.disabled ? !0 : e === "splitCell" ? !d.canSplit : e === "mergeCells" ? !d.canMerge : e === "deleteRow" ? (d.rowCount ?? 0) <= 1 : e === "deleteColumn"
|
|
2036
|
+
return d.disabled ? !0 : e === "splitCell" ? !d.canSplit : e === "mergeCells" ? !d.canMerge : e === "deleteRow" ? (d.rowCount ?? 0) <= 1 : e === "deleteColumn" && (d.columnCount ?? 0) <= 1;
|
|
2037
2037
|
}
|
|
2038
2038
|
function I(e) {
|
|
2039
2039
|
P(e) || (p("action", e), h.value = !1);
|
|
@@ -2404,7 +2404,7 @@ var We = {
|
|
|
2404
2404
|
_: 1
|
|
2405
2405
|
}, 8, ["open"]));
|
|
2406
2406
|
}
|
|
2407
|
-
}), [["__scopeId", "data-v-
|
|
2407
|
+
}), [["__scopeId", "data-v-5d357bc4"]]), 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-
|
|
2556
|
+
}), [["__scopeId", "data-v-90f8e7a0"]]), 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: {},
|
|
@@ -2700,7 +2700,7 @@ var We = {
|
|
|
2700
2700
|
}, [u("div", { style: _(O("bottomMargin")) }, null, 4)], 36)) : c("", !0)
|
|
2701
2701
|
], 4));
|
|
2702
2702
|
}
|
|
2703
|
-
}), [["__scopeId", "data-v-
|
|
2703
|
+
}), [["__scopeId", "data-v-f7ccbd38"]]);
|
|
2704
2704
|
//#endregion
|
|
2705
2705
|
//#region src/utils/comments.ts
|
|
2706
2706
|
function Ln(e) {
|
|
@@ -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-
|
|
2791
|
+
}), [["__scopeId", "data-v-06331fac"]]), 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 }) {
|
|
@@ -2827,7 +2827,7 @@ var Hn = /* @__PURE__ */ p({
|
|
|
2827
2827
|
class: g(["reply-input__submit", { "reply-input__submit--active": c.value }]),
|
|
2828
2828
|
disabled: !c.value,
|
|
2829
2829
|
onClick: F(p, ["stop"])
|
|
2830
|
-
}, "Reply", 10, Qn)])], 64)) : (b(), l("input", {
|
|
2830
|
+
}, " Reply ", 10, Qn)])], 64)) : (b(), l("input", {
|
|
2831
2831
|
key: 0,
|
|
2832
2832
|
readonly: "",
|
|
2833
2833
|
placeholder: "Reply",
|
|
@@ -2836,13 +2836,13 @@ var Hn = /* @__PURE__ */ p({
|
|
|
2836
2836
|
onClick: F(d, ["stop"])
|
|
2837
2837
|
}, null, 32))], 32));
|
|
2838
2838
|
}
|
|
2839
|
-
}), [["__scopeId", "data-v-
|
|
2839
|
+
}), [["__scopeId", "data-v-fea8646c"]]), er = ["data-comment-id"], tr = {
|
|
2840
2840
|
key: 0,
|
|
2841
2841
|
class: "comment-card__resolved"
|
|
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-
|
|
2919
|
+
}), [["__scopeId", "data-v-7a3ee7ac"]]), ur = ["data-comment-id"], dr = /*#__PURE__*/ t(/* @__PURE__ */ p({
|
|
2920
2920
|
__name: "ResolvedCommentMarker",
|
|
2921
2921
|
props: { comment: {} },
|
|
2922
2922
|
emits: ["toggle-expand"],
|
|
@@ -2932,7 +2932,7 @@ var Hn = /* @__PURE__ */ p({
|
|
|
2932
2932
|
size: 20
|
|
2933
2933
|
})], 40, ur));
|
|
2934
2934
|
}
|
|
2935
|
-
}), [["__scopeId", "data-v-
|
|
2935
|
+
}), [["__scopeId", "data-v-d0c228f6"]]), fr = { class: "tc-card__head" }, pr = { class: "tc-card__author-block" }, mr = { class: "tc-card__author" }, hr = {
|
|
2936
2936
|
key: 0,
|
|
2937
2937
|
class: "tc-card__date"
|
|
2938
2938
|
}, gr = {
|
|
@@ -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,10 +2981,10 @@ 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
|
-
let e = new Set([p.change.revisionId]);
|
|
2987
|
+
let e = /* @__PURE__ */ new Set([p.change.revisionId]);
|
|
2988
2988
|
p.change.type === "replacement" && p.change.insertionRevisionId != null && e.add(p.change.insertionRevisionId);
|
|
2989
2989
|
for (let t of p.change.coalescedRevisionIds ?? []) e.add(t);
|
|
2990
2990
|
return [...e];
|
|
@@ -3038,7 +3038,7 @@ var Hn = /* @__PURE__ */ p({
|
|
|
3038
3038
|
})) : c("", !0)
|
|
3039
3039
|
], 34));
|
|
3040
3040
|
}
|
|
3041
|
-
}), [["__scopeId", "data-v-
|
|
3041
|
+
}), [["__scopeId", "data-v-510d39b5"]]), 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 }) {
|
|
@@ -3074,9 +3074,9 @@ var Hn = /* @__PURE__ */ p({
|
|
|
3074
3074
|
class: g(["add-comment-card__submit", { "add-comment-card__submit--active": a.value }]),
|
|
3075
3075
|
disabled: !a.value,
|
|
3076
3076
|
onClick: s
|
|
3077
|
-
}, "Comment", 10, Rr)])], 32));
|
|
3077
|
+
}, " Comment ", 10, Rr)])], 32));
|
|
3078
3078
|
}
|
|
3079
|
-
}), [["__scopeId", "data-v-
|
|
3079
|
+
}), [["__scopeId", "data-v-2939f9cd"]]);
|
|
3080
3080
|
//#endregion
|
|
3081
3081
|
//#region src/components/sidebar/resolveItemPositions.ts
|
|
3082
3082
|
function Br(e, t, n, r, i) {
|
|
@@ -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-
|
|
3395
|
+
}), [["__scopeId", "data-v-fbafe53a"]]), 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
|
})));
|
|
@@ -3451,12 +3451,12 @@ var Hr = ["data-card-id"], Ur = 16, Wr = /*#__PURE__*/ e(/* @__PURE__ */ p({
|
|
|
3451
3451
|
"class"
|
|
3452
3452
|
]));
|
|
3453
3453
|
}
|
|
3454
|
-
}), [["__scopeId", "data-v-
|
|
3454
|
+
}), [["__scopeId", "data-v-06469e2c"]]), Kr = [
|
|
3455
3455
|
"disabled",
|
|
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",
|
|
@@ -3529,19 +3529,7 @@ var Hr = ["data-card-id"], Ur = 16, Wr = /*#__PURE__*/ e(/* @__PURE__ */ p({
|
|
|
3529
3529
|
_: 1
|
|
3530
3530
|
}, 8, ["open"]));
|
|
3531
3531
|
}
|
|
3532
|
-
}), [["__scopeId", "data-v-
|
|
3533
|
-
//#endregion
|
|
3534
|
-
//#region src/utils/listState.ts
|
|
3535
|
-
function Xr() {
|
|
3536
|
-
return {
|
|
3537
|
-
type: "none",
|
|
3538
|
-
level: 0,
|
|
3539
|
-
isInList: !1
|
|
3540
|
-
};
|
|
3541
|
-
}
|
|
3542
|
-
//#endregion
|
|
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__*/ e(/* @__PURE__ */ p({
|
|
3532
|
+
}), [["__scopeId", "data-v-088792b0"]]), Xr = { class: "docx-list-btns" }, Zr = ["disabled"], Qr = ["disabled"], $r = ["disabled"], ei = ["disabled"], ti = /*#__PURE__*/ t(/* @__PURE__ */ p({
|
|
3545
3533
|
__name: "ListButtons",
|
|
3546
3534
|
props: {
|
|
3547
3535
|
listState: {},
|
|
@@ -3565,7 +3553,7 @@ var Zr = { class: "docx-list-btns" }, Qr = ["disabled"], $r = ["disabled"], ei =
|
|
|
3565
3553
|
"outdent"
|
|
3566
3554
|
],
|
|
3567
3555
|
setup(e) {
|
|
3568
|
-
return (t, r) => (b(), l("span",
|
|
3556
|
+
return (t, r) => (b(), l("span", Xr, [
|
|
3569
3557
|
u("button", {
|
|
3570
3558
|
type: "button",
|
|
3571
3559
|
class: g(["docx-list-btns__btn", { "docx-list-btns__btn--active": e.listState?.isInList && e.listState?.type === "bullet" }]),
|
|
@@ -3575,7 +3563,7 @@ var Zr = { class: "docx-list-btns" }, Qr = ["disabled"], $r = ["disabled"], ei =
|
|
|
3575
3563
|
}, [f(n, {
|
|
3576
3564
|
name: "format_list_bulleted",
|
|
3577
3565
|
size: 20
|
|
3578
|
-
})], 10,
|
|
3566
|
+
})], 10, Zr),
|
|
3579
3567
|
u("button", {
|
|
3580
3568
|
type: "button",
|
|
3581
3569
|
class: g(["docx-list-btns__btn", { "docx-list-btns__btn--active": e.listState?.isInList && e.listState?.type === "numbered" }]),
|
|
@@ -3585,7 +3573,7 @@ var Zr = { class: "docx-list-btns" }, Qr = ["disabled"], $r = ["disabled"], ei =
|
|
|
3585
3573
|
}, [f(n, {
|
|
3586
3574
|
name: "format_list_numbered",
|
|
3587
3575
|
size: 20
|
|
3588
|
-
})], 10,
|
|
3576
|
+
})], 10, Qr),
|
|
3589
3577
|
e.showIndentButtons ? (b(), l(a, { key: 0 }, [u("button", {
|
|
3590
3578
|
type: "button",
|
|
3591
3579
|
class: "docx-list-btns__btn",
|
|
@@ -3595,7 +3583,7 @@ var Zr = { class: "docx-list-btns" }, Qr = ["disabled"], $r = ["disabled"], ei =
|
|
|
3595
3583
|
}, [f(n, {
|
|
3596
3584
|
name: "format_indent_decrease",
|
|
3597
3585
|
size: 20
|
|
3598
|
-
})], 8,
|
|
3586
|
+
})], 8, $r), u("button", {
|
|
3599
3587
|
type: "button",
|
|
3600
3588
|
class: "docx-list-btns__btn",
|
|
3601
3589
|
disabled: e.disabled,
|
|
@@ -3604,9 +3592,9 @@ var Zr = { class: "docx-list-btns" }, Qr = ["disabled"], $r = ["disabled"], ei =
|
|
|
3604
3592
|
}, [f(n, {
|
|
3605
3593
|
name: "format_indent_increase",
|
|
3606
3594
|
size: 20
|
|
3607
|
-
})], 8,
|
|
3595
|
+
})], 8, ei)], 64)) : c("", !0)
|
|
3608
3596
|
]));
|
|
3609
3597
|
}
|
|
3610
|
-
}), [["__scopeId", "data-v-
|
|
3598
|
+
}), [["__scopeId", "data-v-82fa229d"]]);
|
|
3611
3599
|
//#endregion
|
|
3612
|
-
export {
|
|
3600
|
+
export { le as C, te as D, q as E, ue as S, Y as T, Ht as _, zr as a, ve as b, lr as c, In as d, An as f, Ut as g, Jt as h, Wr as i, $n as l, Yt as m, Yr as n, Fr as o, kn as p, Gr as r, dr as s, ti as t, Yn as u, Rt as v, oe as w, de as x, Dt as y };
|