@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.
@@ -7287,6 +7287,115 @@ var FHDatePickerComponent = /** @class */ (function (_super) {
7287
7287
  return FHDatePickerComponent;
7288
7288
  }(FHValueAccessor));
7289
7289
 
7290
+ var FHTextInput = /** @class */ (function (_super) {
7291
+ __extends(FHTextInput, _super);
7292
+ function FHTextInput() {
7293
+ var _this = _super.call(this) || this;
7294
+ _this.hidden = false;
7295
+ _this.label = "";
7296
+ _this.enabled = true;
7297
+ _this.required = false;
7298
+ _this.change = new EventEmitter();
7299
+ _this.focusout = new EventEmitter();
7300
+ _this.focusin = new EventEmitter();
7301
+ _this.text_v = '';
7302
+ return _this;
7303
+ }
7304
+ FHTextInput_1 = FHTextInput;
7305
+ FHTextInput.prototype.onFi = function () {
7306
+ var _this = this;
7307
+ setTimeout(function () {
7308
+ _this.focusin.emit(_this.text_v);
7309
+ });
7310
+ };
7311
+ FHTextInput.prototype.onFu = function () {
7312
+ var _this = this;
7313
+ setTimeout(function () {
7314
+ _this.focusout.emit(_this.text_v);
7315
+ });
7316
+ };
7317
+ FHTextInput.prototype.modelch = function () {
7318
+ var _this = this;
7319
+ setTimeout(function () {
7320
+ _this.change.emit(_this.text_v);
7321
+ });
7322
+ };
7323
+ FHTextInput.prototype.ngAfterViewInit = function () { };
7324
+ FHTextInput.prototype.getValue = function () {
7325
+ return this.text_v;
7326
+ };
7327
+ FHTextInput.prototype.setValue = function (v) {
7328
+ this.text_v = v;
7329
+ };
7330
+ FHTextInput.prototype.getModelValue = function () {
7331
+ var value = this.text_v;
7332
+ return value;
7333
+ };
7334
+ FHTextInput.prototype.emitChanged = function () {
7335
+ var value = this.getModelValue();
7336
+ this.changed.forEach(function (f) { return f(value); });
7337
+ };
7338
+ Object.defineProperty(FHTextInput.prototype, "value", {
7339
+ get: function () {
7340
+ return this.getModelValue();
7341
+ },
7342
+ set: function (value) {
7343
+ if (this.getModelValue() !== value) {
7344
+ this.text_v = value;
7345
+ this.changed.forEach(function (f) { return f(value); });
7346
+ }
7347
+ },
7348
+ enumerable: true,
7349
+ configurable: true
7350
+ });
7351
+ FHTextInput.prototype.writeValue = function (value) {
7352
+ this.setValue(value);
7353
+ };
7354
+ var FHTextInput_1;
7355
+ __decorate([
7356
+ Input(),
7357
+ __metadata("design:type", Boolean)
7358
+ ], FHTextInput.prototype, "hidden", void 0);
7359
+ __decorate([
7360
+ Input(),
7361
+ __metadata("design:type", String)
7362
+ ], FHTextInput.prototype, "label", void 0);
7363
+ __decorate([
7364
+ Input(),
7365
+ __metadata("design:type", Boolean)
7366
+ ], FHTextInput.prototype, "enabled", void 0);
7367
+ __decorate([
7368
+ Input(),
7369
+ __metadata("design:type", Boolean)
7370
+ ], FHTextInput.prototype, "required", void 0);
7371
+ __decorate([
7372
+ Output(),
7373
+ __metadata("design:type", EventEmitter)
7374
+ ], FHTextInput.prototype, "change", void 0);
7375
+ __decorate([
7376
+ Output(),
7377
+ __metadata("design:type", EventEmitter)
7378
+ ], FHTextInput.prototype, "focusout", void 0);
7379
+ __decorate([
7380
+ Output(),
7381
+ __metadata("design:type", EventEmitter)
7382
+ ], FHTextInput.prototype, "focusin", void 0);
7383
+ FHTextInput = FHTextInput_1 = __decorate([
7384
+ Component({
7385
+ selector: 'FHTextInput',
7386
+ 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 ",
7387
+ providers: [{
7388
+ provide: NG_VALUE_ACCESSOR,
7389
+ useExisting: FHTextInput_1,
7390
+ multi: true
7391
+ },],
7392
+ styles: ["\n\n "]
7393
+ }),
7394
+ __metadata("design:paramtypes", [])
7395
+ ], FHTextInput);
7396
+ return FHTextInput;
7397
+ }(FHValueAccessor));
7398
+
7290
7399
  var ApprovaGridComponent = /** @class */ (function () {
7291
7400
  function ApprovaGridComponent() {
7292
7401
  this.val_app = -1;
@@ -11304,6 +11413,9 @@ var dati_aggiuntivi = /** @class */ (function () {
11304
11413
  ccan = this.livs[i].gruppo_parallelo;
11305
11414
  }
11306
11415
  }
11416
+ this.m_autori = Array.from(new Set(this.m_autori.split(','))).join(',');
11417
+ this.m_lettori = Array.from(new Set(this.m_lettori.split(','))).join(',');
11418
+ this.m_danotificare = Array.from(new Set(this.m_danotificare.split(','))).join(',');
11307
11419
  var a;
11308
11420
  if (!this.app_info.documento_pubblico)
11309
11421
  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);
@@ -11871,6 +11983,8 @@ var dati_aggiuntivi = /** @class */ (function () {
11871
11983
  if (s == "") {
11872
11984
  return "NESSUN UTENTE CONFIGURATO STEP: " + lvlb + " CANALE: " + can;
11873
11985
  }
11986
+ s_notif = Array.from(new Set(s_notif.split(','))).join(',');
11987
+ this.m_obj.partecipanti = Array.from(new Set(this.m_obj.partecipanti.split(','))).join(',');
11874
11988
  var a;
11875
11989
  if (!this.app_info.documento_pubblico)
11876
11990
  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];
@@ -14058,6 +14172,116 @@ var FHHelpButton = /** @class */ (function () {
14058
14172
  return FHHelpButton;
14059
14173
  }());
14060
14174
 
14175
+ var FHCheckBox = /** @class */ (function (_super) {
14176
+ __extends(FHCheckBox, _super);
14177
+ function FHCheckBox() {
14178
+ var _this = _super.call(this) || this;
14179
+ _this.hidden = false;
14180
+ _this.label = "";
14181
+ _this.enabled = true;
14182
+ _this.required = false;
14183
+ _this.change = new EventEmitter();
14184
+ _this.click = new EventEmitter();
14185
+ _this.value_b = false;
14186
+ return _this;
14187
+ }
14188
+ FHCheckBox_1 = FHCheckBox;
14189
+ FHCheckBox.prototype.onCl = function () {
14190
+ var _this = this;
14191
+ setTimeout(function () {
14192
+ _this.click.emit(_this.value_b);
14193
+ });
14194
+ };
14195
+ FHCheckBox.prototype.modelch = function () {
14196
+ var _this = this;
14197
+ setTimeout(function () {
14198
+ _this.change.emit(_this.value_b);
14199
+ });
14200
+ };
14201
+ FHCheckBox.prototype.ngAfterViewInit = function () { };
14202
+ FHCheckBox.prototype.getModelValue = function () {
14203
+ if (this.value_b)
14204
+ return 1;
14205
+ else
14206
+ return 0;
14207
+ };
14208
+ FHCheckBox.prototype.getValue = function () {
14209
+ return this.getModelValue();
14210
+ };
14211
+ FHCheckBox.prototype.setValue = function (value) {
14212
+ if (this.getModelValue() !== value) {
14213
+ if (value != null)
14214
+ if (value == 1)
14215
+ this.value_b = true;
14216
+ else
14217
+ this.value_b = false;
14218
+ }
14219
+ };
14220
+ FHCheckBox.prototype.emitChanged = function () {
14221
+ var value = this.getModelValue();
14222
+ this.changed.forEach(function (f) { return f(value); });
14223
+ };
14224
+ Object.defineProperty(FHCheckBox.prototype, "value", {
14225
+ get: function () {
14226
+ return this.getModelValue();
14227
+ },
14228
+ set: function (value) {
14229
+ if (this.getModelValue() !== value) {
14230
+ if (value != null)
14231
+ if (value == 1)
14232
+ this.value_b = true;
14233
+ else
14234
+ this.value_b = false;
14235
+ this.changed.forEach(function (f) { return f(value); });
14236
+ }
14237
+ },
14238
+ enumerable: true,
14239
+ configurable: true
14240
+ });
14241
+ FHCheckBox.prototype.writeValue = function (value) {
14242
+ this.setValue(value);
14243
+ };
14244
+ var FHCheckBox_1;
14245
+ __decorate([
14246
+ Input(),
14247
+ __metadata("design:type", Boolean)
14248
+ ], FHCheckBox.prototype, "hidden", void 0);
14249
+ __decorate([
14250
+ Input(),
14251
+ __metadata("design:type", String)
14252
+ ], FHCheckBox.prototype, "label", void 0);
14253
+ __decorate([
14254
+ Input(),
14255
+ __metadata("design:type", Boolean)
14256
+ ], FHCheckBox.prototype, "enabled", void 0);
14257
+ __decorate([
14258
+ Input(),
14259
+ __metadata("design:type", Boolean)
14260
+ ], FHCheckBox.prototype, "required", void 0);
14261
+ __decorate([
14262
+ Output(),
14263
+ __metadata("design:type", EventEmitter)
14264
+ ], FHCheckBox.prototype, "change", void 0);
14265
+ __decorate([
14266
+ Output(),
14267
+ __metadata("design:type", EventEmitter)
14268
+ ], FHCheckBox.prototype, "click", void 0);
14269
+ FHCheckBox = FHCheckBox_1 = __decorate([
14270
+ Component({
14271
+ selector: 'FHCheckBox',
14272
+ template: "\n\n <mat-checkbox [(ngModel)]=\"value_b\" (click)=\"onCl()\" [disabled]=\"!enabled\" [required]=\"required\" (ngModelChange)=\"modelch()\">{{label}}\n </mat-checkbox>\n ",
14273
+ providers: [{
14274
+ provide: NG_VALUE_ACCESSOR,
14275
+ useExisting: FHCheckBox_1,
14276
+ multi: true
14277
+ },],
14278
+ styles: ["\n\n "]
14279
+ }),
14280
+ __metadata("design:paramtypes", [])
14281
+ ], FHCheckBox);
14282
+ return FHCheckBox;
14283
+ }(FHValueAccessor));
14284
+
14061
14285
  var FluxhubLibModule = /** @class */ (function () {
14062
14286
  function FluxhubLibModule() {
14063
14287
  }
@@ -14113,13 +14337,13 @@ var FluxhubLibModule = /** @class */ (function () {
14113
14337
  apiKey: 'AIzaSyD3-g3b_QqxUruxBY4PGJKaH2fubIVXvN4'
14114
14338
  }),
14115
14339
  FlexLayoutModule, MarkdownModule, CKEditorModule],
14116
- exports: [FHHelpButton, win_user_info, win_insert_commento, FHRoleManager, FHFieldPickListComponent, SafePipe, fhimagepreview, win_show_image, WinAskButtonsComponent, win_time_slider, DecimalMask, FHTimePickerComponent, CurrencyComponent, FHUploadPanelComponent, FHUploadComponent,
14340
+ 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,
14117
14341
  FHGridComponent, FHComboboxComponent, FHConfirmComponent, FHAutoCompleteComponent, FHDatePickerComponent, NumericEditorComponent,
14118
14342
  FHUserPickerComponent, ApprovaGridComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, win_mappa, win_grid_help, TextAreaEditor,
14119
14343
  ComboBoxEditor, FHListComponent, FHWinComboSelect, ReplaceLineBreaks, WinAskTextComponent, FHPickListComponent, WinAskNumberComponent,
14120
14344
  FHMdReader, FHLogPanelComponent, WinAskTextBigComponent, FHCurrencyFieldComponent, FHRichText, WinOutputComponent, FHNumericFieldComponent, wkf_header_bar,
14121
14345
  FHListPick, WinWait, FHUserFieldComponent, FHGridJSONComponent, win_salva_annulla, FormBuilderComponent, FormExecuterComponent, FHTableManager],
14122
- declarations: [FHHelpButton, win_user_info, win_insert_commento, FHRoleManager, FHFieldPickListComponent, SafePipe, FHViewerComponent,
14346
+ declarations: [FHCheckBox, FHTextInput, FHHelpButton, win_user_info, win_insert_commento, FHRoleManager, FHFieldPickListComponent, SafePipe, FHViewerComponent,
14123
14347
  fhimagepreview, win_show_image, WinAskButtonsComponent, FHGridToolBarComponent, win_time_slider, DecimalMask, FHTimePickerComponent, CurrencyComponent, FHUploadPanelComponent, FHUploadComponent, wkf_header_bar,
14124
14348
  FHGridComponent, FHComboboxComponent, FHConfirmComponent, FHAutoCompleteComponent, FHDatePickerComponent, NumericEditorComponent,
14125
14349
  FHUserPickerComponent, ApprovaGridComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, win_mappa, win_grid_help, TextAreaEditor,
@@ -14323,5 +14547,5 @@ var FSResult = /** @class */ (function () {
14323
14547
  * Generated bundle index. Do not edit.
14324
14548
  */
14325
14549
 
14326
- export { AppMakerService, AppService, ApprovaGridComponent, AuthenticationService, ComboBoxEditor, CurrencyComponent, FHAutoCompleteComponent, FHComboboxComponent, FHConfirmComponent, FHConfirmValues, FHCurrencyFieldComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, FHDatePickerComponent, FHFieldPickListComponent, FHGridComponent, FHGridJSONComponent, FHGuard, FHListComponent, FHListPick, FHLogPanelComponent, FHMdReader, FHNumericFieldComponent, FHPickListComponent, FHRichText, FHRoleManager, FHTableManager, 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$2 as ɵa, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$1 as ɵb, win_riassegna_select_user as ɵba, win_sostituisci_utente as ɵbb, win_commento_sel_notif as ɵbc, win_manage_values as ɵbd, win_manage_roles as ɵbe, FHComboboxComponentFilter as ɵbf, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_NUMERIC as ɵc, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_RT as ɵd, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR as ɵe, FHHelpButton as ɵf, SafePipe as ɵg, DecimalMask as ɵh, FHValueAccessor as ɵi, MOMENT_DATE_FORMATS as ɵj, MomentDateAdapter as ɵk, win_grid_help as ɵl, HighlightService as ɵm, FHViewerComponent as ɵn, FHGridToolBarComponent as ɵp, win_assegna as ɵq, win_conferma as ɵr, win_select_canale as ɵs, win_select_level as ɵt, win_uploads as ɵu, win_commenti as ɵv, win_info_doc as ɵw, win_log as ɵx, win_recupera_doc as ɵy, win_riassegna_select_level as ɵz };
14550
+ export { AppMakerService, AppService, ApprovaGridComponent, AuthenticationService, 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$2 as ɵa, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$1 as ɵb, win_riassegna_select_user as ɵba, win_sostituisci_utente as ɵbb, win_commento_sel_notif as ɵbc, win_manage_values as ɵbd, win_manage_roles as ɵbe, FHComboboxComponentFilter as ɵbf, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_NUMERIC as ɵc, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_RT as ɵd, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR as ɵe, FHValueAccessor as ɵf, FHHelpButton as ɵg, SafePipe as ɵh, DecimalMask as ɵi, MOMENT_DATE_FORMATS as ɵj, MomentDateAdapter as ɵk, win_grid_help as ɵl, HighlightService as ɵm, FHViewerComponent as ɵn, FHGridToolBarComponent as ɵp, win_assegna as ɵq, win_conferma as ɵr, win_select_canale as ɵs, win_select_level as ɵt, win_uploads as ɵu, win_commenti as ɵv, win_info_doc as ɵw, win_log as ɵx, win_recupera_doc as ɵy, win_riassegna_select_level as ɵz };
14327
14551
  //# sourceMappingURL=fluxhub-fluxhub-lib.js.map