@woven-canvas/vue 0.1.0 → 0.1.1
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/build/index.js +147 -147
- package/build/index.umd.cjs +31 -31
- package/build/style.css +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +5 -5
- package/src/theme.css +46 -46
package/build/index.js
CHANGED
|
@@ -17003,7 +17003,7 @@ const rP = { key: 0 }, oP = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"],
|
|
|
17003
17003
|
return (b, k) => (T(), O("div", {
|
|
17004
17004
|
ref_key: "containerRef",
|
|
17005
17005
|
ref: n,
|
|
17006
|
-
class: "
|
|
17006
|
+
class: "wov-arc-arrow"
|
|
17007
17007
|
}, [
|
|
17008
17008
|
(T(), O("svg", dP, [
|
|
17009
17009
|
f.value && g.value ? (T(), O("path", {
|
|
@@ -17049,7 +17049,7 @@ const rP = { key: 0 }, oP = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"],
|
|
|
17049
17049
|
d: g.value,
|
|
17050
17050
|
class: "highlight-overlay",
|
|
17051
17051
|
fill: "none",
|
|
17052
|
-
style: { "stroke-width": "calc(2px / var(--
|
|
17052
|
+
style: { "stroke-width": "calc(2px / var(--wov-zoom))" },
|
|
17053
17053
|
"stroke-linecap": "round"
|
|
17054
17054
|
}, null, 8, pP)) : y.value ? (T(), O("line", {
|
|
17055
17055
|
key: 1,
|
|
@@ -17059,25 +17059,25 @@ const rP = { key: 0 }, oP = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"],
|
|
|
17059
17059
|
y2: y.value.y2,
|
|
17060
17060
|
class: "highlight-overlay",
|
|
17061
17061
|
fill: "none",
|
|
17062
|
-
style: { "stroke-width": "calc(2px / var(--
|
|
17062
|
+
style: { "stroke-width": "calc(2px / var(--wov-zoom))" },
|
|
17063
17063
|
"stroke-linecap": "round"
|
|
17064
17064
|
}, null, 8, mP)) : ne("", !0),
|
|
17065
17065
|
m.value.startHead !== "none" ? (T(), se(po, {
|
|
17066
17066
|
key: 2,
|
|
17067
17067
|
position: m.value.start,
|
|
17068
17068
|
direction: m.value.startDir,
|
|
17069
|
-
thickness: "calc(2px / var(--
|
|
17069
|
+
thickness: "calc(2px / var(--wov-zoom))",
|
|
17070
17070
|
"arrow-thickness": c.value,
|
|
17071
|
-
color: "var(--
|
|
17071
|
+
color: "var(--wov-highlighted-block-outline-color)",
|
|
17072
17072
|
kind: m.value.startHead
|
|
17073
17073
|
}, null, 8, ["position", "direction", "arrow-thickness", "kind"])) : ne("", !0),
|
|
17074
17074
|
m.value.endHead !== "none" ? (T(), se(po, {
|
|
17075
17075
|
key: 3,
|
|
17076
17076
|
position: m.value.end,
|
|
17077
17077
|
direction: m.value.endDir,
|
|
17078
|
-
thickness: "calc(2px / var(--
|
|
17078
|
+
thickness: "calc(2px / var(--wov-zoom))",
|
|
17079
17079
|
"arrow-thickness": c.value,
|
|
17080
|
-
color: "var(--
|
|
17080
|
+
color: "var(--wov-highlighted-block-outline-color)",
|
|
17081
17081
|
kind: m.value.endHead
|
|
17082
17082
|
}, null, 8, ["position", "direction", "arrow-thickness", "kind"])) : ne("", !0)
|
|
17083
17083
|
], 64)) : ne("", !0)
|
|
@@ -17090,17 +17090,17 @@ const rP = { key: 0 }, oP = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"],
|
|
|
17090
17090
|
for (const [r, o] of e)
|
|
17091
17091
|
n[r] = o;
|
|
17092
17092
|
return n;
|
|
17093
|
-
}, yP = /* @__PURE__ */ bs(gP, [["__scopeId", "data-v-
|
|
17093
|
+
}, yP = /* @__PURE__ */ bs(gP, [["__scopeId", "data-v-bcf5b4f3"]]), vP = {}, wP = { class: "wov-arrow-handle" };
|
|
17094
17094
|
function bP(t, e) {
|
|
17095
17095
|
return T(), O("div", wP, [...e[0] || (e[0] = [
|
|
17096
|
-
A("div", { class: "
|
|
17096
|
+
A("div", { class: "wov-arrow-handle-inner" }, null, -1)
|
|
17097
17097
|
])]);
|
|
17098
17098
|
}
|
|
17099
|
-
const kP = /* @__PURE__ */ bs(vP, [["render", bP]]), SP = {}, xP = { class: "
|
|
17099
|
+
const kP = /* @__PURE__ */ bs(vP, [["render", bP]]), SP = {}, xP = { class: "wov-arrow-terminal" };
|
|
17100
17100
|
function CP(t, e) {
|
|
17101
17101
|
return T(), O("div", xP, [...e[0] || (e[0] = [
|
|
17102
|
-
A("div", { class: "
|
|
17103
|
-
A("div", { class: "
|
|
17102
|
+
A("div", { class: "wov-arrow-terminal-ring" }, [
|
|
17103
|
+
A("div", { class: "wov-arrow-terminal-fill" })
|
|
17104
17104
|
], -1)
|
|
17105
17105
|
])]);
|
|
17106
17106
|
}
|
|
@@ -17198,7 +17198,7 @@ const EP = /* @__PURE__ */ bs(SP, [["render", CP]]), TP = {
|
|
|
17198
17198
|
return (m, g) => (T(), O("div", {
|
|
17199
17199
|
ref_key: "containerRef",
|
|
17200
17200
|
ref: n,
|
|
17201
|
-
class: "
|
|
17201
|
+
class: "wov-elbow-arrow"
|
|
17202
17202
|
}, [
|
|
17203
17203
|
(T(), O("svg", TP, [
|
|
17204
17204
|
a.value && h.value.length > 0 ? (T(!0), O(De, { key: 0 }, Wt(h.value, (y, v) => (T(), O("line", {
|
|
@@ -17209,7 +17209,7 @@ const EP = /* @__PURE__ */ bs(SP, [["render", CP]]), TP = {
|
|
|
17209
17209
|
y2: y.end[1],
|
|
17210
17210
|
class: "highlight-bg",
|
|
17211
17211
|
fill: "none",
|
|
17212
|
-
style: { "stroke-width": "calc(2px / var(--
|
|
17212
|
+
style: { "stroke-width": "calc(2px / var(--wov-zoom))", "stroke-dasharray": "calc(12px / var(--wov-zoom))" },
|
|
17213
17213
|
"stroke-linecap": "round"
|
|
17214
17214
|
}, null, 8, MP))), 128)) : ne("", !0),
|
|
17215
17215
|
p.value ? (T(), O(De, { key: 1 }, [
|
|
@@ -17251,25 +17251,25 @@ const EP = /* @__PURE__ */ bs(SP, [["render", CP]]), TP = {
|
|
|
17251
17251
|
y2: y.end[1],
|
|
17252
17252
|
class: "highlight-overlay",
|
|
17253
17253
|
fill: "none",
|
|
17254
|
-
style: { "stroke-width": "calc(2px / var(--
|
|
17254
|
+
style: { "stroke-width": "calc(2px / var(--wov-zoom))" },
|
|
17255
17255
|
"stroke-linecap": "round"
|
|
17256
17256
|
}, null, 8, AP))), 128)),
|
|
17257
17257
|
p.value.startHead !== "none" ? (T(), se(po, {
|
|
17258
17258
|
key: 0,
|
|
17259
17259
|
position: p.value.startPos,
|
|
17260
17260
|
direction: p.value.startDir,
|
|
17261
|
-
thickness: "calc(2px / var(--
|
|
17261
|
+
thickness: "calc(2px / var(--wov-zoom))",
|
|
17262
17262
|
"arrow-thickness": u.value,
|
|
17263
|
-
color: "var(--
|
|
17263
|
+
color: "var(--wov-highlighted-block-outline-color)",
|
|
17264
17264
|
kind: p.value.startHead
|
|
17265
17265
|
}, null, 8, ["position", "direction", "arrow-thickness", "kind"])) : ne("", !0),
|
|
17266
17266
|
p.value.endHead !== "none" ? (T(), se(po, {
|
|
17267
17267
|
key: 1,
|
|
17268
17268
|
position: p.value.endPos,
|
|
17269
17269
|
direction: p.value.endDir,
|
|
17270
|
-
thickness: "calc(2px / var(--
|
|
17270
|
+
thickness: "calc(2px / var(--wov-zoom))",
|
|
17271
17271
|
"arrow-thickness": u.value,
|
|
17272
|
-
color: "var(--
|
|
17272
|
+
color: "var(--wov-highlighted-block-outline-color)",
|
|
17273
17273
|
kind: p.value.endHead
|
|
17274
17274
|
}, null, 8, ["position", "direction", "arrow-thickness", "kind"])) : ne("", !0)
|
|
17275
17275
|
], 64)) : ne("", !0)
|
|
@@ -17277,7 +17277,7 @@ const EP = /* @__PURE__ */ bs(SP, [["render", CP]]), TP = {
|
|
|
17277
17277
|
]))
|
|
17278
17278
|
], 512));
|
|
17279
17279
|
}
|
|
17280
|
-
}), PP = /* @__PURE__ */ bs(IP, [["__scopeId", "data-v-
|
|
17280
|
+
}), PP = /* @__PURE__ */ bs(IP, [["__scopeId", "data-v-b2719db1"]]);
|
|
17281
17281
|
var OP = Object.defineProperty, _f = (t, e) => {
|
|
17282
17282
|
for (var n in e)
|
|
17283
17283
|
OP(t, n, { get: e[n], enumerable: !0 });
|
|
@@ -17645,7 +17645,7 @@ function nO(t, e = {}) {
|
|
|
17645
17645
|
function xd(t, e = {}) {
|
|
17646
17646
|
return tO(nO(t, e), e);
|
|
17647
17647
|
}
|
|
17648
|
-
const rO = { class: "
|
|
17648
|
+
const rO = { class: "wov-eraser-stroke" }, oO = { preserveAspectRatio: "none" }, sO = ["d"], iO = "#88888833", aO = /* @__PURE__ */ oe({
|
|
17649
17649
|
__name: "Eraser",
|
|
17650
17650
|
props: {
|
|
17651
17651
|
entityId: {}
|
|
@@ -17716,16 +17716,16 @@ const rO = { class: "ic-eraser-stroke" }, oO = { preserveAspectRatio: "none" },
|
|
|
17716
17716
|
]))
|
|
17717
17717
|
]));
|
|
17718
17718
|
}
|
|
17719
|
-
}), lO = { class: "
|
|
17719
|
+
}), lO = { class: "wov-image-block" }, cO = {
|
|
17720
17720
|
key: 0,
|
|
17721
|
-
class: "
|
|
17721
|
+
class: "wov-image-placeholder"
|
|
17722
17722
|
}, uO = {
|
|
17723
17723
|
key: 1,
|
|
17724
|
-
class: "
|
|
17724
|
+
class: "wov-image-placeholder wov-image-error"
|
|
17725
17725
|
}, dO = ["src", "alt"], fO = {
|
|
17726
17726
|
key: 3,
|
|
17727
|
-
class: "
|
|
17728
|
-
}, hO = { class: "
|
|
17727
|
+
class: "wov-image-upload-overlay"
|
|
17728
|
+
}, hO = { class: "wov-image-upload-status" }, pO = /* @__PURE__ */ oe({
|
|
17729
17729
|
__name: "ImageBlock",
|
|
17730
17730
|
props: {
|
|
17731
17731
|
entityId: {},
|
|
@@ -18187,7 +18187,7 @@ const OO = ["data-complete"], DO = { preserveAspectRatio: "none" }, NO = ["d", "
|
|
|
18187
18187
|
return (d, f) => {
|
|
18188
18188
|
var h;
|
|
18189
18189
|
return T(), O("div", {
|
|
18190
|
-
class: "
|
|
18190
|
+
class: "wov-pen-stroke",
|
|
18191
18191
|
"data-complete": ((h = L(n)) == null ? void 0 : h.isComplete) || void 0
|
|
18192
18192
|
}, [
|
|
18193
18193
|
(T(), O("svg", DO, [
|
|
@@ -18199,8 +18199,8 @@ const OO = ["data-complete"], DO = { preserveAspectRatio: "none" }, NO = ["d", "
|
|
|
18199
18199
|
u.value ? (T(), O("svg", BO, [
|
|
18200
18200
|
A("path", {
|
|
18201
18201
|
d: i.value,
|
|
18202
|
-
stroke: "var(--
|
|
18203
|
-
style: { "stroke-width": "calc(1px / var(--
|
|
18202
|
+
stroke: "var(--wov-highlighted-block-outline-color)",
|
|
18203
|
+
style: { "stroke-width": "calc(1px / var(--wov-zoom))" },
|
|
18204
18204
|
fill: "none",
|
|
18205
18205
|
"stroke-linecap": "round",
|
|
18206
18206
|
"stroke-linejoin": "round"
|
|
@@ -18209,7 +18209,7 @@ const OO = ["data-complete"], DO = { preserveAspectRatio: "none" }, NO = ["d", "
|
|
|
18209
18209
|
], 8, OO);
|
|
18210
18210
|
};
|
|
18211
18211
|
}
|
|
18212
|
-
}), $O = /* @__PURE__ */ bs(zO, [["__scopeId", "data-v-
|
|
18212
|
+
}), $O = /* @__PURE__ */ bs(zO, [["__scopeId", "data-v-9b41c649"]]);
|
|
18213
18213
|
function en() {
|
|
18214
18214
|
const t = At(fr);
|
|
18215
18215
|
if (!t)
|
|
@@ -32884,7 +32884,7 @@ function Dz(t, e, n) {
|
|
|
32884
32884
|
return { width: t / r - s * o / r, height: s };
|
|
32885
32885
|
}
|
|
32886
32886
|
function ah(t, e, n) {
|
|
32887
|
-
const r = t.closest(".
|
|
32887
|
+
const r = t.closest(".wov-block");
|
|
32888
32888
|
if (!r) {
|
|
32889
32889
|
const C = t.getBoundingClientRect();
|
|
32890
32890
|
return { width: C.width, height: C.height, left: 0, top: 0 };
|
|
@@ -33199,7 +33199,7 @@ function Vz(t, e) {
|
|
|
33199
33199
|
}
|
|
33200
33200
|
function gg(t) {
|
|
33201
33201
|
const e = document.querySelector(`[data-entity-id="${t}"]`);
|
|
33202
|
-
return e ? e.querySelector(".
|
|
33202
|
+
return e ? e.querySelector(".wov-editable-text") : null;
|
|
33203
33203
|
}
|
|
33204
33204
|
function yg(t, e, n, r) {
|
|
33205
33205
|
var a;
|
|
@@ -33668,7 +33668,7 @@ const Kz = { key: 1 }, Yz = ["innerHTML"], ch = /* @__PURE__ */ oe({
|
|
|
33668
33668
|
}), (w, C) => (T(), O("div", {
|
|
33669
33669
|
ref_key: "editableTextRef",
|
|
33670
33670
|
ref: u,
|
|
33671
|
-
class: "
|
|
33671
|
+
class: "wov-editable-text",
|
|
33672
33672
|
style: ot(y.value),
|
|
33673
33673
|
onKeydown: v,
|
|
33674
33674
|
onPointerdown: b,
|
|
@@ -33687,7 +33687,7 @@ const Kz = { key: 1 }, Yz = ["innerHTML"], ch = /* @__PURE__ */ oe({
|
|
|
33687
33687
|
], 36));
|
|
33688
33688
|
}
|
|
33689
33689
|
}), qz = {
|
|
33690
|
-
class: "
|
|
33690
|
+
class: "wov-shape-svg",
|
|
33691
33691
|
viewBox: "0 0 100 100",
|
|
33692
33692
|
preserveAspectRatio: "none"
|
|
33693
33693
|
}, Jz = ["d", "fill", "stroke", "stroke-width", "stroke-dasharray"], Xz = /* @__PURE__ */ oe({
|
|
@@ -33747,7 +33747,7 @@ const Kz = { key: 1 }, Yz = ["innerHTML"], ch = /* @__PURE__ */ oe({
|
|
|
33747
33747
|
return (m, g) => (T(), O("div", {
|
|
33748
33748
|
ref_key: "containerRef",
|
|
33749
33749
|
ref: o,
|
|
33750
|
-
class: "
|
|
33750
|
+
class: "wov-shape-block"
|
|
33751
33751
|
}, [
|
|
33752
33752
|
(T(), O("svg", qz, [
|
|
33753
33753
|
A("path", {
|
|
@@ -33762,7 +33762,7 @@ const Kz = { key: 1 }, Yz = ["innerHTML"], ch = /* @__PURE__ */ oe({
|
|
|
33762
33762
|
}, null, 8, Jz)
|
|
33763
33763
|
])),
|
|
33764
33764
|
A("div", {
|
|
33765
|
-
class: "
|
|
33765
|
+
class: "wov-shape-content",
|
|
33766
33766
|
style: ot(f.value)
|
|
33767
33767
|
}, [
|
|
33768
33768
|
he(ch, Nt(e, {
|
|
@@ -33796,7 +33796,7 @@ const Kz = { key: 1 }, Yz = ["innerHTML"], ch = /* @__PURE__ */ oe({
|
|
|
33796
33796
|
return (i, a) => (T(), O("div", {
|
|
33797
33797
|
ref_key: "containerRef",
|
|
33798
33798
|
ref: n,
|
|
33799
|
-
class: "
|
|
33799
|
+
class: "wov-text-block",
|
|
33800
33800
|
"data-text-empty": o.value || void 0
|
|
33801
33801
|
}, [
|
|
33802
33802
|
he(ch, Nt(e, {
|
|
@@ -34893,7 +34893,7 @@ const j$ = ["menu-open"], Ar = /* @__PURE__ */ oe({
|
|
|
34893
34893
|
A("div", {
|
|
34894
34894
|
ref_key: "buttonRef",
|
|
34895
34895
|
ref: l,
|
|
34896
|
-
class: Qt(["
|
|
34896
|
+
class: Qt(["wov-menu-dropdown-trigger", { "is-open": a.value }]),
|
|
34897
34897
|
"menu-open": a.value || void 0,
|
|
34898
34898
|
onMousedown: y[0] || (y[0] = Eo(() => {
|
|
34899
34899
|
}, ["prevent"])),
|
|
@@ -34911,7 +34911,7 @@ const j$ = ["menu-open"], Ar = /* @__PURE__ */ oe({
|
|
|
34911
34911
|
key: 0,
|
|
34912
34912
|
ref_key: "dropdownRef",
|
|
34913
34913
|
ref: c,
|
|
34914
|
-
class: "
|
|
34914
|
+
class: "wov-menu-dropdown",
|
|
34915
34915
|
style: ot(L(u))
|
|
34916
34916
|
}, [
|
|
34917
34917
|
Ue(g.$slots, "dropdown", { close: f })
|
|
@@ -34922,14 +34922,14 @@ const j$ = ["menu-open"], Ar = /* @__PURE__ */ oe({
|
|
|
34922
34922
|
}), Z$ = {}, K$ = {
|
|
34923
34923
|
viewBox: "0 0 512 320",
|
|
34924
34924
|
fill: "currentColor",
|
|
34925
|
-
style: { width: "7px", color: "var(--
|
|
34925
|
+
style: { width: "7px", color: "var(--wov-gray-300)" }
|
|
34926
34926
|
};
|
|
34927
34927
|
function Y$(t, e) {
|
|
34928
34928
|
return T(), O("svg", K$, [...e[0] || (e[0] = [
|
|
34929
34929
|
A("path", { d: "M233.4 278.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 210.7 86.6 41.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z" }, null, -1)
|
|
34930
34930
|
])]);
|
|
34931
34931
|
}
|
|
34932
|
-
const Ir = /* @__PURE__ */ bs(Z$, [["render", Y$]]), q$ = { class: "
|
|
34932
|
+
const Ir = /* @__PURE__ */ bs(Z$, [["render", Y$]]), q$ = { class: "wov-menu-button" }, J$ = ["innerHTML"], X$ = ["onClick"], G$ = ["innerHTML"], _g = /* @__PURE__ */ oe({
|
|
34933
34933
|
__name: "ArrowHeadButton",
|
|
34934
34934
|
props: {
|
|
34935
34935
|
entityIds: {},
|
|
@@ -34996,13 +34996,13 @@ const Ir = /* @__PURE__ */ bs(Z$, [["render", Y$]]), q$ = { class: "ic-menu-butt
|
|
|
34996
34996
|
fill: "none",
|
|
34997
34997
|
innerHTML: i(o.value)
|
|
34998
34998
|
}, null, 8, J$)),
|
|
34999
|
-
he(Ir, { class: "
|
|
34999
|
+
he(Ir, { class: "wov-chevron-down" })
|
|
35000
35000
|
])
|
|
35001
35001
|
]),
|
|
35002
35002
|
dropdown: ke(() => [
|
|
35003
35003
|
(T(!0), O(De, null, Wt(L(av), (c) => (T(), O("button", {
|
|
35004
35004
|
key: c.kind,
|
|
35005
|
-
class: Qt(["
|
|
35005
|
+
class: Qt(["wov-menu-option", { "is-active": r.value === c.kind }]),
|
|
35006
35006
|
onClick: (u) => s(c.kind)
|
|
35007
35007
|
}, [
|
|
35008
35008
|
(T(), O("svg", {
|
|
@@ -35018,7 +35018,7 @@ const Ir = /* @__PURE__ */ bs(Z$, [["render", Y$]]), q$ = { class: "ic-menu-butt
|
|
|
35018
35018
|
_: 1
|
|
35019
35019
|
}, 8, ["title"]));
|
|
35020
35020
|
}
|
|
35021
|
-
}), Q$ = { class: "
|
|
35021
|
+
}), Q$ = { class: "wov-menu-button" }, e4 = ["onClick"], t4 = /* @__PURE__ */ oe({
|
|
35022
35022
|
__name: "ArrowThicknessButton",
|
|
35023
35023
|
props: {
|
|
35024
35024
|
entityIds: {}
|
|
@@ -35098,13 +35098,13 @@ const Ir = /* @__PURE__ */ bs(Z$, [["render", Y$]]), q$ = { class: "ic-menu-butt
|
|
|
35098
35098
|
"stroke-width": "4"
|
|
35099
35099
|
})
|
|
35100
35100
|
], -1)),
|
|
35101
|
-
he(Ir, { class: "
|
|
35101
|
+
he(Ir, { class: "wov-chevron-down" })
|
|
35102
35102
|
])
|
|
35103
35103
|
]),
|
|
35104
35104
|
dropdown: ke(() => [
|
|
35105
35105
|
(T(), O(De, null, Wt(e, (l) => A("button", {
|
|
35106
35106
|
key: l.value,
|
|
35107
|
-
class: Qt(["
|
|
35107
|
+
class: Qt(["wov-menu-option wov-arrow-thickness-option", { "is-active": o.value === l.value }]),
|
|
35108
35108
|
onClick: (c) => s(l.value)
|
|
35109
35109
|
}, Xt(l.label), 11, e4)), 64))
|
|
35110
35110
|
]),
|
|
@@ -35156,8 +35156,8 @@ const Ir = /* @__PURE__ */ bs(Z$, [["render", Y$]]), q$ = { class: "ic-menu-butt
|
|
|
35156
35156
|
}
|
|
35157
35157
|
}
|
|
35158
35158
|
return (u, d) => (T(), O("input", {
|
|
35159
|
-
id: "
|
|
35160
|
-
class: "
|
|
35159
|
+
id: "wov-color-input",
|
|
35160
|
+
class: "wov-color-input",
|
|
35161
35161
|
type: "text",
|
|
35162
35162
|
size: "1",
|
|
35163
35163
|
"aria-label": "Hex color value",
|
|
@@ -35198,16 +35198,16 @@ const Ir = /* @__PURE__ */ bs(Z$, [["render", Y$]]), q$ = { class: "ic-menu-butt
|
|
|
35198
35198
|
return e({ isDragging: s }), (c, u) => (T(), O("div", {
|
|
35199
35199
|
ref_key: "sliderRef",
|
|
35200
35200
|
ref: o,
|
|
35201
|
-
class: "
|
|
35201
|
+
class: "wov-color-slider",
|
|
35202
35202
|
onPointerdown: Eo(i, ["prevent"])
|
|
35203
35203
|
}, [
|
|
35204
35204
|
t.background ? (T(), O("div", {
|
|
35205
35205
|
key: 0,
|
|
35206
|
-
class: "
|
|
35206
|
+
class: "wov-color-slider-gradient",
|
|
35207
35207
|
style: ot({ background: t.background })
|
|
35208
35208
|
}, null, 4)) : ne("", !0),
|
|
35209
35209
|
A("div", {
|
|
35210
|
-
class: "
|
|
35210
|
+
class: "wov-color-slider-thumb",
|
|
35211
35211
|
style: ot({
|
|
35212
35212
|
top: `${t.modelValue}%`,
|
|
35213
35213
|
backgroundColor: t.thumbColor
|
|
@@ -35215,7 +35215,7 @@ const Ir = /* @__PURE__ */ bs(Z$, [["render", Y$]]), q$ = { class: "ic-menu-butt
|
|
|
35215
35215
|
}, null, 4)
|
|
35216
35216
|
], 544));
|
|
35217
35217
|
}
|
|
35218
|
-
}), o4 = { class: "
|
|
35218
|
+
}), o4 = { class: "wov-color-picker" }, s4 = { class: "wov-color-picker-area" }, i4 = { class: "wov-color-picker-selector-gradient" }, a4 = "linear-gradient(to bottom, red 0%, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, red 100%)", l4 = /* @__PURE__ */ oe({
|
|
35219
35219
|
__name: "ColorPicker",
|
|
35220
35220
|
props: {
|
|
35221
35221
|
modelValue: {},
|
|
@@ -35292,13 +35292,13 @@ const Ir = /* @__PURE__ */ bs(Z$, [["render", Y$]]), q$ = { class: "ic-menu-butt
|
|
|
35292
35292
|
A("div", {
|
|
35293
35293
|
ref_key: "selectorRef",
|
|
35294
35294
|
ref: i,
|
|
35295
|
-
class: "
|
|
35295
|
+
class: "wov-color-picker-selector",
|
|
35296
35296
|
style: ot({ backgroundColor: h.value }),
|
|
35297
35297
|
onPointerdown: Eo(b, ["prevent"])
|
|
35298
35298
|
}, [
|
|
35299
35299
|
A("div", i4, [
|
|
35300
35300
|
A("div", {
|
|
35301
|
-
class: "
|
|
35301
|
+
class: "wov-color-picker-selector-thumb",
|
|
35302
35302
|
style: ot({
|
|
35303
35303
|
left: `${a.value.x}%`,
|
|
35304
35304
|
top: `${a.value.y}%`,
|
|
@@ -35323,14 +35323,14 @@ const Ir = /* @__PURE__ */ bs(Z$, [["render", Y$]]), q$ = { class: "ic-menu-butt
|
|
|
35323
35323
|
"onUpdate:modelValue": E[1] || (E[1] = (D) => c.value = D),
|
|
35324
35324
|
thumbColor: p.value,
|
|
35325
35325
|
background: g.value,
|
|
35326
|
-
class: "
|
|
35326
|
+
class: "wov-color-picker-opacity"
|
|
35327
35327
|
}, null, 8, ["modelValue", "thumbColor", "background"])) : ne("", !0)
|
|
35328
35328
|
])
|
|
35329
35329
|
]));
|
|
35330
35330
|
}
|
|
35331
|
-
}), c4 = { class: "
|
|
35331
|
+
}), c4 = { class: "wov-color-bubbles-container" }, u4 = {
|
|
35332
35332
|
key: 1,
|
|
35333
|
-
class: "
|
|
35333
|
+
class: "wov-color-bubbles"
|
|
35334
35334
|
}, d4 = ["onClick"], Wc = /* @__PURE__ */ oe({
|
|
35335
35335
|
__name: "ColorBubbles",
|
|
35336
35336
|
props: {
|
|
@@ -35398,7 +35398,7 @@ const Ir = /* @__PURE__ */ bs(Z$, [["render", Y$]]), q$ = { class: "ic-menu-butt
|
|
|
35398
35398
|
}, null, 8, ["modelValue", "withOpacity"])) : (T(), O("div", u4, [
|
|
35399
35399
|
(T(!0), O(De, null, Wt(s.value, (g) => (T(), O("div", {
|
|
35400
35400
|
key: g,
|
|
35401
|
-
class: Qt(["
|
|
35401
|
+
class: Qt(["wov-color-bubble", { selected: c(g) }]),
|
|
35402
35402
|
style: ot({ backgroundColor: g }),
|
|
35403
35403
|
onMousedown: m[1] || (m[1] = Eo(() => {
|
|
35404
35404
|
}, ["prevent"])),
|
|
@@ -35406,7 +35406,7 @@ const Ir = /* @__PURE__ */ bs(Z$, [["render", Y$]]), q$ = { class: "ic-menu-butt
|
|
|
35406
35406
|
}, null, 46, d4))), 128)),
|
|
35407
35407
|
t.withPicker ? (T(), O("div", {
|
|
35408
35408
|
key: 0,
|
|
35409
|
-
class: Qt(["
|
|
35409
|
+
class: Qt(["wov-color-bubble wov-rainbow-bubble", { selected: u() }]),
|
|
35410
35410
|
onMousedown: m[2] || (m[2] = Eo(() => {
|
|
35411
35411
|
}, ["prevent"])),
|
|
35412
35412
|
onClick: f
|
|
@@ -35414,7 +35414,7 @@ const Ir = /* @__PURE__ */ bs(Z$, [["render", Y$]]), q$ = { class: "ic-menu-butt
|
|
|
35414
35414
|
]))
|
|
35415
35415
|
]));
|
|
35416
35416
|
}
|
|
35417
|
-
}), f4 = { class: "
|
|
35417
|
+
}), f4 = { class: "wov-color-button" }, h4 = /* @__PURE__ */ oe({
|
|
35418
35418
|
__name: "ColorButton",
|
|
35419
35419
|
props: {
|
|
35420
35420
|
entityIds: {}
|
|
@@ -35449,10 +35449,10 @@ const Ir = /* @__PURE__ */ bs(Z$, [["render", Y$]]), q$ = { class: "ic-menu-butt
|
|
|
35449
35449
|
button: ke(() => [
|
|
35450
35450
|
A("div", f4, [
|
|
35451
35451
|
A("div", {
|
|
35452
|
-
class: "
|
|
35452
|
+
class: "wov-color-swatch",
|
|
35453
35453
|
style: ot(a.value)
|
|
35454
35454
|
}, null, 4),
|
|
35455
|
-
he(Ir, { class: "
|
|
35455
|
+
he(Ir, { class: "wov-chevron-down" })
|
|
35456
35456
|
])
|
|
35457
35457
|
]),
|
|
35458
35458
|
dropdown: ke(() => [
|
|
@@ -35486,7 +35486,7 @@ const Ir = /* @__PURE__ */ bs(Z$, [["render", Y$]]), q$ = { class: "ic-menu-butt
|
|
|
35486
35486
|
return (u, d) => (T(), O("button", {
|
|
35487
35487
|
ref_key: "buttonRef",
|
|
35488
35488
|
ref: o,
|
|
35489
|
-
class: "
|
|
35489
|
+
class: "wov-menu-button",
|
|
35490
35490
|
onClick: a,
|
|
35491
35491
|
onMouseenter: l,
|
|
35492
35492
|
onMouseleave: c
|
|
@@ -35515,7 +35515,7 @@ const Ir = /* @__PURE__ */ bs(Z$, [["render", Y$]]), q$ = { class: "ic-menu-butt
|
|
|
35515
35515
|
key: 0,
|
|
35516
35516
|
to: L(r)
|
|
35517
35517
|
}, [
|
|
35518
|
-
he(Yd, { name: "
|
|
35518
|
+
he(Yd, { name: "wov-tooltip-fade" }, {
|
|
35519
35519
|
default: ke(() => {
|
|
35520
35520
|
var u;
|
|
35521
35521
|
return [
|
|
@@ -35523,7 +35523,7 @@ const Ir = /* @__PURE__ */ bs(Z$, [["render", Y$]]), q$ = { class: "ic-menu-butt
|
|
|
35523
35523
|
key: 0,
|
|
35524
35524
|
ref_key: "tooltipRef",
|
|
35525
35525
|
ref: o,
|
|
35526
|
-
class: "
|
|
35526
|
+
class: "wov-menu-tooltip",
|
|
35527
35527
|
style: ot(L(i))
|
|
35528
35528
|
}, Xt((u = L(e)) == null ? void 0 : u.text), 5)) : ne("", !0)
|
|
35529
35529
|
];
|
|
@@ -35532,7 +35532,7 @@ const Ir = /* @__PURE__ */ bs(Z$, [["render", Y$]]), q$ = { class: "ic-menu-butt
|
|
|
35532
35532
|
})
|
|
35533
35533
|
], 8, ["to"])) : ne("", !0);
|
|
35534
35534
|
}
|
|
35535
|
-
}), p4 = { class: "
|
|
35535
|
+
}), p4 = { class: "wov-menu-button" }, m4 = ["onClick"], g4 = /* @__PURE__ */ oe({
|
|
35536
35536
|
__name: "PenStrokeThicknessButton",
|
|
35537
35537
|
props: {
|
|
35538
35538
|
entityIds: {}
|
|
@@ -35595,22 +35595,22 @@ const Ir = /* @__PURE__ */ bs(Z$, [["render", Y$]]), q$ = { class: "ic-menu-butt
|
|
|
35595
35595
|
"stroke-width": "4"
|
|
35596
35596
|
})
|
|
35597
35597
|
], -1)),
|
|
35598
|
-
he(Ir, { class: "
|
|
35598
|
+
he(Ir, { class: "wov-chevron-down" })
|
|
35599
35599
|
])
|
|
35600
35600
|
]),
|
|
35601
35601
|
dropdown: ke(() => [
|
|
35602
35602
|
(T(), O(De, null, Wt(e, (c) => A("button", {
|
|
35603
35603
|
key: c.value,
|
|
35604
|
-
class: Qt(["
|
|
35604
|
+
class: Qt(["wov-menu-option wov-pen-thickness-option", { "is-active": s.value === c.value }]),
|
|
35605
35605
|
onClick: (u) => i(c.value)
|
|
35606
35606
|
}, Xt(c.label), 11, m4)), 64))
|
|
35607
35607
|
]),
|
|
35608
35608
|
_: 1
|
|
35609
35609
|
}));
|
|
35610
35610
|
}
|
|
35611
|
-
}), y4 = { class: "
|
|
35611
|
+
}), y4 = { class: "wov-fill-color-button" }, v4 = { class: "wov-fill-dropdown" }, w4 = {
|
|
35612
35612
|
key: 0,
|
|
35613
|
-
class: "
|
|
35613
|
+
class: "wov-fill-mode-section"
|
|
35614
35614
|
}, b4 = ["title", "onClick"], k4 = {
|
|
35615
35615
|
viewBox: "0 0 24 24",
|
|
35616
35616
|
fill: "none"
|
|
@@ -35672,7 +35672,7 @@ const Ir = /* @__PURE__ */ bs(Z$, [["render", Y$]]), q$ = { class: "ic-menu-butt
|
|
|
35672
35672
|
A("div", y4, [
|
|
35673
35673
|
p[1] || (p[1] = A("svg", {
|
|
35674
35674
|
viewBox: "0 0 20 20",
|
|
35675
|
-
class: "
|
|
35675
|
+
class: "wov-fill-color-icon",
|
|
35676
35676
|
stroke: "currentColor",
|
|
35677
35677
|
fill: "none",
|
|
35678
35678
|
"stroke-linecap": "round",
|
|
@@ -35687,7 +35687,7 @@ const Ir = /* @__PURE__ */ bs(Z$, [["render", Y$]]), q$ = { class: "ic-menu-butt
|
|
|
35687
35687
|
"stroke-width": "1.25"
|
|
35688
35688
|
})
|
|
35689
35689
|
], -1)),
|
|
35690
|
-
he(Ir, { class: "
|
|
35690
|
+
he(Ir, { class: "wov-chevron-down" })
|
|
35691
35691
|
])
|
|
35692
35692
|
]),
|
|
35693
35693
|
dropdown: ke(() => [
|
|
@@ -35695,7 +35695,7 @@ const Ir = /* @__PURE__ */ bs(Z$, [["render", Y$]]), q$ = { class: "ic-menu-butt
|
|
|
35695
35695
|
f.value ? ne("", !0) : (T(), O("div", w4, [
|
|
35696
35696
|
(T(), O(De, null, Wt(o, (m) => A("button", {
|
|
35697
35697
|
key: m.mode,
|
|
35698
|
-
class: Qt(["
|
|
35698
|
+
class: Qt(["wov-fill-mode-option", {
|
|
35699
35699
|
"is-active": !i.value && m.mode === s.value
|
|
35700
35700
|
}]),
|
|
35701
35701
|
title: m.label,
|
|
@@ -35731,9 +35731,9 @@ const Ir = /* @__PURE__ */ bs(Z$, [["render", Y$]]), q$ = { class: "ic-menu-butt
|
|
|
35731
35731
|
_: 1
|
|
35732
35732
|
}));
|
|
35733
35733
|
}
|
|
35734
|
-
}), C4 = { class: "
|
|
35734
|
+
}), C4 = { class: "wov-shape-kind-button" }, E4 = { class: "wov-shape-kind-dropdown" }, T4 = ["onClick"], M4 = {
|
|
35735
35735
|
viewBox: "0 0 20 20",
|
|
35736
|
-
class: "
|
|
35736
|
+
class: "wov-shape-option-icon",
|
|
35737
35737
|
fill: "none",
|
|
35738
35738
|
stroke: "currentColor",
|
|
35739
35739
|
"stroke-width": "4"
|
|
@@ -35770,7 +35770,7 @@ const Ir = /* @__PURE__ */ bs(Z$, [["render", Y$]]), q$ = { class: "ic-menu-butt
|
|
|
35770
35770
|
A("div", C4, [
|
|
35771
35771
|
c[0] || (c[0] = A("svg", {
|
|
35772
35772
|
viewBox: "0 0 20 20",
|
|
35773
|
-
class: "
|
|
35773
|
+
class: "wov-shape-kind-icon",
|
|
35774
35774
|
fill: "none",
|
|
35775
35775
|
stroke: "currentColor",
|
|
35776
35776
|
"stroke-width": "1.5"
|
|
@@ -35785,17 +35785,17 @@ const Ir = /* @__PURE__ */ bs(Z$, [["render", Y$]]), q$ = { class: "ic-menu-butt
|
|
|
35785
35785
|
y: "6",
|
|
35786
35786
|
width: "10",
|
|
35787
35787
|
height: "10",
|
|
35788
|
-
fill: "var(--
|
|
35788
|
+
fill: "var(--wov-gray-600)"
|
|
35789
35789
|
})
|
|
35790
35790
|
], -1)),
|
|
35791
|
-
he(Ir, { class: "
|
|
35791
|
+
he(Ir, { class: "wov-chevron-down" })
|
|
35792
35792
|
])
|
|
35793
35793
|
]),
|
|
35794
35794
|
dropdown: ke(() => [
|
|
35795
35795
|
A("div", E4, [
|
|
35796
35796
|
(T(!0), O(De, null, Wt(i.value, (u) => (T(), O("button", {
|
|
35797
35797
|
key: u.kind,
|
|
35798
|
-
class: Qt(["
|
|
35798
|
+
class: Qt(["wov-shape-kind-option", {
|
|
35799
35799
|
"is-selected": !s.value && u.kind === o.value
|
|
35800
35800
|
}]),
|
|
35801
35801
|
onClick: (d) => a(u.kind)
|
|
@@ -35813,7 +35813,7 @@ const Ir = /* @__PURE__ */ bs(Z$, [["render", Y$]]), q$ = { class: "ic-menu-butt
|
|
|
35813
35813
|
_: 1
|
|
35814
35814
|
}));
|
|
35815
35815
|
}
|
|
35816
|
-
}), I4 = { class: "
|
|
35816
|
+
}), I4 = { class: "wov-stroke-style-section" }, P4 = ["title", "onClick"], O4 = {
|
|
35817
35817
|
viewBox: "0 0 24 8",
|
|
35818
35818
|
fill: "none",
|
|
35819
35819
|
stroke: "currentColor",
|
|
@@ -35848,7 +35848,7 @@ const Ir = /* @__PURE__ */ bs(Z$, [["render", Y$]]), q$ = { class: "ic-menu-butt
|
|
|
35848
35848
|
return (i, a) => (T(), O("div", I4, [
|
|
35849
35849
|
(T(), O(De, null, Wt(r, (l) => A("button", {
|
|
35850
35850
|
key: l.kind,
|
|
35851
|
-
class: Qt(["
|
|
35851
|
+
class: Qt(["wov-stroke-style-option", {
|
|
35852
35852
|
"is-active": !t.hasMultipleStyles && l.kind === t.currentStyle
|
|
35853
35853
|
}]),
|
|
35854
35854
|
title: l.label,
|
|
@@ -35869,9 +35869,9 @@ const Ir = /* @__PURE__ */ bs(Z$, [["render", Y$]]), q$ = { class: "ic-menu-butt
|
|
|
35869
35869
|
], 10, P4)), 64))
|
|
35870
35870
|
]));
|
|
35871
35871
|
}
|
|
35872
|
-
}), B4 = { class: "
|
|
35872
|
+
}), B4 = { class: "wov-stroke-color-button" }, R4 = { class: "wov-stroke-dropdown" }, z4 = {
|
|
35873
35873
|
key: 1,
|
|
35874
|
-
class: "
|
|
35874
|
+
class: "wov-stroke-divider"
|
|
35875
35875
|
}, $4 = /* @__PURE__ */ oe({
|
|
35876
35876
|
__name: "ShapeStrokeColorButton",
|
|
35877
35877
|
props: {
|
|
@@ -35921,7 +35921,7 @@ const Ir = /* @__PURE__ */ bs(Z$, [["render", Y$]]), q$ = { class: "ic-menu-butt
|
|
|
35921
35921
|
A("div", B4, [
|
|
35922
35922
|
h[1] || (h[1] = A("svg", {
|
|
35923
35923
|
viewBox: "0 0 20 20",
|
|
35924
|
-
class: "
|
|
35924
|
+
class: "wov-stroke-color-icon",
|
|
35925
35925
|
fill: "none",
|
|
35926
35926
|
stroke: "currentColor",
|
|
35927
35927
|
"stroke-linecap": "round",
|
|
@@ -35932,7 +35932,7 @@ const Ir = /* @__PURE__ */ bs(Z$, [["render", Y$]]), q$ = { class: "ic-menu-butt
|
|
|
35932
35932
|
"stroke-width": "1.25"
|
|
35933
35933
|
})
|
|
35934
35934
|
], -1)),
|
|
35935
|
-
he(Ir, { class: "
|
|
35935
|
+
he(Ir, { class: "wov-chevron-down" })
|
|
35936
35936
|
])
|
|
35937
35937
|
]),
|
|
35938
35938
|
dropdown: ke(() => [
|
|
@@ -36021,7 +36021,7 @@ const Ir = /* @__PURE__ */ bs(Z$, [["render", Y$]]), q$ = { class: "ic-menu-butt
|
|
|
36021
36021
|
return (o, s) => L(n).showTextMenuButtons ? (T(), se(Ea, {
|
|
36022
36022
|
key: 0,
|
|
36023
36023
|
title: "Bold",
|
|
36024
|
-
class: Qt({ "
|
|
36024
|
+
class: Qt({ "wov-active": L(n).isBold }),
|
|
36025
36025
|
onClick: L(r).toggleBold
|
|
36026
36026
|
}, {
|
|
36027
36027
|
default: ke(() => [...s[0] || (s[0] = [
|
|
@@ -36036,7 +36036,7 @@ const Ir = /* @__PURE__ */ bs(Z$, [["render", Y$]]), q$ = { class: "ic-menu-butt
|
|
|
36036
36036
|
_: 1
|
|
36037
36037
|
}, 8, ["class", "onClick"])) : ne("", !0);
|
|
36038
36038
|
}
|
|
36039
|
-
}), j4 = { class: "
|
|
36039
|
+
}), j4 = { class: "wov-text-color-button" }, Z4 = { class: "wov-text-icon-container" }, K4 = /* @__PURE__ */ oe({
|
|
36040
36040
|
__name: "TextColorButton",
|
|
36041
36041
|
props: {
|
|
36042
36042
|
entityIds: {}
|
|
@@ -36057,16 +36057,16 @@ const Ir = /* @__PURE__ */ bs(Z$, [["render", Y$]]), q$ = { class: "ic-menu-butt
|
|
|
36057
36057
|
xmlns: "http://www.w3.org/2000/svg",
|
|
36058
36058
|
viewBox: "0 0 640 640",
|
|
36059
36059
|
fill: "currentColor",
|
|
36060
|
-
class: "
|
|
36060
|
+
class: "wov-text-icon"
|
|
36061
36061
|
}, [
|
|
36062
36062
|
A("path", { d: "M349.1 114.7C343.9 103.3 332.5 96 320 96C307.5 96 296.1 103.3 290.9 114.7L123.5 480L112 480C94.3 480 80 494.3 80 512C80 529.7 94.3 544 112 544L200 544C217.7 544 232 529.7 232 512C232 494.3 217.7 480 200 480L193.9 480L215.9 432L424.2 432L446.2 480L440.1 480C422.4 480 408.1 494.3 408.1 512C408.1 529.7 422.4 544 440.1 544L528.1 544C545.8 544 560.1 529.7 560.1 512C560.1 494.3 545.8 480 528.1 480L516.6 480L349.2 114.7zM394.8 368L245.2 368L320 204.8L394.8 368z" })
|
|
36063
36063
|
], -1)),
|
|
36064
36064
|
A("div", {
|
|
36065
|
-
class: "
|
|
36065
|
+
class: "wov-color-underline",
|
|
36066
36066
|
style: ot(s.value)
|
|
36067
36067
|
}, null, 4)
|
|
36068
36068
|
]),
|
|
36069
|
-
he(Ir, { class: "
|
|
36069
|
+
he(Ir, { class: "wov-chevron-down" })
|
|
36070
36070
|
])
|
|
36071
36071
|
]),
|
|
36072
36072
|
dropdown: ke(() => [
|
|
@@ -36089,7 +36089,7 @@ function Y4() {
|
|
|
36089
36089
|
return e ? e.fonts.filter((n) => n.selectable) : [];
|
|
36090
36090
|
});
|
|
36091
36091
|
}
|
|
36092
|
-
const q4 = { class: "
|
|
36092
|
+
const q4 = { class: "wov-font-family-button" }, J4 = { class: "wov-font-family-label" }, X4 = { class: "wov-font-list" }, G4 = ["onClick"], Q4 = ["src", "alt"], eL = /* @__PURE__ */ oe({
|
|
36093
36093
|
__name: "TextFontFamilyButton",
|
|
36094
36094
|
props: {
|
|
36095
36095
|
entityIds: {}
|
|
@@ -36118,12 +36118,12 @@ const q4 = { class: "ic-font-family-button" }, J4 = { class: "ic-font-family-lab
|
|
|
36118
36118
|
button: ke(() => [
|
|
36119
36119
|
A("div", q4, [
|
|
36120
36120
|
A("span", J4, Xt(a.value), 1),
|
|
36121
|
-
he(Ir, { class: "
|
|
36121
|
+
he(Ir, { class: "wov-chevron-down" })
|
|
36122
36122
|
])
|
|
36123
36123
|
]),
|
|
36124
36124
|
dropdown: ke(() => [
|
|
36125
36125
|
A("div", {
|
|
36126
|
-
class: "
|
|
36126
|
+
class: "wov-font-family-menu",
|
|
36127
36127
|
onWheel: c,
|
|
36128
36128
|
onClick: d[0] || (d[0] = Eo(() => {
|
|
36129
36129
|
}, ["stop"]))
|
|
@@ -36131,17 +36131,17 @@ const q4 = { class: "ic-font-family-button" }, J4 = { class: "ic-font-family-lab
|
|
|
36131
36131
|
A("div", X4, [
|
|
36132
36132
|
(T(!0), O(De, null, Wt(s.value, (f) => (T(), O("div", {
|
|
36133
36133
|
key: f.name,
|
|
36134
|
-
class: Qt(["
|
|
36134
|
+
class: Qt(["wov-font-item", { active: i.value === f.name }]),
|
|
36135
36135
|
onClick: (h) => l(f.name)
|
|
36136
36136
|
}, [
|
|
36137
36137
|
f.previewImage ? (T(), O("img", {
|
|
36138
36138
|
key: 0,
|
|
36139
|
-
class: "
|
|
36139
|
+
class: "wov-font-preview",
|
|
36140
36140
|
src: f.previewImage,
|
|
36141
36141
|
alt: f.name
|
|
36142
36142
|
}, null, 8, Q4)) : (T(), O("span", {
|
|
36143
36143
|
key: 1,
|
|
36144
|
-
class: "
|
|
36144
|
+
class: "wov-font-name",
|
|
36145
36145
|
style: ot({ fontFamily: f.name })
|
|
36146
36146
|
}, Xt(f.displayName), 5))
|
|
36147
36147
|
], 10, G4))), 128))
|
|
@@ -36151,13 +36151,13 @@ const q4 = { class: "ic-font-family-button" }, J4 = { class: "ic-font-family-lab
|
|
|
36151
36151
|
_: 1
|
|
36152
36152
|
})) : ne("", !0);
|
|
36153
36153
|
}
|
|
36154
|
-
}), tL = { class: "
|
|
36154
|
+
}), tL = { class: "wov-font-size-button" }, nL = { class: "wov-font-size-label" }, rL = ["onClick"], oL = {
|
|
36155
36155
|
key: 0,
|
|
36156
|
-
class: "
|
|
36156
|
+
class: "wov-check-icon",
|
|
36157
36157
|
xmlns: "http://www.w3.org/2000/svg",
|
|
36158
36158
|
viewBox: "0 0 448 512",
|
|
36159
36159
|
fill: "currentColor"
|
|
36160
|
-
}, sL = { class: "
|
|
36160
|
+
}, sL = { class: "wov-input-container" }, iL = ["value"], aL = /* @__PURE__ */ oe({
|
|
36161
36161
|
__name: "TextFontSizeButton",
|
|
36162
36162
|
props: {
|
|
36163
36163
|
entityIds: {}
|
|
@@ -36197,39 +36197,39 @@ const q4 = { class: "ic-font-family-button" }, J4 = { class: "ic-font-family-lab
|
|
|
36197
36197
|
button: ke(() => [
|
|
36198
36198
|
A("div", tL, [
|
|
36199
36199
|
A("span", nL, Xt(i.value), 1),
|
|
36200
|
-
he(Ir, { class: "
|
|
36200
|
+
he(Ir, { class: "wov-chevron-down" })
|
|
36201
36201
|
])
|
|
36202
36202
|
]),
|
|
36203
36203
|
dropdown: ke(() => [
|
|
36204
36204
|
A("div", {
|
|
36205
|
-
class: "
|
|
36205
|
+
class: "wov-font-size-menu",
|
|
36206
36206
|
onWheel: d,
|
|
36207
36207
|
onClick: h[0] || (h[0] = Eo(() => {
|
|
36208
36208
|
}, ["stop"]))
|
|
36209
36209
|
}, [
|
|
36210
36210
|
(T(), O(De, null, Wt(o, (p) => A("div", {
|
|
36211
36211
|
key: p.value,
|
|
36212
|
-
class: Qt(["
|
|
36212
|
+
class: Qt(["wov-font-size-option", { active: s.value === p.value }]),
|
|
36213
36213
|
onClick: (m) => l(p.value)
|
|
36214
36214
|
}, [
|
|
36215
36215
|
s.value === p.value ? (T(), O("svg", oL, [...h[1] || (h[1] = [
|
|
36216
36216
|
A("path", { d: "M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z" }, null, -1)
|
|
36217
36217
|
])])) : ne("", !0),
|
|
36218
36218
|
A("span", {
|
|
36219
|
-
class: "
|
|
36219
|
+
class: "wov-option-label",
|
|
36220
36220
|
style: ot({ fontSize: `${p.displayValue}px` })
|
|
36221
36221
|
}, Xt(p.label), 5)
|
|
36222
36222
|
], 10, rL)), 64)),
|
|
36223
|
-
h[3] || (h[3] = A("div", { class: "
|
|
36223
|
+
h[3] || (h[3] = A("div", { class: "wov-separator" }, null, -1)),
|
|
36224
36224
|
A("div", sL, [
|
|
36225
36225
|
A("input", {
|
|
36226
|
-
class: "
|
|
36226
|
+
class: "wov-custom-input",
|
|
36227
36227
|
value: a.value,
|
|
36228
36228
|
onInput: c,
|
|
36229
36229
|
onKeydown: u,
|
|
36230
36230
|
placeholder: "Custom size"
|
|
36231
36231
|
}, null, 40, iL),
|
|
36232
|
-
h[2] || (h[2] = A("span", { class: "
|
|
36232
|
+
h[2] || (h[2] = A("span", { class: "wov-px-suffix" }, "px", -1))
|
|
36233
36233
|
])
|
|
36234
36234
|
], 32)
|
|
36235
36235
|
]),
|
|
@@ -36246,7 +36246,7 @@ const q4 = { class: "ic-font-family-button" }, J4 = { class: "ic-font-family-lab
|
|
|
36246
36246
|
return (o, s) => L(n).showTextMenuButtons ? (T(), se(Ea, {
|
|
36247
36247
|
key: 0,
|
|
36248
36248
|
title: "Italic",
|
|
36249
|
-
class: Qt({ "
|
|
36249
|
+
class: Qt({ "wov-active": L(n).isItalic }),
|
|
36250
36250
|
onClick: L(r).toggleItalic
|
|
36251
36251
|
}, {
|
|
36252
36252
|
default: ke(() => [...s[0] || (s[0] = [
|
|
@@ -36271,7 +36271,7 @@ const q4 = { class: "ic-font-family-button" }, J4 = { class: "ic-font-family-lab
|
|
|
36271
36271
|
return (o, s) => L(n).showTextMenuButtons ? (T(), se(Ea, {
|
|
36272
36272
|
key: 0,
|
|
36273
36273
|
title: "Underline",
|
|
36274
|
-
class: Qt({ "
|
|
36274
|
+
class: Qt({ "wov-active": L(n).isUnderline }),
|
|
36275
36275
|
onClick: L(r).toggleUnderline
|
|
36276
36276
|
}, {
|
|
36277
36277
|
default: ke(() => [...s[0] || (s[0] = [
|
|
@@ -36620,7 +36620,7 @@ const fL = {
|
|
|
36620
36620
|
return bn(() => {
|
|
36621
36621
|
n();
|
|
36622
36622
|
}), (c, u) => (T(), O("div", {
|
|
36623
|
-
class: "
|
|
36623
|
+
class: "wov-floating-menu-bar",
|
|
36624
36624
|
onMouseleave: l
|
|
36625
36625
|
}, [
|
|
36626
36626
|
(T(!0), O(De, null, Wt(a.value, (d) => Ue(c.$slots, `button:${d}`, {
|
|
@@ -36672,14 +36672,14 @@ const fL = {
|
|
|
36672
36672
|
he(aL, { entityIds: L(o) }, null, 8, ["entityIds"]),
|
|
36673
36673
|
u[0] || (u[0] = A("div", {
|
|
36674
36674
|
divider: "",
|
|
36675
|
-
class: "
|
|
36675
|
+
class: "wov-divider"
|
|
36676
36676
|
}, null, -1)),
|
|
36677
36677
|
he(U4, { entityIds: L(o) }, null, 8, ["entityIds"]),
|
|
36678
36678
|
he(lL, { entityIds: L(o) }, null, 8, ["entityIds"]),
|
|
36679
36679
|
he(cL, { entityIds: L(o) }, null, 8, ["entityIds"]),
|
|
36680
36680
|
u[1] || (u[1] = A("div", {
|
|
36681
36681
|
divider: "",
|
|
36682
|
-
class: "
|
|
36682
|
+
class: "wov-divider"
|
|
36683
36683
|
}, null, -1)),
|
|
36684
36684
|
he(K4, { entityIds: L(o) }, null, 8, ["entityIds"]),
|
|
36685
36685
|
he(H4, { entityIds: L(o) }, null, 8, ["entityIds"]),
|
|
@@ -36692,7 +36692,7 @@ const fL = {
|
|
|
36692
36692
|
he(cb)
|
|
36693
36693
|
], 32));
|
|
36694
36694
|
}
|
|
36695
|
-
}), yL = { class: "
|
|
36695
|
+
}), yL = { class: "wov-floating-menu-inner" }, vL = /* @__PURE__ */ oe({
|
|
36696
36696
|
__name: "FloatingMenu",
|
|
36697
36697
|
setup(t) {
|
|
36698
36698
|
const e = At(fr), n = Oz([_, It]), r = ln(Se), o = ln(Gt), s = ln(lr), i = Bc(), a = I(
|
|
@@ -36765,13 +36765,13 @@ const fL = {
|
|
|
36765
36765
|
], y = I(
|
|
36766
36766
|
() => n.value.length > 0 && !m.value && !g.includes(s.value.state)
|
|
36767
36767
|
);
|
|
36768
|
-
return (v, b) => (T(), se(Yd, { name: "
|
|
36768
|
+
return (v, b) => (T(), se(Yd, { name: "wov-fade" }, {
|
|
36769
36769
|
default: ke(() => [
|
|
36770
36770
|
y.value ? (T(), O("div", {
|
|
36771
36771
|
key: 0,
|
|
36772
36772
|
ref_key: "floatingRef",
|
|
36773
36773
|
ref: h,
|
|
36774
|
-
class: "
|
|
36774
|
+
class: "wov-floating-menu",
|
|
36775
36775
|
style: ot(L(p))
|
|
36776
36776
|
}, [
|
|
36777
36777
|
A("div", yL, [
|
|
@@ -36786,8 +36786,8 @@ const fL = {
|
|
|
36786
36786
|
}
|
|
36787
36787
|
}), wL = {
|
|
36788
36788
|
key: 0,
|
|
36789
|
-
class: "
|
|
36790
|
-
}, bL = { class: "
|
|
36789
|
+
class: "wov-loading-overlay"
|
|
36790
|
+
}, bL = { class: "wov-loading-spinner" }, kL = /* @__PURE__ */ oe({
|
|
36791
36791
|
__name: "LoadingOverlay",
|
|
36792
36792
|
props: {
|
|
36793
36793
|
isLoading: { type: Boolean }
|
|
@@ -36802,7 +36802,7 @@ const fL = {
|
|
|
36802
36802
|
}, 100);
|
|
36803
36803
|
}), bn(() => {
|
|
36804
36804
|
r !== null && clearInterval(r);
|
|
36805
|
-
}), (o, s) => (T(), se(Yd, { name: "
|
|
36805
|
+
}), (o, s) => (T(), se(Yd, { name: "wov-loading-fade" }, {
|
|
36806
36806
|
default: ke(() => [
|
|
36807
36807
|
t.isLoading ? (T(), O("div", wL, [
|
|
36808
36808
|
A("div", bL, Xt(e.value), 1)
|
|
@@ -36845,7 +36845,7 @@ const fL = {
|
|
|
36845
36845
|
return (h, p) => (T(), O("button", {
|
|
36846
36846
|
ref_key: "buttonRef",
|
|
36847
36847
|
ref: o,
|
|
36848
|
-
class: Qt(["
|
|
36848
|
+
class: Qt(["wov-toolbar-button", { selected: a.value }]),
|
|
36849
36849
|
onClick: l,
|
|
36850
36850
|
onPointerdown: c,
|
|
36851
36851
|
onPointerup: u,
|
|
@@ -37227,7 +37227,7 @@ const fL = {
|
|
|
37227
37227
|
A("button", {
|
|
37228
37228
|
ref_key: "buttonRef",
|
|
37229
37229
|
ref: i,
|
|
37230
|
-
class: "
|
|
37230
|
+
class: "wov-toolbar-button",
|
|
37231
37231
|
onClick: l,
|
|
37232
37232
|
onMouseenter: d,
|
|
37233
37233
|
onMouseleave: f
|
|
@@ -37269,7 +37269,7 @@ const fL = {
|
|
|
37269
37269
|
}, null, 544)
|
|
37270
37270
|
], 64));
|
|
37271
37271
|
}
|
|
37272
|
-
}), RL = { class: "
|
|
37272
|
+
}), RL = { class: "wov-toolbar-container" }, zL = /* @__PURE__ */ oe({
|
|
37273
37273
|
__name: "Toolbar",
|
|
37274
37274
|
setup(t) {
|
|
37275
37275
|
const e = Bg(), { reset: n } = Es(), { nextEditorTick: r } = en(), o = re(null), s = re(null), i = ln(pt), a = I(() => i.value.leftMouseTool);
|
|
@@ -37303,7 +37303,7 @@ const fL = {
|
|
|
37303
37303
|
onToolPointerUp: d
|
|
37304
37304
|
}), (p, m) => (T(), O("div", RL, [
|
|
37305
37305
|
A("div", {
|
|
37306
|
-
class: "
|
|
37306
|
+
class: "wov-toolbar",
|
|
37307
37307
|
onMouseleave: f
|
|
37308
37308
|
}, [
|
|
37309
37309
|
L(e).default ? Ue(p.$slots, "default", { key: 0 }) : (T(), O(De, { key: 1 }, [
|
|
@@ -37450,7 +37450,7 @@ function WL(t, e, n = {}) {
|
|
|
37450
37450
|
}
|
|
37451
37451
|
} : m;
|
|
37452
37452
|
}
|
|
37453
|
-
const HL = { class: "
|
|
37453
|
+
const HL = { class: "wov-user-presence-avatars" }, UL = ["src", "alt"], jL = { class: "wov-user-presence-list" }, ZL = ["src", "alt"], KL = { class: "wov-user-presence-name" }, YL = 4, qL = /* @__PURE__ */ oe({
|
|
37454
37454
|
__name: "UserPresence",
|
|
37455
37455
|
props: {
|
|
37456
37456
|
users: {}
|
|
@@ -37478,23 +37478,23 @@ const HL = { class: "ic-user-presence-avatars" }, UL = ["src", "alt"], jL = { cl
|
|
|
37478
37478
|
key: 0,
|
|
37479
37479
|
ref_key: "containerRef",
|
|
37480
37480
|
ref: r,
|
|
37481
|
-
class: "
|
|
37481
|
+
class: "wov-user-presence"
|
|
37482
37482
|
}, [
|
|
37483
37483
|
A("button", {
|
|
37484
|
-
class: Qt(["
|
|
37484
|
+
class: Qt(["wov-user-presence-trigger", { "is-open": n.value }]),
|
|
37485
37485
|
onClick: l[0] || (l[0] = (c) => n.value = !n.value)
|
|
37486
37486
|
}, [
|
|
37487
37487
|
A("div", HL, [
|
|
37488
37488
|
(T(!0), O(De, null, Wt(i.value, (c) => (T(), O("div", {
|
|
37489
37489
|
key: c.sessionId,
|
|
37490
|
-
class: "
|
|
37490
|
+
class: "wov-user-avatar",
|
|
37491
37491
|
style: ot({ backgroundColor: c.avatar ? "transparent" : c.color })
|
|
37492
37492
|
}, [
|
|
37493
37493
|
c.avatar ? (T(), O("img", {
|
|
37494
37494
|
key: 0,
|
|
37495
37495
|
src: c.avatar,
|
|
37496
37496
|
alt: c.name,
|
|
37497
|
-
class: "
|
|
37497
|
+
class: "wov-user-avatar-img"
|
|
37498
37498
|
}, null, 8, UL)) : (T(), O(De, { key: 1 }, [
|
|
37499
37499
|
$u(Xt(c.initials), 1)
|
|
37500
37500
|
], 64))
|
|
@@ -37503,17 +37503,17 @@ const HL = { class: "ic-user-presence-avatars" }, UL = ["src", "alt"], jL = { cl
|
|
|
37503
37503
|
], 2),
|
|
37504
37504
|
n.value ? (T(), O("div", {
|
|
37505
37505
|
key: 0,
|
|
37506
|
-
class: "
|
|
37506
|
+
class: "wov-user-presence-dropdown",
|
|
37507
37507
|
onWheel: l[1] || (l[1] = Eo(() => {
|
|
37508
37508
|
}, ["stop"]))
|
|
37509
37509
|
}, [
|
|
37510
37510
|
A("div", jL, [
|
|
37511
37511
|
(T(!0), O(De, null, Wt(s.value, (c) => (T(), O("div", {
|
|
37512
37512
|
key: c.sessionId,
|
|
37513
|
-
class: "
|
|
37513
|
+
class: "wov-user-presence-item"
|
|
37514
37514
|
}, [
|
|
37515
37515
|
A("div", {
|
|
37516
|
-
class: "
|
|
37516
|
+
class: "wov-user-avatar wov-user-avatar-small",
|
|
37517
37517
|
style: ot({
|
|
37518
37518
|
backgroundColor: c.avatar ? "transparent" : c.color
|
|
37519
37519
|
})
|
|
@@ -37522,7 +37522,7 @@ const HL = { class: "ic-user-presence-avatars" }, UL = ["src", "alt"], jL = { cl
|
|
|
37522
37522
|
key: 0,
|
|
37523
37523
|
src: c.avatar,
|
|
37524
37524
|
alt: c.name,
|
|
37525
|
-
class: "
|
|
37525
|
+
class: "wov-user-avatar-img"
|
|
37526
37526
|
}, null, 8, ZL)) : (T(), O(De, { key: 1 }, [
|
|
37527
37527
|
$u(Xt(c.initials), 1)
|
|
37528
37528
|
], 64))
|
|
@@ -37951,17 +37951,17 @@ function iF(t = {}) {
|
|
|
37951
37951
|
};
|
|
37952
37952
|
}
|
|
37953
37953
|
var aF = (t = {}) => iF(t);
|
|
37954
|
-
const lF = { class: "
|
|
37954
|
+
const lF = { class: "wov-selection-box" }, cF = /* @__PURE__ */ oe({
|
|
37955
37955
|
__name: "SelectionBox",
|
|
37956
37956
|
setup(t) {
|
|
37957
37957
|
return (e, n) => (T(), O("div", lF));
|
|
37958
37958
|
}
|
|
37959
|
-
}), uF = { class: "
|
|
37959
|
+
}), uF = { class: "wov-transform-box" }, dF = /* @__PURE__ */ oe({
|
|
37960
37960
|
__name: "TransformBox",
|
|
37961
37961
|
setup(t) {
|
|
37962
37962
|
return (e, n) => (T(), O("div", uF));
|
|
37963
37963
|
}
|
|
37964
|
-
}), fF = {}, hF = { class: "
|
|
37964
|
+
}), fF = {}, hF = { class: "wov-transform-handle" };
|
|
37965
37965
|
function pF(t, e) {
|
|
37966
37966
|
return T(), O("div", hF);
|
|
37967
37967
|
}
|
|
@@ -38000,7 +38000,7 @@ const mF = /* @__PURE__ */ bs(fF, [["render", pF]]), gF = /* @__PURE__ */ oe({
|
|
|
38000
38000
|
return (l, c) => (T(), O("div", {
|
|
38001
38001
|
ref_key: "containerRef",
|
|
38002
38002
|
ref: o,
|
|
38003
|
-
class: "
|
|
38003
|
+
class: "wov-sticky-note",
|
|
38004
38004
|
style: ot(i.value)
|
|
38005
38005
|
}, [
|
|
38006
38006
|
he(ch, Nt(e, {
|
|
@@ -38153,8 +38153,8 @@ function xF(t) {
|
|
|
38153
38153
|
]
|
|
38154
38154
|
};
|
|
38155
38155
|
}
|
|
38156
|
-
const CF = { class: "
|
|
38157
|
-
class: "
|
|
38156
|
+
const CF = { class: "wov-user-cursors" }, EF = {
|
|
38157
|
+
class: "wov-cursor-svg",
|
|
38158
38158
|
viewBox: "0 0 4.35 4.75",
|
|
38159
38159
|
width: "20",
|
|
38160
38160
|
height: "20"
|
|
@@ -38176,7 +38176,7 @@ const CF = { class: "ic-user-cursors" }, EF = {
|
|
|
38176
38176
|
return (r, o) => (T(), O("div", CF, [
|
|
38177
38177
|
(T(!0), O(De, null, Wt(n.value, (s) => (T(), O("div", {
|
|
38178
38178
|
key: s.sessionId,
|
|
38179
|
-
class: "
|
|
38179
|
+
class: "wov-user-cursor",
|
|
38180
38180
|
style: ot({
|
|
38181
38181
|
transform: `translate(${s.screenX}px, ${s.screenY}px)`
|
|
38182
38182
|
})
|
|
@@ -38191,7 +38191,7 @@ const CF = { class: "ic-user-cursors" }, EF = {
|
|
|
38191
38191
|
}, null, 8, TF)
|
|
38192
38192
|
])),
|
|
38193
38193
|
A("span", {
|
|
38194
|
-
class: "
|
|
38194
|
+
class: "wov-cursor-label",
|
|
38195
38195
|
style: ot({ backgroundColor: s.color })
|
|
38196
38196
|
}, Xt(s.name), 5)
|
|
38197
38197
|
], 4))), 128))
|
|
@@ -38199,7 +38199,7 @@ const CF = { class: "ic-user-cursors" }, EF = {
|
|
|
38199
38199
|
}
|
|
38200
38200
|
}), AF = {
|
|
38201
38201
|
key: 0,
|
|
38202
|
-
class: "
|
|
38202
|
+
class: "wov-offline-indicator"
|
|
38203
38203
|
}, IF = /* @__PURE__ */ oe({
|
|
38204
38204
|
__name: "OfflineIndicator",
|
|
38205
38205
|
props: {
|
|
@@ -38210,7 +38210,7 @@ const CF = { class: "ic-user-cursors" }, EF = {
|
|
|
38210
38210
|
}
|
|
38211
38211
|
}), PF = {
|
|
38212
38212
|
key: 0,
|
|
38213
|
-
class: "
|
|
38213
|
+
class: "wov-version-mismatch-overlay"
|
|
38214
38214
|
}, OF = /* @__PURE__ */ oe({
|
|
38215
38215
|
__name: "VersionMismatch",
|
|
38216
38216
|
props: {
|
|
@@ -38221,7 +38221,7 @@ const CF = { class: "ic-user-cursors" }, EF = {
|
|
|
38221
38221
|
window.location.reload();
|
|
38222
38222
|
}
|
|
38223
38223
|
return (n, r) => t.versionMismatch ? (T(), O("div", PF, [
|
|
38224
|
-
A("div", { class: "
|
|
38224
|
+
A("div", { class: "wov-version-mismatch-dialog" }, [
|
|
38225
38225
|
r[0] || (r[0] = A("p", null, "A new version is available.", -1)),
|
|
38226
38226
|
r[1] || (r[1] = A("p", null, "Please refresh the page to continue.", -1)),
|
|
38227
38227
|
A("button", { onClick: e }, "Refresh")
|
|
@@ -38263,7 +38263,7 @@ const CF = { class: "ic-user-cursors" }, EF = {
|
|
|
38263
38263
|
}
|
|
38264
38264
|
return (l, c) => i.value ? (T(), O("button", {
|
|
38265
38265
|
key: 0,
|
|
38266
|
-
class: "
|
|
38266
|
+
class: "wov-back-to-content",
|
|
38267
38267
|
onClick: a
|
|
38268
38268
|
}, [...c[0] || (c[0] = [
|
|
38269
38269
|
A("svg", {
|
|
@@ -38549,7 +38549,7 @@ const CF = { class: "ic-user-cursors" }, EF = {
|
|
|
38549
38549
|
opacity: H,
|
|
38550
38550
|
pointerEvents: "none",
|
|
38551
38551
|
userSelect: "none",
|
|
38552
|
-
"--
|
|
38552
|
+
"--wov-held-by-color": ee ?? void 0,
|
|
38553
38553
|
// Delay fade-in (0→1) to allow dimensions to settle, but hide immediately (1→0)
|
|
38554
38554
|
transition: H === 1 ? "opacity 0ms 32ms" : void 0
|
|
38555
38555
|
};
|
|
@@ -38557,7 +38557,7 @@ const CF = { class: "ic-user-cursors" }, EF = {
|
|
|
38557
38557
|
return (N, me) => (T(), O("div", {
|
|
38558
38558
|
ref_key: "containerRef",
|
|
38559
38559
|
ref: f,
|
|
38560
|
-
class: "
|
|
38560
|
+
class: "wov-root",
|
|
38561
38561
|
style: {
|
|
38562
38562
|
position: "relative",
|
|
38563
38563
|
width: "100%",
|
|
@@ -38572,12 +38572,12 @@ const CF = { class: "ic-user-cursors" }, EF = {
|
|
|
38572
38572
|
he(uL, { background: t.background }, null, 8, ["background"])
|
|
38573
38573
|
]) : ne("", !0),
|
|
38574
38574
|
A("div", {
|
|
38575
|
-
class: "
|
|
38575
|
+
class: "wov-canvas",
|
|
38576
38576
|
style: ot({
|
|
38577
38577
|
position: "absolute",
|
|
38578
38578
|
transformOrigin: "0 0",
|
|
38579
38579
|
transform: `scale(${W.value.zoom}) translate(${-W.value.left}px, ${-W.value.top}px)`,
|
|
38580
|
-
"--
|
|
38580
|
+
"--wov-zoom": W.value.zoom
|
|
38581
38581
|
})
|
|
38582
38582
|
}, [
|
|
38583
38583
|
(T(!0), O(De, null, Wt(C.value, (j) => (T(), O("div", {
|
|
@@ -38587,7 +38587,7 @@ const CF = { class: "ic-user-cursors" }, EF = {
|
|
|
38587
38587
|
"data-selected": j.value.selected || void 0,
|
|
38588
38588
|
"data-held-by-other": wi(j.value) !== null || void 0,
|
|
38589
38589
|
"data-hovered": j.value.hovered || void 0,
|
|
38590
|
-
class: "
|
|
38590
|
+
class: "wov-block"
|
|
38591
38591
|
}, [
|
|
38592
38592
|
Ue(N.$slots, `block:${j.value.block.tag}`, Nt({ ref_for: !0 }, j.value), () => [
|
|
38593
38593
|
j.value.block.tag === "selection-box" ? (T(), se(cF, Nt({
|