@fluxhub/fluxhub-lib 1.0.226 → 1.0.227
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 +605 -37
- 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/classes/CustomEvent.html +278 -0
- package/docs/components/ApprovaGridComponent.html +2 -2
- package/docs/components/ComboBoxEditor.html +2 -2
- package/docs/components/CurrencyComponent.html +2 -2
- package/docs/components/DateComponent.html +2 -2
- package/docs/components/DtPick.html +2 -2
- package/docs/components/FHAutoCompleteComponent.html +2 -2
- package/docs/components/FHComboboxComponent.html +2 -2
- package/docs/components/FHConfirmComponent.html +2 -2
- package/docs/components/FHCurrencyFieldComponent.html +2 -2
- package/docs/components/FHDatePickerComponent.html +2 -2
- package/docs/components/FHGridComponent.html +2 -2
- package/docs/components/FHGridJSONComponent.html +2 -2
- package/docs/components/FHGridToolBarComponent.html +2 -2
- package/docs/components/FHListComponent.html +2 -2
- package/docs/components/FHListPick.html +2 -2
- package/docs/components/FHLogPanelComponent.html +2 -2
- package/docs/components/FHMdReader.html +2 -2
- package/docs/components/FHNumericFieldComponent.html +2 -2
- package/docs/components/FHPickListComponent.html +2 -2
- package/docs/components/FHRichText.html +2 -2
- package/docs/components/FHTimePickerComponent.html +2 -2
- package/docs/components/FHUploadComponent.html +2 -2
- package/docs/components/FHUploadPanelComponent.html +2 -2
- package/docs/components/FHUserFieldComponent.html +2 -2
- package/docs/components/FHUserPickerComponent.html +2 -2
- package/docs/components/FHWinComboSelect.html +2 -2
- package/docs/components/FSInput.html +2 -2
- package/docs/components/FSResult.html +2 -2
- package/docs/components/FormBuilderComponent.html +2 -2
- package/docs/components/FormExecuterComponent.html +2 -2
- package/docs/components/ImageViewerComponent.html +1519 -0
- package/docs/components/NumericEditorComponent.html +2 -2
- package/docs/components/QGParam.html +2 -2
- package/docs/components/QGResult.html +2 -2
- package/docs/components/QParam.html +2 -2
- package/docs/components/QResult.html +2 -2
- package/docs/components/TextAreaEditor.html +2 -2
- package/docs/components/WinAskButtonsComponent.html +2 -2
- package/docs/components/WinAskNumberComponent.html +2 -2
- package/docs/components/WinAskTextBigComponent.html +2 -2
- package/docs/components/WinAskTextComponent.html +2 -2
- package/docs/components/WinOutputComponent.html +2 -2
- package/docs/components/WinWait.html +2 -2
- package/docs/components/image_preview.html +662 -0
- package/docs/components/win_assegna.html +2 -2
- package/docs/components/win_commenti.html +2 -2
- package/docs/components/win_commento_sel_notif.html +2 -2
- package/docs/components/win_conferma.html +2 -2
- package/docs/components/win_grid_help.html +2 -2
- package/docs/components/win_info_doc.html +2 -2
- package/docs/components/win_log.html +2 -2
- package/docs/components/win_mappa.html +2 -2
- package/docs/components/win_recupera_doc.html +2 -2
- package/docs/components/win_riassegna_select_level.html +2 -2
- package/docs/components/win_riassegna_select_user.html +2 -2
- package/docs/components/win_salva_annulla.html +2 -2
- package/docs/components/win_select_canale.html +2 -2
- package/docs/components/win_select_level.html +2 -2
- package/docs/components/win_show_image.html +469 -0
- package/docs/components/win_time_slider.html +2 -2
- package/docs/components/win_uploads.html +2 -2
- package/docs/components/wkf_header_bar.html +2 -2
- package/docs/coverage.html +112 -0
- package/docs/dependencies.html +3 -1
- package/docs/directives/ToggleFullscreenDirective.html +297 -0
- package/docs/graph/dependencies.svg +704 -632
- package/docs/interfaces/ImageViewerConfig.html +491 -0
- package/docs/js/menu-wc.js +1 -1
- package/docs/js/search/search_index.js +2 -2
- package/docs/miscellaneous/variables.html +64 -0
- package/docs/modules/FluxhubLibModule/dependencies.svg +704 -632
- package/docs/modules/FluxhubLibModule.html +725 -632
- package/docs/overview.html +708 -636
- package/esm2015/fluxhub-fluxhub-lib.js +17 -15
- package/esm2015/lib/auth_guard.js +17 -17
- package/esm2015/lib/controls/image-viewer/fullscreen.directive.js +47 -0
- package/esm2015/lib/controls/image-viewer/image-viewer-config.model.js +45 -0
- package/esm2015/lib/controls/image-viewer/image-viewer.component.js +326 -0
- package/esm2015/lib/controls/image_preview.js +138 -0
- package/esm2015/lib/controls/win_show_image.js +50 -0
- package/esm2015/lib/fluxhub-lib.module.js +10 -6
- package/esm2015/public_api.js +3 -1
- package/esm5/fluxhub-fluxhub-lib.js +17 -15
- package/esm5/lib/auth_guard.js +17 -17
- package/esm5/lib/controls/image-viewer/fullscreen.directive.js +49 -0
- package/esm5/lib/controls/image-viewer/image-viewer-config.model.js +43 -0
- package/esm5/lib/controls/image-viewer/image-viewer.component.js +405 -0
- package/esm5/lib/controls/image_preview.js +136 -0
- package/esm5/lib/controls/win_show_image.js +42 -0
- package/esm5/lib/fluxhub-lib.module.js +10 -6
- package/esm5/public_api.js +3 -1
- package/fesm2015/fluxhub-fluxhub-lib.js +506 -23
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +570 -24
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.d.ts +16 -13
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/image-viewer/fullscreen.directive.d.ts +7 -0
- package/lib/controls/image-viewer/image-viewer-config.model.d.ts +34 -0
- package/lib/controls/image-viewer/image-viewer.component.d.ts +49 -0
- package/lib/controls/image_preview.d.ts +60 -0
- package/lib/controls/win_show_image.d.ts +9 -0
- package/package.json +1 -2
- package/public_api.d.ts +2 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export interface ImageViewerConfig {
|
|
2
|
+
btnClass?: string;
|
|
3
|
+
zoomFactor?: number;
|
|
4
|
+
containerBackgroundColor?: string;
|
|
5
|
+
wheelZoom?: boolean;
|
|
6
|
+
allowFullscreen?: boolean;
|
|
7
|
+
allowKeyboardNavigation?: boolean;
|
|
8
|
+
btnShow?: {
|
|
9
|
+
zoomIn?: boolean;
|
|
10
|
+
zoomOut?: boolean;
|
|
11
|
+
rotateClockwise?: boolean;
|
|
12
|
+
rotateCounterClockwise?: boolean;
|
|
13
|
+
next?: boolean;
|
|
14
|
+
prev?: boolean;
|
|
15
|
+
};
|
|
16
|
+
btnIcons?: {
|
|
17
|
+
zoomIn?: string;
|
|
18
|
+
zoomOut?: string;
|
|
19
|
+
rotateClockwise?: string;
|
|
20
|
+
rotateCounterClockwise?: string;
|
|
21
|
+
next?: string;
|
|
22
|
+
prev?: string;
|
|
23
|
+
fullscreen?: string;
|
|
24
|
+
};
|
|
25
|
+
customBtns?: Array<{
|
|
26
|
+
name: string;
|
|
27
|
+
icon: string;
|
|
28
|
+
}>;
|
|
29
|
+
}
|
|
30
|
+
export declare class CustomEvent {
|
|
31
|
+
name: string;
|
|
32
|
+
imageIndex: number;
|
|
33
|
+
constructor(name: any, imageIndex: any);
|
|
34
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import { ImageViewerConfig, CustomEvent } from './image-viewer-config.model';
|
|
3
|
+
export declare class ImageViewerComponent implements OnInit {
|
|
4
|
+
moduleConfig: ImageViewerConfig;
|
|
5
|
+
src: string[];
|
|
6
|
+
index: number;
|
|
7
|
+
config: ImageViewerConfig;
|
|
8
|
+
indexChange: EventEmitter<number>;
|
|
9
|
+
configChange: EventEmitter<ImageViewerConfig>;
|
|
10
|
+
customEvent: EventEmitter<CustomEvent>;
|
|
11
|
+
style: {
|
|
12
|
+
transform: string;
|
|
13
|
+
msTransform: string;
|
|
14
|
+
oTransform: string;
|
|
15
|
+
webkitTransform: string;
|
|
16
|
+
};
|
|
17
|
+
fullscreen: boolean;
|
|
18
|
+
loading: boolean;
|
|
19
|
+
private scale;
|
|
20
|
+
private rotation;
|
|
21
|
+
private translateX;
|
|
22
|
+
private translateY;
|
|
23
|
+
private prevX;
|
|
24
|
+
private prevY;
|
|
25
|
+
private hovered;
|
|
26
|
+
constructor(moduleConfig: ImageViewerConfig);
|
|
27
|
+
ngOnInit(): void;
|
|
28
|
+
nextImage(event: any): void;
|
|
29
|
+
prevImage(event: any): void;
|
|
30
|
+
zoomIn(): void;
|
|
31
|
+
zoomOut(): void;
|
|
32
|
+
scrollZoom(evt: any): boolean;
|
|
33
|
+
rotateClockwise(): void;
|
|
34
|
+
rotateCounterClockwise(): void;
|
|
35
|
+
onLoad(): void;
|
|
36
|
+
onLoadStart(): void;
|
|
37
|
+
onDragOver(evt: any): void;
|
|
38
|
+
onDragStart(evt: any): void;
|
|
39
|
+
toggleFullscreen(): void;
|
|
40
|
+
triggerIndexBinding(): void;
|
|
41
|
+
triggerConfigBinding(): void;
|
|
42
|
+
fireCustomEvent(name: any, imageIndex: any): void;
|
|
43
|
+
reset(): void;
|
|
44
|
+
onMouseOver(): void;
|
|
45
|
+
onMouseLeave(): void;
|
|
46
|
+
private canNavigate;
|
|
47
|
+
private updateStyle;
|
|
48
|
+
private mergeConfig;
|
|
49
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { ImageViewerComponent } from "./image-viewer/image-viewer.component";
|
|
3
|
+
export declare class image_preview implements OnInit {
|
|
4
|
+
u: any;
|
|
5
|
+
photo_c: ImageViewerComponent;
|
|
6
|
+
already_open: boolean;
|
|
7
|
+
toggle_up(): void;
|
|
8
|
+
handleEvent(event: CustomEvent): void;
|
|
9
|
+
ngOnInit(): void;
|
|
10
|
+
config_photo: {
|
|
11
|
+
btnClass: string;
|
|
12
|
+
zoomFactor: number;
|
|
13
|
+
containerBackgroundColor: string;
|
|
14
|
+
wheelZoom: boolean;
|
|
15
|
+
allowFullscreen: boolean;
|
|
16
|
+
allowKeyboardNavigation: boolean;
|
|
17
|
+
btnIcons: {
|
|
18
|
+
zoomIn: string;
|
|
19
|
+
zoomOut: string;
|
|
20
|
+
rotateClockwise: string;
|
|
21
|
+
rotateCounterClockwise: string;
|
|
22
|
+
next: string;
|
|
23
|
+
prev: string;
|
|
24
|
+
fullscreen: string;
|
|
25
|
+
};
|
|
26
|
+
btnShow: {
|
|
27
|
+
zoomIn: boolean;
|
|
28
|
+
zoomOut: boolean;
|
|
29
|
+
rotateClockwise: boolean;
|
|
30
|
+
rotateCounterClockwise: boolean;
|
|
31
|
+
next: boolean;
|
|
32
|
+
prev: boolean;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
config_photo_big: {
|
|
36
|
+
btnClass: string;
|
|
37
|
+
zoomFactor: number;
|
|
38
|
+
containerBackgroundColor: string;
|
|
39
|
+
wheelZoom: boolean;
|
|
40
|
+
allowFullscreen: boolean;
|
|
41
|
+
allowKeyboardNavigation: boolean;
|
|
42
|
+
btnIcons: {
|
|
43
|
+
zoomIn: string;
|
|
44
|
+
zoomOut: string;
|
|
45
|
+
rotateClockwise: string;
|
|
46
|
+
rotateCounterClockwise: string;
|
|
47
|
+
next: string;
|
|
48
|
+
prev: string;
|
|
49
|
+
fullscreen: string;
|
|
50
|
+
};
|
|
51
|
+
btnShow: {
|
|
52
|
+
zoomIn: boolean;
|
|
53
|
+
zoomOut: boolean;
|
|
54
|
+
rotateClockwise: boolean;
|
|
55
|
+
rotateCounterClockwise: boolean;
|
|
56
|
+
next: boolean;
|
|
57
|
+
prev: boolean;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { MatDialogRef } from "@angular/material";
|
|
3
|
+
export declare class win_show_image implements OnInit {
|
|
4
|
+
dialogRef: MatDialogRef<win_show_image>;
|
|
5
|
+
imageIndex: number;
|
|
6
|
+
images: any[];
|
|
7
|
+
constructor(dialogRef: MatDialogRef<win_show_image>);
|
|
8
|
+
ngOnInit(): void;
|
|
9
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluxhub/fluxhub-lib",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.227",
|
|
4
4
|
"description": "FluxHub components and workflow library",
|
|
5
5
|
"main": "bundles/fluxhub-fluxhub-lib.umd.js",
|
|
6
6
|
"peerDependencies": {},
|
|
@@ -54,7 +54,6 @@
|
|
|
54
54
|
"ng2-slim-loading-bar": "^4.0.0",
|
|
55
55
|
"ngforage": "^4.0.1",
|
|
56
56
|
"ngx-color-picker": "^7.0.1",
|
|
57
|
-
"ngx-image-viewer": "^1.0.13",
|
|
58
57
|
"ngx-markdown": "^7.0.0",
|
|
59
58
|
"ngx-simple-crypt": "^1.0.1",
|
|
60
59
|
"ngx-toastr": "^9.1.1",
|
package/public_api.d.ts
CHANGED
|
@@ -46,6 +46,8 @@ export { WinAskTextComponent } from './lib/controls/win_ask_text';
|
|
|
46
46
|
export { WinAskTextBigComponent } from './lib/controls/win_ask_textbig';
|
|
47
47
|
export { WinAskButtonsComponent } from './lib/controls/win_ask_buttons';
|
|
48
48
|
export { FHWinComboSelect } from './lib/controls/win_combo_select';
|
|
49
|
+
export { win_show_image } from './lib/controls/win_show_image';
|
|
50
|
+
export { image_preview } from './lib/controls/image_preview';
|
|
49
51
|
export { FHListPick } from './lib/controls/win_list_pick';
|
|
50
52
|
export { win_mappa } from './lib/controls/win_mappa';
|
|
51
53
|
export { WinOutputComponent } from './lib/controls/win_output';
|