vite-plugin-vue-devtools 0.0.9 → 0.0.11

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 (25) hide show
  1. package/dist/client/assets/{VCard-0472da6f.js → VCard-1be3aeea.js} +1 -1
  2. package/dist/client/assets/{VIcon.vue_vue_type_script_setup_true_lang-15751023.js → VIcon.vue_vue_type_script_setup_true_lang-1695d8db.js} +1 -1
  3. package/dist/client/assets/VIconButton.vue_vue_type_script_setup_true_lang-2270abf3.js +39 -0
  4. package/dist/client/assets/{VIconTitle.vue_vue_type_script_setup_true_lang-36af287a.js → VIconTitle.vue_vue_type_script_setup_true_lang-572a0964.js} +1 -1
  5. package/dist/client/assets/{VPanelGrids-3b54987c.js → VPanelGrids-e35ca1b2.js} +1 -1
  6. package/dist/client/assets/{VTextInput.vue_vue_type_script_setup_true_lang-6fec654b.js → VTextInput.vue_vue_type_script_setup_true_lang-3b579cad.js} +3 -3
  7. package/dist/client/assets/{__inspecting-57a351ce.js → __inspecting-a5f31235.js} +2 -2
  8. package/dist/client/assets/{assets-453168e0.js → assets-fa06fb0b.js} +18 -34
  9. package/dist/client/assets/{components-8b73bb7e.js → components-82b9b93b.js} +7 -6
  10. package/dist/client/assets/{graph-bf395a07.js → graph-c19b9cea.js} +2 -2
  11. package/dist/client/assets/{index-6d7c9dec.js → index-35968ba5.js} +242 -57
  12. package/dist/client/assets/{index-d7bd5f5d.js → index-462602ed.js} +1 -1
  13. package/dist/client/assets/{index-62a10721.css → index-80cdb5c4.css} +13 -1
  14. package/dist/client/assets/{inspect-09e36123.js → inspect-bb122b4f.js} +2 -2
  15. package/dist/client/assets/{overview-0e6f7fe5.js → overview-b83e2480.js} +5 -5
  16. package/dist/client/assets/{pages-1efbbfe9.js → pages-968ac2c8.js} +4 -4
  17. package/dist/client/assets/{pinia-4eef2ee3.js → pinia-745e8151.js} +5 -4
  18. package/dist/client/assets/{routes-9b71e10a.js → routes-7fb87fa2.js} +7 -6
  19. package/dist/client/assets/{rpc-3eeb6f82.js → rpc-1f60df18.js} +1 -1
  20. package/dist/client/assets/{settings-b043f2cf.js → settings-ff419377.js} +5 -5
  21. package/dist/client/assets/{splitpanes.es-741c1942.js → splitpanes.es-fcdb2062.js} +22 -6
  22. package/dist/client/assets/{timeline-22af7a37.js → timeline-53aba586.js} +7 -6
  23. package/dist/client/index.html +2 -2
  24. package/package.json +9 -1
  25. package/src/node/Container.vue +2 -2
@@ -9778,7 +9778,7 @@ const _sfc_main$1$1 = defineComponent(__spreadProps(__spreadValues({}, PrivatePo
9778
9778
  name: "VTooltip",
9779
9779
  vPopperTheme: "tooltip"
9780
9780
  }));
