react-av-timeline 1.2.1 → 1.2.3
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/index.js +254 -623
- package/package.json +5 -11
package/dist/index.js
CHANGED
|
@@ -1,689 +1,320 @@
|
|
|
1
|
-
import
|
|
2
|
-
var
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
var
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
return { $$typeof: l, type: h, key: C, ref: D, props: g, _owner: O.current };
|
|
1
|
+
import ae from "react";
|
|
2
|
+
var g = { exports: {} }, y = {};
|
|
3
|
+
var q;
|
|
4
|
+
function oe() {
|
|
5
|
+
if (q) return y;
|
|
6
|
+
q = 1;
|
|
7
|
+
var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.fragment");
|
|
8
|
+
function i(l, u, c) {
|
|
9
|
+
var m = null;
|
|
10
|
+
if (c !== void 0 && (m = "" + c), u.key !== void 0 && (m = "" + u.key), "key" in u) {
|
|
11
|
+
c = {};
|
|
12
|
+
for (var f in u)
|
|
13
|
+
f !== "key" && (c[f] = u[f]);
|
|
14
|
+
} else c = u;
|
|
15
|
+
return u = c.ref, {
|
|
16
|
+
$$typeof: t,
|
|
17
|
+
type: l,
|
|
18
|
+
key: m,
|
|
19
|
+
ref: u !== void 0 ? u : null,
|
|
20
|
+
props: c
|
|
21
|
+
};
|
|
23
22
|
}
|
|
24
|
-
return
|
|
23
|
+
return y.Fragment = n, y.jsx = i, y.jsxs = i, y;
|
|
25
24
|
}
|
|
26
|
-
var
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
*/
|
|
36
|
-
var xe;
|
|
37
|
-
function _r() {
|
|
38
|
-
return xe || (xe = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
39
|
-
var s = De, l = Symbol.for("react.element"), _ = Symbol.for("react.portal"), p = Symbol.for("react.fragment"), O = Symbol.for("react.strict_mode"), w = Symbol.for("react.profiler"), T = Symbol.for("react.provider"), h = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), R = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), C = Symbol.for("react.lazy"), D = Symbol.for("react.offscreen"), M = Symbol.iterator, K = "@@iterator";
|
|
40
|
-
function ne(e) {
|
|
41
|
-
if (e === null || typeof e != "object")
|
|
42
|
-
return null;
|
|
43
|
-
var r = M && e[M] || e[K];
|
|
44
|
-
return typeof r == "function" ? r : null;
|
|
45
|
-
}
|
|
46
|
-
var S = s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
47
|
-
function m(e) {
|
|
48
|
-
{
|
|
49
|
-
for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), n = 1; n < r; n++)
|
|
50
|
-
t[n - 1] = arguments[n];
|
|
51
|
-
Fe("error", e, t);
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
function Fe(e, r, t) {
|
|
55
|
-
{
|
|
56
|
-
var n = S.ReactDebugCurrentFrame, o = n.getStackAddendum();
|
|
57
|
-
o !== "" && (r += "%s", t = t.concat([o]));
|
|
58
|
-
var u = t.map(function(i) {
|
|
59
|
-
return String(i);
|
|
60
|
-
});
|
|
61
|
-
u.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, u);
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
var $e = !1, Ie = !1, We = !1, Ye = !1, Me = !1, ae;
|
|
65
|
-
ae = Symbol.for("react.module.reference");
|
|
66
|
-
function Ne(e) {
|
|
67
|
-
return !!(typeof e == "string" || typeof e == "function" || e === p || e === w || Me || e === O || e === R || e === f || Ye || e === D || $e || Ie || We || typeof e == "object" && e !== null && (e.$$typeof === C || e.$$typeof === g || e.$$typeof === T || e.$$typeof === h || e.$$typeof === c || // This needs to include all possible module reference object
|
|
68
|
-
// types supported by any Flight configuration anywhere since
|
|
69
|
-
// we don't know which Flight build this will end up being used
|
|
70
|
-
// with.
|
|
71
|
-
e.$$typeof === ae || e.getModuleId !== void 0));
|
|
72
|
-
}
|
|
73
|
-
function Ve(e, r, t) {
|
|
74
|
-
var n = e.displayName;
|
|
75
|
-
if (n)
|
|
76
|
-
return n;
|
|
77
|
-
var o = r.displayName || r.name || "";
|
|
78
|
-
return o !== "" ? t + "(" + o + ")" : t;
|
|
79
|
-
}
|
|
80
|
-
function ie(e) {
|
|
81
|
-
return e.displayName || "Context";
|
|
82
|
-
}
|
|
83
|
-
function j(e) {
|
|
84
|
-
if (e == null)
|
|
85
|
-
return null;
|
|
86
|
-
if (typeof e.tag == "number" && m("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
87
|
-
return e.displayName || e.name || null;
|
|
88
|
-
if (typeof e == "string")
|
|
89
|
-
return e;
|
|
25
|
+
var T = {};
|
|
26
|
+
var J;
|
|
27
|
+
function se() {
|
|
28
|
+
return J || (J = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
29
|
+
function t(e) {
|
|
30
|
+
if (e == null) return null;
|
|
31
|
+
if (typeof e == "function")
|
|
32
|
+
return e.$$typeof === re ? null : e.displayName || e.name || null;
|
|
33
|
+
if (typeof e == "string") return e;
|
|
90
34
|
switch (e) {
|
|
91
|
-
case
|
|
35
|
+
case k:
|
|
92
36
|
return "Fragment";
|
|
93
|
-
case
|
|
94
|
-
return "Portal";
|
|
95
|
-
case w:
|
|
37
|
+
case N:
|
|
96
38
|
return "Profiler";
|
|
97
|
-
case
|
|
39
|
+
case S:
|
|
98
40
|
return "StrictMode";
|
|
99
|
-
case
|
|
41
|
+
case Z:
|
|
100
42
|
return "Suspense";
|
|
101
|
-
case
|
|
43
|
+
case Q:
|
|
102
44
|
return "SuspenseList";
|
|
45
|
+
case ee:
|
|
46
|
+
return "Activity";
|
|
103
47
|
}
|
|
104
48
|
if (typeof e == "object")
|
|
105
|
-
switch (
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
return
|
|
112
|
-
case
|
|
113
|
-
return
|
|
114
|
-
case
|
|
115
|
-
var
|
|
116
|
-
return
|
|
117
|
-
case
|
|
118
|
-
|
|
49
|
+
switch (typeof e.tag == "number" && console.error(
|
|
50
|
+
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
51
|
+
), e.$$typeof) {
|
|
52
|
+
case x:
|
|
53
|
+
return "Portal";
|
|
54
|
+
case B:
|
|
55
|
+
return e.displayName || "Context";
|
|
56
|
+
case X:
|
|
57
|
+
return (e._context.displayName || "Context") + ".Consumer";
|
|
58
|
+
case H:
|
|
59
|
+
var r = e.render;
|
|
60
|
+
return e = e.displayName, e || (e = r.displayName || r.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
|
|
61
|
+
case K:
|
|
62
|
+
return r = e.displayName || null, r !== null ? r : t(e.type) || "Memo";
|
|
63
|
+
case P:
|
|
64
|
+
r = e._payload, e = e._init;
|
|
119
65
|
try {
|
|
120
|
-
return
|
|
66
|
+
return t(e(r));
|
|
121
67
|
} catch {
|
|
122
|
-
return null;
|
|
123
68
|
}
|
|
124
|
-
}
|
|
125
69
|
}
|
|
126
70
|
return null;
|
|
127
71
|
}
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
}
|
|
131
|
-
ve.__reactDisabledLog = !0;
|
|
132
|
-
function Le() {
|
|
133
|
-
{
|
|
134
|
-
if ($ === 0) {
|
|
135
|
-
oe = console.log, ue = console.info, se = console.warn, le = console.error, ce = console.group, fe = console.groupCollapsed, de = console.groupEnd;
|
|
136
|
-
var e = {
|
|
137
|
-
configurable: !0,
|
|
138
|
-
enumerable: !0,
|
|
139
|
-
value: ve,
|
|
140
|
-
writable: !0
|
|
141
|
-
};
|
|
142
|
-
Object.defineProperties(console, {
|
|
143
|
-
info: e,
|
|
144
|
-
log: e,
|
|
145
|
-
warn: e,
|
|
146
|
-
error: e,
|
|
147
|
-
group: e,
|
|
148
|
-
groupCollapsed: e,
|
|
149
|
-
groupEnd: e
|
|
150
|
-
});
|
|
151
|
-
}
|
|
152
|
-
$++;
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
function Ue() {
|
|
156
|
-
{
|
|
157
|
-
if ($--, $ === 0) {
|
|
158
|
-
var e = {
|
|
159
|
-
configurable: !0,
|
|
160
|
-
enumerable: !0,
|
|
161
|
-
writable: !0
|
|
162
|
-
};
|
|
163
|
-
Object.defineProperties(console, {
|
|
164
|
-
log: x({}, e, {
|
|
165
|
-
value: oe
|
|
166
|
-
}),
|
|
167
|
-
info: x({}, e, {
|
|
168
|
-
value: ue
|
|
169
|
-
}),
|
|
170
|
-
warn: x({}, e, {
|
|
171
|
-
value: se
|
|
172
|
-
}),
|
|
173
|
-
error: x({}, e, {
|
|
174
|
-
value: le
|
|
175
|
-
}),
|
|
176
|
-
group: x({}, e, {
|
|
177
|
-
value: ce
|
|
178
|
-
}),
|
|
179
|
-
groupCollapsed: x({}, e, {
|
|
180
|
-
value: fe
|
|
181
|
-
}),
|
|
182
|
-
groupEnd: x({}, e, {
|
|
183
|
-
value: de
|
|
184
|
-
})
|
|
185
|
-
});
|
|
186
|
-
}
|
|
187
|
-
$ < 0 && m("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
var G = S.ReactCurrentDispatcher, z;
|
|
191
|
-
function N(e, r, t) {
|
|
192
|
-
{
|
|
193
|
-
if (z === void 0)
|
|
194
|
-
try {
|
|
195
|
-
throw Error();
|
|
196
|
-
} catch (o) {
|
|
197
|
-
var n = o.stack.trim().match(/\n( *(at )?)/);
|
|
198
|
-
z = n && n[1] || "";
|
|
199
|
-
}
|
|
200
|
-
return `
|
|
201
|
-
` + z + e;
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
var X = !1, V;
|
|
205
|
-
{
|
|
206
|
-
var Je = typeof WeakMap == "function" ? WeakMap : Map;
|
|
207
|
-
V = new Je();
|
|
72
|
+
function n(e) {
|
|
73
|
+
return "" + e;
|
|
208
74
|
}
|
|
209
|
-
function
|
|
210
|
-
if (!e || X)
|
|
211
|
-
return "";
|
|
212
|
-
{
|
|
213
|
-
var t = V.get(e);
|
|
214
|
-
if (t !== void 0)
|
|
215
|
-
return t;
|
|
216
|
-
}
|
|
217
|
-
var n;
|
|
218
|
-
X = !0;
|
|
219
|
-
var o = Error.prepareStackTrace;
|
|
220
|
-
Error.prepareStackTrace = void 0;
|
|
221
|
-
var u;
|
|
222
|
-
u = G.current, G.current = null, Le();
|
|
75
|
+
function i(e) {
|
|
223
76
|
try {
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
if (Object.defineProperty(i.prototype, "props", {
|
|
229
|
-
set: function() {
|
|
230
|
-
throw Error();
|
|
231
|
-
}
|
|
232
|
-
}), typeof Reflect == "object" && Reflect.construct) {
|
|
233
|
-
try {
|
|
234
|
-
Reflect.construct(i, []);
|
|
235
|
-
} catch (b) {
|
|
236
|
-
n = b;
|
|
237
|
-
}
|
|
238
|
-
Reflect.construct(e, [], i);
|
|
239
|
-
} else {
|
|
240
|
-
try {
|
|
241
|
-
i.call();
|
|
242
|
-
} catch (b) {
|
|
243
|
-
n = b;
|
|
244
|
-
}
|
|
245
|
-
e.call(i.prototype);
|
|
246
|
-
}
|
|
247
|
-
} else {
|
|
248
|
-
try {
|
|
249
|
-
throw Error();
|
|
250
|
-
} catch (b) {
|
|
251
|
-
n = b;
|
|
252
|
-
}
|
|
253
|
-
e();
|
|
254
|
-
}
|
|
255
|
-
} catch (b) {
|
|
256
|
-
if (b && n && typeof b.stack == "string") {
|
|
257
|
-
for (var a = b.stack.split(`
|
|
258
|
-
`), y = n.stack.split(`
|
|
259
|
-
`), d = a.length - 1, v = y.length - 1; d >= 1 && v >= 0 && a[d] !== y[v]; )
|
|
260
|
-
v--;
|
|
261
|
-
for (; d >= 1 && v >= 0; d--, v--)
|
|
262
|
-
if (a[d] !== y[v]) {
|
|
263
|
-
if (d !== 1 || v !== 1)
|
|
264
|
-
do
|
|
265
|
-
if (d--, v--, v < 0 || a[d] !== y[v]) {
|
|
266
|
-
var E = `
|
|
267
|
-
` + a[d].replace(" at new ", " at ");
|
|
268
|
-
return e.displayName && E.includes("<anonymous>") && (E = E.replace("<anonymous>", e.displayName)), typeof e == "function" && V.set(e, E), E;
|
|
269
|
-
}
|
|
270
|
-
while (d >= 1 && v >= 0);
|
|
271
|
-
break;
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
} finally {
|
|
275
|
-
X = !1, G.current = u, Ue(), Error.prepareStackTrace = o;
|
|
276
|
-
}
|
|
277
|
-
var F = e ? e.displayName || e.name : "", k = F ? N(F) : "";
|
|
278
|
-
return typeof e == "function" && V.set(e, k), k;
|
|
279
|
-
}
|
|
280
|
-
function qe(e, r, t) {
|
|
281
|
-
return pe(e, !1);
|
|
282
|
-
}
|
|
283
|
-
function Be(e) {
|
|
284
|
-
var r = e.prototype;
|
|
285
|
-
return !!(r && r.isReactComponent);
|
|
286
|
-
}
|
|
287
|
-
function L(e, r, t) {
|
|
288
|
-
if (e == null)
|
|
289
|
-
return "";
|
|
290
|
-
if (typeof e == "function")
|
|
291
|
-
return pe(e, Be(e));
|
|
292
|
-
if (typeof e == "string")
|
|
293
|
-
return N(e);
|
|
294
|
-
switch (e) {
|
|
295
|
-
case R:
|
|
296
|
-
return N("Suspense");
|
|
297
|
-
case f:
|
|
298
|
-
return N("SuspenseList");
|
|
299
|
-
}
|
|
300
|
-
if (typeof e == "object")
|
|
301
|
-
switch (e.$$typeof) {
|
|
302
|
-
case c:
|
|
303
|
-
return qe(e.render);
|
|
304
|
-
case g:
|
|
305
|
-
return L(e.type, r, t);
|
|
306
|
-
case C: {
|
|
307
|
-
var n = e, o = n._payload, u = n._init;
|
|
308
|
-
try {
|
|
309
|
-
return L(u(o), r, t);
|
|
310
|
-
} catch {
|
|
311
|
-
}
|
|
312
|
-
}
|
|
313
|
-
}
|
|
314
|
-
return "";
|
|
315
|
-
}
|
|
316
|
-
var I = Object.prototype.hasOwnProperty, me = {}, _e = S.ReactDebugCurrentFrame;
|
|
317
|
-
function U(e) {
|
|
318
|
-
if (e) {
|
|
319
|
-
var r = e._owner, t = L(e.type, e._source, r ? r.type : null);
|
|
320
|
-
_e.setExtraStackFrame(t);
|
|
321
|
-
} else
|
|
322
|
-
_e.setExtraStackFrame(null);
|
|
323
|
-
}
|
|
324
|
-
function Ke(e, r, t, n, o) {
|
|
325
|
-
{
|
|
326
|
-
var u = Function.call.bind(I);
|
|
327
|
-
for (var i in e)
|
|
328
|
-
if (u(e, i)) {
|
|
329
|
-
var a = void 0;
|
|
330
|
-
try {
|
|
331
|
-
if (typeof e[i] != "function") {
|
|
332
|
-
var y = Error((n || "React class") + ": " + t + " type `" + i + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[i] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
333
|
-
throw y.name = "Invariant Violation", y;
|
|
334
|
-
}
|
|
335
|
-
a = e[i](r, i, n, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
336
|
-
} catch (d) {
|
|
337
|
-
a = d;
|
|
338
|
-
}
|
|
339
|
-
a && !(a instanceof Error) && (U(o), m("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", n || "React class", t, i, typeof a), U(null)), a instanceof Error && !(a.message in me) && (me[a.message] = !0, U(o), m("Failed %s type: %s", t, a.message), U(null));
|
|
340
|
-
}
|
|
77
|
+
n(e);
|
|
78
|
+
var r = !1;
|
|
79
|
+
} catch {
|
|
80
|
+
r = !0;
|
|
341
81
|
}
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
return t;
|
|
82
|
+
if (r) {
|
|
83
|
+
r = console;
|
|
84
|
+
var a = r.error, o = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
85
|
+
return a.call(
|
|
86
|
+
r,
|
|
87
|
+
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
88
|
+
o
|
|
89
|
+
), n(e);
|
|
351
90
|
}
|
|
352
91
|
}
|
|
353
|
-
function
|
|
92
|
+
function l(e) {
|
|
93
|
+
if (e === k) return "<>";
|
|
94
|
+
if (typeof e == "object" && e !== null && e.$$typeof === P)
|
|
95
|
+
return "<...>";
|
|
354
96
|
try {
|
|
355
|
-
|
|
97
|
+
var r = t(e);
|
|
98
|
+
return r ? "<" + r + ">" : "<...>";
|
|
356
99
|
} catch {
|
|
357
|
-
return
|
|
100
|
+
return "<...>";
|
|
358
101
|
}
|
|
359
102
|
}
|
|
360
|
-
function
|
|
361
|
-
|
|
103
|
+
function u() {
|
|
104
|
+
var e = $.A;
|
|
105
|
+
return e === null ? null : e.getOwner();
|
|
362
106
|
}
|
|
363
|
-
function
|
|
364
|
-
|
|
365
|
-
return m("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ze(e)), ye(e);
|
|
107
|
+
function c() {
|
|
108
|
+
return Error("react-stack-top-frame");
|
|
366
109
|
}
|
|
367
|
-
|
|
368
|
-
key: !0,
|
|
369
|
-
ref: !0,
|
|
370
|
-
__self: !0,
|
|
371
|
-
__source: !0
|
|
372
|
-
}, be, Ee;
|
|
373
|
-
function Ze(e) {
|
|
374
|
-
if (I.call(e, "ref")) {
|
|
375
|
-
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
376
|
-
if (r && r.isReactWarning)
|
|
377
|
-
return !1;
|
|
378
|
-
}
|
|
379
|
-
return e.ref !== void 0;
|
|
380
|
-
}
|
|
381
|
-
function Qe(e) {
|
|
110
|
+
function m(e) {
|
|
382
111
|
if (I.call(e, "key")) {
|
|
383
112
|
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
384
|
-
if (r && r.isReactWarning)
|
|
385
|
-
return !1;
|
|
113
|
+
if (r && r.isReactWarning) return !1;
|
|
386
114
|
}
|
|
387
115
|
return e.key !== void 0;
|
|
388
116
|
}
|
|
389
|
-
function
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
be || (be = !0, m("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
|
|
396
|
-
};
|
|
397
|
-
t.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
398
|
-
get: t,
|
|
399
|
-
configurable: !0
|
|
400
|
-
});
|
|
401
|
-
}
|
|
402
|
-
}
|
|
403
|
-
function tr(e, r) {
|
|
404
|
-
{
|
|
405
|
-
var t = function() {
|
|
406
|
-
Ee || (Ee = !0, m("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
|
|
407
|
-
};
|
|
408
|
-
t.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
409
|
-
get: t,
|
|
410
|
-
configurable: !0
|
|
411
|
-
});
|
|
117
|
+
function f(e, r) {
|
|
118
|
+
function a() {
|
|
119
|
+
F || (F = !0, console.error(
|
|
120
|
+
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
121
|
+
r
|
|
122
|
+
));
|
|
412
123
|
}
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
124
|
+
a.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
125
|
+
get: a,
|
|
126
|
+
configurable: !0
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
function E() {
|
|
130
|
+
var e = t(this.type);
|
|
131
|
+
return L[e] || (L[e] = !0, console.error(
|
|
132
|
+
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
133
|
+
)), e = this.props.ref, e !== void 0 ? e : null;
|
|
134
|
+
}
|
|
135
|
+
function R(e, r, a, o, A, Y) {
|
|
136
|
+
var s = a.ref;
|
|
137
|
+
return e = {
|
|
138
|
+
$$typeof: h,
|
|
419
139
|
type: e,
|
|
420
140
|
key: r,
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
141
|
+
props: a,
|
|
142
|
+
_owner: o
|
|
143
|
+
}, (s !== void 0 ? s : null) !== null ? Object.defineProperty(e, "ref", {
|
|
144
|
+
enumerable: !1,
|
|
145
|
+
get: E
|
|
146
|
+
}) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
|
|
427
147
|
configurable: !1,
|
|
428
148
|
enumerable: !1,
|
|
429
149
|
writable: !0,
|
|
430
|
-
value:
|
|
431
|
-
}), Object.defineProperty(
|
|
150
|
+
value: 0
|
|
151
|
+
}), Object.defineProperty(e, "_debugInfo", {
|
|
432
152
|
configurable: !1,
|
|
433
153
|
enumerable: !1,
|
|
434
|
-
writable: !
|
|
435
|
-
value:
|
|
436
|
-
}), Object.defineProperty(
|
|
154
|
+
writable: !0,
|
|
155
|
+
value: null
|
|
156
|
+
}), Object.defineProperty(e, "_debugStack", {
|
|
437
157
|
configurable: !1,
|
|
438
158
|
enumerable: !1,
|
|
439
|
-
writable: !
|
|
440
|
-
value:
|
|
441
|
-
}), Object.
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
}
|
|
469
|
-
var Q;
|
|
470
|
-
Q = !1;
|
|
471
|
-
function ee(e) {
|
|
472
|
-
return typeof e == "object" && e !== null && e.$$typeof === l;
|
|
473
|
-
}
|
|
474
|
-
function Te() {
|
|
475
|
-
{
|
|
476
|
-
if (Z.current) {
|
|
477
|
-
var e = j(Z.current.type);
|
|
478
|
-
if (e)
|
|
479
|
-
return `
|
|
480
|
-
|
|
481
|
-
Check the render method of \`` + e + "`.";
|
|
482
|
-
}
|
|
483
|
-
return "";
|
|
484
|
-
}
|
|
485
|
-
}
|
|
486
|
-
function ir(e) {
|
|
487
|
-
return "";
|
|
488
|
-
}
|
|
489
|
-
var Oe = {};
|
|
490
|
-
function or(e) {
|
|
491
|
-
{
|
|
492
|
-
var r = Te();
|
|
493
|
-
if (!r) {
|
|
494
|
-
var t = typeof e == "string" ? e : e.displayName || e.name;
|
|
495
|
-
t && (r = `
|
|
496
|
-
|
|
497
|
-
Check the top-level render call using <` + t + ">.");
|
|
498
|
-
}
|
|
499
|
-
return r;
|
|
500
|
-
}
|
|
501
|
-
}
|
|
502
|
-
function we(e, r) {
|
|
503
|
-
{
|
|
504
|
-
if (!e._store || e._store.validated || e.key != null)
|
|
505
|
-
return;
|
|
506
|
-
e._store.validated = !0;
|
|
507
|
-
var t = or(r);
|
|
508
|
-
if (Oe[t])
|
|
509
|
-
return;
|
|
510
|
-
Oe[t] = !0;
|
|
511
|
-
var n = "";
|
|
512
|
-
e && e._owner && e._owner !== Z.current && (n = " It was passed a child from " + j(e._owner.type) + "."), A(e), m('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, n), A(null);
|
|
513
|
-
}
|
|
514
|
-
}
|
|
515
|
-
function Ce(e, r) {
|
|
516
|
-
{
|
|
517
|
-
if (typeof e != "object")
|
|
518
|
-
return;
|
|
519
|
-
if (H(e))
|
|
520
|
-
for (var t = 0; t < e.length; t++) {
|
|
521
|
-
var n = e[t];
|
|
522
|
-
ee(n) && we(n, r);
|
|
523
|
-
}
|
|
524
|
-
else if (ee(e))
|
|
525
|
-
e._store && (e._store.validated = !0);
|
|
526
|
-
else if (e) {
|
|
527
|
-
var o = ne(e);
|
|
528
|
-
if (typeof o == "function" && o !== e.entries)
|
|
529
|
-
for (var u = o.call(e), i; !(i = u.next()).done; )
|
|
530
|
-
ee(i.value) && we(i.value, r);
|
|
531
|
-
}
|
|
532
|
-
}
|
|
533
|
-
}
|
|
534
|
-
function ur(e) {
|
|
535
|
-
{
|
|
536
|
-
var r = e.type;
|
|
537
|
-
if (r == null || typeof r == "string")
|
|
538
|
-
return;
|
|
539
|
-
var t;
|
|
540
|
-
if (typeof r == "function")
|
|
541
|
-
t = r.propTypes;
|
|
542
|
-
else if (typeof r == "object" && (r.$$typeof === c || // Note: Memo only checks outer props here.
|
|
543
|
-
// Inner props are checked in the reconciler.
|
|
544
|
-
r.$$typeof === g))
|
|
545
|
-
t = r.propTypes;
|
|
546
|
-
else
|
|
547
|
-
return;
|
|
548
|
-
if (t) {
|
|
549
|
-
var n = j(r);
|
|
550
|
-
Ke(t, e.props, "prop", n, e);
|
|
551
|
-
} else if (r.PropTypes !== void 0 && !Q) {
|
|
552
|
-
Q = !0;
|
|
553
|
-
var o = j(r);
|
|
554
|
-
m("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", o || "Unknown");
|
|
555
|
-
}
|
|
556
|
-
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && m("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
557
|
-
}
|
|
558
|
-
}
|
|
559
|
-
function sr(e) {
|
|
560
|
-
{
|
|
561
|
-
for (var r = Object.keys(e.props), t = 0; t < r.length; t++) {
|
|
562
|
-
var n = r[t];
|
|
563
|
-
if (n !== "children" && n !== "key") {
|
|
564
|
-
A(e), m("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), A(null);
|
|
565
|
-
break;
|
|
566
|
-
}
|
|
567
|
-
}
|
|
568
|
-
e.ref !== null && (A(e), m("Invalid attribute `ref` supplied to `React.Fragment`."), A(null));
|
|
569
|
-
}
|
|
570
|
-
}
|
|
571
|
-
var Se = {};
|
|
572
|
-
function je(e, r, t, n, o, u) {
|
|
573
|
-
{
|
|
574
|
-
var i = Ne(e);
|
|
575
|
-
if (!i) {
|
|
576
|
-
var a = "";
|
|
577
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (a += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
578
|
-
var y = ir();
|
|
579
|
-
y ? a += y : a += Te();
|
|
580
|
-
var d;
|
|
581
|
-
e === null ? d = "null" : H(e) ? d = "array" : e !== void 0 && e.$$typeof === l ? (d = "<" + (j(e.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : d = typeof e, m("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", d, a);
|
|
582
|
-
}
|
|
583
|
-
var v = ar(e, r, t, o, u);
|
|
584
|
-
if (v == null)
|
|
585
|
-
return v;
|
|
586
|
-
if (i) {
|
|
587
|
-
var E = r.children;
|
|
588
|
-
if (E !== void 0)
|
|
589
|
-
if (n)
|
|
590
|
-
if (H(E)) {
|
|
591
|
-
for (var F = 0; F < E.length; F++)
|
|
592
|
-
Ce(E[F], e);
|
|
593
|
-
Object.freeze && Object.freeze(E);
|
|
594
|
-
} else
|
|
595
|
-
m("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
596
|
-
else
|
|
597
|
-
Ce(E, e);
|
|
598
|
-
}
|
|
599
|
-
if (I.call(r, "key")) {
|
|
600
|
-
var k = j(e), b = Object.keys(r).filter(function(pr) {
|
|
601
|
-
return pr !== "key";
|
|
602
|
-
}), re = b.length > 0 ? "{key: someKey, " + b.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
603
|
-
if (!Se[k + re]) {
|
|
604
|
-
var vr = b.length > 0 ? "{" + b.join(": ..., ") + ": ...}" : "{}";
|
|
605
|
-
m(`A props object containing a "key" prop is being spread into JSX:
|
|
159
|
+
writable: !0,
|
|
160
|
+
value: A
|
|
161
|
+
}), Object.defineProperty(e, "_debugTask", {
|
|
162
|
+
configurable: !1,
|
|
163
|
+
enumerable: !1,
|
|
164
|
+
writable: !0,
|
|
165
|
+
value: Y
|
|
166
|
+
}), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
|
|
167
|
+
}
|
|
168
|
+
function d(e, r, a, o, A, Y) {
|
|
169
|
+
var s = r.children;
|
|
170
|
+
if (s !== void 0)
|
|
171
|
+
if (o)
|
|
172
|
+
if (te(s)) {
|
|
173
|
+
for (o = 0; o < s.length; o++)
|
|
174
|
+
v(s[o]);
|
|
175
|
+
Object.freeze && Object.freeze(s);
|
|
176
|
+
} else
|
|
177
|
+
console.error(
|
|
178
|
+
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
179
|
+
);
|
|
180
|
+
else v(s);
|
|
181
|
+
if (I.call(r, "key")) {
|
|
182
|
+
s = t(e);
|
|
183
|
+
var b = Object.keys(r).filter(function(ne) {
|
|
184
|
+
return ne !== "key";
|
|
185
|
+
});
|
|
186
|
+
o = 0 < b.length ? "{key: someKey, " + b.join(": ..., ") + ": ...}" : "{key: someKey}", V[s + o] || (b = 0 < b.length ? "{" + b.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
187
|
+
`A props object containing a "key" prop is being spread into JSX:
|
|
606
188
|
let props = %s;
|
|
607
189
|
<%s {...props} />
|
|
608
190
|
React keys must be passed directly to JSX without using spread:
|
|
609
191
|
let props = %s;
|
|
610
|
-
<%s key={someKey} {...props} />`,
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
192
|
+
<%s key={someKey} {...props} />`,
|
|
193
|
+
o,
|
|
194
|
+
s,
|
|
195
|
+
b,
|
|
196
|
+
s
|
|
197
|
+
), V[s + o] = !0);
|
|
614
198
|
}
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
return
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
199
|
+
if (s = null, a !== void 0 && (i(a), s = "" + a), m(r) && (i(r.key), s = "" + r.key), "key" in r) {
|
|
200
|
+
a = {};
|
|
201
|
+
for (var D in r)
|
|
202
|
+
D !== "key" && (a[D] = r[D]);
|
|
203
|
+
} else a = r;
|
|
204
|
+
return s && f(
|
|
205
|
+
a,
|
|
206
|
+
typeof e == "function" ? e.displayName || e.name || "Unknown" : e
|
|
207
|
+
), R(
|
|
208
|
+
e,
|
|
209
|
+
s,
|
|
210
|
+
a,
|
|
211
|
+
u(),
|
|
212
|
+
A,
|
|
213
|
+
Y
|
|
214
|
+
);
|
|
215
|
+
}
|
|
216
|
+
function v(e) {
|
|
217
|
+
w(e) ? e._store && (e._store.validated = 1) : typeof e == "object" && e !== null && e.$$typeof === P && (e._payload.status === "fulfilled" ? w(e._payload.value) && e._payload.value._store && (e._payload.value._store.validated = 1) : e._store && (e._store.validated = 1));
|
|
218
|
+
}
|
|
219
|
+
function w(e) {
|
|
220
|
+
return typeof e == "object" && e !== null && e.$$typeof === h;
|
|
221
|
+
}
|
|
222
|
+
var p = ae, h = Symbol.for("react.transitional.element"), x = Symbol.for("react.portal"), k = Symbol.for("react.fragment"), S = Symbol.for("react.strict_mode"), N = Symbol.for("react.profiler"), X = Symbol.for("react.consumer"), B = Symbol.for("react.context"), H = Symbol.for("react.forward_ref"), Z = Symbol.for("react.suspense"), Q = Symbol.for("react.suspense_list"), K = Symbol.for("react.memo"), P = Symbol.for("react.lazy"), ee = Symbol.for("react.activity"), re = Symbol.for("react.client.reference"), $ = p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, I = Object.prototype.hasOwnProperty, te = Array.isArray, C = console.createTask ? console.createTask : function() {
|
|
223
|
+
return null;
|
|
224
|
+
};
|
|
225
|
+
p = {
|
|
226
|
+
react_stack_bottom_frame: function(e) {
|
|
227
|
+
return e();
|
|
228
|
+
}
|
|
229
|
+
};
|
|
230
|
+
var F, L = {}, W = p.react_stack_bottom_frame.bind(
|
|
231
|
+
p,
|
|
232
|
+
c
|
|
233
|
+
)(), U = C(l(c)), V = {};
|
|
234
|
+
T.Fragment = k, T.jsx = function(e, r, a) {
|
|
235
|
+
var o = 1e4 > $.recentlyCreatedOwnerStacks++;
|
|
236
|
+
return d(
|
|
237
|
+
e,
|
|
238
|
+
r,
|
|
239
|
+
a,
|
|
240
|
+
!1,
|
|
241
|
+
o ? Error("react-stack-top-frame") : W,
|
|
242
|
+
o ? C(l(e)) : U
|
|
243
|
+
);
|
|
244
|
+
}, T.jsxs = function(e, r, a) {
|
|
245
|
+
var o = 1e4 > $.recentlyCreatedOwnerStacks++;
|
|
246
|
+
return d(
|
|
247
|
+
e,
|
|
248
|
+
r,
|
|
249
|
+
a,
|
|
250
|
+
!0,
|
|
251
|
+
o ? Error("react-stack-top-frame") : W,
|
|
252
|
+
o ? C(l(e)) : U
|
|
253
|
+
);
|
|
254
|
+
};
|
|
255
|
+
})()), T;
|
|
625
256
|
}
|
|
626
|
-
var
|
|
627
|
-
function
|
|
628
|
-
return
|
|
257
|
+
var z;
|
|
258
|
+
function ie() {
|
|
259
|
+
return z || (z = 1, process.env.NODE_ENV === "production" ? g.exports = oe() : g.exports = se()), g.exports;
|
|
629
260
|
}
|
|
630
|
-
var
|
|
631
|
-
const
|
|
632
|
-
timeline:
|
|
261
|
+
var _ = ie();
|
|
262
|
+
const le = "_timeline_100yd_1", j = {
|
|
263
|
+
timeline: le,
|
|
633
264
|
"timeline-items": "_timeline-items_100yd_6",
|
|
634
265
|
"timeline-item": "_timeline-item_100yd_6",
|
|
635
266
|
"timeline-indicator": "_timeline-indicator_100yd_24"
|
|
636
267
|
};
|
|
637
|
-
function
|
|
638
|
-
var
|
|
639
|
-
return `rgb(${
|
|
268
|
+
function G() {
|
|
269
|
+
var t = Math.floor(120 + Math.random() * 91), n = Math.floor(120 + Math.random() * 91), i = Math.floor(120 + Math.random() * 91);
|
|
270
|
+
return `rgb(${t},${n},${i})`;
|
|
640
271
|
}
|
|
641
|
-
function
|
|
642
|
-
return
|
|
272
|
+
function M(t, n) {
|
|
273
|
+
return n === 0 ? t[n + 1] : n === t.length - 1 ? t[n] - t[n - 1] : t[n + 1] - t[n];
|
|
643
274
|
}
|
|
644
|
-
function
|
|
645
|
-
return
|
|
275
|
+
function ue(t, n, i = 1) {
|
|
276
|
+
return n + i >= t.length ? t.at(-1) : t[n + i];
|
|
646
277
|
}
|
|
647
|
-
const
|
|
648
|
-
function
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
...
|
|
659
|
-
}, children:
|
|
278
|
+
const ce = new Array(20).fill(0).map(G);
|
|
279
|
+
function _e({ items: t, currentTime: n, totalTime: i, scale: l = 1, indicator: u, itemStyle: c }) {
|
|
280
|
+
t = t.filter((f) => f.time >= 0);
|
|
281
|
+
const m = t.map((f) => f.time);
|
|
282
|
+
return _.jsxs("div", { className: j.timeline, children: [_.jsx("div", { className: j["timeline-indicator"], ...u }), _.jsx("div", { className: j["timeline-items"], style: {
|
|
283
|
+
"--translate": `${l * 50 / l - (n - 1) / i * l * 100}%`
|
|
284
|
+
}, children: t.map((f, E) => {
|
|
285
|
+
const d = M(m, E) / i * l * 100 + "%";
|
|
286
|
+
return _.jsx("span", { className: j["timeline-item"], style: {
|
|
287
|
+
"--bg": f.style?.background || ce[E % 20],
|
|
288
|
+
width: d,
|
|
289
|
+
...c
|
|
290
|
+
}, children: f.content });
|
|
660
291
|
}) })] });
|
|
661
292
|
}
|
|
662
|
-
const
|
|
663
|
-
timeline:
|
|
293
|
+
const fe = "_timeline_212s7_1", O = {
|
|
294
|
+
timeline: fe,
|
|
664
295
|
"timeline-items": "_timeline-items_212s7_6",
|
|
665
296
|
"timeline-item": "_timeline-item_212s7_6",
|
|
666
297
|
"timeline-indicator": "_timeline-indicator_212s7_20"
|
|
667
|
-
},
|
|
668
|
-
function
|
|
669
|
-
const R =
|
|
670
|
-
return
|
|
671
|
-
"--translate": `${
|
|
672
|
-
}, children:
|
|
673
|
-
const
|
|
674
|
-
const
|
|
675
|
-
return
|
|
298
|
+
}, me = new Array(20).fill(0).map(G);
|
|
299
|
+
function Ee({ items: t, currentTime: n, totalTime: i, scale: l = 1, indicator: u, itemStyle: c, prev: m = 2, height: f, left: E = 10 }) {
|
|
300
|
+
const R = t.map((d) => d.time);
|
|
301
|
+
return _.jsxs("div", { className: O.timeline, style: { height: f }, children: [_.jsx("div", { className: O["timeline-indicator"], ...u, style: { left: `${E}%` } }), _.jsx("div", { className: O["timeline-items"], style: {
|
|
302
|
+
"--translate": `${l * E / l - n / i * l * 100}%`
|
|
303
|
+
}, children: t.map((d, v) => {
|
|
304
|
+
const p = M(R, v) / i * l * 100 + "%", h = t.slice(0, v).reduce((x, k, S) => {
|
|
305
|
+
const N = M(R, S);
|
|
306
|
+
return x + N / i * l * 100;
|
|
676
307
|
}, 0) + "%";
|
|
677
|
-
if (
|
|
678
|
-
return
|
|
679
|
-
"--bg":
|
|
680
|
-
width:
|
|
681
|
-
left:
|
|
682
|
-
...
|
|
683
|
-
}, children:
|
|
308
|
+
if (n <= ue(t, v, m).time)
|
|
309
|
+
return _.jsx("div", { className: O["timeline-item"], style: {
|
|
310
|
+
"--bg": d.style?.background || me[v % 20],
|
|
311
|
+
width: p,
|
|
312
|
+
left: h,
|
|
313
|
+
...c
|
|
314
|
+
}, children: d.content });
|
|
684
315
|
}) })] });
|
|
685
316
|
}
|
|
686
317
|
export {
|
|
687
|
-
|
|
688
|
-
|
|
318
|
+
Ee as Vertical,
|
|
319
|
+
_e as default
|
|
689
320
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-av-timeline",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.3",
|
|
4
4
|
"description": "React 音视频时间线组件",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -39,27 +39,21 @@
|
|
|
39
39
|
"url": "https://cnb.cool/arsrna/os/react-timeline/-/issues"
|
|
40
40
|
},
|
|
41
41
|
"homepage": "https://os.arsrna.cn/demo/nodejs/react-timeline",
|
|
42
|
-
"peerDependencies": {
|
|
43
|
-
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
44
|
-
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
|
|
45
|
-
},
|
|
46
42
|
"devDependencies": {
|
|
47
43
|
"@rollup/plugin-typescript": "^12.1.4",
|
|
48
44
|
"@types/node": "^24.7.0",
|
|
49
45
|
"@types/react": "^19.2.2",
|
|
50
46
|
"@types/react-dom": "^19.2.1",
|
|
51
47
|
"@vitejs/plugin-react": "^5.0.4",
|
|
52
|
-
"react": "^18.3.1",
|
|
53
|
-
"react-dom": "^18.2.0",
|
|
54
48
|
"sass": "^1.93.2",
|
|
55
49
|
"tslib": "^2.8.1",
|
|
56
50
|
"typescript-plugin-css-modules": "^5.2.0",
|
|
57
51
|
"vite": "^7.1.9",
|
|
52
|
+
"typescript": "^5.9.3",
|
|
58
53
|
"vite-plugin-sass": "^0.1.0"
|
|
59
54
|
},
|
|
60
|
-
"
|
|
61
|
-
"react": "
|
|
62
|
-
"react-dom": "
|
|
63
|
-
"typescript": "^5.9.3"
|
|
55
|
+
"peerDependencies": {
|
|
56
|
+
"react": ">16",
|
|
57
|
+
"react-dom": ">16"
|
|
64
58
|
}
|
|
65
59
|
}
|