@adriansteffan/reactive 0.0.33 → 0.0.34
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/{mod-E7J43-ME.js → mod-DTHSZEKb.js} +19 -13
- package/dist/mod.d.ts +3 -3
- package/dist/reactive.es.js +39 -29
- package/dist/reactive.umd.js +28 -28
- package/dist/{web-CPiYvLVz.js → web-Db12RAAA.js} +1 -1
- package/dist/{web-a2dmy96o.js → web-GQ9-WV5_.js} +1 -1
- package/package.json +1 -1
- package/src/mod.tsx +1 -1
- package/template/package-lock.json +0 -1
- package/template/package.json +0 -1
|
@@ -12,7 +12,7 @@ var al = (d, h, p, f) => ({
|
|
|
12
12
|
}
|
|
13
13
|
});
|
|
14
14
|
import * as pi from "react";
|
|
15
|
-
import tt, { useRef as dt, useEffect as tr, useState as Vt, useCallback as qt, createElement as U0,
|
|
15
|
+
import tt, { useRef as dt, useEffect as tr, useState as Vt, useCallback as qt, createElement as U0, useLayoutEffect as sg, useSyncExternalStore as z0, isValidElement as _o, cloneElement as Mc, useMemo as Nc } from "react";
|
|
16
16
|
import W0 from "react-dom";
|
|
17
17
|
function $0(d, h = 1) {
|
|
18
18
|
const p = [];
|
|
@@ -70879,7 +70879,7 @@ var Yc;
|
|
|
70879
70879
|
d.UTF8 = "utf8", d.ASCII = "ascii", d.UTF16 = "utf16";
|
|
70880
70880
|
})(Yc || (Yc = {}));
|
|
70881
70881
|
const Yi = na("Filesystem", {
|
|
70882
|
-
web: () => import("./web-
|
|
70882
|
+
web: () => import("./web-GQ9-WV5_.js").then((d) => new d.FilesystemWeb())
|
|
70883
70883
|
});
|
|
70884
70884
|
ug("Upload", [
|
|
70885
70885
|
{
|
|
@@ -71188,7 +71188,7 @@ var Wh;
|
|
|
71188
71188
|
d.None = "NONE", d.Slide = "SLIDE", d.Fade = "FADE";
|
|
71189
71189
|
})(Wh || (Wh = {}));
|
|
71190
71190
|
const vm = na("StatusBar"), bm = na("ImmersiveMode", {
|
|
71191
|
-
web: () => import("./web-
|
|
71191
|
+
web: () => import("./web-Db12RAAA.js").then((d) => new d.ImmersiveModeWeb())
|
|
71192
71192
|
});
|
|
71193
71193
|
function $x({
|
|
71194
71194
|
content: d,
|
|
@@ -71560,11 +71560,7 @@ const r5 = typeof window < "u" ? sg : tr, Cl = (d) => {
|
|
|
71560
71560
|
}(De)), tt.createElement(W, { isIn: ie, done: ee, position: q, preventExitTransition: p, nodeRef: f, playToast: C }, tt.createElement("div", { id: B, onClick: b, "data-in": ie, className: N, ...g, style: P, ref: f }, tt.createElement("div", { ...ie && { role: Q }, className: Gr(I) ? I({ type: S }) : bi("Toastify__toast-body", I), style: L }, ue != null && tt.createElement("div", { className: bi("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !ae }) }, ue), tt.createElement("div", null, w)), ce, tt.createElement(Xx, { ...J && !he ? { key: `pb-${J}` } : {}, rtl: H, theme: te, delay: V, isRunning: h, isIn: ie, closeToast: k, hide: D, type: S, style: K, className: M, controlledProgress: he, progress: G || 0 })));
|
|
71561
71561
|
}, Ul = function(d, h) {
|
|
71562
71562
|
return h === void 0 && (h = !1), { enter: `Toastify--animate Toastify__${d}-enter`, exit: `Toastify--animate Toastify__${d}-exit`, appendPosition: h };
|
|
71563
|
-
}, i5 = Ql(Ul("bounce", !0));
|
|
71564
|
-
Ql(Ul("slide", !0));
|
|
71565
|
-
Ql(Ul("zoom"));
|
|
71566
|
-
Ql(Ul("flip"));
|
|
71567
|
-
const o5 = { position: "top-right", transition: i5, autoClose: 5e3, closeButton: !0, pauseOnHover: !0, pauseOnFocusLoss: !0, draggable: "touch", draggablePercent: 80, draggableDirection: "x", role: "alert", theme: "light" };
|
|
71563
|
+
}, i5 = Ql(Ul("bounce", !0)), S5 = Ql(Ul("slide", !0)), j5 = Ql(Ul("zoom")), E5 = Ql(Ul("flip")), o5 = { position: "top-right", transition: i5, autoClose: 5e3, closeButton: !0, pauseOnHover: !0, pauseOnFocusLoss: !0, draggable: "touch", draggablePercent: 80, draggableDirection: "x", role: "alert", theme: "light" };
|
|
71568
71564
|
function s5(d) {
|
|
71569
71565
|
let h = { ...o5, ...d };
|
|
71570
71566
|
const p = d.stacked, [f, g] = Vt(!0), C = dt(null), { getToastToRender: x, isToastActive: w, count: V } = Kx(h), { className: b, style: S, rtl: D, containerId: k } = h;
|
|
@@ -72092,7 +72088,7 @@ const a5 = ({
|
|
|
72092
72088
|
) })
|
|
72093
72089
|
] });
|
|
72094
72090
|
}, l5 = new Z1();
|
|
72095
|
-
function
|
|
72091
|
+
function V5({ children: d, disableSettings: h }) {
|
|
72096
72092
|
return window.location.pathname.endsWith("/settings") && !h ? /* @__PURE__ */ z.jsx(
|
|
72097
72093
|
a5,
|
|
72098
72094
|
{
|
|
@@ -72779,7 +72775,7 @@ const g5 = {
|
|
|
72779
72775
|
function Jh(d) {
|
|
72780
72776
|
return typeof d == "object" && d !== null && typeof d.type == "string";
|
|
72781
72777
|
}
|
|
72782
|
-
function
|
|
72778
|
+
function O5({
|
|
72783
72779
|
timeline: d,
|
|
72784
72780
|
config: h = {
|
|
72785
72781
|
showProgressBar: !1
|
|
@@ -72974,13 +72970,19 @@ export {
|
|
|
72974
72970
|
Rt as B,
|
|
72975
72971
|
f5 as C,
|
|
72976
72972
|
Yc as E,
|
|
72973
|
+
S5 as F,
|
|
72974
|
+
i5 as H,
|
|
72975
|
+
Kx as L,
|
|
72977
72976
|
S1 as M,
|
|
72977
|
+
Yx as N,
|
|
72978
72978
|
Fc as P,
|
|
72979
72979
|
V1 as Q,
|
|
72980
72980
|
u5 as R,
|
|
72981
72981
|
rp as T,
|
|
72982
72982
|
Wx as U,
|
|
72983
72983
|
ag as W,
|
|
72984
|
+
j5 as X,
|
|
72985
|
+
E5 as Y,
|
|
72984
72986
|
G0 as a,
|
|
72985
72987
|
i1 as b,
|
|
72986
72988
|
J0 as c,
|
|
@@ -73000,7 +73002,11 @@ export {
|
|
|
73000
73002
|
Gx as q,
|
|
73001
73003
|
C5 as r,
|
|
73002
73004
|
$0 as s,
|
|
73003
|
-
|
|
73004
|
-
|
|
73005
|
-
d5 as v
|
|
73005
|
+
V5 as t,
|
|
73006
|
+
O5 as u,
|
|
73007
|
+
d5 as v,
|
|
73008
|
+
s5 as w,
|
|
73009
|
+
Zx as x,
|
|
73010
|
+
Ql as y,
|
|
73011
|
+
kc as z
|
|
73006
73012
|
};
|
package/dist/mod.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ import { ComponentType } from 'react';
|
|
|
2
2
|
import { default as default_2 } from 'react';
|
|
3
3
|
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
4
4
|
import { ReactNode } from 'react';
|
|
5
|
-
import { toast } from 'react-toastify';
|
|
6
5
|
|
|
7
6
|
export declare interface BaseComponentProps {
|
|
8
7
|
next: (data?: object, actualStartTime?: number, actualStopTime?: number) => void;
|
|
@@ -256,8 +255,6 @@ export { Text_2 as Text }
|
|
|
256
255
|
|
|
257
256
|
declare type TimelineItem = ControlFlowItem | any;
|
|
258
257
|
|
|
259
|
-
export { toast }
|
|
260
|
-
|
|
261
258
|
export declare interface TrialData {
|
|
262
259
|
index: number;
|
|
263
260
|
trialNumber: number;
|
|
@@ -293,6 +290,9 @@ declare interface WhileBlockItem {
|
|
|
293
290
|
timeline: TimelineItem[];
|
|
294
291
|
}
|
|
295
292
|
|
|
293
|
+
|
|
294
|
+
export * from "react-toastify";
|
|
295
|
+
|
|
296
296
|
export { }
|
|
297
297
|
|
|
298
298
|
declare global {
|
package/dist/reactive.es.js
CHANGED
|
@@ -1,32 +1,42 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { H as e, C as n, v as r, o as t, q as i, t as o, u as l, Y as c, z as m, M as p, P as u, l as P, m as x, Q as C, R as E, F as g, T, w as d, U as f, X as k, k as F, c as h, x as v, y as B, g as w, e as y, d as R, i as q, n as D, p as I, r as M, h as Q, f as U, s as b, a as j, j as z, B as A, N as H, L } from "./mod-DTHSZEKb.js";
|
|
2
2
|
export {
|
|
3
|
-
e as
|
|
3
|
+
e as Bounce,
|
|
4
|
+
n as CanvasBlock,
|
|
4
5
|
r as CheckDevice,
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
m as
|
|
11
|
-
p as
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
E as
|
|
17
|
-
g as
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
B as
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
D as
|
|
31
|
-
|
|
6
|
+
t as EnterFullscreen,
|
|
7
|
+
i as ExitFullscreen,
|
|
8
|
+
o as ExperimentProvider,
|
|
9
|
+
l as ExperimentRunner,
|
|
10
|
+
c as Flip,
|
|
11
|
+
m as Icons,
|
|
12
|
+
p as MicCheck,
|
|
13
|
+
u as Param,
|
|
14
|
+
P as PlainInput,
|
|
15
|
+
x as ProlificEnding,
|
|
16
|
+
C as Quest,
|
|
17
|
+
E as RequestFilePermission,
|
|
18
|
+
g as Slide,
|
|
19
|
+
T as Text,
|
|
20
|
+
d as ToastContainer,
|
|
21
|
+
f as Upload,
|
|
22
|
+
k as Zoom,
|
|
23
|
+
F as canvasCountdown,
|
|
24
|
+
h as chunk,
|
|
25
|
+
v as collapseToast,
|
|
26
|
+
B as cssTransition,
|
|
27
|
+
w as getParam,
|
|
28
|
+
y as getPlatform,
|
|
29
|
+
R as isDesktop,
|
|
30
|
+
q as isFullscreen,
|
|
31
|
+
D as now,
|
|
32
|
+
I as pipe,
|
|
33
|
+
M as registerArrayExtensions,
|
|
34
|
+
Q as registerComponentParams,
|
|
35
|
+
U as registerExperimentParams,
|
|
36
|
+
b as sample,
|
|
37
|
+
j as shuffle,
|
|
38
|
+
z as subsetExperimentByParam,
|
|
39
|
+
A as toast,
|
|
40
|
+
H as useToast,
|
|
41
|
+
L as useToastContainer
|
|
32
42
|
};
|