@stemy/ngx-utils 19.2.13 → 19.2.14
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 +48 -4
- package/fesm2022/stemy-ngx-utils.mjs.map +1 -1
- package/ngx-utils/directives/component-loader.directive.d.ts +15 -0
- package/ngx-utils/ngx-utils.imports.d.ts +3 -2
- package/ngx-utils/ngx-utils.module.d.ts +23 -22
- package/package.json +1 -1
- package/public_api.d.ts +1 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ViewContainerRef, OnChanges, SimpleChanges, OnDestroy } from "@angular/core";
|
|
2
|
+
import { ComponentLoaderService } from "../services/component-loader.service";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ComponentLoaderDirective implements OnChanges, OnDestroy {
|
|
5
|
+
private vcr;
|
|
6
|
+
private loader;
|
|
7
|
+
module: string;
|
|
8
|
+
selector: string;
|
|
9
|
+
private cr;
|
|
10
|
+
constructor(vcr: ViewContainerRef, loader: ComponentLoaderService);
|
|
11
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
12
|
+
ngOnDestroy(): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ComponentLoaderDirective, never>;
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ComponentLoaderDirective, "[loadComponent]", never, { "module": { "alias": "module"; "required": false; }; "selector": { "alias": "loadComponent"; "required": false; }; }, {}, never, never, false, never>;
|
|
15
|
+
}
|
|
@@ -30,6 +30,7 @@ import { ResizeEventPlugin } from "./plugins/resize-event.plugin";
|
|
|
30
30
|
import { ScrollEventPlugin } from "./plugins/scroll-event.plugin";
|
|
31
31
|
import { AsyncMethodBase } from "./directives/async-method.base";
|
|
32
32
|
import { BackgroundDirective } from "./directives/background.directive";
|
|
33
|
+
import { ComponentLoaderDirective } from "./directives/component-loader.directive";
|
|
33
34
|
import { DynamicTableTemplateDirective } from "./directives/dynamic-table-template.directive";
|
|
34
35
|
import { GlobalTemplateDirective } from "./directives/global-template.directive";
|
|
35
36
|
import { IconDirective } from "./directives/icon.directive";
|
|
@@ -56,9 +57,9 @@ import { PaginationMenuComponent } from "./components/pagination-menu/pagination
|
|
|
56
57
|
import { UnorderedListComponent } from "./components/unordered-list/unordered-list.component";
|
|
57
58
|
import { UploadComponent } from "./components/upload/upload.component";
|
|
58
59
|
export declare const pipes: (typeof FilterPipe | typeof FormatNumberPipe | typeof GlobalTemplatePipe | typeof ReducePipe | typeof RoundPipe | typeof SafeHtmlPipe | typeof TranslatePipe)[];
|
|
59
|
-
export declare const directives: (typeof AsyncMethodBase | typeof BackgroundDirective | typeof DynamicTableTemplateDirective | typeof GlobalTemplateDirective | typeof IconDirective | typeof NgxTemplateOutletDirective | typeof PaginationDirective | typeof PaginationItemDirective | typeof ResourceIfDirective | typeof StickyDirective | typeof StickyClassDirective | typeof DropdownDirective | typeof DropdownToggleDirective | typeof UnorderedListItemDirective | typeof UnorderedListTemplateDirective)[];
|
|
60
|
+
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 DropdownToggleDirective | typeof UnorderedListItemDirective | typeof UnorderedListTemplateDirective)[];
|
|
60
61
|
export declare const components: (typeof DropListComponent | typeof FakeModuleComponent | typeof PaginationMenuComponent | typeof UnorderedListComponent | typeof UploadComponent)[];
|
|
61
|
-
export declare const providers: (typeof
|
|
62
|
+
export declare const providers: (typeof ComponentLoaderService | typeof FilterPipe | typeof FormatNumberPipe | typeof GlobalTemplatePipe | typeof ReducePipe | typeof RoundPipe | typeof SafeHtmlPipe | typeof TranslatePipe | typeof BaseHttpClient | typeof BaseHttpService | typeof AuthGuard | typeof AclService | typeof StaticAuthService | typeof ConfigService | typeof BaseDialogService | typeof ErrorHandlerService | typeof EventsService | typeof FormatterService | typeof GlobalTemplateService | typeof IconService | typeof StaticLanguageService | typeof OpenApiService | typeof PromiseService | typeof SocketService | typeof StateService | typeof StorageService | typeof BaseToasterService | typeof TranslatedUrlSerializer | typeof UniversalService | typeof WasmService | typeof DeviceDetectorService | {
|
|
62
63
|
provide: import("@angular/core").InjectionToken<import("@angular/platform-browser").EventManagerPlugin[]>;
|
|
63
64
|
useClass: typeof DragDropEventPlugin;
|
|
64
65
|
multi: boolean;
|
|
@@ -32,27 +32,28 @@ import * as i28 from "./pipes/values.pipe";
|
|
|
32
32
|
import * as i29 from "./directives/async-method.base";
|
|
33
33
|
import * as i30 from "./directives/async-method.directive";
|
|
34
34
|
import * as i31 from "./directives/background.directive";
|
|
35
|
-
import * as i32 from "./directives/
|
|
36
|
-
import * as i33 from "./directives/
|
|
37
|
-
import * as i34 from "./directives/
|
|
38
|
-
import * as i35 from "./directives/
|
|
39
|
-
import * as i36 from "./directives/
|
|
40
|
-
import * as i37 from "./directives/pagination
|
|
41
|
-
import * as i38 from "./directives/
|
|
42
|
-
import * as i39 from "./directives/
|
|
43
|
-
import * as i40 from "./directives/sticky
|
|
44
|
-
import * as i41 from "./directives/
|
|
45
|
-
import * as i42 from "./directives/dropdown
|
|
46
|
-
import * as i43 from "./directives/
|
|
47
|
-
import * as i44 from "./directives/unordered-list-
|
|
48
|
-
import * as i45 from "./
|
|
49
|
-
import * as i46 from "./components/
|
|
50
|
-
import * as i47 from "./components/
|
|
51
|
-
import * as i48 from "./components/
|
|
52
|
-
import * as i49 from "./components/
|
|
53
|
-
import * as i50 from "./components/
|
|
54
|
-
import * as i51 from "
|
|
55
|
-
import * as i52 from "@angular/
|
|
35
|
+
import * as i32 from "./directives/component-loader.directive";
|
|
36
|
+
import * as i33 from "./directives/dynamic-table-template.directive";
|
|
37
|
+
import * as i34 from "./directives/global-template.directive";
|
|
38
|
+
import * as i35 from "./directives/icon.directive";
|
|
39
|
+
import * as i36 from "./directives/ngx-template-outlet.directive";
|
|
40
|
+
import * as i37 from "./directives/pagination.directive";
|
|
41
|
+
import * as i38 from "./directives/pagination-item.directive";
|
|
42
|
+
import * as i39 from "./directives/resource-if.directive";
|
|
43
|
+
import * as i40 from "./directives/sticky.directive";
|
|
44
|
+
import * as i41 from "./directives/sticky-class.directive";
|
|
45
|
+
import * as i42 from "./directives/dropdown.directive";
|
|
46
|
+
import * as i43 from "./directives/dropdown-toggle.directive";
|
|
47
|
+
import * as i44 from "./directives/unordered-list-item.directive";
|
|
48
|
+
import * as i45 from "./directives/unordered-list-template.directive";
|
|
49
|
+
import * as i46 from "./components/drop-list/drop-list.component";
|
|
50
|
+
import * as i47 from "./components/dynamic-table/dynamic-table.component";
|
|
51
|
+
import * as i48 from "./components/fake-module/fake-module.component";
|
|
52
|
+
import * as i49 from "./components/pagination-menu/pagination-menu.component";
|
|
53
|
+
import * as i50 from "./components/unordered-list/unordered-list.component";
|
|
54
|
+
import * as i51 from "./components/upload/upload.component";
|
|
55
|
+
import * as i52 from "@angular/common";
|
|
56
|
+
import * as i53 from "@angular/forms";
|
|
56
57
|
export declare function loadBaseUrl(): string;
|
|
57
58
|
export declare function loadBaseHref(baseUrl: string): string;
|
|
58
59
|
export declare class NgxUtilsModule {
|
|
@@ -62,6 +63,6 @@ export declare class NgxUtilsModule {
|
|
|
62
63
|
static useDynamic(moduleInfo: DynamicModuleInfo): ModuleWithProviders<NgxUtilsModule>;
|
|
63
64
|
constructor();
|
|
64
65
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgxUtilsModule, never>;
|
|
65
|
-
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.IsTypePipe, typeof i13.JoinPipe, typeof i14.KeysPipe, typeof i15.MapPipe, typeof i16.MaxPipe, typeof i17.MinPipe, typeof i18.PopPipe, typeof i19.ReducePipe, typeof i20.RemapPipe, typeof i21.ReplacePipe, typeof i22.ReversePipe, typeof i23.RoundPipe, typeof i24.SafeHtmlPipe, typeof i25.ShiftPipe, typeof i26.SplitPipe, typeof i27.TranslatePipe, typeof i28.ValuesPipe, typeof i29.AsyncMethodBase, typeof i30.AsyncMethodDirective, typeof i31.BackgroundDirective, typeof i32.
|
|
66
|
+
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.IsTypePipe, typeof i13.JoinPipe, typeof i14.KeysPipe, typeof i15.MapPipe, typeof i16.MaxPipe, typeof i17.MinPipe, typeof i18.PopPipe, typeof i19.ReducePipe, typeof i20.RemapPipe, typeof i21.ReplacePipe, typeof i22.ReversePipe, typeof i23.RoundPipe, typeof i24.SafeHtmlPipe, typeof i25.ShiftPipe, typeof i26.SplitPipe, typeof i27.TranslatePipe, typeof i28.ValuesPipe, typeof i29.AsyncMethodBase, typeof i30.AsyncMethodDirective, typeof i31.BackgroundDirective, typeof i32.ComponentLoaderDirective, typeof i33.DynamicTableTemplateDirective, typeof i34.GlobalTemplateDirective, typeof i35.IconDirective, typeof i36.NgxTemplateOutletDirective, typeof i37.PaginationDirective, typeof i38.PaginationItemDirective, typeof i39.ResourceIfDirective, typeof i40.StickyDirective, typeof i41.StickyClassDirective, typeof i42.DropdownDirective, typeof i43.DropdownToggleDirective, typeof i44.UnorderedListItemDirective, typeof i45.UnorderedListTemplateDirective, typeof i46.DropListComponent, typeof i47.DynamicTableComponent, typeof i48.FakeModuleComponent, typeof i49.PaginationMenuComponent, typeof i50.UnorderedListComponent, typeof i51.UploadComponent], [typeof i52.CommonModule, typeof i53.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.IsTypePipe, typeof i13.JoinPipe, typeof i14.KeysPipe, typeof i15.MapPipe, typeof i16.MaxPipe, typeof i17.MinPipe, typeof i18.PopPipe, typeof i19.ReducePipe, typeof i20.RemapPipe, typeof i21.ReplacePipe, typeof i22.ReversePipe, typeof i23.RoundPipe, typeof i24.SafeHtmlPipe, typeof i25.ShiftPipe, typeof i26.SplitPipe, typeof i27.TranslatePipe, typeof i28.ValuesPipe, typeof i29.AsyncMethodBase, typeof i30.AsyncMethodDirective, typeof i31.BackgroundDirective, typeof i32.ComponentLoaderDirective, typeof i33.DynamicTableTemplateDirective, typeof i34.GlobalTemplateDirective, typeof i35.IconDirective, typeof i36.NgxTemplateOutletDirective, typeof i37.PaginationDirective, typeof i38.PaginationItemDirective, typeof i39.ResourceIfDirective, typeof i40.StickyDirective, typeof i41.StickyClassDirective, typeof i42.DropdownDirective, typeof i43.DropdownToggleDirective, typeof i44.UnorderedListItemDirective, typeof i45.UnorderedListTemplateDirective, typeof i46.DropListComponent, typeof i47.DynamicTableComponent, typeof i48.FakeModuleComponent, typeof i49.PaginationMenuComponent, typeof i50.UnorderedListComponent, typeof i51.UploadComponent, typeof i53.FormsModule]>;
|
|
66
67
|
static ɵinj: i0.ɵɵInjectorDeclaration<NgxUtilsModule>;
|
|
67
68
|
}
|
package/package.json
CHANGED
package/public_api.d.ts
CHANGED
|
@@ -85,6 +85,7 @@ export { ValuesPipe } from "./ngx-utils/pipes/values.pipe";
|
|
|
85
85
|
export { AsyncMethodBase } from "./ngx-utils/directives/async-method.base";
|
|
86
86
|
export { AsyncMethodDirective } from "./ngx-utils/directives/async-method.directive";
|
|
87
87
|
export { BackgroundDirective } from "./ngx-utils/directives/background.directive";
|
|
88
|
+
export { ComponentLoaderDirective } from "./ngx-utils/directives/component-loader.directive";
|
|
88
89
|
export { DynamicTableTemplateDirective } from "./ngx-utils/directives/dynamic-table-template.directive";
|
|
89
90
|
export { GlobalTemplateDirective } from "./ngx-utils/directives/global-template.directive";
|
|
90
91
|
export { IconDirective } from "./ngx-utils/directives/icon.directive";
|