mount-observer 0.0.112 → 0.1.1
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/Events.js +62 -26
- package/Events.ts +52 -30
- package/MountObserver.js +285 -514
- package/MountObserver.ts +362 -538
- package/README.md +149 -56
- package/SharedMutationObserver.js +70 -0
- package/SharedMutationObserver.ts +96 -0
- package/attrCoordinates.js +93 -0
- package/attrCoordinates.ts +122 -0
- package/index.js +3 -0
- package/index.ts +22 -0
- package/loadImports.js +47 -0
- package/loadImports.ts +56 -0
- package/mediaQuery.js +86 -0
- package/mediaQuery.ts +113 -0
- package/package.json +11 -119
- package/playwright.config.ts +0 -1
- package/types.d.ts +104 -0
- package/whereAttr.js +174 -0
- package/whereAttr.ts +221 -0
- package/LICENSE +0 -21
- package/Newish.js +0 -145
- package/Newish.ts +0 -169
- package/ObsAttr.js +0 -18
- package/ObsAttr.ts +0 -18
- package/RootMutObs.js +0 -49
- package/RootMutObs.ts +0 -58
- package/Synthesizer.js +0 -125
- package/Synthesizer.ts +0 -130
- package/bindish.js +0 -15
- package/bindish.ts +0 -22
- package/compose.js +0 -148
- package/compose.ts +0 -164
- package/doCleanup.js +0 -31
- package/doCleanup.ts +0 -34
- package/getWhereAttrSelector.js +0 -83
- package/getWhereAttrSelector.ts +0 -92
- package/preloadContent.js +0 -44
- package/preloadContent.ts +0 -47
- package/readAttrs.ts +0 -60
- package/refid/README.md +0 -259
- package/refid/arr.js +0 -4
- package/refid/arr.ts +0 -4
- package/refid/camelToKebab.js +0 -4
- package/refid/camelToKebab.ts +0 -4
- package/refid/genIds.js +0 -190
- package/refid/genIds.ts +0 -177
- package/refid/getAdjRefs.js +0 -38
- package/refid/getAdjRefs.ts +0 -38
- package/refid/getContext.js +0 -13
- package/refid/getContext.ts +0 -14
- package/refid/getCount.js +0 -8
- package/refid/getCount.ts +0 -8
- package/refid/getIsh.js +0 -35
- package/refid/getIsh.ts +0 -37
- package/refid/hostish.js +0 -18
- package/refid/hostish.ts +0 -20
- package/refid/ism.js +0 -78
- package/refid/ism.ts +0 -81
- package/refid/itemprops.js +0 -60
- package/refid/itemprops.ts +0 -67
- package/refid/joinMatching.js +0 -56
- package/refid/joinMatching.ts +0 -54
- package/refid/nudge.js +0 -23
- package/refid/nudge.ts +0 -23
- package/refid/regIsh.js +0 -27
- package/refid/regIsh.ts +0 -31
- package/refid/secretKeys.js +0 -5
- package/refid/secretKeys.ts +0 -5
- package/refid/splitRefs.js +0 -6
- package/refid/splitRefs.ts +0 -6
- package/refid/stdVal.js +0 -15
- package/refid/stdVal.ts +0 -15
- package/refid/via.js +0 -114
- package/refid/via.ts +0 -113
- package/slotkin/affine.js +0 -39
- package/slotkin/affine.ts +0 -46
- package/slotkin/beKindred.js +0 -45
- package/slotkin/beKindred.ts +0 -55
- package/slotkin/getBreadth.js +0 -19
- package/slotkin/getBreadth.ts +0 -21
- package/slotkin/getFrag.js +0 -22
- package/slotkin/getFrag.ts +0 -21
- package/slotkin/toQuery.js +0 -12
- package/slotkin/toQuery.ts +0 -13
- package/slotkin/wrap.js +0 -13
- package/slotkin/wrap.ts +0 -18
- package/ts-refs/LICENSE +0 -21
- package/ts-refs/README.md +0 -18
- package/ts-refs/be-a-beacon/types.d.ts +0 -22
- package/ts-refs/be-alit/types.d.ts +0 -1
- package/ts-refs/be-based/types.d.ts +0 -32
- package/ts-refs/be-bound/types.d.ts +0 -65
- package/ts-refs/be-buttoned-up/types.d.ts +0 -21
- package/ts-refs/be-calculating/types.d.ts +0 -57
- package/ts-refs/be-clonable/types.d.ts +0 -28
- package/ts-refs/be-committed/types.d.ts +0 -26
- package/ts-refs/be-consoling/types.d.ts +0 -25
- package/ts-refs/be-counted/types.d.ts +0 -88
- package/ts-refs/be-delible/types.d.ts +0 -26
- package/ts-refs/be-directive/types.d.ts +0 -43
- package/ts-refs/be-dispatching/types.d.ts +0 -41
- package/ts-refs/be-elevating/types.d.ts +0 -55
- package/ts-refs/be-enhanced/types.d.ts +0 -32
- package/ts-refs/be-enhancing/types.d.ts +0 -31
- package/ts-refs/be-evanescent/types.d.ts +0 -20
- package/ts-refs/be-eventing/types.d.ts +0 -27
- package/ts-refs/be-exportable/types.d.ts +0 -26
- package/ts-refs/be-fetching/types.d.ts +0 -73
- package/ts-refs/be-flashy/types.d.ts +0 -27
- package/ts-refs/be-formalizing/types.d.ts +0 -29
- package/ts-refs/be-formidable/types.d.ts +0 -64
- package/ts-refs/be-giddy/types.d.ts +0 -26
- package/ts-refs/be-gingerly/types.d.ts +0 -19
- package/ts-refs/be-gone/types.d.ts +0 -24
- package/ts-refs/be-hashing-out/types.d.ts +0 -22
- package/ts-refs/be-hive/types.d.ts +0 -18
- package/ts-refs/be-imbued/types.d.ts +0 -30
- package/ts-refs/be-included/types.d.ts +0 -20
- package/ts-refs/be-inclusive/types.d.ts +0 -30
- package/ts-refs/be-intersectional/types.d.ts +0 -37
- package/ts-refs/be-intl/types.d.ts +0 -28
- package/ts-refs/be-invoking/types.d.ts +0 -28
- package/ts-refs/be-joining/types.d.ts +0 -26
- package/ts-refs/be-kvetching/types.d.ts +0 -24
- package/ts-refs/be-lazy/types.d.ts +0 -29
- package/ts-refs/be-literate/types.d.ts +0 -29
- package/ts-refs/be-mediating/types.d.ts +0 -34
- package/ts-refs/be-methodical/types.d.ts +0 -20
- package/ts-refs/be-modding/types.d.ts +0 -18
- package/ts-refs/be-observant/types.d.ts +0 -27
- package/ts-refs/be-observing/types.d.ts +0 -84
- package/ts-refs/be-parsed/types.d.ts +0 -19
- package/ts-refs/be-parsing/types.d.ts +0 -37
- package/ts-refs/be-persistent/types.d.ts +0 -66
- package/ts-refs/be-propagating/types.d.ts +0 -26
- package/ts-refs/be-reformable/types.d.ts +0 -48
- package/ts-refs/be-render-neutral/types.d.ts +0 -31
- package/ts-refs/be-scoped/types.d.ts +0 -24
- package/ts-refs/be-sharing/types.d.ts +0 -17
- package/ts-refs/be-switched/types.d.ts +0 -155
- package/ts-refs/be-typed/types.d.ts +0 -36
- package/ts-refs/be-value-added/types.d.ts +0 -34
- package/ts-refs/be-valued/types.d.ts +0 -22
- package/ts-refs/be-written/types.d.ts +0 -59
- package/ts-refs/css-charts/types.d.ts +0 -38
- package/ts-refs/css-echarts/types.d.ts +0 -13
- package/ts-refs/data-props/types.d.ts +0 -27
- package/ts-refs/do-inc/types.d.ts +0 -28
- package/ts-refs/do-invoke/types.d.ts +0 -28
- package/ts-refs/do-toggle/types.d.ts +0 -27
- package/ts-refs/em-bower/types.d.ts +0 -24
- package/ts-refs/fetch-for/types.d.ts +0 -37
- package/ts-refs/folder-picker/types.d.ts +0 -43
- package/ts-refs/for-fetch/doc.d.ts +0 -98
- package/ts-refs/for-fetch/types.d.ts +0 -83
- package/ts-refs/mount-observer/types.d.ts +0 -248
- package/ts-refs/mt-si/types.d.ts +0 -21
- package/ts-refs/per-each/types.d.ts +0 -51
- package/ts-refs/soak-up/types.d.ts +0 -36
- package/ts-refs/trans-render/XV/types.d.ts +0 -69
- package/ts-refs/trans-render/asmr/types.d.ts +0 -138
- package/ts-refs/trans-render/be/types.d.ts +0 -198
- package/ts-refs/trans-render/dss/types.d.ts +0 -57
- package/ts-refs/trans-render/froop/types.d.ts +0 -416
- package/ts-refs/trans-render/funions/types.d.ts +0 -12
- package/ts-refs/trans-render/lib/mixins/types.d.ts +0 -42
- package/ts-refs/trans-render/lib/prs/types.d.ts +0 -40
- package/ts-refs/trans-render/lib/types.d.ts +0 -489
- package/ts-refs/trans-render/types.d.ts +0 -583
- package/ts-refs/wc-info/SimpleWCInfo.d.ts +0 -15
- package/ts-refs/when-resolved/types.d.ts +0 -30
- package/ts-refs/xp-as/types.d.ts +0 -20
- package/ts-refs/xtal-element/types.d.ts +0 -43
- package/ts-refs/xtal-frappe-chart/types.d.ts +0 -193
- package/upShadowSearch.js +0 -25
- package/upShadowSearch.ts +0 -23
- package/waitForEvent.js +0 -12
- package/waitForEvent.ts +0 -13
- package/waitForIsh.js +0 -21
- package/waitForIsh.ts +0 -20
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import {IEnhancement, BEAllProps} from '../trans-render/be/types';
|
|
2
|
-
import {Specifier} from '../trans-render/dss/types';
|
|
3
|
-
|
|
4
|
-
export interface EndUserProps<TProps, TMethods, TElement = {}> extends IEnhancement{
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
export interface AllProps<TProps, TMethods, TElement = {}> extends EndUserProps<TProps, TMethods, TElement>{
|
|
9
|
-
includeRules: Array<IncludeRule>;
|
|
10
|
-
nodesToInclude: Array<Element>;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export type AP = AllProps<any, any, any>;
|
|
14
|
-
|
|
15
|
-
export type PAP = Partial<AP>;
|
|
16
|
-
|
|
17
|
-
export type ProPAP = Promise<PAP>;
|
|
18
|
-
|
|
19
|
-
export type BAP = AP & BEAllProps;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
export interface Actions{
|
|
23
|
-
hydrate(self: BAP): Promise<PAP>;
|
|
24
|
-
include(self: BAP): void;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export interface IncludeRule {
|
|
28
|
-
remoteSpecifierString?: string,
|
|
29
|
-
remoteSpecifier: Specifier,
|
|
30
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import {IEnhancement, BEAllProps} from '../trans-render/be/types';
|
|
2
|
-
|
|
3
|
-
export interface EndUserProps extends IEnhancement{
|
|
4
|
-
options: IntersectionObserverInit;
|
|
5
|
-
rootClosest?: string;
|
|
6
|
-
observeClosest?: string;
|
|
7
|
-
enterDelay?: number;
|
|
8
|
-
exitDelay?: number;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export interface AP extends EndUserProps{
|
|
12
|
-
isIntersecting: boolean;
|
|
13
|
-
isIntersectingEcho: boolean;
|
|
14
|
-
isNotIntersecting: boolean;
|
|
15
|
-
isNotIntersectingEcho: boolean;
|
|
16
|
-
}
|
|
17
|
-
export type PAP = Partial<AP>;
|
|
18
|
-
export type ProPAP = Promise<PAP>;
|
|
19
|
-
export type BAP = AP & BEAllProps;
|
|
20
|
-
|
|
21
|
-
export interface IntersectionalActions {
|
|
22
|
-
onOptions(self: AP & BEAllProps): PAP;
|
|
23
|
-
// onIntersectingChange(self: AP & BEAllProps): void;
|
|
24
|
-
// onNonIntersectingEcho(self: AP & BEAllProps)
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export interface Actions extends IntersectionalActions{
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
onIntersecting(self: this): void;
|
|
31
|
-
|
|
32
|
-
onNotIntersecting(self: this): void;
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
//onNotIntersectingEcho(self: this): void;
|
|
37
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import {BVAEndUserProps, BVAAllProps, BVAActions} from '../be-value-added/types';
|
|
2
|
-
import {BEAllProps} from '../be-enhanced/types';
|
|
3
|
-
|
|
4
|
-
export interface EndUserProps extends BVAEndUserProps{
|
|
5
|
-
format?: Intl.NumberFormatOptions | Intl.DateTimeFormatOptions,
|
|
6
|
-
locale?: string;
|
|
7
|
-
observeAttr?: string;
|
|
8
|
-
currency?: string;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export interface AllProps extends EndUserProps, BVAAllProps{
|
|
12
|
-
attached?: boolean;
|
|
13
|
-
intlDateFormat?: Intl.DateTimeFormat,
|
|
14
|
-
intlNumberFormat: Intl.NumberFormat,
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export type AP = AllProps;
|
|
18
|
-
|
|
19
|
-
export type PAP = Partial<AP>;
|
|
20
|
-
|
|
21
|
-
export type ProPAP = Promise<PAP>;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
export interface Actions extends BVAActions {
|
|
25
|
-
formatNumber(self: AP & BEAllProps): void;
|
|
26
|
-
formatDate(self: this): void;
|
|
27
|
-
onFormattingChange(self: this): PAP;
|
|
28
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
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
|
-
remoteSpecifiers: Array<Specifier>,
|
|
27
|
-
localEventType?: string,
|
|
28
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import {IEnhancement, BEAllProps} from '../trans-render/be/types';
|
|
2
|
-
import {AllProps as XPAsAllProps} from '../xp-as/types';
|
|
3
|
-
|
|
4
|
-
export interface EndUserProps extends IEnhancement{
|
|
5
|
-
xpAsAttr: string;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
export interface AllProps extends EndUserProps{
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export type AP = AllProps;
|
|
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): ProPAP;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
export interface Factor{
|
|
24
|
-
NameOfProp: string,
|
|
25
|
-
xpAs: XPAsAllProps,
|
|
26
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import {BEAllProps, EventListenerOrFn, IEnhancement} from '../trans-render/be/types';
|
|
2
|
-
|
|
3
|
-
export interface EndUserProps extends IEnhancement<HTMLElement>{
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
export interface AllProps extends EndUserProps{
|
|
8
|
-
isParsed?: boolean,
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export type WithStatement = string;
|
|
12
|
-
|
|
13
|
-
export type AP = AllProps;
|
|
14
|
-
|
|
15
|
-
export type PAP = Partial<AP>;
|
|
16
|
-
|
|
17
|
-
export type ProPAP = Promise<PAP>;
|
|
18
|
-
|
|
19
|
-
export type BAP = AP & BEAllProps;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
export interface Actions{
|
|
23
|
-
register(self: BAP): ProPAP;
|
|
24
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
EndUserProps as BeIntersectiontalEndUserProps,
|
|
3
|
-
AP as BeIntersectionalAllProps,
|
|
4
|
-
BeIntersectionalActions,
|
|
5
|
-
} from '../../node_modules/be-intersectional/types';
|
|
6
|
-
import { BEAllProps } from '../be-enhanced/types';
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
export interface EndUserProps extends BeIntersectiontalEndUserProps{
|
|
10
|
-
//transform?: {[key: string]: MatchRHS};
|
|
11
|
-
//host: any;
|
|
12
|
-
//ctx: RenderContext;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export interface AllProps extends BeIntersectionalAllProps, EndUserProps{}
|
|
16
|
-
|
|
17
|
-
export type AP = AllProps;
|
|
18
|
-
|
|
19
|
-
export type PAP = Partial<AP>;
|
|
20
|
-
|
|
21
|
-
export type ProPAP = Promise<PAP>;
|
|
22
|
-
|
|
23
|
-
export type BAP = AP & BEAllProps;
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
export interface BeLazyActions extends BeIntersectionalActions{
|
|
27
|
-
onIntersecting(self: AP & BEAllProps): void
|
|
28
|
-
onOptions(self: AP & BEAllProps): PAP;
|
|
29
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import {IEnhancement, BEAllProps} from '../trans-render/be/types';
|
|
2
|
-
import {USL} from '../trans-render/XV/types'
|
|
3
|
-
|
|
4
|
-
export interface EndUserProps extends IEnhancement<HTMLInputElement>{
|
|
5
|
-
readVerb: 'readAsText' | 'readAsDataURL' | 'readAsArrayBuffer' | 'readAsBinaryString';
|
|
6
|
-
writeTo: USL;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
export type FileAndContents = [File, any];
|
|
10
|
-
|
|
11
|
-
export interface AllProps extends EndUserProps{
|
|
12
|
-
fileContents: Array<FileAndContents>;
|
|
13
|
-
writtenTo: Array<USL>;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
export type AP = AllProps;
|
|
18
|
-
|
|
19
|
-
export type PAP = Partial<AP>;
|
|
20
|
-
|
|
21
|
-
export type ProPAP = Promise<PAP>;
|
|
22
|
-
|
|
23
|
-
export type BAP = AP & BEAllProps;
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
export interface Actions {
|
|
27
|
-
hydrate(self: BAP): ProPAP,
|
|
28
|
-
storeFileContents(self: BAP): ProPAP,
|
|
29
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import {IEnhancement, BEAllProps} from '../trans-render/be/types';
|
|
2
|
-
import {Specifier} from '../trans-render/dss/types';
|
|
3
|
-
import { CSSQuery } from '../trans-render/types';
|
|
4
|
-
|
|
5
|
-
export interface EndUserProps extends IEnhancement{
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
export interface AllProps extends EndUserProps{
|
|
9
|
-
parsedStatements: Array<MediatingParams>,
|
|
10
|
-
rawStatements?: Array<string>,
|
|
11
|
-
mediator?: (x: any) => any,
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export type AP = AllProps;
|
|
15
|
-
|
|
16
|
-
export type PAP = Partial<AP>;
|
|
17
|
-
|
|
18
|
-
export type ProPAP = Promise<PAP>;
|
|
19
|
-
|
|
20
|
-
export type BAP = AP & BEAllProps;
|
|
21
|
-
|
|
22
|
-
export interface Actions{
|
|
23
|
-
warn(...data: any[]): void;
|
|
24
|
-
parseJS(self: BAP): ProPAP;
|
|
25
|
-
hydrate(self: BAP): ProPAP;
|
|
26
|
-
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export interface MediatingParams{
|
|
30
|
-
originPart: string,
|
|
31
|
-
targetPart: string,
|
|
32
|
-
originSpecifiers: Array<Specifier>,
|
|
33
|
-
targetCSS: CSSQuery,
|
|
34
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import {IEnhancement, BEAllProps} from '../trans-render/be/types';
|
|
2
|
-
|
|
3
|
-
export interface EndUserProps extends IEnhancement{
|
|
4
|
-
ceName: string;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
export interface AllProps extends EndUserProps{}
|
|
8
|
-
|
|
9
|
-
export type AP = AllProps;
|
|
10
|
-
|
|
11
|
-
export type PAP = Partial<AP>;
|
|
12
|
-
|
|
13
|
-
export type ProPAP = Promise<PAP>;
|
|
14
|
-
|
|
15
|
-
export type BAP = AP & BEAllProps;
|
|
16
|
-
|
|
17
|
-
export interface Actions{
|
|
18
|
-
hydrate(self: BAP): ProPAP;
|
|
19
|
-
}
|
|
20
|
-
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import {IEnhancement, BEAllProps} from '../trans-render/be/types';
|
|
2
|
-
|
|
3
|
-
export interface EndUserProps extends IEnhancement{
|
|
4
|
-
jsExpr: string;
|
|
5
|
-
}
|
|
6
|
-
export interface AllProps extends EndUserProps{}
|
|
7
|
-
|
|
8
|
-
export type AP = AllProps;
|
|
9
|
-
|
|
10
|
-
export type PAP = Partial<AP>;
|
|
11
|
-
|
|
12
|
-
export type ProPAP = Promise<PAP>;
|
|
13
|
-
|
|
14
|
-
export type BAP = AP & BEAllProps;
|
|
15
|
-
|
|
16
|
-
export interface Actions{
|
|
17
|
-
processJS(self: BAP): ProPAP;
|
|
18
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import {BEAllProps, IEnhancement} from '../trans-render/be/types';
|
|
2
|
-
import { Specifier } from "../trans-render/dss/types";
|
|
3
|
-
|
|
4
|
-
export interface EndUserProps extends IEnhancement<HTMLElement>{
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
export interface AllProps extends EndUserProps{
|
|
9
|
-
parsedStatements: Array<ObservantParameters>,
|
|
10
|
-
rawStatements?: Array<string>,
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export interface ObservantParameters{
|
|
14
|
-
remoteSpecifiers: Array<Specifier>,
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export type AP = AllProps;
|
|
18
|
-
|
|
19
|
-
export type PAP = Partial<AP>;
|
|
20
|
-
|
|
21
|
-
export type ProPAP = Promise<PAP>;
|
|
22
|
-
|
|
23
|
-
export type BAP = AP & BEAllProps<HTMLElement>;
|
|
24
|
-
|
|
25
|
-
export interface Actions{
|
|
26
|
-
hydrate(self: BAP) : ProPAP;
|
|
27
|
-
}
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import {BEAllProps, IEnhancement, IW} from '../trans-render/be/types';
|
|
2
|
-
import { Specifier } from "../trans-render/dss/types";
|
|
3
|
-
import {aggKeys, Handlers} from '../be-hive/types';
|
|
4
|
-
import { StringWithAutocompleteOptions } from '../trans-render/types';
|
|
5
|
-
import {AbsorbingObject} from '../trans-render/asmr/types';
|
|
6
|
-
export interface EndUserProps extends IEnhancement{
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export interface AllProps extends EndUserProps{
|
|
11
|
-
parsedStatements: Array<ObservingParameters>,
|
|
12
|
-
rawStatements?: Array<string>,
|
|
13
|
-
didInferring?: boolean,
|
|
14
|
-
ws?: Array<IW>,
|
|
15
|
-
//enhancementInfo: EnhancementInfo,
|
|
16
|
-
enhKey: string,
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
export type AP = AllProps;
|
|
23
|
-
|
|
24
|
-
export type PAP = Partial<AP>;
|
|
25
|
-
|
|
26
|
-
export type ProPAP = Promise<PAP>;
|
|
27
|
-
|
|
28
|
-
export type BAP = AP & BEAllProps & Handlers;
|
|
29
|
-
|
|
30
|
-
export interface Actions{
|
|
31
|
-
noAttrs(self: BAP): ProPAP;
|
|
32
|
-
infer(self: BAP) : ProPAP;
|
|
33
|
-
seek(self: BAP): ProPAP;
|
|
34
|
-
// hydrate(self: this): ProPAP;
|
|
35
|
-
warn(...data: any[]): void;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
export interface AndIfThen{
|
|
39
|
-
ifCondition: string,
|
|
40
|
-
passValue: string,
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
export interface ObservingParameters{
|
|
44
|
-
localPropToSet?: string,
|
|
45
|
-
remoteSpecifiers: Array<Specifier>,
|
|
46
|
-
punt: boolean,
|
|
47
|
-
mappings?: Array<AndIfThen>,
|
|
48
|
-
aggKey: StringWithAutocompleteOptions<aggKeys>,
|
|
49
|
-
interpolatingExpr: string,
|
|
50
|
-
JSExpr: string,
|
|
51
|
-
ONExpr: string,
|
|
52
|
-
action:
|
|
53
|
-
| 'set'
|
|
54
|
-
| 'toggle'
|
|
55
|
-
| 'increment'
|
|
56
|
-
| 'decrement'
|
|
57
|
-
| 'set-class'
|
|
58
|
-
| 'set-part'
|
|
59
|
-
//aggregateRemoteVals?: 'Union' | 'Conjunction' | 'ObjectAssign' | 'Sum' | 'Product' | 'ArrayPush'
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
// export interface ObserverOptions{
|
|
68
|
-
// abortControllers: Array<AbortController>,
|
|
69
|
-
// remoteEl?: Element,
|
|
70
|
-
// }
|
|
71
|
-
|
|
72
|
-
export type LoadEventName = 'load';
|
|
73
|
-
|
|
74
|
-
export interface EventForObserver{
|
|
75
|
-
factors: {[key: string | number] : any},
|
|
76
|
-
setProps?: {[key: string]: any};
|
|
77
|
-
enh: string,
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
// export interface ObserverEventModel{
|
|
81
|
-
// factors: {[key: string] : any},
|
|
82
|
-
// vals: any[],
|
|
83
|
-
|
|
84
|
-
// }
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import {IEnhancement, BEAllProps} from '../trans-render/be/types';
|
|
2
|
-
|
|
3
|
-
export interface EndUserProps extends IEnhancement<HTMLScriptElement>{
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
export interface AllProps extends EndUserProps{
|
|
7
|
-
value: any,
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export type AP = AllProps;
|
|
11
|
-
|
|
12
|
-
export type PAP = Partial<AP>;
|
|
13
|
-
|
|
14
|
-
export type ProPAP = Promise<PAP>;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
export interface Actions{
|
|
18
|
-
|
|
19
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import {IEnhancement, BEAllProps, EMC} from '../trans-render/be/types';
|
|
2
|
-
|
|
3
|
-
export interface EndUserProps extends IEnhancement{
|
|
4
|
-
nudges: boolean
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
export interface AllProps extends EndUserProps{
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export type AP = AllProps;
|
|
11
|
-
|
|
12
|
-
export type PAP = Partial<AP>;
|
|
13
|
-
|
|
14
|
-
export type ProPAP = Promise<PAP>;
|
|
15
|
-
|
|
16
|
-
export type BAP = AP & BEAllProps;
|
|
17
|
-
|
|
18
|
-
export interface Actions{
|
|
19
|
-
//do(self: BAP): Promise<void>;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
export interface AttrInfo {
|
|
23
|
-
instanceOf:
|
|
24
|
-
| String
|
|
25
|
-
| 'String'
|
|
26
|
-
| Object
|
|
27
|
-
| 'Object'
|
|
28
|
-
| Number
|
|
29
|
-
| 'Number'
|
|
30
|
-
| Boolean
|
|
31
|
-
| 'Boolean'
|
|
32
|
-
mapsTo: string
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
export type RHS = string | AttrInfo;
|
|
36
|
-
|
|
37
|
-
export type ItemPropMap = {[key: string]: RHS}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import {IEnhancement, BEAllProps} from '../trans-render/be/types';
|
|
2
|
-
import { USL } from '../trans-render/XV/types';
|
|
3
|
-
|
|
4
|
-
export interface EndUserProps extends IEnhancement {
|
|
5
|
-
//params?: PersistenceParams | Array<PersistenceParams>;
|
|
6
|
-
rules: Array<PersistenceRule>
|
|
7
|
-
}
|
|
8
|
-
export interface AllProps extends EndUserProps{
|
|
9
|
-
noAttrs: boolean,
|
|
10
|
-
//isParsed?: boolean,
|
|
11
|
-
//persistenceParams?: Array<PersistenceParams>
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
export type AP = AllProps;
|
|
16
|
-
|
|
17
|
-
export type PAP = Partial<AP>;
|
|
18
|
-
|
|
19
|
-
export type ProPAP = Promise<PAP>;
|
|
20
|
-
|
|
21
|
-
export type BAP = AP & BEAllProps;
|
|
22
|
-
|
|
23
|
-
export interface Actions{
|
|
24
|
-
|
|
25
|
-
hydrate(self: BAP): ProPAP;
|
|
26
|
-
noAttrs(self: BAP): ProPAP;
|
|
27
|
-
// parameterize(self: this): ProPAP
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export interface PersistenceRule {
|
|
31
|
-
localProp?: string,
|
|
32
|
-
localEvent?: string,
|
|
33
|
-
usl?: USL,
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
// export interface PersistenceParams<TObjectToPersist = any, TEventMap = any>{
|
|
37
|
-
// what?: {[key in keyof TObjectToPersist]: boolean | string | WhatToPersistCriteria},
|
|
38
|
-
// where: PersistenceStorage,
|
|
39
|
-
// when?: {[key in keyof TEventMap]: boolean | EventCriteria},
|
|
40
|
-
// nudge?: boolean,
|
|
41
|
-
// persistOnUnload?: boolean,
|
|
42
|
-
// restoreIf: RestoreCriteria,
|
|
43
|
-
// eventToFire?: {
|
|
44
|
-
// type: string,
|
|
45
|
-
// bubbles: boolean,
|
|
46
|
-
// cancelable: boolean,
|
|
47
|
-
// composed: boolean,
|
|
48
|
-
// }
|
|
49
|
-
// }
|
|
50
|
-
|
|
51
|
-
// export interface PersistenceStorage{
|
|
52
|
-
// sessionStorage?: boolean,
|
|
53
|
-
// idb?: boolean,
|
|
54
|
-
// autoGenId?: boolean,
|
|
55
|
-
// hash?: boolean,
|
|
56
|
-
// }
|
|
57
|
-
|
|
58
|
-
// export interface EventCriteria{}
|
|
59
|
-
|
|
60
|
-
// export interface RestoreCriteria{
|
|
61
|
-
// always?: boolean,
|
|
62
|
-
// }
|
|
63
|
-
|
|
64
|
-
// export interface WhatToPersistCriteria {
|
|
65
|
-
// //beBeatified: boolean
|
|
66
|
-
// }
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import {IEnhancement} from '../trans-render/be/types';
|
|
2
|
-
|
|
3
|
-
export interface EndUserProps extends IEnhancement{
|
|
4
|
-
propagate?: string[],
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
export interface AllProps extends EndUserProps{
|
|
8
|
-
propagators: Map<string, EventTarget>;
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export type AP = AllProps;
|
|
13
|
-
export type PAP = Partial<AP>;
|
|
14
|
-
export type ProPAP = Promise<PAP>;
|
|
15
|
-
|
|
16
|
-
export interface ISignal extends EventTarget{
|
|
17
|
-
value: any;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
export interface Actions{
|
|
22
|
-
hydrate(self: this): ProPAP;
|
|
23
|
-
setKeyVal(key: string, val: any, tsKey?: string): Promise<EventTarget>;
|
|
24
|
-
getPropagator(key: string): Promise<EventTarget>;
|
|
25
|
-
getGate(prop: string, key?: string): Promise<ISignal>
|
|
26
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import {BEAllProps, IEnhancement} from '../trans-render/be/types';
|
|
2
|
-
import {Specifier, DSS} from '../trans-render/dss/types';
|
|
3
|
-
|
|
4
|
-
export interface EndUserProps extends IEnhancement<HTMLFormElement>{
|
|
5
|
-
baseLink: string,
|
|
6
|
-
baseURL: string,
|
|
7
|
-
path: string,
|
|
8
|
-
headers: HeadersInit | undefined,
|
|
9
|
-
updateOn: 'input' | 'change' | 'submit',
|
|
10
|
-
submitOptions:{
|
|
11
|
-
onlyAfter: Specifier,
|
|
12
|
-
nudges: boolean,
|
|
13
|
-
disableIfNotAllConditionsAreMet: boolean
|
|
14
|
-
},
|
|
15
|
-
headerFields: Array<DSS>
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
type BeforeToken = string;
|
|
19
|
-
type TokenKey = string | undefined
|
|
20
|
-
|
|
21
|
-
export interface IURLBuilder{
|
|
22
|
-
readonly tokens: Array<[BeforeToken, TokenKey]>
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export interface AllProps extends EndUserProps{
|
|
26
|
-
updateCnt: number,
|
|
27
|
-
readonly urlBuilder: IURLBuilder,
|
|
28
|
-
readonly resolvedBaseURL: true,
|
|
29
|
-
readonly fetchOptions: RequestInit,
|
|
30
|
-
readonly isFetchReady: boolean,
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
export type AP = AllProps;
|
|
34
|
-
|
|
35
|
-
export type PAP = Partial<AP>;
|
|
36
|
-
|
|
37
|
-
export type ProPAP = Promise<PAP>;
|
|
38
|
-
|
|
39
|
-
export type BAP = AP & BEAllProps;
|
|
40
|
-
|
|
41
|
-
export interface Actions {
|
|
42
|
-
resolveBaseLink(self: BAP): PAP;
|
|
43
|
-
specifyDefaultBaseURL(self: BAP): PAP;
|
|
44
|
-
hydrate(self: BAP): ProPAP;
|
|
45
|
-
updateAction(self: BAP): ProPAP;
|
|
46
|
-
parsePath(self: BAP): ProPAP;
|
|
47
|
-
suggestFetch(self: BAP): PAP;
|
|
48
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import {BEAllProps, IEnhancement} from '../trans-render/be/types';
|
|
2
|
-
import {AbsorbingObject} from '../trans-render/asmr/types';
|
|
3
|
-
|
|
4
|
-
export interface RenderingHTMLScriptElement extends HTMLScriptElement{
|
|
5
|
-
renderer: (vm: any, html: any) => any,
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
export interface EndUserProps extends IEnhancement<RenderingHTMLScriptElement>{
|
|
9
|
-
vm: any,
|
|
10
|
-
with: Array<string>,
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export type Renderer = (vm: any, html: any) => any;
|
|
14
|
-
|
|
15
|
-
export interface AP extends EndUserProps{
|
|
16
|
-
renderer: Renderer,
|
|
17
|
-
absorbingObject: AbsorbingObject
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export type PAP = Partial<AP>;
|
|
21
|
-
|
|
22
|
-
export type BAP = AP & BEAllProps;
|
|
23
|
-
|
|
24
|
-
export type ProPAP = Promise<PAP>;
|
|
25
|
-
|
|
26
|
-
export interface Actions {
|
|
27
|
-
getRenderer(self: BAP): BAP;
|
|
28
|
-
doRender(self: BAP): void;
|
|
29
|
-
observe(self: BAP): ProPAP;
|
|
30
|
-
absorb(self: BAP, e?: Event): ProPAP;
|
|
31
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import {IEnhancement, BEAllProps, EMC} from '../trans-render/be/types';
|
|
2
|
-
|
|
3
|
-
export interface EndUserProps extends IEnhancement{
|
|
4
|
-
names: string;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
export interface AllProps extends EndUserProps{
|
|
8
|
-
parsedNames: string[];
|
|
9
|
-
emc: EMC<any, AllProps>;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export type AP = AllProps;
|
|
13
|
-
|
|
14
|
-
export type PAP = Partial<AP>;
|
|
15
|
-
|
|
16
|
-
export type ProPAP = Promise<PAP>;
|
|
17
|
-
|
|
18
|
-
export type BAP = AP & BEAllProps;
|
|
19
|
-
|
|
20
|
-
export interface Actions{
|
|
21
|
-
parse(self: BAP): ProPAP;
|
|
22
|
-
hydrate(self: BAP): ProPAP;
|
|
23
|
-
retire(self: BAP): void;
|
|
24
|
-
}
|