@fluxhub/fluxhub-lib 9.0.60 → 9.0.62
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 +22 -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/esm2015/lib/controls/fhtextinput.js +7 -2
- package/esm2015/lib/services/utility.service.js +9 -1
- package/esm5/lib/controls/fhtextinput.js +7 -2
- package/esm5/lib/services/utility.service.js +9 -1
- package/fesm2015/fluxhub-fluxhub-lib.js +21 -9
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +22 -10
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhtextinput.d.ts +1 -0
- package/lib/services/utility.service.d.ts +2 -0
- package/package.json +1 -1
|
@@ -161,6 +161,15 @@ var AppService = /** @class */ (function () {
|
|
|
161
161
|
return AppService;
|
|
162
162
|
}());
|
|
163
163
|
|
|
164
|
+
var QParam = /** @class */ (function () {
|
|
165
|
+
function QParam() {
|
|
166
|
+
this.values = new Array();
|
|
167
|
+
this.types = new Array();
|
|
168
|
+
this.names = new Array();
|
|
169
|
+
}
|
|
170
|
+
return QParam;
|
|
171
|
+
}());
|
|
172
|
+
|
|
164
173
|
var UtilityService = /** @class */ (function () {
|
|
165
174
|
function UtilityService(app_s) {
|
|
166
175
|
this.app_s = app_s;
|
|
@@ -531,6 +540,13 @@ var UtilityService = /** @class */ (function () {
|
|
|
531
540
|
console.log(p.types[i] + " " + String(p.values[i]));
|
|
532
541
|
}
|
|
533
542
|
};
|
|
543
|
+
UtilityService.prototype.insert_log = function (dt, app, k, descri, operazione) {
|
|
544
|
+
var p = new QParam();
|
|
545
|
+
p.sql = "INSERT_LOG_N";
|
|
546
|
+
p.types = ['string', 'string', 'string', 'string'];
|
|
547
|
+
p.values = [app, k, descri, operazione];
|
|
548
|
+
dt.doQuery(p).subscribe();
|
|
549
|
+
};
|
|
534
550
|
UtilityService.prototype.sql_date_time = function (dt) {
|
|
535
551
|
if (dt == null)
|
|
536
552
|
return 'dbnull';
|
|
@@ -876,15 +892,6 @@ var FHConfirmComponent = /** @class */ (function () {
|
|
|
876
892
|
return FHConfirmComponent;
|
|
877
893
|
}());
|
|
878
894
|
|
|
879
|
-
var QParam = /** @class */ (function () {
|
|
880
|
-
function QParam() {
|
|
881
|
-
this.values = new Array();
|
|
882
|
-
this.types = new Array();
|
|
883
|
-
this.names = new Array();
|
|
884
|
-
}
|
|
885
|
-
return QParam;
|
|
886
|
-
}());
|
|
887
|
-
|
|
888
895
|
var FHListComponent = /** @class */ (function () {
|
|
889
896
|
function FHListComponent(_dataService) {
|
|
890
897
|
this._dataService = _dataService;
|
|
@@ -7515,6 +7522,7 @@ var FHTextInput = /** @class */ (function () {
|
|
|
7515
7522
|
this.label = "";
|
|
7516
7523
|
this.enabled = true;
|
|
7517
7524
|
this.required = false;
|
|
7525
|
+
this.email = false;
|
|
7518
7526
|
this.change = new EventEmitter();
|
|
7519
7527
|
this.focusout = new EventEmitter();
|
|
7520
7528
|
this.focusin = new EventEmitter();
|
|
@@ -7567,6 +7575,10 @@ var FHTextInput = /** @class */ (function () {
|
|
|
7567
7575
|
Input(),
|
|
7568
7576
|
__metadata("design:type", Boolean)
|
|
7569
7577
|
], FHTextInput.prototype, "required", void 0);
|
|
7578
|
+
__decorate([
|
|
7579
|
+
Input(),
|
|
7580
|
+
__metadata("design:type", Boolean)
|
|
7581
|
+
], FHTextInput.prototype, "email", void 0);
|
|
7570
7582
|
__decorate([
|
|
7571
7583
|
Output(),
|
|
7572
7584
|
__metadata("design:type", EventEmitter)
|
|
@@ -7583,7 +7595,7 @@ var FHTextInput = /** @class */ (function () {
|
|
|
7583
7595
|
Component({
|
|
7584
7596
|
selector: 'FHTextInput',
|
|
7585
7597
|
providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$6],
|
|
7586
|
-
template: "\n <mat-form-field [hidden]=\"hidden\" appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}}</mat-label>\n <input matInput
|
|
7598
|
+
template: "\n <mat-form-field [hidden]=\"hidden\" appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}}</mat-label>\n <input matInput [email]=\"email\" type=\"text\" [(ngModel)]=\"text_v\" [disabled]=\"!enabled\" [required]=\"required\" (focusout)=\"onFu()\" (focusin)=\"onFi()\" (ngModelChange)=\"modelch()\">\n </mat-form-field>\n ",
|
|
7587
7599
|
styles: ["\n\n "]
|
|
7588
7600
|
}),
|
|
7589
7601
|
__metadata("design:paramtypes", [])
|