@adriansteffan/reactive 0.2.7 → 0.5.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/README.md +796 -229
- package/bin/add.js +56 -0
- package/bin/deploy.js +48 -0
- package/bin/download.js +28 -0
- package/bin/ghsetup.js +21 -0
- package/bin/native.js +81 -0
- package/bin/setup.js +11 -17
- package/bin/study-deploy.js +60 -0
- package/bin/undeploy.js +15 -0
- package/extras/transcription/compose.yaml +32 -0
- package/{template → extras}/transcription/transcribe.py +4 -9
- package/package.json +62 -64
- package/src/bun-env.d.ts +1 -0
- package/src/bun-plugin.ts +22 -0
- package/src/components/canvasblock.tsx +209 -537
- package/src/components/checkdevice.tsx +64 -84
- package/src/components/fullscreenblock.tsx +130 -0
- package/src/components/icons.tsx +50 -0
- package/src/components/index.ts +9 -11
- package/src/components/microphonecheck.tsx +76 -38
- package/src/components/plaininput.tsx +45 -40
- package/src/components/prolificending.tsx +64 -28
- package/src/components/quest.tsx +89 -87
- package/src/components/{randomdotkinetogram.tsx → randomdotkinematogram.tsx} +205 -267
- package/src/components/{voicerecorder.tsx → recorder.tsx} +81 -106
- package/src/components/requestfilepermission.tsx +63 -0
- package/src/components/stimulus.tsx +373 -0
- package/src/components/storeui.tsx +94 -148
- package/src/components/text.tsx +61 -59
- package/src/components/tutorial.tsx +45 -47
- package/src/components/upload.tsx +133 -309
- package/src/components/voicerecording.tsx +90 -94
- package/src/core/backend.ts +20 -0
- package/src/core/bytecode.ts +178 -0
- package/src/core/columns.ts +50 -0
- package/src/core/component.ts +238 -0
- package/src/core/development.ts +32 -0
- package/src/core/experiment.ts +263 -0
- package/src/core/files.ts +291 -0
- package/src/core/params.ts +166 -0
- package/src/core/platform.ts +29 -0
- package/src/core/rows.ts +106 -0
- package/src/core/simulation.ts +158 -0
- package/src/core/slides.ts +178 -0
- package/src/core/store.ts +22 -0
- package/src/core/timeline.ts +399 -0
- package/src/fonts/AtkinsonHyperlegible-Bold.woff2 +0 -0
- package/src/fonts/AtkinsonHyperlegible-BoldItalic.woff2 +0 -0
- package/src/fonts/AtkinsonHyperlegible-Italic.woff2 +0 -0
- package/src/fonts/AtkinsonHyperlegible-Regular.woff2 +0 -0
- package/src/index.css +5 -7
- package/src/mod.tsx +31 -17
- package/src/native.ts +127 -0
- package/src/quest.ts +2 -0
- package/src/runner/contexts.ts +35 -0
- package/src/runner/devpanel.tsx +68 -0
- package/src/runner/experimentrunner.tsx +210 -0
- package/src/runner/fullscreenguard.tsx +93 -0
- package/src/runner/paraminput.tsx +86 -0
- package/src/runner/progressbar.tsx +20 -0
- package/src/runner/settingsscreen.tsx +517 -0
- package/src/{utils → runner}/theme.ts +9 -8
- package/src/server.ts +93 -0
- package/src/tutorial.ts +3 -0
- package/src/utils/array.ts +30 -62
- package/src/utils/canvas.ts +66 -0
- package/src/utils/ddm.ts +47 -70
- package/src/utils/distributions.ts +352 -61
- package/src/utils/fullscreen.ts +38 -0
- package/src/utils/ids.ts +11 -0
- package/src/utils/keys.ts +46 -0
- package/src/utils/llm.ts +15 -15
- package/src/utils/time.ts +12 -0
- package/src/utils/tts.ts +24 -24
- package/template/.dockerignore +3 -1
- package/template/.env.example +5 -0
- package/template/.github/workflows/deploy.yml +25 -0
- package/template/.gitignore +14 -0
- package/template/Dockerfile +9 -14
- package/template/README.md +74 -214
- package/template/biome.json +34 -0
- package/template/build.ts +20 -0
- package/template/bunfig.toml +3 -0
- package/template/docker-compose.yaml +4 -33
- package/template/index.html +2 -2
- package/template/package.json +16 -89
- package/template/public/.gitkeep +0 -0
- package/template/server.ts +32 -0
- package/template/simulate.ts +4 -44
- package/template/src/Experiment.tsx +76 -128
- package/template/src/bun-env.d.ts +1 -0
- package/template/src/index.css +1 -9
- package/template/src/main.tsx +25 -10
- package/template/tsconfig.json +4 -6
- package/.claude/settings.local.json +0 -61
- package/.eslintrc.cjs +0 -18
- package/.playwright-mcp/console-2026-04-07T14-22-59-060Z.log +0 -1
- package/.playwright-mcp/console-2026-09-20T12-17-32-043Z.log +0 -1
- package/.playwright-mcp/page-2026-09-20T12-17-32-084Z.yml +0 -10
- package/.prettierrc +0 -5
- package/Dockerfile +0 -20
- package/dist/mod-BTpABl23.js +0 -87435
- package/dist/mod.d.ts +0 -947
- package/dist/reactive.es.js +0 -87
- package/dist/reactive.umd.js +0 -10255
- package/dist/style.css +0 -5
- package/dist/web-DV4cj_8Q.js +0 -435
- package/dist/web-DprbPn6i.js +0 -12
- package/planned.md +0 -103
- package/postcss.config.js +0 -6
- package/raw-loader-hooks.mjs +0 -25
- package/raw-loader.mjs +0 -5
- package/rdk_doc.md +0 -341
- package/src/components/enterfullscreen.tsx +0 -230
- package/src/components/exitfullscreen.tsx +0 -113
- package/src/components/experimentprovider.tsx +0 -69
- package/src/components/experimentrunner.tsx +0 -497
- package/src/components/mobilefilepermission.tsx +0 -68
- package/src/components/settingsscreen.tsx +0 -770
- package/src/types/array.d.ts +0 -6
- package/src/utils/audiodevice.ts +0 -4
- package/src/utils/bytecode.ts +0 -261
- package/src/utils/common.ts +0 -291
- package/src/utils/ddm.test.ts +0 -233
- package/src/utils/distributions.test.ts +0 -209
- package/src/utils/nodecompat.ts +0 -11
- package/src/utils/overlays.ts +0 -19
- package/src/utils/request.ts +0 -25
- package/src/utils/simulation.ts +0 -299
- package/src/utils/upload.ts +0 -275
- package/src/vite-env.d.ts +0 -1
- package/template/.env.template +0 -2
- package/template/.eslintrc.cjs +0 -18
- package/template/.prettierrc +0 -5
- package/template/backend/package-lock.json +0 -2544
- package/template/backend/package.json +0 -31
- package/template/backend/src/backend.ts +0 -131
- package/template/backend/tsconfig.json +0 -110
- package/template/capacitor.config.ts +0 -15
- package/template/electron/main.js +0 -131
- package/template/electron/preload.js +0 -9
- package/template/electron.vite.config.js +0 -45
- package/template/package-lock.json +0 -12467
- package/template/postcss.config.js +0 -5
- package/template/public/Atkinson_Hyperlegible/AtkinsonHyperlegible-Bold.ttf +0 -0
- package/template/public/Atkinson_Hyperlegible/AtkinsonHyperlegible-BoldItalic.ttf +0 -0
- package/template/public/Atkinson_Hyperlegible/AtkinsonHyperlegible-Italic.ttf +0 -0
- package/template/public/Atkinson_Hyperlegible/AtkinsonHyperlegible-Regular.ttf +0 -0
- package/template/shared.vite.config.js +0 -39
- package/template/src/vite-env.d.ts +0 -2
- package/template/tsconfig.node.json +0 -12
- package/template/vite.config.js +0 -11
- package/tsconfig.json +0 -30
- package/tsconfig.node.json +0 -12
- package/vite.config.ts +0 -39
- /package/{template → extras}/transcription/Dockerfile.cpu +0 -0
- /package/{template → extras}/transcription/Dockerfile.gpu +0 -0
- /package/{template/public/Atkinson_Hyperlegible → src/fonts}/OFL.txt +0 -0
package/dist/reactive.es.js
DELETED
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import { A as e, H as i, C as t, a as r, D as o, c as n, d as l, e as m, f as u, g as c, h as p, Y as d, z as D, L as T, M as g, P as C, i as P, j as S, Q as v, R as A, k as h, l as x, F as _, T as k, m as B, n as E, o as I, p as f, U as M, V as F, X as L, q as R, r as U, s as b, t as w, u as G, v as K, w as y, x as O, y as q, B as H, G as j, I as N, J as Q, K as V, N as Y, O as Z, S as z, Z as J, _ as W, $ as X, a0 as $, a1 as aa, a2 as sa, a3 as ea, a4 as ia, a5 as ta, a6 as ra, a7 as oa, a8 as na, a9 as la, aa as ma, ab as ua, ac as ca, ad as pa, ae as da, af as Da, ag as Ta, ah as ga, ai as Ca, aj as Pa, ak as Sa, al as va, am as Aa, an as ha, ao as xa, ap as _a, aq as ka, ar as Ba, as as Ea, at as Ia, au as fa, av as Ma, aw as Fa } from "./mod-BTpABl23.js";
|
|
2
|
-
export {
|
|
3
|
-
e as AudioDeviceContext,
|
|
4
|
-
i as Bounce,
|
|
5
|
-
t as CanvasBlock,
|
|
6
|
-
r as CheckDevice,
|
|
7
|
-
o as DARK_BG_CLASS,
|
|
8
|
-
n as DARK_BG_PLAIN_CLASS,
|
|
9
|
-
l as DUMMY_AUDIO_BASE64,
|
|
10
|
-
m as EnterFullscreen,
|
|
11
|
-
u as ExitFullscreen,
|
|
12
|
-
c as ExperimentProvider,
|
|
13
|
-
p as ExperimentRunner,
|
|
14
|
-
d as Flip,
|
|
15
|
-
D as Icons,
|
|
16
|
-
T as LIGHT_DOT_BG_CLASS,
|
|
17
|
-
g as MicCheck,
|
|
18
|
-
C as Param,
|
|
19
|
-
P as PlainInput,
|
|
20
|
-
S as ProlificEnding,
|
|
21
|
-
v as Quest,
|
|
22
|
-
A as RDKCanvas,
|
|
23
|
-
h as RandomDotKinematogram,
|
|
24
|
-
x as RequestFilePermission,
|
|
25
|
-
_ as Slide,
|
|
26
|
-
k as THEME,
|
|
27
|
-
B as Text,
|
|
28
|
-
E as ThemeContext,
|
|
29
|
-
I as ToastContainer,
|
|
30
|
-
f as Tutorial,
|
|
31
|
-
M as Upload,
|
|
32
|
-
F as VoiceRecording,
|
|
33
|
-
L as Zoom,
|
|
34
|
-
R as alphanumericId,
|
|
35
|
-
U as arrayFlattener,
|
|
36
|
-
b as canvasCountdown,
|
|
37
|
-
w as chunk,
|
|
38
|
-
G as collapseToast,
|
|
39
|
-
K as cssTransition,
|
|
40
|
-
y as draw,
|
|
41
|
-
O as getBackendUrl,
|
|
42
|
-
q as getInitialParticipant,
|
|
43
|
-
H as getParam,
|
|
44
|
-
j as getPlatform,
|
|
45
|
-
N as getSimulation,
|
|
46
|
-
Q as halton,
|
|
47
|
-
V as invokeLLM,
|
|
48
|
-
Y as isDesktop,
|
|
49
|
-
Z as isFullscreen,
|
|
50
|
-
z as mapDDMChoice,
|
|
51
|
-
J as mean,
|
|
52
|
-
W as noopSimulate,
|
|
53
|
-
X as normal,
|
|
54
|
-
$ as now,
|
|
55
|
-
aa as orchestrateSimulation,
|
|
56
|
-
sa as pipe,
|
|
57
|
-
ea as poisson,
|
|
58
|
-
ia as prepareTimeline,
|
|
59
|
-
ta as probeAudioDurationMs,
|
|
60
|
-
ra as prolificId,
|
|
61
|
-
oa as registerArrayExtensions,
|
|
62
|
-
na as registerComponentParams,
|
|
63
|
-
la as registerExperimentParams,
|
|
64
|
-
ma as registerFlattener,
|
|
65
|
-
ua as registerOverlay,
|
|
66
|
-
ca as registerSimulation,
|
|
67
|
-
pa as resolveSimulation,
|
|
68
|
-
da as sample,
|
|
69
|
-
Da as sampleParticipants,
|
|
70
|
-
Ta as seedDistributions,
|
|
71
|
-
ga as selectPrevTrialData,
|
|
72
|
-
Ca as setBackendUrl,
|
|
73
|
-
Pa as shuffle,
|
|
74
|
-
Sa as simulateDDMTrial,
|
|
75
|
-
va as simulateParticipant,
|
|
76
|
-
Aa as sobol,
|
|
77
|
-
ha as sum,
|
|
78
|
-
xa as t,
|
|
79
|
-
_a as textToWebmBase64,
|
|
80
|
-
ka as toast,
|
|
81
|
-
Ba as uniform,
|
|
82
|
-
Ea as useAudioDeviceId,
|
|
83
|
-
Ia as useTheme,
|
|
84
|
-
fa as useToast,
|
|
85
|
-
Ma as useToastContainer,
|
|
86
|
-
Fa as useTutorialSlide
|
|
87
|
-
};
|