@nubase/frontend 0.1.37 → 0.1.38

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/index.d.mts CHANGED
@@ -230,7 +230,6 @@ type ModalProps = {
230
230
  showBackdrop?: boolean;
231
231
  size?: ModalSize;
232
232
  zIndex?: number;
233
- onExited?: () => void;
234
233
  };
235
234
  declare const Modal: FC<ModalProps>;
236
235
 
@@ -990,13 +989,22 @@ type ResourceCreateView<TSchema extends ObjectSchema<any> = ObjectSchema<any>, T
990
989
  */
991
990
  type RelationshipFieldHandler<TParent = any, TApiEndpoints = any, TRow = any> = {
992
991
  /**
993
- * Loads the related rows for a "searchable" relationship. Called whenever
994
- * the (debounced) query changes. `parent` is the loaded record from the
995
- * parent view's `onLoad`.
992
+ * Loads the related rows for a remote relationship. Called whenever the
993
+ * (debounced) `query` or `nql` changes.
994
+ *
995
+ * - `query` — the plain text typed in the simplified search input. Empty
996
+ * string when the user is in NQL mode.
997
+ * - `nql` — the NQL expression typed in the NQL editor. Empty string
998
+ * when the user is in Search mode.
999
+ *
1000
+ * Handlers typically forward `query` to the endpoint's text search field
1001
+ * (e.g. `title`) and `nql` to the standard `nql` parameter, leaving the
1002
+ * empty one undefined.
996
1003
  */
997
1004
  onSearch: (args: {
998
1005
  parent: TParent;
999
1006
  query: string;
1007
+ nql: string;
1000
1008
  context: NubaseContextData<TApiEndpoints>;
1001
1009
  }) => Promise<HttpResponse<TRow[]>>;
1002
1010
  };
@@ -1929,9 +1937,9 @@ declare const workbenchOpenResourceOperation: TypedCommandDefinition<_nubase_cor
1929
1937
  operation: _nubase_core.OptionalSchema<_nubase_core.StringSchema>;
1930
1938
  }, null>>>;
1931
1939
 
