@declarion/react 0.59.2 → 0.60.0

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.
Files changed (35) hide show
  1. package/dist-lib/{AgentChatPanel.impl-DBH1Ff4G.js → AgentChatPanel.impl-BY-Ir7Sh.js} +39 -39
  2. package/dist-lib/{DetailAuditStrip-9eJM2Fml.js → DetailAuditStrip-B9p1XhjC.js} +11 -11
  3. package/dist-lib/{DraggableChildrenTable-4RZC351U.js → DraggableChildrenTable-CtL7rdT6.js} +34 -34
  4. package/dist-lib/{Grid-CQabaBLx.js → Grid-CYERLdXO.js} +1 -1
  5. package/dist-lib/{LayoutRenderer-DGKWZKpW.js → LayoutRenderer-B08IJKsZ.js} +465 -465
  6. package/dist-lib/{ListCardsBody-DfGmyNIu.js → ListCardsBody-Dje_rays.js} +26 -26
  7. package/dist-lib/{MarkdownRenderer-BDbzDv_y.js → MarkdownRenderer-N0IWjTH5.js} +1 -1
  8. package/dist-lib/{RefreshControl-Bhoib0ZA.js → RefreshControl-BEWSHtAC.js} +26 -26
  9. package/dist-lib/{SmartDetailPage.impl-DFjz29Ff.js → SmartDetailPage.impl-CYiM-ITJ.js} +470 -470
  10. package/dist-lib/SmartListPage.impl-Db_Pv9Xc.js +3051 -0
  11. package/dist-lib/SmartRecordListPage.impl-hbbLglC1.js +780 -0
  12. package/dist-lib/{SortHeaderMenu-Cijxk4cX.js → SortHeaderMenu-DKKeCGTH.js} +1 -1
  13. package/dist-lib/{action-dispatch-DY0c8U81.js → action-dispatch-DbiOpvd6.js} +187 -187
  14. package/dist-lib/api/data.d.ts +5 -1
  15. package/dist-lib/{cardProjection-Bkl2SSYz.js → cardProjection-nveYLvHR.js} +1 -1
  16. package/dist-lib/components/pages/list/filter-meta.d.ts +1 -1
  17. package/dist-lib/components/pages/list/useActiveView.d.ts +9 -2
  18. package/dist-lib/components/pages/list/useListViews.d.ts +3 -2
  19. package/dist-lib/{failure-v-uGSpbX.js → failure-BT54OLHy.js} +5 -5
  20. package/dist-lib/{format-count-DA4wmmWR.js → format-count-DLFCdtME.js} +246 -246
  21. package/dist-lib/hooks/useObject.d.ts +3 -2
  22. package/dist-lib/index.js +613 -613
  23. package/dist-lib/lib/field-classification.d.ts +10 -1
  24. package/dist-lib/{peekDraftStore-D-cTbiIr.js → peekDraftStore-DSExeoAh.js} +6 -6
  25. package/dist-lib/{registry-Cb3W-czW.js → registry-CRPxNbkk.js} +444 -438
  26. package/dist-lib/testing.js +2 -2
  27. package/dist-lib/{useAgentConversation-D97IqE-J.js → useAgentConversation-BavrHfrU.js} +14 -14
  28. package/dist-lib/{useCurrentScreen-BL5NZFCw.js → useCurrentScreen-BPq7HMF1.js} +1083 -1017
  29. package/dist-lib/{useListQuery-BG1GyKtJ.js → useListQuery-CG1WM4cv.js} +5 -5
  30. package/dist-lib/{field-classification-C28XE-_P.js → useOwnRefresh-C18iWRgr.js} +132 -158
  31. package/dist-lib/{useProperties-4Lg3odrt.js → useProperties-C35JrjwQ.js} +2 -2
  32. package/dist-lib/{useTabSearchMirror-ZVLlINBX.js → useTabSearchMirror-DKktWWLB.js} +1 -1
  33. package/package.json +1 -1
  34. package/dist-lib/SmartListPage.impl-BrZLE_Gb.js +0 -3046
  35. package/dist-lib/SmartRecordListPage.impl-C1FJLr80.js +0 -780
@@ -1,6 +1,6 @@
1
- import { an as e, r as t, t as n } from "./useCurrentScreen-BL5NZFCw.js";
1
+ import { hn as e, r as t, t as n } from "./useCurrentScreen-BPq7HMF1.js";
2
2
  import { E as r, p as i, s as a } from "./useText-BFDCTUSo.js";
3
- import { _ as o, c as s, g as c, v as l } from "./failure-v-uGSpbX.js";
3
+ import { _ as o, c as s, g as c, v as l } from "./failure-BT54OLHy.js";
4
4
  import { useState as u } from "react";
