@fluxhub/fluxhub-lib 9.0.23 → 9.0.25
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 +60 -60
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +2 -2
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/lib/controls/fhconfirm.js +22 -12
- package/esm2015/lib/fluxhub-lib.module.js +3 -9
- package/esm2015/lib/models/FHConfirmValues.js +7 -0
- package/esm2015/lib/models/FSInput.js +3 -9
- package/esm2015/lib/models/FSResult.js +3 -9
- package/esm2015/lib/models/QGParam.js +3 -9
- package/esm2015/lib/models/QGResult.js +3 -9
- package/esm2015/lib/models/QParam.js +3 -9
- package/esm2015/lib/models/QResult.js +3 -9
- package/esm2015/public_api.js +2 -1
- package/esm5/lib/controls/fhconfirm.js +22 -12
- package/esm5/lib/fluxhub-lib.module.js +3 -9
- package/esm5/lib/models/FHConfirmValues.js +9 -0
- package/esm5/lib/models/FSInput.js +1 -6
- package/esm5/lib/models/FSResult.js +1 -6
- package/esm5/lib/models/QGParam.js +1 -6
- package/esm5/lib/models/QGResult.js +1 -6
- package/esm5/lib/models/QParam.js +1 -6
- package/esm5/lib/models/QResult.js +1 -6
- package/esm5/public_api.js +2 -1
- package/fesm2015/fluxhub-fluxhub-lib.js +60 -62
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +61 -62
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhconfirm.d.ts +3 -1
- package/lib/models/FHConfirmValues.d.ts +4 -0
- package/package.json +1 -1
- package/public_api.d.ts +1 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __decorate, __metadata, __read, __extends, __param, __assign } from 'tslib';
|
|
2
|
-
import { ɵɵdefineInjectable, Injectable,
|
|
2
|
+
import { ɵɵdefineInjectable, Injectable, ɵɵinject, ViewChild, ViewContainerRef, Component, Directive, EventEmitter, Input, Output, Inject, ElementRef, forwardRef, HostListener, Pipe, PLATFORM_ID, Optional, NgModule } from '@angular/core';
|
|
3
3
|
import { HttpHeaders, HttpClient } from '@angular/common/http';
|
|
4
4
|
import { ToastrService } from 'ngx-toastr';
|
|
5
5
|
import { map, catchError, flatMap } from 'rxjs/operators';
|
|
@@ -164,9 +164,6 @@ var AppService = /** @class */ (function () {
|
|
|
164
164
|
var QGResult = /** @class */ (function () {
|
|
165
165
|
function QGResult() {
|
|
166
166
|
}
|
|
167
|
-
QGResult = __decorate([
|
|
168
|
-
Component({ template: " " })
|
|
169
|
-
], QGResult);
|
|
170
167
|
return QGResult;
|
|
171
168
|
}());
|
|
172
169
|
|
|
@@ -362,40 +359,6 @@ var AppMakerService = /** @class */ (function () {
|
|
|
362
359
|
return AppMakerService;
|
|
363
360
|
}());
|
|
364
361
|
|
|
365
|
-
var QResult = /** @class */ (function () {
|
|
366
|
-
function QResult() {
|
|
367
|
-
this.result_data = new Array();
|
|
368
|
-
}
|
|
369
|
-
QResult = __decorate([
|
|
370
|
-
Component({ template: " " })
|
|
371
|
-
], QResult);
|
|
372
|
-
return QResult;
|
|
373
|
-
}());
|
|
374
|
-
|
|
375
|
-
var QParam = /** @class */ (function () {
|
|
376
|
-
function QParam() {
|
|
377
|
-
this.values = new Array();
|
|
378
|
-
this.types = new Array();
|
|
379
|
-
this.names = new Array();
|
|
380
|
-
}
|
|
381
|
-
QParam = __decorate([
|
|
382
|
-
Component({ template: " " })
|
|
383
|
-
], QParam);
|
|
384
|
-
return QParam;
|
|
385
|
-
}());
|
|
386
|
-
|
|
387
|
-
var FSInput = /** @class */ (function () {
|
|
388
|
-
function FSInput() {
|
|
389
|
-
this.command = "";
|
|
390
|
-
this.p1 = "";
|
|
391
|
-
this.p2 = "";
|
|
392
|
-
}
|
|
393
|
-
FSInput = __decorate([
|
|
394
|
-
Component({ template: " " })
|
|
395
|
-
], FSInput);
|
|
396
|
-
return FSInput;
|
|
397
|
-
}());
|
|
398
|
-
|
|
399
362
|
var UtilityService = /** @class */ (function () {
|
|
400
363
|
function UtilityService(app_s) {
|
|
401
364
|
this.app_s = app_s;
|
|
@@ -1540,43 +1503,69 @@ var CurrencyComponent = /** @class */ (function () {
|
|
|
1540
1503
|
return CurrencyComponent;
|
|
1541
1504
|
}());
|
|
1542
1505
|
|
|
1506
|
+
var FHConfirmValues = /** @class */ (function () {
|
|
1507
|
+
function FHConfirmValues() {
|
|
1508
|
+
this.title_dialog = "";
|
|
1509
|
+
this.msg_dialog = "";
|
|
1510
|
+
}
|
|
1511
|
+
return FHConfirmValues;
|
|
1512
|
+
}());
|
|
1513
|
+
|
|
1543
1514
|
/**
|
|
1544
1515
|
* A Sample of how simple it is to create a new window, with its own injects.
|
|
1545
1516
|
*/
|
|
1546
1517
|
var FHConfirmComponent = /** @class */ (function () {
|
|
1547
|
-
function FHConfirmComponent(dialogRef, app_s) {
|
|
1518
|
+
function FHConfirmComponent(dialogRef, app_s, conf) {
|
|
1548
1519
|
this.dialogRef = dialogRef;
|
|
1549
1520
|
this.app_s = app_s;
|
|
1521
|
+
this.conf = conf;
|
|
1550
1522
|
this.title = "";
|
|
1551
1523
|
this.msg = "";
|
|
1552
1524
|
this.confirm_mgs = "CONFERMA";
|
|
1553
1525
|
this.annulla_mgs = "ANNULLA";
|
|
1554
|
-
|
|
1555
|
-
|
|
1526
|
+
if (conf == null) {
|
|
1527
|
+
this.title = localStorage.getItem(this.app_s.COMPANY_KEY + "title_dialog");
|
|
1528
|
+
this.msg = localStorage.getItem(this.app_s.COMPANY_KEY + "msg_dialog");
|
|
1529
|
+
return;
|
|
1530
|
+
}
|
|
1531
|
+
this.title = conf.title_dialog;
|
|
1532
|
+
this.msg = conf.msg_dialog;
|
|
1556
1533
|
}
|
|
1557
|
-
FHConfirmComponent.prototype.close = function () {
|
|
1534
|
+
FHConfirmComponent.prototype.close = function () {
|
|
1535
|
+
this.dialogRef.close(null);
|
|
1536
|
+
};
|
|
1558
1537
|
FHConfirmComponent.prototype.setTitle = function (texto) {
|
|
1559
1538
|
this.title = texto;
|
|
1560
1539
|
};
|
|
1561
1540
|
FHConfirmComponent.prototype.setMsg = function (texto) {
|
|
1562
1541
|
this.msg = texto;
|
|
1563
1542
|
};
|
|
1564
|
-
FHConfirmComponent.prototype.ngAfterViewInit = function () {
|
|
1565
|
-
};
|
|
1543
|
+
FHConfirmComponent.prototype.ngAfterViewInit = function () { };
|
|
1566
1544
|
FHConfirmComponent.ctorParameters = function () { return [
|
|
1567
1545
|
{ type: MatDialogRef },
|
|
1568
|
-
{ type: AppService }
|
|
1546
|
+
{ type: AppService },
|
|
1547
|
+
{ type: FHConfirmValues, decorators: [{ type: Inject, args: [MAT_DIALOG_DATA,] }] }
|
|
1569
1548
|
]; };
|
|
1570
1549
|
FHConfirmComponent = __decorate([
|
|
1571
1550
|
Component({
|
|
1572
1551
|
template: "\n\n <h1 mat-dialog-title>{{title}}</h1>\n <div mat-dialog-content style=\"font-size:12px\">{{msg}}</div>\n <div mat-dialog-actions>\n <button mat-button (click)=\"dialogRef.close(true)\" color=\"primary\">{{confirm_mgs}}</button>\n <button mat-button (click)=\"dialogRef.close(false)\" color=\"warn\">{{annulla_mgs}}</button>\n </div>\n ",
|
|
1573
1552
|
styles: ["\n "]
|
|
1574
1553
|
}),
|
|
1575
|
-
|
|
1554
|
+
__param(2, Inject(MAT_DIALOG_DATA)),
|
|
1555
|
+
__metadata("design:paramtypes", [MatDialogRef, AppService, FHConfirmValues])
|
|
1576
1556
|
], FHConfirmComponent);
|
|
1577
1557
|
return FHConfirmComponent;
|
|
1578
1558
|
}());
|
|
1579
1559
|
|
|
1560
|
+
var QParam = /** @class */ (function () {
|
|
1561
|
+
function QParam() {
|
|
1562
|
+
this.values = new Array();
|
|
1563
|
+
this.types = new Array();
|
|
1564
|
+
this.names = new Array();
|
|
1565
|
+
}
|
|
1566
|
+
return QParam;
|
|
1567
|
+
}());
|
|
1568
|
+
|
|
1580
1569
|
var FHListComponent = /** @class */ (function () {
|
|
1581
1570
|
function FHListComponent(_dataService) {
|
|
1582
1571
|
this._dataService = _dataService;
|
|
@@ -3379,9 +3368,6 @@ var QGParam = /** @class */ (function () {
|
|
|
3379
3368
|
this.filter = "";
|
|
3380
3369
|
this.system_dest = 1;
|
|
3381
3370
|
}
|
|
3382
|
-
QGParam = __decorate([
|
|
3383
|
-
Component({ template: " " })
|
|
3384
|
-
], QGParam);
|
|
3385
3371
|
return QGParam;
|
|
3386
3372
|
}());
|
|
3387
3373
|
|
|
@@ -4878,6 +4864,15 @@ var wkfapp = /** @class */ (function () {
|
|
|
4878
4864
|
return wkfapp;
|
|
4879
4865
|
}());
|
|
4880
4866
|
|
|
4867
|
+
var FSInput = /** @class */ (function () {
|
|
4868
|
+
function FSInput() {
|
|
4869
|
+
this.command = "";
|
|
4870
|
+
this.p1 = "";
|
|
4871
|
+
this.p2 = "";
|
|
4872
|
+
}
|
|
4873
|
+
return FSInput;
|
|
4874
|
+
}());
|
|
4875
|
+
|
|
4881
4876
|
var OfficeOperation = /** @class */ (function () {
|
|
4882
4877
|
function OfficeOperation() {
|
|
4883
4878
|
}
|
|
@@ -9641,16 +9636,6 @@ var win_log = /** @class */ (function () {
|
|
|
9641
9636
|
return win_log;
|
|
9642
9637
|
}());
|
|
9643
9638
|
|
|
9644
|
-
var FSResult = /** @class */ (function () {
|
|
9645
|
-
function FSResult() {
|
|
9646
|
-
this.result_data = new Array();
|
|
9647
|
-
}
|
|
9648
|
-
FSResult = __decorate([
|
|
9649
|
-
Component({ template: " " })
|
|
9650
|
-
], FSResult);
|
|
9651
|
-
return FSResult;
|
|
9652
|
-
}());
|
|
9653
|
-
|
|
9654
9639
|
var LocalDBService = /** @class */ (function () {
|
|
9655
9640
|
function LocalDBService(uti, app) {
|
|
9656
9641
|
this.uti = uti;
|
|
@@ -14097,14 +14082,14 @@ var FluxhubLibModule = /** @class */ (function () {
|
|
|
14097
14082
|
FHUserPickerComponent, ApprovaGridComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, win_mappa, win_grid_help, TextAreaEditor,
|
|
14098
14083
|
ComboBoxEditor, FHListComponent, FHWinComboSelect, ReplaceLineBreaks, WinAskTextComponent, FHPickListComponent, WinAskNumberComponent,
|
|
14099
14084
|
FHMdReader, FHLogPanelComponent, WinAskTextBigComponent, FHCurrencyFieldComponent, FHRichText, WinOutputComponent, FHNumericFieldComponent, wkf_header_bar,
|
|
14100
|
-
FHListPick, WinWait, FHUserFieldComponent,
|
|
14085
|
+
FHListPick, WinWait, FHUserFieldComponent, FHGridJSONComponent, win_salva_annulla, FormBuilderComponent, FormExecuterComponent, FHTableManager],
|
|
14101
14086
|
declarations: [FHHelpButton, win_user_info, win_insert_commento, FHRoleManager, FHFieldPickListComponent, SafePipe, FHViewerComponent,
|
|
14102
14087
|
fhimagepreview, win_show_image, WinAskButtonsComponent, FHGridToolBarComponent, win_time_slider, DecimalMask, FHTimePickerComponent, CurrencyComponent, FHUploadPanelComponent, FHUploadComponent, wkf_header_bar,
|
|
14103
14088
|
FHGridComponent, FHComboboxComponent, FHConfirmComponent, FHAutoCompleteComponent, FHDatePickerComponent, NumericEditorComponent,
|
|
14104
14089
|
FHUserPickerComponent, ApprovaGridComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, win_mappa, win_grid_help, TextAreaEditor,
|
|
14105
14090
|
ComboBoxEditor, FHListComponent, FHWinComboSelect, ReplaceLineBreaks, WinAskTextComponent, FHPickListComponent, WinAskNumberComponent,
|
|
14106
14091
|
FHMdReader, FHLogPanelComponent, WinAskTextBigComponent, FHCurrencyFieldComponent, FHRichText, WinOutputComponent, FHNumericFieldComponent,
|
|
14107
|
-
FHListPick, WinWait, FHUserFieldComponent,
|
|
14092
|
+
FHListPick, WinWait, FHUserFieldComponent, win_salva_annulla, win_assegna,
|
|
14108
14093
|
win_conferma, win_select_canale, win_select_level, win_uploads, win_commenti, win_info_doc, win_log, win_recupera_doc, win_riassegna_select_level,
|
|
14109
14094
|
win_riassegna_select_user, win_sostituisci_utente, win_commento_sel_notif, FHGridJSONComponent, FormBuilderComponent, FormExecuterComponent, FHTableManager, win_manage_values, win_manage_roles, FHComboboxComponentFilter],
|
|
14110
14095
|
providers: [HighlightService, DragulaService
|
|
@@ -14280,6 +14265,20 @@ var FHGuard = /** @class */ (function () {
|
|
|
14280
14265
|
return FHGuard;
|
|
14281
14266
|
}());
|
|
14282
14267
|
|
|
14268
|
+
var QResult = /** @class */ (function () {
|
|
14269
|
+
function QResult() {
|
|
14270
|
+
this.result_data = new Array();
|
|
14271
|
+
}
|
|
14272
|
+
return QResult;
|
|
14273
|
+
}());
|
|
14274
|
+
|
|
14275
|
+
var FSResult = /** @class */ (function () {
|
|
14276
|
+
function FSResult() {
|
|
14277
|
+
this.result_data = new Array();
|
|
14278
|
+
}
|
|
14279
|
+
return FSResult;
|
|
14280
|
+
}());
|
|
14281
|
+
|
|
14283
14282
|
/*
|
|
14284
14283
|
* Public API Surface of fluxhub-lib
|
|
14285
14284
|
*/
|
|
@@ -14288,5 +14287,5 @@ var FHGuard = /** @class */ (function () {
|
|
|
14288
14287
|
* Generated bundle index. Do not edit.
|
|
14289
14288
|
*/
|
|
14290
14289
|
|
|
14291
|
-
export { AppMakerService, AppService, ApprovaGridComponent, AuthenticationService, ComboBoxEditor, CurrencyComponent, FHAutoCompleteComponent, FHComboboxComponent, FHConfirmComponent, 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 };
|
|
14290
|
+
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 };
|
|
14292
14291
|
//# sourceMappingURL=fluxhub-fluxhub-lib.js.map
|