@homebound/beam 3.85.1 → 3.86.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +996 -943
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +387 -370
- package/dist/index.d.ts +387 -370
- package/dist/index.js +888 -837
- package/dist/index.js.map +1 -1
- package/dist/truss.css +2 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -7177,129 +7177,414 @@ interface AccordionListProps {
|
|
|
7177
7177
|
}
|
|
7178
7178
|
declare function AccordionList(props: AccordionListProps): JSX.Element;
|
|
7179
7179
|
|
|
7180
|
-
|
|
7181
|
-
|
|
7182
|
-
|
|
7183
|
-
|
|
7184
|
-
|
|
7185
|
-
xss?: X;
|
|
7186
|
-
};
|
|
7187
|
-
/** An indeterminate loading indicator for AI-driven work. */
|
|
7188
|
-
declare function AiLoader<X extends Only<Xss<Margin>, X>>(props: AiLoaderProps<X>): JSX.Element;
|
|
7180
|
+
interface GridTableCollapseToggleProps extends Pick<IconButtonProps, "compact"> {
|
|
7181
|
+
row: GridDataRow<any>;
|
|
7182
|
+
}
|
|
7183
|
+
/** Provides a chevron icons to collapse/un-collapse for parent/child tables. */
|
|
7184
|
+
declare function CollapseToggle(props: GridTableCollapseToggleProps): JSX.Element | null;
|
|
7189
7185
|
|
|
7190
|
-
type
|
|
7191
|
-
|
|
7192
|
-
|
|
7186
|
+
type EditColumnsButtonProps<R extends Kinded> = {
|
|
7187
|
+
columns: GridColumn<R>[];
|
|
7188
|
+
api: GridTableApi<R>;
|
|
7189
|
+
defaultOpen?: boolean;
|
|
7190
|
+
} & Pick<OverlayTriggerProps, "placement" | "disabled" | "tooltip">;
|
|
7191
|
+
declare function EditColumnsButton<R extends Kinded>(props: EditColumnsButtonProps<R>): JSX.Element;
|
|
7192
|
+
|
|
7193
|
+
type PinToggleProps = {
|
|
7194
|
+
rowId: string;
|
|
7193
7195
|
};
|
|
7194
7196
|
/**
|
|
7195
|
-
*
|
|
7197
|
+
* Provides a pin icon to pin/unpin a row to the top of the table at runtime.
|
|
7196
7198
|
*
|
|
7197
|
-
*
|
|
7199
|
+
* The pinned row is hoisted into a sticky pinned section that stays visible while the body scrolls.
|
|
7198
7200
|
*/
|
|
7199
|
-
declare function
|
|
7201
|
+
declare function PinToggle({ rowId }: PinToggleProps): JSX.Element;
|
|
7200
7202
|
|
|
7201
|
-
|
|
7202
|
-
|
|
7203
|
-
|
|
7204
|
-
|
|
7205
|
-
|
|
7206
|
-
|
|
7207
|
-
|
|
7208
|
-
|
|
7203
|
+
interface SelectToggleProps {
|
|
7204
|
+
id: string;
|
|
7205
|
+
disabled?: boolean | ReactNode;
|
|
7206
|
+
}
|
|
7207
|
+
/** Provides a checkbox to show/drive this row's selected state. */
|
|
7208
|
+
declare function SelectToggle({ id, disabled }: SelectToggleProps): JSX.Element;
|
|
7209
|
+
|
|
7210
|
+
type SortHeaderProps = {
|
|
7211
|
+
content: string;
|
|
7212
|
+
xss?: Properties;
|
|
7213
|
+
iconOnLeft?: boolean;
|
|
7214
|
+
sortKey: string;
|
|
7215
|
+
tooltipEl?: ReactNode;
|
|
7209
7216
|
};
|
|
7210
7217
|
/**
|
|
7211
|
-
*
|
|
7212
|
-
* needs.
|
|
7218
|
+
* Wraps column header names with up/down sorting icons.
|
|
7213
7219
|
*
|
|
7214
|
-
*
|
|
7220
|
+
* GridTable will use this automatically if the header content is just a text string.
|
|
7221
|
+
*
|
|
7222
|
+
* Alternatively, callers can also:
|
|
7223
|
+
*
|
|
7224
|
+
* - Instantiate this SortHeader directly with some customizations in `xss`, or
|
|
7225
|
+
* - Write their own component that uses `GridSortContext` to access the column's
|
|
7226
|
+
* current sort state + `toggleSort` function
|
|
7215
7227
|
*/
|
|
7216
|
-
declare function
|
|
7228
|
+
declare function SortHeader(props: SortHeaderProps): JSX.Element;
|
|
7217
7229
|
|
|
7218
|
-
|
|
7219
|
-
type
|
|
7220
|
-
|
|
7230
|
+
type TableView = "list" | "card";
|
|
7231
|
+
type ViewToggleButtonProps = {
|
|
7232
|
+
view: TableView;
|
|
7233
|
+
onChange: (view: TableView) => void;
|
|
7234
|
+
defaultOpen?: boolean;
|
|
7221
7235
|
};
|
|
7236
|
+
declare function ViewToggleButton({ view, onChange, defaultOpen }: ViewToggleButtonProps): JSX.Element;
|
|
7237
|
+
|
|
7222
7238
|
/**
|
|
7223
|
-
*
|
|
7224
|
-
*
|
|
7225
|
-
*
|
|
7226
|
-
|
|
7227
|
-
|
|
7228
|
-
|
|
7229
|
-
|
|
7230
|
-
|
|
7231
|
-
|
|
7232
|
-
|
|
7233
|
-
|
|
7234
|
-
*
|
|
7235
|
-
*
|
|
7239
|
+
* Calculates an array of sizes for each of our columns.
|
|
7240
|
+
*
|
|
7241
|
+
* We originally supported CSS grid-template-column definitions which allowed fancier,
|
|
7242
|
+
* dynamic/content-based widths, but have eventually dropped it mainly due to:
|
|
7243
|
+
*
|
|
7244
|
+
* 1. In virtual tables, a) the table never has all of the rows in DOM at a single time,
|
|
7245
|
+
* so any "content-based" widths will change as you scroll the table, which is weird, and
|
|
7246
|
+
* b) a sticky header and rows are put in different DOM parent elements by react-virtuoso,
|
|
7247
|
+
* so wouldn't arrive at the same "content-based" widths.
|
|
7248
|
+
*
|
|
7249
|
+
* 2. Using CSS grid but still have a row-level div for hover/focus targeting required
|
|
7250
|
+
* a "fake" `display: contents` div that couldn't have actually any styles applied to it.
|
|
7251
|
+
*
|
|
7252
|
+
* So we've just got with essentially fixed/deterministic widths, i.e. `px` or `percent` or
|
|
7253
|
+
* `fr`.
|
|
7254
|
+
*
|
|
7255
|
+
* Disclaimer that we roll our own `fr` b/c we're not in CSS grid anymore.
|
|
7236
7256
|
*/
|
|
7237
|
-
|
|
7238
|
-
|
|
7239
|
-
|
|
7240
|
-
|
|
7241
|
-
|
|
7257
|
+
declare function useSetupColumnSizes<R extends Kinded>(style: GridStyle, columns: GridColumnWithId<R>[], resizeRef: MutableRefObject<HTMLElement | null>, expandedColumnIds: string[], visibleColumnsStorageKey: string | undefined, disableColumnResizing: boolean, inDocumentScrollLayout: boolean): {
|
|
7258
|
+
columnSizes: string[];
|
|
7259
|
+
/** Container width from the resize probe (unchanged when content expands). */
|
|
7260
|
+
tableWidth: number | undefined;
|
|
7261
|
+
/** Row width required by column defs; only expands beyond probe in document-scroll layouts. */
|
|
7262
|
+
contentWidth: number | undefined;
|
|
7263
|
+
resizedWidths: ResizedWidths;
|
|
7264
|
+
setResizedWidth: (columnId: string, width: number) => void;
|
|
7265
|
+
setResizedWidths: (widths: ResizedWidths | ((prev: ResizedWidths) => ResizedWidths)) => void;
|
|
7266
|
+
resetColumnWidths: () => void;
|
|
7242
7267
|
};
|
|
7243
|
-
type AppNavItem = AppNavLink | AppNavGroup | AppNavSection;
|
|
7244
7268
|
|
|
7245
|
-
|
|
7246
|
-
|
|
7247
|
-
|
|
7269
|
+
/** Provides default styling for a GridColumn representing a Date. */
|
|
7270
|
+
declare function column<T extends Kinded>(columnDef: GridColumn<T>): GridColumn<T>;
|
|
7271
|
+
/** Provides default styling for a GridColumn representing a Date. */
|
|
7272
|
+
declare function dateColumn<T extends Kinded>(columnDef: GridColumn<T>): GridColumn<T>;
|
|
7273
|
+
/**
|
|
7274
|
+
* Provides default styling for a GridColumn representing a Numeric value (Price, percentage, PO #, etc.). */
|
|
7275
|
+
declare function numericColumn<T extends Kinded>(columnDef: GridColumn<T>): GridColumn<T>;
|
|
7276
|
+
/** Provides default styling for a GridColumn representing an Action. */
|
|
7277
|
+
declare function actionColumn<T extends Kinded>(columnDef: GridColumn<T>): GridColumn<T>;
|
|
7278
|
+
/**
|
|
7279
|
+
* Provides default styling for a GridColumn containing a checkbox.
|
|
7280
|
+
*
|
|
7281
|
+
* We allow either no `columnDef` at all, or a partial column def (i.e. to say a Totals row should
|
|
7282
|
+
* not have a `SelectToggle`, b/c we can provide the default behavior a `SelectToggle` for basically
|
|
7283
|
+
* all rows.
|
|
7284
|
+
*/
|
|
7285
|
+
declare function selectColumn<T extends Kinded>(columnDef?: Partial<GridColumn<T>>): GridColumn<T>;
|
|
7286
|
+
/**
|
|
7287
|
+
* Provides default styling for a GridColumn containing a collapse icon.
|
|
7288
|
+
*
|
|
7289
|
+
* We allow either no `columnDef` at all, or a partial column def (i.e. to say a Totals row should
|
|
7290
|
+
* not have a `CollapseToggle`, b/c we can provide the default behavior a `CollapseToggle` for basically
|
|
7291
|
+
* all rows.
|
|
7292
|
+
*/
|
|
7293
|
+
declare function collapseColumn<T extends Kinded>(columnDef?: Partial<GridColumn<T>>): GridColumn<T>;
|
|
7294
|
+
/**
|
|
7295
|
+
* Provides a GridColumn containing a {@link PinToggle} to pin/unpin rows to the top at runtime.
|
|
7296
|
+
*
|
|
7297
|
+
* Like `selectColumn`/`collapseColumn`, this accepts no `columnDef` or a partial one. The toggle is
|
|
7298
|
+
* rendered for data rows by default; header/totals/expandableHeader get an `emptyCell` since there's
|
|
7299
|
+
* no "pin all" concept and reserved rows aren't pinnable.
|
|
7300
|
+
*
|
|
7301
|
+
* Note: pinning a parent row hoists only that row into the sticky pinned section — its children stay in place.
|
|
7302
|
+
*/
|
|
7303
|
+
declare function pinColumn<T extends Kinded>(columnDef?: Partial<GridColumn<T>>): GridColumn<T>;
|
|
7304
|
+
declare const layoutGutterLeftColumnId = "beamLayoutGutterLeft";
|
|
7305
|
+
declare const layoutGutterRightColumnId = "beamLayoutGutterRight";
|
|
7306
|
+
/** True for columns that display row data (not action controls or layout gutters). */
|
|
7307
|
+
declare function isContentColumn(column: Pick<GridColumn<Kinded>, "isAction" | "isLayoutGutter">): boolean;
|
|
7308
|
+
/** Prepends and appends layout gutter columns for document-scroll table alignment. */
|
|
7309
|
+
declare function withColumnGutters<T extends Kinded>(columns: GridColumn<T>[]): GridColumn<T>[];
|
|
7310
|
+
declare function parseWidthToPx(widthStr: string | undefined, tableWidth: number | undefined): number | null;
|
|
7311
|
+
/** Sum resolved column sizes in px; returns null when any size is still a calc() expression. */
|
|
7312
|
+
declare function sumColumnSizesPx(columnSizes: string[], tableWidth: number | undefined): number | null;
|
|
7313
|
+
/** Table content width from column defs; may exceed the probe when %/mw columns require it. */
|
|
7314
|
+
declare function resolveTableContentWidth(tableWidth: number | undefined, columnSizes: string[], minWidthPx?: number): number | undefined;
|
|
7315
|
+
/**
|
|
7316
|
+
* Calculates column widths using a flexible `calc()` definition that allows for consistent column alignment without the use of `<table />`, CSS Grid, etc layouts.
|
|
7317
|
+
* Enforces only fixed-sized units (% and px)
|
|
7318
|
+
*/
|
|
7319
|
+
declare function calcColumnSizes<R extends Kinded>(columns: GridColumnWithId<R>[], tableWidth: number | undefined, tableMinWidthPx: number | undefined, expandedColumnIds: string[], resizedWidths?: ResizedWidths): string[];
|
|
7320
|
+
type ColumnLayoutResult = {
|
|
7321
|
+
columnSizes: string[];
|
|
7322
|
+
/** Row width required by column defs; equals probe width when no expansion (or legacy path). */
|
|
7323
|
+
contentWidth: number | undefined;
|
|
7248
7324
|
};
|
|
7249
|
-
|
|
7250
|
-
|
|
7251
|
-
|
|
7252
|
-
|
|
7253
|
-
|
|
7254
|
-
|
|
7255
|
-
}[];
|
|
7256
|
-
size?: AvatarSize;
|
|
7257
|
-
}
|
|
7258
|
-
declare function AvatarGroup(props: AvatarGroupProps): JSX.Element;
|
|
7259
|
-
|
|
7260
|
-
interface BannerProps {
|
|
7261
|
-
type: BannerTypes;
|
|
7262
|
-
message: ReactNode;
|
|
7263
|
-
onClose?: VoidFunction;
|
|
7264
|
-
showIcon?: boolean;
|
|
7265
|
-
}
|
|
7266
|
-
declare function Banner(props: BannerProps): JSX.Element;
|
|
7267
|
-
type BannerTypes = "error" | "warning" | "success" | "info" | "alert";
|
|
7325
|
+
/** Size columns for a measured container; resolves content width when in a document-scroll layout. */
|
|
7326
|
+
declare function calcColumnLayout<R extends Kinded>(columns: GridColumnWithId<R>[], probeWidth: number | undefined, tableMinWidthPx: number | undefined, expandedColumnIds: string[], resizedWidths: ResizedWidths | undefined, inDocumentScrollLayout: boolean): ColumnLayoutResult;
|
|
7327
|
+
/** Assign column ids if missing. */
|
|
7328
|
+
declare function assignDefaultColumnIds<T extends Kinded>(columns: GridColumn<T>[]): GridColumnWithId<T>[];
|
|
7329
|
+
declare const generateColumnId: (columnIndex: number) => string;
|
|
7330
|
+
declare function dragHandleColumn<T extends Kinded>(columnDef?: Partial<GridColumn<T>>): GridColumn<T>;
|
|
7268
7331
|
|
|
7269
|
-
type AppEnvironment = "local" | "dev" | "qa" | "local-prod" | "prod";
|
|
7270
|
-
type ImpersonatedUser = {
|
|
7271
|
-
name: string;
|
|
7272
|
-
};
|
|
7273
|
-
type EnvironmentBannerProps = {
|
|
7274
|
-
env: AppEnvironment;
|
|
7275
|
-
impersonating?: ImpersonatedUser;
|
|
7276
|
-
/**
|
|
7277
|
-
* Shows the production warning banner; typically set to `true` only for developers in the consuming app.
|
|
7278
|
-
* Its styling takes precedence over impersonation (red fill + prod warning copy, with impersonation still
|
|
7279
|
-
* shown on the right).
|
|
7280
|
-
*/
|
|
7281
|
-
showProdWarning?: boolean;
|
|
7282
|
-
};
|
|
7283
|
-
/** Environment banner; horizontal/vertical pinning is owned by {@link EnvironmentBannerLayout}. */
|
|
7284
|
-
declare function EnvironmentBanner(props: EnvironmentBannerProps): JSX.Element | null;
|
|
7285
7332
|
/**
|
|
7286
|
-
*
|
|
7287
|
-
*
|
|
7333
|
+
* A helper for making `Row` type aliases of simple/flat tables that are just header + data.
|
|
7334
|
+
*
|
|
7335
|
+
* Unlike `SimpleHeaderAndDataOf`, we keep `T` in a separate `data`, which is useful
|
|
7336
|
+
* when rows are mobx proxies and we need proxy accesses to happen within the column
|
|
7337
|
+
* rendering.
|
|
7288
7338
|
*/
|
|
7289
|
-
|
|
7290
|
-
|
|
7291
|
-
|
|
7292
|
-
|
|
7293
|
-
|
|
7294
|
-
|
|
7295
|
-
suffix?: string;
|
|
7339
|
+
type SimpleHeaderAndData<T> = {
|
|
7340
|
+
kind: "header";
|
|
7341
|
+
} | {
|
|
7342
|
+
kind: "data";
|
|
7343
|
+
data: T;
|
|
7344
|
+
id: string;
|
|
7296
7345
|
};
|
|
7297
|
-
|
|
7298
|
-
|
|
7299
|
-
|
|
7300
|
-
|
|
7346
|
+
/** A const for a marker header row. */
|
|
7347
|
+
declare const simpleHeader: {
|
|
7348
|
+
kind: "header";
|
|
7349
|
+
id: string;
|
|
7350
|
+
data: undefined;
|
|
7351
|
+
};
|
|
7352
|
+
/** Like `simpleRows` but for `SimpleHeaderAndData`. */
|
|
7353
|
+
declare function simpleDataRows<R extends SimpleHeaderAndData<D>, D>(data?: Array<D & {
|
|
7354
|
+
id: string;
|
|
7355
|
+
}> | undefined): GridDataRow<R>[];
|
|
7301
7356
|
|
|
7302
|
-
|
|
7357
|
+
declare function sortRows<R extends Kinded>(columns: GridColumnWithId<R>[], rows: GridDataRow<R>[], sortState: SortState, caseSensitive: boolean): GridDataRow<R>[];
|
|
7358
|
+
/** Creates a comparator for two GridDataRows based on the current sortState. */
|
|
7359
|
+
declare function sortFn<R extends Kinded>(columns: GridColumnWithId<R>[], sortState: SortState, caseSensitive: boolean): (a: GridDataRow<R>, b: GridDataRow<R>) => number;
|
|
7360
|
+
declare function ensureClientSideSortValueIsSortable(sortOn: SortOn, isHeader: boolean, column: GridColumnWithId<any>, idx: number, maybeContent: ReactNode | GridCellContent): void;
|
|
7361
|
+
|
|
7362
|
+
/** If a column def return just string text for a given row, apply some default styling. */
|
|
7363
|
+
declare function toContent(maybeContent: ReactNode | GridCellContent, isHeader: boolean, canSortColumn: boolean, isClientSideSorting: boolean, style: GridStyle, as: RenderAs, alignment: GridCellAlignment, column: GridColumnWithId<any>, isExpandableHeader: boolean, isExpandable: boolean, minStickyLeftOffset: number, isKeptSelectedRow: boolean): ReactNode;
|
|
7364
|
+
declare function isGridCellContent(content: ReactNode | GridCellContent): content is GridCellContent;
|
|
7365
|
+
type DragData<R extends Kinded> = {
|
|
7366
|
+
rowRenderRef: React.RefObject<HTMLTableRowElement>;
|
|
7367
|
+
onDragStart?: (row: GridDataRow<R>, event: React.DragEvent<HTMLElement>) => void;
|
|
7368
|
+
onDragEnd?: (row: GridDataRow<R>, event: React.DragEvent<HTMLElement>) => void;
|
|
7369
|
+
onDrop?: (row: GridDataRow<R>, event: React.DragEvent<HTMLElement>) => void;
|
|
7370
|
+
onDragEnter?: (row: GridDataRow<R>, event: React.DragEvent<HTMLElement>) => void;
|
|
7371
|
+
onDragOver?: (row: GridDataRow<R>, event: React.DragEvent<HTMLElement>) => void;
|
|
7372
|
+
};
|
|
7373
|
+
/** Return the content for a given column def applied to a given row. */
|
|
7374
|
+
declare function applyRowFn<R extends Kinded>(column: GridColumnWithId<R>, row: GridDataRow<R>, api: GridRowApi<R>, level: number, expanded: boolean, dragData?: DragData<R>): ReactNode | GridCellContent;
|
|
7375
|
+
declare const ASC: "ASC";
|
|
7376
|
+
declare const DESC: "DESC";
|
|
7377
|
+
declare const emptyCell: GridCellContent;
|
|
7378
|
+
declare function getFirstOrLastCellCss<R extends Kinded>(style: GridStyle, columnIndex: number, columns: GridColumnWithId<R>[], colspan?: number): Properties;
|
|
7379
|
+
declare function getColumnBorderCss(border: GridColumnBorder | undefined, style: GridStyle): Properties;
|
|
7380
|
+
/** A heuristic to detect the result of `React.createElement` / i.e. JSX. */
|
|
7381
|
+
declare function isJSX(content: any): boolean;
|
|
7382
|
+
declare function getAlignment(column: GridColumnWithId<any>, maybeContent: ReactNode | GridCellContent): GridCellAlignment;
|
|
7383
|
+
declare function getJustification(column: GridColumnWithId<any>, maybeContent: ReactNode | GridCellContent, as: RenderAs, alignment: GridCellAlignment): Pick<Properties, never> & {
|
|
7384
|
+
textAlign: csstype.Property.TextAlign | undefined;
|
|
7385
|
+
} & {
|
|
7386
|
+
readonly __kind: "buildtime";
|
|
7387
|
+
};
|
|
7388
|
+
declare function matchesFilter(maybeContent: ReactNode | GridCellContent, filter: string): boolean;
|
|
7389
|
+
declare const HEADER = "header";
|
|
7390
|
+
declare const TOTALS = "totals";
|
|
7391
|
+
/** Tables expandable columns get an extra header. */
|
|
7392
|
+
declare const EXPANDABLE_HEADER = "expandableHeader";
|
|
7393
|
+
declare const KEPT_GROUP = "keptGroup";
|
|
7394
|
+
declare const reservedRowKinds: string[];
|
|
7395
|
+
/** Loads an array from sessionStorage, if it exists, or `undefined`. */
|
|
7396
|
+
declare function loadArrayOrUndefined(key: string): any;
|
|
7397
|
+
declare function insertAtIndex<T>(array: Array<T>, element: T, index: number): Array<T>;
|
|
7398
|
+
declare function isCursorBelowMidpoint(target: HTMLElement, clientY: number): boolean;
|
|
7399
|
+
declare function recursivelyGetContainingRow<R extends Kinded>(rowId: string, rowArray: GridDataRow<R>[], parent?: GridDataRow<R>): {
|
|
7400
|
+
array: GridDataRow<R>[];
|
|
7401
|
+
parent: GridDataRow<R> | undefined;
|
|
7402
|
+
} | undefined;
|
|
7403
|
+
declare function getTableRefWidthStyles(isVirtual: boolean, inDocumentScrollLayout?: boolean): Pick<Properties, never> & {
|
|
7404
|
+
width: csstype.Property.Width<string | 0> | undefined;
|
|
7405
|
+
} & {
|
|
7406
|
+
readonly __kind: "buildtime";
|
|
7407
|
+
};
|
|
7408
|
+
|
|
7409
|
+
declare function visit(rows: GridDataRow<any>[], fn: (row: GridDataRow<any>) => void): void;
|
|
7410
|
+
|
|
7411
|
+
type Sizes = "sm" | "md" | "lg";
|
|
7412
|
+
type LoadingSkeletonProps = {
|
|
7413
|
+
rows?: number;
|
|
7414
|
+
columns?: number;
|
|
7415
|
+
size?: Sizes;
|
|
7416
|
+
randomizeWidths?: boolean;
|
|
7417
|
+
};
|
|
7418
|
+
declare function LoadingSkeleton({ rows, columns, size, randomizeWidths }: LoadingSkeletonProps): JSX.Element;
|
|
7419
|
+
|
|
7420
|
+
type QueryResult<QData> = {
|
|
7421
|
+
loading: boolean;
|
|
7422
|
+
error?: {
|
|
7423
|
+
message: string;
|
|
7424
|
+
};
|
|
7425
|
+
data?: QData;
|
|
7426
|
+
};
|
|
7427
|
+
|
|
7428
|
+
/** Shared action button props used across layout header and panel components. */
|
|
7429
|
+
type ActionButtonProps = Pick<ButtonProps, "onClick" | "label" | "disabled" | "tooltip" | "icon">;
|
|
7430
|
+
type OmittedTableProps = "filter" | "stickyHeader" | "style" | "rows";
|
|
7431
|
+
type BaseTableProps<R extends Kinded, X extends Only<GridTableXss, X>> = Omit<GridTableProps<R, X>, OmittedTableProps>;
|
|
7432
|
+
type GridTablePropsWithRows<R extends Kinded, X extends Only<GridTableXss, X>> = BaseTableProps<R, X> & {
|
|
7433
|
+
rows: GridTableProps<R, X>["rows"];
|
|
7434
|
+
query?: never;
|
|
7435
|
+
createRows?: never;
|
|
7436
|
+
style?: GridStyle | GridStyleDef;
|
|
7437
|
+
};
|
|
7438
|
+
type BaseQueryTableProps<R extends Kinded, X extends Only<GridTableXss, X>, QData> = BaseTableProps<R, X> & {
|
|
7439
|
+
query: QueryResult<QData>;
|
|
7440
|
+
createRows: (data: QData | undefined) => GridDataRow<R>[];
|
|
7441
|
+
rows?: never;
|
|
7442
|
+
style?: GridStyle | GridStyleDef;
|
|
7443
|
+
};
|
|
7444
|
+
declare function isGridTableProps<R extends Kinded, X extends Only<GridTableXss, X>, Q extends {
|
|
7445
|
+
rows?: never;
|
|
7446
|
+
}>(props: GridTablePropsWithRows<R, X> | Q): props is GridTablePropsWithRows<R, X>;
|
|
7447
|
+
|
|
7448
|
+
type AiBannerProps = {
|
|
7449
|
+
title: string;
|
|
7450
|
+
message?: ReactNode;
|
|
7451
|
+
primaryAction?: ActionButtonProps;
|
|
7452
|
+
secondaryAction?: ActionButtonProps;
|
|
7453
|
+
};
|
|
7454
|
+
declare function AiBanner(props: AiBannerProps): JSX.Element;
|
|
7455
|
+
|
|
7456
|
+
type AiLoaderProps<X> = {
|
|
7457
|
+
inc?: number;
|
|
7458
|
+
/** Accessible name for the indicator, defaults to "Loading". */
|
|
7459
|
+
label?: string;
|
|
7460
|
+
/** Styles overrides */
|
|
7461
|
+
xss?: X;
|
|
7462
|
+
};
|
|
7463
|
+
/** An indeterminate loading indicator for AI-driven work. */
|
|
7464
|
+
declare function AiLoader<X extends Only<Xss<Margin>, X>>(props: AiLoaderProps<X>): JSX.Element;
|
|
7465
|
+
|
|
7466
|
+
type AiLoadingPanelProps = {
|
|
7467
|
+
title?: string;
|
|
7468
|
+
message?: ReactNode;
|
|
7469
|
+
};
|
|
7470
|
+
/**
|
|
7471
|
+
* Tells the user AI work is running, and that they're free to go do something else.
|
|
7472
|
+
*
|
|
7473
|
+
* Indeterminate — these steps don't report progress, so this never shows a percentage or ETA.
|
|
7474
|
+
*/
|
|
7475
|
+
declare function AiLoadingPanel(props: AiLoadingPanelProps): JSX.Element;
|
|
7476
|
+
|
|
7477
|
+
type AiPanelProps = {
|
|
7478
|
+
/** Rounds the corners, for a panel sitting within page content rather than spanning it. */
|
|
7479
|
+
rounded?: boolean;
|
|
7480
|
+
/** Set false to size the card to its content and center it, rather than filling the panel. */
|
|
7481
|
+
fullWidth?: boolean;
|
|
7482
|
+
children?: ReactNode;
|
|
7483
|
+
} & AriaAttributes & {
|
|
7484
|
+
role?: AriaRole;
|
|
7485
|
+
};
|
|
7486
|
+
/**
|
|
7487
|
+
* The Blueprint AI surface: the wordmark over the AI background, wrapping a card of whatever the flow
|
|
7488
|
+
* needs.
|
|
7489
|
+
*
|
|
7490
|
+
* The background always spans its container; `fullWidth` only governs the card.
|
|
7491
|
+
*/
|
|
7492
|
+
declare function AiPanel(props: AiPanelProps): JSX.Element;
|
|
7493
|
+
|
|
7494
|
+
type AiSlimBannerProps = {
|
|
7495
|
+
title: string;
|
|
7496
|
+
action?: ActionButtonProps;
|
|
7497
|
+
};
|
|
7498
|
+
/**
|
|
7499
|
+
* A one-line AI notice, for sitting inline above the content it's about.
|
|
7500
|
+
*/
|
|
7501
|
+
declare function AiSlimBanner(props: AiSlimBannerProps): JSX.Element;
|
|
7502
|
+
|
|
7503
|
+
/** A single nav link. String `label` only; see `NavLinkProps.label` (ReactNode) for the wider API. */
|
|
7504
|
+
type AppNavLink = Pick<NavLinkProps, "icon" | "onClick" | "active" | "disabled" | "openInNew" | "iconOnly"> & {
|
|
7505
|
+
label: string;
|
|
7506
|
+
};
|
|
7507
|
+
/**
|
|
7508
|
+
* Collapsible labeled block of nav links (side-nav disclosure or global-nav menu trigger).
|
|
7509
|
+
* Use unlabeled {@link AppNavSection} children to group menu rows with dividers.
|
|
7510
|
+
* Differs from AppNavSection in that AppNavGroup can be collapsed/expanded, and there is no visually distinct separation
|
|
7511
|
+
*/
|
|
7512
|
+
type AppNavGroup = {
|
|
7513
|
+
label: string;
|
|
7514
|
+
items: AppNavItem[];
|
|
7515
|
+
defaultExpanded?: boolean;
|
|
7516
|
+
};
|
|
7517
|
+
type AppNavSectionItem = AppNavLink | AppNavGroup;
|
|
7518
|
+
/** Static section chrome (optional heading, divider) containing links, link groups, and/or nested sections.
|
|
7519
|
+
* Used to group links into visually distinct sections.
|
|
7520
|
+
* Differs from AppNavGroup in that it cannot be collapsed/expanded
|
|
7521
|
+
*/
|
|
7522
|
+
type AppNavSection = {
|
|
7523
|
+
/** Discriminant — distinguishes sections from {@link AppNavGroup} (both use `items`). */
|
|
7524
|
+
section: true;
|
|
7525
|
+
label?: string;
|
|
7526
|
+
items: AppNavItem[];
|
|
7527
|
+
};
|
|
7528
|
+
type AppNavItem = AppNavLink | AppNavGroup | AppNavSection;
|
|
7529
|
+
|
|
7530
|
+
type AutoSaveIndicatorProps = {
|
|
7531
|
+
hideOnIdle?: boolean;
|
|
7532
|
+
doNotReset?: boolean;
|
|
7533
|
+
};
|
|
7534
|
+
declare function AutoSaveIndicator({ hideOnIdle, doNotReset }: AutoSaveIndicatorProps): JSX.Element | null;
|
|
7535
|
+
|
|
7536
|
+
interface AvatarGroupProps {
|
|
7537
|
+
avatars: {
|
|
7538
|
+
src: string | undefined;
|
|
7539
|
+
name?: string;
|
|
7540
|
+
}[];
|
|
7541
|
+
size?: AvatarSize;
|
|
7542
|
+
}
|
|
7543
|
+
declare function AvatarGroup(props: AvatarGroupProps): JSX.Element;
|
|
7544
|
+
|
|
7545
|
+
interface BannerProps {
|
|
7546
|
+
type: BannerTypes;
|
|
7547
|
+
message: ReactNode;
|
|
7548
|
+
onClose?: VoidFunction;
|
|
7549
|
+
showIcon?: boolean;
|
|
7550
|
+
}
|
|
7551
|
+
declare function Banner(props: BannerProps): JSX.Element;
|
|
7552
|
+
type BannerTypes = "error" | "warning" | "success" | "info" | "alert";
|
|
7553
|
+
|
|
7554
|
+
type AppEnvironment = "local" | "dev" | "qa" | "local-prod" | "prod";
|
|
7555
|
+
type ImpersonatedUser = {
|
|
7556
|
+
name: string;
|
|
7557
|
+
};
|
|
7558
|
+
type EnvironmentBannerProps = {
|
|
7559
|
+
env: AppEnvironment;
|
|
7560
|
+
impersonating?: ImpersonatedUser;
|
|
7561
|
+
/**
|
|
7562
|
+
* Shows the production warning banner; typically set to `true` only for developers in the consuming app.
|
|
7563
|
+
* Its styling takes precedence over impersonation (red fill + prod warning copy, with impersonation still
|
|
7564
|
+
* shown on the right).
|
|
7565
|
+
*/
|
|
7566
|
+
showProdWarning?: boolean;
|
|
7567
|
+
};
|
|
7568
|
+
/** Environment banner; horizontal/vertical pinning is owned by {@link EnvironmentBannerLayout}. */
|
|
7569
|
+
declare function EnvironmentBanner(props: EnvironmentBannerProps): JSX.Element | null;
|
|
7570
|
+
/**
|
|
7571
|
+
* True when {@link EnvironmentBanner} should display: `dev`, `qa`, `local-prod`, or `prod` while impersonating
|
|
7572
|
+
* or when `showProdWarning` is set (typically only for developers in the consuming app).
|
|
7573
|
+
*/
|
|
7574
|
+
declare function shouldShowEnvironmentBanner(env: AppEnvironment, impersonating: ImpersonatedUser | undefined, showProdWarning: boolean): boolean;
|
|
7575
|
+
/** Fixed banner height (px); {@link EnvironmentBannerLayout} reads this for spacer/CSS var offsets. */
|
|
7576
|
+
declare const environmentBannerSizePx = 34;
|
|
7577
|
+
|
|
7578
|
+
type DocumentTitleConfig = {
|
|
7579
|
+
env: AppEnvironment;
|
|
7580
|
+
suffix?: string;
|
|
7581
|
+
};
|
|
7582
|
+
declare function DocumentTitleProvider(props: PropsWithChildren<DocumentTitleConfig>): JSX.Element;
|
|
7583
|
+
|
|
7584
|
+
/** Joins page-level title segments for {@link useDocumentTitle}. */
|
|
7585
|
+
declare function joinDocumentTitleSegments(...segments: (string | undefined)[]): string | undefined;
|
|
7586
|
+
|
|
7587
|
+
type ModalSize = "sm" | "md" | "lg" | "xl" | "xxl";
|
|
7303
7588
|
type ModalProps = {
|
|
7304
7589
|
/**
|
|
7305
7590
|
* The modal size, defaults to `md`.
|
|
@@ -9135,274 +9420,6 @@ type HeaderBreadcrumb = {
|
|
|
9135
9420
|
right?: ReactNode;
|
|
9136
9421
|
};
|
|
9137
9422
|
|
|
9138
|
-
interface GridTableCollapseToggleProps extends Pick<IconButtonProps, "compact"> {
|
|
9139
|
-
row: GridDataRow<any>;
|
|
9140
|
-
}
|
|
9141
|
-
/** Provides a chevron icons to collapse/un-collapse for parent/child tables. */
|
|
9142
|
-
declare function CollapseToggle(props: GridTableCollapseToggleProps): JSX.Element | null;
|
|
9143
|
-
|
|
9144
|
-
type EditColumnsButtonProps<R extends Kinded> = {
|
|
9145
|
-
columns: GridColumn<R>[];
|
|
9146
|
-
api: GridTableApi<R>;
|
|
9147
|
-
defaultOpen?: boolean;
|
|
9148
|
-
} & Pick<OverlayTriggerProps, "placement" | "disabled" | "tooltip">;
|
|
9149
|
-
declare function EditColumnsButton<R extends Kinded>(props: EditColumnsButtonProps<R>): JSX.Element;
|
|
9150
|
-
|
|
9151
|
-
type PinToggleProps = {
|
|
9152
|
-
rowId: string;
|
|
9153
|
-
};
|
|
9154
|
-
/**
|
|
9155
|
-
* Provides a pin icon to pin/unpin a row to the top of the table at runtime.
|
|
9156
|
-
*
|
|
9157
|
-
* The pinned row is hoisted into a sticky pinned section that stays visible while the body scrolls.
|
|
9158
|
-
*/
|
|
9159
|
-
declare function PinToggle({ rowId }: PinToggleProps): JSX.Element;
|
|
9160
|
-
|
|
9161
|
-
interface SelectToggleProps {
|
|
9162
|
-
id: string;
|
|
9163
|
-
disabled?: boolean | ReactNode;
|
|
9164
|
-
}
|
|
9165
|
-
/** Provides a checkbox to show/drive this row's selected state. */
|
|
9166
|
-
declare function SelectToggle({ id, disabled }: SelectToggleProps): JSX.Element;
|
|
9167
|
-
|
|
9168
|
-
type SortHeaderProps = {
|
|
9169
|
-
content: string;
|
|
9170
|
-
xss?: Properties;
|
|
9171
|
-
iconOnLeft?: boolean;
|
|
9172
|
-
sortKey: string;
|
|
9173
|
-
tooltipEl?: ReactNode;
|
|
9174
|
-
};
|
|
9175
|
-
/**
|
|
9176
|
-
* Wraps column header names with up/down sorting icons.
|
|
9177
|
-
*
|
|
9178
|
-
* GridTable will use this automatically if the header content is just a text string.
|
|
9179
|
-
*
|
|
9180
|
-
* Alternatively, callers can also:
|
|
9181
|
-
*
|
|
9182
|
-
* - Instantiate this SortHeader directly with some customizations in `xss`, or
|
|
9183
|
-
* - Write their own component that uses `GridSortContext` to access the column's
|
|
9184
|
-
* current sort state + `toggleSort` function
|
|
9185
|
-
*/
|
|
9186
|
-
declare function SortHeader(props: SortHeaderProps): JSX.Element;
|
|
9187
|
-
|
|
9188
|
-
type TableView = "list" | "card";
|
|
9189
|
-
type ViewToggleButtonProps = {
|
|
9190
|
-
view: TableView;
|
|
9191
|
-
onChange: (view: TableView) => void;
|
|
9192
|
-
defaultOpen?: boolean;
|
|
9193
|
-
};
|
|
9194
|
-
declare function ViewToggleButton({ view, onChange, defaultOpen }: ViewToggleButtonProps): JSX.Element;
|
|
9195
|
-
|
|
9196
|
-
/**
|
|
9197
|
-
* Calculates an array of sizes for each of our columns.
|
|
9198
|
-
*
|
|
9199
|
-
* We originally supported CSS grid-template-column definitions which allowed fancier,
|
|
9200
|
-
* dynamic/content-based widths, but have eventually dropped it mainly due to:
|
|
9201
|
-
*
|
|
9202
|
-
* 1. In virtual tables, a) the table never has all of the rows in DOM at a single time,
|
|
9203
|
-
* so any "content-based" widths will change as you scroll the table, which is weird, and
|
|
9204
|
-
* b) a sticky header and rows are put in different DOM parent elements by react-virtuoso,
|
|
9205
|
-
* so wouldn't arrive at the same "content-based" widths.
|
|
9206
|
-
*
|
|
9207
|
-
* 2. Using CSS grid but still have a row-level div for hover/focus targeting required
|
|
9208
|
-
* a "fake" `display: contents` div that couldn't have actually any styles applied to it.
|
|
9209
|
-
*
|
|
9210
|
-
* So we've just got with essentially fixed/deterministic widths, i.e. `px` or `percent` or
|
|
9211
|
-
* `fr`.
|
|
9212
|
-
*
|
|
9213
|
-
* Disclaimer that we roll our own `fr` b/c we're not in CSS grid anymore.
|
|
9214
|
-
*/
|
|
9215
|
-
declare function useSetupColumnSizes<R extends Kinded>(style: GridStyle, columns: GridColumnWithId<R>[], resizeRef: MutableRefObject<HTMLElement | null>, expandedColumnIds: string[], visibleColumnsStorageKey: string | undefined, disableColumnResizing: boolean, inDocumentScrollLayout: boolean): {
|
|
9216
|
-
columnSizes: string[];
|
|
9217
|
-
/** Container width from the resize probe (unchanged when content expands). */
|
|
9218
|
-
tableWidth: number | undefined;
|
|
9219
|
-
/** Row width required by column defs; only expands beyond probe in document-scroll layouts. */
|
|
9220
|
-
contentWidth: number | undefined;
|
|
9221
|
-
resizedWidths: ResizedWidths;
|
|
9222
|
-
setResizedWidth: (columnId: string, width: number) => void;
|
|
9223
|
-
setResizedWidths: (widths: ResizedWidths | ((prev: ResizedWidths) => ResizedWidths)) => void;
|
|
9224
|
-
resetColumnWidths: () => void;
|
|
9225
|
-
};
|
|
9226
|
-
|
|
9227
|
-
/** Provides default styling for a GridColumn representing a Date. */
|
|
9228
|
-
declare function column<T extends Kinded>(columnDef: GridColumn<T>): GridColumn<T>;
|
|
9229
|
-
/** Provides default styling for a GridColumn representing a Date. */
|
|
9230
|
-
declare function dateColumn<T extends Kinded>(columnDef: GridColumn<T>): GridColumn<T>;
|
|
9231
|
-
/**
|
|
9232
|
-
* Provides default styling for a GridColumn representing a Numeric value (Price, percentage, PO #, etc.). */
|
|
9233
|
-
declare function numericColumn<T extends Kinded>(columnDef: GridColumn<T>): GridColumn<T>;
|
|
9234
|
-
/** Provides default styling for a GridColumn representing an Action. */
|
|
9235
|
-
declare function actionColumn<T extends Kinded>(columnDef: GridColumn<T>): GridColumn<T>;
|
|
9236
|
-
/**
|
|
9237
|
-
* Provides default styling for a GridColumn containing a checkbox.
|
|
9238
|
-
*
|
|
9239
|
-
* We allow either no `columnDef` at all, or a partial column def (i.e. to say a Totals row should
|
|
9240
|
-
* not have a `SelectToggle`, b/c we can provide the default behavior a `SelectToggle` for basically
|
|
9241
|
-
* all rows.
|
|
9242
|
-
*/
|
|
9243
|
-
declare function selectColumn<T extends Kinded>(columnDef?: Partial<GridColumn<T>>): GridColumn<T>;
|
|
9244
|
-
/**
|
|
9245
|
-
* Provides default styling for a GridColumn containing a collapse icon.
|
|
9246
|
-
*
|
|
9247
|
-
* We allow either no `columnDef` at all, or a partial column def (i.e. to say a Totals row should
|
|
9248
|
-
* not have a `CollapseToggle`, b/c we can provide the default behavior a `CollapseToggle` for basically
|
|
9249
|
-
* all rows.
|
|
9250
|
-
*/
|
|
9251
|
-
declare function collapseColumn<T extends Kinded>(columnDef?: Partial<GridColumn<T>>): GridColumn<T>;
|
|
9252
|
-
/**
|
|
9253
|
-
* Provides a GridColumn containing a {@link PinToggle} to pin/unpin rows to the top at runtime.
|
|
9254
|
-
*
|
|
9255
|
-
* Like `selectColumn`/`collapseColumn`, this accepts no `columnDef` or a partial one. The toggle is
|
|
9256
|
-
* rendered for data rows by default; header/totals/expandableHeader get an `emptyCell` since there's
|
|
9257
|
-
* no "pin all" concept and reserved rows aren't pinnable.
|
|
9258
|
-
*
|
|
9259
|
-
* Note: pinning a parent row hoists only that row into the sticky pinned section — its children stay in place.
|
|
9260
|
-
*/
|
|
9261
|
-
declare function pinColumn<T extends Kinded>(columnDef?: Partial<GridColumn<T>>): GridColumn<T>;
|
|
9262
|
-
declare const layoutGutterLeftColumnId = "beamLayoutGutterLeft";
|
|
9263
|
-
declare const layoutGutterRightColumnId = "beamLayoutGutterRight";
|
|
9264
|
-
/** True for columns that display row data (not action controls or layout gutters). */
|
|
9265
|
-
declare function isContentColumn(column: Pick<GridColumn<Kinded>, "isAction" | "isLayoutGutter">): boolean;
|
|
9266
|
-
/** Prepends and appends layout gutter columns for document-scroll table alignment. */
|
|
9267
|
-
declare function withColumnGutters<T extends Kinded>(columns: GridColumn<T>[]): GridColumn<T>[];
|
|
9268
|
-
declare function parseWidthToPx(widthStr: string | undefined, tableWidth: number | undefined): number | null;
|
|
9269
|
-
/** Sum resolved column sizes in px; returns null when any size is still a calc() expression. */
|
|
9270
|
-
declare function sumColumnSizesPx(columnSizes: string[], tableWidth: number | undefined): number | null;
|
|
9271
|
-
/** Table content width from column defs; may exceed the probe when %/mw columns require it. */
|
|
9272
|
-
declare function resolveTableContentWidth(tableWidth: number | undefined, columnSizes: string[], minWidthPx?: number): number | undefined;
|
|
9273
|
-
/**
|
|
9274
|
-
* Calculates column widths using a flexible `calc()` definition that allows for consistent column alignment without the use of `<table />`, CSS Grid, etc layouts.
|
|
9275
|
-
* Enforces only fixed-sized units (% and px)
|
|
9276
|
-
*/
|
|
9277
|
-
declare function calcColumnSizes<R extends Kinded>(columns: GridColumnWithId<R>[], tableWidth: number | undefined, tableMinWidthPx: number | undefined, expandedColumnIds: string[], resizedWidths?: ResizedWidths): string[];
|
|
9278
|
-
type ColumnLayoutResult = {
|
|
9279
|
-
columnSizes: string[];
|
|
9280
|
-
/** Row width required by column defs; equals probe width when no expansion (or legacy path). */
|
|
9281
|
-
contentWidth: number | undefined;
|
|
9282
|
-
};
|
|
9283
|
-
/** Size columns for a measured container; resolves content width when in a document-scroll layout. */
|
|
9284
|
-
declare function calcColumnLayout<R extends Kinded>(columns: GridColumnWithId<R>[], probeWidth: number | undefined, tableMinWidthPx: number | undefined, expandedColumnIds: string[], resizedWidths: ResizedWidths | undefined, inDocumentScrollLayout: boolean): ColumnLayoutResult;
|
|
9285
|
-
/** Assign column ids if missing. */
|
|
9286
|
-
declare function assignDefaultColumnIds<T extends Kinded>(columns: GridColumn<T>[]): GridColumnWithId<T>[];
|
|
9287
|
-
declare const generateColumnId: (columnIndex: number) => string;
|
|
9288
|
-
declare function dragHandleColumn<T extends Kinded>(columnDef?: Partial<GridColumn<T>>): GridColumn<T>;
|
|
9289
|
-
|
|
9290
|
-
/**
|
|
9291
|
-
* A helper for making `Row` type aliases of simple/flat tables that are just header + data.
|
|
9292
|
-
*
|
|
9293
|
-
* Unlike `SimpleHeaderAndDataOf`, we keep `T` in a separate `data`, which is useful
|
|
9294
|
-
* when rows are mobx proxies and we need proxy accesses to happen within the column
|
|
9295
|
-
* rendering.
|
|
9296
|
-
*/
|
|
9297
|
-
type SimpleHeaderAndData<T> = {
|
|
9298
|
-
kind: "header";
|
|
9299
|
-
} | {
|
|
9300
|
-
kind: "data";
|
|
9301
|
-
data: T;
|
|
9302
|
-
id: string;
|
|
9303
|
-
};
|
|
9304
|
-
/** A const for a marker header row. */
|
|
9305
|
-
declare const simpleHeader: {
|
|
9306
|
-
kind: "header";
|
|
9307
|
-
id: string;
|
|
9308
|
-
data: undefined;
|
|
9309
|
-
};
|
|
9310
|
-
/** Like `simpleRows` but for `SimpleHeaderAndData`. */
|
|
9311
|
-
declare function simpleDataRows<R extends SimpleHeaderAndData<D>, D>(data?: Array<D & {
|
|
9312
|
-
id: string;
|
|
9313
|
-
}> | undefined): GridDataRow<R>[];
|
|
9314
|
-
|
|
9315
|
-
declare function sortRows<R extends Kinded>(columns: GridColumnWithId<R>[], rows: GridDataRow<R>[], sortState: SortState, caseSensitive: boolean): GridDataRow<R>[];
|
|
9316
|
-
/** Creates a comparator for two GridDataRows based on the current sortState. */
|
|
9317
|
-
declare function sortFn<R extends Kinded>(columns: GridColumnWithId<R>[], sortState: SortState, caseSensitive: boolean): (a: GridDataRow<R>, b: GridDataRow<R>) => number;
|
|
9318
|
-
declare function ensureClientSideSortValueIsSortable(sortOn: SortOn, isHeader: boolean, column: GridColumnWithId<any>, idx: number, maybeContent: ReactNode | GridCellContent): void;
|
|
9319
|
-
|
|
9320
|
-
/** If a column def return just string text for a given row, apply some default styling. */
|
|
9321
|
-
declare function toContent(maybeContent: ReactNode | GridCellContent, isHeader: boolean, canSortColumn: boolean, isClientSideSorting: boolean, style: GridStyle, as: RenderAs, alignment: GridCellAlignment, column: GridColumnWithId<any>, isExpandableHeader: boolean, isExpandable: boolean, minStickyLeftOffset: number, isKeptSelectedRow: boolean): ReactNode;
|
|
9322
|
-
declare function isGridCellContent(content: ReactNode | GridCellContent): content is GridCellContent;
|
|
9323
|
-
type DragData<R extends Kinded> = {
|
|
9324
|
-
rowRenderRef: React.RefObject<HTMLTableRowElement>;
|
|
9325
|
-
onDragStart?: (row: GridDataRow<R>, event: React.DragEvent<HTMLElement>) => void;
|
|
9326
|
-
onDragEnd?: (row: GridDataRow<R>, event: React.DragEvent<HTMLElement>) => void;
|
|
9327
|
-
onDrop?: (row: GridDataRow<R>, event: React.DragEvent<HTMLElement>) => void;
|
|
9328
|
-
onDragEnter?: (row: GridDataRow<R>, event: React.DragEvent<HTMLElement>) => void;
|
|
9329
|
-
onDragOver?: (row: GridDataRow<R>, event: React.DragEvent<HTMLElement>) => void;
|
|
9330
|
-
};
|
|
9331
|
-
/** Return the content for a given column def applied to a given row. */
|
|
9332
|
-
declare function applyRowFn<R extends Kinded>(column: GridColumnWithId<R>, row: GridDataRow<R>, api: GridRowApi<R>, level: number, expanded: boolean, dragData?: DragData<R>): ReactNode | GridCellContent;
|
|
9333
|
-
declare const ASC: "ASC";
|
|
9334
|
-
declare const DESC: "DESC";
|
|
9335
|
-
declare const emptyCell: GridCellContent;
|
|
9336
|
-
declare function getFirstOrLastCellCss<R extends Kinded>(style: GridStyle, columnIndex: number, columns: GridColumnWithId<R>[], colspan?: number): Properties;
|
|
9337
|
-
declare function getColumnBorderCss(border: GridColumnBorder | undefined, style: GridStyle): Properties;
|
|
9338
|
-
/** A heuristic to detect the result of `React.createElement` / i.e. JSX. */
|
|
9339
|
-
declare function isJSX(content: any): boolean;
|
|
9340
|
-
declare function getAlignment(column: GridColumnWithId<any>, maybeContent: ReactNode | GridCellContent): GridCellAlignment;
|
|
9341
|
-
declare function getJustification(column: GridColumnWithId<any>, maybeContent: ReactNode | GridCellContent, as: RenderAs, alignment: GridCellAlignment): Pick<Properties, never> & {
|
|
9342
|
-
textAlign: csstype.Property.TextAlign | undefined;
|
|
9343
|
-
} & {
|
|
9344
|
-
readonly __kind: "buildtime";
|
|
9345
|
-
};
|
|
9346
|
-
declare function matchesFilter(maybeContent: ReactNode | GridCellContent, filter: string): boolean;
|
|
9347
|
-
declare const HEADER = "header";
|
|
9348
|
-
declare const TOTALS = "totals";
|
|
9349
|
-
/** Tables expandable columns get an extra header. */
|
|
9350
|
-
declare const EXPANDABLE_HEADER = "expandableHeader";
|
|
9351
|
-
declare const KEPT_GROUP = "keptGroup";
|
|
9352
|
-
declare const reservedRowKinds: string[];
|
|
9353
|
-
/** Loads an array from sessionStorage, if it exists, or `undefined`. */
|
|
9354
|
-
declare function loadArrayOrUndefined(key: string): any;
|
|
9355
|
-
declare function insertAtIndex<T>(array: Array<T>, element: T, index: number): Array<T>;
|
|
9356
|
-
declare function isCursorBelowMidpoint(target: HTMLElement, clientY: number): boolean;
|
|
9357
|
-
declare function recursivelyGetContainingRow<R extends Kinded>(rowId: string, rowArray: GridDataRow<R>[], parent?: GridDataRow<R>): {
|
|
9358
|
-
array: GridDataRow<R>[];
|
|
9359
|
-
parent: GridDataRow<R> | undefined;
|
|
9360
|
-
} | undefined;
|
|
9361
|
-
declare function getTableRefWidthStyles(isVirtual: boolean, inDocumentScrollLayout?: boolean): Pick<Properties, never> & {
|
|
9362
|
-
width: csstype.Property.Width<string | 0> | undefined;
|
|
9363
|
-
} & {
|
|
9364
|
-
readonly __kind: "buildtime";
|
|
9365
|
-
};
|
|
9366
|
-
|
|
9367
|
-
declare function visit(rows: GridDataRow<any>[], fn: (row: GridDataRow<any>) => void): void;
|
|
9368
|
-
|
|
9369
|
-
type Sizes = "sm" | "md" | "lg";
|
|
9370
|
-
type LoadingSkeletonProps = {
|
|
9371
|
-
rows?: number;
|
|
9372
|
-
columns?: number;
|
|
9373
|
-
size?: Sizes;
|
|
9374
|
-
randomizeWidths?: boolean;
|
|
9375
|
-
};
|
|
9376
|
-
declare function LoadingSkeleton({ rows, columns, size, randomizeWidths }: LoadingSkeletonProps): JSX.Element;
|
|
9377
|
-
|
|
9378
|
-
type QueryResult<QData> = {
|
|
9379
|
-
loading: boolean;
|
|
9380
|
-
error?: {
|
|
9381
|
-
message: string;
|
|
9382
|
-
};
|
|
9383
|
-
data?: QData;
|
|
9384
|
-
};
|
|
9385
|
-
|
|
9386
|
-
/** Shared action button props used across layout header and panel components. */
|
|
9387
|
-
type ActionButtonProps = Pick<ButtonProps, "onClick" | "label" | "disabled" | "tooltip" | "icon">;
|
|
9388
|
-
type OmittedTableProps = "filter" | "stickyHeader" | "style" | "rows";
|
|
9389
|
-
type BaseTableProps<R extends Kinded, X extends Only<GridTableXss, X>> = Omit<GridTableProps<R, X>, OmittedTableProps>;
|
|
9390
|
-
type GridTablePropsWithRows<R extends Kinded, X extends Only<GridTableXss, X>> = BaseTableProps<R, X> & {
|
|
9391
|
-
rows: GridTableProps<R, X>["rows"];
|
|
9392
|
-
query?: never;
|
|
9393
|
-
createRows?: never;
|
|
9394
|
-
style?: GridStyle | GridStyleDef;
|
|
9395
|
-
};
|
|
9396
|
-
type BaseQueryTableProps<R extends Kinded, X extends Only<GridTableXss, X>, QData> = BaseTableProps<R, X> & {
|
|
9397
|
-
query: QueryResult<QData>;
|
|
9398
|
-
createRows: (data: QData | undefined) => GridDataRow<R>[];
|
|
9399
|
-
rows?: never;
|
|
9400
|
-
style?: GridStyle | GridStyleDef;
|
|
9401
|
-
};
|
|
9402
|
-
declare function isGridTableProps<R extends Kinded, X extends Only<GridTableXss, X>, Q extends {
|
|
9403
|
-
rows?: never;
|
|
9404
|
-
}>(props: GridTablePropsWithRows<R, X> | Q): props is GridTablePropsWithRows<R, X>;
|
|
9405
|
-
|
|
9406
9423
|
type FormSection<F> = {
|
|
9407
9424
|
title?: string;
|
|
9408
9425
|
icon?: IconKey;
|
|
@@ -10535,4 +10552,4 @@ declare const zIndices: {
|
|
|
10535
10552
|
};
|
|
10536
10553
|
type ZIndex = (typeof zIndices)[keyof typeof zIndices];
|
|
10537
10554
|
|
|
10538
|
-
export { ASC, Accordion, AccordionList, type AccordionProps, type AccordionSize, type ActionButtonProps, AiLoader, type AiLoaderProps, AiLoadingPanel, type AiLoadingPanelProps, AiPanel, type AiPanelProps, type AppEnvironment, type AppNavGroup, type AppNavItem, type AppNavLink, type AppNavSection, type AppNavSectionItem, AutoSaveIndicator, AutoSaveStatus, AutoSaveStatusContext, AutoSaveStatusProvider, Autocomplete, type AutocompleteProps, Avatar, AvatarButton, type AvatarButtonProps, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarSize, Banner, type BannerProps, type BannerTypes, BaseFilter, type BaseQueryTableProps, type BaseTableProps, type BeamButtonProps, type BeamColor, type BeamFocusableProps, BeamLogo, BeamProvider, type BeamTextFieldProps, BlueprintAiLogo, BoundCheckboxField, type BoundCheckboxFieldProps, BoundCheckboxGroupField, type BoundCheckboxGroupFieldProps, BoundChipSelectField, BoundDateField, type BoundDateFieldProps, BoundDateRangeField, type BoundDateRangeFieldProps, BoundForm, type BoundFormInputConfig, type BoundFormProps, type BoundFormRowInputs, BoundMultiLineSelectField, type BoundMultiLineSelectFieldProps, BoundMultiSelectCardGroupField, type BoundMultiSelectCardGroupFieldProps, BoundMultiSelectField, type BoundMultiSelectFieldProps, BoundNumberField, type BoundNumberFieldProps, BoundRadioGroupField, type BoundRadioGroupFieldProps, BoundRichTextField, type BoundRichTextFieldProps, BoundSelectAndTextField, BoundSelectCardGroupField, type BoundSelectCardGroupFieldProps, BoundSelectField, type BoundSelectFieldProps, BoundSwitchField, type BoundSwitchFieldProps, BoundTextAreaField, type BoundTextAreaFieldProps, BoundTextField, type BoundTextFieldProps, BoundToggleChipGroupField, type BoundToggleChipGroupFieldProps, BoundTreeSelectField, type BoundTreeSelectFieldProps, type Breadcrumb, Breadcrumbs, type BreadcrumbsProps, type Breakpoint, Breakpoints, type BuildtimeStyles, Button, ButtonDatePicker, ButtonGroup, type ButtonGroupButton, type ButtonGroupProps, ButtonMenu, type ButtonMenuProps, ButtonModal, type ButtonModalProps, type ButtonProps, type ButtonSize, type ButtonVariant, Card, type CardBadgeSlot, type CardBadgeTag, type CardDataBlockSlot, type CardEyebrowSlot, type CardProgressSlot, type CardProps, type CardSlot, type CardStatusSlot, type CardTag, type CardTitleSlot, type CardType, CenteredLayout, type CenteredLayoutProps, type CenteredLayoutSize, type CheckFn, Checkbox, CheckboxGroup, type CheckboxGroupItemOption, type CheckboxGroupProps, type CheckboxProps, Chip, type ChipProps, ChipSelectField, type ChipSelectFieldProps, type ChipType, ChipTypes, type ChipValue, Chips, type ChipsProps, CollapseToggle, CollapsedContext, type ColumnLayoutResult, type CompanionConfig, type CompanionContent, type CompanionPosition, ConfirmCloseModal, ContentHeader, type ContentHeaderProps, type ContentStack, ContrastScope, Copy, CountBadge, type CountBadgeProps, Css, CssReset, type CssSetVarKeys, type CssSetVarScalar, type CssSetVarValue, DESC, DateField, type DateFieldFormat, type DateFieldMode, type DateFieldProps, type DateFilterValue, type DateMatcher, type DateRange, DateRangeField, type DateRangeFieldProps, type DateRangeFilterValue, type DefinedFilterValue, type Direction, type DiscriminateUnion, type DividerMenuItemType, DnDGrid, DnDGridItemHandle, type DnDGridItemHandleProps, type DnDGridItemProps, type DnDGridProps, DocumentScrollRightPaneLayout, type DocumentScrollRightPaneLayoutProps, type DocumentTitleConfig, DocumentTitleProvider, type DragData, EXPANDABLE_HEADER, EditColumnsButton, EnvironmentBanner, EnvironmentBannerLayout, type EnvironmentBannerLayoutProps, type EnvironmentBannerProps, type EnvironmentFaviconUrls, ErrorMessage, FieldGroup, type Filter, type FilterDefs, type FilterImpls, FilterModal, _Filters as Filters, type FixedSort, type Font, FormDivider, FormHeading, type FormHeadingProps, FormLines, type FormLinesProps, FormPageLayout, FormRow, FormSection$1 as FormSection, type FormSectionAction, type FormSectionConfig, FormSectionLayout, type FormSectionLayoutProps, type FormSectionProps, type FormWidth, FullBleed, type GridCellAlignment, type GridCellContent, type GridColumn, type GridColumnBorder, type GridColumnWithId, type GridDataRow, type GridRowCompanion, type GridRowKind, type GridRowLookup, type GridSortConfig, type GridStyle, GridTable, type GridTableApi, type GridTableCollapseToggleProps, type GridTableDefaults, GridTableEmptyState, type GridTableEmptyStateProps, GridTableLayout, type GridTableLayoutProps, type GridTableProps, type GridTablePropsWithRows, type GridTableScrollOptions, type GridTableXss, type GroupByHook, HB_QUIPS_FLAVOR, HB_QUIPS_MISSION, HEADER, type HasIdAndName, HbLoadingSpinner, HbSpinnerProvider, type HeaderAction, HelperText, HomeboundLogo, Icon, IconButton, type IconButtonProps, type IconButtonVariant, type IconKey, type IconMenuItemType, type IconProps, Icons, type IfAny, type ImageFitType, type ImageMenuItemType, type ImpersonatedUser, type InfiniteScroll, type InlineStyle, type InputStylePalette, JumpLink, type JumpLinkProps, KEPT_GROUP, type Kinded, Loader, LoadingSkeleton, type LoadingSkeletonProps, type LogoSizeProps, type Margin, type Marker, MaxLines, type MaxLinesProps, type MaybeFn, type MenuItem, type MenuSection, ModalBody, ModalFilterItem, ModalFooter, ModalHeader, type ModalProps, type ModalSize, MultiLineSelectField, type MultiLineSelectFieldProps, MultiSelectCardGroup, type MultiSelectCardGroupProps, MultiSelectField, type MultiSelectFieldProps, NavLink, type NavLinkProps, type NavLinkVariant, Navbar, NavbarLayout, type NavbarLayoutProps, type NavbarProps, type NavbarUser, type NestedOption, type NestedOptionsOrLoad, NumberField, type NumberFieldProps, type NumberFieldType, type OffsetAndLimit, type OnRowDragEvent, type OnRowSelect, type Only, type OpenDetailOpts, type OpenInDrawerOpts, OpenModal, type OpenRightPaneOpts, type Optional, type Padding, PageHeaderLayout, type PageHeaderLayoutProps, type PageNumberAndSize, type PageSettings, Pagination, Palette, PinToggle, type Placement, type PlainDate, type PlainFormSectionChild, type PresentationFieldProps, PresentationProvider, PreventBrowserScroll, type Properties, RIGHT_SIDEBAR_MIN_WIDTH, type RadioFieldOption, RadioGroupField, type RadioGroupFieldProps, type RenderAs, type RenderCellFn, type ReorderableFormSectionChild, ResponsiveGrid, type ResponsiveGridConfig, ResponsiveGridContext, ResponsiveGridItem, type ResponsiveGridItemProps, type ResponsiveGridProps, RichTextField, RichTextFieldImpl, type RichTextFieldProps, RightPaneContext, RightPaneLayout, type RightPaneLayoutContextProps, RightPaneProvider, RightSidebar, type RightSidebarProps, type RouteTab, type RouteTabWithContent, Row, type RowStyle, type RowStyles, RuntimeCss, type RuntimeStyles, SIDE_NAV_LAYOUT_STATE_STORAGE_KEY, ScrollShadows, ScrollableContent, ScrollableFooter, ScrollableParent, type SelectCardGridGroupItemOption, SelectCardGroup, type SelectCardGroupItemOption, type SelectCardGroupProps, type SelectCardLayout, type SelectCardListGroupItemOption, type SelectCardView, SelectField, type SelectFieldProps, SelectToggle, type SelectedFilterLabelValue, type SelectedState, SideNav, SideNavLayout, type SideNavLayoutContextProps, type SideNavLayoutProps, SideNavLayoutProvider, type SideNavLayoutState, type SideNavProps, type SidePanelProps, type SidebarContentProps, type SimpleHeaderAndData, SortHeader, type SortOn, type SortState, StaticField, type Step, Stepper, type StepperProps, StepperTab, type StepperTabProps, StepperTabs, type StepperTabsProps, type StepperTabsStep, type StyleKind, SubmitButton, type SubmitButtonProps, SuperDrawerContent, SuperDrawerHeader, SuperDrawerWidth, type SupportedDateFormat, Switch, type SwitchProps, TOTALS, type Tab, TabContent, type TabWithContent, TableReviewLayout, type TableReviewLayoutProps, TableState, TableStateContext, type TableView, Tabs, TabsWithContent, Tag, TagGroup, type TagGroupItem, type TagGroupProps, type TagProps, type TagType, type TagVariant, type TagXss, type TestIds, TextAreaField, type TextAreaFieldProps, TextField, type TextFieldApi, type TextFieldInternalProps, type TextFieldProps, type TextFieldXss, Toast, ToggleButton, type ToggleButtonProps, ToggleChip, ToggleChipGroup, type ToggleChipGroupProps, type ToggleChipProps, ToggleChips, type ToggleChipsProps, Tokens, Tooltip, TreeSelectField, type TreeSelectFieldProps, type TriggerNoticeProps, type Typography, type UseModalHook, type UsePersistedFilterProps, type UseQueryState, type UseRightPaneHook, type UseSnackbarHook, type UseSuperDrawerHook, type UseToastProps, type Value, ViewToggleButton, WorkflowLayout, type WorkflowLayoutProps, type WorkflowLayoutStep, type Xss, type ZIndex, actionColumn, applyRowFn, assignDefaultColumnIds, bannerAndNavbarChromeTop, beamEnvironmentBannerLayoutHeightVar, beamFloatingRightOffsetVar, beamLayoutContentPaddingXVar, beamLayoutViewportHeightVar, beamLayoutViewportWidthVar, beamNavbarLayoutHeightVar, beamPageHeaderLayoutHeightVar, beamRightPaneWidthVar, beamSideNavLayoutWidthVar, beamTableActionsHeightVar, beamWorkflowLayoutFooterHeightVar, booleanFilter, boundCheckboxField, boundCheckboxGroupField, boundDateField, boundDateRangeField, boundMultiSelectCardGroupField, boundMultiSelectField, boundMultilineSelectField, boundNumberField, boundRadioGroupField, boundRichTextField, boundSelectCardGroupField, boundSelectField, boundSwitchField, boundTextAreaField, boundTextField, boundToggleChipGroupField, boundTreeSelectField, calcColumnLayout, calcColumnSizes, cardBadgeSlot, cardDataBlockSlot, cardEyebrowSlot, cardProgressSlot, cardStatusSlot, cardStyle, cardTitleSlot, checkboxFilter, chipBaseStyles, chipDisabledStyles, chipHoverOnlyStyles, chipHoverStyles, collapseColumn, column, condensedStyle, contrastDataTheme, createRowLookup, dateColumn, dateFilter, dateFormats, dateRangeFilter, defaultDocumentScrollRightPaneWidth, defaultPage, defaultRenderFn, defaultStyle, defaultTestId, documentScrollChromeLeft, documentScrollChromeWidth, documentScrollContentLeft, documentScrollContentWidth, documentScrollRightPaneHeight, documentScrollRightPaneWidth, dragHandleColumn, emptyCell, ensureClientSideSortValueIsSortable, environmentBannerSizePx, filterTestIdPrefix, formatDate, formatDateRange, formatPlainDate, formatValue, generateColumnId, getActiveFilterCount, getAlignment, getColumnBorderCss, getDateFormat, getFirstOrLastCellCss, getFloatingBottomOffset, getFloatingRightOffset, getJustification, getNavLinkStyles, getTableRefWidthStyles, getTableStyles, headerContentPaddingX, headerRenderFn, hoverStyles, increment, insertAtIndex, isContentColumn, isCursorBelowMidpoint, isGridCellContent, isGridTableProps, isJSX, isListBoxSection, isPersistentItem, isPersistentKey, isValidDate, joinDocumentTitleSegments, layoutGutterLeftColumnId, layoutGutterRightColumnId, listFieldPrefix, loadArrayOrUndefined, marker, matchesFilter, maybeCssVar, maybeInc, maybeTooltip, multiFilter, navLink, newMethodMissingProxy, nonKindGridColumnKeys, numberRangeFilter, numericColumn, pageContentGutterPx, pageContentPaddingX, parseDate, parseDateRange, parseWidthToPx, persistentItemPrefix, pinColumn, pressedOverlayCss, px, recursivelyGetContainingRow, reservedRowKinds, resolveGridTableLayoutStyle, resolveTableContentWidth, resolveTooltip, rowClickRenderFn, rowLinkRenderFn, selectColumn, setDefaultStyle, setEnvironmentFavicon, setGridTableDefaults, setRunningInJest, shouldShowEnvironmentBanner, shouldSkipScrollTo, simpleDataRows, simpleHeader, singleFilter, sortFn, sortRows, stickyNavAndHeaderOffset, stickyTableHeaderOffset, sumColumnSizesPx, switchFocusStyles, switchHoverStyles, switchSelectedHoverStyles, toContent, toLimitAndOffset, toPageNumberSize, toggleFilter, toggleFocusStyles, toggleHoverStyles, togglePressStyles, treeFilter, updateFilter, useAutoSaveStatus, useBodyBackgroundColor, useBreakpoint, useComputed, useContentOverflow, useContrastScope, useDnDGridItem, type useDnDGridItemProps, useDocumentTitle, useFilter, useGridTableApi, useGridTableLayoutState, useGroupBy, useHasSideNavLayoutProvider, useHover, useModal, usePersistedFilter, useQueryState, useResponsiveGrid, useResponsiveGridItem, type useResponsiveGridProps, useRightPane, useRightPaneContext, useRuntimeStyle, useScrollableParent, useSessionStorage, useSetupColumnSizes, useSideNavLayoutContext, useSnackbar, useSuperDrawer, useTestIds, useToast, useTreeSelectFieldProvider, useVirtualizedScrollParent, visit, withColumnGutters, zIndices };
|
|
10555
|
+
export { ASC, Accordion, AccordionList, type AccordionProps, type AccordionSize, type ActionButtonProps, AiBanner, type AiBannerProps, AiLoader, type AiLoaderProps, AiLoadingPanel, type AiLoadingPanelProps, AiPanel, type AiPanelProps, AiSlimBanner, type AiSlimBannerProps, type AppEnvironment, type AppNavGroup, type AppNavItem, type AppNavLink, type AppNavSection, type AppNavSectionItem, AutoSaveIndicator, AutoSaveStatus, AutoSaveStatusContext, AutoSaveStatusProvider, Autocomplete, type AutocompleteProps, Avatar, AvatarButton, type AvatarButtonProps, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarSize, Banner, type BannerProps, type BannerTypes, BaseFilter, type BaseQueryTableProps, type BaseTableProps, type BeamButtonProps, type BeamColor, type BeamFocusableProps, BeamLogo, BeamProvider, type BeamTextFieldProps, BlueprintAiLogo, BoundCheckboxField, type BoundCheckboxFieldProps, BoundCheckboxGroupField, type BoundCheckboxGroupFieldProps, BoundChipSelectField, BoundDateField, type BoundDateFieldProps, BoundDateRangeField, type BoundDateRangeFieldProps, BoundForm, type BoundFormInputConfig, type BoundFormProps, type BoundFormRowInputs, BoundMultiLineSelectField, type BoundMultiLineSelectFieldProps, BoundMultiSelectCardGroupField, type BoundMultiSelectCardGroupFieldProps, BoundMultiSelectField, type BoundMultiSelectFieldProps, BoundNumberField, type BoundNumberFieldProps, BoundRadioGroupField, type BoundRadioGroupFieldProps, BoundRichTextField, type BoundRichTextFieldProps, BoundSelectAndTextField, BoundSelectCardGroupField, type BoundSelectCardGroupFieldProps, BoundSelectField, type BoundSelectFieldProps, BoundSwitchField, type BoundSwitchFieldProps, BoundTextAreaField, type BoundTextAreaFieldProps, BoundTextField, type BoundTextFieldProps, BoundToggleChipGroupField, type BoundToggleChipGroupFieldProps, BoundTreeSelectField, type BoundTreeSelectFieldProps, type Breadcrumb, Breadcrumbs, type BreadcrumbsProps, type Breakpoint, Breakpoints, type BuildtimeStyles, Button, ButtonDatePicker, ButtonGroup, type ButtonGroupButton, type ButtonGroupProps, ButtonMenu, type ButtonMenuProps, ButtonModal, type ButtonModalProps, type ButtonProps, type ButtonSize, type ButtonVariant, Card, type CardBadgeSlot, type CardBadgeTag, type CardDataBlockSlot, type CardEyebrowSlot, type CardProgressSlot, type CardProps, type CardSlot, type CardStatusSlot, type CardTag, type CardTitleSlot, type CardType, CenteredLayout, type CenteredLayoutProps, type CenteredLayoutSize, type CheckFn, Checkbox, CheckboxGroup, type CheckboxGroupItemOption, type CheckboxGroupProps, type CheckboxProps, Chip, type ChipProps, ChipSelectField, type ChipSelectFieldProps, type ChipType, ChipTypes, type ChipValue, Chips, type ChipsProps, CollapseToggle, CollapsedContext, type ColumnLayoutResult, type CompanionConfig, type CompanionContent, type CompanionPosition, ConfirmCloseModal, ContentHeader, type ContentHeaderProps, type ContentStack, ContrastScope, Copy, CountBadge, type CountBadgeProps, Css, CssReset, type CssSetVarKeys, type CssSetVarScalar, type CssSetVarValue, DESC, DateField, type DateFieldFormat, type DateFieldMode, type DateFieldProps, type DateFilterValue, type DateMatcher, type DateRange, DateRangeField, type DateRangeFieldProps, type DateRangeFilterValue, type DefinedFilterValue, type Direction, type DiscriminateUnion, type DividerMenuItemType, DnDGrid, DnDGridItemHandle, type DnDGridItemHandleProps, type DnDGridItemProps, type DnDGridProps, DocumentScrollRightPaneLayout, type DocumentScrollRightPaneLayoutProps, type DocumentTitleConfig, DocumentTitleProvider, type DragData, EXPANDABLE_HEADER, EditColumnsButton, EnvironmentBanner, EnvironmentBannerLayout, type EnvironmentBannerLayoutProps, type EnvironmentBannerProps, type EnvironmentFaviconUrls, ErrorMessage, FieldGroup, type Filter, type FilterDefs, type FilterImpls, FilterModal, _Filters as Filters, type FixedSort, type Font, FormDivider, FormHeading, type FormHeadingProps, FormLines, type FormLinesProps, FormPageLayout, FormRow, FormSection$1 as FormSection, type FormSectionAction, type FormSectionConfig, FormSectionLayout, type FormSectionLayoutProps, type FormSectionProps, type FormWidth, FullBleed, type GridCellAlignment, type GridCellContent, type GridColumn, type GridColumnBorder, type GridColumnWithId, type GridDataRow, type GridRowCompanion, type GridRowKind, type GridRowLookup, type GridSortConfig, type GridStyle, GridTable, type GridTableApi, type GridTableCollapseToggleProps, type GridTableDefaults, GridTableEmptyState, type GridTableEmptyStateProps, GridTableLayout, type GridTableLayoutProps, type GridTableProps, type GridTablePropsWithRows, type GridTableScrollOptions, type GridTableXss, type GroupByHook, HB_QUIPS_FLAVOR, HB_QUIPS_MISSION, HEADER, type HasIdAndName, HbLoadingSpinner, HbSpinnerProvider, type HeaderAction, HelperText, HomeboundLogo, Icon, IconButton, type IconButtonProps, type IconButtonVariant, type IconKey, type IconMenuItemType, type IconProps, Icons, type IfAny, type ImageFitType, type ImageMenuItemType, type ImpersonatedUser, type InfiniteScroll, type InlineStyle, type InputStylePalette, JumpLink, type JumpLinkProps, KEPT_GROUP, type Kinded, Loader, LoadingSkeleton, type LoadingSkeletonProps, type LogoSizeProps, type Margin, type Marker, MaxLines, type MaxLinesProps, type MaybeFn, type MenuItem, type MenuSection, ModalBody, ModalFilterItem, ModalFooter, ModalHeader, type ModalProps, type ModalSize, MultiLineSelectField, type MultiLineSelectFieldProps, MultiSelectCardGroup, type MultiSelectCardGroupProps, MultiSelectField, type MultiSelectFieldProps, NavLink, type NavLinkProps, type NavLinkVariant, Navbar, NavbarLayout, type NavbarLayoutProps, type NavbarProps, type NavbarUser, type NestedOption, type NestedOptionsOrLoad, NumberField, type NumberFieldProps, type NumberFieldType, type OffsetAndLimit, type OnRowDragEvent, type OnRowSelect, type Only, type OpenDetailOpts, type OpenInDrawerOpts, OpenModal, type OpenRightPaneOpts, type Optional, type Padding, PageHeaderLayout, type PageHeaderLayoutProps, type PageNumberAndSize, type PageSettings, Pagination, Palette, PinToggle, type Placement, type PlainDate, type PlainFormSectionChild, type PresentationFieldProps, PresentationProvider, PreventBrowserScroll, type Properties, RIGHT_SIDEBAR_MIN_WIDTH, type RadioFieldOption, RadioGroupField, type RadioGroupFieldProps, type RenderAs, type RenderCellFn, type ReorderableFormSectionChild, ResponsiveGrid, type ResponsiveGridConfig, ResponsiveGridContext, ResponsiveGridItem, type ResponsiveGridItemProps, type ResponsiveGridProps, RichTextField, RichTextFieldImpl, type RichTextFieldProps, RightPaneContext, RightPaneLayout, type RightPaneLayoutContextProps, RightPaneProvider, RightSidebar, type RightSidebarProps, type RouteTab, type RouteTabWithContent, Row, type RowStyle, type RowStyles, RuntimeCss, type RuntimeStyles, SIDE_NAV_LAYOUT_STATE_STORAGE_KEY, ScrollShadows, ScrollableContent, ScrollableFooter, ScrollableParent, type SelectCardGridGroupItemOption, SelectCardGroup, type SelectCardGroupItemOption, type SelectCardGroupProps, type SelectCardLayout, type SelectCardListGroupItemOption, type SelectCardView, SelectField, type SelectFieldProps, SelectToggle, type SelectedFilterLabelValue, type SelectedState, SideNav, SideNavLayout, type SideNavLayoutContextProps, type SideNavLayoutProps, SideNavLayoutProvider, type SideNavLayoutState, type SideNavProps, type SidePanelProps, type SidebarContentProps, type SimpleHeaderAndData, SortHeader, type SortOn, type SortState, StaticField, type Step, Stepper, type StepperProps, StepperTab, type StepperTabProps, StepperTabs, type StepperTabsProps, type StepperTabsStep, type StyleKind, SubmitButton, type SubmitButtonProps, SuperDrawerContent, SuperDrawerHeader, SuperDrawerWidth, type SupportedDateFormat, Switch, type SwitchProps, TOTALS, type Tab, TabContent, type TabWithContent, TableReviewLayout, type TableReviewLayoutProps, TableState, TableStateContext, type TableView, Tabs, TabsWithContent, Tag, TagGroup, type TagGroupItem, type TagGroupProps, type TagProps, type TagType, type TagVariant, type TagXss, type TestIds, TextAreaField, type TextAreaFieldProps, TextField, type TextFieldApi, type TextFieldInternalProps, type TextFieldProps, type TextFieldXss, Toast, ToggleButton, type ToggleButtonProps, ToggleChip, ToggleChipGroup, type ToggleChipGroupProps, type ToggleChipProps, ToggleChips, type ToggleChipsProps, Tokens, Tooltip, TreeSelectField, type TreeSelectFieldProps, type TriggerNoticeProps, type Typography, type UseModalHook, type UsePersistedFilterProps, type UseQueryState, type UseRightPaneHook, type UseSnackbarHook, type UseSuperDrawerHook, type UseToastProps, type Value, ViewToggleButton, WorkflowLayout, type WorkflowLayoutProps, type WorkflowLayoutStep, type Xss, type ZIndex, actionColumn, applyRowFn, assignDefaultColumnIds, bannerAndNavbarChromeTop, beamEnvironmentBannerLayoutHeightVar, beamFloatingRightOffsetVar, beamLayoutContentPaddingXVar, beamLayoutViewportHeightVar, beamLayoutViewportWidthVar, beamNavbarLayoutHeightVar, beamPageHeaderLayoutHeightVar, beamRightPaneWidthVar, beamSideNavLayoutWidthVar, beamTableActionsHeightVar, beamWorkflowLayoutFooterHeightVar, booleanFilter, boundCheckboxField, boundCheckboxGroupField, boundDateField, boundDateRangeField, boundMultiSelectCardGroupField, boundMultiSelectField, boundMultilineSelectField, boundNumberField, boundRadioGroupField, boundRichTextField, boundSelectCardGroupField, boundSelectField, boundSwitchField, boundTextAreaField, boundTextField, boundToggleChipGroupField, boundTreeSelectField, calcColumnLayout, calcColumnSizes, cardBadgeSlot, cardDataBlockSlot, cardEyebrowSlot, cardProgressSlot, cardStatusSlot, cardStyle, cardTitleSlot, checkboxFilter, chipBaseStyles, chipDisabledStyles, chipHoverOnlyStyles, chipHoverStyles, collapseColumn, column, condensedStyle, contrastDataTheme, createRowLookup, dateColumn, dateFilter, dateFormats, dateRangeFilter, defaultDocumentScrollRightPaneWidth, defaultPage, defaultRenderFn, defaultStyle, defaultTestId, documentScrollChromeLeft, documentScrollChromeWidth, documentScrollContentLeft, documentScrollContentWidth, documentScrollRightPaneHeight, documentScrollRightPaneWidth, dragHandleColumn, emptyCell, ensureClientSideSortValueIsSortable, environmentBannerSizePx, filterTestIdPrefix, formatDate, formatDateRange, formatPlainDate, formatValue, generateColumnId, getActiveFilterCount, getAlignment, getColumnBorderCss, getDateFormat, getFirstOrLastCellCss, getFloatingBottomOffset, getFloatingRightOffset, getJustification, getNavLinkStyles, getTableRefWidthStyles, getTableStyles, headerContentPaddingX, headerRenderFn, hoverStyles, increment, insertAtIndex, isContentColumn, isCursorBelowMidpoint, isGridCellContent, isGridTableProps, isJSX, isListBoxSection, isPersistentItem, isPersistentKey, isValidDate, joinDocumentTitleSegments, layoutGutterLeftColumnId, layoutGutterRightColumnId, listFieldPrefix, loadArrayOrUndefined, marker, matchesFilter, maybeCssVar, maybeInc, maybeTooltip, multiFilter, navLink, newMethodMissingProxy, nonKindGridColumnKeys, numberRangeFilter, numericColumn, pageContentGutterPx, pageContentPaddingX, parseDate, parseDateRange, parseWidthToPx, persistentItemPrefix, pinColumn, pressedOverlayCss, px, recursivelyGetContainingRow, reservedRowKinds, resolveGridTableLayoutStyle, resolveTableContentWidth, resolveTooltip, rowClickRenderFn, rowLinkRenderFn, selectColumn, setDefaultStyle, setEnvironmentFavicon, setGridTableDefaults, setRunningInJest, shouldShowEnvironmentBanner, shouldSkipScrollTo, simpleDataRows, simpleHeader, singleFilter, sortFn, sortRows, stickyNavAndHeaderOffset, stickyTableHeaderOffset, sumColumnSizesPx, switchFocusStyles, switchHoverStyles, switchSelectedHoverStyles, toContent, toLimitAndOffset, toPageNumberSize, toggleFilter, toggleFocusStyles, toggleHoverStyles, togglePressStyles, treeFilter, updateFilter, useAutoSaveStatus, useBodyBackgroundColor, useBreakpoint, useComputed, useContentOverflow, useContrastScope, useDnDGridItem, type useDnDGridItemProps, useDocumentTitle, useFilter, useGridTableApi, useGridTableLayoutState, useGroupBy, useHasSideNavLayoutProvider, useHover, useModal, usePersistedFilter, useQueryState, useResponsiveGrid, useResponsiveGridItem, type useResponsiveGridProps, useRightPane, useRightPaneContext, useRuntimeStyle, useScrollableParent, useSessionStorage, useSetupColumnSizes, useSideNavLayoutContext, useSnackbar, useSuperDrawer, useTestIds, useToast, useTreeSelectFieldProvider, useVirtualizedScrollParent, visit, withColumnGutters, zIndices };
|