@fluxhub/fluxhub-lib 1.0.604 → 1.0.605

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,4 +1,4 @@
1
- import { Injectable, defineInjectable, Component, inject, ViewChild, ViewContainerRef, Directive, EventEmitter, Input, Output, HostListener, Pipe, ElementRef, Inject, PLATFORM_ID, forwardRef, Optional, NgModule } from '@angular/core';
1
+ import { Injectable, defineInjectable, Component, inject, ViewChild, ViewContainerRef, Directive, EventEmitter, Input, Output, forwardRef, HostListener, Pipe, ElementRef, Inject, PLATFORM_ID, Optional, NgModule } from '@angular/core';
2
2
  import { HttpHeaders, HttpClient } from '@angular/common/http';
3
3
  import { ToastrService } from 'ngx-toastr';
4
4
  import { map, catchError, flatMap } from 'rxjs/operators';
@@ -2860,7 +2860,6 @@ class FHComboboxComponent {
2860
2860
  fillCombo() {
2861
2861
  // console.log(this.init_fill);
2862
2862
  // if(!this.init_fill){this.init_fill=true;return;}
2863
- console.log("fillcombo " + this.sql);
2864
2863
  if (this.sql.indexOf('|') != -1 && this.sql.indexOf('$') != -1) {
2865
2864
  this.set_options(this.sql);
2866
2865
  return;
@@ -5453,6 +5452,460 @@ win_riassegna_select_user.propDecorators = {
5453
5452
  up: [{ type: ViewChild, args: ['up',] }]
5454
5453
  };
5455
5454
 
5455
+ /**
5456
+ * @fileoverview added by tsickle
5457
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
5458
+ */
5459
+ /** @type {?} */
5460
+ const CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR = {
5461
+ provide: NG_VALUE_ACCESSOR,
5462
+ useExisting: forwardRef((/**
5463
+ * @return {?}
5464
+ */
5465
+ () => FHUserFieldComponent)),
5466
+ multi: true
5467
+ };
5468
+ class FHUserFieldComponent {
5469
+ /**
5470
+ * @param {?} dataservice
5471
+ * @param {?} dialog
5472
+ */
5473
+ constructor(dataservice, dialog) {
5474
+ this.dataservice = dataservice;
5475
+ this.dialog = dialog;
5476
+ this.label = '';
5477
+ this.required = false;
5478
+ this.enabled = true;
5479
+ this.hidden = false;
5480
+ this.multi = false;
5481
+ this.change = new EventEmitter();
5482
+ this.select = new EventEmitter();
5483
+ this.userName = '';
5484
+ this.selectedUser = [];
5485
+ this.all_user = null;
5486
+ this.onChange = (/**
5487
+ * @param {?} _
5488
+ * @return {?}
5489
+ */
5490
+ (_) => {
5491
+ });
5492
+ this.onTouched = (/**
5493
+ * @return {?}
5494
+ */
5495
+ () => {
5496
+ });
5497
+ }
5498
+ /**
5499
+ * @return {?}
5500
+ */
5501
+ ngOnInit() {
5502
+ if (this.required)
5503
+ this.label = this.label + ' *';
5504
+ }
5505
+ /**
5506
+ * @return {?}
5507
+ */
5508
+ getUsersNc() {
5509
+ /** @type {?} */
5510
+ let s_nc = '';
5511
+ for (let i = 0; i < this.selectedUser.length; i++) {
5512
+ if (s_nc != '')
5513
+ s_nc = s_nc + ',';
5514
+ s_nc = s_nc + `${this.selectedUser[i].cognome} ${this.selectedUser[i].nome}`;
5515
+ }
5516
+ return s_nc;
5517
+ }
5518
+ /**
5519
+ * @return {?}
5520
+ */
5521
+ getUsersEmail() {
5522
+ /** @type {?} */
5523
+ let s_nc = '';
5524
+ for (let i = 0; i < this.selectedUser.length; i++) {
5525
+ if (s_nc != '')
5526
+ s_nc = s_nc + ',';
5527
+ s_nc = s_nc + `${this.selectedUser[i].email}`;
5528
+ }
5529
+ return s_nc;
5530
+ }
5531
+ /**
5532
+ * @return {?}
5533
+ */
5534
+ getUsersUsername() {
5535
+ /** @type {?} */
5536
+ let s_nc = '';
5537
+ for (let i = 0; i < this.selectedUser.length; i++) {
5538
+ if (s_nc != '')
5539
+ s_nc = s_nc + ',';
5540
+ s_nc = s_nc + `${this.selectedUser[i].username}`;
5541
+ }
5542
+ return s_nc;
5543
+ }
5544
+ /**
5545
+ * @param {?} value
5546
+ * @return {?}
5547
+ */
5548
+ writeValue(value) {
5549
+ if (value == null) {
5550
+ this.clear();
5551
+ return;
5552
+ }
5553
+ if (value == '') {
5554
+ this.clear();
5555
+ return;
5556
+ }
5557
+ if (value == 'noop') {
5558
+ this.userName = this.getUsersNc();
5559
+ this.onChange(this.getUsersUsername());
5560
+ return;
5561
+ }
5562
+ if (this.selectedUser == null) {
5563
+ this.setByUsername(value);
5564
+ this.userName = this.getUsersNc();
5565
+ return;
5566
+ }
5567
+ if (this.getUsersUsername() != value) {
5568
+ this.setByUsername(value);
5569
+ this.userName = this.getUsersNc();
5570
+ }
5571
+ }
5572
+ /**
5573
+ * @param {?} emails
5574
+ * @return {?}
5575
+ */
5576
+ setByEmail(emails) {
5577
+ console.log('emails ', emails);
5578
+ if (emails == null)
5579
+ return;
5580
+ if (emails == '')
5581
+ return;
5582
+ /** @type {?} */
5583
+ let a = emails.split(',');
5584
+ /** @type {?} */
5585
+ let s_nc = '';
5586
+ for (let i = 0; i < a.length; i++) {
5587
+ if (s_nc != '')
5588
+ s_nc = s_nc + ',';
5589
+ s_nc = s_nc + '\'' + a[i] + '\'';
5590
+ }
5591
+ console.log('s_nc ', s_nc);
5592
+ if (s_nc == "")
5593
+ return;
5594
+ /** @type {?} */
5595
+ const param = {
5596
+ sql: 'SELECT_USERS_INFOS_BY_EMAIL_NOREP',
5597
+ types: ['string'],
5598
+ values: [s_nc],
5599
+ names: [],
5600
+ };
5601
+ console.log(param);
5602
+ this.dataservice.doQuery(param)
5603
+ .subscribe((/**
5604
+ * @param {?} data
5605
+ * @return {?}
5606
+ */
5607
+ (data) => {
5608
+ /** @type {?} */
5609
+ let result = data.result_data;
5610
+ if (result != null) {
5611
+ this.selectedUser = result;
5612
+ this.writeValue('noop');
5613
+ this.select.emit(this.selectedUser);
5614
+ console.log(this.selectedUser);
5615
+ this.userName = this.getUsersNc();
5616
+ console.log(this.userName);
5617
+ }
5618
+ else
5619
+ this.clear();
5620
+ }));
5621
+ }
5622
+ /**
5623
+ * @param {?} username
5624
+ * @return {?}
5625
+ */
5626
+ setByUsername(username) {
5627
+ if (!username)
5628
+ return;
5629
+ /** @type {?} */
5630
+ let a = username.split(',');
5631
+ /** @type {?} */
5632
+ let s_nc = '';
5633
+ for (let i = 0; i < a.length; i++) {
5634
+ if (s_nc != '')
5635
+ s_nc = s_nc + ',';
5636
+ s_nc = s_nc + '\'' + a[i] + '\'';
5637
+ }
5638
+ /** @type {?} */
5639
+ const param = {
5640
+ sql: 'SELECT_USERS_INFOS_BY_USERNAME_NOREP',
5641
+ types: ['string'],
5642
+ values: [s_nc],
5643
+ names: [],
5644
+ };
5645
+ this.dataservice.doQuery(param)
5646
+ .subscribe((/**
5647
+ * @param {?} data
5648
+ * @return {?}
5649
+ */
5650
+ (data) => {
5651
+ /** @type {?} */
5652
+ let result = data.result_data;
5653
+ if (result != null) {
5654
+ this.selectedUser = result;
5655
+ this.writeValue('noop');
5656
+ this.select.emit(this.selectedUser);
5657
+ console.log(this.selectedUser);
5658
+ this.userName = this.getUsersNc();
5659
+ console.log(this.userName);
5660
+ }
5661
+ else
5662
+ this.clear();
5663
+ }));
5664
+ }
5665
+ /**
5666
+ * @return {?}
5667
+ */
5668
+ load_all_users() {
5669
+ /** @type {?} */
5670
+ const param = {
5671
+ sql: 'SELECT_ALL_USERS',
5672
+ types: [],
5673
+ values: [],
5674
+ names: [],
5675
+ };
5676
+ this.dataservice.doQuery(param)
5677
+ .subscribe((/**
5678
+ * @param {?} data
5679
+ * @return {?}
5680
+ */
5681
+ (data) => {
5682
+ this.all_user = data.result_data;
5683
+ if (this.all_user == null) {
5684
+ this.all_user = [];
5685
+ }
5686
+ this.open_pick();
5687
+ }));
5688
+ }
5689
+ /**
5690
+ * @return {?}
5691
+ */
5692
+ open_pick() {
5693
+ if (this.all_user == null) {
5694
+ this.load_all_users();
5695
+ return;
5696
+ }
5697
+ if (!this.enabled)
5698
+ return;
5699
+ /** @type {?} */
5700
+ let dialogRef = this.dialog.open(FHUserPickerComponent, {
5701
+ disableClose: true, width: "700px", height: "550px"
5702
+ });
5703
+ dialogRef.componentInstance.user_sel = this.selectedUser;
5704
+ dialogRef.componentInstance.users_list = Object.assign([], this.all_user);
5705
+ dialogRef.componentInstance.single_sel = !this.multi;
5706
+ dialogRef.componentInstance.filtra();
5707
+ dialogRef.afterClosed().subscribe((/**
5708
+ * @param {?} result
5709
+ * @return {?}
5710
+ */
5711
+ result => {
5712
+ if (result == null)
5713
+ return;
5714
+ if (result != null) {
5715
+ this.selectedUser = result;
5716
+ this.writeValue('noop');
5717
+ this.select.emit(this.selectedUser);
5718
+ this.userName = this.getUsersNc();
5719
+ }
5720
+ this.change.emit(this.selectedUser);
5721
+ this.select.emit(this.selectedUser);
5722
+ }));
5723
+ }
5724
+ /**
5725
+ * @return {?}
5726
+ */
5727
+ clear() {
5728
+ this.selectedUser = [];
5729
+ this.onChange([]);
5730
+ this.userName = "";
5731
+ }
5732
+ /**
5733
+ * @param {?} fn
5734
+ * @return {?}
5735
+ */
5736
+ registerOnChange(fn) {
5737
+ this.onChange = fn;
5738
+ }
5739
+ /**
5740
+ * @param {?} fn
5741
+ * @return {?}
5742
+ */
5743
+ registerOnTouched(fn) {
5744
+ this.onTouched = fn;
5745
+ }
5746
+ }
5747
+ FHUserFieldComponent.decorators = [
5748
+ { type: Component, args: [{
5749
+ selector: 'FHUserField', providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR],
5750
+ template: `
5751
+ <div fxLayout="row" [hidden]="!enabled || hidden">
5752
+ <mat-form-field style="clickable-field" (click)="open_pick()" appearance="outline" floatLabel="always"><mat-label>{{label}}</mat-label>
5753
+
5754
+ <input matInput
5755
+ [hidden]="hidden"
5756
+
5757
+ type="text"
5758
+ [ngModel]="userName"
5759
+ [disabled]="false" readonly>
5760
+
5761
+ </mat-form-field>
5762
+ <button mat-icon-button matSuffix
5763
+ [hidden]="selectedUser.length==0"
5764
+ (click)="clear()">
5765
+ <mat-icon>clear</mat-icon>
5766
+ </button>
5767
+ </div>
5768
+ <mat-form-field [hidden]="enabled || hidden" appearance="outline" floatLabel="always"><mat-label>{{label}}</mat-label>
5769
+ <input type="text" #el1 matInput [disabled]="true" [(ngModel)]="userName"
5770
+ >
5771
+ </mat-form-field>
5772
+ `,
5773
+ styles: [`
5774
+ .clickable-field {
5775
+ border: 1px solid #000000;
5776
+ color: #000000;
5777
+ }
5778
+
5779
+ .clickable-field:focus {
5780
+ outline: none;
5781
+ }
5782
+
5783
+ :host ::ng-deep .mat-input-element {
5784
+ cursor: pointer !important;
5785
+ }
5786
+ `]
5787
+ }] }
5788
+ ];
5789
+ /** @nocollapse */
5790
+ FHUserFieldComponent.ctorParameters = () => [
5791
+ { type: QueryService },
5792
+ { type: MatDialog }
5793
+ ];
5794
+ FHUserFieldComponent.propDecorators = {
5795
+ label: [{ type: Input }],
5796
+ required: [{ type: Input }],
5797
+ enabled: [{ type: Input }],
5798
+ hidden: [{ type: Input }],
5799
+ multi: [{ type: Input }],
5800
+ change: [{ type: Output }],
5801
+ select: [{ type: Output }],
5802
+ userName: [{ type: Input }]
5803
+ };
5804
+
5805
+ /**
5806
+ * @fileoverview added by tsickle
5807
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
5808
+ */
5809
+ class win_sostituisci_utente {
5810
+ /**
5811
+ * @param {?} dialogRef
5812
+ * @param {?} m_appService
5813
+ * @param {?} toastr
5814
+ * @param {?} _dataService
5815
+ */
5816
+ constructor(dialogRef, m_appService, toastr, _dataService) {
5817
+ this.dialogRef = dialogRef;
5818
+ this.m_appService = m_appService;
5819
+ this.toastr = toastr;
5820
+ this._dataService = _dataService;
5821
+ this.nota = "";
5822
+ this.title = "";
5823
+ this.comm_notrequired = true;
5824
+ this.comm_notrequired = true;
5825
+ }
5826
+ /**
5827
+ * @return {?}
5828
+ */
5829
+ ok() {
5830
+ console.log(this.up.getUsersUsername(), this.up1.getUsersUsername());
5831
+ if (this.up.getUsersUsername() == null) {
5832
+ this.toastr.error('selezionare utente origine');
5833
+ return;
5834
+ }
5835
+ if (this.up.getUsersUsername() == '-1') {
5836
+ this.toastr.error('selezionare utente origine');
5837
+ return;
5838
+ }
5839
+ if (this.up.getUsersUsername() == '') {
5840
+ this.toastr.error('selezionare utente origine');
5841
+ return;
5842
+ }
5843
+ if (this.up1.getUsersUsername() == null) {
5844
+ this.toastr.error('selezionare utente destinazione');
5845
+ return;
5846
+ }
5847
+ if (this.up1.getUsersUsername() == '-1') {
5848
+ this.toastr.error('selezionare utente destinazione');
5849
+ return;
5850
+ }
5851
+ if (this.up1.getUsersUsername() == '') {
5852
+ this.toastr.error('selezionare utente destinazione');
5853
+ return;
5854
+ }
5855
+ /** @type {?} */
5856
+ let o = new Object();
5857
+ o.u1 = this.up.getUsersUsername();
5858
+ o.u2 = this.up1.getUsersUsername();
5859
+ o.result = "ok";
5860
+ this.dialogRef.close(o);
5861
+ }
5862
+ /**
5863
+ * @return {?}
5864
+ */
5865
+ annulla() {
5866
+ this.dialogRef.close("");
5867
+ }
5868
+ /**
5869
+ * @return {?}
5870
+ */
5871
+ ngOnInit() {
5872
+ }
5873
+ }
5874
+ win_sostituisci_utente.decorators = [
5875
+ { type: Component, args: [{
5876
+ template: `
5877
+
5878
+ <h4 mat-dialog-title>{{title}}
5879
+ </h4>
5880
+ <div mat-dialog-content fxLayoutGap="5px" fxLayout="column" style="font-size:12px">
5881
+ <div style="width:100%">
5882
+ <FHUserField label="Utente da sostituire" #up ></FHUserField>
5883
+ </div>
5884
+ <div style="width:100%">
5885
+ <FHUserField label="Utente sostituto" #up1 ></FHUserField>
5886
+ </div>
5887
+
5888
+ </div>
5889
+ <div mat-dialog-actions fxLayout="row" fxLayoutAlign="center center">
5890
+ <div><button mat-flat-button color="primary" (click)="ok()"> OK</button></div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
5891
+ <div> <button mat-flat-button style="background-color: #F5F5F5" (click)="annulla()">ANNULLA</button></div>
5892
+ </div>
5893
+
5894
+ `
5895
+ }] }
5896
+ ];
5897
+ /** @nocollapse */
5898
+ win_sostituisci_utente.ctorParameters = () => [
5899
+ { type: MatDialogRef },
5900
+ { type: AppService },
5901
+ { type: ToastrService },
5902
+ { type: QueryService }
5903
+ ];
5904
+ win_sostituisci_utente.propDecorators = {
5905
+ up: [{ type: ViewChild, args: ['up',] }],
5906
+ up1: [{ type: ViewChild, args: ['up1',] }]
5907
+ };
5908
+
5456
5909
  /**
5457
5910
  * @fileoverview added by tsickle
5458
5911
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
@@ -5535,6 +5988,8 @@ class wkfapp {
5535
5988
  this.recupera_richiesta();
5536
5989
  if (o.cmd == 'riassegna_richiesta')
5537
5990
  this.riassegna_richiesta();
5991
+ if (o.cmd == 'sostituisci_utente')
5992
+ this.sostituisci_utente();
5538
5993
  if (o.cmd == 'annulla_imp')
5539
5994
  this.annulla_imp();
5540
5995
  if (o.cmd == 'test_utente')
@@ -5594,9 +6049,67 @@ class wkfapp {
5594
6049
  * @param {?} result
5595
6050
  * @return {?}
5596
6051
  */
5597
- result => {
5598
- if (result == 'ok')
5599
- this.get_grid().doFill('');
6052
+ result => {
6053
+ if (result == 'ok')
6054
+ this.get_grid().doFill('');
6055
+ }));
6056
+ }
6057
+ /**
6058
+ * @return {?}
6059
+ */
6060
+ sostituisci_utente() {
6061
+ if (this.get_grid().sRow == null) {
6062
+ this._toastr.error("Selezionare il documento");
6063
+ return;
6064
+ }
6065
+ /** @type {?} */
6066
+ let p = new QParam();
6067
+ p.sql = "SELECT_USERS_BY_WKF_DOC";
6068
+ p.types = ['string', 'string'];
6069
+ p.values = [this.id_applicativo, this.get_grid().sRow.uiid];
6070
+ this
6071
+ .m_dataService
6072
+ .doQuery(p)
6073
+ .subscribe((/**
6074
+ * @param {?} data
6075
+ * @return {?}
6076
+ */
6077
+ data => {
6078
+ if (data != null)
6079
+ if (data.result_msg == "OK") {
6080
+ /** @type {?} */
6081
+ let dialogRef = this.dialog.open(win_sostituisci_utente, { 'disableClose': true, 'width': '450px' });
6082
+ dialogRef.componentInstance.up.all_user = data.result_data;
6083
+ dialogRef.componentInstance.title = "Sostituzione utente: " + this.get_grid().sRow.codice + " - " + this.get_grid().sRow.oggetto;
6084
+ dialogRef.afterClosed().subscribe((/**
6085
+ * @param {?} result
6086
+ * @return {?}
6087
+ */
6088
+ result => {
6089
+ if (result != null)
6090
+ if (result.result != null)
6091
+ if (result.result == 'ok') {
6092
+ /** @type {?} */
6093
+ let p = new QParam();
6094
+ p.sql = "UPDATE_USER_WORKFLOW";
6095
+ p.types = ['string', 'string', 'string', 'string'];
6096
+ p.values = [this.id_applicativo, this.get_grid().sRow.uiid, result.u1, result.u2];
6097
+ this
6098
+ .m_dataService
6099
+ .doQuery(p)
6100
+ .subscribe((/**
6101
+ * @param {?} data
6102
+ * @return {?}
6103
+ */
6104
+ data => {
6105
+ if (data != null)
6106
+ if (data.result_msg == "OK") {
6107
+ this._toastr.info('Workflow Aggiornato');
6108
+ }
6109
+ }));
6110
+ }
6111
+ }));
6112
+ }
5600
6113
  }));
5601
6114
  }
