@stemy/ngx-utils 13.5.3 → 13.6.0
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 +1 -1
- package/esm2020/ngx-utils/directives/async-method.base.mjs +8 -4
- package/esm2020/ngx-utils/utils/loader.utils.mjs +3 -3
- package/esm2020/public_api.mjs +1 -1
- package/fesm2015/stemy-ngx-utils.mjs +9 -5
- package/fesm2015/stemy-ngx-utils.mjs.map +1 -1
- package/fesm2020/stemy-ngx-utils.mjs +9 -5
- package/fesm2020/stemy-ngx-utils.mjs.map +1 -1
- package/ngx-utils/common-types.d.ts +1 -0
- package/ngx-utils/directives/async-method.base.d.ts +1 -1
- package/ngx-utils/utils/loader.utils.d.ts +2 -2
- package/package.json +9 -9
- package/public_api.d.ts +1 -1
|
@@ -149,6 +149,7 @@ export interface IAjaxRequestDetails {
|
|
|
149
149
|
url: string;
|
|
150
150
|
}
|
|
151
151
|
export declare type AjaxRequestCallback = (details: IAjaxRequestDetails, params: any) => void;
|
|
152
|
+
export declare type ScriptType = "text/javascript" | "module";
|
|
152
153
|
export interface IScriptPromises {
|
|
153
154
|
[src: string]: Promise<HTMLScriptElement>;
|
|
154
155
|
}
|
|
@@ -12,7 +12,7 @@ export declare class AsyncMethodBase {
|
|
|
12
12
|
get isLoading(): boolean;
|
|
13
13
|
constructor(toaster: IToasterService);
|
|
14
14
|
protected getMethod(): AsyncMethod;
|
|
15
|
-
click(): void;
|
|
15
|
+
click(ev: Event): void;
|
|
16
16
|
callMethod(): boolean;
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<AsyncMethodBase, never>;
|
|
18
18
|
static ɵdir: i0.ɵɵDirectiveDeclaration<AsyncMethodBase, "[__asmb__]", never, { "disabled": "disabled"; "context": "context"; }, { "onSuccess": "onSuccess"; "onError": "onError"; }, never>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { IScriptPromises, IStylePromises } from "../common-types";
|
|
1
|
+
import { ScriptType, IScriptPromises, IStylePromises } from "../common-types";
|
|
2
2
|
export declare class LoaderUtils {
|
|
3
3
|
static scriptPromises: IScriptPromises;
|
|
4
4
|
static stylePromises: IStylePromises;
|
|
5
|
-
static loadScript(src: string, async?: boolean): Promise<HTMLScriptElement>;
|
|
5
|
+
static loadScript(src: string, async?: boolean, type?: ScriptType): Promise<HTMLScriptElement>;
|
|
6
6
|
static loadStyle(src: string): Promise<HTMLLinkElement>;
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stemy/ngx-utils",
|
|
3
|
-
"version": "13.
|
|
3
|
+
"version": "13.6.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"public": true,
|
|
6
6
|
"repository": "https://github.com/stemyke/ngx-utils.git",
|
|
7
7
|
"author": "stemy <balazs.stemler@metrix.co.hu>",
|
|
8
8
|
"peerDependencies": {
|
|
9
|
-
"@angular/animations": "^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 || ^15.0.0",
|
|
10
|
-
"@angular/common": "^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 || ^15.0.0",
|
|
11
|
-
"@angular/compiler": "^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 || ^15.0.0",
|
|
12
|
-
"@angular/core": "^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 || ^15.0.0",
|
|
13
|
-
"@angular/forms": "^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 || ^15.0.0",
|
|
14
|
-
"@angular/router": "^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 || ^15.0.0",
|
|
15
|
-
"@angular/platform-browser": "^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 || ^15.0.0",
|
|
16
|
-
"@angular/platform-server": "^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 || ^15.0.0",
|
|
9
|
+
"@angular/animations": "^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 || ^15.0.0 || ^16.0.0",
|
|
10
|
+
"@angular/common": "^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 || ^15.0.0 || ^16.0.0",
|
|
11
|
+
"@angular/compiler": "^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 || ^15.0.0 || ^16.0.0",
|
|
12
|
+
"@angular/core": "^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 || ^15.0.0 || ^16.0.0",
|
|
13
|
+
"@angular/forms": "^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 || ^15.0.0 || ^16.0.0",
|
|
14
|
+
"@angular/router": "^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 || ^15.0.0 || ^16.0.0",
|
|
15
|
+
"@angular/platform-browser": "^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 || ^15.0.0 || ^16.0.0",
|
|
16
|
+
"@angular/platform-server": "^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 || ^15.0.0 || ^16.0.0",
|
|
17
17
|
"express": "^4.0.0",
|
|
18
18
|
"element-resize-detector": "^1.2.4",
|
|
19
19
|
"core-js": "^3.6.5 || ^3.22.5",
|
package/public_api.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { IResolveFactory, CanvasColor, IIconService, ICON_SERVICE, ITranslation, ITranslations, ILanguageSetting, 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, ObjectType, 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, ITableOrders, ITableColumn, 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";
|
|
1
|
+
export { IResolveFactory, CanvasColor, IIconService, ICON_SERVICE, ITranslation, ITranslations, ILanguageSetting, 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, ScriptType, IScriptPromises, IStylePromises, ISearchObservable, FactoryDependencies, ObjectType, 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, ITableOrders, ITableColumn, 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";
|