9781
- const _sfc_main$b = defineComponent({
9781
+ const _sfc_main$c = defineComponent({
9782
9782
  name: "VTooltipDirective",
9783
9783
  components: {
9784
9784
  Popper: PrivatePopper(),
@@ -9924,7 +9924,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
9924
9924
  _: 1
9925
9925
  }, 16, ["theme", "popper-node", "onApplyShow", "onApplyHide"]);
9926
9926
  }
9927
- var PrivateTooltipDirective = /* @__PURE__ */ _export_sfc$1(_sfc_main$b, [["render", _sfc_render$4]]);
9927
+ var PrivateTooltipDirective = /* @__PURE__ */ _export_sfc$1(_sfc_main$c, [["render", _sfc_render$4]]);
9928
9928
  const TARGET_CLASS = "v-popper--has-tooltip";
9929
9929
  function getPlacement(options2, modifiers) {
9930
9930
  let result = options2.placement;
@@ -12610,7 +12610,7 @@ const scriptRel = 'modulepreload';const assetsURL = function(dep, importerUrl) {
12610
12610
  };
12611
12611
  /* Injected with object hook! */
12612
12612
 
12613
- const _sfc_main$a = /* @__PURE__ */ defineComponent({
12613
+ const _sfc_main$b = /* @__PURE__ */ defineComponent({
12614
12614
  __name: "VButton",
12615
12615
  props: {
12616
12616
  to: null,
@@ -12646,7 +12646,7 @@ const _export_sfc = (sfc, props) => {
12646
12646
 
12647
12647
  /* Injected with object hook! */
12648
12648
 
12649
- /* unplugin-vue-components disabled */const _sfc_main$9 = {};
12649
+ /* unplugin-vue-components disabled */const _sfc_main$a = {};
12650
12650
 
12651
12651
  const _hoisted_1$7 = { class: "mx-0.5 select-none whitespace-nowrap rounded px-1.5 py-0.5 text-xs" };
12652
12652
 
@@ -12655,10 +12655,10 @@ function _sfc_render$2(_ctx, _cache) {
12655
12655
  renderSlot(_ctx.$slots, "default")
12656
12656
  ]))
12657
12657
  }
12658
- const __unplugin_components_1 = /*#__PURE__*/_export_sfc(_sfc_main$9, [['render',_sfc_render$2]]);
12658
+ const __unplugin_components_1 = /*#__PURE__*/_export_sfc(_sfc_main$a, [['render',_sfc_render$2]]);
12659
12659
  /* Injected with object hook! */
12660
12660
 
12661
- /* unplugin-vue-components disabled */const _sfc_main$8 = {};
12661
+ /* unplugin-vue-components disabled */const _sfc_main$9 = {};
12662
12662
 
12663
12663
  const _hoisted_1$6 = {
12664
12664
  viewBox: "0 0 566 154",
@@ -12673,7 +12673,7 @@ const _hoisted_4$3 = [
12673
12673
  function _sfc_render$1(_ctx, _cache) {
12674
12674
  return (openBlock(), createElementBlock("svg", _hoisted_1$6, _hoisted_4$3))
12675
12675
  }
12676
- const __unplugin_components_0$1 = /*#__PURE__*/_export_sfc(_sfc_main$8, [['render',_sfc_render$1]]);
12676
+ const __unplugin_components_0$1 = /*#__PURE__*/_export_sfc(_sfc_main$9, [['render',_sfc_render$1]]);
12677
12677
  /* Injected with object hook! */
12678
12678
 
12679
12679
  function tryOnScopeDispose(fn) {
@@ -12873,27 +12873,42 @@ function useIntervalFn(cb, interval = 1e3, options = {}) {
12873
12873
  };
12874
12874
  }
12875
12875
 
12876
- function useToggle(initialValue = false, options = {}) {
12876
+ function useTimeoutFn(cb, interval, options = {}) {
12877
12877
  const {
12878
- truthyValue = true,
12879
- falsyValue = false
12878
+ immediate = true
12880
12879
  } = options;
12881
- const valueIsRef = isRef(initialValue);
12882
- const _value = ref(initialValue);
12883
- function toggle(value) {
12884
- if (arguments.length) {
12885
- _value.value = value;
12886
- return _value.value;
12887
- } else {
12888
- const truthy = toValue(truthyValue);
12889
- _value.value = _value.value === truthy ? toValue(falsyValue) : truthy;
12890
- return _value.value;
12880
+ const isPending = ref(false);
12881
+ let timer = null;
12882
+ function clear() {
12883
+ if (timer) {
12884
+ clearTimeout(timer);
12885
+ timer = null;
12891
12886
  }
12892
12887
  }
12893
- if (valueIsRef)
12894
- return toggle;
12895
- else
12896
- return [_value, toggle];
12888
+ function stop() {
12889
+ isPending.value = false;
12890
+ clear();
12891
+ }
12892
+ function start(...args) {
12893
+ clear();
12894
+ isPending.value = true;
12895
+ timer = setTimeout(() => {
12896
+ isPending.value = false;
12897
+ timer = null;
12898
+ cb(...args);
12899
+ }, toValue(interval));
12900
+ }
12901
+ if (immediate) {
12902
+ isPending.value = true;
12903
+ if (isClient)
12904
+ start();
12905
+ }
12906
+ tryOnScopeDispose(stop);
12907
+ return {
12908
+ isPending: readonly(isPending),
12909
+ start,
12910
+ stop
12911
+ };
12897
12912
  }
12898
12913
 
12899
12914
  var __getOwnPropSymbols$8$1 = Object.getOwnPropertySymbols;
@@ -13043,6 +13058,7 @@ function unrefElement(elRef) {
13043
13058
 
13044
13059
  const defaultWindow = isClient ? window : void 0;
13045
13060
  const defaultDocument = isClient ? window.document : void 0;
13061
+ const defaultNavigator = isClient ? window.navigator : void 0;
13046
13062
 
13047
13063
  function useEventListener(...args) {
13048
13064
  let target;
@@ -13297,6 +13313,66 @@ function useMediaQuery(query, options = {}) {
13297
13313
  tryOnScopeDispose(() => cleanup());
13298
13314
  return matches;
13299
13315
  }
13316
+
13317
+ function useClipboard(options = {}) {
13318
+ const {
13319
+ navigator = defaultNavigator,
13320
+ read = false,
13321
+ source,
13322
+ copiedDuring = 1500,
13323
+ legacy = false
13324
+ } = options;
13325
+ const events = ["copy", "cut"];
13326
+ const isClipboardApiSupported = useSupported(() => navigator && "clipboard" in navigator);
13327
+ const isSupported = computed(() => isClipboardApiSupported.value || legacy);
13328
+ const text = ref("");
13329
+ const copied = ref(false);
13330
+ const timeout = useTimeoutFn(() => copied.value = false, copiedDuring);
13331
+ function updateText() {
13332
+ if (isClipboardApiSupported.value) {
13333
+ navigator.clipboard.readText().then((value) => {
13334
+ text.value = value;
13335
+ });
13336
+ } else {
13337
+ text.value = legacyRead();
13338
+ }
13339
+ }
13340
+ if (isSupported.value && read) {
13341
+ for (const event of events)
13342
+ useEventListener(event, updateText);
13343
+ }
13344
+ async function copy(value = toValue(source)) {
13345
+ if (isSupported.value && value != null) {
13346
+ if (isClipboardApiSupported.value)
13347
+ await navigator.clipboard.writeText(value);
13348
+ else
13349
+ legacyCopy(value);
13350
+ text.value = value;
13351
+ copied.value = true;
13352
+ timeout.start();
13353
+ }
13354
+ }
13355
+ function legacyCopy(value) {
13356
+ const ta = document.createElement("textarea");
13357
+ ta.value = value != null ? value : "";
13358
+ ta.style.position = "absolute";
13359
+ ta.style.opacity = "0";
13360
+ document.body.appendChild(ta);
13361
+ ta.select();
13362
+ document.execCommand("copy");
13363
+ ta.remove();
13364
+ }
13365
+ function legacyRead() {
13366
+ var _a, _b, _c;
13367
+ return (_c = (_b = (_a = document == null ? void 0 : document.getSelection) == null ? void 0 : _a.call(document)) == null ? void 0 : _b.toString()) != null ? _c : "";
13368
+ }
13369
+ return {
13370
+ isSupported,
13371
+ text,
13372
+ copied,
13373
+ copy
13374
+ };
13375
+ }
13300
13376
  function cloneFnJSON(source) {
13301
13377
  return JSON.parse(JSON.stringify(source));
13302
13378
  }
@@ -14112,7 +14188,7 @@ const _hoisted_5$2 = /* @__PURE__ */ createBaseVNode("p", { "text-lg": "" }, [
14112
14188
  /* @__PURE__ */ createTextVNode(" if you find any bugs or have any suggestions. Thank you and have fun! ")
14113
14189
  ], -1);
14114
14190
  const _hoisted_6$1 = /* @__PURE__ */ createBaseVNode("span", null, "Get Started", -1);
14115
- const _sfc_main$7 = /* @__PURE__ */ defineComponent({
14191
+ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
14116
14192
  __name: "index",
14117
14193
  setup(__props) {
14118
14194
  const { isFirstVisit } = useFrameState();
@@ -14124,7 +14200,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
14124
14200
  return (_ctx, _cache) => {
14125
14201
  const _component_Logo = __unplugin_components_0$1;
14126
14202
  const _component_VBadge = __unplugin_components_1;
14127
- const _component_VButton = _sfc_main$a;
14203
+ const _component_VButton = _sfc_main$b;
14128
14204
  return openBlock(), createElementBlock("div", _hoisted_1$5, [
14129
14205
  createBaseVNode("div", _hoisted_2$5, [
14130
14206
  createVNode(_component_Logo, { "h-16": "" }),
@@ -14157,24 +14233,24 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
14157
14233
 
14158
14234
  /* Injected with object hook! */
14159
14235
 
14160
- const __pages_import_0__ = () => __vitePreload(() => import('./timeline-22af7a37.js'),true?["./timeline-22af7a37.js","./splitpanes.es-741c1942.js","./VIcon.vue_vue_type_script_setup_true_lang-15751023.js","./index-d7bd5f5d.js","./VPanelGrids-3b54987c.js","./VCard-0472da6f.js","./timeline-b315b2e0.css"]:void 0,import.meta.url);
14161
- const __pages_import_1__ = () => __vitePreload(() => import('./settings-b043f2cf.js'),true?["./settings-b043f2cf.js","./VIcon.vue_vue_type_script_setup_true_lang-15751023.js","./VIconTitle.vue_vue_type_script_setup_true_lang-36af287a.js"]:void 0,import.meta.url);
14162
- const __pages_import_2__ = () => __vitePreload(() => import('./routes-9b71e10a.js'),true?["./routes-9b71e10a.js","./VPanelGrids-3b54987c.js","./VCard-0472da6f.js","./splitpanes.es-741c1942.js","./VIcon.vue_vue_type_script_setup_true_lang-15751023.js","./index-d7bd5f5d.js"]:void 0,import.meta.url);
14163
- const __pages_import_3__ = () => __vitePreload(() => import('./pinia-4eef2ee3.js'),true?["./pinia-4eef2ee3.js","./splitpanes.es-741c1942.js","./VIcon.vue_vue_type_script_setup_true_lang-15751023.js","./index-d7bd5f5d.js"]:void 0,import.meta.url);
14164
- const __pages_import_4__ = () => __vitePreload(() => import('./pages-1efbbfe9.js'),true?["./pages-1efbbfe9.js","./VTextInput.vue_vue_type_script_setup_true_lang-6fec654b.js","./VIconTitle.vue_vue_type_script_setup_true_lang-36af287a.js","./VIcon.vue_vue_type_script_setup_true_lang-15751023.js","./VTextInput-52804693.css"]:void 0,import.meta.url);
14165
- const __pages_import_5__ = () => __vitePreload(() => import('./overview-0e6f7fe5.js'),true?["./overview-0e6f7fe5.js","./VPanelGrids-3b54987c.js","./rpc-3eeb6f82.js","./index-d7bd5f5d.js"]:void 0,import.meta.url);
14166
- const __pages_import_6__ = () => __vitePreload(() => import('./inspect-09e36123.js'),true?["./inspect-09e36123.js","./rpc-3eeb6f82.js"]:void 0,import.meta.url);
14167
- const __pages_import_8__ = () => __vitePreload(() => import('./graph-bf395a07.js'),true?["./graph-bf395a07.js","./fuse.esm-c317b696.js","./rpc-3eeb6f82.js"]:void 0,import.meta.url);
14168
- const __pages_import_9__ = () => __vitePreload(() => import('./components-8b73bb7e.js'),true?["./components-8b73bb7e.js","./VPanelGrids-3b54987c.js","./VCard-0472da6f.js","./splitpanes.es-741c1942.js","./VIcon.vue_vue_type_script_setup_true_lang-15751023.js","./index-d7bd5f5d.js"]:void 0,import.meta.url);
14169
- const __pages_import_10__ = () => __vitePreload(() => import('./assets-453168e0.js'),true?["./assets-453168e0.js","./VPanelGrids-3b54987c.js","./VCard-0472da6f.js","./VIcon.vue_vue_type_script_setup_true_lang-15751023.js","./rpc-3eeb6f82.js","./VTextInput.vue_vue_type_script_setup_true_lang-6fec654b.js","./VIconTitle.vue_vue_type_script_setup_true_lang-36af287a.js","./VTextInput-52804693.css","./fuse.esm-c317b696.js"]:void 0,import.meta.url);
14170
- const __pages_import_11__ = () => __vitePreload(() => import('./__inspecting-57a351ce.js'),true?["./__inspecting-57a351ce.js","./VPanelGrids-3b54987c.js"]:void 0,import.meta.url);
14171
-
14172
- 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$7,"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}];
14236
+ const __pages_import_0__ = () => __vitePreload(() => import('./timeline-53aba586.js'),true?["./timeline-53aba586.js","./splitpanes.es-fcdb2062.js","./VIcon.vue_vue_type_script_setup_true_lang-1695d8db.js","./index-462602ed.js","./VIconButton.vue_vue_type_script_setup_true_lang-2270abf3.js","./VPanelGrids-e35ca1b2.js","./VCard-1be3aeea.js","./timeline-b315b2e0.css"]:void 0,import.meta.url);
14237
+ const __pages_import_1__ = () => __vitePreload(() => import('./settings-ff419377.js'),true?["./settings-ff419377.js","./VIcon.vue_vue_type_script_setup_true_lang-1695d8db.js","./VIconTitle.vue_vue_type_script_setup_true_lang-572a0964.js"]:void 0,import.meta.url);
14238
+ const __pages_import_2__ = () => __vitePreload(() => import('./routes-7fb87fa2.js'),true?["./routes-7fb87fa2.js","./VPanelGrids-e35ca1b2.js","./VCard-1be3aeea.js","./splitpanes.es-fcdb2062.js","./VIcon.vue_vue_type_script_setup_true_lang-1695d8db.js","./index-462602ed.js","./VIconButton.vue_vue_type_script_setup_true_lang-2270abf3.js"]:void 0,import.meta.url);
14239
+ const __pages_import_3__ = () => __vitePreload(() => import('./pinia-745e8151.js'),true?["./pinia-745e8151.js","./splitpanes.es-fcdb2062.js","./VIcon.vue_vue_type_script_setup_true_lang-1695d8db.js","./index-462602ed.js","./VIconButton.vue_vue_type_script_setup_true_lang-2270abf3.js"]:void 0,import.meta.url);
14240
+ const __pages_import_4__ = () => __vitePreload(() => import('./pages-968ac2c8.js'),true?["./pages-968ac2c8.js","./VTextInput.vue_vue_type_script_setup_true_lang-3b579cad.js","./VIconTitle.vue_vue_type_script_setup_true_lang-572a0964.js","./VIcon.vue_vue_type_script_setup_true_lang-1695d8db.js","./VTextInput-52804693.css"]:void 0,import.meta.url);
14241
+ const __pages_import_5__ = () => __vitePreload(() => import('./overview-b83e2480.js'),true?["./overview-b83e2480.js","./VPanelGrids-e35ca1b2.js","./rpc-1f60df18.js","./index-462602ed.js"]:void 0,import.meta.url);
14242
+ const __pages_import_6__ = () => __vitePreload(() => import('./inspect-bb122b4f.js'),true?["./inspect-bb122b4f.js","./rpc-1f60df18.js"]:void 0,import.meta.url);
14243
+ const __pages_import_8__ = () => __vitePreload(() => import('./graph-c19b9cea.js'),true?["./graph-c19b9cea.js","./fuse.esm-c317b696.js","./rpc-1f60df18.js"]:void 0,import.meta.url);
14244
+ const __pages_import_9__ = () => __vitePreload(() => import('./components-82b9b93b.js'),true?["./components-82b9b93b.js","./VPanelGrids-e35ca1b2.js","./VCard-1be3aeea.js","./splitpanes.es-fcdb2062.js","./VIcon.vue_vue_type_script_setup_true_lang-1695d8db.js","./index-462602ed.js","./VIconButton.vue_vue_type_script_setup_true_lang-2270abf3.js"]:void 0,import.meta.url);
14245
+ const __pages_import_10__ = () => __vitePreload(() => import('./assets-fa06fb0b.js'),true?["./assets-fa06fb0b.js","./VPanelGrids-e35ca1b2.js","./VCard-1be3aeea.js","./VIconButton.vue_vue_type_script_setup_true_lang-2270abf3.js","./VIcon.vue_vue_type_script_setup_true_lang-1695d8db.js","./rpc-1f60df18.js","./VTextInput.vue_vue_type_script_setup_true_lang-3b579cad.js","./VIconTitle.vue_vue_type_script_setup_true_lang-572a0964.js","./VTextInput-52804693.css","./fuse.esm-c317b696.js"]:void 0,import.meta.url);
14246
+ const __pages_import_11__ = () => __vitePreload(() => import('./__inspecting-a5f31235.js'),true?["./__inspecting-a5f31235.js","./VPanelGrids-e35ca1b2.js"]:void 0,import.meta.url);
14247
+
14248
+ 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":"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}];
14173
14249
  /* Injected with object hook! */
14174
14250
 
14175
14251
  const _hoisted_1$4 = ["src", "alt"];
14176
14252
  const _hoisted_2$4 = ["title"];
14177
- const _sfc_main$6 = /* @__PURE__ */ defineComponent({
14253
+ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
14178
14254
  __name: "TabIcon",
14179
14255
  props: {
14180
14256
  icon: null,
@@ -14219,7 +14295,7 @@ function useDevtoolsClient() {
14219
14295
 
14220
14296
  /* Injected with object hook! */
14221
14297
 
14222
- const _sfc_main$5 = /* @__PURE__ */ defineComponent({
14298
+ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
14223
14299
  __name: "SideNavItem",
14224
14300
  props: {
14225
14301
  tab: null
@@ -14228,7 +14304,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
14228
14304
  const client = useDevtoolsClient();
14229
14305
  const router = useRouter();
14230
14306
  return (_ctx, _cache) => {
14231
- const _component_TabIcon = _sfc_main$6;
14307
+ const _component_TabIcon = _sfc_main$7;
14232
14308
  const _component_VTooltip = resolveComponent("VTooltip");
14233
14309
  return openBlock(), createBlock(_component_VTooltip, { placement: "right" }, {
14234
14310
  popper: withCtx(() => [
@@ -14269,7 +14345,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
14269
14345
 
14270
14346
  /* Injected with object hook! */
14271
14347
 
14272
- const _sfc_main$4 = /* @__PURE__ */ defineComponent({
14348
+ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
14273
14349
  __name: "VDarkToggle",
14274
14350
  setup(__props) {
14275
14351
  const mode = useColorMode();
@@ -14281,7 +14357,39 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
14281
14357
  mode.value = isDark.value ? "light" : "dark";
14282
14358
  }
14283
14359
  });
14284
- const toggle = useToggle(isDark);
14360
+ const isAppearanceTransition = document.startViewTransition && !window.matchMedia("(prefers-reduced-motion: reduce)").matches;
14361
+ function toggle(event) {
14362
+ if (!isAppearanceTransition || !event) {
14363
+ isDark.value = !isDark.value;
14364
+ return;
14365
+ }
14366
+ const x = event.clientX;
14367
+ const y = event.clientY;
14368
+ const endRadius = Math.hypot(
14369
+ Math.max(x, innerWidth - x),
14370
+ Math.max(y, innerHeight - y)
14371
+ );
14372
+ const transition = document.startViewTransition(async () => {
14373
+ isDark.value = !isDark.value;
14374
+ await nextTick();
14375
+ });
14376
+ transition.ready.then(() => {
14377
+ const clipPath = [
14378
+ `circle(0px at ${x}px ${y}px)`,
14379
+ `circle(${endRadius}px at ${x}px ${y}px)`
14380
+ ];
14381
+ document.documentElement.animate(
14382
+ {
14383
+ clipPath: isDark.value ? [...clipPath].reverse() : clipPath
14384
+ },
14385
+ {
14386
+ duration: 400,
14387
+ easing: "ease-in",
14388
+ pseudoElement: isDark.value ? "::view-transition-old(root)" : "::view-transition-new(root)"
14389
+ }
14390
+ );
14391
+ });
14392
+ }
14285
14393
  const context = {
14286
14394
  mode,
14287
14395
  isDark,
@@ -14306,7 +14414,7 @@ const _hoisted_1$3 = {
14306
14414
  "text-lg": ""
14307
14415
  };
14308
14416
  const _hoisted_2$3 = ["onClick"];
14309
- const _sfc_main$3 = /* @__PURE__ */ defineComponent({
14417
+ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
14310
14418
  __name: "VPanelPosition",
14311
14419
  setup(__props) {
14312
14420
  const { position: _position } = useFrameState();
@@ -14350,7 +14458,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
14350
14458
 
14351
14459
  /* Injected with object hook! */
14352
14460
 
14353
- const _sfc_main$2 = {};
14461
+ const _sfc_main$3 = {};
14354
14462
 
14355
14463
  const _hoisted_1$2 = {
14356
14464
  px3: "",
@@ -14361,7 +14469,7 @@ const _hoisted_1$2 = {
14361
14469
  const _hoisted_2$2 = /*#__PURE__*/createBaseVNode("div", {
14362
14470
  "text-sm": "",
14363
14471
  op50: ""
14364
- }, "Dock devtools to", -1);
14472
+ }, " Dock devtools to ", -1);
14365
14473
  const _hoisted_3$1 = {
14366
14474
  px3: "",
14367
14475
  py2: "",
@@ -14379,9 +14487,9 @@ const _hoisted_5$1 = /*#__PURE__*/createBaseVNode("div", {
14379
14487
  }, null, -1);
14380
14488
 
14381
14489
  function _sfc_render(_ctx, _cache) {
14382
- const _component_VPanelPosition = _sfc_main$3;
14383
- const _component_VButton = _sfc_main$a;
14384
- const _component_VDarkToggle = _sfc_main$4;
14490
+ const _component_VPanelPosition = _sfc_main$4;
14491
+ const _component_VButton = _sfc_main$b;
14492
+ const _component_VDarkToggle = _sfc_main$5;
14385
14493
  const _component_RouterLink = resolveComponent("RouterLink");
14386
14494
 
14387
14495
  return (openBlock(), createElementBlock("div", null, [
@@ -14394,7 +14502,7 @@ function _sfc_render(_ctx, _cache) {
14394
14502
  default: withCtx(({ toggle, isDark }) => [
14395
14503
  createVNode(_component_VButton, {
14396
14504
  n: "sm primary",
14397
- onClick: $event => (toggle())
14505
+ onClick: toggle
14398
14506
  }, {
14399
14507
  default: withCtx(() => [
14400
14508
  _hoisted_4$1,
@@ -14419,7 +14527,7 @@ function _sfc_render(_ctx, _cache) {
14419
14527
  ])
14420
14528
  ]))
14421
14529
  }
14422
- const __unplugin_components_0 = /*#__PURE__*/_export_sfc(_sfc_main$2, [['render',_sfc_render]]);
14530
+ const __unplugin_components_0 = /*#__PURE__*/_export_sfc(_sfc_main$3, [['render',_sfc_render]]);
14423
14531
  /* Injected with object hook! */
14424
14532
 
14425
14533
  const devToolsSettings = useLocalStorage("__vue-devtools-settings__", {
@@ -14580,15 +14688,15 @@ const _hoisted_9 = /* @__PURE__ */ createBaseVNode("div", {
14580
14688
  "w-8": "",
14581
14689
  border: "b base"
14582
14690
  }, null, -1);
14583
- const _sfc_main$1 = /* @__PURE__ */ defineComponent({
14691
+ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
14584
14692
  __name: "SideNav",
14585
14693
  setup(__props) {
14586
14694
  const categories = useCategorizedTabs();
14587
14695
  return (_ctx, _cache) => {
14588
14696
  const _component_DockingPanel = __unplugin_components_0;
14589
14697
  const _component_VDropdown = resolveComponent("VDropdown");
14590
- const _component_SideNavItem = _sfc_main$5;
14591
- const _component_TabIcon = _sfc_main$6;
14698
+ const _component_SideNavItem = _sfc_main$6;
14699
+ const _component_TabIcon = _sfc_main$7;
14592
14700
  const _component_RouterLink = resolveComponent("RouterLink");
14593
14701
  return openBlock(), createElementBlock("div", _hoisted_1$1, [
14594
14702
  createBaseVNode("div", _hoisted_2$1, [
@@ -14658,6 +14766,79 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
14658
14766
 
14659
14767
  /* Injected with object hook! */
14660
14768
 
14769
+ function useSingleton() {
14770
+ const key = Symbol("singleton");
14771
+ return [
14772
+ function provide(v) {
14773
+ const vm = getCurrentInstance();
14774
+ vm?.appContext.app.provide(key, v);
14775
+ },
14776
+ function use(fallback) {
14777
+ return inject(key, fallback);
14778
+ }
14779
+ ];
14780
+ }
14781
+ const [
14782
+ provideNotification,
14783
+ useNotification
14784
+ ] = useSingleton();
14785
+
14786
+ /* Injected with object hook! */
14787
+
14788
+ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
14789
+ __name: "Notification",
14790
+ setup(__props) {
14791
+ const show = ref(false);
14792
+ const icon = ref();
14793
+ const text = ref();
14794
+ provideNotification((_text, _icon, duration = 1500) => {
14795
+ text.value = _text;
14796
+ icon.value = _icon;
14797
+ show.value = true;
14798
+ setTimeout(() => {
14799
+ show.value = false;
14800
+ }, duration);
14801
+ });
14802
+ return (_ctx, _cache) => {
14803
+ return openBlock(), createElementBlock("div", {
14804
+ fixed: "",
14805
+ "left-0": "",
14806
+ "right-0": "",
14807
+ "top-0": "",
14808
+ "z-50": "",
14809
+ "text-center": "",
14810
+ "text-base": "",
14811
+ class: normalizeClass(unref(show) ? "" : "pointer-events-none overflow-hidden")
14812
+ }, [
14813
+ createBaseVNode("div", {
14814
+ border: "~ base",
14815
+ flex: "~ inline gap2",
14816
+ "m-3": "",
14817
+ "inline-block": "",
14818
+ "items-center": "",
14819
+ rounded: "",
14820
+ "px-4": "",
14821
+ "py-1": "",
14822
+ "text-primary": "",
14823
+ "transition-all": "",
14824
+ "duration-300": "",
14825
+ "bg-base": "",
14826
+ style: normalizeStyle(unref(show) ? {} : { transform: "translateY(-300%)" }),
14827
+ class: normalizeClass(unref(show) ? "shadow" : "shadow-none")
14828
+ }, [
14829
+ unref(icon) ? (openBlock(), createElementBlock("div", {
14830
+ key: 0,
14831
+ class: normalizeClass(`i-${unref(icon)}`)
14832
+ }, null, 2)) : createCommentVNode("", true),
14833
+ createBaseVNode("div", null, toDisplayString(unref(text)), 1)
14834
+ ], 6)
14835
+ ], 2);
14836
+ };
14837
+ }
14838
+ });
14839
+
14840
+ /* Injected with object hook! */
14841
+
14661
14842
  /*!
14662
14843
  * pinia v2.0.35
14663
14844
  * (c) 2023 Eduardo San Martin Morote
@@ -14944,6 +15125,8 @@ function normalizePiniaInfo() {
14944
15125
  }
14945
15126
  function updatePinia(component) {
14946
15127
  const proxy = component?.proxy;
15128
+ if (!proxy || !("_pStores" in proxy))
15129
+ return;
14947
15130
  const _stores = proxy?._pStores;
14948
15131
  if (!_stores)
14949
15132
  return;
@@ -15316,9 +15499,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
15316
15499
  });
15317
15500
  router.replace(_route.value);
15318
15501
  return (_ctx, _cache) => {
15319
- const _component_SideNav = _sfc_main$1;
15502
+ const _component_Notification = _sfc_main$1;
15503
+ const _component_SideNav = _sfc_main$2;
15320
15504
  const _component_RouterView = resolveComponent("RouterView");
15321
15505
  return openBlock(), createElementBlock("main", _hoisted_1, [
15506
+ createVNode(_component_Notification),
15322
15507
  createBaseVNode("div", _hoisted_2, [
15323
15508
  unref(route).path !== "/__inspecting" ? (openBlock(), createBlock(_component_SideNav, {
15324
15509
  key: 0,
@@ -15372,4 +15557,4 @@ app.mount("#app");
15372
15557
 
15373
15558
  /* Injected with object hook! */
15374
15559
 
15375
- 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$a as Q, _sfc_main$4 as R, _sfc_main$6 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$3 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, useDevtoolsClient as aA, useColorMode as aa, reactive as ab, useElementBounding as ac, watchEffect as ad, onUnmounted as ae, useStorage as af, vModelText as ag, useDark as ah, watch as ai, shallowRef as aj, onVueInstanceUpdate as ak, instance as al, nanoid as am, vShow as an, h 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, vModelDynamic as ax, __vitePreload as ay, useEventListener 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 };
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, useNotification as aA, useEventListener as aB, useDevtoolsClient as aC, useColorMode as aa, reactive as ab, useElementBounding as ac, watchEffect as ad, onUnmounted as ae, useStorage as af, vModelText as ag, useDark as ah, watch as ai, shallowRef as aj, onVueInstanceUpdate as ak, instance as al, nanoid as am, vShow as an, h 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, vModelDynamic as ax, __vitePreload as ay, useClipboard 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 };
@@ -1,4 +1,4 @@
1
- import { K as isRef } from './index-6d7c9dec.js';
1
+ import { K as isRef } from './index-35968ba5.js';
2
2
 
3
3
  const objectToString = Object.prototype.toString;
4
4
  function toTypeString(value) {