tnx-shared 5.3.299 → 5.3.301

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.
@@ -1950,7 +1950,7 @@
1950
1950
  return _this;
1951
1951
  }
1952
1952
  return UserPickerControlSchema;
1953
- }(FormControlBase));
1953
+ }(FormControlBaseWithService));
1954
1954
  var CoCauToChucPickerControlSchema = /** @class */ (function (_super) {
1955
1955
  __extends(CoCauToChucPickerControlSchema, _super);
1956
1956
  function CoCauToChucPickerControlSchema(init) {
@@ -5995,6 +5995,44 @@
5995
5995
  });
5996
5996
  });
5997
5997
  };
5998
+ SignalRService.prototype.singleInit = function () {
5999
+ return __awaiter(this, void 0, void 0, function () {
6000
+ return __generator(this, function (_a) {
6001
+ switch (_a.label) {
6002
+ case 0:
6003
+ if (this.isInited) {
6004
+ return [2 /*return*/];
6005
+ }
6006
+ this.isInited = true;
6007
+ this.hubs['CommonHub'] = this.createConnection('CommonHub');
6008
+ return [4 /*yield*/, this.startConnection(this.hubs['CommonHub'])];
6009
+ case 1:
6010
+ _a.sent();
6011
+ this.autoReconnect(this.hubs['CommonHub']);
6012
+ this.hubs['ConsistencyHub'] = this.createConnection('ConsistencyHub');
6013
+ return [4 /*yield*/, this.startConnection(this.hubs['ConsistencyHub'])];
6014
+ case 2:
6015
+ _a.sent();
6016
+ this.autoReconnect(this.hubs['ConsistencyHub']);
6017
+ this.hubs['NotificationHub'] = this.createConnection('NotificationHub');
6018
+ return [4 /*yield*/, this.startConnection(this.hubs['NotificationHub'])];
6019
+ case 3:
6020
+ _a.sent();
6021
+ this.autoReconnect(this.hubs['NotificationHub']);
6022
+ this.hubs['PublicHub'] = this.createConnection('PublicHub');
6023
+ return [4 /*yield*/, this.startConnection(this.hubs['PublicHub'])];
6024
+ case 4:
6025
+ _a.sent();
6026
+ this.autoReconnect(this.hubs['PublicHub']);
6027
+ while (this.delayStarters.length > 0) {
6028
+ this.delayStarters.pop()();
6029
+ }
6030
+ this.connected = true;
6031
+ return [2 /*return*/];
6032
+ }
6033
+ });
6034
+ });
6035
+ };
5998
6036
  SignalRService.prototype.start = function (topic, viewCode, callback) {
5999
6037
  var _this = this;
6000
6038
  if (!topic) {