@fluxhub/fluxhub-lib 1.0.505 → 1.0.507
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/bundles/fluxhub-fluxhub-lib.umd.js +28 -10
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/lib/controls/fhgrid.js +2 -2
- package/esm2015/lib/controls/fhgrid_toolbar.js +2 -2
- package/esm2015/lib/wkf_engine/wkfapp.js +23 -10
- package/esm5/lib/controls/fhgrid.js +2 -2
- package/esm5/lib/controls/fhgrid_toolbar.js +2 -2
- package/esm5/lib/wkf_engine/wkfapp.js +27 -9
- package/fesm2015/fluxhub-fluxhub-lib.js +24 -11
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +28 -10
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/wkf_engine/wkfapp.d.ts +1 -0
- package/package.json +1 -1
|
@@ -5706,8 +5706,7 @@ wkfapp = /** @class */ (function () {
|
|
|
5706
5706
|
ccan = this.wax[0].gruppo_parallelo;
|
|
5707
5707
|
}
|
|
5708
5708
|
console.log('riassegnazione canale: ', ccan);
|
|
5709
|
-
|
|
5710
|
-
var p = new QParam();
|
|
5709
|
+
p = new QParam();
|
|
5711
5710
|
p.sql = "UPDATE_RIASS_DOCUMENTO";
|
|
5712
5711
|
p.types = ['string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', ccan];
|
|
5713
5712
|
p.values = [this.os_r.livello, this.os_r.descri_livello, a_let, a_aut, this.os_r.descri_livello, a_pers_inti, a_partecipanti, this.get_grid().sRow.id_applicativo, this.get_grid().sRow.uiid];
|
|
@@ -5730,8 +5729,7 @@ wkfapp = /** @class */ (function () {
|
|
|
5730
5729
|
function (err) {
|
|
5731
5730
|
console.log("ERRORE DI CONNESSIONE CON IL SERVER.RITENTARE PIU' TARDI");
|
|
5732
5731
|
}));
|
|
5733
|
-
|
|
5734
|
-
var p = new QParam();
|
|
5732
|
+
p = new QParam();
|
|
5735
5733
|
p.sql = "INSERT_WKF_COMMENTO";
|
|
5736
5734
|
p.types = ['string', 'string', 'string', 'string', 'string'];
|
|
5737
5735
|
p.values = [this.id_applicativo, this.get_grid().sRow.uiid, 'Documento riassegnato, commento:\n' + this.nota_wax, this.user_idp, ''];
|
|
@@ -5753,8 +5751,7 @@ wkfapp = /** @class */ (function () {
|
|
|
5753
5751
|
console.log("ERRORE DI CONNESSIONE CON IL SERVER.RITENTARE PIU' TARDI");
|
|
5754
5752
|
}));
|
|
5755
5753
|
if (this.wax.length > 0) {
|
|
5756
|
-
|
|
5757
|
-
var p = new QParam();
|
|
5754
|
+
p = new QParam();
|
|
5758
5755
|
p.sql = "UPDATE_RIASSEGNA_TODO";
|
|
5759
5756
|
p.types = ['string', 'string'];
|
|
5760
5757
|
p.values = [this.wax[0].idp, this.get_grid().sRow.uiid];
|
|
@@ -6153,6 +6150,27 @@ wkfapp = /** @class */ (function () {
|
|
|
6153
6150
|
*/
|
|
6154
6151
|
function () { _this.run_grid(); }), 500);
|
|
6155
6152
|
};
|
|
6153
|
+
/**
|
|
6154
|
+
* @private
|
|
6155
|
+
* @return {?}
|
|
6156
|
+
*/
|
|
6157
|
+
wkfapp.prototype.self_ok = /**
|
|
6158
|
+
* @private
|
|
6159
|
+
* @return {?}
|
|
6160
|
+
*/
|
|
6161
|
+
function () {
|
|
6162
|
+
var _this = this;
|
|
6163
|
+
if (this.get_grid() != null) {
|
|
6164
|
+
this.get_grid().refresh_access(this);
|
|
6165
|
+
return;
|
|
6166
|
+
}
|
|
6167
|
+
setTimeout((/**
|
|
6168
|
+
* @return {?}
|
|
6169
|
+
*/
|
|
6170
|
+
function () {
|
|
6171
|
+
_this.self_ok();
|
|
6172
|
+
}), 500);
|
|
6173
|
+
};
|
|
6156
6174
|
/**
|
|
6157
6175
|
* @private
|
|
6158
6176
|
* @return {?}
|
|
@@ -6168,7 +6186,7 @@ wkfapp = /** @class */ (function () {
|
|
|
6168
6186
|
if (this.app_s.getState().wkf_obj != null)
|
|
6169
6187
|
if (this.app_s.getState().wkf_obj.codice_app == this.m_cod_documento) {
|
|
6170
6188
|
this.restore_state_wkf();
|
|
6171
|
-
this.
|
|
6189
|
+
this.self_ok();
|
|
6172
6190
|
this.run_grid();
|
|
6173
6191
|
return;
|
|
6174
6192
|
}
|
|
@@ -6283,7 +6301,7 @@ wkfapp = /** @class */ (function () {
|
|
|
6283
6301
|
}
|
|
6284
6302
|
}
|
|
6285
6303
|
console.log('REFRESH ACCESS!');
|
|
6286
|
-
_this.
|
|
6304
|
+
_this.self_ok();
|
|
6287
6305
|
}
|
|
6288
6306
|
}));
|
|
6289
6307
|
}
|
|
@@ -8437,7 +8455,7 @@ var FHGridComponent = /** @class */ (function () {
|
|
|
8437
8455
|
FHGridComponent.decorators = [
|
|
8438
8456
|
{ type: Component, args: [{
|
|
8439
8457
|
selector: 'FHGrid',
|
|
8440
|
-
template: "\r\n<div fxLayout=\"column\" fxFlexFill>\r\n\r\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"3px\" style=\"min-height: 55px\" [hidden]=\"!show_buttons\">\r\n \r\n <div>\r\n\t\t \t\t<h5>{{num_r}} {{label_elementi}}</h5>\r\n </div>\r\n \r\n\r\n\t\t\t<div>\t<input matInput [placeholder]=\"trova_label\" (keydown)=\"keyDownFunctioncl($event)\" [(ngModel)]=\"ric_libera\"\r\n\t\t\t\t\t\t\t style=\"min-width:100px;max-width:180px;border:1px solid;min-height:30px\"></div>\r\n <div matTooltip=\"REMOVE FILTER\" matTooltipPosition=\"above\" *ngIf=\"show_pulisci_filtri\" >\r\n \t\t\t<button mat-flat-button (click)=\"pulisci_filtri()\" color=\"warn\">\r\n\t\t\t\t<mat-icon>filter_none</mat-icon> \r\n\t\t\t</button>\r\n </div>\r\n <div fxHide fxShow.gt-sm matTooltip=\"AUTO SIZE\" matTooltipPosition=\"above\">\r\n \t\t\t<button mat-flat-button (click)=\"autoSizeAll()\" color=\"primary\"\r\n *ngIf=\"show_buttons\">\r\n\t\t\t\t<mat-icon>compare_arrows</mat-icon>\r\n\t\t\t</button>\r\n </div>\r\n <div fxHide fxShow.gt-sm matTooltip=\"FIT SIZE\" matTooltipPosition=\"above\">\r\n\t \t\t<button mat-flat-button (click)=\"fitSizeAll()\" color=\"primary\"\r\n *ngIf=\"show_buttons\">\r\n\t\t\t\t<mat-icon>keyboard_tab</mat-icon>\r\n\t\t\t</button>\r\n </div>\r\n <div fxHide fxShow.gt-sm matTooltip=\"Refresh\" matTooltipPosition=\"above\">\r\n <button mat-flat-button (click)=\"Refresh()\" color=\"primary\"\r\n *ngIf=\"show_buttons\">\r\n <mat-icon>autorenew</mat-icon>\r\n </button>\r\n </div>\r\n <FHFilterComboBox fxHide fxShow.gt-sm [hidden]='!show_buttons' (selchange)=\"ch_config()\" (fillend)=\"fe_cfg()\" #gf init_fill=\"false\"></FHFilterComboBox>\r\n\t\t\t\t<div matTooltip=\"Modifica Preferenza\" matTooltipPosition=\"above\" *ngIf=\"curr_config!='-1'\">\r\n\t\t\t\t\t<button mat-icon-button *ngIf=\"show_buttons\"\r\n\t\t\t\t\t\t\t\t\tstyle=\"color:rgb(248, 105, 10)\">\r\n\t\t\t\t\t\t<mat-icon (click)=\"edit_config()\">save</mat-icon>\r\n </button>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div fxHide fxShow.gt-sm matTooltip=\"Crea Nuova Preferenza\" matTooltipPosition=\"above\">\r\n\t\t\t\t\t<button mat-icon-button style=\"color:rgb(16, 98, 16)\" *ngIf=\"show_buttons\">\r\n\t\t\t\t\t\t<mat-icon (click)=\"insert_config()\">library_add</mat-icon>\r\n\t\t\t\t\t</button>\r\n\t\t\t\t</div>\r\n\r\n <mat-slide-toggle fxHide fxShow.gt-sm [hidden]='!show_buttons' (click)=\"ck_flag()\" #toggle_mantieni>\r\n\t\t\t\t\t{{mantieni_impostazioni}}\r\n\t\t\t\t</mat-slide-toggle>\r\n\r\n\r\n \t \t<div fxHide fxShow.gt-sm matTooltip=\"HELP\" matTooltipPosition=\"above\">\r\n <button mat-flat-button (click)=\"help_window()\" color=\"primary\" *ngIf=\"show_buttons && show_help\" >\r\n\t\t\t<mat-icon>help</mat-icon>\r\n </button></div> \r\n <div *ngIf=\"abilita_export\" matTooltip=\"EXPORT EXCEL\" matTooltipPosition=\"above\">\r\n <img src=\"assets/icons/square-o/xlsx.svg\" style=\"width:24px;height: 24px;cursor:pointer;\" (click)=\"export_excel()\" alt=\"Export Excel\">\r\n </div>\r\n\r\n <div fxLayout=\"row\" fxLayoutAlign=\"end center\"
|
|
8458
|
+
template: "\r\n<div fxLayout=\"column\" fxFlexFill>\r\n\r\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"3px\" style=\"min-height: 55px\" [hidden]=\"!show_buttons\">\r\n \r\n <div>\r\n\t\t \t\t<h5>{{num_r}} {{label_elementi}}</h5>\r\n </div>\r\n \r\n\r\n\t\t\t<div>\t<input matInput [placeholder]=\"trova_label\" (keydown)=\"keyDownFunctioncl($event)\" [(ngModel)]=\"ric_libera\"\r\n\t\t\t\t\t\t\t style=\"min-width:100px;max-width:180px;border:1px solid;min-height:30px\"></div>\r\n <div matTooltip=\"REMOVE FILTER\" matTooltipPosition=\"above\" *ngIf=\"show_pulisci_filtri\" >\r\n \t\t\t<button mat-flat-button (click)=\"pulisci_filtri()\" color=\"warn\">\r\n\t\t\t\t<mat-icon>filter_none</mat-icon> \r\n\t\t\t</button>\r\n </div>\r\n <div fxHide fxShow.gt-sm matTooltip=\"AUTO SIZE\" matTooltipPosition=\"above\">\r\n \t\t\t<button mat-flat-button (click)=\"autoSizeAll()\" color=\"primary\"\r\n *ngIf=\"show_buttons\">\r\n\t\t\t\t<mat-icon>compare_arrows</mat-icon>\r\n\t\t\t</button>\r\n </div>\r\n <div fxHide fxShow.gt-sm matTooltip=\"FIT SIZE\" matTooltipPosition=\"above\">\r\n\t \t\t<button mat-flat-button (click)=\"fitSizeAll()\" color=\"primary\"\r\n *ngIf=\"show_buttons\">\r\n\t\t\t\t<mat-icon>keyboard_tab</mat-icon>\r\n\t\t\t</button>\r\n </div>\r\n <div fxHide fxShow.gt-sm matTooltip=\"Refresh\" matTooltipPosition=\"above\">\r\n <button mat-flat-button (click)=\"Refresh()\" color=\"primary\"\r\n *ngIf=\"show_buttons\">\r\n <mat-icon>autorenew</mat-icon>\r\n </button>\r\n </div>\r\n <FHFilterComboBox fxHide fxShow.gt-sm [hidden]='!show_buttons' (selchange)=\"ch_config()\" (fillend)=\"fe_cfg()\" #gf init_fill=\"false\"></FHFilterComboBox>\r\n\t\t\t\t<div matTooltip=\"Modifica Preferenza\" matTooltipPosition=\"above\" *ngIf=\"curr_config!='-1'\">\r\n\t\t\t\t\t<button mat-icon-button *ngIf=\"show_buttons\"\r\n\t\t\t\t\t\t\t\t\tstyle=\"color:rgb(248, 105, 10)\">\r\n\t\t\t\t\t\t<mat-icon (click)=\"edit_config()\">save</mat-icon>\r\n </button>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div fxHide fxShow.gt-sm matTooltip=\"Crea Nuova Preferenza\" matTooltipPosition=\"above\">\r\n\t\t\t\t\t<button mat-icon-button style=\"color:rgb(16, 98, 16)\" *ngIf=\"show_buttons\">\r\n\t\t\t\t\t\t<mat-icon (click)=\"insert_config()\">library_add</mat-icon>\r\n\t\t\t\t\t</button>\r\n\t\t\t\t</div>\r\n\r\n <mat-slide-toggle fxHide fxShow.gt-sm [hidden]='!show_buttons' (click)=\"ck_flag()\" #toggle_mantieni>\r\n\t\t\t\t\t{{mantieni_impostazioni}}\r\n\t\t\t\t</mat-slide-toggle>\r\n\r\n\r\n \t \t<div fxHide fxShow.gt-sm matTooltip=\"HELP\" matTooltipPosition=\"above\">\r\n <button mat-flat-button (click)=\"help_window()\" color=\"primary\" *ngIf=\"show_buttons && show_help\" >\r\n\t\t\t<mat-icon>help</mat-icon>\r\n </button></div> \r\n <div *ngIf=\"abilita_export\" matTooltip=\"EXPORT EXCEL\" matTooltipPosition=\"above\">\r\n <img src=\"assets/icons/square-o/xlsx.svg\" style=\"width:24px;height: 24px;cursor:pointer;\" (click)=\"export_excel()\" alt=\"Export Excel\">\r\n </div>\r\n\r\n <div fxLayout=\"row\" fxLayoutAlign=\"end center\" width=\"100%\" style=\"background-color: maroon\">\r\n <FHGridToolBar (command)=\"docmd($event)\" [type]=\"toolbar_type\"\r\n\r\n [custom_commands]=\"toolbar_custom_commands\"\r\n [toolbar_wkfapp]=\"toolbar_wkfapp\"\r\n\r\n ></FHGridToolBar>\r\n\t\t</div>\r\n </div>\r\n\r\n <div fxLayout=\"row\" style=\"width:100%\" [fxFlex]=\"show_buttons ? 100:95\">\r\n<ag-grid-angular\r\n ref-agGrid\r\n style=\"width: 100%; height: 100%;\"\r\n id=\"myGrid\"\r\n\t\t\t\t\t\t\t\t (cellDoubleClicked)=\"onColumnEvent($event)\"\r\n (cellClicked)=\"onCellClicked($event)\"\r\n\t\t\t\t\t\t\t\t [headerHeight]=\"header_h\"\r\n [groupHeaderHeight]=\"header_h\"\r\n\r\n\t\t\t\t\t\t\t\t class=\"ag-theme-balham\"\r\n [singleClickEdit]=\"true\"\r\n [gridOptions]=\"gridOptions\"\r\n [columnDefs]=\"columnDefs\"\r\n\t\t\t\t\t\t\t\t [rowData]=\"rowData\"\r\n [getContextMenuItems]=\"abilita_export ? getContextMenuItems_e:getContextMenuItems_n_e\"\r\n\r\n (filterModified)=\"onFilterModified()\"\r\n\t\t\t\t\t\t\t\t (rowDoubleClicked)=\"onRowDClicked($event)\"\r\n\t\t\t\t\t\t\t\t (rowClicked)=\"onRowClicked($event)\"\r\n (columnVisible)=\"oncolumnEverythingChanged($event)\"\r\n\t\t\t\t\t\t\t\t (columnResized)=\"oncolumnEverythingChanged($event)\"\r\n\t\t\t\t\t\t\t\t (columnMoved)=\"oncolumnEverythingChanged($event)\"\r\n (cellValueChanged)=\"okr($event)\"\r\n\t\t\t\t\t\t\t\t (sortChanged)=\"onAfterSortChanged()\"\r\n [paginationPageSize]=\"num_per_pag\"\r\n (gridReady)=\"onReady($event)\">\r\n</ag-grid-angular>\r\n</div>\r\n</div>\r\n",
|
|
8441
8459
|
styles: ["\n\n "]
|
|
8442
8460
|
}] }
|
|
8443
8461
|
];
|
|
@@ -15783,7 +15801,7 @@ var FHGridToolBarComponent = /** @class */ (function () {
|
|
|
15783
15801
|
};
|
|
15784
15802
|
FHGridToolBarComponent.decorators = [
|
|
15785
15803
|
{ type: Component, args: [{
|
|
15786
|
-
selector: 'FHGridToolBar', template: "\n <div *ngIf=\"type=='WKF_NO_EDIT'\" fxLayoutGap=\"3px\" fxLayout=\"row\" fxFlex=\"100\" fxLayoutAlign=\"end center\" style=\"background-color: #CC0000\">\n\n <mat-toolbar>\n <div fxLayout=\"row\" fxLayoutGap=\"3px\">\n\n \n <button mat-flat-button color=\"warn\" mat-button fxHide fxShow.gt-sm [matMenuTriggerFor]=\"gest_menu\" *ngIf=\"toolbar_wkfapp?.is_Supervisor || toolbar_wkfapp?.is_Admin || toolbar_wkfapp?.is_PowerUser\"><mat-icon>label_important</mat-icon> {{'Gestione' | translate}}</button>\n <mat-menu #gest_menu=\"matMenu\" >\n <button mat-menu-item style=\"background-color: #F5F5F5\" (click)=\"annulla_richiesta()\"> {{'ANNULLA DOCUMENTO' | translate}} </button>\n <button mat-menu-item style=\"background-color: #F5F5F5\" (click)=\"recupera_richiesta()\"> {{'RECUPERA DOCUMENTO' | translate}} </button>\n <button mat-menu-item style=\"background-color: #F5F5F5\" (click)=\"riassegna_richiesta()\" *ngIf=\"toolbar_wkfapp?.is_Supervisor || toolbar_wkfapp?.is_Admin\"> {{'RIASSEGNA DOCUMENTO' | translate}} </button>\n <button mat-menu-item style=\"background-color: #F5F5F5\" (click)=\"test_utente()\" *ngIf=\"toolbar_wkfapp?.is_Admin\"> {{'TEST UTENTE' | translate}} </button>\n\n </mat-menu>\n <button mat-flat-button (click)=\"annulla_imp()\" *ngIf=\"toolbar_wkfapp?.imp!=''\"> {{toolbar_wkfapp?.imp}} </button>\n <div *ngFor=\"let app of custom_commands\" > <button mat-flat-button [color]=\"app.color\" (click)=\"exec_command(app.command)\"><mat-icon *ngIf=\"app.icon!=null\">{{app.icon}}</mat-icon> {{app.label | translate}}</button>\n </div>\n </div>\n </mat-toolbar>\n </div>\n <div *ngIf=\"type=='WKF'\" fxLayoutGap=\"3px\" fxLayout=\"row\"
|
|
15804
|
+
selector: 'FHGridToolBar', template: "\n <div *ngIf=\"type=='WKF_NO_EDIT'\" fxLayoutGap=\"3px\" fxLayout=\"row\" fxFlex=\"100\" fxLayoutAlign=\"end center\" style=\"background-color: #CC0000\">\n\n <mat-toolbar>\n <div fxLayout=\"row\" fxLayoutGap=\"3px\">\n\n \n <button mat-flat-button color=\"warn\" mat-button fxHide fxShow.gt-sm [matMenuTriggerFor]=\"gest_menu\" *ngIf=\"toolbar_wkfapp?.is_Supervisor || toolbar_wkfapp?.is_Admin || toolbar_wkfapp?.is_PowerUser\"><mat-icon>label_important</mat-icon> {{'Gestione' | translate}}</button>\n <mat-menu #gest_menu=\"matMenu\" >\n <button mat-menu-item style=\"background-color: #F5F5F5\" (click)=\"annulla_richiesta()\"> {{'ANNULLA DOCUMENTO' | translate}} </button>\n <button mat-menu-item style=\"background-color: #F5F5F5\" (click)=\"recupera_richiesta()\"> {{'RECUPERA DOCUMENTO' | translate}} </button>\n <button mat-menu-item style=\"background-color: #F5F5F5\" (click)=\"riassegna_richiesta()\" *ngIf=\"toolbar_wkfapp?.is_Supervisor || toolbar_wkfapp?.is_Admin\"> {{'RIASSEGNA DOCUMENTO' | translate}} </button>\n <button mat-menu-item style=\"background-color: #F5F5F5\" (click)=\"test_utente()\" *ngIf=\"toolbar_wkfapp?.is_Admin\"> {{'TEST UTENTE' | translate}} </button>\n\n </mat-menu>\n <button mat-flat-button (click)=\"annulla_imp()\" *ngIf=\"toolbar_wkfapp?.imp!=''\"> {{toolbar_wkfapp?.imp}} </button>\n <div *ngFor=\"let app of custom_commands\" > <button mat-flat-button [color]=\"app.color\" (click)=\"exec_command(app.command)\"><mat-icon *ngIf=\"app.icon!=null\">{{app.icon}}</mat-icon> {{app.label | translate}}</button>\n </div>\n </div>\n </mat-toolbar>\n </div>\n <div *ngIf=\"type=='WKF'\" fxLayoutGap=\"3px\" fxLayout=\"row\" fxLayoutAlign=\"end center\" style=\"background-color: #CC0000\">\n \n <mat-toolbar>\n <div fxLayout=\"row\" fxLayoutGap=\"3px\">\n\n <button mat-flat-button (click)=\"insert_doc()\" *ngIf=\"toolbar_wkfapp?.is_Ins\" color=\"accent\"><mat-icon>note_add</mat-icon> {{'INSERISCI' | translate}}</button> \n\n <button mat-flat-button color=\"warn\" mat-button fxHide fxShow.gt-sm [matMenuTriggerFor]=\"gest_menu\" *ngIf=\"toolbar_wkfapp?.is_Supervisor\">{{'Gestione' | translate}}</button>\n <mat-menu #gest_menu=\"matMenu\" >\n <button mat-menu-item (click)=\"annulla_richiesta()\"> {{'ANNULLA DOCUMENTO' | translate}} </button>\n <button mat-menu-item (click)=\"recupera_richiesta()\"> {{'RECUPERA DOCUMENTO' | translate}} </button>\n <button mat-menu-item (click)=\"riassegna_richiesta()\"> {{'RIASSEGNA DOCUMENTO' | translate}} </button>\n <button mat-menu-item (click)=\"test_utente()\" *ngIf=\"toolbar_wkfapp?.is_Admin\"> {{'TEST UTENTE' | translate}} </button>\n\n </mat-menu>\n <button mat-flat-button (click)=\"annulla_imp()\" *ngIf=\"toolbar_wkfapp?.imp!=null && toolbar_wkfapp?.imp!=''\"> {{toolbar_wkfapp?.imp}} </button>\n <div *ngFor=\"let app of custom_commands\" >\n <button mat-flat-button [color]=\"app.color\" (click)=\"exec_command(app.command)\"><mat-icon *ngIf=\"app.icon!=null\">{{app.icon}}</mat-icon> {{app.label | translate}}</button>\n \n </div>\n </div>\n </mat-toolbar>\n </div>\n <div *ngIf=\"type=='INSERT_DELETE'\" fxLayoutGap=\"3px\" fxLayout=\"row\">\n <mat-toolbar>\n <div fxLayout=\"row\" fxLayoutGap=\"3px\">\n\n <button mat-flat-button (click)=\"new_doc()\" color=\"primary\">\n <mat-icon>note_add</mat-icon> {{'INSERISCI' | translate}}\n </button>\n\n <button mat-flat-button (click)=\"del_doc()\" color=\"warn\">\n <mat-icon>delete</mat-icon> {{'ELIMINA' | translate}}\n </button>\n <div *ngFor=\"let app of custom_commands\" ><button mat-flat-button [color]=\"app.color\" (click)=\"exec_command(app.command)\">{{app.label | translate}}</button>\n </div>\n </div>\n </mat-toolbar>\n </div>\n <div *ngIf=\"type=='CUSTOM'\" fxLayoutGap=\"3px\" fxLayout=\"row\">\n \n <div *ngFor=\"let app of custom_commands\" ><button mat-flat-button [color]=\"app.color\" (click)=\"exec_command(app.command)\">{{app.label | translate}}</button>\n </div>\n </div>\n \n ",
|
|
15787
15805
|
styles: ["\n\n "]
|
|
15788
15806
|
}] }
|
|
15789
15807
|
];
|