@fluxhub/fluxhub-lib 1.0.231 → 1.0.233
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 -8
- 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 +8 -5
- package/esm5/lib/controls/image-viewer/image-viewer.component.js +6 -5
- package/esm5/lib/controls/image_preview.js +8 -5
- package/fesm2015/fluxhub-fluxhub-lib.js +10 -8
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +10 -8
- 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
|
@@ -13731,7 +13731,7 @@
|
|
|
13731
13731
|
function () {
|
|
13732
13732
|
this.photo_c.src = [];
|
|
13733
13733
|
this.photo_c.src.push(this.u.image_original[0]);
|
|
13734
|
-
this.
|
|
13734
|
+
this.config = this.config_photo_big;
|
|
13735
13735
|
this.photo_c.toggleFullscreen();
|
|
13736
13736
|
this.already_open = true;
|
|
13737
13737
|
};
|
|
@@ -13756,9 +13756,9 @@
|
|
|
13756
13756
|
* @return {?}
|
|
13757
13757
|
*/ function (preview) {
|
|
13758
13758
|
if (!preview)
|
|
13759
|
-
this.
|
|
13759
|
+
this.config = this.config_photo_big;
|
|
13760
13760
|
else
|
|
13761
|
-
this.
|
|
13761
|
+
this.config = this.config_photo;
|
|
13762
13762
|
this._preview = preview;
|
|
13763
13763
|
},
|
|
13764
13764
|
enumerable: true,
|
|
@@ -13771,11 +13771,12 @@
|
|
|
13771
13771
|
* @return {?}
|
|
13772
13772
|
*/
|
|
13773
13773
|
function () {
|
|
13774
|
+
this.config = this.config_photo;
|
|
13774
13775
|
};
|
|
13775
13776
|
image_preview.decorators = [
|
|
13776
13777
|
{ type: i0.Component, args: [{
|
|
13777
13778
|
selector: 'image_preview',
|
|
13778
|
-
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
|
|
13779
|
+
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 [(ngModel)]=\"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",
|
|
13779
13780
|
styles: ["\n\n "]
|
|
13780
13781
|
}] }
|
|
13781
13782
|
];
|
|
@@ -13838,7 +13839,8 @@
|
|
|
13838
13839
|
this.customEvent = new i0.EventEmitter();
|
|
13839
13840
|
this.style = { transform: '', msTransform: '', oTransform: '', webkitTransform: '' };
|
|
13840
13841
|
this.fullscreen = false;
|
|
13841
|
-
this.loading = true;
|
|
13842
|
+
this.loading = false; // true;
|
|
13843
|
+
// true;
|
|
13842
13844
|
this.scale = 1;
|
|
13843
13845
|
this.rotation = 0;
|
|
13844
13846
|
this.translateX = 0;
|
|
@@ -13867,7 +13869,7 @@
|
|
|
13867
13869
|
*/
|
|
13868
13870
|
function (event) {
|
|
13869
13871
|
if (this.canNavigate(event) && this.index < this.src.length - 1) {
|
|
13870
|
-
this.loading = true;
|
|
13872
|
+
this.loading = false; //true;
|
|
13871
13873
|
this.index++;
|
|
13872
13874
|
this.triggerIndexBinding();
|
|
13873
13875
|
this.reset();
|
|
@@ -13883,7 +13885,7 @@
|
|
|
13883
13885
|
*/
|
|
13884
13886
|
function (event) {
|
|
13885
13887
|
if (this.canNavigate(event) && this.index > 0) {
|
|
13886
|
-
this.loading = true;
|
|
13888
|
+
this.loading = false; // true;
|
|
13887
13889
|
this.index--;
|
|
13888
13890
|
this.triggerIndexBinding();
|
|
13889
13891
|
this.reset();
|
|
@@ -13961,7 +13963,7 @@
|
|
|
13961
13963
|
* @return {?}
|
|
13962
13964
|
*/
|
|
13963
13965
|
function () {
|
|
13964
|
-
this.loading = true;
|
|
13966
|
+
this.loading = false; //true;
|
|
13965
13967
|
};
|
|
13966
13968
|
/**
|
|
13967
13969
|
* @param {?} evt
|