vite-plugin-vue-devtools 0.0.1-alpha.1 → 0.0.1-alpha.2

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.
Files changed (22) hide show
  1. package/dist/client/assets/{VCard-71dc6c0a.js → VCard-07e53519.js} +1 -1
  2. package/dist/client/assets/{VIcon.vue_vue_type_script_setup_true_lang-527d8187.js → VIcon.vue_vue_type_script_setup_true_lang-c622c694.js} +1 -1
  3. package/dist/client/assets/{VIconTitle.vue_vue_type_script_setup_true_lang-e9a02b1e.js → VIconTitle.vue_vue_type_script_setup_true_lang-5f26c7d7.js} +1 -1
  4. package/dist/client/assets/{VPanelGrids-0fa9ab66.js → VPanelGrids-2e4d7603.js} +1 -1
  5. package/dist/client/assets/{VTextInput.vue_vue_type_script_setup_true_lang-3269f8e0.js → VTextInput.vue_vue_type_script_setup_true_lang-11aa9678.js} +3 -3
  6. package/dist/client/assets/{__inspecting-e003e6f0.js → __inspecting-ca212e33.js} +2 -2
  7. package/dist/client/assets/{assets-d5f2037f.js → assets-7d94be21.js} +7 -7
  8. package/dist/client/assets/{components-ce0097f5.js → components-f04eb68e.js} +3 -3
  9. package/dist/client/assets/{graph-c308dc8c.js → graph-b9e504aa.js} +2 -2
  10. package/dist/client/assets/{index-bed0f7d1.js → index-ab9e9151.js} +91 -287
  11. package/dist/client/assets/{inspect-1db9f22a.js → inspect-d697adb8.js} +2 -2
  12. package/dist/client/assets/{overview-8afd7e36.js → overview-afb7d69a.js} +14 -11
  13. package/dist/client/assets/{pages-1eda0955.js → pages-43ddf646.js} +1 -1
  14. package/dist/client/assets/{pages-d25b8928.js → pages-4aa45253.js} +5 -5
  15. package/dist/client/assets/{pinia-622c9a72.js → pinia-178be7b6.js} +6 -6
  16. package/dist/client/assets/{routes-abe90ae8.js → routes-cd4e8e50.js} +5 -5
  17. package/dist/client/assets/{rpc-9c16d07a.js → rpc-c07563d7.js} +1 -1
  18. package/dist/client/assets/{settings-256557dc.js → settings-c9f4467d.js} +3 -3
  19. package/dist/client/assets/{splitpanes.es-012cdbb8.js → splitpanes.es-f2ab0d30.js} +2 -2
  20. package/dist/client/assets/{timeline-d6eff46a.js → timeline-6da2fbae.js} +5 -5
  21. package/dist/client/index.html +1 -1
  22. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { aw as _export_sfc, o as openBlock, c as createElementBlock, v as renderSlot } from './index-bed0f7d1.js';
1
+ import { ax as _export_sfc, o as openBlock, c as createElementBlock, v as renderSlot } from './index-ab9e9151.js';
2
2
 
3
3
  /* unplugin-vue-components disabled */const _sfc_main = {};
4
4
 
@@ -1,4 +1,4 @@
1
- import { d as defineComponent, o as openBlock, c as createElementBlock, n as normalizeClass } from './index-bed0f7d1.js';
1
+ import { d as defineComponent, o as openBlock, c as createElementBlock, n as normalizeClass } from './index-ab9e9151.js';
2
2
 
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "VIcon",
@@ -1,4 +1,4 @@
1
- import { d as defineComponent, o as openBlock, c as createElementBlock, n as normalizeClass, m as createCommentVNode, v as renderSlot, e as createBaseVNode, t as toDisplayString } from './index-bed0f7d1.js';
1
+ import { d as defineComponent, o as openBlock, c as createElementBlock, n as normalizeClass, m as createCommentVNode, v as renderSlot, e as createBaseVNode, t as toDisplayString } from './index-ab9e9151.js';
2
2
 
