@fluxhub/fluxhub-lib 1.0.231 → 1.0.233

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.
@@ -16019,7 +16019,8 @@ var ImageViewerComponent = /** @class */ (function () {
16019
16019
  this.customEvent = new EventEmitter();
16020
16020
  this.style = { transform: '', msTransform: '', oTransform: '', webkitTransform: '' };
16021
16021
  this.fullscreen = false;
16022
- this.loading = true;
16022
+ this.loading = false; // true;
16023
+ // true;
16023
16024
  this.scale = 1;
16024
16025
  this.rotation = 0;
16025
16026
  this.translateX = 0;
@@ -16048,7 +16049,7 @@ var ImageViewerComponent = /** @class */ (function () {
16048
16049
  */
16049
16050
  function (event) {
16050
16051
  if (this.canNavigate(event) && this.index < this.src.length - 1) {
16051
- this.loading = true;
16052
+ this.loading = false; //true;
16052
16053
  this.index++;
16053
16054
  this.triggerIndexBinding();
16054
16055
  this.reset();
@@ -16064,7 +16065,7 @@ var ImageViewerComponent = /** @class */ (function () {
16064
16065
  */
16065
16066
  function (event) {
16066
16067
  if (this.canNavigate(event) && this.index > 0) {
16067
- this.loading = true;
16068
+ this.loading = false; // true;
16068
16069
  this.index--;
16069
16070
  this.triggerIndexBinding();
16070
16071
  this.reset();
@@ -16142,7 +16143,7 @@ var ImageViewerComponent = /** @class */ (function () {
16142
16143
  * @return {?}
16143
16144
  */
16144
16145
  function () {
16145
- this.loading = true;
16146
+ this.loading = false; //true;
16146
16147
  };
16147
16148
  /**
16148
16149
  * @param {?} evt
@@ -16407,7 +16408,7 @@ var image_preview = /** @class */ (function () {
16407
16408
  function () {
16408
16409
  this.photo_c.src = [];
16409
16410
  this.photo_c.src.push(this.u.image_original[0]);
16410
- this.photo_c.config = this.config_photo_big;
16411
+ this.config = this.config_photo_big;
16411
16412
  this.photo_c.toggleFullscreen();
16412
16413
  this.already_open = true;
16413
16414
  };
@@ -16434,9 +16435,9 @@ var image_preview = /** @class */ (function () {
16434
16435
  */
16435
16436
  function (preview) {
16436
16437
  if (!preview)
16437
- this.photo_c.config = this.config_photo_big;
16438
+ this.config = this.config_photo_big;
16438
16439
  else
16439
- this.photo_c.config = this.config_photo;
16440
+ this.config = this.config_photo;
16440
16441
  this._preview = preview;
16441
16442
  },
16442
16443
  enumerable: true,
@@ -16449,11 +16450,12 @@ var image_preview = /** @class */ (function () {
16449
16450
  * @return {?}
16450
16451
  */
16451
16452
  function () {
16453
+ this.config = this.config_photo;
16452
16454
  };
16453
16455
  image_preview.decorators = [
16454
16456
  { type: Component, args: [{
16455
16457
  selector: 'image_preview',
16456
- 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",
16458
+ 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 [(ngModel)]=\"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",
16457
16459
  styles: ["\n\n "]
16458
16460
  }] }
16459
16461
  ];