@fluxhub/fluxhub-lib 9.0.31 → 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.
@@ -7420,6 +7420,115 @@
7420
7420
  return FHDatePickerComponent;
7421
7421
  }(FHValueAccessor));
7422
7422
 
7423
+ var FHTextInput = /** @class */ (function (_super) {
7424
+ __extends(FHTextInput, _super);
7425
+ function FHTextInput() {
7426
+ var _this = _super.call(this) || this;
7427
+ _this.hidden = false;
7428
+ _this.label = "";
7429
+ _this.enabled = true;
7430
+ _this.required = false;
7431
+ _this.change = new core.EventEmitter();
7432
+ _this.focusout = new core.EventEmitter();
7433
+ _this.focusin = new core.EventEmitter();
7434
+ _this.text_v = '';
7435
+ return _this;
7436
+ }
7437
+ FHTextInput_1 = FHTextInput;
7438
+ FHTextInput.prototype.onFi = function () {
7439
+ var _this = this;
7440
+ setTimeout(function () {
7441
+ _this.focusin.emit(_this.text_v);
7442
+ });
7443
+ };
7444
+ FHTextInput.prototype.onFu = function () {
7445
+ var _this = this;
7446
+ setTimeout(function () {
7447
+ _this.focusout.emit(_this.text_v);
7448
+ });
7449
+ };
7450
+ FHTextInput.prototype.modelch = function () {
7451
+ var _this = this;
7452
+ setTimeout(function () {
7453
+ _this.change.emit(_this.text_v);
7454
+ });
7455
+ };
7456
+ FHTextInput.prototype.ngAfterViewInit = function () { };
7457
+ FHTextInput.prototype.getValue = function () {
7458
+ return this.text_v;
7459
+ };
7460
+ FHTextInput.prototype.setValue = function (v) {
7461
+ this.text_v = v;
7462
+ };
7463
+ FHTextInput.prototype.getModelValue = function () {
7464
+ var value = this.text_v;
7465
+ return value;
7466
+ };
7467
+ FHTextInput.prototype.emitChanged = function () {
7468
+ var value = this.getModelValue();
7469
+ this.changed.forEach(function (f) { return f(value); });
7470
+ };
7471
+ Object.defineProperty(FHTextInput.prototype, "value", {
7472
+ get: function () {
7473
+ return this.getModelValue();
7474
+ },
7475
+ set: function (value) {
7476
+ if (this.getModelValue() !== value) {
7477
+ this.text_v = value;
7478
+ this.changed.forEach(function (f) { return f(value); });
7479
+ }
7480
+ },
7481
+ enumerable: true,
7482
+ configurable: true
7483
+ });
7484
+ FHTextInput.prototype.writeValue = function (value) {
7485
+ this.setValue(value);
7486
+ };
7487
+ var FHTextInput_1;
7488
+ __decorate([
7489
+ core.Input(),
7490
+ __metadata("design:type", Boolean)
7491
+ ], FHTextInput.prototype, "hidden", void 0);
7492
+ __decorate([
7493
+ core.Input(),
7494
+ __metadata("design:type", String)
7495
+ ], FHTextInput.prototype, "label", void 0);
7496
+ __decorate([
7497
+ core.Input(),
7498
+ __metadata("design:type", Boolean)
7499
+ ], FHTextInput.prototype, "enabled", void 0);
7500
+ __decorate([
7501
+ core.Input(),
7502
+ __metadata("design:type", Boolean)
7503
+ ], FHTextInput.prototype, "required", void 0);
7504
+ __decorate([
7505
+ core.Output(),
7506
+ __metadata("design:type", core.EventEmitter)
7507
+ ], FHTextInput.prototype, "change", void 0);
7508
+ __decorate([
7509
+ core.Output(),
7510
+ __metadata("design:type", core.EventEmitter)
7511
+ ], FHTextInput.prototype, "focusout", void 0);
7512
+ __decorate([
7513
+ core.Output(),
7514
+ __metadata("design:type", core.EventEmitter)
7515
+ ], FHTextInput.prototype, "focusin", void 0);
7516
+ FHTextInput = FHTextInput_1 = __decorate([
7517
+ core.Component({
7518
+ selector: 'FHTextInput',
7519
+ 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 ",
7520
+ providers: [{
7521
+ provide: forms.NG_VALUE_ACCESSOR,
7522
+ useExisting: FHTextInput_1,
7523
+ multi: true
7524
+ },],
7525
+ styles: ["\n\n "]
7526
+ }),
7527
+ __metadata("design:paramtypes", [])
7528
+ ], FHTextInput);
7529
+ return FHTextInput;
7530
+ }(FHValueAccessor));
7531
+
7423
7532
  var ApprovaGridComponent = /** @class */ (function () {
7424
7533
  function ApprovaGridComponent() {
7425
7534
  this.val_app = -1;
@@ -11437,6 +11546,9 @@
11437
11546
  ccan = this.livs[i].gruppo_parallelo;
11438
11547
  }
11439
11548
  }
11549
+ this.m_autori = Array.from(new Set(this.m_autori.split(','))).join(',');
11550
+ this.m_lettori = Array.from(new Set(this.m_lettori.split(','))).join(',');
11551
+ this.m_danotificare = Array.from(new Set(this.m_danotificare.split(','))).join(',');
11440
11552
  var a;
11441
11553
  if (!this.app_info.documento_pubblico)
11442
11554
  a = new Array(this.m_autori, this.m_lettori, this.m_liv, this.m_statox, this.m_autori_paralleli, this.m_obj.assegnati_paralleli, this.getLvlDescri(String(this.m_liv), this.m_statox), this.getUsersList(this.m_autori, this.m_obj.assegnati_paralleli), this.user_idp, this.getTitle(), this.getDescri(), this.id_applicativo, this.id_documento, ccan);
@@ -12004,6 +12116,8 @@
12004
12116
  if (s == "") {
12005
12117
  return "NESSUN UTENTE CONFIGURATO STEP: " + lvlb + " CANALE: " + can;
12006
12118
  }
12119
+ s_notif = Array.from(new Set(s_notif.split(','))).join(',');
12120
+ this.m_obj.partecipanti = Array.from(new Set(this.m_obj.partecipanti.split(','))).join(',');
12007
12121
  var a;
12008
12122
  if (!this.app_info.documento_pubblico)
12009
12123
  a = [s, this.m_obj.partecipanti + "," + s, lvlb, "Assegnata a:" + s_auto, '', '', this.getLvlDescri(String(lvlb), "Assegnata a:" + s_auto), this.getUsersList(s_auto, this.m_obj.assegnati_paralleli), this.user_idp, this.getTitle(), this.getDescri(), this.id_applicativo, this.id_documento, can];
@@ -14191,6 +14305,116 @@
14191
14305
  return FHHelpButton;
14192
14306
  }());
