@vue/devtools 7.7.7 → 8.0.1

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 CHANGED
@@ -1,45 +1,39 @@
1
- "use strict";
1
+ //#region rolldown:runtime
2
+ var __create = Object.create;
2
3
  var __defProp = Object.defineProperty;
3
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
5
7
  var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
8
  var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
9
+ if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
10
+ key = keys[i];
11
+ if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
12
+ get: ((k) => from[k]).bind(null, key),
13
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
14
+ });
15
+ }
16
+ return to;
17
17
  };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
19
+ value: mod,
20
+ enumerable: true
21
+ }) : target, mod));
22
+
23
+ //#endregion
24
+ const __vue_devtools_electron = __toESM(require("@vue/devtools-electron"));
25
+ const __vue_devtools_kit = __toESM(require("@vue/devtools-kit"));
19
26
 
20
- // src/index.ts
21
- var index_exports = {};
22
- __export(index_exports, {
23
- addCustomCommand: () => import_devtools_kit.addCustomCommand,
24
- addCustomTab: () => import_devtools_kit.addCustomTab,
25
- devtools: () => devtools,
26
- onDevToolsClientConnected: () => import_devtools_kit.onDevToolsClientConnected,
27
- onDevToolsConnected: () => import_devtools_kit.onDevToolsConnected,
28
- removeCustomCommand: () => import_devtools_kit.removeCustomCommand
29
- });
30
- module.exports = __toCommonJS(index_exports);
31
- var import_devtools_electron = require("@vue/devtools-electron");
32
- var import_devtools_kit = require("@vue/devtools-kit");
33
- var devtools = {
34
- ...import_devtools_kit.devtools,
35
- connect: import_devtools_electron.connect
27
+ //#region src/index.ts
28
+ const devtools = {
29
+ ...__vue_devtools_kit.devtools,
30
+ connect: __vue_devtools_electron.connect
36
31
  };
37
- // Annotate the CommonJS export names for ESM import in node:
38
- 0 && (module.exports = {
39
- addCustomCommand,
40
- addCustomTab,
41
- devtools,
42
- onDevToolsClientConnected,
43
- onDevToolsConnected,
44
- removeCustomCommand
45
- });
32
+
33
+ //#endregion
34
+ exports.addCustomCommand = __vue_devtools_kit.addCustomCommand;
35
+ exports.addCustomTab = __vue_devtools_kit.addCustomTab;
36
+ exports.devtools = devtools;
37
+ exports.onDevToolsClientConnected = __vue_devtools_kit.onDevToolsClientConnected;
38
+ exports.onDevToolsConnected = __vue_devtools_kit.onDevToolsConnected;
39
+ exports.removeCustomCommand = __vue_devtools_kit.removeCustomCommand;