@stemy/ngx-utils 19.9.35 → 19.9.37
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 +10 -12
- package/fesm2022/stemy-ngx-utils.mjs.map +1 -1
- package/ngx-utils/common-types.d.ts +2 -2
- package/ngx-utils/components/upload/upload.component.d.ts +1 -1
- package/ngx-utils/ngx-utils.imports.d.ts +1 -1
- package/ngx-utils/ngx-utils.module.d.ts +1 -0
- package/package.json +1 -1
|
@@ -665,7 +665,7 @@ export interface IConfigService {
|
|
|
665
665
|
export type ResizeEventStrategy = "scroll" | "object" | "observer";
|
|
666
666
|
export type ErrorHandlerCallback = (error: string) => any;
|
|
667
667
|
export type GlobalComponentModifier = (component: any) => any;
|
|
668
|
-
export type AppInitializerFunc = () => Promise<
|
|
668
|
+
export type AppInitializerFunc = () => Observable<unknown> | Promise<unknown> | void;
|
|
669
669
|
export interface IModuleConfig {
|
|
670
670
|
apiService?: Type<IApiService>;
|
|
671
671
|
authService?: Type<IAuthService>;
|
|
@@ -678,7 +678,7 @@ export interface IModuleConfig {
|
|
|
678
678
|
iconType?: Type<IconProps>;
|
|
679
679
|
iconMap?: IconMap;
|
|
680
680
|
buttonType?: Type<ButtonProps>;
|
|
681
|
-
initializeApp?:
|
|
681
|
+
initializeApp?: AppInitializerFunc;
|
|
682
682
|
baseUrl?: (injector: Injector) => string;
|
|
683
683
|
resizeDelay?: number;
|
|
684
684
|
resizeStrategy?: ResizeEventStrategy;
|
|
@@ -45,7 +45,7 @@ export declare class UploadComponent implements ControlValueAccessor, OnChanges
|
|
|
45
45
|
onInputChange(ev: Event): void;
|
|
46
46
|
getUrl(image: any): string;
|
|
47
47
|
processFiles(files: File[]): Promise<IFileUploadResult[]>;
|
|
48
|
-
protected checkType(
|
|
48
|
+
protected checkType(file: File | DataTransferItem): boolean;
|
|
49
49
|
static ɵfac: i0.ɵɵFactoryDeclaration<UploadComponent, never>;
|
|
50
50
|
static ɵcmp: i0.ɵɵComponentDeclaration<UploadComponent, "upload", never, { "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "inline": { "alias": "inline"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; "baseUrl": { "alias": "baseUrl"; "required": false; }; "message": { "alias": "message"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "buttonText": { "alias": "buttonText"; "required": false; }; "makeUpload": { "alias": "makeUpload"; "required": false; }; "preProcess": { "alias": "preProcess"; "required": false; }; }, { "onUploaded": "onUploaded"; "onRemove": "onRemove"; }, never, never, false, never>;
|
|
51
51
|
}
|
|
@@ -69,7 +69,7 @@ import { WysiwygComponent } from "./components/wysiwyg/wysiwyg.component";
|
|
|
69
69
|
export declare const pipes: (typeof FilterPipe | typeof FormatNumberPipe | typeof GlobalTemplatePipe | typeof IncludesPipe | typeof ReducePipe | typeof RoundPipe | typeof SafeHtmlPipe | typeof SyncAsyncPipe | typeof TranslatePipe)[];
|
|
70
70
|
export declare const directives: (typeof AsyncMethodBase | typeof AsyncMethodDirective | typeof AsyncMethodTargetDirective | 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)[];
|
|
71
71
|
export declare const components: (typeof ChipsComponent | typeof CloseBtnComponent | typeof CodeEditorComponent | typeof DropListComponent | typeof DynamicTableComponent | typeof PaginationMenuComponent | typeof UnorderedListComponent | typeof UploadComponent | typeof WysiwygComponent)[];
|
|
72
|
-
export declare const providers: (typeof
|
|
72
|
+
export declare const providers: (typeof FilterPipe | typeof FormatNumberPipe | typeof GlobalTemplatePipe | typeof IncludesPipe | typeof ReducePipe | typeof RoundPipe | typeof SafeHtmlPipe | typeof SyncAsyncPipe | 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 HrefSerializer | typeof IconService | typeof StaticLanguageService | typeof OpenApiService | typeof PromiseService | typeof SocketService | typeof StateService | typeof StorageService | typeof BaseToasterService | typeof CacheService | typeof ComponentLoaderService | typeof TranslatedUrlSerializer | typeof UniversalService | typeof DeviceDetectorService | {
|
|
73
73
|
provide: import("@angular/core").InjectionToken<import("@angular/platform-browser").EventManagerPlugin[]>;
|
|
74
74
|
useClass: typeof DragDropEventPlugin;
|
|
75
75
|
multi: boolean;
|
|
@@ -78,6 +78,7 @@ import * as i74 from "@angular/forms";
|
|
|
78
78
|
export declare function loadBaseUrl(): string;
|
|
79
79
|
export declare function loadBaseHref(baseUrl: string): string;
|
|
80
80
|
export declare function getRootElement(): HTMLElement;
|
|
81
|
+
export declare function defaultAppInitializer(): Promise<any>;
|
|
81
82
|
export declare class NgxUtilsModule {
|
|
82
83
|
private static getProviders;
|
|
83
84
|
static forRoot(config?: IModuleConfig): ModuleWithProviders<NgxUtilsModule>;
|