pptx-svelte-viewer 4.54.0 → 4.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +57 -0
- package/README.md +1 -1
- package/dist/{AiChatPanel-BnehJ42a.js → AiChatPanel-B1FwoK_F.js} +50 -50
- package/dist/ai-assistant-registry-CUKUJBDS.js +5 -0
- package/dist/ai.d.ts +14 -0
- package/dist/ai.js +8 -0
- package/dist/context-BYZ6OEju.js +14 -0
- package/dist/{export-v7cYEprs.js → export-BJPif0uf.js} +7455 -7560
- package/dist/index.d.ts +3056 -7
- package/dist/index.js +55 -53
- package/dist/internals.js +1 -1
- package/dist/{transition-overlay-BKRKblpi.js → transition-overlay-BSugeWHT.js} +707 -716
- package/dist/viewer/index.d.ts +535 -435
- package/dist/viewer/index.js +25 -24
- package/dist/x-ahsysihf.js +279 -0
- package/dist/{y-webrtc-DTI3MqYF.js → y-webrtc-UWmmFjVf.js} +3 -3
- package/package.json +9 -4
package/dist/viewer/index.js
CHANGED
|
@@ -1,26 +1,27 @@
|
|
|
1
|
-
import "../transition-overlay-
|
|
2
|
-
import { S as
|
|
3
|
-
var P = e, V = t, u = s, A = a, R = r, f = o;
|
|
1
|
+
import "../transition-overlay-BSugeWHT.js";
|
|
2
|
+
import { C as o, S as s, _ as r, a as t, b as i, c as l, d as S, f as n, g as d, h as p, i as v, l as c, m as g, n as m, o as x, p as P, r as b, s as w, t as T, u as y, v as A, x as C, y as V } from "../export-BJPif0uf.js";
|
|
4
3
|
export {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
4
|
+
m as CollaborationCursors,
|
|
5
|
+
b as EditorLayer,
|
|
6
|
+
c as PowerPointViewer,
|
|
7
|
+
n as PresentationLoader,
|
|
8
|
+
v as RemoteSelectionOverlay,
|
|
9
|
+
t as Ribbon,
|
|
10
|
+
x as SlideCanvas,
|
|
11
|
+
w as SlidesPane,
|
|
12
|
+
S as ViewerState,
|
|
13
|
+
l as ViewerToolbar,
|
|
14
|
+
A as clampSlideIndex,
|
|
15
|
+
T as createSlidesPaneProps,
|
|
16
|
+
o as createSvelteAiBridge,
|
|
17
|
+
y as createViewerState,
|
|
18
|
+
P as exportAllSlidesToSvg,
|
|
19
|
+
g as exportAllSlidesToSvgBlobs,
|
|
20
|
+
p as exportSlideAsSvg,
|
|
21
|
+
d as exportSlideToSvg,
|
|
22
|
+
r as exportSlideToSvgBlob,
|
|
23
|
+
V as fitScale,
|
|
24
|
+
i as resolveNavigationKey,
|
|
25
|
+
C as zoomInPercent,
|
|
26
|
+
s as zoomOutPercent
|
|
26
27
|
};
|
|
@@ -0,0 +1,279 @@
|
|
|
1
|
+
import "svelte/internal/disclose-version";
|
|
2
|
+
import * as t from "svelte/internal/client";
|
|
3
|
+
import { getContext as F } from "svelte";
|
|
4
|
+
var d = {
|
|
5
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6
|
+
width: 24,
|
|
7
|
+
height: 24,
|
|
8
|
+
viewBox: "0 0 24 24",
|
|
9
|
+
fill: "none",
|
|
10
|
+
stroke: "currentColor",
|
|
11
|
+
"stroke-width": 2,
|
|
12
|
+
"stroke-linecap": "round",
|
|
13
|
+
"stroke-linejoin": "round"
|
|
14
|
+
}, S = (...o) => o.filter((e, r, s) => !!e && e.trim() !== "" && s.indexOf(e) === r).join(" ").trim();
|
|
15
|
+
function k(o) {
|
|
16
|
+
return o != null;
|
|
17
|
+
}
|
|
18
|
+
function R(o, e = {}) {
|
|
19
|
+
const r = e.attributeNames ?? {}, s = (n) => r[n] ?? n, h = o.size ?? o.width ?? d.width, $ = o.size ?? o.height ?? d.height, g = o.aliases?.filter((n) => typeof n == "string" && n.trim() !== "").map((n) => `lucide-${n}`) ?? [], f = [...o.name ? [`lucide-${o.name}`] : [], ...g], p = e.className?.split(" ").filter(Boolean) ?? [], u = e.includeDefaultClasses === !1 ? S(...p) : S("lucide", ...f, ...p), w = e.absoluteStrokeWidth ? Number(e.strokeWidth ?? d["stroke-width"]) * Number(o.size ?? o.width ?? d.width) / Number(e.size ?? e.width ?? d.width) : e.strokeWidth ?? d["stroke-width"];
|
|
20
|
+
return [
|
|
21
|
+
"svg",
|
|
22
|
+
{
|
|
23
|
+
...Object.entries(d).reduce((n, [a, c]) => (n[s(a)] = c, n), {}),
|
|
24
|
+
..."color" in e && e.color && { [s("stroke")]: e.color },
|
|
25
|
+
..."size" in e && k(e.size) && {
|
|
26
|
+
[s("width")]: e.size,
|
|
27
|
+
[s("height")]: e.size
|
|
28
|
+
},
|
|
29
|
+
..."width" in e && k(e.width) && { [s("width")]: e.width },
|
|
30
|
+
..."height" in e && k(e.height) && { [s("height")]: e.height },
|
|
31
|
+
[s("stroke-width")]: w,
|
|
32
|
+
...u && { [s("class")]: u },
|
|
33
|
+
[s("viewBox")]: `0 0 ${h} ${$}`,
|
|
34
|
+
...e.hasA11yProp === !1 ? { [s("aria-hidden")]: "true" } : {},
|
|
35
|
+
..."attributes" in e && e.attributes
|
|
36
|
+
},
|
|
37
|
+
o.node.map((n) => {
|
|
38
|
+
const [a, c, v] = n, l = e.nonScalingStroke ? {
|
|
39
|
+
[s("vector-effect")]: "non-scaling-stroke",
|
|
40
|
+
...c
|
|
41
|
+
} : c;
|
|
42
|
+
return v ? [
|
|
43
|
+
a,
|
|
44
|
+
l,
|
|
45
|
+
v
|
|
46
|
+
] : [a, l];
|
|
47
|
+
})
|
|
48
|
+
];
|
|
49
|
+
}
|
|
50
|
+
var X = (o) => {
|
|
51
|
+
for (const e in o) if (e.startsWith("aria-") || e === "role" || e === "title") return !0;
|
|
52
|
+
return !1;
|
|
53
|
+
}, G = /* @__PURE__ */ Symbol("lucide-context"), J = () => F(G), K = /* @__PURE__ */ new Set([
|
|
54
|
+
"$$slots",
|
|
55
|
+
"$$events",
|
|
56
|
+
"$$legacy",
|
|
57
|
+
"color",
|
|
58
|
+
"size",
|
|
59
|
+
"width",
|
|
60
|
+
"height",
|
|
61
|
+
"strokeWidth",
|
|
62
|
+
"absoluteStrokeWidth",
|
|
63
|
+
"nonScalingStroke",
|
|
64
|
+
"iconNode",
|
|
65
|
+
"icon",
|
|
66
|
+
"class",
|
|
67
|
+
"children"
|
|
68
|
+
]), Q = t.from_svg("<svg><!><!></svg>");
|
|
69
|
+
function i(o, e) {
|
|
70
|
+
t.push(e, !0);
|
|
71
|
+
const r = J() ?? {}, s = t.prop(e, "color", 19, () => r.color ?? "currentColor"), h = t.prop(e, "size", 19, () => r.size ?? 24), $ = t.prop(e, "width", 19, h), g = t.prop(e, "height", 19, h), f = t.prop(e, "strokeWidth", 19, () => r.strokeWidth ?? 2), p = t.prop(e, "absoluteStrokeWidth", 19, () => r.absoluteStrokeWidth ?? !1), u = t.prop(e, "nonScalingStroke", 19, () => r.nonScalingStroke ?? !1), w = t.prop(e, "iconNode", 19, () => []), n = t.prop(e, "icon", 19, () => ({
|
|
72
|
+
node: w(),
|
|
73
|
+
aliases: [],
|
|
74
|
+
size: 24
|
|
75
|
+
})), a = t.rest_props(e, K), c = t.derived(() => !!e.children || X(a)), v = t.derived(() => R(n(), {
|
|
76
|
+
color: s(),
|
|
77
|
+
width: $(),
|
|
78
|
+
height: g(),
|
|
79
|
+
strokeWidth: f(),
|
|
80
|
+
absoluteStrokeWidth: p(),
|
|
81
|
+
nonScalingStroke: u(),
|
|
82
|
+
className: S("lucide-icon", r.class),
|
|
83
|
+
hasA11yProp: t.get(c),
|
|
84
|
+
attributes: a
|
|
85
|
+
})), l = t.derived(() => t.to_array(t.get(v), 3)), b = t.derived(() => t.get(l)[1]), L = t.derived(() => t.fallback(t.get(l)[2], () => [], !0)), V = t.derived(() => ({
|
|
86
|
+
...t.get(b),
|
|
87
|
+
class: [...t.get(b).class.split(" "), e.class]
|
|
88
|
+
}));
|
|
89
|
+
var _ = Q();
|
|
90
|
+
t.attribute_effect(_, () => ({ ...t.get(V) }));
|
|
91
|
+
var x = t.child(_);
|
|
92
|
+
t.each(x, 17, () => t.get(L), t.index, (H, I) => {
|
|
93
|
+
var y = t.derived(() => t.to_array(t.get(I), 2));
|
|
94
|
+
let q = () => t.get(y)[0], O = () => t.get(y)[1];
|
|
95
|
+
var z = t.comment(), T = t.first_child(z);
|
|
96
|
+
t.element(T, q, !0, (E, ie) => {
|
|
97
|
+
t.attribute_effect(E, () => ({ ...O() }));
|
|
98
|
+
}), t.append(H, z);
|
|
99
|
+
});
|
|
100
|
+
var j = t.sibling(x);
|
|
101
|
+
t.snippet(j, () => e.children ?? t.noop), t.reset(_), t.append(o, _), t.pop();
|
|
102
|
+
}
|
|
103
|
+
var N = {
|
|
104
|
+
name: "check",
|
|
105
|
+
size: 24,
|
|
106
|
+
node: [["path", { d: "M20 6 9 17l-5-5" }]]
|
|
107
|
+
}, le = N.node, U = /* @__PURE__ */ new Set([
|
|
108
|
+
"$$slots",
|
|
109
|
+
"$$events",
|
|
110
|
+
"$$legacy"
|
|
111
|
+
]);
|
|
112
|
+
function he(o, e) {
|
|
113
|
+
let r = t.rest_props(e, U);
|
|
114
|
+
i(o, t.spread_props(() => r, { get icon() {
|
|
115
|
+
return N;
|
|
116
|
+
} }));
|
|
117
|
+
}
|
|
118
|
+
var M = {
|
|
119
|
+
name: "eye",
|
|
120
|
+
size: 24,
|
|
121
|
+
node: [["path", { d: "M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0" }], ["circle", {
|
|
122
|
+
cx: "12",
|
|
123
|
+
cy: "12",
|
|
124
|
+
r: "3"
|
|
125
|
+
}]]
|
|
126
|
+
}, pe = M.node, Y = /* @__PURE__ */ new Set([
|
|
127
|
+
"$$slots",
|
|
128
|
+
"$$events",
|
|
129
|
+
"$$legacy"
|
|
130
|
+
]);
|
|
131
|
+
function ue(o, e) {
|
|
132
|
+
let r = t.rest_props(e, Y);
|
|
133
|
+
i(o, t.spread_props(() => r, { get icon() {
|
|
134
|
+
return M;
|
|
135
|
+
} }));
|
|
136
|
+
}
|
|
137
|
+
var m = {
|
|
138
|
+
name: "message-square",
|
|
139
|
+
size: 24,
|
|
140
|
+
node: [["path", { d: "M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z" }]]
|
|
141
|
+
}, ve = m.node, Z = /* @__PURE__ */ new Set([
|
|
142
|
+
"$$slots",
|
|
143
|
+
"$$events",
|
|
144
|
+
"$$legacy"
|
|
145
|
+
]);
|
|
146
|
+
function _e(o, e) {
|
|
147
|
+
let r = t.rest_props(e, Z);
|
|
148
|
+
i(o, t.spread_props(() => r, { get icon() {
|
|
149
|
+
return m;
|
|
150
|
+
} }));
|
|
151
|
+
}
|
|
152
|
+
var W = {
|
|
153
|
+
name: "plus",
|
|
154
|
+
size: 24,
|
|
155
|
+
node: [["path", { d: "M5 12h14" }], ["path", { d: "M12 5v14" }]]
|
|
156
|
+
}, $e = W.node, ee = /* @__PURE__ */ new Set([
|
|
157
|
+
"$$slots",
|
|
158
|
+
"$$events",
|
|
159
|
+
"$$legacy"
|
|
160
|
+
]);
|
|
161
|
+
function ge(o, e) {
|
|
162
|
+
let r = t.rest_props(e, ee);
|
|
163
|
+
i(o, t.spread_props(() => r, { get icon() {
|
|
164
|
+
return W;
|
|
165
|
+
} }));
|
|
166
|
+
}
|
|
167
|
+
var C = {
|
|
168
|
+
name: "rotate-ccw-clock",
|
|
169
|
+
size: 24,
|
|
170
|
+
node: [
|
|
171
|
+
["path", { d: "M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8" }],
|
|
172
|
+
["path", { d: "M3 3v5h5" }],
|
|
173
|
+
["path", { d: "M12 7v5l4 2" }]
|
|
174
|
+
],
|
|
175
|
+
aliases: ["history"]
|
|
176
|
+
}, fe = C.node, te = /* @__PURE__ */ new Set([
|
|
177
|
+
"$$slots",
|
|
178
|
+
"$$events",
|
|
179
|
+
"$$legacy"
|
|
180
|
+
]);
|
|
181
|
+
function we(o, e) {
|
|
182
|
+
let r = t.rest_props(e, te);
|
|
183
|
+
i(o, t.spread_props(() => r, { get icon() {
|
|
184
|
+
return C;
|
|
185
|
+
} }));
|
|
186
|
+
}
|
|
187
|
+
var D = {
|
|
188
|
+
name: "sparkles",
|
|
189
|
+
size: 24,
|
|
190
|
+
node: [
|
|
191
|
+
["path", { d: "M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z" }],
|
|
192
|
+
["path", { d: "M20 2v4" }],
|
|
193
|
+
["path", { d: "M22 4h-4" }],
|
|
194
|
+
["circle", {
|
|
195
|
+
cx: "4",
|
|
196
|
+
cy: "20",
|
|
197
|
+
r: "2"
|
|
198
|
+
}]
|
|
199
|
+
],
|
|
200
|
+
aliases: ["stars"]
|
|
201
|
+
}, ke = D.node, oe = /* @__PURE__ */ new Set([
|
|
202
|
+
"$$slots",
|
|
203
|
+
"$$events",
|
|
204
|
+
"$$legacy"
|
|
205
|
+
]);
|
|
206
|
+
function Se(o, e) {
|
|
207
|
+
let r = t.rest_props(e, oe);
|
|
208
|
+
i(o, t.spread_props(() => r, { get icon() {
|
|
209
|
+
return D;
|
|
210
|
+
} }));
|
|
211
|
+
}
|
|
212
|
+
var A = {
|
|
213
|
+
name: "trash",
|
|
214
|
+
size: 24,
|
|
215
|
+
node: [
|
|
216
|
+
["path", { d: "M10 11v6" }],
|
|
217
|
+
["path", { d: "M14 11v6" }],
|
|
218
|
+
["path", { d: "M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6" }],
|
|
219
|
+
["path", { d: "M3 6h18" }],
|
|
220
|
+
["path", { d: "M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2" }]
|
|
221
|
+
],
|
|
222
|
+
aliases: ["trash-2"]
|
|
223
|
+
}, be = A.node, re = /* @__PURE__ */ new Set([
|
|
224
|
+
"$$slots",
|
|
225
|
+
"$$events",
|
|
226
|
+
"$$legacy"
|
|
227
|
+
]);
|
|
228
|
+
function xe(o, e) {
|
|
229
|
+
let r = t.rest_props(e, re);
|
|
230
|
+
i(o, t.spread_props(() => r, { get icon() {
|
|
231
|
+
return A;
|
|
232
|
+
} }));
|
|
233
|
+
}
|
|
234
|
+
var B = {
|
|
235
|
+
name: "type",
|
|
236
|
+
size: 24,
|
|
237
|
+
node: [
|
|
238
|
+
["path", { d: "M12 4v16" }],
|
|
239
|
+
["path", { d: "M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2" }],
|
|
240
|
+
["path", { d: "M9 20h6" }]
|
|
241
|
+
]
|
|
242
|
+
}, ye = B.node, se = /* @__PURE__ */ new Set([
|
|
243
|
+
"$$slots",
|
|
244
|
+
"$$events",
|
|
245
|
+
"$$legacy"
|
|
246
|
+
]);
|
|
247
|
+
function ze(o, e) {
|
|
248
|
+
let r = t.rest_props(e, se);
|
|
249
|
+
i(o, t.spread_props(() => r, { get icon() {
|
|
250
|
+
return B;
|
|
251
|
+
} }));
|
|
252
|
+
}
|
|
253
|
+
var P = {
|
|
254
|
+
name: "x",
|
|
255
|
+
size: 24,
|
|
256
|
+
node: [["path", { d: "M18 6 6 18" }], ["path", { d: "m6 6 12 12" }]]
|
|
257
|
+
}, Ne = P.node, ne = /* @__PURE__ */ new Set([
|
|
258
|
+
"$$slots",
|
|
259
|
+
"$$events",
|
|
260
|
+
"$$legacy"
|
|
261
|
+
]);
|
|
262
|
+
function Me(o, e) {
|
|
263
|
+
let r = t.rest_props(e, ne);
|
|
264
|
+
i(o, t.spread_props(() => r, { get icon() {
|
|
265
|
+
return P;
|
|
266
|
+
} }));
|
|
267
|
+
}
|
|
268
|
+
export {
|
|
269
|
+
we as a,
|
|
270
|
+
ue as c,
|
|
271
|
+
Se as i,
|
|
272
|
+
he as l,
|
|
273
|
+
ze as n,
|
|
274
|
+
ge as o,
|
|
275
|
+
xe as r,
|
|
276
|
+
_e as s,
|
|
277
|
+
Me as t,
|
|
278
|
+
i as u
|
|
279
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as pr,
|
|
1
|
+
import { A as pr, O as gr, k as Fe } from "./transition-overlay-BSugeWHT.js";
|
|
2
2
|
import { $ as yr, A as br, B as Ct, D as mr, E as ut, F as _r, G as Ye, H as vr, I as Mt, J as je, K as wr, L as lt, M as se, O as Er, P as ae, R as ce, S as Cr, T as Rr, U as Rt, V as Sr, W as St, X as Tr, Y as ht, Z as Ar, _ as kr, a as Or, at as xr, b as Ge, c as Nr, d as Lr, et as Mr, f as Dr, g as Ir, i as Tt, it as Pr, j as it, k as Dt, l as jr, m as Ur, n as Br, nt as ft, o as It, ot as Fr, p as $r, q as Pt, r as $e, rt as jt, s as qr, st, t as Wr, tt as dt, u as Hr, v as Vr, w as Ut, x as Yr, y as Gr, z as Le } from "./awareness-BwmJcSKy.js";
|
|
3
3
|
import "yjs";
|
|
4
4
|
var zr = 1200, Kr = 2500, qe = 3e4, ot = (r) => {
|
|
@@ -392,7 +392,7 @@ ${b.toString()}`);
|
|
|
392
392
|
}
|
|
393
393
|
} else b !== void 0 && b();
|
|
394
394
|
};
|
|
395
|
-
}, Kn = /* @__PURE__ */
|
|
395
|
+
}, Kn = /* @__PURE__ */ gr(((r, c) => {
|
|
396
396
|
(function(b) {
|
|
397
397
|
if (typeof r == "object" && typeof c < "u") c.exports = b();
|
|
398
398
|
else if (typeof define == "function" && define.amd) define([], b);
|
|
@@ -3409,7 +3409,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
|
|
|
3409
3409
|
}]
|
|
3410
3410
|
}, {}, [])("/");
|
|
3411
3411
|
});
|
|
3412
|
-
})), Jn = /* @__PURE__ */
|
|
3412
|
+
})), Jn = /* @__PURE__ */ pr(Kn(), 1), Xn = (r, c) => {
|
|
3413
3413
|
const b = Ct(r).buffer, N = Ct(c).buffer;
|
|
3414
3414
|
return crypto.subtle.importKey("raw", b, "PBKDF2", !1, ["deriveKey"]).then((I) => crypto.subtle.deriveKey({
|
|
3415
3415
|
name: "PBKDF2",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pptx-svelte-viewer",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.55.0",
|
|
4
4
|
"description": "pptx-viewer for Svelte 5: a PowerPoint viewer and editor component to render, edit, present, and export PPTX slides in the browser.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"office",
|
|
@@ -55,6 +55,11 @@
|
|
|
55
55
|
"svelte": "./dist/internals.js",
|
|
56
56
|
"import": "./dist/internals.js"
|
|
57
57
|
},
|
|
58
|
+
"./ai": {
|
|
59
|
+
"types": "./dist/ai.d.ts",
|
|
60
|
+
"svelte": "./dist/ai.js",
|
|
61
|
+
"import": "./dist/ai.js"
|
|
62
|
+
},
|
|
58
63
|
"./i18n": {
|
|
59
64
|
"types": "./dist/i18n.d.ts",
|
|
60
65
|
"import": "./dist/i18n.js"
|
|
@@ -103,7 +108,7 @@
|
|
|
103
108
|
}
|
|
104
109
|
},
|
|
105
110
|
"scripts": {
|
|
106
|
-
"build": "vite build && rollup -c rollup.dts.config.mjs && node ../../scripts/merge-declarations.mjs .types-bundle && node ../../scripts/prune-stray-declarations.mjs dist index.d.ts viewer/index.d.ts i18n.d.ts internals.d.ts && node ../locales/scripts/copy-subpaths.mjs",
|
|
111
|
+
"build": "vite build && rollup -c rollup.dts.config.mjs && node ../../scripts/merge-declarations.mjs .types-bundle && node ../../scripts/prune-stray-declarations.mjs dist index.d.ts viewer/index.d.ts i18n.d.ts internals.d.ts ai.d.ts && node ../locales/scripts/copy-subpaths.mjs",
|
|
107
112
|
"dev": "vite build --watch",
|
|
108
113
|
"typecheck": "svelte-check --tsconfig ./tsconfig.json",
|
|
109
114
|
"test": "vitest run",
|
|
@@ -116,8 +121,8 @@
|
|
|
116
121
|
"html2canvas-pro": "^2.5.2",
|
|
117
122
|
"jspdf": "^4.2.1",
|
|
118
123
|
"jszip": "^3.10.2",
|
|
119
|
-
"ooxml-core": "^1.
|
|
120
|
-
"ooxml-ui": "^1.
|
|
124
|
+
"ooxml-core": "^1.30.0",
|
|
125
|
+
"ooxml-ui": "^1.31.0",
|
|
121
126
|
"opentype.js": "^2.0.0"
|
|
122
127
|
},
|
|
123
128
|
"devDependencies": {
|