@flux-ui/statistics 3.3.0 → 3.3.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 +14 -14
- package/dist/index.js.map +1 -1
- package/package.json +11 -11
package/dist/index.js
CHANGED
|
@@ -6191,7 +6191,7 @@ function friendlyDateTime(dateTimeish) {
|
|
|
6191
6191
|
else throw new InvalidArgumentError(`Unknown datetime argument: ${dateTimeish}, of type ${typeof dateTimeish}`);
|
|
6192
6192
|
}
|
|
6193
6193
|
//#endregion
|
|
6194
|
-
//#region ../../node_modules/.bun/@basmilius+utils@3.
|
|
6194
|
+
//#region ../../node_modules/.bun/@basmilius+utils@3.52.0+f2ed1ec6a4c7f7fd/node_modules/@basmilius/utils/dist/index.mjs
|
|
6195
6195
|
function p$3(e, t = 0) {
|
|
6196
6196
|
let n = typeof navigator < `u` ? navigator.language : `nl-NL`;
|
|
6197
6197
|
return new Intl.NumberFormat(n, {
|
|
@@ -7269,7 +7269,7 @@ var convertLchToLab = ({ l, c, h, alpha }, mode = "lab") => {
|
|
|
7269
7269
|
};
|
|
7270
7270
|
//#endregion
|
|
7271
7271
|
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/xyz65/constants.js
|
|
7272
|
-
var k$
|
|
7272
|
+
var k$3 = Math.pow(29, 3) / Math.pow(3, 3);
|
|
7273
7273
|
var e$3 = Math.pow(6, 3) / Math.pow(29, 3);
|
|
7274
7274
|
//#endregion
|
|
7275
7275
|
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/constants.js
|
|
@@ -7287,7 +7287,7 @@ Math.pow(29, 3) / Math.pow(3, 3);
|
|
|
7287
7287
|
Math.pow(6, 3) / Math.pow(29, 3);
|
|
7288
7288
|
//#endregion
|
|
7289
7289
|
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/lab65/convertLab65ToXyz65.js
|
|
7290
|
-
var fn$2 = (v) => Math.pow(v, 3) > e$3 ? Math.pow(v, 3) : (116 * v - 16) / k$
|
|
7290
|
+
var fn$2 = (v) => Math.pow(v, 3) > e$3 ? Math.pow(v, 3) : (116 * v - 16) / k$3;
|
|
7291
7291
|
var convertLab65ToXyz65 = ({ l, a, b, alpha }) => {
|
|
7292
7292
|
if (l === void 0) l = 0;
|
|
7293
7293
|
if (a === void 0) a = 0;
|
|
@@ -7309,7 +7309,7 @@ var convertLab65ToXyz65 = ({ l, a, b, alpha }) => {
|
|
|
7309
7309
|
var convertLab65ToRgb = (lab) => convertXyz65ToRgb(convertLab65ToXyz65(lab));
|
|
7310
7310
|
//#endregion
|
|
7311
7311
|
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/lab65/convertXyz65ToLab65.js
|
|
7312
|
-
var f$2 = (value) => value > e$3 ? Math.cbrt(value) : (k$
|
|
7312
|
+
var f$2 = (value) => value > e$3 ? Math.cbrt(value) : (k$3 * value + 16) / 116;
|
|
7313
7313
|
var convertXyz65ToLab65 = ({ x, y, z, alpha }) => {
|
|
7314
7314
|
if (x === void 0) x = 0;
|
|
7315
7315
|
if (y === void 0) y = 0;
|
|
@@ -8171,11 +8171,11 @@ var definition$16 = {
|
|
|
8171
8171
|
};
|
|
8172
8172
|
//#endregion
|
|
8173
8173
|
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/xyz50/constants.js
|
|
8174
|
-
var k$
|
|
8174
|
+
var k$1 = Math.pow(29, 3) / Math.pow(3, 3);
|
|
8175
8175
|
var e$1 = Math.pow(6, 3) / Math.pow(29, 3);
|
|
8176
8176
|
//#endregion
|
|
8177
8177
|
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/lab/convertLabToXyz50.js
|
|
8178
|
-
var fn$1 = (v) => Math.pow(v, 3) > e$1 ? Math.pow(v, 3) : (116 * v - 16) / k$
|
|
8178
|
+
var fn$1 = (v) => Math.pow(v, 3) > e$1 ? Math.pow(v, 3) : (116 * v - 16) / k$1;
|
|
8179
8179
|
var convertLabToXyz50 = ({ l, a, b, alpha }) => {
|
|
8180
8180
|
if (l === void 0) l = 0;
|
|
8181
8181
|
if (a === void 0) a = 0;
|
|
@@ -8224,7 +8224,7 @@ var convertRgbToXyz50 = (rgb) => {
|
|
|
8224
8224
|
};
|
|
8225
8225
|
//#endregion
|
|
8226
8226
|
//#region ../../node_modules/.bun/culori@4.0.2/node_modules/culori/src/lab/convertXyz50ToLab.js
|
|
8227
|
-
var f$1 = (value) => value > e$1 ? Math.cbrt(value) : (k$
|
|
8227
|
+
var f$1 = (value) => value > e$1 ? Math.cbrt(value) : (k$1 * value + 16) / 116;
|
|
8228
8228
|
var convertXyz50ToLab = ({ x, y, z, alpha }) => {
|
|
8229
8229
|
if (x === void 0) x = 0;
|
|
8230
8230
|
if (y === void 0) y = 0;
|
|
@@ -8430,7 +8430,7 @@ var u_fn$1 = (x, y, z) => 4 * x / (x + 15 * y + 3 * z);
|
|
|
8430
8430
|
var v_fn$1 = (x, y, z) => 9 * y / (x + 15 * y + 3 * z);
|
|
8431
8431
|
var un$2 = u_fn$1(D50.X, D50.Y, D50.Z);
|
|
8432
8432
|
var vn$2 = v_fn$1(D50.X, D50.Y, D50.Z);
|
|
8433
|
-
var l_fn = (value) => value <= e$1 ? k$
|
|
8433
|
+
var l_fn = (value) => value <= e$1 ? k$1 * value : 116 * Math.cbrt(value) - 16;
|
|
8434
8434
|
var convertXyz50ToLuv = ({ x, y, z, alpha }) => {
|
|
8435
8435
|
if (x === void 0) x = 0;
|
|
8436
8436
|
if (y === void 0) y = 0;
|
|
@@ -8470,7 +8470,7 @@ var convertLuvToXyz50 = ({ l, u, v, alpha }) => {
|
|
|
8470
8470
|
if (v === void 0) v = 0;
|
|
8471
8471
|
let up = u / (13 * l) + un$1;
|
|
8472
8472
|
let vp = v / (13 * l) + vn$1;
|
|
8473
|
-
let y = D50.Y * (l <= 8 ? l / k$
|
|
8473
|
+
let y = D50.Y * (l <= 8 ? l / k$1 : Math.pow((l + 16) / 116, 3));
|
|
8474
8474
|
let res = {
|
|
8475
8475
|
mode: "xyz50",
|
|
8476
8476
|
x: y * (9 * up) / (4 * vp),
|
|
@@ -9436,7 +9436,7 @@ useMode(definition$2);
|
|
|
9436
9436
|
useMode(definition$1);
|
|
9437
9437
|
useMode(definition);
|
|
9438
9438
|
//#endregion
|
|
9439
|
-
//#region ../../node_modules/.bun/@basmilius+http-client@3.
|
|
9439
|
+
//#region ../../node_modules/.bun/@basmilius+http-client@3.52.0+9129bae305b09d14/node_modules/@basmilius/http-client/dist/index.mjs
|
|
9440
9440
|
function adapter_default(Parent) {
|
|
9441
9441
|
return class extends Parent {
|
|
9442
9442
|
constructor(...args) {
|
|
@@ -9948,7 +9948,7 @@ function G$1(e) {
|
|
|
9948
9948
|
let t = unref(e);
|
|
9949
9949
|
return t ? R$2(t) ? t : t.$el ?? null : null;
|
|
9950
9950
|
}
|
|
9951
|
-
function
|
|
9951
|
+
function Te$1(e, t, n) {
|
|
9952
9952
|
n ??= { attributes: !0 };
|
|
9953
9953
|
let r, i = watch(e, (e) => {
|
|
9954
9954
|
a();
|
|
@@ -9964,7 +9964,7 @@ function we$1(e, t, n) {
|
|
|
9964
9964
|
onScopeDispose(o);
|
|
9965
9965
|
}
|
|
9966
9966
|
RegExp(`[a-z]`), RegExp(`[A-Z]`), RegExp(`[0-9]`), RegExp(`[!"#$%&'()*+,-./:;<=>?@[\\\\\\]^_\`{|}~]`);
|
|
9967
|
-
function
|
|
9967
|
+
function Q$1(e, t, n) {
|
|
9968
9968
|
n ??= {};
|
|
9969
9969
|
let r, i = watch(e, (e) => {
|
|
9970
9970
|
a();
|
|
@@ -9982,7 +9982,7 @@ function Oe$1(e, t, n) {
|
|
|
9982
9982
|
//#endregion
|
|
9983
9983
|
//#region ../internals/dist/composable-Cr4VA1Rs.js
|
|
9984
9984
|
function L$1(e, { cycle: t = !0, direction: r = `bidirectional`, ignore: i } = {}) {
|
|
9985
|
-
|
|
9985
|
+
Te$1(e, () => s(a(), !1), {
|
|
9986
9986
|
childList: !0,
|
|
9987
9987
|
subtree: !0
|
|
9988
9988
|
});
|
|
@@ -11618,7 +11618,7 @@ function useECharts(target, options) {
|
|
|
11618
11618
|
chartInstance.value?.dispose();
|
|
11619
11619
|
chartInstance.value = null;
|
|
11620
11620
|
});
|
|
11621
|
-
|
|
11621
|
+
Q$1(target, () => {
|
|
11622
11622
|
if (pendingResize !== null) return;
|
|
11623
11623
|
pendingResize = requestAnimationFrame(() => {
|
|
11624
11624
|
pendingResize = null;
|