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.
Files changed (181) hide show
  1. package/Events.js +62 -26
  2. package/Events.ts +52 -30
  3. package/MountObserver.js +285 -514
  4. package/MountObserver.ts +362 -538
  5. package/README.md +149 -56
  6. package/SharedMutationObserver.js +70 -0
  7. package/SharedMutationObserver.ts +96 -0
  8. package/attrCoordinates.js +93 -0
  9. package/attrCoordinates.ts +122 -0
  10. package/index.js +3 -0
  11. package/index.ts +22 -0
  12. package/loadImports.js +47 -0
  13. package/loadImports.ts +56 -0
  14. package/mediaQuery.js +86 -0
  15. package/mediaQuery.ts +113 -0
  16. package/package.json +11 -119
  17. package/playwright.config.ts +0 -1
  18. package/types.d.ts +104 -0
  19. package/whereAttr.js +174 -0
  20. package/whereAttr.ts +221 -0
  21. package/LICENSE +0 -21
  22. package/Newish.js +0 -145
  23. package/Newish.ts +0 -169
  24. package/ObsAttr.js +0 -18
  25. package/ObsAttr.ts +0 -18
  26. package/RootMutObs.js +0 -49
  27. package/RootMutObs.ts +0 -58
  28. package/Synthesizer.js +0 -125
  29. package/Synthesizer.ts +0 -130
  30. package/bindish.js +0 -15
  31. package/bindish.ts +0 -22
  32. package/compose.js +0 -148
  33. package/compose.ts +0 -164
  34. package/doCleanup.js +0 -31
  35. package/doCleanup.ts +0 -34
  36. package/getWhereAttrSelector.js +0 -83
  37. package/getWhereAttrSelector.ts +0 -92
  38. package/preloadContent.js +0 -44
  39. package/preloadContent.ts +0 -47
  40. package/readAttrs.ts +0 -60
  41. package/refid/README.md +0 -259
  42. package/refid/arr.js +0 -4
  43. package/refid/arr.ts +0 -4
  44. package/refid/camelToKebab.js +0 -4
  45. package/refid/camelToKebab.ts +0 -4
  46. package/refid/genIds.js +0 -190
  47. package/refid/genIds.ts +0 -177
  48. package/refid/getAdjRefs.js +0 -38
  49. package/refid/getAdjRefs.ts +0 -38
  50. package/refid/getContext.js +0 -13
  51. package/refid/getContext.ts +0 -14
  52. package/refid/getCount.js +0 -8
  53. package/refid/getCount.ts +0 -8
  54. package/refid/getIsh.js +0 -35
  55. package/refid/getIsh.ts +0 -37
  56. package/refid/hostish.js +0 -18
  57. package/refid/hostish.ts +0 -20
  58. package/refid/ism.js +0 -78
  59. package/refid/ism.ts +0 -81
  60. package/refid/itemprops.js +0 -60
  61. package/refid/itemprops.ts +0 -67
  62. package/refid/joinMatching.js +0 -56
  63. package/refid/joinMatching.ts +0 -54
  64. package/refid/nudge.js +0 -23
  65. package/refid/nudge.ts +0 -23
  66. package/refid/regIsh.js +0 -27
  67. package/refid/regIsh.ts +0 -31
  68. package/refid/secretKeys.js +0 -5
  69. package/refid/secretKeys.ts +0 -5
  70. package/refid/splitRefs.js +0 -6
  71. package/refid/splitRefs.ts +0 -6
  72. package/refid/stdVal.js +0 -15
  73. package/refid/stdVal.ts +0 -15
  74. package/refid/via.js +0 -114
  75. package/refid/via.ts +0 -113
  76. package/slotkin/affine.js +0 -39
  77. package/slotkin/affine.ts +0 -46
  78. package/slotkin/beKindred.js +0 -45
  79. package/slotkin/beKindred.ts +0 -55
  80. package/slotkin/getBreadth.js +0 -19
  81. package/slotkin/getBreadth.ts +0 -21
  82. package/slotkin/getFrag.js +0 -22
  83. package/slotkin/getFrag.ts +0 -21
  84. package/slotkin/toQuery.js +0 -12
  85. package/slotkin/toQuery.ts +0 -13
  86. package/slotkin/wrap.js +0 -13
  87. package/slotkin/wrap.ts +0 -18
  88. package/ts-refs/LICENSE +0 -21
  89. package/ts-refs/README.md +0 -18
  90. package/ts-refs/be-a-beacon/types.d.ts +0 -22
  91. package/ts-refs/be-alit/types.d.ts +0 -1
  92. package/ts-refs/be-based/types.d.ts +0 -32
  93. package/ts-refs/be-bound/types.d.ts +0 -65
  94. package/ts-refs/be-buttoned-up/types.d.ts +0 -21
  95. package/ts-refs/be-calculating/types.d.ts +0 -57
  96. package/ts-refs/be-clonable/types.d.ts +0 -28
  97. package/ts-refs/be-committed/types.d.ts +0 -26
  98. package/ts-refs/be-consoling/types.d.ts +0 -25
  99. package/ts-refs/be-counted/types.d.ts +0 -88
  100. package/ts-refs/be-delible/types.d.ts +0 -26
  101. package/ts-refs/be-directive/types.d.ts +0 -43
  102. package/ts-refs/be-dispatching/types.d.ts +0 -41
  103. package/ts-refs/be-elevating/types.d.ts +0 -55
  104. package/ts-refs/be-enhanced/types.d.ts +0 -32
  105. package/ts-refs/be-enhancing/types.d.ts +0 -31
  106. package/ts-refs/be-evanescent/types.d.ts +0 -20
  107. package/ts-refs/be-eventing/types.d.ts +0 -27
  108. package/ts-refs/be-exportable/types.d.ts +0 -26
  109. package/ts-refs/be-fetching/types.d.ts +0 -73
  110. package/ts-refs/be-flashy/types.d.ts +0 -27
  111. package/ts-refs/be-formalizing/types.d.ts +0 -29
  112. package/ts-refs/be-formidable/types.d.ts +0 -64
  113. package/ts-refs/be-giddy/types.d.ts +0 -26
  114. package/ts-refs/be-gingerly/types.d.ts +0 -19
  115. package/ts-refs/be-gone/types.d.ts +0 -24
  116. package/ts-refs/be-hashing-out/types.d.ts +0 -22
  117. package/ts-refs/be-hive/types.d.ts +0 -18
  118. package/ts-refs/be-imbued/types.d.ts +0 -30
  119. package/ts-refs/be-included/types.d.ts +0 -20
  120. package/ts-refs/be-inclusive/types.d.ts +0 -30
  121. package/ts-refs/be-intersectional/types.d.ts +0 -37
  122. package/ts-refs/be-intl/types.d.ts +0 -28
  123. package/ts-refs/be-invoking/types.d.ts +0 -28
  124. package/ts-refs/be-joining/types.d.ts +0 -26
  125. package/ts-refs/be-kvetching/types.d.ts +0 -24
  126. package/ts-refs/be-lazy/types.d.ts +0 -29
  127. package/ts-refs/be-literate/types.d.ts +0 -29
  128. package/ts-refs/be-mediating/types.d.ts +0 -34
  129. package/ts-refs/be-methodical/types.d.ts +0 -20
  130. package/ts-refs/be-modding/types.d.ts +0 -18
  131. package/ts-refs/be-observant/types.d.ts +0 -27
  132. package/ts-refs/be-observing/types.d.ts +0 -84
  133. package/ts-refs/be-parsed/types.d.ts +0 -19
  134. package/ts-refs/be-parsing/types.d.ts +0 -37
  135. package/ts-refs/be-persistent/types.d.ts +0 -66
  136. package/ts-refs/be-propagating/types.d.ts +0 -26
  137. package/ts-refs/be-reformable/types.d.ts +0 -48
  138. package/ts-refs/be-render-neutral/types.d.ts +0 -31
  139. package/ts-refs/be-scoped/types.d.ts +0 -24
  140. package/ts-refs/be-sharing/types.d.ts +0 -17
  141. package/ts-refs/be-switched/types.d.ts +0 -155
  142. package/ts-refs/be-typed/types.d.ts +0 -36
  143. package/ts-refs/be-value-added/types.d.ts +0 -34
  144. package/ts-refs/be-valued/types.d.ts +0 -22
  145. package/ts-refs/be-written/types.d.ts +0 -59
  146. package/ts-refs/css-charts/types.d.ts +0 -38
  147. package/ts-refs/css-echarts/types.d.ts +0 -13
  148. package/ts-refs/data-props/types.d.ts +0 -27
  149. package/ts-refs/do-inc/types.d.ts +0 -28
  150. package/ts-refs/do-invoke/types.d.ts +0 -28
  151. package/ts-refs/do-toggle/types.d.ts +0 -27
  152. package/ts-refs/em-bower/types.d.ts +0 -24
  153. package/ts-refs/fetch-for/types.d.ts +0 -37
  154. package/ts-refs/folder-picker/types.d.ts +0 -43
  155. package/ts-refs/for-fetch/doc.d.ts +0 -98
  156. package/ts-refs/for-fetch/types.d.ts +0 -83
  157. package/ts-refs/mount-observer/types.d.ts +0 -248
  158. package/ts-refs/mt-si/types.d.ts +0 -21
  159. package/ts-refs/per-each/types.d.ts +0 -51
  160. package/ts-refs/soak-up/types.d.ts +0 -36
  161. package/ts-refs/trans-render/XV/types.d.ts +0 -69
  162. package/ts-refs/trans-render/asmr/types.d.ts +0 -138
  163. package/ts-refs/trans-render/be/types.d.ts +0 -198
  164. package/ts-refs/trans-render/dss/types.d.ts +0 -57
  165. package/ts-refs/trans-render/froop/types.d.ts +0 -416
  166. package/ts-refs/trans-render/funions/types.d.ts +0 -12
  167. package/ts-refs/trans-render/lib/mixins/types.d.ts +0 -42
  168. package/ts-refs/trans-render/lib/prs/types.d.ts +0 -40
  169. package/ts-refs/trans-render/lib/types.d.ts +0 -489
  170. package/ts-refs/trans-render/types.d.ts +0 -583
  171. package/ts-refs/wc-info/SimpleWCInfo.d.ts +0 -15
  172. package/ts-refs/when-resolved/types.d.ts +0 -30
  173. package/ts-refs/xp-as/types.d.ts +0 -20
  174. package/ts-refs/xtal-element/types.d.ts +0 -43
  175. package/ts-refs/xtal-frappe-chart/types.d.ts +0 -193
  176. package/upShadowSearch.js +0 -25
  177. package/upShadowSearch.ts +0 -23
  178. package/waitForEvent.js +0 -12
  179. package/waitForEvent.ts +0 -13
  180. package/waitForIsh.js +0 -21
  181. package/waitForIsh.ts +0 -20
