@fluxhub/fluxhub-lib 19.0.245 → 21.0.1

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.
Files changed (151) hide show
  1. package/fesm2022/fluxhub-fluxhub-lib.mjs +13073 -16977
  2. package/fesm2022/fluxhub-fluxhub-lib.mjs.map +1 -1
  3. package/package.json +5 -34
  4. package/types/fluxhub-fluxhub-lib.d.ts +3402 -0
  5. package/index.d.ts +0 -5
  6. package/lib/ai-components/fh-ai-assistant/fh-ai-assistant.component.d.ts +0 -48
  7. package/lib/ai-components/fh-ai-chat/fh-ai-chat.component.d.ts +0 -77
  8. package/lib/ai-components/fh-ai.service.d.ts +0 -47
  9. package/lib/ai-components/models/fh-ai.models.d.ts +0 -67
  10. package/lib/auth-guard.d.ts +0 -22
  11. package/lib/controls/app_manager/fh-role-manager.d.ts +0 -19
  12. package/lib/controls/app_manager/fh-table-values-manager.d.ts +0 -19
  13. package/lib/controls/app_manager/win-manage-roles.d.ts +0 -30
  14. package/lib/controls/app_manager/win-manage-values.d.ts +0 -31
  15. package/lib/controls/dialog-base/dialog-base.component.d.ts +0 -130
  16. package/lib/controls/fh-autocomplete.d.ts +0 -82
  17. package/lib/controls/fh-checkbox.d.ts +0 -25
  18. package/lib/controls/fh-color-picker.d.ts +0 -31
  19. package/lib/controls/fh-combobox.d.ts +0 -68
  20. package/lib/controls/fh-currency-formatter.d.ts +0 -14
  21. package/lib/controls/fh-currency-pipe.d.ts +0 -11
  22. package/lib/controls/fh-datepicker.d.ts +0 -50
  23. package/lib/controls/fh-daterange-picker.d.ts +0 -55
  24. package/lib/controls/fh-field-picklist.d.ts +0 -61
  25. package/lib/controls/fh-form-toolbar.d.ts +0 -34
  26. package/lib/controls/fh-grid-column.d.ts +0 -18
  27. package/lib/controls/fh-grid-json.d.ts +0 -145
  28. package/lib/controls/fh-grid-toolbar.d.ts +0 -34
  29. package/lib/controls/fh-grid-win-help.d.ts +0 -16
  30. package/lib/controls/fh-grid.d.ts +0 -284
  31. package/lib/controls/fh-help-button.d.ts +0 -16
  32. package/lib/controls/fh-icon-picker/fa-free-icons.d.ts +0 -16
  33. package/lib/controls/fh-icon-picker/fh-icon-picker.d.ts +0 -138
  34. package/lib/controls/fh-image-preview.d.ts +0 -82
  35. package/lib/controls/fh-list.d.ts +0 -45
  36. package/lib/controls/fh-log-panel.d.ts +0 -39
  37. package/lib/controls/fh-multi-combobox.d.ts +0 -65
  38. package/lib/controls/fh-notes-panel.d.ts +0 -38
  39. package/lib/controls/fh-numeric.d.ts +0 -54
  40. package/lib/controls/fh-pickfield.d.ts +0 -36
  41. package/lib/controls/fh-picklist.d.ts +0 -53
  42. package/lib/controls/fh-replace-linebreak.d.ts +0 -7
  43. package/lib/controls/fh-richtext.d.ts +0 -31
  44. package/lib/controls/fh-text-input.d.ts +0 -34
  45. package/lib/controls/fh-textarea.d.ts +0 -28
  46. package/lib/controls/fh-time-picker.d.ts +0 -67
  47. package/lib/controls/fh-upload-panel-s3.d.ts +0 -62
  48. package/lib/controls/fh-upload-panel.d.ts +0 -89
  49. package/lib/controls/fh-upload-s3.d.ts +0 -72
  50. package/lib/controls/fh-upload.d.ts +0 -86
  51. package/lib/controls/fh-user-field.d.ts +0 -42
  52. package/lib/controls/fh-user-picker.d.ts +0 -39
  53. package/lib/controls/fh-win-app-logs.d.ts +0 -30
  54. package/lib/controls/fh-win-ask-buttons.d.ts +0 -20
  55. package/lib/controls/fh-win-ask-richtext.d.ts +0 -28
  56. package/lib/controls/fh-win-ask-text.d.ts +0 -31
  57. package/lib/controls/fh-win-ask-textbig.d.ts +0 -28
  58. package/lib/controls/fh-win-asknumber.d.ts +0 -27
  59. package/lib/controls/fh-win-auto-complete.d.ts +0 -26
  60. package/lib/controls/fh-win-combo-select.d.ts +0 -25
  61. package/lib/controls/fh-win-confirm.d.ts +0 -32
  62. package/lib/controls/fh-win-error.d.ts +0 -15
  63. package/lib/controls/fh-win-grid-selection.d.ts +0 -40
  64. package/lib/controls/fh-win-info.d.ts +0 -15
  65. package/lib/controls/fh-win-list-pick.d.ts +0 -36
  66. package/lib/controls/fh-win-mappa.d.ts +0 -34
  67. package/lib/controls/fh-win-output.d.ts +0 -32
  68. package/lib/controls/fh-win-select-by-grid.d.ts +0 -58
  69. package/lib/controls/fh-win-show-email-s3.d.ts +0 -27
  70. package/lib/controls/fh-win-show-email.d.ts +0 -26
  71. package/lib/controls/fh-win-show-image.d.ts +0 -16
  72. package/lib/controls/fh-win-show-log-details.d.ts +0 -18
  73. package/lib/controls/fh-win-show-log-info-details.d.ts +0 -23
  74. package/lib/controls/fh-win-show-logs.d.ts +0 -34
  75. package/lib/controls/fh-win-time-slider.d.ts +0 -27
  76. package/lib/controls/fh-win-upload.d.ts +0 -35
  77. package/lib/controls/fh-win-user-info.d.ts +0 -31
  78. package/lib/controls/fh-win-user-picker.d.ts +0 -26
  79. package/lib/controls/fh-win-wait.d.ts +0 -20
  80. package/lib/controls/grid_editors/approve-buttons.d.ts +0 -16
  81. package/lib/controls/grid_editors/checkbox-editor.component.d.ts +0 -14
  82. package/lib/controls/grid_editors/currency.component.d.ts +0 -9
  83. package/lib/controls/grid_editors/fh-combobox-filter.d.ts +0 -48
  84. package/lib/controls/grid_editors/fh-grid.d.ts +0 -227
  85. package/lib/controls/grid_editors/numeric-editor.component.d.ts +0 -23
  86. package/lib/controls/grid_editors/select-editor.component.d.ts +0 -23
  87. package/lib/controls/grid_editors/textarea-editor.component.d.ts +0 -21
  88. package/lib/controls/image-viewer/image-viewer-config.model.d.ts +0 -34
  89. package/lib/controls/image-viewer/image-viewer.component.d.ts +0 -56
  90. package/lib/controls/models/fh-grid-toolbar.models.d.ts +0 -93
  91. package/lib/controls/month-year-picker/month-year-picker.component.d.ts +0 -46
  92. package/lib/controls/translate/fh-win-translate.d.ts +0 -59
  93. package/lib/controls/utils/save-pipe.d.ts +0 -10
  94. package/lib/controls/utils/simple-crypt.d.ts +0 -22
  95. package/lib/controls/year-picker/year-picker.component.d.ts +0 -45
  96. package/lib/form_builder/fh-form-builder.d.ts +0 -44
  97. package/lib/form_builder/fh-form-executer.d.ts +0 -35
  98. package/lib/form_builder/pickers/win-pick-art.d.ts +0 -31
  99. package/lib/form_builder/pickers/win_pick_cliente.d.ts +0 -32
  100. package/lib/home-components/fh-home-docs/fh-home-docs.component.d.ts +0 -52
  101. package/lib/home-components/fh-home-launcher/fh-home-launcher.component.d.ts +0 -136
  102. package/lib/home-components/fh-home-stats/fh-home-stats.component.d.ts +0 -61
  103. package/lib/home-components/fh-home-todo/fh-home-todo.component.d.ts +0 -62
  104. package/lib/mail-archiver/fh-mail-archived/fh-mail-archived.component.d.ts +0 -87
  105. package/lib/mail-archiver/fh-mail-preview/fh-mail-preview.component.d.ts +0 -52
  106. package/lib/models/FHConfirmValues.d.ts +0 -10
  107. package/lib/models/FHToolBarCustomAction.d.ts +0 -17
  108. package/lib/models/FSInput.d.ts +0 -5
  109. package/lib/models/FSResult.d.ts +0 -5
  110. package/lib/models/QGParam.d.ts +0 -10
  111. package/lib/models/QGResult.d.ts +0 -6
  112. package/lib/models/QParam.d.ts +0 -6
  113. package/lib/models/QResult.d.ts +0 -5
  114. package/lib/models/WkfFieldValue.d.ts +0 -69
  115. package/lib/obj-diff.d.ts +0 -36
  116. package/lib/services/app-maker.service.d.ts +0 -20
  117. package/lib/services/app.service.d.ts +0 -95
  118. package/lib/services/auth.interceptor.d.ts +0 -22
  119. package/lib/services/dofile.service.d.ts +0 -25
  120. package/lib/services/doquery-odbc.service.d.ts +0 -18
  121. package/lib/services/doquery.service.d.ts +0 -28
  122. package/lib/services/doqueryopen.service.d.ts +0 -27
  123. package/lib/services/dowkf.service.d.ts +0 -213
  124. package/lib/services/error-reporter.d.ts +0 -48
  125. package/lib/services/grid.service.d.ts +0 -21
  126. package/lib/services/localstorage.service.d.ts +0 -13
  127. package/lib/services/login.service.d.ts +0 -33
  128. package/lib/services/office-automator.service.d.ts +0 -34
  129. package/lib/services/register.service.d.ts +0 -18
  130. package/lib/services/utility.service.d.ts +0 -79
  131. package/lib/wkf_engine_v2/bpmn-editor.component.d.ts +0 -67
  132. package/lib/wkf_engine_v2/win-assign-to.d.ts +0 -34
  133. package/lib/wkf_engine_v2/win-assign.d.ts +0 -32
  134. package/lib/wkf_engine_v2/win-comment-select-notif.d.ts +0 -24
  135. package/lib/wkf_engine_v2/win-comments.d.ts +0 -54
  136. package/lib/wkf_engine_v2/win-confirm.d.ts +0 -41
  137. package/lib/wkf_engine_v2/win-info-doc.d.ts +0 -33
  138. package/lib/wkf_engine_v2/win-log.d.ts +0 -79
  139. package/lib/wkf_engine_v2/win-reassign-select-level.d.ts +0 -29
  140. package/lib/wkf_engine_v2/win-reassign-select-user.d.ts +0 -28
  141. package/lib/wkf_engine_v2/win-recover.d.ts +0 -30
  142. package/lib/wkf_engine_v2/win-replace-user.d.ts +0 -28
  143. package/lib/wkf_engine_v2/win-save-cancel.d.ts +0 -27
  144. package/lib/wkf_engine_v2/win-select-channel.d.ts +0 -27
  145. package/lib/wkf_engine_v2/win-select-level.d.ts +0 -42
  146. package/lib/wkf_engine_v2/win-uploads.d.ts +0 -29
  147. package/lib/wkf_engine_v2/wkf-app.d.ts +0 -88
  148. package/lib/wkf_engine_v2/wkf-form-data.d.ts +0 -418
  149. package/lib/wkf_engine_v2/wkf-header-bar.d.ts +0 -68
  150. package/lib/wkf_engine_v2/wkf-tasks-panel.d.ts +0 -96
  151. package/public-api.d.ts +0 -123
