ngx-sp-infra 6.4.2 → 6.4.4
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/ngx-sp-infra.mjs +141 -146
- package/fesm2022/ngx-sp-infra.mjs.map +1 -1
- package/lib/widgets/search-input/models/IV6Menu.model.d.ts +7 -0
- package/lib/widgets/search-input/models/IV6Submenu.model.d.ts +7 -0
- package/lib/widgets/search-input/models/IV6Tela.model.d.ts +7 -0
- package/lib/widgets/search-input/search-input.component.d.ts +26 -11
- package/package.json +1 -1
- package/public-api.d.ts +3 -0
|
@@ -1,30 +1,45 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
1
|
import { AfterViewInit, ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
3
2
|
import { Router } from '@angular/router';
|
|
4
3
|
import { ITelaRota } from './models/ITelaRota';
|
|
4
|
+
import { IV6Menu } from './models/IV6Menu.model';
|
|
5
|
+
import { IV6Submenu } from './models/IV6Submenu.model';
|
|
6
|
+
import { IV6Tela } from './models/IV6Tela.model';
|
|
5
7
|
import * as i0 from "@angular/core";
|
|
6
8
|
export declare class SearchInputComponent implements OnInit, AfterViewInit {
|
|
7
|
-
private _http;
|
|
8
9
|
private _router;
|
|
9
|
-
private _items
|
|
10
|
-
|
|
10
|
+
private _items?;
|
|
11
|
+
private _menus?;
|
|
12
|
+
private _submenus?;
|
|
13
|
+
private _telas?;
|
|
11
14
|
showIcons: boolean;
|
|
12
15
|
onClose: EventEmitter<void>;
|
|
16
|
+
onSearch: EventEmitter<string>;
|
|
13
17
|
searchInput: ElementRef<HTMLInputElement>;
|
|
14
|
-
isVisible: boolean;
|
|
15
18
|
searchQuery: string;
|
|
16
|
-
|
|
17
|
-
|
|
19
|
+
loading: boolean;
|
|
20
|
+
filteredItems?: ITelaRota[];
|
|
21
|
+
filteredTelas?: IV6Tela[];
|
|
22
|
+
filteredSubmenus?: IV6Submenu[];
|
|
23
|
+
filteredMenus?: IV6Menu[];
|
|
24
|
+
get items(): ITelaRota[] | undefined;
|
|
25
|
+
set items(value: ITelaRota[] | undefined);
|
|
26
|
+
get menus(): IV6Menu[] | undefined;
|
|
27
|
+
set menus(value: IV6Menu[] | undefined);
|
|
28
|
+
get submenus(): IV6Submenu[] | undefined;
|
|
29
|
+
set submenus(value: IV6Submenu[] | undefined);
|
|
30
|
+
get telas(): IV6Tela[] | undefined;
|
|
31
|
+
set telas(value: IV6Tela[] | undefined);
|
|
32
|
+
constructor(_router: Router);
|
|
18
33
|
ngOnInit(): void;
|
|
19
34
|
ngAfterViewInit(): void;
|
|
20
|
-
private loadRoutes;
|
|
21
35
|
onKeydown(event: KeyboardEvent): void;
|
|
22
36
|
navigateTo(route: string): void;
|
|
37
|
+
redirect(item: IV6Tela | IV6Submenu | IV6Menu): void;
|
|
23
38
|
highlightList(pesquisa: string): void;
|
|
24
|
-
|
|
25
|
-
|
|
39
|
+
close(): void;
|
|
40
|
+
search(): void;
|
|
26
41
|
resetSearch(): void;
|
|
27
42
|
private focusInput;
|
|
28
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<SearchInputComponent, never>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SearchInputComponent, "lib-search-input, lib-pesquisa-global", never, { "
|
|
44
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SearchInputComponent, "lib-search-input, lib-pesquisa-global", never, { "showIcons": { "alias": "showIcons"; "required": false; }; }, { "onClose": "onClose"; "onSearch": "onSearch"; }, never, never, true, never>;
|
|
30
45
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -47,6 +47,9 @@ export * from './lib/models/utils/ret-error';
|
|
|
47
47
|
export * from './lib/models/utils/ret-feedback-message';
|
|
48
48
|
export * from './lib/widgets/lib-nav-produtos/models/navigation-options.model';
|
|
49
49
|
export * from './lib/widgets/search-input/models/ITelaRota';
|
|
50
|
+
export * from './lib/widgets/search-input/models/IV6Menu.model';
|
|
51
|
+
export * from './lib/widgets/search-input/models/IV6Submenu.model';
|
|
52
|
+
export * from './lib/widgets/search-input/models/IV6Tela.model';
|
|
50
53
|
/** Pipes */
|
|
51
54
|
export * from './lib/directives/a11y-click.directive';
|
|
52
55
|
export * from './lib/pipes/cpf-cnpj.pipe';
|