@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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ResponsiveBreakpoints } from "../lib/viewport-category";
|
|
2
|
-
import type { BrandingShellFlags, BrandingSurfaceFlags, BrandingViewport } from "../types/api";
|
|
2
|
+
import type { BrandingBreakpoints, BrandingShellFlags, BrandingSurfaceFlags, BrandingViewport } from "../types/api";
|
|
3
3
|
export type BrandingChromeSurface = "list" | "detail" | "record_list" | "custom";
|
|
4
4
|
/**
|
|
5
5
|
* The deployment's declared viewport for the CURRENT presentation context.
|
|
@@ -24,6 +24,22 @@ export declare function useBrandingViewport(): BrandingViewport;
|
|
|
24
24
|
* pinning every user of that context to one class.
|
|
25
25
|
*/
|
|
26
26
|
export declare function useBrandingBreakpoints(): ResponsiveBreakpoints;
|
|
27
|
+
/**
|
|
28
|
+
* The declared bounds, or the SDK's table where a bound is absent or unusable.
|
|
29
|
+
*
|
|
30
|
+
* The two widths are read TOGETHER because they are ordered: the rule tests
|
|
31
|
+
* `phoneMax` first and `tabletMax` second, so a declaration where the phone
|
|
32
|
+
* bound is not below the tablet bound makes the tablet class unreachable - every
|
|
33
|
+
* viewport is a phone or a desktop and nothing says so. That is the class this
|
|
34
|
+
* refuses. It is also the lever the responsive design nominates as the recovery
|
|
35
|
+
* for a device the default table misreads, so a silently dead override would be
|
|
36
|
+
* discovered by the operator who reached for it in an emergency.
|
|
37
|
+
*
|
|
38
|
+
* Refusing means keeping the pair the SDK ships, which is coherent, and saying
|
|
39
|
+
* so once where a deployment can read it. The height bound is independent of
|
|
40
|
+
* both and is resolved on its own.
|
|
41
|
+
*/
|
|
42
|
+
export declare function resolveBreakpoints(declared: BrandingBreakpoints | undefined): ResponsiveBreakpoints;
|
|
27
43
|
export interface ResolvedBrandingChrome extends BrandingSurfaceFlags {
|
|
28
44
|
isVisible: (key: keyof BrandingSurfaceFlags) => boolean;
|
|
29
45
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ViewItem } from "../components/
|
|
1
|
+
import type { ViewItem } from "../components/list/ViewSwitcher";
|
|
2
2
|
/**
|
|
3
3
|
* useViews fetches DB views for a screen and merges with system views (presets) from DSL.
|
|
4
4
|
* Returns a unified list with source tagging.
|
package/dist-lib/icons.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "./DynamicIcon-
|
|
1
|
+
import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "./DynamicIcon-DW5krHuX.js";
|
|
2
2
|
export { o as DynamicIcon, a as Icon, n as LucideIcon, i as getIcon, t as getIconRegistryVersion, e as setIconRegistry, r as subscribeIconRegistry };
|
package/dist-lib/index.d.ts
CHANGED
|
@@ -63,17 +63,17 @@ export { SmartListPage } from "./components/pages/SmartListPage";
|
|
|
63
63
|
export { SmartDetailPage } from "./components/pages/SmartDetailPage";
|
|
64
64
|
export { SmartRecordListPage } from "./components/pages/SmartRecordListPage";
|
|
65
65
|
export { DynamicIcon } from "./components/shared/DynamicIcon";
|
|
66
|
-
export { PageHeader } from "./components/
|
|
66
|
+
export { PageHeader } from "./components/chrome/PageHeader";
|
|
67
67
|
export { EmptyState } from "./components/shared/EmptyState";
|
|
68
68
|
export { ConfirmDialog } from "./components/shared/ConfirmDialog";
|
|
69
69
|
export { FilterDrawer } from "./components/filters/FilterDrawer";
|
|
70
70
|
export { FilterChips } from "./components/filters/FilterChips";
|
|
71
|
-
export { ColumnPicker } from "./components/
|
|
72
|
-
export { ViewSwitcher } from "./components/
|
|
73
|
-
export { ActionRunnerProvider, useActionRunner } from "./components/
|
|
74
|
-
export type { RunActionOptions } from "./components/
|
|
75
|
-
export { ObjectActionBar, useObjectActions } from "./components/
|
|
76
|
-
export type { ObjectActionBarProps, ObjectActionBarSlot, ObjectActionSelection, UseObjectActionsResult, } from "./components/
|
|
71
|
+
export { ColumnPicker } from "./components/list/ColumnPicker";
|
|
72
|
+
export { ViewSwitcher } from "./components/list/ViewSwitcher";
|
|
73
|
+
export { ActionRunnerProvider, useActionRunner } from "./components/actions/ActionRunner";
|
|
74
|
+
export type { RunActionOptions } from "./components/actions/ActionRunner";
|
|
75
|
+
export { ObjectActionBar, useObjectActions } from "./components/actions/ObjectActionBar";
|
|
76
|
+
export type { ObjectActionBarProps, ObjectActionBarSlot, ObjectActionSelection, UseObjectActionsResult, } from "./components/actions/ObjectActionBar";
|
|
77
77
|
export { RefreshControl } from "./components/shared/RefreshControl";
|
|
78
78
|
export type { RefreshControlProps } from "./components/shared/RefreshControl";
|
|
79
79
|
export { RefCombobox } from "./components/fields/RefCombobox";
|
|
@@ -97,7 +97,8 @@ export { PipelineStub } from "./components/pages/pipeline/Pipeline";
|
|
|
97
97
|
export { JobsStub } from "./components/pages/jobs/Jobs";
|
|
98
98
|
export { ChangePasswordDialog } from "./components/shared/ChangePasswordDialog";
|
|
99
99
|
export type { ChangePasswordDialogProps } from "./components/shared/ChangePasswordDialog";
|
|
100
|
-
export
|
|
100
|
+
export { Icon, Btn, IconBtn, Pill, Kbd, Avatar, BrandGlyph, Dropdown, HoverCard, Tooltip, InfoTooltip, Chip, SectionCard, RecordIdBadge, RowField, BoolToggle, MenuItem, Check, Spinner, FieldLabel, TextInput, TextArea, Select, MultiSelect, DateInput, PasswordInput, TagsInput, JsonField, RefField, ViewField, QuickEditCell, } from "./components/primitives";
|
|
101
|
+
export type { IconProps, IconName, BtnProps, BtnKind, BtnSize, IconBtnProps, PillProps, PillTone, PillSize, AvatarProps, BrandGlyphProps, DropdownProps, HoverCardProps, HoverCardAlign, TooltipProps, InfoTooltipProps, ChipProps, SectionCardProps, SectionBadge, SectionEmphasis, RecordIdBadgeProps, RowFieldProps, BoolToggleProps, MenuItemProps, CheckProps, FieldLabelProps, TextInputProps, TextAreaProps, SelectProps, MultiSelectProps, SelectOption, DateInputProps, PasswordInputProps, TagsInputProps, JsonFieldProps, RefFieldProps, RefFieldItem, ViewFieldProps, QuickEditCellProps, } from "./components/primitives";
|
|
101
102
|
export { SquareImage, CircleImage, WideBanner, registerFileWidget, getFileWidget, hasFileWidget, uploadFile, discardFile, validateClientSide, formatBytes, UploadError, setImageCropper, getImageCropper, FileDraftScope, useFileDraftScope, useDraftRegistration, } from "./components/file-widgets";
|
|
102
103
|
export type { FileFieldDef, FileFieldDisplay, FileFieldMode, FileWidget, FileWidgetProps, HydratedFile, UploadProgress, UploadedFile, ImageCropper, CropperOptions, CropperResult, FileDraftScopeApi, DraftEntry, } from "./components/file-widgets";
|
|
103
104
|
export { Rail } from "./components/layout/Rail";
|
|
@@ -114,8 +115,8 @@ export { ImpersonationBanner } from "./components/layout/ImpersonationBanner";
|
|
|
114
115
|
export { ImpersonationFrame } from "./components/layout/ImpersonationFrame";
|
|
115
116
|
export { ImpersonationStartModal } from "./components/layout/ImpersonationStartModal";
|
|
116
117
|
export { useImpersonation } from "./hooks/useImpersonation";
|
|
117
|
-
export { CommandPalette } from "./components/
|
|
118
|
-
export type { CommandPaletteProps, CommandAction, CommandActionType, } from "./components/
|
|
118
|
+
export { CommandPalette } from "./components/layout/CommandPalette";
|
|
119
|
+
export type { CommandPaletteProps, CommandAction, CommandActionType, } from "./components/layout/CommandPalette";
|
|
119
120
|
export { AgentChatPanel } from "./components/agents/AgentChatPanel";
|
|
120
121
|
export type { AgentChatPanelProps } from "./components/agents/AgentChatPanel";
|
|
121
122
|
export { AgentElicitForm } from "./components/agents/AgentElicitForm";
|
|
@@ -126,9 +127,10 @@ export { AgentConversationDrawer } from "./components/agents/AgentConversationDr
|
|
|
126
127
|
export type { AgentConversationDrawerProps } from "./components/agents/AgentConversationDrawer";
|
|
127
128
|
export { useAgentConversation } from "./hooks/useAgentConversation";
|
|
128
129
|
export type { AgentTurnState } from "./hooks/useAgentConversation";
|
|
129
|
-
export
|
|
130
|
-
export {
|
|
131
|
-
export
|
|
130
|
+
export { listAvailableAgents, createConversation, sendMessage, answerQuestion, sendElicitResponse, approveInvocation, rejectInvocation, cancelInvocation, cancelConversation, listConversations, loadConversationTurns, loadConversationInvocations, loadHistory, } from "./api/agents";
|
|
131
|
+
export type { AgentRole, AgentContentBlock, AgentMessage, AgentTurnStatus, AgentTurn, AgentInvocationStatus, AgentInvocationKind, AgentToolInvocation, AgentConversationStatus, AgentConversation, AvailableAgent, ApprovalScope, } from "./api/agents";
|
|
132
|
+
export { Breadcrumbs } from "./components/chrome/Breadcrumbs";
|
|
133
|
+
export type { BreadcrumbsProps, Crumb } from "./components/chrome/Breadcrumbs";
|
|
132
134
|
export type { FilterNode, FilterOp } from "./lib/filters";
|
|
133
135
|
export type { FilterURLState } from "./lib/filters";
|
|
134
136
|
export type { FilterRecord, FilterRecordField, FilterRecordFields } from "./lib/filter-evaluator";
|
|
@@ -140,8 +142,8 @@ export { resolveScreenVariantCode, effectiveScreenForRecord } from "./lib/varian
|
|
|
140
142
|
export { formatCount, formatExactCount, formatEstimatedCount } from "./lib/format-count";
|
|
141
143
|
export type { MassEditTarget, MassEditTargetKind } from "./lib/mass-edit";
|
|
142
144
|
export { buildMassEditTargets, parseTargetFilter } from "./lib/mass-edit";
|
|
143
|
-
export { PropertyGridEditor, detectCommonValue, MULTIPLE_VALUES } from "./components/
|
|
144
|
-
export type { PatchMap } from "./components/
|
|
145
|
+
export { PropertyGridEditor, detectCommonValue, MULTIPLE_VALUES } from "./components/actions/PropertyGridEditor";
|
|
146
|
+
export type { PatchMap } from "./components/actions/PropertyGridEditor";
|
|
145
147
|
export { ClassifiedFieldLocked, } from "./components/primitives";
|
|
146
148
|
export { isFieldReadable, isFieldWritable, fieldClassification, fieldRequiredPermission, classificationTier, isFieldSoDProtected, fieldAccessInfo, } from "./lib/field-classification";
|
|
147
149
|
export type { ClassificationTierDef, FieldAccessInfo } from "./types/schema";
|