jvs-ppt-ui 0.0.6 → 0.0.7
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/lib/jvs-ppt-ui.es.js +72 -65
- package/dist/lib/jvs-ppt-ui.umd.js +8 -8
- package/dist/lib/style.css +1 -1
- package/package.json +1 -1
- package/src/App.vue +36 -14
- package/src/components/CanvasArea.vue +0 -2
- package/src/components/Header.vue +7 -1
- package/src/components/PresentationGroupChild.vue +1 -1
- package/src/components/PresentationMode.vue +1 -1
- package/src/components/SidebarLeft.vue +1 -1
- package/src/components/Toolbar.vue +6 -4
- package/src/composables/useSlides.ts +8 -4
- package/src/utils/canvas/elementStyles.ts +1 -1
|
@@ -61267,7 +61267,7 @@ function e4(e) {
|
|
|
61267
61267
|
let n = e.style && e.style.fill !== void 0 ? e.style.fill : e.fill;
|
|
61268
61268
|
if (n && typeof n == "object" && (n.type === "image" || n.type === "pattern")) {
|
|
61269
61269
|
let e = n.value;
|
|
61270
|
-
typeof e == "string" ? t = e : e && typeof e == "object" && (t = e.
|
|
61270
|
+
typeof e == "string" ? t = e : e && typeof e == "object" && (t = e.blob || e.base64 || e.src || e.url || "");
|
|
61271
61271
|
}
|
|
61272
61272
|
}
|
|
61273
61273
|
if (!t || typeof t != "string") return;
|
|
@@ -64242,7 +64242,7 @@ function Z6(e) {
|
|
|
64242
64242
|
let n = e.style && e.style.fill !== void 0 ? e.style.fill : e.fill;
|
|
64243
64243
|
if (n && typeof n == "object" && (n.type === "image" || n.type === "pattern")) {
|
|
64244
64244
|
let e = n.value;
|
|
64245
|
-
typeof e == "string" ? t = e : e && typeof e == "object" && (t = e.
|
|
64245
|
+
typeof e == "string" ? t = e : e && typeof e == "object" && (t = e.blob || e.base64 || e.src || e.url || "");
|
|
64246
64246
|
}
|
|
64247
64247
|
}
|
|
64248
64248
|
if (!t || typeof t != "string") return;
|
|
@@ -65600,18 +65600,26 @@ async function Wle(e) {
|
|
|
65600
65600
|
})();
|
|
65601
65601
|
return i.set(o, s), s;
|
|
65602
65602
|
}, s = async (e) => {
|
|
65603
|
-
if (e)
|
|
65604
|
-
|
|
65605
|
-
|
|
65606
|
-
|
|
65607
|
-
|
|
65608
|
-
|
|
65609
|
-
|
|
65610
|
-
|
|
65611
|
-
|
|
65612
|
-
|
|
65613
|
-
|
|
65614
|
-
|
|
65603
|
+
if (e) {
|
|
65604
|
+
if (e.type === "image") {
|
|
65605
|
+
let t = e.src || e.content;
|
|
65606
|
+
if (a(t)) {
|
|
65607
|
+
let n = await o(t, "image", "png");
|
|
65608
|
+
e.src = n, e.content = n;
|
|
65609
|
+
}
|
|
65610
|
+
} else if (e.type === "video") a(e.src) && (e.src = await o(e.src, "video", "mp4"));
|
|
65611
|
+
else if (e.type === "audio") a(e.src) && (e.src = await o(e.src, "audio", "mp3"));
|
|
65612
|
+
else if (e.type === "math") {
|
|
65613
|
+
let t = e.src || e.picBlob || e.picBase64;
|
|
65614
|
+
a(t) && (e.src = await o(t, "image", "svg"));
|
|
65615
|
+
} else if (e.type === "shape") {
|
|
65616
|
+
let t = e.pattern || e.style?.pattern || (e.fill?.type === "image" ? e.fill.value?.blob || e.fill.value?.base64 || e.fill.value?.src : void 0);
|
|
65617
|
+
if (t && a(t)) {
|
|
65618
|
+
let n = await o(t, "image", "png");
|
|
65619
|
+
e.pattern = n, e.style && (e.style.pattern = n);
|
|
65620
|
+
}
|
|
65621
|
+
}
|
|
65622
|
+
}
|
|
65615
65623
|
}, c = async (e) => {
|
|
65616
65624
|
if (e) {
|
|
65617
65625
|
if (typeof e.background == "string") {
|
|
@@ -67907,7 +67915,7 @@ var Kle = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANAAAADQCAYAAAB2pO90AAA
|
|
|
67907
67915
|
let n = new FileReader();
|
|
67908
67916
|
n.onload = (e) => t(e.target?.result || ""), n.readAsDataURL(e);
|
|
67909
67917
|
}));
|
|
67910
|
-
t && (
|
|
67918
|
+
t && (n("video", t), Ye.value = !1, p("已成功添加视频"));
|
|
67911
67919
|
} catch (e) {
|
|
67912
67920
|
console.error(e), p("视频上传处理失败: " + (e?.message || e));
|
|
67913
67921
|
}
|
|
@@ -67927,7 +67935,7 @@ var Kle = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANAAAADQCAYAAAB2pO90AAA
|
|
|
67927
67935
|
let n = new FileReader();
|
|
67928
67936
|
n.onload = (e) => t(e.target?.result || ""), n.readAsDataURL(e);
|
|
67929
67937
|
}));
|
|
67930
|
-
t && (
|
|
67938
|
+
t && (n("audio", t), Ye.value = !1, p("已成功添加音频"));
|
|
67931
67939
|
} catch (e) {
|
|
67932
67940
|
console.error(e), p("音频上传处理失败: " + (e?.message || e));
|
|
67933
67941
|
}
|
|
@@ -69381,7 +69389,7 @@ var Kle = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANAAAADQCAYAAAB2pO90AAA
|
|
|
69381
69389
|
], 64);
|
|
69382
69390
|
};
|
|
69383
69391
|
}
|
|
69384
|
-
}), [["__scopeId", "data-v-
|
|
69392
|
+
}), [["__scopeId", "data-v-88320f8f"]]), S8 = {
|
|
69385
69393
|
fadeIn: {
|
|
69386
69394
|
presetClass: "entr",
|
|
69387
69395
|
presetID: 1,
|
|
@@ -75116,13 +75124,13 @@ var Gpe = { class: "shortcuts-container" }, Kpe = { class: "shortcuts-header-bar
|
|
|
75116
75124
|
let t = f.find((t) => {
|
|
75117
75125
|
let n = (t.pptxShapeType || "").toLowerCase(), r = (t.pathFormula || "").toLowerCase(), i = String(e.shapType || "").toLowerCase();
|
|
75118
75126
|
return n === i || r === i || (i === "snip1rect" || i === "cutrectsingle") && (n === "snip1rect" || n === "cutrectsingle" || r === "cutrectsingle") || (i === "snip2samerect" || i === "cutrectsameside") && (n === "snip2samerect" || n === "cutrectsameside" || r === "cutrectsameside") || (i === "snip2diagrect" || i === "cutrectdiagonal") && (n === "snip2diagrect" || n === "cutrectdiagonal" || r === "cutrectdiagonal") || (i === "sniproundrect" || i === "cutroundrect") && (n === "sniproundrect" || n === "cutroundrect" || r === "cutroundrect") || (i === "round1rect" || i === "roundrectsingle") && (n === "round1rect" || n === "roundrectsingle" || r === "roundrectsingle") || (i === "round2samerect" || i === "roundrectsameside") && (n === "round2samerect" || n === "roundrectsameside" || r === "roundrectsameside") || (i === "round2diagrect" || i === "roundrectdiagonal") && (n === "round2diagrect" || n === "roundrectdiagonal" || r === "roundrectdiagonal");
|
|
75119
|
-
}), r = e.fill?.type === "gradient" ? e.fill.value || e.fill : e.gradient || void 0, i = r ? a4(r) : void 0, c = e.border?.gradient || e.outline?.gradient, d = c ? a4(c) : void 0, p = e.fill?.type === "image" ? e.fill.value.base64 : void 0,
|
|
75127
|
+
}), r = e.fill?.type === "gradient" ? e.fill.value || e.fill : e.gradient || void 0, i = r ? a4(r) : void 0, c = e.border?.gradient || e.outline?.gradient, d = c ? a4(c) : void 0, p = e.fill?.type === "image" ? e.fill.value : null, m = p ? p.blob || p.base64 || p.src || p.url || (typeof p == "string" ? p : void 0) : void 0, g = typeof e.fill == "string" ? e.fill.trim() === "" ? "none" : e.fill : e.fill?.type === "color" ? e.fill.value : e.fill?.type === "gradient" ? "transparent" : e.fill ? X2(e.fill, "none") : "none", _ = e.text?.fontSize || 16, v = ct(e.content, n, _), y = !!(e.isFlipH || e.flipH || e.style?.flipH), b = !!(e.isFlipV || e.flipV || e.style?.flipV), x = e.borderLineCap || e.border?.lineCap || e.lineCap || e.outline?.lineCap, S = x === "rnd" || x === "round" ? "round" : x === "sq" || x === "square" ? "square" : x === "flat" ? "flat" : void 0, C = {
|
|
75120
75128
|
color: e.borderColor,
|
|
75121
75129
|
width: +(e.borderWidth * n).toFixed(2),
|
|
75122
75130
|
style: e.borderType,
|
|
75123
75131
|
gradient: d,
|
|
75124
|
-
lineCap:
|
|
75125
|
-
},
|
|
75132
|
+
lineCap: S
|
|
75133
|
+
}, w = {
|
|
75126
75134
|
type: "shape",
|
|
75127
75135
|
id: h(e.id),
|
|
75128
75136
|
order: e.order === void 0 ? void 0 : e.order,
|
|
@@ -75132,52 +75140,52 @@ var Gpe = { class: "shortcuts-container" }, Kpe = { class: "shortcuts-header-bar
|
|
|
75132
75140
|
top: e.top,
|
|
75133
75141
|
viewBox: [200, 200],
|
|
75134
75142
|
path: "M 0 0 L 200 0 L 200 200 L 0 200 Z",
|
|
75135
|
-
fill:
|
|
75143
|
+
fill: g,
|
|
75136
75144
|
gradient: i,
|
|
75137
|
-
pattern:
|
|
75145
|
+
pattern: m,
|
|
75138
75146
|
border: e.border ? {
|
|
75139
75147
|
...e.border,
|
|
75140
75148
|
gradient: d
|
|
75141
75149
|
} : d ? { gradient: d } : void 0,
|
|
75142
75150
|
fixedRatio: !1,
|
|
75143
75151
|
rotate: e.rotate,
|
|
75144
|
-
outline:
|
|
75145
|
-
lineCap:
|
|
75146
|
-
borderLineCap:
|
|
75152
|
+
outline: C,
|
|
75153
|
+
lineCap: S,
|
|
75154
|
+
borderLineCap: S,
|
|
75147
75155
|
text: {
|
|
75148
75156
|
content: ot(e.content, n, e.width, e.height),
|
|
75149
75157
|
defaultFontName: l,
|
|
75150
75158
|
defaultColor: u,
|
|
75151
75159
|
align: ht[e.vAlign] || "top"
|
|
75152
75160
|
},
|
|
75153
|
-
flipH:
|
|
75154
|
-
flipV:
|
|
75155
|
-
isFlipH:
|
|
75156
|
-
isFlipV:
|
|
75161
|
+
flipH: y,
|
|
75162
|
+
flipV: b,
|
|
75163
|
+
isFlipH: y,
|
|
75164
|
+
isFlipV: b,
|
|
75157
75165
|
shapType: e.shapType,
|
|
75158
75166
|
wrap: e.wrap,
|
|
75159
75167
|
autoFit: e.autoFit
|
|
75160
75168
|
};
|
|
75161
|
-
|
|
75162
|
-
let
|
|
75163
|
-
|
|
75164
|
-
let
|
|
75165
|
-
if (
|
|
75169
|
+
w.style = w.style || {}, w.style.whiteSpace = e.wrap === "none" || e.wrap === !1 ? "nowrap" : "normal", w.style.left = `${e.left}px`, w.style.top = `${e.top}px`, w.style.width = `${e.width}px`, w.style.height = `${e.height}px`, w.style.rotate = e.rotate === void 0 ? 0 : e.rotate, w.style.flipH = y, w.style.flipV = b, w.style.fill = g, m && (w.style.pattern = m), w.style.borderColor = e.borderColor || e.outline?.color || "transparent", w.style.borderWidth = e.borderWidth === void 0 ? e.outline?.width === void 0 ? "0px" : `${e.outline.width}px` : `${+(e.borderWidth * n).toFixed(2)}px`, w.style.borderStyle = e.borderType || e.outline?.style || "solid", S && (w.style.borderLineCap = S, w.style.strokeLinecap = S === "round" ? "round" : S === "square" ? "square" : "butt");
|
|
75170
|
+
let T = S4(e.content || e.text?.content);
|
|
75171
|
+
T && (w.style.textAlign = T);
|
|
75172
|
+
let E = vt(e.content || e.text?.content);
|
|
75173
|
+
if (E && (w.style.textColor = E, w.style.color = E, w.textColor = E, w.color = E), e.link && (w.link = {
|
|
75166
75174
|
type: "web",
|
|
75167
75175
|
target: e.link
|
|
75168
|
-
}),
|
|
75176
|
+
}), v.lineHeight && (w.text.lineHeight = v.lineHeight), v.margin && (w.text.paragraphSpace = v.margin), e.textInset ? (w.text.inset = [
|
|
75169
75177
|
+(e.textInset.t * n).toFixed(2),
|
|
75170
75178
|
+(e.textInset.r * n).toFixed(2),
|
|
75171
75179
|
+(e.textInset.b * n).toFixed(2),
|
|
75172
75180
|
+(e.textInset.l * n).toFixed(2)
|
|
75173
|
-
],
|
|
75181
|
+
], w.style.padding = `${w.text.inset[0]}px ${w.text.inset[1]}px ${w.text.inset[2]}px ${w.text.inset[3]}px`) : (w.text.inset = [
|
|
75174
75182
|
0,
|
|
75175
75183
|
0,
|
|
75176
75184
|
0,
|
|
75177
75185
|
0
|
|
75178
|
-
],
|
|
75186
|
+
], w.style.padding = "0px"), e.textShadow) {
|
|
75179
75187
|
let t = +(e.textShadow.h * n).toFixed(2), r = +(e.textShadow.v * n).toFixed(2), i = +(e.textShadow.blur * n).toFixed(2), a = e.textShadow.color || "rgba(0,0,0,0.5)";
|
|
75180
|
-
|
|
75188
|
+
w.textShadow = {
|
|
75181
75189
|
h: t,
|
|
75182
75190
|
v: r,
|
|
75183
75191
|
blur: i,
|
|
@@ -75187,14 +75195,14 @@ var Gpe = { class: "shortcuts-container" }, Kpe = { class: "shortcuts-header-bar
|
|
|
75187
75195
|
preset: e.textShadow.preset
|
|
75188
75196
|
};
|
|
75189
75197
|
}
|
|
75190
|
-
if (pt(e.shadow) && (
|
|
75198
|
+
if (pt(e.shadow) && (w.shadow = {
|
|
75191
75199
|
h: e.shadow.h * n,
|
|
75192
75200
|
v: e.shadow.v * n,
|
|
75193
75201
|
blur: e.shadow.blur * n,
|
|
75194
75202
|
color: e.shadow.color,
|
|
75195
75203
|
type: e.shadow.type,
|
|
75196
75204
|
preset: e.shadow.preset
|
|
75197
|
-
}), e.reflection && (
|
|
75205
|
+
}), e.reflection && (w.reflection = {
|
|
75198
75206
|
enabled: e.reflection.enabled,
|
|
75199
75207
|
type: e.reflection.type,
|
|
75200
75208
|
preset: e.reflection.preset,
|
|
@@ -75202,7 +75210,7 @@ var Gpe = { class: "shortcuts-container" }, Kpe = { class: "shortcuts-header-bar
|
|
|
75202
75210
|
blur: e.reflection.blur === void 0 ? 0 : e.reflection.blur * n,
|
|
75203
75211
|
size: e.reflection.size === void 0 ? 8 : e.reflection.size,
|
|
75204
75212
|
opacity: e.reflection.opacity === void 0 ? 10 : e.reflection.opacity
|
|
75205
|
-
},
|
|
75213
|
+
}, w.style.reflection = { ...w.reflection }), e.textReflection && (w.textReflection = {
|
|
75206
75214
|
enabled: e.textReflection.enabled,
|
|
75207
75215
|
type: e.textReflection.type,
|
|
75208
75216
|
preset: e.textReflection.preset,
|
|
@@ -75210,9 +75218,9 @@ var Gpe = { class: "shortcuts-container" }, Kpe = { class: "shortcuts-header-bar
|
|
|
75210
75218
|
blur: e.textReflection.blur === void 0 ? 0 : e.textReflection.blur * n,
|
|
75211
75219
|
size: e.textReflection.size === void 0 ? 8 : e.textReflection.size,
|
|
75212
75220
|
opacity: e.textReflection.opacity === void 0 ? 10 : e.textReflection.opacity
|
|
75213
|
-
},
|
|
75214
|
-
if (
|
|
75215
|
-
|
|
75221
|
+
}, w.style.textReflection = { ...w.textReflection }), t) {
|
|
75222
|
+
if (w.path = t.path, w.viewBox = t.viewBox, t.pathFormula) {
|
|
75223
|
+
w.pathFormula = t.pathFormula, w.viewBox = [e.width, e.height];
|
|
75216
75224
|
let n = T2[t.pathFormula];
|
|
75217
75225
|
if (n && "editable" in n && n.editable) {
|
|
75218
75226
|
let t = n.defaultValue;
|
|
@@ -75296,26 +75304,26 @@ var Gpe = { class: "shortcuts-container" }, Kpe = { class: "shortcuts-header-bar
|
|
|
75296
75304
|
for (let t = e.length; t < r.length; t++) e.push(r[t]);
|
|
75297
75305
|
t = e;
|
|
75298
75306
|
}
|
|
75299
|
-
|
|
75300
|
-
} else n && (
|
|
75307
|
+
w.path = n.formula(e.width, e.height, t), w.keypoints = t, w.viewBox = [e.width, e.height];
|
|
75308
|
+
} else n && (w.path = n.formula(e.width, e.height), w.viewBox = [e.width, e.height]);
|
|
75301
75309
|
}
|
|
75302
|
-
} else if (e.path && e.path.indexOf("NaN") === -1) if (e.shapType === "arc")
|
|
75303
|
-
else if (e.shapType === "blockArc")
|
|
75310
|
+
} else if (e.path && e.path.indexOf("NaN") === -1) if (e.shapType === "arc") w.path = e.path, w.viewBox = [a, o];
|
|
75311
|
+
else if (e.shapType === "blockArc") w.fixedRatio = !0, w.path = e.path, w.viewBox = [a, o];
|
|
75304
75312
|
else {
|
|
75305
75313
|
let t = C2(e.path);
|
|
75306
|
-
|
|
75314
|
+
w.path = t.path;
|
|
75307
75315
|
let n = t.width, r = t.height;
|
|
75308
|
-
n / r > a / o ?
|
|
75316
|
+
n / r > a / o ? w.viewBox = [n, n * o / a] : w.viewBox = [r * a / o, r];
|
|
75309
75317
|
}
|
|
75310
75318
|
if (e.shapType === "custom") {
|
|
75311
75319
|
let t = e.path;
|
|
75312
|
-
t.indexOf("NaN") !== -1 && (
|
|
75320
|
+
t.indexOf("NaN") !== -1 && (w.width === 0 && (w.width = .1), w.height === 0 && (w.height = .1), t = t.replace(/NaN/g, "0"));
|
|
75313
75321
|
let n = C2(t);
|
|
75314
|
-
|
|
75322
|
+
w.path = n.path;
|
|
75315
75323
|
let r = n.width, i = n.height;
|
|
75316
|
-
r / i > a / o ?
|
|
75324
|
+
r / i > a / o ? w.viewBox = [r, r * o / a] : w.viewBox = [i * a / o, i];
|
|
75317
75325
|
}
|
|
75318
|
-
|
|
75326
|
+
w.path && typeof w.path == "string" && (w.path = w.path.trim(), w.content = w.path, e.shapType === "ellipse" && (w.content = "circle", w.shapType = "ellipse")), w.path && w.viewBox[0] && w.viewBox[1] && s.elements.push(w);
|
|
75319
75327
|
}
|
|
75320
75328
|
else if (e.type === "table") {
|
|
75321
75329
|
let t = e.data.length, r = e.data[0].length, i = {
|
|
@@ -77167,7 +77175,7 @@ var Gpe = { class: "shortcuts-container" }, Kpe = { class: "shortcuts-header-bar
|
|
|
77167
77175
|
]), (z(), l(n, { to: "body" }, [se.value ? (z(), d("div", Cme, [r[45] ||= f("div", { class: "loading-spinner" }, null, -1), f("div", wme, W(ce.value), 1)])) : u("", !0)]))], 64);
|
|
77168
77176
|
};
|
|
77169
77177
|
}
|
|
77170
|
-
}), [["__scopeId", "data-v-
|
|
77178
|
+
}), [["__scopeId", "data-v-dcf52704"]]);
|
|
77171
77179
|
//#endregion
|
|
77172
77180
|
//#region node_modules/sortablejs/modular/sortable.esm.js
|
|
77173
77181
|
function w8(e, t) {
|
|
@@ -80184,7 +80192,7 @@ var Yhe = {
|
|
|
80184
80192
|
let n = e.style && e.style.fill !== void 0 ? e.style.fill : e.fill;
|
|
80185
80193
|
if (n && typeof n == "object" && (n.type === "image" || n.type === "pattern")) {
|
|
80186
80194
|
let e = n.value;
|
|
80187
|
-
typeof e == "string" ? t = e : e && typeof e == "object" && (t = e.
|
|
80195
|
+
typeof e == "string" ? t = e : e && typeof e == "object" && (t = e.blob || e.base64 || e.src || e.url || "");
|
|
80188
80196
|
}
|
|
80189
80197
|
}
|
|
80190
80198
|
if (!t || typeof t != "string") return;
|
|
@@ -81958,7 +81966,7 @@ var Yhe = {
|
|
|
81958
81966
|
if (!e) return;
|
|
81959
81967
|
if (e.pattern || e.style?.pattern) return e.pattern || e.style?.pattern;
|
|
81960
81968
|
let t = e.style && e.style.fill !== void 0 ? e.style.fill : e.fill;
|
|
81961
|
-
if (t && typeof t == "object" && (t.type === "image" || t.type === "pattern")) return t.value?.src || t.value?.url || t.value;
|
|
81969
|
+
if (t && typeof t == "object" && (t.type === "image" || t.type === "pattern")) return t.value?.blob || t.value?.src || t.value?.base64 || t.value?.url || (typeof t.value == "string" ? t.value : void 0);
|
|
81962
81970
|
}
|
|
81963
81971
|
function Gt(e) {
|
|
81964
81972
|
if (!e) return;
|
|
@@ -83519,7 +83527,7 @@ var Yhe = {
|
|
|
83519
83527
|
], 64))], 36)) : u("", !0)], 544);
|
|
83520
83528
|
};
|
|
83521
83529
|
}
|
|
83522
|
-
}), [["__scopeId", "data-v-
|
|
83530
|
+
}), [["__scopeId", "data-v-5c538384"]]);
|
|
83523
83531
|
//#endregion
|
|
83524
83532
|
//#region src/utils/listIndent.ts
|
|
83525
83533
|
function L7(e) {
|
|
@@ -94872,7 +94880,6 @@ var JEe = {
|
|
|
94872
94880
|
St.value && r.value === t.id && o || (St.value && !o && Ot(void 0, !0), a.value.includes(t.id) || Na(t.id), eo = !0, Cs(e, t));
|
|
94873
94881
|
}
|
|
94874
94882
|
function Po(e, t) {
|
|
94875
|
-
console.info("[元素dblclick调试]", t?.id, t?.type);
|
|
94876
94883
|
let n = t;
|
|
94877
94884
|
if (a.value.length > 0 && !a.value.includes(t.id)) {
|
|
94878
94885
|
let t = jo(e.clientX, e.clientY);
|
|
@@ -97473,7 +97480,7 @@ var JEe = {
|
|
|
97473
97480
|
height: `${G(Gn)(e).height + Math.abs(G(Mn))}px`
|
|
97474
97481
|
})
|
|
97475
97482
|
}, null, 4),
|
|
97476
|
-
o[68] ||= m("<div class=\"header-quick-insert-btn col-insert-btn\" data-v-
|
|
97483
|
+
o[68] ||= m("<div class=\"header-quick-insert-btn col-insert-btn\" data-v-e9de9760><span class=\"insert-tooltip\" data-v-e9de9760>插入列</span><svg viewBox=\"0 0 24 24\" width=\"12\" height=\"12\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"3\" stroke-linecap=\"round\" stroke-linejoin=\"round\" data-v-e9de9760><line x1=\"12\" y1=\"5\" x2=\"12\" y2=\"19\" data-v-e9de9760></line><line x1=\"5\" y1=\"12\" x2=\"19\" y2=\"12\" data-v-e9de9760></line></svg></div>", 1)
|
|
97477
97484
|
], 12, FDe))), 128))], 36), f("div", {
|
|
97478
97485
|
class: "table-header-left",
|
|
97479
97486
|
onMousedown: o[35] ||= J(() => {}, ["stop"]),
|
|
@@ -97560,7 +97567,7 @@ var JEe = {
|
|
|
97560
97567
|
width: `${G(Gn)(e).width + Math.abs(G(Mn))}px`
|
|
97561
97568
|
})
|
|
97562
97569
|
}, null, 4),
|
|
97563
|
-
o[70] ||= m("<div class=\"header-quick-insert-btn row-insert-btn\" data-v-
|
|
97570
|
+
o[70] ||= m("<div class=\"header-quick-insert-btn row-insert-btn\" data-v-e9de9760><span class=\"insert-tooltip\" data-v-e9de9760>插入行</span><svg viewBox=\"0 0 24 24\" width=\"12\" height=\"12\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"3\" stroke-linecap=\"round\" stroke-linejoin=\"round\" data-v-e9de9760><line x1=\"12\" y1=\"5\" x2=\"12\" y2=\"19\" data-v-e9de9760></line><line x1=\"5\" y1=\"12\" x2=\"19\" y2=\"12\" data-v-e9de9760></line></svg></div>", 1)
|
|
97564
97571
|
], 12, zDe))), 128))], 36)], 64)) : u("", !0),
|
|
97565
97572
|
e.type !== "line" && !e.locked && G(ze) !== e.id && G(a).includes(e.id) ? (z(), d("div", {
|
|
97566
97573
|
key: 1,
|
|
@@ -97968,7 +97975,7 @@ var JEe = {
|
|
|
97968
97975
|
}, null, 544)
|
|
97969
97976
|
], 512));
|
|
97970
97977
|
}
|
|
97971
|
-
}), [["__scopeId", "data-v-
|
|
97978
|
+
}), [["__scopeId", "data-v-e9de9760"]]), _Oe = {
|
|
97972
97979
|
class: "sidebar-text-format-panel",
|
|
97973
97980
|
style: {
|
|
97974
97981
|
padding: "16px 0 40px",
|
|
@@ -114485,7 +114492,7 @@ var qVe = { class: "sidebar sidebar-right" }, JVe = {
|
|
|
114485
114492
|
let n = e.style && e.style.fill !== void 0 ? e.style.fill : e.fill;
|
|
114486
114493
|
if (n && typeof n == "object" && (n.type === "image" || n.type === "pattern")) {
|
|
114487
114494
|
let e = n.value;
|
|
114488
|
-
typeof e == "string" ? t = e : e && typeof e == "object" && (t = e.
|
|
114495
|
+
typeof e == "string" ? t = e : e && typeof e == "object" && (t = e.blob || e.base64 || e.src || e.url || "");
|
|
114489
114496
|
}
|
|
114490
114497
|
}
|
|
114491
114498
|
if (!t || typeof t != "string") return;
|
|
@@ -116019,7 +116026,7 @@ var qVe = { class: "sidebar sidebar-right" }, JVe = {
|
|
|
116019
116026
|
class: j(["hud-btn", { active: I.value.catalog }]),
|
|
116020
116027
|
onClick: o[5] ||= (e) => L("catalog"),
|
|
116021
116028
|
title: "幻灯片目录"
|
|
116022
|
-
}, [...o[33] ||= [m("<svg viewBox=\"0 0 24 24\" width=\"14\" height=\"14\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" data-v-
|
|
116029
|
+
}, [...o[33] ||= [m("<svg viewBox=\"0 0 24 24\" width=\"14\" height=\"14\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" data-v-cb4124c4><line x1=\"8\" y1=\"6\" x2=\"21\" y2=\"6\" data-v-cb4124c4></line><line x1=\"8\" y1=\"12\" x2=\"21\" y2=\"12\" data-v-cb4124c4></line><line x1=\"8\" y1=\"18\" x2=\"21\" y2=\"18\" data-v-cb4124c4></line><line x1=\"3\" y1=\"6\" x2=\"3.01\" y2=\"6\" data-v-cb4124c4></line><line x1=\"3\" y1=\"12\" x2=\"3.01\" y2=\"12\" data-v-cb4124c4></line><line x1=\"3\" y1=\"18\" x2=\"3.01\" y2=\"18\" data-v-cb4124c4></line></svg>", 1)]], 2),
|
|
116023
116030
|
f("button", {
|
|
116024
116031
|
class: j(["hud-btn", { active: I.value.presenter }]),
|
|
116025
116032
|
onClick: o[6] ||= (e) => L("presenter"),
|
|
@@ -116226,7 +116233,7 @@ var qVe = { class: "sidebar sidebar-right" }, JVe = {
|
|
|
116226
116233
|
], 32)) : u("", !0)
|
|
116227
116234
|
], 32)) : u("", !0);
|
|
116228
116235
|
}
|
|
116229
|
-
}), [["__scopeId", "data-v-
|
|
116236
|
+
}), [["__scopeId", "data-v-cb4124c4"]]), ZWe = { style: {
|
|
116230
116237
|
position: "fixed",
|
|
116231
116238
|
top: "24px",
|
|
116232
116239
|
left: "50%",
|