@fluxhub/fluxhub-lib 1.0.252 → 1.0.254

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.
@@ -14165,7 +14165,6 @@
14165
14165
  this._preview_c = false;
14166
14166
  this.m_preview = false;
14167
14167
  this.m_init = false;
14168
- this.th_image = "";
14169
14168
  this.config = {
14170
14169
  btnClass: 'default',
14171
14170
  // The CSS class(es) that will apply to the buttons
@@ -14407,21 +14406,15 @@
14407
14406
  * @return {?}
14408
14407
  */
14409
14408
  function () {
14410
- console.log('INIT ', this._u);
14411
14409
  this._preview_c = false;
14412
14410
  if (this._u != null) {
14413
- console.log('this._u.image_thumbnail ', this._u.image_thumbnail);
14414
14411
  if (this._u.image_thumbnail != null) {
14415
- console.log('this._u.image_thumbnail.length ', this._u.image_thumbnail.length);
14412
+ if (this._u.image_original == null)
14413
+ this._u.image_original = this._u.image_thumbnail;
14416
14414
  if (this._u.image_thumbnail.length > 0) {
14417
14415
  if (this._u.image_thumbnail[0] != this._u.image_original[0])
14418
14416
  this._preview_c = true;
14419
- this.th_image = this._u.image_thumbnail[0];
14420
- console.log('this._preview_c ', this._preview_c);
14421
- console.log('this.th_image ', this.th_image);
14422
14417
  this.m_init = true;
14423
- console.log('_preview_c ', this._preview_c);
14424
- console.log('init ', this.m_init);
14425
14418
  this.m_preview = this._preview_c;
14426
14419
  }
14427
14420
  }
@@ -14519,15 +14512,16 @@
14519
14512
  this.triggerConfigBinding();
14520
14513
  };
14521
14514
  /**
14522
- * @param {?} event
14515
+ * @param {?} $event
14523
14516
  * @return {?}
14524
14517
  */
14525
14518
  FHViewerComponent.prototype.nextImage = /**
14526
- * @param {?} event
14519
+ * @param {?} $event
14527
14520
  * @return {?}
14528
14521
  */
14529
- function (event) {
14530
- if (this.canNavigate(event) && this.index < this.src.length - 1) {
14522
+ function ($event) {
14523
+ console.log('this.src.length ', this.src.length);
14524
+ if (this.index < this.src.length - 1) {
14531
14525
  this.loading = true;
14532
14526
  this.index++;
14533
14527
  this.triggerIndexBinding();
@@ -14535,15 +14529,15 @@
14535
14529
  }
14536
14530
  };
14537
14531
  /**
14538
- * @param {?} event
14532
+ * @param {?} $event
14539
14533
  * @return {?}
14540
14534
  */
14541
14535
  FHViewerComponent.prototype.prevImage = /**
14542
- * @param {?} event
14536
+ * @param {?} $event
14543
14537
  * @return {?}
14544
14538
  */
14545
- function (event) {
14546
- if (this.canNavigate(event) && this.index > 0) {
14539
+ function ($event) {
14540
+ if (this.index > 0) {
14547
14541
  this.loading = true;
14548
14542
  this.index--;
14549
14543
  this.triggerIndexBinding();