@fluxhub/fluxhub-lib 19.0.55 → 19.0.56
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.
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ElementRef, EventEmitter } from '@angular/core';
|
|
2
2
|
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
|
3
3
|
import { TranslateService } from '@ngx-translate/core';
|
|
4
|
-
import { FileItem, FileUploader } from 'ng2-file-upload';
|
|
5
4
|
import { ToastrService } from 'ngx-toastr';
|
|
5
|
+
import { HttpClient } from '@angular/common/http';
|
|
6
6
|
import { AppService } from '../services/app.service';
|
|
7
7
|
import { QueryService } from '../services/doquery.service';
|
|
8
8
|
import { UtilityService } from '../services/utility.service';
|
|
9
9
|
import { FHComboboxComponent } from './fh-combobox';
|
|
10
10
|
import { FHWinWaitComponent } from './fh-win-wait';
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
12
|
-
export declare class FHUploadComponent
|
|
13
|
-
private _dataService;
|
|
14
|
-
private toastr;
|
|
15
|
-
private dialog;
|
|
16
|
-
private app_s;
|
|
17
|
-
private uti;
|
|
18
|
-
private _trs;
|
|
12
|
+
export declare class FHUploadComponent {
|
|
13
|
+
private readonly _dataService;
|
|
14
|
+
private readonly toastr;
|
|
15
|
+
private readonly dialog;
|
|
16
|
+
private readonly app_s;
|
|
17
|
+
private readonly uti;
|
|
18
|
+
private readonly _trs;
|
|
19
|
+
private readonly http;
|
|
19
20
|
lascia_il_file: string;
|
|
20
21
|
trascina_il_file: string;
|
|
21
22
|
show_download_button: boolean;
|
|
@@ -41,11 +42,15 @@ export declare class FHUploadComponent implements AfterViewInit {
|
|
|
41
42
|
select_file?: ElementRef | null;
|
|
42
43
|
cmb_tipo?: FHComboboxComponent | null;
|
|
43
44
|
id_component: string;
|
|
44
|
-
call_up(): void;
|
|
45
45
|
hasBaseDropZoneOver: boolean;
|
|
46
46
|
hasAnotherDropZoneOver: boolean;
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
call_up(): void;
|
|
48
|
+
onDragOver(event: DragEvent): void;
|
|
49
|
+
onDragLeave(event: DragEvent): void;
|
|
50
|
+
onDrop(event: DragEvent): void;
|
|
51
|
+
onFileSelected(event: Event): void;
|
|
52
|
+
handleFiles(files: FileList): void;
|
|
53
|
+
uploadFile(file: File): void;
|
|
49
54
|
multi_list: boolean;
|
|
50
55
|
allow_delete: boolean;
|
|
51
56
|
loading: boolean;
|
|
@@ -62,14 +67,12 @@ export declare class FHUploadComponent implements AfterViewInit {
|
|
|
62
67
|
dialogRef: MatDialogRef<FHWinWaitComponent, any> | null;
|
|
63
68
|
del_doc(): void;
|
|
64
69
|
load_types(): void;
|
|
65
|
-
ngAfterViewInit(): void;
|
|
66
70
|
last_result: any;
|
|
67
|
-
|
|
68
|
-
constructor(_dataService: QueryService, toastr: ToastrService, dialog: MatDialog, app_s: AppService, uti: UtilityService, _trs: TranslateService);
|
|
71
|
+
constructor(_dataService: QueryService, toastr: ToastrService, dialog: MatDialog, app_s: AppService, uti: UtilityService, _trs: TranslateService, http: HttpClient);
|
|
69
72
|
getUrl(): string;
|
|
70
73
|
download_all(): void;
|
|
71
74
|
direct_type: boolean;
|
|
72
|
-
|
|
75
|
+
ngAfterViewInit(): void;
|
|
73
76
|
id: null;
|
|
74
77
|
ver: number;
|
|
75
78
|
init(p_app: string, p_k: string, p_label: string, p_tipo?: string, programma_da_eseguire?: string, allow_delete?: boolean, all_g?: boolean, show_upload?: boolean, current_v?: number, direct_type?: boolean): void;
|