@fluxhub/fluxhub-lib 1.0.195 → 1.0.196
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 +16 -14
- 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/docs/components/FHCurrencyFieldComponent.html +60 -2
- package/docs/coverage.html +1 -1
- package/docs/js/search/search_index.js +2 -2
- package/esm2015/lib/auth_guard.js +2 -6
- package/esm2015/lib/controls/fhautocomplete.js +1 -2
- package/esm2015/lib/controls/fhcurrencyfield.js +12 -2
- package/esm2015/lib/controls/fhlist.js +1 -4
- package/esm2015/lib/form_builder/form_builder.js +1 -4
- package/esm5/lib/auth_guard.js +5 -9
- package/esm5/lib/controls/fhautocomplete.js +1 -2
- package/esm5/lib/controls/fhcurrencyfield.js +15 -2
- package/esm5/lib/controls/fhlist.js +1 -4
- package/esm5/lib/form_builder/form_builder.js +1 -4
- package/fesm2015/fluxhub-fluxhub-lib.js +11 -12
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +17 -15
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhcurrencyfield.d.ts +2 -0
- package/package.json +1 -1
|
@@ -5889,7 +5889,6 @@
|
|
|
5889
5889
|
this.setByDescri(event.option.value);
|
|
5890
5890
|
this.sItem = event.option.value;
|
|
5891
5891
|
this.ch(event);
|
|
5892
|
-
console.log('selectedSearchItem ', this.sItem);
|
|
5893
5892
|
};
|
|
5894
5893
|
/**
|
|
5895
5894
|
* @param {?} $event
|
|
@@ -7506,15 +7505,12 @@
|
|
|
7506
7505
|
function () {
|
|
7507
7506
|
/** @type {?} */
|
|
7508
7507
|
var sx = "";
|
|
7509
|
-
for (var j = 0; j < this.myData.length; j++)
|
|
7510
|
-
console.log(this.myData[j].checked);
|
|
7511
7508
|
for (var j = 0; j < this.myData.length; j++)
|
|
7512
7509
|
if (this.myData[j].checked) {
|
|
7513
7510
|
if (sx != '')
|
|
7514
7511
|
sx = sx + ',';
|
|
7515
7512
|
sx = sx + this.myData[j].descrizione_valore;
|
|
7516
7513
|
}
|
|
7517
|
-
console.log('getDescri: ' + sx);
|
|
7518
7514
|
return sx;
|
|
7519
7515
|
};
|
|
7520
7516
|
/**
|
|
@@ -8594,6 +8590,7 @@
|
|
|
8594
8590
|
this.required = false;
|
|
8595
8591
|
this.enabled = true;
|
|
8596
8592
|
this.hidden = false;
|
|
8593
|
+
this.color = '';
|
|
8597
8594
|
this.m_color = '';
|
|
8598
8595
|
this.label_width = "";
|
|
8599
8596
|
this.change = new i0.EventEmitter();
|
|
@@ -8617,6 +8614,15 @@
|
|
|
8617
8614
|
/**
|
|
8618
8615
|
* @return {?}
|
|
8619
8616
|
*/
|
|
8617
|
+
FHCurrencyFieldComponent.prototype.getStyle_color = /**
|
|
8618
|
+
* @return {?}
|
|
8619
|
+
*/
|
|
8620
|
+
function () {
|
|
8621
|
+
return this.m_color;
|
|
8622
|
+
};
|
|
8623
|
+
/**
|
|
8624
|
+
* @return {?}
|
|
8625
|
+
*/
|
|
8620
8626
|
FHCurrencyFieldComponent.prototype.getStyle_mw = /**
|
|
8621
8627
|
* @return {?}
|
|
8622
8628
|
*/
|
|
@@ -8780,7 +8786,7 @@
|
|
|
8780
8786
|
{ type: i0.Component, args: [{
|
|
8781
8787
|
selector: 'FHCurrencyField',
|
|
8782
8788
|
providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR],
|
|
8783
|
-
template: "\n <mat-form-field [hidden]=\"!enabled || hidden\">\n <input type=\"text\" style=\"text-align:right\" [style.background-color]=\"getStyle()\" #el matInput\n [disabled]=\"!enabled\" placeholder=\"{{label}}\" [(ngModel)]=\"formattedAmount\"\n (blur)=\"transformAmount($event)\"\n (focus)=\"removeCurrencyPipeFormat($event)\" (keyup)=\"chg()\"\n pattern=\"[0-9]+\">\n </mat-form-field>\n <mat-form-field [hidden]=\"enabled || hidden\">\n <input type=\"text\" style=\"text-align:right\" [style.background-color]=\"getStyle()\" #el1 matInput [disabled]=\"true\"\n placeholder=\"{{label}}\" [(ngModel)]=\"formattedAmount\"\n >\n </mat-form-field>\n ",
|
|
8789
|
+
template: "\n <mat-form-field [hidden]=\"!enabled || hidden\">\n <input type=\"text\" style=\"text-align:right\" [style.background-color]=\"getStyle()\" #el matInput\n [disabled]=\"!enabled\" placeholder=\"{{label}}\" [(ngModel)]=\"formattedAmount\"\n (blur)=\"transformAmount($event)\" [style.color]=\"getStyle_color()\"\n (focus)=\"removeCurrencyPipeFormat($event)\" (keyup)=\"chg()\"\n pattern=\"[0-9]+\">\n </mat-form-field>\n <mat-form-field [hidden]=\"enabled || hidden\">\n <input type=\"text\" style=\"text-align:right\" [style.background-color]=\"getStyle()\" #el1 matInput [disabled]=\"true\"\n placeholder=\"{{label}}\" [(ngModel)]=\"formattedAmount\"\n >\n </mat-form-field>\n ",
|
|
8784
8790
|
styles: ["\n\n "]
|
|
8785
8791
|
}] }
|
|
8786
8792
|
];
|
|
@@ -8793,6 +8799,7 @@
|
|
|
8793
8799
|
required: [{ type: i0.Input }],
|
|
8794
8800
|
enabled: [{ type: i0.Input }],
|
|
8795
8801
|
hidden: [{ type: i0.Input }],
|
|
8802
|
+
color: [{ type: i0.Input }],
|
|
8796
8803
|
label_width: [{ type: i0.Input }],
|
|
8797
8804
|
change: [{ type: i0.Output }],
|
|
8798
8805
|
value: [{ type: i0.Input }]
|
|
@@ -13266,7 +13273,6 @@
|
|
|
13266
13273
|
* @return {?}
|
|
13267
13274
|
*/
|
|
13268
13275
|
function (o) {
|
|
13269
|
-
console.log(o);
|
|
13270
13276
|
if (o == 1)
|
|
13271
13277
|
this.items.push({ type: 'text_field', label: 'Label', default_value: '', uiid: this.fhutility.newGuid(), selected: false, required: false });
|
|
13272
13278
|
if (o == 2)
|
|
@@ -13370,14 +13376,12 @@
|
|
|
13370
13376
|
}
|
|
13371
13377
|
this.dragula
|
|
13372
13378
|
.drag.call(function (value) {
|
|
13373
|
-
console.log("Dragging the " + value[1].innerText + "!");
|
|
13374
13379
|
_this.change.emit();
|
|
13375
13380
|
_this.edit_obj = null;
|
|
13376
13381
|
});
|
|
13377
13382
|
this.dragula
|
|
13378
13383
|
.drop
|
|
13379
13384
|
.call(function (value) {
|
|
13380
|
-
console.log("Dropped the " + value[1].innerText + "!");
|
|
13381
13385
|
_this.change.emit();
|
|
13382
13386
|
_this.edit_obj = null;
|
|
13383
13387
|
});
|
|
@@ -13650,12 +13654,10 @@
|
|
|
13650
13654
|
p.values = [_this.appService.user];
|
|
13651
13655
|
_this.querys.doQuery(p).subscribe(function (data) {
|
|
13652
13656
|
_this.arr_accessi = data.result_data;
|
|
13653
|
-
for (var
|
|
13654
|
-
console.log('[' + _this.arr_accessi[
|
|
13655
|
-
if (_this.arr_accessi[
|
|
13656
|
-
if ('[' + _this.arr_accessi[
|
|
13657
|
-
console.log(typeof (rxjs.of(true)));
|
|
13658
|
-
console.log('OBS3 ' + true);
|
|
13657
|
+
for (var i_1 = 0; i_1 < _this.arr_accessi.length; i_1++) {
|
|
13658
|
+
console.log('[' + _this.arr_accessi[i_1].url.split('/')[0] + ']', '-----', '[' + _this.routingDestination.split('/')[0] + ']');
|
|
13659
|
+
if (_this.arr_accessi[i_1].type == 'M') {
|
|
13660
|
+
if ('[' + _this.arr_accessi[i_1].url.split('/')[0] + ']' == '[' + _this.routingDestination.split('/')[0] + ']') {
|
|
13659
13661
|
resolve(true);
|
|
13660
13662
|
return;
|
|
13661
13663
|
}
|