@stemy/ngx-utils 19.5.9 → 19.5.10
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/stemy-ngx-utils.mjs +112 -20
- package/fesm2022/stemy-ngx-utils.mjs.map +1 -1
- package/ngx-utils/common-types.d.ts +10 -3
- package/ngx-utils/components/btn/btn.component.d.ts +2 -3
- package/ngx-utils/components/btn-default/btn-default.component.d.ts +2 -3
- package/ngx-utils/components/icon/icon.component.d.ts +10 -0
- package/ngx-utils/components/icon-default/icon-default.component.d.ts +7 -0
- package/ngx-utils/components/tabs/tabs.component.d.ts +7 -2
- package/ngx-utils/directives/icon.directive.d.ts +1 -1
- package/ngx-utils/directives/tabs-item.directive.d.ts +12 -0
- package/ngx-utils/ngx-utils.imports.d.ts +2 -1
- package/ngx-utils/ngx-utils.module.d.ts +23 -20
- package/ngx-utils/tokens.d.ts +3 -1
- package/package.json +1 -1
- package/public_api.d.ts +5 -2
|
@@ -183,9 +183,14 @@ export interface IAsyncMessage {
|
|
|
183
183
|
context?: any;
|
|
184
184
|
}
|
|
185
185
|
export type AsyncMethod = (context?: any, ev?: MouseEvent) => Promise<IAsyncMessage>;
|
|
186
|
-
export
|
|
186
|
+
export interface IconMap {
|
|
187
|
+
[key: string]: string;
|
|
188
|
+
}
|
|
189
|
+
export interface IconProps {
|
|
190
|
+
name: string;
|
|
191
|
+
}
|
|
192
|
+
export type ButtonStyle = "primary" | "secondary" | "transparent";
|
|
187
193
|
export type ButtonSize = "normal" | "small";
|
|
188
|
-
export type ButtonState = "active" | "inactive";
|
|
189
194
|
export interface ButtonProps {
|
|
190
195
|
label: string;
|
|
191
196
|
tooltip: string;
|
|
@@ -193,10 +198,10 @@ export interface ButtonProps {
|
|
|
193
198
|
disabled: boolean;
|
|
194
199
|
style: ButtonStyle;
|
|
195
200
|
size: ButtonSize;
|
|
196
|
-
state: ButtonState;
|
|
197
201
|
}
|
|
198
202
|
export interface TabOption extends Omit<Partial<ButtonProps>, "size" | "state" | "style"> {
|
|
199
203
|
value: string;
|
|
204
|
+
active?: boolean;
|
|
200
205
|
}
|
|
201
206
|
export type ChipValue = string | number;
|
|
202
207
|
export type ChipStatus = "valid" | "invalid";
|
|
@@ -503,6 +508,8 @@ export interface IModuleConfig {
|
|
|
503
508
|
configService?: Type<IConfigService>;
|
|
504
509
|
dialogService?: Type<IDialogService>;
|
|
505
510
|
wasiImplementation?: Type<IWasi>;
|
|
511
|
+
iconType?: Type<IconProps>;
|
|
512
|
+
iconMap?: IconMap;
|
|
506
513
|
buttonType?: Type<ButtonProps>;
|
|
507
514
|
initializeApp?: (injector: Injector) => AppInitializerFunc;
|
|
508
515
|
baseUrl?: (injector: Injector) => string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ButtonProps, ButtonSize,
|
|
1
|
+
import { ButtonProps, ButtonSize, ButtonStyle } from "../../common-types";
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class BtnComponent {
|
|
4
4
|
readonly label: import("@angular/core").InputSignal<string>;
|
|
@@ -7,9 +7,8 @@ export declare class BtnComponent {
|
|
|
7
7
|
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
8
8
|
readonly style: import("@angular/core").InputSignal<ButtonStyle>;
|
|
9
9
|
readonly size: import("@angular/core").InputSignal<ButtonSize>;
|
|
10
|
-
readonly state: import("@angular/core").InputSignal<ButtonState>;
|
|
11
10
|
readonly buttonType: import("@angular/core").Type<ButtonProps>;
|
|
12
11
|
readonly buttonProps: import("@angular/core").Signal<ButtonProps>;
|
|
13
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<BtnComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BtnComponent, "btn", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "style": { "alias": "style"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; };
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BtnComponent, "btn", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "style": { "alias": "style"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
15
14
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ButtonProps, ButtonSize,
|
|
1
|
+
import { ButtonProps, ButtonSize, ButtonStyle } from "../../common-types";
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class BtnDefaultComponent implements ButtonProps {
|
|
4
4
|
label: string;
|
|
@@ -7,7 +7,6 @@ export declare class BtnDefaultComponent implements ButtonProps {
|
|
|
7
7
|
disabled: boolean;
|
|
8
8
|
style: ButtonStyle;
|
|
9
9
|
size: ButtonSize;
|
|
10
|
-
state: ButtonState;
|
|
11
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<BtnDefaultComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BtnDefaultComponent, "btn-default", never, { "label": { "alias": "label"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "style": { "alias": "style"; "required": false; }; "size": { "alias": "size"; "required": false; };
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BtnDefaultComponent, "btn-default", never, { "label": { "alias": "label"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "style": { "alias": "style"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, false, never>;
|
|
13
12
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IconProps } from "../../common-types";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class IconComponent {
|
|
4
|
+
readonly name: import("@angular/core").InputSignal<string>;
|
|
5
|
+
readonly iconType: import("@angular/core").Type<IconProps>;
|
|
6
|
+
readonly iconMap: import("../../common-types").IconMap;
|
|
7
|
+
readonly iconProps: import("@angular/core").Signal<IconProps>;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IconComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IconComponent, "icon", never, { "name": { "alias": "name"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IconProps } from "../../common-types";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class IconDefaultComponent implements IconProps {
|
|
4
|
+
name: string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IconDefaultComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IconDefaultComponent, "icon-default", never, { "name": { "alias": "name"; "required": false; }; }, {}, never, never, false, never>;
|
|
7
|
+
}
|
|
@@ -1,11 +1,16 @@
|
|
|
1
|
+
import { Renderer2 } from "@angular/core";
|
|
1
2
|
import { ButtonSize, ButtonStyle, TabOption } from "../../common-types";
|
|
3
|
+
import { TabsItemDirective } from "../../directives/tabs-item.directive";
|
|
2
4
|
import * as i0 from "@angular/core";
|
|
3
5
|
export declare class TabsComponent {
|
|
4
6
|
readonly value: import("@angular/core").ModelSignal<unknown>;
|
|
5
7
|
readonly options: import("@angular/core").InputSignal<TabOption[]>;
|
|
6
8
|
readonly style: import("@angular/core").InputSignal<ButtonStyle>;
|
|
7
9
|
readonly size: import("@angular/core").InputSignal<ButtonSize>;
|
|
8
|
-
|
|
10
|
+
readonly tabItems: import("@angular/core").Signal<readonly TabsItemDirective[]>;
|
|
11
|
+
readonly renderer: Renderer2;
|
|
12
|
+
readonly tabs: import("@angular/core").Signal<TabOption[]>;
|
|
13
|
+
select(value: any): void;
|
|
9
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<TabsComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TabsComponent, "tabs", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "style": { "alias": "style"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; },
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TabsComponent, "tabs", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "style": { "alias": "style"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, ["tabItems"], ["*"], false, never>;
|
|
11
16
|
}
|
|
@@ -19,5 +19,5 @@ export declare class IconDirective implements OnChanges, OnInit, OnDestroy {
|
|
|
19
19
|
click(): void;
|
|
20
20
|
private changeIcon;
|
|
21
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<IconDirective, never>;
|
|
22
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<IconDirective, "[icon]", never, { "icon": { "alias": "icon"; "required": false; }; "activeIcon": { "alias": "activeIcon"; "required": false; }; "active": { "alias": "active"; "required": false; }; }, { "activeChange": "activeChange"; }, never, never, false, never>;
|
|
22
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<IconDirective, "i[icon],b[icon],p[icon],span[icon],a[icon],h1[icon],h2[icon],h3[icon],h4[icon]", never, { "icon": { "alias": "icon"; "required": false; }; "activeIcon": { "alias": "activeIcon"; "required": false; }; "active": { "alias": "active"; "required": false; }; }, { "activeChange": "activeChange"; }, never, never, false, never>;
|
|
23
23
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ElementRef } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TabsItemDirective {
|
|
4
|
+
readonly value: import("@angular/core").InputSignal<any>;
|
|
5
|
+
readonly label: import("@angular/core").InputSignal<string>;
|
|
6
|
+
readonly tooltip: import("@angular/core").InputSignal<string>;
|
|
7
|
+
readonly icon: import("@angular/core").InputSignal<string>;
|
|
8
|
+
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
9
|
+
readonly element: ElementRef<any>;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TabsItemDirective, never>;
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TabsItemDirective, "[tabsItem]", never, { "value": { "alias": "tabsItem"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
12
|
+
}
|
|
@@ -43,6 +43,7 @@ import { StickyClassDirective } from "./directives/sticky-class.directive";
|
|
|
43
43
|
import { DropdownDirective } from "./directives/dropdown.directive";
|
|
44
44
|
import { DropdownContentDirective } from "./directives/dropdown-content.directive";
|
|
45
45
|
import { DropdownToggleDirective } from "./directives/dropdown-toggle.directive";
|
|
46
|
+
import { TabsItemDirective } from "./directives/tabs-item.directive";
|
|
46
47
|
import { UnorderedListItemDirective } from "./directives/unordered-list-item.directive";
|
|
47
48
|
import { UnorderedListTemplateDirective } from "./directives/unordered-list-template.directive";
|
|
48
49
|
import { FilterPipe } from "./pipes/filter.pipe";
|
|
@@ -64,7 +65,7 @@ import { PaginationMenuComponent } from "./components/pagination-menu/pagination
|
|
|
64
65
|
import { UnorderedListComponent } from "./components/unordered-list/unordered-list.component";
|
|
65
66
|
import { UploadComponent } from "./components/upload/upload.component";
|
|
66
67
|
export declare const pipes: (typeof FilterPipe | typeof FormatNumberPipe | typeof GlobalTemplatePipe | typeof IncludesPipe | typeof ReducePipe | typeof RoundPipe | typeof SafeHtmlPipe | typeof TranslatePipe)[];
|
|
67
|
-
export declare const directives: (typeof AsyncMethodBase | typeof BackgroundDirective | typeof ComponentLoaderDirective | typeof DynamicTableTemplateDirective | typeof GlobalTemplateDirective | typeof IconDirective | typeof NgxTemplateOutletDirective | typeof PaginationDirective | typeof PaginationItemDirective | typeof ResourceIfDirective | typeof StickyDirective | typeof StickyClassDirective | typeof DropdownDirective | typeof DropdownContentDirective | typeof DropdownToggleDirective | typeof UnorderedListItemDirective | typeof UnorderedListTemplateDirective)[];
|
|
68
|
+
export declare const directives: (typeof AsyncMethodBase | typeof BackgroundDirective | typeof ComponentLoaderDirective | typeof DynamicTableTemplateDirective | typeof GlobalTemplateDirective | typeof IconDirective | typeof NgxTemplateOutletDirective | typeof PaginationDirective | typeof PaginationItemDirective | typeof ResourceIfDirective | typeof StickyDirective | typeof StickyClassDirective | typeof DropdownDirective | typeof DropdownContentDirective | typeof DropdownToggleDirective | typeof TabsItemDirective | typeof UnorderedListItemDirective | typeof UnorderedListTemplateDirective)[];
|
|
68
69
|
export declare const components: (typeof ChipsComponent | typeof DropListComponent | typeof DynamicTableComponent | typeof FakeModuleComponent | typeof InteractiveCanvasComponent | typeof InteractiveCircleComponent | typeof InteractiveRectComponent | typeof PaginationMenuComponent | typeof UnorderedListComponent | typeof UploadComponent)[];
|
|
69
70
|
export declare const providers: (typeof UniversalService | typeof StateService | typeof AuthGuard | typeof BaseHttpClient | typeof StorageService | typeof BaseHttpService | typeof WasmService | typeof AclService | typeof StaticAuthService | typeof ConfigService | typeof BaseDialogService | typeof ErrorHandlerService | typeof EventsService | typeof FormatterService | typeof GlobalTemplateService | typeof IconService | typeof StaticLanguageService | typeof OpenApiService | typeof BaseToasterService | typeof ComponentLoaderService | typeof TranslatedUrlSerializer | typeof PromiseService | typeof SocketService | typeof FilterPipe | typeof FormatNumberPipe | typeof GlobalTemplatePipe | typeof IncludesPipe | typeof ReducePipe | typeof RoundPipe | typeof SafeHtmlPipe | typeof TranslatePipe | typeof DeviceDetectorService | {
|
|
70
71
|
provide: import("@angular/core").InjectionToken<import("@angular/platform-browser").EventManagerPlugin[]>;
|
|
@@ -46,25 +46,28 @@ import * as i42 from "./directives/sticky-class.directive";
|
|
|
46
46
|
import * as i43 from "./directives/dropdown.directive";
|
|
47
47
|
import * as i44 from "./directives/dropdown-content.directive";
|
|
48
48
|
import * as i45 from "./directives/dropdown-toggle.directive";
|
|
49
|
-
import * as i46 from "./directives/
|
|
50
|
-
import * as i47 from "./directives/unordered-list-
|
|
51
|
-
import * as i48 from "./
|
|
52
|
-
import * as i49 from "./components/btn
|
|
53
|
-
import * as i50 from "./components/
|
|
54
|
-
import * as i51 from "./components/
|
|
55
|
-
import * as i52 from "./components/
|
|
56
|
-
import * as i53 from "./components/
|
|
57
|
-
import * as i54 from "./components/
|
|
58
|
-
import * as i55 from "./components/
|
|
59
|
-
import * as i56 from "./components/
|
|
60
|
-
import * as i57 from "./components/
|
|
61
|
-
import * as i58 from "./components/
|
|
62
|
-
import * as i59 from "./components/interactive-canvas/interactive-
|
|
63
|
-
import * as i60 from "./components/interactive-canvas/interactive-
|
|
64
|
-
import * as i61 from "./components/
|
|
65
|
-
import * as i62 from "./components/
|
|
66
|
-
import * as i63 from "
|
|
67
|
-
import * as i64 from "
|
|
49
|
+
import * as i46 from "./directives/tabs-item.directive";
|
|
50
|
+
import * as i47 from "./directives/unordered-list-item.directive";
|
|
51
|
+
import * as i48 from "./directives/unordered-list-template.directive";
|
|
52
|
+
import * as i49 from "./components/btn/btn.component";
|
|
53
|
+
import * as i50 from "./components/btn-default/btn-default.component";
|
|
54
|
+
import * as i51 from "./components/chips/chips.component";
|
|
55
|
+
import * as i52 from "./components/drop-list/drop-list.component";
|
|
56
|
+
import * as i53 from "./components/dropdown-box/dropdown-box.component";
|
|
57
|
+
import * as i54 from "./components/dynamic-table/dynamic-table.component";
|
|
58
|
+
import * as i55 from "./components/fake-module/fake-module.component";
|
|
59
|
+
import * as i56 from "./components/pagination-menu/pagination-menu.component";
|
|
60
|
+
import * as i57 from "./components/icon/icon.component";
|
|
61
|
+
import * as i58 from "./components/icon-default/icon-default.component";
|
|
62
|
+
import * as i59 from "./components/interactive-canvas/interactive-canvas.component";
|
|
63
|
+
import * as i60 from "./components/interactive-canvas/interactive-item.component";
|
|
64
|
+
import * as i61 from "./components/interactive-canvas/interactive-circle.component";
|
|
65
|
+
import * as i62 from "./components/interactive-canvas/interactive-rect.component";
|
|
66
|
+
import * as i63 from "./components/tabs/tabs.component";
|
|
67
|
+
import * as i64 from "./components/unordered-list/unordered-list.component";
|
|
68
|
+
import * as i65 from "./components/upload/upload.component";
|
|
69
|
+
import * as i66 from "@angular/common";
|
|
70
|
+
import * as i67 from "@angular/forms";
|
|
68
71
|
export declare function loadBaseUrl(): string;
|
|
69
72
|
export declare function loadBaseHref(baseUrl: string): string;
|
|
70
73
|
export declare function getRootElement(): HTMLElement;
|
|
@@ -75,6 +78,6 @@ export declare class NgxUtilsModule {
|
|
|
75
78
|
static useDynamic(moduleInfo: DynamicModuleInfo): ModuleWithProviders<NgxUtilsModule>;
|
|
76
79
|
constructor();
|
|
77
80
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgxUtilsModule, never>;
|
|
78
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NgxUtilsModule, [typeof i1.ChunkPipe, typeof i2.EntriesPipe, typeof i3.ExtraItemPropertiesPipe, typeof i4.FilterPipe, typeof i5.FindPipe, typeof i6.FormatNumberPipe, typeof i7.GetOffsetPipe, typeof i8.GetTypePipe, typeof i9.GetValuePipe, typeof i10.GlobalTemplatePipe, typeof i11.GroupByPipe, typeof i12.IncludesPipe, typeof i13.IsTypePipe, typeof i14.JoinPipe, typeof i15.KeysPipe, typeof i16.MapPipe, typeof i17.MaxPipe, typeof i18.MinPipe, typeof i19.PopPipe, typeof i20.ReducePipe, typeof i21.RemapPipe, typeof i22.ReplacePipe, typeof i23.ReversePipe, typeof i24.RoundPipe, typeof i25.SafeHtmlPipe, typeof i26.ShiftPipe, typeof i27.SplitPipe, typeof i28.TranslatePipe, typeof i29.ValuesPipe, typeof i30.AsyncMethodBase, typeof i31.AsyncMethodDirective, typeof i32.BackgroundDirective, typeof i33.ComponentLoaderDirective, typeof i34.DynamicTableTemplateDirective, typeof i35.GlobalTemplateDirective, typeof i36.IconDirective, typeof i37.NgxTemplateOutletDirective, typeof i38.PaginationDirective, typeof i39.PaginationItemDirective, typeof i40.ResourceIfDirective, typeof i41.StickyDirective, typeof i42.StickyClassDirective, typeof i43.DropdownDirective, typeof i44.DropdownContentDirective, typeof i45.DropdownToggleDirective, typeof i46.
|
|
81
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NgxUtilsModule, [typeof i1.ChunkPipe, typeof i2.EntriesPipe, typeof i3.ExtraItemPropertiesPipe, typeof i4.FilterPipe, typeof i5.FindPipe, typeof i6.FormatNumberPipe, typeof i7.GetOffsetPipe, typeof i8.GetTypePipe, typeof i9.GetValuePipe, typeof i10.GlobalTemplatePipe, typeof i11.GroupByPipe, typeof i12.IncludesPipe, typeof i13.IsTypePipe, typeof i14.JoinPipe, typeof i15.KeysPipe, typeof i16.MapPipe, typeof i17.MaxPipe, typeof i18.MinPipe, typeof i19.PopPipe, typeof i20.ReducePipe, typeof i21.RemapPipe, typeof i22.ReplacePipe, typeof i23.ReversePipe, typeof i24.RoundPipe, typeof i25.SafeHtmlPipe, typeof i26.ShiftPipe, typeof i27.SplitPipe, typeof i28.TranslatePipe, typeof i29.ValuesPipe, typeof i30.AsyncMethodBase, typeof i31.AsyncMethodDirective, typeof i32.BackgroundDirective, typeof i33.ComponentLoaderDirective, typeof i34.DynamicTableTemplateDirective, typeof i35.GlobalTemplateDirective, typeof i36.IconDirective, typeof i37.NgxTemplateOutletDirective, typeof i38.PaginationDirective, typeof i39.PaginationItemDirective, typeof i40.ResourceIfDirective, typeof i41.StickyDirective, typeof i42.StickyClassDirective, typeof i43.DropdownDirective, typeof i44.DropdownContentDirective, typeof i45.DropdownToggleDirective, typeof i46.TabsItemDirective, typeof i47.UnorderedListItemDirective, typeof i48.UnorderedListTemplateDirective, typeof i49.BtnComponent, typeof i50.BtnDefaultComponent, typeof i51.ChipsComponent, typeof i52.DropListComponent, typeof i53.DropdownBoxComponent, typeof i54.DynamicTableComponent, typeof i55.FakeModuleComponent, typeof i56.PaginationMenuComponent, typeof i57.IconComponent, typeof i58.IconDefaultComponent, typeof i59.InteractiveCanvasComponent, typeof i60.InteractiveItemComponent, typeof i61.InteractiveCircleComponent, typeof i62.InteractiveRectComponent, typeof i63.TabsComponent, typeof i64.UnorderedListComponent, typeof i65.UploadComponent], [typeof i66.CommonModule, typeof i67.FormsModule], [typeof i1.ChunkPipe, typeof i2.EntriesPipe, typeof i3.ExtraItemPropertiesPipe, typeof i4.FilterPipe, typeof i5.FindPipe, typeof i6.FormatNumberPipe, typeof i7.GetOffsetPipe, typeof i8.GetTypePipe, typeof i9.GetValuePipe, typeof i10.GlobalTemplatePipe, typeof i11.GroupByPipe, typeof i12.IncludesPipe, typeof i13.IsTypePipe, typeof i14.JoinPipe, typeof i15.KeysPipe, typeof i16.MapPipe, typeof i17.MaxPipe, typeof i18.MinPipe, typeof i19.PopPipe, typeof i20.ReducePipe, typeof i21.RemapPipe, typeof i22.ReplacePipe, typeof i23.ReversePipe, typeof i24.RoundPipe, typeof i25.SafeHtmlPipe, typeof i26.ShiftPipe, typeof i27.SplitPipe, typeof i28.TranslatePipe, typeof i29.ValuesPipe, typeof i30.AsyncMethodBase, typeof i31.AsyncMethodDirective, typeof i32.BackgroundDirective, typeof i33.ComponentLoaderDirective, typeof i34.DynamicTableTemplateDirective, typeof i35.GlobalTemplateDirective, typeof i36.IconDirective, typeof i37.NgxTemplateOutletDirective, typeof i38.PaginationDirective, typeof i39.PaginationItemDirective, typeof i40.ResourceIfDirective, typeof i41.StickyDirective, typeof i42.StickyClassDirective, typeof i43.DropdownDirective, typeof i44.DropdownContentDirective, typeof i45.DropdownToggleDirective, typeof i46.TabsItemDirective, typeof i47.UnorderedListItemDirective, typeof i48.UnorderedListTemplateDirective, typeof i49.BtnComponent, typeof i50.BtnDefaultComponent, typeof i51.ChipsComponent, typeof i52.DropListComponent, typeof i53.DropdownBoxComponent, typeof i54.DynamicTableComponent, typeof i55.FakeModuleComponent, typeof i56.PaginationMenuComponent, typeof i57.IconComponent, typeof i58.IconDefaultComponent, typeof i59.InteractiveCanvasComponent, typeof i60.InteractiveItemComponent, typeof i61.InteractiveCircleComponent, typeof i62.InteractiveRectComponent, typeof i63.TabsComponent, typeof i64.UnorderedListComponent, typeof i65.UploadComponent, typeof i67.FormsModule]>;
|
|
79
82
|
static ɵinj: i0.ɵɵInjectorDeclaration<NgxUtilsModule>;
|
|
80
83
|
}
|
package/ngx-utils/tokens.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { InjectionToken, Type } from "@angular/core";
|
|
2
2
|
import { Request } from "express";
|
|
3
|
-
import { ButtonProps, DynamicEntryComponents, DynamicModuleInfo, ErrorHandlerCallback, IApiService, IAuthService, IConfigService, IConfiguration, IDialogService, IIconService, ILanguageService, IPromiseService, IToasterService, IWasi, ResizeEventStrategy } from "./common-types";
|
|
3
|
+
import { ButtonProps, DynamicEntryComponents, DynamicModuleInfo, ErrorHandlerCallback, IApiService, IAuthService, IConfigService, IConfiguration, IconMap, IconProps, IDialogService, IIconService, ILanguageService, IPromiseService, IToasterService, IWasi, ResizeEventStrategy } from "./common-types";
|
|
4
|
+
export declare const ICON_TYPE: InjectionToken<Type<IconProps>>;
|
|
5
|
+
export declare const ICON_MAP: InjectionToken<IconMap>;
|
|
4
6
|
export declare const BUTTON_TYPE: InjectionToken<Type<ButtonProps>>;
|
|
5
7
|
export declare const OPTIONS_TOKEN: InjectionToken<unknown>;
|
|
6
8
|
export declare const ICON_SERVICE: InjectionToken<IIconService>;
|
package/package.json
CHANGED
package/public_api.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "zone.js";
|
|
2
2
|
export { MaybePromise, MaybeArray, StringKeys, CapitalizeFirst, CamelJoin, PrefixedPick } from "./ngx-utils/helper-types";
|
|
3
|
-
export { DurationUnit, TypedFactoryProvider, TypedValueProvider, CachedProvider, CachedFactory, IResolveFactory, CanvasColor, IIconService, ITranslation, ITranslations, ILanguageSetting, ILanguageSettings, ILanguageService, IAuthService, RouteValidator, IRouteData, IRoute, IAclComponent, IDialogButtonConfig, IDialogConfig, IConfirmDialogConfig, IDialogService, IPromiseService, IWasi, IWasmExports, IWasm, IWasmAsync, IRouteStateInfo, NavigationUrlParam, StorageMode, ToastType, IToasterService, IAsyncMessage, AsyncMethod, ButtonStyle, ButtonSize,
|
|
4
|
-
export { BUTTON_TYPE, ERROR_HANDLER, RESIZE_STRATEGY, RESIZE_DELAY, ROOT_ELEMENT, SCRIPT_PARAMS, BASE_CONFIG, CONFIG_SERVICE, APP_BASE_URL, API_SERVICE, EXPRESS_REQUEST, WASI_IMPLEMENTATION, PROMISE_SERVICE, DIALOG_SERVICE, TOASTER_SERVICE, AUTH_SERVICE, LANGUAGE_SERVICE, ICON_SERVICE, OPTIONS_TOKEN } from "./ngx-utils/tokens";
|
|
3
|
+
export { DurationUnit, TypedFactoryProvider, TypedValueProvider, CachedProvider, CachedFactory, IResolveFactory, CanvasColor, IIconService, ITranslation, ITranslations, ILanguageSetting, ILanguageSettings, ILanguageService, IAuthService, RouteValidator, IRouteData, IRoute, IAclComponent, IDialogButtonConfig, IDialogConfig, IConfirmDialogConfig, IDialogService, IPromiseService, IWasi, IWasmExports, IWasm, IWasmAsync, IRouteStateInfo, NavigationUrlParam, StorageMode, ToastType, IToasterService, IAsyncMessage, AsyncMethod, IconMap, IconProps, ButtonStyle, ButtonSize, ButtonProps, TabOption, ChipValue, ChipStatus, ChipOption, DropdownAttachTo, UnorderedListTemplate, UnorderedListTemplates, UnorderedListStyle, UploadType, IFileUploadResult, IFileUploadProcess, IAjaxRequestDetails, AjaxRequestCallback, ScriptType, ILoadableElement, ILoaderPromises, ISearchObservable, FactoryDependencies, ObjectType, ITimer, IExtraProperties, IGroupMap, TranslationQuery, IPageInfo, IPaginationData, PaginationDataLoader, PaginationItemContext, IPoint, IShape, CanvasItemShape, CanvasItemDirection, InteractiveCanvas, InteractiveCanvasItem, InteractiveDrawFn, InteractivePanEvent, InteractiveCanvasPointer, IHttpHeaders, IHttpParams, IRequestOptions, IIssueContext, IProgress, ProgressListener, PromiseExecutor, HttpPromise, IHttpService, IApiService, IOpenApiSchemaProperty, IOpenApiSchema, IOpenApiSchemas, TableFilterType, ITableOrders, ITableColumn, ITableColumns, TableColumns, ITableTemplate, ITableTemplates, ITableDataQuery, TableDataLoader, DragDropEvent, DragEventHandler, ITableDragEvent, DynamicTableDragHandler, ResourceIfContext, CssSelector, CssSelectorList, DynamicComponentLocation, DynamicModuleInfo, DynamicEntryComponents, IConfiguration, IConfigService, ResizeEventStrategy, ErrorHandlerCallback, GlobalComponentModifier, AppInitializerFunc, IModuleConfig, ValuedPromise } from "./ngx-utils/common-types";
|
|
4
|
+
export { ICON_TYPE, ICON_MAP, BUTTON_TYPE, ERROR_HANDLER, RESIZE_STRATEGY, RESIZE_DELAY, ROOT_ELEMENT, SCRIPT_PARAMS, BASE_CONFIG, CONFIG_SERVICE, APP_BASE_URL, API_SERVICE, EXPRESS_REQUEST, WASI_IMPLEMENTATION, PROMISE_SERVICE, DIALOG_SERVICE, TOASTER_SERVICE, AUTH_SERVICE, LANGUAGE_SERVICE, ICON_SERVICE, OPTIONS_TOKEN } from "./ngx-utils/tokens";
|
|
5
5
|
export { AjaxRequestHandler } from "./ngx-utils/utils/ajax-request-handler";
|
|
6
6
|
export { ArrayUtils } from "./ngx-utils/utils/array.utils";
|
|
7
7
|
export { AuthGuard } from "./ngx-utils/utils/auth.guard";
|
|
@@ -103,6 +103,7 @@ export { StickyClassDirective } from "./ngx-utils/directives/sticky-class.direct
|
|
|
103
103
|
export { DropdownDirective } from "./ngx-utils/directives/dropdown.directive";
|
|
104
104
|
export { DropdownContentDirective } from "./ngx-utils/directives/dropdown-content.directive";
|
|
105
105
|
export { DropdownToggleDirective } from "./ngx-utils/directives/dropdown-toggle.directive";
|
|
106
|
+
export { TabsItemDirective } from "./ngx-utils/directives/tabs-item.directive";
|
|
106
107
|
export { UnorderedListItemDirective } from "./ngx-utils/directives/unordered-list-item.directive";
|
|
107
108
|
export { UnorderedListTemplateDirective } from "./ngx-utils/directives/unordered-list-template.directive";
|
|
108
109
|
export { BtnComponent } from "./ngx-utils/components/btn/btn.component";
|
|
@@ -112,6 +113,8 @@ export { DropListComponent } from "./ngx-utils/components/drop-list/drop-list.co
|
|
|
112
113
|
export { DropdownBoxComponent } from "./ngx-utils/components/dropdown-box/dropdown-box.component";
|
|
113
114
|
export { DynamicTableComponent } from "./ngx-utils/components/dynamic-table/dynamic-table.component";
|
|
114
115
|
export { FakeModuleComponent } from "./ngx-utils/components/fake-module/fake-module.component";
|
|
116
|
+
export { IconComponent } from "./ngx-utils/components/icon/icon.component";
|
|
117
|
+
export { IconDefaultComponent } from "./ngx-utils/components/icon-default/icon-default.component";
|
|
115
118
|
export { InteractiveCanvasComponent } from "./ngx-utils/components/interactive-canvas/interactive-canvas.component";
|
|
116
119
|
export { InteractiveItemComponent } from "./ngx-utils/components/interactive-canvas/interactive-item.component";
|
|
117
120
|
export { InteractiveCircleComponent } from "./ngx-utils/components/interactive-canvas/interactive-circle.component";
|