asajs 4.0.13 → 4.0.15-indev
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/dist/js/analyzer/custom-ui.js +1 -0
- package/dist/js/analyzer/generate-ui-defs.js +12 -0
- package/dist/js/analyzer/rebase.js +29 -0
- package/dist/js/analyzer/rebaseUIFiles.js +42 -0
- package/dist/js/analyzer/remove-not-ui.js +29 -0
- package/dist/js/analyzer/utils.js +18 -0
- package/dist/js/analyzer/vanilladefs.js +143588 -0
- package/dist/js/components/UI.js +1 -1
- package/dist/js/components/Utils.js +4 -3
- package/dist/js/index.js +1 -0
- package/dist/js/types/enums/Items.js +1 -0
- package/dist/js/types/vanilla/paths.js +208 -19472
- package/dist/types/analyzer/custom-ui.d.ts +1 -0
- package/dist/types/analyzer/generate-ui-defs.d.ts +1 -0
- package/dist/types/analyzer/rebase.d.ts +1 -0
- package/dist/types/analyzer/rebaseUIFiles.d.ts +1 -0
- package/dist/types/analyzer/remove-not-ui.d.ts +1 -0
- package/dist/types/analyzer/utils.d.ts +3 -0
- package/dist/types/analyzer/vanilladefs.d.ts +16 -0
- package/dist/types/components/AnimationKeyframe.d.ts +4 -4
- package/dist/types/components/UI.d.ts +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/types/enums/Items.d.ts +1 -0
- package/dist/types/types/vanilla/intellisense.d.ts +564 -368
- package/dist/types/types/vanilla/paths.d.ts +208 -19472
- package/package.json +4 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function generateUIDefs(pack_folder: string): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function rebaseUIFiles(pack_folder: string): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function rebaseUIFiles(pack_folder: string): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function removeNotUIFiles(pack_folder: string): void;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
interface Element {
|
|
2
|
+
file: string;
|
|
3
|
+
type: string;
|
|
4
|
+
children?: string[];
|
|
5
|
+
extend?: {
|
|
6
|
+
name: string;
|
|
7
|
+
namespace: string;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
interface VanillaDefs {
|
|
11
|
+
[key: string]: {
|
|
12
|
+
[key: string]: Element;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
export declare const vanilladefs: VanillaDefs;
|
|
16
|
+
export {};
|
|
@@ -15,8 +15,8 @@ export declare class AnimationKeyframe<T extends AnimType> extends Class {
|
|
|
15
15
|
clearNext(): this;
|
|
16
16
|
protected toJsonUI(): KeyframeAnimationProperties<AnimType>;
|
|
17
17
|
protected toJSON(): (Partial<import("../types/properties/element/Animation.js").DurationAnimation> & import("../types/properties/element/Animation.js").KeyframeAnimationPropertiesItem) | (Partial<import("../types/properties/element/Animation.js").AsepriteFlipBookAnimation> & import("../types/properties/element/Animation.js").KeyframeAnimationPropertiesItem) | {
|
|
18
|
-
from?: import("../types/properties/value.js").
|
|
19
|
-
to?: import("../types/properties/value.js").
|
|
18
|
+
from?: import("../types/properties/value.js").Array2<string | number> | undefined;
|
|
19
|
+
to?: import("../types/properties/value.js").Array2<string | number> | undefined;
|
|
20
20
|
duration?: import("../types/properties/value.js").Value<number> | undefined;
|
|
21
21
|
easing?: import("../types/properties/value.js").Value<string | import("../index.js").Easing> | undefined;
|
|
22
22
|
next?: import("../types/properties/value.js").Value<string | AnimationKeyframe<AnimType> | Animation<AnimType>>;
|
|
@@ -33,8 +33,8 @@ export declare class AnimationKeyframe<T extends AnimType> extends Class {
|
|
|
33
33
|
wait_until_rendered_to_play?: import("../types/properties/value.js").Value<boolean>;
|
|
34
34
|
anim_type: T;
|
|
35
35
|
} | {
|
|
36
|
-
from?: import("../types/properties/value.js").
|
|
37
|
-
to?: import("../types/properties/value.js").
|
|
36
|
+
from?: import("../types/properties/value.js").Value<number> | undefined;
|
|
37
|
+
to?: import("../types/properties/value.js").Value<number> | undefined;
|
|
38
38
|
duration?: import("../types/properties/value.js").Value<number> | undefined;
|
|
39
39
|
easing?: import("../types/properties/value.js").Value<string | import("../index.js").Easing> | undefined;
|
|
40
40
|
next?: import("../types/properties/value.js").Value<string | AnimationKeyframe<AnimType> | Animation<AnimType>>;
|
|
@@ -59,7 +59,7 @@ export declare class UI<T extends Type, K extends Renderer | null = null> extend
|
|
|
59
59
|
* @param name
|
|
60
60
|
* @returns
|
|
61
61
|
*/
|
|
62
|
-
addChild<T extends Type, K extends Renderer | null>(child: UI<T, K>, properties?: Properties<T, K>, name?: string, callback?: (name: string) => void): this;
|
|
62
|
+
addChild<T extends Type, K extends Renderer | null>(child: UI<T, K>, properties?: Properties<T, K>, name?: string, callback?: (name: string, parent: UI<T, K>) => void): this;
|
|
63
63
|
addAnimations(...anims: (Animation<AnimType> | AnimationKeyframe<AnimType>)[]): this;
|
|
64
64
|
/**
|
|
65
65
|
* Return a extend of this element
|
package/dist/types/index.d.ts
CHANGED