vite-plugin-vue-devtools 0.0.11 → 0.0.13
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/client/assets/{inspect-bb122b4f.js → IframeView.vue_vue_type_script_setup_true_lang-f8b8a14a.js} +3 -20
- package/dist/client/assets/{VCard-1be3aeea.js → VCard-17cdc61a.js} +1 -1
- package/dist/client/assets/{VIcon.vue_vue_type_script_setup_true_lang-1695d8db.js → VIcon.vue_vue_type_script_setup_true_lang-be88ec0c.js} +1 -1
- package/dist/client/assets/{VIconButton.vue_vue_type_script_setup_true_lang-2270abf3.js → VIconButton.vue_vue_type_script_setup_true_lang-c7772bf2.js} +2 -2
- package/dist/client/assets/{VIconTitle.vue_vue_type_script_setup_true_lang-572a0964.js → VIconTitle.vue_vue_type_script_setup_true_lang-3370c857.js} +1 -1
- package/dist/client/assets/{VPanelGrids-e35ca1b2.js → VPanelGrids-ebf42a7c.js} +1 -1
- package/dist/client/assets/{VTextInput.vue_vue_type_script_setup_true_lang-3b579cad.js → VTextInput.vue_vue_type_script_setup_true_lang-059a254a.js} +3 -3
- package/dist/client/assets/{__inspecting-a5f31235.js → __inspecting-bd7248d3.js} +2 -2
- package/dist/client/assets/{assets-fa06fb0b.js → assets-0e67cb8d.js} +8 -8
- package/dist/client/assets/{components-82b9b93b.js → components-ab0312bf.js} +7 -7
- package/dist/client/assets/documentations-744b76d4.js +255 -0
- package/dist/client/assets/{graph-c19b9cea.js → graph-132869aa.js} +2 -2
- package/dist/client/assets/{index-462602ed.js → index-29942063.js} +1 -1
- package/dist/client/assets/{index-35968ba5.js → index-85d2f156.js} +237 -30
- package/dist/client/assets/{index-80cdb5c4.css → index-890fc037.css} +1 -1
- package/dist/client/assets/inspect-c239e96b.js +21 -0
- package/dist/client/assets/{overview-b83e2480.js → overview-2ad06721.js} +5 -5
- package/dist/client/assets/{pages-968ac2c8.js → pages-eefab96d.js} +4 -4
- package/dist/client/assets/pinia-7ed2c830.svg +1 -0
- package/dist/client/assets/{pinia-745e8151.js → pinia-faf73d09.js} +5 -5
- package/dist/client/assets/{routes-7fb87fa2.js → routes-28ae4830.js} +7 -7
- package/dist/client/assets/{rpc-1f60df18.js → rpc-0c341c21.js} +1 -1
- package/dist/client/assets/{settings-ff419377.js → settings-b3328fda.js} +3 -3
- package/dist/client/assets/{splitpanes.es-fcdb2062.js → splitpanes.es-5efc4585.js} +4 -4
- package/dist/client/assets/{timeline-53aba586.js → timeline-6db09f05.js} +7 -7
- package/dist/client/assets/vue-5d4e674c.svg +1 -0
- package/dist/client/assets/vueuse-995374f6.svg +1 -0
- package/dist/client/index.html +3 -3
- package/dist/index.cjs +24 -1
- package/dist/index.mjs +24 -1
- package/package.json +1 -1
- package/src/node/Container.vue +148 -121
- package/src/node/app.js +1 -25
|
@@ -5235,6 +5235,198 @@ function getSequence(arr) {
|
|
|
5235
5235
|
}
|
|
5236
5236
|
|
|
5237
5237
|
const isTeleport = (type) => type.__isTeleport;
|
|
5238
|
+
const isTeleportDisabled = (props) => props && (props.disabled || props.disabled === '');
|
|
5239
|
+
const isTargetSVG = (target) => typeof SVGElement !== 'undefined' && target instanceof SVGElement;
|
|
5240
|
+
const resolveTarget = (props, select) => {
|
|
5241
|
+
const targetSelector = props && props.to;
|
|
5242
|
+
if (isString(targetSelector)) {
|
|
5243
|
+
if (!select) {
|
|
5244
|
+
return null;
|
|
5245
|
+
}
|
|
5246
|
+
else {
|
|
5247
|
+
const target = select(targetSelector);
|
|
5248
|
+
return target;
|
|
5249
|
+
}
|
|
5250
|
+
}
|
|
5251
|
+
else {
|
|
5252
|
+
return targetSelector;
|
|
5253
|
+
}
|
|
5254
|
+
};
|
|
5255
|
+
const TeleportImpl = {
|
|
5256
|
+
__isTeleport: true,
|
|
5257
|
+
process(n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, internals) {
|
|
5258
|
+
const { mc: mountChildren, pc: patchChildren, pbc: patchBlockChildren, o: { insert, querySelector, createText, createComment } } = internals;
|
|
5259
|
+
const disabled = isTeleportDisabled(n2.props);
|
|
5260
|
+
let { shapeFlag, children, dynamicChildren } = n2;
|
|
5261
|
+
if (n1 == null) {
|
|
5262
|
+
// insert anchors in the main view
|
|
5263
|
+
const placeholder = (n2.el = createText(''));
|
|
5264
|
+
const mainAnchor = (n2.anchor = createText(''));
|
|
5265
|
+
insert(placeholder, container, anchor);
|
|
5266
|
+
insert(mainAnchor, container, anchor);
|
|
5267
|
+
const target = (n2.target = resolveTarget(n2.props, querySelector));
|
|
5268
|
+
const targetAnchor = (n2.targetAnchor = createText(''));
|
|
5269
|
+
if (target) {
|
|
5270
|
+
insert(targetAnchor, target);
|
|
5271
|
+
// #2652 we could be teleporting from a non-SVG tree into an SVG tree
|
|
5272
|
+
isSVG = isSVG || isTargetSVG(target);
|
|
5273
|
+
}
|
|
5274
|
+
const mount = (container, anchor) => {
|
|
5275
|
+
// Teleport *always* has Array children. This is enforced in both the
|
|
5276
|
+
// compiler and vnode children normalization.
|
|
5277
|
+
if (shapeFlag & 16 /* ShapeFlags.ARRAY_CHILDREN */) {
|
|
5278
|
+
mountChildren(children, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);
|
|
5279
|
+
}
|
|
5280
|
+
};
|
|
5281
|
+
if (disabled) {
|
|
5282
|
+
mount(container, mainAnchor);
|
|
5283
|
+
}
|
|
5284
|
+
else if (target) {
|
|
5285
|
+
mount(target, targetAnchor);
|
|
5286
|
+
}
|
|
5287
|
+
}
|
|
5288
|
+
else {
|
|
5289
|
+
// update content
|
|
5290
|
+
n2.el = n1.el;
|
|
5291
|
+
const mainAnchor = (n2.anchor = n1.anchor);
|
|
5292
|
+
const target = (n2.target = n1.target);
|
|
5293
|
+
const targetAnchor = (n2.targetAnchor = n1.targetAnchor);
|
|
5294
|
+
const wasDisabled = isTeleportDisabled(n1.props);
|
|
5295
|
+
const currentContainer = wasDisabled ? container : target;
|
|
5296
|
+
const currentAnchor = wasDisabled ? mainAnchor : targetAnchor;
|
|
5297
|
+
isSVG = isSVG || isTargetSVG(target);
|
|
5298
|
+
if (dynamicChildren) {
|
|
5299
|
+
// fast path when the teleport happens to be a block root
|
|
5300
|
+
patchBlockChildren(n1.dynamicChildren, dynamicChildren, currentContainer, parentComponent, parentSuspense, isSVG, slotScopeIds);
|
|
5301
|
+
// even in block tree mode we need to make sure all root-level nodes
|
|
5302
|
+
// in the teleport inherit previous DOM references so that they can
|
|
5303
|
+
// be moved in future patches.
|
|
5304
|
+
traverseStaticChildren(n1, n2, true);
|
|
5305
|
+
}
|
|
5306
|
+
else if (!optimized) {
|
|
5307
|
+
patchChildren(n1, n2, currentContainer, currentAnchor, parentComponent, parentSuspense, isSVG, slotScopeIds, false);
|
|
5308
|
+
}
|
|
5309
|
+
if (disabled) {
|
|
5310
|
+
if (!wasDisabled) {
|
|
5311
|
+
// enabled -> disabled
|
|
5312
|
+
// move into main container
|
|
5313
|
+
moveTeleport(n2, container, mainAnchor, internals, 1 /* TeleportMoveTypes.TOGGLE */);
|
|
5314
|
+
}
|
|
5315
|
+
}
|
|
5316
|
+
else {
|
|
5317
|
+
// target changed
|
|
5318
|
+
if ((n2.props && n2.props.to) !== (n1.props && n1.props.to)) {
|
|
5319
|
+
const nextTarget = (n2.target = resolveTarget(n2.props, querySelector));
|
|
5320
|
+
if (nextTarget) {
|
|
5321
|
+
moveTeleport(n2, nextTarget, null, internals, 0 /* TeleportMoveTypes.TARGET_CHANGE */);
|
|
5322
|
+
}
|
|
5323
|
+
}
|
|
5324
|
+
else if (wasDisabled) {
|
|
5325
|
+
// disabled -> enabled
|
|
5326
|
+
// move into teleport target
|
|
5327
|
+
moveTeleport(n2, target, targetAnchor, internals, 1 /* TeleportMoveTypes.TOGGLE */);
|
|
5328
|
+
}
|
|
5329
|
+
}
|
|
5330
|
+
}
|
|
5331
|
+
updateCssVars(n2);
|
|
5332
|
+
},
|
|
5333
|
+
remove(vnode, parentComponent, parentSuspense, optimized, { um: unmount, o: { remove: hostRemove } }, doRemove) {
|
|
5334
|
+
const { shapeFlag, children, anchor, targetAnchor, target, props } = vnode;
|
|
5335
|
+
if (target) {
|
|
5336
|
+
hostRemove(targetAnchor);
|
|
5337
|
+
}
|
|
5338
|
+
// an unmounted teleport should always remove its children if not disabled
|
|
5339
|
+
if (doRemove || !isTeleportDisabled(props)) {
|
|
5340
|
+
hostRemove(anchor);
|
|
5341
|
+
if (shapeFlag & 16 /* ShapeFlags.ARRAY_CHILDREN */) {
|
|
5342
|
+
for (let i = 0; i < children.length; i++) {
|
|
5343
|
+
const child = children[i];
|
|
5344
|
+
unmount(child, parentComponent, parentSuspense, true, !!child.dynamicChildren);
|
|
5345
|
+
}
|
|
5346
|
+
}
|
|
5347
|
+
}
|
|
5348
|
+
},
|
|
5349
|
+
move: moveTeleport,
|
|
5350
|
+
hydrate: hydrateTeleport
|
|
5351
|
+
};
|
|
5352
|
+
function moveTeleport(vnode, container, parentAnchor, { o: { insert }, m: move }, moveType = 2 /* TeleportMoveTypes.REORDER */) {
|
|
5353
|
+
// move target anchor if this is a target change.
|
|
5354
|
+
if (moveType === 0 /* TeleportMoveTypes.TARGET_CHANGE */) {
|
|
5355
|
+
insert(vnode.targetAnchor, container, parentAnchor);
|
|
5356
|
+
}
|
|
5357
|
+
const { el, anchor, shapeFlag, children, props } = vnode;
|
|
5358
|
+
const isReorder = moveType === 2 /* TeleportMoveTypes.REORDER */;
|
|
5359
|
+
// move main view anchor if this is a re-order.
|
|
5360
|
+
if (isReorder) {
|
|
5361
|
+
insert(el, container, parentAnchor);
|
|
5362
|
+
}
|
|
5363
|
+
// if this is a re-order and teleport is enabled (content is in target)
|
|
5364
|
+
// do not move children. So the opposite is: only move children if this
|
|
5365
|
+
// is not a reorder, or the teleport is disabled
|
|
5366
|
+
if (!isReorder || isTeleportDisabled(props)) {
|
|
5367
|
+
// Teleport has either Array children or no children.
|
|
5368
|
+
if (shapeFlag & 16 /* ShapeFlags.ARRAY_CHILDREN */) {
|
|
5369
|
+
for (let i = 0; i < children.length; i++) {
|
|
5370
|
+
move(children[i], container, parentAnchor, 2 /* MoveType.REORDER */);
|
|
5371
|
+
}
|
|
5372
|
+
}
|
|
5373
|
+
}
|
|
5374
|
+
// move main view anchor if this is a re-order.
|
|
5375
|
+
if (isReorder) {
|
|
5376
|
+
insert(anchor, container, parentAnchor);
|
|
5377
|
+
}
|
|
5378
|
+
}
|
|
5379
|
+
function hydrateTeleport(node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized, { o: { nextSibling, parentNode, querySelector } }, hydrateChildren) {
|
|
5380
|
+
const target = (vnode.target = resolveTarget(vnode.props, querySelector));
|
|
5381
|
+
if (target) {
|
|
5382
|
+
// if multiple teleports rendered to the same target element, we need to
|
|
5383
|
+
// pick up from where the last teleport finished instead of the first node
|
|
5384
|
+
const targetNode = target._lpa || target.firstChild;
|
|
5385
|
+
if (vnode.shapeFlag & 16 /* ShapeFlags.ARRAY_CHILDREN */) {
|
|
5386
|
+
if (isTeleportDisabled(vnode.props)) {
|
|
5387
|
+
vnode.anchor = hydrateChildren(nextSibling(node), vnode, parentNode(node), parentComponent, parentSuspense, slotScopeIds, optimized);
|
|
5388
|
+
vnode.targetAnchor = targetNode;
|
|
5389
|
+
}
|
|
5390
|
+
else {
|
|
5391
|
+
vnode.anchor = nextSibling(node);
|
|
5392
|
+
// lookahead until we find the target anchor
|
|
5393
|
+
// we cannot rely on return value of hydrateChildren() because there
|
|
5394
|
+
// could be nested teleports
|
|
5395
|
+
let targetAnchor = targetNode;
|
|
5396
|
+
while (targetAnchor) {
|
|
5397
|
+
targetAnchor = nextSibling(targetAnchor);
|
|
5398
|
+
if (targetAnchor &&
|
|
5399
|
+
targetAnchor.nodeType === 8 &&
|
|
5400
|
+
targetAnchor.data === 'teleport anchor') {
|
|
5401
|
+
vnode.targetAnchor = targetAnchor;
|
|
5402
|
+
target._lpa =
|
|
5403
|
+
vnode.targetAnchor && nextSibling(vnode.targetAnchor);
|
|
5404
|
+
break;
|
|
5405
|
+
}
|
|
5406
|
+
}
|
|
5407
|
+
hydrateChildren(targetNode, vnode, target, parentComponent, parentSuspense, slotScopeIds, optimized);
|
|
5408
|
+
}
|
|
5409
|
+
}
|
|
5410
|
+
updateCssVars(vnode);
|
|
5411
|
+
}
|
|
5412
|
+
return vnode.anchor && nextSibling(vnode.anchor);
|
|
5413
|
+
}
|
|
5414
|
+
// Force-casted public typing for h and TSX props inference
|
|
5415
|
+
const Teleport = TeleportImpl;
|
|
5416
|
+
function updateCssVars(vnode) {
|
|
5417
|
+
// presence of .ut method indicates owner component uses css vars.
|
|
5418
|
+
// code path here can assume browser environment.
|
|
5419
|
+
const ctx = vnode.ctx;
|
|
5420
|
+
if (ctx && ctx.ut) {
|
|
5421
|
+
let node = vnode.children[0].el;
|
|
5422
|
+
while (node !== vnode.targetAnchor) {
|
|
5423
|
+
if (node.nodeType === 1)
|
|
5424
|
+
node.setAttribute('data-v-owner', ctx.uid);
|
|
5425
|
+
node = node.nextSibling;
|
|
5426
|
+
}
|
|
5427
|
+
ctx.ut();
|
|
5428
|
+
}
|
|
5429
|
+
}
|
|
5238
5430
|
|
|
5239
5431
|
const Fragment = Symbol(undefined);
|
|
5240
5432
|
const Text = Symbol(undefined);
|
|
@@ -14233,19 +14425,20 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
14233
14425
|
|
|
14234
14426
|
/* Injected with object hook! */
|
|
14235
14427
|
|
|
14236
|
-
const __pages_import_0__ = () => __vitePreload(() => import('./timeline-
|
|
14237
|
-
const __pages_import_1__ = () => __vitePreload(() => import('./settings-
|
|
14238
|
-
const __pages_import_2__ = () => __vitePreload(() => import('./routes-
|
|
14239
|
-
const __pages_import_3__ = () => __vitePreload(() => import('./pinia-
|
|
14240
|
-
const __pages_import_4__ = () => __vitePreload(() => import('./pages-
|
|
14241
|
-
const __pages_import_5__ = () => __vitePreload(() => import('./overview-
|
|
14242
|
-
const __pages_import_6__ = () => __vitePreload(() => import('./inspect-
|
|
14243
|
-
const __pages_import_8__ = () => __vitePreload(() => import('./graph-
|
|
14244
|
-
const __pages_import_9__ = () => __vitePreload(() => import('./
|
|
14245
|
-
const __pages_import_10__ = () => __vitePreload(() => import('./
|
|
14246
|
-
const __pages_import_11__ = () => __vitePreload(() => import('./
|
|
14247
|
-
|
|
14248
|
-
|
|
14428
|
+
const __pages_import_0__ = () => __vitePreload(() => import('./timeline-6db09f05.js'),true?["./timeline-6db09f05.js","./splitpanes.es-5efc4585.js","./VIcon.vue_vue_type_script_setup_true_lang-be88ec0c.js","./index-29942063.js","./VIconButton.vue_vue_type_script_setup_true_lang-c7772bf2.js","./VPanelGrids-ebf42a7c.js","./VCard-17cdc61a.js","./timeline-b315b2e0.css"]:void 0,import.meta.url);
|
|
14429
|
+
const __pages_import_1__ = () => __vitePreload(() => import('./settings-b3328fda.js'),true?["./settings-b3328fda.js","./VIcon.vue_vue_type_script_setup_true_lang-be88ec0c.js","./VIconTitle.vue_vue_type_script_setup_true_lang-3370c857.js"]:void 0,import.meta.url);
|
|
14430
|
+
const __pages_import_2__ = () => __vitePreload(() => import('./routes-28ae4830.js'),true?["./routes-28ae4830.js","./VPanelGrids-ebf42a7c.js","./VCard-17cdc61a.js","./splitpanes.es-5efc4585.js","./VIcon.vue_vue_type_script_setup_true_lang-be88ec0c.js","./index-29942063.js","./VIconButton.vue_vue_type_script_setup_true_lang-c7772bf2.js"]:void 0,import.meta.url);
|
|
14431
|
+
const __pages_import_3__ = () => __vitePreload(() => import('./pinia-faf73d09.js'),true?["./pinia-faf73d09.js","./splitpanes.es-5efc4585.js","./VIcon.vue_vue_type_script_setup_true_lang-be88ec0c.js","./index-29942063.js","./VIconButton.vue_vue_type_script_setup_true_lang-c7772bf2.js"]:void 0,import.meta.url);
|
|
14432
|
+
const __pages_import_4__ = () => __vitePreload(() => import('./pages-eefab96d.js'),true?["./pages-eefab96d.js","./VTextInput.vue_vue_type_script_setup_true_lang-059a254a.js","./VIconTitle.vue_vue_type_script_setup_true_lang-3370c857.js","./VIcon.vue_vue_type_script_setup_true_lang-be88ec0c.js","./VTextInput-52804693.css"]:void 0,import.meta.url);
|
|
14433
|
+
const __pages_import_5__ = () => __vitePreload(() => import('./overview-2ad06721.js'),true?["./overview-2ad06721.js","./VPanelGrids-ebf42a7c.js","./rpc-0c341c21.js","./index-29942063.js"]:void 0,import.meta.url);
|
|
14434
|
+
const __pages_import_6__ = () => __vitePreload(() => import('./inspect-c239e96b.js'),true?["./inspect-c239e96b.js","./IframeView.vue_vue_type_script_setup_true_lang-f8b8a14a.js","./rpc-0c341c21.js"]:void 0,import.meta.url);
|
|
14435
|
+
const __pages_import_8__ = () => __vitePreload(() => import('./graph-132869aa.js'),true?["./graph-132869aa.js","./fuse.esm-c317b696.js","./rpc-0c341c21.js"]:void 0,import.meta.url);
|
|
14436
|
+
const __pages_import_9__ = () => __vitePreload(() => import('./documentations-744b76d4.js'),true?["./documentations-744b76d4.js","./VCard-17cdc61a.js","./IframeView.vue_vue_type_script_setup_true_lang-f8b8a14a.js","./rpc-0c341c21.js"]:void 0,import.meta.url);
|
|
14437
|
+
const __pages_import_10__ = () => __vitePreload(() => import('./components-ab0312bf.js'),true?["./components-ab0312bf.js","./VPanelGrids-ebf42a7c.js","./VCard-17cdc61a.js","./splitpanes.es-5efc4585.js","./VIcon.vue_vue_type_script_setup_true_lang-be88ec0c.js","./index-29942063.js","./VIconButton.vue_vue_type_script_setup_true_lang-c7772bf2.js"]:void 0,import.meta.url);
|
|
14438
|
+
const __pages_import_11__ = () => __vitePreload(() => import('./assets-0e67cb8d.js'),true?["./assets-0e67cb8d.js","./VPanelGrids-ebf42a7c.js","./VCard-17cdc61a.js","./VIconButton.vue_vue_type_script_setup_true_lang-c7772bf2.js","./VIcon.vue_vue_type_script_setup_true_lang-be88ec0c.js","./rpc-0c341c21.js","./VTextInput.vue_vue_type_script_setup_true_lang-059a254a.js","./VIconTitle.vue_vue_type_script_setup_true_lang-3370c857.js","./VTextInput-52804693.css","./fuse.esm-c317b696.js"]:void 0,import.meta.url);
|
|
14439
|
+
const __pages_import_12__ = () => __vitePreload(() => import('./__inspecting-bd7248d3.js'),true?["./__inspecting-bd7248d3.js","./VPanelGrids-ebf42a7c.js"]:void 0,import.meta.url);
|
|
14440
|
+
|
|
14441
|
+
const routes$1 = [{"name":"timeline","path":"/timeline","component":__pages_import_0__,"props":true},{"name":"settings","path":"/settings","component":__pages_import_1__,"props":true},{"name":"routes","path":"/routes","component":__pages_import_2__,"props":true},{"name":"pinia","path":"/pinia","component":__pages_import_3__,"props":true},{"name":"pages","path":"/pages","component":__pages_import_4__,"props":true},{"name":"overview","path":"/overview","component":__pages_import_5__,"props":true},{"name":"inspect","path":"/inspect","component":__pages_import_6__,"props":true},{"name":"index","path":"/","component":_sfc_main$8,"props":true},{"name":"graph","path":"/graph","component":__pages_import_8__,"props":true},{"name":"documentations","path":"/documentations","component":__pages_import_9__,"props":true},{"name":"components","path":"/components","component":__pages_import_10__,"props":true},{"name":"assets","path":"/assets","component":__pages_import_11__,"props":true},{"name":"__inspecting","path":"/__inspecting","component":__pages_import_12__,"props":true}];
|
|
14249
14442
|
/* Injected with object hook! */
|
|
14250
14443
|
|
|
14251
14444
|
const _hoisted_1$4 = ["src", "alt"];
|
|
@@ -14284,10 +14477,11 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
14284
14477
|
/* Injected with object hook! */
|
|
14285
14478
|
|
|
14286
14479
|
const client$1 = ref({
|
|
14287
|
-
hook: window.parent
|
|
14480
|
+
hook: window.parent?.__VUE_DEVTOOLS_GLOBAL_HOOK__,
|
|
14288
14481
|
markClientLoaded: () => {
|
|
14289
14482
|
},
|
|
14290
|
-
hookBuffer: []
|
|
14483
|
+
hookBuffer: [],
|
|
14484
|
+
categorizedHookBuffer: {}
|
|
14291
14485
|
});
|
|
14292
14486
|
function useDevtoolsClient() {
|
|
14293
14487
|
return client$1;
|
|
@@ -14580,6 +14774,15 @@ const builtinTabs = [
|
|
|
14580
14774
|
title: "Timeline",
|
|
14581
14775
|
icon: "i-icon-park-outline:vertical-timeline"
|
|
14582
14776
|
},
|
|
14777
|
+
{
|
|
14778
|
+
title: "Inspector",
|
|
14779
|
+
icon: "i-carbon-select-window",
|
|
14780
|
+
category: "advanced",
|
|
14781
|
+
event: (client, router) => {
|
|
14782
|
+
router.replace("/__inspecting");
|
|
14783
|
+
client?.inspector?.enable();
|
|
14784
|
+
}
|
|
14785
|
+
},
|
|
14583
14786
|
{
|
|
14584
14787
|
path: "graph",
|
|
14585
14788
|
title: "Graph",
|
|
@@ -14593,13 +14796,10 @@ const builtinTabs = [
|
|
|
14593
14796
|
category: "advanced"
|
|
14594
14797
|
},
|
|
14595
14798
|
{
|
|
14596
|
-
|
|
14597
|
-
|
|
14598
|
-
|
|
14599
|
-
|
|
14600
|
-
router.replace("/__inspecting");
|
|
14601
|
-
client?.inspector?.enable();
|
|
14602
|
-
}
|
|
14799
|
+
path: "documentations",
|
|
14800
|
+
title: "Documentations",
|
|
14801
|
+
icon: "i-carbon-document",
|
|
14802
|
+
category: "advanced"
|
|
14603
14803
|
}
|
|
14604
14804
|
];
|
|
14605
14805
|
function useTabs() {
|
|
@@ -15462,11 +15662,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
15462
15662
|
hookApi.hook.on("init:vue:app", () => {
|
|
15463
15663
|
const client = useDevtoolsClient();
|
|
15464
15664
|
const frameState = useFrameState();
|
|
15465
|
-
const
|
|
15665
|
+
const categorizedHookBuffer = client.value.categorizedHookBuffer;
|
|
15466
15666
|
client.value.markClientLoaded();
|
|
15467
15667
|
hookApi.produce();
|
|
15468
|
-
hookApi.consume(
|
|
15469
|
-
initRoutes(
|
|
15668
|
+
hookApi.consume(categorizedHookBuffer.component ?? []);
|
|
15669
|
+
initRoutes(categorizedHookBuffer.router ?? []);
|
|
15470
15670
|
initPinia();
|
|
15471
15671
|
hookApi.hook.on("host:inspector:close", () => {
|
|
15472
15672
|
if (route.path === "/__inspecting")
|
|
@@ -15519,7 +15719,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
15519
15719
|
|
|
15520
15720
|
/* Injected with object hook! */
|
|
15521
15721
|
|
|
15522
|
-
function
|
|
15722
|
+
function normalizeHookBuffer(buffer) {
|
|
15723
|
+
return buffer.reduce((box, [type, ...args]) => {
|
|
15724
|
+
const categoryName = type.split(":")[0];
|
|
15725
|
+
(box[categoryName] ??= []).push([type, ...args]);
|
|
15726
|
+
return box;
|
|
15727
|
+
}, {});
|
|
15728
|
+
}
|
|
15729
|
+
function createDevToolsClient() {
|
|
15523
15730
|
window.__VUE_DEVTOOLS_VIEW__ = {
|
|
15524
15731
|
loaded: false,
|
|
15525
15732
|
setClient(_client) {
|
|
@@ -15528,7 +15735,8 @@ function initDevtoolsClient() {
|
|
|
15528
15735
|
client.value.markClientLoaded = () => {
|
|
15529
15736
|
this.loaded = true;
|
|
15530
15737
|
};
|
|
15531
|
-
|
|
15738
|
+
client.value.categorizedHookBuffer = normalizeHookBuffer(client.value.hookBuffer);
|
|
15739
|
+
initApp(client.value.categorizedHookBuffer.app?.[0] ?? []);
|
|
15532
15740
|
}
|
|
15533
15741
|
};
|
|
15534
15742
|
}
|
|
@@ -15544,8 +15752,7 @@ const main = '';
|
|
|
15544
15752
|
const __uno = '';
|
|
15545
15753
|
/* Injected with object hook! */
|
|
15546
15754
|
|
|
15547
|
-
|
|
15548
|
-
initDevtoolsClient();
|
|
15755
|
+
createDevToolsClient();
|
|
15549
15756
|
const app = createApp(_sfc_main);
|
|
15550
15757
|
const router = createRouter({
|
|
15551
15758
|
history: createMemoryHistory(),
|
|
@@ -15557,4 +15764,4 @@ app.mount("#app");
|
|
|
15557
15764
|
|
|
15558
15765
|
/* Injected with object hook! */
|
|
15559
15766
|
|
|
15560
|
-
export { computed as $, timelineLayer as A, activeTimelineEvents as B, activeTimelineEventIndex as C, toggleTimelineEventIndex as D, timelineEventDetails as E, Fragment as F, activeLayerId as G, toggleTimelineLayer as H, useVModel as I, vModelSelect as J, isRef as K, vModelCheckbox as L, withKeys as M, useCategorizedTabs as N, createTextVNode as O, useDevToolsSettings as P, _sfc_main$b as Q, _sfc_main$5 as R, _sfc_main$7 as S, router$1 as T, routeRecordMatcherState as U, activeRouteRecordMatcherState as V, activeRouteRecordIndex as W, toggleRouteRecordMatcher as X, __unplugin_components_1 as Y, ref as Z, _sfc_main$4 as _, popScopeId as a, piniaStoresCategory as a0, toRaw as a1, piniaState as a2, piniaGetters as a3, withModifiers as a4, onMounted as a5, currentRoute as a6, routes as a7, vueVersion as a8, __unplugin_components_0$1 as a9,
|
|
15767
|
+
export { computed as $, timelineLayer as A, activeTimelineEvents as B, activeTimelineEventIndex as C, toggleTimelineEventIndex as D, timelineEventDetails as E, Fragment as F, activeLayerId as G, toggleTimelineLayer as H, useVModel as I, vModelSelect as J, isRef as K, vModelCheckbox as L, withKeys as M, useCategorizedTabs as N, createTextVNode as O, useDevToolsSettings as P, _sfc_main$b as Q, _sfc_main$5 as R, _sfc_main$7 as S, router$1 as T, routeRecordMatcherState as U, activeRouteRecordMatcherState as V, activeRouteRecordIndex as W, toggleRouteRecordMatcher as X, __unplugin_components_1 as Y, ref as Z, _sfc_main$4 as _, popScopeId as a, piniaStoresCategory as a0, toRaw as a1, piniaState as a2, piniaGetters as a3, withModifiers as a4, onMounted as a5, currentRoute as a6, routes as a7, vueVersion as a8, __unplugin_components_0$1 as a9, useClipboard as aA, useNotification as aB, useEventListener as aC, useDevtoolsClient as aD, useStorage as aa, vModelText as ab, useDark as ac, watch as ad, Teleport as ae, useColorMode as af, reactive as ag, useElementBounding as ah, watchEffect as ai, onUnmounted as aj, shallowRef as ak, onVueInstanceUpdate as al, instance as am, nanoid as an, vShow as ao, h as ap, useElementSize as aq, onClickOutside as ar, Transition as as, useStyleTag as at, computedAsync as au, useTimeAgo as av, onKeyDown as aw, _export_sfc as ax, vModelDynamic as ay, __vitePreload as az, resolveDirective as b, createBlock as c, withDirectives as d, createElementBlock as e, renderSlot as f, createCommentVNode as g, withCtx as h, renderList as i, resolveDynamicComponent as j, mergeProps as k, normalizeStyle as l, markRaw as m, nextTick as n, openBlock as o, pushScopeId as p, normalizeClass as q, resolveComponent as r, shallowReactive as s, toHandlers as t, createVNode as u, defineComponent as v, withScopeId as w, createBaseVNode as x, toDisplayString as y, unref as z };
|