@nubase/frontend 0.1.35 → 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.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +270 -44
- package/dist/index.d.ts +270 -44
- package/dist/index.js +13101 -12255
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +12185 -11353
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +152 -35
- package/package.json +25 -25
package/dist/index.d.ts
CHANGED
|
@@ -15,7 +15,9 @@ import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
|
15
15
|
import { ReactFormExtendedApi, AnyFieldApi } from '@tanstack/react-form';
|
|
16
16
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
17
17
|
import * as SwitchPrimitive from '@radix-ui/react-switch';
|
|
18
|
+
import * as monaco from 'monaco-editor';
|
|
18
19
|
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
20
|
+
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
19
21
|
import { ZodError } from 'zod';
|
|
20
22
|
|
|
21
23
|
/**
|
|
@@ -178,6 +180,7 @@ type ModalConfig = {
|
|
|
178
180
|
type ModalInstance = {
|
|
179
181
|
id: string;
|
|
180
182
|
config: ModalConfig;
|
|
183
|
+
open: boolean;
|
|
181
184
|
};
|
|
182
185
|
|
|
183
186
|
type DialogProps = {
|
|
@@ -285,6 +288,39 @@ interface UseComputedMetadataResult<TShape extends ObjectShape> {
|
|
|
285
288
|
*/
|
|
286
289
|
declare function useComputedMetadata<TShape extends ObjectShape>(schema: ObjectSchema<TShape>, formData: Partial<ObjectOutput<TShape>>, options?: UseComputedMetadataOptions): UseComputedMetadataResult<TShape>;
|
|
287
290
|
|
|
291
|
+
/**
|
|
292
|
+
* Returns a debounced copy of `value`: every change to `value` resets a
|
|
293
|
+
* timer, and the debounced result updates only after `delayMs` have
|
|
294
|
+
* elapsed without further changes.
|
|
295
|
+
*
|
|
296
|
+
* The component re-renders with `value` immediately (for live display)
|
|
297
|
+
* while the returned value lags, which is the usual pattern for
|
|
298
|
+
* "react-to-typing" APIs like search or query filters.
|
|
299
|
+
*
|
|
300
|
+
* @example
|
|
301
|
+
* ```ts
|
|
302
|
+
* const [query, setQuery] = useState("");
|
|
303
|
+
* const debouncedQuery = useDebouncedValue(query, 300);
|
|
304
|
+
* useEffect(() => { fetchResults(debouncedQuery); }, [debouncedQuery]);
|
|
305
|
+
* ```
|
|
306
|
+
*/
|
|
307
|
+
declare function useDebouncedValue<T>(value: T, delayMs: number): T;
|
|
308
|
+
|
|
309
|
+
/**
|
|
310
|
+
* "Sticky" value hook: returns `value` when it is defined, otherwise the
|
|
311
|
+
* most recent defined value this hook has seen. Useful when rendering
|
|
312
|
+
* data from a source that may transiently go `undefined` — e.g. a
|
|
313
|
+
* TanStack Query that errored out and dropped its `placeholderData` —
|
|
314
|
+
* and you'd rather show the last good snapshot than an empty state.
|
|
315
|
+
*
|
|
316
|
+
* @example
|
|
317
|
+
* ```ts
|
|
318
|
+
* const data = useLastDefined(response?.data) ?? [];
|
|
319
|
+
* // On error: keeps the last successful rows instead of flashing empty.
|
|
320
|
+
* ```
|
|
321
|
+
*/
|
|
322
|
+
declare function useLastDefined<T>(value: T | undefined | null): T | undefined;
|
|
323
|
+
|
|
288
324
|
/**
|
|
289
325
|
* Returns the form layout attached to the schema via `withFormLayout`. If
|
|
290
326
|
* none is attached, a default layout is built with all fields in a single
|
|
@@ -463,6 +499,19 @@ declare function useResourceViewQuery<TData = any>(resourceId: string, view: {
|
|
|
463
499
|
}) => Promise<HttpResponse<TData>>;
|
|
464
500
|
}, params?: Record<string, any>, options?: Omit<UseQueryOptions<HttpResponse<TData>>, "queryKey" | "queryFn">): _tanstack_react_query.UseQueryResult<HttpResponse<TData>, Error>;
|
|
465
501
|
|
|
502
|
+
type Overlay = {
|
|
503
|
+
resource: string;
|
|
504
|
+
operation: string;
|
|
505
|
+
params: Record<string, string>;
|
|
506
|
+
};
|
|
507
|
+
|
|
508
|
+
type UseOverlaysResult = {
|
|
509
|
+
overlay: Overlay | null;
|
|
510
|
+
openOverlay: (overlay: Overlay) => void;
|
|
511
|
+
closeOverlay: () => void;
|
|
512
|
+
};
|
|
513
|
+
declare function useOverlays(): UseOverlaysResult;
|
|
514
|
+
|
|
466
515
|
/**
|
|
467
516
|
* Describes how a schema field maps to a filter control.
|
|
468
517
|
*/
|
|
@@ -519,6 +568,14 @@ type UseSchemaFiltersReturn<TSchema extends ObjectSchema<any>> = {
|
|
|
519
568
|
setSearchValue: (value: string) => void;
|
|
520
569
|
/** Whether the schema supports global text search (has "q" field) */
|
|
521
570
|
hasTextSearch: boolean;
|
|
571
|
+
/** Whether the filter bar is in NQL mode (text DSL) or structured mode. */
|
|
572
|
+
nqlMode: boolean;
|
|
573
|
+
/** Toggle NQL mode on/off. Switching off clears the NQL value. */
|
|
574
|
+
setNqlMode: (enabled: boolean) => void;
|
|
575
|
+
/** Current NQL expression text (only meaningful when nqlMode is true). */
|
|
576
|
+
nqlValue: string;
|
|
577
|
+
/** Update the NQL expression text. */
|
|
578
|
+
setNqlValue: (value: string) => void;
|
|
522
579
|
};
|
|
523
580
|
/**
|
|
524
581
|
* Hook for managing schema-derived filter state.
|
|
@@ -557,6 +614,17 @@ interface SchemaFormBodyProps {
|
|
|
557
614
|
}
|
|
558
615
|
declare const SchemaFormBody: React__default.FC<SchemaFormBodyProps>;
|
|
559
616
|
|
|
617
|
+
type ModalFrameStructuredVariant = "card" | "drawer";
|
|
618
|
+
type ModalFrameStructuredProps = {
|
|
619
|
+
onClose?: () => void;
|
|
620
|
+
header?: ReactNode;
|
|
621
|
+
body?: ReactNode;
|
|
622
|
+
footer?: ReactNode;
|
|
623
|
+
className?: string;
|
|
624
|
+
variant?: ModalFrameStructuredVariant;
|
|
625
|
+
};
|
|
626
|
+
declare const ModalFrameStructured: FC<ModalFrameStructuredProps>;
|
|
627
|
+
|
|
560
628
|
type ModalFrameSchemaFormProps<TSchema extends ObjectSchema<any>> = {
|
|
561
629
|
onClose?: () => void;
|
|
562
630
|
title?: ReactNode;
|
|
@@ -565,17 +633,9 @@ type ModalFrameSchemaFormProps<TSchema extends ObjectSchema<any>> = {
|
|
|
565
633
|
submitText?: string;
|
|
566
634
|
renderCustomFooter?: (form: SchemaFormConfiguration<TSchema>) => ReactNode;
|
|
567
635
|
className?: string;
|
|
636
|
+
variant?: ModalFrameStructuredVariant;
|
|
568
637
|
};
|
|
569
|
-
declare const ModalFrameSchemaForm: <TSchema extends ObjectSchema<any>>({ onClose, title, form, schemaFormProps, submitText, renderCustomFooter, className, }: ModalFrameSchemaFormProps<TSchema>) => ReturnType<FC>;
|
|
570
|
-
|
|
571
|
-
type ModalFrameStructuredProps = {
|
|
572
|
-
onClose?: () => void;
|
|
573
|
-
header?: ReactNode;
|
|
574
|
-
body?: ReactNode;
|
|
575
|
-
footer?: ReactNode;
|
|
576
|
-
className?: string;
|
|
577
|
-
};
|
|
578
|
-
declare const ModalFrameStructured: FC<ModalFrameStructuredProps>;
|
|
638
|
+
declare const ModalFrameSchemaForm: <TSchema extends ObjectSchema<any>>({ onClose, title, form, schemaFormProps, submitText, renderCustomFooter, className, variant, }: ModalFrameSchemaFormProps<TSchema>) => ReturnType<FC>;
|
|
579
639
|
|
|
580
640
|
declare const ModalProvider: FC<{
|
|
581
641
|
children: ReactNode;
|
|
@@ -929,13 +989,22 @@ type ResourceCreateView<TSchema extends ObjectSchema<any> = ObjectSchema<any>, T
|
|
|
929
989
|
*/
|
|
930
990
|
type RelationshipFieldHandler<TParent = any, TApiEndpoints = any, TRow = any> = {
|
|
931
991
|
/**
|
|
932
|
-
* Loads the related rows for a
|
|
933
|
-
*
|
|
934
|
-
*
|
|
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.
|
|
935
1003
|
*/
|
|
936
1004
|
onSearch: (args: {
|
|
937
1005
|
parent: TParent;
|
|
938
1006
|
query: string;
|
|
1007
|
+
nql: string;
|
|
939
1008
|
context: NubaseContextData<TApiEndpoints>;
|
|
940
1009
|
}) => Promise<HttpResponse<TRow[]>>;
|
|
941
1010
|
};
|
|
@@ -1868,9 +1937,9 @@ declare const workbenchOpenResourceOperation: TypedCommandDefinition<_nubase_cor
|
|
|
1868
1937
|
operation: _nubase_core.OptionalSchema<_nubase_core.StringSchema>;
|
|
1869
1938
|
}, null>>>;
|
|
1870
1939
|
|
|
1871
|
-
declare const
|
|
1872
|
-
resourceId: _nubase_core.
|
|
1873
|
-
operation: _nubase_core.
|
|
1940
|
+
declare const workbenchOpenResourceOperationInDrawer: TypedCommandDefinition<_nubase_core.OptionalSchema<_nubase_core.ObjectSchema<{
|
|
1941
|
+
resourceId: _nubase_core.StringSchema;
|
|
1942
|
+
operation: _nubase_core.StringSchema;
|
|
1874
1943
|
}, null>>>;
|
|
1875
1944
|
|
|
1876
1945
|
declare const workbenchRunCommand: TypedCommandDefinition<_nubase_core.BaseSchema<any> | undefined>;
|
|
@@ -1888,12 +1957,12 @@ declare const workbenchViewHistory: TypedCommandDefinition<_nubase_core.BaseSche
|
|
|
1888
1957
|
*/
|
|
1889
1958
|
|
|
1890
1959
|
declare const index_workbenchOpenResourceOperation: typeof workbenchOpenResourceOperation;
|
|
1891
|
-
declare const
|
|
1960
|
+
declare const index_workbenchOpenResourceOperationInDrawer: typeof workbenchOpenResourceOperationInDrawer;
|
|
1892
1961
|
declare const index_workbenchRunCommand: typeof workbenchRunCommand;
|
|
1893
1962
|
declare const index_workbenchSetTheme: typeof workbenchSetTheme;
|
|
1894
1963
|
declare const index_workbenchViewHistory: typeof workbenchViewHistory;
|
|
1895
1964
|
declare namespace index {
|
|
1896
|
-
export { index_workbenchOpenResourceOperation as workbenchOpenResourceOperation,
|
|
1965
|
+
export { index_workbenchOpenResourceOperation as workbenchOpenResourceOperation, index_workbenchOpenResourceOperationInDrawer as workbenchOpenResourceOperationInDrawer, index_workbenchRunCommand as workbenchRunCommand, index_workbenchSetTheme as workbenchSetTheme, index_workbenchViewHistory as workbenchViewHistory };
|
|
1897
1966
|
}
|
|
1898
1967
|
|
|
1899
1968
|
declare const activityIndicatorVariants: (props?: ({
|
|
@@ -1929,6 +1998,14 @@ interface ButtonBarProps extends React__default.HTMLAttributes<HTMLDivElement>,
|
|
|
1929
1998
|
}
|
|
1930
1999
|
declare const ButtonBar: React__default.ForwardRefExoticComponent<ButtonBarProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
1931
2000
|
|
|
2001
|
+
type ButtonGroupProps = React__default.HTMLAttributes<HTMLDivElement>;
|
|
2002
|
+
/**
|
|
2003
|
+
* Groups Buttons (or any interactive elements) into a single visually-joined
|
|
2004
|
+
* unit: inner borders collapse, outer corners stay rounded. Inspired by the
|
|
2005
|
+
* shadcn/ui button-group primitive.
|
|
2006
|
+
*/
|
|
2007
|
+
declare const ButtonGroup: React__default.ForwardRefExoticComponent<ButtonGroupProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
2008
|
+
|
|
1932
2009
|
declare const calloutVariants: (props?: ({
|
|
1933
2010
|
variant?: "info" | "danger" | null | undefined;
|
|
1934
2011
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
@@ -2574,7 +2651,6 @@ declare function ActionCellRendererGroup<R>(_props: RenderGroupCellProps<R> & {
|
|
|
2574
2651
|
declare function renderCheckbox({ onChange, indeterminate, ...props }: RenderCheckboxProps): react_jsx_runtime.JSX.Element;
|
|
2575
2652
|
|
|
2576
2653
|
declare function renderToggleGroup<R, SR>(props: RenderGroupCellProps<R, SR>): react_jsx_runtime.JSX.Element;
|
|
2577
|
-
declare function ToggleGroup<R, SR>({ groupKey, isExpanded, tabIndex, toggleGroup, }: RenderGroupCellProps<R, SR>): react_jsx_runtime.JSX.Element;
|
|
2578
2654
|
|
|
2579
2655
|
declare function renderValue<R, SR>(props: RenderCellProps<R, SR>): React$1.ReactNode;
|
|
2580
2656
|
|
|
@@ -2852,6 +2928,16 @@ interface ThemeToggleProps {
|
|
|
2852
2928
|
}
|
|
2853
2929
|
declare const ThemeToggle: ({ className }: ThemeToggleProps) => react_jsx_runtime.JSX.Element;
|
|
2854
2930
|
|
|
2931
|
+
type DrawerProps = {
|
|
2932
|
+
open: boolean;
|
|
2933
|
+
onClose: () => void;
|
|
2934
|
+
content: ReactNode;
|
|
2935
|
+
/** Optional content rendered at the top of the drawer (e.g. a command bar). */
|
|
2936
|
+
header?: ReactNode;
|
|
2937
|
+
zIndex?: number;
|
|
2938
|
+
};
|
|
2939
|
+
declare const Drawer: FC<DrawerProps>;
|
|
2940
|
+
|
|
2855
2941
|
interface ToastProps {
|
|
2856
2942
|
toast: ToastData;
|
|
2857
2943
|
onClose: () => void;
|
|
@@ -2936,7 +3022,8 @@ type SchemaFormValidationErrorsProps = {
|
|
|
2936
3022
|
declare const SchemaFormValidationErrors: React__default.FC<SchemaFormValidationErrorsProps>;
|
|
2937
3023
|
|
|
2938
3024
|
declare const buttonVariants: (props?: ({
|
|
2939
|
-
variant?: "secondary" | "default" | "destructive" | null | undefined;
|
|
3025
|
+
variant?: "secondary" | "default" | "destructive" | "outline" | "ghost" | null | undefined;
|
|
3026
|
+
size?: "sm" | "default" | "icon" | "icon-sm" | null | undefined;
|
|
2940
3027
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2941
3028
|
interface ButtonProps extends React__default.ComponentProps<"button">, VariantProps<typeof buttonVariants> {
|
|
2942
3029
|
asChild?: boolean;
|
|
@@ -3093,9 +3180,9 @@ interface TextInputProps extends Omit<React__default.ComponentProps<"input">, "s
|
|
|
3093
3180
|
}
|
|
3094
3181
|
declare const TextInput: React__default.ForwardRefExoticComponent<Omit<TextInputProps, "ref"> & React__default.RefAttributes<HTMLInputElement>>;
|
|
3095
3182
|
|
|
3096
|
-
declare const toggleVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
3183
|
+
declare const toggleVariants$1: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
3097
3184
|
declare const toggleThumbVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
3098
|
-
interface ToggleProps extends React$1.ComponentProps<typeof SwitchPrimitive.Root>, VariantProps<typeof toggleVariants> {
|
|
3185
|
+
interface ToggleProps extends React$1.ComponentProps<typeof SwitchPrimitive.Root>, VariantProps<typeof toggleVariants$1> {
|
|
3099
3186
|
hasError?: boolean;
|
|
3100
3187
|
}
|
|
3101
3188
|
declare const Toggle: React$1.ForwardRefExoticComponent<Omit<ToggleProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
@@ -3221,15 +3308,6 @@ declare const flattenNavItems: (items: NavItem[], level?: number) => (NavItem &
|
|
|
3221
3308
|
})[];
|
|
3222
3309
|
declare const filterNavItems: (items: NavItem[], query: string) => NavItem[];
|
|
3223
3310
|
|
|
3224
|
-
type ControllableSearchableTreeProps = {
|
|
3225
|
-
items: MenuItem[];
|
|
3226
|
-
placeHolder: string;
|
|
3227
|
-
height?: "full" | number | string;
|
|
3228
|
-
selectedItemId: string;
|
|
3229
|
-
onSelectionChange: (itemId: string) => void;
|
|
3230
|
-
};
|
|
3231
|
-
declare const ControllableSearchableTree: React$1.ForwardRefExoticComponent<ControllableSearchableTreeProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
3232
|
-
|
|
3233
3311
|
type SearchableTreeNavigatorProps = {
|
|
3234
3312
|
items: MenuItem[];
|
|
3235
3313
|
placeHolder: string;
|
|
@@ -3258,10 +3336,6 @@ interface MenuItemComponentProps {
|
|
|
3258
3336
|
"data-testid"?: string;
|
|
3259
3337
|
}
|
|
3260
3338
|
declare const MenuItemComponent: ({ item, isSelected, onToggleExpanded, itemRef, "data-testid": testId, }: MenuItemComponentProps) => react_jsx_runtime.JSX.Element;
|
|
3261
|
-
/** @deprecated Use MenuItem from '../../menu/types' instead */
|
|
3262
|
-
type TreeNavigatorItem = MenuItem;
|
|
3263
|
-
/** @deprecated Use FlatMenuItem instead */
|
|
3264
|
-
type FlatItem = FlatMenuItem;
|
|
3265
3339
|
|
|
3266
3340
|
interface TreeNavigatorProps {
|
|
3267
3341
|
items: MenuItem[];
|
|
@@ -3272,17 +3346,53 @@ interface TreeNavigatorProps {
|
|
|
3272
3346
|
"data-testid"?: string;
|
|
3273
3347
|
}
|
|
3274
3348
|
declare const TreeNavigator: ({ items, searchInputRef, "data-testid": testId, }: TreeNavigatorProps) => react_jsx_runtime.JSX.Element;
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
/**
|
|
3278
|
-
|
|
3279
|
-
|
|
3349
|
+
|
|
3350
|
+
interface NqlEditorProps {
|
|
3351
|
+
/** The schema that defines which fields are queryable. */
|
|
3352
|
+
schema: ObjectSchema<any>;
|
|
3353
|
+
/** Current NQL source value. */
|
|
3354
|
+
value: string;
|
|
3355
|
+
/** Called on every content change. */
|
|
3356
|
+
onChange: (value: string) => void;
|
|
3357
|
+
/** Optional error message shown below the editor (e.g. from backend 400). */
|
|
3358
|
+
errorMessage?: string;
|
|
3359
|
+
/** Placeholder-like hint text when value is empty. */
|
|
3360
|
+
placeholder?: string;
|
|
3361
|
+
/** Extra classes for the outer container. */
|
|
3362
|
+
className?: string;
|
|
3363
|
+
}
|
|
3364
|
+
/**
|
|
3365
|
+
* Monaco-backed NQL input. Mounts Monaco imperatively (no `react-monaco-editor`)
|
|
3366
|
+
* so that `import * as monaco from "monaco-editor"` actually loads the full
|
|
3367
|
+
* editor bundle with the suggest and snippet controllers, and our schema-driven
|
|
3368
|
+
* completion provider is attached to the exact same Monaco instance the
|
|
3369
|
+
* editor is created from.
|
|
3370
|
+
*/
|
|
3371
|
+
declare function NqlEditor({ schema, value, onChange, errorMessage, placeholder, className, }: NqlEditorProps): react_jsx_runtime.JSX.Element;
|
|
3372
|
+
declare namespace NqlEditor {
|
|
3373
|
+
var displayName: string;
|
|
3374
|
+
}
|
|
3375
|
+
|
|
3376
|
+
declare const NQL_LANGUAGE_ID = "nql";
|
|
3377
|
+
/**
|
|
3378
|
+
* Register the NQL language (tokens provider, bracket config) with Monaco.
|
|
3379
|
+
* Safe to call multiple times — only the first call has effect.
|
|
3380
|
+
*/
|
|
3381
|
+
declare function ensureNqlLanguageRegistered(): void;
|
|
3382
|
+
/**
|
|
3383
|
+
* Register a completion provider that offers schema-driven field
|
|
3384
|
+
* suggestions plus NQL keyword snippets. Returns a disposable; call
|
|
3385
|
+
* `.dispose()` when the consuming editor unmounts.
|
|
3386
|
+
*/
|
|
3387
|
+
declare function registerNqlCompletionProvider(schema: ObjectSchema<any>): monaco.IDisposable;
|
|
3280
3388
|
|
|
3281
3389
|
type NubaseAppProps = {
|
|
3282
3390
|
config: NubaseFrontendConfig;
|
|
3283
3391
|
};
|
|
3284
3392
|
declare const NubaseApp: FC<NubaseAppProps>;
|
|
3285
3393
|
|
|
3394
|
+
declare const OverlayStack: FC;
|
|
3395
|
+
|
|
3286
3396
|
/**
|
|
3287
3397
|
* Introspects an ObjectSchema and returns filter descriptors for each field.
|
|
3288
3398
|
*
|
|
@@ -3302,6 +3412,8 @@ declare const NubaseApp: FC<NubaseAppProps>;
|
|
|
3302
3412
|
declare function introspectSchemaForFilters<TSchema extends ObjectSchema<any>>(schema: TSchema, config?: SchemaFilterConfig): FilterFieldDescriptor[];
|
|
3303
3413
|
|
|
3304
3414
|
type SchemaFilterBarProps<TSchema extends ObjectSchema<any>> = {
|
|
3415
|
+
/** The schema the filter bar is driven by. Used for NQL field completion. */
|
|
3416
|
+
schema?: TSchema;
|
|
3305
3417
|
/** Filter field descriptors from introspection */
|
|
3306
3418
|
filterDescriptors: FilterFieldDescriptor[];
|
|
3307
3419
|
/** Current filter state */
|
|
@@ -3324,6 +3436,41 @@ type SchemaFilterBarProps<TSchema extends ObjectSchema<any>> = {
|
|
|
3324
3436
|
disabled?: boolean;
|
|
3325
3437
|
/** Additional className for the container */
|
|
3326
3438
|
className?: string;
|
|
3439
|
+
/**
|
|
3440
|
+
* NQL mode toggle state. When `true`, the structured filter controls are
|
|
3441
|
+
* hidden and an NQL text editor is shown in their place. When `false`
|
|
3442
|
+
* (default), the structured controls behave as before and the NQL input
|
|
3443
|
+
* is not rendered.
|
|
3444
|
+
*/
|
|
3445
|
+
nqlMode?: boolean;
|
|
3446
|
+
/** Called when the user flips the NQL/Filters toggle. */
|
|
3447
|
+
onNqlModeChange?: (enabled: boolean) => void;
|
|
3448
|
+
/** Current NQL expression text (only used when nqlMode is true). */
|
|
3449
|
+
nqlValue?: string;
|
|
3450
|
+
/** Called on every NQL text change. */
|
|
3451
|
+
onNqlValueChange?: (value: string) => void;
|
|
3452
|
+
/**
|
|
3453
|
+
* Inline error message shown under the NQL input. Typically populated
|
|
3454
|
+
* from a 400 response from the backend's NQL compiler.
|
|
3455
|
+
*/
|
|
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";
|
|
3327
3474
|
};
|
|
3328
3475
|
/**
|
|
3329
3476
|
* Renders a filter bar based on schema-derived filter descriptors.
|
|
@@ -3341,7 +3488,7 @@ type SchemaFilterBarProps<TSchema extends ObjectSchema<any>> = {
|
|
|
3341
3488
|
* />
|
|
3342
3489
|
* ```
|
|
3343
3490
|
*/
|
|
3344
|
-
declare function SchemaFilterBar<TSchema extends ObjectSchema<any>>({ filterDescriptors, filterState, onFilterChange, searchValue, onSearchChange, searchPlaceholder, onClearFilters, showClearFilters, searchDebounceMs, disabled, className, }: 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;
|
|
3345
3492
|
declare namespace SchemaFilterBar {
|
|
3346
3493
|
var displayName: string;
|
|
3347
3494
|
}
|
|
@@ -3382,8 +3529,21 @@ type SearchFilterBarProps = {
|
|
|
3382
3529
|
searchPlaceholder?: string;
|
|
3383
3530
|
/** Width of the search input */
|
|
3384
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;
|
|
3385
3539
|
/** Debounce delay in ms for search input (default: 300, set to 0 to disable) */
|
|
3386
3540
|
searchDebounceMs?: number;
|
|
3541
|
+
/**
|
|
3542
|
+
* Content rendered before the search input, inside the same flex-wrap
|
|
3543
|
+
* container so everything reflows as one row when the viewport narrows.
|
|
3544
|
+
* Useful for mode toggles that should sit at the leading edge.
|
|
3545
|
+
*/
|
|
3546
|
+
leading?: React$1.ReactNode;
|
|
3387
3547
|
/** Filter components to render between search and clear button */
|
|
3388
3548
|
children?: React$1.ReactNode;
|
|
3389
3549
|
/** Callback when clear filters is clicked */
|
|
@@ -3499,6 +3659,29 @@ type TextFilterProps = {
|
|
|
3499
3659
|
};
|
|
3500
3660
|
declare const TextFilter: React$1.ForwardRefExoticComponent<TextFilterProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
3501
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
|
+
|
|
3502
3685
|
type SearchableTableProps<TRow extends Record<string, any>> = {
|
|
3503
3686
|
/** Object schema describing the row shape. Used to derive columns from its `default` (or `table`) layout. */
|
|
3504
3687
|
schema: ObjectSchema<any>;
|
|
@@ -3514,14 +3697,14 @@ type SearchableTableProps<TRow extends Record<string, any>> = {
|
|
|
3514
3697
|
onRowClick?: (row: TRow) => void;
|
|
3515
3698
|
/** Placeholder for the search input. */
|
|
3516
3699
|
searchPlaceholder?: string;
|
|
3517
|
-
/** Debounce delay for the search input in ms. Defaults to
|
|
3700
|
+
/** Debounce delay for the search input in ms. Defaults to 300. */
|
|
3518
3701
|
searchDebounceMs?: number;
|
|
3519
3702
|
/** Additional className for the container. */
|
|
3520
3703
|
className?: string;
|
|
3521
3704
|
};
|
|
3522
3705
|
/**
|
|
3523
3706
|
* A general-purpose searchable table: a debounced text-search input above a
|
|
3524
|
-
* `
|
|
3707
|
+
* `SchemaTable`. Columns are derived from the schema's table layout.
|
|
3525
3708
|
*
|
|
3526
3709
|
* Search is controlled by the parent — `onSearchChange` is called with the
|
|
3527
3710
|
* (debounced) query string and the parent decides how to fetch / filter rows.
|
|
@@ -3569,6 +3752,16 @@ declare function TabsTrigger({ className, ...props }: TabsTriggerProps): react_j
|
|
|
3569
3752
|
type TabsContentProps = React$1.ComponentProps<typeof TabsPrimitive.Content>;
|
|
3570
3753
|
declare function TabsContent({ className, ...props }: TabsContentProps): react_jsx_runtime.JSX.Element;
|
|
3571
3754
|
|
|
3755
|
+
declare const toggleVariants: (props?: ({
|
|
3756
|
+
variant?: "default" | "outline" | null | undefined;
|
|
3757
|
+
size?: "sm" | "lg" | "default" | null | undefined;
|
|
3758
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
3759
|
+
|
|
3760
|
+
type ToggleGroupProps = React$1.ComponentProps<typeof ToggleGroupPrimitive.Root> & VariantProps<typeof toggleVariants>;
|
|
3761
|
+
declare function ToggleGroup({ className, variant, size, children, ...props }: ToggleGroupProps): react_jsx_runtime.JSX.Element;
|
|
3762
|
+
type ToggleGroupItemProps = React$1.ComponentProps<typeof ToggleGroupPrimitive.Item> & VariantProps<typeof toggleVariants>;
|
|
3763
|
+
declare function ToggleGroupItem({ className, children, variant, size, ...props }: ToggleGroupItemProps): react_jsx_runtime.JSX.Element;
|
|
3764
|
+
|
|
3572
3765
|
interface SearchBarProps extends Omit<React__default.ComponentProps<"button">, "onClick"> {
|
|
3573
3766
|
context: NubaseContextData;
|
|
3574
3767
|
placeholder?: string;
|
|
@@ -3624,6 +3817,20 @@ interface UserMenuProps {
|
|
|
3624
3817
|
*/
|
|
3625
3818
|
declare function UserMenu({ name, email, onSignOut, className }: UserMenuProps): react_jsx_runtime.JSX.Element;
|
|
3626
3819
|
|
|
3820
|
+
type ResourceViewHeaderProps = {
|
|
3821
|
+
title: string;
|
|
3822
|
+
breadcrumbs?: BreadcrumbDefinition;
|
|
3823
|
+
context: NubaseContextData;
|
|
3824
|
+
params?: Record<string, any>;
|
|
3825
|
+
data?: unknown;
|
|
3826
|
+
};
|
|
3827
|
+
/**
|
|
3828
|
+
* Single source of truth for a resource view's header (breadcrumbs + title).
|
|
3829
|
+
* Rendered at the top of every resource view body so the full-page, overlay
|
|
3830
|
+
* drawer, and modal variants all look identical.
|
|
3831
|
+
*/
|
|
3832
|
+
declare const ResourceViewHeader: FC<ResourceViewHeaderProps>;
|
|
3833
|
+
|
|
3627
3834
|
type ModalViewRendererProps = {
|
|
3628
3835
|
view: View;
|
|
3629
3836
|
context: NubaseContextData;
|
|
@@ -3632,6 +3839,7 @@ type ModalViewRendererProps = {
|
|
|
3632
3839
|
onClose?: () => void;
|
|
3633
3840
|
onRowClick?: (row: any) => void;
|
|
3634
3841
|
onError?: (error: Error) => void;
|
|
3842
|
+
frameVariant?: ModalFrameStructuredVariant;
|
|
3635
3843
|
};
|
|
3636
3844
|
declare const ModalViewRenderer: FC<ModalViewRendererProps>;
|
|
3637
3845
|
|
|
@@ -3642,7 +3850,13 @@ type ResourceCreateViewModalRendererProps = {
|
|
|
3642
3850
|
onClose?: () => void;
|
|
3643
3851
|
onCreate?: (data: ObjectOutput<any>) => void;
|
|
3644
3852
|
onError?: (error: Error) => void;
|
|
3853
|
+
frameVariant?: ModalFrameStructuredVariant;
|
|
3645
3854
|
};
|
|
3855
|
+
/**
|
|
3856
|
+
* Thin wrapper that renders the shared ResourceCreateViewRenderer inside a
|
|
3857
|
+
* ModalFrameStructured. The renderer provides its own header (title +
|
|
3858
|
+
* breadcrumbs) so this wrapper only supplies chrome.
|
|
3859
|
+
*/
|
|
3646
3860
|
declare const ResourceCreateViewModalRenderer: FC<ResourceCreateViewModalRendererProps>;
|
|
3647
3861
|
|
|
3648
3862
|
type ResourceSearchViewModalRendererProps = {
|
|
@@ -3653,7 +3867,13 @@ type ResourceSearchViewModalRendererProps = {
|
|
|
3653
3867
|
onClose?: () => void;
|
|
3654
3868
|
onRowClick?: (row: any) => void;
|
|
3655
3869
|
onError?: (error: Error) => void;
|
|
3870
|
+
frameVariant?: ModalFrameStructuredVariant;
|
|
3656
3871
|
};
|
|
3872
|
+
/**
|
|
3873
|
+
* Thin wrapper that renders the shared ResourceSearchViewRenderer inside a
|
|
3874
|
+
* ModalFrameStructured. The renderer provides its own header (title +
|
|
3875
|
+
* breadcrumbs) so this wrapper only supplies chrome.
|
|
3876
|
+
*/
|
|
3657
3877
|
declare const ResourceSearchViewModalRenderer: FC<ResourceSearchViewModalRendererProps>;
|
|
3658
3878
|
|
|
3659
3879
|
type ResourceViewViewModalRendererProps = {
|
|
@@ -3664,7 +3884,13 @@ type ResourceViewViewModalRendererProps = {
|
|
|
3664
3884
|
onClose?: () => void;
|
|
3665
3885
|
onPatch?: (data: ObjectOutput<any>) => void;
|
|
3666
3886
|
onError?: (error: Error) => void;
|
|
3887
|
+
frameVariant?: ModalFrameStructuredVariant;
|
|
3667
3888
|
};
|
|
3889
|
+
/**
|
|
3890
|
+
* Thin wrapper that renders the shared ResourceViewViewRenderer inside a
|
|
3891
|
+
* ModalFrameStructured. The renderer provides its own header (title +
|
|
3892
|
+
* breadcrumbs) so this wrapper only supplies chrome.
|
|
3893
|
+
*/
|
|
3668
3894
|
declare const ResourceViewViewModalRenderer: FC<ResourceViewViewModalRendererProps>;
|
|
3669
3895
|
|
|
3670
3896
|
type ResourceCreateViewRendererProps = {
|
|
@@ -4503,4 +4729,4 @@ declare function isServerNetworkError(error: unknown): error is ServerNetworkErr
|
|
|
4503
4729
|
*/
|
|
4504
4730
|
declare function getNetworkErrorMessage(error: unknown): string;
|
|
4505
4731
|
|
|
4506
|
-
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, 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, ControllableSearchableTree, type ControllableSearchableTreeProps, 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, 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 FlatItem, 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, ListNavigator, type ListNavigatorItem, type ListNavigatorProps, 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, type NavItem, NavItems, NetworkError, type NetworkErrorOptions, type NotificationRule, type NotificationRules, NubaseApp, type NubaseAppProps, type NubaseContextData, type NubaseEventMap, type NubaseEventType, type NubaseFrontendConfig, NumberCellEditRenderer, 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, 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, type ToggleProps, TopBar, type TopBarProps, TreeDataGrid, type TreeDataGridProps, TreeNavigator, type TreeNavigatorItem, type TreeNavigatorProps, TypedApiClient, type TypedApiClientFromEndpoints, type TypedCommandDefinition, type UseDialogResult, type UseModalResult, type UseNubaseMutationOptions, type UseNubaseQueryOptions, 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, 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, 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, unorderedListCommand, updateKeybindings, useActionExecutor, useChart, useComputedMetadata, useDialog, useHeaderRowSelection, useLayout, useModal, useNubaseMutation, useNubaseQuery, 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 };
|