@fluxhub/fluxhub-lib 1.0.233 → 1.0.234
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 +32 -0
- 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 +31 -2
- package/docs/js/search/search_index.js +2 -2
- package/esm2015/lib/controls/image_preview.js +33 -1
- package/esm5/lib/controls/image_preview.js +33 -1
- package/fesm2015/fluxhub-fluxhub-lib.js +32 -0
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +32 -0
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/image_preview.d.ts +25 -1
- package/package.json +1 -1
|
@@ -16332,6 +16332,38 @@ var ImageViewerComponent = /** @class */ (function () {
|
|
|
16332
16332
|
var image_preview = /** @class */ (function () {
|
|
16333
16333
|
function image_preview() {
|
|
16334
16334
|
this._preview = true;
|
|
16335
|
+
this.config = {
|
|
16336
|
+
btnClass: 'default',
|
|
16337
|
+
// The CSS class(es) that will apply to the buttons
|
|
16338
|
+
zoomFactor: 0.1,
|
|
16339
|
+
// The amount that the scale will be increased by
|
|
16340
|
+
containerBackgroundColor: '#ccc',
|
|
16341
|
+
// The color to use for the background. This can provided in hex, or rgb(a).
|
|
16342
|
+
wheelZoom: true,
|
|
16343
|
+
// If true, the mouse wheel can be used to zoom in
|
|
16344
|
+
allowFullscreen: false,
|
|
16345
|
+
// If true, the fullscreen button will be shown, allowing the user to entr fullscreen mode
|
|
16346
|
+
allowKeyboardNavigation: true,
|
|
16347
|
+
// If true, the left / right arrow keys can be used for navigation
|
|
16348
|
+
btnIcons: {
|
|
16349
|
+
// The icon classes that will apply to the buttons. By default, font-awesome is used.
|
|
16350
|
+
zoomIn: 'fa fa-plus',
|
|
16351
|
+
zoomOut: 'fa fa-minus',
|
|
16352
|
+
rotateClockwise: 'fa fa-repeat',
|
|
16353
|
+
rotateCounterClockwise: 'fa fa-undo',
|
|
16354
|
+
next: 'fa fa-arrow-right',
|
|
16355
|
+
prev: 'fa fa-arrow-left',
|
|
16356
|
+
fullscreen: 'fa fa-arrows-alt',
|
|
16357
|
+
},
|
|
16358
|
+
btnShow: {
|
|
16359
|
+
zoomIn: false,
|
|
16360
|
+
zoomOut: false,
|
|
16361
|
+
rotateClockwise: false,
|
|
16362
|
+
rotateCounterClockwise: false,
|
|
16363
|
+
next: false,
|
|
16364
|
+
prev: false
|
|
16365
|
+
}
|
|
16366
|
+
};
|
|
16335
16367
|
this.u = null;
|
|
16336
16368
|
this.already_open = false;
|
|
16337
16369
|
this.config_photo = {
|