@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
package/dist-lib/{SmartRecordListPage.impl-Bi_FPbGy.js → SmartRecordListPage.impl-j8bhyL4e.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { s as e } from "./DynamicIcon-DeRpAaXm.js";
|
|
2
|
-
import { F as t, Gn as n, Kn as r, M as i, Nn as a, On as o, U as s, an as c, b as l, bn as u, cn as d, gt as ee, h as f, jn as te, sn as p, un as m, v as h, yn as g, zn as ne } from "./useCurrentScreen-
|
|
3
|
-
import { $ as _, G as v, Q as re, X as y, Z as b, _ as ie, a as x, c as S, et as C, nt as w, s as T, w as ae } from "./registry-
|
|
4
|
-
import { b as E, d as D, f as O, g as k, m as oe, n as A, p as se, r as j, s as M } from "./useProperties-
|
|
5
|
-
import { t as N } from "./LayoutRenderer-
|
|
2
|
+
import { F as t, Gn as n, Kn as r, M as i, Nn as a, On as o, U as s, an as c, b as l, bn as u, cn as d, gt as ee, h as f, jn as te, sn as p, un as m, v as h, yn as g, zn as ne } from "./useCurrentScreen-DD3KdlMj.js";
|
|
3
|
+
import { $ as _, G as v, Q as re, X as y, Z as b, _ as ie, a as x, c as S, et as C, nt as w, s as T, w as ae } from "./registry-C3hbFTDQ.js";
|
|
4
|
+
import { b as E, d as D, f as O, g as k, m as oe, n as A, p as se, r as j, s as M } from "./useProperties-CliP5qvg.js";
|
|
5
|
+
import { t as N } from "./LayoutRenderer-C8DQ61Vo.js";
|
|
6
6
|
import { useCallback as P, useEffect as F, useMemo as I, useRef as L, useState as R } from "react";
|
|
7
7
|
import { useSearchParams as ce } from "react-router-dom";
|
|
8
8
|
import { Fragment as z, jsx as B, jsxs as V } from "react/jsx-runtime";
|
|
@@ -28,6 +28,21 @@ export interface RunActionOptions {
|
|
|
28
28
|
* action invocations.
|
|
29
29
|
*/
|
|
30
30
|
bulkSelection?: ReadonlyArray<Record<string, unknown>>;
|
|
31
|
+
/**
|
|
32
|
+
* The record the action is bound to, for single-row invocations
|
|
33
|
+
* (detail header/toolbar, list row, quick peek). Forwarded to
|
|
34
|
+
* ActionDialog so `$row.*` param defaults resolve against it -
|
|
35
|
+
* without it every schema-declared prefill silently renders the
|
|
36
|
+
* param's empty state. Omit for global and bulk invocations.
|
|
37
|
+
*/
|
|
38
|
+
row?: Record<string, unknown>;
|
|
39
|
+
/**
|
|
40
|
+
* Acted-entity override for the post-outcome query invalidation. Normally
|
|
41
|
+
* the runner reads `action.entity`; pass this when the dispatched action
|
|
42
|
+
* may lack its binding (e.g. a platform-default bulk action resolved from
|
|
43
|
+
* screen context).
|
|
44
|
+
*/
|
|
45
|
+
entity?: string;
|
|
31
46
|
}
|
|
32
47
|
interface ActionRunnerContextValue {
|
|
33
48
|
/**
|