@fluxhub/fluxhub-lib 1.0.194 → 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.
@@ -1359,6 +1359,7 @@
1359
1359
  if (b_check_admin === void 0) {
1360
1360
  b_check_admin = true;
1361
1361
  }
1362
+ console.log('check role ', this.app_s);
1362
1363
  if (this.app_s.user_roles === null)
1363
1364
  return false;
1364
1365
  if (b_check_admin)
@@ -5888,7 +5889,6 @@
5888
5889
  this.setByDescri(event.option.value);
5889
5890
  this.sItem = event.option.value;
5890
5891
  this.ch(event);
5891
- console.log('selectedSearchItem ', this.sItem);
5892
5892
  };
5893
5893
  /**
5894
5894
  * @param {?} $event
@@ -7505,15 +7505,12 @@
7505
7505
  function () {
7506
7506
  /** @type {?} */
7507
7507
  var sx = "";
7508
- for (var j = 0; j < this.myData.length; j++)
7509
- console.log(this.myData[j].checked);
7510
7508
  for (var j = 0; j < this.myData.length; j++)
7511
7509
  if (this.myData[j].checked) {
7512
7510
  if (sx != '')
7513
7511
  sx = sx + ',';
7514
7512
  sx = sx + this.myData[j].descrizione_valore;
7515
7513
  }
7516
- console.log('getDescri: ' + sx);
7517
7514
  return sx;
7518
7515
  };
7519
7516
  /**
@@ -8593,6 +8590,7 @@
8593
8590
  this.required = false;
8594
8591
  this.enabled = true;
8595
8592
  this.hidden = false;
8593
+ this.color = '';
8596
8594
  this.m_color = '';
8597
8595
  this.label_width = "";
8598
8596
  this.change = new i0.EventEmitter();
@@ -8616,6 +8614,15 @@
8616
8614
  /**
8617
8615
  * @return {?}
8618
8616
  */
8617
+ FHCurrencyFieldComponent.prototype.getStyle_color = /**
8618
+ * @return {?}
8619
+ */
8620
+ function () {
8621
+ return this.m_color;
8622
+ };
8623
+ /**
8624
+ * @return {?}
8625
+ */
8619
8626
  FHCurrencyFieldComponent.prototype.getStyle_mw = /**
8620
8627
  * @return {?}
8621
8628
  */
@@ -8779,7 +8786,7 @@
8779
8786
  { type: i0.Component, args: [{
8780
8787
  selector: 'FHCurrencyField',
8781
8788
  providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR],
8782
- 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 ",
8783
8790
  styles: ["\n\n "]
8784
8791
  }] }
8785
8792
  ];
@@ -8792,6 +8799,7 @@
8792
8799
  required: [{ type: i0.Input }],
8793
8800
  enabled: [{ type: i0.Input }],
8794
8801
  hidden: [{ type: i0.Input }],
8802
+ color: [{ type: i0.Input }],
8795
8803
  label_width: [{ type: i0.Input }],
8796
8804
  change: [{ type: i0.Output }],
8797
8805
  value: [{ type: i0.Input }]
@@ -13265,7 +13273,6 @@
13265
13273
  * @return {?}
13266
13274
  */
13267
13275
  function (o) {
13268
- console.log(o);
13269
13276
  if (o == 1)
13270
13277
  this.items.push({ type: 'text_field', label: 'Label', default_value: '', uiid: this.fhutility.newGuid(), selected: false, required: false });
13271
13278
  if (o == 2)
@@ -13369,14 +13376,12 @@
13369
13376
  }
13370
13377
  this.dragula
13371
13378
  .drag.call(function (value) {
13372
- console.log("Dragging the " + value[1].innerText + "!");
13373
13379
  _this.change.emit();
13374
13380
  _this.edit_obj = null;
13375
13381
  });
13376
13382
  this.dragula
13377
13383
  .drop
13378
13384
  .call(function (value) {
13379
- console.log("Dropped the " + value[1].innerText + "!");
13380
13385
  _this.change.emit();
13381
13386
  _this.edit_obj = null;
13382
13387
  });
@@ -13649,12 +13654,10 @@
13649
13654
  p.values = [_this.appService.user];
13650
13655
  _this.querys.doQuery(p).subscribe(function (data) {
13651
13656
  _this.arr_accessi = data.result_data;
13652
- for (var i = 0; i < _this.arr_accessi.length; i++) {
13653
- console.log('[' + _this.arr_accessi[i].url.split('/')[0] + ']', '-----', '[' + _this.routingDestination.split('/')[0] + ']');
13654
- if (_this.arr_accessi[i].type == 'M') {
13655
- if ('[' + _this.arr_accessi[i].url.split('/')[0] + ']' == '[' + _this.routingDestination.split('/')[0] + ']') {
13656
- console.log(typeof (rxjs.of(true)));
13657
- 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] + ']') {
13658
13661
  resolve(true);
13659
13662
  return;
13660
13663
  }