@fluxhub/fluxhub-lib 1.0.273 → 1.0.275

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.
@@ -1509,7 +1509,7 @@ button.default:disabled {
1509
1509
  <script src="../js/libs/htmlparser.js"></script>
1510
1510
  <script src="../js/libs/deep-iterator.js"></script>
1511
1511
  <script>
1512
- var COMPONENT_TEMPLATE = '<div><div #imgx class="img-container" [style.backgroundColor]="config.containerBackgroundColor" (wheel)="scrollZoom($event)" (dragover)="onDragOver($event)"> <img [src]="src[index]" [style.transform]="style.transform | safe:\'style\'" [style.msTransform]="style.transform| safe:\'style\'" style="min-height: 280px" [style.webkitTransform]="style.transform| safe:\'style\'" [style.oTransform]="style.transform| safe:\'style\'" alt="Image not found..." (dragstart)="onDragStart($event)" (load)="onLoad()" (loadstart)="onLoadStart()"/> <!-- Div below will be used to hide the \'ghost\' image when dragging --> <div></div> <div class="spinner-container" *ngIf="loading"> <div class="spinner"></div> </div> <button type="button" [class]="config.btnClass" *ngIf="config.btnShow.rotateCounterClockwise && !preview" (click)="rotateCounterClockwise()"> <span [class]="config.btnIcons.rotateCounterClockwise"></span> </button> <button type="button" [class]="config.btnClass" *ngIf="config.btnShow.rotateClockwise && !preview" (click)="rotateClockwise()"> <span [class]="config.btnIcons.rotateClockwise"></span> </button> <button type="button" [class]="config.btnClass" *ngIf="config.btnShow.zoomOut && !preview" (click)="zoomOut()"> <span [class]="config.btnIcons.zoomOut"></span> </button> <button type="button" [class]="config.btnClass" *ngIf="config.btnShow.zoomIn && !preview" (click)="zoomIn()"> <span [class]="config.btnIcons.zoomIn"></span> </button> <button type="button" id="ngx-fs-btn" [class]="config.btnClass" (click)="toggleFullscreen()" *ngIf="config.allowFullscreen"> <span [class]="config.btnIcons.fullscreen"></span> </button> <div class="nav-button-container" *ngIf="src.length > 1"> <button type="button" [class]="config.btnClass" (click)="prevImage($event)" [disabled]="index === 0"> <span [class]="config.btnIcons.prev"></span> </button> <button type="button" [class]="config.btnClass" (click)="nextImage($event)" [disabled]="index === src.length - 1"> <span [class]="config.btnIcons.next"></span> </button> </div></div></div>'
1512
+ var COMPONENT_TEMPLATE = '<div><div #imgx class="img-container" [style.backgroundColor]="config.containerBackgroundColor" (wheel)="scrollZoom($event)" (dragover)="onDragOver($event)" *ngIf="src!=null"> <img [src]="src[index]" [style.transform]="style.transform | safe:\'style\'" [style.msTransform]="style.transform| safe:\'style\'" style="min-height: 280px" [style.webkitTransform]="style.transform| safe:\'style\'" [style.oTransform]="style.transform| safe:\'style\'" alt="Image not found..." (dragstart)="onDragStart($event)" (load)="onLoad()" (loadstart)="onLoadStart()"/> <!-- Div below will be used to hide the \'ghost\' image when dragging --> <div></div> <div class="spinner-container" *ngIf="loading"> <div class="spinner"></div> </div> <button type="button" [class]="config.btnClass" *ngIf="config.btnShow.rotateCounterClockwise && !preview" (click)="rotateCounterClockwise()"> <span [class]="config.btnIcons.rotateCounterClockwise"></span> </button> <button type="button" [class]="config.btnClass" *ngIf="config.btnShow.rotateClockwise && !preview" (click)="rotateClockwise()"> <span [class]="config.btnIcons.rotateClockwise"></span> </button> <button type="button" [class]="config.btnClass" *ngIf="config.btnShow.zoomOut && !preview" (click)="zoomOut()"> <span [class]="config.btnIcons.zoomOut"></span> </button> <button type="button" [class]="config.btnClass" *ngIf="config.btnShow.zoomIn && !preview" (click)="zoomIn()"> <span [class]="config.btnIcons.zoomIn"></span> </button> <button type="button" id="ngx-fs-btn" [class]="config.btnClass" (click)="toggleFullscreen()" *ngIf="config.allowFullscreen"> <span [class]="config.btnIcons.fullscreen"></span> </button> <div class="nav-button-container" *ngIf="src?.length > 1"> <button type="button" [class]="config.btnClass" (click)="prevImage($event)" [disabled]="index === 0"> <span [class]="config.btnIcons.prev"></span> </button> <button type="button" [class]="config.btnClass" (click)="nextImage($event)" [disabled]="index === src?.length - 1"> <span [class]="config.btnIcons.next"></span> </button> </div></div></div>'
1513
1513
  var COMPONENTS = [{'name': 'ApprovaGridComponent', 'selector': 'approva-cell'},{'name': 'ComboBoxEditor', 'selector': 'editor-cell'},{'name': 'CurrencyComponent', 'selector': 'currency-cell'},{'name': 'DateComponent', 'selector': 'editor-cell'},{'name': 'DtPick', 'selector': 'DtPicker'},{'name': 'FHAutoCompleteComponent', 'selector': 'FHAutoComplete'},{'name': 'FHComboboxComponent', 'selector': 'FHComboBox'},{'name': 'FHConfirmComponent', 'selector': ''},{'name': 'FHCurrencyFieldComponent', 'selector': 'FHCurrencyField'},{'name': 'FHDatePickerComponent', 'selector': 'FHDatePicker'},{'name': 'FHFieldPickListComponent', 'selector': 'FHFieldPickList'},{'name': 'FHGridComponent', 'selector': 'FHGrid'},{'name': 'FHGridJSONComponent', 'selector': 'FHGridJSON'},{'name': 'FHGridToolBarComponent', 'selector': 'FHGridToolBar'},{'name': 'fhimagepreview', 'selector': 'fh-image-viewer'},{'name': 'FHListComponent', 'selector': 'FHList'},{'name': 'FHListPick', 'selector': 'fhwincomboselect'},{'name': 'FHLogPanelComponent', 'selector': 'FHLogPanel'},{'name': 'FHMdReader', 'selector': 'FHMdReader'},{'name': 'FHNumericFieldComponent', 'selector': 'FHNumericField'},{'name': 'FHPickListComponent', 'selector': 'FHPickList'},{'name': 'FHRichText', 'selector': 'FHRichText'},{'name': 'FHTimePickerComponent', 'selector': 'FHTimePicker'},{'name': 'FHUploadComponent', 'selector': 'FHUpload'},{'name': 'FHUploadPanelComponent', 'selector': 'FHUploadPanel'},{'name': 'FHUserFieldComponent', 'selector': 'FHUserField'},{'name': 'FHUserPickerComponent', 'selector': 'FHPickUsers'},{'name': 'FHViewerComponent', 'selector': 'image-viewer'},{'name': 'FHWinComboSelect', 'selector': 'fhwincomboselect'},{'name': 'FormBuilderComponent', 'selector': 'FHFormBuilder'},{'name': 'FormExecuterComponent', 'selector': 'FHFormExecuter'},{'name': 'FSInput', 'selector': ''},{'name': 'FSResult', 'selector': ''},{'name': 'NumericEditorComponent', 'selector': 'numeric-cell'},{'name': 'QGParam', 'selector': ''},{'name': 'QGResult', 'selector': ''},{'name': 'QParam', 'selector': ''},{'name': 'QResult', 'selector': ''},{'name': 'TextAreaEditor', 'selector': 'editor-cell'},{'name': 'win_assegna', 'selector': ''},{'name': 'win_commenti', 'selector': ''},{'name': 'win_commento_sel_notif', 'selector': ''},{'name': 'win_conferma', 'selector': ''},{'name': 'win_grid_help', 'selector': ''},{'name': 'win_info_doc', 'selector': ''},{'name': 'win_log', 'selector': ''},{'name': 'win_mappa', 'selector': ''},{'name': 'win_recupera_doc', 'selector': ''},{'name': 'win_riassegna_select_level', 'selector': ''},{'name': 'win_riassegna_select_user', 'selector': ''},{'name': 'win_salva_annulla', 'selector': ''},{'name': 'win_select_canale', 'selector': ''},{'name': 'win_select_level', 'selector': ''},{'name': 'win_show_image', 'selector': ''},{'name': 'win_time_slider', 'selector': 'fhtimeslider'},{'name': 'win_uploads', 'selector': 'wkf_win_upload'},{'name': 'WinAskButtonsComponent', 'selector': 'app-win_ask_buttons'},{'name': 'WinAskNumberComponent', 'selector': 'app-win_ask_text'},{'name': 'WinAskTextBigComponent', 'selector': 'app-win_ask_text'},{'name': 'WinAskTextComponent', 'selector': 'app-win_ask_text'},{'name': 'WinOutputComponent', 'selector': 'app-win_output'},{'name': 'WinWait', 'selector': 'fhwincomboselect'},{'name': 'wkf_header_bar', 'selector': 'wkf_header_bar'}];
1514
1514
  var DIRECTIVES = [{'name': 'DecimalMask', 'selector': '[ngModel][decimal]'},{'name': 'FHCurrencyFormatterDirective', 'selector': '[FHCurrencyFormatter]'}];
1515
1515
  var ACTUAL_COMPONENT = {'name': 'FHViewerComponent'};
@@ -97,7 +97,7 @@
97
97
  &lt;div *ngIf&#x3D;&quot;mobile&quot; style&#x3D;&quot;font-size:10px&quot;&gt;Assegnata a: {{utenti}}&lt;/div&gt;
98
98
  &lt;h3 *ngIf&#x3D;&quot;!mobile&quot;&gt;Assegnata a: {{utenti}}&lt;/h3&gt;
99
99
  &lt;br&gt;
100
- &lt;mat-form-field [hidden]&#x3D;&quot;comm_notrequired!&#x3D;1&quot;&gt;
100
+ &lt;mat-form-field [hidden]&#x3D;&quot;comm_notrequired&#x3D;&#x3D;1&quot;&gt;
101
101
  &lt;textarea matInput placeholder&#x3D;&quot;Commento {{nota_commento}}&quot; [(ngModel)]&#x3D;&quot;nota&quot; rows&#x3D;&quot;6&quot;&gt;&lt;/textarea&gt;
102
102
  &lt;/mat-form-field&gt;
103
103
 
@@ -607,7 +607,7 @@
607
607
  <script src="../js/libs/htmlparser.js"></script>
608
608
  <script src="../js/libs/deep-iterator.js"></script>
609
609
  <script>
610
- var COMPONENT_TEMPLATE = '<div><mat-toolbar> <div style="font-size:10px" *ngIf="mobile">{{lbl}}</div> <div *ngIf="!mobile">{{lbl}}</div></mat-toolbar><br><div mat-dialog-content style="min-width:800px"> <div *ngIf="mobile" style="font-size:10px">Assegnata a: {{utenti}}</div> <h3 *ngIf="!mobile">Assegnata a: {{utenti}}</h3> <br> <mat-form-field [hidden]="comm_notrequired!=1"> <textarea matInput placeholder="Commento {{nota_commento}}" [(ngModel)]="nota" rows="6"></textarea> </mat-form-field></div><br><div style="width:100%;text-align:center;"> <button mat-raised-button color="primary" (click)="ok()"> OK</button>&nbsp;&nbsp;&nbsp;&nbsp; <button mat-raised-button color="warn" (click)="annulla()">ANNULLA</button></div></div>'
610
+ var COMPONENT_TEMPLATE = '<div><mat-toolbar> <div style="font-size:10px" *ngIf="mobile">{{lbl}}</div> <div *ngIf="!mobile">{{lbl}}</div></mat-toolbar><br><div mat-dialog-content style="min-width:800px"> <div *ngIf="mobile" style="font-size:10px">Assegnata a: {{utenti}}</div> <h3 *ngIf="!mobile">Assegnata a: {{utenti}}</h3> <br> <mat-form-field [hidden]="comm_notrequired==1"> <textarea matInput placeholder="Commento {{nota_commento}}" [(ngModel)]="nota" rows="6"></textarea> </mat-form-field></div><br><div style="width:100%;text-align:center;"> <button mat-raised-button color="primary" (click)="ok()"> OK</button>&nbsp;&nbsp;&nbsp;&nbsp; <button mat-raised-button color="warn" (click)="annulla()">ANNULLA</button></div></div>'
611
611
  var COMPONENTS = [{'name': 'ApprovaGridComponent', 'selector': 'approva-cell'},{'name': 'ComboBoxEditor', 'selector': 'editor-cell'},{'name': 'CurrencyComponent', 'selector': 'currency-cell'},{'name': 'DateComponent', 'selector': 'editor-cell'},{'name': 'DtPick', 'selector': 'DtPicker'},{'name': 'FHAutoCompleteComponent', 'selector': 'FHAutoComplete'},{'name': 'FHComboboxComponent', 'selector': 'FHComboBox'},{'name': 'FHConfirmComponent', 'selector': ''},{'name': 'FHCurrencyFieldComponent', 'selector': 'FHCurrencyField'},{'name': 'FHDatePickerComponent', 'selector': 'FHDatePicker'},{'name': 'FHFieldPickListComponent', 'selector': 'FHFieldPickList'},{'name': 'FHGridComponent', 'selector': 'FHGrid'},{'name': 'FHGridJSONComponent', 'selector': 'FHGridJSON'},{'name': 'FHGridToolBarComponent', 'selector': 'FHGridToolBar'},{'name': 'fhimagepreview', 'selector': 'fh-image-viewer'},{'name': 'FHListComponent', 'selector': 'FHList'},{'name': 'FHListPick', 'selector': 'fhwincomboselect'},{'name': 'FHLogPanelComponent', 'selector': 'FHLogPanel'},{'name': 'FHMdReader', 'selector': 'FHMdReader'},{'name': 'FHNumericFieldComponent', 'selector': 'FHNumericField'},{'name': 'FHPickListComponent', 'selector': 'FHPickList'},{'name': 'FHRichText', 'selector': 'FHRichText'},{'name': 'FHTimePickerComponent', 'selector': 'FHTimePicker'},{'name': 'FHUploadComponent', 'selector': 'FHUpload'},{'name': 'FHUploadPanelComponent', 'selector': 'FHUploadPanel'},{'name': 'FHUserFieldComponent', 'selector': 'FHUserField'},{'name': 'FHUserPickerComponent', 'selector': 'FHPickUsers'},{'name': 'FHViewerComponent', 'selector': 'image-viewer'},{'name': 'FHWinComboSelect', 'selector': 'fhwincomboselect'},{'name': 'FormBuilderComponent', 'selector': 'FHFormBuilder'},{'name': 'FormExecuterComponent', 'selector': 'FHFormExecuter'},{'name': 'FSInput', 'selector': ''},{'name': 'FSResult', 'selector': ''},{'name': 'NumericEditorComponent', 'selector': 'numeric-cell'},{'name': 'QGParam', 'selector': ''},{'name': 'QGResult', 'selector': ''},{'name': 'QParam', 'selector': ''},{'name': 'QResult', 'selector': ''},{'name': 'TextAreaEditor', 'selector': 'editor-cell'},{'name': 'win_assegna', 'selector': ''},{'name': 'win_commenti', 'selector': ''},{'name': 'win_commento_sel_notif', 'selector': ''},{'name': 'win_conferma', 'selector': ''},{'name': 'win_grid_help', 'selector': ''},{'name': 'win_info_doc', 'selector': ''},{'name': 'win_log', 'selector': ''},{'name': 'win_mappa', 'selector': ''},{'name': 'win_recupera_doc', 'selector': ''},{'name': 'win_riassegna_select_level', 'selector': ''},{'name': 'win_riassegna_select_user', 'selector': ''},{'name': 'win_salva_annulla', 'selector': ''},{'name': 'win_select_canale', 'selector': ''},{'name': 'win_select_level', 'selector': ''},{'name': 'win_show_image', 'selector': ''},{'name': 'win_time_slider', 'selector': 'fhtimeslider'},{'name': 'win_uploads', 'selector': 'wkf_win_upload'},{'name': 'WinAskButtonsComponent', 'selector': 'app-win_ask_buttons'},{'name': 'WinAskNumberComponent', 'selector': 'app-win_ask_text'},{'name': 'WinAskTextBigComponent', 'selector': 'app-win_ask_text'},{'name': 'WinAskTextComponent', 'selector': 'app-win_ask_text'},{'name': 'WinOutputComponent', 'selector': 'app-win_output'},{'name': 'WinWait', 'selector': 'fhwincomboselect'},{'name': 'wkf_header_bar', 'selector': 'wkf_header_bar'}];
612
612
  var DIRECTIVES = [{'name': 'DecimalMask', 'selector': '[ngModel][decimal]'},{'name': 'FHCurrencyFormatterDirective', 'selector': '[FHCurrencyFormatter]'}];
613
613
  var ACTUAL_COMPONENT = {'name': 'win_conferma'};