@silexlabs/silex-dashboard 1.0.70 → 1.0.72
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/websites-4b9b2b0a0a907b33eca109d50c2a3eee97f1955c742cef487110d21a0bbf8f50.css +1 -0
- package/_site/en/index.html +1 -199
- package/_site/fr/index.html +1 -199
- package/_site/js/main.js +1 -1
- package/_site/js/vue.cjs.js +5 -14
- package/_site/js/vue.cjs.prod.js +5 -14
- package/_site/js/vue.esm-browser.js +113 -62
- package/_site/js/vue.esm-browser.prod.js +6 -6
- package/_site/js/vue.esm-bundler.js +6 -15
- package/_site/js/vue.global.js +113 -62
- package/_site/js/vue.global.prod.js +6 -6
- package/_site/js/vue.runtime.esm-browser.js +102 -48
- 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 +102 -48
- package/_site/js/vue.runtime.global.prod.js +2 -2
- package/package.json +5 -5
- package/templates/connectors-en.11tydata.mjs +4 -2
- package/templates/connectors-en.html +25 -25
- package/templates/connectors-fr.11tydata.mjs +4 -2
- package/templates/connectors-fr.html +25 -25
- package/templates/css/websites-4b9b2b0a0a907b33eca109d50c2a3eee97f1955c742cef487110d21a0bbf8f50.css +1 -0
- package/templates/websites-en.11tydata.mjs +4 -2
- package/templates/websites-en.html +80 -338
- package/templates/websites-fr.11tydata.mjs +4 -2
- package/templates/websites-fr.html +80 -338
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* vue v3.5.
|
|
2
|
+
* vue v3.5.10
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -572,9 +572,17 @@ function endBatch() {
|
|
|
572
572
|
let error;
|
|
573
573
|
while (batchedSub) {
|
|
574
574
|
let e = batchedSub;
|
|
575
|
+
let next;
|
|
576
|
+
while (e) {
|
|
577
|
+
if (!(e.flags & 1)) {
|
|
578
|
+
e.flags &= ~8;
|
|
579
|
+
}
|
|
580
|
+
e = e.next;
|
|
581
|
+
}
|
|
582
|
+
e = batchedSub;
|
|
575
583
|
batchedSub = void 0;
|
|
576
584
|
while (e) {
|
|
577
|
-
|
|
585
|
+
next = e.next;
|
|
578
586
|
e.next = void 0;
|
|
579
587
|
e.flags &= ~8;
|
|
580
588
|
if (e.flags & 1) {
|
|
@@ -664,7 +672,7 @@ function refreshComputed(computed) {
|
|
|
664
672
|
computed.flags &= ~2;
|
|
665
673
|
}
|
|
666
674
|
}
|
|
667
|
-
function removeSub(link) {
|
|
675
|
+
function removeSub(link, soft = false) {
|
|
668
676
|
const { dep, prevSub, nextSub } = link;
|
|
669
677
|
if (prevSub) {
|
|
670
678
|
prevSub.nextSub = nextSub;
|
|
@@ -677,12 +685,18 @@ function removeSub(link) {
|
|
|
677
685
|
if (dep.subs === link) {
|
|
678
686
|
dep.subs = prevSub;
|
|
679
687
|
}
|
|
688
|
+
if (dep.subsHead === link) {
|
|
689
|
+
dep.subsHead = nextSub;
|
|
690
|
+
}
|
|
680
691
|
if (!dep.subs && dep.computed) {
|
|
681
692
|
dep.computed.flags &= ~4;
|
|
682
693
|
for (let l = dep.computed.deps; l; l = l.nextDep) {
|
|
683
|
-
removeSub(l);
|
|
694
|
+
removeSub(l, true);
|
|
684
695
|
}
|
|
685
696
|
}
|
|
697
|
+
if (!soft && !--dep.sc && dep.map) {
|
|
698
|
+
dep.map.delete(dep.key);
|
|
699
|
+
}
|
|
686
700
|
}
|
|
687
701
|
function removeDep(link) {
|
|
688
702
|
const { prevDep, nextDep } = link;
|
|
@@ -761,6 +775,16 @@ class Dep {
|
|
|
761
775
|
* Doubly linked list representing the subscribing effects (tail)
|
|
762
776
|
*/
|
|
763
777
|
this.subs = void 0;
|
|
778
|
+
/**
|
|
779
|
+
* For object property deps cleanup
|
|
780
|
+
*/
|
|
781
|
+
this.target = void 0;
|
|
782
|
+
this.map = void 0;
|
|
783
|
+
this.key = void 0;
|
|
784
|
+
/**
|
|
785
|
+
* Subscriber counter
|
|
786
|
+
*/
|
|
787
|
+
this.sc = 0;
|
|
764
788
|
{
|
|
765
789
|
this.subsHead = void 0;
|
|
766
790
|
}
|
|
@@ -779,9 +803,7 @@ class Dep {
|
|
|
779
803
|
activeSub.depsTail.nextDep = link;
|
|
780
804
|
activeSub.depsTail = link;
|
|
781
805
|
}
|
|
782
|
-
|
|
783
|
-
addSub(link);
|
|
784
|
-
}
|
|
806
|
+
addSub(link);
|
|
785
807
|
} else if (link.version === -1) {
|
|
786
808
|
link.version = this.version;
|
|
787
809
|
if (link.nextDep) {
|
|
@@ -845,22 +867,25 @@ class Dep {
|
|
|
845
867
|
}
|
|
846
868
|
}
|
|
847
869
|
function addSub(link) {
|
|
848
|
-
|
|
849
|
-
if (
|
|
850
|
-
computed
|
|
851
|
-
|
|
852
|
-
|
|
870
|
+
link.dep.sc++;
|
|
871
|
+
if (link.sub.flags & 4) {
|
|
872
|
+
const computed = link.dep.computed;
|
|
873
|
+
if (computed && !link.dep.subs) {
|
|
874
|
+
computed.flags |= 4 | 16;
|
|
875
|
+
for (let l = computed.deps; l; l = l.nextDep) {
|
|
876
|
+
addSub(l);
|
|
877
|
+
}
|
|
853
878
|
}
|
|
879
|
+
const currentTail = link.dep.subs;
|
|
880
|
+
if (currentTail !== link) {
|
|
881
|
+
link.prevSub = currentTail;
|
|
882
|
+
if (currentTail) currentTail.nextSub = link;
|
|
883
|
+
}
|
|
884
|
+
if (link.dep.subsHead === void 0) {
|
|
885
|
+
link.dep.subsHead = link;
|
|
886
|
+
}
|
|
887
|
+
link.dep.subs = link;
|
|
854
888
|
}
|
|
855
|
-
const currentTail = link.dep.subs;
|
|
856
|
-
if (currentTail !== link) {
|
|
857
|
-
link.prevSub = currentTail;
|
|
858
|
-
if (currentTail) currentTail.nextSub = link;
|
|
859
|
-
}
|
|
860
|
-
if (link.dep.subsHead === void 0) {
|
|
861
|
-
link.dep.subsHead = link;
|
|
862
|
-
}
|
|
863
|
-
link.dep.subs = link;
|
|
864
889
|
}
|
|
865
890
|
const targetMap = /* @__PURE__ */ new WeakMap();
|
|
866
891
|
const ITERATE_KEY = Symbol(
|
|
@@ -881,6 +906,9 @@ function track(target, type, key) {
|
|
|
881
906
|
let dep = depsMap.get(key);
|
|
882
907
|
if (!dep) {
|
|
883
908
|
depsMap.set(key, dep = new Dep());
|
|
909
|
+
dep.target = target;
|
|
910
|
+
dep.map = depsMap;
|
|
911
|
+
dep.key = key;
|
|
884
912
|
}
|
|
885
913
|
{
|
|
886
914
|
dep.track({
|
|
@@ -961,8 +989,8 @@ function trigger(target, type, key, newValue, oldValue, oldTarget) {
|
|
|
961
989
|
endBatch();
|
|
962
990
|
}
|
|
963
991
|
function getDepFromReactive(object, key) {
|
|
964
|
-
|
|
965
|
-
return
|
|
992
|
+
const depMap = targetMap.get(object);
|
|
993
|
+
return depMap && depMap.get(key);
|
|
966
994
|
}
|
|
967
995
|
|
|
968
996
|
function reactiveReadArray(array) {
|
|
@@ -1757,13 +1785,15 @@ class RefImpl {
|
|
|
1757
1785
|
}
|
|
1758
1786
|
}
|
|
1759
1787
|
function triggerRef(ref2) {
|
|
1760
|
-
{
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1788
|
+
if (ref2.dep) {
|
|
1789
|
+
{
|
|
1790
|
+
ref2.dep.trigger({
|
|
1791
|
+
target: ref2,
|
|
1792
|
+
type: "set",
|
|
1793
|
+
key: "value",
|
|
1794
|
+
newValue: ref2._value
|
|
1795
|
+
});
|
|
1796
|
+
}
|
|
1767
1797
|
}
|
|
1768
1798
|
}
|
|
1769
1799
|
function unref(ref2) {
|
|
@@ -1896,6 +1926,10 @@ class ComputedRefImpl {
|
|
|
1896
1926
|
* @internal
|
|
1897
1927
|
*/
|
|
1898
1928
|
this.globalVersion = globalVersion - 1;
|
|
1929
|
+
/**
|
|
1930
|
+
* @internal
|
|
1931
|
+
*/
|
|
1932
|
+
this.next = void 0;
|
|
1899
1933
|
// for backwards compat
|
|
1900
1934
|
this.effect = this;
|
|
1901
1935
|
this["__v_isReadonly"] = !setter;
|
|
@@ -2511,7 +2545,9 @@ function flushPreFlushCbs(instance, seen, i = isFlushing ? flushIndex + 1 : 0) {
|
|
|
2511
2545
|
cb.flags &= ~1;
|
|
2512
2546
|
}
|
|
2513
2547
|
cb();
|
|
2514
|
-
cb.flags
|
|
2548
|
+
if (!(cb.flags & 4)) {
|
|
2549
|
+
cb.flags &= ~1;
|
|
2550
|
+
}
|
|
2515
2551
|
}
|
|
2516
2552
|
}
|
|
2517
2553
|
}
|
|
@@ -2567,7 +2603,9 @@ function flushJobs(seen) {
|
|
|
2567
2603
|
job.i,
|
|
2568
2604
|
job.i ? 15 : 14
|
|
2569
2605
|
);
|
|
2570
|
-
job.flags
|
|
2606
|
+
if (!(job.flags & 4)) {
|
|
2607
|
+
job.flags &= ~1;
|
|
2608
|
+
}
|
|
2571
2609
|
}
|
|
2572
2610
|
}
|
|
2573
2611
|
} finally {
|
|
@@ -3608,6 +3646,7 @@ function useId() {
|
|
|
3608
3646
|
`useId() is called when there is no active component instance to be associated with.`
|
|
3609
3647
|
);
|
|
3610
3648
|
}
|
|
3649
|
+
return "";
|
|
3611
3650
|
}
|
|
3612
3651
|
function markAsyncBoundary(instance) {
|
|
3613
3652
|
instance.ids = [instance.ids[0] + instance.ids[2]++ + "-", 0, 0];
|
|
@@ -4366,6 +4405,11 @@ const hydrateOnIdle = (timeout = 1e4) => (hydrate) => {
|
|
|
4366
4405
|
const id = requestIdleCallback(hydrate, { timeout });
|
|
4367
4406
|
return () => cancelIdleCallback(id);
|
|
4368
4407
|
};
|
|
4408
|
+
function elementIsVisibleInViewport(el) {
|
|
4409
|
+
const { top, left, bottom, right } = el.getBoundingClientRect();
|
|
4410
|
+
const { innerHeight, innerWidth } = window;
|
|
4411
|
+
return (top > 0 && top < innerHeight || bottom > 0 && bottom < innerHeight) && (left > 0 && left < innerWidth || right > 0 && right < innerWidth);
|
|
4412
|
+
}
|
|
4369
4413
|
const hydrateOnVisible = (opts) => (hydrate, forEach) => {
|
|
4370
4414
|
const ob = new IntersectionObserver((entries) => {
|
|
4371
4415
|
for (const e of entries) {
|
|
@@ -4375,7 +4419,15 @@ const hydrateOnVisible = (opts) => (hydrate, forEach) => {
|
|
|
4375
4419
|
break;
|
|
4376
4420
|
}
|
|
4377
4421
|
}, opts);
|
|
4378
|
-
forEach((el) =>
|
|
4422
|
+
forEach((el) => {
|
|
4423
|
+
if (!(el instanceof Element)) return;
|
|
4424
|
+
if (elementIsVisibleInViewport(el)) {
|
|
4425
|
+
hydrate();
|
|
4426
|
+
ob.disconnect();
|
|
4427
|
+
return false;
|
|
4428
|
+
}
|
|
4429
|
+
ob.observe(el);
|
|
4430
|
+
});
|
|
4379
4431
|
return () => ob.disconnect();
|
|
4380
4432
|
};
|
|
4381
4433
|
const hydrateOnMediaQuery = (query) => (hydrate) => {
|
|
@@ -4420,7 +4472,10 @@ function forEachElement(node, cb) {
|
|
|
4420
4472
|
let next = node.nextSibling;
|
|
4421
4473
|
while (next) {
|
|
4422
4474
|
if (next.nodeType === 1) {
|
|
4423
|
-
cb(next);
|
|
4475
|
+
const result = cb(next);
|
|
4476
|
+
if (result === false) {
|
|
4477
|
+
break;
|
|
4478
|
+
}
|
|
4424
4479
|
} else if (isComment(next)) {
|
|
4425
4480
|
if (next.data === "]") {
|
|
4426
4481
|
if (--depth === 0) break;
|
|
@@ -9652,7 +9707,7 @@ function normalizeVNode(child) {
|
|
|
9652
9707
|
// #3666, avoid reference pollution when reusing vnode
|
|
9653
9708
|
child.slice()
|
|
9654
9709
|
);
|
|
9655
|
-
} else if (
|
|
9710
|
+
} else if (isVNode(child)) {
|
|
9656
9711
|
return cloneIfMounted(child);
|
|
9657
9712
|
} else {
|
|
9658
9713
|
return createVNode(Text, null, String(child));
|
|
@@ -10397,7 +10452,7 @@ function isMemoSame(cached, memo) {
|
|
|
10397
10452
|
return true;
|
|
10398
10453
|
}
|
|
10399
10454
|
|
|
10400
|
-
const version = "3.5.
|
|
10455
|
+
const version = "3.5.10";
|
|
10401
10456
|
const warn = warn$1 ;
|
|
10402
10457
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
10403
10458
|
const devtools = devtools$1 ;
|
|
@@ -10696,7 +10751,7 @@ function whenTransitionEnds(el, expectedType, explicitTimeout, resolve) {
|
|
|
10696
10751
|
resolve();
|
|
10697
10752
|
}
|
|
10698
10753
|
};
|
|
10699
|
-
if (explicitTimeout) {
|
|
10754
|
+
if (explicitTimeout != null) {
|
|
10700
10755
|
return setTimeout(resolveIfNotStale, explicitTimeout);
|
|
10701
10756
|
}
|
|
10702
10757
|
const { type, timeout, propCount } = getTransitionInfo(el, expectedType);
|
|
@@ -11184,6 +11239,11 @@ const patchProp = (el, key, prevValue, nextValue, namespace, parentComponent) =>
|
|
|
11184
11239
|
if (!el.tagName.includes("-") && (key === "value" || key === "checked" || key === "selected")) {
|
|
11185
11240
|
patchAttr(el, key, nextValue, isSVG, parentComponent, key !== "value");
|
|
11186
11241
|
}
|
|
11242
|
+
} else if (
|
|
11243
|
+
// #11081 force set props for possible async custom element
|
|
11244
|
+
el._isVueCE && (/[A-Z]/.test(key) || !isString(nextValue))
|
|
11245
|
+
) {
|
|
11246
|
+
patchDOMProp(el, camelize(key), nextValue);
|
|
11187
11247
|
} else {
|
|
11188
11248
|
if (key === "true-value") {
|
|
11189
11249
|
el._trueValue = nextValue;
|
|
@@ -11224,13 +11284,7 @@ function shouldSetAsProp(el, key, value, isSVG) {
|
|
|
11224
11284
|
if (isNativeOn(key) && isString(value)) {
|
|
11225
11285
|
return false;
|
|
11226
11286
|
}
|
|
11227
|
-
|
|
11228
|
-
return true;
|
|
11229
|
-
}
|
|
11230
|
-
if (el._isVueCE && (/[A-Z]/.test(key) || !isString(value))) {
|
|
11231
|
-
return true;
|
|
11232
|
-
}
|
|
11233
|
-
return false;
|
|
11287
|
+
return key in el;
|
|
11234
11288
|
}
|
|
11235
11289
|
|
|
11236
11290
|
const REMOVAL = {};
|
|
@@ -11907,7 +11961,7 @@ const vModelCheckbox = {
|
|
|
11907
11961
|
setChecked(el, binding, vnode);
|
|
11908
11962
|
}
|
|
11909
11963
|
};
|
|
11910
|
-
function setChecked(el, { value
|
|
11964
|
+
function setChecked(el, { value }, vnode) {
|
|
11911
11965
|
el._modelValue = value;
|
|
11912
11966
|
let checked;
|
|
11913
11967
|
if (isArray(value)) {
|
|
@@ -11957,19 +12011,19 @@ const vModelSelect = {
|
|
|
11957
12011
|
},
|
|
11958
12012
|
// set value in mounted & updated because <select> relies on its children
|
|
11959
12013
|
// <option>s.
|
|
11960
|
-
mounted(el, { value
|
|
12014
|
+
mounted(el, { value }) {
|
|
11961
12015
|
setSelected(el, value);
|
|
11962
12016
|
},
|
|
11963
12017
|
beforeUpdate(el, _binding, vnode) {
|
|
11964
12018
|
el[assignKey] = getModelAssigner(vnode);
|
|
11965
12019
|
},
|
|
11966
|
-
updated(el, { value
|
|
12020
|
+
updated(el, { value }) {
|
|
11967
12021
|
if (!el._assigning) {
|
|
11968
12022
|
setSelected(el, value);
|
|
11969
12023
|
}
|
|
11970
12024
|
}
|
|
11971
12025
|
};
|
|
11972
|
-
function setSelected(el, value
|
|
12026
|
+
function setSelected(el, value) {
|
|
11973
12027
|
const isMultiple = el.multiple;
|
|
11974
12028
|
const isArrayValue = isArray(value);
|
|
11975
12029
|
if (isMultiple && !isArrayValue && !isSet(value)) {
|