ngx-ntk-icon-picker 20.25.1 → 20.25.3
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-ntk-icon-picker.mjs +293 -205
- package/fesm2022/ngx-ntk-icon-picker.mjs.map +1 -1
- package/index.d.ts +9 -5
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { IconName } from '@fortawesome/fontawesome-svg-core';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
3
|
import { OnInit, ElementRef, ChangeDetectorRef, OnChanges, EventEmitter, ViewContainerRef, PipeTransform } from '@angular/core';
|
|
4
|
-
import * as
|
|
4
|
+
import * as i3 from '@fortawesome/angular-fontawesome';
|
|
5
5
|
import { FaIconLibrary } from '@fortawesome/angular-fontawesome';
|
|
6
|
-
import * as
|
|
6
|
+
import * as i2 from '@angular/common';
|
|
7
7
|
|
|
8
8
|
declare class Icon {
|
|
9
9
|
name: string;
|
|
@@ -31,6 +31,7 @@ declare class IconPickerService {
|
|
|
31
31
|
private primeIconsPack;
|
|
32
32
|
constructor(faIconLibrary: FaIconLibrary);
|
|
33
33
|
getIcons(ipIconPacks: string[]): Icon[];
|
|
34
|
+
private isIconAvailable;
|
|
34
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<IconPickerService, never>;
|
|
35
36
|
static ɵprov: i0.ɵɵInjectableDeclaration<IconPickerService>;
|
|
36
37
|
}
|
|
@@ -87,8 +88,11 @@ declare class IconPickerComponent implements OnInit {
|
|
|
87
88
|
setDialogPosition(): void;
|
|
88
89
|
isDescendant(parent: any, child: any): boolean;
|
|
89
90
|
createBox(element: any, offset: boolean): any;
|
|
91
|
+
onIconError(event: any): void;
|
|
92
|
+
getFontAwesome6Icon(iconName: string): any;
|
|
93
|
+
shouldShowFontAwesome6Icon(icon: any): boolean;
|
|
90
94
|
static ɵfac: i0.ɵɵFactoryDeclaration<IconPickerComponent, never>;
|
|
91
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IconPickerComponent, "icon-picker", never, {}, {}, never, never,
|
|
95
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IconPickerComponent, "icon-picker", never, {}, {}, never, never, false, never>;
|
|
92
96
|
}
|
|
93
97
|
|
|
94
98
|
declare class IconPickerDirective implements OnInit, OnChanges {
|
|
@@ -147,8 +151,8 @@ declare class SearchIconPipe implements PipeTransform {
|
|
|
147
151
|
|
|
148
152
|
declare class IconPickerModule {
|
|
149
153
|
static ɵfac: i0.ɵɵFactoryDeclaration<IconPickerModule, never>;
|
|
150
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<IconPickerModule,
|
|
154
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IconPickerModule, [typeof IconPickerComponent], [typeof i2.CommonModule, typeof i3.FontAwesomeModule, typeof IconPickerDirective, typeof TextDirective, typeof SearchIconPipe], [typeof IconPickerComponent, typeof IconPickerDirective, typeof TextDirective, typeof SearchIconPipe]>;
|
|
151
155
|
static ɵinj: i0.ɵɵInjectorDeclaration<IconPickerModule>;
|
|
152
156
|
}
|
|
153
157
|
|
|
154
|
-
export { Icon, IconPickerComponent, IconPickerDirective, IconPickerModule, IconPickerService, IconType };
|
|
158
|
+
export { Icon, IconPickerComponent, IconPickerDirective, IconPickerModule, IconPickerService, IconType, SearchIconPipe, TextDirective };
|