sf-crud 13.0.4 → 13.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/sf-crud.mjs +124 -40
- package/fesm2022/sf-crud.mjs.map +1 -1
- package/lib/components/tablero/tablero.component.d.ts +10 -2
- package/lib/shared/injections/token.d.ts +3 -0
- package/lib/shared/models/crud-config.model.d.ts +2 -0
- package/lib/shared/models/dialog.model.d.ts +8 -0
- package/lib/shared/services/dialog.service.d.ts +11 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -5,18 +5,21 @@ import { MenuItem } from 'primeng/api';
|
|
|
5
5
|
import { Router } from '@angular/router';
|
|
6
6
|
import { SfCrudService } from '../../sf-crud.service';
|
|
7
7
|
import { StepService } from '../../shared/services/step.service';
|
|
8
|
+
import { CrudDialogService } from '../../shared/services/dialog.service';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
export declare class TableroComponent implements OnInit, OnChanges {
|
|
10
11
|
private generalService;
|
|
11
12
|
private router;
|
|
12
13
|
private sfCrudService;
|
|
13
14
|
private stepService;
|
|
15
|
+
private dialogService;
|
|
14
16
|
opciones: any[];
|
|
15
17
|
idEntidad: string;
|
|
16
18
|
idKatios: string;
|
|
17
19
|
environment?: any;
|
|
18
20
|
user: any;
|
|
19
21
|
dataExt: any;
|
|
22
|
+
showCreateButton: boolean;
|
|
20
23
|
onSelectAction: EventEmitter<any>;
|
|
21
24
|
color2: string;
|
|
22
25
|
colorButtons: string;
|
|
@@ -32,13 +35,17 @@ export declare class TableroComponent implements OnInit, OnChanges {
|
|
|
32
35
|
};
|
|
33
36
|
itemSelected: any;
|
|
34
37
|
private loading;
|
|
35
|
-
|
|
38
|
+
optionsMap: Map<string, any>;
|
|
39
|
+
constructor(generalService: GeneralService, router: Router, sfCrudService: SfCrudService, stepService: StepService, dialogService: CrudDialogService);
|
|
36
40
|
ngOnInit(): void;
|
|
37
41
|
ngOnChanges(changes: SimpleChanges): void;
|
|
38
42
|
loadConfigCrud(): void;
|
|
39
43
|
customizeCompany(uiEsquemas: any[]): void;
|
|
40
44
|
getInfoTablero(): void;
|
|
41
45
|
generateData(data: any[]): void;
|
|
46
|
+
initFilterOptions(): void;
|
|
47
|
+
verifyCreateButton(): void;
|
|
48
|
+
generateFilterOptions(col: any): void;
|
|
42
49
|
getValue(path: string, item: any): any;
|
|
43
50
|
externalLinkAction(): void;
|
|
44
51
|
loadOptions(): void;
|
|
@@ -49,6 +56,7 @@ export declare class TableroComponent implements OnInit, OnChanges {
|
|
|
49
56
|
}[], endpoint: string, data?: any): string;
|
|
50
57
|
execAction(params: any): void;
|
|
51
58
|
onGlobalFilter(event: Event, dt: any): void;
|
|
59
|
+
showAddDialog(): void;
|
|
52
60
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableroComponent, never>;
|
|
53
|
-
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; }; }, { "onSelectAction": "onSelectAction"; }, never, never, false, never>;
|
|
61
|
+
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; }; }, { "onSelectAction": "onSelectAction"; }, never, never, false, never>;
|
|
54
62
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { DialogEntry } from '../models/dialog.model';
|
|
2
|
+
import { DialogService } from 'primeng/dynamicdialog';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class CrudDialogService {
|
|
5
|
+
dialogService: DialogService;
|
|
6
|
+
private dialogMap;
|
|
7
|
+
constructor(dialogs: DialogEntry[] | undefined, dialogService: DialogService);
|
|
8
|
+
showDialog(key: string, config?: any): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CrudDialogService, [{ optional: true; }, null]>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CrudDialogService>;
|
|
11
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -10,3 +10,4 @@ export * from './lib/shared/services/notification.service';
|
|
|
10
10
|
export * from './lib/shared/models/crud-config.model';
|
|
11
11
|
export * from './lib/shared/models/Empresa.model';
|
|
12
12
|
export * from './lib/shared/models/shema.model';
|
|
13
|
+
export * from './lib/shared/injections/token';
|