@declarion/react 0.142.0 → 0.147.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/{Icons-Dzl-AkD_.d.ts → Icons-BdXCxyw3.d.ts} +0 -4
- package/dist-lib/api/access-expiry.js +1 -2
- package/dist-lib/api/agents.js +1 -2
- package/dist-lib/api/audience.js +1 -2
- package/dist-lib/api/auth-redirect.js +1 -2
- package/dist-lib/api/auth.js +1 -2
- package/dist-lib/api/batch.js +1 -2
- package/dist-lib/api/client.js +27 -28
- package/dist-lib/api/data.js +23 -24
- package/dist-lib/api/entities.js +36 -37
- package/dist-lib/api/events.js +6 -7
- package/dist-lib/api/fileReferences.js +1 -2
- package/dist-lib/api/params.js +1 -2
- package/dist-lib/api/properties.js +1 -2
- package/dist-lib/api/request-bounds.js +1 -2
- package/dist-lib/api/schema.js +5 -6
- package/dist-lib/api/session-renewal.js +6 -7
- package/dist-lib/api/status.js +1 -2
- package/dist-lib/app.js +154 -155
- package/dist-lib/components/actions/ActionButton.js +32 -33
- package/dist-lib/components/actions/ActionDialog.js +85 -86
- package/dist-lib/components/actions/ActionResultDialog.impl.js +48 -49
- package/dist-lib/components/actions/ActionResultDialog.js +1 -2
- package/dist-lib/components/actions/ActionRunner.js +96 -97
- package/dist-lib/components/actions/ObjectActionBar.js +49 -50
- package/dist-lib/components/actions/PropertyGridEditor.js +50 -51
- package/dist-lib/components/actions/ResponsiveActionBar.js +127 -128
- package/dist-lib/components/actions/RowActionsKebab.js +27 -28
- package/dist-lib/components/agents/AgentChatPanel.impl.js +317 -318
- package/dist-lib/components/agents/AgentChatPanel.js +1 -2
- package/dist-lib/components/agents/AgentConversationDrawer.js +6 -7
- package/dist-lib/components/agents/AgentElicitForm.js +13 -14
- package/dist-lib/components/agents/AgentOpenFollower.impl.js +1 -2
- package/dist-lib/components/agents/AgentOpenFollower.js +1 -2
- package/dist-lib/components/agents/AgentPicker.js +1 -2
- package/dist-lib/components/agents/ChatAttachments.js +22 -23
- package/dist-lib/components/agents/transcript-runs.js +1 -2
- package/dist-lib/components/chrome/AssociationTabs.js +44 -45
- package/dist-lib/components/chrome/AuditMetaStrip.js +1 -2
- package/dist-lib/components/chrome/Breadcrumbs.js +1 -2
- package/dist-lib/components/chrome/HighlightsStrip.js +1 -2
- package/dist-lib/components/chrome/PageHeader.js +12 -13
- package/dist-lib/components/chrome/PageShell.js +1 -2
- package/dist-lib/components/chrome/RecordHeader.js +1 -2
- package/dist-lib/components/chrome/headerActionZone.js +0 -1
- package/dist-lib/components/detail-layout/AssociatedBlock.js +463 -464
- package/dist-lib/components/detail-layout/AssociatedToolbar.js +43 -44
- package/dist-lib/components/detail-layout/ChildrenBlock.js +24 -25
- package/dist-lib/components/detail-layout/ChildrenCards.js +29 -30
- package/dist-lib/components/detail-layout/ChildrenList.js +23 -24
- package/dist-lib/components/detail-layout/ChildrenTable.js +50 -51
- package/dist-lib/components/detail-layout/ChildrenTimeline.js +164 -165
- package/dist-lib/components/detail-layout/DetailAuditStrip.js +14 -15
- package/dist-lib/components/detail-layout/DetailHighlights.js +23 -24
- package/dist-lib/components/detail-layout/DraggableChildrenTable.js +76 -77
- package/dist-lib/components/detail-layout/EditableChildrenTable.js +90 -91
- package/dist-lib/components/detail-layout/ErrorSummary.js +7 -8
- package/dist-lib/components/detail-layout/EvidenceBlock.js +15 -16
- package/dist-lib/components/detail-layout/FieldRow.js +11 -12
- package/dist-lib/components/detail-layout/FieldsBlock.js +31 -32
- package/dist-lib/components/detail-layout/LayoutColumn.js +1 -2
- package/dist-lib/components/detail-layout/LayoutRenderer.js +11 -12
- package/dist-lib/components/detail-layout/LayoutRow.js +1 -2
- package/dist-lib/components/detail-layout/LayoutTabs.js +23 -24
- package/dist-lib/components/detail-layout/PropertiesBlock.js +38 -39
- package/dist-lib/components/detail-layout/QuickAddForm.js +28 -29
- package/dist-lib/components/detail-layout/SectionBlock.js +9 -10
- package/dist-lib/components/detail-layout/StatusesBlock.js +1 -2
- package/dist-lib/components/detail-layout/TimelineComposer.js +19 -20
- package/dist-lib/components/detail-layout/blockMeta.js +1 -2
- package/dist-lib/components/detail-layout/useManualColumnResize.js +1 -2
- package/dist-lib/components/detail-layout/useQuickAdd.js +21 -22
- package/dist-lib/components/detail-layout/visibility.js +1 -2
- package/dist-lib/components/detail-layout/widgets/EntityScorecardWidget.js +25 -26
- package/dist-lib/components/detail-layout/widgets/JsonDiffWidget.js +18 -19
- package/dist-lib/components/detail-layout/widgets/MonacoJson.js +1 -2
- package/dist-lib/components/detail-layout/widgets/WidgetHost.js +10 -11
- package/dist-lib/components/detail-layout/widgets/builtins.js +1 -2
- package/dist-lib/components/detail-layout/widgets/canonicalizeJson.js +1 -2
- package/dist-lib/components/detail-layout/widgets/monacoBootstrap.js +1 -2
- package/dist-lib/components/detail-layout/widgets/registry.js +1 -2
- package/dist-lib/components/fields/BoolField.js +1 -2
- package/dist-lib/components/fields/EmailField.js +5 -6
- package/dist-lib/components/fields/EnumField.js +7 -8
- package/dist-lib/components/fields/FileReferenceField.js +18 -19
- package/dist-lib/components/fields/IntArrayField.js +11 -12
- package/dist-lib/components/fields/JsonEditor.js +1 -2
- package/dist-lib/components/fields/JsonField.js +1 -2
- package/dist-lib/components/fields/MultilangArrayField.js +22 -23
- package/dist-lib/components/fields/MultilangField.js +13 -14
- package/dist-lib/components/fields/MultilangTextField.js +13 -14
- package/dist-lib/components/fields/NumberField.js +5 -6
- package/dist-lib/components/fields/PasswordField.js +1 -2
- package/dist-lib/components/fields/PhoneField.js +24 -25
- package/dist-lib/components/fields/RefCombobox.js +42 -43
- package/dist-lib/components/fields/RefField.js +14 -15
- package/dist-lib/components/fields/RichTextField.js +29 -30
- package/dist-lib/components/fields/SecretField.js +1 -2
- package/dist-lib/components/fields/StringArrayField.js +29 -30
- package/dist-lib/components/fields/StringField.js +12 -13
- package/dist-lib/components/fields/StructureField.js +60 -61
- package/dist-lib/components/fields/TextField.js +18 -19
- package/dist-lib/components/fields/TimestampField.js +17 -18
- package/dist-lib/components/fields/UrlField.js +5 -6
- package/dist-lib/components/fields/cells/factories/badge.js +5 -6
- package/dist-lib/components/fields/cells/factories/boolPill.js +1 -2
- package/dist-lib/components/fields/cells/factories/code.js +1 -2
- package/dist-lib/components/fields/cells/factories/date.js +1 -2
- package/dist-lib/components/fields/cells/factories/email.js +1 -2
- package/dist-lib/components/fields/cells/factories/emptyCell.js +0 -1
- package/dist-lib/components/fields/cells/factories/fileReference.js +1 -2
- package/dist-lib/components/fields/cells/factories/host-icons.js +1 -2
- package/dist-lib/components/fields/cells/factories/json.js +1 -2
- package/dist-lib/components/fields/cells/factories/link.js +10 -11
- package/dist-lib/components/fields/cells/factories/markdown.js +14 -15
- package/dist-lib/components/fields/cells/factories/markdownPreview.js +1 -2
- package/dist-lib/components/fields/cells/factories/money.js +1 -2
- package/dist-lib/components/fields/cells/factories/multilangInline.js +1 -2
- package/dist-lib/components/fields/cells/factories/nextRun.js +8 -9
- package/dist-lib/components/fields/cells/factories/number.js +1 -2
- package/dist-lib/components/fields/cells/factories/passwordMask.js +1 -2
- package/dist-lib/components/fields/cells/factories/phone.js +1 -2
- package/dist-lib/components/fields/cells/factories/refLink.js +13 -14
- package/dist-lib/components/fields/cells/factories/richTextPreview.js +16 -17
- package/dist-lib/components/fields/cells/factories/statusPill.js +5 -6
- package/dist-lib/components/fields/cells/factories/tagList.js +6 -7
- package/dist-lib/components/fields/cells/factories/text.js +1 -2
- package/dist-lib/components/fields/cells/factories/timestamp.js +1 -2
- package/dist-lib/components/fields/cells/factories/url-helpers.js +1 -2
- package/dist-lib/components/fields/cells/factories/url.js +13 -14
- package/dist-lib/components/fields/cells/registry.js +1 -2
- package/dist-lib/components/fields/index.js +19 -20
- package/dist-lib/components/fields/langMap.js +1 -2
- package/dist-lib/components/fields/secretValue.js +1 -2
- package/dist-lib/components/file-widgets/CircleImage.js +1 -2
- package/dist-lib/components/file-widgets/DocumentCard.js +101 -102
- package/dist-lib/components/file-widgets/FileList.js +35 -36
- package/dist-lib/components/file-widgets/Grid.js +119 -120
- package/dist-lib/components/file-widgets/GridLazy.js +1 -2
- package/dist-lib/components/file-widgets/ImageWidget.js +189 -190
- package/dist-lib/components/file-widgets/LabeledSlots.js +14 -15
- package/dist-lib/components/file-widgets/SquareImage.js +1 -2
- package/dist-lib/components/file-widgets/UnknownFileWidget.js +1 -2
- package/dist-lib/components/file-widgets/UploadFailureText.js +1 -2
- package/dist-lib/components/file-widgets/WideBanner.js +1 -2
- package/dist-lib/components/file-widgets/builtins.js +1 -2
- package/dist-lib/components/file-widgets/cropper.js +1 -2
- package/dist-lib/components/file-widgets/draft-scope.js +1 -2
- package/dist-lib/components/file-widgets/helpers.js +1 -2
- package/dist-lib/components/file-widgets/host.js +33 -34
- package/dist-lib/components/file-widgets/payload.js +1 -2
- package/dist-lib/components/file-widgets/registry.js +1 -2
- package/dist-lib/components/file-widgets/upload.js +41 -42
- package/dist-lib/components/file-widgets/useEmbedFileSrc.js +12 -13
- package/dist-lib/components/file-widgets/useFileSelection.js +1 -2
- package/dist-lib/components/file-widgets/value.js +1 -2
- package/dist-lib/components/filters/FilterChips.js +15 -16
- package/dist-lib/components/filters/FilterConditionValue.js +15 -16
- package/dist-lib/components/filters/FilterDrawer.js +141 -142
- package/dist-lib/components/filters/FilterOmittedNotice.js +1 -2
- package/dist-lib/components/filters/filter-op-label.js +1 -2
- package/dist-lib/components/layout/CommandPalette.impl.js +24 -25
- package/dist-lib/components/layout/CommandPalette.js +1 -2
- package/dist-lib/components/layout/DirtyTabsCloseDialog.impl.js +15 -16
- package/dist-lib/components/layout/DirtyTabsCloseDialog.js +1 -2
- package/dist-lib/components/layout/ImpersonationBanner.impl.js +6 -7
- package/dist-lib/components/layout/ImpersonationBanner.js +1 -2
- package/dist-lib/components/layout/ImpersonationFrame.js +4 -5
- package/dist-lib/components/layout/ImpersonationStartModal.impl.js +4 -5
- package/dist-lib/components/layout/ImpersonationStartModal.js +1 -2
- package/dist-lib/components/layout/Layout.js +132 -140
- package/dist-lib/components/layout/Rail.js +11 -12
- package/dist-lib/components/layout/Sidebar.js +60 -61
- package/dist-lib/components/layout/TabStrip.js +66 -67
- package/dist-lib/components/layout/TenantChip.js +21 -22
- package/dist-lib/components/layout/TopBar.js +89 -90
- package/dist-lib/components/layout/tab-close.js +1 -2
- package/dist-lib/components/list/ColumnPicker.js +35 -36
- package/dist-lib/components/list/InlineEditCell.js +22 -23
- package/dist-lib/components/list/PeekFieldCell.js +7 -8
- package/dist-lib/components/list/QuickPeek.js +29 -30
- package/dist-lib/components/list/ViewSwitcher.js +44 -45
- package/dist-lib/components/list/peekDraftStore.js +1 -2
- package/dist-lib/components/pages/AdminCatalogPage.impl.js +59 -60
- package/dist-lib/components/pages/AdminCatalogPage.js +1 -2
- package/dist-lib/components/pages/DocumentsMenu.js +53 -54
- package/dist-lib/components/pages/ExportMenu.js +37 -38
- package/dist-lib/components/pages/NoScreensPage.impl.js +5 -6
- package/dist-lib/components/pages/NoScreensPage.js +1 -2
- package/dist-lib/components/pages/NotFoundPage.impl.js +7 -8
- package/dist-lib/components/pages/NotFoundPage.js +1 -2
- package/dist-lib/components/pages/RecordDocumentsPanel.js +40 -41
- package/dist-lib/components/pages/RecordNotesPanel.js +43 -44
- package/dist-lib/components/pages/RecordPanels.js +1 -2
- package/dist-lib/components/pages/SSOCallbackPage.impl.js +6 -7
- package/dist-lib/components/pages/SSOCallbackPage.js +1 -2
- package/dist-lib/components/pages/SmartDetailPage.impl.js +501 -502
- package/dist-lib/components/pages/SmartDetailPage.js +1 -2
- package/dist-lib/components/pages/SmartListPage.impl.js +316 -317
- package/dist-lib/components/pages/SmartListPage.js +1 -2
- package/dist-lib/components/pages/SmartRecordListPage.impl.js +316 -317
- package/dist-lib/components/pages/SmartRecordListPage.js +1 -2
- package/dist-lib/components/pages/auth/AuthShell.js +14 -15
- package/dist-lib/components/pages/auth/CodeInput.js +0 -1
- package/dist-lib/components/pages/auth/Forgot.impl.js +12 -13
- package/dist-lib/components/pages/auth/Forgot.js +1 -2
- package/dist-lib/components/pages/auth/Reset.impl.js +20 -21
- package/dist-lib/components/pages/auth/Reset.js +1 -2
- package/dist-lib/components/pages/auth/SignIn.js +44 -45
- package/dist-lib/components/pages/auth/SignUp.impl.js +35 -36
- package/dist-lib/components/pages/auth/SignUp.js +1 -2
- package/dist-lib/components/pages/auth/SignUpCode.js +17 -18
- package/dist-lib/components/pages/auth/TwoFA.impl.js +9 -10
- package/dist-lib/components/pages/auth/TwoFA.js +1 -2
- package/dist-lib/components/pages/auth/icons.js +1 -2
- package/dist-lib/components/pages/exportRequest.js +1 -2
- package/dist-lib/components/pages/list/DataCell.js +1 -2
- package/dist-lib/components/pages/list/DeleteViewDialog.js +5 -6
- package/dist-lib/components/pages/list/ListCardRow.js +53 -54
- package/dist-lib/components/pages/list/ListCardsBody.js +1 -2
- package/dist-lib/components/pages/list/ListFloatbar.js +25 -26
- package/dist-lib/components/pages/list/ListFooter.js +17 -18
- package/dist-lib/components/pages/list/ListHeader.js +31 -32
- package/dist-lib/components/pages/list/ListNoRows.js +32 -33
- package/dist-lib/components/pages/list/ListTable.js +29 -30
- package/dist-lib/components/pages/list/ListTableRow.js +1 -2
- package/dist-lib/components/pages/list/ListToolbar.js +58 -59
- package/dist-lib/components/pages/list/ListUrlBanner.js +1 -2
- package/dist-lib/components/pages/list/RowActionsCell.js +6 -7
- package/dist-lib/components/pages/list/RowContextMenu.js +1 -2
- package/dist-lib/components/pages/list/SaveViewDialog.js +5 -6
- package/dist-lib/components/pages/list/SortHeaderMenu.js +25 -26
- package/dist-lib/components/pages/list/cardProjection.js +16 -17
- package/dist-lib/components/pages/list/column-sizing.js +1 -2
- package/dist-lib/components/pages/list/columns.js +74 -75
- package/dist-lib/components/pages/list/filter-meta.js +1 -2
- package/dist-lib/components/pages/list/page-size.js +1 -2
- package/dist-lib/components/pages/list/sortable-header.js +1 -2
- package/dist-lib/components/pages/list/table-features.js +1 -2
- package/dist-lib/components/pages/list/use-filter-value-labels.js +15 -16
- package/dist-lib/components/pages/list/useActiveView.js +1 -2
- package/dist-lib/components/pages/list/useHeaderReorder.js +1 -2
- package/dist-lib/components/pages/list/useListColumnLayout.js +6 -7
- package/dist-lib/components/pages/list/useListFilterPresentation.js +1 -2
- package/dist-lib/components/pages/list/useListQuery.js +1 -2
- package/dist-lib/components/pages/list/useListRowInteraction.js +37 -38
- package/dist-lib/components/pages/list/useListSelection.js +16 -17
- package/dist-lib/components/pages/list/useListSort.js +1 -2
- package/dist-lib/components/pages/list/useListViews.js +31 -32
- package/dist-lib/components/pages/list/useRowMenu.js +20 -21
- package/dist-lib/components/pages/list/visible-filters.js +1 -2
- package/dist-lib/components/pages/profile/Preferences.impl.js +44 -45
- package/dist-lib/components/pages/profile/Preferences.js +1 -2
- package/dist-lib/components/pages/profile/Profile.impl.js +223 -224
- package/dist-lib/components/pages/profile/Profile.js +1 -2
- package/dist-lib/components/pages/tenant-params/TenantParamsPage.impl.js +133 -134
- package/dist-lib/components/pages/tenant-params/TenantParamsPage.js +1 -2
- package/dist-lib/components/params/ParamsBlock.js +30 -31
- package/dist-lib/components/params/param-editors.js +58 -59
- package/dist-lib/components/primitives/Avatar.js +1 -2
- package/dist-lib/components/primitives/BoolToggle.js +1 -2
- package/dist-lib/components/primitives/BrandGlyph.js +1 -2
- package/dist-lib/components/primitives/BrandLogo.js +1 -2
- package/dist-lib/components/primitives/Btn.js +1 -2
- package/dist-lib/components/primitives/Check.js +1 -2
- package/dist-lib/components/primitives/Chip.js +1 -2
- package/dist-lib/components/primitives/ClassifiedFieldLocked.js +1 -2
- package/dist-lib/components/primitives/Dropdown.js +2 -3
- package/dist-lib/components/primitives/Fields.js +128 -129
- package/dist-lib/components/primitives/HoverCard.js +2 -3
- package/dist-lib/components/primitives/IconBtn.js +1 -2
- package/dist-lib/components/primitives/Icons.js +1 -2
- package/dist-lib/components/primitives/Kbd.js +1 -2
- package/dist-lib/components/primitives/MenuItem.js +1 -2
- package/dist-lib/components/primitives/Pill.js +1 -2
- package/dist-lib/components/primitives/RecordIdBadge.js +1 -2
- package/dist-lib/components/primitives/RetryButton.js +5 -6
- package/dist-lib/components/primitives/RowField.js +1 -2
- package/dist-lib/components/primitives/SectionCard.js +1 -2
- package/dist-lib/components/primitives/Spinner.js +1 -2
- package/dist-lib/components/primitives/StatTile.js +1 -2
- package/dist-lib/components/primitives/Tooltip.js +1 -2
- package/dist-lib/components/primitives/dataTableStyles.js +1 -2
- package/dist-lib/components/shared/BlankScreen.js +1 -2
- package/dist-lib/components/shared/ChangePasswordDialog.impl.js +20 -21
- package/dist-lib/components/shared/ChangePasswordDialog.js +1 -2
- package/dist-lib/components/shared/ConfirmDialog.js +7 -8
- package/dist-lib/components/shared/ConnectionNotice.js +1 -2
- package/dist-lib/components/shared/CopyButton.js +1 -2
- package/dist-lib/components/shared/DynamicIcon.js +1 -2
- package/dist-lib/components/shared/EmptyState.js +1 -2
- package/dist-lib/components/shared/ErrorBoundary.js +10 -11
- package/dist-lib/components/shared/LoadingSkeleton.js +1 -2
- package/dist-lib/components/shared/LucideIcon.js +1 -2
- package/dist-lib/components/shared/Markdown.js +1 -2
- package/dist-lib/components/shared/MarkdownRenderer.js +22 -23
- package/dist-lib/components/shared/ModalFrame.js +1 -2
- package/dist-lib/components/shared/RefreshControl.js +6 -7
- package/dist-lib/components/shared/StatusGroupsDisplay.js +16 -17
- package/dist-lib/components/shared/StatusStepper.js +1 -2
- package/dist-lib/components/shared/toast/DeclarionToast.js +1 -2
- package/dist-lib/components/shared/useOwnRefresh.js +1 -2
- package/dist-lib/embed/EmbedAuthBootstrap.js +30 -31
- package/dist-lib/embed/EmbedContext.js +1 -2
- package/dist-lib/embed/EmbedDirtyReporter.js +6 -7
- package/dist-lib/embed/EmbedHistoryTracker.js +1 -2
- package/dist-lib/embed/EmbedLocationReporter.js +11 -12
- package/dist-lib/embed/EmbedResizeReporter.js +9 -10
- package/dist-lib/embed/EmbedUnsavedGuard.js +5 -6
- package/dist-lib/embed/embed-dirty.js +1 -2
- package/dist-lib/embed/embed-history.js +1 -2
- package/dist-lib/embed/embed-nav-guard.js +1 -2
- package/dist-lib/embed/file-src.js +12 -13
- package/dist-lib/embed/handshake.js +1 -2
- package/dist-lib/embed/params.js +1 -2
- package/dist-lib/embed/protocol.js +1 -2
- package/dist-lib/embed/screen-location.js +1 -2
- package/dist-lib/embed/theme.js +1 -2
- package/dist-lib/embed/token.js +1 -2
- package/dist-lib/embed/useEmbedNavigate.js +25 -26
- package/dist-lib/embed/useGlobalLinkInterceptor.js +9 -10
- package/dist-lib/hooks/useActionData.js +1 -2
- package/dist-lib/hooks/useActiveTabFollowsRoute.js +7 -8
- package/dist-lib/hooks/useAgentConversation.js +122 -123
- package/dist-lib/hooks/useAggregate.js +1 -2
- package/dist-lib/hooks/useAllEntityData.js +9 -10
- package/dist-lib/hooks/useAssociatedData.js +1 -2
- package/dist-lib/hooks/useAuth.js +26 -27
- package/dist-lib/hooks/useBranding.js +1 -2
- package/dist-lib/hooks/useBrandingChrome.js +16 -17
- package/dist-lib/hooks/useChildrenData.js +4 -5
- package/dist-lib/hooks/useColumns.js +1 -2
- package/dist-lib/hooks/useConnectionNotice.js +16 -17
- package/dist-lib/hooks/useCurrentLocation.js +1 -2
- package/dist-lib/hooks/useCurrentScreen.js +1 -2
- package/dist-lib/hooks/useCursorEntityData.js +1 -2
- package/dist-lib/hooks/useDebounce.js +1 -2
- package/dist-lib/hooks/useDisplayTimeZone.js +4 -5
- package/dist-lib/hooks/useDocumentTitle.js +5 -6
- package/dist-lib/hooks/useEntity.js +1 -2
- package/dist-lib/hooks/useEntityData.js +1 -2
- package/dist-lib/hooks/useFileReferenceJSON.js +9 -10
- package/dist-lib/hooks/useFilters.js +5 -6
- package/dist-lib/hooks/useFollowAgentOpen.js +40 -41
- package/dist-lib/hooks/useImpersonation.js +15 -16
- package/dist-lib/hooks/useIntentPrefetch.js +6 -7
- package/dist-lib/hooks/useJsonSnapshot.js +1 -2
- package/dist-lib/hooks/useLanguage.js +11 -12
- package/dist-lib/hooks/useLiveObject.js +6 -7
- package/dist-lib/hooks/useLongPress.js +1 -2
- package/dist-lib/hooks/useMutations.js +31 -32
- package/dist-lib/hooks/useObject.js +1 -2
- package/dist-lib/hooks/useObjectStatus.js +4 -5
- package/dist-lib/hooks/usePageState.js +9 -10
- package/dist-lib/hooks/usePageStateRuntime.js +16 -17
- package/dist-lib/hooks/usePageStateTtl.js +1 -2
- package/dist-lib/hooks/useParams.js +58 -59
- package/dist-lib/hooks/useProperties.js +5 -6
- package/dist-lib/hooks/useRealtimeThresholds.js +4 -5
- package/dist-lib/hooks/useRefRecords.js +31 -32
- package/dist-lib/hooks/useRegisterScreenTab.js +12 -13
- package/dist-lib/hooks/useResponsiveMode.js +1 -2
- package/dist-lib/hooks/useRowTenant.js +1 -2
- package/dist-lib/hooks/useSSE.js +100 -101
- package/dist-lib/hooks/useSchema.js +16 -17
- package/dist-lib/hooks/useScreen.js +1 -2
- package/dist-lib/hooks/useScreenBack.js +17 -18
- package/dist-lib/hooks/useScreenTab.js +1 -2
- package/dist-lib/hooks/useTabNavigate.js +25 -26
- package/dist-lib/hooks/useTabSearchMirror.js +6 -7
- package/dist-lib/hooks/useTabTitle.js +10 -11
- package/dist-lib/hooks/useText.js +6 -7
- package/dist-lib/hooks/useTimelineData.js +5 -6
- package/dist-lib/hooks/useUiPreferences.js +31 -32
- package/dist-lib/hooks/useUnsavedInput.js +1 -2
- package/dist-lib/hooks/useVersionWatcher.js +16 -17
- package/dist-lib/hooks/useViews.js +16 -17
- package/dist-lib/hooks/useWindowConversation.js +1 -2
- package/dist-lib/{icon-registry-CUT4eF63.d.ts → icon-registry-BY2tt-GF.d.ts} +0 -2
- package/dist-lib/icons.d.ts +2 -4
- package/dist-lib/icons.js +5 -5
- package/dist-lib/index.d.ts +4 -272
- package/dist-lib/index.js +129 -129
- package/dist-lib/lib/action-dispatch.js +1 -2
- package/dist-lib/lib/actions.js +26 -27
- package/dist-lib/lib/anchor.js +1 -2
- package/dist-lib/lib/brand-tokens.js +1 -2
- package/dist-lib/lib/branding.js +1 -2
- package/dist-lib/lib/canonical-url.js +1 -2
- package/dist-lib/lib/capabilityPrefetch.js +1 -2
- package/dist-lib/lib/child-config.js +1 -2
- package/dist-lib/lib/children-validation.js +2 -3
- package/dist-lib/lib/date-text.js +1 -2
- package/dist-lib/lib/decimal-text.js +1 -2
- package/dist-lib/lib/display-value.js +1 -2
- package/dist-lib/lib/document-templates.js +1 -2
- package/dist-lib/lib/download.js +13 -14
- package/dist-lib/lib/evidence-verdict.js +1 -2
- package/dist-lib/lib/failure.js +4 -5
- package/dist-lib/lib/field-classification.js +1 -2
- package/dist-lib/lib/field-regions.js +1 -2
- package/dist-lib/lib/filter-evaluator.js +1 -2
- package/dist-lib/lib/filters.js +1 -2
- package/dist-lib/lib/format-count.js +1 -2
- package/dist-lib/lib/html-state.js +1 -2
- package/dist-lib/lib/language.js +1 -2
- package/dist-lib/lib/longPressGesture.js +0 -1
- package/dist-lib/lib/mass-edit.js +1 -2
- package/dist-lib/lib/money-text.js +1 -2
- package/dist-lib/lib/number-text.js +1 -2
- package/dist-lib/lib/page-inset.js +1 -2
- package/dist-lib/lib/phone.js +1 -2
- package/dist-lib/lib/profile.js +1 -2
- package/dist-lib/lib/query-retry.js +1 -2
- package/dist-lib/lib/quick-add.js +1 -2
- package/dist-lib/lib/read-display-state.js +1 -2
- package/dist-lib/lib/realtime-query-keys.js +2 -3
- package/dist-lib/lib/realtime-reconcile.js +32 -33
- package/dist-lib/lib/realtime-resync.js +40 -41
- package/dist-lib/lib/record-documents-key.js +1 -2
- package/dist-lib/lib/ref-choices.js +1 -2
- package/dist-lib/lib/refetch-when-idle.js +1 -2
- package/dist-lib/lib/rich-text.js +1 -2
- package/dist-lib/lib/role-label.js +1 -2
- package/dist-lib/lib/rowClickGesture.js +1 -2
- package/dist-lib/lib/safe-url.js +1 -2
- package/dist-lib/lib/schema-routing.js +1 -2
- package/dist-lib/lib/screen-back.js +1 -2
- package/dist-lib/lib/scroll-restoration.js +21 -22
- package/dist-lib/lib/shortcut.js +1 -2
- package/dist-lib/lib/size-value.js +1 -2
- package/dist-lib/lib/sort.js +1 -2
- package/dist-lib/lib/timestamp.js +1 -2
- package/dist-lib/lib/toast.js +1 -2
- package/dist-lib/lib/ui-actions.js +43 -44
- package/dist-lib/lib/utils.js +1 -2
- package/dist-lib/lib/variants.js +1 -2
- package/dist-lib/lib/versionTracker.js +26 -27
- package/dist-lib/lib/viewport-category.js +1 -2
- package/dist-lib/lib/window-election.js +1 -2
- package/dist-lib/stores/auth.js +32 -33
- package/dist-lib/stores/icon-registry.js +1 -2
- package/dist-lib/stores/list-layout.js +0 -1
- package/dist-lib/stores/page-state.js +1 -2
- package/dist-lib/stores/preferences.js +1 -2
- package/dist-lib/stores/realtime.js +1 -2
- package/dist-lib/stores/screen-registry.js +1 -2
- package/dist-lib/stores/tabs.js +1 -2
- package/dist-lib/test/seed-schema.js +4 -5
- package/dist-lib/testing.d.ts +2 -4
- package/dist-lib/testing.js +49 -50
- package/dist-lib/types/api.js +1 -2
- package/dist-lib/types/fieldType.js +1 -2
- package/dist-lib/types/ordmap.js +1 -2
- package/dist-lib/types/schema.js +1 -2
- package/dist-lib/{useResponsiveMode-C4MeAgoS.d.ts → useResponsiveMode-BElw02Gh.d.ts} +1 -19
- package/dist-lib/vite/index.d.ts +0 -2
- package/dist-lib/vite/index.js +1 -2
- package/package.json +11 -11
package/dist-lib/index.d.ts
CHANGED
|
@@ -1,16 +1,11 @@
|
|
|
1
|
-
import { i as
|
|
2
|
-
import { i as setIconRegistry, n as getIcon, t as IconDef } from "./icon-registry-
|
|
3
|
-
import {
|
|
1
|
+
import { $ as AreaDef, $t as HydratedFile, A as EnrichedRow, At as MANDATORY_LANGUAGE, B as Refs, Bt as FilterValueResolver, C as ApiErrorBody, Ct as fieldDisplayName, D as CURSOR_SEMANTICS_MISMATCH, Dt as pkValuesToDetailId, E as CURSOR_LANGUAGE_CHANGED, Et as pkValuesFromId, F as LoginResponse, Ft as pluralText, G as V2ListParams, Gt as parseFilterURLState, H as StatusInfo, Ht as OP_LABELS, I as ParamLookup, It as textWithNodes, J as V2ParamInstance, Jt as FileAddress, K as V2ListResponse, Kt as parseFiltersFromURL, L as PropertyValue, Lt as FilterNode, M as ListMeta, Mt as TextVars, N as ListParams, Nt as makeTextFn, O as CheckSetupResponse, Ot as pkValuesToId, P as ListResponse, Pt as pickLocalized, Q as Action, Qt as FileFieldValue, R as PublicParam, Rt as FilterOp, S as ApiError, St as extractPkValues, T as BrandingIdentity, Tt as pkValuePartsToId, U as Tenant, Ut as countActiveFilters, V as SignupResponse, Vt as NO_VALUE_OPS, W as TenantEnv, Wt as hasOrGroups, X as V2StatusInstance, Xt as FileFieldDisplay, Y as V2PropertyInstance, Yt as FileFieldDef, Z as isCursorStaleError, Zt as FileFieldMode, _ as executeAction, _t as StatusGroupDef, a as ResponsiveMode, at as FieldAccessInfo, b as AggregateParams, bt as buildEntityDetailHref, c as resolveViewportCategory, ct as NavNode, d as ActionExecuteResponse, dt as PropertyDef, en as UploadProgress, et as ChildRelation, f as ActionItemError, ft as RefConfig, g as deleteObject, gt as StatusDef, h as buildActionBody, ht as SpecialValue, i as ResponsiveBreakpoints, it as EnumDef, j as ImpersonationInfo, jt as TextFn, k as DataResponse, kt as resolveDetailRoute, l as ActionBatchError, lt as ParameterDef, m as GetEntityOptions, mt as Screen, n as useResponsiveMode, nn as OrderedMap, nt as Entity, o as ResponsiveViewport, ot as LanguageDef, p as ActionItemSkip, pt as Schema, q as V2Meta, qt as setFiltersInURL, r as DEFAULT_RESPONSIVE_BREAKPOINTS, rt as EntityField, s as ViewportCategory, st as LocalizedString, t as ResponsiveModeProvider, tn as UploadedFile, tt as ClassificationTierDef, u as ActionExecuteRequest, ut as PkValues, v as restoreObject, vt as StructureDef, w as AuthUser, wt as getPrimaryKeyFields, x as AggregateResponse, xt as buildRowDetailHref, y as AggregateGroup, yt as buildDetailHrefFromId, z as PublicParamsResponse, zt as FilterURLState } from "./useResponsiveMode-BElw02Gh.js";
|
|
2
|
+
import { i as setIconRegistry, n as getIcon, t as IconDef } from "./icon-registry-BY2tt-GF.js";
|
|
3
|
+
import { i as DynamicIcon, n as IconName, r as IconProps, t as Icon } from "./Icons-BdXCxyw3.js";
|
|
4
4
|
import { ButtonHTMLAttributes, CSSProperties, ComponentType, InputHTMLAttributes, MouseEvent, ReactNode, RefObject } from "react";
|
|
5
5
|
import { QueryClient, QueryKey, UseQueryResult } from "@tanstack/react-query";
|
|
6
6
|
import { useLocation, useNavigate, useParams, useSearchParams } from "react-router";
|
|
7
|
-
//#region src/app.d.ts
|
|
8
7
|
export declare function App(): import("react").JSX.Element;
|
|
9
|
-
//#endregion
|
|
10
|
-
//#region src/lib/display-value.d.ts
|
|
11
8
|
export declare function coerceDisplayString(value: unknown): string;
|
|
12
|
-
//#endregion
|
|
13
|
-
//#region src/lib/timestamp.d.ts
|
|
14
9
|
interface TimestampZone {
|
|
15
10
|
zone?: string;
|
|
16
11
|
declared?: boolean;
|
|
@@ -27,8 +22,6 @@ export declare function formatOffsetTimestamp(raw: string, options?: TimestampZo
|
|
|
27
22
|
export declare function zoneMark(raw: string, zone?: string): string;
|
|
28
23
|
export declare function editorWallClock(raw: string, options?: TimestampZone): string;
|
|
29
24
|
export declare function editorWireValue(wallClock: string, options?: TimestampZone): string;
|
|
30
|
-
//#endregion
|
|
31
|
-
//#region src/lib/money-text.d.ts
|
|
32
25
|
type CurrencyDisplay = "symbol" | "narrowSymbol" | "code" | "name";
|
|
33
26
|
interface MoneyTextOptions {
|
|
34
27
|
language: string;
|
|
@@ -36,8 +29,6 @@ interface MoneyTextOptions {
|
|
|
36
29
|
currencyDisplay?: CurrencyDisplay;
|
|
37
30
|
}
|
|
38
31
|
export declare function formatMoneyText(amount: number | string, options: MoneyTextOptions): string;
|
|
39
|
-
//#endregion
|
|
40
|
-
//#region src/api/entities.d.ts
|
|
41
32
|
/** Helper methods injected onto enriched rows. */
|
|
42
33
|
interface RowHelpers {
|
|
43
34
|
$status(groupCode: string): V2StatusInstance | undefined;
|
|
@@ -186,8 +177,6 @@ export declare class EntityClient<T extends Record<string, unknown> = Record<str
|
|
|
186
177
|
* context or a module-level singleton.
|
|
187
178
|
*/
|
|
188
179
|
export declare function entityClient<T extends Record<string, unknown> = Record<string, unknown>>(entity: string, refCache?: RefCache): EntityClient<T>;
|
|
189
|
-
//#endregion
|
|
190
|
-
//#region src/api/batch.d.ts
|
|
191
180
|
interface BatchOp {
|
|
192
181
|
action: string;
|
|
193
182
|
params?: Record<string, unknown> | null;
|
|
@@ -212,8 +201,6 @@ export declare class Batch {
|
|
|
212
201
|
execute(): Promise<BatchResponse>;
|
|
213
202
|
_ops(): readonly BatchOp[];
|
|
214
203
|
}
|
|
215
|
-
//#endregion
|
|
216
|
-
//#region src/hooks/useSchema.d.ts
|
|
217
204
|
/**
|
|
218
205
|
* The schema of the current session. One answer serves every reader; an answer that
|
|
219
206
|
* describes another caller is never returned. Requested before the caller last changed,
|
|
@@ -224,14 +211,8 @@ export declare function useSchema(): {
|
|
|
224
211
|
isError: boolean;
|
|
225
212
|
refetch: () => Promise<unknown>;
|
|
226
213
|
};
|
|
227
|
-
//#endregion
|
|
228
|
-
//#region src/hooks/useEntity.d.ts
|
|
229
214
|
export declare function useEntity(entityCode: string | undefined): Entity | undefined;
|
|
230
|
-
//#endregion
|
|
231
|
-
//#region src/hooks/useScreen.d.ts
|
|
232
215
|
export declare function useScreen(screenCode: string | undefined): Screen | undefined;
|
|
233
|
-
//#endregion
|
|
234
|
-
//#region src/hooks/useCurrentScreen.d.ts
|
|
235
216
|
/**
|
|
236
217
|
* The screen a component is currently rendering inside.
|
|
237
218
|
*
|
|
@@ -264,8 +245,6 @@ export declare function CurrentScreenProvider({ code, children }: {
|
|
|
264
245
|
* description, the entity, the route - instead of restating it in the component.
|
|
265
246
|
*/
|
|
266
247
|
export declare function useCurrentScreen(): CurrentScreen | undefined;
|
|
267
|
-
//#endregion
|
|
268
|
-
//#region src/hooks/useAuth.d.ts
|
|
269
248
|
export declare function useAuth(): {
|
|
270
249
|
user: AuthUser | null;
|
|
271
250
|
isAuthenticated: boolean;
|
|
@@ -293,8 +272,6 @@ export declare function useAuth(): {
|
|
|
293
272
|
isConfirmSignupPending: boolean;
|
|
294
273
|
isSwitchingTenant: boolean;
|
|
295
274
|
};
|
|
296
|
-
//#endregion
|
|
297
|
-
//#region src/hooks/useEntityData.d.ts
|
|
298
275
|
/**
|
|
299
276
|
* The React Query key for an entity list-window read. The single source of
|
|
300
277
|
* truth for both `useEntityData` and a screen registering its PRIMARY read with
|
|
@@ -318,11 +295,7 @@ export declare function useEntityData(entity: string | undefined, params: ListPa
|
|
|
318
295
|
* failed/absent count as "unknown" and fall back to the loaded row count.
|
|
319
296
|
*/
|
|
320
297
|
export declare function useEntityCount(entity: string | undefined, params: ListParams, enabled?: boolean): import("@tanstack/react-query").UseQueryResult<ListResponse<Record<string, unknown>>, Error>;
|
|
321
|
-
//#endregion
|
|
322
|
-
//#region src/hooks/useAggregate.d.ts
|
|
323
298
|
export declare function useAggregate(entity: string | undefined, params: AggregateParams, enabled?: boolean): import("@tanstack/react-query").UseQueryResult<AggregateResponse, Error>;
|
|
324
|
-
//#endregion
|
|
325
|
-
//#region src/hooks/useCursorEntityData.d.ts
|
|
326
299
|
/**
|
|
327
300
|
* The stable JSON segment of the cursor list's query key (the view-defining
|
|
328
301
|
* params, order-independent). Extracted so both the hook and the key builder
|
|
@@ -392,8 +365,6 @@ export declare function useCursorEntityData(entity: string | undefined, params:
|
|
|
392
365
|
* type to annotate against. Derived from the hook so it never drifts.
|
|
393
366
|
*/
|
|
394
367
|
type CursorEntityDataResult = ReturnType<typeof useCursorEntityData>;
|
|
395
|
-
//#endregion
|
|
396
|
-
//#region src/hooks/useAllEntityData.d.ts
|
|
397
368
|
/**
|
|
398
369
|
* Fetches every page of an entity list and concatenates the result into a
|
|
399
370
|
* single ListResponse whose `meta.total` is the true row count.
|
|
@@ -409,8 +380,6 @@ type CursorEntityDataResult = ReturnType<typeof useCursorEntityData>;
|
|
|
409
380
|
* pagination - while `filters`, `search`, `sort`, and `expand` are honored.
|
|
410
381
|
*/
|
|
411
382
|
export declare function useAllEntityData(entity: string | undefined, params?: ListParams): import("@tanstack/react-query").UseQueryResult<ListResponse<Record<string, unknown>>, Error>;
|
|
412
|
-
//#endregion
|
|
413
|
-
//#region src/hooks/useObject.d.ts
|
|
414
383
|
/**
|
|
415
384
|
* The React Query key for a single-record read. Single source of truth for both
|
|
416
385
|
* `useObject` and a detail screen registering its PRIMARY read with its
|
|
@@ -419,12 +388,8 @@ export declare function useAllEntityData(entity: string | undefined, params?: Li
|
|
|
419
388
|
*/
|
|
420
389
|
export declare function objectQueryKey(entity: string | undefined, pkValues: PkValues | string | undefined, options?: GetEntityOptions): QueryKey;
|
|
421
390
|
export declare function useObject(entity: string | undefined, pkValues: PkValues | string | undefined, options?: GetEntityOptions): import("@tanstack/react-query").UseQueryResult<DataResponse<Record<string, unknown>>, Error>;
|
|
422
|
-
//#endregion
|
|
423
|
-
//#region src/hooks/useFileReferenceJSON.d.ts
|
|
424
391
|
export declare function fileReferenceJSONQueryKey(entityCode: string | undefined, pkValues: PkValues | string | undefined, fieldCode: string | undefined, reference: string | null | undefined): QueryKey;
|
|
425
392
|
export declare function useFileReferenceJSON(entityCode: string | undefined, pkValues: PkValues | string | undefined, fieldCode: string | undefined, reference: string | null | undefined): import("@tanstack/react-query").UseQueryResult<unknown, Error>;
|
|
426
|
-
//#endregion
|
|
427
|
-
//#region src/components/fields/index.d.ts
|
|
428
393
|
interface FieldRendererProps {
|
|
429
394
|
field: EntityField;
|
|
430
395
|
entityCode?: string;
|
|
@@ -445,21 +410,15 @@ interface FieldRendererProps {
|
|
|
445
410
|
t: TextFn;
|
|
446
411
|
detailScreen?: string;
|
|
447
412
|
}
|
|
448
|
-
//#endregion
|
|
449
|
-
//#region src/components/fields/StructureField.d.ts
|
|
450
413
|
export declare function StructureField(props: FieldRendererProps & {
|
|
451
414
|
nested?: boolean;
|
|
452
415
|
}): import("react").JSX.Element;
|
|
453
|
-
//#endregion
|
|
454
|
-
//#region src/hooks/useLiveObject.d.ts
|
|
455
416
|
type LiveObjectResult<T extends Record<string, unknown> = EnrichedRow> = UseQueryResult<DataResponse<T>, Error> & {
|
|
456
417
|
object: T | undefined;
|
|
457
418
|
isLive: boolean;
|
|
458
419
|
isNotFound: boolean;
|
|
459
420
|
};
|
|
460
421
|
export declare function useLiveObject<T extends Record<string, unknown> = EnrichedRow>(entity: string | undefined, pkValues: PkValues | string | undefined): LiveObjectResult<T>;
|
|
461
|
-
//#endregion
|
|
462
|
-
//#region src/hooks/useActionData.d.ts
|
|
463
422
|
/** The canonical list-page envelope a paginated action returns in its `result` -
|
|
464
423
|
* the same shape `data.list` (ListResponse) produces. */
|
|
465
424
|
interface ActionListPage<T> {
|
|
@@ -520,19 +479,13 @@ interface CursorActionDataResult<T> {
|
|
|
520
479
|
* Back within the retention window and die with the retained page.
|
|
521
480
|
*/
|
|
522
481
|
export declare function useCursorActionData<T>(actionCode: string | undefined, params: Record<string, unknown>, enabled?: boolean): CursorActionDataResult<T>;
|
|
523
|
-
//#endregion
|
|
524
|
-
//#region src/hooks/useMutations.d.ts
|
|
525
482
|
export declare function useCreateObject(entityCode: string): import("@tanstack/react-query").UseMutationResult<DataResponse<Record<string, unknown>>, Error, Record<string, unknown>, unknown>;
|
|
526
483
|
export declare function useUpdateObject(entityCode: string): import("@tanstack/react-query").UseMutationResult<DataResponse<Record<string, unknown>>, Error, {
|
|
527
484
|
pkValues: PkValues | string;
|
|
528
485
|
data: Record<string, unknown>;
|
|
529
486
|
}, unknown>;
|
|
530
487
|
export declare function useDeleteObject(entityCode: string): import("@tanstack/react-query").UseMutationResult<void, Error, string | PkValues, unknown>;
|
|
531
|
-
//#endregion
|
|
532
|
-
//#region src/hooks/useDebounce.d.ts
|
|
533
488
|
export declare function useDebounce<T>(value: T, delay: number): T;
|
|
534
|
-
//#endregion
|
|
535
|
-
//#region src/hooks/useParams.d.ts
|
|
536
489
|
export declare function usePublicParams(): import("@tanstack/react-query").UseQueryResult<PublicParamsResponse, Error>;
|
|
537
490
|
export declare function useResolvedParam(code: string, options?: {
|
|
538
491
|
enabled?: boolean;
|
|
@@ -553,22 +506,16 @@ export declare function useParam<T>(code: string, defaultValue: T): {
|
|
|
553
506
|
loading: boolean;
|
|
554
507
|
error: Error | null;
|
|
555
508
|
};
|
|
556
|
-
//#endregion
|
|
557
|
-
//#region src/hooks/useObjectStatus.d.ts
|
|
558
509
|
export declare function useSetStatus(entity: string | undefined, id: string | undefined): import("@tanstack/react-query").UseMutationResult<StatusInfo, Error, {
|
|
559
510
|
groupCode: string;
|
|
560
511
|
statusCode: string;
|
|
561
512
|
note?: string;
|
|
562
513
|
}, unknown>;
|
|
563
|
-
//#endregion
|
|
564
|
-
//#region src/hooks/useProperties.d.ts
|
|
565
514
|
export declare function useSetProperty(entity: string | undefined, id: string | undefined): import("@tanstack/react-query").UseMutationResult<PropertyValue, Error, {
|
|
566
515
|
propertyCode: string;
|
|
567
516
|
value: unknown;
|
|
568
517
|
}, unknown>;
|
|
569
518
|
export declare function useDeleteProperty(entity: string | undefined, id: string | undefined): import("@tanstack/react-query").UseMutationResult<void, Error, string, unknown>;
|
|
570
|
-
//#endregion
|
|
571
|
-
//#region src/hooks/useFilters.d.ts
|
|
572
519
|
interface FiltersInput {
|
|
573
520
|
defaults?: FilterNode[];
|
|
574
521
|
}
|
|
@@ -581,8 +528,6 @@ export declare function useFilters({ defaults }?: FiltersInput): {
|
|
|
581
528
|
setFilters: (newFilters: FilterNode[]) => void;
|
|
582
529
|
clearFilters: () => void;
|
|
583
530
|
};
|
|
584
|
-
//#endregion
|
|
585
|
-
//#region src/hooks/useColumns.d.ts
|
|
586
531
|
/**
|
|
587
532
|
* useColumns manages visible columns via URL `columns` param.
|
|
588
533
|
* Falls back to screen defaults when no URL param is set.
|
|
@@ -596,8 +541,6 @@ export declare function useColumns(availableColumns: string[], defaultColumns: s
|
|
|
596
541
|
isColumnVisible: (col: string) => boolean;
|
|
597
542
|
toggleColumn: (col: string) => void;
|
|
598
543
|
};
|
|
599
|
-
//#endregion
|
|
600
|
-
//#region src/components/list/ViewSwitcher.d.ts
|
|
601
544
|
interface ViewItem {
|
|
602
545
|
id: string;
|
|
603
546
|
name: Record<string, string>;
|
|
@@ -620,15 +563,11 @@ interface ViewSwitcherProps {
|
|
|
620
563
|
deletePending?: boolean;
|
|
621
564
|
}
|
|
622
565
|
export declare function ViewSwitcher({ views, activeViewId, isDirty, onSelect, onSave, onSaveAs, onDiscard, onDelete, deletePending }: ViewSwitcherProps): import("react").JSX.Element;
|
|
623
|
-
//#endregion
|
|
624
|
-
//#region src/hooks/useViews.d.ts
|
|
625
566
|
/**
|
|
626
567
|
* useViews fetches DB views for a screen and merges with system views (presets) from DSL.
|
|
627
568
|
* Returns a unified list with source tagging.
|
|
628
569
|
*/
|
|
629
570
|
export declare function useViews(screenCode: string, userId?: string): ViewItem[];
|
|
630
|
-
//#endregion
|
|
631
|
-
//#region src/stores/screen-registry.d.ts
|
|
632
571
|
/**
|
|
633
572
|
* What the platform hands a custom screen when it mounts it.
|
|
634
573
|
*
|
|
@@ -644,8 +583,6 @@ interface CustomScreenProps {
|
|
|
644
583
|
screenCode?: string;
|
|
645
584
|
}
|
|
646
585
|
export declare function registerScreen(code: string, component: ComponentType<CustomScreenProps>): void;
|
|
647
|
-
//#endregion
|
|
648
|
-
//#region src/components/detail-layout/LayoutRenderer.d.ts
|
|
649
586
|
interface PendingChildRow {
|
|
650
587
|
_key: string;
|
|
651
588
|
_deleted?: boolean;
|
|
@@ -679,8 +616,6 @@ interface LayoutContext {
|
|
|
679
616
|
detailTabsPresentation?: "sections" | "scroll";
|
|
680
617
|
relatedRecordsPresentation?: "cards" | "table";
|
|
681
618
|
}
|
|
682
|
-
//#endregion
|
|
683
|
-
//#region src/components/detail-layout/widgets/registry.d.ts
|
|
684
619
|
interface LayoutWidgetProps {
|
|
685
620
|
inputs: Record<string, string>;
|
|
686
621
|
values: Record<string, unknown>;
|
|
@@ -692,19 +627,11 @@ type LayoutWidget = (props: LayoutWidgetProps) => ReactNode;
|
|
|
692
627
|
export declare function registerLayoutWidget(code: string, widget: LayoutWidget): void;
|
|
693
628
|
export declare function getLayoutWidget(code: string): LayoutWidget | undefined;
|
|
694
629
|
export declare function hasLayoutWidget(code: string): boolean;
|
|
695
|
-
//#endregion
|
|
696
|
-
//#region src/hooks/useLanguage.d.ts
|
|
697
630
|
export declare function useLanguage(): string;
|
|
698
631
|
export declare function useDeploymentLanguage(): string;
|
|
699
632
|
export declare function reresolveLanguage(queryClient: QueryClient): Promise<void>;
|
|
700
|
-
//#endregion
|
|
701
|
-
//#region src/hooks/useText.d.ts
|
|
702
633
|
export declare function useText(catalog?: "messages" | "errors"): TextFn;
|
|
703
|
-
//#endregion
|
|
704
|
-
//#region src/lib/failure.d.ts
|
|
705
634
|
export declare function failureTitle(errorTitle: TextFn, err: unknown): string;
|
|
706
|
-
//#endregion
|
|
707
|
-
//#region src/lib/read-display-state.d.ts
|
|
708
635
|
interface ReadDisplayState {
|
|
709
636
|
loading: boolean;
|
|
710
637
|
error: unknown;
|
|
@@ -712,8 +639,6 @@ interface ReadDisplayState {
|
|
|
712
639
|
}
|
|
713
640
|
type ReadQuery = Pick<UseQueryResult<unknown, unknown>, "data" | "error" | "failureReason" | "fetchStatus" | "refetch">;
|
|
714
641
|
export declare function readDisplayState(query: ReadQuery): ReadDisplayState;
|
|
715
|
-
//#endregion
|
|
716
|
-
//#region src/stores/tabs.d.ts
|
|
717
642
|
type TabMode = "view" | "edit" | "create";
|
|
718
643
|
type TabCloseScope = "current" | "others" | "right" | "all";
|
|
719
644
|
/**
|
|
@@ -780,8 +705,6 @@ interface TabState {
|
|
|
780
705
|
hydrate: () => void;
|
|
781
706
|
}
|
|
782
707
|
export declare const useTabStore: import("zustand").UseBoundStore<import("zustand").StoreApi<TabState>>;
|
|
783
|
-
//#endregion
|
|
784
|
-
//#region src/hooks/useTabNavigate.d.ts
|
|
785
708
|
interface TabNavigateOptions {
|
|
786
709
|
title?: string;
|
|
787
710
|
icon?: string;
|
|
@@ -798,8 +721,6 @@ interface TabNavigateOptions {
|
|
|
798
721
|
topLevel?: boolean;
|
|
799
722
|
}
|
|
800
723
|
export declare function useTabNavigate(): (to: string, opts?: TabNavigateOptions) => void;
|
|
801
|
-
//#endregion
|
|
802
|
-
//#region src/hooks/useScreenBack.d.ts
|
|
803
724
|
interface UseScreenBackOptions {
|
|
804
725
|
/** Static/parent fallback invoked when there is no valid origin (e.g. a
|
|
805
726
|
* detail's `backToList`, a custom screen's static `PageHeader.backTo`).
|
|
@@ -821,8 +742,6 @@ interface ScreenBack {
|
|
|
821
742
|
goBack: () => void;
|
|
822
743
|
}
|
|
823
744
|
export declare function useScreenBack(opts?: UseScreenBackOptions): ScreenBack;
|
|
824
|
-
//#endregion
|
|
825
|
-
//#region src/hooks/usePageState.d.ts
|
|
826
745
|
/** A `useState`-style setter accepting a value or an updater. */
|
|
827
746
|
type PageStateSetter<T> = (next: T | ((prev: T) => T)) => void;
|
|
828
747
|
/**
|
|
@@ -855,8 +774,6 @@ interface PageStateOptions {
|
|
|
855
774
|
* the screen unmounts. The retained page is created lazily on first write.
|
|
856
775
|
*/
|
|
857
776
|
export declare function usePageState<T>(key: string, defaultValue: T, opts?: PageStateOptions): [T, PageStateSetter<T>];
|
|
858
|
-
//#endregion
|
|
859
|
-
//#region src/lib/canonical-url.d.ts
|
|
860
777
|
/** The minimal location shape canonicalUrl needs (a router `Location` satisfies
|
|
861
778
|
* it; tests can pass a bare object). */
|
|
862
779
|
interface CanonicalLocation {
|
|
@@ -876,8 +793,6 @@ interface CanonicalLocation {
|
|
|
876
793
|
* treated as distinct, which is safe (at worst slightly less sharing).
|
|
877
794
|
*/
|
|
878
795
|
export declare function canonicalUrl(location: CanonicalLocation): string;
|
|
879
|
-
//#endregion
|
|
880
|
-
//#region src/hooks/usePageStateRuntime.d.ts
|
|
881
796
|
/**
|
|
882
797
|
* Register a screen's PRIMARY heavy read (its list or detail query key) with the
|
|
883
798
|
* current retained page, so a kill/sweep `removeQueries` releases the cached
|
|
@@ -891,8 +806,6 @@ export declare function canonicalUrl(location: CanonicalLocation): string;
|
|
|
891
806
|
* read they actually use.
|
|
892
807
|
*/
|
|
893
808
|
export declare function useRegisterRetainedQuery(queryKey: QueryKey | undefined, enabled?: boolean): void;
|
|
894
|
-
//#endregion
|
|
895
|
-
//#region src/hooks/usePageStateTtl.d.ts
|
|
896
809
|
/** The platform parameter governing retained-page retention. Declared in
|
|
897
810
|
* modules/declarion-core/schema/core_parameters.yaml (int, category `ui`,
|
|
898
811
|
* `[tenant]`, env `DECLARION_UI_PAGE_STATE_TTL_MS`). */
|
|
@@ -904,8 +817,6 @@ export declare const PAGE_STATE_TTL_PARAM = "ui_page_state_ttl_ms";
|
|
|
904
817
|
* "retention disabled".
|
|
905
818
|
*/
|
|
906
819
|
export declare function usePageStateTtl(): number;
|
|
907
|
-
//#endregion
|
|
908
|
-
//#region src/hooks/useScreenTab.d.ts
|
|
909
820
|
interface UseScreenTabOptions {
|
|
910
821
|
/** The tab's route. Defaults to the live `location.pathname` - the right value
|
|
911
822
|
* for a param-less custom screen, which is the common case. */
|
|
@@ -916,11 +827,7 @@ interface UseScreenTabOptions {
|
|
|
916
827
|
icon?: string;
|
|
917
828
|
}
|
|
918
829
|
export declare function useScreenTab(opts?: UseScreenTabOptions): void;
|
|
919
|
-
//#endregion
|
|
920
|
-
//#region src/hooks/useTabSearchMirror.d.ts
|
|
921
830
|
export declare function useTabSearchMirror(route: string | undefined): void;
|
|
922
|
-
//#endregion
|
|
923
|
-
//#region src/lib/scroll-restoration.d.ts
|
|
924
831
|
/** The default deep-state bag key under which a screen's scroll anchor is
|
|
925
832
|
* stored. A screen with one scroll container uses this; a screen with several
|
|
926
833
|
* passes distinct keys. */
|
|
@@ -991,32 +898,18 @@ export declare function usePlainScrollRestoration(opts: {
|
|
|
991
898
|
stateKey?: string;
|
|
992
899
|
enabled?: boolean;
|
|
993
900
|
}): void;
|
|
994
|
-
//#endregion
|
|
995
|
-
//#region src/components/pages/SmartListPage.impl.d.ts
|
|
996
901
|
interface SmartListPageProps {
|
|
997
902
|
screenCode: string;
|
|
998
903
|
}
|
|
999
|
-
//#endregion
|
|
1000
|
-
//#region src/components/pages/SmartListPage.d.ts
|
|
1001
904
|
export declare function SmartListPage(props: SmartListPageProps): import("react").JSX.Element;
|
|
1002
|
-
//#endregion
|
|
1003
|
-
//#region src/components/pages/SmartDetailPage.impl.d.ts
|
|
1004
905
|
interface SmartDetailPageProps {
|
|
1005
906
|
screenCode: string;
|
|
1006
907
|
}
|
|
1007
|
-
//#endregion
|
|
1008
|
-
//#region src/components/pages/SmartDetailPage.d.ts
|
|
1009
908
|
export declare function SmartDetailPage(props: SmartDetailPageProps): import("react").JSX.Element;
|
|
1010
|
-
//#endregion
|
|
1011
|
-
//#region src/components/pages/SmartRecordListPage.impl.d.ts
|
|
1012
909
|
interface SmartRecordListPageProps {
|
|
1013
910
|
screenCode: string;
|
|
1014
911
|
}
|
|
1015
|
-
//#endregion
|
|
1016
|
-
//#region src/components/pages/SmartRecordListPage.d.ts
|
|
1017
912
|
export declare function SmartRecordListPage(props: SmartRecordListPageProps): import("react").JSX.Element;
|
|
1018
|
-
//#endregion
|
|
1019
|
-
//#region src/components/chrome/PageHeader.d.ts
|
|
1020
913
|
interface PageHeaderProps {
|
|
1021
914
|
/** Overrides the screen's declared name. Omit it: `<PageHeader />` renders the
|
|
1022
915
|
* screen's own `display.name` from the schema, already localized, so a rename or a
|
|
@@ -1031,8 +924,6 @@ interface PageHeaderProps {
|
|
|
1031
924
|
actions?: ReactNode;
|
|
1032
925
|
}
|
|
1033
926
|
export declare function PageHeader({ title, description, backTo, actions }: PageHeaderProps): import("react").JSX.Element | null;
|
|
1034
|
-
//#endregion
|
|
1035
|
-
//#region src/components/shared/EmptyState.d.ts
|
|
1036
927
|
interface EmptyStateProps {
|
|
1037
928
|
icon?: string;
|
|
1038
929
|
title: string;
|
|
@@ -1040,8 +931,6 @@ interface EmptyStateProps {
|
|
|
1040
931
|
action?: ReactNode;
|
|
1041
932
|
}
|
|
1042
933
|
export declare function EmptyState({ icon, title, description, action }: EmptyStateProps): import("react").JSX.Element;
|
|
1043
|
-
//#endregion
|
|
1044
|
-
//#region src/components/shared/ConfirmDialog.d.ts
|
|
1045
934
|
interface ConfirmDialogProps {
|
|
1046
935
|
open: boolean;
|
|
1047
936
|
onOpenChange: (open: boolean) => void;
|
|
@@ -1052,8 +941,6 @@ interface ConfirmDialogProps {
|
|
|
1052
941
|
destructive?: boolean;
|
|
1053
942
|
}
|
|
1054
943
|
export declare function ConfirmDialog({ open, onOpenChange, title, description, confirmLabel, onConfirm, destructive }: ConfirmDialogProps): import("react").JSX.Element | null;
|
|
1055
|
-
//#endregion
|
|
1056
|
-
//#region src/components/filters/FilterDrawer.d.ts
|
|
1057
944
|
interface FilterFieldMeta {
|
|
1058
945
|
code: string;
|
|
1059
946
|
label: string;
|
|
@@ -1085,8 +972,6 @@ interface FilterDrawerProps {
|
|
|
1085
972
|
refs?: Refs;
|
|
1086
973
|
}
|
|
1087
974
|
export declare function FilterDrawer({ open, onClose, filters, onApply, availableFields, allFields, fieldLabel, resolveValue, defaultFilters, refs }: FilterDrawerProps): import("react").JSX.Element | null;
|
|
1088
|
-
//#endregion
|
|
1089
|
-
//#region src/components/filters/FilterChips.d.ts
|
|
1090
975
|
interface FilterChipsProps {
|
|
1091
976
|
filters: FilterNode[];
|
|
1092
977
|
onRemove?: (field: string) => void;
|
|
@@ -1100,8 +985,6 @@ interface FilterChipsProps {
|
|
|
1100
985
|
resolveValue?: FilterValueResolver;
|
|
1101
986
|
}
|
|
1102
987
|
export declare function FilterChips({ filters, onRemove, onRemoveAtPath, onClearAll, onChipClick, fieldLabel, resolveValue }: FilterChipsProps): import("react").JSX.Element | null;
|
|
1103
|
-
//#endregion
|
|
1104
|
-
//#region src/components/list/ColumnPicker.d.ts
|
|
1105
988
|
interface ColumnPickerProps {
|
|
1106
989
|
/** Full column pool for the screen (data columns; never `_select`/`_actions`). */
|
|
1107
990
|
availableColumns: string[];
|
|
@@ -1121,8 +1004,6 @@ interface ColumnPickerProps {
|
|
|
1121
1004
|
columnLabel?: (code: string) => string;
|
|
1122
1005
|
}
|
|
1123
1006
|
export declare function ColumnPicker({ availableColumns, visibleColumns, onToggle, onMove, onReset, onShowAll, onResetWidths, columnLabel }: ColumnPickerProps): import("react").JSX.Element;
|
|
1124
|
-
//#endregion
|
|
1125
|
-
//#region src/components/actions/ActionRunner.d.ts
|
|
1126
1007
|
interface RunActionOptions {
|
|
1127
1008
|
/** Full YAML action when available; drives destructive/long_running/resolved_params. */
|
|
1128
1009
|
action?: Action;
|
|
@@ -1181,8 +1062,6 @@ export declare function useActionRunner(): ActionRunnerContextValue;
|
|
|
1181
1062
|
export declare function ActionRunnerProvider({ children }: {
|
|
1182
1063
|
children: ReactNode;
|
|
1183
1064
|
}): import("react").JSX.Element;
|
|
1184
|
-
//#endregion
|
|
1185
|
-
//#region src/lib/actions.d.ts
|
|
1186
1065
|
/**
|
|
1187
1066
|
* Resolved leaf node. Kind discriminator "action".
|
|
1188
1067
|
* Enabled defaults true from server; client sets false when enabled_if fails.
|
|
@@ -1213,8 +1092,6 @@ interface ResolvedActionGroup {
|
|
|
1213
1092
|
* Narrow via node.kind === "action" or node.kind === "group".
|
|
1214
1093
|
*/
|
|
1215
1094
|
type ResolvedActionLayoutNode = ResolvedActionLeaf | ResolvedActionGroup;
|
|
1216
|
-
//#endregion
|
|
1217
|
-
//#region src/components/actions/ResponsiveActionBar.d.ts
|
|
1218
1095
|
/**
|
|
1219
1096
|
* Tab navigation options accepted by SDK tabNavigate. Kept loose here so the
|
|
1220
1097
|
* caller can pass through the full TabMeta from useTabNavigate without forcing
|
|
@@ -1272,8 +1149,6 @@ interface WidgetContext {
|
|
|
1272
1149
|
*/
|
|
1273
1150
|
recordHref?: (rowId: string) => string | null;
|
|
1274
1151
|
}
|
|
1275
|
-
//#endregion
|
|
1276
|
-
//#region src/components/actions/ObjectActionBar.d.ts
|
|
1277
1152
|
type ObjectActionBarSlot = "detail" | "detail_toolbar" | "list_row" | "quick_peek";
|
|
1278
1153
|
type ObjectActionSelection = {
|
|
1279
1154
|
include: string[];
|
|
@@ -1299,8 +1174,6 @@ interface UseObjectActionsResult {
|
|
|
1299
1174
|
}
|
|
1300
1175
|
export declare function useObjectActions({ entity: entityCode, object, slot, screen: screenCode, select, onAfterRun }: Omit<ObjectActionBarProps, "extraActions">): UseObjectActionsResult;
|
|
1301
1176
|
export declare function ObjectActionBar({ entity, object, slot, screen, select, extraActions, onAfterRun }: ObjectActionBarProps): import("react").JSX.Element | null;
|
|
1302
|
-
//#endregion
|
|
1303
|
-
//#region src/components/shared/RefreshControl.d.ts
|
|
1304
1177
|
/**
|
|
1305
1178
|
* What the control needs, which is less than any one caller happens to have.
|
|
1306
1179
|
*
|
|
@@ -1326,8 +1199,6 @@ interface RefreshControlProps {
|
|
|
1326
1199
|
realtime?: boolean;
|
|
1327
1200
|
}
|
|
1328
1201
|
export declare function RefreshControl({ liveObject, realtime }: RefreshControlProps): import("react").JSX.Element;
|
|
1329
|
-
//#endregion
|
|
1330
|
-
//#region src/components/fields/RefCombobox.d.ts
|
|
1331
1202
|
interface RefComboboxProps {
|
|
1332
1203
|
ref: RefConfig | undefined;
|
|
1333
1204
|
/** Current stored ref target value (the `ref.field` value, or target PK). */
|
|
@@ -1370,8 +1241,6 @@ interface RefComboboxProps {
|
|
|
1370
1241
|
* the default sorted page.
|
|
1371
1242
|
*/
|
|
1372
1243
|
export declare function RefCombobox({ ref: refConfig, value, onChange, refs, displayFieldOverride, id, labelId, ariaLabel, required, placeholder: placeholderOverride, specialValues }: RefComboboxProps): import("react").JSX.Element;
|
|
1373
|
-
//#endregion
|
|
1374
|
-
//#region src/components/list/QuickPeek.d.ts
|
|
1375
1244
|
interface QuickPeekRegularFieldSpec {
|
|
1376
1245
|
key: string;
|
|
1377
1246
|
label: string;
|
|
@@ -1427,8 +1296,6 @@ interface QEFieldProps {
|
|
|
1427
1296
|
children: ReactNode;
|
|
1428
1297
|
}
|
|
1429
1298
|
export declare function QEField({ label, children }: QEFieldProps): import("react").JSX.Element;
|
|
1430
|
-
//#endregion
|
|
1431
|
-
//#region src/components/primitives/Btn.d.ts
|
|
1432
1299
|
type BtnKind = "primary" | "ghost" | "subtle" | "default";
|
|
1433
1300
|
type BtnSize = "xs" | "sm" | "md" | "lg";
|
|
1434
1301
|
type BtnProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, "size"> & {
|
|
@@ -1447,8 +1314,6 @@ export declare const Btn: import("react").ForwardRefExoticComponent<Omit<ButtonH
|
|
|
1447
1314
|
active?: boolean;
|
|
1448
1315
|
danger?: boolean;
|
|
1449
1316
|
} & import("react").RefAttributes<HTMLButtonElement>>;
|
|
1450
|
-
//#endregion
|
|
1451
|
-
//#region src/components/primitives/IconBtn.d.ts
|
|
1452
1317
|
type IconBtnProps = {
|
|
1453
1318
|
icon: ReactNode;
|
|
1454
1319
|
onClick?: (e: MouseEvent<HTMLButtonElement>) => void;
|
|
@@ -1459,8 +1324,6 @@ type IconBtnProps = {
|
|
|
1459
1324
|
style?: CSSProperties;
|
|
1460
1325
|
};
|
|
1461
1326
|
export declare const IconBtn: import("react").ForwardRefExoticComponent<IconBtnProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
1462
|
-
//#endregion
|
|
1463
|
-
//#region src/components/primitives/Pill.d.ts
|
|
1464
1327
|
type PillTone = "indigo" | "emerald" | "amber" | "rose" | "sky" | "violet" | "slate" | "teal";
|
|
1465
1328
|
type PillSize = "xs" | "sm" | "md";
|
|
1466
1329
|
type PillProps = {
|
|
@@ -1471,21 +1334,15 @@ type PillProps = {
|
|
|
1471
1334
|
children?: ReactNode;
|
|
1472
1335
|
};
|
|
1473
1336
|
export declare function Pill({ tone, children, size, dot, style }: PillProps): import("react").JSX.Element;
|
|
1474
|
-
//#endregion
|
|
1475
|
-
//#region src/components/primitives/Kbd.d.ts
|
|
1476
1337
|
export declare function Kbd({ children }: {
|
|
1477
1338
|
children?: ReactNode;
|
|
1478
1339
|
}): import("react").JSX.Element;
|
|
1479
|
-
//#endregion
|
|
1480
|
-
//#region src/components/primitives/Avatar.d.ts
|
|
1481
1340
|
type AvatarProps = {
|
|
1482
1341
|
name: string;
|
|
1483
1342
|
size?: number;
|
|
1484
1343
|
color?: string;
|
|
1485
1344
|
};
|
|
1486
1345
|
export declare function Avatar({ name, size, color }: AvatarProps): import("react").JSX.Element;
|
|
1487
|
-
//#endregion
|
|
1488
|
-
//#region src/components/primitives/BrandGlyph.d.ts
|
|
1489
1346
|
interface BrandGlyphProps {
|
|
1490
1347
|
/** Pixel edge of the rendered SVG. Defaults to 24. */
|
|
1491
1348
|
size?: number;
|
|
@@ -1494,8 +1351,6 @@ interface BrandGlyphProps {
|
|
|
1494
1351
|
title?: string;
|
|
1495
1352
|
}
|
|
1496
1353
|
export declare function BrandGlyph({ size, className, title }: BrandGlyphProps): import("react").JSX.Element;
|
|
1497
|
-
//#endregion
|
|
1498
|
-
//#region src/components/primitives/Dropdown.d.ts
|
|
1499
1354
|
type DropdownProps = {
|
|
1500
1355
|
open: boolean;
|
|
1501
1356
|
onClose?: () => void;
|
|
@@ -1515,8 +1370,6 @@ type DropdownProps = {
|
|
|
1515
1370
|
children?: ReactNode;
|
|
1516
1371
|
};
|
|
1517
1372
|
export declare function Dropdown({ open, onClose, anchor, anchorPoint, children, align, width, style }: DropdownProps): import("react").ReactPortal | null;
|
|
1518
|
-
//#endregion
|
|
1519
|
-
//#region src/components/primitives/HoverCard.d.ts
|
|
1520
1373
|
type HoverCardAlign = "start" | "center" | "end";
|
|
1521
1374
|
type HoverCardProps = {
|
|
1522
1375
|
/** The card body shown on hover. Caller controls the rendered content. */
|
|
@@ -1531,8 +1384,6 @@ type HoverCardProps = {
|
|
|
1531
1384
|
style?: CSSProperties;
|
|
1532
1385
|
};
|
|
1533
1386
|
export declare function HoverCard({ content, children, width, align, style }: HoverCardProps): import("react").JSX.Element;
|
|
1534
|
-
//#endregion
|
|
1535
|
-
//#region src/components/primitives/Tooltip.d.ts
|
|
1536
1387
|
interface TooltipProps {
|
|
1537
1388
|
/** Tooltip text. Empty/absent renders the trigger with no tooltip. */
|
|
1538
1389
|
content?: string;
|
|
@@ -1547,8 +1398,6 @@ interface InfoTooltipProps {
|
|
|
1547
1398
|
"data-testid"?: string;
|
|
1548
1399
|
}
|
|
1549
1400
|
export declare function InfoTooltip({ label, size, ...rest }: InfoTooltipProps): import("react").JSX.Element;
|
|
1550
|
-
//#endregion
|
|
1551
|
-
//#region src/components/primitives/Chip.d.ts
|
|
1552
1401
|
type ChipProps = {
|
|
1553
1402
|
tone?: string;
|
|
1554
1403
|
icon?: ReactNode;
|
|
@@ -1558,8 +1407,6 @@ type ChipProps = {
|
|
|
1558
1407
|
onClick?: () => void;
|
|
1559
1408
|
};
|
|
1560
1409
|
export declare function Chip({ icon, children, onRemove, removeLabel, onClick }: ChipProps): import("react").JSX.Element;
|
|
1561
|
-
//#endregion
|
|
1562
|
-
//#region src/components/primitives/SectionCard.d.ts
|
|
1563
1410
|
type SectionBadge = {
|
|
1564
1411
|
text: string;
|
|
1565
1412
|
tone?: PillTone;
|
|
@@ -1582,8 +1429,6 @@ type SectionCardProps = {
|
|
|
1582
1429
|
padding?: string;
|
|
1583
1430
|
};
|
|
1584
1431
|
export declare function SectionCard({ title, subtitle, right, badge, count, children, footer, collapsible, defaultOpen, icon, emphasis, headingLevel, padding }: SectionCardProps): import("react").JSX.Element;
|
|
1585
|
-
//#endregion
|
|
1586
|
-
//#region src/components/primitives/StatTile.d.ts
|
|
1587
1432
|
type StatTileTone = "neutral" | "good" | "warn" | "bad" | "accent";
|
|
1588
1433
|
type StatTileProps = {
|
|
1589
1434
|
label: ReactNode;
|
|
@@ -1602,8 +1447,6 @@ type StatTileProps = {
|
|
|
1602
1447
|
href?: string;
|
|
1603
1448
|
};
|
|
1604
1449
|
export declare function StatTile({ label, value, unit, tone, delta, note, footer, loading, error, onRetry, href }: StatTileProps): import("react").JSX.Element;
|
|
1605
|
-
//#endregion
|
|
1606
|
-
//#region src/components/primitives/RecordIdBadge.d.ts
|
|
1607
1450
|
type RecordIdBadgeProps = {
|
|
1608
1451
|
value: string;
|
|
1609
1452
|
};
|
|
@@ -1612,8 +1455,6 @@ type RecordIdBadgeProps = {
|
|
|
1612
1455
|
* and copies the full value on click. Non-UUID ids render in full.
|
|
1613
1456
|
*/
|
|
1614
1457
|
export declare function RecordIdBadge({ value }: RecordIdBadgeProps): import("react").JSX.Element;
|
|
1615
|
-
//#endregion
|
|
1616
|
-
//#region src/components/primitives/RowField.d.ts
|
|
1617
1458
|
type RowFieldProps = {
|
|
1618
1459
|
label: ReactNode;
|
|
1619
1460
|
children?: ReactNode;
|
|
@@ -1623,8 +1464,6 @@ type RowFieldProps = {
|
|
|
1623
1464
|
hint?: string;
|
|
1624
1465
|
};
|
|
1625
1466
|
export declare function RowField({ label, children, wide, editing, required }: RowFieldProps): import("react").JSX.Element;
|
|
1626
|
-
//#endregion
|
|
1627
|
-
//#region src/components/primitives/BoolToggle.d.ts
|
|
1628
1467
|
type BoolToggleProps = {
|
|
1629
1468
|
value?: boolean;
|
|
1630
1469
|
onChange?: (v: boolean) => void;
|
|
@@ -1632,8 +1471,6 @@ type BoolToggleProps = {
|
|
|
1632
1471
|
ariaLabelledby?: string;
|
|
1633
1472
|
};
|
|
1634
1473
|
export declare function BoolToggle({ value, onChange, id, ariaLabelledby }: BoolToggleProps): import("react").JSX.Element;
|
|
1635
|
-
//#endregion
|
|
1636
|
-
//#region src/components/primitives/MenuItem.d.ts
|
|
1637
1474
|
type MenuItemProps = {
|
|
1638
1475
|
icon?: ReactNode;
|
|
1639
1476
|
children?: ReactNode;
|
|
@@ -1647,8 +1484,6 @@ type MenuItemProps = {
|
|
|
1647
1484
|
"data-testid"?: string;
|
|
1648
1485
|
};
|
|
1649
1486
|
export declare function MenuItem({ icon, children, onClick, danger, kbd, active, divider, disabled, title, "data-testid": dataTestId }: MenuItemProps): import("react").JSX.Element;
|
|
1650
|
-
//#endregion
|
|
1651
|
-
//#region src/components/primitives/Check.d.ts
|
|
1652
1487
|
type CheckProps = {
|
|
1653
1488
|
checked?: boolean;
|
|
1654
1489
|
onChange?: (v: boolean) => void;
|
|
@@ -1656,13 +1491,9 @@ type CheckProps = {
|
|
|
1656
1491
|
size?: number;
|
|
1657
1492
|
};
|
|
1658
1493
|
export declare function Check({ checked, onChange, indeterminate, size }: CheckProps): import("react").JSX.Element;
|
|
1659
|
-
//#endregion
|
|
1660
|
-
//#region src/components/primitives/Spinner.d.ts
|
|
1661
1494
|
export declare function Spinner({ size }: {
|
|
1662
1495
|
size?: number;
|
|
1663
1496
|
}): import("react").JSX.Element;
|
|
1664
|
-
//#endregion
|
|
1665
|
-
//#region src/components/primitives/ClassifiedFieldLocked.d.ts
|
|
1666
1497
|
interface ClassifiedFieldLockedProps {
|
|
1667
1498
|
tier: string;
|
|
1668
1499
|
tierDef?: ClassificationTierDef;
|
|
@@ -1670,11 +1501,7 @@ interface ClassifiedFieldLockedProps {
|
|
|
1670
1501
|
variant?: "value" | "input";
|
|
1671
1502
|
}
|
|
1672
1503
|
export declare function ClassifiedFieldLocked({ tier, tierDef, requiredPermission, variant }: ClassifiedFieldLockedProps): import("react").JSX.Element;
|
|
1673
|
-
//#endregion
|
|
1674
|
-
//#region src/lib/date-text.d.ts
|
|
1675
1504
|
type DateTextKind = "date" | "datetime";
|
|
1676
|
-
//#endregion
|
|
1677
|
-
//#region src/components/primitives/Fields.d.ts
|
|
1678
1505
|
type FieldLabelProps = {
|
|
1679
1506
|
children?: ReactNode;
|
|
1680
1507
|
required?: boolean;
|
|
@@ -1789,8 +1616,6 @@ type QuickEditCellProps = {
|
|
|
1789
1616
|
tone?: string;
|
|
1790
1617
|
};
|
|
1791
1618
|
export declare function QuickEditCell({ value, onChange, type, options }: QuickEditCellProps): import("react").JSX.Element;
|
|
1792
|
-
//#endregion
|
|
1793
|
-
//#region src/components/list/InlineEditCell.d.ts
|
|
1794
1619
|
type InlineEditTrigger = "dblclick" | "enter" | "always";
|
|
1795
1620
|
type InlineEditKind = "text" | "select" | "bool";
|
|
1796
1621
|
interface InlineEditCellProps {
|
|
@@ -1805,23 +1630,11 @@ interface InlineEditCellProps {
|
|
|
1805
1630
|
placeholder?: string;
|
|
1806
1631
|
}
|
|
1807
1632
|
export declare function InlineEditCell({ value, onSave, type, options, trigger, label, placeholder }: InlineEditCellProps): import("react").JSX.Element;
|
|
1808
|
-
//#endregion
|
|
1809
|
-
//#region src/components/pages/auth/SignIn.d.ts
|
|
1810
1633
|
export declare function SignIn(): import("react").JSX.Element;
|
|
1811
|
-
//#endregion
|
|
1812
|
-
//#region src/components/pages/auth/SignUp.d.ts
|
|
1813
1634
|
export declare function SignUp(): import("react").JSX.Element;
|
|
1814
|
-
//#endregion
|
|
1815
|
-
//#region src/components/pages/auth/Forgot.d.ts
|
|
1816
1635
|
export declare function Forgot(): import("react").JSX.Element;
|
|
1817
|
-
//#endregion
|
|
1818
|
-
//#region src/components/pages/auth/Reset.d.ts
|
|
1819
1636
|
export declare function Reset(): import("react").JSX.Element;
|
|
1820
|
-
//#endregion
|
|
1821
|
-
//#region src/components/pages/auth/TwoFA.d.ts
|
|
1822
1637
|
export declare function TwoFA(): import("react").JSX.Element;
|
|
1823
|
-
//#endregion
|
|
1824
|
-
//#region src/components/pages/auth/AuthShell.d.ts
|
|
1825
1638
|
type AuthShellProps = {
|
|
1826
1639
|
children: ReactNode;
|
|
1827
1640
|
/** With `branding.identity.workspace_domain`, shows the `<tenantSlug>.<domain>` pill. No SDK caller
|
|
@@ -1835,14 +1648,8 @@ type AuthShellProps = {
|
|
|
1835
1648
|
brandName?: string;
|
|
1836
1649
|
};
|
|
1837
1650
|
export declare function AuthShell({ children, tenantSlug, tagline, subTagline, version, badges, brandName }: AuthShellProps): import("react").JSX.Element;
|
|
1838
|
-
//#endregion
|
|
1839
|
-
//#region src/components/pages/profile/Profile.d.ts
|
|
1840
1651
|
export declare function Profile(): import("react").JSX.Element;
|
|
1841
|
-
//#endregion
|
|
1842
|
-
//#region src/components/pages/profile/Preferences.d.ts
|
|
1843
1652
|
export declare function Preferences(): import("react").JSX.Element;
|
|
1844
|
-
//#endregion
|
|
1845
|
-
//#region src/components/shared/ChangePasswordDialog.impl.d.ts
|
|
1846
1653
|
type ChangePasswordDialogProps = {
|
|
1847
1654
|
open: boolean;
|
|
1848
1655
|
onClose: () => void;
|
|
@@ -1851,11 +1658,7 @@ type ChangePasswordDialogProps = {
|
|
|
1851
1658
|
next: string;
|
|
1852
1659
|
}) => Promise<void> | void;
|
|
1853
1660
|
};
|
|
1854
|
-
//#endregion
|
|
1855
|
-
//#region src/components/shared/ChangePasswordDialog.d.ts
|
|
1856
1661
|
export declare function ChangePasswordDialog(props: ChangePasswordDialogProps): import("react").JSX.Element;
|
|
1857
|
-
//#endregion
|
|
1858
|
-
//#region src/components/file-widgets/types.d.ts
|
|
1859
1662
|
interface FileWidgetProps {
|
|
1860
1663
|
field: FileFieldDef;
|
|
1861
1664
|
fieldName: string;
|
|
@@ -1871,22 +1674,12 @@ interface FileWidgetProps {
|
|
|
1871
1674
|
fieldId?: string;
|
|
1872
1675
|
}
|
|
1873
1676
|
type FileWidget = React.ComponentType<FileWidgetProps>;
|
|
1874
|
-
//#endregion
|
|
1875
|
-
//#region src/components/file-widgets/SquareImage.d.ts
|
|
1876
1677
|
export declare function SquareImage(props: FileWidgetProps): import("react").JSX.Element;
|
|
1877
|
-
//#endregion
|
|
1878
|
-
//#region src/components/file-widgets/CircleImage.d.ts
|
|
1879
1678
|
export declare function CircleImage(props: FileWidgetProps): import("react").JSX.Element;
|
|
1880
|
-
//#endregion
|
|
1881
|
-
//#region src/components/file-widgets/WideBanner.d.ts
|
|
1882
1679
|
export declare function WideBanner(props: FileWidgetProps): import("react").JSX.Element;
|
|
1883
|
-
//#endregion
|
|
1884
|
-
//#region src/components/file-widgets/registry.d.ts
|
|
1885
1680
|
export declare function registerFileWidget(code: string, widget: FileWidget): void;
|
|
1886
1681
|
export declare function getFileWidget(code: string): FileWidget | undefined;
|
|
1887
1682
|
export declare function hasFileWidget(code: string): boolean;
|
|
1888
|
-
//#endregion
|
|
1889
|
-
//#region src/components/file-widgets/upload.d.ts
|
|
1890
1683
|
interface UploadOptions {
|
|
1891
1684
|
file: File;
|
|
1892
1685
|
entityCode?: string;
|
|
@@ -1924,8 +1717,6 @@ type UploadCheck = {
|
|
|
1924
1717
|
};
|
|
1925
1718
|
export declare function validateClientSide(file: File, accepts: string[] | undefined, maxBytes: number | undefined): UploadCheck | null;
|
|
1926
1719
|
export declare function formatBytes(n: number, language: string): string;
|
|
1927
|
-
//#endregion
|
|
1928
|
-
//#region src/components/file-widgets/useFileSelection.d.ts
|
|
1929
1720
|
type FileSelectionState = "uploading" | "failed" | "cancelled" | "ready";
|
|
1930
1721
|
interface FileSelection {
|
|
1931
1722
|
localId: string;
|
|
@@ -1991,8 +1782,6 @@ interface UseFileSelection extends FileSelectionSummary {
|
|
|
1991
1782
|
release: (localIds: string[]) => void;
|
|
1992
1783
|
}
|
|
1993
1784
|
export declare function useFileSelection({ entityCode, fieldCode, accepts, maxSizeBytes }: UseFileSelectionOptions): UseFileSelection;
|
|
1994
|
-
//#endregion
|
|
1995
|
-
//#region src/components/file-widgets/cropper.d.ts
|
|
1996
1785
|
interface CropperOptions {
|
|
1997
1786
|
aspectRatio?: number;
|
|
1998
1787
|
file: File;
|
|
@@ -2004,8 +1793,6 @@ interface CropperResult {
|
|
|
2004
1793
|
type ImageCropper = (opts: CropperOptions) => Promise<CropperResult>;
|
|
2005
1794
|
export declare function setImageCropper(c: ImageCropper | null): void;
|
|
2006
1795
|
export declare function getImageCropper(): ImageCropper;
|
|
2007
|
-
//#endregion
|
|
2008
|
-
//#region src/components/file-widgets/draft-scope.d.ts
|
|
2009
1796
|
interface DraftEntry {
|
|
2010
1797
|
fileId: string;
|
|
2011
1798
|
discard: () => Promise<void> | void;
|
|
@@ -2027,8 +1814,6 @@ export declare function useDraftRegistration(): {
|
|
|
2027
1814
|
markCommitted: (fileId: string) => void;
|
|
2028
1815
|
isDraft: (fileId: string) => boolean;
|
|
2029
1816
|
};
|
|
2030
|
-
//#endregion
|
|
2031
|
-
//#region src/components/layout/Rail.d.ts
|
|
2032
1817
|
interface RailAreaItem {
|
|
2033
1818
|
id: string;
|
|
2034
1819
|
icon: string | undefined;
|
|
@@ -2049,8 +1834,6 @@ interface RailProps {
|
|
|
2049
1834
|
branding?: BrandingIdentity;
|
|
2050
1835
|
}
|
|
2051
1836
|
export declare function Rail({ activeArea, onPick, onToggleAI, aiOpen, onCmdK, areas, branding }: RailProps): import("react").JSX.Element;
|
|
2052
|
-
//#endregion
|
|
2053
|
-
//#region src/components/layout/Sidebar.d.ts
|
|
2054
1837
|
interface SidebarProps {
|
|
2055
1838
|
activeArea: string;
|
|
2056
1839
|
}
|
|
@@ -2060,8 +1843,6 @@ interface SidebarSection {
|
|
|
2060
1843
|
items: NavNode[];
|
|
2061
1844
|
}
|
|
2062
1845
|
export declare function buildSections(t: TextFn, nodes: NavNode[], activeArea: string): SidebarSection[];
|
|
2063
|
-
//#endregion
|
|
2064
|
-
//#region src/components/chrome/Breadcrumbs.d.ts
|
|
2065
1846
|
interface Crumb {
|
|
2066
1847
|
label: string;
|
|
2067
1848
|
icon?: IconName | (string & {});
|
|
@@ -2075,8 +1856,6 @@ interface BreadcrumbsProps {
|
|
|
2075
1856
|
onCrumbClick?: (crumb: Crumb) => void;
|
|
2076
1857
|
}
|
|
2077
1858
|
export declare function Breadcrumbs({ items, onCrumbClick }: BreadcrumbsProps): import("react").JSX.Element | null;
|
|
2078
|
-
//#endregion
|
|
2079
|
-
//#region src/components/layout/TopBar.d.ts
|
|
2080
1859
|
interface TopBarProps {
|
|
2081
1860
|
breadcrumbs?: Crumb[];
|
|
2082
1861
|
onCrumbClick?: (c: Crumb) => void;
|
|
@@ -2097,8 +1876,6 @@ interface TopBarProps {
|
|
|
2097
1876
|
showThemeToggle?: boolean;
|
|
2098
1877
|
}
|
|
2099
1878
|
export declare function TopBar({ breadcrumbs, onCrumbClick, onOpenNav, navButtonRef, showNavButton, onOpenTabs, tabsButtonRef, showTabsButton, mobileTabCount, onCmdK, onToggleAI, aiOpen, onOpenProfile, onOpenPrefs, showTenantSwitcher, showBreadcrumbs, showThemeToggle }?: TopBarProps): import("react").JSX.Element;
|
|
2100
|
-
//#endregion
|
|
2101
|
-
//#region src/components/layout/TenantChip.d.ts
|
|
2102
1879
|
interface TenantChipProps {
|
|
2103
1880
|
tenant: Tenant | null;
|
|
2104
1881
|
tenants: Tenant[];
|
|
@@ -2122,18 +1899,12 @@ interface EnvTone {
|
|
|
2122
1899
|
}
|
|
2123
1900
|
export declare function envTone(env?: TenantEnv): EnvTone;
|
|
2124
1901
|
export declare function TenantChip({ tenant, tenants, role, onSwitch, busy, compact, locked, lockedReason }: TenantChipProps): import("react").JSX.Element;
|
|
2125
|
-
//#endregion
|
|
2126
|
-
//#region src/components/layout/TabStrip.d.ts
|
|
2127
1902
|
interface TabStripProps {
|
|
2128
1903
|
onNew?: () => void;
|
|
2129
1904
|
onCloseRequest?: (scope: TabCloseScope, targetId?: string) => void;
|
|
2130
1905
|
}
|
|
2131
1906
|
export declare function TabStrip({ onNew: onNewProp, onCloseRequest }?: TabStripProps): import("react").JSX.Element | null;
|
|
2132
|
-
//#endregion
|
|
2133
|
-
//#region src/components/layout/ImpersonationBanner.d.ts
|
|
2134
1907
|
export declare function ImpersonationBanner(): import("react").JSX.Element;
|
|
2135
|
-
//#endregion
|
|
2136
|
-
//#region src/components/layout/ImpersonationFrame.d.ts
|
|
2137
1908
|
/**
|
|
2138
1909
|
* Fixed 4px viewport overlay frame that surrounds every route. Visible
|
|
2139
1910
|
* for the duration of an impersonation session. The
|
|
@@ -2145,8 +1916,6 @@ export declare function ImpersonationBanner(): import("react").JSX.Element;
|
|
|
2145
1916
|
* and frame in lockstep (one CSS variable, no parallel state).
|
|
2146
1917
|
*/
|
|
2147
1918
|
export declare function ImpersonationFrame(): import("react").JSX.Element | null;
|
|
2148
|
-
//#endregion
|
|
2149
|
-
//#region src/components/layout/ImpersonationStartModal.impl.d.ts
|
|
2150
1919
|
interface ImpersonationStartModalProps {
|
|
2151
1920
|
/** Open state controlled by the caller. */
|
|
2152
1921
|
open: boolean;
|
|
@@ -2161,8 +1930,6 @@ interface ImpersonationStartModalProps {
|
|
|
2161
1930
|
*/
|
|
2162
1931
|
onStarted?: () => void;
|
|
2163
1932
|
}
|
|
2164
|
-
//#endregion
|
|
2165
|
-
//#region src/components/layout/ImpersonationStartModal.d.ts
|
|
2166
1933
|
/**
|
|
2167
1934
|
* Reason modal for impersonation.start. Enforces a minimum reason
|
|
2168
1935
|
* length (server-side param impersonation.require_reason_min_length,
|
|
@@ -2170,8 +1937,6 @@ interface ImpersonationStartModalProps {
|
|
|
2170
1937
|
* is capped server-side by impersonation.max_duration.
|
|
2171
1938
|
*/
|
|
2172
1939
|
export declare function ImpersonationStartModal(props: ImpersonationStartModalProps): import("react").JSX.Element;
|
|
2173
|
-
//#endregion
|
|
2174
|
-
//#region src/api/auth.d.ts
|
|
2175
1940
|
/**
|
|
2176
1941
|
* Impersonation client surface. Each call dispatches through
|
|
2177
1942
|
* POST /api/actions/{code} like every other auth handler. The server
|
|
@@ -2183,8 +1948,6 @@ interface ImpersonationStartResponse extends LoginResponse {
|
|
|
2183
1948
|
impersonation_session_id: string;
|
|
2184
1949
|
session_expires_at: string;
|
|
2185
1950
|
}
|
|
2186
|
-
//#endregion
|
|
2187
|
-
//#region src/hooks/useImpersonation.d.ts
|
|
2188
1951
|
/**
|
|
2189
1952
|
* useImpersonation centralizes the three lifecycle calls (start, stop,
|
|
2190
1953
|
* revoke) and re-hydrates auth state on success so the topbar / banner /
|
|
@@ -2208,8 +1971,6 @@ export declare function useImpersonation(): {
|
|
|
2208
1971
|
isStarting: boolean;
|
|
2209
1972
|
isStopping: boolean;
|
|
2210
1973
|
};
|
|
2211
|
-
//#endregion
|
|
2212
|
-
//#region src/components/layout/CommandPalette.impl.d.ts
|
|
2213
1974
|
type CommandActionType = "nav" | "new" | "open" | "ai" | "ai-panel" | "theme" | "tab-close";
|
|
2214
1975
|
interface CommandAction {
|
|
2215
1976
|
type: CommandActionType;
|
|
@@ -2227,11 +1988,7 @@ interface CommandPaletteProps {
|
|
|
2227
1988
|
includeAI?: boolean;
|
|
2228
1989
|
aiName?: string;
|
|
2229
1990
|
}
|
|
2230
|
-
//#endregion
|
|
2231
|
-
//#region src/components/layout/CommandPalette.d.ts
|
|
2232
1991
|
export declare function CommandPalette(props: CommandPaletteProps): import("react").JSX.Element;
|
|
2233
|
-
//#endregion
|
|
2234
|
-
//#region src/api/agents.d.ts
|
|
2235
1992
|
type AgentRole = "user" | "assistant" | "tool" | "system";
|
|
2236
1993
|
type AgentContentBlock = {
|
|
2237
1994
|
type: "text";
|
|
@@ -2393,8 +2150,6 @@ export declare function listConversations(): Promise<AgentConversation[]>;
|
|
|
2393
2150
|
export declare function loadConversationTurns(conversationId: string): Promise<AgentTurn[]>;
|
|
2394
2151
|
export declare function loadConversationInvocations(conversationId: string): Promise<AgentToolInvocation[]>;
|
|
2395
2152
|
export declare function loadHistory(conversationId: string): Promise<AgentMessage[]>;
|
|
2396
|
-
//#endregion
|
|
2397
|
-
//#region src/components/agents/AgentChatPanel.impl.d.ts
|
|
2398
2153
|
interface AgentChatPanelProps {
|
|
2399
2154
|
open: boolean;
|
|
2400
2155
|
onClose: () => void;
|
|
@@ -2407,11 +2162,7 @@ interface AgentChatPanelProps {
|
|
|
2407
2162
|
askOnOpen?: string;
|
|
2408
2163
|
docked?: boolean;
|
|
2409
2164
|
}
|
|
2410
|
-
//#endregion
|
|
2411
|
-
//#region src/components/agents/AgentChatPanel.d.ts
|
|
2412
2165
|
export declare function AgentChatPanel(props: AgentChatPanelProps): import("react").JSX.Element | null;
|
|
2413
|
-
//#endregion
|
|
2414
|
-
//#region src/components/agents/AgentElicitForm.d.ts
|
|
2415
2166
|
type JSONSchemaProp = {
|
|
2416
2167
|
type?: string | string[];
|
|
2417
2168
|
enum?: unknown[];
|
|
@@ -2438,8 +2189,6 @@ interface AgentElicitFormProps {
|
|
|
2438
2189
|
onCancel?: () => void;
|
|
2439
2190
|
}
|
|
2440
2191
|
export declare function AgentElicitForm({ message, schema, onSubmit, onCancel }: AgentElicitFormProps): import("react").JSX.Element;
|
|
2441
|
-
//#endregion
|
|
2442
|
-
//#region src/components/agents/AgentPicker.d.ts
|
|
2443
2192
|
interface AgentPickerProps {
|
|
2444
2193
|
agents: AvailableAgent[];
|
|
2445
2194
|
selectedId?: string;
|
|
@@ -2447,8 +2196,6 @@ interface AgentPickerProps {
|
|
|
2447
2196
|
label: string;
|
|
2448
2197
|
}
|
|
2449
2198
|
export declare function AgentPicker({ agents, selectedId, onSelect, label }: AgentPickerProps): import("react").JSX.Element | null;
|
|
2450
|
-
//#endregion
|
|
2451
|
-
//#region src/components/agents/AgentConversationDrawer.d.ts
|
|
2452
2199
|
interface AgentConversationDrawerProps {
|
|
2453
2200
|
open: boolean;
|
|
2454
2201
|
onClose: () => void;
|
|
@@ -2459,8 +2206,6 @@ interface AgentConversationDrawerProps {
|
|
|
2459
2206
|
onRefresh: () => Promise<void>;
|
|
2460
2207
|
}
|
|
2461
2208
|
export declare function AgentConversationDrawer({ open, onClose, conversations, activeId, onSelect, onNew, onRefresh }: AgentConversationDrawerProps): import("react").JSX.Element | null;
|
|
2462
|
-
//#endregion
|
|
2463
|
-
//#region src/hooks/useAgentConversation.d.ts
|
|
2464
2209
|
interface AgentTurnState {
|
|
2465
2210
|
streaming: boolean;
|
|
2466
2211
|
}
|
|
@@ -2484,8 +2229,6 @@ export declare function useAgentConversation(initialConversationId?: string): {
|
|
|
2484
2229
|
selectAgent: import("react").Dispatch<import("react").SetStateAction<string | undefined>>;
|
|
2485
2230
|
setConversationId: (id: string | undefined) => void;
|
|
2486
2231
|
};
|
|
2487
|
-
//#endregion
|
|
2488
|
-
//#region src/lib/filter-evaluator.d.ts
|
|
2489
2232
|
/** Metadata needed to evaluate a record-only filter condition. */
|
|
2490
2233
|
interface FilterRecordField {
|
|
2491
2234
|
type: "string" | "text" | "rich_text" | "email" | "url" | "phone" | "enum" | "int" | "float" | "decimal" | "date" | "timestamp" | "time" | "bool" | "ref" | "uuid" | (string & {});
|
|
@@ -2501,15 +2244,11 @@ type FilterRecord = Readonly<Record<string, unknown>>;
|
|
|
2501
2244
|
* missing, null, or empty value.
|
|
2502
2245
|
*/
|
|
2503
2246
|
export declare function evaluateFilterTree(nodes: FilterNode[], fields: FilterRecordFields, record: FilterRecord): boolean;
|
|
2504
|
-
//#endregion
|
|
2505
|
-
//#region src/lib/variants.d.ts
|
|
2506
2247
|
export declare function resolveEntityVariantCode(entity: Entity, record: FilterRecord): string | undefined;
|
|
2507
2248
|
export declare function variantActionCodesForRecord(entity: Entity | undefined, record: FilterRecord): ReadonlySet<string> | undefined;
|
|
2508
2249
|
export declare function commonVariantActionCodes(entity: Entity | undefined, records: readonly FilterRecord[]): ReadonlySet<string> | undefined;
|
|
2509
2250
|
export declare function resolveScreenVariantCode(entity: Entity, screen: Screen, record: FilterRecord): string | undefined;
|
|
2510
2251
|
export declare function effectiveScreenForRecord(entity: Entity | undefined, screen: Screen | undefined, record: FilterRecord): Screen | undefined;
|
|
2511
|
-
//#endregion
|
|
2512
|
-
//#region src/lib/format-count.d.ts
|
|
2513
2252
|
/**
|
|
2514
2253
|
* Row-count formatting for list views. Display precision MUST match data
|
|
2515
2254
|
* accuracy:
|
|
@@ -2551,8 +2290,6 @@ export declare function formatExactCount(total: number, language?: string): stri
|
|
|
2551
2290
|
* entity.
|
|
2552
2291
|
*/
|
|
2553
2292
|
export declare function formatCount(total: number, mode: "exact" | "estimated", language?: string): string;
|
|
2554
|
-
//#endregion
|
|
2555
|
-
//#region src/lib/mass-edit.d.ts
|
|
2556
2293
|
/** Target kinds mirror engine.MassEditTargetKind in Go. */
|
|
2557
2294
|
type MassEditTargetKind = "field" | "status" | "property";
|
|
2558
2295
|
/** Metadata a property-grid row needs to render a target + editable value cell. */
|
|
@@ -2584,8 +2321,6 @@ export declare function parseTargetFilter(raw: string | undefined): string[];
|
|
|
2584
2321
|
* a selection holding a row set in another tenant.
|
|
2585
2322
|
*/
|
|
2586
2323
|
export declare function buildMassEditTargets(t: TextFn, entity: Entity | undefined, whitelistRaw: string | string[] | undefined, selectedRows: ReadonlyArray<Record<string, unknown>>, tenantId: string | undefined): MassEditTarget[];
|
|
2587
|
-
//#endregion
|
|
2588
|
-
//#region src/components/actions/PropertyGridEditor.d.ts
|
|
2589
2324
|
/** Raw patch shape: field codes + optional $statuses / $properties subresource arrays. */
|
|
2590
2325
|
type PatchMap = Record<string, unknown>;
|
|
2591
2326
|
interface PropertyGridEditorProps {
|
|
@@ -2603,8 +2338,6 @@ interface PropertyGridEditorProps {
|
|
|
2603
2338
|
declare const MULTIPLE_VALUES: unique symbol;
|
|
2604
2339
|
export declare function PropertyGridEditor({ entity, filterTargets, selectedRows, value, onChange }: PropertyGridEditorProps): import("react").JSX.Element;
|
|
2605
2340
|
export declare function detectCommonValue(target: MassEditTarget, selectedRows: ReadonlyArray<Record<string, unknown>> | undefined): unknown;
|
|
2606
|
-
//#endregion
|
|
2607
|
-
//#region src/lib/field-classification.d.ts
|
|
2608
2341
|
/**
|
|
2609
2342
|
* isFieldReadable returns true when the caller can see the field's
|
|
2610
2343
|
* value. Non-classified fields are always readable (no entry in
|
|
@@ -2656,5 +2389,4 @@ export declare function isFieldSoDProtected(schema: Schema | undefined, entity:
|
|
|
2656
2389
|
* both classification name + required_permission hint).
|
|
2657
2390
|
*/
|
|
2658
2391
|
export declare function fieldAccessInfo(entity: Entity | undefined, fieldName: string): FieldAccessInfo | undefined;
|
|
2659
|
-
|
|
2660
|
-
export { type Action, ActionBatchError, type ActionExecuteRequest, type ActionExecuteResponse, type ActionItemError, type ActionItemSkip, type ActionListPage, type AgentChatPanelProps, type AgentContentBlock, type AgentConversation, type AgentConversationDrawerProps, type AgentConversationStatus, type AgentElicitFormProps, type AgentInvocationKind, type AgentInvocationStatus, type AgentMessage, type AgentPickerProps, type AgentRole, type AgentToolInvocation, type AgentTurn, type AgentTurnState, type AgentTurnStatus, type AggregateGroup, type AggregateParams, type AggregateResponse, type ApiError, App as Declarion, type ApprovalScope, type AuthShellProps, type AuthUser, type AvailableAgent, type AvatarProps, type BatchOp, type BatchOpResult, type BatchResponse, type BoolToggleProps, type BrandGlyphProps, type BreadcrumbsProps, type BtnKind, type BtnProps, type BtnSize, CURSOR_LANGUAGE_CHANGED, CURSOR_SEMANTICS_MISMATCH, type CanonicalLocation, type ChangePasswordDialogProps, type CheckProps, type CheckSetupResponse, type ChildRelation, type ChipProps, type ClassificationTierDef, type CommandAction, type CommandActionType, type CommandPaletteProps, type CropperOptions, type CropperResult, type Crumb, type CurrencyDisplay, type CurrentScreen, type CursorActionDataResult, type CursorEntityDataParams, type CursorEntityDataResult, type CustomScreenProps, DEFAULT_RESPONSIVE_BREAKPOINTS, type DataResponse, type DateInputProps, type DraftEntry, type DropdownProps, DynamicIcon, type EnrichedRow, type Entity, type EntityField, type EnumDef, type FieldAccessInfo, type FieldLabelProps, type FileAddress, type FileDraftScopeApi, type FileFieldDef, type FileFieldDisplay, type FileFieldMode, type FileSelection, type FileSelectionEvent, type FileSelectionState, type FileSelectionSummary, type FileWidget, type FileWidgetProps, type FilterNode, type FilterOp, type FilterRecord, type FilterRecordField, type FilterRecordFields, type FilterURLState, type HoverCardAlign, type HoverCardProps, type HydratedFile, Icon, type IconBtnProps, type IconDef, type IconName, type IconProps, type ImageCropper, type InfoTooltipProps, type InlineEditCellProps, type InlineEditKind, type InlineEditTrigger, type JsonFieldProps, type LanguageDef, type LayoutWidget, type LayoutWidgetProps, type ListMeta, type ListParams, type ListResponse, type LiveObjectResult, type LocalizedString, type LoginResponse, MANDATORY_LANGUAGE, MULTIPLE_VALUES, type MassEditTarget, type MassEditTargetKind, type MenuItemProps, type MoneyTextOptions, type MultiSelectProps, NO_VALUE_OPS, type NavNode, OP_LABELS, type ObjectActionBarProps, type ObjectActionBarSlot, type ObjectActionSelection, OrderedMap, type PageStateSetter, type ParameterDef, type PasswordInputProps, type PatchMap, type PillProps, type PillSize, type PillTone, type PkValues, type PropertyDef, type PropertyValue, type PublicParam, type QEFieldProps, type QuickEditCellProps, type QuickPeekFieldSpec, type QuickPeekProps, type RailAreaItem, type RailProps, type ReadDisplayState, type ReadQuery, type RecordIdBadgeProps, type RefComboboxProps, type RefFieldItem, type RefFieldProps, type RefreshControlProps, type Refs, type ResponsiveBreakpoints, type ResponsiveMode, ResponsiveModeProvider, type ResponsiveViewport, type ReturnTarget, type RowFieldProps, type RowHelpers, type RunActionOptions, type Schema, type Screen, type ScreenBack, type ScrollAnchor, type ScrollableVirtualizer, type SectionBadge, type SectionCardProps, type SectionEmphasis, type SelectOption, type SelectProps, type SidebarProps, type StatTileProps, type StatTileTone, type StatusDef, type StatusGroupDef, type StatusInfo, type StructureDef, type TabItem, type TabStripProps, type TagsInputProps, type Tenant, type TenantChipProps, type TextAreaProps, type TextFn, type TextInputProps, type TextVars, type TooltipProps, type TopBarProps, type UploadCheck, type UploadProgress, type UploadedFile, type UseFileSelection, type UseFileSelectionOptions, type UseObjectActionsResult, type UseScreenBackOptions, type UseScreenTabOptions, type V2ListParams, type V2ListResponse, type V2Meta, type V2ParamInstance, type V2PropertyInstance, type V2StatusInstance, type ViewFieldProps, type ViewportCategory, buildActionBody, buildDetailHrefFromId, buildEntityDetailHref, buildRowDetailHref, countActiveFilters, deleteObject, executeAction$1 as executeAction, extractPkValues, fieldDisplayName, getIcon, getPrimaryKeyFields, hasOrGroups, isCursorStaleError, makeTextFn, parseFilterURLState, parseFiltersFromURL, pickLocalized, pkValuePartsToId, pkValuesFromId, pkValuesToDetailId, pkValuesToId, pluralText, resolveDetailRoute, resolveViewportCategory, restoreObject, setFiltersInURL, setIconRegistry, textWithNodes, useLocation, useNavigate, useParams, useResponsiveMode, useSearchParams };
|
|
2392
|
+
export { type Action, ActionBatchError, type ActionExecuteRequest, type ActionExecuteResponse, type ActionItemError, type ActionItemSkip, type ActionListPage, type AgentChatPanelProps, type AgentContentBlock, type AgentConversation, type AgentConversationDrawerProps, type AgentConversationStatus, type AgentElicitFormProps, type AgentInvocationKind, type AgentInvocationStatus, type AgentMessage, type AgentPickerProps, type AgentRole, type AgentToolInvocation, type AgentTurn, type AgentTurnState, type AgentTurnStatus, type AggregateGroup, type AggregateParams, type AggregateResponse, type ApiError, App as Declarion, type ApprovalScope, type AuthShellProps, type AuthUser, type AvailableAgent, type AvatarProps, type BatchOp, type BatchOpResult, type BatchResponse, type BoolToggleProps, type BrandGlyphProps, type BreadcrumbsProps, type BtnKind, type BtnProps, type BtnSize, CURSOR_LANGUAGE_CHANGED, CURSOR_SEMANTICS_MISMATCH, type CanonicalLocation, type ChangePasswordDialogProps, type CheckProps, type CheckSetupResponse, type ChildRelation, type ChipProps, type ClassificationTierDef, type CommandAction, type CommandActionType, type CommandPaletteProps, type CropperOptions, type CropperResult, type Crumb, type CurrencyDisplay, type CurrentScreen, type CursorActionDataResult, type CursorEntityDataParams, type CursorEntityDataResult, type CustomScreenProps, DEFAULT_RESPONSIVE_BREAKPOINTS, type DataResponse, type DateInputProps, type DraftEntry, type DropdownProps, DynamicIcon, type EnrichedRow, type Entity, type EntityField, type EnumDef, type FieldAccessInfo, type FieldLabelProps, type FileAddress, type FileDraftScopeApi, type FileFieldDef, type FileFieldDisplay, type FileFieldMode, type FileSelection, type FileSelectionEvent, type FileSelectionState, type FileSelectionSummary, type FileWidget, type FileWidgetProps, type FilterNode, type FilterOp, type FilterRecord, type FilterRecordField, type FilterRecordFields, type FilterURLState, type HoverCardAlign, type HoverCardProps, type HydratedFile, Icon, type IconBtnProps, type IconDef, type IconName, type IconProps, type ImageCropper, type InfoTooltipProps, type InlineEditCellProps, type InlineEditKind, type InlineEditTrigger, type JsonFieldProps, type LanguageDef, type LayoutWidget, type LayoutWidgetProps, type ListMeta, type ListParams, type ListResponse, type LiveObjectResult, type LocalizedString, type LoginResponse, MANDATORY_LANGUAGE, MULTIPLE_VALUES, type MassEditTarget, type MassEditTargetKind, type MenuItemProps, type MoneyTextOptions, type MultiSelectProps, NO_VALUE_OPS, type NavNode, OP_LABELS, type ObjectActionBarProps, type ObjectActionBarSlot, type ObjectActionSelection, OrderedMap, type PageStateSetter, type ParameterDef, type PasswordInputProps, type PatchMap, type PillProps, type PillSize, type PillTone, type PkValues, type PropertyDef, type PropertyValue, type PublicParam, type QEFieldProps, type QuickEditCellProps, type QuickPeekFieldSpec, type QuickPeekProps, type RailAreaItem, type RailProps, type ReadDisplayState, type ReadQuery, type RecordIdBadgeProps, type RefComboboxProps, type RefFieldItem, type RefFieldProps, type RefreshControlProps, type Refs, type ResponsiveBreakpoints, type ResponsiveMode, ResponsiveModeProvider, type ResponsiveViewport, type ReturnTarget, type RowFieldProps, type RowHelpers, type RunActionOptions, type Schema, type Screen, type ScreenBack, type ScrollAnchor, type ScrollableVirtualizer, type SectionBadge, type SectionCardProps, type SectionEmphasis, type SelectOption, type SelectProps, type SidebarProps, type StatTileProps, type StatTileTone, type StatusDef, type StatusGroupDef, type StatusInfo, type StructureDef, type TabItem, type TabStripProps, type TagsInputProps, type Tenant, type TenantChipProps, type TextAreaProps, type TextFn, type TextInputProps, type TextVars, type TooltipProps, type TopBarProps, type UploadCheck, type UploadProgress, type UploadedFile, type UseFileSelection, type UseFileSelectionOptions, type UseObjectActionsResult, type UseScreenBackOptions, type UseScreenTabOptions, type V2ListParams, type V2ListResponse, type V2Meta, type V2ParamInstance, type V2PropertyInstance, type V2StatusInstance, type ViewFieldProps, type ViewportCategory, buildActionBody, buildDetailHrefFromId, buildEntityDetailHref, buildRowDetailHref, countActiveFilters, deleteObject, executeAction, extractPkValues, fieldDisplayName, getIcon, getPrimaryKeyFields, hasOrGroups, isCursorStaleError, makeTextFn, parseFilterURLState, parseFiltersFromURL, pickLocalized, pkValuePartsToId, pkValuesFromId, pkValuesToDetailId, pkValuesToId, pluralText, resolveDetailRoute, resolveViewportCategory, restoreObject, setFiltersInURL, setIconRegistry, textWithNodes, useLocation, useNavigate, useParams, useResponsiveMode, useSearchParams };
|