@appsurify-testmap/rrweb-replay 2.0.0-alpha.32 → 2.0.0-alpha.40
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/dist/rrweb-replay.cjs +0 -78
- package/dist/rrweb-replay.cjs.map +1 -1
- package/dist/rrweb-replay.js +0 -78
- package/dist/rrweb-replay.js.map +1 -1
- package/dist/rrweb-replay.umd.cjs +0 -78
- package/dist/rrweb-replay.umd.cjs.map +2 -2
- package/dist/rrweb-replay.umd.min.cjs +24 -24
- package/dist/rrweb-replay.umd.min.cjs.map +3 -3
- package/package.json +3 -3
package/dist/rrweb-replay.cjs
CHANGED
|
@@ -117,30 +117,6 @@ const interactiveEvents$1 = [
|
|
|
117
117
|
"touchend",
|
|
118
118
|
"touchcancel"
|
|
119
119
|
];
|
|
120
|
-
const inlineEventAttributes$1 = [
|
|
121
|
-
"onclick",
|
|
122
|
-
"ondblclick",
|
|
123
|
-
"onmousedown",
|
|
124
|
-
"onmouseup",
|
|
125
|
-
"onmouseover",
|
|
126
|
-
"onmouseout",
|
|
127
|
-
"onmousemove",
|
|
128
|
-
"onfocus",
|
|
129
|
-
"onblur",
|
|
130
|
-
"onkeydown",
|
|
131
|
-
"onkeypress",
|
|
132
|
-
"onkeyup",
|
|
133
|
-
"onchange",
|
|
134
|
-
"oninput",
|
|
135
|
-
"onsubmit",
|
|
136
|
-
"onreset",
|
|
137
|
-
"onselect",
|
|
138
|
-
"oncontextmenu",
|
|
139
|
-
"ontouchstart",
|
|
140
|
-
"ontouchmove",
|
|
141
|
-
"ontouchend",
|
|
142
|
-
"ontouchcancel"
|
|
143
|
-
];
|
|
144
120
|
const interactiveElementsRegistry$1 = /* @__PURE__ */ new WeakSet();
|
|
145
121
|
const originalAddEventListener$1 = EventTarget.prototype.addEventListener;
|
|
146
122
|
EventTarget.prototype.addEventListener = function(type, listener, options) {
|
|
@@ -156,21 +132,6 @@ const originalRemoveEventListener$1 = EventTarget.prototype.removeEventListener;
|
|
|
156
132
|
EventTarget.prototype.removeEventListener = function(type, listener, options) {
|
|
157
133
|
originalRemoveEventListener$1.call(this, type, listener, options);
|
|
158
134
|
};
|
|
159
|
-
function inspectInlineEventHandlers$1() {
|
|
160
|
-
const allElements = document.querySelectorAll("*");
|
|
161
|
-
allElements.forEach((el) => {
|
|
162
|
-
inlineEventAttributes$1.forEach((attr) => {
|
|
163
|
-
if (el.hasAttribute(attr)) {
|
|
164
|
-
interactiveElementsRegistry$1.add(el);
|
|
165
|
-
}
|
|
166
|
-
});
|
|
167
|
-
});
|
|
168
|
-
}
|
|
169
|
-
if (document.readyState === "complete" || document.readyState === "interactive") {
|
|
170
|
-
inspectInlineEventHandlers$1();
|
|
171
|
-
} else {
|
|
172
|
-
document.addEventListener("DOMContentLoaded", inspectInlineEventHandlers$1);
|
|
173
|
-
}
|
|
174
135
|
const MEDIA_SELECTOR = /(max|min)-device-(width|height)/;
|
|
175
136
|
const MEDIA_SELECTOR_GLOBAL = new RegExp(MEDIA_SELECTOR.source, "g");
|
|
176
137
|
const mediaSelectorPlugin = {
|
|
@@ -4227,30 +4188,6 @@ const interactiveEvents = [
|
|
|
4227
4188
|
"touchend",
|
|
4228
4189
|
"touchcancel"
|
|
4229
4190
|
];
|
|
4230
|
-
const inlineEventAttributes = [
|
|
4231
|
-
"onclick",
|
|
4232
|
-
"ondblclick",
|
|
4233
|
-
"onmousedown",
|
|
4234
|
-
"onmouseup",
|
|
4235
|
-
"onmouseover",
|
|
4236
|
-
"onmouseout",
|
|
4237
|
-
"onmousemove",
|
|
4238
|
-
"onfocus",
|
|
4239
|
-
"onblur",
|
|
4240
|
-
"onkeydown",
|
|
4241
|
-
"onkeypress",
|
|
4242
|
-
"onkeyup",
|
|
4243
|
-
"onchange",
|
|
4244
|
-
"oninput",
|
|
4245
|
-
"onsubmit",
|
|
4246
|
-
"onreset",
|
|
4247
|
-
"onselect",
|
|
4248
|
-
"oncontextmenu",
|
|
4249
|
-
"ontouchstart",
|
|
4250
|
-
"ontouchmove",
|
|
4251
|
-
"ontouchend",
|
|
4252
|
-
"ontouchcancel"
|
|
4253
|
-
];
|
|
4254
4191
|
const interactiveElementsRegistry = /* @__PURE__ */ new WeakSet();
|
|
4255
4192
|
const originalAddEventListener = EventTarget.prototype.addEventListener;
|
|
4256
4193
|
EventTarget.prototype.addEventListener = function(type, listener, options) {
|
|
@@ -4266,21 +4203,6 @@ const originalRemoveEventListener = EventTarget.prototype.removeEventListener;
|
|
|
4266
4203
|
EventTarget.prototype.removeEventListener = function(type, listener, options) {
|
|
4267
4204
|
originalRemoveEventListener.call(this, type, listener, options);
|
|
4268
4205
|
};
|
|
4269
|
-
function inspectInlineEventHandlers() {
|
|
4270
|
-
const allElements = document.querySelectorAll("*");
|
|
4271
|
-
allElements.forEach((el) => {
|
|
4272
|
-
inlineEventAttributes.forEach((attr) => {
|
|
4273
|
-
if (el.hasAttribute(attr)) {
|
|
4274
|
-
interactiveElementsRegistry.add(el);
|
|
4275
|
-
}
|
|
4276
|
-
});
|
|
4277
|
-
});
|
|
4278
|
-
}
|
|
4279
|
-
if (document.readyState === "complete" || document.readyState === "interactive") {
|
|
4280
|
-
inspectInlineEventHandlers();
|
|
4281
|
-
} else {
|
|
4282
|
-
document.addEventListener("DOMContentLoaded", inspectInlineEventHandlers);
|
|
4283
|
-
}
|
|
4284
4206
|
function getDefaultExportFromCjs(x2) {
|
|
4285
4207
|
return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;
|
|
4286
4208
|
}
|