asajs 3.0.5 → 3.0.7

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.
@@ -10,7 +10,9 @@ export declare class Modify<T extends Types = Types.Any, K extends string = stri
10
10
  private properties;
11
11
  private controls?;
12
12
  private bindings?;
13
+ private button_mappings?;
13
14
  private variables?;
15
+ private anims?;
14
16
  private isValidPath;
15
17
  name: string;
16
18
  namespace: string;
@@ -67,16 +67,16 @@ export declare class UI<T extends Types = Types.Any> {
67
67
  setProperties(properties: PropertiesType[T]): this;
68
68
  private isDuplicate;
69
69
  private isRecusive;
70
- addChild<K extends Types = Types.Any, T extends string | Identifier | UI | Modify = any>(element: T, properties?: PropertiesType[ExtractUIType<typeof element, K>] | null | 0, name?: string | null | 0, callback?: UIChildNameCallback): this;
71
- addBindings(bindings: Array<BindingInterface> | BindingInterface): this;
72
- addVariables(variables: VariablesInterface): this;
70
+ addChild<K extends Types = Types.Any, T extends string | Identifier | UI | Modify = any>(element?: T, properties?: PropertiesType[ExtractUIType<typeof element, K>] | null | 0, name?: string | null | 0, callback?: UIChildNameCallback): this;
71
+ addBindings(bindings?: Array<BindingInterface> | BindingInterface): this;
72
+ addMapping(mapping?: Array<ButtonMapping> | ButtonMapping): this;
73
+ addVariables(variables?: VariablesInterface): this;
74
+ addAnimation(animation?: Animation, startIndex?: number): this;
73
75
  getUI(): any;
74
76
  getPath(): string;
75
77
  getElement(): string;
76
78
  getFullPath(): string;
77
79
  extend(identifier?: ExtendInterface, properties?: PropertiesType[T]): UI<T>;
78
- addAnimation(animation: Animation, startIndex?: number): this;
79
- addMapping(mapping: Array<ButtonMapping> | ButtonMapping): this;
80
80
  private static apply;
81
81
  private static arguments;
82
82
  private static bind;