@fluxhub/fluxhub-lib 1.0.253 → 1.0.255
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 +10 -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/esm2015/lib/services/office_automator.service.js +2 -1
- package/esm5/lib/controls/fhimagepreview.js +1 -12
- package/esm5/lib/controls/image-viewer/image-viewer.component.js +10 -9
- package/esm5/lib/services/office_automator.service.js +2 -1
- package/fesm2015/fluxhub-fluxhub-lib.js +8 -15
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +10 -17
- 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
|
@@ -11980,6 +11980,7 @@
|
|
|
11980
11980
|
/** @type {?} */
|
|
11981
11981
|
var chunkInfo = data.result_data;
|
|
11982
11982
|
if (chunkInfo.length == 1) {
|
|
11983
|
+
console.log('COMPLETE!');
|
|
11983
11984
|
subscriber.next({ message: chunkInfo[0].result_message, result: chunkInfo[0].result });
|
|
11984
11985
|
subscriber.complete();
|
|
11985
11986
|
}
|
|
@@ -14165,7 +14166,6 @@
|
|
|
14165
14166
|
this._preview_c = false;
|
|
14166
14167
|
this.m_preview = false;
|
|
14167
14168
|
this.m_init = false;
|
|
14168
|
-
this.th_image = "";
|
|
14169
14169
|
this.config = {
|
|
14170
14170
|
btnClass: 'default',
|
|
14171
14171
|
// The CSS class(es) that will apply to the buttons
|
|
@@ -14407,23 +14407,15 @@
|
|
|
14407
14407
|
* @return {?}
|
|
14408
14408
|
*/
|
|
14409
14409
|
function () {
|
|
14410
|
-
console.log('INIT ', this._u);
|
|
14411
14410
|
this._preview_c = false;
|
|
14412
14411
|
if (this._u != null) {
|
|
14413
|
-
console.log('this._u.image_thumbnail ', this._u.image_thumbnail);
|
|
14414
14412
|
if (this._u.image_thumbnail != null) {
|
|
14415
14413
|
if (this._u.image_original == null)
|
|
14416
14414
|
this._u.image_original = this._u.image_thumbnail;
|
|
14417
|
-
console.log('this._u.image_thumbnail.length ', this._u.image_thumbnail.length);
|
|
14418
14415
|
if (this._u.image_thumbnail.length > 0) {
|
|
14419
14416
|
if (this._u.image_thumbnail[0] != this._u.image_original[0])
|
|
14420
14417
|
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
14418
|
this.m_init = true;
|
|
14425
|
-
console.log('_preview_c ', this._preview_c);
|
|
14426
|
-
console.log('init ', this.m_init);
|
|
14427
14419
|
this.m_preview = this._preview_c;
|
|
14428
14420
|
}
|
|
14429
14421
|
}
|
|
@@ -14521,15 +14513,16 @@
|
|
|
14521
14513
|
this.triggerConfigBinding();
|
|
14522
14514
|
};
|
|
14523
14515
|
/**
|
|
14524
|
-
* @param {?} event
|
|
14516
|
+
* @param {?} $event
|
|
14525
14517
|
* @return {?}
|
|
14526
14518
|
*/
|
|
14527
14519
|
FHViewerComponent.prototype.nextImage = /**
|
|
14528
|
-
* @param {?} event
|
|
14520
|
+
* @param {?} $event
|
|
14529
14521
|
* @return {?}
|
|
14530
14522
|
*/
|
|
14531
|
-
function (event) {
|
|
14532
|
-
|
|
14523
|
+
function ($event) {
|
|
14524
|
+
console.log('this.src.length ', this.src.length);
|
|
14525
|
+
if (this.index < this.src.length - 1) {
|
|
14533
14526
|
this.loading = true;
|
|
14534
14527
|
this.index++;
|
|
14535
14528
|
this.triggerIndexBinding();
|
|
@@ -14537,15 +14530,15 @@
|
|
|
14537
14530
|
}
|
|
14538
14531
|
};
|
|
14539
14532
|
/**
|
|
14540
|
-
* @param {?} event
|
|
14533
|
+
* @param {?} $event
|
|
14541
14534
|
* @return {?}
|
|
14542
14535
|
*/
|
|
14543
14536
|
FHViewerComponent.prototype.prevImage = /**
|
|
14544
|
-
* @param {?} event
|
|
14537
|
+
* @param {?} $event
|
|
14545
14538
|
* @return {?}
|
|
14546
14539
|
*/
|
|
14547
|
-
function (event) {
|
|
14548
|
-
if (this.
|
|
14540
|
+
function ($event) {
|
|
14541
|
+
if (this.index > 0) {
|
|
14549
14542
|
this.loading = true;
|
|
14550
14543
|
this.index--;
|
|
14551
14544
|
this.triggerIndexBinding();
|