@vue/devtools-kit 8.0.5 → 8.0.7
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 +236 -220
- package/dist/index.js +111 -95
- package/package.json +4 -5
package/dist/index.cjs
CHANGED
|
@@ -5,16 +5,18 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
5
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
6
|
var __getProtoOf = Object.getPrototypeOf;
|
|
7
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var
|
|
9
|
-
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
10
|
-
};
|
|
8
|
+
var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
11
9
|
var __copyProps = (to, from, except, desc) => {
|
|
12
|
-
if (from && typeof from === "object" || typeof from === "function")
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
12
|
+
key = keys[i];
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except) {
|
|
14
|
+
__defProp(to, key, {
|
|
15
|
+
get: ((k) => from[k]).bind(null, key),
|
|
16
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
}
|
|
18
20
|
}
|
|
19
21
|
return to;
|
|
20
22
|
};
|
|
@@ -24,18 +26,18 @@ var __toESM = (mod, isNodeMode, target$21) => (target$21 = mod != null ? __creat
|
|
|
24
26
|
}) : target$21, mod));
|
|
25
27
|
|
|
26
28
|
//#endregion
|
|
27
|
-
let
|
|
29
|
+
let _vue_devtools_shared = require("@vue/devtools-shared");
|
|
28
30
|
let perfect_debounce = require("perfect-debounce");
|
|
29
31
|
let hookable = require("hookable");
|
|
30
32
|
let birpc = require("birpc");
|
|
31
33
|
|
|
32
34
|
//#region src/compat/index.ts
|
|
33
35
|
function onLegacyDevToolsPluginApiAvailable(cb) {
|
|
34
|
-
if (
|
|
36
|
+
if (_vue_devtools_shared.target.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__) {
|
|
35
37
|
cb();
|
|
36
38
|
return;
|
|
37
39
|
}
|
|
38
|
-
Object.defineProperty(
|
|
40
|
+
Object.defineProperty(_vue_devtools_shared.target, "__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__", {
|
|
39
41
|
set(value) {
|
|
40
42
|
if (value) cb();
|
|
41
43
|
},
|
|
@@ -46,13 +48,14 @@ function onLegacyDevToolsPluginApiAvailable(cb) {
|
|
|
46
48
|
//#endregion
|
|
47
49
|
//#region src/core/component/utils/index.ts
|
|
48
50
|
function getComponentTypeName(options) {
|
|
51
|
+
if (typeof options === "function") return options.displayName || options.name || options.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__ || "";
|
|
49
52
|
const name = options.name || options._componentTag || options.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__ || options.__name;
|
|
50
53
|
if (name === "index" && options.__file?.endsWith("index.vue")) return "";
|
|
51
54
|
return name;
|
|
52
55
|
}
|
|
53
56
|
function getComponentFileName(options) {
|
|
54
57
|
const file = options.__file;
|
|
55
|
-
if (file) return (0,
|
|
58
|
+
if (file) return (0, _vue_devtools_shared.classify)((0, _vue_devtools_shared.basename)(file, ".vue"));
|
|
56
59
|
}
|
|
57
60
|
function getComponentName(options) {
|
|
58
61
|
const name = options.displayName || options.name || options._componentTag;
|
|
@@ -421,14 +424,14 @@ function scrollToComponent(options) {
|
|
|
421
424
|
|
|
422
425
|
//#endregion
|
|
423
426
|
//#region src/core/component-inspector/index.ts
|
|
424
|
-
|
|
427
|
+
_vue_devtools_shared.target.__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__ ??= true;
|
|
425
428
|
function toggleComponentInspectorEnabled(enabled) {
|
|
426
|
-
|
|
429
|
+
_vue_devtools_shared.target.__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__ = enabled;
|
|
427
430
|
}
|
|
428
431
|
function waitForInspectorInit(cb) {
|
|
429
432
|
let total = 0;
|
|
430
433
|
const timer = setInterval(() => {
|
|
431
|
-
if (
|
|
434
|
+
if (_vue_devtools_shared.target.__VUE_INSPECTOR__) {
|
|
432
435
|
clearInterval(timer);
|
|
433
436
|
total += 30;
|
|
434
437
|
cb();
|
|
@@ -437,7 +440,7 @@ function waitForInspectorInit(cb) {
|
|
|
437
440
|
}, 30);
|
|
438
441
|
}
|
|
439
442
|
function setupInspector() {
|
|
440
|
-
const inspector =
|
|
443
|
+
const inspector = _vue_devtools_shared.target.__VUE_INSPECTOR__;
|
|
441
444
|
const _openInEditor = inspector.openInEditor;
|
|
442
445
|
inspector.openInEditor = async (...params) => {
|
|
443
446
|
inspector.disable();
|
|
@@ -448,9 +451,9 @@ function getComponentInspector() {
|
|
|
448
451
|
return new Promise((resolve) => {
|
|
449
452
|
function setup() {
|
|
450
453
|
setupInspector();
|
|
451
|
-
resolve(
|
|
454
|
+
resolve(_vue_devtools_shared.target.__VUE_INSPECTOR__);
|
|
452
455
|
}
|
|
453
|
-
if (!
|
|
456
|
+
if (!_vue_devtools_shared.target.__VUE_INSPECTOR__) waitForInspectorInit(() => {
|
|
454
457
|
setup();
|
|
455
458
|
});
|
|
456
459
|
else setup();
|
|
@@ -467,13 +470,13 @@ function getComponentInspector() {
|
|
|
467
470
|
/**
|
|
468
471
|
* @from [@vue/reactivity](https://github.com/vuejs/core/blob/1c3327a0fa5983aa9078e3f7bb2330f572435425/packages/reactivity/src/constants.ts#L17-L23)
|
|
469
472
|
*/
|
|
470
|
-
let ReactiveFlags = /* @__PURE__ */ function(ReactiveFlags
|
|
471
|
-
ReactiveFlags
|
|
472
|
-
ReactiveFlags
|
|
473
|
-
ReactiveFlags
|
|
474
|
-
ReactiveFlags
|
|
475
|
-
ReactiveFlags
|
|
476
|
-
return ReactiveFlags
|
|
473
|
+
let ReactiveFlags = /* @__PURE__ */ function(ReactiveFlags) {
|
|
474
|
+
ReactiveFlags["SKIP"] = "__v_skip";
|
|
475
|
+
ReactiveFlags["IS_REACTIVE"] = "__v_isReactive";
|
|
476
|
+
ReactiveFlags["IS_READONLY"] = "__v_isReadonly";
|
|
477
|
+
ReactiveFlags["IS_SHALLOW"] = "__v_isShallow";
|
|
478
|
+
ReactiveFlags["RAW"] = "__v_raw";
|
|
479
|
+
return ReactiveFlags;
|
|
477
480
|
}({});
|
|
478
481
|
/**
|
|
479
482
|
* @from [@vue/reactivity](https://github.com/vuejs/core/blob/1c3327a0fa5983aa9078e3f7bb2330f572435425/packages/reactivity/src/reactive.ts#L330-L332)
|
|
@@ -595,7 +598,7 @@ var RefStateEditor = class {
|
|
|
595
598
|
return isRef$1(ref) || isReactive$1(ref);
|
|
596
599
|
}
|
|
597
600
|
};
|
|
598
|
-
async function editComponentState(payload, stateEditor
|
|
601
|
+
async function editComponentState(payload, stateEditor) {
|
|
599
602
|
const { path, nodeId, state, type } = payload;
|
|
600
603
|
const instance = getComponentInstance(activeAppRecord.value, nodeId);
|
|
601
604
|
if (!instance) return;
|
|
@@ -607,7 +610,7 @@ async function editComponentState(payload, stateEditor$1) {
|
|
|
607
610
|
else target$21 = instance.proxy;
|
|
608
611
|
if (target$21 && targetPath) {
|
|
609
612
|
if (state.type === "object" && type === "reactive") {}
|
|
610
|
-
stateEditor
|
|
613
|
+
stateEditor.set(target$21, targetPath, state.value, stateEditor.createDefaultSetCallback(state));
|
|
611
614
|
}
|
|
612
615
|
}
|
|
613
616
|
const stateEditor = new StateEditor();
|
|
@@ -619,11 +622,11 @@ async function editState(payload) {
|
|
|
619
622
|
//#region src/core/timeline/storage.ts
|
|
620
623
|
const TIMELINE_LAYERS_STATE_STORAGE_ID = "__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS_STATE__";
|
|
621
624
|
function addTimelineLayersStateToStorage(state) {
|
|
622
|
-
if (!
|
|
625
|
+
if (!_vue_devtools_shared.isBrowser || typeof localStorage === "undefined" || localStorage === null) return;
|
|
623
626
|
localStorage.setItem(TIMELINE_LAYERS_STATE_STORAGE_ID, JSON.stringify(state));
|
|
624
627
|
}
|
|
625
628
|
function getTimelineLayersStateFromStorage() {
|
|
626
|
-
if (typeof window === "undefined" || !
|
|
629
|
+
if (typeof window === "undefined" || !_vue_devtools_shared.isBrowser || typeof localStorage === "undefined" || localStorage === null) return {
|
|
627
630
|
recordingState: false,
|
|
628
631
|
mouseEventEnabled: false,
|
|
629
632
|
keyboardEventEnabled: false,
|
|
@@ -644,8 +647,8 @@ function getTimelineLayersStateFromStorage() {
|
|
|
644
647
|
|
|
645
648
|
//#endregion
|
|
646
649
|
//#region src/ctx/timeline.ts
|
|
647
|
-
|
|
648
|
-
const devtoolsTimelineLayers = new Proxy(
|
|
650
|
+
_vue_devtools_shared.target.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS ??= [];
|
|
651
|
+
const devtoolsTimelineLayers = new Proxy(_vue_devtools_shared.target.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS, { get(target$21, prop, receiver) {
|
|
649
652
|
return Reflect.get(target$21, prop, receiver);
|
|
650
653
|
} });
|
|
651
654
|
function addTimelineLayer(options, descriptor) {
|
|
@@ -667,8 +670,8 @@ function updateTimelineLayersState(state) {
|
|
|
667
670
|
|
|
668
671
|
//#endregion
|
|
669
672
|
//#region src/ctx/inspector.ts
|
|
670
|
-
|
|
671
|
-
const devtoolsInspector = new Proxy(
|
|
673
|
+
_vue_devtools_shared.target.__VUE_DEVTOOLS_KIT_INSPECTOR__ ??= [];
|
|
674
|
+
const devtoolsInspector = new Proxy(_vue_devtools_shared.target.__VUE_DEVTOOLS_KIT_INSPECTOR__, { get(target$21, prop, receiver) {
|
|
672
675
|
return Reflect.get(target$21, prop, receiver);
|
|
673
676
|
} });
|
|
674
677
|
const callInspectorUpdatedHook = (0, perfect_debounce.debounce)(() => {
|
|
@@ -734,42 +737,42 @@ function getInspectorNodeActions(id) {
|
|
|
734
737
|
|
|
735
738
|
//#endregion
|
|
736
739
|
//#region src/ctx/hook.ts
|
|
737
|
-
let DevToolsV6PluginAPIHookKeys = /* @__PURE__ */ function(DevToolsV6PluginAPIHookKeys
|
|
738
|
-
DevToolsV6PluginAPIHookKeys
|
|
739
|
-
DevToolsV6PluginAPIHookKeys
|
|
740
|
-
DevToolsV6PluginAPIHookKeys
|
|
741
|
-
DevToolsV6PluginAPIHookKeys
|
|
742
|
-
DevToolsV6PluginAPIHookKeys
|
|
743
|
-
DevToolsV6PluginAPIHookKeys
|
|
744
|
-
DevToolsV6PluginAPIHookKeys
|
|
745
|
-
DevToolsV6PluginAPIHookKeys
|
|
746
|
-
DevToolsV6PluginAPIHookKeys
|
|
747
|
-
return DevToolsV6PluginAPIHookKeys
|
|
740
|
+
let DevToolsV6PluginAPIHookKeys = /* @__PURE__ */ function(DevToolsV6PluginAPIHookKeys) {
|
|
741
|
+
DevToolsV6PluginAPIHookKeys["VISIT_COMPONENT_TREE"] = "visitComponentTree";
|
|
742
|
+
DevToolsV6PluginAPIHookKeys["INSPECT_COMPONENT"] = "inspectComponent";
|
|
743
|
+
DevToolsV6PluginAPIHookKeys["EDIT_COMPONENT_STATE"] = "editComponentState";
|
|
744
|
+
DevToolsV6PluginAPIHookKeys["GET_INSPECTOR_TREE"] = "getInspectorTree";
|
|
745
|
+
DevToolsV6PluginAPIHookKeys["GET_INSPECTOR_STATE"] = "getInspectorState";
|
|
746
|
+
DevToolsV6PluginAPIHookKeys["EDIT_INSPECTOR_STATE"] = "editInspectorState";
|
|
747
|
+
DevToolsV6PluginAPIHookKeys["INSPECT_TIMELINE_EVENT"] = "inspectTimelineEvent";
|
|
748
|
+
DevToolsV6PluginAPIHookKeys["TIMELINE_CLEARED"] = "timelineCleared";
|
|
749
|
+
DevToolsV6PluginAPIHookKeys["SET_PLUGIN_SETTINGS"] = "setPluginSettings";
|
|
750
|
+
return DevToolsV6PluginAPIHookKeys;
|
|
748
751
|
}({});
|
|
749
|
-
let DevToolsContextHookKeys = /* @__PURE__ */ function(DevToolsContextHookKeys
|
|
750
|
-
DevToolsContextHookKeys
|
|
751
|
-
DevToolsContextHookKeys
|
|
752
|
-
DevToolsContextHookKeys
|
|
753
|
-
DevToolsContextHookKeys
|
|
754
|
-
DevToolsContextHookKeys
|
|
755
|
-
DevToolsContextHookKeys
|
|
756
|
-
DevToolsContextHookKeys
|
|
757
|
-
DevToolsContextHookKeys
|
|
758
|
-
DevToolsContextHookKeys
|
|
759
|
-
DevToolsContextHookKeys
|
|
760
|
-
DevToolsContextHookKeys
|
|
761
|
-
return DevToolsContextHookKeys
|
|
752
|
+
let DevToolsContextHookKeys = /* @__PURE__ */ function(DevToolsContextHookKeys) {
|
|
753
|
+
DevToolsContextHookKeys["ADD_INSPECTOR"] = "addInspector";
|
|
754
|
+
DevToolsContextHookKeys["SEND_INSPECTOR_TREE"] = "sendInspectorTree";
|
|
755
|
+
DevToolsContextHookKeys["SEND_INSPECTOR_STATE"] = "sendInspectorState";
|
|
756
|
+
DevToolsContextHookKeys["CUSTOM_INSPECTOR_SELECT_NODE"] = "customInspectorSelectNode";
|
|
757
|
+
DevToolsContextHookKeys["TIMELINE_LAYER_ADDED"] = "timelineLayerAdded";
|
|
758
|
+
DevToolsContextHookKeys["TIMELINE_EVENT_ADDED"] = "timelineEventAdded";
|
|
759
|
+
DevToolsContextHookKeys["GET_COMPONENT_INSTANCES"] = "getComponentInstances";
|
|
760
|
+
DevToolsContextHookKeys["GET_COMPONENT_BOUNDS"] = "getComponentBounds";
|
|
761
|
+
DevToolsContextHookKeys["GET_COMPONENT_NAME"] = "getComponentName";
|
|
762
|
+
DevToolsContextHookKeys["COMPONENT_HIGHLIGHT"] = "componentHighlight";
|
|
763
|
+
DevToolsContextHookKeys["COMPONENT_UNHIGHLIGHT"] = "componentUnhighlight";
|
|
764
|
+
return DevToolsContextHookKeys;
|
|
762
765
|
}({});
|
|
763
|
-
let DevToolsMessagingHookKeys = /* @__PURE__ */ function(DevToolsMessagingHookKeys
|
|
764
|
-
DevToolsMessagingHookKeys
|
|
765
|
-
DevToolsMessagingHookKeys
|
|
766
|
-
DevToolsMessagingHookKeys
|
|
767
|
-
DevToolsMessagingHookKeys
|
|
768
|
-
DevToolsMessagingHookKeys
|
|
769
|
-
DevToolsMessagingHookKeys
|
|
770
|
-
DevToolsMessagingHookKeys
|
|
771
|
-
DevToolsMessagingHookKeys
|
|
772
|
-
return DevToolsMessagingHookKeys
|
|
766
|
+
let DevToolsMessagingHookKeys = /* @__PURE__ */ function(DevToolsMessagingHookKeys) {
|
|
767
|
+
DevToolsMessagingHookKeys["SEND_INSPECTOR_TREE_TO_CLIENT"] = "sendInspectorTreeToClient";
|
|
768
|
+
DevToolsMessagingHookKeys["SEND_INSPECTOR_STATE_TO_CLIENT"] = "sendInspectorStateToClient";
|
|
769
|
+
DevToolsMessagingHookKeys["SEND_TIMELINE_EVENT_TO_CLIENT"] = "sendTimelineEventToClient";
|
|
770
|
+
DevToolsMessagingHookKeys["SEND_INSPECTOR_TO_CLIENT"] = "sendInspectorToClient";
|
|
771
|
+
DevToolsMessagingHookKeys["SEND_ACTIVE_APP_UNMOUNTED_TO_CLIENT"] = "sendActiveAppUpdatedToClient";
|
|
772
|
+
DevToolsMessagingHookKeys["DEVTOOLS_STATE_UPDATED"] = "devtoolsStateUpdated";
|
|
773
|
+
DevToolsMessagingHookKeys["DEVTOOLS_CONNECTED_UPDATED"] = "devtoolsConnectedUpdated";
|
|
774
|
+
DevToolsMessagingHookKeys["ROUTER_INFO_UPDATED"] = "routerInfoUpdated";
|
|
775
|
+
return DevToolsMessagingHookKeys;
|
|
773
776
|
}({});
|
|
774
777
|
function createDevToolsCtxHooks() {
|
|
775
778
|
const hooks$1 = (0, hookable.createHooks)();
|
|
@@ -867,11 +870,11 @@ function createDevToolsCtxHooks() {
|
|
|
867
870
|
|
|
868
871
|
//#endregion
|
|
869
872
|
//#region src/ctx/state.ts
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
873
|
+
_vue_devtools_shared.target.__VUE_DEVTOOLS_KIT_APP_RECORDS__ ??= [];
|
|
874
|
+
_vue_devtools_shared.target.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__ ??= {};
|
|
875
|
+
_vue_devtools_shared.target.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__ ??= "";
|
|
876
|
+
_vue_devtools_shared.target.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__ ??= [];
|
|
877
|
+
_vue_devtools_shared.target.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__ ??= [];
|
|
875
878
|
const STATE_KEY = "__VUE_DEVTOOLS_KIT_GLOBAL_STATE__";
|
|
876
879
|
function initStateFactory() {
|
|
877
880
|
return {
|
|
@@ -888,7 +891,7 @@ function initStateFactory() {
|
|
|
888
891
|
timelineLayersState: getTimelineLayersStateFromStorage()
|
|
889
892
|
};
|
|
890
893
|
}
|
|
891
|
-
|
|
894
|
+
_vue_devtools_shared.target[STATE_KEY] ??= initStateFactory();
|
|
892
895
|
const callStateUpdatedHook = (0, perfect_debounce.debounce)((state) => {
|
|
893
896
|
devtoolsContext.hooks.callHook(DevToolsMessagingHookKeys.DEVTOOLS_STATE_UPDATED, { state });
|
|
894
897
|
});
|
|
@@ -898,68 +901,68 @@ const callConnectedUpdatedHook = (0, perfect_debounce.debounce)((state, oldState
|
|
|
898
901
|
oldState
|
|
899
902
|
});
|
|
900
903
|
});
|
|
901
|
-
const devtoolsAppRecords = new Proxy(
|
|
902
|
-
if (prop === "value") return
|
|
903
|
-
return
|
|
904
|
+
const devtoolsAppRecords = new Proxy(_vue_devtools_shared.target.__VUE_DEVTOOLS_KIT_APP_RECORDS__, { get(_target, prop, receiver) {
|
|
905
|
+
if (prop === "value") return _vue_devtools_shared.target.__VUE_DEVTOOLS_KIT_APP_RECORDS__;
|
|
906
|
+
return _vue_devtools_shared.target.__VUE_DEVTOOLS_KIT_APP_RECORDS__[prop];
|
|
904
907
|
} });
|
|
905
908
|
const addDevToolsAppRecord = (app) => {
|
|
906
|
-
|
|
909
|
+
_vue_devtools_shared.target.__VUE_DEVTOOLS_KIT_APP_RECORDS__ = [..._vue_devtools_shared.target.__VUE_DEVTOOLS_KIT_APP_RECORDS__, app];
|
|
907
910
|
};
|
|
908
911
|
const removeDevToolsAppRecord = (app) => {
|
|
909
|
-
|
|
912
|
+
_vue_devtools_shared.target.__VUE_DEVTOOLS_KIT_APP_RECORDS__ = devtoolsAppRecords.value.filter((record) => record.app !== app);
|
|
910
913
|
};
|
|
911
|
-
const activeAppRecord = new Proxy(
|
|
912
|
-
if (prop === "value") return
|
|
913
|
-
else if (prop === "id") return
|
|
914
|
-
return
|
|
914
|
+
const activeAppRecord = new Proxy(_vue_devtools_shared.target.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__, { get(_target, prop, receiver) {
|
|
915
|
+
if (prop === "value") return _vue_devtools_shared.target.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__;
|
|
916
|
+
else if (prop === "id") return _vue_devtools_shared.target.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__;
|
|
917
|
+
return _vue_devtools_shared.target.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__[prop];
|
|
915
918
|
} });
|
|
916
919
|
function updateAllStates() {
|
|
917
920
|
callStateUpdatedHook({
|
|
918
|
-
...
|
|
921
|
+
..._vue_devtools_shared.target[STATE_KEY],
|
|
919
922
|
appRecords: devtoolsAppRecords.value,
|
|
920
923
|
activeAppRecordId: activeAppRecord.id,
|
|
921
|
-
tabs:
|
|
922
|
-
commands:
|
|
924
|
+
tabs: _vue_devtools_shared.target.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__,
|
|
925
|
+
commands: _vue_devtools_shared.target.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__
|
|
923
926
|
});
|
|
924
927
|
}
|
|
925
928
|
function setActiveAppRecord(app) {
|
|
926
|
-
|
|
929
|
+
_vue_devtools_shared.target.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__ = app;
|
|
927
930
|
updateAllStates();
|
|
928
931
|
}
|
|
929
932
|
function setActiveAppRecordId(id) {
|
|
930
|
-
|
|
933
|
+
_vue_devtools_shared.target.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__ = id;
|
|
931
934
|
updateAllStates();
|
|
932
935
|
}
|
|
933
|
-
const devtoolsState = new Proxy(
|
|
936
|
+
const devtoolsState = new Proxy(_vue_devtools_shared.target[STATE_KEY], {
|
|
934
937
|
get(target$21, property) {
|
|
935
938
|
if (property === "appRecords") return devtoolsAppRecords;
|
|
936
939
|
else if (property === "activeAppRecordId") return activeAppRecord.id;
|
|
937
|
-
else if (property === "tabs") return
|
|
938
|
-
else if (property === "commands") return
|
|
939
|
-
return
|
|
940
|
+
else if (property === "tabs") return _vue_devtools_shared.target.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__;
|
|
941
|
+
else if (property === "commands") return _vue_devtools_shared.target.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__;
|
|
942
|
+
return _vue_devtools_shared.target[STATE_KEY][property];
|
|
940
943
|
},
|
|
941
944
|
deleteProperty(target$21, property) {
|
|
942
945
|
delete target$21[property];
|
|
943
946
|
return true;
|
|
944
947
|
},
|
|
945
948
|
set(target$21, property, value) {
|
|
946
|
-
({ ...
|
|
949
|
+
({ ..._vue_devtools_shared.target[STATE_KEY] });
|
|
947
950
|
target$21[property] = value;
|
|
948
|
-
|
|
951
|
+
_vue_devtools_shared.target[STATE_KEY][property] = value;
|
|
949
952
|
return true;
|
|
950
953
|
}
|
|
951
954
|
});
|
|
952
955
|
function resetDevToolsState() {
|
|
953
|
-
Object.assign(
|
|
956
|
+
Object.assign(_vue_devtools_shared.target[STATE_KEY], initStateFactory());
|
|
954
957
|
}
|
|
955
958
|
function updateDevToolsState(state) {
|
|
956
959
|
const oldState = {
|
|
957
|
-
...
|
|
960
|
+
..._vue_devtools_shared.target[STATE_KEY],
|
|
958
961
|
appRecords: devtoolsAppRecords.value,
|
|
959
962
|
activeAppRecordId: activeAppRecord.id
|
|
960
963
|
};
|
|
961
|
-
if (oldState.connected !== state.connected && state.connected || oldState.clientConnected !== state.clientConnected && state.clientConnected) callConnectedUpdatedHook(
|
|
962
|
-
Object.assign(
|
|
964
|
+
if (oldState.connected !== state.connected && state.connected || oldState.clientConnected !== state.clientConnected && state.clientConnected) callConnectedUpdatedHook(_vue_devtools_shared.target[STATE_KEY], oldState);
|
|
965
|
+
Object.assign(_vue_devtools_shared.target[STATE_KEY], state);
|
|
963
966
|
updateAllStates();
|
|
964
967
|
}
|
|
965
968
|
function onDevToolsConnected(fn) {
|
|
@@ -979,11 +982,11 @@ function onDevToolsConnected(fn) {
|
|
|
979
982
|
const resolveIcon = (icon) => {
|
|
980
983
|
if (!icon) return;
|
|
981
984
|
if (icon.startsWith("baseline-")) return `custom-ic-${icon}`;
|
|
982
|
-
if (icon.startsWith("i-") || (0,
|
|
985
|
+
if (icon.startsWith("i-") || (0, _vue_devtools_shared.isUrlString)(icon)) return icon;
|
|
983
986
|
return `custom-ic-baseline-${icon}`;
|
|
984
987
|
};
|
|
985
988
|
function addCustomTab(tab) {
|
|
986
|
-
const tabs =
|
|
989
|
+
const tabs = _vue_devtools_shared.target.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__;
|
|
987
990
|
if (tabs.some((t) => t.name === tab.name)) return;
|
|
988
991
|
tabs.push({
|
|
989
992
|
...tab,
|
|
@@ -992,7 +995,7 @@ function addCustomTab(tab) {
|
|
|
992
995
|
updateAllStates();
|
|
993
996
|
}
|
|
994
997
|
function addCustomCommand(action) {
|
|
995
|
-
const commands =
|
|
998
|
+
const commands = _vue_devtools_shared.target.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__;
|
|
996
999
|
if (commands.some((t) => t.id === action.id)) return;
|
|
997
1000
|
commands.push({
|
|
998
1001
|
...action,
|
|
@@ -1005,7 +1008,7 @@ function addCustomCommand(action) {
|
|
|
1005
1008
|
updateAllStates();
|
|
1006
1009
|
}
|
|
1007
1010
|
function removeCustomCommand(actionId) {
|
|
1008
|
-
const commands =
|
|
1011
|
+
const commands = _vue_devtools_shared.target.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__;
|
|
1009
1012
|
const index = commands.findIndex((t) => t.id === actionId);
|
|
1010
1013
|
if (index === -1) return;
|
|
1011
1014
|
commands.splice(index, 1);
|
|
@@ -1018,7 +1021,7 @@ function toggleClientConnected(state) {
|
|
|
1018
1021
|
//#endregion
|
|
1019
1022
|
//#region src/core/open-in-editor/index.ts
|
|
1020
1023
|
function setOpenInEditorBaseUrl(url) {
|
|
1021
|
-
|
|
1024
|
+
_vue_devtools_shared.target.__VUE_DEVTOOLS_OPEN_IN_EDITOR_BASE_URL__ = url;
|
|
1022
1025
|
}
|
|
1023
1026
|
function openInEditor(options = {}) {
|
|
1024
1027
|
const { file, host, baseUrl = window.location.origin, line = 0, column = 0 } = options;
|
|
@@ -1033,16 +1036,16 @@ function openInEditor(options = {}) {
|
|
|
1033
1036
|
}
|
|
1034
1037
|
});
|
|
1035
1038
|
} else if (devtoolsState.vitePluginDetected) {
|
|
1036
|
-
const _baseUrl =
|
|
1037
|
-
|
|
1039
|
+
const _baseUrl = _vue_devtools_shared.target.__VUE_DEVTOOLS_OPEN_IN_EDITOR_BASE_URL__ ?? baseUrl;
|
|
1040
|
+
_vue_devtools_shared.target.__VUE_INSPECTOR__.openInEditor(_baseUrl, file, line, column);
|
|
1038
1041
|
}
|
|
1039
1042
|
}
|
|
1040
1043
|
}
|
|
1041
1044
|
|
|
1042
1045
|
//#endregion
|
|
1043
1046
|
//#region src/ctx/plugin.ts
|
|
1044
|
-
|
|
1045
|
-
const devtoolsPluginBuffer = new Proxy(
|
|
1047
|
+
_vue_devtools_shared.target.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__ ??= [];
|
|
1048
|
+
const devtoolsPluginBuffer = new Proxy(_vue_devtools_shared.target.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__, { get(target$21, prop, receiver) {
|
|
1046
1049
|
return Reflect.get(target$21, prop, receiver);
|
|
1047
1050
|
} });
|
|
1048
1051
|
function addDevToolsPluginToBuffer(pluginDescriptor, setupFn) {
|
|
@@ -1099,27 +1102,27 @@ function setPluginSettings(pluginId, key, value) {
|
|
|
1099
1102
|
|
|
1100
1103
|
//#endregion
|
|
1101
1104
|
//#region src/types/hook.ts
|
|
1102
|
-
let DevToolsHooks = /* @__PURE__ */ function(DevToolsHooks
|
|
1103
|
-
DevToolsHooks
|
|
1104
|
-
DevToolsHooks
|
|
1105
|
-
DevToolsHooks
|
|
1106
|
-
DevToolsHooks
|
|
1107
|
-
DevToolsHooks
|
|
1108
|
-
DevToolsHooks
|
|
1109
|
-
DevToolsHooks
|
|
1110
|
-
DevToolsHooks
|
|
1111
|
-
DevToolsHooks
|
|
1112
|
-
DevToolsHooks
|
|
1113
|
-
DevToolsHooks
|
|
1114
|
-
DevToolsHooks
|
|
1115
|
-
DevToolsHooks
|
|
1116
|
-
DevToolsHooks
|
|
1117
|
-
return DevToolsHooks
|
|
1105
|
+
let DevToolsHooks = /* @__PURE__ */ function(DevToolsHooks) {
|
|
1106
|
+
DevToolsHooks["APP_INIT"] = "app:init";
|
|
1107
|
+
DevToolsHooks["APP_UNMOUNT"] = "app:unmount";
|
|
1108
|
+
DevToolsHooks["COMPONENT_UPDATED"] = "component:updated";
|
|
1109
|
+
DevToolsHooks["COMPONENT_ADDED"] = "component:added";
|
|
1110
|
+
DevToolsHooks["COMPONENT_REMOVED"] = "component:removed";
|
|
1111
|
+
DevToolsHooks["COMPONENT_EMIT"] = "component:emit";
|
|
1112
|
+
DevToolsHooks["PERFORMANCE_START"] = "perf:start";
|
|
1113
|
+
DevToolsHooks["PERFORMANCE_END"] = "perf:end";
|
|
1114
|
+
DevToolsHooks["ADD_ROUTE"] = "router:add-route";
|
|
1115
|
+
DevToolsHooks["REMOVE_ROUTE"] = "router:remove-route";
|
|
1116
|
+
DevToolsHooks["RENDER_TRACKED"] = "render:tracked";
|
|
1117
|
+
DevToolsHooks["RENDER_TRIGGERED"] = "render:triggered";
|
|
1118
|
+
DevToolsHooks["APP_CONNECTED"] = "app:connected";
|
|
1119
|
+
DevToolsHooks["SETUP_DEVTOOLS_PLUGIN"] = "devtools-plugin:setup";
|
|
1120
|
+
return DevToolsHooks;
|
|
1118
1121
|
}({});
|
|
1119
1122
|
|
|
1120
1123
|
//#endregion
|
|
1121
1124
|
//#region src/hook/index.ts
|
|
1122
|
-
const devtoolsHooks =
|
|
1125
|
+
const devtoolsHooks = _vue_devtools_shared.target.__VUE_DEVTOOLS_HOOK ??= (0, hookable.createHooks)();
|
|
1123
1126
|
const on = {
|
|
1124
1127
|
vueAppInit(fn) {
|
|
1125
1128
|
devtoolsHooks.hook(DevToolsHooks.APP_INIT, fn);
|
|
@@ -1185,40 +1188,40 @@ function createDevToolsHook() {
|
|
|
1185
1188
|
}
|
|
1186
1189
|
};
|
|
1187
1190
|
}
|
|
1188
|
-
function subscribeDevToolsHook(hook
|
|
1189
|
-
hook
|
|
1191
|
+
function subscribeDevToolsHook(hook) {
|
|
1192
|
+
hook.on(DevToolsHooks.APP_INIT, (app, version, types) => {
|
|
1190
1193
|
if (app?._instance?.type?.devtools?.hide) return;
|
|
1191
1194
|
devtoolsHooks.callHook(DevToolsHooks.APP_INIT, app, version, types);
|
|
1192
1195
|
});
|
|
1193
|
-
hook
|
|
1196
|
+
hook.on(DevToolsHooks.APP_UNMOUNT, (app) => {
|
|
1194
1197
|
devtoolsHooks.callHook(DevToolsHooks.APP_UNMOUNT, app);
|
|
1195
1198
|
});
|
|
1196
|
-
hook
|
|
1199
|
+
hook.on(DevToolsHooks.COMPONENT_ADDED, async (app, uid, parentUid, component) => {
|
|
1197
1200
|
if (app?._instance?.type?.devtools?.hide || devtoolsState.highPerfModeEnabled) return;
|
|
1198
1201
|
if (!app || typeof uid !== "number" && !uid || !component) return;
|
|
1199
1202
|
devtoolsHooks.callHook(DevToolsHooks.COMPONENT_ADDED, app, uid, parentUid, component);
|
|
1200
1203
|
});
|
|
1201
|
-
hook
|
|
1204
|
+
hook.on(DevToolsHooks.COMPONENT_UPDATED, (app, uid, parentUid, component) => {
|
|
1202
1205
|
if (!app || typeof uid !== "number" && !uid || !component || devtoolsState.highPerfModeEnabled) return;
|
|
1203
1206
|
devtoolsHooks.callHook(DevToolsHooks.COMPONENT_UPDATED, app, uid, parentUid, component);
|
|
1204
1207
|
});
|
|
1205
|
-
hook
|
|
1208
|
+
hook.on(DevToolsHooks.COMPONENT_REMOVED, async (app, uid, parentUid, component) => {
|
|
1206
1209
|
if (!app || typeof uid !== "number" && !uid || !component || devtoolsState.highPerfModeEnabled) return;
|
|
1207
1210
|
devtoolsHooks.callHook(DevToolsHooks.COMPONENT_REMOVED, app, uid, parentUid, component);
|
|
1208
1211
|
});
|
|
1209
|
-
hook
|
|
1212
|
+
hook.on(DevToolsHooks.COMPONENT_EMIT, async (app, instance, event, params) => {
|
|
1210
1213
|
if (!app || !instance || devtoolsState.highPerfModeEnabled) return;
|
|
1211
1214
|
devtoolsHooks.callHook(DevToolsHooks.COMPONENT_EMIT, app, instance, event, params);
|
|
1212
1215
|
});
|
|
1213
|
-
hook
|
|
1216
|
+
hook.on(DevToolsHooks.PERFORMANCE_START, (app, uid, vm, type, time) => {
|
|
1214
1217
|
if (!app || devtoolsState.highPerfModeEnabled) return;
|
|
1215
1218
|
devtoolsHooks.callHook(DevToolsHooks.PERFORMANCE_START, app, uid, vm, type, time);
|
|
1216
1219
|
});
|
|
1217
|
-
hook
|
|
1220
|
+
hook.on(DevToolsHooks.PERFORMANCE_END, (app, uid, vm, type, time) => {
|
|
1218
1221
|
if (!app || devtoolsState.highPerfModeEnabled) return;
|
|
1219
1222
|
devtoolsHooks.callHook(DevToolsHooks.PERFORMANCE_END, app, uid, vm, type, time);
|
|
1220
1223
|
});
|
|
1221
|
-
hook
|
|
1224
|
+
hook.on(DevToolsHooks.SETUP_DEVTOOLS_PLUGIN, (pluginDescriptor, setupFn, options) => {
|
|
1222
1225
|
if (options?.target === "legacy") return;
|
|
1223
1226
|
devtoolsHooks.callHook(DevToolsHooks.SETUP_DEVTOOLS_PLUGIN, pluginDescriptor, setupFn);
|
|
1224
1227
|
});
|
|
@@ -1539,8 +1542,10 @@ function mergeOptions(to, from, instance) {
|
|
|
1539
1542
|
const { mixins, extends: extendsOptions } = from;
|
|
1540
1543
|
extendsOptions && mergeOptions(to, extendsOptions, instance);
|
|
1541
1544
|
mixins && mixins.forEach((m) => mergeOptions(to, m, instance));
|
|
1542
|
-
for (const key of ["computed", "inject"]) if (Object.prototype.hasOwnProperty.call(from, key))
|
|
1543
|
-
|
|
1545
|
+
for (const key of ["computed", "inject"]) if (Object.prototype.hasOwnProperty.call(from, key)) {
|
|
1546
|
+
to[key] ??= {};
|
|
1547
|
+
Object.assign(to[key], from[key]);
|
|
1548
|
+
}
|
|
1544
1549
|
return to;
|
|
1545
1550
|
}
|
|
1546
1551
|
function resolveMergedOptions(instance) {
|
|
@@ -1565,7 +1570,7 @@ function processProps(instance) {
|
|
|
1565
1570
|
const propDefinitions = instance?.type?.props;
|
|
1566
1571
|
for (const key in instance?.props) {
|
|
1567
1572
|
const propDefinition = propDefinitions ? propDefinitions[key] : null;
|
|
1568
|
-
const camelizeKey = (0,
|
|
1573
|
+
const camelizeKey = (0, _vue_devtools_shared.camelize)(key);
|
|
1569
1574
|
props.push({
|
|
1570
1575
|
type: "props",
|
|
1571
1576
|
key: camelizeKey,
|
|
@@ -1707,6 +1712,14 @@ function processRefs(instance) {
|
|
|
1707
1712
|
value: returnError(() => instance.refs[key])
|
|
1708
1713
|
}));
|
|
1709
1714
|
}
|
|
1715
|
+
const vnodeEvents = new Set([
|
|
1716
|
+
"vnode-before-mount",
|
|
1717
|
+
"vnode-mounted",
|
|
1718
|
+
"vnode-before-update",
|
|
1719
|
+
"vnode-updated",
|
|
1720
|
+
"vnode-before-unmount",
|
|
1721
|
+
"vnode-unmounted"
|
|
1722
|
+
]);
|
|
1710
1723
|
function processEventListeners(instance) {
|
|
1711
1724
|
const emitsDefinition = instance.type.emits;
|
|
1712
1725
|
const declaredEmits = Array.isArray(emitsDefinition) ? emitsDefinition : Object.keys(emitsDefinition ?? {});
|
|
@@ -1716,15 +1729,17 @@ function processEventListeners(instance) {
|
|
|
1716
1729
|
const [prefix, ...eventNameParts] = key.split(/(?=[A-Z])/);
|
|
1717
1730
|
if (prefix === "on") {
|
|
1718
1731
|
const eventName = eventNameParts.join("-").toLowerCase();
|
|
1719
|
-
const
|
|
1732
|
+
const isBuiltIn = vnodeEvents.has(eventName);
|
|
1733
|
+
const isDeclared = declaredEmits.includes(eventName) || declaredEmits.includes((0, _vue_devtools_shared.camelize)(eventName));
|
|
1734
|
+
const text = isBuiltIn ? "✅ Built-in" : isDeclared ? "✅ Declared" : "⚠️ Not declared";
|
|
1720
1735
|
result.push({
|
|
1721
1736
|
type: "event listeners",
|
|
1722
1737
|
key: eventName,
|
|
1723
1738
|
value: { _custom: {
|
|
1724
|
-
displayText:
|
|
1725
|
-
key:
|
|
1726
|
-
value:
|
|
1727
|
-
tooltipText: !isDeclared ? `The event <code>${eventName}</code> is not declared in the <code>emits</code> option. It will leak into the component's attributes (<code>$attrs</code>).` : null
|
|
1739
|
+
displayText: text,
|
|
1740
|
+
key: text,
|
|
1741
|
+
value: text,
|
|
1742
|
+
tooltipText: isBuiltIn ? `The event <code>${escape(eventName)}</code> is part of Vue and doesn't need to be declared by the component` : !isDeclared ? `The event <code>${escape(eventName)}</code> is not declared in the <code>emits</code> option. It will leak into the component's attributes (<code>$attrs</code>).` : null
|
|
1728
1743
|
} }
|
|
1729
1744
|
});
|
|
1730
1745
|
}
|
|
@@ -1763,7 +1778,7 @@ var ComponentFilter = class {
|
|
|
1763
1778
|
*/
|
|
1764
1779
|
isQualified(instance) {
|
|
1765
1780
|
const name = getInstanceName(instance);
|
|
1766
|
-
return (0,
|
|
1781
|
+
return (0, _vue_devtools_shared.classify)(name).toLowerCase().includes(this.filter) || (0, _vue_devtools_shared.kebabize)(name).toLowerCase().includes(this.filter);
|
|
1767
1782
|
}
|
|
1768
1783
|
};
|
|
1769
1784
|
function createComponentFilter(filterText) {
|
|
@@ -2024,7 +2039,7 @@ function performanceMarkEnd(api, app, uid, vm, type, time) {
|
|
|
2024
2039
|
//#region src/core/timeline/index.ts
|
|
2025
2040
|
const COMPONENT_EVENT_LAYER_ID = "component-event";
|
|
2026
2041
|
function setupBuiltinTimelineLayers(api) {
|
|
2027
|
-
if (!
|
|
2042
|
+
if (!_vue_devtools_shared.isBrowser) return;
|
|
2028
2043
|
api.addTimelineLayer({
|
|
2029
2044
|
id: "mouse",
|
|
2030
2045
|
label: "Mouse",
|
|
@@ -2264,7 +2279,7 @@ function createComponentsDevToolsPlugin(app) {
|
|
|
2264
2279
|
|
|
2265
2280
|
//#endregion
|
|
2266
2281
|
//#region src/core/plugin/index.ts
|
|
2267
|
-
|
|
2282
|
+
_vue_devtools_shared.target.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__ ??= /* @__PURE__ */ new Set();
|
|
2268
2283
|
function setupDevToolsPlugin(pluginDescriptor, setupFn) {
|
|
2269
2284
|
return hook.setupDevToolsPlugin(pluginDescriptor, setupFn);
|
|
2270
2285
|
}
|
|
@@ -2284,12 +2299,12 @@ function callDevToolsPluginSetupFn(plugin, app) {
|
|
|
2284
2299
|
setupFn(api);
|
|
2285
2300
|
}
|
|
2286
2301
|
function removeRegisteredPluginApp(app) {
|
|
2287
|
-
|
|
2302
|
+
_vue_devtools_shared.target.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.delete(app);
|
|
2288
2303
|
}
|
|
2289
2304
|
function registerDevToolsPlugin(app, options) {
|
|
2290
|
-
if (
|
|
2305
|
+
if (_vue_devtools_shared.target.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.has(app)) return;
|
|
2291
2306
|
if (devtoolsState.highPerfModeEnabled && !options?.inspectingComponent) return;
|
|
2292
|
-
|
|
2307
|
+
_vue_devtools_shared.target.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.add(app);
|
|
2293
2308
|
devtoolsPluginBuffer.forEach((plugin) => {
|
|
2294
2309
|
callDevToolsPluginSetupFn(plugin, app);
|
|
2295
2310
|
});
|
|
@@ -2299,16 +2314,16 @@ function registerDevToolsPlugin(app, options) {
|
|
|
2299
2314
|
//#region src/ctx/router.ts
|
|
2300
2315
|
const ROUTER_KEY = "__VUE_DEVTOOLS_ROUTER__";
|
|
2301
2316
|
const ROUTER_INFO_KEY = "__VUE_DEVTOOLS_ROUTER_INFO__";
|
|
2302
|
-
|
|
2317
|
+
_vue_devtools_shared.target[ROUTER_INFO_KEY] ??= {
|
|
2303
2318
|
currentRoute: null,
|
|
2304
2319
|
routes: []
|
|
2305
2320
|
};
|
|
2306
|
-
|
|
2307
|
-
const devtoolsRouterInfo = new Proxy(
|
|
2308
|
-
return
|
|
2321
|
+
_vue_devtools_shared.target[ROUTER_KEY] ??= {};
|
|
2322
|
+
const devtoolsRouterInfo = new Proxy(_vue_devtools_shared.target[ROUTER_INFO_KEY], { get(target$21, property) {
|
|
2323
|
+
return _vue_devtools_shared.target[ROUTER_INFO_KEY][property];
|
|
2309
2324
|
} });
|
|
2310
|
-
const devtoolsRouter = new Proxy(
|
|
2311
|
-
if (property === "value") return
|
|
2325
|
+
const devtoolsRouter = new Proxy(_vue_devtools_shared.target[ROUTER_KEY], { get(target$21, property) {
|
|
2326
|
+
if (property === "value") return _vue_devtools_shared.target[ROUTER_KEY];
|
|
2312
2327
|
} });
|
|
2313
2328
|
|
|
2314
2329
|
//#endregion
|
|
@@ -2352,11 +2367,11 @@ function normalizeRouterInfo(appRecord, activeAppRecord$1) {
|
|
|
2352
2367
|
const routes = filterRoutes(getRoutes(router));
|
|
2353
2368
|
const c = console.warn;
|
|
2354
2369
|
console.warn = () => {};
|
|
2355
|
-
|
|
2356
|
-
currentRoute: currentRoute ? (0,
|
|
2357
|
-
routes: (0,
|
|
2370
|
+
_vue_devtools_shared.target[ROUTER_INFO_KEY] = {
|
|
2371
|
+
currentRoute: currentRoute ? (0, _vue_devtools_shared.deepClone)(currentRoute) : {},
|
|
2372
|
+
routes: (0, _vue_devtools_shared.deepClone)(routes)
|
|
2358
2373
|
};
|
|
2359
|
-
|
|
2374
|
+
_vue_devtools_shared.target[ROUTER_KEY] = router;
|
|
2360
2375
|
console.warn = c;
|
|
2361
2376
|
}
|
|
2362
2377
|
init();
|
|
@@ -2364,7 +2379,7 @@ function normalizeRouterInfo(appRecord, activeAppRecord$1) {
|
|
|
2364
2379
|
if (activeAppRecord$1.value?.app !== appRecord.app) return;
|
|
2365
2380
|
init();
|
|
2366
2381
|
if (devtoolsState.highPerfModeEnabled) return;
|
|
2367
|
-
devtoolsContext.hooks.callHook(DevToolsMessagingHookKeys.ROUTER_INFO_UPDATED, { state:
|
|
2382
|
+
devtoolsContext.hooks.callHook(DevToolsMessagingHookKeys.ROUTER_INFO_UPDATED, { state: _vue_devtools_shared.target[ROUTER_INFO_KEY] });
|
|
2368
2383
|
}, 200));
|
|
2369
2384
|
}
|
|
2370
2385
|
|
|
@@ -2453,7 +2468,7 @@ function createDevToolsApi(hooks$1) {
|
|
|
2453
2468
|
const instance = getComponentInstance(activeAppRecord.value, instanceId);
|
|
2454
2469
|
if (instance) {
|
|
2455
2470
|
const [el] = getRootElementsFromComponentInstance(instance);
|
|
2456
|
-
if (el)
|
|
2471
|
+
if (el) _vue_devtools_shared.target.__VUE_DEVTOOLS_INSPECT_DOM_TARGET__ = el;
|
|
2457
2472
|
}
|
|
2458
2473
|
},
|
|
2459
2474
|
updatePluginSettings(pluginId, key, value) {
|
|
@@ -2470,13 +2485,13 @@ function createDevToolsApi(hooks$1) {
|
|
|
2470
2485
|
|
|
2471
2486
|
//#endregion
|
|
2472
2487
|
//#region src/ctx/env.ts
|
|
2473
|
-
|
|
2488
|
+
_vue_devtools_shared.target.__VUE_DEVTOOLS_ENV__ ??= { vitePluginDetected: false };
|
|
2474
2489
|
function getDevToolsEnv() {
|
|
2475
|
-
return
|
|
2490
|
+
return _vue_devtools_shared.target.__VUE_DEVTOOLS_ENV__;
|
|
2476
2491
|
}
|
|
2477
2492
|
function setDevToolsEnv(env) {
|
|
2478
|
-
|
|
2479
|
-
...
|
|
2493
|
+
_vue_devtools_shared.target.__VUE_DEVTOOLS_ENV__ = {
|
|
2494
|
+
..._vue_devtools_shared.target.__VUE_DEVTOOLS_ENV__,
|
|
2480
2495
|
...env
|
|
2481
2496
|
};
|
|
2482
2497
|
}
|
|
@@ -2484,7 +2499,7 @@ function setDevToolsEnv(env) {
|
|
|
2484
2499
|
//#endregion
|
|
2485
2500
|
//#region src/ctx/index.ts
|
|
2486
2501
|
const hooks = createDevToolsCtxHooks();
|
|
2487
|
-
|
|
2502
|
+
_vue_devtools_shared.target.__VUE_DEVTOOLS_KIT_CONTEXT__ ??= {
|
|
2488
2503
|
hooks,
|
|
2489
2504
|
get state() {
|
|
2490
2505
|
return {
|
|
@@ -2496,12 +2511,13 @@ __vue_devtools_shared.target.__VUE_DEVTOOLS_KIT_CONTEXT__ ??= {
|
|
|
2496
2511
|
},
|
|
2497
2512
|
api: createDevToolsApi(hooks)
|
|
2498
2513
|
};
|
|
2499
|
-
const devtoolsContext =
|
|
2514
|
+
const devtoolsContext = _vue_devtools_shared.target.__VUE_DEVTOOLS_KIT_CONTEXT__;
|
|
2500
2515
|
|
|
2501
2516
|
//#endregion
|
|
2502
2517
|
//#region ../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/lib/speakingurl.js
|
|
2503
|
-
var require_speakingurl$1 = /* @__PURE__ */
|
|
2518
|
+
var require_speakingurl$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
2504
2519
|
(function(root) {
|
|
2520
|
+
"use strict";
|
|
2505
2521
|
/**
|
|
2506
2522
|
* charMap
|
|
2507
2523
|
* @type {Object}
|
|
@@ -3962,18 +3978,18 @@ var require_speakingurl$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pn
|
|
|
3962
3978
|
}
|
|
3963
3979
|
} catch (e) {}
|
|
3964
3980
|
})(exports);
|
|
3965
|
-
})
|
|
3981
|
+
}));
|
|
3966
3982
|
|
|
3967
3983
|
//#endregion
|
|
3968
3984
|
//#region ../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/index.js
|
|
3969
|
-
var require_speakingurl = /* @__PURE__ */
|
|
3985
|
+
var require_speakingurl = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
3970
3986
|
module.exports = require_speakingurl$1();
|
|
3971
|
-
})
|
|
3987
|
+
}));
|
|
3972
3988
|
|
|
3973
3989
|
//#endregion
|
|
3974
3990
|
//#region src/core/app/index.ts
|
|
3975
3991
|
var import_speakingurl = /* @__PURE__ */ __toESM(require_speakingurl(), 1);
|
|
3976
|
-
const appRecordInfo =
|
|
3992
|
+
const appRecordInfo = _vue_devtools_shared.target.__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__ ??= {
|
|
3977
3993
|
id: 0,
|
|
3978
3994
|
appIds: /* @__PURE__ */ new Set()
|
|
3979
3995
|
};
|
|
@@ -4017,7 +4033,7 @@ function createAppRecord(app, types) {
|
|
|
4017
4033
|
instanceMap: /* @__PURE__ */ new Map(),
|
|
4018
4034
|
perfGroupIds: /* @__PURE__ */ new Map(),
|
|
4019
4035
|
rootInstance,
|
|
4020
|
-
iframe:
|
|
4036
|
+
iframe: _vue_devtools_shared.isBrowser && document !== el?.ownerDocument ? el?.ownerDocument?.location?.pathname : void 0
|
|
4021
4037
|
};
|
|
4022
4038
|
app.__VUE_DEVTOOLS_NEXT_APP_RECORD__ = record;
|
|
4023
4039
|
const rootId = `${record.id}:root`;
|
|
@@ -4102,19 +4118,19 @@ function detectIframeApp(target$21, inIframe = false) {
|
|
|
4102
4118
|
//#endregion
|
|
4103
4119
|
//#region src/core/index.ts
|
|
4104
4120
|
function initDevTools() {
|
|
4105
|
-
detectIframeApp(
|
|
4121
|
+
detectIframeApp(_vue_devtools_shared.target);
|
|
4106
4122
|
updateDevToolsState({ vitePluginDetected: getDevToolsEnv().vitePluginDetected });
|
|
4107
|
-
const isDevToolsNext =
|
|
4108
|
-
if (
|
|
4123
|
+
const isDevToolsNext = _vue_devtools_shared.target.__VUE_DEVTOOLS_GLOBAL_HOOK__?.id === "vue-devtools-next";
|
|
4124
|
+
if (_vue_devtools_shared.target.__VUE_DEVTOOLS_GLOBAL_HOOK__ && isDevToolsNext) return;
|
|
4109
4125
|
const _devtoolsHook = createDevToolsHook();
|
|
4110
|
-
if (
|
|
4111
|
-
|
|
4112
|
-
|
|
4126
|
+
if (_vue_devtools_shared.target.__VUE_DEVTOOLS_HOOK_REPLAY__) try {
|
|
4127
|
+
_vue_devtools_shared.target.__VUE_DEVTOOLS_HOOK_REPLAY__.forEach((cb) => cb(_devtoolsHook));
|
|
4128
|
+
_vue_devtools_shared.target.__VUE_DEVTOOLS_HOOK_REPLAY__ = [];
|
|
4113
4129
|
} catch (e) {
|
|
4114
4130
|
console.error("[vue-devtools] Error during hook replay", e);
|
|
4115
4131
|
}
|
|
4116
4132
|
_devtoolsHook.once("init", (Vue) => {
|
|
4117
|
-
|
|
4133
|
+
_vue_devtools_shared.target.__VUE_DEVTOOLS_VUE2_APP_DETECTED__ = true;
|
|
4118
4134
|
console.log("%c[_____Vue DevTools v7 log_____]", "color: red; font-bold: 600; font-size: 16px;");
|
|
4119
4135
|
console.log("%cVue DevTools v7 detected in your Vue2 project. v7 only supports Vue3 and will not work.", "font-bold: 500; font-size: 14px;");
|
|
4120
4136
|
const legacyChromeUrl = "https://chromewebstore.google.com/detail/vuejs-devtools/iaajmlceplecbljialhhkmedjlpdblhp";
|
|
@@ -4162,17 +4178,17 @@ function initDevTools() {
|
|
|
4162
4178
|
setActiveAppRecord(activeRecords[0]);
|
|
4163
4179
|
devtoolsContext.hooks.callHook(DevToolsMessagingHookKeys.SEND_ACTIVE_APP_UNMOUNTED_TO_CLIENT);
|
|
4164
4180
|
}
|
|
4165
|
-
|
|
4181
|
+
_vue_devtools_shared.target.__VUE_DEVTOOLS_GLOBAL_HOOK__.apps.splice(_vue_devtools_shared.target.__VUE_DEVTOOLS_GLOBAL_HOOK__.apps.indexOf(app), 1);
|
|
4166
4182
|
removeRegisteredPluginApp(app);
|
|
4167
4183
|
});
|
|
4168
4184
|
subscribeDevToolsHook(_devtoolsHook);
|
|
4169
|
-
if (!
|
|
4185
|
+
if (!_vue_devtools_shared.target.__VUE_DEVTOOLS_GLOBAL_HOOK__) Object.defineProperty(_vue_devtools_shared.target, "__VUE_DEVTOOLS_GLOBAL_HOOK__", {
|
|
4170
4186
|
get() {
|
|
4171
4187
|
return _devtoolsHook;
|
|
4172
4188
|
},
|
|
4173
4189
|
configurable: true
|
|
4174
4190
|
});
|
|
4175
|
-
else if (!
|
|
4191
|
+
else if (!_vue_devtools_shared.isNuxtApp) Object.assign(__VUE_DEVTOOLS_GLOBAL_HOOK__, _devtoolsHook);
|
|
4176
4192
|
}
|
|
4177
4193
|
function onDevToolsClientConnected(fn) {
|
|
4178
4194
|
return new Promise((resolve) => {
|
|
@@ -4234,7 +4250,7 @@ function revive(val) {
|
|
|
4234
4250
|
return Symbol.for(string);
|
|
4235
4251
|
} else if (specialTypeRE.test(val)) {
|
|
4236
4252
|
const [, type, string, , details] = specialTypeRE.exec(val);
|
|
4237
|
-
const result = new
|
|
4253
|
+
const result = new _vue_devtools_shared.target[type](string);
|
|
4238
4254
|
if (type === "Error" && details) result.stack = details;
|
|
4239
4255
|
return result;
|
|
4240
4256
|
} else return val;
|
|
@@ -4326,7 +4342,7 @@ function updateDevToolsClientDetected(params) {
|
|
|
4326
4342
|
};
|
|
4327
4343
|
toggleHighPerfMode(!Object.values(devtoolsState.devtoolsClientDetected).some(Boolean));
|
|
4328
4344
|
}
|
|
4329
|
-
|
|
4345
|
+
_vue_devtools_shared.target.__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__ ??= updateDevToolsClientDetected;
|
|
4330
4346
|
|
|
4331
4347
|
//#endregion
|
|
4332
4348
|
//#region ../../node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/double-indexed-kv.js
|
|
@@ -4747,17 +4763,17 @@ const setDeep = (object, path, mapper) => {
|
|
|
4747
4763
|
|
|
4748
4764
|
//#endregion
|
|
4749
4765
|
//#region ../../node_modules/.pnpm/superjson@2.2.2/node_modules/superjson/dist/plainer.js
|
|
4750
|
-
function traverse(tree, walker
|
|
4766
|
+
function traverse(tree, walker, origin = []) {
|
|
4751
4767
|
if (!tree) return;
|
|
4752
4768
|
if (!isArray$2(tree)) {
|
|
4753
|
-
forEach(tree, (subtree, key) => traverse(subtree, walker
|
|
4769
|
+
forEach(tree, (subtree, key) => traverse(subtree, walker, [...origin, ...parsePath(key)]));
|
|
4754
4770
|
return;
|
|
4755
4771
|
}
|
|
4756
4772
|
const [nodeValue, children] = tree;
|
|
4757
4773
|
if (children) forEach(children, (child, key) => {
|
|
4758
|
-
traverse(child, walker
|
|
4774
|
+
traverse(child, walker, [...origin, ...parsePath(key)]);
|
|
4759
4775
|
});
|
|
4760
|
-
walker
|
|
4776
|
+
walker(nodeValue, origin);
|
|
4761
4777
|
}
|
|
4762
4778
|
function applyValueAnnotations(plain, annotations, superJson) {
|
|
4763
4779
|
traverse(annotations, (type, path) => {
|
|
@@ -5003,22 +5019,22 @@ const __DEVTOOLS_KIT_ELECTRON_MESSAGING_EVENT_KEY__ = {
|
|
|
5003
5019
|
SERVER_TO_PROXY: "server->proxy"
|
|
5004
5020
|
};
|
|
5005
5021
|
function getElectronClientContext() {
|
|
5006
|
-
return
|
|
5022
|
+
return _vue_devtools_shared.target[__ELECTRON_CLIENT_CONTEXT__];
|
|
5007
5023
|
}
|
|
5008
5024
|
function setElectronClientContext(context) {
|
|
5009
|
-
|
|
5025
|
+
_vue_devtools_shared.target[__ELECTRON_CLIENT_CONTEXT__] = context;
|
|
5010
5026
|
}
|
|
5011
5027
|
function getElectronProxyContext() {
|
|
5012
|
-
return
|
|
5028
|
+
return _vue_devtools_shared.target[__ELECTRON_RPOXY_CONTEXT__];
|
|
5013
5029
|
}
|
|
5014
5030
|
function setElectronProxyContext(context) {
|
|
5015
|
-
|
|
5031
|
+
_vue_devtools_shared.target[__ELECTRON_RPOXY_CONTEXT__] = context;
|
|
5016
5032
|
}
|
|
5017
5033
|
function getElectronServerContext() {
|
|
5018
|
-
return
|
|
5034
|
+
return _vue_devtools_shared.target[__ELECTRON_SERVER_CONTEXT__];
|
|
5019
5035
|
}
|
|
5020
5036
|
function setElectronServerContext(context) {
|
|
5021
|
-
|
|
5037
|
+
_vue_devtools_shared.target[__ELECTRON_SERVER_CONTEXT__] = context;
|
|
5022
5038
|
}
|
|
5023
5039
|
|
|
5024
5040
|
//#endregion
|
|
@@ -5080,10 +5096,10 @@ const __DEVTOOLS_KIT_EXTENSION_MESSAGING_EVENT_KEY__ = {
|
|
|
5080
5096
|
SERVER_TO_PROXY: "server->proxy"
|
|
5081
5097
|
};
|
|
5082
5098
|
function getExtensionClientContext() {
|
|
5083
|
-
return
|
|
5099
|
+
return _vue_devtools_shared.target[__EXTENSION_CLIENT_CONTEXT__];
|
|
5084
5100
|
}
|
|
5085
5101
|
function setExtensionClientContext(context) {
|
|
5086
|
-
|
|
5102
|
+
_vue_devtools_shared.target[__EXTENSION_CLIENT_CONTEXT__] = context;
|
|
5087
5103
|
}
|
|
5088
5104
|
|
|
5089
5105
|
//#endregion
|
|
@@ -5180,16 +5196,16 @@ function createExtensionServerChannel() {
|
|
|
5180
5196
|
const __DEVTOOLS_KIT_IFRAME_MESSAGING_EVENT_KEY = "__devtools-kit-iframe-messaging-event-key__";
|
|
5181
5197
|
const __IFRAME_SERVER_CONTEXT__ = "iframe:server-context";
|
|
5182
5198
|
function getIframeServerContext() {
|
|
5183
|
-
return
|
|
5199
|
+
return _vue_devtools_shared.target[__IFRAME_SERVER_CONTEXT__];
|
|
5184
5200
|
}
|
|
5185
5201
|
function setIframeServerContext(context) {
|
|
5186
|
-
|
|
5202
|
+
_vue_devtools_shared.target[__IFRAME_SERVER_CONTEXT__] = context;
|
|
5187
5203
|
}
|
|
5188
5204
|
|
|
5189
5205
|
//#endregion
|
|
5190
5206
|
//#region src/messaging/presets/iframe/client.ts
|
|
5191
5207
|
function createIframeClientChannel() {
|
|
5192
|
-
if (!
|
|
5208
|
+
if (!_vue_devtools_shared.isBrowser) return {
|
|
5193
5209
|
post: (data) => {},
|
|
5194
5210
|
on: (handler) => {}
|
|
5195
5211
|
};
|
|
@@ -5210,7 +5226,7 @@ function createIframeClientChannel() {
|
|
|
5210
5226
|
//#endregion
|
|
5211
5227
|
//#region src/messaging/presets/iframe/server.ts
|
|
5212
5228
|
function createIframeServerChannel() {
|
|
5213
|
-
if (!
|
|
5229
|
+
if (!_vue_devtools_shared.isBrowser) return {
|
|
5214
5230
|
post: (data) => {},
|
|
5215
5231
|
on: (handler) => {}
|
|
5216
5232
|
};
|
|
@@ -5239,16 +5255,16 @@ const __DEVTOOLS_KIT_VITE_MESSAGING_EVENT_KEY = "__devtools-kit-vite-messaging-e
|
|
|
5239
5255
|
const __VITE_CLIENT_CONTEXT__ = "vite:client-context";
|
|
5240
5256
|
const __VITE_SERVER_CONTEXT__ = "vite:server-context";
|
|
5241
5257
|
function getViteClientContext() {
|
|
5242
|
-
return
|
|
5258
|
+
return _vue_devtools_shared.target[__VITE_CLIENT_CONTEXT__];
|
|
5243
5259
|
}
|
|
5244
5260
|
function setViteClientContext(context) {
|
|
5245
|
-
|
|
5261
|
+
_vue_devtools_shared.target[__VITE_CLIENT_CONTEXT__] = context;
|
|
5246
5262
|
}
|
|
5247
5263
|
function getViteServerContext() {
|
|
5248
|
-
return
|
|
5264
|
+
return _vue_devtools_shared.target[__VITE_SERVER_CONTEXT__];
|
|
5249
5265
|
}
|
|
5250
5266
|
function setViteServerContext(context) {
|
|
5251
|
-
|
|
5267
|
+
_vue_devtools_shared.target[__VITE_SERVER_CONTEXT__] = context;
|
|
5252
5268
|
}
|
|
5253
5269
|
|
|
5254
5270
|
//#endregion
|
|
@@ -5282,35 +5298,35 @@ function createViteServerChannel() {
|
|
|
5282
5298
|
|
|
5283
5299
|
//#endregion
|
|
5284
5300
|
//#region src/messaging/index.ts
|
|
5285
|
-
|
|
5286
|
-
|
|
5287
|
-
|
|
5288
|
-
|
|
5289
|
-
|
|
5290
|
-
|
|
5301
|
+
_vue_devtools_shared.target.__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__ ??= [];
|
|
5302
|
+
_vue_devtools_shared.target.__VUE_DEVTOOLS_KIT_RPC_CLIENT__ ??= null;
|
|
5303
|
+
_vue_devtools_shared.target.__VUE_DEVTOOLS_KIT_RPC_SERVER__ ??= null;
|
|
5304
|
+
_vue_devtools_shared.target.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__ ??= null;
|
|
5305
|
+
_vue_devtools_shared.target.__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__ ??= null;
|
|
5306
|
+
_vue_devtools_shared.target.__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__ ??= null;
|
|
5291
5307
|
function setRpcClientToGlobal(rpc) {
|
|
5292
|
-
|
|
5308
|
+
_vue_devtools_shared.target.__VUE_DEVTOOLS_KIT_RPC_CLIENT__ = rpc;
|
|
5293
5309
|
}
|
|
5294
5310
|
function setRpcServerToGlobal(rpc) {
|
|
5295
|
-
|
|
5311
|
+
_vue_devtools_shared.target.__VUE_DEVTOOLS_KIT_RPC_SERVER__ = rpc;
|
|
5296
5312
|
}
|
|
5297
5313
|
function getRpcClient() {
|
|
5298
|
-
return
|
|
5314
|
+
return _vue_devtools_shared.target.__VUE_DEVTOOLS_KIT_RPC_CLIENT__;
|
|
5299
5315
|
}
|
|
5300
5316
|
function getRpcServer() {
|
|
5301
|
-
return
|
|
5317
|
+
return _vue_devtools_shared.target.__VUE_DEVTOOLS_KIT_RPC_SERVER__;
|
|
5302
5318
|
}
|
|
5303
5319
|
function setViteRpcClientToGlobal(rpc) {
|
|
5304
|
-
|
|
5320
|
+
_vue_devtools_shared.target.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__ = rpc;
|
|
5305
5321
|
}
|
|
5306
5322
|
function setViteRpcServerToGlobal(rpc) {
|
|
5307
|
-
|
|
5323
|
+
_vue_devtools_shared.target.__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__ = rpc;
|
|
5308
5324
|
}
|
|
5309
5325
|
function getViteRpcClient() {
|
|
5310
|
-
return
|
|
5326
|
+
return _vue_devtools_shared.target.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__;
|
|
5311
5327
|
}
|
|
5312
5328
|
function getViteRpcServer() {
|
|
5313
|
-
return
|
|
5329
|
+
return _vue_devtools_shared.target.__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__;
|
|
5314
5330
|
}
|
|
5315
5331
|
function getChannel(preset, host = "client") {
|
|
5316
5332
|
const channel = {
|
|
@@ -5396,7 +5412,7 @@ function getFunctionDetails(func) {
|
|
|
5396
5412
|
return { _custom: {
|
|
5397
5413
|
type: "function",
|
|
5398
5414
|
displayText: `<span style="opacity:.8;margin-right:5px;">function</span> <span style="white-space:nowrap;">${escape(typeof func.name === "string" ? func.name : "")}${args}</span>`,
|
|
5399
|
-
tooltipText: string.trim() ? `<pre>${string}</pre>` : null
|
|
5415
|
+
tooltipText: string.trim() ? `<pre>${escape(string)}</pre>` : null
|
|
5400
5416
|
} };
|
|
5401
5417
|
}
|
|
5402
5418
|
function getBigIntDetails(val) {
|
|
@@ -5550,7 +5566,7 @@ function getObjectDetails(object) {
|
|
|
5550
5566
|
type: stateTypeName?.toLowerCase(),
|
|
5551
5567
|
stateTypeName,
|
|
5552
5568
|
value,
|
|
5553
|
-
...raw ? { tooltipText: `<
|
|
5569
|
+
...raw ? { tooltipText: `<pre>${escape(raw)}</pre>` } : {}
|
|
5554
5570
|
} };
|
|
5555
5571
|
}
|
|
5556
5572
|
if (ensurePropertyExists(object, "__asyncLoader") && typeof object.__asyncLoader === "function") return { _custom: {
|