@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
|
@@ -1133,8 +1133,10 @@ var dooboostoreSimpleWebComponent = (() => {
|
|
|
1133
1133
|
DOM_EVENT_NAMES: () => DOM_EVENT_NAMES,
|
|
1134
1134
|
ELEMENT_CONFIG_KEY: () => ELEMENT_CONFIG_KEY,
|
|
1135
1135
|
EMIT_CUSTOM_EVENT_METADATA_KEY: () => EMIT_CUSTOM_EVENT_METADATA_KEY,
|
|
1136
|
+
EVENT_MEDIA_METADATA_KEY: () => EVENT_MEDIA_METADATA_KEY,
|
|
1136
1137
|
EmitCustomEventLifeCycler: () => EmitCustomEventLifeCycler,
|
|
1137
1138
|
EventListenerLifeCycler: () => EventListenerLifeCycler,
|
|
1139
|
+
EventMediaLifeCycler: () => EventMediaLifeCycler,
|
|
1138
1140
|
HTML_TAG_ENTRIES: () => HTML_TAG_ENTRIES,
|
|
1139
1141
|
INTERSECTION_OBSERVER_METADATA_KEY: () => INTERSECTION_OBSERVER_METADATA_KEY,
|
|
1140
1142
|
InjectSituationType: () => InjectSituationType2,
|
|
@@ -1158,7 +1160,9 @@ var dooboostoreSimpleWebComponent = (() => {
|
|
|
1158
1160
|
PUBLISH_SWC_APP_MESSAGE_METADATA_KEY: () => PUBLISH_SWC_APP_MESSAGE_METADATA_KEY,
|
|
1159
1161
|
QUERY_ALL_METADATA_KEY: () => QUERY_ALL_METADATA_KEY,
|
|
1160
1162
|
QUERY_METADATA_KEY: () => QUERY_METADATA_KEY,
|
|
1163
|
+
REQUEST_ANIMATION_FRAME_METADATA_KEY: () => REQUEST_ANIMATION_FRAME_METADATA_KEY,
|
|
1161
1164
|
RESIZE_OBSERVER_METADATA_KEY: () => RESIZE_OBSERVER_METADATA_KEY,
|
|
1165
|
+
RequestAnimationFrameLifeCycler: () => RequestAnimationFrameLifeCycler,
|
|
1162
1166
|
ResizeObserverLifeCycler: () => ResizeObserverLifeCycler,
|
|
1163
1167
|
RouteSubscribeLifeCycler: () => RouteSubscribeLifeCycler,
|
|
1164
1168
|
SET_INTERVAL_METADATA_KEY: () => SET_INTERVAL_METADATA_KEY,
|
|
@@ -1201,6 +1205,7 @@ var dooboostoreSimpleWebComponent = (() => {
|
|
|
1201
1205
|
addEventListenerShadow: () => addEventListenerShadow,
|
|
1202
1206
|
addEventListenerThis: () => addEventListenerThis,
|
|
1203
1207
|
addEventListenerWindow: () => addEventListenerWindow,
|
|
1208
|
+
appMessage: () => appMessage,
|
|
1204
1209
|
appendHtmlSlot: () => appendHtmlSlot,
|
|
1205
1210
|
appendSlot: () => appendSlot,
|
|
1206
1211
|
appendTextSlot: () => appendTextSlot,
|
|
@@ -1224,6 +1229,7 @@ var dooboostoreSimpleWebComponent = (() => {
|
|
|
1224
1229
|
attrShadow: () => attrShadow,
|
|
1225
1230
|
attrThis: () => attrThis,
|
|
1226
1231
|
attribute: () => attribute,
|
|
1232
|
+
buildSwcParameterArgs: () => buildSwcParameterArgs,
|
|
1227
1233
|
callProperty: () => callProperty,
|
|
1228
1234
|
callPropertyAll: () => callPropertyAll,
|
|
1229
1235
|
callPropertyLight: () => callPropertyLight,
|
|
@@ -1268,19 +1274,966 @@ var dooboostoreSimpleWebComponent = (() => {
|
|
|
1268
1274
|
ensureInit: () => ensureInit,
|
|
1269
1275
|
event: () => event,
|
|
1270
1276
|
eventAll: () => eventAll,
|
|
1277
|
+
eventAnimationcancel: () => eventAnimationcancel,
|
|
1278
|
+
eventAnimationcancelAll: () => eventAnimationcancelAll,
|
|
1279
|
+
eventAnimationcancelAppHost: () => eventAnimationcancelAppHost,
|
|
1280
|
+
eventAnimationcancelDelegate: () => eventAnimationcancelDelegate,
|
|
1281
|
+
eventAnimationcancelDelegateAll: () => eventAnimationcancelDelegateAll,
|
|
1282
|
+
eventAnimationcancelDelegateLight: () => eventAnimationcancelDelegateLight,
|
|
1283
|
+
eventAnimationcancelDelegateShadow: () => eventAnimationcancelDelegateShadow,
|
|
1284
|
+
eventAnimationcancelDocument: () => eventAnimationcancelDocument,
|
|
1285
|
+
eventAnimationcancelLight: () => eventAnimationcancelLight,
|
|
1286
|
+
eventAnimationcancelMutation: () => eventAnimationcancelMutation,
|
|
1287
|
+
eventAnimationcancelMutationAll: () => eventAnimationcancelMutationAll,
|
|
1288
|
+
eventAnimationcancelMutationLight: () => eventAnimationcancelMutationLight,
|
|
1289
|
+
eventAnimationcancelMutationShadow: () => eventAnimationcancelMutationShadow,
|
|
1290
|
+
eventAnimationcancelShadow: () => eventAnimationcancelShadow,
|
|
1291
|
+
eventAnimationcancelThis: () => eventAnimationcancelThis,
|
|
1292
|
+
eventAnimationcancelWindow: () => eventAnimationcancelWindow,
|
|
1293
|
+
eventAnimationend: () => eventAnimationend,
|
|
1294
|
+
eventAnimationendAll: () => eventAnimationendAll,
|
|
1295
|
+
eventAnimationendAppHost: () => eventAnimationendAppHost,
|
|
1296
|
+
eventAnimationendDelegate: () => eventAnimationendDelegate,
|
|
1297
|
+
eventAnimationendDelegateAll: () => eventAnimationendDelegateAll,
|
|
1298
|
+
eventAnimationendDelegateLight: () => eventAnimationendDelegateLight,
|
|
1299
|
+
eventAnimationendDelegateShadow: () => eventAnimationendDelegateShadow,
|
|
1300
|
+
eventAnimationendDocument: () => eventAnimationendDocument,
|
|
1301
|
+
eventAnimationendLight: () => eventAnimationendLight,
|
|
1302
|
+
eventAnimationendMutation: () => eventAnimationendMutation,
|
|
1303
|
+
eventAnimationendMutationAll: () => eventAnimationendMutationAll,
|
|
1304
|
+
eventAnimationendMutationLight: () => eventAnimationendMutationLight,
|
|
1305
|
+
eventAnimationendMutationShadow: () => eventAnimationendMutationShadow,
|
|
1306
|
+
eventAnimationendShadow: () => eventAnimationendShadow,
|
|
1307
|
+
eventAnimationendThis: () => eventAnimationendThis,
|
|
1308
|
+
eventAnimationendWindow: () => eventAnimationendWindow,
|
|
1309
|
+
eventAnimationiteration: () => eventAnimationiteration,
|
|
1310
|
+
eventAnimationiterationAll: () => eventAnimationiterationAll,
|
|
1311
|
+
eventAnimationiterationAppHost: () => eventAnimationiterationAppHost,
|
|
1312
|
+
eventAnimationiterationDelegate: () => eventAnimationiterationDelegate,
|
|
1313
|
+
eventAnimationiterationDelegateAll: () => eventAnimationiterationDelegateAll,
|
|
1314
|
+
eventAnimationiterationDelegateLight: () => eventAnimationiterationDelegateLight,
|
|
1315
|
+
eventAnimationiterationDelegateShadow: () => eventAnimationiterationDelegateShadow,
|
|
1316
|
+
eventAnimationiterationDocument: () => eventAnimationiterationDocument,
|
|
1317
|
+
eventAnimationiterationLight: () => eventAnimationiterationLight,
|
|
1318
|
+
eventAnimationiterationMutation: () => eventAnimationiterationMutation,
|
|
1319
|
+
eventAnimationiterationMutationAll: () => eventAnimationiterationMutationAll,
|
|
1320
|
+
eventAnimationiterationMutationLight: () => eventAnimationiterationMutationLight,
|
|
1321
|
+
eventAnimationiterationMutationShadow: () => eventAnimationiterationMutationShadow,
|
|
1322
|
+
eventAnimationiterationShadow: () => eventAnimationiterationShadow,
|
|
1323
|
+
eventAnimationiterationThis: () => eventAnimationiterationThis,
|
|
1324
|
+
eventAnimationiterationWindow: () => eventAnimationiterationWindow,
|
|
1325
|
+
eventAnimationstart: () => eventAnimationstart,
|
|
1326
|
+
eventAnimationstartAll: () => eventAnimationstartAll,
|
|
1327
|
+
eventAnimationstartAppHost: () => eventAnimationstartAppHost,
|
|
1328
|
+
eventAnimationstartDelegate: () => eventAnimationstartDelegate,
|
|
1329
|
+
eventAnimationstartDelegateAll: () => eventAnimationstartDelegateAll,
|
|
1330
|
+
eventAnimationstartDelegateLight: () => eventAnimationstartDelegateLight,
|
|
1331
|
+
eventAnimationstartDelegateShadow: () => eventAnimationstartDelegateShadow,
|
|
1332
|
+
eventAnimationstartDocument: () => eventAnimationstartDocument,
|
|
1333
|
+
eventAnimationstartLight: () => eventAnimationstartLight,
|
|
1334
|
+
eventAnimationstartMutation: () => eventAnimationstartMutation,
|
|
1335
|
+
eventAnimationstartMutationAll: () => eventAnimationstartMutationAll,
|
|
1336
|
+
eventAnimationstartMutationLight: () => eventAnimationstartMutationLight,
|
|
1337
|
+
eventAnimationstartMutationShadow: () => eventAnimationstartMutationShadow,
|
|
1338
|
+
eventAnimationstartShadow: () => eventAnimationstartShadow,
|
|
1339
|
+
eventAnimationstartThis: () => eventAnimationstartThis,
|
|
1340
|
+
eventAnimationstartWindow: () => eventAnimationstartWindow,
|
|
1271
1341
|
eventAppHost: () => eventAppHost,
|
|
1342
|
+
eventBlur: () => eventBlur,
|
|
1343
|
+
eventBlurAll: () => eventBlurAll,
|
|
1344
|
+
eventBlurAppHost: () => eventBlurAppHost,
|
|
1345
|
+
eventBlurDelegate: () => eventBlurDelegate,
|
|
1346
|
+
eventBlurDelegateAll: () => eventBlurDelegateAll,
|
|
1347
|
+
eventBlurDelegateLight: () => eventBlurDelegateLight,
|
|
1348
|
+
eventBlurDelegateShadow: () => eventBlurDelegateShadow,
|
|
1349
|
+
eventBlurDocument: () => eventBlurDocument,
|
|
1350
|
+
eventBlurLight: () => eventBlurLight,
|
|
1351
|
+
eventBlurMutation: () => eventBlurMutation,
|
|
1352
|
+
eventBlurMutationAll: () => eventBlurMutationAll,
|
|
1353
|
+
eventBlurMutationLight: () => eventBlurMutationLight,
|
|
1354
|
+
eventBlurMutationShadow: () => eventBlurMutationShadow,
|
|
1355
|
+
eventBlurShadow: () => eventBlurShadow,
|
|
1356
|
+
eventBlurThis: () => eventBlurThis,
|
|
1357
|
+
eventBlurWindow: () => eventBlurWindow,
|
|
1358
|
+
eventChange: () => eventChange,
|
|
1359
|
+
eventChangeAll: () => eventChangeAll,
|
|
1360
|
+
eventChangeAppHost: () => eventChangeAppHost,
|
|
1361
|
+
eventChangeDelegate: () => eventChangeDelegate,
|
|
1362
|
+
eventChangeDelegateAll: () => eventChangeDelegateAll,
|
|
1363
|
+
eventChangeDelegateLight: () => eventChangeDelegateLight,
|
|
1364
|
+
eventChangeDelegateShadow: () => eventChangeDelegateShadow,
|
|
1365
|
+
eventChangeDocument: () => eventChangeDocument,
|
|
1366
|
+
eventChangeLight: () => eventChangeLight,
|
|
1367
|
+
eventChangeMutation: () => eventChangeMutation,
|
|
1368
|
+
eventChangeMutationAll: () => eventChangeMutationAll,
|
|
1369
|
+
eventChangeMutationLight: () => eventChangeMutationLight,
|
|
1370
|
+
eventChangeMutationShadow: () => eventChangeMutationShadow,
|
|
1371
|
+
eventChangeShadow: () => eventChangeShadow,
|
|
1372
|
+
eventChangeThis: () => eventChangeThis,
|
|
1373
|
+
eventChangeWindow: () => eventChangeWindow,
|
|
1374
|
+
eventClick: () => eventClick,
|
|
1375
|
+
eventClickAll: () => eventClickAll,
|
|
1376
|
+
eventClickAppHost: () => eventClickAppHost,
|
|
1377
|
+
eventClickDelegate: () => eventClickDelegate,
|
|
1378
|
+
eventClickDelegateAll: () => eventClickDelegateAll,
|
|
1379
|
+
eventClickDelegateLight: () => eventClickDelegateLight,
|
|
1380
|
+
eventClickDelegateShadow: () => eventClickDelegateShadow,
|
|
1381
|
+
eventClickDocument: () => eventClickDocument,
|
|
1382
|
+
eventClickLight: () => eventClickLight,
|
|
1383
|
+
eventClickMutation: () => eventClickMutation,
|
|
1384
|
+
eventClickMutationAll: () => eventClickMutationAll,
|
|
1385
|
+
eventClickMutationLight: () => eventClickMutationLight,
|
|
1386
|
+
eventClickMutationShadow: () => eventClickMutationShadow,
|
|
1387
|
+
eventClickShadow: () => eventClickShadow,
|
|
1388
|
+
eventClickThis: () => eventClickThis,
|
|
1389
|
+
eventClickWindow: () => eventClickWindow,
|
|
1390
|
+
eventContextmenu: () => eventContextmenu,
|
|
1391
|
+
eventContextmenuAll: () => eventContextmenuAll,
|
|
1392
|
+
eventContextmenuAppHost: () => eventContextmenuAppHost,
|
|
1393
|
+
eventContextmenuDelegate: () => eventContextmenuDelegate,
|
|
1394
|
+
eventContextmenuDelegateAll: () => eventContextmenuDelegateAll,
|
|
1395
|
+
eventContextmenuDelegateLight: () => eventContextmenuDelegateLight,
|
|
1396
|
+
eventContextmenuDelegateShadow: () => eventContextmenuDelegateShadow,
|
|
1397
|
+
eventContextmenuDocument: () => eventContextmenuDocument,
|
|
1398
|
+
eventContextmenuLight: () => eventContextmenuLight,
|
|
1399
|
+
eventContextmenuMutation: () => eventContextmenuMutation,
|
|
1400
|
+
eventContextmenuMutationAll: () => eventContextmenuMutationAll,
|
|
1401
|
+
eventContextmenuMutationLight: () => eventContextmenuMutationLight,
|
|
1402
|
+
eventContextmenuMutationShadow: () => eventContextmenuMutationShadow,
|
|
1403
|
+
eventContextmenuShadow: () => eventContextmenuShadow,
|
|
1404
|
+
eventContextmenuThis: () => eventContextmenuThis,
|
|
1405
|
+
eventContextmenuWindow: () => eventContextmenuWindow,
|
|
1406
|
+
eventCopy: () => eventCopy,
|
|
1407
|
+
eventCopyAll: () => eventCopyAll,
|
|
1408
|
+
eventCopyAppHost: () => eventCopyAppHost,
|
|
1409
|
+
eventCopyDelegate: () => eventCopyDelegate,
|
|
1410
|
+
eventCopyDelegateAll: () => eventCopyDelegateAll,
|
|
1411
|
+
eventCopyDelegateLight: () => eventCopyDelegateLight,
|
|
1412
|
+
eventCopyDelegateShadow: () => eventCopyDelegateShadow,
|
|
1413
|
+
eventCopyDocument: () => eventCopyDocument,
|
|
1414
|
+
eventCopyLight: () => eventCopyLight,
|
|
1415
|
+
eventCopyMutation: () => eventCopyMutation,
|
|
1416
|
+
eventCopyMutationAll: () => eventCopyMutationAll,
|
|
1417
|
+
eventCopyMutationLight: () => eventCopyMutationLight,
|
|
1418
|
+
eventCopyMutationShadow: () => eventCopyMutationShadow,
|
|
1419
|
+
eventCopyShadow: () => eventCopyShadow,
|
|
1420
|
+
eventCopyThis: () => eventCopyThis,
|
|
1421
|
+
eventCopyWindow: () => eventCopyWindow,
|
|
1422
|
+
eventCut: () => eventCut,
|
|
1423
|
+
eventCutAll: () => eventCutAll,
|
|
1424
|
+
eventCutAppHost: () => eventCutAppHost,
|
|
1425
|
+
eventCutDelegate: () => eventCutDelegate,
|
|
1426
|
+
eventCutDelegateAll: () => eventCutDelegateAll,
|
|
1427
|
+
eventCutDelegateLight: () => eventCutDelegateLight,
|
|
1428
|
+
eventCutDelegateShadow: () => eventCutDelegateShadow,
|
|
1429
|
+
eventCutDocument: () => eventCutDocument,
|
|
1430
|
+
eventCutLight: () => eventCutLight,
|
|
1431
|
+
eventCutMutation: () => eventCutMutation,
|
|
1432
|
+
eventCutMutationAll: () => eventCutMutationAll,
|
|
1433
|
+
eventCutMutationLight: () => eventCutMutationLight,
|
|
1434
|
+
eventCutMutationShadow: () => eventCutMutationShadow,
|
|
1435
|
+
eventCutShadow: () => eventCutShadow,
|
|
1436
|
+
eventCutThis: () => eventCutThis,
|
|
1437
|
+
eventCutWindow: () => eventCutWindow,
|
|
1438
|
+
eventDblclick: () => eventDblclick,
|
|
1439
|
+
eventDblclickAll: () => eventDblclickAll,
|
|
1440
|
+
eventDblclickAppHost: () => eventDblclickAppHost,
|
|
1441
|
+
eventDblclickDelegate: () => eventDblclickDelegate,
|
|
1442
|
+
eventDblclickDelegateAll: () => eventDblclickDelegateAll,
|
|
1443
|
+
eventDblclickDelegateLight: () => eventDblclickDelegateLight,
|
|
1444
|
+
eventDblclickDelegateShadow: () => eventDblclickDelegateShadow,
|
|
1445
|
+
eventDblclickDocument: () => eventDblclickDocument,
|
|
1446
|
+
eventDblclickLight: () => eventDblclickLight,
|
|
1447
|
+
eventDblclickMutation: () => eventDblclickMutation,
|
|
1448
|
+
eventDblclickMutationAll: () => eventDblclickMutationAll,
|
|
1449
|
+
eventDblclickMutationLight: () => eventDblclickMutationLight,
|
|
1450
|
+
eventDblclickMutationShadow: () => eventDblclickMutationShadow,
|
|
1451
|
+
eventDblclickShadow: () => eventDblclickShadow,
|
|
1452
|
+
eventDblclickThis: () => eventDblclickThis,
|
|
1453
|
+
eventDblclickWindow: () => eventDblclickWindow,
|
|
1272
1454
|
eventDelegate: () => eventDelegate,
|
|
1273
1455
|
eventDelegateAll: () => eventDelegateAll,
|
|
1274
1456
|
eventDelegateLight: () => eventDelegateLight,
|
|
1275
1457
|
eventDelegateShadow: () => eventDelegateShadow,
|
|
1276
1458
|
eventDocument: () => eventDocument,
|
|
1459
|
+
eventDrag: () => eventDrag,
|
|
1460
|
+
eventDragAll: () => eventDragAll,
|
|
1461
|
+
eventDragAppHost: () => eventDragAppHost,
|
|
1462
|
+
eventDragDelegate: () => eventDragDelegate,
|
|
1463
|
+
eventDragDelegateAll: () => eventDragDelegateAll,
|
|
1464
|
+
eventDragDelegateLight: () => eventDragDelegateLight,
|
|
1465
|
+
eventDragDelegateShadow: () => eventDragDelegateShadow,
|
|
1466
|
+
eventDragDocument: () => eventDragDocument,
|
|
1467
|
+
eventDragLight: () => eventDragLight,
|
|
1468
|
+
eventDragMutation: () => eventDragMutation,
|
|
1469
|
+
eventDragMutationAll: () => eventDragMutationAll,
|
|
1470
|
+
eventDragMutationLight: () => eventDragMutationLight,
|
|
1471
|
+
eventDragMutationShadow: () => eventDragMutationShadow,
|
|
1472
|
+
eventDragShadow: () => eventDragShadow,
|
|
1473
|
+
eventDragThis: () => eventDragThis,
|
|
1474
|
+
eventDragWindow: () => eventDragWindow,
|
|
1475
|
+
eventDragend: () => eventDragend,
|
|
1476
|
+
eventDragendAll: () => eventDragendAll,
|
|
1477
|
+
eventDragendAppHost: () => eventDragendAppHost,
|
|
1478
|
+
eventDragendDelegate: () => eventDragendDelegate,
|
|
1479
|
+
eventDragendDelegateAll: () => eventDragendDelegateAll,
|
|
1480
|
+
eventDragendDelegateLight: () => eventDragendDelegateLight,
|
|
1481
|
+
eventDragendDelegateShadow: () => eventDragendDelegateShadow,
|
|
1482
|
+
eventDragendDocument: () => eventDragendDocument,
|
|
1483
|
+
eventDragendLight: () => eventDragendLight,
|
|
1484
|
+
eventDragendMutation: () => eventDragendMutation,
|
|
1485
|
+
eventDragendMutationAll: () => eventDragendMutationAll,
|
|
1486
|
+
eventDragendMutationLight: () => eventDragendMutationLight,
|
|
1487
|
+
eventDragendMutationShadow: () => eventDragendMutationShadow,
|
|
1488
|
+
eventDragendShadow: () => eventDragendShadow,
|
|
1489
|
+
eventDragendThis: () => eventDragendThis,
|
|
1490
|
+
eventDragendWindow: () => eventDragendWindow,
|
|
1491
|
+
eventDragenter: () => eventDragenter,
|
|
1492
|
+
eventDragenterAll: () => eventDragenterAll,
|
|
1493
|
+
eventDragenterAppHost: () => eventDragenterAppHost,
|
|
1494
|
+
eventDragenterDelegate: () => eventDragenterDelegate,
|
|
1495
|
+
eventDragenterDelegateAll: () => eventDragenterDelegateAll,
|
|
1496
|
+
eventDragenterDelegateLight: () => eventDragenterDelegateLight,
|
|
1497
|
+
eventDragenterDelegateShadow: () => eventDragenterDelegateShadow,
|
|
1498
|
+
eventDragenterDocument: () => eventDragenterDocument,
|
|
1499
|
+
eventDragenterLight: () => eventDragenterLight,
|
|
1500
|
+
eventDragenterMutation: () => eventDragenterMutation,
|
|
1501
|
+
eventDragenterMutationAll: () => eventDragenterMutationAll,
|
|
1502
|
+
eventDragenterMutationLight: () => eventDragenterMutationLight,
|
|
1503
|
+
eventDragenterMutationShadow: () => eventDragenterMutationShadow,
|
|
1504
|
+
eventDragenterShadow: () => eventDragenterShadow,
|
|
1505
|
+
eventDragenterThis: () => eventDragenterThis,
|
|
1506
|
+
eventDragenterWindow: () => eventDragenterWindow,
|
|
1507
|
+
eventDragleave: () => eventDragleave,
|
|
1508
|
+
eventDragleaveAll: () => eventDragleaveAll,
|
|
1509
|
+
eventDragleaveAppHost: () => eventDragleaveAppHost,
|
|
1510
|
+
eventDragleaveDelegate: () => eventDragleaveDelegate,
|
|
1511
|
+
eventDragleaveDelegateAll: () => eventDragleaveDelegateAll,
|
|
1512
|
+
eventDragleaveDelegateLight: () => eventDragleaveDelegateLight,
|
|
1513
|
+
eventDragleaveDelegateShadow: () => eventDragleaveDelegateShadow,
|
|
1514
|
+
eventDragleaveDocument: () => eventDragleaveDocument,
|
|
1515
|
+
eventDragleaveLight: () => eventDragleaveLight,
|
|
1516
|
+
eventDragleaveMutation: () => eventDragleaveMutation,
|
|
1517
|
+
eventDragleaveMutationAll: () => eventDragleaveMutationAll,
|
|
1518
|
+
eventDragleaveMutationLight: () => eventDragleaveMutationLight,
|
|
1519
|
+
eventDragleaveMutationShadow: () => eventDragleaveMutationShadow,
|
|
1520
|
+
eventDragleaveShadow: () => eventDragleaveShadow,
|
|
1521
|
+
eventDragleaveThis: () => eventDragleaveThis,
|
|
1522
|
+
eventDragleaveWindow: () => eventDragleaveWindow,
|
|
1523
|
+
eventDragover: () => eventDragover,
|
|
1524
|
+
eventDragoverAll: () => eventDragoverAll,
|
|
1525
|
+
eventDragoverAppHost: () => eventDragoverAppHost,
|
|
1526
|
+
eventDragoverDelegate: () => eventDragoverDelegate,
|
|
1527
|
+
eventDragoverDelegateAll: () => eventDragoverDelegateAll,
|
|
1528
|
+
eventDragoverDelegateLight: () => eventDragoverDelegateLight,
|
|
1529
|
+
eventDragoverDelegateShadow: () => eventDragoverDelegateShadow,
|
|
1530
|
+
eventDragoverDocument: () => eventDragoverDocument,
|
|
1531
|
+
eventDragoverLight: () => eventDragoverLight,
|
|
1532
|
+
eventDragoverMutation: () => eventDragoverMutation,
|
|
1533
|
+
eventDragoverMutationAll: () => eventDragoverMutationAll,
|
|
1534
|
+
eventDragoverMutationLight: () => eventDragoverMutationLight,
|
|
1535
|
+
eventDragoverMutationShadow: () => eventDragoverMutationShadow,
|
|
1536
|
+
eventDragoverShadow: () => eventDragoverShadow,
|
|
1537
|
+
eventDragoverThis: () => eventDragoverThis,
|
|
1538
|
+
eventDragoverWindow: () => eventDragoverWindow,
|
|
1539
|
+
eventDragstart: () => eventDragstart,
|
|
1540
|
+
eventDragstartAll: () => eventDragstartAll,
|
|
1541
|
+
eventDragstartAppHost: () => eventDragstartAppHost,
|
|
1542
|
+
eventDragstartDelegate: () => eventDragstartDelegate,
|
|
1543
|
+
eventDragstartDelegateAll: () => eventDragstartDelegateAll,
|
|
1544
|
+
eventDragstartDelegateLight: () => eventDragstartDelegateLight,
|
|
1545
|
+
eventDragstartDelegateShadow: () => eventDragstartDelegateShadow,
|
|
1546
|
+
eventDragstartDocument: () => eventDragstartDocument,
|
|
1547
|
+
eventDragstartLight: () => eventDragstartLight,
|
|
1548
|
+
eventDragstartMutation: () => eventDragstartMutation,
|
|
1549
|
+
eventDragstartMutationAll: () => eventDragstartMutationAll,
|
|
1550
|
+
eventDragstartMutationLight: () => eventDragstartMutationLight,
|
|
1551
|
+
eventDragstartMutationShadow: () => eventDragstartMutationShadow,
|
|
1552
|
+
eventDragstartShadow: () => eventDragstartShadow,
|
|
1553
|
+
eventDragstartThis: () => eventDragstartThis,
|
|
1554
|
+
eventDragstartWindow: () => eventDragstartWindow,
|
|
1555
|
+
eventDrop: () => eventDrop,
|
|
1556
|
+
eventDropAll: () => eventDropAll,
|
|
1557
|
+
eventDropAppHost: () => eventDropAppHost,
|
|
1558
|
+
eventDropDelegate: () => eventDropDelegate,
|
|
1559
|
+
eventDropDelegateAll: () => eventDropDelegateAll,
|
|
1560
|
+
eventDropDelegateLight: () => eventDropDelegateLight,
|
|
1561
|
+
eventDropDelegateShadow: () => eventDropDelegateShadow,
|
|
1562
|
+
eventDropDocument: () => eventDropDocument,
|
|
1563
|
+
eventDropLight: () => eventDropLight,
|
|
1564
|
+
eventDropMutation: () => eventDropMutation,
|
|
1565
|
+
eventDropMutationAll: () => eventDropMutationAll,
|
|
1566
|
+
eventDropMutationLight: () => eventDropMutationLight,
|
|
1567
|
+
eventDropMutationShadow: () => eventDropMutationShadow,
|
|
1568
|
+
eventDropShadow: () => eventDropShadow,
|
|
1569
|
+
eventDropThis: () => eventDropThis,
|
|
1570
|
+
eventDropWindow: () => eventDropWindow,
|
|
1571
|
+
eventError: () => eventError,
|
|
1572
|
+
eventErrorAll: () => eventErrorAll,
|
|
1573
|
+
eventErrorAppHost: () => eventErrorAppHost,
|
|
1574
|
+
eventErrorDelegate: () => eventErrorDelegate,
|
|
1575
|
+
eventErrorDelegateAll: () => eventErrorDelegateAll,
|
|
1576
|
+
eventErrorDelegateLight: () => eventErrorDelegateLight,
|
|
1577
|
+
eventErrorDelegateShadow: () => eventErrorDelegateShadow,
|
|
1578
|
+
eventErrorDocument: () => eventErrorDocument,
|
|
1579
|
+
eventErrorLight: () => eventErrorLight,
|
|
1580
|
+
eventErrorMutation: () => eventErrorMutation,
|
|
1581
|
+
eventErrorMutationAll: () => eventErrorMutationAll,
|
|
1582
|
+
eventErrorMutationLight: () => eventErrorMutationLight,
|
|
1583
|
+
eventErrorMutationShadow: () => eventErrorMutationShadow,
|
|
1584
|
+
eventErrorShadow: () => eventErrorShadow,
|
|
1585
|
+
eventErrorThis: () => eventErrorThis,
|
|
1586
|
+
eventErrorWindow: () => eventErrorWindow,
|
|
1587
|
+
eventFocus: () => eventFocus,
|
|
1588
|
+
eventFocusAll: () => eventFocusAll,
|
|
1589
|
+
eventFocusAppHost: () => eventFocusAppHost,
|
|
1590
|
+
eventFocusDelegate: () => eventFocusDelegate,
|
|
1591
|
+
eventFocusDelegateAll: () => eventFocusDelegateAll,
|
|
1592
|
+
eventFocusDelegateLight: () => eventFocusDelegateLight,
|
|
1593
|
+
eventFocusDelegateShadow: () => eventFocusDelegateShadow,
|
|
1594
|
+
eventFocusDocument: () => eventFocusDocument,
|
|
1595
|
+
eventFocusLight: () => eventFocusLight,
|
|
1596
|
+
eventFocusMutation: () => eventFocusMutation,
|
|
1597
|
+
eventFocusMutationAll: () => eventFocusMutationAll,
|
|
1598
|
+
eventFocusMutationLight: () => eventFocusMutationLight,
|
|
1599
|
+
eventFocusMutationShadow: () => eventFocusMutationShadow,
|
|
1600
|
+
eventFocusShadow: () => eventFocusShadow,
|
|
1601
|
+
eventFocusThis: () => eventFocusThis,
|
|
1602
|
+
eventFocusWindow: () => eventFocusWindow,
|
|
1603
|
+
eventFocusin: () => eventFocusin,
|
|
1604
|
+
eventFocusinAll: () => eventFocusinAll,
|
|
1605
|
+
eventFocusinAppHost: () => eventFocusinAppHost,
|
|
1606
|
+
eventFocusinDelegate: () => eventFocusinDelegate,
|
|
1607
|
+
eventFocusinDelegateAll: () => eventFocusinDelegateAll,
|
|
1608
|
+
eventFocusinDelegateLight: () => eventFocusinDelegateLight,
|
|
1609
|
+
eventFocusinDelegateShadow: () => eventFocusinDelegateShadow,
|
|
1610
|
+
eventFocusinDocument: () => eventFocusinDocument,
|
|
1611
|
+
eventFocusinLight: () => eventFocusinLight,
|
|
1612
|
+
eventFocusinMutation: () => eventFocusinMutation,
|
|
1613
|
+
eventFocusinMutationAll: () => eventFocusinMutationAll,
|
|
1614
|
+
eventFocusinMutationLight: () => eventFocusinMutationLight,
|
|
1615
|
+
eventFocusinMutationShadow: () => eventFocusinMutationShadow,
|
|
1616
|
+
eventFocusinShadow: () => eventFocusinShadow,
|
|
1617
|
+
eventFocusinThis: () => eventFocusinThis,
|
|
1618
|
+
eventFocusinWindow: () => eventFocusinWindow,
|
|
1619
|
+
eventFocusout: () => eventFocusout,
|
|
1620
|
+
eventFocusoutAll: () => eventFocusoutAll,
|
|
1621
|
+
eventFocusoutAppHost: () => eventFocusoutAppHost,
|
|
1622
|
+
eventFocusoutDelegate: () => eventFocusoutDelegate,
|
|
1623
|
+
eventFocusoutDelegateAll: () => eventFocusoutDelegateAll,
|
|
1624
|
+
eventFocusoutDelegateLight: () => eventFocusoutDelegateLight,
|
|
1625
|
+
eventFocusoutDelegateShadow: () => eventFocusoutDelegateShadow,
|
|
1626
|
+
eventFocusoutDocument: () => eventFocusoutDocument,
|
|
1627
|
+
eventFocusoutLight: () => eventFocusoutLight,
|
|
1628
|
+
eventFocusoutMutation: () => eventFocusoutMutation,
|
|
1629
|
+
eventFocusoutMutationAll: () => eventFocusoutMutationAll,
|
|
1630
|
+
eventFocusoutMutationLight: () => eventFocusoutMutationLight,
|
|
1631
|
+
eventFocusoutMutationShadow: () => eventFocusoutMutationShadow,
|
|
1632
|
+
eventFocusoutShadow: () => eventFocusoutShadow,
|
|
1633
|
+
eventFocusoutThis: () => eventFocusoutThis,
|
|
1634
|
+
eventFocusoutWindow: () => eventFocusoutWindow,
|
|
1635
|
+
eventInput: () => eventInput,
|
|
1636
|
+
eventInputAll: () => eventInputAll,
|
|
1637
|
+
eventInputAppHost: () => eventInputAppHost,
|
|
1638
|
+
eventInputDelegate: () => eventInputDelegate,
|
|
1639
|
+
eventInputDelegateAll: () => eventInputDelegateAll,
|
|
1640
|
+
eventInputDelegateLight: () => eventInputDelegateLight,
|
|
1641
|
+
eventInputDelegateShadow: () => eventInputDelegateShadow,
|
|
1642
|
+
eventInputDocument: () => eventInputDocument,
|
|
1643
|
+
eventInputLight: () => eventInputLight,
|
|
1644
|
+
eventInputMutation: () => eventInputMutation,
|
|
1645
|
+
eventInputMutationAll: () => eventInputMutationAll,
|
|
1646
|
+
eventInputMutationLight: () => eventInputMutationLight,
|
|
1647
|
+
eventInputMutationShadow: () => eventInputMutationShadow,
|
|
1648
|
+
eventInputShadow: () => eventInputShadow,
|
|
1649
|
+
eventInputThis: () => eventInputThis,
|
|
1650
|
+
eventInputWindow: () => eventInputWindow,
|
|
1651
|
+
eventInvalid: () => eventInvalid,
|
|
1652
|
+
eventInvalidAll: () => eventInvalidAll,
|
|
1653
|
+
eventInvalidAppHost: () => eventInvalidAppHost,
|
|
1654
|
+
eventInvalidDelegate: () => eventInvalidDelegate,
|
|
1655
|
+
eventInvalidDelegateAll: () => eventInvalidDelegateAll,
|
|
1656
|
+
eventInvalidDelegateLight: () => eventInvalidDelegateLight,
|
|
1657
|
+
eventInvalidDelegateShadow: () => eventInvalidDelegateShadow,
|
|
1658
|
+
eventInvalidDocument: () => eventInvalidDocument,
|
|
1659
|
+
eventInvalidLight: () => eventInvalidLight,
|
|
1660
|
+
eventInvalidMutation: () => eventInvalidMutation,
|
|
1661
|
+
eventInvalidMutationAll: () => eventInvalidMutationAll,
|
|
1662
|
+
eventInvalidMutationLight: () => eventInvalidMutationLight,
|
|
1663
|
+
eventInvalidMutationShadow: () => eventInvalidMutationShadow,
|
|
1664
|
+
eventInvalidShadow: () => eventInvalidShadow,
|
|
1665
|
+
eventInvalidThis: () => eventInvalidThis,
|
|
1666
|
+
eventInvalidWindow: () => eventInvalidWindow,
|
|
1667
|
+
eventKeydown: () => eventKeydown,
|
|
1668
|
+
eventKeydownAll: () => eventKeydownAll,
|
|
1669
|
+
eventKeydownAppHost: () => eventKeydownAppHost,
|
|
1670
|
+
eventKeydownDelegate: () => eventKeydownDelegate,
|
|
1671
|
+
eventKeydownDelegateAll: () => eventKeydownDelegateAll,
|
|
1672
|
+
eventKeydownDelegateLight: () => eventKeydownDelegateLight,
|
|
1673
|
+
eventKeydownDelegateShadow: () => eventKeydownDelegateShadow,
|
|
1674
|
+
eventKeydownDocument: () => eventKeydownDocument,
|
|
1675
|
+
eventKeydownLight: () => eventKeydownLight,
|
|
1676
|
+
eventKeydownMutation: () => eventKeydownMutation,
|
|
1677
|
+
eventKeydownMutationAll: () => eventKeydownMutationAll,
|
|
1678
|
+
eventKeydownMutationLight: () => eventKeydownMutationLight,
|
|
1679
|
+
eventKeydownMutationShadow: () => eventKeydownMutationShadow,
|
|
1680
|
+
eventKeydownShadow: () => eventKeydownShadow,
|
|
1681
|
+
eventKeydownThis: () => eventKeydownThis,
|
|
1682
|
+
eventKeydownWindow: () => eventKeydownWindow,
|
|
1683
|
+
eventKeypress: () => eventKeypress,
|
|
1684
|
+
eventKeypressAll: () => eventKeypressAll,
|
|
1685
|
+
eventKeypressAppHost: () => eventKeypressAppHost,
|
|
1686
|
+
eventKeypressDelegate: () => eventKeypressDelegate,
|
|
1687
|
+
eventKeypressDelegateAll: () => eventKeypressDelegateAll,
|
|
1688
|
+
eventKeypressDelegateLight: () => eventKeypressDelegateLight,
|
|
1689
|
+
eventKeypressDelegateShadow: () => eventKeypressDelegateShadow,
|
|
1690
|
+
eventKeypressDocument: () => eventKeypressDocument,
|
|
1691
|
+
eventKeypressLight: () => eventKeypressLight,
|
|
1692
|
+
eventKeypressMutation: () => eventKeypressMutation,
|
|
1693
|
+
eventKeypressMutationAll: () => eventKeypressMutationAll,
|
|
1694
|
+
eventKeypressMutationLight: () => eventKeypressMutationLight,
|
|
1695
|
+
eventKeypressMutationShadow: () => eventKeypressMutationShadow,
|
|
1696
|
+
eventKeypressShadow: () => eventKeypressShadow,
|
|
1697
|
+
eventKeypressThis: () => eventKeypressThis,
|
|
1698
|
+
eventKeypressWindow: () => eventKeypressWindow,
|
|
1699
|
+
eventKeyup: () => eventKeyup,
|
|
1700
|
+
eventKeyupAll: () => eventKeyupAll,
|
|
1701
|
+
eventKeyupAppHost: () => eventKeyupAppHost,
|
|
1702
|
+
eventKeyupDelegate: () => eventKeyupDelegate,
|
|
1703
|
+
eventKeyupDelegateAll: () => eventKeyupDelegateAll,
|
|
1704
|
+
eventKeyupDelegateLight: () => eventKeyupDelegateLight,
|
|
1705
|
+
eventKeyupDelegateShadow: () => eventKeyupDelegateShadow,
|
|
1706
|
+
eventKeyupDocument: () => eventKeyupDocument,
|
|
1707
|
+
eventKeyupLight: () => eventKeyupLight,
|
|
1708
|
+
eventKeyupMutation: () => eventKeyupMutation,
|
|
1709
|
+
eventKeyupMutationAll: () => eventKeyupMutationAll,
|
|
1710
|
+
eventKeyupMutationLight: () => eventKeyupMutationLight,
|
|
1711
|
+
eventKeyupMutationShadow: () => eventKeyupMutationShadow,
|
|
1712
|
+
eventKeyupShadow: () => eventKeyupShadow,
|
|
1713
|
+
eventKeyupThis: () => eventKeyupThis,
|
|
1714
|
+
eventKeyupWindow: () => eventKeyupWindow,
|
|
1277
1715
|
eventLight: () => eventLight,
|
|
1716
|
+
eventLoad: () => eventLoad,
|
|
1717
|
+
eventLoadAll: () => eventLoadAll,
|
|
1718
|
+
eventLoadAppHost: () => eventLoadAppHost,
|
|
1719
|
+
eventLoadDelegate: () => eventLoadDelegate,
|
|
1720
|
+
eventLoadDelegateAll: () => eventLoadDelegateAll,
|
|
1721
|
+
eventLoadDelegateLight: () => eventLoadDelegateLight,
|
|
1722
|
+
eventLoadDelegateShadow: () => eventLoadDelegateShadow,
|
|
1723
|
+
eventLoadDocument: () => eventLoadDocument,
|
|
1724
|
+
eventLoadLight: () => eventLoadLight,
|
|
1725
|
+
eventLoadMutation: () => eventLoadMutation,
|
|
1726
|
+
eventLoadMutationAll: () => eventLoadMutationAll,
|
|
1727
|
+
eventLoadMutationLight: () => eventLoadMutationLight,
|
|
1728
|
+
eventLoadMutationShadow: () => eventLoadMutationShadow,
|
|
1729
|
+
eventLoadShadow: () => eventLoadShadow,
|
|
1730
|
+
eventLoadThis: () => eventLoadThis,
|
|
1731
|
+
eventLoadWindow: () => eventLoadWindow,
|
|
1732
|
+
eventMedia: () => eventMedia,
|
|
1733
|
+
eventMediaChange: () => eventMediaChange,
|
|
1734
|
+
eventMousedown: () => eventMousedown,
|
|
1735
|
+
eventMousedownAll: () => eventMousedownAll,
|
|
1736
|
+
eventMousedownAppHost: () => eventMousedownAppHost,
|
|
1737
|
+
eventMousedownDelegate: () => eventMousedownDelegate,
|
|
1738
|
+
eventMousedownDelegateAll: () => eventMousedownDelegateAll,
|
|
1739
|
+
eventMousedownDelegateLight: () => eventMousedownDelegateLight,
|
|
1740
|
+
eventMousedownDelegateShadow: () => eventMousedownDelegateShadow,
|
|
1741
|
+
eventMousedownDocument: () => eventMousedownDocument,
|
|
1742
|
+
eventMousedownLight: () => eventMousedownLight,
|
|
1743
|
+
eventMousedownMutation: () => eventMousedownMutation,
|
|
1744
|
+
eventMousedownMutationAll: () => eventMousedownMutationAll,
|
|
1745
|
+
eventMousedownMutationLight: () => eventMousedownMutationLight,
|
|
1746
|
+
eventMousedownMutationShadow: () => eventMousedownMutationShadow,
|
|
1747
|
+
eventMousedownShadow: () => eventMousedownShadow,
|
|
1748
|
+
eventMousedownThis: () => eventMousedownThis,
|
|
1749
|
+
eventMousedownWindow: () => eventMousedownWindow,
|
|
1750
|
+
eventMouseenter: () => eventMouseenter,
|
|
1751
|
+
eventMouseenterAll: () => eventMouseenterAll,
|
|
1752
|
+
eventMouseenterAppHost: () => eventMouseenterAppHost,
|
|
1753
|
+
eventMouseenterDelegate: () => eventMouseenterDelegate,
|
|
1754
|
+
eventMouseenterDelegateAll: () => eventMouseenterDelegateAll,
|
|
1755
|
+
eventMouseenterDelegateLight: () => eventMouseenterDelegateLight,
|
|
1756
|
+
eventMouseenterDelegateShadow: () => eventMouseenterDelegateShadow,
|
|
1757
|
+
eventMouseenterDocument: () => eventMouseenterDocument,
|
|
1758
|
+
eventMouseenterLight: () => eventMouseenterLight,
|
|
1759
|
+
eventMouseenterMutation: () => eventMouseenterMutation,
|
|
1760
|
+
eventMouseenterMutationAll: () => eventMouseenterMutationAll,
|
|
1761
|
+
eventMouseenterMutationLight: () => eventMouseenterMutationLight,
|
|
1762
|
+
eventMouseenterMutationShadow: () => eventMouseenterMutationShadow,
|
|
1763
|
+
eventMouseenterShadow: () => eventMouseenterShadow,
|
|
1764
|
+
eventMouseenterThis: () => eventMouseenterThis,
|
|
1765
|
+
eventMouseenterWindow: () => eventMouseenterWindow,
|
|
1766
|
+
eventMouseleave: () => eventMouseleave,
|
|
1767
|
+
eventMouseleaveAll: () => eventMouseleaveAll,
|
|
1768
|
+
eventMouseleaveAppHost: () => eventMouseleaveAppHost,
|
|
1769
|
+
eventMouseleaveDelegate: () => eventMouseleaveDelegate,
|
|
1770
|
+
eventMouseleaveDelegateAll: () => eventMouseleaveDelegateAll,
|
|
1771
|
+
eventMouseleaveDelegateLight: () => eventMouseleaveDelegateLight,
|
|
1772
|
+
eventMouseleaveDelegateShadow: () => eventMouseleaveDelegateShadow,
|
|
1773
|
+
eventMouseleaveDocument: () => eventMouseleaveDocument,
|
|
1774
|
+
eventMouseleaveLight: () => eventMouseleaveLight,
|
|
1775
|
+
eventMouseleaveMutation: () => eventMouseleaveMutation,
|
|
1776
|
+
eventMouseleaveMutationAll: () => eventMouseleaveMutationAll,
|
|
1777
|
+
eventMouseleaveMutationLight: () => eventMouseleaveMutationLight,
|
|
1778
|
+
eventMouseleaveMutationShadow: () => eventMouseleaveMutationShadow,
|
|
1779
|
+
eventMouseleaveShadow: () => eventMouseleaveShadow,
|
|
1780
|
+
eventMouseleaveThis: () => eventMouseleaveThis,
|
|
1781
|
+
eventMouseleaveWindow: () => eventMouseleaveWindow,
|
|
1782
|
+
eventMousemove: () => eventMousemove,
|
|
1783
|
+
eventMousemoveAll: () => eventMousemoveAll,
|
|
1784
|
+
eventMousemoveAppHost: () => eventMousemoveAppHost,
|
|
1785
|
+
eventMousemoveDelegate: () => eventMousemoveDelegate,
|
|
1786
|
+
eventMousemoveDelegateAll: () => eventMousemoveDelegateAll,
|
|
1787
|
+
eventMousemoveDelegateLight: () => eventMousemoveDelegateLight,
|
|
1788
|
+
eventMousemoveDelegateShadow: () => eventMousemoveDelegateShadow,
|
|
1789
|
+
eventMousemoveDocument: () => eventMousemoveDocument,
|
|
1790
|
+
eventMousemoveLight: () => eventMousemoveLight,
|
|
1791
|
+
eventMousemoveMutation: () => eventMousemoveMutation,
|
|
1792
|
+
eventMousemoveMutationAll: () => eventMousemoveMutationAll,
|
|
1793
|
+
eventMousemoveMutationLight: () => eventMousemoveMutationLight,
|
|
1794
|
+
eventMousemoveMutationShadow: () => eventMousemoveMutationShadow,
|
|
1795
|
+
eventMousemoveShadow: () => eventMousemoveShadow,
|
|
1796
|
+
eventMousemoveThis: () => eventMousemoveThis,
|
|
1797
|
+
eventMousemoveWindow: () => eventMousemoveWindow,
|
|
1798
|
+
eventMouseout: () => eventMouseout,
|
|
1799
|
+
eventMouseoutAll: () => eventMouseoutAll,
|
|
1800
|
+
eventMouseoutAppHost: () => eventMouseoutAppHost,
|
|
1801
|
+
eventMouseoutDelegate: () => eventMouseoutDelegate,
|
|
1802
|
+
eventMouseoutDelegateAll: () => eventMouseoutDelegateAll,
|
|
1803
|
+
eventMouseoutDelegateLight: () => eventMouseoutDelegateLight,
|
|
1804
|
+
eventMouseoutDelegateShadow: () => eventMouseoutDelegateShadow,
|
|
1805
|
+
eventMouseoutDocument: () => eventMouseoutDocument,
|
|
1806
|
+
eventMouseoutLight: () => eventMouseoutLight,
|
|
1807
|
+
eventMouseoutMutation: () => eventMouseoutMutation,
|
|
1808
|
+
eventMouseoutMutationAll: () => eventMouseoutMutationAll,
|
|
1809
|
+
eventMouseoutMutationLight: () => eventMouseoutMutationLight,
|
|
1810
|
+
eventMouseoutMutationShadow: () => eventMouseoutMutationShadow,
|
|
1811
|
+
eventMouseoutShadow: () => eventMouseoutShadow,
|
|
1812
|
+
eventMouseoutThis: () => eventMouseoutThis,
|
|
1813
|
+
eventMouseoutWindow: () => eventMouseoutWindow,
|
|
1814
|
+
eventMouseover: () => eventMouseover,
|
|
1815
|
+
eventMouseoverAll: () => eventMouseoverAll,
|
|
1816
|
+
eventMouseoverAppHost: () => eventMouseoverAppHost,
|
|
1817
|
+
eventMouseoverDelegate: () => eventMouseoverDelegate,
|
|
1818
|
+
eventMouseoverDelegateAll: () => eventMouseoverDelegateAll,
|
|
1819
|
+
eventMouseoverDelegateLight: () => eventMouseoverDelegateLight,
|
|
1820
|
+
eventMouseoverDelegateShadow: () => eventMouseoverDelegateShadow,
|
|
1821
|
+
eventMouseoverDocument: () => eventMouseoverDocument,
|
|
1822
|
+
eventMouseoverLight: () => eventMouseoverLight,
|
|
1823
|
+
eventMouseoverMutation: () => eventMouseoverMutation,
|
|
1824
|
+
eventMouseoverMutationAll: () => eventMouseoverMutationAll,
|
|
1825
|
+
eventMouseoverMutationLight: () => eventMouseoverMutationLight,
|
|
1826
|
+
eventMouseoverMutationShadow: () => eventMouseoverMutationShadow,
|
|
1827
|
+
eventMouseoverShadow: () => eventMouseoverShadow,
|
|
1828
|
+
eventMouseoverThis: () => eventMouseoverThis,
|
|
1829
|
+
eventMouseoverWindow: () => eventMouseoverWindow,
|
|
1830
|
+
eventMouseup: () => eventMouseup,
|
|
1831
|
+
eventMouseupAll: () => eventMouseupAll,
|
|
1832
|
+
eventMouseupAppHost: () => eventMouseupAppHost,
|
|
1833
|
+
eventMouseupDelegate: () => eventMouseupDelegate,
|
|
1834
|
+
eventMouseupDelegateAll: () => eventMouseupDelegateAll,
|
|
1835
|
+
eventMouseupDelegateLight: () => eventMouseupDelegateLight,
|
|
1836
|
+
eventMouseupDelegateShadow: () => eventMouseupDelegateShadow,
|
|
1837
|
+
eventMouseupDocument: () => eventMouseupDocument,
|
|
1838
|
+
eventMouseupLight: () => eventMouseupLight,
|
|
1839
|
+
eventMouseupMutation: () => eventMouseupMutation,
|
|
1840
|
+
eventMouseupMutationAll: () => eventMouseupMutationAll,
|
|
1841
|
+
eventMouseupMutationLight: () => eventMouseupMutationLight,
|
|
1842
|
+
eventMouseupMutationShadow: () => eventMouseupMutationShadow,
|
|
1843
|
+
eventMouseupShadow: () => eventMouseupShadow,
|
|
1844
|
+
eventMouseupThis: () => eventMouseupThis,
|
|
1845
|
+
eventMouseupWindow: () => eventMouseupWindow,
|
|
1278
1846
|
eventMutation: () => eventMutation,
|
|
1279
1847
|
eventMutationAll: () => eventMutationAll,
|
|
1280
1848
|
eventMutationLight: () => eventMutationLight,
|
|
1281
1849
|
eventMutationShadow: () => eventMutationShadow,
|
|
1850
|
+
eventObject: () => eventObject,
|
|
1851
|
+
eventPaste: () => eventPaste,
|
|
1852
|
+
eventPasteAll: () => eventPasteAll,
|
|
1853
|
+
eventPasteAppHost: () => eventPasteAppHost,
|
|
1854
|
+
eventPasteDelegate: () => eventPasteDelegate,
|
|
1855
|
+
eventPasteDelegateAll: () => eventPasteDelegateAll,
|
|
1856
|
+
eventPasteDelegateLight: () => eventPasteDelegateLight,
|
|
1857
|
+
eventPasteDelegateShadow: () => eventPasteDelegateShadow,
|
|
1858
|
+
eventPasteDocument: () => eventPasteDocument,
|
|
1859
|
+
eventPasteLight: () => eventPasteLight,
|
|
1860
|
+
eventPasteMutation: () => eventPasteMutation,
|
|
1861
|
+
eventPasteMutationAll: () => eventPasteMutationAll,
|
|
1862
|
+
eventPasteMutationLight: () => eventPasteMutationLight,
|
|
1863
|
+
eventPasteMutationShadow: () => eventPasteMutationShadow,
|
|
1864
|
+
eventPasteShadow: () => eventPasteShadow,
|
|
1865
|
+
eventPasteThis: () => eventPasteThis,
|
|
1866
|
+
eventPasteWindow: () => eventPasteWindow,
|
|
1867
|
+
eventPointercancel: () => eventPointercancel,
|
|
1868
|
+
eventPointercancelAll: () => eventPointercancelAll,
|
|
1869
|
+
eventPointercancelAppHost: () => eventPointercancelAppHost,
|
|
1870
|
+
eventPointercancelDelegate: () => eventPointercancelDelegate,
|
|
1871
|
+
eventPointercancelDelegateAll: () => eventPointercancelDelegateAll,
|
|
1872
|
+
eventPointercancelDelegateLight: () => eventPointercancelDelegateLight,
|
|
1873
|
+
eventPointercancelDelegateShadow: () => eventPointercancelDelegateShadow,
|
|
1874
|
+
eventPointercancelDocument: () => eventPointercancelDocument,
|
|
1875
|
+
eventPointercancelLight: () => eventPointercancelLight,
|
|
1876
|
+
eventPointercancelMutation: () => eventPointercancelMutation,
|
|
1877
|
+
eventPointercancelMutationAll: () => eventPointercancelMutationAll,
|
|
1878
|
+
eventPointercancelMutationLight: () => eventPointercancelMutationLight,
|
|
1879
|
+
eventPointercancelMutationShadow: () => eventPointercancelMutationShadow,
|
|
1880
|
+
eventPointercancelShadow: () => eventPointercancelShadow,
|
|
1881
|
+
eventPointercancelThis: () => eventPointercancelThis,
|
|
1882
|
+
eventPointercancelWindow: () => eventPointercancelWindow,
|
|
1883
|
+
eventPointerdown: () => eventPointerdown,
|
|
1884
|
+
eventPointerdownAll: () => eventPointerdownAll,
|
|
1885
|
+
eventPointerdownAppHost: () => eventPointerdownAppHost,
|
|
1886
|
+
eventPointerdownDelegate: () => eventPointerdownDelegate,
|
|
1887
|
+
eventPointerdownDelegateAll: () => eventPointerdownDelegateAll,
|
|
1888
|
+
eventPointerdownDelegateLight: () => eventPointerdownDelegateLight,
|
|
1889
|
+
eventPointerdownDelegateShadow: () => eventPointerdownDelegateShadow,
|
|
1890
|
+
eventPointerdownDocument: () => eventPointerdownDocument,
|
|
1891
|
+
eventPointerdownLight: () => eventPointerdownLight,
|
|
1892
|
+
eventPointerdownMutation: () => eventPointerdownMutation,
|
|
1893
|
+
eventPointerdownMutationAll: () => eventPointerdownMutationAll,
|
|
1894
|
+
eventPointerdownMutationLight: () => eventPointerdownMutationLight,
|
|
1895
|
+
eventPointerdownMutationShadow: () => eventPointerdownMutationShadow,
|
|
1896
|
+
eventPointerdownShadow: () => eventPointerdownShadow,
|
|
1897
|
+
eventPointerdownThis: () => eventPointerdownThis,
|
|
1898
|
+
eventPointerdownWindow: () => eventPointerdownWindow,
|
|
1899
|
+
eventPointerenter: () => eventPointerenter,
|
|
1900
|
+
eventPointerenterAll: () => eventPointerenterAll,
|
|
1901
|
+
eventPointerenterAppHost: () => eventPointerenterAppHost,
|
|
1902
|
+
eventPointerenterDelegate: () => eventPointerenterDelegate,
|
|
1903
|
+
eventPointerenterDelegateAll: () => eventPointerenterDelegateAll,
|
|
1904
|
+
eventPointerenterDelegateLight: () => eventPointerenterDelegateLight,
|
|
1905
|
+
eventPointerenterDelegateShadow: () => eventPointerenterDelegateShadow,
|
|
1906
|
+
eventPointerenterDocument: () => eventPointerenterDocument,
|
|
1907
|
+
eventPointerenterLight: () => eventPointerenterLight,
|
|
1908
|
+
eventPointerenterMutation: () => eventPointerenterMutation,
|
|
1909
|
+
eventPointerenterMutationAll: () => eventPointerenterMutationAll,
|
|
1910
|
+
eventPointerenterMutationLight: () => eventPointerenterMutationLight,
|
|
1911
|
+
eventPointerenterMutationShadow: () => eventPointerenterMutationShadow,
|
|
1912
|
+
eventPointerenterShadow: () => eventPointerenterShadow,
|
|
1913
|
+
eventPointerenterThis: () => eventPointerenterThis,
|
|
1914
|
+
eventPointerenterWindow: () => eventPointerenterWindow,
|
|
1915
|
+
eventPointerleave: () => eventPointerleave,
|
|
1916
|
+
eventPointerleaveAll: () => eventPointerleaveAll,
|
|
1917
|
+
eventPointerleaveAppHost: () => eventPointerleaveAppHost,
|
|
1918
|
+
eventPointerleaveDelegate: () => eventPointerleaveDelegate,
|
|
1919
|
+
eventPointerleaveDelegateAll: () => eventPointerleaveDelegateAll,
|
|
1920
|
+
eventPointerleaveDelegateLight: () => eventPointerleaveDelegateLight,
|
|
1921
|
+
eventPointerleaveDelegateShadow: () => eventPointerleaveDelegateShadow,
|
|
1922
|
+
eventPointerleaveDocument: () => eventPointerleaveDocument,
|
|
1923
|
+
eventPointerleaveLight: () => eventPointerleaveLight,
|
|
1924
|
+
eventPointerleaveMutation: () => eventPointerleaveMutation,
|
|
1925
|
+
eventPointerleaveMutationAll: () => eventPointerleaveMutationAll,
|
|
1926
|
+
eventPointerleaveMutationLight: () => eventPointerleaveMutationLight,
|
|
1927
|
+
eventPointerleaveMutationShadow: () => eventPointerleaveMutationShadow,
|
|
1928
|
+
eventPointerleaveShadow: () => eventPointerleaveShadow,
|
|
1929
|
+
eventPointerleaveThis: () => eventPointerleaveThis,
|
|
1930
|
+
eventPointerleaveWindow: () => eventPointerleaveWindow,
|
|
1931
|
+
eventPointermove: () => eventPointermove,
|
|
1932
|
+
eventPointermoveAll: () => eventPointermoveAll,
|
|
1933
|
+
eventPointermoveAppHost: () => eventPointermoveAppHost,
|
|
1934
|
+
eventPointermoveDelegate: () => eventPointermoveDelegate,
|
|
1935
|
+
eventPointermoveDelegateAll: () => eventPointermoveDelegateAll,
|
|
1936
|
+
eventPointermoveDelegateLight: () => eventPointermoveDelegateLight,
|
|
1937
|
+
eventPointermoveDelegateShadow: () => eventPointermoveDelegateShadow,
|
|
1938
|
+
eventPointermoveDocument: () => eventPointermoveDocument,
|
|
1939
|
+
eventPointermoveLight: () => eventPointermoveLight,
|
|
1940
|
+
eventPointermoveMutation: () => eventPointermoveMutation,
|
|
1941
|
+
eventPointermoveMutationAll: () => eventPointermoveMutationAll,
|
|
1942
|
+
eventPointermoveMutationLight: () => eventPointermoveMutationLight,
|
|
1943
|
+
eventPointermoveMutationShadow: () => eventPointermoveMutationShadow,
|
|
1944
|
+
eventPointermoveShadow: () => eventPointermoveShadow,
|
|
1945
|
+
eventPointermoveThis: () => eventPointermoveThis,
|
|
1946
|
+
eventPointermoveWindow: () => eventPointermoveWindow,
|
|
1947
|
+
eventPointerout: () => eventPointerout,
|
|
1948
|
+
eventPointeroutAll: () => eventPointeroutAll,
|
|
1949
|
+
eventPointeroutAppHost: () => eventPointeroutAppHost,
|
|
1950
|
+
eventPointeroutDelegate: () => eventPointeroutDelegate,
|
|
1951
|
+
eventPointeroutDelegateAll: () => eventPointeroutDelegateAll,
|
|
1952
|
+
eventPointeroutDelegateLight: () => eventPointeroutDelegateLight,
|
|
1953
|
+
eventPointeroutDelegateShadow: () => eventPointeroutDelegateShadow,
|
|
1954
|
+
eventPointeroutDocument: () => eventPointeroutDocument,
|
|
1955
|
+
eventPointeroutLight: () => eventPointeroutLight,
|
|
1956
|
+
eventPointeroutMutation: () => eventPointeroutMutation,
|
|
1957
|
+
eventPointeroutMutationAll: () => eventPointeroutMutationAll,
|
|
1958
|
+
eventPointeroutMutationLight: () => eventPointeroutMutationLight,
|
|
1959
|
+
eventPointeroutMutationShadow: () => eventPointeroutMutationShadow,
|
|
1960
|
+
eventPointeroutShadow: () => eventPointeroutShadow,
|
|
1961
|
+
eventPointeroutThis: () => eventPointeroutThis,
|
|
1962
|
+
eventPointeroutWindow: () => eventPointeroutWindow,
|
|
1963
|
+
eventPointerover: () => eventPointerover,
|
|
1964
|
+
eventPointeroverAll: () => eventPointeroverAll,
|
|
1965
|
+
eventPointeroverAppHost: () => eventPointeroverAppHost,
|
|
1966
|
+
eventPointeroverDelegate: () => eventPointeroverDelegate,
|
|
1967
|
+
eventPointeroverDelegateAll: () => eventPointeroverDelegateAll,
|
|
1968
|
+
eventPointeroverDelegateLight: () => eventPointeroverDelegateLight,
|
|
1969
|
+
eventPointeroverDelegateShadow: () => eventPointeroverDelegateShadow,
|
|
1970
|
+
eventPointeroverDocument: () => eventPointeroverDocument,
|
|
1971
|
+
eventPointeroverLight: () => eventPointeroverLight,
|
|
1972
|
+
eventPointeroverMutation: () => eventPointeroverMutation,
|
|
1973
|
+
eventPointeroverMutationAll: () => eventPointeroverMutationAll,
|
|
1974
|
+
eventPointeroverMutationLight: () => eventPointeroverMutationLight,
|
|
1975
|
+
eventPointeroverMutationShadow: () => eventPointeroverMutationShadow,
|
|
1976
|
+
eventPointeroverShadow: () => eventPointeroverShadow,
|
|
1977
|
+
eventPointeroverThis: () => eventPointeroverThis,
|
|
1978
|
+
eventPointeroverWindow: () => eventPointeroverWindow,
|
|
1979
|
+
eventPointerup: () => eventPointerup,
|
|
1980
|
+
eventPointerupAll: () => eventPointerupAll,
|
|
1981
|
+
eventPointerupAppHost: () => eventPointerupAppHost,
|
|
1982
|
+
eventPointerupDelegate: () => eventPointerupDelegate,
|
|
1983
|
+
eventPointerupDelegateAll: () => eventPointerupDelegateAll,
|
|
1984
|
+
eventPointerupDelegateLight: () => eventPointerupDelegateLight,
|
|
1985
|
+
eventPointerupDelegateShadow: () => eventPointerupDelegateShadow,
|
|
1986
|
+
eventPointerupDocument: () => eventPointerupDocument,
|
|
1987
|
+
eventPointerupLight: () => eventPointerupLight,
|
|
1988
|
+
eventPointerupMutation: () => eventPointerupMutation,
|
|
1989
|
+
eventPointerupMutationAll: () => eventPointerupMutationAll,
|
|
1990
|
+
eventPointerupMutationLight: () => eventPointerupMutationLight,
|
|
1991
|
+
eventPointerupMutationShadow: () => eventPointerupMutationShadow,
|
|
1992
|
+
eventPointerupShadow: () => eventPointerupShadow,
|
|
1993
|
+
eventPointerupThis: () => eventPointerupThis,
|
|
1994
|
+
eventPointerupWindow: () => eventPointerupWindow,
|
|
1995
|
+
eventReset: () => eventReset,
|
|
1996
|
+
eventResetAll: () => eventResetAll,
|
|
1997
|
+
eventResetAppHost: () => eventResetAppHost,
|
|
1998
|
+
eventResetDelegate: () => eventResetDelegate,
|
|
1999
|
+
eventResetDelegateAll: () => eventResetDelegateAll,
|
|
2000
|
+
eventResetDelegateLight: () => eventResetDelegateLight,
|
|
2001
|
+
eventResetDelegateShadow: () => eventResetDelegateShadow,
|
|
2002
|
+
eventResetDocument: () => eventResetDocument,
|
|
2003
|
+
eventResetLight: () => eventResetLight,
|
|
2004
|
+
eventResetMutation: () => eventResetMutation,
|
|
2005
|
+
eventResetMutationAll: () => eventResetMutationAll,
|
|
2006
|
+
eventResetMutationLight: () => eventResetMutationLight,
|
|
2007
|
+
eventResetMutationShadow: () => eventResetMutationShadow,
|
|
2008
|
+
eventResetShadow: () => eventResetShadow,
|
|
2009
|
+
eventResetThis: () => eventResetThis,
|
|
2010
|
+
eventResetWindow: () => eventResetWindow,
|
|
2011
|
+
eventResize: () => eventResize,
|
|
2012
|
+
eventResizeAll: () => eventResizeAll,
|
|
2013
|
+
eventResizeAppHost: () => eventResizeAppHost,
|
|
2014
|
+
eventResizeDelegate: () => eventResizeDelegate,
|
|
2015
|
+
eventResizeDelegateAll: () => eventResizeDelegateAll,
|
|
2016
|
+
eventResizeDelegateLight: () => eventResizeDelegateLight,
|
|
2017
|
+
eventResizeDelegateShadow: () => eventResizeDelegateShadow,
|
|
2018
|
+
eventResizeDocument: () => eventResizeDocument,
|
|
2019
|
+
eventResizeLight: () => eventResizeLight,
|
|
2020
|
+
eventResizeMutation: () => eventResizeMutation,
|
|
2021
|
+
eventResizeMutationAll: () => eventResizeMutationAll,
|
|
2022
|
+
eventResizeMutationLight: () => eventResizeMutationLight,
|
|
2023
|
+
eventResizeMutationShadow: () => eventResizeMutationShadow,
|
|
2024
|
+
eventResizeShadow: () => eventResizeShadow,
|
|
2025
|
+
eventResizeThis: () => eventResizeThis,
|
|
2026
|
+
eventResizeWindow: () => eventResizeWindow,
|
|
2027
|
+
eventScroll: () => eventScroll,
|
|
2028
|
+
eventScrollAll: () => eventScrollAll,
|
|
2029
|
+
eventScrollAppHost: () => eventScrollAppHost,
|
|
2030
|
+
eventScrollDelegate: () => eventScrollDelegate,
|
|
2031
|
+
eventScrollDelegateAll: () => eventScrollDelegateAll,
|
|
2032
|
+
eventScrollDelegateLight: () => eventScrollDelegateLight,
|
|
2033
|
+
eventScrollDelegateShadow: () => eventScrollDelegateShadow,
|
|
2034
|
+
eventScrollDocument: () => eventScrollDocument,
|
|
2035
|
+
eventScrollLight: () => eventScrollLight,
|
|
2036
|
+
eventScrollMutation: () => eventScrollMutation,
|
|
2037
|
+
eventScrollMutationAll: () => eventScrollMutationAll,
|
|
2038
|
+
eventScrollMutationLight: () => eventScrollMutationLight,
|
|
2039
|
+
eventScrollMutationShadow: () => eventScrollMutationShadow,
|
|
2040
|
+
eventScrollShadow: () => eventScrollShadow,
|
|
2041
|
+
eventScrollThis: () => eventScrollThis,
|
|
2042
|
+
eventScrollWindow: () => eventScrollWindow,
|
|
2043
|
+
eventSelect: () => eventSelect,
|
|
2044
|
+
eventSelectAll: () => eventSelectAll,
|
|
2045
|
+
eventSelectAppHost: () => eventSelectAppHost,
|
|
2046
|
+
eventSelectDelegate: () => eventSelectDelegate,
|
|
2047
|
+
eventSelectDelegateAll: () => eventSelectDelegateAll,
|
|
2048
|
+
eventSelectDelegateLight: () => eventSelectDelegateLight,
|
|
2049
|
+
eventSelectDelegateShadow: () => eventSelectDelegateShadow,
|
|
2050
|
+
eventSelectDocument: () => eventSelectDocument,
|
|
2051
|
+
eventSelectLight: () => eventSelectLight,
|
|
2052
|
+
eventSelectMutation: () => eventSelectMutation,
|
|
2053
|
+
eventSelectMutationAll: () => eventSelectMutationAll,
|
|
2054
|
+
eventSelectMutationLight: () => eventSelectMutationLight,
|
|
2055
|
+
eventSelectMutationShadow: () => eventSelectMutationShadow,
|
|
2056
|
+
eventSelectShadow: () => eventSelectShadow,
|
|
2057
|
+
eventSelectThis: () => eventSelectThis,
|
|
2058
|
+
eventSelectWindow: () => eventSelectWindow,
|
|
1282
2059
|
eventShadow: () => eventShadow,
|
|
2060
|
+
eventSubmit: () => eventSubmit,
|
|
2061
|
+
eventSubmitAll: () => eventSubmitAll,
|
|
2062
|
+
eventSubmitAppHost: () => eventSubmitAppHost,
|
|
2063
|
+
eventSubmitDelegate: () => eventSubmitDelegate,
|
|
2064
|
+
eventSubmitDelegateAll: () => eventSubmitDelegateAll,
|
|
2065
|
+
eventSubmitDelegateLight: () => eventSubmitDelegateLight,
|
|
2066
|
+
eventSubmitDelegateShadow: () => eventSubmitDelegateShadow,
|
|
2067
|
+
eventSubmitDocument: () => eventSubmitDocument,
|
|
2068
|
+
eventSubmitLight: () => eventSubmitLight,
|
|
2069
|
+
eventSubmitMutation: () => eventSubmitMutation,
|
|
2070
|
+
eventSubmitMutationAll: () => eventSubmitMutationAll,
|
|
2071
|
+
eventSubmitMutationLight: () => eventSubmitMutationLight,
|
|
2072
|
+
eventSubmitMutationShadow: () => eventSubmitMutationShadow,
|
|
2073
|
+
eventSubmitShadow: () => eventSubmitShadow,
|
|
2074
|
+
eventSubmitThis: () => eventSubmitThis,
|
|
2075
|
+
eventSubmitWindow: () => eventSubmitWindow,
|
|
1283
2076
|
eventThis: () => eventThis,
|
|
2077
|
+
eventToggle: () => eventToggle,
|
|
2078
|
+
eventToggleAll: () => eventToggleAll,
|
|
2079
|
+
eventToggleAppHost: () => eventToggleAppHost,
|
|
2080
|
+
eventToggleDelegate: () => eventToggleDelegate,
|
|
2081
|
+
eventToggleDelegateAll: () => eventToggleDelegateAll,
|
|
2082
|
+
eventToggleDelegateLight: () => eventToggleDelegateLight,
|
|
2083
|
+
eventToggleDelegateShadow: () => eventToggleDelegateShadow,
|
|
2084
|
+
eventToggleDocument: () => eventToggleDocument,
|
|
2085
|
+
eventToggleLight: () => eventToggleLight,
|
|
2086
|
+
eventToggleMutation: () => eventToggleMutation,
|
|
2087
|
+
eventToggleMutationAll: () => eventToggleMutationAll,
|
|
2088
|
+
eventToggleMutationLight: () => eventToggleMutationLight,
|
|
2089
|
+
eventToggleMutationShadow: () => eventToggleMutationShadow,
|
|
2090
|
+
eventToggleShadow: () => eventToggleShadow,
|
|
2091
|
+
eventToggleThis: () => eventToggleThis,
|
|
2092
|
+
eventToggleWindow: () => eventToggleWindow,
|
|
2093
|
+
eventTouchcancel: () => eventTouchcancel,
|
|
2094
|
+
eventTouchcancelAll: () => eventTouchcancelAll,
|
|
2095
|
+
eventTouchcancelAppHost: () => eventTouchcancelAppHost,
|
|
2096
|
+
eventTouchcancelDelegate: () => eventTouchcancelDelegate,
|
|
2097
|
+
eventTouchcancelDelegateAll: () => eventTouchcancelDelegateAll,
|
|
2098
|
+
eventTouchcancelDelegateLight: () => eventTouchcancelDelegateLight,
|
|
2099
|
+
eventTouchcancelDelegateShadow: () => eventTouchcancelDelegateShadow,
|
|
2100
|
+
eventTouchcancelDocument: () => eventTouchcancelDocument,
|
|
2101
|
+
eventTouchcancelLight: () => eventTouchcancelLight,
|
|
2102
|
+
eventTouchcancelMutation: () => eventTouchcancelMutation,
|
|
2103
|
+
eventTouchcancelMutationAll: () => eventTouchcancelMutationAll,
|
|
2104
|
+
eventTouchcancelMutationLight: () => eventTouchcancelMutationLight,
|
|
2105
|
+
eventTouchcancelMutationShadow: () => eventTouchcancelMutationShadow,
|
|
2106
|
+
eventTouchcancelShadow: () => eventTouchcancelShadow,
|
|
2107
|
+
eventTouchcancelThis: () => eventTouchcancelThis,
|
|
2108
|
+
eventTouchcancelWindow: () => eventTouchcancelWindow,
|
|
2109
|
+
eventTouchend: () => eventTouchend,
|
|
2110
|
+
eventTouchendAll: () => eventTouchendAll,
|
|
2111
|
+
eventTouchendAppHost: () => eventTouchendAppHost,
|
|
2112
|
+
eventTouchendDelegate: () => eventTouchendDelegate,
|
|
2113
|
+
eventTouchendDelegateAll: () => eventTouchendDelegateAll,
|
|
2114
|
+
eventTouchendDelegateLight: () => eventTouchendDelegateLight,
|
|
2115
|
+
eventTouchendDelegateShadow: () => eventTouchendDelegateShadow,
|
|
2116
|
+
eventTouchendDocument: () => eventTouchendDocument,
|
|
2117
|
+
eventTouchendLight: () => eventTouchendLight,
|
|
2118
|
+
eventTouchendMutation: () => eventTouchendMutation,
|
|
2119
|
+
eventTouchendMutationAll: () => eventTouchendMutationAll,
|
|
2120
|
+
eventTouchendMutationLight: () => eventTouchendMutationLight,
|
|
2121
|
+
eventTouchendMutationShadow: () => eventTouchendMutationShadow,
|
|
2122
|
+
eventTouchendShadow: () => eventTouchendShadow,
|
|
2123
|
+
eventTouchendThis: () => eventTouchendThis,
|
|
2124
|
+
eventTouchendWindow: () => eventTouchendWindow,
|
|
2125
|
+
eventTouchmove: () => eventTouchmove,
|
|
2126
|
+
eventTouchmoveAll: () => eventTouchmoveAll,
|
|
2127
|
+
eventTouchmoveAppHost: () => eventTouchmoveAppHost,
|
|
2128
|
+
eventTouchmoveDelegate: () => eventTouchmoveDelegate,
|
|
2129
|
+
eventTouchmoveDelegateAll: () => eventTouchmoveDelegateAll,
|
|
2130
|
+
eventTouchmoveDelegateLight: () => eventTouchmoveDelegateLight,
|
|
2131
|
+
eventTouchmoveDelegateShadow: () => eventTouchmoveDelegateShadow,
|
|
2132
|
+
eventTouchmoveDocument: () => eventTouchmoveDocument,
|
|
2133
|
+
eventTouchmoveLight: () => eventTouchmoveLight,
|
|
2134
|
+
eventTouchmoveMutation: () => eventTouchmoveMutation,
|
|
2135
|
+
eventTouchmoveMutationAll: () => eventTouchmoveMutationAll,
|
|
2136
|
+
eventTouchmoveMutationLight: () => eventTouchmoveMutationLight,
|
|
2137
|
+
eventTouchmoveMutationShadow: () => eventTouchmoveMutationShadow,
|
|
2138
|
+
eventTouchmoveShadow: () => eventTouchmoveShadow,
|
|
2139
|
+
eventTouchmoveThis: () => eventTouchmoveThis,
|
|
2140
|
+
eventTouchmoveWindow: () => eventTouchmoveWindow,
|
|
2141
|
+
eventTouchstart: () => eventTouchstart,
|
|
2142
|
+
eventTouchstartAll: () => eventTouchstartAll,
|
|
2143
|
+
eventTouchstartAppHost: () => eventTouchstartAppHost,
|
|
2144
|
+
eventTouchstartDelegate: () => eventTouchstartDelegate,
|
|
2145
|
+
eventTouchstartDelegateAll: () => eventTouchstartDelegateAll,
|
|
2146
|
+
eventTouchstartDelegateLight: () => eventTouchstartDelegateLight,
|
|
2147
|
+
eventTouchstartDelegateShadow: () => eventTouchstartDelegateShadow,
|
|
2148
|
+
eventTouchstartDocument: () => eventTouchstartDocument,
|
|
2149
|
+
eventTouchstartLight: () => eventTouchstartLight,
|
|
2150
|
+
eventTouchstartMutation: () => eventTouchstartMutation,
|
|
2151
|
+
eventTouchstartMutationAll: () => eventTouchstartMutationAll,
|
|
2152
|
+
eventTouchstartMutationLight: () => eventTouchstartMutationLight,
|
|
2153
|
+
eventTouchstartMutationShadow: () => eventTouchstartMutationShadow,
|
|
2154
|
+
eventTouchstartShadow: () => eventTouchstartShadow,
|
|
2155
|
+
eventTouchstartThis: () => eventTouchstartThis,
|
|
2156
|
+
eventTouchstartWindow: () => eventTouchstartWindow,
|
|
2157
|
+
eventTransitioncancel: () => eventTransitioncancel,
|
|
2158
|
+
eventTransitioncancelAll: () => eventTransitioncancelAll,
|
|
2159
|
+
eventTransitioncancelAppHost: () => eventTransitioncancelAppHost,
|
|
2160
|
+
eventTransitioncancelDelegate: () => eventTransitioncancelDelegate,
|
|
2161
|
+
eventTransitioncancelDelegateAll: () => eventTransitioncancelDelegateAll,
|
|
2162
|
+
eventTransitioncancelDelegateLight: () => eventTransitioncancelDelegateLight,
|
|
2163
|
+
eventTransitioncancelDelegateShadow: () => eventTransitioncancelDelegateShadow,
|
|
2164
|
+
eventTransitioncancelDocument: () => eventTransitioncancelDocument,
|
|
2165
|
+
eventTransitioncancelLight: () => eventTransitioncancelLight,
|
|
2166
|
+
eventTransitioncancelMutation: () => eventTransitioncancelMutation,
|
|
2167
|
+
eventTransitioncancelMutationAll: () => eventTransitioncancelMutationAll,
|
|
2168
|
+
eventTransitioncancelMutationLight: () => eventTransitioncancelMutationLight,
|
|
2169
|
+
eventTransitioncancelMutationShadow: () => eventTransitioncancelMutationShadow,
|
|
2170
|
+
eventTransitioncancelShadow: () => eventTransitioncancelShadow,
|
|
2171
|
+
eventTransitioncancelThis: () => eventTransitioncancelThis,
|
|
2172
|
+
eventTransitioncancelWindow: () => eventTransitioncancelWindow,
|
|
2173
|
+
eventTransitionend: () => eventTransitionend,
|
|
2174
|
+
eventTransitionendAll: () => eventTransitionendAll,
|
|
2175
|
+
eventTransitionendAppHost: () => eventTransitionendAppHost,
|
|
2176
|
+
eventTransitionendDelegate: () => eventTransitionendDelegate,
|
|
2177
|
+
eventTransitionendDelegateAll: () => eventTransitionendDelegateAll,
|
|
2178
|
+
eventTransitionendDelegateLight: () => eventTransitionendDelegateLight,
|
|
2179
|
+
eventTransitionendDelegateShadow: () => eventTransitionendDelegateShadow,
|
|
2180
|
+
eventTransitionendDocument: () => eventTransitionendDocument,
|
|
2181
|
+
eventTransitionendLight: () => eventTransitionendLight,
|
|
2182
|
+
eventTransitionendMutation: () => eventTransitionendMutation,
|
|
2183
|
+
eventTransitionendMutationAll: () => eventTransitionendMutationAll,
|
|
2184
|
+
eventTransitionendMutationLight: () => eventTransitionendMutationLight,
|
|
2185
|
+
eventTransitionendMutationShadow: () => eventTransitionendMutationShadow,
|
|
2186
|
+
eventTransitionendShadow: () => eventTransitionendShadow,
|
|
2187
|
+
eventTransitionendThis: () => eventTransitionendThis,
|
|
2188
|
+
eventTransitionendWindow: () => eventTransitionendWindow,
|
|
2189
|
+
eventTransitionrun: () => eventTransitionrun,
|
|
2190
|
+
eventTransitionrunAll: () => eventTransitionrunAll,
|
|
2191
|
+
eventTransitionrunAppHost: () => eventTransitionrunAppHost,
|
|
2192
|
+
eventTransitionrunDelegate: () => eventTransitionrunDelegate,
|
|
2193
|
+
eventTransitionrunDelegateAll: () => eventTransitionrunDelegateAll,
|
|
2194
|
+
eventTransitionrunDelegateLight: () => eventTransitionrunDelegateLight,
|
|
2195
|
+
eventTransitionrunDelegateShadow: () => eventTransitionrunDelegateShadow,
|
|
2196
|
+
eventTransitionrunDocument: () => eventTransitionrunDocument,
|
|
2197
|
+
eventTransitionrunLight: () => eventTransitionrunLight,
|
|
2198
|
+
eventTransitionrunMutation: () => eventTransitionrunMutation,
|
|
2199
|
+
eventTransitionrunMutationAll: () => eventTransitionrunMutationAll,
|
|
2200
|
+
eventTransitionrunMutationLight: () => eventTransitionrunMutationLight,
|
|
2201
|
+
eventTransitionrunMutationShadow: () => eventTransitionrunMutationShadow,
|
|
2202
|
+
eventTransitionrunShadow: () => eventTransitionrunShadow,
|
|
2203
|
+
eventTransitionrunThis: () => eventTransitionrunThis,
|
|
2204
|
+
eventTransitionrunWindow: () => eventTransitionrunWindow,
|
|
2205
|
+
eventTransitionstart: () => eventTransitionstart,
|
|
2206
|
+
eventTransitionstartAll: () => eventTransitionstartAll,
|
|
2207
|
+
eventTransitionstartAppHost: () => eventTransitionstartAppHost,
|
|
2208
|
+
eventTransitionstartDelegate: () => eventTransitionstartDelegate,
|
|
2209
|
+
eventTransitionstartDelegateAll: () => eventTransitionstartDelegateAll,
|
|
2210
|
+
eventTransitionstartDelegateLight: () => eventTransitionstartDelegateLight,
|
|
2211
|
+
eventTransitionstartDelegateShadow: () => eventTransitionstartDelegateShadow,
|
|
2212
|
+
eventTransitionstartDocument: () => eventTransitionstartDocument,
|
|
2213
|
+
eventTransitionstartLight: () => eventTransitionstartLight,
|
|
2214
|
+
eventTransitionstartMutation: () => eventTransitionstartMutation,
|
|
2215
|
+
eventTransitionstartMutationAll: () => eventTransitionstartMutationAll,
|
|
2216
|
+
eventTransitionstartMutationLight: () => eventTransitionstartMutationLight,
|
|
2217
|
+
eventTransitionstartMutationShadow: () => eventTransitionstartMutationShadow,
|
|
2218
|
+
eventTransitionstartShadow: () => eventTransitionstartShadow,
|
|
2219
|
+
eventTransitionstartThis: () => eventTransitionstartThis,
|
|
2220
|
+
eventTransitionstartWindow: () => eventTransitionstartWindow,
|
|
2221
|
+
eventWheel: () => eventWheel,
|
|
2222
|
+
eventWheelAll: () => eventWheelAll,
|
|
2223
|
+
eventWheelAppHost: () => eventWheelAppHost,
|
|
2224
|
+
eventWheelDelegate: () => eventWheelDelegate,
|
|
2225
|
+
eventWheelDelegateAll: () => eventWheelDelegateAll,
|
|
2226
|
+
eventWheelDelegateLight: () => eventWheelDelegateLight,
|
|
2227
|
+
eventWheelDelegateShadow: () => eventWheelDelegateShadow,
|
|
2228
|
+
eventWheelDocument: () => eventWheelDocument,
|
|
2229
|
+
eventWheelLight: () => eventWheelLight,
|
|
2230
|
+
eventWheelMutation: () => eventWheelMutation,
|
|
2231
|
+
eventWheelMutationAll: () => eventWheelMutationAll,
|
|
2232
|
+
eventWheelMutationLight: () => eventWheelMutationLight,
|
|
2233
|
+
eventWheelMutationShadow: () => eventWheelMutationShadow,
|
|
2234
|
+
eventWheelShadow: () => eventWheelShadow,
|
|
2235
|
+
eventWheelThis: () => eventWheelThis,
|
|
2236
|
+
eventWheelWindow: () => eventWheelWindow,
|
|
1284
2237
|
eventWindow: () => eventWindow,
|
|
1285
2238
|
findAllApplyNodeMetadata: () => findAllApplyNodeMetadata,
|
|
1286
2239
|
findAllApplySlotMetadata: () => findAllApplySlotMetadata,
|
|
@@ -1288,12 +2241,14 @@ var dooboostoreSimpleWebComponent = (() => {
|
|
|
1288
2241
|
findAllAttributeChangedMetadata: () => findAllAttributeChangedMetadata,
|
|
1289
2242
|
findAllAttributeMetadata: () => findAllAttributeMetadata,
|
|
1290
2243
|
findAllClassMetadata: () => findAllClassMetadata,
|
|
2244
|
+
findAllEventMediaMetadata: () => findAllEventMediaMetadata,
|
|
1291
2245
|
findAllLifecycleMetadata: () => findAllLifecycleMetadata,
|
|
1292
2246
|
findAllOnConnectedAfterMetadata: () => findAllOnConnectedAfterMetadata,
|
|
1293
2247
|
findAllOnConnectedBeforeMetadata: () => findAllOnConnectedBeforeMetadata,
|
|
1294
2248
|
findAllOnConnectedMetadata: () => findAllOnConnectedMetadata,
|
|
1295
2249
|
findAllPropertyApplyMetadata: () => findAllPropertyApplyMetadata,
|
|
1296
2250
|
findAllPropertyMetadata: () => findAllPropertyMetadata,
|
|
2251
|
+
findAllRequestAnimationFrameMetadata: () => findAllRequestAnimationFrameMetadata,
|
|
1297
2252
|
findAllSetIntervalMetadata: () => findAllSetIntervalMetadata,
|
|
1298
2253
|
findAllSetTimeoutMetadata: () => findAllSetTimeoutMetadata,
|
|
1299
2254
|
findAllStateMetadata: () => findAllStateMetadata,
|
|
@@ -1305,12 +2260,16 @@ var dooboostoreSimpleWebComponent = (() => {
|
|
|
1305
2260
|
getEmitCustomEventMetadataList: () => getEmitCustomEventMetadataList,
|
|
1306
2261
|
getIntersectionObserverMetadata: () => getIntersectionObserverMetadata,
|
|
1307
2262
|
getMutationObserverMetadata: () => getMutationObserverMetadata,
|
|
2263
|
+
getParameterMetadata: () => getParameterMetadata,
|
|
1308
2264
|
getPublishSwcAppMessageMetadata: () => getPublishSwcAppMessageMetadata,
|
|
1309
2265
|
getQueryAllMetadata: () => getQueryAllMetadata,
|
|
1310
2266
|
getQueryMetadata: () => getQueryMetadata,
|
|
1311
2267
|
getResizeObserverMetadata: () => getResizeObserverMetadata,
|
|
1312
2268
|
getSubscribeSwcAppMessageWhileConnectedMetadata: () => getSubscribeSwcAppMessageWhileConnectedMetadata,
|
|
1313
2269
|
getSubscribeSwcAppRouteChangeWhileConnectedMetadata: () => getSubscribeSwcAppRouteChangeWhileConnectedMetadata,
|
|
2270
|
+
helperHostSet: () => helperHostSet,
|
|
2271
|
+
helperSet: () => helperSet,
|
|
2272
|
+
hostSet: () => hostSet,
|
|
1314
2273
|
html: () => html,
|
|
1315
2274
|
htmlAElement: () => htmlAElement,
|
|
1316
2275
|
htmlArticleElement: () => htmlArticleElement,
|
|
@@ -1344,6 +2303,8 @@ var dooboostoreSimpleWebComponent = (() => {
|
|
|
1344
2303
|
intersectionObserverShadow: () => intersectionObserverShadow,
|
|
1345
2304
|
intersectionObserverThis: () => intersectionObserverThis,
|
|
1346
2305
|
isSSR: () => isSSR,
|
|
2306
|
+
makeTypedEventAliases: () => makeTypedEventAliases,
|
|
2307
|
+
matchedElement: () => matchedElement,
|
|
1347
2308
|
mutationObserver: () => mutationObserver,
|
|
1348
2309
|
mutationObserverAll: () => mutationObserverAll,
|
|
1349
2310
|
mutationObserverDelegate: () => mutationObserverDelegate,
|
|
@@ -1404,6 +2365,7 @@ var dooboostoreSimpleWebComponent = (() => {
|
|
|
1404
2365
|
replaceChildrenLight: () => replaceChildrenLight,
|
|
1405
2366
|
replaceChildrenSlot: () => replaceChildrenSlot,
|
|
1406
2367
|
replaceChildrenTextSlot: () => replaceChildrenTextSlot,
|
|
2368
|
+
requestAnimationFrame: () => requestAnimationFrame,
|
|
1407
2369
|
resizeObserver: () => resizeObserver,
|
|
1408
2370
|
resizeObserverAll: () => resizeObserverAll,
|
|
1409
2371
|
resizeObserverDelegate: () => resizeObserverDelegate,
|
|
@@ -1416,6 +2378,7 @@ var dooboostoreSimpleWebComponent = (() => {
|
|
|
1416
2378
|
resolveAttributeTargets: () => resolveAttributeTargets,
|
|
1417
2379
|
resolvePropertyTargets: () => resolvePropertyTargets,
|
|
1418
2380
|
resolveQueryElements: () => resolveQueryElements,
|
|
2381
|
+
routerEvent: () => routerEvent,
|
|
1419
2382
|
setAttribute: () => setAttribute,
|
|
1420
2383
|
setClass: () => setClass,
|
|
1421
2384
|
setInterval: () => setInterval2,
|
|
@@ -12131,15 +13094,21 @@ ${indentStr}}`;
|
|
|
12131
13094
|
const slots = this.findSlots();
|
|
12132
13095
|
return slots.map((s) => s.nodes());
|
|
12133
13096
|
}
|
|
12134
|
-
|
|
12135
|
-
|
|
12136
|
-
|
|
12137
|
-
|
|
12138
|
-
|
|
12139
|
-
|
|
12140
|
-
|
|
12141
|
-
|
|
13097
|
+
/**
|
|
13098
|
+
* Shared disambiguation for the `(...items)` / `(targetId, ...items)` overload pair.
|
|
13099
|
+
* Items are always Node instances (or strings meant as literal content) coming from
|
|
13100
|
+
* callers; a leading string is therefore always treated as `targetId`, even when no
|
|
13101
|
+
* items follow — this avoids misclassifying `targetId` itself as content when the
|
|
13102
|
+
* caller has zero items to insert (e.g. a decorated method returning undefined).
|
|
13103
|
+
*/
|
|
13104
|
+
static parseTargetArgs(args) {
|
|
13105
|
+
if (typeof args[0] === "string") {
|
|
13106
|
+
return { targetId: args[0], items: args.slice(1) };
|
|
12142
13107
|
}
|
|
13108
|
+
return { targetId: void 0, items: args };
|
|
13109
|
+
}
|
|
13110
|
+
append(...args) {
|
|
13111
|
+
const { targetId, items } = _NodeSlot.parseTargetArgs(args);
|
|
12143
13112
|
if (!items || items.length === 0) return;
|
|
12144
13113
|
const slots = this.findSlots(targetId);
|
|
12145
13114
|
if (!slots || slots.length === 0) return;
|
|
@@ -12148,38 +13117,17 @@ ${indentStr}}`;
|
|
|
12148
13117
|
}
|
|
12149
13118
|
}
|
|
12150
13119
|
appendHtml(...args) {
|
|
12151
|
-
|
|
12152
|
-
let items = [];
|
|
12153
|
-
if (typeof args[0] === "string" && args.length > 1) {
|
|
12154
|
-
targetId = args[0];
|
|
12155
|
-
items = args.slice(1);
|
|
12156
|
-
} else {
|
|
12157
|
-
items = args;
|
|
12158
|
-
}
|
|
13120
|
+
const { targetId, items } = _NodeSlot.parseTargetArgs(args);
|
|
12159
13121
|
const slots = this.findSlots(targetId);
|
|
12160
13122
|
for (const s of slots) s.appendHtml(...items);
|
|
12161
13123
|
}
|
|
12162
13124
|
appendText(...args) {
|
|
12163
|
-
|
|
12164
|
-
let items = [];
|
|
12165
|
-
if (typeof args[0] === "string" && args.length > 1) {
|
|
12166
|
-
targetId = args[0];
|
|
12167
|
-
items = args.slice(1);
|
|
12168
|
-
} else {
|
|
12169
|
-
items = args;
|
|
12170
|
-
}
|
|
13125
|
+
const { targetId, items } = _NodeSlot.parseTargetArgs(args);
|
|
12171
13126
|
const slots = this.findSlots(targetId);
|
|
12172
13127
|
for (const s of slots) s.appendText(...items);
|
|
12173
13128
|
}
|
|
12174
13129
|
appendCopy(...args) {
|
|
12175
|
-
|
|
12176
|
-
let items = [];
|
|
12177
|
-
if (typeof args[0] === "string" && args.length > 1) {
|
|
12178
|
-
targetId = args[0];
|
|
12179
|
-
items = args.slice(1);
|
|
12180
|
-
} else {
|
|
12181
|
-
items = args;
|
|
12182
|
-
}
|
|
13130
|
+
const { targetId, items } = _NodeSlot.parseTargetArgs(args);
|
|
12183
13131
|
if (!items || items.length === 0) return;
|
|
12184
13132
|
const slots = this.findSlots(targetId);
|
|
12185
13133
|
if (!slots || slots.length === 0) return;
|
|
@@ -12188,14 +13136,7 @@ ${indentStr}}`;
|
|
|
12188
13136
|
}
|
|
12189
13137
|
}
|
|
12190
13138
|
prepend(...args) {
|
|
12191
|
-
|
|
12192
|
-
let items = [];
|
|
12193
|
-
if (typeof args[0] === "string" && args.length > 1) {
|
|
12194
|
-
targetId = args[0];
|
|
12195
|
-
items = args.slice(1);
|
|
12196
|
-
} else {
|
|
12197
|
-
items = args;
|
|
12198
|
-
}
|
|
13139
|
+
const { targetId, items } = _NodeSlot.parseTargetArgs(args);
|
|
12199
13140
|
if (!items || items.length === 0) return;
|
|
12200
13141
|
const slots = this.findSlots(targetId);
|
|
12201
13142
|
if (!slots || slots.length === 0) return;
|
|
@@ -12204,38 +13145,17 @@ ${indentStr}}`;
|
|
|
12204
13145
|
}
|
|
12205
13146
|
}
|
|
12206
13147
|
prependHtml(...args) {
|
|
12207
|
-
|
|
12208
|
-
let items = [];
|
|
12209
|
-
if (typeof args[0] === "string" && args.length > 1) {
|
|
12210
|
-
targetId = args[0];
|
|
12211
|
-
items = args.slice(1);
|
|
12212
|
-
} else {
|
|
12213
|
-
items = args;
|
|
12214
|
-
}
|
|
13148
|
+
const { targetId, items } = _NodeSlot.parseTargetArgs(args);
|
|
12215
13149
|
const slots = this.findSlots(targetId);
|
|
12216
13150
|
for (const s of slots) s.prependHtml(...items);
|
|
12217
13151
|
}
|
|
12218
13152
|
prependText(...args) {
|
|
12219
|
-
|
|
12220
|
-
let items = [];
|
|
12221
|
-
if (typeof args[0] === "string" && args.length > 1) {
|
|
12222
|
-
targetId = args[0];
|
|
12223
|
-
items = args.slice(1);
|
|
12224
|
-
} else {
|
|
12225
|
-
items = args;
|
|
12226
|
-
}
|
|
13153
|
+
const { targetId, items } = _NodeSlot.parseTargetArgs(args);
|
|
12227
13154
|
const slots = this.findSlots(targetId);
|
|
12228
13155
|
for (const s of slots) s.prependText(...items);
|
|
12229
13156
|
}
|
|
12230
13157
|
prependCopy(...args) {
|
|
12231
|
-
|
|
12232
|
-
let items = [];
|
|
12233
|
-
if (typeof args[0] === "string" && args.length > 1) {
|
|
12234
|
-
targetId = args[0];
|
|
12235
|
-
items = args.slice(1);
|
|
12236
|
-
} else {
|
|
12237
|
-
items = args;
|
|
12238
|
-
}
|
|
13158
|
+
const { targetId, items } = _NodeSlot.parseTargetArgs(args);
|
|
12239
13159
|
if (!items || items.length === 0) return;
|
|
12240
13160
|
const slots = this.findSlots(targetId);
|
|
12241
13161
|
if (!slots || slots.length === 0) return;
|
|
@@ -12255,14 +13175,7 @@ ${indentStr}}`;
|
|
|
12255
13175
|
}
|
|
12256
13176
|
}
|
|
12257
13177
|
replaceChildren(...args) {
|
|
12258
|
-
|
|
12259
|
-
let items = [];
|
|
12260
|
-
if (typeof args[0] === "string" && args.length > 1) {
|
|
12261
|
-
targetId = args[0];
|
|
12262
|
-
items = args.slice(1);
|
|
12263
|
-
} else {
|
|
12264
|
-
items = args;
|
|
12265
|
-
}
|
|
13178
|
+
const { targetId, items } = _NodeSlot.parseTargetArgs(args);
|
|
12266
13179
|
const slots = this.findSlots(targetId);
|
|
12267
13180
|
if (!slots || slots.length === 0) return;
|
|
12268
13181
|
for (const s of slots) {
|
|
@@ -12270,14 +13183,7 @@ ${indentStr}}`;
|
|
|
12270
13183
|
}
|
|
12271
13184
|
}
|
|
12272
13185
|
replaceChildrenHtml(...args) {
|
|
12273
|
-
|
|
12274
|
-
let items = [];
|
|
12275
|
-
if (typeof args[0] === "string" && args.length > 1) {
|
|
12276
|
-
targetId = args[0];
|
|
12277
|
-
items = args.slice(1);
|
|
12278
|
-
} else {
|
|
12279
|
-
items = args;
|
|
12280
|
-
}
|
|
13186
|
+
const { targetId, items } = _NodeSlot.parseTargetArgs(args);
|
|
12281
13187
|
const slots = this.findSlots(targetId);
|
|
12282
13188
|
if (!slots || slots.length === 0) return;
|
|
12283
13189
|
for (const s of slots) {
|
|
@@ -12285,14 +13191,7 @@ ${indentStr}}`;
|
|
|
12285
13191
|
}
|
|
12286
13192
|
}
|
|
12287
13193
|
replaceChildrenText(...args) {
|
|
12288
|
-
|
|
12289
|
-
let items = [];
|
|
12290
|
-
if (typeof args[0] === "string" && args.length > 1) {
|
|
12291
|
-
targetId = args[0];
|
|
12292
|
-
items = args.slice(1);
|
|
12293
|
-
} else {
|
|
12294
|
-
items = args;
|
|
12295
|
-
}
|
|
13194
|
+
const { targetId, items } = _NodeSlot.parseTargetArgs(args);
|
|
12296
13195
|
const slots = this.findSlots(targetId);
|
|
12297
13196
|
if (!slots || slots.length === 0) return;
|
|
12298
13197
|
for (const s of slots) {
|
|
@@ -13717,11 +14616,11 @@ ${indentStr}}`;
|
|
|
13717
14616
|
};
|
|
13718
14617
|
};
|
|
13719
14618
|
SwcUtils2.getHelperAndHostSet = (win, el) => {
|
|
13720
|
-
const
|
|
13721
|
-
const
|
|
14619
|
+
const helperSet2 = (0, SwcUtils2.getHelperSet)(win);
|
|
14620
|
+
const hostSet2 = (0, SwcUtils2.getHostSet)(el);
|
|
13722
14621
|
return {
|
|
13723
|
-
...
|
|
13724
|
-
...
|
|
14622
|
+
...helperSet2,
|
|
14623
|
+
...hostSet2,
|
|
13725
14624
|
$this: el
|
|
13726
14625
|
};
|
|
13727
14626
|
};
|
|
@@ -13984,6 +14883,49 @@ ${indentStr}}`;
|
|
|
13984
14883
|
};
|
|
13985
14884
|
})(SwcUtils || (SwcUtils = {}));
|
|
13986
14885
|
|
|
14886
|
+
// src/decorators/parameter.ts
|
|
14887
|
+
var SWC_PARAMETER_METADATA_KEY = Symbol.for("simple-web-component:parameter");
|
|
14888
|
+
var registerParam = (kind, target, propertyKey, parameterIndex) => {
|
|
14889
|
+
if (!propertyKey) return;
|
|
14890
|
+
const constructor = target.constructor;
|
|
14891
|
+
const saves = ReflectUtils.getOwnMetadata(SWC_PARAMETER_METADATA_KEY, constructor, propertyKey) ?? [];
|
|
14892
|
+
saves.push({ index: parameterIndex, kind });
|
|
14893
|
+
ReflectUtils.defineMetadata(SWC_PARAMETER_METADATA_KEY, saves, constructor, propertyKey);
|
|
14894
|
+
};
|
|
14895
|
+
function eventObject(target, propertyKey, parameterIndex) {
|
|
14896
|
+
registerParam("event", target, propertyKey, parameterIndex);
|
|
14897
|
+
}
|
|
14898
|
+
function matchedElement(target, propertyKey, parameterIndex) {
|
|
14899
|
+
registerParam("matched", target, propertyKey, parameterIndex);
|
|
14900
|
+
}
|
|
14901
|
+
function hostSet(target, propertyKey, parameterIndex) {
|
|
14902
|
+
registerParam("hostSet", target, propertyKey, parameterIndex);
|
|
14903
|
+
}
|
|
14904
|
+
function helperHostSet(target, propertyKey, parameterIndex) {
|
|
14905
|
+
registerParam("helperHostSet", target, propertyKey, parameterIndex);
|
|
14906
|
+
}
|
|
14907
|
+
function helperSet(target, propertyKey, parameterIndex) {
|
|
14908
|
+
registerParam("helperSet", target, propertyKey, parameterIndex);
|
|
14909
|
+
}
|
|
14910
|
+
function routerEvent(target, propertyKey, parameterIndex) {
|
|
14911
|
+
registerParam("routerEvent", target, propertyKey, parameterIndex);
|
|
14912
|
+
}
|
|
14913
|
+
function appMessage(target, propertyKey, parameterIndex) {
|
|
14914
|
+
registerParam("appMessage", target, propertyKey, parameterIndex);
|
|
14915
|
+
}
|
|
14916
|
+
var getParameterMetadata = (target, propertyKey) => {
|
|
14917
|
+
const constructor = target instanceof Function ? target : target.constructor;
|
|
14918
|
+
return ReflectUtils.getMetadata(SWC_PARAMETER_METADATA_KEY, constructor, propertyKey) ?? [];
|
|
14919
|
+
};
|
|
14920
|
+
var buildSwcParameterArgs = (target, propertyKey, kindValues, legacyArgs) => {
|
|
14921
|
+
const saves = getParameterMetadata(target, propertyKey);
|
|
14922
|
+
if (saves.length === 0) return legacyArgs;
|
|
14923
|
+
const maxIndex = Math.max(...saves.map((s) => s.index));
|
|
14924
|
+
const args = new Array(maxIndex + 1);
|
|
14925
|
+
for (const s of saves) args[s.index] = kindValues[s.kind];
|
|
14926
|
+
return args;
|
|
14927
|
+
};
|
|
14928
|
+
|
|
13987
14929
|
// src/decorators/addEventListener.ts
|
|
13988
14930
|
var ADD_EVENT_LISTENER_METADATA_KEY = Symbol.for("simple-web-component:add-event-listener");
|
|
13989
14931
|
function addEventListener(selectorOrType, typeOrOptions, maybeOptions) {
|
|
@@ -14071,6 +15013,1029 @@ ${indentStr}}`;
|
|
|
14071
15013
|
var eventWindow = addEventListenerWindow;
|
|
14072
15014
|
var eventDocument = addEventListenerDocument;
|
|
14073
15015
|
var eventThis = addEventListenerThis;
|
|
15016
|
+
function makeTypedEventAliases(type) {
|
|
15017
|
+
return {
|
|
15018
|
+
base: (selector, options) => addEventListener(selector, type, options),
|
|
15019
|
+
delegateLight: (selector, options) => addEventListenerDelegateLight(selector, type, options),
|
|
15020
|
+
delegateShadow: (selector, options) => addEventListenerDelegateShadow(selector, type, options),
|
|
15021
|
+
delegateAll: (selector, options) => addEventListenerDelegateAll(selector, type, options),
|
|
15022
|
+
delegate: (selector, options) => addEventListenerDelegate(selector, type, options),
|
|
15023
|
+
mutationLight: (selector, options) => addEventListenerMutationLight(selector, type, options),
|
|
15024
|
+
mutationShadow: (selector, options) => addEventListenerMutationShadow(selector, type, options),
|
|
15025
|
+
mutationAll: (selector, options) => addEventListenerMutationAll(selector, type, options),
|
|
15026
|
+
mutation: (selector, options) => addEventListenerMutation(selector, type, options),
|
|
15027
|
+
light: (selector, options) => addEventListenerLight(selector, type, options),
|
|
15028
|
+
shadow: (selector, options) => addEventListenerShadow(selector, type, options),
|
|
15029
|
+
all: (selector, options) => addEventListenerAll(selector, type, options),
|
|
15030
|
+
this: (options) => addEventListenerThis(type, options),
|
|
15031
|
+
appHost: (options) => addEventListenerAppHost(type, options),
|
|
15032
|
+
window: (options) => addEventListenerWindow(type, options),
|
|
15033
|
+
document: (options) => addEventListenerDocument(type, options)
|
|
15034
|
+
};
|
|
15035
|
+
}
|
|
15036
|
+
var clickAliases = makeTypedEventAliases("click");
|
|
15037
|
+
var eventClick = clickAliases.base;
|
|
15038
|
+
var eventClickDelegateLight = clickAliases.delegateLight;
|
|
15039
|
+
var eventClickDelegateShadow = clickAliases.delegateShadow;
|
|
15040
|
+
var eventClickDelegateAll = clickAliases.delegateAll;
|
|
15041
|
+
var eventClickDelegate = clickAliases.delegate;
|
|
15042
|
+
var eventClickMutationLight = clickAliases.mutationLight;
|
|
15043
|
+
var eventClickMutationShadow = clickAliases.mutationShadow;
|
|
15044
|
+
var eventClickMutationAll = clickAliases.mutationAll;
|
|
15045
|
+
var eventClickMutation = clickAliases.mutation;
|
|
15046
|
+
var eventClickLight = clickAliases.light;
|
|
15047
|
+
var eventClickShadow = clickAliases.shadow;
|
|
15048
|
+
var eventClickAll = clickAliases.all;
|
|
15049
|
+
var eventClickThis = clickAliases.this;
|
|
15050
|
+
var eventClickAppHost = clickAliases.appHost;
|
|
15051
|
+
var eventClickWindow = clickAliases.window;
|
|
15052
|
+
var eventClickDocument = clickAliases.document;
|
|
15053
|
+
var dblclickAliases = makeTypedEventAliases("dblclick");
|
|
15054
|
+
var eventDblclick = dblclickAliases.base;
|
|
15055
|
+
var eventDblclickDelegateLight = dblclickAliases.delegateLight;
|
|
15056
|
+
var eventDblclickDelegateShadow = dblclickAliases.delegateShadow;
|
|
15057
|
+
var eventDblclickDelegateAll = dblclickAliases.delegateAll;
|
|
15058
|
+
var eventDblclickDelegate = dblclickAliases.delegate;
|
|
15059
|
+
var eventDblclickMutationLight = dblclickAliases.mutationLight;
|
|
15060
|
+
var eventDblclickMutationShadow = dblclickAliases.mutationShadow;
|
|
15061
|
+
var eventDblclickMutationAll = dblclickAliases.mutationAll;
|
|
15062
|
+
var eventDblclickMutation = dblclickAliases.mutation;
|
|
15063
|
+
var eventDblclickLight = dblclickAliases.light;
|
|
15064
|
+
var eventDblclickShadow = dblclickAliases.shadow;
|
|
15065
|
+
var eventDblclickAll = dblclickAliases.all;
|
|
15066
|
+
var eventDblclickThis = dblclickAliases.this;
|
|
15067
|
+
var eventDblclickAppHost = dblclickAliases.appHost;
|
|
15068
|
+
var eventDblclickWindow = dblclickAliases.window;
|
|
15069
|
+
var eventDblclickDocument = dblclickAliases.document;
|
|
15070
|
+
var mousedownAliases = makeTypedEventAliases("mousedown");
|
|
15071
|
+
var eventMousedown = mousedownAliases.base;
|
|
15072
|
+
var eventMousedownDelegateLight = mousedownAliases.delegateLight;
|
|
15073
|
+
var eventMousedownDelegateShadow = mousedownAliases.delegateShadow;
|
|
15074
|
+
var eventMousedownDelegateAll = mousedownAliases.delegateAll;
|
|
15075
|
+
var eventMousedownDelegate = mousedownAliases.delegate;
|
|
15076
|
+
var eventMousedownMutationLight = mousedownAliases.mutationLight;
|
|
15077
|
+
var eventMousedownMutationShadow = mousedownAliases.mutationShadow;
|
|
15078
|
+
var eventMousedownMutationAll = mousedownAliases.mutationAll;
|
|
15079
|
+
var eventMousedownMutation = mousedownAliases.mutation;
|
|
15080
|
+
var eventMousedownLight = mousedownAliases.light;
|
|
15081
|
+
var eventMousedownShadow = mousedownAliases.shadow;
|
|
15082
|
+
var eventMousedownAll = mousedownAliases.all;
|
|
15083
|
+
var eventMousedownThis = mousedownAliases.this;
|
|
15084
|
+
var eventMousedownAppHost = mousedownAliases.appHost;
|
|
15085
|
+
var eventMousedownWindow = mousedownAliases.window;
|
|
15086
|
+
var eventMousedownDocument = mousedownAliases.document;
|
|
15087
|
+
var mouseupAliases = makeTypedEventAliases("mouseup");
|
|
15088
|
+
var eventMouseup = mouseupAliases.base;
|
|
15089
|
+
var eventMouseupDelegateLight = mouseupAliases.delegateLight;
|
|
15090
|
+
var eventMouseupDelegateShadow = mouseupAliases.delegateShadow;
|
|
15091
|
+
var eventMouseupDelegateAll = mouseupAliases.delegateAll;
|
|
15092
|
+
var eventMouseupDelegate = mouseupAliases.delegate;
|
|
15093
|
+
var eventMouseupMutationLight = mouseupAliases.mutationLight;
|
|
15094
|
+
var eventMouseupMutationShadow = mouseupAliases.mutationShadow;
|
|
15095
|
+
var eventMouseupMutationAll = mouseupAliases.mutationAll;
|
|
15096
|
+
var eventMouseupMutation = mouseupAliases.mutation;
|
|
15097
|
+
var eventMouseupLight = mouseupAliases.light;
|
|
15098
|
+
var eventMouseupShadow = mouseupAliases.shadow;
|
|
15099
|
+
var eventMouseupAll = mouseupAliases.all;
|
|
15100
|
+
var eventMouseupThis = mouseupAliases.this;
|
|
15101
|
+
var eventMouseupAppHost = mouseupAliases.appHost;
|
|
15102
|
+
var eventMouseupWindow = mouseupAliases.window;
|
|
15103
|
+
var eventMouseupDocument = mouseupAliases.document;
|
|
15104
|
+
var mousemoveAliases = makeTypedEventAliases("mousemove");
|
|
15105
|
+
var eventMousemove = mousemoveAliases.base;
|
|
15106
|
+
var eventMousemoveDelegateLight = mousemoveAliases.delegateLight;
|
|
15107
|
+
var eventMousemoveDelegateShadow = mousemoveAliases.delegateShadow;
|
|
15108
|
+
var eventMousemoveDelegateAll = mousemoveAliases.delegateAll;
|
|
15109
|
+
var eventMousemoveDelegate = mousemoveAliases.delegate;
|
|
15110
|
+
var eventMousemoveMutationLight = mousemoveAliases.mutationLight;
|
|
15111
|
+
var eventMousemoveMutationShadow = mousemoveAliases.mutationShadow;
|
|
15112
|
+
var eventMousemoveMutationAll = mousemoveAliases.mutationAll;
|
|
15113
|
+
var eventMousemoveMutation = mousemoveAliases.mutation;
|
|
15114
|
+
var eventMousemoveLight = mousemoveAliases.light;
|
|
15115
|
+
var eventMousemoveShadow = mousemoveAliases.shadow;
|
|
15116
|
+
var eventMousemoveAll = mousemoveAliases.all;
|
|
15117
|
+
var eventMousemoveThis = mousemoveAliases.this;
|
|
15118
|
+
var eventMousemoveAppHost = mousemoveAliases.appHost;
|
|
15119
|
+
var eventMousemoveWindow = mousemoveAliases.window;
|
|
15120
|
+
var eventMousemoveDocument = mousemoveAliases.document;
|
|
15121
|
+
var mouseoverAliases = makeTypedEventAliases("mouseover");
|
|
15122
|
+
var eventMouseover = mouseoverAliases.base;
|
|
15123
|
+
var eventMouseoverDelegateLight = mouseoverAliases.delegateLight;
|
|
15124
|
+
var eventMouseoverDelegateShadow = mouseoverAliases.delegateShadow;
|
|
15125
|
+
var eventMouseoverDelegateAll = mouseoverAliases.delegateAll;
|
|
15126
|
+
var eventMouseoverDelegate = mouseoverAliases.delegate;
|
|
15127
|
+
var eventMouseoverMutationLight = mouseoverAliases.mutationLight;
|
|
15128
|
+
var eventMouseoverMutationShadow = mouseoverAliases.mutationShadow;
|
|
15129
|
+
var eventMouseoverMutationAll = mouseoverAliases.mutationAll;
|
|
15130
|
+
var eventMouseoverMutation = mouseoverAliases.mutation;
|
|
15131
|
+
var eventMouseoverLight = mouseoverAliases.light;
|
|
15132
|
+
var eventMouseoverShadow = mouseoverAliases.shadow;
|
|
15133
|
+
var eventMouseoverAll = mouseoverAliases.all;
|
|
15134
|
+
var eventMouseoverThis = mouseoverAliases.this;
|
|
15135
|
+
var eventMouseoverAppHost = mouseoverAliases.appHost;
|
|
15136
|
+
var eventMouseoverWindow = mouseoverAliases.window;
|
|
15137
|
+
var eventMouseoverDocument = mouseoverAliases.document;
|
|
15138
|
+
var mouseoutAliases = makeTypedEventAliases("mouseout");
|
|
15139
|
+
var eventMouseout = mouseoutAliases.base;
|
|
15140
|
+
var eventMouseoutDelegateLight = mouseoutAliases.delegateLight;
|
|
15141
|
+
var eventMouseoutDelegateShadow = mouseoutAliases.delegateShadow;
|
|
15142
|
+
var eventMouseoutDelegateAll = mouseoutAliases.delegateAll;
|
|
15143
|
+
var eventMouseoutDelegate = mouseoutAliases.delegate;
|
|
15144
|
+
var eventMouseoutMutationLight = mouseoutAliases.mutationLight;
|
|
15145
|
+
var eventMouseoutMutationShadow = mouseoutAliases.mutationShadow;
|
|
15146
|
+
var eventMouseoutMutationAll = mouseoutAliases.mutationAll;
|
|
15147
|
+
var eventMouseoutMutation = mouseoutAliases.mutation;
|
|
15148
|
+
var eventMouseoutLight = mouseoutAliases.light;
|
|
15149
|
+
var eventMouseoutShadow = mouseoutAliases.shadow;
|
|
15150
|
+
var eventMouseoutAll = mouseoutAliases.all;
|
|
15151
|
+
var eventMouseoutThis = mouseoutAliases.this;
|
|
15152
|
+
var eventMouseoutAppHost = mouseoutAliases.appHost;
|
|
15153
|
+
var eventMouseoutWindow = mouseoutAliases.window;
|
|
15154
|
+
var eventMouseoutDocument = mouseoutAliases.document;
|
|
15155
|
+
var mouseenterAliases = makeTypedEventAliases("mouseenter");
|
|
15156
|
+
var eventMouseenter = mouseenterAliases.base;
|
|
15157
|
+
var eventMouseenterDelegateLight = mouseenterAliases.delegateLight;
|
|
15158
|
+
var eventMouseenterDelegateShadow = mouseenterAliases.delegateShadow;
|
|
15159
|
+
var eventMouseenterDelegateAll = mouseenterAliases.delegateAll;
|
|
15160
|
+
var eventMouseenterDelegate = mouseenterAliases.delegate;
|
|
15161
|
+
var eventMouseenterMutationLight = mouseenterAliases.mutationLight;
|
|
15162
|
+
var eventMouseenterMutationShadow = mouseenterAliases.mutationShadow;
|
|
15163
|
+
var eventMouseenterMutationAll = mouseenterAliases.mutationAll;
|
|
15164
|
+
var eventMouseenterMutation = mouseenterAliases.mutation;
|
|
15165
|
+
var eventMouseenterLight = mouseenterAliases.light;
|
|
15166
|
+
var eventMouseenterShadow = mouseenterAliases.shadow;
|
|
15167
|
+
var eventMouseenterAll = mouseenterAliases.all;
|
|
15168
|
+
var eventMouseenterThis = mouseenterAliases.this;
|
|
15169
|
+
var eventMouseenterAppHost = mouseenterAliases.appHost;
|
|
15170
|
+
var eventMouseenterWindow = mouseenterAliases.window;
|
|
15171
|
+
var eventMouseenterDocument = mouseenterAliases.document;
|
|
15172
|
+
var mouseleaveAliases = makeTypedEventAliases("mouseleave");
|
|
15173
|
+
var eventMouseleave = mouseleaveAliases.base;
|
|
15174
|
+
var eventMouseleaveDelegateLight = mouseleaveAliases.delegateLight;
|
|
15175
|
+
var eventMouseleaveDelegateShadow = mouseleaveAliases.delegateShadow;
|
|
15176
|
+
var eventMouseleaveDelegateAll = mouseleaveAliases.delegateAll;
|
|
15177
|
+
var eventMouseleaveDelegate = mouseleaveAliases.delegate;
|
|
15178
|
+
var eventMouseleaveMutationLight = mouseleaveAliases.mutationLight;
|
|
15179
|
+
var eventMouseleaveMutationShadow = mouseleaveAliases.mutationShadow;
|
|
15180
|
+
var eventMouseleaveMutationAll = mouseleaveAliases.mutationAll;
|
|
15181
|
+
var eventMouseleaveMutation = mouseleaveAliases.mutation;
|
|
15182
|
+
var eventMouseleaveLight = mouseleaveAliases.light;
|
|
15183
|
+
var eventMouseleaveShadow = mouseleaveAliases.shadow;
|
|
15184
|
+
var eventMouseleaveAll = mouseleaveAliases.all;
|
|
15185
|
+
var eventMouseleaveThis = mouseleaveAliases.this;
|
|
15186
|
+
var eventMouseleaveAppHost = mouseleaveAliases.appHost;
|
|
15187
|
+
var eventMouseleaveWindow = mouseleaveAliases.window;
|
|
15188
|
+
var eventMouseleaveDocument = mouseleaveAliases.document;
|
|
15189
|
+
var contextmenuAliases = makeTypedEventAliases("contextmenu");
|
|
15190
|
+
var eventContextmenu = contextmenuAliases.base;
|
|
15191
|
+
var eventContextmenuDelegateLight = contextmenuAliases.delegateLight;
|
|
15192
|
+
var eventContextmenuDelegateShadow = contextmenuAliases.delegateShadow;
|
|
15193
|
+
var eventContextmenuDelegateAll = contextmenuAliases.delegateAll;
|
|
15194
|
+
var eventContextmenuDelegate = contextmenuAliases.delegate;
|
|
15195
|
+
var eventContextmenuMutationLight = contextmenuAliases.mutationLight;
|
|
15196
|
+
var eventContextmenuMutationShadow = contextmenuAliases.mutationShadow;
|
|
15197
|
+
var eventContextmenuMutationAll = contextmenuAliases.mutationAll;
|
|
15198
|
+
var eventContextmenuMutation = contextmenuAliases.mutation;
|
|
15199
|
+
var eventContextmenuLight = contextmenuAliases.light;
|
|
15200
|
+
var eventContextmenuShadow = contextmenuAliases.shadow;
|
|
15201
|
+
var eventContextmenuAll = contextmenuAliases.all;
|
|
15202
|
+
var eventContextmenuThis = contextmenuAliases.this;
|
|
15203
|
+
var eventContextmenuAppHost = contextmenuAliases.appHost;
|
|
15204
|
+
var eventContextmenuWindow = contextmenuAliases.window;
|
|
15205
|
+
var eventContextmenuDocument = contextmenuAliases.document;
|
|
15206
|
+
var wheelAliases = makeTypedEventAliases("wheel");
|
|
15207
|
+
var eventWheel = wheelAliases.base;
|
|
15208
|
+
var eventWheelDelegateLight = wheelAliases.delegateLight;
|
|
15209
|
+
var eventWheelDelegateShadow = wheelAliases.delegateShadow;
|
|
15210
|
+
var eventWheelDelegateAll = wheelAliases.delegateAll;
|
|
15211
|
+
var eventWheelDelegate = wheelAliases.delegate;
|
|
15212
|
+
var eventWheelMutationLight = wheelAliases.mutationLight;
|
|
15213
|
+
var eventWheelMutationShadow = wheelAliases.mutationShadow;
|
|
15214
|
+
var eventWheelMutationAll = wheelAliases.mutationAll;
|
|
15215
|
+
var eventWheelMutation = wheelAliases.mutation;
|
|
15216
|
+
var eventWheelLight = wheelAliases.light;
|
|
15217
|
+
var eventWheelShadow = wheelAliases.shadow;
|
|
15218
|
+
var eventWheelAll = wheelAliases.all;
|
|
15219
|
+
var eventWheelThis = wheelAliases.this;
|
|
15220
|
+
var eventWheelAppHost = wheelAliases.appHost;
|
|
15221
|
+
var eventWheelWindow = wheelAliases.window;
|
|
15222
|
+
var eventWheelDocument = wheelAliases.document;
|
|
15223
|
+
var keydownAliases = makeTypedEventAliases("keydown");
|
|
15224
|
+
var eventKeydown = keydownAliases.base;
|
|
15225
|
+
var eventKeydownDelegateLight = keydownAliases.delegateLight;
|
|
15226
|
+
var eventKeydownDelegateShadow = keydownAliases.delegateShadow;
|
|
15227
|
+
var eventKeydownDelegateAll = keydownAliases.delegateAll;
|
|
15228
|
+
var eventKeydownDelegate = keydownAliases.delegate;
|
|
15229
|
+
var eventKeydownMutationLight = keydownAliases.mutationLight;
|
|
15230
|
+
var eventKeydownMutationShadow = keydownAliases.mutationShadow;
|
|
15231
|
+
var eventKeydownMutationAll = keydownAliases.mutationAll;
|
|
15232
|
+
var eventKeydownMutation = keydownAliases.mutation;
|
|
15233
|
+
var eventKeydownLight = keydownAliases.light;
|
|
15234
|
+
var eventKeydownShadow = keydownAliases.shadow;
|
|
15235
|
+
var eventKeydownAll = keydownAliases.all;
|
|
15236
|
+
var eventKeydownThis = keydownAliases.this;
|
|
15237
|
+
var eventKeydownAppHost = keydownAliases.appHost;
|
|
15238
|
+
var eventKeydownWindow = keydownAliases.window;
|
|
15239
|
+
var eventKeydownDocument = keydownAliases.document;
|
|
15240
|
+
var keyupAliases = makeTypedEventAliases("keyup");
|
|
15241
|
+
var eventKeyup = keyupAliases.base;
|
|
15242
|
+
var eventKeyupDelegateLight = keyupAliases.delegateLight;
|
|
15243
|
+
var eventKeyupDelegateShadow = keyupAliases.delegateShadow;
|
|
15244
|
+
var eventKeyupDelegateAll = keyupAliases.delegateAll;
|
|
15245
|
+
var eventKeyupDelegate = keyupAliases.delegate;
|
|
15246
|
+
var eventKeyupMutationLight = keyupAliases.mutationLight;
|
|
15247
|
+
var eventKeyupMutationShadow = keyupAliases.mutationShadow;
|
|
15248
|
+
var eventKeyupMutationAll = keyupAliases.mutationAll;
|
|
15249
|
+
var eventKeyupMutation = keyupAliases.mutation;
|
|
15250
|
+
var eventKeyupLight = keyupAliases.light;
|
|
15251
|
+
var eventKeyupShadow = keyupAliases.shadow;
|
|
15252
|
+
var eventKeyupAll = keyupAliases.all;
|
|
15253
|
+
var eventKeyupThis = keyupAliases.this;
|
|
15254
|
+
var eventKeyupAppHost = keyupAliases.appHost;
|
|
15255
|
+
var eventKeyupWindow = keyupAliases.window;
|
|
15256
|
+
var eventKeyupDocument = keyupAliases.document;
|
|
15257
|
+
var keypressAliases = makeTypedEventAliases("keypress");
|
|
15258
|
+
var eventKeypress = keypressAliases.base;
|
|
15259
|
+
var eventKeypressDelegateLight = keypressAliases.delegateLight;
|
|
15260
|
+
var eventKeypressDelegateShadow = keypressAliases.delegateShadow;
|
|
15261
|
+
var eventKeypressDelegateAll = keypressAliases.delegateAll;
|
|
15262
|
+
var eventKeypressDelegate = keypressAliases.delegate;
|
|
15263
|
+
var eventKeypressMutationLight = keypressAliases.mutationLight;
|
|
15264
|
+
var eventKeypressMutationShadow = keypressAliases.mutationShadow;
|
|
15265
|
+
var eventKeypressMutationAll = keypressAliases.mutationAll;
|
|
15266
|
+
var eventKeypressMutation = keypressAliases.mutation;
|
|
15267
|
+
var eventKeypressLight = keypressAliases.light;
|
|
15268
|
+
var eventKeypressShadow = keypressAliases.shadow;
|
|
15269
|
+
var eventKeypressAll = keypressAliases.all;
|
|
15270
|
+
var eventKeypressThis = keypressAliases.this;
|
|
15271
|
+
var eventKeypressAppHost = keypressAliases.appHost;
|
|
15272
|
+
var eventKeypressWindow = keypressAliases.window;
|
|
15273
|
+
var eventKeypressDocument = keypressAliases.document;
|
|
15274
|
+
var inputAliases = makeTypedEventAliases("input");
|
|
15275
|
+
var eventInput = inputAliases.base;
|
|
15276
|
+
var eventInputDelegateLight = inputAliases.delegateLight;
|
|
15277
|
+
var eventInputDelegateShadow = inputAliases.delegateShadow;
|
|
15278
|
+
var eventInputDelegateAll = inputAliases.delegateAll;
|
|
15279
|
+
var eventInputDelegate = inputAliases.delegate;
|
|
15280
|
+
var eventInputMutationLight = inputAliases.mutationLight;
|
|
15281
|
+
var eventInputMutationShadow = inputAliases.mutationShadow;
|
|
15282
|
+
var eventInputMutationAll = inputAliases.mutationAll;
|
|
15283
|
+
var eventInputMutation = inputAliases.mutation;
|
|
15284
|
+
var eventInputLight = inputAliases.light;
|
|
15285
|
+
var eventInputShadow = inputAliases.shadow;
|
|
15286
|
+
var eventInputAll = inputAliases.all;
|
|
15287
|
+
var eventInputThis = inputAliases.this;
|
|
15288
|
+
var eventInputAppHost = inputAliases.appHost;
|
|
15289
|
+
var eventInputWindow = inputAliases.window;
|
|
15290
|
+
var eventInputDocument = inputAliases.document;
|
|
15291
|
+
var changeAliases = makeTypedEventAliases("change");
|
|
15292
|
+
var eventChange = changeAliases.base;
|
|
15293
|
+
var eventChangeDelegateLight = changeAliases.delegateLight;
|
|
15294
|
+
var eventChangeDelegateShadow = changeAliases.delegateShadow;
|
|
15295
|
+
var eventChangeDelegateAll = changeAliases.delegateAll;
|
|
15296
|
+
var eventChangeDelegate = changeAliases.delegate;
|
|
15297
|
+
var eventChangeMutationLight = changeAliases.mutationLight;
|
|
15298
|
+
var eventChangeMutationShadow = changeAliases.mutationShadow;
|
|
15299
|
+
var eventChangeMutationAll = changeAliases.mutationAll;
|
|
15300
|
+
var eventChangeMutation = changeAliases.mutation;
|
|
15301
|
+
var eventChangeLight = changeAliases.light;
|
|
15302
|
+
var eventChangeShadow = changeAliases.shadow;
|
|
15303
|
+
var eventChangeAll = changeAliases.all;
|
|
15304
|
+
var eventChangeThis = changeAliases.this;
|
|
15305
|
+
var eventChangeAppHost = changeAliases.appHost;
|
|
15306
|
+
var eventChangeWindow = changeAliases.window;
|
|
15307
|
+
var eventChangeDocument = changeAliases.document;
|
|
15308
|
+
var submitAliases = makeTypedEventAliases("submit");
|
|
15309
|
+
var eventSubmit = submitAliases.base;
|
|
15310
|
+
var eventSubmitDelegateLight = submitAliases.delegateLight;
|
|
15311
|
+
var eventSubmitDelegateShadow = submitAliases.delegateShadow;
|
|
15312
|
+
var eventSubmitDelegateAll = submitAliases.delegateAll;
|
|
15313
|
+
var eventSubmitDelegate = submitAliases.delegate;
|
|
15314
|
+
var eventSubmitMutationLight = submitAliases.mutationLight;
|
|
15315
|
+
var eventSubmitMutationShadow = submitAliases.mutationShadow;
|
|
15316
|
+
var eventSubmitMutationAll = submitAliases.mutationAll;
|
|
15317
|
+
var eventSubmitMutation = submitAliases.mutation;
|
|
15318
|
+
var eventSubmitLight = submitAliases.light;
|
|
15319
|
+
var eventSubmitShadow = submitAliases.shadow;
|
|
15320
|
+
var eventSubmitAll = submitAliases.all;
|
|
15321
|
+
var eventSubmitThis = submitAliases.this;
|
|
15322
|
+
var eventSubmitAppHost = submitAliases.appHost;
|
|
15323
|
+
var eventSubmitWindow = submitAliases.window;
|
|
15324
|
+
var eventSubmitDocument = submitAliases.document;
|
|
15325
|
+
var resetAliases = makeTypedEventAliases("reset");
|
|
15326
|
+
var eventReset = resetAliases.base;
|
|
15327
|
+
var eventResetDelegateLight = resetAliases.delegateLight;
|
|
15328
|
+
var eventResetDelegateShadow = resetAliases.delegateShadow;
|
|
15329
|
+
var eventResetDelegateAll = resetAliases.delegateAll;
|
|
15330
|
+
var eventResetDelegate = resetAliases.delegate;
|
|
15331
|
+
var eventResetMutationLight = resetAliases.mutationLight;
|
|
15332
|
+
var eventResetMutationShadow = resetAliases.mutationShadow;
|
|
15333
|
+
var eventResetMutationAll = resetAliases.mutationAll;
|
|
15334
|
+
var eventResetMutation = resetAliases.mutation;
|
|
15335
|
+
var eventResetLight = resetAliases.light;
|
|
15336
|
+
var eventResetShadow = resetAliases.shadow;
|
|
15337
|
+
var eventResetAll = resetAliases.all;
|
|
15338
|
+
var eventResetThis = resetAliases.this;
|
|
15339
|
+
var eventResetAppHost = resetAliases.appHost;
|
|
15340
|
+
var eventResetWindow = resetAliases.window;
|
|
15341
|
+
var eventResetDocument = resetAliases.document;
|
|
15342
|
+
var invalidAliases = makeTypedEventAliases("invalid");
|
|
15343
|
+
var eventInvalid = invalidAliases.base;
|
|
15344
|
+
var eventInvalidDelegateLight = invalidAliases.delegateLight;
|
|
15345
|
+
var eventInvalidDelegateShadow = invalidAliases.delegateShadow;
|
|
15346
|
+
var eventInvalidDelegateAll = invalidAliases.delegateAll;
|
|
15347
|
+
var eventInvalidDelegate = invalidAliases.delegate;
|
|
15348
|
+
var eventInvalidMutationLight = invalidAliases.mutationLight;
|
|
15349
|
+
var eventInvalidMutationShadow = invalidAliases.mutationShadow;
|
|
15350
|
+
var eventInvalidMutationAll = invalidAliases.mutationAll;
|
|
15351
|
+
var eventInvalidMutation = invalidAliases.mutation;
|
|
15352
|
+
var eventInvalidLight = invalidAliases.light;
|
|
15353
|
+
var eventInvalidShadow = invalidAliases.shadow;
|
|
15354
|
+
var eventInvalidAll = invalidAliases.all;
|
|
15355
|
+
var eventInvalidThis = invalidAliases.this;
|
|
15356
|
+
var eventInvalidAppHost = invalidAliases.appHost;
|
|
15357
|
+
var eventInvalidWindow = invalidAliases.window;
|
|
15358
|
+
var eventInvalidDocument = invalidAliases.document;
|
|
15359
|
+
var selectAliases = makeTypedEventAliases("select");
|
|
15360
|
+
var eventSelect = selectAliases.base;
|
|
15361
|
+
var eventSelectDelegateLight = selectAliases.delegateLight;
|
|
15362
|
+
var eventSelectDelegateShadow = selectAliases.delegateShadow;
|
|
15363
|
+
var eventSelectDelegateAll = selectAliases.delegateAll;
|
|
15364
|
+
var eventSelectDelegate = selectAliases.delegate;
|
|
15365
|
+
var eventSelectMutationLight = selectAliases.mutationLight;
|
|
15366
|
+
var eventSelectMutationShadow = selectAliases.mutationShadow;
|
|
15367
|
+
var eventSelectMutationAll = selectAliases.mutationAll;
|
|
15368
|
+
var eventSelectMutation = selectAliases.mutation;
|
|
15369
|
+
var eventSelectLight = selectAliases.light;
|
|
15370
|
+
var eventSelectShadow = selectAliases.shadow;
|
|
15371
|
+
var eventSelectAll = selectAliases.all;
|
|
15372
|
+
var eventSelectThis = selectAliases.this;
|
|
15373
|
+
var eventSelectAppHost = selectAliases.appHost;
|
|
15374
|
+
var eventSelectWindow = selectAliases.window;
|
|
15375
|
+
var eventSelectDocument = selectAliases.document;
|
|
15376
|
+
var focusAliases = makeTypedEventAliases("focus");
|
|
15377
|
+
var eventFocus = focusAliases.base;
|
|
15378
|
+
var eventFocusDelegateLight = focusAliases.delegateLight;
|
|
15379
|
+
var eventFocusDelegateShadow = focusAliases.delegateShadow;
|
|
15380
|
+
var eventFocusDelegateAll = focusAliases.delegateAll;
|
|
15381
|
+
var eventFocusDelegate = focusAliases.delegate;
|
|
15382
|
+
var eventFocusMutationLight = focusAliases.mutationLight;
|
|
15383
|
+
var eventFocusMutationShadow = focusAliases.mutationShadow;
|
|
15384
|
+
var eventFocusMutationAll = focusAliases.mutationAll;
|
|
15385
|
+
var eventFocusMutation = focusAliases.mutation;
|
|
15386
|
+
var eventFocusLight = focusAliases.light;
|
|
15387
|
+
var eventFocusShadow = focusAliases.shadow;
|
|
15388
|
+
var eventFocusAll = focusAliases.all;
|
|
15389
|
+
var eventFocusThis = focusAliases.this;
|
|
15390
|
+
var eventFocusAppHost = focusAliases.appHost;
|
|
15391
|
+
var eventFocusWindow = focusAliases.window;
|
|
15392
|
+
var eventFocusDocument = focusAliases.document;
|
|
15393
|
+
var blurAliases = makeTypedEventAliases("blur");
|
|
15394
|
+
var eventBlur = blurAliases.base;
|
|
15395
|
+
var eventBlurDelegateLight = blurAliases.delegateLight;
|
|
15396
|
+
var eventBlurDelegateShadow = blurAliases.delegateShadow;
|
|
15397
|
+
var eventBlurDelegateAll = blurAliases.delegateAll;
|
|
15398
|
+
var eventBlurDelegate = blurAliases.delegate;
|
|
15399
|
+
var eventBlurMutationLight = blurAliases.mutationLight;
|
|
15400
|
+
var eventBlurMutationShadow = blurAliases.mutationShadow;
|
|
15401
|
+
var eventBlurMutationAll = blurAliases.mutationAll;
|
|
15402
|
+
var eventBlurMutation = blurAliases.mutation;
|
|
15403
|
+
var eventBlurLight = blurAliases.light;
|
|
15404
|
+
var eventBlurShadow = blurAliases.shadow;
|
|
15405
|
+
var eventBlurAll = blurAliases.all;
|
|
15406
|
+
var eventBlurThis = blurAliases.this;
|
|
15407
|
+
var eventBlurAppHost = blurAliases.appHost;
|
|
15408
|
+
var eventBlurWindow = blurAliases.window;
|
|
15409
|
+
var eventBlurDocument = blurAliases.document;
|
|
15410
|
+
var focusinAliases = makeTypedEventAliases("focusin");
|
|
15411
|
+
var eventFocusin = focusinAliases.base;
|
|
15412
|
+
var eventFocusinDelegateLight = focusinAliases.delegateLight;
|
|
15413
|
+
var eventFocusinDelegateShadow = focusinAliases.delegateShadow;
|
|
15414
|
+
var eventFocusinDelegateAll = focusinAliases.delegateAll;
|
|
15415
|
+
var eventFocusinDelegate = focusinAliases.delegate;
|
|
15416
|
+
var eventFocusinMutationLight = focusinAliases.mutationLight;
|
|
15417
|
+
var eventFocusinMutationShadow = focusinAliases.mutationShadow;
|
|
15418
|
+
var eventFocusinMutationAll = focusinAliases.mutationAll;
|
|
15419
|
+
var eventFocusinMutation = focusinAliases.mutation;
|
|
15420
|
+
var eventFocusinLight = focusinAliases.light;
|
|
15421
|
+
var eventFocusinShadow = focusinAliases.shadow;
|
|
15422
|
+
var eventFocusinAll = focusinAliases.all;
|
|
15423
|
+
var eventFocusinThis = focusinAliases.this;
|
|
15424
|
+
var eventFocusinAppHost = focusinAliases.appHost;
|
|
15425
|
+
var eventFocusinWindow = focusinAliases.window;
|
|
15426
|
+
var eventFocusinDocument = focusinAliases.document;
|
|
15427
|
+
var focusoutAliases = makeTypedEventAliases("focusout");
|
|
15428
|
+
var eventFocusout = focusoutAliases.base;
|
|
15429
|
+
var eventFocusoutDelegateLight = focusoutAliases.delegateLight;
|
|
15430
|
+
var eventFocusoutDelegateShadow = focusoutAliases.delegateShadow;
|
|
15431
|
+
var eventFocusoutDelegateAll = focusoutAliases.delegateAll;
|
|
15432
|
+
var eventFocusoutDelegate = focusoutAliases.delegate;
|
|
15433
|
+
var eventFocusoutMutationLight = focusoutAliases.mutationLight;
|
|
15434
|
+
var eventFocusoutMutationShadow = focusoutAliases.mutationShadow;
|
|
15435
|
+
var eventFocusoutMutationAll = focusoutAliases.mutationAll;
|
|
15436
|
+
var eventFocusoutMutation = focusoutAliases.mutation;
|
|
15437
|
+
var eventFocusoutLight = focusoutAliases.light;
|
|
15438
|
+
var eventFocusoutShadow = focusoutAliases.shadow;
|
|
15439
|
+
var eventFocusoutAll = focusoutAliases.all;
|
|
15440
|
+
var eventFocusoutThis = focusoutAliases.this;
|
|
15441
|
+
var eventFocusoutAppHost = focusoutAliases.appHost;
|
|
15442
|
+
var eventFocusoutWindow = focusoutAliases.window;
|
|
15443
|
+
var eventFocusoutDocument = focusoutAliases.document;
|
|
15444
|
+
var dragstartAliases = makeTypedEventAliases("dragstart");
|
|
15445
|
+
var eventDragstart = dragstartAliases.base;
|
|
15446
|
+
var eventDragstartDelegateLight = dragstartAliases.delegateLight;
|
|
15447
|
+
var eventDragstartDelegateShadow = dragstartAliases.delegateShadow;
|
|
15448
|
+
var eventDragstartDelegateAll = dragstartAliases.delegateAll;
|
|
15449
|
+
var eventDragstartDelegate = dragstartAliases.delegate;
|
|
15450
|
+
var eventDragstartMutationLight = dragstartAliases.mutationLight;
|
|
15451
|
+
var eventDragstartMutationShadow = dragstartAliases.mutationShadow;
|
|
15452
|
+
var eventDragstartMutationAll = dragstartAliases.mutationAll;
|
|
15453
|
+
var eventDragstartMutation = dragstartAliases.mutation;
|
|
15454
|
+
var eventDragstartLight = dragstartAliases.light;
|
|
15455
|
+
var eventDragstartShadow = dragstartAliases.shadow;
|
|
15456
|
+
var eventDragstartAll = dragstartAliases.all;
|
|
15457
|
+
var eventDragstartThis = dragstartAliases.this;
|
|
15458
|
+
var eventDragstartAppHost = dragstartAliases.appHost;
|
|
15459
|
+
var eventDragstartWindow = dragstartAliases.window;
|
|
15460
|
+
var eventDragstartDocument = dragstartAliases.document;
|
|
15461
|
+
var dragAliases = makeTypedEventAliases("drag");
|
|
15462
|
+
var eventDrag = dragAliases.base;
|
|
15463
|
+
var eventDragDelegateLight = dragAliases.delegateLight;
|
|
15464
|
+
var eventDragDelegateShadow = dragAliases.delegateShadow;
|
|
15465
|
+
var eventDragDelegateAll = dragAliases.delegateAll;
|
|
15466
|
+
var eventDragDelegate = dragAliases.delegate;
|
|
15467
|
+
var eventDragMutationLight = dragAliases.mutationLight;
|
|
15468
|
+
var eventDragMutationShadow = dragAliases.mutationShadow;
|
|
15469
|
+
var eventDragMutationAll = dragAliases.mutationAll;
|
|
15470
|
+
var eventDragMutation = dragAliases.mutation;
|
|
15471
|
+
var eventDragLight = dragAliases.light;
|
|
15472
|
+
var eventDragShadow = dragAliases.shadow;
|
|
15473
|
+
var eventDragAll = dragAliases.all;
|
|
15474
|
+
var eventDragThis = dragAliases.this;
|
|
15475
|
+
var eventDragAppHost = dragAliases.appHost;
|
|
15476
|
+
var eventDragWindow = dragAliases.window;
|
|
15477
|
+
var eventDragDocument = dragAliases.document;
|
|
15478
|
+
var dragendAliases = makeTypedEventAliases("dragend");
|
|
15479
|
+
var eventDragend = dragendAliases.base;
|
|
15480
|
+
var eventDragendDelegateLight = dragendAliases.delegateLight;
|
|
15481
|
+
var eventDragendDelegateShadow = dragendAliases.delegateShadow;
|
|
15482
|
+
var eventDragendDelegateAll = dragendAliases.delegateAll;
|
|
15483
|
+
var eventDragendDelegate = dragendAliases.delegate;
|
|
15484
|
+
var eventDragendMutationLight = dragendAliases.mutationLight;
|
|
15485
|
+
var eventDragendMutationShadow = dragendAliases.mutationShadow;
|
|
15486
|
+
var eventDragendMutationAll = dragendAliases.mutationAll;
|
|
15487
|
+
var eventDragendMutation = dragendAliases.mutation;
|
|
15488
|
+
var eventDragendLight = dragendAliases.light;
|
|
15489
|
+
var eventDragendShadow = dragendAliases.shadow;
|
|
15490
|
+
var eventDragendAll = dragendAliases.all;
|
|
15491
|
+
var eventDragendThis = dragendAliases.this;
|
|
15492
|
+
var eventDragendAppHost = dragendAliases.appHost;
|
|
15493
|
+
var eventDragendWindow = dragendAliases.window;
|
|
15494
|
+
var eventDragendDocument = dragendAliases.document;
|
|
15495
|
+
var dragenterAliases = makeTypedEventAliases("dragenter");
|
|
15496
|
+
var eventDragenter = dragenterAliases.base;
|
|
15497
|
+
var eventDragenterDelegateLight = dragenterAliases.delegateLight;
|
|
15498
|
+
var eventDragenterDelegateShadow = dragenterAliases.delegateShadow;
|
|
15499
|
+
var eventDragenterDelegateAll = dragenterAliases.delegateAll;
|
|
15500
|
+
var eventDragenterDelegate = dragenterAliases.delegate;
|
|
15501
|
+
var eventDragenterMutationLight = dragenterAliases.mutationLight;
|
|
15502
|
+
var eventDragenterMutationShadow = dragenterAliases.mutationShadow;
|
|
15503
|
+
var eventDragenterMutationAll = dragenterAliases.mutationAll;
|
|
15504
|
+
var eventDragenterMutation = dragenterAliases.mutation;
|
|
15505
|
+
var eventDragenterLight = dragenterAliases.light;
|
|
15506
|
+
var eventDragenterShadow = dragenterAliases.shadow;
|
|
15507
|
+
var eventDragenterAll = dragenterAliases.all;
|
|
15508
|
+
var eventDragenterThis = dragenterAliases.this;
|
|
15509
|
+
var eventDragenterAppHost = dragenterAliases.appHost;
|
|
15510
|
+
var eventDragenterWindow = dragenterAliases.window;
|
|
15511
|
+
var eventDragenterDocument = dragenterAliases.document;
|
|
15512
|
+
var dragleaveAliases = makeTypedEventAliases("dragleave");
|
|
15513
|
+
var eventDragleave = dragleaveAliases.base;
|
|
15514
|
+
var eventDragleaveDelegateLight = dragleaveAliases.delegateLight;
|
|
15515
|
+
var eventDragleaveDelegateShadow = dragleaveAliases.delegateShadow;
|
|
15516
|
+
var eventDragleaveDelegateAll = dragleaveAliases.delegateAll;
|
|
15517
|
+
var eventDragleaveDelegate = dragleaveAliases.delegate;
|
|
15518
|
+
var eventDragleaveMutationLight = dragleaveAliases.mutationLight;
|
|
15519
|
+
var eventDragleaveMutationShadow = dragleaveAliases.mutationShadow;
|
|
15520
|
+
var eventDragleaveMutationAll = dragleaveAliases.mutationAll;
|
|
15521
|
+
var eventDragleaveMutation = dragleaveAliases.mutation;
|
|
15522
|
+
var eventDragleaveLight = dragleaveAliases.light;
|
|
15523
|
+
var eventDragleaveShadow = dragleaveAliases.shadow;
|
|
15524
|
+
var eventDragleaveAll = dragleaveAliases.all;
|
|
15525
|
+
var eventDragleaveThis = dragleaveAliases.this;
|
|
15526
|
+
var eventDragleaveAppHost = dragleaveAliases.appHost;
|
|
15527
|
+
var eventDragleaveWindow = dragleaveAliases.window;
|
|
15528
|
+
var eventDragleaveDocument = dragleaveAliases.document;
|
|
15529
|
+
var dragoverAliases = makeTypedEventAliases("dragover");
|
|
15530
|
+
var eventDragover = dragoverAliases.base;
|
|
15531
|
+
var eventDragoverDelegateLight = dragoverAliases.delegateLight;
|
|
15532
|
+
var eventDragoverDelegateShadow = dragoverAliases.delegateShadow;
|
|
15533
|
+
var eventDragoverDelegateAll = dragoverAliases.delegateAll;
|
|
15534
|
+
var eventDragoverDelegate = dragoverAliases.delegate;
|
|
15535
|
+
var eventDragoverMutationLight = dragoverAliases.mutationLight;
|
|
15536
|
+
var eventDragoverMutationShadow = dragoverAliases.mutationShadow;
|
|
15537
|
+
var eventDragoverMutationAll = dragoverAliases.mutationAll;
|
|
15538
|
+
var eventDragoverMutation = dragoverAliases.mutation;
|
|
15539
|
+
var eventDragoverLight = dragoverAliases.light;
|
|
15540
|
+
var eventDragoverShadow = dragoverAliases.shadow;
|
|
15541
|
+
var eventDragoverAll = dragoverAliases.all;
|
|
15542
|
+
var eventDragoverThis = dragoverAliases.this;
|
|
15543
|
+
var eventDragoverAppHost = dragoverAliases.appHost;
|
|
15544
|
+
var eventDragoverWindow = dragoverAliases.window;
|
|
15545
|
+
var eventDragoverDocument = dragoverAliases.document;
|
|
15546
|
+
var dropAliases = makeTypedEventAliases("drop");
|
|
15547
|
+
var eventDrop = dropAliases.base;
|
|
15548
|
+
var eventDropDelegateLight = dropAliases.delegateLight;
|
|
15549
|
+
var eventDropDelegateShadow = dropAliases.delegateShadow;
|
|
15550
|
+
var eventDropDelegateAll = dropAliases.delegateAll;
|
|
15551
|
+
var eventDropDelegate = dropAliases.delegate;
|
|
15552
|
+
var eventDropMutationLight = dropAliases.mutationLight;
|
|
15553
|
+
var eventDropMutationShadow = dropAliases.mutationShadow;
|
|
15554
|
+
var eventDropMutationAll = dropAliases.mutationAll;
|
|
15555
|
+
var eventDropMutation = dropAliases.mutation;
|
|
15556
|
+
var eventDropLight = dropAliases.light;
|
|
15557
|
+
var eventDropShadow = dropAliases.shadow;
|
|
15558
|
+
var eventDropAll = dropAliases.all;
|
|
15559
|
+
var eventDropThis = dropAliases.this;
|
|
15560
|
+
var eventDropAppHost = dropAliases.appHost;
|
|
15561
|
+
var eventDropWindow = dropAliases.window;
|
|
15562
|
+
var eventDropDocument = dropAliases.document;
|
|
15563
|
+
var touchstartAliases = makeTypedEventAliases("touchstart");
|
|
15564
|
+
var eventTouchstart = touchstartAliases.base;
|
|
15565
|
+
var eventTouchstartDelegateLight = touchstartAliases.delegateLight;
|
|
15566
|
+
var eventTouchstartDelegateShadow = touchstartAliases.delegateShadow;
|
|
15567
|
+
var eventTouchstartDelegateAll = touchstartAliases.delegateAll;
|
|
15568
|
+
var eventTouchstartDelegate = touchstartAliases.delegate;
|
|
15569
|
+
var eventTouchstartMutationLight = touchstartAliases.mutationLight;
|
|
15570
|
+
var eventTouchstartMutationShadow = touchstartAliases.mutationShadow;
|
|
15571
|
+
var eventTouchstartMutationAll = touchstartAliases.mutationAll;
|
|
15572
|
+
var eventTouchstartMutation = touchstartAliases.mutation;
|
|
15573
|
+
var eventTouchstartLight = touchstartAliases.light;
|
|
15574
|
+
var eventTouchstartShadow = touchstartAliases.shadow;
|
|
15575
|
+
var eventTouchstartAll = touchstartAliases.all;
|
|
15576
|
+
var eventTouchstartThis = touchstartAliases.this;
|
|
15577
|
+
var eventTouchstartAppHost = touchstartAliases.appHost;
|
|
15578
|
+
var eventTouchstartWindow = touchstartAliases.window;
|
|
15579
|
+
var eventTouchstartDocument = touchstartAliases.document;
|
|
15580
|
+
var touchmoveAliases = makeTypedEventAliases("touchmove");
|
|
15581
|
+
var eventTouchmove = touchmoveAliases.base;
|
|
15582
|
+
var eventTouchmoveDelegateLight = touchmoveAliases.delegateLight;
|
|
15583
|
+
var eventTouchmoveDelegateShadow = touchmoveAliases.delegateShadow;
|
|
15584
|
+
var eventTouchmoveDelegateAll = touchmoveAliases.delegateAll;
|
|
15585
|
+
var eventTouchmoveDelegate = touchmoveAliases.delegate;
|
|
15586
|
+
var eventTouchmoveMutationLight = touchmoveAliases.mutationLight;
|
|
15587
|
+
var eventTouchmoveMutationShadow = touchmoveAliases.mutationShadow;
|
|
15588
|
+
var eventTouchmoveMutationAll = touchmoveAliases.mutationAll;
|
|
15589
|
+
var eventTouchmoveMutation = touchmoveAliases.mutation;
|
|
15590
|
+
var eventTouchmoveLight = touchmoveAliases.light;
|
|
15591
|
+
var eventTouchmoveShadow = touchmoveAliases.shadow;
|
|
15592
|
+
var eventTouchmoveAll = touchmoveAliases.all;
|
|
15593
|
+
var eventTouchmoveThis = touchmoveAliases.this;
|
|
15594
|
+
var eventTouchmoveAppHost = touchmoveAliases.appHost;
|
|
15595
|
+
var eventTouchmoveWindow = touchmoveAliases.window;
|
|
15596
|
+
var eventTouchmoveDocument = touchmoveAliases.document;
|
|
15597
|
+
var touchendAliases = makeTypedEventAliases("touchend");
|
|
15598
|
+
var eventTouchend = touchendAliases.base;
|
|
15599
|
+
var eventTouchendDelegateLight = touchendAliases.delegateLight;
|
|
15600
|
+
var eventTouchendDelegateShadow = touchendAliases.delegateShadow;
|
|
15601
|
+
var eventTouchendDelegateAll = touchendAliases.delegateAll;
|
|
15602
|
+
var eventTouchendDelegate = touchendAliases.delegate;
|
|
15603
|
+
var eventTouchendMutationLight = touchendAliases.mutationLight;
|
|
15604
|
+
var eventTouchendMutationShadow = touchendAliases.mutationShadow;
|
|
15605
|
+
var eventTouchendMutationAll = touchendAliases.mutationAll;
|
|
15606
|
+
var eventTouchendMutation = touchendAliases.mutation;
|
|
15607
|
+
var eventTouchendLight = touchendAliases.light;
|
|
15608
|
+
var eventTouchendShadow = touchendAliases.shadow;
|
|
15609
|
+
var eventTouchendAll = touchendAliases.all;
|
|
15610
|
+
var eventTouchendThis = touchendAliases.this;
|
|
15611
|
+
var eventTouchendAppHost = touchendAliases.appHost;
|
|
15612
|
+
var eventTouchendWindow = touchendAliases.window;
|
|
15613
|
+
var eventTouchendDocument = touchendAliases.document;
|
|
15614
|
+
var touchcancelAliases = makeTypedEventAliases("touchcancel");
|
|
15615
|
+
var eventTouchcancel = touchcancelAliases.base;
|
|
15616
|
+
var eventTouchcancelDelegateLight = touchcancelAliases.delegateLight;
|
|
15617
|
+
var eventTouchcancelDelegateShadow = touchcancelAliases.delegateShadow;
|
|
15618
|
+
var eventTouchcancelDelegateAll = touchcancelAliases.delegateAll;
|
|
15619
|
+
var eventTouchcancelDelegate = touchcancelAliases.delegate;
|
|
15620
|
+
var eventTouchcancelMutationLight = touchcancelAliases.mutationLight;
|
|
15621
|
+
var eventTouchcancelMutationShadow = touchcancelAliases.mutationShadow;
|
|
15622
|
+
var eventTouchcancelMutationAll = touchcancelAliases.mutationAll;
|
|
15623
|
+
var eventTouchcancelMutation = touchcancelAliases.mutation;
|
|
15624
|
+
var eventTouchcancelLight = touchcancelAliases.light;
|
|
15625
|
+
var eventTouchcancelShadow = touchcancelAliases.shadow;
|
|
15626
|
+
var eventTouchcancelAll = touchcancelAliases.all;
|
|
15627
|
+
var eventTouchcancelThis = touchcancelAliases.this;
|
|
15628
|
+
var eventTouchcancelAppHost = touchcancelAliases.appHost;
|
|
15629
|
+
var eventTouchcancelWindow = touchcancelAliases.window;
|
|
15630
|
+
var eventTouchcancelDocument = touchcancelAliases.document;
|
|
15631
|
+
var pointerdownAliases = makeTypedEventAliases("pointerdown");
|
|
15632
|
+
var eventPointerdown = pointerdownAliases.base;
|
|
15633
|
+
var eventPointerdownDelegateLight = pointerdownAliases.delegateLight;
|
|
15634
|
+
var eventPointerdownDelegateShadow = pointerdownAliases.delegateShadow;
|
|
15635
|
+
var eventPointerdownDelegateAll = pointerdownAliases.delegateAll;
|
|
15636
|
+
var eventPointerdownDelegate = pointerdownAliases.delegate;
|
|
15637
|
+
var eventPointerdownMutationLight = pointerdownAliases.mutationLight;
|
|
15638
|
+
var eventPointerdownMutationShadow = pointerdownAliases.mutationShadow;
|
|
15639
|
+
var eventPointerdownMutationAll = pointerdownAliases.mutationAll;
|
|
15640
|
+
var eventPointerdownMutation = pointerdownAliases.mutation;
|
|
15641
|
+
var eventPointerdownLight = pointerdownAliases.light;
|
|
15642
|
+
var eventPointerdownShadow = pointerdownAliases.shadow;
|
|
15643
|
+
var eventPointerdownAll = pointerdownAliases.all;
|
|
15644
|
+
var eventPointerdownThis = pointerdownAliases.this;
|
|
15645
|
+
var eventPointerdownAppHost = pointerdownAliases.appHost;
|
|
15646
|
+
var eventPointerdownWindow = pointerdownAliases.window;
|
|
15647
|
+
var eventPointerdownDocument = pointerdownAliases.document;
|
|
15648
|
+
var pointerupAliases = makeTypedEventAliases("pointerup");
|
|
15649
|
+
var eventPointerup = pointerupAliases.base;
|
|
15650
|
+
var eventPointerupDelegateLight = pointerupAliases.delegateLight;
|
|
15651
|
+
var eventPointerupDelegateShadow = pointerupAliases.delegateShadow;
|
|
15652
|
+
var eventPointerupDelegateAll = pointerupAliases.delegateAll;
|
|
15653
|
+
var eventPointerupDelegate = pointerupAliases.delegate;
|
|
15654
|
+
var eventPointerupMutationLight = pointerupAliases.mutationLight;
|
|
15655
|
+
var eventPointerupMutationShadow = pointerupAliases.mutationShadow;
|
|
15656
|
+
var eventPointerupMutationAll = pointerupAliases.mutationAll;
|
|
15657
|
+
var eventPointerupMutation = pointerupAliases.mutation;
|
|
15658
|
+
var eventPointerupLight = pointerupAliases.light;
|
|
15659
|
+
var eventPointerupShadow = pointerupAliases.shadow;
|
|
15660
|
+
var eventPointerupAll = pointerupAliases.all;
|
|
15661
|
+
var eventPointerupThis = pointerupAliases.this;
|
|
15662
|
+
var eventPointerupAppHost = pointerupAliases.appHost;
|
|
15663
|
+
var eventPointerupWindow = pointerupAliases.window;
|
|
15664
|
+
var eventPointerupDocument = pointerupAliases.document;
|
|
15665
|
+
var pointermoveAliases = makeTypedEventAliases("pointermove");
|
|
15666
|
+
var eventPointermove = pointermoveAliases.base;
|
|
15667
|
+
var eventPointermoveDelegateLight = pointermoveAliases.delegateLight;
|
|
15668
|
+
var eventPointermoveDelegateShadow = pointermoveAliases.delegateShadow;
|
|
15669
|
+
var eventPointermoveDelegateAll = pointermoveAliases.delegateAll;
|
|
15670
|
+
var eventPointermoveDelegate = pointermoveAliases.delegate;
|
|
15671
|
+
var eventPointermoveMutationLight = pointermoveAliases.mutationLight;
|
|
15672
|
+
var eventPointermoveMutationShadow = pointermoveAliases.mutationShadow;
|
|
15673
|
+
var eventPointermoveMutationAll = pointermoveAliases.mutationAll;
|
|
15674
|
+
var eventPointermoveMutation = pointermoveAliases.mutation;
|
|
15675
|
+
var eventPointermoveLight = pointermoveAliases.light;
|
|
15676
|
+
var eventPointermoveShadow = pointermoveAliases.shadow;
|
|
15677
|
+
var eventPointermoveAll = pointermoveAliases.all;
|
|
15678
|
+
var eventPointermoveThis = pointermoveAliases.this;
|
|
15679
|
+
var eventPointermoveAppHost = pointermoveAliases.appHost;
|
|
15680
|
+
var eventPointermoveWindow = pointermoveAliases.window;
|
|
15681
|
+
var eventPointermoveDocument = pointermoveAliases.document;
|
|
15682
|
+
var pointeroverAliases = makeTypedEventAliases("pointerover");
|
|
15683
|
+
var eventPointerover = pointeroverAliases.base;
|
|
15684
|
+
var eventPointeroverDelegateLight = pointeroverAliases.delegateLight;
|
|
15685
|
+
var eventPointeroverDelegateShadow = pointeroverAliases.delegateShadow;
|
|
15686
|
+
var eventPointeroverDelegateAll = pointeroverAliases.delegateAll;
|
|
15687
|
+
var eventPointeroverDelegate = pointeroverAliases.delegate;
|
|
15688
|
+
var eventPointeroverMutationLight = pointeroverAliases.mutationLight;
|
|
15689
|
+
var eventPointeroverMutationShadow = pointeroverAliases.mutationShadow;
|
|
15690
|
+
var eventPointeroverMutationAll = pointeroverAliases.mutationAll;
|
|
15691
|
+
var eventPointeroverMutation = pointeroverAliases.mutation;
|
|
15692
|
+
var eventPointeroverLight = pointeroverAliases.light;
|
|
15693
|
+
var eventPointeroverShadow = pointeroverAliases.shadow;
|
|
15694
|
+
var eventPointeroverAll = pointeroverAliases.all;
|
|
15695
|
+
var eventPointeroverThis = pointeroverAliases.this;
|
|
15696
|
+
var eventPointeroverAppHost = pointeroverAliases.appHost;
|
|
15697
|
+
var eventPointeroverWindow = pointeroverAliases.window;
|
|
15698
|
+
var eventPointeroverDocument = pointeroverAliases.document;
|
|
15699
|
+
var pointeroutAliases = makeTypedEventAliases("pointerout");
|
|
15700
|
+
var eventPointerout = pointeroutAliases.base;
|
|
15701
|
+
var eventPointeroutDelegateLight = pointeroutAliases.delegateLight;
|
|
15702
|
+
var eventPointeroutDelegateShadow = pointeroutAliases.delegateShadow;
|
|
15703
|
+
var eventPointeroutDelegateAll = pointeroutAliases.delegateAll;
|
|
15704
|
+
var eventPointeroutDelegate = pointeroutAliases.delegate;
|
|
15705
|
+
var eventPointeroutMutationLight = pointeroutAliases.mutationLight;
|
|
15706
|
+
var eventPointeroutMutationShadow = pointeroutAliases.mutationShadow;
|
|
15707
|
+
var eventPointeroutMutationAll = pointeroutAliases.mutationAll;
|
|
15708
|
+
var eventPointeroutMutation = pointeroutAliases.mutation;
|
|
15709
|
+
var eventPointeroutLight = pointeroutAliases.light;
|
|
15710
|
+
var eventPointeroutShadow = pointeroutAliases.shadow;
|
|
15711
|
+
var eventPointeroutAll = pointeroutAliases.all;
|
|
15712
|
+
var eventPointeroutThis = pointeroutAliases.this;
|
|
15713
|
+
var eventPointeroutAppHost = pointeroutAliases.appHost;
|
|
15714
|
+
var eventPointeroutWindow = pointeroutAliases.window;
|
|
15715
|
+
var eventPointeroutDocument = pointeroutAliases.document;
|
|
15716
|
+
var pointerenterAliases = makeTypedEventAliases("pointerenter");
|
|
15717
|
+
var eventPointerenter = pointerenterAliases.base;
|
|
15718
|
+
var eventPointerenterDelegateLight = pointerenterAliases.delegateLight;
|
|
15719
|
+
var eventPointerenterDelegateShadow = pointerenterAliases.delegateShadow;
|
|
15720
|
+
var eventPointerenterDelegateAll = pointerenterAliases.delegateAll;
|
|
15721
|
+
var eventPointerenterDelegate = pointerenterAliases.delegate;
|
|
15722
|
+
var eventPointerenterMutationLight = pointerenterAliases.mutationLight;
|
|
15723
|
+
var eventPointerenterMutationShadow = pointerenterAliases.mutationShadow;
|
|
15724
|
+
var eventPointerenterMutationAll = pointerenterAliases.mutationAll;
|
|
15725
|
+
var eventPointerenterMutation = pointerenterAliases.mutation;
|
|
15726
|
+
var eventPointerenterLight = pointerenterAliases.light;
|
|
15727
|
+
var eventPointerenterShadow = pointerenterAliases.shadow;
|
|
15728
|
+
var eventPointerenterAll = pointerenterAliases.all;
|
|
15729
|
+
var eventPointerenterThis = pointerenterAliases.this;
|
|
15730
|
+
var eventPointerenterAppHost = pointerenterAliases.appHost;
|
|
15731
|
+
var eventPointerenterWindow = pointerenterAliases.window;
|
|
15732
|
+
var eventPointerenterDocument = pointerenterAliases.document;
|
|
15733
|
+
var pointerleaveAliases = makeTypedEventAliases("pointerleave");
|
|
15734
|
+
var eventPointerleave = pointerleaveAliases.base;
|
|
15735
|
+
var eventPointerleaveDelegateLight = pointerleaveAliases.delegateLight;
|
|
15736
|
+
var eventPointerleaveDelegateShadow = pointerleaveAliases.delegateShadow;
|
|
15737
|
+
var eventPointerleaveDelegateAll = pointerleaveAliases.delegateAll;
|
|
15738
|
+
var eventPointerleaveDelegate = pointerleaveAliases.delegate;
|
|
15739
|
+
var eventPointerleaveMutationLight = pointerleaveAliases.mutationLight;
|
|
15740
|
+
var eventPointerleaveMutationShadow = pointerleaveAliases.mutationShadow;
|
|
15741
|
+
var eventPointerleaveMutationAll = pointerleaveAliases.mutationAll;
|
|
15742
|
+
var eventPointerleaveMutation = pointerleaveAliases.mutation;
|
|
15743
|
+
var eventPointerleaveLight = pointerleaveAliases.light;
|
|
15744
|
+
var eventPointerleaveShadow = pointerleaveAliases.shadow;
|
|
15745
|
+
var eventPointerleaveAll = pointerleaveAliases.all;
|
|
15746
|
+
var eventPointerleaveThis = pointerleaveAliases.this;
|
|
15747
|
+
var eventPointerleaveAppHost = pointerleaveAliases.appHost;
|
|
15748
|
+
var eventPointerleaveWindow = pointerleaveAliases.window;
|
|
15749
|
+
var eventPointerleaveDocument = pointerleaveAliases.document;
|
|
15750
|
+
var pointercancelAliases = makeTypedEventAliases("pointercancel");
|
|
15751
|
+
var eventPointercancel = pointercancelAliases.base;
|
|
15752
|
+
var eventPointercancelDelegateLight = pointercancelAliases.delegateLight;
|
|
15753
|
+
var eventPointercancelDelegateShadow = pointercancelAliases.delegateShadow;
|
|
15754
|
+
var eventPointercancelDelegateAll = pointercancelAliases.delegateAll;
|
|
15755
|
+
var eventPointercancelDelegate = pointercancelAliases.delegate;
|
|
15756
|
+
var eventPointercancelMutationLight = pointercancelAliases.mutationLight;
|
|
15757
|
+
var eventPointercancelMutationShadow = pointercancelAliases.mutationShadow;
|
|
15758
|
+
var eventPointercancelMutationAll = pointercancelAliases.mutationAll;
|
|
15759
|
+
var eventPointercancelMutation = pointercancelAliases.mutation;
|
|
15760
|
+
var eventPointercancelLight = pointercancelAliases.light;
|
|
15761
|
+
var eventPointercancelShadow = pointercancelAliases.shadow;
|
|
15762
|
+
var eventPointercancelAll = pointercancelAliases.all;
|
|
15763
|
+
var eventPointercancelThis = pointercancelAliases.this;
|
|
15764
|
+
var eventPointercancelAppHost = pointercancelAliases.appHost;
|
|
15765
|
+
var eventPointercancelWindow = pointercancelAliases.window;
|
|
15766
|
+
var eventPointercancelDocument = pointercancelAliases.document;
|
|
15767
|
+
var copyAliases = makeTypedEventAliases("copy");
|
|
15768
|
+
var eventCopy = copyAliases.base;
|
|
15769
|
+
var eventCopyDelegateLight = copyAliases.delegateLight;
|
|
15770
|
+
var eventCopyDelegateShadow = copyAliases.delegateShadow;
|
|
15771
|
+
var eventCopyDelegateAll = copyAliases.delegateAll;
|
|
15772
|
+
var eventCopyDelegate = copyAliases.delegate;
|
|
15773
|
+
var eventCopyMutationLight = copyAliases.mutationLight;
|
|
15774
|
+
var eventCopyMutationShadow = copyAliases.mutationShadow;
|
|
15775
|
+
var eventCopyMutationAll = copyAliases.mutationAll;
|
|
15776
|
+
var eventCopyMutation = copyAliases.mutation;
|
|
15777
|
+
var eventCopyLight = copyAliases.light;
|
|
15778
|
+
var eventCopyShadow = copyAliases.shadow;
|
|
15779
|
+
var eventCopyAll = copyAliases.all;
|
|
15780
|
+
var eventCopyThis = copyAliases.this;
|
|
15781
|
+
var eventCopyAppHost = copyAliases.appHost;
|
|
15782
|
+
var eventCopyWindow = copyAliases.window;
|
|
15783
|
+
var eventCopyDocument = copyAliases.document;
|
|
15784
|
+
var cutAliases = makeTypedEventAliases("cut");
|
|
15785
|
+
var eventCut = cutAliases.base;
|
|
15786
|
+
var eventCutDelegateLight = cutAliases.delegateLight;
|
|
15787
|
+
var eventCutDelegateShadow = cutAliases.delegateShadow;
|
|
15788
|
+
var eventCutDelegateAll = cutAliases.delegateAll;
|
|
15789
|
+
var eventCutDelegate = cutAliases.delegate;
|
|
15790
|
+
var eventCutMutationLight = cutAliases.mutationLight;
|
|
15791
|
+
var eventCutMutationShadow = cutAliases.mutationShadow;
|
|
15792
|
+
var eventCutMutationAll = cutAliases.mutationAll;
|
|
15793
|
+
var eventCutMutation = cutAliases.mutation;
|
|
15794
|
+
var eventCutLight = cutAliases.light;
|
|
15795
|
+
var eventCutShadow = cutAliases.shadow;
|
|
15796
|
+
var eventCutAll = cutAliases.all;
|
|
15797
|
+
var eventCutThis = cutAliases.this;
|
|
15798
|
+
var eventCutAppHost = cutAliases.appHost;
|
|
15799
|
+
var eventCutWindow = cutAliases.window;
|
|
15800
|
+
var eventCutDocument = cutAliases.document;
|
|
15801
|
+
var pasteAliases = makeTypedEventAliases("paste");
|
|
15802
|
+
var eventPaste = pasteAliases.base;
|
|
15803
|
+
var eventPasteDelegateLight = pasteAliases.delegateLight;
|
|
15804
|
+
var eventPasteDelegateShadow = pasteAliases.delegateShadow;
|
|
15805
|
+
var eventPasteDelegateAll = pasteAliases.delegateAll;
|
|
15806
|
+
var eventPasteDelegate = pasteAliases.delegate;
|
|
15807
|
+
var eventPasteMutationLight = pasteAliases.mutationLight;
|
|
15808
|
+
var eventPasteMutationShadow = pasteAliases.mutationShadow;
|
|
15809
|
+
var eventPasteMutationAll = pasteAliases.mutationAll;
|
|
15810
|
+
var eventPasteMutation = pasteAliases.mutation;
|
|
15811
|
+
var eventPasteLight = pasteAliases.light;
|
|
15812
|
+
var eventPasteShadow = pasteAliases.shadow;
|
|
15813
|
+
var eventPasteAll = pasteAliases.all;
|
|
15814
|
+
var eventPasteThis = pasteAliases.this;
|
|
15815
|
+
var eventPasteAppHost = pasteAliases.appHost;
|
|
15816
|
+
var eventPasteWindow = pasteAliases.window;
|
|
15817
|
+
var eventPasteDocument = pasteAliases.document;
|
|
15818
|
+
var animationstartAliases = makeTypedEventAliases("animationstart");
|
|
15819
|
+
var eventAnimationstart = animationstartAliases.base;
|
|
15820
|
+
var eventAnimationstartDelegateLight = animationstartAliases.delegateLight;
|
|
15821
|
+
var eventAnimationstartDelegateShadow = animationstartAliases.delegateShadow;
|
|
15822
|
+
var eventAnimationstartDelegateAll = animationstartAliases.delegateAll;
|
|
15823
|
+
var eventAnimationstartDelegate = animationstartAliases.delegate;
|
|
15824
|
+
var eventAnimationstartMutationLight = animationstartAliases.mutationLight;
|
|
15825
|
+
var eventAnimationstartMutationShadow = animationstartAliases.mutationShadow;
|
|
15826
|
+
var eventAnimationstartMutationAll = animationstartAliases.mutationAll;
|
|
15827
|
+
var eventAnimationstartMutation = animationstartAliases.mutation;
|
|
15828
|
+
var eventAnimationstartLight = animationstartAliases.light;
|
|
15829
|
+
var eventAnimationstartShadow = animationstartAliases.shadow;
|
|
15830
|
+
var eventAnimationstartAll = animationstartAliases.all;
|
|
15831
|
+
var eventAnimationstartThis = animationstartAliases.this;
|
|
15832
|
+
var eventAnimationstartAppHost = animationstartAliases.appHost;
|
|
15833
|
+
var eventAnimationstartWindow = animationstartAliases.window;
|
|
15834
|
+
var eventAnimationstartDocument = animationstartAliases.document;
|
|
15835
|
+
var animationendAliases = makeTypedEventAliases("animationend");
|
|
15836
|
+
var eventAnimationend = animationendAliases.base;
|
|
15837
|
+
var eventAnimationendDelegateLight = animationendAliases.delegateLight;
|
|
15838
|
+
var eventAnimationendDelegateShadow = animationendAliases.delegateShadow;
|
|
15839
|
+
var eventAnimationendDelegateAll = animationendAliases.delegateAll;
|
|
15840
|
+
var eventAnimationendDelegate = animationendAliases.delegate;
|
|
15841
|
+
var eventAnimationendMutationLight = animationendAliases.mutationLight;
|
|
15842
|
+
var eventAnimationendMutationShadow = animationendAliases.mutationShadow;
|
|
15843
|
+
var eventAnimationendMutationAll = animationendAliases.mutationAll;
|
|
15844
|
+
var eventAnimationendMutation = animationendAliases.mutation;
|
|
15845
|
+
var eventAnimationendLight = animationendAliases.light;
|
|
15846
|
+
var eventAnimationendShadow = animationendAliases.shadow;
|
|
15847
|
+
var eventAnimationendAll = animationendAliases.all;
|
|
15848
|
+
var eventAnimationendThis = animationendAliases.this;
|
|
15849
|
+
var eventAnimationendAppHost = animationendAliases.appHost;
|
|
15850
|
+
var eventAnimationendWindow = animationendAliases.window;
|
|
15851
|
+
var eventAnimationendDocument = animationendAliases.document;
|
|
15852
|
+
var animationiterationAliases = makeTypedEventAliases("animationiteration");
|
|
15853
|
+
var eventAnimationiteration = animationiterationAliases.base;
|
|
15854
|
+
var eventAnimationiterationDelegateLight = animationiterationAliases.delegateLight;
|
|
15855
|
+
var eventAnimationiterationDelegateShadow = animationiterationAliases.delegateShadow;
|
|
15856
|
+
var eventAnimationiterationDelegateAll = animationiterationAliases.delegateAll;
|
|
15857
|
+
var eventAnimationiterationDelegate = animationiterationAliases.delegate;
|
|
15858
|
+
var eventAnimationiterationMutationLight = animationiterationAliases.mutationLight;
|
|
15859
|
+
var eventAnimationiterationMutationShadow = animationiterationAliases.mutationShadow;
|
|
15860
|
+
var eventAnimationiterationMutationAll = animationiterationAliases.mutationAll;
|
|
15861
|
+
var eventAnimationiterationMutation = animationiterationAliases.mutation;
|
|
15862
|
+
var eventAnimationiterationLight = animationiterationAliases.light;
|
|
15863
|
+
var eventAnimationiterationShadow = animationiterationAliases.shadow;
|
|
15864
|
+
var eventAnimationiterationAll = animationiterationAliases.all;
|
|
15865
|
+
var eventAnimationiterationThis = animationiterationAliases.this;
|
|
15866
|
+
var eventAnimationiterationAppHost = animationiterationAliases.appHost;
|
|
15867
|
+
var eventAnimationiterationWindow = animationiterationAliases.window;
|
|
15868
|
+
var eventAnimationiterationDocument = animationiterationAliases.document;
|
|
15869
|
+
var animationcancelAliases = makeTypedEventAliases("animationcancel");
|
|
15870
|
+
var eventAnimationcancel = animationcancelAliases.base;
|
|
15871
|
+
var eventAnimationcancelDelegateLight = animationcancelAliases.delegateLight;
|
|
15872
|
+
var eventAnimationcancelDelegateShadow = animationcancelAliases.delegateShadow;
|
|
15873
|
+
var eventAnimationcancelDelegateAll = animationcancelAliases.delegateAll;
|
|
15874
|
+
var eventAnimationcancelDelegate = animationcancelAliases.delegate;
|
|
15875
|
+
var eventAnimationcancelMutationLight = animationcancelAliases.mutationLight;
|
|
15876
|
+
var eventAnimationcancelMutationShadow = animationcancelAliases.mutationShadow;
|
|
15877
|
+
var eventAnimationcancelMutationAll = animationcancelAliases.mutationAll;
|
|
15878
|
+
var eventAnimationcancelMutation = animationcancelAliases.mutation;
|
|
15879
|
+
var eventAnimationcancelLight = animationcancelAliases.light;
|
|
15880
|
+
var eventAnimationcancelShadow = animationcancelAliases.shadow;
|
|
15881
|
+
var eventAnimationcancelAll = animationcancelAliases.all;
|
|
15882
|
+
var eventAnimationcancelThis = animationcancelAliases.this;
|
|
15883
|
+
var eventAnimationcancelAppHost = animationcancelAliases.appHost;
|
|
15884
|
+
var eventAnimationcancelWindow = animationcancelAliases.window;
|
|
15885
|
+
var eventAnimationcancelDocument = animationcancelAliases.document;
|
|
15886
|
+
var transitionstartAliases = makeTypedEventAliases("transitionstart");
|
|
15887
|
+
var eventTransitionstart = transitionstartAliases.base;
|
|
15888
|
+
var eventTransitionstartDelegateLight = transitionstartAliases.delegateLight;
|
|
15889
|
+
var eventTransitionstartDelegateShadow = transitionstartAliases.delegateShadow;
|
|
15890
|
+
var eventTransitionstartDelegateAll = transitionstartAliases.delegateAll;
|
|
15891
|
+
var eventTransitionstartDelegate = transitionstartAliases.delegate;
|
|
15892
|
+
var eventTransitionstartMutationLight = transitionstartAliases.mutationLight;
|
|
15893
|
+
var eventTransitionstartMutationShadow = transitionstartAliases.mutationShadow;
|
|
15894
|
+
var eventTransitionstartMutationAll = transitionstartAliases.mutationAll;
|
|
15895
|
+
var eventTransitionstartMutation = transitionstartAliases.mutation;
|
|
15896
|
+
var eventTransitionstartLight = transitionstartAliases.light;
|
|
15897
|
+
var eventTransitionstartShadow = transitionstartAliases.shadow;
|
|
15898
|
+
var eventTransitionstartAll = transitionstartAliases.all;
|
|
15899
|
+
var eventTransitionstartThis = transitionstartAliases.this;
|
|
15900
|
+
var eventTransitionstartAppHost = transitionstartAliases.appHost;
|
|
15901
|
+
var eventTransitionstartWindow = transitionstartAliases.window;
|
|
15902
|
+
var eventTransitionstartDocument = transitionstartAliases.document;
|
|
15903
|
+
var transitionendAliases = makeTypedEventAliases("transitionend");
|
|
15904
|
+
var eventTransitionend = transitionendAliases.base;
|
|
15905
|
+
var eventTransitionendDelegateLight = transitionendAliases.delegateLight;
|
|
15906
|
+
var eventTransitionendDelegateShadow = transitionendAliases.delegateShadow;
|
|
15907
|
+
var eventTransitionendDelegateAll = transitionendAliases.delegateAll;
|
|
15908
|
+
var eventTransitionendDelegate = transitionendAliases.delegate;
|
|
15909
|
+
var eventTransitionendMutationLight = transitionendAliases.mutationLight;
|
|
15910
|
+
var eventTransitionendMutationShadow = transitionendAliases.mutationShadow;
|
|
15911
|
+
var eventTransitionendMutationAll = transitionendAliases.mutationAll;
|
|
15912
|
+
var eventTransitionendMutation = transitionendAliases.mutation;
|
|
15913
|
+
var eventTransitionendLight = transitionendAliases.light;
|
|
15914
|
+
var eventTransitionendShadow = transitionendAliases.shadow;
|
|
15915
|
+
var eventTransitionendAll = transitionendAliases.all;
|
|
15916
|
+
var eventTransitionendThis = transitionendAliases.this;
|
|
15917
|
+
var eventTransitionendAppHost = transitionendAliases.appHost;
|
|
15918
|
+
var eventTransitionendWindow = transitionendAliases.window;
|
|
15919
|
+
var eventTransitionendDocument = transitionendAliases.document;
|
|
15920
|
+
var transitioncancelAliases = makeTypedEventAliases("transitioncancel");
|
|
15921
|
+
var eventTransitioncancel = transitioncancelAliases.base;
|
|
15922
|
+
var eventTransitioncancelDelegateLight = transitioncancelAliases.delegateLight;
|
|
15923
|
+
var eventTransitioncancelDelegateShadow = transitioncancelAliases.delegateShadow;
|
|
15924
|
+
var eventTransitioncancelDelegateAll = transitioncancelAliases.delegateAll;
|
|
15925
|
+
var eventTransitioncancelDelegate = transitioncancelAliases.delegate;
|
|
15926
|
+
var eventTransitioncancelMutationLight = transitioncancelAliases.mutationLight;
|
|
15927
|
+
var eventTransitioncancelMutationShadow = transitioncancelAliases.mutationShadow;
|
|
15928
|
+
var eventTransitioncancelMutationAll = transitioncancelAliases.mutationAll;
|
|
15929
|
+
var eventTransitioncancelMutation = transitioncancelAliases.mutation;
|
|
15930
|
+
var eventTransitioncancelLight = transitioncancelAliases.light;
|
|
15931
|
+
var eventTransitioncancelShadow = transitioncancelAliases.shadow;
|
|
15932
|
+
var eventTransitioncancelAll = transitioncancelAliases.all;
|
|
15933
|
+
var eventTransitioncancelThis = transitioncancelAliases.this;
|
|
15934
|
+
var eventTransitioncancelAppHost = transitioncancelAliases.appHost;
|
|
15935
|
+
var eventTransitioncancelWindow = transitioncancelAliases.window;
|
|
15936
|
+
var eventTransitioncancelDocument = transitioncancelAliases.document;
|
|
15937
|
+
var transitionrunAliases = makeTypedEventAliases("transitionrun");
|
|
15938
|
+
var eventTransitionrun = transitionrunAliases.base;
|
|
15939
|
+
var eventTransitionrunDelegateLight = transitionrunAliases.delegateLight;
|
|
15940
|
+
var eventTransitionrunDelegateShadow = transitionrunAliases.delegateShadow;
|
|
15941
|
+
var eventTransitionrunDelegateAll = transitionrunAliases.delegateAll;
|
|
15942
|
+
var eventTransitionrunDelegate = transitionrunAliases.delegate;
|
|
15943
|
+
var eventTransitionrunMutationLight = transitionrunAliases.mutationLight;
|
|
15944
|
+
var eventTransitionrunMutationShadow = transitionrunAliases.mutationShadow;
|
|
15945
|
+
var eventTransitionrunMutationAll = transitionrunAliases.mutationAll;
|
|
15946
|
+
var eventTransitionrunMutation = transitionrunAliases.mutation;
|
|
15947
|
+
var eventTransitionrunLight = transitionrunAliases.light;
|
|
15948
|
+
var eventTransitionrunShadow = transitionrunAliases.shadow;
|
|
15949
|
+
var eventTransitionrunAll = transitionrunAliases.all;
|
|
15950
|
+
var eventTransitionrunThis = transitionrunAliases.this;
|
|
15951
|
+
var eventTransitionrunAppHost = transitionrunAliases.appHost;
|
|
15952
|
+
var eventTransitionrunWindow = transitionrunAliases.window;
|
|
15953
|
+
var eventTransitionrunDocument = transitionrunAliases.document;
|
|
15954
|
+
var scrollAliases = makeTypedEventAliases("scroll");
|
|
15955
|
+
var eventScroll = scrollAliases.base;
|
|
15956
|
+
var eventScrollDelegateLight = scrollAliases.delegateLight;
|
|
15957
|
+
var eventScrollDelegateShadow = scrollAliases.delegateShadow;
|
|
15958
|
+
var eventScrollDelegateAll = scrollAliases.delegateAll;
|
|
15959
|
+
var eventScrollDelegate = scrollAliases.delegate;
|
|
15960
|
+
var eventScrollMutationLight = scrollAliases.mutationLight;
|
|
15961
|
+
var eventScrollMutationShadow = scrollAliases.mutationShadow;
|
|
15962
|
+
var eventScrollMutationAll = scrollAliases.mutationAll;
|
|
15963
|
+
var eventScrollMutation = scrollAliases.mutation;
|
|
15964
|
+
var eventScrollLight = scrollAliases.light;
|
|
15965
|
+
var eventScrollShadow = scrollAliases.shadow;
|
|
15966
|
+
var eventScrollAll = scrollAliases.all;
|
|
15967
|
+
var eventScrollThis = scrollAliases.this;
|
|
15968
|
+
var eventScrollAppHost = scrollAliases.appHost;
|
|
15969
|
+
var eventScrollWindow = scrollAliases.window;
|
|
15970
|
+
var eventScrollDocument = scrollAliases.document;
|
|
15971
|
+
var resizeAliases = makeTypedEventAliases("resize");
|
|
15972
|
+
var eventResize = resizeAliases.base;
|
|
15973
|
+
var eventResizeDelegateLight = resizeAliases.delegateLight;
|
|
15974
|
+
var eventResizeDelegateShadow = resizeAliases.delegateShadow;
|
|
15975
|
+
var eventResizeDelegateAll = resizeAliases.delegateAll;
|
|
15976
|
+
var eventResizeDelegate = resizeAliases.delegate;
|
|
15977
|
+
var eventResizeMutationLight = resizeAliases.mutationLight;
|
|
15978
|
+
var eventResizeMutationShadow = resizeAliases.mutationShadow;
|
|
15979
|
+
var eventResizeMutationAll = resizeAliases.mutationAll;
|
|
15980
|
+
var eventResizeMutation = resizeAliases.mutation;
|
|
15981
|
+
var eventResizeLight = resizeAliases.light;
|
|
15982
|
+
var eventResizeShadow = resizeAliases.shadow;
|
|
15983
|
+
var eventResizeAll = resizeAliases.all;
|
|
15984
|
+
var eventResizeThis = resizeAliases.this;
|
|
15985
|
+
var eventResizeAppHost = resizeAliases.appHost;
|
|
15986
|
+
var eventResizeWindow = resizeAliases.window;
|
|
15987
|
+
var eventResizeDocument = resizeAliases.document;
|
|
15988
|
+
var loadAliases = makeTypedEventAliases("load");
|
|
15989
|
+
var eventLoad = loadAliases.base;
|
|
15990
|
+
var eventLoadDelegateLight = loadAliases.delegateLight;
|
|
15991
|
+
var eventLoadDelegateShadow = loadAliases.delegateShadow;
|
|
15992
|
+
var eventLoadDelegateAll = loadAliases.delegateAll;
|
|
15993
|
+
var eventLoadDelegate = loadAliases.delegate;
|
|
15994
|
+
var eventLoadMutationLight = loadAliases.mutationLight;
|
|
15995
|
+
var eventLoadMutationShadow = loadAliases.mutationShadow;
|
|
15996
|
+
var eventLoadMutationAll = loadAliases.mutationAll;
|
|
15997
|
+
var eventLoadMutation = loadAliases.mutation;
|
|
15998
|
+
var eventLoadLight = loadAliases.light;
|
|
15999
|
+
var eventLoadShadow = loadAliases.shadow;
|
|
16000
|
+
var eventLoadAll = loadAliases.all;
|
|
16001
|
+
var eventLoadThis = loadAliases.this;
|
|
16002
|
+
var eventLoadAppHost = loadAliases.appHost;
|
|
16003
|
+
var eventLoadWindow = loadAliases.window;
|
|
16004
|
+
var eventLoadDocument = loadAliases.document;
|
|
16005
|
+
var errorAliases = makeTypedEventAliases("error");
|
|
16006
|
+
var eventError = errorAliases.base;
|
|
16007
|
+
var eventErrorDelegateLight = errorAliases.delegateLight;
|
|
16008
|
+
var eventErrorDelegateShadow = errorAliases.delegateShadow;
|
|
16009
|
+
var eventErrorDelegateAll = errorAliases.delegateAll;
|
|
16010
|
+
var eventErrorDelegate = errorAliases.delegate;
|
|
16011
|
+
var eventErrorMutationLight = errorAliases.mutationLight;
|
|
16012
|
+
var eventErrorMutationShadow = errorAliases.mutationShadow;
|
|
16013
|
+
var eventErrorMutationAll = errorAliases.mutationAll;
|
|
16014
|
+
var eventErrorMutation = errorAliases.mutation;
|
|
16015
|
+
var eventErrorLight = errorAliases.light;
|
|
16016
|
+
var eventErrorShadow = errorAliases.shadow;
|
|
16017
|
+
var eventErrorAll = errorAliases.all;
|
|
16018
|
+
var eventErrorThis = errorAliases.this;
|
|
16019
|
+
var eventErrorAppHost = errorAliases.appHost;
|
|
16020
|
+
var eventErrorWindow = errorAliases.window;
|
|
16021
|
+
var eventErrorDocument = errorAliases.document;
|
|
16022
|
+
var toggleAliases = makeTypedEventAliases("toggle");
|
|
16023
|
+
var eventToggle = toggleAliases.base;
|
|
16024
|
+
var eventToggleDelegateLight = toggleAliases.delegateLight;
|
|
16025
|
+
var eventToggleDelegateShadow = toggleAliases.delegateShadow;
|
|
16026
|
+
var eventToggleDelegateAll = toggleAliases.delegateAll;
|
|
16027
|
+
var eventToggleDelegate = toggleAliases.delegate;
|
|
16028
|
+
var eventToggleMutationLight = toggleAliases.mutationLight;
|
|
16029
|
+
var eventToggleMutationShadow = toggleAliases.mutationShadow;
|
|
16030
|
+
var eventToggleMutationAll = toggleAliases.mutationAll;
|
|
16031
|
+
var eventToggleMutation = toggleAliases.mutation;
|
|
16032
|
+
var eventToggleLight = toggleAliases.light;
|
|
16033
|
+
var eventToggleShadow = toggleAliases.shadow;
|
|
16034
|
+
var eventToggleAll = toggleAliases.all;
|
|
16035
|
+
var eventToggleThis = toggleAliases.this;
|
|
16036
|
+
var eventToggleAppHost = toggleAliases.appHost;
|
|
16037
|
+
var eventToggleWindow = toggleAliases.window;
|
|
16038
|
+
var eventToggleDocument = toggleAliases.document;
|
|
14074
16039
|
var getAddEventListenerMetadata = (target) => {
|
|
14075
16040
|
const constructor = target instanceof Function ? target : target.constructor;
|
|
14076
16041
|
return ReflectUtils.getMetadata(ADD_EVENT_LISTENER_METADATA_KEY, constructor);
|
|
@@ -14105,9 +16070,9 @@ ${indentStr}}`;
|
|
|
14105
16070
|
* target 에 meta 이벤트를 직접 바인딩한다.
|
|
14106
16071
|
* delegate:'mutation' 초기/동적 바인딩에서 호출된다.
|
|
14107
16072
|
*/
|
|
14108
|
-
bindDirect(
|
|
14109
|
-
const inst =
|
|
14110
|
-
const currentWin =
|
|
16073
|
+
bindDirect(helperHostSet2, target, meta) {
|
|
16074
|
+
const inst = helperHostSet2.$this;
|
|
16075
|
+
const currentWin = helperHostSet2.$w;
|
|
14111
16076
|
const { type, options } = meta;
|
|
14112
16077
|
const opts = { capture: options.capture, once: options.once, passive: options.passive };
|
|
14113
16078
|
const handler = async (event2) => {
|
|
@@ -14119,7 +16084,17 @@ ${indentStr}}`;
|
|
|
14119
16084
|
if (options.stopImmediatePropagation) event2.stopImmediatePropagation();
|
|
14120
16085
|
if (options.preventDefault) event2.preventDefault();
|
|
14121
16086
|
const currentHostSet = SwcUtils.getHostSet(inst);
|
|
14122
|
-
|
|
16087
|
+
const legacyArgs = [event2, { currentHostSet, $matchedElement: event2.currentTarget }, { event: event2, ...currentHostSet, $el: target, $root: target }];
|
|
16088
|
+
const currentHelperSet = SwcUtils.getHelperSet(currentWin);
|
|
16089
|
+
const currentHelperHostSet = { ...currentHelperSet, ...currentHostSet, $this: inst };
|
|
16090
|
+
const args = buildSwcParameterArgs(inst, meta.propertyKey, {
|
|
16091
|
+
event: event2,
|
|
16092
|
+
matched: event2.currentTarget,
|
|
16093
|
+
hostSet: currentHostSet,
|
|
16094
|
+
helperHostSet: currentHelperHostSet,
|
|
16095
|
+
helperSet: currentHelperSet
|
|
16096
|
+
}, legacyArgs);
|
|
16097
|
+
await inst[meta.propertyKey](...args);
|
|
14123
16098
|
};
|
|
14124
16099
|
const eventSubject = new Subject();
|
|
14125
16100
|
let eventStream = eventSubject;
|
|
@@ -14140,8 +16115,8 @@ ${indentStr}}`;
|
|
|
14140
16115
|
this.getBoundListeners(inst).push({ target, type, handler: wrappedHandler, options: opts, subscription, onRemoves, meta });
|
|
14141
16116
|
}
|
|
14142
16117
|
/** target + meta 조합 리스너를 제거한다. MutationObserver 추적 요소 제거 시 호출. */
|
|
14143
|
-
unbindDirect(
|
|
14144
|
-
const inst =
|
|
16118
|
+
unbindDirect(helperHostSet2, target, meta) {
|
|
16119
|
+
const inst = helperHostSet2.$this;
|
|
14145
16120
|
const list = this.getBoundListeners(inst);
|
|
14146
16121
|
for (let i = list.length - 1; i >= 0; i--) {
|
|
14147
16122
|
const l = list[i];
|
|
@@ -14197,9 +16172,9 @@ ${indentStr}}`;
|
|
|
14197
16172
|
return { delegateListeners, mutationDelegateListeners, nonDelegateListeners };
|
|
14198
16173
|
}
|
|
14199
16174
|
// ── ElementDefineLifeCycler 구현 ──
|
|
14200
|
-
onConnected(
|
|
14201
|
-
const inst =
|
|
14202
|
-
const currentWin =
|
|
16175
|
+
onConnected(helperHostSet2) {
|
|
16176
|
+
const inst = helperHostSet2.$this;
|
|
16177
|
+
const currentWin = helperHostSet2.$w;
|
|
14203
16178
|
this.boundListenersMap.delete(inst);
|
|
14204
16179
|
this.eventBoundSetsMap.delete(inst);
|
|
14205
16180
|
const allMeta = getAddEventListenerMetadata(inst) ?? [];
|
|
@@ -14226,9 +16201,8 @@ ${indentStr}}`;
|
|
|
14226
16201
|
for (const br of roots) {
|
|
14227
16202
|
const sorted = [...metaList].sort((a, b) => (b.options.stopPropagation ? 1 : 0) - (a.options.stopPropagation ? 1 : 0));
|
|
14228
16203
|
const handler = async (event2) => {
|
|
14229
|
-
|
|
14230
|
-
|
|
14231
|
-
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);
|
|
16204
|
+
const matches = sorted.map((m) => ({ m, matchedEl: event2.target?.closest(m.selector) }));
|
|
16205
|
+
for (const { m, matchedEl } of matches) {
|
|
14232
16206
|
if (matchedEl && br.contains(matchedEl)) {
|
|
14233
16207
|
if (m.options.filter) {
|
|
14234
16208
|
const helper = SwcUtils.getHelperAndHostSet(currentWin, matchedEl);
|
|
@@ -14238,15 +16212,22 @@ ${indentStr}}`;
|
|
|
14238
16212
|
if (m.options.stopImmediatePropagation) event2.stopImmediatePropagation();
|
|
14239
16213
|
if (m.options.preventDefault) event2.preventDefault();
|
|
14240
16214
|
const hs = SwcUtils.getHostSet(inst);
|
|
14241
|
-
|
|
16215
|
+
const legacyArgs = [event2, { ...hs, $matchedElement: matchedEl }, { event: event2, ...hs, $el: matchedEl, $root: br }];
|
|
16216
|
+
const helperSetForMatch = SwcUtils.getHelperSet(currentWin);
|
|
16217
|
+
const helperHostSetForMatch = { ...helperSetForMatch, ...hs, $this: inst };
|
|
16218
|
+
const args = buildSwcParameterArgs(inst, m.propertyKey, {
|
|
16219
|
+
event: event2,
|
|
16220
|
+
matched: matchedEl,
|
|
16221
|
+
hostSet: hs,
|
|
16222
|
+
helperHostSet: helperHostSetForMatch,
|
|
16223
|
+
helperSet: helperSetForMatch
|
|
16224
|
+
}, legacyArgs);
|
|
16225
|
+
await inst[m.propertyKey](...args);
|
|
14242
16226
|
if (event2.cancelBubble) break;
|
|
14243
16227
|
}
|
|
14244
16228
|
}
|
|
14245
16229
|
};
|
|
14246
16230
|
br.addEventListener(type, handler, opts);
|
|
14247
|
-
if (type === "click") {
|
|
14248
|
-
console.log("[DBG][eventCycler] bound click on br=", br.tagName || br.constructor?.name, "| inst=", inst.tagName || inst.constructor?.name, "| isSame=", br === inst);
|
|
14249
|
-
}
|
|
14250
16231
|
const onRemoves = sorted.filter((m) => m.options.removeListener).map((m) => ({ fn: m.options.removeListener, opts: m.options }));
|
|
14251
16232
|
this.getBoundListeners(inst).push({ target: br, type, handler, options: opts, onRemoves });
|
|
14252
16233
|
}
|
|
@@ -14257,7 +16238,7 @@ ${indentStr}}`;
|
|
|
14257
16238
|
const bindTargets = [];
|
|
14258
16239
|
let resolvedSel = null;
|
|
14259
16240
|
if (typeof selector === "function") {
|
|
14260
|
-
const result = selector(inst,
|
|
16241
|
+
const result = selector(inst, helperHostSet2);
|
|
14261
16242
|
if (typeof result === "string") resolvedSel = result;
|
|
14262
16243
|
else if (result instanceof currentWin.Element) bindTargets.push(result);
|
|
14263
16244
|
else if (result instanceof currentWin.NodeList) bindTargets.push(...Array.from(result));
|
|
@@ -14276,15 +16257,15 @@ ${indentStr}}`;
|
|
|
14276
16257
|
if (resolvedSel) {
|
|
14277
16258
|
if (resolvedSel === "$window") bindTargets.push(currentWin);
|
|
14278
16259
|
else if (resolvedSel === "$document") bindTargets.push(currentWin.document);
|
|
14279
|
-
else if (resolvedSel === "$host") applyRoot(
|
|
14280
|
-
else if (resolvedSel === "$parentHost") applyRoot(
|
|
14281
|
-
else if (resolvedSel === "$appHost") applyRoot(
|
|
14282
|
-
else if (resolvedSel === "$firstHost") applyRoot(
|
|
14283
|
-
else if (resolvedSel === "$lastHost") applyRoot(
|
|
14284
|
-
else if (resolvedSel === "$firstAppHost") applyRoot(
|
|
14285
|
-
else if (resolvedSel === "$lastAppHost") applyRoot(
|
|
14286
|
-
else if (resolvedSel === "$hosts")
|
|
14287
|
-
else if (resolvedSel === "$appHosts")
|
|
16260
|
+
else if (resolvedSel === "$host") applyRoot(helperHostSet2.$host);
|
|
16261
|
+
else if (resolvedSel === "$parentHost") applyRoot(helperHostSet2.$parentHost);
|
|
16262
|
+
else if (resolvedSel === "$appHost") applyRoot(helperHostSet2.$appHost);
|
|
16263
|
+
else if (resolvedSel === "$firstHost") applyRoot(helperHostSet2.$firstHost);
|
|
16264
|
+
else if (resolvedSel === "$lastHost") applyRoot(helperHostSet2.$lastHost);
|
|
16265
|
+
else if (resolvedSel === "$firstAppHost") applyRoot(helperHostSet2.$firstAppHost);
|
|
16266
|
+
else if (resolvedSel === "$lastAppHost") applyRoot(helperHostSet2.$lastAppHost);
|
|
16267
|
+
else if (resolvedSel === "$hosts") helperHostSet2.$hosts.forEach(applyRoot);
|
|
16268
|
+
else if (resolvedSel === "$appHosts") helperHostSet2.$appHosts.forEach(applyRoot);
|
|
14288
16269
|
else if (resolvedSel === "$this" || !resolvedSel) applyRoot(inst);
|
|
14289
16270
|
else {
|
|
14290
16271
|
const searchRoots = [];
|
|
@@ -14298,7 +16279,7 @@ ${indentStr}}`;
|
|
|
14298
16279
|
for (const sr of searchRoots) sr.querySelectorAll(resolvedSel).forEach((el) => bindTargets.push(el));
|
|
14299
16280
|
}
|
|
14300
16281
|
}
|
|
14301
|
-
for (const t of bindTargets) this.bindDirect(
|
|
16282
|
+
for (const t of bindTargets) this.bindDirect(helperHostSet2, t, meta);
|
|
14302
16283
|
}
|
|
14303
16284
|
if (mutationDelegateListeners.length > 0) {
|
|
14304
16285
|
const shadowEventDelegates = mutationDelegateListeners.filter((m) => {
|
|
@@ -14327,13 +16308,13 @@ ${indentStr}}`;
|
|
|
14327
16308
|
};
|
|
14328
16309
|
const bindEl = (el) => {
|
|
14329
16310
|
if (!boundSet.has(el)) {
|
|
14330
|
-
this.bindDirect(
|
|
16311
|
+
this.bindDirect(helperHostSet2, el, m);
|
|
14331
16312
|
boundSet.add(el);
|
|
14332
16313
|
}
|
|
14333
16314
|
};
|
|
14334
16315
|
const unbindEl = (el) => {
|
|
14335
16316
|
if (boundSet.has(el)) {
|
|
14336
|
-
this.unbindDirect(
|
|
16317
|
+
this.unbindDirect(helperHostSet2, el, m);
|
|
14337
16318
|
boundSet.delete(el);
|
|
14338
16319
|
}
|
|
14339
16320
|
};
|
|
@@ -14360,12 +16341,12 @@ ${indentStr}}`;
|
|
|
14360
16341
|
}
|
|
14361
16342
|
if (typeof m.selector !== "string") continue;
|
|
14362
16343
|
if (m.selector === "$this" || m.selector === "") {
|
|
14363
|
-
this.bindDirect(
|
|
16344
|
+
this.bindDirect(helperHostSet2, root, m);
|
|
14364
16345
|
boundSet.add(root);
|
|
14365
16346
|
} else {
|
|
14366
16347
|
root.querySelectorAll(m.selector).forEach((el) => {
|
|
14367
16348
|
if (!boundSet.has(el)) {
|
|
14368
|
-
this.bindDirect(
|
|
16349
|
+
this.bindDirect(helperHostSet2, el, m);
|
|
14369
16350
|
boundSet.add(el);
|
|
14370
16351
|
}
|
|
14371
16352
|
});
|
|
@@ -14380,8 +16361,8 @@ ${indentStr}}`;
|
|
|
14380
16361
|
}
|
|
14381
16362
|
return void 0;
|
|
14382
16363
|
}
|
|
14383
|
-
onDisconnected(
|
|
14384
|
-
const inst =
|
|
16364
|
+
onDisconnected(helperHostSet2) {
|
|
16365
|
+
const inst = helperHostSet2.$this;
|
|
14385
16366
|
const list = this.boundListenersMap.get(inst) ?? [];
|
|
14386
16367
|
for (const l of list) {
|
|
14387
16368
|
try {
|
|
@@ -14405,70 +16386,61 @@ ${indentStr}}`;
|
|
|
14405
16386
|
|
|
14406
16387
|
// src/decorators/mutationObserver.ts
|
|
14407
16388
|
var MUTATION_OBSERVER_METADATA_KEY = Symbol.for("simple-web-component:mutation-observer");
|
|
14408
|
-
|
|
14409
|
-
|
|
14410
|
-
|
|
14411
|
-
|
|
14412
|
-
|
|
14413
|
-
|
|
14414
|
-
|
|
14415
|
-
|
|
14416
|
-
|
|
14417
|
-
|
|
14418
|
-
|
|
14419
|
-
|
|
14420
|
-
|
|
14421
|
-
|
|
14422
|
-
|
|
14423
|
-
|
|
14424
|
-
|
|
14425
|
-
|
|
16389
|
+
var applyMutationObserver = (selector, options, targetObj, propertyKey) => {
|
|
16390
|
+
const constructor = targetObj.constructor;
|
|
16391
|
+
let observers = ReflectUtils.getMetadata(MUTATION_OBSERVER_METADATA_KEY, constructor);
|
|
16392
|
+
if (!observers) {
|
|
16393
|
+
observers = [];
|
|
16394
|
+
ReflectUtils.defineMetadata(MUTATION_OBSERVER_METADATA_KEY, observers, constructor);
|
|
16395
|
+
}
|
|
16396
|
+
observers.push({ propertyKey, selector, options });
|
|
16397
|
+
};
|
|
16398
|
+
var resolveMutationObserverArgs = (selectorOrOptions, maybeOptions, extra) => {
|
|
16399
|
+
if (typeof selectorOrOptions === "string" || typeof selectorOrOptions === "function") {
|
|
16400
|
+
return { selector: selectorOrOptions, options: { ...maybeOptions ?? {}, ...extra } };
|
|
16401
|
+
}
|
|
16402
|
+
return { selector: "$this", options: { ...selectorOrOptions ?? {}, ...extra } };
|
|
16403
|
+
};
|
|
16404
|
+
var dispatchMutationObserver = (selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor, extra) => {
|
|
16405
|
+
if ((typeof maybeOptionsOrPropertyKey === "string" || typeof maybeOptionsOrPropertyKey === "symbol") && descriptor !== void 0) {
|
|
16406
|
+
applyMutationObserver("$this", { ...extra }, selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey);
|
|
16407
|
+
return;
|
|
16408
|
+
}
|
|
16409
|
+
const { selector, options } = resolveMutationObserverArgs(
|
|
16410
|
+
selectorOrOptionsOrTarget,
|
|
16411
|
+
maybeOptionsOrPropertyKey,
|
|
16412
|
+
extra
|
|
16413
|
+
);
|
|
16414
|
+
return (targetObj, propertyKey) => {
|
|
16415
|
+
applyMutationObserver(selector, options, targetObj, propertyKey);
|
|
14426
16416
|
};
|
|
16417
|
+
};
|
|
16418
|
+
function mutationObserver(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor) {
|
|
16419
|
+
return dispatchMutationObserver(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor, {});
|
|
14427
16420
|
}
|
|
14428
|
-
function mutationObserverThis(
|
|
14429
|
-
return
|
|
16421
|
+
function mutationObserverThis(optionsOrTarget, propertyKey, descriptor) {
|
|
16422
|
+
return dispatchMutationObserver(optionsOrTarget, propertyKey, descriptor, {});
|
|
14430
16423
|
}
|
|
14431
|
-
function mutationObserverDelegateLight(
|
|
14432
|
-
|
|
14433
|
-
return mutationObserver(selectorOrOptions, { ...maybeOptions ?? {}, root: "light", delegate: true });
|
|
14434
|
-
}
|
|
14435
|
-
return mutationObserver({ ...selectorOrOptions ?? {}, root: "light", delegate: true });
|
|
16424
|
+
function mutationObserverDelegateLight(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor) {
|
|
16425
|
+
return dispatchMutationObserver(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor, { root: "light", delegate: true });
|
|
14436
16426
|
}
|
|
14437
|
-
function mutationObserverDelegateShadow(
|
|
14438
|
-
|
|
14439
|
-
return mutationObserver(selectorOrOptions, { ...maybeOptions ?? {}, root: "shadow", delegate: true });
|
|
14440
|
-
}
|
|
14441
|
-
return mutationObserver({ ...selectorOrOptions ?? {}, root: "shadow", delegate: true });
|
|
16427
|
+
function mutationObserverDelegateShadow(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor) {
|
|
16428
|
+
return dispatchMutationObserver(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor, { root: "shadow", delegate: true });
|
|
14442
16429
|
}
|
|
14443
|
-
function mutationObserverDelegateAll(
|
|
14444
|
-
|
|
14445
|
-
return mutationObserver(selectorOrOptions, { ...maybeOptions ?? {}, root: "all", delegate: true });
|
|
14446
|
-
}
|
|
14447
|
-
return mutationObserver({ ...selectorOrOptions ?? {}, root: "all", delegate: true });
|
|
16430
|
+
function mutationObserverDelegateAll(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor) {
|
|
16431
|
+
return dispatchMutationObserver(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor, { root: "all", delegate: true });
|
|
14448
16432
|
}
|
|
14449
|
-
function mutationObserverDelegate(
|
|
14450
|
-
|
|
14451
|
-
return mutationObserver(selectorOrOptions, { ...maybeOptions ?? {}, root: "auto", delegate: true });
|
|
14452
|
-
}
|
|
14453
|
-
return mutationObserver({ ...selectorOrOptions ?? {}, root: "auto", delegate: true });
|
|
16433
|
+
function mutationObserverDelegate(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor) {
|
|
16434
|
+
return dispatchMutationObserver(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor, { root: "auto", delegate: true });
|
|
14454
16435
|
}
|
|
14455
|
-
function mutationObserverLight(
|
|
14456
|
-
|
|
14457
|
-
return mutationObserver(selectorOrOptions, { ...maybeOptions ?? {}, root: "light" });
|
|
14458
|
-
}
|
|
14459
|
-
return mutationObserver({ ...selectorOrOptions ?? {}, root: "light" });
|
|
16436
|
+
function mutationObserverLight(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor) {
|
|
16437
|
+
return dispatchMutationObserver(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor, { root: "light" });
|
|
14460
16438
|
}
|
|
14461
|
-
function mutationObserverShadow(
|
|
14462
|
-
|
|
14463
|
-
return mutationObserver(selectorOrOptions, { ...maybeOptions ?? {}, root: "shadow" });
|
|
14464
|
-
}
|
|
14465
|
-
return mutationObserver({ ...selectorOrOptions ?? {}, root: "shadow" });
|
|
16439
|
+
function mutationObserverShadow(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor) {
|
|
16440
|
+
return dispatchMutationObserver(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor, { root: "shadow" });
|
|
14466
16441
|
}
|
|
14467
|
-
function mutationObserverAll(
|
|
14468
|
-
|
|
14469
|
-
return mutationObserver(selectorOrOptions, { ...maybeOptions ?? {}, root: "all" });
|
|
14470
|
-
}
|
|
14471
|
-
return mutationObserver({ ...selectorOrOptions ?? {}, root: "all" });
|
|
16442
|
+
function mutationObserverAll(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor) {
|
|
16443
|
+
return dispatchMutationObserver(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor, { root: "all" });
|
|
14472
16444
|
}
|
|
14473
16445
|
function getMutationObserverMetadata(target) {
|
|
14474
16446
|
const constructor = target instanceof Function ? target : target.constructor;
|
|
@@ -14478,9 +16450,9 @@ ${indentStr}}`;
|
|
|
14478
16450
|
constructor() {
|
|
14479
16451
|
__publicField(this, "removeObserverCallbacksMap", /* @__PURE__ */ new WeakMap());
|
|
14480
16452
|
}
|
|
14481
|
-
onConnected(
|
|
14482
|
-
const inst =
|
|
14483
|
-
const currentWin =
|
|
16453
|
+
onConnected(helperHostSet2) {
|
|
16454
|
+
const inst = helperHostSet2.$this;
|
|
16455
|
+
const currentWin = helperHostSet2.$w;
|
|
14484
16456
|
const removeObserverCallbacks = [];
|
|
14485
16457
|
this.removeObserverCallbacksMap.set(inst, removeObserverCallbacks);
|
|
14486
16458
|
const allMeta = getMutationObserverMetadata(inst) ?? [];
|
|
@@ -14551,10 +16523,10 @@ ${indentStr}}`;
|
|
|
14551
16523
|
}
|
|
14552
16524
|
if (matchedEls.length === 0) continue;
|
|
14553
16525
|
if (options.filter) {
|
|
14554
|
-
if (!options.filter(matchedEls, { currentThis: inst, helper:
|
|
16526
|
+
if (!options.filter(matchedEls, { currentThis: inst, helper: helperHostSet2 })) continue;
|
|
14555
16527
|
}
|
|
14556
|
-
const
|
|
14557
|
-
inst[meta.propertyKey](matchedEls, mutations, obs, { ...
|
|
16528
|
+
const hostSet2 = SwcUtils.getHostSet(inst);
|
|
16529
|
+
inst[meta.propertyKey](matchedEls, mutations, obs, { ...hostSet2, $root: root });
|
|
14558
16530
|
}
|
|
14559
16531
|
};
|
|
14560
16532
|
const observeTargets = [];
|
|
@@ -14571,7 +16543,7 @@ ${indentStr}}`;
|
|
|
14571
16543
|
root.querySelectorAll(selector).forEach((el) => observeTargets.push({ target: el, options: mInit }));
|
|
14572
16544
|
}
|
|
14573
16545
|
} else if (typeof selector === "function") {
|
|
14574
|
-
const res = selector(inst,
|
|
16546
|
+
const res = selector(inst, helperHostSet2);
|
|
14575
16547
|
let targets = [];
|
|
14576
16548
|
if (res instanceof currentWin.HTMLElement) targets = [res];
|
|
14577
16549
|
else if (res instanceof currentWin.NodeList) targets = Array.from(res).filter((e) => e instanceof currentWin.HTMLElement);
|
|
@@ -14598,8 +16570,8 @@ ${indentStr}}`;
|
|
|
14598
16570
|
if (mutationObserverSet.length === 0) return;
|
|
14599
16571
|
return { mutationObserverSet };
|
|
14600
16572
|
}
|
|
14601
|
-
onDisconnected(
|
|
14602
|
-
const inst =
|
|
16573
|
+
onDisconnected(helperHostSet2) {
|
|
16574
|
+
const inst = helperHostSet2.$this;
|
|
14603
16575
|
for (const cb of this.removeObserverCallbacksMap.get(inst) ?? []) {
|
|
14604
16576
|
try {
|
|
14605
16577
|
cb.fn(cb.target, cb.opts);
|
|
@@ -14613,70 +16585,61 @@ ${indentStr}}`;
|
|
|
14613
16585
|
|
|
14614
16586
|
// src/decorators/resizeObserver.ts
|
|
14615
16587
|
var RESIZE_OBSERVER_METADATA_KEY = Symbol.for("simple-web-component:resize-observer");
|
|
14616
|
-
|
|
14617
|
-
|
|
14618
|
-
|
|
14619
|
-
|
|
14620
|
-
|
|
14621
|
-
|
|
14622
|
-
|
|
14623
|
-
|
|
14624
|
-
|
|
14625
|
-
|
|
14626
|
-
|
|
14627
|
-
|
|
14628
|
-
|
|
14629
|
-
|
|
14630
|
-
|
|
14631
|
-
|
|
14632
|
-
|
|
14633
|
-
|
|
16588
|
+
var applyResizeObserver = (selector, options, targetObj, propertyKey) => {
|
|
16589
|
+
const constructor = targetObj.constructor;
|
|
16590
|
+
let observers = ReflectUtils.getMetadata(RESIZE_OBSERVER_METADATA_KEY, constructor);
|
|
16591
|
+
if (!observers) {
|
|
16592
|
+
observers = [];
|
|
16593
|
+
ReflectUtils.defineMetadata(RESIZE_OBSERVER_METADATA_KEY, observers, constructor);
|
|
16594
|
+
}
|
|
16595
|
+
observers.push({ propertyKey, selector, options });
|
|
16596
|
+
};
|
|
16597
|
+
var resolveResizeObserverArgs = (selectorOrOptions, maybeOptions, extra) => {
|
|
16598
|
+
if (typeof selectorOrOptions === "string" || typeof selectorOrOptions === "function") {
|
|
16599
|
+
return { selector: selectorOrOptions, options: { ...maybeOptions ?? {}, ...extra } };
|
|
16600
|
+
}
|
|
16601
|
+
return { selector: "$this", options: { ...selectorOrOptions ?? {}, ...extra } };
|
|
16602
|
+
};
|
|
16603
|
+
var dispatchResizeObserver = (selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor, extra) => {
|
|
16604
|
+
if ((typeof maybeOptionsOrPropertyKey === "string" || typeof maybeOptionsOrPropertyKey === "symbol") && descriptor !== void 0) {
|
|
16605
|
+
applyResizeObserver("$this", { ...extra }, selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey);
|
|
16606
|
+
return;
|
|
16607
|
+
}
|
|
16608
|
+
const { selector, options } = resolveResizeObserverArgs(
|
|
16609
|
+
selectorOrOptionsOrTarget,
|
|
16610
|
+
maybeOptionsOrPropertyKey,
|
|
16611
|
+
extra
|
|
16612
|
+
);
|
|
16613
|
+
return (targetObj, propertyKey) => {
|
|
16614
|
+
applyResizeObserver(selector, options, targetObj, propertyKey);
|
|
14634
16615
|
};
|
|
16616
|
+
};
|
|
16617
|
+
function resizeObserver(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor) {
|
|
16618
|
+
return dispatchResizeObserver(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor, {});
|
|
14635
16619
|
}
|
|
14636
|
-
function resizeObserverThis(
|
|
14637
|
-
return
|
|
16620
|
+
function resizeObserverThis(optionsOrTarget, propertyKey, descriptor) {
|
|
16621
|
+
return dispatchResizeObserver(optionsOrTarget, propertyKey, descriptor, {});
|
|
14638
16622
|
}
|
|
14639
|
-
function resizeObserverDelegateLight(
|
|
14640
|
-
|
|
14641
|
-
return resizeObserver(selectorOrOptions, { ...maybeOptions ?? {}, root: "light", delegate: true });
|
|
14642
|
-
}
|
|
14643
|
-
return resizeObserver({ ...selectorOrOptions ?? {}, root: "light", delegate: true });
|
|
16623
|
+
function resizeObserverDelegateLight(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor) {
|
|
16624
|
+
return dispatchResizeObserver(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor, { root: "light", delegate: true });
|
|
14644
16625
|
}
|
|
14645
|
-
function resizeObserverDelegateShadow(
|
|
14646
|
-
|
|
14647
|
-
return resizeObserver(selectorOrOptions, { ...maybeOptions ?? {}, root: "shadow", delegate: true });
|
|
14648
|
-
}
|
|
14649
|
-
return resizeObserver({ ...selectorOrOptions ?? {}, root: "shadow", delegate: true });
|
|
16626
|
+
function resizeObserverDelegateShadow(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor) {
|
|
16627
|
+
return dispatchResizeObserver(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor, { root: "shadow", delegate: true });
|
|
14650
16628
|
}
|
|
14651
|
-
function resizeObserverDelegateAll(
|
|
14652
|
-
|
|
14653
|
-
return resizeObserver(selectorOrOptions, { ...maybeOptions ?? {}, root: "all", delegate: true });
|
|
14654
|
-
}
|
|
14655
|
-
return resizeObserver({ ...selectorOrOptions ?? {}, root: "all", delegate: true });
|
|
16629
|
+
function resizeObserverDelegateAll(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor) {
|
|
16630
|
+
return dispatchResizeObserver(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor, { root: "all", delegate: true });
|
|
14656
16631
|
}
|
|
14657
|
-
function resizeObserverDelegate(
|
|
14658
|
-
|
|
14659
|
-
return resizeObserver(selectorOrOptions, { ...maybeOptions ?? {}, root: "auto", delegate: true });
|
|
14660
|
-
}
|
|
14661
|
-
return resizeObserver({ ...selectorOrOptions ?? {}, root: "auto", delegate: true });
|
|
16632
|
+
function resizeObserverDelegate(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor) {
|
|
16633
|
+
return dispatchResizeObserver(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor, { root: "auto", delegate: true });
|
|
14662
16634
|
}
|
|
14663
|
-
function resizeObserverLight(
|
|
14664
|
-
|
|
14665
|
-
return resizeObserver(selectorOrOptions, { ...maybeOptions ?? {}, root: "light" });
|
|
14666
|
-
}
|
|
14667
|
-
return resizeObserver({ ...selectorOrOptions ?? {}, root: "light" });
|
|
16635
|
+
function resizeObserverLight(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor) {
|
|
16636
|
+
return dispatchResizeObserver(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor, { root: "light" });
|
|
14668
16637
|
}
|
|
14669
|
-
function resizeObserverShadow(
|
|
14670
|
-
|
|
14671
|
-
return resizeObserver(selectorOrOptions, { ...maybeOptions ?? {}, root: "shadow" });
|
|
14672
|
-
}
|
|
14673
|
-
return resizeObserver({ ...selectorOrOptions ?? {}, root: "shadow" });
|
|
16638
|
+
function resizeObserverShadow(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor) {
|
|
16639
|
+
return dispatchResizeObserver(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor, { root: "shadow" });
|
|
14674
16640
|
}
|
|
14675
|
-
function resizeObserverAll(
|
|
14676
|
-
|
|
14677
|
-
return resizeObserver(selectorOrOptions, { ...maybeOptions ?? {}, root: "all" });
|
|
14678
|
-
}
|
|
14679
|
-
return resizeObserver({ ...selectorOrOptions ?? {}, root: "all" });
|
|
16641
|
+
function resizeObserverAll(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor) {
|
|
16642
|
+
return dispatchResizeObserver(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor, { root: "all" });
|
|
14680
16643
|
}
|
|
14681
16644
|
function getResizeObserverMetadata(target) {
|
|
14682
16645
|
const constructor = target instanceof Function ? target : target.constructor;
|
|
@@ -14686,9 +16649,9 @@ ${indentStr}}`;
|
|
|
14686
16649
|
constructor() {
|
|
14687
16650
|
__publicField(this, "removeObserverCallbacksMap", /* @__PURE__ */ new WeakMap());
|
|
14688
16651
|
}
|
|
14689
|
-
onConnected(
|
|
14690
|
-
const inst =
|
|
14691
|
-
const currentWin =
|
|
16652
|
+
onConnected(helperHostSet2) {
|
|
16653
|
+
const inst = helperHostSet2.$this;
|
|
16654
|
+
const currentWin = helperHostSet2.$w;
|
|
14692
16655
|
const removeObserverCallbacks = [];
|
|
14693
16656
|
this.removeObserverCallbacksMap.set(inst, removeObserverCallbacks);
|
|
14694
16657
|
const allMeta = getResizeObserverMetadata(inst) ?? [];
|
|
@@ -14712,10 +16675,10 @@ ${indentStr}}`;
|
|
|
14712
16675
|
}
|
|
14713
16676
|
if (matchedEls.length === 0) continue;
|
|
14714
16677
|
if (m.options.filter) {
|
|
14715
|
-
if (!m.options.filter(matchedEls, { currentThis: inst, helper:
|
|
16678
|
+
if (!m.options.filter(matchedEls, { currentThis: inst, helper: helperHostSet2 })) continue;
|
|
14716
16679
|
}
|
|
14717
|
-
const
|
|
14718
|
-
inst[m.propertyKey](matchedEls, entries, obs, { ...
|
|
16680
|
+
const hostSet2 = SwcUtils.getHostSet(inst);
|
|
16681
|
+
inst[m.propertyKey](matchedEls, entries, obs, { ...hostSet2, $root: root });
|
|
14719
16682
|
}
|
|
14720
16683
|
};
|
|
14721
16684
|
const resizeObserverSet = [];
|
|
@@ -14726,7 +16689,7 @@ ${indentStr}}`;
|
|
|
14726
16689
|
}
|
|
14727
16690
|
let targets = [];
|
|
14728
16691
|
if (typeof m.selector === "function") {
|
|
14729
|
-
const res = m.selector(inst,
|
|
16692
|
+
const res = m.selector(inst, helperHostSet2);
|
|
14730
16693
|
if (res instanceof currentWin.HTMLElement) targets = [res];
|
|
14731
16694
|
else if (res instanceof currentWin.NodeList) targets = Array.from(res).filter((e) => e instanceof currentWin.HTMLElement);
|
|
14732
16695
|
else if (Array.isArray(res)) targets = res.filter((e) => e instanceof currentWin.HTMLElement);
|
|
@@ -14753,8 +16716,8 @@ ${indentStr}}`;
|
|
|
14753
16716
|
}
|
|
14754
16717
|
return { resizeObserverSet };
|
|
14755
16718
|
}
|
|
14756
|
-
onDisconnected(
|
|
14757
|
-
const inst =
|
|
16719
|
+
onDisconnected(helperHostSet2) {
|
|
16720
|
+
const inst = helperHostSet2.$this;
|
|
14758
16721
|
for (const cb of this.removeObserverCallbacksMap.get(inst) ?? []) {
|
|
14759
16722
|
try {
|
|
14760
16723
|
cb.fn(cb.target, cb.opts);
|
|
@@ -14768,70 +16731,61 @@ ${indentStr}}`;
|
|
|
14768
16731
|
|
|
14769
16732
|
// src/decorators/intersectionObserver.ts
|
|
14770
16733
|
var INTERSECTION_OBSERVER_METADATA_KEY = Symbol.for("simple-web-component:intersection-observer");
|
|
14771
|
-
|
|
14772
|
-
|
|
14773
|
-
|
|
14774
|
-
|
|
14775
|
-
|
|
14776
|
-
|
|
14777
|
-
|
|
14778
|
-
|
|
14779
|
-
|
|
14780
|
-
|
|
14781
|
-
|
|
14782
|
-
|
|
14783
|
-
|
|
14784
|
-
|
|
14785
|
-
|
|
14786
|
-
|
|
14787
|
-
|
|
14788
|
-
|
|
16734
|
+
var applyIntersectionObserver = (selector, options, targetObj, propertyKey) => {
|
|
16735
|
+
const constructor = targetObj.constructor;
|
|
16736
|
+
let observers = ReflectUtils.getMetadata(INTERSECTION_OBSERVER_METADATA_KEY, constructor);
|
|
16737
|
+
if (!observers) {
|
|
16738
|
+
observers = [];
|
|
16739
|
+
ReflectUtils.defineMetadata(INTERSECTION_OBSERVER_METADATA_KEY, observers, constructor);
|
|
16740
|
+
}
|
|
16741
|
+
observers.push({ propertyKey, selector, options });
|
|
16742
|
+
};
|
|
16743
|
+
var resolveIntersectionObserverArgs = (selectorOrOptions, maybeOptions, extra) => {
|
|
16744
|
+
if (typeof selectorOrOptions === "string" || typeof selectorOrOptions === "function") {
|
|
16745
|
+
return { selector: selectorOrOptions, options: { ...maybeOptions ?? {}, ...extra } };
|
|
16746
|
+
}
|
|
16747
|
+
return { selector: "$this", options: { ...selectorOrOptions ?? {}, ...extra } };
|
|
16748
|
+
};
|
|
16749
|
+
var dispatchIntersectionObserver = (selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor, extra) => {
|
|
16750
|
+
if ((typeof maybeOptionsOrPropertyKey === "string" || typeof maybeOptionsOrPropertyKey === "symbol") && descriptor !== void 0) {
|
|
16751
|
+
applyIntersectionObserver("$this", { ...extra }, selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey);
|
|
16752
|
+
return;
|
|
16753
|
+
}
|
|
16754
|
+
const { selector, options } = resolveIntersectionObserverArgs(
|
|
16755
|
+
selectorOrOptionsOrTarget,
|
|
16756
|
+
maybeOptionsOrPropertyKey,
|
|
16757
|
+
extra
|
|
16758
|
+
);
|
|
16759
|
+
return (targetObj, propertyKey) => {
|
|
16760
|
+
applyIntersectionObserver(selector, options, targetObj, propertyKey);
|
|
14789
16761
|
};
|
|
16762
|
+
};
|
|
16763
|
+
function intersectionObserver(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor) {
|
|
16764
|
+
return dispatchIntersectionObserver(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor, {});
|
|
14790
16765
|
}
|
|
14791
|
-
function intersectionObserverThis(
|
|
14792
|
-
return
|
|
16766
|
+
function intersectionObserverThis(optionsOrTarget, propertyKey, descriptor) {
|
|
16767
|
+
return dispatchIntersectionObserver(optionsOrTarget, propertyKey, descriptor, {});
|
|
14793
16768
|
}
|
|
14794
|
-
function intersectionObserverDelegateLight(
|
|
14795
|
-
|
|
14796
|
-
return intersectionObserver(selectorOrOptions, { ...maybeOptions ?? {}, root: "light", delegate: true });
|
|
14797
|
-
}
|
|
14798
|
-
return intersectionObserver({ ...selectorOrOptions ?? {}, root: "light", delegate: true });
|
|
16769
|
+
function intersectionObserverDelegateLight(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor) {
|
|
16770
|
+
return dispatchIntersectionObserver(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor, { root: "light", delegate: true });
|
|
14799
16771
|
}
|
|
14800
|
-
function intersectionObserverDelegateShadow(
|
|
14801
|
-
|
|
14802
|
-
return intersectionObserver(selectorOrOptions, { ...maybeOptions ?? {}, root: "shadow", delegate: true });
|
|
14803
|
-
}
|
|
14804
|
-
return intersectionObserver({ ...selectorOrOptions ?? {}, root: "shadow", delegate: true });
|
|
16772
|
+
function intersectionObserverDelegateShadow(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor) {
|
|
16773
|
+
return dispatchIntersectionObserver(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor, { root: "shadow", delegate: true });
|
|
14805
16774
|
}
|
|
14806
|
-
function intersectionObserverDelegateAll(
|
|
14807
|
-
|
|
14808
|
-
return intersectionObserver(selectorOrOptions, { ...maybeOptions ?? {}, root: "all", delegate: true });
|
|
14809
|
-
}
|
|
14810
|
-
return intersectionObserver({ ...selectorOrOptions ?? {}, root: "all", delegate: true });
|
|
16775
|
+
function intersectionObserverDelegateAll(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor) {
|
|
16776
|
+
return dispatchIntersectionObserver(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor, { root: "all", delegate: true });
|
|
14811
16777
|
}
|
|
14812
|
-
function intersectionObserverDelegate(
|
|
14813
|
-
|
|
14814
|
-
return intersectionObserver(selectorOrOptions, { ...maybeOptions ?? {}, root: "auto", delegate: true });
|
|
14815
|
-
}
|
|
14816
|
-
return intersectionObserver({ ...selectorOrOptions ?? {}, root: "auto", delegate: true });
|
|
16778
|
+
function intersectionObserverDelegate(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor) {
|
|
16779
|
+
return dispatchIntersectionObserver(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor, { root: "auto", delegate: true });
|
|
14817
16780
|
}
|
|
14818
|
-
function intersectionObserverLight(
|
|
14819
|
-
|
|
14820
|
-
return intersectionObserver(selectorOrOptions, { ...maybeOptions ?? {}, root: "light" });
|
|
14821
|
-
}
|
|
14822
|
-
return intersectionObserver({ ...selectorOrOptions ?? {}, root: "light" });
|
|
16781
|
+
function intersectionObserverLight(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor) {
|
|
16782
|
+
return dispatchIntersectionObserver(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor, { root: "light" });
|
|
14823
16783
|
}
|
|
14824
|
-
function intersectionObserverShadow(
|
|
14825
|
-
|
|
14826
|
-
return intersectionObserver(selectorOrOptions, { ...maybeOptions ?? {}, root: "shadow" });
|
|
14827
|
-
}
|
|
14828
|
-
return intersectionObserver({ ...selectorOrOptions ?? {}, root: "shadow" });
|
|
16784
|
+
function intersectionObserverShadow(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor) {
|
|
16785
|
+
return dispatchIntersectionObserver(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor, { root: "shadow" });
|
|
14829
16786
|
}
|
|
14830
|
-
function intersectionObserverAll(
|
|
14831
|
-
|
|
14832
|
-
return intersectionObserver(selectorOrOptions, { ...maybeOptions ?? {}, root: "all" });
|
|
14833
|
-
}
|
|
14834
|
-
return intersectionObserver({ ...selectorOrOptions ?? {}, root: "all" });
|
|
16787
|
+
function intersectionObserverAll(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor) {
|
|
16788
|
+
return dispatchIntersectionObserver(selectorOrOptionsOrTarget, maybeOptionsOrPropertyKey, descriptor, { root: "all" });
|
|
14835
16789
|
}
|
|
14836
16790
|
function getIntersectionObserverMetadata(target) {
|
|
14837
16791
|
const constructor = target instanceof Function ? target : target.constructor;
|
|
@@ -14841,9 +16795,9 @@ ${indentStr}}`;
|
|
|
14841
16795
|
constructor() {
|
|
14842
16796
|
__publicField(this, "removeObserverCallbacksMap", /* @__PURE__ */ new WeakMap());
|
|
14843
16797
|
}
|
|
14844
|
-
onConnected(
|
|
14845
|
-
const inst =
|
|
14846
|
-
const currentWin =
|
|
16798
|
+
onConnected(helperHostSet2) {
|
|
16799
|
+
const inst = helperHostSet2.$this;
|
|
16800
|
+
const currentWin = helperHostSet2.$w;
|
|
14847
16801
|
const removeObserverCallbacks = [];
|
|
14848
16802
|
this.removeObserverCallbacksMap.set(inst, removeObserverCallbacks);
|
|
14849
16803
|
const allMeta = getIntersectionObserverMetadata(inst) ?? [];
|
|
@@ -14868,10 +16822,10 @@ ${indentStr}}`;
|
|
|
14868
16822
|
}
|
|
14869
16823
|
if (matchedEls.length === 0) continue;
|
|
14870
16824
|
if (m.options.filter) {
|
|
14871
|
-
if (!m.options.filter(matchedEls, { currentThis: inst, helper:
|
|
16825
|
+
if (!m.options.filter(matchedEls, { currentThis: inst, helper: helperHostSet2 })) continue;
|
|
14872
16826
|
}
|
|
14873
|
-
const
|
|
14874
|
-
inst[m.propertyKey](matchedEls, entries, obs, { ...
|
|
16827
|
+
const hostSet2 = SwcUtils.getHostSet(inst);
|
|
16828
|
+
inst[m.propertyKey](matchedEls, entries, obs, { ...hostSet2, $root: root });
|
|
14875
16829
|
}
|
|
14876
16830
|
};
|
|
14877
16831
|
};
|
|
@@ -14897,7 +16851,7 @@ ${indentStr}}`;
|
|
|
14897
16851
|
}
|
|
14898
16852
|
let targets = [];
|
|
14899
16853
|
if (typeof m.selector === "function") {
|
|
14900
|
-
const res = m.selector(inst,
|
|
16854
|
+
const res = m.selector(inst, helperHostSet2);
|
|
14901
16855
|
if (res instanceof currentWin.HTMLElement) targets = [res];
|
|
14902
16856
|
else if (res instanceof currentWin.NodeList) targets = Array.from(res).filter((e) => e instanceof currentWin.HTMLElement);
|
|
14903
16857
|
else if (Array.isArray(res)) targets = res.filter((e) => e instanceof currentWin.HTMLElement);
|
|
@@ -14926,8 +16880,8 @@ ${indentStr}}`;
|
|
|
14926
16880
|
}
|
|
14927
16881
|
return { intersectionObserverSet };
|
|
14928
16882
|
}
|
|
14929
|
-
onDisconnected(
|
|
14930
|
-
const inst =
|
|
16883
|
+
onDisconnected(helperHostSet2) {
|
|
16884
|
+
const inst = helperHostSet2.$this;
|
|
14931
16885
|
for (const cb of this.removeObserverCallbacksMap.get(inst) ?? []) {
|
|
14932
16886
|
try {
|
|
14933
16887
|
cb.fn(cb.target, cb.opts);
|
|
@@ -15131,11 +17085,11 @@ ${indentStr}}`;
|
|
|
15131
17085
|
});
|
|
15132
17086
|
const conf = getElementConfig(this);
|
|
15133
17087
|
const currentWin = this._resolveWindow?.(conf) || (typeof window !== "undefined" ? window : void 0);
|
|
15134
|
-
const
|
|
17088
|
+
const hostSet2 = SwcUtils.getHelperAndHostSet(currentWin, this);
|
|
15135
17089
|
const eventTargets = [];
|
|
15136
17090
|
let resolvedSelector = selector;
|
|
15137
17091
|
if (typeof selector === "function") {
|
|
15138
|
-
resolvedSelector = selector(this,
|
|
17092
|
+
resolvedSelector = selector(this, hostSet2);
|
|
15139
17093
|
}
|
|
15140
17094
|
if (resolvedSelector instanceof currentWin.Element) {
|
|
15141
17095
|
eventTargets.push(resolvedSelector);
|
|
@@ -15151,30 +17105,30 @@ ${indentStr}}`;
|
|
|
15151
17105
|
else if (stringSelector === "$document")
|
|
15152
17106
|
eventTargets.push(currentWin.document);
|
|
15153
17107
|
else if (stringSelector === "$host") {
|
|
15154
|
-
if (
|
|
15155
|
-
eventTargets.push(
|
|
17108
|
+
if (hostSet2.$host)
|
|
17109
|
+
eventTargets.push(hostSet2.$host);
|
|
15156
17110
|
} else if (stringSelector === "$parentHost") {
|
|
15157
|
-
if (
|
|
15158
|
-
eventTargets.push(
|
|
17111
|
+
if (hostSet2.$parentHost)
|
|
17112
|
+
eventTargets.push(hostSet2.$parentHost);
|
|
15159
17113
|
} else if (stringSelector === "$appHost") {
|
|
15160
|
-
if (
|
|
15161
|
-
eventTargets.push(
|
|
17114
|
+
if (hostSet2.$appHost)
|
|
17115
|
+
eventTargets.push(hostSet2.$appHost);
|
|
15162
17116
|
} else if (stringSelector === "$firstHost") {
|
|
15163
|
-
if (
|
|
15164
|
-
eventTargets.push(
|
|
17117
|
+
if (hostSet2.$firstHost)
|
|
17118
|
+
eventTargets.push(hostSet2.$firstHost);
|
|
15165
17119
|
} else if (stringSelector === "$lastHost") {
|
|
15166
|
-
if (
|
|
15167
|
-
eventTargets.push(
|
|
17120
|
+
if (hostSet2.$lastHost)
|
|
17121
|
+
eventTargets.push(hostSet2.$lastHost);
|
|
15168
17122
|
} else if (stringSelector === "$firstAppHost") {
|
|
15169
|
-
if (
|
|
15170
|
-
eventTargets.push(
|
|
17123
|
+
if (hostSet2.$firstAppHost)
|
|
17124
|
+
eventTargets.push(hostSet2.$firstAppHost);
|
|
15171
17125
|
} else if (stringSelector === "$lastAppHost") {
|
|
15172
|
-
if (
|
|
15173
|
-
eventTargets.push(
|
|
17126
|
+
if (hostSet2.$lastAppHost)
|
|
17127
|
+
eventTargets.push(hostSet2.$lastAppHost);
|
|
15174
17128
|
} else if (stringSelector === "$hosts") {
|
|
15175
|
-
|
|
17129
|
+
hostSet2.$hosts.forEach((h) => eventTargets.push(h));
|
|
15176
17130
|
} else if (stringSelector === "$appHosts") {
|
|
15177
|
-
|
|
17131
|
+
hostSet2.$appHosts.forEach((h) => eventTargets.push(h));
|
|
15178
17132
|
} else if (stringSelector === "$this" || !stringSelector) {
|
|
15179
17133
|
eventTargets.push(this);
|
|
15180
17134
|
} else {
|
|
@@ -15197,7 +17151,7 @@ ${indentStr}}`;
|
|
|
15197
17151
|
}
|
|
15198
17152
|
}
|
|
15199
17153
|
eventTargets.forEach((t) => {
|
|
15200
|
-
if (fullOptions.filter && !fullOptions.filter(t, detail, { currentThis: this, helper:
|
|
17154
|
+
if (fullOptions.filter && !fullOptions.filter(t, detail, { currentThis: this, helper: hostSet2 })) {
|
|
15201
17155
|
return;
|
|
15202
17156
|
}
|
|
15203
17157
|
t.dispatchEvent(event2);
|
|
@@ -15256,8 +17210,8 @@ ${indentStr}}`;
|
|
|
15256
17210
|
onConnected(_helperHostSet) {
|
|
15257
17211
|
}
|
|
15258
17212
|
/** attributeChangedCallback 에서 elementDefine 이 직접 호출 */
|
|
15259
|
-
onAttributeChanged(
|
|
15260
|
-
const inst =
|
|
17213
|
+
onAttributeChanged(helperHostSet2, name, _old, newVal) {
|
|
17214
|
+
const inst = helperHostSet2.$this;
|
|
15261
17215
|
const matched = this.getHostEmitMeta(inst).find((m) => m.options.attributeName === name);
|
|
15262
17216
|
if (matched && newVal !== null) {
|
|
15263
17217
|
inst._bindAttributeEvent?.(inst, name, newVal, matched.type);
|
|
@@ -15273,20 +17227,29 @@ ${indentStr}}`;
|
|
|
15273
17227
|
if (type === Boolean) return val === "false" || val === "0" ? false : true;
|
|
15274
17228
|
return val;
|
|
15275
17229
|
};
|
|
15276
|
-
|
|
17230
|
+
var applyChangedAttribute = (attributeName, options, target, propertyKey) => {
|
|
17231
|
+
const constructor = target.constructor;
|
|
17232
|
+
let metaList = ReflectUtils.getOwnMetadata(ON_ATTRIBUTE_CHANGED_METADATA_KEY, constructor);
|
|
17233
|
+
if (!metaList) {
|
|
17234
|
+
metaList = [];
|
|
17235
|
+
ReflectUtils.defineMetadata(ON_ATTRIBUTE_CHANGED_METADATA_KEY, metaList, constructor);
|
|
17236
|
+
}
|
|
17237
|
+
const name = attributeName || String(propertyKey);
|
|
17238
|
+
metaList.push({
|
|
17239
|
+
attributeName: name,
|
|
17240
|
+
propertyKey,
|
|
17241
|
+
options
|
|
17242
|
+
});
|
|
17243
|
+
};
|
|
17244
|
+
function changedAttribute(attributeNameOrTarget, optionsOrPropertyKey, descriptor) {
|
|
17245
|
+
if ((typeof optionsOrPropertyKey === "string" || typeof optionsOrPropertyKey === "symbol") && descriptor !== void 0) {
|
|
17246
|
+
applyChangedAttribute(void 0, {}, attributeNameOrTarget, optionsOrPropertyKey);
|
|
17247
|
+
return;
|
|
17248
|
+
}
|
|
17249
|
+
const attributeName = attributeNameOrTarget;
|
|
17250
|
+
const options = optionsOrPropertyKey ?? {};
|
|
15277
17251
|
return (target, propertyKey) => {
|
|
15278
|
-
|
|
15279
|
-
let metaList = ReflectUtils.getOwnMetadata(ON_ATTRIBUTE_CHANGED_METADATA_KEY, constructor);
|
|
15280
|
-
if (!metaList) {
|
|
15281
|
-
metaList = [];
|
|
15282
|
-
ReflectUtils.defineMetadata(ON_ATTRIBUTE_CHANGED_METADATA_KEY, metaList, constructor);
|
|
15283
|
-
}
|
|
15284
|
-
const name = attributeName || String(propertyKey);
|
|
15285
|
-
metaList.push({
|
|
15286
|
-
attributeName: name,
|
|
15287
|
-
propertyKey,
|
|
15288
|
-
options
|
|
15289
|
-
});
|
|
17252
|
+
applyChangedAttribute(attributeName, options, target, propertyKey);
|
|
15290
17253
|
};
|
|
15291
17254
|
}
|
|
15292
17255
|
var getChangedAttributeMetadata = (target) => {
|
|
@@ -15323,25 +17286,25 @@ ${indentStr}}`;
|
|
|
15323
17286
|
getObservedAttributeNames(inst) {
|
|
15324
17287
|
return Array.from(this.getAttrChangeMap(inst).keys());
|
|
15325
17288
|
}
|
|
15326
|
-
onConnected(
|
|
15327
|
-
const inst =
|
|
17289
|
+
onConnected(helperHostSet2) {
|
|
17290
|
+
const inst = helperHostSet2.$this;
|
|
15328
17291
|
for (const [name, metaList] of this.getAttrChangeMap(inst)) {
|
|
15329
17292
|
for (const meta of metaList) {
|
|
15330
17293
|
if (meta.options.while === "connected") {
|
|
15331
17294
|
const val = getAttributeValue(inst, name, { type: meta.options.type });
|
|
15332
|
-
if (val !== null) inst[meta.propertyKey](val, null, name,
|
|
17295
|
+
if (val !== null) inst[meta.propertyKey](val, null, name, helperHostSet2);
|
|
15333
17296
|
}
|
|
15334
17297
|
}
|
|
15335
17298
|
}
|
|
15336
17299
|
}
|
|
15337
17300
|
/** attributeChangedCallback 에서 elementDefine 이 직접 호출 */
|
|
15338
|
-
onAttributeChanged(
|
|
15339
|
-
const inst =
|
|
17301
|
+
onAttributeChanged(helperHostSet2, name, old, newVal) {
|
|
17302
|
+
const inst = helperHostSet2.$this;
|
|
15340
17303
|
const metaList = this.getAttrChangeMap(inst).get(name);
|
|
15341
17304
|
if (!metaList) return;
|
|
15342
17305
|
for (const meta of metaList) {
|
|
15343
17306
|
if (meta.options.while === "connected" && !inst.__swc_connected) continue;
|
|
15344
|
-
inst[meta.propertyKey](convertAttributeValue(newVal, meta.options.type), old, name,
|
|
17307
|
+
inst[meta.propertyKey](convertAttributeValue(newVal, meta.options.type), old, name, helperHostSet2);
|
|
15345
17308
|
}
|
|
15346
17309
|
}
|
|
15347
17310
|
};
|
|
@@ -15349,10 +17312,10 @@ ${indentStr}}`;
|
|
|
15349
17312
|
// src/decorators/query.ts
|
|
15350
17313
|
var QUERY_METADATA_KEY = Symbol.for("simple-web-component:query");
|
|
15351
17314
|
var resolveQueryElements = (inst, selector, options, win) => {
|
|
15352
|
-
const
|
|
17315
|
+
const hostSet2 = SwcUtils.getHelperAndHostSet(win, inst);
|
|
15353
17316
|
let all = [];
|
|
15354
17317
|
if (typeof selector === "function") {
|
|
15355
|
-
const result = selector(inst,
|
|
17318
|
+
const result = selector(inst, hostSet2);
|
|
15356
17319
|
if (result instanceof win.NodeList)
|
|
15357
17320
|
all = Array.from(result).filter((e) => e instanceof win.HTMLElement);
|
|
15358
17321
|
else if (Array.isArray(result))
|
|
@@ -15364,23 +17327,23 @@ ${indentStr}}`;
|
|
|
15364
17327
|
if (selector === "$this")
|
|
15365
17328
|
all = [inst];
|
|
15366
17329
|
else if (selector === "$host")
|
|
15367
|
-
all =
|
|
17330
|
+
all = hostSet2.$host ? [hostSet2.$host] : [];
|
|
15368
17331
|
else if (selector === "$parentHost")
|
|
15369
|
-
all =
|
|
17332
|
+
all = hostSet2.$parentHost ? [hostSet2.$parentHost] : [];
|
|
15370
17333
|
else if (selector === "$appHost")
|
|
15371
|
-
all =
|
|
17334
|
+
all = hostSet2.$appHost ? [hostSet2.$appHost] : [];
|
|
15372
17335
|
else if (selector === "$firstHost")
|
|
15373
|
-
all =
|
|
17336
|
+
all = hostSet2.$firstHost ? [hostSet2.$firstHost] : [];
|
|
15374
17337
|
else if (selector === "$lastHost")
|
|
15375
|
-
all =
|
|
17338
|
+
all = hostSet2.$lastHost ? [hostSet2.$lastHost] : [];
|
|
15376
17339
|
else if (selector === "$firstAppHost")
|
|
15377
|
-
all =
|
|
17340
|
+
all = hostSet2.$firstAppHost ? [hostSet2.$firstAppHost] : [];
|
|
15378
17341
|
else if (selector === "$lastAppHost")
|
|
15379
|
-
all =
|
|
17342
|
+
all = hostSet2.$lastAppHost ? [hostSet2.$lastAppHost] : [];
|
|
15380
17343
|
else if (selector === "$hosts")
|
|
15381
|
-
all =
|
|
17344
|
+
all = hostSet2.$hosts.filter(Boolean);
|
|
15382
17345
|
else if (selector === "$appHosts")
|
|
15383
|
-
all =
|
|
17346
|
+
all = hostSet2.$appHosts.filter(Boolean);
|
|
15384
17347
|
else {
|
|
15385
17348
|
const scopes = [];
|
|
15386
17349
|
if (r === "auto")
|
|
@@ -15402,7 +17365,7 @@ ${indentStr}}`;
|
|
|
15402
17365
|
}
|
|
15403
17366
|
}
|
|
15404
17367
|
if (options?.filter) {
|
|
15405
|
-
all = all.filter((el) => options.filter(el, { currentThis: inst, helper:
|
|
17368
|
+
all = all.filter((el) => options.filter(el, { currentThis: inst, helper: hostSet2 }));
|
|
15406
17369
|
}
|
|
15407
17370
|
return all;
|
|
15408
17371
|
};
|
|
@@ -15674,8 +17637,8 @@ ${indentStr}}`;
|
|
|
15674
17637
|
storage = nv;
|
|
15675
17638
|
const config = getElementConfig(this);
|
|
15676
17639
|
const ea = new ElementApply(this, { id: this._swcId });
|
|
15677
|
-
const
|
|
15678
|
-
const stateContext = { ...
|
|
17640
|
+
const helperHostSet2 = SwcUtils.getHelperAndHostSet(config.window, this);
|
|
17641
|
+
const stateContext = { ...helperHostSet2 };
|
|
15679
17642
|
findAllStateMetadata(this).forEach((it) => {
|
|
15680
17643
|
stateContext[it.name] = this[it.propertyKey];
|
|
15681
17644
|
});
|
|
@@ -15729,8 +17692,8 @@ ${indentStr}}`;
|
|
|
15729
17692
|
const results = [];
|
|
15730
17693
|
let resolvedSelector = selector;
|
|
15731
17694
|
if (typeof selector === "function") {
|
|
15732
|
-
const
|
|
15733
|
-
resolvedSelector = selector(inst,
|
|
17695
|
+
const hostSet2 = SwcUtils.getHelperAndHostSet(currentWin, inst);
|
|
17696
|
+
resolvedSelector = selector(inst, hostSet2);
|
|
15734
17697
|
}
|
|
15735
17698
|
if (resolvedSelector instanceof currentWin.Element) {
|
|
15736
17699
|
results.push(resolvedSelector);
|
|
@@ -15764,16 +17727,16 @@ ${indentStr}}`;
|
|
|
15764
17727
|
} else if (stringSelector === "$document") {
|
|
15765
17728
|
results.push(currentWin.document);
|
|
15766
17729
|
} else {
|
|
15767
|
-
const
|
|
15768
|
-
if (stringSelector === "$host") applyRoot(
|
|
15769
|
-
else if (stringSelector === "$parentHost") applyRoot(
|
|
15770
|
-
else if (stringSelector === "$appHost") applyRoot(
|
|
15771
|
-
else if (stringSelector === "$firstHost") applyRoot(
|
|
15772
|
-
else if (stringSelector === "$lastHost") applyRoot(
|
|
15773
|
-
else if (stringSelector === "$firstAppHost") applyRoot(
|
|
15774
|
-
else if (stringSelector === "$lastAppHost") applyRoot(
|
|
15775
|
-
else if (stringSelector === "$hosts")
|
|
15776
|
-
else if (stringSelector === "$appHosts")
|
|
17730
|
+
const hostSet2 = SwcUtils.getHostSet(inst);
|
|
17731
|
+
if (stringSelector === "$host") applyRoot(hostSet2.$host);
|
|
17732
|
+
else if (stringSelector === "$parentHost") applyRoot(hostSet2.$parentHost);
|
|
17733
|
+
else if (stringSelector === "$appHost") applyRoot(hostSet2.$appHost);
|
|
17734
|
+
else if (stringSelector === "$firstHost") applyRoot(hostSet2.$firstHost);
|
|
17735
|
+
else if (stringSelector === "$lastHost") applyRoot(hostSet2.$lastHost);
|
|
17736
|
+
else if (stringSelector === "$firstAppHost") applyRoot(hostSet2.$firstAppHost);
|
|
17737
|
+
else if (stringSelector === "$lastAppHost") applyRoot(hostSet2.$lastAppHost);
|
|
17738
|
+
else if (stringSelector === "$hosts") hostSet2.$hosts.forEach(applyRoot);
|
|
17739
|
+
else if (stringSelector === "$appHosts") hostSet2.$appHosts.forEach(applyRoot);
|
|
15777
17740
|
else {
|
|
15778
17741
|
if (r === "shadow") {
|
|
15779
17742
|
const found = inst.shadowRoot?.querySelectorAll(stringSelector);
|
|
@@ -15826,12 +17789,12 @@ ${indentStr}}`;
|
|
|
15826
17789
|
const targetEls = resolvePropertyTargets(inst, selector, finalOptions);
|
|
15827
17790
|
const conf = getElementConfig(inst);
|
|
15828
17791
|
const currentWin = conf.window;
|
|
15829
|
-
const
|
|
17792
|
+
const hostSet2 = SwcUtils.getHelperAndHostSet(currentWin, inst);
|
|
15830
17793
|
targetEls.forEach((targetEl) => {
|
|
15831
|
-
if (finalOptions.filter && !finalOptions.filter(targetEl, resolvedValue, { currentThis: inst, helper:
|
|
17794
|
+
if (finalOptions.filter && !finalOptions.filter(targetEl, resolvedValue, { currentThis: inst, helper: hostSet2 })) {
|
|
15832
17795
|
return;
|
|
15833
17796
|
}
|
|
15834
|
-
const resolvedRes = typeof resolvedValue === "function" ? resolvedValue(targetEl,
|
|
17797
|
+
const resolvedRes = typeof resolvedValue === "function" ? resolvedValue(targetEl, hostSet2) : resolvedValue;
|
|
15835
17798
|
if (finalOptions.setType === "call") {
|
|
15836
17799
|
if (typeof targetEl[targetPropertyKey] !== "function") return;
|
|
15837
17800
|
if (Array.isArray(resolvedRes)) targetEl[targetPropertyKey].apply(targetEl, resolvedRes);
|
|
@@ -15875,9 +17838,9 @@ ${indentStr}}`;
|
|
|
15875
17838
|
const targetEls = resolvePropertyTargets(this, selector, finalOptions);
|
|
15876
17839
|
const conf = getElementConfig(this);
|
|
15877
17840
|
const currentWin = conf.window;
|
|
15878
|
-
const
|
|
17841
|
+
const hostSet2 = SwcUtils.getHelperAndHostSet(currentWin, this);
|
|
15879
17842
|
const filtered = targetEls.filter((el) => {
|
|
15880
|
-
if (finalOptions.filter && !finalOptions.filter(el, el[targetPropertyKey], { currentThis: this, helper:
|
|
17843
|
+
if (finalOptions.filter && !finalOptions.filter(el, el[targetPropertyKey], { currentThis: this, helper: hostSet2 })) {
|
|
15881
17844
|
return false;
|
|
15882
17845
|
}
|
|
15883
17846
|
return true;
|
|
@@ -15953,17 +17916,23 @@ ${indentStr}}`;
|
|
|
15953
17916
|
return result;
|
|
15954
17917
|
};
|
|
15955
17918
|
var prop = applyProperty;
|
|
15956
|
-
|
|
15957
|
-
|
|
17919
|
+
var dispatchPropConvenience = (selector, targetPropertyKeyOrTarget, optionsOrPropertyKey, descriptor) => {
|
|
17920
|
+
if ((typeof optionsOrPropertyKey === "string" || typeof optionsOrPropertyKey === "symbol") && descriptor !== void 0) {
|
|
17921
|
+
return applyProperty(selector, void 0, {})(targetPropertyKeyOrTarget, optionsOrPropertyKey, descriptor);
|
|
17922
|
+
}
|
|
17923
|
+
return applyProperty(selector, targetPropertyKeyOrTarget, optionsOrPropertyKey);
|
|
17924
|
+
};
|
|
17925
|
+
function propThis(targetPropertyKeyOrTarget, optionsOrPropertyKey, descriptor) {
|
|
17926
|
+
return dispatchPropConvenience("$this", targetPropertyKeyOrTarget, optionsOrPropertyKey, descriptor);
|
|
15958
17927
|
}
|
|
15959
|
-
function propAppHost(
|
|
15960
|
-
return
|
|
17928
|
+
function propAppHost(targetPropertyKeyOrTarget, optionsOrPropertyKey, descriptor) {
|
|
17929
|
+
return dispatchPropConvenience("$appHost", targetPropertyKeyOrTarget, optionsOrPropertyKey, descriptor);
|
|
15961
17930
|
}
|
|
15962
|
-
function propWindow(
|
|
15963
|
-
return
|
|
17931
|
+
function propWindow(targetPropertyKeyOrTarget, optionsOrPropertyKey, descriptor) {
|
|
17932
|
+
return dispatchPropConvenience("$window", targetPropertyKeyOrTarget, optionsOrPropertyKey, descriptor);
|
|
15964
17933
|
}
|
|
15965
|
-
function propDocument(
|
|
15966
|
-
return
|
|
17934
|
+
function propDocument(targetPropertyKeyOrTarget, optionsOrPropertyKey, descriptor) {
|
|
17935
|
+
return dispatchPropConvenience("$document", targetPropertyKeyOrTarget, optionsOrPropertyKey, descriptor);
|
|
15967
17936
|
}
|
|
15968
17937
|
function propLight(selector, targetPropertyKey, options) {
|
|
15969
17938
|
return applyProperty(selector, targetPropertyKey, { ...options ?? {}, root: "light" });
|
|
@@ -16035,8 +18004,8 @@ ${indentStr}}`;
|
|
|
16035
18004
|
onConnected(_helperHostSet) {
|
|
16036
18005
|
}
|
|
16037
18006
|
/** SwcAppMixin 이 구독 대상 메타를 꺼낼 때 사용 */
|
|
16038
|
-
getMetadata(
|
|
16039
|
-
return getSubscribeSwcAppMessageWhileConnectedMetadata(
|
|
18007
|
+
getMetadata(helperHostSet2) {
|
|
18008
|
+
return getSubscribeSwcAppMessageWhileConnectedMetadata(helperHostSet2.$this);
|
|
16040
18009
|
}
|
|
16041
18010
|
};
|
|
16042
18011
|
|
|
@@ -16087,22 +18056,57 @@ ${indentStr}}`;
|
|
|
16087
18056
|
onConnected(_helperHostSet) {
|
|
16088
18057
|
}
|
|
16089
18058
|
/** SwcAppMixin 이 구독 대상 메타를 꺼낼 때 사용 */
|
|
16090
|
-
getMetadata(
|
|
16091
|
-
return getSubscribeSwcAppRouteChangeWhileConnectedMetadata(
|
|
18059
|
+
getMetadata(helperHostSet2) {
|
|
18060
|
+
return getSubscribeSwcAppRouteChangeWhileConnectedMetadata(helperHostSet2.$this);
|
|
16092
18061
|
}
|
|
16093
18062
|
};
|
|
16094
18063
|
|
|
16095
18064
|
// src/decorators/setInterval.ts
|
|
16096
18065
|
var SET_INTERVAL_METADATA_KEY = Symbol.for("simple-web-component:set-interval");
|
|
18066
|
+
var activeMap = /* @__PURE__ */ new WeakMap();
|
|
18067
|
+
var getActiveEntries = (inst) => {
|
|
18068
|
+
let entries = activeMap.get(inst);
|
|
18069
|
+
if (!entries) {
|
|
18070
|
+
entries = [];
|
|
18071
|
+
activeMap.set(inst, entries);
|
|
18072
|
+
}
|
|
18073
|
+
return entries;
|
|
18074
|
+
};
|
|
16097
18075
|
function setInterval2(interval2, options = {}) {
|
|
16098
|
-
return (target, propertyKey) => {
|
|
18076
|
+
return (target, propertyKey, descriptor) => {
|
|
16099
18077
|
const constructor = target.constructor;
|
|
18078
|
+
const normalizedOptions = { ...options, type: options.type ?? "returnValue" };
|
|
16100
18079
|
let metaList = ReflectUtils.getOwnMetadata(SET_INTERVAL_METADATA_KEY, constructor);
|
|
16101
18080
|
if (!metaList) {
|
|
16102
18081
|
metaList = [];
|
|
16103
18082
|
ReflectUtils.defineMetadata(SET_INTERVAL_METADATA_KEY, metaList, constructor);
|
|
16104
18083
|
}
|
|
16105
|
-
metaList.push({ propertyKey, interval: interval2, options });
|
|
18084
|
+
metaList.push({ propertyKey, interval: interval2, options: normalizedOptions });
|
|
18085
|
+
if (normalizedOptions.type === "onConnected" || !descriptor) {
|
|
18086
|
+
return;
|
|
18087
|
+
}
|
|
18088
|
+
const original = descriptor.value;
|
|
18089
|
+
descriptor.value = function(...args) {
|
|
18090
|
+
const res = original.apply(this, args);
|
|
18091
|
+
const vk = normalizedOptions.valueKey ?? SET_INTERVAL_METADATA_KEY;
|
|
18092
|
+
const tickFn = typeof res === "function" ? res : res && typeof res === "object" && typeof res[vk] === "function" ? res[vk] : void 0;
|
|
18093
|
+
if (tickFn) {
|
|
18094
|
+
ensureInit(this);
|
|
18095
|
+
const conf = getElementConfig(this);
|
|
18096
|
+
const win = this._resolveWindow?.(conf) || (typeof window !== "undefined" ? window : void 0);
|
|
18097
|
+
const id = win.setInterval(() => {
|
|
18098
|
+
try {
|
|
18099
|
+
tickFn(id);
|
|
18100
|
+
} catch (e) {
|
|
18101
|
+
console.error("[SWC] setInterval tick error:", e);
|
|
18102
|
+
}
|
|
18103
|
+
}, interval2);
|
|
18104
|
+
normalizedOptions.created?.(SwcUtils.getHelperAndHostSet(win, this), id);
|
|
18105
|
+
getActiveEntries(this).push(id);
|
|
18106
|
+
}
|
|
18107
|
+
return res;
|
|
18108
|
+
};
|
|
18109
|
+
return descriptor;
|
|
16106
18110
|
};
|
|
16107
18111
|
}
|
|
16108
18112
|
var findAllSetIntervalMetadata = (target) => {
|
|
@@ -16110,54 +18114,89 @@ ${indentStr}}`;
|
|
|
16110
18114
|
return (ReflectUtils.findAllMetadata(SET_INTERVAL_METADATA_KEY, constructor) || []).flat();
|
|
16111
18115
|
};
|
|
16112
18116
|
var SetIntervalLifeCycler = class {
|
|
16113
|
-
|
|
16114
|
-
|
|
16115
|
-
|
|
16116
|
-
onConnected(helperHostSet) {
|
|
16117
|
-
const inst = helperHostSet.$this;
|
|
16118
|
-
const ids = [];
|
|
18117
|
+
onConnected(helperHostSet2) {
|
|
18118
|
+
const inst = helperHostSet2.$this;
|
|
18119
|
+
activeMap.delete(inst);
|
|
16119
18120
|
for (const meta of findAllSetIntervalMetadata(inst)) {
|
|
16120
|
-
|
|
16121
|
-
|
|
18121
|
+
if (meta.options.type !== "onConnected") continue;
|
|
18122
|
+
const id = helperHostSet2.$w.setInterval(() => {
|
|
18123
|
+
const args = meta.options.parameter?.(helperHostSet2) ?? [];
|
|
16122
18124
|
try {
|
|
16123
18125
|
const res = inst[meta.propertyKey](...args);
|
|
16124
|
-
const vk = meta.options.valueKey;
|
|
16125
|
-
if (
|
|
18126
|
+
const vk = meta.options.valueKey ?? SET_INTERVAL_METADATA_KEY;
|
|
18127
|
+
if (res && typeof res === "object" && typeof res[vk] === "function") {
|
|
16126
18128
|
res[vk](id);
|
|
16127
18129
|
}
|
|
16128
18130
|
} catch (e) {
|
|
16129
18131
|
console.error("[SWC] setInterval tick error:", e);
|
|
16130
18132
|
}
|
|
16131
18133
|
}, meta.interval);
|
|
16132
|
-
meta.options.created?.(
|
|
16133
|
-
|
|
18134
|
+
meta.options.created?.(helperHostSet2, id);
|
|
18135
|
+
getActiveEntries(inst).push(id);
|
|
16134
18136
|
}
|
|
16135
|
-
this.activeMap.set(inst, ids);
|
|
16136
18137
|
}
|
|
16137
|
-
onDisconnected(
|
|
16138
|
-
const inst =
|
|
16139
|
-
for (const id of
|
|
18138
|
+
onDisconnected(helperHostSet2) {
|
|
18139
|
+
const inst = helperHostSet2.$this;
|
|
18140
|
+
for (const id of activeMap.get(inst) ?? []) {
|
|
16140
18141
|
try {
|
|
16141
|
-
|
|
18142
|
+
helperHostSet2.$w.clearInterval(id);
|
|
16142
18143
|
} catch (e) {
|
|
16143
18144
|
console.error("[SWC] clearInterval error:", e);
|
|
16144
18145
|
}
|
|
16145
18146
|
}
|
|
16146
|
-
|
|
18147
|
+
activeMap.delete(inst);
|
|
16147
18148
|
}
|
|
16148
18149
|
};
|
|
16149
18150
|
|
|
16150
18151
|
// src/decorators/setTimeout.ts
|
|
16151
18152
|
var SET_TIMEOUT_METADATA_KEY = Symbol.for("simple-web-component:set-timeout");
|
|
18153
|
+
var activeMap2 = /* @__PURE__ */ new WeakMap();
|
|
18154
|
+
var getActiveEntries2 = (inst) => {
|
|
18155
|
+
let entries = activeMap2.get(inst);
|
|
18156
|
+
if (!entries) {
|
|
18157
|
+
entries = [];
|
|
18158
|
+
activeMap2.set(inst, entries);
|
|
18159
|
+
}
|
|
18160
|
+
return entries;
|
|
18161
|
+
};
|
|
16152
18162
|
function setTimeout2(delay, options = {}) {
|
|
16153
|
-
return (target, propertyKey) => {
|
|
18163
|
+
return (target, propertyKey, descriptor) => {
|
|
16154
18164
|
const constructor = target.constructor;
|
|
18165
|
+
const normalizedOptions = { ...options, type: options.type ?? "returnValue" };
|
|
16155
18166
|
let metaList = ReflectUtils.getOwnMetadata(SET_TIMEOUT_METADATA_KEY, constructor);
|
|
16156
18167
|
if (!metaList) {
|
|
16157
18168
|
metaList = [];
|
|
16158
18169
|
ReflectUtils.defineMetadata(SET_TIMEOUT_METADATA_KEY, metaList, constructor);
|
|
16159
18170
|
}
|
|
16160
|
-
metaList.push({ propertyKey, delay, options });
|
|
18171
|
+
metaList.push({ propertyKey, delay, options: normalizedOptions });
|
|
18172
|
+
if (normalizedOptions.type === "onConnected" || !descriptor) {
|
|
18173
|
+
return;
|
|
18174
|
+
}
|
|
18175
|
+
const original = descriptor.value;
|
|
18176
|
+
descriptor.value = function(...args) {
|
|
18177
|
+
const res = original.apply(this, args);
|
|
18178
|
+
const vk = normalizedOptions.valueKey ?? SET_TIMEOUT_METADATA_KEY;
|
|
18179
|
+
const tickFn = typeof res === "function" ? res : res && typeof res === "object" && typeof res[vk] === "function" ? res[vk] : void 0;
|
|
18180
|
+
if (tickFn) {
|
|
18181
|
+
ensureInit(this);
|
|
18182
|
+
const conf = getElementConfig(this);
|
|
18183
|
+
const win = this._resolveWindow?.(conf) || (typeof window !== "undefined" ? window : void 0);
|
|
18184
|
+
const id = win.setTimeout(() => {
|
|
18185
|
+
const entries = getActiveEntries2(this);
|
|
18186
|
+
const idx = entries.indexOf(id);
|
|
18187
|
+
if (idx >= 0) entries.splice(idx, 1);
|
|
18188
|
+
try {
|
|
18189
|
+
tickFn(id);
|
|
18190
|
+
} catch (e) {
|
|
18191
|
+
console.error("[SWC] setTimeout fire error:", e);
|
|
18192
|
+
}
|
|
18193
|
+
}, delay);
|
|
18194
|
+
normalizedOptions.created?.(SwcUtils.getHelperAndHostSet(win, this), id);
|
|
18195
|
+
getActiveEntries2(this).push(id);
|
|
18196
|
+
}
|
|
18197
|
+
return res;
|
|
18198
|
+
};
|
|
18199
|
+
return descriptor;
|
|
16161
18200
|
};
|
|
16162
18201
|
}
|
|
16163
18202
|
var findAllSetTimeoutMetadata = (target) => {
|
|
@@ -16165,40 +18204,190 @@ ${indentStr}}`;
|
|
|
16165
18204
|
return (ReflectUtils.findAllMetadata(SET_TIMEOUT_METADATA_KEY, constructor) || []).flat();
|
|
16166
18205
|
};
|
|
16167
18206
|
var SetTimeoutLifeCycler = class {
|
|
16168
|
-
|
|
16169
|
-
|
|
16170
|
-
|
|
16171
|
-
onConnected(helperHostSet) {
|
|
16172
|
-
const inst = helperHostSet.$this;
|
|
16173
|
-
const ids = [];
|
|
18207
|
+
onConnected(helperHostSet2) {
|
|
18208
|
+
const inst = helperHostSet2.$this;
|
|
18209
|
+
activeMap2.delete(inst);
|
|
16174
18210
|
for (const meta of findAllSetTimeoutMetadata(inst)) {
|
|
16175
|
-
|
|
16176
|
-
|
|
18211
|
+
if (meta.options.type !== "onConnected") continue;
|
|
18212
|
+
const id = helperHostSet2.$w.setTimeout(() => {
|
|
18213
|
+
const args = meta.options.parameter?.(helperHostSet2) ?? [];
|
|
16177
18214
|
try {
|
|
16178
18215
|
const res = inst[meta.propertyKey](...args);
|
|
16179
|
-
const vk = meta.options.valueKey;
|
|
16180
|
-
if (
|
|
18216
|
+
const vk = meta.options.valueKey ?? SET_TIMEOUT_METADATA_KEY;
|
|
18217
|
+
if (res && typeof res === "object" && typeof res[vk] === "function") {
|
|
16181
18218
|
res[vk](id);
|
|
16182
18219
|
}
|
|
16183
18220
|
} catch (e) {
|
|
16184
18221
|
console.error("[SWC] setTimeout fire error:", e);
|
|
16185
18222
|
}
|
|
16186
18223
|
}, meta.delay);
|
|
16187
|
-
meta.options.created?.(
|
|
16188
|
-
|
|
18224
|
+
meta.options.created?.(helperHostSet2, id);
|
|
18225
|
+
getActiveEntries2(inst).push(id);
|
|
16189
18226
|
}
|
|
16190
|
-
this.activeMap.set(inst, ids);
|
|
16191
18227
|
}
|
|
16192
|
-
onDisconnected(
|
|
16193
|
-
const inst =
|
|
16194
|
-
for (const id of
|
|
18228
|
+
onDisconnected(helperHostSet2) {
|
|
18229
|
+
const inst = helperHostSet2.$this;
|
|
18230
|
+
for (const id of activeMap2.get(inst) ?? []) {
|
|
16195
18231
|
try {
|
|
16196
|
-
|
|
18232
|
+
helperHostSet2.$w.clearTimeout(id);
|
|
16197
18233
|
} catch (e) {
|
|
16198
18234
|
console.error("[SWC] clearTimeout error:", e);
|
|
16199
18235
|
}
|
|
16200
18236
|
}
|
|
16201
|
-
|
|
18237
|
+
activeMap2.delete(inst);
|
|
18238
|
+
}
|
|
18239
|
+
};
|
|
18240
|
+
|
|
18241
|
+
// src/decorators/requestAnimationFrame.ts
|
|
18242
|
+
var REQUEST_ANIMATION_FRAME_METADATA_KEY = Symbol.for("simple-web-component:request-animation-frame");
|
|
18243
|
+
var activeMap3 = /* @__PURE__ */ new WeakMap();
|
|
18244
|
+
var getActiveEntries3 = (inst) => {
|
|
18245
|
+
let entries = activeMap3.get(inst);
|
|
18246
|
+
if (!entries) {
|
|
18247
|
+
entries = [];
|
|
18248
|
+
activeMap3.set(inst, entries);
|
|
18249
|
+
}
|
|
18250
|
+
return entries;
|
|
18251
|
+
};
|
|
18252
|
+
var startFrameLoop = (win, entries, frameFn) => {
|
|
18253
|
+
let currentId = 0;
|
|
18254
|
+
const step = (timestamp, prevValue) => {
|
|
18255
|
+
const idx = entries.indexOf(currentId);
|
|
18256
|
+
if (idx >= 0) entries.splice(idx, 1);
|
|
18257
|
+
let result;
|
|
18258
|
+
try {
|
|
18259
|
+
result = frameFn(timestamp, prevValue);
|
|
18260
|
+
} catch (e) {
|
|
18261
|
+
console.error("[SWC] requestAnimationFrame callback error:", e);
|
|
18262
|
+
return;
|
|
18263
|
+
}
|
|
18264
|
+
if (result === void 0 || result === null) return;
|
|
18265
|
+
currentId = win.requestAnimationFrame((ts) => step(ts, result));
|
|
18266
|
+
entries.push(currentId);
|
|
18267
|
+
};
|
|
18268
|
+
currentId = win.requestAnimationFrame((ts) => step(ts, void 0));
|
|
18269
|
+
entries.push(currentId);
|
|
18270
|
+
return currentId;
|
|
18271
|
+
};
|
|
18272
|
+
var applyRequestAnimationFrame = (options, target, propertyKey, descriptor) => {
|
|
18273
|
+
const constructor = target.constructor;
|
|
18274
|
+
const normalizedOptions = { ...options, type: options.type ?? "returnValue" };
|
|
18275
|
+
let metaList = ReflectUtils.getOwnMetadata(REQUEST_ANIMATION_FRAME_METADATA_KEY, constructor);
|
|
18276
|
+
if (!metaList) {
|
|
18277
|
+
metaList = [];
|
|
18278
|
+
ReflectUtils.defineMetadata(REQUEST_ANIMATION_FRAME_METADATA_KEY, metaList, constructor);
|
|
18279
|
+
}
|
|
18280
|
+
metaList.push({ propertyKey, options: normalizedOptions });
|
|
18281
|
+
if (normalizedOptions.type === "onConnected" || !descriptor) {
|
|
18282
|
+
return;
|
|
18283
|
+
}
|
|
18284
|
+
const original = descriptor.value;
|
|
18285
|
+
descriptor.value = function(...args) {
|
|
18286
|
+
const res = original.apply(this, args);
|
|
18287
|
+
const vk = normalizedOptions.valueKey ?? REQUEST_ANIMATION_FRAME_METADATA_KEY;
|
|
18288
|
+
const frameFn = typeof res === "function" ? res : res && typeof res === "object" && typeof res[vk] === "function" ? res[vk] : void 0;
|
|
18289
|
+
if (frameFn) {
|
|
18290
|
+
ensureInit(this);
|
|
18291
|
+
const conf = getElementConfig(this);
|
|
18292
|
+
const win = this._resolveWindow?.(conf) || (typeof window !== "undefined" ? window : void 0);
|
|
18293
|
+
const id = startFrameLoop(win, getActiveEntries3(this), frameFn);
|
|
18294
|
+
normalizedOptions.created?.(SwcUtils.getHelperAndHostSet(win, this), id);
|
|
18295
|
+
}
|
|
18296
|
+
return res;
|
|
18297
|
+
};
|
|
18298
|
+
return descriptor;
|
|
18299
|
+
};
|
|
18300
|
+
function requestAnimationFrame(optionsOrTarget, propertyKey, descriptor) {
|
|
18301
|
+
if (propertyKey !== void 0) {
|
|
18302
|
+
applyRequestAnimationFrame({}, optionsOrTarget, propertyKey, descriptor);
|
|
18303
|
+
return;
|
|
18304
|
+
}
|
|
18305
|
+
return (target, propertyKey2, descriptor2) => {
|
|
18306
|
+
return applyRequestAnimationFrame(optionsOrTarget ?? {}, target, propertyKey2, descriptor2);
|
|
18307
|
+
};
|
|
18308
|
+
}
|
|
18309
|
+
var findAllRequestAnimationFrameMetadata = (target) => {
|
|
18310
|
+
const constructor = target instanceof Function ? target : target.constructor;
|
|
18311
|
+
return (ReflectUtils.findAllMetadata(REQUEST_ANIMATION_FRAME_METADATA_KEY, constructor) || []).flat();
|
|
18312
|
+
};
|
|
18313
|
+
var RequestAnimationFrameLifeCycler = class {
|
|
18314
|
+
onConnected(helperHostSet2) {
|
|
18315
|
+
const inst = helperHostSet2.$this;
|
|
18316
|
+
activeMap3.delete(inst);
|
|
18317
|
+
const entries = getActiveEntries3(inst);
|
|
18318
|
+
for (const meta of findAllRequestAnimationFrameMetadata(inst)) {
|
|
18319
|
+
if (meta.options.type !== "onConnected") continue;
|
|
18320
|
+
const frameFn = (timestamp, prevValue) => inst[meta.propertyKey](timestamp, prevValue);
|
|
18321
|
+
const id = startFrameLoop(helperHostSet2.$w, entries, frameFn);
|
|
18322
|
+
meta.options.created?.(helperHostSet2, id);
|
|
18323
|
+
}
|
|
18324
|
+
}
|
|
18325
|
+
onDisconnected(helperHostSet2) {
|
|
18326
|
+
const inst = helperHostSet2.$this;
|
|
18327
|
+
for (const id of activeMap3.get(inst) ?? []) {
|
|
18328
|
+
try {
|
|
18329
|
+
helperHostSet2.$w.cancelAnimationFrame(id);
|
|
18330
|
+
} catch (e) {
|
|
18331
|
+
console.error("[SWC] cancelAnimationFrame error:", e);
|
|
18332
|
+
}
|
|
18333
|
+
}
|
|
18334
|
+
activeMap3.delete(inst);
|
|
18335
|
+
}
|
|
18336
|
+
};
|
|
18337
|
+
|
|
18338
|
+
// src/decorators/eventMedia.ts
|
|
18339
|
+
var EVENT_MEDIA_METADATA_KEY = Symbol.for("simple-web-component:event-media");
|
|
18340
|
+
function eventMedia(query2, eventType) {
|
|
18341
|
+
return (target, propertyKey) => {
|
|
18342
|
+
const constructor = target.constructor;
|
|
18343
|
+
let metaList = ReflectUtils.getOwnMetadata(EVENT_MEDIA_METADATA_KEY, constructor);
|
|
18344
|
+
if (!metaList) {
|
|
18345
|
+
metaList = [];
|
|
18346
|
+
ReflectUtils.defineMetadata(EVENT_MEDIA_METADATA_KEY, metaList, constructor);
|
|
18347
|
+
}
|
|
18348
|
+
metaList.push({ propertyKey, query: query2, eventType });
|
|
18349
|
+
};
|
|
18350
|
+
}
|
|
18351
|
+
function eventMediaChange(query2) {
|
|
18352
|
+
return eventMedia(query2, "change");
|
|
18353
|
+
}
|
|
18354
|
+
var findAllEventMediaMetadata = (target) => {
|
|
18355
|
+
const constructor = target instanceof Function ? target : target.constructor;
|
|
18356
|
+
return (ReflectUtils.findAllMetadata(EVENT_MEDIA_METADATA_KEY, constructor) || []).flat();
|
|
18357
|
+
};
|
|
18358
|
+
var EventMediaLifeCycler = class {
|
|
18359
|
+
constructor() {
|
|
18360
|
+
__publicField(this, "entriesMap", /* @__PURE__ */ new WeakMap());
|
|
18361
|
+
}
|
|
18362
|
+
onConnected(helperHostSet2) {
|
|
18363
|
+
const inst = helperHostSet2.$this;
|
|
18364
|
+
const metaList = findAllEventMediaMetadata(inst);
|
|
18365
|
+
if (metaList.length === 0) return;
|
|
18366
|
+
const entries = [];
|
|
18367
|
+
for (const meta of metaList) {
|
|
18368
|
+
const mql = helperHostSet2.$w.matchMedia(meta.query);
|
|
18369
|
+
const handler = (e) => {
|
|
18370
|
+
try {
|
|
18371
|
+
inst[meta.propertyKey](e, helperHostSet2);
|
|
18372
|
+
} catch (err) {
|
|
18373
|
+
console.error("[SWC] eventMedia handler error:", err);
|
|
18374
|
+
}
|
|
18375
|
+
};
|
|
18376
|
+
mql.addEventListener(meta.eventType, handler);
|
|
18377
|
+
entries.push({ mql, eventType: meta.eventType, handler });
|
|
18378
|
+
}
|
|
18379
|
+
this.entriesMap.set(inst, entries);
|
|
18380
|
+
}
|
|
18381
|
+
onDisconnected(helperHostSet2) {
|
|
18382
|
+
const inst = helperHostSet2.$this;
|
|
18383
|
+
for (const { mql, eventType, handler } of this.entriesMap.get(inst) ?? []) {
|
|
18384
|
+
try {
|
|
18385
|
+
mql.removeEventListener(eventType, handler);
|
|
18386
|
+
} catch (e) {
|
|
18387
|
+
console.error("[SWC] eventMedia cleanup error:", e);
|
|
18388
|
+
}
|
|
18389
|
+
}
|
|
18390
|
+
this.entriesMap.delete(inst);
|
|
16202
18391
|
}
|
|
16203
18392
|
};
|
|
16204
18393
|
|
|
@@ -16246,11 +18435,11 @@ ${indentStr}}`;
|
|
|
16246
18435
|
inst[meta.propertyKey] = initUserData;
|
|
16247
18436
|
});
|
|
16248
18437
|
}
|
|
16249
|
-
const
|
|
18438
|
+
const hostSet2 = SwcUtils.getHostSet(inst);
|
|
16250
18439
|
const appHosts = SwcUtils.findAllAppHostsIncludingSelfDirect(inst);
|
|
16251
|
-
inst._executeSwcScript?.("swc-on-constructor",
|
|
18440
|
+
inst._executeSwcScript?.("swc-on-constructor", hostSet2);
|
|
16252
18441
|
const cMethods = findAllLifecycleMetadata(inst, ON_INITIALIZE_METADATA_KEY);
|
|
16253
|
-
for (const m of cMethods) inst._invokeLifecycleMethod(m.propertyKey,
|
|
18442
|
+
for (const m of cMethods) inst._invokeLifecycleMethod(m.propertyKey, hostSet2);
|
|
16254
18443
|
}
|
|
16255
18444
|
};
|
|
16256
18445
|
var globalDelegatedRoots = /* @__PURE__ */ new WeakSet();
|
|
@@ -16289,7 +18478,7 @@ ${indentStr}}`;
|
|
|
16289
18478
|
var setupPrototype = (proto, win) => {
|
|
16290
18479
|
if (proto.__swc_proto_setup) return;
|
|
16291
18480
|
proto.__swc_proto_setup = true;
|
|
16292
|
-
proto._executeSwcScript = function(attrName,
|
|
18481
|
+
proto._executeSwcScript = function(attrName, hostSet2, extraArgs = {}) {
|
|
16293
18482
|
ensureInit(this);
|
|
16294
18483
|
const script = this.getAttribute(attrName);
|
|
16295
18484
|
if (script) {
|
|
@@ -16297,7 +18486,7 @@ ${indentStr}}`;
|
|
|
16297
18486
|
const conf = getElementConfig(this);
|
|
16298
18487
|
const currentWin = this._resolveWindow(conf);
|
|
16299
18488
|
const helpers = SwcUtils.getHelperSet(currentWin);
|
|
16300
|
-
const args = { ...
|
|
18489
|
+
const args = { ...hostSet2, ...helpers, ...extraArgs, $el: this, $root: this.getRootNode() };
|
|
16301
18490
|
FunctionUtils.execute({ script, context: this, args });
|
|
16302
18491
|
} catch (e) {
|
|
16303
18492
|
console.error(`[SWC] Failed to execute ${attrName}:`, e);
|
|
@@ -16314,11 +18503,14 @@ ${indentStr}}`;
|
|
|
16314
18503
|
}
|
|
16315
18504
|
return getElementConfig(this).window ?? (typeof window !== "undefined" ? window : void 0);
|
|
16316
18505
|
};
|
|
16317
|
-
proto._invokeLifecycleMethod = function(methodName,
|
|
18506
|
+
proto._invokeLifecycleMethod = function(methodName, hostSet2, extraArgs = []) {
|
|
16318
18507
|
ensureInit(this);
|
|
16319
18508
|
if (typeof this[methodName] !== "function") return;
|
|
16320
|
-
const useHostSet =
|
|
18509
|
+
const useHostSet = hostSet2 ?? SwcUtils.getHelperAndHostSet(win, this);
|
|
16321
18510
|
const app = useHostSet?.$appHost?.simpleApplication;
|
|
18511
|
+
const helperSetValue = SwcUtils.getHelperSet(win);
|
|
18512
|
+
const helperHostSetValue = { ...helperSetValue, ...useHostSet, $this: this };
|
|
18513
|
+
const kindValues = { hostSet: useHostSet, helperHostSet: helperHostSetValue, helperSet: helperSetValue };
|
|
16322
18514
|
if (app) {
|
|
16323
18515
|
const otherStorage = /* @__PURE__ */ new Map();
|
|
16324
18516
|
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({
|
|
@@ -16329,16 +18521,23 @@ ${indentStr}}`;
|
|
|
16329
18521
|
data: useHostSet.$firstAppHost
|
|
16330
18522
|
}), new SituationTypeContainer({ situationType: "SIMPLE_WEB_COMPONENT://LASTAPPHOST" /* LAST_APP_HOST */, data: useHostSet.$lastAppHost })]);
|
|
16331
18523
|
otherStorage.set(SituationTypeContainers, situations);
|
|
18524
|
+
const firstCheckMaker = ({ target, targetKey }, token, idx) => {
|
|
18525
|
+
const saves = getParameterMetadata(target, targetKey);
|
|
18526
|
+
const found = saves.find((s) => s.index === idx);
|
|
18527
|
+
return found ? kindValues[found.kind] : void 0;
|
|
18528
|
+
};
|
|
16332
18529
|
return app.simstanceManager.executeBindParameterSim(
|
|
16333
18530
|
{
|
|
16334
18531
|
target: this,
|
|
16335
18532
|
targetKey: methodName,
|
|
16336
|
-
inputParameters: extraArgs
|
|
18533
|
+
inputParameters: extraArgs,
|
|
18534
|
+
firstCheckMaker: [firstCheckMaker]
|
|
16337
18535
|
},
|
|
16338
18536
|
otherStorage
|
|
16339
18537
|
);
|
|
16340
18538
|
} else {
|
|
16341
|
-
|
|
18539
|
+
const args = buildSwcParameterArgs(this, methodName, kindValues, extraArgs);
|
|
18540
|
+
return this[methodName](...args);
|
|
16342
18541
|
}
|
|
16343
18542
|
};
|
|
16344
18543
|
proto._bindAttributeEvent = function(el, attrName, script, eventName) {
|
|
@@ -16356,14 +18555,14 @@ ${indentStr}}`;
|
|
|
16356
18555
|
const oldHandler = handlers.get(attrName);
|
|
16357
18556
|
if (oldHandler) el.removeEventListener(eventName, oldHandler);
|
|
16358
18557
|
const handler = async (event2) => {
|
|
16359
|
-
const
|
|
18558
|
+
const hostSet2 = SwcUtils.getHostSet(el);
|
|
16360
18559
|
const conf = getElementConfig(this);
|
|
16361
18560
|
const currentWin = this._resolveWindow(conf);
|
|
16362
18561
|
const helpers = SwcUtils.getHelperSet(currentWin);
|
|
16363
18562
|
const args = {
|
|
16364
18563
|
event: event2,
|
|
16365
18564
|
$data: event2.detail,
|
|
16366
|
-
...
|
|
18565
|
+
...hostSet2,
|
|
16367
18566
|
...helpers,
|
|
16368
18567
|
$el: el,
|
|
16369
18568
|
$root: this.getRootNode()
|
|
@@ -16375,7 +18574,7 @@ ${indentStr}}`;
|
|
|
16375
18574
|
};
|
|
16376
18575
|
proto.__swc_executeAttributeEvent = async function(el, attrName, script, event2) {
|
|
16377
18576
|
ensureInit(this);
|
|
16378
|
-
const
|
|
18577
|
+
const hostSet2 = SwcUtils.getHostSet(el);
|
|
16379
18578
|
const conf = getElementConfig(this);
|
|
16380
18579
|
const currentWin = this._resolveWindow(conf);
|
|
16381
18580
|
const currentHelpers = SwcUtils.getHelperSet(currentWin);
|
|
@@ -16385,7 +18584,7 @@ ${indentStr}}`;
|
|
|
16385
18584
|
$event: event2,
|
|
16386
18585
|
$data: detail,
|
|
16387
18586
|
$detail: detail,
|
|
16388
|
-
...
|
|
18587
|
+
...hostSet2,
|
|
16389
18588
|
...currentHelpers,
|
|
16390
18589
|
$el: el,
|
|
16391
18590
|
$root: this.getRootNode()
|
|
@@ -16419,7 +18618,7 @@ ${indentStr}}`;
|
|
|
16419
18618
|
const originalStaticObservedAttributes = constructor.observedAttributes ?? [];
|
|
16420
18619
|
const proto = constructor.prototype;
|
|
16421
18620
|
setupPrototype(proto, win);
|
|
16422
|
-
let
|
|
18621
|
+
let helperHostSet2 = null;
|
|
16423
18622
|
const eventCycler = new EventListenerLifeCycler();
|
|
16424
18623
|
const cyclers = [
|
|
16425
18624
|
eventCycler,
|
|
@@ -16431,12 +18630,14 @@ ${indentStr}}`;
|
|
|
16431
18630
|
new MessageSubscribeLifeCycler(),
|
|
16432
18631
|
new RouteSubscribeLifeCycler(),
|
|
16433
18632
|
new SetIntervalLifeCycler(),
|
|
16434
|
-
new SetTimeoutLifeCycler()
|
|
18633
|
+
new SetTimeoutLifeCycler(),
|
|
18634
|
+
new RequestAnimationFrameLifeCycler(),
|
|
18635
|
+
new EventMediaLifeCycler()
|
|
16435
18636
|
];
|
|
16436
18637
|
const cyclerObservedAttributes = cyclers.flatMap((c) => c.getObservedAttributeNames?.(constructor) ?? []);
|
|
16437
18638
|
const mergedObservedAttributes = [.../* @__PURE__ */ new Set([...metadata.observedAttributes ?? [], ...originalStaticObservedAttributes, ...cyclerObservedAttributes, ...attributeApplyNames, ...hostAttributes, ...swcLifecycleAttributes, ...swcOnEvents])];
|
|
16438
|
-
const buildObservers = async (
|
|
16439
|
-
const inst =
|
|
18639
|
+
const buildObservers = async (helperHostSet3) => {
|
|
18640
|
+
const inst = helperHostSet3.$this;
|
|
16440
18641
|
const observers = [];
|
|
16441
18642
|
let resizeObserverSet = [];
|
|
16442
18643
|
let mutationObserverSet = [];
|
|
@@ -16454,7 +18655,7 @@ ${indentStr}}`;
|
|
|
16454
18655
|
return roots;
|
|
16455
18656
|
};
|
|
16456
18657
|
for (const c of cyclers) {
|
|
16457
|
-
const result = await c.onConnected?.(
|
|
18658
|
+
const result = await c.onConnected?.(helperHostSet3, resizeObserverSet);
|
|
16458
18659
|
if (!result) continue;
|
|
16459
18660
|
if (result.resizeObserverSet?.length) resizeObserverSet = [...resizeObserverSet, ...result.resizeObserverSet];
|
|
16460
18661
|
if (result.mutationObserverSet?.length) mutationObserverSet = [...mutationObserverSet, ...result.mutationObserverSet];
|
|
@@ -16636,8 +18837,8 @@ ${indentStr}}`;
|
|
|
16636
18837
|
const originalConnected = proto.connectedCallback;
|
|
16637
18838
|
proto.connectedCallback = async function() {
|
|
16638
18839
|
ensureInit(this);
|
|
16639
|
-
|
|
16640
|
-
const appHost =
|
|
18840
|
+
helperHostSet2 = SwcUtils.getHelperAndHostSet(win, this);
|
|
18841
|
+
const appHost = helperHostSet2.$appHost;
|
|
16641
18842
|
const useSsr = isSSR(this);
|
|
16642
18843
|
try {
|
|
16643
18844
|
if (appHost && typeof appHost._connected === "function") {
|
|
@@ -16648,15 +18849,15 @@ ${indentStr}}`;
|
|
|
16648
18849
|
}
|
|
16649
18850
|
const conf = getElementConfig(this);
|
|
16650
18851
|
const currentWin = this._resolveWindow(conf);
|
|
16651
|
-
for (const m of findAllOnConnectedBeforeMetadata(this)) await this._invokeLifecycleMethod(m.propertyKey,
|
|
16652
|
-
this._executeSwcScript("swc-on-before-connected",
|
|
18852
|
+
for (const m of findAllOnConnectedBeforeMetadata(this)) await this._invokeLifecycleMethod(m.propertyKey, helperHostSet2);
|
|
18853
|
+
this._executeSwcScript("swc-on-before-connected", helperHostSet2);
|
|
16653
18854
|
const targetConnectedList = useSsr ? [] : findAllOnConnectedMetadata(constructor);
|
|
16654
18855
|
const shadowMode = conf?.useShadow || targetConnectedList.find((it) => it.options.useShadow)?.options.useShadow;
|
|
16655
18856
|
if (shadowMode && !this.shadowRoot) {
|
|
16656
18857
|
const mode = shadowMode === true ? "open" : shadowMode;
|
|
16657
18858
|
this.attachShadow({ mode });
|
|
16658
18859
|
}
|
|
16659
|
-
const stateContext = { ...
|
|
18860
|
+
const stateContext = { ...helperHostSet2 };
|
|
16660
18861
|
findAllStateMetadata(this).forEach((it) => {
|
|
16661
18862
|
stateContext[it.name] = this[it.propertyKey];
|
|
16662
18863
|
});
|
|
@@ -16664,7 +18865,7 @@ ${indentStr}}`;
|
|
|
16664
18865
|
const lightChildren = [];
|
|
16665
18866
|
if (targetConnectedList.length > 0) {
|
|
16666
18867
|
for (const meta of targetConnectedList) {
|
|
16667
|
-
let res = await this._invokeLifecycleMethod(meta.propertyKey,
|
|
18868
|
+
let res = await this._invokeLifecycleMethod(meta.propertyKey, helperHostSet2);
|
|
16668
18869
|
if (typeof res === "string") {
|
|
16669
18870
|
const htmlTemplateElement = doc.createElement("template");
|
|
16670
18871
|
htmlTemplateElement.innerHTML = res;
|
|
@@ -16704,12 +18905,12 @@ ${indentStr}}`;
|
|
|
16704
18905
|
}
|
|
16705
18906
|
await buildObservers(SwcUtils.getHelperAndHostSet(win, this));
|
|
16706
18907
|
if (originalConnected) await originalConnected.apply(this);
|
|
16707
|
-
for (const m of findAllOnConnectedAfterMetadata(this)) await this._invokeLifecycleMethod(m.propertyKey,
|
|
16708
|
-
this._executeSwcScript("swc-on-connected",
|
|
16709
|
-
this._executeSwcScript("swc-on-after-connected",
|
|
18908
|
+
for (const m of findAllOnConnectedAfterMetadata(this)) await this._invokeLifecycleMethod(m.propertyKey, helperHostSet2);
|
|
18909
|
+
this._executeSwcScript("swc-on-connected", helperHostSet2);
|
|
18910
|
+
this._executeSwcScript("swc-on-after-connected", helperHostSet2);
|
|
16710
18911
|
this.__swc_connected = true;
|
|
16711
18912
|
} finally {
|
|
16712
|
-
for (const m of findAllLifecycleMetadata(this, ON_CONNECTED_COMPLETED_METADATA_KEY)) await this._invokeLifecycleMethod(m.propertyKey,
|
|
18913
|
+
for (const m of findAllLifecycleMetadata(this, ON_CONNECTED_COMPLETED_METADATA_KEY)) await this._invokeLifecycleMethod(m.propertyKey, helperHostSet2);
|
|
16713
18914
|
if (appHost && typeof appHost._connectedDone === "function") {
|
|
16714
18915
|
await appHost._connectedDone(this);
|
|
16715
18916
|
}
|
|
@@ -16717,13 +18918,13 @@ ${indentStr}}`;
|
|
|
16717
18918
|
};
|
|
16718
18919
|
const originalDisconnected = proto.disconnectedCallback;
|
|
16719
18920
|
proto.disconnectedCallback = function() {
|
|
16720
|
-
const appHost =
|
|
18921
|
+
const appHost = helperHostSet2?.$appHost;
|
|
16721
18922
|
if (appHost && typeof appHost._disconnected === "function") {
|
|
16722
18923
|
appHost._disconnected(this);
|
|
16723
18924
|
}
|
|
16724
|
-
this._executeSwcScript("swc-on-before-disconnected",
|
|
16725
|
-
for (const m of findAllLifecycleMetadata(this, ON_BEFORE_DISCONNECTED_METADATA_KEY)) this._invokeLifecycleMethod(m.propertyKey,
|
|
16726
|
-
for (const c of cyclers) c.onDisconnected?.(
|
|
18925
|
+
this._executeSwcScript("swc-on-before-disconnected", helperHostSet2);
|
|
18926
|
+
for (const m of findAllLifecycleMetadata(this, ON_BEFORE_DISCONNECTED_METADATA_KEY)) this._invokeLifecycleMethod(m.propertyKey, helperHostSet2);
|
|
18927
|
+
for (const c of cyclers) c.onDisconnected?.(helperHostSet2);
|
|
16727
18928
|
for (const o of this.__swc_observers ?? []) {
|
|
16728
18929
|
try {
|
|
16729
18930
|
o?.disconnect?.();
|
|
@@ -16734,21 +18935,21 @@ ${indentStr}}`;
|
|
|
16734
18935
|
this.__swc_observers = [];
|
|
16735
18936
|
new ElementApply(this, { id: this._swcId }).removeAllEventListener();
|
|
16736
18937
|
if (originalDisconnected) originalDisconnected.apply(this);
|
|
16737
|
-
for (const m of findAllLifecycleMetadata(this, ON_AFTER_DISCONNECTED_METADATA_KEY)) this._invokeLifecycleMethod(m.propertyKey,
|
|
16738
|
-
this._executeSwcScript("swc-on-disconnected",
|
|
16739
|
-
this._executeSwcScript("swc-on-after-disconnected",
|
|
18938
|
+
for (const m of findAllLifecycleMetadata(this, ON_AFTER_DISCONNECTED_METADATA_KEY)) this._invokeLifecycleMethod(m.propertyKey, helperHostSet2);
|
|
18939
|
+
this._executeSwcScript("swc-on-disconnected", helperHostSet2);
|
|
18940
|
+
this._executeSwcScript("swc-on-after-disconnected", helperHostSet2);
|
|
16740
18941
|
this.__swc_connected = false;
|
|
16741
18942
|
};
|
|
16742
18943
|
const originalAdopted = proto.adoptedCallback;
|
|
16743
18944
|
proto.adoptedCallback = function() {
|
|
16744
|
-
const
|
|
16745
|
-
this._executeSwcScript("swc-on-before-adopted",
|
|
16746
|
-
for (const m of findAllLifecycleMetadata(this, ON_BEFORE_ADOPTED_METADATA_KEY)) this._invokeLifecycleMethod(m.propertyKey,
|
|
16747
|
-
for (const c of cyclers) c.onAdopted?.(
|
|
18945
|
+
const hostSet2 = SwcUtils.getHostSet(this);
|
|
18946
|
+
this._executeSwcScript("swc-on-before-adopted", hostSet2);
|
|
18947
|
+
for (const m of findAllLifecycleMetadata(this, ON_BEFORE_ADOPTED_METADATA_KEY)) this._invokeLifecycleMethod(m.propertyKey, hostSet2);
|
|
18948
|
+
for (const c of cyclers) c.onAdopted?.(helperHostSet2);
|
|
16748
18949
|
if (originalAdopted) originalAdopted.apply(this);
|
|
16749
|
-
for (const m of findAllLifecycleMetadata(this, ON_AFTER_ADOPTED_METADATA_KEY)) this._invokeLifecycleMethod(m.propertyKey,
|
|
16750
|
-
this._executeSwcScript("swc-on-adopted",
|
|
16751
|
-
this._executeSwcScript("swc-on-after-adopted",
|
|
18950
|
+
for (const m of findAllLifecycleMetadata(this, ON_AFTER_ADOPTED_METADATA_KEY)) this._invokeLifecycleMethod(m.propertyKey, hostSet2);
|
|
18951
|
+
this._executeSwcScript("swc-on-adopted", hostSet2);
|
|
18952
|
+
this._executeSwcScript("swc-on-after-adopted", hostSet2);
|
|
16752
18953
|
};
|
|
16753
18954
|
const originalAttributeChanged = proto.attributeChangedCallback;
|
|
16754
18955
|
proto.attributeChangedCallback = function(name2, old, newVal) {
|
|
@@ -16843,8 +19044,8 @@ ${indentStr}}`;
|
|
|
16843
19044
|
const results = [];
|
|
16844
19045
|
let resolvedSelector = selector;
|
|
16845
19046
|
if (typeof selector === "function") {
|
|
16846
|
-
const
|
|
16847
|
-
resolvedSelector = selector(inst,
|
|
19047
|
+
const hostSet2 = SwcUtils.getHelperAndHostSet(currentWin, inst);
|
|
19048
|
+
resolvedSelector = selector(inst, hostSet2);
|
|
16848
19049
|
}
|
|
16849
19050
|
if (resolvedSelector instanceof currentWin.Element) {
|
|
16850
19051
|
results.push(resolvedSelector);
|
|
@@ -16874,16 +19075,16 @@ ${indentStr}}`;
|
|
|
16874
19075
|
if (stringSelector === "$this" || !stringSelector) {
|
|
16875
19076
|
applyRoot(inst);
|
|
16876
19077
|
} else {
|
|
16877
|
-
const
|
|
16878
|
-
if (stringSelector === "$host") applyRoot(
|
|
16879
|
-
else if (stringSelector === "$parentHost") applyRoot(
|
|
16880
|
-
else if (stringSelector === "$appHost") applyRoot(
|
|
16881
|
-
else if (stringSelector === "$firstHost") applyRoot(
|
|
16882
|
-
else if (stringSelector === "$lastHost") applyRoot(
|
|
16883
|
-
else if (stringSelector === "$firstAppHost") applyRoot(
|
|
16884
|
-
else if (stringSelector === "$lastAppHost") applyRoot(
|
|
16885
|
-
else if (stringSelector === "$hosts")
|
|
16886
|
-
else if (stringSelector === "$appHosts")
|
|
19078
|
+
const hostSet2 = SwcUtils.getHostSet(inst);
|
|
19079
|
+
if (stringSelector === "$host") applyRoot(hostSet2.$host);
|
|
19080
|
+
else if (stringSelector === "$parentHost") applyRoot(hostSet2.$parentHost);
|
|
19081
|
+
else if (stringSelector === "$appHost") applyRoot(hostSet2.$appHost);
|
|
19082
|
+
else if (stringSelector === "$firstHost") applyRoot(hostSet2.$firstHost);
|
|
19083
|
+
else if (stringSelector === "$lastHost") applyRoot(hostSet2.$lastHost);
|
|
19084
|
+
else if (stringSelector === "$firstAppHost") applyRoot(hostSet2.$firstAppHost);
|
|
19085
|
+
else if (stringSelector === "$lastAppHost") applyRoot(hostSet2.$lastAppHost);
|
|
19086
|
+
else if (stringSelector === "$hosts") hostSet2.$hosts.forEach(applyRoot);
|
|
19087
|
+
else if (stringSelector === "$appHosts") hostSet2.$appHosts.forEach(applyRoot);
|
|
16887
19088
|
else {
|
|
16888
19089
|
if (r === "shadow") {
|
|
16889
19090
|
const found = inst.shadowRoot?.querySelectorAll(stringSelector);
|
|
@@ -16936,9 +19137,9 @@ ${indentStr}}`;
|
|
|
16936
19137
|
const conf = getElementConfig(inst);
|
|
16937
19138
|
const currentWin = conf.window;
|
|
16938
19139
|
const targetEls = resolveAttributeTargets(inst, selector, finalOptions);
|
|
16939
|
-
const
|
|
19140
|
+
const hostSet2 = SwcUtils.getHelperAndHostSet(currentWin, inst);
|
|
16940
19141
|
targetEls.forEach((targetEl) => {
|
|
16941
|
-
if (finalOptions.filter && !finalOptions.filter(targetEl, resolvedValue, { currentThis: inst, helper:
|
|
19142
|
+
if (finalOptions.filter && !finalOptions.filter(targetEl, resolvedValue, { currentThis: inst, helper: hostSet2 })) {
|
|
16942
19143
|
return;
|
|
16943
19144
|
}
|
|
16944
19145
|
if (resolvedValue === null) {
|
|
@@ -17037,11 +19238,17 @@ ${indentStr}}`;
|
|
|
17037
19238
|
return result;
|
|
17038
19239
|
};
|
|
17039
19240
|
var attr = applyAttribute;
|
|
17040
|
-
function attrThis(
|
|
17041
|
-
|
|
19241
|
+
function attrThis(targetAttributeNameOrTarget, optionsOrPropertyKey, descriptor) {
|
|
19242
|
+
if ((typeof optionsOrPropertyKey === "string" || typeof optionsOrPropertyKey === "symbol") && descriptor !== void 0) {
|
|
19243
|
+
return applyAttribute("$this", void 0, {})(targetAttributeNameOrTarget, optionsOrPropertyKey, descriptor);
|
|
19244
|
+
}
|
|
19245
|
+
return applyAttribute("$this", targetAttributeNameOrTarget, optionsOrPropertyKey);
|
|
17042
19246
|
}
|
|
17043
|
-
function attrAppHost(
|
|
17044
|
-
|
|
19247
|
+
function attrAppHost(targetAttributeNameOrTarget, optionsOrPropertyKey, descriptor) {
|
|
19248
|
+
if ((typeof optionsOrPropertyKey === "string" || typeof optionsOrPropertyKey === "symbol") && descriptor !== void 0) {
|
|
19249
|
+
return applyAttribute("$appHost", void 0, {})(targetAttributeNameOrTarget, optionsOrPropertyKey, descriptor);
|
|
19250
|
+
}
|
|
19251
|
+
return applyAttribute("$appHost", targetAttributeNameOrTarget, optionsOrPropertyKey);
|
|
17045
19252
|
}
|
|
17046
19253
|
function attrLight(selector, targetAttributeName, options) {
|
|
17047
19254
|
return applyAttribute(selector, targetAttributeName, { ...options ?? {}, root: "light" });
|
|
@@ -17057,8 +19264,8 @@ ${indentStr}}`;
|
|
|
17057
19264
|
var APPLY_NODE_METADATA_KEY = Symbol.for("simple-web-component:apply-node");
|
|
17058
19265
|
var resolveSelector = (selector, inst, win) => {
|
|
17059
19266
|
if (typeof selector === "function") {
|
|
17060
|
-
const
|
|
17061
|
-
const result = selector(inst,
|
|
19267
|
+
const hostSet2 = SwcUtils.getHelperAndHostSet(win, inst);
|
|
19268
|
+
const result = selector(inst, hostSet2);
|
|
17062
19269
|
if (result instanceof win.Element) {
|
|
17063
19270
|
return result;
|
|
17064
19271
|
}
|
|
@@ -17082,7 +19289,7 @@ ${indentStr}}`;
|
|
|
17082
19289
|
return [];
|
|
17083
19290
|
}
|
|
17084
19291
|
const doc = win.document;
|
|
17085
|
-
const
|
|
19292
|
+
const hostSet2 = SwcUtils.getHelperAndHostSet(win, currentThis);
|
|
17086
19293
|
const id = currentThis._swcId;
|
|
17087
19294
|
const nodes = [];
|
|
17088
19295
|
if (res instanceof win.Node) {
|
|
@@ -17111,7 +19318,7 @@ ${indentStr}}`;
|
|
|
17111
19318
|
else if (pos === "beforeBegin" && !isShadowRoot) targetEl.before(...nodes);
|
|
17112
19319
|
else if (pos === "afterEnd" && !isShadowRoot) targetEl.after(...nodes);
|
|
17113
19320
|
}
|
|
17114
|
-
const stateContext = { ...
|
|
19321
|
+
const stateContext = { ...hostSet2 };
|
|
17115
19322
|
findAllStateMetadata(currentThis).forEach((it) => {
|
|
17116
19323
|
stateContext[it.name] = currentThis[it.propertyKey];
|
|
17117
19324
|
});
|
|
@@ -17142,7 +19349,7 @@ ${indentStr}}`;
|
|
|
17142
19349
|
const conf = getElementConfig(this);
|
|
17143
19350
|
const currentWin = this._resolveWindow?.(conf) || (typeof window !== "undefined" ? window : void 0);
|
|
17144
19351
|
const currentDoc = currentWin.document;
|
|
17145
|
-
const
|
|
19352
|
+
const hostSet2 = SwcUtils.getHelperAndHostSet(currentWin, this);
|
|
17146
19353
|
const getTarget = () => {
|
|
17147
19354
|
const r = options.root || "auto";
|
|
17148
19355
|
const applyRoot = (t) => {
|
|
@@ -17162,11 +19369,11 @@ ${indentStr}}`;
|
|
|
17162
19369
|
}
|
|
17163
19370
|
const stringSelector = resolved;
|
|
17164
19371
|
if (stringSelector === "$this") return applyRoot(this);
|
|
17165
|
-
if (stringSelector === "$host") return applyRoot(
|
|
17166
|
-
if (stringSelector === "$parentHost") return applyRoot(
|
|
17167
|
-
if (stringSelector === "$appHost") return applyRoot(
|
|
17168
|
-
if (stringSelector === "$firstHost") return applyRoot(
|
|
17169
|
-
if (stringSelector === "$lastHost") return applyRoot(
|
|
19372
|
+
if (stringSelector === "$host") return applyRoot(hostSet2.$host);
|
|
19373
|
+
if (stringSelector === "$parentHost") return applyRoot(hostSet2.$parentHost);
|
|
19374
|
+
if (stringSelector === "$appHost") return applyRoot(hostSet2.$appHost);
|
|
19375
|
+
if (stringSelector === "$firstHost") return applyRoot(hostSet2.$firstHost);
|
|
19376
|
+
if (stringSelector === "$lastHost") return applyRoot(hostSet2.$lastHost);
|
|
17170
19377
|
const targetRoot = applyRoot(this);
|
|
17171
19378
|
return targetRoot ? targetRoot.querySelector(stringSelector) : null;
|
|
17172
19379
|
};
|
|
@@ -17182,13 +19389,13 @@ ${indentStr}}`;
|
|
|
17182
19389
|
const runApply = (target, val) => {
|
|
17183
19390
|
const pos = options.position || "beforeEnd";
|
|
17184
19391
|
const processedVal = val;
|
|
17185
|
-
if (!options.filter || options.filter(target, processedVal, { currentThis: this, helper:
|
|
19392
|
+
if (!options.filter || options.filter(target, processedVal, { currentThis: this, helper: hostSet2 })) {
|
|
17186
19393
|
applyToDom(this, target, processedVal, pos, currentWin);
|
|
17187
19394
|
}
|
|
17188
19395
|
};
|
|
17189
19396
|
const fallbackNodes = [];
|
|
17190
19397
|
if (targetEl && options.fallback) {
|
|
17191
|
-
const loadingRes = options.fallback.call(this,
|
|
19398
|
+
const loadingRes = options.fallback.call(this, hostSet2);
|
|
17192
19399
|
fallbackNodes.push(...applyToDom(this, targetEl, loadingRes, options.position || "beforeEnd", currentWin));
|
|
17193
19400
|
}
|
|
17194
19401
|
if (res instanceof Promise) {
|
|
@@ -17344,11 +19551,17 @@ ${indentStr}}`;
|
|
|
17344
19551
|
}
|
|
17345
19552
|
var apply = applyNode;
|
|
17346
19553
|
var node = applyNode;
|
|
17347
|
-
function applyThis(
|
|
17348
|
-
|
|
19554
|
+
function applyThis(optionsOrTarget, propertyKey, descriptor) {
|
|
19555
|
+
if ((typeof propertyKey === "string" || typeof propertyKey === "symbol") && descriptor !== void 0) {
|
|
19556
|
+
return applyNode("$this", {})(optionsOrTarget, propertyKey, descriptor);
|
|
19557
|
+
}
|
|
19558
|
+
return applyNode("$this", optionsOrTarget);
|
|
17349
19559
|
}
|
|
17350
|
-
function applyAppHost(
|
|
17351
|
-
|
|
19560
|
+
function applyAppHost(optionsOrTarget, propertyKey, descriptor) {
|
|
19561
|
+
if ((typeof propertyKey === "string" || typeof propertyKey === "symbol") && descriptor !== void 0) {
|
|
19562
|
+
return applyNode("$appHost", {})(optionsOrTarget, propertyKey, descriptor);
|
|
19563
|
+
}
|
|
19564
|
+
return applyNode("$appHost", optionsOrTarget);
|
|
17352
19565
|
}
|
|
17353
19566
|
function applyLight(selector, options) {
|
|
17354
19567
|
return applyNode(selector, { ...options ?? {}, root: "light" });
|
|
@@ -17412,8 +19625,8 @@ ${indentStr}}`;
|
|
|
17412
19625
|
var CLASS_METADATA_KEY = Symbol.for("simple-web-component:class");
|
|
17413
19626
|
var resolveSelector2 = (selector, inst, win) => {
|
|
17414
19627
|
if (typeof selector === "function") {
|
|
17415
|
-
const
|
|
17416
|
-
const result = selector(inst,
|
|
19628
|
+
const hostSet2 = SwcUtils.getHelperAndHostSet(win, inst);
|
|
19629
|
+
const result = selector(inst, hostSet2);
|
|
17417
19630
|
if (result instanceof win.Element) {
|
|
17418
19631
|
return [result];
|
|
17419
19632
|
}
|
|
@@ -17441,21 +19654,21 @@ ${indentStr}}`;
|
|
|
17441
19654
|
const stringSelector = resolved;
|
|
17442
19655
|
const targetEls = [];
|
|
17443
19656
|
const host = inst;
|
|
17444
|
-
const
|
|
19657
|
+
const hostSet2 = SwcUtils.getHelperAndHostSet(win, inst);
|
|
17445
19658
|
const applyRoot = (t) => {
|
|
17446
19659
|
if (!t || !(t instanceof win.HTMLElement)) return;
|
|
17447
19660
|
targetEls.push(t);
|
|
17448
19661
|
};
|
|
17449
19662
|
if (stringSelector === "$this" || !stringSelector) applyRoot(host);
|
|
17450
|
-
else if (stringSelector === "$host") applyRoot(
|
|
17451
|
-
else if (stringSelector === "$parentHost") applyRoot(
|
|
17452
|
-
else if (stringSelector === "$appHost") applyRoot(
|
|
17453
|
-
else if (stringSelector === "$firstHost") applyRoot(
|
|
17454
|
-
else if (stringSelector === "$lastHost") applyRoot(
|
|
17455
|
-
else if (stringSelector === "$firstAppHost") applyRoot(
|
|
17456
|
-
else if (stringSelector === "$lastAppHost") applyRoot(
|
|
17457
|
-
else if (stringSelector === "$hosts")
|
|
17458
|
-
else if (stringSelector === "$appHosts")
|
|
19663
|
+
else if (stringSelector === "$host") applyRoot(hostSet2.$host);
|
|
19664
|
+
else if (stringSelector === "$parentHost") applyRoot(hostSet2.$parentHost);
|
|
19665
|
+
else if (stringSelector === "$appHost") applyRoot(hostSet2.$appHost);
|
|
19666
|
+
else if (stringSelector === "$firstHost") applyRoot(hostSet2.$firstHost);
|
|
19667
|
+
else if (stringSelector === "$lastHost") applyRoot(hostSet2.$lastHost);
|
|
19668
|
+
else if (stringSelector === "$firstAppHost") applyRoot(hostSet2.$firstAppHost);
|
|
19669
|
+
else if (stringSelector === "$lastAppHost") applyRoot(hostSet2.$lastAppHost);
|
|
19670
|
+
else if (stringSelector === "$hosts") hostSet2.$hosts.forEach(applyRoot);
|
|
19671
|
+
else if (stringSelector === "$appHosts") hostSet2.$appHosts.forEach(applyRoot);
|
|
17459
19672
|
else {
|
|
17460
19673
|
const targetRoot = root === "auto" ? host.shadowRoot || host : root === "shadow" ? host.shadowRoot : host;
|
|
17461
19674
|
if (targetRoot) {
|
|
@@ -17497,20 +19710,20 @@ ${indentStr}}`;
|
|
|
17497
19710
|
if (resolvedValue !== void 0) {
|
|
17498
19711
|
const win = this.ownerDocument?.defaultView || window;
|
|
17499
19712
|
const host = this;
|
|
17500
|
-
const
|
|
19713
|
+
const hostSet2 = { ...SwcUtils.getHelperAndHostSet(win, host), $this: this };
|
|
17501
19714
|
const r = finalOptions.root || "auto";
|
|
17502
19715
|
const targetEls = getTargetElements(selector, this, win, r);
|
|
17503
19716
|
targetEls.forEach((targetEl) => {
|
|
17504
|
-
if (finalOptions.filter && !finalOptions.filter(targetEl, resolvedValue, { currentThis: this, helper:
|
|
19717
|
+
if (finalOptions.filter && !finalOptions.filter(targetEl, resolvedValue, { currentThis: this, helper: hostSet2 })) {
|
|
17505
19718
|
return;
|
|
17506
19719
|
}
|
|
17507
|
-
const resolvedRes = typeof resolvedValue === "function" ? resolvedValue(targetEl,
|
|
19720
|
+
const resolvedRes = typeof resolvedValue === "function" ? resolvedValue(targetEl, hostSet2) : resolvedValue;
|
|
17508
19721
|
if (action === "set") {
|
|
17509
19722
|
let classes = "";
|
|
17510
19723
|
if (classMap && typeof classMap === "string") {
|
|
17511
19724
|
classes = resolvedRes ? classMap : "";
|
|
17512
19725
|
} else if (typeof resolvedRes === "object" && resolvedRes !== null && !Array.isArray(resolvedRes)) {
|
|
17513
|
-
classes = Object.entries(resolvedRes).filter(([_, force]) => typeof force === "function" ? force(targetEl,
|
|
19726
|
+
classes = Object.entries(resolvedRes).filter(([_, force]) => typeof force === "function" ? force(targetEl, hostSet2) : !!force).map(([cls2]) => cls2).join(" ");
|
|
17514
19727
|
} else {
|
|
17515
19728
|
classes = Array.isArray(resolvedRes) ? resolvedRes.join(" ") : String(resolvedRes);
|
|
17516
19729
|
}
|
|
@@ -17520,7 +19733,7 @@ ${indentStr}}`;
|
|
|
17520
19733
|
targetEl.classList.toggle(classMap, !!resolvedRes);
|
|
17521
19734
|
} else if (typeof resolvedRes === "object" && resolvedRes !== null && !Array.isArray(resolvedRes)) {
|
|
17522
19735
|
Object.entries(resolvedRes).forEach(([cls2, force]) => {
|
|
17523
|
-
const isActive = typeof force === "function" ? force(targetEl,
|
|
19736
|
+
const isActive = typeof force === "function" ? force(targetEl, hostSet2) : !!force;
|
|
17524
19737
|
targetEl.classList.toggle(cls2, isActive);
|
|
17525
19738
|
});
|
|
17526
19739
|
} else {
|
|
@@ -17534,7 +19747,7 @@ ${indentStr}}`;
|
|
|
17534
19747
|
else targetEl.classList.remove(classMap);
|
|
17535
19748
|
} else if (typeof resolvedRes === "object" && resolvedRes !== null && !Array.isArray(resolvedRes)) {
|
|
17536
19749
|
Object.entries(resolvedRes).forEach(([cls2, force]) => {
|
|
17537
|
-
const shouldExecute = typeof force === "function" ? force(targetEl,
|
|
19750
|
+
const shouldExecute = typeof force === "function" ? force(targetEl, hostSet2) : !!force;
|
|
17538
19751
|
if (shouldExecute) {
|
|
17539
19752
|
if (action === "add") targetEl.classList.add(cls2);
|
|
17540
19753
|
else targetEl.classList.remove(cls2);
|
|
@@ -17619,11 +19832,17 @@ ${indentStr}}`;
|
|
|
17619
19832
|
return createClassDecorator("toggle")("$this", selectorOrTarget);
|
|
17620
19833
|
}
|
|
17621
19834
|
var cls = applyClass;
|
|
17622
|
-
function clsThis(
|
|
17623
|
-
|
|
19835
|
+
function clsThis(actionOrTarget, optionsOrPropertyKey, descriptor) {
|
|
19836
|
+
if ((typeof optionsOrPropertyKey === "string" || typeof optionsOrPropertyKey === "symbol") && descriptor !== void 0) {
|
|
19837
|
+
return applyClass("$this", void 0, {})(actionOrTarget, optionsOrPropertyKey, descriptor);
|
|
19838
|
+
}
|
|
19839
|
+
return applyClass("$this", actionOrTarget, optionsOrPropertyKey);
|
|
17624
19840
|
}
|
|
17625
|
-
function clsAppHost(
|
|
17626
|
-
|
|
19841
|
+
function clsAppHost(actionOrTarget, optionsOrPropertyKey, descriptor) {
|
|
19842
|
+
if ((typeof optionsOrPropertyKey === "string" || typeof optionsOrPropertyKey === "symbol") && descriptor !== void 0) {
|
|
19843
|
+
return applyClass("$appHost", void 0, {})(actionOrTarget, optionsOrPropertyKey, descriptor);
|
|
19844
|
+
}
|
|
19845
|
+
return applyClass("$appHost", actionOrTarget, optionsOrPropertyKey);
|
|
17627
19846
|
}
|
|
17628
19847
|
function clsLight(selector, actionOrOptions, options) {
|
|
17629
19848
|
const action = typeof actionOrOptions === "string" ? actionOrOptions : void 0;
|
|
@@ -17655,8 +19874,8 @@ ${indentStr}}`;
|
|
|
17655
19874
|
var STYLE_METADATA_KEY = Symbol.for("simple-web-component:style");
|
|
17656
19875
|
var resolveSelector3 = (selector, inst, win) => {
|
|
17657
19876
|
if (typeof selector === "function") {
|
|
17658
|
-
const
|
|
17659
|
-
const result = selector(inst,
|
|
19877
|
+
const hostSet2 = SwcUtils.getHelperAndHostSet(win, inst);
|
|
19878
|
+
const result = selector(inst, hostSet2);
|
|
17660
19879
|
if (result instanceof win.Element) {
|
|
17661
19880
|
return [result];
|
|
17662
19881
|
}
|
|
@@ -17684,21 +19903,21 @@ ${indentStr}}`;
|
|
|
17684
19903
|
const stringSelector = resolved;
|
|
17685
19904
|
const targetEls = [];
|
|
17686
19905
|
const host = inst;
|
|
17687
|
-
const
|
|
19906
|
+
const hostSet2 = SwcUtils.getHelperAndHostSet(win, inst);
|
|
17688
19907
|
const applyRoot = (t) => {
|
|
17689
19908
|
if (!t || !(t instanceof win.HTMLElement)) return;
|
|
17690
19909
|
targetEls.push(t);
|
|
17691
19910
|
};
|
|
17692
19911
|
if (stringSelector === "$this" || !stringSelector) applyRoot(host);
|
|
17693
|
-
else if (stringSelector === "$host") applyRoot(
|
|
17694
|
-
else if (stringSelector === "$parentHost") applyRoot(
|
|
17695
|
-
else if (stringSelector === "$appHost") applyRoot(
|
|
17696
|
-
else if (stringSelector === "$firstHost") applyRoot(
|
|
17697
|
-
else if (stringSelector === "$lastHost") applyRoot(
|
|
17698
|
-
else if (stringSelector === "$firstAppHost") applyRoot(
|
|
17699
|
-
else if (stringSelector === "$lastAppHost") applyRoot(
|
|
17700
|
-
else if (stringSelector === "$hosts")
|
|
17701
|
-
else if (stringSelector === "$appHosts")
|
|
19912
|
+
else if (stringSelector === "$host") applyRoot(hostSet2.$host);
|
|
19913
|
+
else if (stringSelector === "$parentHost") applyRoot(hostSet2.$parentHost);
|
|
19914
|
+
else if (stringSelector === "$appHost") applyRoot(hostSet2.$appHost);
|
|
19915
|
+
else if (stringSelector === "$firstHost") applyRoot(hostSet2.$firstHost);
|
|
19916
|
+
else if (stringSelector === "$lastHost") applyRoot(hostSet2.$lastHost);
|
|
19917
|
+
else if (stringSelector === "$firstAppHost") applyRoot(hostSet2.$firstAppHost);
|
|
19918
|
+
else if (stringSelector === "$lastAppHost") applyRoot(hostSet2.$lastAppHost);
|
|
19919
|
+
else if (stringSelector === "$hosts") hostSet2.$hosts.forEach(applyRoot);
|
|
19920
|
+
else if (stringSelector === "$appHosts") hostSet2.$appHosts.forEach(applyRoot);
|
|
17702
19921
|
else {
|
|
17703
19922
|
const targetRoot = root === "auto" ? host.shadowRoot || host : root === "shadow" ? host.shadowRoot : host;
|
|
17704
19923
|
if (targetRoot) {
|
|
@@ -17733,19 +19952,19 @@ ${indentStr}}`;
|
|
|
17733
19952
|
if (resolvedValue !== void 0) {
|
|
17734
19953
|
const win = this.ownerDocument?.defaultView || window;
|
|
17735
19954
|
const host = this;
|
|
17736
|
-
const
|
|
19955
|
+
const hostSet2 = { ...SwcUtils.getHelperAndHostSet(win, host), $this: this };
|
|
17737
19956
|
const r = options.root || "auto";
|
|
17738
19957
|
const targetEls = getTargetElements2(selector, this, win, r);
|
|
17739
19958
|
targetEls.forEach((targetEl) => {
|
|
17740
|
-
if (options.filter && !options.filter(targetEl, resolvedValue, { currentThis: this, helper:
|
|
19959
|
+
if (options.filter && !options.filter(targetEl, resolvedValue, { currentThis: this, helper: hostSet2 })) {
|
|
17741
19960
|
return;
|
|
17742
19961
|
}
|
|
17743
|
-
const resolvedRes = typeof resolvedValue === "function" ? resolvedValue(targetEl,
|
|
19962
|
+
const resolvedRes = typeof resolvedValue === "function" ? resolvedValue(targetEl, hostSet2) : resolvedValue;
|
|
17744
19963
|
if (action === "set" || action === "update") {
|
|
17745
19964
|
if (action === "set") targetEl.style.cssText = "";
|
|
17746
19965
|
if (typeof resolvedRes === "object" && resolvedRes !== null && !Array.isArray(resolvedRes)) {
|
|
17747
19966
|
Object.entries(resolvedRes).forEach(([prop2, val]) => {
|
|
17748
|
-
const finalVal = typeof val === "function" ? val(targetEl,
|
|
19967
|
+
const finalVal = typeof val === "function" ? val(targetEl, hostSet2) : val;
|
|
17749
19968
|
if (finalVal === null || finalVal === void 0) {
|
|
17750
19969
|
targetEl.style.removeProperty(prop2);
|
|
17751
19970
|
} else {
|
|
@@ -17758,7 +19977,7 @@ ${indentStr}}`;
|
|
|
17758
19977
|
} else if (action === "remove") {
|
|
17759
19978
|
if (typeof resolvedRes === "object" && resolvedRes !== null && !Array.isArray(resolvedRes)) {
|
|
17760
19979
|
Object.entries(resolvedRes).forEach(([prop2, val]) => {
|
|
17761
|
-
const shouldRemove = typeof val === "function" ? val(targetEl,
|
|
19980
|
+
const shouldRemove = typeof val === "function" ? val(targetEl, hostSet2) : !!val;
|
|
17762
19981
|
if (shouldRemove) {
|
|
17763
19982
|
targetEl.style.removeProperty(prop2);
|
|
17764
19983
|
}
|
|
@@ -17823,11 +20042,17 @@ ${indentStr}}`;
|
|
|
17823
20042
|
return createStyleDecorator("remove")("$this", selectorOrTarget);
|
|
17824
20043
|
}
|
|
17825
20044
|
var style = applyStyle;
|
|
17826
|
-
function styleThis(
|
|
17827
|
-
|
|
20045
|
+
function styleThis(actionOrTarget, optionsOrPropertyKey, descriptor) {
|
|
20046
|
+
if ((typeof optionsOrPropertyKey === "string" || typeof optionsOrPropertyKey === "symbol") && descriptor !== void 0) {
|
|
20047
|
+
return applyStyle("$this", void 0, {})(actionOrTarget, optionsOrPropertyKey, descriptor);
|
|
20048
|
+
}
|
|
20049
|
+
return applyStyle("$this", actionOrTarget, optionsOrPropertyKey);
|
|
17828
20050
|
}
|
|
17829
|
-
function styleAppHost(
|
|
17830
|
-
|
|
20051
|
+
function styleAppHost(actionOrTarget, optionsOrPropertyKey, descriptor) {
|
|
20052
|
+
if ((typeof optionsOrPropertyKey === "string" || typeof optionsOrPropertyKey === "symbol") && descriptor !== void 0) {
|
|
20053
|
+
return applyStyle("$appHost", void 0, {})(actionOrTarget, optionsOrPropertyKey, descriptor);
|
|
20054
|
+
}
|
|
20055
|
+
return applyStyle("$appHost", actionOrTarget, optionsOrPropertyKey);
|
|
17831
20056
|
}
|
|
17832
20057
|
function styleLight(selector, actionOrOptions, options) {
|
|
17833
20058
|
const action = typeof actionOrOptions === "string" ? actionOrOptions : void 0;
|
|
@@ -17931,8 +20156,8 @@ ${indentStr}}`;
|
|
|
17931
20156
|
|
|
17932
20157
|
// src/decorators/applySlot.ts
|
|
17933
20158
|
var APPLY_SLOT_METADATA_KEY = Symbol.for("simple-web-component:apply-slot");
|
|
17934
|
-
var applyToDom2 = (swcId, id, pos, nodes) => {
|
|
17935
|
-
const nodeSlot = new NodeSlot(
|
|
20159
|
+
var applyToDom2 = (host, swcId, id, pos, nodes) => {
|
|
20160
|
+
const nodeSlot = new NodeSlot(host, swcId);
|
|
17936
20161
|
if (pos === "replaceChildrenText" || pos === "replaceChildren" || pos === "replaceChildrenHtml") {
|
|
17937
20162
|
nodeSlot.replaceChildren(id, ...nodes);
|
|
17938
20163
|
} else if (pos === "appendHtml" || pos === "append" || pos === "appendText") {
|
|
@@ -17956,11 +20181,12 @@ ${indentStr}}`;
|
|
|
17956
20181
|
const original = descriptor.value;
|
|
17957
20182
|
descriptor.value = function(...args) {
|
|
17958
20183
|
ensureInit(this);
|
|
20184
|
+
const host = this;
|
|
17959
20185
|
const conf = getElementConfig(this);
|
|
17960
20186
|
const currentWin = conf.window;
|
|
17961
20187
|
const swcId = this._swcId;
|
|
17962
20188
|
const currentDoc = currentWin.document;
|
|
17963
|
-
const
|
|
20189
|
+
const hostSet2 = SwcUtils.getHelperAndHostSet(currentWin, this);
|
|
17964
20190
|
const pos = options.position;
|
|
17965
20191
|
const resToNodes = (res2) => {
|
|
17966
20192
|
const nodes = [];
|
|
@@ -17978,10 +20204,10 @@ ${indentStr}}`;
|
|
|
17978
20204
|
};
|
|
17979
20205
|
const fallbackNodes = [];
|
|
17980
20206
|
if (options.fallback) {
|
|
17981
|
-
const res2 = options.fallback.call(this,
|
|
20207
|
+
const res2 = options.fallback.call(this, hostSet2);
|
|
17982
20208
|
const nodes = resToNodes(res2);
|
|
17983
20209
|
fallbackNodes.push(...nodes);
|
|
17984
|
-
applyToDom2(swcId, targetId, options.position, nodes);
|
|
20210
|
+
applyToDom2(host, swcId, targetId, options.position, nodes);
|
|
17985
20211
|
}
|
|
17986
20212
|
const extractValue = (v) => {
|
|
17987
20213
|
const keyToUse = options.valueKey ?? APPLY_SLOT_METADATA_KEY;
|
|
@@ -17996,12 +20222,12 @@ ${indentStr}}`;
|
|
|
17996
20222
|
const extracted = extractValue(asyncRes);
|
|
17997
20223
|
const nodes = resToNodes(extracted);
|
|
17998
20224
|
fallbackNodes.forEach((it) => it.remove());
|
|
17999
|
-
applyToDom2(swcId, targetId, options.position, nodes);
|
|
20225
|
+
applyToDom2(host, swcId, targetId, options.position, nodes);
|
|
18000
20226
|
});
|
|
18001
20227
|
} else {
|
|
18002
20228
|
const extracted = extractValue(res);
|
|
18003
20229
|
const nodes = resToNodes(extracted);
|
|
18004
|
-
applyToDom2(swcId, targetId, options.position, nodes);
|
|
20230
|
+
applyToDom2(host, swcId, targetId, options.position, nodes);
|
|
18005
20231
|
}
|
|
18006
20232
|
};
|
|
18007
20233
|
};
|
|
@@ -20839,7 +23065,6 @@ ${indentStr}}`;
|
|
|
20839
23065
|
try {
|
|
20840
23066
|
const routeChangeSubscribers = getSubscribeSwcAppRouteChangeWhileConnectedMetadata(instance);
|
|
20841
23067
|
if (routeChangeSubscribers.length > 0) {
|
|
20842
|
-
console.log("[SWC-MIXIN] Route change subscribers found");
|
|
20843
23068
|
for (const metadata of routeChangeSubscribers) {
|
|
20844
23069
|
const methodName = metadata.propertyKey;
|
|
20845
23070
|
let pathPattern = metadata.options?.path;
|
|
@@ -20872,10 +23097,19 @@ ${indentStr}}`;
|
|
|
20872
23097
|
pathData = SwcUtils.parsePathPattern(pathPattern, re.path || "/");
|
|
20873
23098
|
pathMatched = pathData !== null;
|
|
20874
23099
|
}
|
|
20875
|
-
const
|
|
20876
|
-
const filterPassed = !filter || filter(this.router, { helper:
|
|
23100
|
+
const hostSet2 = SwcUtils.getHelperAndHostSet(this.config.window, this);
|
|
23101
|
+
const filterPassed = !filter || filter(this.router, { helper: hostSet2, currentThis: instance });
|
|
20877
23102
|
if (pathMatched && filterPassed && instance[methodName]) {
|
|
20878
|
-
const
|
|
23103
|
+
const routeEventValue = { ...re, pathData };
|
|
23104
|
+
const instanceHelperHostSet = SwcUtils.getHelperAndHostSet(this.config.window, instance);
|
|
23105
|
+
const instanceHelperSet = SwcUtils.getHelperSet(this.config.window);
|
|
23106
|
+
const args = buildSwcParameterArgs(instance, methodName, {
|
|
23107
|
+
routerEvent: routeEventValue,
|
|
23108
|
+
hostSet: instanceHelperHostSet,
|
|
23109
|
+
helperHostSet: instanceHelperHostSet,
|
|
23110
|
+
helperSet: instanceHelperSet
|
|
23111
|
+
}, [routeEventValue]);
|
|
23112
|
+
const result = extractValue(await instance[methodName](...args));
|
|
20879
23113
|
if (result !== void 0 && result !== null) {
|
|
20880
23114
|
break;
|
|
20881
23115
|
}
|
|
@@ -21054,7 +23288,15 @@ ${indentStr}}`;
|
|
|
21054
23288
|
filterMatched = filter(message, instance);
|
|
21055
23289
|
}
|
|
21056
23290
|
if (typeMatched && filterMatched && typeof instance[methodName] === "function") {
|
|
21057
|
-
instance
|
|
23291
|
+
const instanceHelperHostSet = SwcUtils.getHelperAndHostSet(this.config.window, instance);
|
|
23292
|
+
const instanceHelperSet = SwcUtils.getHelperSet(this.config.window);
|
|
23293
|
+
const args = buildSwcParameterArgs(instance, methodName, {
|
|
23294
|
+
appMessage: message,
|
|
23295
|
+
hostSet: instanceHelperHostSet,
|
|
23296
|
+
helperHostSet: instanceHelperHostSet,
|
|
23297
|
+
helperSet: instanceHelperSet
|
|
23298
|
+
}, [message]);
|
|
23299
|
+
instance[methodName](...args);
|
|
21058
23300
|
}
|
|
21059
23301
|
});
|
|
21060
23302
|
}
|