@fluxhub/fluxhub-lib 9.0.32 → 9.0.33
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 +227 -6
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +2 -2
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/fluxhub-fluxhub-lib.js +5 -5
- package/esm2015/lib/controls/fhcheckbox.js +111 -0
- package/esm2015/lib/controls/fhtextinput.js +109 -0
- package/esm2015/lib/fluxhub-lib.module.js +5 -3
- package/esm2015/public_api.js +3 -1
- package/esm5/fluxhub-fluxhub-lib.js +5 -5
- package/esm5/lib/controls/fhcheckbox.js +115 -0
- package/esm5/lib/controls/fhtextinput.js +114 -0
- package/esm5/lib/fluxhub-lib.module.js +5 -3
- package/esm5/public_api.js +3 -1
- package/fesm2015/fluxhub-fluxhub-lib.js +213 -3
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +222 -3
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.d.ts +4 -4
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhcheckbox.d.ts +22 -0
- package/lib/controls/fhtextinput.d.ts +24 -0
- package/package.json +1 -1
- package/public_api.d.ts +2 -0
|
@@ -7850,6 +7850,110 @@ FHDatePickerComponent = FHDatePickerComponent_1 = __decorate([
|
|
|
7850
7850
|
__metadata("design:paramtypes", [DateAdapter, UtilityService])
|
|
7851
7851
|
], FHDatePickerComponent);
|
|
7852
7852
|
|
|
7853
|
+
var FHTextInput_1;
|
|
7854
|
+
let FHTextInput = FHTextInput_1 = class FHTextInput extends FHValueAccessor {
|
|
7855
|
+
constructor() {
|
|
7856
|
+
super();
|
|
7857
|
+
this.hidden = false;
|
|
7858
|
+
this.label = "";
|
|
7859
|
+
this.enabled = true;
|
|
7860
|
+
this.required = false;
|
|
7861
|
+
this.change = new EventEmitter();
|
|
7862
|
+
this.focusout = new EventEmitter();
|
|
7863
|
+
this.focusin = new EventEmitter();
|
|
7864
|
+
this.text_v = '';
|
|
7865
|
+
}
|
|
7866
|
+
onFi() {
|
|
7867
|
+
setTimeout(() => {
|
|
7868
|
+
this.focusin.emit(this.text_v);
|
|
7869
|
+
});
|
|
7870
|
+
}
|
|
7871
|
+
onFu() {
|
|
7872
|
+
setTimeout(() => {
|
|
7873
|
+
this.focusout.emit(this.text_v);
|
|
7874
|
+
});
|
|
7875
|
+
}
|
|
7876
|
+
modelch() {
|
|
7877
|
+
setTimeout(() => {
|
|
7878
|
+
this.change.emit(this.text_v);
|
|
7879
|
+
});
|
|
7880
|
+
}
|
|
7881
|
+
ngAfterViewInit() { }
|
|
7882
|
+
getValue() {
|
|
7883
|
+
return this.text_v;
|
|
7884
|
+
}
|
|
7885
|
+
setValue(v) {
|
|
7886
|
+
this.text_v = v;
|
|
7887
|
+
}
|
|
7888
|
+
getModelValue() {
|
|
7889
|
+
const value = this.text_v;
|
|
7890
|
+
return value;
|
|
7891
|
+
}
|
|
7892
|
+
emitChanged() {
|
|
7893
|
+
const value = this.getModelValue();
|
|
7894
|
+
this.changed.forEach(f => f(value));
|
|
7895
|
+
}
|
|
7896
|
+
get value() {
|
|
7897
|
+
return this.getModelValue();
|
|
7898
|
+
}
|
|
7899
|
+
set value(value) {
|
|
7900
|
+
if (this.getModelValue() !== value) {
|
|
7901
|
+
this.text_v = value;
|
|
7902
|
+
this.changed.forEach(f => f(value));
|
|
7903
|
+
}
|
|
7904
|
+
}
|
|
7905
|
+
writeValue(value) {
|
|
7906
|
+
this.setValue(value);
|
|
7907
|
+
}
|
|
7908
|
+
};
|
|
7909
|
+
__decorate([
|
|
7910
|
+
Input(),
|
|
7911
|
+
__metadata("design:type", Boolean)
|
|
7912
|
+
], FHTextInput.prototype, "hidden", void 0);
|
|
7913
|
+
__decorate([
|
|
7914
|
+
Input(),
|
|
7915
|
+
__metadata("design:type", String)
|
|
7916
|
+
], FHTextInput.prototype, "label", void 0);
|
|
7917
|
+
__decorate([
|
|
7918
|
+
Input(),
|
|
7919
|
+
__metadata("design:type", Boolean)
|
|
7920
|
+
], FHTextInput.prototype, "enabled", void 0);
|
|
7921
|
+
__decorate([
|
|
7922
|
+
Input(),
|
|
7923
|
+
__metadata("design:type", Boolean)
|
|
7924
|
+
], FHTextInput.prototype, "required", void 0);
|
|
7925
|
+
__decorate([
|
|
7926
|
+
Output(),
|
|
7927
|
+
__metadata("design:type", EventEmitter)
|
|
7928
|
+
], FHTextInput.prototype, "change", void 0);
|
|
7929
|
+
__decorate([
|
|
7930
|
+
Output(),
|
|
7931
|
+
__metadata("design:type", EventEmitter)
|
|
7932
|
+
], FHTextInput.prototype, "focusout", void 0);
|
|
7933
|
+
__decorate([
|
|
7934
|
+
Output(),
|
|
7935
|
+
__metadata("design:type", EventEmitter)
|
|
7936
|
+
], FHTextInput.prototype, "focusin", void 0);
|
|
7937
|
+
FHTextInput = FHTextInput_1 = __decorate([
|
|
7938
|
+
Component({
|
|
7939
|
+
selector: 'FHTextInput',
|
|
7940
|
+
template: `
|
|
7941
|
+
<mat-form-field [hidden]="hidden" appearance="outline" floatLabel="always"><mat-label>{{label}}</mat-label>
|
|
7942
|
+
<input matInput type="text" [(ngModel)]="text_v" [disabled]="!enabled" [required]="required" (focusout)="onFu()" (focusin)="onFi()" (ngModelChange)="modelch()">
|
|
7943
|
+
</mat-form-field>
|
|
7944
|
+
`,
|
|
7945
|
+
providers: [{
|
|
7946
|
+
provide: NG_VALUE_ACCESSOR,
|
|
7947
|
+
useExisting: FHTextInput_1,
|
|
7948
|
+
multi: true
|
|
7949
|
+
},],
|
|
7950
|
+
styles: [`
|
|
7951
|
+
|
|
7952
|
+
`]
|
|
7953
|
+
}),
|
|
7954
|
+
__metadata("design:paramtypes", [])
|
|
7955
|
+
], FHTextInput);
|
|
7956
|
+
|
|
7853
7957
|
let ApprovaGridComponent = class ApprovaGridComponent {
|
|
7854
7958
|
constructor() {
|
|
7855
7959
|
this.val_app = -1;
|
|
@@ -15779,6 +15883,112 @@ FHHelpButton = __decorate([
|
|
|
15779
15883
|
__metadata("design:paramtypes", [QueryService, ToastrService])
|
|
15780
15884
|
], FHHelpButton);
|
|
15781
15885
|
|
|
15886
|
+
var FHCheckBox_1;
|
|
15887
|
+
let FHCheckBox = FHCheckBox_1 = class FHCheckBox extends FHValueAccessor {
|
|
15888
|
+
constructor() {
|
|
15889
|
+
super();
|
|
15890
|
+
this.hidden = false;
|
|
15891
|
+
this.label = "";
|
|
15892
|
+
this.enabled = true;
|
|
15893
|
+
this.required = false;
|
|
15894
|
+
this.change = new EventEmitter();
|
|
15895
|
+
this.click = new EventEmitter();
|
|
15896
|
+
this.value_b = false;
|
|
15897
|
+
}
|
|
15898
|
+
onCl() {
|
|
15899
|
+
setTimeout(() => {
|
|
15900
|
+
this.click.emit(this.value_b);
|
|
15901
|
+
});
|
|
15902
|
+
}
|
|
15903
|
+
modelch() {
|
|
15904
|
+
setTimeout(() => {
|
|
15905
|
+
this.change.emit(this.value_b);
|
|
15906
|
+
});
|
|
15907
|
+
}
|
|
15908
|
+
ngAfterViewInit() { }
|
|
15909
|
+
getModelValue() {
|
|
15910
|
+
if (this.value_b)
|
|
15911
|
+
return 1;
|
|
15912
|
+
else
|
|
15913
|
+
return 0;
|
|
15914
|
+
}
|
|
15915
|
+
getValue() {
|
|
15916
|
+
return this.getModelValue();
|
|
15917
|
+
}
|
|
15918
|
+
setValue(value) {
|
|
15919
|
+
if (this.getModelValue() !== value) {
|
|
15920
|
+
if (value != null)
|
|
15921
|
+
if (value == 1)
|
|
15922
|
+
this.value_b = true;
|
|
15923
|
+
else
|
|
15924
|
+
this.value_b = false;
|
|
15925
|
+
}
|
|
15926
|
+
}
|
|
15927
|
+
emitChanged() {
|
|
15928
|
+
const value = this.getModelValue();
|
|
15929
|
+
this.changed.forEach(f => f(value));
|
|
15930
|
+
}
|
|
15931
|
+
get value() {
|
|
15932
|
+
return this.getModelValue();
|
|
15933
|
+
}
|
|
15934
|
+
set value(value) {
|
|
15935
|
+
if (this.getModelValue() !== value) {
|
|
15936
|
+
if (value != null)
|
|
15937
|
+
if (value == 1)
|
|
15938
|
+
this.value_b = true;
|
|
15939
|
+
else
|
|
15940
|
+
this.value_b = false;
|
|
15941
|
+
this.changed.forEach(f => f(value));
|
|
15942
|
+
}
|
|
15943
|
+
}
|
|
15944
|
+
writeValue(value) {
|
|
15945
|
+
this.setValue(value);
|
|
15946
|
+
}
|
|
15947
|
+
};
|
|
15948
|
+
__decorate([
|
|
15949
|
+
Input(),
|
|
15950
|
+
__metadata("design:type", Boolean)
|
|
15951
|
+
], FHCheckBox.prototype, "hidden", void 0);
|
|
15952
|
+
__decorate([
|
|
15953
|
+
Input(),
|
|
15954
|
+
__metadata("design:type", String)
|
|
15955
|
+
], FHCheckBox.prototype, "label", void 0);
|
|
15956
|
+
__decorate([
|
|
15957
|
+
Input(),
|
|
15958
|
+
__metadata("design:type", Boolean)
|
|
15959
|
+
], FHCheckBox.prototype, "enabled", void 0);
|
|
15960
|
+
__decorate([
|
|
15961
|
+
Input(),
|
|
15962
|
+
__metadata("design:type", Boolean)
|
|
15963
|
+
], FHCheckBox.prototype, "required", void 0);
|
|
15964
|
+
__decorate([
|
|
15965
|
+
Output(),
|
|
15966
|
+
__metadata("design:type", EventEmitter)
|
|
15967
|
+
], FHCheckBox.prototype, "change", void 0);
|
|
15968
|
+
__decorate([
|
|
15969
|
+
Output(),
|
|
15970
|
+
__metadata("design:type", EventEmitter)
|
|
15971
|
+
], FHCheckBox.prototype, "click", void 0);
|
|
15972
|
+
FHCheckBox = FHCheckBox_1 = __decorate([
|
|
15973
|
+
Component({
|
|
15974
|
+
selector: 'FHCheckBox',
|
|
15975
|
+
template: `
|
|
15976
|
+
|
|
15977
|
+
<mat-checkbox [(ngModel)]="value_b" (click)="onCl()" [disabled]="!enabled" [required]="required" (ngModelChange)="modelch()">{{label}}
|
|
15978
|
+
</mat-checkbox>
|
|
15979
|
+
`,
|
|
15980
|
+
providers: [{
|
|
15981
|
+
provide: NG_VALUE_ACCESSOR,
|
|
15982
|
+
useExisting: FHCheckBox_1,
|
|
15983
|
+
multi: true
|
|
15984
|
+
},],
|
|
15985
|
+
styles: [`
|
|
15986
|
+
|
|
15987
|
+
`]
|
|
15988
|
+
}),
|
|
15989
|
+
__metadata("design:paramtypes", [])
|
|
15990
|
+
], FHCheckBox);
|
|
15991
|
+
|
|
15782
15992
|
var FluxhubLibModule_1;
|
|
15783
15993
|
let FluxhubLibModule = FluxhubLibModule_1 = class FluxhubLibModule {
|
|
15784
15994
|
static forRoot() {
|
|
@@ -15832,13 +16042,13 @@ FluxhubLibModule = FluxhubLibModule_1 = __decorate([
|
|
|
15832
16042
|
apiKey: 'AIzaSyD3-g3b_QqxUruxBY4PGJKaH2fubIVXvN4'
|
|
15833
16043
|
}),
|
|
15834
16044
|
FlexLayoutModule, MarkdownModule, CKEditorModule],
|
|
15835
|
-
exports: [FHHelpButton, win_user_info, win_insert_commento, FHRoleManager, FHFieldPickListComponent, SafePipe, fhimagepreview, win_show_image, WinAskButtonsComponent, win_time_slider, DecimalMask, FHTimePickerComponent, CurrencyComponent, FHUploadPanelComponent, FHUploadComponent,
|
|
16045
|
+
exports: [FHCheckBox, FHTextInput, FHHelpButton, win_user_info, win_insert_commento, FHRoleManager, FHFieldPickListComponent, SafePipe, fhimagepreview, win_show_image, WinAskButtonsComponent, win_time_slider, DecimalMask, FHTimePickerComponent, CurrencyComponent, FHUploadPanelComponent, FHUploadComponent,
|
|
15836
16046
|
FHGridComponent, FHComboboxComponent, FHConfirmComponent, FHAutoCompleteComponent, FHDatePickerComponent, NumericEditorComponent,
|
|
15837
16047
|
FHUserPickerComponent, ApprovaGridComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, win_mappa, win_grid_help, TextAreaEditor,
|
|
15838
16048
|
ComboBoxEditor, FHListComponent, FHWinComboSelect, ReplaceLineBreaks, WinAskTextComponent, FHPickListComponent, WinAskNumberComponent,
|
|
15839
16049
|
FHMdReader, FHLogPanelComponent, WinAskTextBigComponent, FHCurrencyFieldComponent, FHRichText, WinOutputComponent, FHNumericFieldComponent, wkf_header_bar,
|
|
15840
16050
|
FHListPick, WinWait, FHUserFieldComponent, FHGridJSONComponent, win_salva_annulla, FormBuilderComponent, FormExecuterComponent, FHTableManager],
|
|
15841
|
-
declarations: [FHHelpButton, win_user_info, win_insert_commento, FHRoleManager, FHFieldPickListComponent, SafePipe, FHViewerComponent,
|
|
16051
|
+
declarations: [FHCheckBox, FHTextInput, FHHelpButton, win_user_info, win_insert_commento, FHRoleManager, FHFieldPickListComponent, SafePipe, FHViewerComponent,
|
|
15842
16052
|
fhimagepreview, win_show_image, WinAskButtonsComponent, FHGridToolBarComponent, win_time_slider, DecimalMask, FHTimePickerComponent, CurrencyComponent, FHUploadPanelComponent, FHUploadComponent, wkf_header_bar,
|
|
15843
16053
|
FHGridComponent, FHComboboxComponent, FHConfirmComponent, FHAutoCompleteComponent, FHDatePickerComponent, NumericEditorComponent,
|
|
15844
16054
|
FHUserPickerComponent, ApprovaGridComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, win_mappa, win_grid_help, TextAreaEditor,
|
|
@@ -16036,5 +16246,5 @@ class FSResult {
|
|
|
16036
16246
|
* Generated bundle index. Do not edit.
|
|
16037
16247
|
*/
|
|
16038
16248
|
|
|
16039
|
-
export { AppMakerService, AppService, ApprovaGridComponent, AuthenticationService, ComboBoxEditor, CurrencyComponent, FHAutoCompleteComponent, FHComboboxComponent, FHConfirmComponent, FHConfirmValues, 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, 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,
|
|
16249
|
+
export { AppMakerService, AppService, ApprovaGridComponent, AuthenticationService, ComboBoxEditor, CurrencyComponent, FHAutoCompleteComponent, FHCheckBox, FHComboboxComponent, FHConfirmComponent, FHConfirmValues, FHCurrencyFieldComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, FHDatePickerComponent, FHFieldPickListComponent, FHGridComponent, FHGridJSONComponent, FHGuard, FHListComponent, FHListPick, FHLogPanelComponent, FHMdReader, FHNumericFieldComponent, FHPickListComponent, FHRichText, FHRoleManager, FHTableManager, FHTextInput, 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, 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, FHValueAccessor as ɵf, FHHelpButton as ɵg, SafePipe as ɵh, DecimalMask 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 };
|
|
16040
16250
|
//# sourceMappingURL=fluxhub-fluxhub-lib.js.map
|