@@ -1,48 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- import { HttpHeaders } from '@angular/common/http';
3
- /**
4
- * Segnalazione di un errore dei servizi dati della libreria (query, griglie).
5
- *
6
- * La libreria non dipende da nessun SDK di monitoraggio: il portale che vuole
7
- * raccogliere gli errori fornisce FH_ERROR_REPORTER (es. con @sentry/angular verso
8
- * Rustrak) e decide cosa farne. Senza provider non succede niente.
9
- */
10
- export interface FHErrorReport {
11
- /** 'ko' = risposta { result_msg: 'KO' }, 'http' = errore di trasporto (5xx, rete), 'empty' = risposta vuota */
12
- kind: 'ko' | 'http' | 'empty';
13
- /** Servizio che ha fatto la chiamata */
14
- service: 'query' | 'grid';
15
- /** Endpoint chiamato, senza host (es. /doquery, /dogridn, /doexportn) */
16
- endpoint: string;
17
- /** Chiave della query o della griglia (mai i valori dei parametri) */
18
- key: string;
19
- /** Messaggio d'errore restituito dal server */
20
- message: string;
21
- /** Status HTTP, solo per kind='http' */
22
- status?: number;
23
- /**
24
- * Id dell'evento gia' registrato dal server (header X-FH-Event-Id). Se valorizzato
25
- * l'errore e' gia' stato raccolto lato backend con stack trace e chiave: il
26
- * reporter non dovrebbe mandarne un secondo, al massimo un breadcrumb.
27
- */
28
- serverEventId: string | null;
29
- /** Pagina del portale da cui e' partita la chiamata */
30
- route: string;
31
- /** false se il chiamante ha chiesto di non mostrare il toast d'errore */
32
- displayError: boolean;
33
- }
34
- export type FHErrorReporter = (report: FHErrorReport) => void;
35
- /** Fornito dal portale: `{ provide: FH_ERROR_REPORTER, useValue: (r) => ... }` */
36
- export declare const FH_ERROR_REPORTER: InjectionToken<FHErrorReporter>;
37
- /** Header con cui il server dichiara di aver gia' registrato l'errore. */
38
- export declare const FH_EVENT_ID_HEADER = "X-FH-Event-Id";
39
- /** Header con la pagina del portale, letto dal server per arricchire i suoi eventi. */
40
- export declare const FH_ROUTE_HEADER = "X-FH-Route";
41
- /** Pagina corrente: i portali usano l'hash routing (/#/home), altrimenti il path. */
42
- export declare function fhCurrentRoute(): string;
43
- export declare function fhEndpointOf(url: string | null): string;
44
- /** Invoca il reporter senza mai far fallire la chiamata dati per colpa sua. */
45
- export declare function fhReport(reporter: FHErrorReporter | null, r: FHErrorReport | null): void;
46
- /** Report per un errore di trasporto, o null se non va segnalato. */
47
- export declare function fhHttpErrorReport(err: any, base: Omit<FHErrorReport, 'kind' | 'message' | 'status' | 'serverEventId'>): FHErrorReport | null;
48
- export declare function fhEventId(h: HttpHeaders | null | undefined): string | null;
@@ -1,21 +0,0 @@
1
- import { HttpClient, HttpHeaders } from "@angular/common/http";
2
- import { ToastrService } from "ngx-toastr";
3
- import { Observable } from "rxjs";
4
- import { QGParam } from "../models/QGParam";
5
- import { QGResult } from "../models/QGResult";
6
- import { AppService } from "./app.service";
7
- import { UtilityService } from "./utility.service";
8
- import * as i0 from "@angular/core";
9
- export declare class GridService {
10
- private http;
11
- private app_s;
12
- private toastr;
13
- private uti_s;
14
- headers?: HttpHeaders | null;
15
- private reporter;
16
- constructor(http: HttpClient, app_s: AppService, toastr: ToastrService, uti_s: UtilityService);
17
- url: string | null;
18
- doQuery(queryp: QGParam, displayError?: boolean, url_sec?: string | null): Observable<QGResult>;
19
- static ɵfac: i0.ɵɵFactoryDeclaration<GridService, never>;
20
- static ɵprov: i0.ɵɵInjectableDeclaration<GridService>;
21
- }
@@ -1,13 +0,0 @@
1
- import { AppService } from "./app.service";
2
- import { UtilityService } from "./utility.service";
3
- import * as i0 from "@angular/core";
4
- export declare class LocalDBService {
5
- private uti;
6
- private app;
7
- constructor(uti: UtilityService, app: AppService);
8
- read<T = any>(key: string, crypt?: boolean, json_format?: boolean): Promise<any | null>;
9
- write(k: string, obj: any, crypt?: boolean, json_format?: boolean): void;
10
- delete(k: string): void;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<LocalDBService, never>;
12
- static ɵprov: i0.ɵɵInjectableDeclaration<LocalDBService>;
13
- }
@@ -1,33 +0,0 @@
1
- import { HttpClient, HttpHeaders } from "@angular/common/http";
2
- import { Router } from "@angular/router";
3
- import { ToastrService } from "ngx-toastr";
4
- import { Observable } from "rxjs";
5
- import { QResult } from "../models/QResult";
6
- import { AppService } from "./app.service";
7
- import { UtilityService } from "./utility.service";
8
- import * as i0 from "@angular/core";
9
- export declare class AuthenticationService {
10
- private toastr;
11
- private http;
12
- private router;
13
- private app_s;
14
- private uti_s;
15
- goto_after: string;
16
- headers?: HttpHeaders | null;
17
- url: string | null;
18
- constructor(toastr: ToastrService, http: HttpClient, router: Router, app_s: AppService, uti_s: UtilityService);
19
- logout(resetPosition?: boolean): void;
20
- login(username: string, password: string, displayError?: boolean): Observable<QResult>;
21
- register_user(name: string, surname: string, email: string, username: string, password: string, add_role: string, displayError?: boolean): Observable<QResult>;
22
- login_by_email(email: string, displayError?: boolean): Observable<QResult>;
23
- get_user_info(username: string, displayError?: boolean): Observable<QResult>;
24
- getCompany(displayError?: boolean): Observable<QResult>;
25
- username: string;
26
- passrecovery(email: string, displayError?: boolean): Observable<QResult>;
27
- checktoken(res_rep: string, displayError?: boolean): Observable<QResult>;
28
- change_password(token: string, password: string, displayError?: boolean): Observable<QResult>;
29
- checkCredentials_toLogin(): boolean;
30
- checkCredentials(): boolean;
31
- static ɵfac: i0.ɵɵFactoryDeclaration<AuthenticationService, never>;
32
- static ɵprov: i0.ɵɵInjectableDeclaration<AuthenticationService>;
33
- }
@@ -1,34 +0,0 @@
1
- import { MatDialogRef } from "@angular/material/dialog";
2
- import { ToastrService } from "ngx-toastr";
3
- import { Observable } from "rxjs";
4
- import { FHWinWaitComponent } from "../controls/fh-win-wait";
5
- import { FileService } from "./dofile.service";
6
- import { QueryService } from "./doquery.service";
7
- import * as i0 from "@angular/core";
8
- export declare class OfficeOperation {
9
- op: string;
10
- v1?: string;
11
- v2?: string;
12
- ord: number;
13
- }
14
- export declare class OfficeResult {
15
- message: string;
16
- result: number;
17
- }
18
- export declare class OfficeAutomatorService {
19
- private dataService;
20
- private fileService;
21
- private toastr;
22
- constructor(dataService: QueryService, fileService: FileService, toastr: ToastrService);
23
- operation(operazione: string, v1: string, v2: string, ordine: number): OfficeOperation;
24
- /**
25
- * @param commands
26
- * @param options
27
- * @export
28
- */
29
- eprog: number;
30
- private progress_update;
31
- runCommands(uiid: string, commands: OfficeOperation[], dialogRef_W: MatDialogRef<FHWinWaitComponent, any> | null, sync?: boolean): Observable<any>;
32
- static ɵfac: i0.ɵɵFactoryDeclaration<OfficeAutomatorService, never>;
33
- static ɵprov: i0.ɵɵInjectableDeclaration<OfficeAutomatorService>;
34
- }
@@ -1,18 +0,0 @@
1
- import { HttpClient, HttpHeaders } from '@angular/common/http';
2
- import { ToastrService } from 'ngx-toastr';
3
- import { Observable } from 'rxjs';
4
- import { AppService } from './app.service';
5
- import { QGResult } from '../models/QGResult';
6
- import * as i0 from "@angular/core";
7
- export declare class RegistrationService {
8
- private toastr;
9
- private http;
10
- private app_s;
11
- goto_after: string;
12
- headers?: HttpHeaders | null;
13
- url: string | null;
14
- constructor(toastr: ToastrService, http: HttpClient, app_s: AppService);
15
- register_user(username: string, email: string, nome: string, cognome: string, password: string, userType?: string, displayError?: boolean): Observable<QGResult>;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<RegistrationService, never>;
17
- static ɵprov: i0.ɵɵInjectableDeclaration<RegistrationService>;
18
- }
@@ -1,79 +0,0 @@
1
- import { Title } from '@angular/platform-browser';
2
- import { QParam } from '../models/QParam';
3
- import { AppService } from './app.service';
4
- import { QueryService } from './doquery.service';
5
- import { TranslateService } from '@ngx-translate/core';
6
- import * as i0 from "@angular/core";
7
- export declare class UtilityService {
8
- private app_s;
9
- private titleService;
10
- private translateService;
11
- constructor(app_s: AppService, titleService: Title, translateService: TranslateService);
12
- /**
13
- * Log di debug attivo SOLO sul dev server ng-serve (localhost:4200):
14
- * in produzione non stampa nulla. È STATICO di proposito: così è
15
- * richiamabile ovunque senza iniettare UtilityService — anche dentro gli
16
- * HTTP interceptor, dove iniettare un service che usa HttpClient darebbe
17
- * un cyclic dependency ("Cannot instantiate cyclic dependency! HttpClient").
18
- * Uso: UtilityService.dlog('[TAG]', valore, ...);
19
- */
20
- static dlog(...args: any[]): void;
21
- set_home_title(s: string): void;
22
- get_home_title(): string;
23
- disabilitaConsole(): void;
24
- convertKeysToLowerCase(arr: any[]): any[];
25
- convertObjectKeysToLowerCase(obj: any): any;
26
- formatBytes(bytes: number): string;
27
- check_value_combo(obj_value: any, combo_value: any): any;
28
- gridDateRenderer(params: {
29
- value: string;
30
- }): string;
31
- gridDateStyle(params: {
32
- value: string;
33
- }): object;
34
- newGuid(): string;
35
- array_move(arr: any, old_index: number, new_index: number): any;
36
- format_currency(value: number | string, fractionSize?: number, DECIMAL_SEPARATOR?: string, THOUSANDS_SEPARATOR?: string, PADDING?: string): string;
37
- number2bool(n: number): boolean;
38
- bool2number(n: boolean): number;
39
- round(value: number, exp: number): number;
40
- urlEncode(url: string): string;
41
- string2date(dt: string | null, f: number): Date | null;
42
- sql_number(a: number): string;
43
- compare_date(dt: Date | null, dt1: Date | null): boolean;
44
- sql_date(dt: Date | null): string;
45
- sql_date_grid(dt: Date | null, adds?: string): string;
46
- properCase(ss: string): string;
47
- DateAdd(timeU: string, byMany: number, dateObj: Date): Date | undefined;
48
- date2String(dt: Date | null): string;
49
- text2Html(s: string): string;
50
- datetime2String(dt: Date | null): string;
51
- formatDecimal(value: number | string, fractionSize?: number): string;
52
- left_pad(n: number, size?: number, charc?: string): string;
53
- datetime2GanttString(dt: Date): string;
54
- check2int(b: boolean): number;
55
- setSelectionRange(input: any, selectionStart: number, selectionEnd: number): void;
56
- getBrowserName(): "edge" | "opera" | "chrome" | "ie" | "firefox" | "safari" | "other";
57
- print_param(p: QParam): void;
58
- get_diff_doc(old_doc?: any, new_doc?: any): Array<any>;
59
- getutcdate(d: Date): Date;
60
- insert_log(dt: QueryService, app: string, k: string, descri: string, operazione: string, link?: string | null, old_doc?: any, new_doc?: any): void;
61
- sql_date_time(dt: any): string;
62
- onlyDt(dt: Date): Date | null;
63
- descriMese(date: Date): string;
64
- validateEmail(email: string): boolean;
65
- addDays(date: Date, n: number): Date;
66
- toMoney(n: any, decimals: number, decimal_sep: string, thousands_sep: string): string;
67
- format_euro(v: number): string;
68
- pad(num: string | number, totalStringSize: number): string;
69
- encrypt(s: string): string;
70
- encrypt_v3(s: string): string;
71
- decrypt_v3(s: string | null): string;
72
- decrypt(s: string): string;
73
- encrypt_v2(s: string | null): string | null;
74
- decrypt_v2(s: string | null): string | null;
75
- string_sqlvalue(s: string): string;
76
- hasRole(s: string, b_check_admin?: boolean): boolean;
77
- static ɵfac: i0.ɵɵFactoryDeclaration<UtilityService, never>;
78
- static ɵprov: i0.ɵɵInjectableDeclaration<UtilityService>;
79
- }
@@ -1,67 +0,0 @@
1
- import { ElementRef, AfterViewInit, OnDestroy, EventEmitter } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class BpmnEditorComponent implements AfterViewInit, OnDestroy {
4
- canvasRef: ElementRef;
5
- initialXml?: string;
6
- completedSteps: number[];
7
- currentStep?: number;
8
- transitionData: Array<{
9
- fromStep: number;
10
- toStep: number;
11
- user: string;
12
- date: string;
13
- }>;
14
- diagramChanged: EventEmitter<string>;
15
- elementSelected: EventEmitter<any>;
16
- private modeler?;
17
- private overlays;
18
- ngAfterViewInit(): void;
19
- ngOnDestroy(): void;
20
- private initializeBpmnEditor;
21
- private createNewDiagram;
22
- private loadDiagram;
23
- exportSVG(): Promise<string>;
24
- exportXML(): Promise<string>;
25
- zoomIn(): void;
26
- zoomOut(): void;
27
- zoomFit(): void;
28
- zoomReset(): void;
29
- /**
30
- * Apply colors to BPMN elements based on workflow step status
31
- * - Green: completed steps
32
- * - Orange: current step
33
- */
34
- private applyStepColors;
35
- /**
36
- * Extract step number from element ID or name
37
- * Supports formats like: "Activity_10", "Task_20", "Step_30", "10", "Step 10", etc.
38
- */
39
- private extractStepNumber;
40
- /**
41
- * Update step colors dynamically (call this when step status changes)
42
- */
43
- updateStepColors(completedSteps: number[], currentStep?: number): void;
44
- /**
45
- * Apply transition information (user and date) on completed connections
46
- */
47
- private applyTransitionInfo;
48
- /**
49
- * Find BPMN connection (sequence flow) that links two steps
50
- */
51
- private findConnectionForTransition;
52
- /**
53
- * Escape HTML to prevent XSS
54
- */
55
- private escapeHtml;
56
- /**
57
- * Update transition data dynamically
58
- */
59
- updateTransitionData(transitionData: Array<{
60
- fromStep: number;
61
- toStep: number;
62
- user: string;
63
- date: string;
64
- }>): void;
65
- static ɵfac: i0.ɵɵFactoryDeclaration<BpmnEditorComponent, never>;
66
- static ɵcmp: i0.ɵɵComponentDeclaration<BpmnEditorComponent, "fh-bpmn-editor", never, { "initialXml": { "alias": "initialXml"; "required": false; }; "completedSteps": { "alias": "completedSteps"; "required": false; }; "currentStep": { "alias": "currentStep"; "required": false; }; "transitionData": { "alias": "transitionData"; "required": false; }; }, { "diagramChanged": "diagramChanged"; "elementSelected": "elementSelected"; }, never, never, true, never>;
67
- }
@@ -1,34 +0,0 @@
1
- import { MatDialogRef } from '@angular/material/dialog';
2
- import { TranslateService } from '@ngx-translate/core';
3
- import { ToastrService } from 'ngx-toastr';
4
- import { FHWinUserPickerComponent } from '../controls/fh-win-user-picker';
5
- import { AppService } from '../services/app.service';
6
- import { DialogButton, DialogBeforeCloseEvent } from '../controls/dialog-base/dialog-base.component';
7
- import * as i0 from "@angular/core";
8
- export declare class win_assegna_a {
9
- private dialogRef;
10
- private m_appService;
11
- private toastr;
12
- private _trs;
13
- data: any;
14
- op: string;
15
- lbl: string;
16
- nota: string;
17
- hide_row_cmd: boolean;
18
- nota_commento: string;
19
- title: string;
20
- comm_notrequired: number;
21
- prendi_in_carico: boolean;
22
- arrAutori: Array<any>;
23
- all_users: any[];
24
- up?: FHWinUserPickerComponent;
25
- buttons: DialogButton[];
26
- constructor(dialogRef: MatDialogRef<win_assegna_a>, m_appService: AppService, toastr: ToastrService, _trs: TranslateService, data: any);
27
- private updateButtons;
28
- onBeforeClose(event: DialogBeforeCloseEvent): void;
29
- close(): void;
30
- ok(): void;
31
- ngAfterViewInit(): void;
32
- static ɵfac: i0.ɵɵFactoryDeclaration<win_assegna_a, never>;
33
- static ɵcmp: i0.ɵɵComponentDeclaration<win_assegna_a, "ng-component", never, {}, {}, never, never, true, never>;
34
- }
@@ -1,32 +0,0 @@
1
- import { AfterViewInit } from "@angular/core";
2
- import { MatDialogRef } from "@angular/material/dialog";
3
- import { TranslateService } from '@ngx-translate/core';
4
- import { ToastrService } from "ngx-toastr";
5
- import { FHWinUserPickerComponent } from "../controls/fh-win-user-picker";
6
- import { AppService } from "../services/app.service";
7
- import { DialogButton, DialogBeforeCloseEvent } from '../controls/dialog-base/dialog-base.component';
8
- import * as i0 from "@angular/core";
9
- export declare class win_assegna_v2 implements AfterViewInit {
10
- dialogRef: MatDialogRef<win_assegna_v2>;
11
- private m_appService;
12
- private toastr;
13
- private _trs;
14
- data: any;
15
- lbl: string;
16
- nota: string;
17
- nota_commento: string;
18
- title: string;
19
- comm_notrequired: number;
20
- arrAutori: Array<any>;
21
- up?: FHWinUserPickerComponent;
22
- user_sel: Array<any>;
23
- buttons: DialogButton[];
24
- constructor(dialogRef: MatDialogRef<win_assegna_v2>, m_appService: AppService, toastr: ToastrService, _trs: TranslateService, data: any);
25
- private updateButtons;
26
- onBeforeClose(event: DialogBeforeCloseEvent): void;
27
- close(): void;
28
- ok(): void;
29
- ngAfterViewInit(): void;
30
- static ɵfac: i0.ɵɵFactoryDeclaration<win_assegna_v2, never>;
31
- static ɵcmp: i0.ɵɵComponentDeclaration<win_assegna_v2, "ng-component", never, {}, {}, never, never, true, never>;
32
- }
@@ -1,24 +0,0 @@
1
- import { AfterViewInit } from "@angular/core";
2
- import { MatDialogRef } from "@angular/material/dialog";
3
- import { TranslateService } from '@ngx-translate/core';
4
- import { ToastrService } from "ngx-toastr";
5
- import { FHWinUserPickerComponent } from "../controls/fh-win-user-picker";
6
- import { DialogButton, DialogBeforeCloseEvent } from '../controls/dialog-base/dialog-base.component';
7
- import * as i0 from "@angular/core";
8
- export declare class win_commento_sel_notif_v2 implements AfterViewInit {
9
- private dialogRef;
10
- private toastr;
11
- private _tsr;
12
- title: string;
13
- up?: FHWinUserPickerComponent;
14
- buttons: DialogButton[];
15
- constructor(dialogRef: MatDialogRef<win_commento_sel_notif_v2>, toastr: ToastrService, _tsr: TranslateService);
16
- private updateButtons;
17
- onBeforeClose(event: DialogBeforeCloseEvent): void;
18
- close(): void;
19
- init_arr(arrl: Array<any>): void;
20
- ok(): void;
21
- ngAfterViewInit(): void;
22
- static ɵfac: i0.ɵɵFactoryDeclaration<win_commento_sel_notif_v2, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<win_commento_sel_notif_v2, "ng-component", never, {}, {}, never, never, true, never>;
24
- }
@@ -1,54 +0,0 @@
1
- import { TranslateService } from '@ngx-translate/core';
2
- import { AfterViewInit } from '@angular/core';
3
- import { MatDialog, MatDialogRef } from '@angular/material/dialog';
4
- import { ToastrService } from 'ngx-toastr';
5
- import { AppService } from '../services/app.service';
6
- import { FileService } from '../services/dofile.service';
7
- import { QueryService } from '../services/doquery.service';
8
- import { WkfService } from '../services/dowkf.service';
9
- import { DialogButton, DialogBeforeCloseEvent } from '../controls/dialog-base/dialog-base.component';
10
- import * as i0 from "@angular/core";
11
- export declare class win_commenti_v2 implements AfterViewInit {
12
- dialogRef: MatDialogRef<win_commenti_v2>;
13
- m_dialogRef: MatDialog;
14
- m_appService: AppService;
15
- private toastr;
16
- private _dataService;
17
- private m_wkf;
18
- private m_file;
19
- private _tsr;
20
- notifica_commenti: number;
21
- notifica_commenti_obbl: number;
22
- not_comm: boolean;
23
- not_comm_disabled: boolean;
24
- nota_privata: boolean;
25
- commenti_list: Array<any>;
26
- nota: string;
27
- title: string;
28
- b_edit: boolean;
29
- b_ins: boolean;
30
- edit_id: number;
31
- buttons: DialogButton[];
32
- lettori: string;
33
- constructor(dialogRef: MatDialogRef<win_commenti_v2>, m_dialogRef: MatDialog, m_appService: AppService, toastr: ToastrService, _dataService: QueryService, m_wkf: WkfService, m_file: FileService, _tsr: TranslateService);
34
- private updateButtons;
35
- onBeforeClose(event: DialogBeforeCloseEvent): void;
36
- close(): void;
37
- init_v(): void;
38
- edit_comm(event: any): void;
39
- refresh_list(): void;
40
- ok(): void;
41
- select_destinatari_grp(): void;
42
- select_destinatari(): void;
43
- sendEMail_ex(mit: string, to: string, ogg: string, descri: string, idapp: string, iddoc: string, link: string, cc: string, nota: string, notif_av?: boolean, ical?: string): void;
44
- subject: string;
45
- link: string;
46
- codice_doc: string;
47
- op: string;
48
- ok_op(sdest?: string): void;
49
- annulla(): void;
50
- ngAfterViewInit(): void;
51
- ins(): void;
52
- static ɵfac: i0.ɵɵFactoryDeclaration<win_commenti_v2, never>;
53
- static ɵcmp: i0.ɵɵComponentDeclaration<win_commenti_v2, "ng-component", never, {}, {}, never, never, true, never>;
54
- }
@@ -1,41 +0,0 @@
1
- import { AfterViewInit } from '@angular/core';
2
- import { MatDialogRef } from '@angular/material/dialog';
3
- import { TranslateService } from '@ngx-translate/core';
4
- import { ToastrService } from 'ngx-toastr';
5
- import { AppService } from '../services/app.service';
6
- import { DialogButton, DialogBeforeCloseEvent } from '../controls/dialog-base/dialog-base.component';
7
- import * as i0 from "@angular/core";
8
- export declare class win_conferma_v2 implements AfterViewInit {
9
- dialogRef: MatDialogRef<win_conferma_v2>;
10
- private m_appService;
11
- private toastr;
12
- private _tsr;
13
- data: any;
14
- utenti: string;
15
- lbl: string;
16
- nota: string;
17
- icon: string;
18
- color_font: string;
19
- color: string;
20
- background_color: string;
21
- nota_commento: string;
22
- title: string;
23
- comm_notrequired: number;
24
- mobile: boolean;
25
- buttons: DialogButton[];
26
- /**
27
- * Riga "Assegnata a: <nomi>" sopra il commento. Acceso di default (comportamento
28
- * storico); si spegne passando `show_utenti: false` nei data del dialog, cioe' dal
29
- * form della pratica con `FHWorkflowForm.show_assegnatari = false`, quando il cliente
30
- * non vuole che chi avanza veda a chi finisce la pratica.
31
- */
32
- show_utenti: boolean;
33
- constructor(dialogRef: MatDialogRef<win_conferma_v2>, m_appService: AppService, toastr: ToastrService, _tsr: TranslateService, data: any);
34
- private updateButtons;
35
- onBeforeClose(event: DialogBeforeCloseEvent): void;
36
- ok(): void;
37
- close(): void;
38
- ngAfterViewInit(): void;
39
- static ɵfac: i0.ɵɵFactoryDeclaration<win_conferma_v2, never>;
40
- static ɵcmp: i0.ɵɵComponentDeclaration<win_conferma_v2, "ng-component", never, {}, {}, never, never, true, never>;
41
- }
@@ -1,33 +0,0 @@
1
- import { AfterViewInit } from "@angular/core";
2
- import { MatDialogRef } from "@angular/material/dialog";
3
- import { ToastrService } from "ngx-toastr";
4
- import { AppService } from "../services/app.service";
5
- import { DialogButton, DialogBeforeCloseEvent } from '../controls/dialog-base/dialog-base.component';
6
- import * as i0 from "@angular/core";
7
- export declare class win_info_doc_v2 implements AfterViewInit {
8
- dialogRef: MatDialogRef<win_info_doc_v2>;
9
- m_appService: AppService;
10
- toast: ToastrService;
11
- data: any;
12
- codice?: string | null;
13
- data_richiesta?: Date | null;
14
- richiedente?: string | null;
15
- stato?: string | null;
16
- stat_stato?: string | null;
17
- nc?: string | null;
18
- in_carico_a?: string | null;
19
- uiid_app?: string | null;
20
- uiid_doc?: string | null;
21
- canale?: string | null;
22
- title: string;
23
- hide_richiedente: boolean;
24
- buttons: DialogButton[];
25
- constructor(dialogRef: MatDialogRef<win_info_doc_v2>, m_appService: AppService, toast: ToastrService, data: any);
26
- private updateButtons;
27
- onBeforeClose(event: DialogBeforeCloseEvent): void;
28
- close(): void;
29
- load_info(data: any): void;
30
- ngAfterViewInit(): void;
31
- static ɵfac: i0.ɵɵFactoryDeclaration<win_info_doc_v2, never>;
32
- static ɵcmp: i0.ɵɵComponentDeclaration<win_info_doc_v2, "ng-component", never, {}, {}, never, never, true, never>;
33
- }
@@ -1,79 +0,0 @@
1
- import { AfterViewInit } from '@angular/core';
2
- import { MatDialog, MatDialogRef } from '@angular/material/dialog';
3
- import { MatTabGroup } from '@angular/material/tabs';
4
- import { TranslateService } from '@ngx-translate/core';
5
- import { ToastrService } from 'ngx-toastr';
6
- import { AppService } from '../services/app.service';
7
- import { FileService } from '../services/dofile.service';
8
- import { QueryService } from '../services/doquery.service';
9
- import { WkfService } from '../services/dowkf.service';
10
- import { DialogButton, DialogBeforeCloseEvent } from '../controls/dialog-base/dialog-base.component';
11
- import * as i0 from "@angular/core";
12
- export declare class win_log_v2 implements AfterViewInit {
13
- dialogRef: MatDialogRef<win_log_v2>;
14
- m_dialogRef: MatDialog;
15
- m_appService: AppService;
16
- private toastr;
17
- private _dataService;
18
- private m_wkf;
19
- private m_file;
20
- private _tsr;
21
- data: any;
22
- ossv: boolean;
23
- not_comm: boolean;
24
- not_comm_disabled: boolean;
25
- op: string;
26
- diagramma_flusso: string;
27
- completedSteps: number[];
28
- currentStep: number;
29
- transitionData: Array<{
30
- fromStep: number;
31
- toStep: number;
32
- user: string;
33
- date: string;
34
- }>;
35
- zz?: MatTabGroup;
36
- bpmnViewer?: any;
37
- b_flussook: boolean;
38
- buttons: DialogButton[];
39
- ric_all(): void;
40
- init_v(): void;
41
- load_graph(): void;
42
- private loadWorkflowStepStatus;
43
- private calculateCompletedStepsFromLogs;
44
- private formatDate;
45
- zoomIn(): void;
46
- zoomOut(): void;
47
- zoomFit(): void;
48
- zoomReset(): void;
49
- logs: Array<any>;
50
- notifica_commenti: number;
51
- notifica_commenti_obbl: number;
52
- title: string;
53
- nota: string;
54
- commenti_insert: boolean;
55
- b_edit: boolean;
56
- b_ins: boolean;
57
- edit_id: number;
58
- c_edit: boolean;
59
- constructor(dialogRef: MatDialogRef<win_log_v2>, m_dialogRef: MatDialog, m_appService: AppService, toastr: ToastrService, _dataService: QueryService, m_wkf: WkfService, m_file: FileService, _tsr: TranslateService, data: any);
60
- private updateButtons;
61
- onBeforeClose(event: DialogBeforeCloseEvent): void;
62
- close(): void;
63
- lettori: string;
64
- annulla(): void;
65
- ins(): void;
66
- ngAfterViewInit(): void;
67
- edit_comm(event: any): void;
68
- refresh_list(): void;
69
- ok(): void;
70
- select_destinatari(): void;
71
- select_destinatari_grp(): void;
72
- sendEMail_ex(mit: string, to: string, ogg: string, descri: string, idapp: string, iddoc: string, link: string, cc: string, nota: string, notif_av?: boolean, ical?: string): void;
73
- subject: string;
74
- link: string;
75
- codice_doc: string;
76
- ok_op(sdest?: string): void;
77
- static ɵfac: i0.ɵɵFactoryDeclaration<win_log_v2, never>;
78
- static ɵcmp: i0.ɵɵComponentDeclaration<win_log_v2, "ng-component", never, {}, {}, never, never, true, never>;
79
- }
@@ -1,29 +0,0 @@
1
- import { AfterViewInit } from "@angular/core";
2
- import { MatDialogRef } from "@angular/material/dialog";
3
- import { MatSelect } from "@angular/material/select";
4
- import { TranslateService } from '@ngx-translate/core';
5
- import { ToastrService } from "ngx-toastr";
6
- import { DialogButton, DialogBeforeCloseEvent } from '../controls/dialog-base/dialog-base.component';
7
- import * as i0 from "@angular/core";
8
- export declare class win_riassegna_select_level_v2 implements AfterViewInit {
9
- dialogRef: MatDialogRef<win_riassegna_select_level_v2>;
10
- private toastr;
11
- private _tsr;
12
- myData: Array<any>;
13
- smtr?: MatSelect;
14
- selval: any;
15
- title: string;
16
- errorMsg: string;
17
- OK_BUTTON: string;
18
- buttons: DialogButton[];
19
- constructor(dialogRef: MatDialogRef<win_riassegna_select_level_v2>, toastr: ToastrService, _tsr: TranslateService);
20
- private updateButtons;
21
- onBeforeClose(event: DialogBeforeCloseEvent): void;
22
- close(): void;
23
- sc(): void;
24
- setStepCombo(livs: Array<any>): void;
25
- ok(): void;
26
- ngAfterViewInit(): void;
27
- static ɵfac: i0.ɵɵFactoryDeclaration<win_riassegna_select_level_v2, never>;
28
- static ɵcmp: i0.ɵɵComponentDeclaration<win_riassegna_select_level_v2, "ng-component", never, {}, {}, never, never, true, never>;
29
- }