@sumaris-net/ngx-components 1.21.0-beta30 → 1.21.0-beta31
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/sumaris-net.ngx-components.umd.js +33 -22
- package/bundles/sumaris-net.ngx-components.umd.js.map +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js.map +1 -1
- package/esm2015/src/app/social/job/progression/job-progression.component.js +9 -5
- package/fesm2015/sumaris-net.ngx-components.js +8 -4
- package/fesm2015/sumaris-net.ngx-components.js.map +1 -1
- package/package.json +1 -1
- package/src/app/social/job/progression/job-progression.component.d.ts +1 -0
- package/sumaris-net.ngx-components.metadata.json +1 -1
|
@@ -31821,10 +31821,15 @@
|
|
|
31821
31821
|
_this.removeJob(progression.id);
|
|
31822
31822
|
// If last job
|
|
31823
31823
|
if (_this.autoHide && !((_a = _this.jobProgressions) === null || _a === void 0 ? void 0 : _a.length)) {
|
|
31824
|
-
setTimeout(function () {
|
|
31825
|
-
|
|
31826
|
-
|
|
31827
|
-
|
|
31824
|
+
setTimeout(function () { return __awaiter(_this, void 0, void 0, function () {
|
|
31825
|
+
var _b;
|
|
31826
|
+
return __generator(this, function (_e) {
|
|
31827
|
+
(_b = this._listPopover) === null || _b === void 0 ? void 0 : _b.dismiss();
|
|
31828
|
+
this.visible = false;
|
|
31829
|
+
this.markForCheck();
|
|
31830
|
+
return [2 /*return*/];
|
|
31831
|
+
});
|
|
31832
|
+
}); }, _this.autoHideDelay);
|
|
31828
31833
|
}
|
|
31829
31834
|
}, _this.autoRemoveDelay);
|
|
31830
31835
|
}
|
|
@@ -31874,26 +31879,32 @@
|
|
|
31874
31879
|
};
|
|
31875
31880
|
JobProgressionComponent.prototype.showList = function (event) {
|
|
31876
31881
|
return __awaiter(this, void 0, void 0, function () {
|
|
31877
|
-
var
|
|
31878
|
-
return __generator(this, function (
|
|
31879
|
-
switch (
|
|
31880
|
-
case 0:
|
|
31881
|
-
|
|
31882
|
-
|
|
31883
|
-
|
|
31884
|
-
|
|
31885
|
-
|
|
31886
|
-
|
|
31887
|
-
|
|
31888
|
-
|
|
31889
|
-
|
|
31890
|
-
|
|
31891
|
-
|
|
31882
|
+
var _e;
|
|
31883
|
+
return __generator(this, function (_f) {
|
|
31884
|
+
switch (_f.label) {
|
|
31885
|
+
case 0:
|
|
31886
|
+
_e = this;
|
|
31887
|
+
return [4 /*yield*/, this.popoverController.create({
|
|
31888
|
+
component: JobProgressionList,
|
|
31889
|
+
componentProps: {
|
|
31890
|
+
titleI18n: this.titleI18n,
|
|
31891
|
+
jobProgressions: this.jobProgressions
|
|
31892
|
+
},
|
|
31893
|
+
backdropDismiss: true,
|
|
31894
|
+
keyboardClose: true,
|
|
31895
|
+
event: event,
|
|
31896
|
+
translucent: true,
|
|
31897
|
+
cssClass: 'popover-large'
|
|
31898
|
+
})];
|
|
31892
31899
|
case 1:
|
|
31893
|
-
|
|
31894
|
-
return [4 /*yield*/,
|
|
31900
|
+
_e._listPopover = _f.sent();
|
|
31901
|
+
return [4 /*yield*/, this._listPopover.present()];
|
|
31895
31902
|
case 2:
|
|
31896
|
-
|
|
31903
|
+
_f.sent();
|
|
31904
|
+
return [4 /*yield*/, this._listPopover.onDidDismiss()];
|
|
31905
|
+
case 3:
|
|
31906
|
+
_f.sent();
|
|
31907
|
+
this._listPopover = undefined;
|
|
31897
31908
|
return [2 /*return*/];
|
|
31898
31909
|
}
|
|
31899
31910
|
});
|