vite-plugin-vue-devtools 0.5.0 → 1.0.0-alpha.1
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/client.d.ts +55 -0
- package/dist/client/assets/{VIcon.vue_vue_type_script_setup_true_lang-6cd486d4.js → Icon.vue_vue_type_script_setup_true_lang-f867c918.js} +2 -2
- package/dist/client/assets/{VIconButton.vue_vue_type_script_setup_true_lang-63abce3f.js → IconButton.vue_vue_type_script_setup_true_lang-74db1ae6.js} +4 -5
- package/dist/client/assets/{VIconTitle.vue_vue_type_script_setup_true_lang-1ad26587.js → IconTitle.vue_vue_type_script_setup_true_lang-d82eff77.js} +2 -2
- package/dist/client/assets/{IframeView.vue_vue_type_script_setup_true_lang-c6f176d1.js → IframeView.vue_vue_type_script_setup_true_lang-778923b2.js} +1 -1
- package/dist/client/assets/{VPanelGrids-4b915e62.js → PanelGrids-93648569.js} +1 -1
- package/dist/client/assets/SectionBlock-0024395a.css +18 -0
- package/dist/client/assets/{VSectionBlock-8dcfb48d.js → SectionBlock-a8928e3c.js} +11 -11
- package/dist/client/assets/{StateFields.vue_vue_type_script_setup_true_lang-617e4d70.js → StateFields.vue_vue_type_script_setup_true_lang-019c8d08.js} +13 -13
- package/dist/client/assets/{VSwitch.vue_vue_type_script_setup_true_lang-ed954339.js → Switch.vue_vue_type_script_setup_true_lang-3e126052.js} +6 -6
- package/dist/client/assets/{VTextInput.vue_vue_type_script_setup_true_lang-5edeb245.js → TextInput.vue_vue_type_script_setup_true_lang-13bb76a1.js} +5 -5
- package/dist/client/assets/{__eyedropper-67c21231.js → __eyedropper-44f84f34.js} +10 -6
- package/dist/client/assets/{assets-bf6dd9e4.js → assets-114c5f0e.js} +27 -28
- package/dist/client/assets/{component-docs-b2752be1.js → component-docs-6d7e057c.js} +9 -10
- package/dist/client/assets/{components-c9aae4bc.js → components-fc711123.js} +134 -21
- package/dist/client/assets/{documentations-e0b483de.js → documentations-4d7aa8fe.js} +4 -5
- package/dist/client/assets/{graph-f081d3a5.js → graph-0860970b.js} +8 -9
- package/dist/client/assets/{index-f977bcde.js → index-95398468.js} +1 -1
- package/dist/client/assets/{index-197edebf.js → index-9f1190d8.js} +475 -121
- package/dist/client/assets/index-d3dcbe9e.css +474 -0
- package/dist/client/assets/{inspect-8d04bb08.js → inspect-6bd0f86e.js} +2 -3
- package/dist/client/assets/{npm-73c6479f.js → npm-ee43d18c.js} +17 -18
- package/dist/client/assets/{overview-edc8c0a8.js → overview-8e63c4fa.js} +15 -16
- package/dist/client/assets/{pages-562d1ae5.js → pages-323386ca.js} +16 -16
- package/dist/client/assets/{pinia-89f6b4c0.js → pinia-58865e70.js} +6 -6
- package/dist/client/assets/{routes-ddddc2d7.js → routes-cd907bae.js} +13 -13
- package/dist/client/assets/{settings-3815e37a.css → settings-7bce89ae.css} +3 -3
- package/dist/client/assets/{settings-7722ba4d.js → settings-b93aee1f.js} +37 -39
- package/dist/client/assets/{splitpanes.es-2f5182b4.js → splitpanes.es-36fe45c8.js} +1 -1
- package/dist/client/assets/{timeline-bc5ea36f.js → timeline-8ce18510.js} +11 -11
- package/dist/client/index.html +2 -2
- package/dist/{index.cjs → vite.cjs} +9 -40
- package/dist/{index.mjs → vite.mjs} +7 -38
- package/package.json +26 -89
- package/src/app.js +4 -0
- package/src/{node/views → views}/ComponentInspector.vue +6 -6
- package/src/{node/views → views}/Main.vue +30 -24
- package/README.md +0 -166
- package/dist/client/assets/VSectionBlock-52804693.css +0 -18
- package/dist/client/assets/index-fb18df65.css +0 -474
- package/dist/client/assets/rpc-b9c94a3a.js +0 -145
- package/src/node/app.js +0 -31
- /package/dist/{index.d.ts → vite.d.ts} +0 -0
- /package/src/{node/views → views}/FrameBox.vue +0 -0
- /package/src/{node/views → views}/composables.ts +0 -0
- /package/src/{node/views → views}/utils.ts +0 -0
|
@@ -12696,7 +12696,7 @@ const scriptRel = 'modulepreload';const assetsURL = function(dep, importerUrl) {
|
|
|
12696
12696
|
/* Injected with object hook! */
|
|
12697
12697
|
|
|
12698
12698
|
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
12699
|
-
__name: "
|
|
12699
|
+
__name: "Button",
|
|
12700
12700
|
props: {
|
|
12701
12701
|
to: {},
|
|
12702
12702
|
icon: {}
|
|
@@ -13259,24 +13259,24 @@ function computedAsync(evaluationCallback, initialState, optionsOrRef) {
|
|
|
13259
13259
|
}
|
|
13260
13260
|
}
|
|
13261
13261
|
|
|
13262
|
-
function unrefElement(elRef) {
|
|
13262
|
+
function unrefElement$1(elRef) {
|
|
13263
13263
|
var _a;
|
|
13264
13264
|
const plain = toValue(elRef);
|
|
13265
13265
|
return (_a = plain == null ? void 0 : plain.$el) != null ? _a : plain;
|
|
13266
13266
|
}
|
|
13267
13267
|
|
|
13268
|
-
const defaultWindow = isClient ? window : void 0;
|
|
13268
|
+
const defaultWindow$1 = isClient ? window : void 0;
|
|
13269
13269
|
const defaultDocument = isClient ? window.document : void 0;
|
|
13270
13270
|
const defaultNavigator = isClient ? window.navigator : void 0;
|
|
13271
13271
|
|
|
13272
|
-
function useEventListener(...args) {
|
|
13272
|
+
function useEventListener$1(...args) {
|
|
13273
13273
|
let target;
|
|
13274
13274
|
let events;
|
|
13275
13275
|
let listeners;
|
|
13276
13276
|
let options;
|
|
13277
13277
|
if (typeof args[0] === "string" || Array.isArray(args[0])) {
|
|
13278
13278
|
[events, listeners, options] = args;
|
|
13279
|
-
target = defaultWindow;
|
|
13279
|
+
target = defaultWindow$1;
|
|
13280
13280
|
} else {
|
|
13281
13281
|
[target, events, listeners, options] = args;
|
|
13282
13282
|
}
|
|
@@ -13296,7 +13296,7 @@ function useEventListener(...args) {
|
|
|
13296
13296
|
return () => el.removeEventListener(event, listener, options2);
|
|
13297
13297
|
};
|
|
13298
13298
|
const stopWatch = watch(
|
|
13299
|
-
() => [unrefElement(target), toValue(options)],
|
|
13299
|
+
() => [unrefElement$1(target), toValue(options)],
|
|
13300
13300
|
([el, options2]) => {
|
|
13301
13301
|
cleanup();
|
|
13302
13302
|
if (!el)
|
|
@@ -13319,7 +13319,7 @@ function useEventListener(...args) {
|
|
|
13319
13319
|
|
|
13320
13320
|
let _iOSWorkaround = false;
|
|
13321
13321
|
function onClickOutside(target, handler, options = {}) {
|
|
13322
|
-
const { window = defaultWindow, ignore = [], capture = true, detectIframe = false } = options;
|
|
13322
|
+
const { window = defaultWindow$1, ignore = [], capture = true, detectIframe = false } = options;
|
|
13323
13323
|
if (!window)
|
|
13324
13324
|
return;
|
|
13325
13325
|
if (isIOS && !_iOSWorkaround) {
|
|
@@ -13332,13 +13332,13 @@ function onClickOutside(target, handler, options = {}) {
|
|
|
13332
13332
|
if (typeof target2 === "string") {
|
|
13333
13333
|
return Array.from(window.document.querySelectorAll(target2)).some((el) => el === event.target || event.composedPath().includes(el));
|
|
13334
13334
|
} else {
|
|
13335
|
-
const el = unrefElement(target2);
|
|
13335
|
+
const el = unrefElement$1(target2);
|
|
13336
13336
|
return el && (event.target === el || event.composedPath().includes(el));
|
|
13337
13337
|
}
|
|
13338
13338
|
});
|
|
13339
13339
|
};
|
|
13340
13340
|
const listener = (event) => {
|
|
13341
|
-
const el = unrefElement(target);
|
|
13341
|
+
const el = unrefElement$1(target);
|
|
13342
13342
|
if (!el || el === event.target || event.composedPath().includes(el))
|
|
13343
13343
|
return;
|
|
13344
13344
|
if (event.detail === 0)
|
|
@@ -13350,16 +13350,16 @@ function onClickOutside(target, handler, options = {}) {
|
|
|
13350
13350
|
handler(event);
|
|
13351
13351
|
};
|
|
13352
13352
|
const cleanup = [
|
|
13353
|
-
useEventListener(window, "click", listener, { passive: true, capture }),
|
|
13354
|
-
useEventListener(window, "pointerdown", (e) => {
|
|
13355
|
-
const el = unrefElement(target);
|
|
13353
|
+
useEventListener$1(window, "click", listener, { passive: true, capture }),
|
|
13354
|
+
useEventListener$1(window, "pointerdown", (e) => {
|
|
13355
|
+
const el = unrefElement$1(target);
|
|
13356
13356
|
if (el)
|
|
13357
13357
|
shouldListen = !e.composedPath().includes(el) && !shouldIgnore(e);
|
|
13358
13358
|
}, { passive: true }),
|
|
13359
|
-
detectIframe && useEventListener(window, "blur", (event) => {
|
|
13359
|
+
detectIframe && useEventListener$1(window, "blur", (event) => {
|
|
13360
13360
|
setTimeout(() => {
|
|
13361
13361
|
var _a;
|
|
13362
|
-
const el = unrefElement(target);
|
|
13362
|
+
const el = unrefElement$1(target);
|
|
13363
13363
|
if (((_a = window.document.activeElement) == null ? void 0 : _a.tagName) === "IFRAME" && !(el == null ? void 0 : el.contains(window.document.activeElement)))
|
|
13364
13364
|
handler(event);
|
|
13365
13365
|
}, 0);
|
|
@@ -13419,7 +13419,7 @@ function onKeyStroke(...args) {
|
|
|
13419
13419
|
handler = args[0];
|
|
13420
13420
|
}
|
|
13421
13421
|
const {
|
|
13422
|
-
target = defaultWindow,
|
|
13422
|
+
target = defaultWindow$1,
|
|
13423
13423
|
eventName = "keydown",
|
|
13424
13424
|
passive = false,
|
|
13425
13425
|
dedupe = false
|
|
@@ -13431,7 +13431,7 @@ function onKeyStroke(...args) {
|
|
|
13431
13431
|
if (predicate(e))
|
|
13432
13432
|
handler(e);
|
|
13433
13433
|
};
|
|
13434
|
-
return useEventListener(target, eventName, listener, passive);
|
|
13434
|
+
return useEventListener$1(target, eventName, listener, passive);
|
|
13435
13435
|
}
|
|
13436
13436
|
function onKeyDown(key, handler, options = {}) {
|
|
13437
13437
|
return onKeyStroke(key, handler, __spreadProps$c(__spreadValues$p({}, options), { eventName: "keydown" }));
|
|
@@ -13458,7 +13458,7 @@ function useSupported(callback) {
|
|
|
13458
13458
|
function useRafFn(fn, options = {}) {
|
|
13459
13459
|
const {
|
|
13460
13460
|
immediate = true,
|
|
13461
|
-
window = defaultWindow
|
|
13461
|
+
window = defaultWindow$1
|
|
13462
13462
|
} = options;
|
|
13463
13463
|
const isActive = ref(false);
|
|
13464
13464
|
let previousFrameTimestamp = 0;
|
|
@@ -13495,7 +13495,7 @@ function useRafFn(fn, options = {}) {
|
|
|
13495
13495
|
}
|
|
13496
13496
|
|
|
13497
13497
|
function useMediaQuery(query, options = {}) {
|
|
13498
|
-
const { window = defaultWindow } = options;
|
|
13498
|
+
const { window = defaultWindow$1 } = options;
|
|
13499
13499
|
const isSupported = useSupported(() => window && "matchMedia" in window && typeof window.matchMedia === "function");
|
|
13500
13500
|
let mediaQuery;
|
|
13501
13501
|
const matches = ref(false);
|
|
@@ -13550,7 +13550,7 @@ function useClipboard(options = {}) {
|
|
|
13550
13550
|
}
|
|
13551
13551
|
if (isSupported.value && read) {
|
|
13552
13552
|
for (const event of events)
|
|
13553
|
-
useEventListener(event, updateText);
|
|
13553
|
+
useEventListener$1(event, updateText);
|
|
13554
13554
|
}
|
|
13555
13555
|
async function copy(value = toValue(source)) {
|
|
13556
13556
|
if (isSupported.value && value != null) {
|
|
@@ -13664,7 +13664,7 @@ function useStorage(key, defaults, storage, options = {}) {
|
|
|
13664
13664
|
writeDefaults = true,
|
|
13665
13665
|
mergeDefaults = false,
|
|
13666
13666
|
shallow,
|
|
13667
|
-
window = defaultWindow,
|
|
13667
|
+
window = defaultWindow$1,
|
|
13668
13668
|
eventFilter,
|
|
13669
13669
|
onError = (e) => {
|
|
13670
13670
|
console.error(e);
|
|
@@ -13675,7 +13675,7 @@ function useStorage(key, defaults, storage, options = {}) {
|
|
|
13675
13675
|
try {
|
|
13676
13676
|
storage = getSSRHandler("getDefaultStorage", () => {
|
|
13677
13677
|
var _a2;
|
|
13678
|
-
return (_a2 = defaultWindow) == null ? void 0 : _a2.localStorage;
|
|
13678
|
+
return (_a2 = defaultWindow$1) == null ? void 0 : _a2.localStorage;
|
|
13679
13679
|
})();
|
|
13680
13680
|
} catch (e) {
|
|
13681
13681
|
onError(e);
|
|
@@ -13692,8 +13692,8 @@ function useStorage(key, defaults, storage, options = {}) {
|
|
|
13692
13692
|
{ flush, deep, eventFilter }
|
|
13693
13693
|
);
|
|
13694
13694
|
if (window && listenToStorageChanges) {
|
|
13695
|
-
useEventListener(window, "storage", update);
|
|
13696
|
-
useEventListener(window, customStorageEventName, updateFromCustomEvent);
|
|
13695
|
+
useEventListener$1(window, "storage", update);
|
|
13696
|
+
useEventListener$1(window, customStorageEventName, updateFromCustomEvent);
|
|
13697
13697
|
}
|
|
13698
13698
|
update();
|
|
13699
13699
|
return data;
|
|
@@ -13792,7 +13792,7 @@ function useColorMode(options = {}) {
|
|
|
13792
13792
|
selector = "html",
|
|
13793
13793
|
attribute = "class",
|
|
13794
13794
|
initialValue = "auto",
|
|
13795
|
-
window = defaultWindow,
|
|
13795
|
+
window = defaultWindow$1,
|
|
13796
13796
|
storage,
|
|
13797
13797
|
storageKey = "vueuse-color-scheme",
|
|
13798
13798
|
listenToStorageChanges = true,
|
|
@@ -13814,7 +13814,7 @@ function useColorMode(options = {}) {
|
|
|
13814
13814
|
const updateHTMLAttrs = getSSRHandler(
|
|
13815
13815
|
"updateHTMLAttrs",
|
|
13816
13816
|
(selector2, attribute2, value) => {
|
|
13817
|
-
const el = typeof selector2 === "string" ? window == null ? void 0 : window.document.querySelector(selector2) : unrefElement(selector2);
|
|
13817
|
+
const el = typeof selector2 === "string" ? window == null ? void 0 : window.document.querySelector(selector2) : unrefElement$1(selector2);
|
|
13818
13818
|
if (!el)
|
|
13819
13819
|
return;
|
|
13820
13820
|
let style;
|
|
@@ -13936,7 +13936,7 @@ var __objRest$2 = (source, exclude) => {
|
|
|
13936
13936
|
return target;
|
|
13937
13937
|
};
|
|
13938
13938
|
function useResizeObserver(target, callback, options = {}) {
|
|
13939
|
-
const _a = options, { window = defaultWindow } = _a, observerOptions = __objRest$2(_a, ["window"]);
|
|
13939
|
+
const _a = options, { window = defaultWindow$1 } = _a, observerOptions = __objRest$2(_a, ["window"]);
|
|
13940
13940
|
let observer;
|
|
13941
13941
|
const isSupported = useSupported(() => window && "ResizeObserver" in window);
|
|
13942
13942
|
const cleanup = () => {
|
|
@@ -13946,7 +13946,7 @@ function useResizeObserver(target, callback, options = {}) {
|
|
|
13946
13946
|
}
|
|
13947
13947
|
};
|
|
13948
13948
|
const targets = computed(
|
|
13949
|
-
() => Array.isArray(target) ? target.map((el) => unrefElement(el)) : [unrefElement(target)]
|
|
13949
|
+
() => Array.isArray(target) ? target.map((el) => unrefElement$1(el)) : [unrefElement$1(target)]
|
|
13950
13950
|
);
|
|
13951
13951
|
const stopWatch = watch(
|
|
13952
13952
|
targets,
|
|
@@ -13987,7 +13987,7 @@ function useElementBounding(target, options = {}) {
|
|
|
13987
13987
|
const x = ref(0);
|
|
13988
13988
|
const y = ref(0);
|
|
13989
13989
|
function update() {
|
|
13990
|
-
const el = unrefElement(target);
|
|
13990
|
+
const el = unrefElement$1(target);
|
|
13991
13991
|
if (!el) {
|
|
13992
13992
|
if (reset) {
|
|
13993
13993
|
height.value = 0;
|
|
@@ -14012,11 +14012,11 @@ function useElementBounding(target, options = {}) {
|
|
|
14012
14012
|
y.value = rect.y;
|
|
14013
14013
|
}
|
|
14014
14014
|
useResizeObserver(target, update);
|
|
14015
|
-
watch(() => unrefElement(target), (ele) => !ele && update());
|
|
14015
|
+
watch(() => unrefElement$1(target), (ele) => !ele && update());
|
|
14016
14016
|
if (windowScroll)
|
|
14017
|
-
useEventListener("scroll", update, { capture: true, passive: true });
|
|
14017
|
+
useEventListener$1("scroll", update, { capture: true, passive: true });
|
|
14018
14018
|
if (windowResize)
|
|
14019
|
-
useEventListener("resize", update, { passive: true });
|
|
14019
|
+
useEventListener$1("resize", update, { passive: true });
|
|
14020
14020
|
tryOnMounted(() => {
|
|
14021
14021
|
if (immediate)
|
|
14022
14022
|
update();
|
|
@@ -14035,10 +14035,10 @@ function useElementBounding(target, options = {}) {
|
|
|
14035
14035
|
}
|
|
14036
14036
|
|
|
14037
14037
|
function useElementSize(target, initialSize = { width: 0, height: 0 }, options = {}) {
|
|
14038
|
-
const { window = defaultWindow, box = "content-box" } = options;
|
|
14038
|
+
const { window = defaultWindow$1, box = "content-box" } = options;
|
|
14039
14039
|
const isSVG = computed(() => {
|
|
14040
14040
|
var _a, _b;
|
|
14041
|
-
return (_b = (_a = unrefElement(target)) == null ? void 0 : _a.namespaceURI) == null ? void 0 : _b.includes("svg");
|
|
14041
|
+
return (_b = (_a = unrefElement$1(target)) == null ? void 0 : _a.namespaceURI) == null ? void 0 : _b.includes("svg");
|
|
14042
14042
|
});
|
|
14043
14043
|
const width = ref(initialSize.width);
|
|
14044
14044
|
const height = ref(initialSize.height);
|
|
@@ -14047,7 +14047,7 @@ function useElementSize(target, initialSize = { width: 0, height: 0 }, options =
|
|
|
14047
14047
|
([entry]) => {
|
|
14048
14048
|
const boxSize = box === "border-box" ? entry.borderBoxSize : box === "content-box" ? entry.contentBoxSize : entry.devicePixelContentBoxSize;
|
|
14049
14049
|
if (window && isSVG.value) {
|
|
14050
|
-
const $elem = unrefElement(target);
|
|
14050
|
+
const $elem = unrefElement$1(target);
|
|
14051
14051
|
if ($elem) {
|
|
14052
14052
|
const styles = window.getComputedStyle($elem);
|
|
14053
14053
|
width.value = Number.parseFloat(styles.width);
|
|
@@ -14067,7 +14067,7 @@ function useElementSize(target, initialSize = { width: 0, height: 0 }, options =
|
|
|
14067
14067
|
options
|
|
14068
14068
|
);
|
|
14069
14069
|
watch(
|
|
14070
|
-
() => unrefElement(target),
|
|
14070
|
+
() => unrefElement$1(target),
|
|
14071
14071
|
(ele) => {
|
|
14072
14072
|
width.value = ele ? initialSize.width : 0;
|
|
14073
14073
|
height.value = ele ? initialSize.height : 0;
|
|
@@ -14190,13 +14190,13 @@ function useScroll(element, options = {}) {
|
|
|
14190
14190
|
onScrollEndDebounced(e);
|
|
14191
14191
|
onScroll(e);
|
|
14192
14192
|
};
|
|
14193
|
-
useEventListener(
|
|
14193
|
+
useEventListener$1(
|
|
14194
14194
|
element,
|
|
14195
14195
|
"scroll",
|
|
14196
14196
|
throttle ? useThrottleFn(onScrollHandler, throttle, true, false) : onScrollHandler,
|
|
14197
14197
|
eventListenerOptions
|
|
14198
14198
|
);
|
|
14199
|
-
useEventListener(
|
|
14199
|
+
useEventListener$1(
|
|
14200
14200
|
element,
|
|
14201
14201
|
"scrollend",
|
|
14202
14202
|
onScrollEnd,
|
|
@@ -14280,7 +14280,7 @@ function useInfiniteScroll(element, onLoadMore, options = {}) {
|
|
|
14280
14280
|
}
|
|
14281
14281
|
|
|
14282
14282
|
function useLocalStorage(key, initialValue, options = {}) {
|
|
14283
|
-
const { window = defaultWindow } = options;
|
|
14283
|
+
const { window = defaultWindow$1 } = options;
|
|
14284
14284
|
return useStorage(key, initialValue, window == null ? void 0 : window.localStorage, options);
|
|
14285
14285
|
}
|
|
14286
14286
|
|
|
@@ -14298,7 +14298,7 @@ const DefaultMagicKeysAliasMap = {
|
|
|
14298
14298
|
function useMagicKeys(options = {}) {
|
|
14299
14299
|
const {
|
|
14300
14300
|
reactive: useReactive = false,
|
|
14301
|
-
target = defaultWindow,
|
|
14301
|
+
target = defaultWindow$1,
|
|
14302
14302
|
aliasMap = DefaultMagicKeysAliasMap,
|
|
14303
14303
|
passive = true,
|
|
14304
14304
|
onEventFired = noop
|
|
@@ -14351,16 +14351,16 @@ function useMagicKeys(options = {}) {
|
|
|
14351
14351
|
[...current, ...values].forEach((key2) => metaDeps.add(key2));
|
|
14352
14352
|
}
|
|
14353
14353
|
}
|
|
14354
|
-
useEventListener(target, "keydown", (e) => {
|
|
14354
|
+
useEventListener$1(target, "keydown", (e) => {
|
|
14355
14355
|
updateRefs(e, true);
|
|
14356
14356
|
return onEventFired(e);
|
|
14357
14357
|
}, { passive });
|
|
14358
|
-
useEventListener(target, "keyup", (e) => {
|
|
14358
|
+
useEventListener$1(target, "keyup", (e) => {
|
|
14359
14359
|
updateRefs(e, false);
|
|
14360
14360
|
return onEventFired(e);
|
|
14361
14361
|
}, { passive });
|
|
14362
|
-
useEventListener("blur", reset, { passive: true });
|
|
14363
|
-
useEventListener("focus", reset, { passive: true });
|
|
14362
|
+
useEventListener$1("blur", reset, { passive: true });
|
|
14363
|
+
useEventListener$1("focus", reset, { passive: true });
|
|
14364
14364
|
const proxy = new Proxy(
|
|
14365
14365
|
refs,
|
|
14366
14366
|
{
|
|
@@ -14419,7 +14419,19 @@ function useNow(options = {}) {
|
|
|
14419
14419
|
}
|
|
14420
14420
|
}
|
|
14421
14421
|
|
|
14422
|
-
function
|
|
14422
|
+
function usePreferredColorScheme(options) {
|
|
14423
|
+
const isLight = useMediaQuery("(prefers-color-scheme: light)", options);
|
|
14424
|
+
const isDark = useMediaQuery("(prefers-color-scheme: dark)", options);
|
|
14425
|
+
return computed(() => {
|
|
14426
|
+
if (isDark.value)
|
|
14427
|
+
return "dark";
|
|
14428
|
+
if (isLight.value)
|
|
14429
|
+
return "light";
|
|
14430
|
+
return "no-preference";
|
|
14431
|
+
});
|
|
14432
|
+
}
|
|
14433
|
+
|
|
14434
|
+
function checkOverflowScroll$1(ele) {
|
|
14423
14435
|
const style = window.getComputedStyle(ele);
|
|
14424
14436
|
if (style.overflowX === "scroll" || style.overflowY === "scroll" || style.overflowX === "auto" && ele.clientWidth < ele.scrollWidth || style.overflowY === "auto" && ele.clientHeight < ele.scrollHeight) {
|
|
14425
14437
|
return true;
|
|
@@ -14427,13 +14439,13 @@ function checkOverflowScroll(ele) {
|
|
|
14427
14439
|
const parent = ele.parentNode;
|
|
14428
14440
|
if (!parent || parent.tagName === "BODY")
|
|
14429
14441
|
return false;
|
|
14430
|
-
return checkOverflowScroll(parent);
|
|
14442
|
+
return checkOverflowScroll$1(parent);
|
|
14431
14443
|
}
|
|
14432
14444
|
}
|
|
14433
|
-
function preventDefault(rawEvent) {
|
|
14445
|
+
function preventDefault$1(rawEvent) {
|
|
14434
14446
|
const e = rawEvent || window.event;
|
|
14435
14447
|
const _target = e.target;
|
|
14436
|
-
if (checkOverflowScroll(_target))
|
|
14448
|
+
if (checkOverflowScroll$1(_target))
|
|
14437
14449
|
return false;
|
|
14438
14450
|
if (e.touches.length > 1)
|
|
14439
14451
|
return true;
|
|
@@ -14441,7 +14453,7 @@ function preventDefault(rawEvent) {
|
|
|
14441
14453
|
e.preventDefault();
|
|
14442
14454
|
return false;
|
|
14443
14455
|
}
|
|
14444
|
-
function useScrollLock(element, initialState = false) {
|
|
14456
|
+
function useScrollLock$1(element, initialState = false) {
|
|
14445
14457
|
const isLocked = ref(initialState);
|
|
14446
14458
|
let stopTouchMoveListener = null;
|
|
14447
14459
|
let initialOverflow;
|
|
@@ -14460,11 +14472,11 @@ function useScrollLock(element, initialState = false) {
|
|
|
14460
14472
|
if (!ele || isLocked.value)
|
|
14461
14473
|
return;
|
|
14462
14474
|
if (isIOS) {
|
|
14463
|
-
stopTouchMoveListener = useEventListener(
|
|
14475
|
+
stopTouchMoveListener = useEventListener$1(
|
|
14464
14476
|
ele,
|
|
14465
14477
|
"touchmove",
|
|
14466
14478
|
(e) => {
|
|
14467
|
-
preventDefault(e);
|
|
14479
|
+
preventDefault$1(e);
|
|
14468
14480
|
},
|
|
14469
14481
|
{ passive: false }
|
|
14470
14482
|
);
|
|
@@ -14800,12 +14812,12 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
14800
14812
|
}
|
|
14801
14813
|
return (_ctx, _cache) => {
|
|
14802
14814
|
const _component_Logo = __unplugin_components_0;
|
|
14803
|
-
const
|
|
14804
|
-
const
|
|
14815
|
+
const _component_VDBadge = __unplugin_components_1;
|
|
14816
|
+
const _component_VDButton = _sfc_main$d;
|
|
14805
14817
|
return openBlock(), createElementBlock("div", _hoisted_1$6, [
|
|
14806
14818
|
createBaseVNode("div", _hoisted_2$5, [
|
|
14807
14819
|
createVNode(_component_Logo, { "h-16": "" }),
|
|
14808
|
-
createVNode(
|
|
14820
|
+
createVNode(_component_VDBadge, {
|
|
14809
14821
|
"mr--15": "",
|
|
14810
14822
|
"mt--5": "",
|
|
14811
14823
|
"bg-green-400:10": "",
|
|
@@ -14817,7 +14829,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
14817
14829
|
_hoisted_3$3,
|
|
14818
14830
|
_hoisted_4$2,
|
|
14819
14831
|
_hoisted_5$2,
|
|
14820
|
-
createVNode(
|
|
14832
|
+
createVNode(_component_VDButton, {
|
|
14821
14833
|
"mt-4": "",
|
|
14822
14834
|
n: "xl primary",
|
|
14823
14835
|
onClick: visit
|
|
@@ -14834,20 +14846,20 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
14834
14846
|
|
|
14835
14847
|
/* Injected with object hook! */
|
|
14836
14848
|
|
|
14837
|
-
const __pages_import_0__ = () => __vitePreload(() => import('./timeline-
|
|
14838
|
-
const __pages_import_1__ = () => __vitePreload(() => import('./settings-
|
|
14839
|
-
const __pages_import_2__ = () => __vitePreload(() => import('./routes-
|
|
14840
|
-
const __pages_import_3__ = () => __vitePreload(() => import('./pinia-
|
|
14841
|
-
const __pages_import_4__ = () => __vitePreload(() => import('./pages-
|
|
14842
|
-
const __pages_import_5__ = () => __vitePreload(() => import('./overview-
|
|
14843
|
-
const __pages_import_6__ = () => __vitePreload(() => import('./npm-
|
|
14844
|
-
const __pages_import_7__ = () => __vitePreload(() => import('./inspect-
|
|
14845
|
-
const __pages_import_9__ = () => __vitePreload(() => import('./graph-
|
|
14846
|
-
const __pages_import_10__ = () => __vitePreload(() => import('./documentations-
|
|
14847
|
-
const __pages_import_11__ = () => __vitePreload(() => import('./components-
|
|
14848
|
-
const __pages_import_12__ = () => __vitePreload(() => import('./component-docs-
|
|
14849
|
-
const __pages_import_13__ = () => __vitePreload(() => import('./assets-
|
|
14850
|
-
const __pages_import_14__ = () => __vitePreload(() => import('./__eyedropper-
|
|
14849
|
+
const __pages_import_0__ = () => __vitePreload(() => import('./timeline-8ce18510.js'),true?["./timeline-8ce18510.js","./StateFields.vue_vue_type_script_setup_true_lang-019c8d08.js","./Icon.vue_vue_type_script_setup_true_lang-f867c918.js","./index-95398468.js","./IconButton.vue_vue_type_script_setup_true_lang-74db1ae6.js","./PanelGrids-93648569.js","./_commonjsHelpers-65004790.js","./splitpanes.es-36fe45c8.js","./timeline-b315b2e0.css"]:void 0,import.meta.url);
|
|
14850
|
+
const __pages_import_1__ = () => __vitePreload(() => import('./settings-b93aee1f.js'),true?["./settings-b93aee1f.js","./Switch.vue_vue_type_script_setup_true_lang-3e126052.js","./Icon.vue_vue_type_script_setup_true_lang-f867c918.js","./_commonjsHelpers-65004790.js","./IconButton.vue_vue_type_script_setup_true_lang-74db1ae6.js","./TextInput.vue_vue_type_script_setup_true_lang-13bb76a1.js","./IconTitle.vue_vue_type_script_setup_true_lang-d82eff77.js","./settings-7bce89ae.css"]:void 0,import.meta.url);
|
|
14851
|
+
const __pages_import_2__ = () => __vitePreload(() => import('./routes-cd907bae.js'),true?["./routes-cd907bae.js","./PanelGrids-93648569.js","./StateFields.vue_vue_type_script_setup_true_lang-019c8d08.js","./Icon.vue_vue_type_script_setup_true_lang-f867c918.js","./index-95398468.js","./IconButton.vue_vue_type_script_setup_true_lang-74db1ae6.js","./splitpanes.es-36fe45c8.js"]:void 0,import.meta.url);
|
|
14852
|
+
const __pages_import_3__ = () => __vitePreload(() => import('./pinia-58865e70.js'),true?["./pinia-58865e70.js","./StateFields.vue_vue_type_script_setup_true_lang-019c8d08.js","./Icon.vue_vue_type_script_setup_true_lang-f867c918.js","./index-95398468.js","./IconButton.vue_vue_type_script_setup_true_lang-74db1ae6.js","./splitpanes.es-36fe45c8.js"]:void 0,import.meta.url);
|
|
14853
|
+
const __pages_import_4__ = () => __vitePreload(() => import('./pages-323386ca.js'),true?["./pages-323386ca.js","./SectionBlock-a8928e3c.js","./IconTitle.vue_vue_type_script_setup_true_lang-d82eff77.js","./Icon.vue_vue_type_script_setup_true_lang-f867c918.js","./SectionBlock-0024395a.css","./TextInput.vue_vue_type_script_setup_true_lang-13bb76a1.js"]:void 0,import.meta.url);
|
|
14854
|
+
const __pages_import_5__ = () => __vitePreload(() => import('./overview-8e63c4fa.js'),true?["./overview-8e63c4fa.js","./PanelGrids-93648569.js","./index-95398468.js"]:void 0,import.meta.url);
|
|
14855
|
+
const __pages_import_6__ = () => __vitePreload(() => import('./npm-ee43d18c.js'),true?["./npm-ee43d18c.js","./SectionBlock-a8928e3c.js","./IconTitle.vue_vue_type_script_setup_true_lang-d82eff77.js","./Icon.vue_vue_type_script_setup_true_lang-f867c918.js","./SectionBlock-0024395a.css","./TextInput.vue_vue_type_script_setup_true_lang-13bb76a1.js","./_commonjsHelpers-65004790.js","./npm-832f3f2c.css"]:void 0,import.meta.url);
|
|
14856
|
+
const __pages_import_7__ = () => __vitePreload(() => import('./inspect-6bd0f86e.js'),true?["./inspect-6bd0f86e.js","./IframeView.vue_vue_type_script_setup_true_lang-778923b2.js"]:void 0,import.meta.url);
|
|
14857
|
+
const __pages_import_9__ = () => __vitePreload(() => import('./graph-0860970b.js'),true?["./graph-0860970b.js","./Switch.vue_vue_type_script_setup_true_lang-3e126052.js","./Icon.vue_vue_type_script_setup_true_lang-f867c918.js","./fuse.esm-c317b696.js","./_commonjsHelpers-65004790.js"]:void 0,import.meta.url);
|
|
14858
|
+
const __pages_import_10__ = () => __vitePreload(() => import('./documentations-4d7aa8fe.js'),true?["./documentations-4d7aa8fe.js","./IframeView.vue_vue_type_script_setup_true_lang-778923b2.js"]:void 0,import.meta.url);
|
|
14859
|
+
const __pages_import_11__ = () => __vitePreload(() => import('./components-fc711123.js'),true?["./components-fc711123.js","./PanelGrids-93648569.js","./StateFields.vue_vue_type_script_setup_true_lang-019c8d08.js","./Icon.vue_vue_type_script_setup_true_lang-f867c918.js","./index-95398468.js","./IconButton.vue_vue_type_script_setup_true_lang-74db1ae6.js","./splitpanes.es-36fe45c8.js"]:void 0,import.meta.url);
|
|
14860
|
+
const __pages_import_12__ = () => __vitePreload(() => import('./component-docs-6d7e057c.js'),true?["./component-docs-6d7e057c.js","./TextInput.vue_vue_type_script_setup_true_lang-13bb76a1.js","./Icon.vue_vue_type_script_setup_true_lang-f867c918.js","./splitpanes.es-36fe45c8.js","./fuse.esm-c317b696.js","./component-docs-351d62d5.css"]:void 0,import.meta.url);
|
|
14861
|
+
const __pages_import_13__ = () => __vitePreload(() => import('./assets-114c5f0e.js'),true?["./assets-114c5f0e.js","./PanelGrids-93648569.js","./IconButton.vue_vue_type_script_setup_true_lang-74db1ae6.js","./Icon.vue_vue_type_script_setup_true_lang-f867c918.js","./SectionBlock-a8928e3c.js","./IconTitle.vue_vue_type_script_setup_true_lang-d82eff77.js","./SectionBlock-0024395a.css","./TextInput.vue_vue_type_script_setup_true_lang-13bb76a1.js","./fuse.esm-c317b696.js"]:void 0,import.meta.url);
|
|
14862
|
+
const __pages_import_14__ = () => __vitePreload(() => import('./__eyedropper-44f84f34.js'),true?["./__eyedropper-44f84f34.js","./PanelGrids-93648569.js","./index-95398468.js"]:void 0,import.meta.url);
|
|
14851
14863
|
|
|
14852
14864
|
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":"npm","path":"/npm","component":__pages_import_6__,"props":true},{"name":"inspect","path":"/inspect","component":__pages_import_7__,"props":true},{"name":"index","path":"/","component":_sfc_main$a,"props":true},{"name":"graph","path":"/graph","component":__pages_import_9__,"props":true},{"name":"documentations","path":"/documentations","component":__pages_import_10__,"props":true},{"name":"components","path":"/components","component":__pages_import_11__,"props":true},{"name":"component-docs","path":"/component-docs","component":__pages_import_12__,"props":true},{"name":"assets","path":"/assets","component":__pages_import_13__,"props":true},{"name":"__eyedropper","path":"/__eyedropper","component":__pages_import_14__,"props":true}];
|
|
14853
14865
|
/* Injected with object hook! */
|
|
@@ -14899,10 +14911,12 @@ const client$1 = ref({
|
|
|
14899
14911
|
highlight: () => {
|
|
14900
14912
|
},
|
|
14901
14913
|
unHighlight: () => {
|
|
14914
|
+
},
|
|
14915
|
+
scrollToComponent: () => {
|
|
14902
14916
|
}
|
|
14903
14917
|
}
|
|
14904
14918
|
});
|
|
14905
|
-
function
|
|
14919
|
+
function useDevToolsClient() {
|
|
14906
14920
|
return client$1;
|
|
14907
14921
|
}
|
|
14908
14922
|
|
|
@@ -15166,7 +15180,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
15166
15180
|
tab: {}
|
|
15167
15181
|
},
|
|
15168
15182
|
setup(__props) {
|
|
15169
|
-
const client =
|
|
15183
|
+
const client = useDevToolsClient();
|
|
15170
15184
|
const router = useRouter();
|
|
15171
15185
|
function handleClick(tab) {
|
|
15172
15186
|
const builtinTab = getMappedBuiltinTabs(tab);
|
|
@@ -15215,8 +15229,168 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
15215
15229
|
|
|
15216
15230
|
/* Injected with object hook! */
|
|
15217
15231
|
|
|
15232
|
+
function unrefElement(elRef) {
|
|
15233
|
+
var _a;
|
|
15234
|
+
const plain = toValue(elRef);
|
|
15235
|
+
return (_a = plain == null ? void 0 : plain.$el) != null ? _a : plain;
|
|
15236
|
+
}
|
|
15237
|
+
|
|
15238
|
+
const defaultWindow = isClient ? window : void 0;
|
|
15239
|
+
|
|
15240
|
+
function useEventListener(...args) {
|
|
15241
|
+
let target;
|
|
15242
|
+
let events;
|
|
15243
|
+
let listeners;
|
|
15244
|
+
let options;
|
|
15245
|
+
if (typeof args[0] === "string" || Array.isArray(args[0])) {
|
|
15246
|
+
[events, listeners, options] = args;
|
|
15247
|
+
target = defaultWindow;
|
|
15248
|
+
} else {
|
|
15249
|
+
[target, events, listeners, options] = args;
|
|
15250
|
+
}
|
|
15251
|
+
if (!target)
|
|
15252
|
+
return noop;
|
|
15253
|
+
if (!Array.isArray(events))
|
|
15254
|
+
events = [events];
|
|
15255
|
+
if (!Array.isArray(listeners))
|
|
15256
|
+
listeners = [listeners];
|
|
15257
|
+
const cleanups = [];
|
|
15258
|
+
const cleanup = () => {
|
|
15259
|
+
cleanups.forEach((fn) => fn());
|
|
15260
|
+
cleanups.length = 0;
|
|
15261
|
+
};
|
|
15262
|
+
const register = (el, event, listener, options2) => {
|
|
15263
|
+
el.addEventListener(event, listener, options2);
|
|
15264
|
+
return () => el.removeEventListener(event, listener, options2);
|
|
15265
|
+
};
|
|
15266
|
+
const stopWatch = watch(
|
|
15267
|
+
() => [unrefElement(target), toValue(options)],
|
|
15268
|
+
([el, options2]) => {
|
|
15269
|
+
cleanup();
|
|
15270
|
+
if (!el)
|
|
15271
|
+
return;
|
|
15272
|
+
cleanups.push(
|
|
15273
|
+
...events.flatMap((event) => {
|
|
15274
|
+
return listeners.map((listener) => register(el, event, listener, options2));
|
|
15275
|
+
})
|
|
15276
|
+
);
|
|
15277
|
+
},
|
|
15278
|
+
{ immediate: true, flush: "post" }
|
|
15279
|
+
);
|
|
15280
|
+
const stop = () => {
|
|
15281
|
+
stopWatch();
|
|
15282
|
+
cleanup();
|
|
15283
|
+
};
|
|
15284
|
+
tryOnScopeDispose(stop);
|
|
15285
|
+
return stop;
|
|
15286
|
+
}
|
|
15287
|
+
|
|
15288
|
+
const UsePreferredColorScheme = /* @__PURE__ */ /* #__PURE__ */ defineComponent({
|
|
15289
|
+
name: "UsePreferredColorScheme",
|
|
15290
|
+
setup(props, { slots }) {
|
|
15291
|
+
const data = reactive({
|
|
15292
|
+
colorScheme: usePreferredColorScheme()
|
|
15293
|
+
});
|
|
15294
|
+
return () => {
|
|
15295
|
+
if (slots.default)
|
|
15296
|
+
return slots.default(data);
|
|
15297
|
+
};
|
|
15298
|
+
}
|
|
15299
|
+
});
|
|
15300
|
+
|
|
15301
|
+
function checkOverflowScroll(ele) {
|
|
15302
|
+
const style = window.getComputedStyle(ele);
|
|
15303
|
+
if (style.overflowX === "scroll" || style.overflowY === "scroll" || style.overflowX === "auto" && ele.clientWidth < ele.scrollWidth || style.overflowY === "auto" && ele.clientHeight < ele.scrollHeight) {
|
|
15304
|
+
return true;
|
|
15305
|
+
} else {
|
|
15306
|
+
const parent = ele.parentNode;
|
|
15307
|
+
if (!parent || parent.tagName === "BODY")
|
|
15308
|
+
return false;
|
|
15309
|
+
return checkOverflowScroll(parent);
|
|
15310
|
+
}
|
|
15311
|
+
}
|
|
15312
|
+
function preventDefault(rawEvent) {
|
|
15313
|
+
const e = rawEvent || window.event;
|
|
15314
|
+
const _target = e.target;
|
|
15315
|
+
if (checkOverflowScroll(_target))
|
|
15316
|
+
return false;
|
|
15317
|
+
if (e.touches.length > 1)
|
|
15318
|
+
return true;
|
|
15319
|
+
if (e.preventDefault)
|
|
15320
|
+
e.preventDefault();
|
|
15321
|
+
return false;
|
|
15322
|
+
}
|
|
15323
|
+
function useScrollLock(element, initialState = false) {
|
|
15324
|
+
const isLocked = ref(initialState);
|
|
15325
|
+
let stopTouchMoveListener = null;
|
|
15326
|
+
let initialOverflow;
|
|
15327
|
+
watch(toRef(element), (el) => {
|
|
15328
|
+
if (el) {
|
|
15329
|
+
const ele = el;
|
|
15330
|
+
initialOverflow = ele.style.overflow;
|
|
15331
|
+
if (isLocked.value)
|
|
15332
|
+
ele.style.overflow = "hidden";
|
|
15333
|
+
}
|
|
15334
|
+
}, {
|
|
15335
|
+
immediate: true
|
|
15336
|
+
});
|
|
15337
|
+
const lock = () => {
|
|
15338
|
+
const ele = toValue(element);
|
|
15339
|
+
if (!ele || isLocked.value)
|
|
15340
|
+
return;
|
|
15341
|
+
if (isIOS) {
|
|
15342
|
+
stopTouchMoveListener = useEventListener(
|
|
15343
|
+
ele,
|
|
15344
|
+
"touchmove",
|
|
15345
|
+
(e) => {
|
|
15346
|
+
preventDefault(e);
|
|
15347
|
+
},
|
|
15348
|
+
{ passive: false }
|
|
15349
|
+
);
|
|
15350
|
+
}
|
|
15351
|
+
ele.style.overflow = "hidden";
|
|
15352
|
+
isLocked.value = true;
|
|
15353
|
+
};
|
|
15354
|
+
const unlock = () => {
|
|
15355
|
+
const ele = toValue(element);
|
|
15356
|
+
if (!ele || !isLocked.value)
|
|
15357
|
+
return;
|
|
15358
|
+
isIOS && (stopTouchMoveListener == null ? void 0 : stopTouchMoveListener());
|
|
15359
|
+
ele.style.overflow = initialOverflow;
|
|
15360
|
+
isLocked.value = false;
|
|
15361
|
+
};
|
|
15362
|
+
tryOnScopeDispose(unlock);
|
|
15363
|
+
return computed({
|
|
15364
|
+
get() {
|
|
15365
|
+
return isLocked.value;
|
|
15366
|
+
},
|
|
15367
|
+
set(v) {
|
|
15368
|
+
if (v)
|
|
15369
|
+
lock();
|
|
15370
|
+
else
|
|
15371
|
+
unlock();
|
|
15372
|
+
}
|
|
15373
|
+
});
|
|
15374
|
+
}
|
|
15375
|
+
|
|
15376
|
+
function onScrollLock() {
|
|
15377
|
+
let isMounted = false;
|
|
15378
|
+
const state = ref(false);
|
|
15379
|
+
return (el, binding) => {
|
|
15380
|
+
state.value = binding.value;
|
|
15381
|
+
if (isMounted)
|
|
15382
|
+
return;
|
|
15383
|
+
isMounted = true;
|
|
15384
|
+
const isLocked = useScrollLock(el, binding.value);
|
|
15385
|
+
watch(state, (v) => isLocked.value = v);
|
|
15386
|
+
};
|
|
15387
|
+
}
|
|
15388
|
+
onScrollLock();
|
|
15389
|
+
|
|
15390
|
+
/* Injected with object hook! */
|
|
15391
|
+
|
|
15218
15392
|
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
15219
|
-
__name: "
|
|
15393
|
+
__name: "DarkToggle",
|
|
15220
15394
|
setup(__props) {
|
|
15221
15395
|
const mode = useColorMode();
|
|
15222
15396
|
const isDark = computed({
|
|
@@ -15266,8 +15440,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
15266
15440
|
toggle
|
|
15267
15441
|
};
|
|
15268
15442
|
return (_ctx, _cache) => {
|
|
15269
|
-
|
|
15270
|
-
return openBlock(), createBlock(_component_ColorScheme, { tag: "span" }, {
|
|
15443
|
+
return openBlock(), createBlock(unref(UsePreferredColorScheme), { tag: "span" }, {
|
|
15271
15444
|
default: withCtx(() => [
|
|
15272
15445
|
renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(context)))
|
|
15273
15446
|
]),
|
|
@@ -15279,18 +15452,6 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
15279
15452
|
|
|
15280
15453
|
/* Injected with object hook! */
|
|
15281
15454
|
|
|
15282
|
-
/* unplugin-vue-components disabled */const _sfc_main$6 = {};
|
|
15283
|
-
|
|
15284
|
-
const _hoisted_1$4 = { class: "n-card n-card-base" };
|
|
15285
|
-
|
|
15286
|
-
function _sfc_render(_ctx, _cache) {
|
|
15287
|
-
return (openBlock(), createElementBlock("div", _hoisted_1$4, [
|
|
15288
|
-
renderSlot(_ctx.$slots, "default")
|
|
15289
|
-
]))
|
|
15290
|
-
}
|
|
15291
|
-
const __unplugin_components_7 = /*#__PURE__*/_export_sfc(_sfc_main$6, [['render',_sfc_render]]);
|
|
15292
|
-
/* Injected with object hook! */
|
|
15293
|
-
|
|
15294
15455
|
/*!
|
|
15295
15456
|
* tabbable 6.2.0
|
|
15296
15457
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
@@ -16833,7 +16994,7 @@ function useFocusTrap(target, options = {}) {
|
|
|
16833
16994
|
}
|
|
16834
16995
|
};
|
|
16835
16996
|
watch(
|
|
16836
|
-
() => unrefElement(target),
|
|
16997
|
+
() => unrefElement$1(target),
|
|
16837
16998
|
(el) => {
|
|
16838
16999
|
if (!el)
|
|
16839
17000
|
return;
|
|
@@ -16867,12 +17028,24 @@ function useFocusTrap(target, options = {}) {
|
|
|
16867
17028
|
|
|
16868
17029
|
/* Injected with object hook! */
|
|
16869
17030
|
|
|
17031
|
+
/* unplugin-vue-components disabled */const _sfc_main$6 = {};
|
|
17032
|
+
|
|
17033
|
+
const _hoisted_1$4 = { class: "n-card n-card-base" };
|
|
17034
|
+
|
|
17035
|
+
function _sfc_render(_ctx, _cache) {
|
|
17036
|
+
return (openBlock(), createElementBlock("div", _hoisted_1$4, [
|
|
17037
|
+
renderSlot(_ctx.$slots, "default")
|
|
17038
|
+
]))
|
|
17039
|
+
}
|
|
17040
|
+
const __unplugin_components_7 = /*#__PURE__*/_export_sfc(_sfc_main$6, [['render',_sfc_render]]);
|
|
17041
|
+
/* Injected with object hook! */
|
|
17042
|
+
|
|
16870
17043
|
const __default__ = {
|
|
16871
17044
|
inheritAttrs: false
|
|
16872
17045
|
};
|
|
16873
17046
|
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
16874
17047
|
...__default__,
|
|
16875
|
-
__name: "
|
|
17048
|
+
__name: "Dialog",
|
|
16876
17049
|
props: {
|
|
16877
17050
|
modelValue: { type: Boolean, default: false },
|
|
16878
17051
|
dim: { type: Boolean, default: true }
|
|
@@ -16899,7 +17072,6 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
16899
17072
|
emit("close");
|
|
16900
17073
|
}
|
|
16901
17074
|
return (_ctx, _cache) => {
|
|
16902
|
-
const _component_VCard = __unplugin_components_7;
|
|
16903
17075
|
return shown.value ? (openBlock(), createBlock(Teleport, {
|
|
16904
17076
|
key: 0,
|
|
16905
17077
|
to: "body"
|
|
@@ -16915,7 +17087,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
16915
17087
|
]]),
|
|
16916
17088
|
onClick: _cache[0] || (_cache[0] = ($event) => close())
|
|
16917
17089
|
}, null, 2),
|
|
16918
|
-
createVNode(
|
|
17090
|
+
createVNode(__unplugin_components_7, mergeProps(_ctx.$attrs, {
|
|
16919
17091
|
ref_key: "card",
|
|
16920
17092
|
ref: card,
|
|
16921
17093
|
class: "max-h-screen of-auto"
|
|
@@ -16994,7 +17166,7 @@ const _hoisted_6$1 = /* @__PURE__ */ createBaseVNode("p", null, [
|
|
|
16994
17166
|
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
16995
17167
|
__name: "PopupButton",
|
|
16996
17168
|
setup(__props) {
|
|
16997
|
-
const client =
|
|
17169
|
+
const client = useDevToolsClient();
|
|
16998
17170
|
const isSupported = typeof window !== "undefined" && window.parent.documentPictureInPicture?.requestWindow;
|
|
16999
17171
|
const showPopupUnsupported = ref(false);
|
|
17000
17172
|
const copy = useCopy();
|
|
@@ -17006,11 +17178,11 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
17006
17178
|
client.value?.panel?.popup();
|
|
17007
17179
|
}
|
|
17008
17180
|
return (_ctx, _cache) => {
|
|
17009
|
-
const
|
|
17010
|
-
const
|
|
17181
|
+
const _component_VDButton = _sfc_main$d;
|
|
17182
|
+
const _component_VDDialog = _sfc_main$5;
|
|
17011
17183
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
17012
17184
|
createBaseVNode("div", _hoisted_1$3, [
|
|
17013
|
-
createVNode(
|
|
17185
|
+
createVNode(_component_VDButton, {
|
|
17014
17186
|
n: "sm primary",
|
|
17015
17187
|
onClick: popup
|
|
17016
17188
|
}, {
|
|
@@ -17022,7 +17194,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
17022
17194
|
_: 1
|
|
17023
17195
|
})
|
|
17024
17196
|
]),
|
|
17025
|
-
createVNode(
|
|
17197
|
+
createVNode(_component_VDDialog, {
|
|
17026
17198
|
modelValue: unref(showPopupUnsupported),
|
|
17027
17199
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => isRef(showPopupUnsupported) ? showPopupUnsupported.value = $event : null),
|
|
17028
17200
|
class: "popup-dialog z-2000 max-w-150 p6 pt-2",
|
|
@@ -17034,7 +17206,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
17034
17206
|
_hoisted_6$1,
|
|
17035
17207
|
createBaseVNode("p", null, [
|
|
17036
17208
|
createTextVNode(" Your current browser does not seem to support the API, or the flag is not enabled yet. You can try enabling the flag by visiting "),
|
|
17037
|
-
createVNode(
|
|
17209
|
+
createVNode(_component_VDButton, {
|
|
17038
17210
|
n: "xs primary",
|
|
17039
17211
|
title: "Click to Copy",
|
|
17040
17212
|
onClick: _cache[0] || (_cache[0] = ($event) => unref(copy)("chrome://flags/#document-picture-in-picture-api"))
|
|
@@ -17047,7 +17219,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
17047
17219
|
createTextVNode(" and restart the browser. ")
|
|
17048
17220
|
]),
|
|
17049
17221
|
createBaseVNode("div", null, [
|
|
17050
|
-
createVNode(
|
|
17222
|
+
createVNode(_component_VDButton, {
|
|
17051
17223
|
onClick: _cache[1] || (_cache[1] = ($event) => showPopupUnsupported.value = false)
|
|
17052
17224
|
}, {
|
|
17053
17225
|
default: withCtx(() => [
|
|
@@ -17090,15 +17262,15 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
17090
17262
|
setup(__props) {
|
|
17091
17263
|
return (_ctx, _cache) => {
|
|
17092
17264
|
const _component_PopupButton = _sfc_main$4;
|
|
17093
|
-
const
|
|
17094
|
-
const
|
|
17265
|
+
const _component_VDButton = _sfc_main$d;
|
|
17266
|
+
const _component_VDDarkToggle = _sfc_main$7;
|
|
17095
17267
|
const _component_RouterLink = resolveComponent("RouterLink");
|
|
17096
17268
|
return openBlock(), createElementBlock("div", null, [
|
|
17097
17269
|
createBaseVNode("div", _hoisted_1$2, [
|
|
17098
17270
|
!unref(isInPopup) ? (openBlock(), createBlock(_component_PopupButton, { key: 0 })) : createCommentVNode("", true),
|
|
17099
|
-
createVNode(
|
|
17271
|
+
createVNode(_component_VDDarkToggle, null, {
|
|
17100
17272
|
default: withCtx(({ toggle, isDark }) => [
|
|
17101
|
-
createVNode(
|
|
17273
|
+
createVNode(_component_VDButton, {
|
|
17102
17274
|
n: "sm primary",
|
|
17103
17275
|
onClick: toggle
|
|
17104
17276
|
}, {
|
|
@@ -17273,15 +17445,28 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
17273
17445
|
const icon = ref();
|
|
17274
17446
|
const text = ref();
|
|
17275
17447
|
const type = ref();
|
|
17448
|
+
const duration = ref();
|
|
17449
|
+
let timer;
|
|
17276
17450
|
provideNotification((opt) => {
|
|
17277
17451
|
text.value = opt.text;
|
|
17278
17452
|
icon.value = opt.icon;
|
|
17279
17453
|
show.value = true;
|
|
17280
17454
|
type.value = opt.type;
|
|
17281
|
-
|
|
17282
|
-
|
|
17283
|
-
}, opt.duration || 1500);
|
|
17455
|
+
duration.value = opt.duration || 1500;
|
|
17456
|
+
createTimer();
|
|
17284
17457
|
});
|
|
17458
|
+
function clearTimer() {
|
|
17459
|
+
if (timer) {
|
|
17460
|
+
clearTimeout(timer);
|
|
17461
|
+
timer = void 0;
|
|
17462
|
+
}
|
|
17463
|
+
}
|
|
17464
|
+
function createTimer() {
|
|
17465
|
+
timer = setTimeout(() => {
|
|
17466
|
+
show.value = false;
|
|
17467
|
+
timer = void 0;
|
|
17468
|
+
}, duration.value);
|
|
17469
|
+
}
|
|
17285
17470
|
return (_ctx, _cache) => {
|
|
17286
17471
|
return openBlock(), createElementBlock("div", {
|
|
17287
17472
|
fixed: "",
|
|
@@ -17308,14 +17493,16 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
17308
17493
|
"duration-300": "",
|
|
17309
17494
|
"bg-base": "",
|
|
17310
17495
|
style: normalizeStyle(unref(show) ? {} : { transform: "translateY(-300%)" }),
|
|
17311
|
-
class: normalizeClass(unref(show) ? "shadow" : "shadow-none")
|
|
17496
|
+
class: normalizeClass(unref(show) ? "shadow" : "shadow-none"),
|
|
17497
|
+
onMouseenter: clearTimer,
|
|
17498
|
+
onMouseleave: createTimer
|
|
17312
17499
|
}, [
|
|
17313
17500
|
unref(icon) ? (openBlock(), createElementBlock("div", {
|
|
17314
17501
|
key: 0,
|
|
17315
17502
|
class: normalizeClass(`i-${unref(icon)}`)
|
|
17316
17503
|
}, null, 2)) : createCommentVNode("", true),
|
|
17317
17504
|
createBaseVNode("div", null, toDisplayString(unref(text)), 1)
|
|
17318
|
-
],
|
|
17505
|
+
], 38)) : (openBlock(), createElementBlock("div", {
|
|
17319
17506
|
key: 1,
|
|
17320
17507
|
border: "~ base",
|
|
17321
17508
|
flex: "~ inline gap2",
|
|
@@ -17330,14 +17517,16 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
17330
17517
|
"duration-300": "",
|
|
17331
17518
|
"bg-base": "",
|
|
17332
17519
|
style: normalizeStyle(unref(show) ? {} : { transform: "translateY(-300%)" }),
|
|
17333
|
-
class: normalizeClass(unref(show) ? "shadow" : "shadow-none")
|
|
17520
|
+
class: normalizeClass(unref(show) ? "shadow" : "shadow-none"),
|
|
17521
|
+
onMouseenter: clearTimer,
|
|
17522
|
+
onMouseleave: createTimer
|
|
17334
17523
|
}, [
|
|
17335
17524
|
unref(icon) ? (openBlock(), createElementBlock("div", {
|
|
17336
17525
|
key: 0,
|
|
17337
17526
|
class: normalizeClass(`i-${unref(icon)}`)
|
|
17338
17527
|
}, null, 2)) : createCommentVNode("", true),
|
|
17339
17528
|
createBaseVNode("div", null, toDisplayString(unref(text)), 1)
|
|
17340
|
-
],
|
|
17529
|
+
], 38))
|
|
17341
17530
|
], 2);
|
|
17342
17531
|
};
|
|
17343
17532
|
}
|
|
@@ -17382,7 +17571,7 @@ var MutationType;
|
|
|
17382
17571
|
|
|
17383
17572
|
/* Injected with object hook! */
|
|
17384
17573
|
|
|
17385
|
-
let nanoid = (size = 21) =>
|
|
17574
|
+
let nanoid$1 = (size = 21) =>
|
|
17386
17575
|
crypto.getRandomValues(new Uint8Array(size)).reduce((id, byte) => {
|
|
17387
17576
|
byte &= 63;
|
|
17388
17577
|
if (byte < 36) {
|
|
@@ -17403,7 +17592,7 @@ const timelineLayer = ref([]);
|
|
|
17403
17592
|
const timelineEvent = ref([]);
|
|
17404
17593
|
const activeLayerId = ref("router");
|
|
17405
17594
|
const activeTimelineEvents = computed(() => {
|
|
17406
|
-
return timelineEvent.value.map((item) => ({ ...item, id: nanoid() })).filter((item) => item.layerId === activeLayerId.value);
|
|
17595
|
+
return timelineEvent.value.map((item) => ({ ...item, id: nanoid$1() })).filter((item) => item.layerId === activeLayerId.value);
|
|
17407
17596
|
});
|
|
17408
17597
|
const activeTimelineEventIndex = ref(0);
|
|
17409
17598
|
function toggleTimelineLayer(id) {
|
|
@@ -17659,11 +17848,7 @@ const router$1 = computed(() => app$1.value?.config?.globalProperties?.$router);
|
|
|
17659
17848
|
const currentRoute = computed(() => unref(router$1.value?.currentRoute));
|
|
17660
17849
|
const routes = computed(() => {
|
|
17661
17850
|
const routesMap = /* @__PURE__ */ new Map();
|
|
17662
|
-
return (router$1.value?.getRoutes() || []).
|
|
17663
|
-
return {
|
|
17664
|
-
...i
|
|
17665
|
-
};
|
|
17666
|
-
}).filter((i) => !routesMap.has(i.path) && routesMap.set(i.path, 1));
|
|
17851
|
+
return (router$1.value?.getRoutes() || []).filter((i) => !routesMap.has(i.path) && routesMap.set(i.path, 1));
|
|
17667
17852
|
});
|
|
17668
17853
|
function initApp(params) {
|
|
17669
17854
|
const [_, { app: _app }] = params;
|
|
@@ -17700,9 +17885,9 @@ function onVueInstanceUpdate(cb) {
|
|
|
17700
17885
|
function hideInDevtools(component) {
|
|
17701
17886
|
return component?.root?.type?.devtools?.hide;
|
|
17702
17887
|
}
|
|
17703
|
-
const client =
|
|
17888
|
+
const client = useDevToolsClient();
|
|
17704
17889
|
function produceHook() {
|
|
17705
|
-
const client2 =
|
|
17890
|
+
const client2 = useDevToolsClient();
|
|
17706
17891
|
const hook = client2.value.hook;
|
|
17707
17892
|
hook.on("app:init" /* APP_INIT */, (app) => {
|
|
17708
17893
|
if (app?._vueDevtools_hidden_)
|
|
@@ -17966,7 +18151,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
17966
18151
|
const { route: _route, isFirstVisit } = useFrameState();
|
|
17967
18152
|
useColorMode();
|
|
17968
18153
|
hookApi.hook.on("init:vue:app", () => {
|
|
17969
|
-
const client =
|
|
18154
|
+
const client = useDevToolsClient();
|
|
17970
18155
|
const categorizedHookBuffer = client.value.categorizedHookBuffer;
|
|
17971
18156
|
client.value.markClientLoaded();
|
|
17972
18157
|
hookApi.produce();
|
|
@@ -17992,9 +18177,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
17992
18177
|
document.body.style.fontSize = `${scale.value * 15}px`;
|
|
17993
18178
|
});
|
|
17994
18179
|
});
|
|
17995
|
-
useEventListener("keydown", (e) => {
|
|
18180
|
+
useEventListener$1("keydown", (e) => {
|
|
17996
18181
|
if (e.code === "KeyD" && e.altKey && e.shiftKey) {
|
|
17997
|
-
const client =
|
|
18182
|
+
const client = useDevToolsClient();
|
|
17998
18183
|
client.value?.panel?.toggle();
|
|
17999
18184
|
}
|
|
18000
18185
|
});
|
|
@@ -18020,6 +18205,173 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
18020
18205
|
|
|
18021
18206
|
/* Injected with object hook! */
|
|
18022
18207
|
|
|
18208
|
+
typeof window !== "undefined" ? window.__VUE_DEVTOOLS_GLOBAL_HOOK__ ??= {
|
|
18209
|
+
events: /* @__PURE__ */ new Map(),
|
|
18210
|
+
on(event, fn) {
|
|
18211
|
+
if (!this.events.has(event))
|
|
18212
|
+
this.events.set(event, []);
|
|
18213
|
+
this.events.get(event).push(fn);
|
|
18214
|
+
},
|
|
18215
|
+
emit(event, ...payload) {
|
|
18216
|
+
if (this.events.has(event))
|
|
18217
|
+
this.events.get(event).forEach((fn) => fn(...payload));
|
|
18218
|
+
}
|
|
18219
|
+
} : {};
|
|
18220
|
+
|
|
18221
|
+
/* Injected with object hook! */
|
|
18222
|
+
|
|
18223
|
+
const DEFAULT_TIMEOUT = 6e4;
|
|
18224
|
+
function defaultSerialize(i) {
|
|
18225
|
+
return i;
|
|
18226
|
+
}
|
|
18227
|
+
const defaultDeserialize = defaultSerialize;
|
|
18228
|
+
const { setTimeout: setTimeout$1 } = globalThis;
|
|
18229
|
+
const random = Math.random.bind(Math);
|
|
18230
|
+
function createBirpc(functions, options) {
|
|
18231
|
+
const {
|
|
18232
|
+
post,
|
|
18233
|
+
on,
|
|
18234
|
+
eventNames = [],
|
|
18235
|
+
serialize = defaultSerialize,
|
|
18236
|
+
deserialize = defaultDeserialize,
|
|
18237
|
+
resolver,
|
|
18238
|
+
timeout = DEFAULT_TIMEOUT
|
|
18239
|
+
} = options;
|
|
18240
|
+
const rpcPromiseMap = /* @__PURE__ */ new Map();
|
|
18241
|
+
let _promise;
|
|
18242
|
+
const rpc = new Proxy({}, {
|
|
18243
|
+
get(_, method) {
|
|
18244
|
+
if (method === "$functions")
|
|
18245
|
+
return functions;
|
|
18246
|
+
const sendEvent = (...args) => {
|
|
18247
|
+
post(serialize({ m: method, a: args, t: "q" }));
|
|
18248
|
+
};
|
|
18249
|
+
if (eventNames.includes(method)) {
|
|
18250
|
+
sendEvent.asEvent = sendEvent;
|
|
18251
|
+
return sendEvent;
|
|
18252
|
+
}
|
|
18253
|
+
const sendCall = async (...args) => {
|
|
18254
|
+
await _promise;
|
|
18255
|
+
return new Promise((resolve, reject) => {
|
|
18256
|
+
const id = nanoid();
|
|
18257
|
+
rpcPromiseMap.set(id, { resolve, reject });
|
|
18258
|
+
post(serialize({ m: method, a: args, i: id, t: "q" }));
|
|
18259
|
+
if (timeout >= 0) {
|
|
18260
|
+
setTimeout$1(() => {
|
|
18261
|
+
reject(new Error(`[birpc] timeout on calling "${method}"`));
|
|
18262
|
+
rpcPromiseMap.delete(id);
|
|
18263
|
+
}, timeout);
|
|
18264
|
+
}
|
|
18265
|
+
});
|
|
18266
|
+
};
|
|
18267
|
+
sendCall.asEvent = sendEvent;
|
|
18268
|
+
return sendCall;
|
|
18269
|
+
}
|
|
18270
|
+
});
|
|
18271
|
+
_promise = on(async (data, ...extra) => {
|
|
18272
|
+
const msg = deserialize(data);
|
|
18273
|
+
if (msg.t === "q") {
|
|
18274
|
+
const { m: method, a: args } = msg;
|
|
18275
|
+
let result, error;
|
|
18276
|
+
const fn = resolver ? resolver(method, functions[method]) : functions[method];
|
|
18277
|
+
if (!fn) {
|
|
18278
|
+
error = new Error(`[birpc] function "${method}" not found`);
|
|
18279
|
+
} else {
|
|
18280
|
+
try {
|
|
18281
|
+
result = await fn.apply(rpc, args);
|
|
18282
|
+
} catch (e) {
|
|
18283
|
+
error = e;
|
|
18284
|
+
}
|
|
18285
|
+
}
|
|
18286
|
+
if (msg.i) {
|
|
18287
|
+
if (error && options.onError)
|
|
18288
|
+
options.onError(error, method, args);
|
|
18289
|
+
post(serialize({ t: "s", i: msg.i, r: result, e: error }), ...extra);
|
|
18290
|
+
}
|
|
18291
|
+
} else {
|
|
18292
|
+
const { i: ack, r: result, e: error } = msg;
|
|
18293
|
+
const promise = rpcPromiseMap.get(ack);
|
|
18294
|
+
if (promise) {
|
|
18295
|
+
if (error)
|
|
18296
|
+
promise.reject(error);
|
|
18297
|
+
else
|
|
18298
|
+
promise.resolve(result);
|
|
18299
|
+
}
|
|
18300
|
+
rpcPromiseMap.delete(ack);
|
|
18301
|
+
}
|
|
18302
|
+
});
|
|
18303
|
+
return rpc;
|
|
18304
|
+
}
|
|
18305
|
+
const urlAlphabet = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
|
|
18306
|
+
function nanoid(size = 21) {
|
|
18307
|
+
let id = "";
|
|
18308
|
+
let i = size;
|
|
18309
|
+
while (i--)
|
|
18310
|
+
id += urlAlphabet[random() * 64 | 0];
|
|
18311
|
+
return id;
|
|
18312
|
+
}
|
|
18313
|
+
|
|
18314
|
+
/* Injected with object hook! */
|
|
18315
|
+
|
|
18316
|
+
function createRPCClient$1(name, hot, functions = {}) {
|
|
18317
|
+
const event = `${name}:rpc`;
|
|
18318
|
+
return createBirpc(
|
|
18319
|
+
functions,
|
|
18320
|
+
{
|
|
18321
|
+
on: async (fn) => {
|
|
18322
|
+
(await hot).on(event, fn);
|
|
18323
|
+
},
|
|
18324
|
+
post: async (data) => {
|
|
18325
|
+
(await hot).send(event, data);
|
|
18326
|
+
},
|
|
18327
|
+
timeout: -1
|
|
18328
|
+
}
|
|
18329
|
+
);
|
|
18330
|
+
}
|
|
18331
|
+
|
|
18332
|
+
/* Injected with object hook! */
|
|
18333
|
+
|
|
18334
|
+
const PLUGIN_NAME = "vite-plugin-vue-devtools";
|
|
18335
|
+
|
|
18336
|
+
/* Injected with object hook! */
|
|
18337
|
+
|
|
18338
|
+
function createRPCClient(ctx, functions) {
|
|
18339
|
+
return createRPCClient$1(PLUGIN_NAME, ctx, functions);
|
|
18340
|
+
}
|
|
18341
|
+
|
|
18342
|
+
/* Injected with object hook! */
|
|
18343
|
+
|
|
18344
|
+
async function getViteClient(base = "/", warning = true) {
|
|
18345
|
+
try {
|
|
18346
|
+
return await __vitePreload(() => import(
|
|
18347
|
+
/* @vite-ignore */
|
|
18348
|
+
`${base}@vite/client`
|
|
18349
|
+
),true?[]:void 0,import.meta.url);
|
|
18350
|
+
} catch {
|
|
18351
|
+
if (warning)
|
|
18352
|
+
console.error(`[vite-plugin-hot] Failed to import "${base}@vite/client"`);
|
|
18353
|
+
}
|
|
18354
|
+
return void 0;
|
|
18355
|
+
}
|
|
18356
|
+
async function createHotContext(path = "/____", base = "/") {
|
|
18357
|
+
const viteClient = await getViteClient(base);
|
|
18358
|
+
return viteClient?.createHotContext(path);
|
|
18359
|
+
}
|
|
18360
|
+
|
|
18361
|
+
/* Injected with object hook! */
|
|
18362
|
+
|
|
18363
|
+
const viteHotCtx = await createHotContext("/___", `${location.pathname.split("/__devtools__")[0] || ""}/`.replace(/\/\//g, "/"));
|
|
18364
|
+
const rpc = createRPCClient(viteHotCtx, {
|
|
18365
|
+
onTerminalData({ data }) {
|
|
18366
|
+
hookApi.hook.emit("__vue-devtools:terminal:data__", data);
|
|
18367
|
+
},
|
|
18368
|
+
onTerminalExit({ data }) {
|
|
18369
|
+
hookApi.hook.emit("__vue-devtools:terminal:exit__", data);
|
|
18370
|
+
}
|
|
18371
|
+
});
|
|
18372
|
+
|
|
18373
|
+
/* Injected with object hook! */
|
|
18374
|
+
|
|
18023
18375
|
function normalizeHookBuffer(buffer) {
|
|
18024
18376
|
return buffer.reduce((box, [type, ...args]) => {
|
|
18025
18377
|
const categoryName = type.split(":")[0];
|
|
@@ -18031,7 +18383,7 @@ function createDevToolsClient() {
|
|
|
18031
18383
|
window.__VUE_DEVTOOLS_VIEW__ = {
|
|
18032
18384
|
loaded: false,
|
|
18033
18385
|
setClient(_client) {
|
|
18034
|
-
const client =
|
|
18386
|
+
const client = useDevToolsClient();
|
|
18035
18387
|
client.value = _client;
|
|
18036
18388
|
client.value.markClientLoaded = () => {
|
|
18037
18389
|
this.loaded = true;
|
|
@@ -18041,6 +18393,8 @@ function createDevToolsClient() {
|
|
|
18041
18393
|
}
|
|
18042
18394
|
};
|
|
18043
18395
|
}
|
|
18396
|
+
const inspectClientUrl = await rpc.inspectClientUrl();
|
|
18397
|
+
const rootPath = await rpc.root();
|
|
18044
18398
|
|
|
18045
18399
|
/* Injected with object hook! */
|
|
18046
18400
|
|
|
@@ -18065,4 +18419,4 @@ app.mount("#app");
|
|
|
18065
18419
|
|
|
18066
18420
|
/* Injected with object hook! */
|
|
18067
18421
|
|
|
18068
|
-
export { cloneVNode 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, BaseTransition as I, BaseTransitionPropsValidators as J, Comment as K, EffectScope as L, KeepAlive as M, Suspense as N, Text as O, Transition as P, TransitionGroup as Q, ReactiveEffect as R, Static as S, Teleport as T, assertNumber as U, VueElement as V, callWithAsyncErrorHandling as W, callWithErrorHandling as X, camelize as Y, capitalize as Z, __unplugin_components_7 as _, popScopeId as a, ref as a$, compatUtils as a0, computed as a1, createApp as a2, createHydrationRenderer as a3, createPropsRestProxy as a4, createRenderer as a5, createSSRApp as a6, createSlots as a7, createStaticVNode as a8, createTextVNode as a9, isReactive as aA, isReadonly as aB, isRef as aC, isRuntimeOnly as aD, isShallow as aE, isVNode as aF, mergeDefaults as aG, mergeModels as aH, normalizeProps as aI, onActivated as aJ, onBeforeMount as aK, onBeforeUnmount as aL, onBeforeUpdate as aM, onDeactivated as aN, onErrorCaptured as aO, onMounted as aP, onRenderTracked as aQ, onRenderTriggered as aR, onScopeDispose as aS, onServerPrefetch as aT, onUnmounted as aU, onUpdated as aV, provide as aW, proxyRefs as aX, queuePostFlushCb as aY, reactive as aZ, readonly as a_, customRef as aa, defineAsyncComponent as ab, defineCustomElement as ac, defineEmits as ad, defineExpose as ae, defineModel as af, defineOptions as ag, defineProps as ah, defineSSRCustomElement as ai, defineSlots as aj, devtools as ak, effect as al, effectScope as am, getCurrentInstance as an, getCurrentScope as ao, getTransitionRawChildren as ap, guardReactiveProps as aq, h$2 as ar, handleError as as, hasInjectionContext as at, hydrate as au, initCustomFormatter as av, initDirectivesForSSR as aw, inject as ax, isMemoSame as ay, isProxy as az, resolveDirective as b, routeRecordMatcherState as b$, registerRuntimeCompiler as b0, render as b1, resolveFilter as b2, resolveTransitionHooks as b3, setBlockTracking as b4, setDevtoolsHook as b5, setTransitionHooks as b6, shallowReadonly as b7, shallowRef as b8, ssrContextKey as b9, watchPostEffect as bA, watchSyncEffect as bB, withAsyncContext as bC, withDefaults as bD, withKeys as bE, withMemo as bF, withModifiers as bG, getSortedTabs as bH, updateTabsPosition as bI, _export_sfc as bJ, useVModel as bK, _sfc_main$d as bL, _sfc_main$5 as bM, useToggle as bN, shouldHideTabGroup as bO, DEFAULT_TAB_GROUP as bP, useGroupedTabs as bQ, ungroupAllTabs as bR, resetAllTabs as bS, removeTabGroup as bT, checkGroupExist as bU, createGroup as bV, useDevToolsSettings as bW, useFrameState as bX, _sfc_main$7 as bY, _sfc_main$9 as bZ, router$1 as b_, ssrUtils as ba, stop as bb, toHandlerKey as bc, toRaw as bd, toRef$1 as be, toRefs$1 as bf, toValue$1 as bg, transformVNodeArgs as bh, triggerRef as bi, useAttrs as bj, useCssModule as bk, useCssVars as bl, useModel as bm, useSSRContext as bn, useSlots as bo, useTransitionState as bp, vModelCheckbox as bq, vModelDynamic as br, vModelRadio as bs, vModelSelect as bt, vModelText as bu, vShow as bv, version as bw, warn as bx, watch as by, watchEffect as bz, createBlock as c, activeRouteRecordMatcherState as c0, activeRouteRecordIndex as c1, toggleRouteRecordMatcher as c2, __unplugin_components_1 as c3, piniaStoresCategory as c4, piniaState as c5, piniaGetters as c6, currentRoute as c7, routes as c8,
|
|
18422
|
+
export { cloneVNode 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, BaseTransition as I, BaseTransitionPropsValidators as J, Comment as K, EffectScope as L, KeepAlive as M, Suspense as N, Text as O, Transition as P, TransitionGroup as Q, ReactiveEffect as R, Static as S, Teleport as T, assertNumber as U, VueElement as V, callWithAsyncErrorHandling as W, callWithErrorHandling as X, camelize as Y, capitalize as Z, __unplugin_components_7 as _, popScopeId as a, ref as a$, compatUtils as a0, computed as a1, createApp as a2, createHydrationRenderer as a3, createPropsRestProxy as a4, createRenderer as a5, createSSRApp as a6, createSlots as a7, createStaticVNode as a8, createTextVNode as a9, isReactive as aA, isReadonly as aB, isRef as aC, isRuntimeOnly as aD, isShallow as aE, isVNode as aF, mergeDefaults as aG, mergeModels as aH, normalizeProps as aI, onActivated as aJ, onBeforeMount as aK, onBeforeUnmount as aL, onBeforeUpdate as aM, onDeactivated as aN, onErrorCaptured as aO, onMounted as aP, onRenderTracked as aQ, onRenderTriggered as aR, onScopeDispose as aS, onServerPrefetch as aT, onUnmounted as aU, onUpdated as aV, provide as aW, proxyRefs as aX, queuePostFlushCb as aY, reactive as aZ, readonly as a_, customRef as aa, defineAsyncComponent as ab, defineCustomElement as ac, defineEmits as ad, defineExpose as ae, defineModel as af, defineOptions as ag, defineProps as ah, defineSSRCustomElement as ai, defineSlots as aj, devtools as ak, effect as al, effectScope as am, getCurrentInstance as an, getCurrentScope as ao, getTransitionRawChildren as ap, guardReactiveProps as aq, h$2 as ar, handleError as as, hasInjectionContext as at, hydrate as au, initCustomFormatter as av, initDirectivesForSSR as aw, inject as ax, isMemoSame as ay, isProxy as az, resolveDirective as b, routeRecordMatcherState as b$, registerRuntimeCompiler as b0, render as b1, resolveFilter as b2, resolveTransitionHooks as b3, setBlockTracking as b4, setDevtoolsHook as b5, setTransitionHooks as b6, shallowReadonly as b7, shallowRef as b8, ssrContextKey as b9, watchPostEffect as bA, watchSyncEffect as bB, withAsyncContext as bC, withDefaults as bD, withKeys as bE, withMemo as bF, withModifiers as bG, getSortedTabs as bH, updateTabsPosition as bI, _export_sfc as bJ, useVModel as bK, _sfc_main$d as bL, _sfc_main$5 as bM, useToggle as bN, shouldHideTabGroup as bO, DEFAULT_TAB_GROUP as bP, useGroupedTabs as bQ, ungroupAllTabs as bR, resetAllTabs as bS, removeTabGroup as bT, checkGroupExist as bU, createGroup as bV, useDevToolsSettings as bW, useFrameState as bX, _sfc_main$7 as bY, _sfc_main$9 as bZ, router$1 as b_, ssrUtils as ba, stop as bb, toHandlerKey as bc, toRaw as bd, toRef$1 as be, toRefs$1 as bf, toValue$1 as bg, transformVNodeArgs as bh, triggerRef as bi, useAttrs as bj, useCssModule as bk, useCssVars as bl, useModel as bm, useSSRContext as bn, useSlots as bo, useTransitionState as bp, vModelCheckbox as bq, vModelDynamic as br, vModelRadio as bs, vModelSelect as bt, vModelText as bu, vShow as bv, version as bw, warn as bx, watch as by, watchEffect as bz, createBlock as c, activeRouteRecordMatcherState as c0, activeRouteRecordIndex as c1, toggleRouteRecordMatcher as c2, __unplugin_components_1 as c3, piniaStoresCategory as c4, piniaState as c5, piniaGetters as c6, currentRoute as c7, routes as c8, rpc as c9, onKeyDown as cA, useRouter as cB, vueVersion as ca, __unplugin_components_0 as cb, useEventListener$1 as cc, hookApi as cd, useScrollLock$1 as ce, useInfiniteScroll as cf, inspectClientUrl as cg, useLocalStorage as ch, useStorage as ci, useDark as cj, useMagicKeys as ck, useDevToolsClient as cl, rootPath as cm, useColorMode as cn, useElementBounding as co, useThrottleFn as cp, onVueInstanceUpdate as cq, instance as cr, useCopy as cs, nanoid$1 as ct, useNotification as cu, useElementSize as cv, onClickOutside as cw, useStyleTag as cx, computedAsync as cy, useTimeAgo as cz, 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 };
|