@smartbit4all/ng-client 1.0.1 → 1.0.3

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.
@@ -3590,15 +3590,15 @@ var UiActionDialogType;
3590
3590
  * Public API Surface of smart-view-context
3591
3591
  */
3592
3592
 
3593
- class SmartAuthenticationService {
3593
+ class SmartAuthService {
3594
3594
  constructor() {
3595
3595
  this.bffApisHaveBeenSetUp = false;
3596
3596
  this.headersUpdated = new Subject();
3597
3597
  }
3598
3598
  }
3599
- SmartAuthenticationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SmartAuthenticationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3600
- SmartAuthenticationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SmartAuthenticationService });
3601
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SmartAuthenticationService, decorators: [{
3599
+ SmartAuthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SmartAuthService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3600
+ SmartAuthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SmartAuthService });
3601
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SmartAuthService, decorators: [{
3602
3602
  type: Injectable
3603
3603
  }] });
3604
3604
 
@@ -3607,8 +3607,16 @@ class SmartSubject extends Subject {
3607
3607
  super();
3608
3608
  this.unsubscribe$ = unsubscribe$;
3609
3609
  }
3610
- subscribe(next, error, complete) {
3611
- const subscription = super.subscribe(next, error, complete);
3610
+ subscribe(observerOrNext, error, complete) {
3611
+ if (typeof observerOrNext === "object") {
3612
+ const next = observerOrNext.next;
3613
+ observerOrNext.next = (value) => {
3614
+ if (next) {
3615
+ next.call(observerOrNext, value);
3616
+ }
3617
+ };
3618
+ }
3619
+ const subscription = super.subscribe(observerOrNext, error, complete);
3612
3620
  subscription.add(this.unsubscribe$.subscribe());
3613
3621
  return subscription;
3614
3622
  }
@@ -3707,7 +3715,7 @@ class SmartComponent extends SmartComponentApiClient {
3707
3715
  this._ngOnDestroy();
3708
3716
  }
3709
3717
  }
3710
- SmartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SmartComponent, deps: [{ token: SmartAuthenticationService }, { token: SmartViewContextService }, { token: "pageName" }], target: i0.ɵɵFactoryTarget.Component });
3718
+ SmartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SmartComponent, deps: [{ token: SmartAuthService }, { token: SmartViewContextService }, { token: "pageName" }], target: i0.ɵɵFactoryTarget.Component });
3711
3719
  SmartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: SmartComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "", isInline: true });
3712
3720
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SmartComponent, decorators: [{
3713
3721
  type: Component,
@@ -3716,7 +3724,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
3716
3724
  }]
3717
3725
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
3718
3726
  type: Inject,
3719
- args: [SmartAuthenticationService]
3727
+ args: [SmartAuthService]
3720
3728
  }] }, { type: SmartViewContextService }, { type: undefined, decorators: [{
3721
3729
  type: Inject,
3722
3730
  args: ["pageName"]
@@ -3733,7 +3741,7 @@ class SmartService extends SmartComponentApiClient {
3733
3741
  this._ngOnDestroy();
3734
3742
  }
3735
3743
  }
3736
- SmartService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SmartService, deps: [{ token: SmartAuthenticationService }, { token: SmartViewContextService }, { token: "pageName" }], target: i0.ɵɵFactoryTarget.Injectable });
3744
+ SmartService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SmartService, deps: [{ token: SmartAuthService }, { token: SmartViewContextService }, { token: "pageName" }], target: i0.ɵɵFactoryTarget.Injectable });
3737
3745
  SmartService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SmartService, providedIn: "root" });
3738
3746
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SmartService, decorators: [{
3739
3747
  type: Injectable,
@@ -3742,7 +3750,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
3742
3750
  }]
3743
3751
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
3744
3752
  type: Inject,
3745
- args: [SmartAuthenticationService]
3753
+ args: [SmartAuthService]
3746
3754
  }] }, { type: SmartViewContextService }, { type: undefined, decorators: [{
3747
3755
  type: Inject,
3748
3756
  args: ["pageName"]
@@ -3756,5 +3764,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
3756
3764
  * Generated bundle index. Do not edit.
3757
3765
  */
3758
3766
 
3759
- export { APIS, ApiModule, BASE_PATH, COLLECTION_FORMATS, CloseResult, Configuration, MessageOptionType, MessageType, SessionAPIS, SessionErrorBehaviour, SessionService, SmartAuthenticationService, SmartComponent, SmartComponentApiClient, SmartDevToolDatePipe, SmartDevToolFloatingButtonComponent, SmartDevToolService, SmartLinkChannelVariableInPath, SmartLinkUuidVariableInPath, SmartNgClientModule, SmartNgClientService, SmartService, SmartSessionModule, SmartSessionService, SmartSessionTimerComponent, SmartSessionTimerService, SmartSubject, SmartViewContextModule, SmartViewContextService, SmartViewRedirect, UiActionButtonIconPos, UiActionButtonType, UiActionConfirmDialogComponent, UiActionConfirmDialogService, UiActionDescriptorService, UiActionDialogType, UiActionFeedbackType, UiActionInputDialogComponent, UiActionInputDialogService, UiActionInputType, UiActionService, UiActionToolbarComponent, ViewService, ViewState, ViewType };
3767
+ export { APIS, ApiModule, BASE_PATH, COLLECTION_FORMATS, CloseResult, Configuration, MessageOptionType, MessageType, SessionAPIS, SessionErrorBehaviour, SessionService, SmartAuthService, SmartComponent, SmartComponentApiClient, SmartDevToolDatePipe, SmartDevToolFloatingButtonComponent, SmartDevToolService, SmartLinkChannelVariableInPath, SmartLinkUuidVariableInPath, SmartNgClientModule, SmartNgClientService, SmartService, SmartSessionModule, SmartSessionService, SmartSessionTimerComponent, SmartSessionTimerService, SmartSubject, SmartViewContextModule, SmartViewContextService, SmartViewRedirect, UiActionButtonIconPos, UiActionButtonType, UiActionConfirmDialogComponent, UiActionConfirmDialogService, UiActionDescriptorService, UiActionDialogType, UiActionFeedbackType, UiActionInputDialogComponent, UiActionInputDialogService, UiActionInputType, UiActionService, UiActionToolbarComponent, ViewService, ViewState, ViewType };
3760
3768
  //# sourceMappingURL=smartbit4all-ng-client.mjs.map