@fluxhub/fluxhub-lib 1.0.249 → 1.0.250

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.
@@ -13618,6 +13618,7 @@
13618
13618
  function image_preview() {
13619
13619
  this._preview = false;
13620
13620
  this._preview_c = false;
13621
+ this.m_preview = false;
13621
13622
  this.config = {
13622
13623
  btnClass: 'default',
13623
13624
  // The CSS class(es) that will apply to the buttons
@@ -13695,7 +13696,7 @@
13695
13696
  console.log('togglwe up');
13696
13697
  this.photo_c.src = [];
13697
13698
  this.photo_c.src.push(this.u.image_original[0]);
13698
- this.photo_c.preview = false;
13699
+ this.m_preview = false;
13699
13700
  this.config = this.config_photo_big;
13700
13701
  //this.photo_c.toggleFullscreen()
13701
13702
  this.already_open = true;
@@ -13712,7 +13713,7 @@
13712
13713
  console.log('preview ', this.photo_c);
13713
13714
  if (this.u != null)
13714
13715
  if (this.u.image_thumbnail != null)
13715
- if (this.u.image_thumbnail.length > 0 && this.photo_c.preview) {
13716
+ if (this.u.image_thumbnail.length > 0 && this.m_preview) {
13716
13717
  this.toggle_up();
13717
13718
  }
13718
13719
  };
@@ -13768,13 +13769,12 @@
13768
13769
  console.log('this._preview_c ', this._preview_c);
13769
13770
  }
13770
13771
  console.log('this.photo_c ', this.photo_c);
13771
- if (this.photo_c != null)
13772
- this.photo_c.preview = this._preview_c;
13772
+ this.m_preview = this._preview_c;
13773
13773
  };
13774
13774
  image_preview.decorators = [
13775
13775
  { type: i0.Component, args: [{
13776
13776
  selector: 'image_preview',
13777
- template: "\n \n<fh-image-viewer (init)=\"init()\" [style.height]=\"\" (fullScreenEvent)=\"fullScreenEvent()\" [config]=\"config_photo_big\" *ngIf=\"u?.image_thumbnail?.length>0\" #photo_c [src]=\"u.image_thumbnail\" index=\"0\"></fh-image-viewer>\n \n\n",
13777
+ template: "\n \n<fh-image-viewer (init)=\"init()\" [preview]=\"preview\" (fullScreenEvent)=\"fullScreenEvent()\" [config]=\"config_photo_big\" *ngIf=\"u?.image_thumbnail?.length>0\" #photo_c [src]=\"u.image_thumbnail\" index=\"0\"></fh-image-viewer>\n \n\n",
13778
13778
  styles: ["\n\n "]
13779
13779
  }] }
13780
13780
  ];