@fluxhub/fluxhub-lib 1.0.230 → 1.0.232
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/fluxhub-fluxhub-lib.umd.js +29 -10
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/docs/components/ImageViewerComponent.html +1 -1
- package/docs/components/image_preview.html +112 -5
- package/docs/coverage.html +1 -1
- package/docs/js/search/search_index.js +2 -2
- package/esm2015/lib/controls/image-viewer/image-viewer.component.js +6 -5
- package/esm2015/lib/controls/image_preview.js +29 -8
- package/esm5/lib/controls/image-viewer/image-viewer.component.js +6 -5
- package/esm5/lib/controls/image_preview.js +33 -8
- package/fesm2015/fluxhub-fluxhub-lib.js +27 -10
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +32 -11
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/image_preview.d.ts +3 -1
- package/package.json +1 -1
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
|
|
108
108
|
</div>
|
|
109
109
|
|
|
110
|
-
<div style="max-width:460px"><ngx-image-viewer [config]="
|
|
110
|
+
<div style="max-width:460px"><ngx-image-viewer [config]="config" *ngIf="u?.image_thumbnail?.length>0" #photo_c (customEvent)="handleEvent($event)" [src]="u.image_thumbnail" index="0"></ngx-image-viewer>
|
|
111
111
|
|
|
112
112
|
</div>
|
|
113
113
|
</code></pre></td>
|
|
@@ -140,6 +140,9 @@
|
|
|
140
140
|
<li>
|
|
141
141
|
<a href="#already_open">already_open</a>
|
|
142
142
|
</li>
|
|
143
|
+
<li>
|
|
144
|
+
<a href="#config">config</a>
|
|
145
|
+
</li>
|
|
143
146
|
<li>
|
|
144
147
|
<a href="#config_photo">config_photo</a>
|
|
145
148
|
</li>
|
|
@@ -195,6 +198,20 @@
|
|
|
195
198
|
|
|
196
199
|
|
|
197
200
|
|
|
201
|
+
<tr>
|
|
202
|
+
<td class="col-md-4">
|
|
203
|
+
<h6><b>Accessors</b></h6>
|
|
204
|
+
</td>
|
|
205
|
+
</tr>
|
|
206
|
+
<tr>
|
|
207
|
+
<td class="col-md-4">
|
|
208
|
+
<ul class="index-list">
|
|
209
|
+
<li>
|
|
210
|
+
<a href="#preview">preview</a>
|
|
211
|
+
</li>
|
|
212
|
+
</ul>
|
|
213
|
+
</td>
|
|
214
|
+
</tr>
|
|
198
215
|
</tbody>
|
|
199
216
|
</table>
|
|
200
217
|
</section>
|
|
@@ -214,9 +231,6 @@
|
|
|
214
231
|
<em>Type :</em> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
|
|
215
232
|
|
|
216
233
|
</p>
|
|
217
|
-
<p>
|
|
218
|
-
<em>Default value : </em><code>true</code>
|
|
219
|
-
</p>
|
|
220
234
|
</td>
|
|
221
235
|
</tr>
|
|
222
236
|
</tbody>
|
|
@@ -418,6 +432,35 @@
|
|
|
418
432
|
</tr>
|
|
419
433
|
|
|
420
434
|
|
|
435
|
+
</tbody>
|
|
436
|
+
</table>
|
|
437
|
+
<table class="table table-sm table-bordered">
|
|
438
|
+
<tbody>
|
|
439
|
+
<tr>
|
|
440
|
+
<td class="col-md-4">
|
|
441
|
+
<a name="config"></a>
|
|
442
|
+
<span class="name">
|
|
443
|
+
<b>
|
|
444
|
+
config
|
|
445
|
+
</b>
|
|
446
|
+
<a href="#config"><span class="icon ion-ios-link"></span></a>
|
|
447
|
+
</span>
|
|
448
|
+
</td>
|
|
449
|
+
</tr>
|
|
450
|
+
<tr>
|
|
451
|
+
<td class="col-md-4">
|
|
452
|
+
<code>config: <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >any</a></code>
|
|
453
|
+
</code>
|
|
454
|
+
</td>
|
|
455
|
+
</tr>
|
|
456
|
+
<tr>
|
|
457
|
+
<td class="col-md-4">
|
|
458
|
+
<i>Type : </i> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >any</a></code>
|
|
459
|
+
|
|
460
|
+
</td>
|
|
461
|
+
</tr>
|
|
462
|
+
|
|
463
|
+
|
|
421
464
|
</tbody>
|
|
422
465
|
</table>
|
|
423
466
|
<table class="table table-sm table-bordered">
|
|
@@ -576,6 +619,70 @@
|
|
|
576
619
|
</table>
|
|
577
620
|
</section>
|
|
578
621
|
|
|
622
|
+
<section>
|
|
623
|
+
<h3 id="accessors">
|
|
624
|
+
Accessors
|
|
625
|
+
</h3>
|
|
626
|
+
<table class="table table-sm table-bordered">
|
|
627
|
+
<tbody>
|
|
628
|
+
<tr>
|
|
629
|
+
<td class="col-md-4">
|
|
630
|
+
<a name="preview"></a>
|
|
631
|
+
<span class="name"><b>preview</b><a href="#preview"><span class="icon ion-ios-link"></span></a></span>
|
|
632
|
+
</td>
|
|
633
|
+
</tr>
|
|
634
|
+
|
|
635
|
+
<tr>
|
|
636
|
+
<td class="col-md-4">
|
|
637
|
+
<span class="accessor"><b>get</b><code>preview()</code></span>
|
|
638
|
+
</td>
|
|
639
|
+
</tr>
|
|
640
|
+
|
|
641
|
+
<tr>
|
|
642
|
+
<td class="col-md-4">
|
|
643
|
+
<span class="accessor"><b>set</b><code>preview(preview: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank">boolean</a>)</code></span>
|
|
644
|
+
</td>
|
|
645
|
+
</tr>
|
|
646
|
+
<tr>
|
|
647
|
+
<td class="col-md-4">
|
|
648
|
+
|
|
649
|
+
<div class="io-description">
|
|
650
|
+
<b>Parameters :</b>
|
|
651
|
+
<table class="params">
|
|
652
|
+
<thead>
|
|
653
|
+
<tr>
|
|
654
|
+
<td>Name</td>
|
|
655
|
+
<td>Type</td>
|
|
656
|
+
<td>Optional</td>
|
|
657
|
+
</tr>
|
|
658
|
+
</thead>
|
|
659
|
+
<tbody>
|
|
660
|
+
<tr>
|
|
661
|
+
<td>preview</td>
|
|
662
|
+
|
|
663
|
+
<td>
|
|
664
|
+
<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
|
|
665
|
+
</td>
|
|
666
|
+
|
|
667
|
+
<td>
|
|
668
|
+
No
|
|
669
|
+
</td>
|
|
670
|
+
|
|
671
|
+
</tr>
|
|
672
|
+
</tbody>
|
|
673
|
+
</table>
|
|
674
|
+
</div>
|
|
675
|
+
<div>
|
|
676
|
+
</div>
|
|
677
|
+
<div class="io-description">
|
|
678
|
+
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
679
|
+
|
|
680
|
+
</div>
|
|
681
|
+
</td>
|
|
682
|
+
</tr>
|
|
683
|
+
</tbody>
|
|
684
|
+
</table>
|
|
685
|
+
</section>
|
|
579
686
|
</div>
|
|
580
687
|
|
|
581
688
|
|
|
@@ -613,7 +720,7 @@
|
|
|
613
720
|
<script src="../js/libs/htmlparser.js"></script>
|
|
614
721
|
<script src="../js/libs/deep-iterator.js"></script>
|
|
615
722
|
<script>
|
|
616
|
-
var COMPONENT_TEMPLATE = '<div><div fxLayout="row" fxLayoutAlign="end center" [hidden]="already_open"> <button type="button" class="default" (click)="toggle_up()" *ngIf="u?.image_thumbnail?.length>0 && preview"> <span class="fa fa-arrows-alt"></span> </button></div> <div style="max-width:460px"><ngx-image-viewer [config]="
|
|
723
|
+
var COMPONENT_TEMPLATE = '<div><div fxLayout="row" fxLayoutAlign="end center" [hidden]="already_open"> <button type="button" class="default" (click)="toggle_up()" *ngIf="u?.image_thumbnail?.length>0 && preview"> <span class="fa fa-arrows-alt"></span> </button></div> <div style="max-width:460px"><ngx-image-viewer [config]="config" *ngIf="u?.image_thumbnail?.length>0" #photo_c (customEvent)="handleEvent($event)" [src]="u.image_thumbnail" index="0"></ngx-image-viewer> </div></div>'
|
|
617
724
|
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': 'ngx-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'}];
|
|
618
725
|
var DIRECTIVES = [{'name': 'DecimalMask', 'selector': '[ngModel][decimal]'},{'name': 'FHCurrencyFormatterDirective', 'selector': '[FHCurrencyFormatter]'},{'name': 'ToggleFullscreenDirective', 'selector': '[ngxToggleFullscreen]'}];
|
|
619
726
|
var ACTUAL_COMPONENT = {'name': 'image_preview'};
|
package/docs/coverage.html
CHANGED