@iris-ui-kit/react 0.2.1 → 0.2.3
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/admin.cjs +34 -27
- package/dist/admin.cjs.map +1 -1
- package/dist/admin.js +2 -2
- package/dist/behaviors.cjs +45 -0
- package/dist/behaviors.cjs.map +1 -1
- package/dist/behaviors.d.cts +38 -1
- package/dist/behaviors.d.ts +38 -1
- package/dist/behaviors.js +1 -1
- package/dist/{chunk-6BMFMCMQ.js → chunk-6S6MZC5G.js} +11 -4
- package/dist/chunk-6S6MZC5G.js.map +1 -0
- package/dist/{chunk-SJO74IB3.js → chunk-7ILMMLK6.js} +2 -2
- package/dist/chunk-7ILMMLK6.js.map +1 -0
- package/dist/{chunk-INEPOSCN.js → chunk-CYQO33XH.js} +3 -6
- package/dist/chunk-CYQO33XH.js.map +1 -0
- package/dist/{chunk-LXMTXHAS.js → chunk-KRFZ5KL4.js} +28 -28
- package/dist/chunk-KRFZ5KL4.js.map +1 -0
- package/dist/{chunk-53KFLVIZ.js → chunk-QZJXMCRR.js} +3 -2
- package/dist/chunk-QZJXMCRR.js.map +1 -0
- package/dist/{chunk-B4RS5WKC.js → chunk-V3KHE2WB.js} +137 -75
- package/dist/chunk-V3KHE2WB.js.map +1 -0
- package/dist/{chunk-BCL32KSE.js → chunk-ZE4GH2GV.js} +49 -5
- package/dist/chunk-ZE4GH2GV.js.map +1 -0
- package/dist/data.cjs +1 -0
- package/dist/data.cjs.map +1 -1
- package/dist/data.d.cts +4 -2
- package/dist/data.d.ts +4 -2
- package/dist/data.js +1 -1
- package/dist/floating.cjs +9 -2
- package/dist/floating.cjs.map +1 -1
- package/dist/floating.js +1 -1
- package/dist/index.cjs +4351 -2142
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +508 -23
- package/dist/index.d.ts +508 -23
- package/dist/index.js +3957 -1860
- package/dist/index.js.map +1 -1
- package/dist/layouts.cjs.map +1 -1
- package/dist/layouts.js +1 -1
- package/dist/skeletons.cjs +135 -73
- package/dist/skeletons.cjs.map +1 -1
- package/dist/skeletons.js +1 -1
- package/dist/undo.cjs +1 -4
- package/dist/undo.cjs.map +1 -1
- package/dist/undo.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-53KFLVIZ.js.map +0 -1
- package/dist/chunk-6BMFMCMQ.js.map +0 -1
- package/dist/chunk-B4RS5WKC.js.map +0 -1
- package/dist/chunk-BCL32KSE.js.map +0 -1
- package/dist/chunk-INEPOSCN.js.map +0 -1
- package/dist/chunk-LXMTXHAS.js.map +0 -1
- package/dist/chunk-SJO74IB3.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as _iris_ui_kit_core from '@iris-ui-kit/core';
|
|
1
2
|
import { ReadonlyStore, Store, MachineEvent, Machine, MachineState, RealtimeHandlers, RealtimeOptions, RealtimeStatus, DisposableScope, ResilientFetcherOptions, ResilientFetcher, Variant, Size, Placement, SpreadsheetXmlOptions } from '@iris-ui-kit/core';
|
|
2
3
|
export { AdminPreferences, AdminPreferencesState, Align, DataSourceConfig, DataSourceController, DataSourceMode, DataSourceMutateOptions, DataSourceQuery, DataSourceState, DataViewColumn, FloatingEvent, FloatingMachine, FloatingState, GroupedViewConfig, GroupedViewState, GroupedViewStore, IrisHsva, PageItem as IrisPageItem, IrisRgba, Machine, MachineConfig, MachineEvent, MachineState, MutateOptions, NavNode, Placement, ResourceController, ResourceControllerConfig, ResourceQuery, ResourceState, RowMutateOptions, Side, Size, StateNode, Store, TabItem, TabsNav, TabsNavConfig, TabsNavState, Transition, Variant, addDays, addMonths, buildMonthMatrix, clamp01, clampDate, composeEventHandlers, createAdminPreferences, createClientDataSource, createClientFetcher, createDataSource, createFloatingMachine, createGroupedView, createMachine, createResourceController, createStore, createTabsNav, endOfMonth, filterNavByAccess, findNavNode, findNavPath, firstLeaf, flattenNav, formatLocalISO, formatMonthYear, generateId, getPageRange, getWeekdayNames, hexToRgba, hsvToRgb, hsvaToRgba, isBranch, isClosable, isOutOfRange, isSameDay, isSameMonth, localStorageAdminPreferencesStorage, mergeProps, nodeAllowsRoles, rgbToHex, rgbToHsv, rgbaToHsva, startOfDay, startOfMonth, visibleNav } from '@iris-ui-kit/core';
|
|
3
4
|
export { ThemeProvider, ThemeProviderProps, UseThemeReturn, useColorScheme, useDirection, useTheme, useThemeContext, useThemeOptional } from './theme.js';
|
|
@@ -5,7 +6,7 @@ export { ApplySkinResult, LoadSkinOptions, ResolvedSkin, Skin, SkinBootScriptCon
|
|
|
5
6
|
export { SkinProvider, SkinProviderProps, UseSkinReturn, useSkin, useSkinContext, useSkinOptional } from './skins.js';
|
|
6
7
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
7
8
|
import * as React from 'react';
|
|
8
|
-
import { ButtonHTMLAttributes, ReactNode, CSSProperties, MouseEventHandler } from 'react';
|
|
9
|
+
import { ButtonHTMLAttributes, ReactNode, CSSProperties, MouseEventHandler, MutableRefObject } from 'react';
|
|
9
10
|
import { IrisIconRegistry } from '@iris-ui-kit/icons';
|
|
10
11
|
export { CreateIconRegistryOptions, IrisIconNode, IrisIconRegistry, IrisIconResolver, IrisIconSet, RenderIconOptions, ThemeIconConfig, createIconRegistry, defaultIconRegistry, defaultIcons, renderIconSvg, resolveIcon, resolveThemedIcon } from '@iris-ui-kit/icons';
|
|
11
12
|
export { FieldInputProps, FormContext, IrisForm, IrisFormProps, UseFieldArrayReturn, UseFieldReturn, UseFormReturn, useField, useFieldArray, useForm, useFormContext } from './form.js';
|
|
@@ -14,7 +15,7 @@ export { UseAsyncResourceOptions, UseAsyncResourceReturn, UsePaginatedResourceOp
|
|
|
14
15
|
export { UseResourceController, useResourceController } from './resource.js';
|
|
15
16
|
export { UseDataSource, UseGroupedView, useDataSource, useGroupedView } from './data.js';
|
|
16
17
|
export { DATA_STATE_CLASS, DataStateNodeProps, UseDataStateReturn, __resetDataStateStyles, installDataStateStyles, useDataState, usePrefersReducedMotion } from './motion.js';
|
|
17
|
-
export { IrisClickOutside, IrisClickOutsideProps, IrisHotkey, IrisHotkeyProps, IrisLongPress, IrisLongPressProps, IrisMovable, IrisMovableBounds, IrisMovablePosition, IrisMovableProps, IrisResizable, IrisResizableHandle, IrisResizableProps, IrisResizableSize, IrisSortable, IrisSortableProps, SORTABLE_ITEM_ATTR } from './behaviors.js';
|
|
18
|
+
export { IrisClickOutside, IrisClickOutsideProps, IrisCompose, IrisComposeProps, IrisHotkey, IrisHotkeyProps, IrisLongPress, IrisLongPressProps, IrisMovable, IrisMovableBounds, IrisMovablePosition, IrisMovableProps, IrisResizable, IrisResizableHandle, IrisResizableProps, IrisResizableSize, IrisSortable, IrisSortableProps, SORTABLE_ITEM_ATTR } from './behaviors.js';
|
|
18
19
|
export { UndoStackReactiveState, useUndoStack } from './undo.js';
|
|
19
20
|
export { UndoStack, UndoStackOptions, createUndoStack } from '@iris-ui-kit/core/undo';
|
|
20
21
|
export { IrisContainer, IrisContainerMaxWidth, IrisContainerProps, IrisDashboardCard, IrisDashboardCardProps, IrisDashboardGrid, IrisDashboardGridProps, IrisGrid, IrisGridColumns, IrisGridProps, IrisHeaderLayout, IrisHeaderLayoutProps, IrisStack, IrisStackAlign, IrisStackDirection, IrisStackJustify, IrisStackProps } from './layouts.js';
|
|
@@ -586,6 +587,12 @@ interface IrisComboboxProps {
|
|
|
586
587
|
ariaDescribedby?: string;
|
|
587
588
|
style?: React.CSSProperties;
|
|
588
589
|
className?: string;
|
|
590
|
+
/**
|
|
591
|
+
* Opt-in windowed rendering of the listbox via the core virtualizer.
|
|
592
|
+
* When true, only the visible window (+ buffer) of options is rendered;
|
|
593
|
+
* keyboard navigation scrolls the active option into view. Default false.
|
|
594
|
+
*/
|
|
595
|
+
virtual?: boolean;
|
|
589
596
|
}
|
|
590
597
|
/**
|
|
591
598
|
* Filterable single-select (searchable select): a text input that type-ahead
|
|
@@ -595,7 +602,7 @@ interface IrisComboboxProps {
|
|
|
595
602
|
*
|
|
596
603
|
* React port of {@link import('@iris-ui-kit/vue').IrisCombobox}.
|
|
597
604
|
*/
|
|
598
|
-
declare function IrisCombobox({ value: valueProp, defaultValue, onValueChange, options, placeholder, disabled, invalid, size, emptyText, id, ariaDescribedby, style, className, ...rest }: IrisComboboxProps): React.ReactElement;
|
|
605
|
+
declare function IrisCombobox({ value: valueProp, defaultValue, onValueChange, options, placeholder, disabled, invalid, size, emptyText, id, ariaDescribedby, style, className, virtual, ...rest }: IrisComboboxProps): React.ReactElement;
|
|
599
606
|
|
|
600
607
|
type IrisTimelineVariant = 'default' | 'success' | 'warning' | 'danger' | 'info';
|
|
601
608
|
interface IrisTimelineItem {
|
|
@@ -661,6 +668,7 @@ declare function IrisCarousel({ children, index: indexProp, defaultIndex, onInde
|
|
|
661
668
|
|
|
662
669
|
type IrisStatisticSize = 'sm' | 'md' | 'lg';
|
|
663
670
|
type IrisStatisticTrend = 'up' | 'down' | 'neutral';
|
|
671
|
+
type IrisStatisticTone = 'success' | 'danger' | 'neutral';
|
|
664
672
|
interface IrisStatisticProps {
|
|
665
673
|
label?: React.ReactNode;
|
|
666
674
|
value: React.ReactNode;
|
|
@@ -673,6 +681,11 @@ interface IrisStatisticProps {
|
|
|
673
681
|
trend?: IrisStatisticTrend;
|
|
674
682
|
/** Trend magnitude text (e.g. "12%"). */
|
|
675
683
|
trendValue?: React.ReactNode;
|
|
684
|
+
/**
|
|
685
|
+
* Override the trend arrow color (defaults to direction semantics:
|
|
686
|
+
* up=success, down=danger). Use for cost/risk KPIs where "up" is bad.
|
|
687
|
+
*/
|
|
688
|
+
trendTone?: IrisStatisticTone;
|
|
676
689
|
size?: IrisStatisticSize;
|
|
677
690
|
style?: React.CSSProperties;
|
|
678
691
|
className?: string;
|
|
@@ -685,7 +698,7 @@ interface IrisStatisticProps {
|
|
|
685
698
|
*
|
|
686
699
|
* React port of {@link import('@iris-ui-kit/vue').IrisStatistic}.
|
|
687
700
|
*/
|
|
688
|
-
declare function IrisStatistic({ label, value, prefix, suffix, description, trend, trendValue, size, style, className, ...rest }: IrisStatisticProps): React.ReactElement;
|
|
701
|
+
declare function IrisStatistic({ label, value, prefix, suffix, description, trend, trendTone, trendValue, size, style, className, ...rest }: IrisStatisticProps): React.ReactElement;
|
|
689
702
|
|
|
690
703
|
type IrisDescriptionsLayout = 'horizontal' | 'vertical';
|
|
691
704
|
interface IrisDescriptionsItem {
|
|
@@ -719,6 +732,18 @@ interface IrisTransferItem {
|
|
|
719
732
|
value: string;
|
|
720
733
|
disabled?: boolean;
|
|
721
734
|
}
|
|
735
|
+
/** Opt-in windowed rendering of a pane's list (mirrors `IrisTableVirtualOptions`). */
|
|
736
|
+
interface IrisTransferVirtualOptions {
|
|
737
|
+
/** Per-item height in px (uniform). */
|
|
738
|
+
itemHeight: number;
|
|
739
|
+
/**
|
|
740
|
+
* Viewport height. Number → px; string → CSS length. Defaults to the pane's
|
|
741
|
+
* intrinsic list height (200px).
|
|
742
|
+
*/
|
|
743
|
+
height?: number | string;
|
|
744
|
+
/** Extra rows rendered above and below the viewport. */
|
|
745
|
+
buffer?: number;
|
|
746
|
+
}
|
|
722
747
|
interface IrisTransferProps {
|
|
723
748
|
options: IrisTransferItem[];
|
|
724
749
|
/** Values currently in the target (selected) pane. */
|
|
@@ -730,6 +755,11 @@ interface IrisTransferProps {
|
|
|
730
755
|
/** Show a search box per pane. */
|
|
731
756
|
searchable?: boolean;
|
|
732
757
|
disabled?: boolean;
|
|
758
|
+
/**
|
|
759
|
+
* Opt-in windowed rendering of both pane lists via the core virtualizer
|
|
760
|
+
* (10k+ options stay smooth). Off by default — the plain path is unchanged.
|
|
761
|
+
*/
|
|
762
|
+
virtual?: IrisTransferVirtualOptions;
|
|
733
763
|
style?: React.CSSProperties;
|
|
734
764
|
className?: string;
|
|
735
765
|
}
|
|
@@ -741,7 +771,7 @@ interface IrisTransferProps {
|
|
|
741
771
|
*
|
|
742
772
|
* React port of {@link import('@iris-ui-kit/vue').IrisTransfer}.
|
|
743
773
|
*/
|
|
744
|
-
declare function IrisTransfer({ options, value: valueProp, defaultValue, onValueChange, titles, searchable, disabled, style, className, ...rest }: IrisTransferProps): React.ReactElement;
|
|
774
|
+
declare function IrisTransfer({ options, value: valueProp, defaultValue, onValueChange, titles, searchable, disabled, virtual, style, className, ...rest }: IrisTransferProps): React.ReactElement;
|
|
745
775
|
|
|
746
776
|
interface IrisWatermarkProps {
|
|
747
777
|
/** Watermark text, tiled across the area. */
|
|
@@ -884,6 +914,13 @@ interface IrisMentionsProps {
|
|
|
884
914
|
disabled?: boolean;
|
|
885
915
|
invalid?: boolean;
|
|
886
916
|
rows?: number;
|
|
917
|
+
/**
|
|
918
|
+
* Opt-in windowed rendering of the suggestion listbox via the core
|
|
919
|
+
* virtualizer. When true, only the visible window (+ buffer) of options is
|
|
920
|
+
* rendered; keyboard navigation scrolls the active option into view and
|
|
921
|
+
* every keystroke re-anchors the window to the top. Default false.
|
|
922
|
+
*/
|
|
923
|
+
virtual?: boolean;
|
|
887
924
|
/** id forwarded to the textarea. Set by `IrisFormField`. */
|
|
888
925
|
id?: string;
|
|
889
926
|
ariaDescribedby?: string;
|
|
@@ -898,7 +935,7 @@ interface IrisMentionsProps {
|
|
|
898
935
|
*
|
|
899
936
|
* React port of {@link import('@iris-ui-kit/vue').IrisMentions}.
|
|
900
937
|
*/
|
|
901
|
-
declare function IrisMentions({ value, defaultValue, onValueChange, options, prefix, placeholder, disabled, invalid, rows, id, ariaDescribedby, style, className, ...rest }: IrisMentionsProps): React.ReactElement;
|
|
938
|
+
declare function IrisMentions({ value, defaultValue, onValueChange, options, prefix, placeholder, disabled, invalid, rows, virtual, id, ariaDescribedby, style, className, ...rest }: IrisMentionsProps): React.ReactElement;
|
|
902
939
|
|
|
903
940
|
type IrisCascaderSize = 'sm' | 'md' | 'lg';
|
|
904
941
|
interface IrisCascaderNode {
|
|
@@ -919,6 +956,12 @@ interface IrisCascaderProps {
|
|
|
919
956
|
/** Separator between path labels in the trigger. */
|
|
920
957
|
separator?: string;
|
|
921
958
|
size?: IrisCascaderSize;
|
|
959
|
+
/**
|
|
960
|
+
* Opt-in: window each open column with the core virtualizer instead of
|
|
961
|
+
* rendering every option. Fixed deterministic sizing (viewport 240px, row
|
|
962
|
+
* height per size, buffer 4). Default false — no behavior change.
|
|
963
|
+
*/
|
|
964
|
+
virtual?: boolean;
|
|
922
965
|
id?: string;
|
|
923
966
|
ariaDescribedby?: string;
|
|
924
967
|
style?: React.CSSProperties;
|
|
@@ -932,7 +975,7 @@ interface IrisCascaderProps {
|
|
|
932
975
|
*
|
|
933
976
|
* React port of {@link import('@iris-ui-kit/vue').IrisCascader}.
|
|
934
977
|
*/
|
|
935
|
-
declare function IrisCascader({ options, value, defaultValue, onValueChange, placeholder, disabled, invalid, separator, size, id, ariaDescribedby, style, className, ...rest }: IrisCascaderProps): React.ReactElement;
|
|
978
|
+
declare function IrisCascader({ options, value, defaultValue, onValueChange, placeholder, disabled, invalid, separator, size, virtual, id, ariaDescribedby, style, className, ...rest }: IrisCascaderProps): React.ReactElement;
|
|
936
979
|
|
|
937
980
|
type IrisSegmentedSize = 'sm' | 'md' | 'lg';
|
|
938
981
|
interface IrisSegmentedOption {
|
|
@@ -1264,6 +1307,11 @@ interface IrisGaugeProps {
|
|
|
1264
1307
|
/** Diameter in px. */
|
|
1265
1308
|
size?: number;
|
|
1266
1309
|
strokeWidth?: number;
|
|
1310
|
+
/**
|
|
1311
|
+
* Semantic status — drives the stroke color. Explicit by design (honesty
|
|
1312
|
+
* preserved): for threshold-based decision support, derive it yourself,
|
|
1313
|
+
* e.g. `status={value > 80 ? 'danger' : value > 60 ? 'warning' : 'success'}`.
|
|
1314
|
+
*/
|
|
1267
1315
|
status?: IrisGaugeStatus;
|
|
1268
1316
|
showValue?: boolean;
|
|
1269
1317
|
/** Custom center label given the value and rounded percent. */
|
|
@@ -2284,11 +2332,31 @@ interface IrisSelectItem<T = unknown> {
|
|
|
2284
2332
|
}
|
|
2285
2333
|
|
|
2286
2334
|
type IrisSelectSize = Size;
|
|
2335
|
+
/**
|
|
2336
|
+
* State handed to `renderTrigger`. Additive superset of the historical
|
|
2337
|
+
* `{ value, label, open }` — existing destructuring callers keep compiling.
|
|
2338
|
+
*/
|
|
2339
|
+
interface IrisSelectTriggerState<T = unknown> {
|
|
2340
|
+
value: T | undefined;
|
|
2341
|
+
label: string;
|
|
2342
|
+
open: boolean;
|
|
2343
|
+
/** Forwarded from the `id` prop; set by `IrisFormField`. */
|
|
2344
|
+
id?: string;
|
|
2345
|
+
/** Forwarded from the `ariaDescribedby` prop; set by `IrisFormField`. */
|
|
2346
|
+
ariaDescribedby?: string;
|
|
2347
|
+
/** Always present; `true` when the FormField (or caller) marks invalid. */
|
|
2348
|
+
invalid: boolean;
|
|
2349
|
+
/** Always present; `true` when the select is disabled. */
|
|
2350
|
+
disabled: boolean;
|
|
2351
|
+
}
|
|
2287
2352
|
interface IrisSelectProps<T = unknown> {
|
|
2288
2353
|
items: IrisSelectItem<T>[];
|
|
2289
|
-
value
|
|
2290
|
-
|
|
2291
|
-
|
|
2354
|
+
/** Single value, or an array when `multiple`. */
|
|
2355
|
+
value?: T | T[];
|
|
2356
|
+
defaultValue?: T | T[];
|
|
2357
|
+
onValueChange?: (value: T | T[]) => void;
|
|
2358
|
+
/** Allow selecting multiple options (values become arrays). */
|
|
2359
|
+
multiple?: boolean;
|
|
2292
2360
|
placeholder?: string;
|
|
2293
2361
|
size?: IrisSelectSize;
|
|
2294
2362
|
disabled?: boolean;
|
|
@@ -2298,14 +2366,17 @@ interface IrisSelectProps<T = unknown> {
|
|
|
2298
2366
|
id?: string;
|
|
2299
2367
|
/** Forwarded as `aria-describedby` on the trigger. Set by `IrisFormField`. */
|
|
2300
2368
|
ariaDescribedby?: string;
|
|
2301
|
-
/** Custom render for the trigger button. Receives
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
label: string;
|
|
2305
|
-
open: boolean;
|
|
2306
|
-
}) => React.ReactNode;
|
|
2369
|
+
/** Custom render for the trigger button. Receives label + open state plus
|
|
2370
|
+
* the form wiring (`id` / `ariaDescribedby` / `invalid` / `disabled`). */
|
|
2371
|
+
renderTrigger?: (state: IrisSelectTriggerState<T>) => React.ReactNode;
|
|
2307
2372
|
style?: React.CSSProperties;
|
|
2308
2373
|
className?: string;
|
|
2374
|
+
/**
|
|
2375
|
+
* Opt-in windowed rendering of the listbox via the core virtualizer.
|
|
2376
|
+
* When true, only the visible window (+ buffer) of options is rendered;
|
|
2377
|
+
* keyboard navigation scrolls the active option into view. Default false.
|
|
2378
|
+
*/
|
|
2379
|
+
virtual?: boolean;
|
|
2309
2380
|
}
|
|
2310
2381
|
/**
|
|
2311
2382
|
* Single-select dropdown. Composes Popover (positioning + dismiss) with an
|
|
@@ -2320,12 +2391,12 @@ interface IrisSelectProps<T = unknown> {
|
|
|
2320
2391
|
* placeholder="Pick a fruit"
|
|
2321
2392
|
* />
|
|
2322
2393
|
*/
|
|
2323
|
-
declare function IrisSelect<T = unknown>({ items, value: valueProp, defaultValue, onValueChange, placeholder, size, disabled, placement, invalid, id, ariaDescribedby, renderTrigger, style, className, ...rest }: IrisSelectProps<T>): React.ReactElement;
|
|
2394
|
+
declare function IrisSelect<T = unknown>({ items, value: valueProp, defaultValue, onValueChange, multiple, placeholder, size, disabled, placement, invalid, id, ariaDescribedby, renderTrigger, style, className, virtual, ...rest }: IrisSelectProps<T>): React.ReactElement;
|
|
2324
2395
|
|
|
2325
2396
|
type IrisTableSortDirection = 'asc' | 'desc';
|
|
2326
2397
|
/** Map of column key → current width in px (after any resizing). */
|
|
2327
2398
|
type IrisTableColumnWidths = Record<string, number>;
|
|
2328
|
-
type IrisTableEditor = 'text' | 'number';
|
|
2399
|
+
type IrisTableEditor = 'text' | 'number' | 'select';
|
|
2329
2400
|
/** Aggregation op for a column's summary/footer cell. */
|
|
2330
2401
|
type IrisTableAggregateOp = 'sum' | 'avg' | 'min' | 'max' | 'count';
|
|
2331
2402
|
interface IrisTableVirtualOptions {
|
|
@@ -2340,12 +2411,100 @@ interface IrisTableSortState {
|
|
|
2340
2411
|
key: string;
|
|
2341
2412
|
direction: IrisTableSortDirection;
|
|
2342
2413
|
}
|
|
2414
|
+
/**
|
|
2415
|
+
* One search-form field (vxe-grid formConfig items parity). On submit the
|
|
2416
|
+
* field's value merges into the table filters under `key` (client-side path
|
|
2417
|
+
* or the proxy query); empty strings are inactive and stripped.
|
|
2418
|
+
*/
|
|
2419
|
+
interface IrisTableFormField {
|
|
2420
|
+
/** Filter key — matched against column keys and the query `filters` map. */
|
|
2421
|
+
key: string;
|
|
2422
|
+
/** Visible field label. */
|
|
2423
|
+
label: string;
|
|
2424
|
+
/** Control kind. Default `'text'`. */
|
|
2425
|
+
type?: 'text' | 'select';
|
|
2426
|
+
/** Options when `type: 'select'`. */
|
|
2427
|
+
options?: Array<{
|
|
2428
|
+
value: string;
|
|
2429
|
+
label: string;
|
|
2430
|
+
}>;
|
|
2431
|
+
placeholder?: string;
|
|
2432
|
+
/** Initial value; reset restores it. */
|
|
2433
|
+
defaultValue?: string;
|
|
2434
|
+
}
|
|
2435
|
+
/** Params delivered to `IrisTableProps.proxyConfig.query` (vxe proxyConfig parity). */
|
|
2436
|
+
interface IrisTableProxyQueryParams {
|
|
2437
|
+
/** 1-based page number. */
|
|
2438
|
+
page: number;
|
|
2439
|
+
pageSize: number;
|
|
2440
|
+
sort: IrisTableSortState | null;
|
|
2441
|
+
/**
|
|
2442
|
+
* Multi-column sort (vxe sort-config.multiple parity), most-significant
|
|
2443
|
+
* first. Present only in multiSort mode — single mode keeps passing `sort`.
|
|
2444
|
+
*/
|
|
2445
|
+
sorts?: IrisTableSortState[];
|
|
2446
|
+
filters: Record<string, string>;
|
|
2447
|
+
}
|
|
2448
|
+
/**
|
|
2449
|
+
* Edit-validation presentation (vxe-grid ValidConfig parity).
|
|
2450
|
+
*/
|
|
2451
|
+
interface IrisTableValidConfig {
|
|
2452
|
+
/**
|
|
2453
|
+
* Render the inline editor error message (`data-iris-table-editor-error`).
|
|
2454
|
+
* `false` still runs validation and blocks the commit — only the message
|
|
2455
|
+
* element is skipped (`aria-invalid` stays). Default true.
|
|
2456
|
+
*/
|
|
2457
|
+
showMessage?: boolean;
|
|
2458
|
+
}
|
|
2459
|
+
/** Params delivered to `IrisTableProps.seqMethod` (vxe seqMethod parity). */
|
|
2460
|
+
interface IrisTableSeqMethodParams {
|
|
2461
|
+
rowIndex: number;
|
|
2462
|
+
columnIndex: number;
|
|
2463
|
+
}
|
|
2464
|
+
/** Coordinates delivered to `IrisTableProps.onCellClick` (vxe cell-click parity). */
|
|
2465
|
+
interface IrisTableCellClickParams<Row = Record<string, unknown>> {
|
|
2466
|
+
row: Row;
|
|
2467
|
+
column: IrisTableColumn<Row>;
|
|
2468
|
+
rowIndex: number;
|
|
2469
|
+
columnIndex: number;
|
|
2470
|
+
}
|
|
2471
|
+
/**
|
|
2472
|
+
* Coordinates delivered to `IrisTableProps.contextMenu` callbacks (vxe
|
|
2473
|
+
* context-menu event params parity): the row/column under the cursor and its
|
|
2474
|
+
* grid position.
|
|
2475
|
+
*/
|
|
2476
|
+
interface IrisTableContextMenuParams<Row = Record<string, unknown>> {
|
|
2477
|
+
row: Row;
|
|
2478
|
+
column: IrisTableColumn<Row>;
|
|
2479
|
+
rowIndex: number;
|
|
2480
|
+
columnIndex: number;
|
|
2481
|
+
}
|
|
2343
2482
|
interface IrisTableColumn<Row = Record<string, unknown>> {
|
|
2344
2483
|
key: string;
|
|
2345
2484
|
title: string;
|
|
2485
|
+
/** Icon/content rendered before the header title (vxe title-prefix parity). */
|
|
2486
|
+
titlePrefix?: React.ReactNode;
|
|
2487
|
+
/** Icon/content rendered after the header title (vxe title-suffix parity). */
|
|
2488
|
+
titleSuffix?: React.ReactNode;
|
|
2346
2489
|
/** Path inside the row to read the cell value from. Defaults to `key`. */
|
|
2347
2490
|
dataIndex?: keyof Row | string;
|
|
2348
2491
|
sortable?: boolean;
|
|
2492
|
+
/** Sort by another field (vxe sort-by parity): the comparator reads this
|
|
2493
|
+
* field instead of the column's own value. */
|
|
2494
|
+
sortBy?: string;
|
|
2495
|
+
/** Force the sort type (vxe sort-type parity). Default `'auto'` (numbers
|
|
2496
|
+
* compare numerically, everything else as strings). */
|
|
2497
|
+
sortType?: 'number' | 'string' | 'auto';
|
|
2498
|
+
/** Custom client-side filter (vxe filter-method parity). Return true to
|
|
2499
|
+
* keep the row. Overrides the default case-insensitive substring match. */
|
|
2500
|
+
filterMethod?: (value: unknown, row: Row, filterValue: string) => boolean;
|
|
2501
|
+
/** Single-select filter (vxe filter-multiple parity). The current filter
|
|
2502
|
+
* UI is value-based (one value per column), so this is the default. */
|
|
2503
|
+
filterMultiple?: boolean;
|
|
2504
|
+
/** Render the cell value as HTML (vxe type=html parity). Opt-in only —
|
|
2505
|
+
* the value is injected with `dangerouslySetInnerHTML`; ensure the content
|
|
2506
|
+
* is trusted to avoid XSS. */
|
|
2507
|
+
html?: boolean;
|
|
2349
2508
|
width?: number | string;
|
|
2350
2509
|
/** Minimum width (px) when resizing. Default 60. */
|
|
2351
2510
|
minWidth?: number;
|
|
@@ -2358,6 +2517,18 @@ interface IrisTableColumn<Row = Record<string, unknown>> {
|
|
|
2358
2517
|
editable?: boolean;
|
|
2359
2518
|
/** Editor kind. Default `'text'`. */
|
|
2360
2519
|
editor?: IrisTableEditor;
|
|
2520
|
+
/**
|
|
2521
|
+
* Options for the `'select'` editor (vxe edit-render options parity). A
|
|
2522
|
+
* column with `editor: 'select'` renders a native `<select>` while editing;
|
|
2523
|
+
* each option commits its TYPED value — a number option commits a number,
|
|
2524
|
+
* a string option a string (matched by `String(value)`). When the current
|
|
2525
|
+
* cell value matches no option, a synthetic option preserves it so a plain
|
|
2526
|
+
* blur never silently replaces it.
|
|
2527
|
+
*/
|
|
2528
|
+
editOptions?: Array<{
|
|
2529
|
+
value: string | number;
|
|
2530
|
+
label: string;
|
|
2531
|
+
}>;
|
|
2361
2532
|
/**
|
|
2362
2533
|
* Validate a draft value before it commits. Return an error message to
|
|
2363
2534
|
* REJECT the edit (the editor stays open, shows the message, and is marked
|
|
@@ -2365,6 +2536,12 @@ interface IrisTableColumn<Row = Record<string, unknown>> {
|
|
|
2365
2536
|
* value (a number for the `'number'` editor) and the row being edited.
|
|
2366
2537
|
*/
|
|
2367
2538
|
validate?: (value: unknown, row: Row) => string | null | undefined;
|
|
2539
|
+
/**
|
|
2540
|
+
* Declarative edit rules (vxe-grid editRules parity) evaluated on commit —
|
|
2541
|
+
* `required` / `min` / `max` / `type` / `pattern` / `validator` (sync or
|
|
2542
|
+
* async). Rules run first; the legacy `validate` callback runs after.
|
|
2543
|
+
*/
|
|
2544
|
+
editRules?: _iris_ui_kit_core.EditRule<Row>[];
|
|
2368
2545
|
/**
|
|
2369
2546
|
* Aggregate this column in the table's summary/footer row. Any column with a
|
|
2370
2547
|
* `summary` op makes the footer row appear; columns without one render blank.
|
|
@@ -2395,11 +2572,110 @@ interface IrisTableCellEditEvent<Row = Record<string, unknown>> {
|
|
|
2395
2572
|
}
|
|
2396
2573
|
type IrisTableRenderDetail<Row = Record<string, unknown>> = (row: Row, rowIndex: number) => React.ReactNode;
|
|
2397
2574
|
type IrisTableRowExpandable<Row = Record<string, unknown>> = (row: Row, rowIndex: number) => boolean;
|
|
2575
|
+
/**
|
|
2576
|
+
* Cell tooltip configuration (vxe-grid tooltipConfig parity, title mode).
|
|
2577
|
+
* Renders a native `title` on every body cell — no portal, no positioning.
|
|
2578
|
+
* Empty content drops the tooltip (vxe empty-content parity); editing cells
|
|
2579
|
+
* are exempt.
|
|
2580
|
+
*/
|
|
2581
|
+
interface IrisTableTooltipConfig<Row = Record<string, unknown>> {
|
|
2582
|
+
/**
|
|
2583
|
+
* Render a tooltip on every body cell. Default true when `tooltipConfig` is
|
|
2584
|
+
* set. Truncation-based gating (vxe `showAll: false`) is not implemented —
|
|
2585
|
+
* cells always carry the `title` (documented simplification: detecting a
|
|
2586
|
+
* truncated cell cheaply isn't possible without layout measurement).
|
|
2587
|
+
* `false` is accepted for API parity and behaves identically this batch.
|
|
2588
|
+
*/
|
|
2589
|
+
showAll?: boolean;
|
|
2590
|
+
/**
|
|
2591
|
+
* Custom tooltip text for a cell. Defaults to the raw cell value. Returning
|
|
2592
|
+
* an empty string drops the tooltip (vxe empty-content parity).
|
|
2593
|
+
*/
|
|
2594
|
+
content?: (row: Row, column: IrisTableColumn<Row>) => string;
|
|
2595
|
+
}
|
|
2398
2596
|
|
|
2597
|
+
/**
|
|
2598
|
+
* vxe-grid proxyConfig parity — the server-side data proxy (query slice).
|
|
2599
|
+
* When set, `data` is ignored: rows come from `query` (paged), and the table
|
|
2600
|
+
* renders a pager below the body. Edit write-back keeps working — committed
|
|
2601
|
+
* edits update the live rows locally until the next refetch replaces them.
|
|
2602
|
+
*/
|
|
2603
|
+
interface IrisTableProxyConfig<Row extends Record<string, unknown>> {
|
|
2604
|
+
/**
|
|
2605
|
+
* Fetch one page. 1-based `page`; `sort`/`filters` are the ACTIVE state,
|
|
2606
|
+
* passed through when `remoteSort`/`remoteFilter` are enabled.
|
|
2607
|
+
*/
|
|
2608
|
+
query: (params: IrisTableProxyQueryParams) => Promise<{
|
|
2609
|
+
rows: Row[];
|
|
2610
|
+
total: number;
|
|
2611
|
+
}>;
|
|
2612
|
+
/** Auto-load the first page on mount (vxe autoLoad parity). Default true. */
|
|
2613
|
+
autoLoad?: boolean;
|
|
2614
|
+
/** Sort changes re-query the server instead of sorting client-side (vxe proxyConfig.sort). Default false. */
|
|
2615
|
+
remoteSort?: boolean;
|
|
2616
|
+
/** Filter changes re-query the server instead of filtering client-side (vxe proxyConfig.filter). Default false. */
|
|
2617
|
+
remoteFilter?: boolean;
|
|
2618
|
+
/** Rows per page. Default 10. */
|
|
2619
|
+
pageSize?: number;
|
|
2620
|
+
/** Initial page (1-based). Default 1. */
|
|
2621
|
+
defaultPage?: number;
|
|
2622
|
+
/** Fired when the page changes. */
|
|
2623
|
+
onPageChange?: (page: number, pageSize: number) => void;
|
|
2624
|
+
}
|
|
2625
|
+
/**
|
|
2626
|
+
* Search-form configuration (vxe-grid formConfig parity). Renders a field row
|
|
2627
|
+
* above the toolbar (or the table root). Submit merges the values into the
|
|
2628
|
+
* table filters: client-side via the existing `filteredData` path, or into the
|
|
2629
|
+
* proxy query (`setParams({ filters, page: 1 })`) when `proxyConfig` is set.
|
|
2630
|
+
*/
|
|
2631
|
+
interface IrisTableFormConfig {
|
|
2632
|
+
fields: IrisTableFormField[];
|
|
2633
|
+
/** Label of the submit button. Defaults to the i18n `table.formSubmit` key. */
|
|
2634
|
+
submitText?: string;
|
|
2635
|
+
/** Label of the reset button. Defaults to the i18n `table.formReset` key. */
|
|
2636
|
+
resetText?: string;
|
|
2637
|
+
/** Fired on submit with every field's value (empty strings stripped). */
|
|
2638
|
+
onSearch?: (values: Record<string, string>) => void;
|
|
2639
|
+
/** Fired on reset with the reset values (defaults re-applied). */
|
|
2640
|
+
onReset?: (values: Record<string, string>) => void;
|
|
2641
|
+
}
|
|
2642
|
+
/**
|
|
2643
|
+
* Imperative row operations (vxe-grid insert/remove/setRow parity, simplified
|
|
2644
|
+
* to key addressing). Assigned to `tableRef.current` on mount; every op
|
|
2645
|
+
* applies a core pure helper to the live row list, commits through the same
|
|
2646
|
+
* write-back channel as cell edits, and fires `onDataChange` with the new
|
|
2647
|
+
* list. Not-found keys are silent no-ops (the core helpers return the
|
|
2648
|
+
* original reference).
|
|
2649
|
+
*/
|
|
2650
|
+
interface IrisTableHandle<Row extends Record<string, unknown> = Record<string, unknown>> {
|
|
2651
|
+
/** Insert a row at `index` (default: end). A missing `rowKeyField` value gets an auto id. */
|
|
2652
|
+
insertRow: (row: Row, index?: number) => void;
|
|
2653
|
+
/** Remove the row with `key`; its selection is pruned. */
|
|
2654
|
+
removeRow: (key: string | number) => void;
|
|
2655
|
+
/** Patch the row with `key` ({ ...row, ...patch }). */
|
|
2656
|
+
updateRow: (key: string | number, patch: Partial<Row>) => void;
|
|
2657
|
+
/** Re-fetch the current page (proxy mode). */
|
|
2658
|
+
refetch: () => void;
|
|
2659
|
+
/** Clear every selected row (vxe clearCheckboxRow parity). */
|
|
2660
|
+
clearSelection: () => void;
|
|
2661
|
+
/** Select every checkMethod-eligible row of the current page (vxe
|
|
2662
|
+
* setAllCheckboxRow(true) parity — `checkMethod` rows are skipped). */
|
|
2663
|
+
selectAll: () => void;
|
|
2664
|
+
/** Toggle a single row's selection by key (vxe toggleCheckboxRow parity —
|
|
2665
|
+
* a direct toggle that bypasses `checkMethod`). */
|
|
2666
|
+
toggleRowSelection: (key: string | number) => void;
|
|
2667
|
+
}
|
|
2668
|
+
/** Pager configuration (vxe-grid pagerConfig parity). */
|
|
2669
|
+
interface IrisTablePagerConfig {
|
|
2670
|
+
/** Rows-per-page options rendered as a size selector next to the pager. A
|
|
2671
|
+
* change re-queries with the new size and resets the page to 1. */
|
|
2672
|
+
pageSizes?: number[];
|
|
2673
|
+
}
|
|
2399
2674
|
/** Public input surface for the React table adapter. */
|
|
2400
2675
|
interface IrisTableProps<Row extends Record<string, unknown> = Record<string, unknown>> {
|
|
2401
2676
|
columns: IrisTableColumn<Row>[];
|
|
2402
|
-
data
|
|
2677
|
+
/** Table data. Optional when `proxyConfig` is set (server-side source). */
|
|
2678
|
+
data?: Row[];
|
|
2403
2679
|
/** Field to use as the row key. */
|
|
2404
2680
|
rowKey?: string;
|
|
2405
2681
|
/** Selection mode. */
|
|
@@ -2410,7 +2686,58 @@ interface IrisTableProps<Row extends Record<string, unknown> = Record<string, un
|
|
|
2410
2686
|
sort?: IrisTableSortState | null;
|
|
2411
2687
|
defaultSort?: IrisTableSortState | null;
|
|
2412
2688
|
onSortChange?: (next: IrisTableSortState | null) => void;
|
|
2689
|
+
/** Multi-column sort (vxe sort-config.multiple parity): header clicks
|
|
2690
|
+
* append/cycle columns in click order instead of replacing. Default false. */
|
|
2691
|
+
multiSort?: boolean;
|
|
2692
|
+
/** Controlled multi-column sort state (multiSort mode). */
|
|
2693
|
+
multiSortState?: IrisTableSortState[];
|
|
2694
|
+
/** Default multi-column sort (multiSort mode, uncontrolled). */
|
|
2695
|
+
defaultMultiSort?: IrisTableSortState[];
|
|
2696
|
+
onMultiSortChange?: (next: IrisTableSortState[]) => void;
|
|
2413
2697
|
striped?: boolean;
|
|
2698
|
+
/** Size preset (vxe-grid size parity): medium / small / mini. */
|
|
2699
|
+
size?: 'medium' | 'small' | 'mini';
|
|
2700
|
+
/** First sequence number (vxe seq-config.startIndex parity). Default 1. */
|
|
2701
|
+
seqStartIndex?: number;
|
|
2702
|
+
/** Custom sequence renderer (vxe seq-config.seqMethod parity). */
|
|
2703
|
+
seqMethod?: (params: IrisTableSeqMethodParams) => string | number;
|
|
2704
|
+
/** Current (highlighted) row key (vxe row-config.isCurrent parity). */
|
|
2705
|
+
currentRowKey?: string | number;
|
|
2706
|
+
/** Fired when the current row changes (row click). */
|
|
2707
|
+
onCurrentRowChange?: (key: string | number, row: Row) => void;
|
|
2708
|
+
/** Veto a current-row change: return false to keep the previous row. */
|
|
2709
|
+
beforeCurrentRowChange?: (key: string | number, row: Row) => boolean | void;
|
|
2710
|
+
/** Current (highlighted) column key (vxe column-config.isCurrent parity). */
|
|
2711
|
+
currentColumnKey?: string;
|
|
2712
|
+
/** Fired when the current column changes (header click). */
|
|
2713
|
+
onCurrentColumnChange?: (key: string) => void;
|
|
2714
|
+
/** Veto a current-column change: return false to keep the previous column. */
|
|
2715
|
+
beforeCurrentColumnChange?: (key: string) => boolean | void;
|
|
2716
|
+
/** Hide the header row(s) (vxe show-header parity). Default true. */
|
|
2717
|
+
showHeader?: boolean;
|
|
2718
|
+
/**
|
|
2719
|
+
* Custom footer rows (vxe footer-data parity): rendered below the summary
|
|
2720
|
+
* row, one grid row per entry; structure matches `data`.
|
|
2721
|
+
*/
|
|
2722
|
+
footerData?: Row[];
|
|
2723
|
+
/** Per-row class hook (vxe row-class-name parity). */
|
|
2724
|
+
rowClassName?: (row: Row, rowIndex: number) => string;
|
|
2725
|
+
/** Per-cell class hook (vxe cell-class-name parity). */
|
|
2726
|
+
cellClassName?: (row: Row, column: IrisTableColumn<Row>, rowIndex: number) => string;
|
|
2727
|
+
/** Per-header-cell class hook (vxe header-cell-class-name parity). */
|
|
2728
|
+
headerCellClassName?: (column: IrisTableColumn<Row>) => string;
|
|
2729
|
+
/** Per-footer-cell class hook (vxe footer-cell-class-name parity). */
|
|
2730
|
+
footerCellClassName?: (column: IrisTableColumn<Row>, rowIndex: number) => string;
|
|
2731
|
+
/** Per-row inline style hook (vxe row-style parity). */
|
|
2732
|
+
rowStyle?: (row: Row, rowIndex: number) => CSSProperties;
|
|
2733
|
+
/** Per-cell inline style hook (vxe cell-style parity). */
|
|
2734
|
+
cellStyle?: (row: Row, column: IrisTableColumn<Row>, rowIndex: number) => CSSProperties;
|
|
2735
|
+
/** Per-header-cell inline style hook (vxe header-cell-style parity). */
|
|
2736
|
+
headerCellStyle?: (column: IrisTableColumn<Row>) => CSSProperties;
|
|
2737
|
+
/** Per-footer-cell inline style hook (vxe footer-cell-style parity). */
|
|
2738
|
+
footerCellStyle?: (column: IrisTableColumn<Row>, rowIndex: number) => CSSProperties;
|
|
2739
|
+
/** Cell click (vxe cell-click parity). Fired after internal handlers. */
|
|
2740
|
+
onCellClick?: (params: IrisTableCellClickParams<Row>) => void;
|
|
2414
2741
|
bordered?: boolean;
|
|
2415
2742
|
/** Enable column resizing (drag the header's trailing edge or focus + arrow keys). */
|
|
2416
2743
|
resizableColumns?: boolean;
|
|
@@ -2421,6 +2748,80 @@ interface IrisTableProps<Row extends Record<string, unknown> = Record<string, un
|
|
|
2421
2748
|
/** Called when a data row is clicked. Interactive child controls stop propagation. */
|
|
2422
2749
|
onRowClick?: (row: Row, rowIndex: number) => void;
|
|
2423
2750
|
/** Called when an inline-editable cell is committed with a changed value. */
|
|
2751
|
+
/**
|
|
2752
|
+
* Column visibility (vxe-grid columnConfig.visible parity). Map of
|
|
2753
|
+
* column key → visible (default true). Hidden columns are not rendered.
|
|
2754
|
+
*/
|
|
2755
|
+
columnVisibility?: Record<string, boolean>;
|
|
2756
|
+
/** Fired when visibility changes (parent owns the map). */
|
|
2757
|
+
onColumnVisibilityChange?: (next: Record<string, boolean>) => void;
|
|
2758
|
+
/**
|
|
2759
|
+
* Client-side filters (vxe-grid filterConfig parity, local mode). Map of
|
|
2760
|
+
* column key → filter text; rows are filtered with the core filterSort
|
|
2761
|
+
* material (substring, case-insensitive).
|
|
2762
|
+
*/
|
|
2763
|
+
filters?: Record<string, string>;
|
|
2764
|
+
/** Fired when a filter value changes (parent owns the map). */
|
|
2765
|
+
onFiltersChange?: (next: Record<string, string>) => void;
|
|
2766
|
+
/** Search form (vxe-grid formConfig parity). */
|
|
2767
|
+
formConfig?: IrisTableFormConfig;
|
|
2768
|
+
/** Toolbar (vxe-grid toolbarConfig parity, minimal built-ins). */
|
|
2769
|
+
toolbar?: {
|
|
2770
|
+
title?: string;
|
|
2771
|
+
/** Fired by the refresh button. */
|
|
2772
|
+
onRefresh?: () => void;
|
|
2773
|
+
/** Show the column-visibility toggle button. */
|
|
2774
|
+
columnSettings?: boolean;
|
|
2775
|
+
/** Enable the CSV import button. Receives parsed rows (header → keys). */
|
|
2776
|
+
onImport?: (rows: Record<string, unknown>[]) => void;
|
|
2777
|
+
/** Custom action buttons rendered after the built-ins (vxe toolbar buttons parity). */
|
|
2778
|
+
buttons?: Array<{
|
|
2779
|
+
key: string;
|
|
2780
|
+
label: string;
|
|
2781
|
+
onClick: () => void;
|
|
2782
|
+
icon?: string;
|
|
2783
|
+
}>;
|
|
2784
|
+
};
|
|
2785
|
+
/** Render with print-friendly styles (hides the toolbar, keeps rows). */
|
|
2786
|
+
printable?: boolean;
|
|
2787
|
+
/**
|
|
2788
|
+
* Column drag-sort (vxe-grid columnDragConfig parity). Reorders leaf
|
|
2789
|
+
* columns on drop; parent owns columns (pass the reordered array back).
|
|
2790
|
+
*/
|
|
2791
|
+
columnDrag?: {
|
|
2792
|
+
/** Called with the reordered column array after a drop. */
|
|
2793
|
+
onReorder: (columns: IrisTableColumn<Row>[]) => void;
|
|
2794
|
+
};
|
|
2795
|
+
/** Render a leading sequence-number column (vxe-grid seqConfig parity). */
|
|
2796
|
+
seq?: boolean;
|
|
2797
|
+
/**
|
|
2798
|
+
* Cell merge (vxe-grid spanMethod parity): return `{ rowspan, colspan }`
|
|
2799
|
+
* for a cell at (rowIndex, columnIndex); both default 1. Values > 1 make
|
|
2800
|
+
* the cell span adjacent cells (the spanned cells are skipped).
|
|
2801
|
+
*/
|
|
2802
|
+
spanMethod?: (params: {
|
|
2803
|
+
rowIndex: number;
|
|
2804
|
+
columnIndex: number;
|
|
2805
|
+
}) => {
|
|
2806
|
+
rowspan?: number;
|
|
2807
|
+
colspan?: number;
|
|
2808
|
+
} | null | undefined;
|
|
2809
|
+
/** Row drag-sort configuration (composed over core createSortable). */
|
|
2810
|
+
rowDrag?: {
|
|
2811
|
+
/** Reorder callback — receives the reordered row array (parent owns data). */
|
|
2812
|
+
onReorder: (rows: Row[]) => void;
|
|
2813
|
+
};
|
|
2814
|
+
/** Inline-edit configuration (vxe-grid editConfig parity). */
|
|
2815
|
+
editConfig?: {
|
|
2816
|
+
/** What opens the editor. Default `'dblclick'`. */
|
|
2817
|
+
trigger?: 'click' | 'dblclick' | 'manual';
|
|
2818
|
+
/** Show a required asterisk next to headers of columns with rules. */
|
|
2819
|
+
showAsterisk?: boolean;
|
|
2820
|
+
/** Drop the draft when opening another cell without committing. */
|
|
2821
|
+
autoClear?: boolean;
|
|
2822
|
+
};
|
|
2823
|
+
/** Edit-validation presentation (vxe-grid ValidConfig parity). */
|
|
2824
|
+
validConfig?: IrisTableValidConfig;
|
|
2424
2825
|
onCellEdit?: (event: IrisTableCellEditEvent<Row>) => void;
|
|
2425
2826
|
/** Render an expandable detail panel beneath a row. */
|
|
2426
2827
|
renderDetail?: IrisTableRenderDetail<Row>;
|
|
@@ -2428,6 +2829,10 @@ interface IrisTableProps<Row extends Record<string, unknown> = Record<string, un
|
|
|
2428
2829
|
rowExpandable?: IrisTableRowExpandable<Row>;
|
|
2429
2830
|
/** Initially-expanded row keys (uncontrolled). Shared by detail rows + tree rows. */
|
|
2430
2831
|
defaultExpandedRowKeys?: Array<string | number>;
|
|
2832
|
+
/** Expand every tree row that has children on mount (vxe expand-config
|
|
2833
|
+
* expandAll parity). One-shot: seeds the expansion model with all tree keys
|
|
2834
|
+
* on the first data arrival (proxy pages load async). Default false. */
|
|
2835
|
+
expandAll?: boolean;
|
|
2431
2836
|
/** Notified with the expanded row keys whenever they change. */
|
|
2432
2837
|
onExpandedRowsChange?: (keys: Array<string | number>) => void;
|
|
2433
2838
|
/** Read a row's child rows to render the table as a tree. */
|
|
@@ -2440,6 +2845,12 @@ interface IrisTableProps<Row extends Record<string, unknown> = Record<string, un
|
|
|
2440
2845
|
columnVirtualization?: boolean;
|
|
2441
2846
|
/** Enable rectangular cell-range selection. */
|
|
2442
2847
|
cellRange?: boolean;
|
|
2848
|
+
/** Shift-click checkbox range selection (vxe checkboxConfig `isShiftKey`
|
|
2849
|
+
* parity, batch G): shift-clicking a row checkbox toggles every
|
|
2850
|
+
* checkMethod-eligible row between the last-clicked anchor row and the
|
|
2851
|
+
* target (in body order); a plain click just moves the anchor. The header
|
|
2852
|
+
* select-all resets the anchor. Default false. */
|
|
2853
|
+
checkboxRange?: boolean;
|
|
2443
2854
|
/** Empty state node (replaces the row body when `data` is empty). */
|
|
2444
2855
|
emptyState?: ReactNode;
|
|
2445
2856
|
/** Show the loading state instead of rows. */
|
|
@@ -2450,6 +2861,44 @@ interface IrisTableProps<Row extends Record<string, unknown> = Record<string, un
|
|
|
2450
2861
|
loadingState?: ReactNode;
|
|
2451
2862
|
/** Custom error-state node. */
|
|
2452
2863
|
errorState?: ReactNode;
|
|
2864
|
+
/** Fired by the built-in Retry button in the error state row. */
|
|
2865
|
+
onRetry?: () => void;
|
|
2866
|
+
/**
|
|
2867
|
+
* Server-side data proxy (vxe-grid proxyConfig parity, query slice). When
|
|
2868
|
+
* set, rows come from the proxy `query` (paged) and a pager renders below
|
|
2869
|
+
* the body; `loading`/`error` are driven by the proxy state.
|
|
2870
|
+
*/
|
|
2871
|
+
proxyConfig?: IrisTableProxyConfig<Row>;
|
|
2872
|
+
/** Cell tooltips (vxe-grid tooltipConfig parity, title mode, batch G): a
|
|
2873
|
+
* native `title` on every body cell, content from the callback or the raw
|
|
2874
|
+
* cell value; editing cells are exempt and empty content drops the tooltip.
|
|
2875
|
+
* Truncation gating is not implemented — titles render on every cell
|
|
2876
|
+
* regardless of `showAll` (documented simplification, kept simple and
|
|
2877
|
+
* explicit). */
|
|
2878
|
+
tooltipConfig?: IrisTableTooltipConfig<Row>;
|
|
2879
|
+
/**
|
|
2880
|
+
* Right-click context menu (vxe-grid contextMenu parity, batch H). Opens on
|
|
2881
|
+
* body leaf cells only — header, seq, selection, expand, summary and footer
|
|
2882
|
+
* cells never open it. The menu floats at the cursor (virtual anchor),
|
|
2883
|
+
* closes on Escape / outside pointer-down / any scroll, and fires `onSelect`
|
|
2884
|
+
* with the clicked item's key and the cell's grid coordinates.
|
|
2885
|
+
*/
|
|
2886
|
+
contextMenu?: {
|
|
2887
|
+
items: (params: IrisTableContextMenuParams<Row>) => Array<{
|
|
2888
|
+
key: string;
|
|
2889
|
+
label: string;
|
|
2890
|
+
disabled?: boolean;
|
|
2891
|
+
}>;
|
|
2892
|
+
onSelect: (key: string, params: IrisTableContextMenuParams<Row>) => void;
|
|
2893
|
+
};
|
|
2894
|
+
/** Imperative handle for row ops (vxe-grid edit insert/remove/setRow parity). */
|
|
2895
|
+
tableRef?: MutableRefObject<IrisTableHandle<Row> | null>;
|
|
2896
|
+
/** Fired after any internal row operation / edit write-back, with the new row list. */
|
|
2897
|
+
onDataChange?: (rows: Row[]) => void;
|
|
2898
|
+
/** Veto rows from selection (vxe-grid checkboxConfig.checkMethod parity). */
|
|
2899
|
+
checkMethod?: (row: Row, rowIndex: number) => boolean;
|
|
2900
|
+
/** Pager options (vxe-grid pagerConfig parity). */
|
|
2901
|
+
pagerConfig?: IrisTablePagerConfig;
|
|
2453
2902
|
style?: CSSProperties;
|
|
2454
2903
|
className?: string;
|
|
2455
2904
|
}
|
|
@@ -2461,7 +2910,7 @@ interface IrisTableProps<Row extends Record<string, unknown> = Record<string, un
|
|
|
2461
2910
|
*
|
|
2462
2911
|
* Sortable columns cycle `none → asc → desc → none` on click.
|
|
2463
2912
|
*/
|
|
2464
|
-
declare function IrisTable<Row extends Record<string, unknown>>({ columns, data, rowKey, selectable, selection: selectionProp, defaultSelection, onSelectionChange, sort: sortProp, defaultSort, onSortChange, striped, bordered, resizableColumns, columnWidths: columnWidthsProp, defaultColumnWidths, onColumnWidthsChange, onRowClick, onCellEdit, renderDetail, rowExpandable, defaultExpandedRowKeys, onExpandedRowsChange, getSubRows, keyboardNavigation, cellRange, virtualScroll, columnVirtualization, emptyState, loading, error, loadingState, errorState, style, className, ...rest }: IrisTableProps<Row>): React.ReactElement;
|
|
2913
|
+
declare function IrisTable<Row extends Record<string, unknown>>({ columns, data, rowKey, selectable, selection: selectionProp, defaultSelection, onSelectionChange, sort: sortProp, defaultSort, onSortChange, multiSort, multiSortState: multiSortStateProp, defaultMultiSort, onMultiSortChange, striped, size, seqStartIndex, seqMethod, currentRowKey, onCurrentRowChange, beforeCurrentRowChange, currentColumnKey, onCurrentColumnChange, beforeCurrentColumnChange, showHeader, footerData, rowClassName, cellClassName, headerCellClassName, footerCellClassName, rowStyle, cellStyle, headerCellStyle, footerCellStyle, onCellClick, bordered, resizableColumns, columnWidths: columnWidthsProp, defaultColumnWidths, onColumnWidthsChange, onRowClick, onCellEdit, tableRef, onDataChange, checkMethod, pagerConfig, editConfig, validConfig, rowDrag, columnDrag, columnVisibility, onColumnVisibilityChange, filters, formConfig, toolbar, tooltipConfig, contextMenu, printable, seq, spanMethod, renderDetail, rowExpandable, defaultExpandedRowKeys, expandAll, onExpandedRowsChange, getSubRows, keyboardNavigation, cellRange, checkboxRange, virtualScroll, columnVirtualization, emptyState, loading, error, loadingState, errorState, onRetry, proxyConfig, style, className, ...rest }: IrisTableProps<Row>): React.ReactElement;
|
|
2465
2914
|
|
|
2466
2915
|
/**
|
|
2467
2916
|
* Serialize rows as a CSV string per RFC 4180. Column order determines field
|
|
@@ -2522,6 +2971,12 @@ interface IrisVirtualScrollProps<T = unknown> {
|
|
|
2522
2971
|
}) => void;
|
|
2523
2972
|
style?: React.CSSProperties;
|
|
2524
2973
|
className?: string;
|
|
2974
|
+
/** ARIA role for the scroll container (e.g. "listbox"). Forwarded to the root. */
|
|
2975
|
+
role?: string;
|
|
2976
|
+
/** Tab order for the scroll container (roving-tabindex hosts pass -1). */
|
|
2977
|
+
tabIndex?: number;
|
|
2978
|
+
/** Keydown handler on the scroll container (keydowns from focused rows bubble). */
|
|
2979
|
+
onKeyDown?: React.KeyboardEventHandler<HTMLDivElement>;
|
|
2525
2980
|
}
|
|
2526
2981
|
/**
|
|
2527
2982
|
* Virtual scroller. Renders only the visible window of items plus a
|
|
@@ -2609,6 +3064,20 @@ interface IrisTreeNode {
|
|
|
2609
3064
|
loadChildren?: () => Promise<IrisTreeNode[]>;
|
|
2610
3065
|
}
|
|
2611
3066
|
type IrisTreeSelectionMode = 'none' | 'single' | 'multi';
|
|
3067
|
+
/**
|
|
3068
|
+
* Opt-in windowed rendering for {@link IrisTree}. Mirrors
|
|
3069
|
+
* `IrisTableVirtualOptions`. Tree rows are uniform height (padding 4px +
|
|
3070
|
+
* line-height of `--iris-font-size-md`); `itemHeight` must be ≥ the rendered
|
|
3071
|
+
* row height for the active font.
|
|
3072
|
+
*/
|
|
3073
|
+
interface IrisTreeVirtualOptions {
|
|
3074
|
+
/** Per-row height in px (uniform). */
|
|
3075
|
+
itemHeight: number;
|
|
3076
|
+
/** Viewport height. Number → px; string → CSS length passed through. */
|
|
3077
|
+
height: number | string;
|
|
3078
|
+
/** Extra rows rendered above and below the viewport (default 4). */
|
|
3079
|
+
buffer?: number;
|
|
3080
|
+
}
|
|
2612
3081
|
|
|
2613
3082
|
interface IrisTreeProps {
|
|
2614
3083
|
nodes: IrisTreeNode[];
|
|
@@ -2642,6 +3111,12 @@ interface IrisTreeProps {
|
|
|
2642
3111
|
errorState?: React.ReactNode;
|
|
2643
3112
|
style?: React.CSSProperties;
|
|
2644
3113
|
className?: string;
|
|
3114
|
+
/**
|
|
3115
|
+
* Opt-in windowed rendering: only the visible window + buffer of `treeitem`
|
|
3116
|
+
* rows is mounted, via `IrisVirtualScroll` / the core `createVirtualizer`.
|
|
3117
|
+
* Keyboard navigation scrolls the active row into view. Default off.
|
|
3118
|
+
*/
|
|
3119
|
+
virtual?: IrisTreeVirtualOptions;
|
|
2645
3120
|
}
|
|
2646
3121
|
/**
|
|
2647
3122
|
* Tree control. Renders a hierarchy of `IrisTreeNode`s with expand/collapse,
|
|
@@ -2659,8 +3134,11 @@ interface IrisTreeProps {
|
|
|
2659
3134
|
* animated loading / error / empty state in place of the tree. Per-node
|
|
2660
3135
|
* `loadChildren` lazy loading is independent of this top-level state. Semantic
|
|
2661
3136
|
* parity with the Vue adapter's `IrisTree`.
|
|
3137
|
+
*
|
|
3138
|
+
* Opt-in `virtual` prop: pass {@link IrisTreeVirtualOptions} to render only the
|
|
3139
|
+
* visible window of treeitems (uniform rows) via `IrisVirtualScroll`.
|
|
2662
3140
|
*/
|
|
2663
|
-
declare function IrisTree({ nodes, expanded: expandedProp, defaultExpanded, onExpandedChange, selected: selectedProp, defaultSelected, onSelectedChange, selectionMode, checkable, defaultChecked, onCheckedChange, ariaLabel, loading, error, emptyState, loadingState, errorState, style, className, ...rest }: IrisTreeProps): React.ReactElement;
|
|
3141
|
+
declare function IrisTree({ nodes, expanded: expandedProp, defaultExpanded, onExpandedChange, selected: selectedProp, defaultSelected, onSelectedChange, selectionMode, checkable, defaultChecked, onCheckedChange, ariaLabel, loading, error, emptyState, loadingState, errorState, style, className, virtual, ...rest }: IrisTreeProps): React.ReactElement;
|
|
2664
3142
|
|
|
2665
3143
|
interface IrisListItem<T = unknown> {
|
|
2666
3144
|
value: T;
|
|
@@ -3023,6 +3501,13 @@ interface IrisCommandPaletteProps extends Omit<React.HTMLAttributes<HTMLDivEleme
|
|
|
3023
3501
|
/** Custom filter; default is a tolerant subsequence/fuzzy match. */
|
|
3024
3502
|
filter?: (query: string, item: IrisCommandItem) => number | null;
|
|
3025
3503
|
onSelect?: (item: IrisCommandItem) => void;
|
|
3504
|
+
/**
|
|
3505
|
+
* Opt-in windowed rendering of the results list via the core virtualizer.
|
|
3506
|
+
* When true, only the visible window (+ buffer) of rows is rendered and
|
|
3507
|
+
* keyboard navigation scrolls the active row into view. Default false —
|
|
3508
|
+
* the plain list renders bit-for-bit as before.
|
|
3509
|
+
*/
|
|
3510
|
+
virtual?: boolean;
|
|
3026
3511
|
}
|
|
3027
3512
|
/**
|
|
3028
3513
|
* Command palette: searchable, keyboard-driven action launcher. Built on the
|
|
@@ -3030,6 +3515,6 @@ interface IrisCommandPaletteProps extends Omit<React.HTMLAttributes<HTMLDivEleme
|
|
|
3030
3515
|
* (consumer wires the listener), type to filter, ↑/↓ to navigate, Enter to
|
|
3031
3516
|
* execute the focused item, Escape to dismiss.
|
|
3032
3517
|
*/
|
|
3033
|
-
declare function IrisCommandPalette({ open, onOpenChange, items, placeholder, emptyText, filter, onSelect, style, ...rest }: IrisCommandPaletteProps): React.ReactElement | null;
|
|
3518
|
+
declare function IrisCommandPalette({ open, onOpenChange, items, placeholder, emptyText, filter, onSelect, virtual, style, ...rest }: IrisCommandPaletteProps): React.ReactElement | null;
|
|
3034
3519
|
|
|
3035
|
-
export { AccordionContext, type AccordionContextValue, DialogContext, type DialogContextValue, type DragState, DrawerContext, type DrawerContextValue, DropdownContext, type DropdownContextValue, IrisAccordion, IrisAccordionItem, type IrisAccordionItemProps, type IrisAccordionProps, type IrisAccordionValue, IrisAffix, type IrisAffixProps, IrisAlert, type IrisAlertProps, type IrisAlertTone, IrisAnchor, type IrisAnchorItem, type IrisAnchorProps, IrisAspectRatio, type IrisAspectRatioProps, IrisAvatar, type IrisAvatarProps, type IrisAvatarShape, type IrisAvatarSize, IrisBackTop, type IrisBackTopProps, IrisBadge, type IrisBadgeProps, type IrisBadgeSize, type IrisBadgeTone, type IrisBadgeVariant, IrisBanner, type IrisBannerProps, type IrisBannerTone, IrisBreadcrumb, IrisBreadcrumbItem, type IrisBreadcrumbItemProps, type IrisBreadcrumbProps, IrisButton, type IrisButtonProps, type IrisButtonSize, type IrisButtonType, type IrisButtonVariant, IrisCalendar, type IrisCalendarProps, IrisCard, type IrisCardPadding, type IrisCardProps, type IrisCardVariant, IrisCarousel, type IrisCarouselProps, IrisCascader, type IrisCascaderNode, type IrisCascaderProps, type IrisCascaderSize, IrisCheckbox, type IrisCheckboxProps, type IrisCheckboxSize, type IrisCheckboxValue, IrisChip, type IrisChipProps, type IrisChipSize, type IrisChipTone, type IrisChipVariant, IrisColorPicker, type IrisColorPickerProps, IrisCombobox, type IrisComboboxOption, type IrisComboboxProps, type IrisComboboxSize, type IrisCommandItem, IrisCommandPalette, type IrisCommandPaletteProps, IrisCopyButton, type IrisCopyButtonProps, type IrisCopyButtonSize, IrisCountdown, type IrisCountdownProps, type IrisCountdownSize, IrisDatePicker, type IrisDatePickerProps, type IrisDateRange, IrisDateRangePicker, type IrisDateRangePickerProps, IrisDescriptions, type IrisDescriptionsItem, type IrisDescriptionsLayout, type IrisDescriptionsProps, IrisDialog, IrisDialogClose, type IrisDialogCloseProps, IrisDialogContent, type IrisDialogContentProps, IrisDialogDescription, type IrisDialogDescriptionProps, type IrisDialogProps, IrisDialogTitle, type IrisDialogTitleProps, IrisDialogTrigger, type IrisDialogTriggerProps, IrisDivider, type IrisDividerOrientation, type IrisDividerProps, type IrisDividerSpacing, IrisDragger, type IrisDraggerBounds, type IrisDraggerPosition, type IrisDraggerProps, IrisDrawer, IrisDrawerClose, type IrisDrawerCloseProps, IrisDrawerContent, type IrisDrawerContentProps, type IrisDrawerProps, type IrisDrawerSide, IrisDrawerTitle, type IrisDrawerTitleProps, IrisDrawerTrigger, type IrisDrawerTriggerProps, IrisDropdown, IrisDropdownItem, type IrisDropdownItemProps, IrisDropdownMenu, type IrisDropdownMenuProps, type IrisDropdownProps, IrisDropdownSeparator, type IrisDropdownSeparatorProps, IrisDropdownTrigger, type IrisDropdownTriggerProps, IrisEmptyState, type IrisEmptyStateProps, IrisFieldset, type IrisFieldsetProps, IrisFileUpload, type IrisFileUploadFile, type IrisFileUploadProps, type IrisFileUploadRejectReason, type IrisFileUploadRejection, IrisFloatButton, type IrisFloatButtonAction, type IrisFloatButtonProps, type IrisFloatButtonShape, IrisFormField, type IrisFormFieldProps, IrisGauge, type IrisGaugeProps, type IrisGaugeStatus, IrisIcon, type IrisIconProps, IrisImage, type IrisImageProps, IrisInput, type IrisInputProps, type IrisInputSize, type IrisInputType, IrisKbd, type IrisKbdProps, type IrisKbdSize, IrisList, type IrisListItem, type IrisListProps, IrisMarquee, type IrisMarqueeDirection, type IrisMarqueeProps, IrisMasonry, type IrisMasonryProps, type IrisMentionOption, IrisMentions, type IrisMentionsProps, IrisMenu, IrisMenuContent, type IrisMenuContentProps, IrisMenuItem, type IrisMenuItemProps, type IrisMenuProps, IrisMenuSeparator, type IrisMenuSeparatorProps, IrisMenuSub, type IrisMenuSubProps, IrisMenuTrigger, type IrisMenuTriggerProps, IrisNumberInput, type IrisNumberInputProps, type IrisNumberInputSize, IrisOtpInput, type IrisOtpInputProps, type IrisOtpInputSize, type IrisOtpInputType, IrisPagination, type IrisPaginationProps, type IrisPaginationSize, IrisPasswordInput, type IrisPasswordInputProps, IrisPopover, IrisPopoverContent, type IrisPopoverContentProps, type IrisPopoverProps, IrisPopoverTrigger, type IrisPopoverTriggerProps, IrisProgress, IrisProgressCircle, type IrisProgressCircleProps, type IrisProgressCircleStatus, type IrisProgressProps, type IrisProgressSize, type IrisProgressTone, IrisRadio, IrisRadioGroup, type IrisRadioGroupProps, type IrisRadioProps, type IrisRadioSize, IrisRangeSlider, type IrisRangeSliderProps, type IrisRangeSliderValue, IrisRating, type IrisRatingProps, type IrisRatingSize, IrisResizer, type IrisResizerHandle, type IrisResizerProps, type IrisResizerSize, IrisResult, type IrisResultProps, type IrisResultStatus, IrisRibbon, type IrisRibbonPlacement, type IrisRibbonProps, IrisScrollArea, type IrisScrollAreaAxis, type IrisScrollAreaProps, IrisSegmented, type IrisSegmentedOption, type IrisSegmentedProps, type IrisSegmentedSize, IrisSelect, type IrisSelectItem, type IrisSelectProps, type IrisSelectSize, IrisSkeleton, type IrisSkeletonProps, type IrisSkeletonShape, IrisSlider, type IrisSliderOrientation, type IrisSliderProps, IrisSlot, type IrisSlotProps, IrisSpinner, type IrisSpinnerProps, type IrisSpinnerSize, IrisSplitButton, type IrisSplitButtonAction, type IrisSplitButtonProps, type IrisSplitButtonSize, type IrisSplitButtonVariant, IrisSplitter, type IrisSplitterOrientation, type IrisSplitterProps, IrisStatistic, type IrisStatisticProps, type IrisStatisticSize, type IrisStatisticTrend, type IrisStepStatus, IrisStepper, type IrisStepperOrientation, type IrisStepperProps, IrisStepperStep, type IrisStepperStepProps, IrisSwitch, type IrisSwitchProps, type IrisSwitchSize, IrisTable, type IrisTableAggregateOp, type IrisTableCellEditEvent, type IrisTableColumn, type IrisTableColumnWidths, type IrisTableEditor, type IrisTableProps, type IrisTableRenderDetail, type IrisTableRowExpandable, type IrisTableSortDirection, type IrisTableSortState, type IrisTableVirtualOptions, IrisTabs, IrisTabsContent, type IrisTabsContentProps, IrisTabsList, type IrisTabsListProps, type IrisTabsOrientation, type IrisTabsProps, IrisTabsTrigger, type IrisTabsTriggerProps, IrisTagInput, type IrisTagInputProps, IrisTextarea, type IrisTextareaProps, type IrisTextareaSize, IrisTimePicker, type IrisTimePickerFormat, type IrisTimePickerProps, type IrisTimeValue, IrisTimeline, type IrisTimelineItem, type IrisTimelineProps, type IrisTimelineVariant, type IrisToast, type IrisToastInput, type IrisToastPosition, type IrisToastVariant, IrisToastViewport, type IrisToastViewportProps, IrisToggleGroup, IrisToggleGroupItem, type IrisToggleGroupItemProps, type IrisToggleGroupMultipleProps, type IrisToggleGroupOrientation, type IrisToggleGroupProps, type IrisToggleGroupSingleProps, type IrisToggleGroupSize, type IrisToggleGroupType, type IrisToggleGroupValue, type IrisToggleGroupVariant, IrisToolbar, type IrisToolbarOrientation, type IrisToolbarProps, IrisTooltip, type IrisTooltipProps, IrisTour, type IrisTourProps, type IrisTourStep, IrisTransfer, type IrisTransferItem, type IrisTransferProps, IrisTree, type IrisTreeNode, type IrisTreeProps, IrisTreeSelect, type IrisTreeSelectNode, type IrisTreeSelectProps, type IrisTreeSelectSize, type IrisTreeSelectionMode, IrisVirtualScroll, type IrisVirtualScrollAlign, type IrisVirtualScrollHandle, type IrisVirtualScrollProps, IrisVisuallyHidden, type IrisVisuallyHiddenProps, IrisWatermark, type IrisWatermarkProps, MenuContext, type MenuContextValue, PopoverContext, type PopoverContextValue, RadioGroupContext, type RadioGroupContextValue, StepperContext, type StepperContextValue, TabsContext, type TabsContextValue, ToggleGroupContext, type ToggleGroupContextValue, type UseDragOptions, type UseToastReturn, __PROGRESS_STYLE_ID, __SKELETON_STYLE_ID, __SPINNER_STYLE_ID, __resetProgressStyles, __resetSkeletonStyles, __resetSpinnerStyles, clearToasts, defaultFilter, dismissToast, downloadCsv, downloadExcel, exportCsv, exportExcel, formatBytes, formatRemaining, getToasts, pushToast, subscribeToasts, useAccordionContext, useDialogContext, useDisposableScope, useDrag, useDrawerContext, useDropdownContext, useMachine, useMenuContext, usePopoverContext, useReconnectingSource, useResilientFetcher, useStepperContext, useStore, useStoreSelector, useTabsContext, useToast, useToggleGroupContext };
|
|
3520
|
+
export { AccordionContext, type AccordionContextValue, DialogContext, type DialogContextValue, type DragState, DrawerContext, type DrawerContextValue, DropdownContext, type DropdownContextValue, IrisAccordion, IrisAccordionItem, type IrisAccordionItemProps, type IrisAccordionProps, type IrisAccordionValue, IrisAffix, type IrisAffixProps, IrisAlert, type IrisAlertProps, type IrisAlertTone, IrisAnchor, type IrisAnchorItem, type IrisAnchorProps, IrisAspectRatio, type IrisAspectRatioProps, IrisAvatar, type IrisAvatarProps, type IrisAvatarShape, type IrisAvatarSize, IrisBackTop, type IrisBackTopProps, IrisBadge, type IrisBadgeProps, type IrisBadgeSize, type IrisBadgeTone, type IrisBadgeVariant, IrisBanner, type IrisBannerProps, type IrisBannerTone, IrisBreadcrumb, IrisBreadcrumbItem, type IrisBreadcrumbItemProps, type IrisBreadcrumbProps, IrisButton, type IrisButtonProps, type IrisButtonSize, type IrisButtonType, type IrisButtonVariant, IrisCalendar, type IrisCalendarProps, IrisCard, type IrisCardPadding, type IrisCardProps, type IrisCardVariant, IrisCarousel, type IrisCarouselProps, IrisCascader, type IrisCascaderNode, type IrisCascaderProps, type IrisCascaderSize, IrisCheckbox, type IrisCheckboxProps, type IrisCheckboxSize, type IrisCheckboxValue, IrisChip, type IrisChipProps, type IrisChipSize, type IrisChipTone, type IrisChipVariant, IrisColorPicker, type IrisColorPickerProps, IrisCombobox, type IrisComboboxOption, type IrisComboboxProps, type IrisComboboxSize, type IrisCommandItem, IrisCommandPalette, type IrisCommandPaletteProps, IrisCopyButton, type IrisCopyButtonProps, type IrisCopyButtonSize, IrisCountdown, type IrisCountdownProps, type IrisCountdownSize, IrisDatePicker, type IrisDatePickerProps, type IrisDateRange, IrisDateRangePicker, type IrisDateRangePickerProps, IrisDescriptions, type IrisDescriptionsItem, type IrisDescriptionsLayout, type IrisDescriptionsProps, IrisDialog, IrisDialogClose, type IrisDialogCloseProps, IrisDialogContent, type IrisDialogContentProps, IrisDialogDescription, type IrisDialogDescriptionProps, type IrisDialogProps, IrisDialogTitle, type IrisDialogTitleProps, IrisDialogTrigger, type IrisDialogTriggerProps, IrisDivider, type IrisDividerOrientation, type IrisDividerProps, type IrisDividerSpacing, IrisDragger, type IrisDraggerBounds, type IrisDraggerPosition, type IrisDraggerProps, IrisDrawer, IrisDrawerClose, type IrisDrawerCloseProps, IrisDrawerContent, type IrisDrawerContentProps, type IrisDrawerProps, type IrisDrawerSide, IrisDrawerTitle, type IrisDrawerTitleProps, IrisDrawerTrigger, type IrisDrawerTriggerProps, IrisDropdown, IrisDropdownItem, type IrisDropdownItemProps, IrisDropdownMenu, type IrisDropdownMenuProps, type IrisDropdownProps, IrisDropdownSeparator, type IrisDropdownSeparatorProps, IrisDropdownTrigger, type IrisDropdownTriggerProps, IrisEmptyState, type IrisEmptyStateProps, IrisFieldset, type IrisFieldsetProps, IrisFileUpload, type IrisFileUploadFile, type IrisFileUploadProps, type IrisFileUploadRejectReason, type IrisFileUploadRejection, IrisFloatButton, type IrisFloatButtonAction, type IrisFloatButtonProps, type IrisFloatButtonShape, IrisFormField, type IrisFormFieldProps, IrisGauge, type IrisGaugeProps, type IrisGaugeStatus, IrisIcon, type IrisIconProps, IrisImage, type IrisImageProps, IrisInput, type IrisInputProps, type IrisInputSize, type IrisInputType, IrisKbd, type IrisKbdProps, type IrisKbdSize, IrisList, type IrisListItem, type IrisListProps, IrisMarquee, type IrisMarqueeDirection, type IrisMarqueeProps, IrisMasonry, type IrisMasonryProps, type IrisMentionOption, IrisMentions, type IrisMentionsProps, IrisMenu, IrisMenuContent, type IrisMenuContentProps, IrisMenuItem, type IrisMenuItemProps, type IrisMenuProps, IrisMenuSeparator, type IrisMenuSeparatorProps, IrisMenuSub, type IrisMenuSubProps, IrisMenuTrigger, type IrisMenuTriggerProps, IrisNumberInput, type IrisNumberInputProps, type IrisNumberInputSize, IrisOtpInput, type IrisOtpInputProps, type IrisOtpInputSize, type IrisOtpInputType, IrisPagination, type IrisPaginationProps, type IrisPaginationSize, IrisPasswordInput, type IrisPasswordInputProps, IrisPopover, IrisPopoverContent, type IrisPopoverContentProps, type IrisPopoverProps, IrisPopoverTrigger, type IrisPopoverTriggerProps, IrisProgress, IrisProgressCircle, type IrisProgressCircleProps, type IrisProgressCircleStatus, type IrisProgressProps, type IrisProgressSize, type IrisProgressTone, IrisRadio, IrisRadioGroup, type IrisRadioGroupProps, type IrisRadioProps, type IrisRadioSize, IrisRangeSlider, type IrisRangeSliderProps, type IrisRangeSliderValue, IrisRating, type IrisRatingProps, type IrisRatingSize, IrisResizer, type IrisResizerHandle, type IrisResizerProps, type IrisResizerSize, IrisResult, type IrisResultProps, type IrisResultStatus, IrisRibbon, type IrisRibbonPlacement, type IrisRibbonProps, IrisScrollArea, type IrisScrollAreaAxis, type IrisScrollAreaProps, IrisSegmented, type IrisSegmentedOption, type IrisSegmentedProps, type IrisSegmentedSize, IrisSelect, type IrisSelectItem, type IrisSelectProps, type IrisSelectSize, type IrisSelectTriggerState, IrisSkeleton, type IrisSkeletonProps, type IrisSkeletonShape, IrisSlider, type IrisSliderOrientation, type IrisSliderProps, IrisSlot, type IrisSlotProps, IrisSpinner, type IrisSpinnerProps, type IrisSpinnerSize, IrisSplitButton, type IrisSplitButtonAction, type IrisSplitButtonProps, type IrisSplitButtonSize, type IrisSplitButtonVariant, IrisSplitter, type IrisSplitterOrientation, type IrisSplitterProps, IrisStatistic, type IrisStatisticProps, type IrisStatisticSize, type IrisStatisticTrend, type IrisStepStatus, IrisStepper, type IrisStepperOrientation, type IrisStepperProps, IrisStepperStep, type IrisStepperStepProps, IrisSwitch, type IrisSwitchProps, type IrisSwitchSize, IrisTable, type IrisTableAggregateOp, type IrisTableCellClickParams, type IrisTableCellEditEvent, type IrisTableColumn, type IrisTableColumnWidths, type IrisTableContextMenuParams, type IrisTableEditor, type IrisTableFormConfig, type IrisTableFormField, type IrisTableHandle, type IrisTablePagerConfig, type IrisTableProps, type IrisTableProxyQueryParams, type IrisTableRenderDetail, type IrisTableRowExpandable, type IrisTableSeqMethodParams, type IrisTableSortDirection, type IrisTableSortState, type IrisTableTooltipConfig, type IrisTableValidConfig, type IrisTableVirtualOptions, IrisTabs, IrisTabsContent, type IrisTabsContentProps, IrisTabsList, type IrisTabsListProps, type IrisTabsOrientation, type IrisTabsProps, IrisTabsTrigger, type IrisTabsTriggerProps, IrisTagInput, type IrisTagInputProps, IrisTextarea, type IrisTextareaProps, type IrisTextareaSize, IrisTimePicker, type IrisTimePickerFormat, type IrisTimePickerProps, type IrisTimeValue, IrisTimeline, type IrisTimelineItem, type IrisTimelineProps, type IrisTimelineVariant, type IrisToast, type IrisToastInput, type IrisToastPosition, type IrisToastVariant, IrisToastViewport, type IrisToastViewportProps, IrisToggleGroup, IrisToggleGroupItem, type IrisToggleGroupItemProps, type IrisToggleGroupMultipleProps, type IrisToggleGroupOrientation, type IrisToggleGroupProps, type IrisToggleGroupSingleProps, type IrisToggleGroupSize, type IrisToggleGroupType, type IrisToggleGroupValue, type IrisToggleGroupVariant, IrisToolbar, type IrisToolbarOrientation, type IrisToolbarProps, IrisTooltip, type IrisTooltipProps, IrisTour, type IrisTourProps, type IrisTourStep, IrisTransfer, type IrisTransferItem, type IrisTransferProps, type IrisTransferVirtualOptions, IrisTree, type IrisTreeNode, type IrisTreeProps, IrisTreeSelect, type IrisTreeSelectNode, type IrisTreeSelectProps, type IrisTreeSelectSize, type IrisTreeSelectionMode, type IrisTreeVirtualOptions, IrisVirtualScroll, type IrisVirtualScrollAlign, type IrisVirtualScrollHandle, type IrisVirtualScrollProps, IrisVisuallyHidden, type IrisVisuallyHiddenProps, IrisWatermark, type IrisWatermarkProps, MenuContext, type MenuContextValue, PopoverContext, type PopoverContextValue, RadioGroupContext, type RadioGroupContextValue, StepperContext, type StepperContextValue, TabsContext, type TabsContextValue, ToggleGroupContext, type ToggleGroupContextValue, type UseDragOptions, type UseToastReturn, __PROGRESS_STYLE_ID, __SKELETON_STYLE_ID, __SPINNER_STYLE_ID, __resetProgressStyles, __resetSkeletonStyles, __resetSpinnerStyles, clearToasts, defaultFilter, dismissToast, downloadCsv, downloadExcel, exportCsv, exportExcel, formatBytes, formatRemaining, getToasts, pushToast, subscribeToasts, useAccordionContext, useDialogContext, useDisposableScope, useDrag, useDrawerContext, useDropdownContext, useMachine, useMenuContext, usePopoverContext, useReconnectingSource, useResilientFetcher, useStepperContext, useStore, useStoreSelector, useTabsContext, useToast, useToggleGroupContext };
|