@fluxhub/fluxhub-lib 19.0.226 → 19.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.
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Posizione del pulsante custom nella header bar workflow:
|
|
3
|
+
* - 'left' : all'inizio, prima di "Salva" (equivale a primary = true)
|
|
4
|
+
* - 'actions' : nel gruppo delle azioni di flusso, tra "Respingi" e "Procedi"
|
|
5
|
+
* (utile per mettere un pulsante subito prima del tasto di avanzamento)
|
|
6
|
+
* - 'right' : in fondo a destra, dopo Info/Commenti/Allegati/Workflow (default)
|
|
7
|
+
*/
|
|
8
|
+
export type FHToolBarCustomActionPosition = 'left' | 'actions' | 'right';
|
|
1
9
|
export declare class FHToolBarCustomAction {
|
|
2
10
|
command: any;
|
|
3
11
|
label: string;
|
|
@@ -5,4 +13,5 @@ export declare class FHToolBarCustomAction {
|
|
|
5
13
|
icon?: string;
|
|
6
14
|
hidden?: boolean;
|
|
7
15
|
primary?: boolean;
|
|
16
|
+
position?: FHToolBarCustomActionPosition;
|
|
8
17
|
}
|
|
@@ -29,6 +29,7 @@ export declare class FHWorkflowHeaderBar implements AfterViewInit {
|
|
|
29
29
|
next_label_color: boolean;
|
|
30
30
|
tipologiaAllegati: string;
|
|
31
31
|
custom_commands_pri: FHToolBarCustomAction[];
|
|
32
|
+
custom_commands_mid: FHToolBarCustomAction[];
|
|
32
33
|
custom_commands_sec: FHToolBarCustomAction[];
|
|
33
34
|
back_lbl: string;
|
|
34
35
|
save_lbl: string;
|