@stemy/ngx-utils 13.4.0 → 13.4.2
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/esm2020/ngx-utils/common-types.mjs +2 -1
- package/esm2020/ngx-utils/ngx-utils.module.mjs +6 -2
- package/esm2020/ngx-utils/plugins/resize-event.plugin.mjs +16 -5
- package/esm2020/public_api.mjs +2 -2
- package/fesm2015/stemy-ngx-utils.mjs +20 -5
- package/fesm2015/stemy-ngx-utils.mjs.map +1 -1
- package/fesm2020/stemy-ngx-utils.mjs +19 -5
- package/fesm2020/stemy-ngx-utils.mjs.map +1 -1
- package/ngx-utils/common-types.d.ts +2 -0
- package/ngx-utils/plugins/resize-event.plugin.d.ts +3 -2
- package/package.json +1 -1
- package/public_api.d.ts +1 -1
|
@@ -309,6 +309,7 @@ export declare const CONFIG_SERVICE: InjectionToken<IConfigService>;
|
|
|
309
309
|
export declare const BASE_CONFIG: InjectionToken<IConfiguration>;
|
|
310
310
|
export declare const SCRIPT_PARAMS: InjectionToken<any>;
|
|
311
311
|
export declare const ROOT_ELEMENT: InjectionToken<HTMLElement>;
|
|
312
|
+
export declare const RESIZE_DELAY: InjectionToken<number>;
|
|
312
313
|
export declare type ErrorHandlerCallback = (error: string) => any;
|
|
313
314
|
export declare const ERROR_HANDLER: InjectionToken<ErrorHandlerCallback>;
|
|
314
315
|
export declare type GlobalComponentModifier = (component: any) => any;
|
|
@@ -333,6 +334,7 @@ export interface IModuleConfig {
|
|
|
333
334
|
wasiImplementation?: Type<IWasi>;
|
|
334
335
|
initializeApp?: (injector: Injector) => AppInitializerFunc;
|
|
335
336
|
baseUrl?: (injector: Injector) => string;
|
|
337
|
+
resizeDelay?: number;
|
|
336
338
|
}
|
|
337
339
|
export declare class ValuedPromise<T> extends Promise<T> {
|
|
338
340
|
value: T;
|
|
@@ -2,9 +2,10 @@ import { ɵDomEventsPlugin as EventManagerPlugin } from "@angular/platform-brows
|
|
|
2
2
|
import { UniversalService } from "../services/universal.service";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class ResizeEventPlugin extends EventManagerPlugin {
|
|
5
|
-
|
|
5
|
+
protected resizeDelay: number;
|
|
6
|
+
readonly universal: UniversalService;
|
|
6
7
|
private static EVENT_NAME;
|
|
7
|
-
constructor(doc: any, universal: UniversalService);
|
|
8
|
+
constructor(doc: any, resizeDelay: number, universal: UniversalService);
|
|
8
9
|
supports(eventName: any): boolean;
|
|
9
10
|
addEventListener(element: HTMLElement, eventName: string, handler: Function): Function;
|
|
10
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<ResizeEventPlugin, never>;
|
package/package.json
CHANGED
package/public_api.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { IResolveFactory, CanvasColor, IIconService, ICON_SERVICE, ITranslation, ITranslations, ILanguageSettings, ILanguageService, LANGUAGE_SERVICE, IAuthService, RouteValidator, IRouteData, IRoute, AUTH_SERVICE, IAclComponent, IPromiseService, PROMISE_SERVICE, IWasi, IWasmExports, IWasm, IWasmAsync, WASI_IMPLEMENTATION, IRouteStateInfo, NavigationUrlParam, StorageMode, IToasterService, TOASTER_SERVICE, IAsyncMessage, AsyncMethod, UnorederedListTemplate, UnorderedListTemplates, UnorderedListStyle, IAjaxRequestDetails, AjaxRequestCallback, IScriptPromises, IStylePromises, ISearchObservable, FactoryDependencies, ITimer, IExtraProperties, IGroupMap, TranslationQuery, IPageInfo, IPaginationData, PaginationDataLoader, PaginationItemContext, IHttpHeaders, IHttpParams, IRequestOptions, IIssueContext, IProgress, ProgressListener, PromiseExecutor, HttpPromise, IHttpService, EXPRESS_REQUEST, IApiService, API_SERVICE, IOpenApiSchemaProperty, IOpenApiSchema, IOpenApiSchemas, ITableColumns, ITableTemplate, ITableTemplates, TableDataLoader, ResourceIfContext, APP_BASE_URL, IConfiguration, IConfigService, CONFIG_SERVICE, BASE_CONFIG, SCRIPT_PARAMS, ROOT_ELEMENT, ErrorHandlerCallback, ERROR_HANDLER, GlobalComponentModifier, IGlobalTemplates, GLOBAL_TEMPLATES, AppInitializerFunc, IModuleConfig, ValuedPromise } from "./ngx-utils/common-types";
|
|
1
|
+
export { IResolveFactory, CanvasColor, IIconService, ICON_SERVICE, ITranslation, ITranslations, ILanguageSettings, ILanguageService, LANGUAGE_SERVICE, IAuthService, RouteValidator, IRouteData, IRoute, AUTH_SERVICE, IAclComponent, IPromiseService, PROMISE_SERVICE, IWasi, IWasmExports, IWasm, IWasmAsync, WASI_IMPLEMENTATION, IRouteStateInfo, NavigationUrlParam, StorageMode, IToasterService, TOASTER_SERVICE, IAsyncMessage, AsyncMethod, UnorederedListTemplate, UnorderedListTemplates, UnorderedListStyle, IAjaxRequestDetails, AjaxRequestCallback, IScriptPromises, IStylePromises, ISearchObservable, FactoryDependencies, ITimer, IExtraProperties, IGroupMap, TranslationQuery, IPageInfo, IPaginationData, PaginationDataLoader, PaginationItemContext, IHttpHeaders, IHttpParams, IRequestOptions, IIssueContext, IProgress, ProgressListener, PromiseExecutor, HttpPromise, IHttpService, EXPRESS_REQUEST, IApiService, API_SERVICE, IOpenApiSchemaProperty, IOpenApiSchema, IOpenApiSchemas, ITableColumns, ITableTemplate, ITableTemplates, TableDataLoader, ResourceIfContext, APP_BASE_URL, IConfiguration, IConfigService, CONFIG_SERVICE, BASE_CONFIG, SCRIPT_PARAMS, ROOT_ELEMENT, RESIZE_DELAY, ErrorHandlerCallback, ERROR_HANDLER, GlobalComponentModifier, IGlobalTemplates, GLOBAL_TEMPLATES, AppInitializerFunc, IModuleConfig, ValuedPromise } from "./ngx-utils/common-types";
|
|
2
2
|
export { AjaxRequestHandler } from "./ngx-utils/utils/ajax-request-handler";
|
|
3
3
|
export { ObjectUtils } from "./ngx-utils/utils/object.utils";
|
|
4
4
|
export { DateUtils } from "./ngx-utils/utils/date.utils";
|