@fluxhub/fluxhub-lib 9.0.54 → 9.0.56
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 +186 -85
- 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 +37 -36
- package/esm2015/lib/controls/fhtextarea.js +104 -0
- package/esm2015/lib/fluxhub-lib.module.js +4 -3
- package/esm2015/lib/services/utility.service.js +8 -8
- package/esm2015/public_api.js +2 -1
- package/esm5/fluxhub-fluxhub-lib.js +37 -36
- package/esm5/lib/controls/fhtextarea.js +102 -0
- package/esm5/lib/fluxhub-lib.module.js +4 -3
- package/esm5/lib/services/utility.service.js +10 -8
- package/esm5/public_api.js +2 -1
- package/fesm2015/fluxhub-fluxhub-lib.js +147 -48
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +147 -48
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.d.ts +37 -36
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhtextarea.d.ts +24 -0
- package/lib/services/utility.service.d.ts +1 -1
- package/package.json +1 -1
- package/public_api.d.ts +1 -0
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { __decorate, __metadata, __read, __param, __extends, __assign } from 'tslib';
|
|
2
|
-
import {
|
|
2
|
+
import { forwardRef, EventEmitter, Input, Output, Component, ViewChild, ViewContainerRef, ɵɵdefineInjectable, Injectable, ɵɵinject, Directive, Inject, ElementRef, HostListener, Pipe, PLATFORM_ID, Optional, NgModule } from '@angular/core';
|
|
3
|
+
import { NG_VALUE_ACCESSOR, NgControl, FormsModule } from '@angular/forms';
|
|
3
4
|
import { HttpHeaders, HttpClient } from '@angular/common/http';
|
|
4
5
|
import { ToastrService } from 'ngx-toastr';
|
|
5
6
|
import { map, catchError, flatMap } from 'rxjs/operators';
|
|
@@ -7,7 +8,6 @@ import { Observable } from 'rxjs';
|
|
|
7
8
|
import { SimpleCrypt } from 'ngx-simple-crypt';
|
|
8
9
|
import { AES, enc } from 'crypto-js';
|
|
9
10
|
import { MatDialogRef, MatDialog, MAT_DIALOG_DATA, MatDialogModule } from '@angular/material/dialog';
|
|
10
|
-
import { NgControl, NG_VALUE_ACCESSOR, FormsModule } from '@angular/forms';
|
|
11
11
|
import { FileUploader, FileUploadModule } from 'ng2-file-upload';
|
|
12
12
|
import { Router, ActivatedRoute } from '@angular/router';
|
|
13
13
|
import { SlimLoadingBarService } from 'ng2-slim-loading-bar';
|
|
@@ -70,6 +70,103 @@ import { MatSortModule } from '@angular/material/sort';
|
|
|
70
70
|
import { MatTableModule } from '@angular/material/table';
|
|
71
71
|
import { MatBadgeModule } from '@angular/material/badge';
|
|
72
72
|
|
|
73
|
+
var noop = function () {
|
|
74
|
+
};
|
|
75
|
+
var ɵ0 = noop;
|
|
76
|
+
var CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR = {
|
|
77
|
+
provide: NG_VALUE_ACCESSOR,
|
|
78
|
+
useExisting: forwardRef(function () { return FHTextArea; }),
|
|
79
|
+
multi: true
|
|
80
|
+
};
|
|
81
|
+
var FHTextArea = /** @class */ (function () {
|
|
82
|
+
function FHTextArea() {
|
|
83
|
+
this.hidden = false;
|
|
84
|
+
this.label = "";
|
|
85
|
+
this.enabled = true;
|
|
86
|
+
this.required = false;
|
|
87
|
+
this.rows = 3;
|
|
88
|
+
this.change = new EventEmitter();
|
|
89
|
+
this.focusout = new EventEmitter();
|
|
90
|
+
this.focusin = new EventEmitter();
|
|
91
|
+
this.text_v = '';
|
|
92
|
+
this.onChange = function (_) {
|
|
93
|
+
};
|
|
94
|
+
this.onTouched = function () {
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
FHTextArea.prototype.onFi = function () {
|
|
98
|
+
var _this = this;
|
|
99
|
+
setTimeout(function () {
|
|
100
|
+
_this.focusin.emit(_this.text_v);
|
|
101
|
+
});
|
|
102
|
+
};
|
|
103
|
+
FHTextArea.prototype.onFu = function () {
|
|
104
|
+
var _this = this;
|
|
105
|
+
setTimeout(function () {
|
|
106
|
+
_this.focusout.emit(_this.text_v);
|
|
107
|
+
});
|
|
108
|
+
};
|
|
109
|
+
FHTextArea.prototype.modelch = function () {
|
|
110
|
+
var _this = this;
|
|
111
|
+
setTimeout(function () {
|
|
112
|
+
_this.onChange(_this.text_v);
|
|
113
|
+
_this.change.emit(_this.text_v);
|
|
114
|
+
});
|
|
115
|
+
};
|
|
116
|
+
FHTextArea.prototype.ngAfterViewInit = function () { };
|
|
117
|
+
FHTextArea.prototype.writeValue = function (value) {
|
|
118
|
+
this.text_v = value;
|
|
119
|
+
};
|
|
120
|
+
FHTextArea.prototype.registerOnChange = function (fn) {
|
|
121
|
+
this.onChange = fn;
|
|
122
|
+
};
|
|
123
|
+
FHTextArea.prototype.registerOnTouched = function (fn) {
|
|
124
|
+
this.onTouched = fn;
|
|
125
|
+
};
|
|
126
|
+
__decorate([
|
|
127
|
+
Input(),
|
|
128
|
+
__metadata("design:type", Boolean)
|
|
129
|
+
], FHTextArea.prototype, "hidden", void 0);
|
|
130
|
+
__decorate([
|
|
131
|
+
Input(),
|
|
132
|
+
__metadata("design:type", String)
|
|
133
|
+
], FHTextArea.prototype, "label", void 0);
|
|
134
|
+
__decorate([
|
|
135
|
+
Input(),
|
|
136
|
+
__metadata("design:type", Boolean)
|
|
137
|
+
], FHTextArea.prototype, "enabled", void 0);
|
|
138
|
+
__decorate([
|
|
139
|
+
Input(),
|
|
140
|
+
__metadata("design:type", Boolean)
|
|
141
|
+
], FHTextArea.prototype, "required", void 0);
|
|
142
|
+
__decorate([
|
|
143
|
+
Input(),
|
|
144
|
+
__metadata("design:type", Number)
|
|
145
|
+
], FHTextArea.prototype, "rows", void 0);
|
|
146
|
+
__decorate([
|
|
147
|
+
Output(),
|
|
148
|
+
__metadata("design:type", EventEmitter)
|
|
149
|
+
], FHTextArea.prototype, "change", void 0);
|
|
150
|
+
__decorate([
|
|
151
|
+
Output(),
|
|
152
|
+
__metadata("design:type", EventEmitter)
|
|
153
|
+
], FHTextArea.prototype, "focusout", void 0);
|
|
154
|
+
__decorate([
|
|
155
|
+
Output(),
|
|
156
|
+
__metadata("design:type", EventEmitter)
|
|
157
|
+
], FHTextArea.prototype, "focusin", void 0);
|
|
158
|
+
FHTextArea = __decorate([
|
|
159
|
+
Component({
|
|
160
|
+
selector: 'FHTextArea',
|
|
161
|
+
providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR],
|
|
162
|
+
template: "\n <mat-form-field [hidden]=\"hidden\" appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}}</mat-label>\n <textarea matInput [rows]=\"rows\" type=\"text\" [(ngModel)]=\"text_v\" [readonly]=\"!enabled\" [required]=\"required\" (focusout)=\"onFu()\" (focusin)=\"onFi()\" (ngModelChange)=\"modelch()\"></textarea>\n </mat-form-field>\n ",
|
|
163
|
+
styles: ["\n\n "]
|
|
164
|
+
}),
|
|
165
|
+
__metadata("design:paramtypes", [])
|
|
166
|
+
], FHTextArea);
|
|
167
|
+
return FHTextArea;
|
|
168
|
+
}());
|
|
169
|
+
|
|
73
170
|
var CheckboxEditorComponent = /** @class */ (function () {
|
|
74
171
|
function CheckboxEditorComponent() {
|
|
75
172
|
}
|
|
@@ -698,11 +795,13 @@ var UtilityService = /** @class */ (function () {
|
|
|
698
795
|
integer = integer.replace(/\B(?=(\d{3})+(?!\d))/g, '.');
|
|
699
796
|
return integer + fraction;
|
|
700
797
|
};
|
|
701
|
-
UtilityService.prototype.
|
|
702
|
-
if (
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
798
|
+
UtilityService.prototype.left_pad = function (n, size, charc) {
|
|
799
|
+
if (size === void 0) { size = 2; }
|
|
800
|
+
if (charc === void 0) { charc = '0'; }
|
|
801
|
+
var s = n + '';
|
|
802
|
+
while (s.length < size)
|
|
803
|
+
s = charc + s;
|
|
804
|
+
return s;
|
|
706
805
|
};
|
|
707
806
|
UtilityService.prototype.datetime2GanttString = function (dt) {
|
|
708
807
|
var mm = dt.getMonth() + 1; // getMonth() is zero-based
|
|
@@ -782,7 +881,7 @@ var UtilityService = /** @class */ (function () {
|
|
|
782
881
|
: '0') + mm,
|
|
783
882
|
'-',
|
|
784
883
|
dt.getFullYear()
|
|
785
|
-
].join('') + " " + this.
|
|
884
|
+
].join('') + " " + this.left_pad(dt.getHours()) + ":" + this.left_pad(dt.getMinutes()) + ":" + this.left_pad(dt.getSeconds());
|
|
786
885
|
if (this.app_s.SQL_SERVER_LANG == 'uk')
|
|
787
886
|
return [
|
|
788
887
|
dt.getFullYear(),
|
|
@@ -794,7 +893,7 @@ var UtilityService = /** @class */ (function () {
|
|
|
794
893
|
(dd > 9
|
|
795
894
|
? ''
|
|
796
895
|
: '0') + dd
|
|
797
|
-
].join('') + " " + this.
|
|
896
|
+
].join('') + " " + this.left_pad(dt.getHours()) + ":" + this.left_pad(dt.getMinutes()) + ":" + this.left_pad(dt.getSeconds());
|
|
798
897
|
return "Parametro SQL_SERVER_LANG non corretto";
|
|
799
898
|
};
|
|
800
899
|
UtilityService.prototype.descriMese = function (date) {
|
|
@@ -1259,10 +1358,10 @@ var QueryService = /** @class */ (function () {
|
|
|
1259
1358
|
return QueryService;
|
|
1260
1359
|
}());
|
|
1261
1360
|
|
|
1262
|
-
var noop = function () {
|
|
1361
|
+
var noop$1 = function () {
|
|
1263
1362
|
};
|
|
1264
|
-
var ɵ0 = noop;
|
|
1265
|
-
var CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR = {
|
|
1363
|
+
var ɵ0$1 = noop$1;
|
|
1364
|
+
var CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$1 = {
|
|
1266
1365
|
provide: NG_VALUE_ACCESSOR,
|
|
1267
1366
|
useExisting: forwardRef(function () { return FHTimePickerComponent; }),
|
|
1268
1367
|
multi: true
|
|
@@ -1480,7 +1579,7 @@ var FHTimePickerComponent = /** @class */ (function () {
|
|
|
1480
1579
|
FHTimePickerComponent = __decorate([
|
|
1481
1580
|
Component({
|
|
1482
1581
|
selector: 'FHTimePicker',
|
|
1483
|
-
providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR],
|
|
1582
|
+
providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$1],
|
|
1484
1583
|
template: "\n <div fxLayout=\"row\" fxLayoutAlign=\"center center\"><b>{{label}}</b> \n <div fxLayout=\"column\" fxLayoutAlign=\"center center\">\n <div *ngIf=\"enabled\" class=\"yourClass\">\n <mat-icon (click)=\"uph()\">keyboard_arrow_up</mat-icon>\n </div>\n\n <input\n style=\"width:40px;text-align:center;\" (keydown)=\"onKeyDown($event)\" (focusout)=\"onFu()\" [disabled]=\"!enabled\"\n [(ngModel)]=\"h\">\n <div class=\"yourClass\" *ngIf=\"enabled\">\n <mat-icon class=\"yourClass\" (click)=\"doh()\">keyboard_arrow_down</mat-icon>\n </div>\n </div>\n\n <b style=\"font-size:28px\">:</b> \n\n <div fxLayout=\"column\" fxLayoutAlign=\"center center\">\n <div class=\"yourClass\" *ngIf=\"enabled\">\n <mat-icon class=\"yourClass\" (click)=\"upm()\">keyboard_arrow_up</mat-icon>\n </div>\n\n <input\n style=\"width:40px;text-align:center;\" (keydown)=\"onKeyDown1($event)\" (focusout)=\"onMi()\" [disabled]=\"!enabled\"\n [(ngModel)]=\"m\">\n <div class=\"yourClass\" *ngIf=\"enabled\">\n <mat-icon class=\"yourClass\" (click)=\"dom()\">keyboard_arrow_down</mat-icon>\n </div>\n </div>\n </div>\n ",
|
|
1485
1584
|
styles: ["\n .hhh {\n height: 63px;\n width: 100px;\n background-color: rgba(255, 0, 0, .1);\n }\n\n .yourClass {\n cursor: pointer;\n user-select: none;\n }\n "]
|
|
1486
1585
|
}),
|
|
@@ -1887,10 +1986,10 @@ var WinWait = /** @class */ (function () {
|
|
|
1887
1986
|
return WinWait;
|
|
1888
1987
|
}());
|
|
1889
1988
|
|
|
1890
|
-
var noop$
|
|
1989
|
+
var noop$2 = function () {
|
|
1891
1990
|
};
|
|
1892
|
-
var ɵ0$
|
|
1893
|
-
var CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$
|
|
1991
|
+
var ɵ0$2 = noop$2;
|
|
1992
|
+
var CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$2 = {
|
|
1894
1993
|
provide: NG_VALUE_ACCESSOR,
|
|
1895
1994
|
useExisting: forwardRef(function () { return FHComboboxComponent; }),
|
|
1896
1995
|
multi: true
|
|
@@ -2256,7 +2355,7 @@ var FHComboboxComponent = /** @class */ (function () {
|
|
|
2256
2355
|
FHComboboxComponent = __decorate([
|
|
2257
2356
|
Component({
|
|
2258
2357
|
selector: 'FHComboBox',
|
|
2259
|
-
providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$
|
|
2358
|
+
providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$2],
|
|
2260
2359
|
template: "\n <mat-form-field [hidden]=\"!enabled || hidden\" appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}}</mat-label>\n <mat-select #cmb [(ngModel)]=\"selval\" (selectionChange)=\"sc()\" [required]=\"required\">\n <mat-option value=\"-1\">{{sel_label}}</mat-option>\n <mat-option value=\"{{app.valore}}\" *ngFor=\"let app of myData\">{{app.descrizione_valore}}</mat-option>\n </mat-select>\n </mat-form-field>\n\n <mat-form-field [hidden]=\"enabled || hidden\" appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}}</mat-label>\n <input type=\"text\" #el1 matInput [disabled]=\"true\" [(ngModel)]=\"dis_value\">\n </mat-form-field>\n ",
|
|
2261
2360
|
styles: ["\n\n "]
|
|
2262
2361
|
}),
|
|
@@ -3821,7 +3920,7 @@ var win_riassegna_select_user = /** @class */ (function () {
|
|
|
3821
3920
|
return win_riassegna_select_user;
|
|
3822
3921
|
}());
|
|
3823
3922
|
|
|
3824
|
-
var CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$
|
|
3923
|
+
var CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$3 = {
|
|
3825
3924
|
provide: NG_VALUE_ACCESSOR,
|
|
3826
3925
|
useExisting: forwardRef(function () { return FHUserFieldComponent; }),
|
|
3827
3926
|
multi: true
|
|
@@ -4070,7 +4169,7 @@ var FHUserFieldComponent = /** @class */ (function () {
|
|
|
4070
4169
|
], FHUserFieldComponent.prototype, "userName", void 0);
|
|
4071
4170
|
FHUserFieldComponent = __decorate([
|
|
4072
4171
|
Component({
|
|
4073
|
-
selector: 'FHUserField', providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$
|
|
4172
|
+
selector: 'FHUserField', providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$3],
|
|
4074
4173
|
template: "\n <div fxLayout=\"row\" [hidden]=\"!enabled || hidden\">\n <mat-form-field style=\"clickable-field\" (click)=\"open_pick()\" appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}}</mat-label>\n\n <input matInput\n [hidden]=\"hidden\"\n\n type=\"text\"\n [ngModel]=\"userName\"\n [disabled]=\"false\" readonly>\n\n </mat-form-field>\n <button mat-icon-button matSuffix\n [hidden]=\"selectedUser.length==0\"\n (click)=\"clear()\">\n <mat-icon>clear</mat-icon>\n </button>\n </div>\n <mat-form-field [hidden]=\"enabled || hidden\" appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}}</mat-label>\n <input type=\"text\" #el1 matInput [disabled]=\"true\" [(ngModel)]=\"userName\"\n >\n </mat-form-field>\n ",
|
|
4075
4174
|
styles: ["\n .clickable-field {\n border: 1px solid #000000;\n color: #000000;\n }\n\n .clickable-field:focus {\n outline: none;\n }\n\n :host ::ng-deep .mat-input-element {\n cursor: pointer !important;\n }\n "]
|
|
4076
4175
|
}),
|
|
@@ -6557,10 +6656,10 @@ var FHGridComponent = /** @class */ (function () {
|
|
|
6557
6656
|
return FHGridComponent;
|
|
6558
6657
|
}());
|
|
6559
6658
|
|
|
6560
|
-
var noop$
|
|
6659
|
+
var noop$3 = function () {
|
|
6561
6660
|
};
|
|
6562
|
-
var ɵ0$
|
|
6563
|
-
var CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$
|
|
6661
|
+
var ɵ0$3 = noop$3;
|
|
6662
|
+
var CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$4 = {
|
|
6564
6663
|
provide: NG_VALUE_ACCESSOR,
|
|
6565
6664
|
useExisting: forwardRef(function () { return FHAutoCompleteComponent; }),
|
|
6566
6665
|
multi: true
|
|
@@ -6941,7 +7040,7 @@ var FHAutoCompleteComponent = /** @class */ (function () {
|
|
|
6941
7040
|
FHAutoCompleteComponent = __decorate([
|
|
6942
7041
|
Component({
|
|
6943
7042
|
selector: 'FHAutoComplete',
|
|
6944
|
-
providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$
|
|
7043
|
+
providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$4],
|
|
6945
7044
|
template: "\n <mat-form-field [hidden]=\"!enabled || hidden\" appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}}</mat-label>\n <input matInput\n [disabled]=\"!enabled || hidden\" [matAutocomplete]=\"auto\" [required]=\"required\"\n (keyup)=\"onChange_up($event)\" [(ngModel)]=\"sItem\" (focus)=\"fi_search()\" (focusout)=\"fo_search($event)\"\n #searchp>\n </mat-form-field>\n <mat-autocomplete #auto=\"matAutocomplete\" (optionSelected)=\"selectedSearchItem($event)\" autoActiveFirstOption >\n <mat-option *ngFor=\"let objx of searchItemsFiltered\" [value]=\"objx.descrizione_valore\">\n {{ objx.descrizione_valore }}\n </mat-option>\n </mat-autocomplete>\n\n\n <div class=\"ui negative message\" *ngIf=\"errorMsg != ''\">\n <i class=\"close icon\"></i>\n <div class=\"header\">\n {{errorMsg}}\n </div>\n </div>\n <mat-form-field [hidden]=\"enabled || hidden\" appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}}</mat-label>\n <input type=\"text\" #el1 matInput [disabled]=\"true\" [(ngModel)]=\"sItem\"\n >\n </mat-form-field>\n ",
|
|
6946
7045
|
styles: ["\n\n "]
|
|
6947
7046
|
}),
|
|
@@ -7125,10 +7224,10 @@ var MomentDateAdapter = /** @class */ (function (_super) {
|
|
|
7125
7224
|
return MomentDateAdapter;
|
|
7126
7225
|
}(DateAdapter));
|
|
7127
7226
|
|
|
7128
|
-
var noop$
|
|
7227
|
+
var noop$4 = function () {
|
|
7129
7228
|
};
|
|
7130
|
-
var ɵ0$
|
|
7131
|
-
var CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$
|
|
7229
|
+
var ɵ0$4 = noop$4;
|
|
7230
|
+
var CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$5 = {
|
|
7132
7231
|
provide: NG_VALUE_ACCESSOR,
|
|
7133
7232
|
useExisting: forwardRef(function () { return FHDatePickerComponent; }),
|
|
7134
7233
|
multi: true
|
|
@@ -7326,7 +7425,7 @@ var FHDatePickerComponent = /** @class */ (function () {
|
|
|
7326
7425
|
FHDatePickerComponent = __decorate([
|
|
7327
7426
|
Component({
|
|
7328
7427
|
selector: 'FHDatePicker',
|
|
7329
|
-
providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$
|
|
7428
|
+
providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$5,
|
|
7330
7429
|
{ provide: MAT_DATE_FORMATS, useValue: ɵ1 },
|
|
7331
7430
|
{ provide: DateAdapter, useClass: MomentDateAdapter },
|
|
7332
7431
|
{ provide: MAT_DATE_LOCALE, useValue: 'it-IT' },
|
|
@@ -7339,10 +7438,10 @@ var FHDatePickerComponent = /** @class */ (function () {
|
|
|
7339
7438
|
return FHDatePickerComponent;
|
|
7340
7439
|
}());
|
|
7341
7440
|
|
|
7342
|
-
var noop$
|
|
7441
|
+
var noop$5 = function () {
|
|
7343
7442
|
};
|
|
7344
|
-
var ɵ0$
|
|
7345
|
-
var CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$
|
|
7443
|
+
var ɵ0$5 = noop$5;
|
|
7444
|
+
var CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$6 = {
|
|
7346
7445
|
provide: NG_VALUE_ACCESSOR,
|
|
7347
7446
|
useExisting: forwardRef(function () { return FHTextInput; }),
|
|
7348
7447
|
multi: true
|
|
@@ -7422,7 +7521,7 @@ var FHTextInput = /** @class */ (function () {
|
|
|
7422
7521
|
FHTextInput = __decorate([
|
|
7423
7522
|
Component({
|
|
7424
7523
|
selector: 'FHTextInput',
|
|
7425
|
-
providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$
|
|
7524
|
+
providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$6],
|
|
7426
7525
|
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 ",
|
|
7427
7526
|
styles: ["\n\n "]
|
|
7428
7527
|
}),
|
|
@@ -8180,10 +8279,10 @@ var FHLogPanelComponent = /** @class */ (function () {
|
|
|
8180
8279
|
return FHLogPanelComponent;
|
|
8181
8280
|
}());
|
|
8182
8281
|
|
|
8183
|
-
var noop$
|
|
8282
|
+
var noop$6 = function () {
|
|
8184
8283
|
};
|
|
8185
|
-
var ɵ0$
|
|
8186
|
-
var CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$
|
|
8284
|
+
var ɵ0$6 = noop$6;
|
|
8285
|
+
var CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$7 = {
|
|
8187
8286
|
provide: NG_VALUE_ACCESSOR,
|
|
8188
8287
|
useExisting: forwardRef(function () { return FHCurrencyFieldComponent; }),
|
|
8189
8288
|
multi: true
|
|
@@ -8344,7 +8443,7 @@ var FHCurrencyFieldComponent = /** @class */ (function () {
|
|
|
8344
8443
|
FHCurrencyFieldComponent = __decorate([
|
|
8345
8444
|
Component({
|
|
8346
8445
|
selector: 'FHCurrencyField',
|
|
8347
|
-
providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$
|
|
8446
|
+
providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$7],
|
|
8348
8447
|
template: "\n <mat-form-field [hidden]=\"!enabled || hidden\" appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}}</mat-label>\n <input type=\"text\" style=\"text-align:right\" #el matInput\n [disabled]=\"!enabled\" [(ngModel)]=\"formattedAmount\"\n (blur)=\"transformAmount($event)\" [style.color]=\"getStyle_color()\" (keydown)=\"kd($event)\"\n (focus)=\"removeCurrencyPipeFormat($event)\" (keyup)=\"chg()\"\n pattern=\"[-+]?[0-9]*[.,]?[0-9]+\">\n </mat-form-field>\n <mat-form-field [hidden]=\"enabled || hidden\" appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}}</mat-label>\n <input type=\"text\" style=\"text-align:right\" [style.color]=\"getStyle_color()\" #el1 matInput [disabled]=\"true\"\n [(ngModel)]=\"formattedAmount\"\n >\n </mat-form-field>\n ",
|
|
8349
8448
|
styles: ["\n\n "]
|
|
8350
8449
|
}),
|
|
@@ -8353,9 +8452,9 @@ var FHCurrencyFieldComponent = /** @class */ (function () {
|
|
|
8353
8452
|
return FHCurrencyFieldComponent;
|
|
8354
8453
|
}());
|
|
8355
8454
|
|
|
8356
|
-
var noop$
|
|
8455
|
+
var noop$7 = function () {
|
|
8357
8456
|
};
|
|
8358
|
-
var ɵ0$
|
|
8457
|
+
var ɵ0$7 = noop$7;
|
|
8359
8458
|
var CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_RT = {
|
|
8360
8459
|
provide: NG_VALUE_ACCESSOR,
|
|
8361
8460
|
useExisting: forwardRef(function () { return FHRichText; }),
|
|
@@ -8514,9 +8613,9 @@ var WinOutputComponent = /** @class */ (function () {
|
|
|
8514
8613
|
return WinOutputComponent;
|
|
8515
8614
|
}());
|
|
8516
8615
|
|
|
8517
|
-
var noop$
|
|
8616
|
+
var noop$8 = function () {
|
|
8518
8617
|
};
|
|
8519
|
-
var ɵ0$
|
|
8618
|
+
var ɵ0$8 = noop$8;
|
|
8520
8619
|
var CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_NUMERIC = {
|
|
8521
8620
|
provide: NG_VALUE_ACCESSOR,
|
|
8522
8621
|
useExisting: forwardRef(function () { return FHNumericFieldComponent; }),
|
|
@@ -13151,7 +13250,7 @@ var SafePipe = /** @class */ (function () {
|
|
|
13151
13250
|
return SafePipe;
|
|
13152
13251
|
}());
|
|
13153
13252
|
|
|
13154
|
-
var CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$
|
|
13253
|
+
var CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$8 = {
|
|
13155
13254
|
provide: NG_VALUE_ACCESSOR,
|
|
13156
13255
|
useExisting: forwardRef(function () { return FHFieldPickListComponent; }),
|
|
13157
13256
|
multi: true
|
|
@@ -13275,7 +13374,7 @@ var FHFieldPickListComponent = /** @class */ (function () {
|
|
|
13275
13374
|
], FHFieldPickListComponent.prototype, "value", void 0);
|
|
13276
13375
|
FHFieldPickListComponent = __decorate([
|
|
13277
13376
|
Component({
|
|
13278
|
-
providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$
|
|
13377
|
+
providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$8],
|
|
13279
13378
|
selector: 'FHFieldPickList', template: "\n<div fxLayout=\"row\" style=\"width: 100%\" fxLayoutAlign=\"start center\" [hidden]=\"hidden\"><div style=\"width: 100%\">\n <mat-form-field appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}}</mat-label>\n <input type=\"text\" #el1 matInput [readonly]=\"!enabled || only_in_list\" [(ngModel)]=\"value\">\n </mat-form-field></div> \n <div style=\"min-width: 160px\"> <button mat-flat-button color=\"primary\" (click)=\"open_pick_list()\" [disabled]=\"!enabled\">SELEZIONA</button></div>\n</div>\n ",
|
|
13280
13379
|
styles: ["\n\n "]
|
|
13281
13380
|
}),
|
|
@@ -14214,10 +14313,10 @@ var FHHelpButton = /** @class */ (function () {
|
|
|
14214
14313
|
return FHHelpButton;
|
|
14215
14314
|
}());
|
|
14216
14315
|
|
|
14217
|
-
var noop$
|
|
14316
|
+
var noop$9 = function () {
|
|
14218
14317
|
};
|
|
14219
|
-
var ɵ0$
|
|
14220
|
-
var CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$
|
|
14318
|
+
var ɵ0$9 = noop$9;
|
|
14319
|
+
var CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$9 = {
|
|
14221
14320
|
provide: NG_VALUE_ACCESSOR,
|
|
14222
14321
|
useExisting: forwardRef(function () { return FHCheckBox; }),
|
|
14223
14322
|
multi: true
|
|
@@ -14298,7 +14397,7 @@ var FHCheckBox = /** @class */ (function () {
|
|
|
14298
14397
|
FHCheckBox = __decorate([
|
|
14299
14398
|
Component({
|
|
14300
14399
|
selector: 'FHCheckBox',
|
|
14301
|
-
providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$
|
|
14400
|
+
providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$9],
|
|
14302
14401
|
template: "\n\n <mat-checkbox [(ngModel)]=\"value_b\" (click)=\"onCl()\" [disabled]=\"!enabled\" [required]=\"required\" (ngModelChange)=\"modelch()\">{{label}}\n </mat-checkbox>\n ",
|
|
14303
14402
|
styles: ["\n\n "]
|
|
14304
14403
|
}),
|
|
@@ -14362,13 +14461,13 @@ var FluxhubLibModule = /** @class */ (function () {
|
|
|
14362
14461
|
apiKey: 'AIzaSyD3-g3b_QqxUruxBY4PGJKaH2fubIVXvN4'
|
|
14363
14462
|
}),
|
|
14364
14463
|
FlexLayoutModule, MarkdownModule, CKEditorModule],
|
|
14365
|
-
exports: [CheckboxEditorComponent, 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,
|
|
14464
|
+
exports: [FHTextArea, CheckboxEditorComponent, 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,
|
|
14366
14465
|
FHGridComponent, FHComboboxComponent, FHConfirmComponent, FHAutoCompleteComponent, FHDatePickerComponent, NumericEditorComponent,
|
|
14367
14466
|
FHUserPickerComponent, ApprovaGridComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, win_mappa, win_grid_help, TextAreaEditor,
|
|
14368
14467
|
ComboBoxEditor, FHListComponent, FHWinComboSelect, ReplaceLineBreaks, WinAskTextComponent, FHPickListComponent, WinAskNumberComponent,
|
|
14369
14468
|
FHMdReader, FHLogPanelComponent, WinAskTextBigComponent, FHCurrencyFieldComponent, FHRichText, WinOutputComponent, FHNumericFieldComponent, wkf_header_bar,
|
|
14370
14469
|
FHListPick, WinWait, FHUserFieldComponent, FHGridJSONComponent, win_salva_annulla, FormBuilderComponent, FormExecuterComponent, FHTableManager],
|
|
14371
|
-
declarations: [CheckboxEditorComponent, FHCheckBox, FHTextInput, FHHelpButton, win_user_info, win_insert_commento, FHRoleManager, FHFieldPickListComponent, SafePipe, FHViewerComponent,
|
|
14470
|
+
declarations: [FHTextArea, CheckboxEditorComponent, FHCheckBox, FHTextInput, FHHelpButton, win_user_info, win_insert_commento, FHRoleManager, FHFieldPickListComponent, SafePipe, FHViewerComponent,
|
|
14372
14471
|
fhimagepreview, win_show_image, WinAskButtonsComponent, FHGridToolBarComponent, win_time_slider, DecimalMask, FHTimePickerComponent, CurrencyComponent, FHUploadPanelComponent, FHUploadComponent, wkf_header_bar,
|
|
14373
14472
|
FHGridComponent, FHComboboxComponent, FHConfirmComponent, FHAutoCompleteComponent, FHDatePickerComponent, NumericEditorComponent,
|
|
14374
14473
|
FHUserPickerComponent, ApprovaGridComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, win_mappa, win_grid_help, TextAreaEditor,
|
|
@@ -14572,5 +14671,5 @@ var FSResult = /** @class */ (function () {
|
|
|
14572
14671
|
* Generated bundle index. Do not edit.
|
|
14573
14672
|
*/
|
|
14574
14673
|
|
|
14575
|
-
export { AppMakerService, AppService, ApprovaGridComponent, AuthenticationService, CheckboxEditorComponent, 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
|
|
14674
|
+
export { AppMakerService, AppService, ApprovaGridComponent, AuthenticationService, CheckboxEditorComponent, ComboBoxEditor, CurrencyComponent, FHAutoCompleteComponent, FHCheckBox, FHComboboxComponent, FHConfirmComponent, FHConfirmValues, FHCurrencyFieldComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, FHDatePickerComponent, FHFieldPickListComponent, FHGridComponent, FHGridJSONComponent, FHGuard, FHListComponent, FHListPick, FHLogPanelComponent, FHMdReader, FHNumericFieldComponent, FHPickListComponent, FHRichText, FHRoleManager, FHTableManager, FHTextArea, 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 as ɵa, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$8 as ɵb, win_uploads as ɵba, win_commenti as ɵbb, win_info_doc as ɵbc, win_log as ɵbd, win_recupera_doc as ɵbe, win_riassegna_select_level as ɵbf, win_riassegna_select_user as ɵbg, win_sostituisci_utente as ɵbh, win_commento_sel_notif as ɵbi, win_manage_values as ɵbj, win_manage_roles as ɵbk, FHComboboxComponentFilter as ɵbl, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$4 as ɵc, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$2 as ɵd, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$7 as ɵe, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$5 as ɵf, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_NUMERIC as ɵg, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_RT as ɵh, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$1 as ɵi, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$3 as ɵj, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$6 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, FHViewerComponent as ɵt, FHGridToolBarComponent as ɵv, win_assegna as ɵw, win_conferma as ɵx, win_select_canale as ɵy, win_select_level as ɵz };
|
|
14576
14675
|
//# sourceMappingURL=fluxhub-fluxhub-lib.js.map
|