@declarion/react 0.38.0 → 0.38.5
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-lib/{DraggableChildrenTable-CI5a0Emm.js → DraggableChildrenTable-DvJO6-m0.js} +1 -1
- package/dist-lib/{Grid-BZEMUmjI.js → Grid-D2ArPFCz.js} +2 -2
- package/dist-lib/{LayoutRenderer-CnKUYh8M.js → LayoutRenderer-C8DQ61Vo.js} +3 -3
- package/dist-lib/{MarkdownRenderer-DNmOqp_M.js → MarkdownRenderer-CSuODN70.js} +1 -1
- package/dist-lib/{RefreshControl-DsEXi6WF.js → RefreshControl-CHvOUn0o.js} +115 -115
- package/dist-lib/{SmartDetailPage.impl-BrIZmjFF.js → SmartDetailPage.impl-Cl306lX3.js} +7 -5
- package/dist-lib/{SmartRecordListPage.impl-Bi_FPbGy.js → SmartRecordListPage.impl-j8bhyL4e.js} +4 -4
- package/dist-lib/components/shared/ActionRunner.d.ts +15 -0
- package/dist-lib/index.js +1063 -1047
- package/dist-lib/{registry-B_AmhRdj.js → registry-C3hbFTDQ.js} +4 -3
- package/dist-lib/testing.js +1 -1
- package/dist-lib/types/schema.d.ts +3 -0
- package/dist-lib/{useCurrentScreen-CcsD2NAk.js → useCurrentScreen-DD3KdlMj.js} +829 -816
- package/dist-lib/{useProperties-CPtQIWXp.js → useProperties-CliP5qvg.js} +2 -2
- package/dist-lib/{value-BCjHI_Ai.js → value-CNy3_xCA.js} +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { s as e, t } from "./DynamicIcon-DeRpAaXm.js";
|
|
2
|
-
import { $ as n, C as r, E as i, F as a, Gn as o, Hn as s, K as c, Kn as l, Nn as u, O as d, On as f, Pn as p, S as m, T as h, U as g, Wn as _, a as v, an as y, at as b, bn as x, cn as S, ct as C, dt as w, en as T, f as E, fn as D, g as O, gn as k, gt as A, h as j, ht as M, i as N, it as P, j as F, jn as I, jt as L, k as R, ln as z, nt as B, o as ee, on as V, ot as te, p as ne, pn as H, q as U, rt as re, sn as ie, un as W, ut as ae, vn as oe, w as se, x as ce, xn as le, y as ue, zn as de } from "./useCurrentScreen-
|
|
3
|
-
import { a as fe, c as pe, d as me, f as he, i as ge, l as _e, n as ve, o as ye, p as be, r as xe, s as Se, t as Ce, u as we } from "./value-
|
|
2
|
+
import { $ as n, C as r, E as i, F as a, Gn as o, Hn as s, K as c, Kn as l, Nn as u, O as d, On as f, Pn as p, S as m, T as h, U as g, Wn as _, a as v, an as y, at as b, bn as x, cn as S, ct as C, dt as w, en as T, f as E, fn as D, g as O, gn as k, gt as A, h as j, ht as M, i as N, it as P, j as F, jn as I, jt as L, k as R, ln as z, nt as B, o as ee, on as V, ot as te, p as ne, pn as H, q as U, rt as re, sn as ie, un as W, ut as ae, vn as oe, w as se, x as ce, xn as le, y as ue, zn as de } from "./useCurrentScreen-DD3KdlMj.js";
|
|
3
|
+
import { a as fe, c as pe, d as me, f as he, i as ge, l as _e, n as ve, o as ye, p as be, r as xe, s as Se, t as Ce, u as we } from "./value-CNy3_xCA.js";
|
|
4
4
|
import { n as Te, r as Ee, t as De } from "./dataTableStyles-vwD1mVOP.js";
|
|
5
5
|
import { Component as Oe, Suspense as ke, lazy as Ae, useCallback as G, useEffect as K, useId as je, useLayoutEffect as Me, useMemo as q, useRef as J, useState as Y } from "react";
|
|
6
6
|
import { parsePath as Ne, useNavigate as Pe } from "react-router-dom";
|
|
@@ -1142,7 +1142,7 @@ function nn(e) {
|
|
|
1142
1142
|
}
|
|
1143
1143
|
//#endregion
|
|
1144
1144
|
//#region src/components/file-widgets/GridLazy.tsx
|
|
1145
|
-
var rn = Ae(() => import("./Grid-
|
|
1145
|
+
var rn = Ae(() => import("./Grid-D2ArPFCz.js").then((e) => ({ default: e.Grid })));
|
|
1146
1146
|
function an() {
|
|
1147
1147
|
return /* @__PURE__ */ Z("div", { className: "h-24 w-full rounded-md bg-muted animate-pulse" });
|
|
1148
1148
|
}
|
|
@@ -2619,6 +2619,7 @@ function Tr({ actions: t, objectIds: n, row: r, onSuccess: i, preMenu: a, divide
|
|
|
2619
2619
|
h({
|
|
2620
2620
|
action: a,
|
|
2621
2621
|
title: s,
|
|
2622
|
+
row: r,
|
|
2622
2623
|
execute: async (t) => {
|
|
2623
2624
|
let r = await te(e, B(t, n));
|
|
2624
2625
|
return i?.(), r;
|
package/dist-lib/testing.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ln as e, _t as t, at as n, ft as r, mt as i, pt as a, r as o, t as s } from "./useCurrentScreen-
|
|
1
|
+
import { Ln as e, _t as t, at as n, ft as r, mt as i, pt as a, r as o, t as s } from "./useCurrentScreen-DD3KdlMj.js";
|
|
2
2
|
import { useState as c } from "react";
|
|
3
3
|
import { MemoryRouter as l } from "react-router-dom";
|
|
4
4
|
import { QueryClient as u, QueryClientProvider as d } from "@tanstack/react-query";
|
|
@@ -42,6 +42,9 @@ export declare function getDisplayValue(row: Record<string, unknown> | null | un
|
|
|
42
42
|
display?: {
|
|
43
43
|
display_field?: string;
|
|
44
44
|
};
|
|
45
|
+
fields?: {
|
|
46
|
+
get(name: string): EntityField | undefined;
|
|
47
|
+
};
|
|
45
48
|
} | null | undefined): string | undefined;
|
|
46
49
|
export declare function resolveRefRecordLabel(record: Record<string, unknown>, displayKey: string | undefined, fallback: string): string;
|
|
47
50
|
export declare function screenTitleForPath(pathname: string, screens: Record<string, Screen> | undefined, entities?: Record<string, Entity>): {
|