14193
14307
 
14308
+ var FHCheckBox = /** @class */ (function (_super) {
14309
+ __extends(FHCheckBox, _super);
14310
+ function FHCheckBox() {
14311
+ var _this = _super.call(this) || this;
14312
+ _this.hidden = false;
14313
+ _this.label = "";
14314
+ _this.enabled = true;
14315
+ _this.required = false;
14316
+ _this.change = new core.EventEmitter();
14317
+ _this.click = new core.EventEmitter();
14318
+ _this.value_b = false;
14319
+ return _this;
14320
+ }
14321
+ FHCheckBox_1 = FHCheckBox;
14322
+ FHCheckBox.prototype.onCl = function () {
14323
+ var _this = this;
14324
+ setTimeout(function () {
14325
+ _this.click.emit(_this.value_b);
14326
+ });
14327
+ };
14328
+ FHCheckBox.prototype.modelch = function () {
14329
+ var _this = this;
14330
+ setTimeout(function () {
14331
+ _this.change.emit(_this.value_b);
14332
+ });
14333
+ };
14334
+ FHCheckBox.prototype.ngAfterViewInit = function () { };
14335
+ FHCheckBox.prototype.getModelValue = function () {
14336
+ if (this.value_b)
14337
+ return 1;
14338
+ else
14339
+ return 0;
14340
+ };
14341
+ FHCheckBox.prototype.getValue = function () {
14342
+ return this.getModelValue();
14343
+ };
14344
+ FHCheckBox.prototype.setValue = function (value) {
14345
+ if (this.getModelValue() !== value) {
14346
+ if (value != null)
14347
+ if (value == 1)
14348
+ this.value_b = true;
14349
+ else
14350
+ this.value_b = false;
14351
+ }
14352
+ };
14353
+ FHCheckBox.prototype.emitChanged = function () {
14354
+ var value = this.getModelValue();
14355
+ this.changed.forEach(function (f) { return f(value); });
14356
+ };
14357
+ Object.defineProperty(FHCheckBox.prototype, "value", {
14358
+ get: function () {
14359
+ return this.getModelValue();
14360
+ },
14361
+ set: function (value) {
14362
+ if (this.getModelValue() !== value) {
14363
+ if (value != null)
14364
+ if (value == 1)
14365
+ this.value_b = true;
14366
+ else
14367
+ this.value_b = false;
14368
+ this.changed.forEach(function (f) { return f(value); });
14369
+ }
14370
+ },
14371
+ enumerable: true,
14372
+ configurable: true
14373
+ });
14374
+ FHCheckBox.prototype.writeValue = function (value) {
14375
+ this.setValue(value);
14376
+ };
14377
+ var FHCheckBox_1;
14378
+ __decorate([
14379
+ core.Input(),
14380
+ __metadata("design:type", Boolean)
14381
+ ], FHCheckBox.prototype, "hidden", void 0);
14382
+ __decorate([
14383
+ core.Input(),
14384
+ __metadata("design:type", String)
14385
+ ], FHCheckBox.prototype, "label", void 0);
14386
+ __decorate([
14387
+ core.Input(),
14388
+ __metadata("design:type", Boolean)
14389
+ ], FHCheckBox.prototype, "enabled", void 0);
14390
+ __decorate([
14391
+ core.Input(),
14392
+ __metadata("design:type", Boolean)
14393
+ ], FHCheckBox.prototype, "required", void 0);
14394
+ __decorate([
14395
+ core.Output(),
14396
+ __metadata("design:type", core.EventEmitter)
14397
+ ], FHCheckBox.prototype, "change", void 0);
14398
+ __decorate([
14399
+ core.Output(),
14400
+ __metadata("design:type", core.EventEmitter)
14401
+ ], FHCheckBox.prototype, "click", void 0);
14402
+ FHCheckBox = FHCheckBox_1 = __decorate([
14403
+ core.Component({
14404
+ selector: 'FHCheckBox',
14405
+ template: "\n\n <mat-checkbox [(ngModel)]=\"value_b\" (click)=\"onCl()\" [disabled]=\"!enabled\" [required]=\"required\" (ngModelChange)=\"modelch()\">{{label}}\n </mat-checkbox>\n ",
14406
+ providers: [{
14407
+ provide: forms.NG_VALUE_ACCESSOR,
14408
+ useExisting: FHCheckBox_1,
14409
+ multi: true
14410
+ },],
14411
+ styles: ["\n\n "]
14412
+ }),
14413
+ __metadata("design:paramtypes", [])
14414
+ ], FHCheckBox);
14415
+ return FHCheckBox;
14416
+ }(FHValueAccessor));
14417
+
14194
14418
  var FluxhubLibModule = /** @class */ (function () {
14195
14419
  function FluxhubLibModule() {
14196
14420
  }
@@ -14246,13 +14470,13 @@
14246
14470
  apiKey: 'AIzaSyD3-g3b_QqxUruxBY4PGJKaH2fubIVXvN4'
14247
14471
  }),
