vsn 0.1.14 → 0.1.18

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/AST.d.ts CHANGED
@@ -117,10 +117,10 @@ declare class ElementQueryNode extends Node implements TreeNode {
117
117
  prepare(scope: Scope, dom: DOM, tag?: Tag): Promise<void>;
118
118
  }
119
119
  declare class ElementAttributeNode extends Node implements TreeNode {
120
- readonly elementRef: ElementQueryNode;
120
+ readonly elementRef: ElementQueryNode | null;
121
121
  readonly attr: string;
122
122
  protected requiresPrep: boolean;
123
- constructor(elementRef: ElementQueryNode, attr: string);
123
+ constructor(elementRef: ElementQueryNode | null, attr: string);
124
124
  get name(): LiteralNode<string>;
125
125
  protected _getChildNodes(): Node[];
126
126
  get attributeName(): string;
package/dist/Scope.d.ts CHANGED
@@ -30,6 +30,7 @@ export declare class WrappedArray<T> extends Array<T> {
30
30
  constructor(...items: T[]);
31
31
  push(...items: T[]): number;
32
32
  splice(start: number, deleteCount?: number): T[];
33
+ get(key: string): any;
33
34
  get length(): number;
34
35
  set length(num: number);
35
36
  setLength(num: number): void;
package/dist/Vision.d.ts CHANGED
@@ -3,7 +3,6 @@ import { EventDispatcher } from "simple-ts-event-dispatcher";
3
3
  import { Registry } from "./Registry";
4
4
  import "./Types";
5
5
  import "./Formats";
6
- import "./attributes/_imports";
7
6
  import { Configuration } from "./Configuration";
8
7
  export declare class Vision extends EventDispatcher {
9
8
  protected static _instance: Vision;
@@ -16,6 +15,10 @@ export declare class Vision extends EventDispatcher {
16
15
  setup(): Promise<void>;
17
16
  static get instance(): Vision;
18
17
  }
18
+ export * from "./attributes/_imports";
19
19
  export * from './Registry';
20
20
  export * from './Attribute';
21
+ export * from './AST';
22
+ export { DOM } from './DOM';
23
+ export { WrappedArray, Scope } from './Scope';
21
24
  export declare const vision: Vision;
@@ -1,27 +1,27 @@
1
- import "./AddClassIf";
2
- import "./Bind";
3
- import "./ClickRemoveClass";
4
- import "./ClickToggleClass";
5
- import "./ControllerAttribute";
6
- import "./DisableIf";
7
- import "./Exec";
8
- import "./Format";
9
- import "./If";
10
- import "./JSONAttribute";
11
- import "./KeyDown";
12
- import "./KeyUp";
13
- import "./List";
14
- import "./ListItem";
15
- import "./ListItemModel";
16
- import "./ModelAttribute";
17
- import "./Name";
18
- import "./On";
19
- import "./Radio";
20
- import "./Referenced";
21
- import "./RootAttribute";
22
- import "./ScopeAttribute";
23
- import "./ScopeChange";
24
- import "./SetAttribute";
25
- import "./StandardAttribute";
26
- import "./Template";
27
- import "./TypeAttribute";
1
+ export { AddClassIf } from "./AddClassIf";
2
+ export { Bind } from "./Bind";
3
+ export { ClickRemoveClass } from "./ClickRemoveClass";
4
+ export { ClickToggleClass } from "./ClickToggleClass";
5
+ export { ControllerAttribute } from "./ControllerAttribute";
6
+ export { DisableIf } from "./DisableIf";
7
+ export { Exec } from "./Exec";
8
+ export { Format } from "./Format";
9
+ export { If } from "./If";
10
+ export { JSONAttribute } from "./JSONAttribute";
11
+ export { KeyDown } from "./KeyDown";
12
+ export { KeyUp } from "./KeyUp";
13
+ export { List } from "./List";
14
+ export { ListItem } from "./ListItem";
15
+ export { ListItemModel } from "./ListItemModel";
16
+ export { ModelAttribute } from "./ModelAttribute";
17
+ export { Name } from "./Name";
18
+ export { On } from "./On";
19
+ export { Radio } from "./Radio";
20
+ export { Referenced } from "./Referenced";
21
+ export { RootAttribute } from "./RootAttribute";
22
+ export { ScopeAttribute } from "./ScopeAttribute";
23
+ export { ScopeChange } from "./ScopeChange";
24
+ export { SetAttribute } from "./SetAttribute";
25
+ export { StandardAttribute } from "./StandardAttribute";
26
+ export { Template } from "./Template";
27
+ export { TypeAttribute } from "./TypeAttribute";