@silexlabs/silex-dashboard 1.0.73 → 1.0.75
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/_site/css/connectors-152b01dfacf0586ce2f3fb0ddbbf5a5bbcd181a48b4b20b275f837786b2889cd.css +1 -0
- package/_site/css/connectors-febcafaf261c0f23ca11fc13809f259c74dbdd50b6a47506ba295fdb99d1b4a4.css +1 -0
- package/_site/en/connectors/index.html +59 -3
- package/_site/fr/connectors/index.html +59 -3
- package/_site/js/main.js +59 -57
- package/_site/js/vue.cjs.js +1 -1
- package/_site/js/vue.cjs.prod.js +1 -1
- package/_site/js/vue.esm-browser.js +312 -286
- package/_site/js/vue.esm-browser.prod.js +6 -6
- package/_site/js/vue.esm-bundler.js +1 -1
- package/_site/js/vue.global.js +303 -282
- package/_site/js/vue.global.prod.js +6 -6
- package/_site/js/vue.runtime.esm-browser.js +293 -277
- package/_site/js/vue.runtime.esm-browser.prod.js +2 -2
- package/_site/js/vue.runtime.esm-bundler.js +1 -1
- package/_site/js/vue.runtime.global.js +284 -273
- package/_site/js/vue.runtime.global.prod.js +2 -2
- package/collections/connectors/en.md +3 -0
- package/collections/connectors/fr.md +3 -0
- package/package.json +1 -1
- package/templates/connectors-en.11tydata.mjs +18 -0
- package/templates/connectors-en.html +90 -28
- package/templates/connectors-fr.11tydata.mjs +18 -0
- package/templates/connectors-fr.html +90 -28
- package/templates/css/connectors-152b01dfacf0586ce2f3fb0ddbbf5a5bbcd181a48b4b20b275f837786b2889cd.css +1 -0
- package/templates/css/connectors-febcafaf261c0f23ca11fc13809f259c74dbdd50b6a47506ba295fdb99d1b4a4.css +1 -0
- package/templates/websites-en.11tydata.mjs +12 -0
- package/templates/websites-en.html +79 -79
- package/templates/websites-fr.11tydata.mjs +12 -0
- package/templates/websites-fr.html +79 -79
- package/tina/config.ts +10 -0
- package/tina/tina-lock.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* vue v3.5.
|
|
2
|
+
* vue v3.5.13
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -144,10 +144,9 @@ var Vue = (function (exports) {
|
|
|
144
144
|
return ret;
|
|
145
145
|
}
|
|
146
146
|
function stringifyStyle(styles) {
|
|
147
|
+
if (!styles) return "";
|
|
148
|
+
if (isString(styles)) return styles;
|
|
147
149
|
let ret = "";
|
|
148
|
-
if (!styles || isString(styles)) {
|
|
149
|
-
return ret;
|
|
150
|
-
}
|
|
151
150
|
for (const key in styles) {
|
|
152
151
|
const value = styles[key];
|
|
153
152
|
if (isString(value) || typeof value === "number") {
|
|
@@ -408,17 +407,21 @@ var Vue = (function (exports) {
|
|
|
408
407
|
}
|
|
409
408
|
stop(fromParent) {
|
|
410
409
|
if (this._active) {
|
|
410
|
+
this._active = false;
|
|
411
411
|
let i, l;
|
|
412
412
|
for (i = 0, l = this.effects.length; i < l; i++) {
|
|
413
413
|
this.effects[i].stop();
|
|
414
414
|
}
|
|
415
|
+
this.effects.length = 0;
|
|
415
416
|
for (i = 0, l = this.cleanups.length; i < l; i++) {
|
|
416
417
|
this.cleanups[i]();
|
|
417
418
|
}
|
|
419
|
+
this.cleanups.length = 0;
|
|
418
420
|
if (this.scopes) {
|
|
419
421
|
for (i = 0, l = this.scopes.length; i < l; i++) {
|
|
420
422
|
this.scopes[i].stop(true);
|
|
421
423
|
}
|
|
424
|
+
this.scopes.length = 0;
|
|
422
425
|
}
|
|
423
426
|
if (!this.detached && this.parent && !fromParent) {
|
|
424
427
|
const last = this.parent.scopes.pop();
|
|
@@ -428,7 +431,6 @@ var Vue = (function (exports) {
|
|
|
428
431
|
}
|
|
429
432
|
}
|
|
430
433
|
this.parent = void 0;
|
|
431
|
-
this._active = false;
|
|
432
434
|
}
|
|
433
435
|
}
|
|
434
436
|
}
|
|
@@ -560,8 +562,14 @@ var Vue = (function (exports) {
|
|
|
560
562
|
}
|
|
561
563
|
let batchDepth = 0;
|
|
562
564
|
let batchedSub;
|
|
563
|
-
|
|
565
|
+
let batchedComputed;
|
|
566
|
+
function batch(sub, isComputed = false) {
|
|
564
567
|
sub.flags |= 8;
|
|
568
|
+
if (isComputed) {
|
|
569
|
+
sub.next = batchedComputed;
|
|
570
|
+
batchedComputed = sub;
|
|
571
|
+
return;
|
|
572
|
+
}
|
|
565
573
|
sub.next = batchedSub;
|
|
566
574
|
batchedSub = sub;
|
|
567
575
|
}
|
|
@@ -572,20 +580,22 @@ var Vue = (function (exports) {
|
|
|
572
580
|
if (--batchDepth > 0) {
|
|
573
581
|
return;
|
|
574
582
|
}
|
|
583
|
+
if (batchedComputed) {
|
|
584
|
+
let e = batchedComputed;
|
|
585
|
+
batchedComputed = void 0;
|
|
586
|
+
while (e) {
|
|
587
|
+
const next = e.next;
|
|
588
|
+
e.next = void 0;
|
|
589
|
+
e.flags &= ~8;
|
|
590
|
+
e = next;
|
|
591
|
+
}
|
|
592
|
+
}
|
|
575
593
|
let error;
|
|
576
594
|
while (batchedSub) {
|
|
577
595
|
let e = batchedSub;
|
|
578
|
-
let next;
|
|
579
|
-
while (e) {
|
|
580
|
-
if (!(e.flags & 1)) {
|
|
581
|
-
e.flags &= ~8;
|
|
582
|
-
}
|
|
583
|
-
e = e.next;
|
|
584
|
-
}
|
|
585
|
-
e = batchedSub;
|
|
586
596
|
batchedSub = void 0;
|
|
587
597
|
while (e) {
|
|
588
|
-
next = e.next;
|
|
598
|
+
const next = e.next;
|
|
589
599
|
e.next = void 0;
|
|
590
600
|
e.flags &= ~8;
|
|
591
601
|
if (e.flags & 1) {
|
|
@@ -685,16 +695,16 @@ var Vue = (function (exports) {
|
|
|
685
695
|
nextSub.prevSub = prevSub;
|
|
686
696
|
link.nextSub = void 0;
|
|
687
697
|
}
|
|
688
|
-
if (dep.subs === link) {
|
|
689
|
-
dep.subs = prevSub;
|
|
690
|
-
}
|
|
691
698
|
if (dep.subsHead === link) {
|
|
692
699
|
dep.subsHead = nextSub;
|
|
693
700
|
}
|
|
694
|
-
if (
|
|
695
|
-
dep.
|
|
696
|
-
|
|
697
|
-
|
|
701
|
+
if (dep.subs === link) {
|
|
702
|
+
dep.subs = prevSub;
|
|
703
|
+
if (!prevSub && dep.computed) {
|
|
704
|
+
dep.computed.flags &= ~4;
|
|
705
|
+
for (let l = dep.computed.deps; l; l = l.nextDep) {
|
|
706
|
+
removeSub(l, true);
|
|
707
|
+
}
|
|
698
708
|
}
|
|
699
709
|
}
|
|
700
710
|
if (!soft && !--dep.sc && dep.map) {
|
|
@@ -781,7 +791,6 @@ var Vue = (function (exports) {
|
|
|
781
791
|
/**
|
|
782
792
|
* For object property deps cleanup
|
|
783
793
|
*/
|
|
784
|
-
this.target = void 0;
|
|
785
794
|
this.map = void 0;
|
|
786
795
|
this.key = void 0;
|
|
787
796
|
/**
|
|
@@ -909,7 +918,6 @@ var Vue = (function (exports) {
|
|
|
909
918
|
let dep = depsMap.get(key);
|
|
910
919
|
if (!dep) {
|
|
911
920
|
depsMap.set(key, dep = new Dep());
|
|
912
|
-
dep.target = target;
|
|
913
921
|
dep.map = depsMap;
|
|
914
922
|
dep.key = key;
|
|
915
923
|
}
|
|
@@ -956,7 +964,7 @@ var Vue = (function (exports) {
|
|
|
956
964
|
}
|
|
957
965
|
});
|
|
958
966
|
} else {
|
|
959
|
-
if (key !== void 0) {
|
|
967
|
+
if (key !== void 0 || depsMap.has(void 0)) {
|
|
960
968
|
run(depsMap.get(key));
|
|
961
969
|
}
|
|
962
970
|
if (isArrayIndex) {
|
|
@@ -1188,6 +1196,7 @@ var Vue = (function (exports) {
|
|
|
1188
1196
|
this._isShallow = _isShallow;
|
|
1189
1197
|
}
|
|
1190
1198
|
get(target, key, receiver) {
|
|
1199
|
+
if (key === "__v_skip") return target["__v_skip"];
|
|
1191
1200
|
const isReadonly2 = this._isReadonly, isShallow2 = this._isShallow;
|
|
1192
1201
|
if (key === "__v_isReactive") {
|
|
1193
1202
|
return !isReadonly2;
|
|
@@ -1331,117 +1340,6 @@ var Vue = (function (exports) {
|
|
|
1331
1340
|
|
|
1332
1341
|
const toShallow = (value) => value;
|
|
1333
1342
|
const getProto = (v) => Reflect.getPrototypeOf(v);
|
|
1334
|
-
function get(target, key, isReadonly2 = false, isShallow2 = false) {
|
|
1335
|
-
target = target["__v_raw"];
|
|
1336
|
-
const rawTarget = toRaw(target);
|
|
1337
|
-
const rawKey = toRaw(key);
|
|
1338
|
-
if (!isReadonly2) {
|
|
1339
|
-
if (hasChanged(key, rawKey)) {
|
|
1340
|
-
track(rawTarget, "get", key);
|
|
1341
|
-
}
|
|
1342
|
-
track(rawTarget, "get", rawKey);
|
|
1343
|
-
}
|
|
1344
|
-
const { has: has2 } = getProto(rawTarget);
|
|
1345
|
-
const wrap = isShallow2 ? toShallow : isReadonly2 ? toReadonly : toReactive;
|
|
1346
|
-
if (has2.call(rawTarget, key)) {
|
|
1347
|
-
return wrap(target.get(key));
|
|
1348
|
-
} else if (has2.call(rawTarget, rawKey)) {
|
|
1349
|
-
return wrap(target.get(rawKey));
|
|
1350
|
-
} else if (target !== rawTarget) {
|
|
1351
|
-
target.get(key);
|
|
1352
|
-
}
|
|
1353
|
-
}
|
|
1354
|
-
function has(key, isReadonly2 = false) {
|
|
1355
|
-
const target = this["__v_raw"];
|
|
1356
|
-
const rawTarget = toRaw(target);
|
|
1357
|
-
const rawKey = toRaw(key);
|
|
1358
|
-
if (!isReadonly2) {
|
|
1359
|
-
if (hasChanged(key, rawKey)) {
|
|
1360
|
-
track(rawTarget, "has", key);
|
|
1361
|
-
}
|
|
1362
|
-
track(rawTarget, "has", rawKey);
|
|
1363
|
-
}
|
|
1364
|
-
return key === rawKey ? target.has(key) : target.has(key) || target.has(rawKey);
|
|
1365
|
-
}
|
|
1366
|
-
function size(target, isReadonly2 = false) {
|
|
1367
|
-
target = target["__v_raw"];
|
|
1368
|
-
!isReadonly2 && track(toRaw(target), "iterate", ITERATE_KEY);
|
|
1369
|
-
return Reflect.get(target, "size", target);
|
|
1370
|
-
}
|
|
1371
|
-
function add(value, _isShallow = false) {
|
|
1372
|
-
if (!_isShallow && !isShallow(value) && !isReadonly(value)) {
|
|
1373
|
-
value = toRaw(value);
|
|
1374
|
-
}
|
|
1375
|
-
const target = toRaw(this);
|
|
1376
|
-
const proto = getProto(target);
|
|
1377
|
-
const hadKey = proto.has.call(target, value);
|
|
1378
|
-
if (!hadKey) {
|
|
1379
|
-
target.add(value);
|
|
1380
|
-
trigger(target, "add", value, value);
|
|
1381
|
-
}
|
|
1382
|
-
return this;
|
|
1383
|
-
}
|
|
1384
|
-
function set(key, value, _isShallow = false) {
|
|
1385
|
-
if (!_isShallow && !isShallow(value) && !isReadonly(value)) {
|
|
1386
|
-
value = toRaw(value);
|
|
1387
|
-
}
|
|
1388
|
-
const target = toRaw(this);
|
|
1389
|
-
const { has: has2, get: get2 } = getProto(target);
|
|
1390
|
-
let hadKey = has2.call(target, key);
|
|
1391
|
-
if (!hadKey) {
|
|
1392
|
-
key = toRaw(key);
|
|
1393
|
-
hadKey = has2.call(target, key);
|
|
1394
|
-
} else {
|
|
1395
|
-
checkIdentityKeys(target, has2, key);
|
|
1396
|
-
}
|
|
1397
|
-
const oldValue = get2.call(target, key);
|
|
1398
|
-
target.set(key, value);
|
|
1399
|
-
if (!hadKey) {
|
|
1400
|
-
trigger(target, "add", key, value);
|
|
1401
|
-
} else if (hasChanged(value, oldValue)) {
|
|
1402
|
-
trigger(target, "set", key, value, oldValue);
|
|
1403
|
-
}
|
|
1404
|
-
return this;
|
|
1405
|
-
}
|
|
1406
|
-
function deleteEntry(key) {
|
|
1407
|
-
const target = toRaw(this);
|
|
1408
|
-
const { has: has2, get: get2 } = getProto(target);
|
|
1409
|
-
let hadKey = has2.call(target, key);
|
|
1410
|
-
if (!hadKey) {
|
|
1411
|
-
key = toRaw(key);
|
|
1412
|
-
hadKey = has2.call(target, key);
|
|
1413
|
-
} else {
|
|
1414
|
-
checkIdentityKeys(target, has2, key);
|
|
1415
|
-
}
|
|
1416
|
-
const oldValue = get2 ? get2.call(target, key) : void 0;
|
|
1417
|
-
const result = target.delete(key);
|
|
1418
|
-
if (hadKey) {
|
|
1419
|
-
trigger(target, "delete", key, void 0, oldValue);
|
|
1420
|
-
}
|
|
1421
|
-
return result;
|
|
1422
|
-
}
|
|
1423
|
-
function clear() {
|
|
1424
|
-
const target = toRaw(this);
|
|
1425
|
-
const hadItems = target.size !== 0;
|
|
1426
|
-
const oldTarget = isMap(target) ? new Map(target) : new Set(target) ;
|
|
1427
|
-
const result = target.clear();
|
|
1428
|
-
if (hadItems) {
|
|
1429
|
-
trigger(target, "clear", void 0, void 0, oldTarget);
|
|
1430
|
-
}
|
|
1431
|
-
return result;
|
|
1432
|
-
}
|
|
1433
|
-
function createForEach(isReadonly2, isShallow2) {
|
|
1434
|
-
return function forEach(callback, thisArg) {
|
|
1435
|
-
const observed = this;
|
|
1436
|
-
const target = observed["__v_raw"];
|
|
1437
|
-
const rawTarget = toRaw(target);
|
|
1438
|
-
const wrap = isShallow2 ? toShallow : isReadonly2 ? toReadonly : toReactive;
|
|
1439
|
-
!isReadonly2 && track(rawTarget, "iterate", ITERATE_KEY);
|
|
1440
|
-
return target.forEach((value, key) => {
|
|
1441
|
-
return callback.call(thisArg, wrap(value), wrap(key), observed);
|
|
1442
|
-
});
|
|
1443
|
-
};
|
|
1444
|
-
}
|
|
1445
1343
|
function createIterableMethod(method, isReadonly2, isShallow2) {
|
|
1446
1344
|
return function(...args) {
|
|
1447
1345
|
const target = this["__v_raw"];
|
|
@@ -1484,71 +1382,134 @@ var Vue = (function (exports) {
|
|
|
1484
1382
|
return type === "delete" ? false : type === "clear" ? void 0 : this;
|
|
1485
1383
|
};
|
|
1486
1384
|
}
|
|
1487
|
-
function createInstrumentations() {
|
|
1488
|
-
const
|
|
1385
|
+
function createInstrumentations(readonly, shallow) {
|
|
1386
|
+
const instrumentations = {
|
|
1489
1387
|
get(key) {
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
},
|
|
1509
|
-
has,
|
|
1510
|
-
add(value) {
|
|
1511
|
-
return add.call(this, value, true);
|
|
1512
|
-
},
|
|
1513
|
-
set(key, value) {
|
|
1514
|
-
return set.call(this, key, value, true);
|
|
1515
|
-
},
|
|
1516
|
-
delete: deleteEntry,
|
|
1517
|
-
clear,
|
|
1518
|
-
forEach: createForEach(false, true)
|
|
1519
|
-
};
|
|
1520
|
-
const readonlyInstrumentations2 = {
|
|
1521
|
-
get(key) {
|
|
1522
|
-
return get(this, key, true);
|
|
1523
|
-
},
|
|
1524
|
-
get size() {
|
|
1525
|
-
return size(this, true);
|
|
1526
|
-
},
|
|
1527
|
-
has(key) {
|
|
1528
|
-
return has.call(this, key, true);
|
|
1529
|
-
},
|
|
1530
|
-
add: createReadonlyMethod("add"),
|
|
1531
|
-
set: createReadonlyMethod("set"),
|
|
1532
|
-
delete: createReadonlyMethod("delete"),
|
|
1533
|
-
clear: createReadonlyMethod("clear"),
|
|
1534
|
-
forEach: createForEach(true, false)
|
|
1535
|
-
};
|
|
1536
|
-
const shallowReadonlyInstrumentations2 = {
|
|
1537
|
-
get(key) {
|
|
1538
|
-
return get(this, key, true, true);
|
|
1388
|
+
const target = this["__v_raw"];
|
|
1389
|
+
const rawTarget = toRaw(target);
|
|
1390
|
+
const rawKey = toRaw(key);
|
|
1391
|
+
if (!readonly) {
|
|
1392
|
+
if (hasChanged(key, rawKey)) {
|
|
1393
|
+
track(rawTarget, "get", key);
|
|
1394
|
+
}
|
|
1395
|
+
track(rawTarget, "get", rawKey);
|
|
1396
|
+
}
|
|
1397
|
+
const { has } = getProto(rawTarget);
|
|
1398
|
+
const wrap = shallow ? toShallow : readonly ? toReadonly : toReactive;
|
|
1399
|
+
if (has.call(rawTarget, key)) {
|
|
1400
|
+
return wrap(target.get(key));
|
|
1401
|
+
} else if (has.call(rawTarget, rawKey)) {
|
|
1402
|
+
return wrap(target.get(rawKey));
|
|
1403
|
+
} else if (target !== rawTarget) {
|
|
1404
|
+
target.get(key);
|
|
1405
|
+
}
|
|
1539
1406
|
},
|
|
1540
1407
|
get size() {
|
|
1541
|
-
|
|
1408
|
+
const target = this["__v_raw"];
|
|
1409
|
+
!readonly && track(toRaw(target), "iterate", ITERATE_KEY);
|
|
1410
|
+
return Reflect.get(target, "size", target);
|
|
1542
1411
|
},
|
|
1543
1412
|
has(key) {
|
|
1544
|
-
|
|
1413
|
+
const target = this["__v_raw"];
|
|
1414
|
+
const rawTarget = toRaw(target);
|
|
1415
|
+
const rawKey = toRaw(key);
|
|
1416
|
+
if (!readonly) {
|
|
1417
|
+
if (hasChanged(key, rawKey)) {
|
|
1418
|
+
track(rawTarget, "has", key);
|
|
1419
|
+
}
|
|
1420
|
+
track(rawTarget, "has", rawKey);
|
|
1421
|
+
}
|
|
1422
|
+
return key === rawKey ? target.has(key) : target.has(key) || target.has(rawKey);
|
|
1545
1423
|
},
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1424
|
+
forEach(callback, thisArg) {
|
|
1425
|
+
const observed = this;
|
|
1426
|
+
const target = observed["__v_raw"];
|
|
1427
|
+
const rawTarget = toRaw(target);
|
|
1428
|
+
const wrap = shallow ? toShallow : readonly ? toReadonly : toReactive;
|
|
1429
|
+
!readonly && track(rawTarget, "iterate", ITERATE_KEY);
|
|
1430
|
+
return target.forEach((value, key) => {
|
|
1431
|
+
return callback.call(thisArg, wrap(value), wrap(key), observed);
|
|
1432
|
+
});
|
|
1433
|
+
}
|
|
1551
1434
|
};
|
|
1435
|
+
extend(
|
|
1436
|
+
instrumentations,
|
|
1437
|
+
readonly ? {
|
|
1438
|
+
add: createReadonlyMethod("add"),
|
|
1439
|
+
set: createReadonlyMethod("set"),
|
|
1440
|
+
delete: createReadonlyMethod("delete"),
|
|
1441
|
+
clear: createReadonlyMethod("clear")
|
|
1442
|
+
} : {
|
|
1443
|
+
add(value) {
|
|
1444
|
+
if (!shallow && !isShallow(value) && !isReadonly(value)) {
|
|
1445
|
+
value = toRaw(value);
|
|
1446
|
+
}
|
|
1447
|
+
const target = toRaw(this);
|
|
1448
|
+
const proto = getProto(target);
|
|
1449
|
+
const hadKey = proto.has.call(target, value);
|
|
1450
|
+
if (!hadKey) {
|
|
1451
|
+
target.add(value);
|
|
1452
|
+
trigger(target, "add", value, value);
|
|
1453
|
+
}
|
|
1454
|
+
return this;
|
|
1455
|
+
},
|
|
1456
|
+
set(key, value) {
|
|
1457
|
+
if (!shallow && !isShallow(value) && !isReadonly(value)) {
|
|
1458
|
+
value = toRaw(value);
|
|
1459
|
+
}
|
|
1460
|
+
const target = toRaw(this);
|
|
1461
|
+
const { has, get } = getProto(target);
|
|
1462
|
+
let hadKey = has.call(target, key);
|
|
1463
|
+
if (!hadKey) {
|
|
1464
|
+
key = toRaw(key);
|
|
1465
|
+
hadKey = has.call(target, key);
|
|
1466
|
+
} else {
|
|
1467
|
+
checkIdentityKeys(target, has, key);
|
|
1468
|
+
}
|
|
1469
|
+
const oldValue = get.call(target, key);
|
|
1470
|
+
target.set(key, value);
|
|
1471
|
+
if (!hadKey) {
|
|
1472
|
+
trigger(target, "add", key, value);
|
|
1473
|
+
} else if (hasChanged(value, oldValue)) {
|
|
1474
|
+
trigger(target, "set", key, value, oldValue);
|
|
1475
|
+
}
|
|
1476
|
+
return this;
|
|
1477
|
+
},
|
|
1478
|
+
delete(key) {
|
|
1479
|
+
const target = toRaw(this);
|
|
1480
|
+
const { has, get } = getProto(target);
|
|
1481
|
+
let hadKey = has.call(target, key);
|
|
1482
|
+
if (!hadKey) {
|
|
1483
|
+
key = toRaw(key);
|
|
1484
|
+
hadKey = has.call(target, key);
|
|
1485
|
+
} else {
|
|
1486
|
+
checkIdentityKeys(target, has, key);
|
|
1487
|
+
}
|
|
1488
|
+
const oldValue = get ? get.call(target, key) : void 0;
|
|
1489
|
+
const result = target.delete(key);
|
|
1490
|
+
if (hadKey) {
|
|
1491
|
+
trigger(target, "delete", key, void 0, oldValue);
|
|
1492
|
+
}
|
|
1493
|
+
return result;
|
|
1494
|
+
},
|
|
1495
|
+
clear() {
|
|
1496
|
+
const target = toRaw(this);
|
|
1497
|
+
const hadItems = target.size !== 0;
|
|
1498
|
+
const oldTarget = isMap(target) ? new Map(target) : new Set(target) ;
|
|
1499
|
+
const result = target.clear();
|
|
1500
|
+
if (hadItems) {
|
|
1501
|
+
trigger(
|
|
1502
|
+
target,
|
|
1503
|
+
"clear",
|
|
1504
|
+
void 0,
|
|
1505
|
+
void 0,
|
|
1506
|
+
oldTarget
|
|
1507
|
+
);
|
|
1508
|
+
}
|
|
1509
|
+
return result;
|
|
1510
|
+
}
|
|
1511
|
+
}
|
|
1512
|
+
);
|
|
1552
1513
|
const iteratorMethods = [
|
|
1553
1514
|
"keys",
|
|
1554
1515
|
"values",
|
|
@@ -1556,30 +1517,12 @@ var Vue = (function (exports) {
|
|
|
1556
1517
|
Symbol.iterator
|
|
1557
1518
|
];
|
|
1558
1519
|
iteratorMethods.forEach((method) => {
|
|
1559
|
-
|
|
1560
|
-
readonlyInstrumentations2[method] = createIterableMethod(method, true, false);
|
|
1561
|
-
shallowInstrumentations2[method] = createIterableMethod(method, false, true);
|
|
1562
|
-
shallowReadonlyInstrumentations2[method] = createIterableMethod(
|
|
1563
|
-
method,
|
|
1564
|
-
true,
|
|
1565
|
-
true
|
|
1566
|
-
);
|
|
1520
|
+
instrumentations[method] = createIterableMethod(method, readonly, shallow);
|
|
1567
1521
|
});
|
|
1568
|
-
return
|
|
1569
|
-
mutableInstrumentations2,
|
|
1570
|
-
readonlyInstrumentations2,
|
|
1571
|
-
shallowInstrumentations2,
|
|
1572
|
-
shallowReadonlyInstrumentations2
|
|
1573
|
-
];
|
|
1522
|
+
return instrumentations;
|
|
1574
1523
|
}
|
|
1575
|
-
const [
|
|
1576
|
-
mutableInstrumentations,
|
|
1577
|
-
readonlyInstrumentations,
|
|
1578
|
-
shallowInstrumentations,
|
|
1579
|
-
shallowReadonlyInstrumentations
|
|
1580
|
-
] = /* @__PURE__ */ createInstrumentations();
|
|
1581
1524
|
function createInstrumentationGetter(isReadonly2, shallow) {
|
|
1582
|
-
const instrumentations =
|
|
1525
|
+
const instrumentations = createInstrumentations(isReadonly2, shallow);
|
|
1583
1526
|
return (target, key, receiver) => {
|
|
1584
1527
|
if (key === "__v_isReactive") {
|
|
1585
1528
|
return !isReadonly2;
|
|
@@ -1607,9 +1550,9 @@ var Vue = (function (exports) {
|
|
|
1607
1550
|
const shallowReadonlyCollectionHandlers = {
|
|
1608
1551
|
get: /* @__PURE__ */ createInstrumentationGetter(true, true)
|
|
1609
1552
|
};
|
|
1610
|
-
function checkIdentityKeys(target,
|
|
1553
|
+
function checkIdentityKeys(target, has, key) {
|
|
1611
1554
|
const rawKey = toRaw(key);
|
|
1612
|
-
if (rawKey !== key &&
|
|
1555
|
+
if (rawKey !== key && has.call(target, rawKey)) {
|
|
1613
1556
|
const type = toRawType(target);
|
|
1614
1557
|
warn$2(
|
|
1615
1558
|
`Reactive ${type} contains both the raw and reactive versions of the same object${type === `Map` ? ` as keys` : ``}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`
|
|
@@ -1945,7 +1888,7 @@ var Vue = (function (exports) {
|
|
|
1945
1888
|
this.flags |= 16;
|
|
1946
1889
|
if (!(this.flags & 8) && // avoid infinite self recursion
|
|
1947
1890
|
activeSub !== this) {
|
|
1948
|
-
batch(this);
|
|
1891
|
+
batch(this, true);
|
|
1949
1892
|
return true;
|
|
1950
1893
|
}
|
|
1951
1894
|
}
|
|
@@ -2090,7 +2033,7 @@ var Vue = (function (exports) {
|
|
|
2090
2033
|
const scope = getCurrentScope();
|
|
2091
2034
|
const watchHandle = () => {
|
|
2092
2035
|
effect.stop();
|
|
2093
|
-
if (scope) {
|
|
2036
|
+
if (scope && scope.active) {
|
|
2094
2037
|
remove(scope.effects, effect);
|
|
2095
2038
|
}
|
|
2096
2039
|
};
|
|
@@ -2467,10 +2410,8 @@ var Vue = (function (exports) {
|
|
|
2467
2410
|
}
|
|
2468
2411
|
}
|
|
2469
2412
|
|
|
2470
|
-
let isFlushing = false;
|
|
2471
|
-
let isFlushPending = false;
|
|
2472
2413
|
const queue = [];
|
|
2473
|
-
let flushIndex =
|
|
2414
|
+
let flushIndex = -1;
|
|
2474
2415
|
const pendingPostFlushCbs = [];
|
|
2475
2416
|
let activePostFlushCbs = null;
|
|
2476
2417
|
let postFlushIndex = 0;
|
|
@@ -2482,7 +2423,7 @@ var Vue = (function (exports) {
|
|
|
2482
2423
|
return fn ? p.then(this ? fn.bind(this) : fn) : p;
|
|
2483
2424
|
}
|
|
2484
2425
|
function findInsertionIndex(id) {
|
|
2485
|
-
let start =
|
|
2426
|
+
let start = flushIndex + 1;
|
|
2486
2427
|
let end = queue.length;
|
|
2487
2428
|
while (start < end) {
|
|
2488
2429
|
const middle = start + end >>> 1;
|
|
@@ -2511,8 +2452,7 @@ var Vue = (function (exports) {
|
|
|
2511
2452
|
}
|
|
2512
2453
|
}
|
|
2513
2454
|
function queueFlush() {
|
|
2514
|
-
if (!
|
|
2515
|
-
isFlushPending = true;
|
|
2455
|
+
if (!currentFlushPromise) {
|
|
2516
2456
|
currentFlushPromise = resolvedPromise.then(flushJobs);
|
|
2517
2457
|
}
|
|
2518
2458
|
}
|
|
@@ -2529,7 +2469,7 @@ var Vue = (function (exports) {
|
|
|
2529
2469
|
}
|
|
2530
2470
|
queueFlush();
|
|
2531
2471
|
}
|
|
2532
|
-
function flushPreFlushCbs(instance, seen, i =
|
|
2472
|
+
function flushPreFlushCbs(instance, seen, i = flushIndex + 1) {
|
|
2533
2473
|
{
|
|
2534
2474
|
seen = seen || /* @__PURE__ */ new Map();
|
|
2535
2475
|
}
|
|
@@ -2585,8 +2525,6 @@ var Vue = (function (exports) {
|
|
|
2585
2525
|
}
|
|
2586
2526
|
const getId = (job) => job.id == null ? job.flags & 2 ? -1 : Infinity : job.id;
|
|
2587
2527
|
function flushJobs(seen) {
|
|
2588
|
-
isFlushPending = false;
|
|
2589
|
-
isFlushing = true;
|
|
2590
2528
|
{
|
|
2591
2529
|
seen = seen || /* @__PURE__ */ new Map();
|
|
2592
2530
|
}
|
|
@@ -2618,10 +2556,9 @@ var Vue = (function (exports) {
|
|
|
2618
2556
|
job.flags &= ~1;
|
|
2619
2557
|
}
|
|
2620
2558
|
}
|
|
2621
|
-
flushIndex =
|
|
2559
|
+
flushIndex = -1;
|
|
2622
2560
|
queue.length = 0;
|
|
2623
2561
|
flushPostFlushCbs(seen);
|
|
2624
|
-
isFlushing = false;
|
|
2625
2562
|
currentFlushPromise = null;
|
|
2626
2563
|
if (queue.length || pendingPostFlushCbs.length) {
|
|
2627
2564
|
flushJobs(seen);
|
|
@@ -3041,7 +2978,7 @@ var Vue = (function (exports) {
|
|
|
3041
2978
|
}
|
|
3042
2979
|
if (!disabled) {
|
|
3043
2980
|
mount(target, targetAnchor);
|
|
3044
|
-
updateCssVars(n2);
|
|
2981
|
+
updateCssVars(n2, false);
|
|
3045
2982
|
}
|
|
3046
2983
|
} else if (!disabled) {
|
|
3047
2984
|
warn$1(
|
|
@@ -3053,14 +2990,35 @@ var Vue = (function (exports) {
|
|
|
3053
2990
|
};
|
|
3054
2991
|
if (disabled) {
|
|
3055
2992
|
mount(container, mainAnchor);
|
|
3056
|
-
updateCssVars(n2);
|
|
2993
|
+
updateCssVars(n2, true);
|
|
3057
2994
|
}
|
|
3058
2995
|
if (isTeleportDeferred(n2.props)) {
|
|
3059
|
-
queuePostRenderEffect(
|
|
2996
|
+
queuePostRenderEffect(() => {
|
|
2997
|
+
mountToTarget();
|
|
2998
|
+
n2.el.__isMounted = true;
|
|
2999
|
+
}, parentSuspense);
|
|
3060
3000
|
} else {
|
|
3061
3001
|
mountToTarget();
|
|
3062
3002
|
}
|
|
3063
3003
|
} else {
|
|
3004
|
+
if (isTeleportDeferred(n2.props) && !n1.el.__isMounted) {
|
|
3005
|
+
queuePostRenderEffect(() => {
|
|
3006
|
+
TeleportImpl.process(
|
|
3007
|
+
n1,
|
|
3008
|
+
n2,
|
|
3009
|
+
container,
|
|
3010
|
+
anchor,
|
|
3011
|
+
parentComponent,
|
|
3012
|
+
parentSuspense,
|
|
3013
|
+
namespace,
|
|
3014
|
+
slotScopeIds,
|
|
3015
|
+
optimized,
|
|
3016
|
+
internals
|
|
3017
|
+
);
|
|
3018
|
+
delete n1.el.__isMounted;
|
|
3019
|
+
}, parentSuspense);
|
|
3020
|
+
return;
|
|
3021
|
+
}
|
|
3064
3022
|
n2.el = n1.el;
|
|
3065
3023
|
n2.targetStart = n1.targetStart;
|
|
3066
3024
|
const mainAnchor = n2.anchor = n1.anchor;
|
|
@@ -3143,7 +3101,7 @@ var Vue = (function (exports) {
|
|
|
3143
3101
|
);
|
|
3144
3102
|
}
|
|
3145
3103
|
}
|
|
3146
|
-
updateCssVars(n2);
|
|
3104
|
+
updateCssVars(n2, disabled);
|
|
3147
3105
|
}
|
|
3148
3106
|
},
|
|
3149
3107
|
remove(vnode, parentComponent, parentSuspense, { um: unmount, o: { remove: hostRemove } }, doRemove) {
|
|
@@ -3211,9 +3169,10 @@ var Vue = (function (exports) {
|
|
|
3211
3169
|
querySelector
|
|
3212
3170
|
);
|
|
3213
3171
|
if (target) {
|
|
3172
|
+
const disabled = isTeleportDisabled(vnode.props);
|
|
3214
3173
|
const targetNode = target._lpa || target.firstChild;
|
|
3215
3174
|
if (vnode.shapeFlag & 16) {
|
|
3216
|
-
if (
|
|
3175
|
+
if (disabled) {
|
|
3217
3176
|
vnode.anchor = hydrateChildren(
|
|
3218
3177
|
nextSibling(node),
|
|
3219
3178
|
vnode,
|
|
@@ -3254,16 +3213,23 @@ var Vue = (function (exports) {
|
|
|
3254
3213
|
);
|
|
3255
3214
|
}
|
|
3256
3215
|
}
|
|
3257
|
-
updateCssVars(vnode);
|
|
3216
|
+
updateCssVars(vnode, disabled);
|
|
3258
3217
|
}
|
|
3259
3218
|
return vnode.anchor && nextSibling(vnode.anchor);
|
|
3260
3219
|
}
|
|
3261
3220
|
const Teleport = TeleportImpl;
|
|
3262
|
-
function updateCssVars(vnode) {
|
|
3221
|
+
function updateCssVars(vnode, isDisabled) {
|
|
3263
3222
|
const ctx = vnode.ctx;
|
|
3264
3223
|
if (ctx && ctx.ut) {
|
|
3265
|
-
let node
|
|
3266
|
-
|
|
3224
|
+
let node, anchor;
|
|
3225
|
+
if (isDisabled) {
|
|
3226
|
+
node = vnode.el;
|
|
3227
|
+
anchor = vnode.anchor;
|
|
3228
|
+
} else {
|
|
3229
|
+
node = vnode.targetStart;
|
|
3230
|
+
anchor = vnode.targetAnchor;
|
|
3231
|
+
}
|
|
3232
|
+
while (node && node !== anchor) {
|
|
3267
3233
|
if (node.nodeType === 1) node.setAttribute("data-v-owner", ctx.uid);
|
|
3268
3234
|
node = node.nextSibling;
|
|
3269
3235
|
}
|
|
@@ -3358,10 +3324,9 @@ var Vue = (function (exports) {
|
|
|
3358
3324
|
if (innerChild.type !== Comment) {
|
|
3359
3325
|
setTransitionHooks(innerChild, enterHooks);
|
|
3360
3326
|
}
|
|
3361
|
-
|
|
3362
|
-
const oldInnerChild = oldChild && getInnerChild$1(oldChild);
|
|
3327
|
+
let oldInnerChild = instance.subTree && getInnerChild$1(instance.subTree);
|
|
3363
3328
|
if (oldInnerChild && oldInnerChild.type !== Comment && !isSameVNodeType(innerChild, oldInnerChild) && recursiveGetSubtree(instance).type !== Comment) {
|
|
3364
|
-
|
|
3329
|
+
let leavingHooks = resolveTransitionHooks(
|
|
3365
3330
|
oldInnerChild,
|
|
3366
3331
|
rawProps,
|
|
3367
3332
|
state,
|
|
@@ -3376,6 +3341,7 @@ var Vue = (function (exports) {
|
|
|
3376
3341
|
instance.update();
|
|
3377
3342
|
}
|
|
3378
3343
|
delete leavingHooks.afterLeave;
|
|
3344
|
+
oldInnerChild = void 0;
|
|
3379
3345
|
};
|
|
3380
3346
|
return emptyPlaceholder(child);
|
|
3381
3347
|
} else if (mode === "in-out" && innerChild.type !== Comment) {
|
|
@@ -3389,10 +3355,19 @@ var Vue = (function (exports) {
|
|
|
3389
3355
|
earlyRemove();
|
|
3390
3356
|
el[leaveCbKey] = void 0;
|
|
3391
3357
|
delete enterHooks.delayedLeave;
|
|
3358
|
+
oldInnerChild = void 0;
|
|
3359
|
+
};
|
|
3360
|
+
enterHooks.delayedLeave = () => {
|
|
3361
|
+
delayedLeave();
|
|
3362
|
+
delete enterHooks.delayedLeave;
|
|
3363
|
+
oldInnerChild = void 0;
|
|
3392
3364
|
};
|
|
3393
|
-
enterHooks.delayedLeave = delayedLeave;
|
|
3394
3365
|
};
|
|
3366
|
+
} else {
|
|
3367
|
+
oldInnerChild = void 0;
|
|
3395
3368
|
}
|
|
3369
|
+
} else if (oldInnerChild) {
|
|
3370
|
+
oldInnerChild = void 0;
|
|
3396
3371
|
}
|
|
3397
3372
|
return child;
|
|
3398
3373
|
};
|
|
@@ -3697,6 +3672,9 @@ var Vue = (function (exports) {
|
|
|
3697
3672
|
return;
|
|
3698
3673
|
}
|
|
3699
3674
|
if (isAsyncWrapper(vnode) && !isUnmount) {
|
|
3675
|
+
if (vnode.shapeFlag & 512 && vnode.type.__asyncResolved && vnode.component.subTree.component) {
|
|
3676
|
+
setRef(rawRef, oldRawRef, parentSuspense, vnode.component.subTree);
|
|
3677
|
+
}
|
|
3700
3678
|
return;
|
|
3701
3679
|
}
|
|
3702
3680
|
const refValue = vnode.shapeFlag & 4 ? getComponentPublicInstance(vnode.component) : vnode.el;
|
|
@@ -3713,8 +3691,15 @@ var Vue = (function (exports) {
|
|
|
3713
3691
|
const setupState = owner.setupState;
|
|
3714
3692
|
const rawSetupState = toRaw(setupState);
|
|
3715
3693
|
const canSetSetupRef = setupState === EMPTY_OBJ ? () => false : (key) => {
|
|
3716
|
-
|
|
3717
|
-
|
|
3694
|
+
{
|
|
3695
|
+
if (hasOwn(rawSetupState, key) && !isRef(rawSetupState[key])) {
|
|
3696
|
+
warn$1(
|
|
3697
|
+
`Template ref "${key}" used on a non-ref value. It will not work in the production build.`
|
|
3698
|
+
);
|
|
3699
|
+
}
|
|
3700
|
+
if (knownTemplateRefs.has(rawSetupState[key])) {
|
|
3701
|
+
return false;
|
|
3702
|
+
}
|
|
3718
3703
|
}
|
|
3719
3704
|
return hasOwn(rawSetupState, key);
|
|
3720
3705
|
};
|
|
@@ -3954,7 +3939,7 @@ var Vue = (function (exports) {
|
|
|
3954
3939
|
getContainerType(container),
|
|
3955
3940
|
optimized
|
|
3956
3941
|
);
|
|
3957
|
-
if (isAsyncWrapper(vnode)) {
|
|
3942
|
+
if (isAsyncWrapper(vnode) && !vnode.type.__asyncResolved) {
|
|
3958
3943
|
let subTree;
|
|
3959
3944
|
if (isFragmentStart) {
|
|
3960
3945
|
subTree = createVNode(Fragment);
|
|
@@ -4011,7 +3996,11 @@ var Vue = (function (exports) {
|
|
|
4011
3996
|
}
|
|
4012
3997
|
let needCallTransitionHooks = false;
|
|
4013
3998
|
if (isTemplateNode(el)) {
|
|
4014
|
-
needCallTransitionHooks = needTransition(
|
|
3999
|
+
needCallTransitionHooks = needTransition(
|
|
4000
|
+
null,
|
|
4001
|
+
// no need check parentSuspense in hydration
|
|
4002
|
+
transition
|
|
4003
|
+
) && parentComponent && parentComponent.vnode.props && parentComponent.vnode.props.appear;
|
|
4015
4004
|
const content = el.content.firstChild;
|
|
4016
4005
|
if (needCallTransitionHooks) {
|
|
4017
4006
|
transition.beforeEnter(content);
|
|
@@ -4219,6 +4208,10 @@ Server rendered element contains fewer child nodes than client vdom.`
|
|
|
4219
4208
|
getContainerType(container),
|
|
4220
4209
|
slotScopeIds
|
|
4221
4210
|
);
|
|
4211
|
+
if (parentComponent) {
|
|
4212
|
+
parentComponent.vnode.el = vnode.el;
|
|
4213
|
+
updateHOCHostEl(parentComponent, vnode.el);
|
|
4214
|
+
}
|
|
4222
4215
|
return next;
|
|
4223
4216
|
};
|
|
4224
4217
|
const locateClosingAnchor = (node, open = "[", close = "]") => {
|
|
@@ -4404,6 +4397,8 @@ Server rendered element contains fewer child nodes than client vdom.`
|
|
|
4404
4397
|
}
|
|
4405
4398
|
}
|
|
4406
4399
|
|
|
4400
|
+
const requestIdleCallback = getGlobalThis().requestIdleCallback || ((cb) => setTimeout(cb, 1));
|
|
4401
|
+
const cancelIdleCallback = getGlobalThis().cancelIdleCallback || ((id) => clearTimeout(id));
|
|
4407
4402
|
const hydrateOnIdle = (timeout = 1e4) => (hydrate) => {
|
|
4408
4403
|
const id = requestIdleCallback(hydrate, { timeout });
|
|
4409
4404
|
return () => cancelIdleCallback(id);
|
|
@@ -5100,12 +5095,13 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
5100
5095
|
}
|
|
5101
5096
|
openBlock();
|
|
5102
5097
|
const validSlotContent = slot && ensureValidVNode(slot(props));
|
|
5098
|
+
const slotKey = props.key || // slot content array of a dynamic conditional slot may have a branch
|
|
5099
|
+
// key attached in the `createSlots` helper, respect that
|
|
5100
|
+
validSlotContent && validSlotContent.key;
|
|
5103
5101
|
const rendered = createBlock(
|
|
5104
5102
|
Fragment,
|
|
5105
5103
|
{
|
|
5106
|
-
key: (
|
|
5107
|
-
// key attached in the `createSlots` helper, respect that
|
|
5108
|
-
validSlotContent && validSlotContent.key || `_${name}`) + // #7256 force differentiate fallback content from actual content
|
|
5104
|
+
key: (slotKey && !isSymbol(slotKey) ? slotKey : `_${name}`) + // #7256 force differentiate fallback content from actual content
|
|
5109
5105
|
(!validSlotContent && fallback ? "_fb" : "")
|
|
5110
5106
|
},
|
|
5111
5107
|
validSlotContent || (fallback ? fallback() : []),
|
|
@@ -6460,6 +6456,7 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
6460
6456
|
function validateProps(rawProps, props, instance) {
|
|
6461
6457
|
const resolvedValues = toRaw(props);
|
|
6462
6458
|
const options = instance.propsOptions[0];
|
|
6459
|
+
const camelizePropsKey = Object.keys(rawProps).map((key) => camelize(key));
|
|
6463
6460
|
for (const key in options) {
|
|
6464
6461
|
let opt = options[key];
|
|
6465
6462
|
if (opt == null) continue;
|
|
@@ -6468,7 +6465,7 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
6468
6465
|
resolvedValues[key],
|
|
6469
6466
|
opt,
|
|
6470
6467
|
shallowReadonly(resolvedValues) ,
|
|
6471
|
-
!
|
|
6468
|
+
!camelizePropsKey.includes(key)
|
|
6472
6469
|
);
|
|
6473
6470
|
}
|
|
6474
6471
|
}
|
|
@@ -8306,19 +8303,19 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
8306
8303
|
warn$1(`useModel() called without active instance.`);
|
|
8307
8304
|
return ref();
|
|
8308
8305
|
}
|
|
8309
|
-
|
|
8306
|
+
const camelizedName = camelize(name);
|
|
8307
|
+
if (!i.propsOptions[0][camelizedName]) {
|
|
8310
8308
|
warn$1(`useModel() called with prop "${name}" which is not declared.`);
|
|
8311
8309
|
return ref();
|
|
8312
8310
|
}
|
|
8313
|
-
const camelizedName = camelize(name);
|
|
8314
8311
|
const hyphenatedName = hyphenate(name);
|
|
8315
|
-
const modifiers = getModelModifiers(props,
|
|
8312
|
+
const modifiers = getModelModifiers(props, camelizedName);
|
|
8316
8313
|
const res = customRef((track, trigger) => {
|
|
8317
8314
|
let localValue;
|
|
8318
8315
|
let prevSetValue = EMPTY_OBJ;
|
|
8319
8316
|
let prevEmittedValue;
|
|
8320
8317
|
watchSyncEffect(() => {
|
|
8321
|
-
const propValue = props[
|
|
8318
|
+
const propValue = props[camelizedName];
|
|
8322
8319
|
if (hasChanged(localValue, propValue)) {
|
|
8323
8320
|
localValue = propValue;
|
|
8324
8321
|
trigger();
|
|
@@ -8617,7 +8614,7 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
8617
8614
|
}
|
|
8618
8615
|
if (extraAttrs.length) {
|
|
8619
8616
|
warn$1(
|
|
8620
|
-
`Extraneous non-props attributes (${extraAttrs.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.`
|
|
8617
|
+
`Extraneous non-props attributes (${extraAttrs.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text or teleport root nodes.`
|
|
8621
8618
|
);
|
|
8622
8619
|
}
|
|
8623
8620
|
if (eventAttrs.length) {
|
|
@@ -9400,9 +9397,9 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
9400
9397
|
currentBlock = blockStack[blockStack.length - 1] || null;
|
|
9401
9398
|
}
|
|
9402
9399
|
let isBlockTreeEnabled = 1;
|
|
9403
|
-
function setBlockTracking(value) {
|
|
9400
|
+
function setBlockTracking(value, inVOnce = false) {
|
|
9404
9401
|
isBlockTreeEnabled += value;
|
|
9405
|
-
if (value < 0 && currentBlock) {
|
|
9402
|
+
if (value < 0 && currentBlock && inVOnce) {
|
|
9406
9403
|
currentBlock.hasOnce = true;
|
|
9407
9404
|
}
|
|
9408
9405
|
}
|
|
@@ -9933,9 +9930,9 @@ Component that was made reactive: `,
|
|
|
9933
9930
|
}
|
|
9934
9931
|
const { setup } = Component;
|
|
9935
9932
|
if (setup) {
|
|
9933
|
+
pauseTracking();
|
|
9936
9934
|
const setupContext = instance.setupContext = setup.length > 1 ? createSetupContext(instance) : null;
|
|
9937
9935
|
const reset = setCurrentInstance(instance);
|
|
9938
|
-
pauseTracking();
|
|
9939
9936
|
const setupResult = callWithErrorHandling(
|
|
9940
9937
|
setup,
|
|
9941
9938
|
instance,
|
|
@@ -9945,10 +9942,13 @@ Component that was made reactive: `,
|
|
|
9945
9942
|
setupContext
|
|
9946
9943
|
]
|
|
9947
9944
|
);
|
|
9945
|
+
const isAsyncSetup = isPromise(setupResult);
|
|
9948
9946
|
resetTracking();
|
|
9949
9947
|
reset();
|
|
9950
|
-
if (
|
|
9951
|
-
|
|
9948
|
+
if ((isAsyncSetup || instance.sp) && !isAsyncWrapper(instance)) {
|
|
9949
|
+
markAsyncBoundary(instance);
|
|
9950
|
+
}
|
|
9951
|
+
if (isAsyncSetup) {
|
|
9952
9952
|
setupResult.then(unsetCurrentInstance, unsetCurrentInstance);
|
|
9953
9953
|
if (isSSR) {
|
|
9954
9954
|
return setupResult.then((resolvedResult) => {
|
|
@@ -10409,7 +10409,7 @@ Component that was made reactive: `,
|
|
|
10409
10409
|
return true;
|
|
10410
10410
|
}
|
|
10411
10411
|
|
|
10412
|
-
const version = "3.5.
|
|
10412
|
+
const version = "3.5.13";
|
|
10413
10413
|
const warn = warn$1 ;
|
|
10414
10414
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
10415
10415
|
const devtools = devtools$1 ;
|
|
@@ -10581,7 +10581,8 @@ Component that was made reactive: `,
|
|
|
10581
10581
|
onAppear = onEnter,
|
|
10582
10582
|
onAppearCancelled = onEnterCancelled
|
|
10583
10583
|
} = baseProps;
|
|
10584
|
-
const finishEnter = (el, isAppear, done) => {
|
|
10584
|
+
const finishEnter = (el, isAppear, done, isCancelled) => {
|
|
10585
|
+
el._enterCancelled = isCancelled;
|
|
10585
10586
|
removeTransitionClass(el, isAppear ? appearToClass : enterToClass);
|
|
10586
10587
|
removeTransitionClass(el, isAppear ? appearActiveClass : enterActiveClass);
|
|
10587
10588
|
done && done();
|
|
@@ -10624,8 +10625,13 @@ Component that was made reactive: `,
|
|
|
10624
10625
|
el._isLeaving = true;
|
|
10625
10626
|
const resolve = () => finishLeave(el, done);
|
|
10626
10627
|
addTransitionClass(el, leaveFromClass);
|
|
10627
|
-
|
|
10628
|
-
|
|
10628
|
+
if (!el._enterCancelled) {
|
|
10629
|
+
forceReflow();
|
|
10630
|
+
addTransitionClass(el, leaveActiveClass);
|
|
10631
|
+
} else {
|
|
10632
|
+
addTransitionClass(el, leaveActiveClass);
|
|
10633
|
+
forceReflow();
|
|
10634
|
+
}
|
|
10629
10635
|
nextFrame(() => {
|
|
10630
10636
|
if (!el._isLeaving) {
|
|
10631
10637
|
return;
|
|
@@ -10639,11 +10645,11 @@ Component that was made reactive: `,
|
|
|
10639
10645
|
callHook(onLeave, [el, resolve]);
|
|
10640
10646
|
},
|
|
10641
10647
|
onEnterCancelled(el) {
|
|
10642
|
-
finishEnter(el, false);
|
|
10648
|
+
finishEnter(el, false, void 0, true);
|
|
10643
10649
|
callHook(onEnterCancelled, [el]);
|
|
10644
10650
|
},
|
|
10645
10651
|
onAppearCancelled(el) {
|
|
10646
|
-
finishEnter(el, true);
|
|
10652
|
+
finishEnter(el, true, void 0, true);
|
|
10647
10653
|
callHook(onAppearCancelled, [el]);
|
|
10648
10654
|
},
|
|
10649
10655
|
onLeaveCancelled(el) {
|
|
@@ -10856,10 +10862,11 @@ Component that was made reactive: `,
|
|
|
10856
10862
|
}
|
|
10857
10863
|
updateTeleports(vars);
|
|
10858
10864
|
};
|
|
10859
|
-
|
|
10860
|
-
|
|
10865
|
+
onBeforeUpdate(() => {
|
|
10866
|
+
queuePostFlushCb(setVars);
|
|
10861
10867
|
});
|
|
10862
10868
|
onMounted(() => {
|
|
10869
|
+
watch(setVars, NOOP, { flush: "post" });
|
|
10863
10870
|
const ob = new MutationObserver(setVars);
|
|
10864
10871
|
ob.observe(instance.subTree.el.parentNode, { childList: true });
|
|
10865
10872
|
onUnmounted(() => ob.disconnect());
|
|
@@ -11023,7 +11030,7 @@ Component that was made reactive: `,
|
|
|
11023
11030
|
}
|
|
11024
11031
|
}
|
|
11025
11032
|
|
|
11026
|
-
function patchDOMProp(el, key, value, parentComponent) {
|
|
11033
|
+
function patchDOMProp(el, key, value, parentComponent, attrName) {
|
|
11027
11034
|
if (key === "innerHTML" || key === "textContent") {
|
|
11028
11035
|
if (value != null) {
|
|
11029
11036
|
el[key] = key === "innerHTML" ? unsafeToTrustedHTML(value) : value;
|
|
@@ -11071,7 +11078,7 @@ Component that was made reactive: `,
|
|
|
11071
11078
|
);
|
|
11072
11079
|
}
|
|
11073
11080
|
}
|
|
11074
|
-
needRemove && el.removeAttribute(key);
|
|
11081
|
+
needRemove && el.removeAttribute(attrName || key);
|
|
11075
11082
|
}
|
|
11076
11083
|
|
|
11077
11084
|
function addEventListener(el, event, handler, options) {
|
|
@@ -11181,7 +11188,7 @@ Expected function or array of functions, received type ${typeof value}.`
|
|
|
11181
11188
|
// #11081 force set props for possible async custom element
|
|
11182
11189
|
el._isVueCE && (/[A-Z]/.test(key) || !isString(nextValue))
|
|
11183
11190
|
) {
|
|
11184
|
-
patchDOMProp(el, camelize(key), nextValue);
|
|
11191
|
+
patchDOMProp(el, camelize(key), nextValue, parentComponent, key);
|
|
11185
11192
|
} else {
|
|
11186
11193
|
if (key === "true-value") {
|
|
11187
11194
|
el._trueValue = nextValue;
|
|
@@ -11466,6 +11473,8 @@ Expected function or array of functions, received type ${typeof value}.`
|
|
|
11466
11473
|
this._update();
|
|
11467
11474
|
}
|
|
11468
11475
|
if (shouldReflect) {
|
|
11476
|
+
const ob = this._ob;
|
|
11477
|
+
ob && ob.disconnect();
|
|
11469
11478
|
if (val === true) {
|
|
11470
11479
|
this.setAttribute(hyphenate(key), "");
|
|
11471
11480
|
} else if (typeof val === "string" || typeof val === "number") {
|
|
@@ -11473,6 +11482,7 @@ Expected function or array of functions, received type ${typeof value}.`
|
|
|
11473
11482
|
} else if (!val) {
|
|
11474
11483
|
this.removeAttribute(hyphenate(key));
|
|
11475
11484
|
}
|
|
11485
|
+
ob && ob.observe(this, { attributes: true });
|
|
11476
11486
|
}
|
|
11477
11487
|
}
|
|
11478
11488
|
}
|
|
@@ -11887,7 +11897,7 @@ Expected function or array of functions, received type ${typeof value}.`
|
|
|
11887
11897
|
setChecked(el, binding, vnode);
|
|
11888
11898
|
}
|
|
11889
11899
|
};
|
|
11890
|
-
function setChecked(el, { value }, vnode) {
|
|
11900
|
+
function setChecked(el, { value, oldValue }, vnode) {
|
|
11891
11901
|
el._modelValue = value;
|
|
11892
11902
|
let checked;
|
|
11893
11903
|
if (isArray(value)) {
|
|
@@ -11895,6 +11905,7 @@ Expected function or array of functions, received type ${typeof value}.`
|
|
|
11895
11905
|
} else if (isSet(value)) {
|
|
11896
11906
|
checked = value.has(vnode.props.value);
|
|
11897
11907
|
} else {
|
|
11908
|
+
if (value === oldValue) return;
|
|
11898
11909
|
checked = looseEqual(value, getCheckboxValue(el, true));
|
|
11899
11910
|
}
|
|
11900
11911
|
if (el.checked !== checked) {
|