@sia.soul/sia-react-ui 0.1.145 → 0.1.147

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.
Files changed (46) hide show
  1. package/dist/{Button-C8W8ZHWV.d.ts → Button-B59TIes7.d.ts} +1 -1
  2. package/dist/{Button-CxKBjLda.d.cts → Button-xLR4Yt57.d.cts} +1 -1
  3. package/dist/{Select-bKLket9n.d.cts → Select-DKfT3fJR.d.cts} +1 -1
  4. package/dist/{Select-CTSd8zum.d.ts → Select-Wolx4zNc.d.ts} +1 -1
  5. package/dist/chart.cjs +2 -23
  6. package/dist/chart.js +5 -5
  7. package/dist/{chunk-ORSQAJ22.js → chunk-4PYHSNRA.js} +5 -5
  8. package/dist/{chunk-F52O2MOV.js → chunk-6SSZVJO4.js} +3 -3
  9. package/dist/{chunk-WCYVBO2N.js → chunk-EZTF5TA2.js} +4 -4
  10. package/dist/{chunk-LKLPCYEP.js → chunk-NRLIOMXY.js} +2 -2
  11. package/dist/{chunk-7SEGBB6V.js → chunk-PU2V3VB5.js} +1 -24
  12. package/dist/{chunk-566S64IP.js → chunk-QLS2IXU4.js} +4 -4
  13. package/dist/{chunk-4OHS7RXE.js → chunk-SRWUDTCS.js} +2 -0
  14. package/dist/{chunk-MD4CGSOR.js → chunk-TH7BNDV4.js} +6 -6
  15. package/dist/{chunk-4TYHSAR3.js → chunk-W4HDN7MD.js} +5 -5
  16. package/dist/{chunk-PD3K5U5Y.js → chunk-XXFYFLZA.js} +2 -2
  17. package/dist/{chunk-JRXYM5YH.js → chunk-YHVFLSZW.js} +2 -2
  18. package/dist/{chunk-ETQJ2DQ2.js → chunk-YO5OJQEH.js} +1 -1
  19. package/dist/{core-CvfsQGuT.d.ts → core-BJa8K9R8.d.ts} +5 -5
  20. package/dist/{core-COaZfusa.d.cts → core-DC4cb_KT.d.cts} +5 -5
  21. package/dist/core.cjs +2 -23
  22. package/dist/core.css +74 -1
  23. package/dist/core.d.cts +3 -3
  24. package/dist/core.d.ts +3 -3
  25. package/dist/core.js +8 -8
  26. package/dist/game.cjs +2 -23
  27. package/dist/game.css +74 -1
  28. package/dist/game.d.cts +1 -1
  29. package/dist/game.d.ts +1 -1
  30. package/dist/game.js +3 -3
  31. package/dist/index.cjs +1403 -1316
  32. package/dist/index.css +84 -1
  33. package/dist/index.d.cts +55 -9
  34. package/dist/index.d.ts +55 -9
  35. package/dist/index.js +167 -61
  36. package/dist/markdown-editor.cjs +2 -0
  37. package/dist/markdown-editor.js +3 -3
  38. package/dist/rich-text-editor.cjs +2 -23
  39. package/dist/rich-text-editor.js +7 -7
  40. package/dist/{select-date-range-Dad0IdD4.d.cts → select-date-range-C5bNGxaY.d.cts} +1 -1
  41. package/dist/{select-date-range-C8cacfmb.d.ts → select-date-range-DfhpX7vv.d.ts} +1 -1
  42. package/dist/select-date-range.cjs +2 -23
  43. package/dist/select-date-range.d.cts +3 -3
  44. package/dist/select-date-range.d.ts +3 -3
  45. package/dist/select-date-range.js +8 -8
  46. package/package.json +1 -1
