@vue/devtools-kit 7.0.25 → 7.0.26
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/index.cjs +10 -7
- package/dist/index.d.cts +322 -322
- package/dist/index.d.ts +322 -322
- package/dist/index.js +10 -7
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -27,9 +27,9 @@ var __toESM = (mod, isNodeMode, target10) => (target10 = mod != null ? __create(
|
|
|
27
27
|
mod
|
|
28
28
|
));
|
|
29
29
|
|
|
30
|
-
// ../../node_modules/.pnpm/tsup@8.0.2_postcss@8.4.38_typescript@5.4.
|
|
30
|
+
// ../../node_modules/.pnpm/tsup@8.0.2_postcss@8.4.38_typescript@5.4.4/node_modules/tsup/assets/esm_shims.js
|
|
31
31
|
var init_esm_shims = __esm({
|
|
32
|
-
"../../node_modules/.pnpm/tsup@8.0.2_postcss@8.4.38_typescript@5.4.
|
|
32
|
+
"../../node_modules/.pnpm/tsup@8.0.2_postcss@8.4.38_typescript@5.4.4/node_modules/tsup/assets/esm_shims.js"() {
|
|
33
33
|
"use strict";
|
|
34
34
|
}
|
|
35
35
|
});
|
|
@@ -2938,7 +2938,8 @@ function registerComponentDevToolsPlugin(app) {
|
|
|
2938
2938
|
component.__VUE_DEVTOOLS_NEXT_UID__ = id;
|
|
2939
2939
|
if (!(appRecord == null ? void 0 : appRecord.instanceMap.has(id))) {
|
|
2940
2940
|
appRecord == null ? void 0 : appRecord.instanceMap.set(id, component);
|
|
2941
|
-
devtoolsAppRecords.active.
|
|
2941
|
+
if (devtoolsAppRecords.active.id === (appRecord == null ? void 0 : appRecord.id))
|
|
2942
|
+
devtoolsAppRecords.active.instanceMap = appRecord.instanceMap;
|
|
2942
2943
|
}
|
|
2943
2944
|
}
|
|
2944
2945
|
if (!appRecord)
|
|
@@ -2964,7 +2965,8 @@ function registerComponentDevToolsPlugin(app) {
|
|
|
2964
2965
|
component.__VUE_DEVTOOLS_NEXT_UID__ = id;
|
|
2965
2966
|
if (!(appRecord == null ? void 0 : appRecord.instanceMap.has(id))) {
|
|
2966
2967
|
appRecord == null ? void 0 : appRecord.instanceMap.set(id, component);
|
|
2967
|
-
devtoolsAppRecords.active.
|
|
2968
|
+
if (devtoolsAppRecords.active.id === (appRecord == null ? void 0 : appRecord.id))
|
|
2969
|
+
devtoolsAppRecords.active.instanceMap = appRecord.instanceMap;
|
|
2968
2970
|
}
|
|
2969
2971
|
}
|
|
2970
2972
|
if (!appRecord)
|
|
@@ -2989,7 +2991,8 @@ function registerComponentDevToolsPlugin(app) {
|
|
|
2989
2991
|
instance: component
|
|
2990
2992
|
});
|
|
2991
2993
|
appRecord == null ? void 0 : appRecord.instanceMap.delete(id);
|
|
2992
|
-
devtoolsAppRecords.active.
|
|
2994
|
+
if (devtoolsAppRecords.active.id === (appRecord == null ? void 0 : appRecord.id))
|
|
2995
|
+
devtoolsAppRecords.active.instanceMap = appRecord.instanceMap;
|
|
2993
2996
|
debounceSendInspectorTree();
|
|
2994
2997
|
});
|
|
2995
2998
|
devtoolsContext.componentPluginHookBuffer = [
|
|
@@ -3232,7 +3235,7 @@ function inspectComponentHighLighter() {
|
|
|
3232
3235
|
e.preventDefault();
|
|
3233
3236
|
e.stopPropagation();
|
|
3234
3237
|
selectComponentFn(e, (id) => {
|
|
3235
|
-
window.removeEventListener("click", onSelect);
|
|
3238
|
+
window.removeEventListener("click", onSelect, true);
|
|
3236
3239
|
window.removeEventListener("mouseover", inspectFn);
|
|
3237
3240
|
const el = getContainerElement();
|
|
3238
3241
|
if (el)
|
|
@@ -3240,7 +3243,7 @@ function inspectComponentHighLighter() {
|
|
|
3240
3243
|
resolve(JSON.stringify({ id }));
|
|
3241
3244
|
});
|
|
3242
3245
|
}
|
|
3243
|
-
window.addEventListener("click", onSelect);
|
|
3246
|
+
window.addEventListener("click", onSelect, true);
|
|
3244
3247
|
});
|
|
3245
3248
|
}
|
|
3246
3249
|
function scrollToComponent(options) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/devtools-kit",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "7.0.
|
|
4
|
+
"version": "7.0.26",
|
|
5
5
|
"author": "webfansplz",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"exports": {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"mitt": "^3.0.1",
|
|
26
26
|
"perfect-debounce": "^1.0.0",
|
|
27
27
|
"speakingurl": "^14.0.1",
|
|
28
|
-
"@vue/devtools-shared": "^7.0.
|
|
28
|
+
"@vue/devtools-shared": "^7.0.26"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/speakingurl": "^13.0.6",
|