@fluxhub/fluxhub-lib 10.0.399 → 10.0.401

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.
@@ -9243,7 +9243,7 @@
9243
9243
  this.chgf = false;
9244
9244
  return;
9245
9245
  }
9246
- // console.log('writeValue '+value+' '+this.decimal);
9246
+ console.log('writeValue ' + value + ' ' + this.decimal);
9247
9247
  if (value == null)
9248
9248
  value = 0.0;
9249
9249
  if (value !== this.innerValue) {
@@ -12173,7 +12173,7 @@
12173
12173
  FHGridToolBarComponent.decorators = [
12174
12174
  { type: i0.Component, args: [{
12175
12175
  selector: "FHGridToolBar",
12176
- template: "\n <div\n *ngIf=\"type == 'WKF_NO_EDIT'\"\n fxLayoutGap=\"3px\"\n fxLayout=\"row\"\n fxFlex=\"100\"\n style=\"height: 70px;\"\n fxLayoutAlign=\"end center\"\n >\n <mat-toolbar>\n <div fxLayout=\"row\" fxLayoutGap=\"3px\" fxLayoutAlign=\"end center\">\n <button\n mat-flat-button\n color=\"warn\"\n mat-button\n fxHide\n fxShow.gt-sm\n [matMenuTriggerFor]=\"gest_menu\"\n *ngIf=\"\n toolbar_wkfapp?.is_Supervisor ||\n toolbar_wkfapp?.is_Admin ||\n toolbar_wkfapp?.is_PowerUser\n \"\n >\n <mat-icon>label_important</mat-icon>&nbsp;&nbsp;&nbsp;{{\n \"Gestione\" | translate\n }}\n </button>\n <mat-menu #gest_menu=\"matMenu\">\n <button\n mat-menu-item\n style=\"background-color: #F5F5F5\"\n (click)=\"annulla_richiesta()\"\n >\n {{ \"ANNULLA DOCUMENTO\" | translate }}\n </button>\n <button\n mat-menu-item\n style=\"background-color: #F5F5F5\"\n (click)=\"recupera_richiesta()\"\n >\n {{ \"RECUPERA DOCUMENTO\" | translate }}\n </button>\n <button\n mat-menu-item\n style=\"background-color: #F5F5F5\"\n (click)=\"riassegna_richiesta()\"\n *ngIf=\"toolbar_wkfapp?.is_Supervisor || toolbar_wkfapp?.is_Admin\"\n >\n {{ \"RIASSEGNA DOCUMENTO\" | translate }}\n </button>\n <button\n mat-menu-item\n style=\"background-color: #F5F5F5\"\n (click)=\"sostituisci_utente()\"\n *ngIf=\"toolbar_wkfapp?.is_Admin\"\n >\n {{ \"SOSTITUISCI UTENTE\" | translate }}\n </button>\n\n <button\n mat-menu-item\n style=\"background-color: #F5F5F5\"\n (click)=\"test_utente()\"\n *ngIf=\"toolbar_wkfapp?.is_Admin\"\n >\n {{ \"TEST UTENTE\" | translate }}\n </button>\n </mat-menu>\n <button\n mat-flat-button\n (click)=\"annulla_imp()\"\n *ngIf=\"toolbar_wkfapp?.imp != ''\"\n >\n {{ toolbar_wkfapp?.imp }}\n </button>\n <div *ngFor=\"let app of custom_commands\">\n &nbsp;&nbsp;<button\n mat-flat-button [hidden]=\"app.hidden!=null && app.hidden\"\n [color]=\"app.color\"\n (click)=\"exec_command(app.command)\"\n >\n <mat-icon *ngIf=\"app.icon != null\">{{ app.icon }}</mat-icon\n >&nbsp;{{ app.label | translate }}\n </button>\n </div>\n </div>\n </mat-toolbar>\n </div>\n <div\n *ngIf=\"type == 'WKF'\"\n fxLayoutGap=\"3px\"\n fxLayout=\"row\"\n fxFlex=\"100\"\n style=\"height: 70px;\"\n fxLayoutAlign=\"end center\"\n >\n <mat-toolbar>\n <div fxLayout=\"row\" fxLayoutGap=\"3px\" fxLayoutAlign=\"end center\">\n <button mat-flat-button (click)=\"link_doc()\" style=\"background-color: #2B7CD3;color:#FFFFFF\" *ngIf=\"show_link\">\n <mat-icon>launch</mat-icon>&nbsp;&nbsp;&nbsp;{{\n \"LINK\" | translate\n }}\n </button>\n <button mat-flat-button (click)=\"help_doc()\" style=\"background-color: #2B7CD3;color:#FFFFFF\" *ngIf=\"show_help\">\n <mat-icon>help</mat-icon>&nbsp;&nbsp;&nbsp;{{\n help_label | translate\n }}\n </button>\n <div style=\"width:200px\" fxHide fxShow.gt-sm *ngIf=\"show_link || show_help\"></div>\n <table><tr><td style=\"width:130px\">\n <button\n mat-flat-button\n (click)=\"insert_doc()\"\n *ngIf=\"toolbar_wkfapp?.is_Ins\"\n color=\"accent\"\n style=\"width:130px\"\n >\n <mat-icon>note_add</mat-icon>&nbsp;&nbsp;&nbsp;{{\n \"INSERISCI\" | translate\n }}</button\n >\n </td><td style=\"width:130px\">\n <button\n mat-flat-button\n color=\"warn\"\n mat-button style=\"width:130px\"\n fxHide\n fxShow.gt-sm\n [matMenuTriggerFor]=\"gest_menu\"\n *ngIf=\"toolbar_wkfapp?.is_Supervisor\"\n >\n {{ \"Gestione\" | translate }}\n </button>\n </td></tr></table>\n <mat-menu #gest_menu=\"matMenu\">\n <button mat-menu-item (click)=\"annulla_richiesta()\">\n {{ \"ANNULLA DOCUMENTO\" | translate }}\n </button>\n <button mat-menu-item (click)=\"recupera_richiesta()\">\n {{ \"RECUPERA DOCUMENTO\" | translate }}\n </button>\n <button mat-menu-item (click)=\"riassegna_richiesta()\">\n {{ \"RIASSEGNA DOCUMENTO\" | translate }}\n </button>\n <button\n mat-menu-item\n (click)=\"sostituisci_utente()\"\n *ngIf=\"toolbar_wkfapp?.is_Admin\"\n >\n {{ \"SOSTITUISCI UTENTE\" | translate }}\n </button>\n\n <button\n mat-menu-item\n (click)=\"test_utente()\"\n *ngIf=\"toolbar_wkfapp?.is_Admin\"\n >\n {{ \"TEST UTENTE\" | translate }}\n </button>\n </mat-menu>\n <button\n mat-flat-button\n (click)=\"annulla_imp()\"\n *ngIf=\"toolbar_wkfapp?.imp != null && toolbar_wkfapp?.imp != ''\"\n >\n {{ toolbar_wkfapp?.imp }}\n </button>\n <div *ngFor=\"let app of custom_commands\">\n &nbsp;&nbsp;<button [hidden]=\"app.hidden!=null && app.hidden\"\n mat-flat-button\n [color]=\"app.color\"\n (click)=\"exec_command(app.command)\"\n >\n <mat-icon *ngIf=\"app.icon != null\">{{ app.icon }}</mat-icon\n >&nbsp;{{ app.label | translate }}\n </button>\n </div>\n </div>\n </mat-toolbar>\n </div>\n <div\n *ngIf=\"type == 'INSERT_DELETE' || type == 'INSERT'\"\n fxLayoutGap=\"3px\"\n fxLayout=\"row\"\n fxFlex=\"100\"\n style=\"height: 70px;\"\n fxLayoutAlign=\"end center\"\n >\n <mat-toolbar>\n <div fxLayout=\"row\" fxLayoutGap=\"5px\" fxLayoutAlign=\"end center\">\n <button mat-flat-button (click)=\"link_doc()\" style=\"background-color: #2B7CD3;color:#FFFFFF\" *ngIf=\"show_link\">\n <mat-icon>launch</mat-icon>&nbsp;&nbsp;&nbsp;{{\n \"LINK\" | translate\n }}\n </button>\n <button mat-flat-button (click)=\"help_doc()\" style=\"background-color: #2B7CD3;color:#FFFFFF\" *ngIf=\"show_help\">\n <mat-icon>help</mat-icon>&nbsp;&nbsp;&nbsp;{{\n help_label | translate\n }}\n </button>\n <div style=\"width:200px\" fxHide fxShow.gt-sm *ngIf=\"show_link || show_help\"></div>\n <button mat-flat-button (click)=\"new_doc()\" color=\"primary\">\n <mat-icon>note_add</mat-icon>&nbsp;&nbsp;&nbsp;{{\n \"INSERISCI\" | translate\n }}\n </button>\n\n <button\n *ngIf=\"type == 'INSERT_DELETE'\"\n mat-flat-button\n (click)=\"del_doc()\"\n color=\"warn\"\n >\n <mat-icon>delete</mat-icon>&nbsp;&nbsp;&nbsp;{{\n \"ELIMINA\" | translate\n }}\n </button>\n <div *ngFor=\"let app of custom_commands\" fxLayout=\"row\" fxLayoutGap=\"5px\">\n <div>\n <button [hidden]=\"app.hidden!=null && app.hidden\"\n mat-flat-button\n [color]=\"app.color\"\n (click)=\"exec_command(app.command)\"\n >\n <mat-icon *ngIf=\"app.icon != null\">{{ app.icon }}</mat-icon\n >&nbsp;&nbsp;&nbsp;{{ app.label | translate }}\n </button>\n </div>\n <FHCheckBox\n *ngIf=\"app.type == 'checkbox'\"\n (change)=\"selx(app.command, $event)\"\n [label]=\"app.label | translate\"\n [(ngModel)]=\"app.default_value\"\n ></FHCheckBox>\n\n <div *ngIf=\"app.type == 'spacer'\" style=\"width:60px\"></div>\n </div>\n </div>\n </mat-toolbar>\n </div>\n <div\n *ngIf=\"type == 'CUSTOM'\"\n fxLayoutGap=\"3px\"\n fxLayout=\"row\"\n fxFlex=\"100\"\n style=\"height: 70px;\"\n fxLayoutAlign=\"end center\"\n > <button mat-flat-button (click)=\"link_doc()\" style=\"background-color: #2B7CD3;color:#FFFFFF\" *ngIf=\"show_link\">\n <mat-icon>launch</mat-icon>&nbsp;&nbsp;&nbsp;{{\n \"LINK\" | translate\n }}\n </button>\n <div *ngFor=\"let app of custom_commands\" fxLayoutAlign=\"end center\" fxLayout=\"row\" fxLayoutGap=\"5px\">\n <div>\n <button [hidden]=\"app.hidden!=null && app.hidden\"\n *ngIf=\"app.type == null || app.type == 'button'\"\n mat-flat-button\n [color]=\"app.color\"\n (click)=\"exec_command(app.command)\"\n >\n <mat-icon *ngIf=\"app.icon != null\">{{ app.icon }}</mat-icon\n >&nbsp;&nbsp;&nbsp;{{ app.label | translate }}\n </button>\n </div>\n <FHCheckBox\n *ngIf=\"app.type == 'checkbox'\"\n (change)=\"selx(app.command, $event)\"\n [label]=\"app.label | translate\"\n [(ngModel)]=\"app.default_value\"\n ></FHCheckBox>\n <div *ngIf=\"app.type == 'spacer'\" style=\"width:60px\"></div>\n </div>\n </div>\n <div\n *ngIf=\"type == 'NONE' && show_link\"\n fxLayoutGap=\"3px\"\n fxLayout=\"row\"\n fxFlex=\"100\"\n style=\"height: 70px;\"\n fxLayoutAlign=\"end center\"\n >\n <button mat-flat-button (click)=\"link_doc()\" style=\"background-color: #2B7CD3;color:#FFFFFF\" *ngIf=\"show_link\">\n <mat-icon>launch</mat-icon>&nbsp;&nbsp;&nbsp;{{\n \"LINK\" | translate\n }}\n </button>\n\n <button mat-flat-button (click)=\"help_doc()\" style=\"background-color: #2B7CD3;color:#FFFFFF\" *ngIf=\"show_help\">\n <mat-icon>help</mat-icon>&nbsp;&nbsp;&nbsp;{{\n help_label | translate\n }}\n </button>\n </div>\n ",
12176
+ template: "\n <div\n *ngIf=\"type == 'WKF_NO_EDIT'\"\n fxLayoutGap=\"3px\"\n fxLayout=\"row\"\n fxFlex=\"100\"\n style=\"height: 70px;\"\n fxLayoutAlign=\"end center\"\n >\n <mat-toolbar>\n <div fxLayout=\"row\" fxLayoutGap=\"3px\" fxLayoutAlign=\"end center\">\n <button\n mat-flat-button\n color=\"warn\"\n mat-button\n fxHide\n fxShow.gt-sm\n [matMenuTriggerFor]=\"gest_menu\"\n *ngIf=\"\n toolbar_wkfapp?.is_Supervisor ||\n toolbar_wkfapp?.is_Admin ||\n toolbar_wkfapp?.is_PowerUser\n \"\n >\n <mat-icon>label_important</mat-icon>&nbsp;&nbsp;&nbsp;{{\n \"Gestione\" | translate\n }}\n </button>\n <mat-menu #gest_menu=\"matMenu\">\n <button\n mat-menu-item\n style=\"background-color: #F5F5F5\"\n (click)=\"annulla_richiesta()\"\n >\n {{ \"ANNULLA DOCUMENTO\" | translate }}\n </button>\n <button\n mat-menu-item\n style=\"background-color: #F5F5F5\"\n (click)=\"recupera_richiesta()\"\n >\n {{ \"RECUPERA DOCUMENTO\" | translate }}\n </button>\n <button\n mat-menu-item\n style=\"background-color: #F5F5F5\"\n (click)=\"riassegna_richiesta()\"\n *ngIf=\"toolbar_wkfapp?.is_Supervisor || toolbar_wkfapp?.is_Admin\"\n >\n {{ \"RIASSEGNA DOCUMENTO\" | translate }}\n </button>\n <button\n mat-menu-item\n style=\"background-color: #F5F5F5\"\n (click)=\"sostituisci_utente()\"\n *ngIf=\"toolbar_wkfapp?.is_Admin\"\n >\n {{ \"SOSTITUISCI UTENTE\" | translate }}\n </button>\n\n <button\n mat-menu-item\n style=\"background-color: #F5F5F5\"\n (click)=\"test_utente()\"\n *ngIf=\"toolbar_wkfapp?.is_Admin\"\n >\n {{ \"TEST UTENTE\" | translate }}\n </button>\n </mat-menu>\n <button\n mat-flat-button\n (click)=\"annulla_imp()\"\n *ngIf=\"toolbar_wkfapp?.imp != ''\"\n >\n {{ toolbar_wkfapp?.imp }}\n </button>\n <div *ngFor=\"let app of custom_commands\">\n &nbsp;&nbsp;<button\n mat-flat-button [hidden]=\"app.hidden!=null && app.hidden\"\n [color]=\"app.color\"\n (click)=\"exec_command(app.command)\"\n >\n <mat-icon *ngIf=\"app.icon != null\">{{ app.icon }}</mat-icon\n >&nbsp;{{ app.label | translate }}\n </button>\n </div>\n </div>\n </mat-toolbar>\n </div>\n <div\n *ngIf=\"type == 'WKF'\"\n fxLayoutGap=\"3px\"\n fxLayout=\"row\"\n fxFlex=\"100\"\n style=\"height: 70px;\"\n fxLayoutAlign=\"end center\"\n >\n <mat-toolbar>\n <div fxLayout=\"row\" fxLayoutGap=\"3px\" fxLayoutAlign=\"end center\">\n <button mat-flat-button (click)=\"link_doc()\" style=\"background-color: #2B7CD3;color:#FFFFFF\" *ngIf=\"show_link\">\n <mat-icon>launch</mat-icon>&nbsp;&nbsp;&nbsp;{{\n \"LINK\" | translate\n }}\n </button>\n <button mat-flat-button (click)=\"help_doc()\" style=\"background-color: #2B7CD3;color:#FFFFFF\" *ngIf=\"show_help\">\n <mat-icon>help</mat-icon>&nbsp;&nbsp;&nbsp;{{\n help_label | translate\n }}\n </button>\n <div style=\"width:200px\" fxHide fxShow.gt-sm *ngIf=\"show_link || show_help\"></div>\n <table><tr><td style=\"width:130px\">\n <button\n mat-flat-button\n (click)=\"insert_doc()\"\n *ngIf=\"toolbar_wkfapp?.is_Ins\"\n color=\"accent\"\n style=\"width:130px\"\n >\n <mat-icon>note_add</mat-icon>&nbsp;&nbsp;&nbsp;{{\n \"INSERISCI\" | translate\n }}</button\n >\n </td><td style=\"width:130px\">\n <button\n mat-flat-button\n color=\"warn\"\n mat-button style=\"width:130px\"\n fxHide\n fxShow.gt-sm\n [matMenuTriggerFor]=\"gest_menu\"\n *ngIf=\"toolbar_wkfapp?.is_Supervisor\"\n >\n {{ \"Gestione\" | translate }}\n </button>\n </td></tr></table>\n <mat-menu #gest_menu=\"matMenu\">\n <button mat-menu-item (click)=\"annulla_richiesta()\">\n {{ \"ANNULLA DOCUMENTO\" | translate }}\n </button>\n <button mat-menu-item (click)=\"recupera_richiesta()\">\n {{ \"RECUPERA DOCUMENTO\" | translate }}\n </button>\n <button mat-menu-item (click)=\"riassegna_richiesta()\">\n {{ \"RIASSEGNA DOCUMENTO\" | translate }}\n </button>\n <button\n mat-menu-item\n (click)=\"sostituisci_utente()\"\n *ngIf=\"toolbar_wkfapp?.is_Admin\"\n >\n {{ \"SOSTITUISCI UTENTE\" | translate }}\n </button>\n\n <button\n mat-menu-item\n (click)=\"test_utente()\"\n *ngIf=\"toolbar_wkfapp?.is_Admin\"\n >\n {{ \"TEST UTENTE\" | translate }}\n </button>\n </mat-menu>\n <button\n mat-flat-button\n (click)=\"annulla_imp()\"\n *ngIf=\"toolbar_wkfapp?.imp != null && toolbar_wkfapp?.imp != ''\"\n >\n {{ toolbar_wkfapp?.imp }}\n </button>\n <div *ngFor=\"let app of custom_commands\">\n &nbsp;&nbsp;\n <div *ngIf=\"app.type != 'checkbox'\">\n <button [hidden]=\"app.hidden!=null && app.hidden\"\n mat-flat-button\n [color]=\"app.color\"\n (click)=\"exec_command(app.command)\"\n >\n <mat-icon *ngIf=\"app.icon != null\">{{ app.icon }}</mat-icon\n >&nbsp;{{ app.label | translate }}\n </button>\n </div>\n <FHCheckBox\n *ngIf=\"app.type == 'checkbox'\"\n (change)=\"selx(app.command, $event)\"\n [label]=\"app.label | translate\"\n [(ngModel)]=\"app.default_value\"\n ></FHCheckBox>\n </div>\n </div>\n </mat-toolbar>\n </div>\n <div\n *ngIf=\"type == 'INSERT_DELETE' || type == 'INSERT'\"\n fxLayoutGap=\"3px\"\n fxLayout=\"row\"\n fxFlex=\"100\"\n style=\"height: 70px;\"\n fxLayoutAlign=\"end center\"\n >\n <mat-toolbar>\n <div fxLayout=\"row\" fxLayoutGap=\"5px\" fxLayoutAlign=\"end center\">\n <button mat-flat-button (click)=\"link_doc()\" style=\"background-color: #2B7CD3;color:#FFFFFF\" *ngIf=\"show_link\">\n <mat-icon>launch</mat-icon>&nbsp;&nbsp;&nbsp;{{\n \"LINK\" | translate\n }}\n </button>\n <button mat-flat-button (click)=\"help_doc()\" style=\"background-color: #2B7CD3;color:#FFFFFF\" *ngIf=\"show_help\">\n <mat-icon>help</mat-icon>&nbsp;&nbsp;&nbsp;{{\n help_label | translate\n }}\n </button>\n <div style=\"width:200px\" fxHide fxShow.gt-sm *ngIf=\"show_link || show_help\"></div>\n <button mat-flat-button (click)=\"new_doc()\" color=\"primary\">\n <mat-icon>note_add</mat-icon>&nbsp;&nbsp;&nbsp;{{\n \"INSERISCI\" | translate\n }}\n </button>\n\n <button\n *ngIf=\"type == 'INSERT_DELETE'\"\n mat-flat-button\n (click)=\"del_doc()\"\n color=\"warn\"\n >\n <mat-icon>delete</mat-icon>&nbsp;&nbsp;&nbsp;{{\n \"ELIMINA\" | translate\n }}\n </button>\n <div *ngFor=\"let app of custom_commands\" fxLayout=\"row\" fxLayoutGap=\"5px\">\n <div>\n <button [hidden]=\"app.hidden!=null && app.hidden\"\n mat-flat-button\n [color]=\"app.color\"\n (click)=\"exec_command(app.command)\"\n >\n <mat-icon *ngIf=\"app.icon != null\">{{ app.icon }}</mat-icon\n >&nbsp;&nbsp;&nbsp;{{ app.label | translate }}\n </button>\n </div>\n <FHCheckBox\n *ngIf=\"app.type == 'checkbox'\"\n (change)=\"selx(app.command, $event)\"\n [label]=\"app.label | translate\"\n [(ngModel)]=\"app.default_value\"\n ></FHCheckBox>\n\n <div *ngIf=\"app.type == 'spacer'\" style=\"width:60px\"></div>\n </div>\n </div>\n </mat-toolbar>\n </div>\n <div\n *ngIf=\"type == 'CUSTOM'\"\n fxLayoutGap=\"3px\"\n fxLayout=\"row\"\n fxFlex=\"100\"\n style=\"height: 70px;\"\n fxLayoutAlign=\"end center\"\n > <button mat-flat-button (click)=\"link_doc()\" style=\"background-color: #2B7CD3;color:#FFFFFF\" *ngIf=\"show_link\">\n <mat-icon>launch</mat-icon>&nbsp;&nbsp;&nbsp;{{\n \"LINK\" | translate\n }}\n </button>\n <div *ngFor=\"let app of custom_commands\" fxLayoutAlign=\"end center\" fxLayout=\"row\" fxLayoutGap=\"5px\">\n <div>\n <button [hidden]=\"app.hidden!=null && app.hidden\"\n *ngIf=\"app.type == null || app.type == 'button'\"\n mat-flat-button\n [color]=\"app.color\"\n (click)=\"exec_command(app.command)\"\n >\n <mat-icon *ngIf=\"app.icon != null\">{{ app.icon }}</mat-icon\n >&nbsp;&nbsp;&nbsp;{{ app.label | translate }}\n </button>\n </div>\n <FHCheckBox\n *ngIf=\"app.type == 'checkbox'\"\n (change)=\"selx(app.command, $event)\"\n [label]=\"app.label | translate\"\n [(ngModel)]=\"app.default_value\"\n ></FHCheckBox>\n <div *ngIf=\"app.type == 'spacer'\" style=\"width:60px\"></div>\n </div>\n </div>\n <div\n *ngIf=\"type == 'NONE' && show_link\"\n fxLayoutGap=\"3px\"\n fxLayout=\"row\"\n fxFlex=\"100\"\n style=\"height: 70px;\"\n fxLayoutAlign=\"end center\"\n >\n <button mat-flat-button (click)=\"link_doc()\" style=\"background-color: #2B7CD3;color:#FFFFFF\" *ngIf=\"show_link\">\n <mat-icon>launch</mat-icon>&nbsp;&nbsp;&nbsp;{{\n \"LINK\" | translate\n }}\n </button>\n\n <button mat-flat-button (click)=\"help_doc()\" style=\"background-color: #2B7CD3;color:#FFFFFF\" *ngIf=\"show_help\">\n <mat-icon>help</mat-icon>&nbsp;&nbsp;&nbsp;{{\n help_label | translate\n }}\n </button>\n </div>\n ",
12177
12177
  styles: ["\n\n "]
12178
12178
  },] }
12179
12179
  ];
@@ -12435,8 +12435,8 @@
12435
12435
  FormBuilderComponent.decorators = [
12436
12436
  { type: i0.Component, args: [{
12437
12437
  selector: "FHFormBuilder",
12438
- template: "\n <div fxLayout=\"row\" style=\"width: 100%;height:100%\">\n <mat-toolbar color=\"primary\" style=\"max-width: 200px;height:100%;\">\n <mat-toolbar-row (click)=\"add_component(1)\">\n <mat-icon>text_fields</mat-icon>&nbsp;&nbsp;&nbsp;<span\n >Text Field</span\n >\n </mat-toolbar-row>\n <mat-toolbar-row (click)=\"add_component(2)\">\n <mat-icon>filter_1</mat-icon>&nbsp;&nbsp;&nbsp;<span>Number</span>\n </mat-toolbar-row>\n <mat-toolbar-row (click)=\"add_component(3)\">\n <mat-icon>filter_none</mat-icon>&nbsp;&nbsp;&nbsp;<span\n >Text Area</span\n >\n </mat-toolbar-row>\n <mat-toolbar-row (click)=\"add_component(4)\">\n <mat-icon>check_box</mat-icon>&nbsp;&nbsp;&nbsp;<span>Check Box</span>\n </mat-toolbar-row>\n <mat-toolbar-row (click)=\"add_component(5)\">\n <mat-icon>radio_button_checked</mat-icon>&nbsp;&nbsp;&nbsp;<span\n >Radio</span\n >\n </mat-toolbar-row>\n <mat-toolbar-row (click)=\"add_component(6)\">\n <mat-icon>dehaze</mat-icon>&nbsp;&nbsp;&nbsp;<span>Select</span>\n </mat-toolbar-row>\n <mat-toolbar-row (click)=\"add_component(7)\">\n <mat-icon>today</mat-icon>&nbsp;&nbsp;&nbsp;<span>Date</span>\n </mat-toolbar-row>\n </mat-toolbar>\n <div\n fxLayout=\"column\"\n fxFlex=\"100\"\n style=\"width:100%;border:1px solid #004040;height:100%;overflow:auto;background-color: #a6aec4\"\n >\n <div fxLayout=\"row\" style=\"width:90%;width:100%;height:5000px;\">\n <ul\n [dragula]=\"'bag-items'\"\n [(dragulaModel)]=\"items\"\n style=\"width:100%;\"\n >\n <li\n fxLayout=\"row\"\n fxLayoutGap=\"10px\"\n *ngFor=\"let item of items\"\n [ngStyle]=\"setStyles(item.uiid)\"\n fxLayoutAlign=\"start center\"\n >\n <div style=\"width:100%\">\n <div style=\"width: 90%\">\n <mat-form-field\n *ngIf=\"item.type == 'text_field'\"\n style=\"max-width: 350px\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ item.label }}</mat-label>\n <input\n matInput\n [required]=\"item.required\"\n type=\"text\"\n [(ngModel)]=\"item.default_value\"\n />\n </mat-form-field>\n\n <mat-form-field\n *ngIf=\"item.type == 'numeric_field'\"\n style=\"max-width: 220px\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ item.label }}</mat-label>\n <input\n matInput\n [required]=\"item.required\"\n type=\"number\"\n [(ngModel)]=\"item.default_value\"\n />\n </mat-form-field>\n\n <FHRichText\n *ngIf=\"item.type == 'textarea'\"\n [label]=\"item.label\"\n [required]=\"item.required\"\n [(ngModel)]=\"item.default_value\"\n height=\"15'\"\n enabled=\"false\"\n ></FHRichText>\n\n <mat-checkbox\n *ngIf=\"item.type == 'checkbox'\"\n [required]=\"item.required\"\n [(ngModel)]=\"item.default_value\"\n ><b>{{ item.label }}</b></mat-checkbox\n >\n\n <div fxLayout=\"row\" fxLayoutGap=\"5px\"\n class=\"custom-section\"\n *ngIf=\"item.type == 'radiobutton'\"\n >\n <label class=\"custom-margin\">{{ item.label }}:</label>&nbsp;&nbsp;&nbsp;&nbsp;\n <mat-radio-group\n [(ngModel)]=\"item.default_value\"\n [required]=\"item.required\"\n >\n <mat-radio-button\n *ngFor=\"let opt of item.opts\"\n class=\"custom-margin\"\n value=\"{{ opt }}\"\n ><b>{{ opt }}</b></mat-radio-button\n >\n </mat-radio-group>\n </div>\n\n <mat-form-field\n *ngIf=\"item.type == 'select'\"\n style=\"max-width: 400px\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ item.label }}</mat-label>\n <mat-select\n [required]=\"item.required\"\n [(ngModel)]=\"item.default_value\"\n >\n <mat-option\n *ngFor=\"let opt of item.opts\"\n value=\"{{ opt }}\"\n >{{ opt }}</mat-option\n >\n </mat-select>\n </mat-form-field>\n <div style=\"width: 220px\" *ngIf=\"item.type == 'date_field'\">\n <FHDatePicker\n [required]=\"item.required\"\n [(ngModel)]=\"item.default_value\"\n [label]=\"item.label\"\n ></FHDatePicker\n >&nbsp;&nbsp;\n </div>\n </div>\n </div>\n <div fxLayout=\"column\" style=\"width:70px\" fxLayoutGap=\"10px\">\n <button\n mat-flat-button\n (click)=\"edit_item(item.uiid)\"\n color=\"primary\"\n >\n <mat-icon>edit</mat-icon>\n </button>\n <button\n mat-flat-button\n (click)=\"del_item(item.uiid)\"\n color=\"warn\"\n >\n <mat-icon>delete</mat-icon>\n </button>\n </div>\n </li>\n </ul>\n </div>\n <mat-form-field [hidden]=\"true\">\n <input matInput #bottoml />\n </mat-form-field>\n </div>\n\n <div\n style=\"width:400px;height:100%;background-color: #3F51B5\"\n fxLayoutAlign=\"start center\"\n fxLayout=\"column\"\n *ngIf=\"edit_obj != null\"\n >\n <br /><br />\n <mat-card style=\"width: 96%\">\n <mat-card-title>Properties</mat-card-title>\n <mat-card-content>\n <div fxLayout=\"column\" fxLayoutGap=\"10px\">\n <mat-form-field appearance=\"outline\" floatLabel=\"always\"\n ><mat-label>Label</mat-label>\n <input matInput type=\"text\" [(ngModel)]=\"edit_obj.label\" />\n </mat-form-field>\n <mat-checkbox [(ngModel)]=\"edit_obj.required\"\n >Required</mat-checkbox\n >\n\n <mat-form-field\n *ngIf=\"edit_obj.type == 'numeric_field_tobe'\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>Decimal Places</mat-label>\n <input matInput type=\"text\" [(ngModel)]=\"edit_obj.decimali\" />\n </mat-form-field>\n <mat-form-field\n *ngIf=\"edit_obj.type == 'text_field'\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>Default Value</mat-label>\n <input\n matInput\n type=\"text\"\n [(ngModel)]=\"edit_obj.default_value\"\n />\n </mat-form-field>\n\n <mat-checkbox\n *ngIf=\"edit_obj.type == 'checkbox'\"\n [(ngModel)]=\"edit_obj.default_value\"\n >Default Value</mat-checkbox\n >\n\n <mat-form-field\n *ngIf=\"\n edit_obj.type == 'radiobutton' || edit_obj.type == 'select'\n \"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>Values</mat-label>\n <input\n matInput\n type=\"text\"\n [(ngModel)]=\"radio_values\"\n (ngModelChange)=\"edit_obj.opts = $event.split(',')\"\n />\n </mat-form-field>\n <mat-form-field\n *ngIf=\"\n edit_obj.type == 'radiobutton' || edit_obj.type == 'select'\n \"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>Default Value</mat-label>\n <input\n matInput\n type=\"text\"\n [(ngModel)]=\"edit_obj.default_value\"\n />\n </mat-form-field>\n\n <button mat-flat-button (click)=\"ok_panel()\" color=\"primary\">\n OK\n </button>\n </div></mat-card-content\n >\n </mat-card>\n </div>\n </div>\n ",
12439
- styles: [""]
12438
+ template: "\n <div fxLayout=\"row\" style=\"width: 100%;height:100%\">\n <mat-toolbar color=\"primary\" style=\"max-width: 200px;height:100%;\">\n <mat-toolbar-row (click)=\"add_component(1)\">\n <mat-icon>text_fields</mat-icon>&nbsp;&nbsp;&nbsp;<span\n >Text Field</span\n >\n </mat-toolbar-row>\n <mat-toolbar-row (click)=\"add_component(2)\">\n <mat-icon>filter_1</mat-icon>&nbsp;&nbsp;&nbsp;<span>Number</span>\n </mat-toolbar-row>\n <mat-toolbar-row (click)=\"add_component(3)\">\n <mat-icon>filter_none</mat-icon>&nbsp;&nbsp;&nbsp;<span\n >Text Area</span\n >\n </mat-toolbar-row>\n <mat-toolbar-row (click)=\"add_component(4)\">\n <mat-icon>check_box</mat-icon>&nbsp;&nbsp;&nbsp;<span>Check Box</span>\n </mat-toolbar-row>\n <mat-toolbar-row (click)=\"add_component(5)\">\n <mat-icon>radio_button_checked</mat-icon>&nbsp;&nbsp;&nbsp;<span\n >Radio</span\n >\n </mat-toolbar-row>\n <mat-toolbar-row (click)=\"add_component(6)\">\n <mat-icon>dehaze</mat-icon>&nbsp;&nbsp;&nbsp;<span>Select</span>\n </mat-toolbar-row>\n <mat-toolbar-row (click)=\"add_component(7)\">\n <mat-icon>today</mat-icon>&nbsp;&nbsp;&nbsp;<span>Date</span>\n </mat-toolbar-row>\n </mat-toolbar>\n <div\n fxLayout=\"column\"\n fxFlex=\"100\"\n style=\"width:100%;border:1px solid #004040;height:100%;overflow:auto;background-color: #a6aec4\"\n >\n <div fxLayout=\"row\" style=\"width:90%;width:100%;height:5000px;\">\n <ul\n [dragula]=\"'bag-items'\"\n [(dragulaModel)]=\"items\"\n style=\"width:100%;\"\n >\n <li\n fxLayout=\"row\"\n fxLayoutGap=\"10px\"\n *ngFor=\"let item of items\"\n [ngStyle]=\"setStyles(item.uiid)\"\n fxLayoutAlign=\"start center\"\n >\n <div style=\"width:100%\">\n <div style=\"width: 90%\">\n <mat-form-field\n *ngIf=\"item.type == 'text_field'\"\n style=\"max-width: 350px\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ item.label }}</mat-label>\n <input\n matInput\n [required]=\"item.required\"\n type=\"text\"\n [(ngModel)]=\"item.default_value\"\n />\n </mat-form-field>\n\n <mat-form-field\n *ngIf=\"item.type == 'numeric_field'\"\n style=\"max-width: 220px\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ item.label }}</mat-label>\n <input\n matInput\n [required]=\"item.required\"\n type=\"number\"\n [(ngModel)]=\"item.default_value\"\n />\n </mat-form-field>\n\n <FHRichText\n *ngIf=\"item.type == 'textarea'\"\n [label]=\"item.label\"\n [required]=\"item.required\"\n [(ngModel)]=\"item.default_value\"\n height=\"15'\"\n enabled=\"false\"\n ></FHRichText>\n\n <mat-checkbox\n *ngIf=\"item.type == 'checkbox'\"\n [required]=\"item.required\"\n [(ngModel)]=\"item.default_value\"\n ><b>{{ item.label }}</b></mat-checkbox\n >\n\n <div fxLayout=\"row\" fxLayoutGap=\"5px\"\n class=\"custom-section\"\n *ngIf=\"item.type == 'radiobutton'\"\n >\n <label class=\"custom-margin\">{{ item.label }}:</label>&nbsp;&nbsp;&nbsp;&nbsp;\n <mat-radio-group class=\"fh-radio-group\"\n [(ngModel)]=\"item.default_value\"\n [required]=\"item.required\"\n >\n <mat-radio-button class=\"fh-radio-button\"\n *ngFor=\"let opt of item.opts\"\n class=\"custom-margin\"\n value=\"{{ opt }}\"\n ><b>{{ opt }}</b></mat-radio-button\n >\n </mat-radio-group>\n </div>\n\n <mat-form-field\n *ngIf=\"item.type == 'select'\"\n style=\"max-width: 400px\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ item.label }}</mat-label>\n <mat-select\n [required]=\"item.required\"\n [(ngModel)]=\"item.default_value\"\n >\n <mat-option\n *ngFor=\"let opt of item.opts\"\n value=\"{{ opt }}\"\n >{{ opt }}</mat-option\n >\n </mat-select>\n </mat-form-field>\n <div style=\"width: 220px\" *ngIf=\"item.type == 'date_field'\">\n <FHDatePicker\n [required]=\"item.required\"\n [(ngModel)]=\"item.default_value\"\n [label]=\"item.label\"\n ></FHDatePicker\n >&nbsp;&nbsp;\n </div>\n </div>\n </div>\n <div fxLayout=\"column\" style=\"width:70px\" fxLayoutGap=\"10px\">\n <button\n mat-flat-button\n (click)=\"edit_item(item.uiid)\"\n color=\"primary\"\n >\n <mat-icon>edit</mat-icon>\n </button>\n <button\n mat-flat-button\n (click)=\"del_item(item.uiid)\"\n color=\"warn\"\n >\n <mat-icon>delete</mat-icon>\n </button>\n </div>\n </li>\n </ul>\n </div>\n <mat-form-field [hidden]=\"true\">\n <input matInput #bottoml />\n </mat-form-field>\n </div>\n\n <div\n style=\"width:400px;height:100%;background-color: #3F51B5\"\n fxLayoutAlign=\"start center\"\n fxLayout=\"column\"\n *ngIf=\"edit_obj != null\"\n >\n <br /><br />\n <mat-card style=\"width: 96%\">\n <mat-card-title>Properties</mat-card-title>\n <mat-card-content>\n <div fxLayout=\"column\" fxLayoutGap=\"10px\">\n <mat-form-field appearance=\"outline\" floatLabel=\"always\"\n ><mat-label>Label</mat-label>\n <input matInput type=\"text\" [(ngModel)]=\"edit_obj.label\" />\n </mat-form-field>\n <mat-checkbox [(ngModel)]=\"edit_obj.required\"\n >Required</mat-checkbox\n >\n\n <mat-form-field\n *ngIf=\"edit_obj.type == 'numeric_field_tobe'\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>Decimal Places</mat-label>\n <input matInput type=\"text\" [(ngModel)]=\"edit_obj.decimali\" />\n </mat-form-field>\n <mat-form-field\n *ngIf=\"edit_obj.type == 'text_field'\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>Default Value</mat-label>\n <input\n matInput\n type=\"text\"\n [(ngModel)]=\"edit_obj.default_value\"\n />\n </mat-form-field>\n\n <mat-checkbox\n *ngIf=\"edit_obj.type == 'checkbox'\"\n [(ngModel)]=\"edit_obj.default_value\"\n >Default Value</mat-checkbox\n >\n\n <mat-form-field\n *ngIf=\"\n edit_obj.type == 'radiobutton' || edit_obj.type == 'select'\n \"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>Values</mat-label>\n <input\n matInput\n type=\"text\"\n [(ngModel)]=\"radio_values\"\n (ngModelChange)=\"edit_obj.opts = $event.split(',')\"\n />\n </mat-form-field>\n <mat-form-field\n *ngIf=\"\n edit_obj.type == 'radiobutton' || edit_obj.type == 'select'\n \"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>Default Value</mat-label>\n <input\n matInput\n type=\"text\"\n [(ngModel)]=\"edit_obj.default_value\"\n />\n </mat-form-field>\n\n <button mat-flat-button (click)=\"ok_panel()\" color=\"primary\">\n OK\n </button>\n </div></mat-card-content\n >\n </mat-card>\n </div>\n </div>\n ",
12439
+ styles: ["\n .fh-radio-group {\n display: flex;\n flex-direction: column;\n margin: 15px 0;\n}\n\n.fh-radio-button {\n margin: 5px;\n}\n\n "]
12440
12440
  },] }
12441
12441
  ];
12442
12442
  FormBuilderComponent.ctorParameters = function () { return [
@@ -12488,8 +12488,8 @@
12488
12488
  FormExecuterComponent.decorators = [
12489
12489
  { type: i0.Component, args: [{
12490
12490
  selector: "FHFormExecuter",
12491
- template: "\n <div\n fxLayout=\"column\"\n fxFlex=\"100\"\n style=\"width:100%;border:1px solid #004040;height:100%\"\n *ngIf=\"items != null\"\n >\n <div\n fxLayout=\"row\"\n *ngFor=\"let item of items\"\n [ngStyle]=\"setStyles(item.uiid)\"\n fxLayoutAlign=\"start center\"\n >\n <div style=\"width: 90%\">\n <mat-form-field\n *ngIf=\"item.type == 'text_field'\"\n style=\"max-width: 350px\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ item.label }}</mat-label>\n <input\n matInput\n [required]=\"item.required\"\n [disabled]=\"!enabled\"\n type=\"text\"\n [(ngModel)]=\"item.default_value\"\n />\n </mat-form-field>\n\n <mat-form-field\n *ngIf=\"item.type == 'numeric_field'\"\n style=\"max-width: 220px\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ item.label }}</mat-label>\n <input\n matInput\n [required]=\"item.required\"\n [disabled]=\"!enabled\"\n type=\"number\"\n [(ngModel)]=\"item.default_value\"\n />\n </mat-form-field>\n\n <FHRichText\n *ngIf=\"item.type == 'textarea'\"\n [label]=\"item.label\"\n [required]=\"item.required\"\n [(ngModel)]=\"item.default_value\"\n height=\"15'\"\n enabled=\"false\"\n ></FHRichText>\n\n <mat-checkbox\n *ngIf=\"item.type == 'checkbox'\"\n [required]=\"item.required\"\n [disabled]=\"!enabled\"\n [(ngModel)]=\"item.default_value\"\n ><b>{{ item.label }}</b></mat-checkbox\n >\n\n <section *ngIf=\"item.type == 'radiobutton'\">\n <label *ngIf=\"!item.required\">{{ item.label }}: </label>&nbsp;\n <label *ngIf=\"item.required\">{{ item.label }}: *</label>&nbsp;\n <mat-radio-group\n [(ngModel)]=\"item.default_value\"\n [required]=\"item.required\"\n >\n <mat-radio-button\n *ngFor=\"let opt of item.opts\"\n [disabled]=\"!enabled\"\n class=\"custom-margin\"\n value=\"{{ opt }}\"\n ><b>{{ opt }}</b\n >&nbsp;&nbsp;&nbsp;&nbsp;</mat-radio-button\n >\n </mat-radio-group>\n </section>\n\n <mat-form-field\n *ngIf=\"item.type == 'select'\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ item.label }}</mat-label>\n <mat-select\n [required]=\"item.required\"\n [(ngModel)]=\"item.default_value\"\n >\n <mat-option\n *ngFor=\"let opt of item.opts\"\n [disabled]=\"!enabled\"\n value=\"{{ opt }}\"\n >{{ opt }}</mat-option\n >\n </mat-select>\n </mat-form-field>\n <div style=\"width: 220px\" *ngIf=\"item.type == 'date_field'\">\n <FHDatePicker\n [required]=\"item.required\"\n [disabled]=\"!enabled\"\n [(ngModel)]=\"item.default_value\"\n [label]=\"item.label\"\n ></FHDatePicker\n >&nbsp;&nbsp;\n </div>\n </div>\n </div>\n\n <mat-form-field [hidden]=\"true\">\n <input matInput #bottoml />\n </mat-form-field>\n </div>\n ",
12492
- styles: [""]
12491
+ template: "\n <div\n fxLayout=\"column\"\n fxFlex=\"100\"\n style=\"width:100%;border:1px solid #004040;height:100%\"\n *ngIf=\"items != null\"\n >\n <div\n fxLayout=\"row\"\n *ngFor=\"let item of items\"\n [ngStyle]=\"setStyles(item.uiid)\"\n fxLayoutAlign=\"start center\"\n >\n <div style=\"width: 90%\">\n <mat-form-field\n *ngIf=\"item.type == 'text_field'\"\n style=\"max-width: 350px\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ item.label }}</mat-label>\n <input\n matInput\n [required]=\"item.required\"\n [disabled]=\"!enabled\"\n type=\"text\"\n [(ngModel)]=\"item.default_value\"\n />\n </mat-form-field>\n\n <mat-form-field\n *ngIf=\"item.type == 'numeric_field'\"\n style=\"max-width: 220px\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ item.label }}</mat-label>\n <input\n matInput\n [required]=\"item.required\"\n [disabled]=\"!enabled\"\n type=\"number\"\n [(ngModel)]=\"item.default_value\"\n />\n </mat-form-field>\n\n <FHRichText\n *ngIf=\"item.type == 'textarea'\"\n [label]=\"item.label\"\n [required]=\"item.required\"\n [(ngModel)]=\"item.default_value\"\n height=\"15'\"\n enabled=\"false\"\n ></FHRichText>\n\n <mat-checkbox\n *ngIf=\"item.type == 'checkbox'\"\n [required]=\"item.required\"\n [disabled]=\"!enabled\"\n [(ngModel)]=\"item.default_value\"\n ><b>{{ item.label }}</b></mat-checkbox\n >\n\n <div *ngIf=\"item.type == 'radiobutton'\" fxLayout=\"row\" fxLayoutGap=\"5px\">\n <label *ngIf=\"!item.required\">{{ item.label }}: </label>&nbsp;&nbsp;&nbsp;&nbsp;\n <label *ngIf=\"item.required\">{{ item.label }}: *</label>&nbsp;&nbsp;&nbsp;&nbsp;\n <mat-radio-group\n [(ngModel)]=\"item.default_value\"\n [required]=\"item.required\" class=\"fh-radio-group\"\n >\n <mat-radio-button\n *ngFor=\"let opt of item.opts\"\n [disabled]=\"!enabled\"\n class=\"custom-margin\" class=\"fh-radio-button\"\n value=\"{{ opt }}\"\n ><b>{{ opt }}</b\n >&nbsp;&nbsp;&nbsp;&nbsp;</mat-radio-button\n >\n </mat-radio-group>\n </div>\n\n <mat-form-field\n *ngIf=\"item.type == 'select'\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ item.label }}</mat-label>\n <mat-select\n [required]=\"item.required\"\n [(ngModel)]=\"item.default_value\"\n >\n <mat-option\n *ngFor=\"let opt of item.opts\"\n [disabled]=\"!enabled\"\n value=\"{{ opt }}\"\n >{{ opt }}</mat-option\n >\n </mat-select>\n </mat-form-field>\n <div style=\"width: 220px\" *ngIf=\"item.type == 'date_field'\">\n <FHDatePicker\n [required]=\"item.required\"\n [disabled]=\"!enabled\"\n [(ngModel)]=\"item.default_value\"\n [label]=\"item.label\"\n ></FHDatePicker\n >&nbsp;&nbsp;\n </div>\n </div>\n </div>\n\n <mat-form-field [hidden]=\"true\">\n <input matInput #bottoml />\n </mat-form-field>\n </div>\n ",
12492
+ styles: [" .fh-radio-group {\n display: flex;\n flex-direction: column;\n margin: 15px 0;\n }\n\n .fh-radio-button {\n margin: 5px;\n }"]
12493
12493
  },] }
12494
12494
  ];
12495
12495
  FormExecuterComponent.ctorParameters = function () { return [