package/dist/index.css CHANGED
@@ -2553,7 +2553,7 @@ fieldset:disabled .sia-input-number__floating-placeholder {
2553
2553
  .sia-card {
2554
2554
  --sia-card-accent: var(--sia-color-primary);
2555
2555
  color: var(--sia-color-text);
2556
- background: var(--sia-color-surface);
2556
+ background: var(--sia-card-background, var(--sia-color-surface));
2557
2557
  border: 1px solid color-mix(in srgb, var(--sia-color-border) 75%, var(--sia-color-surface));
2558
2558
  border-radius: var(--sia-radius);
2559
2559
  }
@@ -2637,6 +2637,29 @@ fieldset:disabled .sia-input-number__floating-placeholder {
2637
2637
  .sia-card--actionable {
2638
2638
  cursor: pointer;
2639
2639
  }
2640
+ .sia-card--actionable:not([aria-disabled=true]) {
2641
+ transition:
2642
+ background-color 140ms ease,
2643
+ border-color 140ms ease,
2644
+ transform 100ms ease;
2645
+ }
2646
+ .sia-card--actionable:not([aria-disabled=true]):hover {
2647
+ background: color-mix(in srgb, var(--sia-color-primary) 8%, var(--sia-card-background, var(--sia-color-surface)));
2648
+ border-color: color-mix(in srgb, var(--sia-color-primary) 35%, var(--sia-color-border));
2649
+ }
2650
+ .sia-card--actionable:not([aria-disabled=true]):active:not(:has(button:active, a:active, input:active, select:active, textarea:active, [contenteditable=true]:active)) {
2651
+ background: color-mix(in srgb, var(--sia-color-primary) 16%, var(--sia-card-background, var(--sia-color-surface)));
2652
+ border-color: var(--sia-color-primary);
2653
+ transform: scale(.98);
2654
+ }
2655
+ @media (prefers-reduced-motion: reduce) {
2656
+ .sia-card--actionable:not([aria-disabled=true]) {
2657
+ transition: none;
2658
+ }
2659
+ .sia-card--actionable:not([aria-disabled=true]):active {
2660
+ transform: none;
2661
+ }
2662
+ }
2640
2663
  .sia-card--selectable[data-sia-interaction-cursor=default],
2641
2664
  .sia-card--actionable[data-sia-interaction-cursor=default] {
2642
2665
  cursor: default;
@@ -2693,6 +2716,33 @@ fieldset:disabled .sia-input-number__floating-placeholder {
2693
2716
  border-color: var(--sia-color-primary);
2694
2717
  box-shadow: inset 0 0 0 1px var(--sia-color-primary);
2695
2718
  }
2719
+ .sia-card--selectable:not([aria-disabled=true]) {
2720
+ transition:
2721
+ background-color 140ms ease,
2722
+ border-color 140ms ease,
2723
+ transform 100ms ease;
2724
+ }
2725
+ .sia-card--selectable:not([aria-disabled=true]):hover {
2726
+ background: color-mix(in srgb, var(--sia-color-primary) 8%, var(--sia-card-background, var(--sia-color-surface)));
2727
+ border-color: color-mix(in srgb, var(--sia-color-primary) 35%, var(--sia-color-border));
2728
+ }
2729
+ .sia-card--selectable.sia-card--selected:not([aria-disabled=true]):hover {
2730
+ background: color-mix(in srgb, var(--sia-color-primary) 16%, var(--sia-color-surface));
2731
+ border-color: var(--sia-color-primary);
2732
+ }
2733
+ .sia-card--selectable:not([aria-disabled=true]):active:not(:has(button:active, a:active, input:active, select:active, textarea:active, [contenteditable=true]:active)) {
2734
+ background: color-mix(in srgb, var(--sia-color-primary) 24%, var(--sia-card-background, var(--sia-color-surface)));
2735
+ border-color: var(--sia-color-primary);
2736
+ transform: scale(.98);
2737
+ }
2738
+ @media (prefers-reduced-motion: reduce) {
2739
+ .sia-card--selectable:not([aria-disabled=true]) {
2740
+ transition: none;
2741
+ }
2742
+ .sia-card--selectable:not([aria-disabled=true]):active:not(:has(button:active, a:active, input:active, select:active, textarea:active, [contenteditable=true]:active)) {
2743
+ transform: none;
2744
+ }
2745
+ }
2696
2746
  .sia-card.sia-card--borderless {
2697
2747
  border: 0;
2698
2748
  box-shadow: none;
@@ -5634,6 +5684,29 @@ fieldset:disabled .sia-input-number__floating-placeholder {
5634
5684
  .sia-query-form__fields {
5635
5685
  position: relative;
5636
5686
  }
5687
+ .sia-virtual-grid {
5688
+ position: relative;
5689
+ flex: 1;
5690
+ height: 100%;
5691
+ min-width: 0;
5692
+ min-height: 0;
5693
+ overflow: auto;
5694
+ overscroll-behavior: contain;
5695
+ overflow-anchor: none;
5696
+ }
5697
+ .sia-virtual-grid__spacer {
5698
+ position: relative;
5699
+ width: 100%;
5700
+ }
5701
+ .sia-virtual-grid__row {
5702
+ position: absolute;
5703
+ inset-inline: 0;
5704
+ display: grid;
5705
+ }
5706
+ .sia-virtual-grid__item {
5707
+ min-width: 0;
5708
+ height: 100%;
5709
+ }
5637
5710
 
5638
5711
  /* src/overlay-borders.css */
5639
5712
  .sia-select__dropdown.sia-select__dropdown,
@@ -11592,6 +11665,16 @@ body > .sia-title-tooltip[data-sia-popup-layer] {
11592
11665
  gap: 8px;
11593
11666
  }
11594
11667
 
11668
+ /* src/components/Video.css */
11669
+ .sia-video {
11670
+ display: block;
11671
+ width: 100%;
11672
+ max-width: 100%;
11673
+ object-fit: contain;
11674
+ background: var(--sia-color-surface);
11675
+ border-radius: var(--sia-radius, 8px);
11676
+ }
11677
+
11595
11678
  /* src/float-button.css */
11596
11679
  .sia-float-button-root,
11597
11680
  .sia-float-button-group {
package/dist/index.d.cts CHANGED
@@ -1,13 +1,13 @@
1
1
  import * as react from 'react';
2
- import { HTMLAttributes, ReactNode, CSSProperties, ElementType, FormHTMLAttributes, InputHTMLAttributes, ChangeEvent, TextareaHTMLAttributes, MouseEvent, Key, PointerEvent, Ref, ReactElement, ButtonHTMLAttributes } from 'react';
3
- import { T as TagStatus, B as BadgeProps } from './core-COaZfusa.cjs';
4
- export { a as Badge, b as BadgeRibbonProps, c as BadgeStatus, d as Breadcrumb, e as BreadcrumbItem, f as BreadcrumbProps, C as Calendar, g as CalendarProps, h as Card, i as CardAccent, j as CardProps, k as Carousel, l as CarouselProps, m as CarouselRef, n as Collapse, o as CollapseItem, p as CollapseKey, q as CollapseProps, D as Dropdown, r as DropdownButtonProps, s as DropdownMenuProps, t as DropdownOpenSource, u as DropdownPlacement, v as DropdownProps, w as DropdownTrigger, F as FILLED_ICON_NAMES, x as FilledIconName, y as FloatButton, z as FloatButtonBackTopProps, A as FloatButtonGroupProps, E as FloatButtonProps, G as FloatButtonShape, H as FloatingPlacement, I as FloatingScrollbarProvider, J as FloatingScrollbarProviderProps, K as FloatingTrigger, L as ICON_NAMES, M as Icon, N as IconName, O as IconProps, P as IconVariant, Q as Image, R as ImagePreview, S as ImagePreviewConfig, U as ImagePreviewGroup, V as ImagePreviewGroupProps, W as ImagePreviewProps, X as ImageProps, Y as Input, Z as InputProps, _ as Menu, $ as MenuClickInfo, a0 as MenuItem, a1 as MenuMode, a2 as MenuProps, a3 as MenuTheme, a4 as MessageConfig, a5 as MessageHandle, a6 as MessageKey, a7 as MessageType, a8 as NotificationConfig, a9 as NotificationPlacement, aa as NotificationType, ab as Popconfirm, ac as PopconfirmProps, ad as Popover, ae as PopoverProps, af as Progress, ag as ProgressProps, ah as ProgressStatus, ai as Rate, aj as RateProps, ak as Result, al as ResultProps, am as ResultStatus, an as Segmented, ao as SegmentedOption, ap as SegmentedProps, aq as SegmentedValue, ar as Skeleton, as as SkeletonProps, at as Spin, au as SpinProps, av as StepItem, aw as StepStatus, ax as Steps, ay as StepsProps, az as TabItem, aA as Tabs, aB as TabsContextMenuClickInfo, aC as TabsOrientation, aD as TabsPosition, aE as TabsProps, aF as TabsType, aG as Tag, aH as TagProps, aI as TagSize, aJ as TagVariant, aK as Timeline, aL as TimelineItem, aM as TimelineProps, aN as Toolbar, aO as ToolbarItem, aP as ToolbarProps, aQ as Tooltip, aR as TooltipProps, aS as Tour, aT as TourProps, aU as TourStep, aV as Tree, aW as TreeDropPosition, aX as TreeKey, aY as TreeNode, aZ as TreeProps, a_ as Typography, a$ as TypographyLinkProps, b0 as TypographyProps, b1 as TypographyTitleProps, b2 as TypographyType, b3 as Upload, b4 as UploadChangeInfo, b5 as UploadDraggerProps, b6 as UploadFile, b7 as UploadFileStatus, b8 as UploadHttpRequest, b9 as UploadItemActions, ba as UploadProps, bb as UploadRef, bc as UploadRejectInfo, bd as UploadRequestHandle, be as UploadRequestOptions, bf as Watermark, bg as WatermarkFont, bh as WatermarkProps, bi as message, bj as notification } from './core-COaZfusa.cjs';
2
+ import { HTMLAttributes, ReactNode, CSSProperties, ElementType, FormHTMLAttributes, InputHTMLAttributes, ChangeEvent, TextareaHTMLAttributes, MouseEvent, Key, PointerEvent, Ref, ReactElement, ButtonHTMLAttributes, VideoHTMLAttributes } from 'react';
3
+ import { T as TagStatus, B as BadgeProps } from './core-DC4cb_KT.cjs';
4
+ export { a as Badge, b as BadgeRibbonProps, c as BadgeStatus, d as Breadcrumb, e as BreadcrumbItem, f as BreadcrumbProps, C as Calendar, g as CalendarProps, h as Card, i as CardAccent, j as CardProps, k as Carousel, l as CarouselProps, m as CarouselRef, n as Collapse, o as CollapseItem, p as CollapseKey, q as CollapseProps, D as Dropdown, r as DropdownButtonProps, s as DropdownMenuProps, t as DropdownOpenSource, u as DropdownPlacement, v as DropdownProps, w as DropdownTrigger, F as FILLED_ICON_NAMES, x as FilledIconName, y as FloatButton, z as FloatButtonBackTopProps, A as FloatButtonGroupProps, E as FloatButtonProps, G as FloatButtonShape, H as FloatingPlacement, I as FloatingScrollbarProvider, J as FloatingScrollbarProviderProps, K as FloatingTrigger, L as ICON_NAMES, M as Icon, N as IconName, O as IconProps, P as IconVariant, Q as Image, R as ImagePreview, S as ImagePreviewConfig, U as ImagePreviewGroup, V as ImagePreviewGroupProps, W as ImagePreviewProps, X as ImageProps, Y as Input, Z as InputProps, _ as Menu, $ as MenuClickInfo, a0 as MenuItem, a1 as MenuMode, a2 as MenuProps, a3 as MenuTheme, a4 as MessageConfig, a5 as MessageHandle, a6 as MessageKey, a7 as MessageType, a8 as NotificationConfig, a9 as NotificationPlacement, aa as NotificationType, ab as Popconfirm, ac as PopconfirmProps, ad as Popover, ae as PopoverProps, af as Progress, ag as ProgressProps, ah as ProgressStatus, ai as Rate, aj as RateProps, ak as Result, al as ResultProps, am as ResultStatus, an as Segmented, ao as SegmentedOption, ap as SegmentedProps, aq as SegmentedValue, ar as Skeleton, as as SkeletonProps, at as Spin, au as SpinProps, av as StepItem, aw as StepStatus, ax as Steps, ay as StepsProps, az as TabItem, aA as Tabs, aB as TabsContextMenuClickInfo, aC as TabsOrientation, aD as TabsPosition, aE as TabsProps, aF as TabsType, aG as Tag, aH as TagProps, aI as TagSize, aJ as TagVariant, aK as Timeline, aL as TimelineItem, aM as TimelineProps, aN as Toolbar, aO as ToolbarItem, aP as ToolbarProps, aQ as Tooltip, aR as TooltipProps, aS as Tour, aT as TourProps, aU as TourStep, aV as Tree, aW as TreeDropPosition, aX as TreeKey, aY as TreeNode, aZ as TreeProps, a_ as Typography, a$ as TypographyLinkProps, b0 as TypographyProps, b1 as TypographyTitleProps, b2 as TypographyType, b3 as Upload, b4 as UploadChangeInfo, b5 as UploadDraggerProps, b6 as UploadFile, b7 as UploadFileStatus, b8 as UploadHttpRequest, b9 as UploadItemActions, ba as UploadProps, bb as UploadRef, bc as UploadRejectInfo, bd as UploadRequestHandle, be as UploadRequestOptions, bf as Watermark, bg as WatermarkFont, bh as WatermarkProps, bi as message, bj as notification } from './core-DC4cb_KT.cjs';
5
5
  import { C as ControlSize, I as InputPlaceholderMode, a as ControlStatus } from './shared-Bx4B28Wh.cjs';
6
- import { B as ButtonProps, a as ButtonSize } from './Button-CxKBjLda.cjs';
7
- export { b as Button, c as ButtonVariant } from './Button-CxKBjLda.cjs';
8
- import { O as OverlayContainer, a as OverlayApiHandle, M as ModalOpenConfig, S as SelectOption, b as SelectChangeValue, c as SelectProps, d as ModalActionResult } from './Select-bKLket9n.cjs';
9
- export { e as Modal, f as ModalProps, g as ModalType, h as Select, i as SelectMode, j as SelectValue } from './Select-bKLket9n.cjs';
10
- export { D as DatePicker, a as DatePickerDisabledInfo, b as DatePickerPreset, c as DatePickerProps, d as DatePickerShowTime, e as DatePickerType, f as DatePickerValue, g as DateRangePickerPreset, h as DateRangePickerProps, S as SelectDateRange, i as SelectDateRangeProps, j as SelectDateRangeValue } from './select-date-range-Dad0IdD4.cjs';
6
+ import { B as ButtonProps, a as ButtonSize } from './Button-xLR4Yt57.cjs';
7
+ export { b as Button, c as ButtonVariant } from './Button-xLR4Yt57.cjs';
8
+ import { O as OverlayContainer, a as OverlayApiHandle, M as ModalOpenConfig, S as SelectOption, b as SelectChangeValue, c as SelectProps, d as ModalActionResult } from './Select-DKfT3fJR.cjs';
9
+ export { e as Modal, f as ModalProps, g as ModalType, h as Select, i as SelectMode, j as SelectValue } from './Select-DKfT3fJR.cjs';
10
+ export { D as DatePicker, a as DatePickerDisabledInfo, b as DatePickerPreset, c as DatePickerProps, d as DatePickerShowTime, e as DatePickerType, f as DatePickerValue, g as DateRangePickerPreset, h as DateRangePickerProps, S as SelectDateRange, i as SelectDateRangeProps, j as SelectDateRangeValue } from './select-date-range-C5bNGxaY.cjs';
11
11
  export { RichTextContent, RichTextContentFormat, RichTextContentProps, RichTextEditor, RichTextEditorProps, RichTextImagePasteHandler, RichTextToolbar } from './rich-text-editor.cjs';
12
12
  export { MarkdownEditor, MarkdownEditorMode, MarkdownEditorProps } from './markdown-editor.cjs';
13
13
  import * as Monaco from 'monaco-editor';
@@ -3178,6 +3178,22 @@ interface ThemeSwitchProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>,
3178
3178
  /** 主题切换组件。 */
3179
3179
  declare const ThemeSwitch: react.ForwardRefExoticComponent<ThemeSwitchProps & react.RefAttributes<HTMLButtonElement>>;
3180
3180
 
3181
+ /** 视频展示组件的属性;继承视频地址、封面、媒体事件和无障碍属性。 */
3182
+ interface VideoProps extends VideoHTMLAttributes<HTMLVideoElement> {
3183
+ /** 是否显示浏览器播放控制栏,默认 true;窗口采集预览可设为 false。 */
3184
+ controls?: boolean;
3185
+ /** 是否静音,默认 false;自动播放的采集预览建议设为 true。 */
3186
+ muted?: boolean;
3187
+ /** 是否在页面内播放,默认 true,避免移动设备自动进入全屏播放器。 */
3188
+ playsInline?: boolean;
3189
+ }
3190
+ /**
3191
+ * 视频展示,默认占容器宽度并完整显示画面,沿用框架表面色和圆角。
3192
+ * ref 指向 HTMLVideoElement,可赋值 srcObject 接入 MediaStream;
3193
+ * 调用方负责捕获授权、处理 play() 拒绝及停止媒体轨道,组件不申请摄像头或屏幕权限。
3194
+ */
3195
+ declare const Video: react.ForwardRefExoticComponent<VideoProps & react.RefAttributes<HTMLVideoElement>>;
3196
+
3181
3197
  /** Selection的值类型。 */
3182
3198
  type SelectionValue = string | number;
3183
3199
  /** Selection的候选项定义。 */
@@ -3545,4 +3561,34 @@ interface NumberRangeProps extends Omit<HTMLAttributes<HTMLSpanElement>, "onChan
3545
3561
  /** 日期区间风格的双数字输入框,使用波浪线分隔;可直接绑定 Form.Item。 */
3546
3562
  declare const NumberRange: react.ForwardRefExoticComponent<NumberRangeProps & react.RefAttributes<HTMLSpanElement>>;
3547
3563
 
3548
- export { Alert, type AlertProps, type AlertStatus, type AnyTablePlugin, AutoSizer, type AutoSizerProps, type AutoSizerSize, BadgeProps, ButtonProps, ButtonSize, Cascader, type CascaderFieldNames, type CascaderOption, type CascaderProps, type CascaderValue, Checkbox, type CheckboxGroupProps, type CheckboxOption, type CheckboxProps, type CheckboxValue, Col, type ColProps, type ColSize, ColorPicker, type ColorPickerMode, type ColorPickerPreset, type ColorPickerProps, ControlSize, ControlStatus, CursorPreview, type CursorPreviewFrame, type CursorPreviewProps, DEFAULT_PAGE_SIZE_OPTIONS, Divider, type DividerProps, Drawer, type DrawerOpenConfig, type DrawerPlacement, type DrawerProps, type DrawerPush, type DrawerPushConfig, Editor, type EditorCommand, type EditorCompletionContext, type EditorCompletionItem, type EditorCompletionItemKind, type EditorCompletionProvider, type EditorContextMenuItem, type EditorHandle, type EditorKeyDownEvent, type EditorLanguage, type EditorMarker, type EditorProps, type EditorRange, type EditorSelectionChange, type EditorTheme, type FlatTreeNode, type FlatTreeOptions, Flex, type FlexProps, FloatingPanel, type FloatingPanelProps, Form, type FormErrorField, type FormFieldData, type FormInstance, type FormItemProps, type FormListField, type FormListOperation, type FormListProps, type FormProps, type FormRule, type FormValues, type GridBreakpoint, InputNumber, type InputNumberProps, InputPlaceholderMode, InputSelect, type InputSelectProps, type LayoutGap, Markdown, type MarkdownProps, ModalActionResult, ModalOpenConfig, type NamePath, NumberRange, type NumberRangeProps, type NumberRangeValue, OverlayApiHandle, Pagination, type PaginationProps, QueryForm, type QueryFormField, type QueryFormFieldSetting, type QueryFormProps, type QueryFormSearchInfo, type QueryFormSettingsConfig, type QueryFormSettingsSnapshot, type QueryFormShortcut, Radio, type RadioGroupProps, type RadioOption, type RadioProps, type RadioValue, Row, type RowProps, SIA_THEME, SelectChangeValue, type SelectModalConfig, SelectOption, SelectProps, type SelectionOption, SelectionPanel, type SelectionPanelProps, type SelectionValue, type SiaThemeMode, Slider, type SliderMark, type SliderProps, type SliderValue, type SortableKey, SortableList, type SortableListProps, Space, type SpaceCompactProps, type SpaceProps, Splitter, type SplitterPanelProps, type SplitterProps, Switch, type SwitchProps, type SwitchVariant, Table, type TableAlign, type TableCanvasCell, type TableCellAddress, type TableCellFocusOptions, type TableCellRange, type TableCellRenderInfo, type TableCellSelectionApi, type TableCellSelectionPluginOptions, type TableColumn, type TableColumnSettingApi, type TableColumnSettingItem, type TableColumnSettingPluginOptions, type TableColumnTransformPluginOptions, type TableEditableApi, type TableEditableCellConfig, type TableEditableCellType, type TableEditablePluginOptions, type TableExportApi, type TableExportPluginOptions, type TableExportScope, type TableFilterApi, type TableFilterPluginOptions, type TableFilterValues, type TableFixed, type TableHighlightPluginOptions, type TableHighlightValue, type TableIndexPluginOptions, type TableKey, type TableMergeStickyConfig, type TablePageParams, type TablePaginationApi, type TablePaginationPluginOptions, type TablePlugin, type TablePluginCellProps, type TablePluginContext, type TablePluginEvent, type TableProps, type TableRef, type TableResizeApi, type TableResizePluginOptions, type TableRow, type TableRowSpanPluginOptions, type TableSelectedCell, type TableSelectionApi, type TableSelectionMode, type TableSelectionPluginOptions, type TableSettingsAdapter, type TableSettingsSnapshot, type TableSize, type TableSortApi, type TableSortInfo, type TableSortPluginOptions, type TableSummaryPluginOptions, type TableSummaryRow, type TableToolbarItem, type TableToolbarPluginOptions, type TableTreeApi, type TableTreePluginOptions, type TableWorksheetApi, type TableWorksheetChange, type TableWorksheetHistory, type TableWorksheetOperation, type TableWorksheetPluginOptions, type TableWorksheetReason, type TableWorksheetValueContext, TagStatus, TextArea, type TextAreaProps, ThemeSwitch, type ThemeSwitchProps, TimePicker, type TimePickerProps, type TimeRangePickerProps, ToolPanel, type ToolPanelItem, type ToolPanelPlacement, type ToolPanelProps, TreeSelect, type TreeSelectNode, type TreeSelectProps, type TreeSelectValue, Treemap, type TreemapNode, type TreemapNodeClickInfo, type TreemapNodeKind, type TreemapProps, type WindowAction, type WindowActionHandler, type WindowControlAction, type WindowControlLabels, WindowControls, type WindowControlsProps, WindowFrame, type WindowFrameProps, WindowTitleBar, type WindowTitleBarActionsAlign, type WindowTitleBarProps, applySiaTheme, buildFlatTree, createCellSelectionPlugin, createColumnSettingPlugin, createColumnTransformPlugin, createEditablePlugin, createExportPlugin, createFilterPlugin, createHighlightPlugin, createIndexPlugin, createLocalStorageTableSettingsAdapter, createPaginationPlugin, createResizePlugin, createRowSpanPlugin, createSelectionPlugin, createSortPlugin, createSummaryPlugin, createToolbarPlugin, createTreePlugin, createWorksheetPlugin, openSelectModal, useForm };
3564
+ /** 固定行高的响应式虚拟网格;父容器需提供确定高度或可收缩的弹性高度。 */
3565
+ interface VirtualGridProps<T> extends Omit<HTMLAttributes<HTMLDivElement>, "children"> {
3566
+ /** 已加载的数据;追加数组可继续滚动,组件不请求或存储远程数据。 */
3567
+ items: readonly T[];
3568
+ /** 返回跨排序保持稳定的项目标识,供 React 复用可见项。 */
3569
+ itemKey: (item: T, index: number) => Key;
3570
+ /** 渲染可见项目;index 是项目在 items 中的原始索引。 */
3571
+ renderItem: (item: T, index: number) => ReactNode;
3572
+ /** 每行固定高度,单位 px,须容纳完整项目内容;最小 1px。 */
3573
+ rowHeight: number;
3574
+ /** 每列最小宽度,单位 px;宽度不足时仍显示一列。@defaultValue 200 */
3575
+ minColumnWidth?: number;
3576
+ /** 行与列之间的间隔,单位 px。@defaultValue 8 */
3577
+ gap?: number;
3578
+ /** 视口上下额外保留的行数,降低快速滚动时的空白。@defaultValue 2 */
3579
+ overscan?: number;
3580
+ /** 是否还有后续数据;为 false 时不触发 onLoadMore。@defaultValue false */
3581
+ hasMore?: boolean;
3582
+ /** 是否正在加载;为 true 时不触发 onLoadMore,并设置 aria-busy。@defaultValue false */
3583
+ loading?: boolean;
3584
+ /** 距已加载内容底部多少 px 时请求下一批;首屏不足一屏时也触发。@defaultValue 120 */
3585
+ loadMoreThreshold?: number;
3586
+ /** 接近底部且 hasMore=true、loading=false 时调用;同一数据长度只通知一次。调用方追加 items 或变更 hasMore,异步加载及失败提示由调用方管理;需重试时可更换组件 key。 */
3587
+ onLoadMore?: () => void;
3588
+ /** 无已加载项目且未加载中时显示的内容。 */
3589
+ empty?: ReactNode;
3590
+ }
3591
+ /** 仅挂载可视行及缓冲行的网格;宽度变化自动重算列数,筛选重置滚动可更换 key。 */
3592
+ declare function VirtualGrid<T>({ items, itemKey, renderItem, rowHeight, minColumnWidth, gap, overscan, hasMore, loading, loadMoreThreshold, onLoadMore, empty, className, onScroll, tabIndex, ...props }: VirtualGridProps<T>): react.JSX.Element;
3593
+
3594
+ export { Alert, type AlertProps, type AlertStatus, type AnyTablePlugin, AutoSizer, type AutoSizerProps, type AutoSizerSize, BadgeProps, ButtonProps, ButtonSize, Cascader, type CascaderFieldNames, type CascaderOption, type CascaderProps, type CascaderValue, Checkbox, type CheckboxGroupProps, type CheckboxOption, type CheckboxProps, type CheckboxValue, Col, type ColProps, type ColSize, ColorPicker, type ColorPickerMode, type ColorPickerPreset, type ColorPickerProps, ControlSize, ControlStatus, CursorPreview, type CursorPreviewFrame, type CursorPreviewProps, DEFAULT_PAGE_SIZE_OPTIONS, Divider, type DividerProps, Drawer, type DrawerOpenConfig, type DrawerPlacement, type DrawerProps, type DrawerPush, type DrawerPushConfig, Editor, type EditorCommand, type EditorCompletionContext, type EditorCompletionItem, type EditorCompletionItemKind, type EditorCompletionProvider, type EditorContextMenuItem, type EditorHandle, type EditorKeyDownEvent, type EditorLanguage, type EditorMarker, type EditorProps, type EditorRange, type EditorSelectionChange, type EditorTheme, type FlatTreeNode, type FlatTreeOptions, Flex, type FlexProps, FloatingPanel, type FloatingPanelProps, Form, type FormErrorField, type FormFieldData, type FormInstance, type FormItemProps, type FormListField, type FormListOperation, type FormListProps, type FormProps, type FormRule, type FormValues, type GridBreakpoint, InputNumber, type InputNumberProps, InputPlaceholderMode, InputSelect, type InputSelectProps, type LayoutGap, Markdown, type MarkdownProps, ModalActionResult, ModalOpenConfig, type NamePath, NumberRange, type NumberRangeProps, type NumberRangeValue, OverlayApiHandle, Pagination, type PaginationProps, QueryForm, type QueryFormField, type QueryFormFieldSetting, type QueryFormProps, type QueryFormSearchInfo, type QueryFormSettingsConfig, type QueryFormSettingsSnapshot, type QueryFormShortcut, Radio, type RadioGroupProps, type RadioOption, type RadioProps, type RadioValue, Row, type RowProps, SIA_THEME, SelectChangeValue, type SelectModalConfig, SelectOption, SelectProps, type SelectionOption, SelectionPanel, type SelectionPanelProps, type SelectionValue, type SiaThemeMode, Slider, type SliderMark, type SliderProps, type SliderValue, type SortableKey, SortableList, type SortableListProps, Space, type SpaceCompactProps, type SpaceProps, Splitter, type SplitterPanelProps, type SplitterProps, Switch, type SwitchProps, type SwitchVariant, Table, type TableAlign, type TableCanvasCell, type TableCellAddress, type TableCellFocusOptions, type TableCellRange, type TableCellRenderInfo, type TableCellSelectionApi, type TableCellSelectionPluginOptions, type TableColumn, type TableColumnSettingApi, type TableColumnSettingItem, type TableColumnSettingPluginOptions, type TableColumnTransformPluginOptions, type TableEditableApi, type TableEditableCellConfig, type TableEditableCellType, type TableEditablePluginOptions, type TableExportApi, type TableExportPluginOptions, type TableExportScope, type TableFilterApi, type TableFilterPluginOptions, type TableFilterValues, type TableFixed, type TableHighlightPluginOptions, type TableHighlightValue, type TableIndexPluginOptions, type TableKey, type TableMergeStickyConfig, type TablePageParams, type TablePaginationApi, type TablePaginationPluginOptions, type TablePlugin, type TablePluginCellProps, type TablePluginContext, type TablePluginEvent, type TableProps, type TableRef, type TableResizeApi, type TableResizePluginOptions, type TableRow, type TableRowSpanPluginOptions, type TableSelectedCell, type TableSelectionApi, type TableSelectionMode, type TableSelectionPluginOptions, type TableSettingsAdapter, type TableSettingsSnapshot, type TableSize, type TableSortApi, type TableSortInfo, type TableSortPluginOptions, type TableSummaryPluginOptions, type TableSummaryRow, type TableToolbarItem, type TableToolbarPluginOptions, type TableTreeApi, type TableTreePluginOptions, type TableWorksheetApi, type TableWorksheetChange, type TableWorksheetHistory, type TableWorksheetOperation, type TableWorksheetPluginOptions, type TableWorksheetReason, type TableWorksheetValueContext, TagStatus, TextArea, type TextAreaProps, ThemeSwitch, type ThemeSwitchProps, TimePicker, type TimePickerProps, type TimeRangePickerProps, ToolPanel, type ToolPanelItem, type ToolPanelPlacement, type ToolPanelProps, TreeSelect, type TreeSelectNode, type TreeSelectProps, type TreeSelectValue, Treemap, type TreemapNode, type TreemapNodeClickInfo, type TreemapNodeKind, type TreemapProps, Video, type VideoProps, VirtualGrid, type VirtualGridProps, type WindowAction, type WindowActionHandler, type WindowControlAction, type WindowControlLabels, WindowControls, type WindowControlsProps, WindowFrame, type WindowFrameProps, WindowTitleBar, type WindowTitleBarActionsAlign, type WindowTitleBarProps, applySiaTheme, buildFlatTree, createCellSelectionPlugin, createColumnSettingPlugin, createColumnTransformPlugin, createEditablePlugin, createExportPlugin, createFilterPlugin, createHighlightPlugin, createIndexPlugin, createLocalStorageTableSettingsAdapter, createPaginationPlugin, createResizePlugin, createRowSpanPlugin, createSelectionPlugin, createSortPlugin, createSummaryPlugin, createToolbarPlugin, createTreePlugin, createWorksheetPlugin, openSelectModal, useForm };
package/dist/index.d.ts CHANGED
@@ -1,13 +1,13 @@
1
1
  import * as react from 'react';
2
- import { HTMLAttributes, ReactNode, CSSProperties, ElementType, FormHTMLAttributes, InputHTMLAttributes, ChangeEvent, TextareaHTMLAttributes, MouseEvent, Key, PointerEvent, Ref, ReactElement, ButtonHTMLAttributes } from 'react';
3
- import { T as TagStatus, B as BadgeProps } from './core-CvfsQGuT.js';
4
- export { a as Badge, b as BadgeRibbonProps, c as BadgeStatus, d as Breadcrumb, e as BreadcrumbItem, f as BreadcrumbProps, C as Calendar, g as CalendarProps, h as Card, i as CardAccent, j as CardProps, k as Carousel, l as CarouselProps, m as CarouselRef, n as Collapse, o as CollapseItem, p as CollapseKey, q as CollapseProps, D as Dropdown, r as DropdownButtonProps, s as DropdownMenuProps, t as DropdownOpenSource, u as DropdownPlacement, v as DropdownProps, w as DropdownTrigger, F as FILLED_ICON_NAMES, x as FilledIconName, y as FloatButton, z as FloatButtonBackTopProps, A as FloatButtonGroupProps, E as FloatButtonProps, G as FloatButtonShape, H as FloatingPlacement, I as FloatingScrollbarProvider, J as FloatingScrollbarProviderProps, K as FloatingTrigger, L as ICON_NAMES, M as Icon, N as IconName, O as IconProps, P as IconVariant, Q as Image, R as ImagePreview, S as ImagePreviewConfig, U as ImagePreviewGroup, V as ImagePreviewGroupProps, W as ImagePreviewProps, X as ImageProps, Y as Input, Z as InputProps, _ as Menu, $ as MenuClickInfo, a0 as MenuItem, a1 as MenuMode, a2 as MenuProps, a3 as MenuTheme, a4 as MessageConfig, a5 as MessageHandle, a6 as MessageKey, a7 as MessageType, a8 as NotificationConfig, a9 as NotificationPlacement, aa as NotificationType, ab as Popconfirm, ac as PopconfirmProps, ad as Popover, ae as PopoverProps, af as Progress, ag as ProgressProps, ah as ProgressStatus, ai as Rate, aj as RateProps, ak as Result, al as ResultProps, am as ResultStatus, an as Segmented, ao as SegmentedOption, ap as SegmentedProps, aq as SegmentedValue, ar as Skeleton, as as SkeletonProps, at as Spin, au as SpinProps, av as StepItem, aw as StepStatus, ax as Steps, ay as StepsProps, az as TabItem, aA as Tabs, aB as TabsContextMenuClickInfo, aC as TabsOrientation, aD as TabsPosition, aE as TabsProps, aF as TabsType, aG as Tag, aH as TagProps, aI as TagSize, aJ as TagVariant, aK as Timeline, aL as TimelineItem, aM as TimelineProps, aN as Toolbar, aO as ToolbarItem, aP as ToolbarProps, aQ as Tooltip, aR as TooltipProps, aS as Tour, aT as TourProps, aU as TourStep, aV as Tree, aW as TreeDropPosition, aX as TreeKey, aY as TreeNode, aZ as TreeProps, a_ as Typography, a$ as TypographyLinkProps, b0 as TypographyProps, b1 as TypographyTitleProps, b2 as TypographyType, b3 as Upload, b4 as UploadChangeInfo, b5 as UploadDraggerProps, b6 as UploadFile, b7 as UploadFileStatus, b8 as UploadHttpRequest, b9 as UploadItemActions, ba as UploadProps, bb as UploadRef, bc as UploadRejectInfo, bd as UploadRequestHandle, be as UploadRequestOptions, bf as Watermark, bg as WatermarkFont, bh as WatermarkProps, bi as message, bj as notification } from './core-CvfsQGuT.js';
2
+ import { HTMLAttributes, ReactNode, CSSProperties, ElementType, FormHTMLAttributes, InputHTMLAttributes, ChangeEvent, TextareaHTMLAttributes, MouseEvent, Key, PointerEvent, Ref, ReactElement, ButtonHTMLAttributes, VideoHTMLAttributes } from 'react';
3
+ import { T as TagStatus, B as BadgeProps } from './core-BJa8K9R8.js';
4
+ export { a as Badge, b as BadgeRibbonProps, c as BadgeStatus, d as Breadcrumb, e as BreadcrumbItem, f as BreadcrumbProps, C as Calendar, g as CalendarProps, h as Card, i as CardAccent, j as CardProps, k as Carousel, l as CarouselProps, m as CarouselRef, n as Collapse, o as CollapseItem, p as CollapseKey, q as CollapseProps, D as Dropdown, r as DropdownButtonProps, s as DropdownMenuProps, t as DropdownOpenSource, u as DropdownPlacement, v as DropdownProps, w as DropdownTrigger, F as FILLED_ICON_NAMES, x as FilledIconName, y as FloatButton, z as FloatButtonBackTopProps, A as FloatButtonGroupProps, E as FloatButtonProps, G as FloatButtonShape, H as FloatingPlacement, I as FloatingScrollbarProvider, J as FloatingScrollbarProviderProps, K as FloatingTrigger, L as ICON_NAMES, M as Icon, N as IconName, O as IconProps, P as IconVariant, Q as Image, R as ImagePreview, S as ImagePreviewConfig, U as ImagePreviewGroup, V as ImagePreviewGroupProps, W as ImagePreviewProps, X as ImageProps, Y as Input, Z as InputProps, _ as Menu, $ as MenuClickInfo, a0 as MenuItem, a1 as MenuMode, a2 as MenuProps, a3 as MenuTheme, a4 as MessageConfig, a5 as MessageHandle, a6 as MessageKey, a7 as MessageType, a8 as NotificationConfig, a9 as NotificationPlacement, aa as NotificationType, ab as Popconfirm, ac as PopconfirmProps, ad as Popover, ae as PopoverProps, af as Progress, ag as ProgressProps, ah as ProgressStatus, ai as Rate, aj as RateProps, ak as Result, al as ResultProps, am as ResultStatus, an as Segmented, ao as SegmentedOption, ap as SegmentedProps, aq as SegmentedValue, ar as Skeleton, as as SkeletonProps, at as Spin, au as SpinProps, av as StepItem, aw as StepStatus, ax as Steps, ay as StepsProps, az as TabItem, aA as Tabs, aB as TabsContextMenuClickInfo, aC as TabsOrientation, aD as TabsPosition, aE as TabsProps, aF as TabsType, aG as Tag, aH as TagProps, aI as TagSize, aJ as TagVariant, aK as Timeline, aL as TimelineItem, aM as TimelineProps, aN as Toolbar, aO as ToolbarItem, aP as ToolbarProps, aQ as Tooltip, aR as TooltipProps, aS as Tour, aT as TourProps, aU as TourStep, aV as Tree, aW as TreeDropPosition, aX as TreeKey, aY as TreeNode, aZ as TreeProps, a_ as Typography, a$ as TypographyLinkProps, b0 as TypographyProps, b1 as TypographyTitleProps, b2 as TypographyType, b3 as Upload, b4 as UploadChangeInfo, b5 as UploadDraggerProps, b6 as UploadFile, b7 as UploadFileStatus, b8 as UploadHttpRequest, b9 as UploadItemActions, ba as UploadProps, bb as UploadRef, bc as UploadRejectInfo, bd as UploadRequestHandle, be as UploadRequestOptions, bf as Watermark, bg as WatermarkFont, bh as WatermarkProps, bi as message, bj as notification } from './core-BJa8K9R8.js';
5
5
  import { C as ControlSize, I as InputPlaceholderMode, a as ControlStatus } from './shared-Bx4B28Wh.js';
6
- import { B as ButtonProps, a as ButtonSize } from './Button-C8W8ZHWV.js';
7
- export { b as Button, c as ButtonVariant } from './Button-C8W8ZHWV.js';
8
- import { O as OverlayContainer, a as OverlayApiHandle, M as ModalOpenConfig, S as SelectOption, b as SelectChangeValue, c as SelectProps, d as ModalActionResult } from './Select-CTSd8zum.js';
9
- export { e as Modal, f as ModalProps, g as ModalType, h as Select, i as SelectMode, j as SelectValue } from './Select-CTSd8zum.js';
10
- export { D as DatePicker, a as DatePickerDisabledInfo, b as DatePickerPreset, c as DatePickerProps, d as DatePickerShowTime, e as DatePickerType, f as DatePickerValue, g as DateRangePickerPreset, h as DateRangePickerProps, S as SelectDateRange, i as SelectDateRangeProps, j as SelectDateRangeValue } from './select-date-range-C8cacfmb.js';
6
+ import { B as ButtonProps, a as ButtonSize } from './Button-B59TIes7.js';
7
+ export { b as Button, c as ButtonVariant } from './Button-B59TIes7.js';
8
+ import { O as OverlayContainer, a as OverlayApiHandle, M as ModalOpenConfig, S as SelectOption, b as SelectChangeValue, c as SelectProps, d as ModalActionResult } from './Select-Wolx4zNc.js';
9
+ export { e as Modal, f as ModalProps, g as ModalType, h as Select, i as SelectMode, j as SelectValue } from './Select-Wolx4zNc.js';
10
+ export { D as DatePicker, a as DatePickerDisabledInfo, b as DatePickerPreset, c as DatePickerProps, d as DatePickerShowTime, e as DatePickerType, f as DatePickerValue, g as DateRangePickerPreset, h as DateRangePickerProps, S as SelectDateRange, i as SelectDateRangeProps, j as SelectDateRangeValue } from './select-date-range-DfhpX7vv.js';
11
11
  export { RichTextContent, RichTextContentFormat, RichTextContentProps, RichTextEditor, RichTextEditorProps, RichTextImagePasteHandler, RichTextToolbar } from './rich-text-editor.js';
12
12
  export { MarkdownEditor, MarkdownEditorMode, MarkdownEditorProps } from './markdown-editor.js';
13
13
  import * as Monaco from 'monaco-editor';
@@ -3178,6 +3178,22 @@ interface ThemeSwitchProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>,
3178
3178
  /** 主题切换组件。 */
3179
3179
  declare const ThemeSwitch: react.ForwardRefExoticComponent<ThemeSwitchProps & react.RefAttributes<HTMLButtonElement>>;
3180
3180
 
3181
+ /** 视频展示组件的属性;继承视频地址、封面、媒体事件和无障碍属性。 */
3182
+ interface VideoProps extends VideoHTMLAttributes<HTMLVideoElement> {
3183
+ /** 是否显示浏览器播放控制栏,默认 true;窗口采集预览可设为 false。 */
3184
+ controls?: boolean;
3185
+ /** 是否静音,默认 false;自动播放的采集预览建议设为 true。 */
3186
+ muted?: boolean;
3187
+ /** 是否在页面内播放,默认 true,避免移动设备自动进入全屏播放器。 */
3188
+ playsInline?: boolean;
3189
+ }
3190
+ /**
3191
+ * 视频展示,默认占容器宽度并完整显示画面,沿用框架表面色和圆角。
3192
+ * ref 指向 HTMLVideoElement,可赋值 srcObject 接入 MediaStream;
3193
+ * 调用方负责捕获授权、处理 play() 拒绝及停止媒体轨道,组件不申请摄像头或屏幕权限。
3194
+ */
3195
+ declare const Video: react.ForwardRefExoticComponent<VideoProps & react.RefAttributes<HTMLVideoElement>>;
3196
+
3181
3197
  /** Selection的值类型。 */
3182
3198
  type SelectionValue = string | number;
3183
3199
  /** Selection的候选项定义。 */
@@ -3545,4 +3561,34 @@ interface NumberRangeProps extends Omit<HTMLAttributes<HTMLSpanElement>, "onChan
3545
3561
  /** 日期区间风格的双数字输入框,使用波浪线分隔;可直接绑定 Form.Item。 */
3546
3562
  declare const NumberRange: react.ForwardRefExoticComponent<NumberRangeProps & react.RefAttributes<HTMLSpanElement>>;
3547
3563
 
3548
- export { Alert, type AlertProps, type AlertStatus, type AnyTablePlugin, AutoSizer, type AutoSizerProps, type AutoSizerSize, BadgeProps, ButtonProps, ButtonSize, Cascader, type CascaderFieldNames, type CascaderOption, type CascaderProps, type CascaderValue, Checkbox, type CheckboxGroupProps, type CheckboxOption, type CheckboxProps, type CheckboxValue, Col, type ColProps, type ColSize, ColorPicker, type ColorPickerMode, type ColorPickerPreset, type ColorPickerProps, ControlSize, ControlStatus, CursorPreview, type CursorPreviewFrame, type CursorPreviewProps, DEFAULT_PAGE_SIZE_OPTIONS, Divider, type DividerProps, Drawer, type DrawerOpenConfig, type DrawerPlacement, type DrawerProps, type DrawerPush, type DrawerPushConfig, Editor, type EditorCommand, type EditorCompletionContext, type EditorCompletionItem, type EditorCompletionItemKind, type EditorCompletionProvider, type EditorContextMenuItem, type EditorHandle, type EditorKeyDownEvent, type EditorLanguage, type EditorMarker, type EditorProps, type EditorRange, type EditorSelectionChange, type EditorTheme, type FlatTreeNode, type FlatTreeOptions, Flex, type FlexProps, FloatingPanel, type FloatingPanelProps, Form, type FormErrorField, type FormFieldData, type FormInstance, type FormItemProps, type FormListField, type FormListOperation, type FormListProps, type FormProps, type FormRule, type FormValues, type GridBreakpoint, InputNumber, type InputNumberProps, InputPlaceholderMode, InputSelect, type InputSelectProps, type LayoutGap, Markdown, type MarkdownProps, ModalActionResult, ModalOpenConfig, type NamePath, NumberRange, type NumberRangeProps, type NumberRangeValue, OverlayApiHandle, Pagination, type PaginationProps, QueryForm, type QueryFormField, type QueryFormFieldSetting, type QueryFormProps, type QueryFormSearchInfo, type QueryFormSettingsConfig, type QueryFormSettingsSnapshot, type QueryFormShortcut, Radio, type RadioGroupProps, type RadioOption, type RadioProps, type RadioValue, Row, type RowProps, SIA_THEME, SelectChangeValue, type SelectModalConfig, SelectOption, SelectProps, type SelectionOption, SelectionPanel, type SelectionPanelProps, type SelectionValue, type SiaThemeMode, Slider, type SliderMark, type SliderProps, type SliderValue, type SortableKey, SortableList, type SortableListProps, Space, type SpaceCompactProps, type SpaceProps, Splitter, type SplitterPanelProps, type SplitterProps, Switch, type SwitchProps, type SwitchVariant, Table, type TableAlign, type TableCanvasCell, type TableCellAddress, type TableCellFocusOptions, type TableCellRange, type TableCellRenderInfo, type TableCellSelectionApi, type TableCellSelectionPluginOptions, type TableColumn, type TableColumnSettingApi, type TableColumnSettingItem, type TableColumnSettingPluginOptions, type TableColumnTransformPluginOptions, type TableEditableApi, type TableEditableCellConfig, type TableEditableCellType, type TableEditablePluginOptions, type TableExportApi, type TableExportPluginOptions, type TableExportScope, type TableFilterApi, type TableFilterPluginOptions, type TableFilterValues, type TableFixed, type TableHighlightPluginOptions, type TableHighlightValue, type TableIndexPluginOptions, type TableKey, type TableMergeStickyConfig, type TablePageParams, type TablePaginationApi, type TablePaginationPluginOptions, type TablePlugin, type TablePluginCellProps, type TablePluginContext, type TablePluginEvent, type TableProps, type TableRef, type TableResizeApi, type TableResizePluginOptions, type TableRow, type TableRowSpanPluginOptions, type TableSelectedCell, type TableSelectionApi, type TableSelectionMode, type TableSelectionPluginOptions, type TableSettingsAdapter, type TableSettingsSnapshot, type TableSize, type TableSortApi, type TableSortInfo, type TableSortPluginOptions, type TableSummaryPluginOptions, type TableSummaryRow, type TableToolbarItem, type TableToolbarPluginOptions, type TableTreeApi, type TableTreePluginOptions, type TableWorksheetApi, type TableWorksheetChange, type TableWorksheetHistory, type TableWorksheetOperation, type TableWorksheetPluginOptions, type TableWorksheetReason, type TableWorksheetValueContext, TagStatus, TextArea, type TextAreaProps, ThemeSwitch, type ThemeSwitchProps, TimePicker, type TimePickerProps, type TimeRangePickerProps, ToolPanel, type ToolPanelItem, type ToolPanelPlacement, type ToolPanelProps, TreeSelect, type TreeSelectNode, type TreeSelectProps, type TreeSelectValue, Treemap, type TreemapNode, type TreemapNodeClickInfo, type TreemapNodeKind, type TreemapProps, type WindowAction, type WindowActionHandler, type WindowControlAction, type WindowControlLabels, WindowControls, type WindowControlsProps, WindowFrame, type WindowFrameProps, WindowTitleBar, type WindowTitleBarActionsAlign, type WindowTitleBarProps, applySiaTheme, buildFlatTree, createCellSelectionPlugin, createColumnSettingPlugin, createColumnTransformPlugin, createEditablePlugin, createExportPlugin, createFilterPlugin, createHighlightPlugin, createIndexPlugin, createLocalStorageTableSettingsAdapter, createPaginationPlugin, createResizePlugin, createRowSpanPlugin, createSelectionPlugin, createSortPlugin, createSummaryPlugin, createToolbarPlugin, createTreePlugin, createWorksheetPlugin, openSelectModal, useForm };
3564
+ /** 固定行高的响应式虚拟网格;父容器需提供确定高度或可收缩的弹性高度。 */
3565
+ interface VirtualGridProps<T> extends Omit<HTMLAttributes<HTMLDivElement>, "children"> {
3566
+ /** 已加载的数据;追加数组可继续滚动,组件不请求或存储远程数据。 */
3567
+ items: readonly T[];
3568
+ /** 返回跨排序保持稳定的项目标识,供 React 复用可见项。 */
3569
+ itemKey: (item: T, index: number) => Key;
3570
+ /** 渲染可见项目;index 是项目在 items 中的原始索引。 */
3571
+ renderItem: (item: T, index: number) => ReactNode;
3572
+ /** 每行固定高度,单位 px,须容纳完整项目内容;最小 1px。 */
3573
+ rowHeight: number;
3574
+ /** 每列最小宽度,单位 px;宽度不足时仍显示一列。@defaultValue 200 */
3575
+ minColumnWidth?: number;
3576
+ /** 行与列之间的间隔,单位 px。@defaultValue 8 */
3577
+ gap?: number;
3578
+ /** 视口上下额外保留的行数,降低快速滚动时的空白。@defaultValue 2 */
3579
+ overscan?: number;
3580
+ /** 是否还有后续数据;为 false 时不触发 onLoadMore。@defaultValue false */
3581
+ hasMore?: boolean;
3582
+ /** 是否正在加载;为 true 时不触发 onLoadMore,并设置 aria-busy。@defaultValue false */
3583
+ loading?: boolean;
3584
+ /** 距已加载内容底部多少 px 时请求下一批;首屏不足一屏时也触发。@defaultValue 120 */
3585
+ loadMoreThreshold?: number;
3586
+ /** 接近底部且 hasMore=true、loading=false 时调用;同一数据长度只通知一次。调用方追加 items 或变更 hasMore,异步加载及失败提示由调用方管理;需重试时可更换组件 key。 */
3587
+ onLoadMore?: () => void;
3588
+ /** 无已加载项目且未加载中时显示的内容。 */
3589
+ empty?: ReactNode;
3590
+ }
3591
+ /** 仅挂载可视行及缓冲行的网格;宽度变化自动重算列数,筛选重置滚动可更换 key。 */
3592
+ declare function VirtualGrid<T>({ items, itemKey, renderItem, rowHeight, minColumnWidth, gap, overscan, hasMore, loading, loadMoreThreshold, onLoadMore, empty, className, onScroll, tabIndex, ...props }: VirtualGridProps<T>): react.JSX.Element;
3593
+
3594
+ export { Alert, type AlertProps, type AlertStatus, type AnyTablePlugin, AutoSizer, type AutoSizerProps, type AutoSizerSize, BadgeProps, ButtonProps, ButtonSize, Cascader, type CascaderFieldNames, type CascaderOption, type CascaderProps, type CascaderValue, Checkbox, type CheckboxGroupProps, type CheckboxOption, type CheckboxProps, type CheckboxValue, Col, type ColProps, type ColSize, ColorPicker, type ColorPickerMode, type ColorPickerPreset, type ColorPickerProps, ControlSize, ControlStatus, CursorPreview, type CursorPreviewFrame, type CursorPreviewProps, DEFAULT_PAGE_SIZE_OPTIONS, Divider, type DividerProps, Drawer, type DrawerOpenConfig, type DrawerPlacement, type DrawerProps, type DrawerPush, type DrawerPushConfig, Editor, type EditorCommand, type EditorCompletionContext, type EditorCompletionItem, type EditorCompletionItemKind, type EditorCompletionProvider, type EditorContextMenuItem, type EditorHandle, type EditorKeyDownEvent, type EditorLanguage, type EditorMarker, type EditorProps, type EditorRange, type EditorSelectionChange, type EditorTheme, type FlatTreeNode, type FlatTreeOptions, Flex, type FlexProps, FloatingPanel, type FloatingPanelProps, Form, type FormErrorField, type FormFieldData, type FormInstance, type FormItemProps, type FormListField, type FormListOperation, type FormListProps, type FormProps, type FormRule, type FormValues, type GridBreakpoint, InputNumber, type InputNumberProps, InputPlaceholderMode, InputSelect, type InputSelectProps, type LayoutGap, Markdown, type MarkdownProps, ModalActionResult, ModalOpenConfig, type NamePath, NumberRange, type NumberRangeProps, type NumberRangeValue, OverlayApiHandle, Pagination, type PaginationProps, QueryForm, type QueryFormField, type QueryFormFieldSetting, type QueryFormProps, type QueryFormSearchInfo, type QueryFormSettingsConfig, type QueryFormSettingsSnapshot, type QueryFormShortcut, Radio, type RadioGroupProps, type RadioOption, type RadioProps, type RadioValue, Row, type RowProps, SIA_THEME, SelectChangeValue, type SelectModalConfig, SelectOption, SelectProps, type SelectionOption, SelectionPanel, type SelectionPanelProps, type SelectionValue, type SiaThemeMode, Slider, type SliderMark, type SliderProps, type SliderValue, type SortableKey, SortableList, type SortableListProps, Space, type SpaceCompactProps, type SpaceProps, Splitter, type SplitterPanelProps, type SplitterProps, Switch, type SwitchProps, type SwitchVariant, Table, type TableAlign, type TableCanvasCell, type TableCellAddress, type TableCellFocusOptions, type TableCellRange, type TableCellRenderInfo, type TableCellSelectionApi, type TableCellSelectionPluginOptions, type TableColumn, type TableColumnSettingApi, type TableColumnSettingItem, type TableColumnSettingPluginOptions, type TableColumnTransformPluginOptions, type TableEditableApi, type TableEditableCellConfig, type TableEditableCellType, type TableEditablePluginOptions, type TableExportApi, type TableExportPluginOptions, type TableExportScope, type TableFilterApi, type TableFilterPluginOptions, type TableFilterValues, type TableFixed, type TableHighlightPluginOptions, type TableHighlightValue, type TableIndexPluginOptions, type TableKey, type TableMergeStickyConfig, type TablePageParams, type TablePaginationApi, type TablePaginationPluginOptions, type TablePlugin, type TablePluginCellProps, type TablePluginContext, type TablePluginEvent, type TableProps, type TableRef, type TableResizeApi, type TableResizePluginOptions, type TableRow, type TableRowSpanPluginOptions, type TableSelectedCell, type TableSelectionApi, type TableSelectionMode, type TableSelectionPluginOptions, type TableSettingsAdapter, type TableSettingsSnapshot, type TableSize, type TableSortApi, type TableSortInfo, type TableSortPluginOptions, type TableSummaryPluginOptions, type TableSummaryRow, type TableToolbarItem, type TableToolbarPluginOptions, type TableTreeApi, type TableTreePluginOptions, type TableWorksheetApi, type TableWorksheetChange, type TableWorksheetHistory, type TableWorksheetOperation, type TableWorksheetPluginOptions, type TableWorksheetReason, type TableWorksheetValueContext, TagStatus, TextArea, type TextAreaProps, ThemeSwitch, type ThemeSwitchProps, TimePicker, type TimePickerProps, type TimeRangePickerProps, ToolPanel, type ToolPanelItem, type ToolPanelPlacement, type ToolPanelProps, TreeSelect, type TreeSelectNode, type TreeSelectProps, type TreeSelectValue, Treemap, type TreemapNode, type TreemapNodeClickInfo, type TreemapNodeKind, type TreemapProps, Video, type VideoProps, VirtualGrid, type VirtualGridProps, type WindowAction, type WindowActionHandler, type WindowControlAction, type WindowControlLabels, WindowControls, type WindowControlsProps, WindowFrame, type WindowFrameProps, WindowTitleBar, type WindowTitleBarActionsAlign, type WindowTitleBarProps, applySiaTheme, buildFlatTree, createCellSelectionPlugin, createColumnSettingPlugin, createColumnTransformPlugin, createEditablePlugin, createExportPlugin, createFilterPlugin, createHighlightPlugin, createIndexPlugin, createLocalStorageTableSettingsAdapter, createPaginationPlugin, createResizePlugin, createRowSpanPlugin, createSelectionPlugin, createSortPlugin, createSummaryPlugin, createToolbarPlugin, createTreePlugin, createWorksheetPlugin, openSelectModal, useForm };