mount-observer 0.0.111 → 0.1.0

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.
Files changed (179) hide show
  1. package/Events.js +28 -26
  2. package/Events.ts +34 -30
  3. package/MountObserver.js +235 -520
  4. package/MountObserver.ts +281 -542
  5. package/README.md +149 -56
  6. package/attrCoordinates.js +93 -0
  7. package/attrCoordinates.ts +122 -0
  8. package/constants.js +6 -0
  9. package/constants.ts +7 -0
  10. package/index.js +3 -0
  11. package/index.ts +19 -0
  12. package/loadImports.js +47 -0
  13. package/loadImports.ts +56 -0
  14. package/package.json +8 -115
  15. package/playwright.config.ts +0 -1
  16. package/types.d.ts +86 -0
  17. package/whereAttr.js +174 -0
  18. package/whereAttr.ts +221 -0
  19. package/LICENSE +0 -21
  20. package/Newish.js +0 -145
  21. package/Newish.ts +0 -169
  22. package/ObsAttr.js +0 -18
  23. package/ObsAttr.ts +0 -18
  24. package/RootMutObs.js +0 -49
  25. package/RootMutObs.ts +0 -58
  26. package/Synthesizer.js +0 -125
  27. package/Synthesizer.ts +0 -130
  28. package/bindish.js +0 -15
  29. package/bindish.ts +0 -22
  30. package/compose.js +0 -148
  31. package/compose.ts +0 -164
  32. package/doCleanup.js +0 -31
  33. package/doCleanup.ts +0 -34
  34. package/getWhereAttrSelector.js +0 -83
  35. package/getWhereAttrSelector.ts +0 -92
  36. package/preloadContent.js +0 -44
  37. package/preloadContent.ts +0 -47
  38. package/readAttrs.ts +0 -60
  39. package/refid/README.md +0 -259
  40. package/refid/arr.js +0 -4
  41. package/refid/arr.ts +0 -4
  42. package/refid/camelToKebab.js +0 -4
  43. package/refid/camelToKebab.ts +0 -4
  44. package/refid/genIds.js +0 -190
  45. package/refid/genIds.ts +0 -177
  46. package/refid/getAdjRefs.js +0 -38
  47. package/refid/getAdjRefs.ts +0 -38
  48. package/refid/getContext.js +0 -13
  49. package/refid/getContext.ts +0 -14
  50. package/refid/getCount.js +0 -8
  51. package/refid/getCount.ts +0 -8
  52. package/refid/getIsh.js +0 -35
  53. package/refid/getIsh.ts +0 -37
  54. package/refid/hostish.js +0 -18
  55. package/refid/hostish.ts +0 -20
  56. package/refid/ism.js +0 -78
  57. package/refid/ism.ts +0 -81
  58. package/refid/itemprops.js +0 -60
  59. package/refid/itemprops.ts +0 -67
  60. package/refid/joinMatching.js +0 -56
  61. package/refid/joinMatching.ts +0 -54
  62. package/refid/nudge.js +0 -23
  63. package/refid/nudge.ts +0 -23
  64. package/refid/regIsh.js +0 -27
  65. package/refid/regIsh.ts +0 -31
  66. package/refid/secretKeys.js +0 -5
  67. package/refid/secretKeys.ts +0 -5
  68. package/refid/splitRefs.js +0 -6
  69. package/refid/splitRefs.ts +0 -6
  70. package/refid/stdVal.js +0 -15
  71. package/refid/stdVal.ts +0 -15
  72. package/refid/via.js +0 -114
  73. package/refid/via.ts +0 -113
  74. package/slotkin/affine.js +0 -39
  75. package/slotkin/affine.ts +0 -46
  76. package/slotkin/beKindred.js +0 -45
  77. package/slotkin/beKindred.ts +0 -55
  78. package/slotkin/getBreadth.js +0 -19
  79. package/slotkin/getBreadth.ts +0 -21
  80. package/slotkin/getFrag.js +0 -22
  81. package/slotkin/getFrag.ts +0 -21
  82. package/slotkin/toQuery.js +0 -12
  83. package/slotkin/toQuery.ts +0 -13
  84. package/slotkin/wrap.js +0 -13
  85. package/slotkin/wrap.ts +0 -18
  86. package/ts-refs/LICENSE +0 -21
  87. package/ts-refs/README.md +0 -18
  88. package/ts-refs/be-a-beacon/types.d.ts +0 -22
  89. package/ts-refs/be-alit/types.d.ts +0 -1
  90. package/ts-refs/be-based/types.d.ts +0 -32
  91. package/ts-refs/be-bound/types.d.ts +0 -65
  92. package/ts-refs/be-buttoned-up/types.d.ts +0 -21
  93. package/ts-refs/be-calculating/types.d.ts +0 -57
  94. package/ts-refs/be-clonable/types.d.ts +0 -28
  95. package/ts-refs/be-committed/types.d.ts +0 -26
  96. package/ts-refs/be-consoling/types.d.ts +0 -25
  97. package/ts-refs/be-counted/types.d.ts +0 -88
  98. package/ts-refs/be-delible/types.d.ts +0 -26
  99. package/ts-refs/be-directive/types.d.ts +0 -43
  100. package/ts-refs/be-dispatching/types.d.ts +0 -41
  101. package/ts-refs/be-elevating/types.d.ts +0 -55
  102. package/ts-refs/be-enhanced/types.d.ts +0 -32
  103. package/ts-refs/be-enhancing/types.d.ts +0 -31
  104. package/ts-refs/be-evanescent/types.d.ts +0 -20
  105. package/ts-refs/be-eventing/types.d.ts +0 -27
  106. package/ts-refs/be-exportable/types.d.ts +0 -26
  107. package/ts-refs/be-fetching/types.d.ts +0 -73
  108. package/ts-refs/be-flashy/types.d.ts +0 -27
  109. package/ts-refs/be-formalizing/types.d.ts +0 -29
  110. package/ts-refs/be-formidable/types.d.ts +0 -64
  111. package/ts-refs/be-giddy/types.d.ts +0 -26
  112. package/ts-refs/be-gingerly/types.d.ts +0 -19
  113. package/ts-refs/be-gone/types.d.ts +0 -24
  114. package/ts-refs/be-hashing-out/types.d.ts +0 -22
  115. package/ts-refs/be-hive/types.d.ts +0 -18
  116. package/ts-refs/be-imbued/types.d.ts +0 -30
  117. package/ts-refs/be-included/types.d.ts +0 -20
  118. package/ts-refs/be-inclusive/types.d.ts +0 -30
  119. package/ts-refs/be-intersectional/types.d.ts +0 -37
  120. package/ts-refs/be-intl/types.d.ts +0 -28
  121. package/ts-refs/be-invoking/types.d.ts +0 -28
  122. package/ts-refs/be-joining/types.d.ts +0 -26
  123. package/ts-refs/be-kvetching/types.d.ts +0 -24
  124. package/ts-refs/be-lazy/types.d.ts +0 -29
  125. package/ts-refs/be-literate/types.d.ts +0 -29
  126. package/ts-refs/be-mediating/types.d.ts +0 -34
  127. package/ts-refs/be-methodical/types.d.ts +0 -20
  128. package/ts-refs/be-modding/types.d.ts +0 -18
  129. package/ts-refs/be-observant/types.d.ts +0 -27
  130. package/ts-refs/be-observing/types.d.ts +0 -84
  131. package/ts-refs/be-parsed/types.d.ts +0 -19
  132. package/ts-refs/be-parsing/types.d.ts +0 -37
  133. package/ts-refs/be-persistent/types.d.ts +0 -66
  134. package/ts-refs/be-propagating/types.d.ts +0 -26
  135. package/ts-refs/be-reformable/types.d.ts +0 -48
  136. package/ts-refs/be-render-neutral/types.d.ts +0 -31
  137. package/ts-refs/be-scoped/types.d.ts +0 -24
  138. package/ts-refs/be-sharing/types.d.ts +0 -17
  139. package/ts-refs/be-switched/types.d.ts +0 -155
  140. package/ts-refs/be-typed/types.d.ts +0 -36
  141. package/ts-refs/be-value-added/types.d.ts +0 -34
  142. package/ts-refs/be-valued/types.d.ts +0 -22
  143. package/ts-refs/be-written/types.d.ts +0 -59
  144. package/ts-refs/css-charts/types.d.ts +0 -38
  145. package/ts-refs/css-echarts/types.d.ts +0 -13
  146. package/ts-refs/data-props/types.d.ts +0 -27
  147. package/ts-refs/do-inc/types.d.ts +0 -28
  148. package/ts-refs/do-invoke/types.d.ts +0 -28
  149. package/ts-refs/do-toggle/types.d.ts +0 -27
  150. package/ts-refs/em-bower/types.d.ts +0 -18
  151. package/ts-refs/fetch-for/types.d.ts +0 -37
  152. package/ts-refs/folder-picker/types.d.ts +0 -43
  153. package/ts-refs/for-fetch/doc.d.ts +0 -98
  154. package/ts-refs/for-fetch/types.d.ts +0 -83
  155. package/ts-refs/mount-observer/types.d.ts +0 -248
  156. package/ts-refs/mt-si/types.d.ts +0 -21
  157. package/ts-refs/per-each/types.d.ts +0 -51
  158. package/ts-refs/soak-up/types.d.ts +0 -36
  159. package/ts-refs/trans-render/XV/types.d.ts +0 -69
  160. package/ts-refs/trans-render/asmr/types.d.ts +0 -138
  161. package/ts-refs/trans-render/be/types.d.ts +0 -190
  162. package/ts-refs/trans-render/dss/types.d.ts +0 -57
  163. package/ts-refs/trans-render/froop/types.d.ts +0 -416
  164. package/ts-refs/trans-render/funions/types.d.ts +0 -12
  165. package/ts-refs/trans-render/lib/mixins/types.d.ts +0 -42
  166. package/ts-refs/trans-render/lib/prs/types.d.ts +0 -40
  167. package/ts-refs/trans-render/lib/types.d.ts +0 -489
  168. package/ts-refs/trans-render/types.d.ts +0 -583
  169. package/ts-refs/wc-info/SimpleWCInfo.d.ts +0 -15
  170. package/ts-refs/when-resolved/types.d.ts +0 -30
  171. package/ts-refs/xp-as/types.d.ts +0 -20
  172. package/ts-refs/xtal-element/types.d.ts +0 -43
  173. package/ts-refs/xtal-frappe-chart/types.d.ts +0 -193
  174. package/upShadowSearch.js +0 -25
  175. package/upShadowSearch.ts +0 -23
  176. package/waitForEvent.js +0 -12
  177. package/waitForEvent.ts +0 -13
  178. package/waitForIsh.js +0 -21
  179. package/waitForIsh.ts +0 -20
