@fluxhub/fluxhub-lib 1.0.231 → 1.0.232
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 -7
- 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/ImageViewerComponent.html +1 -1
- package/docs/components/image_preview.html +34 -2
- package/docs/coverage.html +1 -1
- package/docs/js/search/search_index.js +2 -2
- package/esm2015/lib/controls/image-viewer/image-viewer.component.js +6 -5
- package/esm2015/lib/controls/image_preview.js +7 -4
- package/esm5/lib/controls/image-viewer/image-viewer.component.js +6 -5
- package/esm5/lib/controls/image_preview.js +7 -4
- package/fesm2015/fluxhub-fluxhub-lib.js +9 -7
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +9 -7
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/image_preview.d.ts +1 -0
- package/package.json +1 -1
|
@@ -16019,7 +16019,8 @@ var ImageViewerComponent = /** @class */ (function () {
|
|
|
16019
16019
|
this.customEvent = new EventEmitter();
|
|
16020
16020
|
this.style = { transform: '', msTransform: '', oTransform: '', webkitTransform: '' };
|
|
16021
16021
|
this.fullscreen = false;
|
|
16022
|
-
this.loading = true;
|
|
16022
|
+
this.loading = false; // true;
|
|
16023
|
+
// true;
|
|
16023
16024
|
this.scale = 1;
|
|
16024
16025
|
this.rotation = 0;
|
|
16025
16026
|
this.translateX = 0;
|
|
@@ -16048,7 +16049,7 @@ var ImageViewerComponent = /** @class */ (function () {
|
|
|
16048
16049
|
*/
|
|
16049
16050
|
function (event) {
|
|
16050
16051
|
if (this.canNavigate(event) && this.index < this.src.length - 1) {
|
|
16051
|
-
this.loading = true;
|
|
16052
|
+
this.loading = false; //true;
|
|
16052
16053
|
this.index++;
|
|
16053
16054
|
this.triggerIndexBinding();
|
|
16054
16055
|
this.reset();
|
|
@@ -16064,7 +16065,7 @@ var ImageViewerComponent = /** @class */ (function () {
|
|
|
16064
16065
|
*/
|
|
16065
16066
|
function (event) {
|
|
16066
16067
|
if (this.canNavigate(event) && this.index > 0) {
|
|
16067
|
-
this.loading = true;
|
|
16068
|
+
this.loading = false; // true;
|
|
16068
16069
|
this.index--;
|
|
16069
16070
|
this.triggerIndexBinding();
|
|
16070
16071
|
this.reset();
|
|
@@ -16142,7 +16143,7 @@ var ImageViewerComponent = /** @class */ (function () {
|
|
|
16142
16143
|
* @return {?}
|
|
16143
16144
|
*/
|
|
16144
16145
|
function () {
|
|
16145
|
-
this.loading = true;
|
|
16146
|
+
this.loading = false; //true;
|
|
16146
16147
|
};
|
|
16147
16148
|
/**
|
|
16148
16149
|
* @param {?} evt
|
|
@@ -16434,9 +16435,9 @@ var image_preview = /** @class */ (function () {
|
|
|
16434
16435
|
*/
|
|
16435
16436
|
function (preview) {
|
|
16436
16437
|
if (!preview)
|
|
16437
|
-
this.
|
|
16438
|
+
this.config = this.config_photo_big;
|
|
16438
16439
|
else
|
|
16439
|
-
this.
|
|
16440
|
+
this.config = this.config_photo;
|
|
16440
16441
|
this._preview = preview;
|
|
16441
16442
|
},
|
|
16442
16443
|
enumerable: true,
|
|
@@ -16449,11 +16450,12 @@ var image_preview = /** @class */ (function () {
|
|
|
16449
16450
|
* @return {?}
|
|
16450
16451
|
*/
|
|
16451
16452
|
function () {
|
|
16453
|
+
this.config = this.config_photo;
|
|
16452
16454
|
};
|
|
16453
16455
|
image_preview.decorators = [
|
|
16454
16456
|
{ type: Component, args: [{
|
|
16455
16457
|
selector: 'image_preview',
|
|
16456
|
-
template: "\n <div fxLayout=\"row\" fxLayoutAlign=\"end center\" [hidden]=\"already_open\"> \n \n <button type=\"button\" class=\"default\" (click)=\"toggle_up()\" *ngIf=\"u?.image_thumbnail?.length>0 && preview\">\n <span class=\"fa fa-arrows-alt\"></span>\n </button>\n\n </div>\n\n <div style=\"max-width:460px\"><ngx-image-viewer [config]=\"
|
|
16458
|
+
template: "\n <div fxLayout=\"row\" fxLayoutAlign=\"end center\" [hidden]=\"already_open\"> \n \n <button type=\"button\" class=\"default\" (click)=\"toggle_up()\" *ngIf=\"u?.image_thumbnail?.length>0 && preview\">\n <span class=\"fa fa-arrows-alt\"></span>\n </button>\n\n </div>\n\n <div style=\"max-width:460px\"><ngx-image-viewer [config]=\"config\" *ngIf=\"u?.image_thumbnail?.length>0\" #photo_c (customEvent)=\"handleEvent($event)\" [src]=\"u.image_thumbnail\" index=\"0\"></ngx-image-viewer>\n \n </div>\n",
|
|
16457
16459
|
styles: ["\n\n "]
|
|
16458
16460
|
}] }
|
|
16459
16461
|
];
|