@declarion/react 0.54.1 → 0.56.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.
- package/dist-lib/{DraggableChildrenTable-Djc7QDzR.js → DraggableChildrenTable-BV5sb8Uo.js} +1 -1
- package/dist-lib/{Grid-Bd2r0_4J.js → Grid-DWgUPuZ3.js} +2 -2
- package/dist-lib/{JsonEditor-DoNmyrYd.js → JsonEditor-Dz1PQHC8.js} +2 -2
- package/dist-lib/{LayoutRenderer-V6nf9aa_.js → LayoutRenderer-C9AH9cXf.js} +8 -8
- package/dist-lib/{ListCardsBody-Cdsvu0Vs.js → ListCardsBody-DXcDg536.js} +4 -4
- package/dist-lib/{MarkdownRenderer-CZo5ZgM7.js → MarkdownRenderer-CcSFc2N3.js} +1 -1
- package/dist-lib/{RefreshControl-CJm3vz9p.js → RefreshControl-CNtN8zSl.js} +3 -3
- package/dist-lib/{SmartDetailPage.impl-DoIjCzjQ.js → SmartDetailPage.impl-lskCd-WG.js} +11 -11
- package/dist-lib/{SmartListPage.impl-DnM8e14t.js → SmartListPage.impl-CrGbdzyK.js} +12 -12
- package/dist-lib/{SmartRecordListPage.impl-BmHGYbD9.js → SmartRecordListPage.impl-Bkl9aZJ8.js} +10 -10
- package/dist-lib/{SortHeaderMenu-CA53NerB.js → SortHeaderMenu-SYSAaqQJ.js} +1 -1
- package/dist-lib/{action-dispatch-JcUrLFaW.js → action-dispatch-CR4ajBtT.js} +6 -6
- package/dist-lib/api/auth.d.ts +1 -1
- package/dist-lib/api/batch.d.ts +1 -1
- package/dist-lib/api/data.d.ts +3 -3
- package/dist-lib/api/entities.d.ts +1 -1
- package/dist-lib/api/params.d.ts +1 -1
- package/dist-lib/api/properties.d.ts +1 -1
- package/dist-lib/api/schema.d.ts +1 -1
- package/dist-lib/api/status.d.ts +1 -1
- package/dist-lib/{cardProjection-Q2kwqv8V.js → cardProjection-CW5RIMko.js} +7 -7
- package/dist-lib/components/actions/ActionButton.d.ts +1 -1
- package/dist-lib/components/actions/ActionDialog.d.ts +1 -1
- package/dist-lib/components/actions/ActionRunner.d.ts +1 -1
- package/dist-lib/components/actions/ObjectActionBar.d.ts +3 -3
- package/dist-lib/components/actions/PropertyGridEditor.d.ts +2 -2
- package/dist-lib/components/actions/ResponsiveActionBar.d.ts +2 -2
- package/dist-lib/components/actions/RowActionsKebab.d.ts +1 -1
- package/dist-lib/components/agents/AgentConversationDrawer.d.ts +1 -1
- package/dist-lib/components/agents/AgentPicker.d.ts +1 -1
- package/dist-lib/components/agents/transcript-runs.d.ts +1 -1
- package/dist-lib/components/chrome/AssociationTabs.d.ts +1 -1
- package/dist-lib/components/chrome/Breadcrumbs.d.ts +1 -1
- package/dist-lib/components/detail-layout/AssociatedBlock.d.ts +1 -1
- package/dist-lib/components/detail-layout/AssociatedToolbar.d.ts +1 -1
- package/dist-lib/components/detail-layout/ChildrenBlock.d.ts +2 -2
- package/dist-lib/components/detail-layout/DetailAuditStrip.d.ts +2 -2
- package/dist-lib/components/detail-layout/DetailHighlights.d.ts +3 -3
- package/dist-lib/components/detail-layout/DraggableChildrenTable.d.ts +3 -3
- package/dist-lib/components/detail-layout/EditableChildrenTable.d.ts +3 -3
- package/dist-lib/components/detail-layout/EvidenceBlock.d.ts +1 -1
- package/dist-lib/components/detail-layout/FieldsBlock.d.ts +1 -1
- package/dist-lib/components/detail-layout/LayoutColumn.d.ts +1 -1
- package/dist-lib/components/detail-layout/LayoutRenderer.d.ts +3 -3
- package/dist-lib/components/detail-layout/LayoutRow.d.ts +1 -1
- package/dist-lib/components/detail-layout/LayoutTabs.d.ts +1 -1
- package/dist-lib/components/detail-layout/PropertiesBlock.d.ts +1 -1
- package/dist-lib/components/detail-layout/QuickAddForm.d.ts +2 -2
- package/dist-lib/components/detail-layout/SectionBlock.d.ts +1 -1
- package/dist-lib/components/detail-layout/StatusesBlock.d.ts +1 -1
- package/dist-lib/components/detail-layout/TimelineComposer.d.ts +2 -2
- package/dist-lib/components/detail-layout/blockMeta.d.ts +1 -1
- package/dist-lib/components/detail-layout/useQuickAdd.d.ts +2 -2
- package/dist-lib/components/detail-layout/widgets/WidgetHost.d.ts +1 -1
- package/dist-lib/components/fields/RefCombobox.d.ts +2 -2
- package/dist-lib/components/fields/cells/factories/host-icons.d.ts +1 -1
- package/dist-lib/components/fields/cells/registry.d.ts +2 -2
- package/dist-lib/components/fields/index.d.ts +3 -3
- package/dist-lib/components/file-widgets/helpers.d.ts +1 -1
- package/dist-lib/components/file-widgets/host.d.ts +3 -3
- package/dist-lib/components/file-widgets/payload.d.ts +2 -2
- package/dist-lib/components/file-widgets/types.d.ts +1 -1
- package/dist-lib/components/file-widgets/useEmbedFileSrc.d.ts +1 -1
- package/dist-lib/components/filters/FilterChips.d.ts +1 -1
- package/dist-lib/components/filters/FilterDrawer.d.ts +3 -3
- package/dist-lib/components/layout/CommandPalette.d.ts +2 -2
- package/dist-lib/components/layout/Layout.d.ts +3 -3
- package/dist-lib/components/layout/Rail.d.ts +2 -2
- package/dist-lib/components/layout/Sidebar.d.ts +1 -1
- package/dist-lib/components/layout/TabStrip.d.ts +1 -1
- package/dist-lib/components/layout/TenantChip.d.ts +1 -1
- package/dist-lib/components/layout/TopBar.d.ts +1 -1
- package/dist-lib/components/layout/tab-close.d.ts +1 -1
- package/dist-lib/components/list/InlineEditCell.d.ts +1 -1
- package/dist-lib/components/list/PeekFieldCell.d.ts +2 -2
- package/dist-lib/components/list/QuickPeek.d.ts +3 -3
- package/dist-lib/components/list/ViewSwitcher.d.ts +1 -1
- package/dist-lib/components/pages/DocumentsMenu.d.ts +1 -1
- package/dist-lib/components/pages/ExportMenu.d.ts +1 -1
- package/dist-lib/components/pages/RecordDocumentsPanel.d.ts +1 -1
- package/dist-lib/components/pages/auth/AuthShell.d.ts +1 -1
- package/dist-lib/components/pages/exportRequest.d.ts +1 -1
- package/dist-lib/components/pages/list/ListCardRow.d.ts +3 -3
- package/dist-lib/components/pages/list/ListCardsBody.d.ts +3 -3
- package/dist-lib/components/pages/list/ListFloatbar.d.ts +3 -3
- package/dist-lib/components/pages/list/ListHeader.d.ts +3 -3
- package/dist-lib/components/pages/list/ListNoRows.d.ts +1 -1
- package/dist-lib/components/pages/list/ListTable.d.ts +2 -2
- package/dist-lib/components/pages/list/ListTableRow.d.ts +1 -1
- package/dist-lib/components/pages/list/ListToolbar.d.ts +2 -2
- package/dist-lib/components/pages/list/RowActionsCell.d.ts +1 -1
- package/dist-lib/components/pages/list/RowContextMenu.d.ts +1 -1
- package/dist-lib/components/pages/list/SortHeaderMenu.d.ts +1 -1
- package/dist-lib/components/pages/list/cardProjection.d.ts +2 -2
- package/dist-lib/components/pages/list/columns.d.ts +3 -3
- package/dist-lib/components/pages/list/filter-meta.d.ts +2 -2
- package/dist-lib/components/pages/list/sortable-header.d.ts +1 -1
- package/dist-lib/components/pages/list/table-features.d.ts +1 -1
- package/dist-lib/components/pages/list/use-filter-value-labels.d.ts +4 -4
- package/dist-lib/components/pages/list/useListColumnLayout.d.ts +1 -1
- package/dist-lib/components/pages/list/useListQuery.d.ts +3 -3
- package/dist-lib/components/pages/list/useListRowInteraction.d.ts +4 -4
- package/dist-lib/components/pages/list/useListSelection.d.ts +2 -2
- package/dist-lib/components/pages/list/useListSort.d.ts +1 -1
- package/dist-lib/components/pages/list/useListViews.d.ts +3 -3
- package/dist-lib/components/pages/list/useRowMenu.d.ts +3 -3
- package/dist-lib/components/pages/tenant-params/TenantParamsPage.d.ts +1 -1
- package/dist-lib/components/params/param-editors.d.ts +1 -1
- package/dist-lib/components/primitives/ClassifiedFieldLocked.d.ts +1 -1
- package/dist-lib/components/shared/MarkdownRenderer.d.ts +1 -1
- package/dist-lib/components/shared/StatusGroupsDisplay.d.ts +2 -2
- package/dist-lib/embed/screen-location.d.ts +1 -1
- package/dist-lib/{field-classification-ssZvtr8J.js → field-classification-D6xQYn-h.js} +4 -4
- package/dist-lib/{format-count-DHuivNT7.js → format-count-Dobmi-Ji.js} +7 -7
- package/dist-lib/hooks/useAgentConversation.d.ts +1 -1
- package/dist-lib/hooks/useAllEntityData.d.ts +1 -1
- package/dist-lib/hooks/useAssociatedData.d.ts +1 -1
- package/dist-lib/hooks/useBranding.d.ts +4 -4
- package/dist-lib/hooks/useBrandingChrome.d.ts +2 -2
- package/dist-lib/hooks/useChildrenData.d.ts +1 -1
- package/dist-lib/hooks/useCurrentScreen.d.ts +1 -1
- package/dist-lib/hooks/useCursorEntityData.d.ts +5 -5
- package/dist-lib/hooks/useEntity.d.ts +1 -1
- package/dist-lib/hooks/useEntityData.d.ts +1 -1
- package/dist-lib/hooks/useFilters.d.ts +1 -1
- package/dist-lib/hooks/useImpersonation.d.ts +1 -1
- package/dist-lib/hooks/useLiveObject.d.ts +2 -2
- package/dist-lib/hooks/useMutations.d.ts +3 -3
- package/dist-lib/hooks/useObject.d.ts +1 -1
- package/dist-lib/hooks/useParams.d.ts +2 -2
- package/dist-lib/hooks/useRegisterScreenTab.d.ts +1 -1
- package/dist-lib/hooks/useResponsiveMode.d.ts +1 -1
- package/dist-lib/hooks/useSSE.d.ts +1 -1
- package/dist-lib/hooks/useScreen.d.ts +1 -1
- package/dist-lib/hooks/useTimelineData.d.ts +2 -2
- package/dist-lib/hooks/useViews.d.ts +1 -1
- package/dist-lib/index.js +20 -20
- package/dist-lib/lib/action-dispatch.d.ts +2 -2
- package/dist-lib/lib/actions.d.ts +1 -1
- package/dist-lib/lib/brand-tokens.d.ts +1 -1
- package/dist-lib/lib/branding.d.ts +1 -1
- package/dist-lib/lib/child-config.d.ts +1 -1
- package/dist-lib/lib/children-validation.d.ts +2 -2
- package/dist-lib/lib/document-templates.d.ts +1 -1
- package/dist-lib/lib/evidence-verdict.d.ts +1 -1
- package/dist-lib/lib/mass-edit.d.ts +1 -1
- package/dist-lib/lib/messages.d.ts +2 -2
- package/dist-lib/lib/realtime-reconcile.d.ts +1 -1
- package/dist-lib/lib/realtime-resync.d.ts +1 -1
- package/dist-lib/lib/rich-text.d.ts +1 -1
- package/dist-lib/lib/schema-routing.d.ts +1 -1
- package/dist-lib/lib/screen-back.d.ts +1 -1
- package/dist-lib/lib/size-value.d.ts +1 -1
- package/dist-lib/lib/toast.d.ts +2 -2
- package/dist-lib/lib/ui-actions.d.ts +1 -1
- package/dist-lib/lib/variants.d.ts +1 -1
- package/dist-lib/{peekDraftStore-lm9ViVLA.js → peekDraftStore-5wQ7lq_V.js} +1 -1
- package/dist-lib/{registry-DsQFhEAD.js → registry-CjgUaF7C.js} +4 -4
- package/dist-lib/stores/auth.d.ts +1 -1
- package/dist-lib/stores/preferences.d.ts +1 -1
- package/dist-lib/testing.d.ts +4 -4
- package/dist-lib/testing.js +1 -1
- package/dist-lib/types/api.d.ts +1 -1
- package/dist-lib/types/schema.d.ts +2 -2
- package/dist-lib/{useCurrentScreen-aHx9HH1m.js → useCurrentScreen-CzwzQpoW.js} +13 -13
- package/dist-lib/{useListQuery-DZn2BAxY.js → useListQuery-D7Hr5WM1.js} +2 -2
- package/dist-lib/{useProperties-CAqKmUKg.js → useProperties-CqtCzFCr.js} +1 -1
- package/dist-lib/{useTabSearchMirror-DYW9WoK7.js → useTabSearchMirror-C39U85cg.js} +5 -5
- package/dist-lib/{value-CzKQPJOp.js → value-Bo8C8WMU.js} +1 -1
- package/package.json +9 -9
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { s as e } from "./DynamicIcon-DW5krHuX.js";
|
|
2
|
-
import { $n as t, Br as n, Vr as r, et as i, mr as a, tt as o } from "./useCurrentScreen-
|
|
2
|
+
import { $n as t, Br as n, Vr as r, et as i, mr as a, tt as o } from "./useCurrentScreen-CzwzQpoW.js";
|
|
3
3
|
import { n as s, r as c, t as l } from "./dataTableStyles-vwD1mVOP.js";
|
|
4
4
|
import { useCallback as u, useMemo as d, useRef as f } from "react";
|
|
5
5
|
import { jsx as p, jsxs as m } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ct as e, it as t, lt as n, ot as r, st as i, ut as a } from "./useCurrentScreen-
|
|
2
|
-
import { c as o, i as s, l as c, t as l } from "./value-
|
|
1
|
+
import { ct as e, it as t, lt as n, ot as r, st as i, ut as a } from "./useCurrentScreen-CzwzQpoW.js";
|
|
2
|
+
import { c as o, i as s, l as c, t as l } from "./value-Bo8C8WMU.js";
|
|
3
3
|
import { useCallback as u, useEffect as d, useMemo as f, useRef as p, useState as m } from "react";
|
|
4
4
|
import { Fragment as h, jsx as g, jsxs as _ } from "react/jsx-runtime";
|
|
5
5
|
import { DndContext as v, PointerSensor as y, closestCenter as b, useSensor as x, useSensors as ee } from "@dnd-kit/core";
|
|
@@ -26,7 +26,7 @@ function o({ value: o, onChange: s, readOnly: c, id: l }) {
|
|
|
26
26
|
navigationBar: !1,
|
|
27
27
|
statusBar: !1,
|
|
28
28
|
onChange: (e, t, n) => {
|
|
29
|
-
if (!
|
|
29
|
+
if (!c && f.current && !n.contentErrors) {
|
|
30
30
|
if ("json" in e) f.current(e.json);
|
|
31
31
|
else if ("text" in e) try {
|
|
32
32
|
f.current(JSON.parse(e.text));
|
|
@@ -53,7 +53,7 @@ function o({ value: o, onChange: s, readOnly: c, id: l }) {
|
|
|
53
53
|
n.disconnect(), s.destroy(), d.current = null;
|
|
54
54
|
};
|
|
55
55
|
}, [c]), e(() => {
|
|
56
|
-
|
|
56
|
+
d.current && c && d.current.updateProps({ content: a(o) });
|
|
57
57
|
}, [o, c]), /* @__PURE__ */ n("div", {
|
|
58
58
|
ref: u,
|
|
59
59
|
id: l,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { s as e, t } from "./DynamicIcon-DW5krHuX.js";
|
|
2
|
-
import { $n as n, $t as r, Br as i, Cr as a, D as o, Gn as s, I as c, Ir as l, Mr as u, O as d, Or as f, Qn as p, Qt as m, St as h, Vr as g, Zn as _, Zt as v, b as y, cr as b, et as x, ir as S, jt as C, ln as w, mr as T, nr as E, nt as D, pr as O, rr as k, sr as A, tr as j, tt as M, wn as ee, xt as N, zr as P } from "./useCurrentScreen-
|
|
3
|
-
import { c as F, d as I, f as L, l as R, o as z, r as B, s as V, t as H } from "./registry-
|
|
4
|
-
import { C as te, O as ne, c as re, n as ie, t as ae, x as oe } from "./field-classification-
|
|
5
|
-
import { m as se, p as ce } from "./action-dispatch-
|
|
6
|
-
import { o as le } from "./cardProjection-
|
|
2
|
+
import { $n as n, $t as r, Br as i, Cr as a, D as o, Gn as s, I as c, Ir as l, Mr as u, O as d, Or as f, Qn as p, Qt as m, St as h, Vr as g, Zn as _, Zt as v, b as y, cr as b, et as x, ir as S, jt as C, ln as w, mr as T, nr as E, nt as D, pr as O, rr as k, sr as A, tr as j, tt as M, wn as ee, xt as N, zr as P } from "./useCurrentScreen-CzwzQpoW.js";
|
|
3
|
+
import { c as F, d as I, f as L, l as R, o as z, r as B, s as V, t as H } from "./registry-CjgUaF7C.js";
|
|
4
|
+
import { C as te, O as ne, c as re, n as ie, t as ae, x as oe } from "./field-classification-D6xQYn-h.js";
|
|
5
|
+
import { m as se, p as ce } from "./action-dispatch-CR4ajBtT.js";
|
|
6
|
+
import { o as le } from "./cardProjection-CW5RIMko.js";
|
|
7
7
|
import { n as ue, r as de, t as fe } from "./dataTableStyles-vwD1mVOP.js";
|
|
8
8
|
import { Suspense as pe, createContext as me, lazy as he, useCallback as U, useContext as ge, useEffect as W, useId as _e, useLayoutEffect as ve, useMemo as G, useRef as K, useState as q } from "react";
|
|
9
9
|
import { useInfiniteQuery as ye, useMutation as be, useQueryClient as xe } from "@tanstack/react-query";
|
|
@@ -1417,7 +1417,7 @@ function yt({ config: e, parentEntity: t, parentId: n, schema: r }) {
|
|
|
1417
1417
|
W(() => {
|
|
1418
1418
|
x.current = !1, S.current = 0, C.current = null, w.current = null, T.current = !0, D.current = null;
|
|
1419
1419
|
}, [n]), ve(() => {
|
|
1420
|
-
|
|
1420
|
+
l && y.current && (D.current = {
|
|
1421
1421
|
scrollHeight: y.current.scrollHeight,
|
|
1422
1422
|
scrollTop: y.current.scrollTop
|
|
1423
1423
|
});
|
|
@@ -2316,7 +2316,7 @@ function Dt({ config: t, childEntity: r, schema: a, rows: o, onChange: s, valida
|
|
|
2316
2316
|
}
|
|
2317
2317
|
//#endregion
|
|
2318
2318
|
//#region src/components/detail-layout/ChildrenBlock.tsx
|
|
2319
|
-
var Ot = he(() => import("./DraggableChildrenTable-
|
|
2319
|
+
var Ot = he(() => import("./DraggableChildrenTable-BV5sb8Uo.js").then((e) => ({ default: e.DraggableChildrenTable })));
|
|
2320
2320
|
function kt({ node: e, ctx: n }) {
|
|
2321
2321
|
let r = u(), i = e.children;
|
|
2322
2322
|
if (!i) return null;
|
|
@@ -2879,7 +2879,7 @@ function Xt(e) {
|
|
|
2879
2879
|
}
|
|
2880
2880
|
//#endregion
|
|
2881
2881
|
//#region src/components/detail-layout/widgets/JsonDiffWidget.tsx
|
|
2882
|
-
var Zt = "Audit change diff", Qt = he(() => import("./MonacoJson-BG3S3GHX.js").then((e) => ({ default: e.MonacoJsonDiff }))), $t = he(() => import("./MonacoJson-BG3S3GHX.js").then((e) => ({ default: e.MonacoJsonSource }))), en = he(() => import("./JsonEditor-
|
|
2882
|
+
var Zt = "Audit change diff", Qt = he(() => import("./MonacoJson-BG3S3GHX.js").then((e) => ({ default: e.MonacoJsonDiff }))), $t = he(() => import("./MonacoJson-BG3S3GHX.js").then((e) => ({ default: e.MonacoJsonSource }))), en = he(() => import("./JsonEditor-Dz1PQHC8.js").then((e) => ({ default: e.JsonEditor })));
|
|
2883
2883
|
function tn() {
|
|
2884
2884
|
return /* @__PURE__ */ Y("div", {
|
|
2885
2885
|
className: "flex h-full w-full items-center justify-center text-sm text-muted-foreground",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { er as e, mr as t, nr as n, zr as r } from "./useCurrentScreen-
|
|
1
|
+
import { er as e, mr as t, nr as n, zr as r } from "./useCurrentScreen-CzwzQpoW.js";
|
|
2
2
|
import { t as i } from "./Check-DAfMbQIw.js";
|
|
3
|
-
import { f as a, m as o, p as s, r as c } from "./action-dispatch-
|
|
4
|
-
import { t as l } from "./cardProjection-
|
|
5
|
-
import { t as u } from "./SmartListPage.impl-
|
|
3
|
+
import { f as a, m as o, p as s, r as c } from "./action-dispatch-CR4ajBtT.js";
|
|
4
|
+
import { t as l } from "./cardProjection-CW5RIMko.js";
|
|
5
|
+
import { t as u } from "./SmartListPage.impl-CrGbdzyK.js";
|
|
6
6
|
import { jsx as d, jsxs as f } from "react/jsx-runtime";
|
|
7
7
|
//#region src/components/pages/list/ListCardRow.tsx
|
|
8
8
|
function p(e, t, r) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Tt as e, ft as t } from "./useCurrentScreen-
|
|
1
|
+
import { Tt as e, ft as t } from "./useCurrentScreen-CzwzQpoW.js";
|
|
2
2
|
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
3
3
|
import i, { defaultUrlTransform as a } from "react-markdown";
|
|
4
4
|
import o from "remark-breaks";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { s as e } from "./DynamicIcon-DW5krHuX.js";
|
|
2
|
-
import { Br as t, Gt as n, Mr as r, Nr as i, Or as a, Vt as o, zr as s } from "./useCurrentScreen-
|
|
3
|
-
import { D as c, b as l, c as u } from "./field-classification-
|
|
2
|
+
import { Br as t, Gt as n, Mr as r, Nr as i, Or as a, Vt as o, zr as s } from "./useCurrentScreen-CzwzQpoW.js";
|
|
3
|
+
import { D as c, b as l, c as u } from "./field-classification-D6xQYn-h.js";
|
|
4
4
|
import { useCallback as d, useEffect as f, useId as p, useMemo as m, useRef as h, useState as g } from "react";
|
|
5
5
|
import { useLocation as _ } from "react-router";
|
|
6
6
|
import { Fragment as v, jsx as y, jsxs as b } from "react/jsx-runtime";
|
|
@@ -104,7 +104,7 @@ function D(e, t) {
|
|
|
104
104
|
onFocus: () => _(!0),
|
|
105
105
|
onBlur: v,
|
|
106
106
|
onPointerUp: (e) => {
|
|
107
|
-
e.pointerType
|
|
107
|
+
e.pointerType !== "mouse" && t && (u(), r((e) => !e));
|
|
108
108
|
}
|
|
109
109
|
},
|
|
110
110
|
describedBy: n && t ? l : void 0,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { s as e, t } from "./DynamicIcon-DW5krHuX.js";
|
|
2
|
-
import { $n as n, Bn as r, Br as i, Ct as a, Mr as o, Mt as s, Or as c, Qn as l, V as u, Vr as d, Vt as f, Xn as p, Xt as m, Z as h, Zn as g, at as ee, b as _, dn as v, en as y, er as b, et as te, fr as x, i as S, in as C, ir as w, mr as T, nr as E, or as ne, pr as re, q as D, rn as O, rt as k, st as ie, tr as ae, tt as A, un as oe, wt as se, y as j, zr as M, zt as ce } from "./useCurrentScreen-
|
|
3
|
-
import { _ as N, m as P, r as le, s as ue, t as de } from "./RefreshControl-
|
|
4
|
-
import { a as fe, f as pe, i as me } from "./registry-
|
|
2
|
+
import { $n as n, Bn as r, Br as i, Ct as a, Mr as o, Mt as s, Or as c, Qn as l, V as u, Vr as d, Vt as f, Xn as p, Xt as m, Z as h, Zn as g, at as ee, b as _, dn as v, en as y, er as b, et as te, fr as x, i as S, in as C, ir as w, mr as T, nr as E, or as ne, pr as re, q as D, rn as O, rt as k, st as ie, tr as ae, tt as A, un as oe, wt as se, y as j, zr as M, zt as ce } from "./useCurrentScreen-CzwzQpoW.js";
|
|
3
|
+
import { _ as N, m as P, r as le, s as ue, t as de } from "./RefreshControl-CNtN8zSl.js";
|
|
4
|
+
import { a as fe, f as pe, i as me } from "./registry-CjgUaF7C.js";
|
|
5
5
|
import { t as he } from "./RecordIdBadge-CGxPR-8q.js";
|
|
6
|
-
import { D as ge, M as _e, O as ve, T as ye, b as be, f as xe, g as Se, l as Ce, p as we, u as Te } from "./field-classification-
|
|
7
|
-
import { c as Ee, f as De, h as Oe, m as ke, o as Ae, p as je, r as Me, t as Ne, u as Pe } from "./action-dispatch-
|
|
8
|
-
import { a as Fe, c as Ie, s as Le, t as Re } from "./cardProjection-
|
|
6
|
+
import { D as ge, M as _e, O as ve, T as ye, b as be, f as xe, g as Se, l as Ce, p as we, u as Te } from "./field-classification-D6xQYn-h.js";
|
|
7
|
+
import { c as Ee, f as De, h as Oe, m as ke, o as Ae, p as je, r as Me, t as Ne, u as Pe } from "./action-dispatch-CR4ajBtT.js";
|
|
8
|
+
import { a as Fe, c as Ie, s as Le, t as Re } from "./cardProjection-CW5RIMko.js";
|
|
9
9
|
import { n as ze, r as Be, t as Ve } from "./dataTableStyles-vwD1mVOP.js";
|
|
10
|
-
import { a as He, i as Ue, o as We, r as Ge, s as Ke } from "./peekDraftStore-
|
|
11
|
-
import { n as qe, t as Je } from "./LayoutRenderer-
|
|
10
|
+
import { a as He, i as Ue, o as We, r as Ge, s as Ke } from "./peekDraftStore-5wQ7lq_V.js";
|
|
11
|
+
import { n as qe, t as Je } from "./LayoutRenderer-C9AH9cXf.js";
|
|
12
12
|
import { Fragment as Ye, useCallback as F, useEffect as I, useMemo as L, useRef as Xe, useState as R } from "react";
|
|
13
13
|
import { useLocation as Ze, useParams as Qe, useSearchParams as $e } from "react-router";
|
|
14
14
|
import { useQuery as z, useQueryClient as et } from "@tanstack/react-query";
|
|
@@ -1012,7 +1012,7 @@ function Tt({ screenCode: t }) {
|
|
|
1012
1012
|
return e;
|
|
1013
1013
|
}, [T, ht]);
|
|
1014
1014
|
I(() => {
|
|
1015
|
-
if (
|
|
1015
|
+
if (Ue && Y && T && k) {
|
|
1016
1016
|
if (Ke || Ye(!0), Object.keys(z).length === 0) {
|
|
1017
1017
|
let e = M ? Ge(M) : null;
|
|
1018
1018
|
if (e) {
|
|
@@ -1068,7 +1068,7 @@ function Tt({ screenCode: t }) {
|
|
|
1068
1068
|
W,
|
|
1069
1069
|
m
|
|
1070
1070
|
]), I(() => {
|
|
1071
|
-
|
|
1071
|
+
N && O && T?.children && T.children.length !== 0 && W === void 0 && (G({}), K({}));
|
|
1072
1072
|
}, [
|
|
1073
1073
|
N,
|
|
1074
1074
|
O,
|
|
@@ -1202,7 +1202,7 @@ function Tt({ screenCode: t }) {
|
|
|
1202
1202
|
[e]: t
|
|
1203
1203
|
}));
|
|
1204
1204
|
}, []), Qt = F(() => {
|
|
1205
|
-
|
|
1205
|
+
P && !N && A && Ne.mutate(P);
|
|
1206
1206
|
}, [
|
|
1207
1207
|
P,
|
|
1208
1208
|
N,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { s as e } from "./DynamicIcon-DW5krHuX.js";
|
|
2
|
-
import { $n as t, Bn as n, Br as r, Er as i, Et as a, G as o, H as s, Ht as c, J as l, K as u, Kn as d, Lr as f, Mr as p, Or as m, Qn as h, R as g, Rr as _, U as v, V as y, Vr as b, Vt as x, Xt as S, Yn as C, Zn as w, _ as T, _t as E, ar as D, at as O, b as ee, dn as te, en as ne, er as k, et as re, g as A, h as j, i as M, jt as ie, kr as N, lr as P, m as F, mr as I, nr as L, nt as ae, p as R, qn as oe, rn as se, rt as ce, tn as le, tr as ue, un as de, v as fe, z as pe, zr as me } from "./useCurrentScreen-
|
|
3
|
-
import { a as he, i as ge, m as _e, s as ve, t as ye } from "./RefreshControl-
|
|
2
|
+
import { $n as t, Bn as n, Br as r, Er as i, Et as a, G as o, H as s, Ht as c, J as l, K as u, Kn as d, Lr as f, Mr as p, Or as m, Qn as h, R as g, Rr as _, U as v, V as y, Vr as b, Vt as x, Xt as S, Yn as C, Zn as w, _ as T, _t as E, ar as D, at as O, b as ee, dn as te, en as ne, er as k, et as re, g as A, h as j, i as M, jt as ie, kr as N, lr as P, m as F, mr as I, nr as L, nt as ae, p as R, qn as oe, rn as se, rt as ce, tn as le, tr as ue, un as de, v as fe, z as pe, zr as me } from "./useCurrentScreen-CzwzQpoW.js";
|
|
3
|
+
import { a as he, i as ge, m as _e, s as ve, t as ye } from "./RefreshControl-CNtN8zSl.js";
|
|
4
4
|
import { t as be } from "./Check-DAfMbQIw.js";
|
|
5
|
-
import { C as xe, M as Se, O as Ce, P as we, T as Te, l as Ee, n as De, p as Oe, u as ke, x as Ae } from "./field-classification-
|
|
6
|
-
import { a as je, c as Me, f as Ne, h as Pe, l as Fe, m as Ie, n as Le, o as Re, p as ze, r as Be, t as Ve } from "./action-dispatch-
|
|
7
|
-
import { c as He, i as Ue, n as We, o as Ge, r as Ke, s as qe, t as Je } from "./cardProjection-
|
|
8
|
-
import { a as Ye, c as Xe, d as Ze, f as Qe, l as $e, o as et, p as tt, s as nt, t as rt, u as z } from "./format-count-
|
|
9
|
-
import { l as it, m as at, n as ot, t as st } from "./useTabSearchMirror-
|
|
10
|
-
import { a as ct, c as lt, i as ut, n as dt, o as B, s as ft, t as pt } from "./peekDraftStore-
|
|
11
|
-
import { t as mt } from "./useListQuery-
|
|
5
|
+
import { C as xe, M as Se, O as Ce, P as we, T as Te, l as Ee, n as De, p as Oe, u as ke, x as Ae } from "./field-classification-D6xQYn-h.js";
|
|
6
|
+
import { a as je, c as Me, f as Ne, h as Pe, l as Fe, m as Ie, n as Le, o as Re, p as ze, r as Be, t as Ve } from "./action-dispatch-CR4ajBtT.js";
|
|
7
|
+
import { c as He, i as Ue, n as We, o as Ge, r as Ke, s as qe, t as Je } from "./cardProjection-CW5RIMko.js";
|
|
8
|
+
import { a as Ye, c as Xe, d as Ze, f as Qe, l as $e, o as et, p as tt, s as nt, t as rt, u as z } from "./format-count-Dobmi-Ji.js";
|
|
9
|
+
import { l as it, m as at, n as ot, t as st } from "./useTabSearchMirror-C39U85cg.js";
|
|
10
|
+
import { a as ct, c as lt, i as ut, n as dt, o as B, s as ft, t as pt } from "./peekDraftStore-5wQ7lq_V.js";
|
|
11
|
+
import { t as mt } from "./useListQuery-D7Hr5WM1.js";
|
|
12
12
|
import { Suspense as ht, createElement as V, lazy as gt, memo as H, useCallback as U, useEffect as W, useMemo as G, useRef as K, useState as q } from "react";
|
|
13
13
|
import { useSearchParams as _t } from "react-router";
|
|
14
14
|
import { useQueries as vt, useQueryClient as yt } from "@tanstack/react-query";
|
|
@@ -443,7 +443,7 @@ function Jt(e, t) {
|
|
|
443
443
|
}
|
|
444
444
|
//#endregion
|
|
445
445
|
//#region src/components/pages/list/ListTable.tsx
|
|
446
|
-
var Yt = gt(() => import("./SortHeaderMenu-
|
|
446
|
+
var Yt = gt(() => import("./SortHeaderMenu-SYSAaqQJ.js").then((e) => ({ default: e.SortHeaderMenu }))), Xt = H(function({ virtualItems: e, topPad: t, bottomPad: n, colSpan: r, rows: i, renderRow: a }) {
|
|
447
447
|
return /* @__PURE__ */ X("tbody", { children: [
|
|
448
448
|
e.length > 0 && /* @__PURE__ */ Y("tr", { children: /* @__PURE__ */ Y("td", {
|
|
449
449
|
style: { height: t },
|
|
@@ -1284,7 +1284,7 @@ function fn({ screenCode: e, screen: t, searchParams: n, setSearchParams: r, use
|
|
|
1284
1284
|
t?.default_columns,
|
|
1285
1285
|
t?.columns
|
|
1286
1286
|
]), b = U(async () => {
|
|
1287
|
-
|
|
1287
|
+
p?.id && p.source === "personal" && (await h.mutateAsync({
|
|
1288
1288
|
pkValues: p.id,
|
|
1289
1289
|
data: {
|
|
1290
1290
|
filters: s,
|
|
@@ -2203,7 +2203,7 @@ function On({ visibleCols: e, onReorder: t, scrollElRef: n, theadRef: r }) {
|
|
|
2203
2203
|
}
|
|
2204
2204
|
//#endregion
|
|
2205
2205
|
//#region src/components/pages/SmartListPage.impl.tsx
|
|
2206
|
-
var kn = gt(() => import("./ListCardsBody-
|
|
2206
|
+
var kn = gt(() => import("./ListCardsBody-DXcDg536.js").then((e) => ({ default: e.ListCardsBody })));
|
|
2207
2207
|
function An({ screenCode: e }) {
|
|
2208
2208
|
return /* @__PURE__ */ Y(ce, { children: /* @__PURE__ */ Y(jn, { screenCode: e }) });
|
|
2209
2209
|
}
|
package/dist-lib/{SmartRecordListPage.impl-BmHGYbD9.js → SmartRecordListPage.impl-Bkl9aZJ8.js}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { s as e } from "./DynamicIcon-DW5krHuX.js";
|
|
2
|
-
import { $n as t, Br as n, Cr as r, Er as i, Mr as a, Or as o, Vr as s, Zn as c, _t as l, at as u, dr as d, er as f, et as p, jt as m, mr as ee, nr as h, rt as g, un as _, v as te } from "./useCurrentScreen-
|
|
3
|
-
import { a as v } from "./registry-
|
|
4
|
-
import { T as ne, l as re, p as y } from "./field-classification-
|
|
5
|
-
import { f as b, h as x, p as S, u as ie } from "./action-dispatch-
|
|
6
|
-
import { a as C, c as w, n as T, s as E, t as D } from "./cardProjection-
|
|
7
|
-
import { n as ae, r as O } from "./useProperties-
|
|
8
|
-
import { c as k, f as A, h as j, m as M, n as oe, t as se } from "./useTabSearchMirror-
|
|
9
|
-
import { t as N } from "./LayoutRenderer-
|
|
10
|
-
import { t as P } from "./useListQuery-
|
|
2
|
+
import { $n as t, Br as n, Cr as r, Er as i, Mr as a, Or as o, Vr as s, Zn as c, _t as l, at as u, dr as d, er as f, et as p, jt as m, mr as ee, nr as h, rt as g, un as _, v as te } from "./useCurrentScreen-CzwzQpoW.js";
|
|
3
|
+
import { a as v } from "./registry-CjgUaF7C.js";
|
|
4
|
+
import { T as ne, l as re, p as y } from "./field-classification-D6xQYn-h.js";
|
|
5
|
+
import { f as b, h as x, p as S, u as ie } from "./action-dispatch-CR4ajBtT.js";
|
|
6
|
+
import { a as C, c as w, n as T, s as E, t as D } from "./cardProjection-CW5RIMko.js";
|
|
7
|
+
import { n as ae, r as O } from "./useProperties-CqtCzFCr.js";
|
|
8
|
+
import { c as k, f as A, h as j, m as M, n as oe, t as se } from "./useTabSearchMirror-C39U85cg.js";
|
|
9
|
+
import { t as N } from "./LayoutRenderer-C9AH9cXf.js";
|
|
10
|
+
import { t as P } from "./useListQuery-D7Hr5WM1.js";
|
|
11
11
|
import { useCallback as F, useEffect as I, useMemo as L, useRef as R, useState as z } from "react";
|
|
12
12
|
import { useSearchParams as ce } from "react-router";
|
|
13
13
|
import { Fragment as B, jsx as V, jsxs as H } from "react/jsx-runtime";
|
|
@@ -72,7 +72,7 @@ function U({ screenCode: o }) {
|
|
|
72
72
|
}, { replace: !0 });
|
|
73
73
|
}, [c]), Y = (f?.list_resizable ?? !1) && w === "split" && d.category !== "phone" && !d.touch, X = R(null), [Z, Q] = z(null), me = R(!1), $ = f?.list_width;
|
|
74
74
|
I(() => {
|
|
75
|
-
|
|
75
|
+
Y && $?.endsWith("%") && Q(null);
|
|
76
76
|
}, [
|
|
77
77
|
Y,
|
|
78
78
|
$,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { s as e } from "./DynamicIcon-DW5krHuX.js";
|
|
2
|
-
import { Lr as t, kr as n } from "./useCurrentScreen-
|
|
2
|
+
import { Lr as t, kr as n } from "./useCurrentScreen-CzwzQpoW.js";
|
|
3
3
|
import { useRef as r, useState as i } from "react";
|
|
4
4
|
import { Fragment as a, jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
5
5
|
//#region src/components/pages/list/SortHeaderMenu.tsx
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { s as e, t } from "./DynamicIcon-DW5krHuX.js";
|
|
2
|
-
import { $n as n, B as r, Br as i, F as a, Lr as o, Or as s, P as c, Q as l, Vr as u, X as d, ct as f, dt as p, it as m, kr as h, lt as g, mt as _, nr as v, ot as y, st as b, tt as x, ut as S } from "./useCurrentScreen-
|
|
3
|
-
import { a as C, c as w, d as T, f as E, i as D, l as O, n as ee, o as k, p as A, r as te, s as j, t as M, u as N } from "./value-
|
|
2
|
+
import { $n as n, B as r, Br as i, F as a, Lr as o, Or as s, P as c, Q as l, Vr as u, X as d, ct as f, dt as p, it as m, kr as h, lt as g, mt as _, nr as v, ot as y, st as b, tt as x, ut as S } from "./useCurrentScreen-CzwzQpoW.js";
|
|
3
|
+
import { a as C, c as w, d as T, f as E, i as D, l as O, n as ee, o as k, p as A, r as te, s as j, t as M, u as N } from "./value-Bo8C8WMU.js";
|
|
4
4
|
import { Fragment as P, Suspense as F, lazy as I, useCallback as L, useEffect as R, useLayoutEffect as z, useMemo as ne, useRef as B, useState as V } from "react";
|
|
5
5
|
import { Fragment as H, jsx as U, jsxs as W } from "react/jsx-runtime";
|
|
6
6
|
//#region src/components/file-widgets/registry.ts
|
|
@@ -311,7 +311,7 @@ function fe(e) {
|
|
|
311
311
|
let t = e.replace(/\s/g, "").match(/^(\d+(?:\.\d+)?)[:/](\d+(?:\.\d+)?)$/);
|
|
312
312
|
if (!t) return;
|
|
313
313
|
let n = Number(t[1]), r = Number(t[2]);
|
|
314
|
-
if (
|
|
314
|
+
if (n && r) return n / r;
|
|
315
315
|
}
|
|
316
316
|
function pe({ shape: e, label: t, placeholder: n }) {
|
|
317
317
|
return n === "initials" ? /* @__PURE__ */ U("div", {
|
|
@@ -396,7 +396,7 @@ function X(e) {
|
|
|
396
396
|
}
|
|
397
397
|
//#endregion
|
|
398
398
|
//#region src/components/file-widgets/GridLazy.tsx
|
|
399
|
-
var _e = I(() => import("./Grid-
|
|
399
|
+
var _e = I(() => import("./Grid-DWgUPuZ3.js").then((e) => ({ default: e.Grid })));
|
|
400
400
|
function Z() {
|
|
401
401
|
return /* @__PURE__ */ U("div", { className: "h-24 w-full rounded-md bg-muted animate-pulse" });
|
|
402
402
|
}
|
|
@@ -503,7 +503,7 @@ function be(e) {
|
|
|
503
503
|
}, [u]), re = L(() => {
|
|
504
504
|
l && F(l.id, "download", k(l));
|
|
505
505
|
}, [l, F]), ie = l ? C(l) : !1, J = L(() => {
|
|
506
|
-
|
|
506
|
+
l && C(l) && F(l.id, "preview", N(l));
|
|
507
507
|
}, [l, F]), ae = L(() => {
|
|
508
508
|
if (!l) {
|
|
509
509
|
w(!1);
|
|
@@ -1574,7 +1574,7 @@ function mt({ layout: t, entityActions: n, globalActions: r, onRun: i, reservedR
|
|
|
1574
1574
|
s
|
|
1575
1575
|
]);
|
|
1576
1576
|
if (R(() => {
|
|
1577
|
-
|
|
1577
|
+
(S || j) && (F.current = new Set([
|
|
1578
1578
|
...G.primaryInline,
|
|
1579
1579
|
...G.inline,
|
|
1580
1580
|
...G.destructiveInline
|
package/dist-lib/api/auth.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CheckSetupResponse, LoginResponse, AuthUser, Tenant, SSOProvider } from "../types/api";
|
|
1
|
+
import type { CheckSetupResponse, LoginResponse, AuthUser, Tenant, SSOProvider } from "../types/api.d.ts";
|
|
2
2
|
export declare function checkSetup(): Promise<CheckSetupResponse>;
|
|
3
3
|
export declare function login(email: string, password: string, remember?: boolean): Promise<LoginResponse>;
|
|
4
4
|
export declare function signup(email: string, password: string, displayName: string): Promise<LoginResponse>;
|
package/dist-lib/api/batch.d.ts
CHANGED
package/dist-lib/api/data.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { ApiErrorBody, ListParams, ListResponse, DataResponse } from "../types/api";
|
|
2
|
-
import type { PkValues } from "../types/schema";
|
|
3
|
-
import type { ExportRequest } from "../components/pages/exportRequest";
|
|
1
|
+
import type { ApiErrorBody, ListParams, ListResponse, DataResponse } from "../types/api.d.ts";
|
|
2
|
+
import type { PkValues } from "../types/schema.d.ts";
|
|
3
|
+
import type { ExportRequest } from "../components/pages/exportRequest.d.ts";
|
|
4
4
|
export declare function listEntities(entity: string, params?: ListParams, options?: {
|
|
5
5
|
signal?: AbortSignal;
|
|
6
6
|
}): Promise<ListResponse>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Refs, V2ListParams, V2Meta, V2StatusInstance, V2PropertyInstance, EnrichedRow } from "../types/api";
|
|
1
|
+
import type { Refs, V2ListParams, V2Meta, V2StatusInstance, V2PropertyInstance, EnrichedRow } from "../types/api.d.ts";
|
|
2
2
|
/** Helper methods injected onto enriched rows. */
|
|
3
3
|
export interface RowHelpers {
|
|
4
4
|
$status(groupCode: string): V2StatusInstance | undefined;
|
package/dist-lib/api/params.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ParamLookup, PublicParamsResponse, ResolvedParam } from "../types/api";
|
|
1
|
+
import type { ParamLookup, PublicParamsResponse, ResolvedParam } from "../types/api.d.ts";
|
|
2
2
|
/**
|
|
3
3
|
* Fetches the full pre-login envelope from /api/params/public:
|
|
4
4
|
* {parameters, accents, meta}. Used by AuthShell to theme
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { PropertyValue } from "../types/api";
|
|
1
|
+
import type { PropertyValue } from "../types/api.d.ts";
|
|
2
2
|
export declare function setObjectProperty(entity: string, id: string, propertyCode: string, value: unknown): Promise<PropertyValue>;
|
|
3
3
|
export declare function deleteObjectProperty(entity: string, id: string, propertyCode: string): Promise<void>;
|
package/dist-lib/api/schema.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { Schema } from "../types/schema";
|
|
1
|
+
import type { Schema } from "../types/schema.d.ts";
|
|
2
2
|
export declare function fetchSchema(): Promise<Schema>;
|
package/dist-lib/api/status.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { StatusInfo } from "../types/api";
|
|
1
|
+
import type { StatusInfo } from "../types/api.d.ts";
|
|
2
2
|
export declare function setObjectStatus(entity: string, id: string, groupCode: string, statusCode: string, note?: string): Promise<StatusInfo>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { h as e, mt as t, pt as n, tr as r } from "./useCurrentScreen-
|
|
2
|
-
import { d as i, f as a, u as o } from "./action-dispatch-
|
|
1
|
+
import { h as e, mt as t, pt as n, tr as r } from "./useCurrentScreen-CzwzQpoW.js";
|
|
2
|
+
import { d as i, f as a, u as o } from "./action-dispatch-CR4ajBtT.js";
|
|
3
3
|
import { Fragment as s, jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
4
4
|
//#region src/components/file-widgets/payload.ts
|
|
5
5
|
function u(e) {
|
|
@@ -363,7 +363,7 @@ function N(e, t, n) {
|
|
|
363
363
|
}
|
|
364
364
|
function P(e) {
|
|
365
365
|
let t = new $(), n = [], r = (r, i) => {
|
|
366
|
-
|
|
366
|
+
r && !t.has(r) && (t.add(r), n.push({
|
|
367
367
|
field: r,
|
|
368
368
|
bucket: i,
|
|
369
369
|
explicit: e.explicit
|
|
@@ -436,7 +436,7 @@ function L(e, t, n) {
|
|
|
436
436
|
if (t === "$evidence") return e.evidence_covered ? t : void 0;
|
|
437
437
|
if (t.startsWith("$")) return;
|
|
438
438
|
let r = e.fields.get(t), i = e.files?.get(t);
|
|
439
|
-
if (
|
|
439
|
+
if ((r || i) && (n.explicit || !(r && r.display?.is_listable === !1) && !(i && i.display?.is_listable === !1))) return t;
|
|
440
440
|
}
|
|
441
441
|
function R(e, t, n) {
|
|
442
442
|
return t.find((t) => n.exclude?.has(t) || !n.allowAuto && G(e, t) || !n.allowLong && K(e, t) ? !1 : W(e, t));
|
|
@@ -572,7 +572,7 @@ function pe(e, t, n, r) {
|
|
|
572
572
|
}
|
|
573
573
|
function me(e, t, n) {
|
|
574
574
|
if (Array.isArray(e)) {
|
|
575
|
-
for (let r of e) if (
|
|
575
|
+
for (let r of e) if (r && typeof r == "object") {
|
|
576
576
|
if ("section" in r) {
|
|
577
577
|
let e = r.section, i = Y(e?.name);
|
|
578
578
|
i && t.has(i) && J(e?.items, n);
|
|
@@ -584,7 +584,7 @@ function me(e, t, n) {
|
|
|
584
584
|
}
|
|
585
585
|
function J(e, t) {
|
|
586
586
|
if (Array.isArray(e)) {
|
|
587
|
-
for (let n of e) if (
|
|
587
|
+
for (let n of e) if (n && typeof n == "object") {
|
|
588
588
|
if ("fields" in n) {
|
|
589
589
|
let e = n.fields;
|
|
590
590
|
if (Array.isArray(e)) {
|
|
@@ -612,7 +612,7 @@ function he(e) {
|
|
|
612
612
|
for (let [n, r] of e.fields) {
|
|
613
613
|
if (r.primary || r.auto || r.ref || r.array || r.structure || r.display?.is_listable === !1) continue;
|
|
614
614
|
let e = (r.type || "").toLowerCase(), i = !!(r.enum || r.values);
|
|
615
|
-
if (
|
|
615
|
+
if ((ae.has(e) || i) && (t.push(n), t.length >= 8)) break;
|
|
616
616
|
}
|
|
617
617
|
return t;
|
|
618
618
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ReactNode } from "react";
|
|
2
|
-
import { type Action } from "../../types/schema";
|
|
2
|
+
import { type Action } from "../../types/schema.d.ts";
|
|
3
3
|
export interface RunActionOptions {
|
|
4
4
|
/** Full YAML action when available; drives destructive/long_running/resolved_params. */
|
|
5
5
|
action?: Action;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type ReactNode } from "react";
|
|
2
|
-
import { type ResolvedActionLayoutNode } from "../../lib/actions";
|
|
3
|
-
import { type Action } from "../../types/schema";
|
|
4
|
-
import { type WidgetContext } from "./ResponsiveActionBar";
|
|
2
|
+
import { type ResolvedActionLayoutNode } from "../../lib/actions.d.ts";
|
|
3
|
+
import { type Action } from "../../types/schema.d.ts";
|
|
4
|
+
import { type WidgetContext } from "./ResponsiveActionBar.d.ts";
|
|
5
5
|
export type ObjectActionBarSlot = "detail" | "detail_toolbar" | "list_row" | "quick_peek";
|
|
6
6
|
export type ObjectActionSelection = {
|
|
7
7
|
include: string[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Entity } from "../../types/schema";
|
|
2
|
-
import type { MassEditTarget } from "../../lib/mass-edit";
|
|
1
|
+
import type { Entity } from "../../types/schema.d.ts";
|
|
2
|
+
import type { MassEditTarget } from "../../lib/mass-edit.d.ts";
|
|
3
3
|
/** Raw patch shape: field codes + optional $statuses / $properties subresource arrays. */
|
|
4
4
|
export type PatchMap = Record<string, unknown>;
|
|
5
5
|
interface PropertyGridEditorProps {
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
* Renders as a single kebab "⋮" dropdown. No inline measurement.
|
|
24
24
|
* Destructive items land at the bottom of the dropdown with a separator.
|
|
25
25
|
*/
|
|
26
|
-
import type { Action, Entity, Screen } from "../../types/schema";
|
|
27
|
-
import type { ResolvedActionLayoutNode, ResolvedActionLeaf } from "../../lib/actions";
|
|
26
|
+
import type { Action, Entity, Screen } from "../../types/schema.d.ts";
|
|
27
|
+
import type { ResolvedActionLayoutNode, ResolvedActionLeaf } from "../../lib/actions.d.ts";
|
|
28
28
|
/**
|
|
29
29
|
* Action-trigger callback. Returns a promise when the caller dispatches an
|
|
30
30
|
* awaitable action (direct-run via ActionRunner); the bar awaits it so the
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ReactNode } from "react";
|
|
2
|
-
import type { LayoutNode, Schema } from "../../types/schema";
|
|
3
|
-
import { type ResolvedChildConfig } from "../../lib/child-config";
|
|
2
|
+
import type { LayoutNode, Schema } from "../../types/schema.d.ts";
|
|
3
|
+
import { type ResolvedChildConfig } from "../../lib/child-config.d.ts";
|
|
4
4
|
import type { LayoutContext } from "./LayoutRenderer";
|
|
5
5
|
interface ChildrenBlockProps {
|
|
6
6
|
node: LayoutNode;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Entity, Schema, Screen } from "../../types/schema";
|
|
2
|
-
import type { Refs } from "../fields";
|
|
1
|
+
import type { Entity, Schema, Screen } from "../../types/schema.d.ts";
|
|
2
|
+
import type { Refs } from "../fields/index.d.ts";
|
|
3
3
|
interface DetailAuditStripProps {
|
|
4
4
|
screen: Screen;
|
|
5
5
|
entity: Entity;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { Entity, Schema, Screen } from "../../types/schema";
|
|
2
|
-
import type { StatusInfo } from "../../types/api";
|
|
3
|
-
import type { Refs } from "../fields";
|
|
1
|
+
import type { Entity, Schema, Screen } from "../../types/schema.d.ts";
|
|
2
|
+
import type { StatusInfo } from "../../types/api.d.ts";
|
|
3
|
+
import type { Refs } from "../fields/index.d.ts";
|
|
4
4
|
interface DetailHighlightsProps {
|
|
5
5
|
screen: Screen;
|
|
6
6
|
entity: Entity;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { Entity, Schema } from "../../types/schema";
|
|
2
|
-
import type { Refs } from "../fields";
|
|
1
|
+
import type { Entity, Schema } from "../../types/schema.d.ts";
|
|
2
|
+
import type { Refs } from "../fields/index.d.ts";
|
|
3
3
|
import type { PendingChildRow } from "./LayoutRenderer";
|
|
4
|
-
import type { ResolvedChildConfig } from "../../lib/child-config";
|
|
4
|
+
import type { ResolvedChildConfig } from "../../lib/child-config.d.ts";
|
|
5
5
|
interface DraggableChildrenTableProps {
|
|
6
6
|
config: ResolvedChildConfig;
|
|
7
7
|
childEntity: Entity;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { Entity, Schema } from "../../types/schema";
|
|
2
|
-
import type { Refs } from "../fields";
|
|
1
|
+
import type { Entity, Schema } from "../../types/schema.d.ts";
|
|
2
|
+
import type { Refs } from "../fields/index.d.ts";
|
|
3
3
|
import type { PendingChildRow } from "./LayoutRenderer";
|
|
4
|
-
import type { ResolvedChildConfig } from "../../lib/child-config";
|
|
4
|
+
import type { ResolvedChildConfig } from "../../lib/child-config.d.ts";
|
|
5
5
|
interface EditableChildrenTableProps {
|
|
6
6
|
config: ResolvedChildConfig;
|
|
7
7
|
childEntity: Entity;
|