@fluxhub/fluxhub-lib 1.0.253 → 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 +9 -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 +1 -12
- package/esm2015/lib/controls/image-viewer/image-viewer.component.js +8 -7
- package/esm5/lib/controls/fhimagepreview.js +1 -12
- package/esm5/lib/controls/image-viewer/image-viewer.component.js +10 -9
- package/fesm2015/fluxhub-fluxhub-lib.js +7 -15
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +10 -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,23 +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)
|
|
14416
14413
|
this._u.image_original = this._u.image_thumbnail;
|
|
14417
|
-
console.log('this._u.image_thumbnail.length ', this._u.image_thumbnail.length);
|
|
14418
14414
|
if (this._u.image_thumbnail.length > 0) {
|
|
14419
14415
|
if (this._u.image_thumbnail[0] != this._u.image_original[0])
|
|
14420
14416
|
this._preview_c = true;
|
|
14421
|
-
this.th_image = this._u.image_thumbnail[0];
|
|
14422
|
-
console.log('this._preview_c ', this._preview_c);
|
|
14423
|
-
console.log('this.th_image ', this.th_image);
|
|
14424
14417
|
this.m_init = true;
|
|
14425
|
-
console.log('_preview_c ', this._preview_c);
|
|
14426
|
-
console.log('init ', this.m_init);
|
|
14427
14418
|
this.m_preview = this._preview_c;
|
|
14428
14419
|
}
|
|
14429
14420
|
}
|
|
@@ -14521,15 +14512,16 @@
|
|
|
14521
14512
|
this.triggerConfigBinding();
|
|
14522
14513
|
};
|
|
14523
14514
|
/**
|
|
14524
|
-
* @param {?} event
|
|
14515
|
+
* @param {?} $event
|
|
14525
14516
|
* @return {?}
|
|
14526
14517
|
*/
|
|
14527
14518
|
FHViewerComponent.prototype.nextImage = /**
|
|
14528
|
-
* @param {?} event
|
|
14519
|
+
* @param {?} $event
|
|
14529
14520
|
* @return {?}
|
|
14530
14521
|
*/
|
|
14531
|
-
function (event) {
|
|
14532
|
-
|
|
14522
|
+
function ($event) {
|
|
14523
|
+
console.log('this.src.length ', this.src.length);
|
|
14524
|
+
if (this.index < this.src.length - 1) {
|
|
14533
14525
|
this.loading = true;
|
|
14534
14526
|
this.index++;
|
|
14535
14527
|
this.triggerIndexBinding();
|
|
@@ -14537,15 +14529,15 @@
|
|
|
14537
14529
|
}
|
|
14538
14530
|
};
|
|
14539
14531
|
/**
|
|
14540
|
-
* @param {?} event
|
|
14532
|
+
* @param {?} $event
|
|
14541
14533
|
* @return {?}
|
|
14542
14534
|
*/
|
|
14543
14535
|
FHViewerComponent.prototype.prevImage = /**
|
|
14544
|
-
* @param {?} event
|
|
14536
|
+
* @param {?} $event
|
|
14545
14537
|
* @return {?}
|
|
14546
14538
|
*/
|
|
14547
|
-
function (event) {
|
|
14548
|
-
if (this.
|
|
14539
|
+
function ($event) {
|
|
14540
|
+
if (this.index > 0) {
|
|
14549
14541
|
this.loading = true;
|
|
14550
14542
|
this.index--;
|
|
14551
14543
|
this.triggerIndexBinding();
|