1932
- declare const workbenchOpenResourceOperationInModal: TypedCommandDefinition<_nubase_core.OptionalSchema<_nubase_core.ObjectSchema<{
1933
- resourceId: _nubase_core.OptionalSchema<_nubase_core.StringSchema>;
1934
- operation: _nubase_core.OptionalSchema<_nubase_core.StringSchema>;
1940
+ declare const workbenchOpenResourceOperationInDrawer: TypedCommandDefinition<_nubase_core.OptionalSchema<_nubase_core.ObjectSchema<{
1941
+ resourceId: _nubase_core.StringSchema;
1942
+ operation: _nubase_core.StringSchema;
1935
1943
  }, null>>>;
1936
1944
 
1937
1945
  declare const workbenchRunCommand: TypedCommandDefinition<_nubase_core.BaseSchema<any> | undefined>;
@@ -1949,12 +1957,12 @@ declare const workbenchViewHistory: TypedCommandDefinition<_nubase_core.BaseSche
1949
1957
  */
1950
1958
 
1951
1959
  declare const index_workbenchOpenResourceOperation: typeof workbenchOpenResourceOperation;
1952
- declare const index_workbenchOpenResourceOperationInModal: typeof workbenchOpenResourceOperationInModal;
1960
+ declare const index_workbenchOpenResourceOperationInDrawer: typeof workbenchOpenResourceOperationInDrawer;
1953
1961
  declare const index_workbenchRunCommand: typeof workbenchRunCommand;
1954
1962
  declare const index_workbenchSetTheme: typeof workbenchSetTheme;
1955
1963
  declare const index_workbenchViewHistory: typeof workbenchViewHistory;
1956
1964
  declare namespace index {
1957
- export { index_workbenchOpenResourceOperation as workbenchOpenResourceOperation, index_workbenchOpenResourceOperationInModal as workbenchOpenResourceOperationInModal, index_workbenchRunCommand as workbenchRunCommand, index_workbenchSetTheme as workbenchSetTheme, index_workbenchViewHistory as workbenchViewHistory };
1965
+ export { index_workbenchOpenResourceOperation as workbenchOpenResourceOperation, index_workbenchOpenResourceOperationInDrawer as workbenchOpenResourceOperationInDrawer, index_workbenchRunCommand as workbenchRunCommand, index_workbenchSetTheme as workbenchSetTheme, index_workbenchViewHistory as workbenchViewHistory };
1958
1966
  }
1959
1967
 
1960
1968
  declare const activityIndicatorVariants: (props?: ({
@@ -2923,11 +2931,9 @@ declare const ThemeToggle: ({ className }: ThemeToggleProps) => react_jsx_runtim
2923
2931
  type DrawerProps = {
2924
2932
  open: boolean;
2925
2933
  onClose: () => void;
2926
- content: ReactElement<BaseModalFrameProps>;
2934
+ content: ReactNode;
2927
2935
  /** Optional content rendered at the top of the drawer (e.g. a command bar). */
2928
2936
  header?: ReactNode;
2929
- /** Fires after the exit animation completes and the drawer unmounts its surface. */
2930
- onExited?: () => void;
2931
2937
  zIndex?: number;
2932
2938
  };
2933
2939
  declare const Drawer: FC<DrawerProps>;
@@ -3448,6 +3454,23 @@ type SchemaFilterBarProps<TSchema extends ObjectSchema<any>> = {
3448
3454
  * from a 400 response from the backend's NQL compiler.
3449
3455
  */
3450
3456
  nqlErrorMessage?: string;
3457
+ /**
3458
+ * Presentation mode.
3459
+ *
3460
+ * - `"full"` (default): toggle is labelled `Filters / NQL`. The non-NQL
3461
+ * branch shows the search input plus one chip per filter descriptor.
3462
+ * Used by top-level resource search pages where users want fine-grained
3463
+ * filtering.
3464
+ * - `"simplified"`: toggle is labelled `Search / NQL`. The non-NQL branch
3465
+ * shows only the search input — per-field chips and the clear button
3466
+ * are hidden. Used inside view overlays (e.g. tickets on a user) where
3467
+ * a single search box plus optional NQL is enough.
3468
+ *
3469
+ * `mode` is purely presentational; `filterState` is not cleared when the
3470
+ * caller switches modes, so a hook driving both a full bar and a
3471
+ * simplified bar elsewhere keeps its per-field state intact.
3472
+ */
3473
+ mode?: "full" | "simplified";
3451
3474
  };
3452
3475
  /**
3453
3476
  * Renders a filter bar based on schema-derived filter descriptors.
@@ -3465,7 +3488,7 @@ type SchemaFilterBarProps<TSchema extends ObjectSchema<any>> = {
3465
3488
  * />
3466
3489
  * ```
3467
3490
  */
3468
- declare function SchemaFilterBar<TSchema extends ObjectSchema<any>>({ schema, filterDescriptors, filterState, onFilterChange, searchValue, onSearchChange, searchPlaceholder, onClearFilters, showClearFilters, searchDebounceMs, disabled, className, nqlMode, onNqlModeChange, nqlValue, onNqlValueChange, nqlErrorMessage, }: SchemaFilterBarProps<TSchema>): react_jsx_runtime.JSX.Element | null;
3491
+ declare function SchemaFilterBar<TSchema extends ObjectSchema<any>>({ schema, filterDescriptors, filterState, onFilterChange, searchValue, onSearchChange, searchPlaceholder, onClearFilters, showClearFilters, searchDebounceMs, disabled, className, nqlMode, onNqlModeChange, nqlValue, onNqlValueChange, nqlErrorMessage, mode, }: SchemaFilterBarProps<TSchema>): react_jsx_runtime.JSX.Element | null;
3469
3492
  declare namespace SchemaFilterBar {
3470
3493
  var displayName: string;
3471
3494
  }
@@ -3506,6 +3529,13 @@ type SearchFilterBarProps = {
3506
3529
  searchPlaceholder?: string;
3507
3530
  /** Width of the search input */
3508
3531
  searchWidth?: number | string;
3532
+ /**
3533
+ * When true, the search input grows to fill remaining horizontal space
3534
+ * (the wrapping div becomes `flex-1 min-w-0` and the input width is
3535
+ * forced to 100%). Useful for simplified bars where the search box
3536
+ * should span the row.
3537
+ */
3538
+ searchExpand?: boolean;
3509
3539
  /** Debounce delay in ms for search input (default: 300, set to 0 to disable) */
3510
3540
  searchDebounceMs?: number;
3511
3541
  /**
@@ -3629,6 +3659,29 @@ type TextFilterProps = {
3629
3659
  };
3630
3660
  declare const TextFilter: React$1.ForwardRefExoticComponent<TextFilterProps & React$1.RefAttributes<HTMLButtonElement>>;
3631
3661
 
3662
+ type SchemaTableProps<TRow extends Record<string, any>> = {
3663
+ /** Object schema describing the row shape. Used to derive columns from its `default` (or `table`) layout. */
3664
+ schema: ObjectSchema<any>;
3665
+ /** Rows to display. */
3666
+ rows: readonly TRow[];
3667
+ /** Whether the table is loading data. Shown as an overlay over the grid. */
3668
+ loading?: boolean;
3669
+ /** Called when a row is clicked. */
3670
+ onRowClick?: (row: TRow) => void;
3671
+ /** Message shown when there are no rows and not loading. Defaults to "No items found". */
3672
+ emptyMessage?: string;
3673
+ /** Additional className for the container. */
3674
+ className?: string;
3675
+ };
3676
+ /**
3677
+ * Presentational table that renders rows according to the schema's table
3678
+ * layout. No search input — callers compose their own filter UI above it.
3679
+ *
3680
+ * Loading overlay only appears after a short delay (`150 ms`) so quick
3681
+ * fetches don't flash a spinner.
3682
+ */
3683
+ declare const SchemaTable: <TRow extends Record<string, any>>({ schema, rows, loading, onRowClick, emptyMessage, className, }: SchemaTableProps<TRow>) => react_jsx_runtime.JSX.Element;
3684
+
3632
3685
  type SearchableTableProps<TRow extends Record<string, any>> = {
3633
3686
  /** Object schema describing the row shape. Used to derive columns from its `default` (or `table`) layout. */
3634
3687
  schema: ObjectSchema<any>;
@@ -3644,14 +3697,14 @@ type SearchableTableProps<TRow extends Record<string, any>> = {
3644
3697
  onRowClick?: (row: TRow) => void;
3645
3698
  /** Placeholder for the search input. */
3646
3699
  searchPlaceholder?: string;
3647
- /** Debounce delay for the search input in ms. Defaults to 200. */
3700
+ /** Debounce delay for the search input in ms. Defaults to 300. */
3648
3701
  searchDebounceMs?: number;
3649
3702
  /** Additional className for the container. */
3650
3703
  className?: string;
3651
3704
  };
3652
3705
  /**
3653
3706
  * A general-purpose searchable table: a debounced text-search input above a
3654
- * `DataGrid`. Columns are derived from the schema's table layout.
3707
+ * `SchemaTable`. Columns are derived from the schema's table layout.
3655
3708
  *
3656
3709
  * Search is controlled by the parent — `onSearchChange` is called with the
3657
3710
  * (debounced) query string and the parent decides how to fetch / filter rows.
@@ -4676,4 +4729,4 @@ declare function isServerNetworkError(error: unknown): error is ServerNetworkErr
4676
4729
  */
4677
4730
  declare function getNetworkErrorMessage(error: unknown): string;
4678
4731
 
4679
- export { ACTION_COLUMN_KEY, type Action, ActionBar, ActionBarContainer, type ActionBarContainerProps, type ActionBarProps, ActionCellFormatter, ActionCellRendererCell, ActionCellRendererGroup, ActionDropdownMenu, type ActionDropdownMenuProps, type ActionKeybinding, type ActionLayout, type ActionOrSeparator, ActivityIndicator, type ActivityIndicatorProps, type AuthenticatedUser, type AuthenticationController, type AuthenticationState, type AuthenticationStateListener, type BaseAction, type BaseModalFrameProps, type BaseWidgetDescriptor, BooleanCellEditRenderer, Breadcrumb, BreadcrumbBar, type BreadcrumbBarProps, BreadcrumbEllipsis, type BreadcrumbEllipsisProps, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, type BreadcrumbLinkProps, BreadcrumbList, type BreadcrumbListProps, BreadcrumbPage, type BreadcrumbPageProps, type BreadcrumbProps, BreadcrumbSeparator, type BreadcrumbSeparatorProps, Button, ButtonBar, type ButtonBarProps, ButtonGroup, type ButtonGroupProps, type ButtonProps, type CalculatedColumn, type CalculatedColumnOrColumnGroup, type CalculatedColumnParent, Callout, type CalloutProps, Card, CardAction, type CardActionProps, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, CellComponent as Cell, type CellCopyArgs, type CellEditLifecycle, type CellEditRendererProps, type CellEditRendererResult, type CellKeyDownArgs, type CellKeyboardEvent, type CellMouseArgs, type CellMouseEvent, type CellPasteArgs, type CellRendererProps, type CellSelectArgs, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, type CheckboxProps, ClientNetworkError, type ColSpanArgs, type Column, type ColumnGroup, type ColumnOrColumnGroup, type ColumnWidth, type ColumnWidths, type CommandAction, type CommandRegistry, ConnectedWidget, type ConnectedWidgetProps, type CreatePatchableColumnOptions, DEFAULT_LABEL_WIDTH, Dashboard, type DashboardDescriptor, type DashboardDragConfig, type DashboardGridConfig, type DashboardProps, DashboardRenderer, type DashboardRendererProps, type DashboardResizeConfig, DashboardWidget, type DashboardWidgetProps, DataGrid, DataGridCellPatchWrapper, type DataGridCellPatchWrapperProps, DataGridDefaultRenderersContext, type DataGridHandle, type DataGridProps, DataState, type DataStateProps, type DefaultColumnOptions, Dialog, type DialogProps, Dock, type DockProps, Drawer, type DrawerProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EnhancedPagination, type EnhancedPaginationProps, type ErrorListener, type ErrorPayload, type EventListener, type EventSource, type FieldHandlers, type FillEvent, type FilterFieldDescriptor, type FlatMenuItem, FormControl, type FormControlProps, FormFieldRenderer, type FormFieldRendererProps, FormValidationErrors, type FormValidationErrorsProps, type GlobalActionsConfig, type HandlerAction, HttpClient, type HttpRequestConfig, type HttpResponse, type IconComponent, type InlineCreateViewConfig, type InlineLookupConfig, type InlineResourceActionConfig, type InlineSearchViewConfig, type InlineViewConfig, type InlineViewViewConfig, type KeySequence, type Keybinding, type KeybindingState, type KpiWidgetDescriptor, Label, type LabelProps, EnhancedPagination as LegacyPagination, type LoginCompleteCredentials, type LoginCredentials, type LoginStartResponse, LookupSelect, LookupSelectFilter, type LookupSelectFilterProps, type LookupSelectProps, MAX_LABEL_WIDTH, MIN_LABEL_WIDTH, MainNav, type MainNavProps, type MarkdownCommand, MarkdownTextArea, type MarkdownTextAreaHandle, type MarkdownTextAreaProps, type MenuItem, MenuItemComponent, type MenuItemOrSeparator, Modal, type ModalAlignment, type ModalConfig, ModalFrame, type ModalFrameProps, ModalFrameSchemaForm, type ModalFrameSchemaFormProps, ModalFrameStructured, type ModalFrameStructuredProps, type ModalInstance, type ModalProps, ModalProvider, type ModalSize, ModalViewRenderer, type ModalViewRendererProps, NAVIGATE_COLUMN_KEY, NQL_LANGUAGE_ID, type NavItem, NavItems, NetworkError, type NetworkErrorOptions, type NotificationRule, type NotificationRules, NqlEditor, type NqlEditorProps, NubaseApp, type NubaseAppProps, type NubaseContextData, type NubaseEventMap, type NubaseEventType, type NubaseFrontendConfig, NumberCellEditRenderer, OverlayStack, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, type EnhancedPaginationProps as PaginationProps, type ParseErrorDetail, type ParsedKeybinding, type PatchResult, type PromiseResult, type PromiseToastCallback, type PromiseToastConfig, type PromiseToastOptions, type ProportionalChartVariant, type ProportionalWidgetDescriptor, type RelationshipFieldHandler, type RenderCellProps, type RenderCheckboxProps, type RenderEditCellProps, type RenderGroupCellProps, type RenderHeaderCellProps, type RenderRowProps, type RenderSortIconProps, type RenderSortPriorityProps, type RenderSortStatusProps, type RenderSummaryCellProps, type Renderers, type ResolvedMenuItem, type ResourceAction, type ResourceActionExecutionContext, type ResourceCreateView, ResourceCreateViewModalRenderer, type ResourceCreateViewModalRendererProps, ResourceCreateViewRenderer, type ResourceCreateViewRendererProps, type ResourceDescriptor, type ResourceEventPayload, type ResourceLink, type ResourceLookupConfig, type ResourceSearchView, ResourceSearchViewModalRenderer, type ResourceSearchViewModalRendererProps, ResourceSearchViewRenderer, type ResourceSearchViewRendererProps, ResourceViewHeader, type ResourceViewHeaderProps, type ResourceViewView, ResourceViewViewModalRenderer, type ResourceViewViewModalRendererProps, ResourceViewViewRenderer, type ResourceViewViewRendererProps, RowComponent as Row, type RowHeightArgs, type RowsChangeData, SELECT_COLUMN_KEY, SchemaFilterBar, type SchemaFilterBarProps, type SchemaFilterConfig, type SchemaFilterState, SchemaForm, SchemaFormBody, type SchemaFormBodyProps, SchemaFormButtonBar, type SchemaFormButtonBarProps, type SchemaFormConfiguration, SchemaFormLabelSplitter, type SchemaFormLayoutContextValue, SchemaFormLayoutProvider, type SchemaFormLayoutProviderProps, type SchemaFormProps, SchemaFormValidationErrors, type SchemaFormValidationErrorsProps, SearchBar, type SearchBarProps, SearchFilterBadge, type SearchFilterBadgeProps, SearchFilterBar, type SearchFilterBarProps, SearchFilterCheckIndicator, SearchFilterChevron, type SearchFilterChevronProps, SearchFilterDropdown, type SearchFilterDropdownProps, SearchTextInput, type SearchTextInputProps, SearchableTable, type SearchableTableProps, SearchableTreeNavigator, type SearchableTreeNavigatorProps, Select, SelectCellFormatter, type SelectCellOptions, SelectColumn, SelectFilter, type SelectFilterOption, type SelectFilterProps, type SelectHeaderRowEvent, type SelectOption, type SelectProps, type SelectRowEvent, type SelectionRange, type SeriesChartVariant, type SeriesWidgetDescriptor, ServerNetworkError, type SignupCredentials, type SortColumn, type SortDirection, type StandardViews, StringCellEditRenderer, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, type TableWidgetDescriptor, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsProps, TabsTrigger, type TabsTriggerProps, type TextController, TextFilter, type TextFilterProps, TextInput, type TextInputProps, type TextState, ThemeToggle, type ThemeToggleProps, Toast, ToastContainer, type ToastData, type ToastOptions, type ToastPosition, ToastProvider, type ToastType, Toggle, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupProps, type ToggleProps, TopBar, type TopBarProps, TreeDataGrid, type TreeDataGridProps, TreeNavigator, type TreeNavigatorProps, TypedApiClient, type TypedApiClientFromEndpoints, type TypedCommandDefinition, type UseDialogResult, type UseModalResult, type UseNubaseMutationOptions, type UseNubaseQueryOptions, type UseOverlaysResult, type UseSchemaFiltersOptions, type UseSchemaFiltersReturn, type UseSchemaFormOptions, UserAvatar, type UserAvatarProps, UserMenu, type UserMenuProps, type View, type ViewBase, type ViewType, Widget, type WidgetDescriptor, type WidgetLayoutConfig, type WidgetProps, type WorkspaceContext, type WorkspaceInfo, boldCommand, checkListCommand, checkboxVariants, cleanupKeybindings, codeBlockCommand, codeCommand, commandRegistry, index as commands, createActionColumn, createCommand, createCommandAction, createCreateView, createDashboard, createHandlerAction, createNavigateColumn, createPatchableColumn, createPatchableColumns, createResource, createResourceAction, createTypedApiClient, createViewFactory, createViewView, defaultKeybindings, defaultNotificationRules, defineCreateView, defineViewView, emitEvent, ensureNqlLanguageRegistered, eventManager, filterNavItems, flattenNavItems, getInitials, getLayout, getNetworkErrorMessage, getResourceLinkSearch, getWorkspaceFromRouter, groupActionsBySeparators, headingCommand, imageCommand, introspectSchemaForFilters, isClientNetworkError, isCommandAction, isHandlerAction, isNetworkError, isResourceLink, isServerNetworkError, italicCommand, keybindingManager, linkCommand, lookupSelectVariants, matchesKeySequence, normalizeEventKey, optionVariants, orderedListCommand, parseKeySequence, parseKeybinding, quoteCommand, registerKeybindings, registerNqlCompletionProvider, renderCheckbox, renderHeaderCell, renderSortIcon, renderSortPriority, renderToggleGroup, renderValue, renderCellEdit as resolveEditRenderer, resolveMenuItem, resolveMenuItems, resolveResourceLink, renderCellView as resolveViewRenderer, resourceLink, searchFilterBarClearButtonVariants, searchFilterBarInputVariants, searchFilterBarVariants, searchFilterContentVariants, searchFilterTriggerVariants, setGlobalEventEmitter, showPromiseToast, showToast, strikethroughCommand, textEditor, toggleThumbVariants, toggleVariants$1 as toggleVariants, unorderedListCommand, updateKeybindings, useActionExecutor, useChart, useComputedMetadata, useDebouncedValue, useDialog, useHeaderRowSelection, useLastDefined, useLayout, useModal, useNubaseMutation, useNubaseQuery, useOverlays, useResourceCreateMutation, useResourceDeleteMutation, useResourceInvalidation, useResourceSearchQuery, useResourceUpdateMutation, useResourceViewQuery, useRowSelection, useSchemaFilters, useSchemaForm, useSchemaFormLayout, useToast, useWorkspace, useWorkspaceOptional, workbenchOpenResourceOperation, workbenchOpenResourceOperationInModal, workbenchRunCommand, workbenchSetTheme, workbenchViewHistory };
4732
+ export { ACTION_COLUMN_KEY, type Action, ActionBar, ActionBarContainer, type ActionBarContainerProps, type ActionBarProps, ActionCellFormatter, ActionCellRendererCell, ActionCellRendererGroup, ActionDropdownMenu, type ActionDropdownMenuProps, type ActionKeybinding, type ActionLayout, type ActionOrSeparator, ActivityIndicator, type ActivityIndicatorProps, type AuthenticatedUser, type AuthenticationController, type AuthenticationState, type AuthenticationStateListener, type BaseAction, type BaseModalFrameProps, type BaseWidgetDescriptor, BooleanCellEditRenderer, Breadcrumb, BreadcrumbBar, type BreadcrumbBarProps, BreadcrumbEllipsis, type BreadcrumbEllipsisProps, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, type BreadcrumbLinkProps, BreadcrumbList, type BreadcrumbListProps, BreadcrumbPage, type BreadcrumbPageProps, type BreadcrumbProps, BreadcrumbSeparator, type BreadcrumbSeparatorProps, Button, ButtonBar, type ButtonBarProps, ButtonGroup, type ButtonGroupProps, type ButtonProps, type CalculatedColumn, type CalculatedColumnOrColumnGroup, type CalculatedColumnParent, Callout, type CalloutProps, Card, CardAction, type CardActionProps, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, CellComponent as Cell, type CellCopyArgs, type CellEditLifecycle, type CellEditRendererProps, type CellEditRendererResult, type CellKeyDownArgs, type CellKeyboardEvent, type CellMouseArgs, type CellMouseEvent, type CellPasteArgs, type CellRendererProps, type CellSelectArgs, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, type CheckboxProps, ClientNetworkError, type ColSpanArgs, type Column, type ColumnGroup, type ColumnOrColumnGroup, type ColumnWidth, type ColumnWidths, type CommandAction, type CommandRegistry, ConnectedWidget, type ConnectedWidgetProps, type CreatePatchableColumnOptions, DEFAULT_LABEL_WIDTH, Dashboard, type DashboardDescriptor, type DashboardDragConfig, type DashboardGridConfig, type DashboardProps, DashboardRenderer, type DashboardRendererProps, type DashboardResizeConfig, DashboardWidget, type DashboardWidgetProps, DataGrid, DataGridCellPatchWrapper, type DataGridCellPatchWrapperProps, DataGridDefaultRenderersContext, type DataGridHandle, type DataGridProps, DataState, type DataStateProps, type DefaultColumnOptions, Dialog, type DialogProps, Dock, type DockProps, Drawer, type DrawerProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EnhancedPagination, type EnhancedPaginationProps, type ErrorListener, type ErrorPayload, type EventListener, type EventSource, type FieldHandlers, type FillEvent, type FilterFieldDescriptor, type FlatMenuItem, FormControl, type FormControlProps, FormFieldRenderer, type FormFieldRendererProps, FormValidationErrors, type FormValidationErrorsProps, type GlobalActionsConfig, type HandlerAction, HttpClient, type HttpRequestConfig, type HttpResponse, type IconComponent, type InlineCreateViewConfig, type InlineLookupConfig, type InlineResourceActionConfig, type InlineSearchViewConfig, type InlineViewConfig, type InlineViewViewConfig, type KeySequence, type Keybinding, type KeybindingState, type KpiWidgetDescriptor, Label, type LabelProps, EnhancedPagination as LegacyPagination, type LoginCompleteCredentials, type LoginCredentials, type LoginStartResponse, LookupSelect, LookupSelectFilter, type LookupSelectFilterProps, type LookupSelectProps, MAX_LABEL_WIDTH, MIN_LABEL_WIDTH, MainNav, type MainNavProps, type MarkdownCommand, MarkdownTextArea, type MarkdownTextAreaHandle, type MarkdownTextAreaProps, type MenuItem, MenuItemComponent, type MenuItemOrSeparator, Modal, type ModalAlignment, type ModalConfig, ModalFrame, type ModalFrameProps, ModalFrameSchemaForm, type ModalFrameSchemaFormProps, ModalFrameStructured, type ModalFrameStructuredProps, type ModalInstance, type ModalProps, ModalProvider, type ModalSize, ModalViewRenderer, type ModalViewRendererProps, NAVIGATE_COLUMN_KEY, NQL_LANGUAGE_ID, type NavItem, NavItems, NetworkError, type NetworkErrorOptions, type NotificationRule, type NotificationRules, NqlEditor, type NqlEditorProps, NubaseApp, type NubaseAppProps, type NubaseContextData, type NubaseEventMap, type NubaseEventType, type NubaseFrontendConfig, NumberCellEditRenderer, OverlayStack, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, type EnhancedPaginationProps as PaginationProps, type ParseErrorDetail, type ParsedKeybinding, type PatchResult, type PromiseResult, type PromiseToastCallback, type PromiseToastConfig, type PromiseToastOptions, type ProportionalChartVariant, type ProportionalWidgetDescriptor, type RelationshipFieldHandler, type RenderCellProps, type RenderCheckboxProps, type RenderEditCellProps, type RenderGroupCellProps, type RenderHeaderCellProps, type RenderRowProps, type RenderSortIconProps, type RenderSortPriorityProps, type RenderSortStatusProps, type RenderSummaryCellProps, type Renderers, type ResolvedMenuItem, type ResourceAction, type ResourceActionExecutionContext, type ResourceCreateView, ResourceCreateViewModalRenderer, type ResourceCreateViewModalRendererProps, ResourceCreateViewRenderer, type ResourceCreateViewRendererProps, type ResourceDescriptor, type ResourceEventPayload, type ResourceLink, type ResourceLookupConfig, type ResourceSearchView, ResourceSearchViewModalRenderer, type ResourceSearchViewModalRendererProps, ResourceSearchViewRenderer, type ResourceSearchViewRendererProps, ResourceViewHeader, type ResourceViewHeaderProps, type ResourceViewView, ResourceViewViewModalRenderer, type ResourceViewViewModalRendererProps, ResourceViewViewRenderer, type ResourceViewViewRendererProps, RowComponent as Row, type RowHeightArgs, type RowsChangeData, SELECT_COLUMN_KEY, SchemaFilterBar, type SchemaFilterBarProps, type SchemaFilterConfig, type SchemaFilterState, SchemaForm, SchemaFormBody, type SchemaFormBodyProps, SchemaFormButtonBar, type SchemaFormButtonBarProps, type SchemaFormConfiguration, SchemaFormLabelSplitter, type SchemaFormLayoutContextValue, SchemaFormLayoutProvider, type SchemaFormLayoutProviderProps, type SchemaFormProps, SchemaFormValidationErrors, type SchemaFormValidationErrorsProps, SchemaTable, type SchemaTableProps, SearchBar, type SearchBarProps, SearchFilterBadge, type SearchFilterBadgeProps, SearchFilterBar, type SearchFilterBarProps, SearchFilterCheckIndicator, SearchFilterChevron, type SearchFilterChevronProps, SearchFilterDropdown, type SearchFilterDropdownProps, SearchTextInput, type SearchTextInputProps, SearchableTable, type SearchableTableProps, SearchableTreeNavigator, type SearchableTreeNavigatorProps, Select, SelectCellFormatter, type SelectCellOptions, SelectColumn, SelectFilter, type SelectFilterOption, type SelectFilterProps, type SelectHeaderRowEvent, type SelectOption, type SelectProps, type SelectRowEvent, type SelectionRange, type SeriesChartVariant, type SeriesWidgetDescriptor, ServerNetworkError, type SignupCredentials, type SortColumn, type SortDirection, type StandardViews, StringCellEditRenderer, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, type TableWidgetDescriptor, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsProps, TabsTrigger, type TabsTriggerProps, type TextController, TextFilter, type TextFilterProps, TextInput, type TextInputProps, type TextState, ThemeToggle, type ThemeToggleProps, Toast, ToastContainer, type ToastData, type ToastOptions, type ToastPosition, ToastProvider, type ToastType, Toggle, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupProps, type ToggleProps, TopBar, type TopBarProps, TreeDataGrid, type TreeDataGridProps, TreeNavigator, type TreeNavigatorProps, TypedApiClient, type TypedApiClientFromEndpoints, type TypedCommandDefinition, type UseDialogResult, type UseModalResult, type UseNubaseMutationOptions, type UseNubaseQueryOptions, type UseOverlaysResult, type UseSchemaFiltersOptions, type UseSchemaFiltersReturn, type UseSchemaFormOptions, UserAvatar, type UserAvatarProps, UserMenu, type UserMenuProps, type View, type ViewBase, type ViewType, Widget, type WidgetDescriptor, type WidgetLayoutConfig, type WidgetProps, type WorkspaceContext, type WorkspaceInfo, boldCommand, checkListCommand, checkboxVariants, cleanupKeybindings, codeBlockCommand, codeCommand, commandRegistry, index as commands, createActionColumn, createCommand, createCommandAction, createCreateView, createDashboard, createHandlerAction, createNavigateColumn, createPatchableColumn, createPatchableColumns, createResource, createResourceAction, createTypedApiClient, createViewFactory, createViewView, defaultKeybindings, defaultNotificationRules, defineCreateView, defineViewView, emitEvent, ensureNqlLanguageRegistered, eventManager, filterNavItems, flattenNavItems, getInitials, getLayout, getNetworkErrorMessage, getResourceLinkSearch, getWorkspaceFromRouter, groupActionsBySeparators, headingCommand, imageCommand, introspectSchemaForFilters, isClientNetworkError, isCommandAction, isHandlerAction, isNetworkError, isResourceLink, isServerNetworkError, italicCommand, keybindingManager, linkCommand, lookupSelectVariants, matchesKeySequence, normalizeEventKey, optionVariants, orderedListCommand, parseKeySequence, parseKeybinding, quoteCommand, registerKeybindings, registerNqlCompletionProvider, renderCheckbox, renderHeaderCell, renderSortIcon, renderSortPriority, renderToggleGroup, renderValue, renderCellEdit as resolveEditRenderer, resolveMenuItem, resolveMenuItems, resolveResourceLink, renderCellView as resolveViewRenderer, resourceLink, searchFilterBarClearButtonVariants, searchFilterBarInputVariants, searchFilterBarVariants, searchFilterContentVariants, searchFilterTriggerVariants, setGlobalEventEmitter, showPromiseToast, showToast, strikethroughCommand, textEditor, toggleThumbVariants, toggleVariants$1 as toggleVariants, unorderedListCommand, updateKeybindings, useActionExecutor, useChart, useComputedMetadata, useDebouncedValue, useDialog, useHeaderRowSelection, useLastDefined, useLayout, useModal, useNubaseMutation, useNubaseQuery, useOverlays, useResourceCreateMutation, useResourceDeleteMutation, useResourceInvalidation, useResourceSearchQuery, useResourceUpdateMutation, useResourceViewQuery, useRowSelection, useSchemaFilters, useSchemaForm, useSchemaFormLayout, useToast, useWorkspace, useWorkspaceOptional, workbenchOpenResourceOperation, workbenchOpenResourceOperationInDrawer, workbenchRunCommand, workbenchSetTheme, workbenchViewHistory };
package/dist/index.d.ts CHANGED
@@ -230,7 +230,6 @@ type ModalProps = {
230
230
  showBackdrop?: boolean;
231
231
  size?: ModalSize;
232
232
  zIndex?: number;
233
- onExited?: () => void;
234
233
  };
235
234
  declare const Modal: FC<ModalProps>;
236
235
 
@@ -990,13 +989,22 @@ type ResourceCreateView<TSchema extends ObjectSchema<any> = ObjectSchema<any>, T
990
989
  */
991
990
  type RelationshipFieldHandler<TParent = any, TApiEndpoints = any, TRow = any> = {
992
991
  /**
993
- * Loads the related rows for a "searchable" relationship. Called whenever
994
- * the (debounced) query changes. `parent` is the loaded record from the
995
- * parent view's `onLoad`.
992
+ * Loads the related rows for a remote relationship. Called whenever the
993
+ * (debounced) `query` or `nql` changes.
994
+ *
995
+ * - `query` — the plain text typed in the simplified search input. Empty
996
+ * string when the user is in NQL mode.
997
+ * - `nql` — the NQL expression typed in the NQL editor. Empty string
998
+ * when the user is in Search mode.
999
+ *
1000
+ * Handlers typically forward `query` to the endpoint's text search field
1001
+ * (e.g. `title`) and `nql` to the standard `nql` parameter, leaving the
1002
+ * empty one undefined.
996
1003
  */
997
1004
  onSearch: (args: {
998
1005
  parent: TParent;
999
1006
  query: string;
1007
+ nql: string;
1000
1008
  context: NubaseContextData<TApiEndpoints>;
1001
1009
  }) => Promise<HttpResponse<TRow[]>>;
1002
1010
  };
@@ -1929,9 +1937,9 @@ declare const workbenchOpenResourceOperation: TypedCommandDefinition<_nubase_cor
1929
1937
  operation: _nubase_core.OptionalSchema<_nubase_core.StringSchema>;
1930
1938
  }, null>>>;
1931
1939
 
1932
- declare const workbenchOpenResourceOperationInModal: TypedCommandDefinition<_nubase_core.OptionalSchema<_nubase_core.ObjectSchema<{
1933
- resourceId: _nubase_core.OptionalSchema<_nubase_core.StringSchema>;
1934
- operation: _nubase_core.OptionalSchema<_nubase_core.StringSchema>;
1940
+ declare const workbenchOpenResourceOperationInDrawer: TypedCommandDefinition<_nubase_core.OptionalSchema<_nubase_core.ObjectSchema<{
1941
+ resourceId: _nubase_core.StringSchema;
1942
+ operation: _nubase_core.StringSchema;
1935
1943
  }, null>>>;
1936
1944
 
1937
1945
  declare const workbenchRunCommand: TypedCommandDefinition<_nubase_core.BaseSchema<any> | undefined>;
@@ -1949,12 +1957,12 @@ declare const workbenchViewHistory: TypedCommandDefinition<_nubase_core.BaseSche
1949
1957
  */
1950
1958
 
1951
1959
  declare const index_workbenchOpenResourceOperation: typeof workbenchOpenResourceOperation;
1952
- declare const index_workbenchOpenResourceOperationInModal: typeof workbenchOpenResourceOperationInModal;
1960
+ declare const index_workbenchOpenResourceOperationInDrawer: typeof workbenchOpenResourceOperationInDrawer;
1953
1961
  declare const index_workbenchRunCommand: typeof workbenchRunCommand;
1954
1962
  declare const index_workbenchSetTheme: typeof workbenchSetTheme;
1955
1963
  declare const index_workbenchViewHistory: typeof workbenchViewHistory;
1956
1964
  declare namespace index {
1957
- export { index_workbenchOpenResourceOperation as workbenchOpenResourceOperation, index_workbenchOpenResourceOperationInModal as workbenchOpenResourceOperationInModal, index_workbenchRunCommand as workbenchRunCommand, index_workbenchSetTheme as workbenchSetTheme, index_workbenchViewHistory as workbenchViewHistory };
1965
+ export { index_workbenchOpenResourceOperation as workbenchOpenResourceOperation, index_workbenchOpenResourceOperationInDrawer as workbenchOpenResourceOperationInDrawer, index_workbenchRunCommand as workbenchRunCommand, index_workbenchSetTheme as workbenchSetTheme, index_workbenchViewHistory as workbenchViewHistory };
1958
1966
  }
1959
1967
 
1960
1968
  declare const activityIndicatorVariants: (props?: ({
@@ -2923,11 +2931,9 @@ declare const ThemeToggle: ({ className }: ThemeToggleProps) => react_jsx_runtim
2923
2931
  type DrawerProps = {
2924
2932
  open: boolean;
2925
2933
  onClose: () => void;
2926
- content: ReactElement<BaseModalFrameProps>;
2934
+ content: ReactNode;
2927
2935
  /** Optional content rendered at the top of the drawer (e.g. a command bar). */
2928
2936
  header?: ReactNode;
2929
- /** Fires after the exit animation completes and the drawer unmounts its surface. */
2930
- onExited?: () => void;
2931
2937
  zIndex?: number;
2932
2938
  };
2933
2939
  declare const Drawer: FC<DrawerProps>;
@@ -3448,6 +3454,23 @@ type SchemaFilterBarProps<TSchema extends ObjectSchema<any>> = {
3448
3454
  * from a 400 response from the backend's NQL compiler.
3449
3455
  */
3450
3456
  nqlErrorMessage?: string;
3457
+ /**
3458
+ * Presentation mode.
3459
+ *
3460
+ * - `"full"` (default): toggle is labelled `Filters / NQL`. The non-NQL
3461
+ * branch shows the search input plus one chip per filter descriptor.
3462
+ * Used by top-level resource search pages where users want fine-grained
3463
+ * filtering.
3464
+ * - `"simplified"`: toggle is labelled `Search / NQL`. The non-NQL branch
3465
+ * shows only the search input — per-field chips and the clear button
3466
+ * are hidden. Used inside view overlays (e.g. tickets on a user) where
3467
+ * a single search box plus optional NQL is enough.
3468
+ *
3469
+ * `mode` is purely presentational; `filterState` is not cleared when the
3470
+ * caller switches modes, so a hook driving both a full bar and a
3471
+ * simplified bar elsewhere keeps its per-field state intact.
3472
+ */
3473
+ mode?: "full" | "simplified";
3451
3474
  };
3452
3475
  /**
3453
3476
  * Renders a filter bar based on schema-derived filter descriptors.
@@ -3465,7 +3488,7 @@ type SchemaFilterBarProps<TSchema extends ObjectSchema<any>> = {
3465
3488
  * />
3466
3489
  * ```
3467
3490
  */
3468
- declare function SchemaFilterBar<TSchema extends ObjectSchema<any>>({ schema, filterDescriptors, filterState, onFilterChange, searchValue, onSearchChange, searchPlaceholder, onClearFilters, showClearFilters, searchDebounceMs, disabled, className, nqlMode, onNqlModeChange, nqlValue, onNqlValueChange, nqlErrorMessage, }: SchemaFilterBarProps<TSchema>): react_jsx_runtime.JSX.Element | null;
3491
+ declare function SchemaFilterBar<TSchema extends ObjectSchema<any>>({ schema, filterDescriptors, filterState, onFilterChange, searchValue, onSearchChange, searchPlaceholder, onClearFilters, showClearFilters, searchDebounceMs, disabled, className, nqlMode, onNqlModeChange, nqlValue, onNqlValueChange, nqlErrorMessage, mode, }: SchemaFilterBarProps<TSchema>): react_jsx_runtime.JSX.Element | null;
3469
3492
  declare namespace SchemaFilterBar {
3470
3493
  var displayName: string;
3471
3494
  }
@@ -3506,6 +3529,13 @@ type SearchFilterBarProps = {
3506
3529
  searchPlaceholder?: string;
3507
3530
  /** Width of the search input */
3508
3531
  searchWidth?: number | string;
3532
+ /**
3533
+ * When true, the search input grows to fill remaining horizontal space
3534
+ * (the wrapping div becomes `flex-1 min-w-0` and the input width is
3535
+ * forced to 100%). Useful for simplified bars where the search box
3536
+ * should span the row.
3537
+ */
3538
+ searchExpand?: boolean;
3509
3539
  /** Debounce delay in ms for search input (default: 300, set to 0 to disable) */
3510
3540
  searchDebounceMs?: number;
3511
3541
  /**
@@ -3629,6 +3659,29 @@ type TextFilterProps = {
3629
3659
  };
3630
3660
  declare const TextFilter: React$1.ForwardRefExoticComponent<TextFilterProps & React$1.RefAttributes<HTMLButtonElement>>;
3631
3661
 
3662
+ type SchemaTableProps<TRow extends Record<string, any>> = {
3663
+ /** Object schema describing the row shape. Used to derive columns from its `default` (or `table`) layout. */
3664
+ schema: ObjectSchema<any>;
3665
+ /** Rows to display. */
3666
+ rows: readonly TRow[];
3667
+ /** Whether the table is loading data. Shown as an overlay over the grid. */
3668
+ loading?: boolean;
3669
+ /** Called when a row is clicked. */
3670
+ onRowClick?: (row: TRow) => void;
3671
+ /** Message shown when there are no rows and not loading. Defaults to "No items found". */
3672
+ emptyMessage?: string;
3673
+ /** Additional className for the container. */
3674
+ className?: string;
3675
+ };
3676
+ /**
3677
+ * Presentational table that renders rows according to the schema's table
3678
+ * layout. No search input — callers compose their own filter UI above it.
3679
+ *
3680
+ * Loading overlay only appears after a short delay (`150 ms`) so quick
3681
+ * fetches don't flash a spinner.
3682
+ */
3683
+ declare const SchemaTable: <TRow extends Record<string, any>>({ schema, rows, loading, onRowClick, emptyMessage, className, }: SchemaTableProps<TRow>) => react_jsx_runtime.JSX.Element;
3684
+
3632
3685
  type SearchableTableProps<TRow extends Record<string, any>> = {
3633
3686
  /** Object schema describing the row shape. Used to derive columns from its `default` (or `table`) layout. */
3634
3687
  schema: ObjectSchema<any>;
@@ -3644,14 +3697,14 @@ type SearchableTableProps<TRow extends Record<string, any>> = {
3644
3697
  onRowClick?: (row: TRow) => void;
3645
3698
  /** Placeholder for the search input. */
3646
3699
  searchPlaceholder?: string;
3647
- /** Debounce delay for the search input in ms. Defaults to 200. */
3700
+ /** Debounce delay for the search input in ms. Defaults to 300. */
3648
3701
  searchDebounceMs?: number;
3649
3702
  /** Additional className for the container. */
3650
3703
  className?: string;
3651
3704
  };
3652
3705
  /**
3653
3706
  * A general-purpose searchable table: a debounced text-search input above a
3654
- * `DataGrid`. Columns are derived from the schema's table layout.
3707
+ * `SchemaTable`. Columns are derived from the schema's table layout.
3655
3708
  *
3656
3709
  * Search is controlled by the parent — `onSearchChange` is called with the
3657
3710
  * (debounced) query string and the parent decides how to fetch / filter rows.
@@ -4676,4 +4729,4 @@ declare function isServerNetworkError(error: unknown): error is ServerNetworkErr
4676
4729
  */
4677
4730
  declare function getNetworkErrorMessage(error: unknown): string;
4678
4731
 
4679
- export { ACTION_COLUMN_KEY, type Action, ActionBar, ActionBarContainer, type ActionBarContainerProps, type ActionBarProps, ActionCellFormatter, ActionCellRendererCell, ActionCellRendererGroup, ActionDropdownMenu, type ActionDropdownMenuProps, type ActionKeybinding, type ActionLayout, type ActionOrSeparator, ActivityIndicator, type ActivityIndicatorProps, type AuthenticatedUser, type AuthenticationController, type AuthenticationState, type AuthenticationStateListener, type BaseAction, type BaseModalFrameProps, type BaseWidgetDescriptor, BooleanCellEditRenderer, Breadcrumb, BreadcrumbBar, type BreadcrumbBarProps, BreadcrumbEllipsis, type BreadcrumbEllipsisProps, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, type BreadcrumbLinkProps, BreadcrumbList, type BreadcrumbListProps, BreadcrumbPage, type BreadcrumbPageProps, type BreadcrumbProps, BreadcrumbSeparator, type BreadcrumbSeparatorProps, Button, ButtonBar, type ButtonBarProps, ButtonGroup, type ButtonGroupProps, type ButtonProps, type CalculatedColumn, type CalculatedColumnOrColumnGroup, type CalculatedColumnParent, Callout, type CalloutProps, Card, CardAction, type CardActionProps, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, CellComponent as Cell, type CellCopyArgs, type CellEditLifecycle, type CellEditRendererProps, type CellEditRendererResult, type CellKeyDownArgs, type CellKeyboardEvent, type CellMouseArgs, type CellMouseEvent, type CellPasteArgs, type CellRendererProps, type CellSelectArgs, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, type CheckboxProps, ClientNetworkError, type ColSpanArgs, type Column, type ColumnGroup, type ColumnOrColumnGroup, type ColumnWidth, type ColumnWidths, type CommandAction, type CommandRegistry, ConnectedWidget, type ConnectedWidgetProps, type CreatePatchableColumnOptions, DEFAULT_LABEL_WIDTH, Dashboard, type DashboardDescriptor, type DashboardDragConfig, type DashboardGridConfig, type DashboardProps, DashboardRenderer, type DashboardRendererProps, type DashboardResizeConfig, DashboardWidget, type DashboardWidgetProps, DataGrid, DataGridCellPatchWrapper, type DataGridCellPatchWrapperProps, DataGridDefaultRenderersContext, type DataGridHandle, type DataGridProps, DataState, type DataStateProps, type DefaultColumnOptions, Dialog, type DialogProps, Dock, type DockProps, Drawer, type DrawerProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EnhancedPagination, type EnhancedPaginationProps, type ErrorListener, type ErrorPayload, type EventListener, type EventSource, type FieldHandlers, type FillEvent, type FilterFieldDescriptor, type FlatMenuItem, FormControl, type FormControlProps, FormFieldRenderer, type FormFieldRendererProps, FormValidationErrors, type FormValidationErrorsProps, type GlobalActionsConfig, type HandlerAction, HttpClient, type HttpRequestConfig, type HttpResponse, type IconComponent, type InlineCreateViewConfig, type InlineLookupConfig, type InlineResourceActionConfig, type InlineSearchViewConfig, type InlineViewConfig, type InlineViewViewConfig, type KeySequence, type Keybinding, type KeybindingState, type KpiWidgetDescriptor, Label, type LabelProps, EnhancedPagination as LegacyPagination, type LoginCompleteCredentials, type LoginCredentials, type LoginStartResponse, LookupSelect, LookupSelectFilter, type LookupSelectFilterProps, type LookupSelectProps, MAX_LABEL_WIDTH, MIN_LABEL_WIDTH, MainNav, type MainNavProps, type MarkdownCommand, MarkdownTextArea, type MarkdownTextAreaHandle, type MarkdownTextAreaProps, type MenuItem, MenuItemComponent, type MenuItemOrSeparator, Modal, type ModalAlignment, type ModalConfig, ModalFrame, type ModalFrameProps, ModalFrameSchemaForm, type ModalFrameSchemaFormProps, ModalFrameStructured, type ModalFrameStructuredProps, type ModalInstance, type ModalProps, ModalProvider, type ModalSize, ModalViewRenderer, type ModalViewRendererProps, NAVIGATE_COLUMN_KEY, NQL_LANGUAGE_ID, type NavItem, NavItems, NetworkError, type NetworkErrorOptions, type NotificationRule, type NotificationRules, NqlEditor, type NqlEditorProps, NubaseApp, type NubaseAppProps, type NubaseContextData, type NubaseEventMap, type NubaseEventType, type NubaseFrontendConfig, NumberCellEditRenderer, OverlayStack, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, type EnhancedPaginationProps as PaginationProps, type ParseErrorDetail, type ParsedKeybinding, type PatchResult, type PromiseResult, type PromiseToastCallback, type PromiseToastConfig, type PromiseToastOptions, type ProportionalChartVariant, type ProportionalWidgetDescriptor, type RelationshipFieldHandler, type RenderCellProps, type RenderCheckboxProps, type RenderEditCellProps, type RenderGroupCellProps, type RenderHeaderCellProps, type RenderRowProps, type RenderSortIconProps, type RenderSortPriorityProps, type RenderSortStatusProps, type RenderSummaryCellProps, type Renderers, type ResolvedMenuItem, type ResourceAction, type ResourceActionExecutionContext, type ResourceCreateView, ResourceCreateViewModalRenderer, type ResourceCreateViewModalRendererProps, ResourceCreateViewRenderer, type ResourceCreateViewRendererProps, type ResourceDescriptor, type ResourceEventPayload, type ResourceLink, type ResourceLookupConfig, type ResourceSearchView, ResourceSearchViewModalRenderer, type ResourceSearchViewModalRendererProps, ResourceSearchViewRenderer, type ResourceSearchViewRendererProps, ResourceViewHeader, type ResourceViewHeaderProps, type ResourceViewView, ResourceViewViewModalRenderer, type ResourceViewViewModalRendererProps, ResourceViewViewRenderer, type ResourceViewViewRendererProps, RowComponent as Row, type RowHeightArgs, type RowsChangeData, SELECT_COLUMN_KEY, SchemaFilterBar, type SchemaFilterBarProps, type SchemaFilterConfig, type SchemaFilterState, SchemaForm, SchemaFormBody, type SchemaFormBodyProps, SchemaFormButtonBar, type SchemaFormButtonBarProps, type SchemaFormConfiguration, SchemaFormLabelSplitter, type SchemaFormLayoutContextValue, SchemaFormLayoutProvider, type SchemaFormLayoutProviderProps, type SchemaFormProps, SchemaFormValidationErrors, type SchemaFormValidationErrorsProps, SearchBar, type SearchBarProps, SearchFilterBadge, type SearchFilterBadgeProps, SearchFilterBar, type SearchFilterBarProps, SearchFilterCheckIndicator, SearchFilterChevron, type SearchFilterChevronProps, SearchFilterDropdown, type SearchFilterDropdownProps, SearchTextInput, type SearchTextInputProps, SearchableTable, type SearchableTableProps, SearchableTreeNavigator, type SearchableTreeNavigatorProps, Select, SelectCellFormatter, type SelectCellOptions, SelectColumn, SelectFilter, type SelectFilterOption, type SelectFilterProps, type SelectHeaderRowEvent, type SelectOption, type SelectProps, type SelectRowEvent, type SelectionRange, type SeriesChartVariant, type SeriesWidgetDescriptor, ServerNetworkError, type SignupCredentials, type SortColumn, type SortDirection, type StandardViews, StringCellEditRenderer, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, type TableWidgetDescriptor, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsProps, TabsTrigger, type TabsTriggerProps, type TextController, TextFilter, type TextFilterProps, TextInput, type TextInputProps, type TextState, ThemeToggle, type ThemeToggleProps, Toast, ToastContainer, type ToastData, type ToastOptions, type ToastPosition, ToastProvider, type ToastType, Toggle, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupProps, type ToggleProps, TopBar, type TopBarProps, TreeDataGrid, type TreeDataGridProps, TreeNavigator, type TreeNavigatorProps, TypedApiClient, type TypedApiClientFromEndpoints, type TypedCommandDefinition, type UseDialogResult, type UseModalResult, type UseNubaseMutationOptions, type UseNubaseQueryOptions, type UseOverlaysResult, type UseSchemaFiltersOptions, type UseSchemaFiltersReturn, type UseSchemaFormOptions, UserAvatar, type UserAvatarProps, UserMenu, type UserMenuProps, type View, type ViewBase, type ViewType, Widget, type WidgetDescriptor, type WidgetLayoutConfig, type WidgetProps, type WorkspaceContext, type WorkspaceInfo, boldCommand, checkListCommand, checkboxVariants, cleanupKeybindings, codeBlockCommand, codeCommand, commandRegistry, index as commands, createActionColumn, createCommand, createCommandAction, createCreateView, createDashboard, createHandlerAction, createNavigateColumn, createPatchableColumn, createPatchableColumns, createResource, createResourceAction, createTypedApiClient, createViewFactory, createViewView, defaultKeybindings, defaultNotificationRules, defineCreateView, defineViewView, emitEvent, ensureNqlLanguageRegistered, eventManager, filterNavItems, flattenNavItems, getInitials, getLayout, getNetworkErrorMessage, getResourceLinkSearch, getWorkspaceFromRouter, groupActionsBySeparators, headingCommand, imageCommand, introspectSchemaForFilters, isClientNetworkError, isCommandAction, isHandlerAction, isNetworkError, isResourceLink, isServerNetworkError, italicCommand, keybindingManager, linkCommand, lookupSelectVariants, matchesKeySequence, normalizeEventKey, optionVariants, orderedListCommand, parseKeySequence, parseKeybinding, quoteCommand, registerKeybindings, registerNqlCompletionProvider, renderCheckbox, renderHeaderCell, renderSortIcon, renderSortPriority, renderToggleGroup, renderValue, renderCellEdit as resolveEditRenderer, resolveMenuItem, resolveMenuItems, resolveResourceLink, renderCellView as resolveViewRenderer, resourceLink, searchFilterBarClearButtonVariants, searchFilterBarInputVariants, searchFilterBarVariants, searchFilterContentVariants, searchFilterTriggerVariants, setGlobalEventEmitter, showPromiseToast, showToast, strikethroughCommand, textEditor, toggleThumbVariants, toggleVariants$1 as toggleVariants, unorderedListCommand, updateKeybindings, useActionExecutor, useChart, useComputedMetadata, useDebouncedValue, useDialog, useHeaderRowSelection, useLastDefined, useLayout, useModal, useNubaseMutation, useNubaseQuery, useOverlays, useResourceCreateMutation, useResourceDeleteMutation, useResourceInvalidation, useResourceSearchQuery, useResourceUpdateMutation, useResourceViewQuery, useRowSelection, useSchemaFilters, useSchemaForm, useSchemaFormLayout, useToast, useWorkspace, useWorkspaceOptional, workbenchOpenResourceOperation, workbenchOpenResourceOperationInModal, workbenchRunCommand, workbenchSetTheme, workbenchViewHistory };
4732
+ export { ACTION_COLUMN_KEY, type Action, ActionBar, ActionBarContainer, type ActionBarContainerProps, type ActionBarProps, ActionCellFormatter, ActionCellRendererCell, ActionCellRendererGroup, ActionDropdownMenu, type ActionDropdownMenuProps, type ActionKeybinding, type ActionLayout, type ActionOrSeparator, ActivityIndicator, type ActivityIndicatorProps, type AuthenticatedUser, type AuthenticationController, type AuthenticationState, type AuthenticationStateListener, type BaseAction, type BaseModalFrameProps, type BaseWidgetDescriptor, BooleanCellEditRenderer, Breadcrumb, BreadcrumbBar, type BreadcrumbBarProps, BreadcrumbEllipsis, type BreadcrumbEllipsisProps, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, type BreadcrumbLinkProps, BreadcrumbList, type BreadcrumbListProps, BreadcrumbPage, type BreadcrumbPageProps, type BreadcrumbProps, BreadcrumbSeparator, type BreadcrumbSeparatorProps, Button, ButtonBar, type ButtonBarProps, ButtonGroup, type ButtonGroupProps, type ButtonProps, type CalculatedColumn, type CalculatedColumnOrColumnGroup, type CalculatedColumnParent, Callout, type CalloutProps, Card, CardAction, type CardActionProps, CardContent, type CardContentProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, type CardProps, CardTitle, type CardTitleProps, CellComponent as Cell, type CellCopyArgs, type CellEditLifecycle, type CellEditRendererProps, type CellEditRendererResult, type CellKeyDownArgs, type CellKeyboardEvent, type CellMouseArgs, type CellMouseEvent, type CellPasteArgs, type CellRendererProps, type CellSelectArgs, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, type CheckboxProps, ClientNetworkError, type ColSpanArgs, type Column, type ColumnGroup, type ColumnOrColumnGroup, type ColumnWidth, type ColumnWidths, type CommandAction, type CommandRegistry, ConnectedWidget, type ConnectedWidgetProps, type CreatePatchableColumnOptions, DEFAULT_LABEL_WIDTH, Dashboard, type DashboardDescriptor, type DashboardDragConfig, type DashboardGridConfig, type DashboardProps, DashboardRenderer, type DashboardRendererProps, type DashboardResizeConfig, DashboardWidget, type DashboardWidgetProps, DataGrid, DataGridCellPatchWrapper, type DataGridCellPatchWrapperProps, DataGridDefaultRenderersContext, type DataGridHandle, type DataGridProps, DataState, type DataStateProps, type DefaultColumnOptions, Dialog, type DialogProps, Dock, type DockProps, Drawer, type DrawerProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EnhancedPagination, type EnhancedPaginationProps, type ErrorListener, type ErrorPayload, type EventListener, type EventSource, type FieldHandlers, type FillEvent, type FilterFieldDescriptor, type FlatMenuItem, FormControl, type FormControlProps, FormFieldRenderer, type FormFieldRendererProps, FormValidationErrors, type FormValidationErrorsProps, type GlobalActionsConfig, type HandlerAction, HttpClient, type HttpRequestConfig, type HttpResponse, type IconComponent, type InlineCreateViewConfig, type InlineLookupConfig, type InlineResourceActionConfig, type InlineSearchViewConfig, type InlineViewConfig, type InlineViewViewConfig, type KeySequence, type Keybinding, type KeybindingState, type KpiWidgetDescriptor, Label, type LabelProps, EnhancedPagination as LegacyPagination, type LoginCompleteCredentials, type LoginCredentials, type LoginStartResponse, LookupSelect, LookupSelectFilter, type LookupSelectFilterProps, type LookupSelectProps, MAX_LABEL_WIDTH, MIN_LABEL_WIDTH, MainNav, type MainNavProps, type MarkdownCommand, MarkdownTextArea, type MarkdownTextAreaHandle, type MarkdownTextAreaProps, type MenuItem, MenuItemComponent, type MenuItemOrSeparator, Modal, type ModalAlignment, type ModalConfig, ModalFrame, type ModalFrameProps, ModalFrameSchemaForm, type ModalFrameSchemaFormProps, ModalFrameStructured, type ModalFrameStructuredProps, type ModalInstance, type ModalProps, ModalProvider, type ModalSize, ModalViewRenderer, type ModalViewRendererProps, NAVIGATE_COLUMN_KEY, NQL_LANGUAGE_ID, type NavItem, NavItems, NetworkError, type NetworkErrorOptions, type NotificationRule, type NotificationRules, NqlEditor, type NqlEditorProps, NubaseApp, type NubaseAppProps, type NubaseContextData, type NubaseEventMap, type NubaseEventType, type NubaseFrontendConfig, NumberCellEditRenderer, OverlayStack, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, type EnhancedPaginationProps as PaginationProps, type ParseErrorDetail, type ParsedKeybinding, type PatchResult, type PromiseResult, type PromiseToastCallback, type PromiseToastConfig, type PromiseToastOptions, type ProportionalChartVariant, type ProportionalWidgetDescriptor, type RelationshipFieldHandler, type RenderCellProps, type RenderCheckboxProps, type RenderEditCellProps, type RenderGroupCellProps, type RenderHeaderCellProps, type RenderRowProps, type RenderSortIconProps, type RenderSortPriorityProps, type RenderSortStatusProps, type RenderSummaryCellProps, type Renderers, type ResolvedMenuItem, type ResourceAction, type ResourceActionExecutionContext, type ResourceCreateView, ResourceCreateViewModalRenderer, type ResourceCreateViewModalRendererProps, ResourceCreateViewRenderer, type ResourceCreateViewRendererProps, type ResourceDescriptor, type ResourceEventPayload, type ResourceLink, type ResourceLookupConfig, type ResourceSearchView, ResourceSearchViewModalRenderer, type ResourceSearchViewModalRendererProps, ResourceSearchViewRenderer, type ResourceSearchViewRendererProps, ResourceViewHeader, type ResourceViewHeaderProps, type ResourceViewView, ResourceViewViewModalRenderer, type ResourceViewViewModalRendererProps, ResourceViewViewRenderer, type ResourceViewViewRendererProps, RowComponent as Row, type RowHeightArgs, type RowsChangeData, SELECT_COLUMN_KEY, SchemaFilterBar, type SchemaFilterBarProps, type SchemaFilterConfig, type SchemaFilterState, SchemaForm, SchemaFormBody, type SchemaFormBodyProps, SchemaFormButtonBar, type SchemaFormButtonBarProps, type SchemaFormConfiguration, SchemaFormLabelSplitter, type SchemaFormLayoutContextValue, SchemaFormLayoutProvider, type SchemaFormLayoutProviderProps, type SchemaFormProps, SchemaFormValidationErrors, type SchemaFormValidationErrorsProps, SchemaTable, type SchemaTableProps, SearchBar, type SearchBarProps, SearchFilterBadge, type SearchFilterBadgeProps, SearchFilterBar, type SearchFilterBarProps, SearchFilterCheckIndicator, SearchFilterChevron, type SearchFilterChevronProps, SearchFilterDropdown, type SearchFilterDropdownProps, SearchTextInput, type SearchTextInputProps, SearchableTable, type SearchableTableProps, SearchableTreeNavigator, type SearchableTreeNavigatorProps, Select, SelectCellFormatter, type SelectCellOptions, SelectColumn, SelectFilter, type SelectFilterOption, type SelectFilterProps, type SelectHeaderRowEvent, type SelectOption, type SelectProps, type SelectRowEvent, type SelectionRange, type SeriesChartVariant, type SeriesWidgetDescriptor, ServerNetworkError, type SignupCredentials, type SortColumn, type SortDirection, type StandardViews, StringCellEditRenderer, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, type TableWidgetDescriptor, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsProps, TabsTrigger, type TabsTriggerProps, type TextController, TextFilter, type TextFilterProps, TextInput, type TextInputProps, type TextState, ThemeToggle, type ThemeToggleProps, Toast, ToastContainer, type ToastData, type ToastOptions, type ToastPosition, ToastProvider, type ToastType, Toggle, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupProps, type ToggleProps, TopBar, type TopBarProps, TreeDataGrid, type TreeDataGridProps, TreeNavigator, type TreeNavigatorProps, TypedApiClient, type TypedApiClientFromEndpoints, type TypedCommandDefinition, type UseDialogResult, type UseModalResult, type UseNubaseMutationOptions, type UseNubaseQueryOptions, type UseOverlaysResult, type UseSchemaFiltersOptions, type UseSchemaFiltersReturn, type UseSchemaFormOptions, UserAvatar, type UserAvatarProps, UserMenu, type UserMenuProps, type View, type ViewBase, type ViewType, Widget, type WidgetDescriptor, type WidgetLayoutConfig, type WidgetProps, type WorkspaceContext, type WorkspaceInfo, boldCommand, checkListCommand, checkboxVariants, cleanupKeybindings, codeBlockCommand, codeCommand, commandRegistry, index as commands, createActionColumn, createCommand, createCommandAction, createCreateView, createDashboard, createHandlerAction, createNavigateColumn, createPatchableColumn, createPatchableColumns, createResource, createResourceAction, createTypedApiClient, createViewFactory, createViewView, defaultKeybindings, defaultNotificationRules, defineCreateView, defineViewView, emitEvent, ensureNqlLanguageRegistered, eventManager, filterNavItems, flattenNavItems, getInitials, getLayout, getNetworkErrorMessage, getResourceLinkSearch, getWorkspaceFromRouter, groupActionsBySeparators, headingCommand, imageCommand, introspectSchemaForFilters, isClientNetworkError, isCommandAction, isHandlerAction, isNetworkError, isResourceLink, isServerNetworkError, italicCommand, keybindingManager, linkCommand, lookupSelectVariants, matchesKeySequence, normalizeEventKey, optionVariants, orderedListCommand, parseKeySequence, parseKeybinding, quoteCommand, registerKeybindings, registerNqlCompletionProvider, renderCheckbox, renderHeaderCell, renderSortIcon, renderSortPriority, renderToggleGroup, renderValue, renderCellEdit as resolveEditRenderer, resolveMenuItem, resolveMenuItems, resolveResourceLink, renderCellView as resolveViewRenderer, resourceLink, searchFilterBarClearButtonVariants, searchFilterBarInputVariants, searchFilterBarVariants, searchFilterContentVariants, searchFilterTriggerVariants, setGlobalEventEmitter, showPromiseToast, showToast, strikethroughCommand, textEditor, toggleThumbVariants, toggleVariants$1 as toggleVariants, unorderedListCommand, updateKeybindings, useActionExecutor, useChart, useComputedMetadata, useDebouncedValue, useDialog, useHeaderRowSelection, useLastDefined, useLayout, useModal, useNubaseMutation, useNubaseQuery, useOverlays, useResourceCreateMutation, useResourceDeleteMutation, useResourceInvalidation, useResourceSearchQuery, useResourceUpdateMutation, useResourceViewQuery, useRowSelection, useSchemaFilters, useSchemaForm, useSchemaFormLayout, useToast, useWorkspace, useWorkspaceOptional, workbenchOpenResourceOperation, workbenchOpenResourceOperationInDrawer, workbenchRunCommand, workbenchSetTheme, workbenchViewHistory };