vasille 2.2.1 → 2.2.2

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.
@@ -39,9 +39,9 @@ export declare class Expression<T, Args extends unknown[]> extends IValue<T> {
39
39
  constructor(func: (...args: Args) => T, link: boolean, ...values: KindOfIValue<Args>);
40
40
  get $(): T;
41
41
  set $(value: T);
42
- on(handler: (value: T) => void): this;
43
- off(handler: (value: T) => void): this;
44
- enable(): this;
45
- disable(): this;
46
- destroy(): void;
42
+ $on(handler: (value: T) => void): this;
43
+ $off(handler: (value: T) => void): this;
44
+ $enable(): this;
45
+ $disable(): this;
46
+ $destroy(): void;
47
47
  }
@@ -11,16 +11,16 @@ export declare class Mirror<T> extends Reference<T> {
11
11
  * pointed value
12
12
  * @type IValue
13
13
  */
14
- protected pointedValue: IValue<T>;
14
+ protected $pointedValue: IValue<T>;
15
15
  /**
16
16
  * Collection of handlers
17
17
  * @type Set
18
18
  */
19
- private readonly handler;
19
+ private readonly $handler;
20
20
  /**
21
21
  * Ensure forward only synchronization
22
22
  */
23
- forwardOnly: boolean;
23
+ $forwardOnly: boolean;
24
24
  /**
25
25
  * Constructs a notifiable bind to a value
26
26
  * @param value {IValue} is initial value
@@ -29,7 +29,7 @@ export declare class Mirror<T> extends Reference<T> {
29
29
  constructor(value: IValue<T>, forwardOnly?: boolean);
30
30
  get $(): T;
31
31
  set $(v: T);
32
- enable(): void;
33
- disable(): void;
34
- destroy(): void;
32
+ $enable(): void;
33
+ $disable(): void;
34
+ $destroy(): void;
35
35
  }
@@ -15,5 +15,5 @@ export declare class Pointer<T> extends Mirror<T> {
15
15
  * Point a new ivalue
16
16
  * @param value {IValue} value to point
17
17
  */
18
- point(value: IValue<T>): void;
18
+ set $$(value: IValue<T>);
19
19
  }
@@ -9,22 +9,22 @@ export declare class Reference<T> extends IValue<T> {
9
9
  * The encapsulated value
10
10
  * @type {*}
11
11
  */
12
- private value;
12
+ private $value;
13
13
  /**
14
14
  * Array of handlers
15
15
  * @type {Set}
16
16
  * @readonly
17
17
  */
18
- private readonly onchange;
18
+ private readonly $onchange;
19
19
  /**
20
20
  * @param value {any} the initial value
21
21
  */
22
22
  constructor(value: T);
23
23
  get $(): T;
24
24
  set $(value: T);
25
- enable(): void;
26
- disable(): void;
27
- on(handler: (value: T) => void): void;
28
- off(handler: (value: T) => void): void;
29
- destroy(): void;
25
+ $enable(): void;
26
+ $disable(): void;
27
+ $on(handler: (value: T) => void): void;
28
+ $off(handler: (value: T) => void): void;
29
+ $destroy(): void;
30
30
  }
@@ -12,7 +12,7 @@ export declare class RepeatNodePrivate<IdT> extends INodePrivate {
12
12
  */
13
13
  nodes: Map<IdT, Fragment>;
14
14
  constructor();
15
- destroy(): void;
15
+ $destroy(): void;
16
16
  }
17
17
  export interface RNO<T, IdT> extends Options {
18
18
  slot?: (node: Fragment, value: T, index: IdT) => void;