@@ -1,64 +0,0 @@
1
- import {BEAllProps, IEnhancement} from '../trans-render/be/types';
2
-
3
- export interface EndUserProps extends IEnhancement<HTMLFormElement>{
4
- invalidIf: Array<FormCriteria>,
5
- checkValidityOn: string | Array<(string | CheckEventMonitor)>,
6
- checkValidityOnInit: boolean;
7
- }
8
-
9
- export interface AllProps extends EndUserProps{
10
- invalidClassesToApply: Array<string>,
11
- invalidClassesToRemove: Array<string>,
12
- isValid: boolean,
13
- updateCnt: number,
14
- }
15
-
16
- export interface FormCriteria{
17
- noneOf?: Array<(string | FieldOptions)>,
18
- //instructions?: string,
19
- invalidCssClass: string,
20
- }
21
-
22
- export interface FieldIdentifierOptions {
23
- name?: string,
24
- prop: string,
25
- find?: string,
26
-
27
- }
28
-
29
- export interface FieldValidationOptions{
30
- enabled?: boolean,
31
- required?: boolean,
32
- min?: number | Date | string,
33
- max?: number | Date | string,
34
- pattern?: string,
35
- type?: string,
36
- }
37
-
38
- export interface FieldOptions extends FieldIdentifierOptions, FieldValidationOptions{}
39
-
40
- export interface CheckEventMonitor{
41
- type: string,
42
- options: AddEventListenerOptions,
43
- }
44
-
45
- export type AP = AllProps;
46
-
47
- export type PAP = Partial<AP>;
48
-
49
- export type ProPAP = Promise<PAP>;
50
-
51
- export type BAP = AP & BEAllProps;
52
-
53
-
54
-
55
- export interface Actions{
56
- hydrate(self: BAP): ProPAP,
57
- markStatus(self: BAP): void,
58
- checkValidity(self: BAP): void,
59
- applyInvalidClsses(self: BAP): void,
60
- removeInvalidClasses(self: BAP): void,
61
- // onInvalidIf(self: this): Promise<void>;
62
- // onCheckValidityOn(self: this): void;
63
- // onCheckValidityOnInit(self: this): void;
64
- }
@@ -1,26 +0,0 @@
1
- import {IEnhancement, BEAllProps, EMC} from '../trans-render/be/types';
2
-
3
- export interface EndUserProps extends IEnhancement{
4
- idString: string;
5
- }
6
-
7
- export interface AllProps extends EndUserProps{
8
- ids: 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
- parseIdString(self: AP & BEAllProps): PAP;
22
-
23
- autoGen(self: AP & BEAllProps): PAP;
24
-
25
- retire(self: AP & BEAllProps): void;
26
- }
@@ -1,19 +0,0 @@
1
- import { BEAllProps, IEnhancement } from '../be-enhanced/types';
2
-
3
- export interface EndUserProps extends IEnhancement {
4
- }
5
-
6
- export interface AP extends EndUserProps{
7
- queue?: Array<any>,
8
- itemCE?: string,
9
- cnt?: number,
10
- ref?: WeakRef<Element>,
11
- }
12
-
13
- export type PAP = Partial<AP>;
14
-
15
- export type ProPAP = Promise<PAP>;
16
-
17
- export interface Actions{
18
- }
19
-
@@ -1,24 +0,0 @@
1
- import {IEnhancement, BEAllProps, EMC} from '../trans-render/be/types';
2
-
3
- export interface EndUserProps extends IEnhancement{
4
- whenMissing: string
5
- onDefined: Array<string>
6
- whenDef: string
7
- }
8
-
9
- export interface AllProps extends EndUserProps{
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
- onOnDefined(self: BAP): ProPAP
22
- hydrateOnMissing(self: BAP): ProPAP
23
- parseWhenDef(self: BAP): PAP
24
- }
@@ -1,22 +0,0 @@
1
- import {BEAllProps, IEnhancement} from '../trans-render/be/types';
2
-
3
- export interface EndUserProps extends IEnhancement{
4
- digest: string;
5
- }
6
-
7
- export interface AllProps extends EndUserProps {
8
-
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
- logDigest(self: BAP): ProPAP;
21
- checkDigest(self: BAP): ProPAP;
22
- }
@@ -1,18 +0,0 @@
1
- import { CustomHandlers} from '../trans-render/be/types';
2
- import {StringWithAutocompleteOptions} from '../trans-render/types';
3
- export type aggKeys = StringWithAutocompleteOptions<
4
- | '+'
5
- | '*'
6
- | 'max'
7
- | 'min'
8
- | 'nearlyEq'
9
- | 'eq'
10
- | '||'
11
- | '&&'
12
- | '{}'
13
- >;
14
-
15
- export interface Handlers{
16
- customHandlers: CustomHandlers;
17
- }
18
-
@@ -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 extends IEnhancement<HTMLTemplateElement>{
5
-
6
- }
7
-
8
- export interface AllProps extends EndUserProps{
9
- nodesToImbue: Element[],
10
- imbueRules: Array<ImbueRule>,
11
- }
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
- export interface Actions{
22
- hydrate(self: BAP): Promise<PAP>;
23
- imbue(self: BAP): void;
24
- }
25
-
26
- export interface ImbueRule {
27
- remoteSpecifierString?: string,
28
- remoteSpecifier: Specifier,
29
- }
30
-
@@ -1,20 +0,0 @@
1
- import {IEnhancement, BEAllProps} from '../trans-render/be/types';
2
-
3
- export interface EndUserProps extends IEnhancement<HTMLTemplateElement>{
4
- in: string,
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
- hydrate(self: BAP): void;
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
- }