@declarion/react 0.48.2 → 0.50.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/Check-DAfMbQIw.js +38 -0
- package/dist-lib/{DraggableChildrenTable-p2ZSdwzj.js → DraggableChildrenTable-Dar8C-Z9.js} +31 -31
- package/dist-lib/DynamicIcon-DW5krHuX.js +280 -0
- package/dist-lib/{Grid-CjLFAKMZ.js → Grid-BkHtfsty.js} +2 -2
- package/dist-lib/{LayoutRenderer-DCscqXsv.js → LayoutRenderer-Cic7IAop.js} +601 -598
- package/dist-lib/ListCardsBody-Dko91bLv.js +287 -0
- package/dist-lib/{MarkdownRenderer-Sb7zcvj0.js → MarkdownRenderer-CJrVG5HZ.js} +1 -1
- package/dist-lib/RefreshControl-BS8WWL8i.js +430 -0
- package/dist-lib/{SmartDetailPage.impl-BAW-Tx_H.js → SmartDetailPage.impl-DxRDo0p2.js} +521 -516
- package/dist-lib/SmartListPage.impl-CNdq5Vts.js +2849 -0
- package/dist-lib/{SmartRecordListPage.impl-DtSSlGrI.js → SmartRecordListPage.impl-3ct7f4rT.js} +244 -241
- package/dist-lib/SortHeaderMenu-NgjkW8QZ.js +106 -0
- package/dist-lib/action-dispatch-hVrm3Hrg.js +1984 -0
- package/dist-lib/api/batch.d.ts +5 -2
- package/dist-lib/api/data.d.ts +35 -4
- package/dist-lib/api/entities.d.ts +3 -3
- package/dist-lib/cardProjection-BR-fXPvJ.js +757 -0
- package/dist-lib/components/{shared → actions}/ObjectActionBar.d.ts +1 -1
- package/dist-lib/components/{shared → actions}/ResponsiveActionBar.d.ts +1 -1
- package/dist-lib/components/fields/cells/factories/date.d.ts +2 -0
- package/dist-lib/components/file-widgets/upload.d.ts +6 -1
- package/dist-lib/components/layout/Layout.d.ts +1 -1
- package/dist-lib/components/layout/TopBar.d.ts +1 -1
- package/dist-lib/components/pages/SmartListPage.d.ts +2 -12
- package/dist-lib/components/pages/SmartListPage.impl.d.ts +4 -0
- package/dist-lib/components/pages/list/ListCardRow.d.ts +40 -0
- package/dist-lib/components/pages/list/ListCardsBody.d.ts +34 -0
- package/dist-lib/components/pages/list/ListFloatbar.d.ts +1 -1
- package/dist-lib/components/pages/list/ListFooter.d.ts +26 -0
- package/dist-lib/components/pages/list/ListHeader.d.ts +1 -1
- package/dist-lib/components/pages/list/ListNoRows.d.ts +32 -0
- package/dist-lib/components/pages/list/ListTable.d.ts +34 -0
- package/dist-lib/components/pages/list/ListTableRow.d.ts +18 -0
- package/dist-lib/components/pages/list/ListToolbar.d.ts +43 -0
- package/dist-lib/components/pages/list/SortHeaderMenu.d.ts +14 -0
- package/dist-lib/components/pages/list/page-size.d.ts +3 -0
- package/dist-lib/components/pages/list/sortable-header.d.ts +2 -0
- package/dist-lib/components/pages/list/useListColumnLayout.d.ts +37 -0
- package/dist-lib/components/pages/list/useListQuery.d.ts +66 -0
- package/dist-lib/components/pages/list/useListRowInteraction.d.ts +61 -0
- package/dist-lib/components/pages/list/useListSelection.d.ts +31 -0
- package/dist-lib/components/pages/list/useListSort.d.ts +45 -0
- package/dist-lib/components/pages/list/useListViews.d.ts +46 -0
- package/dist-lib/components/pages/list/useRowMenu.d.ts +1 -1
- package/dist-lib/components/primitives/Icons.d.ts +5 -0
- package/dist-lib/components/shared/RefreshControl.d.ts +17 -4
- package/dist-lib/field-classification-Bm0mgbwA.js +1134 -0
- package/dist-lib/format-count-BfRGwx2v.js +1551 -0
- package/dist-lib/hooks/useBrandingChrome.d.ts +17 -1
- package/dist-lib/hooks/useText.d.ts +3 -0
- package/dist-lib/hooks/useViews.d.ts +1 -1
- package/dist-lib/icons.js +1 -1
- package/dist-lib/index.d.ts +17 -15
- package/dist-lib/index.js +1784 -6288
- package/dist-lib/lib/messages.d.ts +7 -1
- package/dist-lib/lib/rowClickGesture.d.ts +12 -0
- package/dist-lib/lib/timestamp.d.ts +8 -3
- package/dist-lib/peekDraftStore-bb4WroTA.js +194 -0
- package/dist-lib/record-documents-key-8fdm7C10.js +27 -0
- package/dist-lib/registry-CgeGoWpW.js +1768 -0
- package/dist-lib/testing.d.ts +17 -2
- package/dist-lib/testing.js +72 -58
- package/dist-lib/types/api.d.ts +54 -12
- package/dist-lib/types/schema.d.ts +22 -6
- package/dist-lib/{useCurrentScreen-BshVTPVq.js → useCurrentScreen-D3XH5ptA.js} +1127 -1070
- package/dist-lib/useListQuery-CfuINl-0.js +87 -0
- package/dist-lib/useProperties-DNocaxBX.js +81 -0
- package/dist-lib/{useProperties-DrHFr0A1.js → useTabSearchMirror-d0BAUIcQ.js} +116 -194
- package/dist-lib/{value-B1O6QikE.js → value-D71J0sJq.js} +69 -69
- package/package.json +1 -1
- package/dist-lib/DynamicIcon-Dc2j-rg_.js +0 -275
- package/dist-lib/RefreshControl-Cnl9nE0x.js +0 -945
- package/dist-lib/registry-CCxnZW2b.js +0 -5281
- /package/dist-lib/components/{shared → actions}/ActionButton.d.ts +0 -0
- /package/dist-lib/components/{shared → actions}/ActionDialog.d.ts +0 -0
- /package/dist-lib/components/{shared → actions}/ActionResultDialog.d.ts +0 -0
- /package/dist-lib/components/{shared → actions}/ActionRunner.d.ts +0 -0
- /package/dist-lib/components/{mass-edit → actions}/PropertyGridEditor.d.ts +0 -0
- /package/dist-lib/components/{shared → actions}/RowActionsKebab.d.ts +0 -0
- /package/dist-lib/components/{shared → chrome}/AssociationTabs.d.ts +0 -0
- /package/dist-lib/components/{shared → chrome}/AuditMetaStrip.d.ts +0 -0
- /package/dist-lib/components/{shared → chrome}/Breadcrumbs.d.ts +0 -0
- /package/dist-lib/components/{shared → chrome}/HighlightsStrip.d.ts +0 -0
- /package/dist-lib/components/{shared → chrome}/PageHeader.d.ts +0 -0
- /package/dist-lib/components/{shared → chrome}/RecordHeader.d.ts +0 -0
- /package/dist-lib/components/{shell → layout}/CommandPalette.d.ts +0 -0
- /package/dist-lib/components/{columns → list}/ColumnPicker.d.ts +0 -0
- /package/dist-lib/components/{views → list}/ViewSwitcher.d.ts +0 -0
package/dist-lib/api/batch.d.ts
CHANGED
|
@@ -1,13 +1,16 @@
|
|
|
1
|
+
import type { ApiErrorBody } from "../types/api";
|
|
1
2
|
export interface BatchOp {
|
|
2
3
|
action: string;
|
|
3
4
|
params?: Record<string, unknown> | null;
|
|
4
5
|
}
|
|
5
6
|
export interface BatchOpResult {
|
|
6
7
|
index: number;
|
|
8
|
+
/** The dispatched action, so an entry says WHICH op it describes. */
|
|
9
|
+
action?: string;
|
|
7
10
|
ok: boolean;
|
|
8
11
|
result?: unknown;
|
|
9
|
-
|
|
10
|
-
|
|
12
|
+
/** The failure, in the one shape every carrier sends. */
|
|
13
|
+
error?: ApiErrorBody;
|
|
11
14
|
}
|
|
12
15
|
export interface BatchResponse {
|
|
13
16
|
results: BatchOpResult[];
|
package/dist-lib/api/data.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ListParams, ListResponse, DataResponse } from "../types/api";
|
|
1
|
+
import type { ApiErrorBody, ListParams, ListResponse, DataResponse } from "../types/api";
|
|
2
2
|
import type { PkValues } from "../types/schema";
|
|
3
3
|
import type { ExportRequest } from "../components/pages/exportRequest";
|
|
4
4
|
export declare function listEntities(entity: string, params?: ListParams, options?: {
|
|
@@ -41,12 +41,43 @@ export interface ActionExecuteResponse {
|
|
|
41
41
|
errors?: ActionItemError[];
|
|
42
42
|
/** Per-item skips (batch_mode: each responses where conditions filtered rows). */
|
|
43
43
|
skipped?: ActionItemSkip[];
|
|
44
|
+
/**
|
|
45
|
+
* The action's declared synchronous chain, when it has one. ABSENT means the
|
|
46
|
+
* action declares no such step - never that a step passed. A failed step does
|
|
47
|
+
* not change the action's own status: it committed, and an event is free to
|
|
48
|
+
* fail without undoing a committed write. So "saved" and "saved, and the work
|
|
49
|
+
* behind it did not run" are the same status and different reports.
|
|
50
|
+
*/
|
|
51
|
+
events?: EventsReport;
|
|
44
52
|
}
|
|
53
|
+
/** What the platform says the action's synchronous chain did. */
|
|
54
|
+
export interface EventsReport {
|
|
55
|
+
failed_count?: number;
|
|
56
|
+
timed_out_count?: number;
|
|
57
|
+
job_ids?: string[];
|
|
58
|
+
/** In the handler's DECLARED step order, at every depth. */
|
|
59
|
+
failures?: EventFailure[];
|
|
60
|
+
/** What the response bounds dropped. Non-zero means there were more. */
|
|
61
|
+
failures_omitted?: number;
|
|
62
|
+
}
|
|
63
|
+
/** One declared step that did not do its work. */
|
|
64
|
+
export interface EventFailure {
|
|
65
|
+
step: number;
|
|
66
|
+
handler: string;
|
|
67
|
+
/** The id a per-object step died on. */
|
|
68
|
+
object?: string;
|
|
69
|
+
/** How many objects after it were never reached. */
|
|
70
|
+
not_attempted?: number;
|
|
71
|
+
error?: ApiErrorBody;
|
|
72
|
+
/** This step's OWN chain, when it declared one. */
|
|
73
|
+
events?: EventsReport;
|
|
74
|
+
}
|
|
75
|
+
/** Whether anything in this chain, at any depth, did not happen. */
|
|
76
|
+
export declare function eventsFailed(events: EventsReport | undefined): boolean;
|
|
45
77
|
export interface ActionItemError {
|
|
46
78
|
id: string;
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
code?: string;
|
|
79
|
+
/** The failure, in the one shape every carrier sends. */
|
|
80
|
+
error: ApiErrorBody;
|
|
50
81
|
}
|
|
51
82
|
export interface ActionItemSkip {
|
|
52
83
|
id: string;
|
|
@@ -40,9 +40,9 @@ export declare class EntityClient<T extends Record<string, unknown> = Record<str
|
|
|
40
40
|
/** List records with cursor-based pagination, field selection, and expansion.
|
|
41
41
|
*
|
|
42
42
|
* Recovery on cursor-stale signals: when the server returns
|
|
43
|
-
* `
|
|
44
|
-
* `
|
|
45
|
-
* `
|
|
43
|
+
* `cursor.semantics_mismatch` (sort grammar version bump),
|
|
44
|
+
* `cursor.locale_changed` (active locale switched mid-pagination), or
|
|
45
|
+
* `cursor.archive_invalid` (an undecodable cross-store archive cursor), the
|
|
46
46
|
* `after` token is dropped and the request is retried once from the top.
|
|
47
47
|
*
|
|
48
48
|
* CRITICAL for accumulating callers (infinite scroll): the returned
|