mount-observer 0.0.98 → 0.0.99
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mount-observer",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.99",
|
|
4
4
|
"description": "Observe and act on css matches.",
|
|
5
5
|
"main": "MountObserver.js",
|
|
6
6
|
"module": "MountObserver.js",
|
|
@@ -69,6 +69,10 @@
|
|
|
69
69
|
"default": "./refid/joinMatching.js",
|
|
70
70
|
"types": "./refid/joinMatching.ts"
|
|
71
71
|
},
|
|
72
|
+
"./refid/nudge.js": {
|
|
73
|
+
"default": "./refid/nudge.js",
|
|
74
|
+
"types": "./refid/nudge.ts"
|
|
75
|
+
},
|
|
72
76
|
"./refid/refs.js": {
|
|
73
77
|
"default": "./refid/refs.js",
|
|
74
78
|
"types": "./refid/refs.ts"
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import {IEnhancement, BEAllProps} from '../trans-render/be/types';
|
|
2
|
+
import { Specifier } from '../trans-render/dss/types';
|
|
3
|
+
|
|
4
|
+
export interface EndUserProps extends IEnhancement{}
|
|
5
|
+
|
|
6
|
+
export interface AP extends EndUserProps{
|
|
7
|
+
parsedStatements: Array<IncParameters>,
|
|
8
|
+
rawStatements: Array<string>,
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export type AllProps = AP;
|
|
12
|
+
|
|
13
|
+
export type PAP = Partial<AP>;
|
|
14
|
+
|
|
15
|
+
export type ProPAP = Promise<PAP>
|
|
16
|
+
|
|
17
|
+
export type BAP = AP & BEAllProps;
|
|
18
|
+
|
|
19
|
+
export interface Actions{
|
|
20
|
+
hydrate(self: BAP & BEAllProps): ProPAP;
|
|
21
|
+
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export interface IncParameters {
|
|
25
|
+
targetSpecifier: Specifier,
|
|
26
|
+
sourceSpecifier: Specifier,
|
|
27
|
+
localEventType?: string,
|
|
28
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import {IEnhancement, BEAllProps} from '../trans-render/be/types';
|
|
2
|
+
import { Specifier } from '../trans-render/dss/types';
|
|
3
|
+
|
|
4
|
+
export interface EndUserProps extends IEnhancement{
|
|
5
|
+
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export interface AP extends EndUserProps{
|
|
9
|
+
parsedStatements: Array<InvokingParameters>,
|
|
10
|
+
rawStatements: Array<string>,
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export type AllProps = AP;
|
|
14
|
+
|
|
15
|
+
export type PAP = Partial<AP>;
|
|
16
|
+
|
|
17
|
+
export type ProPAP = Promise<PAP>
|
|
18
|
+
|
|
19
|
+
export type BAP = AP & BEAllProps;
|
|
20
|
+
|
|
21
|
+
export interface Actions{
|
|
22
|
+
hydrate(self: this): ProPAP;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export interface InvokingParameters {
|
|
26
|
+
remoteSpecifier: Specifier,
|
|
27
|
+
localEventType?: string,
|
|
28
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import {IEnhancement, BEAllProps} from '../trans-render/be/types';
|
|
2
|
+
import { Specifier } from '../trans-render/dss/types';
|
|
3
|
+
|
|
4
|
+
export interface EndUserProps extends IEnhancement{}
|
|
5
|
+
|
|
6
|
+
export interface AP extends EndUserProps{
|
|
7
|
+
parsedStatements: Array<TogglingParameters>,
|
|
8
|
+
rawStatements: Array<string>,
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export type AllProps = AP;
|
|
12
|
+
|
|
13
|
+
export type PAP = Partial<AP>;
|
|
14
|
+
|
|
15
|
+
export type ProPAP = Promise<PAP>
|
|
16
|
+
|
|
17
|
+
export type BAP = AP & BEAllProps;
|
|
18
|
+
|
|
19
|
+
export interface Actions{
|
|
20
|
+
hydrate(self: BAP & BEAllProps): ProPAP;
|
|
21
|
+
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export interface TogglingParameters {
|
|
25
|
+
remoteSpecifier: Specifier,
|
|
26
|
+
localEventType?: string,
|
|
27
|
+
}
|
|
@@ -5,6 +5,8 @@ export type Target = ID | Host | Hostish;
|
|
|
5
5
|
|
|
6
6
|
export type MindReadProp = ``;
|
|
7
7
|
export type PropPath = `?.${string}`;
|
|
8
|
+
|
|
9
|
+
export type Prop = string;
|
|
8
10
|
export type ConstVal = `\`${string}\``;
|
|
9
11
|
|
|
10
12
|
export type asOptions =
|
|
@@ -19,7 +21,7 @@ export type asOptions =
|
|
|
19
21
|
export type MindReadType = ``;
|
|
20
22
|
export type TypeQualifier = `-as-${asOptions}`;
|
|
21
23
|
|
|
22
|
-
export type ValExpression = `${PropPath | ConstVal | MindReadProp}${TypeQualifier | MindReadType}`;
|
|
24
|
+
export type ValExpression = `${Prop | PropPath | ConstVal | MindReadProp}${TypeQualifier | MindReadType}`;
|
|
23
25
|
|
|
24
26
|
export type MindReadEvent = ``;
|
|
25
27
|
|