@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
|
@@ -12849,6 +12849,7 @@ var OfficeAutomatorService = /** @class */ (function () {
|
|
|
12849
12849
|
/** @type {?} */
|
|
12850
12850
|
var chunkInfo = data.result_data;
|
|
12851
12851
|
if (chunkInfo.length == 1) {
|
|
12852
|
+
console.log('COMPLETE!');
|
|
12852
12853
|
subscriber.next({ message: chunkInfo[0].result_message, result: chunkInfo[0].result });
|
|
12853
12854
|
subscriber.complete();
|
|
12854
12855
|
}
|
|
@@ -16995,15 +16996,16 @@ var FHViewerComponent = /** @class */ (function () {
|
|
|
16995
16996
|
this.triggerConfigBinding();
|
|
16996
16997
|
};
|
|
16997
16998
|
/**
|
|
16998
|
-
* @param {?} event
|
|
16999
|
+
* @param {?} $event
|
|
16999
17000
|
* @return {?}
|
|
17000
17001
|
*/
|
|
17001
17002
|
FHViewerComponent.prototype.nextImage = /**
|
|
17002
|
-
* @param {?} event
|
|
17003
|
+
* @param {?} $event
|
|
17003
17004
|
* @return {?}
|
|
17004
17005
|
*/
|
|
17005
|
-
function (event) {
|
|
17006
|
-
|
|
17006
|
+
function ($event) {
|
|
17007
|
+
console.log('this.src.length ', this.src.length);
|
|
17008
|
+
if (this.index < this.src.length - 1) {
|
|
17007
17009
|
this.loading = true;
|
|
17008
17010
|
this.index++;
|
|
17009
17011
|
this.triggerIndexBinding();
|
|
@@ -17011,15 +17013,15 @@ var FHViewerComponent = /** @class */ (function () {
|
|
|
17011
17013
|
}
|
|
17012
17014
|
};
|
|
17013
17015
|
/**
|
|
17014
|
-
* @param {?} event
|
|
17016
|
+
* @param {?} $event
|
|
17015
17017
|
* @return {?}
|
|
17016
17018
|
*/
|
|
17017
17019
|
FHViewerComponent.prototype.prevImage = /**
|
|
17018
|
-
* @param {?} event
|
|
17020
|
+
* @param {?} $event
|
|
17019
17021
|
* @return {?}
|
|
17020
17022
|
*/
|
|
17021
|
-
function (event) {
|
|
17022
|
-
if (this.
|
|
17023
|
+
function ($event) {
|
|
17024
|
+
if (this.index > 0) {
|
|
17023
17025
|
this.loading = true;
|
|
17024
17026
|
this.index--;
|
|
17025
17027
|
this.triggerIndexBinding();
|
|
@@ -17312,7 +17314,6 @@ var fhimagepreview = /** @class */ (function () {
|
|
|
17312
17314
|
this._preview_c = false;
|
|
17313
17315
|
this.m_preview = false;
|
|
17314
17316
|
this.m_init = false;
|
|
17315
|
-
this.th_image = "";
|
|
17316
17317
|
this.config = {
|
|
17317
17318
|
btnClass: 'default',
|
|
17318
17319
|
// The CSS class(es) that will apply to the buttons
|
|
@@ -17558,23 +17559,15 @@ var fhimagepreview = /** @class */ (function () {
|
|
|
17558
17559
|
* @return {?}
|
|
17559
17560
|
*/
|
|
17560
17561
|
function () {
|
|
17561
|
-
console.log('INIT ', this._u);
|
|
17562
17562
|
this._preview_c = false;
|
|
17563
17563
|
if (this._u != null) {
|
|
17564
|
-
console.log('this._u.image_thumbnail ', this._u.image_thumbnail);
|
|
17565
17564
|
if (this._u.image_thumbnail != null) {
|
|
17566
17565
|
if (this._u.image_original == null)
|
|
17567
17566
|
this._u.image_original = this._u.image_thumbnail;
|
|
17568
|
-
console.log('this._u.image_thumbnail.length ', this._u.image_thumbnail.length);
|
|
17569
17567
|
if (this._u.image_thumbnail.length > 0) {
|
|
17570
17568
|
if (this._u.image_thumbnail[0] != this._u.image_original[0])
|
|
17571
17569
|
this._preview_c = true;
|
|
17572
|
-
this.th_image = this._u.image_thumbnail[0];
|
|
17573
|
-
console.log('this._preview_c ', this._preview_c);
|
|
17574
|
-
console.log('this.th_image ', this.th_image);
|
|
17575
17570
|
this.m_init = true;
|
|
17576
|
-
console.log('_preview_c ', this._preview_c);
|
|
17577
|
-
console.log('init ', this.m_init);
|
|
17578
17571
|
this.m_preview = this._preview_c;
|
|
17579
17572
|
}
|
|
17580
17573
|
}
|