@stemy/ngx-utils 12.2.15 → 12.2.17
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/bundles/stemy-ngx-utils.umd.js +118 -33
- package/bundles/stemy-ngx-utils.umd.js.map +1 -1
- package/esm2015/ngx-utils/common-types.js +6 -1
- package/esm2015/ngx-utils/utils/object.utils.js +76 -30
- package/esm2015/public_api.js +2 -2
- package/esm2015/stemy-ngx-utils.js +3 -2
- package/fesm2015/stemy-ngx-utils.js +81 -29
- package/fesm2015/stemy-ngx-utils.js.map +1 -1
- package/ngx-utils/common-types.d.ts +1 -0
- package/ngx-utils/utils/object.utils.d.ts +3 -0
- package/package.json +1 -1
- package/public_api.d.ts +1 -1
- package/stemy-ngx-utils.d.ts +2 -1
- package/stemy-ngx-utils.metadata.json +1 -1
|
@@ -133,6 +133,7 @@ export interface ISearchObservable {
|
|
|
133
133
|
getSearchResults(token: string): Promise<any[]>;
|
|
134
134
|
}
|
|
135
135
|
export declare function FactoryDependencies(...dependencies: Array<InjectionToken<any> | Provider>): MethodDecorator;
|
|
136
|
+
export declare function ObjectType(type: string): ClassDecorator;
|
|
136
137
|
export interface ITimer {
|
|
137
138
|
id?: any;
|
|
138
139
|
func?: Function;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export declare type FilterPredicate = (value: any, key?: any, target?: any, source?: any) => boolean;
|
|
2
2
|
export declare type IterateCallback = (value: any, key?: any) => void;
|
|
3
|
+
export declare function defaultPredicate(value: any, key?: any, target?: any, source?: any): boolean;
|
|
4
|
+
export declare function shouldCopyDefault(key: any, value: any): boolean;
|
|
3
5
|
export declare class ObjectUtils {
|
|
4
6
|
static compare(a: any, b: any): number;
|
|
5
7
|
static getProperties(obj: any): string[];
|
|
@@ -25,6 +27,7 @@ export declare class ObjectUtils {
|
|
|
25
27
|
static isNumber(value: any): value is number;
|
|
26
28
|
static isArray(value: any): value is Array<any>;
|
|
27
29
|
static isSet(value: any): value is Set<any>;
|
|
30
|
+
static isConstructor(value: any): boolean;
|
|
28
31
|
static checkInterface(obj: any, interFaceObject: any): boolean;
|
|
29
32
|
static isInterface(obj: any, interFaceObject: any): boolean;
|
|
30
33
|
static pad(obj: any, width: number, chr?: string): string;
|
package/package.json
CHANGED
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, 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, 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, ILanguageSetting, ILanguageSettings, ILanguageService, LANGUAGE_SERVICE, IAuthService, RouteValidator, IRouteData, IRoute, AUTH_SERVICE, IAclComponent, IPromiseService, PROMISE_SERVICE, 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, ITableColumns, ITableTemplate, ITableTemplates, TableDataLoader, ResourceIfContext, 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";
|
|
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";
|
package/stemy-ngx-utils.d.ts
CHANGED
|
@@ -2,4 +2,5 @@
|
|
|
2
2
|
* Generated bundle index. Do not edit.
|
|
3
3
|
*/
|
|
4
4
|
export * from './public_api';
|
|
5
|
-
export { components as
|
|
5
|
+
export { components as ɵd, directives as ɵc, loadConfig as ɵf, pipes as ɵb, providers as ɵe } from './ngx-utils/ngx-utils.module';
|
|
6
|
+
export { defaultPredicate as ɵa } from './ngx-utils/utils/object.utils';
|