@fluxhub/fluxhub-lib 1.0.230 → 1.0.232

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.
@@ -13654,7 +13654,7 @@
13654
13654
  */
13655
13655
  var image_preview = /** @class */ (function () {
13656
13656
  function image_preview() {
13657
- this.preview = true;
13657
+ this._preview = true;
13658
13658
  this.u = null;
13659
13659
  this.already_open = false;
13660
13660
  this.config_photo = {
@@ -13745,6 +13745,25 @@
13745
13745
  */
13746
13746
  function (event) {
13747
13747
  };
13748
+ Object.defineProperty(image_preview.prototype, "preview", {
13749
+ get: /**
13750
+ * @return {?}
13751
+ */ function () {
13752
+ return this._preview;
13753
+ },
13754
+ set: /**
13755
+ * @param {?} preview
13756
+ * @return {?}
13757
+ */ function (preview) {
13758
+ if (!preview)
13759
+ this.config = this.config_photo_big;
13760
+ else
13761
+ this.config = this.config_photo;
13762
+ this._preview = preview;
13763
+ },
13764
+ enumerable: true,
13765
+ configurable: true
13766
+ });
13748
13767
  /**
13749
13768
  * @return {?}
13750
13769
  */
@@ -13752,20 +13771,19 @@
13752
13771
  * @return {?}
13753
13772
  */
13754
13773
  function () {
13755
- if (!this.preview)
13756
- this.photo_c.config = this.config_photo_big;
13774
+ this.config = this.config_photo;
13757
13775
  };
13758
13776
  image_preview.decorators = [
13759
13777
  { type: i0.Component, args: [{
13760
13778
  selector: 'image_preview',
13761
- template: "\n <div fxLayout=\"row\" fxLayoutAlign=\"end center\" [hidden]=\"already_open\"> \n \n <button type=\"button\" class=\"default\" (click)=\"toggle_up()\" *ngIf=\"u?.image_thumbnail?.length>0 && preview\">\n <span class=\"fa fa-arrows-alt\"></span>\n </button>\n\n </div>\n\n <div style=\"max-width:460px\"><ngx-image-viewer [config]=\"config_photo\" *ngIf=\"u?.image_thumbnail?.length>0\" #photo_c (customEvent)=\"handleEvent($event)\" [src]=\"u.image_thumbnail\" index=\"0\"></ngx-image-viewer>\n \n </div>\n",
13779
+ template: "\n <div fxLayout=\"row\" fxLayoutAlign=\"end center\" [hidden]=\"already_open\"> \n \n <button type=\"button\" class=\"default\" (click)=\"toggle_up()\" *ngIf=\"u?.image_thumbnail?.length>0 && preview\">\n <span class=\"fa fa-arrows-alt\"></span>\n </button>\n\n </div>\n\n <div style=\"max-width:460px\"><ngx-image-viewer [config]=\"config\" *ngIf=\"u?.image_thumbnail?.length>0\" #photo_c (customEvent)=\"handleEvent($event)\" [src]=\"u.image_thumbnail\" index=\"0\"></ngx-image-viewer>\n \n </div>\n",
13762
13780
  styles: ["\n\n "]
13763
13781
  }] }
13764
13782
  ];
13765
13783
  image_preview.propDecorators = {
13766
- preview: [{ type: i0.Input }],
13767
13784
  u: [{ type: i0.Input }],
13768
- photo_c: [{ type: i0.ViewChild, args: ['photo_c',] }]
13785
+ photo_c: [{ type: i0.ViewChild, args: ['photo_c',] }],
13786
+ preview: [{ type: i0.Input }]
13769
13787
  };
13770
13788
  return image_preview;
13771
13789
  }());
@@ -13821,7 +13839,8 @@
13821
13839
  this.customEvent = new i0.EventEmitter();
13822
13840
  this.style = { transform: '', msTransform: '', oTransform: '', webkitTransform: '' };
13823
13841
  this.fullscreen = false;
13824
- this.loading = true;
13842
+ this.loading = false; // true;
13843
+ // true;
13825
13844
  this.scale = 1;
13826
13845
  this.rotation = 0;
13827
13846
  this.translateX = 0;
@@ -13850,7 +13869,7 @@
13850
13869
  */
13851
13870
  function (event) {
13852
13871
  if (this.canNavigate(event) && this.index < this.src.length - 1) {
13853
- this.loading = true;
13872
+ this.loading = false; //true;
13854
13873
  this.index++;
13855
13874
  this.triggerIndexBinding();
13856
13875
  this.reset();
@@ -13866,7 +13885,7 @@
13866
13885
  */
13867
13886
  function (event) {
13868
13887
  if (this.canNavigate(event) && this.index > 0) {
13869
- this.loading = true;
13888
+ this.loading = false; // true;
13870
13889
  this.index--;
13871
13890
  this.triggerIndexBinding();
13872
13891
  this.reset();
@@ -13944,7 +13963,7 @@
13944
13963
  * @return {?}
13945
13964
  */
13946
13965
  function () {
13947
- this.loading = true;
13966
+ this.loading = false; //true;
13948
13967
  };
13949
13968
  /**
13950
13969
  * @param {?} evt