asap-viewer 12.5.36 → 12.5.37
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 +7 -4
- 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/modal-rating/modal-rating.component.js +7 -5
- package/esm5/lib/visualizador/modal-rating/modal-rating.component.js +8 -5
- package/fesm2015/asap-viewer.js +6 -4
- package/fesm2015/asap-viewer.js.map +1 -1
- package/fesm5/asap-viewer.js +7 -4
- package/fesm5/asap-viewer.js.map +1 -1
- package/lib/visualizador/modal-rating/modal-rating.component.d.ts +1 -1
- package/package.json +1 -1
|
@@ -14045,7 +14045,7 @@
|
|
|
14045
14045
|
*/
|
|
14046
14046
|
function () {
|
|
14047
14047
|
var _this = this;
|
|
14048
|
-
this.goToRedirect();
|
|
14048
|
+
this.goToRedirect('save');
|
|
14049
14049
|
this.loading = true;
|
|
14050
14050
|
/** @type {?} */
|
|
14051
14051
|
var form = { rating: this.score, comment: this.comment };
|
|
@@ -14096,18 +14096,21 @@
|
|
|
14096
14096
|
* @return {?}
|
|
14097
14097
|
*/
|
|
14098
14098
|
function () {
|
|
14099
|
-
this.goToRedirect();
|
|
14099
|
+
this.goToRedirect('onClose');
|
|
14100
14100
|
};
|
|
14101
14101
|
/**
|
|
14102
|
+
* @param {?} source
|
|
14102
14103
|
* @return {?}
|
|
14103
14104
|
*/
|
|
14104
14105
|
ModalStarRatingComponent.prototype.goToRedirect = /**
|
|
14106
|
+
* @param {?} source
|
|
14105
14107
|
* @return {?}
|
|
14106
14108
|
*/
|
|
14107
|
-
function () {
|
|
14109
|
+
function (source) {
|
|
14110
|
+
console.log("[goToRedirect]", source, this.data.redirect);
|
|
14108
14111
|
if (this.data.redirect) {
|
|
14109
14112
|
this.dialogRef.close('done');
|
|
14110
|
-
this.router.
|
|
14113
|
+
this.router.navigateByUrl(this.data.redirect);
|
|
14111
14114
|
}
|
|
14112
14115
|
};
|
|
14113
14116
|
/**
|