asap-viewer 12.5.34 → 12.5.36
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/bundles/asap-viewer.umd.js +2 -16
- package/bundles/asap-viewer.umd.js.map +1 -1
- package/bundles/asap-viewer.umd.min.js +1 -1
- package/bundles/asap-viewer.umd.min.js.map +1 -1
- package/esm2015/lib/visualizador/curso-visualizador/viewer/viewer.component.js +1 -10
- package/esm2015/lib/visualizador/modal-rating/modal-rating.component.js +3 -8
- package/esm5/lib/visualizador/curso-visualizador/viewer/viewer.component.js +1 -10
- package/esm5/lib/visualizador/modal-rating/modal-rating.component.js +3 -8
- package/fesm2015/asap-viewer.js +2 -16
- package/fesm2015/asap-viewer.js.map +1 -1
- package/fesm5/asap-viewer.js +2 -16
- package/fesm5/asap-viewer.js.map +1 -1
- package/package.json +1 -1
|
@@ -14027,7 +14027,6 @@
|
|
|
14027
14027
|
* @return {?}
|
|
14028
14028
|
*/
|
|
14029
14029
|
function () {
|
|
14030
|
-
console.log('owner ->', this.data);
|
|
14031
14030
|
};
|
|
14032
14031
|
/**
|
|
14033
14032
|
* @return {?}
|
|
@@ -14055,14 +14054,12 @@
|
|
|
14055
14054
|
* @return {?}
|
|
14056
14055
|
*/
|
|
14057
14056
|
function (res) {
|
|
14058
|
-
console.log('Modal Rating Avaliate ->', res);
|
|
14059
14057
|
if (res) {
|
|
14060
14058
|
_this._trilhaRatingService.getResource(_this.data.owner.module).subscribe((/**
|
|
14061
14059
|
* @param {?} response
|
|
14062
14060
|
* @return {?}
|
|
14063
14061
|
*/
|
|
14064
14062
|
function (response) {
|
|
14065
|
-
console.log('Response Rating', response);
|
|
14066
14063
|
if (response.data.end) {
|
|
14067
14064
|
// this.showCertificateLink = false;
|
|
14068
14065
|
_this.showContinueButtom = true;
|
|
@@ -14089,7 +14086,6 @@
|
|
|
14089
14086
|
* @return {?}
|
|
14090
14087
|
*/
|
|
14091
14088
|
function (error) {
|
|
14092
|
-
console.log('Error -> save()', error);
|
|
14093
14089
|
_this.loading = false;
|
|
14094
14090
|
}));
|
|
14095
14091
|
};
|
|
@@ -14101,7 +14097,6 @@
|
|
|
14101
14097
|
*/
|
|
14102
14098
|
function () {
|
|
14103
14099
|
this.goToRedirect();
|
|
14104
|
-
this.dialogRef.close('done');
|
|
14105
14100
|
};
|
|
14106
14101
|
/**
|
|
14107
14102
|
* @return {?}
|
|
@@ -14110,9 +14105,9 @@
|
|
|
14110
14105
|
* @return {?}
|
|
14111
14106
|
*/
|
|
14112
14107
|
function () {
|
|
14113
|
-
console.log("this.data.redirect", this.data.redirect);
|
|
14114
14108
|
if (this.data.redirect) {
|
|
14115
|
-
this.
|
|
14109
|
+
this.dialogRef.close('done');
|
|
14110
|
+
this.router.navigate(['/' + this.data.redirect]);
|
|
14116
14111
|
}
|
|
14117
14112
|
};
|
|
14118
14113
|
/**
|
|
@@ -14194,9 +14189,7 @@
|
|
|
14194
14189
|
* @return {?}
|
|
14195
14190
|
*/
|
|
14196
14191
|
function () {
|
|
14197
|
-
console.log(this.step);
|
|
14198
14192
|
this.getContent(this.step);
|
|
14199
|
-
console.log('ITEM ->@@@@@', this.module, this.step, this.id);
|
|
14200
14193
|
};
|
|
14201
14194
|
/**
|
|
14202
14195
|
* @private
|
|
@@ -14309,7 +14302,6 @@
|
|
|
14309
14302
|
}
|
|
14310
14303
|
}
|
|
14311
14304
|
_this.loader = false;
|
|
14312
|
-
console.log("[RES]", res);
|
|
14313
14305
|
}), (/**
|
|
14314
14306
|
* @param {?} err
|
|
14315
14307
|
* @return {?}
|
|
@@ -14339,32 +14331,26 @@
|
|
|
14339
14331
|
* @return {?}
|
|
14340
14332
|
*/
|
|
14341
14333
|
function (event) {
|
|
14342
|
-
console.log('Event updateVideoTime ->', event);
|
|
14343
14334
|
if (event.progress < 10) {
|
|
14344
14335
|
this.resetVideoUpdater();
|
|
14345
14336
|
}
|
|
14346
14337
|
else if ((event.progress >= 10) && (this.updateAt10)) {
|
|
14347
|
-
console.log('updateAt10');
|
|
14348
14338
|
this.doUpdateVideoTime(event);
|
|
14349
14339
|
this.updateAt10 = false;
|
|
14350
14340
|
}
|
|
14351
14341
|
else if ((event.progress >= 25) && (this.updateAt25)) {
|
|
14352
|
-
console.log('updateAt25');
|
|
14353
14342
|
this.doUpdateVideoTime(event);
|
|
14354
14343
|
this.updateAt25 = false;
|
|
14355
14344
|
}
|
|
14356
14345
|
else if ((event.progress >= 50) && (this.updateAt50)) {
|
|
14357
|
-
console.log('updateAt50');
|
|
14358
14346
|
this.doUpdateVideoTime(event);
|
|
14359
14347
|
this.updateAt50 = false;
|
|
14360
14348
|
}
|
|
14361
14349
|
else if ((event.progress >= 75) && (this.updateAt75)) {
|
|
14362
|
-
console.log('updateAt75');
|
|
14363
14350
|
this.doUpdateVideoTime(event);
|
|
14364
14351
|
this.updateAt75 = false;
|
|
14365
14352
|
}
|
|
14366
14353
|
else if (event.progress >= 100) {
|
|
14367
|
-
console.log('updateAt100');
|
|
14368
14354
|
this.doUpdateVideoTime(event);
|
|
14369
14355
|
}
|
|
14370
14356
|
};
|