@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
|
@@ -7287,6 +7287,115 @@ var FHDatePickerComponent = /** @class */ (function (_super) {
|
|
|
7287
7287
|
return FHDatePickerComponent;
|
|
7288
7288
|
}(FHValueAccessor));
|
|
7289
7289
|
|
|
7290
|
+
var FHTextInput = /** @class */ (function (_super) {
|
|
7291
|
+
__extends(FHTextInput, _super);
|
|
7292
|
+
function FHTextInput() {
|
|
7293
|
+
var _this = _super.call(this) || this;
|
|
7294
|
+
_this.hidden = false;
|
|
7295
|
+
_this.label = "";
|
|
7296
|
+
_this.enabled = true;
|
|
7297
|
+
_this.required = false;
|
|
7298
|
+
_this.change = new EventEmitter();
|
|
7299
|
+
_this.focusout = new EventEmitter();
|
|
7300
|
+
_this.focusin = new EventEmitter();
|
|
7301
|
+
_this.text_v = '';
|
|
7302
|
+
return _this;
|
|
7303
|
+
}
|
|
7304
|
+
FHTextInput_1 = FHTextInput;
|
|
7305
|
+
FHTextInput.prototype.onFi = function () {
|
|
7306
|
+
var _this = this;
|
|
7307
|
+
setTimeout(function () {
|
|
7308
|
+
_this.focusin.emit(_this.text_v);
|
|
7309
|
+
});
|
|
7310
|
+
};
|
|
7311
|
+
FHTextInput.prototype.onFu = function () {
|
|
7312
|
+
var _this = this;
|
|
7313
|
+
setTimeout(function () {
|
|
7314
|
+
_this.focusout.emit(_this.text_v);
|
|
7315
|
+
});
|
|
7316
|
+
};
|
|
7317
|
+
FHTextInput.prototype.modelch = function () {
|
|
7318
|
+
var _this = this;
|
|
7319
|
+
setTimeout(function () {
|
|
7320
|
+
_this.change.emit(_this.text_v);
|
|
7321
|
+
});
|
|
7322
|
+
};
|
|
7323
|
+
FHTextInput.prototype.ngAfterViewInit = function () { };
|
|
7324
|
+
FHTextInput.prototype.getValue = function () {
|
|
7325
|
+
return this.text_v;
|
|
7326
|
+
};
|
|
7327
|
+
FHTextInput.prototype.setValue = function (v) {
|
|
7328
|
+
this.text_v = v;
|
|
7329
|
+
};
|
|
7330
|
+
FHTextInput.prototype.getModelValue = function () {
|
|
7331
|
+
var value = this.text_v;
|
|
7332
|
+
return value;
|
|
7333
|
+
};
|
|
7334
|
+
FHTextInput.prototype.emitChanged = function () {
|
|
7335
|
+
var value = this.getModelValue();
|
|
7336
|
+
this.changed.forEach(function (f) { return f(value); });
|
|
7337
|
+
};
|
|
7338
|
+
Object.defineProperty(FHTextInput.prototype, "value", {
|
|
7339
|
+
get: function () {
|
|
7340
|
+
return this.getModelValue();
|
|
7341
|
+
},
|
|
7342
|
+
set: function (value) {
|
|
7343
|
+
if (this.getModelValue() !== value) {
|
|
7344
|
+
this.text_v = value;
|
|
7345
|
+
this.changed.forEach(function (f) { return f(value); });
|
|
7346
|
+
}
|
|
7347
|
+
},
|
|
7348
|
+
enumerable: true,
|
|
7349
|
+
configurable: true
|
|
7350
|
+
});
|
|
7351
|
+
FHTextInput.prototype.writeValue = function (value) {
|
|
7352
|
+
this.setValue(value);
|
|
7353
|
+
};
|
|
7354
|
+
var FHTextInput_1;
|
|
7355
|
+
__decorate([
|
|
7356
|
+
Input(),
|
|
7357
|
+
__metadata("design:type", Boolean)
|
|
7358
|
+
], FHTextInput.prototype, "hidden", void 0);
|
|
7359
|
+
__decorate([
|
|
7360
|
+
Input(),
|
|
7361
|
+
__metadata("design:type", String)
|
|
7362
|
+
], FHTextInput.prototype, "label", void 0);
|
|
7363
|
+
__decorate([
|
|
7364
|
+
Input(),
|
|
7365
|
+
__metadata("design:type", Boolean)
|
|
7366
|
+
], FHTextInput.prototype, "enabled", void 0);
|
|
7367
|
+
__decorate([
|
|
7368
|
+
Input(),
|
|
7369
|
+
__metadata("design:type", Boolean)
|
|
7370
|
+
], FHTextInput.prototype, "required", void 0);
|
|
7371
|
+
__decorate([
|
|
7372
|
+
Output(),
|
|
7373
|
+
__metadata("design:type", EventEmitter)
|
|
7374
|
+
], FHTextInput.prototype, "change", void 0);
|
|
7375
|
+
__decorate([
|
|
7376
|
+
Output(),
|
|
7377
|
+
__metadata("design:type", EventEmitter)
|
|
7378
|
+
], FHTextInput.prototype, "focusout", void 0);
|
|
7379
|
+
__decorate([
|
|
7380
|
+
Output(),
|
|
7381
|
+
__metadata("design:type", EventEmitter)
|
|
7382
|
+
], FHTextInput.prototype, "focusin", void 0);
|
|
7383
|
+
FHTextInput = FHTextInput_1 = __decorate([
|
|
7384
|
+
Component({
|
|
7385
|
+
selector: 'FHTextInput',
|
|
7386
|
+
template: "\n <mat-form-field [hidden]=\"hidden\" appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}}</mat-label>\n <input matInput type=\"text\" [(ngModel)]=\"text_v\" [disabled]=\"!enabled\" [required]=\"required\" (focusout)=\"onFu()\" (focusin)=\"onFi()\" (ngModelChange)=\"modelch()\">\n </mat-form-field>\n ",
|
|
7387
|
+
providers: [{
|
|
7388
|
+
provide: NG_VALUE_ACCESSOR,
|
|
7389
|
+
useExisting: FHTextInput_1,
|
|
7390
|
+
multi: true
|
|
7391
|
+
},],
|
|
7392
|
+
styles: ["\n\n "]
|
|
7393
|
+
}),
|
|
7394
|
+
__metadata("design:paramtypes", [])
|
|
7395
|
+
], FHTextInput);
|
|
7396
|
+
return FHTextInput;
|
|
7397
|
+
}(FHValueAccessor));
|
|
7398
|
+
|
|
7290
7399
|
var ApprovaGridComponent = /** @class */ (function () {
|
|
7291
7400
|
function ApprovaGridComponent() {
|
|
7292
7401
|
this.val_app = -1;
|
|
@@ -14063,6 +14172,116 @@ var FHHelpButton = /** @class */ (function () {
|
|
|
14063
14172
|
return FHHelpButton;
|
|
14064
14173
|
}());
|
|
14065
14174
|
|
|
14175
|
+
var FHCheckBox = /** @class */ (function (_super) {
|
|
14176
|
+
__extends(FHCheckBox, _super);
|
|
14177
|
+
function FHCheckBox() {
|
|
14178
|
+
var _this = _super.call(this) || this;
|
|
14179
|
+
_this.hidden = false;
|
|
14180
|
+
_this.label = "";
|
|
14181
|
+
_this.enabled = true;
|
|
14182
|
+
_this.required = false;
|
|
14183
|
+
_this.change = new EventEmitter();
|
|
14184
|
+
_this.click = new EventEmitter();
|
|
14185
|
+
_this.value_b = false;
|
|
14186
|
+
return _this;
|
|
14187
|
+
}
|
|
14188
|
+
FHCheckBox_1 = FHCheckBox;
|
|
14189
|
+
FHCheckBox.prototype.onCl = function () {
|
|
14190
|
+
var _this = this;
|
|
14191
|
+
setTimeout(function () {
|
|
14192
|
+
_this.click.emit(_this.value_b);
|
|
14193
|
+
});
|
|
14194
|
+
};
|
|
14195
|
+
FHCheckBox.prototype.modelch = function () {
|
|
14196
|
+
var _this = this;
|
|
14197
|
+
setTimeout(function () {
|
|
14198
|
+
_this.change.emit(_this.value_b);
|
|
14199
|
+
});
|
|
14200
|
+
};
|
|
14201
|
+
FHCheckBox.prototype.ngAfterViewInit = function () { };
|
|
14202
|
+
FHCheckBox.prototype.getModelValue = function () {
|
|
14203
|
+
if (this.value_b)
|
|
14204
|
+
return 1;
|
|
14205
|
+
else
|
|
14206
|
+
return 0;
|
|
14207
|
+
};
|
|
14208
|
+
FHCheckBox.prototype.getValue = function () {
|
|
14209
|
+
return this.getModelValue();
|
|
14210
|
+
};
|
|
14211
|
+
FHCheckBox.prototype.setValue = function (value) {
|
|
14212
|
+
if (this.getModelValue() !== value) {
|
|
14213
|
+
if (value != null)
|
|
14214
|
+
if (value == 1)
|
|
14215
|
+
this.value_b = true;
|
|
14216
|
+
else
|
|
14217
|
+
this.value_b = false;
|
|
14218
|
+
}
|
|
14219
|
+
};
|
|
14220
|
+
FHCheckBox.prototype.emitChanged = function () {
|
|
14221
|
+
var value = this.getModelValue();
|
|
14222
|
+
this.changed.forEach(function (f) { return f(value); });
|
|
14223
|
+
};
|
|
14224
|
+
Object.defineProperty(FHCheckBox.prototype, "value", {
|
|
14225
|
+
get: function () {
|
|
14226
|
+
return this.getModelValue();
|
|
14227
|
+
},
|
|
14228
|
+
set: function (value) {
|
|
14229
|
+
if (this.getModelValue() !== value) {
|
|
14230
|
+
if (value != null)
|
|
14231
|
+
if (value == 1)
|
|
14232
|
+
this.value_b = true;
|
|
14233
|
+
else
|
|
14234
|
+
this.value_b = false;
|
|
14235
|
+
this.changed.forEach(function (f) { return f(value); });
|
|
14236
|
+
}
|
|
14237
|
+
},
|
|
14238
|
+
enumerable: true,
|
|
14239
|
+
configurable: true
|
|
14240
|
+
});
|
|
14241
|
+
FHCheckBox.prototype.writeValue = function (value) {
|
|
14242
|
+
this.setValue(value);
|
|
14243
|
+
};
|
|
14244
|
+
var FHCheckBox_1;
|
|
14245
|
+
__decorate([
|
|
14246
|
+
Input(),
|
|
14247
|
+
__metadata("design:type", Boolean)
|
|
14248
|
+
], FHCheckBox.prototype, "hidden", void 0);
|
|
14249
|
+
__decorate([
|
|
14250
|
+
Input(),
|
|
14251
|
+
__metadata("design:type", String)
|
|
14252
|
+
], FHCheckBox.prototype, "label", void 0);
|
|
14253
|
+
__decorate([
|
|
14254
|
+
Input(),
|
|
14255
|
+
__metadata("design:type", Boolean)
|
|
14256
|
+
], FHCheckBox.prototype, "enabled", void 0);
|
|
14257
|
+
__decorate([
|
|
14258
|
+
Input(),
|
|
14259
|
+
__metadata("design:type", Boolean)
|
|
14260
|
+
], FHCheckBox.prototype, "required", void 0);
|
|
14261
|
+
__decorate([
|
|
14262
|
+
Output(),
|
|
14263
|
+
__metadata("design:type", EventEmitter)
|
|
14264
|
+
], FHCheckBox.prototype, "change", void 0);
|
|
14265
|
+
__decorate([
|
|
14266
|
+
Output(),
|
|
14267
|
+
__metadata("design:type", EventEmitter)
|
|
14268
|
+
], FHCheckBox.prototype, "click", void 0);
|
|
14269
|
+
FHCheckBox = FHCheckBox_1 = __decorate([
|
|
14270
|
+
Component({
|
|
14271
|
+
selector: 'FHCheckBox',
|
|
14272
|
+
template: "\n\n <mat-checkbox [(ngModel)]=\"value_b\" (click)=\"onCl()\" [disabled]=\"!enabled\" [required]=\"required\" (ngModelChange)=\"modelch()\">{{label}}\n </mat-checkbox>\n ",
|
|
14273
|
+
providers: [{
|
|
14274
|
+
provide: NG_VALUE_ACCESSOR,
|
|
14275
|
+
useExisting: FHCheckBox_1,
|
|
14276
|
+
multi: true
|
|
14277
|
+
},],
|
|
14278
|
+
styles: ["\n\n "]
|
|
14279
|
+
}),
|
|
14280
|
+
__metadata("design:paramtypes", [])
|
|
14281
|
+
], FHCheckBox);
|
|
14282
|
+
return FHCheckBox;
|
|
14283
|
+
}(FHValueAccessor));
|
|
14284
|
+
|
|
14066
14285
|
var FluxhubLibModule = /** @class */ (function () {
|
|
14067
14286
|
function FluxhubLibModule() {
|
|
14068
14287
|
}
|
|
@@ -14118,13 +14337,13 @@ var FluxhubLibModule = /** @class */ (function () {
|
|
|
14118
14337
|
apiKey: 'AIzaSyD3-g3b_QqxUruxBY4PGJKaH2fubIVXvN4'
|
|
14119
14338
|
}),
|
|
14120
14339
|
FlexLayoutModule, MarkdownModule, CKEditorModule],
|
|
14121
|
-
exports: [FHHelpButton, win_user_info, win_insert_commento, FHRoleManager, FHFieldPickListComponent, SafePipe, fhimagepreview, win_show_image, WinAskButtonsComponent, win_time_slider, DecimalMask, FHTimePickerComponent, CurrencyComponent, FHUploadPanelComponent, FHUploadComponent,
|
|
14340
|
+
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,
|
|
14122
14341
|
FHGridComponent, FHComboboxComponent, FHConfirmComponent, FHAutoCompleteComponent, FHDatePickerComponent, NumericEditorComponent,
|
|
14123
14342
|
FHUserPickerComponent, ApprovaGridComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, win_mappa, win_grid_help, TextAreaEditor,
|
|
14124
14343
|
ComboBoxEditor, FHListComponent, FHWinComboSelect, ReplaceLineBreaks, WinAskTextComponent, FHPickListComponent, WinAskNumberComponent,
|
|
14125
14344
|
FHMdReader, FHLogPanelComponent, WinAskTextBigComponent, FHCurrencyFieldComponent, FHRichText, WinOutputComponent, FHNumericFieldComponent, wkf_header_bar,
|
|
14126
14345
|
FHListPick, WinWait, FHUserFieldComponent, FHGridJSONComponent, win_salva_annulla, FormBuilderComponent, FormExecuterComponent, FHTableManager],
|
|
14127
|
-
declarations: [FHHelpButton, win_user_info, win_insert_commento, FHRoleManager, FHFieldPickListComponent, SafePipe, FHViewerComponent,
|
|
14346
|
+
declarations: [FHCheckBox, FHTextInput, FHHelpButton, win_user_info, win_insert_commento, FHRoleManager, FHFieldPickListComponent, SafePipe, FHViewerComponent,
|
|
14128
14347
|
fhimagepreview, win_show_image, WinAskButtonsComponent, FHGridToolBarComponent, win_time_slider, DecimalMask, FHTimePickerComponent, CurrencyComponent, FHUploadPanelComponent, FHUploadComponent, wkf_header_bar,
|
|
14129
14348
|
FHGridComponent, FHComboboxComponent, FHConfirmComponent, FHAutoCompleteComponent, FHDatePickerComponent, NumericEditorComponent,
|
|
14130
14349
|
FHUserPickerComponent, ApprovaGridComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, win_mappa, win_grid_help, TextAreaEditor,
|
|
@@ -14328,5 +14547,5 @@ var FSResult = /** @class */ (function () {
|
|
|
14328
14547
|
* Generated bundle index. Do not edit.
|
|
14329
14548
|
*/
|
|
14330
14549
|
|
|
14331
|
-
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,
|
|
14550
|
+
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 };
|
|
14332
14551
|
//# sourceMappingURL=fluxhub-fluxhub-lib.js.map
|