@dooboostore/simple-web-component 1.0.48 → 1.0.50
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/README.md +189 -19
- package/dist/cjs/config/config.js +1 -1
- package/dist/cjs/config/config.js.map +2 -2
- package/dist/cjs/decorators/addEventListener.js +2373 -30
- package/dist/cjs/decorators/addEventListener.js.map +3 -3
- package/dist/cjs/decorators/applyAttribute.js +31 -0
- package/dist/cjs/decorators/applyAttribute.js.map +2 -2
- package/dist/cjs/decorators/applyClass.js +55 -18
- package/dist/cjs/decorators/applyClass.js.map +3 -3
- package/dist/cjs/decorators/applyNode.js +73 -1
- package/dist/cjs/decorators/applyNode.js.map +3 -3
- package/dist/cjs/decorators/applyProperty.js +107 -3
- package/dist/cjs/decorators/applyProperty.js.map +2 -2
- package/dist/cjs/decorators/applySlot.js +6 -5
- package/dist/cjs/decorators/applySlot.js.map +2 -2
- package/dist/cjs/decorators/applyStyle.js +42 -5
- package/dist/cjs/decorators/applyStyle.js.map +2 -2
- package/dist/cjs/decorators/changedAttribute.js +61 -13
- package/dist/cjs/decorators/changedAttribute.js.map +2 -2
- package/dist/cjs/decorators/elementDefine.js +254 -439
- package/dist/cjs/decorators/elementDefine.js.map +3 -3
- package/dist/cjs/decorators/emitCustomEvent.js +55 -0
- package/dist/cjs/decorators/emitCustomEvent.js.map +2 -2
- package/dist/cjs/decorators/eventMedia.js +84 -0
- package/dist/cjs/decorators/eventMedia.js.map +7 -0
- package/dist/cjs/decorators/index.js +6 -1
- package/dist/cjs/decorators/index.js.map +2 -2
- package/dist/cjs/decorators/intersectionObserver.js +200 -0
- package/dist/cjs/decorators/intersectionObserver.js.map +7 -0
- package/dist/cjs/decorators/mutationObserver.js +186 -55
- package/dist/cjs/decorators/mutationObserver.js.map +3 -3
- package/dist/cjs/decorators/parameter.js +73 -0
- package/dist/cjs/decorators/parameter.js.map +7 -0
- package/dist/cjs/decorators/query.js +117 -102
- package/dist/cjs/decorators/query.js.map +2 -2
- package/dist/cjs/decorators/requestAnimationFrame.js +124 -0
- package/dist/cjs/decorators/requestAnimationFrame.js.map +7 -0
- package/dist/cjs/decorators/resizeObserver.js +133 -55
- package/dist/cjs/decorators/resizeObserver.js.map +2 -2
- package/dist/cjs/decorators/setInterval.js +114 -0
- package/dist/cjs/decorators/setInterval.js.map +7 -0
- package/dist/cjs/decorators/setTimeout.js +117 -0
- package/dist/cjs/decorators/setTimeout.js.map +7 -0
- package/dist/cjs/decorators/subscribeSwcAppMessageWhileConnected.js +9 -0
- package/dist/cjs/decorators/subscribeSwcAppMessageWhileConnected.js.map +2 -2
- package/dist/cjs/decorators/subscribeSwcAppRouteChangeWhileConnected.js +9 -0
- package/dist/cjs/decorators/subscribeSwcAppRouteChangeWhileConnected.js.map +2 -2
- package/dist/cjs/elements/SwcAppMixin.js +19 -3
- package/dist/cjs/elements/SwcAppMixin.js.map +2 -2
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/cjs/types/window.d.js.map +1 -1
- package/dist/esm/config/config.js +1 -1
- package/dist/esm/config/config.js.map +2 -2
- package/dist/esm/decorators/addEventListener.js +2374 -30
- package/dist/esm/decorators/addEventListener.js.map +3 -3
- package/dist/esm/decorators/applyAttribute.js +31 -0
- package/dist/esm/decorators/applyAttribute.js.map +2 -2
- package/dist/esm/decorators/applyClass.js +55 -18
- package/dist/esm/decorators/applyClass.js.map +3 -3
- package/dist/esm/decorators/applyNode.js +73 -1
- package/dist/esm/decorators/applyNode.js.map +3 -3
- package/dist/esm/decorators/applyProperty.js +107 -3
- package/dist/esm/decorators/applyProperty.js.map +2 -2
- package/dist/esm/decorators/applySlot.js +6 -5
- package/dist/esm/decorators/applySlot.js.map +2 -2
- package/dist/esm/decorators/applyStyle.js +42 -5
- package/dist/esm/decorators/applyStyle.js.map +2 -2
- package/dist/esm/decorators/changedAttribute.js +62 -13
- package/dist/esm/decorators/changedAttribute.js.map +2 -2
- package/dist/esm/decorators/elementDefine.js +261 -446
- package/dist/esm/decorators/elementDefine.js.map +3 -3
- package/dist/esm/decorators/emitCustomEvent.js +55 -0
- package/dist/esm/decorators/emitCustomEvent.js.map +2 -2
- package/dist/esm/decorators/eventMedia.js +66 -0
- package/dist/esm/decorators/eventMedia.js.map +7 -0
- package/dist/esm/decorators/index.js +6 -1
- package/dist/esm/decorators/index.js.map +2 -2
- package/dist/esm/decorators/intersectionObserver.js +182 -0
- package/dist/esm/decorators/intersectionObserver.js.map +7 -0
- package/dist/esm/decorators/mutationObserver.js +187 -55
- package/dist/esm/decorators/mutationObserver.js.map +3 -3
- package/dist/esm/decorators/parameter.js +54 -0
- package/dist/esm/decorators/parameter.js.map +7 -0
- package/dist/esm/decorators/query.js +117 -102
- package/dist/esm/decorators/query.js.map +2 -2
- package/dist/esm/decorators/requestAnimationFrame.js +105 -0
- package/dist/esm/decorators/requestAnimationFrame.js.map +7 -0
- package/dist/esm/decorators/resizeObserver.js +134 -55
- package/dist/esm/decorators/resizeObserver.js.map +2 -2
- package/dist/esm/decorators/setInterval.js +95 -0
- package/dist/esm/decorators/setInterval.js.map +7 -0
- package/dist/esm/decorators/setTimeout.js +98 -0
- package/dist/esm/decorators/setTimeout.js.map +7 -0
- package/dist/esm/decorators/subscribeSwcAppMessageWhileConnected.js +9 -0
- package/dist/esm/decorators/subscribeSwcAppMessageWhileConnected.js.map +2 -2
- package/dist/esm/decorators/subscribeSwcAppRouteChangeWhileConnected.js +9 -0
- package/dist/esm/decorators/subscribeSwcAppRouteChangeWhileConnected.js.map +2 -2
- package/dist/esm/elements/SwcAppMixin.js +20 -4
- package/dist/esm/elements/SwcAppMixin.js.map +2 -2
- package/dist/esm/types/index.js.map +1 -1
- package/dist/esm-bundle/dooboostore-simple-web-component.esm.js +4961 -1628
- package/dist/esm-bundle/dooboostore-simple-web-component.esm.js.map +4 -4
- package/dist/types/config/config.d.ts.map +1 -1
- package/dist/types/decorators/addEventListener.d.ts +1046 -33
- package/dist/types/decorators/addEventListener.d.ts.map +1 -1
- package/dist/types/decorators/applyAttribute.d.ts +24 -34
- package/dist/types/decorators/applyAttribute.d.ts.map +1 -1
- package/dist/types/decorators/applyClass.d.ts +36 -34
- package/dist/types/decorators/applyClass.d.ts.map +1 -1
- package/dist/types/decorators/applyNode.d.ts +32 -20
- package/dist/types/decorators/applyNode.d.ts.map +1 -1
- package/dist/types/decorators/applyProperty.d.ts +61 -34
- package/dist/types/decorators/applyProperty.d.ts.map +1 -1
- package/dist/types/decorators/applySlot.d.ts.map +1 -1
- package/dist/types/decorators/applyStyle.d.ts +27 -12
- package/dist/types/decorators/applyStyle.d.ts.map +1 -1
- package/dist/types/decorators/changedAttribute.d.ts +12 -3
- package/dist/types/decorators/changedAttribute.d.ts.map +1 -1
- package/dist/types/decorators/elementDefine.d.ts +0 -14
- package/dist/types/decorators/elementDefine.d.ts.map +1 -1
- package/dist/types/decorators/emitCustomEvent.d.ts +28 -4
- package/dist/types/decorators/emitCustomEvent.d.ts.map +1 -1
- package/dist/types/decorators/eventMedia.d.ts +25 -0
- package/dist/types/decorators/eventMedia.d.ts.map +1 -0
- package/dist/types/decorators/index.d.ts +6 -1
- package/dist/types/decorators/index.d.ts.map +1 -1
- package/dist/types/decorators/intersectionObserver.d.ts +58 -0
- package/dist/types/decorators/intersectionObserver.d.ts.map +1 -0
- package/dist/types/decorators/mutationObserver.d.ts +44 -25
- package/dist/types/decorators/mutationObserver.d.ts.map +1 -1
- package/dist/types/decorators/parameter.d.ts +35 -0
- package/dist/types/decorators/parameter.d.ts.map +1 -0
- package/dist/types/decorators/query.d.ts +57 -14
- package/dist/types/decorators/query.d.ts.map +1 -1
- package/dist/types/decorators/requestAnimationFrame.d.ts +47 -0
- package/dist/types/decorators/requestAnimationFrame.d.ts.map +1 -0
- package/dist/types/decorators/resizeObserver.d.ts +43 -23
- package/dist/types/decorators/resizeObserver.d.ts.map +1 -1
- package/dist/types/decorators/setInterval.d.ts +41 -0
- package/dist/types/decorators/setInterval.d.ts.map +1 -0
- package/dist/types/decorators/setTimeout.d.ts +41 -0
- package/dist/types/decorators/setTimeout.d.ts.map +1 -0
- package/dist/types/decorators/subscribeSwcAppMessageWhileConnected.d.ts +7 -1
- package/dist/types/decorators/subscribeSwcAppMessageWhileConnected.d.ts.map +1 -1
- package/dist/types/decorators/subscribeSwcAppRouteChangeWhileConnected.d.ts +6 -0
- package/dist/types/decorators/subscribeSwcAppRouteChangeWhileConnected.d.ts.map +1 -1
- package/dist/types/elements/SwcAppMixin.d.ts.map +1 -1
- package/dist/types/types/index.d.ts +104 -0
- package/dist/types/types/index.d.ts.map +1 -1
- package/dist/umd-bundle/dooboostore-simple-web-component.umd.js +4961 -1628
- package/dist/umd-bundle/dooboostore-simple-web-component.umd.js.map +4 -4
- package/package.json +7 -5
- package/src/config/config.ts +1 -1
- package/src/decorators/addEventListener.ts +1446 -34
- package/src/decorators/applyAttribute.ts +60 -36
- package/src/decorators/applyClass.ts +86 -26
- package/src/decorators/applyNode.ts +124 -36
- package/src/decorators/applyProperty.ts +172 -40
- package/src/decorators/applySlot.ts +6 -5
- package/src/decorators/applyStyle.ts +74 -17
- package/src/decorators/changedAttribute.ts +76 -15
- package/src/decorators/elementDefine.ts +310 -582
- package/src/decorators/emitCustomEvent.ts +73 -5
- package/src/decorators/eventMedia.ts +78 -0
- package/src/decorators/index.ts +6 -1
- package/src/decorators/intersectionObserver.ts +275 -0
- package/src/decorators/mutationObserver.ts +282 -89
- package/src/decorators/parameter.ts +81 -0
- package/src/decorators/query.ts +168 -126
- package/src/decorators/requestAnimationFrame.ts +158 -0
- package/src/decorators/resizeObserver.ts +211 -89
- package/src/decorators/setInterval.ts +136 -0
- package/src/decorators/setTimeout.ts +139 -0
- package/src/decorators/subscribeSwcAppMessageWhileConnected.ts +17 -0
- package/src/decorators/subscribeSwcAppRouteChangeWhileConnected.ts +19 -0
- package/src/elements/SwcAppMixin.ts +20 -5
- package/src/types/index.ts +141 -0
- package/src/types/window.d.ts +2 -18
- package/dist/cjs/decorators/queryAll.js +0 -181
- package/dist/cjs/decorators/queryAll.js.map +0 -7
- package/dist/cjs/examples/RxJSOperatorsExample.js +0 -285
- package/dist/cjs/examples/RxJSOperatorsExample.js.map +0 -7
- package/dist/esm/decorators/queryAll.js +0 -162
- package/dist/esm/decorators/queryAll.js.map +0 -7
- package/dist/esm/examples/RxJSOperatorsExample.js +0 -266
- package/dist/esm/examples/RxJSOperatorsExample.js.map +0 -7
- package/dist/types/decorators/queryAll.d.ts +0 -22
- package/dist/types/decorators/queryAll.d.ts.map +0 -1
- package/dist/types/examples/RxJSOperatorsExample.d.ts +0 -94
- package/dist/types/examples/RxJSOperatorsExample.d.ts.map +0 -1
- package/src/decorators/queryAll.ts +0 -186
- package/src/examples/RxJSOperatorsExample.ts +0 -279
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReflectUtils } from '@dooboostore/core';
|
|
2
|
-
import { SpecialSelector, SwcQueryOptions, HelperHostSet } from '../types';
|
|
2
|
+
import { SpecialSelector, SwcQueryOptions, HelperHostSet, SwcFnSelector, SwcSelector } from '../types';
|
|
3
3
|
|
|
4
4
|
export interface AddEventListenerBaseOptions<TEvent extends Event = Event> extends EventListenerOptions {
|
|
5
5
|
capture?: boolean;
|
|
@@ -9,51 +9,65 @@ export interface AddEventListenerBaseOptions<TEvent extends Event = Event> exten
|
|
|
9
9
|
stopImmediatePropagation?: boolean;
|
|
10
10
|
preventDefault?: boolean;
|
|
11
11
|
// removeOnDisconnected?: boolean;
|
|
12
|
-
delegate
|
|
12
|
+
// delegate는 문자열 셀렉터 전용 → AddEventListenerQueryOptions에만 존재
|
|
13
13
|
filter?: (target: Event | CustomEvent, meta:{currentThis: any, helper: HelperHostSet}) => boolean;
|
|
14
14
|
// 리스너 제거(disconnected 또는 unmount) 시 호출되는 콜백. 첫 번째 인자는 바인딩된 타겟 element, 두 번째는 이 옵션이 속한 전체 옵션 객체(Base + SwcQuery + delegate).
|
|
15
|
-
removeListener?: (target: Element, optionValue:
|
|
15
|
+
removeListener?: (target: Element, optionValue: AddEventListenerQueryOptions<TEvent>) => void;
|
|
16
16
|
// RxJS operator options
|
|
17
17
|
debounceTime?: number;
|
|
18
18
|
throttleTime?: number;
|
|
19
19
|
distinctUntilChanged?: boolean | ((prev: TEvent, curr: TEvent) => boolean);
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
export type
|
|
22
|
+
export type EventListenerFnSelector = SwcFnSelector;
|
|
23
|
+
export type EventListenerSelector = SwcSelector;
|
|
23
24
|
|
|
24
25
|
export interface AddEventListenerMetadata<TEvent extends Event = Event> {
|
|
25
26
|
propertyKey: string | symbol;
|
|
26
27
|
selector: EventListenerSelector;
|
|
27
28
|
type: string;
|
|
28
|
-
options:
|
|
29
|
+
options: AddEventListenerQueryOptions<TEvent>;
|
|
29
30
|
}
|
|
30
31
|
|
|
31
32
|
export const ADD_EVENT_LISTENER_METADATA_KEY = Symbol.for('simple-web-component:add-event-listener');
|
|
32
33
|
|
|
33
|
-
|
|
34
|
-
export
|
|
34
|
+
// root + delegate 허용 — 문자열 셀렉터는 컴포넌트 DOM 트리 안에서 탐색/델리게이션하므로 의미 있음
|
|
35
|
+
export type AddEventListenerQueryOptions<TEvent extends Event = Event> = AddEventListenerBaseOptions<TEvent> & SwcQueryOptions & { delegate?: boolean | 'this' | 'mutation' };
|
|
36
|
+
// root·delegate 비허용 — 함수 셀렉터는 이미 요소를 직접 반환하므로 root·delegate가 무의미함
|
|
37
|
+
export type AddEventListenerNonQueryOptions<TEvent extends Event = Event> = AddEventListenerBaseOptions<TEvent>;
|
|
38
|
+
|
|
39
|
+
// 셀렉터 종류에 따라 옵션 타입을 분기
|
|
40
|
+
export type AddEventListenerOptionsOf<S extends EventListenerSelector, TEvent extends Event = Event> =
|
|
41
|
+
S extends string ? AddEventListenerQueryOptions<TEvent> : AddEventListenerNonQueryOptions<TEvent>;
|
|
42
|
+
|
|
43
|
+
export function addEventListener<TEvent extends Event = Event>(target: SpecialSelector, type: string, options?: AddEventListenerQueryOptions<TEvent>): MethodDecorator;
|
|
44
|
+
export function addEventListener<TEvent extends Event = Event>(selector: string, type: string, options?: AddEventListenerQueryOptions<TEvent>): MethodDecorator;
|
|
45
|
+
export function addEventListener<TEvent extends Event = Event>(selector: string, type: string[], options?: AddEventListenerQueryOptions<TEvent>): MethodDecorator;
|
|
46
|
+
export function addEventListener<TEvent extends Event = Event>(selector: EventListenerFnSelector, type: string, options?: AddEventListenerNonQueryOptions<TEvent>): MethodDecorator;
|
|
35
47
|
/**
|
|
36
48
|
* @addEventListener(type, options?) — 셀렉터 생략 시 $this(컴포넌트 자신)로 바인딩
|
|
37
49
|
*/
|
|
38
|
-
export function addEventListener<TEvent extends Event = Event>(type: string, options?:
|
|
50
|
+
export function addEventListener<TEvent extends Event = Event>(type: string, options?: AddEventListenerQueryOptions<TEvent>): MethodDecorator;
|
|
51
|
+
export function addEventListener<TEvent extends Event = Event>(type: string[], options?: AddEventListenerQueryOptions<TEvent>): MethodDecorator;
|
|
39
52
|
/**
|
|
40
53
|
* @addEventListener decorator to bind events to elements.
|
|
41
54
|
*/
|
|
42
|
-
export function addEventListener<TEvent extends Event = Event>(selectorOrType: EventListenerSelector | string, typeOrOptions?: string |
|
|
55
|
+
export function addEventListener<TEvent extends Event = Event>(selectorOrType: EventListenerSelector | string | string[], typeOrOptions?: string | string[] | AddEventListenerQueryOptions<TEvent>, maybeOptions?: AddEventListenerQueryOptions<TEvent>): MethodDecorator {
|
|
43
56
|
return (targetObj: Object, propertyKey: string | symbol, descriptor: PropertyDescriptor) => {
|
|
44
57
|
let selector: EventListenerSelector;
|
|
45
|
-
let
|
|
58
|
+
let types: string[];
|
|
46
59
|
let opts: any = {};
|
|
47
60
|
|
|
48
|
-
if (typeof typeOrOptions === 'string') {
|
|
49
|
-
// (selector, type[, options]) form — 기존 호환
|
|
61
|
+
if (typeof typeOrOptions === 'string' || Array.isArray(typeOrOptions)) {
|
|
62
|
+
// (selector, type|[types][, options]) form — 기존 호환
|
|
50
63
|
selector = selectorOrType as EventListenerSelector;
|
|
51
|
-
|
|
64
|
+
types = Array.isArray(typeOrOptions) ? typeOrOptions : [typeOrOptions];
|
|
52
65
|
opts = maybeOptions ?? {};
|
|
53
66
|
} else {
|
|
54
|
-
// (type[, options]) form — selector 기본값 $this
|
|
67
|
+
// (type|[types][, options]) form — selector 기본값 $this
|
|
55
68
|
selector = '$this';
|
|
56
|
-
|
|
69
|
+
if (Array.isArray(selectorOrType)) types = selectorOrType;
|
|
70
|
+
else types = [selectorOrType as string];
|
|
57
71
|
opts = typeOrOptions ?? {};
|
|
58
72
|
}
|
|
59
73
|
|
|
@@ -65,75 +79,1473 @@ export function addEventListener<TEvent extends Event = Event>(selectorOrType: E
|
|
|
65
79
|
ReflectUtils.defineMetadata(ADD_EVENT_LISTENER_METADATA_KEY, listeners, constructor);
|
|
66
80
|
}
|
|
67
81
|
|
|
68
|
-
listeners.push({ propertyKey, selector, type, options: opts });
|
|
82
|
+
for (const type of types) listeners.push({ propertyKey, selector, type, options: opts });
|
|
69
83
|
};
|
|
70
84
|
}
|
|
71
85
|
|
|
72
86
|
|
|
73
|
-
export function
|
|
87
|
+
export function addEventListenerDelegateLight<TEvent extends Event = Event>(selector: string, type: string, options?: Omit<AddEventListenerQueryOptions<TEvent>, 'delegate'>): MethodDecorator {
|
|
74
88
|
return addEventListener<TEvent>(selector, type, {...options??{}, root:'light', delegate: true});
|
|
75
89
|
}
|
|
76
90
|
|
|
77
|
-
export function
|
|
91
|
+
export function addEventListenerDelegateShadow<TEvent extends Event = Event>(selector: string, type: string, options?: Omit<AddEventListenerQueryOptions<TEvent>, 'delegate'>): MethodDecorator {
|
|
78
92
|
return addEventListener<TEvent>(selector, type, {...options??{}, root:'shadow', delegate: true});
|
|
79
93
|
}
|
|
80
|
-
export function
|
|
94
|
+
export function addEventListenerDelegateAll<TEvent extends Event = Event>(selector: string, type: string, options?: Omit<AddEventListenerQueryOptions<TEvent>, 'delegate'>): MethodDecorator {
|
|
81
95
|
return addEventListener<TEvent>(selector, type, {...options??{}, root:'all', delegate: true});
|
|
82
96
|
}
|
|
83
|
-
export function addEventListenerDelegate<TEvent extends Event = Event>(selector:
|
|
97
|
+
export function addEventListenerDelegate<TEvent extends Event = Event>(selector: string, type: string, options?: Omit<AddEventListenerQueryOptions<TEvent>, 'delegate'>): MethodDecorator {
|
|
84
98
|
return addEventListener<TEvent>(selector, type, {...options??{}, root:'auto', delegate: true});
|
|
85
99
|
}
|
|
86
100
|
|
|
87
|
-
|
|
101
|
+
export function addEventListenerMutationLight<TEvent extends Event = Event>(selector: string, type: string, options?: Omit<AddEventListenerQueryOptions<TEvent>, 'delegate'>): MethodDecorator {
|
|
102
|
+
return addEventListener<TEvent>(selector, type, {...options??{}, root:'light', delegate: 'mutation'});
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
export function addEventListenerMutationShadow<TEvent extends Event = Event>(selector: string, type: string, options?: Omit<AddEventListenerQueryOptions<TEvent>, 'delegate'>): MethodDecorator {
|
|
106
|
+
return addEventListener<TEvent>(selector, type, {...options??{}, root:'shadow', delegate: 'mutation'});
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
export function addEventListenerMutationAll<TEvent extends Event = Event>(selector: string, type: string, options?: Omit<AddEventListenerQueryOptions<TEvent>, 'delegate'>): MethodDecorator {
|
|
110
|
+
return addEventListener<TEvent>(selector, type, {...options??{}, root:'all', delegate: 'mutation'});
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
export function addEventListenerMutation<TEvent extends Event = Event>(selector: string, type: string, options?: Omit<AddEventListenerQueryOptions<TEvent>, 'delegate'>): MethodDecorator {
|
|
114
|
+
return addEventListener<TEvent>(selector, type, {...options??{}, root:'auto', delegate: 'mutation'});
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
// ─── root별 일반 헬퍼 (delegate 없음, 문자열 셀렉터 전용) ───
|
|
88
118
|
|
|
89
|
-
export function
|
|
119
|
+
export function addEventListenerLight<TEvent extends Event = Event>(selector: string, type: string, options?: AddEventListenerQueryOptions<TEvent>): MethodDecorator {
|
|
90
120
|
return addEventListener<TEvent>(selector, type, {...options??{}, root:'light'});
|
|
91
121
|
}
|
|
92
122
|
|
|
93
|
-
export function
|
|
123
|
+
export function addEventListenerShadow<TEvent extends Event = Event>(selector: string, type: string, options?: AddEventListenerQueryOptions<TEvent>): MethodDecorator {
|
|
94
124
|
return addEventListener<TEvent>(selector, type, {...options??{}, root:'shadow'});
|
|
95
125
|
}
|
|
96
126
|
|
|
97
|
-
export function
|
|
127
|
+
export function addEventListenerAll<TEvent extends Event = Event>(selector: string, type: string, options?: AddEventListenerQueryOptions<TEvent>): MethodDecorator {
|
|
98
128
|
return addEventListener<TEvent>(selector, type, {...options??{}, root:'all'});
|
|
99
129
|
}
|
|
100
130
|
|
|
101
131
|
/**
|
|
102
132
|
* @addEventListenerThis decorator - simplified version of @addEventListener for $this selector
|
|
103
133
|
*/
|
|
104
|
-
export function addEventListenerThis<TEvent extends Event = Event>(type: string, options?:
|
|
134
|
+
export function addEventListenerThis<TEvent extends Event = Event>(type: string, options?: AddEventListenerQueryOptions<TEvent>): MethodDecorator {
|
|
105
135
|
return addEventListener<TEvent>('$this', type, options);
|
|
106
136
|
}
|
|
107
137
|
|
|
108
138
|
/**
|
|
109
139
|
* @addEventListenerAppHost decorator - simplified version of @addEventListener for $appHost selector
|
|
110
140
|
*/
|
|
111
|
-
export function addEventListenerAppHost<TEvent extends Event = Event>(type: string, options?:
|
|
141
|
+
export function addEventListenerAppHost<TEvent extends Event = Event>(type: string, options?: AddEventListenerQueryOptions<TEvent>): MethodDecorator {
|
|
112
142
|
return addEventListener<TEvent>('$appHost', type, options);
|
|
113
143
|
}
|
|
114
144
|
|
|
115
|
-
export function addEventListenerWindow<TEvent extends Event = Event>(type: string, options?:
|
|
145
|
+
export function addEventListenerWindow<TEvent extends Event = Event>(type: string, options?: AddEventListenerQueryOptions<TEvent>): MethodDecorator {
|
|
116
146
|
return addEventListener<TEvent>('$window', type, options);
|
|
117
147
|
}
|
|
118
|
-
export function addEventListenerDocument<TEvent extends Event = Event>(type: string, options?:
|
|
148
|
+
export function addEventListenerDocument<TEvent extends Event = Event>(type: string, options?: AddEventListenerQueryOptions<TEvent>): MethodDecorator {
|
|
119
149
|
return addEventListener<TEvent>('$document', type, options);
|
|
120
150
|
}
|
|
121
151
|
|
|
122
152
|
// --- Aliases: event... ---
|
|
123
153
|
export const event = addEventListener;
|
|
124
|
-
export const
|
|
125
|
-
export const
|
|
126
|
-
export const
|
|
154
|
+
export const eventDelegateLight = addEventListenerDelegateLight;
|
|
155
|
+
export const eventDelegateShadow = addEventListenerDelegateShadow;
|
|
156
|
+
export const eventDelegateAll = addEventListenerDelegateAll;
|
|
127
157
|
export const eventDelegate = addEventListenerDelegate;
|
|
128
|
-
export const
|
|
129
|
-
export const
|
|
130
|
-
export const
|
|
158
|
+
export const eventMutationLight = addEventListenerMutationLight;
|
|
159
|
+
export const eventMutationShadow = addEventListenerMutationShadow;
|
|
160
|
+
export const eventMutationAll = addEventListenerMutationAll;
|
|
161
|
+
export const eventMutation = addEventListenerMutation;
|
|
162
|
+
export const eventLight = addEventListenerLight;
|
|
163
|
+
export const eventShadow = addEventListenerShadow;
|
|
164
|
+
export const eventAll = addEventListenerAll;
|
|
131
165
|
export const eventAppHost = addEventListenerAppHost;
|
|
132
166
|
export const eventWindow = addEventListenerWindow;
|
|
133
167
|
export const eventDocument = addEventListenerDocument;
|
|
134
168
|
export const eventThis = addEventListenerThis;
|
|
135
169
|
|
|
170
|
+
// ─── 이벤트 타입별 별칭 (eventClick, eventClickDelegateLight, ...) ───
|
|
171
|
+
// 위 scope/delegate 축 별칭들을 특정 이벤트 타입에 고정해서 재바인딩한다.
|
|
172
|
+
// 실제 타입별 export 목록(944개, 아래)은 이 팩토리로 생성 스크립트를 돌려서 만들었다.
|
|
173
|
+
export function makeTypedEventAliases<TEvent extends Event = Event>(type: string) {
|
|
174
|
+
return {
|
|
175
|
+
base: (selector: string, options?: AddEventListenerQueryOptions<TEvent>) => addEventListener<TEvent>(selector, type, options),
|
|
176
|
+
delegateLight: (selector: string, options?: Omit<AddEventListenerQueryOptions<TEvent>, 'delegate'>) => addEventListenerDelegateLight<TEvent>(selector, type, options),
|
|
177
|
+
delegateShadow: (selector: string, options?: Omit<AddEventListenerQueryOptions<TEvent>, 'delegate'>) => addEventListenerDelegateShadow<TEvent>(selector, type, options),
|
|
178
|
+
delegateAll: (selector: string, options?: Omit<AddEventListenerQueryOptions<TEvent>, 'delegate'>) => addEventListenerDelegateAll<TEvent>(selector, type, options),
|
|
179
|
+
delegate: (selector: string, options?: Omit<AddEventListenerQueryOptions<TEvent>, 'delegate'>) => addEventListenerDelegate<TEvent>(selector, type, options),
|
|
180
|
+
mutationLight: (selector: string, options?: Omit<AddEventListenerQueryOptions<TEvent>, 'delegate'>) => addEventListenerMutationLight<TEvent>(selector, type, options),
|
|
181
|
+
mutationShadow: (selector: string, options?: Omit<AddEventListenerQueryOptions<TEvent>, 'delegate'>) => addEventListenerMutationShadow<TEvent>(selector, type, options),
|
|
182
|
+
mutationAll: (selector: string, options?: Omit<AddEventListenerQueryOptions<TEvent>, 'delegate'>) => addEventListenerMutationAll<TEvent>(selector, type, options),
|
|
183
|
+
mutation: (selector: string, options?: Omit<AddEventListenerQueryOptions<TEvent>, 'delegate'>) => addEventListenerMutation<TEvent>(selector, type, options),
|
|
184
|
+
light: (selector: string, options?: AddEventListenerQueryOptions<TEvent>) => addEventListenerLight<TEvent>(selector, type, options),
|
|
185
|
+
shadow: (selector: string, options?: AddEventListenerQueryOptions<TEvent>) => addEventListenerShadow<TEvent>(selector, type, options),
|
|
186
|
+
all: (selector: string, options?: AddEventListenerQueryOptions<TEvent>) => addEventListenerAll<TEvent>(selector, type, options),
|
|
187
|
+
this: (options?: AddEventListenerQueryOptions<TEvent>) => addEventListenerThis<TEvent>(type, options),
|
|
188
|
+
appHost: (options?: AddEventListenerQueryOptions<TEvent>) => addEventListenerAppHost<TEvent>(type, options),
|
|
189
|
+
window: (options?: AddEventListenerQueryOptions<TEvent>) => addEventListenerWindow<TEvent>(type, options),
|
|
190
|
+
document: (options?: AddEventListenerQueryOptions<TEvent>) => addEventListenerDocument<TEvent>(type, options),
|
|
191
|
+
};
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
// ─── 이벤트 타입별 별칭 (eventClick, eventClickDelegateLight, eventInputThis, ...) ───
|
|
195
|
+
// 위 makeTypedEventAliases 팩토리를 자주 쓰는 DOM 이벤트 타입 각각에 대해 미리 바인딩해둔 것.
|
|
196
|
+
// 생성 스크립트로 만들어짐 — 새 타입을 추가하려면 같은 패턴(16개 export)을 추가하면 된다.
|
|
197
|
+
const clickAliases = makeTypedEventAliases<MouseEvent>('click');
|
|
198
|
+
export const eventClick = clickAliases.base;
|
|
199
|
+
export const eventClickDelegateLight = clickAliases.delegateLight;
|
|
200
|
+
export const eventClickDelegateShadow = clickAliases.delegateShadow;
|
|
201
|
+
export const eventClickDelegateAll = clickAliases.delegateAll;
|
|
202
|
+
export const eventClickDelegate = clickAliases.delegate;
|
|
203
|
+
export const eventClickMutationLight = clickAliases.mutationLight;
|
|
204
|
+
export const eventClickMutationShadow = clickAliases.mutationShadow;
|
|
205
|
+
export const eventClickMutationAll = clickAliases.mutationAll;
|
|
206
|
+
export const eventClickMutation = clickAliases.mutation;
|
|
207
|
+
export const eventClickLight = clickAliases.light;
|
|
208
|
+
export const eventClickShadow = clickAliases.shadow;
|
|
209
|
+
export const eventClickAll = clickAliases.all;
|
|
210
|
+
export const eventClickThis = clickAliases.this;
|
|
211
|
+
export const eventClickAppHost = clickAliases.appHost;
|
|
212
|
+
export const eventClickWindow = clickAliases.window;
|
|
213
|
+
export const eventClickDocument = clickAliases.document;
|
|
214
|
+
const dblclickAliases = makeTypedEventAliases<MouseEvent>('dblclick');
|
|
215
|
+
export const eventDblclick = dblclickAliases.base;
|
|
216
|
+
export const eventDblclickDelegateLight = dblclickAliases.delegateLight;
|
|
217
|
+
export const eventDblclickDelegateShadow = dblclickAliases.delegateShadow;
|
|
218
|
+
export const eventDblclickDelegateAll = dblclickAliases.delegateAll;
|
|
219
|
+
export const eventDblclickDelegate = dblclickAliases.delegate;
|
|
220
|
+
export const eventDblclickMutationLight = dblclickAliases.mutationLight;
|
|
221
|
+
export const eventDblclickMutationShadow = dblclickAliases.mutationShadow;
|
|
222
|
+
export const eventDblclickMutationAll = dblclickAliases.mutationAll;
|
|
223
|
+
export const eventDblclickMutation = dblclickAliases.mutation;
|
|
224
|
+
export const eventDblclickLight = dblclickAliases.light;
|
|
225
|
+
export const eventDblclickShadow = dblclickAliases.shadow;
|
|
226
|
+
export const eventDblclickAll = dblclickAliases.all;
|
|
227
|
+
export const eventDblclickThis = dblclickAliases.this;
|
|
228
|
+
export const eventDblclickAppHost = dblclickAliases.appHost;
|
|
229
|
+
export const eventDblclickWindow = dblclickAliases.window;
|
|
230
|
+
export const eventDblclickDocument = dblclickAliases.document;
|
|
231
|
+
const mousedownAliases = makeTypedEventAliases<MouseEvent>('mousedown');
|
|
232
|
+
export const eventMousedown = mousedownAliases.base;
|
|
233
|
+
export const eventMousedownDelegateLight = mousedownAliases.delegateLight;
|
|
234
|
+
export const eventMousedownDelegateShadow = mousedownAliases.delegateShadow;
|
|
235
|
+
export const eventMousedownDelegateAll = mousedownAliases.delegateAll;
|
|
236
|
+
export const eventMousedownDelegate = mousedownAliases.delegate;
|
|
237
|
+
export const eventMousedownMutationLight = mousedownAliases.mutationLight;
|
|
238
|
+
export const eventMousedownMutationShadow = mousedownAliases.mutationShadow;
|
|
239
|
+
export const eventMousedownMutationAll = mousedownAliases.mutationAll;
|
|
240
|
+
export const eventMousedownMutation = mousedownAliases.mutation;
|
|
241
|
+
export const eventMousedownLight = mousedownAliases.light;
|
|
242
|
+
export const eventMousedownShadow = mousedownAliases.shadow;
|
|
243
|
+
export const eventMousedownAll = mousedownAliases.all;
|
|
244
|
+
export const eventMousedownThis = mousedownAliases.this;
|
|
245
|
+
export const eventMousedownAppHost = mousedownAliases.appHost;
|
|
246
|
+
export const eventMousedownWindow = mousedownAliases.window;
|
|
247
|
+
export const eventMousedownDocument = mousedownAliases.document;
|
|
248
|
+
const mouseupAliases = makeTypedEventAliases<MouseEvent>('mouseup');
|
|
249
|
+
export const eventMouseup = mouseupAliases.base;
|
|
250
|
+
export const eventMouseupDelegateLight = mouseupAliases.delegateLight;
|
|
251
|
+
export const eventMouseupDelegateShadow = mouseupAliases.delegateShadow;
|
|
252
|
+
export const eventMouseupDelegateAll = mouseupAliases.delegateAll;
|
|
253
|
+
export const eventMouseupDelegate = mouseupAliases.delegate;
|
|
254
|
+
export const eventMouseupMutationLight = mouseupAliases.mutationLight;
|
|
255
|
+
export const eventMouseupMutationShadow = mouseupAliases.mutationShadow;
|
|
256
|
+
export const eventMouseupMutationAll = mouseupAliases.mutationAll;
|
|
257
|
+
export const eventMouseupMutation = mouseupAliases.mutation;
|
|
258
|
+
export const eventMouseupLight = mouseupAliases.light;
|
|
259
|
+
export const eventMouseupShadow = mouseupAliases.shadow;
|
|
260
|
+
export const eventMouseupAll = mouseupAliases.all;
|
|
261
|
+
export const eventMouseupThis = mouseupAliases.this;
|
|
262
|
+
export const eventMouseupAppHost = mouseupAliases.appHost;
|
|
263
|
+
export const eventMouseupWindow = mouseupAliases.window;
|
|
264
|
+
export const eventMouseupDocument = mouseupAliases.document;
|
|
265
|
+
const mousemoveAliases = makeTypedEventAliases<MouseEvent>('mousemove');
|
|
266
|
+
export const eventMousemove = mousemoveAliases.base;
|
|
267
|
+
export const eventMousemoveDelegateLight = mousemoveAliases.delegateLight;
|
|
268
|
+
export const eventMousemoveDelegateShadow = mousemoveAliases.delegateShadow;
|
|
269
|
+
export const eventMousemoveDelegateAll = mousemoveAliases.delegateAll;
|
|
270
|
+
export const eventMousemoveDelegate = mousemoveAliases.delegate;
|
|
271
|
+
export const eventMousemoveMutationLight = mousemoveAliases.mutationLight;
|
|
272
|
+
export const eventMousemoveMutationShadow = mousemoveAliases.mutationShadow;
|
|
273
|
+
export const eventMousemoveMutationAll = mousemoveAliases.mutationAll;
|
|
274
|
+
export const eventMousemoveMutation = mousemoveAliases.mutation;
|
|
275
|
+
export const eventMousemoveLight = mousemoveAliases.light;
|
|
276
|
+
export const eventMousemoveShadow = mousemoveAliases.shadow;
|
|
277
|
+
export const eventMousemoveAll = mousemoveAliases.all;
|
|
278
|
+
export const eventMousemoveThis = mousemoveAliases.this;
|
|
279
|
+
export const eventMousemoveAppHost = mousemoveAliases.appHost;
|
|
280
|
+
export const eventMousemoveWindow = mousemoveAliases.window;
|
|
281
|
+
export const eventMousemoveDocument = mousemoveAliases.document;
|
|
282
|
+
const mouseoverAliases = makeTypedEventAliases<MouseEvent>('mouseover');
|
|
283
|
+
export const eventMouseover = mouseoverAliases.base;
|
|
284
|
+
export const eventMouseoverDelegateLight = mouseoverAliases.delegateLight;
|
|
285
|
+
export const eventMouseoverDelegateShadow = mouseoverAliases.delegateShadow;
|
|
286
|
+
export const eventMouseoverDelegateAll = mouseoverAliases.delegateAll;
|
|
287
|
+
export const eventMouseoverDelegate = mouseoverAliases.delegate;
|
|
288
|
+
export const eventMouseoverMutationLight = mouseoverAliases.mutationLight;
|
|
289
|
+
export const eventMouseoverMutationShadow = mouseoverAliases.mutationShadow;
|
|
290
|
+
export const eventMouseoverMutationAll = mouseoverAliases.mutationAll;
|
|
291
|
+
export const eventMouseoverMutation = mouseoverAliases.mutation;
|
|
292
|
+
export const eventMouseoverLight = mouseoverAliases.light;
|
|
293
|
+
export const eventMouseoverShadow = mouseoverAliases.shadow;
|
|
294
|
+
export const eventMouseoverAll = mouseoverAliases.all;
|
|
295
|
+
export const eventMouseoverThis = mouseoverAliases.this;
|
|
296
|
+
export const eventMouseoverAppHost = mouseoverAliases.appHost;
|
|
297
|
+
export const eventMouseoverWindow = mouseoverAliases.window;
|
|
298
|
+
export const eventMouseoverDocument = mouseoverAliases.document;
|
|
299
|
+
const mouseoutAliases = makeTypedEventAliases<MouseEvent>('mouseout');
|
|
300
|
+
export const eventMouseout = mouseoutAliases.base;
|
|
301
|
+
export const eventMouseoutDelegateLight = mouseoutAliases.delegateLight;
|
|
302
|
+
export const eventMouseoutDelegateShadow = mouseoutAliases.delegateShadow;
|
|
303
|
+
export const eventMouseoutDelegateAll = mouseoutAliases.delegateAll;
|
|
304
|
+
export const eventMouseoutDelegate = mouseoutAliases.delegate;
|
|
305
|
+
export const eventMouseoutMutationLight = mouseoutAliases.mutationLight;
|
|
306
|
+
export const eventMouseoutMutationShadow = mouseoutAliases.mutationShadow;
|
|
307
|
+
export const eventMouseoutMutationAll = mouseoutAliases.mutationAll;
|
|
308
|
+
export const eventMouseoutMutation = mouseoutAliases.mutation;
|
|
309
|
+
export const eventMouseoutLight = mouseoutAliases.light;
|
|
310
|
+
export const eventMouseoutShadow = mouseoutAliases.shadow;
|
|
311
|
+
export const eventMouseoutAll = mouseoutAliases.all;
|
|
312
|
+
export const eventMouseoutThis = mouseoutAliases.this;
|
|
313
|
+
export const eventMouseoutAppHost = mouseoutAliases.appHost;
|
|
314
|
+
export const eventMouseoutWindow = mouseoutAliases.window;
|
|
315
|
+
export const eventMouseoutDocument = mouseoutAliases.document;
|
|
316
|
+
const mouseenterAliases = makeTypedEventAliases<MouseEvent>('mouseenter');
|
|
317
|
+
export const eventMouseenter = mouseenterAliases.base;
|
|
318
|
+
export const eventMouseenterDelegateLight = mouseenterAliases.delegateLight;
|
|
319
|
+
export const eventMouseenterDelegateShadow = mouseenterAliases.delegateShadow;
|
|
320
|
+
export const eventMouseenterDelegateAll = mouseenterAliases.delegateAll;
|
|
321
|
+
export const eventMouseenterDelegate = mouseenterAliases.delegate;
|
|
322
|
+
export const eventMouseenterMutationLight = mouseenterAliases.mutationLight;
|
|
323
|
+
export const eventMouseenterMutationShadow = mouseenterAliases.mutationShadow;
|
|
324
|
+
export const eventMouseenterMutationAll = mouseenterAliases.mutationAll;
|
|
325
|
+
export const eventMouseenterMutation = mouseenterAliases.mutation;
|
|
326
|
+
export const eventMouseenterLight = mouseenterAliases.light;
|
|
327
|
+
export const eventMouseenterShadow = mouseenterAliases.shadow;
|
|
328
|
+
export const eventMouseenterAll = mouseenterAliases.all;
|
|
329
|
+
export const eventMouseenterThis = mouseenterAliases.this;
|
|
330
|
+
export const eventMouseenterAppHost = mouseenterAliases.appHost;
|
|
331
|
+
export const eventMouseenterWindow = mouseenterAliases.window;
|
|
332
|
+
export const eventMouseenterDocument = mouseenterAliases.document;
|
|
333
|
+
const mouseleaveAliases = makeTypedEventAliases<MouseEvent>('mouseleave');
|
|
334
|
+
export const eventMouseleave = mouseleaveAliases.base;
|
|
335
|
+
export const eventMouseleaveDelegateLight = mouseleaveAliases.delegateLight;
|
|
336
|
+
export const eventMouseleaveDelegateShadow = mouseleaveAliases.delegateShadow;
|
|
337
|
+
export const eventMouseleaveDelegateAll = mouseleaveAliases.delegateAll;
|
|
338
|
+
export const eventMouseleaveDelegate = mouseleaveAliases.delegate;
|
|
339
|
+
export const eventMouseleaveMutationLight = mouseleaveAliases.mutationLight;
|
|
340
|
+
export const eventMouseleaveMutationShadow = mouseleaveAliases.mutationShadow;
|
|
341
|
+
export const eventMouseleaveMutationAll = mouseleaveAliases.mutationAll;
|
|
342
|
+
export const eventMouseleaveMutation = mouseleaveAliases.mutation;
|
|
343
|
+
export const eventMouseleaveLight = mouseleaveAliases.light;
|
|
344
|
+
export const eventMouseleaveShadow = mouseleaveAliases.shadow;
|
|
345
|
+
export const eventMouseleaveAll = mouseleaveAliases.all;
|
|
346
|
+
export const eventMouseleaveThis = mouseleaveAliases.this;
|
|
347
|
+
export const eventMouseleaveAppHost = mouseleaveAliases.appHost;
|
|
348
|
+
export const eventMouseleaveWindow = mouseleaveAliases.window;
|
|
349
|
+
export const eventMouseleaveDocument = mouseleaveAliases.document;
|
|
350
|
+
const contextmenuAliases = makeTypedEventAliases<MouseEvent>('contextmenu');
|
|
351
|
+
export const eventContextmenu = contextmenuAliases.base;
|
|
352
|
+
export const eventContextmenuDelegateLight = contextmenuAliases.delegateLight;
|
|
353
|
+
export const eventContextmenuDelegateShadow = contextmenuAliases.delegateShadow;
|
|
354
|
+
export const eventContextmenuDelegateAll = contextmenuAliases.delegateAll;
|
|
355
|
+
export const eventContextmenuDelegate = contextmenuAliases.delegate;
|
|
356
|
+
export const eventContextmenuMutationLight = contextmenuAliases.mutationLight;
|
|
357
|
+
export const eventContextmenuMutationShadow = contextmenuAliases.mutationShadow;
|
|
358
|
+
export const eventContextmenuMutationAll = contextmenuAliases.mutationAll;
|
|
359
|
+
export const eventContextmenuMutation = contextmenuAliases.mutation;
|
|
360
|
+
export const eventContextmenuLight = contextmenuAliases.light;
|
|
361
|
+
export const eventContextmenuShadow = contextmenuAliases.shadow;
|
|
362
|
+
export const eventContextmenuAll = contextmenuAliases.all;
|
|
363
|
+
export const eventContextmenuThis = contextmenuAliases.this;
|
|
364
|
+
export const eventContextmenuAppHost = contextmenuAliases.appHost;
|
|
365
|
+
export const eventContextmenuWindow = contextmenuAliases.window;
|
|
366
|
+
export const eventContextmenuDocument = contextmenuAliases.document;
|
|
367
|
+
const wheelAliases = makeTypedEventAliases<WheelEvent>('wheel');
|
|
368
|
+
export const eventWheel = wheelAliases.base;
|
|
369
|
+
export const eventWheelDelegateLight = wheelAliases.delegateLight;
|
|
370
|
+
export const eventWheelDelegateShadow = wheelAliases.delegateShadow;
|
|
371
|
+
export const eventWheelDelegateAll = wheelAliases.delegateAll;
|
|
372
|
+
export const eventWheelDelegate = wheelAliases.delegate;
|
|
373
|
+
export const eventWheelMutationLight = wheelAliases.mutationLight;
|
|
374
|
+
export const eventWheelMutationShadow = wheelAliases.mutationShadow;
|
|
375
|
+
export const eventWheelMutationAll = wheelAliases.mutationAll;
|
|
376
|
+
export const eventWheelMutation = wheelAliases.mutation;
|
|
377
|
+
export const eventWheelLight = wheelAliases.light;
|
|
378
|
+
export const eventWheelShadow = wheelAliases.shadow;
|
|
379
|
+
export const eventWheelAll = wheelAliases.all;
|
|
380
|
+
export const eventWheelThis = wheelAliases.this;
|
|
381
|
+
export const eventWheelAppHost = wheelAliases.appHost;
|
|
382
|
+
export const eventWheelWindow = wheelAliases.window;
|
|
383
|
+
export const eventWheelDocument = wheelAliases.document;
|
|
384
|
+
const keydownAliases = makeTypedEventAliases<KeyboardEvent>('keydown');
|
|
385
|
+
export const eventKeydown = keydownAliases.base;
|
|
386
|
+
export const eventKeydownDelegateLight = keydownAliases.delegateLight;
|
|
387
|
+
export const eventKeydownDelegateShadow = keydownAliases.delegateShadow;
|
|
388
|
+
export const eventKeydownDelegateAll = keydownAliases.delegateAll;
|
|
389
|
+
export const eventKeydownDelegate = keydownAliases.delegate;
|
|
390
|
+
export const eventKeydownMutationLight = keydownAliases.mutationLight;
|
|
391
|
+
export const eventKeydownMutationShadow = keydownAliases.mutationShadow;
|
|
392
|
+
export const eventKeydownMutationAll = keydownAliases.mutationAll;
|
|
393
|
+
export const eventKeydownMutation = keydownAliases.mutation;
|
|
394
|
+
export const eventKeydownLight = keydownAliases.light;
|
|
395
|
+
export const eventKeydownShadow = keydownAliases.shadow;
|
|
396
|
+
export const eventKeydownAll = keydownAliases.all;
|
|
397
|
+
export const eventKeydownThis = keydownAliases.this;
|
|
398
|
+
export const eventKeydownAppHost = keydownAliases.appHost;
|
|
399
|
+
export const eventKeydownWindow = keydownAliases.window;
|
|
400
|
+
export const eventKeydownDocument = keydownAliases.document;
|
|
401
|
+
const keyupAliases = makeTypedEventAliases<KeyboardEvent>('keyup');
|
|
402
|
+
export const eventKeyup = keyupAliases.base;
|
|
403
|
+
export const eventKeyupDelegateLight = keyupAliases.delegateLight;
|
|
404
|
+
export const eventKeyupDelegateShadow = keyupAliases.delegateShadow;
|
|
405
|
+
export const eventKeyupDelegateAll = keyupAliases.delegateAll;
|
|
406
|
+
export const eventKeyupDelegate = keyupAliases.delegate;
|
|
407
|
+
export const eventKeyupMutationLight = keyupAliases.mutationLight;
|
|
408
|
+
export const eventKeyupMutationShadow = keyupAliases.mutationShadow;
|
|
409
|
+
export const eventKeyupMutationAll = keyupAliases.mutationAll;
|
|
410
|
+
export const eventKeyupMutation = keyupAliases.mutation;
|
|
411
|
+
export const eventKeyupLight = keyupAliases.light;
|
|
412
|
+
export const eventKeyupShadow = keyupAliases.shadow;
|
|
413
|
+
export const eventKeyupAll = keyupAliases.all;
|
|
414
|
+
export const eventKeyupThis = keyupAliases.this;
|
|
415
|
+
export const eventKeyupAppHost = keyupAliases.appHost;
|
|
416
|
+
export const eventKeyupWindow = keyupAliases.window;
|
|
417
|
+
export const eventKeyupDocument = keyupAliases.document;
|
|
418
|
+
const keypressAliases = makeTypedEventAliases<KeyboardEvent>('keypress');
|
|
419
|
+
export const eventKeypress = keypressAliases.base;
|
|
420
|
+
export const eventKeypressDelegateLight = keypressAliases.delegateLight;
|
|
421
|
+
export const eventKeypressDelegateShadow = keypressAliases.delegateShadow;
|
|
422
|
+
export const eventKeypressDelegateAll = keypressAliases.delegateAll;
|
|
423
|
+
export const eventKeypressDelegate = keypressAliases.delegate;
|
|
424
|
+
export const eventKeypressMutationLight = keypressAliases.mutationLight;
|
|
425
|
+
export const eventKeypressMutationShadow = keypressAliases.mutationShadow;
|
|
426
|
+
export const eventKeypressMutationAll = keypressAliases.mutationAll;
|
|
427
|
+
export const eventKeypressMutation = keypressAliases.mutation;
|
|
428
|
+
export const eventKeypressLight = keypressAliases.light;
|
|
429
|
+
export const eventKeypressShadow = keypressAliases.shadow;
|
|
430
|
+
export const eventKeypressAll = keypressAliases.all;
|
|
431
|
+
export const eventKeypressThis = keypressAliases.this;
|
|
432
|
+
export const eventKeypressAppHost = keypressAliases.appHost;
|
|
433
|
+
export const eventKeypressWindow = keypressAliases.window;
|
|
434
|
+
export const eventKeypressDocument = keypressAliases.document;
|
|
435
|
+
const inputAliases = makeTypedEventAliases<InputEvent>('input');
|
|
436
|
+
export const eventInput = inputAliases.base;
|
|
437
|
+
export const eventInputDelegateLight = inputAliases.delegateLight;
|
|
438
|
+
export const eventInputDelegateShadow = inputAliases.delegateShadow;
|
|
439
|
+
export const eventInputDelegateAll = inputAliases.delegateAll;
|
|
440
|
+
export const eventInputDelegate = inputAliases.delegate;
|
|
441
|
+
export const eventInputMutationLight = inputAliases.mutationLight;
|
|
442
|
+
export const eventInputMutationShadow = inputAliases.mutationShadow;
|
|
443
|
+
export const eventInputMutationAll = inputAliases.mutationAll;
|
|
444
|
+
export const eventInputMutation = inputAliases.mutation;
|
|
445
|
+
export const eventInputLight = inputAliases.light;
|
|
446
|
+
export const eventInputShadow = inputAliases.shadow;
|
|
447
|
+
export const eventInputAll = inputAliases.all;
|
|
448
|
+
export const eventInputThis = inputAliases.this;
|
|
449
|
+
export const eventInputAppHost = inputAliases.appHost;
|
|
450
|
+
export const eventInputWindow = inputAliases.window;
|
|
451
|
+
export const eventInputDocument = inputAliases.document;
|
|
452
|
+
const changeAliases = makeTypedEventAliases<Event>('change');
|
|
453
|
+
export const eventChange = changeAliases.base;
|
|
454
|
+
export const eventChangeDelegateLight = changeAliases.delegateLight;
|
|
455
|
+
export const eventChangeDelegateShadow = changeAliases.delegateShadow;
|
|
456
|
+
export const eventChangeDelegateAll = changeAliases.delegateAll;
|
|
457
|
+
export const eventChangeDelegate = changeAliases.delegate;
|
|
458
|
+
export const eventChangeMutationLight = changeAliases.mutationLight;
|
|
459
|
+
export const eventChangeMutationShadow = changeAliases.mutationShadow;
|
|
460
|
+
export const eventChangeMutationAll = changeAliases.mutationAll;
|
|
461
|
+
export const eventChangeMutation = changeAliases.mutation;
|
|
462
|
+
export const eventChangeLight = changeAliases.light;
|
|
463
|
+
export const eventChangeShadow = changeAliases.shadow;
|
|
464
|
+
export const eventChangeAll = changeAliases.all;
|
|
465
|
+
export const eventChangeThis = changeAliases.this;
|
|
466
|
+
export const eventChangeAppHost = changeAliases.appHost;
|
|
467
|
+
export const eventChangeWindow = changeAliases.window;
|
|
468
|
+
export const eventChangeDocument = changeAliases.document;
|
|
469
|
+
const submitAliases = makeTypedEventAliases<SubmitEvent>('submit');
|
|
470
|
+
export const eventSubmit = submitAliases.base;
|
|
471
|
+
export const eventSubmitDelegateLight = submitAliases.delegateLight;
|
|
472
|
+
export const eventSubmitDelegateShadow = submitAliases.delegateShadow;
|
|
473
|
+
export const eventSubmitDelegateAll = submitAliases.delegateAll;
|
|
474
|
+
export const eventSubmitDelegate = submitAliases.delegate;
|
|
475
|
+
export const eventSubmitMutationLight = submitAliases.mutationLight;
|
|
476
|
+
export const eventSubmitMutationShadow = submitAliases.mutationShadow;
|
|
477
|
+
export const eventSubmitMutationAll = submitAliases.mutationAll;
|
|
478
|
+
export const eventSubmitMutation = submitAliases.mutation;
|
|
479
|
+
export const eventSubmitLight = submitAliases.light;
|
|
480
|
+
export const eventSubmitShadow = submitAliases.shadow;
|
|
481
|
+
export const eventSubmitAll = submitAliases.all;
|
|
482
|
+
export const eventSubmitThis = submitAliases.this;
|
|
483
|
+
export const eventSubmitAppHost = submitAliases.appHost;
|
|
484
|
+
export const eventSubmitWindow = submitAliases.window;
|
|
485
|
+
export const eventSubmitDocument = submitAliases.document;
|
|
486
|
+
const resetAliases = makeTypedEventAliases<Event>('reset');
|
|
487
|
+
export const eventReset = resetAliases.base;
|
|
488
|
+
export const eventResetDelegateLight = resetAliases.delegateLight;
|
|
489
|
+
export const eventResetDelegateShadow = resetAliases.delegateShadow;
|
|
490
|
+
export const eventResetDelegateAll = resetAliases.delegateAll;
|
|
491
|
+
export const eventResetDelegate = resetAliases.delegate;
|
|
492
|
+
export const eventResetMutationLight = resetAliases.mutationLight;
|
|
493
|
+
export const eventResetMutationShadow = resetAliases.mutationShadow;
|
|
494
|
+
export const eventResetMutationAll = resetAliases.mutationAll;
|
|
495
|
+
export const eventResetMutation = resetAliases.mutation;
|
|
496
|
+
export const eventResetLight = resetAliases.light;
|
|
497
|
+
export const eventResetShadow = resetAliases.shadow;
|
|
498
|
+
export const eventResetAll = resetAliases.all;
|
|
499
|
+
export const eventResetThis = resetAliases.this;
|
|
500
|
+
export const eventResetAppHost = resetAliases.appHost;
|
|
501
|
+
export const eventResetWindow = resetAliases.window;
|
|
502
|
+
export const eventResetDocument = resetAliases.document;
|
|
503
|
+
const invalidAliases = makeTypedEventAliases<Event>('invalid');
|
|
504
|
+
export const eventInvalid = invalidAliases.base;
|
|
505
|
+
export const eventInvalidDelegateLight = invalidAliases.delegateLight;
|
|
506
|
+
export const eventInvalidDelegateShadow = invalidAliases.delegateShadow;
|
|
507
|
+
export const eventInvalidDelegateAll = invalidAliases.delegateAll;
|
|
508
|
+
export const eventInvalidDelegate = invalidAliases.delegate;
|
|
509
|
+
export const eventInvalidMutationLight = invalidAliases.mutationLight;
|
|
510
|
+
export const eventInvalidMutationShadow = invalidAliases.mutationShadow;
|
|
511
|
+
export const eventInvalidMutationAll = invalidAliases.mutationAll;
|
|
512
|
+
export const eventInvalidMutation = invalidAliases.mutation;
|
|
513
|
+
export const eventInvalidLight = invalidAliases.light;
|
|
514
|
+
export const eventInvalidShadow = invalidAliases.shadow;
|
|
515
|
+
export const eventInvalidAll = invalidAliases.all;
|
|
516
|
+
export const eventInvalidThis = invalidAliases.this;
|
|
517
|
+
export const eventInvalidAppHost = invalidAliases.appHost;
|
|
518
|
+
export const eventInvalidWindow = invalidAliases.window;
|
|
519
|
+
export const eventInvalidDocument = invalidAliases.document;
|
|
520
|
+
const selectAliases = makeTypedEventAliases<Event>('select');
|
|
521
|
+
export const eventSelect = selectAliases.base;
|
|
522
|
+
export const eventSelectDelegateLight = selectAliases.delegateLight;
|
|
523
|
+
export const eventSelectDelegateShadow = selectAliases.delegateShadow;
|
|
524
|
+
export const eventSelectDelegateAll = selectAliases.delegateAll;
|
|
525
|
+
export const eventSelectDelegate = selectAliases.delegate;
|
|
526
|
+
export const eventSelectMutationLight = selectAliases.mutationLight;
|
|
527
|
+
export const eventSelectMutationShadow = selectAliases.mutationShadow;
|
|
528
|
+
export const eventSelectMutationAll = selectAliases.mutationAll;
|
|
529
|
+
export const eventSelectMutation = selectAliases.mutation;
|
|
530
|
+
export const eventSelectLight = selectAliases.light;
|
|
531
|
+
export const eventSelectShadow = selectAliases.shadow;
|
|
532
|
+
export const eventSelectAll = selectAliases.all;
|
|
533
|
+
export const eventSelectThis = selectAliases.this;
|
|
534
|
+
export const eventSelectAppHost = selectAliases.appHost;
|
|
535
|
+
export const eventSelectWindow = selectAliases.window;
|
|
536
|
+
export const eventSelectDocument = selectAliases.document;
|
|
537
|
+
const focusAliases = makeTypedEventAliases<FocusEvent>('focus');
|
|
538
|
+
export const eventFocus = focusAliases.base;
|
|
539
|
+
export const eventFocusDelegateLight = focusAliases.delegateLight;
|
|
540
|
+
export const eventFocusDelegateShadow = focusAliases.delegateShadow;
|
|
541
|
+
export const eventFocusDelegateAll = focusAliases.delegateAll;
|
|
542
|
+
export const eventFocusDelegate = focusAliases.delegate;
|
|
543
|
+
export const eventFocusMutationLight = focusAliases.mutationLight;
|
|
544
|
+
export const eventFocusMutationShadow = focusAliases.mutationShadow;
|
|
545
|
+
export const eventFocusMutationAll = focusAliases.mutationAll;
|
|
546
|
+
export const eventFocusMutation = focusAliases.mutation;
|
|
547
|
+
export const eventFocusLight = focusAliases.light;
|
|
548
|
+
export const eventFocusShadow = focusAliases.shadow;
|
|
549
|
+
export const eventFocusAll = focusAliases.all;
|
|
550
|
+
export const eventFocusThis = focusAliases.this;
|
|
551
|
+
export const eventFocusAppHost = focusAliases.appHost;
|
|
552
|
+
export const eventFocusWindow = focusAliases.window;
|
|
553
|
+
export const eventFocusDocument = focusAliases.document;
|
|
554
|
+
const blurAliases = makeTypedEventAliases<FocusEvent>('blur');
|
|
555
|
+
export const eventBlur = blurAliases.base;
|
|
556
|
+
export const eventBlurDelegateLight = blurAliases.delegateLight;
|
|
557
|
+
export const eventBlurDelegateShadow = blurAliases.delegateShadow;
|
|
558
|
+
export const eventBlurDelegateAll = blurAliases.delegateAll;
|
|
559
|
+
export const eventBlurDelegate = blurAliases.delegate;
|
|
560
|
+
export const eventBlurMutationLight = blurAliases.mutationLight;
|
|
561
|
+
export const eventBlurMutationShadow = blurAliases.mutationShadow;
|
|
562
|
+
export const eventBlurMutationAll = blurAliases.mutationAll;
|
|
563
|
+
export const eventBlurMutation = blurAliases.mutation;
|
|
564
|
+
export const eventBlurLight = blurAliases.light;
|
|
565
|
+
export const eventBlurShadow = blurAliases.shadow;
|
|
566
|
+
export const eventBlurAll = blurAliases.all;
|
|
567
|
+
export const eventBlurThis = blurAliases.this;
|
|
568
|
+
export const eventBlurAppHost = blurAliases.appHost;
|
|
569
|
+
export const eventBlurWindow = blurAliases.window;
|
|
570
|
+
export const eventBlurDocument = blurAliases.document;
|
|
571
|
+
const focusinAliases = makeTypedEventAliases<FocusEvent>('focusin');
|
|
572
|
+
export const eventFocusin = focusinAliases.base;
|
|
573
|
+
export const eventFocusinDelegateLight = focusinAliases.delegateLight;
|
|
574
|
+
export const eventFocusinDelegateShadow = focusinAliases.delegateShadow;
|
|
575
|
+
export const eventFocusinDelegateAll = focusinAliases.delegateAll;
|
|
576
|
+
export const eventFocusinDelegate = focusinAliases.delegate;
|
|
577
|
+
export const eventFocusinMutationLight = focusinAliases.mutationLight;
|
|
578
|
+
export const eventFocusinMutationShadow = focusinAliases.mutationShadow;
|
|
579
|
+
export const eventFocusinMutationAll = focusinAliases.mutationAll;
|
|
580
|
+
export const eventFocusinMutation = focusinAliases.mutation;
|
|
581
|
+
export const eventFocusinLight = focusinAliases.light;
|
|
582
|
+
export const eventFocusinShadow = focusinAliases.shadow;
|
|
583
|
+
export const eventFocusinAll = focusinAliases.all;
|
|
584
|
+
export const eventFocusinThis = focusinAliases.this;
|
|
585
|
+
export const eventFocusinAppHost = focusinAliases.appHost;
|
|
586
|
+
export const eventFocusinWindow = focusinAliases.window;
|
|
587
|
+
export const eventFocusinDocument = focusinAliases.document;
|
|
588
|
+
const focusoutAliases = makeTypedEventAliases<FocusEvent>('focusout');
|
|
589
|
+
export const eventFocusout = focusoutAliases.base;
|
|
590
|
+
export const eventFocusoutDelegateLight = focusoutAliases.delegateLight;
|
|
591
|
+
export const eventFocusoutDelegateShadow = focusoutAliases.delegateShadow;
|
|
592
|
+
export const eventFocusoutDelegateAll = focusoutAliases.delegateAll;
|
|
593
|
+
export const eventFocusoutDelegate = focusoutAliases.delegate;
|
|
594
|
+
export const eventFocusoutMutationLight = focusoutAliases.mutationLight;
|
|
595
|
+
export const eventFocusoutMutationShadow = focusoutAliases.mutationShadow;
|
|
596
|
+
export const eventFocusoutMutationAll = focusoutAliases.mutationAll;
|
|
597
|
+
export const eventFocusoutMutation = focusoutAliases.mutation;
|
|
598
|
+
export const eventFocusoutLight = focusoutAliases.light;
|
|
599
|
+
export const eventFocusoutShadow = focusoutAliases.shadow;
|
|
600
|
+
export const eventFocusoutAll = focusoutAliases.all;
|
|
601
|
+
export const eventFocusoutThis = focusoutAliases.this;
|
|
602
|
+
export const eventFocusoutAppHost = focusoutAliases.appHost;
|
|
603
|
+
export const eventFocusoutWindow = focusoutAliases.window;
|
|
604
|
+
export const eventFocusoutDocument = focusoutAliases.document;
|
|
605
|
+
const dragstartAliases = makeTypedEventAliases<DragEvent>('dragstart');
|
|
606
|
+
export const eventDragstart = dragstartAliases.base;
|
|
607
|
+
export const eventDragstartDelegateLight = dragstartAliases.delegateLight;
|
|
608
|
+
export const eventDragstartDelegateShadow = dragstartAliases.delegateShadow;
|
|
609
|
+
export const eventDragstartDelegateAll = dragstartAliases.delegateAll;
|
|
610
|
+
export const eventDragstartDelegate = dragstartAliases.delegate;
|
|
611
|
+
export const eventDragstartMutationLight = dragstartAliases.mutationLight;
|
|
612
|
+
export const eventDragstartMutationShadow = dragstartAliases.mutationShadow;
|
|
613
|
+
export const eventDragstartMutationAll = dragstartAliases.mutationAll;
|
|
614
|
+
export const eventDragstartMutation = dragstartAliases.mutation;
|
|
615
|
+
export const eventDragstartLight = dragstartAliases.light;
|
|
616
|
+
export const eventDragstartShadow = dragstartAliases.shadow;
|
|
617
|
+
export const eventDragstartAll = dragstartAliases.all;
|
|
618
|
+
export const eventDragstartThis = dragstartAliases.this;
|
|
619
|
+
export const eventDragstartAppHost = dragstartAliases.appHost;
|
|
620
|
+
export const eventDragstartWindow = dragstartAliases.window;
|
|
621
|
+
export const eventDragstartDocument = dragstartAliases.document;
|
|
622
|
+
const dragAliases = makeTypedEventAliases<DragEvent>('drag');
|
|
623
|
+
export const eventDrag = dragAliases.base;
|
|
624
|
+
export const eventDragDelegateLight = dragAliases.delegateLight;
|
|
625
|
+
export const eventDragDelegateShadow = dragAliases.delegateShadow;
|
|
626
|
+
export const eventDragDelegateAll = dragAliases.delegateAll;
|
|
627
|
+
export const eventDragDelegate = dragAliases.delegate;
|
|
628
|
+
export const eventDragMutationLight = dragAliases.mutationLight;
|
|
629
|
+
export const eventDragMutationShadow = dragAliases.mutationShadow;
|
|
630
|
+
export const eventDragMutationAll = dragAliases.mutationAll;
|
|
631
|
+
export const eventDragMutation = dragAliases.mutation;
|
|
632
|
+
export const eventDragLight = dragAliases.light;
|
|
633
|
+
export const eventDragShadow = dragAliases.shadow;
|
|
634
|
+
export const eventDragAll = dragAliases.all;
|
|
635
|
+
export const eventDragThis = dragAliases.this;
|
|
636
|
+
export const eventDragAppHost = dragAliases.appHost;
|
|
637
|
+
export const eventDragWindow = dragAliases.window;
|
|
638
|
+
export const eventDragDocument = dragAliases.document;
|
|
639
|
+
const dragendAliases = makeTypedEventAliases<DragEvent>('dragend');
|
|
640
|
+
export const eventDragend = dragendAliases.base;
|
|
641
|
+
export const eventDragendDelegateLight = dragendAliases.delegateLight;
|
|
642
|
+
export const eventDragendDelegateShadow = dragendAliases.delegateShadow;
|
|
643
|
+
export const eventDragendDelegateAll = dragendAliases.delegateAll;
|
|
644
|
+
export const eventDragendDelegate = dragendAliases.delegate;
|
|
645
|
+
export const eventDragendMutationLight = dragendAliases.mutationLight;
|
|
646
|
+
export const eventDragendMutationShadow = dragendAliases.mutationShadow;
|
|
647
|
+
export const eventDragendMutationAll = dragendAliases.mutationAll;
|
|
648
|
+
export const eventDragendMutation = dragendAliases.mutation;
|
|
649
|
+
export const eventDragendLight = dragendAliases.light;
|
|
650
|
+
export const eventDragendShadow = dragendAliases.shadow;
|
|
651
|
+
export const eventDragendAll = dragendAliases.all;
|
|
652
|
+
export const eventDragendThis = dragendAliases.this;
|
|
653
|
+
export const eventDragendAppHost = dragendAliases.appHost;
|
|
654
|
+
export const eventDragendWindow = dragendAliases.window;
|
|
655
|
+
export const eventDragendDocument = dragendAliases.document;
|
|
656
|
+
const dragenterAliases = makeTypedEventAliases<DragEvent>('dragenter');
|
|
657
|
+
export const eventDragenter = dragenterAliases.base;
|
|
658
|
+
export const eventDragenterDelegateLight = dragenterAliases.delegateLight;
|
|
659
|
+
export const eventDragenterDelegateShadow = dragenterAliases.delegateShadow;
|
|
660
|
+
export const eventDragenterDelegateAll = dragenterAliases.delegateAll;
|
|
661
|
+
export const eventDragenterDelegate = dragenterAliases.delegate;
|
|
662
|
+
export const eventDragenterMutationLight = dragenterAliases.mutationLight;
|
|
663
|
+
export const eventDragenterMutationShadow = dragenterAliases.mutationShadow;
|
|
664
|
+
export const eventDragenterMutationAll = dragenterAliases.mutationAll;
|
|
665
|
+
export const eventDragenterMutation = dragenterAliases.mutation;
|
|
666
|
+
export const eventDragenterLight = dragenterAliases.light;
|
|
667
|
+
export const eventDragenterShadow = dragenterAliases.shadow;
|
|
668
|
+
export const eventDragenterAll = dragenterAliases.all;
|
|
669
|
+
export const eventDragenterThis = dragenterAliases.this;
|
|
670
|
+
export const eventDragenterAppHost = dragenterAliases.appHost;
|
|
671
|
+
export const eventDragenterWindow = dragenterAliases.window;
|
|
672
|
+
export const eventDragenterDocument = dragenterAliases.document;
|
|
673
|
+
const dragleaveAliases = makeTypedEventAliases<DragEvent>('dragleave');
|
|
674
|
+
export const eventDragleave = dragleaveAliases.base;
|
|
675
|
+
export const eventDragleaveDelegateLight = dragleaveAliases.delegateLight;
|
|
676
|
+
export const eventDragleaveDelegateShadow = dragleaveAliases.delegateShadow;
|
|
677
|
+
export const eventDragleaveDelegateAll = dragleaveAliases.delegateAll;
|
|
678
|
+
export const eventDragleaveDelegate = dragleaveAliases.delegate;
|
|
679
|
+
export const eventDragleaveMutationLight = dragleaveAliases.mutationLight;
|
|
680
|
+
export const eventDragleaveMutationShadow = dragleaveAliases.mutationShadow;
|
|
681
|
+
export const eventDragleaveMutationAll = dragleaveAliases.mutationAll;
|
|
682
|
+
export const eventDragleaveMutation = dragleaveAliases.mutation;
|
|
683
|
+
export const eventDragleaveLight = dragleaveAliases.light;
|
|
684
|
+
export const eventDragleaveShadow = dragleaveAliases.shadow;
|
|
685
|
+
export const eventDragleaveAll = dragleaveAliases.all;
|
|
686
|
+
export const eventDragleaveThis = dragleaveAliases.this;
|
|
687
|
+
export const eventDragleaveAppHost = dragleaveAliases.appHost;
|
|
688
|
+
export const eventDragleaveWindow = dragleaveAliases.window;
|
|
689
|
+
export const eventDragleaveDocument = dragleaveAliases.document;
|
|
690
|
+
const dragoverAliases = makeTypedEventAliases<DragEvent>('dragover');
|
|
691
|
+
export const eventDragover = dragoverAliases.base;
|
|
692
|
+
export const eventDragoverDelegateLight = dragoverAliases.delegateLight;
|
|
693
|
+
export const eventDragoverDelegateShadow = dragoverAliases.delegateShadow;
|
|
694
|
+
export const eventDragoverDelegateAll = dragoverAliases.delegateAll;
|
|
695
|
+
export const eventDragoverDelegate = dragoverAliases.delegate;
|
|
696
|
+
export const eventDragoverMutationLight = dragoverAliases.mutationLight;
|
|
697
|
+
export const eventDragoverMutationShadow = dragoverAliases.mutationShadow;
|
|
698
|
+
export const eventDragoverMutationAll = dragoverAliases.mutationAll;
|
|
699
|
+
export const eventDragoverMutation = dragoverAliases.mutation;
|
|
700
|
+
export const eventDragoverLight = dragoverAliases.light;
|
|
701
|
+
export const eventDragoverShadow = dragoverAliases.shadow;
|
|
702
|
+
export const eventDragoverAll = dragoverAliases.all;
|
|
703
|
+
export const eventDragoverThis = dragoverAliases.this;
|
|
704
|
+
export const eventDragoverAppHost = dragoverAliases.appHost;
|
|
705
|
+
export const eventDragoverWindow = dragoverAliases.window;
|
|
706
|
+
export const eventDragoverDocument = dragoverAliases.document;
|
|
707
|
+
const dropAliases = makeTypedEventAliases<DragEvent>('drop');
|
|
708
|
+
export const eventDrop = dropAliases.base;
|
|
709
|
+
export const eventDropDelegateLight = dropAliases.delegateLight;
|
|
710
|
+
export const eventDropDelegateShadow = dropAliases.delegateShadow;
|
|
711
|
+
export const eventDropDelegateAll = dropAliases.delegateAll;
|
|
712
|
+
export const eventDropDelegate = dropAliases.delegate;
|
|
713
|
+
export const eventDropMutationLight = dropAliases.mutationLight;
|
|
714
|
+
export const eventDropMutationShadow = dropAliases.mutationShadow;
|
|
715
|
+
export const eventDropMutationAll = dropAliases.mutationAll;
|
|
716
|
+
export const eventDropMutation = dropAliases.mutation;
|
|
717
|
+
export const eventDropLight = dropAliases.light;
|
|
718
|
+
export const eventDropShadow = dropAliases.shadow;
|
|
719
|
+
export const eventDropAll = dropAliases.all;
|
|
720
|
+
export const eventDropThis = dropAliases.this;
|
|
721
|
+
export const eventDropAppHost = dropAliases.appHost;
|
|
722
|
+
export const eventDropWindow = dropAliases.window;
|
|
723
|
+
export const eventDropDocument = dropAliases.document;
|
|
724
|
+
const touchstartAliases = makeTypedEventAliases<TouchEvent>('touchstart');
|
|
725
|
+
export const eventTouchstart = touchstartAliases.base;
|
|
726
|
+
export const eventTouchstartDelegateLight = touchstartAliases.delegateLight;
|
|
727
|
+
export const eventTouchstartDelegateShadow = touchstartAliases.delegateShadow;
|
|
728
|
+
export const eventTouchstartDelegateAll = touchstartAliases.delegateAll;
|
|
729
|
+
export const eventTouchstartDelegate = touchstartAliases.delegate;
|
|
730
|
+
export const eventTouchstartMutationLight = touchstartAliases.mutationLight;
|
|
731
|
+
export const eventTouchstartMutationShadow = touchstartAliases.mutationShadow;
|
|
732
|
+
export const eventTouchstartMutationAll = touchstartAliases.mutationAll;
|
|
733
|
+
export const eventTouchstartMutation = touchstartAliases.mutation;
|
|
734
|
+
export const eventTouchstartLight = touchstartAliases.light;
|
|
735
|
+
export const eventTouchstartShadow = touchstartAliases.shadow;
|
|
736
|
+
export const eventTouchstartAll = touchstartAliases.all;
|
|
737
|
+
export const eventTouchstartThis = touchstartAliases.this;
|
|
738
|
+
export const eventTouchstartAppHost = touchstartAliases.appHost;
|
|
739
|
+
export const eventTouchstartWindow = touchstartAliases.window;
|
|
740
|
+
export const eventTouchstartDocument = touchstartAliases.document;
|
|
741
|
+
const touchmoveAliases = makeTypedEventAliases<TouchEvent>('touchmove');
|
|
742
|
+
export const eventTouchmove = touchmoveAliases.base;
|
|
743
|
+
export const eventTouchmoveDelegateLight = touchmoveAliases.delegateLight;
|
|
744
|
+
export const eventTouchmoveDelegateShadow = touchmoveAliases.delegateShadow;
|
|
745
|
+
export const eventTouchmoveDelegateAll = touchmoveAliases.delegateAll;
|
|
746
|
+
export const eventTouchmoveDelegate = touchmoveAliases.delegate;
|
|
747
|
+
export const eventTouchmoveMutationLight = touchmoveAliases.mutationLight;
|
|
748
|
+
export const eventTouchmoveMutationShadow = touchmoveAliases.mutationShadow;
|
|
749
|
+
export const eventTouchmoveMutationAll = touchmoveAliases.mutationAll;
|
|
750
|
+
export const eventTouchmoveMutation = touchmoveAliases.mutation;
|
|
751
|
+
export const eventTouchmoveLight = touchmoveAliases.light;
|
|
752
|
+
export const eventTouchmoveShadow = touchmoveAliases.shadow;
|
|
753
|
+
export const eventTouchmoveAll = touchmoveAliases.all;
|
|
754
|
+
export const eventTouchmoveThis = touchmoveAliases.this;
|
|
755
|
+
export const eventTouchmoveAppHost = touchmoveAliases.appHost;
|
|
756
|
+
export const eventTouchmoveWindow = touchmoveAliases.window;
|
|
757
|
+
export const eventTouchmoveDocument = touchmoveAliases.document;
|
|
758
|
+
const touchendAliases = makeTypedEventAliases<TouchEvent>('touchend');
|
|
759
|
+
export const eventTouchend = touchendAliases.base;
|
|
760
|
+
export const eventTouchendDelegateLight = touchendAliases.delegateLight;
|
|
761
|
+
export const eventTouchendDelegateShadow = touchendAliases.delegateShadow;
|
|
762
|
+
export const eventTouchendDelegateAll = touchendAliases.delegateAll;
|
|
763
|
+
export const eventTouchendDelegate = touchendAliases.delegate;
|
|
764
|
+
export const eventTouchendMutationLight = touchendAliases.mutationLight;
|
|
765
|
+
export const eventTouchendMutationShadow = touchendAliases.mutationShadow;
|
|
766
|
+
export const eventTouchendMutationAll = touchendAliases.mutationAll;
|
|
767
|
+
export const eventTouchendMutation = touchendAliases.mutation;
|
|
768
|
+
export const eventTouchendLight = touchendAliases.light;
|
|
769
|
+
export const eventTouchendShadow = touchendAliases.shadow;
|
|
770
|
+
export const eventTouchendAll = touchendAliases.all;
|
|
771
|
+
export const eventTouchendThis = touchendAliases.this;
|
|
772
|
+
export const eventTouchendAppHost = touchendAliases.appHost;
|
|
773
|
+
export const eventTouchendWindow = touchendAliases.window;
|
|
774
|
+
export const eventTouchendDocument = touchendAliases.document;
|
|
775
|
+
const touchcancelAliases = makeTypedEventAliases<TouchEvent>('touchcancel');
|
|
776
|
+
export const eventTouchcancel = touchcancelAliases.base;
|
|
777
|
+
export const eventTouchcancelDelegateLight = touchcancelAliases.delegateLight;
|
|
778
|
+
export const eventTouchcancelDelegateShadow = touchcancelAliases.delegateShadow;
|
|
779
|
+
export const eventTouchcancelDelegateAll = touchcancelAliases.delegateAll;
|
|
780
|
+
export const eventTouchcancelDelegate = touchcancelAliases.delegate;
|
|
781
|
+
export const eventTouchcancelMutationLight = touchcancelAliases.mutationLight;
|
|
782
|
+
export const eventTouchcancelMutationShadow = touchcancelAliases.mutationShadow;
|
|
783
|
+
export const eventTouchcancelMutationAll = touchcancelAliases.mutationAll;
|
|
784
|
+
export const eventTouchcancelMutation = touchcancelAliases.mutation;
|
|
785
|
+
export const eventTouchcancelLight = touchcancelAliases.light;
|
|
786
|
+
export const eventTouchcancelShadow = touchcancelAliases.shadow;
|
|
787
|
+
export const eventTouchcancelAll = touchcancelAliases.all;
|
|
788
|
+
export const eventTouchcancelThis = touchcancelAliases.this;
|
|
789
|
+
export const eventTouchcancelAppHost = touchcancelAliases.appHost;
|
|
790
|
+
export const eventTouchcancelWindow = touchcancelAliases.window;
|
|
791
|
+
export const eventTouchcancelDocument = touchcancelAliases.document;
|
|
792
|
+
const pointerdownAliases = makeTypedEventAliases<PointerEvent>('pointerdown');
|
|
793
|
+
export const eventPointerdown = pointerdownAliases.base;
|
|
794
|
+
export const eventPointerdownDelegateLight = pointerdownAliases.delegateLight;
|
|
795
|
+
export const eventPointerdownDelegateShadow = pointerdownAliases.delegateShadow;
|
|
796
|
+
export const eventPointerdownDelegateAll = pointerdownAliases.delegateAll;
|
|
797
|
+
export const eventPointerdownDelegate = pointerdownAliases.delegate;
|
|
798
|
+
export const eventPointerdownMutationLight = pointerdownAliases.mutationLight;
|
|
799
|
+
export const eventPointerdownMutationShadow = pointerdownAliases.mutationShadow;
|
|
800
|
+
export const eventPointerdownMutationAll = pointerdownAliases.mutationAll;
|
|
801
|
+
export const eventPointerdownMutation = pointerdownAliases.mutation;
|
|
802
|
+
export const eventPointerdownLight = pointerdownAliases.light;
|
|
803
|
+
export const eventPointerdownShadow = pointerdownAliases.shadow;
|
|
804
|
+
export const eventPointerdownAll = pointerdownAliases.all;
|
|
805
|
+
export const eventPointerdownThis = pointerdownAliases.this;
|
|
806
|
+
export const eventPointerdownAppHost = pointerdownAliases.appHost;
|
|
807
|
+
export const eventPointerdownWindow = pointerdownAliases.window;
|
|
808
|
+
export const eventPointerdownDocument = pointerdownAliases.document;
|
|
809
|
+
const pointerupAliases = makeTypedEventAliases<PointerEvent>('pointerup');
|
|
810
|
+
export const eventPointerup = pointerupAliases.base;
|
|
811
|
+
export const eventPointerupDelegateLight = pointerupAliases.delegateLight;
|
|
812
|
+
export const eventPointerupDelegateShadow = pointerupAliases.delegateShadow;
|
|
813
|
+
export const eventPointerupDelegateAll = pointerupAliases.delegateAll;
|
|
814
|
+
export const eventPointerupDelegate = pointerupAliases.delegate;
|
|
815
|
+
export const eventPointerupMutationLight = pointerupAliases.mutationLight;
|
|
816
|
+
export const eventPointerupMutationShadow = pointerupAliases.mutationShadow;
|
|
817
|
+
export const eventPointerupMutationAll = pointerupAliases.mutationAll;
|
|
818
|
+
export const eventPointerupMutation = pointerupAliases.mutation;
|
|
819
|
+
export const eventPointerupLight = pointerupAliases.light;
|
|
820
|
+
export const eventPointerupShadow = pointerupAliases.shadow;
|
|
821
|
+
export const eventPointerupAll = pointerupAliases.all;
|
|
822
|
+
export const eventPointerupThis = pointerupAliases.this;
|
|
823
|
+
export const eventPointerupAppHost = pointerupAliases.appHost;
|
|
824
|
+
export const eventPointerupWindow = pointerupAliases.window;
|
|
825
|
+
export const eventPointerupDocument = pointerupAliases.document;
|
|
826
|
+
const pointermoveAliases = makeTypedEventAliases<PointerEvent>('pointermove');
|
|
827
|
+
export const eventPointermove = pointermoveAliases.base;
|
|
828
|
+
export const eventPointermoveDelegateLight = pointermoveAliases.delegateLight;
|
|
829
|
+
export const eventPointermoveDelegateShadow = pointermoveAliases.delegateShadow;
|
|
830
|
+
export const eventPointermoveDelegateAll = pointermoveAliases.delegateAll;
|
|
831
|
+
export const eventPointermoveDelegate = pointermoveAliases.delegate;
|
|
832
|
+
export const eventPointermoveMutationLight = pointermoveAliases.mutationLight;
|
|
833
|
+
export const eventPointermoveMutationShadow = pointermoveAliases.mutationShadow;
|
|
834
|
+
export const eventPointermoveMutationAll = pointermoveAliases.mutationAll;
|
|
835
|
+
export const eventPointermoveMutation = pointermoveAliases.mutation;
|
|
836
|
+
export const eventPointermoveLight = pointermoveAliases.light;
|
|
837
|
+
export const eventPointermoveShadow = pointermoveAliases.shadow;
|
|
838
|
+
export const eventPointermoveAll = pointermoveAliases.all;
|
|
839
|
+
export const eventPointermoveThis = pointermoveAliases.this;
|
|
840
|
+
export const eventPointermoveAppHost = pointermoveAliases.appHost;
|
|
841
|
+
export const eventPointermoveWindow = pointermoveAliases.window;
|
|
842
|
+
export const eventPointermoveDocument = pointermoveAliases.document;
|
|
843
|
+
const pointeroverAliases = makeTypedEventAliases<PointerEvent>('pointerover');
|
|
844
|
+
export const eventPointerover = pointeroverAliases.base;
|
|
845
|
+
export const eventPointeroverDelegateLight = pointeroverAliases.delegateLight;
|
|
846
|
+
export const eventPointeroverDelegateShadow = pointeroverAliases.delegateShadow;
|
|
847
|
+
export const eventPointeroverDelegateAll = pointeroverAliases.delegateAll;
|
|
848
|
+
export const eventPointeroverDelegate = pointeroverAliases.delegate;
|
|
849
|
+
export const eventPointeroverMutationLight = pointeroverAliases.mutationLight;
|
|
850
|
+
export const eventPointeroverMutationShadow = pointeroverAliases.mutationShadow;
|
|
851
|
+
export const eventPointeroverMutationAll = pointeroverAliases.mutationAll;
|
|
852
|
+
export const eventPointeroverMutation = pointeroverAliases.mutation;
|
|
853
|
+
export const eventPointeroverLight = pointeroverAliases.light;
|
|
854
|
+
export const eventPointeroverShadow = pointeroverAliases.shadow;
|
|
855
|
+
export const eventPointeroverAll = pointeroverAliases.all;
|
|
856
|
+
export const eventPointeroverThis = pointeroverAliases.this;
|
|
857
|
+
export const eventPointeroverAppHost = pointeroverAliases.appHost;
|
|
858
|
+
export const eventPointeroverWindow = pointeroverAliases.window;
|
|
859
|
+
export const eventPointeroverDocument = pointeroverAliases.document;
|
|
860
|
+
const pointeroutAliases = makeTypedEventAliases<PointerEvent>('pointerout');
|
|
861
|
+
export const eventPointerout = pointeroutAliases.base;
|
|
862
|
+
export const eventPointeroutDelegateLight = pointeroutAliases.delegateLight;
|
|
863
|
+
export const eventPointeroutDelegateShadow = pointeroutAliases.delegateShadow;
|
|
864
|
+
export const eventPointeroutDelegateAll = pointeroutAliases.delegateAll;
|
|
865
|
+
export const eventPointeroutDelegate = pointeroutAliases.delegate;
|
|
866
|
+
export const eventPointeroutMutationLight = pointeroutAliases.mutationLight;
|
|
867
|
+
export const eventPointeroutMutationShadow = pointeroutAliases.mutationShadow;
|
|
868
|
+
export const eventPointeroutMutationAll = pointeroutAliases.mutationAll;
|
|
869
|
+
export const eventPointeroutMutation = pointeroutAliases.mutation;
|
|
870
|
+
export const eventPointeroutLight = pointeroutAliases.light;
|
|
871
|
+
export const eventPointeroutShadow = pointeroutAliases.shadow;
|
|
872
|
+
export const eventPointeroutAll = pointeroutAliases.all;
|
|
873
|
+
export const eventPointeroutThis = pointeroutAliases.this;
|
|
874
|
+
export const eventPointeroutAppHost = pointeroutAliases.appHost;
|
|
875
|
+
export const eventPointeroutWindow = pointeroutAliases.window;
|
|
876
|
+
export const eventPointeroutDocument = pointeroutAliases.document;
|
|
877
|
+
const pointerenterAliases = makeTypedEventAliases<PointerEvent>('pointerenter');
|
|
878
|
+
export const eventPointerenter = pointerenterAliases.base;
|
|
879
|
+
export const eventPointerenterDelegateLight = pointerenterAliases.delegateLight;
|
|
880
|
+
export const eventPointerenterDelegateShadow = pointerenterAliases.delegateShadow;
|
|
881
|
+
export const eventPointerenterDelegateAll = pointerenterAliases.delegateAll;
|
|
882
|
+
export const eventPointerenterDelegate = pointerenterAliases.delegate;
|
|
883
|
+
export const eventPointerenterMutationLight = pointerenterAliases.mutationLight;
|
|
884
|
+
export const eventPointerenterMutationShadow = pointerenterAliases.mutationShadow;
|
|
885
|
+
export const eventPointerenterMutationAll = pointerenterAliases.mutationAll;
|
|
886
|
+
export const eventPointerenterMutation = pointerenterAliases.mutation;
|
|
887
|
+
export const eventPointerenterLight = pointerenterAliases.light;
|
|
888
|
+
export const eventPointerenterShadow = pointerenterAliases.shadow;
|
|
889
|
+
export const eventPointerenterAll = pointerenterAliases.all;
|
|
890
|
+
export const eventPointerenterThis = pointerenterAliases.this;
|
|
891
|
+
export const eventPointerenterAppHost = pointerenterAliases.appHost;
|
|
892
|
+
export const eventPointerenterWindow = pointerenterAliases.window;
|
|
893
|
+
export const eventPointerenterDocument = pointerenterAliases.document;
|
|
894
|
+
const pointerleaveAliases = makeTypedEventAliases<PointerEvent>('pointerleave');
|
|
895
|
+
export const eventPointerleave = pointerleaveAliases.base;
|
|
896
|
+
export const eventPointerleaveDelegateLight = pointerleaveAliases.delegateLight;
|
|
897
|
+
export const eventPointerleaveDelegateShadow = pointerleaveAliases.delegateShadow;
|
|
898
|
+
export const eventPointerleaveDelegateAll = pointerleaveAliases.delegateAll;
|
|
899
|
+
export const eventPointerleaveDelegate = pointerleaveAliases.delegate;
|
|
900
|
+
export const eventPointerleaveMutationLight = pointerleaveAliases.mutationLight;
|
|
901
|
+
export const eventPointerleaveMutationShadow = pointerleaveAliases.mutationShadow;
|
|
902
|
+
export const eventPointerleaveMutationAll = pointerleaveAliases.mutationAll;
|
|
903
|
+
export const eventPointerleaveMutation = pointerleaveAliases.mutation;
|
|
904
|
+
export const eventPointerleaveLight = pointerleaveAliases.light;
|
|
905
|
+
export const eventPointerleaveShadow = pointerleaveAliases.shadow;
|
|
906
|
+
export const eventPointerleaveAll = pointerleaveAliases.all;
|
|
907
|
+
export const eventPointerleaveThis = pointerleaveAliases.this;
|
|
908
|
+
export const eventPointerleaveAppHost = pointerleaveAliases.appHost;
|
|
909
|
+
export const eventPointerleaveWindow = pointerleaveAliases.window;
|
|
910
|
+
export const eventPointerleaveDocument = pointerleaveAliases.document;
|
|
911
|
+
const pointercancelAliases = makeTypedEventAliases<PointerEvent>('pointercancel');
|
|
912
|
+
export const eventPointercancel = pointercancelAliases.base;
|
|
913
|
+
export const eventPointercancelDelegateLight = pointercancelAliases.delegateLight;
|
|
914
|
+
export const eventPointercancelDelegateShadow = pointercancelAliases.delegateShadow;
|
|
915
|
+
export const eventPointercancelDelegateAll = pointercancelAliases.delegateAll;
|
|
916
|
+
export const eventPointercancelDelegate = pointercancelAliases.delegate;
|
|
917
|
+
export const eventPointercancelMutationLight = pointercancelAliases.mutationLight;
|
|
918
|
+
export const eventPointercancelMutationShadow = pointercancelAliases.mutationShadow;
|
|
919
|
+
export const eventPointercancelMutationAll = pointercancelAliases.mutationAll;
|
|
920
|
+
export const eventPointercancelMutation = pointercancelAliases.mutation;
|
|
921
|
+
export const eventPointercancelLight = pointercancelAliases.light;
|
|
922
|
+
export const eventPointercancelShadow = pointercancelAliases.shadow;
|
|
923
|
+
export const eventPointercancelAll = pointercancelAliases.all;
|
|
924
|
+
export const eventPointercancelThis = pointercancelAliases.this;
|
|
925
|
+
export const eventPointercancelAppHost = pointercancelAliases.appHost;
|
|
926
|
+
export const eventPointercancelWindow = pointercancelAliases.window;
|
|
927
|
+
export const eventPointercancelDocument = pointercancelAliases.document;
|
|
928
|
+
const copyAliases = makeTypedEventAliases<ClipboardEvent>('copy');
|
|
929
|
+
export const eventCopy = copyAliases.base;
|
|
930
|
+
export const eventCopyDelegateLight = copyAliases.delegateLight;
|
|
931
|
+
export const eventCopyDelegateShadow = copyAliases.delegateShadow;
|
|
932
|
+
export const eventCopyDelegateAll = copyAliases.delegateAll;
|
|
933
|
+
export const eventCopyDelegate = copyAliases.delegate;
|
|
934
|
+
export const eventCopyMutationLight = copyAliases.mutationLight;
|
|
935
|
+
export const eventCopyMutationShadow = copyAliases.mutationShadow;
|
|
936
|
+
export const eventCopyMutationAll = copyAliases.mutationAll;
|
|
937
|
+
export const eventCopyMutation = copyAliases.mutation;
|
|
938
|
+
export const eventCopyLight = copyAliases.light;
|
|
939
|
+
export const eventCopyShadow = copyAliases.shadow;
|
|
940
|
+
export const eventCopyAll = copyAliases.all;
|
|
941
|
+
export const eventCopyThis = copyAliases.this;
|
|
942
|
+
export const eventCopyAppHost = copyAliases.appHost;
|
|
943
|
+
export const eventCopyWindow = copyAliases.window;
|
|
944
|
+
export const eventCopyDocument = copyAliases.document;
|
|
945
|
+
const cutAliases = makeTypedEventAliases<ClipboardEvent>('cut');
|
|
946
|
+
export const eventCut = cutAliases.base;
|
|
947
|
+
export const eventCutDelegateLight = cutAliases.delegateLight;
|
|
948
|
+
export const eventCutDelegateShadow = cutAliases.delegateShadow;
|
|
949
|
+
export const eventCutDelegateAll = cutAliases.delegateAll;
|
|
950
|
+
export const eventCutDelegate = cutAliases.delegate;
|
|
951
|
+
export const eventCutMutationLight = cutAliases.mutationLight;
|
|
952
|
+
export const eventCutMutationShadow = cutAliases.mutationShadow;
|
|
953
|
+
export const eventCutMutationAll = cutAliases.mutationAll;
|
|
954
|
+
export const eventCutMutation = cutAliases.mutation;
|
|
955
|
+
export const eventCutLight = cutAliases.light;
|
|
956
|
+
export const eventCutShadow = cutAliases.shadow;
|
|
957
|
+
export const eventCutAll = cutAliases.all;
|
|
958
|
+
export const eventCutThis = cutAliases.this;
|
|
959
|
+
export const eventCutAppHost = cutAliases.appHost;
|
|
960
|
+
export const eventCutWindow = cutAliases.window;
|
|
961
|
+
export const eventCutDocument = cutAliases.document;
|
|
962
|
+
const pasteAliases = makeTypedEventAliases<ClipboardEvent>('paste');
|
|
963
|
+
export const eventPaste = pasteAliases.base;
|
|
964
|
+
export const eventPasteDelegateLight = pasteAliases.delegateLight;
|
|
965
|
+
export const eventPasteDelegateShadow = pasteAliases.delegateShadow;
|
|
966
|
+
export const eventPasteDelegateAll = pasteAliases.delegateAll;
|
|
967
|
+
export const eventPasteDelegate = pasteAliases.delegate;
|
|
968
|
+
export const eventPasteMutationLight = pasteAliases.mutationLight;
|
|
969
|
+
export const eventPasteMutationShadow = pasteAliases.mutationShadow;
|
|
970
|
+
export const eventPasteMutationAll = pasteAliases.mutationAll;
|
|
971
|
+
export const eventPasteMutation = pasteAliases.mutation;
|
|
972
|
+
export const eventPasteLight = pasteAliases.light;
|
|
973
|
+
export const eventPasteShadow = pasteAliases.shadow;
|
|
974
|
+
export const eventPasteAll = pasteAliases.all;
|
|
975
|
+
export const eventPasteThis = pasteAliases.this;
|
|
976
|
+
export const eventPasteAppHost = pasteAliases.appHost;
|
|
977
|
+
export const eventPasteWindow = pasteAliases.window;
|
|
978
|
+
export const eventPasteDocument = pasteAliases.document;
|
|
979
|
+
const animationstartAliases = makeTypedEventAliases<AnimationEvent>('animationstart');
|
|
980
|
+
export const eventAnimationstart = animationstartAliases.base;
|
|
981
|
+
export const eventAnimationstartDelegateLight = animationstartAliases.delegateLight;
|
|
982
|
+
export const eventAnimationstartDelegateShadow = animationstartAliases.delegateShadow;
|
|
983
|
+
export const eventAnimationstartDelegateAll = animationstartAliases.delegateAll;
|
|
984
|
+
export const eventAnimationstartDelegate = animationstartAliases.delegate;
|
|
985
|
+
export const eventAnimationstartMutationLight = animationstartAliases.mutationLight;
|
|
986
|
+
export const eventAnimationstartMutationShadow = animationstartAliases.mutationShadow;
|
|
987
|
+
export const eventAnimationstartMutationAll = animationstartAliases.mutationAll;
|
|
988
|
+
export const eventAnimationstartMutation = animationstartAliases.mutation;
|
|
989
|
+
export const eventAnimationstartLight = animationstartAliases.light;
|
|
990
|
+
export const eventAnimationstartShadow = animationstartAliases.shadow;
|
|
991
|
+
export const eventAnimationstartAll = animationstartAliases.all;
|
|
992
|
+
export const eventAnimationstartThis = animationstartAliases.this;
|
|
993
|
+
export const eventAnimationstartAppHost = animationstartAliases.appHost;
|
|
994
|
+
export const eventAnimationstartWindow = animationstartAliases.window;
|
|
995
|
+
export const eventAnimationstartDocument = animationstartAliases.document;
|
|
996
|
+
const animationendAliases = makeTypedEventAliases<AnimationEvent>('animationend');
|
|
997
|
+
export const eventAnimationend = animationendAliases.base;
|
|
998
|
+
export const eventAnimationendDelegateLight = animationendAliases.delegateLight;
|
|
999
|
+
export const eventAnimationendDelegateShadow = animationendAliases.delegateShadow;
|
|
1000
|
+
export const eventAnimationendDelegateAll = animationendAliases.delegateAll;
|
|
1001
|
+
export const eventAnimationendDelegate = animationendAliases.delegate;
|
|
1002
|
+
export const eventAnimationendMutationLight = animationendAliases.mutationLight;
|
|
1003
|
+
export const eventAnimationendMutationShadow = animationendAliases.mutationShadow;
|
|
1004
|
+
export const eventAnimationendMutationAll = animationendAliases.mutationAll;
|
|
1005
|
+
export const eventAnimationendMutation = animationendAliases.mutation;
|
|
1006
|
+
export const eventAnimationendLight = animationendAliases.light;
|
|
1007
|
+
export const eventAnimationendShadow = animationendAliases.shadow;
|
|
1008
|
+
export const eventAnimationendAll = animationendAliases.all;
|
|
1009
|
+
export const eventAnimationendThis = animationendAliases.this;
|
|
1010
|
+
export const eventAnimationendAppHost = animationendAliases.appHost;
|
|
1011
|
+
export const eventAnimationendWindow = animationendAliases.window;
|
|
1012
|
+
export const eventAnimationendDocument = animationendAliases.document;
|
|
1013
|
+
const animationiterationAliases = makeTypedEventAliases<AnimationEvent>('animationiteration');
|
|
1014
|
+
export const eventAnimationiteration = animationiterationAliases.base;
|
|
1015
|
+
export const eventAnimationiterationDelegateLight = animationiterationAliases.delegateLight;
|
|
1016
|
+
export const eventAnimationiterationDelegateShadow = animationiterationAliases.delegateShadow;
|
|
1017
|
+
export const eventAnimationiterationDelegateAll = animationiterationAliases.delegateAll;
|
|
1018
|
+
export const eventAnimationiterationDelegate = animationiterationAliases.delegate;
|
|
1019
|
+
export const eventAnimationiterationMutationLight = animationiterationAliases.mutationLight;
|
|
1020
|
+
export const eventAnimationiterationMutationShadow = animationiterationAliases.mutationShadow;
|
|
1021
|
+
export const eventAnimationiterationMutationAll = animationiterationAliases.mutationAll;
|
|
1022
|
+
export const eventAnimationiterationMutation = animationiterationAliases.mutation;
|
|
1023
|
+
export const eventAnimationiterationLight = animationiterationAliases.light;
|
|
1024
|
+
export const eventAnimationiterationShadow = animationiterationAliases.shadow;
|
|
1025
|
+
export const eventAnimationiterationAll = animationiterationAliases.all;
|
|
1026
|
+
export const eventAnimationiterationThis = animationiterationAliases.this;
|
|
1027
|
+
export const eventAnimationiterationAppHost = animationiterationAliases.appHost;
|
|
1028
|
+
export const eventAnimationiterationWindow = animationiterationAliases.window;
|
|
1029
|
+
export const eventAnimationiterationDocument = animationiterationAliases.document;
|
|
1030
|
+
const animationcancelAliases = makeTypedEventAliases<AnimationEvent>('animationcancel');
|
|
1031
|
+
export const eventAnimationcancel = animationcancelAliases.base;
|
|
1032
|
+
export const eventAnimationcancelDelegateLight = animationcancelAliases.delegateLight;
|
|
1033
|
+
export const eventAnimationcancelDelegateShadow = animationcancelAliases.delegateShadow;
|
|
1034
|
+
export const eventAnimationcancelDelegateAll = animationcancelAliases.delegateAll;
|
|
1035
|
+
export const eventAnimationcancelDelegate = animationcancelAliases.delegate;
|
|
1036
|
+
export const eventAnimationcancelMutationLight = animationcancelAliases.mutationLight;
|
|
1037
|
+
export const eventAnimationcancelMutationShadow = animationcancelAliases.mutationShadow;
|
|
1038
|
+
export const eventAnimationcancelMutationAll = animationcancelAliases.mutationAll;
|
|
1039
|
+
export const eventAnimationcancelMutation = animationcancelAliases.mutation;
|
|
1040
|
+
export const eventAnimationcancelLight = animationcancelAliases.light;
|
|
1041
|
+
export const eventAnimationcancelShadow = animationcancelAliases.shadow;
|
|
1042
|
+
export const eventAnimationcancelAll = animationcancelAliases.all;
|
|
1043
|
+
export const eventAnimationcancelThis = animationcancelAliases.this;
|
|
1044
|
+
export const eventAnimationcancelAppHost = animationcancelAliases.appHost;
|
|
1045
|
+
export const eventAnimationcancelWindow = animationcancelAliases.window;
|
|
1046
|
+
export const eventAnimationcancelDocument = animationcancelAliases.document;
|
|
1047
|
+
const transitionstartAliases = makeTypedEventAliases<TransitionEvent>('transitionstart');
|
|
1048
|
+
export const eventTransitionstart = transitionstartAliases.base;
|
|
1049
|
+
export const eventTransitionstartDelegateLight = transitionstartAliases.delegateLight;
|
|
1050
|
+
export const eventTransitionstartDelegateShadow = transitionstartAliases.delegateShadow;
|
|
1051
|
+
export const eventTransitionstartDelegateAll = transitionstartAliases.delegateAll;
|
|
1052
|
+
export const eventTransitionstartDelegate = transitionstartAliases.delegate;
|
|
1053
|
+
export const eventTransitionstartMutationLight = transitionstartAliases.mutationLight;
|
|
1054
|
+
export const eventTransitionstartMutationShadow = transitionstartAliases.mutationShadow;
|
|
1055
|
+
export const eventTransitionstartMutationAll = transitionstartAliases.mutationAll;
|
|
1056
|
+
export const eventTransitionstartMutation = transitionstartAliases.mutation;
|
|
1057
|
+
export const eventTransitionstartLight = transitionstartAliases.light;
|
|
1058
|
+
export const eventTransitionstartShadow = transitionstartAliases.shadow;
|
|
1059
|
+
export const eventTransitionstartAll = transitionstartAliases.all;
|
|
1060
|
+
export const eventTransitionstartThis = transitionstartAliases.this;
|
|
1061
|
+
export const eventTransitionstartAppHost = transitionstartAliases.appHost;
|
|
1062
|
+
export const eventTransitionstartWindow = transitionstartAliases.window;
|
|
1063
|
+
export const eventTransitionstartDocument = transitionstartAliases.document;
|
|
1064
|
+
const transitionendAliases = makeTypedEventAliases<TransitionEvent>('transitionend');
|
|
1065
|
+
export const eventTransitionend = transitionendAliases.base;
|
|
1066
|
+
export const eventTransitionendDelegateLight = transitionendAliases.delegateLight;
|
|
1067
|
+
export const eventTransitionendDelegateShadow = transitionendAliases.delegateShadow;
|
|
1068
|
+
export const eventTransitionendDelegateAll = transitionendAliases.delegateAll;
|
|
1069
|
+
export const eventTransitionendDelegate = transitionendAliases.delegate;
|
|
1070
|
+
export const eventTransitionendMutationLight = transitionendAliases.mutationLight;
|
|
1071
|
+
export const eventTransitionendMutationShadow = transitionendAliases.mutationShadow;
|
|
1072
|
+
export const eventTransitionendMutationAll = transitionendAliases.mutationAll;
|
|
1073
|
+
export const eventTransitionendMutation = transitionendAliases.mutation;
|
|
1074
|
+
export const eventTransitionendLight = transitionendAliases.light;
|
|
1075
|
+
export const eventTransitionendShadow = transitionendAliases.shadow;
|
|
1076
|
+
export const eventTransitionendAll = transitionendAliases.all;
|
|
1077
|
+
export const eventTransitionendThis = transitionendAliases.this;
|
|
1078
|
+
export const eventTransitionendAppHost = transitionendAliases.appHost;
|
|
1079
|
+
export const eventTransitionendWindow = transitionendAliases.window;
|
|
1080
|
+
export const eventTransitionendDocument = transitionendAliases.document;
|
|
1081
|
+
const transitioncancelAliases = makeTypedEventAliases<TransitionEvent>('transitioncancel');
|
|
1082
|
+
export const eventTransitioncancel = transitioncancelAliases.base;
|
|
1083
|
+
export const eventTransitioncancelDelegateLight = transitioncancelAliases.delegateLight;
|
|
1084
|
+
export const eventTransitioncancelDelegateShadow = transitioncancelAliases.delegateShadow;
|
|
1085
|
+
export const eventTransitioncancelDelegateAll = transitioncancelAliases.delegateAll;
|
|
1086
|
+
export const eventTransitioncancelDelegate = transitioncancelAliases.delegate;
|
|
1087
|
+
export const eventTransitioncancelMutationLight = transitioncancelAliases.mutationLight;
|
|
1088
|
+
export const eventTransitioncancelMutationShadow = transitioncancelAliases.mutationShadow;
|
|
1089
|
+
export const eventTransitioncancelMutationAll = transitioncancelAliases.mutationAll;
|
|
1090
|
+
export const eventTransitioncancelMutation = transitioncancelAliases.mutation;
|
|
1091
|
+
export const eventTransitioncancelLight = transitioncancelAliases.light;
|
|
1092
|
+
export const eventTransitioncancelShadow = transitioncancelAliases.shadow;
|
|
1093
|
+
export const eventTransitioncancelAll = transitioncancelAliases.all;
|
|
1094
|
+
export const eventTransitioncancelThis = transitioncancelAliases.this;
|
|
1095
|
+
export const eventTransitioncancelAppHost = transitioncancelAliases.appHost;
|
|
1096
|
+
export const eventTransitioncancelWindow = transitioncancelAliases.window;
|
|
1097
|
+
export const eventTransitioncancelDocument = transitioncancelAliases.document;
|
|
1098
|
+
const transitionrunAliases = makeTypedEventAliases<TransitionEvent>('transitionrun');
|
|
1099
|
+
export const eventTransitionrun = transitionrunAliases.base;
|
|
1100
|
+
export const eventTransitionrunDelegateLight = transitionrunAliases.delegateLight;
|
|
1101
|
+
export const eventTransitionrunDelegateShadow = transitionrunAliases.delegateShadow;
|
|
1102
|
+
export const eventTransitionrunDelegateAll = transitionrunAliases.delegateAll;
|
|
1103
|
+
export const eventTransitionrunDelegate = transitionrunAliases.delegate;
|
|
1104
|
+
export const eventTransitionrunMutationLight = transitionrunAliases.mutationLight;
|
|
1105
|
+
export const eventTransitionrunMutationShadow = transitionrunAliases.mutationShadow;
|
|
1106
|
+
export const eventTransitionrunMutationAll = transitionrunAliases.mutationAll;
|
|
1107
|
+
export const eventTransitionrunMutation = transitionrunAliases.mutation;
|
|
1108
|
+
export const eventTransitionrunLight = transitionrunAliases.light;
|
|
1109
|
+
export const eventTransitionrunShadow = transitionrunAliases.shadow;
|
|
1110
|
+
export const eventTransitionrunAll = transitionrunAliases.all;
|
|
1111
|
+
export const eventTransitionrunThis = transitionrunAliases.this;
|
|
1112
|
+
export const eventTransitionrunAppHost = transitionrunAliases.appHost;
|
|
1113
|
+
export const eventTransitionrunWindow = transitionrunAliases.window;
|
|
1114
|
+
export const eventTransitionrunDocument = transitionrunAliases.document;
|
|
1115
|
+
const scrollAliases = makeTypedEventAliases<Event>('scroll');
|
|
1116
|
+
export const eventScroll = scrollAliases.base;
|
|
1117
|
+
export const eventScrollDelegateLight = scrollAliases.delegateLight;
|
|
1118
|
+
export const eventScrollDelegateShadow = scrollAliases.delegateShadow;
|
|
1119
|
+
export const eventScrollDelegateAll = scrollAliases.delegateAll;
|
|
1120
|
+
export const eventScrollDelegate = scrollAliases.delegate;
|
|
1121
|
+
export const eventScrollMutationLight = scrollAliases.mutationLight;
|
|
1122
|
+
export const eventScrollMutationShadow = scrollAliases.mutationShadow;
|
|
1123
|
+
export const eventScrollMutationAll = scrollAliases.mutationAll;
|
|
1124
|
+
export const eventScrollMutation = scrollAliases.mutation;
|
|
1125
|
+
export const eventScrollLight = scrollAliases.light;
|
|
1126
|
+
export const eventScrollShadow = scrollAliases.shadow;
|
|
1127
|
+
export const eventScrollAll = scrollAliases.all;
|
|
1128
|
+
export const eventScrollThis = scrollAliases.this;
|
|
1129
|
+
export const eventScrollAppHost = scrollAliases.appHost;
|
|
1130
|
+
export const eventScrollWindow = scrollAliases.window;
|
|
1131
|
+
export const eventScrollDocument = scrollAliases.document;
|
|
1132
|
+
const resizeAliases = makeTypedEventAliases<UIEvent>('resize');
|
|
1133
|
+
export const eventResize = resizeAliases.base;
|
|
1134
|
+
export const eventResizeDelegateLight = resizeAliases.delegateLight;
|
|
1135
|
+
export const eventResizeDelegateShadow = resizeAliases.delegateShadow;
|
|
1136
|
+
export const eventResizeDelegateAll = resizeAliases.delegateAll;
|
|
1137
|
+
export const eventResizeDelegate = resizeAliases.delegate;
|
|
1138
|
+
export const eventResizeMutationLight = resizeAliases.mutationLight;
|
|
1139
|
+
export const eventResizeMutationShadow = resizeAliases.mutationShadow;
|
|
1140
|
+
export const eventResizeMutationAll = resizeAliases.mutationAll;
|
|
1141
|
+
export const eventResizeMutation = resizeAliases.mutation;
|
|
1142
|
+
export const eventResizeLight = resizeAliases.light;
|
|
1143
|
+
export const eventResizeShadow = resizeAliases.shadow;
|
|
1144
|
+
export const eventResizeAll = resizeAliases.all;
|
|
1145
|
+
export const eventResizeThis = resizeAliases.this;
|
|
1146
|
+
export const eventResizeAppHost = resizeAliases.appHost;
|
|
1147
|
+
export const eventResizeWindow = resizeAliases.window;
|
|
1148
|
+
export const eventResizeDocument = resizeAliases.document;
|
|
1149
|
+
const loadAliases = makeTypedEventAliases<Event>('load');
|
|
1150
|
+
export const eventLoad = loadAliases.base;
|
|
1151
|
+
export const eventLoadDelegateLight = loadAliases.delegateLight;
|
|
1152
|
+
export const eventLoadDelegateShadow = loadAliases.delegateShadow;
|
|
1153
|
+
export const eventLoadDelegateAll = loadAliases.delegateAll;
|
|
1154
|
+
export const eventLoadDelegate = loadAliases.delegate;
|
|
1155
|
+
export const eventLoadMutationLight = loadAliases.mutationLight;
|
|
1156
|
+
export const eventLoadMutationShadow = loadAliases.mutationShadow;
|
|
1157
|
+
export const eventLoadMutationAll = loadAliases.mutationAll;
|
|
1158
|
+
export const eventLoadMutation = loadAliases.mutation;
|
|
1159
|
+
export const eventLoadLight = loadAliases.light;
|
|
1160
|
+
export const eventLoadShadow = loadAliases.shadow;
|
|
1161
|
+
export const eventLoadAll = loadAliases.all;
|
|
1162
|
+
export const eventLoadThis = loadAliases.this;
|
|
1163
|
+
export const eventLoadAppHost = loadAliases.appHost;
|
|
1164
|
+
export const eventLoadWindow = loadAliases.window;
|
|
1165
|
+
export const eventLoadDocument = loadAliases.document;
|
|
1166
|
+
const errorAliases = makeTypedEventAliases<Event>('error');
|
|
1167
|
+
export const eventError = errorAliases.base;
|
|
1168
|
+
export const eventErrorDelegateLight = errorAliases.delegateLight;
|
|
1169
|
+
export const eventErrorDelegateShadow = errorAliases.delegateShadow;
|
|
1170
|
+
export const eventErrorDelegateAll = errorAliases.delegateAll;
|
|
1171
|
+
export const eventErrorDelegate = errorAliases.delegate;
|
|
1172
|
+
export const eventErrorMutationLight = errorAliases.mutationLight;
|
|
1173
|
+
export const eventErrorMutationShadow = errorAliases.mutationShadow;
|
|
1174
|
+
export const eventErrorMutationAll = errorAliases.mutationAll;
|
|
1175
|
+
export const eventErrorMutation = errorAliases.mutation;
|
|
1176
|
+
export const eventErrorLight = errorAliases.light;
|
|
1177
|
+
export const eventErrorShadow = errorAliases.shadow;
|
|
1178
|
+
export const eventErrorAll = errorAliases.all;
|
|
1179
|
+
export const eventErrorThis = errorAliases.this;
|
|
1180
|
+
export const eventErrorAppHost = errorAliases.appHost;
|
|
1181
|
+
export const eventErrorWindow = errorAliases.window;
|
|
1182
|
+
export const eventErrorDocument = errorAliases.document;
|
|
1183
|
+
const toggleAliases = makeTypedEventAliases<Event>('toggle');
|
|
1184
|
+
export const eventToggle = toggleAliases.base;
|
|
1185
|
+
export const eventToggleDelegateLight = toggleAliases.delegateLight;
|
|
1186
|
+
export const eventToggleDelegateShadow = toggleAliases.delegateShadow;
|
|
1187
|
+
export const eventToggleDelegateAll = toggleAliases.delegateAll;
|
|
1188
|
+
export const eventToggleDelegate = toggleAliases.delegate;
|
|
1189
|
+
export const eventToggleMutationLight = toggleAliases.mutationLight;
|
|
1190
|
+
export const eventToggleMutationShadow = toggleAliases.mutationShadow;
|
|
1191
|
+
export const eventToggleMutationAll = toggleAliases.mutationAll;
|
|
1192
|
+
export const eventToggleMutation = toggleAliases.mutation;
|
|
1193
|
+
export const eventToggleLight = toggleAliases.light;
|
|
1194
|
+
export const eventToggleShadow = toggleAliases.shadow;
|
|
1195
|
+
export const eventToggleAll = toggleAliases.all;
|
|
1196
|
+
export const eventToggleThis = toggleAliases.this;
|
|
1197
|
+
export const eventToggleAppHost = toggleAliases.appHost;
|
|
1198
|
+
export const eventToggleWindow = toggleAliases.window;
|
|
1199
|
+
export const eventToggleDocument = toggleAliases.document;
|
|
136
1200
|
export const getAddEventListenerMetadata = (target: any): AddEventListenerMetadata<Event>[] | undefined => {
|
|
137
1201
|
const constructor = target instanceof Function ? target : target.constructor;
|
|
138
1202
|
return ReflectUtils.getMetadata(ADD_EVENT_LISTENER_METADATA_KEY, constructor);
|
|
139
1203
|
};
|
|
1204
|
+
|
|
1205
|
+
// ─────────────────────────────────────────────────────────────────────────────
|
|
1206
|
+
// EventListenerLifeCycler
|
|
1207
|
+
// ─────────────────────────────────────────────────────────────────────────────
|
|
1208
|
+
import { ElementDefineLifeCycler, MutationObserverSetEntry, OnConnectedResult } from '../types';
|
|
1209
|
+
import { Subject } from '@dooboostore/core';
|
|
1210
|
+
import { debounceTime, distinctUntilChanged, throttleTime } from '@dooboostore/core/message/operators';
|
|
1211
|
+
import { SwcUtils } from '../utils/Utils';
|
|
1212
|
+
import { buildSwcParameterArgs } from './parameter';
|
|
1213
|
+
|
|
1214
|
+
export interface BoundListenerEntry {
|
|
1215
|
+
target: EventTarget;
|
|
1216
|
+
type: string;
|
|
1217
|
+
handler: EventListener;
|
|
1218
|
+
options: AddEventListenerOptions;
|
|
1219
|
+
onRemoves?: Array<{ fn: (target: EventTarget, optionValue: unknown) => void; opts: unknown }>;
|
|
1220
|
+
subscription?: { unsubscribe: () => void };
|
|
1221
|
+
meta?: AddEventListenerMetadata<Event>;
|
|
1222
|
+
}
|
|
1223
|
+
|
|
1224
|
+
export class EventListenerLifeCycler implements ElementDefineLifeCycler {
|
|
1225
|
+
/** 인스턴스별 boundListeners 상태 (시클러는 elementDefine 시 1회 생성되어 공유되므로) */
|
|
1226
|
+
private readonly boundListenersMap = new WeakMap<Element, BoundListenerEntry[]>();
|
|
1227
|
+
/** 인스턴스별 delegate:'mutation' 바인딩 추적 WeakSet — MutationObserverLifeCycler 에서 참조 */
|
|
1228
|
+
private readonly eventBoundSetsMap = new WeakMap<Element, Map<AddEventListenerMetadata, WeakSet<Element>>>();
|
|
1229
|
+
|
|
1230
|
+
// ── 외부(MutationObserverLifeCycler)에서 직접 사용하는 공개 헬퍼 ──
|
|
1231
|
+
|
|
1232
|
+
/** 인스턴스별 boundListeners 를 반환한다 (없으면 생성). */
|
|
1233
|
+
getBoundListeners(inst: Element): BoundListenerEntry[] {
|
|
1234
|
+
let list = this.boundListenersMap.get(inst);
|
|
1235
|
+
if (!list) { list = []; this.boundListenersMap.set(inst, list); }
|
|
1236
|
+
return list;
|
|
1237
|
+
}
|
|
1238
|
+
|
|
1239
|
+
/** 인스턴스별 eventBoundSets 를 반환한다 (없으면 생성). */
|
|
1240
|
+
getEventBoundSets(inst: Element): Map<AddEventListenerMetadata, WeakSet<Element>> {
|
|
1241
|
+
let map = this.eventBoundSetsMap.get(inst);
|
|
1242
|
+
if (!map) { map = new Map(); this.eventBoundSetsMap.set(inst, map); }
|
|
1243
|
+
return map;
|
|
1244
|
+
}
|
|
1245
|
+
|
|
1246
|
+
/**
|
|
1247
|
+
* target 에 meta 이벤트를 직접 바인딩한다.
|
|
1248
|
+
* delegate:'mutation' 초기/동적 바인딩에서 호출된다.
|
|
1249
|
+
*/
|
|
1250
|
+
bindDirect(helperHostSet: HelperHostSet, target: EventTarget, meta: AddEventListenerMetadata): void {
|
|
1251
|
+
const inst = helperHostSet.$this;
|
|
1252
|
+
const currentWin = helperHostSet.$w;
|
|
1253
|
+
const { type, options } = meta;
|
|
1254
|
+
const opts = { capture: options.capture, once: options.once, passive: options.passive };
|
|
1255
|
+
|
|
1256
|
+
const handler = async (event: Event) => {
|
|
1257
|
+
if (options.filter) {
|
|
1258
|
+
const helper = SwcUtils.getHelperAndHostSet(currentWin, target as HTMLElement);
|
|
1259
|
+
if (!options.filter(event, { currentThis: inst, helper })) return;
|
|
1260
|
+
}
|
|
1261
|
+
if (options.stopPropagation) event.stopPropagation();
|
|
1262
|
+
if (options.stopImmediatePropagation) event.stopImmediatePropagation();
|
|
1263
|
+
if (options.preventDefault) event.preventDefault();
|
|
1264
|
+
const currentHostSet = SwcUtils.getHostSet(inst);
|
|
1265
|
+
const legacyArgs = [event, { currentHostSet, $matchedElement: event.currentTarget }, { event, ...currentHostSet, $el: target, $root: target }];
|
|
1266
|
+
const currentHelperSet = SwcUtils.getHelperSet(currentWin);
|
|
1267
|
+
const currentHelperHostSet = { ...currentHelperSet, ...currentHostSet, $this: inst };
|
|
1268
|
+
const args = buildSwcParameterArgs(inst, meta.propertyKey, {
|
|
1269
|
+
event,
|
|
1270
|
+
matched: event.currentTarget,
|
|
1271
|
+
hostSet: currentHostSet,
|
|
1272
|
+
helperHostSet: currentHelperHostSet,
|
|
1273
|
+
helperSet: currentHelperSet
|
|
1274
|
+
}, legacyArgs);
|
|
1275
|
+
await inst[meta.propertyKey](...args);
|
|
1276
|
+
};
|
|
1277
|
+
|
|
1278
|
+
const eventSubject = new Subject<Event>();
|
|
1279
|
+
let eventStream: any = eventSubject;
|
|
1280
|
+
if (options.debounceTime && options.debounceTime > 0)
|
|
1281
|
+
eventStream = eventStream.pipe(debounceTime(options.debounceTime));
|
|
1282
|
+
if (options.throttleTime && options.throttleTime > 0)
|
|
1283
|
+
eventStream = eventStream.pipe(throttleTime(options.throttleTime));
|
|
1284
|
+
if (options.distinctUntilChanged !== undefined && options.distinctUntilChanged !== false) {
|
|
1285
|
+
eventStream = typeof options.distinctUntilChanged === 'function'
|
|
1286
|
+
? eventStream.pipe(distinctUntilChanged(options.distinctUntilChanged))
|
|
1287
|
+
: eventStream.pipe(distinctUntilChanged());
|
|
1288
|
+
}
|
|
1289
|
+
|
|
1290
|
+
const subscription = eventStream.subscribe({
|
|
1291
|
+
next: (e: Event) => handler(e).catch((err: any) => console.error('Event handler error:', err)),
|
|
1292
|
+
error: (err: any) => console.error('Event stream error:', err),
|
|
1293
|
+
});
|
|
1294
|
+
|
|
1295
|
+
const wrappedHandler = (event: Event) => eventSubject.next(event);
|
|
1296
|
+
target.addEventListener(type, wrappedHandler, opts);
|
|
1297
|
+
|
|
1298
|
+
const onRemoves: Array<{ fn: any; opts: any }> =
|
|
1299
|
+
options.removeListener ? [{ fn: options.removeListener, opts: options }] : [];
|
|
1300
|
+
this.getBoundListeners(inst).push({ target, type, handler: wrappedHandler, options: opts, subscription, onRemoves, meta });
|
|
1301
|
+
}
|
|
1302
|
+
|
|
1303
|
+
/** target + meta 조합 리스너를 제거한다. MutationObserver 추적 요소 제거 시 호출. */
|
|
1304
|
+
unbindDirect(helperHostSet: HelperHostSet, target: EventTarget, meta: AddEventListenerMetadata): void {
|
|
1305
|
+
const inst = helperHostSet.$this;
|
|
1306
|
+
const list = this.getBoundListeners(inst);
|
|
1307
|
+
for (let i = list.length - 1; i >= 0; i--) {
|
|
1308
|
+
const l = list[i];
|
|
1309
|
+
if (l.target === target && l.type === meta.type && l.meta === meta) {
|
|
1310
|
+
try { l.target.removeEventListener(l.type, l.handler, l.options); l.subscription?.unsubscribe?.(); }
|
|
1311
|
+
catch (e) { console.error('[SWC] unbindDirect error:', e); }
|
|
1312
|
+
for (const r of l.onRemoves ?? []) {
|
|
1313
|
+
try { r.fn(l.target, r.opts); } catch (e) { console.error('[SWC] unbindDirect removeListener error:', e); }
|
|
1314
|
+
}
|
|
1315
|
+
list.splice(i, 1);
|
|
1316
|
+
}
|
|
1317
|
+
}
|
|
1318
|
+
}
|
|
1319
|
+
|
|
1320
|
+
/**
|
|
1321
|
+
* 메타데이터 목록을 delegate / mutationDelegate / nonDelegate 로 분류한다.
|
|
1322
|
+
* MutationObserverLifeCycler 에서 mutationDelegate 목록을 꺼낼 때 사용한다.
|
|
1323
|
+
*/
|
|
1324
|
+
classifyListeners(metaList: AddEventListenerMetadata[]): {
|
|
1325
|
+
delegateListeners: AddEventListenerMetadata[];
|
|
1326
|
+
mutationDelegateListeners: AddEventListenerMetadata[];
|
|
1327
|
+
nonDelegateListeners: AddEventListenerMetadata[];
|
|
1328
|
+
} {
|
|
1329
|
+
const isSpecial = (sel: any) =>
|
|
1330
|
+
['$window', '$document', '$host', '$appHost', '$firstHost', '$lastHost',
|
|
1331
|
+
'$firstAppHost', '$lastAppHost', '$hosts', '$appHosts', '$this', ''].includes(sel);
|
|
1332
|
+
|
|
1333
|
+
const delegateListeners: AddEventListenerMetadata[] = [];
|
|
1334
|
+
const mutationDelegateListeners: AddEventListenerMetadata[] = [];
|
|
1335
|
+
const nonDelegateListeners: AddEventListenerMetadata[] = [];
|
|
1336
|
+
|
|
1337
|
+
for (const meta of metaList) {
|
|
1338
|
+
const isStr = typeof meta.selector === 'string';
|
|
1339
|
+
const mode = meta.options.delegate;
|
|
1340
|
+
if (mode && isStr && !isSpecial(meta.selector)) {
|
|
1341
|
+
mode === 'mutation' ? mutationDelegateListeners.push(meta) : delegateListeners.push(meta);
|
|
1342
|
+
} else {
|
|
1343
|
+
nonDelegateListeners.push(meta);
|
|
1344
|
+
}
|
|
1345
|
+
}
|
|
1346
|
+
return { delegateListeners, mutationDelegateListeners, nonDelegateListeners };
|
|
1347
|
+
}
|
|
1348
|
+
|
|
1349
|
+
// ── ElementDefineLifeCycler 구현 ──
|
|
1350
|
+
|
|
1351
|
+
onConnected(helperHostSet: HelperHostSet): OnConnectedResult | void {
|
|
1352
|
+
const inst = helperHostSet.$this;
|
|
1353
|
+
const currentWin = helperHostSet.$w;
|
|
1354
|
+
|
|
1355
|
+
this.boundListenersMap.delete(inst);
|
|
1356
|
+
this.eventBoundSetsMap.delete(inst);
|
|
1357
|
+
|
|
1358
|
+
const allMeta = getAddEventListenerMetadata(inst) ?? [];
|
|
1359
|
+
const { delegateListeners, nonDelegateListeners, mutationDelegateListeners } = this.classifyListeners(allMeta);
|
|
1360
|
+
|
|
1361
|
+
// ── delegate 리스너: type+root 키로 그룹핑 → unified handler ──
|
|
1362
|
+
const groups = new Map<string, AddEventListenerMetadata[]>();
|
|
1363
|
+
for (const meta of delegateListeners) {
|
|
1364
|
+
const key = `${meta.type}:${meta.options.root || 'auto'}`;
|
|
1365
|
+
if (!groups.has(key)) groups.set(key, []);
|
|
1366
|
+
groups.get(key)!.push(meta);
|
|
1367
|
+
}
|
|
1368
|
+
|
|
1369
|
+
groups.forEach((metaList, key) => {
|
|
1370
|
+
const ci = key.indexOf(':');
|
|
1371
|
+
const type = key.slice(0, ci);
|
|
1372
|
+
const r = key.slice(ci + 1);
|
|
1373
|
+
const opts = { capture: metaList[0].options.capture, once: metaList[0].options.once, passive: metaList[0].options.passive };
|
|
1374
|
+
|
|
1375
|
+
const roots: (HTMLElement | ShadowRoot)[] = [];
|
|
1376
|
+
if (r === 'auto') roots.push(inst.shadowRoot || inst);
|
|
1377
|
+
else if (r === 'light') roots.push(inst);
|
|
1378
|
+
else if (r === 'shadow' && inst.shadowRoot) roots.push(inst.shadowRoot);
|
|
1379
|
+
else if (r === 'all') { roots.push(inst); if (inst.shadowRoot) roots.push(inst.shadowRoot); }
|
|
1380
|
+
|
|
1381
|
+
for (const br of roots) {
|
|
1382
|
+
const sorted = [...metaList].sort((a, b) => (b.options.stopPropagation ? 1 : 0) - (a.options.stopPropagation ? 1 : 0));
|
|
1383
|
+
const handler = async (event: Event) => {
|
|
1384
|
+
// shadow 경계를 넘는(composed) 이벤트는 네이티브 dispatch가 끝나면(= 아래 루프에서
|
|
1385
|
+
// 첫 await가 제어권을 넘기는 순간, 브라우저는 비동기 리스너를 기다리지 않고 dispatch를
|
|
1386
|
+
// 마저 진행/종료한다) event.target/closest()가 더 이상 신뢰할 수 없어진다. 그래서 같은
|
|
1387
|
+
// selector를 공유하는 핸들러가 여러 개일 때 두 번째 이후 핸들러는 매칭이 깨질 수 있다 —
|
|
1388
|
+
// await 전에 전부 동기적으로 먼저 매칭해둔다.
|
|
1389
|
+
const matches = sorted.map(m => ({ m, matchedEl: (event.target as HTMLElement)?.closest(m.selector as string) }));
|
|
1390
|
+
for (const { m, matchedEl } of matches) {
|
|
1391
|
+
if (matchedEl && (br as any).contains(matchedEl)) {
|
|
1392
|
+
if (m.options.filter) {
|
|
1393
|
+
const helper = SwcUtils.getHelperAndHostSet(currentWin, matchedEl as HTMLElement);
|
|
1394
|
+
if (!m.options.filter(event, { currentThis: inst, helper })) continue;
|
|
1395
|
+
}
|
|
1396
|
+
if (m.options.stopPropagation) event.stopPropagation();
|
|
1397
|
+
if (m.options.stopImmediatePropagation) event.stopImmediatePropagation();
|
|
1398
|
+
if (m.options.preventDefault) event.preventDefault();
|
|
1399
|
+
const hs = SwcUtils.getHostSet(inst);
|
|
1400
|
+
const legacyArgs = [event, { ...hs, $matchedElement: matchedEl }, { event, ...hs, $el: matchedEl, $root: br }];
|
|
1401
|
+
const helperSetForMatch = SwcUtils.getHelperSet(currentWin);
|
|
1402
|
+
const helperHostSetForMatch = { ...helperSetForMatch, ...hs, $this: inst };
|
|
1403
|
+
const args = buildSwcParameterArgs(inst, m.propertyKey, {
|
|
1404
|
+
event,
|
|
1405
|
+
matched: matchedEl,
|
|
1406
|
+
hostSet: hs,
|
|
1407
|
+
helperHostSet: helperHostSetForMatch,
|
|
1408
|
+
helperSet: helperSetForMatch
|
|
1409
|
+
}, legacyArgs);
|
|
1410
|
+
await inst[m.propertyKey](...args);
|
|
1411
|
+
if ((event as any).cancelBubble) break;
|
|
1412
|
+
}
|
|
1413
|
+
}
|
|
1414
|
+
};
|
|
1415
|
+
br.addEventListener(type, handler, opts);
|
|
1416
|
+
const onRemoves: Array<{ fn: any; opts: any }> = sorted.filter(m => m.options.removeListener).map(m => ({ fn: m.options.removeListener, opts: m.options }));
|
|
1417
|
+
this.getBoundListeners(inst).push({ target: br, type, handler, options: opts, onRemoves });
|
|
1418
|
+
}
|
|
1419
|
+
});
|
|
1420
|
+
|
|
1421
|
+
// ── non-delegate 리스너: 대상 요소 직접 탐색 → bindDirect ──
|
|
1422
|
+
for (const meta of nonDelegateListeners) {
|
|
1423
|
+
const { selector, options } = meta;
|
|
1424
|
+
const r = options.root || 'auto';
|
|
1425
|
+
const bindTargets: EventTarget[] = [];
|
|
1426
|
+
|
|
1427
|
+
let resolvedSel: string | null = null;
|
|
1428
|
+
if (typeof selector === 'function') {
|
|
1429
|
+
const result = selector(inst, helperHostSet);
|
|
1430
|
+
if (typeof result === 'string') resolvedSel = result;
|
|
1431
|
+
else if (result instanceof currentWin.Element) bindTargets.push(result as EventTarget);
|
|
1432
|
+
else if (result instanceof currentWin.NodeList) bindTargets.push(...(Array.from(result) as EventTarget[]));
|
|
1433
|
+
else if (Array.isArray(result)) bindTargets.push(...(result as EventTarget[]));
|
|
1434
|
+
} else {
|
|
1435
|
+
resolvedSel = selector;
|
|
1436
|
+
}
|
|
1437
|
+
|
|
1438
|
+
const applyRoot = (t: any) => {
|
|
1439
|
+
if (!t) return;
|
|
1440
|
+
if (r === 'auto') bindTargets.push(t.shadowRoot || t);
|
|
1441
|
+
else { if (r === 'light' || r === 'all') bindTargets.push(t); if ((r === 'shadow' || r === 'all') && t.shadowRoot) bindTargets.push(t.shadowRoot); }
|
|
1442
|
+
};
|
|
1443
|
+
|
|
1444
|
+
if (resolvedSel) {
|
|
1445
|
+
if (resolvedSel === '$window') bindTargets.push(currentWin);
|
|
1446
|
+
else if (resolvedSel === '$document') bindTargets.push(currentWin.document);
|
|
1447
|
+
else if (resolvedSel === '$host') applyRoot(helperHostSet.$host);
|
|
1448
|
+
else if (resolvedSel === '$parentHost') applyRoot(helperHostSet.$parentHost);
|
|
1449
|
+
else if (resolvedSel === '$appHost') applyRoot(helperHostSet.$appHost);
|
|
1450
|
+
else if (resolvedSel === '$firstHost') applyRoot(helperHostSet.$firstHost);
|
|
1451
|
+
else if (resolvedSel === '$lastHost') applyRoot(helperHostSet.$lastHost);
|
|
1452
|
+
else if (resolvedSel === '$firstAppHost') applyRoot(helperHostSet.$firstAppHost);
|
|
1453
|
+
else if (resolvedSel === '$lastAppHost') applyRoot(helperHostSet.$lastAppHost);
|
|
1454
|
+
else if (resolvedSel === '$hosts') helperHostSet.$hosts.forEach(applyRoot);
|
|
1455
|
+
else if (resolvedSel === '$appHosts') helperHostSet.$appHosts.forEach(applyRoot);
|
|
1456
|
+
else if (resolvedSel === '$this' || !resolvedSel) applyRoot(inst);
|
|
1457
|
+
else {
|
|
1458
|
+
const searchRoots: (HTMLElement | ShadowRoot)[] = [];
|
|
1459
|
+
if (r === 'auto') searchRoots.push(inst.shadowRoot || inst);
|
|
1460
|
+
else if (r === 'light') searchRoots.push(inst);
|
|
1461
|
+
else if (r === 'shadow' && inst.shadowRoot) searchRoots.push(inst.shadowRoot);
|
|
1462
|
+
else if (r === 'all') { searchRoots.push(inst); if (inst.shadowRoot) searchRoots.push(inst.shadowRoot); }
|
|
1463
|
+
for (const sr of searchRoots) sr.querySelectorAll(resolvedSel).forEach(el => bindTargets.push(el));
|
|
1464
|
+
}
|
|
1465
|
+
}
|
|
1466
|
+
|
|
1467
|
+
for (const t of bindTargets) this.bindDirect(helperHostSet, t, meta);
|
|
1468
|
+
}
|
|
1469
|
+
|
|
1470
|
+
// ── delegate:'mutation' 리스너: MutationObserver 로 추가/제거된 요소를 추적해 직접 바인딩/해제 ──
|
|
1471
|
+
// 이벤트 리스너의 책임이므로 EventListenerLifeCycler 가 직접 처리하고,
|
|
1472
|
+
// mutationObserverSet 을 반환해 elementDefine 이 하나의 MutationObserver 로 생성하게 한다.
|
|
1473
|
+
if (mutationDelegateListeners.length > 0) {
|
|
1474
|
+
const shadowEventDelegates = mutationDelegateListeners.filter(m => {
|
|
1475
|
+
const r = m.options.root || 'auto';
|
|
1476
|
+
return inst.shadowRoot && (r === 'shadow' || r === 'all' || r === 'auto');
|
|
1477
|
+
});
|
|
1478
|
+
const lightEventDelegates = mutationDelegateListeners.filter(m => {
|
|
1479
|
+
const r = m.options.root || 'auto';
|
|
1480
|
+
return r === 'light' || r === 'all' || (!inst.shadowRoot && r === 'auto');
|
|
1481
|
+
});
|
|
1482
|
+
|
|
1483
|
+
const buildMutationEntry = (
|
|
1484
|
+
root: HTMLElement | ShadowRoot,
|
|
1485
|
+
eventDelegates: AddEventListenerMetadata[],
|
|
1486
|
+
): MutationObserverSetEntry | null => {
|
|
1487
|
+
if (eventDelegates.length === 0) return null;
|
|
1488
|
+
const boundSets = this.getEventBoundSets(inst);
|
|
1489
|
+
|
|
1490
|
+
const callback = (mutations: MutationRecord[], obs: MutationObserver) => {
|
|
1491
|
+
for (const m of eventDelegates) {
|
|
1492
|
+
let boundSet = boundSets.get(m);
|
|
1493
|
+
if (!boundSet) { boundSet = new WeakSet<Element>(); boundSets.set(m, boundSet); }
|
|
1494
|
+
|
|
1495
|
+
const isThis = m.selector === '$this' || m.selector === '';
|
|
1496
|
+
const matchesSel = (n: any) => {
|
|
1497
|
+
if (!n || n.nodeType !== 1) return false;
|
|
1498
|
+
if (isThis) return true;
|
|
1499
|
+
return typeof m.selector === 'string' && (n as HTMLElement).matches?.(m.selector);
|
|
1500
|
+
};
|
|
1501
|
+
const bindEl = (el: Element) => { if (!boundSet!.has(el)) { this.bindDirect(helperHostSet, el, m); boundSet!.add(el); } };
|
|
1502
|
+
const unbindEl = (el: Element) => { if (boundSet!.has(el)) { this.unbindDirect(helperHostSet, el, m); boundSet!.delete(el); } };
|
|
1503
|
+
|
|
1504
|
+
for (const mut of mutations) {
|
|
1505
|
+
Array.from(mut.addedNodes || []).forEach(n => { if (n.nodeType !== 1) return; if (matchesSel(n)) bindEl(n as Element); else if (!isThis && typeof m.selector === 'string') (n as Element).querySelectorAll?.(m.selector).forEach(bindEl); });
|
|
1506
|
+
Array.from(mut.removedNodes || []).forEach(n => { if (n.nodeType !== 1) return; const el = n as Element; if (matchesSel(el)) unbindEl(el); else if (!isThis && typeof m.selector === 'string') el.querySelectorAll?.(m.selector).forEach(unbindEl); });
|
|
1507
|
+
}
|
|
1508
|
+
}
|
|
1509
|
+
};
|
|
1510
|
+
|
|
1511
|
+
// delegate:'mutation' 초기 바인딩 (connected 시 이미 존재하는 요소)
|
|
1512
|
+
for (const m of eventDelegates) {
|
|
1513
|
+
let boundSet = boundSets.get(m);
|
|
1514
|
+
if (!boundSet) { boundSet = new WeakSet<Element>(); boundSets.set(m, boundSet); }
|
|
1515
|
+
if (typeof m.selector !== 'string') continue;
|
|
1516
|
+
if (m.selector === '$this' || m.selector === '') {
|
|
1517
|
+
this.bindDirect(helperHostSet, root as EventTarget, m);
|
|
1518
|
+
boundSet.add(root as Element);
|
|
1519
|
+
} else {
|
|
1520
|
+
root.querySelectorAll(m.selector).forEach(el => {
|
|
1521
|
+
if (!boundSet!.has(el)) { this.bindDirect(helperHostSet, el, m); boundSet!.add(el); }
|
|
1522
|
+
});
|
|
1523
|
+
}
|
|
1524
|
+
}
|
|
1525
|
+
|
|
1526
|
+
return { target: root, options: { childList: true, subtree: true }, callback };
|
|
1527
|
+
};
|
|
1528
|
+
|
|
1529
|
+
const shadowEntry = inst.shadowRoot ? buildMutationEntry(inst.shadowRoot, shadowEventDelegates) : null;
|
|
1530
|
+
const lightEntry = buildMutationEntry(inst as any, lightEventDelegates);
|
|
1531
|
+
const mutationObserverSet: MutationObserverSetEntry[] = [shadowEntry, lightEntry].filter(Boolean) as MutationObserverSetEntry[];
|
|
1532
|
+
if (mutationObserverSet.length > 0) return { mutationObserverSet };
|
|
1533
|
+
}
|
|
1534
|
+
|
|
1535
|
+
return undefined;
|
|
1536
|
+
}
|
|
1537
|
+
|
|
1538
|
+
onDisconnected(helperHostSet: HelperHostSet): void {
|
|
1539
|
+
const inst = helperHostSet.$this;
|
|
1540
|
+
const list = this.boundListenersMap.get(inst) ?? [];
|
|
1541
|
+
for (const l of list) {
|
|
1542
|
+
try { l.target.removeEventListener(l.type, l.handler, l.options); l.subscription?.unsubscribe?.(); }
|
|
1543
|
+
catch (e) { console.error('[SWC] EventListenerLifeCycler cleanup error:', e); }
|
|
1544
|
+
for (const r of l.onRemoves ?? []) {
|
|
1545
|
+
try { r.fn(l.target, r.opts); } catch (e) { console.error('[SWC] removeListener error:', e); }
|
|
1546
|
+
}
|
|
1547
|
+
}
|
|
1548
|
+
this.boundListenersMap.delete(inst);
|
|
1549
|
+
this.eventBoundSetsMap.delete(inst);
|
|
1550
|
+
}
|
|
1551
|
+
}
|