@sapphire-ion/framework 1.0.43 → 1.0.45
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/esm2022/lib/components/default/default-list/default-list.component.mjs +1 -1
- package/esm2022/lib/components/default/default-table/default-table.component.mjs +4 -4
- package/fesm2022/sapphire-ion-framework.mjs +3 -3
- package/fesm2022/sapphire-ion-framework.mjs.map +1 -1
- package/lib/components/default/default-list/default-list.component.d.ts +5 -1
- package/lib/components/default/default-table/default-table.component.d.ts +4 -1
- package/package.json +1 -1
|
@@ -3,6 +3,7 @@ import { ActivatedRoute } from '@angular/router';
|
|
|
3
3
|
import { GenericService } from '../../../services/generic.service';
|
|
4
4
|
import { HttpService } from '../../../services/web/http.service';
|
|
5
5
|
import { List } from './list';
|
|
6
|
+
import { TableField } from 'projects/sapphire-ion-framework/src/public-api';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
/** Componente de listagem padrão
|
|
8
9
|
* Tipo Generic deve ser um service HttpService
|
|
@@ -34,7 +35,10 @@ export declare class DefaultListComponent<T extends HttpService> extends List<T>
|
|
|
34
35
|
noBreadcrumbs: boolean;
|
|
35
36
|
/** Caminho de redirecionamento do item */
|
|
36
37
|
itemPath: string | null;
|
|
37
|
-
itemClick: OutputEmitterRef<
|
|
38
|
+
itemClick: OutputEmitterRef<{
|
|
39
|
+
item: any;
|
|
40
|
+
field: TableField;
|
|
41
|
+
}>;
|
|
38
42
|
constructor(elementRef: ElementRef, activatedRoute: ActivatedRoute, genericService: GenericService);
|
|
39
43
|
Ativar(id: number): Promise<void>;
|
|
40
44
|
ngOnInit(): Promise<void>;
|
|
@@ -47,7 +47,10 @@ export declare class DefaultTableComponent<Service extends HttpService, T = any>
|
|
|
47
47
|
noPagination: InputSignal<boolean>;
|
|
48
48
|
/** Caminho de redirecionamento do item */
|
|
49
49
|
itemPath: InputSignal<string>;
|
|
50
|
-
itemClick: OutputEmitterRef<
|
|
50
|
+
itemClick: OutputEmitterRef<{
|
|
51
|
+
item: T;
|
|
52
|
+
field: TableField;
|
|
53
|
+
}>;
|
|
51
54
|
InputType: typeof InputType;
|
|
52
55
|
constructor(storageService: StorageService, activatedRoute: ActivatedRoute, router: Router);
|
|
53
56
|
Redirect(field: TableField | undefined, item: T): void;
|