@flux-ui/statistics 3.1.0 → 3.1.3

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 CHANGED
@@ -4,7 +4,7 @@ import { FluxIcon, FluxPane, FluxToolbar, FluxTooltip, iconRegistry } from "@flu
4
4
  import { merge } from "lodash-es";
5
5
  import { init } from "echarts/core";
6
6
  //#region ../internals/dist/data/index.js
7
- var oe = `#ef4444`, _e$1 = `#f97316`, Oe = `#f59e0b`, ze = `#eab308`, Xe = `#84cc16`, st = `#22c55e`, vt = `#10b981`, kt = `#14b8a6`, Bt = `#06b6d4`, Zt = `#0ea5e9`, an = `#dbeafe`, sn = `#93c5fd`, ln = `#3b82f6`, dn = `#1d4ed8`, bn = `#6366f1`, jn = `#8b5cf6`, Hn = `#a855f7`, $n = `#d946ef`, ur = `#ec4899`, xr = `#f43f5e`;
7
+ var oe = `#ef4444`, _e = `#f97316`, Oe$1 = `#f59e0b`, ze = `#eab308`, Xe = `#84cc16`, st = `#22c55e`, vt = `#10b981`, kt = `#14b8a6`, Bt = `#06b6d4`, Zt = `#0ea5e9`, an = `#dbeafe`, sn = `#93c5fd`, ln = `#3b82f6`, dn = `#1d4ed8`, bn = `#6366f1`, jn = `#8b5cf6`, Hn = `#a855f7`, $n = `#d946ef`, ur = `#ec4899`, xr = `#f43f5e`;
8
8
  //#endregion
9
9
  //#region src/composable/useChartBaseSetup.ts
