@middag-io/react 0.15.4 → 0.15.6
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cell-renderers.d.ts","sourceRoot":"","sources":["../../../../src/base/partials/DataTable/cell-renderers.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAY1C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAoFzD,wBAAgB,UAAU,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,iBAAiB,GAAG,YAAY,CAe7E;AAED,wBAAgB,WAAW,CAAC,EAAE,KAAK,EAAE,EAAE,iBAAiB,GAAG,YAAY,CAOtE;AAED,wBAAgB,aAAa,CAAC,EAAE,KAAK,EAAE,EAAE,iBAAiB,GAAG,YAAY,
|
|
1
|
+
{"version":3,"file":"cell-renderers.d.ts","sourceRoot":"","sources":["../../../../src/base/partials/DataTable/cell-renderers.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAY1C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAoFzD,wBAAgB,UAAU,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,iBAAiB,GAAG,YAAY,CAe7E;AAED,wBAAgB,WAAW,CAAC,EAAE,KAAK,EAAE,EAAE,iBAAiB,GAAG,YAAY,CAOtE;AAED,wBAAgB,aAAa,CAAC,EAAE,KAAK,EAAE,EAAE,iBAAiB,GAAG,YAAY,CAaxE;AAED,wBAAgB,QAAQ,CAAC,EAAE,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,EAAE,iBAAiB,GAAG,YAAY,CAkChF;AAcD,wBAAgB,cAAc,CAAC,EAAE,KAAK,EAAE,EAAE,iBAAiB,GAAG,YAAY,CAiBzE;AAED,wBAAgB,QAAQ,CAAC,EAAE,KAAK,EAAE,EAAE,iBAAiB,GAAG,YAAY,CAMnE;AAED,wBAAgB,aAAa,CAAC,EAAE,KAAK,EAAE,EAAE,iBAAiB,GAAG,YAAY,CA8BxE;AAUD,wBAAgB,aAAa,CAAC,EAAE,KAAK,EAAE,EAAE,iBAAiB,GAAG,YAAY,CAiCxE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SidebarNav.d.ts","sourceRoot":"","sources":["../../../../src/base/shell/partials/SidebarNav.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAIH,OAAO,EAAqD,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AA6sB7F,wBAAgB,UAAU,IAAI,YAAY,
|
|
1
|
+
{"version":3,"file":"SidebarNav.d.ts","sourceRoot":"","sources":["../../../../src/base/shell/partials/SidebarNav.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAIH,OAAO,EAAqD,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AA6sB7F,wBAAgB,UAAU,IAAI,YAAY,CAoBzC"}
|
package/dist-lib/middag-react.js
CHANGED
|
@@ -5711,6 +5711,10 @@ function Bu({ value: e }) {
|
|
|
5711
5711
|
children: "—"
|
|
5712
5712
|
});
|
|
5713
5713
|
let t = typeof e == "number" ? e : Number(e);
|
|
5714
|
+
if (Number.isNaN(t) && typeof e == "string") {
|
|
5715
|
+
let n = Date.parse(e);
|
|
5716
|
+
Number.isNaN(n) || (t = Math.floor(n / 1e3));
|
|
5717
|
+
}
|
|
5714
5718
|
return Number.isNaN(t) ? /* @__PURE__ */ W("span", {
|
|
5715
5719
|
className: "text-muted-foreground",
|
|
5716
5720
|
children: "—"
|
|
@@ -7911,8 +7915,13 @@ function up({ payload: e }) {
|
|
|
7911
7915
|
});
|
|
7912
7916
|
}
|
|
7913
7917
|
function dp() {
|
|
7914
|
-
let { props: e } = Bn(), { state: t } = Df(), n = e.navigation
|
|
7915
|
-
|
|
7918
|
+
let { props: e } = Bn(), { state: t } = Df(), n = e.navigation, r = t === "collapsed", i = {
|
|
7919
|
+
tree: n?.tree ?? [],
|
|
7920
|
+
footer: n?.footer ?? [],
|
|
7921
|
+
activeKey: n?.activeKey ?? "",
|
|
7922
|
+
drilldownStack: n?.drilldownStack
|
|
7923
|
+
};
|
|
7924
|
+
return W(r ? up : lp, { payload: i });
|
|
7916
7925
|
}
|
|
7917
7926
|
//#endregion
|
|
7918
7927
|
//#region src/base/shell/ProductShell.tsx
|