@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.
- package/bundles/fluxhub-fluxhub-lib.umd.js +11 -17
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/docs/components/FHViewerComponent.html +2 -2
- package/docs/components/fhimagepreview.html +0 -32
- package/docs/coverage.html +1 -1
- package/docs/js/search/search_index.js +2 -2
- package/esm2015/lib/controls/fhimagepreview.js +3 -12
- package/esm2015/lib/controls/image-viewer/image-viewer.component.js +8 -7
- package/esm5/lib/controls/fhimagepreview.js +3 -12
- package/esm5/lib/controls/image-viewer/image-viewer.component.js +10 -9
- package/fesm2015/fluxhub-fluxhub-lib.js +9 -15
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +12 -18
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhimagepreview.d.ts +0 -1
- package/lib/controls/image-viewer/image-viewer.component.d.ts +2 -2
- package/package.json +1 -1
|
@@ -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
|
-
|
|
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
|
-
|
|
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.
|
|
14539
|
+
function ($event) {
|
|
14540
|
+
if (this.index > 0) {
|
|
14547
14541
|
this.loading = true;
|
|
14548
14542
|
this.index--;
|
|
14549
14543
|
this.triggerIndexBinding();
|