@fluxhub/fluxhub-lib 1.0.521 → 1.0.523
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 +113 -27
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/fluxhub-fluxhub-lib.js +25 -24
- package/esm2015/lib/controls/fhgrid.js +2 -2
- package/esm2015/lib/controls/fhhelpbutton.js +119 -0
- package/esm2015/lib/fluxhub-lib.module.js +4 -3
- package/esm5/fluxhub-fluxhub-lib.js +25 -24
- package/esm5/lib/controls/fhgrid.js +2 -2
- package/esm5/lib/controls/fhhelpbutton.js +110 -0
- package/esm5/lib/fluxhub-lib.module.js +4 -3
- package/fesm2015/fluxhub-fluxhub-lib.js +99 -4
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +89 -4
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.d.ts +25 -24
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhhelpbutton.d.ts +12 -0
- package/package.json +1 -1
|
@@ -8494,7 +8494,7 @@
|
|
|
8494
8494
|
FHGridComponent.decorators = [
|
|
8495
8495
|
{ type: core.Component, args: [{
|
|
8496
8496
|
selector: 'FHGrid',
|
|
8497
|
-
template: "\r\n<div fxLayout=\"column\" fxFlexFill>\r\n\r\n <div fxLayout=\"row\" fxLayout.xs=\"column\" fxLayoutAlign=\"start
|
|
8497
|
+
template: "\r\n<div fxLayout=\"column\" fxFlexFill>\r\n\r\n <div fxLayout=\"row\" fxLayout.xs=\"column\" fxLayoutAlign=\"center start\" fxLayoutGap=\"3px\" style=\"min-height: 55px\" [hidden]=\"!show_buttons\">\r\n <div fxLayout=\"row\" fxLayoutGap=\"3px\" fxLayoutAlign=\"start center\" >\r\n <div>\r\n\t\t \t\t<h5>{{num_r}} {{label_elementi}}</h5>\r\n </div>\r\n \r\n\r\n\t\t\t<div fxLayout=\"row\" fxLayoutAlign=\"start center\">\t<input matInput [placeholder]=\"trova_label\" (keydown)=\"keyDownFunctioncl($event)\" [(ngModel)]=\"ric_libera\"\r\n\t\t\t\t\t\t\t style=\"min-width:100px;max-width:180px;border:1px solid;min-height:30px\"></div>\r\n <div matTooltip=\"REMOVE FILTER\" matTooltipPosition=\"above\" *ngIf=\"show_pulisci_filtri\" >\r\n \t\t\t<button mat-flat-button (click)=\"pulisci_filtri()\" color=\"warn\">\r\n\t\t\t\t<mat-icon>filter_none</mat-icon> \r\n\t\t\t</button>\r\n </div>\r\n <div fxHide fxShow.gt-sm matTooltip=\"AUTO SIZE\" matTooltipPosition=\"above\">\r\n \t\t\t<button mat-flat-button (click)=\"autoSizeAll()\" color=\"primary\"\r\n *ngIf=\"show_buttons\">\r\n\t\t\t\t<mat-icon>compare_arrows</mat-icon>\r\n\t\t\t</button>\r\n </div>\r\n <div fxHide fxShow.gt-sm matTooltip=\"FIT SIZE\" matTooltipPosition=\"above\">\r\n\t \t\t<button mat-flat-button (click)=\"fitSizeAll()\" color=\"primary\"\r\n *ngIf=\"show_buttons\">\r\n\t\t\t\t<mat-icon>keyboard_tab</mat-icon>\r\n\t\t\t</button>\r\n </div>\r\n <div fxHide fxShow.gt-sm matTooltip=\"Refresh\" matTooltipPosition=\"above\">\r\n <button mat-flat-button (click)=\"Refresh()\" color=\"primary\"\r\n *ngIf=\"show_buttons\">\r\n <mat-icon>autorenew</mat-icon>\r\n </button>\r\n </div>\r\n <FHFilterComboBox fxHide fxShow.gt-sm [hidden]='!show_buttons' (selchange)=\"ch_config()\" (fillend)=\"fe_cfg()\" #gf init_fill=\"false\"></FHFilterComboBox>\r\n\t\t\t\t<div matTooltip=\"Modifica Preferenza\" matTooltipPosition=\"above\" *ngIf=\"curr_config!='-1'\">\r\n\t\t\t\t\t<button mat-icon-button *ngIf=\"show_buttons\"\r\n\t\t\t\t\t\t\t\t\tstyle=\"color:rgb(248, 105, 10)\">\r\n\t\t\t\t\t\t<mat-icon (click)=\"edit_config()\">save</mat-icon>\r\n </button>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div fxHide fxShow.gt-sm matTooltip=\"Crea Nuova Preferenza\" matTooltipPosition=\"above\">\r\n\t\t\t\t\t<button mat-icon-button style=\"color:rgb(16, 98, 16)\" *ngIf=\"show_buttons\">\r\n\t\t\t\t\t\t<mat-icon (click)=\"insert_config()\">library_add</mat-icon>\r\n\t\t\t\t\t</button>\r\n\t\t\t\t</div>\r\n\r\n <mat-slide-toggle fxHide fxShow.gt-sm [hidden]='!show_buttons' (click)=\"ck_flag()\" #toggle_mantieni>\r\n\t\t\t\t\t{{mantieni_impostazioni}}\r\n\t\t\t\t</mat-slide-toggle>\r\n\r\n\r\n \t \t<div fxHide fxShow.gt-sm matTooltip=\"HELP\" matTooltipPosition=\"above\">\r\n <button mat-flat-button (click)=\"help_window()\" color=\"primary\" *ngIf=\"show_buttons && show_help\" >\r\n\t\t\t<mat-icon>help</mat-icon>\r\n </button></div> \r\n <div *ngIf=\"abilita_export\" matTooltip=\"EXPORT EXCEL\" matTooltipPosition=\"above\">\r\n <img src=\"assets/icons/square-o/xlsx.svg\" style=\"width:24px;height: 24px;cursor:pointer;\" (click)=\"export_excel()\" alt=\"Export Excel\">\r\n </div>\r\n </div>\r\n <div fxLayout=\"row\" fxLayoutAlign=\"end center\" style=\"width: 100%;\">\r\n <FHGridToolBar (command)=\"docmd($event)\" [type]=\"toolbar_type\"\r\n\r\n [custom_commands]=\"toolbar_custom_commands\"\r\n [toolbar_wkfapp]=\"toolbar_wkfapp\"\r\n\r\n ></FHGridToolBar>\r\n\t\t</div>\r\n </div>\r\n\r\n <div fxLayout=\"row\" style=\"width:100%\" [fxFlex]=\"show_buttons ? 100:95\">\r\n<ag-grid-angular\r\n ref-agGrid\r\n style=\"width: 100%; height: 100%;\"\r\n id=\"myGrid\"\r\n\t\t\t\t\t\t\t\t (cellDoubleClicked)=\"onColumnEvent($event)\"\r\n (cellClicked)=\"onCellClicked($event)\"\r\n\t\t\t\t\t\t\t\t [headerHeight]=\"header_h\"\r\n [groupHeaderHeight]=\"header_h\"\r\n\r\n\t\t\t\t\t\t\t\t class=\"ag-theme-balham\"\r\n [singleClickEdit]=\"true\"\r\n [gridOptions]=\"gridOptions\"\r\n [columnDefs]=\"columnDefs\"\r\n\t\t\t\t\t\t\t\t [rowData]=\"rowData\"\r\n [getContextMenuItems]=\"abilita_export ? getContextMenuItems_e:getContextMenuItems_n_e\"\r\n\r\n (filterModified)=\"onFilterModified()\"\r\n\t\t\t\t\t\t\t\t (rowDoubleClicked)=\"onRowDClicked($event)\"\r\n\t\t\t\t\t\t\t\t (rowClicked)=\"onRowClicked($event)\"\r\n (columnVisible)=\"oncolumnEverythingChanged($event)\"\r\n\t\t\t\t\t\t\t\t (columnResized)=\"oncolumnEverythingChanged($event)\"\r\n\t\t\t\t\t\t\t\t (columnMoved)=\"oncolumnEverythingChanged($event)\"\r\n (cellValueChanged)=\"okr($event)\"\r\n\t\t\t\t\t\t\t\t (sortChanged)=\"onAfterSortChanged()\"\r\n [paginationPageSize]=\"num_per_pag\"\r\n (gridReady)=\"onReady($event)\">\r\n</ag-grid-angular>\r\n</div>\r\n</div>\r\n",
|
|
8498
8498
|
styles: ["\n\n "]
|
|
8499
8499
|
}] }
|
|
8500
8500
|
];
|
|
@@ -20292,6 +20292,91 @@
|
|
|
20292
20292
|
return win_user_info;
|
|
20293
20293
|
}());
|
|
20294
20294
|
|
|
20295
|
+
/**
|
|
20296
|
+
* @fileoverview added by tsickle
|
|
20297
|
+
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
20298
|
+
*/
|
|
20299
|
+
var FHHelpButton = /** @class */ (function () {
|
|
20300
|
+
function FHHelpButton(_dataService, _toast) {
|
|
20301
|
+
this._dataService = _dataService;
|
|
20302
|
+
this._toast = _toast;
|
|
20303
|
+
this.color = "#FFFFFF";
|
|
20304
|
+
this.bk_color = "#000000";
|
|
20305
|
+
this.hidden = false;
|
|
20306
|
+
this.key = "";
|
|
20307
|
+
}
|
|
20308
|
+
/**
|
|
20309
|
+
* @return {?}
|
|
20310
|
+
*/
|
|
20311
|
+
FHHelpButton.prototype.open_help = /**
|
|
20312
|
+
* @return {?}
|
|
20313
|
+
*/
|
|
20314
|
+
function () {
|
|
20315
|
+
var _this = this;
|
|
20316
|
+
if (this.key == '')
|
|
20317
|
+
return;
|
|
20318
|
+
/** @type {?} */
|
|
20319
|
+
var p = new QParam();
|
|
20320
|
+
p.sql = "SELECT_HELP_TEXT";
|
|
20321
|
+
p.types = ['string'];
|
|
20322
|
+
p.values = [this.key];
|
|
20323
|
+
this
|
|
20324
|
+
._dataService
|
|
20325
|
+
.doQuery(p)
|
|
20326
|
+
.subscribe((/**
|
|
20327
|
+
* @param {?} data
|
|
20328
|
+
* @return {?}
|
|
20329
|
+
*/
|
|
20330
|
+
function (data) {
|
|
20331
|
+
if (data != null)
|
|
20332
|
+
if (data.result_msg == "OK") {
|
|
20333
|
+
if (data.result_data.length > 0) {
|
|
20334
|
+
if (data.result_data[0].url == '') {
|
|
20335
|
+
_this._toast.error('help non disponibile: ' + _this.key);
|
|
20336
|
+
}
|
|
20337
|
+
if (data.result_data[0].t == 'L')
|
|
20338
|
+
window.open(data.result_data[0].url);
|
|
20339
|
+
if (data.result_data[0].t == 'I')
|
|
20340
|
+
_this._toast.info(data.result_data[0].url, "HELP", {
|
|
20341
|
+
timeOut: 5000,
|
|
20342
|
+
positionClass: 'toast-center-center'
|
|
20343
|
+
});
|
|
20344
|
+
}
|
|
20345
|
+
else {
|
|
20346
|
+
_this._toast.error('help non disponibile: ' + _this.key);
|
|
20347
|
+
/** @type {?} */
|
|
20348
|
+
var p_1 = new QParam();
|
|
20349
|
+
p_1.sql = "INSERT_HELP_TEXT";
|
|
20350
|
+
p_1.types = ['string'];
|
|
20351
|
+
p_1.values = [_this.key];
|
|
20352
|
+
_this
|
|
20353
|
+
._dataService
|
|
20354
|
+
.doQuery(p_1)
|
|
20355
|
+
.subscribe();
|
|
20356
|
+
}
|
|
20357
|
+
}
|
|
20358
|
+
}));
|
|
20359
|
+
};
|
|
20360
|
+
FHHelpButton.decorators = [
|
|
20361
|
+
{ type: core.Component, args: [{
|
|
20362
|
+
selector: 'FHHelpButton', template: "\n\n\n \n <div style=\"cursor:pointer\" ><mat-icon [style.color]=\"color\" [style.background-color]=\"bk_color\" [hidden]=\"hidden\" (click)=\"open_help()\">info</mat-icon></div>\n\n\n\n ",
|
|
20363
|
+
styles: ["\n\n\n "]
|
|
20364
|
+
}] }
|
|
20365
|
+
];
|
|
20366
|
+
/** @nocollapse */
|
|
20367
|
+
FHHelpButton.ctorParameters = function () { return [
|
|
20368
|
+
{ type: QueryService },
|
|
20369
|
+
{ type: ngxToastr.ToastrService }
|
|
20370
|
+
]; };
|
|
20371
|
+
FHHelpButton.propDecorators = {
|
|
20372
|
+
color: [{ type: core.Input }],
|
|
20373
|
+
bk_color: [{ type: core.Input }],
|
|
20374
|
+
hidden: [{ type: core.Input }],
|
|
20375
|
+
key: [{ type: core.Input }]
|
|
20376
|
+
};
|
|
20377
|
+
return FHHelpButton;
|
|
20378
|
+
}());
|
|
20379
|
+
|
|
20295
20380
|
/**
|
|
20296
20381
|
* @fileoverview added by tsickle
|
|
20297
20382
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
@@ -20361,13 +20446,13 @@
|
|
|
20361
20446
|
apiKey: 'AIzaSyD3-g3b_QqxUruxBY4PGJKaH2fubIVXvN4'
|
|
20362
20447
|
}),
|
|
20363
20448
|
flexLayout.FlexLayoutModule, ngxMarkdown.MarkdownModule, ng2Ckeditor.CKEditorModule],
|
|
20364
|
-
exports: [win_user_info, win_insert_commento, FHRoleManager, FHFieldPickListComponent, SafePipe, fhimagepreview, win_show_image, WinAskButtonsComponent, win_time_slider, DecimalMask, FHTimePickerComponent, CurrencyComponent, FHUploadPanelComponent, FHUploadComponent,
|
|
20449
|
+
exports: [FHHelpButton, win_user_info, win_insert_commento, FHRoleManager, FHFieldPickListComponent, SafePipe, fhimagepreview, win_show_image, WinAskButtonsComponent, win_time_slider, DecimalMask, FHTimePickerComponent, CurrencyComponent, FHUploadPanelComponent, FHUploadComponent,
|
|
20365
20450
|
FHGridComponent, FHComboboxComponent, FHConfirmComponent, FHAutoCompleteComponent, FHDatePickerComponent, DateComponent, NumericEditorComponent,
|
|
20366
20451
|
FHUserPickerComponent, ApprovaGridComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, win_mappa, win_grid_help, TextAreaEditor,
|
|
20367
20452
|
ComboBoxEditor, FHListComponent, FHWinComboSelect, ReplaceLineBreaks, DtPick, WinAskTextComponent, FHPickListComponent, WinAskNumberComponent,
|
|
20368
20453
|
FHMdReader, FHLogPanelComponent, WinAskTextBigComponent, FHCurrencyFieldComponent, FHRichText, WinOutputComponent, FHNumericFieldComponent, wkf_header_bar,
|
|
20369
20454
|
FHListPick, WinWait, FHUserFieldComponent, FSInput, FSResult, QGParam, QGResult, QParam, QResult, FHGridJSONComponent, win_salva_annulla, FormBuilderComponent, FormExecuterComponent, FHTableManager],
|
|
20370
|
-
declarations: [win_user_info, win_insert_commento, FHRoleManager, FHFieldPickListComponent, SafePipe, FHViewerComponent,
|
|
20455
|
+
declarations: [FHHelpButton, win_user_info, win_insert_commento, FHRoleManager, FHFieldPickListComponent, SafePipe, FHViewerComponent,
|
|
20371
20456
|
fhimagepreview, win_show_image, WinAskButtonsComponent, FHGridToolBarComponent, win_time_slider, DecimalMask, FHTimePickerComponent, CurrencyComponent, FHUploadPanelComponent, FHUploadComponent, wkf_header_bar,
|
|
20372
20457
|
FHGridComponent, FHComboboxComponent, FHConfirmComponent, FHAutoCompleteComponent, FHDatePickerComponent, DateComponent, NumericEditorComponent,
|
|
20373
20458
|
FHUserPickerComponent, ApprovaGridComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, win_mappa, win_grid_help, TextAreaEditor,
|
|
@@ -20666,33 +20751,34 @@
|
|
|
20666
20751
|
exports.wkfapp = wkfapp;
|
|
20667
20752
|
exports.ɵa = CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$2;
|
|
20668
20753
|
exports.ɵb = CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR;
|
|
20669
|
-
exports.ɵba =
|
|
20670
|
-
exports.ɵbb =
|
|
20671
|
-
exports.ɵbc =
|
|
20672
|
-
exports.ɵbd =
|
|
20754
|
+
exports.ɵba = win_riassegna_select_user;
|
|
20755
|
+
exports.ɵbb = win_commento_sel_notif;
|
|
20756
|
+
exports.ɵbc = win_manage_values;
|
|
20757
|
+
exports.ɵbd = win_manage_roles;
|
|
20758
|
+
exports.ɵbe = FHComboboxComponentFilter;
|
|
20673
20759
|
exports.ɵc = CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_NUMERIC;
|
|
20674
20760
|
exports.ɵd = CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_RT;
|
|
20675
20761
|
exports.ɵe = CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$1;
|
|
20676
|
-
exports.ɵf =
|
|
20677
|
-
exports.ɵg =
|
|
20678
|
-
exports.ɵh =
|
|
20679
|
-
exports.ɵi =
|
|
20680
|
-
exports.ɵj =
|
|
20681
|
-
exports.ɵk =
|
|
20682
|
-
exports.ɵl =
|
|
20683
|
-
exports.ɵm =
|
|
20684
|
-
exports.ɵ
|
|
20685
|
-
exports.ɵp =
|
|
20686
|
-
exports.ɵq =
|
|
20687
|
-
exports.ɵr =
|
|
20688
|
-
exports.ɵs =
|
|
20689
|
-
exports.ɵt =
|
|
20690
|
-
exports.ɵu =
|
|
20691
|
-
exports.ɵv =
|
|
20692
|
-
exports.ɵw =
|
|
20693
|
-
exports.ɵx =
|
|
20694
|
-
exports.ɵy =
|
|
20695
|
-
exports.ɵz =
|
|
20762
|
+
exports.ɵf = FHHelpButton;
|
|
20763
|
+
exports.ɵg = SafePipe;
|
|
20764
|
+
exports.ɵh = DecimalMask;
|
|
20765
|
+
exports.ɵi = FHValueAccessor;
|
|
20766
|
+
exports.ɵj = MOMENT_DATE_FORMATS;
|
|
20767
|
+
exports.ɵk = MomentDateAdapter;
|
|
20768
|
+
exports.ɵl = win_grid_help;
|
|
20769
|
+
exports.ɵm = HighlightService;
|
|
20770
|
+
exports.ɵn = FHViewerComponent;
|
|
20771
|
+
exports.ɵp = FHGridToolBarComponent;
|
|
20772
|
+
exports.ɵq = win_assegna;
|
|
20773
|
+
exports.ɵr = win_conferma;
|
|
20774
|
+
exports.ɵs = win_select_canale;
|
|
20775
|
+
exports.ɵt = win_select_level;
|
|
20776
|
+
exports.ɵu = win_uploads;
|
|
20777
|
+
exports.ɵv = win_commenti;
|
|
20778
|
+
exports.ɵw = win_info_doc;
|
|
20779
|
+
exports.ɵx = win_log;
|
|
20780
|
+
exports.ɵy = win_recupera_doc;
|
|
20781
|
+
exports.ɵz = win_riassegna_select_level;
|
|
20696
20782
|
|
|
20697
20783
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
20698
20784
|
|