3
3
  const _hoisted_1 = {
4
4
  flex: "~ gap-3",
@@ -1,4 +1,4 @@
1
- import { aw as _export_sfc, o as openBlock, c as createElementBlock, v as renderSlot } from './index-bed0f7d1.js';
1
+ import { ax as _export_sfc, o as openBlock, c as createElementBlock, v as renderSlot } from './index-ab9e9151.js';
2
2
 
3
3
  /* unplugin-vue-components disabled */const _sfc_main = {};
4
4
 
@@ -1,6 +1,6 @@
1
- import { _ as _sfc_main$2 } from './VIconTitle.vue_vue_type_script_setup_true_lang-e9a02b1e.js';
2
- import { _ as _sfc_main$3 } from './VIcon.vue_vue_type_script_setup_true_lang-527d8187.js';
3
- import { d as defineComponent, s as useVModel, o as openBlock, c as createElementBlock, e as createBaseVNode, n as normalizeClass, b as createVNode, w as withCtx, v as renderSlot, m as createCommentVNode, a as createBlock, u as unref, x as withDirectives, F as Fragment, ax as resolveDirective, E as createTextVNode, t as toDisplayString, ay as pushScopeId, az as popScopeId, aw as _export_sfc, aA as vModelDynamic, an as mergeProps, z as isRef } from './index-bed0f7d1.js';
1
+ import { _ as _sfc_main$2 } from './VIconTitle.vue_vue_type_script_setup_true_lang-5f26c7d7.js';
2
+ import { _ as _sfc_main$3 } from './VIcon.vue_vue_type_script_setup_true_lang-c622c694.js';
3
+ import { d as defineComponent, s as useVModel, o as openBlock, c as createElementBlock, e as createBaseVNode, n as normalizeClass, b as createVNode, w as withCtx, v as renderSlot, m as createCommentVNode, a as createBlock, u as unref, x as withDirectives, F as Fragment, ay as resolveDirective, E as createTextVNode, t as toDisplayString, az as pushScopeId, aA as popScopeId, ax as _export_sfc, aB as vModelDynamic, ao as mergeProps, z as isRef } from './index-ab9e9151.js';
4
4
 
5
5
  const _withScopeId = (n) => (pushScopeId("data-v-cf2e46eb"), n = n(), popScopeId(), n);
6
6
  const _hoisted_1$1 = ["open"];
@@ -1,5 +1,5 @@
1
- import { _ as __unplugin_components_0 } from './VPanelGrids-0fa9ab66.js';
2
- import { d as defineComponent, aC as useEventListener, o as openBlock, a as createBlock, w as withCtx, e as createBaseVNode, aD as useClient } from './index-bed0f7d1.js';
1
+ import { _ as __unplugin_components_0 } from './VPanelGrids-2e4d7603.js';
2
+ import { d as defineComponent, aD as useEventListener, o as openBlock, a as createBlock, w as withCtx, e as createBaseVNode, aE as useClient } from './index-ab9e9151.js';
3
3
 
4
4
  const _hoisted_1 = /* @__PURE__ */ createBaseVNode("div", null, " Inspecting Vue components ", -1);
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,11 +1,11 @@
1
- import { _ as __unplugin_components_0 } from './VPanelGrids-0fa9ab66.js';
2
- import { _ as __unplugin_components_7 } from './VCard-71dc6c0a.js';
3
- import { _ as _sfc_main$a } from './VIcon.vue_vue_type_script_setup_true_lang-527d8187.js';
4
- import { d as defineComponent, o as openBlock, a as createBlock, w as withCtx, b as createVNode, an as mergeProps, ao as resolveDynamicComponent, P as ref, ap as useElementSize, aq as onClickOutside, c as createElementBlock, e as createBaseVNode, v as renderSlot, u as unref, m as createCommentVNode, ar as Transition, Q as computed, t as toDisplayString, n as normalizeClass, as as useStyleTag, N as normalizeStyle, at as computedAsync, au as useTimeAgo, F as Fragment, E as createTextVNode, _ as _sfc_main$b, av as onKeyDown, z as isRef, r as renderList } from './index-bed0f7d1.js';
5
- import { r as rpc } from './rpc-9c16d07a.js';
6
- import { _ as _sfc_main$c, a as __unplugin_components_3 } from './VTextInput.vue_vue_type_script_setup_true_lang-3269f8e0.js';
1
+ import { _ as __unplugin_components_0 } from './VPanelGrids-2e4d7603.js';
2
+ import { _ as __unplugin_components_7 } from './VCard-07e53519.js';
3
+ import { _ as _sfc_main$a } from './VIcon.vue_vue_type_script_setup_true_lang-c622c694.js';
4
+ import { d as defineComponent, o as openBlock, a as createBlock, w as withCtx, b as createVNode, ao as mergeProps, ap as resolveDynamicComponent, P as ref, aq as useElementSize, ar as onClickOutside, c as createElementBlock, e as createBaseVNode, v as renderSlot, u as unref, m as createCommentVNode, as as Transition, Q as computed, t as toDisplayString, n as normalizeClass, at as useStyleTag, N as normalizeStyle, au as computedAsync, av as useTimeAgo, F as Fragment, E as createTextVNode, _ as _sfc_main$b, aw as onKeyDown, z as isRef, r as renderList } from './index-ab9e9151.js';
5
+ import { r as rpc } from './rpc-c07563d7.js';
6
+ import { _ as _sfc_main$c, a as __unplugin_components_3 } from './VTextInput.vue_vue_type_script_setup_true_lang-11aa9678.js';
7
7
  import { F as Fuse } from './fuse.esm-c317b696.js';
8
- import './VIconTitle.vue_vue_type_script_setup_true_lang-e9a02b1e.js';
8
+ import './VIconTitle.vue_vue_type_script_setup_true_lang-5f26c7d7.js';
9
9
 
10
10
  const _sfc_main$9 = /* @__PURE__ */ defineComponent({
11
11
  __name: "VIconButton",
@@ -1,6 +1,6 @@
1
- import { a as _sfc_main$2, g, M, _ as _sfc_main$3 } from './splitpanes.es-012cdbb8.js';
2
- import { aa as getInstanceName, ab as classify, ac as kebabize, ad as isFragment, ae as camelize, af as returnError, ag as isBeingDestroyed, ah as getUniqueComponentId, ai as getRenderKey, P as ref, aj as shallowRef, Q as computed, d as defineComponent, W as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, u as unref, a as createBlock, n as normalizeClass, t as toDisplayString, N as normalizeStyle, F as Fragment, r as renderList, m as createCommentVNode, f as onMounted, ak as onVueInstanceUpdate, b as createVNode, w as withCtx, a2 as reactive, al as instance } from './index-bed0f7d1.js';
3
- import './VIcon.vue_vue_type_script_setup_true_lang-527d8187.js';
1
+ import { a as _sfc_main$2, g, M, _ as _sfc_main$3 } from './splitpanes.es-f2ab0d30.js';
2
+ import { ab as getInstanceName, ac as classify, ad as kebabize, ae as isFragment, af as camelize, ag as returnError, ah as isBeingDestroyed, ai as getUniqueComponentId, aj as getRenderKey, P as ref, ak as shallowRef, Q as computed, d as defineComponent, X as resolveComponent, o as openBlock, c as createElementBlock, e as createBaseVNode, u as unref, a as createBlock, n as normalizeClass, t as toDisplayString, N as normalizeStyle, F as Fragment, r as renderList, m as createCommentVNode, f as onMounted, al as onVueInstanceUpdate, b as createVNode, w as withCtx, a3 as reactive, am as instance } from './index-ab9e9151.js';
3
+ import './VIcon.vue_vue_type_script_setup_true_lang-c622c694.js';
4
4
 
5
5
  class ComponentFilter {
6
6
  filter;
@@ -1,6 +1,6 @@
1
- import { P as ref, a6 as useStorage, Q as computed, d as defineComponent, o as openBlock, c as createElementBlock, x as withDirectives, a7 as vModelText, u as unref, e as createBaseVNode, z as isRef, A as vModelCheckbox, a8 as useDark, f as onMounted, a9 as watch, b as createVNode } from './index-bed0f7d1.js';
1
+ import { P as ref, a7 as useStorage, Q as computed, d as defineComponent, o as openBlock, c as createElementBlock, x as withDirectives, a8 as vModelText, u as unref, e as createBaseVNode, z as isRef, A as vModelCheckbox, a9 as useDark, f as onMounted, aa as watch, b as createVNode } from './index-ab9e9151.js';
2
2
  import { F as Fuse } from './fuse.esm-c317b696.js';
3
- import { r as rpc } from './rpc-9c16d07a.js';
3
+ import { r as rpc } from './rpc-c07563d7.js';
4
4
 
5
5
  const list = ref(await rpc.componentGraph());
6
6
  const searchText = useStorage("vite-inspect-search-text", "");
@@ -10151,18 +10151,6 @@ function stringifyURL(stringifyQuery, location) {
10151
10151
  const query = location.query ? stringifyQuery(location.query) : '';
10152
10152
  return location.path + (query && '?') + query + (location.hash || '');
10153
10153
  }
10154
- /**
10155
- * Strips off the base from the beginning of a location.pathname in a non-case-sensitive way.
10156
- *
10157
- * @param pathname - location.pathname
10158
- * @param base - base to strip off
10159
- */
10160
- function stripBase(pathname, base) {
10161
- // no base or base is not found at the beginning
10162
- if (!base || !pathname.toLowerCase().startsWith(base.toLowerCase()))
10163
- return pathname;
10164
- return pathname.slice(base.length) || '/';
10165
- }
10166
10154
  /**
10167
10155
  * Checks if two RouteLocation are equal. This means that both locations are
10168
10156
  * pointing towards the same {@link RouteRecord} and that all `params`, `query`
@@ -10273,6 +10261,10 @@ var NavigationDirection;
10273
10261
  NavigationDirection["forward"] = "forward";
10274
10262
  NavigationDirection["unknown"] = "";
10275
10263
  })(NavigationDirection || (NavigationDirection = {}));
10264
+ /**
10265
+ * Starting location for Histories
10266
+ */
10267
+ const START = '';
10276
10268
  // Generic utils
10277
10269
  /**
10278
10270
  * Normalizes a base by removing any trailing slash and reading the base tag if
@@ -10359,283 +10351,92 @@ function getSavedScrollPosition(key) {
10359
10351
  scrollPositions.delete(key);
10360
10352
  return scroll;
10361
10353
  }
10362
- // TODO: RFC about how to save scroll position
10363
- /**
10364
- * ScrollBehavior instance used by the router to compute and restore the scroll
10365
- * position when navigating.
10366
- */
10367
- // export interface ScrollHandler<ScrollPositionEntry extends HistoryStateValue, ScrollPosition extends ScrollPositionEntry> {
10368
- // // returns a scroll position that can be saved in history
10369
- // compute(): ScrollPositionEntry
10370
- // // can take an extended ScrollPositionEntry
10371
- // scroll(position: ScrollPosition): void
10372
- // }
10373
- // export const scrollHandler: ScrollHandler<ScrollPosition> = {
10374
- // compute: computeScroll,
10375
- // scroll: scrollToPosition,
10376
- // }
10377
-
10378
- let createBaseLocation = () => location.protocol + '//' + location.host;
10354
+
10379
10355
  /**
10380
- * Creates a normalized history location from a window.location object
10381
- * @param location -
10356
+ * Creates an in-memory based history. The main purpose of this history is to handle SSR. It starts in a special location that is nowhere.
10357
+ * It's up to the user to replace that location with the starter location by either calling `router.push` or `router.replace`.
10358
+ *
10359
+ * @param base - Base applied to all urls, defaults to '/'
10360
+ * @returns a history object that can be passed to the router constructor
10382
10361
  */
10383
- function createCurrentLocation(base, location) {
10384
- const { pathname, search, hash } = location;
10385
- // allows hash bases like #, /#, #/, #!, #!/, /#!/, or even /folder#end
10386
- const hashPos = base.indexOf('#');
10387
- if (hashPos > -1) {
10388
- let slicePos = hash.includes(base.slice(hashPos))
10389
- ? base.slice(hashPos).length
10390
- : 1;
10391
- let pathFromHash = hash.slice(slicePos);
10392
- // prepend the starting slash to hash so the url starts with /#
10393
- if (pathFromHash[0] !== '/')
10394
- pathFromHash = '/' + pathFromHash;
10395
- return stripBase(pathFromHash, '');
10396
- }
10397
- const path = stripBase(pathname, base);
10398
- return path + search + hash;
10399
- }
10400
- function useHistoryListeners(base, historyState, currentLocation, replace) {
10362
+ function createMemoryHistory(base = '') {
10401
10363
  let listeners = [];
10402
- let teardowns = [];
10403
- // TODO: should it be a stack? a Dict. Check if the popstate listener
10404
- // can trigger twice
10405
- let pauseState = null;
10406
- const popStateHandler = ({ state, }) => {
10407
- const to = createCurrentLocation(base, location);
10408
- const from = currentLocation.value;
10409
- const fromState = historyState.value;
10410
- let delta = 0;
10411
- if (state) {
10412
- currentLocation.value = to;
10413
- historyState.value = state;
10414
- // ignore the popstate and reset the pauseState
10415
- if (pauseState && pauseState === from) {
10416
- pauseState = null;
10417
- return;
10418
- }
10419
- delta = fromState ? state.position - fromState.position : 0;
10364
+ let queue = [START];
10365
+ let position = 0;
10366
+ base = normalizeBase(base);
10367
+ function setLocation(location) {
10368
+ position++;
10369
+ if (position === queue.length) {
10370
+ // we are at the end, we can simply append a new entry
10371
+ queue.push(location);
10420
10372
  }
10421
10373
  else {
10422
- replace(to);
10374
+ // we are in the middle, we remove everything from here in the queue
10375
+ queue.splice(position);
10376
+ queue.push(location);
10423
10377
  }
10424
- // console.log({ deltaFromCurrent })
10425
- // Here we could also revert the navigation by calling history.go(-delta)
10426
- // this listener will have to be adapted to not trigger again and to wait for the url
10427
- // to be updated before triggering the listeners. Some kind of validation function would also
10428
- // need to be passed to the listeners so the navigation can be accepted
10429
- // call all listeners
10430
- listeners.forEach(listener => {
10431
- listener(currentLocation.value, from, {
10432
- delta,
10433
- type: NavigationType.pop,
10434
- direction: delta
10435
- ? delta > 0
10436
- ? NavigationDirection.forward
10437
- : NavigationDirection.back
10438
- : NavigationDirection.unknown,
10439
- });
10440
- });
10441
- };
10442
- function pauseListeners() {
10443
- pauseState = currentLocation.value;
10444
10378
  }
10445
- function listen(callback) {
10446
- // set up the listener and prepare teardown callbacks
10447
- listeners.push(callback);
10448
- const teardown = () => {
10449
- const index = listeners.indexOf(callback);
10450
- if (index > -1)
10451
- listeners.splice(index, 1);
10379
+ function triggerListeners(to, from, { direction, delta }) {
10380
+ const info = {
10381
+ direction,
10382
+ delta,
10383
+ type: NavigationType.pop,
10452
10384
  };
10453
- teardowns.push(teardown);
10454
- return teardown;
10455
- }
10456
- function beforeUnloadListener() {
10457
- const { history } = window;
10458
- if (!history.state)
10459
- return;
10460
- history.replaceState(assign({}, history.state, { scroll: computeScrollPosition() }), '');
10461
- }
10462
- function destroy() {
10463
- for (const teardown of teardowns)
10464
- teardown();
10465
- teardowns = [];
10466
- window.removeEventListener('popstate', popStateHandler);
10467
- window.removeEventListener('beforeunload', beforeUnloadListener);
10468
- }
10469
- // set up the listeners and prepare teardown callbacks
10470
- window.addEventListener('popstate', popStateHandler);
10471
- window.addEventListener('beforeunload', beforeUnloadListener);
10472
- return {
10473
- pauseListeners,
10474
- listen,
10475
- destroy,
10476
- };
10477
- }
10478
- /**
10479
- * Creates a state object
10480
- */
10481
- function buildState(back, current, forward, replaced = false, computeScroll = false) {
10482
- return {
10483
- back,
10484
- current,
10485
- forward,
10486
- replaced,
10487
- position: window.history.length,
10488
- scroll: computeScroll ? computeScrollPosition() : null,
10489
- };
10490
- }
10491
- function useHistoryStateNavigation(base) {
10492
- const { history, location } = window;
10493
- // private variables
10494
- const currentLocation = {
10495
- value: createCurrentLocation(base, location),
10496
- };
10497
- const historyState = { value: history.state };
10498
- // build current history entry as this is a fresh navigation
10499
- if (!historyState.value) {
10500
- changeLocation(currentLocation.value, {
10501
- back: null,
10502
- current: currentLocation.value,
10503
- forward: null,
10504
- // the length is off by one, we need to decrease it
10505
- position: history.length - 1,
10506
- replaced: true,
10507
- // don't add a scroll as the user may have an anchor, and we want
10508
- // scrollBehavior to be triggered without a saved position
10509
- scroll: null,
10510
- }, true);
10511
- }
10512
- function changeLocation(to, state, replace) {
10513
- /**
10514
- * if a base tag is provided, and we are on a normal domain, we have to
10515
- * respect the provided `base` attribute because pushState() will use it and
10516
- * potentially erase anything before the `#` like at
10517
- * https://github.com/vuejs/router/issues/685 where a base of
10518
- * `/folder/#` but a base of `/` would erase the `/folder/` section. If
10519
- * there is no host, the `<base>` tag makes no sense and if there isn't a
10520
- * base tag we can just use everything after the `#`.
10521
- */
10522
- const hashIndex = base.indexOf('#');
10523
- const url = hashIndex > -1
10524
- ? (location.host && document.querySelector('base')
10525
- ? base
10526
- : base.slice(hashIndex)) + to
10527
- : createBaseLocation() + base + to;
10528
- try {
10529
- // BROWSER QUIRK
10530
- // NOTE: Safari throws a SecurityError when calling this function 100 times in 30 seconds
10531
- history[replace ? 'replaceState' : 'pushState'](state, '', url);
10532
- historyState.value = state;
10533
- }
10534
- catch (err) {
10535
- {
10536
- console.error(err);
10537
- }
10538
- // Force the navigation, this also resets the call count
10539
- location[replace ? 'replace' : 'assign'](url);
10385
+ for (const callback of listeners) {
10386
+ callback(to, from, info);
10540
10387
  }
10541
10388
  }
10542
- function replace(to, data) {
10543
- const state = assign({}, history.state, buildState(historyState.value.back,
10544
- // keep back and forward entries but override current position
10545
- to, historyState.value.forward, true), data, { position: historyState.value.position });
10546
- changeLocation(to, state, true);
10547
- currentLocation.value = to;
10548
- }
10549
- function push(to, data) {
10550
- // Add to current entry the information of where we are going
10551
- // as well as saving the current position
10552
- const currentState = assign({},
10553
- // use current history state to gracefully handle a wrong call to
10554
- // history.replaceState
10555
- // https://github.com/vuejs/router/issues/366
10556
- historyState.value, history.state, {
10557
- forward: to,
10558
- scroll: computeScrollPosition(),
10559
- });
10560
- changeLocation(currentState.current, currentState, true);
10561
- const state = assign({}, buildState(currentLocation.value, to, null), { position: currentState.position + 1 }, data);
10562
- changeLocation(to, state, false);
10563
- currentLocation.value = to;
10564
- }
10565
- return {
10566
- location: currentLocation,
10567
- state: historyState,
10568
- push,
10569
- replace,
10570
- };
10571
- }
10572
- /**
10573
- * Creates an HTML5 history. Most common history for single page applications.
10574
- *
10575
- * @param base -
10576
- */
10577
- function createWebHistory(base) {
10578
- base = normalizeBase(base);
10579
- const historyNavigation = useHistoryStateNavigation(base);
10580
- const historyListeners = useHistoryListeners(base, historyNavigation.state, historyNavigation.location, historyNavigation.replace);
10581
- function go(delta, triggerListeners = true) {
10582
- if (!triggerListeners)
10583
- historyListeners.pauseListeners();
10584
- history.go(delta);
10585
- }
10586
- const routerHistory = assign({
10587
- // it's overridden right after
10588
- location: '',
10389
+ const routerHistory = {
10390
+ // rewritten by Object.defineProperty
10391
+ location: START,
10392
+ // TODO: should be kept in queue
10393
+ state: {},
10589
10394
  base,
10590
- go,
10591
10395
  createHref: createHref.bind(null, base),
10592
- }, historyNavigation, historyListeners);
10396
+ replace(to) {
10397
+ // remove current entry and decrement position
10398
+ queue.splice(position--, 1);
10399
+ setLocation(to);
10400
+ },
10401
+ push(to, data) {
10402
+ setLocation(to);
10403
+ },
10404
+ listen(callback) {
10405
+ listeners.push(callback);
10406
+ return () => {
10407
+ const index = listeners.indexOf(callback);
10408
+ if (index > -1)
10409
+ listeners.splice(index, 1);
10410
+ };
10411
+ },
10412
+ destroy() {
10413
+ listeners = [];
10414
+ queue = [START];
10415
+ position = 0;
10416
+ },
10417
+ go(delta, shouldTrigger = true) {
10418
+ const from = this.location;
10419
+ const direction =
10420
+ // we are considering delta === 0 going forward, but in abstract mode
10421
+ // using 0 for the delta doesn't make sense like it does in html5 where
10422
+ // it reloads the page
10423
+ delta < 0 ? NavigationDirection.back : NavigationDirection.forward;
10424
+ position = Math.max(0, Math.min(position + delta, queue.length - 1));
10425
+ if (shouldTrigger) {
10426
+ triggerListeners(this.location, from, {
10427
+ direction,
10428
+ delta,
10429
+ });
10430
+ }
10431
+ },
10432
+ };
10593
10433
  Object.defineProperty(routerHistory, 'location', {
10594
10434
  enumerable: true,
10595
- get: () => historyNavigation.location.value,
10596
- });
10597
- Object.defineProperty(routerHistory, 'state', {
10598
- enumerable: true,
10599
- get: () => historyNavigation.state.value,
10435
+ get: () => queue[position],
10600
10436
  });
10601
10437
  return routerHistory;
10602
10438
  }
10603
10439
 
10604
- /**
10605
- * Creates a hash history. Useful for web applications with no host (e.g. `file://`) or when configuring a server to
10606
- * handle any URL is not possible.
10607
- *
10608
- * @param base - optional base to provide. Defaults to `location.pathname + location.search` If there is a `<base>` tag
10609
- * in the `head`, its value will be ignored in favor of this parameter **but note it affects all the history.pushState()
10610
- * calls**, meaning that if you use a `<base>` tag, it's `href` value **has to match this parameter** (ignoring anything
10611
- * after the `#`).
10612
- *
10613
- * @example
10614
- * ```js
10615
- * // at https://example.com/folder
10616
- * createWebHashHistory() // gives a url of `https://example.com/folder#`
10617
- * createWebHashHistory('/folder/') // gives a url of `https://example.com/folder/#`
10618
- * // if the `#` is provided in the base, it won't be added by `createWebHashHistory`
10619
- * createWebHashHistory('/folder/#/app/') // gives a url of `https://example.com/folder/#/app/`
10620
- * // you should avoid doing this because it changes the original url and breaks copying urls
10621
- * createWebHashHistory('/other-folder/') // gives a url of `https://example.com/other-folder/#`
10622
- *
10623
- * // at file:///usr/etc/folder/index.html
10624
- * // for locations with no `host`, the base is ignored
10625
- * createWebHashHistory('/iAmIgnored') // gives a url of `file:///usr/etc/folder/index.html#`
10626
- * ```
10627
- */
10628
- function createWebHashHistory(base) {
10629
- // Make sure this implementation is fine in terms of encoding, specially for IE11
10630
- // for `file://`, directly use the pathname and ignore the base
10631
- // location.pathname contains an initial `/` even at the root: `https://example.com`
10632
- base = location.host ? base || location.pathname + location.search : '';
10633
- // allow the user to provide a `#` in the middle: `/base/#/app`
10634
- if (!base.includes('#'))
10635
- base += '#';
10636
- return createWebHistory(base);
10637
- }
10638
-
10639
10440
  function isRouteLocation(route) {
10640
10441
  return typeof route === 'string' || (route && typeof route === 'object');
10641
10442
  }
@@ -14263,7 +14064,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
14263
14064
  const router = useRouter();
14264
14065
  function visit() {
14265
14066
  isFirstVisit.value = false;
14266
- router.push("/overview");
14067
+ router.replace("/overview");
14267
14068
  }
14268
14069
  return (_ctx, _cache) => {
14269
14070
  const _component_Logo = __unplugin_components_0;
@@ -14301,17 +14102,17 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
14301
14102
 
14302
14103
  /* Injected with object hook! */
14303
14104
 
14304
- const __pages_import_0__ = () => __vitePreload(() => import('./timeline-d6eff46a.js'),true?["./timeline-d6eff46a.js","./splitpanes.es-012cdbb8.js","./VIcon.vue_vue_type_script_setup_true_lang-527d8187.js","./VPanelGrids-0fa9ab66.js","./VCard-71dc6c0a.js"]:void 0,import.meta.url);
14305
- const __pages_import_1__ = () => __vitePreload(() => import('./settings-256557dc.js'),true?["./settings-256557dc.js","./VIcon.vue_vue_type_script_setup_true_lang-527d8187.js","./VIconTitle.vue_vue_type_script_setup_true_lang-e9a02b1e.js"]:void 0,import.meta.url);
14306
- const __pages_import_2__ = () => __vitePreload(() => import('./routes-abe90ae8.js'),true?["./routes-abe90ae8.js","./VPanelGrids-0fa9ab66.js","./VCard-71dc6c0a.js","./splitpanes.es-012cdbb8.js","./VIcon.vue_vue_type_script_setup_true_lang-527d8187.js"]:void 0,import.meta.url);
14307
- const __pages_import_3__ = () => __vitePreload(() => import('./pinia-622c9a72.js'),true?["./pinia-622c9a72.js","./VPanelGrids-0fa9ab66.js","./VCard-71dc6c0a.js","./splitpanes.es-012cdbb8.js","./VIcon.vue_vue_type_script_setup_true_lang-527d8187.js"]:void 0,import.meta.url);
14308
- const __pages_import_4__ = () => __vitePreload(() => import('./pages-d25b8928.js'),true?["./pages-d25b8928.js","./VTextInput.vue_vue_type_script_setup_true_lang-3269f8e0.js","./VIconTitle.vue_vue_type_script_setup_true_lang-e9a02b1e.js","./VIcon.vue_vue_type_script_setup_true_lang-527d8187.js","./VTextInput-52804693.css","./pages-1eda0955.js"]:void 0,import.meta.url);
14309
- const __pages_import_5__ = () => __vitePreload(() => import('./overview-8afd7e36.js'),true?["./overview-8afd7e36.js","./VPanelGrids-0fa9ab66.js","./rpc-9c16d07a.js","./pages-1eda0955.js"]:void 0,import.meta.url);
14310
- const __pages_import_6__ = () => __vitePreload(() => import('./inspect-1db9f22a.js'),true?["./inspect-1db9f22a.js","./rpc-9c16d07a.js"]:void 0,import.meta.url);
14311
- const __pages_import_8__ = () => __vitePreload(() => import('./graph-c308dc8c.js'),true?["./graph-c308dc8c.js","./fuse.esm-c317b696.js","./rpc-9c16d07a.js"]:void 0,import.meta.url);
14312
- const __pages_import_9__ = () => __vitePreload(() => import('./components-ce0097f5.js'),true?["./components-ce0097f5.js","./splitpanes.es-012cdbb8.js","./VIcon.vue_vue_type_script_setup_true_lang-527d8187.js"]:void 0,import.meta.url);
14313
- const __pages_import_10__ = () => __vitePreload(() => import('./assets-d5f2037f.js'),true?["./assets-d5f2037f.js","./VPanelGrids-0fa9ab66.js","./VCard-71dc6c0a.js","./VIcon.vue_vue_type_script_setup_true_lang-527d8187.js","./rpc-9c16d07a.js","./VTextInput.vue_vue_type_script_setup_true_lang-3269f8e0.js","./VIconTitle.vue_vue_type_script_setup_true_lang-e9a02b1e.js","./VTextInput-52804693.css","./fuse.esm-c317b696.js"]:void 0,import.meta.url);
14314
- const __pages_import_11__ = () => __vitePreload(() => import('./__inspecting-e003e6f0.js'),true?["./__inspecting-e003e6f0.js","./VPanelGrids-0fa9ab66.js"]:void 0,import.meta.url);
14105
+ const __pages_import_0__ = () => __vitePreload(() => import('./timeline-6da2fbae.js'),true?["./timeline-6da2fbae.js","./splitpanes.es-f2ab0d30.js","./VIcon.vue_vue_type_script_setup_true_lang-c622c694.js","./VPanelGrids-2e4d7603.js","./VCard-07e53519.js"]:void 0,import.meta.url);
14106
+ const __pages_import_1__ = () => __vitePreload(() => import('./settings-c9f4467d.js'),true?["./settings-c9f4467d.js","./VIcon.vue_vue_type_script_setup_true_lang-c622c694.js","./VIconTitle.vue_vue_type_script_setup_true_lang-5f26c7d7.js"]:void 0,import.meta.url);
14107
+ const __pages_import_2__ = () => __vitePreload(() => import('./routes-cd4e8e50.js'),true?["./routes-cd4e8e50.js","./VPanelGrids-2e4d7603.js","./VCard-07e53519.js","./splitpanes.es-f2ab0d30.js","./VIcon.vue_vue_type_script_setup_true_lang-c622c694.js"]:void 0,import.meta.url);
14108
+ const __pages_import_3__ = () => __vitePreload(() => import('./pinia-178be7b6.js'),true?["./pinia-178be7b6.js","./VPanelGrids-2e4d7603.js","./VCard-07e53519.js","./splitpanes.es-f2ab0d30.js","./VIcon.vue_vue_type_script_setup_true_lang-c622c694.js"]:void 0,import.meta.url);
14109
+ const __pages_import_4__ = () => __vitePreload(() => import('./pages-4aa45253.js'),true?["./pages-4aa45253.js","./VTextInput.vue_vue_type_script_setup_true_lang-11aa9678.js","./VIconTitle.vue_vue_type_script_setup_true_lang-5f26c7d7.js","./VIcon.vue_vue_type_script_setup_true_lang-c622c694.js","./VTextInput-52804693.css","./pages-43ddf646.js"]:void 0,import.meta.url);
14110
+ const __pages_import_5__ = () => __vitePreload(() => import('./overview-afb7d69a.js'),true?["./overview-afb7d69a.js","./VPanelGrids-2e4d7603.js","./rpc-c07563d7.js","./pages-43ddf646.js"]:void 0,import.meta.url);
14111
+ const __pages_import_6__ = () => __vitePreload(() => import('./inspect-d697adb8.js'),true?["./inspect-d697adb8.js","./rpc-c07563d7.js"]:void 0,import.meta.url);
14112
+ const __pages_import_8__ = () => __vitePreload(() => import('./graph-b9e504aa.js'),true?["./graph-b9e504aa.js","./fuse.esm-c317b696.js","./rpc-c07563d7.js"]:void 0,import.meta.url);
14113
+ const __pages_import_9__ = () => __vitePreload(() => import('./components-f04eb68e.js'),true?["./components-f04eb68e.js","./splitpanes.es-f2ab0d30.js","./VIcon.vue_vue_type_script_setup_true_lang-c622c694.js"]:void 0,import.meta.url);
14114
+ const __pages_import_10__ = () => __vitePreload(() => import('./assets-7d94be21.js'),true?["./assets-7d94be21.js","./VPanelGrids-2e4d7603.js","./VCard-07e53519.js","./VIcon.vue_vue_type_script_setup_true_lang-c622c694.js","./rpc-c07563d7.js","./VTextInput.vue_vue_type_script_setup_true_lang-11aa9678.js","./VIconTitle.vue_vue_type_script_setup_true_lang-5f26c7d7.js","./VTextInput-52804693.css","./fuse.esm-c317b696.js"]:void 0,import.meta.url);
14115
+ const __pages_import_11__ = () => __vitePreload(() => import('./__inspecting-ca212e33.js'),true?["./__inspecting-ca212e33.js","./VPanelGrids-2e4d7603.js"]:void 0,import.meta.url);
14315
14116
 
14316
14117
  const routes = [{"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$6,"props":true},{"name":"graph","path":"/graph","component":__pages_import_8__,"props":true},{"name":"components","path":"/components","component":__pages_import_9__,"props":true},{"name":"assets","path":"/assets","component":__pages_import_10__,"props":true},{"name":"__inspecting","path":"/__inspecting","component":__pages_import_11__,"props":true}];
14317
14118
  /* Injected with object hook! */
@@ -14378,6 +14179,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
14378
14179
  ]),
14379
14180
  default: withCtx(() => [
14380
14181
  (openBlock(), createBlock(resolveDynamicComponent(__props.tab.path ? "RouterLink" : "button"), {
14182
+ replace: "",
14381
14183
  to: `/${__props.tab.path}`,
14382
14184
  flex: "~",
14383
14185
  hover: "bg-active",
@@ -14537,6 +14339,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
14537
14339
  _: 1
14538
14340
  }),
14539
14341
  createVNode(_component_RouterLink, {
14342
+ replace: "",
14540
14343
  class: "n-button-base active:n-button-active focus-visible:n-focus-base n-transition n-primary n-sm hover:n-button-hover n-disabled:n-disabled",
14541
14344
  to: "/settings"
14542
14345
  }, {
@@ -14621,7 +14424,7 @@ const builtinTabs = [
14621
14424
  icon: "i-carbon-select-window",
14622
14425
  category: "advanced",
14623
14426
  event: (client, router) => {
14624
- router.push("/__inspecting");
14427
+ router.replace("/__inspecting");
14625
14428
  client?.inspector?.enable();
14626
14429
  }
14627
14430
  }
@@ -14757,6 +14560,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
14757
14560
  createBaseVNode("div", _hoisted_8, [
14758
14561
  _hoisted_9,
14759
14562
  createVNode(_component_RouterLink, {
14563
+ replace: "",
14760
14564
  to: "/settings",
14761
14565
  flex: "~ items-center justify-center",
14762
14566
  hover: "bg-active",
@@ -15522,7 +15326,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
15522
15326
  document.body.style.fontSize = `${scale.value * 15}px`;
15523
15327
  });
15524
15328
  });
15525
- router.push(_route.value);
15329
+ router.replace(_route.value);
15526
15330
  return (_ctx, _cache) => {
15527
15331
  const _component_SideNav = _sfc_main$1;
15528
15332
  const _component_RouterView = resolveComponent("RouterView");
@@ -15556,7 +15360,7 @@ initClient();
15556
15360
  connect();
15557
15361
  const app = createApp(_sfc_main);
15558
15362
  const router = createRouter({
15559
- history: createWebHashHistory(),
15363
+ history: createMemoryHistory(),
15560
15364
  routes
15561
15365
  });
15562
15366
  app.use(router);
@@ -15565,4 +15369,4 @@ app.mount("#app");
15565
15369
 
15566
15370
  /* Injected with object hook! */
15567
15371
 
15568
- export { app$1 as $, vModelCheckbox as A, withKeys as B, useTabs as C, useCategorizedTabs as D, createTextVNode as E, Fragment as F, useDevToolsSettings as G, _sfc_main$3 as H, _sfc_main$5 as I, routeRecordMatcherState as J, activeRouteRecordMatcherState as K, activeRouteRecordIndex as L, toggleRouteRecordMatcher as M, normalizeStyle as N, __unplugin_components_1 as O, ref as P, computed as Q, piniaStoresId as R, reactivePick as S, toRaw as T, piniaState as U, piniaGetters as V, resolveComponent as W, withModifiers as X, vueVersion as Y, __unplugin_components_0 as Z, _sfc_main$9 as _, createBlock as a, triggerRef as a0, useColorMode as a1, reactive as a2, useElementBounding as a3, nextTick as a4, watchEffect as a5, useStorage as a6, vModelText as a7, useDark as a8, watch as a9, vModelDynamic as aA, __vitePreload as aB, useEventListener as aC, useClient as aD, getInstanceName as aa, classify as ab, kebabize as ac, isFragment as ad, camelize as ae, returnError as af, isBeingDestroyed as ag, getUniqueComponentId as ah, getRenderKey as ai, shallowRef as aj, onVueInstanceUpdate as ak, instance as al, h as am, mergeProps as an, resolveDynamicComponent as ao, useElementSize as ap, onClickOutside as aq, Transition as ar, useStyleTag as as, computedAsync as at, useTimeAgo as au, onKeyDown as av, _export_sfc as aw, resolveDirective as ax, pushScopeId as ay, popScopeId as az, createVNode as b, createElementBlock as c, defineComponent as d, createBaseVNode as e, onMounted as f, onUnmounted as g, timelineLayer as h, activeTimelineEvents as i, activeTimelineEventIndex as j, toggleTimelineEventIndex as k, timelineEventDetails as l, createCommentVNode as m, normalizeClass as n, openBlock as o, activeLayerId as p, toggleTimelineLayer as q, renderList as r, useVModel as s, toDisplayString as t, unref as u, renderSlot as v, withCtx as w, withDirectives as x, vModelSelect as y, isRef as z };
15372
+ export { __unplugin_components_0 as $, vModelCheckbox as A, withKeys as B, useTabs as C, useCategorizedTabs as D, createTextVNode as E, Fragment as F, useDevToolsSettings as G, _sfc_main$3 as H, _sfc_main$5 as I, routeRecordMatcherState as J, activeRouteRecordMatcherState as K, activeRouteRecordIndex as L, toggleRouteRecordMatcher as M, normalizeStyle as N, __unplugin_components_1 as O, ref as P, computed as Q, piniaStoresId as R, reactivePick as S, toRaw as T, piniaState as U, piniaGetters as V, piniaVisible as W, resolveComponent as X, withModifiers as Y, vueVersion as Z, _sfc_main$9 as _, createBlock as a, app$1 as a0, triggerRef as a1, useColorMode as a2, reactive as a3, useElementBounding as a4, nextTick as a5, watchEffect as a6, useStorage as a7, vModelText as a8, useDark as a9, popScopeId as aA, vModelDynamic as aB, __vitePreload as aC, useEventListener as aD, useClient as aE, watch as aa, getInstanceName as ab, classify as ac, kebabize as ad, isFragment as ae, camelize as af, returnError as ag, isBeingDestroyed as ah, getUniqueComponentId as ai, getRenderKey as aj, shallowRef as ak, onVueInstanceUpdate as al, instance as am, h as an, mergeProps as ao, resolveDynamicComponent 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, resolveDirective as ay, pushScopeId as az, createVNode as b, createElementBlock as c, defineComponent as d, createBaseVNode as e, onMounted as f, onUnmounted as g, timelineLayer as h, activeTimelineEvents as i, activeTimelineEventIndex as j, toggleTimelineEventIndex as k, timelineEventDetails as l, createCommentVNode as m, normalizeClass as n, openBlock as o, activeLayerId as p, toggleTimelineLayer as q, renderList as r, useVModel as s, toDisplayString as t, unref as u, renderSlot as v, withCtx as w, withDirectives as x, vModelSelect as y, isRef as z };
@@ -1,5 +1,5 @@
1
- import { d as defineComponent, a1 as useColorMode, P as ref, Q as computed, a2 as reactive, a3 as useElementBounding, f as onMounted, a4 as nextTick, a5 as watchEffect, g as onUnmounted, o as openBlock, c as createElementBlock, b as createVNode, u as unref } from './index-bed0f7d1.js';
2
- import { i as inspectClientUrl } from './rpc-9c16d07a.js';
1
+ import { d as defineComponent, a2 as useColorMode, P as ref, Q as computed, a3 as reactive, a4 as useElementBounding, f as onMounted, a5 as nextTick, a6 as watchEffect, g as onUnmounted, o as openBlock, c as createElementBlock, b as createVNode, u as unref } from './index-ab9e9151.js';
2
+ import { i as inspectClientUrl } from './rpc-c07563d7.js';
3
3
 
4
4
  const iframeCacheMap = /* @__PURE__ */ new Map();
5
5
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
@@ -1,9 +1,9 @@
1
- import { _ as __unplugin_components_0$1 } from './VPanelGrids-0fa9ab66.js';
2
- import { P as ref, Q as computed, d as defineComponent, o as openBlock, a as createBlock, w as withCtx, e as createBaseVNode, b as createVNode, t as toDisplayString, u as unref, Y as vueVersion, E as createTextVNode, c as createElementBlock, F as Fragment, Z as __unplugin_components_0, O as __unplugin_components_1, W as resolveComponent, _ as _sfc_main$1 } from './index-bed0f7d1.js';
3
- import { r as rpc } from './rpc-9c16d07a.js';
4
- import { i as initPages, a as routes } from './pages-1eda0955.js';
1
+ import { _ as __unplugin_components_0$1 } from './VPanelGrids-2e4d7603.js';
2
+ import { P as ref, Q as computed, d as defineComponent, o as openBlock, a as createBlock, w as withCtx, e as createBaseVNode, b as createVNode, t as toDisplayString, u as unref, Z as vueVersion, E as createTextVNode, c as createElementBlock, F as Fragment, $ as __unplugin_components_0, O as __unplugin_components_1, X as resolveComponent, _ as _sfc_main$1 } from './index-ab9e9151.js';
3
+ import { r as rpc } from './rpc-c07563d7.js';
4
+ import { i as initPages, a as routes } from './pages-43ddf646.js';
5
5
 
6
- const version = "0.0.1-alpha.1";
6
+ const version = "0.0.1-alpha.2";
7
7
 
8
8
  /* Injected with object hook! */
9
9
 
@@ -175,11 +175,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
175
175
  createBaseVNode("code", null, "v" + toDisplayString(unref(vueVersion)), 1)
176
176
  ]),
177
177
  createVNode(_component_RouterLink, {
178
+ flex: "~ col auto",
179
+ to: "/pages",
180
+ replace: "",
178
181
  "min-w-40": "",
179
182
  p4: "",
180
- "theme-card-lime": "",
181
- flex: "~ col auto",
182
- to: "/pages"
183
+ "theme-card-lime": ""
183
184
  }, {
184
185
  default: withCtx(() => [
185
186
  _hoisted_12,
@@ -188,11 +189,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
188
189
  _: 1
189
190
  }),
190
191
  createVNode(_component_RouterLink, {
192
+ flex: "~ col auto",
193
+ to: "/components",
194
+ replace: "",
191
195
  "min-w-40": "",
192
196
  p4: "",
193
- "theme-card-lime": "",
194
- flex: "~ col auto",
195
- to: "/components"
197
+ "theme-card-lime": ""
196
198
  }, {
197
199
  default: withCtx(() => [
198
200
  _hoisted_13,
@@ -209,6 +211,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
209
211
  createVNode(_component_RouterLink, {
210
212
  to: "/settings",
211
213
  flex: "~ gap1",
214
+ replace: "",
212
215
  "inline-block": "",
213
216
  "items-center": "",
214
217
  op50: "",
@@ -1,4 +1,4 @@
1
- import { P as ref, Q as computed, u as unref, $ as app, a0 as triggerRef } from './index-bed0f7d1.js';
1
+ import { P as ref, Q as computed, u as unref, a0 as app, a1 as triggerRef } from './index-ab9e9151.js';
2
2
 
3
3
  const router = ref();
4
4
  const currentRoute = computed(() => unref(router.value?.currentRoute));
@@ -1,8 +1,8 @@
1
- import { _ as _sfc_main$3, a as __unplugin_components_3 } from './VTextInput.vue_vue_type_script_setup_true_lang-3269f8e0.js';
2
- import { d as defineComponent, P as ref, Q as computed, W as resolveComponent, u as unref, o as openBlock, c as createElementBlock, e as createBaseVNode, t as toDisplayString, a as createBlock, w as withCtx, X as withModifiers, F as Fragment, r as renderList, m as createCommentVNode, b as createVNode, E as createTextVNode, n as normalizeClass, _ as _sfc_main$4, O as __unplugin_components_1, f as onMounted, z as isRef, B as withKeys } from './index-bed0f7d1.js';
3
- import { i as initPages, c as currentRoute, r as router, a as routes } from './pages-1eda0955.js';
4
- import './VIconTitle.vue_vue_type_script_setup_true_lang-e9a02b1e.js';
5
- import './VIcon.vue_vue_type_script_setup_true_lang-527d8187.js';
1
+ import { _ as _sfc_main$3, a as __unplugin_components_3 } from './VTextInput.vue_vue_type_script_setup_true_lang-11aa9678.js';
2
+ import { d as defineComponent, P as ref, Q as computed, X as resolveComponent, u as unref, o as openBlock, c as createElementBlock, e as createBaseVNode, t as toDisplayString, a as createBlock, w as withCtx, Y as withModifiers, F as Fragment, r as renderList, m as createCommentVNode, b as createVNode, E as createTextVNode, n as normalizeClass, _ as _sfc_main$4, O as __unplugin_components_1, f as onMounted, z as isRef, B as withKeys } from './index-ab9e9151.js';
3
+ import { i as initPages, c as currentRoute, r as router, a as routes } from './pages-43ddf646.js';
4
+ import './VIconTitle.vue_vue_type_script_setup_true_lang-5f26c7d7.js';
5
+ import './VIcon.vue_vue_type_script_setup_true_lang-c622c694.js';
6
6
 
7
7
  const _hoisted_1$2 = {
8
8
  block: "",
@@ -1,8 +1,8 @@
1
- import { _ as __unplugin_components_0 } from './VPanelGrids-0fa9ab66.js';
2
- import { _ as __unplugin_components_7 } from './VCard-71dc6c0a.js';
3
- import { d as defineComponent, P as ref, Q as computed, R as piniaStoresId, S as reactivePick, T as toRaw, U as piniaState, V as piniaGetters, u as unref, o as openBlock, c as createElementBlock, b as createVNode, w as withCtx, e as createBaseVNode, F as Fragment, r as renderList, a as createBlock, I as _sfc_main$1, n as normalizeClass, t as toDisplayString } from './index-bed0f7d1.js';
4
- import { g, M, _ as _sfc_main$2 } from './splitpanes.es-012cdbb8.js';
5
- import './VIcon.vue_vue_type_script_setup_true_lang-527d8187.js';
1
+ import { _ as __unplugin_components_0 } from './VPanelGrids-2e4d7603.js';
2
+ import { _ as __unplugin_components_7 } from './VCard-07e53519.js';
3
+ import { d as defineComponent, P as ref, Q as computed, R as piniaStoresId, S as reactivePick, T as toRaw, U as piniaState, V as piniaGetters, u as unref, W as piniaVisible, o as openBlock, c as createElementBlock, b as createVNode, w as withCtx, e as createBaseVNode, F as Fragment, r as renderList, a as createBlock, I as _sfc_main$1, n as normalizeClass, t as toDisplayString } from './index-ab9e9151.js';
4
+ import { g, M, _ as _sfc_main$2 } from './splitpanes.es-f2ab0d30.js';
5
+ import './VIcon.vue_vue_type_script_setup_true_lang-c622c694.js';
6
6
 
7
7
  const _hoisted_1 = {
8
8
  key: 0,
@@ -61,7 +61,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
61
61
  const _component_TabIcon = _sfc_main$1;
62
62
  const _component_VCard = __unplugin_components_7;
63
63
  const _component_VPanelGrids = __unplugin_components_0;
64
- return unref(piniaStoresId).length > 1 ? (openBlock(), createElementBlock("div", _hoisted_1, [
64
+ return unref(piniaVisible) ? (openBlock(), createElementBlock("div", _hoisted_1, [
65
65
  createVNode(unref(M), null, {
66
66
  default: withCtx(() => [
67
67
  createVNode(unref(g), { border: "r base" }, {
@@ -1,8 +1,8 @@
1
- import { _ as __unplugin_components_0 } from './VPanelGrids-0fa9ab66.js';
2
- import { _ as __unplugin_components_7 } from './VCard-71dc6c0a.js';
3
- import { d as defineComponent, f as onMounted, u as unref, J as routeRecordMatcherState, o as openBlock, c as createElementBlock, b as createVNode, w as withCtx, e as createBaseVNode, F as Fragment, r as renderList, K as activeRouteRecordMatcherState, a as createBlock, I as _sfc_main$2, n as normalizeClass, L as activeRouteRecordIndex, M as toggleRouteRecordMatcher, E as createTextVNode, t as toDisplayString, N as normalizeStyle, O as __unplugin_components_1 } from './index-bed0f7d1.js';
4
- import { g, M, _ as _sfc_main$1 } from './splitpanes.es-012cdbb8.js';
5
- import './VIcon.vue_vue_type_script_setup_true_lang-527d8187.js';
1
+ import { _ as __unplugin_components_0 } from './VPanelGrids-2e4d7603.js';
2
+ import { _ as __unplugin_components_7 } from './VCard-07e53519.js';
3
+ import { d as defineComponent, f as onMounted, u as unref, J as routeRecordMatcherState, o as openBlock, c as createElementBlock, b as createVNode, w as withCtx, e as createBaseVNode, F as Fragment, r as renderList, K as activeRouteRecordMatcherState, a as createBlock, I as _sfc_main$2, n as normalizeClass, L as activeRouteRecordIndex, M as toggleRouteRecordMatcher, E as createTextVNode, t as toDisplayString, N as normalizeStyle, O as __unplugin_components_1 } from './index-ab9e9151.js';
4
+ import { g, M, _ as _sfc_main$1 } from './splitpanes.es-f2ab0d30.js';
5
+ import './VIcon.vue_vue_type_script_setup_true_lang-c622c694.js';
6
6
 
7
7
  const _hoisted_1 = {
8
8
  key: 0,
@@ -1,4 +1,4 @@
1
- import { aB as __vitePreload } from './index-bed0f7d1.js';
1
+ import { aC as __vitePreload } from './index-ab9e9151.js';
2
2
 
3
3
  const DEFAULT_TIMEOUT = 6e4;
4
4
  function defaultSerialize(i) {
@@ -1,6 +1,6 @@
1
- import { _ as _sfc_main$3 } from './VIcon.vue_vue_type_script_setup_true_lang-527d8187.js';
2
- import { d as defineComponent, s as useVModel, o as openBlock, c as createElementBlock, v as renderSlot, x as withDirectives, y as vModelSelect, u as unref, e as createBaseVNode, t as toDisplayString, m as createCommentVNode, z as isRef, a as createBlock, A as vModelCheckbox, B as withKeys, C as useTabs, D as useCategorizedTabs, b as createVNode, F as Fragment, r as renderList, w as withCtx, E as createTextVNode, G as useDevToolsSettings, _ as _sfc_main$5, H as _sfc_main$6, n as normalizeClass, I as _sfc_main$7 } from './index-bed0f7d1.js';
3
- import { _ as _sfc_main$4 } from './VIconTitle.vue_vue_type_script_setup_true_lang-e9a02b1e.js';
1
+ import { _ as _sfc_main$3 } from './VIcon.vue_vue_type_script_setup_true_lang-c622c694.js';
2
+ import { d as defineComponent, s as useVModel, o as openBlock, c as createElementBlock, v as renderSlot, x as withDirectives, y as vModelSelect, u as unref, e as createBaseVNode, t as toDisplayString, m as createCommentVNode, z as isRef, a as createBlock, A as vModelCheckbox, B as withKeys, C as useTabs, D as useCategorizedTabs, b as createVNode, F as Fragment, r as renderList, w as withCtx, E as createTextVNode, G as useDevToolsSettings, _ as _sfc_main$5, H as _sfc_main$6, n as normalizeClass, I as _sfc_main$7 } from './index-ab9e9151.js';
3
+ import { _ as _sfc_main$4 } from './VIconTitle.vue_vue_type_script_setup_true_lang-5f26c7d7.js';
4
4
 
5
5
  const _hoisted_1$2 = { class: "n-text-input flex flex items-center border n-border-base rounded px-2 py-1 focus-within:n-focus-base focus-within:border-context n-bg-base" };
6
6
  const _hoisted_2$2 = ["disabled"];
@@ -1,5 +1,5 @@
1
- import { _ as _sfc_main$3 } from './VIcon.vue_vue_type_script_setup_true_lang-527d8187.js';
2
- import { d as defineComponent, o as openBlock, a as createBlock, n as normalizeClass, z as isRef, T as toRaw, Q as computed, W as resolveComponent, c as createElementBlock, r as renderList, e as createBaseVNode, t as toDisplayString, m as createCommentVNode, u as unref, F as Fragment, P as ref, b as createVNode, am as h, v as renderSlot, N as normalizeStyle } from './index-bed0f7d1.js';
1
+ import { _ as _sfc_main$3 } from './VIcon.vue_vue_type_script_setup_true_lang-c622c694.js';
2
+ import { d as defineComponent, o as openBlock, a as createBlock, n as normalizeClass, z as isRef, T as toRaw, Q as computed, X as resolveComponent, c as createElementBlock, r as renderList, e as createBaseVNode, t as toDisplayString, m as createCommentVNode, u as unref, F as Fragment, P as ref, b as createVNode, an as h, v as renderSlot, N as normalizeStyle } from './index-ab9e9151.js';
3
3
 
4
4
  const _sfc_main$2 = /* @__PURE__ */ defineComponent({
5
5
  __name: "VExpandIcon",
@@ -1,8 +1,8 @@
1
- import { g, M, _ as _sfc_main$2 } from './splitpanes.es-012cdbb8.js';
2
- import { _ as __unplugin_components_0 } from './VPanelGrids-0fa9ab66.js';
3
- import { _ as __unplugin_components_7 } from './VCard-71dc6c0a.js';
4
- import { d as defineComponent, o as openBlock, c as createElementBlock, F as Fragment, r as renderList, a as createBlock, w as withCtx, b as createVNode, e as createBaseVNode, n as normalizeClass, t as toDisplayString, u as unref, f as onMounted, g as onUnmounted, h as timelineLayer, i as activeTimelineEvents, j as activeTimelineEventIndex, k as toggleTimelineEventIndex, l as timelineEventDetails, m as createCommentVNode, p as activeLayerId, q as toggleTimelineLayer } from './index-bed0f7d1.js';
5
- import './VIcon.vue_vue_type_script_setup_true_lang-527d8187.js';
1
+ import { g, M, _ as _sfc_main$2 } from './splitpanes.es-f2ab0d30.js';
2
+ import { _ as __unplugin_components_0 } from './VPanelGrids-2e4d7603.js';
3
+ import { _ as __unplugin_components_7 } from './VCard-07e53519.js';
4
+ import { d as defineComponent, o as openBlock, c as createElementBlock, F as Fragment, r as renderList, a as createBlock, w as withCtx, b as createVNode, e as createBaseVNode, n as normalizeClass, t as toDisplayString, u as unref, f as onMounted, g as onUnmounted, h as timelineLayer, i as activeTimelineEvents, j as activeTimelineEventIndex, k as toggleTimelineEventIndex, l as timelineEventDetails, m as createCommentVNode, p as activeLayerId, q as toggleTimelineLayer } from './index-ab9e9151.js';
5
+ import './VIcon.vue_vue_type_script_setup_true_lang-c622c694.js';
6
6
 
7
7
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
8
8
 
@@ -5,7 +5,7 @@
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
6
  <link rel="icon" href="/favicon.svg" type="image/svg+xml">
7
7
  <title>Vue Devtools</title>
8
- <script type="module" crossorigin src="./assets/index-bed0f7d1.js"></script>
8
+ <script type="module" crossorigin src="./assets/index-ab9e9151.js"></script>
9
9
  <link rel="stylesheet" href="./assets/index-f0fa9f81.css">
10
10
  </head>
11
11
  <body>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vite-plugin-vue-devtools",
3
- "version": "0.0.1-alpha.1",
3
+ "version": "0.0.1-alpha.2",
4
4
  "packageManager": "pnpm@7.30.0",
5
5
  "description": "A vite plugin for Vue Devtools",
6
6
  "author": "webfansplz",