tnx-shared 5.3.306 → 5.3.308

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.
@@ -5943,6 +5943,7 @@
5943
5943
  this.connected = false;
5944
5944
  this.maxRetryTimes = 10;
5945
5945
  this.isInited = false;
5946
+ this.isInitedFull = false;
5946
5947
  this.wait = function (ms) { return new Promise(function (r) { return setTimeout(r, ms); }); };
5947
5948
  this._moduleConfig = this._moduleConfigService.getConfig();
5948
5949
  this.hubsSetting = this._moduleConfig.environment.signalrConfig.hubs;
@@ -5952,7 +5953,7 @@
5952
5953
  return __generator(this, function (_a) {
5953
5954
  switch (_a.label) {
5954
5955
  case 0:
5955
- if (this.isInited) {
5956
+ if (this.isInited || this.isInitedFull) {
5956
5957
  return [2 /*return*/];
5957
5958
  }
5958
5959
  this.isInited = true;
@@ -6002,10 +6003,10 @@
6002
6003
  return __generator(this, function (_a) {
6003
6004
  switch (_a.label) {
6004
6005
  case 0:
6005
- if (this.isInited) {
6006
+ if (this.isInitedFull) {
6006
6007
  return [2 /*return*/];
6007
6008
  }
6008
- this.isInited = true;
6009
+ this.isInitedFull = true;
6009
6010
  this.hubs['CommonHub'] = this.createConnection('CommonHub');
6010
6011
  return [4 /*yield*/, this.startConnection(this.hubs['CommonHub'])];
6011
6012
  case 1:
@@ -45663,7 +45664,7 @@
45663
45664
  this.onTouched = fn;
45664
45665
  };
45665
45666
  DatetimePickerComponent.prototype.setDisabledState = function (isDisabled) {
45666
- this.control.disabled = isDisabled;
45667
+ this.disabled = isDisabled;
45667
45668
  };
45668
45669
  DatetimePickerComponent.prototype.getPanelClass = function () {
45669
45670
  if (this.control.appendTo == 'body') {