@@ -1,26 +0,0 @@
1
- import { IEnhancement, BEAllProps } from '../trans-render/be/types';
2
-
3
- export interface EndUserProps extends IEnhancement{
4
- triggerInsertPosition: InsertPosition;
5
- buttonContent: string;
6
- }
7
-
8
- export interface AllProps extends EndUserProps{
9
- byob?: boolean,
10
- trigger: WeakRef<HTMLButtonElement>
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
-
23
- addDeleteBtn(self: BAP): ProPAP ;
24
- setBtnContent(self: BAP): void;
25
- beDeleted(self: BAP): void;
26
- }
@@ -1,43 +0,0 @@
1
- import {IEnhancement, BEAllProps} from '../trans-render/be/types';
2
-
3
- /**
4
- *
5
- */
6
- export interface DirectoryPickerOptions {
7
- /**
8
- * By specifying an ID, the browser can remember different directories for different IDs. If the same ID is used for another picker, the picker opens in the same directory.
9
- */
10
- id?: string;
11
-
12
- /**
13
- * A string that defaults to "read" for read-only access or "readwrite" for read and write access to the directory.
14
- */
15
- mode?: 'read' | 'readwrite';
16
-
17
- /**
18
- * A FileSystemHandle or a well known directory ("desktop", "documents", "downloads", "music", "pictures", or "videos") to open the dialog in.
19
- *
20
- */
21
- startIn?: 'documents' | 'downloads' | 'music' | 'pictures' | 'videos' | 'home' | 'desktop' | File;
22
- }
23
- export interface EndUserProps extends IEnhancement{
24
- options: DirectoryPickerOptions;
25
- noNudge: boolean;
26
- }
27
-
28
- export interface AllProps extends EndUserProps{
29
- directoryHandle?: FileSystemDirectoryHandle;
30
- }
31
-
32
- export type AP = AllProps;
33
-
34
- export type PAP = Partial<AP>;
35
-
36
- export type ProPAP = Promise<PAP>;
37
-
38
- export type BAP = AP & BEAllProps;
39
-
40
- export interface Actions{
41
- hydrate(self: BAP): ProPAP;
42
- }
43
-
@@ -1,41 +0,0 @@
1
- import {IEnhancement, BEAllProps, EMC} from '../trans-render/be/types';
2
-
3
- export interface EndUserProps extends IEnhancement{
4
-
5
- }
6
-
7
- export interface AllProps extends EndUserProps{
8
- crudeDispatchRules: Array<CrudeDispatchRule>,
9
- dispatchRules: Array<DispatchRule>
10
- }
11
-
12
- export type DispatchStatement = string;
13
-
14
- export interface CrudeDispatchRule{
15
- dispatchOn?: string,
16
- dispatchOnPropChange?: string,
17
- qualifiers: string,
18
- dispatch: string,
19
- }
20
-
21
- export interface DispatchRule extends CrudeDispatchRule{
22
-
23
- bubbles?: boolean,
24
- cancelable?: boolean,
25
- composed?: boolean,
26
- replace?: boolean,
27
- }
28
-
29
- export type AP = AllProps;
30
-
31
- export type PAP = Partial<AP>;
32
-
33
- export type ProPAP = Promise<PAP>;
34
-
35
- export type BAP = AP & BEAllProps;
36
-
37
- export interface Actions{
38
- //onCamelized(self: this): ProPAP;
39
- finishParsing(self: BAP): PAP;
40
- hydrate(self: BAP): ProPAP;
41
- }
@@ -1,55 +0,0 @@
1
- import {IEnhancement, BEAllProps} from '../trans-render/be/types';
2
- import {AbsorbingObject, SharingObject} from '../trans-render/asmr/types';
3
- import { Specifier } from "../trans-render/dss/types";
4
-
5
- export interface EndUserProps extends IEnhancement{
6
- /**
7
- * abbrev for pass server-rendered value
8
- * This will pass the initial value from the enhanced element if applicable
9
- */
10
- passSRV: boolean
11
- }
12
-
13
- export interface AP extends EndUserProps {
14
- //parsedStatements?: Array<ElevatingParameters>,
15
- bindings: Array<Binding>,
16
- rawStatements?: Array<string>,
17
- bindingRules: Array<BindingRule>,
18
- }
19
-
20
- export type AllProps = AP;
21
-
22
- export type BAP = AP & BEAllProps;
23
-
24
- export type PAP = Partial<AP>
25
-
26
- export type ProPAP = Promise<PAP>
27
-
28
- export interface Actions{
29
- noAttrs(self: BAP): ProPAP;
30
- hydrate(self: BAP): ProPAP;
31
- getBindings(self: BAP): ProPAP;
32
- onRawStatements(self: BAP): void;
33
- }
34
-
35
- // export interface ElevatingParameters {
36
- // localPropToElevate?: string,
37
- // remoteSpecifiers: Array<Specifier>,
38
- // localEventType?: string,
39
- // }
40
-
41
- export interface BindingRule {
42
-
43
- localPropToElevate?: string,
44
- localEventType?: string,
45
- dependencyPart?: string,
46
- remoteSpecifier?: Specifier,
47
-
48
-
49
- }
50
-
51
- export interface Binding {
52
- remoteShareObj: SharingObject,
53
- localAbsObj: AbsorbingObject,
54
- }
55
-
@@ -1,32 +0,0 @@
1
- import { Actions, Compacts, Handlers, Infractions, Positractions, Hitches } from '../trans-render/froop/types';
2
- export {IEnhancement, BEAllProps} from '../trans-render/be/types';
3
-
4
- export type Enhancement = string; //camelCase;
5
- export type EnhKey = string; //lisp case;
6
- export type FQN = string;
7
-
8
- export interface PropInfo{
9
- dry?: boolean;
10
- ro?: boolean;
11
- def?: any;
12
- propName?: string,
13
- }
14
-
15
- export type PropLookup = {[key: string]: PropInfo}
16
-
17
- export interface BEConfig<TProps = any, TActions = TProps, ETProps = TProps>{
18
- propDefaults?: Partial<{[key in keyof TProps]: TProps[key]}>;
19
- propInfo?: Partial<{[key in keyof TProps]: PropInfo}>;
20
- actions?: Actions<TProps, TActions>;
21
- /**
22
- * inferred actions
23
- */
24
- infractions?: Infractions<TProps>,
25
- compacts?: Compacts<TProps, TProps & TActions>;
26
- hitch?: Hitches<TProps, TActions>
27
- handlers?: Handlers<ETProps, TActions>;
28
- positractions?: Positractions<TProps, TActions>;
29
- watchedBranches?: Set<number>;
30
- isSleepless?: boolean;
31
- }
32
-
@@ -1,31 +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
- export interface AllProps extends EndUserProps{
8
- parsedStatements: Array<EnhancingParameters>,
9
- rawStatements?: Array<string>
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
- hydrate(self: BAP): ProPAP;
22
- }
23
-
24
- export interface EnhancingParameters{
25
- remoteSpecifierString: string;
26
- remoteSpecifier: Specifier;
27
- enhancementBase: string;
28
- localSpecifierString: string;
29
- localSpecifier: Specifier;
30
- remotePropertyPath: string;
31
- }
@@ -1,20 +0,0 @@
1
- import {IEnhancement, BEAllProps, EMC} from '../trans-render/be/types';
2
-
3
- export interface EndUserProps extends IEnhancement{
4
- whenDefined: 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
- //onWhenDefined(self: BAP): void;
20
- }
@@ -1,27 +0,0 @@
1
- import {IEnhancement, BEAllProps} from '../trans-render/be/types';
2
-
3
- // export interface EventHandlingScriptElement extends HTMLScriptElement{
4
- // on: {[key: string]: (e: Event) => void}
5
- // e: (e: Event) => void;
6
- // }
7
-
8
- export interface EndUserProps extends IEnhancement<HTMLScriptElement>{
9
- nudges: string,
10
- on: string,
11
- onNudges: string,
12
- }
13
-
14
- export interface AllProps extends EndUserProps{}
15
-
16
- export type AP = AllProps;
17
-
18
- export type PAP = Partial<AP>;
19
-
20
- export type ProPAP = Promise<PAP>;
21
-
22
- export type BAP = AP & BEAllProps;
23
-
24
- export interface Actions{
25
- calcDefaults(self: BAP): ProPAP,
26
- hydrate(self: BAP): ProPAP,
27
- }
@@ -1,26 +0,0 @@
1
- import {IEnhancement, BEAllProps} from '../trans-render/be/types';
2
-
3
- export interface EndUserProps<Exports=any> extends IEnhancement<HTMLScriptElement>{
4
- // //guid?: string;
5
- // //shareByID?: boolean;
6
- // enabled?: boolean;
7
- // beOosoom?: string;
8
- preferAttrForBareImports?: boolean;
9
- attached: boolean;
10
- }
11
-
12
- export interface AllProps<Exports=any> extends EndUserProps<Exports>{
13
- exports?: Exports;
14
-
15
- }
16
-
17
- export type PAP = Partial<AllProps>;
18
-
19
- export type ProPAP = Promise<PAP>
20
-
21
-
22
- export interface Actions{
23
- hydrate(ap: AllProps): Promise<PAP>;
24
- }
25
-
26
-
@@ -1,73 +0,0 @@
1
- import {IEnhancement, BEAllProps, EMC} from '../trans-render/be/types';
2
-
3
- export interface EndUserProps extends IEnhancement{
4
- pre?: string,
5
- post?: string,
6
- on?: string,
7
- eventName?: string,
8
- eventCount?: number,
9
- debounceDuration?: number,
10
- options?: FetchOptions,
11
- urlProp: string,
12
- baseLink?: string,
13
- }
14
- export interface AllProps extends EndUserProps {
15
- value: any;
16
- interpolating: boolean;
17
- full: boolean;
18
- url: string;
19
- urlEcho: string;
20
- }
21
-
22
- export interface FetchOptions {
23
-
24
- init?: RequestInit,
25
- authorization?:{
26
- winObj?: 'sessionStorage' | 'localStorage',
27
- key?: string
28
- val?: string,
29
-
30
- }
31
- //headers?: {[key: string]: string},
32
- //headerFormSelector?: string,
33
- //headerFormSubmitOn?: string | string[],
34
- //valObservePairs: ValObservePairs;
35
- }
36
-
37
- // export interface ValObservePairs{
38
- // authorization?: IObserve,
39
- // authorizationVal?: string,
40
- // body?: IObserve,
41
- // bodyVal?: any,
42
- // cache?: IObserve<'default' | 'no-store' | 'reload' | 'no-cache' | 'force-cache' | 'only-if-cached'>,
43
- // cacheVal?: 'default' | 'no-store' | 'reload' | 'no-cache' | 'force-cache' | 'only-if-cached',
44
- // contentType?: IObserve,
45
- // contentTypeVal?: string,
46
- // credentials?: IObserve<'omit' | 'same-origin' | 'include'>,
47
- // credentialsVal?: 'omit' | 'same-origin' | 'include',
48
- // method?: IObserve<'GET' | 'POST' | 'PUT' | 'DELETE'>,
49
- // methodVal?: 'GET' | 'POST' | 'PUT' | 'DELETE',
50
- // mode?: IObserve<'cors' | 'no-cors' | 'same-origin' | 'navigate'>,
51
- // modeVal?: 'cors' | 'no-cors' | 'same-origin' | 'navigate',
52
- // redirect?: IObserve<'follow' | 'error' | 'manual'>,
53
- // redirectVal?: 'follow' | 'error' | 'manual',
54
- // referrerPolicy?: IObserve<'no-referrer' | 'no-referrer-when-downgrade' | 'same-origin' | 'origin' | 'strict-origin' | 'origin-when-cross-origin' | 'strict-origin-when-cross-origin' | 'unsafe-url'>,
55
- // referrerPolicyVal?: 'no-referrer' | 'no-referrer-when-downgrade' | 'same-origin' | 'origin' | 'strict-origin' | 'origin-when-cross-origin' | 'strict-origin-when-cross-origin' | 'unsafe-url',
56
- // }
57
-
58
- export interface AllProps extends EndUserProps {}
59
-
60
- export type AP = AllProps;
61
-
62
- export type PAP = Partial<AP>;
63
-
64
- export type ProPAP = Promise<PAP>;
65
-
66
- export type BAP = AP & BEAllProps;
67
-
68
- export interface Actions{
69
- setUp(self: BAP): PAP;
70
- interpolateIfValid(self: BAP): PAP | void;
71
- setFullUrlIfValid(self: BAP): PAP | void;
72
- fetchWhenSettled(self: BAP): Promise<PAP | void>;
73
- }
@@ -1,27 +0,0 @@
1
- import {IEnhancement, BEAllProps} from '../trans-render/be/types';
2
- import {StringWithAutocompleteOptions} from '../trans-render/types';
3
-
4
- export interface EndUserProps extends IEnhancement{
5
- duration: number,
6
- attr: StringWithAutocompleteOptions<
7
- |'value'
8
- |'textContent'
9
- |'innerHTML'
10
- |'shadowRoot'
11
- >,
12
- css: string,
13
- }
14
-
15
- export interface AllProps extends 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
- export interface Actions{
26
- hydrate(self: BAP): ProPAP;
27
- }
@@ -1,29 +0,0 @@
1
- import {BEAllProps, IEnhancement} from '../trans-render/be/types';
2
-
3
- export interface EndUserProps extends IEnhancement<HTMLFormElement> {
4
- triggerInsertPosition: InsertPosition;
5
- buttonContent: string;
6
- }
7
-
8
- export interface AllProps extends EndUserProps{
9
- byob?: boolean;
10
- trigger: WeakRef<HTMLButtonElement>
11
- }
12
-
13
- export type AP = AllProps;
14
-
15
- export type PAP = Partial<AP>;
16
-
17
- export type BAP = AP & BEAllProps
18
-
19
- export type ProPAP = Promise<PAP>;
20
-
21
- export interface Actions{
22
- addFormalizeBtn(self: BAP): ProPAP;
23
- setBtnContent(self: BAP): void;
24
- openDialog(self: BAP): Promise<void>
25
- }
26
-
27
- export interface IFormDialog{
28
- openDialog();
29
- }
@@ -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
- }