@lookit/templates 1.1.0 → 2.1.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 +1 -1
- package/dist/index.browser.js +452 -7048
- package/dist/index.browser.js.map +1 -1
- package/dist/index.browser.min.js +6364 -4
- package/dist/index.browser.min.js.map +1 -1
- package/dist/index.cjs +235 -25244
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +10 -5
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +235 -25244
- package/dist/index.js.map +1 -1
- package/package.json +11 -8
- package/src/consentVideoTemplate.ts +2 -0
- package/src/index.ts +8 -1
- package/src/utils.spec.ts +11 -1
- package/src/utils.ts +12 -0
- package/dist/consentVideoTemplate.d.ts +0 -8
- package/dist/errors.d.ts +0 -18
- package/dist/exitSurveyTemplate.d.ts +0 -95
- package/dist/uploadingVideoTemplate.d.ts +0 -8
- package/dist/utils.d.ts +0 -14
- package/dist/videoConfigTemplate.d.ts +0 -33
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import * as jspsych from 'jspsych';
|
|
2
|
+
|
|
1
3
|
declare const _default: {
|
|
2
|
-
consentVideo: (trial:
|
|
3
|
-
videoConfig: (trial:
|
|
4
|
+
consentVideo: (trial: jspsych.TrialType<jspsych.PluginInfo>) => string;
|
|
5
|
+
videoConfig: (trial: jspsych.TrialType<jspsych.PluginInfo>, html_params: {
|
|
4
6
|
webcam_container_id: string;
|
|
5
7
|
reload_button_id_cam: string;
|
|
6
8
|
camera_selection_id: string;
|
|
@@ -23,8 +25,8 @@ declare const _default: {
|
|
|
23
25
|
firefoxDevicesBlocked: string;
|
|
24
26
|
checkmarkIcon: string;
|
|
25
27
|
}) => string;
|
|
26
|
-
uploadingVideo: (trial:
|
|
27
|
-
exitSurvey: (trial:
|
|
28
|
+
uploadingVideo: (trial: jspsych.TrialType<jspsych.PluginInfo>) => string;
|
|
29
|
+
exitSurvey: (trial: jspsych.TrialType<jspsych.PluginInfo>) => {
|
|
28
30
|
pages: {
|
|
29
31
|
elements: ({
|
|
30
32
|
description: string;
|
|
@@ -112,5 +114,8 @@ declare const _default: {
|
|
|
112
114
|
}[];
|
|
113
115
|
showQuestionNumbers: string;
|
|
114
116
|
};
|
|
117
|
+
translateString: (messageIdStr: string) => string;
|
|
115
118
|
};
|
|
116
|
-
|
|
119
|
+
|
|
120
|
+
export { _default as default };
|
|
121
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|