sf-crud 13.2.39 → 13.2.41
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.
|
@@ -8,6 +8,7 @@ export declare class FileUploadComponent implements OnInit, OnChanges {
|
|
|
8
8
|
loading: boolean;
|
|
9
9
|
configName: string | undefined;
|
|
10
10
|
accept: string;
|
|
11
|
+
referenceImage: string | undefined;
|
|
11
12
|
onUpload: EventEmitter<File[]>;
|
|
12
13
|
onDeleteFile: EventEmitter<number>;
|
|
13
14
|
fileUploader: ElementRef;
|
|
@@ -26,7 +27,7 @@ export declare class FileUploadComponent implements OnInit, OnChanges {
|
|
|
26
27
|
startAnimation(): void;
|
|
27
28
|
stopAnimation(): void;
|
|
28
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadComponent, never>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadComponent, "sf-file-upload", never, { "limit": { "alias": "limit"; "required": false; }; "files": { "alias": "files"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "configName": { "alias": "configName"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; }, { "onUpload": "onUpload"; "onDeleteFile": "onDeleteFile"; }, never, never, true, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadComponent, "sf-file-upload", never, { "limit": { "alias": "limit"; "required": false; }; "files": { "alias": "files"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "configName": { "alias": "configName"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; "referenceImage": { "alias": "referenceImage"; "required": false; }; }, { "onUpload": "onUpload"; "onDeleteFile": "onDeleteFile"; }, never, never, true, never>;
|
|
30
31
|
}
|
|
31
32
|
export declare class Archivo {
|
|
32
33
|
url: string;
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { ConfigTablero } from '../../shared/models/crud-config.model';
|
|
3
|
-
import { GeneralService } from '../../shared/services/general.service';
|
|
4
3
|
import { SfCrudService } from '../../sf-crud.service';
|
|
5
4
|
import { Table } from 'primeng/table';
|
|
6
5
|
import { TableroService } from '../../shared/services/tablero.service';
|
|
7
6
|
import * as i0 from "@angular/core";
|
|
8
7
|
export declare class TableroComponent implements OnInit, OnChanges, OnDestroy {
|
|
9
|
-
private generalService;
|
|
10
8
|
private sfCrudService;
|
|
11
9
|
private tableroService;
|
|
12
10
|
private service;
|
|
@@ -26,7 +24,9 @@ export declare class TableroComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
26
24
|
color2: string;
|
|
27
25
|
colorButtons: string;
|
|
28
26
|
itemSelected: any;
|
|
29
|
-
|
|
27
|
+
value: any;
|
|
28
|
+
selectFilter: boolean;
|
|
29
|
+
constructor(sfCrudService: SfCrudService, tableroService: TableroService);
|
|
30
30
|
get displayData(): any[];
|
|
31
31
|
get loading(): import("../../sf-crud.service").Loading;
|
|
32
32
|
get isLoadingData(): boolean;
|
|
@@ -36,15 +36,13 @@ export declare class TableroComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
36
36
|
get tableConfig(): ConfigTablero | null;
|
|
37
37
|
get initialLoadDone(): boolean;
|
|
38
38
|
get first(): number;
|
|
39
|
+
get filterOptions(): Map<string, any>;
|
|
39
40
|
ngOnInit(): void;
|
|
40
41
|
ngOnChanges(changes: SimpleChanges): void;
|
|
41
42
|
ngOnDestroy(): void;
|
|
42
43
|
VerifyConfigExist(): void;
|
|
43
|
-
verifyOptions(): void;
|
|
44
44
|
loadConfigCrud(): void;
|
|
45
45
|
customizeCompany(uiEsquemas: any[]): void;
|
|
46
|
-
initFilterOptions(): void;
|
|
47
|
-
generateFilterOptions(col: any): void;
|
|
48
46
|
externalLinkAction(): void;
|
|
49
47
|
execAction(params: any): void;
|
|
50
48
|
onGlobalFilter(event: Event, dt: any): void;
|
|
@@ -52,6 +50,9 @@ export declare class TableroComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
52
50
|
goToDetail(event: any): void;
|
|
53
51
|
pageChange(event: any): void;
|
|
54
52
|
onGlobalSearch(value: string, table: Table): void;
|
|
53
|
+
private extractActiveFilters;
|
|
54
|
+
private isEmpty;
|
|
55
|
+
filterValue(value: any, fallback: any): void;
|
|
55
56
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableroComponent, never>;
|
|
56
57
|
static ɵcmp: i0.ɵɵComponentDeclaration<TableroComponent, "sf-crudtablero", never, { "opciones": { "alias": "opciones"; "required": false; }; "idEntidad": { "alias": "idEntidad"; "required": false; }; "idKatios": { "alias": "idKatios"; "required": false; }; "environment": { "alias": "environment"; "required": false; }; "user": { "alias": "user"; "required": false; }; "dataExt": { "alias": "dataExt"; "required": false; }; "showCreateButton": { "alias": "showCreateButton"; "required": false; }; "customConfig": { "alias": "customConfig"; "required": false; }; "table": { "alias": "table"; "required": false; }; "customFilters": { "alias": "customFilters"; "required": false; }; "rowsPerPage": { "alias": "rowsPerPage"; "required": false; }; "optionsMap": { "alias": "optionsMap"; "required": false; }; }, { "onSelectAction": "onSelectAction"; }, never, never, true, never>;
|
|
57
58
|
}
|
|
@@ -31,6 +31,7 @@ export declare class TableroService {
|
|
|
31
31
|
_rowsPerPage: import("@angular/core").WritableSignal<number>;
|
|
32
32
|
_totalRecords: import("@angular/core").WritableSignal<number>;
|
|
33
33
|
_searchValue: import("@angular/core").WritableSignal<string>;
|
|
34
|
+
_filterValue: import("@angular/core").WritableSignal<Record<string, unknown> | null>;
|
|
34
35
|
_initialLoadDone: import("@angular/core").WritableSignal<boolean>;
|
|
35
36
|
_itemSelected: import("@angular/core").WritableSignal<any>;
|
|
36
37
|
_showCreateButton: import("@angular/core").WritableSignal<boolean>;
|
|
@@ -66,6 +67,7 @@ export declare class TableroService {
|
|
|
66
67
|
}>;
|
|
67
68
|
readonly loading: import("@angular/core").Signal<Loading>;
|
|
68
69
|
readonly config: import("@angular/core").Signal<TableroStateConfig | null>;
|
|
70
|
+
readonly filterValue: import("@angular/core").Signal<Record<string, unknown> | null>;
|
|
69
71
|
readonly isLoadingData: import("@angular/core").Signal<boolean>;
|
|
70
72
|
readonly displayData: import("@angular/core").Signal<any[]>;
|
|
71
73
|
readonly first: import("@angular/core").Signal<number>;
|
|
@@ -79,6 +81,7 @@ export declare class TableroService {
|
|
|
79
81
|
setLoading(loading: Loading): void;
|
|
80
82
|
clearOptions(): void;
|
|
81
83
|
setOptions(options: Map<string, any>): void;
|
|
84
|
+
setFilterValue(value: Record<string, unknown> | null): void;
|
|
82
85
|
initialize(config: TableroStateConfig): void;
|
|
83
86
|
getInfoTablero(): void;
|
|
84
87
|
generateData(data: any[], tableConfig?: any): void;
|
|
@@ -87,6 +90,7 @@ export declare class TableroService {
|
|
|
87
90
|
key: string;
|
|
88
91
|
scope?: string;
|
|
89
92
|
}[], endpoint: string, data?: any): string;
|
|
93
|
+
private serializeFilterValue;
|
|
90
94
|
setItemSelected(item: any): void;
|
|
91
95
|
loadOptions(): void;
|
|
92
96
|
verifyCreateButton(): void;
|
|
@@ -100,6 +104,10 @@ export declare class TableroService {
|
|
|
100
104
|
pageChange(newPage: number, newRows: number): void;
|
|
101
105
|
onGlobalSearch(value: string): void;
|
|
102
106
|
destroy(): void;
|
|
107
|
+
filterItems(value: any): void;
|
|
108
|
+
verifyOptions(): void;
|
|
109
|
+
initFilterOptions(): void;
|
|
110
|
+
generateFilterOptions(col: any): void;
|
|
103
111
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableroService, never>;
|
|
104
112
|
static ɵprov: i0.ɵɵInjectableDeclaration<TableroService>;
|
|
105
113
|
}
|