5602
6115
  /**
@@ -10816,7 +11329,7 @@ FHLogPanelComponent.propDecorators = {
10816
11329
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
10817
11330
  */
10818
11331
  /** @type {?} */
10819
- const CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR = {
11332
+ const CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$1 = {
10820
11333
  provide: NG_VALUE_ACCESSOR,
10821
11334
  useExisting: forwardRef((/**
10822
11335
  * @return {?}
@@ -10992,7 +11505,7 @@ class FHCurrencyFieldComponent {
10992
11505
  FHCurrencyFieldComponent.decorators = [
10993
11506
  { type: Component, args: [{
10994
11507
  selector: 'FHCurrencyField',
10995
- providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR],
11508
+ providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$1],
10996
11509
  template: `
10997
11510
  <mat-form-field [hidden]="!enabled || hidden" appearance="outline" floatLabel="always"><mat-label>{{label}}</mat-label>
10998
11511
  <input type="text" style="text-align:right" #el matInput
@@ -11016,229 +11529,16 @@ FHCurrencyFieldComponent.decorators = [
11016
11529
  FHCurrencyFieldComponent.ctorParameters = () => [];
11017
11530
  FHCurrencyFieldComponent.propDecorators = {
11018
11531
  el: [{ type: ViewChild, args: ['el',] }],
11019
- decimal: [{ type: Input }],
11020
- label: [{ type: Input }],
11021
- required: [{ type: Input }],
11022
- enabled: [{ type: Input }],
11023
- hidden: [{ type: Input }],
11024
- color: [{ type: Input }],
11025
- label_width: [{ type: Input }],
11026
- change: [{ type: Output }],
11027
- enter_pressed: [{ type: Output }],
11028
- value: [{ type: Input }]
11029
- };
11030
-
11031
- /**
11032
- * @fileoverview added by tsickle
11033
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
11034
- */
11035
- /** @type {?} */
11036
- const CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_RT = {
11037
- provide: NG_VALUE_ACCESSOR,
11038
- useExisting: forwardRef((/**
11039
- * @return {?}
11040
- */
11041
- () => FHRichText)),
11042
- multi: true
11043
- };
11044
- class FHRichText {
11045
- constructor() {
11046
- this.enabled = true;
11047
- this.value = "";
11048
- this.label = "";
11049
- this.height = "360";
11050
- this.change = new EventEmitter();
11051
- this.focus = new EventEmitter();
11052
- this.blur = new EventEmitter();
11053
- this.config = new Object();
11054
- this.onChange = (/**
11055
- * @param {?} _
11056
- * @return {?}
11057
- */
11058
- (_) => {
11059
- });
11060
- this.onTouched = (/**
11061
- * @return {?}
11062
- */
11063
- () => {
11064
- });
11065
- }
11066
- /**
11067
- * @param {?} o
11068
- * @return {?}
11069
- */
11070
- onFocus(o) {
11071
- this.focus.emit(o);
11072
- }
11073
- /**
11074
- * @param {?} o
11075
- * @return {?}
11076
- */
11077
- onBlur(o) {
11078
- this.blur.emit(o);
11079
- }
11080
- /**
11081
- * @return {?}
11082
- */
11083
- ngOnInit() {
11084
- this.config = { height: this.height };
11085
- if (this.enabled) {
11086
- this.config.toolbarGroups = [
11087
- { name: 'document', groups: ['mode', 'document', 'doctools'] },
11088
- { name: 'clipboard', groups: ['clipboard', 'undo'] },
11089
- { name: 'editing', groups: ['find', 'selection', 'spellchecker'] },
11090
- { name: 'basicstyles', groups: ['basicstyles', 'cleanup'] },
11091
- { name: 'paragraph', groups: ['list', 'indent', 'blocks', 'align', 'bidi'] },
11092
- { name: 'links' },
11093
- { name: 'insert' },
11094
- { name: 'styles' },
11095
- { name: 'colors' },
11096
- { name: 'tools' },
11097
- { name: 'others' },
11098
- { name: 'about' }
11099
- ];
11100
- }
11101
- else {
11102
- this.config.allowedContent = true;
11103
- this.config.toolbarGroups = [];
11104
- }
11105
- /*
11106
- var element = document.querySelector( '.cke_top' );
11107
- console.log("Just to do some debugging we check " + element);
11108
- var myEl = this.ced.toolbarButtons
11109
- myEl.toggle();
11110
- element = document.querySelector( '.cke_bottom' );
11111
- myEl = ced.element( element );
11112
- myEl.toggle();
11113
-
11114
- var myEl2 = angular.element( document.querySelector( '.test' ) );
11115
- myEl2.toggleClass("invisible")*/
11116
- }
11117
- /**
11118
- * @param {?} value
11119
- * @return {?}
11120
- */
11121
- writeValue(value) {
11122
- this.value = value;
11123
- this.onChange(this.value);
11124
- }
11125
- /**
11126
- * @param {?} fn
11127
- * @return {?}
11128
- */
11129
- registerOnChange(fn) {
11130
- this.onChange = fn;
11131
- }
11132
- /**
11133
- * @param {?} fn
11134
- * @return {?}
11135
- */
11136
- registerOnTouched(fn) {
11137
- this.onTouched = fn;
11138
- }
11139
- }
11140
- FHRichText.decorators = [
11141
- { type: Component, args: [{
11142
- selector: 'FHRichText', providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_RT], template: `
11143
- <b *ngIf="label!=''">{{label}}</b>
11144
- <ckeditor
11145
- [(ngModel)]="value"
11146
- [config]="config"
11147
- [readonly]="!enabled"
11148
- (change)="writeValue($event)"
11149
- (focus)="onFocus($event)"
11150
- (blur)="onBlur($event)" ngDefaultControl
11151
- debounce="500">
11152
- </ckeditor>
11153
-
11154
- `,
11155
- styles: [`
11156
-
11157
- `]
11158
- }] }
11159
- ];
11160
- /** @nocollapse */
11161
- FHRichText.ctorParameters = () => [];
11162
- FHRichText.propDecorators = {
11163
- enabled: [{ type: Input }],
11164
- value: [{ type: Input }],
11165
- label: [{ type: Input }],
11166
- height: [{ type: Input }],
11167
- change: [{ type: Output }],
11168
- focus: [{ type: Output }],
11169
- blur: [{ type: Output }]
11170
- };
11171
-
11172
- /**
11173
- * @fileoverview added by tsickle
11174
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
11175
- */
11176
- class WinOutputComponent {
11177
- /**
11178
- * @param {?} dialogRef
11179
- * @param {?} toastr
11180
- */
11181
- constructor(dialogRef, toastr) {
11182
- this.dialogRef = dialogRef;
11183
- this.toastr = toastr;
11184
- this.title = "";
11185
- this.label = "";
11186
- this.valore = "";
11187
- this.min_chars = 3;
11188
- this.max_chars = 50;
11189
- }
11190
- /**
11191
- * @return {?}
11192
- */
11193
- ngOnInit() {
11194
- }
11195
- /**
11196
- * @return {?}
11197
- */
11198
- show() {
11199
- }
11200
- /**
11201
- * @return {?}
11202
- */
11203
- hide() {
11204
- this.dialogRef.close(null);
11205
- }
11206
- /**
11207
- * @return {?}
11208
- */
11209
- chiudi() {
11210
- this.dialogRef.close(null);
11211
- }
11212
- }
11213
- WinOutputComponent.decorators = [
11214
- { type: Component, args: [{
11215
- selector: 'app-win_output',
11216
- template: `
11217
-
11218
- <h2 mat-dialog-title>{{title}}</h2>
11219
- <mat-dialog-content style="min-width:500px;font-size: 12px;">
11220
-
11221
- <div [innerHTML]="valore" style="width:100%">
11222
- </div>
11223
-
11224
- </mat-dialog-content>
11225
- <mat-dialog-actions>
11226
- <button mat-flat-button color="warn" (click)="chiudi()">CHIUDI</button>
11227
- </mat-dialog-actions>
11228
-
11229
-
11230
- `
11231
- }] }
11232
- ];
11233
- /** @nocollapse */
11234
- WinOutputComponent.ctorParameters = () => [
11235
- { type: MatDialogRef },
11236
- { type: ToastrService }
11237
- ];
11238
- WinOutputComponent.propDecorators = {
11239
- title: [{ type: Input }],
11532
+ decimal: [{ type: Input }],
11240
11533
  label: [{ type: Input }],
11241
- valore: [{ type: Input }]
11534
+ required: [{ type: Input }],
11535
+ enabled: [{ type: Input }],
11536
+ hidden: [{ type: Input }],
11537
+ color: [{ type: Input }],
11538
+ label_width: [{ type: Input }],
11539
+ change: [{ type: Output }],
11540
+ enter_pressed: [{ type: Output }],
11541
+ value: [{ type: Input }]
11242
11542
  };
11243
11543
 
11244
11544
  /**
@@ -11246,30 +11546,24 @@ WinOutputComponent.propDecorators = {
11246
11546
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
11247
11547
  */
11248
11548
  /** @type {?} */
11249
- const CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_NUMERIC = {
11549
+ const CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_RT = {
11250
11550
  provide: NG_VALUE_ACCESSOR,
11251
11551
  useExisting: forwardRef((/**
11252
11552
  * @return {?}
11253
11553
  */
11254
- () => FHNumericFieldComponent)),
11554
+ () => FHRichText)),
11255
11555
  multi: true
11256
11556
  };
11257
- class FHNumericFieldComponent {
11258
- /**
11259
- * @param {?} uti_s
11260
- */
11261
- constructor(uti_s) {
11262
- this.uti_s = uti_s;
11263
- this.decimal = 0;
11264
- this.label = '';
11265
- this.th_character = '.';
11266
- this.required = false;
11557
+ class FHRichText {
11558
+ constructor() {
11267
11559
  this.enabled = true;
11268
- this.hidden = false;
11269
- this.m_color = '';
11560
+ this.value = "";
11561
+ this.label = "";
11562
+ this.height = "360";
11270
11563
  this.change = new EventEmitter();
11271
- this.innerValue = 0;
11272
- this.chgf = false;
11564
+ this.focus = new EventEmitter();
11565
+ this.blur = new EventEmitter();
11566
+ this.config = new Object();
11273
11567
  this.onChange = (/**
11274
11568
  * @param {?} _
11275
11569
  * @return {?}
@@ -11281,59 +11575,65 @@ class FHNumericFieldComponent {
11281
11575
  */
11282
11576
  () => {
11283
11577
  });
11284
- this.formattedAmount = '0,00';
11285
- this.value = 0.00;
11286
11578
  }
11287
11579
  /**
11580
+ * @param {?} o
11288
11581
  * @return {?}
11289
11582
  */
11290
- getStyle() {
11291
- return this.m_color;
11583
+ onFocus(o) {
11584
+ this.focus.emit(o);
11292
11585
  }
11293
11586
  /**
11294
- * @param {?} color
11587
+ * @param {?} o
11295
11588
  * @return {?}
11296
11589
  */
11297
- set_backcolor(color) {
11298
- this.m_color = color;
11590
+ onBlur(o) {
11591
+ this.blur.emit(o);
11299
11592
  }
11300
11593
  /**
11301
11594
  * @return {?}
11302
11595
  */
11303
- chg() {
11304
- // setTimeout(()=>{
11305
- if (this.formattedAmount != '') {
11306
- this.value = this.uti_s.round(parseFloat(this.formattedAmount.split('.').join('').split(',').join('.')), this.decimal);
11307
- this.formattedAmount = this.transform(this.value, this.decimal);
11596
+ ngOnInit() {
11597
+ this.config = { height: this.height };
11598
+ if (this.enabled) {
11599
+ this.config.toolbarGroups = [
11600
+ { name: 'document', groups: ['mode', 'document', 'doctools'] },
11601
+ { name: 'clipboard', groups: ['clipboard', 'undo'] },
11602
+ { name: 'editing', groups: ['find', 'selection', 'spellchecker'] },
11603
+ { name: 'basicstyles', groups: ['basicstyles', 'cleanup'] },
11604
+ { name: 'paragraph', groups: ['list', 'indent', 'blocks', 'align', 'bidi'] },
11605
+ { name: 'links' },
11606
+ { name: 'insert' },
11607
+ { name: 'styles' },
11608
+ { name: 'colors' },
11609
+ { name: 'tools' },
11610
+ { name: 'others' },
11611
+ { name: 'about' }
11612
+ ];
11308
11613
  }
11309
11614
  else {
11310
- this.value = this.uti_s.round(0, this.decimal);
11311
- this.formattedAmount = this.transform(this.value, this.decimal);
11615
+ this.config.allowedContent = true;
11616
+ this.config.toolbarGroups = [];
11312
11617
  }
11313
- this.chgf = true;
11314
- this.onChange(this.value);
11618
+ /*
11619
+ var element = document.querySelector( '.cke_top' );
11620
+ console.log("Just to do some debugging we check " + element);
11621
+ var myEl = this.ced.toolbarButtons
11622
+ myEl.toggle();
11623
+ element = document.querySelector( '.cke_bottom' );
11624
+ myEl = ced.element( element );
11625
+ myEl.toggle();
11626
+
11627
+ var myEl2 = angular.element( document.querySelector( '.test' ) );
11628
+ myEl2.toggleClass("invisible")*/
11315
11629
  }
11316
11630
  /**
11317
11631
  * @param {?} value
11318
11632
  * @return {?}
11319
11633
  */
11320
11634
  writeValue(value) {
11321
- if (this.chgf) {
11322
- this.chgf = false;
11323
- return;
11324
- }
11325
- // console.log('writeValue '+value+' '+this.decimal);
11326
- if (value == null)
11327
- value = 0.00;
11328
- if (value !== this.innerValue) {
11329
- this.innerValue = value;
11330
- this.value = value;
11331
- // if( this.formattedAmount==this.transform(this.value,this.decimal))return;
11332
- //console.log('prima '+this.formattedAmount);
11333
- this.formattedAmount = this.transform(this.value, this.decimal);
11334
- // console.log('dopo '+this.formattedAmount);
11335
- // this.onChange(this.value);
11336
- }
11635
+ this.value = value;
11636
+ this.onChange(this.value);
11337
11637
  }
11338
11638
  /**
11339
11639
  * @param {?} fn
@@ -11349,91 +11649,20 @@ class FHNumericFieldComponent {
11349
11649
  registerOnTouched(fn) {
11350
11650
  this.onTouched = fn;
11351
11651
  }
11352
- /**
11353
- * @param {?} value
11354
- * @param {?=} fractionSize
11355
- * @return {?}
11356
- */
11357
- transform(value, fractionSize = 0) {
11358
- //console.log('transform '+value+' '+fractionSize);
11359
- //console.log('transform '+value+' '+fractionSize);
11360
- let [integer, fraction = ""] = (value || "").toString().split('.');
11361
- fraction = fractionSize > 0
11362
- ? ',' + (fraction + '000000').substring(0, fractionSize)
11363
- : "";
11364
- if (this.th_character != '')
11365
- integer = integer.replace(/\B(?=(\d{3})+(?!\d))/g, this.th_character);
11366
- if (integer == '')
11367
- integer = '0';
11368
- if (this.decimal == 0)
11369
- return integer;
11370
- // console.log(integer + fraction);
11371
- return integer + fraction;
11372
- }
11373
- /**
11374
- * @param {?} element
11375
- * @return {?}
11376
- */
11377
- removeCurrencyPipeFormat(element) {
11378
- //console.log('removeCurrencyPipeFormat '+this.value);
11379
- try {
11380
- // this.value=this.value.split('.').join('');
11381
- this.formattedAmount = this.transform(this.value, this.decimal);
11382
- }
11383
- catch (e) {
11384
- console.log(e);
11385
- }
11386
- }
11387
- /**
11388
- * @param {?} element
11389
- * @return {?}
11390
- */
11391
- click_select_allf(element) {
11392
- setTimeout((/**
11393
- * @return {?}
11394
- */
11395
- () => {
11396
- this.el.nativeElement.select();
11397
- }), 200);
11398
- }
11399
- /**
11400
- * @param {?} element
11401
- * @return {?}
11402
- */
11403
- select_allf(element) {
11404
- this.el.nativeElement.select();
11405
- }
11406
- /**
11407
- * @return {?}
11408
- */
11409
- setFocus() {
11410
- this.el.nativeElement.focus();
11411
- }
11412
- /**
11413
- * @return {?}
11414
- */
11415
- ngOnInit() {
11416
- if (this.required)
11417
- this.el.nativeElement.required = this.required;
11418
- this.el.nativeElement.disabled = !this.enabled;
11419
- if (this.value == null)
11420
- this.value = 0;
11421
- // console.log('tttttttttttt',this.decimal);
11422
- this.formattedAmount = this.transform(this.value, this.decimal);
11423
- }
11424
11652
  }
11425
- FHNumericFieldComponent.decorators = [
11653
+ FHRichText.decorators = [
11426
11654
  { type: Component, args: [{
11427
- selector: 'FHNumericField',
11428
- providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_NUMERIC],
11429
- template: `
11430
- <mat-form-field [hidden]="hidden" appearance="outline" floatLabel="always"><mat-label>{{label}}</mat-label>
11431
- <input type="text" style="text-align:right" [style.background-color]="getStyle()" #el matInput
11432
- [disabled]="!enabled" [(ngModel)]="formattedAmount"
11433
- (blur)="chg()" (click)="click_select_allf($event);"
11434
- (focus)="removeCurrencyPipeFormat($event);select_allf($event);"
11435
- pattern="[0-9]+">
11436
- </mat-form-field>
11655
+ selector: 'FHRichText', providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_RT], template: `
11656
+ <b *ngIf="label!=''">{{label}}</b>
11657
+ <ckeditor
11658
+ [(ngModel)]="value"
11659
+ [config]="config"
11660
+ [readonly]="!enabled"
11661
+ (change)="writeValue($event)"
11662
+ (focus)="onFocus($event)"
11663
+ (blur)="onBlur($event)" ngDefaultControl
11664
+ debounce="500">
11665
+ </ckeditor>
11437
11666
 
11438
11667
  `,
11439
11668
  styles: [`
@@ -11442,106 +11671,87 @@ FHNumericFieldComponent.decorators = [
11442
11671
  }] }
11443
11672
  ];
11444
11673
  /** @nocollapse */
11445
- FHNumericFieldComponent.ctorParameters = () => [
11446
- { type: UtilityService }
11447
- ];
11448
- FHNumericFieldComponent.propDecorators = {
11449
- el: [{ type: ViewChild, args: ['el',] }],
11450
- decimal: [{ type: Input }],
11451
- label: [{ type: Input }],
11452
- th_character: [{ type: Input }],
11453
- required: [{ type: Input }],
11674
+ FHRichText.ctorParameters = () => [];
11675
+ FHRichText.propDecorators = {
11454
11676
  enabled: [{ type: Input }],
11455
- hidden: [{ type: Input }],
11677
+ value: [{ type: Input }],
11678
+ label: [{ type: Input }],
11679
+ height: [{ type: Input }],
11456
11680
  change: [{ type: Output }],
11457
- value: [{ type: Input }]
11681
+ focus: [{ type: Output }],
11682
+ blur: [{ type: Output }]
11458
11683
  };
11459
11684
 
11460
11685
  /**
11461
11686
  * @fileoverview added by tsickle
11462
11687
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
11463
11688
  */
11464
- class FHListPick {
11689
+ class WinOutputComponent {
11465
11690
  /**
11466
11691
  * @param {?} dialogRef
11467
11692
  * @param {?} toastr
11468
- * @param {?} m_appService
11469
11693
  */
11470
- constructor(dialogRef, toastr, m_appService) {
11694
+ constructor(dialogRef, toastr) {
11471
11695
  this.dialogRef = dialogRef;
11472
11696
  this.toastr = toastr;
11473
- this.m_appService = m_appService;
11474
- this.label = "";
11475
- this.separator = ",";
11476
11697
  this.title = "";
11477
- this.sql = "";
11478
- this.single_sel = false;
11479
- this.sel_values = "";
11698
+ this.label = "";
11699
+ this.valore = "";
11700
+ this.min_chars = 3;
11701
+ this.max_chars = 50;
11480
11702
  }
11481
11703
  /**
11482
11704
  * @return {?}
11483
11705
  */
11484
- doFill() {
11485
- if (!this.single_sel)
11486
- this.cmb_sel.setByDescri(this.sel_values);
11487
- this.cmb_sel.sql = this.sql;
11488
- this.cmb_sel.types = this.types;
11489
- this.cmb_sel.values = this.values;
11490
- this.cmb_sel.fillCombo();
11706
+ ngOnInit() {
11491
11707
  }
11492
11708
  /**
11493
11709
  * @return {?}
11494
11710
  */
11495
- ok() {
11496
- if (this.cmb_sel.getValue() == "") {
11497
- this.toastr.error('Selezionare un valore');
11498
- return;
11499
- }
11500
- this.dialogRef.close(this.cmb_sel.getObjects());
11711
+ show() {
11501
11712
  }
11502
- /**
11503
- * @return {?}
11504
- */
11505
- ok_single() {
11506
- if (!this.single_sel)
11507
- return;
11508
- this.dialogRef.close(this.cmb_sel.getObjects());
11713
+ /**
11714
+ * @return {?}
11715
+ */
11716
+ hide() {
11717
+ this.dialogRef.close(null);
11509
11718
  }
11510
11719
  /**
11511
11720
  * @return {?}
11512
11721
  */
11513
- ngOnInit() {
11722
+ chiudi() {
11723
+ this.dialogRef.close(null);
11514
11724
  }
11515
11725
  }
11516
- FHListPick.decorators = [
11726
+ WinOutputComponent.decorators = [
11517
11727
  { type: Component, args: [{
11518
- selector: 'fhlistpick',
11728
+ selector: 'app-win_output',
11519
11729
  template: `
11520
- <h2 mat-dialog-title>{{title}}</h2>
11521
- <mat-dialog-content style="min-width:700px;min-height:500px;font-size: 12px">
11522
- <FHList #cmb_sel [label]="label" [single_sel]="single_sel" [separator]="separator" style="width:100%;height:100%" init_fill="false" (selchange)="ok_single()"></FHList>
11523
11730
 
11524
- </mat-dialog-content>
11731
+ <h2 mat-dialog-title>{{title}}</h2>
11732
+ <mat-dialog-content style="min-width:500px;font-size: 12px;">
11525
11733
 
11734
+ <div [innerHTML]="valore" style="width:100%">
11735
+ </div>
11526
11736
 
11737
+ </mat-dialog-content>
11527
11738
  <mat-dialog-actions>
11528
- <div fxLayout="row" fxLayoutAlign="center center" style="width: 100%">
11529
-
11530
- <button mat-flat-button color="primary" *ngIf="!single_sel" (click)="ok()">OK</button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
11531
- <button mat-flat-button style="background-color: #F5F5F5" (click)="dialogRef.close('')">ANNULLA</button>
11532
- </div>
11739
+ <button mat-flat-button color="warn" (click)="chiudi()">CHIUDI</button>
11533
11740
  </mat-dialog-actions>
11741
+
11742
+
11534
11743
  `
11535
11744
  }] }
11536
11745
  ];
11537
11746
  /** @nocollapse */
11538
- FHListPick.ctorParameters = () => [
11747
+ WinOutputComponent.ctorParameters = () => [
11539
11748
  { type: MatDialogRef },
11540
- { type: ToastrService },
11541
- { type: AppService }
11749
+ { type: ToastrService }
11542
11750
  ];
11543
- FHListPick.propDecorators = {
11544
- cmb_sel: [{ type: ViewChild, args: ['cmb_sel',] }]
11751
+ WinOutputComponent.propDecorators = {
11752
+ title: [{ type: Input }],
11753
+ label: [{ type: Input }],
11754
+ valore: [{ type: Input }]
11545
11755
  };
11546
11756
 
11547
11757
  /**
@@ -11549,32 +11759,30 @@ FHListPick.propDecorators = {
11549
11759
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
11550
11760
  */
11551
11761
  /** @type {?} */
11552
- const CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$1 = {
11762
+ const CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_NUMERIC = {
11553
11763
  provide: NG_VALUE_ACCESSOR,
11554
11764
  useExisting: forwardRef((/**
11555
11765
  * @return {?}
11556
11766
  */
11557
- () => FHUserFieldComponent)),
11767
+ () => FHNumericFieldComponent)),
11558
11768
  multi: true
11559
11769
  };
11560
- class FHUserFieldComponent {
11770
+ class FHNumericFieldComponent {
11561
11771
  /**
11562
- * @param {?} dataservice
11563
- * @param {?} dialog
11772
+ * @param {?} uti_s
11564
11773
  */
11565
- constructor(dataservice, dialog) {
11566
- this.dataservice = dataservice;
11567
- this.dialog = dialog;
11774
+ constructor(uti_s) {
11775
+ this.uti_s = uti_s;
11776
+ this.decimal = 0;
11568
11777
  this.label = '';
11778
+ this.th_character = '.';
11569
11779
  this.required = false;
11570
11780
  this.enabled = true;
11571
11781
  this.hidden = false;
11572
- this.multi = false;
11782
+ this.m_color = '';
11573
11783
  this.change = new EventEmitter();
11574
- this.select = new EventEmitter();
11575
- this.userName = '';
11576
- this.selectedUser = [];
11577
- this.all_user = null;
11784
+ this.innerValue = 0;
11785
+ this.chgf = false;
11578
11786
  this.onChange = (/**
11579
11787
  * @param {?} _
11580
11788
  * @return {?}
@@ -11586,312 +11794,267 @@ class FHUserFieldComponent {
11586
11794
  */
11587
11795
  () => {
11588
11796
  });
11797
+ this.formattedAmount = '0,00';
11798
+ this.value = 0.00;
11589
11799
  }
11590
11800
  /**
11591
11801
  * @return {?}
11592
11802
  */
11593
- ngOnInit() {
11594
- if (this.required)
11595
- this.label = this.label + ' *';
11803
+ getStyle() {
11804
+ return this.m_color;
11596
11805
  }
11597
11806
  /**
11807
+ * @param {?} color
11598
11808
  * @return {?}
11599
11809
  */
11600
- getUsersNc() {
11601
- /** @type {?} */
11602
- let s_nc = '';
11603
- for (let i = 0; i < this.selectedUser.length; i++) {
11604
- if (s_nc != '')
11605
- s_nc = s_nc + ',';
11606
- s_nc = s_nc + `${this.selectedUser[i].cognome} ${this.selectedUser[i].nome}`;
11607
- }
11608
- return s_nc;
11810
+ set_backcolor(color) {
11811
+ this.m_color = color;
11609
11812
  }
11610
11813
  /**
11611
11814
  * @return {?}
11612
11815
  */
11613
- getUsersEmail() {
11614
- /** @type {?} */
11615
- let s_nc = '';
11616
- for (let i = 0; i < this.selectedUser.length; i++) {
11617
- if (s_nc != '')
11618
- s_nc = s_nc + ',';
11619
- s_nc = s_nc + `${this.selectedUser[i].email}`;
11816
+ chg() {
11817
+ // setTimeout(()=>{
11818
+ if (this.formattedAmount != '') {
11819
+ this.value = this.uti_s.round(parseFloat(this.formattedAmount.split('.').join('').split(',').join('.')), this.decimal);
11820
+ this.formattedAmount = this.transform(this.value, this.decimal);
11620
11821
  }
11621
- return s_nc;
11622
- }
11623
- /**
11624
- * @return {?}
11625
- */
11626
- getUsersUsername() {
11627
- /** @type {?} */
11628
- let s_nc = '';
11629
- for (let i = 0; i < this.selectedUser.length; i++) {
11630
- if (s_nc != '')
11631
- s_nc = s_nc + ',';
11632
- s_nc = s_nc + `${this.selectedUser[i].username}`;
11822
+ else {
11823
+ this.value = this.uti_s.round(0, this.decimal);
11824
+ this.formattedAmount = this.transform(this.value, this.decimal);
11633
11825
  }
11634
- return s_nc;
11826
+ this.chgf = true;
11827
+ this.onChange(this.value);
11635
11828
  }
11636
11829
  /**
11637
11830
  * @param {?} value
11638
11831
  * @return {?}
11639
11832
  */
11640
11833
  writeValue(value) {
11641
- if (value == null) {
11642
- this.clear();
11643
- return;
11644
- }
11645
- if (value == '') {
11646
- this.clear();
11647
- return;
11648
- }
11649
- if (value == 'noop') {
11650
- this.userName = this.getUsersNc();
11651
- this.onChange(this.getUsersUsername());
11652
- return;
11653
- }
11654
- if (this.selectedUser == null) {
11655
- this.setByUsername(value);
11656
- this.userName = this.getUsersNc();
11834
+ if (this.chgf) {
11835
+ this.chgf = false;
11657
11836
  return;
11658
11837
  }
11659
- if (this.getUsersUsername() != value) {
11660
- this.setByUsername(value);
11661
- this.userName = this.getUsersNc();
11838
+ // console.log('writeValue '+value+' '+this.decimal);
11839
+ if (value == null)
11840
+ value = 0.00;
11841
+ if (value !== this.innerValue) {
11842
+ this.innerValue = value;
11843
+ this.value = value;
11844
+ // if( this.formattedAmount==this.transform(this.value,this.decimal))return;
11845
+ //console.log('prima '+this.formattedAmount);
11846
+ this.formattedAmount = this.transform(this.value, this.decimal);
11847
+ // console.log('dopo '+this.formattedAmount);
11848
+ // this.onChange(this.value);
11662
11849
  }
11663
11850
  }
11664
11851
  /**
11665
- * @param {?} emails
11852
+ * @param {?} fn
11666
11853
  * @return {?}
11667
11854
  */
11668
- setByEmail(emails) {
11669
- console.log('emails ', emails);
11670
- if (emails == null)
11671
- return;
11672
- if (emails == '')
11673
- return;
11674
- /** @type {?} */
11675
- let a = emails.split(',');
11676
- /** @type {?} */
11677
- let s_nc = '';
11678
- for (let i = 0; i < a.length; i++) {
11679
- if (s_nc != '')
11680
- s_nc = s_nc + ',';
11681
- s_nc = s_nc + '\'' + a[i] + '\'';
11682
- }
11683
- console.log('s_nc ', s_nc);
11684
- if (s_nc == "")
11685
- return;
11686
- /** @type {?} */
11687
- const param = {
11688
- sql: 'SELECT_USERS_INFOS_BY_EMAIL_NOREP',
11689
- types: ['string'],
11690
- values: [s_nc],
11691
- names: [],
11692
- };
11693
- console.log(param);
11694
- this.dataservice.doQuery(param)
11695
- .subscribe((/**
11696
- * @param {?} data
11697
- * @return {?}
11698
- */
11699
- (data) => {
11700
- /** @type {?} */
11701
- let result = data.result_data;
11702
- if (result != null) {
11703
- this.selectedUser = result;
11704
- this.writeValue('noop');
11705
- this.select.emit(this.selectedUser);
11706
- console.log(this.selectedUser);
11707
- this.userName = this.getUsersNc();
11708
- console.log(this.userName);
11709
- }
11710
- else
11711
- this.clear();
11712
- }));
11855
+ registerOnChange(fn) {
11856
+ this.onChange = fn;
11713
11857
  }
11714
11858
  /**
11715
- * @param {?} username
11859
+ * @param {?} fn
11716
11860
  * @return {?}
11717
11861
  */
11718
- setByUsername(username) {
11719
- if (!username)
11720
- return;
11721
- /** @type {?} */
11722
- let a = username.split(',');
11723
- /** @type {?} */
11724
- let s_nc = '';
11725
- for (let i = 0; i < a.length; i++) {
11726
- if (s_nc != '')
11727
- s_nc = s_nc + ',';
11728
- s_nc = s_nc + '\'' + a[i] + '\'';
11729
- }
11730
- /** @type {?} */
11731
- const param = {
11732
- sql: 'SELECT_USERS_INFOS_BY_USERNAME_NOREP',
11733
- types: ['string'],
11734
- values: [s_nc],
11735
- names: [],
11736
- };
11737
- this.dataservice.doQuery(param)
11738
- .subscribe((/**
11739
- * @param {?} data
11740
- * @return {?}
11741
- */
11742
- (data) => {
11743
- /** @type {?} */
11744
- let result = data.result_data;
11745
- if (result != null) {
11746
- this.selectedUser = result;
11747
- this.writeValue('noop');
11748
- this.select.emit(this.selectedUser);
11749
- console.log(this.selectedUser);
11750
- this.userName = this.getUsersNc();
11751
- console.log(this.userName);
11752
- }
11753
- else
11754
- this.clear();
11755
- }));
11862
+ registerOnTouched(fn) {
11863
+ this.onTouched = fn;
11864
+ }
11865
+ /**
11866
+ * @param {?} value
11867
+ * @param {?=} fractionSize
11868
+ * @return {?}
11869
+ */
11870
+ transform(value, fractionSize = 0) {
11871
+ //console.log('transform '+value+' '+fractionSize);
11872
+ //console.log('transform '+value+' '+fractionSize);
11873
+ let [integer, fraction = ""] = (value || "").toString().split('.');
11874
+ fraction = fractionSize > 0
11875
+ ? ',' + (fraction + '000000').substring(0, fractionSize)
11876
+ : "";
11877
+ if (this.th_character != '')
11878
+ integer = integer.replace(/\B(?=(\d{3})+(?!\d))/g, this.th_character);
11879
+ if (integer == '')
11880
+ integer = '0';
11881
+ if (this.decimal == 0)
11882
+ return integer;
11883
+ // console.log(integer + fraction);
11884
+ return integer + fraction;
11756
11885
  }
11757
11886
  /**
11887
+ * @param {?} element
11758
11888
  * @return {?}
11759
11889
  */
11760
- load_all_users() {
11761
- /** @type {?} */
11762
- const param = {
11763
- sql: 'SELECT_ALL_USERS',
11764
- types: [],
11765
- values: [],
11766
- names: [],
11767
- };
11768
- this.dataservice.doQuery(param)
11769
- .subscribe((/**
11770
- * @param {?} data
11771
- * @return {?}
11772
- */
11773
- (data) => {
11774
- this.all_user = data.result_data;
11775
- if (this.all_user == null) {
11776
- this.all_user = [];
11777
- }
11778
- this.open_pick();
11779
- }));
11890
+ removeCurrencyPipeFormat(element) {
11891
+ //console.log('removeCurrencyPipeFormat '+this.value);
11892
+ try {
11893
+ // this.value=this.value.split('.').join('');
11894
+ this.formattedAmount = this.transform(this.value, this.decimal);
11895
+ }
11896
+ catch (e) {
11897
+ console.log(e);
11898
+ }
11780
11899
  }
11781
11900
  /**
11901
+ * @param {?} element
11782
11902
  * @return {?}
11783
11903
  */
11784
- open_pick() {
11785
- if (this.all_user == null) {
11786
- this.load_all_users();
11787
- return;
11788
- }
11789
- if (!this.enabled)
11790
- return;
11791
- /** @type {?} */
11792
- let dialogRef = this.dialog.open(FHUserPickerComponent, {
11793
- disableClose: true, width: "700px", height: "550px"
11794
- });
11795
- dialogRef.componentInstance.user_sel = this.selectedUser;
11796
- dialogRef.componentInstance.users_list = Object.assign([], this.all_user);
11797
- dialogRef.componentInstance.single_sel = !this.multi;
11798
- dialogRef.componentInstance.filtra();
11799
- dialogRef.afterClosed().subscribe((/**
11800
- * @param {?} result
11904
+ click_select_allf(element) {
11905
+ setTimeout((/**
11801
11906
  * @return {?}
11802
11907
  */
11803
- result => {
11804
- if (result == null)
11805
- return;
11806
- if (result != null) {
11807
- this.selectedUser = result;
11808
- this.writeValue('noop');
11809
- this.select.emit(this.selectedUser);
11810
- this.userName = this.getUsersNc();
11811
- }
11812
- this.change.emit(this.selectedUser);
11813
- this.select.emit(this.selectedUser);
11814
- }));
11908
+ () => {
11909
+ this.el.nativeElement.select();
11910
+ }), 200);
11815
11911
  }
11816
11912
  /**
11913
+ * @param {?} element
11817
11914
  * @return {?}
11818
11915
  */
11819
- clear() {
11820
- this.selectedUser = [];
11821
- this.onChange([]);
11822
- this.userName = "";
11916
+ select_allf(element) {
11917
+ this.el.nativeElement.select();
11823
11918
  }
11824
11919
  /**
11825
- * @param {?} fn
11826
11920
  * @return {?}
11827
11921
  */
11828
- registerOnChange(fn) {
11829
- this.onChange = fn;
11922
+ setFocus() {
11923
+ this.el.nativeElement.focus();
11830
11924
  }
11831
11925
  /**
11832
- * @param {?} fn
11833
11926
  * @return {?}
11834
11927
  */
11835
- registerOnTouched(fn) {
11836
- this.onTouched = fn;
11928
+ ngOnInit() {
11929
+ if (this.required)
11930
+ this.el.nativeElement.required = this.required;
11931
+ this.el.nativeElement.disabled = !this.enabled;
11932
+ if (this.value == null)
11933
+ this.value = 0;
11934
+ // console.log('tttttttttttt',this.decimal);
11935
+ this.formattedAmount = this.transform(this.value, this.decimal);
11837
11936
  }
11838
11937
  }
11839
- FHUserFieldComponent.decorators = [
11938
+ FHNumericFieldComponent.decorators = [
11840
11939
  { type: Component, args: [{
11841
- selector: 'FHUserField', providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$1],
11940
+ selector: 'FHNumericField',
11941
+ providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_NUMERIC],
11842
11942
  template: `
11843
- <div fxLayout="row" [hidden]="!enabled || hidden">
11844
- <mat-form-field style="clickable-field" (click)="open_pick()" appearance="outline" floatLabel="always"><mat-label>{{label}}</mat-label>
11845
-
11846
- <input matInput
11847
- [hidden]="hidden"
11848
-
11849
- type="text"
11850
- [ngModel]="userName"
11851
- [disabled]="false" readonly>
11852
-
11853
- </mat-form-field>
11854
- <button mat-icon-button matSuffix
11855
- [hidden]="selectedUser.length==0"
11856
- (click)="clear()">
11857
- <mat-icon>clear</mat-icon>
11858
- </button>
11859
- </div>
11860
- <mat-form-field [hidden]="enabled || hidden" appearance="outline" floatLabel="always"><mat-label>{{label}}</mat-label>
11861
- <input type="text" #el1 matInput [disabled]="true" [(ngModel)]="userName"
11862
- >
11943
+ <mat-form-field [hidden]="hidden" appearance="outline" floatLabel="always"><mat-label>{{label}}</mat-label>
11944
+ <input type="text" style="text-align:right" [style.background-color]="getStyle()" #el matInput
11945
+ [disabled]="!enabled" [(ngModel)]="formattedAmount"
11946
+ (blur)="chg()" (click)="click_select_allf($event);"
11947
+ (focus)="removeCurrencyPipeFormat($event);select_allf($event);"
11948
+ pattern="[0-9]+">
11863
11949
  </mat-form-field>
11950
+
11864
11951
  `,
11865
11952
  styles: [`
11866
- .clickable-field {
11867
- border: 1px solid #000000;
11868
- color: #000000;
11869
- }
11870
-
11871
- .clickable-field:focus {
11872
- outline: none;
11873
- }
11874
11953
 
11875
- :host ::ng-deep .mat-input-element {
11876
- cursor: pointer !important;
11877
- }
11878
- `]
11954
+ `]
11879
11955
  }] }
11880
11956
  ];
11881
11957
  /** @nocollapse */
11882
- FHUserFieldComponent.ctorParameters = () => [
11883
- { type: QueryService },
11884
- { type: MatDialog }
11958
+ FHNumericFieldComponent.ctorParameters = () => [
11959
+ { type: UtilityService }
11885
11960
  ];
11886
- FHUserFieldComponent.propDecorators = {
11961
+ FHNumericFieldComponent.propDecorators = {
11962
+ el: [{ type: ViewChild, args: ['el',] }],
11963
+ decimal: [{ type: Input }],
11887
11964
  label: [{ type: Input }],
11965
+ th_character: [{ type: Input }],
11888
11966
  required: [{ type: Input }],
11889
11967
  enabled: [{ type: Input }],
11890
11968
  hidden: [{ type: Input }],
11891
- multi: [{ type: Input }],
11892
11969
  change: [{ type: Output }],
11893
- select: [{ type: Output }],
11894
- userName: [{ type: Input }]
11970
+ value: [{ type: Input }]
11971
+ };
11972
+
11973
+ /**
11974
+ * @fileoverview added by tsickle
11975
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
11976
+ */
11977
+ class FHListPick {
11978
+ /**
11979
+ * @param {?} dialogRef
11980
+ * @param {?} toastr
11981
+ * @param {?} m_appService
11982
+ */
11983
+ constructor(dialogRef, toastr, m_appService) {
11984
+ this.dialogRef = dialogRef;
11985
+ this.toastr = toastr;
11986
+ this.m_appService = m_appService;
11987
+ this.label = "";
11988
+ this.separator = ",";
11989
+ this.title = "";
11990
+ this.sql = "";
11991
+ this.single_sel = false;
11992
+ this.sel_values = "";
11993
+ }
11994
+ /**
11995
+ * @return {?}
11996
+ */
11997
+ doFill() {
11998
+ if (!this.single_sel)
11999
+ this.cmb_sel.setByDescri(this.sel_values);
12000
+ this.cmb_sel.sql = this.sql;
12001
+ this.cmb_sel.types = this.types;
12002
+ this.cmb_sel.values = this.values;
12003
+ this.cmb_sel.fillCombo();
12004
+ }
12005
+ /**
12006
+ * @return {?}
12007
+ */
12008
+ ok() {
12009
+ if (this.cmb_sel.getValue() == "") {
12010
+ this.toastr.error('Selezionare un valore');
12011
+ return;
12012
+ }
12013
+ this.dialogRef.close(this.cmb_sel.getObjects());
12014
+ }
12015
+ /**
12016
+ * @return {?}
12017
+ */
12018
+ ok_single() {
12019
+ if (!this.single_sel)
12020
+ return;
12021
+ this.dialogRef.close(this.cmb_sel.getObjects());
12022
+ }
12023
+ /**
12024
+ * @return {?}
12025
+ */
12026
+ ngOnInit() {
12027
+ }
12028
+ }
12029
+ FHListPick.decorators = [
12030
+ { type: Component, args: [{
12031
+ selector: 'fhlistpick',
12032
+ template: `
12033
+ <h2 mat-dialog-title>{{title}}</h2>
12034
+ <mat-dialog-content style="min-width:700px;min-height:500px;font-size: 12px">
12035
+ <FHList #cmb_sel [label]="label" [single_sel]="single_sel" [separator]="separator" style="width:100%;height:100%" init_fill="false" (selchange)="ok_single()"></FHList>
12036
+
12037
+ </mat-dialog-content>
12038
+
12039
+
12040
+ <mat-dialog-actions>
12041
+ <div fxLayout="row" fxLayoutAlign="center center" style="width: 100%">
12042
+
12043
+ <button mat-flat-button color="primary" *ngIf="!single_sel" (click)="ok()">OK</button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
12044
+ <button mat-flat-button style="background-color: #F5F5F5" (click)="dialogRef.close('')">ANNULLA</button>
12045
+ </div>
12046
+ </mat-dialog-actions>
12047
+ `
12048
+ }] }
12049
+ ];
12050
+ /** @nocollapse */
12051
+ FHListPick.ctorParameters = () => [
12052
+ { type: MatDialogRef },
12053
+ { type: ToastrService },
12054
+ { type: AppService }
12055
+ ];
12056
+ FHListPick.propDecorators = {
12057
+ cmb_sel: [{ type: ViewChild, args: ['cmb_sel',] }]
11895
12058
  };
11896
12059
 
11897
12060
  /**
@@ -15128,6 +15291,12 @@ class FHGridToolBarComponent {
15128
15291
  riassegna_richiesta() {
15129
15292
  this.command.emit({ cmd: 'riassegna_richiesta' });
15130
15293
  }
15294
+ /**
15295
+ * @return {?}
15296
+ */
15297
+ sostituisci_utente() {
15298
+ this.command.emit({ cmd: 'sostituisci_utente' });
15299
+ }
15131
15300
  /**
15132
15301
  * @return {?}
15133
15302
  */
@@ -15161,12 +15330,14 @@ FHGridToolBarComponent.decorators = [
15161
15330
  <mat-toolbar>
15162
15331
  <div fxLayout="row" fxLayoutGap="3px" fxLayoutAlign="end center">
15163
15332
 
15164
-
15333
+
15165
15334
  <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>&nbsp;&nbsp;&nbsp;{{'Gestione' | translate}}</button>
15166
15335
  <mat-menu #gest_menu="matMenu" >
15167
15336
  <button mat-menu-item style="background-color: #F5F5F5" (click)="annulla_richiesta()"> {{'ANNULLA DOCUMENTO' | translate}} </button>
15168
15337
  <button mat-menu-item style="background-color: #F5F5F5" (click)="recupera_richiesta()"> {{'RECUPERA DOCUMENTO' | translate}} </button>
15169
15338
  <button mat-menu-item style="background-color: #F5F5F5" (click)="riassegna_richiesta()" *ngIf="toolbar_wkfapp?.is_Supervisor || toolbar_wkfapp?.is_Admin"> {{'RIASSEGNA DOCUMENTO' | translate}} </button>
15339
+ <button mat-menu-item style="background-color: #F5F5F5" (click)="sostituisci_utente()" *ngIf="toolbar_wkfapp?.is_Admin"> {{'SOSTITUISCI UTENTE' | translate}} </button>
15340
+
15170
15341
  <button mat-menu-item style="background-color: #F5F5F5" (click)="test_utente()" *ngIf="toolbar_wkfapp?.is_Admin"> {{'TEST UTENTE' | translate}} </button>
15171
15342
 
15172
15343
  </mat-menu>
@@ -15177,7 +15348,7 @@ FHGridToolBarComponent.decorators = [
15177
15348
  </mat-toolbar>
15178
15349
  </div>
15179
15350
  <div *ngIf="type=='WKF'" fxLayoutGap="3px" fxLayout="row" fxLayoutAlign="end center" style="width: 100%;background-color: maroon">
15180
-
15351
+
15181
15352
  <mat-toolbar>
15182
15353
  <div fxLayout="row" fxLayoutGap="3px" fxLayoutAlign="end center">
15183
15354
 
@@ -15188,13 +15359,15 @@ FHGridToolBarComponent.decorators = [
15188
15359
  <button mat-menu-item (click)="annulla_richiesta()"> {{'ANNULLA DOCUMENTO' | translate}} </button>
15189
15360
  <button mat-menu-item (click)="recupera_richiesta()"> {{'RECUPERA DOCUMENTO' | translate}} </button>
15190
15361
  <button mat-menu-item (click)="riassegna_richiesta()"> {{'RIASSEGNA DOCUMENTO' | translate}} </button>
15362
+ <button mat-menu-item (click)="sostituisci_utente()" *ngIf="toolbar_wkfapp?.is_Admin"> {{'SOSTITUISCI UTENTE' | translate}} </button>
15363
+
15191
15364
  <button mat-menu-item (click)="test_utente()" *ngIf="toolbar_wkfapp?.is_Admin"> {{'TEST UTENTE' | translate}} </button>
15192
15365
 
15193
15366
  </mat-menu>
15194
15367
  <button mat-flat-button (click)="annulla_imp()" *ngIf="toolbar_wkfapp?.imp!=null && toolbar_wkfapp?.imp!=''"> {{toolbar_wkfapp?.imp}} </button>
15195
15368
  <div *ngFor="let app of custom_commands" >
15196
15369
  &nbsp;&nbsp;<button mat-flat-button [color]="app.color" (click)="exec_command(app.command)"><mat-icon *ngIf="app.icon!=null">{{app.icon}}</mat-icon>&nbsp;{{app.label | translate}}</button>
15197
-
15370
+
15198
15371
  </div>
15199
15372
  </div>
15200
15373
  </mat-toolbar>
@@ -15215,11 +15388,11 @@ FHGridToolBarComponent.decorators = [
15215
15388
  </mat-toolbar>
15216
15389
  </div>
15217
15390
  <div *ngIf="type=='CUSTOM'" fxLayoutGap="3px" fxLayout="row" fxLayoutAlign="end center">
15218
-
15391
+
15219
15392
  <div *ngFor="let app of custom_commands" ><button mat-flat-button [color]="app.color" (click)="exec_command(app.command)">{{app.label | translate}}</button>
15220
15393
  </div>
15221
15394
  </div>
15222
-
15395
+
15223
15396
  `,
15224
15397
  styles: [`
15225
15398
 
@@ -19512,7 +19685,6 @@ class win_user_info {
19512
19685
  this.user_roles = this.appService.user_roles.split(',').join(' ');
19513
19686
  this.user_lang = this.appService.user_lang;
19514
19687
  this.isadmin = this.appService.user_isadmin;
19515
- console.log('this.isadmin ', this.isadmin);
19516
19688
  }
19517
19689
  /**
19518
19690
  * @return {?}
@@ -19560,7 +19732,7 @@ win_user_info.decorators = [
19560
19732
  { type: Component, args: [{
19561
19733
  template: ` <h2 mat-dialog-title style="min-width:300px">Info Utente</h2>
19562
19734
  <mat-dialog-content style="font-size:12px">
19563
-
19735
+
19564
19736
  <table class="fh_table">
19565
19737
 
19566
19738
  <tbody>
@@ -19608,8 +19780,8 @@ win_user_info.decorators = [
19608
19780
  </tbody>
19609
19781
  </table>
19610
19782
  <img style="vertical-align:middle;max-height:300px" *ngIf="b_filef" aria-hidden src="{{foto_ut}}" />
19611
-
19612
-
19783
+
19784
+
19613
19785
  <div fxLayoutAlign="center center" fxLayout="row">
19614
19786
  <button mat-flat-button color="primary" (click)="dialogRef.close()">CHIUDI</button>
19615
19787
  </div>
@@ -19800,12 +19972,12 @@ FluxhubLibModule.decorators = [
19800
19972
  FHMdReader, FHLogPanelComponent, WinAskTextBigComponent, FHCurrencyFieldComponent, FHRichText, WinOutputComponent, FHNumericFieldComponent,
19801
19973
  FHListPick, WinWait, FHUserFieldComponent, FSInput, FSResult, QGParam, QGResult, QParam, QResult, win_salva_annulla, win_assegna,
19802
19974
  win_conferma, win_select_canale, win_select_level, win_uploads, win_commenti, win_info_doc, win_log, win_recupera_doc, win_riassegna_select_level,
19803
- win_riassegna_select_user, win_commento_sel_notif, FHGridJSONComponent, FormBuilderComponent, FormExecuterComponent, FHTableManager, win_manage_values, win_manage_roles, FHComboboxComponentFilter],
19975
+ win_riassegna_select_user, win_sostituisci_utente, win_commento_sel_notif, FHGridJSONComponent, FormBuilderComponent, FormExecuterComponent, FHTableManager, win_manage_values, win_manage_roles, FHComboboxComponentFilter],
19804
19976
  providers: [HighlightService, DragulaService
19805
19977
  ],
19806
19978
  entryComponents: [
19807
19979
  // Customize dialog must be import here.
19808
- win_user_info, win_insert_commento, win_manage_roles, win_manage_values, win_show_image, WinAskButtonsComponent, win_salva_annulla, win_assegna, win_conferma, win_select_canale, win_select_level, win_uploads, win_commenti, win_info_doc, win_log, win_recupera_doc, win_riassegna_select_level, win_riassegna_select_user, win_commento_sel_notif,
19980
+ win_user_info, win_insert_commento, win_manage_roles, win_manage_values, win_show_image, WinAskButtonsComponent, win_salva_annulla, win_assegna, win_conferma, win_select_canale, win_select_level, win_uploads, win_commenti, win_info_doc, win_log, win_recupera_doc, win_riassegna_select_level, win_sostituisci_utente, win_riassegna_select_user, win_commento_sel_notif,
19809
19981
  FHPickListComponent,
19810
19982
  FHConfirmComponent,
19811
19983
  win_time_slider,
@@ -20034,5 +20206,5 @@ class dt {
20034
20206
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
20035
20207
  */
20036
20208
 
20037
- export { AppMakerService, AppService, ApprovaGridComponent, AuthenticationService, ComboBoxEditor, CurrencyComponent, DateComponent, DtPick, FHAutoCompleteComponent, FHComboboxComponent, FHConfirmComponent, FHCurrencyFieldComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, FHDatePickerComponent, FHFieldPickListComponent, FHGridComponent, FHGridJSONComponent, FHGuard, FHListComponent, FHListPick, FHLogPanelComponent, FHMdReader, FHNumericFieldComponent, FHPickListComponent, FHRichText, FHRoleManager, FHTableManager, FHTimePickerComponent, FHUploadComponent, FHUploadPanelComponent, FHUserFieldComponent, FHUserPickerComponent, FHWinComboSelect, FSInput, FSResult, FileService, FluxhubLibModule, FormBuilderComponent, FormExecuterComponent, GridService, LocalDBService, NumericEditorComponent, OdbcService, OfficeAutomatorService, QGParam, QGResult, QParam, QResult, QueryService, ReplaceLineBreaks, TextAreaEditor, UtilityService, WinAskButtonsComponent, WinAskNumberComponent, WinAskTextBigComponent, WinAskTextComponent, WinOutputComponent, WinWait, WkfService, dati_aggiuntivi, dt, fhimagepreview, win_insert_commento, win_mappa, win_salva_annulla, win_show_image, win_time_slider, win_user_info, wkf_header_bar, wkfapp, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$2 as ɵa, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR as ɵb, win_riassegna_select_user as ɵba, win_commento_sel_notif as ɵbb, win_manage_values as ɵbc, win_manage_roles as ɵbd, FHComboboxComponentFilter as ɵbe, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_NUMERIC as ɵc, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_RT as ɵd, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$1 as ɵe, FHHelpButton as ɵf, SafePipe as ɵg, DecimalMask as ɵh, FHValueAccessor as ɵi, MOMENT_DATE_FORMATS as ɵj, MomentDateAdapter as ɵk, win_grid_help as ɵl, HighlightService as ɵm, FHViewerComponent as ɵn, FHGridToolBarComponent as ɵp, win_assegna as ɵq, win_conferma as ɵr, win_select_canale as ɵs, win_select_level as ɵt, win_uploads as ɵu, win_commenti as ɵv, win_info_doc as ɵw, win_log as ɵx, win_recupera_doc as ɵy, win_riassegna_select_level as ɵz };
20209
+ export { AppMakerService, AppService, ApprovaGridComponent, AuthenticationService, ComboBoxEditor, CurrencyComponent, DateComponent, DtPick, FHAutoCompleteComponent, FHComboboxComponent, FHConfirmComponent, FHCurrencyFieldComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, FHDatePickerComponent, FHFieldPickListComponent, FHGridComponent, FHGridJSONComponent, FHGuard, FHListComponent, FHListPick, FHLogPanelComponent, FHMdReader, FHNumericFieldComponent, FHPickListComponent, FHRichText, FHRoleManager, FHTableManager, FHTimePickerComponent, FHUploadComponent, FHUploadPanelComponent, FHUserFieldComponent, FHUserPickerComponent, FHWinComboSelect, FSInput, FSResult, FileService, FluxhubLibModule, FormBuilderComponent, FormExecuterComponent, GridService, LocalDBService, NumericEditorComponent, OdbcService, OfficeAutomatorService, QGParam, QGResult, QParam, QResult, QueryService, ReplaceLineBreaks, TextAreaEditor, UtilityService, WinAskButtonsComponent, WinAskNumberComponent, WinAskTextBigComponent, WinAskTextComponent, WinOutputComponent, WinWait, WkfService, dati_aggiuntivi, dt, fhimagepreview, win_insert_commento, win_mappa, win_salva_annulla, win_show_image, win_time_slider, win_user_info, wkf_header_bar, wkfapp, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$2 as ɵa, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$1 as ɵb, win_riassegna_select_user as ɵba, win_sostituisci_utente as ɵbb, win_commento_sel_notif as ɵbc, win_manage_values as ɵbd, win_manage_roles as ɵbe, FHComboboxComponentFilter as ɵbf, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_NUMERIC as ɵc, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_RT as ɵd, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR as ɵe, FHHelpButton as ɵf, SafePipe as ɵg, DecimalMask as ɵh, FHValueAccessor as ɵi, MOMENT_DATE_FORMATS as ɵj, MomentDateAdapter as ɵk, win_grid_help as ɵl, HighlightService as ɵm, FHViewerComponent as ɵn, FHGridToolBarComponent as ɵp, win_assegna as ɵq, win_conferma as ɵr, win_select_canale as ɵs, win_select_level as ɵt, win_uploads as ɵu, win_commenti as ɵv, win_info_doc as ɵw, win_log as ɵx, win_recupera_doc as ɵy, win_riassegna_select_level as ɵz };
20038
20210
  //# sourceMappingURL=fluxhub-fluxhub-lib.js.map