@flux-ui/statistics 3.2.0-beta.0 → 3.2.0-beta.2
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/index.js +8 -8
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -9428,7 +9428,7 @@ useMode(definition$2);
|
|
|
9428
9428
|
useMode(definition$1);
|
|
9429
9429
|
useMode(definition);
|
|
9430
9430
|
//#endregion
|
|
9431
|
-
//#region ../../node_modules/.bun/@basmilius+http-client@3.45.0+
|
|
9431
|
+
//#region ../../node_modules/.bun/@basmilius+http-client@3.45.0+66382d5e2ea3742d/node_modules/@basmilius/http-client/dist/index.mjs
|
|
9432
9432
|
function adapter_default(Parent) {
|
|
9433
9433
|
return class extends Parent {
|
|
9434
9434
|
constructor(...args) {
|
|
@@ -9972,8 +9972,8 @@ function Oe$1(e, t, n) {
|
|
|
9972
9972
|
onScopeDispose(o);
|
|
9973
9973
|
}
|
|
9974
9974
|
//#endregion
|
|
9975
|
-
//#region ../internals/dist/composable-
|
|
9976
|
-
function
|
|
9975
|
+
//#region ../internals/dist/composable-6jMsSnBV.js
|
|
9976
|
+
function L$1(e, { cycle: t = !0, direction: n = `bidirectional`, ignore: r } = {}) {
|
|
9977
9977
|
we$1(e, () => s(o(), !1), {
|
|
9978
9978
|
childList: !0,
|
|
9979
9979
|
subtree: !0
|
|
@@ -9990,11 +9990,11 @@ function R$1(e, { cycle: t = !0, direction: n = `bidirectional`, ignore: r } = {
|
|
|
9990
9990
|
let o = G$1(e), c = s$1(o, r);
|
|
9991
9991
|
if (![`Enter`, ` `].includes(i.key)) switch (n) {
|
|
9992
9992
|
case `bidirectional`:
|
|
9993
|
-
|
|
9993
|
+
R$1(i, o, c, s, r);
|
|
9994
9994
|
break;
|
|
9995
9995
|
case `horizontal`:
|
|
9996
9996
|
case `vertical`:
|
|
9997
|
-
|
|
9997
|
+
z$1(i, o, t, n, c, s, r);
|
|
9998
9998
|
break;
|
|
9999
9999
|
}
|
|
10000
10000
|
}
|
|
@@ -10003,7 +10003,7 @@ function R$1(e, { cycle: t = !0, direction: n = `bidirectional`, ignore: r } = {
|
|
|
10003
10003
|
i && (i.addEventListener(`keydown`, c), s(o(), !1), r(() => i.removeEventListener(`keydown`, c)));
|
|
10004
10004
|
}, { immediate: !0 });
|
|
10005
10005
|
}
|
|
10006
|
-
function
|
|
10006
|
+
function R$1(e, t, r, i, a) {
|
|
10007
10007
|
let o;
|
|
10008
10008
|
switch (e.key) {
|
|
10009
10009
|
case `ArrowUp`:
|
|
@@ -10023,7 +10023,7 @@ function z$1(e, t, r, i, a) {
|
|
|
10023
10023
|
let s = c$2(t, document.activeElement, o, a);
|
|
10024
10024
|
s && i(r.indexOf(s)), e.preventDefault();
|
|
10025
10025
|
}
|
|
10026
|
-
function
|
|
10026
|
+
function z$1(e, n, r, i, a, o, s) {
|
|
10027
10027
|
let c;
|
|
10028
10028
|
if (e.key === (i === `horizontal` ? `ArrowLeft` : `ArrowUp`)) c = -1;
|
|
10029
10029
|
else if (e.key === (i === `horizontal` ? `ArrowRight` : `ArrowDown`)) c = 1;
|
|
@@ -12485,7 +12485,7 @@ var FluxStatisticsLegend_default = /* @__PURE__ */ defineComponent({
|
|
|
12485
12485
|
setup(__props) {
|
|
12486
12486
|
const slots = useSlots();
|
|
12487
12487
|
const legendContext = inject(FluxStatisticsChartLegendInjectionKey, null);
|
|
12488
|
-
|
|
12488
|
+
L$1(useTemplateRef("list"), { direction: "bidirectional" });
|
|
12489
12489
|
const hasSlot = computed(() => !!slots.default);
|
|
12490
12490
|
const autoItems = computed(() => legendContext?.items.value ?? []);
|
|
12491
12491
|
const containerClass = computed(() => {
|