@stll/folio-vue 0.26.2 → 0.26.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/SplitCellDialog-Dge_CE-B.cjs +15 -0
- package/dist/{SplitCellDialog-bNeugz_3.js → SplitCellDialog-Vl4gq22E.js} +395 -407
- package/dist/{StylePicker-DfIQUq6G.js → StylePicker-bQuysXuB.js} +11 -21
- package/dist/{StylePicker-ynX3GzFu.cjs → StylePicker-hnZuzLnq.cjs} +1 -1
- package/dist/components/DocumentOutline.vue.d.ts +2 -2
- package/dist/composables.js +8 -15
- package/dist/dialogs.cjs +1 -1
- package/dist/dialogs.js +1 -1
- package/dist/folio-vue.css +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +39 -64
- package/dist/messages/ar.cjs +1 -1
- package/dist/messages/cs.cjs +1 -1
- package/dist/messages/de.cjs +1 -1
- package/dist/messages/en.cjs +1 -1
- package/dist/messages/es.cjs +1 -1
- package/dist/messages/et.cjs +1 -1
- package/dist/messages/fr.cjs +1 -1
- package/dist/messages/he.cjs +1 -1
- package/dist/messages/hi.cjs +1 -1
- package/dist/messages/hu.cjs +1 -1
- package/dist/messages/lt.cjs +1 -1
- package/dist/messages/lv.cjs +1 -1
- package/dist/messages/pl.cjs +1 -1
- package/dist/messages/pt-BR.cjs +1 -1
- package/dist/messages/sk.cjs +1 -1
- package/dist/messages/tr.cjs +1 -1
- package/dist/messages/zh-CN.cjs +1 -1
- package/dist/rolldown-runtime-5iZMYShA.cjs +1 -0
- package/dist/styles.js +2 -3
- package/dist/ui.cjs +1 -1
- package/dist/ui.js +5 -8
- package/dist/{useZoom-CX0mrPQY.js → useZoom-C_7cmUyk.js} +8 -16
- package/dist/{zIndex-Ei9BbHSW.js → zIndex-FOGfTBdc.js} +1 -2
- package/package.json +5 -5
- package/dist/SplitCellDialog-DfMw2Ev2.cjs +0 -15
- package/dist/rolldown-runtime-CYJQrBu7.cjs +0 -1
|
@@ -7,10 +7,9 @@ import { SYMBOL_CATEGORIES as ie, filterSymbols as B } from "@stll/folio-core/sy
|
|
|
7
7
|
import { TWIPS_PER_INCH as V } from "@stll/folio-core/utils/units";
|
|
8
8
|
import { TABLE_PROPERTY_JUSTIFICATIONS as H, toTablePropertyJustification as U } from "@stll/folio-core/utils/tableOperations";
|
|
9
9
|
import { cssBorderStyle as ae } from "@stll/folio-core/utils/borderCss";
|
|
10
|
-
|
|
11
|
-
var oe = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports);
|
|
12
|
-
|
|
13
|
-
//#region ../../../../../.bun/install/cache/links/@formatjs+fast-memoize@3.1.7-665cb7fbcabcfafa/node_modules/@formatjs/fast-memoize/index.js
|
|
10
|
+
// \0rolldown/runtime.js
|
|
11
|
+
var oe = (e, t) => () => (t || (e((t = { exports: {} }).exports, t, t.exports), e = null), t.exports);
|
|
12
|
+
// ../../../../../.bun/install/cache/links/@formatjs+fast-memoize@3.1.7-665cb7fbcabcfafa/node_modules/@formatjs/fast-memoize/index.js
|
|
14
13
|
function W(e, t) {
|
|
15
14
|
let n = t && t.cache ? t.cache : me, r = t && t.serializer ? t.serializer : K;
|
|
16
15
|
return (t && t.strategy ? t.strategy : G)(e, {
|
|
@@ -103,8 +102,7 @@ function ye(e) {
|
|
|
103
102
|
getDisplayNames: ve(Intl.DisplayNames, e.displayNames)
|
|
104
103
|
};
|
|
105
104
|
}
|
|
106
|
-
|
|
107
|
-
//#region ../../../../../.bun/install/cache/links/react@19.3.1-3b0a5b588981c557/node_modules/react/cjs/react.production.js
|
|
105
|
+
// ../../../../../.bun/install/cache/links/react@19.3.1-3b0a5b588981c557/node_modules/react/cjs/react.production.js
|
|
108
106
|
var be = /* @__PURE__ */ oe(((e) => {
|
|
109
107
|
var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), o = Symbol.for("react.consumer"), s = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), u = Symbol.for("react.memo"), d = Symbol.for("react.lazy"), f = Symbol.for("react.activity"), p = Symbol.for("react.view_transition"), m = Symbol.iterator;
|
|
110
108
|
function h(e) {
|
|
@@ -1334,8 +1332,7 @@ function Ie(e) {
|
|
|
1334
1332
|
}
|
|
1335
1333
|
return t;
|
|
1336
1334
|
}
|
|
1337
|
-
|
|
1338
|
-
//#region ../../../../../.bun/install/cache/links/@formatjs+icu-messageformat-parser@3.5.15-e6b312ad9ffe7252/node_modules/@formatjs/icu-messageformat-parser/index.js
|
|
1335
|
+
// ../../../../../.bun/install/cache/links/@formatjs+icu-messageformat-parser@3.5.15-e6b312ad9ffe7252/node_modules/@formatjs/icu-messageformat-parser/index.js
|
|
1339
1336
|
var Le = /* @__PURE__ */ function(e) {
|
|
1340
1337
|
return e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG", e;
|
|
1341
1338
|
}({});
|
|
@@ -3097,8 +3094,7 @@ function gt(e, t = {}) {
|
|
|
3097
3094
|
}
|
|
3098
3095
|
return t?.captureLocation || ht(n.val), n.val;
|
|
3099
3096
|
}
|
|
3100
|
-
|
|
3101
|
-
//#region ../../../../../.bun/install/cache/links/intl-messageformat@11.2.12-75314eb2d35a9376/node_modules/intl-messageformat/index.js
|
|
3097
|
+
// ../../../../../.bun/install/cache/links/intl-messageformat@11.2.12-75314eb2d35a9376/node_modules/intl-messageformat/index.js
|
|
3102
3098
|
var _t = class extends Error {
|
|
3103
3099
|
constructor(e, t, n) {
|
|
3104
3100
|
super(e), this.code = t, this.originalMessage = n;
|
|
@@ -3152,7 +3148,7 @@ function Ct(e, t, n, r, i, a, o) {
|
|
|
3152
3148
|
let { value: e } = c;
|
|
3153
3149
|
if (!(i && e in i)) throw new bt(e, o);
|
|
3154
3150
|
let l = i[e];
|
|
3155
|
-
if (ze(c))
|
|
3151
|
+
if (ze(c)) l && typeof l != "string" && typeof l != "number" && typeof l != "bigint" || (l = typeof l == "string" || typeof l == "number" || typeof l == "bigint" ? String(l) : ""), s.push({
|
|
3156
3152
|
type: typeof l == "string" ? 0 : 1,
|
|
3157
3153
|
value: l
|
|
3158
3154
|
});
|
|
@@ -3349,8 +3345,7 @@ var Ot = class e {
|
|
|
3349
3345
|
};
|
|
3350
3346
|
}
|
|
3351
3347
|
};
|
|
3352
|
-
|
|
3353
|
-
//#region ../../../../../.bun/install/cache/links/use-intl@4.14.9+c841d34b494ec30a-b3840cd1865c4399/node_modules/use-intl/dist/esm/production/format-message/index.js
|
|
3348
|
+
// ../../../../../.bun/install/cache/links/use-intl@4.14.9+c841d34b494ec30a-7fcdf320da6df777/node_modules/use-intl/dist/esm/production/format-message/index.js
|
|
3354
3349
|
function kt(...[e, t, n, r]) {
|
|
3355
3350
|
if (Array.isArray(t)) throw new q(J.INVALID_MESSAGE, void 0);
|
|
3356
3351
|
if (typeof t == "object") throw new q(J.INSUFFICIENT_PATH, void 0);
|
|
@@ -3407,8 +3402,7 @@ function kt(...[e, t, n, r]) {
|
|
|
3407
3402
|
return (0, Se.isValidElement)(d) || Array.isArray(d) || typeof d == "string" ? d : String(d);
|
|
3408
3403
|
}
|
|
3409
3404
|
kt.raw = !0;
|
|
3410
|
-
|
|
3411
|
-
//#region ../../../../../.bun/install/cache/links/use-intl@4.14.9+c841d34b494ec30a-b3840cd1865c4399/node_modules/use-intl/dist/esm/production/initializeConfig-CHgjheii.js
|
|
3405
|
+
// ../../../../../.bun/install/cache/links/use-intl@4.14.9+c841d34b494ec30a-7fcdf320da6df777/node_modules/use-intl/dist/esm/production/initializeConfig-CHgjheii.js
|
|
3412
3406
|
function At(...e) {
|
|
3413
3407
|
return e.filter(Boolean).join(".");
|
|
3414
3408
|
}
|
|
@@ -3522,11 +3516,8 @@ function Pt(e) {
|
|
|
3522
3516
|
function Ft(e, t) {
|
|
3523
3517
|
return e === t ? void 0 : e.slice((t + ".").length);
|
|
3524
3518
|
}
|
|
3525
|
-
|
|
3526
|
-
|
|
3527
|
-
//#endregion
|
|
3528
|
-
//#region ../../../../../.bun/install/cache/links/use-intl@4.14.9+c841d34b494ec30a-b3840cd1865c4399/node_modules/use-intl/dist/esm/production/core.js
|
|
3529
|
-
function Lt({ _cache: e = ge(), _formatters: t = ye(e), getMessageFallback: n = jt, messages: r, namespace: i, onError: a = Mt, ...o }) {
|
|
3519
|
+
// ../../../../../.bun/install/cache/links/use-intl@4.14.9+c841d34b494ec30a-7fcdf320da6df777/node_modules/use-intl/dist/esm/production/core.js
|
|
3520
|
+
function It({ _cache: e = ge(), _formatters: t = ye(e), getMessageFallback: n = jt, messages: r, namespace: i, onError: a = Mt, ...o }) {
|
|
3530
3521
|
return function({ messages: e, namespace: t, ...n }, r) {
|
|
3531
3522
|
return e = e[r], t = Ft(t, r), Pt({
|
|
3532
3523
|
...n,
|
|
@@ -3543,20 +3534,19 @@ function Lt({ _cache: e = ge(), _formatters: t = ye(e), getMessageFallback: n =
|
|
|
3543
3534
|
namespace: i ? `!.${i}` : "!"
|
|
3544
3535
|
}, "!");
|
|
3545
3536
|
}
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
var Rt = "en", zt = (e) => Lt({
|
|
3537
|
+
// src/i18n/index.ts
|
|
3538
|
+
var Lt = "en", Rt = (e) => It({
|
|
3549
3539
|
locale: e,
|
|
3550
3540
|
messages: R(e),
|
|
3551
3541
|
namespace: "folio"
|
|
3552
|
-
}),
|
|
3553
|
-
y(
|
|
3542
|
+
}), zt = Symbol("folioTranslator"), Bt = n(() => Rt("en")), Vt = (e = "en") => {
|
|
3543
|
+
y(zt, n(() => Rt(E(e))));
|
|
3554
3544
|
}, X = () => {
|
|
3555
|
-
let e = u(
|
|
3545
|
+
let e = u(zt, Bt);
|
|
3556
3546
|
return { t: (t, n) => e.value(t, n) };
|
|
3557
|
-
},
|
|
3558
|
-
e.provide(
|
|
3559
|
-
} },
|
|
3547
|
+
}, Ht = { install(e, t = "en") {
|
|
3548
|
+
e.provide(zt, n(() => Rt(E(t))));
|
|
3549
|
+
} }, Ut = ["disabled"], Wt = "inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50", Gt = /* @__PURE__ */ l({
|
|
3560
3550
|
__name: "Button",
|
|
3561
3551
|
props: {
|
|
3562
3552
|
variant: { default: "default" },
|
|
@@ -3585,7 +3575,7 @@ var Rt = "en", zt = (e) => Lt({
|
|
|
3585
3575
|
xs: "h-7 rounded-md px-2 text-xs",
|
|
3586
3576
|
"icon-xs": "h-7 w-7"
|
|
3587
3577
|
}, o = n(() => [
|
|
3588
|
-
|
|
3578
|
+
Wt,
|
|
3589
3579
|
r[t.variant],
|
|
3590
3580
|
i[t.size],
|
|
3591
3581
|
t.className
|
|
@@ -3595,9 +3585,9 @@ var Rt = "en", zt = (e) => Lt({
|
|
|
3595
3585
|
class: m(o.value),
|
|
3596
3586
|
disabled: e.disabled,
|
|
3597
3587
|
onClick: n[0] ||= (e) => t.$emit("click", e)
|
|
3598
|
-
}, [C(t.$slots, "default")], 10,
|
|
3588
|
+
}, [C(t.$slots, "default")], 10, Ut));
|
|
3599
3589
|
}
|
|
3600
|
-
}),
|
|
3590
|
+
}), Kt = ["checked"], qt = /*@__PURE__*/ l({
|
|
3601
3591
|
__name: "Checkbox",
|
|
3602
3592
|
props: {
|
|
3603
3593
|
checked: { type: Boolean },
|
|
@@ -3614,13 +3604,13 @@ var Rt = "en", zt = (e) => Lt({
|
|
|
3614
3604
|
class: m(["folio-default-checkbox", e.className]),
|
|
3615
3605
|
checked: e.checked,
|
|
3616
3606
|
onChange: r
|
|
3617
|
-
}, null, 42,
|
|
3607
|
+
}, null, 42, Kt));
|
|
3618
3608
|
}
|
|
3619
3609
|
}), Z = (e, t) => {
|
|
3620
3610
|
let n = e.__vccOpts || e;
|
|
3621
3611
|
for (let [e, r] of t) n[e] = r;
|
|
3622
3612
|
return n;
|
|
3623
|
-
},
|
|
3613
|
+
}, Jt = /*#__PURE__*/ Z(qt, [["__scopeId", "data-v-2e4f5470"]]), Yt = {
|
|
3624
3614
|
undo: ["M280-200v-80h284q63 0 109.5-40T720-420q0-60-46.5-100T564-560H312l104 104-56 56-200-200 200-200 56 56-104 104h252q97 0 166.5 63T800-420q0 94-69.5 157T564-200H280Z"],
|
|
3625
3615
|
redo: ["M396-200q-97 0-166.5-63T160-420q0-94 69.5-157T396-640h252L544-744l56-56 200 200-200 200-56-56 104-104H396q-63 0-109.5 40T240-420q0 60 46.5 100T396-280h284v80H396Z"],
|
|
3626
3616
|
print: ["M640-640v-120H320v120h-80v-200h480v200h-80Zm-480 80h640-640Zm560 100q17 0 28.5-11.5T760-500q0-17-11.5-28.5T720-540q-17 0-28.5 11.5T680-500q0 17 11.5 28.5T720-460Zm-80 260v-160H320v160h320Zm80 80H240v-160H80v-240q0-51 35-85.5t85-34.5h560q51 0 85.5 34.5T880-520v240H720v160Zm80-240v-160q0-17-11.5-28.5T760-560H200q-17 0-28.5 11.5T160-520v160h80v-80h480v80h80Z"],
|
|
@@ -3720,7 +3710,7 @@ var Rt = "en", zt = (e) => Lt({
|
|
|
3720
3710
|
format_textdirection_l_to_r: ["M360-360v-200q-66 0-113-47t-47-113q0-66 47-113t113-47h320v80h-80v440h-80v-440h-80v440h-80Zm0-280v-160q-33 0-56.5 23.5T280-720q0 33 23.5 56.5T360-640Zm0-80ZM680-80l-56-56 64-64H120v-80h568l-64-64 56-56 160 160L680-80Z"],
|
|
3721
3711
|
format_textdirection_r_to_l: ["M360-360v-200q-66 0-113-47t-47-113q0-66 47-113t113-47h320v80h-80v440h-80v-440h-80v440h-80Zm-88 160 64 64-56 56-160-160 160-160 56 56-64 64h568v80H272Zm88-440v-160q-33 0-56.5 23.5T280-720q0 33 23.5 56.5T360-640Zm0-80Z"],
|
|
3722
3712
|
"agent-sparkle": ["m760-600-50-110-110-50 110-50 50-110 50 110 110 50-110 50-50 110Zm0 560-50-110-110-50 110-50 50-110 50 110 110 50-110 50-50 110ZM360-160 260-380 40-480l220-100 100-220 100 220 220 100-220 100-100 220Zm0-194 40-86 86-40-86-40-40-86-40 86-86 40 86 40 40 86Zm0-126Z"]
|
|
3723
|
-
},
|
|
3713
|
+
}, Xt = ["width", "height"], Zt = ["d"], Qt = /* @__PURE__ */ l({
|
|
3724
3714
|
__name: "MaterialSymbol",
|
|
3725
3715
|
props: {
|
|
3726
3716
|
name: {},
|
|
@@ -3729,7 +3719,7 @@ var Rt = "en", zt = (e) => Lt({
|
|
|
3729
3719
|
style: {}
|
|
3730
3720
|
},
|
|
3731
3721
|
setup(t) {
|
|
3732
|
-
let r = t, i =
|
|
3722
|
+
let r = t, i = Yt, o = n(() => i[r.name] || (typeof console < "u" && console.warn(`Icon not found: ${r.name}`), null));
|
|
3733
3723
|
return (n, r) => o.value ? (v(), a("svg", {
|
|
3734
3724
|
key: 0,
|
|
3735
3725
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3747,7 +3737,7 @@ var Rt = "en", zt = (e) => Lt({
|
|
|
3747
3737
|
}, [(v(!0), a(e, null, S(o.value, (e, t) => (v(), a("path", {
|
|
3748
3738
|
key: t,
|
|
3749
3739
|
d: e
|
|
3750
|
-
}, null, 8,
|
|
3740
|
+
}, null, 8, Zt))), 128))], 14, Xt)) : (v(), a("span", {
|
|
3751
3741
|
key: 1,
|
|
3752
3742
|
class: m(t.className),
|
|
3753
3743
|
style: h({
|
|
@@ -3759,37 +3749,37 @@ var Rt = "en", zt = (e) => Lt({
|
|
|
3759
3749
|
})
|
|
3760
3750
|
}, w(t.name), 7));
|
|
3761
3751
|
}
|
|
3762
|
-
}),
|
|
3752
|
+
}), $t = [
|
|
3763
3753
|
"disabled",
|
|
3764
3754
|
"title",
|
|
3765
3755
|
"aria-label"
|
|
3766
|
-
],
|
|
3756
|
+
], en = [
|
|
3767
3757
|
"disabled",
|
|
3768
3758
|
"title",
|
|
3769
3759
|
"aria-label",
|
|
3770
3760
|
"aria-expanded"
|
|
3771
|
-
],
|
|
3761
|
+
], tn = [
|
|
3772
3762
|
"disabled",
|
|
3773
3763
|
"title",
|
|
3774
3764
|
"aria-label",
|
|
3775
3765
|
"aria-expanded"
|
|
3776
|
-
],
|
|
3766
|
+
], nn = { class: "docx-color-picker__button-stack" }, rn = ["aria-label"], an = {
|
|
3777
3767
|
key: 0,
|
|
3778
3768
|
class: "docx-color-picker__auto-icon docx-color-picker__auto-icon--none"
|
|
3779
|
-
},
|
|
3769
|
+
}, on = {
|
|
3780
3770
|
key: 1,
|
|
3781
3771
|
class: "docx-color-picker__auto-icon docx-color-picker__auto-icon--auto"
|
|
3782
|
-
},
|
|
3772
|
+
}, sn = { class: "docx-color-picker__section-label" }, cn = { class: "docx-color-picker__grid" }, ln = [
|
|
3783
3773
|
"title",
|
|
3784
3774
|
"aria-label",
|
|
3785
3775
|
"aria-selected",
|
|
3786
3776
|
"onClick"
|
|
3787
|
-
],
|
|
3777
|
+
], un = { class: "docx-color-picker__section-label" }, dn = { class: "docx-color-picker__grid" }, fn = [
|
|
3788
3778
|
"title",
|
|
3789
3779
|
"aria-label",
|
|
3790
3780
|
"aria-selected",
|
|
3791
3781
|
"onClick"
|
|
3792
|
-
],
|
|
3782
|
+
], pn = { class: "docx-color-picker__section-label" }, mn = { class: "docx-color-picker__custom" }, hn = ["onKeydown"], gn = ["disabled"], _n = /*#__PURE__*/ Z(/* @__PURE__ */ l({
|
|
3793
3783
|
__name: "ColorPicker",
|
|
3794
3784
|
props: {
|
|
3795
3785
|
mode: {},
|
|
@@ -3954,13 +3944,13 @@ var Rt = "en", zt = (e) => Lt({
|
|
|
3954
3944
|
"aria-label": t.title ?? H.value,
|
|
3955
3945
|
onMousedown: r[0] ||= I(() => {}, ["prevent"]),
|
|
3956
3946
|
onClick: ce
|
|
3957
|
-
}, [c(
|
|
3947
|
+
}, [c(Qt, {
|
|
3958
3948
|
name: U.value,
|
|
3959
3949
|
size: 18
|
|
3960
3950
|
}, null, 8, ["name"]), o("span", {
|
|
3961
3951
|
class: m(["docx-color-picker__bar", { "is-light": V.value === "transparent" || b(V.value) }]),
|
|
3962
3952
|
style: h({ background: V.value === "transparent" ? "#fff" : V.value })
|
|
3963
|
-
}, null, 6)], 40,
|
|
3953
|
+
}, null, 6)], 40, $t), o("button", {
|
|
3964
3954
|
type: "button",
|
|
3965
3955
|
class: m(["docx-color-picker__arrow", { "is-open": k.value }]),
|
|
3966
3956
|
disabled: t.disabled,
|
|
@@ -3970,10 +3960,10 @@ var Rt = "en", zt = (e) => Lt({
|
|
|
3970
3960
|
"aria-expanded": k.value,
|
|
3971
3961
|
onMousedown: r[1] ||= I(() => {}, ["prevent"]),
|
|
3972
3962
|
onClick: W
|
|
3973
|
-
}, [c(
|
|
3963
|
+
}, [c(Qt, {
|
|
3974
3964
|
name: "arrow_drop_down",
|
|
3975
3965
|
size: 18
|
|
3976
|
-
})], 42,
|
|
3966
|
+
})], 42, en)], 2)) : (v(), a("button", {
|
|
3977
3967
|
key: 1,
|
|
3978
3968
|
type: "button",
|
|
3979
3969
|
class: m(["docx-color-picker__button", { "is-open": k.value }]),
|
|
@@ -3984,16 +3974,16 @@ var Rt = "en", zt = (e) => Lt({
|
|
|
3984
3974
|
"aria-expanded": k.value,
|
|
3985
3975
|
onMousedown: r[2] ||= I(() => {}, ["prevent"]),
|
|
3986
3976
|
onClick: W
|
|
3987
|
-
}, [o("span",
|
|
3977
|
+
}, [o("span", nn, [c(Qt, {
|
|
3988
3978
|
name: U.value,
|
|
3989
3979
|
size: 18
|
|
3990
3980
|
}, null, 8, ["name"]), o("span", {
|
|
3991
3981
|
class: m(["docx-color-picker__bar", { "is-light": B.value === "transparent" || b(B.value) }]),
|
|
3992
3982
|
style: h({ background: B.value === "transparent" ? "#fff" : B.value })
|
|
3993
|
-
}, null, 6)]), c(
|
|
3983
|
+
}, null, 6)]), c(Qt, {
|
|
3994
3984
|
name: "arrow_drop_down",
|
|
3995
3985
|
size: 14
|
|
3996
|
-
})], 42,
|
|
3986
|
+
})], 42, tn)), k.value && !t.disabled ? (v(), a("div", {
|
|
3997
3987
|
key: 2,
|
|
3998
3988
|
ref_key: "panelRef",
|
|
3999
3989
|
ref: L,
|
|
@@ -4008,10 +3998,10 @@ var Rt = "en", zt = (e) => Lt({
|
|
|
4008
3998
|
class: "docx-color-picker__auto",
|
|
4009
3999
|
onMousedown: r[3] ||= I(() => {}, ["prevent"]),
|
|
4010
4000
|
onClick: G
|
|
4011
|
-
}, [t.mode === "highlight" ? (v(), a("span",
|
|
4001
|
+
}, [t.mode === "highlight" ? (v(), a("span", an, [...r[10] ||= [o("span", { class: "docx-color-picker__auto-slash" }, null, -1)]])) : (v(), a("span", on)), s(" " + w(t.autoLabel ?? (t.mode === "highlight" ? D(d)("colorPicker.noColor") : D(d)("colorPicker.automatic"))), 1)], 32),
|
|
4012
4002
|
r[12] ||= o("div", { class: "docx-color-picker__divider" }, null, -1),
|
|
4013
|
-
o("div",
|
|
4014
|
-
o("div",
|
|
4003
|
+
o("div", sn, w(D(d)("colorPicker.themeColors")), 1),
|
|
4004
|
+
o("div", cn, [(v(!0), a(e, null, S(ie.value, (e) => (v(), a("button", {
|
|
4015
4005
|
key: e.key,
|
|
4016
4006
|
type: "button",
|
|
4017
4007
|
class: m(["docx-color-picker__cell", { "is-selected": C(t.value, e.hex) }]),
|
|
@@ -4021,10 +4011,10 @@ var Rt = "en", zt = (e) => Lt({
|
|
|
4021
4011
|
"aria-selected": C(t.value, e.hex),
|
|
4022
4012
|
onMousedown: r[4] ||= I(() => {}, ["prevent"]),
|
|
4023
4013
|
onClick: (t) => le(e)
|
|
4024
|
-
}, null, 46,
|
|
4014
|
+
}, null, 46, ln))), 128))]),
|
|
4025
4015
|
r[13] ||= o("div", { class: "docx-color-picker__divider" }, null, -1),
|
|
4026
|
-
o("div",
|
|
4027
|
-
o("div",
|
|
4016
|
+
o("div", un, w(D(d)("colorPicker.standardColors")), 1),
|
|
4017
|
+
o("div", dn, [(v(), a(e, null, S(f, (e) => o("button", {
|
|
4028
4018
|
key: e.hex,
|
|
4029
4019
|
type: "button",
|
|
4030
4020
|
class: m(["docx-color-picker__cell", { "is-selected": C(t.value, e.hex) }]),
|
|
@@ -4034,10 +4024,10 @@ var Rt = "en", zt = (e) => Lt({
|
|
|
4034
4024
|
"aria-selected": C(t.value, e.hex),
|
|
4035
4025
|
onMousedown: r[5] ||= I(() => {}, ["prevent"]),
|
|
4036
4026
|
onClick: (t) => ue(e.hex)
|
|
4037
|
-
}, null, 46,
|
|
4027
|
+
}, null, 46, fn)), 64))]),
|
|
4038
4028
|
r[14] ||= o("div", { class: "docx-color-picker__divider" }, null, -1),
|
|
4039
|
-
o("div",
|
|
4040
|
-
o("div",
|
|
4029
|
+
o("div", pn, w(D(d)("colorPicker.customColor")), 1),
|
|
4030
|
+
o("div", mn, [
|
|
4041
4031
|
r[11] ||= o("span", { class: "docx-color-picker__hash" }, "#", -1),
|
|
4042
4032
|
P(o("input", {
|
|
4043
4033
|
"onUpdate:modelValue": r[6] ||= (e) => A.value = e,
|
|
@@ -4049,18 +4039,18 @@ var Rt = "en", zt = (e) => Lt({
|
|
|
4049
4039
|
onInput: r[7] ||= (e) => A.value = A.value.replace(/[^0-9A-Fa-f]/g, "").slice(0, 6),
|
|
4050
4040
|
onKeydown: F(I(de, ["prevent"]), ["enter"]),
|
|
4051
4041
|
onMousedown: r[8] ||= I(() => {}, ["stop"])
|
|
4052
|
-
}, null, 40,
|
|
4042
|
+
}, null, 40, hn), [[j, A.value]]),
|
|
4053
4043
|
o("button", {
|
|
4054
4044
|
type: "button",
|
|
4055
4045
|
class: "docx-color-picker__apply-btn",
|
|
4056
4046
|
disabled: !y(A.value),
|
|
4057
4047
|
onMousedown: r[9] ||= I(() => {}, ["prevent"]),
|
|
4058
4048
|
onClick: de
|
|
4059
|
-
}, w(D(d)("common.apply")), 41,
|
|
4049
|
+
}, w(D(d)("common.apply")), 41, gn)
|
|
4060
4050
|
])
|
|
4061
|
-
], 44,
|
|
4051
|
+
], 44, rn)) : i("", !0)], 6));
|
|
4062
4052
|
}
|
|
4063
|
-
}), [["__scopeId", "data-v-b22a322f"]]),
|
|
4053
|
+
}), [["__scopeId", "data-v-b22a322f"]]), vn = ["value", "autofocus"], yn = /*#__PURE__*/ Z(/* @__PURE__ */ l({
|
|
4064
4054
|
__name: "DatePickerPopover",
|
|
4065
4055
|
props: {
|
|
4066
4056
|
value: {},
|
|
@@ -4089,9 +4079,9 @@ var Rt = "en", zt = (e) => Lt({
|
|
|
4089
4079
|
value: s.value,
|
|
4090
4080
|
autofocus: e.defaultOpen,
|
|
4091
4081
|
onChange: c
|
|
4092
|
-
}, null, 40,
|
|
4082
|
+
}, null, 40, vn));
|
|
4093
4083
|
}
|
|
4094
|
-
}), [["__scopeId", "data-v-3dda46a0"]]),
|
|
4084
|
+
}), [["__scopeId", "data-v-3dda46a0"]]), bn = ["aria-label"], xn = /*#__PURE__*/ Z(/* @__PURE__ */ l({
|
|
4095
4085
|
inheritAttrs: !1,
|
|
4096
4086
|
__name: "Dialog",
|
|
4097
4087
|
props: {
|
|
@@ -4124,9 +4114,9 @@ var Rt = "en", zt = (e) => Lt({
|
|
|
4124
4114
|
}, n.$attrs, {
|
|
4125
4115
|
onKeydown: F(l, ["escape"]),
|
|
4126
4116
|
onMousedown: s[0] ||= I(() => {}, ["stop"])
|
|
4127
|
-
}), [C(n.$slots, "default", {}, void 0, !0)], 16,
|
|
4117
|
+
}), [C(n.$slots, "default", {}, void 0, !0)], 16, bn)], 34)) : i("", !0)]));
|
|
4128
4118
|
}
|
|
4129
|
-
}), [["__scopeId", "data-v-76309dbc"]]),
|
|
4119
|
+
}), [["__scopeId", "data-v-76309dbc"]]), Sn = ["value"], Cn = /*#__PURE__*/ Z(/* @__PURE__ */ l({
|
|
4130
4120
|
__name: "Input",
|
|
4131
4121
|
props: {
|
|
4132
4122
|
modelValue: {},
|
|
@@ -4149,9 +4139,9 @@ var Rt = "en", zt = (e) => Lt({
|
|
|
4149
4139
|
class: m(["folio-default-input", [e.className, e.size && `folio-default-input--${e.size}`]]),
|
|
4150
4140
|
value: e.modelValue,
|
|
4151
4141
|
onInput: i
|
|
4152
|
-
}, null, 42,
|
|
4142
|
+
}, null, 42, Sn));
|
|
4153
4143
|
}
|
|
4154
|
-
}), [["__scopeId", "data-v-a34b139d"]]),
|
|
4144
|
+
}), [["__scopeId", "data-v-a34b139d"]]), wn = 4, Tn = /*#__PURE__*/ Z(/* @__PURE__ */ l({
|
|
4155
4145
|
__name: "Popover",
|
|
4156
4146
|
props: {
|
|
4157
4147
|
open: { type: Boolean },
|
|
@@ -4170,7 +4160,7 @@ var Rt = "en", zt = (e) => Lt({
|
|
|
4170
4160
|
let e = o.value;
|
|
4171
4161
|
if (!e) return;
|
|
4172
4162
|
let t = e.getBoundingClientRect(), r = { position: "fixed" };
|
|
4173
|
-
n.placement.startsWith("top") ? (r.bottom = `${Math.round(window.innerHeight - t.top +
|
|
4163
|
+
n.placement.startsWith("top") ? (r.bottom = `${Math.round(window.innerHeight - t.top + wn)}px`, r.top = "auto") : (r.top = `${Math.round(t.bottom + wn)}px`, r.bottom = "auto"), n.placement.endsWith("right") ? (r.right = `${Math.round(window.innerWidth - t.right)}px`, r.left = "auto") : (r.left = `${Math.round(t.left)}px`, r.right = "auto"), c.value = r;
|
|
4174
4164
|
}
|
|
4175
4165
|
function u() {
|
|
4176
4166
|
r("update:open", !n.open), n.open && r("close");
|
|
@@ -4218,19 +4208,19 @@ var Rt = "en", zt = (e) => Lt({
|
|
|
4218
4208
|
onMousedown: n[0] ||= I(() => {}, ["stop"])
|
|
4219
4209
|
}, [C(t.$slots, "panel", {}, void 0, !0)], 38)) : i("", !0)], 512));
|
|
4220
4210
|
}
|
|
4221
|
-
}), [["__scopeId", "data-v-0de72b4f"]]),
|
|
4211
|
+
}), [["__scopeId", "data-v-0de72b4f"]]), En = ["disabled", "onClick"], Dn = {
|
|
4222
4212
|
key: 0,
|
|
4223
4213
|
class: "docx-menu-dropdown__separator"
|
|
4224
|
-
},
|
|
4214
|
+
}, On = ["onMouseenter", "onMouseleave"], kn = ["disabled", "onClick"], An = { class: "docx-menu-dropdown__label" }, jn = {
|
|
4225
4215
|
key: 1,
|
|
4226
4216
|
class: "docx-menu-dropdown__shortcut"
|
|
4227
|
-
},
|
|
4217
|
+
}, Mn = {
|
|
4228
4218
|
key: 2,
|
|
4229
4219
|
class: "docx-menu-dropdown__chevron"
|
|
4230
|
-
},
|
|
4220
|
+
}, Nn = {
|
|
4231
4221
|
key: 0,
|
|
4232
4222
|
class: "docx-menu-dropdown__submenu"
|
|
4233
|
-
},
|
|
4223
|
+
}, Pn = /*#__PURE__*/ Z(/* @__PURE__ */ l({
|
|
4234
4224
|
__name: "MenuDropdown",
|
|
4235
4225
|
props: {
|
|
4236
4226
|
label: {},
|
|
@@ -4252,7 +4242,7 @@ var Rt = "en", zt = (e) => Lt({
|
|
|
4252
4242
|
function f(e) {
|
|
4253
4243
|
e.disabled || e.submenu || (e.onClick?.(), d());
|
|
4254
4244
|
}
|
|
4255
|
-
return (p, h) => (v(), r(
|
|
4245
|
+
return (p, h) => (v(), r(Tn, {
|
|
4256
4246
|
open: l.value,
|
|
4257
4247
|
"onUpdate:open": h[2] ||= (e) => l.value = e,
|
|
4258
4248
|
onClose: d
|
|
@@ -4263,15 +4253,15 @@ var Rt = "en", zt = (e) => Lt({
|
|
|
4263
4253
|
disabled: t.disabled,
|
|
4264
4254
|
onMousedown: h[0] ||= I(() => {}, ["prevent"]),
|
|
4265
4255
|
onClick: I(e, ["prevent"])
|
|
4266
|
-
}, [s(w(t.label) + " ", 1), t.showChevron ? (v(), r(
|
|
4256
|
+
}, [s(w(t.label) + " ", 1), t.showChevron ? (v(), r(Qt, {
|
|
4267
4257
|
key: 0,
|
|
4268
4258
|
name: "arrow_drop_down",
|
|
4269
4259
|
size: 16
|
|
4270
|
-
})) : i("", !0)], 42,
|
|
4260
|
+
})) : i("", !0)], 42, En)]),
|
|
4271
4261
|
panel: N(() => [o("div", {
|
|
4272
4262
|
class: "docx-menu-dropdown__menu",
|
|
4273
4263
|
onMousedown: h[1] ||= I(() => {}, ["prevent"])
|
|
4274
|
-
}, [(v(!0), a(e, null, S(t.items, (t, s) => (v(), a(e, { key: s }, [n(t) ? (v(), a("div",
|
|
4264
|
+
}, [(v(!0), a(e, null, S(t.items, (t, s) => (v(), a(e, { key: s }, [n(t) ? (v(), a("div", Dn)) : (v(), a("div", {
|
|
4275
4265
|
key: 1,
|
|
4276
4266
|
class: "docx-menu-dropdown__wrap",
|
|
4277
4267
|
onMouseenter: (e) => t.submenu ? u.value = s : void 0,
|
|
@@ -4282,25 +4272,25 @@ var Rt = "en", zt = (e) => Lt({
|
|
|
4282
4272
|
disabled: t.disabled,
|
|
4283
4273
|
onClick: I((e) => f(t), ["prevent"])
|
|
4284
4274
|
}, [
|
|
4285
|
-
t.icon ? (v(), r(
|
|
4275
|
+
t.icon ? (v(), r(Qt, {
|
|
4286
4276
|
key: 0,
|
|
4287
4277
|
name: t.icon,
|
|
4288
4278
|
size: 18
|
|
4289
4279
|
}, null, 8, ["name"])) : i("", !0),
|
|
4290
|
-
o("span",
|
|
4291
|
-
t.shortcut ? (v(), a("span",
|
|
4292
|
-
t.submenu ? (v(), a("span",
|
|
4280
|
+
o("span", An, w(t.label), 1),
|
|
4281
|
+
t.shortcut ? (v(), a("span", jn, w(t.shortcut), 1)) : i("", !0),
|
|
4282
|
+
t.submenu ? (v(), a("span", Mn, [c(Qt, {
|
|
4293
4283
|
name: "keyboard_arrow_right",
|
|
4294
4284
|
size: 16
|
|
4295
4285
|
})])) : i("", !0)
|
|
4296
|
-
], 10,
|
|
4286
|
+
], 10, kn), t.submenu && u.value === s ? (v(), a("div", Nn, [C(p.$slots, "submenu", {
|
|
4297
4287
|
item: t,
|
|
4298
4288
|
closeMenu: d
|
|
4299
|
-
}, void 0, !0)])) : i("", !0)], 40,
|
|
4289
|
+
}, void 0, !0)])) : i("", !0)], 40, On))], 64))), 128))], 32)]),
|
|
4300
4290
|
_: 3
|
|
4301
4291
|
}, 8, ["open"]));
|
|
4302
4292
|
}
|
|
4303
|
-
}), [["__scopeId", "data-v-4ff44889"]]),
|
|
4293
|
+
}), [["__scopeId", "data-v-4ff44889"]]), Fn = ["aria-label"], In = [
|
|
4304
4294
|
"data-depth",
|
|
4305
4295
|
"aria-current",
|
|
4306
4296
|
"aria-label",
|
|
@@ -4308,13 +4298,13 @@ var Rt = "en", zt = (e) => Lt({
|
|
|
4308
4298
|
"tabindex",
|
|
4309
4299
|
"onClick",
|
|
4310
4300
|
"onFocus"
|
|
4311
|
-
],
|
|
4301
|
+
], Ln = {
|
|
4312
4302
|
"aria-hidden": "true",
|
|
4313
4303
|
class: "folio-outline-tick-label"
|
|
4314
|
-
},
|
|
4304
|
+
}, Rn = {
|
|
4315
4305
|
key: 1,
|
|
4316
4306
|
class: "folio-outline-item-label"
|
|
4317
|
-
},
|
|
4307
|
+
}, zn = 12, Bn = /*#__PURE__*/ Z(/* @__PURE__ */ l({
|
|
4318
4308
|
__name: "OutlineRail",
|
|
4319
4309
|
props: {
|
|
4320
4310
|
items: {},
|
|
@@ -4354,8 +4344,8 @@ var Rt = "en", zt = (e) => Lt({
|
|
|
4354
4344
|
}, { flush: "post" }), g(() => y?.disconnect());
|
|
4355
4345
|
let b = n(() => {
|
|
4356
4346
|
if (r.presentation !== "rail" || c.value === 0) return [];
|
|
4357
|
-
let e = Math.max(0, c.value -
|
|
4358
|
-
if (t *
|
|
4347
|
+
let e = Math.max(0, c.value - zn), t = r.items.length;
|
|
4348
|
+
if (t * zn > c.value) {
|
|
4359
4349
|
let n = t > 1 ? e / (t - 1) : 0;
|
|
4360
4350
|
return r.items.map((e, t) => t * n);
|
|
4361
4351
|
}
|
|
@@ -4363,9 +4353,9 @@ var Rt = "en", zt = (e) => Lt({
|
|
|
4363
4353
|
let o = n ? r.resolvePct?.(i.id, n) ?? null : null;
|
|
4364
4354
|
return (o === null ? a / Math.max(1, t - 1) : o / 100) * e;
|
|
4365
4355
|
});
|
|
4366
|
-
for (let e = 1; e < i.length; e++) i[e] = Math.max(i[e] ?? 0, (i[e - 1] ?? 0) +
|
|
4356
|
+
for (let e = 1; e < i.length; e++) i[e] = Math.max(i[e] ?? 0, (i[e - 1] ?? 0) + zn);
|
|
4367
4357
|
for (let t = i.length - 1; t >= 0; t--) {
|
|
4368
|
-
let n = t === i.length - 1 ? e : (i[t + 1] ?? e) -
|
|
4358
|
+
let n = t === i.length - 1 ? e : (i[t + 1] ?? e) - zn;
|
|
4369
4359
|
i[t] = Math.min(i[t] ?? 0, n);
|
|
4370
4360
|
}
|
|
4371
4361
|
return i;
|
|
@@ -4419,13 +4409,13 @@ var Rt = "en", zt = (e) => Lt({
|
|
|
4419
4409
|
}, [t.presentation === "rail" ? (v(), a(e, { key: 0 }, [r[1] ||= o("span", {
|
|
4420
4410
|
"aria-hidden": "true",
|
|
4421
4411
|
class: "folio-outline-tick-mark"
|
|
4422
|
-
}, null, -1), o("span",
|
|
4412
|
+
}, null, -1), o("span", Ln, w(n.label), 1)], 64)) : (v(), a("span", Rn, w(n.label), 1))], 42, In)], 6))), 128))], 42, Fn)) : i("", !0);
|
|
4423
4413
|
}
|
|
4424
|
-
}), [["__scopeId", "data-v-c628bcf3"]]),
|
|
4414
|
+
}), [["__scopeId", "data-v-c628bcf3"]]), Vn = ["disabled", "value"], Hn = {
|
|
4425
4415
|
key: 0,
|
|
4426
4416
|
disabled: "",
|
|
4427
4417
|
value: ""
|
|
4428
|
-
},
|
|
4418
|
+
}, Un = ["disabled", "value"], Wn = /*#__PURE__*/ Z(/* @__PURE__ */ l({
|
|
4429
4419
|
__name: "Select",
|
|
4430
4420
|
props: {
|
|
4431
4421
|
value: {},
|
|
@@ -4445,54 +4435,54 @@ var Rt = "en", zt = (e) => Lt({
|
|
|
4445
4435
|
disabled: t.disabled,
|
|
4446
4436
|
value: t.value,
|
|
4447
4437
|
onChange: o
|
|
4448
|
-
}, [t.placeholder && t.value === void 0 ? (v(), a("option",
|
|
4438
|
+
}, [t.placeholder && t.value === void 0 ? (v(), a("option", Hn, w(t.placeholder), 1)) : i("", !0), (v(!0), a(e, null, S(t.items, (e) => (v(), a("option", {
|
|
4449
4439
|
key: e.value,
|
|
4450
4440
|
disabled: e.disabled,
|
|
4451
4441
|
value: e.value
|
|
4452
|
-
}, w(e.label), 9,
|
|
4442
|
+
}, w(e.label), 9, Un))), 128))], 42, Vn));
|
|
4453
4443
|
}
|
|
4454
|
-
}), [["__scopeId", "data-v-0925daaa"]]),
|
|
4455
|
-
Button:
|
|
4456
|
-
Dialog:
|
|
4457
|
-
Select:
|
|
4458
|
-
Menu:
|
|
4459
|
-
Popover:
|
|
4460
|
-
Input:
|
|
4461
|
-
Checkbox:
|
|
4462
|
-
ColorPicker:
|
|
4463
|
-
DatePickerPopover:
|
|
4464
|
-
OutlineRail:
|
|
4465
|
-
},
|
|
4466
|
-
function
|
|
4444
|
+
}), [["__scopeId", "data-v-0925daaa"]]), Gn = {
|
|
4445
|
+
Button: Gt,
|
|
4446
|
+
Dialog: xn,
|
|
4447
|
+
Select: Wn,
|
|
4448
|
+
Menu: Pn,
|
|
4449
|
+
Popover: Tn,
|
|
4450
|
+
Input: Cn,
|
|
4451
|
+
Checkbox: Jt,
|
|
4452
|
+
ColorPicker: _n,
|
|
4453
|
+
DatePickerPopover: yn,
|
|
4454
|
+
OutlineRail: Bn
|
|
4455
|
+
}, Kn = Symbol("folio-ui-components");
|
|
4456
|
+
function qn(e) {
|
|
4467
4457
|
return e ? {
|
|
4468
|
-
...
|
|
4458
|
+
...Gn,
|
|
4469
4459
|
...e
|
|
4470
|
-
} :
|
|
4460
|
+
} : Gn;
|
|
4471
4461
|
}
|
|
4472
|
-
function
|
|
4473
|
-
y(
|
|
4462
|
+
function Jn(e) {
|
|
4463
|
+
y(Kn, qn(e));
|
|
4474
4464
|
}
|
|
4475
4465
|
function Q() {
|
|
4476
|
-
return u(
|
|
4466
|
+
return u(Kn, Gn);
|
|
4477
4467
|
}
|
|
4478
|
-
var
|
|
4468
|
+
var Yn = l({
|
|
4479
4469
|
name: "FolioUIProvider",
|
|
4480
4470
|
props: { components: {
|
|
4481
4471
|
type: Object,
|
|
4482
4472
|
default: void 0
|
|
4483
4473
|
} },
|
|
4484
4474
|
setup(e, { slots: t }) {
|
|
4485
|
-
return
|
|
4475
|
+
return Jn(e.components), () => t.default?.();
|
|
4486
4476
|
}
|
|
4487
|
-
}),
|
|
4477
|
+
}), Xn = { class: "find-replace-dialog__header" }, Zn = { class: "find-replace-dialog__title" }, Qn = { class: "find-replace-dialog__body" }, $n = { class: "find-replace-dialog__row" }, er = { class: "find-replace-dialog__count" }, tr = { class: "find-replace-dialog__options" }, nr = {
|
|
4488
4478
|
key: 0,
|
|
4489
4479
|
class: "find-replace-dialog__row"
|
|
4490
|
-
},
|
|
4480
|
+
}, rr = {
|
|
4491
4481
|
key: 1,
|
|
4492
4482
|
role: "status",
|
|
4493
4483
|
"aria-live": "polite",
|
|
4494
4484
|
class: "find-replace-dialog__summary"
|
|
4495
|
-
},
|
|
4485
|
+
}, ir = /*#__PURE__*/ Z(/* @__PURE__ */ l({
|
|
4496
4486
|
__name: "FindReplaceDialog",
|
|
4497
4487
|
props: {
|
|
4498
4488
|
isOpen: { type: Boolean },
|
|
@@ -4529,7 +4519,7 @@ var Xn = l({
|
|
|
4529
4519
|
"data-testid": "find-replace-dialog",
|
|
4530
4520
|
onMousedown: n[5] ||= I(() => {}, ["stop"]),
|
|
4531
4521
|
onKeydown: n[6] ||= I(() => {}, ["stop"])
|
|
4532
|
-
}, [o("div",
|
|
4522
|
+
}, [o("div", Xn, [o("span", Zn, w(b.value ? D(l)("findReplace.findAndReplace") : D(l)("findReplace.find")), 1), c(D(u), {
|
|
4533
4523
|
class: "find-replace-dialog__close",
|
|
4534
4524
|
variant: "ghost",
|
|
4535
4525
|
size: "icon-xs",
|
|
@@ -4538,8 +4528,8 @@ var Xn = l({
|
|
|
4538
4528
|
}, {
|
|
4539
4529
|
default: N(() => [...n[7] ||= [s(" ✕ ", -1)]]),
|
|
4540
4530
|
_: 1
|
|
4541
|
-
}, 8, ["title"])]), o("div",
|
|
4542
|
-
o("div",
|
|
4531
|
+
}, 8, ["title"])]), o("div", Qn, [
|
|
4532
|
+
o("div", $n, [
|
|
4543
4533
|
c(D(f), {
|
|
4544
4534
|
ref_key: "searchInputRef",
|
|
4545
4535
|
ref: y,
|
|
@@ -4557,7 +4547,7 @@ var Xn = l({
|
|
|
4557
4547
|
"aria-label",
|
|
4558
4548
|
"onInput"
|
|
4559
4549
|
]),
|
|
4560
|
-
o("span",
|
|
4550
|
+
o("span", er, w(H.value), 1),
|
|
4561
4551
|
c(D(u), {
|
|
4562
4552
|
variant: "ghost",
|
|
4563
4553
|
size: "icon-xs",
|
|
@@ -4577,7 +4567,7 @@ var Xn = l({
|
|
|
4577
4567
|
_: 1
|
|
4578
4568
|
}, 8, ["title", "onMousedown"])
|
|
4579
4569
|
]),
|
|
4580
|
-
o("div",
|
|
4570
|
+
o("div", tr, [
|
|
4581
4571
|
o("label", null, [c(D(h), {
|
|
4582
4572
|
checked: B.value,
|
|
4583
4573
|
"onUpdate:checked": n[1] ||= (e) => {
|
|
@@ -4603,7 +4593,7 @@ var Xn = l({
|
|
|
4603
4593
|
_: 1
|
|
4604
4594
|
}, 8, ["class", "title"]))
|
|
4605
4595
|
]),
|
|
4606
|
-
b.value && !C.value ? (v(), a("div",
|
|
4596
|
+
b.value && !C.value ? (v(), a("div", nr, [
|
|
4607
4597
|
c(D(f), {
|
|
4608
4598
|
modelValue: D(O),
|
|
4609
4599
|
"onUpdate:modelValue": n[4] ||= (e) => d(O) ? O.value = e : null,
|
|
@@ -4644,30 +4634,30 @@ var Xn = l({
|
|
|
4644
4634
|
_: 1
|
|
4645
4635
|
}, 8, ["title"])
|
|
4646
4636
|
])) : i("", !0),
|
|
4647
|
-
S.value ? (v(), a("p",
|
|
4637
|
+
S.value ? (v(), a("p", rr, w(D(l)("findReplace.replaceAllSummary", S.value)), 1)) : i("", !0)
|
|
4648
4638
|
])], 32)) : i("", !0);
|
|
4649
4639
|
}
|
|
4650
|
-
}), [["__scopeId", "data-v-2c1a6e9d"]]),
|
|
4640
|
+
}), [["__scopeId", "data-v-2c1a6e9d"]]), ar = { class: "dialog__header" }, or = { class: "dialog__title" }, sr = ["aria-label"], cr = { class: "dialog__body" }, lr = {
|
|
4651
4641
|
key: 0,
|
|
4652
4642
|
class: "link-tabs",
|
|
4653
4643
|
role: "tablist"
|
|
4654
|
-
},
|
|
4644
|
+
}, ur = ["aria-selected"], dr = ["aria-selected"], fr = {
|
|
4655
4645
|
key: 1,
|
|
4656
4646
|
class: "field"
|
|
4657
|
-
},
|
|
4647
|
+
}, pr = { class: "field__label" }, mr = [
|
|
4658
4648
|
"placeholder",
|
|
4659
4649
|
"aria-invalid",
|
|
4660
4650
|
"onKeydown"
|
|
4661
|
-
],
|
|
4651
|
+
], hr = {
|
|
4662
4652
|
key: 0,
|
|
4663
4653
|
class: "field__error"
|
|
4664
|
-
},
|
|
4654
|
+
}, gr = {
|
|
4665
4655
|
key: 1,
|
|
4666
4656
|
class: "field__hint"
|
|
4667
|
-
},
|
|
4657
|
+
}, _r = {
|
|
4668
4658
|
key: 2,
|
|
4669
4659
|
class: "field"
|
|
4670
|
-
},
|
|
4660
|
+
}, vr = { class: "field__label" }, yr = ["onKeydown"], br = { value: "" }, xr = ["value"], Sr = { class: "field" }, Cr = { class: "field__label" }, wr = ["placeholder"], Tr = { class: "field__hint" }, Er = { class: "field" }, Dr = { class: "field__label" }, Or = ["placeholder"], kr = { class: "dialog__actions" }, Ar = ["disabled"], jr = /*#__PURE__*/ Z(/* @__PURE__ */ l({
|
|
4671
4661
|
__name: "HyperlinkDialog",
|
|
4672
4662
|
props: {
|
|
4673
4663
|
isOpen: { type: Boolean },
|
|
@@ -4745,24 +4735,24 @@ var Xn = l({
|
|
|
4745
4735
|
class: "dialog",
|
|
4746
4736
|
onMousedown: r[6] ||= I(() => {}, ["stop"]),
|
|
4747
4737
|
onKeydown: r[7] ||= I(() => {}, ["stop"])
|
|
4748
|
-
}, [o("div",
|
|
4738
|
+
}, [o("div", ar, [o("span", or, w(b.value ? D(s)("dialogs.hyperlink.titleEdit") : D(s)("dialogs.hyperlink.titleInsert")), 1), o("button", {
|
|
4749
4739
|
class: "dialog__close",
|
|
4750
4740
|
"aria-label": D(s)("common.closeDialog"),
|
|
4751
4741
|
onClick: L
|
|
4752
|
-
}, " ✕ ", 8,
|
|
4753
|
-
E.value.length > 0 ? (v(), a("div",
|
|
4742
|
+
}, " ✕ ", 8, sr)]), o("div", cr, [
|
|
4743
|
+
E.value.length > 0 ? (v(), a("div", lr, [o("button", {
|
|
4754
4744
|
class: m(["link-tab", { active: f.value === "url" }]),
|
|
4755
4745
|
role: "tab",
|
|
4756
4746
|
"aria-selected": f.value === "url",
|
|
4757
4747
|
onMousedown: r[0] ||= I((e) => f.value = "url", ["prevent"])
|
|
4758
|
-
}, w(D(s)("dialogs.hyperlink.tabWebAddress")), 43,
|
|
4748
|
+
}, w(D(s)("dialogs.hyperlink.tabWebAddress")), 43, ur), o("button", {
|
|
4759
4749
|
class: m(["link-tab", { active: f.value === "bookmark" }]),
|
|
4760
4750
|
role: "tab",
|
|
4761
4751
|
"aria-selected": f.value === "bookmark",
|
|
4762
4752
|
onMousedown: r[1] ||= I((e) => f.value = "bookmark", ["prevent"])
|
|
4763
|
-
}, w(D(s)("dialogs.hyperlink.tabBookmark")), 43,
|
|
4764
|
-
f.value === "url" ? (v(), a("div",
|
|
4765
|
-
o("label",
|
|
4753
|
+
}, w(D(s)("dialogs.hyperlink.tabBookmark")), 43, dr)])) : i("", !0),
|
|
4754
|
+
f.value === "url" ? (v(), a("div", fr, [
|
|
4755
|
+
o("label", pr, w(D(s)("dialogs.hyperlink.urlLabel")), 1),
|
|
4766
4756
|
P(o("input", {
|
|
4767
4757
|
ref_key: "urlInputRef",
|
|
4768
4758
|
ref: u,
|
|
@@ -4772,33 +4762,33 @@ var Xn = l({
|
|
|
4772
4762
|
"aria-invalid": T.value && !!C.value,
|
|
4773
4763
|
onKeydown: F(I(R, ["prevent"]), ["enter"]),
|
|
4774
4764
|
onBlur: z
|
|
4775
|
-
}, null, 42,
|
|
4776
|
-
T.value && C.value ? (v(), a("div",
|
|
4777
|
-
])) : (v(), a("div",
|
|
4765
|
+
}, null, 42, mr), [[j, h.value]]),
|
|
4766
|
+
T.value && C.value ? (v(), a("div", hr, w(C.value), 1)) : (v(), a("div", gr, w(D(s)("dialogs.hyperlink.urlHint")), 1))
|
|
4767
|
+
])) : (v(), a("div", _r, [o("label", vr, w(D(s)("dialogs.hyperlink.bookmarkLabel")), 1), P(o("select", {
|
|
4778
4768
|
ref_key: "bookmarkSelectRef",
|
|
4779
4769
|
ref: d,
|
|
4780
4770
|
"onUpdate:modelValue": r[3] ||= (e) => g.value = e,
|
|
4781
4771
|
class: "field__input",
|
|
4782
4772
|
onKeydown: F(I(R, ["prevent"]), ["enter"])
|
|
4783
|
-
}, [o("option",
|
|
4773
|
+
}, [o("option", br, w(D(s)("dialogs.hyperlink.bookmarkPlaceholder")), 1), (v(!0), a(e, null, S(E.value, (e) => (v(), a("option", {
|
|
4784
4774
|
key: e.name,
|
|
4785
4775
|
value: e.name
|
|
4786
|
-
}, w(e.label || e.name), 9,
|
|
4787
|
-
o("div",
|
|
4788
|
-
o("label",
|
|
4776
|
+
}, w(e.label || e.name), 9, xr))), 128))], 40, yr), [[A, g.value]])])),
|
|
4777
|
+
o("div", Sr, [
|
|
4778
|
+
o("label", Cr, w(D(s)("dialogs.hyperlink.displayTextLabel")), 1),
|
|
4789
4779
|
P(o("input", {
|
|
4790
4780
|
"onUpdate:modelValue": r[4] ||= (e) => _.value = e,
|
|
4791
4781
|
class: "field__input",
|
|
4792
4782
|
placeholder: D(s)("dialogs.hyperlink.displayTextPlaceholder")
|
|
4793
|
-
}, null, 8,
|
|
4794
|
-
o("div",
|
|
4783
|
+
}, null, 8, wr), [[j, _.value]]),
|
|
4784
|
+
o("div", Tr, w(D(s)("dialogs.hyperlink.displayTextHint")), 1)
|
|
4795
4785
|
]),
|
|
4796
|
-
o("div",
|
|
4786
|
+
o("div", Er, [o("label", Dr, w(D(s)("dialogs.hyperlink.tooltipLabel")), 1), P(o("input", {
|
|
4797
4787
|
"onUpdate:modelValue": r[5] ||= (e) => y.value = e,
|
|
4798
4788
|
class: "field__input",
|
|
4799
4789
|
placeholder: D(s)("dialogs.hyperlink.tooltipPlaceholder")
|
|
4800
|
-
}, null, 8,
|
|
4801
|
-
o("div",
|
|
4790
|
+
}, null, 8, Or), [[j, y.value]])]),
|
|
4791
|
+
o("div", kr, [
|
|
4802
4792
|
b.value ? (v(), a("button", {
|
|
4803
4793
|
key: 0,
|
|
4804
4794
|
class: "dialog__btn dialog__btn--danger",
|
|
@@ -4813,11 +4803,11 @@ var Xn = l({
|
|
|
4813
4803
|
class: "dialog__btn dialog__btn--primary",
|
|
4814
4804
|
onMousedown: I(R, ["prevent"]),
|
|
4815
4805
|
disabled: !O.value
|
|
4816
|
-
}, w(b.value ? D(s)("common.update") : D(s)("common.insert")), 41,
|
|
4806
|
+
}, w(b.value ? D(s)("common.update") : D(s)("common.insert")), 41, Ar)
|
|
4817
4807
|
])
|
|
4818
4808
|
])], 32)], 32)) : i("", !0);
|
|
4819
4809
|
}
|
|
4820
|
-
}), [["__scopeId", "data-v-e1da04fb"]]),
|
|
4810
|
+
}), [["__scopeId", "data-v-e1da04fb"]]), Mr = { class: "dialog__header" }, Nr = { class: "dialog__title" }, Pr = ["aria-label"], Fr = { class: "dialog__body" }, Ir = { class: "field" }, Lr = { class: "field__label" }, Rr = ["placeholder"], zr = { class: "field" }, Br = { class: "field__label" }, Vr = { value: "inline" }, Hr = { value: "wrapRight" }, Ur = { value: "wrapLeft" }, Wr = { value: "topAndBottom" }, Gr = { value: "behind" }, Kr = { value: "inFront" }, qr = { class: "field" }, Jr = { class: "field__label" }, Yr = { class: "field-row" }, Xr = { value: "solid" }, Zr = { value: "dashed" }, Qr = { value: "dotted" }, $r = { value: "double" }, ei = { class: "field" }, ti = { class: "field__label" }, ni = { class: "field-row" }, ri = ["value"], ii = ["value"], ai = { class: "field__checkbox" }, oi = { class: "dialog__actions" }, si = /*#__PURE__*/ Z(/* @__PURE__ */ l({
|
|
4821
4811
|
__name: "ImagePropertiesDialog",
|
|
4822
4812
|
props: {
|
|
4823
4813
|
isOpen: { type: Boolean },
|
|
@@ -4902,29 +4892,29 @@ var Xn = l({
|
|
|
4902
4892
|
},
|
|
4903
4893
|
onClose: S
|
|
4904
4894
|
}, {
|
|
4905
|
-
default: N(() => [o("div",
|
|
4895
|
+
default: N(() => [o("div", Mr, [o("span", Nr, w(D(n)("dialogs.imageProperties.title")), 1), o("button", {
|
|
4906
4896
|
class: "dialog__close",
|
|
4907
4897
|
"aria-label": D(n)("common.closeDialog"),
|
|
4908
4898
|
onClick: S
|
|
4909
|
-
}, " ✕ ", 8,
|
|
4910
|
-
o("div",
|
|
4899
|
+
}, " ✕ ", 8, Pr)]), o("div", Fr, [
|
|
4900
|
+
o("div", Ir, [o("label", Lr, w(D(n)("dialogs.imageProperties.altText")), 1), P(o("textarea", {
|
|
4911
4901
|
"onUpdate:modelValue": a[0] ||= (e) => l.value = e,
|
|
4912
4902
|
class: "field__textarea",
|
|
4913
4903
|
placeholder: D(n)("dialogs.imageProperties.altTextPlaceholder"),
|
|
4914
4904
|
rows: "2"
|
|
4915
|
-
}, null, 8,
|
|
4916
|
-
o("div",
|
|
4905
|
+
}, null, 8, Rr), [[j, l.value]])]),
|
|
4906
|
+
o("div", zr, [o("label", Br, w(D(n)("dialogs.imageProperties.textWrapping")), 1), P(o("select", {
|
|
4917
4907
|
"onUpdate:modelValue": a[1] ||= (e) => u.value = e,
|
|
4918
4908
|
class: "field__select"
|
|
4919
4909
|
}, [
|
|
4920
|
-
o("option",
|
|
4921
|
-
o("option",
|
|
4922
|
-
o("option",
|
|
4923
|
-
o("option",
|
|
4924
|
-
o("option",
|
|
4925
|
-
o("option",
|
|
4910
|
+
o("option", Vr, w(D(n)("dialogs.imageProperties.wrapOptions.inline")), 1),
|
|
4911
|
+
o("option", Hr, w(D(n)("dialogs.imageProperties.wrapOptions.wrapRight")), 1),
|
|
4912
|
+
o("option", Ur, w(D(n)("dialogs.imageProperties.wrapOptions.wrapLeft")), 1),
|
|
4913
|
+
o("option", Wr, w(D(n)("dialogs.imageProperties.wrapOptions.topAndBottom")), 1),
|
|
4914
|
+
o("option", Gr, w(D(n)("dialogs.imageProperties.wrapOptions.behind")), 1),
|
|
4915
|
+
o("option", Kr, w(D(n)("dialogs.imageProperties.wrapOptions.inFront")), 1)
|
|
4926
4916
|
], 512), [[A, u.value]])]),
|
|
4927
|
-
o("div",
|
|
4917
|
+
o("div", qr, [o("label", Jr, w(D(n)("dialogs.imageProperties.border")), 1), o("div", Yr, [
|
|
4928
4918
|
o("label", null, [
|
|
4929
4919
|
s(w(D(n)("dialogs.imageProperties.width")) + ": ", 1),
|
|
4930
4920
|
P(o("input", {
|
|
@@ -4946,10 +4936,10 @@ var Xn = l({
|
|
|
4946
4936
|
"onUpdate:modelValue": a[3] ||= (e) => f.value = e,
|
|
4947
4937
|
class: "field__select--small"
|
|
4948
4938
|
}, [
|
|
4949
|
-
o("option",
|
|
4950
|
-
o("option",
|
|
4951
|
-
o("option",
|
|
4952
|
-
o("option",
|
|
4939
|
+
o("option", Xr, w(D(n)("dialogs.imageProperties.borderStyles.solid")), 1),
|
|
4940
|
+
o("option", Zr, w(D(n)("dialogs.imageProperties.borderStyles.dashed")), 1),
|
|
4941
|
+
o("option", Qr, w(D(n)("dialogs.imageProperties.borderStyles.dotted")), 1),
|
|
4942
|
+
o("option", $r, w(D(n)("dialogs.imageProperties.borderStyles.double")), 1)
|
|
4953
4943
|
], 512), [[A, f.value]])]),
|
|
4954
4944
|
o("label", null, [s(w(D(n)("dialogs.imageProperties.color")) + ": ", 1), P(o("input", {
|
|
4955
4945
|
"onUpdate:modelValue": a[4] ||= (e) => p.value = e,
|
|
@@ -4957,9 +4947,9 @@ var Xn = l({
|
|
|
4957
4947
|
class: "field__color"
|
|
4958
4948
|
}, null, 512), [[j, p.value]])])
|
|
4959
4949
|
])]),
|
|
4960
|
-
o("div",
|
|
4961
|
-
o("label",
|
|
4962
|
-
o("div",
|
|
4950
|
+
o("div", ei, [
|
|
4951
|
+
o("label", ti, w(D(n)("dialogs.imageProperties.dimensions")), 1),
|
|
4952
|
+
o("div", ni, [o("label", null, [
|
|
4963
4953
|
s(w(D(n)("dialogs.imageProperties.widthLabel")) + " ", 1),
|
|
4964
4954
|
o("input", {
|
|
4965
4955
|
value: m.value,
|
|
@@ -4968,7 +4958,7 @@ var Xn = l({
|
|
|
4968
4958
|
max: "2000",
|
|
4969
4959
|
class: "field__input--small",
|
|
4970
4960
|
onInput: y
|
|
4971
|
-
}, null, 40,
|
|
4961
|
+
}, null, 40, ri),
|
|
4972
4962
|
s(w(D(n)("common.px")), 1)
|
|
4973
4963
|
]), o("label", null, [
|
|
4974
4964
|
s(w(D(n)("dialogs.imageProperties.heightLabel")) + " ", 1),
|
|
@@ -4979,15 +4969,15 @@ var Xn = l({
|
|
|
4979
4969
|
max: "2000",
|
|
4980
4970
|
class: "field__input--small",
|
|
4981
4971
|
onInput: b
|
|
4982
|
-
}, null, 40,
|
|
4972
|
+
}, null, 40, ii),
|
|
4983
4973
|
s(w(D(n)("common.px")), 1)
|
|
4984
4974
|
])]),
|
|
4985
|
-
o("label",
|
|
4975
|
+
o("label", ai, [P(o("input", {
|
|
4986
4976
|
"onUpdate:modelValue": a[5] ||= (e) => g.value = e,
|
|
4987
4977
|
type: "checkbox"
|
|
4988
4978
|
}, null, 512), [[O, g.value]]), s(" " + w(D(n)("dialogs.imageProperties.lockAspectRatio")), 1)])
|
|
4989
4979
|
]),
|
|
4990
|
-
o("div",
|
|
4980
|
+
o("div", oi, [o("button", {
|
|
4991
4981
|
class: "dialog__btn",
|
|
4992
4982
|
onClick: S
|
|
4993
4983
|
}, w(D(n)("common.cancel")), 1), o("button", {
|
|
@@ -4998,23 +4988,23 @@ var Xn = l({
|
|
|
4998
4988
|
_: 1
|
|
4999
4989
|
}, 8, ["open", "aria-label"]));
|
|
5000
4990
|
}
|
|
5001
|
-
}), [["__scopeId", "data-v-065bfdd8"]]),
|
|
4991
|
+
}), [["__scopeId", "data-v-065bfdd8"]]), ci = { class: "dialog__header" }, li = { class: "dialog__title" }, ui = ["title"], di = { class: "dialog__body" }, fi = ["placeholder"], pi = {
|
|
5002
4992
|
key: 0,
|
|
5003
4993
|
class: "symbol-tabs"
|
|
5004
|
-
},
|
|
4994
|
+
}, mi = ["onMousedown"], hi = { class: "symbol-grid" }, gi = [
|
|
5005
4995
|
"title",
|
|
5006
4996
|
"onClick",
|
|
5007
4997
|
"onDblclick"
|
|
5008
|
-
],
|
|
4998
|
+
], _i = {
|
|
5009
4999
|
key: 0,
|
|
5010
5000
|
class: "symbol-empty"
|
|
5011
|
-
},
|
|
5001
|
+
}, vi = {
|
|
5012
5002
|
key: 1,
|
|
5013
5003
|
class: "symbol-preview"
|
|
5014
|
-
},
|
|
5004
|
+
}, yi = { class: "symbol-preview__char" }, bi = { class: "symbol-preview__info" }, xi = {
|
|
5015
5005
|
key: 2,
|
|
5016
5006
|
class: "symbol-recent"
|
|
5017
|
-
},
|
|
5007
|
+
}, Si = { class: "symbol-recent__label" }, Ci = ["onDblclick", "onClick"], wi = { class: "dialog__actions" }, Ti = ["disabled"], Ei = /*#__PURE__*/ Z(/* @__PURE__ */ l({
|
|
5018
5008
|
__name: "InsertSymbolDialog",
|
|
5019
5009
|
props: { isOpen: { type: Boolean } },
|
|
5020
5010
|
emits: ["close", "insert"],
|
|
@@ -5041,11 +5031,11 @@ var Xn = l({
|
|
|
5041
5031
|
class: "dialog symbol-dialog",
|
|
5042
5032
|
onMousedown: r[2] ||= I(() => {}, ["stop"]),
|
|
5043
5033
|
onKeydown: r[3] ||= I(() => {}, ["stop"])
|
|
5044
|
-
}, [o("div",
|
|
5034
|
+
}, [o("div", ci, [o("span", li, w(D(s)("dialogs.insertSymbol.title")), 1), o("button", {
|
|
5045
5035
|
class: "dialog__close",
|
|
5046
5036
|
title: D(s)("common.closeDialog"),
|
|
5047
5037
|
onClick: b
|
|
5048
|
-
}, " ✕ ", 8,
|
|
5038
|
+
}, " ✕ ", 8, ui)]), o("div", di, [
|
|
5049
5039
|
P(o("input", {
|
|
5050
5040
|
ref_key: "searchRef",
|
|
5051
5041
|
ref: u,
|
|
@@ -5053,40 +5043,40 @@ var Xn = l({
|
|
|
5053
5043
|
class: "symbol-search",
|
|
5054
5044
|
placeholder: D(s)("dialogs.insertSymbol.searchPlaceholder"),
|
|
5055
5045
|
onKeydown: F(b, ["escape"])
|
|
5056
|
-
}, null, 40,
|
|
5057
|
-
d.value ? i("", !0) : (v(), a("div",
|
|
5046
|
+
}, null, 40, fi), [[j, d.value]]),
|
|
5047
|
+
d.value ? i("", !0) : (v(), a("div", pi, [(v(!0), a(e, null, S(D(_), (e) => (v(), a("button", {
|
|
5058
5048
|
key: e.name,
|
|
5059
5049
|
class: m(["symbol-tab", { active: f.value === e.name }]),
|
|
5060
5050
|
onMousedown: I((t) => f.value = e.name, ["prevent"])
|
|
5061
|
-
}, w(D(s)(e.nameKey)), 43,
|
|
5062
|
-
o("div",
|
|
5051
|
+
}, w(D(s)(e.nameKey)), 43, mi))), 128))])),
|
|
5052
|
+
o("div", hi, [(v(!0), a(e, null, S(y.value, (e) => (v(), a("button", {
|
|
5063
5053
|
key: e.char,
|
|
5064
5054
|
class: m(["symbol-cell", { selected: h.value === e.char }]),
|
|
5065
5055
|
title: e.name,
|
|
5066
5056
|
onClick: (t) => h.value = e.char,
|
|
5067
5057
|
onDblclick: (t) => C(e.char)
|
|
5068
|
-
}, w(e.char), 43,
|
|
5069
|
-
h.value ? (v(), a("div",
|
|
5070
|
-
g.value.length > 0 && !d.value ? (v(), a("div",
|
|
5058
|
+
}, w(e.char), 43, gi))), 128)), y.value.length === 0 ? (v(), a("div", _i, w(d.value ? D(s)("dialogs.insertSymbol.noResults", { query: d.value }) : D(s)("dialogs.insertSymbol.noResultsEmpty")), 1)) : i("", !0)]),
|
|
5059
|
+
h.value ? (v(), a("div", vi, [o("span", yi, w(h.value), 1), o("span", bi, "U+" + w(h.value.codePointAt(0)?.toString(16).toUpperCase().padStart(4, "0")), 1)])) : i("", !0),
|
|
5060
|
+
g.value.length > 0 && !d.value ? (v(), a("div", xi, [o("div", Si, w(D(s)("dialogs.insertSymbol.recent")), 1), (v(!0), a(e, null, S(g.value, (e) => (v(), a("button", {
|
|
5071
5061
|
key: e,
|
|
5072
5062
|
class: "symbol-cell symbol-cell--small",
|
|
5073
5063
|
onDblclick: (t) => C(e),
|
|
5074
5064
|
onClick: (t) => h.value = e
|
|
5075
|
-
}, w(e), 41,
|
|
5076
|
-
o("div",
|
|
5065
|
+
}, w(e), 41, Ci))), 128))])) : i("", !0),
|
|
5066
|
+
o("div", wi, [o("button", {
|
|
5077
5067
|
class: "dialog__btn",
|
|
5078
5068
|
onClick: b
|
|
5079
5069
|
}, w(D(s)("common.cancel")), 1), o("button", {
|
|
5080
5070
|
class: "dialog__btn dialog__btn--primary",
|
|
5081
5071
|
onMousedown: r[1] ||= I((e) => C(h.value), ["prevent"]),
|
|
5082
5072
|
disabled: !h.value
|
|
5083
|
-
}, w(D(s)("common.insert")), 41,
|
|
5073
|
+
}, w(D(s)("common.insert")), 41, Ti)])
|
|
5084
5074
|
])], 32)], 32)) : i("", !0);
|
|
5085
5075
|
}
|
|
5086
|
-
}), [["__scopeId", "data-v-ae30942f"]]),
|
|
5076
|
+
}), [["__scopeId", "data-v-ae30942f"]]), Di = { class: "ps-header" }, Oi = { class: "ps-body" }, ki = { class: "ps-section-label" }, Ai = { class: "ps-row" }, ji = { class: "ps-label" }, Mi = ["value"], Ni = ["value"], Pi = {
|
|
5087
5077
|
key: 0,
|
|
5088
5078
|
value: -1
|
|
5089
|
-
},
|
|
5079
|
+
}, Fi = { class: "ps-row" }, Ii = { class: "ps-label" }, Li = ["value"], Ri = { value: "portrait" }, zi = { value: "landscape" }, Bi = { class: "ps-section-label ps-section-label--spaced" }, Vi = { class: "ps-row" }, Hi = { class: "ps-label" }, Ui = { class: "ps-row" }, Wi = { class: "ps-label" }, Gi = { class: "ps-row" }, Ki = { class: "ps-label" }, qi = { class: "ps-row" }, Ji = { class: "ps-label" }, Yi = { class: "ps-footer" }, Xi = 12240, Zi = 15840, Qi = 1440, $i = /*#__PURE__*/ Z(/* @__PURE__ */ l({
|
|
5090
5080
|
__name: "PageSetupDialog",
|
|
5091
5081
|
props: {
|
|
5092
5082
|
isOpen: { type: Boolean },
|
|
@@ -5130,7 +5120,7 @@ var Xn = l({
|
|
|
5130
5120
|
width: 10440,
|
|
5131
5121
|
height: 15120
|
|
5132
5122
|
}
|
|
5133
|
-
], d = t, f = s, p = x(
|
|
5123
|
+
], d = t, f = s, p = x(Xi), m = x(Zi), h = x("portrait"), g = x(1), _ = x(1), y = x(1), b = x(1);
|
|
5134
5124
|
function C(e) {
|
|
5135
5125
|
return Math.round(e / V * 100) / 100;
|
|
5136
5126
|
}
|
|
@@ -5143,8 +5133,8 @@ var Xn = l({
|
|
|
5143
5133
|
});
|
|
5144
5134
|
M(() => d.isOpen, (e) => {
|
|
5145
5135
|
if (!e) return;
|
|
5146
|
-
let t = d.sectionProperties, n = t?.pageWidth ||
|
|
5147
|
-
p.value = n, m.value = r, h.value = t?.orientation || (n > r ? "landscape" : "portrait"), g.value = C(t?.marginTop ??
|
|
5136
|
+
let t = d.sectionProperties, n = t?.pageWidth || Xi, r = t?.pageHeight || Zi;
|
|
5137
|
+
p.value = n, m.value = r, h.value = t?.orientation || (n > r ? "landscape" : "portrait"), g.value = C(t?.marginTop ?? Qi), _.value = C(t?.marginBottom ?? Qi), y.value = C(t?.marginLeft ?? Qi), b.value = C(t?.marginRight ?? Qi);
|
|
5148
5138
|
}, { immediate: !0 });
|
|
5149
5139
|
function O(e) {
|
|
5150
5140
|
if (!(e.target instanceof HTMLSelectElement)) return;
|
|
@@ -5186,25 +5176,25 @@ var Xn = l({
|
|
|
5186
5176
|
onKeydown: F(I, ["enter"])
|
|
5187
5177
|
}, {
|
|
5188
5178
|
default: N(() => [
|
|
5189
|
-
o("div",
|
|
5190
|
-
o("div",
|
|
5191
|
-
o("div",
|
|
5192
|
-
o("div",
|
|
5179
|
+
o("div", Di, w(D(c)("dialogs.pageSetup.title")), 1),
|
|
5180
|
+
o("div", Oi, [
|
|
5181
|
+
o("div", ki, w(D(c)("dialogs.pageSetup.pageSize")), 1),
|
|
5182
|
+
o("div", Ai, [o("label", ji, w(D(c)("dialogs.pageSetup.sizeLabel")), 1), o("select", {
|
|
5193
5183
|
class: "ps-input",
|
|
5194
5184
|
value: E.value,
|
|
5195
5185
|
onChange: O
|
|
5196
5186
|
}, [(v(), a(e, null, S(u, (e, t) => o("option", {
|
|
5197
5187
|
key: e.labelKey,
|
|
5198
5188
|
value: t
|
|
5199
|
-
}, w(D(c)(e.labelKey)), 9,
|
|
5200
|
-
o("div",
|
|
5189
|
+
}, w(D(c)(e.labelKey)), 9, Ni)), 64)), E.value < 0 ? (v(), a("option", Pi, w(D(c)("dialogs.pageSetup.custom")), 1)) : i("", !0)], 40, Mi)]),
|
|
5190
|
+
o("div", Fi, [o("label", Ii, w(D(c)("dialogs.pageSetup.orientation")), 1), o("select", {
|
|
5201
5191
|
class: "ps-input",
|
|
5202
5192
|
value: h.value,
|
|
5203
5193
|
onChange: k
|
|
5204
|
-
}, [o("option",
|
|
5205
|
-
o("div",
|
|
5206
|
-
o("div",
|
|
5207
|
-
o("label",
|
|
5194
|
+
}, [o("option", Ri, w(D(c)("dialogs.pageSetup.portrait")), 1), o("option", zi, w(D(c)("dialogs.pageSetup.landscape")), 1)], 40, Li)]),
|
|
5195
|
+
o("div", Bi, w(D(c)("dialogs.pageSetup.margins")), 1),
|
|
5196
|
+
o("div", Vi, [
|
|
5197
|
+
o("label", Hi, w(D(c)("dialogs.pageSetup.top")), 1),
|
|
5208
5198
|
P(o("input", {
|
|
5209
5199
|
class: "ps-input",
|
|
5210
5200
|
type: "number",
|
|
@@ -5220,8 +5210,8 @@ var Xn = l({
|
|
|
5220
5210
|
]]),
|
|
5221
5211
|
s[4] ||= o("span", { class: "ps-unit" }, "in", -1)
|
|
5222
5212
|
]),
|
|
5223
|
-
o("div",
|
|
5224
|
-
o("label",
|
|
5213
|
+
o("div", Ui, [
|
|
5214
|
+
o("label", Wi, w(D(c)("dialogs.pageSetup.bottom")), 1),
|
|
5225
5215
|
P(o("input", {
|
|
5226
5216
|
class: "ps-input",
|
|
5227
5217
|
type: "number",
|
|
@@ -5237,8 +5227,8 @@ var Xn = l({
|
|
|
5237
5227
|
]]),
|
|
5238
5228
|
s[5] ||= o("span", { class: "ps-unit" }, "in", -1)
|
|
5239
5229
|
]),
|
|
5240
|
-
o("div",
|
|
5241
|
-
o("label",
|
|
5230
|
+
o("div", Gi, [
|
|
5231
|
+
o("label", Ki, w(D(c)("dialogs.pageSetup.left")), 1),
|
|
5242
5232
|
P(o("input", {
|
|
5243
5233
|
class: "ps-input",
|
|
5244
5234
|
type: "number",
|
|
@@ -5254,8 +5244,8 @@ var Xn = l({
|
|
|
5254
5244
|
]]),
|
|
5255
5245
|
s[6] ||= o("span", { class: "ps-unit" }, "in", -1)
|
|
5256
5246
|
]),
|
|
5257
|
-
o("div",
|
|
5258
|
-
o("label",
|
|
5247
|
+
o("div", qi, [
|
|
5248
|
+
o("label", Ji, w(D(c)("dialogs.pageSetup.right")), 1),
|
|
5259
5249
|
P(o("input", {
|
|
5260
5250
|
class: "ps-input",
|
|
5261
5251
|
type: "number",
|
|
@@ -5272,7 +5262,7 @@ var Xn = l({
|
|
|
5272
5262
|
s[7] ||= o("span", { class: "ps-unit" }, "in", -1)
|
|
5273
5263
|
])
|
|
5274
5264
|
]),
|
|
5275
|
-
o("div",
|
|
5265
|
+
o("div", Yi, [o("button", {
|
|
5276
5266
|
type: "button",
|
|
5277
5267
|
class: "ps-btn",
|
|
5278
5268
|
onClick: A
|
|
@@ -5285,10 +5275,10 @@ var Xn = l({
|
|
|
5285
5275
|
_: 1
|
|
5286
5276
|
}, 8, ["open", "aria-label"]));
|
|
5287
5277
|
}
|
|
5288
|
-
}), [["__scopeId", "data-v-f21143a9"]]),
|
|
5278
|
+
}), [["__scopeId", "data-v-f21143a9"]]), ea = { class: "tpd-dialog__header" }, ta = { class: "tpd-dialog__body" }, na = { class: "tpd-row" }, ra = { class: "tpd-label" }, ia = { value: "auto" }, aa = { value: "dxa" }, oa = { value: "pct" }, sa = {
|
|
5289
5279
|
key: 0,
|
|
5290
5280
|
class: "tpd-row"
|
|
5291
|
-
},
|
|
5281
|
+
}, ca = { class: "tpd-label" }, la = ["step"], ua = { class: "tpd-unit" }, da = { class: "tpd-row" }, fa = { class: "tpd-label" }, pa = ["value"], ma = { class: "tpd-dialog__footer" }, ha = /*#__PURE__*/ Z(/* @__PURE__ */ l({
|
|
5292
5282
|
__name: "TablePropertiesDialog",
|
|
5293
5283
|
props: {
|
|
5294
5284
|
isOpen: { type: Boolean },
|
|
@@ -5336,41 +5326,41 @@ var Xn = l({
|
|
|
5336
5326
|
onKeydown: F(g, ["enter"])
|
|
5337
5327
|
}, {
|
|
5338
5328
|
default: N(() => [
|
|
5339
|
-
o("div",
|
|
5340
|
-
o("div",
|
|
5341
|
-
o("div",
|
|
5329
|
+
o("div", ea, w(D(s)("dialogs.tableProperties.title")), 1),
|
|
5330
|
+
o("div", ta, [
|
|
5331
|
+
o("div", na, [o("label", ra, w(D(s)("dialogs.tableProperties.widthType")), 1), P(o("select", {
|
|
5342
5332
|
"onUpdate:modelValue": u[0] ||= (e) => m.value = e,
|
|
5343
5333
|
class: "tpd-select"
|
|
5344
5334
|
}, [
|
|
5345
|
-
o("option",
|
|
5346
|
-
o("option",
|
|
5347
|
-
o("option",
|
|
5335
|
+
o("option", ia, w(D(s)("dialogs.tableProperties.widthTypes.auto")), 1),
|
|
5336
|
+
o("option", aa, w(D(s)("dialogs.tableProperties.widthTypes.fixed")), 1),
|
|
5337
|
+
o("option", oa, w(D(s)("dialogs.tableProperties.widthTypes.percentage")), 1)
|
|
5348
5338
|
], 512), [[A, m.value]])]),
|
|
5349
|
-
m.value === "auto" ? i("", !0) : (v(), a("div",
|
|
5350
|
-
o("label",
|
|
5339
|
+
m.value === "auto" ? i("", !0) : (v(), a("div", sa, [
|
|
5340
|
+
o("label", ca, w(D(s)("dialogs.tableProperties.widthLabel")), 1),
|
|
5351
5341
|
P(o("input", {
|
|
5352
5342
|
"onUpdate:modelValue": u[1] ||= (e) => f.value = e,
|
|
5353
5343
|
type: "number",
|
|
5354
5344
|
class: "tpd-input",
|
|
5355
5345
|
min: 0,
|
|
5356
5346
|
step: m.value === "pct" ? 5 : 100
|
|
5357
|
-
}, null, 8,
|
|
5347
|
+
}, null, 8, la), [[
|
|
5358
5348
|
j,
|
|
5359
5349
|
f.value,
|
|
5360
5350
|
void 0,
|
|
5361
5351
|
{ number: !0 }
|
|
5362
5352
|
]]),
|
|
5363
|
-
o("span",
|
|
5353
|
+
o("span", ua, w(m.value === "pct" ? D(s)("dialogs.tableProperties.units.fiftiethsPercent") : D(s)("dialogs.tableProperties.units.twips")), 1)
|
|
5364
5354
|
])),
|
|
5365
|
-
o("div",
|
|
5355
|
+
o("div", da, [o("label", fa, w(D(s)("dialogs.tableProperties.alignmentLabel")), 1), P(o("select", {
|
|
5366
5356
|
"onUpdate:modelValue": u[2] ||= (e) => h.value = e,
|
|
5367
5357
|
class: "tpd-select"
|
|
5368
5358
|
}, [(v(!0), a(e, null, S(D(H), (e) => (v(), a("option", {
|
|
5369
5359
|
key: e,
|
|
5370
5360
|
value: e
|
|
5371
|
-
}, w(D(s)(l[e])), 9,
|
|
5361
|
+
}, w(D(s)(l[e])), 9, pa))), 128))], 512), [[A, h.value]])])
|
|
5372
5362
|
]),
|
|
5373
|
-
o("div",
|
|
5363
|
+
o("div", ma, [o("button", {
|
|
5374
5364
|
class: "tpd-btn",
|
|
5375
5365
|
onClick: u[3] ||= (e) => n.$emit("close")
|
|
5376
5366
|
}, w(D(s)("common.cancel")), 1), o("button", {
|
|
@@ -5381,16 +5371,16 @@ var Xn = l({
|
|
|
5381
5371
|
_: 1
|
|
5382
5372
|
}, 8, ["open", "aria-label"]));
|
|
5383
5373
|
}
|
|
5384
|
-
}), [["__scopeId", "data-v-ee9734b8"]]),
|
|
5374
|
+
}), [["__scopeId", "data-v-ee9734b8"]]), ga = { class: "dialog__body" }, _a = { class: "field" }, va = {
|
|
5385
5375
|
key: 0,
|
|
5386
5376
|
class: "grid"
|
|
5387
|
-
},
|
|
5377
|
+
}, ya = { class: "field field--wide" }, ba = { class: "field" }, xa = { class: "field" }, Sa = { class: "field" }, Ca = { class: "check" }, wa = {
|
|
5388
5378
|
key: 1,
|
|
5389
5379
|
class: "grid"
|
|
5390
|
-
},
|
|
5380
|
+
}, Ta = { class: "field field--wide" }, Ea = { class: "field field--wide" }, Da = ["aria-invalid"], Oa = {
|
|
5391
5381
|
key: 0,
|
|
5392
5382
|
class: "field__error"
|
|
5393
|
-
},
|
|
5383
|
+
}, ka = { class: "field" }, Aa = { class: "check" }, ja = { class: "check field--wide" }, Ma = { class: "dialog__footer" }, Na = ["disabled"], Pa = "#C0C0C0", Fa = /*#__PURE__*/ Z(/* @__PURE__ */ l({
|
|
5394
5384
|
__name: "WatermarkDialog",
|
|
5395
5385
|
props: {
|
|
5396
5386
|
isOpen: { type: Boolean },
|
|
@@ -5398,9 +5388,9 @@ var Xn = l({
|
|
|
5398
5388
|
},
|
|
5399
5389
|
emits: ["close", "apply"],
|
|
5400
5390
|
setup(e, { emit: t }) {
|
|
5401
|
-
let { Dialog: s } = Q(), c = e, l = t, u = x("text"), d = x("CONFIDENTIAL"), f = x("Calibri"), p = x(
|
|
5391
|
+
let { Dialog: s } = Q(), c = e, l = t, u = x("text"), d = x("CONFIDENTIAL"), f = x("Calibri"), p = x(Pa), m = x(!0), h = x(50), g = x(""), _ = x(""), y = x(!1), b = x(100), S = x(!0), C = n(() => u.value === "picture" && y.value && _.value.trim().length > 0 ? R(_.value.trim()) : ""), T = n(() => u.value === "none" || u.value === "text" && d.value.trim().length > 0 || u.value === "picture" && g.value.trim().length > 0 && C.value.length === 0);
|
|
5402
5392
|
M([() => c.isOpen, () => c.currentWatermark], ([e, t]) => {
|
|
5403
|
-
e && (t ? (u.value = t.kind, t.kind === "text" ? (d.value = t.text, f.value = t.font ?? "Calibri", p.value = z(t.color), m.value = t.diagonal ?? !0, h.value = Math.round((t.opacity ?? .5) * 100)) : (g.value = t.imageRId, _.value = t.imageTarget ?? "", y.value = t.imageTargetExternal ?? !1, b.value = Math.round((t.scale ?? 1) * 100), S.value = t.washout ?? !0)) : (u.value = "text", d.value = "CONFIDENTIAL", f.value = "Calibri", p.value =
|
|
5393
|
+
e && (t ? (u.value = t.kind, t.kind === "text" ? (d.value = t.text, f.value = t.font ?? "Calibri", p.value = z(t.color), m.value = t.diagonal ?? !0, h.value = Math.round((t.opacity ?? .5) * 100)) : (g.value = t.imageRId, _.value = t.imageTarget ?? "", y.value = t.imageTargetExternal ?? !1, b.value = Math.round((t.scale ?? 1) * 100), S.value = t.washout ?? !0)) : (u.value = "text", d.value = "CONFIDENTIAL", f.value = "Calibri", p.value = Pa, m.value = !0, h.value = 50, g.value = "", _.value = "", y.value = !1, b.value = 100, S.value = !0));
|
|
5404
5394
|
}, { immediate: !0 });
|
|
5405
5395
|
function E() {
|
|
5406
5396
|
T.value && (u.value === "none" ? (l("apply", void 0), l("close")) : u.value === "text" ? (l("apply", {
|
|
@@ -5432,7 +5422,7 @@ var Xn = l({
|
|
|
5432
5422
|
return L(e) ? "" : "Use a web address (http/https).";
|
|
5433
5423
|
}
|
|
5434
5424
|
function z(e) {
|
|
5435
|
-
return !e || e === "auto" ?
|
|
5425
|
+
return !e || e === "auto" ? Pa : e.startsWith("#") ? e : `#${e}`;
|
|
5436
5426
|
}
|
|
5437
5427
|
return (t, n) => (v(), r(D(s), {
|
|
5438
5428
|
open: e.isOpen,
|
|
@@ -5446,8 +5436,8 @@ var Xn = l({
|
|
|
5446
5436
|
}, {
|
|
5447
5437
|
default: N(() => [
|
|
5448
5438
|
n[25] ||= o("div", { class: "dialog__header" }, "Watermark", -1),
|
|
5449
|
-
o("div",
|
|
5450
|
-
o("label",
|
|
5439
|
+
o("div", ga, [
|
|
5440
|
+
o("label", _a, [n[14] ||= o("span", { class: "field__label" }, "Type", -1), P(o("select", {
|
|
5451
5441
|
"onUpdate:modelValue": n[0] ||= (e) => u.value = e,
|
|
5452
5442
|
class: "field__input"
|
|
5453
5443
|
}, [...n[13] ||= [
|
|
@@ -5455,21 +5445,21 @@ var Xn = l({
|
|
|
5455
5445
|
o("option", { value: "picture" }, "Picture watermark", -1),
|
|
5456
5446
|
o("option", { value: "none" }, "No watermark", -1)
|
|
5457
5447
|
]], 512), [[A, u.value]])]),
|
|
5458
|
-
u.value === "text" ? (v(), a("div",
|
|
5459
|
-
o("label",
|
|
5448
|
+
u.value === "text" ? (v(), a("div", va, [
|
|
5449
|
+
o("label", ya, [n[15] ||= o("span", { class: "field__label" }, "Text", -1), P(o("input", {
|
|
5460
5450
|
"onUpdate:modelValue": n[1] ||= (e) => d.value = e,
|
|
5461
5451
|
class: "field__input"
|
|
5462
5452
|
}, null, 512), [[j, d.value]])]),
|
|
5463
|
-
o("label",
|
|
5453
|
+
o("label", ba, [n[16] ||= o("span", { class: "field__label" }, "Font", -1), P(o("input", {
|
|
5464
5454
|
"onUpdate:modelValue": n[2] ||= (e) => f.value = e,
|
|
5465
5455
|
class: "field__input"
|
|
5466
5456
|
}, null, 512), [[j, f.value]])]),
|
|
5467
|
-
o("label",
|
|
5457
|
+
o("label", xa, [n[17] ||= o("span", { class: "field__label" }, "Color", -1), P(o("input", {
|
|
5468
5458
|
"onUpdate:modelValue": n[3] ||= (e) => p.value = e,
|
|
5469
5459
|
class: "field__input field__input--color",
|
|
5470
5460
|
type: "color"
|
|
5471
5461
|
}, null, 512), [[j, p.value]])]),
|
|
5472
|
-
o("label",
|
|
5462
|
+
o("label", Sa, [n[18] ||= o("span", { class: "field__label" }, "Opacity", -1), P(o("input", {
|
|
5473
5463
|
"onUpdate:modelValue": n[4] ||= (e) => h.value = e,
|
|
5474
5464
|
class: "field__input",
|
|
5475
5465
|
max: "100",
|
|
@@ -5481,28 +5471,28 @@ var Xn = l({
|
|
|
5481
5471
|
void 0,
|
|
5482
5472
|
{ number: !0 }
|
|
5483
5473
|
]])]),
|
|
5484
|
-
o("label",
|
|
5474
|
+
o("label", Ca, [P(o("input", {
|
|
5485
5475
|
"onUpdate:modelValue": n[5] ||= (e) => m.value = e,
|
|
5486
5476
|
type: "checkbox"
|
|
5487
5477
|
}, null, 512), [[O, m.value]]), n[19] ||= o("span", null, "Diagonal", -1)])
|
|
5488
5478
|
])) : i("", !0),
|
|
5489
|
-
u.value === "picture" ? (v(), a("div",
|
|
5490
|
-
o("label",
|
|
5479
|
+
u.value === "picture" ? (v(), a("div", wa, [
|
|
5480
|
+
o("label", Ta, [n[20] ||= o("span", { class: "field__label" }, "Header image relationship id", -1), P(o("input", {
|
|
5491
5481
|
"onUpdate:modelValue": n[6] ||= (e) => g.value = e,
|
|
5492
5482
|
class: "field__input",
|
|
5493
5483
|
placeholder: "rId12"
|
|
5494
5484
|
}, null, 512), [[j, g.value]])]),
|
|
5495
|
-
o("label",
|
|
5485
|
+
o("label", Ea, [
|
|
5496
5486
|
n[21] ||= o("span", { class: "field__label" }, "Image target", -1),
|
|
5497
5487
|
P(o("input", {
|
|
5498
5488
|
"onUpdate:modelValue": n[7] ||= (e) => _.value = e,
|
|
5499
5489
|
"aria-invalid": C.value.length > 0,
|
|
5500
5490
|
class: "field__input",
|
|
5501
5491
|
placeholder: "word/media/image1.png"
|
|
5502
|
-
}, null, 8,
|
|
5503
|
-
C.value.length > 0 ? (v(), a("span",
|
|
5492
|
+
}, null, 8, Da), [[j, _.value]]),
|
|
5493
|
+
C.value.length > 0 ? (v(), a("span", Oa, w(C.value), 1)) : i("", !0)
|
|
5504
5494
|
]),
|
|
5505
|
-
o("label",
|
|
5495
|
+
o("label", ka, [n[22] ||= o("span", { class: "field__label" }, "Scale", -1), P(o("input", {
|
|
5506
5496
|
"onUpdate:modelValue": n[8] ||= (e) => b.value = e,
|
|
5507
5497
|
class: "field__input",
|
|
5508
5498
|
max: "300",
|
|
@@ -5514,29 +5504,29 @@ var Xn = l({
|
|
|
5514
5504
|
void 0,
|
|
5515
5505
|
{ number: !0 }
|
|
5516
5506
|
]])]),
|
|
5517
|
-
o("label",
|
|
5507
|
+
o("label", Aa, [P(o("input", {
|
|
5518
5508
|
"onUpdate:modelValue": n[9] ||= (e) => S.value = e,
|
|
5519
5509
|
type: "checkbox"
|
|
5520
5510
|
}, null, 512), [[O, S.value]]), n[23] ||= o("span", null, "Washout", -1)]),
|
|
5521
|
-
o("label",
|
|
5511
|
+
o("label", ja, [P(o("input", {
|
|
5522
5512
|
"onUpdate:modelValue": n[10] ||= (e) => y.value = e,
|
|
5523
5513
|
type: "checkbox"
|
|
5524
5514
|
}, null, 512), [[O, y.value]]), n[24] ||= o("span", null, "Target is an external URL", -1)])
|
|
5525
5515
|
])) : i("", !0)
|
|
5526
5516
|
]),
|
|
5527
|
-
o("div",
|
|
5517
|
+
o("div", Ma, [o("button", {
|
|
5528
5518
|
class: "dialog__btn",
|
|
5529
5519
|
onClick: n[11] ||= (e) => t.$emit("close")
|
|
5530
5520
|
}, "Cancel"), o("button", {
|
|
5531
5521
|
class: "dialog__btn dialog__btn--primary",
|
|
5532
5522
|
disabled: !T.value,
|
|
5533
5523
|
onClick: E
|
|
5534
|
-
}, " Apply ", 8,
|
|
5524
|
+
}, " Apply ", 8, Na)])
|
|
5535
5525
|
]),
|
|
5536
5526
|
_: 1
|
|
5537
5527
|
}, 8, ["open"]));
|
|
5538
5528
|
}
|
|
5539
|
-
}), [["__scopeId", "data-v-14dd6807"]]),
|
|
5529
|
+
}), [["__scopeId", "data-v-14dd6807"]]), Ia = { class: "fnpd-dialog__header" }, La = { class: "fnpd-dialog__body" }, Ra = { class: "fnpd-fieldset" }, za = { class: "fnpd-legend" }, Ba = { class: "fnpd-row" }, Va = { class: "fnpd-label" }, Ha = { value: "pageBottom" }, Ua = { value: "beneathText" }, Wa = { class: "fnpd-row" }, Ga = { class: "fnpd-label" }, Ka = ["value"], qa = { class: "fnpd-row" }, Ja = { class: "fnpd-label" }, Ya = { class: "fnpd-row" }, Xa = { class: "fnpd-label" }, Za = { value: "continuous" }, Qa = { value: "eachSect" }, $a = { value: "eachPage" }, eo = { class: "fnpd-fieldset" }, to = { class: "fnpd-legend" }, no = { class: "fnpd-row" }, ro = { class: "fnpd-label" }, io = { value: "docEnd" }, ao = { value: "sectEnd" }, oo = { class: "fnpd-row" }, so = { class: "fnpd-label" }, co = ["value"], lo = { class: "fnpd-row" }, uo = { class: "fnpd-label" }, fo = { class: "fnpd-row" }, po = { class: "fnpd-label" }, mo = { value: "continuous" }, ho = { value: "eachSect" }, go = { class: "fnpd-dialog__footer" }, _o = /*#__PURE__*/ Z(/* @__PURE__ */ l({
|
|
5540
5530
|
__name: "FootnotePropertiesDialog",
|
|
5541
5531
|
props: {
|
|
5542
5532
|
isOpen: { type: Boolean },
|
|
@@ -5597,21 +5587,21 @@ var Xn = l({
|
|
|
5597
5587
|
onClose: i[9] ||= (e) => n.$emit("close")
|
|
5598
5588
|
}, {
|
|
5599
5589
|
default: N(() => [
|
|
5600
|
-
o("div",
|
|
5601
|
-
o("div",
|
|
5602
|
-
o("legend",
|
|
5603
|
-
o("div",
|
|
5590
|
+
o("div", Ia, w(D(s)("dialogs.footnoteProperties.title")), 1),
|
|
5591
|
+
o("div", La, [o("fieldset", Ra, [
|
|
5592
|
+
o("legend", za, w(D(s)("dialogs.footnoteProperties.footnotes")), 1),
|
|
5593
|
+
o("div", Ba, [o("label", Va, w(D(s)("dialogs.footnoteProperties.position")), 1), P(o("select", {
|
|
5604
5594
|
"onUpdate:modelValue": i[0] ||= (e) => f.value = e,
|
|
5605
5595
|
class: "fnpd-select"
|
|
5606
|
-
}, [o("option",
|
|
5607
|
-
o("div",
|
|
5596
|
+
}, [o("option", Ha, w(D(s)("dialogs.footnoteProperties.footnotePositions.bottomOfPage")), 1), o("option", Ua, w(D(s)("dialogs.footnoteProperties.footnotePositions.belowText")), 1)], 512), [[A, f.value]])]),
|
|
5597
|
+
o("div", Wa, [o("label", Ga, w(D(s)("dialogs.footnoteProperties.numberFormat")), 1), P(o("select", {
|
|
5608
5598
|
"onUpdate:modelValue": i[1] ||= (e) => p.value = e,
|
|
5609
5599
|
class: "fnpd-select"
|
|
5610
5600
|
}, [(v(!0), a(e, null, S(d.value, (e) => (v(), a("option", {
|
|
5611
5601
|
key: e.value,
|
|
5612
5602
|
value: e.value
|
|
5613
|
-
}, w(e.label), 9,
|
|
5614
|
-
o("div",
|
|
5603
|
+
}, w(e.label), 9, Ka))), 128))], 512), [[A, p.value]])]),
|
|
5604
|
+
o("div", qa, [o("label", Ja, w(D(s)("dialogs.footnoteProperties.startAt")), 1), P(o("input", {
|
|
5615
5605
|
"onUpdate:modelValue": i[2] ||= (e) => m.value = e,
|
|
5616
5606
|
type: "number",
|
|
5617
5607
|
class: "fnpd-input",
|
|
@@ -5622,28 +5612,28 @@ var Xn = l({
|
|
|
5622
5612
|
void 0,
|
|
5623
5613
|
{ number: !0 }
|
|
5624
5614
|
]])]),
|
|
5625
|
-
o("div",
|
|
5615
|
+
o("div", Ya, [o("label", Xa, w(D(s)("dialogs.footnoteProperties.numbering")), 1), P(o("select", {
|
|
5626
5616
|
"onUpdate:modelValue": i[3] ||= (e) => h.value = e,
|
|
5627
5617
|
class: "fnpd-select"
|
|
5628
5618
|
}, [
|
|
5629
|
-
o("option",
|
|
5630
|
-
o("option",
|
|
5631
|
-
o("option",
|
|
5619
|
+
o("option", Za, w(D(s)("dialogs.footnoteProperties.numberingOptions.continuous")), 1),
|
|
5620
|
+
o("option", Qa, w(D(s)("dialogs.footnoteProperties.numberingOptions.restartSection")), 1),
|
|
5621
|
+
o("option", $a, w(D(s)("dialogs.footnoteProperties.numberingOptions.restartPage")), 1)
|
|
5632
5622
|
], 512), [[A, h.value]])])
|
|
5633
|
-
]), o("fieldset",
|
|
5634
|
-
o("legend",
|
|
5635
|
-
o("div",
|
|
5623
|
+
]), o("fieldset", eo, [
|
|
5624
|
+
o("legend", to, w(D(s)("dialogs.footnoteProperties.endnotes")), 1),
|
|
5625
|
+
o("div", no, [o("label", ro, w(D(s)("dialogs.footnoteProperties.position")), 1), P(o("select", {
|
|
5636
5626
|
"onUpdate:modelValue": i[4] ||= (e) => g.value = e,
|
|
5637
5627
|
class: "fnpd-select"
|
|
5638
|
-
}, [o("option",
|
|
5639
|
-
o("div",
|
|
5628
|
+
}, [o("option", io, w(D(s)("dialogs.footnoteProperties.endnotePositions.endOfDocument")), 1), o("option", ao, w(D(s)("dialogs.footnoteProperties.endnotePositions.endOfSection")), 1)], 512), [[A, g.value]])]),
|
|
5629
|
+
o("div", oo, [o("label", so, w(D(s)("dialogs.footnoteProperties.numberFormat")), 1), P(o("select", {
|
|
5640
5630
|
"onUpdate:modelValue": i[5] ||= (e) => _.value = e,
|
|
5641
5631
|
class: "fnpd-select"
|
|
5642
5632
|
}, [(v(!0), a(e, null, S(d.value, (e) => (v(), a("option", {
|
|
5643
5633
|
key: e.value,
|
|
5644
5634
|
value: e.value
|
|
5645
|
-
}, w(e.label), 9,
|
|
5646
|
-
o("div",
|
|
5635
|
+
}, w(e.label), 9, co))), 128))], 512), [[A, _.value]])]),
|
|
5636
|
+
o("div", lo, [o("label", uo, w(D(s)("dialogs.footnoteProperties.startAt")), 1), P(o("input", {
|
|
5647
5637
|
"onUpdate:modelValue": i[6] ||= (e) => y.value = e,
|
|
5648
5638
|
type: "number",
|
|
5649
5639
|
class: "fnpd-input",
|
|
@@ -5654,12 +5644,12 @@ var Xn = l({
|
|
|
5654
5644
|
void 0,
|
|
5655
5645
|
{ number: !0 }
|
|
5656
5646
|
]])]),
|
|
5657
|
-
o("div",
|
|
5647
|
+
o("div", fo, [o("label", po, w(D(s)("dialogs.footnoteProperties.numbering")), 1), P(o("select", {
|
|
5658
5648
|
"onUpdate:modelValue": i[7] ||= (e) => b.value = e,
|
|
5659
5649
|
class: "fnpd-select"
|
|
5660
|
-
}, [o("option",
|
|
5650
|
+
}, [o("option", mo, w(D(s)("dialogs.footnoteProperties.numberingOptions.continuous")), 1), o("option", ho, w(D(s)("dialogs.footnoteProperties.numberingOptions.restartSection")), 1)], 512), [[A, b.value]])])
|
|
5661
5651
|
])]),
|
|
5662
|
-
o("div",
|
|
5652
|
+
o("div", go, [o("button", {
|
|
5663
5653
|
class: "fnpd-btn",
|
|
5664
5654
|
onClick: i[8] ||= (e) => n.$emit("close")
|
|
5665
5655
|
}, w(D(s)("common.cancel")), 1), o("button", {
|
|
@@ -5670,25 +5660,25 @@ var Xn = l({
|
|
|
5670
5660
|
_: 1
|
|
5671
5661
|
}, 8, ["open", "aria-label"]));
|
|
5672
5662
|
}
|
|
5673
|
-
}), [["__scopeId", "data-v-93b3bef4"]]),
|
|
5663
|
+
}), [["__scopeId", "data-v-93b3bef4"]]), vo = { class: "ipd-dialog__header" }, yo = { class: "ipd-dialog__body" }, bo = { class: "ipd-fieldset" }, xo = { class: "ipd-legend" }, So = { class: "ipd-row" }, Co = { value: "align" }, wo = { value: "offset" }, To = {
|
|
5674
5664
|
key: 0,
|
|
5675
5665
|
class: "ipd-row"
|
|
5676
|
-
},
|
|
5666
|
+
}, Eo = { class: "ipd-label" }, Do = { value: "left" }, Oo = { value: "center" }, ko = { value: "right" }, Ao = {
|
|
5677
5667
|
key: 1,
|
|
5678
5668
|
class: "ipd-row"
|
|
5679
|
-
},
|
|
5669
|
+
}, jo = { class: "ipd-label" }, Mo = { class: "ipd-row" }, No = { class: "ipd-label" }, Po = { value: "page" }, Fo = { value: "column" }, Io = { value: "margin" }, Lo = { value: "character" }, Ro = { class: "ipd-fieldset" }, zo = { class: "ipd-legend" }, Bo = { class: "ipd-row" }, Vo = { value: "align" }, Ho = { value: "offset" }, Uo = {
|
|
5680
5670
|
key: 0,
|
|
5681
5671
|
class: "ipd-row"
|
|
5682
|
-
},
|
|
5672
|
+
}, Wo = { class: "ipd-label" }, Go = { value: "top" }, Ko = { value: "center" }, qo = { value: "bottom" }, Jo = {
|
|
5683
5673
|
key: 1,
|
|
5684
5674
|
class: "ipd-row"
|
|
5685
|
-
},
|
|
5675
|
+
}, Yo = { class: "ipd-label" }, Xo = { class: "ipd-row" }, Zo = { class: "ipd-label" }, Qo = { value: "page" }, $o = { value: "margin" }, es = { value: "paragraph" }, ts = { value: "line" }, ns = { class: "ipd-fieldset" }, rs = { class: "ipd-row" }, is = { class: "ipd-label" }, as = {
|
|
5686
5676
|
class: "ipd-label",
|
|
5687
5677
|
style: { width: "60px" }
|
|
5688
|
-
},
|
|
5678
|
+
}, os = { class: "ipd-row" }, ss = { class: "ipd-label" }, cs = {
|
|
5689
5679
|
class: "ipd-label",
|
|
5690
5680
|
style: { width: "60px" }
|
|
5691
|
-
},
|
|
5681
|
+
}, ls = { class: "ipd-dialog__footer" }, us = /*#__PURE__*/ Z(/* @__PURE__ */ l({
|
|
5692
5682
|
__name: "ImagePositionDialog",
|
|
5693
5683
|
props: {
|
|
5694
5684
|
isOpen: { type: Boolean },
|
|
@@ -5729,22 +5719,22 @@ var Xn = l({
|
|
|
5729
5719
|
onClose: s[13] ||= (e) => t.$emit("close")
|
|
5730
5720
|
}, {
|
|
5731
5721
|
default: N(() => [
|
|
5732
|
-
o("div",
|
|
5733
|
-
o("div",
|
|
5734
|
-
o("fieldset",
|
|
5735
|
-
o("legend",
|
|
5736
|
-
o("div",
|
|
5722
|
+
o("div", vo, w(D(n)("dialogs.imagePosition.title")), 1),
|
|
5723
|
+
o("div", yo, [
|
|
5724
|
+
o("fieldset", bo, [
|
|
5725
|
+
o("legend", xo, w(D(n)("dialogs.imagePosition.horizontal")), 1),
|
|
5726
|
+
o("div", So, [s[14] ||= o("label", { class: "ipd-label" }, "Mode", -1), P(o("select", {
|
|
5737
5727
|
"onUpdate:modelValue": s[0] ||= (e) => l.value = e,
|
|
5738
5728
|
class: "ipd-select"
|
|
5739
|
-
}, [o("option",
|
|
5740
|
-
l.value === "align" ? (v(), a("div",
|
|
5729
|
+
}, [o("option", Co, w(D(n)("dialogs.imagePosition.alignment")), 1), o("option", wo, w(D(n)("dialogs.imagePosition.offset")), 1)], 512), [[A, l.value]])]),
|
|
5730
|
+
l.value === "align" ? (v(), a("div", To, [o("label", Eo, w(D(n)("dialogs.imagePosition.align")), 1), P(o("select", {
|
|
5741
5731
|
"onUpdate:modelValue": s[1] ||= (e) => u.value = e,
|
|
5742
5732
|
class: "ipd-select"
|
|
5743
5733
|
}, [
|
|
5744
|
-
o("option",
|
|
5745
|
-
o("option",
|
|
5746
|
-
o("option",
|
|
5747
|
-
], 512), [[A, u.value]])])) : (v(), a("div",
|
|
5734
|
+
o("option", Do, w(D(n)("dialogs.imagePosition.alignOptions.left")), 1),
|
|
5735
|
+
o("option", Oo, w(D(n)("dialogs.imagePosition.alignOptions.center")), 1),
|
|
5736
|
+
o("option", ko, w(D(n)("dialogs.imagePosition.alignOptions.right")), 1)
|
|
5737
|
+
], 512), [[A, u.value]])])) : (v(), a("div", Ao, [o("label", jo, w(D(n)("dialogs.imagePosition.offsetPx")), 1), P(o("input", {
|
|
5748
5738
|
"onUpdate:modelValue": s[2] ||= (e) => d.value = e,
|
|
5749
5739
|
type: "number",
|
|
5750
5740
|
class: "ipd-input"
|
|
@@ -5754,30 +5744,30 @@ var Xn = l({
|
|
|
5754
5744
|
void 0,
|
|
5755
5745
|
{ number: !0 }
|
|
5756
5746
|
]])])),
|
|
5757
|
-
o("div",
|
|
5747
|
+
o("div", Mo, [o("label", No, w(D(n)("dialogs.imagePosition.relativeTo")), 1), P(o("select", {
|
|
5758
5748
|
"onUpdate:modelValue": s[3] ||= (e) => f.value = e,
|
|
5759
5749
|
class: "ipd-select"
|
|
5760
5750
|
}, [
|
|
5761
|
-
o("option",
|
|
5762
|
-
o("option",
|
|
5763
|
-
o("option",
|
|
5764
|
-
o("option",
|
|
5751
|
+
o("option", Po, w(D(n)("dialogs.imagePosition.relativeOptions.page")), 1),
|
|
5752
|
+
o("option", Fo, w(D(n)("dialogs.imagePosition.relativeOptions.column")), 1),
|
|
5753
|
+
o("option", Io, w(D(n)("dialogs.imagePosition.relativeOptions.margin")), 1),
|
|
5754
|
+
o("option", Lo, w(D(n)("dialogs.imagePosition.relativeOptions.character")), 1)
|
|
5765
5755
|
], 512), [[A, f.value]])])
|
|
5766
5756
|
]),
|
|
5767
|
-
o("fieldset",
|
|
5768
|
-
o("legend",
|
|
5769
|
-
o("div",
|
|
5757
|
+
o("fieldset", Ro, [
|
|
5758
|
+
o("legend", zo, w(D(n)("dialogs.imagePosition.vertical")), 1),
|
|
5759
|
+
o("div", Bo, [s[15] ||= o("label", { class: "ipd-label" }, "Mode", -1), P(o("select", {
|
|
5770
5760
|
"onUpdate:modelValue": s[4] ||= (e) => p.value = e,
|
|
5771
5761
|
class: "ipd-select"
|
|
5772
|
-
}, [o("option",
|
|
5773
|
-
p.value === "align" ? (v(), a("div",
|
|
5762
|
+
}, [o("option", Vo, w(D(n)("dialogs.imagePosition.alignment")), 1), o("option", Ho, w(D(n)("dialogs.imagePosition.offset")), 1)], 512), [[A, p.value]])]),
|
|
5763
|
+
p.value === "align" ? (v(), a("div", Uo, [o("label", Wo, w(D(n)("dialogs.imagePosition.align")), 1), P(o("select", {
|
|
5774
5764
|
"onUpdate:modelValue": s[5] ||= (e) => m.value = e,
|
|
5775
5765
|
class: "ipd-select"
|
|
5776
5766
|
}, [
|
|
5777
|
-
o("option",
|
|
5778
|
-
o("option",
|
|
5779
|
-
o("option",
|
|
5780
|
-
], 512), [[A, m.value]])])) : (v(), a("div",
|
|
5767
|
+
o("option", Go, w(D(n)("dialogs.imagePosition.alignOptions.top")), 1),
|
|
5768
|
+
o("option", Ko, w(D(n)("dialogs.imagePosition.alignOptions.center")), 1),
|
|
5769
|
+
o("option", qo, w(D(n)("dialogs.imagePosition.alignOptions.bottom")), 1)
|
|
5770
|
+
], 512), [[A, m.value]])])) : (v(), a("div", Jo, [o("label", Yo, w(D(n)("dialogs.imagePosition.offsetPx")), 1), P(o("input", {
|
|
5781
5771
|
"onUpdate:modelValue": s[6] ||= (e) => h.value = e,
|
|
5782
5772
|
type: "number",
|
|
5783
5773
|
class: "ipd-input"
|
|
@@ -5787,20 +5777,20 @@ var Xn = l({
|
|
|
5787
5777
|
void 0,
|
|
5788
5778
|
{ number: !0 }
|
|
5789
5779
|
]])])),
|
|
5790
|
-
o("div",
|
|
5780
|
+
o("div", Xo, [o("label", Zo, w(D(n)("dialogs.imagePosition.relativeTo")), 1), P(o("select", {
|
|
5791
5781
|
"onUpdate:modelValue": s[7] ||= (e) => g.value = e,
|
|
5792
5782
|
class: "ipd-select"
|
|
5793
5783
|
}, [
|
|
5794
|
-
o("option",
|
|
5795
|
-
o("option",
|
|
5796
|
-
o("option",
|
|
5797
|
-
o("option",
|
|
5784
|
+
o("option", Qo, w(D(n)("dialogs.imagePosition.relativeOptions.page")), 1),
|
|
5785
|
+
o("option", $o, w(D(n)("dialogs.imagePosition.relativeOptions.margin")), 1),
|
|
5786
|
+
o("option", es, w(D(n)("dialogs.imagePosition.relativeOptions.paragraph")), 1),
|
|
5787
|
+
o("option", ts, w(D(n)("dialogs.imagePosition.relativeOptions.line")), 1)
|
|
5798
5788
|
], 512), [[A, g.value]])])
|
|
5799
5789
|
]),
|
|
5800
|
-
o("fieldset",
|
|
5790
|
+
o("fieldset", ns, [
|
|
5801
5791
|
s[16] ||= o("legend", { class: "ipd-legend" }, "Distance from text (px)", -1),
|
|
5802
|
-
o("div",
|
|
5803
|
-
o("label",
|
|
5792
|
+
o("div", rs, [
|
|
5793
|
+
o("label", is, w(D(n)("dialogs.imagePosition.alignOptions.top")), 1),
|
|
5804
5794
|
P(o("input", {
|
|
5805
5795
|
"onUpdate:modelValue": s[8] ||= (e) => _.value = e,
|
|
5806
5796
|
type: "number",
|
|
@@ -5812,7 +5802,7 @@ var Xn = l({
|
|
|
5812
5802
|
void 0,
|
|
5813
5803
|
{ number: !0 }
|
|
5814
5804
|
]]),
|
|
5815
|
-
o("label",
|
|
5805
|
+
o("label", as, w(D(n)("dialogs.imagePosition.alignOptions.bottom")), 1),
|
|
5816
5806
|
P(o("input", {
|
|
5817
5807
|
"onUpdate:modelValue": s[9] ||= (e) => y.value = e,
|
|
5818
5808
|
type: "number",
|
|
@@ -5825,8 +5815,8 @@ var Xn = l({
|
|
|
5825
5815
|
{ number: !0 }
|
|
5826
5816
|
]])
|
|
5827
5817
|
]),
|
|
5828
|
-
o("div",
|
|
5829
|
-
o("label",
|
|
5818
|
+
o("div", os, [
|
|
5819
|
+
o("label", ss, w(D(n)("dialogs.imagePosition.alignOptions.left")), 1),
|
|
5830
5820
|
P(o("input", {
|
|
5831
5821
|
"onUpdate:modelValue": s[10] ||= (e) => b.value = e,
|
|
5832
5822
|
type: "number",
|
|
@@ -5838,7 +5828,7 @@ var Xn = l({
|
|
|
5838
5828
|
void 0,
|
|
5839
5829
|
{ number: !0 }
|
|
5840
5830
|
]]),
|
|
5841
|
-
o("label",
|
|
5831
|
+
o("label", cs, w(D(n)("dialogs.imagePosition.alignOptions.right")), 1),
|
|
5842
5832
|
P(o("input", {
|
|
5843
5833
|
"onUpdate:modelValue": s[11] ||= (e) => S.value = e,
|
|
5844
5834
|
type: "number",
|
|
@@ -5853,7 +5843,7 @@ var Xn = l({
|
|
|
5853
5843
|
])
|
|
5854
5844
|
])
|
|
5855
5845
|
]),
|
|
5856
|
-
o("div",
|
|
5846
|
+
o("div", ls, [o("button", {
|
|
5857
5847
|
class: "ipd-btn",
|
|
5858
5848
|
onClick: s[12] ||= (e) => t.$emit("close")
|
|
5859
5849
|
}, w(D(n)("common.cancel")), 1), o("button", {
|
|
@@ -5864,7 +5854,7 @@ var Xn = l({
|
|
|
5864
5854
|
_: 1
|
|
5865
5855
|
}, 8, ["open", "aria-label"]));
|
|
5866
5856
|
}
|
|
5867
|
-
}), [["__scopeId", "data-v-55f53deb"]]),
|
|
5857
|
+
}), [["__scopeId", "data-v-55f53deb"]]), ds = { class: "dialog__body" }, fs = { class: "field" }, ps = ["accept"], ms = { class: "field" }, hs = ["placeholder"], gs = { class: "grid" }, _s = { class: "field" }, vs = { class: "field" }, ys = { class: "dialog__footer" }, bs = ["disabled"], xs = /*#__PURE__*/ Z(/* @__PURE__ */ l({
|
|
5868
5858
|
__name: "InsertImageDialog",
|
|
5869
5859
|
props: {
|
|
5870
5860
|
isOpen: { type: Boolean },
|
|
@@ -5906,25 +5896,25 @@ var Xn = l({
|
|
|
5906
5896
|
}, {
|
|
5907
5897
|
default: N(() => [
|
|
5908
5898
|
i[9] ||= o("div", { class: "dialog__header" }, "Insert Image", -1),
|
|
5909
|
-
o("div",
|
|
5910
|
-
o("label",
|
|
5899
|
+
o("div", ds, [
|
|
5900
|
+
o("label", fs, [i[5] ||= o("span", { class: "field__label" }, "Image file", -1), o("input", {
|
|
5911
5901
|
class: "field__input",
|
|
5912
5902
|
type: "file",
|
|
5913
5903
|
accept: e.accept,
|
|
5914
5904
|
onChange: d
|
|
5915
|
-
}, null, 40,
|
|
5916
|
-
o("label",
|
|
5905
|
+
}, null, 40, ps)]),
|
|
5906
|
+
o("label", ms, [i[6] ||= o("span", { class: "field__label" }, "Alt text", -1), P(o("input", {
|
|
5917
5907
|
"onUpdate:modelValue": i[0] ||= (e) => c.value = e,
|
|
5918
5908
|
class: "field__input",
|
|
5919
5909
|
placeholder: s.value?.name ?? ""
|
|
5920
|
-
}, null, 8,
|
|
5921
|
-
o("div",
|
|
5910
|
+
}, null, 8, hs), [[j, c.value]])]),
|
|
5911
|
+
o("div", gs, [o("label", _s, [i[7] ||= o("span", { class: "field__label" }, "Width", -1), P(o("input", {
|
|
5922
5912
|
"onUpdate:modelValue": i[1] ||= (e) => l.value = e,
|
|
5923
5913
|
class: "field__input",
|
|
5924
5914
|
min: "1",
|
|
5925
5915
|
placeholder: "Auto",
|
|
5926
5916
|
type: "number"
|
|
5927
|
-
}, null, 512), [[j, l.value]])]), o("label",
|
|
5917
|
+
}, null, 512), [[j, l.value]])]), o("label", vs, [i[8] ||= o("span", { class: "field__label" }, "Height", -1), P(o("input", {
|
|
5928
5918
|
"onUpdate:modelValue": i[2] ||= (e) => u.value = e,
|
|
5929
5919
|
class: "field__input",
|
|
5930
5920
|
min: "1",
|
|
@@ -5932,26 +5922,26 @@ var Xn = l({
|
|
|
5932
5922
|
type: "number"
|
|
5933
5923
|
}, null, 512), [[j, u.value]])])])
|
|
5934
5924
|
]),
|
|
5935
|
-
o("div",
|
|
5925
|
+
o("div", ys, [o("button", {
|
|
5936
5926
|
class: "dialog__btn",
|
|
5937
5927
|
onClick: i[3] ||= (e) => t.$emit("close")
|
|
5938
5928
|
}, "Cancel"), o("button", {
|
|
5939
5929
|
class: "dialog__btn dialog__btn--primary",
|
|
5940
5930
|
disabled: !s.value,
|
|
5941
5931
|
onClick: f
|
|
5942
|
-
}, " Insert ", 8,
|
|
5932
|
+
}, " Insert ", 8, bs)])
|
|
5943
5933
|
]),
|
|
5944
5934
|
_: 1
|
|
5945
5935
|
}, 8, ["open"]));
|
|
5946
5936
|
}
|
|
5947
|
-
}), [["__scopeId", "data-v-bb3a51b6"]]),
|
|
5937
|
+
}), [["__scopeId", "data-v-bb3a51b6"]]), Ss = b({
|
|
5948
5938
|
rows: 3,
|
|
5949
5939
|
cols: 3
|
|
5950
5940
|
}), $ = (e) => ({
|
|
5951
5941
|
style: "single",
|
|
5952
5942
|
size: 4,
|
|
5953
5943
|
color: { rgb: e }
|
|
5954
|
-
}),
|
|
5944
|
+
}), Cs = [
|
|
5955
5945
|
{
|
|
5956
5946
|
id: "TableNormal",
|
|
5957
5947
|
name: "Normal Table",
|
|
@@ -6243,7 +6233,7 @@ var Xn = l({
|
|
|
6243
6233
|
band1Horz: { backgroundColor: "#E2EFDA" }
|
|
6244
6234
|
}
|
|
6245
6235
|
}
|
|
6246
|
-
],
|
|
6236
|
+
], ws = {
|
|
6247
6237
|
TableNormal: "table.styles.normalTable",
|
|
6248
6238
|
TableGrid: "table.styles.tableGrid",
|
|
6249
6239
|
TableGridLight: "table.styles.gridTableLight",
|
|
@@ -6258,15 +6248,15 @@ var Xn = l({
|
|
|
6258
6248
|
"ListTable4-Accent3": "table.styles.listTable4Accent3",
|
|
6259
6249
|
"GridTable4-Accent5": "table.styles.gridTable4Accent5",
|
|
6260
6250
|
"GridTable4-Accent6": "table.styles.gridTable4Accent6"
|
|
6261
|
-
},
|
|
6262
|
-
function
|
|
6251
|
+
}, Ts = 4, Es = 3;
|
|
6252
|
+
function Ds(e) {
|
|
6263
6253
|
let t = e ? ae(e.style) : "none";
|
|
6264
6254
|
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"}`;
|
|
6265
6255
|
}
|
|
6266
|
-
function
|
|
6267
|
-
return
|
|
6256
|
+
function Os(e, t, n, r) {
|
|
6257
|
+
return Ds(e === void 0 ? t ? n ?? r : r : e);
|
|
6268
6258
|
}
|
|
6269
|
-
function
|
|
6259
|
+
function ks(e, t = Ts, n = Es) {
|
|
6270
6260
|
let r = e.look ?? {}, i = e.conditionals ?? {}, a = e.tableBorders, o = [], s = 0;
|
|
6271
6261
|
for (let e = 0; e < t; e++) {
|
|
6272
6262
|
let c = e === 0 && !!r.firstRow, l = e === t - 1 && !!r.lastRow, u = r.noHBand !== !0, d;
|
|
@@ -6279,49 +6269,48 @@ function As(e, t = Es, n = Ds) {
|
|
|
6279
6269
|
height: "10px",
|
|
6280
6270
|
boxSizing: "border-box",
|
|
6281
6271
|
backgroundColor: m?.backgroundColor ?? "transparent",
|
|
6282
|
-
borderTop:
|
|
6283
|
-
borderBottom:
|
|
6284
|
-
borderLeft:
|
|
6285
|
-
borderRight:
|
|
6272
|
+
borderTop: Os(h?.top, e > 0, a?.insideH, a?.top),
|
|
6273
|
+
borderBottom: Os(h?.bottom, e < t - 1, a?.insideH, a?.bottom),
|
|
6274
|
+
borderLeft: Os(h?.left, s > 0, a?.insideV, a?.left),
|
|
6275
|
+
borderRight: Os(h?.right, s < n - 1, a?.insideV, a?.right)
|
|
6286
6276
|
};
|
|
6287
6277
|
o.push(g);
|
|
6288
6278
|
}
|
|
6289
6279
|
}
|
|
6290
6280
|
return o;
|
|
6291
6281
|
}
|
|
6292
|
-
|
|
6293
|
-
|
|
6294
|
-
var js = { class: "tsg" }, Ms = { class: "tsg__grid" }, Ns = ["title", "onMousedown"], Ps = { class: "tsg__preview" }, Fs = { class: "tsg__name" }, Is = /*#__PURE__*/ Z(/* @__PURE__ */ l({
|
|
6282
|
+
// src/components/ui/TableStyleGallery.vue?vue&type=script&setup=true&lang.ts
|
|
6283
|
+
var As = { class: "tsg" }, js = { class: "tsg__grid" }, Ms = ["title", "onMousedown"], Ns = { class: "tsg__preview" }, Ps = { class: "tsg__name" }, Fs = /*#__PURE__*/ Z(/* @__PURE__ */ l({
|
|
6295
6284
|
__name: "TableStyleGallery",
|
|
6296
6285
|
props: { currentStyleId: {} },
|
|
6297
6286
|
emits: ["apply"],
|
|
6298
6287
|
setup(t) {
|
|
6299
|
-
let { t: n } = X(), r =
|
|
6288
|
+
let { t: n } = X(), r = Cs;
|
|
6300
6289
|
function i(e) {
|
|
6301
|
-
let t =
|
|
6290
|
+
let t = ws[e.id];
|
|
6302
6291
|
return t ? n(t) : e.name;
|
|
6303
6292
|
}
|
|
6304
|
-
return (n, s) => (v(), a("div",
|
|
6293
|
+
return (n, s) => (v(), a("div", As, [o("div", js, [(v(!0), a(e, null, S(D(r), (r) => (v(), a("button", {
|
|
6305
6294
|
key: r.id,
|
|
6306
6295
|
class: m(["tsg__item", { "tsg__item--selected": t.currentStyleId === r.id }]),
|
|
6307
6296
|
title: i(r),
|
|
6308
6297
|
onMousedown: I((e) => n.$emit("apply", r.id), ["prevent"])
|
|
6309
|
-
}, [o("div",
|
|
6298
|
+
}, [o("div", Ns, [(v(!0), a(e, null, S(D(ks)(r), (e, t) => (v(), a("div", {
|
|
6310
6299
|
key: t,
|
|
6311
6300
|
class: "tsg__cell",
|
|
6312
6301
|
style: h(e)
|
|
6313
|
-
}, null, 4))), 128))]), o("span",
|
|
6302
|
+
}, null, 4))), 128))]), o("span", Ps, w(i(r)), 1)], 42, Ms))), 128))])]));
|
|
6314
6303
|
}
|
|
6315
|
-
}), [["__scopeId", "data-v-5db7fd3c"]]),
|
|
6304
|
+
}), [["__scopeId", "data-v-5db7fd3c"]]), Is = { class: "dialog__header" }, Ls = { class: "dialog__title" }, Rs = ["title"], zs = { class: "dialog__body" }, Bs = ["aria-label"], Vs = ["onMouseenter", "onMousedown"], Hs = { class: "table-grid__label" }, Us = { class: "dialog__separator" }, Ws = { class: "table-manual" }, Gs = { class: "table-manual__field" }, Ks = { class: "table-manual__field" }, qs = { class: "table-options" }, Js = { class: "table-options__radio" }, Ys = { class: "table-options__radio" }, Xs = { class: "dialog__separator" }, Zs = { class: "dialog__footer" }, Qs = ["disabled"], $s = 8, ec = 10, tc = 1, nc = 100, rc = 1, ic = 20, ac = /*#__PURE__*/ Z(/* @__PURE__ */ l({
|
|
6316
6305
|
__name: "InsertTableDialog",
|
|
6317
6306
|
props: { isOpen: { type: Boolean } },
|
|
6318
6307
|
emits: ["close", "insert"],
|
|
6319
6308
|
setup(t, { emit: r }) {
|
|
6320
|
-
let { t: s } = X(), l = t, u = r, d = x(0), f = x(0), p = x(
|
|
6309
|
+
let { t: s } = X(), l = t, u = r, d = x(0), f = x(0), p = x(Ss.rows), h = x(Ss.cols), g = x("fixed"), _ = x(null);
|
|
6321
6310
|
M(() => l.isOpen, (e) => {
|
|
6322
|
-
e && (p.value =
|
|
6311
|
+
e && (p.value = Ss.rows, h.value = Ss.cols, d.value = 0, f.value = 0);
|
|
6323
6312
|
});
|
|
6324
|
-
let y = n(() => Number.parseInt(String(p.value), 10)), b = n(() => Number.parseInt(String(h.value), 10)), C = n(() => Number.isFinite(y.value) && y.value >=
|
|
6313
|
+
let y = n(() => Number.parseInt(String(p.value), 10)), b = n(() => Number.parseInt(String(h.value), 10)), C = n(() => Number.isFinite(y.value) && y.value >= tc && y.value <= nc), T = n(() => Number.isFinite(b.value) && b.value >= rc && b.value <= ic), E = n(() => C.value && T.value);
|
|
6325
6314
|
function O() {
|
|
6326
6315
|
u("close");
|
|
6327
6316
|
}
|
|
@@ -6333,8 +6322,8 @@ var js = { class: "tsg" }, Ms = { class: "tsg__grid" }, Ns = ["title", "onMoused
|
|
|
6333
6322
|
}
|
|
6334
6323
|
function F() {
|
|
6335
6324
|
if (!E.value) return;
|
|
6336
|
-
let e = Math.min(Math.max(
|
|
6337
|
-
|
|
6325
|
+
let e = Math.min(Math.max(tc, y.value), nc), t = Math.min(Math.max(rc, b.value), ic);
|
|
6326
|
+
Ss.rows = e, Ss.cols = t, u("insert", {
|
|
6338
6327
|
rows: e,
|
|
6339
6328
|
cols: t,
|
|
6340
6329
|
autofit: g.value === "autofit",
|
|
@@ -6350,83 +6339,83 @@ var js = { class: "tsg" }, Ms = { class: "tsg__grid" }, Ns = ["title", "onMoused
|
|
|
6350
6339
|
onMousedown: r[7] ||= I(() => {}, ["stop"]),
|
|
6351
6340
|
onKeydown: I(N, ["stop"])
|
|
6352
6341
|
}, [
|
|
6353
|
-
o("div",
|
|
6342
|
+
o("div", Is, [o("span", Ls, w(D(s)("dialogs.insertTable.title")), 1), o("button", {
|
|
6354
6343
|
class: "dialog__close",
|
|
6355
6344
|
title: D(s)("common.closeDialog"),
|
|
6356
6345
|
onClick: O
|
|
6357
|
-
}, " ✕ ", 8,
|
|
6358
|
-
o("div",
|
|
6346
|
+
}, " ✕ ", 8, Rs)]),
|
|
6347
|
+
o("div", zs, [
|
|
6359
6348
|
o("div", {
|
|
6360
6349
|
class: "table-grid",
|
|
6361
6350
|
"aria-label": D(s)("dialogs.insertTable.sizeSelector"),
|
|
6362
6351
|
onMouseleave: r[0] ||= (e) => {
|
|
6363
6352
|
d.value = 0, f.value = 0;
|
|
6364
6353
|
}
|
|
6365
|
-
}, [(v(), a(e, null, S(
|
|
6354
|
+
}, [(v(), a(e, null, S($s, (t) => o("div", {
|
|
6366
6355
|
key: t,
|
|
6367
6356
|
class: "table-grid__row"
|
|
6368
|
-
}, [(v(), a(e, null, S(
|
|
6357
|
+
}, [(v(), a(e, null, S(ec, (e) => o("div", {
|
|
6369
6358
|
key: e,
|
|
6370
6359
|
class: m(["table-grid__cell", { highlight: t <= d.value && e <= f.value }]),
|
|
6371
6360
|
onMouseenter: (n) => {
|
|
6372
6361
|
d.value = t, f.value = e;
|
|
6373
6362
|
},
|
|
6374
6363
|
onMousedown: I((n) => A(t, e), ["prevent"])
|
|
6375
|
-
}, null, 42,
|
|
6376
|
-
o("div",
|
|
6364
|
+
}, null, 42, Vs)), 64))])), 64))], 40, Bs),
|
|
6365
|
+
o("div", Hs, w(d.value > 0 ? D(s)("dialogs.insertTable.tableSize", {
|
|
6377
6366
|
cols: f.value,
|
|
6378
6367
|
rows: d.value
|
|
6379
6368
|
}) : D(s)("dialogs.insertTable.hoverToSelect")), 1),
|
|
6380
|
-
o("div",
|
|
6381
|
-
o("div",
|
|
6369
|
+
o("div", Us, [o("span", null, w(D(s)("dialogs.insertTable.orSpecifySize")), 1)]),
|
|
6370
|
+
o("div", Ws, [o("label", Gs, [o("span", null, w(D(s)("dialogs.insertTable.rowsLabel")), 1), P(o("input", {
|
|
6382
6371
|
"onUpdate:modelValue": r[1] ||= (e) => p.value = e,
|
|
6383
6372
|
type: "number",
|
|
6384
|
-
min:
|
|
6385
|
-
max:
|
|
6373
|
+
min: tc,
|
|
6374
|
+
max: nc,
|
|
6386
6375
|
class: m(["table-manual__input", { "table-manual__input--invalid": !C.value }])
|
|
6387
|
-
}, null, 2), [[j, p.value]])]), o("label",
|
|
6376
|
+
}, null, 2), [[j, p.value]])]), o("label", Ks, [o("span", null, w(D(s)("dialogs.insertTable.columnsLabel")), 1), P(o("input", {
|
|
6388
6377
|
"onUpdate:modelValue": r[2] ||= (e) => h.value = e,
|
|
6389
6378
|
type: "number",
|
|
6390
|
-
min:
|
|
6391
|
-
max:
|
|
6379
|
+
min: rc,
|
|
6380
|
+
max: ic,
|
|
6392
6381
|
class: m(["table-manual__input", { "table-manual__input--invalid": !T.value }])
|
|
6393
6382
|
}, null, 2), [[j, h.value]])])]),
|
|
6394
6383
|
o("div", { class: m(["table-manual__hint", { "table-manual__hint--error": !E.value }]) }, w(D(s)("dialogs.insertTable.validationHint", {
|
|
6395
|
-
minRows:
|
|
6396
|
-
maxRows:
|
|
6397
|
-
minCols:
|
|
6398
|
-
maxCols:
|
|
6384
|
+
minRows: tc,
|
|
6385
|
+
maxRows: nc,
|
|
6386
|
+
minCols: rc,
|
|
6387
|
+
maxCols: ic
|
|
6399
6388
|
})), 3),
|
|
6400
|
-
o("fieldset",
|
|
6389
|
+
o("fieldset", qs, [
|
|
6401
6390
|
o("legend", null, w(D(s)("dialogs.insertTable.columnWidthLabel")), 1),
|
|
6402
|
-
o("label",
|
|
6391
|
+
o("label", Js, [P(o("input", {
|
|
6403
6392
|
type: "radio",
|
|
6404
6393
|
value: "fixed",
|
|
6405
6394
|
"onUpdate:modelValue": r[3] ||= (e) => g.value = e
|
|
6406
6395
|
}, null, 512), [[k, g.value]]), o("span", null, w(D(s)("dialogs.insertTable.fixedWidth")), 1)]),
|
|
6407
|
-
o("label",
|
|
6396
|
+
o("label", Ys, [P(o("input", {
|
|
6408
6397
|
type: "radio",
|
|
6409
6398
|
value: "autofit",
|
|
6410
6399
|
"onUpdate:modelValue": r[4] ||= (e) => g.value = e
|
|
6411
6400
|
}, null, 512), [[k, g.value]]), o("span", null, w(D(s)("dialogs.insertTable.autofit")), 1)])
|
|
6412
6401
|
]),
|
|
6413
|
-
o("div",
|
|
6414
|
-
c(
|
|
6402
|
+
o("div", Xs, [o("span", null, w(D(s)("dialogs.insertTable.style")), 1)]),
|
|
6403
|
+
c(Fs, {
|
|
6415
6404
|
"current-style-id": _.value,
|
|
6416
6405
|
onApply: r[5] ||= (e) => _.value = e
|
|
6417
6406
|
}, null, 8, ["current-style-id"])
|
|
6418
6407
|
]),
|
|
6419
|
-
o("div",
|
|
6408
|
+
o("div", Zs, [o("button", {
|
|
6420
6409
|
class: "dialog__btn",
|
|
6421
6410
|
onMousedown: I(O, ["prevent"])
|
|
6422
6411
|
}, w(D(s)("common.cancel")), 33), o("button", {
|
|
6423
6412
|
class: "dialog__btn dialog__btn--primary",
|
|
6424
6413
|
disabled: !E.value,
|
|
6425
6414
|
onMousedown: r[6] ||= I((e) => F(), ["prevent"])
|
|
6426
|
-
}, w(D(s)("dialogs.insertTable.insertButton")), 41,
|
|
6415
|
+
}, w(D(s)("dialogs.insertTable.insertButton")), 41, Qs)])
|
|
6427
6416
|
], 32)], 32)) : i("", !0);
|
|
6428
6417
|
}
|
|
6429
|
-
}), [["__scopeId", "data-v-5aff406f"]]),
|
|
6418
|
+
}), [["__scopeId", "data-v-5aff406f"]]), oc = { class: "dialog__body" }, sc = { class: "options" }, cc = ["value"], lc = { class: "option__body" }, uc = { class: "option__label" }, dc = { class: "option__description" }, fc = { class: "dialog__footer" }, pc = /*#__PURE__*/ Z(/* @__PURE__ */ l({
|
|
6430
6419
|
__name: "PasteSpecialDialog",
|
|
6431
6420
|
props: {
|
|
6432
6421
|
isOpen: { type: Boolean },
|
|
@@ -6469,15 +6458,15 @@ var js = { class: "tsg" }, Ms = { class: "tsg__grid" }, Ns = ["title", "onMoused
|
|
|
6469
6458
|
}, {
|
|
6470
6459
|
default: N(() => [
|
|
6471
6460
|
c[4] ||= o("div", { class: "dialog__header" }, "Paste Special", -1),
|
|
6472
|
-
o("div",
|
|
6461
|
+
o("div", oc, [o("fieldset", sc, [c[3] ||= o("legend", { class: "options__legend" }, "Paste mode", -1), (v(), a(e, null, S(s, (e) => o("label", {
|
|
6473
6462
|
key: e.value,
|
|
6474
6463
|
class: "option"
|
|
6475
6464
|
}, [P(o("input", {
|
|
6476
6465
|
"onUpdate:modelValue": c[0] ||= (e) => u.value = e,
|
|
6477
6466
|
type: "radio",
|
|
6478
6467
|
value: e.value
|
|
6479
|
-
}, null, 8,
|
|
6480
|
-
o("div",
|
|
6468
|
+
}, null, 8, cc), [[k, u.value]]), o("span", lc, [o("span", uc, w(e.label), 1), o("span", dc, w(e.description), 1)])])), 64))])]),
|
|
6469
|
+
o("div", fc, [o("button", {
|
|
6481
6470
|
class: "dialog__btn",
|
|
6482
6471
|
onClick: c[1] ||= (e) => n.$emit("close")
|
|
6483
6472
|
}, "Cancel"), o("button", {
|
|
@@ -6488,7 +6477,7 @@ var js = { class: "tsg" }, Ms = { class: "tsg__grid" }, Ns = ["title", "onMoused
|
|
|
6488
6477
|
_: 1
|
|
6489
6478
|
}, 8, ["open"]));
|
|
6490
6479
|
}
|
|
6491
|
-
}), [["__scopeId", "data-v-b3987471"]]),
|
|
6480
|
+
}), [["__scopeId", "data-v-b3987471"]]), mc = { class: "dialog__body" }, hc = { class: "grid" }, gc = { class: "field" }, _c = { class: "field" }, vc = { class: "check" }, yc = { class: "dialog__footer" }, bc = ["disabled"], xc = 1, Sc = 63, Cc = /*#__PURE__*/ Z(/* @__PURE__ */ l({
|
|
6492
6481
|
__name: "SplitCellDialog",
|
|
6493
6482
|
props: {
|
|
6494
6483
|
isOpen: { type: Boolean },
|
|
@@ -6509,7 +6498,7 @@ var js = { class: "tsg" }, Ms = { class: "tsg__grid" }, Ns = ["title", "onMoused
|
|
|
6509
6498
|
}), s("close"));
|
|
6510
6499
|
}
|
|
6511
6500
|
function h(e) {
|
|
6512
|
-
return Math.min(
|
|
6501
|
+
return Math.min(Sc, Math.max(xc, Math.trunc(e)));
|
|
6513
6502
|
}
|
|
6514
6503
|
return (t, n) => (v(), r(D(i), {
|
|
6515
6504
|
open: e.isOpen,
|
|
@@ -6524,44 +6513,43 @@ var js = { class: "tsg" }, Ms = { class: "tsg__grid" }, Ns = ["title", "onMoused
|
|
|
6524
6513
|
}, {
|
|
6525
6514
|
default: N(() => [
|
|
6526
6515
|
n[8] ||= o("div", { class: "dialog__header" }, "Split Cell", -1),
|
|
6527
|
-
o("div",
|
|
6516
|
+
o("div", mc, [o("div", hc, [o("label", gc, [n[5] ||= o("span", { class: "field__label" }, "Columns", -1), P(o("input", {
|
|
6528
6517
|
"onUpdate:modelValue": n[0] ||= (e) => l.value = e,
|
|
6529
6518
|
class: "field__input",
|
|
6530
|
-
max:
|
|
6531
|
-
min:
|
|
6519
|
+
max: Sc,
|
|
6520
|
+
min: xc,
|
|
6532
6521
|
type: "number"
|
|
6533
6522
|
}, null, 512), [[
|
|
6534
6523
|
j,
|
|
6535
6524
|
l.value,
|
|
6536
6525
|
void 0,
|
|
6537
6526
|
{ number: !0 }
|
|
6538
|
-
]])]), o("label",
|
|
6527
|
+
]])]), o("label", _c, [n[6] ||= o("span", { class: "field__label" }, "Rows", -1), P(o("input", {
|
|
6539
6528
|
"onUpdate:modelValue": n[1] ||= (e) => c.value = e,
|
|
6540
6529
|
class: "field__input",
|
|
6541
|
-
max:
|
|
6542
|
-
min:
|
|
6530
|
+
max: Sc,
|
|
6531
|
+
min: xc,
|
|
6543
6532
|
type: "number"
|
|
6544
6533
|
}, null, 512), [[
|
|
6545
6534
|
j,
|
|
6546
6535
|
c.value,
|
|
6547
6536
|
void 0,
|
|
6548
6537
|
{ number: !0 }
|
|
6549
|
-
]])])]), o("label",
|
|
6538
|
+
]])])]), o("label", vc, [P(o("input", {
|
|
6550
6539
|
"onUpdate:modelValue": n[2] ||= (e) => u.value = e,
|
|
6551
6540
|
type: "checkbox"
|
|
6552
6541
|
}, null, 512), [[O, u.value]]), n[7] ||= o("span", null, "Merge selected cells before splitting", -1)])]),
|
|
6553
|
-
o("div",
|
|
6542
|
+
o("div", yc, [o("button", {
|
|
6554
6543
|
class: "dialog__btn",
|
|
6555
6544
|
onClick: n[3] ||= (e) => t.$emit("close")
|
|
6556
6545
|
}, "Cancel"), o("button", {
|
|
6557
6546
|
class: "dialog__btn dialog__btn--primary",
|
|
6558
6547
|
disabled: !p.value,
|
|
6559
6548
|
onClick: m
|
|
6560
|
-
}, " Split ", 8,
|
|
6549
|
+
}, " Split ", 8, bc)])
|
|
6561
6550
|
]),
|
|
6562
6551
|
_: 1
|
|
6563
6552
|
}, 8, ["open"]));
|
|
6564
6553
|
}
|
|
6565
6554
|
}), [["__scopeId", "data-v-022ada6a"]]);
|
|
6566
|
-
|
|
6567
|
-
export { Z as A, En as C, vn as D, bn as E, X as F, Rt as M, Ut as N, $t as O, Ht as P, Fn as S, Sn as T, Yn as _, Ss as a, Gn as b, Ia as c, Di as d, ci as f, Xn as g, Kn as h, Is as i, Kt as j, Yt as k, ga as l, ar as m, mc as n, ds as o, Mr as p, oc as r, vo as s, wc as t, ea as u, Jn as v, wn as w, Vn as x, Q as y };
|
|
6555
|
+
export { Z as A, Tn as C, _n as D, yn as E, X as F, Lt as M, Ht as N, Qt as O, Vt as P, Pn as S, xn as T, Jn as _, xs as a, Wn as b, Fa as c, Ei as d, si as f, Yn as g, Gn as h, Fs as i, Gt as j, Jt as k, ha as l, ir as m, pc as n, us as o, jr as p, ac as r, _o as s, Cc as t, $i as u, qn as v, Cn as w, Bn as x, Q as y };
|