@fluxhub/fluxhub-lib 19.0.190 → 19.0.192
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.
|
@@ -9075,14 +9075,6 @@ ModuleRegistry.registerModules([
|
|
|
9075
9075
|
ContextMenuModule,
|
|
9076
9076
|
SetFilterModule
|
|
9077
9077
|
]);
|
|
9078
|
-
// Tema di default: header colorabile per-portale via CSS variables, con fallback
|
|
9079
|
-
// ai colori di default del quartz (così i portali che non le impostano restano invariati).
|
|
9080
|
-
// --fh-grid-header-bg : sfondo header
|
|
9081
|
-
// --fh-grid-header-fg : testo/icone header
|
|
9082
|
-
const FH_GRID_THEME = themeQuartz.withParams({
|
|
9083
|
-
headerBackgroundColor: 'var(--fh-grid-header-bg, #f8f9fb)',
|
|
9084
|
-
headerTextColor: 'var(--fh-grid-header-fg, #181d1f)',
|
|
9085
|
-
});
|
|
9086
9078
|
class FHGridComponent {
|
|
9087
9079
|
_gridservice;
|
|
9088
9080
|
_toast;
|
|
@@ -9116,7 +9108,9 @@ class FHGridComponent {
|
|
|
9116
9108
|
return 'other';
|
|
9117
9109
|
}
|
|
9118
9110
|
}
|
|
9119
|
-
|
|
9111
|
+
// Se non passato (null) si usa il tema quartz di default; se valorizzato si usa quello.
|
|
9112
|
+
theme = null;
|
|
9113
|
+
get effectiveTheme() { return this.theme ?? themeQuartz; }
|
|
9120
9114
|
gridCursorPointer = false;
|
|
9121
9115
|
pagination = false;
|
|
9122
9116
|
paginationPageSize = 10;
|
|
@@ -10442,7 +10436,7 @@ class FHGridComponent {
|
|
|
10442
10436
|
this.updateRow();
|
|
10443
10437
|
}
|
|
10444
10438
|
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$3.Clipboard }, { token: i3.TranslateService }, { token: i1$1.HttpClient }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
10445
|
-
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", 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", 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]=\"theme\"\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: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatSlideToggleModule }, { kind: "component", type: i4$1.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: i9$1.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: i9$1.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: i9$1.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: i9$1.FlexFillDirective, selector: "[fxFill], [fxFlexFill]" }, { kind: "directive", type: i9$1.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.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: i8$1.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: i8$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"] }] });
|
|
10439
|
+
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", 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", 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: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatSlideToggleModule }, { kind: "component", type: i4$1.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: i9$1.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: i9$1.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: i9$1.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: i9$1.FlexFillDirective, selector: "[fxFill], [fxFlexFill]" }, { kind: "directive", type: i9$1.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.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: i8$1.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: i8$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"] }] });
|
|
10446
10440
|
}
|
|
10447
10441
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: FHGridComponent, decorators: [{
|
|
10448
10442
|
type: Component,
|
|
@@ -10462,7 +10456,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
10462
10456
|
MatInputModule,
|
|
10463
10457
|
MatButtonModule,
|
|
10464
10458
|
MatProgressSpinner
|
|
10465
|
-
], 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]=\"
|
|
10459
|
+
], 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" }]
|
|
10466
10460
|
}], ctorParameters: () => [{ type: GridService }, { type: i3$1.ToastrService }, { type: QueryService }, { type: AppService }, { type: i1$2.MatDialog }, { type: UtilityService }, { type: FileService }, { type: i8$3.Clipboard }, { type: i3.TranslateService }, { type: i1$1.HttpClient }, { type: i0.ChangeDetectorRef }], propDecorators: { theme: [{
|
|
10467
10461
|
type: Input
|
|
10468
10462
|
}], gridCursorPointer: [{
|
|
@@ -13738,7 +13732,10 @@ class FHNumericFieldComponent {
|
|
|
13738
13732
|
hidden = false;
|
|
13739
13733
|
color = null;
|
|
13740
13734
|
error = null;
|
|
13741
|
-
|
|
13735
|
+
// Nessuno sfondo di default: se non passato, il campo eredita lo stile standard
|
|
13736
|
+
// del portale (es. tinta accent del form-field). set_backcolor()/[bkcolor] per
|
|
13737
|
+
// impostare un colore custom quando serve.
|
|
13738
|
+
bkcolor = null;
|
|
13742
13739
|
pattern = "[-+]?[0-9]*[.,]?[0-9]+";
|
|
13743
13740
|
change = new EventEmitter();
|
|
13744
13741
|
focus_out = new EventEmitter();
|