@declarion/react 0.250.0 → 0.252.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/components/chrome/PageShell.js +26 -20
- package/dist-lib/components/fields/JsonField.js +109 -24
- package/dist-lib/components/fields/StructureField.js +38 -33
- package/dist-lib/components/fields/cells/factories/duration.js +44 -0
- package/dist-lib/components/fields/cells/registry.js +34 -32
- package/dist-lib/components/pages/SmartListPage.impl.js +280 -279
- package/dist-lib/components/pages/SmartRecordListPage.impl.js +293 -292
- package/dist-lib/components/primitives/IconBtn.js +2 -0
- package/dist-lib/declarion-react.css +1 -1
- package/dist-lib/hooks/useResponsiveMode.js +1 -1
- package/dist-lib/hooks/useSearchDraft.js +12 -0
- package/dist-lib/index.d.ts +2 -2
- package/dist-lib/index.js +130 -130
- package/dist-lib/testing.d.ts +1 -1
- package/dist-lib/{useResponsiveMode-BGMnPC4S.d.ts → useResponsiveMode-DjoWkC2n.d.ts} +3 -1
- package/package.json +1 -1
package/dist-lib/index.js
CHANGED
|
@@ -2,133 +2,133 @@
|
|
|
2
2
|
import { App as e } from "./app.js";
|
|
3
3
|
import { OrderedMap as t } from "./types/ordmap.js";
|
|
4
4
|
import { buildDetailHrefFromId as n, buildEntityDetailHref as r, buildRowDetailHref as i, extractPkValues as a, fieldDisplayName as o, getPrimaryKeyFields as s, pkValuePartsToId as c, pkValuesFromId as l, pkValuesToDetailId as u, pkValuesToId as d, resolveDetailRoute as f } from "./types/schema.js";
|
|
5
|
-
import { CURSOR_LANGUAGE_CHANGED as p, CURSOR_SEMANTICS_MISMATCH as m,
|
|
6
|
-
import { coerceDisplayString as
|
|
7
|
-
import { editorWallClock as
|
|
8
|
-
import { formatMoneyText as
|
|
9
|
-
import { EntityClient as
|
|
10
|
-
import { ActionBatchError as
|
|
11
|
-
import { Batch as
|
|
12
|
-
import { useSchema as
|
|
13
|
-
import { useEntity as
|
|
14
|
-
import { useScreen as
|
|
15
|
-
import { CurrentScreenProvider as
|
|
16
|
-
import { useAuth as
|
|
17
|
-
import { entityDataQueryKey as
|
|
18
|
-
import { useAggregate as
|
|
19
|
-
import { cursorEntityDataQueryKey as
|
|
20
|
-
import { useAllEntityData as
|
|
21
|
-
import { objectQueryKey as
|
|
22
|
-
import { fileReferenceJSONQueryKey as
|
|
23
|
-
import { StructureField as
|
|
24
|
-
import { useLiveObject as
|
|
25
|
-
import { ACTION_DATA_CURSOR_KEY as
|
|
26
|
-
import { useCreateObject as
|
|
27
|
-
import { useDebounce as
|
|
28
|
-
import { ResponsiveModeProvider as
|
|
29
|
-
import { useEffectiveParam as
|
|
30
|
-
import { DEFAULT_RESPONSIVE_BREAKPOINTS as
|
|
31
|
-
import { useSetStatus as
|
|
32
|
-
import { useDeleteProperty as
|
|
33
|
-
import { useFilters as
|
|
34
|
-
import { useColumns as
|
|
35
|
-
import { useViews as
|
|
36
|
-
import { registerScreen as
|
|
37
|
-
import { getIcon as
|
|
38
|
-
import { getLayoutWidget as
|
|
39
|
-
import { reresolveLanguage as
|
|
40
|
-
import { useText as
|
|
41
|
-
import { MANDATORY_LANGUAGE as
|
|
42
|
-
import { failureTitle as
|
|
43
|
-
import { readDisplayState as
|
|
44
|
-
import { useTabStore as
|
|
45
|
-
import { useTabNavigate as
|
|
46
|
-
import { useScreenBack as
|
|
47
|
-
import { usePageState as
|
|
48
|
-
import { canonicalUrl as
|
|
49
|
-
import { useRegisterRetainedQuery as
|
|
50
|
-
import { PAGE_STATE_TTL_PARAM as
|
|
51
|
-
import { useScreenTab as
|
|
52
|
-
import { useTabSearchMirror as
|
|
53
|
-
import { SCROLL_STATE_KEY as
|
|
54
|
-
import { SmartListPage as
|
|
55
|
-
import { SmartDetailPage as
|
|
56
|
-
import { SmartRecordListPage as
|
|
57
|
-
import { DynamicIcon as
|
|
58
|
-
import { PageHeader as
|
|
59
|
-
import { EmptyState as
|
|
60
|
-
import { ConfirmDialog as
|
|
61
|
-
import { FilterDrawer as
|
|
62
|
-
import { FilterChips as
|
|
63
|
-
import { ColumnPicker as
|
|
64
|
-
import { ViewSwitcher as
|
|
65
|
-
import { ActionRunnerProvider as
|
|
66
|
-
import { ObjectActionBar as
|
|
67
|
-
import { RefreshControl as
|
|
68
|
-
import { RefCombobox as
|
|
69
|
-
import { QEField as
|
|
70
|
-
import { InlineEditCell as
|
|
71
|
-
import { SignIn as
|
|
72
|
-
import { SignUp as
|
|
73
|
-
import { Forgot as
|
|
74
|
-
import { Reset as
|
|
75
|
-
import { TwoFA as
|
|
76
|
-
import { AuthShell as
|
|
77
|
-
import { Profile as
|
|
78
|
-
import { Preferences as
|
|
79
|
-
import { ChangePasswordDialog as
|
|
80
|
-
import { Icon as
|
|
81
|
-
import { Btn as
|
|
82
|
-
import { IconBtn as
|
|
83
|
-
import { Pill as
|
|
84
|
-
import { Kbd as
|
|
85
|
-
import { Avatar as
|
|
86
|
-
import { BrandGlyph as
|
|
87
|
-
import { Dropdown as
|
|
88
|
-
import { HoverCard as
|
|
89
|
-
import { InfoTooltip as
|
|
90
|
-
import { Chip as
|
|
91
|
-
import { SectionCard as
|
|
92
|
-
import { StatTile as
|
|
93
|
-
import { RecordIdBadge as
|
|
94
|
-
import { RowField as
|
|
95
|
-
import { BoolToggle as
|
|
96
|
-
import { MenuItem as
|
|
97
|
-
import { Check as
|
|
98
|
-
import { Spinner as
|
|
99
|
-
import { DateInput as
|
|
100
|
-
import { SquareImage as
|
|
101
|
-
import { CircleImage as
|
|
102
|
-
import { WideBanner as
|
|
103
|
-
import { getFileWidget as
|
|
104
|
-
import { UploadError as
|
|
105
|
-
import { getImageCropper as
|
|
106
|
-
import { FileDraftScope as
|
|
107
|
-
import { fileSelectionReducer as
|
|
108
|
-
import { Rail as
|
|
109
|
-
import { Sidebar as
|
|
110
|
-
import { TopBar as
|
|
111
|
-
import { TenantChip as
|
|
112
|
-
import { TabStrip as
|
|
113
|
-
import { ImpersonationBanner as
|
|
114
|
-
import { ImpersonationFrame as
|
|
115
|
-
import { ImpersonationStartModal as
|
|
116
|
-
import { useImpersonation as
|
|
117
|
-
import { CommandPalette as
|
|
118
|
-
import { AgentChatPanel as
|
|
119
|
-
import { AgentElicitForm as
|
|
120
|
-
import { AgentPicker as
|
|
121
|
-
import { AgentConversationDrawer as
|
|
122
|
-
import { useAgentConversation as
|
|
123
|
-
import { answerQuestion as
|
|
124
|
-
import { Breadcrumbs as
|
|
125
|
-
import { NO_VALUE_OPS as
|
|
126
|
-
import { evaluateFilterTree as
|
|
127
|
-
import { commonVariantActionCodes as
|
|
128
|
-
import { formatCount as
|
|
129
|
-
import { buildMassEditTargets as
|
|
130
|
-
import { MULTIPLE_VALUES as
|
|
131
|
-
import { ClassifiedFieldLocked as
|
|
132
|
-
import { classificationTier as
|
|
133
|
-
import { useLocation as
|
|
134
|
-
export {
|
|
5
|
+
import { CURSOR_LANGUAGE_CHANGED as p, CURSOR_SEMANTICS_MISMATCH as m, errorCodeOf as h, isCursorStaleError as g } from "./types/api.js";
|
|
6
|
+
import { coerceDisplayString as _ } from "./lib/display-value.js";
|
|
7
|
+
import { editorWallClock as v, editorWireValue as y, formatOffsetTimestamp as b, zoneMark as x } from "./lib/timestamp.js";
|
|
8
|
+
import { formatMoneyText as S } from "./lib/money-text.js";
|
|
9
|
+
import { EntityClient as C, RefCache as w, entityClient as T } from "./api/entities.js";
|
|
10
|
+
import { ActionBatchError as E, buildActionBody as D, deleteObject as O, executeAction as k, restoreObject as A } from "./api/data.js";
|
|
11
|
+
import { Batch as j } from "./api/batch.js";
|
|
12
|
+
import { useSchema as M } from "./hooks/useSchema.js";
|
|
13
|
+
import { useEntity as N } from "./hooks/useEntity.js";
|
|
14
|
+
import { useScreen as P } from "./hooks/useScreen.js";
|
|
15
|
+
import { CurrentScreenProvider as F, useCurrentScreen as I } from "./hooks/useCurrentScreen.js";
|
|
16
|
+
import { useAuth as L } from "./hooks/useAuth.js";
|
|
17
|
+
import { entityDataQueryKey as R, useEntityCount as z, useEntityData as B } from "./hooks/useEntityData.js";
|
|
18
|
+
import { useAggregate as V } from "./hooks/useAggregate.js";
|
|
19
|
+
import { cursorEntityDataQueryKey as H, cursorEntityStableKey as U, useCursorEntityData as W } from "./hooks/useCursorEntityData.js";
|
|
20
|
+
import { useAllEntityData as G } from "./hooks/useAllEntityData.js";
|
|
21
|
+
import { objectQueryKey as K, useObject as q } from "./hooks/useObject.js";
|
|
22
|
+
import { fileReferenceJSONQueryKey as J, useFileReferenceJSON as Y } from "./hooks/useFileReferenceJSON.js";
|
|
23
|
+
import { StructureField as X } from "./components/fields/StructureField.js";
|
|
24
|
+
import { useLiveObject as Z } from "./hooks/useLiveObject.js";
|
|
25
|
+
import { ACTION_DATA_CURSOR_KEY as Q, ACTION_DATA_KEY as $, actionDataQueryKey as ee, cursorActionDataQueryKey as te, useActionData as ne, useCursorActionData as re } from "./hooks/useActionData.js";
|
|
26
|
+
import { useCreateObject as ie, useDeleteObject as ae, useUpdateObject as oe } from "./hooks/useMutations.js";
|
|
27
|
+
import { useDebounce as se } from "./hooks/useDebounce.js";
|
|
28
|
+
import { ResponsiveModeProvider as ce, useResponsiveMode as le } from "./hooks/useResponsiveMode.js";
|
|
29
|
+
import { useEffectiveParam as ue, useParam as de, usePublicParams as fe, useResolvedParam as pe } from "./hooks/useParams.js";
|
|
30
|
+
import { DEFAULT_RESPONSIVE_BREAKPOINTS as me, resolveViewportCategory as he } from "./lib/viewport-category.js";
|
|
31
|
+
import { useSetStatus as ge } from "./hooks/useObjectStatus.js";
|
|
32
|
+
import { useDeleteProperty as _e, useSetProperty as ve } from "./hooks/useProperties.js";
|
|
33
|
+
import { useFilters as ye } from "./hooks/useFilters.js";
|
|
34
|
+
import { useColumns as be } from "./hooks/useColumns.js";
|
|
35
|
+
import { useViews as xe } from "./hooks/useViews.js";
|
|
36
|
+
import { registerScreen as Se } from "./stores/screen-registry.js";
|
|
37
|
+
import { getIcon as Ce, setIconRegistry as we } from "./stores/icon-registry.js";
|
|
38
|
+
import { getLayoutWidget as Te, hasLayoutWidget as Ee, registerLayoutWidget as De } from "./components/detail-layout/widgets/registry.js";
|
|
39
|
+
import { reresolveLanguage as Oe, useDeploymentLanguage as ke, useLanguage as Ae } from "./hooks/useLanguage.js";
|
|
40
|
+
import { useText as je } from "./hooks/useText.js";
|
|
41
|
+
import { MANDATORY_LANGUAGE as Me, makeTextFn as Ne, pickLocalized as Pe, pluralText as Fe, textWithNodes as Ie } from "./lib/language.js";
|
|
42
|
+
import { failureTitle as Le } from "./lib/failure.js";
|
|
43
|
+
import { readDisplayState as Re } from "./lib/read-display-state.js";
|
|
44
|
+
import { useTabStore as ze } from "./stores/tabs.js";
|
|
45
|
+
import { useTabNavigate as Be } from "./hooks/useTabNavigate.js";
|
|
46
|
+
import { useScreenBack as Ve } from "./hooks/useScreenBack.js";
|
|
47
|
+
import { usePageState as He } from "./hooks/usePageState.js";
|
|
48
|
+
import { canonicalUrl as Ue } from "./lib/canonical-url.js";
|
|
49
|
+
import { useRegisterRetainedQuery as We } from "./hooks/usePageStateRuntime.js";
|
|
50
|
+
import { PAGE_STATE_TTL_PARAM as Ge, usePageStateTtl as Ke } from "./hooks/usePageStateTtl.js";
|
|
51
|
+
import { useScreenTab as qe } from "./hooks/useScreenTab.js";
|
|
52
|
+
import { useTabSearchMirror as Je } from "./hooks/useTabSearchMirror.js";
|
|
53
|
+
import { SCROLL_STATE_KEY as Ye, usePlainScrollRestoration as Xe, useSavedScrollOffset as Ze, useVirtualScrollRestoration as Qe } from "./lib/scroll-restoration.js";
|
|
54
|
+
import { SmartListPage as $e } from "./components/pages/SmartListPage.js";
|
|
55
|
+
import { SmartDetailPage as et } from "./components/pages/SmartDetailPage.js";
|
|
56
|
+
import { SmartRecordListPage as tt } from "./components/pages/SmartRecordListPage.js";
|
|
57
|
+
import { DynamicIcon as nt } from "./components/shared/DynamicIcon.js";
|
|
58
|
+
import { PageHeader as rt } from "./components/chrome/PageHeader.js";
|
|
59
|
+
import { EmptyState as it } from "./components/shared/EmptyState.js";
|
|
60
|
+
import { ConfirmDialog as at } from "./components/shared/ConfirmDialog.js";
|
|
61
|
+
import { FilterDrawer as ot } from "./components/filters/FilterDrawer.js";
|
|
62
|
+
import { FilterChips as st } from "./components/filters/FilterChips.js";
|
|
63
|
+
import { ColumnPicker as ct } from "./components/list/ColumnPicker.js";
|
|
64
|
+
import { ViewSwitcher as lt } from "./components/list/ViewSwitcher.js";
|
|
65
|
+
import { ActionRunnerProvider as ut, useActionRunner as dt } from "./components/actions/ActionRunner.js";
|
|
66
|
+
import { ObjectActionBar as ft, useObjectActions as pt } from "./components/actions/ObjectActionBar.js";
|
|
67
|
+
import { RefreshControl as mt } from "./components/shared/RefreshControl.js";
|
|
68
|
+
import { RefCombobox as ht } from "./components/fields/RefCombobox.js";
|
|
69
|
+
import { QEField as gt, QuickPeek as _t } from "./components/list/QuickPeek.js";
|
|
70
|
+
import { InlineEditCell as vt } from "./components/list/InlineEditCell.js";
|
|
71
|
+
import { SignIn as yt } from "./components/pages/auth/SignIn.js";
|
|
72
|
+
import { SignUp as bt } from "./components/pages/auth/SignUp.js";
|
|
73
|
+
import { Forgot as xt } from "./components/pages/auth/Forgot.js";
|
|
74
|
+
import { Reset as St } from "./components/pages/auth/Reset.js";
|
|
75
|
+
import { TwoFA as Ct } from "./components/pages/auth/TwoFA.js";
|
|
76
|
+
import { AuthShell as wt } from "./components/pages/auth/AuthShell.js";
|
|
77
|
+
import { Profile as Tt } from "./components/pages/profile/Profile.js";
|
|
78
|
+
import { Preferences as Et } from "./components/pages/profile/Preferences.js";
|
|
79
|
+
import { ChangePasswordDialog as Dt } from "./components/shared/ChangePasswordDialog.js";
|
|
80
|
+
import { Icon as Ot } from "./components/primitives/Icons.js";
|
|
81
|
+
import { Btn as kt } from "./components/primitives/Btn.js";
|
|
82
|
+
import { IconBtn as At } from "./components/primitives/IconBtn.js";
|
|
83
|
+
import { Pill as jt } from "./components/primitives/Pill.js";
|
|
84
|
+
import { Kbd as Mt } from "./components/primitives/Kbd.js";
|
|
85
|
+
import { Avatar as Nt } from "./components/primitives/Avatar.js";
|
|
86
|
+
import { BrandGlyph as Pt } from "./components/primitives/BrandGlyph.js";
|
|
87
|
+
import { Dropdown as Ft } from "./components/primitives/Dropdown.js";
|
|
88
|
+
import { HoverCard as It } from "./components/primitives/HoverCard.js";
|
|
89
|
+
import { InfoTooltip as Lt, Tooltip as Rt } from "./components/primitives/Tooltip.js";
|
|
90
|
+
import { Chip as zt } from "./components/primitives/Chip.js";
|
|
91
|
+
import { SectionCard as Bt } from "./components/primitives/SectionCard.js";
|
|
92
|
+
import { StatTile as Vt } from "./components/primitives/StatTile.js";
|
|
93
|
+
import { RecordIdBadge as Ht } from "./components/primitives/RecordIdBadge.js";
|
|
94
|
+
import { RowField as Ut } from "./components/primitives/RowField.js";
|
|
95
|
+
import { BoolToggle as Wt } from "./components/primitives/BoolToggle.js";
|
|
96
|
+
import { MenuItem as Gt } from "./components/primitives/MenuItem.js";
|
|
97
|
+
import { Check as Kt } from "./components/primitives/Check.js";
|
|
98
|
+
import { Spinner as qt } from "./components/primitives/Spinner.js";
|
|
99
|
+
import { DateInput as Jt, FieldLabel as Yt, JsonField as Xt, MultiSelect as Zt, PasswordInput as Qt, QuickEditCell as $t, RefField as en, Select as tn, TagsInput as nn, TextArea as rn, TextInput as an, ViewField as on } from "./components/primitives/Fields.js";
|
|
100
|
+
import { SquareImage as sn } from "./components/file-widgets/SquareImage.js";
|
|
101
|
+
import { CircleImage as cn } from "./components/file-widgets/CircleImage.js";
|
|
102
|
+
import { WideBanner as ln } from "./components/file-widgets/WideBanner.js";
|
|
103
|
+
import { getFileWidget as un, hasFileWidget as dn, registerFileWidget as fn } from "./components/file-widgets/registry.js";
|
|
104
|
+
import { UploadError as pn, discardFile as mn, formatBytes as hn, uploadFile as gn, validateClientSide as _n } from "./components/file-widgets/upload.js";
|
|
105
|
+
import { getImageCropper as vn, setImageCropper as yn } from "./components/file-widgets/cropper.js";
|
|
106
|
+
import { FileDraftScope as bn, useDraftRegistration as xn, useFileDraftScope as Sn } from "./components/file-widgets/draft-scope.js";
|
|
107
|
+
import { fileSelectionReducer as Cn, summarizeFileSelections as wn, useFileSelection as Tn } from "./components/file-widgets/useFileSelection.js";
|
|
108
|
+
import { Rail as En } from "./components/layout/Rail.js";
|
|
109
|
+
import { Sidebar as Dn, buildSections as On } from "./components/layout/Sidebar.js";
|
|
110
|
+
import { TopBar as kn } from "./components/layout/TopBar.js";
|
|
111
|
+
import { TenantChip as An, envTone as jn } from "./components/layout/TenantChip.js";
|
|
112
|
+
import { TabStrip as Mn } from "./components/layout/TabStrip.js";
|
|
113
|
+
import { ImpersonationBanner as Nn } from "./components/layout/ImpersonationBanner.js";
|
|
114
|
+
import { ImpersonationFrame as Pn } from "./components/layout/ImpersonationFrame.js";
|
|
115
|
+
import { ImpersonationStartModal as Fn } from "./components/layout/ImpersonationStartModal.js";
|
|
116
|
+
import { useImpersonation as In } from "./hooks/useImpersonation.js";
|
|
117
|
+
import { CommandPalette as Ln } from "./components/layout/CommandPalette.js";
|
|
118
|
+
import { AgentChatPanel as Rn } from "./components/agents/AgentChatPanel.js";
|
|
119
|
+
import { AgentElicitForm as zn } from "./components/agents/AgentElicitForm.js";
|
|
120
|
+
import { AgentPicker as Bn } from "./components/agents/AgentPicker.js";
|
|
121
|
+
import { AgentConversationDrawer as Vn } from "./components/agents/AgentConversationDrawer.js";
|
|
122
|
+
import { useAgentConversation as Hn } from "./hooks/useAgentConversation.js";
|
|
123
|
+
import { answerQuestion as Un, approveInvocation as Wn, cancelConversation as Gn, cancelInvocation as Kn, createConversation as qn, listAvailableAgents as Jn, listConversations as Yn, loadConversationInvocations as Xn, loadConversationTurns as Zn, loadHistory as Qn, rejectInvocation as $n, sendElicitResponse as er, sendMessage as tr } from "./api/agents.js";
|
|
124
|
+
import { Breadcrumbs as nr } from "./components/chrome/Breadcrumbs.js";
|
|
125
|
+
import { NO_VALUE_OPS as rr, OP_LABELS as ir, countActiveFilters as ar, hasOrGroups as or, parseFilterURLState as sr, parseFiltersFromURL as cr, setFiltersInURL as lr } from "./lib/filters.js";
|
|
126
|
+
import { evaluateFilterTree as ur } from "./lib/filter-evaluator.js";
|
|
127
|
+
import { commonVariantActionCodes as dr, effectiveScreenForRecord as fr, resolveEntityVariantCode as pr, resolveScreenVariantCode as mr, variantActionCodesForRecord as hr } from "./lib/variants.js";
|
|
128
|
+
import { formatCount as gr, formatEstimatedCount as _r, formatExactCount as vr } from "./lib/format-count.js";
|
|
129
|
+
import { buildMassEditTargets as yr, parseTargetFilter as br } from "./lib/mass-edit.js";
|
|
130
|
+
import { MULTIPLE_VALUES as xr, PropertyGridEditor as Sr, detectCommonValue as Cr } from "./components/actions/PropertyGridEditor.js";
|
|
131
|
+
import { ClassifiedFieldLocked as wr } from "./components/primitives/ClassifiedFieldLocked.js";
|
|
132
|
+
import { classificationTier as Tr, fieldAccessInfo as Er, fieldClassification as Dr, fieldRequiredPermission as Or, isFieldReadable as kr, isFieldSoDProtected as Ar, isFieldWritable as jr } from "./lib/field-classification.js";
|
|
133
|
+
import { useLocation as Mr, useNavigate as Nr, useParams as Pr, useSearchParams as Fr } from "react-router";
|
|
134
|
+
export { Q as ACTION_DATA_CURSOR_KEY, $ as ACTION_DATA_KEY, E as ActionBatchError, ut as ActionRunnerProvider, Rn as AgentChatPanel, Vn as AgentConversationDrawer, zn as AgentElicitForm, Bn as AgentPicker, e as App, wt as AuthShell, Nt as Avatar, j as Batch, Wt as BoolToggle, Pt as BrandGlyph, nr as Breadcrumbs, kt as Btn, p as CURSOR_LANGUAGE_CHANGED, m as CURSOR_SEMANTICS_MISMATCH, Dt as ChangePasswordDialog, Kt as Check, zt as Chip, cn as CircleImage, wr as ClassifiedFieldLocked, ct as ColumnPicker, Ln as CommandPalette, at as ConfirmDialog, F as CurrentScreenProvider, me as DEFAULT_RESPONSIVE_BREAKPOINTS, Jt as DateInput, e as Declarion, Ft as Dropdown, nt as DynamicIcon, it as EmptyState, C as EntityClient, Yt as FieldLabel, bn as FileDraftScope, st as FilterChips, ot as FilterDrawer, xt as Forgot, It as HoverCard, Ot as Icon, At as IconBtn, Nn as ImpersonationBanner, Pn as ImpersonationFrame, Fn as ImpersonationStartModal, Lt as InfoTooltip, vt as InlineEditCell, Xt as JsonField, Mt as Kbd, Me as MANDATORY_LANGUAGE, xr as MULTIPLE_VALUES, Gt as MenuItem, Zt as MultiSelect, rr as NO_VALUE_OPS, ir as OP_LABELS, ft as ObjectActionBar, t as OrderedMap, Ge as PAGE_STATE_TTL_PARAM, rt as PageHeader, Qt as PasswordInput, jt as Pill, Et as Preferences, Tt as Profile, Sr as PropertyGridEditor, gt as QEField, $t as QuickEditCell, _t as QuickPeek, En as Rail, Ht as RecordIdBadge, w as RefCache, ht as RefCombobox, en as RefField, mt as RefreshControl, St as Reset, ce as ResponsiveModeProvider, Ut as RowField, Ye as SCROLL_STATE_KEY, Bt as SectionCard, tn as Select, Dn as Sidebar, yt as SignIn, bt as SignUp, et as SmartDetailPage, $e as SmartListPage, tt as SmartRecordListPage, qt as Spinner, sn as SquareImage, Vt as StatTile, X as StructureField, Mn as TabStrip, nn as TagsInput, An as TenantChip, rn as TextArea, an as TextInput, Rt as Tooltip, kn as TopBar, Ct as TwoFA, pn as UploadError, on as ViewField, lt as ViewSwitcher, ln as WideBanner, ee as actionDataQueryKey, Un as answerQuestion, Wn as approveInvocation, D as buildActionBody, n as buildDetailHrefFromId, r as buildEntityDetailHref, yr as buildMassEditTargets, i as buildRowDetailHref, On as buildSections, Gn as cancelConversation, Kn as cancelInvocation, Ue as canonicalUrl, Tr as classificationTier, _ as coerceDisplayString, dr as commonVariantActionCodes, ar as countActiveFilters, qn as createConversation, te as cursorActionDataQueryKey, H as cursorEntityDataQueryKey, U as cursorEntityStableKey, O as deleteObject, Cr as detectCommonValue, mn as discardFile, v as editorWallClock, y as editorWireValue, fr as effectiveScreenForRecord, T as entityClient, R as entityDataQueryKey, jn as envTone, h as errorCodeOf, ur as evaluateFilterTree, k as executeAction, a as extractPkValues, Le as failureTitle, Er as fieldAccessInfo, Dr as fieldClassification, o as fieldDisplayName, Or as fieldRequiredPermission, J as fileReferenceJSONQueryKey, Cn as fileSelectionReducer, hn as formatBytes, gr as formatCount, _r as formatEstimatedCount, vr as formatExactCount, S as formatMoneyText, b as formatOffsetTimestamp, un as getFileWidget, Ce as getIcon, vn as getImageCropper, Te as getLayoutWidget, s as getPrimaryKeyFields, dn as hasFileWidget, Ee as hasLayoutWidget, or as hasOrGroups, g as isCursorStaleError, kr as isFieldReadable, Ar as isFieldSoDProtected, jr as isFieldWritable, Jn as listAvailableAgents, Yn as listConversations, Xn as loadConversationInvocations, Zn as loadConversationTurns, Qn as loadHistory, Ne as makeTextFn, K as objectQueryKey, sr as parseFilterURLState, cr as parseFiltersFromURL, br as parseTargetFilter, Pe as pickLocalized, c as pkValuePartsToId, l as pkValuesFromId, u as pkValuesToDetailId, d as pkValuesToId, Fe as pluralText, Re as readDisplayState, fn as registerFileWidget, De as registerLayoutWidget, Se as registerScreen, $n as rejectInvocation, Oe as reresolveLanguage, f as resolveDetailRoute, pr as resolveEntityVariantCode, mr as resolveScreenVariantCode, he as resolveViewportCategory, A as restoreObject, er as sendElicitResponse, tr as sendMessage, lr as setFiltersInURL, we as setIconRegistry, yn as setImageCropper, wn as summarizeFileSelections, Ie as textWithNodes, gn as uploadFile, ne as useActionData, dt as useActionRunner, Hn as useAgentConversation, V as useAggregate, G as useAllEntityData, L as useAuth, be as useColumns, ie as useCreateObject, I as useCurrentScreen, re as useCursorActionData, W as useCursorEntityData, se as useDebounce, ae as useDeleteObject, _e as useDeleteProperty, ke as useDeploymentLanguage, xn as useDraftRegistration, ue as useEffectiveParam, N as useEntity, z as useEntityCount, B as useEntityData, Sn as useFileDraftScope, Y as useFileReferenceJSON, Tn as useFileSelection, ye as useFilters, In as useImpersonation, Ae as useLanguage, Z as useLiveObject, Mr as useLocation, Nr as useNavigate, q as useObject, pt as useObjectActions, He as usePageState, Ke as usePageStateTtl, de as useParam, Pr as useParams, Xe as usePlainScrollRestoration, fe as usePublicParams, We as useRegisterRetainedQuery, pe as useResolvedParam, le as useResponsiveMode, Ze as useSavedScrollOffset, M as useSchema, P as useScreen, Ve as useScreenBack, qe as useScreenTab, Fr as useSearchParams, ve as useSetProperty, ge as useSetStatus, Be as useTabNavigate, Je as useTabSearchMirror, ze as useTabStore, je as useText, oe as useUpdateObject, xe as useViews, Qe as useVirtualScrollRestoration, _n as validateClientSide, hr as variantActionCodesForRecord, x as zoneMark };
|
package/dist-lib/testing.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as Refs, M as ListMeta,
|
|
1
|
+
import { B as Refs, M as ListMeta, Mt as TextFn, P as ListResponse, ct as LocalizedString, d as ActionExecuteResponse, k as DataResponse, mt as Schema, o as ResponsiveViewport, u as ActionExecuteRequest } from "./useResponsiveMode-DjoWkC2n.js";
|
|
2
2
|
import { ReactElement, ReactNode } from "react";
|
|
3
3
|
import { QueryClient } from "@tanstack/react-query";
|
|
4
4
|
import { RenderResult } from "@testing-library/react";
|
|
@@ -1333,6 +1333,8 @@ declare class ApiError extends Error {
|
|
|
1333
1333
|
*/
|
|
1334
1334
|
ext<T = unknown>(member: string): T | undefined;
|
|
1335
1335
|
}
|
|
1336
|
+
/** The comparable identifier inside a `type`: its last path segment. */
|
|
1337
|
+
declare function errorCodeOf(type: string | undefined): string;
|
|
1336
1338
|
/**
|
|
1337
1339
|
* Stable error codes for cursor-based list pagination. The server returns
|
|
1338
1340
|
* these on ValidationError{Field:"after"} when an `after` token cannot be
|
|
@@ -1808,4 +1810,4 @@ interface ResponsiveModeProviderProps {
|
|
|
1808
1810
|
type ForcedViewport = "auto" | ViewportCategory;
|
|
1809
1811
|
declare function ResponsiveModeProvider({ children, breakpoints, viewportOverride, viewport: declaredViewport }: ResponsiveModeProviderProps): import("react").JSX.Element;
|
|
1810
1812
|
declare function useResponsiveMode(): ResponsiveMode;
|
|
1811
|
-
export {
|
|
1813
|
+
export { Action as $, FileFieldValue as $t, EnrichedRow as A, resolveDetailRoute as At, Refs as B, FilterURLState as Bt, ApiErrorBody as C, extractPkValues as Ct, CURSOR_SEMANTICS_MISMATCH as D, pkValuesFromId as Dt, CURSOR_LANGUAGE_CHANGED as E, pkValuePartsToId as Et, LoginResponse as F, pickLocalized as Ft, V2ListParams as G, hasOrGroups as Gt, StatusInfo as H, NO_VALUE_OPS as Ht, ParamLookup as I, pluralText as It, V2ParamInstance as J, setFiltersInURL as Jt, V2ListResponse as K, parseFilterURLState as Kt, PropertyValue as L, textWithNodes as Lt, ListMeta as M, TextFn as Mt, ListParams as N, TextVars as Nt, CheckSetupResponse as O, pkValuesToDetailId as Ot, ListResponse as P, makeTextFn as Pt, isCursorStaleError as Q, FileFieldMode as Qt, PublicParam as R, FilterNode as Rt, ApiError as S, buildRowDetailHref as St, BrandingIdentity as T, getPrimaryKeyFields as Tt, Tenant as U, OP_LABELS as Ut, SignupResponse as V, FilterValueResolver as Vt, TenantEnv as W, countActiveFilters as Wt, V2StatusInstance as X, FileFieldDef as Xt, V2PropertyInstance as Y, FileAddress as Yt, errorCodeOf as Z, FileFieldDisplay as Zt, executeAction as _, StatusDef as _t, ResponsiveMode as a, EnumDef as at, AggregateParams as b, buildDetailHrefFromId as bt, resolveViewportCategory as c, LocalizedString as ct, ActionExecuteResponse as d, PkValues as dt, HydratedFile as en, AreaDef as et, ActionItemError as f, PropertyDef as ft, deleteObject as g, SpecialValue as gt, buildActionBody as h, Screen as ht, ResponsiveBreakpoints as i, EntityField as it, ImpersonationInfo as j, MANDATORY_LANGUAGE as jt, DataResponse as k, pkValuesToId as kt, ActionBatchError as l, NavNode as lt, GetEntityOptions as m, Schema as mt, useResponsiveMode as n, UploadedFile as nn, ClassificationTierDef as nt, ResponsiveViewport as o, FieldAccessInfo as ot, ActionItemSkip as p, RefConfig as pt, V2Meta as q, parseFiltersFromURL as qt, DEFAULT_RESPONSIVE_BREAKPOINTS as r, OrderedMap as rn, Entity as rt, ViewportCategory as s, LanguageDef as st, ResponsiveModeProvider as t, UploadProgress as tn, ChildRelation as tt, ActionExecuteRequest as u, ParameterDef as ut, restoreObject as v, StatusGroupDef as vt, AuthUser as w, fieldDisplayName as wt, AggregateResponse as x, buildEntityDetailHref as xt, AggregateGroup as y, StructureDef as yt, PublicParamsResponse as z, FilterOp as zt };
|