@fluxhub/fluxhub-lib 1.0.230 → 1.0.231
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 +22 -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 +78 -3
- package/docs/js/search/search_index.js +2 -2
- package/esm2015/lib/controls/image_preview.js +26 -8
- package/esm5/lib/controls/image_preview.js +30 -8
- package/fesm2015/fluxhub-fluxhub-lib.js +20 -5
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +25 -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 +2 -1
- package/package.json +1 -1
|
@@ -13654,7 +13654,7 @@
|
|
|
13654
13654
|
*/
|
|
13655
13655
|
var image_preview = /** @class */ (function () {
|
|
13656
13656
|
function image_preview() {
|
|
13657
|
-
this.
|
|
13657
|
+
this._preview = true;
|
|
13658
13658
|
this.u = null;
|
|
13659
13659
|
this.already_open = false;
|
|
13660
13660
|
this.config_photo = {
|
|
@@ -13745,6 +13745,25 @@
|
|
|
13745
13745
|
*/
|
|
13746
13746
|
function (event) {
|
|
13747
13747
|
};
|
|
13748
|
+
Object.defineProperty(image_preview.prototype, "preview", {
|
|
13749
|
+
get: /**
|
|
13750
|
+
* @return {?}
|
|
13751
|
+
*/ function () {
|
|
13752
|
+
return this._preview;
|
|
13753
|
+
},
|
|
13754
|
+
set: /**
|
|
13755
|
+
* @param {?} preview
|
|
13756
|
+
* @return {?}
|
|
13757
|
+
*/ function (preview) {
|
|
13758
|
+
if (!preview)
|
|
13759
|
+
this.photo_c.config = this.config_photo_big;
|
|
13760
|
+
else
|
|
13761
|
+
this.photo_c.config = this.config_photo;
|
|
13762
|
+
this._preview = preview;
|
|
13763
|
+
},
|
|
13764
|
+
enumerable: true,
|
|
13765
|
+
configurable: true
|
|
13766
|
+
});
|
|
13748
13767
|
/**
|
|
13749
13768
|
* @return {?}
|
|
13750
13769
|
*/
|
|
@@ -13752,8 +13771,6 @@
|
|
|
13752
13771
|
* @return {?}
|
|
13753
13772
|
*/
|
|
13754
13773
|
function () {
|
|
13755
|
-
if (!this.preview)
|
|
13756
|
-
this.photo_c.config = this.config_photo_big;
|
|
13757
13774
|
};
|
|
13758
13775
|
image_preview.decorators = [
|
|
13759
13776
|
{ type: i0.Component, args: [{
|
|
@@ -13763,9 +13780,9 @@
|
|
|
13763
13780
|
}] }
|
|
13764
13781
|
];
|
|
13765
13782
|
image_preview.propDecorators = {
|
|
13766
|
-
preview: [{ type: i0.Input }],
|
|
13767
13783
|
u: [{ type: i0.Input }],
|
|
13768
|
-
photo_c: [{ type: i0.ViewChild, args: ['photo_c',] }]
|
|
13784
|
+
photo_c: [{ type: i0.ViewChild, args: ['photo_c',] }],
|
|
13785
|
+
preview: [{ type: i0.Input }]
|
|
13769
13786
|
};
|
|
13770
13787
|
return image_preview;
|
|
13771
13788
|
}());
|