@fluxhub/fluxhub-lib 19.0.244 → 22.0.0
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/fesm2022/fluxhub-fluxhub-lib.mjs +16870 -14368
- package/fesm2022/fluxhub-fluxhub-lib.mjs.map +1 -1
- package/package.json +24 -23
- package/types/fluxhub-fluxhub-lib.d.ts +5276 -0
- package/index.d.ts +0 -5
- package/lib/ai-components/fh-ai-assistant/fh-ai-assistant.component.d.ts +0 -48
- package/lib/ai-components/fh-ai-chat/fh-ai-chat.component.d.ts +0 -77
- package/lib/ai-components/fh-ai.service.d.ts +0 -47
- package/lib/ai-components/models/fh-ai.models.d.ts +0 -67
- package/lib/auth-guard.d.ts +0 -22
- package/lib/controls/app_manager/fh-role-manager.d.ts +0 -19
- package/lib/controls/app_manager/fh-table-values-manager.d.ts +0 -19
- package/lib/controls/app_manager/win-manage-roles.d.ts +0 -30
- package/lib/controls/app_manager/win-manage-values.d.ts +0 -31
- package/lib/controls/dialog-base/dialog-base.component.d.ts +0 -130
- package/lib/controls/fh-autocomplete.d.ts +0 -82
- package/lib/controls/fh-checkbox.d.ts +0 -25
- package/lib/controls/fh-color-picker.d.ts +0 -31
- package/lib/controls/fh-combobox.d.ts +0 -68
- package/lib/controls/fh-currency-formatter.d.ts +0 -14
- package/lib/controls/fh-currency-pipe.d.ts +0 -11
- package/lib/controls/fh-datepicker.d.ts +0 -50
- package/lib/controls/fh-daterange-picker.d.ts +0 -55
- package/lib/controls/fh-field-picklist.d.ts +0 -61
- package/lib/controls/fh-form-toolbar.d.ts +0 -34
- package/lib/controls/fh-grid-column.d.ts +0 -18
- package/lib/controls/fh-grid-json.d.ts +0 -145
- package/lib/controls/fh-grid-toolbar.d.ts +0 -34
- package/lib/controls/fh-grid-win-help.d.ts +0 -16
- package/lib/controls/fh-grid.d.ts +0 -284
- package/lib/controls/fh-help-button.d.ts +0 -16
- package/lib/controls/fh-icon-picker/fa-free-icons.d.ts +0 -16
- package/lib/controls/fh-icon-picker/fh-icon-picker.d.ts +0 -138
- package/lib/controls/fh-image-preview.d.ts +0 -82
- package/lib/controls/fh-list.d.ts +0 -45
- package/lib/controls/fh-log-panel.d.ts +0 -39
- package/lib/controls/fh-multi-combobox.d.ts +0 -65
- package/lib/controls/fh-notes-panel.d.ts +0 -38
- package/lib/controls/fh-numeric.d.ts +0 -54
- package/lib/controls/fh-pickfield.d.ts +0 -36
- package/lib/controls/fh-picklist.d.ts +0 -53
- package/lib/controls/fh-replace-linebreak.d.ts +0 -7
- package/lib/controls/fh-richtext.d.ts +0 -31
- package/lib/controls/fh-text-input.d.ts +0 -34
- package/lib/controls/fh-textarea.d.ts +0 -28
- package/lib/controls/fh-time-picker.d.ts +0 -67
- package/lib/controls/fh-upload-panel-s3.d.ts +0 -62
- package/lib/controls/fh-upload-panel.d.ts +0 -89
- package/lib/controls/fh-upload-s3.d.ts +0 -72
- package/lib/controls/fh-upload.d.ts +0 -86
- package/lib/controls/fh-user-field.d.ts +0 -42
- package/lib/controls/fh-user-picker.d.ts +0 -39
- package/lib/controls/fh-win-app-logs.d.ts +0 -30
- package/lib/controls/fh-win-ask-buttons.d.ts +0 -20
- package/lib/controls/fh-win-ask-richtext.d.ts +0 -28
- package/lib/controls/fh-win-ask-text.d.ts +0 -31
- package/lib/controls/fh-win-ask-textbig.d.ts +0 -28
- package/lib/controls/fh-win-asknumber.d.ts +0 -27
- package/lib/controls/fh-win-auto-complete.d.ts +0 -26
- package/lib/controls/fh-win-combo-select.d.ts +0 -25
- package/lib/controls/fh-win-confirm.d.ts +0 -32
- package/lib/controls/fh-win-error.d.ts +0 -15
- package/lib/controls/fh-win-grid-selection.d.ts +0 -40
- package/lib/controls/fh-win-info.d.ts +0 -15
- package/lib/controls/fh-win-list-pick.d.ts +0 -36
- package/lib/controls/fh-win-mappa.d.ts +0 -34
- package/lib/controls/fh-win-output.d.ts +0 -32
- package/lib/controls/fh-win-select-by-grid.d.ts +0 -58
- package/lib/controls/fh-win-show-email-s3.d.ts +0 -27
- package/lib/controls/fh-win-show-email.d.ts +0 -26
- package/lib/controls/fh-win-show-image.d.ts +0 -16
- package/lib/controls/fh-win-show-log-details.d.ts +0 -18
- package/lib/controls/fh-win-show-log-info-details.d.ts +0 -23
- package/lib/controls/fh-win-show-logs.d.ts +0 -34
- package/lib/controls/fh-win-time-slider.d.ts +0 -27
- package/lib/controls/fh-win-upload.d.ts +0 -35
- package/lib/controls/fh-win-user-info.d.ts +0 -31
- package/lib/controls/fh-win-user-picker.d.ts +0 -26
- package/lib/controls/fh-win-wait.d.ts +0 -20
- package/lib/controls/grid_editors/approve-buttons.d.ts +0 -16
- package/lib/controls/grid_editors/checkbox-editor.component.d.ts +0 -14
- package/lib/controls/grid_editors/currency.component.d.ts +0 -9
- package/lib/controls/grid_editors/fh-combobox-filter.d.ts +0 -48
- package/lib/controls/grid_editors/fh-grid.d.ts +0 -227
- package/lib/controls/grid_editors/numeric-editor.component.d.ts +0 -23
- package/lib/controls/grid_editors/select-editor.component.d.ts +0 -23
- package/lib/controls/grid_editors/textarea-editor.component.d.ts +0 -21
- package/lib/controls/image-viewer/image-viewer-config.model.d.ts +0 -34
- package/lib/controls/image-viewer/image-viewer.component.d.ts +0 -56
- package/lib/controls/models/fh-grid-toolbar.models.d.ts +0 -93
- package/lib/controls/month-year-picker/month-year-picker.component.d.ts +0 -46
- package/lib/controls/translate/fh-win-translate.d.ts +0 -59
- package/lib/controls/utils/save-pipe.d.ts +0 -10
- package/lib/controls/utils/simple-crypt.d.ts +0 -22
- package/lib/controls/year-picker/year-picker.component.d.ts +0 -45
- package/lib/form_builder/fh-form-builder.d.ts +0 -44
- package/lib/form_builder/fh-form-executer.d.ts +0 -35
- package/lib/form_builder/pickers/win-pick-art.d.ts +0 -31
- package/lib/form_builder/pickers/win_pick_cliente.d.ts +0 -32
- package/lib/home-components/fh-home-docs/fh-home-docs.component.d.ts +0 -52
- package/lib/home-components/fh-home-launcher/fh-home-launcher.component.d.ts +0 -136
- package/lib/home-components/fh-home-stats/fh-home-stats.component.d.ts +0 -61
- package/lib/home-components/fh-home-todo/fh-home-todo.component.d.ts +0 -62
- package/lib/mail-archiver/fh-mail-archived/fh-mail-archived.component.d.ts +0 -87
- package/lib/mail-archiver/fh-mail-preview/fh-mail-preview.component.d.ts +0 -52
- package/lib/models/FHConfirmValues.d.ts +0 -10
- package/lib/models/FHToolBarCustomAction.d.ts +0 -17
- package/lib/models/FSInput.d.ts +0 -5
- package/lib/models/FSResult.d.ts +0 -5
- package/lib/models/QGParam.d.ts +0 -10
- package/lib/models/QGResult.d.ts +0 -6
- package/lib/models/QParam.d.ts +0 -6
- package/lib/models/QResult.d.ts +0 -5
- package/lib/models/WkfFieldValue.d.ts +0 -69
- package/lib/obj-diff.d.ts +0 -36
- package/lib/services/app-maker.service.d.ts +0 -20
- package/lib/services/app.service.d.ts +0 -95
- package/lib/services/auth.interceptor.d.ts +0 -22
- package/lib/services/dofile.service.d.ts +0 -25
- package/lib/services/doquery-odbc.service.d.ts +0 -18
- package/lib/services/doquery.service.d.ts +0 -27
- package/lib/services/doqueryopen.service.d.ts +0 -27
- package/lib/services/dowkf.service.d.ts +0 -213
- package/lib/services/grid.service.d.ts +0 -20
- package/lib/services/localstorage.service.d.ts +0 -13
- package/lib/services/login.service.d.ts +0 -33
- package/lib/services/office-automator.service.d.ts +0 -34
- package/lib/services/register.service.d.ts +0 -18
- package/lib/services/utility.service.d.ts +0 -79
- package/lib/wkf_engine_v2/bpmn-editor.component.d.ts +0 -67
- package/lib/wkf_engine_v2/win-assign-to.d.ts +0 -34
- package/lib/wkf_engine_v2/win-assign.d.ts +0 -32
- package/lib/wkf_engine_v2/win-comment-select-notif.d.ts +0 -24
- package/lib/wkf_engine_v2/win-comments.d.ts +0 -54
- package/lib/wkf_engine_v2/win-confirm.d.ts +0 -41
- package/lib/wkf_engine_v2/win-info-doc.d.ts +0 -33
- package/lib/wkf_engine_v2/win-log.d.ts +0 -79
- package/lib/wkf_engine_v2/win-reassign-select-level.d.ts +0 -29
- package/lib/wkf_engine_v2/win-reassign-select-user.d.ts +0 -28
- package/lib/wkf_engine_v2/win-recover.d.ts +0 -30
- package/lib/wkf_engine_v2/win-replace-user.d.ts +0 -28
- package/lib/wkf_engine_v2/win-save-cancel.d.ts +0 -27
- package/lib/wkf_engine_v2/win-select-channel.d.ts +0 -27
- package/lib/wkf_engine_v2/win-select-level.d.ts +0 -42
- package/lib/wkf_engine_v2/win-uploads.d.ts +0 -29
- package/lib/wkf_engine_v2/wkf-app.d.ts +0 -88
- package/lib/wkf_engine_v2/wkf-form-data.d.ts +0 -418
- package/lib/wkf_engine_v2/wkf-header-bar.d.ts +0 -68
- package/lib/wkf_engine_v2/wkf-tasks-panel.d.ts +0 -96
- package/public-api.d.ts +0 -121
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
-
import { MatDatepicker } from '@angular/material/datepicker';
|
|
3
|
-
import { Moment } from 'moment';
|
|
4
|
-
import { UtilityService } from '../month-year-picker/month-year-picker.component';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare const CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR: any;
|
|
7
|
-
export declare const MY_FORMATS: {
|
|
8
|
-
parse: {
|
|
9
|
-
dateInput: string;
|
|
10
|
-
};
|
|
11
|
-
display: {
|
|
12
|
-
dateInput: string;
|
|
13
|
-
monthYearLabel: string;
|
|
14
|
-
dateA11yLabel: string;
|
|
15
|
-
monthYearA11yLabel: string;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
/** @title Datepicker emulating a Year and month picker */
|
|
19
|
-
export declare class YearPickerComponent {
|
|
20
|
-
private readonly uti_s;
|
|
21
|
-
label: string;
|
|
22
|
-
error: string | null;
|
|
23
|
-
required: boolean;
|
|
24
|
-
show_buttons: boolean;
|
|
25
|
-
hidden: boolean;
|
|
26
|
-
enabled: boolean;
|
|
27
|
-
min_date: Date | null;
|
|
28
|
-
max_date: Date | null;
|
|
29
|
-
change: EventEmitter<any>;
|
|
30
|
-
pickerId?: ElementRef | null;
|
|
31
|
-
init_end: EventEmitter<any>;
|
|
32
|
-
date: any;
|
|
33
|
-
constructor(uti_s: UtilityService);
|
|
34
|
-
setYear(normalizedMonthAndYear: Moment, datepicker: MatDatepicker<Moment>): void;
|
|
35
|
-
getValue(): Date | null;
|
|
36
|
-
setValue(d: any): void;
|
|
37
|
-
writeValue(value: any): void;
|
|
38
|
-
onChange: (_: any) => void;
|
|
39
|
-
onTouched: () => void;
|
|
40
|
-
registerOnChange(fn: (_: any) => void): void;
|
|
41
|
-
registerOnTouched(fn: () => void): void;
|
|
42
|
-
ch(event?: any): void;
|
|
43
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<YearPickerComponent, never>;
|
|
44
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<YearPickerComponent, "FHYearPicker", never, { "label": { "alias": "label"; "required": false; }; "error": { "alias": "error"; "required": false; }; "required": { "alias": "required"; "required": false; }; "show_buttons": { "alias": "show_buttons"; "required": false; }; "hidden": { "alias": "hidden"; "required": false; }; "enabled": { "alias": "enabled"; "required": false; }; "min_date": { "alias": "min_date"; "required": false; }; "max_date": { "alias": "max_date"; "required": false; }; }, { "change": "change"; "init_end": "init_end"; }, never, never, true, never>;
|
|
45
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
-
import { MatDialog } from '@angular/material/dialog';
|
|
3
|
-
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
4
|
-
import { UtilityService } from '../services/utility.service';
|
|
5
|
-
import { QueryService } from '../services/doquery.service';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class FHFormBuilderComponent implements AfterViewInit {
|
|
8
|
-
private fhutility;
|
|
9
|
-
private _dialog;
|
|
10
|
-
private _dataService;
|
|
11
|
-
change: EventEmitter<any>;
|
|
12
|
-
bottoml?: ElementRef;
|
|
13
|
-
showTextField: boolean;
|
|
14
|
-
shownumberField: boolean;
|
|
15
|
-
showTextAreaField: boolean;
|
|
16
|
-
showCheckBoxField: boolean;
|
|
17
|
-
showRadioField: boolean;
|
|
18
|
-
showDropDownField: boolean;
|
|
19
|
-
showDateField: boolean;
|
|
20
|
-
showArticlePicker: boolean;
|
|
21
|
-
showCustomerPicker: boolean;
|
|
22
|
-
private _items;
|
|
23
|
-
get items(): any[];
|
|
24
|
-
loadFromDB(o: any): Promise<any>;
|
|
25
|
-
set items(value: any[]);
|
|
26
|
-
add_component(o: any): void;
|
|
27
|
-
edit_obj: any;
|
|
28
|
-
radio_values: string;
|
|
29
|
-
setStyles(o: any): {
|
|
30
|
-
width: string;
|
|
31
|
-
padding: string;
|
|
32
|
-
margin: string;
|
|
33
|
-
border: string;
|
|
34
|
-
'background-color': string;
|
|
35
|
-
};
|
|
36
|
-
ok_panel(): void;
|
|
37
|
-
constructor(fhutility: UtilityService, _dialog: MatDialog, _dataService: QueryService);
|
|
38
|
-
edit_item(uiid_obj: any): void;
|
|
39
|
-
del_item(uiid_obj: any): void;
|
|
40
|
-
drop(event: CdkDragDrop<any[]>): void;
|
|
41
|
-
ngAfterViewInit(): void;
|
|
42
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FHFormBuilderComponent, never>;
|
|
43
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FHFormBuilderComponent, "FHFormBuilder", never, { "showTextField": { "alias": "showTextField"; "required": false; }; "shownumberField": { "alias": "shownumberField"; "required": false; }; "showTextAreaField": { "alias": "showTextAreaField"; "required": false; }; "showCheckBoxField": { "alias": "showCheckBoxField"; "required": false; }; "showRadioField": { "alias": "showRadioField"; "required": false; }; "showDropDownField": { "alias": "showDropDownField"; "required": false; }; "showDateField": { "alias": "showDateField"; "required": false; }; "showArticlePicker": { "alias": "showArticlePicker"; "required": false; }; "showCustomerPicker": { "alias": "showCustomerPicker"; "required": false; }; }, { "change": "change"; }, never, never, true, never>;
|
|
44
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef } from '@angular/core';
|
|
2
|
-
import { MatDialog } from '@angular/material/dialog';
|
|
3
|
-
import { ToastrService } from 'ngx-toastr';
|
|
4
|
-
import { UtilityService } from '../services/utility.service';
|
|
5
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class FHFormExecuterComponent implements AfterViewInit {
|
|
8
|
-
private fhutility;
|
|
9
|
-
private _dialog;
|
|
10
|
-
private toastr;
|
|
11
|
-
private _tsr;
|
|
12
|
-
items: Array<any>;
|
|
13
|
-
enabled: boolean;
|
|
14
|
-
articleColumns: string[];
|
|
15
|
-
articleQuery: string | undefined;
|
|
16
|
-
customerColumns: string[];
|
|
17
|
-
customerQuery: string | undefined;
|
|
18
|
-
bottoml?: ElementRef;
|
|
19
|
-
selectArticle(item: any): void;
|
|
20
|
-
selectCustomer(item: any): void;
|
|
21
|
-
resetSelect(item: any): void;
|
|
22
|
-
ckFieldsCustom(): boolean;
|
|
23
|
-
getFieldsCustom(): any[];
|
|
24
|
-
setStyles(o: any): {
|
|
25
|
-
width: string;
|
|
26
|
-
padding: string;
|
|
27
|
-
margin: string;
|
|
28
|
-
border: string;
|
|
29
|
-
'background-color': string;
|
|
30
|
-
};
|
|
31
|
-
constructor(fhutility: UtilityService, _dialog: MatDialog, toastr: ToastrService, _tsr: TranslateService);
|
|
32
|
-
ngAfterViewInit(): void;
|
|
33
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FHFormExecuterComponent, never>;
|
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FHFormExecuterComponent, "FHFormExecuter", never, { "items": { "alias": "items"; "required": false; }; "enabled": { "alias": "enabled"; "required": false; }; "articleColumns": { "alias": "articleColumns"; "required": false; }; "articleQuery": { "alias": "articleQuery"; "required": false; }; "customerColumns": { "alias": "customerColumns"; "required": false; }; "customerQuery": { "alias": "customerQuery"; "required": false; }; }, {}, never, never, true, never>;
|
|
35
|
-
}
|
|
@@ -1,31 +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 { QueryService } from '../../services/doquery.service';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class win_pick_art implements AfterViewInit {
|
|
8
|
-
dialogRef: MatDialogRef<win_pick_art>;
|
|
9
|
-
appService: AppService;
|
|
10
|
-
private toastr;
|
|
11
|
-
private _dataService;
|
|
12
|
-
data: any;
|
|
13
|
-
is_loading: boolean;
|
|
14
|
-
close(): void;
|
|
15
|
-
keyDownFunction(event: any): void;
|
|
16
|
-
searchtype: string;
|
|
17
|
-
cli_list: Array<any>;
|
|
18
|
-
columns: Array<any>;
|
|
19
|
-
query: string;
|
|
20
|
-
ric: string;
|
|
21
|
-
title: string;
|
|
22
|
-
b_edit: boolean;
|
|
23
|
-
b_ins: boolean;
|
|
24
|
-
edit_id: number;
|
|
25
|
-
constructor(dialogRef: MatDialogRef<win_pick_art>, appService: AppService, toastr: ToastrService, _dataService: QueryService, data: any);
|
|
26
|
-
sel(o: any): void;
|
|
27
|
-
ok(): void;
|
|
28
|
-
ngAfterViewInit(): void;
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<win_pick_art, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<win_pick_art, "ng-component", never, {}, {}, never, never, true, never>;
|
|
31
|
-
}
|
|
@@ -1,32 +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 { QueryService } from '../../services/doquery.service';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class win_pick_cliente implements AfterViewInit {
|
|
8
|
-
dialogRef: MatDialogRef<win_pick_cliente>;
|
|
9
|
-
appService: AppService;
|
|
10
|
-
private toastr;
|
|
11
|
-
private _dataService;
|
|
12
|
-
data: any;
|
|
13
|
-
is_loading: boolean;
|
|
14
|
-
keyDownFunction(event: any): void;
|
|
15
|
-
close(): void;
|
|
16
|
-
searchtype: string;
|
|
17
|
-
cli_list: Array<any>;
|
|
18
|
-
ric: string;
|
|
19
|
-
flt_settore: string;
|
|
20
|
-
title: string;
|
|
21
|
-
b_edit: boolean;
|
|
22
|
-
b_ins: boolean;
|
|
23
|
-
edit_id: number;
|
|
24
|
-
columns: Array<any>;
|
|
25
|
-
query: string;
|
|
26
|
-
constructor(dialogRef: MatDialogRef<win_pick_cliente>, appService: AppService, toastr: ToastrService, _dataService: QueryService, data: any);
|
|
27
|
-
sel(o: any): void;
|
|
28
|
-
ok(): void;
|
|
29
|
-
ngAfterViewInit(): void;
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<win_pick_cliente, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<win_pick_cliente, "ng-component", never, {}, {}, never, never, true, never>;
|
|
32
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { OnInit } from "@angular/core";
|
|
2
|
-
import { FileService } from "../../services/dofile.service";
|
|
3
|
-
import { AppService } from "../../services/app.service";
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* Pannello "Documenti" della homepage: esplora la cartella documentale condivisa
|
|
7
|
-
* (navigazione cartelle + download file) tramite FileService.
|
|
8
|
-
*
|
|
9
|
-
* Endpoint e percorsi sono configurabili via @Input per riuso cross-cliente.
|
|
10
|
-
* L'endpoint API NON è obbligatorio: se non passato viene ricavato da
|
|
11
|
-
* AppService.API_ENDPOINT (lo stesso usato da QueryService/FileService).
|
|
12
|
-
*/
|
|
13
|
-
export declare class FHHomeDocsComponent implements OnInit {
|
|
14
|
-
private _dataService;
|
|
15
|
-
private appService;
|
|
16
|
-
accent: string;
|
|
17
|
-
accentDark: string;
|
|
18
|
-
get _a(): string;
|
|
19
|
-
get _ad(): string;
|
|
20
|
-
title: string;
|
|
21
|
-
tagLabel: string;
|
|
22
|
-
emptyTitle: string;
|
|
23
|
-
emptySub: string;
|
|
24
|
-
/**
|
|
25
|
-
* Base URL delle API per costruire l'URL di download (il suffisso "/api" viene rimosso).
|
|
26
|
-
* Opzionale: se vuoto si usa AppService.API_ENDPOINT.
|
|
27
|
-
*/
|
|
28
|
-
apiEndpoint: string;
|
|
29
|
-
/** Comando FileService per elencare i documenti. */
|
|
30
|
-
command: string;
|
|
31
|
-
/** Cartella radice da cui partire. */
|
|
32
|
-
rootPath: string;
|
|
33
|
-
/** Segmento di percorso aggiunto all'endpoint per il download. */
|
|
34
|
-
downloadSegment: string;
|
|
35
|
-
/** Percorso base delle icone tipo file. */
|
|
36
|
-
iconBasePath: string;
|
|
37
|
-
curr_path: string;
|
|
38
|
-
last_curr_path: string;
|
|
39
|
-
b_loading: boolean;
|
|
40
|
-
errorMsg: string;
|
|
41
|
-
dirs: Array<any>;
|
|
42
|
-
files: Array<any>;
|
|
43
|
-
constructor(_dataService: FileService, appService: AppService);
|
|
44
|
-
/** Endpoint effettivo: input esplicito oppure default da AppService. */
|
|
45
|
-
private get effectiveEndpoint();
|
|
46
|
-
ngOnInit(): void;
|
|
47
|
-
open_dir(item: any): void;
|
|
48
|
-
download_file(item: any): void;
|
|
49
|
-
ref_dirs(s: string): void;
|
|
50
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FHHomeDocsComponent, never>;
|
|
51
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FHHomeDocsComponent, "FHHomeDocs", never, { "accent": { "alias": "accent"; "required": false; }; "accentDark": { "alias": "accentDark"; "required": false; }; "title": { "alias": "title"; "required": false; }; "tagLabel": { "alias": "tagLabel"; "required": false; }; "emptyTitle": { "alias": "emptyTitle"; "required": false; }; "emptySub": { "alias": "emptySub"; "required": false; }; "apiEndpoint": { "alias": "apiEndpoint"; "required": false; }; "command": { "alias": "command"; "required": false; }; "rootPath": { "alias": "rootPath"; "required": false; }; "downloadSegment": { "alias": "downloadSegment"; "required": false; }; "iconBasePath": { "alias": "iconBasePath"; "required": false; }; }, {}, never, never, true, never>;
|
|
52
|
-
}
|
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, EventEmitter } from "@angular/core";
|
|
2
|
-
import { Router } from "@angular/router";
|
|
3
|
-
import { AppService } from "../../services/app.service";
|
|
4
|
-
import { AuthenticationService } from "../../services/login.service";
|
|
5
|
-
import { QueryService } from "../../services/doquery.service";
|
|
6
|
-
import { UtilityService } from "../../services/utility.service";
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/** Singola app esposta dal launcher. */
|
|
9
|
-
export interface FHLauncherApp {
|
|
10
|
-
id: number;
|
|
11
|
-
title: string;
|
|
12
|
-
link: string;
|
|
13
|
-
invisible?: boolean;
|
|
14
|
-
/** Icona FontAwesome specifica dell'app (da applications.app_icon, scelta con FHIconPicker); se assente si usa il logo categoria o boxIcon. */
|
|
15
|
-
appIcon?: string;
|
|
16
|
-
}
|
|
17
|
-
/** Categoria (cartella menu) che raggruppa le app. */
|
|
18
|
-
export interface FHLauncherCategory {
|
|
19
|
-
/** id_category (dalla tabella applications_categories). */
|
|
20
|
-
id: number | null;
|
|
21
|
-
name: string;
|
|
22
|
-
title: string;
|
|
23
|
-
faIcon: string;
|
|
24
|
-
mdIcon: string;
|
|
25
|
-
color: string;
|
|
26
|
-
/** Logo categoria (se configurato in v_category_logos). */
|
|
27
|
-
logoUrl?: string;
|
|
28
|
-
logoFilename?: string;
|
|
29
|
-
/** True se la categoria va renderizzata "a box" (precalcolato, vedi boxCategoryIds). */
|
|
30
|
-
isBox?: boolean;
|
|
31
|
-
apps: FHLauncherApp[];
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Elenco applicazioni per la homepage (launcher a colonne "masonry").
|
|
35
|
-
*
|
|
36
|
-
* Legge il menu applicativo dell'utente tramite le query standard FluxHub
|
|
37
|
-
* (SELECT_USER_ACCESS + SELECT_ALL_APPS_USER / SELECT_APPS_USER, in query.ini).
|
|
38
|
-
* I nomi delle query e l'aspetto sono configurabili via @Input per riuso cross-cliente.
|
|
39
|
-
*
|
|
40
|
-
* Uso: <FHHomeLauncher [appVersion]="costanti.VER"></FHHomeLauncher>
|
|
41
|
-
*/
|
|
42
|
-
export declare class FHHomeLauncherComponent implements AfterViewInit {
|
|
43
|
-
appService: AppService;
|
|
44
|
-
private _service;
|
|
45
|
-
private _dataService;
|
|
46
|
-
private _utility;
|
|
47
|
-
private router;
|
|
48
|
-
accent: string;
|
|
49
|
-
accentDark: string;
|
|
50
|
-
ink: string;
|
|
51
|
-
get _a(): string;
|
|
52
|
-
get _ad(): string;
|
|
53
|
-
get _ink(): string;
|
|
54
|
-
/** Mostra l'indice numerato (01, 02, ...) accanto al titolo categoria. */
|
|
55
|
-
showIndex: boolean;
|
|
56
|
-
/** Larghezza colonna masonry (px). */
|
|
57
|
-
columnWidth: number;
|
|
58
|
-
/** Spazio tra colonne (px). */
|
|
59
|
-
columnGap: number;
|
|
60
|
-
/**
|
|
61
|
-
* Elenco di id_category da renderizzare "a box" (card) invece che come
|
|
62
|
-
* elenco testuale. Es. [23] per la categoria Offerte. Accetta numeri o stringhe.
|
|
63
|
-
*/
|
|
64
|
-
boxCategoryIds: Array<number | string>;
|
|
65
|
-
/** Icona Material Symbols mostrata nel box quando la categoria non ha un logo. */
|
|
66
|
-
boxIcon: string;
|
|
67
|
-
/** Etichetta dell'azione nel box (sotto al titolo). */
|
|
68
|
-
boxActionLabel: string;
|
|
69
|
-
/**
|
|
70
|
-
* Abilita la gestione dei preferiti: ogni categoria mostra un cuore; le
|
|
71
|
-
* categorie preferite sono renderizzate "a box". Le preferenze sono persistite
|
|
72
|
-
* per utente (tabella wkf_user_category_prefs, JSON di id_category).
|
|
73
|
-
* Quando true, l'aspetto a box è guidato dai preferiti dell'utente; se l'utente
|
|
74
|
-
* non ha mai personalizzato, si usa [boxCategoryIds] come default.
|
|
75
|
-
*/
|
|
76
|
-
enableFavorites: boolean;
|
|
77
|
-
/** Query (query.ini) che legge le preferenze: SELECT fav_categories WHERE username=@VAL1. */
|
|
78
|
-
sqlCatPrefsGet: string;
|
|
79
|
-
/** Query (query.ini) di upsert: @VAL1=username, @VAL2=JSON array di id_category. */
|
|
80
|
-
sqlCatPrefsSave: string;
|
|
81
|
-
/** Tooltip del cuore quando la categoria NON è preferita. */
|
|
82
|
-
favoriteTooltip: string;
|
|
83
|
-
/** Tooltip del cuore quando la categoria È preferita. */
|
|
84
|
-
unfavoriteTooltip: string;
|
|
85
|
-
/**
|
|
86
|
-
* Colore di sfondo della superficie del launcher.
|
|
87
|
-
* "" (default) = trasparente: il launcher eredita lo sfondo della pagina.
|
|
88
|
-
*/
|
|
89
|
-
background: string;
|
|
90
|
-
/**
|
|
91
|
-
* Mostra la trama a griglia ("piastrelle") dietro il launcher.
|
|
92
|
-
* true = griglia visibile; false (default) = nessuna griglia (aspetto attuale).
|
|
93
|
-
*/
|
|
94
|
-
showGridBackground: boolean;
|
|
95
|
-
sqlUserAccess: string;
|
|
96
|
-
sqlAllApps: string;
|
|
97
|
-
sqlApps: string;
|
|
98
|
-
sqlAccessLog: string;
|
|
99
|
-
/** Versione applicativa registrata nel log di accesso (di solito costanti.VER). */
|
|
100
|
-
appVersion: string;
|
|
101
|
-
/** Emesso quando l'utente apre un'app (dopo log e navigazione). */
|
|
102
|
-
appOpen: EventEmitter<FHLauncherApp>;
|
|
103
|
-
categories: FHLauncherCategory[];
|
|
104
|
-
is_loaded: boolean;
|
|
105
|
-
/** Set degli id_category preferiti (effettivi: salvati dall'utente o default). */
|
|
106
|
-
private favoriteIds;
|
|
107
|
-
/** True se l'utente ha già personalizzato le preferenze (riga presente in DB). */
|
|
108
|
-
private hasUserPref;
|
|
109
|
-
constructor(appService: AppService, _service: AuthenticationService, _dataService: QueryService, _utility: UtilityService, router: Router);
|
|
110
|
-
ngAfterViewInit(): void;
|
|
111
|
-
private bootstrap;
|
|
112
|
-
private load_user_then_menu;
|
|
113
|
-
private load_prefs_then_menu;
|
|
114
|
-
/** Normalizza il valore fav_categories (JSON string o array già parsato) in un Set di numeri. */
|
|
115
|
-
private parseFavorites;
|
|
116
|
-
private build_menu;
|
|
117
|
-
/**
|
|
118
|
-
* Classe CSS FontAwesome per l'icona dell'app. Il valore (applications.app_icon,
|
|
119
|
-
* scelto con FHIconPicker) puo` essere: classe completa ("fa-solid fa-clipboard",
|
|
120
|
-
* "fa-brands fa-github"), nome con prefisso ("fa-clipboard") o nome semplice
|
|
121
|
-
* ("clipboard"). Se manca lo stile assume "fa-solid".
|
|
122
|
-
*/
|
|
123
|
-
appIconClass(v: string): string;
|
|
124
|
-
/**
|
|
125
|
-
* True se la categoria va renderizzata "a box". Con i preferiti abilitati
|
|
126
|
-
* dipende dai preferiti dell'utente (favoriteIds); altrimenti da [boxCategoryIds].
|
|
127
|
-
*/
|
|
128
|
-
private isBoxCat;
|
|
129
|
-
/** Toggle preferito su una categoria: aggiorna l'aspetto e persiste subito. */
|
|
130
|
-
toggleFavorite(cat: FHLauncherCategory, ev: Event): void;
|
|
131
|
-
/** Persiste le preferenze correnti (upsert username + JSON array di id_category). */
|
|
132
|
-
private save_prefs;
|
|
133
|
-
open_app(app: FHLauncherApp): void;
|
|
134
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FHHomeLauncherComponent, never>;
|
|
135
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FHHomeLauncherComponent, "FHHomeLauncher", never, { "accent": { "alias": "accent"; "required": false; }; "accentDark": { "alias": "accentDark"; "required": false; }; "ink": { "alias": "ink"; "required": false; }; "showIndex": { "alias": "showIndex"; "required": false; }; "columnWidth": { "alias": "columnWidth"; "required": false; }; "columnGap": { "alias": "columnGap"; "required": false; }; "boxCategoryIds": { "alias": "boxCategoryIds"; "required": false; }; "boxIcon": { "alias": "boxIcon"; "required": false; }; "boxActionLabel": { "alias": "boxActionLabel"; "required": false; }; "enableFavorites": { "alias": "enableFavorites"; "required": false; }; "sqlCatPrefsGet": { "alias": "sqlCatPrefsGet"; "required": false; }; "sqlCatPrefsSave": { "alias": "sqlCatPrefsSave"; "required": false; }; "favoriteTooltip": { "alias": "favoriteTooltip"; "required": false; }; "unfavoriteTooltip": { "alias": "unfavoriteTooltip"; "required": false; }; "background": { "alias": "background"; "required": false; }; "showGridBackground": { "alias": "showGridBackground"; "required": false; }; "sqlUserAccess": { "alias": "sqlUserAccess"; "required": false; }; "sqlAllApps": { "alias": "sqlAllApps"; "required": false; }; "sqlApps": { "alias": "sqlApps"; "required": false; }; "sqlAccessLog": { "alias": "sqlAccessLog"; "required": false; }; "appVersion": { "alias": "appVersion"; "required": false; }; }, { "appOpen": "appOpen"; }, never, never, true, never>;
|
|
136
|
-
}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { OnInit } from "@angular/core";
|
|
2
|
-
import { ChartConfiguration, ChartDataset } from "chart.js";
|
|
3
|
-
import { AppService } from "../../services/app.service";
|
|
4
|
-
import { QueryService } from "../../services/doquery.service";
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
/**
|
|
7
|
-
* Pannello "La tua attività" della homepage: doughnut delle applicazioni
|
|
8
|
-
* utilizzate + grafico a linea degli step di workflow eseguiti nel periodo.
|
|
9
|
-
*
|
|
10
|
-
* Le due query (in query.ini) e i nomi dei campi sono configurabili via @Input.
|
|
11
|
-
* - Query app: campi `label`, `value` (rinominabili).
|
|
12
|
-
* - Query step: campi `giorno` (data ISO), `value` (rinominabili).
|
|
13
|
-
*/
|
|
14
|
-
export declare class FHHomeStatsComponent implements OnInit {
|
|
15
|
-
apps: AppService;
|
|
16
|
-
private queryService;
|
|
17
|
-
accent: string;
|
|
18
|
-
accentDark: string;
|
|
19
|
-
/** Palette del doughnut; il primo elemento dovrebbe coincidere con l'accent. */
|
|
20
|
-
pieColors: string[];
|
|
21
|
-
get _a(): string;
|
|
22
|
-
get _ad(): string;
|
|
23
|
-
appsTitle: string;
|
|
24
|
-
stepsTitle: string;
|
|
25
|
-
appsTag: string;
|
|
26
|
-
stepsTag: string;
|
|
27
|
-
appsEmptyTitle: string;
|
|
28
|
-
appsEmptySub: string;
|
|
29
|
-
stepsEmptyTitle: string;
|
|
30
|
-
stepsEmptySub: string;
|
|
31
|
-
/** Giorni indietro coperti dai grafici (default 30). */
|
|
32
|
-
days: number;
|
|
33
|
-
sqlApps: string;
|
|
34
|
-
sqlSteps: string;
|
|
35
|
-
appLabelField: string;
|
|
36
|
-
appValueField: string;
|
|
37
|
-
stepDayField: string;
|
|
38
|
-
stepValueField: string;
|
|
39
|
-
stepSeriesLabel: string;
|
|
40
|
-
loading: boolean;
|
|
41
|
-
error: boolean;
|
|
42
|
-
hasApps: boolean;
|
|
43
|
-
hasSteps: boolean;
|
|
44
|
-
periodoLabel: string;
|
|
45
|
-
subtitlePrefix: string;
|
|
46
|
-
pieLabels: string[];
|
|
47
|
-
pieDatasets: ChartDataset<"doughnut">[];
|
|
48
|
-
pieOptions: ChartConfiguration<"doughnut">["options"];
|
|
49
|
-
lineLabels: string[];
|
|
50
|
-
lineDatasets: ChartDataset<"line">[];
|
|
51
|
-
lineOptions: ChartConfiguration<"line">["options"];
|
|
52
|
-
constructor(apps: AppService, queryService: QueryService);
|
|
53
|
-
ngOnInit(): void;
|
|
54
|
-
private buildPeriodoLabel;
|
|
55
|
-
private tryLoad;
|
|
56
|
-
private load;
|
|
57
|
-
private buildPie;
|
|
58
|
-
private buildLine;
|
|
59
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FHHomeStatsComponent, never>;
|
|
60
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FHHomeStatsComponent, "FHHomeStats", never, { "accent": { "alias": "accent"; "required": false; }; "accentDark": { "alias": "accentDark"; "required": false; }; "pieColors": { "alias": "pieColors"; "required": false; }; "appsTitle": { "alias": "appsTitle"; "required": false; }; "stepsTitle": { "alias": "stepsTitle"; "required": false; }; "appsTag": { "alias": "appsTag"; "required": false; }; "stepsTag": { "alias": "stepsTag"; "required": false; }; "appsEmptyTitle": { "alias": "appsEmptyTitle"; "required": false; }; "appsEmptySub": { "alias": "appsEmptySub"; "required": false; }; "stepsEmptyTitle": { "alias": "stepsEmptyTitle"; "required": false; }; "stepsEmptySub": { "alias": "stepsEmptySub"; "required": false; }; "days": { "alias": "days"; "required": false; }; "sqlApps": { "alias": "sqlApps"; "required": false; }; "sqlSteps": { "alias": "sqlSteps"; "required": false; }; "appLabelField": { "alias": "appLabelField"; "required": false; }; "appValueField": { "alias": "appValueField"; "required": false; }; "stepDayField": { "alias": "stepDayField"; "required": false; }; "stepValueField": { "alias": "stepValueField"; "required": false; }; "stepSeriesLabel": { "alias": "stepSeriesLabel"; "required": false; }; }, {}, never, never, true, never>;
|
|
61
|
-
}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, EventEmitter } from "@angular/core";
|
|
2
|
-
import { AppService } from "../../services/app.service";
|
|
3
|
-
import { QueryService } from "../../services/doquery.service";
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* Pannello "Task / To-Do" della homepage: elenco delle attività dei workflow
|
|
7
|
-
* assegnate all'utente, con filtro per categoria.
|
|
8
|
-
*
|
|
9
|
-
* Le query (in query.ini) e i nomi dei campi restituiti sono configurabili via
|
|
10
|
-
* @Input, così ogni cliente può usare le proprie senza modificare il componente.
|
|
11
|
-
*
|
|
12
|
-
* Campi attesi nella riga task (rinominabili): oggetto, applicazione, data_ultimo_step, link.
|
|
13
|
-
* Campo categoria atteso: valore.
|
|
14
|
-
*/
|
|
15
|
-
export declare class FHHomeTodoComponent implements AfterViewInit {
|
|
16
|
-
private _dataService;
|
|
17
|
-
private app_service;
|
|
18
|
-
accent: string;
|
|
19
|
-
accentDark: string;
|
|
20
|
-
/** Colore del badge col conteggio sui chip categoria (default arancione). */
|
|
21
|
-
badgeColor: string;
|
|
22
|
-
get _a(): string;
|
|
23
|
-
get _ad(): string;
|
|
24
|
-
get _b(): string;
|
|
25
|
-
title: string;
|
|
26
|
-
subtitle: string;
|
|
27
|
-
tagLabel: string;
|
|
28
|
-
icon: string;
|
|
29
|
-
allLabel: string;
|
|
30
|
-
emptyTitle: string;
|
|
31
|
-
emptySub: string;
|
|
32
|
-
dateFormat: string;
|
|
33
|
-
showCategoryFilter: boolean;
|
|
34
|
-
sqlCategories: string;
|
|
35
|
-
sqlByUser: string;
|
|
36
|
-
sqlByUserCat: string;
|
|
37
|
-
fieldLabel: string;
|
|
38
|
-
fieldMeta: string;
|
|
39
|
-
fieldDate: string;
|
|
40
|
-
fieldLink: string;
|
|
41
|
-
/** Campo che contiene il nome categoria nella query categorie. */
|
|
42
|
-
fieldCategory: string;
|
|
43
|
-
/** Campo (opzionale) col conteggio per categoria: se presente e > 0 mostra un badge. */
|
|
44
|
-
fieldCategoryCount: string;
|
|
45
|
-
/** Emesso quando l'utente apre un task. */
|
|
46
|
-
todoOpen: EventEmitter<any>;
|
|
47
|
-
username: string | undefined;
|
|
48
|
-
todos: any[] | undefined;
|
|
49
|
-
errorMsg: string;
|
|
50
|
-
categories: any[];
|
|
51
|
-
selectedCat: string;
|
|
52
|
-
/** Totale per il badge del chip "Tutti": somma dei conteggi di categoria. */
|
|
53
|
-
get totalCount(): number;
|
|
54
|
-
constructor(_dataService: QueryService, app_service: AppService);
|
|
55
|
-
ngAfterViewInit(): void;
|
|
56
|
-
load_todos(): void;
|
|
57
|
-
fetch_todos(cat: string): void;
|
|
58
|
-
select_cat(cat: string): void;
|
|
59
|
-
open(o: any): void;
|
|
60
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FHHomeTodoComponent, never>;
|
|
61
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FHHomeTodoComponent, "FHHomeTodo", never, { "accent": { "alias": "accent"; "required": false; }; "accentDark": { "alias": "accentDark"; "required": false; }; "badgeColor": { "alias": "badgeColor"; "required": false; }; "title": { "alias": "title"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "tagLabel": { "alias": "tagLabel"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "allLabel": { "alias": "allLabel"; "required": false; }; "emptyTitle": { "alias": "emptyTitle"; "required": false; }; "emptySub": { "alias": "emptySub"; "required": false; }; "dateFormat": { "alias": "dateFormat"; "required": false; }; "showCategoryFilter": { "alias": "showCategoryFilter"; "required": false; }; "sqlCategories": { "alias": "sqlCategories"; "required": false; }; "sqlByUser": { "alias": "sqlByUser"; "required": false; }; "sqlByUserCat": { "alias": "sqlByUserCat"; "required": false; }; "fieldLabel": { "alias": "fieldLabel"; "required": false; }; "fieldMeta": { "alias": "fieldMeta"; "required": false; }; "fieldDate": { "alias": "fieldDate"; "required": false; }; "fieldLink": { "alias": "fieldLink"; "required": false; }; "fieldCategory": { "alias": "fieldCategory"; "required": false; }; "fieldCategoryCount": { "alias": "fieldCategoryCount"; "required": false; }; }, { "todoOpen": "todoOpen"; }, never, never, true, never>;
|
|
62
|
-
}
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, EventEmitter } from "@angular/core";
|
|
2
|
-
import { QueryService } from "../../services/doquery.service";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/** Voce del selettore "filtra per": etichetta mostrata e query da eseguire. */
|
|
5
|
-
export interface FiltroMailArchiviata {
|
|
6
|
-
etichetta: string;
|
|
7
|
-
sql: string;
|
|
8
|
-
/** Testo di aiuto nella casella del valore. */
|
|
9
|
-
placeholder?: string;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* Elenco delle mail archiviate dal Mail Archiver, filtrabile.
|
|
13
|
-
*
|
|
14
|
-
* Legge le tabelle `fh_mail_archiver_*`, che sono le stesse su ogni portale che
|
|
15
|
-
* installa l'archiviatore: per questo i nomi delle colonne NON sono configurabili,
|
|
16
|
-
* a differenza dei componenti della homepage. Sono il contratto del prodotto.
|
|
17
|
-
*
|
|
18
|
-
* Il filtro segue l'idioma della libreria (`[sql]` + `[valore]`, come FHComboBox e
|
|
19
|
-
* FHList): una query per tipo di filtro, cosi ognuna resta indicizzabile e si evita
|
|
20
|
-
* il classico `(@VAL1='' OR colonna LIKE ...)` che manda in scansione completa.
|
|
21
|
-
*
|
|
22
|
-
* Colonne attese dalla query (vista `v_fh_mail_archiver`):
|
|
23
|
-
* id, received_at, subject, sender_name, sender_email, client_name,
|
|
24
|
-
* contatti, pratiche, rilevanza, has_attachments, archived_at, archived_by
|
|
25
|
-
*/
|
|
26
|
-
export declare class FHMailArchivedComponent implements AfterViewInit {
|
|
27
|
-
private _dataService;
|
|
28
|
-
accent: string;
|
|
29
|
-
accentDark: string;
|
|
30
|
-
get _a(): string;
|
|
31
|
-
get _ad(): string;
|
|
32
|
-
/** Query di partenza. Deve gia contenere ORDER BY e LIMIT. */
|
|
33
|
-
sql: string;
|
|
34
|
-
/**
|
|
35
|
-
* @VAL1 della query di partenza: e il *contesto*, non il filtro dell'utente.
|
|
36
|
-
* Serve quando il componente vive dentro una scheda gia circoscritta — per
|
|
37
|
-
* esempio dentro l'anagrafica di un cliente, dove passa l'id di quel cliente.
|
|
38
|
-
* Lasciarlo vuoto se la query di partenza non ha parametri.
|
|
39
|
-
*/
|
|
40
|
-
valoreBase: string;
|
|
41
|
-
/** Valore digitato dall'utente, passato come @VAL1 alla query del filtro attivo. */
|
|
42
|
-
valore: string;
|
|
43
|
-
/**
|
|
44
|
-
* Filtri offerti dal selettore. Lasciandolo vuoto il componente e una tabella
|
|
45
|
-
* pura: la UI di filtro la disegna il portale e pilota [sql] e [valore].
|
|
46
|
-
*/
|
|
47
|
-
filtri: FiltroMailArchiviata[];
|
|
48
|
-
/** Deve combaciare col LIMIT delle query: serve solo a dichiarare il troncamento. */
|
|
49
|
-
limite: number;
|
|
50
|
-
autoLoad: boolean;
|
|
51
|
-
title: string;
|
|
52
|
-
icon: string;
|
|
53
|
-
tuttiLabel: string;
|
|
54
|
-
cercaLabel: string;
|
|
55
|
-
cercaPlaceholder: string;
|
|
56
|
-
apriTooltip: string;
|
|
57
|
-
senzaOggetto: string;
|
|
58
|
-
emptyTitle: string;
|
|
59
|
-
emptySub: string;
|
|
60
|
-
troncatoLabel: string;
|
|
61
|
-
dateFormat: string;
|
|
62
|
-
colData: string;
|
|
63
|
-
colOggetto: string;
|
|
64
|
-
colCliente: string;
|
|
65
|
-
colContatti: string;
|
|
66
|
-
colPratiche: string;
|
|
67
|
-
colRilevanza: string;
|
|
68
|
-
/**
|
|
69
|
-
* Riga aperta. L'anteprima della mail la gestisce il portale: passa dalla utility
|
|
70
|
-
* mail_reader via exec_app, che e idraulica del singolo server e non ha senso
|
|
71
|
-
* dentro la libreria.
|
|
72
|
-
*/
|
|
73
|
-
apriMail: EventEmitter<any>;
|
|
74
|
-
righe: any[] | undefined;
|
|
75
|
-
filtroAttivo: FiltroMailArchiviata | null;
|
|
76
|
-
troncato: boolean;
|
|
77
|
-
errorMsg: string;
|
|
78
|
-
constructor(_dataService: QueryService);
|
|
79
|
-
ngAfterViewInit(): void;
|
|
80
|
-
/** Ricarica l'elenco con il filtro attivo. Pubblica: la chiama anche il portale. */
|
|
81
|
-
carica(): void;
|
|
82
|
-
cambiaFiltro(): void;
|
|
83
|
-
apri(riga: any): void;
|
|
84
|
-
stelle(n: any): string;
|
|
85
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FHMailArchivedComponent, never>;
|
|
86
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FHMailArchivedComponent, "FHMailArchived", never, { "accent": { "alias": "accent"; "required": false; }; "accentDark": { "alias": "accentDark"; "required": false; }; "sql": { "alias": "sql"; "required": false; }; "valoreBase": { "alias": "valoreBase"; "required": false; }; "valore": { "alias": "valore"; "required": false; }; "filtri": { "alias": "filtri"; "required": false; }; "limite": { "alias": "limite"; "required": false; }; "autoLoad": { "alias": "autoLoad"; "required": false; }; "title": { "alias": "title"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "tuttiLabel": { "alias": "tuttiLabel"; "required": false; }; "cercaLabel": { "alias": "cercaLabel"; "required": false; }; "cercaPlaceholder": { "alias": "cercaPlaceholder"; "required": false; }; "apriTooltip": { "alias": "apriTooltip"; "required": false; }; "senzaOggetto": { "alias": "senzaOggetto"; "required": false; }; "emptyTitle": { "alias": "emptyTitle"; "required": false; }; "emptySub": { "alias": "emptySub"; "required": false; }; "troncatoLabel": { "alias": "troncatoLabel"; "required": false; }; "dateFormat": { "alias": "dateFormat"; "required": false; }; "colData": { "alias": "colData"; "required": false; }; "colOggetto": { "alias": "colOggetto"; "required": false; }; "colCliente": { "alias": "colCliente"; "required": false; }; "colContatti": { "alias": "colContatti"; "required": false; }; "colPratiche": { "alias": "colPratiche"; "required": false; }; "colRilevanza": { "alias": "colRilevanza"; "required": false; }; }, { "apriMail": "apriMail"; }, never, never, true, never>;
|
|
87
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { MatDialogRef } from '@angular/material/dialog';
|
|
3
|
-
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
4
|
-
import { AppService } from '../../services/app.service';
|
|
5
|
-
import { FileService } from '../../services/dofile.service';
|
|
6
|
-
import { DialogButton, DialogBeforeCloseEvent } from '../../controls/dialog-base/dialog-base.component';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* Anteprima di una mail archiviata (Mail Archiver).
|
|
10
|
-
*
|
|
11
|
-
* L'archivio conserva l'`.eml` originale, che non si mostra a video: la resa la
|
|
12
|
-
* produce l'utility `mail_reader` lanciata con `exec_app`, che restituisce l'HTML
|
|
13
|
-
* sullo stdout. Nessun file finisce nella docroot — le mail archiviate sarebbero
|
|
14
|
-
* altrimenti scaricabili senza autenticazione.
|
|
15
|
-
*/
|
|
16
|
-
export declare class FHMailPreviewComponent implements OnInit {
|
|
17
|
-
dialogRef: MatDialogRef<FHMailPreviewComponent>;
|
|
18
|
-
private fileService;
|
|
19
|
-
private sanitizer;
|
|
20
|
-
appService: AppService;
|
|
21
|
-
data: any;
|
|
22
|
-
titolo: string;
|
|
23
|
-
html: SafeHtml | null;
|
|
24
|
-
errore: string;
|
|
25
|
-
caricamento: boolean;
|
|
26
|
-
scaricando: boolean;
|
|
27
|
-
allegati: any[];
|
|
28
|
-
buttons: DialogButton[];
|
|
29
|
-
private aggiornaPulsanti;
|
|
30
|
-
constructor(dialogRef: MatDialogRef<FHMailPreviewComponent>, fileService: FileService, sanitizer: DomSanitizer, appService: AppService, data: any);
|
|
31
|
-
ngOnInit(): void;
|
|
32
|
-
/**
|
|
33
|
-
* Elenco degli allegati per la barra cliccabile. Chiamata separata e leggera:
|
|
34
|
-
* restituisce solo nomi e pesi, non i byte, che si leggono al momento del
|
|
35
|
-
* download — un allegato da 20 MB non va tirato giu per disegnare un pulsante.
|
|
36
|
-
*/
|
|
37
|
-
private caricaAllegati;
|
|
38
|
-
scaricaAllegato(a: any): void;
|
|
39
|
-
peso(byteCount: number): string;
|
|
40
|
-
/** atob non regge gli accenti: si passa dai byte, non dai caratteri. */
|
|
41
|
-
private daBase64;
|
|
42
|
-
onBeforeClose(event: DialogBeforeCloseEvent): void;
|
|
43
|
-
/**
|
|
44
|
-
* Scarica l'.eml originale. Passa da mail_reader --originale invece che da un
|
|
45
|
-
* link diretto: il file sta fuori dalla docroot apposta, e servirlo via URL lo
|
|
46
|
-
* renderebbe scaricabile senza autenticazione.
|
|
47
|
-
*/
|
|
48
|
-
private scarica;
|
|
49
|
-
private salvaFile;
|
|
50
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FHMailPreviewComponent, never>;
|
|
51
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FHMailPreviewComponent, "FHMailPreview", never, {}, {}, never, never, true, never>;
|
|
52
|
-
}
|