simpo-component-library 1.6.35 → 1.6.36

Sign up to get free protection for your applications and to get access to all the features.
@@ -8,7 +8,10 @@ export class SimpoStickyDirective {
8
8
  if (this.simpoSticky) {
9
9
  this.el.nativeElement.style.setProperty("position", "fixed");
10
10
  // this.el.nativeElement.style.setProperty("top", "0px");
11
- this.el.nativeElement.style.setProperty("z-index", "10000002");
11
+ if (localStorage.getItem('REQUEST_FROM') == 'USER')
12
+ this.el.nativeElement.style.setProperty("z-index", "10000002");
13
+ else
14
+ this.el.nativeElement.style.setProperty("z-index", "10000");
12
15
  }
13
16
  else {
14
17
  this.el.nativeElement.style.setProperty("position", "relative");
@@ -30,4 +33,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.4", ngImpor
30
33
  type: Input,
31
34
  args: ['simpoSticky']
32
35
  }] } });
33
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RpY2t5LWRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3NpbXBvLXVpL3NyYy9saWIvZGlyZWN0aXZlL3N0aWNreS1kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBYyxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBTTdELE1BQU0sT0FBTyxvQkFBb0I7SUFHL0IsWUFBb0IsRUFBYztRQUFkLE9BQUUsR0FBRixFQUFFLENBQVk7SUFBRyxDQUFDO0lBRXRDLFdBQVc7UUFDVCxJQUFJLElBQUksQ0FBQyxXQUFXLEVBQUUsQ0FBQztZQUNuQixJQUFJLENBQUMsRUFBRSxDQUFDLGFBQWEsQ0FBQyxLQUFLLENBQUMsV0FBVyxDQUFDLFVBQVUsRUFBRSxPQUFPLENBQUMsQ0FBQztZQUM3RCx5REFBeUQ7WUFDekQsSUFBS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RpY2t5PzogYm9vbGVhbjtcclxuXHJcbiAgY29uc3RydWN0b3IocHJpdmF0ZSBlbDogRWxlbWVudFJlZikge31cclxuXHJcbiAgbmdPbkNoYW5nZXMoKXtcclxuICAgIGlmICh0aGlzLnNpbXBvU3RpY2t5KSB7XHJcbiAgICAgICAgdGhpcy5lbC5uYXRpdmVFbGVtZW50LnN0eWxlLnNldFByb3BlcnR5KFwicG9zaXRpb25cIiwgXCJmaXhlZFwiKTtcclxuICAgICAgICAvLyB0aGlzLmVsLm5hdGl2ZUVsZW1lbnQuc3R5bGUuc2V0UHJvcGVydHkoXCJ0b3BcIiwgXCIwcHhcIik7XHJcbiAgICAgICAgaWYobG9jYWxTdG9yYWdlLmdldEl0ZW0oJ1JFUVVFU1RfRlJPTScpID09ICdVU0VSJylcclxuICAgICAgICAgIHRoaXMuZWwubmF0aXZlRWxlbWVudC5zdHlsZS5zZXRQcm9wZXJ0eShcInotaW5kZXhcIiwgXCIxMDAwMDAwMlwiKVxyXG4gICAgICAgIGVsc2VcclxuICAgICAgICB0aGlzLmVsLm5hdGl2ZUVsZW1lbnQuc3R5bGUuc2V0UHJvcGVydHkoXCJ6LWluZGV4XCIsIFwiMTAwMDBcIilcclxuICAgIH0gZWxzZSB7XHJcbiAgICAgICAgdGhpcy5lbC5uYXRpdmVFbGVtZW50LnN0eWxlLnNldFByb3BlcnR5KFwicG9zaXRpb25cIiwgXCJyZWxhdGl2ZVwiKTtcclxuICAgICAgICAvLyB0aGlzLmVsLm5hdGl2ZUVsZW1lbnQuc3R5bGUuc2V0UHJvcGVydHkoXCJ0b3BcIiwgXCIwcHhcIik7XHJcbiAgICB9XHJcbiAgfVxyXG5cclxuICBuZ09uRGVzdHJveSgpe1xyXG4gIH1cclxufVxyXG4iXX0=
@@ -3076,7 +3076,10 @@ class SimpoStickyDirective {
3076
3076
  if (this.simpoSticky) {
3077
3077
  this.el.nativeElement.style.setProperty("position", "fixed");
3078
3078
  // this.el.nativeElement.style.setProperty("top", "0px");
3079
- this.el.nativeElement.style.setProperty("z-index", "10000002");
3079
+ if (localStorage.getItem('REQUEST_FROM') == 'USER')
3080
+ this.el.nativeElement.style.setProperty("z-index", "10000002");
3081
+ else
3082
+ this.el.nativeElement.style.setProperty("z-index", "10000");
3080
3083
  }
3081
3084
  else {
3082
3085
  this.el.nativeElement.style.setProperty("position", "relative");