10
10
  function useChartBaseSetup() {
@@ -6815,7 +6815,7 @@ function friendlyDateTime(dateTimeish) {
6815
6815
  else throw new InvalidArgumentError(`Unknown datetime argument: ${dateTimeish}, of type ${typeof dateTimeish}`);
6816
6816
  }
6817
6817
  //#endregion
6818
- //#region ../../node_modules/.bun/@basmilius+utils@3.40.0+f2ed1ec6a4c7f7fd/node_modules/@basmilius/utils/dist/index.mjs
6818
+ //#region ../../node_modules/.bun/@basmilius+utils@3.43.0+f2ed1ec6a4c7f7fd/node_modules/@basmilius/utils/dist/index.mjs
6819
6819
  function p$2(e, t = 0) {
6820
6820
  let n = typeof navigator < `u` ? navigator.language : `nl-NL`;
6821
6821
  return new Intl.NumberFormat(n, {
@@ -8654,7 +8654,7 @@ var convertLchToLab = ({ l, c, h, alpha }, mode = "lab") => {
8654
8654
  };
8655
8655
  //#endregion
8656
8656
  //#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/xyz65/constants.js
8657
- var k$3 = Math.pow(29, 3) / Math.pow(3, 3);
8657
+ var k$2 = Math.pow(29, 3) / Math.pow(3, 3);
8658
8658
  var e$2 = Math.pow(6, 3) / Math.pow(29, 3);
8659
8659
  //#endregion
8660
8660
  //#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/constants.js
@@ -8672,7 +8672,7 @@ Math.pow(29, 3) / Math.pow(3, 3);
8672
8672
  Math.pow(6, 3) / Math.pow(29, 3);
8673
8673
  //#endregion
8674
8674
  //#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/lab65/convertLab65ToXyz65.js
8675
- var fn$1 = (v) => Math.pow(v, 3) > e$2 ? Math.pow(v, 3) : (116 * v - 16) / k$3;
8675
+ var fn$1 = (v) => Math.pow(v, 3) > e$2 ? Math.pow(v, 3) : (116 * v - 16) / k$2;
8676
8676
  var convertLab65ToXyz65 = ({ l, a, b, alpha }) => {
8677
8677
  if (l === void 0) l = 0;
8678
8678
  if (a === void 0) a = 0;
@@ -8694,7 +8694,7 @@ var convertLab65ToXyz65 = ({ l, a, b, alpha }) => {
8694
8694
  var convertLab65ToRgb = (lab) => convertXyz65ToRgb(convertLab65ToXyz65(lab));
8695
8695
  //#endregion
8696
8696
  //#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/lab65/convertXyz65ToLab65.js
8697
- var f$1 = (value) => value > e$2 ? Math.cbrt(value) : (k$3 * value + 16) / 116;
8697
+ var f$1 = (value) => value > e$2 ? Math.cbrt(value) : (k$2 * value + 16) / 116;
8698
8698
  var convertXyz65ToLab65 = ({ x, y, z, alpha }) => {
8699
8699
  if (x === void 0) x = 0;
8700
8700
  if (y === void 0) y = 0;
@@ -9556,11 +9556,11 @@ var definition$16 = {
9556
9556
  };
9557
9557
  //#endregion
9558
9558
  //#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/xyz50/constants.js
9559
- var k$1 = Math.pow(29, 3) / Math.pow(3, 3);
9559
+ var k = Math.pow(29, 3) / Math.pow(3, 3);
9560
9560
  var e = Math.pow(6, 3) / Math.pow(29, 3);
9561
9561
  //#endregion
9562
9562
  //#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/lab/convertLabToXyz50.js
9563
- var fn = (v) => Math.pow(v, 3) > e ? Math.pow(v, 3) : (116 * v - 16) / k$1;
9563
+ var fn = (v) => Math.pow(v, 3) > e ? Math.pow(v, 3) : (116 * v - 16) / k;
9564
9564
  var convertLabToXyz50 = ({ l, a, b, alpha }) => {
9565
9565
  if (l === void 0) l = 0;
9566
9566
  if (a === void 0) a = 0;
@@ -9609,7 +9609,7 @@ var convertRgbToXyz50 = (rgb) => {
9609
9609
  };
9610
9610
  //#endregion
9611
9611
  //#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/lab/convertXyz50ToLab.js
9612
- var f = (value) => value > e ? Math.cbrt(value) : (k$1 * value + 16) / 116;
9612
+ var f = (value) => value > e ? Math.cbrt(value) : (k * value + 16) / 116;
9613
9613
  var convertXyz50ToLab = ({ x, y, z, alpha }) => {
9614
9614
  if (x === void 0) x = 0;
9615
9615
  if (y === void 0) y = 0;
@@ -9815,7 +9815,7 @@ var u_fn$1 = (x, y, z) => 4 * x / (x + 15 * y + 3 * z);
9815
9815
  var v_fn$1 = (x, y, z) => 9 * y / (x + 15 * y + 3 * z);
9816
9816
  var un$1 = u_fn$1(D50.X, D50.Y, D50.Z);
9817
9817
  var vn$1 = v_fn$1(D50.X, D50.Y, D50.Z);
9818
- var l_fn = (value) => value <= e ? k$1 * value : 116 * Math.cbrt(value) - 16;
9818
+ var l_fn = (value) => value <= e ? k * value : 116 * Math.cbrt(value) - 16;
9819
9819
  var convertXyz50ToLuv = ({ x, y, z, alpha }) => {
9820
9820
  if (x === void 0) x = 0;
9821
9821
  if (y === void 0) y = 0;
@@ -9855,7 +9855,7 @@ var convertLuvToXyz50 = ({ l, u, v, alpha }) => {
9855
9855
  if (v === void 0) v = 0;
9856
9856
  let up = u / (13 * l) + un;
9857
9857
  let vp = v / (13 * l) + vn;
9858
- let y = D50.Y * (l <= 8 ? l / k$1 : Math.pow((l + 16) / 116, 3));
9858
+ let y = D50.Y * (l <= 8 ? l / k : Math.pow((l + 16) / 116, 3));
9859
9859
  let res = {
9860
9860
  mode: "xyz50",
9861
9861
  x: y * (9 * up) / (4 * vp),
@@ -10821,7 +10821,7 @@ useMode(definition$2);
10821
10821
  useMode(definition$1);
10822
10822
  useMode(definition);
10823
10823
  //#endregion
10824
- //#region ../../node_modules/.bun/@basmilius+http-client@3.40.0+24cbb59c6ffe9d25/node_modules/@basmilius/http-client/dist/index.mjs
10824
+ //#region ../../node_modules/.bun/@basmilius+http-client@3.43.0+8e5bcfeee95dacb4/node_modules/@basmilius/http-client/dist/index.mjs
10825
10825
  function adapter_default(Parent) {
10826
10826
  return class extends Parent {
10827
10827
  constructor(...args) {
@@ -11334,7 +11334,7 @@ function G(e) {
11334
11334
  return t ? R(t) ? t : t.$el ?? null : null;
11335
11335
  }
11336
11336
  RegExp(`[a-z]`), RegExp(`[A-Z]`), RegExp(`[0-9]`), RegExp(`[!"#$%&'()*+,-./:;<=>?@[\\\\\\]^_\`{|}~]`);
11337
- function ye(e, t, n) {
11337
+ function Oe(e, t, n) {
11338
11338
  n ??= {};
11339
11339
  let r, i = watch(e, (e) => {
11340
11340
  a();
@@ -11370,7 +11370,7 @@ function useECharts(target, options) {
11370
11370
  chartInstance.value?.dispose();
11371
11371
  chartInstance.value = null;
11372
11372
  });
11373
- ye(target, () => {
11373
+ Oe(target, () => {
11374
11374
  if (pendingResize !== null) return;
11375
11375
  pendingResize = requestAnimationFrame(() => {
11376
11376
  pendingResize = null;
@@ -12829,8 +12829,8 @@ var CHART_COLORS = [
12829
12829
  ];
12830
12830
  var CHART_COLORFUL_COLORS = [
12831
12831
  oe,
12832
- _e$1,
12833
- Oe,
12832
+ _e,
12833
+ Oe$1,
12834
12834
  ze,
12835
12835
  Xe,
12836
12836
  st,