@dooboostore/simple-web-component 1.0.49 → 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 +72 -0
- package/dist/cjs/decorators/addEventListener.js +1994 -9
- package/dist/cjs/decorators/addEventListener.js.map +2 -2
- package/dist/cjs/decorators/applyAttribute.js +10 -4
- package/dist/cjs/decorators/applyAttribute.js.map +2 -2
- package/dist/cjs/decorators/applyClass.js +10 -4
- package/dist/cjs/decorators/applyClass.js.map +2 -2
- package/dist/cjs/decorators/applyNode.js +10 -4
- package/dist/cjs/decorators/applyNode.js.map +2 -2
- package/dist/cjs/decorators/applyProperty.js +14 -8
- 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 +10 -4
- package/dist/cjs/decorators/applyStyle.js.map +2 -2
- package/dist/cjs/decorators/changedAttribute.js +22 -13
- package/dist/cjs/decorators/changedAttribute.js.map +2 -2
- package/dist/cjs/decorators/elementDefine.js +18 -3
- package/dist/cjs/decorators/elementDefine.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 +3 -0
- package/dist/cjs/decorators/index.js.map +2 -2
- package/dist/cjs/decorators/intersectionObserver.js +46 -55
- package/dist/cjs/decorators/intersectionObserver.js.map +2 -2
- package/dist/cjs/decorators/mutationObserver.js +46 -55
- package/dist/cjs/decorators/mutationObserver.js.map +2 -2
- package/dist/cjs/decorators/parameter.js +73 -0
- package/dist/cjs/decorators/parameter.js.map +7 -0
- package/dist/cjs/decorators/requestAnimationFrame.js +124 -0
- package/dist/cjs/decorators/requestAnimationFrame.js.map +7 -0
- package/dist/cjs/decorators/resizeObserver.js +46 -55
- package/dist/cjs/decorators/resizeObserver.js.map +2 -2
- package/dist/cjs/decorators/setInterval.js +46 -14
- package/dist/cjs/decorators/setInterval.js.map +2 -2
- package/dist/cjs/decorators/setTimeout.js +49 -14
- package/dist/cjs/decorators/setTimeout.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/window.d.js.map +1 -1
- package/dist/esm/decorators/addEventListener.js +1994 -9
- package/dist/esm/decorators/addEventListener.js.map +2 -2
- package/dist/esm/decorators/applyAttribute.js +10 -4
- package/dist/esm/decorators/applyAttribute.js.map +2 -2
- package/dist/esm/decorators/applyClass.js +10 -4
- package/dist/esm/decorators/applyClass.js.map +2 -2
- package/dist/esm/decorators/applyNode.js +10 -4
- package/dist/esm/decorators/applyNode.js.map +2 -2
- package/dist/esm/decorators/applyProperty.js +14 -8
- 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 +10 -4
- package/dist/esm/decorators/applyStyle.js.map +2 -2
- package/dist/esm/decorators/changedAttribute.js +22 -13
- package/dist/esm/decorators/changedAttribute.js.map +2 -2
- package/dist/esm/decorators/elementDefine.js +18 -3
- package/dist/esm/decorators/elementDefine.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 +3 -0
- package/dist/esm/decorators/index.js.map +2 -2
- package/dist/esm/decorators/intersectionObserver.js +46 -55
- package/dist/esm/decorators/intersectionObserver.js.map +2 -2
- package/dist/esm/decorators/mutationObserver.js +46 -55
- package/dist/esm/decorators/mutationObserver.js.map +2 -2
- package/dist/esm/decorators/parameter.js +54 -0
- package/dist/esm/decorators/parameter.js.map +7 -0
- package/dist/esm/decorators/requestAnimationFrame.js +105 -0
- package/dist/esm/decorators/requestAnimationFrame.js.map +7 -0
- package/dist/esm/decorators/resizeObserver.js +46 -55
- package/dist/esm/decorators/resizeObserver.js.map +2 -2
- package/dist/esm/decorators/setInterval.js +46 -15
- package/dist/esm/decorators/setInterval.js.map +2 -2
- package/dist/esm/decorators/setTimeout.js +49 -15
- package/dist/esm/decorators/setTimeout.js.map +2 -2
- package/dist/esm/elements/SwcAppMixin.js +20 -4
- package/dist/esm/elements/SwcAppMixin.js.map +2 -2
- package/dist/esm-bundle/dooboostore-simple-web-component.esm.js +2813 -571
- package/dist/esm-bundle/dooboostore-simple-web-component.esm.js.map +4 -4
- package/dist/types/decorators/addEventListener.d.ts +962 -0
- package/dist/types/decorators/addEventListener.d.ts.map +1 -1
- package/dist/types/decorators/applyAttribute.d.ts +2 -0
- package/dist/types/decorators/applyAttribute.d.ts.map +1 -1
- package/dist/types/decorators/applyClass.d.ts +2 -0
- package/dist/types/decorators/applyClass.d.ts.map +1 -1
- package/dist/types/decorators/applyNode.d.ts +2 -0
- package/dist/types/decorators/applyNode.d.ts.map +1 -1
- package/dist/types/decorators/applyProperty.d.ts +4 -0
- 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 +2 -0
- package/dist/types/decorators/applyStyle.d.ts.map +1 -1
- package/dist/types/decorators/changedAttribute.d.ts +1 -3
- package/dist/types/decorators/changedAttribute.d.ts.map +1 -1
- package/dist/types/decorators/elementDefine.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 +3 -0
- package/dist/types/decorators/index.d.ts.map +1 -1
- package/dist/types/decorators/intersectionObserver.d.ts +9 -0
- package/dist/types/decorators/intersectionObserver.d.ts.map +1 -1
- package/dist/types/decorators/mutationObserver.d.ts +10 -1
- 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/requestAnimationFrame.d.ts +47 -0
- package/dist/types/decorators/requestAnimationFrame.d.ts.map +1 -0
- package/dist/types/decorators/resizeObserver.d.ts +9 -0
- package/dist/types/decorators/resizeObserver.d.ts.map +1 -1
- package/dist/types/decorators/setInterval.d.ts +17 -5
- package/dist/types/decorators/setInterval.d.ts.map +1 -1
- package/dist/types/decorators/setTimeout.d.ts +17 -5
- package/dist/types/decorators/setTimeout.d.ts.map +1 -1
- package/dist/types/elements/SwcAppMixin.d.ts.map +1 -1
- package/dist/umd-bundle/dooboostore-simple-web-component.umd.js +2813 -571
- package/dist/umd-bundle/dooboostore-simple-web-component.umd.js.map +4 -4
- package/package.json +3 -3
- package/src/decorators/addEventListener.ts +1060 -8
- package/src/decorators/applyAttribute.ts +14 -4
- package/src/decorators/applyClass.ts +14 -4
- package/src/decorators/applyNode.ts +14 -4
- package/src/decorators/applyProperty.ts +28 -8
- package/src/decorators/applySlot.ts +6 -5
- package/src/decorators/applyStyle.ts +14 -4
- package/src/decorators/changedAttribute.ts +30 -15
- package/src/decorators/elementDefine.ts +32 -5
- package/src/decorators/eventMedia.ts +78 -0
- package/src/decorators/index.ts +3 -0
- package/src/decorators/intersectionObserver.ts +77 -61
- package/src/decorators/mutationObserver.ts +78 -61
- package/src/decorators/parameter.ts +81 -0
- package/src/decorators/requestAnimationFrame.ts +158 -0
- package/src/decorators/resizeObserver.ts +76 -60
- package/src/decorators/setInterval.ts +71 -15
- package/src/decorators/setTimeout.ts +74 -15
- package/src/elements/SwcAppMixin.ts +20 -5
- package/src/types/window.d.ts +2 -18
- package/dist/cjs/examples/RxJSOperatorsExample.js +0 -285
- package/dist/cjs/examples/RxJSOperatorsExample.js.map +0 -7
- package/dist/esm/examples/RxJSOperatorsExample.js +0 -266
- package/dist/esm/examples/RxJSOperatorsExample.js.map +0 -7
- package/dist/types/examples/RxJSOperatorsExample.d.ts +0 -94
- package/dist/types/examples/RxJSOperatorsExample.d.ts.map +0 -1
- package/src/examples/RxJSOperatorsExample.ts +0 -279
|
@@ -11793,15 +11793,21 @@ var NodeSlot = class _NodeSlot {
|
|
|
11793
11793
|
const slots = this.findSlots();
|
|
11794
11794
|
return slots.map((s) => s.nodes());
|
|
11795
11795
|
}
|
|
11796
|
-
|
|
11797
|
-
|
|
11798
|
-
|
|
11799
|
-
|
|
11800
|
-
|
|
11801
|
-
|
|
11802
|
-
|
|
11803
|
-
|
|
11796
|
+
/**
|
|
11797
|
+
* Shared disambiguation for the `(...items)` / `(targetId, ...items)` overload pair.
|
|
11798
|
+
* Items are always Node instances (or strings meant as literal content) coming from
|
|
11799
|
+
* callers; a leading string is therefore always treated as `targetId`, even when no
|
|
11800
|
+
* items follow — this avoids misclassifying `targetId` itself as content when the
|
|
11801
|
+
* caller has zero items to insert (e.g. a decorated method returning undefined).
|
|
11802
|
+
*/
|
|
11803
|
+
static parseTargetArgs(args) {
|
|
11804
|
+
if (typeof args[0] === "string") {
|
|
11805
|
+
return { targetId: args[0], items: args.slice(1) };
|
|
11804
11806
|
}
|
|
11807
|
+
return { targetId: void 0, items: args };
|
|
11808
|
+
}
|
|
11809
|
+
append(...args) {
|
|
11810
|
+
const { targetId, items } = _NodeSlot.parseTargetArgs(args);
|
|
11805
11811
|
if (!items || items.length === 0) return;
|
|
11806
11812
|
const slots = this.findSlots(targetId);
|
|
11807
11813
|
if (!slots || slots.length === 0) return;
|
|
@@ -11810,38 +11816,17 @@ var NodeSlot = class _NodeSlot {
|
|
|
11810
11816
|
}
|
|
11811
11817
|
}
|
|
11812
11818
|
appendHtml(...args) {
|
|
11813
|
-
|
|
11814
|
-
let items = [];
|
|
11815
|
-
if (typeof args[0] === "string" && args.length > 1) {
|
|
11816
|
-
targetId = args[0];
|
|
11817
|
-
items = args.slice(1);
|
|
11818
|
-
} else {
|
|
11819
|
-
items = args;
|
|
11820
|
-
}
|
|
11819
|
+
const { targetId, items } = _NodeSlot.parseTargetArgs(args);
|
|
11821
11820
|
const slots = this.findSlots(targetId);
|
|
11822
11821
|
for (const s of slots) s.appendHtml(...items);
|
|
11823
11822
|
}
|
|
11824
11823
|
appendText(...args) {
|
|
11825
|
-
|
|
11826
|
-
let items = [];
|
|
11827
|
-
if (typeof args[0] === "string" && args.length > 1) {
|
|
11828
|
-
targetId = args[0];
|
|
11829
|
-
items = args.slice(1);
|
|
11830
|
-
} else {
|
|
11831
|
-
items = args;
|
|
11832
|
-
}
|
|
11824
|
+
const { targetId, items } = _NodeSlot.parseTargetArgs(args);
|
|
11833
11825
|
const slots = this.findSlots(targetId);
|
|
11834
11826
|
for (const s of slots) s.appendText(...items);
|
|
11835
11827
|
}
|
|
11836
11828
|
appendCopy(...args) {
|
|
11837
|
-
|
|
11838
|
-
let items = [];
|
|
11839
|
-
if (typeof args[0] === "string" && args.length > 1) {
|
|
11840
|
-
targetId = args[0];
|
|
11841
|
-
items = args.slice(1);
|
|
11842
|
-
} else {
|
|
11843
|
-
items = args;
|
|
11844
|
-
}
|
|
11829
|
+
const { targetId, items } = _NodeSlot.parseTargetArgs(args);
|
|
11845
11830
|
if (!items || items.length === 0) return;
|
|
11846
11831
|
const slots = this.findSlots(targetId);
|
|
11847
11832
|
if (!slots || slots.length === 0) return;
|
|
@@ -11850,14 +11835,7 @@ var NodeSlot = class _NodeSlot {
|
|
|
11850
11835
|
}
|
|
11851
11836
|
}
|
|
11852
11837
|
prepend(...args) {
|
|
11853
|
-
|
|
11854
|
-
let items = [];
|
|
11855
|
-
if (typeof args[0] === "string" && args.length > 1) {
|
|
11856
|
-
targetId = args[0];
|
|
11857
|
-
items = args.slice(1);
|
|
11858
|
-
} else {
|
|
11859
|
-
items = args;
|
|
11860
|
-
}
|
|
11838
|
+
const { targetId, items } = _NodeSlot.parseTargetArgs(args);
|
|
11861
11839
|
if (!items || items.length === 0) return;
|
|
11862
11840
|
const slots = this.findSlots(targetId);
|
|
11863
11841
|
if (!slots || slots.length === 0) return;
|
|
@@ -11866,38 +11844,17 @@ var NodeSlot = class _NodeSlot {
|
|
|
11866
11844
|
}
|
|
11867
11845
|
}
|
|
11868
11846
|
prependHtml(...args) {
|
|
11869
|
-
|
|
11870
|
-
let items = [];
|
|
11871
|
-
if (typeof args[0] === "string" && args.length > 1) {
|
|
11872
|
-
targetId = args[0];
|
|
11873
|
-
items = args.slice(1);
|
|
11874
|
-
} else {
|
|
11875
|
-
items = args;
|
|
11876
|
-
}
|
|
11847
|
+
const { targetId, items } = _NodeSlot.parseTargetArgs(args);
|
|
11877
11848
|
const slots = this.findSlots(targetId);
|
|
11878
11849
|
for (const s of slots) s.prependHtml(...items);
|
|
11879
11850
|
}
|
|
11880
11851
|
prependText(...args) {
|
|
11881
|
-
|
|
11882
|
-
let items = [];
|
|
11883
|
-
if (typeof args[0] === "string" && args.length > 1) {
|
|
11884
|
-
targetId = args[0];
|
|
11885
|
-
items = args.slice(1);
|
|
11886
|
-
} else {
|
|
11887
|
-
items = args;
|
|
11888
|
-
}
|
|
11852
|
+
const { targetId, items } = _NodeSlot.parseTargetArgs(args);
|
|
11889
11853
|
const slots = this.findSlots(targetId);
|
|
11890
11854
|
for (const s of slots) s.prependText(...items);
|
|
11891
11855
|
}
|
|
11892
11856
|
prependCopy(...args) {
|
|
11893
|
-
|
|
11894
|
-
let items = [];
|
|
11895
|
-
if (typeof args[0] === "string" && args.length > 1) {
|
|
11896
|
-
targetId = args[0];
|
|
11897
|
-
items = args.slice(1);
|
|
11898
|
-
} else {
|
|
11899
|
-
items = args;
|
|
11900
|
-
}
|
|
11857
|
+
const { targetId, items } = _NodeSlot.parseTargetArgs(args);
|
|
11901
11858
|
if (!items || items.length === 0) return;
|
|
11902
11859
|
const slots = this.findSlots(targetId);
|
|
11903
11860
|
if (!slots || slots.length === 0) return;
|
|
@@ -11917,14 +11874,7 @@ var NodeSlot = class _NodeSlot {
|
|
|
11917
11874
|
}
|
|
11918
11875
|
}
|
|
11919
11876
|
replaceChildren(...args) {
|
|
11920
|
-
|
|
11921
|
-
let items = [];
|
|
11922
|
-
if (typeof args[0] === "string" && args.length > 1) {
|
|
11923
|
-
targetId = args[0];
|
|
11924
|
-
items = args.slice(1);
|
|
11925
|
-
} else {
|
|
11926
|
-
items = args;
|
|
11927
|
-
}
|
|
11877
|
+
const { targetId, items } = _NodeSlot.parseTargetArgs(args);
|
|
11928
11878
|
const slots = this.findSlots(targetId);
|
|
11929
11879
|
if (!slots || slots.length === 0) return;
|
|
11930
11880
|
for (const s of slots) {
|
|
@@ -11932,14 +11882,7 @@ var NodeSlot = class _NodeSlot {
|
|
|
11932
11882
|
}
|
|
11933
11883
|
}
|
|
11934
11884
|
replaceChildrenHtml(...args) {
|
|
11935
|
-
|
|
11936
|
-
let items = [];
|
|
11937
|
-
if (typeof args[0] === "string" && args.length > 1) {
|
|
11938
|
-
targetId = args[0];
|
|
11939
|
-
items = args.slice(1);
|
|
11940
|
-
} else {
|
|
11941
|
-
items = args;
|
|
11942
|
-
}
|
|
11885
|
+
const { targetId, items } = _NodeSlot.parseTargetArgs(args);
|
|
11943
11886
|
const slots = this.findSlots(targetId);
|
|
11944
11887
|
if (!slots || slots.length === 0) return;
|
|
11945
11888
|
for (const s of slots) {
|
|
@@ -11947,14 +11890,7 @@ var NodeSlot = class _NodeSlot {
|
|
|
11947
11890
|
}
|
|
11948
11891
|
}
|
|
11949
11892
|
replaceChildrenText(...args) {
|
|
11950
|
-
|
|
11951
|
-
let items = [];
|
|
11952
|
-
if (typeof args[0] === "string" && args.length > 1) {
|
|
11953
|
-
targetId = args[0];
|
|
11954
|
-
items = args.slice(1);
|
|
11955
|
-
} else {
|
|
11956
|
-
items = args;
|
|
11957
|
-
}
|
|
11893
|
+
const { targetId, items } = _NodeSlot.parseTargetArgs(args);
|
|
11958
11894
|
const slots = this.findSlots(targetId);
|
|
11959
11895
|
if (!slots || slots.length === 0) return;
|
|
11960
11896
|
for (const s of slots) {
|
|
@@ -13379,11 +13315,11 @@ var SwcUtils;
|
|
|
13379
13315
|
};
|
|
13380
13316
|
};
|
|
13381
13317
|
SwcUtils2.getHelperAndHostSet = (win, el) => {
|
|
13382
|
-
const
|
|
13383
|
-
const
|
|
13318
|
+
const helperSet2 = (0, SwcUtils2.getHelperSet)(win);
|
|
13319
|
+
const hostSet2 = (0, SwcUtils2.getHostSet)(el);
|
|
13384
13320
|
return {
|
|
13385
|
-
...
|
|
13386
|
-
...
|
|
13321
|
+
...helperSet2,
|
|
13322
|
+
...hostSet2,
|
|
13387
13323
|
$this: el
|
|
13388
13324
|
};
|
|
13389
13325
|
};
|
|
@@ -13646,6 +13582,49 @@ var SwcUtils;
|
|
|
13646
13582
|
};
|
|
13647
13583
|
})(SwcUtils || (SwcUtils = {}));
|
|
13648
13584
|
|
|
13585
|
+
// src/decorators/parameter.ts
|
|
13586
|
+
var SWC_PARAMETER_METADATA_KEY = Symbol.for("simple-web-component:parameter");
|
|
13587
|
+
var registerParam = (kind, target, propertyKey, parameterIndex) => {
|
|
13588
|
+
if (!propertyKey) return;
|
|
13589
|
+
const constructor = target.constructor;
|
|
13590
|
+
const saves = ReflectUtils.getOwnMetadata(SWC_PARAMETER_METADATA_KEY, constructor, propertyKey) ?? [];
|
|
13591
|
+
saves.push({ index: parameterIndex, kind });
|
|
13592
|
+
ReflectUtils.defineMetadata(SWC_PARAMETER_METADATA_KEY, saves, constructor, propertyKey);
|
|
13593
|
+
};
|
|
13594
|
+
function eventObject(target, propertyKey, parameterIndex) {
|
|
13595
|
+
registerParam("event", target, propertyKey, parameterIndex);
|
|
13596
|
+
}
|
|
13597
|
+
function matchedElement(target, propertyKey, parameterIndex) {
|
|
13598
|
+
registerParam("matched", target, propertyKey, parameterIndex);
|
|
13599
|
+
}
|
|
13600
|
+
function hostSet(target, propertyKey, parameterIndex) {
|
|
13601
|
+
registerParam("hostSet", target, propertyKey, parameterIndex);
|
|
13602
|
+
}
|
|
13603
|
+
function helperHostSet(target, propertyKey, parameterIndex) {
|
|
13604
|
+
registerParam("helperHostSet", target, propertyKey, parameterIndex);
|
|
13605
|
+
}
|
|
13606
|
+
function helperSet(target, propertyKey, parameterIndex) {
|
|
13607
|
+
registerParam("helperSet", target, propertyKey, parameterIndex);
|
|
13608
|
+
}
|
|
13609
|
+
function routerEvent(target, propertyKey, parameterIndex) {
|
|
13610
|
+
registerParam("routerEvent", target, propertyKey, parameterIndex);
|
|
13611
|
+
}
|
|
13612
|
+
function appMessage(target, propertyKey, parameterIndex) {
|
|
13613
|
+
registerParam("appMessage", target, propertyKey, parameterIndex);
|
|
13614
|
+
}
|
|
13615
|
+
var getParameterMetadata = (target, propertyKey) => {
|
|
13616
|
+
const constructor = target instanceof Function ? target : target.constructor;
|
|
13617
|
+
return ReflectUtils.getMetadata(SWC_PARAMETER_METADATA_KEY, constructor, propertyKey) ?? [];
|
|
13618
|
+
};
|
|
13619
|
+
var buildSwcParameterArgs = (target, propertyKey, kindValues, legacyArgs) => {
|
|
13620
|
+
const saves = getParameterMetadata(target, propertyKey);
|
|
13621
|
+
if (saves.length === 0) return legacyArgs;
|
|
13622
|
+
const maxIndex = Math.max(...saves.map((s) => s.index));
|
|
13623
|
+
const args = new Array(maxIndex + 1);
|
|
13624
|
+
for (const s of saves) args[s.index] = kindValues[s.kind];
|
|
13625
|
+
return args;
|
|
13626
|
+
};
|
|
13627
|
+
|
|
13649
13628
|
// src/decorators/addEventListener.ts
|
|
13650
13629
|
var ADD_EVENT_LISTENER_METADATA_KEY = Symbol.for("simple-web-component:add-event-listener");
|
|
13651
13630
|
function addEventListener(selectorOrType, typeOrOptions, maybeOptions) {
|
|
@@ -13733,6 +13712,1029 @@ var eventAppHost = addEventListenerAppHost;
|
|
|
13733
13712
|
var eventWindow = addEventListenerWindow;
|
|
13734
13713
|
var eventDocument = addEventListenerDocument;
|
|
13735
13714
|
var eventThis = addEventListenerThis;
|
|
13715
|
+
function makeTypedEventAliases(type) {
|
|
13716
|
+
return {
|
|
13717
|
+
base: (selector, options) => addEventListener(selector, type, options),
|
|
13718
|
+
delegateLight: (selector, options) => addEventListenerDelegateLight(selector, type, options),
|
|
13719
|
+
delegateShadow: (selector, options) => addEventListenerDelegateShadow(selector, type, options),
|
|
13720
|
+
delegateAll: (selector, options) => addEventListenerDelegateAll(selector, type, options),
|
|
13721
|
+
delegate: (selector, options) => addEventListenerDelegate(selector, type, options),
|
|
13722
|
+
mutationLight: (selector, options) => addEventListenerMutationLight(selector, type, options),
|
|
13723
|
+
mutationShadow: (selector, options) => addEventListenerMutationShadow(selector, type, options),
|
|
13724
|
+
mutationAll: (selector, options) => addEventListenerMutationAll(selector, type, options),
|
|
13725
|
+
mutation: (selector, options) => addEventListenerMutation(selector, type, options),
|
|
13726
|
+
light: (selector, options) => addEventListenerLight(selector, type, options),
|
|
13727
|
+
shadow: (selector, options) => addEventListenerShadow(selector, type, options),
|
|
13728
|
+
all: (selector, options) => addEventListenerAll(selector, type, options),
|
|
13729
|
+
this: (options) => addEventListenerThis(type, options),
|
|
13730
|
+
appHost: (options) => addEventListenerAppHost(type, options),
|
|
13731
|
+
window: (options) => addEventListenerWindow(type, options),
|
|
13732
|
+
document: (options) => addEventListenerDocument(type, options)
|
|
13733
|
+
};
|
|
13734
|
+
}
|
|
13735
|
+
var clickAliases = makeTypedEventAliases("click");
|
|
13736
|
+
var eventClick = clickAliases.base;
|
|
13737
|
+
var eventClickDelegateLight = clickAliases.delegateLight;
|
|
13738
|
+
var eventClickDelegateShadow = clickAliases.delegateShadow;
|
|
13739
|
+
var eventClickDelegateAll = clickAliases.delegateAll;
|
|
13740
|
+
var eventClickDelegate = clickAliases.delegate;
|
|
13741
|
+
var eventClickMutationLight = clickAliases.mutationLight;
|
|
13742
|
+
var eventClickMutationShadow = clickAliases.mutationShadow;
|
|
13743
|
+
var eventClickMutationAll = clickAliases.mutationAll;
|
|
13744
|
+
var eventClickMutation = clickAliases.mutation;
|
|
13745
|
+
var eventClickLight = clickAliases.light;
|
|
13746
|
+
var eventClickShadow = clickAliases.shadow;
|
|
13747
|
+
var eventClickAll = clickAliases.all;
|
|
13748
|
+
var eventClickThis = clickAliases.this;
|
|
13749
|
+
var eventClickAppHost = clickAliases.appHost;
|
|
13750
|
+
var eventClickWindow = clickAliases.window;
|
|
13751
|
+
var eventClickDocument = clickAliases.document;
|
|
13752
|
+
var dblclickAliases = makeTypedEventAliases("dblclick");
|
|
13753
|
+
var eventDblclick = dblclickAliases.base;
|
|
13754
|
+
var eventDblclickDelegateLight = dblclickAliases.delegateLight;
|
|
13755
|
+
var eventDblclickDelegateShadow = dblclickAliases.delegateShadow;
|
|
13756
|
+
var eventDblclickDelegateAll = dblclickAliases.delegateAll;
|
|
13757
|
+
var eventDblclickDelegate = dblclickAliases.delegate;
|
|
13758
|
+
var eventDblclickMutationLight = dblclickAliases.mutationLight;
|
|
13759
|
+
var eventDblclickMutationShadow = dblclickAliases.mutationShadow;
|
|
13760
|
+
var eventDblclickMutationAll = dblclickAliases.mutationAll;
|
|
13761
|
+
var eventDblclickMutation = dblclickAliases.mutation;
|
|
13762
|
+
var eventDblclickLight = dblclickAliases.light;
|
|
13763
|
+
var eventDblclickShadow = dblclickAliases.shadow;
|
|
13764
|
+
var eventDblclickAll = dblclickAliases.all;
|
|
13765
|
+
var eventDblclickThis = dblclickAliases.this;
|
|
13766
|
+
var eventDblclickAppHost = dblclickAliases.appHost;
|
|
13767
|
+
var eventDblclickWindow = dblclickAliases.window;
|
|
13768
|
+
var eventDblclickDocument = dblclickAliases.document;
|
|
13769
|
+
var mousedownAliases = makeTypedEventAliases("mousedown");
|
|
13770
|
+
var eventMousedown = mousedownAliases.base;
|
|
13771
|
+
var eventMousedownDelegateLight = mousedownAliases.delegateLight;
|
|
13772
|
+
var eventMousedownDelegateShadow = mousedownAliases.delegateShadow;
|
|
13773
|
+
var eventMousedownDelegateAll = mousedownAliases.delegateAll;
|
|
13774
|
+
var eventMousedownDelegate = mousedownAliases.delegate;
|
|
13775
|
+
var eventMousedownMutationLight = mousedownAliases.mutationLight;
|
|
13776
|
+
var eventMousedownMutationShadow = mousedownAliases.mutationShadow;
|
|
13777
|
+
var eventMousedownMutationAll = mousedownAliases.mutationAll;
|
|
13778
|
+
var eventMousedownMutation = mousedownAliases.mutation;
|
|
13779
|
+
var eventMousedownLight = mousedownAliases.light;
|
|
13780
|
+
var eventMousedownShadow = mousedownAliases.shadow;
|
|
13781
|
+
var eventMousedownAll = mousedownAliases.all;
|
|
13782
|
+
var eventMousedownThis = mousedownAliases.this;
|
|
13783
|
+
var eventMousedownAppHost = mousedownAliases.appHost;
|
|
13784
|
+
var eventMousedownWindow = mousedownAliases.window;
|
|
13785
|
+
var eventMousedownDocument = mousedownAliases.document;
|
|
13786
|
+
var mouseupAliases = makeTypedEventAliases("mouseup");
|
|
13787
|
+
var eventMouseup = mouseupAliases.base;
|
|
13788
|
+
var eventMouseupDelegateLight = mouseupAliases.delegateLight;
|
|
13789
|
+
var eventMouseupDelegateShadow = mouseupAliases.delegateShadow;
|
|
13790
|
+
var eventMouseupDelegateAll = mouseupAliases.delegateAll;
|
|
13791
|
+
var eventMouseupDelegate = mouseupAliases.delegate;
|
|
13792
|
+
var eventMouseupMutationLight = mouseupAliases.mutationLight;
|
|
13793
|
+
var eventMouseupMutationShadow = mouseupAliases.mutationShadow;
|
|
13794
|
+
var eventMouseupMutationAll = mouseupAliases.mutationAll;
|
|
13795
|
+
var eventMouseupMutation = mouseupAliases.mutation;
|
|
13796
|
+
var eventMouseupLight = mouseupAliases.light;
|
|
13797
|
+
var eventMouseupShadow = mouseupAliases.shadow;
|
|
13798
|
+
var eventMouseupAll = mouseupAliases.all;
|
|
13799
|
+
var eventMouseupThis = mouseupAliases.this;
|
|
13800
|
+
var eventMouseupAppHost = mouseupAliases.appHost;
|
|
13801
|
+
var eventMouseupWindow = mouseupAliases.window;
|
|
13802
|
+
var eventMouseupDocument = mouseupAliases.document;
|
|
13803
|
+
var mousemoveAliases = makeTypedEventAliases("mousemove");
|
|
13804
|
+
var eventMousemove = mousemoveAliases.base;
|
|
13805
|
+
var eventMousemoveDelegateLight = mousemoveAliases.delegateLight;
|
|
13806
|
+
var eventMousemoveDelegateShadow = mousemoveAliases.delegateShadow;
|
|
13807
|
+
var eventMousemoveDelegateAll = mousemoveAliases.delegateAll;
|
|
13808
|
+
var eventMousemoveDelegate = mousemoveAliases.delegate;
|
|
13809
|
+
var eventMousemoveMutationLight = mousemoveAliases.mutationLight;
|
|
13810
|
+
var eventMousemoveMutationShadow = mousemoveAliases.mutationShadow;
|
|
13811
|
+
var eventMousemoveMutationAll = mousemoveAliases.mutationAll;
|
|
13812
|
+
var eventMousemoveMutation = mousemoveAliases.mutation;
|
|
13813
|
+
var eventMousemoveLight = mousemoveAliases.light;
|
|
13814
|
+
var eventMousemoveShadow = mousemoveAliases.shadow;
|
|
13815
|
+
var eventMousemoveAll = mousemoveAliases.all;
|
|
13816
|
+
var eventMousemoveThis = mousemoveAliases.this;
|
|
13817
|
+
var eventMousemoveAppHost = mousemoveAliases.appHost;
|
|
13818
|
+
var eventMousemoveWindow = mousemoveAliases.window;
|
|
13819
|
+
var eventMousemoveDocument = mousemoveAliases.document;
|
|
13820
|
+
var mouseoverAliases = makeTypedEventAliases("mouseover");
|
|
13821
|
+
var eventMouseover = mouseoverAliases.base;
|
|
13822
|
+
var eventMouseoverDelegateLight = mouseoverAliases.delegateLight;
|
|
13823
|
+
var eventMouseoverDelegateShadow = mouseoverAliases.delegateShadow;
|
|
13824
|
+
var eventMouseoverDelegateAll = mouseoverAliases.delegateAll;
|
|
13825
|
+
var eventMouseoverDelegate = mouseoverAliases.delegate;
|
|
13826
|
+
var eventMouseoverMutationLight = mouseoverAliases.mutationLight;
|
|
13827
|
+
var eventMouseoverMutationShadow = mouseoverAliases.mutationShadow;
|
|
13828
|
+
var eventMouseoverMutationAll = mouseoverAliases.mutationAll;
|
|
13829
|
+
var eventMouseoverMutation = mouseoverAliases.mutation;
|
|
13830
|
+
var eventMouseoverLight = mouseoverAliases.light;
|
|
13831
|
+
var eventMouseoverShadow = mouseoverAliases.shadow;
|
|
13832
|
+
var eventMouseoverAll = mouseoverAliases.all;
|
|
13833
|
+
var eventMouseoverThis = mouseoverAliases.this;
|
|
13834
|
+
var eventMouseoverAppHost = mouseoverAliases.appHost;
|
|
13835
|
+
var eventMouseoverWindow = mouseoverAliases.window;
|
|
13836
|
+
var eventMouseoverDocument = mouseoverAliases.document;
|
|
13837
|
+
var mouseoutAliases = makeTypedEventAliases("mouseout");
|
|
13838
|
+
var eventMouseout = mouseoutAliases.base;
|
|
13839
|
+
var eventMouseoutDelegateLight = mouseoutAliases.delegateLight;
|
|
13840
|
+
var eventMouseoutDelegateShadow = mouseoutAliases.delegateShadow;
|
|
13841
|
+
var eventMouseoutDelegateAll = mouseoutAliases.delegateAll;
|
|
13842
|
+
var eventMouseoutDelegate = mouseoutAliases.delegate;
|
|
13843
|
+
var eventMouseoutMutationLight = mouseoutAliases.mutationLight;
|
|
13844
|
+
var eventMouseoutMutationShadow = mouseoutAliases.mutationShadow;
|
|
13845
|
+
var eventMouseoutMutationAll = mouseoutAliases.mutationAll;
|
|
13846
|
+
var eventMouseoutMutation = mouseoutAliases.mutation;
|
|
13847
|
+
var eventMouseoutLight = mouseoutAliases.light;
|
|
13848
|
+
var eventMouseoutShadow = mouseoutAliases.shadow;
|
|
13849
|
+
var eventMouseoutAll = mouseoutAliases.all;
|
|
13850
|
+
var eventMouseoutThis = mouseoutAliases.this;
|
|
13851
|
+
var eventMouseoutAppHost = mouseoutAliases.appHost;
|
|
13852
|
+
var eventMouseoutWindow = mouseoutAliases.window;
|
|
13853
|
+
var eventMouseoutDocument = mouseoutAliases.document;
|
|
13854
|
+
var mouseenterAliases = makeTypedEventAliases("mouseenter");
|
|
13855
|
+
var eventMouseenter = mouseenterAliases.base;
|
|
13856
|
+
var eventMouseenterDelegateLight = mouseenterAliases.delegateLight;
|
|
13857
|
+
var eventMouseenterDelegateShadow = mouseenterAliases.delegateShadow;
|
|
13858
|
+
var eventMouseenterDelegateAll = mouseenterAliases.delegateAll;
|
|
13859
|
+
var eventMouseenterDelegate = mouseenterAliases.delegate;
|
|
13860
|
+
var eventMouseenterMutationLight = mouseenterAliases.mutationLight;
|
|
13861
|
+
var eventMouseenterMutationShadow = mouseenterAliases.mutationShadow;
|
|
13862
|
+
var eventMouseenterMutationAll = mouseenterAliases.mutationAll;
|
|
13863
|
+
var eventMouseenterMutation = mouseenterAliases.mutation;
|
|
13864
|
+
var eventMouseenterLight = mouseenterAliases.light;
|
|
13865
|
+
var eventMouseenterShadow = mouseenterAliases.shadow;
|
|
13866
|
+
var eventMouseenterAll = mouseenterAliases.all;
|
|
13867
|
+
var eventMouseenterThis = mouseenterAliases.this;
|
|
13868
|
+
var eventMouseenterAppHost = mouseenterAliases.appHost;
|
|
13869
|
+
var eventMouseenterWindow = mouseenterAliases.window;
|
|
13870
|
+
var eventMouseenterDocument = mouseenterAliases.document;
|
|
13871
|
+
var mouseleaveAliases = makeTypedEventAliases("mouseleave");
|
|
13872
|
+
var eventMouseleave = mouseleaveAliases.base;
|
|
13873
|
+
var eventMouseleaveDelegateLight = mouseleaveAliases.delegateLight;
|
|
13874
|
+
var eventMouseleaveDelegateShadow = mouseleaveAliases.delegateShadow;
|
|
13875
|
+
var eventMouseleaveDelegateAll = mouseleaveAliases.delegateAll;
|
|
13876
|
+
var eventMouseleaveDelegate = mouseleaveAliases.delegate;
|
|
13877
|
+
var eventMouseleaveMutationLight = mouseleaveAliases.mutationLight;
|
|
13878
|
+
var eventMouseleaveMutationShadow = mouseleaveAliases.mutationShadow;
|
|
13879
|
+
var eventMouseleaveMutationAll = mouseleaveAliases.mutationAll;
|
|
13880
|
+
var eventMouseleaveMutation = mouseleaveAliases.mutation;
|
|
13881
|
+
var eventMouseleaveLight = mouseleaveAliases.light;
|
|
13882
|
+
var eventMouseleaveShadow = mouseleaveAliases.shadow;
|
|
13883
|
+
var eventMouseleaveAll = mouseleaveAliases.all;
|
|
13884
|
+
var eventMouseleaveThis = mouseleaveAliases.this;
|
|
13885
|
+
var eventMouseleaveAppHost = mouseleaveAliases.appHost;
|
|
13886
|
+
var eventMouseleaveWindow = mouseleaveAliases.window;
|
|
13887
|
+
var eventMouseleaveDocument = mouseleaveAliases.document;
|
|
13888
|
+
var contextmenuAliases = makeTypedEventAliases("contextmenu");
|
|
13889
|
+
var eventContextmenu = contextmenuAliases.base;
|
|
13890
|
+
var eventContextmenuDelegateLight = contextmenuAliases.delegateLight;
|
|
13891
|
+
var eventContextmenuDelegateShadow = contextmenuAliases.delegateShadow;
|
|
13892
|
+
var eventContextmenuDelegateAll = contextmenuAliases.delegateAll;
|
|
13893
|
+
var eventContextmenuDelegate = contextmenuAliases.delegate;
|
|
13894
|
+
var eventContextmenuMutationLight = contextmenuAliases.mutationLight;
|
|
13895
|
+
var eventContextmenuMutationShadow = contextmenuAliases.mutationShadow;
|
|
13896
|
+
var eventContextmenuMutationAll = contextmenuAliases.mutationAll;
|
|
13897
|
+
var eventContextmenuMutation = contextmenuAliases.mutation;
|
|
13898
|
+
var eventContextmenuLight = contextmenuAliases.light;
|
|
13899
|
+
var eventContextmenuShadow = contextmenuAliases.shadow;
|
|
13900
|
+
var eventContextmenuAll = contextmenuAliases.all;
|
|
13901
|
+
var eventContextmenuThis = contextmenuAliases.this;
|
|
13902
|
+
var eventContextmenuAppHost = contextmenuAliases.appHost;
|
|
13903
|
+
var eventContextmenuWindow = contextmenuAliases.window;
|
|
13904
|
+
var eventContextmenuDocument = contextmenuAliases.document;
|
|
13905
|
+
var wheelAliases = makeTypedEventAliases("wheel");
|
|
13906
|
+
var eventWheel = wheelAliases.base;
|
|
13907
|
+
var eventWheelDelegateLight = wheelAliases.delegateLight;
|
|
13908
|
+
var eventWheelDelegateShadow = wheelAliases.delegateShadow;
|
|
13909
|
+
var eventWheelDelegateAll = wheelAliases.delegateAll;
|
|
13910
|
+
var eventWheelDelegate = wheelAliases.delegate;
|
|
13911
|
+
var eventWheelMutationLight = wheelAliases.mutationLight;
|
|
13912
|
+
var eventWheelMutationShadow = wheelAliases.mutationShadow;
|
|
13913
|
+
var eventWheelMutationAll = wheelAliases.mutationAll;
|
|
13914
|
+
var eventWheelMutation = wheelAliases.mutation;
|
|
13915
|
+
var eventWheelLight = wheelAliases.light;
|
|
13916
|
+
var eventWheelShadow = wheelAliases.shadow;
|
|
13917
|
+
var eventWheelAll = wheelAliases.all;
|
|
13918
|
+
var eventWheelThis = wheelAliases.this;
|
|
13919
|
+
var eventWheelAppHost = wheelAliases.appHost;
|
|
13920
|
+
var eventWheelWindow = wheelAliases.window;
|
|
13921
|
+
var eventWheelDocument = wheelAliases.document;
|
|
13922
|
+
var keydownAliases = makeTypedEventAliases("keydown");
|
|
13923
|
+
var eventKeydown = keydownAliases.base;
|
|
13924
|
+
var eventKeydownDelegateLight = keydownAliases.delegateLight;
|
|
13925
|
+
var eventKeydownDelegateShadow = keydownAliases.delegateShadow;
|
|
13926
|
+
var eventKeydownDelegateAll = keydownAliases.delegateAll;
|
|
13927
|
+
var eventKeydownDelegate = keydownAliases.delegate;
|
|
13928
|
+
var eventKeydownMutationLight = keydownAliases.mutationLight;
|
|
13929
|
+
var eventKeydownMutationShadow = keydownAliases.mutationShadow;
|
|
13930
|
+
var eventKeydownMutationAll = keydownAliases.mutationAll;
|
|
13931
|
+
var eventKeydownMutation = keydownAliases.mutation;
|
|
13932
|
+
var eventKeydownLight = keydownAliases.light;
|
|
13933
|
+
var eventKeydownShadow = keydownAliases.shadow;
|
|
13934
|
+
var eventKeydownAll = keydownAliases.all;
|
|
13935
|
+
var eventKeydownThis = keydownAliases.this;
|
|
13936
|
+
var eventKeydownAppHost = keydownAliases.appHost;
|
|
13937
|
+
var eventKeydownWindow = keydownAliases.window;
|
|
13938
|
+
var eventKeydownDocument = keydownAliases.document;
|
|
13939
|
+
var keyupAliases = makeTypedEventAliases("keyup");
|
|
13940
|
+
var eventKeyup = keyupAliases.base;
|
|
13941
|
+
var eventKeyupDelegateLight = keyupAliases.delegateLight;
|
|
13942
|
+
var eventKeyupDelegateShadow = keyupAliases.delegateShadow;
|
|
13943
|
+
var eventKeyupDelegateAll = keyupAliases.delegateAll;
|
|
13944
|
+
var eventKeyupDelegate = keyupAliases.delegate;
|
|
13945
|
+
var eventKeyupMutationLight = keyupAliases.mutationLight;
|
|
13946
|
+
var eventKeyupMutationShadow = keyupAliases.mutationShadow;
|
|
13947
|
+
var eventKeyupMutationAll = keyupAliases.mutationAll;
|
|
13948
|
+
var eventKeyupMutation = keyupAliases.mutation;
|
|
13949
|
+
var eventKeyupLight = keyupAliases.light;
|
|
13950
|
+
var eventKeyupShadow = keyupAliases.shadow;
|
|
13951
|
+
var eventKeyupAll = keyupAliases.all;
|
|
13952
|
+
var eventKeyupThis = keyupAliases.this;
|
|
13953
|
+
var eventKeyupAppHost = keyupAliases.appHost;
|
|
13954
|
+
var eventKeyupWindow = keyupAliases.window;
|
|
13955
|
+
var eventKeyupDocument = keyupAliases.document;
|
|
13956
|
+
var keypressAliases = makeTypedEventAliases("keypress");
|
|
13957
|
+
var eventKeypress = keypressAliases.base;
|
|
13958
|
+
var eventKeypressDelegateLight = keypressAliases.delegateLight;
|
|
13959
|
+
var eventKeypressDelegateShadow = keypressAliases.delegateShadow;
|
|
13960
|
+
var eventKeypressDelegateAll = keypressAliases.delegateAll;
|
|
13961
|
+
var eventKeypressDelegate = keypressAliases.delegate;
|
|
13962
|
+
var eventKeypressMutationLight = keypressAliases.mutationLight;
|
|
13963
|
+
var eventKeypressMutationShadow = keypressAliases.mutationShadow;
|
|
13964
|
+
var eventKeypressMutationAll = keypressAliases.mutationAll;
|
|
13965
|
+
var eventKeypressMutation = keypressAliases.mutation;
|
|
13966
|
+
var eventKeypressLight = keypressAliases.light;
|
|
13967
|
+
var eventKeypressShadow = keypressAliases.shadow;
|
|
13968
|
+
var eventKeypressAll = keypressAliases.all;
|
|
13969
|
+
var eventKeypressThis = keypressAliases.this;
|
|
13970
|
+
var eventKeypressAppHost = keypressAliases.appHost;
|
|
13971
|
+
var eventKeypressWindow = keypressAliases.window;
|
|
13972
|
+
var eventKeypressDocument = keypressAliases.document;
|
|
13973
|
+
var inputAliases = makeTypedEventAliases("input");
|
|
13974
|
+
var eventInput = inputAliases.base;
|
|
13975
|
+
var eventInputDelegateLight = inputAliases.delegateLight;
|
|
13976
|
+
var eventInputDelegateShadow = inputAliases.delegateShadow;
|
|
13977
|
+
var eventInputDelegateAll = inputAliases.delegateAll;
|
|
13978
|
+
var eventInputDelegate = inputAliases.delegate;
|
|
13979
|
+
var eventInputMutationLight = inputAliases.mutationLight;
|
|
13980
|
+
var eventInputMutationShadow = inputAliases.mutationShadow;
|
|
13981
|
+
var eventInputMutationAll = inputAliases.mutationAll;
|
|
13982
|
+
var eventInputMutation = inputAliases.mutation;
|
|
13983
|
+
var eventInputLight = inputAliases.light;
|
|
13984
|
+
var eventInputShadow = inputAliases.shadow;
|
|
13985
|
+
var eventInputAll = inputAliases.all;
|
|
13986
|
+
var eventInputThis = inputAliases.this;
|
|
13987
|
+
var eventInputAppHost = inputAliases.appHost;
|
|
13988
|
+
var eventInputWindow = inputAliases.window;
|
|
13989
|
+
var eventInputDocument = inputAliases.document;
|
|
13990
|
+
var changeAliases = makeTypedEventAliases("change");
|
|
13991
|
+
var eventChange = changeAliases.base;
|
|
13992
|
+
var eventChangeDelegateLight = changeAliases.delegateLight;
|
|
13993
|
+
var eventChangeDelegateShadow = changeAliases.delegateShadow;
|
|
13994
|
+
var eventChangeDelegateAll = changeAliases.delegateAll;
|
|
13995
|
+
var eventChangeDelegate = changeAliases.delegate;
|
|
13996
|
+
var eventChangeMutationLight = changeAliases.mutationLight;
|
|
13997
|
+
var eventChangeMutationShadow = changeAliases.mutationShadow;
|
|
13998
|
+
var eventChangeMutationAll = changeAliases.mutationAll;
|
|
13999
|
+
var eventChangeMutation = changeAliases.mutation;
|
|
14000
|
+
var eventChangeLight = changeAliases.light;
|
|
14001
|
+
var eventChangeShadow = changeAliases.shadow;
|
|
14002
|
+
var eventChangeAll = changeAliases.all;
|
|
14003
|
+
var eventChangeThis = changeAliases.this;
|
|
14004
|
+
var eventChangeAppHost = changeAliases.appHost;
|
|
14005
|
+
var eventChangeWindow = changeAliases.window;
|
|
14006
|
+
var eventChangeDocument = changeAliases.document;
|
|
14007
|
+
var submitAliases = makeTypedEventAliases("submit");
|
|
14008
|
+
var eventSubmit = submitAliases.base;
|
|
14009
|
+
var eventSubmitDelegateLight = submitAliases.delegateLight;
|
|
14010
|
+
var eventSubmitDelegateShadow = submitAliases.delegateShadow;
|
|
14011
|
+
var eventSubmitDelegateAll = submitAliases.delegateAll;
|
|
14012
|
+
var eventSubmitDelegate = submitAliases.delegate;
|
|
14013
|
+
var eventSubmitMutationLight = submitAliases.mutationLight;
|
|
14014
|
+
var eventSubmitMutationShadow = submitAliases.mutationShadow;
|
|
14015
|
+
var eventSubmitMutationAll = submitAliases.mutationAll;
|
|
14016
|
+
var eventSubmitMutation = submitAliases.mutation;
|
|
14017
|
+
var eventSubmitLight = submitAliases.light;
|
|
14018
|
+
var eventSubmitShadow = submitAliases.shadow;
|
|
14019
|
+
var eventSubmitAll = submitAliases.all;
|
|
14020
|
+
var eventSubmitThis = submitAliases.this;
|
|
14021
|
+
var eventSubmitAppHost = submitAliases.appHost;
|
|
14022
|
+
var eventSubmitWindow = submitAliases.window;
|
|
14023
|
+
var eventSubmitDocument = submitAliases.document;
|
|
14024
|
+
var resetAliases = makeTypedEventAliases("reset");
|
|
14025
|
+
var eventReset = resetAliases.base;
|
|
14026
|
+
var eventResetDelegateLight = resetAliases.delegateLight;
|
|
14027
|
+
var eventResetDelegateShadow = resetAliases.delegateShadow;
|
|
14028
|
+
var eventResetDelegateAll = resetAliases.delegateAll;
|
|
14029
|
+
var eventResetDelegate = resetAliases.delegate;
|
|
14030
|
+
var eventResetMutationLight = resetAliases.mutationLight;
|
|
14031
|
+
var eventResetMutationShadow = resetAliases.mutationShadow;
|
|
14032
|
+
var eventResetMutationAll = resetAliases.mutationAll;
|
|
14033
|
+
var eventResetMutation = resetAliases.mutation;
|
|
14034
|
+
var eventResetLight = resetAliases.light;
|
|
14035
|
+
var eventResetShadow = resetAliases.shadow;
|
|
14036
|
+
var eventResetAll = resetAliases.all;
|
|
14037
|
+
var eventResetThis = resetAliases.this;
|
|
14038
|
+
var eventResetAppHost = resetAliases.appHost;
|
|
14039
|
+
var eventResetWindow = resetAliases.window;
|
|
14040
|
+
var eventResetDocument = resetAliases.document;
|
|
14041
|
+
var invalidAliases = makeTypedEventAliases("invalid");
|
|
14042
|
+
var eventInvalid = invalidAliases.base;
|
|
14043
|
+
var eventInvalidDelegateLight = invalidAliases.delegateLight;
|
|
14044
|
+
var eventInvalidDelegateShadow = invalidAliases.delegateShadow;
|
|
14045
|
+
var eventInvalidDelegateAll = invalidAliases.delegateAll;
|
|
14046
|
+
var eventInvalidDelegate = invalidAliases.delegate;
|
|
14047
|
+
var eventInvalidMutationLight = invalidAliases.mutationLight;
|
|
14048
|
+
var eventInvalidMutationShadow = invalidAliases.mutationShadow;
|
|
14049
|
+
var eventInvalidMutationAll = invalidAliases.mutationAll;
|
|
14050
|
+
var eventInvalidMutation = invalidAliases.mutation;
|
|
14051
|
+
var eventInvalidLight = invalidAliases.light;
|
|
14052
|
+
var eventInvalidShadow = invalidAliases.shadow;
|
|
14053
|
+
var eventInvalidAll = invalidAliases.all;
|
|
14054
|
+
var eventInvalidThis = invalidAliases.this;
|
|
14055
|
+
var eventInvalidAppHost = invalidAliases.appHost;
|
|
14056
|
+
var eventInvalidWindow = invalidAliases.window;
|
|
14057
|
+
var eventInvalidDocument = invalidAliases.document;
|
|
14058
|
+
var selectAliases = makeTypedEventAliases("select");
|
|
14059
|
+
var eventSelect = selectAliases.base;
|
|
14060
|
+
var eventSelectDelegateLight = selectAliases.delegateLight;
|
|
14061
|
+
var eventSelectDelegateShadow = selectAliases.delegateShadow;
|
|
14062
|
+
var eventSelectDelegateAll = selectAliases.delegateAll;
|
|
14063
|
+
var eventSelectDelegate = selectAliases.delegate;
|
|
14064
|
+
var eventSelectMutationLight = selectAliases.mutationLight;
|
|
14065
|
+
var eventSelectMutationShadow = selectAliases.mutationShadow;
|
|
14066
|
+
var eventSelectMutationAll = selectAliases.mutationAll;
|
|
14067
|
+
var eventSelectMutation = selectAliases.mutation;
|
|
14068
|
+
var eventSelectLight = selectAliases.light;
|
|
14069
|
+
var eventSelectShadow = selectAliases.shadow;
|
|
14070
|
+
var eventSelectAll = selectAliases.all;
|
|
14071
|
+
var eventSelectThis = selectAliases.this;
|
|
14072
|
+
var eventSelectAppHost = selectAliases.appHost;
|
|
14073
|
+
var eventSelectWindow = selectAliases.window;
|
|
14074
|
+
var eventSelectDocument = selectAliases.document;
|
|
14075
|
+
var focusAliases = makeTypedEventAliases("focus");
|
|
14076
|
+
var eventFocus = focusAliases.base;
|
|
14077
|
+
var eventFocusDelegateLight = focusAliases.delegateLight;
|
|
14078
|
+
var eventFocusDelegateShadow = focusAliases.delegateShadow;
|
|
14079
|
+
var eventFocusDelegateAll = focusAliases.delegateAll;
|
|
14080
|
+
var eventFocusDelegate = focusAliases.delegate;
|
|
14081
|
+
var eventFocusMutationLight = focusAliases.mutationLight;
|
|
14082
|
+
var eventFocusMutationShadow = focusAliases.mutationShadow;
|
|
14083
|
+
var eventFocusMutationAll = focusAliases.mutationAll;
|
|
14084
|
+
var eventFocusMutation = focusAliases.mutation;
|
|
14085
|
+
var eventFocusLight = focusAliases.light;
|
|
14086
|
+
var eventFocusShadow = focusAliases.shadow;
|
|
14087
|
+
var eventFocusAll = focusAliases.all;
|
|
14088
|
+
var eventFocusThis = focusAliases.this;
|
|
14089
|
+
var eventFocusAppHost = focusAliases.appHost;
|
|
14090
|
+
var eventFocusWindow = focusAliases.window;
|
|
14091
|
+
var eventFocusDocument = focusAliases.document;
|
|
14092
|
+
var blurAliases = makeTypedEventAliases("blur");
|
|
14093
|
+
var eventBlur = blurAliases.base;
|
|
14094
|
+
var eventBlurDelegateLight = blurAliases.delegateLight;
|
|
14095
|
+
var eventBlurDelegateShadow = blurAliases.delegateShadow;
|
|
14096
|
+
var eventBlurDelegateAll = blurAliases.delegateAll;
|
|
14097
|
+
var eventBlurDelegate = blurAliases.delegate;
|
|
14098
|
+
var eventBlurMutationLight = blurAliases.mutationLight;
|
|
14099
|
+
var eventBlurMutationShadow = blurAliases.mutationShadow;
|
|
14100
|
+
var eventBlurMutationAll = blurAliases.mutationAll;
|
|
14101
|
+
var eventBlurMutation = blurAliases.mutation;
|
|
14102
|
+
var eventBlurLight = blurAliases.light;
|
|
14103
|
+
var eventBlurShadow = blurAliases.shadow;
|
|
14104
|
+
var eventBlurAll = blurAliases.all;
|
|
14105
|
+
var eventBlurThis = blurAliases.this;
|
|
14106
|
+
var eventBlurAppHost = blurAliases.appHost;
|
|
14107
|
+
var eventBlurWindow = blurAliases.window;
|
|
14108
|
+
var eventBlurDocument = blurAliases.document;
|
|
14109
|
+
var focusinAliases = makeTypedEventAliases("focusin");
|
|
14110
|
+
var eventFocusin = focusinAliases.base;
|
|
14111
|
+
var eventFocusinDelegateLight = focusinAliases.delegateLight;
|
|
14112
|
+
var eventFocusinDelegateShadow = focusinAliases.delegateShadow;
|
|
14113
|
+
var eventFocusinDelegateAll = focusinAliases.delegateAll;
|
|
14114
|
+
var eventFocusinDelegate = focusinAliases.delegate;
|
|
14115
|
+
var eventFocusinMutationLight = focusinAliases.mutationLight;
|
|
14116
|
+
var eventFocusinMutationShadow = focusinAliases.mutationShadow;
|
|
14117
|
+
var eventFocusinMutationAll = focusinAliases.mutationAll;
|
|
14118
|
+
var eventFocusinMutation = focusinAliases.mutation;
|
|
14119
|
+
var eventFocusinLight = focusinAliases.light;
|
|
14120
|
+
var eventFocusinShadow = focusinAliases.shadow;
|
|
14121
|
+
var eventFocusinAll = focusinAliases.all;
|
|
14122
|
+
var eventFocusinThis = focusinAliases.this;
|
|
14123
|
+
var eventFocusinAppHost = focusinAliases.appHost;
|
|
14124
|
+
var eventFocusinWindow = focusinAliases.window;
|
|
14125
|
+
var eventFocusinDocument = focusinAliases.document;
|
|
14126
|
+
var focusoutAliases = makeTypedEventAliases("focusout");
|
|
14127
|
+
var eventFocusout = focusoutAliases.base;
|
|
14128
|
+
var eventFocusoutDelegateLight = focusoutAliases.delegateLight;
|
|
14129
|
+
var eventFocusoutDelegateShadow = focusoutAliases.delegateShadow;
|
|
14130
|
+
var eventFocusoutDelegateAll = focusoutAliases.delegateAll;
|
|
14131
|
+
var eventFocusoutDelegate = focusoutAliases.delegate;
|
|
14132
|
+
var eventFocusoutMutationLight = focusoutAliases.mutationLight;
|
|
14133
|
+
var eventFocusoutMutationShadow = focusoutAliases.mutationShadow;
|
|
14134
|
+
var eventFocusoutMutationAll = focusoutAliases.mutationAll;
|
|
14135
|
+
var eventFocusoutMutation = focusoutAliases.mutation;
|
|
14136
|
+
var eventFocusoutLight = focusoutAliases.light;
|
|
14137
|
+
var eventFocusoutShadow = focusoutAliases.shadow;
|
|
14138
|
+
var eventFocusoutAll = focusoutAliases.all;
|
|
14139
|
+
var eventFocusoutThis = focusoutAliases.this;
|
|
14140
|
+
var eventFocusoutAppHost = focusoutAliases.appHost;
|
|
14141
|
+
var eventFocusoutWindow = focusoutAliases.window;
|
|
14142
|
+
var eventFocusoutDocument = focusoutAliases.document;
|
|
14143
|
+
var dragstartAliases = makeTypedEventAliases("dragstart");
|
|
14144
|
+
var eventDragstart = dragstartAliases.base;
|
|
14145
|
+
var eventDragstartDelegateLight = dragstartAliases.delegateLight;
|
|
14146
|
+
var eventDragstartDelegateShadow = dragstartAliases.delegateShadow;
|
|
14147
|
+
var eventDragstartDelegateAll = dragstartAliases.delegateAll;
|
|
14148
|
+
var eventDragstartDelegate = dragstartAliases.delegate;
|
|
14149
|
+
var eventDragstartMutationLight = dragstartAliases.mutationLight;
|
|
14150
|
+
var eventDragstartMutationShadow = dragstartAliases.mutationShadow;
|
|
14151
|
+
var eventDragstartMutationAll = dragstartAliases.mutationAll;
|
|
14152
|
+
var eventDragstartMutation = dragstartAliases.mutation;
|
|
14153
|
+
var eventDragstartLight = dragstartAliases.light;
|
|
14154
|
+
var eventDragstartShadow = dragstartAliases.shadow;
|
|
14155
|
+
var eventDragstartAll = dragstartAliases.all;
|
|
14156
|
+
var eventDragstartThis = dragstartAliases.this;
|
|
14157
|
+
var eventDragstartAppHost = dragstartAliases.appHost;
|
|
14158
|
+
var eventDragstartWindow = dragstartAliases.window;
|
|
14159
|
+
var eventDragstartDocument = dragstartAliases.document;
|
|
14160
|
+
var dragAliases = makeTypedEventAliases("drag");
|
|
14161
|
+
var eventDrag = dragAliases.base;
|
|
14162
|
+
var eventDragDelegateLight = dragAliases.delegateLight;
|
|
14163
|
+
var eventDragDelegateShadow = dragAliases.delegateShadow;
|
|
14164
|
+
var eventDragDelegateAll = dragAliases.delegateAll;
|
|
14165
|
+
var eventDragDelegate = dragAliases.delegate;
|
|
14166
|
+
var eventDragMutationLight = dragAliases.mutationLight;
|
|
14167
|
+
var eventDragMutationShadow = dragAliases.mutationShadow;
|
|
14168
|
+
var eventDragMutationAll = dragAliases.mutationAll;
|
|
14169
|
+
var eventDragMutation = dragAliases.mutation;
|
|
14170
|
+
var eventDragLight = dragAliases.light;
|
|
14171
|
+
var eventDragShadow = dragAliases.shadow;
|
|
14172
|
+
var eventDragAll = dragAliases.all;
|
|
14173
|
+
var eventDragThis = dragAliases.this;
|
|
14174
|
+
var eventDragAppHost = dragAliases.appHost;
|
|
14175
|
+
var eventDragWindow = dragAliases.window;
|
|
14176
|
+
var eventDragDocument = dragAliases.document;
|
|
14177
|
+
var dragendAliases = makeTypedEventAliases("dragend");
|
|
14178
|
+
var eventDragend = dragendAliases.base;
|
|
14179
|
+
var eventDragendDelegateLight = dragendAliases.delegateLight;
|
|
14180
|
+
var eventDragendDelegateShadow = dragendAliases.delegateShadow;
|
|
14181
|
+
var eventDragendDelegateAll = dragendAliases.delegateAll;
|
|
14182
|
+
var eventDragendDelegate = dragendAliases.delegate;
|
|
14183
|
+
var eventDragendMutationLight = dragendAliases.mutationLight;
|
|
14184
|
+
var eventDragendMutationShadow = dragendAliases.mutationShadow;
|
|
14185
|
+
var eventDragendMutationAll = dragendAliases.mutationAll;
|
|
14186
|
+
var eventDragendMutation = dragendAliases.mutation;
|
|
14187
|
+
var eventDragendLight = dragendAliases.light;
|
|
14188
|
+
var eventDragendShadow = dragendAliases.shadow;
|
|
14189
|
+
var eventDragendAll = dragendAliases.all;
|
|
14190
|
+
var eventDragendThis = dragendAliases.this;
|
|
14191
|
+
var eventDragendAppHost = dragendAliases.appHost;
|
|
14192
|
+
var eventDragendWindow = dragendAliases.window;
|
|
14193
|
+
var eventDragendDocument = dragendAliases.document;
|
|
14194
|
+
var dragenterAliases = makeTypedEventAliases("dragenter");
|
|
14195
|
+
var eventDragenter = dragenterAliases.base;
|
|
14196
|
+
var eventDragenterDelegateLight = dragenterAliases.delegateLight;
|
|
14197
|
+
var eventDragenterDelegateShadow = dragenterAliases.delegateShadow;
|
|
14198
|
+
var eventDragenterDelegateAll = dragenterAliases.delegateAll;
|
|
14199
|
+
var eventDragenterDelegate = dragenterAliases.delegate;
|
|
14200
|
+
var eventDragenterMutationLight = dragenterAliases.mutationLight;
|
|
14201
|
+
var eventDragenterMutationShadow = dragenterAliases.mutationShadow;
|
|
14202
|
+
var eventDragenterMutationAll = dragenterAliases.mutationAll;
|
|
14203
|
+
var eventDragenterMutation = dragenterAliases.mutation;
|
|
14204
|
+
var eventDragenterLight = dragenterAliases.light;
|
|
14205
|
+
var eventDragenterShadow = dragenterAliases.shadow;
|
|
14206
|
+
var eventDragenterAll = dragenterAliases.all;
|
|
14207
|
+
var eventDragenterThis = dragenterAliases.this;
|
|
14208
|
+
var eventDragenterAppHost = dragenterAliases.appHost;
|
|
14209
|
+
var eventDragenterWindow = dragenterAliases.window;
|
|
14210
|
+
var eventDragenterDocument = dragenterAliases.document;
|
|
14211
|
+
var dragleaveAliases = makeTypedEventAliases("dragleave");
|
|
14212
|
+
var eventDragleave = dragleaveAliases.base;
|
|
14213
|
+
var eventDragleaveDelegateLight = dragleaveAliases.delegateLight;
|
|
14214
|
+
var eventDragleaveDelegateShadow = dragleaveAliases.delegateShadow;
|
|
14215
|
+
var eventDragleaveDelegateAll = dragleaveAliases.delegateAll;
|
|
14216
|
+
var eventDragleaveDelegate = dragleaveAliases.delegate;
|
|
14217
|
+
var eventDragleaveMutationLight = dragleaveAliases.mutationLight;
|
|
14218
|
+
var eventDragleaveMutationShadow = dragleaveAliases.mutationShadow;
|
|
14219
|
+
var eventDragleaveMutationAll = dragleaveAliases.mutationAll;
|
|
14220
|
+
var eventDragleaveMutation = dragleaveAliases.mutation;
|
|
14221
|
+
var eventDragleaveLight = dragleaveAliases.light;
|
|
14222
|
+
var eventDragleaveShadow = dragleaveAliases.shadow;
|
|
14223
|
+
var eventDragleaveAll = dragleaveAliases.all;
|
|
14224
|
+
var eventDragleaveThis = dragleaveAliases.this;
|
|
14225
|
+
var eventDragleaveAppHost = dragleaveAliases.appHost;
|
|
14226
|
+
var eventDragleaveWindow = dragleaveAliases.window;
|
|
14227
|
+
var eventDragleaveDocument = dragleaveAliases.document;
|
|
14228
|
+
var dragoverAliases = makeTypedEventAliases("dragover");
|
|
14229
|
+
var eventDragover = dragoverAliases.base;
|
|
14230
|
+
var eventDragoverDelegateLight = dragoverAliases.delegateLight;
|
|
14231
|
+
var eventDragoverDelegateShadow = dragoverAliases.delegateShadow;
|
|
14232
|
+
var eventDragoverDelegateAll = dragoverAliases.delegateAll;
|
|
14233
|
+
var eventDragoverDelegate = dragoverAliases.delegate;
|
|
14234
|
+
var eventDragoverMutationLight = dragoverAliases.mutationLight;
|
|
14235
|
+
var eventDragoverMutationShadow = dragoverAliases.mutationShadow;
|
|
14236
|
+
var eventDragoverMutationAll = dragoverAliases.mutationAll;
|
|
14237
|
+
var eventDragoverMutation = dragoverAliases.mutation;
|
|
14238
|
+
var eventDragoverLight = dragoverAliases.light;
|
|
14239
|
+
var eventDragoverShadow = dragoverAliases.shadow;
|
|
14240
|
+
var eventDragoverAll = dragoverAliases.all;
|
|
14241
|
+
var eventDragoverThis = dragoverAliases.this;
|
|
14242
|
+
var eventDragoverAppHost = dragoverAliases.appHost;
|
|
14243
|
+
var eventDragoverWindow = dragoverAliases.window;
|
|
14244
|
+
var eventDragoverDocument = dragoverAliases.document;
|
|
14245
|
+
var dropAliases = makeTypedEventAliases("drop");
|
|
14246
|
+
var eventDrop = dropAliases.base;
|
|
14247
|
+
var eventDropDelegateLight = dropAliases.delegateLight;
|
|
14248
|
+
var eventDropDelegateShadow = dropAliases.delegateShadow;
|
|
14249
|
+
var eventDropDelegateAll = dropAliases.delegateAll;
|
|
14250
|
+
var eventDropDelegate = dropAliases.delegate;
|
|
14251
|
+
var eventDropMutationLight = dropAliases.mutationLight;
|
|
14252
|
+
var eventDropMutationShadow = dropAliases.mutationShadow;
|
|
14253
|
+
var eventDropMutationAll = dropAliases.mutationAll;
|
|
14254
|
+
var eventDropMutation = dropAliases.mutation;
|
|
14255
|
+
var eventDropLight = dropAliases.light;
|
|
14256
|
+
var eventDropShadow = dropAliases.shadow;
|
|
14257
|
+
var eventDropAll = dropAliases.all;
|
|
14258
|
+
var eventDropThis = dropAliases.this;
|
|
14259
|
+
var eventDropAppHost = dropAliases.appHost;
|
|
14260
|
+
var eventDropWindow = dropAliases.window;
|
|
14261
|
+
var eventDropDocument = dropAliases.document;
|
|
14262
|
+
var touchstartAliases = makeTypedEventAliases("touchstart");
|
|
14263
|
+
var eventTouchstart = touchstartAliases.base;
|
|
14264
|
+
var eventTouchstartDelegateLight = touchstartAliases.delegateLight;
|
|
14265
|
+
var eventTouchstartDelegateShadow = touchstartAliases.delegateShadow;
|
|
14266
|
+
var eventTouchstartDelegateAll = touchstartAliases.delegateAll;
|
|
14267
|
+
var eventTouchstartDelegate = touchstartAliases.delegate;
|
|
14268
|
+
var eventTouchstartMutationLight = touchstartAliases.mutationLight;
|
|
14269
|
+
var eventTouchstartMutationShadow = touchstartAliases.mutationShadow;
|
|
14270
|
+
var eventTouchstartMutationAll = touchstartAliases.mutationAll;
|
|
14271
|
+
var eventTouchstartMutation = touchstartAliases.mutation;
|
|
14272
|
+
var eventTouchstartLight = touchstartAliases.light;
|
|
14273
|
+
var eventTouchstartShadow = touchstartAliases.shadow;
|
|
14274
|
+
var eventTouchstartAll = touchstartAliases.all;
|
|
14275
|
+
var eventTouchstartThis = touchstartAliases.this;
|
|
14276
|
+
var eventTouchstartAppHost = touchstartAliases.appHost;
|
|
14277
|
+
var eventTouchstartWindow = touchstartAliases.window;
|
|
14278
|
+
var eventTouchstartDocument = touchstartAliases.document;
|
|
14279
|
+
var touchmoveAliases = makeTypedEventAliases("touchmove");
|
|
14280
|
+
var eventTouchmove = touchmoveAliases.base;
|
|
14281
|
+
var eventTouchmoveDelegateLight = touchmoveAliases.delegateLight;
|
|
14282
|
+
var eventTouchmoveDelegateShadow = touchmoveAliases.delegateShadow;
|
|
14283
|
+
var eventTouchmoveDelegateAll = touchmoveAliases.delegateAll;
|
|
14284
|
+
var eventTouchmoveDelegate = touchmoveAliases.delegate;
|
|
14285
|
+
var eventTouchmoveMutationLight = touchmoveAliases.mutationLight;
|
|
14286
|
+
var eventTouchmoveMutationShadow = touchmoveAliases.mutationShadow;
|
|
14287
|
+
var eventTouchmoveMutationAll = touchmoveAliases.mutationAll;
|
|
14288
|
+
var eventTouchmoveMutation = touchmoveAliases.mutation;
|
|
14289
|
+
var eventTouchmoveLight = touchmoveAliases.light;
|
|
14290
|
+
var eventTouchmoveShadow = touchmoveAliases.shadow;
|
|
14291
|
+
var eventTouchmoveAll = touchmoveAliases.all;
|
|
14292
|
+
var eventTouchmoveThis = touchmoveAliases.this;
|
|
14293
|
+
var eventTouchmoveAppHost = touchmoveAliases.appHost;
|
|
14294
|
+
var eventTouchmoveWindow = touchmoveAliases.window;
|
|
14295
|
+
var eventTouchmoveDocument = touchmoveAliases.document;
|
|
14296
|
+
var touchendAliases = makeTypedEventAliases("touchend");
|
|
14297
|
+
var eventTouchend = touchendAliases.base;
|
|
14298
|
+
var eventTouchendDelegateLight = touchendAliases.delegateLight;
|
|
14299
|
+
var eventTouchendDelegateShadow = touchendAliases.delegateShadow;
|
|
14300
|
+
var eventTouchendDelegateAll = touchendAliases.delegateAll;
|
|
14301
|
+
var eventTouchendDelegate = touchendAliases.delegate;
|
|
14302
|
+
var eventTouchendMutationLight = touchendAliases.mutationLight;
|
|
14303
|
+
var eventTouchendMutationShadow = touchendAliases.mutationShadow;
|
|
14304
|
+
var eventTouchendMutationAll = touchendAliases.mutationAll;
|
|
14305
|
+
var eventTouchendMutation = touchendAliases.mutation;
|
|
14306
|
+
var eventTouchendLight = touchendAliases.light;
|
|
14307
|
+
var eventTouchendShadow = touchendAliases.shadow;
|
|
14308
|
+
var eventTouchendAll = touchendAliases.all;
|
|
14309
|
+
var eventTouchendThis = touchendAliases.this;
|
|
14310
|
+
var eventTouchendAppHost = touchendAliases.appHost;
|
|
14311
|
+
var eventTouchendWindow = touchendAliases.window;
|
|
14312
|
+
var eventTouchendDocument = touchendAliases.document;
|
|
14313
|
+
var touchcancelAliases = makeTypedEventAliases("touchcancel");
|
|
14314
|
+
var eventTouchcancel = touchcancelAliases.base;
|
|
14315
|
+
var eventTouchcancelDelegateLight = touchcancelAliases.delegateLight;
|
|
14316
|
+
var eventTouchcancelDelegateShadow = touchcancelAliases.delegateShadow;
|
|
14317
|
+
var eventTouchcancelDelegateAll = touchcancelAliases.delegateAll;
|
|
14318
|
+
var eventTouchcancelDelegate = touchcancelAliases.delegate;
|
|
14319
|
+
var eventTouchcancelMutationLight = touchcancelAliases.mutationLight;
|
|
14320
|
+
var eventTouchcancelMutationShadow = touchcancelAliases.mutationShadow;
|
|
14321
|
+
var eventTouchcancelMutationAll = touchcancelAliases.mutationAll;
|
|
14322
|
+
var eventTouchcancelMutation = touchcancelAliases.mutation;
|
|
14323
|
+
var eventTouchcancelLight = touchcancelAliases.light;
|
|
14324
|
+
var eventTouchcancelShadow = touchcancelAliases.shadow;
|
|
14325
|
+
var eventTouchcancelAll = touchcancelAliases.all;
|
|
14326
|
+
var eventTouchcancelThis = touchcancelAliases.this;
|
|
14327
|
+
var eventTouchcancelAppHost = touchcancelAliases.appHost;
|
|
14328
|
+
var eventTouchcancelWindow = touchcancelAliases.window;
|
|
14329
|
+
var eventTouchcancelDocument = touchcancelAliases.document;
|
|
14330
|
+
var pointerdownAliases = makeTypedEventAliases("pointerdown");
|
|
14331
|
+
var eventPointerdown = pointerdownAliases.base;
|
|
14332
|
+
var eventPointerdownDelegateLight = pointerdownAliases.delegateLight;
|
|
14333
|
+
var eventPointerdownDelegateShadow = pointerdownAliases.delegateShadow;
|
|
14334
|
+
var eventPointerdownDelegateAll = pointerdownAliases.delegateAll;
|
|
14335
|
+
var eventPointerdownDelegate = pointerdownAliases.delegate;
|
|
14336
|
+
var eventPointerdownMutationLight = pointerdownAliases.mutationLight;
|
|
14337
|
+
var eventPointerdownMutationShadow = pointerdownAliases.mutationShadow;
|
|
14338
|
+
var eventPointerdownMutationAll = pointerdownAliases.mutationAll;
|
|
14339
|
+
var eventPointerdownMutation = pointerdownAliases.mutation;
|
|
14340
|
+
var eventPointerdownLight = pointerdownAliases.light;
|
|
14341
|
+
var eventPointerdownShadow = pointerdownAliases.shadow;
|
|
14342
|
+
var eventPointerdownAll = pointerdownAliases.all;
|
|
14343
|
+
var eventPointerdownThis = pointerdownAliases.this;
|
|
14344
|
+
var eventPointerdownAppHost = pointerdownAliases.appHost;
|
|
14345
|
+
var eventPointerdownWindow = pointerdownAliases.window;
|
|
14346
|
+
var eventPointerdownDocument = pointerdownAliases.document;
|
|
14347
|
+
var pointerupAliases = makeTypedEventAliases("pointerup");
|
|
14348
|
+
var eventPointerup = pointerupAliases.base;
|
|
14349
|
+
var eventPointerupDelegateLight = pointerupAliases.delegateLight;
|
|
14350
|
+
var eventPointerupDelegateShadow = pointerupAliases.delegateShadow;
|
|
14351
|
+
var eventPointerupDelegateAll = pointerupAliases.delegateAll;
|
|
14352
|
+
var eventPointerupDelegate = pointerupAliases.delegate;
|
|
14353
|
+
var eventPointerupMutationLight = pointerupAliases.mutationLight;
|
|
14354
|
+
var eventPointerupMutationShadow = pointerupAliases.mutationShadow;
|
|
14355
|
+
var eventPointerupMutationAll = pointerupAliases.mutationAll;
|
|
14356
|
+
var eventPointerupMutation = pointerupAliases.mutation;
|
|
14357
|
+
var eventPointerupLight = pointerupAliases.light;
|
|
14358
|
+
var eventPointerupShadow = pointerupAliases.shadow;
|
|
14359
|
+
var eventPointerupAll = pointerupAliases.all;
|
|
14360
|
+
var eventPointerupThis = pointerupAliases.this;
|
|
14361
|
+
var eventPointerupAppHost = pointerupAliases.appHost;
|
|
14362
|
+
var eventPointerupWindow = pointerupAliases.window;
|
|
14363
|
+
var eventPointerupDocument = pointerupAliases.document;
|
|
14364
|
+
var pointermoveAliases = makeTypedEventAliases("pointermove");
|
|
14365
|
+
var eventPointermove = pointermoveAliases.base;
|
|
14366
|
+
var eventPointermoveDelegateLight = pointermoveAliases.delegateLight;
|
|
14367
|
+
var eventPointermoveDelegateShadow = pointermoveAliases.delegateShadow;
|
|
14368
|
+
var eventPointermoveDelegateAll = pointermoveAliases.delegateAll;
|
|
14369
|
+
var eventPointermoveDelegate = pointermoveAliases.delegate;
|
|
14370
|
+
var eventPointermoveMutationLight = pointermoveAliases.mutationLight;
|
|
14371
|
+
var eventPointermoveMutationShadow = pointermoveAliases.mutationShadow;
|
|
14372
|
+
var eventPointermoveMutationAll = pointermoveAliases.mutationAll;
|
|
14373
|
+
var eventPointermoveMutation = pointermoveAliases.mutation;
|
|
14374
|
+
var eventPointermoveLight = pointermoveAliases.light;
|
|
14375
|
+
var eventPointermoveShadow = pointermoveAliases.shadow;
|
|
14376
|
+
var eventPointermoveAll = pointermoveAliases.all;
|
|
14377
|
+
var eventPointermoveThis = pointermoveAliases.this;
|
|
14378
|
+
var eventPointermoveAppHost = pointermoveAliases.appHost;
|
|
14379
|
+
var eventPointermoveWindow = pointermoveAliases.window;
|
|
14380
|
+
var eventPointermoveDocument = pointermoveAliases.document;
|
|
14381
|
+
var pointeroverAliases = makeTypedEventAliases("pointerover");
|
|
14382
|
+
var eventPointerover = pointeroverAliases.base;
|
|
14383
|
+
var eventPointeroverDelegateLight = pointeroverAliases.delegateLight;
|
|
14384
|
+
var eventPointeroverDelegateShadow = pointeroverAliases.delegateShadow;
|
|
14385
|
+
var eventPointeroverDelegateAll = pointeroverAliases.delegateAll;
|
|
14386
|
+
var eventPointeroverDelegate = pointeroverAliases.delegate;
|
|
14387
|
+
var eventPointeroverMutationLight = pointeroverAliases.mutationLight;
|
|
14388
|
+
var eventPointeroverMutationShadow = pointeroverAliases.mutationShadow;
|
|
14389
|
+
var eventPointeroverMutationAll = pointeroverAliases.mutationAll;
|
|
14390
|
+
var eventPointeroverMutation = pointeroverAliases.mutation;
|
|
14391
|
+
var eventPointeroverLight = pointeroverAliases.light;
|
|
14392
|
+
var eventPointeroverShadow = pointeroverAliases.shadow;
|
|
14393
|
+
var eventPointeroverAll = pointeroverAliases.all;
|
|
14394
|
+
var eventPointeroverThis = pointeroverAliases.this;
|
|
14395
|
+
var eventPointeroverAppHost = pointeroverAliases.appHost;
|
|
14396
|
+
var eventPointeroverWindow = pointeroverAliases.window;
|
|
14397
|
+
var eventPointeroverDocument = pointeroverAliases.document;
|
|
14398
|
+
var pointeroutAliases = makeTypedEventAliases("pointerout");
|
|
14399
|
+
var eventPointerout = pointeroutAliases.base;
|
|
14400
|
+
var eventPointeroutDelegateLight = pointeroutAliases.delegateLight;
|
|
14401
|
+
var eventPointeroutDelegateShadow = pointeroutAliases.delegateShadow;
|
|
14402
|
+
var eventPointeroutDelegateAll = pointeroutAliases.delegateAll;
|
|
14403
|
+
var eventPointeroutDelegate = pointeroutAliases.delegate;
|
|
14404
|
+
var eventPointeroutMutationLight = pointeroutAliases.mutationLight;
|
|
14405
|
+
var eventPointeroutMutationShadow = pointeroutAliases.mutationShadow;
|
|
14406
|
+
var eventPointeroutMutationAll = pointeroutAliases.mutationAll;
|
|
14407
|
+
var eventPointeroutMutation = pointeroutAliases.mutation;
|
|
14408
|
+
var eventPointeroutLight = pointeroutAliases.light;
|
|
14409
|
+
var eventPointeroutShadow = pointeroutAliases.shadow;
|
|
14410
|
+
var eventPointeroutAll = pointeroutAliases.all;
|
|
14411
|
+
var eventPointeroutThis = pointeroutAliases.this;
|
|
14412
|
+
var eventPointeroutAppHost = pointeroutAliases.appHost;
|
|
14413
|
+
var eventPointeroutWindow = pointeroutAliases.window;
|
|
14414
|
+
var eventPointeroutDocument = pointeroutAliases.document;
|
|
14415
|
+
var pointerenterAliases = makeTypedEventAliases("pointerenter");
|
|
14416
|
+
var eventPointerenter = pointerenterAliases.base;
|
|
14417
|
+
var eventPointerenterDelegateLight = pointerenterAliases.delegateLight;
|
|
14418
|
+
var eventPointerenterDelegateShadow = pointerenterAliases.delegateShadow;
|
|
14419
|
+
var eventPointerenterDelegateAll = pointerenterAliases.delegateAll;
|
|
14420
|
+
var eventPointerenterDelegate = pointerenterAliases.delegate;
|
|
14421
|
+
var eventPointerenterMutationLight = pointerenterAliases.mutationLight;
|
|
14422
|
+
var eventPointerenterMutationShadow = pointerenterAliases.mutationShadow;
|
|
14423
|
+
var eventPointerenterMutationAll = pointerenterAliases.mutationAll;
|
|
14424
|
+
var eventPointerenterMutation = pointerenterAliases.mutation;
|
|
14425
|
+
var eventPointerenterLight = pointerenterAliases.light;
|
|
14426
|
+
var eventPointerenterShadow = pointerenterAliases.shadow;
|
|
14427
|
+
var eventPointerenterAll = pointerenterAliases.all;
|
|
14428
|
+
var eventPointerenterThis = pointerenterAliases.this;
|
|
14429
|
+
var eventPointerenterAppHost = pointerenterAliases.appHost;
|
|
14430
|
+
var eventPointerenterWindow = pointerenterAliases.window;
|
|
14431
|
+
var eventPointerenterDocument = pointerenterAliases.document;
|
|
14432
|
+
var pointerleaveAliases = makeTypedEventAliases("pointerleave");
|
|
14433
|
+
var eventPointerleave = pointerleaveAliases.base;
|
|
14434
|
+
var eventPointerleaveDelegateLight = pointerleaveAliases.delegateLight;
|
|
14435
|
+
var eventPointerleaveDelegateShadow = pointerleaveAliases.delegateShadow;
|
|
14436
|
+
var eventPointerleaveDelegateAll = pointerleaveAliases.delegateAll;
|
|
14437
|
+
var eventPointerleaveDelegate = pointerleaveAliases.delegate;
|
|
14438
|
+
var eventPointerleaveMutationLight = pointerleaveAliases.mutationLight;
|
|
14439
|
+
var eventPointerleaveMutationShadow = pointerleaveAliases.mutationShadow;
|
|
14440
|
+
var eventPointerleaveMutationAll = pointerleaveAliases.mutationAll;
|
|
14441
|
+
var eventPointerleaveMutation = pointerleaveAliases.mutation;
|
|
14442
|
+
var eventPointerleaveLight = pointerleaveAliases.light;
|
|
14443
|
+
var eventPointerleaveShadow = pointerleaveAliases.shadow;
|
|
14444
|
+
var eventPointerleaveAll = pointerleaveAliases.all;
|
|
14445
|
+
var eventPointerleaveThis = pointerleaveAliases.this;
|
|
14446
|
+
var eventPointerleaveAppHost = pointerleaveAliases.appHost;
|
|
14447
|
+
var eventPointerleaveWindow = pointerleaveAliases.window;
|
|
14448
|
+
var eventPointerleaveDocument = pointerleaveAliases.document;
|
|
14449
|
+
var pointercancelAliases = makeTypedEventAliases("pointercancel");
|
|
14450
|
+
var eventPointercancel = pointercancelAliases.base;
|
|
14451
|
+
var eventPointercancelDelegateLight = pointercancelAliases.delegateLight;
|
|
14452
|
+
var eventPointercancelDelegateShadow = pointercancelAliases.delegateShadow;
|
|
14453
|
+
var eventPointercancelDelegateAll = pointercancelAliases.delegateAll;
|
|
14454
|
+
var eventPointercancelDelegate = pointercancelAliases.delegate;
|
|
14455
|
+
var eventPointercancelMutationLight = pointercancelAliases.mutationLight;
|
|
14456
|
+
var eventPointercancelMutationShadow = pointercancelAliases.mutationShadow;
|
|
14457
|
+
var eventPointercancelMutationAll = pointercancelAliases.mutationAll;
|
|
14458
|
+
var eventPointercancelMutation = pointercancelAliases.mutation;
|
|
14459
|
+
var eventPointercancelLight = pointercancelAliases.light;
|
|
14460
|
+
var eventPointercancelShadow = pointercancelAliases.shadow;
|
|
14461
|
+
var eventPointercancelAll = pointercancelAliases.all;
|
|
14462
|
+
var eventPointercancelThis = pointercancelAliases.this;
|
|
14463
|
+
var eventPointercancelAppHost = pointercancelAliases.appHost;
|
|
14464
|
+
var eventPointercancelWindow = pointercancelAliases.window;
|
|
14465
|
+
var eventPointercancelDocument = pointercancelAliases.document;
|
|
14466
|
+
var copyAliases = makeTypedEventAliases("copy");
|
|
14467
|
+
var eventCopy = copyAliases.base;
|
|
14468
|
+
var eventCopyDelegateLight = copyAliases.delegateLight;
|
|
14469
|
+
var eventCopyDelegateShadow = copyAliases.delegateShadow;
|
|
14470
|
+
var eventCopyDelegateAll = copyAliases.delegateAll;
|
|
14471
|
+
var eventCopyDelegate = copyAliases.delegate;
|
|
14472
|
+
var eventCopyMutationLight = copyAliases.mutationLight;
|
|
14473
|
+
var eventCopyMutationShadow = copyAliases.mutationShadow;
|
|
14474
|
+
var eventCopyMutationAll = copyAliases.mutationAll;
|
|
14475
|
+
var eventCopyMutation = copyAliases.mutation;
|
|
14476
|
+
var eventCopyLight = copyAliases.light;
|
|
14477
|
+
var eventCopyShadow = copyAliases.shadow;
|
|
14478
|
+
var eventCopyAll = copyAliases.all;
|
|
14479
|
+
var eventCopyThis = copyAliases.this;
|
|
14480
|
+
var eventCopyAppHost = copyAliases.appHost;
|
|
14481
|
+
var eventCopyWindow = copyAliases.window;
|
|
14482
|
+
var eventCopyDocument = copyAliases.document;
|
|
14483
|
+
var cutAliases = makeTypedEventAliases("cut");
|
|
14484
|
+
var eventCut = cutAliases.base;
|
|
14485
|
+
var eventCutDelegateLight = cutAliases.delegateLight;
|
|
14486
|
+
var eventCutDelegateShadow = cutAliases.delegateShadow;
|
|
14487
|
+
var eventCutDelegateAll = cutAliases.delegateAll;
|
|
14488
|
+
var eventCutDelegate = cutAliases.delegate;
|
|
14489
|
+
var eventCutMutationLight = cutAliases.mutationLight;
|
|
14490
|
+
var eventCutMutationShadow = cutAliases.mutationShadow;
|
|
14491
|
+
var eventCutMutationAll = cutAliases.mutationAll;
|
|
14492
|
+
var eventCutMutation = cutAliases.mutation;
|
|
14493
|
+
var eventCutLight = cutAliases.light;
|
|
14494
|
+
var eventCutShadow = cutAliases.shadow;
|
|
14495
|
+
var eventCutAll = cutAliases.all;
|
|
14496
|
+
var eventCutThis = cutAliases.this;
|
|
14497
|
+
var eventCutAppHost = cutAliases.appHost;
|
|
14498
|
+
var eventCutWindow = cutAliases.window;
|
|
14499
|
+
var eventCutDocument = cutAliases.document;
|
|
14500
|
+
var pasteAliases = makeTypedEventAliases("paste");
|
|
14501
|
+
var eventPaste = pasteAliases.base;
|
|
14502
|
+
var eventPasteDelegateLight = pasteAliases.delegateLight;
|
|
14503
|
+
var eventPasteDelegateShadow = pasteAliases.delegateShadow;
|
|
14504
|
+
var eventPasteDelegateAll = pasteAliases.delegateAll;
|
|
14505
|
+
var eventPasteDelegate = pasteAliases.delegate;
|
|
14506
|
+
var eventPasteMutationLight = pasteAliases.mutationLight;
|
|
14507
|
+
var eventPasteMutationShadow = pasteAliases.mutationShadow;
|
|
14508
|
+
var eventPasteMutationAll = pasteAliases.mutationAll;
|
|
14509
|
+
var eventPasteMutation = pasteAliases.mutation;
|
|
14510
|
+
var eventPasteLight = pasteAliases.light;
|
|
14511
|
+
var eventPasteShadow = pasteAliases.shadow;
|
|
14512
|
+
var eventPasteAll = pasteAliases.all;
|
|
14513
|
+
var eventPasteThis = pasteAliases.this;
|
|
14514
|
+
var eventPasteAppHost = pasteAliases.appHost;
|
|
14515
|
+
var eventPasteWindow = pasteAliases.window;
|
|
14516
|
+
var eventPasteDocument = pasteAliases.document;
|
|
14517
|
+
var animationstartAliases = makeTypedEventAliases("animationstart");
|
|
14518
|
+
var eventAnimationstart = animationstartAliases.base;
|
|
14519
|
+
var eventAnimationstartDelegateLight = animationstartAliases.delegateLight;
|
|
14520
|
+
var eventAnimationstartDelegateShadow = animationstartAliases.delegateShadow;
|
|
14521
|
+
var eventAnimationstartDelegateAll = animationstartAliases.delegateAll;
|
|
14522
|
+
var eventAnimationstartDelegate = animationstartAliases.delegate;
|
|
14523
|
+
var eventAnimationstartMutationLight = animationstartAliases.mutationLight;
|
|
14524
|
+
var eventAnimationstartMutationShadow = animationstartAliases.mutationShadow;
|
|
14525
|
+
var eventAnimationstartMutationAll = animationstartAliases.mutationAll;
|
|
14526
|
+
var eventAnimationstartMutation = animationstartAliases.mutation;
|
|
14527
|
+
var eventAnimationstartLight = animationstartAliases.light;
|
|
14528
|
+
var eventAnimationstartShadow = animationstartAliases.shadow;
|
|
14529
|
+
var eventAnimationstartAll = animationstartAliases.all;
|
|
14530
|
+
var eventAnimationstartThis = animationstartAliases.this;
|
|
14531
|
+
var eventAnimationstartAppHost = animationstartAliases.appHost;
|
|
14532
|
+
var eventAnimationstartWindow = animationstartAliases.window;
|
|
14533
|
+
var eventAnimationstartDocument = animationstartAliases.document;
|
|
14534
|
+
var animationendAliases = makeTypedEventAliases("animationend");
|
|
14535
|
+
var eventAnimationend = animationendAliases.base;
|
|
14536
|
+
var eventAnimationendDelegateLight = animationendAliases.delegateLight;
|
|
14537
|
+
var eventAnimationendDelegateShadow = animationendAliases.delegateShadow;
|
|
14538
|
+
var eventAnimationendDelegateAll = animationendAliases.delegateAll;
|
|
14539
|
+
var eventAnimationendDelegate = animationendAliases.delegate;
|
|
14540
|
+
var eventAnimationendMutationLight = animationendAliases.mutationLight;
|
|
14541
|
+
var eventAnimationendMutationShadow = animationendAliases.mutationShadow;
|
|
14542
|
+
var eventAnimationendMutationAll = animationendAliases.mutationAll;
|
|
14543
|
+
var eventAnimationendMutation = animationendAliases.mutation;
|
|
14544
|
+
var eventAnimationendLight = animationendAliases.light;
|
|
14545
|
+
var eventAnimationendShadow = animationendAliases.shadow;
|
|
14546
|
+
var eventAnimationendAll = animationendAliases.all;
|
|
14547
|
+
var eventAnimationendThis = animationendAliases.this;
|
|
14548
|
+
var eventAnimationendAppHost = animationendAliases.appHost;
|
|
14549
|
+
var eventAnimationendWindow = animationendAliases.window;
|
|
14550
|
+
var eventAnimationendDocument = animationendAliases.document;
|
|
14551
|
+
var animationiterationAliases = makeTypedEventAliases("animationiteration");
|
|
14552
|
+
var eventAnimationiteration = animationiterationAliases.base;
|
|
14553
|
+
var eventAnimationiterationDelegateLight = animationiterationAliases.delegateLight;
|
|
14554
|
+
var eventAnimationiterationDelegateShadow = animationiterationAliases.delegateShadow;
|
|
14555
|
+
var eventAnimationiterationDelegateAll = animationiterationAliases.delegateAll;
|
|
14556
|
+
var eventAnimationiterationDelegate = animationiterationAliases.delegate;
|
|
14557
|
+
var eventAnimationiterationMutationLight = animationiterationAliases.mutationLight;
|
|
14558
|
+
var eventAnimationiterationMutationShadow = animationiterationAliases.mutationShadow;
|
|
14559
|
+
var eventAnimationiterationMutationAll = animationiterationAliases.mutationAll;
|
|
14560
|
+
var eventAnimationiterationMutation = animationiterationAliases.mutation;
|
|
14561
|
+
var eventAnimationiterationLight = animationiterationAliases.light;
|
|
14562
|
+
var eventAnimationiterationShadow = animationiterationAliases.shadow;
|
|
14563
|
+
var eventAnimationiterationAll = animationiterationAliases.all;
|
|
14564
|
+
var eventAnimationiterationThis = animationiterationAliases.this;
|
|
14565
|
+
var eventAnimationiterationAppHost = animationiterationAliases.appHost;
|
|
14566
|
+
var eventAnimationiterationWindow = animationiterationAliases.window;
|
|
14567
|
+
var eventAnimationiterationDocument = animationiterationAliases.document;
|
|
14568
|
+
var animationcancelAliases = makeTypedEventAliases("animationcancel");
|
|
14569
|
+
var eventAnimationcancel = animationcancelAliases.base;
|
|
14570
|
+
var eventAnimationcancelDelegateLight = animationcancelAliases.delegateLight;
|
|
14571
|
+
var eventAnimationcancelDelegateShadow = animationcancelAliases.delegateShadow;
|
|
14572
|
+
var eventAnimationcancelDelegateAll = animationcancelAliases.delegateAll;
|
|
14573
|
+
var eventAnimationcancelDelegate = animationcancelAliases.delegate;
|
|
14574
|
+
var eventAnimationcancelMutationLight = animationcancelAliases.mutationLight;
|
|
14575
|
+
var eventAnimationcancelMutationShadow = animationcancelAliases.mutationShadow;
|
|
14576
|
+
var eventAnimationcancelMutationAll = animationcancelAliases.mutationAll;
|
|
14577
|
+
var eventAnimationcancelMutation = animationcancelAliases.mutation;
|
|
14578
|
+
var eventAnimationcancelLight = animationcancelAliases.light;
|
|
14579
|
+
var eventAnimationcancelShadow = animationcancelAliases.shadow;
|
|
14580
|
+
var eventAnimationcancelAll = animationcancelAliases.all;
|
|
14581
|
+
var eventAnimationcancelThis = animationcancelAliases.this;
|
|
14582
|
+
var eventAnimationcancelAppHost = animationcancelAliases.appHost;
|
|
14583
|
+
var eventAnimationcancelWindow = animationcancelAliases.window;
|
|
14584
|
+
var eventAnimationcancelDocument = animationcancelAliases.document;
|
|
14585
|
+
var transitionstartAliases = makeTypedEventAliases("transitionstart");
|
|
14586
|
+
var eventTransitionstart = transitionstartAliases.base;
|
|
14587
|
+
var eventTransitionstartDelegateLight = transitionstartAliases.delegateLight;
|
|
14588
|
+
var eventTransitionstartDelegateShadow = transitionstartAliases.delegateShadow;
|
|
14589
|
+
var eventTransitionstartDelegateAll = transitionstartAliases.delegateAll;
|
|
14590
|
+
var eventTransitionstartDelegate = transitionstartAliases.delegate;
|
|
14591
|
+
var eventTransitionstartMutationLight = transitionstartAliases.mutationLight;
|
|
14592
|
+
var eventTransitionstartMutationShadow = transitionstartAliases.mutationShadow;
|
|
14593
|
+
var eventTransitionstartMutationAll = transitionstartAliases.mutationAll;
|
|
14594
|
+
var eventTransitionstartMutation = transitionstartAliases.mutation;
|
|
14595
|
+
var eventTransitionstartLight = transitionstartAliases.light;
|
|
14596
|
+
var eventTransitionstartShadow = transitionstartAliases.shadow;
|
|
14597
|
+
var eventTransitionstartAll = transitionstartAliases.all;
|
|
14598
|
+
var eventTransitionstartThis = transitionstartAliases.this;
|
|
14599
|
+
var eventTransitionstartAppHost = transitionstartAliases.appHost;
|
|
14600
|
+
var eventTransitionstartWindow = transitionstartAliases.window;
|
|
14601
|
+
var eventTransitionstartDocument = transitionstartAliases.document;
|
|
14602
|
+
var transitionendAliases = makeTypedEventAliases("transitionend");
|
|
14603
|
+
var eventTransitionend = transitionendAliases.base;
|
|
14604
|
+
var eventTransitionendDelegateLight = transitionendAliases.delegateLight;
|
|
14605
|
+
var eventTransitionendDelegateShadow = transitionendAliases.delegateShadow;
|
|
14606
|
+
var eventTransitionendDelegateAll = transitionendAliases.delegateAll;
|
|
14607
|
+
var eventTransitionendDelegate = transitionendAliases.delegate;
|
|
14608
|
+
var eventTransitionendMutationLight = transitionendAliases.mutationLight;
|
|
14609
|
+
var eventTransitionendMutationShadow = transitionendAliases.mutationShadow;
|
|
14610
|
+
var eventTransitionendMutationAll = transitionendAliases.mutationAll;
|
|
14611
|
+
var eventTransitionendMutation = transitionendAliases.mutation;
|
|
14612
|
+
var eventTransitionendLight = transitionendAliases.light;
|
|
14613
|
+
var eventTransitionendShadow = transitionendAliases.shadow;
|
|
14614
|
+
var eventTransitionendAll = transitionendAliases.all;
|
|
14615
|
+
var eventTransitionendThis = transitionendAliases.this;
|
|
14616
|
+
var eventTransitionendAppHost = transitionendAliases.appHost;
|
|
14617
|
+
var eventTransitionendWindow = transitionendAliases.window;
|
|
14618
|
+
var eventTransitionendDocument = transitionendAliases.document;
|
|
14619
|
+
var transitioncancelAliases = makeTypedEventAliases("transitioncancel");
|
|
14620
|
+
var eventTransitioncancel = transitioncancelAliases.base;
|
|
14621
|
+
var eventTransitioncancelDelegateLight = transitioncancelAliases.delegateLight;
|
|
14622
|
+
var eventTransitioncancelDelegateShadow = transitioncancelAliases.delegateShadow;
|
|
14623
|
+
var eventTransitioncancelDelegateAll = transitioncancelAliases.delegateAll;
|
|
14624
|
+
var eventTransitioncancelDelegate = transitioncancelAliases.delegate;
|
|
14625
|
+
var eventTransitioncancelMutationLight = transitioncancelAliases.mutationLight;
|
|
14626
|
+
var eventTransitioncancelMutationShadow = transitioncancelAliases.mutationShadow;
|
|
14627
|
+
var eventTransitioncancelMutationAll = transitioncancelAliases.mutationAll;
|
|
14628
|
+
var eventTransitioncancelMutation = transitioncancelAliases.mutation;
|
|
14629
|
+
var eventTransitioncancelLight = transitioncancelAliases.light;
|
|
14630
|
+
var eventTransitioncancelShadow = transitioncancelAliases.shadow;
|
|
14631
|
+
var eventTransitioncancelAll = transitioncancelAliases.all;
|
|
14632
|
+
var eventTransitioncancelThis = transitioncancelAliases.this;
|
|
14633
|
+
var eventTransitioncancelAppHost = transitioncancelAliases.appHost;
|
|
14634
|
+
var eventTransitioncancelWindow = transitioncancelAliases.window;
|
|
14635
|
+
var eventTransitioncancelDocument = transitioncancelAliases.document;
|
|
14636
|
+
var transitionrunAliases = makeTypedEventAliases("transitionrun");
|
|
14637
|
+
var eventTransitionrun = transitionrunAliases.base;
|
|
14638
|
+
var eventTransitionrunDelegateLight = transitionrunAliases.delegateLight;
|
|
14639
|
+
var eventTransitionrunDelegateShadow = transitionrunAliases.delegateShadow;
|
|
14640
|
+
var eventTransitionrunDelegateAll = transitionrunAliases.delegateAll;
|
|
14641
|
+
var eventTransitionrunDelegate = transitionrunAliases.delegate;
|
|
14642
|
+
var eventTransitionrunMutationLight = transitionrunAliases.mutationLight;
|
|
14643
|
+
var eventTransitionrunMutationShadow = transitionrunAliases.mutationShadow;
|
|
14644
|
+
var eventTransitionrunMutationAll = transitionrunAliases.mutationAll;
|
|
14645
|
+
var eventTransitionrunMutation = transitionrunAliases.mutation;
|
|
14646
|
+
var eventTransitionrunLight = transitionrunAliases.light;
|
|
14647
|
+
var eventTransitionrunShadow = transitionrunAliases.shadow;
|
|
14648
|
+
var eventTransitionrunAll = transitionrunAliases.all;
|
|
14649
|
+
var eventTransitionrunThis = transitionrunAliases.this;
|
|
14650
|
+
var eventTransitionrunAppHost = transitionrunAliases.appHost;
|
|
14651
|
+
var eventTransitionrunWindow = transitionrunAliases.window;
|
|
14652
|
+
var eventTransitionrunDocument = transitionrunAliases.document;
|
|
14653
|
+
var scrollAliases = makeTypedEventAliases("scroll");
|
|
14654
|
+
var eventScroll = scrollAliases.base;
|
|
14655
|
+
var eventScrollDelegateLight = scrollAliases.delegateLight;
|
|
14656
|
+
var eventScrollDelegateShadow = scrollAliases.delegateShadow;
|
|
14657
|
+
var eventScrollDelegateAll = scrollAliases.delegateAll;
|
|
14658
|
+
var eventScrollDelegate = scrollAliases.delegate;
|
|
14659
|
+
var eventScrollMutationLight = scrollAliases.mutationLight;
|
|
14660
|
+
var eventScrollMutationShadow = scrollAliases.mutationShadow;
|
|
14661
|
+
var eventScrollMutationAll = scrollAliases.mutationAll;
|
|
14662
|
+
var eventScrollMutation = scrollAliases.mutation;
|
|
14663
|
+
var eventScrollLight = scrollAliases.light;
|
|
14664
|
+
var eventScrollShadow = scrollAliases.shadow;
|
|
14665
|
+
var eventScrollAll = scrollAliases.all;
|
|
14666
|
+
var eventScrollThis = scrollAliases.this;
|
|
14667
|
+
var eventScrollAppHost = scrollAliases.appHost;
|
|
14668
|
+
var eventScrollWindow = scrollAliases.window;
|
|
14669
|
+
var eventScrollDocument = scrollAliases.document;
|
|
14670
|
+
var resizeAliases = makeTypedEventAliases("resize");
|
|
14671
|
+
var eventResize = resizeAliases.base;
|
|
14672
|
+
var eventResizeDelegateLight = resizeAliases.delegateLight;
|
|
14673
|
+
var eventResizeDelegateShadow = resizeAliases.delegateShadow;
|
|
14674
|
+
var eventResizeDelegateAll = resizeAliases.delegateAll;
|
|
14675
|
+
var eventResizeDelegate = resizeAliases.delegate;
|
|
14676
|
+
var eventResizeMutationLight = resizeAliases.mutationLight;
|
|
14677
|
+
var eventResizeMutationShadow = resizeAliases.mutationShadow;
|
|
14678
|
+
var eventResizeMutationAll = resizeAliases.mutationAll;
|
|
14679
|
+
var eventResizeMutation = resizeAliases.mutation;
|
|
14680
|
+
var eventResizeLight = resizeAliases.light;
|
|
14681
|
+
var eventResizeShadow = resizeAliases.shadow;
|
|
14682
|
+
var eventResizeAll = resizeAliases.all;
|
|
14683
|
+
var eventResizeThis = resizeAliases.this;
|
|
14684
|
+
var eventResizeAppHost = resizeAliases.appHost;
|
|
14685
|
+
var eventResizeWindow = resizeAliases.window;
|
|
14686
|
+
var eventResizeDocument = resizeAliases.document;
|
|
14687
|
+
var loadAliases = makeTypedEventAliases("load");
|
|
14688
|
+
var eventLoad = loadAliases.base;
|
|
14689
|
+
var eventLoadDelegateLight = loadAliases.delegateLight;
|
|
14690
|
+
var eventLoadDelegateShadow = loadAliases.delegateShadow;
|
|
14691
|
+
var eventLoadDelegateAll = loadAliases.delegateAll;
|
|
14692
|
+
var eventLoadDelegate = loadAliases.delegate;
|
|
14693
|
+
var eventLoadMutationLight = loadAliases.mutationLight;
|
|
14694
|
+
var eventLoadMutationShadow = loadAliases.mutationShadow;
|
|
14695
|
+
var eventLoadMutationAll = loadAliases.mutationAll;
|
|
14696
|
+
var eventLoadMutation = loadAliases.mutation;
|
|
14697
|
+
var eventLoadLight = loadAliases.light;
|
|
14698
|
+
var eventLoadShadow = loadAliases.shadow;
|
|
14699
|
+
var eventLoadAll = loadAliases.all;
|
|
14700
|
+
var eventLoadThis = loadAliases.this;
|
|
14701
|
+
var eventLoadAppHost = loadAliases.appHost;
|
|
14702
|
+
var eventLoadWindow = loadAliases.window;
|
|
14703
|
+
var eventLoadDocument = loadAliases.document;
|
|
14704
|
+
var errorAliases = makeTypedEventAliases("error");
|
|
14705
|
+
var eventError = errorAliases.base;
|
|
14706
|
+
var eventErrorDelegateLight = errorAliases.delegateLight;
|
|
14707
|
+
var eventErrorDelegateShadow = errorAliases.delegateShadow;
|
|
14708
|
+
var eventErrorDelegateAll = errorAliases.delegateAll;
|
|
14709
|
+
var eventErrorDelegate = errorAliases.delegate;
|
|
14710
|
+
var eventErrorMutationLight = errorAliases.mutationLight;
|
|
14711
|
+
var eventErrorMutationShadow = errorAliases.mutationShadow;
|
|
14712
|
+
var eventErrorMutationAll = errorAliases.mutationAll;
|
|
14713
|
+
var eventErrorMutation = errorAliases.mutation;
|
|
14714
|
+
var eventErrorLight = errorAliases.light;
|
|
14715
|
+
var eventErrorShadow = errorAliases.shadow;
|
|
14716
|
+
var eventErrorAll = errorAliases.all;
|
|
14717
|
+
var eventErrorThis = errorAliases.this;
|
|
14718
|
+
var eventErrorAppHost = errorAliases.appHost;
|
|
14719
|
+
var eventErrorWindow = errorAliases.window;
|
|
14720
|
+
var eventErrorDocument = errorAliases.document;
|
|
14721
|
+
var toggleAliases = makeTypedEventAliases("toggle");
|
|
14722
|
+
var eventToggle = toggleAliases.base;
|
|
14723
|
+
var eventToggleDelegateLight = toggleAliases.delegateLight;
|
|
14724
|
+
var eventToggleDelegateShadow = toggleAliases.delegateShadow;
|
|
14725
|
+
var eventToggleDelegateAll = toggleAliases.delegateAll;
|
|
14726
|
+
var eventToggleDelegate = toggleAliases.delegate;
|
|
14727
|
+
var eventToggleMutationLight = toggleAliases.mutationLight;
|
|
14728
|
+
var eventToggleMutationShadow = toggleAliases.mutationShadow;
|
|
14729
|
+
var eventToggleMutationAll = toggleAliases.mutationAll;
|
|
14730
|
+
var eventToggleMutation = toggleAliases.mutation;
|
|
14731
|
+
var eventToggleLight = toggleAliases.light;
|
|
14732
|
+
var eventToggleShadow = toggleAliases.shadow;
|
|
14733
|
+
var eventToggleAll = toggleAliases.all;
|
|
14734
|
+
var eventToggleThis = toggleAliases.this;
|
|
14735
|
+
var eventToggleAppHost = toggleAliases.appHost;
|
|
14736
|
+
var eventToggleWindow = toggleAliases.window;
|
|
14737
|
+
var eventToggleDocument = toggleAliases.document;
|
|
13736
14738
|
var getAddEventListenerMetadata = (target) => {
|
|
13737
14739
|
const constructor = target instanceof Function ? target : target.constructor;
|
|
13738
14740
|
return ReflectUtils.getMetadata(ADD_EVENT_LISTENER_METADATA_KEY, constructor);
|
|
@@ -13767,9 +14769,9 @@ var EventListenerLifeCycler = class {
|
|
|
13767
14769
|
* target 에 meta 이벤트를 직접 바인딩한다.
|
|
13768
14770
|
* delegate:'mutation' 초기/동적 바인딩에서 호출된다.
|
|
13769
14771
|
*/
|
|
13770
|
-
bindDirect(
|
|
13771
|
-
const inst =
|
|
13772
|
-
const currentWin =
|
|
14772
|
+
bindDirect(helperHostSet2, target, meta) {
|
|
14773
|
+
const inst = helperHostSet2.$this;
|
|
14774
|
+
const currentWin = helperHostSet2.$w;
|
|
13773
14775
|
const { type, options } = meta;
|
|
13774
14776
|
const opts = { capture: options.capture, once: options.once, passive: options.passive };
|
|
13775
14777
|
const handler = async (event2) => {
|
|
@@ -13781,7 +14783,17 @@ var EventListenerLifeCycler = class {
|
|
|
13781
14783
|
if (options.stopImmediatePropagation) event2.stopImmediatePropagation();
|
|
13782
14784
|
if (options.preventDefault) event2.preventDefault();
|
|
13783
14785
|
const currentHostSet = SwcUtils.getHostSet(inst);
|
|
13784
|
-
|
|
14786
|
+
const legacyArgs = [event2, { currentHostSet, $matchedElement: event2.currentTarget }, { event: event2, ...currentHostSet, $el: target, $root: target }];
|
|
14787
|
+
const currentHelperSet = SwcUtils.getHelperSet(currentWin);
|
|
14788
|
+
const currentHelperHostSet = { ...currentHelperSet, ...currentHostSet, $this: inst };
|
|
14789
|
+
const args = buildSwcParameterArgs(inst, meta.propertyKey, {
|
|
14790
|
+
event: event2,
|
|
14791
|
+
matched: event2.currentTarget,
|
|
14792
|
+
hostSet: currentHostSet,
|
|
14793
|
+
helperHostSet: currentHelperHostSet,
|
|
14794
|
+
helperSet: currentHelperSet
|
|
14795
|
+
}, legacyArgs);
|
|
14796
|
+
await inst[meta.propertyKey](...args);
|
|
13785
14797
|
};
|
|
13786
14798
|
const eventSubject = new Subject();
|
|
13787
14799
|
let eventStream = eventSubject;
|
|
@@ -13802,8 +14814,8 @@ var EventListenerLifeCycler = class {
|
|
|
13802
14814
|
this.getBoundListeners(inst).push({ target, type, handler: wrappedHandler, options: opts, subscription, onRemoves, meta });
|
|
13803
14815
|
}
|
|
13804
14816
|
/** target + meta 조합 리스너를 제거한다. MutationObserver 추적 요소 제거 시 호출. */
|
|
13805
|
-
unbindDirect(
|
|
13806
|
-
const inst =
|
|
14817
|
+
unbindDirect(helperHostSet2, target, meta) {
|
|
14818
|
+
const inst = helperHostSet2.$this;
|
|
13807
14819
|
const list = this.getBoundListeners(inst);
|
|
13808
14820
|
for (let i = list.length - 1; i >= 0; i--) {
|
|
13809
14821
|
const l = list[i];
|
|
@@ -13859,9 +14871,9 @@ var EventListenerLifeCycler = class {
|
|
|
13859
14871
|
return { delegateListeners, mutationDelegateListeners, nonDelegateListeners };
|
|
13860
14872
|
}
|
|
13861
14873
|
// ── ElementDefineLifeCycler 구현 ──
|
|
13862
|
-
onConnected(
|
|
13863
|
-
const inst =
|
|
13864
|
-
const currentWin =
|
|
14874
|
+
onConnected(helperHostSet2) {
|
|
14875
|
+
const inst = helperHostSet2.$this;
|
|
14876
|
+
const currentWin = helperHostSet2.$w;
|
|
13865
14877
|
this.boundListenersMap.delete(inst);
|
|
13866
14878
|
this.eventBoundSetsMap.delete(inst);
|
|
13867
14879
|
const allMeta = getAddEventListenerMetadata(inst) ?? [];
|
|
@@ -13888,9 +14900,8 @@ var EventListenerLifeCycler = class {
|
|
|
13888
14900
|
for (const br of roots) {
|
|
13889
14901
|
const sorted = [...metaList].sort((a, b) => (b.options.stopPropagation ? 1 : 0) - (a.options.stopPropagation ? 1 : 0));
|
|
13890
14902
|
const handler = async (event2) => {
|
|
13891
|
-
|
|
13892
|
-
|
|
13893
|
-
console.log("[DBG][delegate] type=", event2.type, "| evtTarget=", event2.target?.tagName, "| sel=", m.selector, "| matchedEl=", matchedEl?.className || matchedEl?.tagName, "| brContains=", br.contains?.(matchedEl), "| brTag=", br.tagName || br.constructor?.name);
|
|
14903
|
+
const matches = sorted.map((m) => ({ m, matchedEl: event2.target?.closest(m.selector) }));
|
|
14904
|
+
for (const { m, matchedEl } of matches) {
|
|
13894
14905
|
if (matchedEl && br.contains(matchedEl)) {
|
|
13895
14906
|
if (m.options.filter) {
|
|
13896
14907
|
const helper = SwcUtils.getHelperAndHostSet(currentWin, matchedEl);
|
|
@@ -13900,15 +14911,22 @@ var EventListenerLifeCycler = class {
|
|
|
13900
14911
|
if (m.options.stopImmediatePropagation) event2.stopImmediatePropagation();
|
|
13901
14912
|
if (m.options.preventDefault) event2.preventDefault();
|
|
13902
14913
|
const hs = SwcUtils.getHostSet(inst);
|
|
13903
|
-
|
|
14914
|
+
const legacyArgs = [event2, { ...hs, $matchedElement: matchedEl }, { event: event2, ...hs, $el: matchedEl, $root: br }];
|
|
14915
|
+
const helperSetForMatch = SwcUtils.getHelperSet(currentWin);
|
|
14916
|
+
const helperHostSetForMatch = { ...helperSetForMatch, ...hs, $this: inst };
|
|
14917
|
+
const args = buildSwcParameterArgs(inst, m.propertyKey, {
|
|
14918
|
+
event: event2,
|
|
14919
|
+
matched: matchedEl,
|
|
14920
|
+
hostSet: hs,
|
|
14921
|
+
helperHostSet: helperHostSetForMatch,
|
|
14922
|
+
helperSet: helperSetForMatch
|
|
14923
|
+
}, legacyArgs);
|
|
14924
|
+
await inst[m.propertyKey](...args);
|
|
13904
14925
|
if (event2.cancelBubble) break;
|
|
13905
14926
|
}
|
|
13906
14927
|
}
|
|
13907
14928
|
};
|
|
13908
14929
|
br.addEventListener(type, handler, opts);
|
|
13909
|
-
if (type === "click") {
|
|
13910
|
-
console.log("[DBG][eventCycler] bound click on br=", br.tagName || br.constructor?.name, "| inst=", inst.tagName || inst.constructor?.name, "| isSame=", br === inst);
|
|
13911
|
-
}
|
|
13912
14930
|
const onRemoves = sorted.filter((m) => m.options.removeListener).map((m) => ({ fn: m.options.removeListener, opts: m.options }));
|
|
13913
14931
|
this.getBoundListeners(inst).push({ target: br, type, handler, options: opts, onRemoves });
|
|
13914
14932
|
}
|
|
@@ -13919,7 +14937,7 @@ var EventListenerLifeCycler = class {
|
|
|
13919
14937
|
const bindTargets = [];
|
|
13920
14938
|
let resolvedSel = null;
|
|
13921
14939
|
if (typeof selector === "function") {
|
|
13922
|
-
const result = selector(inst,
|
|
14940
|
+
const result = selector(inst, helperHostSet2);
|
|
13923
14941
|
if (typeof result === "string") resolvedSel = result;
|
|
13924
14942
|
else if (result instanceof currentWin.Element) bindTargets.push(result);
|
|
13925
14943
|
else if (result instanceof currentWin.NodeList) bindTargets.push(...Array.from(result));
|
|
@@ -13938,15 +14956,15 @@ var EventListenerLifeCycler = class {
|
|
|
13938
14956
|
if (resolvedSel) {
|
|
13939
14957
|
if (resolvedSel === "$window") bindTargets.push(currentWin);
|
|
13940
14958
|
else if (resolvedSel === "$document") bindTargets.push(currentWin.document);
|
|
13941
|
-
else if (resolvedSel === "$host") applyRoot(
|
|
13942
|
-
else if (resolvedSel === "$parentHost") applyRoot(
|
|
13943
|
-
else if (resolvedSel === "$appHost") applyRoot(
|
|
13944
|
-
else if (resolvedSel === "$firstHost") applyRoot(
|
|
13945
|
-
else if (resolvedSel === "$lastHost") applyRoot(
|
|
13946
|
-
else if (resolvedSel === "$firstAppHost") applyRoot(
|
|
13947
|
-
else if (resolvedSel === "$lastAppHost") applyRoot(
|
|
13948
|
-
else if (resolvedSel === "$hosts")
|
|
13949
|
-
else if (resolvedSel === "$appHosts")
|
|
14959
|
+
else if (resolvedSel === "$host") applyRoot(helperHostSet2.$host);
|
|
14960
|
+
else if (resolvedSel === "$parentHost") applyRoot(helperHostSet2.$parentHost);
|
|
14961
|
+
else if (resolvedSel === "$appHost") applyRoot(helperHostSet2.$appHost);
|
|
14962
|
+
else if (resolvedSel === "$firstHost") applyRoot(helperHostSet2.$firstHost);
|
|
14963
|
+
else if (resolvedSel === "$lastHost") applyRoot(helperHostSet2.$lastHost);
|
|
14964
|
+
else if (resolvedSel === "$firstAppHost") applyRoot(helperHostSet2.$firstAppHost);
|
|
14965
|
+
else if (resolvedSel === "$lastAppHost") applyRoot(helperHostSet2.$lastAppHost);
|
|
14966
|
+
else if (resolvedSel === "$hosts") helperHostSet2.$hosts.forEach(applyRoot);
|
|
14967
|
+
else if (resolvedSel === "$appHosts") helperHostSet2.$appHosts.forEach(applyRoot);
|
|
13950
14968
|
else if (resolvedSel === "$this" || !resolvedSel) applyRoot(inst);
|
|
13951
14969
|
else {
|
|
13952
14970
|
const searchRoots = [];
|
|
@@ -13960,7 +14978,7 @@ var EventListenerLifeCycler = class {
|
|
|
13960
14978
|
for (const sr of searchRoots) sr.querySelectorAll(resolvedSel).forEach((el) => bindTargets.push(el));
|
|
13961
14979
|
}
|
|
13962
14980
|
}
|
|
13963
|
-
for (const t of bindTargets) this.bindDirect(
|
|
14981
|
+
for (const t of bindTargets) this.bindDirect(helperHostSet2, t, meta);
|
|
13964
14982
|
}
|
|
13965
14983
|
if (mutationDelegateListeners.length > 0) {
|
|
13966
14984
|
const shadowEventDelegates = mutationDelegateListeners.filter((m) => {
|
|
@@ -13989,13 +15007,13 @@ var EventListenerLifeCycler = class {
|
|
|
13989
15007
|
};
|
|
13990
15008
|
const bindEl = (el) => {
|
|
13991
15009
|
if (!boundSet.has(el)) {
|
|
13992
|
-
this.bindDirect(
|
|
15010
|
+
this.bindDirect(helperHostSet2, el, m);
|
|
13993
15011
|
boundSet.add(el);
|
|
13994
15012
|
}
|
|
13995
15013
|
};
|
|
13996
15014
|
const unbindEl = (el) => {
|
|
13997
15015
|
if (boundSet.has(el)) {
|
|
13998
|
-
this.unbindDirect(
|
|
15016
|
+
this.unbindDirect(helperHostSet2, el, m);
|
|
13999
15017
|
boundSet.delete(el);
|
|
14000
15018
|
}
|
|
14001
15019
|
};
|
|
@@ -14022,12 +15040,12 @@ var EventListenerLifeCycler = class {
|
|
|
14022
15040
|
}
|
|
14023
15041
|
if (typeof m.selector !== "string") continue;
|
|
14024
15042
|
if (m.selector === "$this" || m.selector === "") {
|
|
14025
|
-
this.bindDirect(
|
|
15043
|
+
this.bindDirect(helperHostSet2, root, m);
|
|
14026
15044
|
boundSet.add(root);
|
|
14027
15045
|
} else {
|
|
14028
15046
|
root.querySelectorAll(m.selector).forEach((el) => {
|
|
14029
15047
|
if (!boundSet.has(el)) {
|
|
14030
|
-
this.bindDirect(
|
|
15048
|
+
this.bindDirect(helperHostSet2, el, m);
|
|
14031
15049
|
boundSet.add(el);
|
|
14032
15050
|
}
|
|
14033
15051
|
});
|
|
@@ -14042,8 +15060,8 @@ var EventListenerLifeCycler = class {
|
|
|
14042
15060
|
}
|
|
14043
15061
|
return void 0;
|
|
14044
15062
|
}
|
|
14045
|
-
onDisconnected(
|
|
14046
|
-
const inst =
|
|
15063
|
+
onDisconnected(helperHostSet2) {
|
|
15064
|
+
const inst = helperHostSet2.$this;
|
|
14047
15065
|
const list = this.boundListenersMap.get(inst) ?? [];
|
|
14048
15066
|
for (const l of list) {
|
|
14049
15067
|
try {
|
|
@@ -14067,70 +15085,61 @@ var EventListenerLifeCycler = class {
|
|
|
14067
15085
|
|
|
14068
15086
|
// src/decorators/mutationObserver.ts
|
|
14069
15087
|
var MUTATION_OBSERVER_METADATA_KEY = Symbol.for("simple-web-component:mutation-observer");
|
|
14070
|
-
|
|
14071
|
-
|
|
14072
|
-
|
|
14073
|
-
|
|
14074
|
-
|
|
14075
|
-
|
|
14076
|
-
|
|
14077
|
-
|
|
14078
|
-
|
|
14079
|
-
|
|
14080
|
-
|
|
14081
|
-
|
|
14082
|
-
|
|
14083
|
-
|
|
14084
|
-
|
|
14085
|
-
|
|
14086
|
-
|
|
14087
|
-
|
|
15088
|
+
var applyMutationObserver = (selector, options, targetObj, propertyKey) => {
|
|
15089
|
+
const constructor = targetObj.constructor;
|
|
15090
|
+
let observers = ReflectUtils.getMetadata(MUTATION_OBSERVER_METADATA_KEY, constructor);
|
|
15091
|
+
if (!observers) {
|
|
15092
|
+
observers = [];
|
|
15093
|
+
ReflectUtils.defineMetadata(MUTATION_OBSERVER_METADATA_KEY, observers, constructor);
|
|
15094
|
+
}
|
|
15095
|
+
observers.push({ propertyKey, selector, options });
|
|
15096
|
+
};
|
|
15097
|
+
var resolveMutationObserverArgs = (selectorOrOptions, maybeOptions, extra) => {
|
|
15098
|
+
if (typeof selectorOrOptions === "string" || typeof selectorOrOptions === "function") {
|
|
15099
|
+
return { selector: selectorOrOptions, options: { ...maybeOptions ?? {}, ...extra } };
|
|
15100
|
+
}
|
|
15101
|
+
return { selector: "$this", options: { ...selectorOrOptions ?? {}, ...extra } };
|
|
15102
|
+
};
|
|
15103
|
+
var dispatchMutationObserver = (selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor, extra) => {
|
|
15104
|
+
if ((typeof maybeOptionsOrPropertyKey === "string" || typeof maybeOptionsOrPropertyKey === "symbol") && descriptor !== void 0) {
|
|
15105
|
+
applyMutationObserver("$this", { ...extra }, selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey);
|
|
15106
|
+
return;
|
|
15107
|
+
}
|
|
15108
|
+
const { selector, options } = resolveMutationObserverArgs(
|
|
15109
|
+
selectorOrOptionsOrTarget,
|
|
15110
|
+
maybeOptionsOrPropertyKey,
|
|
15111
|
+
extra
|
|
15112
|
+
);
|
|
15113
|
+
return (targetObj, propertyKey) => {
|
|
15114
|
+
applyMutationObserver(selector, options, targetObj, propertyKey);
|
|
14088
15115
|
};
|
|
15116
|
+
};
|
|
15117
|
+
function mutationObserver(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor) {
|
|
15118
|
+
return dispatchMutationObserver(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor, {});
|
|
14089
15119
|
}
|
|
14090
|
-
function mutationObserverThis(
|
|
14091
|
-
return
|
|
15120
|
+
function mutationObserverThis(optionsOrTarget, propertyKey, descriptor) {
|
|
15121
|
+
return dispatchMutationObserver(optionsOrTarget, propertyKey, descriptor, {});
|
|
14092
15122
|
}
|
|
14093
|
-
function mutationObserverDelegateLight(
|
|
14094
|
-
|
|
14095
|
-
return mutationObserver(selectorOrOptions, { ...maybeOptions ?? {}, root: "light", delegate: true });
|
|
14096
|
-
}
|
|
14097
|
-
return mutationObserver({ ...selectorOrOptions ?? {}, root: "light", delegate: true });
|
|
15123
|
+
function mutationObserverDelegateLight(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor) {
|
|
15124
|
+
return dispatchMutationObserver(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor, { root: "light", delegate: true });
|
|
14098
15125
|
}
|
|
14099
|
-
function mutationObserverDelegateShadow(
|
|
14100
|
-
|
|
14101
|
-
return mutationObserver(selectorOrOptions, { ...maybeOptions ?? {}, root: "shadow", delegate: true });
|
|
14102
|
-
}
|
|
14103
|
-
return mutationObserver({ ...selectorOrOptions ?? {}, root: "shadow", delegate: true });
|
|
15126
|
+
function mutationObserverDelegateShadow(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor) {
|
|
15127
|
+
return dispatchMutationObserver(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor, { root: "shadow", delegate: true });
|
|
14104
15128
|
}
|
|
14105
|
-
function mutationObserverDelegateAll(
|
|
14106
|
-
|
|
14107
|
-
return mutationObserver(selectorOrOptions, { ...maybeOptions ?? {}, root: "all", delegate: true });
|
|
14108
|
-
}
|
|
14109
|
-
return mutationObserver({ ...selectorOrOptions ?? {}, root: "all", delegate: true });
|
|
15129
|
+
function mutationObserverDelegateAll(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor) {
|
|
15130
|
+
return dispatchMutationObserver(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor, { root: "all", delegate: true });
|
|
14110
15131
|
}
|
|
14111
|
-
function mutationObserverDelegate(
|
|
14112
|
-
|
|
14113
|
-
return mutationObserver(selectorOrOptions, { ...maybeOptions ?? {}, root: "auto", delegate: true });
|
|
14114
|
-
}
|
|
14115
|
-
return mutationObserver({ ...selectorOrOptions ?? {}, root: "auto", delegate: true });
|
|
15132
|
+
function mutationObserverDelegate(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor) {
|
|
15133
|
+
return dispatchMutationObserver(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor, { root: "auto", delegate: true });
|
|
14116
15134
|
}
|
|
14117
|
-
function mutationObserverLight(
|
|
14118
|
-
|
|
14119
|
-
return mutationObserver(selectorOrOptions, { ...maybeOptions ?? {}, root: "light" });
|
|
14120
|
-
}
|
|
14121
|
-
return mutationObserver({ ...selectorOrOptions ?? {}, root: "light" });
|
|
15135
|
+
function mutationObserverLight(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor) {
|
|
15136
|
+
return dispatchMutationObserver(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor, { root: "light" });
|
|
14122
15137
|
}
|
|
14123
|
-
function mutationObserverShadow(
|
|
14124
|
-
|
|
14125
|
-
return mutationObserver(selectorOrOptions, { ...maybeOptions ?? {}, root: "shadow" });
|
|
14126
|
-
}
|
|
14127
|
-
return mutationObserver({ ...selectorOrOptions ?? {}, root: "shadow" });
|
|
15138
|
+
function mutationObserverShadow(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor) {
|
|
15139
|
+
return dispatchMutationObserver(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor, { root: "shadow" });
|
|
14128
15140
|
}
|
|
14129
|
-
function mutationObserverAll(
|
|
14130
|
-
|
|
14131
|
-
return mutationObserver(selectorOrOptions, { ...maybeOptions ?? {}, root: "all" });
|
|
14132
|
-
}
|
|
14133
|
-
return mutationObserver({ ...selectorOrOptions ?? {}, root: "all" });
|
|
15141
|
+
function mutationObserverAll(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor) {
|
|
15142
|
+
return dispatchMutationObserver(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor, { root: "all" });
|
|
14134
15143
|
}
|
|
14135
15144
|
function getMutationObserverMetadata(target) {
|
|
14136
15145
|
const constructor = target instanceof Function ? target : target.constructor;
|
|
@@ -14140,9 +15149,9 @@ var MutationObserverLifeCycler = class {
|
|
|
14140
15149
|
constructor() {
|
|
14141
15150
|
__publicField(this, "removeObserverCallbacksMap", /* @__PURE__ */ new WeakMap());
|
|
14142
15151
|
}
|
|
14143
|
-
onConnected(
|
|
14144
|
-
const inst =
|
|
14145
|
-
const currentWin =
|
|
15152
|
+
onConnected(helperHostSet2) {
|
|
15153
|
+
const inst = helperHostSet2.$this;
|
|
15154
|
+
const currentWin = helperHostSet2.$w;
|
|
14146
15155
|
const removeObserverCallbacks = [];
|
|
14147
15156
|
this.removeObserverCallbacksMap.set(inst, removeObserverCallbacks);
|
|
14148
15157
|
const allMeta = getMutationObserverMetadata(inst) ?? [];
|
|
@@ -14213,10 +15222,10 @@ var MutationObserverLifeCycler = class {
|
|
|
14213
15222
|
}
|
|
14214
15223
|
if (matchedEls.length === 0) continue;
|
|
14215
15224
|
if (options.filter) {
|
|
14216
|
-
if (!options.filter(matchedEls, { currentThis: inst, helper:
|
|
15225
|
+
if (!options.filter(matchedEls, { currentThis: inst, helper: helperHostSet2 })) continue;
|
|
14217
15226
|
}
|
|
14218
|
-
const
|
|
14219
|
-
inst[meta.propertyKey](matchedEls, mutations, obs, { ...
|
|
15227
|
+
const hostSet2 = SwcUtils.getHostSet(inst);
|
|
15228
|
+
inst[meta.propertyKey](matchedEls, mutations, obs, { ...hostSet2, $root: root });
|
|
14220
15229
|
}
|
|
14221
15230
|
};
|
|
14222
15231
|
const observeTargets = [];
|
|
@@ -14233,7 +15242,7 @@ var MutationObserverLifeCycler = class {
|
|
|
14233
15242
|
root.querySelectorAll(selector).forEach((el) => observeTargets.push({ target: el, options: mInit }));
|
|
14234
15243
|
}
|
|
14235
15244
|
} else if (typeof selector === "function") {
|
|
14236
|
-
const res = selector(inst,
|
|
15245
|
+
const res = selector(inst, helperHostSet2);
|
|
14237
15246
|
let targets = [];
|
|
14238
15247
|
if (res instanceof currentWin.HTMLElement) targets = [res];
|
|
14239
15248
|
else if (res instanceof currentWin.NodeList) targets = Array.from(res).filter((e) => e instanceof currentWin.HTMLElement);
|
|
@@ -14260,8 +15269,8 @@ var MutationObserverLifeCycler = class {
|
|
|
14260
15269
|
if (mutationObserverSet.length === 0) return;
|
|
14261
15270
|
return { mutationObserverSet };
|
|
14262
15271
|
}
|
|
14263
|
-
onDisconnected(
|
|
14264
|
-
const inst =
|
|
15272
|
+
onDisconnected(helperHostSet2) {
|
|
15273
|
+
const inst = helperHostSet2.$this;
|
|
14265
15274
|
for (const cb of this.removeObserverCallbacksMap.get(inst) ?? []) {
|
|
14266
15275
|
try {
|
|
14267
15276
|
cb.fn(cb.target, cb.opts);
|
|
@@ -14275,70 +15284,61 @@ var MutationObserverLifeCycler = class {
|
|
|
14275
15284
|
|
|
14276
15285
|
// src/decorators/resizeObserver.ts
|
|
14277
15286
|
var RESIZE_OBSERVER_METADATA_KEY = Symbol.for("simple-web-component:resize-observer");
|
|
14278
|
-
|
|
14279
|
-
|
|
14280
|
-
|
|
14281
|
-
|
|
14282
|
-
|
|
14283
|
-
|
|
14284
|
-
|
|
14285
|
-
|
|
14286
|
-
|
|
14287
|
-
|
|
14288
|
-
|
|
14289
|
-
|
|
14290
|
-
|
|
14291
|
-
|
|
14292
|
-
|
|
14293
|
-
|
|
14294
|
-
|
|
14295
|
-
|
|
15287
|
+
var applyResizeObserver = (selector, options, targetObj, propertyKey) => {
|
|
15288
|
+
const constructor = targetObj.constructor;
|
|
15289
|
+
let observers = ReflectUtils.getMetadata(RESIZE_OBSERVER_METADATA_KEY, constructor);
|
|
15290
|
+
if (!observers) {
|
|
15291
|
+
observers = [];
|
|
15292
|
+
ReflectUtils.defineMetadata(RESIZE_OBSERVER_METADATA_KEY, observers, constructor);
|
|
15293
|
+
}
|
|
15294
|
+
observers.push({ propertyKey, selector, options });
|
|
15295
|
+
};
|
|
15296
|
+
var resolveResizeObserverArgs = (selectorOrOptions, maybeOptions, extra) => {
|
|
15297
|
+
if (typeof selectorOrOptions === "string" || typeof selectorOrOptions === "function") {
|
|
15298
|
+
return { selector: selectorOrOptions, options: { ...maybeOptions ?? {}, ...extra } };
|
|
15299
|
+
}
|
|
15300
|
+
return { selector: "$this", options: { ...selectorOrOptions ?? {}, ...extra } };
|
|
15301
|
+
};
|
|
15302
|
+
var dispatchResizeObserver = (selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor, extra) => {
|
|
15303
|
+
if ((typeof maybeOptionsOrPropertyKey === "string" || typeof maybeOptionsOrPropertyKey === "symbol") && descriptor !== void 0) {
|
|
15304
|
+
applyResizeObserver("$this", { ...extra }, selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey);
|
|
15305
|
+
return;
|
|
15306
|
+
}
|
|
15307
|
+
const { selector, options } = resolveResizeObserverArgs(
|
|
15308
|
+
selectorOrOptionsOrTarget,
|
|
15309
|
+
maybeOptionsOrPropertyKey,
|
|
15310
|
+
extra
|
|
15311
|
+
);
|
|
15312
|
+
return (targetObj, propertyKey) => {
|
|
15313
|
+
applyResizeObserver(selector, options, targetObj, propertyKey);
|
|
14296
15314
|
};
|
|
15315
|
+
};
|
|
15316
|
+
function resizeObserver(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor) {
|
|
15317
|
+
return dispatchResizeObserver(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor, {});
|
|
14297
15318
|
}
|
|
14298
|
-
function resizeObserverThis(
|
|
14299
|
-
return
|
|
15319
|
+
function resizeObserverThis(optionsOrTarget, propertyKey, descriptor) {
|
|
15320
|
+
return dispatchResizeObserver(optionsOrTarget, propertyKey, descriptor, {});
|
|
14300
15321
|
}
|
|
14301
|
-
function resizeObserverDelegateLight(
|
|
14302
|
-
|
|
14303
|
-
return resizeObserver(selectorOrOptions, { ...maybeOptions ?? {}, root: "light", delegate: true });
|
|
14304
|
-
}
|
|
14305
|
-
return resizeObserver({ ...selectorOrOptions ?? {}, root: "light", delegate: true });
|
|
15322
|
+
function resizeObserverDelegateLight(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor) {
|
|
15323
|
+
return dispatchResizeObserver(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor, { root: "light", delegate: true });
|
|
14306
15324
|
}
|
|
14307
|
-
function resizeObserverDelegateShadow(
|
|
14308
|
-
|
|
14309
|
-
return resizeObserver(selectorOrOptions, { ...maybeOptions ?? {}, root: "shadow", delegate: true });
|
|
14310
|
-
}
|
|
14311
|
-
return resizeObserver({ ...selectorOrOptions ?? {}, root: "shadow", delegate: true });
|
|
15325
|
+
function resizeObserverDelegateShadow(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor) {
|
|
15326
|
+
return dispatchResizeObserver(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor, { root: "shadow", delegate: true });
|
|
14312
15327
|
}
|
|
14313
|
-
function resizeObserverDelegateAll(
|
|
14314
|
-
|
|
14315
|
-
return resizeObserver(selectorOrOptions, { ...maybeOptions ?? {}, root: "all", delegate: true });
|
|
14316
|
-
}
|
|
14317
|
-
return resizeObserver({ ...selectorOrOptions ?? {}, root: "all", delegate: true });
|
|
15328
|
+
function resizeObserverDelegateAll(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor) {
|
|
15329
|
+
return dispatchResizeObserver(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor, { root: "all", delegate: true });
|
|
14318
15330
|
}
|
|
14319
|
-
function resizeObserverDelegate(
|
|
14320
|
-
|
|
14321
|
-
return resizeObserver(selectorOrOptions, { ...maybeOptions ?? {}, root: "auto", delegate: true });
|
|
14322
|
-
}
|
|
14323
|
-
return resizeObserver({ ...selectorOrOptions ?? {}, root: "auto", delegate: true });
|
|
15331
|
+
function resizeObserverDelegate(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor) {
|
|
15332
|
+
return dispatchResizeObserver(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor, { root: "auto", delegate: true });
|
|
14324
15333
|
}
|
|
14325
|
-
function resizeObserverLight(
|
|
14326
|
-
|
|
14327
|
-
return resizeObserver(selectorOrOptions, { ...maybeOptions ?? {}, root: "light" });
|
|
14328
|
-
}
|
|
14329
|
-
return resizeObserver({ ...selectorOrOptions ?? {}, root: "light" });
|
|
15334
|
+
function resizeObserverLight(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor) {
|
|
15335
|
+
return dispatchResizeObserver(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor, { root: "light" });
|
|
14330
15336
|
}
|
|
14331
|
-
function resizeObserverShadow(
|
|
14332
|
-
|
|
14333
|
-
return resizeObserver(selectorOrOptions, { ...maybeOptions ?? {}, root: "shadow" });
|
|
14334
|
-
}
|
|
14335
|
-
return resizeObserver({ ...selectorOrOptions ?? {}, root: "shadow" });
|
|
15337
|
+
function resizeObserverShadow(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor) {
|
|
15338
|
+
return dispatchResizeObserver(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor, { root: "shadow" });
|
|
14336
15339
|
}
|
|
14337
|
-
function resizeObserverAll(
|
|
14338
|
-
|
|
14339
|
-
return resizeObserver(selectorOrOptions, { ...maybeOptions ?? {}, root: "all" });
|
|
14340
|
-
}
|
|
14341
|
-
return resizeObserver({ ...selectorOrOptions ?? {}, root: "all" });
|
|
15340
|
+
function resizeObserverAll(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor) {
|
|
15341
|
+
return dispatchResizeObserver(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor, { root: "all" });
|
|
14342
15342
|
}
|
|
14343
15343
|
function getResizeObserverMetadata(target) {
|
|
14344
15344
|
const constructor = target instanceof Function ? target : target.constructor;
|
|
@@ -14348,9 +15348,9 @@ var ResizeObserverLifeCycler = class {
|
|
|
14348
15348
|
constructor() {
|
|
14349
15349
|
__publicField(this, "removeObserverCallbacksMap", /* @__PURE__ */ new WeakMap());
|
|
14350
15350
|
}
|
|
14351
|
-
onConnected(
|
|
14352
|
-
const inst =
|
|
14353
|
-
const currentWin =
|
|
15351
|
+
onConnected(helperHostSet2) {
|
|
15352
|
+
const inst = helperHostSet2.$this;
|
|
15353
|
+
const currentWin = helperHostSet2.$w;
|
|
14354
15354
|
const removeObserverCallbacks = [];
|
|
14355
15355
|
this.removeObserverCallbacksMap.set(inst, removeObserverCallbacks);
|
|
14356
15356
|
const allMeta = getResizeObserverMetadata(inst) ?? [];
|
|
@@ -14374,10 +15374,10 @@ var ResizeObserverLifeCycler = class {
|
|
|
14374
15374
|
}
|
|
14375
15375
|
if (matchedEls.length === 0) continue;
|
|
14376
15376
|
if (m.options.filter) {
|
|
14377
|
-
if (!m.options.filter(matchedEls, { currentThis: inst, helper:
|
|
15377
|
+
if (!m.options.filter(matchedEls, { currentThis: inst, helper: helperHostSet2 })) continue;
|
|
14378
15378
|
}
|
|
14379
|
-
const
|
|
14380
|
-
inst[m.propertyKey](matchedEls, entries, obs, { ...
|
|
15379
|
+
const hostSet2 = SwcUtils.getHostSet(inst);
|
|
15380
|
+
inst[m.propertyKey](matchedEls, entries, obs, { ...hostSet2, $root: root });
|
|
14381
15381
|
}
|
|
14382
15382
|
};
|
|
14383
15383
|
const resizeObserverSet = [];
|
|
@@ -14388,7 +15388,7 @@ var ResizeObserverLifeCycler = class {
|
|
|
14388
15388
|
}
|
|
14389
15389
|
let targets = [];
|
|
14390
15390
|
if (typeof m.selector === "function") {
|
|
14391
|
-
const res = m.selector(inst,
|
|
15391
|
+
const res = m.selector(inst, helperHostSet2);
|
|
14392
15392
|
if (res instanceof currentWin.HTMLElement) targets = [res];
|
|
14393
15393
|
else if (res instanceof currentWin.NodeList) targets = Array.from(res).filter((e) => e instanceof currentWin.HTMLElement);
|
|
14394
15394
|
else if (Array.isArray(res)) targets = res.filter((e) => e instanceof currentWin.HTMLElement);
|
|
@@ -14415,8 +15415,8 @@ var ResizeObserverLifeCycler = class {
|
|
|
14415
15415
|
}
|
|
14416
15416
|
return { resizeObserverSet };
|
|
14417
15417
|
}
|
|
14418
|
-
onDisconnected(
|
|
14419
|
-
const inst =
|
|
15418
|
+
onDisconnected(helperHostSet2) {
|
|
15419
|
+
const inst = helperHostSet2.$this;
|
|
14420
15420
|
for (const cb of this.removeObserverCallbacksMap.get(inst) ?? []) {
|
|
14421
15421
|
try {
|
|
14422
15422
|
cb.fn(cb.target, cb.opts);
|
|
@@ -14430,70 +15430,61 @@ var ResizeObserverLifeCycler = class {
|
|
|
14430
15430
|
|
|
14431
15431
|
// src/decorators/intersectionObserver.ts
|
|
14432
15432
|
var INTERSECTION_OBSERVER_METADATA_KEY = Symbol.for("simple-web-component:intersection-observer");
|
|
14433
|
-
|
|
14434
|
-
|
|
14435
|
-
|
|
14436
|
-
|
|
14437
|
-
|
|
14438
|
-
|
|
14439
|
-
|
|
14440
|
-
|
|
14441
|
-
|
|
14442
|
-
|
|
14443
|
-
|
|
14444
|
-
|
|
14445
|
-
|
|
14446
|
-
|
|
14447
|
-
|
|
14448
|
-
|
|
14449
|
-
|
|
14450
|
-
|
|
15433
|
+
var applyIntersectionObserver = (selector, options, targetObj, propertyKey) => {
|
|
15434
|
+
const constructor = targetObj.constructor;
|
|
15435
|
+
let observers = ReflectUtils.getMetadata(INTERSECTION_OBSERVER_METADATA_KEY, constructor);
|
|
15436
|
+
if (!observers) {
|
|
15437
|
+
observers = [];
|
|
15438
|
+
ReflectUtils.defineMetadata(INTERSECTION_OBSERVER_METADATA_KEY, observers, constructor);
|
|
15439
|
+
}
|
|
15440
|
+
observers.push({ propertyKey, selector, options });
|
|
15441
|
+
};
|
|
15442
|
+
var resolveIntersectionObserverArgs = (selectorOrOptions, maybeOptions, extra) => {
|
|
15443
|
+
if (typeof selectorOrOptions === "string" || typeof selectorOrOptions === "function") {
|
|
15444
|
+
return { selector: selectorOrOptions, options: { ...maybeOptions ?? {}, ...extra } };
|
|
15445
|
+
}
|
|
15446
|
+
return { selector: "$this", options: { ...selectorOrOptions ?? {}, ...extra } };
|
|
15447
|
+
};
|
|
15448
|
+
var dispatchIntersectionObserver = (selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor, extra) => {
|
|
15449
|
+
if ((typeof maybeOptionsOrPropertyKey === "string" || typeof maybeOptionsOrPropertyKey === "symbol") && descriptor !== void 0) {
|
|
15450
|
+
applyIntersectionObserver("$this", { ...extra }, selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey);
|
|
15451
|
+
return;
|
|
15452
|
+
}
|
|
15453
|
+
const { selector, options } = resolveIntersectionObserverArgs(
|
|
15454
|
+
selectorOrOptionsOrTarget,
|
|
15455
|
+
maybeOptionsOrPropertyKey,
|
|
15456
|
+
extra
|
|
15457
|
+
);
|
|
15458
|
+
return (targetObj, propertyKey) => {
|
|
15459
|
+
applyIntersectionObserver(selector, options, targetObj, propertyKey);
|
|
14451
15460
|
};
|
|
15461
|
+
};
|
|
15462
|
+
function intersectionObserver(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor) {
|
|
15463
|
+
return dispatchIntersectionObserver(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor, {});
|
|
14452
15464
|
}
|
|
14453
|
-
function intersectionObserverThis(
|
|
14454
|
-
return
|
|
15465
|
+
function intersectionObserverThis(optionsOrTarget, propertyKey, descriptor) {
|
|
15466
|
+
return dispatchIntersectionObserver(optionsOrTarget, propertyKey, descriptor, {});
|
|
14455
15467
|
}
|
|
14456
|
-
function intersectionObserverDelegateLight(
|
|
14457
|
-
|
|
14458
|
-
return intersectionObserver(selectorOrOptions, { ...maybeOptions ?? {}, root: "light", delegate: true });
|
|
14459
|
-
}
|
|
14460
|
-
return intersectionObserver({ ...selectorOrOptions ?? {}, root: "light", delegate: true });
|
|
15468
|
+
function intersectionObserverDelegateLight(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor) {
|
|
15469
|
+
return dispatchIntersectionObserver(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor, { root: "light", delegate: true });
|
|
14461
15470
|
}
|
|
14462
|
-
function intersectionObserverDelegateShadow(
|
|
14463
|
-
|
|
14464
|
-
return intersectionObserver(selectorOrOptions, { ...maybeOptions ?? {}, root: "shadow", delegate: true });
|
|
14465
|
-
}
|
|
14466
|
-
return intersectionObserver({ ...selectorOrOptions ?? {}, root: "shadow", delegate: true });
|
|
15471
|
+
function intersectionObserverDelegateShadow(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor) {
|
|
15472
|
+
return dispatchIntersectionObserver(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor, { root: "shadow", delegate: true });
|
|
14467
15473
|
}
|
|
14468
|
-
function intersectionObserverDelegateAll(
|
|
14469
|
-
|
|
14470
|
-
return intersectionObserver(selectorOrOptions, { ...maybeOptions ?? {}, root: "all", delegate: true });
|
|
14471
|
-
}
|
|
14472
|
-
return intersectionObserver({ ...selectorOrOptions ?? {}, root: "all", delegate: true });
|
|
15474
|
+
function intersectionObserverDelegateAll(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor) {
|
|
15475
|
+
return dispatchIntersectionObserver(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor, { root: "all", delegate: true });
|
|
14473
15476
|
}
|
|
14474
|
-
function intersectionObserverDelegate(
|
|
14475
|
-
|
|
14476
|
-
return intersectionObserver(selectorOrOptions, { ...maybeOptions ?? {}, root: "auto", delegate: true });
|
|
14477
|
-
}
|
|
14478
|
-
return intersectionObserver({ ...selectorOrOptions ?? {}, root: "auto", delegate: true });
|
|
15477
|
+
function intersectionObserverDelegate(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor) {
|
|
15478
|
+
return dispatchIntersectionObserver(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor, { root: "auto", delegate: true });
|
|
14479
15479
|
}
|
|
14480
|
-
function intersectionObserverLight(
|
|
14481
|
-
|
|
14482
|
-
return intersectionObserver(selectorOrOptions, { ...maybeOptions ?? {}, root: "light" });
|
|
14483
|
-
}
|
|
14484
|
-
return intersectionObserver({ ...selectorOrOptions ?? {}, root: "light" });
|
|
15480
|
+
function intersectionObserverLight(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor) {
|
|
15481
|
+
return dispatchIntersectionObserver(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor, { root: "light" });
|
|
14485
15482
|
}
|
|
14486
|
-
function intersectionObserverShadow(
|
|
14487
|
-
|
|
14488
|
-
return intersectionObserver(selectorOrOptions, { ...maybeOptions ?? {}, root: "shadow" });
|
|
14489
|
-
}
|
|
14490
|
-
return intersectionObserver({ ...selectorOrOptions ?? {}, root: "shadow" });
|
|
15483
|
+
function intersectionObserverShadow(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor) {
|
|
15484
|
+
return dispatchIntersectionObserver(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor, { root: "shadow" });
|
|
14491
15485
|
}
|
|
14492
|
-
function intersectionObserverAll(
|
|
14493
|
-
|
|
14494
|
-
return intersectionObserver(selectorOrOptions, { ...maybeOptions ?? {}, root: "all" });
|
|
14495
|
-
}
|
|
14496
|
-
return intersectionObserver({ ...selectorOrOptions ?? {}, root: "all" });
|
|
15486
|
+
function intersectionObserverAll(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor) {
|
|
15487
|
+
return dispatchIntersectionObserver(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor, { root: "all" });
|
|
14497
15488
|
}
|
|
14498
15489
|
function getIntersectionObserverMetadata(target) {
|
|
14499
15490
|
const constructor = target instanceof Function ? target : target.constructor;
|
|
@@ -14503,9 +15494,9 @@ var IntersectionObserverLifeCycler = class {
|
|
|
14503
15494
|
constructor() {
|
|
14504
15495
|
__publicField(this, "removeObserverCallbacksMap", /* @__PURE__ */ new WeakMap());
|
|
14505
15496
|
}
|
|
14506
|
-
onConnected(
|
|
14507
|
-
const inst =
|
|
14508
|
-
const currentWin =
|
|
15497
|
+
onConnected(helperHostSet2) {
|
|
15498
|
+
const inst = helperHostSet2.$this;
|
|
15499
|
+
const currentWin = helperHostSet2.$w;
|
|
14509
15500
|
const removeObserverCallbacks = [];
|
|
14510
15501
|
this.removeObserverCallbacksMap.set(inst, removeObserverCallbacks);
|
|
14511
15502
|
const allMeta = getIntersectionObserverMetadata(inst) ?? [];
|
|
@@ -14530,10 +15521,10 @@ var IntersectionObserverLifeCycler = class {
|
|
|
14530
15521
|
}
|
|
14531
15522
|
if (matchedEls.length === 0) continue;
|
|
14532
15523
|
if (m.options.filter) {
|
|
14533
|
-
if (!m.options.filter(matchedEls, { currentThis: inst, helper:
|
|
15524
|
+
if (!m.options.filter(matchedEls, { currentThis: inst, helper: helperHostSet2 })) continue;
|
|
14534
15525
|
}
|
|
14535
|
-
const
|
|
14536
|
-
inst[m.propertyKey](matchedEls, entries, obs, { ...
|
|
15526
|
+
const hostSet2 = SwcUtils.getHostSet(inst);
|
|
15527
|
+
inst[m.propertyKey](matchedEls, entries, obs, { ...hostSet2, $root: root });
|
|
14537
15528
|
}
|
|
14538
15529
|
};
|
|
14539
15530
|
};
|
|
@@ -14559,7 +15550,7 @@ var IntersectionObserverLifeCycler = class {
|
|
|
14559
15550
|
}
|
|
14560
15551
|
let targets = [];
|
|
14561
15552
|
if (typeof m.selector === "function") {
|
|
14562
|
-
const res = m.selector(inst,
|
|
15553
|
+
const res = m.selector(inst, helperHostSet2);
|
|
14563
15554
|
if (res instanceof currentWin.HTMLElement) targets = [res];
|
|
14564
15555
|
else if (res instanceof currentWin.NodeList) targets = Array.from(res).filter((e) => e instanceof currentWin.HTMLElement);
|
|
14565
15556
|
else if (Array.isArray(res)) targets = res.filter((e) => e instanceof currentWin.HTMLElement);
|
|
@@ -14588,8 +15579,8 @@ var IntersectionObserverLifeCycler = class {
|
|
|
14588
15579
|
}
|
|
14589
15580
|
return { intersectionObserverSet };
|
|
14590
15581
|
}
|
|
14591
|
-
onDisconnected(
|
|
14592
|
-
const inst =
|
|
15582
|
+
onDisconnected(helperHostSet2) {
|
|
15583
|
+
const inst = helperHostSet2.$this;
|
|
14593
15584
|
for (const cb of this.removeObserverCallbacksMap.get(inst) ?? []) {
|
|
14594
15585
|
try {
|
|
14595
15586
|
cb.fn(cb.target, cb.opts);
|
|
@@ -14793,11 +15784,11 @@ function createEmitDecorator(selector, type, options) {
|
|
|
14793
15784
|
});
|
|
14794
15785
|
const conf = getElementConfig(this);
|
|
14795
15786
|
const currentWin = this._resolveWindow?.(conf) || (typeof window !== "undefined" ? window : void 0);
|
|
14796
|
-
const
|
|
15787
|
+
const hostSet2 = SwcUtils.getHelperAndHostSet(currentWin, this);
|
|
14797
15788
|
const eventTargets = [];
|
|
14798
15789
|
let resolvedSelector = selector;
|
|
14799
15790
|
if (typeof selector === "function") {
|
|
14800
|
-
resolvedSelector = selector(this,
|
|
15791
|
+
resolvedSelector = selector(this, hostSet2);
|
|
14801
15792
|
}
|
|
14802
15793
|
if (resolvedSelector instanceof currentWin.Element) {
|
|
14803
15794
|
eventTargets.push(resolvedSelector);
|
|
@@ -14813,30 +15804,30 @@ function createEmitDecorator(selector, type, options) {
|
|
|
14813
15804
|
else if (stringSelector === "$document")
|
|
14814
15805
|
eventTargets.push(currentWin.document);
|
|
14815
15806
|
else if (stringSelector === "$host") {
|
|
14816
|
-
if (
|
|
14817
|
-
eventTargets.push(
|
|
15807
|
+
if (hostSet2.$host)
|
|
15808
|
+
eventTargets.push(hostSet2.$host);
|
|
14818
15809
|
} else if (stringSelector === "$parentHost") {
|
|
14819
|
-
if (
|
|
14820
|
-
eventTargets.push(
|
|
15810
|
+
if (hostSet2.$parentHost)
|
|
15811
|
+
eventTargets.push(hostSet2.$parentHost);
|
|
14821
15812
|
} else if (stringSelector === "$appHost") {
|
|
14822
|
-
if (
|
|
14823
|
-
eventTargets.push(
|
|
15813
|
+
if (hostSet2.$appHost)
|
|
15814
|
+
eventTargets.push(hostSet2.$appHost);
|
|
14824
15815
|
} else if (stringSelector === "$firstHost") {
|
|
14825
|
-
if (
|
|
14826
|
-
eventTargets.push(
|
|
15816
|
+
if (hostSet2.$firstHost)
|
|
15817
|
+
eventTargets.push(hostSet2.$firstHost);
|
|
14827
15818
|
} else if (stringSelector === "$lastHost") {
|
|
14828
|
-
if (
|
|
14829
|
-
eventTargets.push(
|
|
15819
|
+
if (hostSet2.$lastHost)
|
|
15820
|
+
eventTargets.push(hostSet2.$lastHost);
|
|
14830
15821
|
} else if (stringSelector === "$firstAppHost") {
|
|
14831
|
-
if (
|
|
14832
|
-
eventTargets.push(
|
|
15822
|
+
if (hostSet2.$firstAppHost)
|
|
15823
|
+
eventTargets.push(hostSet2.$firstAppHost);
|
|
14833
15824
|
} else if (stringSelector === "$lastAppHost") {
|
|
14834
|
-
if (
|
|
14835
|
-
eventTargets.push(
|
|
15825
|
+
if (hostSet2.$lastAppHost)
|
|
15826
|
+
eventTargets.push(hostSet2.$lastAppHost);
|
|
14836
15827
|
} else if (stringSelector === "$hosts") {
|
|
14837
|
-
|
|
15828
|
+
hostSet2.$hosts.forEach((h) => eventTargets.push(h));
|
|
14838
15829
|
} else if (stringSelector === "$appHosts") {
|
|
14839
|
-
|
|
15830
|
+
hostSet2.$appHosts.forEach((h) => eventTargets.push(h));
|
|
14840
15831
|
} else if (stringSelector === "$this" || !stringSelector) {
|
|
14841
15832
|
eventTargets.push(this);
|
|
14842
15833
|
} else {
|
|
@@ -14859,7 +15850,7 @@ function createEmitDecorator(selector, type, options) {
|
|
|
14859
15850
|
}
|
|
14860
15851
|
}
|
|
14861
15852
|
eventTargets.forEach((t) => {
|
|
14862
|
-
if (fullOptions.filter && !fullOptions.filter(t, detail, { currentThis: this, helper:
|
|
15853
|
+
if (fullOptions.filter && !fullOptions.filter(t, detail, { currentThis: this, helper: hostSet2 })) {
|
|
14863
15854
|
return;
|
|
14864
15855
|
}
|
|
14865
15856
|
t.dispatchEvent(event2);
|
|
@@ -14918,8 +15909,8 @@ var EmitCustomEventLifeCycler = class {
|
|
|
14918
15909
|
onConnected(_helperHostSet) {
|
|
14919
15910
|
}
|
|
14920
15911
|
/** attributeChangedCallback 에서 elementDefine 이 직접 호출 */
|
|
14921
|
-
onAttributeChanged(
|
|
14922
|
-
const inst =
|
|
15912
|
+
onAttributeChanged(helperHostSet2, name, _old, newVal) {
|
|
15913
|
+
const inst = helperHostSet2.$this;
|
|
14923
15914
|
const matched = this.getHostEmitMeta(inst).find((m) => m.options.attributeName === name);
|
|
14924
15915
|
if (matched && newVal !== null) {
|
|
14925
15916
|
inst._bindAttributeEvent?.(inst, name, newVal, matched.type);
|
|
@@ -14935,20 +15926,29 @@ var convertValue = (val, type) => {
|
|
|
14935
15926
|
if (type === Boolean) return val === "false" || val === "0" ? false : true;
|
|
14936
15927
|
return val;
|
|
14937
15928
|
};
|
|
14938
|
-
|
|
15929
|
+
var applyChangedAttribute = (attributeName, options, target, propertyKey) => {
|
|
15930
|
+
const constructor = target.constructor;
|
|
15931
|
+
let metaList = ReflectUtils.getOwnMetadata(ON_ATTRIBUTE_CHANGED_METADATA_KEY, constructor);
|
|
15932
|
+
if (!metaList) {
|
|
15933
|
+
metaList = [];
|
|
15934
|
+
ReflectUtils.defineMetadata(ON_ATTRIBUTE_CHANGED_METADATA_KEY, metaList, constructor);
|
|
15935
|
+
}
|
|
15936
|
+
const name = attributeName || String(propertyKey);
|
|
15937
|
+
metaList.push({
|
|
15938
|
+
attributeName: name,
|
|
15939
|
+
propertyKey,
|
|
15940
|
+
options
|
|
15941
|
+
});
|
|
15942
|
+
};
|
|
15943
|
+
function changedAttribute(attributeNameOrTarget, optionsOrPropertyKey, descriptor) {
|
|
15944
|
+
if ((typeof optionsOrPropertyKey === "string" || typeof optionsOrPropertyKey === "symbol") && descriptor !== void 0) {
|
|
15945
|
+
applyChangedAttribute(void 0, {}, attributeNameOrTarget, optionsOrPropertyKey);
|
|
15946
|
+
return;
|
|
15947
|
+
}
|
|
15948
|
+
const attributeName = attributeNameOrTarget;
|
|
15949
|
+
const options = optionsOrPropertyKey ?? {};
|
|
14939
15950
|
return (target, propertyKey) => {
|
|
14940
|
-
|
|
14941
|
-
let metaList = ReflectUtils.getOwnMetadata(ON_ATTRIBUTE_CHANGED_METADATA_KEY, constructor);
|
|
14942
|
-
if (!metaList) {
|
|
14943
|
-
metaList = [];
|
|
14944
|
-
ReflectUtils.defineMetadata(ON_ATTRIBUTE_CHANGED_METADATA_KEY, metaList, constructor);
|
|
14945
|
-
}
|
|
14946
|
-
const name = attributeName || String(propertyKey);
|
|
14947
|
-
metaList.push({
|
|
14948
|
-
attributeName: name,
|
|
14949
|
-
propertyKey,
|
|
14950
|
-
options
|
|
14951
|
-
});
|
|
15951
|
+
applyChangedAttribute(attributeName, options, target, propertyKey);
|
|
14952
15952
|
};
|
|
14953
15953
|
}
|
|
14954
15954
|
var getChangedAttributeMetadata = (target) => {
|
|
@@ -14985,25 +15985,25 @@ var ChangedAttributeLifeCycler = class {
|
|
|
14985
15985
|
getObservedAttributeNames(inst) {
|
|
14986
15986
|
return Array.from(this.getAttrChangeMap(inst).keys());
|
|
14987
15987
|
}
|
|
14988
|
-
onConnected(
|
|
14989
|
-
const inst =
|
|
15988
|
+
onConnected(helperHostSet2) {
|
|
15989
|
+
const inst = helperHostSet2.$this;
|
|
14990
15990
|
for (const [name, metaList] of this.getAttrChangeMap(inst)) {
|
|
14991
15991
|
for (const meta of metaList) {
|
|
14992
15992
|
if (meta.options.while === "connected") {
|
|
14993
15993
|
const val = getAttributeValue(inst, name, { type: meta.options.type });
|
|
14994
|
-
if (val !== null) inst[meta.propertyKey](val, null, name,
|
|
15994
|
+
if (val !== null) inst[meta.propertyKey](val, null, name, helperHostSet2);
|
|
14995
15995
|
}
|
|
14996
15996
|
}
|
|
14997
15997
|
}
|
|
14998
15998
|
}
|
|
14999
15999
|
/** attributeChangedCallback 에서 elementDefine 이 직접 호출 */
|
|
15000
|
-
onAttributeChanged(
|
|
15001
|
-
const inst =
|
|
16000
|
+
onAttributeChanged(helperHostSet2, name, old, newVal) {
|
|
16001
|
+
const inst = helperHostSet2.$this;
|
|
15002
16002
|
const metaList = this.getAttrChangeMap(inst).get(name);
|
|
15003
16003
|
if (!metaList) return;
|
|
15004
16004
|
for (const meta of metaList) {
|
|
15005
16005
|
if (meta.options.while === "connected" && !inst.__swc_connected) continue;
|
|
15006
|
-
inst[meta.propertyKey](convertAttributeValue(newVal, meta.options.type), old, name,
|
|
16006
|
+
inst[meta.propertyKey](convertAttributeValue(newVal, meta.options.type), old, name, helperHostSet2);
|
|
15007
16007
|
}
|
|
15008
16008
|
}
|
|
15009
16009
|
};
|
|
@@ -15011,10 +16011,10 @@ var ChangedAttributeLifeCycler = class {
|
|
|
15011
16011
|
// src/decorators/query.ts
|
|
15012
16012
|
var QUERY_METADATA_KEY = Symbol.for("simple-web-component:query");
|
|
15013
16013
|
var resolveQueryElements = (inst, selector, options, win) => {
|
|
15014
|
-
const
|
|
16014
|
+
const hostSet2 = SwcUtils.getHelperAndHostSet(win, inst);
|
|
15015
16015
|
let all = [];
|
|
15016
16016
|
if (typeof selector === "function") {
|
|
15017
|
-
const result = selector(inst,
|
|
16017
|
+
const result = selector(inst, hostSet2);
|
|
15018
16018
|
if (result instanceof win.NodeList)
|
|
15019
16019
|
all = Array.from(result).filter((e) => e instanceof win.HTMLElement);
|
|
15020
16020
|
else if (Array.isArray(result))
|
|
@@ -15026,23 +16026,23 @@ var resolveQueryElements = (inst, selector, options, win) => {
|
|
|
15026
16026
|
if (selector === "$this")
|
|
15027
16027
|
all = [inst];
|
|
15028
16028
|
else if (selector === "$host")
|
|
15029
|
-
all =
|
|
16029
|
+
all = hostSet2.$host ? [hostSet2.$host] : [];
|
|
15030
16030
|
else if (selector === "$parentHost")
|
|
15031
|
-
all =
|
|
16031
|
+
all = hostSet2.$parentHost ? [hostSet2.$parentHost] : [];
|
|
15032
16032
|
else if (selector === "$appHost")
|
|
15033
|
-
all =
|
|
16033
|
+
all = hostSet2.$appHost ? [hostSet2.$appHost] : [];
|
|
15034
16034
|
else if (selector === "$firstHost")
|
|
15035
|
-
all =
|
|
16035
|
+
all = hostSet2.$firstHost ? [hostSet2.$firstHost] : [];
|
|
15036
16036
|
else if (selector === "$lastHost")
|
|
15037
|
-
all =
|
|
16037
|
+
all = hostSet2.$lastHost ? [hostSet2.$lastHost] : [];
|
|
15038
16038
|
else if (selector === "$firstAppHost")
|
|
15039
|
-
all =
|
|
16039
|
+
all = hostSet2.$firstAppHost ? [hostSet2.$firstAppHost] : [];
|
|
15040
16040
|
else if (selector === "$lastAppHost")
|
|
15041
|
-
all =
|
|
16041
|
+
all = hostSet2.$lastAppHost ? [hostSet2.$lastAppHost] : [];
|
|
15042
16042
|
else if (selector === "$hosts")
|
|
15043
|
-
all =
|
|
16043
|
+
all = hostSet2.$hosts.filter(Boolean);
|
|
15044
16044
|
else if (selector === "$appHosts")
|
|
15045
|
-
all =
|
|
16045
|
+
all = hostSet2.$appHosts.filter(Boolean);
|
|
15046
16046
|
else {
|
|
15047
16047
|
const scopes = [];
|
|
15048
16048
|
if (r === "auto")
|
|
@@ -15064,7 +16064,7 @@ var resolveQueryElements = (inst, selector, options, win) => {
|
|
|
15064
16064
|
}
|
|
15065
16065
|
}
|
|
15066
16066
|
if (options?.filter) {
|
|
15067
|
-
all = all.filter((el) => options.filter(el, { currentThis: inst, helper:
|
|
16067
|
+
all = all.filter((el) => options.filter(el, { currentThis: inst, helper: hostSet2 }));
|
|
15068
16068
|
}
|
|
15069
16069
|
return all;
|
|
15070
16070
|
};
|
|
@@ -15336,8 +16336,8 @@ function state(nameOrTarget, propertyKey) {
|
|
|
15336
16336
|
storage = nv;
|
|
15337
16337
|
const config = getElementConfig(this);
|
|
15338
16338
|
const ea = new ElementApply(this, { id: this._swcId });
|
|
15339
|
-
const
|
|
15340
|
-
const stateContext = { ...
|
|
16339
|
+
const helperHostSet2 = SwcUtils.getHelperAndHostSet(config.window, this);
|
|
16340
|
+
const stateContext = { ...helperHostSet2 };
|
|
15341
16341
|
findAllStateMetadata(this).forEach((it) => {
|
|
15342
16342
|
stateContext[it.name] = this[it.propertyKey];
|
|
15343
16343
|
});
|
|
@@ -15391,8 +16391,8 @@ var resolvePropertyTargets = (inst, selector, options) => {
|
|
|
15391
16391
|
const results = [];
|
|
15392
16392
|
let resolvedSelector = selector;
|
|
15393
16393
|
if (typeof selector === "function") {
|
|
15394
|
-
const
|
|
15395
|
-
resolvedSelector = selector(inst,
|
|
16394
|
+
const hostSet2 = SwcUtils.getHelperAndHostSet(currentWin, inst);
|
|
16395
|
+
resolvedSelector = selector(inst, hostSet2);
|
|
15396
16396
|
}
|
|
15397
16397
|
if (resolvedSelector instanceof currentWin.Element) {
|
|
15398
16398
|
results.push(resolvedSelector);
|
|
@@ -15426,16 +16426,16 @@ var resolvePropertyTargets = (inst, selector, options) => {
|
|
|
15426
16426
|
} else if (stringSelector === "$document") {
|
|
15427
16427
|
results.push(currentWin.document);
|
|
15428
16428
|
} else {
|
|
15429
|
-
const
|
|
15430
|
-
if (stringSelector === "$host") applyRoot(
|
|
15431
|
-
else if (stringSelector === "$parentHost") applyRoot(
|
|
15432
|
-
else if (stringSelector === "$appHost") applyRoot(
|
|
15433
|
-
else if (stringSelector === "$firstHost") applyRoot(
|
|
15434
|
-
else if (stringSelector === "$lastHost") applyRoot(
|
|
15435
|
-
else if (stringSelector === "$firstAppHost") applyRoot(
|
|
15436
|
-
else if (stringSelector === "$lastAppHost") applyRoot(
|
|
15437
|
-
else if (stringSelector === "$hosts")
|
|
15438
|
-
else if (stringSelector === "$appHosts")
|
|
16429
|
+
const hostSet2 = SwcUtils.getHostSet(inst);
|
|
16430
|
+
if (stringSelector === "$host") applyRoot(hostSet2.$host);
|
|
16431
|
+
else if (stringSelector === "$parentHost") applyRoot(hostSet2.$parentHost);
|
|
16432
|
+
else if (stringSelector === "$appHost") applyRoot(hostSet2.$appHost);
|
|
16433
|
+
else if (stringSelector === "$firstHost") applyRoot(hostSet2.$firstHost);
|
|
16434
|
+
else if (stringSelector === "$lastHost") applyRoot(hostSet2.$lastHost);
|
|
16435
|
+
else if (stringSelector === "$firstAppHost") applyRoot(hostSet2.$firstAppHost);
|
|
16436
|
+
else if (stringSelector === "$lastAppHost") applyRoot(hostSet2.$lastAppHost);
|
|
16437
|
+
else if (stringSelector === "$hosts") hostSet2.$hosts.forEach(applyRoot);
|
|
16438
|
+
else if (stringSelector === "$appHosts") hostSet2.$appHosts.forEach(applyRoot);
|
|
15439
16439
|
else {
|
|
15440
16440
|
if (r === "shadow") {
|
|
15441
16441
|
const found = inst.shadowRoot?.querySelectorAll(stringSelector);
|
|
@@ -15488,12 +16488,12 @@ function applyProperty(selector, targetPropertyKeyOrOptions, options) {
|
|
|
15488
16488
|
const targetEls = resolvePropertyTargets(inst, selector, finalOptions);
|
|
15489
16489
|
const conf = getElementConfig(inst);
|
|
15490
16490
|
const currentWin = conf.window;
|
|
15491
|
-
const
|
|
16491
|
+
const hostSet2 = SwcUtils.getHelperAndHostSet(currentWin, inst);
|
|
15492
16492
|
targetEls.forEach((targetEl) => {
|
|
15493
|
-
if (finalOptions.filter && !finalOptions.filter(targetEl, resolvedValue, { currentThis: inst, helper:
|
|
16493
|
+
if (finalOptions.filter && !finalOptions.filter(targetEl, resolvedValue, { currentThis: inst, helper: hostSet2 })) {
|
|
15494
16494
|
return;
|
|
15495
16495
|
}
|
|
15496
|
-
const resolvedRes = typeof resolvedValue === "function" ? resolvedValue(targetEl,
|
|
16496
|
+
const resolvedRes = typeof resolvedValue === "function" ? resolvedValue(targetEl, hostSet2) : resolvedValue;
|
|
15497
16497
|
if (finalOptions.setType === "call") {
|
|
15498
16498
|
if (typeof targetEl[targetPropertyKey] !== "function") return;
|
|
15499
16499
|
if (Array.isArray(resolvedRes)) targetEl[targetPropertyKey].apply(targetEl, resolvedRes);
|
|
@@ -15537,9 +16537,9 @@ function applyProperty(selector, targetPropertyKeyOrOptions, options) {
|
|
|
15537
16537
|
const targetEls = resolvePropertyTargets(this, selector, finalOptions);
|
|
15538
16538
|
const conf = getElementConfig(this);
|
|
15539
16539
|
const currentWin = conf.window;
|
|
15540
|
-
const
|
|
16540
|
+
const hostSet2 = SwcUtils.getHelperAndHostSet(currentWin, this);
|
|
15541
16541
|
const filtered = targetEls.filter((el) => {
|
|
15542
|
-
if (finalOptions.filter && !finalOptions.filter(el, el[targetPropertyKey], { currentThis: this, helper:
|
|
16542
|
+
if (finalOptions.filter && !finalOptions.filter(el, el[targetPropertyKey], { currentThis: this, helper: hostSet2 })) {
|
|
15543
16543
|
return false;
|
|
15544
16544
|
}
|
|
15545
16545
|
return true;
|
|
@@ -15615,17 +16615,23 @@ var findAllPropertyApplyMetadata = (target) => {
|
|
|
15615
16615
|
return result;
|
|
15616
16616
|
};
|
|
15617
16617
|
var prop = applyProperty;
|
|
15618
|
-
|
|
15619
|
-
|
|
16618
|
+
var dispatchPropConvenience = (selector, targetPropertyKeyOrTarget, optionsOrPropertyKey, descriptor) => {
|
|
16619
|
+
if ((typeof optionsOrPropertyKey === "string" || typeof optionsOrPropertyKey === "symbol") && descriptor !== void 0) {
|
|
16620
|
+
return applyProperty(selector, void 0, {})(targetPropertyKeyOrTarget, optionsOrPropertyKey, descriptor);
|
|
16621
|
+
}
|
|
16622
|
+
return applyProperty(selector, targetPropertyKeyOrTarget, optionsOrPropertyKey);
|
|
16623
|
+
};
|
|
16624
|
+
function propThis(targetPropertyKeyOrTarget, optionsOrPropertyKey, descriptor) {
|
|
16625
|
+
return dispatchPropConvenience("$this", targetPropertyKeyOrTarget, optionsOrPropertyKey, descriptor);
|
|
15620
16626
|
}
|
|
15621
|
-
function propAppHost(
|
|
15622
|
-
return
|
|
16627
|
+
function propAppHost(targetPropertyKeyOrTarget, optionsOrPropertyKey, descriptor) {
|
|
16628
|
+
return dispatchPropConvenience("$appHost", targetPropertyKeyOrTarget, optionsOrPropertyKey, descriptor);
|
|
15623
16629
|
}
|
|
15624
|
-
function propWindow(
|
|
15625
|
-
return
|
|
16630
|
+
function propWindow(targetPropertyKeyOrTarget, optionsOrPropertyKey, descriptor) {
|
|
16631
|
+
return dispatchPropConvenience("$window", targetPropertyKeyOrTarget, optionsOrPropertyKey, descriptor);
|
|
15626
16632
|
}
|
|
15627
|
-
function propDocument(
|
|
15628
|
-
return
|
|
16633
|
+
function propDocument(targetPropertyKeyOrTarget, optionsOrPropertyKey, descriptor) {
|
|
16634
|
+
return dispatchPropConvenience("$document", targetPropertyKeyOrTarget, optionsOrPropertyKey, descriptor);
|
|
15629
16635
|
}
|
|
15630
16636
|
function propLight(selector, targetPropertyKey, options) {
|
|
15631
16637
|
return applyProperty(selector, targetPropertyKey, { ...options ?? {}, root: "light" });
|
|
@@ -15697,8 +16703,8 @@ var MessageSubscribeLifeCycler = class {
|
|
|
15697
16703
|
onConnected(_helperHostSet) {
|
|
15698
16704
|
}
|
|
15699
16705
|
/** SwcAppMixin 이 구독 대상 메타를 꺼낼 때 사용 */
|
|
15700
|
-
getMetadata(
|
|
15701
|
-
return getSubscribeSwcAppMessageWhileConnectedMetadata(
|
|
16706
|
+
getMetadata(helperHostSet2) {
|
|
16707
|
+
return getSubscribeSwcAppMessageWhileConnectedMetadata(helperHostSet2.$this);
|
|
15702
16708
|
}
|
|
15703
16709
|
};
|
|
15704
16710
|
|
|
@@ -15749,22 +16755,57 @@ var RouteSubscribeLifeCycler = class {
|
|
|
15749
16755
|
onConnected(_helperHostSet) {
|
|
15750
16756
|
}
|
|
15751
16757
|
/** SwcAppMixin 이 구독 대상 메타를 꺼낼 때 사용 */
|
|
15752
|
-
getMetadata(
|
|
15753
|
-
return getSubscribeSwcAppRouteChangeWhileConnectedMetadata(
|
|
16758
|
+
getMetadata(helperHostSet2) {
|
|
16759
|
+
return getSubscribeSwcAppRouteChangeWhileConnectedMetadata(helperHostSet2.$this);
|
|
15754
16760
|
}
|
|
15755
16761
|
};
|
|
15756
16762
|
|
|
15757
16763
|
// src/decorators/setInterval.ts
|
|
15758
16764
|
var SET_INTERVAL_METADATA_KEY = Symbol.for("simple-web-component:set-interval");
|
|
16765
|
+
var activeMap = /* @__PURE__ */ new WeakMap();
|
|
16766
|
+
var getActiveEntries = (inst) => {
|
|
16767
|
+
let entries = activeMap.get(inst);
|
|
16768
|
+
if (!entries) {
|
|
16769
|
+
entries = [];
|
|
16770
|
+
activeMap.set(inst, entries);
|
|
16771
|
+
}
|
|
16772
|
+
return entries;
|
|
16773
|
+
};
|
|
15759
16774
|
function setInterval2(interval2, options = {}) {
|
|
15760
|
-
return (target, propertyKey) => {
|
|
16775
|
+
return (target, propertyKey, descriptor) => {
|
|
15761
16776
|
const constructor = target.constructor;
|
|
16777
|
+
const normalizedOptions = { ...options, type: options.type ?? "returnValue" };
|
|
15762
16778
|
let metaList = ReflectUtils.getOwnMetadata(SET_INTERVAL_METADATA_KEY, constructor);
|
|
15763
16779
|
if (!metaList) {
|
|
15764
16780
|
metaList = [];
|
|
15765
16781
|
ReflectUtils.defineMetadata(SET_INTERVAL_METADATA_KEY, metaList, constructor);
|
|
15766
16782
|
}
|
|
15767
|
-
metaList.push({ propertyKey, interval: interval2, options });
|
|
16783
|
+
metaList.push({ propertyKey, interval: interval2, options: normalizedOptions });
|
|
16784
|
+
if (normalizedOptions.type === "onConnected" || !descriptor) {
|
|
16785
|
+
return;
|
|
16786
|
+
}
|
|
16787
|
+
const original = descriptor.value;
|
|
16788
|
+
descriptor.value = function(...args) {
|
|
16789
|
+
const res = original.apply(this, args);
|
|
16790
|
+
const vk = normalizedOptions.valueKey ?? SET_INTERVAL_METADATA_KEY;
|
|
16791
|
+
const tickFn = typeof res === "function" ? res : res && typeof res === "object" && typeof res[vk] === "function" ? res[vk] : void 0;
|
|
16792
|
+
if (tickFn) {
|
|
16793
|
+
ensureInit(this);
|
|
16794
|
+
const conf = getElementConfig(this);
|
|
16795
|
+
const win = this._resolveWindow?.(conf) || (typeof window !== "undefined" ? window : void 0);
|
|
16796
|
+
const id = win.setInterval(() => {
|
|
16797
|
+
try {
|
|
16798
|
+
tickFn(id);
|
|
16799
|
+
} catch (e) {
|
|
16800
|
+
console.error("[SWC] setInterval tick error:", e);
|
|
16801
|
+
}
|
|
16802
|
+
}, interval2);
|
|
16803
|
+
normalizedOptions.created?.(SwcUtils.getHelperAndHostSet(win, this), id);
|
|
16804
|
+
getActiveEntries(this).push(id);
|
|
16805
|
+
}
|
|
16806
|
+
return res;
|
|
16807
|
+
};
|
|
16808
|
+
return descriptor;
|
|
15768
16809
|
};
|
|
15769
16810
|
}
|
|
15770
16811
|
var findAllSetIntervalMetadata = (target) => {
|
|
@@ -15772,54 +16813,89 @@ var findAllSetIntervalMetadata = (target) => {
|
|
|
15772
16813
|
return (ReflectUtils.findAllMetadata(SET_INTERVAL_METADATA_KEY, constructor) || []).flat();
|
|
15773
16814
|
};
|
|
15774
16815
|
var SetIntervalLifeCycler = class {
|
|
15775
|
-
|
|
15776
|
-
|
|
15777
|
-
|
|
15778
|
-
onConnected(helperHostSet) {
|
|
15779
|
-
const inst = helperHostSet.$this;
|
|
15780
|
-
const ids = [];
|
|
16816
|
+
onConnected(helperHostSet2) {
|
|
16817
|
+
const inst = helperHostSet2.$this;
|
|
16818
|
+
activeMap.delete(inst);
|
|
15781
16819
|
for (const meta of findAllSetIntervalMetadata(inst)) {
|
|
15782
|
-
|
|
15783
|
-
|
|
16820
|
+
if (meta.options.type !== "onConnected") continue;
|
|
16821
|
+
const id = helperHostSet2.$w.setInterval(() => {
|
|
16822
|
+
const args = meta.options.parameter?.(helperHostSet2) ?? [];
|
|
15784
16823
|
try {
|
|
15785
16824
|
const res = inst[meta.propertyKey](...args);
|
|
15786
|
-
const vk = meta.options.valueKey;
|
|
15787
|
-
if (
|
|
16825
|
+
const vk = meta.options.valueKey ?? SET_INTERVAL_METADATA_KEY;
|
|
16826
|
+
if (res && typeof res === "object" && typeof res[vk] === "function") {
|
|
15788
16827
|
res[vk](id);
|
|
15789
16828
|
}
|
|
15790
16829
|
} catch (e) {
|
|
15791
16830
|
console.error("[SWC] setInterval tick error:", e);
|
|
15792
16831
|
}
|
|
15793
16832
|
}, meta.interval);
|
|
15794
|
-
meta.options.created?.(
|
|
15795
|
-
|
|
16833
|
+
meta.options.created?.(helperHostSet2, id);
|
|
16834
|
+
getActiveEntries(inst).push(id);
|
|
15796
16835
|
}
|
|
15797
|
-
this.activeMap.set(inst, ids);
|
|
15798
16836
|
}
|
|
15799
|
-
onDisconnected(
|
|
15800
|
-
const inst =
|
|
15801
|
-
for (const id of
|
|
16837
|
+
onDisconnected(helperHostSet2) {
|
|
16838
|
+
const inst = helperHostSet2.$this;
|
|
16839
|
+
for (const id of activeMap.get(inst) ?? []) {
|
|
15802
16840
|
try {
|
|
15803
|
-
|
|
16841
|
+
helperHostSet2.$w.clearInterval(id);
|
|
15804
16842
|
} catch (e) {
|
|
15805
16843
|
console.error("[SWC] clearInterval error:", e);
|
|
15806
16844
|
}
|
|
15807
16845
|
}
|
|
15808
|
-
|
|
16846
|
+
activeMap.delete(inst);
|
|
15809
16847
|
}
|
|
15810
16848
|
};
|
|
15811
16849
|
|
|
15812
16850
|
// src/decorators/setTimeout.ts
|
|
15813
16851
|
var SET_TIMEOUT_METADATA_KEY = Symbol.for("simple-web-component:set-timeout");
|
|
16852
|
+
var activeMap2 = /* @__PURE__ */ new WeakMap();
|
|
16853
|
+
var getActiveEntries2 = (inst) => {
|
|
16854
|
+
let entries = activeMap2.get(inst);
|
|
16855
|
+
if (!entries) {
|
|
16856
|
+
entries = [];
|
|
16857
|
+
activeMap2.set(inst, entries);
|
|
16858
|
+
}
|
|
16859
|
+
return entries;
|
|
16860
|
+
};
|
|
15814
16861
|
function setTimeout2(delay, options = {}) {
|
|
15815
|
-
return (target, propertyKey) => {
|
|
16862
|
+
return (target, propertyKey, descriptor) => {
|
|
15816
16863
|
const constructor = target.constructor;
|
|
16864
|
+
const normalizedOptions = { ...options, type: options.type ?? "returnValue" };
|
|
15817
16865
|
let metaList = ReflectUtils.getOwnMetadata(SET_TIMEOUT_METADATA_KEY, constructor);
|
|
15818
16866
|
if (!metaList) {
|
|
15819
16867
|
metaList = [];
|
|
15820
16868
|
ReflectUtils.defineMetadata(SET_TIMEOUT_METADATA_KEY, metaList, constructor);
|
|
15821
16869
|
}
|
|
15822
|
-
metaList.push({ propertyKey, delay, options });
|
|
16870
|
+
metaList.push({ propertyKey, delay, options: normalizedOptions });
|
|
16871
|
+
if (normalizedOptions.type === "onConnected" || !descriptor) {
|
|
16872
|
+
return;
|
|
16873
|
+
}
|
|
16874
|
+
const original = descriptor.value;
|
|
16875
|
+
descriptor.value = function(...args) {
|
|
16876
|
+
const res = original.apply(this, args);
|
|
16877
|
+
const vk = normalizedOptions.valueKey ?? SET_TIMEOUT_METADATA_KEY;
|
|
16878
|
+
const tickFn = typeof res === "function" ? res : res && typeof res === "object" && typeof res[vk] === "function" ? res[vk] : void 0;
|
|
16879
|
+
if (tickFn) {
|
|
16880
|
+
ensureInit(this);
|
|
16881
|
+
const conf = getElementConfig(this);
|
|
16882
|
+
const win = this._resolveWindow?.(conf) || (typeof window !== "undefined" ? window : void 0);
|
|
16883
|
+
const id = win.setTimeout(() => {
|
|
16884
|
+
const entries = getActiveEntries2(this);
|
|
16885
|
+
const idx = entries.indexOf(id);
|
|
16886
|
+
if (idx >= 0) entries.splice(idx, 1);
|
|
16887
|
+
try {
|
|
16888
|
+
tickFn(id);
|
|
16889
|
+
} catch (e) {
|
|
16890
|
+
console.error("[SWC] setTimeout fire error:", e);
|
|
16891
|
+
}
|
|
16892
|
+
}, delay);
|
|
16893
|
+
normalizedOptions.created?.(SwcUtils.getHelperAndHostSet(win, this), id);
|
|
16894
|
+
getActiveEntries2(this).push(id);
|
|
16895
|
+
}
|
|
16896
|
+
return res;
|
|
16897
|
+
};
|
|
16898
|
+
return descriptor;
|
|
15823
16899
|
};
|
|
15824
16900
|
}
|
|
15825
16901
|
var findAllSetTimeoutMetadata = (target) => {
|
|
@@ -15827,40 +16903,190 @@ var findAllSetTimeoutMetadata = (target) => {
|
|
|
15827
16903
|
return (ReflectUtils.findAllMetadata(SET_TIMEOUT_METADATA_KEY, constructor) || []).flat();
|
|
15828
16904
|
};
|
|
15829
16905
|
var SetTimeoutLifeCycler = class {
|
|
15830
|
-
|
|
15831
|
-
|
|
15832
|
-
|
|
15833
|
-
onConnected(helperHostSet) {
|
|
15834
|
-
const inst = helperHostSet.$this;
|
|
15835
|
-
const ids = [];
|
|
16906
|
+
onConnected(helperHostSet2) {
|
|
16907
|
+
const inst = helperHostSet2.$this;
|
|
16908
|
+
activeMap2.delete(inst);
|
|
15836
16909
|
for (const meta of findAllSetTimeoutMetadata(inst)) {
|
|
15837
|
-
|
|
15838
|
-
|
|
16910
|
+
if (meta.options.type !== "onConnected") continue;
|
|
16911
|
+
const id = helperHostSet2.$w.setTimeout(() => {
|
|
16912
|
+
const args = meta.options.parameter?.(helperHostSet2) ?? [];
|
|
15839
16913
|
try {
|
|
15840
16914
|
const res = inst[meta.propertyKey](...args);
|
|
15841
|
-
const vk = meta.options.valueKey;
|
|
15842
|
-
if (
|
|
16915
|
+
const vk = meta.options.valueKey ?? SET_TIMEOUT_METADATA_KEY;
|
|
16916
|
+
if (res && typeof res === "object" && typeof res[vk] === "function") {
|
|
15843
16917
|
res[vk](id);
|
|
15844
16918
|
}
|
|
15845
16919
|
} catch (e) {
|
|
15846
16920
|
console.error("[SWC] setTimeout fire error:", e);
|
|
15847
16921
|
}
|
|
15848
16922
|
}, meta.delay);
|
|
15849
|
-
meta.options.created?.(
|
|
15850
|
-
|
|
16923
|
+
meta.options.created?.(helperHostSet2, id);
|
|
16924
|
+
getActiveEntries2(inst).push(id);
|
|
15851
16925
|
}
|
|
15852
|
-
this.activeMap.set(inst, ids);
|
|
15853
16926
|
}
|
|
15854
|
-
onDisconnected(
|
|
15855
|
-
const inst =
|
|
15856
|
-
for (const id of
|
|
16927
|
+
onDisconnected(helperHostSet2) {
|
|
16928
|
+
const inst = helperHostSet2.$this;
|
|
16929
|
+
for (const id of activeMap2.get(inst) ?? []) {
|
|
15857
16930
|
try {
|
|
15858
|
-
|
|
16931
|
+
helperHostSet2.$w.clearTimeout(id);
|
|
15859
16932
|
} catch (e) {
|
|
15860
16933
|
console.error("[SWC] clearTimeout error:", e);
|
|
15861
16934
|
}
|
|
15862
16935
|
}
|
|
15863
|
-
|
|
16936
|
+
activeMap2.delete(inst);
|
|
16937
|
+
}
|
|
16938
|
+
};
|
|
16939
|
+
|
|
16940
|
+
// src/decorators/requestAnimationFrame.ts
|
|
16941
|
+
var REQUEST_ANIMATION_FRAME_METADATA_KEY = Symbol.for("simple-web-component:request-animation-frame");
|
|
16942
|
+
var activeMap3 = /* @__PURE__ */ new WeakMap();
|
|
16943
|
+
var getActiveEntries3 = (inst) => {
|
|
16944
|
+
let entries = activeMap3.get(inst);
|
|
16945
|
+
if (!entries) {
|
|
16946
|
+
entries = [];
|
|
16947
|
+
activeMap3.set(inst, entries);
|
|
16948
|
+
}
|
|
16949
|
+
return entries;
|
|
16950
|
+
};
|
|
16951
|
+
var startFrameLoop = (win, entries, frameFn) => {
|
|
16952
|
+
let currentId = 0;
|
|
16953
|
+
const step = (timestamp, prevValue) => {
|
|
16954
|
+
const idx = entries.indexOf(currentId);
|
|
16955
|
+
if (idx >= 0) entries.splice(idx, 1);
|
|
16956
|
+
let result;
|
|
16957
|
+
try {
|
|
16958
|
+
result = frameFn(timestamp, prevValue);
|
|
16959
|
+
} catch (e) {
|
|
16960
|
+
console.error("[SWC] requestAnimationFrame callback error:", e);
|
|
16961
|
+
return;
|
|
16962
|
+
}
|
|
16963
|
+
if (result === void 0 || result === null) return;
|
|
16964
|
+
currentId = win.requestAnimationFrame((ts) => step(ts, result));
|
|
16965
|
+
entries.push(currentId);
|
|
16966
|
+
};
|
|
16967
|
+
currentId = win.requestAnimationFrame((ts) => step(ts, void 0));
|
|
16968
|
+
entries.push(currentId);
|
|
16969
|
+
return currentId;
|
|
16970
|
+
};
|
|
16971
|
+
var applyRequestAnimationFrame = (options, target, propertyKey, descriptor) => {
|
|
16972
|
+
const constructor = target.constructor;
|
|
16973
|
+
const normalizedOptions = { ...options, type: options.type ?? "returnValue" };
|
|
16974
|
+
let metaList = ReflectUtils.getOwnMetadata(REQUEST_ANIMATION_FRAME_METADATA_KEY, constructor);
|
|
16975
|
+
if (!metaList) {
|
|
16976
|
+
metaList = [];
|
|
16977
|
+
ReflectUtils.defineMetadata(REQUEST_ANIMATION_FRAME_METADATA_KEY, metaList, constructor);
|
|
16978
|
+
}
|
|
16979
|
+
metaList.push({ propertyKey, options: normalizedOptions });
|
|
16980
|
+
if (normalizedOptions.type === "onConnected" || !descriptor) {
|
|
16981
|
+
return;
|
|
16982
|
+
}
|
|
16983
|
+
const original = descriptor.value;
|
|
16984
|
+
descriptor.value = function(...args) {
|
|
16985
|
+
const res = original.apply(this, args);
|
|
16986
|
+
const vk = normalizedOptions.valueKey ?? REQUEST_ANIMATION_FRAME_METADATA_KEY;
|
|
16987
|
+
const frameFn = typeof res === "function" ? res : res && typeof res === "object" && typeof res[vk] === "function" ? res[vk] : void 0;
|
|
16988
|
+
if (frameFn) {
|
|
16989
|
+
ensureInit(this);
|
|
16990
|
+
const conf = getElementConfig(this);
|
|
16991
|
+
const win = this._resolveWindow?.(conf) || (typeof window !== "undefined" ? window : void 0);
|
|
16992
|
+
const id = startFrameLoop(win, getActiveEntries3(this), frameFn);
|
|
16993
|
+
normalizedOptions.created?.(SwcUtils.getHelperAndHostSet(win, this), id);
|
|
16994
|
+
}
|
|
16995
|
+
return res;
|
|
16996
|
+
};
|
|
16997
|
+
return descriptor;
|
|
16998
|
+
};
|
|
16999
|
+
function requestAnimationFrame(optionsOrTarget, propertyKey, descriptor) {
|
|
17000
|
+
if (propertyKey !== void 0) {
|
|
17001
|
+
applyRequestAnimationFrame({}, optionsOrTarget, propertyKey, descriptor);
|
|
17002
|
+
return;
|
|
17003
|
+
}
|
|
17004
|
+
return (target, propertyKey2, descriptor2) => {
|
|
17005
|
+
return applyRequestAnimationFrame(optionsOrTarget ?? {}, target, propertyKey2, descriptor2);
|
|
17006
|
+
};
|
|
17007
|
+
}
|
|
17008
|
+
var findAllRequestAnimationFrameMetadata = (target) => {
|
|
17009
|
+
const constructor = target instanceof Function ? target : target.constructor;
|
|
17010
|
+
return (ReflectUtils.findAllMetadata(REQUEST_ANIMATION_FRAME_METADATA_KEY, constructor) || []).flat();
|
|
17011
|
+
};
|
|
17012
|
+
var RequestAnimationFrameLifeCycler = class {
|
|
17013
|
+
onConnected(helperHostSet2) {
|
|
17014
|
+
const inst = helperHostSet2.$this;
|
|
17015
|
+
activeMap3.delete(inst);
|
|
17016
|
+
const entries = getActiveEntries3(inst);
|
|
17017
|
+
for (const meta of findAllRequestAnimationFrameMetadata(inst)) {
|
|
17018
|
+
if (meta.options.type !== "onConnected") continue;
|
|
17019
|
+
const frameFn = (timestamp, prevValue) => inst[meta.propertyKey](timestamp, prevValue);
|
|
17020
|
+
const id = startFrameLoop(helperHostSet2.$w, entries, frameFn);
|
|
17021
|
+
meta.options.created?.(helperHostSet2, id);
|
|
17022
|
+
}
|
|
17023
|
+
}
|
|
17024
|
+
onDisconnected(helperHostSet2) {
|
|
17025
|
+
const inst = helperHostSet2.$this;
|
|
17026
|
+
for (const id of activeMap3.get(inst) ?? []) {
|
|
17027
|
+
try {
|
|
17028
|
+
helperHostSet2.$w.cancelAnimationFrame(id);
|
|
17029
|
+
} catch (e) {
|
|
17030
|
+
console.error("[SWC] cancelAnimationFrame error:", e);
|
|
17031
|
+
}
|
|
17032
|
+
}
|
|
17033
|
+
activeMap3.delete(inst);
|
|
17034
|
+
}
|
|
17035
|
+
};
|
|
17036
|
+
|
|
17037
|
+
// src/decorators/eventMedia.ts
|
|
17038
|
+
var EVENT_MEDIA_METADATA_KEY = Symbol.for("simple-web-component:event-media");
|
|
17039
|
+
function eventMedia(query2, eventType) {
|
|
17040
|
+
return (target, propertyKey) => {
|
|
17041
|
+
const constructor = target.constructor;
|
|
17042
|
+
let metaList = ReflectUtils.getOwnMetadata(EVENT_MEDIA_METADATA_KEY, constructor);
|
|
17043
|
+
if (!metaList) {
|
|
17044
|
+
metaList = [];
|
|
17045
|
+
ReflectUtils.defineMetadata(EVENT_MEDIA_METADATA_KEY, metaList, constructor);
|
|
17046
|
+
}
|
|
17047
|
+
metaList.push({ propertyKey, query: query2, eventType });
|
|
17048
|
+
};
|
|
17049
|
+
}
|
|
17050
|
+
function eventMediaChange(query2) {
|
|
17051
|
+
return eventMedia(query2, "change");
|
|
17052
|
+
}
|
|
17053
|
+
var findAllEventMediaMetadata = (target) => {
|
|
17054
|
+
const constructor = target instanceof Function ? target : target.constructor;
|
|
17055
|
+
return (ReflectUtils.findAllMetadata(EVENT_MEDIA_METADATA_KEY, constructor) || []).flat();
|
|
17056
|
+
};
|
|
17057
|
+
var EventMediaLifeCycler = class {
|
|
17058
|
+
constructor() {
|
|
17059
|
+
__publicField(this, "entriesMap", /* @__PURE__ */ new WeakMap());
|
|
17060
|
+
}
|
|
17061
|
+
onConnected(helperHostSet2) {
|
|
17062
|
+
const inst = helperHostSet2.$this;
|
|
17063
|
+
const metaList = findAllEventMediaMetadata(inst);
|
|
17064
|
+
if (metaList.length === 0) return;
|
|
17065
|
+
const entries = [];
|
|
17066
|
+
for (const meta of metaList) {
|
|
17067
|
+
const mql = helperHostSet2.$w.matchMedia(meta.query);
|
|
17068
|
+
const handler = (e) => {
|
|
17069
|
+
try {
|
|
17070
|
+
inst[meta.propertyKey](e, helperHostSet2);
|
|
17071
|
+
} catch (err) {
|
|
17072
|
+
console.error("[SWC] eventMedia handler error:", err);
|
|
17073
|
+
}
|
|
17074
|
+
};
|
|
17075
|
+
mql.addEventListener(meta.eventType, handler);
|
|
17076
|
+
entries.push({ mql, eventType: meta.eventType, handler });
|
|
17077
|
+
}
|
|
17078
|
+
this.entriesMap.set(inst, entries);
|
|
17079
|
+
}
|
|
17080
|
+
onDisconnected(helperHostSet2) {
|
|
17081
|
+
const inst = helperHostSet2.$this;
|
|
17082
|
+
for (const { mql, eventType, handler } of this.entriesMap.get(inst) ?? []) {
|
|
17083
|
+
try {
|
|
17084
|
+
mql.removeEventListener(eventType, handler);
|
|
17085
|
+
} catch (e) {
|
|
17086
|
+
console.error("[SWC] eventMedia cleanup error:", e);
|
|
17087
|
+
}
|
|
17088
|
+
}
|
|
17089
|
+
this.entriesMap.delete(inst);
|
|
15864
17090
|
}
|
|
15865
17091
|
};
|
|
15866
17092
|
|
|
@@ -15908,11 +17134,11 @@ var ensureInit = (inst) => {
|
|
|
15908
17134
|
inst[meta.propertyKey] = initUserData;
|
|
15909
17135
|
});
|
|
15910
17136
|
}
|
|
15911
|
-
const
|
|
17137
|
+
const hostSet2 = SwcUtils.getHostSet(inst);
|
|
15912
17138
|
const appHosts = SwcUtils.findAllAppHostsIncludingSelfDirect(inst);
|
|
15913
|
-
inst._executeSwcScript?.("swc-on-constructor",
|
|
17139
|
+
inst._executeSwcScript?.("swc-on-constructor", hostSet2);
|
|
15914
17140
|
const cMethods = findAllLifecycleMetadata(inst, ON_INITIALIZE_METADATA_KEY);
|
|
15915
|
-
for (const m of cMethods) inst._invokeLifecycleMethod(m.propertyKey,
|
|
17141
|
+
for (const m of cMethods) inst._invokeLifecycleMethod(m.propertyKey, hostSet2);
|
|
15916
17142
|
}
|
|
15917
17143
|
};
|
|
15918
17144
|
var globalDelegatedRoots = /* @__PURE__ */ new WeakSet();
|
|
@@ -15951,7 +17177,7 @@ var getHandlers = (inst) => {
|
|
|
15951
17177
|
var setupPrototype = (proto, win) => {
|
|
15952
17178
|
if (proto.__swc_proto_setup) return;
|
|
15953
17179
|
proto.__swc_proto_setup = true;
|
|
15954
|
-
proto._executeSwcScript = function(attrName,
|
|
17180
|
+
proto._executeSwcScript = function(attrName, hostSet2, extraArgs = {}) {
|
|
15955
17181
|
ensureInit(this);
|
|
15956
17182
|
const script = this.getAttribute(attrName);
|
|
15957
17183
|
if (script) {
|
|
@@ -15959,7 +17185,7 @@ var setupPrototype = (proto, win) => {
|
|
|
15959
17185
|
const conf = getElementConfig(this);
|
|
15960
17186
|
const currentWin = this._resolveWindow(conf);
|
|
15961
17187
|
const helpers = SwcUtils.getHelperSet(currentWin);
|
|
15962
|
-
const args = { ...
|
|
17188
|
+
const args = { ...hostSet2, ...helpers, ...extraArgs, $el: this, $root: this.getRootNode() };
|
|
15963
17189
|
FunctionUtils.execute({ script, context: this, args });
|
|
15964
17190
|
} catch (e) {
|
|
15965
17191
|
console.error(`[SWC] Failed to execute ${attrName}:`, e);
|
|
@@ -15976,11 +17202,14 @@ var setupPrototype = (proto, win) => {
|
|
|
15976
17202
|
}
|
|
15977
17203
|
return getElementConfig(this).window ?? (typeof window !== "undefined" ? window : void 0);
|
|
15978
17204
|
};
|
|
15979
|
-
proto._invokeLifecycleMethod = function(methodName,
|
|
17205
|
+
proto._invokeLifecycleMethod = function(methodName, hostSet2, extraArgs = []) {
|
|
15980
17206
|
ensureInit(this);
|
|
15981
17207
|
if (typeof this[methodName] !== "function") return;
|
|
15982
|
-
const useHostSet =
|
|
17208
|
+
const useHostSet = hostSet2 ?? SwcUtils.getHelperAndHostSet(win, this);
|
|
15983
17209
|
const app = useHostSet?.$appHost?.simpleApplication;
|
|
17210
|
+
const helperSetValue = SwcUtils.getHelperSet(win);
|
|
17211
|
+
const helperHostSetValue = { ...helperSetValue, ...useHostSet, $this: this };
|
|
17212
|
+
const kindValues = { hostSet: useHostSet, helperHostSet: helperHostSetValue, helperSet: helperSetValue };
|
|
15984
17213
|
if (app) {
|
|
15985
17214
|
const otherStorage = /* @__PURE__ */ new Map();
|
|
15986
17215
|
const situations = new SituationTypeContainers([new SituationTypeContainer({ situationType: "SIMPLE_WEB_COMPONENT://HOSTSET" /* HOST_SET */, data: useHostSet }), new SituationTypeContainer({ situationType: "SIMPLE_WEB_COMPONENT://APPHOST" /* APP_HOST */, data: useHostSet.$appHost }), new SituationTypeContainer({ situationType: "SIMPLE_WEB_COMPONENT://APPHOSTS" /* APP_HOSTS */, data: useHostSet.$appHosts }), new SituationTypeContainer({
|
|
@@ -15991,16 +17220,23 @@ var setupPrototype = (proto, win) => {
|
|
|
15991
17220
|
data: useHostSet.$firstAppHost
|
|
15992
17221
|
}), new SituationTypeContainer({ situationType: "SIMPLE_WEB_COMPONENT://LASTAPPHOST" /* LAST_APP_HOST */, data: useHostSet.$lastAppHost })]);
|
|
15993
17222
|
otherStorage.set(SituationTypeContainers, situations);
|
|
17223
|
+
const firstCheckMaker = ({ target, targetKey }, token, idx) => {
|
|
17224
|
+
const saves = getParameterMetadata(target, targetKey);
|
|
17225
|
+
const found = saves.find((s) => s.index === idx);
|
|
17226
|
+
return found ? kindValues[found.kind] : void 0;
|
|
17227
|
+
};
|
|
15994
17228
|
return app.simstanceManager.executeBindParameterSim(
|
|
15995
17229
|
{
|
|
15996
17230
|
target: this,
|
|
15997
17231
|
targetKey: methodName,
|
|
15998
|
-
inputParameters: extraArgs
|
|
17232
|
+
inputParameters: extraArgs,
|
|
17233
|
+
firstCheckMaker: [firstCheckMaker]
|
|
15999
17234
|
},
|
|
16000
17235
|
otherStorage
|
|
16001
17236
|
);
|
|
16002
17237
|
} else {
|
|
16003
|
-
|
|
17238
|
+
const args = buildSwcParameterArgs(this, methodName, kindValues, extraArgs);
|
|
17239
|
+
return this[methodName](...args);
|
|
16004
17240
|
}
|
|
16005
17241
|
};
|
|
16006
17242
|
proto._bindAttributeEvent = function(el, attrName, script, eventName) {
|
|
@@ -16018,14 +17254,14 @@ var setupPrototype = (proto, win) => {
|
|
|
16018
17254
|
const oldHandler = handlers.get(attrName);
|
|
16019
17255
|
if (oldHandler) el.removeEventListener(eventName, oldHandler);
|
|
16020
17256
|
const handler = async (event2) => {
|
|
16021
|
-
const
|
|
17257
|
+
const hostSet2 = SwcUtils.getHostSet(el);
|
|
16022
17258
|
const conf = getElementConfig(this);
|
|
16023
17259
|
const currentWin = this._resolveWindow(conf);
|
|
16024
17260
|
const helpers = SwcUtils.getHelperSet(currentWin);
|
|
16025
17261
|
const args = {
|
|
16026
17262
|
event: event2,
|
|
16027
17263
|
$data: event2.detail,
|
|
16028
|
-
...
|
|
17264
|
+
...hostSet2,
|
|
16029
17265
|
...helpers,
|
|
16030
17266
|
$el: el,
|
|
16031
17267
|
$root: this.getRootNode()
|
|
@@ -16037,7 +17273,7 @@ var setupPrototype = (proto, win) => {
|
|
|
16037
17273
|
};
|
|
16038
17274
|
proto.__swc_executeAttributeEvent = async function(el, attrName, script, event2) {
|
|
16039
17275
|
ensureInit(this);
|
|
16040
|
-
const
|
|
17276
|
+
const hostSet2 = SwcUtils.getHostSet(el);
|
|
16041
17277
|
const conf = getElementConfig(this);
|
|
16042
17278
|
const currentWin = this._resolveWindow(conf);
|
|
16043
17279
|
const currentHelpers = SwcUtils.getHelperSet(currentWin);
|
|
@@ -16047,7 +17283,7 @@ var setupPrototype = (proto, win) => {
|
|
|
16047
17283
|
$event: event2,
|
|
16048
17284
|
$data: detail,
|
|
16049
17285
|
$detail: detail,
|
|
16050
|
-
...
|
|
17286
|
+
...hostSet2,
|
|
16051
17287
|
...currentHelpers,
|
|
16052
17288
|
$el: el,
|
|
16053
17289
|
$root: this.getRootNode()
|
|
@@ -16081,7 +17317,7 @@ var elementDefine = (name, config = {}) => (constructor) => {
|
|
|
16081
17317
|
const originalStaticObservedAttributes = constructor.observedAttributes ?? [];
|
|
16082
17318
|
const proto = constructor.prototype;
|
|
16083
17319
|
setupPrototype(proto, win);
|
|
16084
|
-
let
|
|
17320
|
+
let helperHostSet2 = null;
|
|
16085
17321
|
const eventCycler = new EventListenerLifeCycler();
|
|
16086
17322
|
const cyclers = [
|
|
16087
17323
|
eventCycler,
|
|
@@ -16093,12 +17329,14 @@ var elementDefine = (name, config = {}) => (constructor) => {
|
|
|
16093
17329
|
new MessageSubscribeLifeCycler(),
|
|
16094
17330
|
new RouteSubscribeLifeCycler(),
|
|
16095
17331
|
new SetIntervalLifeCycler(),
|
|
16096
|
-
new SetTimeoutLifeCycler()
|
|
17332
|
+
new SetTimeoutLifeCycler(),
|
|
17333
|
+
new RequestAnimationFrameLifeCycler(),
|
|
17334
|
+
new EventMediaLifeCycler()
|
|
16097
17335
|
];
|
|
16098
17336
|
const cyclerObservedAttributes = cyclers.flatMap((c) => c.getObservedAttributeNames?.(constructor) ?? []);
|
|
16099
17337
|
const mergedObservedAttributes = [.../* @__PURE__ */ new Set([...metadata.observedAttributes ?? [], ...originalStaticObservedAttributes, ...cyclerObservedAttributes, ...attributeApplyNames, ...hostAttributes, ...swcLifecycleAttributes, ...swcOnEvents])];
|
|
16100
|
-
const buildObservers = async (
|
|
16101
|
-
const inst =
|
|
17338
|
+
const buildObservers = async (helperHostSet3) => {
|
|
17339
|
+
const inst = helperHostSet3.$this;
|
|
16102
17340
|
const observers = [];
|
|
16103
17341
|
let resizeObserverSet = [];
|
|
16104
17342
|
let mutationObserverSet = [];
|
|
@@ -16116,7 +17354,7 @@ var elementDefine = (name, config = {}) => (constructor) => {
|
|
|
16116
17354
|
return roots;
|
|
16117
17355
|
};
|
|
16118
17356
|
for (const c of cyclers) {
|
|
16119
|
-
const result = await c.onConnected?.(
|
|
17357
|
+
const result = await c.onConnected?.(helperHostSet3, resizeObserverSet);
|
|
16120
17358
|
if (!result) continue;
|
|
16121
17359
|
if (result.resizeObserverSet?.length) resizeObserverSet = [...resizeObserverSet, ...result.resizeObserverSet];
|
|
16122
17360
|
if (result.mutationObserverSet?.length) mutationObserverSet = [...mutationObserverSet, ...result.mutationObserverSet];
|
|
@@ -16298,8 +17536,8 @@ var elementDefine = (name, config = {}) => (constructor) => {
|
|
|
16298
17536
|
const originalConnected = proto.connectedCallback;
|
|
16299
17537
|
proto.connectedCallback = async function() {
|
|
16300
17538
|
ensureInit(this);
|
|
16301
|
-
|
|
16302
|
-
const appHost =
|
|
17539
|
+
helperHostSet2 = SwcUtils.getHelperAndHostSet(win, this);
|
|
17540
|
+
const appHost = helperHostSet2.$appHost;
|
|
16303
17541
|
const useSsr = isSSR(this);
|
|
16304
17542
|
try {
|
|
16305
17543
|
if (appHost && typeof appHost._connected === "function") {
|
|
@@ -16310,15 +17548,15 @@ var elementDefine = (name, config = {}) => (constructor) => {
|
|
|
16310
17548
|
}
|
|
16311
17549
|
const conf = getElementConfig(this);
|
|
16312
17550
|
const currentWin = this._resolveWindow(conf);
|
|
16313
|
-
for (const m of findAllOnConnectedBeforeMetadata(this)) await this._invokeLifecycleMethod(m.propertyKey,
|
|
16314
|
-
this._executeSwcScript("swc-on-before-connected",
|
|
17551
|
+
for (const m of findAllOnConnectedBeforeMetadata(this)) await this._invokeLifecycleMethod(m.propertyKey, helperHostSet2);
|
|
17552
|
+
this._executeSwcScript("swc-on-before-connected", helperHostSet2);
|
|
16315
17553
|
const targetConnectedList = useSsr ? [] : findAllOnConnectedMetadata(constructor);
|
|
16316
17554
|
const shadowMode = conf?.useShadow || targetConnectedList.find((it) => it.options.useShadow)?.options.useShadow;
|
|
16317
17555
|
if (shadowMode && !this.shadowRoot) {
|
|
16318
17556
|
const mode = shadowMode === true ? "open" : shadowMode;
|
|
16319
17557
|
this.attachShadow({ mode });
|
|
16320
17558
|
}
|
|
16321
|
-
const stateContext = { ...
|
|
17559
|
+
const stateContext = { ...helperHostSet2 };
|
|
16322
17560
|
findAllStateMetadata(this).forEach((it) => {
|
|
16323
17561
|
stateContext[it.name] = this[it.propertyKey];
|
|
16324
17562
|
});
|
|
@@ -16326,7 +17564,7 @@ var elementDefine = (name, config = {}) => (constructor) => {
|
|
|
16326
17564
|
const lightChildren = [];
|
|
16327
17565
|
if (targetConnectedList.length > 0) {
|
|
16328
17566
|
for (const meta of targetConnectedList) {
|
|
16329
|
-
let res = await this._invokeLifecycleMethod(meta.propertyKey,
|
|
17567
|
+
let res = await this._invokeLifecycleMethod(meta.propertyKey, helperHostSet2);
|
|
16330
17568
|
if (typeof res === "string") {
|
|
16331
17569
|
const htmlTemplateElement = doc.createElement("template");
|
|
16332
17570
|
htmlTemplateElement.innerHTML = res;
|
|
@@ -16366,12 +17604,12 @@ var elementDefine = (name, config = {}) => (constructor) => {
|
|
|
16366
17604
|
}
|
|
16367
17605
|
await buildObservers(SwcUtils.getHelperAndHostSet(win, this));
|
|
16368
17606
|
if (originalConnected) await originalConnected.apply(this);
|
|
16369
|
-
for (const m of findAllOnConnectedAfterMetadata(this)) await this._invokeLifecycleMethod(m.propertyKey,
|
|
16370
|
-
this._executeSwcScript("swc-on-connected",
|
|
16371
|
-
this._executeSwcScript("swc-on-after-connected",
|
|
17607
|
+
for (const m of findAllOnConnectedAfterMetadata(this)) await this._invokeLifecycleMethod(m.propertyKey, helperHostSet2);
|
|
17608
|
+
this._executeSwcScript("swc-on-connected", helperHostSet2);
|
|
17609
|
+
this._executeSwcScript("swc-on-after-connected", helperHostSet2);
|
|
16372
17610
|
this.__swc_connected = true;
|
|
16373
17611
|
} finally {
|
|
16374
|
-
for (const m of findAllLifecycleMetadata(this, ON_CONNECTED_COMPLETED_METADATA_KEY)) await this._invokeLifecycleMethod(m.propertyKey,
|
|
17612
|
+
for (const m of findAllLifecycleMetadata(this, ON_CONNECTED_COMPLETED_METADATA_KEY)) await this._invokeLifecycleMethod(m.propertyKey, helperHostSet2);
|
|
16375
17613
|
if (appHost && typeof appHost._connectedDone === "function") {
|
|
16376
17614
|
await appHost._connectedDone(this);
|
|
16377
17615
|
}
|
|
@@ -16379,13 +17617,13 @@ var elementDefine = (name, config = {}) => (constructor) => {
|
|
|
16379
17617
|
};
|
|
16380
17618
|
const originalDisconnected = proto.disconnectedCallback;
|
|
16381
17619
|
proto.disconnectedCallback = function() {
|
|
16382
|
-
const appHost =
|
|
17620
|
+
const appHost = helperHostSet2?.$appHost;
|
|
16383
17621
|
if (appHost && typeof appHost._disconnected === "function") {
|
|
16384
17622
|
appHost._disconnected(this);
|
|
16385
17623
|
}
|
|
16386
|
-
this._executeSwcScript("swc-on-before-disconnected",
|
|
16387
|
-
for (const m of findAllLifecycleMetadata(this, ON_BEFORE_DISCONNECTED_METADATA_KEY)) this._invokeLifecycleMethod(m.propertyKey,
|
|
16388
|
-
for (const c of cyclers) c.onDisconnected?.(
|
|
17624
|
+
this._executeSwcScript("swc-on-before-disconnected", helperHostSet2);
|
|
17625
|
+
for (const m of findAllLifecycleMetadata(this, ON_BEFORE_DISCONNECTED_METADATA_KEY)) this._invokeLifecycleMethod(m.propertyKey, helperHostSet2);
|
|
17626
|
+
for (const c of cyclers) c.onDisconnected?.(helperHostSet2);
|
|
16389
17627
|
for (const o of this.__swc_observers ?? []) {
|
|
16390
17628
|
try {
|
|
16391
17629
|
o?.disconnect?.();
|
|
@@ -16396,21 +17634,21 @@ var elementDefine = (name, config = {}) => (constructor) => {
|
|
|
16396
17634
|
this.__swc_observers = [];
|
|
16397
17635
|
new ElementApply(this, { id: this._swcId }).removeAllEventListener();
|
|
16398
17636
|
if (originalDisconnected) originalDisconnected.apply(this);
|
|
16399
|
-
for (const m of findAllLifecycleMetadata(this, ON_AFTER_DISCONNECTED_METADATA_KEY)) this._invokeLifecycleMethod(m.propertyKey,
|
|
16400
|
-
this._executeSwcScript("swc-on-disconnected",
|
|
16401
|
-
this._executeSwcScript("swc-on-after-disconnected",
|
|
17637
|
+
for (const m of findAllLifecycleMetadata(this, ON_AFTER_DISCONNECTED_METADATA_KEY)) this._invokeLifecycleMethod(m.propertyKey, helperHostSet2);
|
|
17638
|
+
this._executeSwcScript("swc-on-disconnected", helperHostSet2);
|
|
17639
|
+
this._executeSwcScript("swc-on-after-disconnected", helperHostSet2);
|
|
16402
17640
|
this.__swc_connected = false;
|
|
16403
17641
|
};
|
|
16404
17642
|
const originalAdopted = proto.adoptedCallback;
|
|
16405
17643
|
proto.adoptedCallback = function() {
|
|
16406
|
-
const
|
|
16407
|
-
this._executeSwcScript("swc-on-before-adopted",
|
|
16408
|
-
for (const m of findAllLifecycleMetadata(this, ON_BEFORE_ADOPTED_METADATA_KEY)) this._invokeLifecycleMethod(m.propertyKey,
|
|
16409
|
-
for (const c of cyclers) c.onAdopted?.(
|
|
17644
|
+
const hostSet2 = SwcUtils.getHostSet(this);
|
|
17645
|
+
this._executeSwcScript("swc-on-before-adopted", hostSet2);
|
|
17646
|
+
for (const m of findAllLifecycleMetadata(this, ON_BEFORE_ADOPTED_METADATA_KEY)) this._invokeLifecycleMethod(m.propertyKey, hostSet2);
|
|
17647
|
+
for (const c of cyclers) c.onAdopted?.(helperHostSet2);
|
|
16410
17648
|
if (originalAdopted) originalAdopted.apply(this);
|
|
16411
|
-
for (const m of findAllLifecycleMetadata(this, ON_AFTER_ADOPTED_METADATA_KEY)) this._invokeLifecycleMethod(m.propertyKey,
|
|
16412
|
-
this._executeSwcScript("swc-on-adopted",
|
|
16413
|
-
this._executeSwcScript("swc-on-after-adopted",
|
|
17649
|
+
for (const m of findAllLifecycleMetadata(this, ON_AFTER_ADOPTED_METADATA_KEY)) this._invokeLifecycleMethod(m.propertyKey, hostSet2);
|
|
17650
|
+
this._executeSwcScript("swc-on-adopted", hostSet2);
|
|
17651
|
+
this._executeSwcScript("swc-on-after-adopted", hostSet2);
|
|
16414
17652
|
};
|
|
16415
17653
|
const originalAttributeChanged = proto.attributeChangedCallback;
|
|
16416
17654
|
proto.attributeChangedCallback = function(name2, old, newVal) {
|
|
@@ -16505,8 +17743,8 @@ var resolveAttributeTargets = (inst, selector, options) => {
|
|
|
16505
17743
|
const results = [];
|
|
16506
17744
|
let resolvedSelector = selector;
|
|
16507
17745
|
if (typeof selector === "function") {
|
|
16508
|
-
const
|
|
16509
|
-
resolvedSelector = selector(inst,
|
|
17746
|
+
const hostSet2 = SwcUtils.getHelperAndHostSet(currentWin, inst);
|
|
17747
|
+
resolvedSelector = selector(inst, hostSet2);
|
|
16510
17748
|
}
|
|
16511
17749
|
if (resolvedSelector instanceof currentWin.Element) {
|
|
16512
17750
|
results.push(resolvedSelector);
|
|
@@ -16536,16 +17774,16 @@ var resolveAttributeTargets = (inst, selector, options) => {
|
|
|
16536
17774
|
if (stringSelector === "$this" || !stringSelector) {
|
|
16537
17775
|
applyRoot(inst);
|
|
16538
17776
|
} else {
|
|
16539
|
-
const
|
|
16540
|
-
if (stringSelector === "$host") applyRoot(
|
|
16541
|
-
else if (stringSelector === "$parentHost") applyRoot(
|
|
16542
|
-
else if (stringSelector === "$appHost") applyRoot(
|
|
16543
|
-
else if (stringSelector === "$firstHost") applyRoot(
|
|
16544
|
-
else if (stringSelector === "$lastHost") applyRoot(
|
|
16545
|
-
else if (stringSelector === "$firstAppHost") applyRoot(
|
|
16546
|
-
else if (stringSelector === "$lastAppHost") applyRoot(
|
|
16547
|
-
else if (stringSelector === "$hosts")
|
|
16548
|
-
else if (stringSelector === "$appHosts")
|
|
17777
|
+
const hostSet2 = SwcUtils.getHostSet(inst);
|
|
17778
|
+
if (stringSelector === "$host") applyRoot(hostSet2.$host);
|
|
17779
|
+
else if (stringSelector === "$parentHost") applyRoot(hostSet2.$parentHost);
|
|
17780
|
+
else if (stringSelector === "$appHost") applyRoot(hostSet2.$appHost);
|
|
17781
|
+
else if (stringSelector === "$firstHost") applyRoot(hostSet2.$firstHost);
|
|
17782
|
+
else if (stringSelector === "$lastHost") applyRoot(hostSet2.$lastHost);
|
|
17783
|
+
else if (stringSelector === "$firstAppHost") applyRoot(hostSet2.$firstAppHost);
|
|
17784
|
+
else if (stringSelector === "$lastAppHost") applyRoot(hostSet2.$lastAppHost);
|
|
17785
|
+
else if (stringSelector === "$hosts") hostSet2.$hosts.forEach(applyRoot);
|
|
17786
|
+
else if (stringSelector === "$appHosts") hostSet2.$appHosts.forEach(applyRoot);
|
|
16549
17787
|
else {
|
|
16550
17788
|
if (r === "shadow") {
|
|
16551
17789
|
const found = inst.shadowRoot?.querySelectorAll(stringSelector);
|
|
@@ -16598,9 +17836,9 @@ function applyAttribute(selector, targetAttributeNameOrOptions, options) {
|
|
|
16598
17836
|
const conf = getElementConfig(inst);
|
|
16599
17837
|
const currentWin = conf.window;
|
|
16600
17838
|
const targetEls = resolveAttributeTargets(inst, selector, finalOptions);
|
|
16601
|
-
const
|
|
17839
|
+
const hostSet2 = SwcUtils.getHelperAndHostSet(currentWin, inst);
|
|
16602
17840
|
targetEls.forEach((targetEl) => {
|
|
16603
|
-
if (finalOptions.filter && !finalOptions.filter(targetEl, resolvedValue, { currentThis: inst, helper:
|
|
17841
|
+
if (finalOptions.filter && !finalOptions.filter(targetEl, resolvedValue, { currentThis: inst, helper: hostSet2 })) {
|
|
16604
17842
|
return;
|
|
16605
17843
|
}
|
|
16606
17844
|
if (resolvedValue === null) {
|
|
@@ -16699,11 +17937,17 @@ var findAllAttributeApplyMetadata = (target) => {
|
|
|
16699
17937
|
return result;
|
|
16700
17938
|
};
|
|
16701
17939
|
var attr = applyAttribute;
|
|
16702
|
-
function attrThis(
|
|
16703
|
-
|
|
17940
|
+
function attrThis(targetAttributeNameOrTarget, optionsOrPropertyKey, descriptor) {
|
|
17941
|
+
if ((typeof optionsOrPropertyKey === "string" || typeof optionsOrPropertyKey === "symbol") && descriptor !== void 0) {
|
|
17942
|
+
return applyAttribute("$this", void 0, {})(targetAttributeNameOrTarget, optionsOrPropertyKey, descriptor);
|
|
17943
|
+
}
|
|
17944
|
+
return applyAttribute("$this", targetAttributeNameOrTarget, optionsOrPropertyKey);
|
|
16704
17945
|
}
|
|
16705
|
-
function attrAppHost(
|
|
16706
|
-
|
|
17946
|
+
function attrAppHost(targetAttributeNameOrTarget, optionsOrPropertyKey, descriptor) {
|
|
17947
|
+
if ((typeof optionsOrPropertyKey === "string" || typeof optionsOrPropertyKey === "symbol") && descriptor !== void 0) {
|
|
17948
|
+
return applyAttribute("$appHost", void 0, {})(targetAttributeNameOrTarget, optionsOrPropertyKey, descriptor);
|
|
17949
|
+
}
|
|
17950
|
+
return applyAttribute("$appHost", targetAttributeNameOrTarget, optionsOrPropertyKey);
|
|
16707
17951
|
}
|
|
16708
17952
|
function attrLight(selector, targetAttributeName, options) {
|
|
16709
17953
|
return applyAttribute(selector, targetAttributeName, { ...options ?? {}, root: "light" });
|
|
@@ -16719,8 +17963,8 @@ function attrAll(selector, targetAttributeName, options) {
|
|
|
16719
17963
|
var APPLY_NODE_METADATA_KEY = Symbol.for("simple-web-component:apply-node");
|
|
16720
17964
|
var resolveSelector = (selector, inst, win) => {
|
|
16721
17965
|
if (typeof selector === "function") {
|
|
16722
|
-
const
|
|
16723
|
-
const result = selector(inst,
|
|
17966
|
+
const hostSet2 = SwcUtils.getHelperAndHostSet(win, inst);
|
|
17967
|
+
const result = selector(inst, hostSet2);
|
|
16724
17968
|
if (result instanceof win.Element) {
|
|
16725
17969
|
return result;
|
|
16726
17970
|
}
|
|
@@ -16744,7 +17988,7 @@ var applyToDom = (currentThis, targetEl, res, pos, win, host) => {
|
|
|
16744
17988
|
return [];
|
|
16745
17989
|
}
|
|
16746
17990
|
const doc = win.document;
|
|
16747
|
-
const
|
|
17991
|
+
const hostSet2 = SwcUtils.getHelperAndHostSet(win, currentThis);
|
|
16748
17992
|
const id = currentThis._swcId;
|
|
16749
17993
|
const nodes = [];
|
|
16750
17994
|
if (res instanceof win.Node) {
|
|
@@ -16773,7 +18017,7 @@ var applyToDom = (currentThis, targetEl, res, pos, win, host) => {
|
|
|
16773
18017
|
else if (pos === "beforeBegin" && !isShadowRoot) targetEl.before(...nodes);
|
|
16774
18018
|
else if (pos === "afterEnd" && !isShadowRoot) targetEl.after(...nodes);
|
|
16775
18019
|
}
|
|
16776
|
-
const stateContext = { ...
|
|
18020
|
+
const stateContext = { ...hostSet2 };
|
|
16777
18021
|
findAllStateMetadata(currentThis).forEach((it) => {
|
|
16778
18022
|
stateContext[it.name] = currentThis[it.propertyKey];
|
|
16779
18023
|
});
|
|
@@ -16804,7 +18048,7 @@ function applyNode(selectorOrOptions, maybeOptions) {
|
|
|
16804
18048
|
const conf = getElementConfig(this);
|
|
16805
18049
|
const currentWin = this._resolveWindow?.(conf) || (typeof window !== "undefined" ? window : void 0);
|
|
16806
18050
|
const currentDoc = currentWin.document;
|
|
16807
|
-
const
|
|
18051
|
+
const hostSet2 = SwcUtils.getHelperAndHostSet(currentWin, this);
|
|
16808
18052
|
const getTarget = () => {
|
|
16809
18053
|
const r = options.root || "auto";
|
|
16810
18054
|
const applyRoot = (t) => {
|
|
@@ -16824,11 +18068,11 @@ function applyNode(selectorOrOptions, maybeOptions) {
|
|
|
16824
18068
|
}
|
|
16825
18069
|
const stringSelector = resolved;
|
|
16826
18070
|
if (stringSelector === "$this") return applyRoot(this);
|
|
16827
|
-
if (stringSelector === "$host") return applyRoot(
|
|
16828
|
-
if (stringSelector === "$parentHost") return applyRoot(
|
|
16829
|
-
if (stringSelector === "$appHost") return applyRoot(
|
|
16830
|
-
if (stringSelector === "$firstHost") return applyRoot(
|
|
16831
|
-
if (stringSelector === "$lastHost") return applyRoot(
|
|
18071
|
+
if (stringSelector === "$host") return applyRoot(hostSet2.$host);
|
|
18072
|
+
if (stringSelector === "$parentHost") return applyRoot(hostSet2.$parentHost);
|
|
18073
|
+
if (stringSelector === "$appHost") return applyRoot(hostSet2.$appHost);
|
|
18074
|
+
if (stringSelector === "$firstHost") return applyRoot(hostSet2.$firstHost);
|
|
18075
|
+
if (stringSelector === "$lastHost") return applyRoot(hostSet2.$lastHost);
|
|
16832
18076
|
const targetRoot = applyRoot(this);
|
|
16833
18077
|
return targetRoot ? targetRoot.querySelector(stringSelector) : null;
|
|
16834
18078
|
};
|
|
@@ -16844,13 +18088,13 @@ function applyNode(selectorOrOptions, maybeOptions) {
|
|
|
16844
18088
|
const runApply = (target, val) => {
|
|
16845
18089
|
const pos = options.position || "beforeEnd";
|
|
16846
18090
|
const processedVal = val;
|
|
16847
|
-
if (!options.filter || options.filter(target, processedVal, { currentThis: this, helper:
|
|
18091
|
+
if (!options.filter || options.filter(target, processedVal, { currentThis: this, helper: hostSet2 })) {
|
|
16848
18092
|
applyToDom(this, target, processedVal, pos, currentWin);
|
|
16849
18093
|
}
|
|
16850
18094
|
};
|
|
16851
18095
|
const fallbackNodes = [];
|
|
16852
18096
|
if (targetEl && options.fallback) {
|
|
16853
|
-
const loadingRes = options.fallback.call(this,
|
|
18097
|
+
const loadingRes = options.fallback.call(this, hostSet2);
|
|
16854
18098
|
fallbackNodes.push(...applyToDom(this, targetEl, loadingRes, options.position || "beforeEnd", currentWin));
|
|
16855
18099
|
}
|
|
16856
18100
|
if (res instanceof Promise) {
|
|
@@ -17006,11 +18250,17 @@ function clearChildrenLight(selectorOrOptions, maybeOptions, descriptor) {
|
|
|
17006
18250
|
}
|
|
17007
18251
|
var apply = applyNode;
|
|
17008
18252
|
var node = applyNode;
|
|
17009
|
-
function applyThis(
|
|
17010
|
-
|
|
18253
|
+
function applyThis(optionsOrTarget, propertyKey, descriptor) {
|
|
18254
|
+
if ((typeof propertyKey === "string" || typeof propertyKey === "symbol") && descriptor !== void 0) {
|
|
18255
|
+
return applyNode("$this", {})(optionsOrTarget, propertyKey, descriptor);
|
|
18256
|
+
}
|
|
18257
|
+
return applyNode("$this", optionsOrTarget);
|
|
17011
18258
|
}
|
|
17012
|
-
function applyAppHost(
|
|
17013
|
-
|
|
18259
|
+
function applyAppHost(optionsOrTarget, propertyKey, descriptor) {
|
|
18260
|
+
if ((typeof propertyKey === "string" || typeof propertyKey === "symbol") && descriptor !== void 0) {
|
|
18261
|
+
return applyNode("$appHost", {})(optionsOrTarget, propertyKey, descriptor);
|
|
18262
|
+
}
|
|
18263
|
+
return applyNode("$appHost", optionsOrTarget);
|
|
17014
18264
|
}
|
|
17015
18265
|
function applyLight(selector, options) {
|
|
17016
18266
|
return applyNode(selector, { ...options ?? {}, root: "light" });
|
|
@@ -17074,8 +18324,8 @@ var applyIfChanged = (target, newValue) => {
|
|
|
17074
18324
|
var CLASS_METADATA_KEY = Symbol.for("simple-web-component:class");
|
|
17075
18325
|
var resolveSelector2 = (selector, inst, win) => {
|
|
17076
18326
|
if (typeof selector === "function") {
|
|
17077
|
-
const
|
|
17078
|
-
const result = selector(inst,
|
|
18327
|
+
const hostSet2 = SwcUtils.getHelperAndHostSet(win, inst);
|
|
18328
|
+
const result = selector(inst, hostSet2);
|
|
17079
18329
|
if (result instanceof win.Element) {
|
|
17080
18330
|
return [result];
|
|
17081
18331
|
}
|
|
@@ -17103,21 +18353,21 @@ var getTargetElements = (selector, inst, win, root) => {
|
|
|
17103
18353
|
const stringSelector = resolved;
|
|
17104
18354
|
const targetEls = [];
|
|
17105
18355
|
const host = inst;
|
|
17106
|
-
const
|
|
18356
|
+
const hostSet2 = SwcUtils.getHelperAndHostSet(win, inst);
|
|
17107
18357
|
const applyRoot = (t) => {
|
|
17108
18358
|
if (!t || !(t instanceof win.HTMLElement)) return;
|
|
17109
18359
|
targetEls.push(t);
|
|
17110
18360
|
};
|
|
17111
18361
|
if (stringSelector === "$this" || !stringSelector) applyRoot(host);
|
|
17112
|
-
else if (stringSelector === "$host") applyRoot(
|
|
17113
|
-
else if (stringSelector === "$parentHost") applyRoot(
|
|
17114
|
-
else if (stringSelector === "$appHost") applyRoot(
|
|
17115
|
-
else if (stringSelector === "$firstHost") applyRoot(
|
|
17116
|
-
else if (stringSelector === "$lastHost") applyRoot(
|
|
17117
|
-
else if (stringSelector === "$firstAppHost") applyRoot(
|
|
17118
|
-
else if (stringSelector === "$lastAppHost") applyRoot(
|
|
17119
|
-
else if (stringSelector === "$hosts")
|
|
17120
|
-
else if (stringSelector === "$appHosts")
|
|
18362
|
+
else if (stringSelector === "$host") applyRoot(hostSet2.$host);
|
|
18363
|
+
else if (stringSelector === "$parentHost") applyRoot(hostSet2.$parentHost);
|
|
18364
|
+
else if (stringSelector === "$appHost") applyRoot(hostSet2.$appHost);
|
|
18365
|
+
else if (stringSelector === "$firstHost") applyRoot(hostSet2.$firstHost);
|
|
18366
|
+
else if (stringSelector === "$lastHost") applyRoot(hostSet2.$lastHost);
|
|
18367
|
+
else if (stringSelector === "$firstAppHost") applyRoot(hostSet2.$firstAppHost);
|
|
18368
|
+
else if (stringSelector === "$lastAppHost") applyRoot(hostSet2.$lastAppHost);
|
|
18369
|
+
else if (stringSelector === "$hosts") hostSet2.$hosts.forEach(applyRoot);
|
|
18370
|
+
else if (stringSelector === "$appHosts") hostSet2.$appHosts.forEach(applyRoot);
|
|
17121
18371
|
else {
|
|
17122
18372
|
const targetRoot = root === "auto" ? host.shadowRoot || host : root === "shadow" ? host.shadowRoot : host;
|
|
17123
18373
|
if (targetRoot) {
|
|
@@ -17159,20 +18409,20 @@ function createClassDecorator(action) {
|
|
|
17159
18409
|
if (resolvedValue !== void 0) {
|
|
17160
18410
|
const win = this.ownerDocument?.defaultView || window;
|
|
17161
18411
|
const host = this;
|
|
17162
|
-
const
|
|
18412
|
+
const hostSet2 = { ...SwcUtils.getHelperAndHostSet(win, host), $this: this };
|
|
17163
18413
|
const r = finalOptions.root || "auto";
|
|
17164
18414
|
const targetEls = getTargetElements(selector, this, win, r);
|
|
17165
18415
|
targetEls.forEach((targetEl) => {
|
|
17166
|
-
if (finalOptions.filter && !finalOptions.filter(targetEl, resolvedValue, { currentThis: this, helper:
|
|
18416
|
+
if (finalOptions.filter && !finalOptions.filter(targetEl, resolvedValue, { currentThis: this, helper: hostSet2 })) {
|
|
17167
18417
|
return;
|
|
17168
18418
|
}
|
|
17169
|
-
const resolvedRes = typeof resolvedValue === "function" ? resolvedValue(targetEl,
|
|
18419
|
+
const resolvedRes = typeof resolvedValue === "function" ? resolvedValue(targetEl, hostSet2) : resolvedValue;
|
|
17170
18420
|
if (action === "set") {
|
|
17171
18421
|
let classes = "";
|
|
17172
18422
|
if (classMap && typeof classMap === "string") {
|
|
17173
18423
|
classes = resolvedRes ? classMap : "";
|
|
17174
18424
|
} else if (typeof resolvedRes === "object" && resolvedRes !== null && !Array.isArray(resolvedRes)) {
|
|
17175
|
-
classes = Object.entries(resolvedRes).filter(([_, force]) => typeof force === "function" ? force(targetEl,
|
|
18425
|
+
classes = Object.entries(resolvedRes).filter(([_, force]) => typeof force === "function" ? force(targetEl, hostSet2) : !!force).map(([cls2]) => cls2).join(" ");
|
|
17176
18426
|
} else {
|
|
17177
18427
|
classes = Array.isArray(resolvedRes) ? resolvedRes.join(" ") : String(resolvedRes);
|
|
17178
18428
|
}
|
|
@@ -17182,7 +18432,7 @@ function createClassDecorator(action) {
|
|
|
17182
18432
|
targetEl.classList.toggle(classMap, !!resolvedRes);
|
|
17183
18433
|
} else if (typeof resolvedRes === "object" && resolvedRes !== null && !Array.isArray(resolvedRes)) {
|
|
17184
18434
|
Object.entries(resolvedRes).forEach(([cls2, force]) => {
|
|
17185
|
-
const isActive = typeof force === "function" ? force(targetEl,
|
|
18435
|
+
const isActive = typeof force === "function" ? force(targetEl, hostSet2) : !!force;
|
|
17186
18436
|
targetEl.classList.toggle(cls2, isActive);
|
|
17187
18437
|
});
|
|
17188
18438
|
} else {
|
|
@@ -17196,7 +18446,7 @@ function createClassDecorator(action) {
|
|
|
17196
18446
|
else targetEl.classList.remove(classMap);
|
|
17197
18447
|
} else if (typeof resolvedRes === "object" && resolvedRes !== null && !Array.isArray(resolvedRes)) {
|
|
17198
18448
|
Object.entries(resolvedRes).forEach(([cls2, force]) => {
|
|
17199
|
-
const shouldExecute = typeof force === "function" ? force(targetEl,
|
|
18449
|
+
const shouldExecute = typeof force === "function" ? force(targetEl, hostSet2) : !!force;
|
|
17200
18450
|
if (shouldExecute) {
|
|
17201
18451
|
if (action === "add") targetEl.classList.add(cls2);
|
|
17202
18452
|
else targetEl.classList.remove(cls2);
|
|
@@ -17281,11 +18531,17 @@ function toggleClass(selectorOrTarget, classMapOrOptionsOrPropertyKey, optionsOr
|
|
|
17281
18531
|
return createClassDecorator("toggle")("$this", selectorOrTarget);
|
|
17282
18532
|
}
|
|
17283
18533
|
var cls = applyClass;
|
|
17284
|
-
function clsThis(
|
|
17285
|
-
|
|
18534
|
+
function clsThis(actionOrTarget, optionsOrPropertyKey, descriptor) {
|
|
18535
|
+
if ((typeof optionsOrPropertyKey === "string" || typeof optionsOrPropertyKey === "symbol") && descriptor !== void 0) {
|
|
18536
|
+
return applyClass("$this", void 0, {})(actionOrTarget, optionsOrPropertyKey, descriptor);
|
|
18537
|
+
}
|
|
18538
|
+
return applyClass("$this", actionOrTarget, optionsOrPropertyKey);
|
|
17286
18539
|
}
|
|
17287
|
-
function clsAppHost(
|
|
17288
|
-
|
|
18540
|
+
function clsAppHost(actionOrTarget, optionsOrPropertyKey, descriptor) {
|
|
18541
|
+
if ((typeof optionsOrPropertyKey === "string" || typeof optionsOrPropertyKey === "symbol") && descriptor !== void 0) {
|
|
18542
|
+
return applyClass("$appHost", void 0, {})(actionOrTarget, optionsOrPropertyKey, descriptor);
|
|
18543
|
+
}
|
|
18544
|
+
return applyClass("$appHost", actionOrTarget, optionsOrPropertyKey);
|
|
17289
18545
|
}
|
|
17290
18546
|
function clsLight(selector, actionOrOptions, options) {
|
|
17291
18547
|
const action = typeof actionOrOptions === "string" ? actionOrOptions : void 0;
|
|
@@ -17317,8 +18573,8 @@ var findAllClassMetadata = (target) => {
|
|
|
17317
18573
|
var STYLE_METADATA_KEY = Symbol.for("simple-web-component:style");
|
|
17318
18574
|
var resolveSelector3 = (selector, inst, win) => {
|
|
17319
18575
|
if (typeof selector === "function") {
|
|
17320
|
-
const
|
|
17321
|
-
const result = selector(inst,
|
|
18576
|
+
const hostSet2 = SwcUtils.getHelperAndHostSet(win, inst);
|
|
18577
|
+
const result = selector(inst, hostSet2);
|
|
17322
18578
|
if (result instanceof win.Element) {
|
|
17323
18579
|
return [result];
|
|
17324
18580
|
}
|
|
@@ -17346,21 +18602,21 @@ var getTargetElements2 = (selector, inst, win, root) => {
|
|
|
17346
18602
|
const stringSelector = resolved;
|
|
17347
18603
|
const targetEls = [];
|
|
17348
18604
|
const host = inst;
|
|
17349
|
-
const
|
|
18605
|
+
const hostSet2 = SwcUtils.getHelperAndHostSet(win, inst);
|
|
17350
18606
|
const applyRoot = (t) => {
|
|
17351
18607
|
if (!t || !(t instanceof win.HTMLElement)) return;
|
|
17352
18608
|
targetEls.push(t);
|
|
17353
18609
|
};
|
|
17354
18610
|
if (stringSelector === "$this" || !stringSelector) applyRoot(host);
|
|
17355
|
-
else if (stringSelector === "$host") applyRoot(
|
|
17356
|
-
else if (stringSelector === "$parentHost") applyRoot(
|
|
17357
|
-
else if (stringSelector === "$appHost") applyRoot(
|
|
17358
|
-
else if (stringSelector === "$firstHost") applyRoot(
|
|
17359
|
-
else if (stringSelector === "$lastHost") applyRoot(
|
|
17360
|
-
else if (stringSelector === "$firstAppHost") applyRoot(
|
|
17361
|
-
else if (stringSelector === "$lastAppHost") applyRoot(
|
|
17362
|
-
else if (stringSelector === "$hosts")
|
|
17363
|
-
else if (stringSelector === "$appHosts")
|
|
18611
|
+
else if (stringSelector === "$host") applyRoot(hostSet2.$host);
|
|
18612
|
+
else if (stringSelector === "$parentHost") applyRoot(hostSet2.$parentHost);
|
|
18613
|
+
else if (stringSelector === "$appHost") applyRoot(hostSet2.$appHost);
|
|
18614
|
+
else if (stringSelector === "$firstHost") applyRoot(hostSet2.$firstHost);
|
|
18615
|
+
else if (stringSelector === "$lastHost") applyRoot(hostSet2.$lastHost);
|
|
18616
|
+
else if (stringSelector === "$firstAppHost") applyRoot(hostSet2.$firstAppHost);
|
|
18617
|
+
else if (stringSelector === "$lastAppHost") applyRoot(hostSet2.$lastAppHost);
|
|
18618
|
+
else if (stringSelector === "$hosts") hostSet2.$hosts.forEach(applyRoot);
|
|
18619
|
+
else if (stringSelector === "$appHosts") hostSet2.$appHosts.forEach(applyRoot);
|
|
17364
18620
|
else {
|
|
17365
18621
|
const targetRoot = root === "auto" ? host.shadowRoot || host : root === "shadow" ? host.shadowRoot : host;
|
|
17366
18622
|
if (targetRoot) {
|
|
@@ -17395,19 +18651,19 @@ function createStyleDecorator(action) {
|
|
|
17395
18651
|
if (resolvedValue !== void 0) {
|
|
17396
18652
|
const win = this.ownerDocument?.defaultView || window;
|
|
17397
18653
|
const host = this;
|
|
17398
|
-
const
|
|
18654
|
+
const hostSet2 = { ...SwcUtils.getHelperAndHostSet(win, host), $this: this };
|
|
17399
18655
|
const r = options.root || "auto";
|
|
17400
18656
|
const targetEls = getTargetElements2(selector, this, win, r);
|
|
17401
18657
|
targetEls.forEach((targetEl) => {
|
|
17402
|
-
if (options.filter && !options.filter(targetEl, resolvedValue, { currentThis: this, helper:
|
|
18658
|
+
if (options.filter && !options.filter(targetEl, resolvedValue, { currentThis: this, helper: hostSet2 })) {
|
|
17403
18659
|
return;
|
|
17404
18660
|
}
|
|
17405
|
-
const resolvedRes = typeof resolvedValue === "function" ? resolvedValue(targetEl,
|
|
18661
|
+
const resolvedRes = typeof resolvedValue === "function" ? resolvedValue(targetEl, hostSet2) : resolvedValue;
|
|
17406
18662
|
if (action === "set" || action === "update") {
|
|
17407
18663
|
if (action === "set") targetEl.style.cssText = "";
|
|
17408
18664
|
if (typeof resolvedRes === "object" && resolvedRes !== null && !Array.isArray(resolvedRes)) {
|
|
17409
18665
|
Object.entries(resolvedRes).forEach(([prop2, val]) => {
|
|
17410
|
-
const finalVal = typeof val === "function" ? val(targetEl,
|
|
18666
|
+
const finalVal = typeof val === "function" ? val(targetEl, hostSet2) : val;
|
|
17411
18667
|
if (finalVal === null || finalVal === void 0) {
|
|
17412
18668
|
targetEl.style.removeProperty(prop2);
|
|
17413
18669
|
} else {
|
|
@@ -17420,7 +18676,7 @@ function createStyleDecorator(action) {
|
|
|
17420
18676
|
} else if (action === "remove") {
|
|
17421
18677
|
if (typeof resolvedRes === "object" && resolvedRes !== null && !Array.isArray(resolvedRes)) {
|
|
17422
18678
|
Object.entries(resolvedRes).forEach(([prop2, val]) => {
|
|
17423
|
-
const shouldRemove = typeof val === "function" ? val(targetEl,
|
|
18679
|
+
const shouldRemove = typeof val === "function" ? val(targetEl, hostSet2) : !!val;
|
|
17424
18680
|
if (shouldRemove) {
|
|
17425
18681
|
targetEl.style.removeProperty(prop2);
|
|
17426
18682
|
}
|
|
@@ -17485,11 +18741,17 @@ function removeStyle(selectorOrTarget, optionsOrPropertyKey, descriptor) {
|
|
|
17485
18741
|
return createStyleDecorator("remove")("$this", selectorOrTarget);
|
|
17486
18742
|
}
|
|
17487
18743
|
var style = applyStyle;
|
|
17488
|
-
function styleThis(
|
|
17489
|
-
|
|
18744
|
+
function styleThis(actionOrTarget, optionsOrPropertyKey, descriptor) {
|
|
18745
|
+
if ((typeof optionsOrPropertyKey === "string" || typeof optionsOrPropertyKey === "symbol") && descriptor !== void 0) {
|
|
18746
|
+
return applyStyle("$this", void 0, {})(actionOrTarget, optionsOrPropertyKey, descriptor);
|
|
18747
|
+
}
|
|
18748
|
+
return applyStyle("$this", actionOrTarget, optionsOrPropertyKey);
|
|
17490
18749
|
}
|
|
17491
|
-
function styleAppHost(
|
|
17492
|
-
|
|
18750
|
+
function styleAppHost(actionOrTarget, optionsOrPropertyKey, descriptor) {
|
|
18751
|
+
if ((typeof optionsOrPropertyKey === "string" || typeof optionsOrPropertyKey === "symbol") && descriptor !== void 0) {
|
|
18752
|
+
return applyStyle("$appHost", void 0, {})(actionOrTarget, optionsOrPropertyKey, descriptor);
|
|
18753
|
+
}
|
|
18754
|
+
return applyStyle("$appHost", actionOrTarget, optionsOrPropertyKey);
|
|
17493
18755
|
}
|
|
17494
18756
|
function styleLight(selector, actionOrOptions, options) {
|
|
17495
18757
|
const action = typeof actionOrOptions === "string" ? actionOrOptions : void 0;
|
|
@@ -17593,8 +18855,8 @@ var getPublishSwcAppMessageMetadata = (target) => {
|
|
|
17593
18855
|
|
|
17594
18856
|
// src/decorators/applySlot.ts
|
|
17595
18857
|
var APPLY_SLOT_METADATA_KEY = Symbol.for("simple-web-component:apply-slot");
|
|
17596
|
-
var applyToDom2 = (swcId, id, pos, nodes) => {
|
|
17597
|
-
const nodeSlot = new NodeSlot(
|
|
18858
|
+
var applyToDom2 = (host, swcId, id, pos, nodes) => {
|
|
18859
|
+
const nodeSlot = new NodeSlot(host, swcId);
|
|
17598
18860
|
if (pos === "replaceChildrenText" || pos === "replaceChildren" || pos === "replaceChildrenHtml") {
|
|
17599
18861
|
nodeSlot.replaceChildren(id, ...nodes);
|
|
17600
18862
|
} else if (pos === "appendHtml" || pos === "append" || pos === "appendText") {
|
|
@@ -17618,11 +18880,12 @@ function applySlot(targetId, opt) {
|
|
|
17618
18880
|
const original = descriptor.value;
|
|
17619
18881
|
descriptor.value = function(...args) {
|
|
17620
18882
|
ensureInit(this);
|
|
18883
|
+
const host = this;
|
|
17621
18884
|
const conf = getElementConfig(this);
|
|
17622
18885
|
const currentWin = conf.window;
|
|
17623
18886
|
const swcId = this._swcId;
|
|
17624
18887
|
const currentDoc = currentWin.document;
|
|
17625
|
-
const
|
|
18888
|
+
const hostSet2 = SwcUtils.getHelperAndHostSet(currentWin, this);
|
|
17626
18889
|
const pos = options.position;
|
|
17627
18890
|
const resToNodes = (res2) => {
|
|
17628
18891
|
const nodes = [];
|
|
@@ -17640,10 +18903,10 @@ function applySlot(targetId, opt) {
|
|
|
17640
18903
|
};
|
|
17641
18904
|
const fallbackNodes = [];
|
|
17642
18905
|
if (options.fallback) {
|
|
17643
|
-
const res2 = options.fallback.call(this,
|
|
18906
|
+
const res2 = options.fallback.call(this, hostSet2);
|
|
17644
18907
|
const nodes = resToNodes(res2);
|
|
17645
18908
|
fallbackNodes.push(...nodes);
|
|
17646
|
-
applyToDom2(swcId, targetId, options.position, nodes);
|
|
18909
|
+
applyToDom2(host, swcId, targetId, options.position, nodes);
|
|
17647
18910
|
}
|
|
17648
18911
|
const extractValue = (v) => {
|
|
17649
18912
|
const keyToUse = options.valueKey ?? APPLY_SLOT_METADATA_KEY;
|
|
@@ -17658,12 +18921,12 @@ function applySlot(targetId, opt) {
|
|
|
17658
18921
|
const extracted = extractValue(asyncRes);
|
|
17659
18922
|
const nodes = resToNodes(extracted);
|
|
17660
18923
|
fallbackNodes.forEach((it) => it.remove());
|
|
17661
|
-
applyToDom2(swcId, targetId, options.position, nodes);
|
|
18924
|
+
applyToDom2(host, swcId, targetId, options.position, nodes);
|
|
17662
18925
|
});
|
|
17663
18926
|
} else {
|
|
17664
18927
|
const extracted = extractValue(res);
|
|
17665
18928
|
const nodes = resToNodes(extracted);
|
|
17666
|
-
applyToDom2(swcId, targetId, options.position, nodes);
|
|
18929
|
+
applyToDom2(host, swcId, targetId, options.position, nodes);
|
|
17667
18930
|
}
|
|
17668
18931
|
};
|
|
17669
18932
|
};
|
|
@@ -20501,7 +21764,6 @@ function SwcAppMixin(Base) {
|
|
|
20501
21764
|
try {
|
|
20502
21765
|
const routeChangeSubscribers = getSubscribeSwcAppRouteChangeWhileConnectedMetadata(instance);
|
|
20503
21766
|
if (routeChangeSubscribers.length > 0) {
|
|
20504
|
-
console.log("[SWC-MIXIN] Route change subscribers found");
|
|
20505
21767
|
for (const metadata of routeChangeSubscribers) {
|
|
20506
21768
|
const methodName = metadata.propertyKey;
|
|
20507
21769
|
let pathPattern = metadata.options?.path;
|
|
@@ -20534,10 +21796,19 @@ function SwcAppMixin(Base) {
|
|
|
20534
21796
|
pathData = SwcUtils.parsePathPattern(pathPattern, re.path || "/");
|
|
20535
21797
|
pathMatched = pathData !== null;
|
|
20536
21798
|
}
|
|
20537
|
-
const
|
|
20538
|
-
const filterPassed = !filter || filter(this.router, { helper:
|
|
21799
|
+
const hostSet2 = SwcUtils.getHelperAndHostSet(this.config.window, this);
|
|
21800
|
+
const filterPassed = !filter || filter(this.router, { helper: hostSet2, currentThis: instance });
|
|
20539
21801
|
if (pathMatched && filterPassed && instance[methodName]) {
|
|
20540
|
-
const
|
|
21802
|
+
const routeEventValue = { ...re, pathData };
|
|
21803
|
+
const instanceHelperHostSet = SwcUtils.getHelperAndHostSet(this.config.window, instance);
|
|
21804
|
+
const instanceHelperSet = SwcUtils.getHelperSet(this.config.window);
|
|
21805
|
+
const args = buildSwcParameterArgs(instance, methodName, {
|
|
21806
|
+
routerEvent: routeEventValue,
|
|
21807
|
+
hostSet: instanceHelperHostSet,
|
|
21808
|
+
helperHostSet: instanceHelperHostSet,
|
|
21809
|
+
helperSet: instanceHelperSet
|
|
21810
|
+
}, [routeEventValue]);
|
|
21811
|
+
const result = extractValue(await instance[methodName](...args));
|
|
20541
21812
|
if (result !== void 0 && result !== null) {
|
|
20542
21813
|
break;
|
|
20543
21814
|
}
|
|
@@ -20716,7 +21987,15 @@ function SwcAppMixin(Base) {
|
|
|
20716
21987
|
filterMatched = filter(message, instance);
|
|
20717
21988
|
}
|
|
20718
21989
|
if (typeMatched && filterMatched && typeof instance[methodName] === "function") {
|
|
20719
|
-
instance
|
|
21990
|
+
const instanceHelperHostSet = SwcUtils.getHelperAndHostSet(this.config.window, instance);
|
|
21991
|
+
const instanceHelperSet = SwcUtils.getHelperSet(this.config.window);
|
|
21992
|
+
const args = buildSwcParameterArgs(instance, methodName, {
|
|
21993
|
+
appMessage: message,
|
|
21994
|
+
hostSet: instanceHelperHostSet,
|
|
21995
|
+
helperHostSet: instanceHelperHostSet,
|
|
21996
|
+
helperSet: instanceHelperSet
|
|
21997
|
+
}, [message]);
|
|
21998
|
+
instance[methodName](...args);
|
|
20720
21999
|
}
|
|
20721
22000
|
});
|
|
20722
22001
|
}
|
|
@@ -20911,8 +22190,10 @@ export {
|
|
|
20911
22190
|
DOM_EVENT_NAMES,
|
|
20912
22191
|
ELEMENT_CONFIG_KEY,
|
|
20913
22192
|
EMIT_CUSTOM_EVENT_METADATA_KEY,
|
|
22193
|
+
EVENT_MEDIA_METADATA_KEY,
|
|
20914
22194
|
EmitCustomEventLifeCycler,
|
|
20915
22195
|
EventListenerLifeCycler,
|
|
22196
|
+
EventMediaLifeCycler,
|
|
20916
22197
|
HTML_TAG_ENTRIES,
|
|
20917
22198
|
INTERSECTION_OBSERVER_METADATA_KEY,
|
|
20918
22199
|
InjectSituationType2 as InjectSituationType,
|
|
@@ -20936,7 +22217,9 @@ export {
|
|
|
20936
22217
|
PUBLISH_SWC_APP_MESSAGE_METADATA_KEY,
|
|
20937
22218
|
QUERY_ALL_METADATA_KEY,
|
|
20938
22219
|
QUERY_METADATA_KEY,
|
|
22220
|
+
REQUEST_ANIMATION_FRAME_METADATA_KEY,
|
|
20939
22221
|
RESIZE_OBSERVER_METADATA_KEY,
|
|
22222
|
+
RequestAnimationFrameLifeCycler,
|
|
20940
22223
|
ResizeObserverLifeCycler,
|
|
20941
22224
|
RouteSubscribeLifeCycler,
|
|
20942
22225
|
SET_INTERVAL_METADATA_KEY,
|
|
@@ -20979,6 +22262,7 @@ export {
|
|
|
20979
22262
|
addEventListenerShadow,
|
|
20980
22263
|
addEventListenerThis,
|
|
20981
22264
|
addEventListenerWindow,
|
|
22265
|
+
appMessage,
|
|
20982
22266
|
appendHtmlSlot,
|
|
20983
22267
|
appendSlot,
|
|
20984
22268
|
appendTextSlot,
|
|
@@ -21002,6 +22286,7 @@ export {
|
|
|
21002
22286
|
attrShadow,
|
|
21003
22287
|
attrThis,
|
|
21004
22288
|
attribute,
|
|
22289
|
+
buildSwcParameterArgs,
|
|
21005
22290
|
callProperty,
|
|
21006
22291
|
callPropertyAll,
|
|
21007
22292
|
callPropertyLight,
|
|
@@ -21046,19 +22331,966 @@ export {
|
|
|
21046
22331
|
ensureInit,
|
|
21047
22332
|
event,
|
|
21048
22333
|
eventAll,
|
|
22334
|
+
eventAnimationcancel,
|
|
22335
|
+
eventAnimationcancelAll,
|
|
22336
|
+
eventAnimationcancelAppHost,
|
|
22337
|
+
eventAnimationcancelDelegate,
|
|
22338
|
+
eventAnimationcancelDelegateAll,
|
|
22339
|
+
eventAnimationcancelDelegateLight,
|
|
22340
|
+
eventAnimationcancelDelegateShadow,
|
|
22341
|
+
eventAnimationcancelDocument,
|
|
22342
|
+
eventAnimationcancelLight,
|
|
22343
|
+
eventAnimationcancelMutation,
|
|
22344
|
+
eventAnimationcancelMutationAll,
|
|
22345
|
+
eventAnimationcancelMutationLight,
|
|
22346
|
+
eventAnimationcancelMutationShadow,
|
|
22347
|
+
eventAnimationcancelShadow,
|
|
22348
|
+
eventAnimationcancelThis,
|
|
22349
|
+
eventAnimationcancelWindow,
|
|
22350
|
+
eventAnimationend,
|
|
22351
|
+
eventAnimationendAll,
|
|
22352
|
+
eventAnimationendAppHost,
|
|
22353
|
+
eventAnimationendDelegate,
|
|
22354
|
+
eventAnimationendDelegateAll,
|
|
22355
|
+
eventAnimationendDelegateLight,
|
|
22356
|
+
eventAnimationendDelegateShadow,
|
|
22357
|
+
eventAnimationendDocument,
|
|
22358
|
+
eventAnimationendLight,
|
|
22359
|
+
eventAnimationendMutation,
|
|
22360
|
+
eventAnimationendMutationAll,
|
|
22361
|
+
eventAnimationendMutationLight,
|
|
22362
|
+
eventAnimationendMutationShadow,
|
|
22363
|
+
eventAnimationendShadow,
|
|
22364
|
+
eventAnimationendThis,
|
|
22365
|
+
eventAnimationendWindow,
|
|
22366
|
+
eventAnimationiteration,
|
|
22367
|
+
eventAnimationiterationAll,
|
|
22368
|
+
eventAnimationiterationAppHost,
|
|
22369
|
+
eventAnimationiterationDelegate,
|
|
22370
|
+
eventAnimationiterationDelegateAll,
|
|
22371
|
+
eventAnimationiterationDelegateLight,
|
|
22372
|
+
eventAnimationiterationDelegateShadow,
|
|
22373
|
+
eventAnimationiterationDocument,
|
|
22374
|
+
eventAnimationiterationLight,
|
|
22375
|
+
eventAnimationiterationMutation,
|
|
22376
|
+
eventAnimationiterationMutationAll,
|
|
22377
|
+
eventAnimationiterationMutationLight,
|
|
22378
|
+
eventAnimationiterationMutationShadow,
|
|
22379
|
+
eventAnimationiterationShadow,
|
|
22380
|
+
eventAnimationiterationThis,
|
|
22381
|
+
eventAnimationiterationWindow,
|
|
22382
|
+
eventAnimationstart,
|
|
22383
|
+
eventAnimationstartAll,
|
|
22384
|
+
eventAnimationstartAppHost,
|
|
22385
|
+
eventAnimationstartDelegate,
|
|
22386
|
+
eventAnimationstartDelegateAll,
|
|
22387
|
+
eventAnimationstartDelegateLight,
|
|
22388
|
+
eventAnimationstartDelegateShadow,
|
|
22389
|
+
eventAnimationstartDocument,
|
|
22390
|
+
eventAnimationstartLight,
|
|
22391
|
+
eventAnimationstartMutation,
|
|
22392
|
+
eventAnimationstartMutationAll,
|
|
22393
|
+
eventAnimationstartMutationLight,
|
|
22394
|
+
eventAnimationstartMutationShadow,
|
|
22395
|
+
eventAnimationstartShadow,
|
|
22396
|
+
eventAnimationstartThis,
|
|
22397
|
+
eventAnimationstartWindow,
|
|
21049
22398
|
eventAppHost,
|
|
22399
|
+
eventBlur,
|
|
22400
|
+
eventBlurAll,
|
|
22401
|
+
eventBlurAppHost,
|
|
22402
|
+
eventBlurDelegate,
|
|
22403
|
+
eventBlurDelegateAll,
|
|
22404
|
+
eventBlurDelegateLight,
|
|
22405
|
+
eventBlurDelegateShadow,
|
|
22406
|
+
eventBlurDocument,
|
|
22407
|
+
eventBlurLight,
|
|
22408
|
+
eventBlurMutation,
|
|
22409
|
+
eventBlurMutationAll,
|
|
22410
|
+
eventBlurMutationLight,
|
|
22411
|
+
eventBlurMutationShadow,
|
|
22412
|
+
eventBlurShadow,
|
|
22413
|
+
eventBlurThis,
|
|
22414
|
+
eventBlurWindow,
|
|
22415
|
+
eventChange,
|
|
22416
|
+
eventChangeAll,
|
|
22417
|
+
eventChangeAppHost,
|
|
22418
|
+
eventChangeDelegate,
|
|
22419
|
+
eventChangeDelegateAll,
|
|
22420
|
+
eventChangeDelegateLight,
|
|
22421
|
+
eventChangeDelegateShadow,
|
|
22422
|
+
eventChangeDocument,
|
|
22423
|
+
eventChangeLight,
|
|
22424
|
+
eventChangeMutation,
|
|
22425
|
+
eventChangeMutationAll,
|
|
22426
|
+
eventChangeMutationLight,
|
|
22427
|
+
eventChangeMutationShadow,
|
|
22428
|
+
eventChangeShadow,
|
|
22429
|
+
eventChangeThis,
|
|
22430
|
+
eventChangeWindow,
|
|
22431
|
+
eventClick,
|
|
22432
|
+
eventClickAll,
|
|
22433
|
+
eventClickAppHost,
|
|
22434
|
+
eventClickDelegate,
|
|
22435
|
+
eventClickDelegateAll,
|
|
22436
|
+
eventClickDelegateLight,
|
|
22437
|
+
eventClickDelegateShadow,
|
|
22438
|
+
eventClickDocument,
|
|
22439
|
+
eventClickLight,
|
|
22440
|
+
eventClickMutation,
|
|
22441
|
+
eventClickMutationAll,
|
|
22442
|
+
eventClickMutationLight,
|
|
22443
|
+
eventClickMutationShadow,
|
|
22444
|
+
eventClickShadow,
|
|
22445
|
+
eventClickThis,
|
|
22446
|
+
eventClickWindow,
|
|
22447
|
+
eventContextmenu,
|
|
22448
|
+
eventContextmenuAll,
|
|
22449
|
+
eventContextmenuAppHost,
|
|
22450
|
+
eventContextmenuDelegate,
|
|
22451
|
+
eventContextmenuDelegateAll,
|
|
22452
|
+
eventContextmenuDelegateLight,
|
|
22453
|
+
eventContextmenuDelegateShadow,
|
|
22454
|
+
eventContextmenuDocument,
|
|
22455
|
+
eventContextmenuLight,
|
|
22456
|
+
eventContextmenuMutation,
|
|
22457
|
+
eventContextmenuMutationAll,
|
|
22458
|
+
eventContextmenuMutationLight,
|
|
22459
|
+
eventContextmenuMutationShadow,
|
|
22460
|
+
eventContextmenuShadow,
|
|
22461
|
+
eventContextmenuThis,
|
|
22462
|
+
eventContextmenuWindow,
|
|
22463
|
+
eventCopy,
|
|
22464
|
+
eventCopyAll,
|
|
22465
|
+
eventCopyAppHost,
|
|
22466
|
+
eventCopyDelegate,
|
|
22467
|
+
eventCopyDelegateAll,
|
|
22468
|
+
eventCopyDelegateLight,
|
|
22469
|
+
eventCopyDelegateShadow,
|
|
22470
|
+
eventCopyDocument,
|
|
22471
|
+
eventCopyLight,
|
|
22472
|
+
eventCopyMutation,
|
|
22473
|
+
eventCopyMutationAll,
|
|
22474
|
+
eventCopyMutationLight,
|
|
22475
|
+
eventCopyMutationShadow,
|
|
22476
|
+
eventCopyShadow,
|
|
22477
|
+
eventCopyThis,
|
|
22478
|
+
eventCopyWindow,
|
|
22479
|
+
eventCut,
|
|
22480
|
+
eventCutAll,
|
|
22481
|
+
eventCutAppHost,
|
|
22482
|
+
eventCutDelegate,
|
|
22483
|
+
eventCutDelegateAll,
|
|
22484
|
+
eventCutDelegateLight,
|
|
22485
|
+
eventCutDelegateShadow,
|
|
22486
|
+
eventCutDocument,
|
|
22487
|
+
eventCutLight,
|
|
22488
|
+
eventCutMutation,
|
|
22489
|
+
eventCutMutationAll,
|
|
22490
|
+
eventCutMutationLight,
|
|
22491
|
+
eventCutMutationShadow,
|
|
22492
|
+
eventCutShadow,
|
|
22493
|
+
eventCutThis,
|
|
22494
|
+
eventCutWindow,
|
|
22495
|
+
eventDblclick,
|
|
22496
|
+
eventDblclickAll,
|
|
22497
|
+
eventDblclickAppHost,
|
|
22498
|
+
eventDblclickDelegate,
|
|
22499
|
+
eventDblclickDelegateAll,
|
|
22500
|
+
eventDblclickDelegateLight,
|
|
22501
|
+
eventDblclickDelegateShadow,
|
|
22502
|
+
eventDblclickDocument,
|
|
22503
|
+
eventDblclickLight,
|
|
22504
|
+
eventDblclickMutation,
|
|
22505
|
+
eventDblclickMutationAll,
|
|
22506
|
+
eventDblclickMutationLight,
|
|
22507
|
+
eventDblclickMutationShadow,
|
|
22508
|
+
eventDblclickShadow,
|
|
22509
|
+
eventDblclickThis,
|
|
22510
|
+
eventDblclickWindow,
|
|
21050
22511
|
eventDelegate,
|
|
21051
22512
|
eventDelegateAll,
|
|
21052
22513
|
eventDelegateLight,
|
|
21053
22514
|
eventDelegateShadow,
|
|
21054
22515
|
eventDocument,
|
|
22516
|
+
eventDrag,
|
|
22517
|
+
eventDragAll,
|
|
22518
|
+
eventDragAppHost,
|
|
22519
|
+
eventDragDelegate,
|
|
22520
|
+
eventDragDelegateAll,
|
|
22521
|
+
eventDragDelegateLight,
|
|
22522
|
+
eventDragDelegateShadow,
|
|
22523
|
+
eventDragDocument,
|
|
22524
|
+
eventDragLight,
|
|
22525
|
+
eventDragMutation,
|
|
22526
|
+
eventDragMutationAll,
|
|
22527
|
+
eventDragMutationLight,
|
|
22528
|
+
eventDragMutationShadow,
|
|
22529
|
+
eventDragShadow,
|
|
22530
|
+
eventDragThis,
|
|
22531
|
+
eventDragWindow,
|
|
22532
|
+
eventDragend,
|
|
22533
|
+
eventDragendAll,
|
|
22534
|
+
eventDragendAppHost,
|
|
22535
|
+
eventDragendDelegate,
|
|
22536
|
+
eventDragendDelegateAll,
|
|
22537
|
+
eventDragendDelegateLight,
|
|
22538
|
+
eventDragendDelegateShadow,
|
|
22539
|
+
eventDragendDocument,
|
|
22540
|
+
eventDragendLight,
|
|
22541
|
+
eventDragendMutation,
|
|
22542
|
+
eventDragendMutationAll,
|
|
22543
|
+
eventDragendMutationLight,
|
|
22544
|
+
eventDragendMutationShadow,
|
|
22545
|
+
eventDragendShadow,
|
|
22546
|
+
eventDragendThis,
|
|
22547
|
+
eventDragendWindow,
|
|
22548
|
+
eventDragenter,
|
|
22549
|
+
eventDragenterAll,
|
|
22550
|
+
eventDragenterAppHost,
|
|
22551
|
+
eventDragenterDelegate,
|
|
22552
|
+
eventDragenterDelegateAll,
|
|
22553
|
+
eventDragenterDelegateLight,
|
|
22554
|
+
eventDragenterDelegateShadow,
|
|
22555
|
+
eventDragenterDocument,
|
|
22556
|
+
eventDragenterLight,
|
|
22557
|
+
eventDragenterMutation,
|
|
22558
|
+
eventDragenterMutationAll,
|
|
22559
|
+
eventDragenterMutationLight,
|
|
22560
|
+
eventDragenterMutationShadow,
|
|
22561
|
+
eventDragenterShadow,
|
|
22562
|
+
eventDragenterThis,
|
|
22563
|
+
eventDragenterWindow,
|
|
22564
|
+
eventDragleave,
|
|
22565
|
+
eventDragleaveAll,
|
|
22566
|
+
eventDragleaveAppHost,
|
|
22567
|
+
eventDragleaveDelegate,
|
|
22568
|
+
eventDragleaveDelegateAll,
|
|
22569
|
+
eventDragleaveDelegateLight,
|
|
22570
|
+
eventDragleaveDelegateShadow,
|
|
22571
|
+
eventDragleaveDocument,
|
|
22572
|
+
eventDragleaveLight,
|
|
22573
|
+
eventDragleaveMutation,
|
|
22574
|
+
eventDragleaveMutationAll,
|
|
22575
|
+
eventDragleaveMutationLight,
|
|
22576
|
+
eventDragleaveMutationShadow,
|
|
22577
|
+
eventDragleaveShadow,
|
|
22578
|
+
eventDragleaveThis,
|
|
22579
|
+
eventDragleaveWindow,
|
|
22580
|
+
eventDragover,
|
|
22581
|
+
eventDragoverAll,
|
|
22582
|
+
eventDragoverAppHost,
|
|
22583
|
+
eventDragoverDelegate,
|
|
22584
|
+
eventDragoverDelegateAll,
|
|
22585
|
+
eventDragoverDelegateLight,
|
|
22586
|
+
eventDragoverDelegateShadow,
|
|
22587
|
+
eventDragoverDocument,
|
|
22588
|
+
eventDragoverLight,
|
|
22589
|
+
eventDragoverMutation,
|
|
22590
|
+
eventDragoverMutationAll,
|
|
22591
|
+
eventDragoverMutationLight,
|
|
22592
|
+
eventDragoverMutationShadow,
|
|
22593
|
+
eventDragoverShadow,
|
|
22594
|
+
eventDragoverThis,
|
|
22595
|
+
eventDragoverWindow,
|
|
22596
|
+
eventDragstart,
|
|
22597
|
+
eventDragstartAll,
|
|
22598
|
+
eventDragstartAppHost,
|
|
22599
|
+
eventDragstartDelegate,
|
|
22600
|
+
eventDragstartDelegateAll,
|
|
22601
|
+
eventDragstartDelegateLight,
|
|
22602
|
+
eventDragstartDelegateShadow,
|
|
22603
|
+
eventDragstartDocument,
|
|
22604
|
+
eventDragstartLight,
|
|
22605
|
+
eventDragstartMutation,
|
|
22606
|
+
eventDragstartMutationAll,
|
|
22607
|
+
eventDragstartMutationLight,
|
|
22608
|
+
eventDragstartMutationShadow,
|
|
22609
|
+
eventDragstartShadow,
|
|
22610
|
+
eventDragstartThis,
|
|
22611
|
+
eventDragstartWindow,
|
|
22612
|
+
eventDrop,
|
|
22613
|
+
eventDropAll,
|
|
22614
|
+
eventDropAppHost,
|
|
22615
|
+
eventDropDelegate,
|
|
22616
|
+
eventDropDelegateAll,
|
|
22617
|
+
eventDropDelegateLight,
|
|
22618
|
+
eventDropDelegateShadow,
|
|
22619
|
+
eventDropDocument,
|
|
22620
|
+
eventDropLight,
|
|
22621
|
+
eventDropMutation,
|
|
22622
|
+
eventDropMutationAll,
|
|
22623
|
+
eventDropMutationLight,
|
|
22624
|
+
eventDropMutationShadow,
|
|
22625
|
+
eventDropShadow,
|
|
22626
|
+
eventDropThis,
|
|
22627
|
+
eventDropWindow,
|
|
22628
|
+
eventError,
|
|
22629
|
+
eventErrorAll,
|
|
22630
|
+
eventErrorAppHost,
|
|
22631
|
+
eventErrorDelegate,
|
|
22632
|
+
eventErrorDelegateAll,
|
|
22633
|
+
eventErrorDelegateLight,
|
|
22634
|
+
eventErrorDelegateShadow,
|
|
22635
|
+
eventErrorDocument,
|
|
22636
|
+
eventErrorLight,
|
|
22637
|
+
eventErrorMutation,
|
|
22638
|
+
eventErrorMutationAll,
|
|
22639
|
+
eventErrorMutationLight,
|
|
22640
|
+
eventErrorMutationShadow,
|
|
22641
|
+
eventErrorShadow,
|
|
22642
|
+
eventErrorThis,
|
|
22643
|
+
eventErrorWindow,
|
|
22644
|
+
eventFocus,
|
|
22645
|
+
eventFocusAll,
|
|
22646
|
+
eventFocusAppHost,
|
|
22647
|
+
eventFocusDelegate,
|
|
22648
|
+
eventFocusDelegateAll,
|
|
22649
|
+
eventFocusDelegateLight,
|
|
22650
|
+
eventFocusDelegateShadow,
|
|
22651
|
+
eventFocusDocument,
|
|
22652
|
+
eventFocusLight,
|
|
22653
|
+
eventFocusMutation,
|
|
22654
|
+
eventFocusMutationAll,
|
|
22655
|
+
eventFocusMutationLight,
|
|
22656
|
+
eventFocusMutationShadow,
|
|
22657
|
+
eventFocusShadow,
|
|
22658
|
+
eventFocusThis,
|
|
22659
|
+
eventFocusWindow,
|
|
22660
|
+
eventFocusin,
|
|
22661
|
+
eventFocusinAll,
|
|
22662
|
+
eventFocusinAppHost,
|
|
22663
|
+
eventFocusinDelegate,
|
|
22664
|
+
eventFocusinDelegateAll,
|
|
22665
|
+
eventFocusinDelegateLight,
|
|
22666
|
+
eventFocusinDelegateShadow,
|
|
22667
|
+
eventFocusinDocument,
|
|
22668
|
+
eventFocusinLight,
|
|
22669
|
+
eventFocusinMutation,
|
|
22670
|
+
eventFocusinMutationAll,
|
|
22671
|
+
eventFocusinMutationLight,
|
|
22672
|
+
eventFocusinMutationShadow,
|
|
22673
|
+
eventFocusinShadow,
|
|
22674
|
+
eventFocusinThis,
|
|
22675
|
+
eventFocusinWindow,
|
|
22676
|
+
eventFocusout,
|
|
22677
|
+
eventFocusoutAll,
|
|
22678
|
+
eventFocusoutAppHost,
|
|
22679
|
+
eventFocusoutDelegate,
|
|
22680
|
+
eventFocusoutDelegateAll,
|
|
22681
|
+
eventFocusoutDelegateLight,
|
|
22682
|
+
eventFocusoutDelegateShadow,
|
|
22683
|
+
eventFocusoutDocument,
|
|
22684
|
+
eventFocusoutLight,
|
|
22685
|
+
eventFocusoutMutation,
|
|
22686
|
+
eventFocusoutMutationAll,
|
|
22687
|
+
eventFocusoutMutationLight,
|
|
22688
|
+
eventFocusoutMutationShadow,
|
|
22689
|
+
eventFocusoutShadow,
|
|
22690
|
+
eventFocusoutThis,
|
|
22691
|
+
eventFocusoutWindow,
|
|
22692
|
+
eventInput,
|
|
22693
|
+
eventInputAll,
|
|
22694
|
+
eventInputAppHost,
|
|
22695
|
+
eventInputDelegate,
|
|
22696
|
+
eventInputDelegateAll,
|
|
22697
|
+
eventInputDelegateLight,
|
|
22698
|
+
eventInputDelegateShadow,
|
|
22699
|
+
eventInputDocument,
|
|
22700
|
+
eventInputLight,
|
|
22701
|
+
eventInputMutation,
|
|
22702
|
+
eventInputMutationAll,
|
|
22703
|
+
eventInputMutationLight,
|
|
22704
|
+
eventInputMutationShadow,
|
|
22705
|
+
eventInputShadow,
|
|
22706
|
+
eventInputThis,
|
|
22707
|
+
eventInputWindow,
|
|
22708
|
+
eventInvalid,
|
|
22709
|
+
eventInvalidAll,
|
|
22710
|
+
eventInvalidAppHost,
|
|
22711
|
+
eventInvalidDelegate,
|
|
22712
|
+
eventInvalidDelegateAll,
|
|
22713
|
+
eventInvalidDelegateLight,
|
|
22714
|
+
eventInvalidDelegateShadow,
|
|
22715
|
+
eventInvalidDocument,
|
|
22716
|
+
eventInvalidLight,
|
|
22717
|
+
eventInvalidMutation,
|
|
22718
|
+
eventInvalidMutationAll,
|
|
22719
|
+
eventInvalidMutationLight,
|
|
22720
|
+
eventInvalidMutationShadow,
|
|
22721
|
+
eventInvalidShadow,
|
|
22722
|
+
eventInvalidThis,
|
|
22723
|
+
eventInvalidWindow,
|
|
22724
|
+
eventKeydown,
|
|
22725
|
+
eventKeydownAll,
|
|
22726
|
+
eventKeydownAppHost,
|
|
22727
|
+
eventKeydownDelegate,
|
|
22728
|
+
eventKeydownDelegateAll,
|
|
22729
|
+
eventKeydownDelegateLight,
|
|
22730
|
+
eventKeydownDelegateShadow,
|
|
22731
|
+
eventKeydownDocument,
|
|
22732
|
+
eventKeydownLight,
|
|
22733
|
+
eventKeydownMutation,
|
|
22734
|
+
eventKeydownMutationAll,
|
|
22735
|
+
eventKeydownMutationLight,
|
|
22736
|
+
eventKeydownMutationShadow,
|
|
22737
|
+
eventKeydownShadow,
|
|
22738
|
+
eventKeydownThis,
|
|
22739
|
+
eventKeydownWindow,
|
|
22740
|
+
eventKeypress,
|
|
22741
|
+
eventKeypressAll,
|
|
22742
|
+
eventKeypressAppHost,
|
|
22743
|
+
eventKeypressDelegate,
|
|
22744
|
+
eventKeypressDelegateAll,
|
|
22745
|
+
eventKeypressDelegateLight,
|
|
22746
|
+
eventKeypressDelegateShadow,
|
|
22747
|
+
eventKeypressDocument,
|
|
22748
|
+
eventKeypressLight,
|
|
22749
|
+
eventKeypressMutation,
|
|
22750
|
+
eventKeypressMutationAll,
|
|
22751
|
+
eventKeypressMutationLight,
|
|
22752
|
+
eventKeypressMutationShadow,
|
|
22753
|
+
eventKeypressShadow,
|
|
22754
|
+
eventKeypressThis,
|
|
22755
|
+
eventKeypressWindow,
|
|
22756
|
+
eventKeyup,
|
|
22757
|
+
eventKeyupAll,
|
|
22758
|
+
eventKeyupAppHost,
|
|
22759
|
+
eventKeyupDelegate,
|
|
22760
|
+
eventKeyupDelegateAll,
|
|
22761
|
+
eventKeyupDelegateLight,
|
|
22762
|
+
eventKeyupDelegateShadow,
|
|
22763
|
+
eventKeyupDocument,
|
|
22764
|
+
eventKeyupLight,
|
|
22765
|
+
eventKeyupMutation,
|
|
22766
|
+
eventKeyupMutationAll,
|
|
22767
|
+
eventKeyupMutationLight,
|
|
22768
|
+
eventKeyupMutationShadow,
|
|
22769
|
+
eventKeyupShadow,
|
|
22770
|
+
eventKeyupThis,
|
|
22771
|
+
eventKeyupWindow,
|
|
21055
22772
|
eventLight,
|
|
22773
|
+
eventLoad,
|
|
22774
|
+
eventLoadAll,
|
|
22775
|
+
eventLoadAppHost,
|
|
22776
|
+
eventLoadDelegate,
|
|
22777
|
+
eventLoadDelegateAll,
|
|
22778
|
+
eventLoadDelegateLight,
|
|
22779
|
+
eventLoadDelegateShadow,
|
|
22780
|
+
eventLoadDocument,
|
|
22781
|
+
eventLoadLight,
|
|
22782
|
+
eventLoadMutation,
|
|
22783
|
+
eventLoadMutationAll,
|
|
22784
|
+
eventLoadMutationLight,
|
|
22785
|
+
eventLoadMutationShadow,
|
|
22786
|
+
eventLoadShadow,
|
|
22787
|
+
eventLoadThis,
|
|
22788
|
+
eventLoadWindow,
|
|
22789
|
+
eventMedia,
|
|
22790
|
+
eventMediaChange,
|
|
22791
|
+
eventMousedown,
|
|
22792
|
+
eventMousedownAll,
|
|
22793
|
+
eventMousedownAppHost,
|
|
22794
|
+
eventMousedownDelegate,
|
|
22795
|
+
eventMousedownDelegateAll,
|
|
22796
|
+
eventMousedownDelegateLight,
|
|
22797
|
+
eventMousedownDelegateShadow,
|
|
22798
|
+
eventMousedownDocument,
|
|
22799
|
+
eventMousedownLight,
|
|
22800
|
+
eventMousedownMutation,
|
|
22801
|
+
eventMousedownMutationAll,
|
|
22802
|
+
eventMousedownMutationLight,
|
|
22803
|
+
eventMousedownMutationShadow,
|
|
22804
|
+
eventMousedownShadow,
|
|
22805
|
+
eventMousedownThis,
|
|
22806
|
+
eventMousedownWindow,
|
|
22807
|
+
eventMouseenter,
|
|
22808
|
+
eventMouseenterAll,
|
|
22809
|
+
eventMouseenterAppHost,
|
|
22810
|
+
eventMouseenterDelegate,
|
|
22811
|
+
eventMouseenterDelegateAll,
|
|
22812
|
+
eventMouseenterDelegateLight,
|
|
22813
|
+
eventMouseenterDelegateShadow,
|
|
22814
|
+
eventMouseenterDocument,
|
|
22815
|
+
eventMouseenterLight,
|
|
22816
|
+
eventMouseenterMutation,
|
|
22817
|
+
eventMouseenterMutationAll,
|
|
22818
|
+
eventMouseenterMutationLight,
|
|
22819
|
+
eventMouseenterMutationShadow,
|
|
22820
|
+
eventMouseenterShadow,
|
|
22821
|
+
eventMouseenterThis,
|
|
22822
|
+
eventMouseenterWindow,
|
|
22823
|
+
eventMouseleave,
|
|
22824
|
+
eventMouseleaveAll,
|
|
22825
|
+
eventMouseleaveAppHost,
|
|
22826
|
+
eventMouseleaveDelegate,
|
|
22827
|
+
eventMouseleaveDelegateAll,
|
|
22828
|
+
eventMouseleaveDelegateLight,
|
|
22829
|
+
eventMouseleaveDelegateShadow,
|
|
22830
|
+
eventMouseleaveDocument,
|
|
22831
|
+
eventMouseleaveLight,
|
|
22832
|
+
eventMouseleaveMutation,
|
|
22833
|
+
eventMouseleaveMutationAll,
|
|
22834
|
+
eventMouseleaveMutationLight,
|
|
22835
|
+
eventMouseleaveMutationShadow,
|
|
22836
|
+
eventMouseleaveShadow,
|
|
22837
|
+
eventMouseleaveThis,
|
|
22838
|
+
eventMouseleaveWindow,
|
|
22839
|
+
eventMousemove,
|
|
22840
|
+
eventMousemoveAll,
|
|
22841
|
+
eventMousemoveAppHost,
|
|
22842
|
+
eventMousemoveDelegate,
|
|
22843
|
+
eventMousemoveDelegateAll,
|
|
22844
|
+
eventMousemoveDelegateLight,
|
|
22845
|
+
eventMousemoveDelegateShadow,
|
|
22846
|
+
eventMousemoveDocument,
|
|
22847
|
+
eventMousemoveLight,
|
|
22848
|
+
eventMousemoveMutation,
|
|
22849
|
+
eventMousemoveMutationAll,
|
|
22850
|
+
eventMousemoveMutationLight,
|
|
22851
|
+
eventMousemoveMutationShadow,
|
|
22852
|
+
eventMousemoveShadow,
|
|
22853
|
+
eventMousemoveThis,
|
|
22854
|
+
eventMousemoveWindow,
|
|
22855
|
+
eventMouseout,
|
|
22856
|
+
eventMouseoutAll,
|
|
22857
|
+
eventMouseoutAppHost,
|
|
22858
|
+
eventMouseoutDelegate,
|
|
22859
|
+
eventMouseoutDelegateAll,
|
|
22860
|
+
eventMouseoutDelegateLight,
|
|
22861
|
+
eventMouseoutDelegateShadow,
|
|
22862
|
+
eventMouseoutDocument,
|
|
22863
|
+
eventMouseoutLight,
|
|
22864
|
+
eventMouseoutMutation,
|
|
22865
|
+
eventMouseoutMutationAll,
|
|
22866
|
+
eventMouseoutMutationLight,
|
|
22867
|
+
eventMouseoutMutationShadow,
|
|
22868
|
+
eventMouseoutShadow,
|
|
22869
|
+
eventMouseoutThis,
|
|
22870
|
+
eventMouseoutWindow,
|
|
22871
|
+
eventMouseover,
|
|
22872
|
+
eventMouseoverAll,
|
|
22873
|
+
eventMouseoverAppHost,
|
|
22874
|
+
eventMouseoverDelegate,
|
|
22875
|
+
eventMouseoverDelegateAll,
|
|
22876
|
+
eventMouseoverDelegateLight,
|
|
22877
|
+
eventMouseoverDelegateShadow,
|
|
22878
|
+
eventMouseoverDocument,
|
|
22879
|
+
eventMouseoverLight,
|
|
22880
|
+
eventMouseoverMutation,
|
|
22881
|
+
eventMouseoverMutationAll,
|
|
22882
|
+
eventMouseoverMutationLight,
|
|
22883
|
+
eventMouseoverMutationShadow,
|
|
22884
|
+
eventMouseoverShadow,
|
|
22885
|
+
eventMouseoverThis,
|
|
22886
|
+
eventMouseoverWindow,
|
|
22887
|
+
eventMouseup,
|
|
22888
|
+
eventMouseupAll,
|
|
22889
|
+
eventMouseupAppHost,
|
|
22890
|
+
eventMouseupDelegate,
|
|
22891
|
+
eventMouseupDelegateAll,
|
|
22892
|
+
eventMouseupDelegateLight,
|
|
22893
|
+
eventMouseupDelegateShadow,
|
|
22894
|
+
eventMouseupDocument,
|
|
22895
|
+
eventMouseupLight,
|
|
22896
|
+
eventMouseupMutation,
|
|
22897
|
+
eventMouseupMutationAll,
|
|
22898
|
+
eventMouseupMutationLight,
|
|
22899
|
+
eventMouseupMutationShadow,
|
|
22900
|
+
eventMouseupShadow,
|
|
22901
|
+
eventMouseupThis,
|
|
22902
|
+
eventMouseupWindow,
|
|
21056
22903
|
eventMutation,
|
|
21057
22904
|
eventMutationAll,
|
|
21058
22905
|
eventMutationLight,
|
|
21059
22906
|
eventMutationShadow,
|
|
22907
|
+
eventObject,
|
|
22908
|
+
eventPaste,
|
|
22909
|
+
eventPasteAll,
|
|
22910
|
+
eventPasteAppHost,
|
|
22911
|
+
eventPasteDelegate,
|
|
22912
|
+
eventPasteDelegateAll,
|
|
22913
|
+
eventPasteDelegateLight,
|
|
22914
|
+
eventPasteDelegateShadow,
|
|
22915
|
+
eventPasteDocument,
|
|
22916
|
+
eventPasteLight,
|
|
22917
|
+
eventPasteMutation,
|
|
22918
|
+
eventPasteMutationAll,
|
|
22919
|
+
eventPasteMutationLight,
|
|
22920
|
+
eventPasteMutationShadow,
|
|
22921
|
+
eventPasteShadow,
|
|
22922
|
+
eventPasteThis,
|
|
22923
|
+
eventPasteWindow,
|
|
22924
|
+
eventPointercancel,
|
|
22925
|
+
eventPointercancelAll,
|
|
22926
|
+
eventPointercancelAppHost,
|
|
22927
|
+
eventPointercancelDelegate,
|
|
22928
|
+
eventPointercancelDelegateAll,
|
|
22929
|
+
eventPointercancelDelegateLight,
|
|
22930
|
+
eventPointercancelDelegateShadow,
|
|
22931
|
+
eventPointercancelDocument,
|
|
22932
|
+
eventPointercancelLight,
|
|
22933
|
+
eventPointercancelMutation,
|
|
22934
|
+
eventPointercancelMutationAll,
|
|
22935
|
+
eventPointercancelMutationLight,
|
|
22936
|
+
eventPointercancelMutationShadow,
|
|
22937
|
+
eventPointercancelShadow,
|
|
22938
|
+
eventPointercancelThis,
|
|
22939
|
+
eventPointercancelWindow,
|
|
22940
|
+
eventPointerdown,
|
|
22941
|
+
eventPointerdownAll,
|
|
22942
|
+
eventPointerdownAppHost,
|
|
22943
|
+
eventPointerdownDelegate,
|
|
22944
|
+
eventPointerdownDelegateAll,
|
|
22945
|
+
eventPointerdownDelegateLight,
|
|
22946
|
+
eventPointerdownDelegateShadow,
|
|
22947
|
+
eventPointerdownDocument,
|
|
22948
|
+
eventPointerdownLight,
|
|
22949
|
+
eventPointerdownMutation,
|
|
22950
|
+
eventPointerdownMutationAll,
|
|
22951
|
+
eventPointerdownMutationLight,
|
|
22952
|
+
eventPointerdownMutationShadow,
|
|
22953
|
+
eventPointerdownShadow,
|
|
22954
|
+
eventPointerdownThis,
|
|
22955
|
+
eventPointerdownWindow,
|
|
22956
|
+
eventPointerenter,
|
|
22957
|
+
eventPointerenterAll,
|
|
22958
|
+
eventPointerenterAppHost,
|
|
22959
|
+
eventPointerenterDelegate,
|
|
22960
|
+
eventPointerenterDelegateAll,
|
|
22961
|
+
eventPointerenterDelegateLight,
|
|
22962
|
+
eventPointerenterDelegateShadow,
|
|
22963
|
+
eventPointerenterDocument,
|
|
22964
|
+
eventPointerenterLight,
|
|
22965
|
+
eventPointerenterMutation,
|
|
22966
|
+
eventPointerenterMutationAll,
|
|
22967
|
+
eventPointerenterMutationLight,
|
|
22968
|
+
eventPointerenterMutationShadow,
|
|
22969
|
+
eventPointerenterShadow,
|
|
22970
|
+
eventPointerenterThis,
|
|
22971
|
+
eventPointerenterWindow,
|
|
22972
|
+
eventPointerleave,
|
|
22973
|
+
eventPointerleaveAll,
|
|
22974
|
+
eventPointerleaveAppHost,
|
|
22975
|
+
eventPointerleaveDelegate,
|
|
22976
|
+
eventPointerleaveDelegateAll,
|
|
22977
|
+
eventPointerleaveDelegateLight,
|
|
22978
|
+
eventPointerleaveDelegateShadow,
|
|
22979
|
+
eventPointerleaveDocument,
|
|
22980
|
+
eventPointerleaveLight,
|
|
22981
|
+
eventPointerleaveMutation,
|
|
22982
|
+
eventPointerleaveMutationAll,
|
|
22983
|
+
eventPointerleaveMutationLight,
|
|
22984
|
+
eventPointerleaveMutationShadow,
|
|
22985
|
+
eventPointerleaveShadow,
|
|
22986
|
+
eventPointerleaveThis,
|
|
22987
|
+
eventPointerleaveWindow,
|
|
22988
|
+
eventPointermove,
|
|
22989
|
+
eventPointermoveAll,
|
|
22990
|
+
eventPointermoveAppHost,
|
|
22991
|
+
eventPointermoveDelegate,
|
|
22992
|
+
eventPointermoveDelegateAll,
|
|
22993
|
+
eventPointermoveDelegateLight,
|
|
22994
|
+
eventPointermoveDelegateShadow,
|
|
22995
|
+
eventPointermoveDocument,
|
|
22996
|
+
eventPointermoveLight,
|
|
22997
|
+
eventPointermoveMutation,
|
|
22998
|
+
eventPointermoveMutationAll,
|
|
22999
|
+
eventPointermoveMutationLight,
|
|
23000
|
+
eventPointermoveMutationShadow,
|
|
23001
|
+
eventPointermoveShadow,
|
|
23002
|
+
eventPointermoveThis,
|
|
23003
|
+
eventPointermoveWindow,
|
|
23004
|
+
eventPointerout,
|
|
23005
|
+
eventPointeroutAll,
|
|
23006
|
+
eventPointeroutAppHost,
|
|
23007
|
+
eventPointeroutDelegate,
|
|
23008
|
+
eventPointeroutDelegateAll,
|
|
23009
|
+
eventPointeroutDelegateLight,
|
|
23010
|
+
eventPointeroutDelegateShadow,
|
|
23011
|
+
eventPointeroutDocument,
|
|
23012
|
+
eventPointeroutLight,
|
|
23013
|
+
eventPointeroutMutation,
|
|
23014
|
+
eventPointeroutMutationAll,
|
|
23015
|
+
eventPointeroutMutationLight,
|
|
23016
|
+
eventPointeroutMutationShadow,
|
|
23017
|
+
eventPointeroutShadow,
|
|
23018
|
+
eventPointeroutThis,
|
|
23019
|
+
eventPointeroutWindow,
|
|
23020
|
+
eventPointerover,
|
|
23021
|
+
eventPointeroverAll,
|
|
23022
|
+
eventPointeroverAppHost,
|
|
23023
|
+
eventPointeroverDelegate,
|
|
23024
|
+
eventPointeroverDelegateAll,
|
|
23025
|
+
eventPointeroverDelegateLight,
|
|
23026
|
+
eventPointeroverDelegateShadow,
|
|
23027
|
+
eventPointeroverDocument,
|
|
23028
|
+
eventPointeroverLight,
|
|
23029
|
+
eventPointeroverMutation,
|
|
23030
|
+
eventPointeroverMutationAll,
|
|
23031
|
+
eventPointeroverMutationLight,
|
|
23032
|
+
eventPointeroverMutationShadow,
|
|
23033
|
+
eventPointeroverShadow,
|
|
23034
|
+
eventPointeroverThis,
|
|
23035
|
+
eventPointeroverWindow,
|
|
23036
|
+
eventPointerup,
|
|
23037
|
+
eventPointerupAll,
|
|
23038
|
+
eventPointerupAppHost,
|
|
23039
|
+
eventPointerupDelegate,
|
|
23040
|
+
eventPointerupDelegateAll,
|
|
23041
|
+
eventPointerupDelegateLight,
|
|
23042
|
+
eventPointerupDelegateShadow,
|
|
23043
|
+
eventPointerupDocument,
|
|
23044
|
+
eventPointerupLight,
|
|
23045
|
+
eventPointerupMutation,
|
|
23046
|
+
eventPointerupMutationAll,
|
|
23047
|
+
eventPointerupMutationLight,
|
|
23048
|
+
eventPointerupMutationShadow,
|
|
23049
|
+
eventPointerupShadow,
|
|
23050
|
+
eventPointerupThis,
|
|
23051
|
+
eventPointerupWindow,
|
|
23052
|
+
eventReset,
|
|
23053
|
+
eventResetAll,
|
|
23054
|
+
eventResetAppHost,
|
|
23055
|
+
eventResetDelegate,
|
|
23056
|
+
eventResetDelegateAll,
|
|
23057
|
+
eventResetDelegateLight,
|
|
23058
|
+
eventResetDelegateShadow,
|
|
23059
|
+
eventResetDocument,
|
|
23060
|
+
eventResetLight,
|
|
23061
|
+
eventResetMutation,
|
|
23062
|
+
eventResetMutationAll,
|
|
23063
|
+
eventResetMutationLight,
|
|
23064
|
+
eventResetMutationShadow,
|
|
23065
|
+
eventResetShadow,
|
|
23066
|
+
eventResetThis,
|
|
23067
|
+
eventResetWindow,
|
|
23068
|
+
eventResize,
|
|
23069
|
+
eventResizeAll,
|
|
23070
|
+
eventResizeAppHost,
|
|
23071
|
+
eventResizeDelegate,
|
|
23072
|
+
eventResizeDelegateAll,
|
|
23073
|
+
eventResizeDelegateLight,
|
|
23074
|
+
eventResizeDelegateShadow,
|
|
23075
|
+
eventResizeDocument,
|
|
23076
|
+
eventResizeLight,
|
|
23077
|
+
eventResizeMutation,
|
|
23078
|
+
eventResizeMutationAll,
|
|
23079
|
+
eventResizeMutationLight,
|
|
23080
|
+
eventResizeMutationShadow,
|
|
23081
|
+
eventResizeShadow,
|
|
23082
|
+
eventResizeThis,
|
|
23083
|
+
eventResizeWindow,
|
|
23084
|
+
eventScroll,
|
|
23085
|
+
eventScrollAll,
|
|
23086
|
+
eventScrollAppHost,
|
|
23087
|
+
eventScrollDelegate,
|
|
23088
|
+
eventScrollDelegateAll,
|
|
23089
|
+
eventScrollDelegateLight,
|
|
23090
|
+
eventScrollDelegateShadow,
|
|
23091
|
+
eventScrollDocument,
|
|
23092
|
+
eventScrollLight,
|
|
23093
|
+
eventScrollMutation,
|
|
23094
|
+
eventScrollMutationAll,
|
|
23095
|
+
eventScrollMutationLight,
|
|
23096
|
+
eventScrollMutationShadow,
|
|
23097
|
+
eventScrollShadow,
|
|
23098
|
+
eventScrollThis,
|
|
23099
|
+
eventScrollWindow,
|
|
23100
|
+
eventSelect,
|
|
23101
|
+
eventSelectAll,
|
|
23102
|
+
eventSelectAppHost,
|
|
23103
|
+
eventSelectDelegate,
|
|
23104
|
+
eventSelectDelegateAll,
|
|
23105
|
+
eventSelectDelegateLight,
|
|
23106
|
+
eventSelectDelegateShadow,
|
|
23107
|
+
eventSelectDocument,
|
|
23108
|
+
eventSelectLight,
|
|
23109
|
+
eventSelectMutation,
|
|
23110
|
+
eventSelectMutationAll,
|
|
23111
|
+
eventSelectMutationLight,
|
|
23112
|
+
eventSelectMutationShadow,
|
|
23113
|
+
eventSelectShadow,
|
|
23114
|
+
eventSelectThis,
|
|
23115
|
+
eventSelectWindow,
|
|
21060
23116
|
eventShadow,
|
|
23117
|
+
eventSubmit,
|
|
23118
|
+
eventSubmitAll,
|
|
23119
|
+
eventSubmitAppHost,
|
|
23120
|
+
eventSubmitDelegate,
|
|
23121
|
+
eventSubmitDelegateAll,
|
|
23122
|
+
eventSubmitDelegateLight,
|
|
23123
|
+
eventSubmitDelegateShadow,
|
|
23124
|
+
eventSubmitDocument,
|
|
23125
|
+
eventSubmitLight,
|
|
23126
|
+
eventSubmitMutation,
|
|
23127
|
+
eventSubmitMutationAll,
|
|
23128
|
+
eventSubmitMutationLight,
|
|
23129
|
+
eventSubmitMutationShadow,
|
|
23130
|
+
eventSubmitShadow,
|
|
23131
|
+
eventSubmitThis,
|
|
23132
|
+
eventSubmitWindow,
|
|
21061
23133
|
eventThis,
|
|
23134
|
+
eventToggle,
|
|
23135
|
+
eventToggleAll,
|
|
23136
|
+
eventToggleAppHost,
|
|
23137
|
+
eventToggleDelegate,
|
|
23138
|
+
eventToggleDelegateAll,
|
|
23139
|
+
eventToggleDelegateLight,
|
|
23140
|
+
eventToggleDelegateShadow,
|
|
23141
|
+
eventToggleDocument,
|
|
23142
|
+
eventToggleLight,
|
|
23143
|
+
eventToggleMutation,
|
|
23144
|
+
eventToggleMutationAll,
|
|
23145
|
+
eventToggleMutationLight,
|
|
23146
|
+
eventToggleMutationShadow,
|
|
23147
|
+
eventToggleShadow,
|
|
23148
|
+
eventToggleThis,
|
|
23149
|
+
eventToggleWindow,
|
|
23150
|
+
eventTouchcancel,
|
|
23151
|
+
eventTouchcancelAll,
|
|
23152
|
+
eventTouchcancelAppHost,
|
|
23153
|
+
eventTouchcancelDelegate,
|
|
23154
|
+
eventTouchcancelDelegateAll,
|
|
23155
|
+
eventTouchcancelDelegateLight,
|
|
23156
|
+
eventTouchcancelDelegateShadow,
|
|
23157
|
+
eventTouchcancelDocument,
|
|
23158
|
+
eventTouchcancelLight,
|
|
23159
|
+
eventTouchcancelMutation,
|
|
23160
|
+
eventTouchcancelMutationAll,
|
|
23161
|
+
eventTouchcancelMutationLight,
|
|
23162
|
+
eventTouchcancelMutationShadow,
|
|
23163
|
+
eventTouchcancelShadow,
|
|
23164
|
+
eventTouchcancelThis,
|
|
23165
|
+
eventTouchcancelWindow,
|
|
23166
|
+
eventTouchend,
|
|
23167
|
+
eventTouchendAll,
|
|
23168
|
+
eventTouchendAppHost,
|
|
23169
|
+
eventTouchendDelegate,
|
|
23170
|
+
eventTouchendDelegateAll,
|
|
23171
|
+
eventTouchendDelegateLight,
|
|
23172
|
+
eventTouchendDelegateShadow,
|
|
23173
|
+
eventTouchendDocument,
|
|
23174
|
+
eventTouchendLight,
|
|
23175
|
+
eventTouchendMutation,
|
|
23176
|
+
eventTouchendMutationAll,
|
|
23177
|
+
eventTouchendMutationLight,
|
|
23178
|
+
eventTouchendMutationShadow,
|
|
23179
|
+
eventTouchendShadow,
|
|
23180
|
+
eventTouchendThis,
|
|
23181
|
+
eventTouchendWindow,
|
|
23182
|
+
eventTouchmove,
|
|
23183
|
+
eventTouchmoveAll,
|
|
23184
|
+
eventTouchmoveAppHost,
|
|
23185
|
+
eventTouchmoveDelegate,
|
|
23186
|
+
eventTouchmoveDelegateAll,
|
|
23187
|
+
eventTouchmoveDelegateLight,
|
|
23188
|
+
eventTouchmoveDelegateShadow,
|
|
23189
|
+
eventTouchmoveDocument,
|
|
23190
|
+
eventTouchmoveLight,
|
|
23191
|
+
eventTouchmoveMutation,
|
|
23192
|
+
eventTouchmoveMutationAll,
|
|
23193
|
+
eventTouchmoveMutationLight,
|
|
23194
|
+
eventTouchmoveMutationShadow,
|
|
23195
|
+
eventTouchmoveShadow,
|
|
23196
|
+
eventTouchmoveThis,
|
|
23197
|
+
eventTouchmoveWindow,
|
|
23198
|
+
eventTouchstart,
|
|
23199
|
+
eventTouchstartAll,
|
|
23200
|
+
eventTouchstartAppHost,
|
|
23201
|
+
eventTouchstartDelegate,
|
|
23202
|
+
eventTouchstartDelegateAll,
|
|
23203
|
+
eventTouchstartDelegateLight,
|
|
23204
|
+
eventTouchstartDelegateShadow,
|
|
23205
|
+
eventTouchstartDocument,
|
|
23206
|
+
eventTouchstartLight,
|
|
23207
|
+
eventTouchstartMutation,
|
|
23208
|
+
eventTouchstartMutationAll,
|
|
23209
|
+
eventTouchstartMutationLight,
|
|
23210
|
+
eventTouchstartMutationShadow,
|
|
23211
|
+
eventTouchstartShadow,
|
|
23212
|
+
eventTouchstartThis,
|
|
23213
|
+
eventTouchstartWindow,
|
|
23214
|
+
eventTransitioncancel,
|
|
23215
|
+
eventTransitioncancelAll,
|
|
23216
|
+
eventTransitioncancelAppHost,
|
|
23217
|
+
eventTransitioncancelDelegate,
|
|
23218
|
+
eventTransitioncancelDelegateAll,
|
|
23219
|
+
eventTransitioncancelDelegateLight,
|
|
23220
|
+
eventTransitioncancelDelegateShadow,
|
|
23221
|
+
eventTransitioncancelDocument,
|
|
23222
|
+
eventTransitioncancelLight,
|
|
23223
|
+
eventTransitioncancelMutation,
|
|
23224
|
+
eventTransitioncancelMutationAll,
|
|
23225
|
+
eventTransitioncancelMutationLight,
|
|
23226
|
+
eventTransitioncancelMutationShadow,
|
|
23227
|
+
eventTransitioncancelShadow,
|
|
23228
|
+
eventTransitioncancelThis,
|
|
23229
|
+
eventTransitioncancelWindow,
|
|
23230
|
+
eventTransitionend,
|
|
23231
|
+
eventTransitionendAll,
|
|
23232
|
+
eventTransitionendAppHost,
|
|
23233
|
+
eventTransitionendDelegate,
|
|
23234
|
+
eventTransitionendDelegateAll,
|
|
23235
|
+
eventTransitionendDelegateLight,
|
|
23236
|
+
eventTransitionendDelegateShadow,
|
|
23237
|
+
eventTransitionendDocument,
|
|
23238
|
+
eventTransitionendLight,
|
|
23239
|
+
eventTransitionendMutation,
|
|
23240
|
+
eventTransitionendMutationAll,
|
|
23241
|
+
eventTransitionendMutationLight,
|
|
23242
|
+
eventTransitionendMutationShadow,
|
|
23243
|
+
eventTransitionendShadow,
|
|
23244
|
+
eventTransitionendThis,
|
|
23245
|
+
eventTransitionendWindow,
|
|
23246
|
+
eventTransitionrun,
|
|
23247
|
+
eventTransitionrunAll,
|
|
23248
|
+
eventTransitionrunAppHost,
|
|
23249
|
+
eventTransitionrunDelegate,
|
|
23250
|
+
eventTransitionrunDelegateAll,
|
|
23251
|
+
eventTransitionrunDelegateLight,
|
|
23252
|
+
eventTransitionrunDelegateShadow,
|
|
23253
|
+
eventTransitionrunDocument,
|
|
23254
|
+
eventTransitionrunLight,
|
|
23255
|
+
eventTransitionrunMutation,
|
|
23256
|
+
eventTransitionrunMutationAll,
|
|
23257
|
+
eventTransitionrunMutationLight,
|
|
23258
|
+
eventTransitionrunMutationShadow,
|
|
23259
|
+
eventTransitionrunShadow,
|
|
23260
|
+
eventTransitionrunThis,
|
|
23261
|
+
eventTransitionrunWindow,
|
|
23262
|
+
eventTransitionstart,
|
|
23263
|
+
eventTransitionstartAll,
|
|
23264
|
+
eventTransitionstartAppHost,
|
|
23265
|
+
eventTransitionstartDelegate,
|
|
23266
|
+
eventTransitionstartDelegateAll,
|
|
23267
|
+
eventTransitionstartDelegateLight,
|
|
23268
|
+
eventTransitionstartDelegateShadow,
|
|
23269
|
+
eventTransitionstartDocument,
|
|
23270
|
+
eventTransitionstartLight,
|
|
23271
|
+
eventTransitionstartMutation,
|
|
23272
|
+
eventTransitionstartMutationAll,
|
|
23273
|
+
eventTransitionstartMutationLight,
|
|
23274
|
+
eventTransitionstartMutationShadow,
|
|
23275
|
+
eventTransitionstartShadow,
|
|
23276
|
+
eventTransitionstartThis,
|
|
23277
|
+
eventTransitionstartWindow,
|
|
23278
|
+
eventWheel,
|
|
23279
|
+
eventWheelAll,
|
|
23280
|
+
eventWheelAppHost,
|
|
23281
|
+
eventWheelDelegate,
|
|
23282
|
+
eventWheelDelegateAll,
|
|
23283
|
+
eventWheelDelegateLight,
|
|
23284
|
+
eventWheelDelegateShadow,
|
|
23285
|
+
eventWheelDocument,
|
|
23286
|
+
eventWheelLight,
|
|
23287
|
+
eventWheelMutation,
|
|
23288
|
+
eventWheelMutationAll,
|
|
23289
|
+
eventWheelMutationLight,
|
|
23290
|
+
eventWheelMutationShadow,
|
|
23291
|
+
eventWheelShadow,
|
|
23292
|
+
eventWheelThis,
|
|
23293
|
+
eventWheelWindow,
|
|
21062
23294
|
eventWindow,
|
|
21063
23295
|
findAllApplyNodeMetadata,
|
|
21064
23296
|
findAllApplySlotMetadata,
|
|
@@ -21066,12 +23298,14 @@ export {
|
|
|
21066
23298
|
findAllAttributeChangedMetadata,
|
|
21067
23299
|
findAllAttributeMetadata,
|
|
21068
23300
|
findAllClassMetadata,
|
|
23301
|
+
findAllEventMediaMetadata,
|
|
21069
23302
|
findAllLifecycleMetadata,
|
|
21070
23303
|
findAllOnConnectedAfterMetadata,
|
|
21071
23304
|
findAllOnConnectedBeforeMetadata,
|
|
21072
23305
|
findAllOnConnectedMetadata,
|
|
21073
23306
|
findAllPropertyApplyMetadata,
|
|
21074
23307
|
findAllPropertyMetadata,
|
|
23308
|
+
findAllRequestAnimationFrameMetadata,
|
|
21075
23309
|
findAllSetIntervalMetadata,
|
|
21076
23310
|
findAllSetTimeoutMetadata,
|
|
21077
23311
|
findAllStateMetadata,
|
|
@@ -21083,12 +23317,16 @@ export {
|
|
|
21083
23317
|
getEmitCustomEventMetadataList,
|
|
21084
23318
|
getIntersectionObserverMetadata,
|
|
21085
23319
|
getMutationObserverMetadata,
|
|
23320
|
+
getParameterMetadata,
|
|
21086
23321
|
getPublishSwcAppMessageMetadata,
|
|
21087
23322
|
getQueryAllMetadata,
|
|
21088
23323
|
getQueryMetadata,
|
|
21089
23324
|
getResizeObserverMetadata,
|
|
21090
23325
|
getSubscribeSwcAppMessageWhileConnectedMetadata,
|
|
21091
23326
|
getSubscribeSwcAppRouteChangeWhileConnectedMetadata,
|
|
23327
|
+
helperHostSet,
|
|
23328
|
+
helperSet,
|
|
23329
|
+
hostSet,
|
|
21092
23330
|
html,
|
|
21093
23331
|
htmlAElement,
|
|
21094
23332
|
htmlArticleElement,
|
|
@@ -21122,6 +23360,8 @@ export {
|
|
|
21122
23360
|
intersectionObserverShadow,
|
|
21123
23361
|
intersectionObserverThis,
|
|
21124
23362
|
isSSR,
|
|
23363
|
+
makeTypedEventAliases,
|
|
23364
|
+
matchedElement,
|
|
21125
23365
|
mutationObserver,
|
|
21126
23366
|
mutationObserverAll,
|
|
21127
23367
|
mutationObserverDelegate,
|
|
@@ -21182,6 +23422,7 @@ export {
|
|
|
21182
23422
|
replaceChildrenLight,
|
|
21183
23423
|
replaceChildrenSlot,
|
|
21184
23424
|
replaceChildrenTextSlot,
|
|
23425
|
+
requestAnimationFrame,
|
|
21185
23426
|
resizeObserver,
|
|
21186
23427
|
resizeObserverAll,
|
|
21187
23428
|
resizeObserverDelegate,
|
|
@@ -21194,6 +23435,7 @@ export {
|
|
|
21194
23435
|
resolveAttributeTargets,
|
|
21195
23436
|
resolvePropertyTargets,
|
|
21196
23437
|
resolveQueryElements,
|
|
23438
|
+
routerEvent,
|
|
21197
23439
|
setAttribute,
|
|
21198
23440
|
setClass,
|
|
21199
23441
|
setInterval2 as setInterval,
|