@fluxhub/fluxhub-lib 19.0.232 → 19.0.233
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.
|
@@ -9965,29 +9965,47 @@ class FHGridComponent {
|
|
|
9965
9965
|
// setupVisibilityAutoSize) rileva quando la grid diventa visibile e rifà l'auto-fit.
|
|
9966
9966
|
pendingAutoSize = false;
|
|
9967
9967
|
_visRO;
|
|
9968
|
-
/**
|
|
9969
|
-
*
|
|
9970
|
-
|
|
9968
|
+
/** Elemento su cui misurare/osservare le dimensioni reali della grid.
|
|
9969
|
+
* ATTENZIONE: NON usare l'host <FHGrid>. Il componente non dichiara alcun display,
|
|
9970
|
+
* quindi il suo box e' inline: clientWidth su un box inline vale sempre 0 e
|
|
9971
|
+
* ResizeObserver non notifica gli inline non rimpiazzati. Misuriamo quindi il
|
|
9972
|
+
* wrapper interno di ag-grid (block) e, finche' non esiste, il div contenitore. */
|
|
9973
|
+
visibilityTarget() {
|
|
9971
9974
|
const host = this.el?.nativeElement;
|
|
9972
9975
|
if (!host)
|
|
9976
|
+
return null;
|
|
9977
|
+
return (host.querySelector('.ag-root-wrapper') ||
|
|
9978
|
+
host.querySelector('ag-grid-angular') ||
|
|
9979
|
+
host.parentElement);
|
|
9980
|
+
}
|
|
9981
|
+
/** True se la grid è effettivamente renderizzata con una larghezza reale
|
|
9982
|
+
* (non dentro un tab nascosto / display:none). */
|
|
9983
|
+
isGridVisible() {
|
|
9984
|
+
const target = this.visibilityTarget();
|
|
9985
|
+
if (!target)
|
|
9973
9986
|
return true; // in dubbio: non bloccare il flusso esistente
|
|
9974
|
-
|
|
9987
|
+
if (target.offsetParent === null)
|
|
9988
|
+
return false;
|
|
9989
|
+
return target.getBoundingClientRect().width > 0;
|
|
9975
9990
|
}
|
|
9976
|
-
/** Osserva
|
|
9977
|
-
* tab), se c'era un auto-fit rimandato lo esegue una sola volta.
|
|
9991
|
+
/** Osserva il contenitore della grid: appena passa da nascosta a visibile (es.
|
|
9992
|
+
* attivazione del tab), se c'era un auto-fit rimandato lo esegue una sola volta.
|
|
9993
|
+
* Idempotente: si può richiamare finché non riesce ad agganciare un target. */
|
|
9978
9994
|
setupVisibilityAutoSize() {
|
|
9979
|
-
const host = this.el?.nativeElement;
|
|
9980
|
-
if (!host || typeof ResizeObserver === 'undefined')
|
|
9981
|
-
return;
|
|
9982
9995
|
if (this._visRO)
|
|
9983
9996
|
return;
|
|
9997
|
+
if (typeof ResizeObserver === 'undefined')
|
|
9998
|
+
return;
|
|
9999
|
+
const target = this.visibilityTarget();
|
|
10000
|
+
if (!target)
|
|
10001
|
+
return;
|
|
9984
10002
|
this._visRO = new ResizeObserver(() => {
|
|
9985
10003
|
if (this.pendingAutoSize && this.isGridVisible()) {
|
|
9986
10004
|
this.pendingAutoSize = false;
|
|
9987
10005
|
setTimeout(() => this.autoSizeAll(), 0); // lascia assestare il layout
|
|
9988
10006
|
}
|
|
9989
10007
|
});
|
|
9990
|
-
this._visRO.observe(
|
|
10008
|
+
this._visRO.observe(target);
|
|
9991
10009
|
}
|
|
9992
10010
|
ngOnDestroy() {
|
|
9993
10011
|
try {
|
|
@@ -9996,15 +10014,19 @@ class FHGridComponent {
|
|
|
9996
10014
|
catch { /* no-op */ }
|
|
9997
10015
|
this._visRO = undefined;
|
|
9998
10016
|
}
|
|
9999
|
-
|
|
10017
|
+
/** @param force true quando l'auto-fit è richiesto esplicitamente dall'utente
|
|
10018
|
+
* (pulsante in toolbar): in quel caso la grid è per definizione a video, quindi
|
|
10019
|
+
* si salta l'euristica di visibilità e non si rimanda mai. */
|
|
10020
|
+
autoSizeAll(force = false) {
|
|
10000
10021
|
if (this.gridOptions == null)
|
|
10001
10022
|
return;
|
|
10002
10023
|
if (this.gridApi == null)
|
|
10003
10024
|
return;
|
|
10004
10025
|
// Grid non visibile (tab inattivo / display:none): rimanda l'auto-fit a quando
|
|
10005
10026
|
// torna visibile, così non collassa le colonne su misure a larghezza 0.
|
|
10006
|
-
if (!this.isGridVisible()) {
|
|
10027
|
+
if (!force && !this.isGridVisible()) {
|
|
10007
10028
|
this.pendingAutoSize = true;
|
|
10029
|
+
this.setupVisibilityAutoSize(); // il target può essere comparso solo ora
|
|
10008
10030
|
return;
|
|
10009
10031
|
}
|
|
10010
10032
|
this.pendingAutoSize = false;
|
|
@@ -10018,7 +10040,7 @@ class FHGridComponent {
|
|
|
10018
10040
|
this.gridApi.getColumnState()[0] != null &&
|
|
10019
10041
|
(this.gridApi.getColumnState()[0].width || 0) <= 24) {
|
|
10020
10042
|
setTimeout(() => {
|
|
10021
|
-
this.autoSizeAll();
|
|
10043
|
+
this.autoSizeAll(force); // il retry mantiene la natura della richiesta
|
|
10022
10044
|
}, 800);
|
|
10023
10045
|
return;
|
|
10024
10046
|
}
|
|
@@ -10333,6 +10355,9 @@ class FHGridComponent {
|
|
|
10333
10355
|
onReady(event) {
|
|
10334
10356
|
this.gridApi = event.api;
|
|
10335
10357
|
this.setHeaderHeight(this.header_h);
|
|
10358
|
+
// Ora il wrapper interno di ag-grid esiste: se l'observer non si era ancora
|
|
10359
|
+
// agganciato (grid renderizzata dopo ngAfterViewInit) lo agganciamo qui.
|
|
10360
|
+
this.setupVisibilityAutoSize();
|
|
10336
10361
|
if (this.gf != null && this.show_buttons && !this.pref_hidden) {
|
|
10337
10362
|
if (!this.private_pref)
|
|
10338
10363
|
this.gf.sql = 'SELECT_CFG_GRID';
|
|
@@ -10604,7 +10629,7 @@ class FHGridComponent {
|
|
|
10604
10629
|
this.updateRow();
|
|
10605
10630
|
}
|
|
10606
10631
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: FHGridComponent, deps: [{ token: GridService }, { token: i3$1.ToastrService }, { token: QueryService }, { token: AppService }, { token: i1$2.MatDialog }, { token: UtilityService }, { token: FileService }, { token: i8$2.Clipboard }, { token: i3.TranslateService }, { token: i1$1.HttpClient }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
10607
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: FHGridComponent, isStandalone: true, selector: "FHGrid", inputs: { theme: "theme", gridCursorPointer: "gridCursorPointer", pagination: "pagination", paginationPageSize: "paginationPageSize", paginationAutoPageSize: "paginationAutoPageSize", subtitle: "subtitle", forceFitSize: "forceFitSize", exportLanguage: "exportLanguage", tooltipShowDelay: "tooltipShowDelay", elimina_label: "elimina_label", export_field_aggiuntivi: "export_field_aggiuntivi", end_point: "end_point", grid_config_key: "grid_config_key", columnDefs: "columnDefs", num_per_pag: "num_per_pag", grid_customer_preference_key: "grid_customer_preference_key", service: "service", enabled: "enabled", show_link: "show_link", show_help_bar: "show_help_bar", help_label_bar: "help_label_bar", auto_load: "auto_load", auto_height: "auto_height", enable_export: "enable_export", enabled_pag: "enabled_pag", show_help: "show_help", show_num_elem: "show_num_elem", private_pref: "private_pref", icons: "icons", system_dest: "system_dest", header_h: "header_h", selection_mode: "selection_mode", set_srow_on_single_select: "set_srow_on_single_select", init_fill: "init_fill", no_pref: "no_pref", pref_hidden: "pref_hidden", enable_export_pdf: "enable_export_pdf", enable_export_xls: "enable_export_xls", enable_copy: "enable_copy", full_text_added_columns: "full_text_added_columns", autosize_at_ini: "autosize_at_ini", label_elementi: "label_elementi", trova_label: "trova_label", mantieni_impostazioni: "mantieni_impostazioni", tooltip_remove_filter: "tooltip_remove_filter", tooltip_auto_size: "tooltip_auto_size", tooltip_fit_size: "tooltip_fit_size", tooltip_refresh: "tooltip_refresh", tooltip_modifica_preferenza: "tooltip_modifica_preferenza", tooltip_elimina_preferenza: "tooltip_elimina_preferenza", tooltip_crea_preferenza: "tooltip_crea_preferenza", tooltip_help: "tooltip_help", tooltip_export_pdf: "tooltip_export_pdf", tooltip_export_excel: "tooltip_export_excel", rowHeight: "rowHeight", master_detail: "master_detail", detail_cell_renderer: "detail_cell_renderer", show_buttons: "show_buttons", custom_export: "custom_export", toolbar_type: "toolbar_type", toolbar_wkfapp: "toolbar_wkfapp", toolbar_custom_commands: "toolbar_custom_commands", exec_params: "exec_params", off_set: "off_set" }, outputs: { fill_end: "fill_end", cell_edited: "cell_edited", clicked: "clicked", dclicked: "dclicked", columndclicked: "columndclicked", cell_clicked: "cell_clicked", selection_change: "selection_change", cellValueChanged: "cellValueChanged", command: "command", init_end: "init_end" }, host: { listeners: { "window:resize": "onResize(event)" } }, viewQueries: [{ propertyName: "gf", first: true, predicate: ["gf"], descendants: true }, { propertyName: "toggle_mantieni", first: true, predicate: ["toggle_mantieni"], descendants: true }], ngImport: i0, template: "<div fxLayout=\"column\" fxFlexFill>\r\n <div\r\n fxLayout=\"row\"\r\n fxLayout.xs=\"column\"\r\n fxLayoutAlign=\"start center\"\r\n fxLayoutGap=\"3px\"\r\n [style.min-height]=\"show_buttons ? '55px': '35px'\"\r\n [hidden]=\"!show_buttons && !show_num_elem\"\r\n >\r\n \r\n <div fxLayout=\"row\" fxLayoutGap=\"3px\" fxLayoutAlign=\"start center\">\r\n <div *ngIf=\"show_num_elem\">\r\n <h3 *ngIf=\"num_r>=0\">{{num_r}} {{label_elementi | translate}}</h3>\r\n <h3 *ngIf=\"num_r<0\"><mat-progress-spinner diameter=\"30\" mode=\"indeterminate\"></mat-progress-spinner></h3>\r\n </div>\r\n \r\n <div\r\n fxLayout=\"row\"\r\n fxLayoutAlign=\"start center\"\r\n fxLayoutGap=\"3px\"\r\n *ngIf=\"show_buttons\"\r\n >\r\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\">\r\n <input\r\n matInput\r\n [placeholder]=\"trova_label | translate\"\r\n (keydown)=\"keyDownFunctioncl($event)\"\r\n [(ngModel)]=\"ric_libera\"\r\n style=\"width: 200px; border: 1px solid; min-height: 30px\"\r\n />\r\n </div>\r\n <div\r\n [matTooltip]=\"tooltip_remove_filter | translate\"\r\n matTooltipPosition=\"above\"\r\n *ngIf=\"show_pulisci_filtri\"\r\n >\r\n <button\r\n mat-flat-button\r\n (click)=\"pulisci_filtri()\"\r\n color=\"warn\"\r\n class=\"fh_icon_button\"\r\n >\r\n <mat-icon>filter_none</mat-icon>\r\n </button>\r\n </div>\r\n <div [matTooltip]=\"tooltip_auto_size | translate\" matTooltipPosition=\"above\">\r\n <button\r\n mat-flat-button\r\n class=\"fh_icon_button\"\r\n (click)=\"autoSizeAll()\"\r\n color=\"primary\"\r\n *ngIf=\"show_buttons\"\r\n >\r\n <mat-icon>swap_horiz</mat-icon>\r\n </button>\r\n </div>\r\n <div\r\n fxHide\r\n fxShow.gt-sm\r\n [matTooltip]=\"tooltip_fit_size | translate\"\r\n matTooltipPosition=\"above\"\r\n >\r\n <button\r\n mat-flat-button\r\n class=\"fh_icon_button\"\r\n (click)=\"fitSizeAll()\"\r\n color=\"primary\"\r\n *ngIf=\"show_buttons\"\r\n >\r\n <mat-icon>keyboard_tab</mat-icon>\r\n </button>\r\n </div>\r\n <div\r\n fxHide\r\n fxShow.gt-sm\r\n [matTooltip]=\"tooltip_refresh | translate\"\r\n matTooltipPosition=\"above\"\r\n >\r\n <button\r\n mat-flat-button\r\n class=\"fh_icon_button\"\r\n (click)=\"Refresh()\"\r\n color=\"primary\"\r\n *ngIf=\"show_buttons\"\r\n >\r\n <mat-icon>autorenew</mat-icon>\r\n </button>\r\n </div>\r\n \r\n <FHFilterComboBox\r\n fxHide\r\n fxShow.gt-sm\r\n [hidden]=\"!show_buttons || pref_hidden\"\r\n (selchange)=\"ch_config()\"\r\n (fillend)=\"fe_cfg()\"\r\n #gf\r\n [init_fill]=\"false\"\r\n ></FHFilterComboBox>\r\n <div\r\n [matTooltip]=\"tooltip_modifica_preferenza | translate\"\r\n matTooltipPosition=\"above\"\r\n *ngIf=\"curr_config!='-1'\"\r\n >\r\n <button\r\n mat-icon-button\r\n class=\"fh_icon_button\"\r\n *ngIf=\"show_buttons && !pref_hidden\"\r\n style=\"color: rgb(248, 105, 10)\" (click)=\"edit_config()\"\r\n >\r\n <mat-icon>save</mat-icon>\r\n </button>\r\n </div>\r\n <div\r\n [matTooltip]=\"tooltip_elimina_preferenza | translate\"\r\n matTooltipPosition=\"above\"\r\n *ngIf=\"curr_config!='-1'\"\r\n >\r\n <button\r\n class=\"fh_icon_button\"\r\n mat-icon-button (click)=\"elimina_config()\"\r\n *ngIf=\"show_buttons && !pref_hidden\"\r\n style=\"color: #CC0000\"\r\n >\r\n <mat-icon>delete</mat-icon>\r\n </button>\r\n </div>\r\n <div\r\n fxHide\r\n *ngIf=\"show_buttons && !pref_hidden\"\r\n fxShow.gt-sm\r\n [matTooltip]=\"tooltip_crea_preferenza | translate\"\r\n matTooltipPosition=\"above\"\r\n >\r\n <button\r\n mat-icon-button\r\n class=\"fh_icon_button\"\r\n style=\"color: rgb(16, 98, 16)\" (click)=\"insert_config()\"\r\n >\r\n <mat-icon>library_add</mat-icon>\r\n </button>\r\n </div>\r\n\r\n <mat-slide-toggle\r\n fxHide\r\n fxShow.gt-sm\r\n [hidden]=\"!show_buttons || pref_hidden\"\r\n (click)=\"ck_flag()\"\r\n #toggle_mantieni\r\n >\r\n {{mantieni_impostazioni}}\r\n </mat-slide-toggle>\r\n\r\n \r\n <div\r\n fxHide\r\n fxShow.gt-sm\r\n [matTooltip]=\"tooltip_help | translate\"\r\n matTooltipPosition=\"above\"\r\n *ngIf=\"show_buttons && show_help\"\r\n >\r\n <button\r\n mat-flat-button\r\n (click)=\"help_window()\"\r\n class=\"fh_icon_button\"\r\n color=\"primary\"\r\n >\r\n <mat-icon>help</mat-icon>\r\n </button>\r\n </div>\r\n </div>\r\n \r\n <img\r\n *ngIf=\"enable_export && enable_export_pdf\"\r\n [matTooltip]=\"tooltip_export_pdf | translate\"\r\n matTooltipPosition=\"above\"\r\n src=\"assets/icons/square-o/pdf.svg\"\r\n style=\"width: 24px; height: 24px; cursor: pointer\"\r\n (click)=\"print()\"\r\n alt=\"Export PDF\"\r\n width=\"24\"\r\n height=\"24\"\r\n />\r\n\r\n <img\r\n *ngIf=\"enable_export && enable_export_xls\"\r\n [matTooltip]=\"tooltip_export_excel | translate\"\r\n matTooltipPosition=\"above\"\r\n src=\"assets/icons/square-o/xlsx.svg\"\r\n style=\"width: 24px; height: 24px; cursor: pointer\"\r\n (click)=\"export_excel()\"\r\n alt=\"Export Excel\"\r\n width=\"24\"\r\n height=\"24\"\r\n />\r\n <div\r\n fxHide\r\n fxShow.gt-sm\r\n fxLayoutAlign=\"start center\"\r\n *ngIf=\"subtitle\"\r\n >\r\n \r\n <b>{{subtitle}}</b>\r\n </div>\r\n </div>\r\n <div fxLayout=\"row\" fxLayoutAlign=\"end center\" fxFlex *ngIf=\"enabled\">\r\n <FHGridToolBar\r\n (command)=\"docmd($event)\"\r\n [type]=\"toolbar_type\"\r\n [show_link]=\"show_link\"\r\n [show_help]=\"show_help_bar\"\r\n [help_label]=\"help_label_bar\"\r\n [custom_commands]=\"toolbar_custom_commands\"\r\n [toolbar_wkfapp]=\"toolbar_wkfapp\"\r\n [elimina_label]=\"elimina_label\"\r\n [sRow]=\"sRow\"\r\n ></FHGridToolBar>\r\n </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 *ngIf=\"init_opt\"\r\n ref-agGrid\r\n style=\"width: 100%; height: 100%\"\r\n id=\"myGrid\"\r\n (cellDoubleClicked)=\"onColumnEvent($event)\"\r\n (cellClicked)=\"onCellClicked($event)\"\r\n [headerHeight]=\"header_h\"\r\n [groupHeaderHeight]=\"header_h\"\r\n [theme]=\"effectiveTheme\"\r\n [singleClickEdit]=\"true\"\r\n [gridOptions]=\"gridOptions\"\r\n [columnDefs]=\"columnDefs\"\r\n [rowSelection]=\"selection_mode\"\r\n [tooltipShowDelay]=\"tooltipShowDelay\"\r\n [masterDetail]=\"master_detail\"\r\n [detailCellRenderer]=\"detail_cell_renderer\"\r\n (gridReady)=\"onReady($event)\"\r\n [icons]=\"icons\"\r\n (filterModified)=\"onFilterModified()\"\r\n (rowDoubleClicked)=\"onRowDClicked($event)\"\r\n (rowClicked)=\"onRowClicked($event)\"\r\n (columnVisible)=\"oncolumnEverythingChanged()\"\r\n (columnResized)=\"oncolumnEverythingChanged()\"\r\n (columnMoved)=\"oncolumnEverythingChanged()\"\r\n (cellValueChanged)=\"okr($event)\"\r\n (sortChanged)=\"onAfterSortChanged()\"\r\n (selectionChanged)=\"onSelectionChanged($event)\"\r\n >\r\n </ag-grid-angular>\r\n </div>\r\n</div>\r\n", styles: [""], dependencies: [{ kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i5$1.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: i5$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i5$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i8.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i7$2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatSlideToggleModule }, { kind: "component", type: i4.MatSlideToggle, selector: "mat-slide-toggle", inputs: ["name", "id", "labelPosition", "aria-label", "aria-labelledby", "aria-describedby", "required", "color", "disabled", "disableRipple", "tabIndex", "checked", "hideIcon", "disabledInteractive"], outputs: ["change", "toggleChange"], exportAs: ["matSlideToggle"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "ngmodule", type: MatSelectModule }, { kind: "component", type: AgGridAngular, selector: "ag-grid-angular", inputs: ["gridOptions", "modules", "statusBar", "sideBar", "suppressContextMenu", "preventDefaultOnContextMenu", "allowContextMenuWithControlKey", "columnMenu", "suppressMenuHide", "enableBrowserTooltips", "tooltipTrigger", "tooltipShowDelay", "tooltipHideDelay", "tooltipMouseTrack", "tooltipShowMode", "tooltipInteraction", "popupParent", "copyHeadersToClipboard", "copyGroupHeadersToClipboard", "clipboardDelimiter", "suppressCopyRowsToClipboard", "suppressCopySingleCellRanges", "suppressLastEmptyLineOnPaste", "suppressClipboardPaste", "suppressClipboardApi", "suppressCutToClipboard", "columnDefs", "defaultColDef", "defaultColGroupDef", "columnTypes", "dataTypeDefinitions", "maintainColumnOrder", "enableStrictPivotColumnOrder", "suppressFieldDotNotation", "headerHeight", "groupHeaderHeight", "floatingFiltersHeight", "pivotHeaderHeight", "pivotGroupHeaderHeight", "allowDragFromColumnsToolPanel", "suppressMovableColumns", "suppressColumnMoveAnimation", "suppressMoveWhenColumnDragging", "suppressDragLeaveHidesColumns", "suppressGroupChangesColumnVisibility", "suppressMakeColumnVisibleAfterUnGroup", "suppressRowGroupHidesColumns", "colResizeDefault", "suppressAutoSize", "autoSizePadding", "skipHeaderOnAutoSize", "autoSizeStrategy", "components", "editType", "singleClickEdit", "suppressClickEdit", "readOnlyEdit", "stopEditingWhenCellsLoseFocus", "enterNavigatesVertically", "enterNavigatesVerticallyAfterEdit", "enableCellEditingOnBackspace", "undoRedoCellEditing", "undoRedoCellEditingLimit", "defaultCsvExportParams", "suppressCsvExport", "defaultExcelExportParams", "suppressExcelExport", "excelStyles", "findSearchValue", "findOptions", "quickFilterText", "cacheQuickFilter", "includeHiddenColumnsInQuickFilter", "quickFilterParser", "quickFilterMatcher", "applyQuickFilterBeforePivotOrAgg", "excludeChildrenWhenTreeDataFiltering", "enableAdvancedFilter", "alwaysPassFilter", "includeHiddenColumnsInAdvancedFilter", "advancedFilterParent", "advancedFilterBuilderParams", "suppressAdvancedFilterEval", "suppressSetFilterByDefault", "enableCharts", "chartThemes", "customChartThemes", "chartThemeOverrides", "chartToolPanelsDef", "chartMenuItems", "loadingCellRenderer", "loadingCellRendererParams", "loadingCellRendererSelector", "localeText", "masterDetail", "keepDetailRows", "keepDetailRowsCount", "detailCellRenderer", "detailCellRendererParams", "detailRowHeight", "detailRowAutoHeight", "context", "alignedGrids", "tabIndex", "rowBuffer", "valueCache", "valueCacheNeverExpires", "enableCellExpressions", "suppressTouch", "suppressFocusAfterRefresh", "suppressBrowserResizeObserver", "suppressPropertyNamesCheck", "suppressChangeDetection", "debug", "loading", "overlayLoadingTemplate", "loadingOverlayComponent", "loadingOverlayComponentParams", "suppressLoadingOverlay", "overlayNoRowsTemplate", "noRowsOverlayComponent", "noRowsOverlayComponentParams", "suppressNoRowsOverlay", "pagination", "paginationPageSize", "paginationPageSizeSelector", "paginationAutoPageSize", "paginateChildRows", "suppressPaginationPanel", "pivotMode", "pivotPanelShow", "pivotMaxGeneratedColumns", "pivotDefaultExpanded", "pivotColumnGroupTotals", "pivotRowTotals", "pivotSuppressAutoColumn", "suppressExpandablePivotGroups", "functionsReadOnly", "aggFuncs", "suppressAggFuncInHeader", "alwaysAggregateAtRootLevel", "aggregateOnlyChangedColumns", "suppressAggFilteredOnly", "removePivotHeaderRowWhenSingleValueColumn", "animateRows", "cellFlashDuration", "cellFadeDuration", "allowShowChangeAfterFilter", "domLayout", "ensureDomOrder", "enableCellSpan", "enableRtl", "suppressColumnVirtualisation", "suppressMaxRenderedRowRestriction", "suppressRowVirtualisation", "rowDragManaged", "suppressRowDrag", "suppressMoveWhenRowDragging", "rowDragEntireRow", "rowDragMultiRow", "rowDragText", "dragAndDropImageComponent", "dragAndDropImageComponentParams", "fullWidthCellRenderer", "fullWidthCellRendererParams", "embedFullWidthRows", "groupDisplayType", "groupDefaultExpanded", "autoGroupColumnDef", "groupMaintainOrder", "groupSelectsChildren", "groupLockGroupColumns", "groupAggFiltering", "groupTotalRow", "grandTotalRow", "suppressStickyTotalRow", "groupSuppressBlankHeader", "groupSelectsFiltered", "showOpenedGroup", "groupHideParentOfSingleChild", "groupRemoveSingleChildren", "groupRemoveLowestSingleChildren", "groupHideOpenParents", "groupAllowUnbalanced", "rowGroupPanelShow", "groupRowRenderer", "groupRowRendererParams", "treeData", "treeDataChildrenField", "treeDataParentIdField", "rowGroupPanelSuppressSort", "suppressGroupRowsSticky", "pinnedTopRowData", "pinnedBottomRowData", "enableRowPinning", "isRowPinnable", "isRowPinned", "rowModelType", "rowData", "asyncTransactionWaitMillis", "suppressModelUpdateAfterUpdateTransaction", "datasource", "cacheOverflowSize", "infiniteInitialRowCount", "serverSideInitialRowCount", "suppressServerSideFullWidthLoadingRow", "cacheBlockSize", "maxBlocksInCache", "maxConcurrentDatasourceRequests", "blockLoadDebounceMillis", "purgeClosedRowNodes", "serverSideDatasource", "serverSideSortAllLevels", "serverSideEnableClientSideSort", "serverSideOnlyRefreshFilteredGroups", "serverSidePivotResultFieldSeparator", "viewportDatasource", "viewportRowModelPageSize", "viewportRowModelBufferSize", "alwaysShowHorizontalScroll", "alwaysShowVerticalScroll", "debounceVerticalScrollbar", "suppressHorizontalScroll", "suppressScrollOnNewData", "suppressScrollWhenPopupsAreOpen", "suppressAnimationFrame", "suppressMiddleClickScrolls", "suppressPreventDefaultOnMouseWheel", "scrollbarWidth", "rowSelection", "cellSelection", "rowMultiSelectWithClick", "suppressRowDeselection", "suppressRowClickSelection", "suppressCellFocus", "suppressHeaderFocus", "selectionColumnDef", "rowNumbers", "suppressMultiRangeSelection", "enableCellTextSelection", "enableRangeSelection", "enableRangeHandle", "enableFillHandle", "fillHandleDirection", "suppressClearOnFillReduction", "sortingOrder", "accentedSort", "unSortIcon", "suppressMultiSort", "alwaysMultiSort", "multiSortKey", "suppressMaintainUnsortedOrder", "icons", "rowHeight", "rowStyle", "rowClass", "rowClassRules", "suppressRowHoverHighlight", "suppressRowTransform", "columnHoverHighlight", "gridId", "deltaSort", "treeDataDisplayType", "enableGroupEdit", "initialState", "theme", "loadThemeGoogleFonts", "themeCssLayer", "styleNonce", "themeStyleContainer", "getContextMenuItems", "getMainMenuItems", "postProcessPopup", "processUnpinnedColumns", "processCellForClipboard", "processHeaderForClipboard", "processGroupHeaderForClipboard", "processCellFromClipboard", "sendToClipboard", "processDataFromClipboard", "isExternalFilterPresent", "doesExternalFilterPass", "getChartToolbarItems", "createChartContainer", "focusGridInnerElement", "navigateToNextHeader", "tabToNextHeader", "navigateToNextCell", "tabToNextCell", "getLocaleText", "getDocument", "paginationNumberFormatter", "getGroupRowAgg", "isGroupOpenByDefault", "initialGroupOrderComparator", "processPivotResultColDef", "processPivotResultColGroupDef", "getDataPath", "getChildCount", "getServerSideGroupLevelParams", "isServerSideGroupOpenByDefault", "isApplyServerSideTransaction", "isServerSideGroup", "getServerSideGroupKey", "getBusinessKeyForNode", "getRowId", "resetRowDataOnUpdate", "processRowPostCreate", "isRowSelectable", "isRowMaster", "fillOperation", "postSortRows", "getRowStyle", "getRowClass", "getRowHeight", "isFullWidthRow"], outputs: ["toolPanelVisibleChanged", "toolPanelSizeChanged", "columnMenuVisibleChanged", "contextMenuVisibleChanged", "cutStart", "cutEnd", "pasteStart", "pasteEnd", "columnVisible", "columnPinned", "columnResized", "columnMoved", "columnValueChanged", "columnPivotModeChanged", "columnPivotChanged", "columnGroupOpened", "newColumnsLoaded", "gridColumnsChanged", "displayedColumnsChanged", "virtualColumnsChanged", "columnEverythingChanged", "columnHeaderMouseOver", "columnHeaderMouseLeave", "columnHeaderClicked", "columnHeaderContextMenu", "componentStateChanged", "cellValueChanged", "cellEditRequest", "rowValueChanged", "cellEditingStarted", "cellEditingStopped", "rowEditingStarted", "rowEditingStopped", "undoStarted", "undoEnded", "redoStarted", "redoEnded", "cellSelectionDeleteStart", "cellSelectionDeleteEnd", "rangeDeleteStart", "rangeDeleteEnd", "fillStart", "fillEnd", "filterOpened", "filterChanged", "filterModified", "advancedFilterBuilderVisibleChanged", "findChanged", "chartCreated", "chartRangeSelectionChanged", "chartOptionsChanged", "chartDestroyed", "cellKeyDown", "gridReady", "firstDataRendered", "gridSizeChanged", "modelUpdated", "virtualRowRemoved", "viewportChanged", "bodyScroll", "bodyScrollEnd", "dragStarted", "dragStopped", "dragCancelled", "stateUpdated", "paginationChanged", "rowDragEnter", "rowDragMove", "rowDragLeave", "rowDragEnd", "rowDragCancel", "rowResizeStarted", "rowResizeEnded", "columnRowGroupChanged", "rowGroupOpened", "expandOrCollapseAll", "pivotMaxColumnsExceeded", "pinnedRowDataChanged", "pinnedRowsChanged", "rowDataUpdated", "asyncTransactionsFlushed", "storeRefreshed", "headerFocused", "cellClicked", "cellDoubleClicked", "cellFocused", "cellMouseOver", "cellMouseOut", "cellMouseDown", "rowClicked", "rowDoubleClicked", "rowSelected", "selectionChanged", "cellContextMenu", "rangeSelectionChanged", "cellSelectionChanged", "tooltipShow", "tooltipHide", "sortChanged"] }, { kind: "ngmodule", type: FlexLayoutModule }, { kind: "directive", type: i10.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i10.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { kind: "directive", type: i10.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "directive", type: i10.FlexFillDirective, selector: "[fxFill], [fxFlexFill]" }, { kind: "directive", type: i10.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { kind: "directive", type: i10$1.DefaultShowHideDirective, selector: " [fxShow], [fxShow.print], [fxShow.xs], [fxShow.sm], [fxShow.md], [fxShow.lg], [fxShow.xl], [fxShow.lt-sm], [fxShow.lt-md], [fxShow.lt-lg], [fxShow.lt-xl], [fxShow.gt-xs], [fxShow.gt-sm], [fxShow.gt-md], [fxShow.gt-lg], [fxHide], [fxHide.print], [fxHide.xs], [fxHide.sm], [fxHide.md], [fxHide.lg], [fxHide.xl], [fxHide.lt-sm], [fxHide.lt-md], [fxHide.lt-lg], [fxHide.lt-xl], [fxHide.gt-xs], [fxHide.gt-sm], [fxHide.gt-md], [fxHide.gt-lg]", inputs: ["fxShow", "fxShow.print", "fxShow.xs", "fxShow.sm", "fxShow.md", "fxShow.lg", "fxShow.xl", "fxShow.lt-sm", "fxShow.lt-md", "fxShow.lt-lg", "fxShow.lt-xl", "fxShow.gt-xs", "fxShow.gt-sm", "fxShow.gt-md", "fxShow.gt-lg", "fxHide", "fxHide.print", "fxHide.xs", "fxHide.sm", "fxHide.md", "fxHide.lg", "fxHide.xl", "fxHide.lt-sm", "fxHide.lt-md", "fxHide.lt-lg", "fxHide.lt-xl", "fxHide.gt-xs", "fxHide.gt-sm", "fxHide.gt-md", "fxHide.gt-lg"] }, { kind: "component", type: FHGridToolBarComponent, selector: "FHGridToolBar", inputs: ["show_help", "help_label", "show_link", "elimina_label", "b_wait", "type", "toolbar_wkfapp", "custom_commands", "custom_commands_primary", "sRow"], outputs: ["command"] }, { kind: "component", type: FHFilterComboboxComponent, selector: "FHFilterComboBox", inputs: ["init_fill", "sql", "types", "values", "hidden", "label", "enabled", "required", "sel_label", "valDef", "db_type"], outputs: ["fillend", "selchange", "initend"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i6$1.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"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i9$1.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: i9$1.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "component", type: MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }] });
|
|
10632
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: FHGridComponent, isStandalone: true, selector: "FHGrid", inputs: { theme: "theme", gridCursorPointer: "gridCursorPointer", pagination: "pagination", paginationPageSize: "paginationPageSize", paginationAutoPageSize: "paginationAutoPageSize", subtitle: "subtitle", forceFitSize: "forceFitSize", exportLanguage: "exportLanguage", tooltipShowDelay: "tooltipShowDelay", elimina_label: "elimina_label", export_field_aggiuntivi: "export_field_aggiuntivi", end_point: "end_point", grid_config_key: "grid_config_key", columnDefs: "columnDefs", num_per_pag: "num_per_pag", grid_customer_preference_key: "grid_customer_preference_key", service: "service", enabled: "enabled", show_link: "show_link", show_help_bar: "show_help_bar", help_label_bar: "help_label_bar", auto_load: "auto_load", auto_height: "auto_height", enable_export: "enable_export", enabled_pag: "enabled_pag", show_help: "show_help", show_num_elem: "show_num_elem", private_pref: "private_pref", icons: "icons", system_dest: "system_dest", header_h: "header_h", selection_mode: "selection_mode", set_srow_on_single_select: "set_srow_on_single_select", init_fill: "init_fill", no_pref: "no_pref", pref_hidden: "pref_hidden", enable_export_pdf: "enable_export_pdf", enable_export_xls: "enable_export_xls", enable_copy: "enable_copy", full_text_added_columns: "full_text_added_columns", autosize_at_ini: "autosize_at_ini", label_elementi: "label_elementi", trova_label: "trova_label", mantieni_impostazioni: "mantieni_impostazioni", tooltip_remove_filter: "tooltip_remove_filter", tooltip_auto_size: "tooltip_auto_size", tooltip_fit_size: "tooltip_fit_size", tooltip_refresh: "tooltip_refresh", tooltip_modifica_preferenza: "tooltip_modifica_preferenza", tooltip_elimina_preferenza: "tooltip_elimina_preferenza", tooltip_crea_preferenza: "tooltip_crea_preferenza", tooltip_help: "tooltip_help", tooltip_export_pdf: "tooltip_export_pdf", tooltip_export_excel: "tooltip_export_excel", rowHeight: "rowHeight", master_detail: "master_detail", detail_cell_renderer: "detail_cell_renderer", show_buttons: "show_buttons", custom_export: "custom_export", toolbar_type: "toolbar_type", toolbar_wkfapp: "toolbar_wkfapp", toolbar_custom_commands: "toolbar_custom_commands", exec_params: "exec_params", off_set: "off_set" }, outputs: { fill_end: "fill_end", cell_edited: "cell_edited", clicked: "clicked", dclicked: "dclicked", columndclicked: "columndclicked", cell_clicked: "cell_clicked", selection_change: "selection_change", cellValueChanged: "cellValueChanged", command: "command", init_end: "init_end" }, host: { listeners: { "window:resize": "onResize(event)" } }, viewQueries: [{ propertyName: "gf", first: true, predicate: ["gf"], descendants: true }, { propertyName: "toggle_mantieni", first: true, predicate: ["toggle_mantieni"], descendants: true }], ngImport: i0, template: "<div fxLayout=\"column\" fxFlexFill>\r\n <div\r\n fxLayout=\"row\"\r\n fxLayout.xs=\"column\"\r\n fxLayoutAlign=\"start center\"\r\n fxLayoutGap=\"3px\"\r\n [style.min-height]=\"show_buttons ? '55px': '35px'\"\r\n [hidden]=\"!show_buttons && !show_num_elem\"\r\n >\r\n \r\n <div fxLayout=\"row\" fxLayoutGap=\"3px\" fxLayoutAlign=\"start center\">\r\n <div *ngIf=\"show_num_elem\">\r\n <h3 *ngIf=\"num_r>=0\">{{num_r}} {{label_elementi | translate}}</h3>\r\n <h3 *ngIf=\"num_r<0\"><mat-progress-spinner diameter=\"30\" mode=\"indeterminate\"></mat-progress-spinner></h3>\r\n </div>\r\n \r\n <div\r\n fxLayout=\"row\"\r\n fxLayoutAlign=\"start center\"\r\n fxLayoutGap=\"3px\"\r\n *ngIf=\"show_buttons\"\r\n >\r\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\">\r\n <input\r\n matInput\r\n [placeholder]=\"trova_label | translate\"\r\n (keydown)=\"keyDownFunctioncl($event)\"\r\n [(ngModel)]=\"ric_libera\"\r\n style=\"width: 200px; border: 1px solid; min-height: 30px\"\r\n />\r\n </div>\r\n <div\r\n [matTooltip]=\"tooltip_remove_filter | translate\"\r\n matTooltipPosition=\"above\"\r\n *ngIf=\"show_pulisci_filtri\"\r\n >\r\n <button\r\n mat-flat-button\r\n (click)=\"pulisci_filtri()\"\r\n color=\"warn\"\r\n class=\"fh_icon_button\"\r\n >\r\n <mat-icon>filter_none</mat-icon>\r\n </button>\r\n </div>\r\n <div [matTooltip]=\"tooltip_auto_size | translate\" matTooltipPosition=\"above\">\r\n <button\r\n mat-flat-button\r\n class=\"fh_icon_button\"\r\n (click)=\"autoSizeAll(true)\"\r\n color=\"primary\"\r\n *ngIf=\"show_buttons\"\r\n >\r\n <mat-icon>swap_horiz</mat-icon>\r\n </button>\r\n </div>\r\n <div\r\n fxHide\r\n fxShow.gt-sm\r\n [matTooltip]=\"tooltip_fit_size | translate\"\r\n matTooltipPosition=\"above\"\r\n >\r\n <button\r\n mat-flat-button\r\n class=\"fh_icon_button\"\r\n (click)=\"fitSizeAll()\"\r\n color=\"primary\"\r\n *ngIf=\"show_buttons\"\r\n >\r\n <mat-icon>keyboard_tab</mat-icon>\r\n </button>\r\n </div>\r\n <div\r\n fxHide\r\n fxShow.gt-sm\r\n [matTooltip]=\"tooltip_refresh | translate\"\r\n matTooltipPosition=\"above\"\r\n >\r\n <button\r\n mat-flat-button\r\n class=\"fh_icon_button\"\r\n (click)=\"Refresh()\"\r\n color=\"primary\"\r\n *ngIf=\"show_buttons\"\r\n >\r\n <mat-icon>autorenew</mat-icon>\r\n </button>\r\n </div>\r\n \r\n <FHFilterComboBox\r\n fxHide\r\n fxShow.gt-sm\r\n [hidden]=\"!show_buttons || pref_hidden\"\r\n (selchange)=\"ch_config()\"\r\n (fillend)=\"fe_cfg()\"\r\n #gf\r\n [init_fill]=\"false\"\r\n ></FHFilterComboBox>\r\n <div\r\n [matTooltip]=\"tooltip_modifica_preferenza | translate\"\r\n matTooltipPosition=\"above\"\r\n *ngIf=\"curr_config!='-1'\"\r\n >\r\n <button\r\n mat-icon-button\r\n class=\"fh_icon_button\"\r\n *ngIf=\"show_buttons && !pref_hidden\"\r\n style=\"color: rgb(248, 105, 10)\" (click)=\"edit_config()\"\r\n >\r\n <mat-icon>save</mat-icon>\r\n </button>\r\n </div>\r\n <div\r\n [matTooltip]=\"tooltip_elimina_preferenza | translate\"\r\n matTooltipPosition=\"above\"\r\n *ngIf=\"curr_config!='-1'\"\r\n >\r\n <button\r\n class=\"fh_icon_button\"\r\n mat-icon-button (click)=\"elimina_config()\"\r\n *ngIf=\"show_buttons && !pref_hidden\"\r\n style=\"color: #CC0000\"\r\n >\r\n <mat-icon>delete</mat-icon>\r\n </button>\r\n </div>\r\n <div\r\n fxHide\r\n *ngIf=\"show_buttons && !pref_hidden\"\r\n fxShow.gt-sm\r\n [matTooltip]=\"tooltip_crea_preferenza | translate\"\r\n matTooltipPosition=\"above\"\r\n >\r\n <button\r\n mat-icon-button\r\n class=\"fh_icon_button\"\r\n style=\"color: rgb(16, 98, 16)\" (click)=\"insert_config()\"\r\n >\r\n <mat-icon>library_add</mat-icon>\r\n </button>\r\n </div>\r\n\r\n <mat-slide-toggle\r\n fxHide\r\n fxShow.gt-sm\r\n [hidden]=\"!show_buttons || pref_hidden\"\r\n (click)=\"ck_flag()\"\r\n #toggle_mantieni\r\n >\r\n {{mantieni_impostazioni}}\r\n </mat-slide-toggle>\r\n\r\n \r\n <div\r\n fxHide\r\n fxShow.gt-sm\r\n [matTooltip]=\"tooltip_help | translate\"\r\n matTooltipPosition=\"above\"\r\n *ngIf=\"show_buttons && show_help\"\r\n >\r\n <button\r\n mat-flat-button\r\n (click)=\"help_window()\"\r\n class=\"fh_icon_button\"\r\n color=\"primary\"\r\n >\r\n <mat-icon>help</mat-icon>\r\n </button>\r\n </div>\r\n </div>\r\n \r\n <img\r\n *ngIf=\"enable_export && enable_export_pdf\"\r\n [matTooltip]=\"tooltip_export_pdf | translate\"\r\n matTooltipPosition=\"above\"\r\n src=\"assets/icons/square-o/pdf.svg\"\r\n style=\"width: 24px; height: 24px; cursor: pointer\"\r\n (click)=\"print()\"\r\n alt=\"Export PDF\"\r\n width=\"24\"\r\n height=\"24\"\r\n />\r\n\r\n <img\r\n *ngIf=\"enable_export && enable_export_xls\"\r\n [matTooltip]=\"tooltip_export_excel | translate\"\r\n matTooltipPosition=\"above\"\r\n src=\"assets/icons/square-o/xlsx.svg\"\r\n style=\"width: 24px; height: 24px; cursor: pointer\"\r\n (click)=\"export_excel()\"\r\n alt=\"Export Excel\"\r\n width=\"24\"\r\n height=\"24\"\r\n />\r\n <div\r\n fxHide\r\n fxShow.gt-sm\r\n fxLayoutAlign=\"start center\"\r\n *ngIf=\"subtitle\"\r\n >\r\n \r\n <b>{{subtitle}}</b>\r\n </div>\r\n </div>\r\n <div fxLayout=\"row\" fxLayoutAlign=\"end center\" fxFlex *ngIf=\"enabled\">\r\n <FHGridToolBar\r\n (command)=\"docmd($event)\"\r\n [type]=\"toolbar_type\"\r\n [show_link]=\"show_link\"\r\n [show_help]=\"show_help_bar\"\r\n [help_label]=\"help_label_bar\"\r\n [custom_commands]=\"toolbar_custom_commands\"\r\n [toolbar_wkfapp]=\"toolbar_wkfapp\"\r\n [elimina_label]=\"elimina_label\"\r\n [sRow]=\"sRow\"\r\n ></FHGridToolBar>\r\n </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 *ngIf=\"init_opt\"\r\n ref-agGrid\r\n style=\"width: 100%; height: 100%\"\r\n id=\"myGrid\"\r\n (cellDoubleClicked)=\"onColumnEvent($event)\"\r\n (cellClicked)=\"onCellClicked($event)\"\r\n [headerHeight]=\"header_h\"\r\n [groupHeaderHeight]=\"header_h\"\r\n [theme]=\"effectiveTheme\"\r\n [singleClickEdit]=\"true\"\r\n [gridOptions]=\"gridOptions\"\r\n [columnDefs]=\"columnDefs\"\r\n [rowSelection]=\"selection_mode\"\r\n [tooltipShowDelay]=\"tooltipShowDelay\"\r\n [masterDetail]=\"master_detail\"\r\n [detailCellRenderer]=\"detail_cell_renderer\"\r\n (gridReady)=\"onReady($event)\"\r\n [icons]=\"icons\"\r\n (filterModified)=\"onFilterModified()\"\r\n (rowDoubleClicked)=\"onRowDClicked($event)\"\r\n (rowClicked)=\"onRowClicked($event)\"\r\n (columnVisible)=\"oncolumnEverythingChanged()\"\r\n (columnResized)=\"oncolumnEverythingChanged()\"\r\n (columnMoved)=\"oncolumnEverythingChanged()\"\r\n (cellValueChanged)=\"okr($event)\"\r\n (sortChanged)=\"onAfterSortChanged()\"\r\n (selectionChanged)=\"onSelectionChanged($event)\"\r\n >\r\n </ag-grid-angular>\r\n </div>\r\n</div>\r\n", styles: [""], dependencies: [{ kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i5$1.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: i5$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i5$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i8.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i7$2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatSlideToggleModule }, { kind: "component", type: i4.MatSlideToggle, selector: "mat-slide-toggle", inputs: ["name", "id", "labelPosition", "aria-label", "aria-labelledby", "aria-describedby", "required", "color", "disabled", "disableRipple", "tabIndex", "checked", "hideIcon", "disabledInteractive"], outputs: ["change", "toggleChange"], exportAs: ["matSlideToggle"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "ngmodule", type: MatSelectModule }, { kind: "component", type: AgGridAngular, selector: "ag-grid-angular", inputs: ["gridOptions", "modules", "statusBar", "sideBar", "suppressContextMenu", "preventDefaultOnContextMenu", "allowContextMenuWithControlKey", "columnMenu", "suppressMenuHide", "enableBrowserTooltips", "tooltipTrigger", "tooltipShowDelay", "tooltipHideDelay", "tooltipMouseTrack", "tooltipShowMode", "tooltipInteraction", "popupParent", "copyHeadersToClipboard", "copyGroupHeadersToClipboard", "clipboardDelimiter", "suppressCopyRowsToClipboard", "suppressCopySingleCellRanges", "suppressLastEmptyLineOnPaste", "suppressClipboardPaste", "suppressClipboardApi", "suppressCutToClipboard", "columnDefs", "defaultColDef", "defaultColGroupDef", "columnTypes", "dataTypeDefinitions", "maintainColumnOrder", "enableStrictPivotColumnOrder", "suppressFieldDotNotation", "headerHeight", "groupHeaderHeight", "floatingFiltersHeight", "pivotHeaderHeight", "pivotGroupHeaderHeight", "allowDragFromColumnsToolPanel", "suppressMovableColumns", "suppressColumnMoveAnimation", "suppressMoveWhenColumnDragging", "suppressDragLeaveHidesColumns", "suppressGroupChangesColumnVisibility", "suppressMakeColumnVisibleAfterUnGroup", "suppressRowGroupHidesColumns", "colResizeDefault", "suppressAutoSize", "autoSizePadding", "skipHeaderOnAutoSize", "autoSizeStrategy", "components", "editType", "singleClickEdit", "suppressClickEdit", "readOnlyEdit", "stopEditingWhenCellsLoseFocus", "enterNavigatesVertically", "enterNavigatesVerticallyAfterEdit", "enableCellEditingOnBackspace", "undoRedoCellEditing", "undoRedoCellEditingLimit", "defaultCsvExportParams", "suppressCsvExport", "defaultExcelExportParams", "suppressExcelExport", "excelStyles", "findSearchValue", "findOptions", "quickFilterText", "cacheQuickFilter", "includeHiddenColumnsInQuickFilter", "quickFilterParser", "quickFilterMatcher", "applyQuickFilterBeforePivotOrAgg", "excludeChildrenWhenTreeDataFiltering", "enableAdvancedFilter", "alwaysPassFilter", "includeHiddenColumnsInAdvancedFilter", "advancedFilterParent", "advancedFilterBuilderParams", "suppressAdvancedFilterEval", "suppressSetFilterByDefault", "enableCharts", "chartThemes", "customChartThemes", "chartThemeOverrides", "chartToolPanelsDef", "chartMenuItems", "loadingCellRenderer", "loadingCellRendererParams", "loadingCellRendererSelector", "localeText", "masterDetail", "keepDetailRows", "keepDetailRowsCount", "detailCellRenderer", "detailCellRendererParams", "detailRowHeight", "detailRowAutoHeight", "context", "alignedGrids", "tabIndex", "rowBuffer", "valueCache", "valueCacheNeverExpires", "enableCellExpressions", "suppressTouch", "suppressFocusAfterRefresh", "suppressBrowserResizeObserver", "suppressPropertyNamesCheck", "suppressChangeDetection", "debug", "loading", "overlayLoadingTemplate", "loadingOverlayComponent", "loadingOverlayComponentParams", "suppressLoadingOverlay", "overlayNoRowsTemplate", "noRowsOverlayComponent", "noRowsOverlayComponentParams", "suppressNoRowsOverlay", "pagination", "paginationPageSize", "paginationPageSizeSelector", "paginationAutoPageSize", "paginateChildRows", "suppressPaginationPanel", "pivotMode", "pivotPanelShow", "pivotMaxGeneratedColumns", "pivotDefaultExpanded", "pivotColumnGroupTotals", "pivotRowTotals", "pivotSuppressAutoColumn", "suppressExpandablePivotGroups", "functionsReadOnly", "aggFuncs", "suppressAggFuncInHeader", "alwaysAggregateAtRootLevel", "aggregateOnlyChangedColumns", "suppressAggFilteredOnly", "removePivotHeaderRowWhenSingleValueColumn", "animateRows", "cellFlashDuration", "cellFadeDuration", "allowShowChangeAfterFilter", "domLayout", "ensureDomOrder", "enableCellSpan", "enableRtl", "suppressColumnVirtualisation", "suppressMaxRenderedRowRestriction", "suppressRowVirtualisation", "rowDragManaged", "suppressRowDrag", "suppressMoveWhenRowDragging", "rowDragEntireRow", "rowDragMultiRow", "rowDragText", "dragAndDropImageComponent", "dragAndDropImageComponentParams", "fullWidthCellRenderer", "fullWidthCellRendererParams", "embedFullWidthRows", "groupDisplayType", "groupDefaultExpanded", "autoGroupColumnDef", "groupMaintainOrder", "groupSelectsChildren", "groupLockGroupColumns", "groupAggFiltering", "groupTotalRow", "grandTotalRow", "suppressStickyTotalRow", "groupSuppressBlankHeader", "groupSelectsFiltered", "showOpenedGroup", "groupHideParentOfSingleChild", "groupRemoveSingleChildren", "groupRemoveLowestSingleChildren", "groupHideOpenParents", "groupAllowUnbalanced", "rowGroupPanelShow", "groupRowRenderer", "groupRowRendererParams", "treeData", "treeDataChildrenField", "treeDataParentIdField", "rowGroupPanelSuppressSort", "suppressGroupRowsSticky", "pinnedTopRowData", "pinnedBottomRowData", "enableRowPinning", "isRowPinnable", "isRowPinned", "rowModelType", "rowData", "asyncTransactionWaitMillis", "suppressModelUpdateAfterUpdateTransaction", "datasource", "cacheOverflowSize", "infiniteInitialRowCount", "serverSideInitialRowCount", "suppressServerSideFullWidthLoadingRow", "cacheBlockSize", "maxBlocksInCache", "maxConcurrentDatasourceRequests", "blockLoadDebounceMillis", "purgeClosedRowNodes", "serverSideDatasource", "serverSideSortAllLevels", "serverSideEnableClientSideSort", "serverSideOnlyRefreshFilteredGroups", "serverSidePivotResultFieldSeparator", "viewportDatasource", "viewportRowModelPageSize", "viewportRowModelBufferSize", "alwaysShowHorizontalScroll", "alwaysShowVerticalScroll", "debounceVerticalScrollbar", "suppressHorizontalScroll", "suppressScrollOnNewData", "suppressScrollWhenPopupsAreOpen", "suppressAnimationFrame", "suppressMiddleClickScrolls", "suppressPreventDefaultOnMouseWheel", "scrollbarWidth", "rowSelection", "cellSelection", "rowMultiSelectWithClick", "suppressRowDeselection", "suppressRowClickSelection", "suppressCellFocus", "suppressHeaderFocus", "selectionColumnDef", "rowNumbers", "suppressMultiRangeSelection", "enableCellTextSelection", "enableRangeSelection", "enableRangeHandle", "enableFillHandle", "fillHandleDirection", "suppressClearOnFillReduction", "sortingOrder", "accentedSort", "unSortIcon", "suppressMultiSort", "alwaysMultiSort", "multiSortKey", "suppressMaintainUnsortedOrder", "icons", "rowHeight", "rowStyle", "rowClass", "rowClassRules", "suppressRowHoverHighlight", "suppressRowTransform", "columnHoverHighlight", "gridId", "deltaSort", "treeDataDisplayType", "enableGroupEdit", "initialState", "theme", "loadThemeGoogleFonts", "themeCssLayer", "styleNonce", "themeStyleContainer", "getContextMenuItems", "getMainMenuItems", "postProcessPopup", "processUnpinnedColumns", "processCellForClipboard", "processHeaderForClipboard", "processGroupHeaderForClipboard", "processCellFromClipboard", "sendToClipboard", "processDataFromClipboard", "isExternalFilterPresent", "doesExternalFilterPass", "getChartToolbarItems", "createChartContainer", "focusGridInnerElement", "navigateToNextHeader", "tabToNextHeader", "navigateToNextCell", "tabToNextCell", "getLocaleText", "getDocument", "paginationNumberFormatter", "getGroupRowAgg", "isGroupOpenByDefault", "initialGroupOrderComparator", "processPivotResultColDef", "processPivotResultColGroupDef", "getDataPath", "getChildCount", "getServerSideGroupLevelParams", "isServerSideGroupOpenByDefault", "isApplyServerSideTransaction", "isServerSideGroup", "getServerSideGroupKey", "getBusinessKeyForNode", "getRowId", "resetRowDataOnUpdate", "processRowPostCreate", "isRowSelectable", "isRowMaster", "fillOperation", "postSortRows", "getRowStyle", "getRowClass", "getRowHeight", "isFullWidthRow"], outputs: ["toolPanelVisibleChanged", "toolPanelSizeChanged", "columnMenuVisibleChanged", "contextMenuVisibleChanged", "cutStart", "cutEnd", "pasteStart", "pasteEnd", "columnVisible", "columnPinned", "columnResized", "columnMoved", "columnValueChanged", "columnPivotModeChanged", "columnPivotChanged", "columnGroupOpened", "newColumnsLoaded", "gridColumnsChanged", "displayedColumnsChanged", "virtualColumnsChanged", "columnEverythingChanged", "columnHeaderMouseOver", "columnHeaderMouseLeave", "columnHeaderClicked", "columnHeaderContextMenu", "componentStateChanged", "cellValueChanged", "cellEditRequest", "rowValueChanged", "cellEditingStarted", "cellEditingStopped", "rowEditingStarted", "rowEditingStopped", "undoStarted", "undoEnded", "redoStarted", "redoEnded", "cellSelectionDeleteStart", "cellSelectionDeleteEnd", "rangeDeleteStart", "rangeDeleteEnd", "fillStart", "fillEnd", "filterOpened", "filterChanged", "filterModified", "advancedFilterBuilderVisibleChanged", "findChanged", "chartCreated", "chartRangeSelectionChanged", "chartOptionsChanged", "chartDestroyed", "cellKeyDown", "gridReady", "firstDataRendered", "gridSizeChanged", "modelUpdated", "virtualRowRemoved", "viewportChanged", "bodyScroll", "bodyScrollEnd", "dragStarted", "dragStopped", "dragCancelled", "stateUpdated", "paginationChanged", "rowDragEnter", "rowDragMove", "rowDragLeave", "rowDragEnd", "rowDragCancel", "rowResizeStarted", "rowResizeEnded", "columnRowGroupChanged", "rowGroupOpened", "expandOrCollapseAll", "pivotMaxColumnsExceeded", "pinnedRowDataChanged", "pinnedRowsChanged", "rowDataUpdated", "asyncTransactionsFlushed", "storeRefreshed", "headerFocused", "cellClicked", "cellDoubleClicked", "cellFocused", "cellMouseOver", "cellMouseOut", "cellMouseDown", "rowClicked", "rowDoubleClicked", "rowSelected", "selectionChanged", "cellContextMenu", "rangeSelectionChanged", "cellSelectionChanged", "tooltipShow", "tooltipHide", "sortChanged"] }, { kind: "ngmodule", type: FlexLayoutModule }, { kind: "directive", type: i10.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i10.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { kind: "directive", type: i10.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "directive", type: i10.FlexFillDirective, selector: "[fxFill], [fxFlexFill]" }, { kind: "directive", type: i10.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { kind: "directive", type: i10$1.DefaultShowHideDirective, selector: " [fxShow], [fxShow.print], [fxShow.xs], [fxShow.sm], [fxShow.md], [fxShow.lg], [fxShow.xl], [fxShow.lt-sm], [fxShow.lt-md], [fxShow.lt-lg], [fxShow.lt-xl], [fxShow.gt-xs], [fxShow.gt-sm], [fxShow.gt-md], [fxShow.gt-lg], [fxHide], [fxHide.print], [fxHide.xs], [fxHide.sm], [fxHide.md], [fxHide.lg], [fxHide.xl], [fxHide.lt-sm], [fxHide.lt-md], [fxHide.lt-lg], [fxHide.lt-xl], [fxHide.gt-xs], [fxHide.gt-sm], [fxHide.gt-md], [fxHide.gt-lg]", inputs: ["fxShow", "fxShow.print", "fxShow.xs", "fxShow.sm", "fxShow.md", "fxShow.lg", "fxShow.xl", "fxShow.lt-sm", "fxShow.lt-md", "fxShow.lt-lg", "fxShow.lt-xl", "fxShow.gt-xs", "fxShow.gt-sm", "fxShow.gt-md", "fxShow.gt-lg", "fxHide", "fxHide.print", "fxHide.xs", "fxHide.sm", "fxHide.md", "fxHide.lg", "fxHide.xl", "fxHide.lt-sm", "fxHide.lt-md", "fxHide.lt-lg", "fxHide.lt-xl", "fxHide.gt-xs", "fxHide.gt-sm", "fxHide.gt-md", "fxHide.gt-lg"] }, { kind: "component", type: FHGridToolBarComponent, selector: "FHGridToolBar", inputs: ["show_help", "help_label", "show_link", "elimina_label", "b_wait", "type", "toolbar_wkfapp", "custom_commands", "custom_commands_primary", "sRow"], outputs: ["command"] }, { kind: "component", type: FHFilterComboboxComponent, selector: "FHFilterComboBox", inputs: ["init_fill", "sql", "types", "values", "hidden", "label", "enabled", "required", "sel_label", "valDef", "db_type"], outputs: ["fillend", "selchange", "initend"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i6$1.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"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i9$1.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: i9$1.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "component", type: MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }] });
|
|
10608
10633
|
}
|
|
10609
10634
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: FHGridComponent, decorators: [{
|
|
10610
10635
|
type: Component,
|
|
@@ -10624,7 +10649,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
10624
10649
|
MatInputModule,
|
|
10625
10650
|
MatButtonModule,
|
|
10626
10651
|
MatProgressSpinner
|
|
10627
|
-
], template: "<div fxLayout=\"column\" fxFlexFill>\r\n <div\r\n fxLayout=\"row\"\r\n fxLayout.xs=\"column\"\r\n fxLayoutAlign=\"start center\"\r\n fxLayoutGap=\"3px\"\r\n [style.min-height]=\"show_buttons ? '55px': '35px'\"\r\n [hidden]=\"!show_buttons && !show_num_elem\"\r\n >\r\n \r\n <div fxLayout=\"row\" fxLayoutGap=\"3px\" fxLayoutAlign=\"start center\">\r\n <div *ngIf=\"show_num_elem\">\r\n <h3 *ngIf=\"num_r>=0\">{{num_r}} {{label_elementi | translate}}</h3>\r\n <h3 *ngIf=\"num_r<0\"><mat-progress-spinner diameter=\"30\" mode=\"indeterminate\"></mat-progress-spinner></h3>\r\n </div>\r\n \r\n <div\r\n fxLayout=\"row\"\r\n fxLayoutAlign=\"start center\"\r\n fxLayoutGap=\"3px\"\r\n *ngIf=\"show_buttons\"\r\n >\r\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\">\r\n <input\r\n matInput\r\n [placeholder]=\"trova_label | translate\"\r\n (keydown)=\"keyDownFunctioncl($event)\"\r\n [(ngModel)]=\"ric_libera\"\r\n style=\"width: 200px; border: 1px solid; min-height: 30px\"\r\n />\r\n </div>\r\n <div\r\n [matTooltip]=\"tooltip_remove_filter | translate\"\r\n matTooltipPosition=\"above\"\r\n *ngIf=\"show_pulisci_filtri\"\r\n >\r\n <button\r\n mat-flat-button\r\n (click)=\"pulisci_filtri()\"\r\n color=\"warn\"\r\n class=\"fh_icon_button\"\r\n >\r\n <mat-icon>filter_none</mat-icon>\r\n </button>\r\n </div>\r\n <div [matTooltip]=\"tooltip_auto_size | translate\" matTooltipPosition=\"above\">\r\n <button\r\n mat-flat-button\r\n class=\"fh_icon_button\"\r\n (click)=\"autoSizeAll()\"\r\n color=\"primary\"\r\n *ngIf=\"show_buttons\"\r\n >\r\n <mat-icon>swap_horiz</mat-icon>\r\n </button>\r\n </div>\r\n <div\r\n fxHide\r\n fxShow.gt-sm\r\n [matTooltip]=\"tooltip_fit_size | translate\"\r\n matTooltipPosition=\"above\"\r\n >\r\n <button\r\n mat-flat-button\r\n class=\"fh_icon_button\"\r\n (click)=\"fitSizeAll()\"\r\n color=\"primary\"\r\n *ngIf=\"show_buttons\"\r\n >\r\n <mat-icon>keyboard_tab</mat-icon>\r\n </button>\r\n </div>\r\n <div\r\n fxHide\r\n fxShow.gt-sm\r\n [matTooltip]=\"tooltip_refresh | translate\"\r\n matTooltipPosition=\"above\"\r\n >\r\n <button\r\n mat-flat-button\r\n class=\"fh_icon_button\"\r\n (click)=\"Refresh()\"\r\n color=\"primary\"\r\n *ngIf=\"show_buttons\"\r\n >\r\n <mat-icon>autorenew</mat-icon>\r\n </button>\r\n </div>\r\n \r\n <FHFilterComboBox\r\n fxHide\r\n fxShow.gt-sm\r\n [hidden]=\"!show_buttons || pref_hidden\"\r\n (selchange)=\"ch_config()\"\r\n (fillend)=\"fe_cfg()\"\r\n #gf\r\n [init_fill]=\"false\"\r\n ></FHFilterComboBox>\r\n <div\r\n [matTooltip]=\"tooltip_modifica_preferenza | translate\"\r\n matTooltipPosition=\"above\"\r\n *ngIf=\"curr_config!='-1'\"\r\n >\r\n <button\r\n mat-icon-button\r\n class=\"fh_icon_button\"\r\n *ngIf=\"show_buttons && !pref_hidden\"\r\n style=\"color: rgb(248, 105, 10)\" (click)=\"edit_config()\"\r\n >\r\n <mat-icon>save</mat-icon>\r\n </button>\r\n </div>\r\n <div\r\n [matTooltip]=\"tooltip_elimina_preferenza | translate\"\r\n matTooltipPosition=\"above\"\r\n *ngIf=\"curr_config!='-1'\"\r\n >\r\n <button\r\n class=\"fh_icon_button\"\r\n mat-icon-button (click)=\"elimina_config()\"\r\n *ngIf=\"show_buttons && !pref_hidden\"\r\n style=\"color: #CC0000\"\r\n >\r\n <mat-icon>delete</mat-icon>\r\n </button>\r\n </div>\r\n <div\r\n fxHide\r\n *ngIf=\"show_buttons && !pref_hidden\"\r\n fxShow.gt-sm\r\n [matTooltip]=\"tooltip_crea_preferenza | translate\"\r\n matTooltipPosition=\"above\"\r\n >\r\n <button\r\n mat-icon-button\r\n class=\"fh_icon_button\"\r\n style=\"color: rgb(16, 98, 16)\" (click)=\"insert_config()\"\r\n >\r\n <mat-icon>library_add</mat-icon>\r\n </button>\r\n </div>\r\n\r\n <mat-slide-toggle\r\n fxHide\r\n fxShow.gt-sm\r\n [hidden]=\"!show_buttons || pref_hidden\"\r\n (click)=\"ck_flag()\"\r\n #toggle_mantieni\r\n >\r\n {{mantieni_impostazioni}}\r\n </mat-slide-toggle>\r\n\r\n \r\n <div\r\n fxHide\r\n fxShow.gt-sm\r\n [matTooltip]=\"tooltip_help | translate\"\r\n matTooltipPosition=\"above\"\r\n *ngIf=\"show_buttons && show_help\"\r\n >\r\n <button\r\n mat-flat-button\r\n (click)=\"help_window()\"\r\n class=\"fh_icon_button\"\r\n color=\"primary\"\r\n >\r\n <mat-icon>help</mat-icon>\r\n </button>\r\n </div>\r\n </div>\r\n \r\n <img\r\n *ngIf=\"enable_export && enable_export_pdf\"\r\n [matTooltip]=\"tooltip_export_pdf | translate\"\r\n matTooltipPosition=\"above\"\r\n src=\"assets/icons/square-o/pdf.svg\"\r\n style=\"width: 24px; height: 24px; cursor: pointer\"\r\n (click)=\"print()\"\r\n alt=\"Export PDF\"\r\n width=\"24\"\r\n height=\"24\"\r\n />\r\n\r\n <img\r\n *ngIf=\"enable_export && enable_export_xls\"\r\n [matTooltip]=\"tooltip_export_excel | translate\"\r\n matTooltipPosition=\"above\"\r\n src=\"assets/icons/square-o/xlsx.svg\"\r\n style=\"width: 24px; height: 24px; cursor: pointer\"\r\n (click)=\"export_excel()\"\r\n alt=\"Export Excel\"\r\n width=\"24\"\r\n height=\"24\"\r\n />\r\n <div\r\n fxHide\r\n fxShow.gt-sm\r\n fxLayoutAlign=\"start center\"\r\n *ngIf=\"subtitle\"\r\n >\r\n \r\n <b>{{subtitle}}</b>\r\n </div>\r\n </div>\r\n <div fxLayout=\"row\" fxLayoutAlign=\"end center\" fxFlex *ngIf=\"enabled\">\r\n <FHGridToolBar\r\n (command)=\"docmd($event)\"\r\n [type]=\"toolbar_type\"\r\n [show_link]=\"show_link\"\r\n [show_help]=\"show_help_bar\"\r\n [help_label]=\"help_label_bar\"\r\n [custom_commands]=\"toolbar_custom_commands\"\r\n [toolbar_wkfapp]=\"toolbar_wkfapp\"\r\n [elimina_label]=\"elimina_label\"\r\n [sRow]=\"sRow\"\r\n ></FHGridToolBar>\r\n </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 *ngIf=\"init_opt\"\r\n ref-agGrid\r\n style=\"width: 100%; height: 100%\"\r\n id=\"myGrid\"\r\n (cellDoubleClicked)=\"onColumnEvent($event)\"\r\n (cellClicked)=\"onCellClicked($event)\"\r\n [headerHeight]=\"header_h\"\r\n [groupHeaderHeight]=\"header_h\"\r\n [theme]=\"effectiveTheme\"\r\n [singleClickEdit]=\"true\"\r\n [gridOptions]=\"gridOptions\"\r\n [columnDefs]=\"columnDefs\"\r\n [rowSelection]=\"selection_mode\"\r\n [tooltipShowDelay]=\"tooltipShowDelay\"\r\n [masterDetail]=\"master_detail\"\r\n [detailCellRenderer]=\"detail_cell_renderer\"\r\n (gridReady)=\"onReady($event)\"\r\n [icons]=\"icons\"\r\n (filterModified)=\"onFilterModified()\"\r\n (rowDoubleClicked)=\"onRowDClicked($event)\"\r\n (rowClicked)=\"onRowClicked($event)\"\r\n (columnVisible)=\"oncolumnEverythingChanged()\"\r\n (columnResized)=\"oncolumnEverythingChanged()\"\r\n (columnMoved)=\"oncolumnEverythingChanged()\"\r\n (cellValueChanged)=\"okr($event)\"\r\n (sortChanged)=\"onAfterSortChanged()\"\r\n (selectionChanged)=\"onSelectionChanged($event)\"\r\n >\r\n </ag-grid-angular>\r\n </div>\r\n</div>\r\n" }]
|
|
10652
|
+
], template: "<div fxLayout=\"column\" fxFlexFill>\r\n <div\r\n fxLayout=\"row\"\r\n fxLayout.xs=\"column\"\r\n fxLayoutAlign=\"start center\"\r\n fxLayoutGap=\"3px\"\r\n [style.min-height]=\"show_buttons ? '55px': '35px'\"\r\n [hidden]=\"!show_buttons && !show_num_elem\"\r\n >\r\n \r\n <div fxLayout=\"row\" fxLayoutGap=\"3px\" fxLayoutAlign=\"start center\">\r\n <div *ngIf=\"show_num_elem\">\r\n <h3 *ngIf=\"num_r>=0\">{{num_r}} {{label_elementi | translate}}</h3>\r\n <h3 *ngIf=\"num_r<0\"><mat-progress-spinner diameter=\"30\" mode=\"indeterminate\"></mat-progress-spinner></h3>\r\n </div>\r\n \r\n <div\r\n fxLayout=\"row\"\r\n fxLayoutAlign=\"start center\"\r\n fxLayoutGap=\"3px\"\r\n *ngIf=\"show_buttons\"\r\n >\r\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\">\r\n <input\r\n matInput\r\n [placeholder]=\"trova_label | translate\"\r\n (keydown)=\"keyDownFunctioncl($event)\"\r\n [(ngModel)]=\"ric_libera\"\r\n style=\"width: 200px; border: 1px solid; min-height: 30px\"\r\n />\r\n </div>\r\n <div\r\n [matTooltip]=\"tooltip_remove_filter | translate\"\r\n matTooltipPosition=\"above\"\r\n *ngIf=\"show_pulisci_filtri\"\r\n >\r\n <button\r\n mat-flat-button\r\n (click)=\"pulisci_filtri()\"\r\n color=\"warn\"\r\n class=\"fh_icon_button\"\r\n >\r\n <mat-icon>filter_none</mat-icon>\r\n </button>\r\n </div>\r\n <div [matTooltip]=\"tooltip_auto_size | translate\" matTooltipPosition=\"above\">\r\n <button\r\n mat-flat-button\r\n class=\"fh_icon_button\"\r\n (click)=\"autoSizeAll(true)\"\r\n color=\"primary\"\r\n *ngIf=\"show_buttons\"\r\n >\r\n <mat-icon>swap_horiz</mat-icon>\r\n </button>\r\n </div>\r\n <div\r\n fxHide\r\n fxShow.gt-sm\r\n [matTooltip]=\"tooltip_fit_size | translate\"\r\n matTooltipPosition=\"above\"\r\n >\r\n <button\r\n mat-flat-button\r\n class=\"fh_icon_button\"\r\n (click)=\"fitSizeAll()\"\r\n color=\"primary\"\r\n *ngIf=\"show_buttons\"\r\n >\r\n <mat-icon>keyboard_tab</mat-icon>\r\n </button>\r\n </div>\r\n <div\r\n fxHide\r\n fxShow.gt-sm\r\n [matTooltip]=\"tooltip_refresh | translate\"\r\n matTooltipPosition=\"above\"\r\n >\r\n <button\r\n mat-flat-button\r\n class=\"fh_icon_button\"\r\n (click)=\"Refresh()\"\r\n color=\"primary\"\r\n *ngIf=\"show_buttons\"\r\n >\r\n <mat-icon>autorenew</mat-icon>\r\n </button>\r\n </div>\r\n \r\n <FHFilterComboBox\r\n fxHide\r\n fxShow.gt-sm\r\n [hidden]=\"!show_buttons || pref_hidden\"\r\n (selchange)=\"ch_config()\"\r\n (fillend)=\"fe_cfg()\"\r\n #gf\r\n [init_fill]=\"false\"\r\n ></FHFilterComboBox>\r\n <div\r\n [matTooltip]=\"tooltip_modifica_preferenza | translate\"\r\n matTooltipPosition=\"above\"\r\n *ngIf=\"curr_config!='-1'\"\r\n >\r\n <button\r\n mat-icon-button\r\n class=\"fh_icon_button\"\r\n *ngIf=\"show_buttons && !pref_hidden\"\r\n style=\"color: rgb(248, 105, 10)\" (click)=\"edit_config()\"\r\n >\r\n <mat-icon>save</mat-icon>\r\n </button>\r\n </div>\r\n <div\r\n [matTooltip]=\"tooltip_elimina_preferenza | translate\"\r\n matTooltipPosition=\"above\"\r\n *ngIf=\"curr_config!='-1'\"\r\n >\r\n <button\r\n class=\"fh_icon_button\"\r\n mat-icon-button (click)=\"elimina_config()\"\r\n *ngIf=\"show_buttons && !pref_hidden\"\r\n style=\"color: #CC0000\"\r\n >\r\n <mat-icon>delete</mat-icon>\r\n </button>\r\n </div>\r\n <div\r\n fxHide\r\n *ngIf=\"show_buttons && !pref_hidden\"\r\n fxShow.gt-sm\r\n [matTooltip]=\"tooltip_crea_preferenza | translate\"\r\n matTooltipPosition=\"above\"\r\n >\r\n <button\r\n mat-icon-button\r\n class=\"fh_icon_button\"\r\n style=\"color: rgb(16, 98, 16)\" (click)=\"insert_config()\"\r\n >\r\n <mat-icon>library_add</mat-icon>\r\n </button>\r\n </div>\r\n\r\n <mat-slide-toggle\r\n fxHide\r\n fxShow.gt-sm\r\n [hidden]=\"!show_buttons || pref_hidden\"\r\n (click)=\"ck_flag()\"\r\n #toggle_mantieni\r\n >\r\n {{mantieni_impostazioni}}\r\n </mat-slide-toggle>\r\n\r\n \r\n <div\r\n fxHide\r\n fxShow.gt-sm\r\n [matTooltip]=\"tooltip_help | translate\"\r\n matTooltipPosition=\"above\"\r\n *ngIf=\"show_buttons && show_help\"\r\n >\r\n <button\r\n mat-flat-button\r\n (click)=\"help_window()\"\r\n class=\"fh_icon_button\"\r\n color=\"primary\"\r\n >\r\n <mat-icon>help</mat-icon>\r\n </button>\r\n </div>\r\n </div>\r\n \r\n <img\r\n *ngIf=\"enable_export && enable_export_pdf\"\r\n [matTooltip]=\"tooltip_export_pdf | translate\"\r\n matTooltipPosition=\"above\"\r\n src=\"assets/icons/square-o/pdf.svg\"\r\n style=\"width: 24px; height: 24px; cursor: pointer\"\r\n (click)=\"print()\"\r\n alt=\"Export PDF\"\r\n width=\"24\"\r\n height=\"24\"\r\n />\r\n\r\n <img\r\n *ngIf=\"enable_export && enable_export_xls\"\r\n [matTooltip]=\"tooltip_export_excel | translate\"\r\n matTooltipPosition=\"above\"\r\n src=\"assets/icons/square-o/xlsx.svg\"\r\n style=\"width: 24px; height: 24px; cursor: pointer\"\r\n (click)=\"export_excel()\"\r\n alt=\"Export Excel\"\r\n width=\"24\"\r\n height=\"24\"\r\n />\r\n <div\r\n fxHide\r\n fxShow.gt-sm\r\n fxLayoutAlign=\"start center\"\r\n *ngIf=\"subtitle\"\r\n >\r\n \r\n <b>{{subtitle}}</b>\r\n </div>\r\n </div>\r\n <div fxLayout=\"row\" fxLayoutAlign=\"end center\" fxFlex *ngIf=\"enabled\">\r\n <FHGridToolBar\r\n (command)=\"docmd($event)\"\r\n [type]=\"toolbar_type\"\r\n [show_link]=\"show_link\"\r\n [show_help]=\"show_help_bar\"\r\n [help_label]=\"help_label_bar\"\r\n [custom_commands]=\"toolbar_custom_commands\"\r\n [toolbar_wkfapp]=\"toolbar_wkfapp\"\r\n [elimina_label]=\"elimina_label\"\r\n [sRow]=\"sRow\"\r\n ></FHGridToolBar>\r\n </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 *ngIf=\"init_opt\"\r\n ref-agGrid\r\n style=\"width: 100%; height: 100%\"\r\n id=\"myGrid\"\r\n (cellDoubleClicked)=\"onColumnEvent($event)\"\r\n (cellClicked)=\"onCellClicked($event)\"\r\n [headerHeight]=\"header_h\"\r\n [groupHeaderHeight]=\"header_h\"\r\n [theme]=\"effectiveTheme\"\r\n [singleClickEdit]=\"true\"\r\n [gridOptions]=\"gridOptions\"\r\n [columnDefs]=\"columnDefs\"\r\n [rowSelection]=\"selection_mode\"\r\n [tooltipShowDelay]=\"tooltipShowDelay\"\r\n [masterDetail]=\"master_detail\"\r\n [detailCellRenderer]=\"detail_cell_renderer\"\r\n (gridReady)=\"onReady($event)\"\r\n [icons]=\"icons\"\r\n (filterModified)=\"onFilterModified()\"\r\n (rowDoubleClicked)=\"onRowDClicked($event)\"\r\n (rowClicked)=\"onRowClicked($event)\"\r\n (columnVisible)=\"oncolumnEverythingChanged()\"\r\n (columnResized)=\"oncolumnEverythingChanged()\"\r\n (columnMoved)=\"oncolumnEverythingChanged()\"\r\n (cellValueChanged)=\"okr($event)\"\r\n (sortChanged)=\"onAfterSortChanged()\"\r\n (selectionChanged)=\"onSelectionChanged($event)\"\r\n >\r\n </ag-grid-angular>\r\n </div>\r\n</div>\r\n" }]
|
|
10628
10653
|
}], ctorParameters: () => [{ type: GridService }, { type: i3$1.ToastrService }, { type: QueryService }, { type: AppService }, { type: i1$2.MatDialog }, { type: UtilityService }, { type: FileService }, { type: i8$2.Clipboard }, { type: i3.TranslateService }, { type: i1$1.HttpClient }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }], propDecorators: { theme: [{
|
|
10629
10654
|
type: Input
|
|
10630
10655
|
}], gridCursorPointer: [{
|