@vue/devtools-kit 7.4.5 → 7.5.0

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
@@ -33,9 +33,9 @@ var __toESM = (mod, isNodeMode, target22) => (target22 = mod != null ? __create(
33
33
  ));
34
34
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
35
35
 
36
- // ../../node_modules/.pnpm/tsup@8.2.4_@microsoft+api-extractor@7.43.0_@types+node@20.16.5__@swc+core@1.5.29_jiti@1.21.6__hrrjfaj2jdrhlrlzgjkczhq5ey/node_modules/tsup/assets/cjs_shims.js
36
+ // ../../node_modules/.pnpm/tsup@8.3.0_@microsoft+api-extractor@7.43.0_@types+node@20.16.11__@swc+core@1.5.29_jiti@2.0.0__khi6fwhekjxtif3xyxfitrs5gq/node_modules/tsup/assets/cjs_shims.js
37
37
  var init_cjs_shims = __esm({
38
- "../../node_modules/.pnpm/tsup@8.2.4_@microsoft+api-extractor@7.43.0_@types+node@20.16.5__@swc+core@1.5.29_jiti@1.21.6__hrrjfaj2jdrhlrlzgjkczhq5ey/node_modules/tsup/assets/cjs_shims.js"() {
38
+ "../../node_modules/.pnpm/tsup@8.3.0_@microsoft+api-extractor@7.43.0_@types+node@20.16.11__@swc+core@1.5.29_jiti@2.0.0__khi6fwhekjxtif3xyxfitrs5gq/node_modules/tsup/assets/cjs_shims.js"() {
39
39
  "use strict";
40
40
  }
41
41
  });
@@ -1660,14 +1660,15 @@ __export(src_exports, {
1660
1660
  toggleComponentInspectorEnabled: () => toggleComponentInspectorEnabled,
1661
1661
  toggleHighPerfMode: () => toggleHighPerfMode,
1662
1662
  updateDevToolsClientDetected: () => updateDevToolsClientDetected,
1663
- updateDevToolsState: () => updateDevToolsState
1663
+ updateDevToolsState: () => updateDevToolsState,
1664
+ updateTimelineLayersState: () => updateTimelineLayersState
1664
1665
  });
1665
1666
  module.exports = __toCommonJS(src_exports);
1666
1667
  init_cjs_shims();
1667
1668
 
1668
1669
  // src/core/index.ts
1669
1670
  init_cjs_shims();
1670
- var import_devtools_shared19 = require("@vue/devtools-shared");
1671
+ var import_devtools_shared21 = require("@vue/devtools-shared");
1671
1672
 
1672
1673
  // src/compat/index.ts
1673
1674
  init_cjs_shims();
@@ -1688,11 +1689,11 @@ function onLegacyDevToolsPluginApiAvailable(cb) {
1688
1689
 
1689
1690
  // src/ctx/index.ts
1690
1691
  init_cjs_shims();
1691
- var import_devtools_shared17 = require("@vue/devtools-shared");
1692
+ var import_devtools_shared19 = require("@vue/devtools-shared");
1692
1693
 
1693
1694
  // src/ctx/api.ts
1694
1695
  init_cjs_shims();
1695
- var import_devtools_shared15 = require("@vue/devtools-shared");
1696
+ var import_devtools_shared17 = require("@vue/devtools-shared");
1696
1697
 
1697
1698
  // src/core/component/state/editor.ts
1698
1699
  init_cjs_shims();
@@ -1721,7 +1722,12 @@ var Fragment = Symbol.for("v-fgt");
1721
1722
  init_cjs_shims();
1722
1723
  var import_devtools_shared2 = require("@vue/devtools-shared");
1723
1724
  function getComponentTypeName(options) {
1724
- return options.name || options._componentTag || options.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__ || options.__name;
1725
+ var _a25;
1726
+ const name = options.name || options._componentTag || options.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__ || options.__name;
1727
+ if (name === "index" && ((_a25 = options.__file) == null ? void 0 : _a25.endsWith("index.vue"))) {
1728
+ return "";
1729
+ }
1730
+ return name;
1725
1731
  }
1726
1732
  function getComponentFileName(options) {
1727
1733
  const file = options.__file;
@@ -2320,28 +2326,60 @@ function getComponentInspector() {
2320
2326
 
2321
2327
  // src/core/open-in-editor/index.ts
2322
2328
  init_cjs_shims();
2323
- var import_devtools_shared7 = require("@vue/devtools-shared");
2329
+ var import_devtools_shared8 = require("@vue/devtools-shared");
2324
2330
 
2325
2331
  // src/ctx/state.ts
2326
2332
  init_cjs_shims();
2327
- var import_devtools_shared6 = require("@vue/devtools-shared");
2333
+ var import_devtools_shared7 = require("@vue/devtools-shared");
2328
2334
  var import_perfect_debounce2 = require("perfect-debounce");
2329
2335
 
2336
+ // src/core/timeline/storage.ts
2337
+ init_cjs_shims();
2338
+ var import_devtools_shared4 = require("@vue/devtools-shared");
2339
+ var TIMELINE_LAYERS_STATE_STORAGE_ID = "__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS_STATE__";
2340
+ function addTimelineLayersStateToStorage(state) {
2341
+ if (!import_devtools_shared4.isBrowser) {
2342
+ return;
2343
+ }
2344
+ localStorage.setItem(TIMELINE_LAYERS_STATE_STORAGE_ID, JSON.stringify(state));
2345
+ }
2346
+ function getTimelineLayersStateFromStorage() {
2347
+ if (!import_devtools_shared4.isBrowser) {
2348
+ return {
2349
+ recordingState: false,
2350
+ mouseEventEnabled: false,
2351
+ keyboardEventEnabled: false,
2352
+ componentEventEnabled: false,
2353
+ performanceEventEnabled: false,
2354
+ selected: ""
2355
+ };
2356
+ }
2357
+ const state = localStorage.getItem(TIMELINE_LAYERS_STATE_STORAGE_ID);
2358
+ return state ? JSON.parse(state) : {
2359
+ recordingState: false,
2360
+ mouseEventEnabled: false,
2361
+ keyboardEventEnabled: false,
2362
+ componentEventEnabled: false,
2363
+ performanceEventEnabled: false,
2364
+ selected: ""
2365
+ };
2366
+ }
2367
+
2330
2368
  // src/ctx/hook.ts
2331
2369
  init_cjs_shims();
2332
2370
  var import_hookable = require("hookable");
2333
2371
 
2334
2372
  // src/ctx/inspector.ts
2335
2373
  init_cjs_shims();
2336
- var import_devtools_shared5 = require("@vue/devtools-shared");
2374
+ var import_devtools_shared6 = require("@vue/devtools-shared");
2337
2375
  var import_perfect_debounce = require("perfect-debounce");
2338
2376
 
2339
2377
  // src/ctx/timeline.ts
2340
2378
  init_cjs_shims();
2341
- var import_devtools_shared4 = require("@vue/devtools-shared");
2379
+ var import_devtools_shared5 = require("@vue/devtools-shared");
2342
2380
  var _a2, _b2;
2343
- (_b2 = (_a2 = import_devtools_shared4.target).__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS) != null ? _b2 : _a2.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS = [];
2344
- var devtoolsTimelineLayers = new Proxy(import_devtools_shared4.target.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS, {
2381
+ (_b2 = (_a2 = import_devtools_shared5.target).__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS) != null ? _b2 : _a2.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS = [];
2382
+ var devtoolsTimelineLayers = new Proxy(import_devtools_shared5.target.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS, {
2345
2383
  get(target22, prop, receiver) {
2346
2384
  return Reflect.get(target22, prop, receiver);
2347
2385
  }
@@ -2353,11 +2391,21 @@ function addTimelineLayer(options, descriptor) {
2353
2391
  appRecord: getAppRecord(descriptor.app)
2354
2392
  });
2355
2393
  }
2394
+ function updateTimelineLayersState(state) {
2395
+ const updatedState = {
2396
+ ...devtoolsState.timelineLayersState,
2397
+ ...state
2398
+ };
2399
+ addTimelineLayersStateToStorage(updatedState);
2400
+ updateDevToolsState({
2401
+ timelineLayersState: updatedState
2402
+ });
2403
+ }
2356
2404
 
2357
2405
  // src/ctx/inspector.ts
2358
2406
  var _a3, _b3;
2359
- (_b3 = (_a3 = import_devtools_shared5.target).__VUE_DEVTOOLS_KIT_INSPECTOR__) != null ? _b3 : _a3.__VUE_DEVTOOLS_KIT_INSPECTOR__ = [];
2360
- var devtoolsInspector = new Proxy(import_devtools_shared5.target.__VUE_DEVTOOLS_KIT_INSPECTOR__, {
2407
+ (_b3 = (_a3 = import_devtools_shared6.target).__VUE_DEVTOOLS_KIT_INSPECTOR__) != null ? _b3 : _a3.__VUE_DEVTOOLS_KIT_INSPECTOR__ = [];
2408
+ var devtoolsInspector = new Proxy(import_devtools_shared6.target.__VUE_DEVTOOLS_KIT_INSPECTOR__, {
2361
2409
  get(target22, prop, receiver) {
2362
2410
  return Reflect.get(target22, prop, receiver);
2363
2411
  }
@@ -2386,7 +2434,8 @@ function getActiveInspectors() {
2386
2434
  logo: descriptor.logo,
2387
2435
  icon: `custom-ic-baseline-${(_a25 = options == null ? void 0 : options.icon) == null ? void 0 : _a25.replace(/_/g, "-")}`,
2388
2436
  packageName: descriptor.packageName,
2389
- homepage: descriptor.homepage
2437
+ homepage: descriptor.homepage,
2438
+ pluginId: descriptor.id
2390
2439
  };
2391
2440
  });
2392
2441
  }
@@ -2563,15 +2612,15 @@ function createDevToolsCtxHooks() {
2563
2612
 
2564
2613
  // src/ctx/state.ts
2565
2614
  var _a4, _b4;
2566
- (_b4 = (_a4 = import_devtools_shared6.target).__VUE_DEVTOOLS_KIT_APP_RECORDS__) != null ? _b4 : _a4.__VUE_DEVTOOLS_KIT_APP_RECORDS__ = [];
2615
+ (_b4 = (_a4 = import_devtools_shared7.target).__VUE_DEVTOOLS_KIT_APP_RECORDS__) != null ? _b4 : _a4.__VUE_DEVTOOLS_KIT_APP_RECORDS__ = [];
2567
2616
  var _a5, _b5;
2568
- (_b5 = (_a5 = import_devtools_shared6.target).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__) != null ? _b5 : _a5.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__ = {};
2617
+ (_b5 = (_a5 = import_devtools_shared7.target).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__) != null ? _b5 : _a5.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__ = {};
2569
2618
  var _a6, _b6;
2570
- (_b6 = (_a6 = import_devtools_shared6.target).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__) != null ? _b6 : _a6.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__ = "";
2619
+ (_b6 = (_a6 = import_devtools_shared7.target).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__) != null ? _b6 : _a6.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__ = "";
2571
2620
  var _a7, _b7;
2572
- (_b7 = (_a7 = import_devtools_shared6.target).__VUE_DEVTOOLS_KIT_CUSTOM_TABS__) != null ? _b7 : _a7.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__ = [];
2621
+ (_b7 = (_a7 = import_devtools_shared7.target).__VUE_DEVTOOLS_KIT_CUSTOM_TABS__) != null ? _b7 : _a7.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__ = [];
2573
2622
  var _a8, _b8;
2574
- (_b8 = (_a8 = import_devtools_shared6.target).__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__) != null ? _b8 : _a8.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__ = [];
2623
+ (_b8 = (_a8 = import_devtools_shared7.target).__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__) != null ? _b8 : _a8.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__ = [];
2575
2624
  var STATE_KEY = "__VUE_DEVTOOLS_KIT_GLOBAL_STATE__";
2576
2625
  function initStateFactory() {
2577
2626
  return {
@@ -2583,96 +2632,98 @@ function initStateFactory() {
2583
2632
  tabs: [],
2584
2633
  commands: [],
2585
2634
  highPerfModeEnabled: true,
2586
- devtoolsClientDetected: {}
2635
+ devtoolsClientDetected: {},
2636
+ perfUniqueGroupId: 0,
2637
+ timelineLayersState: getTimelineLayersStateFromStorage()
2587
2638
  };
2588
2639
  }
2589
2640
  var _a9, _b9;
2590
- (_b9 = (_a9 = import_devtools_shared6.target)[STATE_KEY]) != null ? _b9 : _a9[STATE_KEY] = initStateFactory();
2641
+ (_b9 = (_a9 = import_devtools_shared7.target)[STATE_KEY]) != null ? _b9 : _a9[STATE_KEY] = initStateFactory();
2591
2642
  var callStateUpdatedHook = (0, import_perfect_debounce2.debounce)((state) => {
2592
2643
  devtoolsContext.hooks.callHook("devtoolsStateUpdated" /* DEVTOOLS_STATE_UPDATED */, { state });
2593
2644
  });
2594
2645
  var callConnectedUpdatedHook = (0, import_perfect_debounce2.debounce)((state, oldState) => {
2595
2646
  devtoolsContext.hooks.callHook("devtoolsConnectedUpdated" /* DEVTOOLS_CONNECTED_UPDATED */, { state, oldState });
2596
2647
  });
2597
- var devtoolsAppRecords = new Proxy(import_devtools_shared6.target.__VUE_DEVTOOLS_KIT_APP_RECORDS__, {
2648
+ var devtoolsAppRecords = new Proxy(import_devtools_shared7.target.__VUE_DEVTOOLS_KIT_APP_RECORDS__, {
2598
2649
  get(_target, prop, receiver) {
2599
2650
  if (prop === "value")
2600
- return import_devtools_shared6.target.__VUE_DEVTOOLS_KIT_APP_RECORDS__;
2601
- return import_devtools_shared6.target.__VUE_DEVTOOLS_KIT_APP_RECORDS__[prop];
2651
+ return import_devtools_shared7.target.__VUE_DEVTOOLS_KIT_APP_RECORDS__;
2652
+ return import_devtools_shared7.target.__VUE_DEVTOOLS_KIT_APP_RECORDS__[prop];
2602
2653
  }
2603
2654
  });
2604
2655
  var addDevToolsAppRecord = (app) => {
2605
- import_devtools_shared6.target.__VUE_DEVTOOLS_KIT_APP_RECORDS__ = [
2606
- ...import_devtools_shared6.target.__VUE_DEVTOOLS_KIT_APP_RECORDS__,
2656
+ import_devtools_shared7.target.__VUE_DEVTOOLS_KIT_APP_RECORDS__ = [
2657
+ ...import_devtools_shared7.target.__VUE_DEVTOOLS_KIT_APP_RECORDS__,
2607
2658
  app
2608
2659
  ];
2609
2660
  };
2610
2661
  var removeDevToolsAppRecord = (app) => {
2611
- import_devtools_shared6.target.__VUE_DEVTOOLS_KIT_APP_RECORDS__ = devtoolsAppRecords.value.filter((record) => record.app !== app);
2662
+ import_devtools_shared7.target.__VUE_DEVTOOLS_KIT_APP_RECORDS__ = devtoolsAppRecords.value.filter((record) => record.app !== app);
2612
2663
  };
2613
- var activeAppRecord = new Proxy(import_devtools_shared6.target.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__, {
2664
+ var activeAppRecord = new Proxy(import_devtools_shared7.target.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__, {
2614
2665
  get(_target, prop, receiver) {
2615
2666
  if (prop === "value")
2616
- return import_devtools_shared6.target.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__;
2667
+ return import_devtools_shared7.target.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__;
2617
2668
  else if (prop === "id")
2618
- return import_devtools_shared6.target.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__;
2619
- return import_devtools_shared6.target.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__[prop];
2669
+ return import_devtools_shared7.target.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__;
2670
+ return import_devtools_shared7.target.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__[prop];
2620
2671
  }
2621
2672
  });
2622
2673
  function updateAllStates() {
2623
2674
  callStateUpdatedHook({
2624
- ...import_devtools_shared6.target[STATE_KEY],
2675
+ ...import_devtools_shared7.target[STATE_KEY],
2625
2676
  appRecords: devtoolsAppRecords.value,
2626
2677
  activeAppRecordId: activeAppRecord.id,
2627
- tabs: import_devtools_shared6.target.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__,
2628
- commands: import_devtools_shared6.target.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__
2678
+ tabs: import_devtools_shared7.target.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__,
2679
+ commands: import_devtools_shared7.target.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__
2629
2680
  });
2630
2681
  }
2631
2682
  function setActiveAppRecord(app) {
2632
- import_devtools_shared6.target.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__ = app;
2683
+ import_devtools_shared7.target.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__ = app;
2633
2684
  updateAllStates();
2634
2685
  }
2635
2686
  function setActiveAppRecordId(id) {
2636
- import_devtools_shared6.target.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__ = id;
2687
+ import_devtools_shared7.target.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__ = id;
2637
2688
  updateAllStates();
2638
2689
  }
2639
- var devtoolsState = new Proxy(import_devtools_shared6.target[STATE_KEY], {
2690
+ var devtoolsState = new Proxy(import_devtools_shared7.target[STATE_KEY], {
2640
2691
  get(target22, property) {
2641
2692
  if (property === "appRecords") {
2642
2693
  return devtoolsAppRecords;
2643
2694
  } else if (property === "activeAppRecordId") {
2644
2695
  return activeAppRecord.id;
2645
2696
  } else if (property === "tabs") {
2646
- return import_devtools_shared6.target.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__;
2697
+ return import_devtools_shared7.target.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__;
2647
2698
  } else if (property === "commands") {
2648
- return import_devtools_shared6.target.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__;
2699
+ return import_devtools_shared7.target.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__;
2649
2700
  }
2650
- return import_devtools_shared6.target[STATE_KEY][property];
2701
+ return import_devtools_shared7.target[STATE_KEY][property];
2651
2702
  },
2652
2703
  deleteProperty(target22, property) {
2653
2704
  delete target22[property];
2654
2705
  return true;
2655
2706
  },
2656
2707
  set(target22, property, value) {
2657
- const oldState = { ...import_devtools_shared6.target[STATE_KEY] };
2708
+ const oldState = { ...import_devtools_shared7.target[STATE_KEY] };
2658
2709
  target22[property] = value;
2659
- import_devtools_shared6.target[STATE_KEY][property] = value;
2710
+ import_devtools_shared7.target[STATE_KEY][property] = value;
2660
2711
  return true;
2661
2712
  }
2662
2713
  });
2663
2714
  function resetDevToolsState() {
2664
- Object.assign(import_devtools_shared6.target[STATE_KEY], initStateFactory());
2715
+ Object.assign(import_devtools_shared7.target[STATE_KEY], initStateFactory());
2665
2716
  }
2666
2717
  function updateDevToolsState(state) {
2667
2718
  const oldState = {
2668
- ...import_devtools_shared6.target[STATE_KEY],
2719
+ ...import_devtools_shared7.target[STATE_KEY],
2669
2720
  appRecords: devtoolsAppRecords.value,
2670
2721
  activeAppRecordId: activeAppRecord.id
2671
2722
  };
2672
2723
  if (oldState.connected !== state.connected && state.connected || oldState.clientConnected !== state.clientConnected && state.clientConnected) {
2673
- callConnectedUpdatedHook(import_devtools_shared6.target[STATE_KEY], oldState);
2724
+ callConnectedUpdatedHook(import_devtools_shared7.target[STATE_KEY], oldState);
2674
2725
  }
2675
- Object.assign(import_devtools_shared6.target[STATE_KEY], state);
2726
+ Object.assign(import_devtools_shared7.target[STATE_KEY], state);
2676
2727
  updateAllStates();
2677
2728
  }
2678
2729
  function onDevToolsConnected(fn) {
@@ -2695,12 +2746,12 @@ var resolveIcon = (icon) => {
2695
2746
  if (icon.startsWith("baseline-")) {
2696
2747
  return `custom-ic-${icon}`;
2697
2748
  }
2698
- if (icon.startsWith("i-") || (0, import_devtools_shared6.isUrlString)(icon))
2749
+ if (icon.startsWith("i-") || (0, import_devtools_shared7.isUrlString)(icon))
2699
2750
  return icon;
2700
2751
  return `custom-ic-baseline-${icon}`;
2701
2752
  };
2702
2753
  function addCustomTab(tab) {
2703
- const tabs = import_devtools_shared6.target.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__;
2754
+ const tabs = import_devtools_shared7.target.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__;
2704
2755
  if (tabs.some((t) => t.name === tab.name))
2705
2756
  return;
2706
2757
  tabs.push({
@@ -2710,7 +2761,7 @@ function addCustomTab(tab) {
2710
2761
  updateAllStates();
2711
2762
  }
2712
2763
  function addCustomCommand(action) {
2713
- const commands = import_devtools_shared6.target.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__;
2764
+ const commands = import_devtools_shared7.target.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__;
2714
2765
  if (commands.some((t) => t.id === action.id))
2715
2766
  return;
2716
2767
  commands.push({
@@ -2724,7 +2775,7 @@ function addCustomCommand(action) {
2724
2775
  updateAllStates();
2725
2776
  }
2726
2777
  function removeCustomCommand(actionId) {
2727
- const commands = import_devtools_shared6.target.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__;
2778
+ const commands = import_devtools_shared7.target.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__;
2728
2779
  const index = commands.findIndex((t) => t.id === actionId);
2729
2780
  if (index === -1)
2730
2781
  return;
@@ -2737,7 +2788,7 @@ function toggleClientConnected(state) {
2737
2788
 
2738
2789
  // src/core/open-in-editor/index.ts
2739
2790
  function setOpenInEditorBaseUrl(url) {
2740
- import_devtools_shared7.target.__VUE_DEVTOOLS_OPEN_IN_EDITOR_BASE_URL__ = url;
2791
+ import_devtools_shared8.target.__VUE_DEVTOOLS_OPEN_IN_EDITOR_BASE_URL__ = url;
2741
2792
  }
2742
2793
  function openInEditor(options = {}) {
2743
2794
  var _a25, _b25, _c;
@@ -2753,15 +2804,15 @@ function openInEditor(options = {}) {
2753
2804
  }
2754
2805
  });
2755
2806
  } else if (devtoolsState.vitePluginDetected) {
2756
- const _baseUrl = (_c = import_devtools_shared7.target.__VUE_DEVTOOLS_OPEN_IN_EDITOR_BASE_URL__) != null ? _c : baseUrl;
2757
- import_devtools_shared7.target.__VUE_INSPECTOR__.openInEditor(_baseUrl, file, line, column);
2807
+ const _baseUrl = (_c = import_devtools_shared8.target.__VUE_DEVTOOLS_OPEN_IN_EDITOR_BASE_URL__) != null ? _c : baseUrl;
2808
+ import_devtools_shared8.target.__VUE_INSPECTOR__.openInEditor(_baseUrl, file, line, column);
2758
2809
  }
2759
2810
  }
2760
2811
  }
2761
2812
 
2762
2813
  // src/core/plugin/index.ts
2763
2814
  init_cjs_shims();
2764
- var import_devtools_shared12 = require("@vue/devtools-shared");
2815
+ var import_devtools_shared14 = require("@vue/devtools-shared");
2765
2816
 
2766
2817
  // src/api/index.ts
2767
2818
  init_cjs_shims();
@@ -2774,10 +2825,10 @@ init_cjs_shims();
2774
2825
 
2775
2826
  // src/ctx/plugin.ts
2776
2827
  init_cjs_shims();
2777
- var import_devtools_shared8 = require("@vue/devtools-shared");
2828
+ var import_devtools_shared9 = require("@vue/devtools-shared");
2778
2829
  var _a10, _b10;
2779
- (_b10 = (_a10 = import_devtools_shared8.target).__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__) != null ? _b10 : _a10.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__ = [];
2780
- var devtoolsPluginBuffer = new Proxy(import_devtools_shared8.target.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__, {
2830
+ (_b10 = (_a10 = import_devtools_shared9.target).__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__) != null ? _b10 : _a10.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__ = [];
2831
+ var devtoolsPluginBuffer = new Proxy(import_devtools_shared9.target.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__, {
2781
2832
  get(target22, prop, receiver) {
2782
2833
  return Reflect.get(target22, prop, receiver);
2783
2834
  }
@@ -2798,10 +2849,12 @@ function getPluginLocalKey(pluginId) {
2798
2849
  return `__VUE_DEVTOOLS_NEXT_PLUGIN_SETTINGS__${pluginId}__`;
2799
2850
  }
2800
2851
  function getPluginSettingsOptions(pluginId) {
2801
- var _a25, _b25, _c, _d;
2802
- const descriptor = (_a25 = getInspector(pluginId)) == null ? void 0 : _a25.descriptor;
2803
- const item = (_c = (_b25 = devtoolsPluginBuffer.find((item2) => item2[0].id === (descriptor == null ? void 0 : descriptor.id))) == null ? void 0 : _b25[0]) != null ? _c : null;
2804
- return (_d = item == null ? void 0 : item.settings) != null ? _d : null;
2852
+ var _a25, _b25, _c;
2853
+ const item = (_b25 = (_a25 = devtoolsPluginBuffer.find((item2) => {
2854
+ var _a26;
2855
+ return item2[0].id === pluginId && !!((_a26 = item2[0]) == null ? void 0 : _a26.settings);
2856
+ })) == null ? void 0 : _a25[0]) != null ? _b25 : null;
2857
+ return (_c = item == null ? void 0 : item.settings) != null ? _c : null;
2805
2858
  }
2806
2859
  function getPluginSettings(pluginId, fallbackValue) {
2807
2860
  var _a25, _b25, _c;
@@ -2847,7 +2900,7 @@ function setPluginSettings(pluginId, key, value) {
2847
2900
 
2848
2901
  // src/hook/index.ts
2849
2902
  init_cjs_shims();
2850
- var import_devtools_shared9 = require("@vue/devtools-shared");
2903
+ var import_devtools_shared10 = require("@vue/devtools-shared");
2851
2904
  var import_hookable2 = require("hookable");
2852
2905
 
2853
2906
  // src/types/index.ts
@@ -2882,7 +2935,7 @@ init_cjs_shims();
2882
2935
 
2883
2936
  // src/hook/index.ts
2884
2937
  var _a11, _b11;
2885
- var devtoolsHooks = (_b11 = (_a11 = import_devtools_shared9.target).__VUE_DEVTOOLS_HOOK) != null ? _b11 : _a11.__VUE_DEVTOOLS_HOOK = (0, import_hookable2.createHooks)();
2938
+ var devtoolsHooks = (_b11 = (_a11 = import_devtools_shared10.target).__VUE_DEVTOOLS_HOOK) != null ? _b11 : _a11.__VUE_DEVTOOLS_HOOK = (0, import_hookable2.createHooks)();
2886
2939
  var on = {
2887
2940
  vueAppInit(fn) {
2888
2941
  devtoolsHooks.hook("app:init" /* APP_INIT */, fn);
@@ -2896,6 +2949,9 @@ var on = {
2896
2949
  componentAdded(fn) {
2897
2950
  return devtoolsHooks.hook("component:added" /* COMPONENT_ADDED */, fn);
2898
2951
  },
2952
+ componentEmit(fn) {
2953
+ return devtoolsHooks.hook("component:emit" /* COMPONENT_EMIT */, fn);
2954
+ },
2899
2955
  componentUpdated(fn) {
2900
2956
  return devtoolsHooks.hook("component:updated" /* COMPONENT_UPDATED */, fn);
2901
2957
  },
@@ -2904,6 +2960,12 @@ var on = {
2904
2960
  },
2905
2961
  setupDevtoolsPlugin(fn) {
2906
2962
  devtoolsHooks.hook("devtools-plugin:setup" /* SETUP_DEVTOOLS_PLUGIN */, fn);
2963
+ },
2964
+ perfStart(fn) {
2965
+ return devtoolsHooks.hook("perf:start" /* PERFORMANCE_START */, fn);
2966
+ },
2967
+ perfEnd(fn) {
2968
+ return devtoolsHooks.hook("perf:end" /* PERFORMANCE_END */, fn);
2907
2969
  }
2908
2970
  };
2909
2971
  function createDevToolsHook() {
@@ -2944,7 +3006,7 @@ function createDevToolsHook() {
2944
3006
  };
2945
3007
  }
2946
3008
  function subscribeDevToolsHook() {
2947
- const hook2 = import_devtools_shared9.target.__VUE_DEVTOOLS_GLOBAL_HOOK__;
3009
+ const hook2 = import_devtools_shared10.target.__VUE_DEVTOOLS_GLOBAL_HOOK__;
2948
3010
  hook2.on("app:init" /* APP_INIT */, (app, version) => {
2949
3011
  var _a25, _b25, _c;
2950
3012
  if ((_c = (_b25 = (_a25 = app == null ? void 0 : app._instance) == null ? void 0 : _a25.type) == null ? void 0 : _b25.devtools) == null ? void 0 : _c.hide)
@@ -2972,6 +3034,21 @@ function subscribeDevToolsHook() {
2972
3034
  return;
2973
3035
  devtoolsHooks.callHook("component:removed" /* COMPONENT_REMOVED */, app, uid, parentUid, component);
2974
3036
  });
3037
+ hook2.on("component:emit" /* COMPONENT_EMIT */, async (app, instance, event, params) => {
3038
+ if (!app || !instance || devtoolsState.highPerfModeEnabled)
3039
+ return;
3040
+ devtoolsHooks.callHook("component:emit" /* COMPONENT_EMIT */, app, instance, event, params);
3041
+ });
3042
+ hook2.on("perf:start" /* PERFORMANCE_START */, (app, uid, vm, type, time) => {
3043
+ if (!app || devtoolsState.highPerfModeEnabled)
3044
+ return;
3045
+ devtoolsHooks.callHook("perf:start" /* PERFORMANCE_START */, app, uid, vm, type, time);
3046
+ });
3047
+ hook2.on("perf:end" /* PERFORMANCE_END */, (app, uid, vm, type, time) => {
3048
+ if (!app || devtoolsState.highPerfModeEnabled)
3049
+ return;
3050
+ devtoolsHooks.callHook("perf:end" /* PERFORMANCE_END */, app, uid, vm, type, time);
3051
+ });
2975
3052
  hook2.on("devtools-plugin:setup" /* SETUP_DEVTOOLS_PLUGIN */, (pluginDescriptor, setupFn, options) => {
2976
3053
  if ((options == null ? void 0 : options.target) === "legacy")
2977
3054
  return;
@@ -3073,8 +3150,7 @@ var DevToolsV6PluginAPI = class {
3073
3150
  }
3074
3151
  // settings
3075
3152
  getSettings(pluginId) {
3076
- const inspector = getActiveInspectors().find((i) => i.packageName === this.plugin.descriptor.packageName);
3077
- return getPluginSettings(pluginId != null ? pluginId : inspector == null ? void 0 : inspector.id, this.plugin.descriptor.settings);
3153
+ return getPluginSettings(pluginId != null ? pluginId : this.plugin.descriptor.id, this.plugin.descriptor.settings);
3078
3154
  }
3079
3155
  // utilities
3080
3156
  getComponentInstances(app) {
@@ -3107,7 +3183,7 @@ init_cjs_shims();
3107
3183
 
3108
3184
  // src/core/component/state/process.ts
3109
3185
  init_cjs_shims();
3110
- var import_devtools_shared10 = require("@vue/devtools-shared");
3186
+ var import_devtools_shared11 = require("@vue/devtools-shared");
3111
3187
 
3112
3188
  // src/core/component/state/constants.ts
3113
3189
  init_cjs_shims();
@@ -3317,7 +3393,7 @@ function processProps(instance) {
3317
3393
  const propDefinitions = instance.type.props;
3318
3394
  for (const key in instance.props) {
3319
3395
  const propDefinition = propDefinitions ? propDefinitions[key] : null;
3320
- const camelizeKey = (0, import_devtools_shared10.camelize)(key);
3396
+ const camelizeKey = (0, import_devtools_shared11.camelize)(key);
3321
3397
  props.push({
3322
3398
  type: "props",
3323
3399
  key: camelizeKey,
@@ -3524,7 +3600,7 @@ init_cjs_shims();
3524
3600
 
3525
3601
  // src/core/component/tree/filter.ts
3526
3602
  init_cjs_shims();
3527
- var import_devtools_shared11 = require("@vue/devtools-shared");
3603
+ var import_devtools_shared12 = require("@vue/devtools-shared");
3528
3604
  var ComponentFilter = class {
3529
3605
  constructor(filter) {
3530
3606
  this.filter = filter || "";
@@ -3537,7 +3613,7 @@ var ComponentFilter = class {
3537
3613
  */
3538
3614
  isQualified(instance) {
3539
3615
  const name = getInstanceName(instance);
3540
- return (0, import_devtools_shared11.classify)(name).toLowerCase().includes(this.filter) || (0, import_devtools_shared11.kebabize)(name).toLowerCase().includes(this.filter);
3616
+ return (0, import_devtools_shared12.classify)(name).toLowerCase().includes(this.filter) || (0, import_devtools_shared12.kebabize)(name).toLowerCase().includes(this.filter);
3541
3617
  }
3542
3618
  };
3543
3619
  function createComponentFilter(filterText) {
@@ -3736,6 +3812,205 @@ var ComponentWalker = class {
3736
3812
  }
3737
3813
  };
3738
3814
 
3815
+ // src/core/timeline/index.ts
3816
+ init_cjs_shims();
3817
+ var import_devtools_shared13 = require("@vue/devtools-shared");
3818
+
3819
+ // src/core/timeline/perf.ts
3820
+ init_cjs_shims();
3821
+ var markEndQueue = /* @__PURE__ */ new Map();
3822
+ var PERFORMANCE_EVENT_LAYER_ID = "performance";
3823
+ async function performanceMarkStart(api, app, uid, vm, type, time) {
3824
+ const appRecord = await getAppRecord(app);
3825
+ if (!appRecord) {
3826
+ return;
3827
+ }
3828
+ const componentName = getInstanceName(vm) || "Unknown Component";
3829
+ const groupId = devtoolsState.perfUniqueGroupId++;
3830
+ const groupKey = `${uid}-${type}`;
3831
+ appRecord.perfGroupIds.set(groupKey, { groupId, time });
3832
+ await api.addTimelineEvent({
3833
+ layerId: PERFORMANCE_EVENT_LAYER_ID,
3834
+ event: {
3835
+ time: Date.now(),
3836
+ data: {
3837
+ component: componentName,
3838
+ type,
3839
+ measure: "start"
3840
+ },
3841
+ title: componentName,
3842
+ subtitle: type,
3843
+ groupId
3844
+ }
3845
+ });
3846
+ if (markEndQueue.has(groupKey)) {
3847
+ const {
3848
+ app: app2,
3849
+ uid: uid2,
3850
+ instance,
3851
+ type: type2,
3852
+ time: time2
3853
+ } = markEndQueue.get(groupKey);
3854
+ markEndQueue.delete(groupKey);
3855
+ await performanceMarkEnd(
3856
+ api,
3857
+ app2,
3858
+ uid2,
3859
+ instance,
3860
+ type2,
3861
+ time2
3862
+ );
3863
+ }
3864
+ }
3865
+ function performanceMarkEnd(api, app, uid, vm, type, time) {
3866
+ const appRecord = getAppRecord(app);
3867
+ if (!appRecord)
3868
+ return;
3869
+ const componentName = getInstanceName(vm) || "Unknown Component";
3870
+ const groupKey = `${uid}-${type}`;
3871
+ const groupInfo = appRecord.perfGroupIds.get(groupKey);
3872
+ if (groupInfo) {
3873
+ const groupId = groupInfo.groupId;
3874
+ const startTime = groupInfo.time;
3875
+ const duration = time - startTime;
3876
+ api.addTimelineEvent({
3877
+ layerId: PERFORMANCE_EVENT_LAYER_ID,
3878
+ event: {
3879
+ time: Date.now(),
3880
+ data: {
3881
+ component: componentName,
3882
+ type,
3883
+ measure: "end",
3884
+ duration: {
3885
+ _custom: {
3886
+ type: "Duration",
3887
+ value: duration,
3888
+ display: `${duration} ms`
3889
+ }
3890
+ }
3891
+ },
3892
+ title: componentName,
3893
+ subtitle: type,
3894
+ groupId
3895
+ }
3896
+ });
3897
+ } else {
3898
+ markEndQueue.set(groupKey, { app, uid, instance: vm, type, time });
3899
+ }
3900
+ }
3901
+
3902
+ // src/core/timeline/index.ts
3903
+ var COMPONENT_EVENT_LAYER_ID = "component-event";
3904
+ function setupBuiltinTimelineLayers(api) {
3905
+ if (!import_devtools_shared13.isBrowser)
3906
+ return;
3907
+ api.addTimelineLayer({
3908
+ id: "mouse",
3909
+ label: "Mouse",
3910
+ color: 10768815
3911
+ });
3912
+ ["mousedown", "mouseup", "click", "dblclick"].forEach((eventType) => {
3913
+ if (!devtoolsState.timelineLayersState.recordingState || !devtoolsState.timelineLayersState.mouseEventEnabled)
3914
+ return;
3915
+ window.addEventListener(eventType, async (event) => {
3916
+ await api.addTimelineEvent({
3917
+ layerId: "mouse",
3918
+ event: {
3919
+ time: Date.now(),
3920
+ data: {
3921
+ type: eventType,
3922
+ x: event.clientX,
3923
+ y: event.clientY
3924
+ },
3925
+ title: eventType
3926
+ }
3927
+ });
3928
+ }, {
3929
+ capture: true,
3930
+ passive: true
3931
+ });
3932
+ });
3933
+ api.addTimelineLayer({
3934
+ id: "keyboard",
3935
+ label: "Keyboard",
3936
+ color: 8475055
3937
+ });
3938
+ ["keyup", "keydown", "keypress"].forEach((eventType) => {
3939
+ window.addEventListener(eventType, async (event) => {
3940
+ if (!devtoolsState.timelineLayersState.recordingState || !devtoolsState.timelineLayersState.keyboardEventEnabled)
3941
+ return;
3942
+ await api.addTimelineEvent({
3943
+ layerId: "keyboard",
3944
+ event: {
3945
+ time: Date.now(),
3946
+ data: {
3947
+ type: eventType,
3948
+ key: event.key,
3949
+ ctrlKey: event.ctrlKey,
3950
+ shiftKey: event.shiftKey,
3951
+ altKey: event.altKey,
3952
+ metaKey: event.metaKey
3953
+ },
3954
+ title: event.key
3955
+ }
3956
+ });
3957
+ }, {
3958
+ capture: true,
3959
+ passive: true
3960
+ });
3961
+ });
3962
+ api.addTimelineLayer({
3963
+ id: COMPONENT_EVENT_LAYER_ID,
3964
+ label: "Component events",
3965
+ color: 5226637
3966
+ });
3967
+ hook.on.componentEmit(async (app, instance, event, params) => {
3968
+ if (!devtoolsState.timelineLayersState.recordingState || !devtoolsState.timelineLayersState.componentEventEnabled)
3969
+ return;
3970
+ const appRecord = await getAppRecord(app);
3971
+ if (!appRecord)
3972
+ return;
3973
+ const componentId = `${appRecord.id}:${instance.uid}`;
3974
+ const componentName = getInstanceName(instance) || "Unknown Component";
3975
+ api.addTimelineEvent({
3976
+ layerId: COMPONENT_EVENT_LAYER_ID,
3977
+ event: {
3978
+ time: Date.now(),
3979
+ data: {
3980
+ component: {
3981
+ _custom: {
3982
+ type: "component-definition",
3983
+ display: componentName
3984
+ }
3985
+ },
3986
+ event,
3987
+ params
3988
+ },
3989
+ title: event,
3990
+ subtitle: `by ${componentName}`,
3991
+ meta: {
3992
+ componentId
3993
+ }
3994
+ }
3995
+ });
3996
+ });
3997
+ api.addTimelineLayer({
3998
+ id: "performance",
3999
+ label: PERFORMANCE_EVENT_LAYER_ID,
4000
+ color: 4307050
4001
+ });
4002
+ hook.on.perfStart((app, uid, vm, type, time) => {
4003
+ if (!devtoolsState.timelineLayersState.recordingState || !devtoolsState.timelineLayersState.performanceEventEnabled)
4004
+ return;
4005
+ performanceMarkStart(api, app, uid, vm, type, time);
4006
+ });
4007
+ hook.on.perfEnd((app, uid, vm, type, time) => {
4008
+ if (!devtoolsState.timelineLayersState.recordingState || !devtoolsState.timelineLayersState.performanceEventEnabled)
4009
+ return;
4010
+ performanceMarkEnd(api, app, uid, vm, type, time);
4011
+ });
4012
+ }
4013
+
3739
4014
  // src/core/vm/index.ts
3740
4015
  init_cjs_shims();
3741
4016
  var MAX_$VM = 10;
@@ -3772,6 +4047,7 @@ function createComponentsDevToolsPlugin(app) {
3772
4047
  label: "Components",
3773
4048
  treeFilterPlaceholder: "Search components"
3774
4049
  });
4050
+ setupBuiltinTimelineLayers(api);
3775
4051
  api.on.getInspectorTree(async (payload) => {
3776
4052
  if (payload.app === app && payload.inspectorId === INSPECTOR_ID) {
3777
4053
  const instance = getComponentInstance(activeAppRecord.value, payload.instanceId);
@@ -3900,7 +4176,7 @@ function createComponentsDevToolsPlugin(app) {
3900
4176
 
3901
4177
  // src/core/plugin/index.ts
3902
4178
  var _a12, _b12;
3903
- (_b12 = (_a12 = import_devtools_shared12.target).__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__) != null ? _b12 : _a12.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__ = /* @__PURE__ */ new Set();
4179
+ (_b12 = (_a12 = import_devtools_shared14.target).__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__) != null ? _b12 : _a12.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__ = /* @__PURE__ */ new Set();
3904
4180
  function setupDevToolsPlugin(pluginDescriptor, setupFn) {
3905
4181
  return hook.setupDevToolsPlugin(pluginDescriptor, setupFn);
3906
4182
  }
@@ -3921,21 +4197,14 @@ function callDevToolsPluginSetupFn(plugin, app) {
3921
4197
  });
3922
4198
  }
3923
4199
  setupFn(api);
3924
- if (pluginDescriptor.settings) {
3925
- const inspector = devtoolsInspector.find((inspector2) => inspector2.descriptor.id === pluginDescriptor.id);
3926
- if (inspector) {
3927
- inspector.descriptor.settings = pluginDescriptor.settings;
3928
- initPluginSettings(inspector.options.id, pluginDescriptor.settings);
3929
- }
3930
- }
3931
4200
  }
3932
4201
  function removeRegisteredPluginApp(app) {
3933
- import_devtools_shared12.target.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.delete(app);
4202
+ import_devtools_shared14.target.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.delete(app);
3934
4203
  }
3935
4204
  function registerDevToolsPlugin(app) {
3936
- if (import_devtools_shared12.target.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.has(app))
4205
+ if (import_devtools_shared14.target.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.has(app))
3937
4206
  return;
3938
- import_devtools_shared12.target.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.add(app);
4207
+ import_devtools_shared14.target.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.add(app);
3939
4208
  devtoolsPluginBuffer.forEach((plugin) => {
3940
4209
  callDevToolsPluginSetupFn(plugin, app);
3941
4210
  });
@@ -3943,30 +4212,30 @@ function registerDevToolsPlugin(app) {
3943
4212
 
3944
4213
  // src/core/router/index.ts
3945
4214
  init_cjs_shims();
3946
- var import_devtools_shared14 = require("@vue/devtools-shared");
4215
+ var import_devtools_shared16 = require("@vue/devtools-shared");
3947
4216
  var import_perfect_debounce4 = require("perfect-debounce");
3948
4217
 
3949
4218
  // src/ctx/router.ts
3950
4219
  init_cjs_shims();
3951
- var import_devtools_shared13 = require("@vue/devtools-shared");
4220
+ var import_devtools_shared15 = require("@vue/devtools-shared");
3952
4221
  var ROUTER_KEY = "__VUE_DEVTOOLS_ROUTER__";
3953
4222
  var ROUTER_INFO_KEY = "__VUE_DEVTOOLS_ROUTER_INFO__";
3954
4223
  var _a13, _b13;
3955
- (_b13 = (_a13 = import_devtools_shared13.target)[ROUTER_INFO_KEY]) != null ? _b13 : _a13[ROUTER_INFO_KEY] = {
4224
+ (_b13 = (_a13 = import_devtools_shared15.target)[ROUTER_INFO_KEY]) != null ? _b13 : _a13[ROUTER_INFO_KEY] = {
3956
4225
  currentRoute: null,
3957
4226
  routes: []
3958
4227
  };
3959
4228
  var _a14, _b14;
3960
- (_b14 = (_a14 = import_devtools_shared13.target)[ROUTER_KEY]) != null ? _b14 : _a14[ROUTER_KEY] = {};
3961
- var devtoolsRouterInfo = new Proxy(import_devtools_shared13.target[ROUTER_INFO_KEY], {
4229
+ (_b14 = (_a14 = import_devtools_shared15.target)[ROUTER_KEY]) != null ? _b14 : _a14[ROUTER_KEY] = {};
4230
+ var devtoolsRouterInfo = new Proxy(import_devtools_shared15.target[ROUTER_INFO_KEY], {
3962
4231
  get(target22, property) {
3963
- return import_devtools_shared13.target[ROUTER_INFO_KEY][property];
4232
+ return import_devtools_shared15.target[ROUTER_INFO_KEY][property];
3964
4233
  }
3965
4234
  });
3966
- var devtoolsRouter = new Proxy(import_devtools_shared13.target[ROUTER_KEY], {
4235
+ var devtoolsRouter = new Proxy(import_devtools_shared15.target[ROUTER_KEY], {
3967
4236
  get(target22, property) {
3968
4237
  if (property === "value") {
3969
- return import_devtools_shared13.target[ROUTER_KEY];
4238
+ return import_devtools_shared15.target[ROUTER_KEY];
3970
4239
  }
3971
4240
  }
3972
4241
  });
@@ -4014,11 +4283,11 @@ function normalizeRouterInfo(appRecord, activeAppRecord2) {
4014
4283
  const c = console.warn;
4015
4284
  console.warn = () => {
4016
4285
  };
4017
- import_devtools_shared14.target[ROUTER_INFO_KEY] = {
4018
- currentRoute: currentRoute ? (0, import_devtools_shared14.deepClone)(currentRoute) : {},
4019
- routes: (0, import_devtools_shared14.deepClone)(routes)
4286
+ import_devtools_shared16.target[ROUTER_INFO_KEY] = {
4287
+ currentRoute: currentRoute ? (0, import_devtools_shared16.deepClone)(currentRoute) : {},
4288
+ routes: (0, import_devtools_shared16.deepClone)(routes)
4020
4289
  };
4021
- import_devtools_shared14.target[ROUTER_KEY] = router;
4290
+ import_devtools_shared16.target[ROUTER_KEY] = router;
4022
4291
  console.warn = c;
4023
4292
  }
4024
4293
  init();
@@ -4027,7 +4296,7 @@ function normalizeRouterInfo(appRecord, activeAppRecord2) {
4027
4296
  if (((_a25 = activeAppRecord2.value) == null ? void 0 : _a25.app) !== appRecord.app)
4028
4297
  return;
4029
4298
  init();
4030
- devtoolsContext.hooks.callHook("routerInfoUpdated" /* ROUTER_INFO_UPDATED */, { state: import_devtools_shared14.target[ROUTER_INFO_KEY] });
4299
+ devtoolsContext.hooks.callHook("routerInfoUpdated" /* ROUTER_INFO_UPDATED */, { state: import_devtools_shared16.target[ROUTER_INFO_KEY] });
4031
4300
  }, 200));
4032
4301
  }
4033
4302
 
@@ -4128,7 +4397,7 @@ function createDevToolsApi(hooks2) {
4128
4397
  if (instance) {
4129
4398
  const [el] = getRootElementsFromComponentInstance(instance);
4130
4399
  if (el) {
4131
- import_devtools_shared15.target.__VUE_DEVTOOLS_INSPECT_DOM_TARGET__ = el;
4400
+ import_devtools_shared17.target.__VUE_DEVTOOLS_INSPECT_DOM_TARGET__ = el;
4132
4401
  }
4133
4402
  }
4134
4403
  },
@@ -4146,17 +4415,17 @@ function createDevToolsApi(hooks2) {
4146
4415
 
4147
4416
  // src/ctx/env.ts
4148
4417
  init_cjs_shims();
4149
- var import_devtools_shared16 = require("@vue/devtools-shared");
4418
+ var import_devtools_shared18 = require("@vue/devtools-shared");
4150
4419
  var _a15, _b15;
4151
- (_b15 = (_a15 = import_devtools_shared16.target).__VUE_DEVTOOLS_ENV__) != null ? _b15 : _a15.__VUE_DEVTOOLS_ENV__ = {
4420
+ (_b15 = (_a15 = import_devtools_shared18.target).__VUE_DEVTOOLS_ENV__) != null ? _b15 : _a15.__VUE_DEVTOOLS_ENV__ = {
4152
4421
  vitePluginDetected: false
4153
4422
  };
4154
4423
  function getDevToolsEnv() {
4155
- return import_devtools_shared16.target.__VUE_DEVTOOLS_ENV__;
4424
+ return import_devtools_shared18.target.__VUE_DEVTOOLS_ENV__;
4156
4425
  }
4157
4426
  function setDevToolsEnv(env) {
4158
- import_devtools_shared16.target.__VUE_DEVTOOLS_ENV__ = {
4159
- ...import_devtools_shared16.target.__VUE_DEVTOOLS_ENV__,
4427
+ import_devtools_shared18.target.__VUE_DEVTOOLS_ENV__ = {
4428
+ ...import_devtools_shared18.target.__VUE_DEVTOOLS_ENV__,
4160
4429
  ...env
4161
4430
  };
4162
4431
  }
@@ -4164,7 +4433,7 @@ function setDevToolsEnv(env) {
4164
4433
  // src/ctx/index.ts
4165
4434
  var hooks = createDevToolsCtxHooks();
4166
4435
  var _a16, _b16;
4167
- (_b16 = (_a16 = import_devtools_shared17.target).__VUE_DEVTOOLS_KIT_CONTEXT__) != null ? _b16 : _a16.__VUE_DEVTOOLS_KIT_CONTEXT__ = {
4436
+ (_b16 = (_a16 = import_devtools_shared19.target).__VUE_DEVTOOLS_KIT_CONTEXT__) != null ? _b16 : _a16.__VUE_DEVTOOLS_KIT_CONTEXT__ = {
4168
4437
  hooks,
4169
4438
  get state() {
4170
4439
  return {
@@ -4176,14 +4445,14 @@ var _a16, _b16;
4176
4445
  },
4177
4446
  api: createDevToolsApi(hooks)
4178
4447
  };
4179
- var devtoolsContext = import_devtools_shared17.target.__VUE_DEVTOOLS_KIT_CONTEXT__;
4448
+ var devtoolsContext = import_devtools_shared19.target.__VUE_DEVTOOLS_KIT_CONTEXT__;
4180
4449
 
4181
4450
  // src/core/app/index.ts
4182
4451
  init_cjs_shims();
4183
- var import_devtools_shared18 = require("@vue/devtools-shared");
4452
+ var import_devtools_shared20 = require("@vue/devtools-shared");
4184
4453
  var import_speakingurl = __toESM(require_speakingurl2(), 1);
4185
4454
  var _a17, _b17;
4186
- var appRecordInfo = (_b17 = (_a17 = import_devtools_shared18.target).__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__) != null ? _b17 : _a17.__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__ = {
4455
+ var appRecordInfo = (_b17 = (_a17 = import_devtools_shared20.target).__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__) != null ? _b17 : _a17.__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__ = {
4187
4456
  id: 0,
4188
4457
  appIds: /* @__PURE__ */ new Set()
4189
4458
  };
@@ -4229,6 +4498,7 @@ function createAppRecord(app) {
4229
4498
  id,
4230
4499
  name,
4231
4500
  instanceMap: /* @__PURE__ */ new Map(),
4501
+ perfGroupIds: /* @__PURE__ */ new Map(),
4232
4502
  rootInstance
4233
4503
  };
4234
4504
  app.__VUE_DEVTOOLS_NEXT_APP_RECORD__ = record;
@@ -4247,17 +4517,17 @@ function initDevTools() {
4247
4517
  updateDevToolsState({
4248
4518
  vitePluginDetected: getDevToolsEnv().vitePluginDetected
4249
4519
  });
4250
- const isDevToolsNext = ((_a25 = import_devtools_shared19.target.__VUE_DEVTOOLS_GLOBAL_HOOK__) == null ? void 0 : _a25.id) === "vue-devtools-next";
4251
- if (import_devtools_shared19.target.__VUE_DEVTOOLS_GLOBAL_HOOK__ && isDevToolsNext)
4520
+ const isDevToolsNext = ((_a25 = import_devtools_shared21.target.__VUE_DEVTOOLS_GLOBAL_HOOK__) == null ? void 0 : _a25.id) === "vue-devtools-next";
4521
+ if (import_devtools_shared21.target.__VUE_DEVTOOLS_GLOBAL_HOOK__ && isDevToolsNext)
4252
4522
  return;
4253
- if (!import_devtools_shared19.target.__VUE_DEVTOOLS_GLOBAL_HOOK__) {
4254
- import_devtools_shared19.target.__VUE_DEVTOOLS_GLOBAL_HOOK__ = createDevToolsHook();
4523
+ if (!import_devtools_shared21.target.__VUE_DEVTOOLS_GLOBAL_HOOK__) {
4524
+ import_devtools_shared21.target.__VUE_DEVTOOLS_GLOBAL_HOOK__ = createDevToolsHook();
4255
4525
  } else {
4256
- if (!import_devtools_shared19.isNuxtApp) {
4526
+ if (!import_devtools_shared21.isNuxtApp) {
4257
4527
  Object.assign(__VUE_DEVTOOLS_GLOBAL_HOOK__, createDevToolsHook());
4258
4528
  }
4259
4529
  }
4260
- import_devtools_shared19.target.__VUE_DEVTOOLS_GLOBAL_HOOK__.once("init", (Vue) => {
4530
+ import_devtools_shared21.target.__VUE_DEVTOOLS_GLOBAL_HOOK__.once("init", (Vue) => {
4261
4531
  console.log("%c[_____Vue DevTools v7 log_____]", "color: red; font-bold: 700; font-size: 20px;");
4262
4532
  console.log("%cVue DevTools v7 detected in your Vue2 project. v7 only supports Vue3 and will not work.", "font-bold: 700; font-size: 16px;");
4263
4533
  const url = "https://chromewebstore.google.com/detail/vuejs-devtools/iaajmlceplecbljialhhkmedjlpdblhp";
@@ -4269,6 +4539,9 @@ function initDevTools() {
4269
4539
  var _a26;
4270
4540
  addDevToolsPluginToBuffer(pluginDescriptor, setupFn);
4271
4541
  const { app } = (_a26 = activeAppRecord) != null ? _a26 : {};
4542
+ if (pluginDescriptor.settings) {
4543
+ initPluginSettings(pluginDescriptor.id, pluginDescriptor.settings);
4544
+ }
4272
4545
  if (!app)
4273
4546
  return;
4274
4547
  callDevToolsPluginSetupFn([pluginDescriptor, setupFn], app);
@@ -4276,7 +4549,7 @@ function initDevTools() {
4276
4549
  onLegacyDevToolsPluginApiAvailable(() => {
4277
4550
  const normalizedPluginBuffer = devtoolsPluginBuffer.filter(([item]) => item.id !== "components");
4278
4551
  normalizedPluginBuffer.forEach(([pluginDescriptor, setupFn]) => {
4279
- import_devtools_shared19.target.__VUE_DEVTOOLS_GLOBAL_HOOK__.emit("devtools-plugin:setup" /* SETUP_DEVTOOLS_PLUGIN */, pluginDescriptor, setupFn, { target: "legacy" });
4552
+ import_devtools_shared21.target.__VUE_DEVTOOLS_GLOBAL_HOOK__.emit("devtools-plugin:setup" /* SETUP_DEVTOOLS_PLUGIN */, pluginDescriptor, setupFn, { target: "legacy" });
4280
4553
  });
4281
4554
  });
4282
4555
  hook.on.vueAppInit(async (app, version) => {
@@ -4297,7 +4570,7 @@ function initDevTools() {
4297
4570
  updateDevToolsState({
4298
4571
  connected: true
4299
4572
  });
4300
- import_devtools_shared19.target.__VUE_DEVTOOLS_GLOBAL_HOOK__.apps.push(app);
4573
+ import_devtools_shared21.target.__VUE_DEVTOOLS_GLOBAL_HOOK__.apps.push(app);
4301
4574
  });
4302
4575
  hook.on.vueAppUnmount(async (app) => {
4303
4576
  const activeRecords = devtoolsAppRecords.value.filter((appRecord) => appRecord.app !== app);
@@ -4312,7 +4585,7 @@ function initDevTools() {
4312
4585
  setActiveAppRecord(activeRecords[0]);
4313
4586
  devtoolsContext.hooks.callHook("sendActiveAppUpdatedToClient" /* SEND_ACTIVE_APP_UNMOUNTED_TO_CLIENT */);
4314
4587
  }
4315
- import_devtools_shared19.target.__VUE_DEVTOOLS_GLOBAL_HOOK__.apps.splice(import_devtools_shared19.target.__VUE_DEVTOOLS_GLOBAL_HOOK__.apps.indexOf(app), 1);
4588
+ import_devtools_shared21.target.__VUE_DEVTOOLS_GLOBAL_HOOK__.apps.splice(import_devtools_shared21.target.__VUE_DEVTOOLS_GLOBAL_HOOK__.apps.indexOf(app), 1);
4316
4589
  removeRegisteredPluginApp(app);
4317
4590
  });
4318
4591
  subscribeDevToolsHook();
@@ -4344,7 +4617,7 @@ init_cjs_shims();
4344
4617
 
4345
4618
  // src/core/component/state/reviver.ts
4346
4619
  init_cjs_shims();
4347
- var import_devtools_shared20 = require("@vue/devtools-shared");
4620
+ var import_devtools_shared22 = require("@vue/devtools-shared");
4348
4621
  function reviveSet(val) {
4349
4622
  const result = /* @__PURE__ */ new Set();
4350
4623
  const list = val._custom.value;
@@ -4389,7 +4662,7 @@ function revive(val) {
4389
4662
  return Symbol.for(string);
4390
4663
  } else if (specialTypeRE.test(val)) {
4391
4664
  const [, type, string, , details] = specialTypeRE.exec(val);
4392
- const result = new import_devtools_shared20.target[type](string);
4665
+ const result = new import_devtools_shared22.target[type](string);
4393
4666
  if (type === "Error" && details)
4394
4667
  result.stack = details;
4395
4668
  return result;
@@ -4497,7 +4770,7 @@ function toSubmit(value, customType) {
4497
4770
 
4498
4771
  // src/core/devtools-client/detected.ts
4499
4772
  init_cjs_shims();
4500
- var import_devtools_shared21 = require("@vue/devtools-shared");
4773
+ var import_devtools_shared23 = require("@vue/devtools-shared");
4501
4774
  function updateDevToolsClientDetected(params) {
4502
4775
  devtoolsState.devtoolsClientDetected = {
4503
4776
  ...devtoolsState.devtoolsClientDetected,
@@ -4507,11 +4780,11 @@ function updateDevToolsClientDetected(params) {
4507
4780
  toggleHighPerfMode(!devtoolsClientVisible);
4508
4781
  }
4509
4782
  var _a18, _b18;
4510
- (_b18 = (_a18 = import_devtools_shared21.target).__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__) != null ? _b18 : _a18.__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__ = updateDevToolsClientDetected;
4783
+ (_b18 = (_a18 = import_devtools_shared23.target).__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__) != null ? _b18 : _a18.__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__ = updateDevToolsClientDetected;
4511
4784
 
4512
4785
  // src/messaging/index.ts
4513
4786
  init_cjs_shims();
4514
- var import_devtools_shared29 = require("@vue/devtools-shared");
4787
+ var import_devtools_shared31 = require("@vue/devtools-shared");
4515
4788
  var import_birpc = require("birpc");
4516
4789
 
4517
4790
  // src/messaging/presets/index.ts
@@ -5362,7 +5635,7 @@ init_cjs_shims();
5362
5635
 
5363
5636
  // src/messaging/presets/electron/context.ts
5364
5637
  init_cjs_shims();
5365
- var import_devtools_shared22 = require("@vue/devtools-shared");
5638
+ var import_devtools_shared24 = require("@vue/devtools-shared");
5366
5639
  var __ELECTRON_CLIENT_CONTEXT__ = "electron:client-context";
5367
5640
  var __ELECTRON_RPOXY_CONTEXT__ = "electron:proxy-context";
5368
5641
  var __ELECTRON_SERVER_CONTEXT__ = "electron:server-context";
@@ -5380,22 +5653,22 @@ var __DEVTOOLS_KIT_ELECTRON_MESSAGING_EVENT_KEY__ = {
5380
5653
  // on: proxy->server
5381
5654
  };
5382
5655
  function getElectronClientContext() {
5383
- return import_devtools_shared22.target[__ELECTRON_CLIENT_CONTEXT__];
5656
+ return import_devtools_shared24.target[__ELECTRON_CLIENT_CONTEXT__];
5384
5657
  }
5385
5658
  function setElectronClientContext(context) {
5386
- import_devtools_shared22.target[__ELECTRON_CLIENT_CONTEXT__] = context;
5659
+ import_devtools_shared24.target[__ELECTRON_CLIENT_CONTEXT__] = context;
5387
5660
  }
5388
5661
  function getElectronProxyContext() {
5389
- return import_devtools_shared22.target[__ELECTRON_RPOXY_CONTEXT__];
5662
+ return import_devtools_shared24.target[__ELECTRON_RPOXY_CONTEXT__];
5390
5663
  }
5391
5664
  function setElectronProxyContext(context) {
5392
- import_devtools_shared22.target[__ELECTRON_RPOXY_CONTEXT__] = context;
5665
+ import_devtools_shared24.target[__ELECTRON_RPOXY_CONTEXT__] = context;
5393
5666
  }
5394
5667
  function getElectronServerContext() {
5395
- return import_devtools_shared22.target[__ELECTRON_SERVER_CONTEXT__];
5668
+ return import_devtools_shared24.target[__ELECTRON_SERVER_CONTEXT__];
5396
5669
  }
5397
5670
  function setElectronServerContext(context) {
5398
- import_devtools_shared22.target[__ELECTRON_SERVER_CONTEXT__] = context;
5671
+ import_devtools_shared24.target[__ELECTRON_SERVER_CONTEXT__] = context;
5399
5672
  }
5400
5673
 
5401
5674
  // src/messaging/presets/electron/client.ts
@@ -5455,7 +5728,7 @@ init_cjs_shims();
5455
5728
 
5456
5729
  // src/messaging/presets/extension/context.ts
5457
5730
  init_cjs_shims();
5458
- var import_devtools_shared23 = require("@vue/devtools-shared");
5731
+ var import_devtools_shared25 = require("@vue/devtools-shared");
5459
5732
  var __EXTENSION_CLIENT_CONTEXT__ = "electron:client-context";
5460
5733
  var __DEVTOOLS_KIT_EXTENSION_MESSAGING_EVENT_KEY__ = {
5461
5734
  // client
@@ -5471,10 +5744,10 @@ var __DEVTOOLS_KIT_EXTENSION_MESSAGING_EVENT_KEY__ = {
5471
5744
  // on: proxy->server
5472
5745
  };
5473
5746
  function getExtensionClientContext() {
5474
- return import_devtools_shared23.target[__EXTENSION_CLIENT_CONTEXT__];
5747
+ return import_devtools_shared25.target[__EXTENSION_CLIENT_CONTEXT__];
5475
5748
  }
5476
5749
  function setExtensionClientContext(context) {
5477
- import_devtools_shared23.target[__EXTENSION_CLIENT_CONTEXT__] = context;
5750
+ import_devtools_shared25.target[__EXTENSION_CLIENT_CONTEXT__] = context;
5478
5751
  }
5479
5752
 
5480
5753
  // src/messaging/presets/extension/client.ts
@@ -5589,23 +5862,23 @@ init_cjs_shims();
5589
5862
 
5590
5863
  // src/messaging/presets/iframe/client.ts
5591
5864
  init_cjs_shims();
5592
- var import_devtools_shared25 = require("@vue/devtools-shared");
5865
+ var import_devtools_shared27 = require("@vue/devtools-shared");
5593
5866
 
5594
5867
  // src/messaging/presets/iframe/context.ts
5595
5868
  init_cjs_shims();
5596
- var import_devtools_shared24 = require("@vue/devtools-shared");
5869
+ var import_devtools_shared26 = require("@vue/devtools-shared");
5597
5870
  var __DEVTOOLS_KIT_IFRAME_MESSAGING_EVENT_KEY = "__devtools-kit-iframe-messaging-event-key__";
5598
5871
  var __IFRAME_SERVER_CONTEXT__ = "iframe:server-context";
5599
5872
  function getIframeServerContext() {
5600
- return import_devtools_shared24.target[__IFRAME_SERVER_CONTEXT__];
5873
+ return import_devtools_shared26.target[__IFRAME_SERVER_CONTEXT__];
5601
5874
  }
5602
5875
  function setIframeServerContext(context) {
5603
- import_devtools_shared24.target[__IFRAME_SERVER_CONTEXT__] = context;
5876
+ import_devtools_shared26.target[__IFRAME_SERVER_CONTEXT__] = context;
5604
5877
  }
5605
5878
 
5606
5879
  // src/messaging/presets/iframe/client.ts
5607
5880
  function createIframeClientChannel() {
5608
- if (!import_devtools_shared25.isBrowser) {
5881
+ if (!import_devtools_shared27.isBrowser) {
5609
5882
  return {
5610
5883
  post: (data) => {
5611
5884
  },
@@ -5632,9 +5905,9 @@ function createIframeClientChannel() {
5632
5905
 
5633
5906
  // src/messaging/presets/iframe/server.ts
5634
5907
  init_cjs_shims();
5635
- var import_devtools_shared26 = require("@vue/devtools-shared");
5908
+ var import_devtools_shared28 = require("@vue/devtools-shared");
5636
5909
  function createIframeServerChannel() {
5637
- if (!import_devtools_shared26.isBrowser) {
5910
+ if (!import_devtools_shared28.isBrowser) {
5638
5911
  return {
5639
5912
  post: (data) => {
5640
5913
  },
@@ -5674,21 +5947,21 @@ init_cjs_shims();
5674
5947
 
5675
5948
  // src/messaging/presets/vite/context.ts
5676
5949
  init_cjs_shims();
5677
- var import_devtools_shared27 = require("@vue/devtools-shared");
5950
+ var import_devtools_shared29 = require("@vue/devtools-shared");
5678
5951
  var __DEVTOOLS_KIT_VITE_MESSAGING_EVENT_KEY = "__devtools-kit-vite-messaging-event-key__";
5679
5952
  var __VITE_CLIENT_CONTEXT__ = "vite:client-context";
5680
5953
  var __VITE_SERVER_CONTEXT__ = "vite:server-context";
5681
5954
  function getViteClientContext() {
5682
- return import_devtools_shared27.target[__VITE_CLIENT_CONTEXT__];
5955
+ return import_devtools_shared29.target[__VITE_CLIENT_CONTEXT__];
5683
5956
  }
5684
5957
  function setViteClientContext(context) {
5685
- import_devtools_shared27.target[__VITE_CLIENT_CONTEXT__] = context;
5958
+ import_devtools_shared29.target[__VITE_CLIENT_CONTEXT__] = context;
5686
5959
  }
5687
5960
  function getViteServerContext() {
5688
- return import_devtools_shared27.target[__VITE_SERVER_CONTEXT__];
5961
+ return import_devtools_shared29.target[__VITE_SERVER_CONTEXT__];
5689
5962
  }
5690
5963
  function setViteServerContext(context) {
5691
- import_devtools_shared27.target[__VITE_SERVER_CONTEXT__] = context;
5964
+ import_devtools_shared29.target[__VITE_SERVER_CONTEXT__] = context;
5692
5965
  }
5693
5966
 
5694
5967
  // src/messaging/presets/vite/client.ts
@@ -5728,47 +6001,47 @@ init_cjs_shims();
5728
6001
 
5729
6002
  // src/messaging/presets/ws/context.ts
5730
6003
  init_cjs_shims();
5731
- var import_devtools_shared28 = require("@vue/devtools-shared");
6004
+ var import_devtools_shared30 = require("@vue/devtools-shared");
5732
6005
 
5733
6006
  // src/messaging/presets/ws/server.ts
5734
6007
  init_cjs_shims();
5735
6008
 
5736
6009
  // src/messaging/index.ts
5737
6010
  var _a19, _b19;
5738
- (_b19 = (_a19 = import_devtools_shared29.target).__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__) != null ? _b19 : _a19.__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__ = [];
6011
+ (_b19 = (_a19 = import_devtools_shared31.target).__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__) != null ? _b19 : _a19.__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__ = [];
5739
6012
  var _a20, _b20;
5740
- (_b20 = (_a20 = import_devtools_shared29.target).__VUE_DEVTOOLS_KIT_RPC_CLIENT__) != null ? _b20 : _a20.__VUE_DEVTOOLS_KIT_RPC_CLIENT__ = null;
6013
+ (_b20 = (_a20 = import_devtools_shared31.target).__VUE_DEVTOOLS_KIT_RPC_CLIENT__) != null ? _b20 : _a20.__VUE_DEVTOOLS_KIT_RPC_CLIENT__ = null;
5741
6014
  var _a21, _b21;
5742
- (_b21 = (_a21 = import_devtools_shared29.target).__VUE_DEVTOOLS_KIT_RPC_SERVER__) != null ? _b21 : _a21.__VUE_DEVTOOLS_KIT_RPC_SERVER__ = null;
6015
+ (_b21 = (_a21 = import_devtools_shared31.target).__VUE_DEVTOOLS_KIT_RPC_SERVER__) != null ? _b21 : _a21.__VUE_DEVTOOLS_KIT_RPC_SERVER__ = null;
5743
6016
  var _a22, _b22;
5744
- (_b22 = (_a22 = import_devtools_shared29.target).__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__) != null ? _b22 : _a22.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__ = null;
6017
+ (_b22 = (_a22 = import_devtools_shared31.target).__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__) != null ? _b22 : _a22.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__ = null;
5745
6018
  var _a23, _b23;
5746
- (_b23 = (_a23 = import_devtools_shared29.target).__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__) != null ? _b23 : _a23.__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__ = null;
6019
+ (_b23 = (_a23 = import_devtools_shared31.target).__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__) != null ? _b23 : _a23.__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__ = null;
5747
6020
  var _a24, _b24;
5748
- (_b24 = (_a24 = import_devtools_shared29.target).__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__) != null ? _b24 : _a24.__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__ = null;
6021
+ (_b24 = (_a24 = import_devtools_shared31.target).__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__) != null ? _b24 : _a24.__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__ = null;
5749
6022
  function setRpcClientToGlobal(rpc) {
5750
- import_devtools_shared29.target.__VUE_DEVTOOLS_KIT_RPC_CLIENT__ = rpc;
6023
+ import_devtools_shared31.target.__VUE_DEVTOOLS_KIT_RPC_CLIENT__ = rpc;
5751
6024
  }
5752
6025
  function setRpcServerToGlobal(rpc) {
5753
- import_devtools_shared29.target.__VUE_DEVTOOLS_KIT_RPC_SERVER__ = rpc;
6026
+ import_devtools_shared31.target.__VUE_DEVTOOLS_KIT_RPC_SERVER__ = rpc;
5754
6027
  }
5755
6028
  function getRpcClient() {
5756
- return import_devtools_shared29.target.__VUE_DEVTOOLS_KIT_RPC_CLIENT__;
6029
+ return import_devtools_shared31.target.__VUE_DEVTOOLS_KIT_RPC_CLIENT__;
5757
6030
  }
5758
6031
  function getRpcServer() {
5759
- return import_devtools_shared29.target.__VUE_DEVTOOLS_KIT_RPC_SERVER__;
6032
+ return import_devtools_shared31.target.__VUE_DEVTOOLS_KIT_RPC_SERVER__;
5760
6033
  }
5761
6034
  function setViteRpcClientToGlobal(rpc) {
5762
- import_devtools_shared29.target.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__ = rpc;
6035
+ import_devtools_shared31.target.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__ = rpc;
5763
6036
  }
5764
6037
  function setViteRpcServerToGlobal(rpc) {
5765
- import_devtools_shared29.target.__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__ = rpc;
6038
+ import_devtools_shared31.target.__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__ = rpc;
5766
6039
  }
5767
6040
  function getViteRpcClient() {
5768
- return import_devtools_shared29.target.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__;
6041
+ return import_devtools_shared31.target.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__;
5769
6042
  }
5770
6043
  function getViteRpcServer() {
5771
- return import_devtools_shared29.target.__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__;
6044
+ return import_devtools_shared31.target.__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__;
5772
6045
  }
5773
6046
  function getChannel(preset, host = "client") {
5774
6047
  const channel = {
@@ -6387,5 +6660,6 @@ var devtools = {
6387
6660
  toggleComponentInspectorEnabled,
6388
6661
  toggleHighPerfMode,
6389
6662
  updateDevToolsClientDetected,
6390
- updateDevToolsState
6663
+ updateDevToolsState,
6664
+ updateTimelineLayersState
6391
6665
  });