@bizdoc/core 3.3.10 → 3.3.11
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/fesm2022/bizdoc-core.mjs
CHANGED
@@ -964,7 +964,7 @@ class AuthenticationImpl {
|
|
964
964
|
|
965
965
|
/** Listen to hub contracts */
|
966
966
|
class HubService {
|
967
|
-
constructor(_auth) {
|
967
|
+
constructor(config, _auth) {
|
968
968
|
this._auth = _auth;
|
969
969
|
this._state = new Subject();
|
970
970
|
this.state$ = this._state.asObservable();
|
@@ -1018,7 +1018,9 @@ class HubService {
|
|
1018
1018
|
});
|
1019
1019
|
});
|
1020
1020
|
}
|
1021
|
-
this._connection = new HubConnectionBuilder().withUrl('
|
1021
|
+
this._connection = new HubConnectionBuilder().withUrl((config.hubServerUrl || '') +
|
1022
|
+
'/chub', {
|
1023
|
+
//headers: {},
|
1022
1024
|
// logger: LogLevel.Debug,
|
1023
1025
|
accessTokenFactory: () => this._auth.getAuthToken(), // arrow call, 'this' bug
|
1024
1026
|
//skipNegotiation: true,
|
@@ -1064,7 +1066,7 @@ class HubService {
|
|
1064
1066
|
await this._connection.stop();
|
1065
1067
|
this._state.next(HubConnectionState.Disconnected);
|
1066
1068
|
}
|
1067
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: HubService, deps: [{ token: AuthenticationImpl }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
1069
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: HubService, deps: [{ token: BIZDOC_CONFIG }, { token: AuthenticationImpl }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
1068
1070
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: HubService, providedIn: "root" }); }
|
1069
1071
|
}
|
1070
1072
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: HubService, decorators: [{
|
@@ -1072,7 +1074,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImpor
|
|
1072
1074
|
args: [{
|
1073
1075
|
providedIn: "root"
|
1074
1076
|
}]
|
1075
|
-
}], ctorParameters: () => [{ type:
|
1077
|
+
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
1078
|
+
type: Inject,
|
1079
|
+
args: [BIZDOC_CONFIG]
|
1080
|
+
}] }, { type: AuthenticationImpl }] });
|
1076
1081
|
|
1077
1082
|
const EXTENTION_ICONS = {
|
1078
1083
|
'xlsx': 'excel',
|
@@ -5203,7 +5208,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImpor
|
|
5203
5208
|
}]
|
5204
5209
|
}] });
|
5205
5210
|
|
5206
|
-
const ACE_BUILD = '1.
|
5211
|
+
const ACE_BUILD = '1.39.0';
|
5207
5212
|
class AceInput {
|
5208
5213
|
static { this.nextId = 0; }
|
5209
5214
|
get placeholder() {
|