@fluxhub/fluxhub-lib 1.0.249 → 1.0.250
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 +5 -5
- 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/image_preview.html +41 -2
- package/docs/coverage.html +1 -1
- package/docs/js/search/search_index.js +2 -2
- package/esm2015/lib/controls/image_preview.js +8 -6
- package/esm5/lib/controls/image_preview.js +8 -6
- package/fesm2015/fluxhub-fluxhub-lib.js +6 -6
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +6 -6
- 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
|
@@ -13618,6 +13618,7 @@
|
|
|
13618
13618
|
function image_preview() {
|
|
13619
13619
|
this._preview = false;
|
|
13620
13620
|
this._preview_c = false;
|
|
13621
|
+
this.m_preview = false;
|
|
13621
13622
|
this.config = {
|
|
13622
13623
|
btnClass: 'default',
|
|
13623
13624
|
// The CSS class(es) that will apply to the buttons
|
|
@@ -13695,7 +13696,7 @@
|
|
|
13695
13696
|
console.log('togglwe up');
|
|
13696
13697
|
this.photo_c.src = [];
|
|
13697
13698
|
this.photo_c.src.push(this.u.image_original[0]);
|
|
13698
|
-
this.
|
|
13699
|
+
this.m_preview = false;
|
|
13699
13700
|
this.config = this.config_photo_big;
|
|
13700
13701
|
//this.photo_c.toggleFullscreen()
|
|
13701
13702
|
this.already_open = true;
|
|
@@ -13712,7 +13713,7 @@
|
|
|
13712
13713
|
console.log('preview ', this.photo_c);
|
|
13713
13714
|
if (this.u != null)
|
|
13714
13715
|
if (this.u.image_thumbnail != null)
|
|
13715
|
-
if (this.u.image_thumbnail.length > 0 && this.
|
|
13716
|
+
if (this.u.image_thumbnail.length > 0 && this.m_preview) {
|
|
13716
13717
|
this.toggle_up();
|
|
13717
13718
|
}
|
|
13718
13719
|
};
|
|
@@ -13768,13 +13769,12 @@
|
|
|
13768
13769
|
console.log('this._preview_c ', this._preview_c);
|
|
13769
13770
|
}
|
|
13770
13771
|
console.log('this.photo_c ', this.photo_c);
|
|
13771
|
-
|
|
13772
|
-
this.photo_c.preview = this._preview_c;
|
|
13772
|
+
this.m_preview = this._preview_c;
|
|
13773
13773
|
};
|
|
13774
13774
|
image_preview.decorators = [
|
|
13775
13775
|
{ type: i0.Component, args: [{
|
|
13776
13776
|
selector: 'image_preview',
|
|
13777
|
-
template: "\n \n<fh-image-viewer (init)=\"init()\" [
|
|
13777
|
+
template: "\n \n<fh-image-viewer (init)=\"init()\" [preview]=\"preview\" (fullScreenEvent)=\"fullScreenEvent()\" [config]=\"config_photo_big\" *ngIf=\"u?.image_thumbnail?.length>0\" #photo_c [src]=\"u.image_thumbnail\" index=\"0\"></fh-image-viewer>\n \n\n",
|
|
13778
13778
|
styles: ["\n\n "]
|
|
13779
13779
|
}] }
|
|
13780
13780
|
];
|