@fluxhub/fluxhub-lib 1.0.230 → 1.0.231

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.
@@ -34,7 +34,7 @@ import { MatDialogRef, MatDialog, DateAdapter, MAT_DATE_LOCALE, MatAutocompleteM
34
34
  import { __read, __assign, __extends } from 'tslib';
35
35
  import { enabled, request, exit } from 'screenfull';
36
36
  import { ActivatedRoute, Router } from '@angular/router';
37
- import { Injectable, Directive, Component, Input, ElementRef, Inject, PLATFORM_ID, Output, EventEmitter, ViewChild, forwardRef, Pipe, ViewContainerRef, Optional, HostListener, defineInjectable, inject, NgModule } from '@angular/core';
37
+ import { Injectable, Component, Directive, Input, ElementRef, Inject, PLATFORM_ID, Output, EventEmitter, ViewChild, forwardRef, Pipe, ViewContainerRef, Optional, HostListener, defineInjectable, inject, NgModule } from '@angular/core';
38
38
  import { Http } from '@angular/http';
39
39
  import { SlimLoadingBarService } from 'ng2-slim-loading-bar';
40
40
  import { ToastrService } from 'ngx-toastr';
@@ -16330,7 +16330,7 @@ var ImageViewerComponent = /** @class */ (function () {
16330
16330
  */
16331
16331
  var image_preview = /** @class */ (function () {
16332
16332
  function image_preview() {
16333
- this.preview = true;
16333
+ this._preview = true;
16334
16334
  this.u = null;
16335
16335
  this.already_open = false;
16336
16336
  this.config_photo = {
@@ -16421,6 +16421,27 @@ var image_preview = /** @class */ (function () {
16421
16421
  */
16422
16422
  function (event) {
16423
16423
  };
16424
+ Object.defineProperty(image_preview.prototype, "preview", {
16425
+ get: /**
16426
+ * @return {?}
16427
+ */
16428
+ function () {
16429
+ return this._preview;
16430
+ },
16431
+ set: /**
16432
+ * @param {?} preview
16433
+ * @return {?}
16434
+ */
16435
+ function (preview) {
16436
+ if (!preview)
16437
+ this.photo_c.config = this.config_photo_big;
16438
+ else
16439
+ this.photo_c.config = this.config_photo;
16440
+ this._preview = preview;
16441
+ },
16442
+ enumerable: true,
16443
+ configurable: true
16444
+ });
16424
16445
  /**
16425
16446
  * @return {?}
16426
16447
  */
@@ -16428,8 +16449,6 @@ var image_preview = /** @class */ (function () {
16428
16449
  * @return {?}
16429
16450
  */
16430
16451
  function () {
16431
- if (!this.preview)
16432
- this.photo_c.config = this.config_photo_big;
16433
16452
  };
16434
16453
  image_preview.decorators = [
16435
16454
  { type: Component, args: [{
@@ -16439,9 +16458,9 @@ var image_preview = /** @class */ (function () {
16439
16458
  }] }
16440
16459
  ];
16441
16460
  image_preview.propDecorators = {
16442
- preview: [{ type: Input }],
16443
16461
  u: [{ type: Input }],
16444
- photo_c: [{ type: ViewChild, args: ['photo_c',] }]
16462
+ photo_c: [{ type: ViewChild, args: ['photo_c',] }],
16463
+ preview: [{ type: Input }]
16445
16464
  };
16446
16465
  return image_preview;
16447
16466
  }());