14248
14472
  flexLayout.FlexLayoutModule, ngxMarkdown.MarkdownModule, ng2Ckeditor.CKEditorModule],
14249
- exports: [FHHelpButton, win_user_info, win_insert_commento, FHRoleManager, FHFieldPickListComponent, SafePipe, fhimagepreview, win_show_image, WinAskButtonsComponent, win_time_slider, DecimalMask, FHTimePickerComponent, CurrencyComponent, FHUploadPanelComponent, FHUploadComponent,
14473
+ 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,
14250
14474
  FHGridComponent, FHComboboxComponent, FHConfirmComponent, FHAutoCompleteComponent, FHDatePickerComponent, NumericEditorComponent,
14251
14475
  FHUserPickerComponent, ApprovaGridComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, win_mappa, win_grid_help, TextAreaEditor,
14252
14476
  ComboBoxEditor, FHListComponent, FHWinComboSelect, ReplaceLineBreaks, WinAskTextComponent, FHPickListComponent, WinAskNumberComponent,
14253
14477
  FHMdReader, FHLogPanelComponent, WinAskTextBigComponent, FHCurrencyFieldComponent, FHRichText, WinOutputComponent, FHNumericFieldComponent, wkf_header_bar,
14254
14478
  FHListPick, WinWait, FHUserFieldComponent, FHGridJSONComponent, win_salva_annulla, FormBuilderComponent, FormExecuterComponent, FHTableManager],
