@fluxhub/fluxhub-lib 19.0.40 → 19.0.42
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/fesm2022/fluxhub-fluxhub-lib.mjs +26 -33
- package/fesm2022/fluxhub-fluxhub-lib.mjs.map +1 -1
- package/lib/controls/fh-field-picklist.d.ts +4 -6
- package/lib/controls/fh-notes-panel.d.ts +6 -9
- package/lib/controls/fh-user-field.d.ts +6 -6
- package/lib/controls/fh-win-combo-select.d.ts +5 -5
- package/lib/controls/fh-win-user-picker.d.ts +1 -3
- package/package.json +1 -1
- package/public-api.d.ts +1 -1
|
@@ -6563,7 +6563,6 @@ class FHFieldPickListComponent {
|
|
|
6563
6563
|
registerOnTouched(fn) {
|
|
6564
6564
|
this.onTouched = fn;
|
|
6565
6565
|
}
|
|
6566
|
-
focus() { }
|
|
6567
6566
|
open_pick_list() {
|
|
6568
6567
|
let dialogRef = this.m_dialog.open(FHWinListComponent, {
|
|
6569
6568
|
width: '90%',
|
|
@@ -6585,17 +6584,16 @@ class FHFieldPickListComponent {
|
|
|
6585
6584
|
dialogRef.afterClosed().subscribe((result) => {
|
|
6586
6585
|
this.value = '';
|
|
6587
6586
|
if (result != null && result != '') {
|
|
6588
|
-
for (
|
|
6587
|
+
for (const element of result) {
|
|
6589
6588
|
if (this.value != '')
|
|
6590
6589
|
this.value += this.separator;
|
|
6591
|
-
this.value +=
|
|
6590
|
+
this.value += element.descrizione_valore;
|
|
6592
6591
|
}
|
|
6593
6592
|
}
|
|
6594
6593
|
this.writeValue(this.value);
|
|
6595
6594
|
this.selchange.emit(result);
|
|
6596
6595
|
});
|
|
6597
6596
|
}
|
|
6598
|
-
ngAfterViewInit() { }
|
|
6599
6597
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: FHFieldPickListComponent, deps: [{ token: i1$2.MatDialog }, { token: i3$2.TranslateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
6600
6598
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type: FHFieldPickListComponent, isStandalone: true, selector: "FHFieldPickList", inputs: { sql: "sql", types: "types", values: "values", hidden: "hidden", only_in_list: "only_in_list", single_sel: "single_sel", label: "label", enabled: "enabled", required: "required", db_type: "db_type", separator: "separator", value: "value" }, outputs: { selchange: "selchange" }, providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$6], ngImport: i0, template: `
|
|
6601
6599
|
<div
|
|
@@ -14562,8 +14560,6 @@ class FHNotesPanelComponent {
|
|
|
14562
14560
|
this.m_file = m_file;
|
|
14563
14561
|
this._tsr = _tsr;
|
|
14564
14562
|
}
|
|
14565
|
-
init_v() {
|
|
14566
|
-
}
|
|
14567
14563
|
edit_comm(event) {
|
|
14568
14564
|
this.b_edit = true;
|
|
14569
14565
|
this.b_ins = false;
|
|
@@ -14612,10 +14608,10 @@ class FHNotesPanelComponent {
|
|
|
14612
14608
|
if (data != null)
|
|
14613
14609
|
if (data.result_msg == 'OK') {
|
|
14614
14610
|
this.commenti_list = data.result_data;
|
|
14615
|
-
for (
|
|
14616
|
-
|
|
14611
|
+
for (const element of this.commenti_list) {
|
|
14612
|
+
element.v_commento =
|
|
14617
14613
|
'<b>' +
|
|
14618
|
-
|
|
14614
|
+
element.commento.replace(/\n/g, '<br/>') +
|
|
14619
14615
|
'</b>';
|
|
14620
14616
|
}
|
|
14621
14617
|
this.title = this._tsr.instant('COMMENTI');
|
|
@@ -14709,7 +14705,6 @@ class FHNotesPanelComponent {
|
|
|
14709
14705
|
}
|
|
14710
14706
|
});
|
|
14711
14707
|
}
|
|
14712
|
-
ngAfterViewInit() { }
|
|
14713
14708
|
ins() {
|
|
14714
14709
|
this.nota = '';
|
|
14715
14710
|
this.b_edit = true;
|
|
@@ -16207,7 +16202,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
|
|
|
16207
16202
|
args: [MAT_DIALOG_DATA]
|
|
16208
16203
|
}] }] });
|
|
16209
16204
|
|
|
16210
|
-
class
|
|
16205
|
+
class FHWinComboComponent {
|
|
16211
16206
|
dialogRef;
|
|
16212
16207
|
toastr;
|
|
16213
16208
|
data;
|
|
@@ -16260,8 +16255,8 @@ class FHWinCombo {
|
|
|
16260
16255
|
}
|
|
16261
16256
|
}
|
|
16262
16257
|
ngAfterViewInit() { }
|
|
16263
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type:
|
|
16264
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type:
|
|
16258
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: FHWinComboComponent, deps: [{ token: i1$2.MatDialogRef }, { token: i3.ToastrService }, { token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component });
|
|
16259
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type: FHWinComboComponent, isStandalone: true, selector: "FHWinComboComponent", viewQueries: [{ propertyName: "cmb_sel", first: true, predicate: ["cmb_sel"], descendants: true }], ngImport: i0, template: `
|
|
16265
16260
|
<div fxLayout="column">
|
|
16266
16261
|
<div fxLayout="row" class="dialog_header">
|
|
16267
16262
|
<div
|
|
@@ -16305,10 +16300,10 @@ class FHWinCombo {
|
|
|
16305
16300
|
</div>
|
|
16306
16301
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i10.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i1$2.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i1$2.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3$2.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i6.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i6.MatLabel, selector: "mat-label" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i6$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i6$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i6$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: FHComboboxComponent, selector: "FHComboBox", inputs: ["error", "init_fill", "sql", "types", "values", "hidden", "disableTranslation", "label", "enabled", "required", "load_delay", "show_empty", "sel_label", "tooltip", "option_values", "valDef", "db_type"], outputs: ["fillend", "selchange", "initend"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i7.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }] });
|
|
16307
16302
|
}
|
|
16308
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type:
|
|
16303
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: FHWinComboComponent, decorators: [{
|
|
16309
16304
|
type: Component,
|
|
16310
16305
|
args: [{
|
|
16311
|
-
selector: "
|
|
16306
|
+
selector: "FHWinComboComponent",
|
|
16312
16307
|
imports: [
|
|
16313
16308
|
CommonModule,
|
|
16314
16309
|
MatDialogModule,
|
|
@@ -16691,7 +16686,7 @@ class FHUploadPanelComponent {
|
|
|
16691
16686
|
this._dataService.doQuery(p).subscribe((data) => {
|
|
16692
16687
|
if (data != null)
|
|
16693
16688
|
if (data.result_msg == 'OK') {
|
|
16694
|
-
let dialogRef = this.dialog.open(
|
|
16689
|
+
let dialogRef = this.dialog.open(FHWinComboComponent, { width: '650px' });
|
|
16695
16690
|
setTimeout(() => {
|
|
16696
16691
|
dialogRef.componentInstance.set_selection('Tipologia Allegato', data.result_data);
|
|
16697
16692
|
});
|
|
@@ -18766,7 +18761,7 @@ class FHUploadPanelS3Component {
|
|
|
18766
18761
|
this._dataService.doQuery(p).subscribe((data) => {
|
|
18767
18762
|
if (data != null)
|
|
18768
18763
|
if (data.result_msg == "OK") {
|
|
18769
|
-
let dialogRef = this.dialog.open(
|
|
18764
|
+
let dialogRef = this.dialog.open(FHWinComboComponent);
|
|
18770
18765
|
setTimeout(() => {
|
|
18771
18766
|
dialogRef.componentInstance.set_selection(this.tsr.instant("Tipologia Allegato"), data.result_data);
|
|
18772
18767
|
});
|
|
@@ -20125,7 +20120,6 @@ class FHWinUserPickerComponent {
|
|
|
20125
20120
|
selchange(o) {
|
|
20126
20121
|
this.user_sel = o;
|
|
20127
20122
|
}
|
|
20128
|
-
ngAfterViewInit() { }
|
|
20129
20123
|
user_picker;
|
|
20130
20124
|
filtra() {
|
|
20131
20125
|
if (this.user_picker)
|
|
@@ -20285,29 +20279,29 @@ class FHUserFieldComponent {
|
|
|
20285
20279
|
}
|
|
20286
20280
|
getUsersNc() {
|
|
20287
20281
|
let s_nc = "";
|
|
20288
|
-
for (
|
|
20282
|
+
for (const element of this.selectedUser) {
|
|
20289
20283
|
if (s_nc != "")
|
|
20290
20284
|
s_nc = s_nc + ",";
|
|
20291
20285
|
s_nc =
|
|
20292
|
-
s_nc + `${
|
|
20286
|
+
s_nc + `${element.cognome} ${element.nome}`;
|
|
20293
20287
|
}
|
|
20294
20288
|
return s_nc;
|
|
20295
20289
|
}
|
|
20296
20290
|
getUsersEmail() {
|
|
20297
20291
|
let s_nc = "";
|
|
20298
|
-
for (
|
|
20292
|
+
for (const element of this.selectedUser) {
|
|
20299
20293
|
if (s_nc != "")
|
|
20300
20294
|
s_nc = s_nc + ",";
|
|
20301
|
-
s_nc = s_nc + `${
|
|
20295
|
+
s_nc = s_nc + `${element.email}`;
|
|
20302
20296
|
}
|
|
20303
20297
|
return s_nc;
|
|
20304
20298
|
}
|
|
20305
20299
|
getUsersUsername() {
|
|
20306
20300
|
let s_nc = "";
|
|
20307
|
-
for (
|
|
20301
|
+
for (const element of this.selectedUser) {
|
|
20308
20302
|
if (s_nc != "")
|
|
20309
20303
|
s_nc = s_nc + ",";
|
|
20310
|
-
s_nc = s_nc + `${
|
|
20304
|
+
s_nc = s_nc + `${element.username}`;
|
|
20311
20305
|
}
|
|
20312
20306
|
return s_nc;
|
|
20313
20307
|
}
|
|
@@ -20345,10 +20339,10 @@ class FHUserFieldComponent {
|
|
|
20345
20339
|
return;
|
|
20346
20340
|
let a = emails.split(",");
|
|
20347
20341
|
let s_nc = "";
|
|
20348
|
-
for (
|
|
20342
|
+
for (const element of a) {
|
|
20349
20343
|
if (s_nc != "")
|
|
20350
20344
|
s_nc = s_nc + ",";
|
|
20351
|
-
s_nc = s_nc + "'" +
|
|
20345
|
+
s_nc = s_nc + "'" + element + "'";
|
|
20352
20346
|
}
|
|
20353
20347
|
if (s_nc == "")
|
|
20354
20348
|
return;
|
|
@@ -20375,10 +20369,10 @@ class FHUserFieldComponent {
|
|
|
20375
20369
|
return;
|
|
20376
20370
|
let a = username.split(",");
|
|
20377
20371
|
let s_nc = "";
|
|
20378
|
-
for (
|
|
20372
|
+
for (const element of a) {
|
|
20379
20373
|
if (s_nc != "")
|
|
20380
20374
|
s_nc = s_nc + ",";
|
|
20381
|
-
s_nc = s_nc + "'" +
|
|
20375
|
+
s_nc = s_nc + "'" + element + "'";
|
|
20382
20376
|
}
|
|
20383
20377
|
const param = {
|
|
20384
20378
|
sql: "SELECT_USERS_INFOS_BY_USERNAME_NOREP",
|
|
@@ -20409,9 +20403,7 @@ class FHUserFieldComponent {
|
|
|
20409
20403
|
};
|
|
20410
20404
|
this.dataservice.doQuery(param).subscribe((data) => {
|
|
20411
20405
|
this.all_user = data.result_data;
|
|
20412
|
-
|
|
20413
|
-
this.all_user = [];
|
|
20414
|
-
}
|
|
20406
|
+
this.all_user ??= [];
|
|
20415
20407
|
this.open_pick();
|
|
20416
20408
|
});
|
|
20417
20409
|
}
|
|
@@ -20427,7 +20419,8 @@ class FHUserFieldComponent {
|
|
|
20427
20419
|
if (!this.enabled)
|
|
20428
20420
|
return;
|
|
20429
20421
|
let dialogRef = this.dialog.open(FHWinUserPickerComponent, {
|
|
20430
|
-
disableClose: true
|
|
20422
|
+
disableClose: true,
|
|
20423
|
+
width: '700px'
|
|
20431
20424
|
});
|
|
20432
20425
|
setTimeout(() => {
|
|
20433
20426
|
dialogRef.componentInstance.user_sel = this.selectedUser;
|
|
@@ -35683,5 +35676,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImpor
|
|
|
35683
35676
|
* Generated bundle index. Do not edit.
|
|
35684
35677
|
*/
|
|
35685
35678
|
|
|
35686
|
-
export { AppMakerService, AppService, ApprovaGridComponent, AuthHttpRequestInterceptor, AuthenticationService, CheckboxEditorComponent, ComboBoxEditorComponent, CurrencyComponent, FHAutoCompleteComponent, FHCheckBoxComponent, FHColorPickerComponent, FHComboboxComponent, FHConfirmValues, FHCurrencyFormatterDirective, FHCurrencyPipe, FHDatePickerComponent, FHDateRangePickerComponent, FHFieldPickListComponent, FHFilterComboboxComponent, FHFormBuilderComponent, FHFormExecuterComponent, FHFormToolBarComponent, FHGridComponent, FHGridJSONComponent, FHGridToolBarComponent, FHGuard, FHHelpButtonComponent, FHImageViewerComponent, FHListComponent, FHLogPanelComponent, FHMultiComboboxComponent, FHNotesPanelComponent, FHNumericFieldComponent, FHPickFieldComponent, FHPickUsersComponent, FHRichTextComponent, FHRoleManagerComponent, FHTableManagerComponent, FHTextAreaComponent, FHTextInputComponent, FHTimePickerComponent, FHUploadComponent, FHUploadPanelComponent, FHUploadPanelS3Component, FHUploadS3Component, FHUserFieldComponent, FHWinAppLogsComponent, FHWinAskBigTextComponent, FHWinAskButtonsComponent, FHWinAskNumberComponent, FHWinAskRichTextComponent, FHWinAskTextComponent, FHWinAutoComplete,
|
|
35679
|
+
export { AppMakerService, AppService, ApprovaGridComponent, AuthHttpRequestInterceptor, AuthenticationService, CheckboxEditorComponent, ComboBoxEditorComponent, CurrencyComponent, FHAutoCompleteComponent, FHCheckBoxComponent, FHColorPickerComponent, FHComboboxComponent, FHConfirmValues, FHCurrencyFormatterDirective, FHCurrencyPipe, FHDatePickerComponent, FHDateRangePickerComponent, FHFieldPickListComponent, FHFilterComboboxComponent, FHFormBuilderComponent, FHFormExecuterComponent, FHFormToolBarComponent, FHGridComponent, FHGridJSONComponent, FHGridToolBarComponent, FHGuard, FHHelpButtonComponent, FHImageViewerComponent, FHListComponent, FHLogPanelComponent, FHMultiComboboxComponent, FHNotesPanelComponent, FHNumericFieldComponent, FHPickFieldComponent, FHPickUsersComponent, FHRichTextComponent, FHRoleManagerComponent, FHTableManagerComponent, FHTextAreaComponent, FHTextInputComponent, FHTimePickerComponent, FHUploadComponent, FHUploadPanelComponent, FHUploadPanelS3Component, FHUploadS3Component, FHUserFieldComponent, FHWinAppLogsComponent, FHWinAskBigTextComponent, FHWinAskButtonsComponent, FHWinAskNumberComponent, FHWinAskRichTextComponent, FHWinAskTextComponent, FHWinAutoComplete, FHWinComboComponent, FHWinConfirmComponent, FHWinErrorComponent, FHWinListComponent, FHWinMappaComponent, FHWinOutputComponent, FHWinPicklistComponent, FHWinSelectByGridComponent, FHWinUploadComponent, FHWinUserPickerComponent, FSInput, FSResult, FileService, GridService, LocalDBService, NumericEditorComponent, OdbcService, OfficeAutomatorService, OfficeOperation, OfficeResult, QGParam, QGResult, QParam, QResult, QueryService, ReplaceLineBreaks, SafePipe, TextAreaEditorComponent, UtilityService, WkfService, dati_aggiuntivi_v2, fh_win_grid_selection, fh_win_show_email, fh_win_show_email_s3, fh_win_show_image, fh_win_show_log, fh_win_show_log_dett, fh_win_time_slider, fh_win_user_info, fh_win_wait, win_salva_annulla_v2, wkf_header_bar_v2, wkfapp_v2 };
|
|
35687
35680
|
//# sourceMappingURL=fluxhub-fluxhub-lib.mjs.map
|