@sia.soul/sia-react-ui 0.1.114 → 0.1.116

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.css CHANGED
@@ -364,6 +364,18 @@ fieldset:disabled .sia-input-number__floating-placeholder {
364
364
  .sia-form--horizontal .sia-form-item__input-wrap > :is(.sia-radio, .sia-checkbox, .sia-radio-group, .sia-checkbox-group) {
365
365
  min-height: var(--sia-form-row-height);
366
366
  }
367
+ .sia-form--horizontal .sia-form-item--align-center {
368
+ align-items: center;
369
+ }
370
+ .sia-form--horizontal .sia-form-item--align-center > .sia-form-item__label {
371
+ padding-top: 0;
372
+ }
373
+ .sia-form--horizontal .sia-form-item--align-center > .sia-form-item__control > .sia-floating > .sia-form-item__input-wrap {
374
+ display: flex;
375
+ flex-direction: column;
376
+ justify-content: center;
377
+ min-height: var(--sia-form-row-height);
378
+ }
367
379
  }
368
380
  .sia-form.sia-form--vertical .sia-form-item__label {
369
381
  padding-top: 0;
@@ -5374,6 +5386,7 @@ fieldset:disabled .sia-input-number__floating-placeholder {
5374
5386
  .sia-table__toolbar > div:last-child {
5375
5387
  flex-shrink: 0;
5376
5388
  flex-wrap: nowrap;
5389
+ gap: 4px;
5377
5390
  }
5378
5391
  .sia-tabs--horizontal > .sia-tabs__header > .sia-tabs__list {
5379
5392
  position: relative;
@@ -8254,9 +8267,54 @@ body:has(.sia-window-frame[data-sia-text-selectable=false]) img {
8254
8267
  transform: translateY(-50%);
8255
8268
  display: inline-flex;
8256
8269
  color: var(--sia-color-primary);
8257
- opacity: .18;
8270
+ opacity: .92;
8258
8271
  pointer-events: none;
8259
- z-index: -1;
8272
+ z-index: 1;
8273
+ }
8274
+ .sia-menu--grid,
8275
+ .sia-menu--grid .sia-menu__group > ul {
8276
+ display: grid;
8277
+ grid-template-columns: var(--sia-menu-grid-columns, repeat(2, minmax(0, 1fr)));
8278
+ gap: 8px;
8279
+ align-content: start;
8280
+ border-inline-end: 0;
8281
+ }
8282
+ .sia-menu--grid > .sia-menu__entry,
8283
+ .sia-menu--grid .sia-menu__group > ul > .sia-menu__entry {
8284
+ min-width: 0;
8285
+ margin: 0;
8286
+ }
8287
+ .sia-menu--grid > .sia-menu__entry > .sia-menu__item,
8288
+ .sia-menu--grid .sia-menu__group > ul > .sia-menu__entry > .sia-menu__item {
8289
+ flex-direction: column;
8290
+ justify-content: flex-start;
8291
+ gap: 10px;
8292
+ height: 100%;
8293
+ min-height: 108px;
8294
+ padding: 14px 6px 10px;
8295
+ border: 1px solid var(--sia-color-border);
8296
+ border-radius: var(--sia-radius-lg, 10px);
8297
+ text-align: center;
8298
+ }
8299
+ .sia-menu--grid > .sia-menu__entry > .sia-menu__item > .sia-menu__label,
8300
+ .sia-menu--grid .sia-menu__group > ul > .sia-menu__entry > .sia-menu__item > .sia-menu__label {
8301
+ flex: 0 0 auto;
8302
+ width: 100%;
8303
+ margin-top: auto;
8304
+ font-size: 12px;
8305
+ line-height: 1.5;
8306
+ white-space: normal;
8307
+ overflow-wrap: anywhere;
8308
+ }
8309
+ .sia-menu--grid > .sia-menu__entry > .sia-menu__item > .sia-menu__applied,
8310
+ .sia-menu--grid .sia-menu__group > ul > .sia-menu__entry > .sia-menu__item > .sia-menu__applied {
8311
+ top: 8px;
8312
+ right: 6px;
8313
+ transform: none;
8314
+ }
8315
+ .sia-menu--grid > .sia-menu__divider,
8316
+ .sia-menu--grid > .sia-menu__group {
8317
+ grid-column: 1 / -1;
8260
8318
  }
8261
8319
  .sia-menu__extra {
8262
8320
  color: var(--sia-color-text-secondary);
@@ -10996,6 +11054,37 @@ body > .sia-title-tooltip[data-sia-popup-layer] {
10996
11054
  color: var(--sia-color-text-secondary);
10997
11055
  pointer-events: none;
10998
11056
  }
11057
+ .sia-cursor-preview__hotspot {
11058
+ position: absolute;
11059
+ inset: 0;
11060
+ z-index: 2;
11061
+ pointer-events: none;
11062
+ overflow: visible;
11063
+ }
11064
+ .sia-cursor-preview__hotspot polyline {
11065
+ fill: none;
11066
+ stroke: #007cb8;
11067
+ stroke-width: 2;
11068
+ stroke-linecap: round;
11069
+ stroke-linejoin: round;
11070
+ }
11071
+ .sia-cursor-preview__hotspot circle {
11072
+ fill: #007cb8;
11073
+ }
11074
+ .sia-cursor-preview__hotspot text {
11075
+ fill: #946100;
11076
+ font-size: 14px;
11077
+ font-weight: 600;
11078
+ }
11079
+ [data-sia-theme=dark] .sia-cursor-preview__hotspot polyline {
11080
+ stroke: #00b5f5;
11081
+ }
11082
+ [data-sia-theme=dark] .sia-cursor-preview__hotspot circle {
11083
+ fill: #00b5f5;
11084
+ }
11085
+ [data-sia-theme=dark] .sia-cursor-preview__hotspot text {
11086
+ fill: #ffc444;
11087
+ }
10999
11088
 
11000
11089
  /* src/components/Table/canvas.css */
11001
11090
  .sia-table__canvas-layer {
package/dist/index.d.cts CHANGED
@@ -1,13 +1,13 @@
1
1
  import * as react from 'react';
2
2
  import { HTMLAttributes, ReactNode, CSSProperties, ElementType, FormHTMLAttributes, InputHTMLAttributes, ChangeEvent, TextareaHTMLAttributes, MouseEvent, Key, PointerEvent, Ref, ReactElement, ButtonHTMLAttributes, RefObject } from 'react';
3
- import { T as TagStatus, B as BadgeProps } from './core-CEaTbhWd.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 FloatingTrigger, J as ICON_NAMES, K as Icon, L as IconName, M as IconProps, N as IconVariant, O as Image, P as ImagePreview, Q as ImagePreviewConfig, R as ImagePreviewProps, S as ImageProps, U as Input, V as InputProps, W as Menu, X as MenuClickInfo, Y as MenuItem, Z as MenuMode, _ as MenuProps, $ as MenuTheme, a0 as MessageConfig, a1 as MessageHandle, a2 as MessageKey, a3 as MessageType, a4 as NotificationConfig, a5 as NotificationPlacement, a6 as NotificationType, a7 as Popconfirm, a8 as PopconfirmProps, a9 as Popover, aa as PopoverProps, ab as Progress, ac as ProgressProps, ad as ProgressStatus, ae as Rate, af as RateProps, ag as Result, ah as ResultProps, ai as ResultStatus, aj as Segmented, ak as SegmentedOption, al as SegmentedProps, am as SegmentedValue, an as Spin, ao as SpinProps, ap as StepItem, aq as StepStatus, ar as Steps, as as StepsProps, at as TabItem, au as Tabs, av as TabsContextMenuClickInfo, aw as TabsOrientation, ax as TabsPosition, ay as TabsProps, az as TabsType, aA as Tag, aB as TagProps, aC as TagSize, aD as TagVariant, aE as Timeline, aF as TimelineItem, aG as TimelineProps, aH as Toolbar, aI as ToolbarItem, aJ as ToolbarProps, aK as Tooltip, aL as TooltipProps, aM as Tour, aN as TourProps, aO as TourStep, aP as Tree, aQ as TreeDropPosition, aR as TreeKey, aS as TreeNode, aT as TreeProps, aU as Typography, aV as TypographyLinkProps, aW as TypographyProps, aX as TypographyTitleProps, aY as TypographyType, aZ as Upload, a_ as UploadChangeInfo, a$ as UploadDraggerProps, b0 as UploadFile, b1 as UploadFileStatus, b2 as UploadHttpRequest, b3 as UploadItemActions, b4 as UploadProps, b5 as UploadRef, b6 as UploadRejectInfo, b7 as UploadRequestHandle, b8 as UploadRequestOptions, b9 as Watermark, ba as WatermarkFont, bb as WatermarkProps, bc as message, bd as notification } from './core-CEaTbhWd.cjs';
3
+ import { T as TagStatus, B as BadgeProps } from './core-CCb4CoSP.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 FloatingTrigger, J as ICON_NAMES, K as Icon, L as IconName, M as IconProps, N as IconVariant, O as Image, P as ImagePreview, Q as ImagePreviewConfig, R as ImagePreviewProps, S as ImageProps, U as Input, V as InputProps, W as Menu, X as MenuClickInfo, Y as MenuItem, Z as MenuMode, _ as MenuProps, $ as MenuTheme, a0 as MessageConfig, a1 as MessageHandle, a2 as MessageKey, a3 as MessageType, a4 as NotificationConfig, a5 as NotificationPlacement, a6 as NotificationType, a7 as Popconfirm, a8 as PopconfirmProps, a9 as Popover, aa as PopoverProps, ab as Progress, ac as ProgressProps, ad as ProgressStatus, ae as Rate, af as RateProps, ag as Result, ah as ResultProps, ai as ResultStatus, aj as Segmented, ak as SegmentedOption, al as SegmentedProps, am as SegmentedValue, an as Spin, ao as SpinProps, ap as StepItem, aq as StepStatus, ar as Steps, as as StepsProps, at as TabItem, au as Tabs, av as TabsContextMenuClickInfo, aw as TabsOrientation, ax as TabsPosition, ay as TabsProps, az as TabsType, aA as Tag, aB as TagProps, aC as TagSize, aD as TagVariant, aE as Timeline, aF as TimelineItem, aG as TimelineProps, aH as Toolbar, aI as ToolbarItem, aJ as ToolbarProps, aK as Tooltip, aL as TooltipProps, aM as Tour, aN as TourProps, aO as TourStep, aP as Tree, aQ as TreeDropPosition, aR as TreeKey, aS as TreeNode, aT as TreeProps, aU as Typography, aV as TypographyLinkProps, aW as TypographyProps, aX as TypographyTitleProps, aY as TypographyType, aZ as Upload, a_ as UploadChangeInfo, a$ as UploadDraggerProps, b0 as UploadFile, b1 as UploadFileStatus, b2 as UploadHttpRequest, b3 as UploadItemActions, b4 as UploadProps, b5 as UploadRef, b6 as UploadRejectInfo, b7 as UploadRequestHandle, b8 as UploadRequestOptions, b9 as Watermark, ba as WatermarkFont, bb as WatermarkProps, bc as message, bd as notification } from './core-CCb4CoSP.cjs';
5
5
  import { C as ControlSize, I as InputPlaceholderMode, a as ControlStatus } from './shared-Bx4B28Wh.cjs';
6
6
  import { B as ButtonProps, a as ButtonSize } from './Button-O_pNB3SQ.cjs';
7
7
  export { b as Button, c as ButtonVariant } from './Button-O_pNB3SQ.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-Cf0xz1Tg.cjs';
9
- export { e as Modal, f as ModalProps, g as ModalType, h as Select, i as SelectMode, j as SelectValue } from './Select-Cf0xz1Tg.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-Cm5o2xPp.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-BAFXKVZB.cjs';
9
+ export { e as Modal, f as ModalProps, g as ModalType, h as Select, i as SelectMode, j as SelectValue } from './Select-BAFXKVZB.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-CIiI0F5o.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';
@@ -29,12 +29,16 @@ interface CursorPreviewFrame {
29
29
  interface CursorPreviewProps extends HTMLAttributes<HTMLDivElement> {
30
30
  /** 按播放顺序排列的帧;空数组显示 empty 内容。更新资源后重新从第一帧播放。 */
31
31
  frames: readonly CursorPreviewFrame[];
32
- /** 位图宽高,单位 CSS 像素,最小为 8;受浏览器缩放影响。@defaultValue 48 */
32
+ /** 位图宽高,默认 CSS 像素,最小为 8;sizeUnit 为 device 时改用物理像素,应与帧的原始像素宽度一致。@defaultValue 48 */
33
33
  size?: number;
34
+ /** 尺寸单位:css 随页面缩放;device 按屏幕物理像素显示并吸附像素网格,适合核对原生指针。@defaultValue 'css' */
35
+ sizeUnit?: 'css' | 'device';
34
36
  /** 是否循环播放;false 显示第一帧。系统偏好减少动态效果时也显示第一帧。@defaultValue true */
35
37
  playing?: boolean;
36
38
  /** 移入区域后隐藏原生指针,并按热点跟随鼠标位置;移出后回到中央。图片加载失败时保留原生指针。@defaultValue true */
37
39
  followPointer?: boolean;
40
+ /** 鼠标未移入且图片有效时,用折线和“指针点”标出当前帧真实热点;移入后立即隐藏,移出恢复。不依赖 followPointer,业务可仅在正常选择角色启用。@defaultValue false */
41
+ showHotspot?: boolean;
38
42
  /** 区域高度,数值单位为 CSS 像素;也可传 CSS 长度。@defaultValue 180 */
39
43
  height?: number | string;
40
44
  /** 未提供帧时显示的内容。@defaultValue '暂无指针预览' */
@@ -43,7 +47,7 @@ interface CursorPreviewProps extends HTMLAttributes<HTMLDivElement> {
43
47
  alt?: string;
44
48
  }
45
49
  /** 展示指针原画、逐帧动画与热点跟随,复用 Sia 图片组件和主题令牌。 */
46
- declare function CursorPreview({ frames, size, playing, followPointer, height, empty, alt, className, style, children, onPointerMove, onPointerLeave, ...props }: CursorPreviewProps): react.JSX.Element;
50
+ declare function CursorPreview({ frames, size, sizeUnit, playing, followPointer, showHotspot, height, empty, alt, className, style, children, onPointerEnter, onPointerMove, onPointerLeave, ...props }: CursorPreviewProps): react.JSX.Element;
47
51
 
48
52
  /** 自适应容器的实测尺寸,单位为 CSS 像素。 */
49
53
  interface AutoSizerSize {
@@ -644,7 +648,7 @@ interface WindowTitleBarProps extends HTMLAttributes<HTMLElement> {
644
648
  disabledActions?: readonly WindowControlAction[];
645
649
  /** 窗口控制按钮的文案。 */
646
650
  controlLabels?: Partial<WindowControlLabels>;
647
- /** 窗口控制操作触发时调用。 */
651
+ /** 操作发生时调用;主键按住并移动至少 2 CSS 像素时触发 start-dragging,静止按住不触发;双击触发 toggle-maximize。 */
648
652
  onWindowAction?: WindowActionHandler;
649
653
  }
650
654
  /** 窗口框架组件。 */
@@ -855,6 +859,10 @@ interface FormItemProps {
855
859
  name?: NamePath;
856
860
  /** 字段标签,支持文本或 React 节点;横向及行内布局未指定标签列宽时,与同一 Form 内最宽的可见标签对齐,测量包含必填标记。未渲染标签时,控件占据表单项整行宽度。 */
857
861
  label?: ReactNode;
862
+ /** 横向表单中标签与内容的垂直对齐:start 对齐首行控件,center 将标签与整个内容区居中,适合只读文字和多行信息。纵向、行内、窄屏堆叠及 noStyle 布局不受影响。
863
+ * @defaultValue "start"
864
+ */
865
+ align?: "start" | "center";
858
866
  /**
859
867
  * 字段的校验规则,按配置执行。
860
868
  * @defaultValue []
@@ -902,7 +910,7 @@ interface FormItemProps {
902
910
  */
903
911
  className?: string;
904
912
  }
905
- declare function FormItem({ name, label, rules, required, extra, help, validateStatus, valuePropName, trigger, validateTrigger, getValueFromEvent, noStyle, children, className, }: FormItemProps): react.JSX.Element;
913
+ declare function FormItem({ name, label, align, rules, required, extra, help, validateStatus, valuePropName, trigger, validateTrigger, getValueFromEvent, noStyle, children, className, }: FormItemProps): react.JSX.Element;
906
914
  /** 动态列表中一个字段的渲染标识和索引。 */
907
915
  interface FormListField {
908
916
  /** 唯一标识;同一集合内应保持唯一且稳定,用于定位、渲染和状态关联。 */
@@ -2921,7 +2929,7 @@ interface TableToolbarItem<T> {
2921
2929
  interface TableToolbarPluginOptions<T> {
2922
2930
  /** 范围起点。 */
2923
2931
  start?: ReactNode;
2924
- /** 工具栏右侧内容。纯图标按钮默认使用 30px 方形点击区域,与设置按钮一致;直接嵌套的横向 Space 或 Toolbar 统一使用外层 8px 间距。 */
2932
+ /** 工具栏右侧内容。纯图标按钮默认使用 30px 方形点击区域,与设置按钮一致;直接嵌套的横向 Space 或 Toolbar 统一使用外层 4px 间距。 */
2925
2933
  end?: ReactNode;
2926
2934
  /** 按展示顺序排列的项目配置。 */
2927
2935
  items?: readonly TableToolbarItem<T>[];
package/dist/index.d.ts CHANGED
@@ -1,13 +1,13 @@
1
1
  import * as react from 'react';
2
2
  import { HTMLAttributes, ReactNode, CSSProperties, ElementType, FormHTMLAttributes, InputHTMLAttributes, ChangeEvent, TextareaHTMLAttributes, MouseEvent, Key, PointerEvent, Ref, ReactElement, ButtonHTMLAttributes, RefObject } from 'react';
3
- import { T as TagStatus, B as BadgeProps } from './core-C6muCCSS.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 FloatingTrigger, J as ICON_NAMES, K as Icon, L as IconName, M as IconProps, N as IconVariant, O as Image, P as ImagePreview, Q as ImagePreviewConfig, R as ImagePreviewProps, S as ImageProps, U as Input, V as InputProps, W as Menu, X as MenuClickInfo, Y as MenuItem, Z as MenuMode, _ as MenuProps, $ as MenuTheme, a0 as MessageConfig, a1 as MessageHandle, a2 as MessageKey, a3 as MessageType, a4 as NotificationConfig, a5 as NotificationPlacement, a6 as NotificationType, a7 as Popconfirm, a8 as PopconfirmProps, a9 as Popover, aa as PopoverProps, ab as Progress, ac as ProgressProps, ad as ProgressStatus, ae as Rate, af as RateProps, ag as Result, ah as ResultProps, ai as ResultStatus, aj as Segmented, ak as SegmentedOption, al as SegmentedProps, am as SegmentedValue, an as Spin, ao as SpinProps, ap as StepItem, aq as StepStatus, ar as Steps, as as StepsProps, at as TabItem, au as Tabs, av as TabsContextMenuClickInfo, aw as TabsOrientation, ax as TabsPosition, ay as TabsProps, az as TabsType, aA as Tag, aB as TagProps, aC as TagSize, aD as TagVariant, aE as Timeline, aF as TimelineItem, aG as TimelineProps, aH as Toolbar, aI as ToolbarItem, aJ as ToolbarProps, aK as Tooltip, aL as TooltipProps, aM as Tour, aN as TourProps, aO as TourStep, aP as Tree, aQ as TreeDropPosition, aR as TreeKey, aS as TreeNode, aT as TreeProps, aU as Typography, aV as TypographyLinkProps, aW as TypographyProps, aX as TypographyTitleProps, aY as TypographyType, aZ as Upload, a_ as UploadChangeInfo, a$ as UploadDraggerProps, b0 as UploadFile, b1 as UploadFileStatus, b2 as UploadHttpRequest, b3 as UploadItemActions, b4 as UploadProps, b5 as UploadRef, b6 as UploadRejectInfo, b7 as UploadRequestHandle, b8 as UploadRequestOptions, b9 as Watermark, ba as WatermarkFont, bb as WatermarkProps, bc as message, bd as notification } from './core-C6muCCSS.js';
3
+ import { T as TagStatus, B as BadgeProps } from './core-CJnRQZkv.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 FloatingTrigger, J as ICON_NAMES, K as Icon, L as IconName, M as IconProps, N as IconVariant, O as Image, P as ImagePreview, Q as ImagePreviewConfig, R as ImagePreviewProps, S as ImageProps, U as Input, V as InputProps, W as Menu, X as MenuClickInfo, Y as MenuItem, Z as MenuMode, _ as MenuProps, $ as MenuTheme, a0 as MessageConfig, a1 as MessageHandle, a2 as MessageKey, a3 as MessageType, a4 as NotificationConfig, a5 as NotificationPlacement, a6 as NotificationType, a7 as Popconfirm, a8 as PopconfirmProps, a9 as Popover, aa as PopoverProps, ab as Progress, ac as ProgressProps, ad as ProgressStatus, ae as Rate, af as RateProps, ag as Result, ah as ResultProps, ai as ResultStatus, aj as Segmented, ak as SegmentedOption, al as SegmentedProps, am as SegmentedValue, an as Spin, ao as SpinProps, ap as StepItem, aq as StepStatus, ar as Steps, as as StepsProps, at as TabItem, au as Tabs, av as TabsContextMenuClickInfo, aw as TabsOrientation, ax as TabsPosition, ay as TabsProps, az as TabsType, aA as Tag, aB as TagProps, aC as TagSize, aD as TagVariant, aE as Timeline, aF as TimelineItem, aG as TimelineProps, aH as Toolbar, aI as ToolbarItem, aJ as ToolbarProps, aK as Tooltip, aL as TooltipProps, aM as Tour, aN as TourProps, aO as TourStep, aP as Tree, aQ as TreeDropPosition, aR as TreeKey, aS as TreeNode, aT as TreeProps, aU as Typography, aV as TypographyLinkProps, aW as TypographyProps, aX as TypographyTitleProps, aY as TypographyType, aZ as Upload, a_ as UploadChangeInfo, a$ as UploadDraggerProps, b0 as UploadFile, b1 as UploadFileStatus, b2 as UploadHttpRequest, b3 as UploadItemActions, b4 as UploadProps, b5 as UploadRef, b6 as UploadRejectInfo, b7 as UploadRequestHandle, b8 as UploadRequestOptions, b9 as Watermark, ba as WatermarkFont, bb as WatermarkProps, bc as message, bd as notification } from './core-CJnRQZkv.js';
5
5
  import { C as ControlSize, I as InputPlaceholderMode, a as ControlStatus } from './shared-Bx4B28Wh.js';
6
6
  import { B as ButtonProps, a as ButtonSize } from './Button-BiL3Wjsd.js';
7
7
  export { b as Button, c as ButtonVariant } from './Button-BiL3Wjsd.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-BddM4uXC.js';
9
- export { e as Modal, f as ModalProps, g as ModalType, h as Select, i as SelectMode, j as SelectValue } from './Select-BddM4uXC.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-yGDEA1RP.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-vjX7B63I.js';
9
+ export { e as Modal, f as ModalProps, g as ModalType, h as Select, i as SelectMode, j as SelectValue } from './Select-vjX7B63I.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-C9jlUrCX.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';
@@ -29,12 +29,16 @@ interface CursorPreviewFrame {
29
29
  interface CursorPreviewProps extends HTMLAttributes<HTMLDivElement> {
30
30
  /** 按播放顺序排列的帧;空数组显示 empty 内容。更新资源后重新从第一帧播放。 */
31
31
  frames: readonly CursorPreviewFrame[];
32
- /** 位图宽高,单位 CSS 像素,最小为 8;受浏览器缩放影响。@defaultValue 48 */
32
+ /** 位图宽高,默认 CSS 像素,最小为 8;sizeUnit 为 device 时改用物理像素,应与帧的原始像素宽度一致。@defaultValue 48 */
33
33
  size?: number;
34
+ /** 尺寸单位:css 随页面缩放;device 按屏幕物理像素显示并吸附像素网格,适合核对原生指针。@defaultValue 'css' */
35
+ sizeUnit?: 'css' | 'device';
34
36
  /** 是否循环播放;false 显示第一帧。系统偏好减少动态效果时也显示第一帧。@defaultValue true */
35
37
  playing?: boolean;
36
38
  /** 移入区域后隐藏原生指针,并按热点跟随鼠标位置;移出后回到中央。图片加载失败时保留原生指针。@defaultValue true */
37
39
  followPointer?: boolean;
40
+ /** 鼠标未移入且图片有效时,用折线和“指针点”标出当前帧真实热点;移入后立即隐藏,移出恢复。不依赖 followPointer,业务可仅在正常选择角色启用。@defaultValue false */
41
+ showHotspot?: boolean;
38
42
  /** 区域高度,数值单位为 CSS 像素;也可传 CSS 长度。@defaultValue 180 */
39
43
  height?: number | string;
40
44
  /** 未提供帧时显示的内容。@defaultValue '暂无指针预览' */
@@ -43,7 +47,7 @@ interface CursorPreviewProps extends HTMLAttributes<HTMLDivElement> {
43
47
  alt?: string;
44
48
  }
45
49
  /** 展示指针原画、逐帧动画与热点跟随,复用 Sia 图片组件和主题令牌。 */
46
- declare function CursorPreview({ frames, size, playing, followPointer, height, empty, alt, className, style, children, onPointerMove, onPointerLeave, ...props }: CursorPreviewProps): react.JSX.Element;
50
+ declare function CursorPreview({ frames, size, sizeUnit, playing, followPointer, showHotspot, height, empty, alt, className, style, children, onPointerEnter, onPointerMove, onPointerLeave, ...props }: CursorPreviewProps): react.JSX.Element;
47
51
 
48
52
  /** 自适应容器的实测尺寸,单位为 CSS 像素。 */
49
53
  interface AutoSizerSize {
@@ -644,7 +648,7 @@ interface WindowTitleBarProps extends HTMLAttributes<HTMLElement> {
644
648
  disabledActions?: readonly WindowControlAction[];
645
649
  /** 窗口控制按钮的文案。 */
646
650
  controlLabels?: Partial<WindowControlLabels>;
647
- /** 窗口控制操作触发时调用。 */
651
+ /** 操作发生时调用;主键按住并移动至少 2 CSS 像素时触发 start-dragging,静止按住不触发;双击触发 toggle-maximize。 */
648
652
  onWindowAction?: WindowActionHandler;
649
653
  }
650
654
  /** 窗口框架组件。 */
@@ -855,6 +859,10 @@ interface FormItemProps {
855
859
  name?: NamePath;
856
860
  /** 字段标签,支持文本或 React 节点;横向及行内布局未指定标签列宽时,与同一 Form 内最宽的可见标签对齐,测量包含必填标记。未渲染标签时,控件占据表单项整行宽度。 */
857
861
  label?: ReactNode;
862
+ /** 横向表单中标签与内容的垂直对齐:start 对齐首行控件,center 将标签与整个内容区居中,适合只读文字和多行信息。纵向、行内、窄屏堆叠及 noStyle 布局不受影响。
863
+ * @defaultValue "start"
864
+ */
865
+ align?: "start" | "center";
858
866
  /**
859
867
  * 字段的校验规则,按配置执行。
860
868
  * @defaultValue []
@@ -902,7 +910,7 @@ interface FormItemProps {
902
910
  */
903
911
  className?: string;
904
912
  }
905
- declare function FormItem({ name, label, rules, required, extra, help, validateStatus, valuePropName, trigger, validateTrigger, getValueFromEvent, noStyle, children, className, }: FormItemProps): react.JSX.Element;
913
+ declare function FormItem({ name, label, align, rules, required, extra, help, validateStatus, valuePropName, trigger, validateTrigger, getValueFromEvent, noStyle, children, className, }: FormItemProps): react.JSX.Element;
906
914
  /** 动态列表中一个字段的渲染标识和索引。 */
907
915
  interface FormListField {
908
916
  /** 唯一标识;同一集合内应保持唯一且稳定,用于定位、渲染和状态关联。 */
@@ -2921,7 +2929,7 @@ interface TableToolbarItem<T> {
2921
2929
  interface TableToolbarPluginOptions<T> {
2922
2930
  /** 范围起点。 */
2923
2931
  start?: ReactNode;
2924
- /** 工具栏右侧内容。纯图标按钮默认使用 30px 方形点击区域,与设置按钮一致;直接嵌套的横向 Space 或 Toolbar 统一使用外层 8px 间距。 */
2932
+ /** 工具栏右侧内容。纯图标按钮默认使用 30px 方形点击区域,与设置按钮一致;直接嵌套的横向 Space 或 Toolbar 统一使用外层 4px 间距。 */
2925
2933
  end?: ReactNode;
2926
2934
  /** 按展示顺序排列的项目配置。 */
2927
2935
  items?: readonly TableToolbarItem<T>[];