@trudb/tru-common-lib 0.0.430 → 0.0.435

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.
@@ -2996,31 +2996,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImpor
2996
2996
  type: Input
2997
2997
  }] } });
2998
2998
 
2999
- class TruView {
3000
- onActive() {
3001
- return this.active$;
3002
- }
3003
- active(value) {
3004
- this.active$.next(value);
3005
- }
3006
- constructor() {
3007
- this.active$ = new BehaviorSubject(true);
3008
- this.entities = undefined;
3009
- this.entityIndex = 0;
3010
- this.isDirty = false;
3011
- this.isEditing = false;
3012
- this.isInvalid = false;
3013
- this.componentName = undefined;
3014
- this.windowConfig = null;
3015
- }
3016
- }
3017
- TruView.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: TruView, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3018
- TruView.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: TruView });
3019
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: TruView, decorators: [{
3020
- type: Injectable
3021
- }], ctorParameters: function () { return []; } });
3022
- ;
3023
-
3024
2999
  class TruDesktopView {
3025
3000
  constructor(viewContainerRef, componentFactoryResolver, componentLookup) {
3026
3001
  this.viewContainerRef = viewContainerRef;
@@ -3035,10 +3010,10 @@ class TruDesktopView {
3035
3010
  }
3036
3011
  }
3037
3012
  TruDesktopView.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: TruDesktopView, deps: [{ token: i0.ViewContainerRef }, { token: i0.ComponentFactoryResolver }, { token: TruComponentLookup }], target: i0.ɵɵFactoryTarget.Component });
3038
- TruDesktopView.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.1", type: TruDesktopView, selector: "tru-desktop-view", inputs: { view: "view" }, providers: [TruView], ngImport: i0, template: "<div></div>\r\n", styles: [""] });
3013
+ TruDesktopView.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.1", type: TruDesktopView, selector: "tru-desktop-view", inputs: { view: "view" }, ngImport: i0, template: "<div></div>\r\n", styles: [""] });
3039
3014
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImport: i0, type: TruDesktopView, decorators: [{
3040
3015
  type: Component,
3041
- args: [{ selector: 'tru-desktop-view', providers: [TruView], template: "<div></div>\r\n" }]
3016
+ args: [{ selector: 'tru-desktop-view', template: "<div></div>\r\n" }]
3042
3017
  }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.ComponentFactoryResolver }, { type: TruComponentLookup }]; }, propDecorators: { view: [{
3043
3018
  type: Input
3044
3019
  }] } });
@@ -3813,7 +3788,7 @@ class TruDesktop {
3813
3788
  }
3814
3789
  this.clearActive();
3815
3790
  let configuredWindow = this.configureWindow(windowConfigOverlays);
3816
- //configuredWindow.views = this.configureViews(windowConfigOverlays, configuredWindow);
3791
+ configuredWindow.views = this.configureViews(windowConfigOverlays, configuredWindow);
3817
3792
  if (!configuredWindow.isModal) {
3818
3793
  configuredWindow.cascadeWindow = false;
3819
3794
  this.savePosition(configuredWindow);
@@ -3852,9 +3827,9 @@ class TruDesktop {
3852
3827
  this.configureViews = (windowConfigOverlays, configuredWindow) => {
3853
3828
  let configuredViews = [];
3854
3829
  windowConfigOverlays.views.forEach((view) => {
3855
- let viewConfigInstance = Object.assign({}, this.desktop.viewConfig);
3830
+ let configuredView = new ViewConfig();
3856
3831
  //viewConfigInstance.globals = this.options.globals;
3857
- let configuredView = Object.assign(viewConfigInstance, view);
3832
+ //let configuredView = Object.assign(viewConfigInstance, view);
3858
3833
  configuredView.window = configuredWindow;
3859
3834
  configuredViews.push(configuredView);
3860
3835
  });