@fluxhub/fluxhub-lib 10.0.401 → 10.0.403
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 +65 -1
- 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/esm2015/lib/controls/fhgrid_toolbar.js +3 -3
- package/esm2015/lib/controls/win_ask_richtext.js +123 -0
- package/esm2015/lib/fluxhub-lib.module.js +4 -1
- package/esm2015/public_api.js +2 -1
- package/fesm2015/fluxhub-fluxhub-lib.js +125 -3
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/win_ask_richtext.d.ts +22 -0
- package/package.json +1 -1
- package/public_api.d.ts +1 -0
|
@@ -15844,8 +15844,8 @@ FHGridToolBarComponent.decorators = [
|
|
|
15844
15844
|
>
|
|
15845
15845
|
{{ toolbar_wkfapp?.imp }}
|
|
15846
15846
|
</button>
|
|
15847
|
-
<div *ngFor="let app of custom_commands">
|
|
15848
|
-
|
|
15847
|
+
<div *ngFor="let app of custom_commands" fxLayout="row" fxLayoutAlign="start center" fxLayoutGap="10px">
|
|
15848
|
+
|
|
15849
15849
|
<div *ngIf="app.type != 'checkbox'">
|
|
15850
15850
|
<button [hidden]="app.hidden!=null && app.hidden"
|
|
15851
15851
|
mat-flat-button
|
|
@@ -24784,6 +24784,126 @@ wkf_header_bar_v2.propDecorators = {
|
|
|
24784
24784
|
button_clicked: [{ type: Output }]
|
|
24785
24785
|
};
|
|
24786
24786
|
|
|
24787
|
+
class fh_win_ask_richtext {
|
|
24788
|
+
constructor(dialogRef, toastr, data) {
|
|
24789
|
+
this.dialogRef = dialogRef;
|
|
24790
|
+
this.toastr = toastr;
|
|
24791
|
+
this.data = data;
|
|
24792
|
+
this.title = "";
|
|
24793
|
+
this.label = "";
|
|
24794
|
+
this.valore = "";
|
|
24795
|
+
this.readonly = false;
|
|
24796
|
+
this.show_annulla = true;
|
|
24797
|
+
this.show_ok = true;
|
|
24798
|
+
this.min_chars = 3;
|
|
24799
|
+
if (data != null) {
|
|
24800
|
+
if (data.title != null)
|
|
24801
|
+
this.title = data.title;
|
|
24802
|
+
if (data.label != null)
|
|
24803
|
+
this.label = data.label;
|
|
24804
|
+
if (data.valore != null)
|
|
24805
|
+
this.valore = data.valore;
|
|
24806
|
+
if (data.readonly != null)
|
|
24807
|
+
this.readonly = data.readonly;
|
|
24808
|
+
if (data.show_annulla != null)
|
|
24809
|
+
this.show_annulla = data.show_annulla;
|
|
24810
|
+
if (data.show_ok != null)
|
|
24811
|
+
this.show_ok = data.show_ok;
|
|
24812
|
+
if (data.min_chars != null)
|
|
24813
|
+
this.min_chars = data.min_chars;
|
|
24814
|
+
}
|
|
24815
|
+
}
|
|
24816
|
+
ngAfterViewInit() { }
|
|
24817
|
+
close() {
|
|
24818
|
+
this.dialogRef.close(null);
|
|
24819
|
+
}
|
|
24820
|
+
show() { }
|
|
24821
|
+
hide() {
|
|
24822
|
+
this.dialogRef.close(null);
|
|
24823
|
+
}
|
|
24824
|
+
do_check() {
|
|
24825
|
+
if (this.valore.length < this.min_chars) {
|
|
24826
|
+
this.toastr.error("Il valore deve contenere almeno " + this.min_chars + " caratteri");
|
|
24827
|
+
return;
|
|
24828
|
+
}
|
|
24829
|
+
this.dialogRef.close(this.valore);
|
|
24830
|
+
}
|
|
24831
|
+
chiudi() {
|
|
24832
|
+
this.dialogRef.close(null);
|
|
24833
|
+
}
|
|
24834
|
+
}
|
|
24835
|
+
fh_win_ask_richtext.decorators = [
|
|
24836
|
+
{ type: Component, args: [{
|
|
24837
|
+
selector: "app-win_ask_richtext",
|
|
24838
|
+
template: `
|
|
24839
|
+
<div fxLayout="column" fxLayoutGap="5px">
|
|
24840
|
+
<div fxFlex="100" fxLayout="row" class="dialog_header">
|
|
24841
|
+
<div fxLayout="row" fxLayoutAlign="start center" style="width:50%">{{ title }}</div>
|
|
24842
|
+
<div style="width:50%" fxLayout="row" fxLayoutAlign="end start">
|
|
24843
|
+
<img src="assets/icons/x.png" style="cursor: pointer;" (click)="close()" />
|
|
24844
|
+
</div>
|
|
24845
|
+
</div>
|
|
24846
|
+
<hr width="100%" size="0.5" color="#DDDDDD">
|
|
24847
|
+
<mat-dialog-content style="width:630px;font-size: 15px;">
|
|
24848
|
+
<FHRichText
|
|
24849
|
+
|
|
24850
|
+
[label]="label"
|
|
24851
|
+
[enabled]="!readonly"
|
|
24852
|
+
[(ngModel)]="valore"
|
|
24853
|
+
[required]="true"
|
|
24854
|
+
>
|
|
24855
|
+
</FHRichText>
|
|
24856
|
+
</mat-dialog-content>
|
|
24857
|
+
<mat-dialog-actions>
|
|
24858
|
+
<div
|
|
24859
|
+
fxLayout="row"
|
|
24860
|
+
fxLayoutAlign="center center"
|
|
24861
|
+
style="width: 100%"
|
|
24862
|
+
[hidden]="readonly"
|
|
24863
|
+
>
|
|
24864
|
+
<button
|
|
24865
|
+
*ngIf="show_ok"
|
|
24866
|
+
mat-flat-button
|
|
24867
|
+
color="primary"
|
|
24868
|
+
(click)="do_check()"
|
|
24869
|
+
>
|
|
24870
|
+
OK</button
|
|
24871
|
+
>
|
|
24872
|
+
<button
|
|
24873
|
+
*ngIf="show_annulla"
|
|
24874
|
+
mat-flat-button
|
|
24875
|
+
color="warn"
|
|
24876
|
+
(click)="chiudi()"
|
|
24877
|
+
>
|
|
24878
|
+
ANNULLA
|
|
24879
|
+
</button>
|
|
24880
|
+
</div>
|
|
24881
|
+
<div
|
|
24882
|
+
fxLayout="row"
|
|
24883
|
+
fxLayoutAlign="center center"
|
|
24884
|
+
style="width: 100%"
|
|
24885
|
+
[hidden]="!readonly"
|
|
24886
|
+
>
|
|
24887
|
+
<button
|
|
24888
|
+
*ngIf="show_annulla"
|
|
24889
|
+
mat-flat-button
|
|
24890
|
+
color="warn"
|
|
24891
|
+
(click)="chiudi()"
|
|
24892
|
+
>
|
|
24893
|
+
CHIUDI
|
|
24894
|
+
</button>
|
|
24895
|
+
</div>
|
|
24896
|
+
</mat-dialog-actions>
|
|
24897
|
+
</div>
|
|
24898
|
+
`
|
|
24899
|
+
},] }
|
|
24900
|
+
];
|
|
24901
|
+
fh_win_ask_richtext.ctorParameters = () => [
|
|
24902
|
+
{ type: MatDialogRef },
|
|
24903
|
+
{ type: ToastrService },
|
|
24904
|
+
{ type: undefined, decorators: [{ type: Inject, args: [MAT_DIALOG_DATA,] }] }
|
|
24905
|
+
];
|
|
24906
|
+
|
|
24787
24907
|
class FluxhubLibModule {
|
|
24788
24908
|
static forRoot() {
|
|
24789
24909
|
return {
|
|
@@ -24906,6 +25026,7 @@ FluxhubLibModule.decorators = [
|
|
|
24906
25026
|
FHMdReader,
|
|
24907
25027
|
FHLogPanelComponent,
|
|
24908
25028
|
fh_win_ask_big_test,
|
|
25029
|
+
fh_win_ask_richtext,
|
|
24909
25030
|
FHRichText,
|
|
24910
25031
|
fh_win_output,
|
|
24911
25032
|
FHNumericFieldComponent,
|
|
@@ -24971,6 +25092,7 @@ FluxhubLibModule.decorators = [
|
|
|
24971
25092
|
FHMdReader,
|
|
24972
25093
|
FHLogPanelComponent,
|
|
24973
25094
|
fh_win_ask_big_test,
|
|
25095
|
+
fh_win_ask_richtext,
|
|
24974
25096
|
FHRichText,
|
|
24975
25097
|
fh_win_output,
|
|
24976
25098
|
FHNumericFieldComponent,
|
|
@@ -25952,5 +26074,5 @@ wkfapp_v2.ctorParameters = () => [
|
|
|
25952
26074
|
* Generated bundle index. Do not edit.
|
|
25953
26075
|
*/
|
|
25954
26076
|
|
|
25955
|
-
export { AppMakerService, AppService, ApprovaGridComponent, AuthenticationService, CheckboxEditorComponent, ComboBoxEditor, CurrencyComponent, FHAutoCompleteComponent, FHCheckBox, FHComboboxComponent, FHConfirmValues, FHCurrencyFormatterDirective, FHCurrencyPipe, FHDatePickerComponent, FHFieldPickListComponent, FHFormToolBarComponent, FHGridComponent, FHGridJSONComponent, FHGuard, FHListComponent, FHLogPanelComponent, FHMdReader, FHNumericFieldComponent, FHPickFieldComponent, FHRichText, FHRoleManager, FHTableManager, FHTextArea, FHTextInput, FHTimePickerComponent, FHUploadComponent, FHUploadPanelComponent, FHUploadPanelS3Component, FHUploadS3Component, FHUserFieldComponent, FSInput, FSResult, FileService, FluxhubLibModule, FormBuilderComponent, FormExecuterComponent, GridService, LocalDBService, NumericEditorComponent, OdbcService, OfficeAutomatorService, QGParam, QGResult, QParam, QResult, QueryService, ReplaceLineBreaks, TextAreaEditor, UtilityService, WkfService, dati_aggiuntivi, dati_aggiuntivi_v2, fh_win_app_logs, fh_win_ask_big_test, fh_win_ask_buttons, fh_win_ask_number, fh_win_ask_text, fh_win_auto_complete, fh_win_combo, fh_win_confirm, fh_win_list, fh_win_mappa, fh_win_output, fh_win_picklist, fh_win_show_email, fh_win_show_email_s3, fh_win_show_image, fh_win_show_log_dett, fh_win_time_slider, fh_win_uploads, fh_win_user_info, fh_win_user_picker, fh_win_wait, fhimagepreview, win_insert_commento, win_salva_annulla, wkf_header_bar, wkf_header_bar_v2, wkfapp, wkfapp_v2, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$1 as ɵa, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$3 as ɵb, win_info_doc_v2 as ɵba, win_log_v2 as ɵbb, win_recupera_doc_v2 as ɵbc, win_riassegna_select_level_v2 as ɵbd, win_riassegna_select_user_v2 as ɵbe, win_sostituisci_utente_v2 as ɵbf, win_commento_sel_notif_v2 as ɵbg, win_insert_commento_v2 as ɵbh, FHViewerComponent as ɵbi, FHGridToolBarComponent as ɵbk, win_assegna as ɵbl, win_conferma as ɵbm, win_select_canale as ɵbn, win_select_level as ɵbo, win_commenti as ɵbp, win_info_doc as ɵbq, win_log as ɵbr, win_recupera_doc as ɵbs, win_riassegna_select_level as ɵbt, win_riassegna_select_user as ɵbu, win_sostituisci_utente as ɵbv, win_commento_sel_notif as ɵbw, win_manage_values as ɵbx, win_manage_roles as ɵby, FHComboboxComponentFilter as ɵbz, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$8 as ɵc, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$5 as ɵd, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR as ɵe, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$6 as ɵf, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_NUMERIC as ɵg, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_RT as ɵh, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$4 as ɵi, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$2 as ɵj, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$7 as ɵk, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$9 as ɵl, FHHelpButton as ɵm, SafePipe as ɵn, DecimalMask as ɵo, MOMENT_DATE_FORMATS as ɵp, MomentDateAdapter as ɵq, win_grid_help as ɵr, HighlightService as ɵs, win_salva_annulla_v2 as ɵt, win_assegna_v2 as ɵu, win_conferma_v2 as ɵv, win_select_canale_v2 as ɵw, win_select_level_v2 as ɵx, win_uploads_v2 as ɵy, win_commenti_v2 as ɵz };
|
|
26077
|
+
export { AppMakerService, AppService, ApprovaGridComponent, AuthenticationService, CheckboxEditorComponent, ComboBoxEditor, CurrencyComponent, FHAutoCompleteComponent, FHCheckBox, FHComboboxComponent, FHConfirmValues, FHCurrencyFormatterDirective, FHCurrencyPipe, FHDatePickerComponent, FHFieldPickListComponent, FHFormToolBarComponent, FHGridComponent, FHGridJSONComponent, FHGuard, FHListComponent, FHLogPanelComponent, FHMdReader, FHNumericFieldComponent, FHPickFieldComponent, FHRichText, FHRoleManager, FHTableManager, FHTextArea, FHTextInput, FHTimePickerComponent, FHUploadComponent, FHUploadPanelComponent, FHUploadPanelS3Component, FHUploadS3Component, FHUserFieldComponent, FSInput, FSResult, FileService, FluxhubLibModule, FormBuilderComponent, FormExecuterComponent, GridService, LocalDBService, NumericEditorComponent, OdbcService, OfficeAutomatorService, QGParam, QGResult, QParam, QResult, QueryService, ReplaceLineBreaks, TextAreaEditor, UtilityService, WkfService, dati_aggiuntivi, dati_aggiuntivi_v2, fh_win_app_logs, fh_win_ask_big_test, fh_win_ask_buttons, fh_win_ask_number, fh_win_ask_richtext, fh_win_ask_text, fh_win_auto_complete, fh_win_combo, fh_win_confirm, fh_win_list, fh_win_mappa, fh_win_output, fh_win_picklist, fh_win_show_email, fh_win_show_email_s3, fh_win_show_image, fh_win_show_log_dett, fh_win_time_slider, fh_win_uploads, fh_win_user_info, fh_win_user_picker, fh_win_wait, fhimagepreview, win_insert_commento, win_salva_annulla, wkf_header_bar, wkf_header_bar_v2, wkfapp, wkfapp_v2, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$1 as ɵa, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$3 as ɵb, win_info_doc_v2 as ɵba, win_log_v2 as ɵbb, win_recupera_doc_v2 as ɵbc, win_riassegna_select_level_v2 as ɵbd, win_riassegna_select_user_v2 as ɵbe, win_sostituisci_utente_v2 as ɵbf, win_commento_sel_notif_v2 as ɵbg, win_insert_commento_v2 as ɵbh, FHViewerComponent as ɵbi, FHGridToolBarComponent as ɵbk, win_assegna as ɵbl, win_conferma as ɵbm, win_select_canale as ɵbn, win_select_level as ɵbo, win_commenti as ɵbp, win_info_doc as ɵbq, win_log as ɵbr, win_recupera_doc as ɵbs, win_riassegna_select_level as ɵbt, win_riassegna_select_user as ɵbu, win_sostituisci_utente as ɵbv, win_commento_sel_notif as ɵbw, win_manage_values as ɵbx, win_manage_roles as ɵby, FHComboboxComponentFilter as ɵbz, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$8 as ɵc, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$5 as ɵd, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR as ɵe, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$6 as ɵf, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_NUMERIC as ɵg, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_RT as ɵh, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$4 as ɵi, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$2 as ɵj, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$7 as ɵk, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$9 as ɵl, FHHelpButton as ɵm, SafePipe as ɵn, DecimalMask as ɵo, MOMENT_DATE_FORMATS as ɵp, MomentDateAdapter as ɵq, win_grid_help as ɵr, HighlightService as ɵs, win_salva_annulla_v2 as ɵt, win_assegna_v2 as ɵu, win_conferma_v2 as ɵv, win_select_canale_v2 as ɵw, win_select_level_v2 as ɵx, win_uploads_v2 as ɵy, win_commenti_v2 as ɵz };
|
|
25956
26078
|
//# sourceMappingURL=fluxhub-fluxhub-lib.js.map
|