vite-plugin-vue-devtools 0.0.10 → 0.0.12
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/{VCard-c441f774.js → VCard-7914da83.js} +1 -1
- package/dist/client/assets/{VIcon.vue_vue_type_script_setup_true_lang-4c2278af.js → VIcon.vue_vue_type_script_setup_true_lang-26cb9d64.js} +1 -1
- package/dist/client/assets/VIconButton.vue_vue_type_script_setup_true_lang-dab4dc71.js +39 -0
- package/dist/client/assets/{VIconTitle.vue_vue_type_script_setup_true_lang-3789570c.js → VIconTitle.vue_vue_type_script_setup_true_lang-1bbb2033.js} +1 -1
- package/dist/client/assets/{VPanelGrids-3484ea9d.js → VPanelGrids-733278d6.js} +1 -1
- package/dist/client/assets/{VTextInput.vue_vue_type_script_setup_true_lang-9d53f290.js → VTextInput.vue_vue_type_script_setup_true_lang-dede00e7.js} +3 -3
- package/dist/client/assets/{__inspecting-bbaec4fe.js → __inspecting-ac57cfe2.js} +2 -2
- package/dist/client/assets/{assets-facbb582.js → assets-40310f26.js} +18 -34
- package/dist/client/assets/{components-dfc74ac0.js → components-8abb94d8.js} +7 -6
- package/dist/client/assets/documentations-ab483662.js +207 -0
- package/dist/client/assets/{graph-736aa653.js → graph-45c33d8f.js} +2 -2
- package/dist/client/assets/{index-9285098c.js → index-7930cd83.js} +1 -1
- package/dist/client/assets/{index-359dd67c.js → index-d7f947d1.js} +271 -73
- package/dist/client/assets/{index-62a10721.css → index-ea632118.css} +13 -1
- package/dist/client/assets/{inspect-115c7185.js → inspect-95be8b35.js} +2 -2
- package/dist/client/assets/{overview-17f2d4a9.js → overview-f2a16196.js} +5 -5
- package/dist/client/assets/{pages-f46ac6f6.js → pages-52fb2c5c.js} +4 -4
- package/dist/client/assets/{pinia-9a9e9407.js → pinia-69e3497c.js} +5 -4
- package/dist/client/assets/pinia-7ed2c830.svg +1 -0
- package/dist/client/assets/{routes-2c268c33.js → routes-f32e8bb5.js} +7 -6
- package/dist/client/assets/{rpc-5a46e853.js → rpc-5116c57e.js} +1 -1
- package/dist/client/assets/{settings-391a112a.js → settings-a4c43db5.js} +5 -5
- package/dist/client/assets/{splitpanes.es-f1d0c1c1.js → splitpanes.es-09f32a7b.js} +22 -6
- package/dist/client/assets/{timeline-7c8f87a4.js → timeline-9da4ec07.js} +7 -6
- 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 +9 -1
- package/src/node/Container.vue +150 -123
- package/src/node/app.js +1 -25
|
@@ -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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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
|
|
12876
|
+
function useTimeoutFn(cb, interval, options = {}) {
|
|
12877
12877
|
const {
|
|
12878
|
-
|
|
12879
|
-
falsyValue = false
|
|
12878
|
+
immediate = true
|
|
12880
12879
|
} = options;
|
|
12881
|
-
const
|
|
12882
|
-
|
|
12883
|
-
function
|
|
12884
|
-
if (
|
|
12885
|
-
|
|
12886
|
-
|
|
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
|
-
|
|
12894
|
-
|
|
12895
|
-
|
|
12896
|
-
|
|
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$
|
|
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$
|
|
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,25 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
14157
14233
|
|
|
14158
14234
|
/* Injected with object hook! */
|
|
14159
14235
|
|
|
14160
|
-
const __pages_import_0__ = () => __vitePreload(() => import('./timeline-
|
|
14161
|
-
const __pages_import_1__ = () => __vitePreload(() => import('./settings-
|
|
14162
|
-
const __pages_import_2__ = () => __vitePreload(() => import('./routes-
|
|
14163
|
-
const __pages_import_3__ = () => __vitePreload(() => import('./pinia-
|
|
14164
|
-
const __pages_import_4__ = () => __vitePreload(() => import('./pages-
|
|
14165
|
-
const __pages_import_5__ = () => __vitePreload(() => import('./overview-
|
|
14166
|
-
const __pages_import_6__ = () => __vitePreload(() => import('./inspect-
|
|
14167
|
-
const __pages_import_8__ = () => __vitePreload(() => import('./graph-
|
|
14168
|
-
const __pages_import_9__ = () => __vitePreload(() => import('./
|
|
14169
|
-
const __pages_import_10__ = () => __vitePreload(() => import('./
|
|
14170
|
-
const __pages_import_11__ = () => __vitePreload(() => import('./
|
|
14171
|
-
|
|
14172
|
-
|
|
14236
|
+
const __pages_import_0__ = () => __vitePreload(() => import('./timeline-9da4ec07.js'),true?["./timeline-9da4ec07.js","./splitpanes.es-09f32a7b.js","./VIcon.vue_vue_type_script_setup_true_lang-26cb9d64.js","./index-7930cd83.js","./VIconButton.vue_vue_type_script_setup_true_lang-dab4dc71.js","./VPanelGrids-733278d6.js","./VCard-7914da83.js","./timeline-b315b2e0.css"]:void 0,import.meta.url);
|
|
14237
|
+
const __pages_import_1__ = () => __vitePreload(() => import('./settings-a4c43db5.js'),true?["./settings-a4c43db5.js","./VIcon.vue_vue_type_script_setup_true_lang-26cb9d64.js","./VIconTitle.vue_vue_type_script_setup_true_lang-1bbb2033.js"]:void 0,import.meta.url);
|
|
14238
|
+
const __pages_import_2__ = () => __vitePreload(() => import('./routes-f32e8bb5.js'),true?["./routes-f32e8bb5.js","./VPanelGrids-733278d6.js","./VCard-7914da83.js","./splitpanes.es-09f32a7b.js","./VIcon.vue_vue_type_script_setup_true_lang-26cb9d64.js","./index-7930cd83.js","./VIconButton.vue_vue_type_script_setup_true_lang-dab4dc71.js"]:void 0,import.meta.url);
|
|
14239
|
+
const __pages_import_3__ = () => __vitePreload(() => import('./pinia-69e3497c.js'),true?["./pinia-69e3497c.js","./splitpanes.es-09f32a7b.js","./VIcon.vue_vue_type_script_setup_true_lang-26cb9d64.js","./index-7930cd83.js","./VIconButton.vue_vue_type_script_setup_true_lang-dab4dc71.js"]:void 0,import.meta.url);
|
|
14240
|
+
const __pages_import_4__ = () => __vitePreload(() => import('./pages-52fb2c5c.js'),true?["./pages-52fb2c5c.js","./VTextInput.vue_vue_type_script_setup_true_lang-dede00e7.js","./VIconTitle.vue_vue_type_script_setup_true_lang-1bbb2033.js","./VIcon.vue_vue_type_script_setup_true_lang-26cb9d64.js","./VTextInput-52804693.css"]:void 0,import.meta.url);
|
|
14241
|
+
const __pages_import_5__ = () => __vitePreload(() => import('./overview-f2a16196.js'),true?["./overview-f2a16196.js","./VPanelGrids-733278d6.js","./rpc-5116c57e.js","./index-7930cd83.js"]:void 0,import.meta.url);
|
|
14242
|
+
const __pages_import_6__ = () => __vitePreload(() => import('./inspect-95be8b35.js'),true?["./inspect-95be8b35.js","./rpc-5116c57e.js"]:void 0,import.meta.url);
|
|
14243
|
+
const __pages_import_8__ = () => __vitePreload(() => import('./graph-45c33d8f.js'),true?["./graph-45c33d8f.js","./fuse.esm-c317b696.js","./rpc-5116c57e.js"]:void 0,import.meta.url);
|
|
14244
|
+
const __pages_import_9__ = () => __vitePreload(() => import('./documentations-ab483662.js'),true?["./documentations-ab483662.js","./VCard-7914da83.js","./rpc-5116c57e.js"]:void 0,import.meta.url);
|
|
14245
|
+
const __pages_import_10__ = () => __vitePreload(() => import('./components-8abb94d8.js'),true?["./components-8abb94d8.js","./VPanelGrids-733278d6.js","./VCard-7914da83.js","./splitpanes.es-09f32a7b.js","./VIcon.vue_vue_type_script_setup_true_lang-26cb9d64.js","./index-7930cd83.js","./VIconButton.vue_vue_type_script_setup_true_lang-dab4dc71.js"]:void 0,import.meta.url);
|
|
14246
|
+
const __pages_import_11__ = () => __vitePreload(() => import('./assets-40310f26.js'),true?["./assets-40310f26.js","./VPanelGrids-733278d6.js","./VCard-7914da83.js","./VIconButton.vue_vue_type_script_setup_true_lang-dab4dc71.js","./VIcon.vue_vue_type_script_setup_true_lang-26cb9d64.js","./rpc-5116c57e.js","./VTextInput.vue_vue_type_script_setup_true_lang-dede00e7.js","./VIconTitle.vue_vue_type_script_setup_true_lang-1bbb2033.js","./VTextInput-52804693.css","./fuse.esm-c317b696.js"]:void 0,import.meta.url);
|
|
14247
|
+
const __pages_import_12__ = () => __vitePreload(() => import('./__inspecting-ac57cfe2.js'),true?["./__inspecting-ac57cfe2.js","./VPanelGrids-733278d6.js"]:void 0,import.meta.url);
|
|
14248
|
+
|
|
14249
|
+
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}];
|
|
14173
14250
|
/* Injected with object hook! */
|
|
14174
14251
|
|
|
14175
14252
|
const _hoisted_1$4 = ["src", "alt"];
|
|
14176
14253
|
const _hoisted_2$4 = ["title"];
|
|
14177
|
-
const _sfc_main$
|
|
14254
|
+
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
14178
14255
|
__name: "TabIcon",
|
|
14179
14256
|
props: {
|
|
14180
14257
|
icon: null,
|
|
@@ -14208,10 +14285,11 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
14208
14285
|
/* Injected with object hook! */
|
|
14209
14286
|
|
|
14210
14287
|
const client$1 = ref({
|
|
14211
|
-
hook: window.parent
|
|
14288
|
+
hook: window.parent?.__VUE_DEVTOOLS_GLOBAL_HOOK__,
|
|
14212
14289
|
markClientLoaded: () => {
|
|
14213
14290
|
},
|
|
14214
|
-
hookBuffer: []
|
|
14291
|
+
hookBuffer: [],
|
|
14292
|
+
categorizedHookBuffer: {}
|
|
14215
14293
|
});
|
|
14216
14294
|
function useDevtoolsClient() {
|
|
14217
14295
|
return client$1;
|
|
@@ -14219,7 +14297,7 @@ function useDevtoolsClient() {
|
|
|
14219
14297
|
|
|
14220
14298
|
/* Injected with object hook! */
|
|
14221
14299
|
|
|
14222
|
-
const _sfc_main$
|
|
14300
|
+
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
14223
14301
|
__name: "SideNavItem",
|
|
14224
14302
|
props: {
|
|
14225
14303
|
tab: null
|
|
@@ -14228,7 +14306,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
14228
14306
|
const client = useDevtoolsClient();
|
|
14229
14307
|
const router = useRouter();
|
|
14230
14308
|
return (_ctx, _cache) => {
|
|
14231
|
-
const _component_TabIcon = _sfc_main$
|
|
14309
|
+
const _component_TabIcon = _sfc_main$7;
|
|
14232
14310
|
const _component_VTooltip = resolveComponent("VTooltip");
|
|
14233
14311
|
return openBlock(), createBlock(_component_VTooltip, { placement: "right" }, {
|
|
14234
14312
|
popper: withCtx(() => [
|
|
@@ -14269,7 +14347,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
14269
14347
|
|
|
14270
14348
|
/* Injected with object hook! */
|
|
14271
14349
|
|
|
14272
|
-
const _sfc_main$
|
|
14350
|
+
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
14273
14351
|
__name: "VDarkToggle",
|
|
14274
14352
|
setup(__props) {
|
|
14275
14353
|
const mode = useColorMode();
|
|
@@ -14281,7 +14359,39 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
14281
14359
|
mode.value = isDark.value ? "light" : "dark";
|
|
14282
14360
|
}
|
|
14283
14361
|
});
|
|
14284
|
-
const
|
|
14362
|
+
const isAppearanceTransition = document.startViewTransition && !window.matchMedia("(prefers-reduced-motion: reduce)").matches;
|
|
14363
|
+
function toggle(event) {
|
|
14364
|
+
if (!isAppearanceTransition || !event) {
|
|
14365
|
+
isDark.value = !isDark.value;
|
|
14366
|
+
return;
|
|
14367
|
+
}
|
|
14368
|
+
const x = event.clientX;
|
|
14369
|
+
const y = event.clientY;
|
|
14370
|
+
const endRadius = Math.hypot(
|
|
14371
|
+
Math.max(x, innerWidth - x),
|
|
14372
|
+
Math.max(y, innerHeight - y)
|
|
14373
|
+
);
|
|
14374
|
+
const transition = document.startViewTransition(async () => {
|
|
14375
|
+
isDark.value = !isDark.value;
|
|
14376
|
+
await nextTick();
|
|
14377
|
+
});
|
|
14378
|
+
transition.ready.then(() => {
|
|
14379
|
+
const clipPath = [
|
|
14380
|
+
`circle(0px at ${x}px ${y}px)`,
|
|
14381
|
+
`circle(${endRadius}px at ${x}px ${y}px)`
|
|
14382
|
+
];
|
|
14383
|
+
document.documentElement.animate(
|
|
14384
|
+
{
|
|
14385
|
+
clipPath: isDark.value ? [...clipPath].reverse() : clipPath
|
|
14386
|
+
},
|
|
14387
|
+
{
|
|
14388
|
+
duration: 400,
|
|
14389
|
+
easing: "ease-in",
|
|
14390
|
+
pseudoElement: isDark.value ? "::view-transition-old(root)" : "::view-transition-new(root)"
|
|
14391
|
+
}
|
|
14392
|
+
);
|
|
14393
|
+
});
|
|
14394
|
+
}
|
|
14285
14395
|
const context = {
|
|
14286
14396
|
mode,
|
|
14287
14397
|
isDark,
|
|
@@ -14306,7 +14416,7 @@ const _hoisted_1$3 = {
|
|
|
14306
14416
|
"text-lg": ""
|
|
14307
14417
|
};
|
|
14308
14418
|
const _hoisted_2$3 = ["onClick"];
|
|
14309
|
-
const _sfc_main$
|
|
14419
|
+
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
14310
14420
|
__name: "VPanelPosition",
|
|
14311
14421
|
setup(__props) {
|
|
14312
14422
|
const { position: _position } = useFrameState();
|
|
@@ -14350,7 +14460,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
14350
14460
|
|
|
14351
14461
|
/* Injected with object hook! */
|
|
14352
14462
|
|
|
14353
|
-
const _sfc_main$
|
|
14463
|
+
const _sfc_main$3 = {};
|
|
14354
14464
|
|
|
14355
14465
|
const _hoisted_1$2 = {
|
|
14356
14466
|
px3: "",
|
|
@@ -14361,7 +14471,7 @@ const _hoisted_1$2 = {
|
|
|
14361
14471
|
const _hoisted_2$2 = /*#__PURE__*/createBaseVNode("div", {
|
|
14362
14472
|
"text-sm": "",
|
|
14363
14473
|
op50: ""
|
|
14364
|
-
}, "Dock devtools to", -1);
|
|
14474
|
+
}, " Dock devtools to ", -1);
|
|
14365
14475
|
const _hoisted_3$1 = {
|
|
14366
14476
|
px3: "",
|
|
14367
14477
|
py2: "",
|
|
@@ -14379,9 +14489,9 @@ const _hoisted_5$1 = /*#__PURE__*/createBaseVNode("div", {
|
|
|
14379
14489
|
}, null, -1);
|
|
14380
14490
|
|
|
14381
14491
|
function _sfc_render(_ctx, _cache) {
|
|
14382
|
-
const _component_VPanelPosition = _sfc_main$
|
|
14383
|
-
const _component_VButton = _sfc_main$
|
|
14384
|
-
const _component_VDarkToggle = _sfc_main$
|
|
14492
|
+
const _component_VPanelPosition = _sfc_main$4;
|
|
14493
|
+
const _component_VButton = _sfc_main$b;
|
|
14494
|
+
const _component_VDarkToggle = _sfc_main$5;
|
|
14385
14495
|
const _component_RouterLink = resolveComponent("RouterLink");
|
|
14386
14496
|
|
|
14387
14497
|
return (openBlock(), createElementBlock("div", null, [
|
|
@@ -14394,7 +14504,7 @@ function _sfc_render(_ctx, _cache) {
|
|
|
14394
14504
|
default: withCtx(({ toggle, isDark }) => [
|
|
14395
14505
|
createVNode(_component_VButton, {
|
|
14396
14506
|
n: "sm primary",
|
|
14397
|
-
onClick:
|
|
14507
|
+
onClick: toggle
|
|
14398
14508
|
}, {
|
|
14399
14509
|
default: withCtx(() => [
|
|
14400
14510
|
_hoisted_4$1,
|
|
@@ -14419,7 +14529,7 @@ function _sfc_render(_ctx, _cache) {
|
|
|
14419
14529
|
])
|
|
14420
14530
|
]))
|
|
14421
14531
|
}
|
|
14422
|
-
const __unplugin_components_0 = /*#__PURE__*/_export_sfc(_sfc_main$
|
|
14532
|
+
const __unplugin_components_0 = /*#__PURE__*/_export_sfc(_sfc_main$3, [['render',_sfc_render]]);
|
|
14423
14533
|
/* Injected with object hook! */
|
|
14424
14534
|
|
|
14425
14535
|
const devToolsSettings = useLocalStorage("__vue-devtools-settings__", {
|
|
@@ -14472,6 +14582,15 @@ const builtinTabs = [
|
|
|
14472
14582
|
title: "Timeline",
|
|
14473
14583
|
icon: "i-icon-park-outline:vertical-timeline"
|
|
14474
14584
|
},
|
|
14585
|
+
{
|
|
14586
|
+
title: "Inspector",
|
|
14587
|
+
icon: "i-carbon-select-window",
|
|
14588
|
+
category: "advanced",
|
|
14589
|
+
event: (client, router) => {
|
|
14590
|
+
router.replace("/__inspecting");
|
|
14591
|
+
client?.inspector?.enable();
|
|
14592
|
+
}
|
|
14593
|
+
},
|
|
14475
14594
|
{
|
|
14476
14595
|
path: "graph",
|
|
14477
14596
|
title: "Graph",
|
|
@@ -14485,13 +14604,10 @@ const builtinTabs = [
|
|
|
14485
14604
|
category: "advanced"
|
|
14486
14605
|
},
|
|
14487
14606
|
{
|
|
14488
|
-
|
|
14489
|
-
|
|
14490
|
-
|
|
14491
|
-
|
|
14492
|
-
router.replace("/__inspecting");
|
|
14493
|
-
client?.inspector?.enable();
|
|
14494
|
-
}
|
|
14607
|
+
path: "documentations",
|
|
14608
|
+
title: "Documentations",
|
|
14609
|
+
icon: "i-carbon-document",
|
|
14610
|
+
category: "advanced"
|
|
14495
14611
|
}
|
|
14496
14612
|
];
|
|
14497
14613
|
function useTabs() {
|
|
@@ -14580,15 +14696,15 @@ const _hoisted_9 = /* @__PURE__ */ createBaseVNode("div", {
|
|
|
14580
14696
|
"w-8": "",
|
|
14581
14697
|
border: "b base"
|
|
14582
14698
|
}, null, -1);
|
|
14583
|
-
const _sfc_main$
|
|
14699
|
+
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
14584
14700
|
__name: "SideNav",
|
|
14585
14701
|
setup(__props) {
|
|
14586
14702
|
const categories = useCategorizedTabs();
|
|
14587
14703
|
return (_ctx, _cache) => {
|
|
14588
14704
|
const _component_DockingPanel = __unplugin_components_0;
|
|
14589
14705
|
const _component_VDropdown = resolveComponent("VDropdown");
|
|
14590
|
-
const _component_SideNavItem = _sfc_main$
|
|
14591
|
-
const _component_TabIcon = _sfc_main$
|
|
14706
|
+
const _component_SideNavItem = _sfc_main$6;
|
|
14707
|
+
const _component_TabIcon = _sfc_main$7;
|
|
14592
14708
|
const _component_RouterLink = resolveComponent("RouterLink");
|
|
14593
14709
|
return openBlock(), createElementBlock("div", _hoisted_1$1, [
|
|
14594
14710
|
createBaseVNode("div", _hoisted_2$1, [
|
|
@@ -14658,6 +14774,79 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
14658
14774
|
|
|
14659
14775
|
/* Injected with object hook! */
|
|
14660
14776
|
|
|
14777
|
+
function useSingleton() {
|
|
14778
|
+
const key = Symbol("singleton");
|
|
14779
|
+
return [
|
|
14780
|
+
function provide(v) {
|
|
14781
|
+
const vm = getCurrentInstance();
|
|
14782
|
+
vm?.appContext.app.provide(key, v);
|
|
14783
|
+
},
|
|
14784
|
+
function use(fallback) {
|
|
14785
|
+
return inject(key, fallback);
|
|
14786
|
+
}
|
|
14787
|
+
];
|
|
14788
|
+
}
|
|
14789
|
+
const [
|
|
14790
|
+
provideNotification,
|
|
14791
|
+
useNotification
|
|
14792
|
+
] = useSingleton();
|
|
14793
|
+
|
|
14794
|
+
/* Injected with object hook! */
|
|
14795
|
+
|
|
14796
|
+
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
14797
|
+
__name: "Notification",
|
|
14798
|
+
setup(__props) {
|
|
14799
|
+
const show = ref(false);
|
|
14800
|
+
const icon = ref();
|
|
14801
|
+
const text = ref();
|
|
14802
|
+
provideNotification((_text, _icon, duration = 1500) => {
|
|
14803
|
+
text.value = _text;
|
|
14804
|
+
icon.value = _icon;
|
|
14805
|
+
show.value = true;
|
|
14806
|
+
setTimeout(() => {
|
|
14807
|
+
show.value = false;
|
|
14808
|
+
}, duration);
|
|
14809
|
+
});
|
|
14810
|
+
return (_ctx, _cache) => {
|
|
14811
|
+
return openBlock(), createElementBlock("div", {
|
|
14812
|
+
fixed: "",
|
|
14813
|
+
"left-0": "",
|
|
14814
|
+
"right-0": "",
|
|
14815
|
+
"top-0": "",
|
|
14816
|
+
"z-50": "",
|
|
14817
|
+
"text-center": "",
|
|
14818
|
+
"text-base": "",
|
|
14819
|
+
class: normalizeClass(unref(show) ? "" : "pointer-events-none overflow-hidden")
|
|
14820
|
+
}, [
|
|
14821
|
+
createBaseVNode("div", {
|
|
14822
|
+
border: "~ base",
|
|
14823
|
+
flex: "~ inline gap2",
|
|
14824
|
+
"m-3": "",
|
|
14825
|
+
"inline-block": "",
|
|
14826
|
+
"items-center": "",
|
|
14827
|
+
rounded: "",
|
|
14828
|
+
"px-4": "",
|
|
14829
|
+
"py-1": "",
|
|
14830
|
+
"text-primary": "",
|
|
14831
|
+
"transition-all": "",
|
|
14832
|
+
"duration-300": "",
|
|
14833
|
+
"bg-base": "",
|
|
14834
|
+
style: normalizeStyle(unref(show) ? {} : { transform: "translateY(-300%)" }),
|
|
14835
|
+
class: normalizeClass(unref(show) ? "shadow" : "shadow-none")
|
|
14836
|
+
}, [
|
|
14837
|
+
unref(icon) ? (openBlock(), createElementBlock("div", {
|
|
14838
|
+
key: 0,
|
|
14839
|
+
class: normalizeClass(`i-${unref(icon)}`)
|
|
14840
|
+
}, null, 2)) : createCommentVNode("", true),
|
|
14841
|
+
createBaseVNode("div", null, toDisplayString(unref(text)), 1)
|
|
14842
|
+
], 6)
|
|
14843
|
+
], 2);
|
|
14844
|
+
};
|
|
14845
|
+
}
|
|
14846
|
+
});
|
|
14847
|
+
|
|
14848
|
+
/* Injected with object hook! */
|
|
14849
|
+
|
|
14661
14850
|
/*!
|
|
14662
14851
|
* pinia v2.0.35
|
|
14663
14852
|
* (c) 2023 Eduardo San Martin Morote
|
|
@@ -15281,11 +15470,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
15281
15470
|
hookApi.hook.on("init:vue:app", () => {
|
|
15282
15471
|
const client = useDevtoolsClient();
|
|
15283
15472
|
const frameState = useFrameState();
|
|
15284
|
-
const
|
|
15473
|
+
const categorizedHookBuffer = client.value.categorizedHookBuffer;
|
|
15285
15474
|
client.value.markClientLoaded();
|
|
15286
15475
|
hookApi.produce();
|
|
15287
|
-
hookApi.consume(
|
|
15288
|
-
initRoutes(
|
|
15476
|
+
hookApi.consume(categorizedHookBuffer.component ?? []);
|
|
15477
|
+
initRoutes(categorizedHookBuffer.router ?? []);
|
|
15289
15478
|
initPinia();
|
|
15290
15479
|
hookApi.hook.on("host:inspector:close", () => {
|
|
15291
15480
|
if (route.path === "/__inspecting")
|
|
@@ -15318,9 +15507,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
15318
15507
|
});
|
|
15319
15508
|
router.replace(_route.value);
|
|
15320
15509
|
return (_ctx, _cache) => {
|
|
15321
|
-
const
|
|
15510
|
+
const _component_Notification = _sfc_main$1;
|
|
15511
|
+
const _component_SideNav = _sfc_main$2;
|
|
15322
15512
|
const _component_RouterView = resolveComponent("RouterView");
|
|
15323
15513
|
return openBlock(), createElementBlock("main", _hoisted_1, [
|
|
15514
|
+
createVNode(_component_Notification),
|
|
15324
15515
|
createBaseVNode("div", _hoisted_2, [
|
|
15325
15516
|
unref(route).path !== "/__inspecting" ? (openBlock(), createBlock(_component_SideNav, {
|
|
15326
15517
|
key: 0,
|
|
@@ -15336,7 +15527,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
15336
15527
|
|
|
15337
15528
|
/* Injected with object hook! */
|
|
15338
15529
|
|
|
15339
|
-
function
|
|
15530
|
+
function normalizeHookBuffer(buffer) {
|
|
15531
|
+
return buffer.reduce((box, [type, ...args]) => {
|
|
15532
|
+
const categoryName = type.split(":")[0];
|
|
15533
|
+
(box[categoryName] ??= []).push([type, ...args]);
|
|
15534
|
+
return box;
|
|
15535
|
+
}, {});
|
|
15536
|
+
}
|
|
15537
|
+
function createDevToolsClient() {
|
|
15340
15538
|
window.__VUE_DEVTOOLS_VIEW__ = {
|
|
15341
15539
|
loaded: false,
|
|
15342
15540
|
setClient(_client) {
|
|
@@ -15345,7 +15543,8 @@ function initDevtoolsClient() {
|
|
|
15345
15543
|
client.value.markClientLoaded = () => {
|
|
15346
15544
|
this.loaded = true;
|
|
15347
15545
|
};
|
|
15348
|
-
|
|
15546
|
+
client.value.categorizedHookBuffer = normalizeHookBuffer(client.value.hookBuffer);
|
|
15547
|
+
initApp(client.value.categorizedHookBuffer.app?.[0] ?? []);
|
|
15349
15548
|
}
|
|
15350
15549
|
};
|
|
15351
15550
|
}
|
|
@@ -15361,8 +15560,7 @@ const main = '';
|
|
|
15361
15560
|
const __uno = '';
|
|
15362
15561
|
/* Injected with object hook! */
|
|
15363
15562
|
|
|
15364
|
-
|
|
15365
|
-
initDevtoolsClient();
|
|
15563
|
+
createDevToolsClient();
|
|
15366
15564
|
const app = createApp(_sfc_main);
|
|
15367
15565
|
const router = createRouter({
|
|
15368
15566
|
history: createMemoryHistory(),
|
|
@@ -15374,4 +15572,4 @@ app.mount("#app");
|
|
|
15374
15572
|
|
|
15375
15573
|
/* Injected with object hook! */
|
|
15376
15574
|
|
|
15377
|
-
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$
|
|
15575
|
+
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 };
|