asap-viewer 12.5.35 → 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 +8 -5
- 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 +8 -6
- package/esm5/lib/visualizador/modal-rating/modal-rating.component.js +9 -6
- package/fesm2015/asap-viewer.js +7 -5
- package/fesm2015/asap-viewer.js.map +1 -1
- package/fesm5/asap-viewer.js +8 -5
- 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
package/fesm5/asap-viewer.js
CHANGED
|
@@ -13845,7 +13845,7 @@ var ModalStarRatingComponent = /** @class */ (function () {
|
|
|
13845
13845
|
*/
|
|
13846
13846
|
function () {
|
|
13847
13847
|
var _this = this;
|
|
13848
|
-
this.goToRedirect();
|
|
13848
|
+
this.goToRedirect('save');
|
|
13849
13849
|
this.loading = true;
|
|
13850
13850
|
/** @type {?} */
|
|
13851
13851
|
var form = { rating: this.score, comment: this.comment };
|
|
@@ -13896,18 +13896,21 @@ var ModalStarRatingComponent = /** @class */ (function () {
|
|
|
13896
13896
|
* @return {?}
|
|
13897
13897
|
*/
|
|
13898
13898
|
function () {
|
|
13899
|
-
this.goToRedirect();
|
|
13900
|
-
this.dialogRef.close('done');
|
|
13899
|
+
this.goToRedirect('onClose');
|
|
13901
13900
|
};
|
|
13902
13901
|
/**
|
|
13902
|
+
* @param {?} source
|
|
13903
13903
|
* @return {?}
|
|
13904
13904
|
*/
|
|
13905
13905
|
ModalStarRatingComponent.prototype.goToRedirect = /**
|
|
13906
|
+
* @param {?} source
|
|
13906
13907
|
* @return {?}
|
|
13907
13908
|
*/
|
|
13908
|
-
function () {
|
|
13909
|
+
function (source) {
|
|
13910
|
+
console.log("[goToRedirect]", source, this.data.redirect);
|
|
13909
13911
|
if (this.data.redirect) {
|
|
13910
|
-
this.
|
|
13912
|
+
this.dialogRef.close('done');
|
|
13913
|
+
this.router.navigateByUrl(this.data.redirect);
|
|
13911
13914
|
}
|
|
13912
13915
|
};
|
|
13913
13916
|
/**
|