asap-viewer 12.5.34 → 12.5.35
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 +1 -15
- 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 +2 -7
- package/esm5/lib/visualizador/curso-visualizador/viewer/viewer.component.js +1 -10
- package/esm5/lib/visualizador/modal-rating/modal-rating.component.js +2 -7
- package/fesm2015/asap-viewer.js +1 -15
- package/fesm2015/asap-viewer.js.map +1 -1
- package/fesm5/asap-viewer.js +1 -15
- package/fesm5/asap-viewer.js.map +1 -1
- package/package.json +1 -1
package/fesm5/asap-viewer.js
CHANGED
|
@@ -13827,7 +13827,6 @@ var ModalStarRatingComponent = /** @class */ (function () {
|
|
|
13827
13827
|
* @return {?}
|
|
13828
13828
|
*/
|
|
13829
13829
|
function () {
|
|
13830
|
-
console.log('owner ->', this.data);
|
|
13831
13830
|
};
|
|
13832
13831
|
/**
|
|
13833
13832
|
* @return {?}
|
|
@@ -13855,14 +13854,12 @@ var ModalStarRatingComponent = /** @class */ (function () {
|
|
|
13855
13854
|
* @return {?}
|
|
13856
13855
|
*/
|
|
13857
13856
|
function (res) {
|
|
13858
|
-
console.log('Modal Rating Avaliate ->', res);
|
|
13859
13857
|
if (res) {
|
|
13860
13858
|
_this._trilhaRatingService.getResource(_this.data.owner.module).subscribe((/**
|
|
13861
13859
|
* @param {?} response
|
|
13862
13860
|
* @return {?}
|
|
13863
13861
|
*/
|
|
13864
13862
|
function (response) {
|
|
13865
|
-
console.log('Response Rating', response);
|
|
13866
13863
|
if (response.data.end) {
|
|
13867
13864
|
// this.showCertificateLink = false;
|
|
13868
13865
|
_this.showContinueButtom = true;
|
|
@@ -13889,7 +13886,6 @@ var ModalStarRatingComponent = /** @class */ (function () {
|
|
|
13889
13886
|
* @return {?}
|
|
13890
13887
|
*/
|
|
13891
13888
|
function (error) {
|
|
13892
|
-
console.log('Error -> save()', error);
|
|
13893
13889
|
_this.loading = false;
|
|
13894
13890
|
}));
|
|
13895
13891
|
};
|
|
@@ -13910,9 +13906,8 @@ var ModalStarRatingComponent = /** @class */ (function () {
|
|
|
13910
13906
|
* @return {?}
|
|
13911
13907
|
*/
|
|
13912
13908
|
function () {
|
|
13913
|
-
console.log("this.data.redirect", this.data.redirect);
|
|
13914
13909
|
if (this.data.redirect) {
|
|
13915
|
-
this.router.navigate([this.data.redirect]);
|
|
13910
|
+
this.router.navigate(['/' + this.data.redirect]);
|
|
13916
13911
|
}
|
|
13917
13912
|
};
|
|
13918
13913
|
/**
|
|
@@ -13994,9 +13989,7 @@ var ViewerComponent = /** @class */ (function () {
|
|
|
13994
13989
|
* @return {?}
|
|
13995
13990
|
*/
|
|
13996
13991
|
function () {
|
|
13997
|
-
console.log(this.step);
|
|
13998
13992
|
this.getContent(this.step);
|
|
13999
|
-
console.log('ITEM ->@@@@@', this.module, this.step, this.id);
|
|
14000
13993
|
};
|
|
14001
13994
|
/**
|
|
14002
13995
|
* @private
|
|
@@ -14109,7 +14102,6 @@ var ViewerComponent = /** @class */ (function () {
|
|
|
14109
14102
|
}
|
|
14110
14103
|
}
|
|
14111
14104
|
_this.loader = false;
|
|
14112
|
-
console.log("[RES]", res);
|
|
14113
14105
|
}), (/**
|
|
14114
14106
|
* @param {?} err
|
|
14115
14107
|
* @return {?}
|
|
@@ -14139,32 +14131,26 @@ var ViewerComponent = /** @class */ (function () {
|
|
|
14139
14131
|
* @return {?}
|
|
14140
14132
|
*/
|
|
14141
14133
|
function (event) {
|
|
14142
|
-
console.log('Event updateVideoTime ->', event);
|
|
14143
14134
|
if (event.progress < 10) {
|
|
14144
14135
|
this.resetVideoUpdater();
|
|
14145
14136
|
}
|
|
14146
14137
|
else if ((event.progress >= 10) && (this.updateAt10)) {
|
|
14147
|
-
console.log('updateAt10');
|
|
14148
14138
|
this.doUpdateVideoTime(event);
|
|
14149
14139
|
this.updateAt10 = false;
|
|
14150
14140
|
}
|
|
14151
14141
|
else if ((event.progress >= 25) && (this.updateAt25)) {
|
|
14152
|
-
console.log('updateAt25');
|
|
14153
14142
|
this.doUpdateVideoTime(event);
|
|
14154
14143
|
this.updateAt25 = false;
|
|
14155
14144
|
}
|
|
14156
14145
|
else if ((event.progress >= 50) && (this.updateAt50)) {
|
|
14157
|
-
console.log('updateAt50');
|
|
14158
14146
|
this.doUpdateVideoTime(event);
|
|
14159
14147
|
this.updateAt50 = false;
|
|
14160
14148
|
}
|
|
14161
14149
|
else if ((event.progress >= 75) && (this.updateAt75)) {
|
|
14162
|
-
console.log('updateAt75');
|
|
14163
14150
|
this.doUpdateVideoTime(event);
|
|
14164
14151
|
this.updateAt75 = false;
|
|
14165
14152
|
}
|
|
14166
14153
|
else if (event.progress >= 100) {
|
|
14167
|
-
console.log('updateAt100');
|
|
14168
14154
|
this.doUpdateVideoTime(event);
|
|
14169
14155
|
}
|
|
14170
14156
|
};
|