@fluxhub/fluxhub-lib 19.0.141 → 19.0.142
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.
|
@@ -33907,7 +33907,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
33907
33907
|
class FHWorkflowHeaderBar {
|
|
33908
33908
|
m_appService;
|
|
33909
33909
|
_trs;
|
|
33910
|
-
|
|
33910
|
+
_custom_commands = [];
|
|
33911
|
+
set custom_commands(value) {
|
|
33912
|
+
this._custom_commands = value;
|
|
33913
|
+
this.set_custom_buttons();
|
|
33914
|
+
}
|
|
33915
|
+
get custom_commands() {
|
|
33916
|
+
return this._custom_commands;
|
|
33917
|
+
}
|
|
33911
33918
|
dt_agg = null;
|
|
33912
33919
|
edit_button = false;
|
|
33913
33920
|
in_carico = false;
|
|
@@ -33947,7 +33954,6 @@ class FHWorkflowHeaderBar {
|
|
|
33947
33954
|
this.command.emit({ cmd: command });
|
|
33948
33955
|
}
|
|
33949
33956
|
set_custom_buttons() {
|
|
33950
|
-
console.log('set_custom_buttons ', this.custom_commands);
|
|
33951
33957
|
this.custom_commands_pri = [];
|
|
33952
33958
|
this.custom_commands_sec = [];
|
|
33953
33959
|
this.custom_commands.forEach((v) => {
|
|
@@ -34016,9 +34022,6 @@ class FHWorkflowHeaderBar {
|
|
|
34016
34022
|
constructor(m_appService, _trs) {
|
|
34017
34023
|
this.m_appService = m_appService;
|
|
34018
34024
|
this._trs = _trs;
|
|
34019
|
-
if (this.custom_commands != null)
|
|
34020
|
-
if (this.custom_commands.length > 0)
|
|
34021
|
-
this.set_custom_buttons();
|
|
34022
34025
|
}
|
|
34023
34026
|
ngAfterViewInit() {
|
|
34024
34027
|
setTimeout(() => {
|