@ryuzaki13/react-foundation-lib 1.4.0 → 1.4.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/README.md +172 -114
- package/dist/chunks/{formatters-CBgrBeSA.js → formatters-D33Uh3si.js} +7 -8
- package/dist/chunks/{formatters-CBgrBeSA.js.map → formatters-D33Uh3si.js.map} +1 -1
- package/dist/chunks/odata-service-CWkHASdw.js +2211 -0
- package/dist/chunks/odata-service-CWkHASdw.js.map +1 -0
- package/dist/chunks/{validate-BW-7BZy_.js → validate-DyzojM0w.js} +2 -2
- package/dist/chunks/{validate-BW-7BZy_.js.map → validate-DyzojM0w.js.map} +1 -1
- package/dist/error-report/index.js +2 -2
- package/dist/excel/index.js +20 -21
- package/dist/excel/index.js.map +1 -1
- package/dist/formatters/index.js +4 -5
- package/dist/{odata → odata-service}/buildSeparatedArrays.d.ts +1 -1
- package/dist/odata-service/buildSeparatedArrays.d.ts.map +1 -0
- package/dist/{odata/types.d.ts → odata-service/collectionTypes.d.ts} +1 -1
- package/dist/odata-service/collectionTypes.d.ts.map +1 -0
- package/dist/{odata → odata-service}/dateUtils.d.ts +1 -1
- package/dist/odata-service/dateUtils.d.ts.map +1 -0
- package/dist/{odata → odata-service}/findCollectionPairs.d.ts +1 -1
- package/dist/odata-service/findCollectionPairs.d.ts.map +1 -0
- package/dist/odata-service/index.d.ts +5 -0
- package/dist/odata-service/index.d.ts.map +1 -1
- package/dist/odata-service/index.js +2 -2
- package/dist/{odata/store.d.ts → odata-service/odataCollectionStore.d.ts} +1 -1
- package/dist/odata-service/odataCollectionStore.d.ts.map +1 -0
- package/dist/query-client/index.js.map +1 -1
- package/dist/query-client/queryClient.d.ts +1 -3
- package/dist/query-client/queryClient.d.ts.map +1 -1
- package/package.json +1 -5
- package/src/array/README.mdx +1630 -0
- package/src/binary/README.mdx +1405 -0
- package/src/bounded-copy-stack/README.mdx +257 -0
- package/src/context-menu/README.mdx +326 -0
- package/src/copy/README.mdx +992 -0
- package/src/crypto/README.mdx +1052 -0
- package/src/currency/README.mdx +155 -0
- package/src/date-segments/README.mdx +319 -0
- package/src/dom/README.mdx +2179 -0
- package/src/error/README.mdx +95 -0
- package/src/error-report/README.mdx +612 -0
- package/src/excel/README.mdx +449 -0
- package/src/file/README.mdx +1957 -0
- package/src/fingerprint/README.mdx +100 -0
- package/src/form/README.mdx +101 -0
- package/src/formatters/README.mdx +469 -0
- package/src/formatters/boolean/README.mdx +494 -0
- package/src/formatters/date/README.mdx +732 -0
- package/src/formatters/number/README.mdx +542 -0
- package/src/formatters/pipeline/README.mdx +629 -0
- package/src/formatters/rowBased/README.mdx +486 -0
- package/src/formatters/strings/README.mdx +442 -0
- package/src/formatters/valueState/README.mdx +459 -0
- package/src/formulas/README.mdx +1283 -0
- package/src/foundationLib.mdx +70 -54
- package/src/hooks/README.mdx +988 -0
- package/src/http/README.mdx +126 -0
- package/src/media/README.mdx +1853 -0
- package/src/notifications/README.mdx +323 -0
- package/src/number-scale/README.mdx +318 -0
- package/src/odata-service/README.mdx +2916 -0
- package/src/presets/README.mdx +136 -0
- package/src/pwa/README.mdx +394 -0
- package/src/query-client/README.mdx +2500 -0
- package/src/range-output/README.mdx +161 -0
- package/src/seo/README.mdx +279 -0
- package/src/session-storage/README.mdx +125 -0
- package/src/string-comparison/README.mdx +96 -0
- package/src/table/README.mdx +3106 -0
- package/src/three-scene/README.mdx +248 -0
- package/src/types/README.mdx +172 -0
- package/src/utils/README.mdx +1724 -0
- package/src/validators/README.mdx +239 -0
- package/src/virtualizer/README.mdx +138 -0
- package/src/xml/README.mdx +149 -0
- package/dist/chunks/dateUtils-B5V5aXB-.js +0 -847
- package/dist/chunks/dateUtils-B5V5aXB-.js.map +0 -1
- package/dist/chunks/odata-service-B6TxBSLm.js +0 -1277
- package/dist/chunks/odata-service-B6TxBSLm.js.map +0 -1
- package/dist/odata/buildSeparatedArrays.d.ts.map +0 -1
- package/dist/odata/dateUtils.d.ts.map +0 -1
- package/dist/odata/findCollectionPairs.d.ts.map +0 -1
- package/dist/odata/index.d.ts +0 -6
- package/dist/odata/index.d.ts.map +0 -1
- package/dist/odata/index.js +0 -102
- package/dist/odata/index.js.map +0 -1
- package/dist/odata/store.d.ts.map +0 -1
- package/dist/odata/types.d.ts.map +0 -1
- package/src/binary/README.md +0 -110
- package/src/docs/browserAndReact.mdx +0 -150
- package/src/docs/filesAndExcel.mdx +0 -163
- package/src/docs/formatters-runtime.mdx +0 -455
- package/src/docs/formatters.mdx +0 -380
- package/src/docs/odataAndTables.mdx +0 -178
- package/src/docs/pureUtilities.mdx +0 -96
- package/src/docs/runtimeAndState.mdx +0 -155
- package/src/file/README.md +0 -289
- package/src/formatters/date/README.md +0 -520
- package/src/formatters/number/README.md +0 -123
- package/src/formatters/valueState/README.md +0 -275
- package/src/formulas/README.md +0 -42
- package/src/pwa/README.md +0 -638
- package/src/query-client/README.md +0 -565
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { _ as e, r as t, x as n } from "./array-D-_yMMUK.js";
|
|
2
2
|
import { i as r } from "./isRecord-DXDTW-jA.js";
|
|
3
3
|
import { uuidv4 as i } from "../crypto/index.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { c as u, d, h as f, l as p, n as ee, o as te, t as m, u as ne } from "./validate-BW-7BZy_.js";
|
|
4
|
+
import { Bt as a, Rt as o, Sn as s, _t as c, pn as l } from "./odata-service-CWkHASdw.js";
|
|
5
|
+
import { c as u, d, h as f, l as p, n as ee, o as te, t as m, u as ne } from "./validate-DyzojM0w.js";
|
|
7
6
|
import { t as re } from "./string-comparison-BKT7PXmq.js";
|
|
8
7
|
import { isSafe as ie } from "../validators/index.js";
|
|
9
8
|
import { compileTableFormula as ae } from "../formulas/index.js";
|
|
@@ -396,7 +395,7 @@ function lt(e) {
|
|
|
396
395
|
//#endregion
|
|
397
396
|
//#region src/formatters/number/isZeroValue.ts
|
|
398
397
|
function L(e) {
|
|
399
|
-
let t =
|
|
398
|
+
let t = o(e);
|
|
400
399
|
return typeof t == "number" ? t === 0 : typeof t == "bigint" && t === 0n;
|
|
401
400
|
}
|
|
402
401
|
//#endregion
|
|
@@ -530,7 +529,7 @@ function Nt(e, t) {
|
|
|
530
529
|
break;
|
|
531
530
|
}
|
|
532
531
|
}
|
|
533
|
-
return !n ||
|
|
532
|
+
return !n || o(e) === void 0 ? e : Pt(e, t);
|
|
534
533
|
}
|
|
535
534
|
return e;
|
|
536
535
|
}
|
|
@@ -820,14 +819,14 @@ var sn = Object.freeze({
|
|
|
820
819
|
});
|
|
821
820
|
function X(e, t, r) {
|
|
822
821
|
if (!ie(e)) return "";
|
|
823
|
-
let i =
|
|
822
|
+
let i = c(t.type);
|
|
824
823
|
if (i === "number") {
|
|
825
824
|
let t = r?.numberPresetName?.trim();
|
|
826
825
|
return V(e, t && d(t) ? t : sn.number);
|
|
827
826
|
}
|
|
828
827
|
if (i === "date") {
|
|
829
828
|
let t = r?.datePresetName?.trim(), n = t && s(t) ? t : sn.date;
|
|
830
|
-
return l(
|
|
829
|
+
return a(l(e), n);
|
|
831
830
|
}
|
|
832
831
|
return n(e);
|
|
833
832
|
}
|
|
@@ -1242,4 +1241,4 @@ function Gn(e, t) {
|
|
|
1242
1241
|
//#endregion
|
|
1243
1242
|
export { ut as $, G as A, ke as At, vt as B, ve as Bt, Wt as C, je as Ct, It as D, Me as Dt, Ft as E, w as Et, jt as F, _ as Ft, ht as G, he as Gt, yt as H, g as Ht, V as I, y as It, Ot as J, de as Jt, Ct as K, pe as Kt, gt as L, v as Lt, H as M, x as Mt, Mt as N, be as Nt, Bt as O, T as Ot, Nt as P, xe as Pt, At as Q, se as Qt, wt as R, b as Rt, qt as S, Ne as St, Ht as T, E as Tt, Dt as U, _e as Ut, Et as V, Se as Vt, Tt as W, me as Wt, kt as X, le as Xt, xt as Y, ue as Yt, St as Z, ce as Zt, Ut as _, j as _t, Vn as a, Qe as at, Kt as b, Je as bt, Dn as c, A as ct, un as d, Ke as dt, L as et, X as f, Ge as ft, Zt as g, Ye as gt, Qt as h, We as ht, Bn as i, Xe as it, W as j, Oe as jt, U as k, De as kt, En as l, Ve as lt, an as m, Ue as mt, Un as n, et as nt, Hn as o, $e as ot, on as p, M as pt, bt as q, fe as qt, Wn as r, Ze as rt, Mn as s, He as st, Gn as t, P as tt, Cn as u, N as ut, Y as v, qe as vt, Vt as w, S as wt, J as x, C as xt, Gt as y, k as yt, _t as z, ye as zt };
|
|
1244
1243
|
|
|
1245
|
-
//# sourceMappingURL=formatters-
|
|
1244
|
+
//# sourceMappingURL=formatters-D33Uh3si.js.map
|