@valaxyjs/devtools 0.20.0-beta.5 → 0.20.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/dist/client/assets/{about-D9O4oadt.js → about-Cy0ZFvm_.js} +1 -1
- package/dist/client/assets/{categories-SKB6lSvM.js → categories-C6S2heod.js} +1 -1
- package/dist/client/assets/{index-DRy8N1pt.js → index-5H19JSsG.js} +2 -2
- package/dist/client/assets/index-CGiiZwdq.css +396 -0
- package/dist/client/assets/{index-D3oYxIsD.js → index-CcaUtiJO.js} +160 -216
- package/dist/client/assets/{migration-Ckc8nT6B.js → migration-D1-xv_2f.js} +2 -2
- package/dist/client/assets/{splitpanes.es-Bnf-PNLD.js → splitpanes.es-B8vsrzes.js} +1 -1
- package/dist/client/assets/{tags-D--MSn5m.js → tags-RXd29qDr.js} +1 -1
- package/dist/client/index.html +2 -2
- package/package.json +8 -8
- package/src/client/components.d.ts +47 -47
- package/dist/client/assets/index-DphOJtuC.css +0 -395
- /package/dist/client/assets/{index-DF84L4of.css → index-BsE069b2.css} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-5H19JSsG.js","./_plugin-vue_export-helper-DgDhiqFL.js","./splitpanes.es-B8vsrzes.js","./index-BsE069b2.css","./about-Cy0ZFvm_.js","./categories-C6S2heod.js","./migration-D1-xv_2f.js","./tags-RXd29qDr.js"])))=>i.map(i=>d[i]);
|
|
2
2
|
true&&(function polyfill() {
|
|
3
3
|
const relList = document.createElement("link").relList;
|
|
4
4
|
if (relList && relList.supports && relList.supports("modulepreload")) {
|
|
@@ -39,7 +39,7 @@ true&&(function polyfill() {
|
|
|
39
39
|
/* Injected with object hook! */
|
|
40
40
|
|
|
41
41
|
/**
|
|
42
|
-
* @vue/shared v3.5.
|
|
42
|
+
* @vue/shared v3.5.12
|
|
43
43
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
44
44
|
* @license MIT
|
|
45
45
|
**/
|
|
@@ -283,7 +283,7 @@ const stringifySymbol = (v, i = "") => {
|
|
|
283
283
|
/* Injected with object hook! */
|
|
284
284
|
|
|
285
285
|
/**
|
|
286
|
-
* @vue/reactivity v3.5.
|
|
286
|
+
* @vue/reactivity v3.5.12
|
|
287
287
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
288
288
|
* @license MIT
|
|
289
289
|
**/
|
|
@@ -619,11 +619,11 @@ function removeSub(link, soft = false) {
|
|
|
619
619
|
}
|
|
620
620
|
if (dep.subs === link) {
|
|
621
621
|
dep.subs = prevSub;
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
622
|
+
if (!prevSub && dep.computed) {
|
|
623
|
+
dep.computed.flags &= ~4;
|
|
624
|
+
for (let l = dep.computed.deps; l; l = l.nextDep) {
|
|
625
|
+
removeSub(l, true);
|
|
626
|
+
}
|
|
627
627
|
}
|
|
628
628
|
}
|
|
629
629
|
if (!soft && !--dep.sc && dep.map) {
|
|
@@ -809,7 +809,7 @@ function trigger(target, type, key, newValue, oldValue, oldTarget) {
|
|
|
809
809
|
}
|
|
810
810
|
});
|
|
811
811
|
} else {
|
|
812
|
-
if (key !== void 0) {
|
|
812
|
+
if (key !== void 0 || depsMap.has(void 0)) {
|
|
813
813
|
run(depsMap.get(key));
|
|
814
814
|
}
|
|
815
815
|
if (isArrayIndex) {
|
|
@@ -1165,112 +1165,6 @@ const shallowReactiveHandlers = /* @__PURE__ */ new MutableReactiveHandler(true)
|
|
|
1165
1165
|
const shallowReadonlyHandlers = /* @__PURE__ */ new ReadonlyReactiveHandler(true);
|
|
1166
1166
|
const toShallow = (value) => value;
|
|
1167
1167
|
const getProto = (v) => Reflect.getPrototypeOf(v);
|
|
1168
|
-
function get(target, key, isReadonly2 = false, isShallow2 = false) {
|
|
1169
|
-
target = target["__v_raw"];
|
|
1170
|
-
const rawTarget = toRaw(target);
|
|
1171
|
-
const rawKey = toRaw(key);
|
|
1172
|
-
if (!isReadonly2) {
|
|
1173
|
-
if (hasChanged(key, rawKey)) {
|
|
1174
|
-
track(rawTarget, "get", key);
|
|
1175
|
-
}
|
|
1176
|
-
track(rawTarget, "get", rawKey);
|
|
1177
|
-
}
|
|
1178
|
-
const { has: has2 } = getProto(rawTarget);
|
|
1179
|
-
const wrap = isShallow2 ? toShallow : isReadonly2 ? toReadonly : toReactive;
|
|
1180
|
-
if (has2.call(rawTarget, key)) {
|
|
1181
|
-
return wrap(target.get(key));
|
|
1182
|
-
} else if (has2.call(rawTarget, rawKey)) {
|
|
1183
|
-
return wrap(target.get(rawKey));
|
|
1184
|
-
} else if (target !== rawTarget) {
|
|
1185
|
-
target.get(key);
|
|
1186
|
-
}
|
|
1187
|
-
}
|
|
1188
|
-
function has(key, isReadonly2 = false) {
|
|
1189
|
-
const target = this["__v_raw"];
|
|
1190
|
-
const rawTarget = toRaw(target);
|
|
1191
|
-
const rawKey = toRaw(key);
|
|
1192
|
-
if (!isReadonly2) {
|
|
1193
|
-
if (hasChanged(key, rawKey)) {
|
|
1194
|
-
track(rawTarget, "has", key);
|
|
1195
|
-
}
|
|
1196
|
-
track(rawTarget, "has", rawKey);
|
|
1197
|
-
}
|
|
1198
|
-
return key === rawKey ? target.has(key) : target.has(key) || target.has(rawKey);
|
|
1199
|
-
}
|
|
1200
|
-
function size(target, isReadonly2 = false) {
|
|
1201
|
-
target = target["__v_raw"];
|
|
1202
|
-
!isReadonly2 && track(toRaw(target), "iterate", ITERATE_KEY);
|
|
1203
|
-
return Reflect.get(target, "size", target);
|
|
1204
|
-
}
|
|
1205
|
-
function add(value, _isShallow = false) {
|
|
1206
|
-
if (!_isShallow && !isShallow(value) && !isReadonly(value)) {
|
|
1207
|
-
value = toRaw(value);
|
|
1208
|
-
}
|
|
1209
|
-
const target = toRaw(this);
|
|
1210
|
-
const proto = getProto(target);
|
|
1211
|
-
const hadKey = proto.has.call(target, value);
|
|
1212
|
-
if (!hadKey) {
|
|
1213
|
-
target.add(value);
|
|
1214
|
-
trigger(target, "add", value, value);
|
|
1215
|
-
}
|
|
1216
|
-
return this;
|
|
1217
|
-
}
|
|
1218
|
-
function set(key, value, _isShallow = false) {
|
|
1219
|
-
if (!_isShallow && !isShallow(value) && !isReadonly(value)) {
|
|
1220
|
-
value = toRaw(value);
|
|
1221
|
-
}
|
|
1222
|
-
const target = toRaw(this);
|
|
1223
|
-
const { has: has2, get: get2 } = getProto(target);
|
|
1224
|
-
let hadKey = has2.call(target, key);
|
|
1225
|
-
if (!hadKey) {
|
|
1226
|
-
key = toRaw(key);
|
|
1227
|
-
hadKey = has2.call(target, key);
|
|
1228
|
-
}
|
|
1229
|
-
const oldValue = get2.call(target, key);
|
|
1230
|
-
target.set(key, value);
|
|
1231
|
-
if (!hadKey) {
|
|
1232
|
-
trigger(target, "add", key, value);
|
|
1233
|
-
} else if (hasChanged(value, oldValue)) {
|
|
1234
|
-
trigger(target, "set", key, value);
|
|
1235
|
-
}
|
|
1236
|
-
return this;
|
|
1237
|
-
}
|
|
1238
|
-
function deleteEntry(key) {
|
|
1239
|
-
const target = toRaw(this);
|
|
1240
|
-
const { has: has2, get: get2 } = getProto(target);
|
|
1241
|
-
let hadKey = has2.call(target, key);
|
|
1242
|
-
if (!hadKey) {
|
|
1243
|
-
key = toRaw(key);
|
|
1244
|
-
hadKey = has2.call(target, key);
|
|
1245
|
-
}
|
|
1246
|
-
get2 ? get2.call(target, key) : void 0;
|
|
1247
|
-
const result = target.delete(key);
|
|
1248
|
-
if (hadKey) {
|
|
1249
|
-
trigger(target, "delete", key, void 0);
|
|
1250
|
-
}
|
|
1251
|
-
return result;
|
|
1252
|
-
}
|
|
1253
|
-
function clear() {
|
|
1254
|
-
const target = toRaw(this);
|
|
1255
|
-
const hadItems = target.size !== 0;
|
|
1256
|
-
const result = target.clear();
|
|
1257
|
-
if (hadItems) {
|
|
1258
|
-
trigger(target, "clear", void 0, void 0);
|
|
1259
|
-
}
|
|
1260
|
-
return result;
|
|
1261
|
-
}
|
|
1262
|
-
function createForEach(isReadonly2, isShallow2) {
|
|
1263
|
-
return function forEach(callback, thisArg) {
|
|
1264
|
-
const observed = this;
|
|
1265
|
-
const target = observed["__v_raw"];
|
|
1266
|
-
const rawTarget = toRaw(target);
|
|
1267
|
-
const wrap = isShallow2 ? toShallow : isReadonly2 ? toReadonly : toReactive;
|
|
1268
|
-
!isReadonly2 && track(rawTarget, "iterate", ITERATE_KEY);
|
|
1269
|
-
return target.forEach((value, key) => {
|
|
1270
|
-
return callback.call(thisArg, wrap(value), wrap(key), observed);
|
|
1271
|
-
});
|
|
1272
|
-
};
|
|
1273
|
-
}
|
|
1274
1168
|
function createIterableMethod(method, isReadonly2, isShallow2) {
|
|
1275
1169
|
return function(...args) {
|
|
1276
1170
|
const target = this["__v_raw"];
|
|
@@ -1306,71 +1200,127 @@ function createReadonlyMethod(type) {
|
|
|
1306
1200
|
return type === "delete" ? false : type === "clear" ? void 0 : this;
|
|
1307
1201
|
};
|
|
1308
1202
|
}
|
|
1309
|
-
function createInstrumentations() {
|
|
1310
|
-
const
|
|
1203
|
+
function createInstrumentations(readonly2, shallow) {
|
|
1204
|
+
const instrumentations = {
|
|
1311
1205
|
get(key) {
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
},
|
|
1331
|
-
has,
|
|
1332
|
-
add(value) {
|
|
1333
|
-
return add.call(this, value, true);
|
|
1334
|
-
},
|
|
1335
|
-
set(key, value) {
|
|
1336
|
-
return set.call(this, key, value, true);
|
|
1337
|
-
},
|
|
1338
|
-
delete: deleteEntry,
|
|
1339
|
-
clear,
|
|
1340
|
-
forEach: createForEach(false, true)
|
|
1341
|
-
};
|
|
1342
|
-
const readonlyInstrumentations2 = {
|
|
1343
|
-
get(key) {
|
|
1344
|
-
return get(this, key, true);
|
|
1345
|
-
},
|
|
1346
|
-
get size() {
|
|
1347
|
-
return size(this, true);
|
|
1348
|
-
},
|
|
1349
|
-
has(key) {
|
|
1350
|
-
return has.call(this, key, true);
|
|
1351
|
-
},
|
|
1352
|
-
add: createReadonlyMethod("add"),
|
|
1353
|
-
set: createReadonlyMethod("set"),
|
|
1354
|
-
delete: createReadonlyMethod("delete"),
|
|
1355
|
-
clear: createReadonlyMethod("clear"),
|
|
1356
|
-
forEach: createForEach(true, false)
|
|
1357
|
-
};
|
|
1358
|
-
const shallowReadonlyInstrumentations2 = {
|
|
1359
|
-
get(key) {
|
|
1360
|
-
return get(this, key, true, true);
|
|
1206
|
+
const target = this["__v_raw"];
|
|
1207
|
+
const rawTarget = toRaw(target);
|
|
1208
|
+
const rawKey = toRaw(key);
|
|
1209
|
+
if (!readonly2) {
|
|
1210
|
+
if (hasChanged(key, rawKey)) {
|
|
1211
|
+
track(rawTarget, "get", key);
|
|
1212
|
+
}
|
|
1213
|
+
track(rawTarget, "get", rawKey);
|
|
1214
|
+
}
|
|
1215
|
+
const { has } = getProto(rawTarget);
|
|
1216
|
+
const wrap = shallow ? toShallow : readonly2 ? toReadonly : toReactive;
|
|
1217
|
+
if (has.call(rawTarget, key)) {
|
|
1218
|
+
return wrap(target.get(key));
|
|
1219
|
+
} else if (has.call(rawTarget, rawKey)) {
|
|
1220
|
+
return wrap(target.get(rawKey));
|
|
1221
|
+
} else if (target !== rawTarget) {
|
|
1222
|
+
target.get(key);
|
|
1223
|
+
}
|
|
1361
1224
|
},
|
|
1362
1225
|
get size() {
|
|
1363
|
-
|
|
1226
|
+
const target = this["__v_raw"];
|
|
1227
|
+
!readonly2 && track(toRaw(target), "iterate", ITERATE_KEY);
|
|
1228
|
+
return Reflect.get(target, "size", target);
|
|
1364
1229
|
},
|
|
1365
1230
|
has(key) {
|
|
1366
|
-
|
|
1231
|
+
const target = this["__v_raw"];
|
|
1232
|
+
const rawTarget = toRaw(target);
|
|
1233
|
+
const rawKey = toRaw(key);
|
|
1234
|
+
if (!readonly2) {
|
|
1235
|
+
if (hasChanged(key, rawKey)) {
|
|
1236
|
+
track(rawTarget, "has", key);
|
|
1237
|
+
}
|
|
1238
|
+
track(rawTarget, "has", rawKey);
|
|
1239
|
+
}
|
|
1240
|
+
return key === rawKey ? target.has(key) : target.has(key) || target.has(rawKey);
|
|
1367
1241
|
},
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1242
|
+
forEach(callback, thisArg) {
|
|
1243
|
+
const observed = this;
|
|
1244
|
+
const target = observed["__v_raw"];
|
|
1245
|
+
const rawTarget = toRaw(target);
|
|
1246
|
+
const wrap = shallow ? toShallow : readonly2 ? toReadonly : toReactive;
|
|
1247
|
+
!readonly2 && track(rawTarget, "iterate", ITERATE_KEY);
|
|
1248
|
+
return target.forEach((value, key) => {
|
|
1249
|
+
return callback.call(thisArg, wrap(value), wrap(key), observed);
|
|
1250
|
+
});
|
|
1251
|
+
}
|
|
1373
1252
|
};
|
|
1253
|
+
extend(
|
|
1254
|
+
instrumentations,
|
|
1255
|
+
readonly2 ? {
|
|
1256
|
+
add: createReadonlyMethod("add"),
|
|
1257
|
+
set: createReadonlyMethod("set"),
|
|
1258
|
+
delete: createReadonlyMethod("delete"),
|
|
1259
|
+
clear: createReadonlyMethod("clear")
|
|
1260
|
+
} : {
|
|
1261
|
+
add(value) {
|
|
1262
|
+
if (!shallow && !isShallow(value) && !isReadonly(value)) {
|
|
1263
|
+
value = toRaw(value);
|
|
1264
|
+
}
|
|
1265
|
+
const target = toRaw(this);
|
|
1266
|
+
const proto = getProto(target);
|
|
1267
|
+
const hadKey = proto.has.call(target, value);
|
|
1268
|
+
if (!hadKey) {
|
|
1269
|
+
target.add(value);
|
|
1270
|
+
trigger(target, "add", value, value);
|
|
1271
|
+
}
|
|
1272
|
+
return this;
|
|
1273
|
+
},
|
|
1274
|
+
set(key, value) {
|
|
1275
|
+
if (!shallow && !isShallow(value) && !isReadonly(value)) {
|
|
1276
|
+
value = toRaw(value);
|
|
1277
|
+
}
|
|
1278
|
+
const target = toRaw(this);
|
|
1279
|
+
const { has, get } = getProto(target);
|
|
1280
|
+
let hadKey = has.call(target, key);
|
|
1281
|
+
if (!hadKey) {
|
|
1282
|
+
key = toRaw(key);
|
|
1283
|
+
hadKey = has.call(target, key);
|
|
1284
|
+
}
|
|
1285
|
+
const oldValue = get.call(target, key);
|
|
1286
|
+
target.set(key, value);
|
|
1287
|
+
if (!hadKey) {
|
|
1288
|
+
trigger(target, "add", key, value);
|
|
1289
|
+
} else if (hasChanged(value, oldValue)) {
|
|
1290
|
+
trigger(target, "set", key, value);
|
|
1291
|
+
}
|
|
1292
|
+
return this;
|
|
1293
|
+
},
|
|
1294
|
+
delete(key) {
|
|
1295
|
+
const target = toRaw(this);
|
|
1296
|
+
const { has, get } = getProto(target);
|
|
1297
|
+
let hadKey = has.call(target, key);
|
|
1298
|
+
if (!hadKey) {
|
|
1299
|
+
key = toRaw(key);
|
|
1300
|
+
hadKey = has.call(target, key);
|
|
1301
|
+
}
|
|
1302
|
+
get ? get.call(target, key) : void 0;
|
|
1303
|
+
const result = target.delete(key);
|
|
1304
|
+
if (hadKey) {
|
|
1305
|
+
trigger(target, "delete", key, void 0);
|
|
1306
|
+
}
|
|
1307
|
+
return result;
|
|
1308
|
+
},
|
|
1309
|
+
clear() {
|
|
1310
|
+
const target = toRaw(this);
|
|
1311
|
+
const hadItems = target.size !== 0;
|
|
1312
|
+
const result = target.clear();
|
|
1313
|
+
if (hadItems) {
|
|
1314
|
+
trigger(
|
|
1315
|
+
target,
|
|
1316
|
+
"clear",
|
|
1317
|
+
void 0,
|
|
1318
|
+
void 0);
|
|
1319
|
+
}
|
|
1320
|
+
return result;
|
|
1321
|
+
}
|
|
1322
|
+
}
|
|
1323
|
+
);
|
|
1374
1324
|
const iteratorMethods = [
|
|
1375
1325
|
"keys",
|
|
1376
1326
|
"values",
|
|
@@ -1378,30 +1328,12 @@ function createInstrumentations() {
|
|
|
1378
1328
|
Symbol.iterator
|
|
1379
1329
|
];
|
|
1380
1330
|
iteratorMethods.forEach((method) => {
|
|
1381
|
-
|
|
1382
|
-
readonlyInstrumentations2[method] = createIterableMethod(method, true, false);
|
|
1383
|
-
shallowInstrumentations2[method] = createIterableMethod(method, false, true);
|
|
1384
|
-
shallowReadonlyInstrumentations2[method] = createIterableMethod(
|
|
1385
|
-
method,
|
|
1386
|
-
true,
|
|
1387
|
-
true
|
|
1388
|
-
);
|
|
1331
|
+
instrumentations[method] = createIterableMethod(method, readonly2, shallow);
|
|
1389
1332
|
});
|
|
1390
|
-
return
|
|
1391
|
-
mutableInstrumentations2,
|
|
1392
|
-
readonlyInstrumentations2,
|
|
1393
|
-
shallowInstrumentations2,
|
|
1394
|
-
shallowReadonlyInstrumentations2
|
|
1395
|
-
];
|
|
1333
|
+
return instrumentations;
|
|
1396
1334
|
}
|
|
1397
|
-
const [
|
|
1398
|
-
mutableInstrumentations,
|
|
1399
|
-
readonlyInstrumentations,
|
|
1400
|
-
shallowInstrumentations,
|
|
1401
|
-
shallowReadonlyInstrumentations
|
|
1402
|
-
] = /* @__PURE__ */ createInstrumentations();
|
|
1403
1335
|
function createInstrumentationGetter(isReadonly2, shallow) {
|
|
1404
|
-
const instrumentations =
|
|
1336
|
+
const instrumentations = createInstrumentations(isReadonly2, shallow);
|
|
1405
1337
|
return (target, key, receiver) => {
|
|
1406
1338
|
if (key === "__v_isReactive") {
|
|
1407
1339
|
return !isReadonly2;
|
|
@@ -1840,7 +1772,7 @@ function traverse(value, depth = Infinity, seen) {
|
|
|
1840
1772
|
/* Injected with object hook! */
|
|
1841
1773
|
|
|
1842
1774
|
/**
|
|
1843
|
-
* @vue/runtime-core v3.5.
|
|
1775
|
+
* @vue/runtime-core v3.5.12
|
|
1844
1776
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
1845
1777
|
* @license MIT
|
|
1846
1778
|
**/
|
|
@@ -2340,6 +2272,8 @@ function setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) {
|
|
|
2340
2272
|
}
|
|
2341
2273
|
}
|
|
2342
2274
|
}
|
|
2275
|
+
getGlobalThis().requestIdleCallback || ((cb) => setTimeout(cb, 1));
|
|
2276
|
+
getGlobalThis().cancelIdleCallback || ((id) => clearTimeout(id));
|
|
2343
2277
|
const isAsyncWrapper = (i) => !!i.type.__asyncLoader;
|
|
2344
2278
|
const isKeepAlive = (vnode) => vnode.type.__isKeepAlive;
|
|
2345
2279
|
function onActivated(hook, target) {
|
|
@@ -2517,12 +2451,13 @@ function renderSlot(slots, name, props = {}, fallback, noSlotted) {
|
|
|
2517
2451
|
}
|
|
2518
2452
|
openBlock();
|
|
2519
2453
|
const validSlotContent = slot && ensureValidVNode(slot(props));
|
|
2454
|
+
const slotKey = props.key || // slot content array of a dynamic conditional slot may have a branch
|
|
2455
|
+
// key attached in the `createSlots` helper, respect that
|
|
2456
|
+
validSlotContent && validSlotContent.key;
|
|
2520
2457
|
const rendered = createBlock(
|
|
2521
2458
|
Fragment,
|
|
2522
2459
|
{
|
|
2523
|
-
key: (
|
|
2524
|
-
// key attached in the `createSlots` helper, respect that
|
|
2525
|
-
validSlotContent && validSlotContent.key || `_${name}`) + // #7256 force differentiate fallback content from actual content
|
|
2460
|
+
key: (slotKey && !isSymbol(slotKey) ? slotKey : `_${name}`) + // #7256 force differentiate fallback content from actual content
|
|
2526
2461
|
(!validSlotContent && fallback ? "_fb" : "")
|
|
2527
2462
|
},
|
|
2528
2463
|
validSlotContent || ([]),
|
|
@@ -4891,14 +4826,13 @@ function watch(source, cb, options) {
|
|
|
4891
4826
|
function doWatch(source, cb, options = EMPTY_OBJ) {
|
|
4892
4827
|
const { immediate, deep, flush, once } = options;
|
|
4893
4828
|
const baseWatchOptions = extend({}, options);
|
|
4829
|
+
const runsImmediately = cb && immediate || !cb && flush !== "post";
|
|
4894
4830
|
let ssrCleanup;
|
|
4895
4831
|
if (isInSSRComponentSetup) {
|
|
4896
4832
|
if (flush === "sync") {
|
|
4897
4833
|
const ctx = useSSRContext();
|
|
4898
4834
|
ssrCleanup = ctx.__watcherHandles || (ctx.__watcherHandles = []);
|
|
4899
|
-
} else if (!
|
|
4900
|
-
baseWatchOptions.once = true;
|
|
4901
|
-
} else {
|
|
4835
|
+
} else if (!runsImmediately) {
|
|
4902
4836
|
const watchStopHandle = () => {
|
|
4903
4837
|
};
|
|
4904
4838
|
watchStopHandle.stop = NOOP;
|
|
@@ -4937,7 +4871,13 @@ function doWatch(source, cb, options = EMPTY_OBJ) {
|
|
|
4937
4871
|
}
|
|
4938
4872
|
};
|
|
4939
4873
|
const watchHandle = watch$1(source, cb, baseWatchOptions);
|
|
4940
|
-
if (
|
|
4874
|
+
if (isInSSRComponentSetup) {
|
|
4875
|
+
if (ssrCleanup) {
|
|
4876
|
+
ssrCleanup.push(watchHandle);
|
|
4877
|
+
} else if (runsImmediately) {
|
|
4878
|
+
watchHandle();
|
|
4879
|
+
}
|
|
4880
|
+
}
|
|
4941
4881
|
return watchHandle;
|
|
4942
4882
|
}
|
|
4943
4883
|
function instanceWatch(source, value, options) {
|
|
@@ -5745,9 +5685,9 @@ function setupStatefulComponent(instance, isSSR) {
|
|
|
5745
5685
|
instance.proxy = new Proxy(instance.ctx, PublicInstanceProxyHandlers);
|
|
5746
5686
|
const { setup } = Component;
|
|
5747
5687
|
if (setup) {
|
|
5688
|
+
pauseTracking();
|
|
5748
5689
|
const setupContext = instance.setupContext = setup.length > 1 ? createSetupContext(instance) : null;
|
|
5749
5690
|
const reset = setCurrentInstance(instance);
|
|
5750
|
-
pauseTracking();
|
|
5751
5691
|
const setupResult = callWithErrorHandling(
|
|
5752
5692
|
setup,
|
|
5753
5693
|
instance,
|
|
@@ -5757,10 +5697,13 @@ function setupStatefulComponent(instance, isSSR) {
|
|
|
5757
5697
|
setupContext
|
|
5758
5698
|
]
|
|
5759
5699
|
);
|
|
5700
|
+
const isAsyncSetup = isPromise(setupResult);
|
|
5760
5701
|
resetTracking();
|
|
5761
5702
|
reset();
|
|
5762
|
-
if (
|
|
5763
|
-
|
|
5703
|
+
if ((isAsyncSetup || instance.sp) && !isAsyncWrapper(instance)) {
|
|
5704
|
+
markAsyncBoundary(instance);
|
|
5705
|
+
}
|
|
5706
|
+
if (isAsyncSetup) {
|
|
5764
5707
|
setupResult.then(unsetCurrentInstance, unsetCurrentInstance);
|
|
5765
5708
|
if (isSSR) {
|
|
5766
5709
|
return setupResult.then((resolvedResult) => {
|
|
@@ -5916,12 +5859,12 @@ function h(type, propsOrChildren, children) {
|
|
|
5916
5859
|
return createVNode(type, propsOrChildren, children);
|
|
5917
5860
|
}
|
|
5918
5861
|
}
|
|
5919
|
-
const version = "3.5.
|
|
5862
|
+
const version = "3.5.12";
|
|
5920
5863
|
|
|
5921
5864
|
/* Injected with object hook! */
|
|
5922
5865
|
|
|
5923
5866
|
/**
|
|
5924
|
-
* @vue/runtime-dom v3.5.
|
|
5867
|
+
* @vue/runtime-dom v3.5.12
|
|
5925
5868
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
5926
5869
|
* @license MIT
|
|
5927
5870
|
**/
|
|
@@ -6131,7 +6074,7 @@ function patchAttr(el, key, value, isSVG, instance, isBoolean = isSpecialBoolean
|
|
|
6131
6074
|
}
|
|
6132
6075
|
}
|
|
6133
6076
|
}
|
|
6134
|
-
function patchDOMProp(el, key, value, parentComponent) {
|
|
6077
|
+
function patchDOMProp(el, key, value, parentComponent, attrName) {
|
|
6135
6078
|
if (key === "innerHTML" || key === "textContent") {
|
|
6136
6079
|
if (value != null) {
|
|
6137
6080
|
el[key] = key === "innerHTML" ? unsafeToTrustedHTML(value) : value;
|
|
@@ -6173,7 +6116,7 @@ function patchDOMProp(el, key, value, parentComponent) {
|
|
|
6173
6116
|
el[key] = value;
|
|
6174
6117
|
} catch (e) {
|
|
6175
6118
|
}
|
|
6176
|
-
needRemove && el.removeAttribute(key);
|
|
6119
|
+
needRemove && el.removeAttribute(attrName || key);
|
|
6177
6120
|
}
|
|
6178
6121
|
function addEventListener(el, event, handler, options) {
|
|
6179
6122
|
el.addEventListener(event, handler, options);
|
|
@@ -6271,7 +6214,7 @@ const patchProp = (el, key, prevValue, nextValue, namespace, parentComponent) =>
|
|
|
6271
6214
|
// #11081 force set props for possible async custom element
|
|
6272
6215
|
el._isVueCE && (/[A-Z]/.test(key) || !isString(nextValue))
|
|
6273
6216
|
) {
|
|
6274
|
-
patchDOMProp(el, camelize(key), nextValue);
|
|
6217
|
+
patchDOMProp(el, camelize(key), nextValue, parentComponent, key);
|
|
6275
6218
|
} else {
|
|
6276
6219
|
if (key === "true-value") {
|
|
6277
6220
|
el._trueValue = nextValue;
|
|
@@ -6418,7 +6361,7 @@ const vModelCheckbox = {
|
|
|
6418
6361
|
setChecked(el, binding, vnode);
|
|
6419
6362
|
}
|
|
6420
6363
|
};
|
|
6421
|
-
function setChecked(el, { value }, vnode) {
|
|
6364
|
+
function setChecked(el, { value, oldValue }, vnode) {
|
|
6422
6365
|
el._modelValue = value;
|
|
6423
6366
|
let checked;
|
|
6424
6367
|
if (isArray$1(value)) {
|
|
@@ -6426,6 +6369,7 @@ function setChecked(el, { value }, vnode) {
|
|
|
6426
6369
|
} else if (isSet(value)) {
|
|
6427
6370
|
checked = value.has(vnode.props.value);
|
|
6428
6371
|
} else {
|
|
6372
|
+
if (value === oldValue) return;
|
|
6429
6373
|
checked = looseEqual(value, getCheckboxValue(el, true));
|
|
6430
6374
|
}
|
|
6431
6375
|
if (el.checked !== checked) {
|
|
@@ -8430,31 +8374,31 @@ const routes = [
|
|
|
8430
8374
|
{
|
|
8431
8375
|
path: "/",
|
|
8432
8376
|
name: "/",
|
|
8433
|
-
component: () => __vitePreload(() => import('./index-
|
|
8377
|
+
component: () => __vitePreload(() => import('./index-5H19JSsG.js'),true?__vite__mapDeps([0,1,2,3]):void 0,import.meta.url)
|
|
8434
8378
|
/* no children */
|
|
8435
8379
|
},
|
|
8436
8380
|
{
|
|
8437
8381
|
path: "/about",
|
|
8438
8382
|
name: "/about",
|
|
8439
|
-
component: () => __vitePreload(() => import('./about-
|
|
8383
|
+
component: () => __vitePreload(() => import('./about-Cy0ZFvm_.js'),true?__vite__mapDeps([4,1]):void 0,import.meta.url)
|
|
8440
8384
|
/* no children */
|
|
8441
8385
|
},
|
|
8442
8386
|
{
|
|
8443
8387
|
path: "/categories",
|
|
8444
8388
|
name: "/categories",
|
|
8445
|
-
component: () => __vitePreload(() => import('./categories-
|
|
8389
|
+
component: () => __vitePreload(() => import('./categories-C6S2heod.js'),true?__vite__mapDeps([5,1]):void 0,import.meta.url)
|
|
8446
8390
|
/* no children */
|
|
8447
8391
|
},
|
|
8448
8392
|
{
|
|
8449
8393
|
path: "/migration",
|
|
8450
8394
|
name: "/migration",
|
|
8451
|
-
component: () => __vitePreload(() => import('./migration-
|
|
8395
|
+
component: () => __vitePreload(() => import('./migration-D1-xv_2f.js'),true?__vite__mapDeps([6,2]):void 0,import.meta.url)
|
|
8452
8396
|
/* no children */
|
|
8453
8397
|
},
|
|
8454
8398
|
{
|
|
8455
8399
|
path: "/tags",
|
|
8456
8400
|
name: "/tags",
|
|
8457
|
-
component: () => __vitePreload(() => import('./tags-
|
|
8401
|
+
component: () => __vitePreload(() => import('./tags-RXd29qDr.js'),true?__vite__mapDeps([7,1]):void 0,import.meta.url)
|
|
8458
8402
|
/* no children */
|
|
8459
8403
|
}
|
|
8460
8404
|
];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as defineComponent, e as ref, f as onMounted, x as getGlobalValaxyProperty, o as openBlock, j as createBlock, w as withCtx, u as unref, m as createVNode, h as createBaseVNode, a as createElementBlock, k as renderList, F as Fragment, B as withDirectives, C as vModelCheckbox, t as toDisplayString, D as vModelText } from './index-
|
|
2
|
-
import { g, M, a as axios } from './splitpanes.es-
|
|
1
|
+
import { d as defineComponent, e as ref, f as onMounted, x as getGlobalValaxyProperty, o as openBlock, j as createBlock, w as withCtx, u as unref, m as createVNode, h as createBaseVNode, a as createElementBlock, k as renderList, F as Fragment, B as withDirectives, C as vModelCheckbox, t as toDisplayString, D as vModelText } from './index-CcaUtiJO.js';
|
|
2
|
+
import { g, M, a as axios } from './splitpanes.es-B8vsrzes.js';
|
|
3
3
|
|
|
4
4
|
const _hoisted_1 = {
|
|
5
5
|
class: "h-full",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as h, o as openBlock, a as createElementBlock, r as renderSlot, G as normalizeStyle } from './index-
|
|
1
|
+
import { E as h, o as openBlock, a as createElementBlock, r as renderSlot, G as normalizeStyle } from './index-CcaUtiJO.js';
|
|
2
2
|
|
|
3
3
|
function bind(fn, thisArg) {
|
|
4
4
|
return function wrap() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as _export_sfc } from './_plugin-vue_export-helper-DgDhiqFL.js';
|
|
2
|
-
import { a as createElementBlock, o as openBlock } from './index-
|
|
2
|
+
import { a as createElementBlock, o as openBlock } from './index-CcaUtiJO.js';
|
|
3
3
|
|
|
4
4
|
/* unplugin-vue-components disabled */const _sfc_main = {};
|
|
5
5
|
|
package/dist/client/index.html
CHANGED
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
document.documentElement.classList.toggle('dark', true)
|
|
17
17
|
})()
|
|
18
18
|
</script>
|
|
19
|
-
<script type="module" crossorigin src="./assets/index-
|
|
20
|
-
<link rel="stylesheet" crossorigin href="./assets/index-
|
|
19
|
+
<script type="module" crossorigin src="./assets/index-CcaUtiJO.js"></script>
|
|
20
|
+
<link rel="stylesheet" crossorigin href="./assets/index-CGiiZwdq.css">
|
|
21
21
|
</head>
|
|
22
22
|
|
|
23
23
|
<body data-vite-inspect-mode="DEV">
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@valaxyjs/devtools",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.20.
|
|
4
|
+
"version": "0.20.1",
|
|
5
5
|
"repository": {
|
|
6
6
|
"url": "https://github.com/YunYouJun/valaxy"
|
|
7
7
|
},
|
|
@@ -17,25 +17,25 @@
|
|
|
17
17
|
"module": "dist/index.mjs",
|
|
18
18
|
"types": "dist/index.d.ts",
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@rollup/pluginutils": "^5.1.
|
|
20
|
+
"@rollup/pluginutils": "^5.1.3",
|
|
21
21
|
"axios": "^1.7.7",
|
|
22
22
|
"body-parser": "^1.20.3",
|
|
23
|
-
"http-proxy-middleware": "^3.0.
|
|
23
|
+
"http-proxy-middleware": "^3.0.3",
|
|
24
24
|
"js-yaml": "^4.1.0",
|
|
25
|
-
"picocolors": "^1.1.
|
|
26
|
-
"sirv": "^
|
|
25
|
+
"picocolors": "^1.1.1",
|
|
26
|
+
"sirv": "^3.0.0"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@advjs/gui": "0.0.7-beta.1",
|
|
30
|
-
"@iconify-json/ri": "^1.2.
|
|
30
|
+
"@iconify-json/ri": "^1.2.2",
|
|
31
31
|
"@types/body-parser": "^1.19.5",
|
|
32
32
|
"@types/splitpanes": "^2.2.6",
|
|
33
33
|
"gray-matter": "^4.0.3",
|
|
34
34
|
"splitpanes": "^3.1.5",
|
|
35
|
-
"typescript": "^5.6.
|
|
35
|
+
"typescript": "^5.6.3",
|
|
36
36
|
"unbuild": "^2.0.0",
|
|
37
37
|
"unplugin-vue-router": "^0.10.8",
|
|
38
|
-
"vite": "^5.4.
|
|
38
|
+
"vite": "^5.4.10"
|
|
39
39
|
},
|
|
40
40
|
"scripts": {
|
|
41
41
|
"build": "rimraf dist && run-s build:*",
|