@stll/folio-vue 0.32.0 → 0.33.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/FindReplaceDialog-CfcTl2Ra.cjs +1 -0
- package/dist/FindReplaceDialog-DEWjhuOw.js +168 -0
- package/dist/HorizontalRuler-Cuk0l4Us.cjs +1 -0
- package/dist/HorizontalRuler-TM9dg--R.js +341 -0
- package/dist/HyperlinkDialog-BEse_y7R.js +175 -0
- package/dist/HyperlinkDialog-Cs1y6aol.cjs +1 -0
- package/dist/ImagePropertiesDialog-CTbX2GrE.cjs +1 -0
- package/dist/ImagePropertiesDialog-mrJ8S3sl.js +186 -0
- package/dist/ImageSelectionOverlay-DULrvfOJ.js +386 -0
- package/dist/ImageSelectionOverlay-Dr0lg9WZ.cjs +1 -0
- package/dist/InsertSymbolDialog-BjB-Q9EO.js +93 -0
- package/dist/InsertSymbolDialog-BsjgPYM-.cjs +1 -0
- package/dist/PageSetupDialog-CZ5fE9rz.cjs +1 -0
- package/dist/PageSetupDialog-DNNSezj3.js +208 -0
- package/dist/SetNumberingValueDialog-ClCYr37D.cjs +1 -0
- package/dist/SetNumberingValueDialog-CwLHfO7f.js +54 -0
- package/dist/SplitCellDialog-Bfuo5WCO.cjs +1 -0
- package/dist/SplitCellDialog-HIg4ZEqt.js +1031 -0
- package/dist/StylePicker-BnGGlXOX.cjs +4 -0
- package/dist/{StylePicker-RAC5uYts.js → StylePicker-F3cLPvRE.js} +593 -1100
- package/dist/TablePropertiesDialog-CRX9Xgdr.js +102 -0
- package/dist/TablePropertiesDialog-ClJSuB0F.cjs +1 -0
- package/dist/VerticalRuler-D973NTMv.js +178 -0
- package/dist/VerticalRuler-DVi2P_TO.cjs +1 -0
- package/dist/WatermarkDialog-BYyBTlDK.cjs +1 -0
- package/dist/WatermarkDialog-BoAdQ-qK.js +161 -0
- package/dist/components/dialogs/recentSymbols.d.ts +7 -0
- package/dist/composables/useDocxEditor.d.ts +4 -1
- package/dist/composables.cjs +1 -1
- package/dist/composables.js +1 -1
- package/dist/dialogs.cjs +1 -1
- package/dist/dialogs.js +9 -1
- package/dist/{SplitCellDialog-DULmbU_P.js → folio-ui-ctJdVP-s.js} +713 -2743
- package/dist/folio-ui-u7h3WXUO.cjs +15 -0
- package/dist/folio-vue.css +1 -1
- package/dist/i18n/LocaleLoading.d.ts +3 -0
- package/dist/i18n/index.d.ts +18 -3
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +1 -2
- package/dist/index.js +1661 -2039
- 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-DbbDpzbe.cjs +1 -0
- package/dist/ui.cjs +1 -1
- package/dist/ui.js +28 -18
- package/dist/useZoom-CX69Me_z.js +1010 -0
- package/dist/useZoom-QSSrGY_r.cjs +1 -0
- package/package.json +2 -2
- package/dist/SplitCellDialog-Bc2TjxMb.cjs +0 -15
- package/dist/StylePicker-Bb0FkLYi.cjs +0 -4
- package/dist/rolldown-runtime-5iZMYShA.cjs +0 -1
- package/dist/useZoom-HGLyQ-Y0.js +0 -1007
- package/dist/useZoom-vZRWHzC-.cjs +0 -1
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
import { C as e, S as t, a as n, g as r } from "./folio-ui-ctJdVP-s.js";
|
|
2
|
+
import { Fragment as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, defineComponent as u, openBlock as d, ref as f, renderList as p, toDisplayString as m, unref as h, vModelText as g, watch as _, withCtx as v, withDirectives as y, withKeys as b } from "vue";
|
|
3
|
+
import { TWIPS_PER_INCH as x } from "@stll/folio-core/utils/units";
|
|
4
|
+
// src/components/dialogs/PageSetupDialog.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
+
var S = { class: "ps-header" }, C = { class: "ps-body" }, ee = { class: "ps-section-label" }, te = { class: "ps-row" }, ne = { class: "ps-label" }, re = ["value"], ie = ["value"], ae = {
|
|
6
|
+
key: 0,
|
|
7
|
+
value: -1
|
|
8
|
+
}, oe = { class: "ps-row" }, se = { class: "ps-label" }, ce = ["value"], le = { value: "portrait" }, w = { value: "landscape" }, T = { class: "ps-section-label ps-section-label--spaced" }, E = { class: "ps-row" }, D = { class: "ps-label" }, O = { class: "ps-row" }, k = { class: "ps-label" }, A = { class: "ps-row" }, j = { class: "ps-label" }, M = { class: "ps-row" }, N = { class: "ps-label" }, P = { class: "ps-footer" }, F = 12240, I = 15840, L = 1440, R = /*@__PURE__*/ u({
|
|
9
|
+
__name: "PageSetupDialog",
|
|
10
|
+
props: {
|
|
11
|
+
isOpen: { type: Boolean },
|
|
12
|
+
sectionProperties: {}
|
|
13
|
+
},
|
|
14
|
+
emits: ["close", "apply"],
|
|
15
|
+
setup(e, { emit: r }) {
|
|
16
|
+
let { t: u } = t(), { Dialog: R } = n(), z = [
|
|
17
|
+
{
|
|
18
|
+
labelKey: "dialogs.pageSetup.pageSizes.letter",
|
|
19
|
+
width: 12240,
|
|
20
|
+
height: 15840
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
labelKey: "dialogs.pageSetup.pageSizes.a4",
|
|
24
|
+
width: 11906,
|
|
25
|
+
height: 16838
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
labelKey: "dialogs.pageSetup.pageSizes.legal",
|
|
29
|
+
width: 12240,
|
|
30
|
+
height: 20160
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
labelKey: "dialogs.pageSetup.pageSizes.a3",
|
|
34
|
+
width: 16838,
|
|
35
|
+
height: 23811
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
labelKey: "dialogs.pageSetup.pageSizes.a5",
|
|
39
|
+
width: 8391,
|
|
40
|
+
height: 11906
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
labelKey: "dialogs.pageSetup.pageSizes.b5",
|
|
44
|
+
width: 9979,
|
|
45
|
+
height: 14175
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
labelKey: "dialogs.pageSetup.pageSizes.executive",
|
|
49
|
+
width: 10440,
|
|
50
|
+
height: 15120
|
|
51
|
+
}
|
|
52
|
+
], B = e, V = r, H = f(F), U = f(I), W = f("portrait"), G = f(1), K = f(1), q = f(1), J = f(1);
|
|
53
|
+
function Y(e) {
|
|
54
|
+
return Math.round(e / x * 100) / 100;
|
|
55
|
+
}
|
|
56
|
+
function X(e) {
|
|
57
|
+
return Math.round((Number(e) || 0) * x);
|
|
58
|
+
}
|
|
59
|
+
let Z = a(() => {
|
|
60
|
+
let e = Math.min(H.value, U.value), t = Math.max(H.value, U.value);
|
|
61
|
+
return z.findIndex((n) => Math.abs(n.width - e) < 20 && Math.abs(n.height - t) < 20);
|
|
62
|
+
});
|
|
63
|
+
_(() => B.isOpen, (e) => {
|
|
64
|
+
if (!e) return;
|
|
65
|
+
let t = B.sectionProperties, n = t?.pageWidth || F, r = t?.pageHeight || I;
|
|
66
|
+
H.value = n, U.value = r, W.value = t?.orientation || (n > r ? "landscape" : "portrait"), G.value = Y(t?.marginTop ?? L), K.value = Y(t?.marginBottom ?? L), q.value = Y(t?.marginLeft ?? L), J.value = Y(t?.marginRight ?? L);
|
|
67
|
+
}, { immediate: !0 });
|
|
68
|
+
function ue(e) {
|
|
69
|
+
if (!(e.target instanceof HTMLSelectElement)) return;
|
|
70
|
+
let t = Number(e.target.value), n = z.at(t);
|
|
71
|
+
t < 0 || !n || (W.value === "landscape" ? (H.value = n.height, U.value = n.width) : (H.value = n.width, U.value = n.height));
|
|
72
|
+
}
|
|
73
|
+
function de(e) {
|
|
74
|
+
if (!(e.target instanceof HTMLSelectElement)) return;
|
|
75
|
+
let t = e.target.value === "landscape" ? "landscape" : "portrait";
|
|
76
|
+
if (t === W.value) return;
|
|
77
|
+
W.value = t;
|
|
78
|
+
let n = H.value;
|
|
79
|
+
H.value = U.value, U.value = n;
|
|
80
|
+
}
|
|
81
|
+
function Q() {
|
|
82
|
+
V("close");
|
|
83
|
+
}
|
|
84
|
+
function $() {
|
|
85
|
+
V("apply", {
|
|
86
|
+
pageWidth: H.value,
|
|
87
|
+
pageHeight: U.value,
|
|
88
|
+
orientation: W.value,
|
|
89
|
+
marginTop: X(G.value),
|
|
90
|
+
marginBottom: X(K.value),
|
|
91
|
+
marginLeft: X(q.value),
|
|
92
|
+
marginRight: X(J.value)
|
|
93
|
+
}), Q();
|
|
94
|
+
}
|
|
95
|
+
return (t, n) => (d(), o(h(R), {
|
|
96
|
+
open: e.isOpen,
|
|
97
|
+
"aria-label": h(u)("dialogs.pageSetup.title"),
|
|
98
|
+
style: {
|
|
99
|
+
minWidth: "400px",
|
|
100
|
+
maxWidth: "480px",
|
|
101
|
+
width: "100%",
|
|
102
|
+
margin: "20px"
|
|
103
|
+
},
|
|
104
|
+
onClose: Q,
|
|
105
|
+
onKeydown: b($, ["enter"])
|
|
106
|
+
}, {
|
|
107
|
+
default: v(() => [
|
|
108
|
+
l("div", S, m(h(u)("dialogs.pageSetup.title")), 1),
|
|
109
|
+
l("div", C, [
|
|
110
|
+
l("div", ee, m(h(u)("dialogs.pageSetup.pageSize")), 1),
|
|
111
|
+
l("div", te, [l("label", ne, m(h(u)("dialogs.pageSetup.sizeLabel")), 1), l("select", {
|
|
112
|
+
class: "ps-input",
|
|
113
|
+
value: Z.value,
|
|
114
|
+
onChange: ue
|
|
115
|
+
}, [(d(), c(i, null, p(z, (e, t) => l("option", {
|
|
116
|
+
key: e.labelKey,
|
|
117
|
+
value: t
|
|
118
|
+
}, m(h(u)(e.labelKey)), 9, ie)), 64)), Z.value < 0 ? (d(), c("option", ae, m(h(u)("dialogs.pageSetup.custom")), 1)) : s("", !0)], 40, re)]),
|
|
119
|
+
l("div", oe, [l("label", se, m(h(u)("dialogs.pageSetup.orientation")), 1), l("select", {
|
|
120
|
+
class: "ps-input",
|
|
121
|
+
value: W.value,
|
|
122
|
+
onChange: de
|
|
123
|
+
}, [l("option", le, m(h(u)("dialogs.pageSetup.portrait")), 1), l("option", w, m(h(u)("dialogs.pageSetup.landscape")), 1)], 40, ce)]),
|
|
124
|
+
l("div", T, m(h(u)("dialogs.pageSetup.margins")), 1),
|
|
125
|
+
l("div", E, [
|
|
126
|
+
l("label", D, m(h(u)("dialogs.pageSetup.top")), 1),
|
|
127
|
+
y(l("input", {
|
|
128
|
+
class: "ps-input",
|
|
129
|
+
type: "number",
|
|
130
|
+
min: "0",
|
|
131
|
+
max: "10",
|
|
132
|
+
step: "0.1",
|
|
133
|
+
"onUpdate:modelValue": n[0] ||= (e) => G.value = e
|
|
134
|
+
}, null, 512), [[
|
|
135
|
+
g,
|
|
136
|
+
G.value,
|
|
137
|
+
void 0,
|
|
138
|
+
{ number: !0 }
|
|
139
|
+
]]),
|
|
140
|
+
n[4] ||= l("span", { class: "ps-unit" }, "in", -1)
|
|
141
|
+
]),
|
|
142
|
+
l("div", O, [
|
|
143
|
+
l("label", k, m(h(u)("dialogs.pageSetup.bottom")), 1),
|
|
144
|
+
y(l("input", {
|
|
145
|
+
class: "ps-input",
|
|
146
|
+
type: "number",
|
|
147
|
+
min: "0",
|
|
148
|
+
max: "10",
|
|
149
|
+
step: "0.1",
|
|
150
|
+
"onUpdate:modelValue": n[1] ||= (e) => K.value = e
|
|
151
|
+
}, null, 512), [[
|
|
152
|
+
g,
|
|
153
|
+
K.value,
|
|
154
|
+
void 0,
|
|
155
|
+
{ number: !0 }
|
|
156
|
+
]]),
|
|
157
|
+
n[5] ||= l("span", { class: "ps-unit" }, "in", -1)
|
|
158
|
+
]),
|
|
159
|
+
l("div", A, [
|
|
160
|
+
l("label", j, m(h(u)("dialogs.pageSetup.left")), 1),
|
|
161
|
+
y(l("input", {
|
|
162
|
+
class: "ps-input",
|
|
163
|
+
type: "number",
|
|
164
|
+
min: "0",
|
|
165
|
+
max: "10",
|
|
166
|
+
step: "0.1",
|
|
167
|
+
"onUpdate:modelValue": n[2] ||= (e) => q.value = e
|
|
168
|
+
}, null, 512), [[
|
|
169
|
+
g,
|
|
170
|
+
q.value,
|
|
171
|
+
void 0,
|
|
172
|
+
{ number: !0 }
|
|
173
|
+
]]),
|
|
174
|
+
n[6] ||= l("span", { class: "ps-unit" }, "in", -1)
|
|
175
|
+
]),
|
|
176
|
+
l("div", M, [
|
|
177
|
+
l("label", N, m(h(u)("dialogs.pageSetup.right")), 1),
|
|
178
|
+
y(l("input", {
|
|
179
|
+
class: "ps-input",
|
|
180
|
+
type: "number",
|
|
181
|
+
min: "0",
|
|
182
|
+
max: "10",
|
|
183
|
+
step: "0.1",
|
|
184
|
+
"onUpdate:modelValue": n[3] ||= (e) => J.value = e
|
|
185
|
+
}, null, 512), [[
|
|
186
|
+
g,
|
|
187
|
+
J.value,
|
|
188
|
+
void 0,
|
|
189
|
+
{ number: !0 }
|
|
190
|
+
]]),
|
|
191
|
+
n[7] ||= l("span", { class: "ps-unit" }, "in", -1)
|
|
192
|
+
])
|
|
193
|
+
]),
|
|
194
|
+
l("div", P, [l("button", {
|
|
195
|
+
type: "button",
|
|
196
|
+
class: "ps-btn",
|
|
197
|
+
onClick: Q
|
|
198
|
+
}, m(h(u)("common.cancel")), 1), l("button", {
|
|
199
|
+
type: "button",
|
|
200
|
+
class: "ps-btn ps-btn--primary",
|
|
201
|
+
onClick: $
|
|
202
|
+
}, m(h(u)("common.apply")), 1)])
|
|
203
|
+
]),
|
|
204
|
+
_: 1
|
|
205
|
+
}, 8, ["open", "aria-label"]));
|
|
206
|
+
}
|
|
207
|
+
}), z = /* @__PURE__ */ e({ default: () => B }), B = /*#__PURE__*/ r(R, [["__scopeId", "data-v-757aa5a3"]]);
|
|
208
|
+
export { z as n, B as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./folio-ui-u7h3WXUO.cjs");let t=require("vue");var n={class:`dialog__header`},r={class:`dialog__body`},i={class:`field`},a={class:`field__label`},o={class:`dialog__footer`},s=0,c=32767,l=1,u=(0,t.defineComponent)({__name:`SetNumberingValueDialog`,props:{isOpen:{type:Boolean}},emits:[`close`,`apply`],setup(u,{emit:d}){let{Dialog:f}=e.a(),{t:p}=e.S(),m=u,h=d,g=(0,t.ref)(l);(0,t.watch)(()=>m.isOpen,e=>{e&&(g.value=l)},{immediate:!0});function _(){let e=Number.isFinite(g.value)?Math.trunc(g.value):s;h(`apply`,Math.min(c,Math.max(s,e))),h(`close`)}return(e,l)=>((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(f),{open:u.isOpen,"aria-label":(0,t.unref)(p)(`dialogs.setNumberingValue.title`),style:{minWidth:`320px`,maxWidth:`420px`,width:`100%`},onClose:l[2]||=t=>e.$emit(`close`),onKeydown:(0,t.withKeys)(_,[`enter`])},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)(`div`,n,(0,t.toDisplayString)((0,t.unref)(p)(`dialogs.setNumberingValue.title`)),1),(0,t.createElementVNode)(`div`,r,[(0,t.createElementVNode)(`label`,i,[(0,t.createElementVNode)(`span`,a,(0,t.toDisplayString)((0,t.unref)(p)(`dialogs.setNumberingValue.valueLabel`)),1),(0,t.withDirectives)((0,t.createElementVNode)(`input`,{"onUpdate:modelValue":l[0]||=e=>g.value=e,class:`field__input`,max:c,min:s,type:`number`},null,512),[[t.vModelText,g.value,void 0,{number:!0}]])])]),(0,t.createElementVNode)(`div`,o,[(0,t.createElementVNode)(`button`,{class:`dialog__btn`,onClick:l[1]||=t=>e.$emit(`close`)},(0,t.toDisplayString)((0,t.unref)(p)(`common.cancel`)),1),(0,t.createElementVNode)(`button`,{class:`dialog__btn dialog__btn--primary`,onClick:_},(0,t.toDisplayString)((0,t.unref)(p)(`common.apply`)),1)])]),_:1},8,[`open`,`aria-label`]))}}),d=e.g(u,[[`__scopeId`,`data-v-7e01a524`]]);exports.default=d;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { S as e, a as t, g as n } from "./folio-ui-ctJdVP-s.js";
|
|
2
|
+
import { createBlock as r, createElementVNode as i, defineComponent as a, openBlock as o, ref as s, toDisplayString as c, unref as l, vModelText as u, watch as d, withCtx as f, withDirectives as p, withKeys as m } from "vue";
|
|
3
|
+
// src/components/dialogs/SetNumberingValueDialog.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
+
var h = { class: "dialog__header" }, g = { class: "dialog__body" }, _ = { class: "field" }, v = { class: "field__label" }, y = { class: "dialog__footer" }, b = 0, x = 32767, S = 1, C = /*#__PURE__*/ n(/* @__PURE__ */ a({
|
|
5
|
+
__name: "SetNumberingValueDialog",
|
|
6
|
+
props: { isOpen: { type: Boolean } },
|
|
7
|
+
emits: ["close", "apply"],
|
|
8
|
+
setup(n, { emit: a }) {
|
|
9
|
+
let { Dialog: C } = t(), { t: w } = e(), T = n, E = a, D = s(S);
|
|
10
|
+
d(() => T.isOpen, (e) => {
|
|
11
|
+
e && (D.value = S);
|
|
12
|
+
}, { immediate: !0 });
|
|
13
|
+
function O() {
|
|
14
|
+
let e = Number.isFinite(D.value) ? Math.trunc(D.value) : b;
|
|
15
|
+
E("apply", Math.min(x, Math.max(b, e))), E("close");
|
|
16
|
+
}
|
|
17
|
+
return (e, t) => (o(), r(l(C), {
|
|
18
|
+
open: n.isOpen,
|
|
19
|
+
"aria-label": l(w)("dialogs.setNumberingValue.title"),
|
|
20
|
+
style: {
|
|
21
|
+
minWidth: "320px",
|
|
22
|
+
maxWidth: "420px",
|
|
23
|
+
width: "100%"
|
|
24
|
+
},
|
|
25
|
+
onClose: t[2] ||= (t) => e.$emit("close"),
|
|
26
|
+
onKeydown: m(O, ["enter"])
|
|
27
|
+
}, {
|
|
28
|
+
default: f(() => [
|
|
29
|
+
i("div", h, c(l(w)("dialogs.setNumberingValue.title")), 1),
|
|
30
|
+
i("div", g, [i("label", _, [i("span", v, c(l(w)("dialogs.setNumberingValue.valueLabel")), 1), p(i("input", {
|
|
31
|
+
"onUpdate:modelValue": t[0] ||= (e) => D.value = e,
|
|
32
|
+
class: "field__input",
|
|
33
|
+
max: x,
|
|
34
|
+
min: b,
|
|
35
|
+
type: "number"
|
|
36
|
+
}, null, 512), [[
|
|
37
|
+
u,
|
|
38
|
+
D.value,
|
|
39
|
+
void 0,
|
|
40
|
+
{ number: !0 }
|
|
41
|
+
]])])]),
|
|
42
|
+
i("div", y, [i("button", {
|
|
43
|
+
class: "dialog__btn",
|
|
44
|
+
onClick: t[1] ||= (t) => e.$emit("close")
|
|
45
|
+
}, c(l(w)("common.cancel")), 1), i("button", {
|
|
46
|
+
class: "dialog__btn dialog__btn--primary",
|
|
47
|
+
onClick: O
|
|
48
|
+
}, c(l(w)("common.apply")), 1)])
|
|
49
|
+
]),
|
|
50
|
+
_: 1
|
|
51
|
+
}, 8, ["open", "aria-label"]));
|
|
52
|
+
}
|
|
53
|
+
}), [["__scopeId", "data-v-7e01a524"]]);
|
|
54
|
+
export { C as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./folio-ui-u7h3WXUO.cjs");let t=require("vue"),n=require("@stll/folio-core/utils/borderCss");var r=e=>({style:`single`,size:4,color:{rgb:e}}),i=[{id:`TableNormal`,name:`Normal Table`,look:{firstRow:!1,lastRow:!1,noHBand:!0,noVBand:!0}},{id:`TableGrid`,name:`Table Grid`,tableBorders:{top:r(`000000`),bottom:r(`000000`),left:r(`000000`),right:r(`000000`),insideH:r(`000000`),insideV:r(`000000`)},look:{firstRow:!1,lastRow:!1,noHBand:!0,noVBand:!0}},{id:`TableGridLight`,name:`Grid Table Light`,tableBorders:{top:r(`BFBFBF`),bottom:r(`BFBFBF`),left:r(`BFBFBF`),right:r(`BFBFBF`),insideH:r(`BFBFBF`),insideV:r(`BFBFBF`)},look:{firstRow:!0,lastRow:!1,noHBand:!0,noVBand:!0},conditionals:{firstRow:{bold:!0,borders:{bottom:r(`000000`)}}}},{id:`PlainTable1`,name:`Plain Table 1`,tableBorders:{top:r(`BFBFBF`),bottom:r(`BFBFBF`),insideH:r(`BFBFBF`)},look:{firstRow:!0,lastRow:!1,noHBand:!0,noVBand:!0},conditionals:{firstRow:{bold:!0}}},{id:`PlainTable2`,name:`Plain Table 2`,look:{firstRow:!0,lastRow:!1,noHBand:!1,noVBand:!0},conditionals:{firstRow:{bold:!0,borders:{bottom:r(`7F7F7F`)}},band1Horz:{backgroundColor:`#F2F2F2`}}},{id:`PlainTable3`,name:`Plain Table 3`,look:{firstRow:!0,lastRow:!1,noHBand:!1,noVBand:!0},conditionals:{firstRow:{bold:!0,color:`#FFFFFF`,backgroundColor:`#A5A5A5`},band1Horz:{backgroundColor:`#E7E7E7`}}},{id:`PlainTable4`,name:`Plain Table 4`,look:{firstRow:!0,lastRow:!1,noHBand:!1,noVBand:!0},conditionals:{firstRow:{bold:!0,color:`#FFFFFF`,backgroundColor:`#000000`},band1Horz:{backgroundColor:`#F2F2F2`}}},{id:`GridTable1Light-Accent1`,name:`Grid Table 1 Light`,tableBorders:{top:r(`B4C6E7`),bottom:r(`B4C6E7`),left:r(`B4C6E7`),right:r(`B4C6E7`),insideH:r(`B4C6E7`),insideV:r(`B4C6E7`)},look:{firstRow:!0,lastRow:!1,noHBand:!0,noVBand:!0},conditionals:{firstRow:{bold:!0,borders:{bottom:r(`4472C4`)}}}},{id:`GridTable4-Accent1`,name:`Grid Table 4 Accent 1`,tableBorders:{top:r(`4472C4`),bottom:r(`4472C4`),left:r(`4472C4`),right:r(`4472C4`),insideH:r(`4472C4`),insideV:r(`4472C4`)},look:{firstRow:!0,lastRow:!1,noHBand:!1,noVBand:!0},conditionals:{firstRow:{bold:!0,color:`#FFFFFF`,backgroundColor:`#4472C4`},band1Horz:{backgroundColor:`#D6E4F0`}}},{id:`GridTable5Dark-Accent1`,name:`Grid Table 5 Dark`,tableBorders:{top:r(`FFFFFF`),bottom:r(`FFFFFF`),left:r(`FFFFFF`),right:r(`FFFFFF`),insideH:r(`FFFFFF`),insideV:r(`FFFFFF`)},look:{firstRow:!0,lastRow:!1,noHBand:!1,noVBand:!0},conditionals:{firstRow:{bold:!0,color:`#FFFFFF`,backgroundColor:`#4472C4`},band1Horz:{backgroundColor:`#D6E4F0`},band2Horz:{backgroundColor:`#B4C6E7`}}},{id:`ListTable3-Accent2`,name:`List Table 3 Accent 2`,tableBorders:{top:r(`ED7D31`),bottom:r(`ED7D31`)},look:{firstRow:!0,lastRow:!1,noHBand:!1,noVBand:!0},conditionals:{firstRow:{bold:!0,color:`#FFFFFF`,backgroundColor:`#ED7D31`},band1Horz:{backgroundColor:`#FBE4D5`}}},{id:`ListTable4-Accent3`,name:`List Table 4 Accent 3`,tableBorders:{top:r(`A5A5A5`),bottom:r(`A5A5A5`),insideH:r(`A5A5A5`)},look:{firstRow:!0,lastRow:!1,noHBand:!1,noVBand:!0},conditionals:{firstRow:{bold:!0,color:`#FFFFFF`,backgroundColor:`#A5A5A5`},band1Horz:{backgroundColor:`#EDEDED`}}},{id:`GridTable4-Accent5`,name:`Grid Table 4 Accent 5`,tableBorders:{top:r(`5B9BD5`),bottom:r(`5B9BD5`),left:r(`5B9BD5`),right:r(`5B9BD5`),insideH:r(`5B9BD5`),insideV:r(`5B9BD5`)},look:{firstRow:!0,lastRow:!1,noHBand:!1,noVBand:!0},conditionals:{firstRow:{bold:!0,color:`#FFFFFF`,backgroundColor:`#5B9BD5`},band1Horz:{backgroundColor:`#DEEAF6`}}},{id:`GridTable4-Accent6`,name:`Grid Table 4 Accent 6`,tableBorders:{top:r(`70AD47`),bottom:r(`70AD47`),left:r(`70AD47`),right:r(`70AD47`),insideH:r(`70AD47`),insideV:r(`70AD47`)},look:{firstRow:!0,lastRow:!1,noHBand:!1,noVBand:!0},conditionals:{firstRow:{bold:!0,color:`#FFFFFF`,backgroundColor:`#70AD47`},band1Horz:{backgroundColor:`#E2EFDA`}}}],a={TableNormal:`table.styles.normalTable`,TableGrid:`table.styles.tableGrid`,TableGridLight:`table.styles.gridTableLight`,PlainTable1:`table.styles.plainTable1`,PlainTable2:`table.styles.plainTable2`,PlainTable3:`table.styles.plainTable3`,PlainTable4:`table.styles.plainTable4`,"GridTable1Light-Accent1":`table.styles.gridTable1Light`,"GridTable4-Accent1":`table.styles.gridTable4Accent1`,"GridTable5Dark-Accent1":`table.styles.gridTable5Dark`,"ListTable3-Accent2":`table.styles.listTable3Accent2`,"ListTable4-Accent3":`table.styles.listTable4Accent3`,"GridTable4-Accent5":`table.styles.gridTable4Accent5`,"GridTable4-Accent6":`table.styles.gridTable4Accent6`},o=4,s=3;function c(e){let t=e?(0,n.cssBorderStyle)(e.style):`none`;return!e||t===`none`?`none`:`${e.size?Math.max(1,Math.round(e.size/8)):1}px ${t} ${e.color?.rgb?`#${e.color.rgb}`:`#000`}`}function l(e,t,n,r){return c(e===void 0?t?n??r:r:e)}function u(e,t=o,n=s){let r=e.look??{},i=e.conditionals??{},a=e.tableBorders,c=[],u=0;for(let e=0;e<t;e++){let o=e===0&&!!r.firstRow,s=e===t-1&&!!r.lastRow,d=r.noHBand!==!0,f;o?f=`firstRow`:s?f=`lastRow`:(d&&(f=u%2==0?`band1Horz`:`band2Horz`),u++);for(let u=0;u<n;u++){let d=f,p=u===0&&!!r.firstCol,m=u===n-1&&!!r.lastCol;o&&p&&i.nwCell?d=`nwCell`:o&&m&&i.neCell?d=`neCell`:s&&p&&i.swCell?d=`swCell`:s&&m&&i.seCell?d=`seCell`:p?d=`firstCol`:m&&(d=`lastCol`);let h=d?i[d]:void 0,g=h?.borders,_={width:`20px`,height:`10px`,boxSizing:`border-box`,backgroundColor:h?.backgroundColor??`transparent`,borderTop:l(g?.top,e>0,a?.insideH,a?.top),borderBottom:l(g?.bottom,e<t-1,a?.insideH,a?.bottom),borderLeft:l(g?.left,u>0,a?.insideV,a?.left),borderRight:l(g?.right,u<n-1,a?.insideV,a?.right)};c.push(_)}}return c}var d={class:`tsg`},f={class:`tsg__grid`},p=[`title`,`onMousedown`],m={class:`tsg__preview`},h={class:`tsg__name`},g=(0,t.defineComponent)({__name:`TableStyleGallery`,props:{currentStyleId:{}},emits:[`apply`],setup(n){let{t:r}=e.S(),o=i;function s(e){let t=a[e.id];return t?r(t):e.name}return(e,r)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,d,[(0,t.createElementVNode)(`div`,f,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)((0,t.unref)(o),r=>((0,t.openBlock)(),(0,t.createElementBlock)(`button`,{key:r.id,class:(0,t.normalizeClass)([`tsg__item`,{"tsg__item--selected":n.currentStyleId===r.id}]),title:s(r),onMousedown:(0,t.withModifiers)(t=>e.$emit(`apply`,r.id),[`prevent`])},[(0,t.createElementVNode)(`div`,m,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)((0,t.unref)(u)(r),(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{key:n,class:`tsg__cell`,style:(0,t.normalizeStyle)(e)},null,4))),128))]),(0,t.createElementVNode)(`span`,h,(0,t.toDisplayString)(s(r)),1)],42,p))),128))])]))}}),_=e.g(g,[[`__scopeId`,`data-v-5db7fd3c`]]),v={class:`fnpd-dialog__header`},y={class:`fnpd-dialog__body`},b={class:`fnpd-fieldset`},x={class:`fnpd-legend`},S={class:`fnpd-row`},ee={class:`fnpd-label`},te={value:`pageBottom`},ne={value:`beneathText`},re={class:`fnpd-row`},ie={class:`fnpd-label`},ae=[`value`],oe={class:`fnpd-row`},se={class:`fnpd-label`},ce={class:`fnpd-row`},C={class:`fnpd-label`},w={value:`continuous`},T={value:`eachSect`},E={value:`eachPage`},D={class:`fnpd-fieldset`},O={class:`fnpd-legend`},k={class:`fnpd-row`},A={class:`fnpd-label`},j={value:`docEnd`},M={value:`sectEnd`},N={class:`fnpd-row`},P={class:`fnpd-label`},F=[`value`],I={class:`fnpd-row`},L={class:`fnpd-label`},R={class:`fnpd-row`},z={class:`fnpd-label`},B={value:`continuous`},V={value:`eachSect`},H={class:`fnpd-dialog__footer`},U=(0,t.defineComponent)({__name:`FootnotePropertiesDialog`,props:{isOpen:{type:Boolean},footnotePr:{},endnotePr:{}},emits:[`close`,`apply`],setup(n,{emit:r}){let{t:i}=e.S(),{Dialog:a}=e.a(),o=n,s=r,c=(0,t.computed)(()=>[{value:`decimal`,label:i(`dialogs.footnoteProperties.formats.decimal`)},{value:`lowerLetter`,label:i(`dialogs.footnoteProperties.formats.lowerAlpha`)},{value:`upperLetter`,label:i(`dialogs.footnoteProperties.formats.upperAlpha`)},{value:`lowerRoman`,label:i(`dialogs.footnoteProperties.formats.lowerRoman`)},{value:`upperRoman`,label:i(`dialogs.footnoteProperties.formats.upperRoman`)},{value:`chicago`,label:i(`dialogs.footnoteProperties.formats.symbols`)}]),l=(0,t.ref)(`pageBottom`),u=(0,t.ref)(`decimal`),d=(0,t.ref)(1),f=(0,t.ref)(`continuous`),p=(0,t.ref)(`docEnd`),m=(0,t.ref)(`lowerRoman`),h=(0,t.ref)(1),g=(0,t.ref)(`continuous`);(0,t.watch)(()=>o.isOpen,e=>{e&&(l.value=o.footnotePr?.position??`pageBottom`,u.value=o.footnotePr?.numFmt??`decimal`,d.value=o.footnotePr?.numStart??1,f.value=o.footnotePr?.numRestart??`continuous`,p.value=o.endnotePr?.position??`docEnd`,m.value=o.endnotePr?.numFmt??`lowerRoman`,h.value=o.endnotePr?.numStart??1,g.value=o.endnotePr?.numRestart??`continuous`)});function _(){s(`apply`,{position:l.value,numFmt:u.value,numStart:d.value,numRestart:f.value},{position:p.value,numFmt:m.value,numStart:h.value,numRestart:g.value}),s(`close`)}return(e,r)=>((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(a),{open:n.isOpen,"aria-label":(0,t.unref)(i)(`dialogs.footnoteProperties.title`),style:{width:`440px`,maxWidth:`90vw`},onClose:r[9]||=t=>e.$emit(`close`)},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)(`div`,v,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.footnoteProperties.title`)),1),(0,t.createElementVNode)(`div`,y,[(0,t.createElementVNode)(`fieldset`,b,[(0,t.createElementVNode)(`legend`,x,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.footnoteProperties.footnotes`)),1),(0,t.createElementVNode)(`div`,S,[(0,t.createElementVNode)(`label`,ee,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.footnoteProperties.position`)),1),(0,t.withDirectives)((0,t.createElementVNode)(`select`,{"onUpdate:modelValue":r[0]||=e=>l.value=e,class:`fnpd-select`},[(0,t.createElementVNode)(`option`,te,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.footnoteProperties.footnotePositions.bottomOfPage`)),1),(0,t.createElementVNode)(`option`,ne,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.footnoteProperties.footnotePositions.belowText`)),1)],512),[[t.vModelSelect,l.value]])]),(0,t.createElementVNode)(`div`,re,[(0,t.createElementVNode)(`label`,ie,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.footnoteProperties.numberFormat`)),1),(0,t.withDirectives)((0,t.createElementVNode)(`select`,{"onUpdate:modelValue":r[1]||=e=>u.value=e,class:`fnpd-select`},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(c.value,e=>((0,t.openBlock)(),(0,t.createElementBlock)(`option`,{key:e.value,value:e.value},(0,t.toDisplayString)(e.label),9,ae))),128))],512),[[t.vModelSelect,u.value]])]),(0,t.createElementVNode)(`div`,oe,[(0,t.createElementVNode)(`label`,se,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.footnoteProperties.startAt`)),1),(0,t.withDirectives)((0,t.createElementVNode)(`input`,{"onUpdate:modelValue":r[2]||=e=>d.value=e,type:`number`,class:`fnpd-input`,min:`1`},null,512),[[t.vModelText,d.value,void 0,{number:!0}]])]),(0,t.createElementVNode)(`div`,ce,[(0,t.createElementVNode)(`label`,C,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.footnoteProperties.numbering`)),1),(0,t.withDirectives)((0,t.createElementVNode)(`select`,{"onUpdate:modelValue":r[3]||=e=>f.value=e,class:`fnpd-select`},[(0,t.createElementVNode)(`option`,w,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.footnoteProperties.numberingOptions.continuous`)),1),(0,t.createElementVNode)(`option`,T,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.footnoteProperties.numberingOptions.restartSection`)),1),(0,t.createElementVNode)(`option`,E,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.footnoteProperties.numberingOptions.restartPage`)),1)],512),[[t.vModelSelect,f.value]])])]),(0,t.createElementVNode)(`fieldset`,D,[(0,t.createElementVNode)(`legend`,O,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.footnoteProperties.endnotes`)),1),(0,t.createElementVNode)(`div`,k,[(0,t.createElementVNode)(`label`,A,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.footnoteProperties.position`)),1),(0,t.withDirectives)((0,t.createElementVNode)(`select`,{"onUpdate:modelValue":r[4]||=e=>p.value=e,class:`fnpd-select`},[(0,t.createElementVNode)(`option`,j,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.footnoteProperties.endnotePositions.endOfDocument`)),1),(0,t.createElementVNode)(`option`,M,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.footnoteProperties.endnotePositions.endOfSection`)),1)],512),[[t.vModelSelect,p.value]])]),(0,t.createElementVNode)(`div`,N,[(0,t.createElementVNode)(`label`,P,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.footnoteProperties.numberFormat`)),1),(0,t.withDirectives)((0,t.createElementVNode)(`select`,{"onUpdate:modelValue":r[5]||=e=>m.value=e,class:`fnpd-select`},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(c.value,e=>((0,t.openBlock)(),(0,t.createElementBlock)(`option`,{key:e.value,value:e.value},(0,t.toDisplayString)(e.label),9,F))),128))],512),[[t.vModelSelect,m.value]])]),(0,t.createElementVNode)(`div`,I,[(0,t.createElementVNode)(`label`,L,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.footnoteProperties.startAt`)),1),(0,t.withDirectives)((0,t.createElementVNode)(`input`,{"onUpdate:modelValue":r[6]||=e=>h.value=e,type:`number`,class:`fnpd-input`,min:`1`},null,512),[[t.vModelText,h.value,void 0,{number:!0}]])]),(0,t.createElementVNode)(`div`,R,[(0,t.createElementVNode)(`label`,z,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.footnoteProperties.numbering`)),1),(0,t.withDirectives)((0,t.createElementVNode)(`select`,{"onUpdate:modelValue":r[7]||=e=>g.value=e,class:`fnpd-select`},[(0,t.createElementVNode)(`option`,B,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.footnoteProperties.numberingOptions.continuous`)),1),(0,t.createElementVNode)(`option`,V,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.footnoteProperties.numberingOptions.restartSection`)),1)],512),[[t.vModelSelect,g.value]])])])]),(0,t.createElementVNode)(`div`,H,[(0,t.createElementVNode)(`button`,{class:`fnpd-btn`,onClick:r[8]||=t=>e.$emit(`close`)},(0,t.toDisplayString)((0,t.unref)(i)(`common.cancel`)),1),(0,t.createElementVNode)(`button`,{class:`fnpd-btn fnpd-btn--primary`,onClick:_},(0,t.toDisplayString)((0,t.unref)(i)(`common.apply`)),1)])]),_:1},8,[`open`,`aria-label`]))}}),W=e.g(U,[[`__scopeId`,`data-v-93b3bef4`]]),G={class:`dialog__body`},le={class:`field`},ue=[`accept`],de={class:`field`},fe=[`placeholder`],pe={class:`grid`},me={class:`field`},he={class:`field`},ge={class:`dialog__footer`},_e=[`disabled`],ve=(0,t.defineComponent)({__name:`InsertImageDialog`,props:{isOpen:{type:Boolean},accept:{default:`image/png,image/jpeg,image/gif,image/webp`}},emits:[`close`,`insert`],setup(n,{emit:r}){let{Dialog:i}=e.a(),a=n,o=r,s=(0,t.ref)(null),c=(0,t.ref)(``),l=(0,t.ref)(``),u=(0,t.ref)(``);(0,t.watch)(()=>a.isOpen,e=>{e&&(s.value=null,c.value=``,l.value=``,u.value=``)});function d(e){let t=e.target instanceof HTMLInputElement?e.target:null;s.value=t?.files?.[0]??null}function f(){if(!s.value)return;let e=p(l.value),t=p(u.value);o(`insert`,{file:s.value,...c.value.trim()?{alt:c.value.trim()}:{},...e?{width:e}:{},...t?{height:t}:{}}),o(`close`)}function p(e){let t=Number(e);return Number.isFinite(t)&&t>0?t:void 0}return(e,r)=>((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(i),{open:n.isOpen,"aria-label":`Insert Image`,style:{minWidth:`360px`,maxWidth:`520px`,width:`100%`},onClose:r[4]||=t=>e.$emit(`close`)},{default:(0,t.withCtx)(()=>[r[9]||=(0,t.createElementVNode)(`div`,{class:`dialog__header`},`Insert Image`,-1),(0,t.createElementVNode)(`div`,G,[(0,t.createElementVNode)(`label`,le,[r[5]||=(0,t.createElementVNode)(`span`,{class:`field__label`},`Image file`,-1),(0,t.createElementVNode)(`input`,{class:`field__input`,type:`file`,accept:n.accept,onChange:d},null,40,ue)]),(0,t.createElementVNode)(`label`,de,[r[6]||=(0,t.createElementVNode)(`span`,{class:`field__label`},`Alt text`,-1),(0,t.withDirectives)((0,t.createElementVNode)(`input`,{"onUpdate:modelValue":r[0]||=e=>c.value=e,class:`field__input`,placeholder:s.value?.name??``},null,8,fe),[[t.vModelText,c.value]])]),(0,t.createElementVNode)(`div`,pe,[(0,t.createElementVNode)(`label`,me,[r[7]||=(0,t.createElementVNode)(`span`,{class:`field__label`},`Width`,-1),(0,t.withDirectives)((0,t.createElementVNode)(`input`,{"onUpdate:modelValue":r[1]||=e=>l.value=e,class:`field__input`,min:`1`,placeholder:`Auto`,type:`number`},null,512),[[t.vModelText,l.value]])]),(0,t.createElementVNode)(`label`,he,[r[8]||=(0,t.createElementVNode)(`span`,{class:`field__label`},`Height`,-1),(0,t.withDirectives)((0,t.createElementVNode)(`input`,{"onUpdate:modelValue":r[2]||=e=>u.value=e,class:`field__input`,min:`1`,placeholder:`Auto`,type:`number`},null,512),[[t.vModelText,u.value]])])])]),(0,t.createElementVNode)(`div`,ge,[(0,t.createElementVNode)(`button`,{class:`dialog__btn`,onClick:r[3]||=t=>e.$emit(`close`)},`Cancel`),(0,t.createElementVNode)(`button`,{class:`dialog__btn dialog__btn--primary`,disabled:!s.value,onClick:f},` Insert `,8,_e)])]),_:1},8,[`open`]))}}),ye=e.g(ve,[[`__scopeId`,`data-v-bb3a51b6`]]),be={class:`ipd-dialog__header`},xe={class:`ipd-dialog__body`},Se={class:`ipd-fieldset`},Ce={class:`ipd-legend`},we={class:`ipd-row`},Te={value:`align`},Ee={value:`offset`},De={key:0,class:`ipd-row`},Oe={class:`ipd-label`},ke={value:`left`},Ae={value:`center`},je={value:`right`},Me={key:1,class:`ipd-row`},Ne={class:`ipd-label`},Pe={class:`ipd-row`},Fe={class:`ipd-label`},Ie={value:`page`},Le={value:`column`},Re={value:`margin`},ze={value:`character`},Be={class:`ipd-fieldset`},Ve={class:`ipd-legend`},He={class:`ipd-row`},Ue={value:`align`},We={value:`offset`},Ge={key:0,class:`ipd-row`},Ke={class:`ipd-label`},qe={value:`top`},Je={value:`center`},Ye={value:`bottom`},Xe={key:1,class:`ipd-row`},Ze={class:`ipd-label`},Qe={class:`ipd-row`},$e={class:`ipd-label`},et={value:`page`},tt={value:`margin`},nt={value:`paragraph`},rt={value:`line`},it={class:`ipd-fieldset`},at={class:`ipd-row`},ot={class:`ipd-label`},st={class:`ipd-label`,style:{width:`60px`}},ct={class:`ipd-row`},lt={class:`ipd-label`},ut={class:`ipd-label`,style:{width:`60px`}},dt={class:`ipd-dialog__footer`},ft=(0,t.defineComponent)({__name:`ImagePositionDialog`,props:{isOpen:{type:Boolean},currentData:{}},emits:[`close`,`apply`],setup(n,{emit:r}){let{t:i}=e.S(),{Dialog:a}=e.a(),o=n,s=r,c=(0,t.ref)(`align`),l=(0,t.ref)(`left`),u=(0,t.ref)(0),d=(0,t.ref)(`column`),f=(0,t.ref)(`align`),p=(0,t.ref)(`top`),m=(0,t.ref)(0),h=(0,t.ref)(`paragraph`),g=(0,t.ref)(0),_=(0,t.ref)(0),v=(0,t.ref)(0),y=(0,t.ref)(0);(0,t.watch)(()=>o.isOpen,e=>{if(!e)return;let t=o.currentData;t?.horizontal?.align?(c.value=`align`,l.value=t.horizontal.align):t?.horizontal?.posOffset!=null&&(c.value=`offset`,u.value=t.horizontal.posOffset),d.value=t?.horizontal?.relativeTo??`column`,t?.vertical?.align?(f.value=`align`,p.value=t.vertical.align):t?.vertical?.posOffset!=null&&(f.value=`offset`,m.value=t.vertical.posOffset),h.value=t?.vertical?.relativeTo??`paragraph`,g.value=t?.distTop??0,_.value=t?.distBottom??0,v.value=t?.distLeft??0,y.value=t?.distRight??0});function b(){let e={horizontal:{relativeTo:d.value,...c.value===`align`?{align:l.value}:{posOffset:u.value}},vertical:{relativeTo:h.value,...f.value===`align`?{align:p.value}:{posOffset:m.value}},distTop:g.value,distBottom:_.value,distLeft:v.value,distRight:y.value};s(`apply`,e),s(`close`)}return(e,r)=>((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(a),{open:n.isOpen,"aria-label":(0,t.unref)(i)(`dialogs.imagePosition.title`),style:{width:`420px`,maxWidth:`90vw`},onClose:r[13]||=t=>e.$emit(`close`)},{default:(0,t.withCtx)(()=>[(0,t.createElementVNode)(`div`,be,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.imagePosition.title`)),1),(0,t.createElementVNode)(`div`,xe,[(0,t.createElementVNode)(`fieldset`,Se,[(0,t.createElementVNode)(`legend`,Ce,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.imagePosition.horizontal`)),1),(0,t.createElementVNode)(`div`,we,[r[14]||=(0,t.createElementVNode)(`label`,{class:`ipd-label`},`Mode`,-1),(0,t.withDirectives)((0,t.createElementVNode)(`select`,{"onUpdate:modelValue":r[0]||=e=>c.value=e,class:`ipd-select`},[(0,t.createElementVNode)(`option`,Te,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.imagePosition.alignment`)),1),(0,t.createElementVNode)(`option`,Ee,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.imagePosition.offset`)),1)],512),[[t.vModelSelect,c.value]])]),c.value===`align`?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,De,[(0,t.createElementVNode)(`label`,Oe,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.imagePosition.align`)),1),(0,t.withDirectives)((0,t.createElementVNode)(`select`,{"onUpdate:modelValue":r[1]||=e=>l.value=e,class:`ipd-select`},[(0,t.createElementVNode)(`option`,ke,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.imagePosition.alignOptions.left`)),1),(0,t.createElementVNode)(`option`,Ae,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.imagePosition.alignOptions.center`)),1),(0,t.createElementVNode)(`option`,je,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.imagePosition.alignOptions.right`)),1)],512),[[t.vModelSelect,l.value]])])):((0,t.openBlock)(),(0,t.createElementBlock)(`div`,Me,[(0,t.createElementVNode)(`label`,Ne,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.imagePosition.offsetPx`)),1),(0,t.withDirectives)((0,t.createElementVNode)(`input`,{"onUpdate:modelValue":r[2]||=e=>u.value=e,type:`number`,class:`ipd-input`},null,512),[[t.vModelText,u.value,void 0,{number:!0}]])])),(0,t.createElementVNode)(`div`,Pe,[(0,t.createElementVNode)(`label`,Fe,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.imagePosition.relativeTo`)),1),(0,t.withDirectives)((0,t.createElementVNode)(`select`,{"onUpdate:modelValue":r[3]||=e=>d.value=e,class:`ipd-select`},[(0,t.createElementVNode)(`option`,Ie,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.imagePosition.relativeOptions.page`)),1),(0,t.createElementVNode)(`option`,Le,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.imagePosition.relativeOptions.column`)),1),(0,t.createElementVNode)(`option`,Re,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.imagePosition.relativeOptions.margin`)),1),(0,t.createElementVNode)(`option`,ze,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.imagePosition.relativeOptions.character`)),1)],512),[[t.vModelSelect,d.value]])])]),(0,t.createElementVNode)(`fieldset`,Be,[(0,t.createElementVNode)(`legend`,Ve,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.imagePosition.vertical`)),1),(0,t.createElementVNode)(`div`,He,[r[15]||=(0,t.createElementVNode)(`label`,{class:`ipd-label`},`Mode`,-1),(0,t.withDirectives)((0,t.createElementVNode)(`select`,{"onUpdate:modelValue":r[4]||=e=>f.value=e,class:`ipd-select`},[(0,t.createElementVNode)(`option`,Ue,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.imagePosition.alignment`)),1),(0,t.createElementVNode)(`option`,We,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.imagePosition.offset`)),1)],512),[[t.vModelSelect,f.value]])]),f.value===`align`?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,Ge,[(0,t.createElementVNode)(`label`,Ke,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.imagePosition.align`)),1),(0,t.withDirectives)((0,t.createElementVNode)(`select`,{"onUpdate:modelValue":r[5]||=e=>p.value=e,class:`ipd-select`},[(0,t.createElementVNode)(`option`,qe,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.imagePosition.alignOptions.top`)),1),(0,t.createElementVNode)(`option`,Je,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.imagePosition.alignOptions.center`)),1),(0,t.createElementVNode)(`option`,Ye,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.imagePosition.alignOptions.bottom`)),1)],512),[[t.vModelSelect,p.value]])])):((0,t.openBlock)(),(0,t.createElementBlock)(`div`,Xe,[(0,t.createElementVNode)(`label`,Ze,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.imagePosition.offsetPx`)),1),(0,t.withDirectives)((0,t.createElementVNode)(`input`,{"onUpdate:modelValue":r[6]||=e=>m.value=e,type:`number`,class:`ipd-input`},null,512),[[t.vModelText,m.value,void 0,{number:!0}]])])),(0,t.createElementVNode)(`div`,Qe,[(0,t.createElementVNode)(`label`,$e,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.imagePosition.relativeTo`)),1),(0,t.withDirectives)((0,t.createElementVNode)(`select`,{"onUpdate:modelValue":r[7]||=e=>h.value=e,class:`ipd-select`},[(0,t.createElementVNode)(`option`,et,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.imagePosition.relativeOptions.page`)),1),(0,t.createElementVNode)(`option`,tt,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.imagePosition.relativeOptions.margin`)),1),(0,t.createElementVNode)(`option`,nt,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.imagePosition.relativeOptions.paragraph`)),1),(0,t.createElementVNode)(`option`,rt,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.imagePosition.relativeOptions.line`)),1)],512),[[t.vModelSelect,h.value]])])]),(0,t.createElementVNode)(`fieldset`,it,[r[16]||=(0,t.createElementVNode)(`legend`,{class:`ipd-legend`},`Distance from text (px)`,-1),(0,t.createElementVNode)(`div`,at,[(0,t.createElementVNode)(`label`,ot,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.imagePosition.alignOptions.top`)),1),(0,t.withDirectives)((0,t.createElementVNode)(`input`,{"onUpdate:modelValue":r[8]||=e=>g.value=e,type:`number`,class:`ipd-input`,min:`0`},null,512),[[t.vModelText,g.value,void 0,{number:!0}]]),(0,t.createElementVNode)(`label`,st,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.imagePosition.alignOptions.bottom`)),1),(0,t.withDirectives)((0,t.createElementVNode)(`input`,{"onUpdate:modelValue":r[9]||=e=>_.value=e,type:`number`,class:`ipd-input`,min:`0`},null,512),[[t.vModelText,_.value,void 0,{number:!0}]])]),(0,t.createElementVNode)(`div`,ct,[(0,t.createElementVNode)(`label`,lt,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.imagePosition.alignOptions.left`)),1),(0,t.withDirectives)((0,t.createElementVNode)(`input`,{"onUpdate:modelValue":r[10]||=e=>v.value=e,type:`number`,class:`ipd-input`,min:`0`},null,512),[[t.vModelText,v.value,void 0,{number:!0}]]),(0,t.createElementVNode)(`label`,ut,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.imagePosition.alignOptions.right`)),1),(0,t.withDirectives)((0,t.createElementVNode)(`input`,{"onUpdate:modelValue":r[11]||=e=>y.value=e,type:`number`,class:`ipd-input`,min:`0`},null,512),[[t.vModelText,y.value,void 0,{number:!0}]])])])]),(0,t.createElementVNode)(`div`,dt,[(0,t.createElementVNode)(`button`,{class:`ipd-btn`,onClick:r[12]||=t=>e.$emit(`close`)},(0,t.toDisplayString)((0,t.unref)(i)(`common.cancel`)),1),(0,t.createElementVNode)(`button`,{class:`ipd-btn ipd-btn--primary`,onClick:b},(0,t.toDisplayString)((0,t.unref)(i)(`common.apply`)),1)])]),_:1},8,[`open`,`aria-label`]))}}),pt=e.g(ft,[[`__scopeId`,`data-v-55f53deb`]]),K=(0,t.reactive)({rows:3,cols:3}),mt={class:`dialog__header`},ht={class:`dialog__title`},gt=[`title`],_t={class:`dialog__body`},vt=[`aria-label`],yt=[`onMouseenter`,`onMousedown`],bt={class:`table-grid__label`},xt={class:`dialog__separator`},St={class:`table-manual`},Ct={class:`table-manual__field`},wt={class:`table-manual__field`},Tt={class:`table-options`},Et={class:`table-options__radio`},Dt={class:`table-options__radio`},Ot={class:`dialog__separator`},kt={class:`dialog__footer`},At=[`disabled`],jt=8,Mt=10,q=1,J=100,Y=1,X=20,Nt=(0,t.defineComponent)({__name:`InsertTableDialog`,props:{isOpen:{type:Boolean}},emits:[`close`,`insert`],setup(n,{emit:r}){let{t:i}=e.S(),a=n,o=r,s=(0,t.ref)(0),c=(0,t.ref)(0),l=(0,t.ref)(K.rows),u=(0,t.ref)(K.cols),d=(0,t.ref)(`fixed`),f=(0,t.ref)(null);(0,t.watch)(()=>a.isOpen,e=>{e&&(l.value=K.rows,u.value=K.cols,s.value=0,c.value=0)});let p=(0,t.computed)(()=>Number.parseInt(String(l.value),10)),m=(0,t.computed)(()=>Number.parseInt(String(u.value),10)),h=(0,t.computed)(()=>Number.isFinite(p.value)&&p.value>=q&&p.value<=J),g=(0,t.computed)(()=>Number.isFinite(m.value)&&m.value>=Y&&m.value<=X),v=(0,t.computed)(()=>h.value&&g.value);function y(){o(`close`)}function b(e,t){s.value=e,c.value=t,l.value=e,u.value=t}function x(e){e.key===`Escape`?y():e.key===`Enter`&&(e.preventDefault(),S())}function S(){if(!v.value)return;let e=Math.min(Math.max(q,p.value),J),t=Math.min(Math.max(Y,m.value),X);K.rows=e,K.cols=t,o(`insert`,{rows:e,cols:t,autofit:d.value===`autofit`,styleId:f.value}),y()}return(e,r)=>n.isOpen?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{key:0,class:`dialog-overlay`,onMousedown:(0,t.withModifiers)(y,[`self`])},[(0,t.createElementVNode)(`div`,{class:`dialog`,onMousedown:r[7]||=(0,t.withModifiers)(()=>{},[`stop`]),onKeydown:(0,t.withModifiers)(x,[`stop`])},[(0,t.createElementVNode)(`div`,mt,[(0,t.createElementVNode)(`span`,ht,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.insertTable.title`)),1),(0,t.createElementVNode)(`button`,{class:`dialog__close`,title:(0,t.unref)(i)(`common.closeDialog`),onClick:y},` ✕ `,8,gt)]),(0,t.createElementVNode)(`div`,_t,[(0,t.createElementVNode)(`div`,{class:`table-grid`,"aria-label":(0,t.unref)(i)(`dialogs.insertTable.sizeSelector`),onMouseleave:r[0]||=e=>{s.value=0,c.value=0}},[((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(jt,e=>(0,t.createElementVNode)(`div`,{key:e,class:`table-grid__row`},[((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(Mt,n=>(0,t.createElementVNode)(`div`,{key:n,class:(0,t.normalizeClass)([`table-grid__cell`,{highlight:e<=s.value&&n<=c.value}]),onMouseenter:t=>{s.value=e,c.value=n},onMousedown:(0,t.withModifiers)(t=>b(e,n),[`prevent`])},null,42,yt)),64))])),64))],40,vt),(0,t.createElementVNode)(`div`,bt,(0,t.toDisplayString)(s.value>0?(0,t.unref)(i)(`dialogs.insertTable.tableSize`,{cols:c.value,rows:s.value}):(0,t.unref)(i)(`dialogs.insertTable.hoverToSelect`)),1),(0,t.createElementVNode)(`div`,xt,[(0,t.createElementVNode)(`span`,null,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.insertTable.orSpecifySize`)),1)]),(0,t.createElementVNode)(`div`,St,[(0,t.createElementVNode)(`label`,Ct,[(0,t.createElementVNode)(`span`,null,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.insertTable.rowsLabel`)),1),(0,t.withDirectives)((0,t.createElementVNode)(`input`,{"onUpdate:modelValue":r[1]||=e=>l.value=e,type:`number`,min:q,max:J,class:(0,t.normalizeClass)([`table-manual__input`,{"table-manual__input--invalid":!h.value}])},null,2),[[t.vModelText,l.value]])]),(0,t.createElementVNode)(`label`,wt,[(0,t.createElementVNode)(`span`,null,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.insertTable.columnsLabel`)),1),(0,t.withDirectives)((0,t.createElementVNode)(`input`,{"onUpdate:modelValue":r[2]||=e=>u.value=e,type:`number`,min:Y,max:X,class:(0,t.normalizeClass)([`table-manual__input`,{"table-manual__input--invalid":!g.value}])},null,2),[[t.vModelText,u.value]])])]),(0,t.createElementVNode)(`div`,{class:(0,t.normalizeClass)([`table-manual__hint`,{"table-manual__hint--error":!v.value}])},(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.insertTable.validationHint`,{minRows:q,maxRows:J,minCols:Y,maxCols:X})),3),(0,t.createElementVNode)(`fieldset`,Tt,[(0,t.createElementVNode)(`legend`,null,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.insertTable.columnWidthLabel`)),1),(0,t.createElementVNode)(`label`,Et,[(0,t.withDirectives)((0,t.createElementVNode)(`input`,{type:`radio`,value:`fixed`,"onUpdate:modelValue":r[3]||=e=>d.value=e},null,512),[[t.vModelRadio,d.value]]),(0,t.createElementVNode)(`span`,null,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.insertTable.fixedWidth`)),1)]),(0,t.createElementVNode)(`label`,Dt,[(0,t.withDirectives)((0,t.createElementVNode)(`input`,{type:`radio`,value:`autofit`,"onUpdate:modelValue":r[4]||=e=>d.value=e},null,512),[[t.vModelRadio,d.value]]),(0,t.createElementVNode)(`span`,null,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.insertTable.autofit`)),1)])]),(0,t.createElementVNode)(`div`,Ot,[(0,t.createElementVNode)(`span`,null,(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.insertTable.style`)),1)]),(0,t.createVNode)(_,{"current-style-id":f.value,onApply:r[5]||=e=>f.value=e},null,8,[`current-style-id`])]),(0,t.createElementVNode)(`div`,kt,[(0,t.createElementVNode)(`button`,{class:`dialog__btn`,onMousedown:(0,t.withModifiers)(y,[`prevent`])},(0,t.toDisplayString)((0,t.unref)(i)(`common.cancel`)),33),(0,t.createElementVNode)(`button`,{class:`dialog__btn dialog__btn--primary`,disabled:!v.value,onMousedown:r[6]||=(0,t.withModifiers)(e=>S(),[`prevent`])},(0,t.toDisplayString)((0,t.unref)(i)(`dialogs.insertTable.insertButton`)),41,At)])],32)],32)):(0,t.createCommentVNode)(``,!0)}}),Pt=e.g(Nt,[[`__scopeId`,`data-v-5aff406f`]]),Ft={class:`dialog__body`},It={class:`options`},Lt=[`value`],Rt={class:`option__body`},zt={class:`option__label`},Bt={class:`option__description`},Vt={class:`dialog__footer`},Ht=(0,t.defineComponent)({__name:`PasteSpecialDialog`,props:{isOpen:{type:Boolean},defaultMode:{default:`plainText`}},emits:[`close`,`paste`],setup(n,{emit:r}){let{Dialog:i}=e.a(),a=[{value:`keepFormatting`,label:`Keep source formatting`,description:`Preserve styles, links, and inline formatting from the clipboard.`},{value:`mergeFormatting`,label:`Merge formatting`,description:`Keep useful inline formatting while matching the destination paragraph.`},{value:`plainText`,label:`Unformatted text`,description:`Paste text only and use the destination formatting.`}],o=n,s=r,c=(0,t.ref)(o.defaultMode);(0,t.watch)(()=>o.isOpen,e=>{e&&(c.value=o.defaultMode)});function l(){s(`paste`,c.value),s(`close`)}return(e,r)=>((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(i),{open:n.isOpen,"aria-label":`Paste Special`,style:{minWidth:`360px`,maxWidth:`520px`,width:`100%`},onClose:r[2]||=t=>e.$emit(`close`)},{default:(0,t.withCtx)(()=>[r[4]||=(0,t.createElementVNode)(`div`,{class:`dialog__header`},`Paste Special`,-1),(0,t.createElementVNode)(`div`,Ft,[(0,t.createElementVNode)(`fieldset`,It,[r[3]||=(0,t.createElementVNode)(`legend`,{class:`options__legend`},`Paste mode`,-1),((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(a,e=>(0,t.createElementVNode)(`label`,{key:e.value,class:`option`},[(0,t.withDirectives)((0,t.createElementVNode)(`input`,{"onUpdate:modelValue":r[0]||=e=>c.value=e,type:`radio`,value:e.value},null,8,Lt),[[t.vModelRadio,c.value]]),(0,t.createElementVNode)(`span`,Rt,[(0,t.createElementVNode)(`span`,zt,(0,t.toDisplayString)(e.label),1),(0,t.createElementVNode)(`span`,Bt,(0,t.toDisplayString)(e.description),1)])])),64))])]),(0,t.createElementVNode)(`div`,Vt,[(0,t.createElementVNode)(`button`,{class:`dialog__btn`,onClick:r[1]||=t=>e.$emit(`close`)},`Cancel`),(0,t.createElementVNode)(`button`,{class:`dialog__btn dialog__btn--primary`,onClick:l},` Paste `)])]),_:1},8,[`open`]))}}),Z=e.g(Ht,[[`__scopeId`,`data-v-b3987471`]]),Ut={class:`dialog__body`},Wt={class:`grid`},Gt={class:`field`},Kt={class:`field`},qt={class:`check`},Jt={class:`dialog__footer`},Yt=[`disabled`],Q=1,$=63,Xt=(0,t.defineComponent)({__name:`SplitCellDialog`,props:{isOpen:{type:Boolean},defaultRows:{default:1},defaultColumns:{default:2}},emits:[`close`,`split`],setup(n,{emit:r}){let{Dialog:i}=e.a(),a=n,o=r,s=(0,t.ref)(a.defaultRows),c=(0,t.ref)(a.defaultColumns),l=(0,t.ref)(!1),u=(0,t.computed)(()=>m(s.value)),d=(0,t.computed)(()=>m(c.value)),f=(0,t.computed)(()=>u.value>1||d.value>1);(0,t.watch)(()=>a.isOpen,e=>{e&&(s.value=a.defaultRows,c.value=a.defaultColumns,l.value=!1)});function p(){f.value&&(o(`split`,{rows:u.value,columns:d.value,mergeBeforeSplit:l.value}),o(`close`))}function m(e){return Math.min($,Math.max(Q,Math.trunc(e)))}return(e,r)=>((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(i),{open:n.isOpen,"aria-label":`Split Cell`,style:{minWidth:`360px`,maxWidth:`520px`,width:`100%`},onClose:r[4]||=t=>e.$emit(`close`),onKeydown:(0,t.withKeys)(p,[`enter`])},{default:(0,t.withCtx)(()=>[r[8]||=(0,t.createElementVNode)(`div`,{class:`dialog__header`},`Split Cell`,-1),(0,t.createElementVNode)(`div`,Ut,[(0,t.createElementVNode)(`div`,Wt,[(0,t.createElementVNode)(`label`,Gt,[r[5]||=(0,t.createElementVNode)(`span`,{class:`field__label`},`Columns`,-1),(0,t.withDirectives)((0,t.createElementVNode)(`input`,{"onUpdate:modelValue":r[0]||=e=>c.value=e,class:`field__input`,max:$,min:Q,type:`number`},null,512),[[t.vModelText,c.value,void 0,{number:!0}]])]),(0,t.createElementVNode)(`label`,Kt,[r[6]||=(0,t.createElementVNode)(`span`,{class:`field__label`},`Rows`,-1),(0,t.withDirectives)((0,t.createElementVNode)(`input`,{"onUpdate:modelValue":r[1]||=e=>s.value=e,class:`field__input`,max:$,min:Q,type:`number`},null,512),[[t.vModelText,s.value,void 0,{number:!0}]])])]),(0,t.createElementVNode)(`label`,qt,[(0,t.withDirectives)((0,t.createElementVNode)(`input`,{"onUpdate:modelValue":r[2]||=e=>l.value=e,type:`checkbox`},null,512),[[t.vModelCheckbox,l.value]]),r[7]||=(0,t.createElementVNode)(`span`,null,`Merge selected cells before splitting`,-1)])]),(0,t.createElementVNode)(`div`,Jt,[(0,t.createElementVNode)(`button`,{class:`dialog__btn`,onClick:r[3]||=t=>e.$emit(`close`)},`Cancel`),(0,t.createElementVNode)(`button`,{class:`dialog__btn dialog__btn--primary`,disabled:!f.value,onClick:p},` Split `,8,Yt)])]),_:1},8,[`open`]))}}),Zt=e.g(Xt,[[`__scopeId`,`data-v-022ada6a`]]);Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return ye}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return pt}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return Z}}),Object.defineProperty(exports,"o",{enumerable:!0,get:function(){return W}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return Pt}}),Object.defineProperty(exports,"s",{enumerable:!0,get:function(){return _}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return Zt}});
|