5
5
  import { MemoryRouter as d, useLocation as f } from "react-router";
6
6
  import { QueryClient as p, QueryClientProvider as m } from "@tanstack/react-query";
@@ -1,6 +1,6 @@
1
- import { A as e, Rn as t, j as n, jn as r, k as i } from "./useCurrentScreen-BL5NZFCw.js";
1
+ import { A as e, Jn as t, Vn as n, j as r, k as i } from "./useCurrentScreen-BPq7HMF1.js";
2
2
  import { $ as a, P as o, p as s, t as c } from "./useText-BFDCTUSo.js";
3
- import { p as l } from "./failure-v-uGSpbX.js";
3
+ import { p as l } from "./failure-BT54OLHy.js";
4
4
  import { useCallback as u, useEffect as d, useRef as f, useState as p } from "react";
5
5
  import { jsx as m, jsxs as h } from "react/jsx-runtime";
6
6
  //#region src/components/agents/AgentElicitForm.tsx
@@ -51,13 +51,13 @@ function g({ message: e, schema: n, onSubmit: r, onCancel: i }) {
51
51
  ]
52
52
  });
53
53
  }
54
- function _({ name: e, prop: t, required: n, value: i, onChange: a }) {
55
- let o = (t.title ?? y(e)) + (n ? " *" : ""), s = t.description;
54
+ function _({ name: e, prop: t, required: r, value: i, onChange: a }) {
55
+ let o = (t.title ?? y(e)) + (r ? " *" : ""), s = t.description;
56
56
  return t.enum ? /* @__PURE__ */ m(v, {
57
57
  label: o,
58
58
  help: s,
59
59
  children: /* @__PURE__ */ h("select", {
60
- value: r(i),
60
+ value: n(i),
61
61
  onChange: (e) => a(e.target.value),
62
62
  className: "w-full rounded-md border border-border bg-card p-2 text-sm",
63
63
  children: [/* @__PURE__ */ m("option", {
@@ -99,7 +99,7 @@ function _({ name: e, prop: t, required: n, value: i, onChange: a }) {
99
99
  step: t.type === "integer" ? 1 : "any",
100
100
  min: t.minimum,
101
101
  max: t.maximum,
102
- value: i == null ? "" : r(i),
102
+ value: i == null ? "" : n(i),
103
103
  onChange: (e) => {
104
104
  a(e.target.value === "" ? void 0 : Number(e.target.value));
105
105
  },
@@ -110,7 +110,7 @@ function _({ name: e, prop: t, required: n, value: i, onChange: a }) {
110
110
  help: s,
111
111
  children: /* @__PURE__ */ m("textarea", {
112
112
  rows: 3,
113
- value: r(i),
113
+ value: n(i),
114
114
  onChange: (e) => a(e.target.value),
115
115
  className: "w-full rounded-md border border-border bg-card p-2 text-sm"
116
116
  })
@@ -119,7 +119,7 @@ function _({ name: e, prop: t, required: n, value: i, onChange: a }) {
119
119
  help: s,
120
120
  children: /* @__PURE__ */ m("input", {
121
121
  type: t.format === "email" ? "email" : t.format === "url" ? "url" : t.format === "date-time" ? "datetime-local" : "text",
122
- value: r(i),
122
+ value: n(i),
123
123
  onChange: (e) => a(e.target.value),
124
124
  className: "w-full rounded-md border border-border bg-card p-2 text-sm"
125
125
  })
@@ -493,7 +493,7 @@ function Z(t) {
493
493
  payload: i
494
494
  });
495
495
  };
496
- n.addEventListener(i, t);
496
+ r.addEventListener(i, t);
497
497
  let a = (e, t) => {
498
498
  switch (t.kind) {
499
499
  case "turn.started":
@@ -512,9 +512,9 @@ function Z(t) {
512
512
  break;
513
513
  }
514
514
  case "text.delta": {
515
- let n = r(t.payload?.text), i = X(t);
516
- if (!i || !n) break;
517
- h((t) => Y(t, e, i, n));
515
+ let r = n(t.payload?.text), i = X(t);
516
+ if (!i || !r) break;
517
+ h((t) => Y(t, e, i, r));
518
518
  break;
519
519
  }
520
520
  case "elicit.pending":
@@ -549,8 +549,8 @@ function Z(t) {
549
549
  let e = Q.current;
550
550
  e && $(e);
551
551
  };
552
- return n.addEventListener(e, o), () => {
553
- n.removeEventListener(i, t), n.removeEventListener(e, o);
552
+ return r.addEventListener(e, o), () => {
553
+ r.removeEventListener(i, t), r.removeEventListener(e, o);
554
554
  };
555
555
  }, [$]);
556
556
  let ne = u(async (e) => {