@fluxhub/fluxhub-lib 1.0.240 → 1.0.242

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.
@@ -239,6 +239,9 @@
239
239
  <li>
240
240
  <a href="#indexChange">indexChange</a>
241
241
  </li>
242
+ <li>
243
+ <a href="#init">init</a>
244
+ </li>
242
245
  </ul>
243
246
  </td>
244
247
  </tr>
@@ -425,6 +428,20 @@
425
428
  </tr>
426
429
  </tbody>
427
430
  </table>
431
+ <table class="table table-sm table-bordered">
432
+ <tbody>
433
+ <tr>
434
+ <td class="col-md-2">
435
+ <a name="init"></a>
436
+ <code>init</code>
437
+ </td>
438
+ <td class="col-md-10">
439
+ <em><code>$event</code> Type:</em> <code>EventEmitter&lt;number&gt;</code>
440
+
441
+ </td>
442
+ </tr>
443
+ </tbody>
444
+ </table>
428
445
  </section>
429
446
 
430
447
  <section>
@@ -100,10 +100,9 @@
100
100
  <tr>
101
101
  <td class="col-md-3">template</td>
102
102
  <td class="col-md-9"><pre class="line-numbers"><code class="language-html">
103
+ &lt;fh-image-viewer (init)&#x3D;&quot;init()&quot; (fullScreenEvent)&#x3D;&quot;fullScreenEvent()&quot; [config]&#x3D;&quot;config_photo_big&quot; *ngIf&#x3D;&quot;u?.image_thumbnail?.length&gt;0&quot; #photo_c [src]&#x3D;&quot;u.image_thumbnail&quot; index&#x3D;&quot;0&quot;&gt;&lt;/fh-image-viewer&gt;
103
104
 
104
- &lt;div style&#x3D;&quot;max-width:460px&quot;&gt;&lt;fh-image-viewer [(preview)]&#x3D;&quot;_preview_c&quot; (fullScreenEvent)&#x3D;&quot;fullScreenEvent()&quot; [(ngModel)]&#x3D;&quot;config&quot; *ngIf&#x3D;&quot;u?.image_thumbnail?.length&gt;0&quot; #photo_c (customEvent)&#x3D;&quot;handleEvent($event)&quot; [src]&#x3D;&quot;u.image_thumbnail&quot; index&#x3D;&quot;0&quot;&gt;&lt;/fh-image-viewer&gt;
105
105
 
106
- &lt;/div&gt;
107
106
  </code></pre></td>
108
107
  </tr>
109
108
 
@@ -135,6 +134,7 @@
135
134
  <a href="#_preview">_preview</a>
136
135
  </li>
137
136
  <li>
137
+ <span class="modifier">Public</span>
138
138
  <a href="#_preview_c">_preview_c</a>
139
139
  </li>
140
140
  <li>
@@ -143,9 +143,6 @@
143
143
  <li>
144
144
  <a href="#config">config</a>
145
145
  </li>
146
- <li>
147
- <a href="#config_photo">config_photo</a>
148
- </li>
149
146
  <li>
150
147
  <a href="#config_photo_big">config_photo_big</a>
151
148
  </li>
@@ -170,6 +167,9 @@
170
167
  <li>
171
168
  <a href="#handleEvent">handleEvent</a>
172
169
  </li>
170
+ <li>
171
+ <a href="#init">init</a>
172
+ </li>
173
173
  <li>
174
174
  <a href="#ngOnInit">ngOnInit</a>
175
175
  </li>
@@ -363,6 +363,39 @@
363
363
  </tr>
364
364
  </tbody>
365
365
  </table>
366
+ <table class="table table-sm table-bordered">
367
+ <tbody>
368
+ <tr>
369
+ <td class="col-md-4">
370
+ <a name="init"></a>
371
+ <span class="name">
372
+ <b>
373
+ init
374
+ </b>
375
+ <a href="#init"><span class="icon ion-ios-link"></span></a>
376
+ </span>
377
+ </td>
378
+ </tr>
379
+ <tr>
380
+ <td class="col-md-4">
381
+ <code>init()</code>
382
+ </td>
383
+ </tr>
384
+
385
+
386
+
387
+
388
+ <tr>
389
+ <td class="col-md-4">
390
+
391
+ <div class="io-description">
392
+ <b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
393
+
394
+ </div>
395
+ </td>
396
+ </tr>
397
+ </tbody>
398
+ </table>
366
399
  <table class="table table-sm table-bordered">
367
400
  <tbody>
368
401
  <tr>
@@ -477,6 +510,7 @@
477
510
  <a name="_preview_c"></a>
478
511
  <span class="name">
479
512
  <b>
513
+ <span class="modifier">Public</span>
480
514
  _preview_c
481
515
  </b>
482
516
  <a href="#_preview_c"><span class="icon ion-ios-link"></span></a>
@@ -485,7 +519,7 @@
485
519
  </tr>
486
520
  <tr>
487
521
  <td class="col-md-4">
488
- <code>_preview_c: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
522
+ <span class="modifier-icon icon ion-ios-reset"></span><code>_preview_c: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
489
523
  </code>
