utils-lib-js 2.0.10 → 2.0.12
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/README.en.md +12 -0
- package/README.md +18 -2
- package/dist/bundle/index.d.ts +4 -0
- package/dist/bundle/index.js +8 -2
- package/dist/bundle/object.d.ts +3 -1
- package/dist/cjs/index.d.ts +4 -0
- package/dist/cjs/index.js +3188 -79
- package/dist/cjs/object.d.ts +3 -1
- package/dist/esm/index.d.ts +4 -0
- package/dist/esm/index.js +3133 -27
- package/dist/esm/object.d.ts +3 -1
- package/dist/umd/index.d.ts +4 -0
- package/dist/umd/index.js +3188 -79
- package/dist/umd/object.d.ts +3 -1
- package/package.json +3 -2
package/dist/cjs/object.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IGetValue, ISetValue, IMixIn, ICloneDeep, ICreateObjectVariable, IEnumInversion, IInherit, ICreateObject, IGetInstance, IClassDecorator, IStringToJson, IJsonToString } from "./types";
|
|
1
|
+
import { IGetValue, ISetValue, IMixIn, ICloneDeep, ICreateObjectVariable, IEnumInversion, IInherit, ICreateObject, IGetInstance, IClassDecorator, IStringToJson, IJsonToString, IObject } from "./types";
|
|
2
2
|
export declare const getValue: IGetValue;
|
|
3
3
|
export declare const setValue: ISetValue;
|
|
4
4
|
export declare const mixIn: IMixIn;
|
|
@@ -13,6 +13,7 @@ export declare const classDecorator: IClassDecorator;
|
|
|
13
13
|
export declare const stringToJson: IStringToJson;
|
|
14
14
|
export declare const jsonToString: IJsonToString;
|
|
15
15
|
export declare const isWindow: (win: any) => boolean;
|
|
16
|
+
export declare const emptyObject: (init: IObject<unknown>) => any;
|
|
16
17
|
declare const _default: {
|
|
17
18
|
getValue: IGetValue;
|
|
18
19
|
setValue: ISetValue;
|
|
@@ -28,5 +29,6 @@ declare const _default: {
|
|
|
28
29
|
stringToJson: IStringToJson;
|
|
29
30
|
jsonToString: IJsonToString;
|
|
30
31
|
isWindow: (win: any) => boolean;
|
|
32
|
+
emptyObject: (init: IObject<unknown>) => any;
|
|
31
33
|
};
|
|
32
34
|
export default _default;
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -12,13 +12,16 @@ export * from "./animate";
|
|
|
12
12
|
export * from "event-message-center";
|
|
13
13
|
export * from "task-queue-lib";
|
|
14
14
|
export * from "js-request-lib";
|
|
15
|
+
export * from "timer-manager-lib";
|
|
15
16
|
import eventMessageCenter from "event-message-center";
|
|
16
17
|
import taskQueueLib from "task-queue-lib";
|
|
17
18
|
import JSRequest from "js-request-lib";
|
|
19
|
+
import TimerManager from "timer-manager-lib";
|
|
18
20
|
declare const _default: {
|
|
19
21
|
eventMessageCenter: typeof eventMessageCenter;
|
|
20
22
|
taskQueueLib: typeof taskQueueLib;
|
|
21
23
|
JSRequest: typeof JSRequest;
|
|
24
|
+
TimerManager: typeof TimerManager;
|
|
22
25
|
AnimateFrame: typeof import("./animate").AnimateFrame;
|
|
23
26
|
quadraticBezier: typeof import("./animate").quadraticBezier;
|
|
24
27
|
cubicBezier: typeof import("./animate").cubicBezier;
|
|
@@ -63,5 +66,6 @@ declare const _default: {
|
|
|
63
66
|
stringToJson: import("./types").IStringToJson;
|
|
64
67
|
jsonToString: import("./types").IJsonToString;
|
|
65
68
|
isWindow: (win: any) => boolean;
|
|
69
|
+
emptyObject: (init: import("./types").IObject<unknown>) => any;
|
|
66
70
|
};
|
|
67
71
|
export default _default;
|