@sumaris-net/ngx-components 1.20.36 → 1.20.39

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.
@@ -4750,7 +4750,7 @@
4750
4750
  function FormGetControlPipe() {
4751
4751
  }
4752
4752
  FormGetControlPipe.prototype.transform = function (form, path) {
4753
- return (form && path && form.get(path) || form);
4753
+ return (form && isNotNil(path) && form.get(path) || form);
4754
4754
  };
4755
4755
  return FormGetControlPipe;
4756
4756
  }());
@@ -15213,7 +15213,8 @@
15213
15213
  console.debug('[graphql] Apply token authentication to headers');
15214
15214
  this.connectionParams.authToken = token;
15215
15215
  }
15216
- else {
15216
+ // Clean auth token
15217
+ else if (this.connectionParams.authToken) {
15217
15218
  console.debug('[graphql] Remove token authentication from headers');
15218
15219
  delete this.connectionParams.authToken;
15219
15220
  // Clear cache
@@ -15225,7 +15226,8 @@
15225
15226
  console.debug('[graphql] Apply basic authentication to headers');
15226
15227
  this.connectionParams.authBasic = basic;
15227
15228
  }
15228
- else {
15229
+ // Clean auth basic
15230
+ else if (this.connectionParams.authBasic) {
15229
15231
  console.debug('[graphql] Remove basic authentication from headers');
15230
15232
  delete this.connectionParams.authBasic;
15231
15233
  // Clear cache
@@ -20081,7 +20083,12 @@
20081
20083
  this._$loading.unsubscribe();
20082
20084
  };
20083
20085
  AppForm.prototype.cancel = function () {
20084
- this.onCancel.emit();
20086
+ return __awaiter(this, void 0, void 0, function () {
20087
+ return __generator(this, function (_b) {
20088
+ this.onCancel.emit();
20089
+ return [2 /*return*/];
20090
+ });
20091
+ });
20085
20092
  };
20086
20093
  /**
20087
20094
  *
@@ -21521,7 +21528,12 @@
21521
21528
  }
21522
21529
  };
21523
21530
  AuthForm.prototype.cancel = function () {
21524
- this.onCancel.emit();
21531
+ return __awaiter(this, void 0, void 0, function () {
21532
+ return __generator(this, function (_a) {
21533
+ this.onCancel.emit();
21534
+ return [2 /*return*/];
21535
+ });
21536
+ });
21525
21537
  };
21526
21538
  AuthForm.prototype.doSubmit = function (event) {
21527
21539
  return __awaiter(this, void 0, void 0, function () {
@@ -22540,8 +22552,12 @@
22540
22552
  });
22541
22553
  return __awaiter(this, void 0, void 0, function () {
22542
22554
  return __generator(this, function (_c) {
22543
- _super.cancel.call(this);
22544
- return [2 /*return*/];
22555
+ switch (_c.label) {
22556
+ case 0: return [4 /*yield*/, _super.cancel.call(this)];
22557
+ case 1:
22558
+ _c.sent();
22559
+ return [2 /*return*/];
22560
+ }
22545
22561
  });
22546
22562
  });
22547
22563
  };
@@ -28508,6 +28524,10 @@
28508
28524
  this.markForCheck();
28509
28525
  }
28510
28526
  };
28527
+ AppTabEditor.prototype.realignInkBar = function () {
28528
+ var _a;
28529
+ (_a = this.tabGroup) === null || _a === void 0 ? void 0 : _a.realignInkBar();
28530
+ };
28511
28531
  AppTabEditor.prototype.onTabChange = function (event, queryTabIndexParamName) {
28512
28532
  queryTabIndexParamName = queryTabIndexParamName || this.queryTabIndexParamName;
28513
28533
  if (!queryTabIndexParamName || !this.route)