@annoto/widget-api 3.8.0 → 3.12.1
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 +33 -0
- package/dist/build/config/hooks.d.ts +1 -1
- package/dist/build/config/index.d.ts +1 -0
- package/dist/build/config/index.d.ts.map +1 -1
- package/dist/build/config/index.js +1 -0
- package/dist/build/config/index.js.map +1 -1
- package/dist/build/config/lti-outcome.d.ts +15 -0
- package/dist/build/config/lti-outcome.d.ts.map +1 -0
- package/dist/build/config/lti-outcome.js +3 -0
- package/dist/build/config/lti-outcome.js.map +1 -0
- package/dist/build/config/media-details.d.ts +13 -0
- package/dist/build/config/media-details.d.ts.map +1 -1
- package/dist/build/events/cta-stats-event.d.ts +164 -0
- package/dist/build/events/cta-stats-event.d.ts.map +1 -0
- package/dist/build/events/cta-stats-event.js +18 -0
- package/dist/build/events/cta-stats-event.js.map +1 -0
- package/dist/build/events/index.d.ts +1 -0
- package/dist/build/events/index.d.ts.map +1 -1
- package/dist/build/events/index.js +1 -0
- package/dist/build/events/index.js.map +1 -1
- package/dist/build/events/my-activity.d.ts +1 -1
- package/dist/build/events/stats-event.d.ts +1 -1
- package/dist/build/events/video-benchmark-event.d.ts +1 -1
- package/dist/build/index.d.ts +6 -4
- package/dist/build/index.d.ts.map +1 -1
- package/dist/build/index.js.map +1 -1
- package/dist/build_esm/config/hooks.d.ts +1 -1
- package/dist/build_esm/config/index.d.ts +1 -0
- package/dist/build_esm/config/index.d.ts.map +1 -1
- package/dist/build_esm/config/index.js +1 -0
- package/dist/build_esm/config/index.js.map +1 -1
- package/dist/build_esm/config/lti-outcome.d.ts +15 -0
- package/dist/build_esm/config/lti-outcome.d.ts.map +1 -0
- package/dist/build_esm/config/lti-outcome.js +2 -0
- package/dist/build_esm/config/lti-outcome.js.map +1 -0
- package/dist/build_esm/config/media-details.d.ts +13 -0
- package/dist/build_esm/config/media-details.d.ts.map +1 -1
- package/dist/build_esm/events/cta-stats-event.d.ts +164 -0
- package/dist/build_esm/events/cta-stats-event.d.ts.map +1 -0
- package/dist/build_esm/events/cta-stats-event.js +15 -0
- package/dist/build_esm/events/cta-stats-event.js.map +1 -0
- package/dist/build_esm/events/index.d.ts +1 -0
- package/dist/build_esm/events/index.d.ts.map +1 -1
- package/dist/build_esm/events/index.js +1 -0
- package/dist/build_esm/events/index.js.map +1 -1
- package/dist/build_esm/events/my-activity.d.ts +1 -1
- package/dist/build_esm/events/stats-event.d.ts +1 -1
- package/dist/build_esm/events/video-benchmark-event.d.ts +1 -1
- package/dist/build_esm/index.d.ts +6 -4
- package/dist/build_esm/index.d.ts.map +1 -1
- package/dist/build_esm/index.js.map +1 -1
- package/dist/tsconfig.module.tsbuildinfo +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,39 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [3.12.1](https://github.com/Annoto/annoto/compare/v3.12.0...v3.12.1) (2022-09-01)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* cta interaction stats ([#45](https://github.com/Annoto/annoto/issues/45)) ([6ba3c4e](https://github.com/Annoto/annoto/commit/6ba3c4e9c82f19bd69ff89f4f18a804729fdb601))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.12.0](https://github.com/Annoto/annoto/compare/v3.11.1...v3.12.0) (2022-08-29)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* LTI integration for outcomes via 3d party system ([#43](https://github.com/Annoto/annoto/issues/43)) ([a4c4383](https://github.com/Annoto/annoto/commit/a4c43831fbc9a3ccc93f672d5e95c0c902f5c507))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
## [3.9.2](https://github.com/Annoto/annoto/compare/v3.9.1...v3.9.2) (2022-07-27)
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### Bug Fixes
|
|
32
|
+
|
|
33
|
+
* **widget-api:** fix ready event typo ([2c40545](https://github.com/Annoto/annoto/commit/2c405450b57841c01e2b04f26d8a1f4defa84132))
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
6
39
|
# [3.8.0](https://github.com/Annoto/annoto/compare/v3.7.0...v3.8.0) (2022-07-04)
|
|
7
40
|
|
|
8
41
|
|
|
@@ -12,7 +12,7 @@ export interface IHooks {
|
|
|
12
12
|
* The best practice is to keep the widget bootstrap configuration to a minimum.
|
|
13
13
|
*
|
|
14
14
|
* @param params
|
|
15
|
-
* @returns
|
|
15
|
+
* @returns configuration to override the exiting config (will be deep merged by Annoto)
|
|
16
16
|
*/
|
|
17
17
|
setup?(params: {
|
|
18
18
|
widgetIndex: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/config/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACjC,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AAC3B,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAGzC,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,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AO,CAAC;IACnB;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,YAAY,CAAC,EAAE,mBAAmB,CAAC;IACnC;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,OAAO,CAAC,EAAE,qBAAqB,CAAC;CACnC"}
|
|
@@ -26,4 +26,5 @@ __exportStar(require("./media-details"), exports);
|
|
|
26
26
|
__exportStar(require("./timeline"), exports);
|
|
27
27
|
__exportStar(require("./ux"), exports);
|
|
28
28
|
__exportStar(require("./widget"), exports);
|
|
29
|
+
__exportStar(require("./lti-outcome"), exports);
|
|
29
30
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/config/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAWH,4CAA0B;AAC1B,6CAA2B;AAC3B,kDAAgC;AAChC,0CAAwB;AACxB,kDAAgC;AAChC,kDAAgC;AAChC,6CAA2B;AAC3B,uCAAqB;AACrB,2CAAyB"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/config/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAWH,4CAA0B;AAC1B,6CAA2B;AAC3B,kDAAgC;AAChC,0CAAwB;AACxB,kDAAgC;AAChC,kDAAgC;AAChC,6CAA2B;AAC3B,uCAAqB;AACrB,2CAAyB;AACzB,gDAA8B"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* LTI outcomes parameters provided by the consumer during the LTI launch
|
|
3
|
+
* https://www.imsglobal.org/spec/lti-bo/v1p1#overview
|
|
4
|
+
*/
|
|
5
|
+
export interface ILtiOutcome {
|
|
6
|
+
sourcedid: string;
|
|
7
|
+
serviceUrl: string;
|
|
8
|
+
/**
|
|
9
|
+
* Presence of this key indicates that the consumer is capable of using the resultData extension. The value should be a comma separated list of: url, text, or values agreed upon between consumer and provider
|
|
10
|
+
* https://www.eduappcenter.com/docs/extensions/result_data
|
|
11
|
+
* https://canvas.instructure.com/doc/api/file.assignment_tools.html#outcomes_service
|
|
12
|
+
*/
|
|
13
|
+
extDataAccepted?: string;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=lti-outcome.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lti-outcome.d.ts","sourceRoot":"","sources":["../../../lib/config/lti-outcome.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,WAAW;IACxB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC5B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lti-outcome.js","sourceRoot":"","sources":["../../../lib/config/lti-outcome.ts"],"names":[],"mappings":""}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ILtiOutcome } from './lti-outcome';
|
|
1
2
|
export interface IMediaDetails {
|
|
2
3
|
/**
|
|
3
4
|
* Media Title
|
|
@@ -20,9 +21,21 @@ export interface IMediaDetails {
|
|
|
20
21
|
* author name of the media
|
|
21
22
|
*/
|
|
22
23
|
authorName?: string;
|
|
24
|
+
/**
|
|
25
|
+
* If provided and Outcome related features are enabled and setup (such as Quizzes),
|
|
26
|
+
* Annoto will try to sync the outcomes to the 3d party system.
|
|
27
|
+
*/
|
|
28
|
+
outcomes?: IOutcomes;
|
|
23
29
|
}
|
|
24
30
|
export interface IMediaThumbnails {
|
|
25
31
|
default: string;
|
|
26
32
|
mobile?: string;
|
|
27
33
|
}
|
|
34
|
+
export interface IOutcomes {
|
|
35
|
+
/**
|
|
36
|
+
* LTI outcomes parameters provided by the consumer during the LTI launch
|
|
37
|
+
* https://www.imsglobal.org/spec/lti-bo/v1p1#overview
|
|
38
|
+
*/
|
|
39
|
+
lti?: ILtiOutcome;
|
|
40
|
+
}
|
|
28
41
|
//# sourceMappingURL=media-details.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"media-details.d.ts","sourceRoot":"","sources":["../../../lib/config/media-details.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC1B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"media-details.d.ts","sourceRoot":"","sources":["../../../lib/config/media-details.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,MAAM,WAAW,aAAa;IAC1B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;OAGG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;CACxB;AAED,MAAM,WAAW,gBAAgB;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,SAAS;IACtB;;;OAGG;IACH,GAAG,CAAC,EAAE,WAAW,CAAC;CACrB"}
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
export declare enum CtaStatsType {
|
|
2
|
+
open = 1,
|
|
3
|
+
openForInfo = 2,
|
|
4
|
+
openForRetry = 3,
|
|
5
|
+
skip = 4,
|
|
6
|
+
reply = 5,
|
|
7
|
+
retry = 6,
|
|
8
|
+
rewind = 7,
|
|
9
|
+
selectAnswer = 8,
|
|
10
|
+
unselectAnswer = 9,
|
|
11
|
+
timeout = 10,
|
|
12
|
+
close = 11
|
|
13
|
+
}
|
|
14
|
+
export interface ICtaStatsEvent {
|
|
15
|
+
/**
|
|
16
|
+
* type of event
|
|
17
|
+
*/
|
|
18
|
+
type: CtaStatsType;
|
|
19
|
+
/**
|
|
20
|
+
* The group Id provided on {@link IMediaDetails}
|
|
21
|
+
*/
|
|
22
|
+
group_id?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Media source
|
|
25
|
+
*/
|
|
26
|
+
media_src: string;
|
|
27
|
+
/**
|
|
28
|
+
* Media timestamp in seconds
|
|
29
|
+
*/
|
|
30
|
+
ps?: number;
|
|
31
|
+
/**
|
|
32
|
+
* index of the widget
|
|
33
|
+
*/
|
|
34
|
+
widget_index: number;
|
|
35
|
+
/**
|
|
36
|
+
* Unique visitor identifier
|
|
37
|
+
*/
|
|
38
|
+
visitor_id: string;
|
|
39
|
+
/**
|
|
40
|
+
* Unique session identifier
|
|
41
|
+
*/
|
|
42
|
+
session_id: string;
|
|
43
|
+
/**
|
|
44
|
+
* up to date user attempt statistics for the current media (group_id + media_src)
|
|
45
|
+
* Attempt stats include result statistics for all the interactions of the media
|
|
46
|
+
*/
|
|
47
|
+
attempt?: IUserAttemptStats | null;
|
|
48
|
+
/**
|
|
49
|
+
* Details of the interaction that the event occured on
|
|
50
|
+
*/
|
|
51
|
+
cta: ICta;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* up to date user attempt statistics for the current media (group_id + media_src)
|
|
55
|
+
* Attempt stats include result statistics for all the interactions of the media
|
|
56
|
+
*/
|
|
57
|
+
export interface IUserAttemptStats {
|
|
58
|
+
/**
|
|
59
|
+
* flag if the attempt is submitted
|
|
60
|
+
*/
|
|
61
|
+
submitted: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* number of interactions the user replied to in the activity
|
|
64
|
+
*/
|
|
65
|
+
replies_count?: number;
|
|
66
|
+
/**
|
|
67
|
+
* number of interactions the user replied correctly to in the activity
|
|
68
|
+
*/
|
|
69
|
+
correct_replies_count?: number;
|
|
70
|
+
/**
|
|
71
|
+
* number of reply attemps (including retries)
|
|
72
|
+
*/
|
|
73
|
+
replies_attempts_count?: number;
|
|
74
|
+
/**
|
|
75
|
+
* number of scored points for correct answers
|
|
76
|
+
*/
|
|
77
|
+
score_points?: number;
|
|
78
|
+
/**
|
|
79
|
+
* 0-100 achievement score in percent. null if user's attemp does not have a score yet
|
|
80
|
+
*/
|
|
81
|
+
score?: number;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Stats for the interaction that the event occured on
|
|
85
|
+
*/
|
|
86
|
+
export interface ICta {
|
|
87
|
+
/**
|
|
88
|
+
* internal unique id.
|
|
89
|
+
*/
|
|
90
|
+
id: string;
|
|
91
|
+
/**
|
|
92
|
+
* type of the interaction
|
|
93
|
+
*/
|
|
94
|
+
type: CtaType;
|
|
95
|
+
/**
|
|
96
|
+
* interaction settings
|
|
97
|
+
*/
|
|
98
|
+
settings: ICtaSettings;
|
|
99
|
+
/**
|
|
100
|
+
* interaction preferences
|
|
101
|
+
*/
|
|
102
|
+
preferences: ICtaPreferences;
|
|
103
|
+
/**
|
|
104
|
+
* number of points assigned to the interaction by the moderator(can be any positive integer)
|
|
105
|
+
*/
|
|
106
|
+
points?: number;
|
|
107
|
+
/**
|
|
108
|
+
* 0-100 achievement score in percent.
|
|
109
|
+
* null if user's did not answer the interaction yet or if answerReflection is disabled.
|
|
110
|
+
*/
|
|
111
|
+
score?: number;
|
|
112
|
+
/**
|
|
113
|
+
* When the interaction was first created
|
|
114
|
+
*/
|
|
115
|
+
created_at: string;
|
|
116
|
+
/**
|
|
117
|
+
* When the interaction was last updated by the moderator
|
|
118
|
+
*/
|
|
119
|
+
updated_at: string;
|
|
120
|
+
}
|
|
121
|
+
export declare type CtaType = 'true_false' | 'multiple_choice' | 'multiple_answers' | 'reflection_point';
|
|
122
|
+
export interface ICtaPreferences {
|
|
123
|
+
presentation: CtaPresentationType;
|
|
124
|
+
pause?: boolean;
|
|
125
|
+
}
|
|
126
|
+
export declare type CtaPresentationType = 'modal' | 'side_panel';
|
|
127
|
+
export interface ICtaSettings {
|
|
128
|
+
mandatory?: IMandatory;
|
|
129
|
+
allowRewind?: IAllowRewind;
|
|
130
|
+
randomizeAnswersOrder?: IRandomizeAnswersOrder;
|
|
131
|
+
allowRetry?: IAllowRetry;
|
|
132
|
+
timeLimit?: ITimeLimit;
|
|
133
|
+
answerReflection?: IAnswerReflection;
|
|
134
|
+
}
|
|
135
|
+
export interface ICtaSettingsBase {
|
|
136
|
+
enabled: boolean;
|
|
137
|
+
}
|
|
138
|
+
export interface IMandatory extends ICtaSettingsBase {
|
|
139
|
+
}
|
|
140
|
+
export interface IAllowRewind extends ICtaSettingsBase {
|
|
141
|
+
/**
|
|
142
|
+
* where to rewind to
|
|
143
|
+
* If not set, rewind to beginning of the video or to the closest CTA
|
|
144
|
+
*/
|
|
145
|
+
timestamp?: number;
|
|
146
|
+
}
|
|
147
|
+
export interface IRandomizeAnswersOrder extends ICtaSettingsBase {
|
|
148
|
+
}
|
|
149
|
+
export interface IAllowRetry extends ICtaSettingsBase {
|
|
150
|
+
/**
|
|
151
|
+
* Maximum number of attempts
|
|
152
|
+
* @default 1 (if enabled)
|
|
153
|
+
*/
|
|
154
|
+
maxCount?: number;
|
|
155
|
+
}
|
|
156
|
+
export interface ITimeLimit extends ICtaSettingsBase {
|
|
157
|
+
/**
|
|
158
|
+
* Maxinum number of seconds for the cta to be completed
|
|
159
|
+
*/
|
|
160
|
+
duration: number;
|
|
161
|
+
}
|
|
162
|
+
export interface IAnswerReflection extends ICtaSettingsBase {
|
|
163
|
+
}
|
|
164
|
+
//# sourceMappingURL=cta-stats-event.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cta-stats-event.d.ts","sourceRoot":"","sources":["../../../lib/events/cta-stats-event.ts"],"names":[],"mappings":"AAAA,oBAAY,YAAY;IACpB,IAAI,IAAI;IACR,WAAW,IAAA;IACX,YAAY,IAAA;IACZ,IAAI,IAAA;IACJ,KAAK,IAAA;IACL,KAAK,IAAA;IACL,MAAM,IAAA;IACN,YAAY,IAAA;IACZ,cAAc,IAAA;IACd,OAAO,KAAA;IACP,KAAK,KAAA;CACR;AAED,MAAM,WAAW,cAAc;IAC3B;;OAEG;IACH,IAAI,EAAE,YAAY,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,OAAO,CAAC,EAAE,iBAAiB,GAAG,IAAI,CAAC;IACnC;;OAEG;IACH,GAAG,EAAE,IAAI,CAAC;CACb;AAED;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;OAEG;IACH,SAAS,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B;;OAEG;IACH,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,IAAI;IACjB;;OAEG;IACH,EAAE,EAAE,M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M,CAAC;CACpB;AACD,MAAM,WAAW,iBAAkB,SAAQ,gBAAgB;CAAI"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CtaStatsType = void 0;
|
|
4
|
+
var CtaStatsType;
|
|
5
|
+
(function (CtaStatsType) {
|
|
6
|
+
CtaStatsType[CtaStatsType["open"] = 1] = "open";
|
|
7
|
+
CtaStatsType[CtaStatsType["openForInfo"] = 2] = "openForInfo";
|
|
8
|
+
CtaStatsType[CtaStatsType["openForRetry"] = 3] = "openForRetry";
|
|
9
|
+
CtaStatsType[CtaStatsType["skip"] = 4] = "skip";
|
|
10
|
+
CtaStatsType[CtaStatsType["reply"] = 5] = "reply";
|
|
11
|
+
CtaStatsType[CtaStatsType["retry"] = 6] = "retry";
|
|
12
|
+
CtaStatsType[CtaStatsType["rewind"] = 7] = "rewind";
|
|
13
|
+
CtaStatsType[CtaStatsType["selectAnswer"] = 8] = "selectAnswer";
|
|
14
|
+
CtaStatsType[CtaStatsType["unselectAnswer"] = 9] = "unselectAnswer";
|
|
15
|
+
CtaStatsType[CtaStatsType["timeout"] = 10] = "timeout";
|
|
16
|
+
CtaStatsType[CtaStatsType["close"] = 11] = "close";
|
|
17
|
+
})(CtaStatsType = exports.CtaStatsType || (exports.CtaStatsType = {}));
|
|
18
|
+
//# sourceMappingURL=cta-stats-event.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cta-stats-event.js","sourceRoot":"","sources":["../../../lib/events/cta-stats-event.ts"],"names":[],"mappings":";;;AAAA,IAAY,YAYX;AAZD,WAAY,YAAY;IACpB,+CAAQ,CAAA;IACR,6DAAW,CAAA;IACX,+DAAY,CAAA;IACZ,+CAAI,CAAA;IACJ,iDAAK,CAAA;IACL,iDAAK,CAAA;IACL,mDAAM,CAAA;IACN,+DAAY,CAAA;IACZ,mEAAc,CAAA;IACd,sDAAO,CAAA;IACP,kDAAK,CAAA;AACT,CAAC,EAZW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAYvB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/events/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,cAAc,eAAe,CAAA;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,yBAAyB,CAAC;AACxC,cAAc,eAAe,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/events/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,cAAc,eAAe,CAAA;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,yBAAyB,CAAC;AACxC,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC"}
|
|
@@ -21,4 +21,5 @@ __exportStar(require("./stats-event"), exports);
|
|
|
21
21
|
__exportStar(require("./ux-event"), exports);
|
|
22
22
|
__exportStar(require("./video-benchmark-event"), exports);
|
|
23
23
|
__exportStar(require("./my-activity"), exports);
|
|
24
|
+
__exportStar(require("./cta-stats-event"), exports);
|
|
24
25
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/events/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,gDAA6B;AAC7B,6CAA2B;AAC3B,0DAAwC;AACxC,gDAA8B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/events/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,gDAA6B;AAC7B,6CAA2B;AAC3B,0DAAwC;AACxC,gDAA8B;AAC9B,oDAAkC"}
|
package/dist/build/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @module Annoto
|
|
3
3
|
*/
|
|
4
4
|
import { IConfig } from './config';
|
|
5
|
-
import { IUxEvent, IStatsEvent, IVideoBenchmarkEvent, IMyActivity } from './events';
|
|
5
|
+
import { IUxEvent, IStatsEvent, IVideoBenchmarkEvent, IMyActivity, ICtaStatsEvent } from './events';
|
|
6
6
|
import { IAnnotoApi, IMetadata } from './api';
|
|
7
7
|
export declare type AnnotoReadyCallback = (api: IAnnotoApi) => void;
|
|
8
8
|
export declare type AnnotoMetadataCallback = (metadata: IMetadata) => void;
|
|
@@ -11,14 +11,16 @@ export declare type AnnotoStatsEventCallback = (statsEvent: IStatsEvent) => void
|
|
|
11
11
|
export declare type AnnotoVideoBenchmarkCallback = (uxEvent: IVideoBenchmarkEvent) => void;
|
|
12
12
|
export declare type AnnotoMyActivityCallback = (uxEvent: IMyActivity) => void;
|
|
13
13
|
export declare type AnnotoSetupCallback = (config: IConfig) => void;
|
|
14
|
+
export declare type AnnotoCtaStatsEventCallback = (statsEvent: ICtaStatsEvent) => void;
|
|
14
15
|
export interface IEventsMap {
|
|
15
|
-
|
|
16
|
+
ready: AnnotoReadyCallback;
|
|
16
17
|
metadata: AnnotoMetadataCallback;
|
|
17
18
|
ux: AnnotoUxEventCallback;
|
|
18
|
-
stats_events:
|
|
19
|
+
stats_events: AnnotoStatsEventCallback;
|
|
19
20
|
video_benchmark: AnnotoVideoBenchmarkCallback;
|
|
20
|
-
my_activity:
|
|
21
|
+
my_activity: AnnotoMyActivityCallback;
|
|
21
22
|
setup: AnnotoSetupCallback;
|
|
23
|
+
cta_stats_events: AnnotoCtaStatsEventCallback;
|
|
22
24
|
}
|
|
23
25
|
export declare type AnnotoEventType = keyof IEventsMap;
|
|
24
26
|
export interface Annoto {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../lib/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AACnC,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sour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eAAe,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,EAAE,UAAU,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC;IACnF,IAAI,CAAC,MAAM,EAAE,OAAO,GAAG,IAAI,CAAC;CAC/B;AAED,cAAc,UAAU,CAAC;AACzB,cAAc,OAAO,CAAC;AACtB,cAAc,UAAU,CAAC;AACzB,cAAc,kBAAkB,CAAC"}
|
package/dist/build/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../lib/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../lib/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAsCH,2CAAyB;AACzB,wCAAsB;AACtB,2CAAyB;AACzB,mDAAiC"}
|
|
@@ -12,7 +12,7 @@ export interface IHooks {
|
|
|
12
12
|
* The best practice is to keep the widget bootstrap configuration to a minimum.
|
|
13
13
|
*
|
|
14
14
|
* @param params
|
|
15
|
-
* @returns
|
|
15
|
+
* @returns configuration to override the exiting config (will be deep merged by Annoto)
|
|
16
16
|
*/
|
|
17
17
|
setup?(params: {
|
|
18
18
|
widgetIndex: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/config/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACjC,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AAC3B,OAAO,EAAE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;OAEG;IACH,EAAE,CAAC,EAAE,GAAG,CAAC;IACT;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,YAAY,CAAC,EAAE,mBAAmB,CAAC;IACnC;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,OAAO,CAAC,EAAE,qBAAqB,CAAC;CACnC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/config/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAWH,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,MAAM,CAAC;AACrB,cAAc,UAAU,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/config/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAWH,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,MAAM,CAAC;AACrB,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* LTI outcomes parameters provided by the consumer during the LTI launch
|
|
3
|
+
* https://www.imsglobal.org/spec/lti-bo/v1p1#overview
|
|
4
|
+
*/
|
|
5
|
+
export interface ILtiOutcome {
|
|
6
|
+
sourcedid: string;
|
|
7
|
+
serviceUrl: string;
|
|
8
|
+
/**
|
|
9
|
+
* Presence of this key indicates that the consumer is capable of using the resultData extension. The value should be a comma separated list of: url, text, or values agreed upon between consumer and provider
|
|
10
|
+
* https://www.eduappcenter.com/docs/extensions/result_data
|
|
11
|
+
* https://canvas.instructure.com/doc/api/file.assignment_tools.html#outcomes_service
|
|
12
|
+
*/
|
|
13
|
+
extDataAccepted?: string;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=lti-outcome.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lti-outcome.d.ts","sourceRoot":"","sources":["../../../lib/config/lti-outcome.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,WAAW;IACxB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC5B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lti-outcome.js","sourceRoot":"","sources":["../../../lib/config/lti-outcome.ts"],"names":[],"mappings":""}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ILtiOutcome } from './lti-outcome';
|
|
1
2
|
export interface IMediaDetails {
|
|
2
3
|
/**
|
|
3
4
|
* Media Title
|
|
@@ -20,9 +21,21 @@ export interface IMediaDetails {
|
|
|
20
21
|
* author name of the media
|
|
21
22
|
*/
|
|
22
23
|
authorName?: string;
|
|
24
|
+
/**
|
|
25
|
+
* If provided and Outcome related features are enabled and setup (such as Quizzes),
|
|
26
|
+
* Annoto will try to sync the outcomes to the 3d party system.
|
|
27
|
+
*/
|
|
28
|
+
outcomes?: IOutcomes;
|
|
23
29
|
}
|
|
24
30
|
export interface IMediaThumbnails {
|
|
25
31
|
default: string;
|
|
26
32
|
mobile?: string;
|
|
27
33
|
}
|
|
34
|
+
export interface IOutcomes {
|
|
35
|
+
/**
|
|
36
|
+
* LTI outcomes parameters provided by the consumer during the LTI launch
|
|
37
|
+
* https://www.imsglobal.org/spec/lti-bo/v1p1#overview
|
|
38
|
+
*/
|
|
39
|
+
lti?: ILtiOutcome;
|
|
40
|
+
}
|
|
28
41
|
//# sourceMappingURL=media-details.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"media-details.d.ts","sourceRoot":"","sources":["../../../lib/config/media-details.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC1B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"media-details.d.ts","sourceRoot":"","sources":["../../../lib/config/media-details.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,MAAM,WAAW,aAAa;IAC1B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;OAGG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;CACxB;AAED,MAAM,WAAW,gBAAgB;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,SAAS;IACtB;;;OAGG;IACH,GAAG,CAAC,EAAE,WAAW,CAAC;CACrB"}
|