vite-plugin-vue-devtools 0.0.16 → 0.0.18
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/{IframeView.vue_vue_type_script_setup_true_lang-13056a2f.js → IframeView.vue_vue_type_script_setup_true_lang-6607afa7.js} +1 -1
- package/dist/client/assets/{VCard-b4cd9ab3.js → VCard-df2c119e.js} +1 -1
- package/dist/client/assets/{VIcon.vue_vue_type_script_setup_true_lang-e30540ed.js → VIcon.vue_vue_type_script_setup_true_lang-979138aa.js} +1 -1
- package/dist/client/assets/{VIconButton.vue_vue_type_script_setup_true_lang-c612d7f4.js → VIconButton.vue_vue_type_script_setup_true_lang-5f35681e.js} +2 -2
- package/dist/client/assets/{VIconTitle.vue_vue_type_script_setup_true_lang-5762ce49.js → VIconTitle.vue_vue_type_script_setup_true_lang-01cfacf7.js} +1 -1
- package/dist/client/assets/{VPanelGrids-e1d9f019.js → VPanelGrids-d8a5f15f.js} +1 -1
- package/dist/client/assets/{VTextInput.vue_vue_type_script_setup_true_lang-707de251.js → VTextInput.vue_vue_type_script_setup_true_lang-ab508899.js} +3 -3
- package/dist/client/assets/{__inspecting-dba9bf6f.js → __inspecting-b337fc57.js} +2 -2
- package/dist/client/assets/_commonjsHelpers-c0d8ada0.js +9 -0
- package/dist/client/assets/{assets-b42e46fa.js → assets-911c62d8.js} +8 -8
- package/dist/client/assets/{components-cfb1831a.js → components-b4a5aad9.js} +7 -7
- package/dist/client/assets/{documentations-4673fb12.js → documentations-ad0cfbde.js} +4 -4
- package/dist/client/assets/{graph-147c0efe.js → graph-b9b4757b.js} +2 -2
- package/dist/client/assets/{index-d1c9f78d.js → index-96d1a825.js} +404 -21
- package/dist/client/assets/{index-45ea79cd.js → index-e931c37f.js} +1 -1
- package/dist/client/assets/index-f8c90594.css +466 -0
- package/dist/client/assets/{inspect-0f8ee397.js → inspect-86a13e33.js} +3 -3
- package/dist/client/assets/npm-125f4259.css +191 -0
- package/dist/client/assets/npm-93ee3f41.js +393 -0
- package/dist/client/assets/{overview-359c9382.js → overview-6ad021be.js} +5 -5
- package/dist/client/assets/{pages-a89b0160.js → pages-4a609bd9.js} +4 -4
- package/dist/client/assets/{pinia-ce81d448.js → pinia-60eaa17c.js} +5 -5
- package/dist/client/assets/{routes-671211d0.js → routes-64aab80f.js} +7 -7
- package/dist/client/assets/{rpc-0bfb43f4.js → rpc-e84d02ad.js} +29 -21
- package/dist/client/assets/{settings-94cd9531.js → settings-db73dde1.js} +3 -3
- package/dist/client/assets/{splitpanes.es-330c3706.js → splitpanes.es-18603c42.js} +4 -4
- package/dist/client/assets/{timeline-7a348c92.js → timeline-c88539db.js} +8 -15
- package/dist/client/index.html +2 -2
- package/dist/index.cjs +6287 -318
- package/dist/index.mjs +6272 -313
- package/package.json +8 -2
- package/dist/client/assets/index-9456fcf5.css +0 -466
|
@@ -12946,6 +12946,93 @@ function createFilterWrapper(filter, fn) {
|
|
|
12946
12946
|
const bypassFilter = (invoke) => {
|
|
12947
12947
|
return invoke();
|
|
12948
12948
|
};
|
|
12949
|
+
function debounceFilter(ms, options = {}) {
|
|
12950
|
+
let timer;
|
|
12951
|
+
let maxTimer;
|
|
12952
|
+
let lastRejector = noop;
|
|
12953
|
+
const _clearTimeout = (timer2) => {
|
|
12954
|
+
clearTimeout(timer2);
|
|
12955
|
+
lastRejector();
|
|
12956
|
+
lastRejector = noop;
|
|
12957
|
+
};
|
|
12958
|
+
const filter = (invoke) => {
|
|
12959
|
+
const duration = toValue(ms);
|
|
12960
|
+
const maxDuration = toValue(options.maxWait);
|
|
12961
|
+
if (timer)
|
|
12962
|
+
_clearTimeout(timer);
|
|
12963
|
+
if (duration <= 0 || maxDuration !== void 0 && maxDuration <= 0) {
|
|
12964
|
+
if (maxTimer) {
|
|
12965
|
+
_clearTimeout(maxTimer);
|
|
12966
|
+
maxTimer = null;
|
|
12967
|
+
}
|
|
12968
|
+
return Promise.resolve(invoke());
|
|
12969
|
+
}
|
|
12970
|
+
return new Promise((resolve, reject) => {
|
|
12971
|
+
lastRejector = options.rejectOnCancel ? reject : resolve;
|
|
12972
|
+
if (maxDuration && !maxTimer) {
|
|
12973
|
+
maxTimer = setTimeout(() => {
|
|
12974
|
+
if (timer)
|
|
12975
|
+
_clearTimeout(timer);
|
|
12976
|
+
maxTimer = null;
|
|
12977
|
+
resolve(invoke());
|
|
12978
|
+
}, maxDuration);
|
|
12979
|
+
}
|
|
12980
|
+
timer = setTimeout(() => {
|
|
12981
|
+
if (maxTimer)
|
|
12982
|
+
_clearTimeout(maxTimer);
|
|
12983
|
+
maxTimer = null;
|
|
12984
|
+
resolve(invoke());
|
|
12985
|
+
}, duration);
|
|
12986
|
+
});
|
|
12987
|
+
};
|
|
12988
|
+
return filter;
|
|
12989
|
+
}
|
|
12990
|
+
function throttleFilter(ms, trailing = true, leading = true, rejectOnCancel = false) {
|
|
12991
|
+
let lastExec = 0;
|
|
12992
|
+
let timer;
|
|
12993
|
+
let isLeading = true;
|
|
12994
|
+
let lastRejector = noop;
|
|
12995
|
+
let lastValue;
|
|
12996
|
+
const clear = () => {
|
|
12997
|
+
if (timer) {
|
|
12998
|
+
clearTimeout(timer);
|
|
12999
|
+
timer = void 0;
|
|
13000
|
+
lastRejector();
|
|
13001
|
+
lastRejector = noop;
|
|
13002
|
+
}
|
|
13003
|
+
};
|
|
13004
|
+
const filter = (_invoke) => {
|
|
13005
|
+
const duration = toValue(ms);
|
|
13006
|
+
const elapsed = Date.now() - lastExec;
|
|
13007
|
+
const invoke = () => {
|
|
13008
|
+
return lastValue = _invoke();
|
|
13009
|
+
};
|
|
13010
|
+
clear();
|
|
13011
|
+
if (duration <= 0) {
|
|
13012
|
+
lastExec = Date.now();
|
|
13013
|
+
return invoke();
|
|
13014
|
+
}
|
|
13015
|
+
if (elapsed > duration && (leading || !isLeading)) {
|
|
13016
|
+
lastExec = Date.now();
|
|
13017
|
+
invoke();
|
|
13018
|
+
} else if (trailing) {
|
|
13019
|
+
lastValue = new Promise((resolve, reject) => {
|
|
13020
|
+
lastRejector = rejectOnCancel ? reject : resolve;
|
|
13021
|
+
timer = setTimeout(() => {
|
|
13022
|
+
lastExec = Date.now();
|
|
13023
|
+
isLeading = true;
|
|
13024
|
+
resolve(invoke());
|
|
13025
|
+
clear();
|
|
13026
|
+
}, Math.max(0, duration - elapsed));
|
|
13027
|
+
});
|
|
13028
|
+
}
|
|
13029
|
+
if (!leading && !timer)
|
|
13030
|
+
timer = setTimeout(() => isLeading = true, duration);
|
|
13031
|
+
isLeading = false;
|
|
13032
|
+
return lastValue;
|
|
13033
|
+
};
|
|
13034
|
+
return filter;
|
|
13035
|
+
}
|
|
12949
13036
|
function pausableFilter(extendFilter = bypassFilter) {
|
|
12950
13037
|
const isActive = ref(true);
|
|
12951
13038
|
function pause() {
|
|
@@ -12968,21 +13055,35 @@ function toRef(...args) {
|
|
|
12968
13055
|
return typeof r === "function" ? readonly(customRef(() => ({ get: r, set: noop }))) : ref(r);
|
|
12969
13056
|
}
|
|
12970
13057
|
|
|
12971
|
-
|
|
13058
|
+
function useDebounceFn(fn, ms = 200, options = {}) {
|
|
13059
|
+
return createFilterWrapper(
|
|
13060
|
+
debounceFilter(ms, options),
|
|
13061
|
+
fn
|
|
13062
|
+
);
|
|
13063
|
+
}
|
|
13064
|
+
|
|
13065
|
+
function useThrottleFn(fn, ms = 200, trailing = false, leading = true, rejectOnCancel = false) {
|
|
13066
|
+
return createFilterWrapper(
|
|
13067
|
+
throttleFilter(ms, trailing, leading, rejectOnCancel),
|
|
13068
|
+
fn
|
|
13069
|
+
);
|
|
13070
|
+
}
|
|
13071
|
+
|
|
13072
|
+
var __defProp$9$1 = Object.defineProperty;
|
|
12972
13073
|
var __defProps$7 = Object.defineProperties;
|
|
12973
13074
|
var __getOwnPropDescs$7 = Object.getOwnPropertyDescriptors;
|
|
12974
13075
|
var __getOwnPropSymbols$b = Object.getOwnPropertySymbols;
|
|
12975
13076
|
var __hasOwnProp$b = Object.prototype.hasOwnProperty;
|
|
12976
13077
|
var __propIsEnum$b = Object.prototype.propertyIsEnumerable;
|
|
12977
|
-
var __defNormalProp$9 = (obj, key, value) => key in obj ? __defProp$9(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
12978
|
-
var __spreadValues$9 = (a, b) => {
|
|
13078
|
+
var __defNormalProp$9$1 = (obj, key, value) => key in obj ? __defProp$9$1(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
13079
|
+
var __spreadValues$9$1 = (a, b) => {
|
|
12979
13080
|
for (var prop in b || (b = {}))
|
|
12980
13081
|
if (__hasOwnProp$b.call(b, prop))
|
|
12981
|
-
__defNormalProp$9(a, prop, b[prop]);
|
|
13082
|
+
__defNormalProp$9$1(a, prop, b[prop]);
|
|
12982
13083
|
if (__getOwnPropSymbols$b)
|
|
12983
13084
|
for (var prop of __getOwnPropSymbols$b(b)) {
|
|
12984
13085
|
if (__propIsEnum$b.call(b, prop))
|
|
12985
|
-
__defNormalProp$9(a, prop, b[prop]);
|
|
13086
|
+
__defNormalProp$9$1(a, prop, b[prop]);
|
|
12986
13087
|
}
|
|
12987
13088
|
return a;
|
|
12988
13089
|
};
|
|
@@ -13002,7 +13103,7 @@ function toRefs(objectRef) {
|
|
|
13002
13103
|
copy[key] = v;
|
|
13003
13104
|
objectRef.value = copy;
|
|
13004
13105
|
} else {
|
|
13005
|
-
const newObject = __spreadProps$7(__spreadValues$9({}, objectRef.value), { [key]: v });
|
|
13106
|
+
const newObject = __spreadProps$7(__spreadValues$9$1({}, objectRef.value), { [key]: v });
|
|
13006
13107
|
Object.setPrototypeOf(newObject, objectRef.value);
|
|
13007
13108
|
objectRef.value = newObject;
|
|
13008
13109
|
}
|
|
@@ -14059,6 +14160,206 @@ function useElementSize(target, initialSize = { width: 0, height: 0 }, options =
|
|
|
14059
14160
|
};
|
|
14060
14161
|
}
|
|
14061
14162
|
|
|
14163
|
+
const ARRIVED_STATE_THRESHOLD_PIXELS = 1;
|
|
14164
|
+
function useScroll(element, options = {}) {
|
|
14165
|
+
const {
|
|
14166
|
+
throttle = 0,
|
|
14167
|
+
idle = 200,
|
|
14168
|
+
onStop = noop,
|
|
14169
|
+
onScroll = noop,
|
|
14170
|
+
offset = {
|
|
14171
|
+
left: 0,
|
|
14172
|
+
right: 0,
|
|
14173
|
+
top: 0,
|
|
14174
|
+
bottom: 0
|
|
14175
|
+
},
|
|
14176
|
+
eventListenerOptions = {
|
|
14177
|
+
capture: false,
|
|
14178
|
+
passive: true
|
|
14179
|
+
},
|
|
14180
|
+
behavior = "auto"
|
|
14181
|
+
} = options;
|
|
14182
|
+
const internalX = ref(0);
|
|
14183
|
+
const internalY = ref(0);
|
|
14184
|
+
const x = computed({
|
|
14185
|
+
get() {
|
|
14186
|
+
return internalX.value;
|
|
14187
|
+
},
|
|
14188
|
+
set(x2) {
|
|
14189
|
+
scrollTo(x2, void 0);
|
|
14190
|
+
}
|
|
14191
|
+
});
|
|
14192
|
+
const y = computed({
|
|
14193
|
+
get() {
|
|
14194
|
+
return internalY.value;
|
|
14195
|
+
},
|
|
14196
|
+
set(y2) {
|
|
14197
|
+
scrollTo(void 0, y2);
|
|
14198
|
+
}
|
|
14199
|
+
});
|
|
14200
|
+
function scrollTo(_x, _y) {
|
|
14201
|
+
var _a, _b, _c;
|
|
14202
|
+
const _element = toValue(element);
|
|
14203
|
+
if (!_element)
|
|
14204
|
+
return;
|
|
14205
|
+
(_c = _element instanceof Document ? document.body : _element) == null ? void 0 : _c.scrollTo({
|
|
14206
|
+
top: (_a = toValue(_y)) != null ? _a : y.value,
|
|
14207
|
+
left: (_b = toValue(_x)) != null ? _b : x.value,
|
|
14208
|
+
behavior: toValue(behavior)
|
|
14209
|
+
});
|
|
14210
|
+
}
|
|
14211
|
+
const isScrolling = ref(false);
|
|
14212
|
+
const arrivedState = reactive({
|
|
14213
|
+
left: true,
|
|
14214
|
+
right: false,
|
|
14215
|
+
top: true,
|
|
14216
|
+
bottom: false
|
|
14217
|
+
});
|
|
14218
|
+
const directions = reactive({
|
|
14219
|
+
left: false,
|
|
14220
|
+
right: false,
|
|
14221
|
+
top: false,
|
|
14222
|
+
bottom: false
|
|
14223
|
+
});
|
|
14224
|
+
const onScrollEnd = (e) => {
|
|
14225
|
+
if (!isScrolling.value)
|
|
14226
|
+
return;
|
|
14227
|
+
isScrolling.value = false;
|
|
14228
|
+
directions.left = false;
|
|
14229
|
+
directions.right = false;
|
|
14230
|
+
directions.top = false;
|
|
14231
|
+
directions.bottom = false;
|
|
14232
|
+
onStop(e);
|
|
14233
|
+
};
|
|
14234
|
+
const onScrollEndDebounced = useDebounceFn(onScrollEnd, throttle + idle);
|
|
14235
|
+
const setArrivedState = (target) => {
|
|
14236
|
+
const el = target === document ? target.documentElement : target;
|
|
14237
|
+
const { display, flexDirection } = getComputedStyle(el);
|
|
14238
|
+
const scrollLeft = el.scrollLeft;
|
|
14239
|
+
directions.left = scrollLeft < internalX.value;
|
|
14240
|
+
directions.right = scrollLeft > internalX.value;
|
|
14241
|
+
const left = Math.abs(scrollLeft) <= 0 + (offset.left || 0);
|
|
14242
|
+
const right = Math.abs(scrollLeft) + el.clientWidth >= el.scrollWidth - (offset.right || 0) - ARRIVED_STATE_THRESHOLD_PIXELS;
|
|
14243
|
+
if (display === "flex" && flexDirection === "row-reverse") {
|
|
14244
|
+
arrivedState.left = right;
|
|
14245
|
+
arrivedState.right = left;
|
|
14246
|
+
} else {
|
|
14247
|
+
arrivedState.left = left;
|
|
14248
|
+
arrivedState.right = right;
|
|
14249
|
+
}
|
|
14250
|
+
internalX.value = scrollLeft;
|
|
14251
|
+
let scrollTop = el.scrollTop;
|
|
14252
|
+
if (target === document && !scrollTop)
|
|
14253
|
+
scrollTop = document.body.scrollTop;
|
|
14254
|
+
directions.top = scrollTop < internalY.value;
|
|
14255
|
+
directions.bottom = scrollTop > internalY.value;
|
|
14256
|
+
const top = Math.abs(scrollTop) <= 0 + (offset.top || 0);
|
|
14257
|
+
const bottom = Math.abs(scrollTop) + el.clientHeight >= el.scrollHeight - (offset.bottom || 0) - ARRIVED_STATE_THRESHOLD_PIXELS;
|
|
14258
|
+
if (display === "flex" && flexDirection === "column-reverse") {
|
|
14259
|
+
arrivedState.top = bottom;
|
|
14260
|
+
arrivedState.bottom = top;
|
|
14261
|
+
} else {
|
|
14262
|
+
arrivedState.top = top;
|
|
14263
|
+
arrivedState.bottom = bottom;
|
|
14264
|
+
}
|
|
14265
|
+
internalY.value = scrollTop;
|
|
14266
|
+
};
|
|
14267
|
+
const onScrollHandler = (e) => {
|
|
14268
|
+
const eventTarget = e.target === document ? e.target.documentElement : e.target;
|
|
14269
|
+
setArrivedState(eventTarget);
|
|
14270
|
+
isScrolling.value = true;
|
|
14271
|
+
onScrollEndDebounced(e);
|
|
14272
|
+
onScroll(e);
|
|
14273
|
+
};
|
|
14274
|
+
useEventListener(
|
|
14275
|
+
element,
|
|
14276
|
+
"scroll",
|
|
14277
|
+
throttle ? useThrottleFn(onScrollHandler, throttle, true, false) : onScrollHandler,
|
|
14278
|
+
eventListenerOptions
|
|
14279
|
+
);
|
|
14280
|
+
useEventListener(
|
|
14281
|
+
element,
|
|
14282
|
+
"scrollend",
|
|
14283
|
+
onScrollEnd,
|
|
14284
|
+
eventListenerOptions
|
|
14285
|
+
);
|
|
14286
|
+
return {
|
|
14287
|
+
x,
|
|
14288
|
+
y,
|
|
14289
|
+
isScrolling,
|
|
14290
|
+
arrivedState,
|
|
14291
|
+
directions,
|
|
14292
|
+
measure() {
|
|
14293
|
+
const _element = toValue(element);
|
|
14294
|
+
if (_element)
|
|
14295
|
+
setArrivedState(_element);
|
|
14296
|
+
}
|
|
14297
|
+
};
|
|
14298
|
+
}
|
|
14299
|
+
|
|
14300
|
+
var __defProp$9 = Object.defineProperty;
|
|
14301
|
+
var __defProps$3 = Object.defineProperties;
|
|
14302
|
+
var __getOwnPropDescs$3 = Object.getOwnPropertyDescriptors;
|
|
14303
|
+
var __getOwnPropSymbols$a = Object.getOwnPropertySymbols;
|
|
14304
|
+
var __hasOwnProp$a = Object.prototype.hasOwnProperty;
|
|
14305
|
+
var __propIsEnum$a = Object.prototype.propertyIsEnumerable;
|
|
14306
|
+
var __defNormalProp$9 = (obj, key, value) => key in obj ? __defProp$9(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
14307
|
+
var __spreadValues$9 = (a, b) => {
|
|
14308
|
+
for (var prop in b || (b = {}))
|
|
14309
|
+
if (__hasOwnProp$a.call(b, prop))
|
|
14310
|
+
__defNormalProp$9(a, prop, b[prop]);
|
|
14311
|
+
if (__getOwnPropSymbols$a)
|
|
14312
|
+
for (var prop of __getOwnPropSymbols$a(b)) {
|
|
14313
|
+
if (__propIsEnum$a.call(b, prop))
|
|
14314
|
+
__defNormalProp$9(a, prop, b[prop]);
|
|
14315
|
+
}
|
|
14316
|
+
return a;
|
|
14317
|
+
};
|
|
14318
|
+
var __spreadProps$3 = (a, b) => __defProps$3(a, __getOwnPropDescs$3(b));
|
|
14319
|
+
function useInfiniteScroll(element, onLoadMore, options = {}) {
|
|
14320
|
+
var _a;
|
|
14321
|
+
const {
|
|
14322
|
+
direction = "bottom",
|
|
14323
|
+
interval = 100
|
|
14324
|
+
} = options;
|
|
14325
|
+
const state = reactive(useScroll(
|
|
14326
|
+
element,
|
|
14327
|
+
__spreadProps$3(__spreadValues$9({}, options), {
|
|
14328
|
+
offset: __spreadValues$9({
|
|
14329
|
+
[direction]: (_a = options.distance) != null ? _a : 0
|
|
14330
|
+
}, options.offset)
|
|
14331
|
+
})
|
|
14332
|
+
));
|
|
14333
|
+
const promise = ref();
|
|
14334
|
+
const isLoading = computed(() => !!promise.value);
|
|
14335
|
+
function checkAndLoad() {
|
|
14336
|
+
state.measure();
|
|
14337
|
+
const el = toValue(element);
|
|
14338
|
+
if (!el)
|
|
14339
|
+
return;
|
|
14340
|
+
const isNarrower = direction === "bottom" || direction === "top" ? el.scrollHeight <= el.clientHeight : el.scrollWidth <= el.clientWidth;
|
|
14341
|
+
if (state.arrivedState[direction] || isNarrower) {
|
|
14342
|
+
if (!promise.value) {
|
|
14343
|
+
promise.value = Promise.all([
|
|
14344
|
+
onLoadMore(state),
|
|
14345
|
+
new Promise((resolve) => setTimeout(resolve, interval))
|
|
14346
|
+
]).finally(() => {
|
|
14347
|
+
promise.value = null;
|
|
14348
|
+
nextTick(() => checkAndLoad());
|
|
14349
|
+
});
|
|
14350
|
+
}
|
|
14351
|
+
}
|
|
14352
|
+
}
|
|
14353
|
+
watch(
|
|
14354
|
+
() => [state.arrivedState[direction], toValue(element)],
|
|
14355
|
+
checkAndLoad,
|
|
14356
|
+
{ immediate: true }
|
|
14357
|
+
);
|
|
14358
|
+
return {
|
|
14359
|
+
isLoading
|
|
14360
|
+
};
|
|
14361
|
+
}
|
|
14362
|
+
|
|
14062
14363
|
function useLocalStorage(key, initialValue, options = {}) {
|
|
14063
14364
|
const { window = defaultWindow } = options;
|
|
14064
14365
|
return useStorage(key, initialValue, window == null ? void 0 : window.localStorage, options);
|
|
@@ -14097,6 +14398,81 @@ function useNow(options = {}) {
|
|
|
14097
14398
|
}
|
|
14098
14399
|
}
|
|
14099
14400
|
|
|
14401
|
+
function checkOverflowScroll(ele) {
|
|
14402
|
+
const style = window.getComputedStyle(ele);
|
|
14403
|
+
if (style.overflowX === "scroll" || style.overflowY === "scroll" || style.overflowX === "auto" && ele.clientHeight < ele.scrollHeight || style.overflowY === "auto" && ele.clientWidth < ele.scrollWidth) {
|
|
14404
|
+
return true;
|
|
14405
|
+
} else {
|
|
14406
|
+
const parent = ele.parentNode;
|
|
14407
|
+
if (!parent || parent.tagName === "BODY")
|
|
14408
|
+
return false;
|
|
14409
|
+
return checkOverflowScroll(parent);
|
|
14410
|
+
}
|
|
14411
|
+
}
|
|
14412
|
+
function preventDefault(rawEvent) {
|
|
14413
|
+
const e = rawEvent || window.event;
|
|
14414
|
+
const _target = e.target;
|
|
14415
|
+
if (checkOverflowScroll(_target))
|
|
14416
|
+
return false;
|
|
14417
|
+
if (e.touches.length > 1)
|
|
14418
|
+
return true;
|
|
14419
|
+
if (e.preventDefault)
|
|
14420
|
+
e.preventDefault();
|
|
14421
|
+
return false;
|
|
14422
|
+
}
|
|
14423
|
+
function useScrollLock(element, initialState = false) {
|
|
14424
|
+
const isLocked = ref(initialState);
|
|
14425
|
+
let stopTouchMoveListener = null;
|
|
14426
|
+
let initialOverflow;
|
|
14427
|
+
watch(toRef(element), (el) => {
|
|
14428
|
+
if (el) {
|
|
14429
|
+
const ele = el;
|
|
14430
|
+
initialOverflow = ele.style.overflow;
|
|
14431
|
+
if (isLocked.value)
|
|
14432
|
+
ele.style.overflow = "hidden";
|
|
14433
|
+
}
|
|
14434
|
+
}, {
|
|
14435
|
+
immediate: true
|
|
14436
|
+
});
|
|
14437
|
+
const lock = () => {
|
|
14438
|
+
const ele = toValue(element);
|
|
14439
|
+
if (!ele || isLocked.value)
|
|
14440
|
+
return;
|
|
14441
|
+
if (isIOS) {
|
|
14442
|
+
stopTouchMoveListener = useEventListener(
|
|
14443
|
+
ele,
|
|
14444
|
+
"touchmove",
|
|
14445
|
+
(e) => {
|
|
14446
|
+
preventDefault(e);
|
|
14447
|
+
},
|
|
14448
|
+
{ passive: false }
|
|
14449
|
+
);
|
|
14450
|
+
}
|
|
14451
|
+
ele.style.overflow = "hidden";
|
|
14452
|
+
isLocked.value = true;
|
|
14453
|
+
};
|
|
14454
|
+
const unlock = () => {
|
|
14455
|
+
const ele = toValue(element);
|
|
14456
|
+
if (!ele || !isLocked.value)
|
|
14457
|
+
return;
|
|
14458
|
+
isIOS && (stopTouchMoveListener == null ? void 0 : stopTouchMoveListener());
|
|
14459
|
+
ele.style.overflow = initialOverflow;
|
|
14460
|
+
isLocked.value = false;
|
|
14461
|
+
};
|
|
14462
|
+
tryOnScopeDispose(unlock);
|
|
14463
|
+
return computed({
|
|
14464
|
+
get() {
|
|
14465
|
+
return isLocked.value;
|
|
14466
|
+
},
|
|
14467
|
+
set(v) {
|
|
14468
|
+
if (v)
|
|
14469
|
+
lock();
|
|
14470
|
+
else
|
|
14471
|
+
unlock();
|
|
14472
|
+
}
|
|
14473
|
+
});
|
|
14474
|
+
}
|
|
14475
|
+
|
|
14100
14476
|
let _id = 0;
|
|
14101
14477
|
function useStyleTag(css, options = {}) {
|
|
14102
14478
|
const isLoaded = ref(false);
|
|
@@ -14425,20 +14801,21 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
14425
14801
|
|
|
14426
14802
|
/* Injected with object hook! */
|
|
14427
14803
|
|
|
14428
|
-
const __pages_import_0__ = () => __vitePreload(() => import('./timeline-
|
|
14429
|
-
const __pages_import_1__ = () => __vitePreload(() => import('./settings-
|
|
14430
|
-
const __pages_import_2__ = () => __vitePreload(() => import('./routes-
|
|
14431
|
-
const __pages_import_3__ = () => __vitePreload(() => import('./pinia-
|
|
14432
|
-
const __pages_import_4__ = () => __vitePreload(() => import('./pages-
|
|
14433
|
-
const __pages_import_5__ = () => __vitePreload(() => import('./overview-
|
|
14434
|
-
const __pages_import_6__ = () => __vitePreload(() => import('./
|
|
14435
|
-
const
|
|
14436
|
-
const __pages_import_9__ = () => __vitePreload(() => import('./
|
|
14437
|
-
const __pages_import_10__ = () => __vitePreload(() => import('./
|
|
14438
|
-
const __pages_import_11__ = () => __vitePreload(() => import('./
|
|
14439
|
-
const __pages_import_12__ = () => __vitePreload(() => import('./
|
|
14440
|
-
|
|
14441
|
-
|
|
14804
|
+
const __pages_import_0__ = () => __vitePreload(() => import('./timeline-c88539db.js'),true?["./timeline-c88539db.js","./splitpanes.es-18603c42.js","./VIcon.vue_vue_type_script_setup_true_lang-979138aa.js","./index-e931c37f.js","./VIconButton.vue_vue_type_script_setup_true_lang-5f35681e.js","./VPanelGrids-d8a5f15f.js","./VCard-df2c119e.js","./_commonjsHelpers-c0d8ada0.js","./timeline-b315b2e0.css"]:void 0,import.meta.url);
|
|
14805
|
+
const __pages_import_1__ = () => __vitePreload(() => import('./settings-db73dde1.js'),true?["./settings-db73dde1.js","./VIcon.vue_vue_type_script_setup_true_lang-979138aa.js","./VIconTitle.vue_vue_type_script_setup_true_lang-01cfacf7.js"]:void 0,import.meta.url);
|
|
14806
|
+
const __pages_import_2__ = () => __vitePreload(() => import('./routes-64aab80f.js'),true?["./routes-64aab80f.js","./VPanelGrids-d8a5f15f.js","./VCard-df2c119e.js","./splitpanes.es-18603c42.js","./VIcon.vue_vue_type_script_setup_true_lang-979138aa.js","./index-e931c37f.js","./VIconButton.vue_vue_type_script_setup_true_lang-5f35681e.js"]:void 0,import.meta.url);
|
|
14807
|
+
const __pages_import_3__ = () => __vitePreload(() => import('./pinia-60eaa17c.js'),true?["./pinia-60eaa17c.js","./splitpanes.es-18603c42.js","./VIcon.vue_vue_type_script_setup_true_lang-979138aa.js","./index-e931c37f.js","./VIconButton.vue_vue_type_script_setup_true_lang-5f35681e.js"]:void 0,import.meta.url);
|
|
14808
|
+
const __pages_import_4__ = () => __vitePreload(() => import('./pages-4a609bd9.js'),true?["./pages-4a609bd9.js","./VTextInput.vue_vue_type_script_setup_true_lang-ab508899.js","./VIconTitle.vue_vue_type_script_setup_true_lang-01cfacf7.js","./VIcon.vue_vue_type_script_setup_true_lang-979138aa.js","./VTextInput-52804693.css"]:void 0,import.meta.url);
|
|
14809
|
+
const __pages_import_5__ = () => __vitePreload(() => import('./overview-6ad021be.js'),true?["./overview-6ad021be.js","./VPanelGrids-d8a5f15f.js","./rpc-e84d02ad.js","./index-e931c37f.js"]:void 0,import.meta.url);
|
|
14810
|
+
const __pages_import_6__ = () => __vitePreload(() => import('./npm-93ee3f41.js'),true?["./npm-93ee3f41.js","./VTextInput.vue_vue_type_script_setup_true_lang-ab508899.js","./VIconTitle.vue_vue_type_script_setup_true_lang-01cfacf7.js","./VIcon.vue_vue_type_script_setup_true_lang-979138aa.js","./VTextInput-52804693.css","./_commonjsHelpers-c0d8ada0.js","./rpc-e84d02ad.js","./npm-125f4259.css"]:void 0,import.meta.url);
|
|
14811
|
+
const __pages_import_7__ = () => __vitePreload(() => import('./inspect-86a13e33.js'),true?["./inspect-86a13e33.js","./IframeView.vue_vue_type_script_setup_true_lang-6607afa7.js","./rpc-e84d02ad.js"]:void 0,import.meta.url);
|
|
14812
|
+
const __pages_import_9__ = () => __vitePreload(() => import('./graph-b9b4757b.js'),true?["./graph-b9b4757b.js","./fuse.esm-c317b696.js","./rpc-e84d02ad.js"]:void 0,import.meta.url);
|
|
14813
|
+
const __pages_import_10__ = () => __vitePreload(() => import('./documentations-ad0cfbde.js'),true?["./documentations-ad0cfbde.js","./VCard-df2c119e.js","./IframeView.vue_vue_type_script_setup_true_lang-6607afa7.js","./rpc-e84d02ad.js"]:void 0,import.meta.url);
|
|
14814
|
+
const __pages_import_11__ = () => __vitePreload(() => import('./components-b4a5aad9.js'),true?["./components-b4a5aad9.js","./VPanelGrids-d8a5f15f.js","./VCard-df2c119e.js","./splitpanes.es-18603c42.js","./VIcon.vue_vue_type_script_setup_true_lang-979138aa.js","./index-e931c37f.js","./VIconButton.vue_vue_type_script_setup_true_lang-5f35681e.js"]:void 0,import.meta.url);
|
|
14815
|
+
const __pages_import_12__ = () => __vitePreload(() => import('./assets-911c62d8.js'),true?["./assets-911c62d8.js","./VPanelGrids-d8a5f15f.js","./VCard-df2c119e.js","./VIconButton.vue_vue_type_script_setup_true_lang-5f35681e.js","./VIcon.vue_vue_type_script_setup_true_lang-979138aa.js","./rpc-e84d02ad.js","./VTextInput.vue_vue_type_script_setup_true_lang-ab508899.js","./VIconTitle.vue_vue_type_script_setup_true_lang-01cfacf7.js","./VTextInput-52804693.css","./fuse.esm-c317b696.js"]:void 0,import.meta.url);
|
|
14816
|
+
const __pages_import_13__ = () => __vitePreload(() => import('./__inspecting-b337fc57.js'),true?["./__inspecting-b337fc57.js","./VPanelGrids-d8a5f15f.js"]:void 0,import.meta.url);
|
|
14817
|
+
|
|
14818
|
+
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$8,"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":"assets","path":"/assets","component":__pages_import_12__,"props":true},{"name":"__inspecting","path":"/__inspecting","component":__pages_import_13__,"props":true}];
|
|
14442
14819
|
/* Injected with object hook! */
|
|
14443
14820
|
|
|
14444
14821
|
const _hoisted_1$4 = ["src", "alt"];
|
|
@@ -14783,6 +15160,12 @@ const builtinTabs = [
|
|
|
14783
15160
|
client?.inspector?.enable();
|
|
14784
15161
|
}
|
|
14785
15162
|
},
|
|
15163
|
+
{
|
|
15164
|
+
path: "npm",
|
|
15165
|
+
title: "Search packages",
|
|
15166
|
+
icon: "i-teenyicons:npm-outline",
|
|
15167
|
+
category: "advanced"
|
|
15168
|
+
},
|
|
14786
15169
|
{
|
|
14787
15170
|
path: "graph",
|
|
14788
15171
|
title: "Graph",
|
|
@@ -15764,4 +16147,4 @@ app.mount("#app");
|
|
|
15764
16147
|
|
|
15765
16148
|
/* Injected with object hook! */
|
|
15766
16149
|
|
|
15767
|
-
export { computed as $, timelineLayer as A, activeTimelineEvents as B, activeTimelineEventIndex as C, toggleTimelineEventIndex as D, timelineEventDetails as E, Fragment as F, activeLayerId as G, toggleTimelineLayer as H, useVModel as I, vModelSelect as J, isRef as K, vModelCheckbox as L, withKeys as M, useCategorizedTabs as N, createTextVNode as O, useDevToolsSettings as P, _sfc_main$b as Q, _sfc_main$5 as R, _sfc_main$7 as S, router$1 as T, routeRecordMatcherState as U, activeRouteRecordMatcherState as V, activeRouteRecordIndex as W, toggleRouteRecordMatcher as X, __unplugin_components_1 as Y, ref as Z, _sfc_main$4 as _, popScopeId as a, piniaStoresCategory as a0, toRaw as a1, piniaState as a2, piniaGetters as a3, withModifiers as a4, onMounted as a5, currentRoute as a6, routes as a7, vueVersion as a8, __unplugin_components_0$1 as a9,
|
|
16150
|
+
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, onKeyDown as aA, _export_sfc as aB, vModelDynamic as aC, __vitePreload as aD, useClipboard as aE, useNotification as aF, useDevtoolsClient as aG, useEventListener as aa, hookApi as ab, useScrollLock as ac, watch as ad, useInfiniteScroll as ae, useStorage as af, vModelText as ag, useDark as ah, Teleport as ai, useColorMode as aj, reactive as ak, useElementBounding as al, watchEffect as am, onUnmounted as an, shallowRef as ao, onVueInstanceUpdate as ap, instance as aq, nanoid as ar, vShow as as, h as at, useElementSize as au, onClickOutside as av, Transition as aw, useStyleTag as ax, computedAsync as ay, useTimeAgo 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 };
|