14255
- declarations: [FHHelpButton, win_user_info, win_insert_commento, FHRoleManager, FHFieldPickListComponent, SafePipe, FHViewerComponent,
14479
+ declarations: [FHCheckBox, FHTextInput, FHHelpButton, win_user_info, win_insert_commento, FHRoleManager, FHFieldPickListComponent, SafePipe, FHViewerComponent,
14256
14480
  fhimagepreview, win_show_image, WinAskButtonsComponent, FHGridToolBarComponent, win_time_slider, DecimalMask, FHTimePickerComponent, CurrencyComponent, FHUploadPanelComponent, FHUploadComponent, wkf_header_bar,
14257
14481
  FHGridComponent, FHComboboxComponent, FHConfirmComponent, FHAutoCompleteComponent, FHDatePickerComponent, NumericEditorComponent,
14258
14482
  FHUserPickerComponent, ApprovaGridComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, win_mappa, win_grid_help, TextAreaEditor,
@@ -14455,6 +14679,7 @@
14455
14679
  exports.ComboBoxEditor = ComboBoxEditor;
14456
14680
  exports.CurrencyComponent = CurrencyComponent;
14457
14681
  exports.FHAutoCompleteComponent = FHAutoCompleteComponent;
14682
+ exports.FHCheckBox = FHCheckBox;
14458
14683
  exports.FHComboboxComponent = FHComboboxComponent;
14459
14684
  exports.FHConfirmComponent = FHConfirmComponent;
14460
14685
  exports.FHConfirmValues = FHConfirmValues;
@@ -14475,6 +14700,7 @@
14475
14700
  exports.FHRichText = FHRichText;
14476
14701
  exports.FHRoleManager = FHRoleManager;
14477
14702
  exports.FHTableManager = FHTableManager;
14703
+ exports.FHTextInput = FHTextInput;
14478
14704
  exports.FHTimePickerComponent = FHTimePickerComponent;
14479
14705
  exports.FHUploadComponent = FHUploadComponent;
14480
14706
  exports.FHUploadPanelComponent = FHUploadPanelComponent;
@@ -14528,10 +14754,10 @@
14528
14754
  exports.ɵc = CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_NUMERIC;
14529
14755
  exports.ɵd = CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_RT;
14530
14756
  exports.ɵe = CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR;
14531
- exports.ɵf = FHHelpButton;
14532
- exports.ɵg = SafePipe;
14533
- exports.ɵh = DecimalMask;
14534
- exports.ɵi = FHValueAccessor;
14757
+ exports.ɵf = FHValueAccessor;
14758
+ exports.ɵg = FHHelpButton;
14759
+ exports.ɵh = SafePipe;
14760
+ exports.ɵi = DecimalMask;
14535
14761
  exports.ɵj = MOMENT_DATE_FORMATS;
14536
14762
  exports.ɵk = MomentDateAdapter;
14537
14763
  exports.ɵl = win_grid_help;