490
524
  </td>
491
525
  </tr>
@@ -594,64 +628,6 @@
594
628
  </tr>
595
629
 
596
630
 
597
- </tbody>
598
- </table>
599
- <table class="table table-sm table-bordered">
600
- <tbody>
601
- <tr>
602
- <td class="col-md-4">
603
- <a name="config_photo"></a>
604
- <span class="name">
605
- <b>
606
- config_photo
607
- </b>
608
- <a href="#config_photo"><span class="icon ion-ios-link"></span></a>
609
- </span>
610
- </td>
611
- </tr>
612
- <tr>
613
- <td class="col-md-4">
614
- <code>config_photo: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/object" target="_blank" >object</a></code>
615
- </code>
616
- </td>
617
- </tr>
618
- <tr>
619
- <td class="col-md-4">
620
- <i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/object" target="_blank" >object</a></code>
621
-
622
- </td>
623
- </tr>
624
- <tr>
625
- <td class="col-md-4">
626
- <i>Default value : </i><code>{
627
- btnClass: &#x27;default&#x27;, // The CSS class(es) that will apply to the buttons
628
- zoomFactor: 0.1, // The amount that the scale will be increased by
629
- containerBackgroundColor: &#x27;#ccc&#x27;, // The color to use for the background. This can provided in hex, or rgb(a).
630
- wheelZoom: true, // If true, the mouse wheel can be used to zoom in
631
- allowFullscreen: false, // If true, the fullscreen button will be shown, allowing the user to entr fullscreen mode
632
- allowKeyboardNavigation: true, // If true, the left / right arrow keys can be used for navigation
633
- btnIcons: { // The icon classes that will apply to the buttons. By default, font-awesome is used.
634
- zoomIn: &#x27;fa fa-plus&#x27;,
635
- zoomOut: &#x27;fa fa-minus&#x27;,
636
- rotateClockwise: &#x27;fa fa-repeat&#x27;,
637
- rotateCounterClockwise: &#x27;fa fa-undo&#x27;,
638
- next: &#x27;fa fa-arrow-right&#x27;,
639
- prev: &#x27;fa fa-arrow-left&#x27;,
640
- fullscreen: &#x27;fa fa-arrows-alt&#x27;,
641
- },
642
- btnShow: {
643
- zoomIn: false,
644
- zoomOut: false,
645
- rotateClockwise: false,
646
- rotateCounterClockwise: false,
647
- next: false,
648
- prev: false
649
- }
650
- }</code>
651
- </td>
652
- </tr>
653
-
654
-
655
631
  </tbody>
656
632
  </table>
657
633
  <table class="table table-sm table-bordered">
@@ -853,7 +829,7 @@
853
829
  <script src="../js/libs/htmlparser.js"></script>
854
830
  <script src="../js/libs/deep-iterator.js"></script>
855
831
  <script>
856
- var COMPONENT_TEMPLATE = '<div><div style="max-width:460px"><fh-image-viewer [(preview)]="_preview_c" (fullScreenEvent)="fullScreenEvent()" [(ngModel)]="config" *ngIf="u?.image_thumbnail?.length>0" #photo_c (customEvent)="handleEvent($event)" [src]="u.image_thumbnail" index="0"></fh-image-viewer></div></div>'
832
+ var COMPONENT_TEMPLATE = '<div><fh-image-viewer (init)="init()" (fullScreenEvent)="fullScreenEvent()" [config]="config_photo_big" *ngIf="u?.image_thumbnail?.length>0" #photo_c [src]="u.image_thumbnail" index="0"></fh-image-viewer></div>'
857
833
  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': 'FHGridComponent', 'selector': 'FHGrid'},{'name': 'FHGridJSONComponent', 'selector': 'FHGridJSON'},{'name': 'FHGridToolBarComponent', 'selector': 'FHGridToolBar'},{'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': 'FHWinComboSelect', 'selector': 'fhwincomboselect'},{'name': 'FormBuilderComponent', 'selector': 'FHFormBuilder'},{'name': 'FormExecuterComponent', 'selector': 'FHFormExecuter'},{'name': 'FSInput', 'selector': ''},{'name': 'FSResult', 'selector': ''},{'name': 'image_preview', 'selector': 'image_preview'},{'name': 'ImageViewerComponent', 'selector': 'fh-image-viewer'},{'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'}];
858
834
  var DIRECTIVES = [{'name': 'DecimalMask', 'selector': '[ngModel][decimal]'},{'name': 'FHCurrencyFormatterDirective', 'selector': '[FHCurrencyFormatter]'},{'name': 'ToggleFullscreenDirective', 'selector': '[ngxToggleFullscreen]'}];
859
835
  var ACTUAL_COMPONENT = {'name': 'image_preview'};
@@ -765,7 +765,7 @@
765
765
  </td>
766
766
  <td align="right" data-sort="0">
767
767
  <span class="coverage-percent">0 %</span>
768
- <span class="coverage-count">(0/31)</span>
768
+ <span class="coverage-count">(0/32)</span>
769
769
  </td>
770
770
  </tr>
771
771
  <tr class="low">