@sia.soul/sia-react-ui 0.1.102 → 0.1.104
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/{chunk-FOLNXKBD.js → chunk-D456SSL3.js} +1 -1
- package/dist/{chunk-KKU35MWK.js → chunk-EYB55TC5.js} +2 -2
- package/dist/{chunk-6KWMZ7JJ.js → chunk-X4OLHWC3.js} +1 -1
- package/dist/{core-BTmyjw4F.d.cts → core-DF7gei-P.d.cts} +3 -1
- package/dist/{core-Bn1emNZn.d.ts → core-_1K1jLyH.d.ts} +3 -1
- package/dist/core.css +140 -0
- package/dist/core.d.cts +1 -1
- package/dist/core.d.ts +1 -1
- package/dist/core.js +2 -2
- package/dist/index.cjs +3653 -3541
- package/dist/index.css +140 -0
- package/dist/index.d.cts +50 -5
- package/dist/index.d.ts +50 -5
- package/dist/index.js +818 -711
- package/dist/select-date-range.js +2 -2
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -3629,6 +3629,17 @@ fieldset:disabled .sia-input-number__floating-placeholder {
|
|
|
3629
3629
|
height: 30px;
|
|
3630
3630
|
padding: 0;
|
|
3631
3631
|
}
|
|
3632
|
+
.sia-table__toolbar > div:last-child .sia-button:has(> :is(.sia-button__icon, .sia-button__spinner):only-child),
|
|
3633
|
+
.sia-table__toolbar > div:last-child .sia-button:has(> span:only-child > .sia-icon:only-child) {
|
|
3634
|
+
min-width: 30px;
|
|
3635
|
+
width: 30px;
|
|
3636
|
+
height: 30px;
|
|
3637
|
+
padding: 0;
|
|
3638
|
+
}
|
|
3639
|
+
.sia-table__toolbar > div:last-child > :is(.sia-space--horizontal, .sia-toolbar) {
|
|
3640
|
+
column-gap: inherit !important;
|
|
3641
|
+
width: auto;
|
|
3642
|
+
}
|
|
3632
3643
|
.sia-table__viewport-wrap {
|
|
3633
3644
|
position: relative;
|
|
3634
3645
|
display: flex;
|
|
@@ -5177,6 +5188,16 @@ fieldset:disabled .sia-input-number__floating-placeholder {
|
|
|
5177
5188
|
min-width: 0;
|
|
5178
5189
|
width: 0;
|
|
5179
5190
|
}
|
|
5191
|
+
.sia-query-form__field .sia-space-compact--horizontal:has(> .sia-select:first-child + :is(.sia-picker-range-control, .sia-number-range, .sia-time-range):last-child) > .sia-select {
|
|
5192
|
+
flex: 1 1 0;
|
|
5193
|
+
min-width: 0;
|
|
5194
|
+
width: auto;
|
|
5195
|
+
}
|
|
5196
|
+
.sia-query-form__field .sia-space-compact--horizontal:has(> .sia-select:first-child + :is(.sia-picker-range-control, .sia-number-range, .sia-time-range):last-child) > :last-child {
|
|
5197
|
+
flex: 2 1 0;
|
|
5198
|
+
min-width: 0;
|
|
5199
|
+
width: auto;
|
|
5200
|
+
}
|
|
5180
5201
|
.sia-query-form__actions {
|
|
5181
5202
|
display: flex;
|
|
5182
5203
|
align-items: center;
|
|
@@ -5411,6 +5432,125 @@ fieldset:disabled .sia-input-number__floating-placeholder {
|
|
|
5411
5432
|
.sia-number-range__clear:hover {
|
|
5412
5433
|
color: var(--sia-color-text);
|
|
5413
5434
|
}
|
|
5435
|
+
.sia-auto-sizer {
|
|
5436
|
+
position: relative;
|
|
5437
|
+
width: 100%;
|
|
5438
|
+
height: 100%;
|
|
5439
|
+
min-width: 0;
|
|
5440
|
+
min-height: 0;
|
|
5441
|
+
}
|
|
5442
|
+
.sia-auto-sizer__content {
|
|
5443
|
+
position: absolute;
|
|
5444
|
+
inset: 0;
|
|
5445
|
+
min-width: 0;
|
|
5446
|
+
min-height: 0;
|
|
5447
|
+
}
|
|
5448
|
+
.sia-floating-panel {
|
|
5449
|
+
position: fixed;
|
|
5450
|
+
z-index: 1000;
|
|
5451
|
+
width: 280px;
|
|
5452
|
+
max-width: calc(100vw - 32px);
|
|
5453
|
+
padding: 16px;
|
|
5454
|
+
box-sizing: border-box;
|
|
5455
|
+
border: 1px solid var(--sia-color-border);
|
|
5456
|
+
border-radius: var(--sia-radius, 8px);
|
|
5457
|
+
background: var(--sia-color-surface);
|
|
5458
|
+
color: var(--sia-color-text);
|
|
5459
|
+
box-shadow: 0 6px 20px rgb(0 0 0 / 12%);
|
|
5460
|
+
}
|
|
5461
|
+
.sia-floating-panel--bottomRight {
|
|
5462
|
+
bottom: 24px;
|
|
5463
|
+
right: 16px;
|
|
5464
|
+
}
|
|
5465
|
+
.sia-floating-panel--bottomLeft {
|
|
5466
|
+
bottom: 24px;
|
|
5467
|
+
left: 16px;
|
|
5468
|
+
}
|
|
5469
|
+
.sia-floating-panel--topRight {
|
|
5470
|
+
top: 24px;
|
|
5471
|
+
right: 16px;
|
|
5472
|
+
}
|
|
5473
|
+
.sia-floating-panel--topLeft {
|
|
5474
|
+
top: 24px;
|
|
5475
|
+
left: 16px;
|
|
5476
|
+
}
|
|
5477
|
+
.sia-floating-panel__title {
|
|
5478
|
+
display: block;
|
|
5479
|
+
margin-bottom: 8px;
|
|
5480
|
+
}
|
|
5481
|
+
.sia-sortable-list {
|
|
5482
|
+
display: flex;
|
|
5483
|
+
gap: 16px;
|
|
5484
|
+
overflow: auto;
|
|
5485
|
+
min-width: 0;
|
|
5486
|
+
padding: 4px;
|
|
5487
|
+
}
|
|
5488
|
+
.sia-sortable-list--vertical {
|
|
5489
|
+
flex-direction: column;
|
|
5490
|
+
}
|
|
5491
|
+
.sia-sortable-list__item {
|
|
5492
|
+
position: relative;
|
|
5493
|
+
flex-shrink: 0;
|
|
5494
|
+
min-width: 0;
|
|
5495
|
+
}
|
|
5496
|
+
.sia-sortable-list__item.is-dragging {
|
|
5497
|
+
opacity: .5;
|
|
5498
|
+
}
|
|
5499
|
+
.sia-sortable-list__handle {
|
|
5500
|
+
display: flex;
|
|
5501
|
+
align-items: center;
|
|
5502
|
+
justify-content: center;
|
|
5503
|
+
width: 100%;
|
|
5504
|
+
padding: 6px;
|
|
5505
|
+
border: 0;
|
|
5506
|
+
background: var(--sia-color-fill-secondary);
|
|
5507
|
+
color: var(--sia-color-text-secondary);
|
|
5508
|
+
cursor: grab;
|
|
5509
|
+
}
|
|
5510
|
+
.sia-sortable-list__handle:focus-visible {
|
|
5511
|
+
outline: 2px solid var(--sia-color-primary);
|
|
5512
|
+
outline-offset: -2px;
|
|
5513
|
+
}
|
|
5514
|
+
.sia-sortable-list__handle:disabled {
|
|
5515
|
+
cursor: not-allowed;
|
|
5516
|
+
opacity: .5;
|
|
5517
|
+
}
|
|
5518
|
+
.sia-sortable-list__item.is-drop-before::before,
|
|
5519
|
+
.sia-sortable-list__item.is-drop-after::after {
|
|
5520
|
+
content: "";
|
|
5521
|
+
position: absolute;
|
|
5522
|
+
background: var(--sia-color-primary);
|
|
5523
|
+
pointer-events: none;
|
|
5524
|
+
z-index: 1;
|
|
5525
|
+
}
|
|
5526
|
+
.sia-sortable-list--horizontal .is-drop-before::before {
|
|
5527
|
+
top: 0;
|
|
5528
|
+
bottom: 0;
|
|
5529
|
+
left: -9px;
|
|
5530
|
+
width: 2px;
|
|
5531
|
+
}
|
|
5532
|
+
.sia-sortable-list--horizontal .is-drop-after::after {
|
|
5533
|
+
top: 0;
|
|
5534
|
+
bottom: 0;
|
|
5535
|
+
right: -9px;
|
|
5536
|
+
width: 2px;
|
|
5537
|
+
}
|
|
5538
|
+
.sia-sortable-list--vertical .is-drop-before::before {
|
|
5539
|
+
left: 0;
|
|
5540
|
+
right: 0;
|
|
5541
|
+
top: -9px;
|
|
5542
|
+
height: 2px;
|
|
5543
|
+
}
|
|
5544
|
+
.sia-sortable-list--vertical .is-drop-after::after {
|
|
5545
|
+
left: 0;
|
|
5546
|
+
right: 0;
|
|
5547
|
+
bottom: -9px;
|
|
5548
|
+
height: 2px;
|
|
5549
|
+
}
|
|
5550
|
+
.sia-popover.sia-popover--wide {
|
|
5551
|
+
width: 760px;
|
|
5552
|
+
max-width: calc(100vw - 32px);
|
|
5553
|
+
}
|
|
5414
5554
|
|
|
5415
5555
|
/* src/components-extra.css */
|
|
5416
5556
|
.sia-flex {
|
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { T as TagStatus, B as BadgeProps } from './core-BTmyjw4F.cjs';
|
|
2
|
-
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-BTmyjw4F.cjs';
|
|
3
1
|
import * as react from 'react';
|
|
4
|
-
import {
|
|
2
|
+
import { ReactNode, HTMLAttributes, 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-DF7gei-P.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-DF7gei-P.cjs';
|
|
5
5
|
import { C as ControlSize, I as InputPlaceholderMode, a as ControlStatus } from './shared-Bx4B28Wh.cjs';
|
|
6
6
|
import { O as OverlayContainer, a as OverlayApiHandle, M as ModalOpenConfig, S as SelectOption, b as SelectChangeValue, c as SelectProps, d as ModalActionResult, B as ButtonProps, e as ButtonSize } from './Select-DQpfyK7I.cjs';
|
|
7
7
|
export { f as Button, g as ButtonVariant, h as Modal, i as ModalProps, j as ModalType, k as Select, l as SelectMode, m as SelectValue } from './Select-DQpfyK7I.cjs';
|
|
@@ -12,6 +12,51 @@ import * as Monaco from 'monaco-editor';
|
|
|
12
12
|
export { BaiduMapHostOptions, BaiduMapInstance, BaiduMapNamespace, BaiduMapPoint, BarChart, BarChartProps, BarDatum, BarSeries, CHART_VIEWBOX_HEIGHT, CHART_VIEWBOX_WIDTH, CandlestickChart, CandlestickChartProps, CandlestickDatum, CartesianChartProps, ChartAxis, ChartAxisProps, ChartComposite, ChartCompositeLayer, ChartCompositeProps, ChartCompositeRef, ChartDataClickInfo, ChartDataEditor, ChartDataEditorProps, ChartDataZoom, ChartDataZoomProps, ChartLegend, ChartLegendItem, ChartLegendProps, ChartMapOverlay, ChartMapOverlayProps, ChartMark, ChartMarkProps, ChartRoamController, ChartRoamControllerProps, ChartSeries, ChartTimeline, ChartTimelineProps, ChartToolbox, ChartToolboxFeature, ChartToolboxOptions, ChartToolboxProps, ChartTooltip, ChartTooltipProps, ChartValueAddress, ChartValueChannel, ChartValueIsland, ChartValueIslandProps, ChartValueTransferHandler, ChartVisualMap, ChartVisualMapProps, ChartWhirlingLoading, ChartWhirlingLoadingProps, ChordChart, ChordChartProps, ChordLink, ChordNode, DEFAULT_CHART_PALETTE, EventRiverChart, EventRiverChartProps, EventRiverEvent, EventRiverEvolution, EventRiverSeries, ForceChart, ForceGraphChart, FunnelChart, FunnelChartProps, FunnelDatum, FunnelSeries, GaugeChart, GaugeChartProps, GaugeDatum, GeoJsonFeature, GeoJsonFeatureCollection, GeoJsonMultiPolygonGeometry, GeoJsonPolygonGeometry, GraphChart, GraphChartProps, GraphLink, GraphNode, HeatmapChart, HeatmapChartProps, HeatmapPoint, KLineChart, LineChart, LineChartProps, LinePoint, LineSeries, LineShareChart, LineShareChartProps, MapChart, MapChartProps, MapDatum, MapMarkLine, MapMarkPoint, MapOverlayEvent, MapOverlayHost, MapOverlaySnapshot, MixedChart, MixedChartProps, MixedSeries, PieChart, PieChartProps, PieDatum, PieSeries, RadarChart, RadarChartProps, RadarIndicator, RadarPanel, RadarSeries, ScatterChart, ScatterChartProps, ScatterDatum, ScatterVisualMap, SiaChart, SiaChartProps, SiaChartRef, SvgMapPlot, SvgMapPlotProps, ThemeRiverChart, ThemeRiverChartProps, ThemeRiverSeries, TreeChart, TreeChartProps, TreeDatum, TreemapChart, TreemapChartProps, TreemapDatum, TreemapItemStyle, VennChart, VennChartProps, VennIntersection, VennSet, WordCloudChart, WordCloudChartProps, WordCloudDatum, XYChart, XYChartProps, XYSeries, chartColor, chartTicks, createBaiduMapHost, formatChartNumber, getChartMap, linearScale, niceChartDomain, paddedValueExtent, registerChartMap, saveCompositeImage, serializeChartStack, smoothSvgPath, svgArcPath, transferCompositeValue } from './chart.cjs';
|
|
13
13
|
import 'vditor';
|
|
14
14
|
|
|
15
|
+
/** 自适应容器的实测尺寸,单位为 CSS 像素。 */
|
|
16
|
+
interface AutoSizerSize {
|
|
17
|
+
/** 容器内容区宽度,隐藏时为零。 */
|
|
18
|
+
width: number;
|
|
19
|
+
/** 容器内容区高度,隐藏时为零。 */
|
|
20
|
+
height: number;
|
|
21
|
+
}
|
|
22
|
+
/** 填充具有明确宽高的父容器,并向内容提供可用尺寸。 */
|
|
23
|
+
interface AutoSizerProps {
|
|
24
|
+
/** 按实测内容区尺寸渲染;隐藏或尚未测量时不渲染,重新显示后自动恢复。 */
|
|
25
|
+
children: (size: AutoSizerSize) => ReactNode;
|
|
26
|
+
}
|
|
27
|
+
/** 将尺寸监听集中在框架内,适用于需要像素坐标的图表等内容。 */
|
|
28
|
+
declare function AutoSizer({ children }: AutoSizerProps): react.JSX.Element;
|
|
29
|
+
/** 非模态任务浮层配置,不管理业务任务或轮询。 */
|
|
30
|
+
interface FloatingPanelProps {
|
|
31
|
+
/** 是否显示;关闭时卸载内容,不显示遮罩,也不抢夺焦点。 */
|
|
32
|
+
open: boolean;
|
|
33
|
+
/** 浮层可访问名称,同时作为标题展示。 */
|
|
34
|
+
title: string;
|
|
35
|
+
/** 任务状态或进度内容。 */
|
|
36
|
+
children: ReactNode;
|
|
37
|
+
/** 固定在视口的角落。@defaultValue "bottomRight" */
|
|
38
|
+
placement?: "bottomRight" | "bottomLeft" | "topRight" | "topLeft";
|
|
39
|
+
}
|
|
40
|
+
/** 使用框架默认外观展示持续任务;挂载到 body,避免被业务容器裁剪。 */
|
|
41
|
+
declare function FloatingPanel({ open, title, children, placement }: FloatingPanelProps): react.ReactPortal | null;
|
|
42
|
+
/** 排序列表的稳定标识。 */
|
|
43
|
+
type SortableKey = string | number;
|
|
44
|
+
/** 受控排序列表;只通知顺序,不保存业务数据。 */
|
|
45
|
+
interface SortableListProps {
|
|
46
|
+
/** 按当前顺序排列的唯一稳定标识,不允许重复。 */
|
|
47
|
+
items: readonly SortableKey[];
|
|
48
|
+
/** 根据标识渲染条目内容;拖动仅由框架手柄发起,内容输入控件保持原生操作。 */
|
|
49
|
+
renderItem: (key: SortableKey, index: number) => ReactNode;
|
|
50
|
+
/** 拖放或手柄方向键完成移动时返回新顺序;无变化、取消、禁用时不触发。 */
|
|
51
|
+
onOrderChange: (items: SortableKey[]) => void;
|
|
52
|
+
/** 排列方向;横向内容超出时在列表内滚动。@defaultValue "horizontal" */
|
|
53
|
+
direction?: "horizontal" | "vertical";
|
|
54
|
+
/** 禁止拖放和键盘排序,不禁用条目内部业务控件。@defaultValue false */
|
|
55
|
+
disabled?: boolean;
|
|
56
|
+
}
|
|
57
|
+
/** 拖放与键盘共用受控顺序,输入控件无需参与拖动事件。 */
|
|
58
|
+
declare function SortableList({ items, renderItem, onOrderChange, direction, disabled }: SortableListProps): react.JSX.Element;
|
|
59
|
+
|
|
15
60
|
/** 警告提示的状态类型。 */
|
|
16
61
|
type AlertStatus = "info" | "success" | "warning" | "error";
|
|
17
62
|
/** 警告提示的属性配置。 */
|
|
@@ -2831,7 +2876,7 @@ interface TableToolbarItem<T> {
|
|
|
2831
2876
|
interface TableToolbarPluginOptions<T> {
|
|
2832
2877
|
/** 范围起点。 */
|
|
2833
2878
|
start?: ReactNode;
|
|
2834
|
-
/**
|
|
2879
|
+
/** 工具栏右侧内容。纯图标按钮默认使用 30px 方形点击区域,与设置按钮一致;直接嵌套的横向 Space 或 Toolbar 统一使用外层 8px 间距。 */
|
|
2835
2880
|
end?: ReactNode;
|
|
2836
2881
|
/** 按展示顺序排列的项目配置。 */
|
|
2837
2882
|
items?: readonly TableToolbarItem<T>[];
|
|
@@ -3307,4 +3352,4 @@ interface NumberRangeProps extends Omit<HTMLAttributes<HTMLSpanElement>, "onChan
|
|
|
3307
3352
|
/** 日期区间风格的双数字输入框,使用波浪线分隔;可直接绑定 Form.Item。 */
|
|
3308
3353
|
declare const NumberRange: react.ForwardRefExoticComponent<NumberRangeProps & react.RefAttributes<HTMLSpanElement>>;
|
|
3309
3354
|
|
|
3310
|
-
export { Alert, type AlertProps, type AlertStatus, type AnyTablePlugin, 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, 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, FloatingScrollbarProvider, type FloatingScrollbarProviderProps, Form, type FormErrorField, 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, Space, type SpaceCompactProps, type SpaceProps, Splitter, type SplitterPanelProps, type SplitterProps, Switch, type SwitchProps, type SwitchVariant, Table, type TableAlign, type TableCanvasCell, type TableCellAddress, 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, 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, openSelectModal, useForm };
|
|
3355
|
+
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, 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, FloatingScrollbarProvider, type FloatingScrollbarProviderProps, Form, type FormErrorField, 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 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, 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, openSelectModal, useForm };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { T as TagStatus, B as BadgeProps } from './core-Bn1emNZn.js';
|
|
2
|
-
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-Bn1emNZn.js';
|
|
3
1
|
import * as react from 'react';
|
|
4
|
-
import {
|
|
2
|
+
import { ReactNode, HTMLAttributes, 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-_1K1jLyH.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-_1K1jLyH.js';
|
|
5
5
|
import { C as ControlSize, I as InputPlaceholderMode, a as ControlStatus } from './shared-Bx4B28Wh.js';
|
|
6
6
|
import { O as OverlayContainer, a as OverlayApiHandle, M as ModalOpenConfig, S as SelectOption, b as SelectChangeValue, c as SelectProps, d as ModalActionResult, B as ButtonProps, e as ButtonSize } from './Select-DmT9pFRW.js';
|
|
7
7
|
export { f as Button, g as ButtonVariant, h as Modal, i as ModalProps, j as ModalType, k as Select, l as SelectMode, m as SelectValue } from './Select-DmT9pFRW.js';
|
|
@@ -12,6 +12,51 @@ import * as Monaco from 'monaco-editor';
|
|
|
12
12
|
export { BaiduMapHostOptions, BaiduMapInstance, BaiduMapNamespace, BaiduMapPoint, BarChart, BarChartProps, BarDatum, BarSeries, CHART_VIEWBOX_HEIGHT, CHART_VIEWBOX_WIDTH, CandlestickChart, CandlestickChartProps, CandlestickDatum, CartesianChartProps, ChartAxis, ChartAxisProps, ChartComposite, ChartCompositeLayer, ChartCompositeProps, ChartCompositeRef, ChartDataClickInfo, ChartDataEditor, ChartDataEditorProps, ChartDataZoom, ChartDataZoomProps, ChartLegend, ChartLegendItem, ChartLegendProps, ChartMapOverlay, ChartMapOverlayProps, ChartMark, ChartMarkProps, ChartRoamController, ChartRoamControllerProps, ChartSeries, ChartTimeline, ChartTimelineProps, ChartToolbox, ChartToolboxFeature, ChartToolboxOptions, ChartToolboxProps, ChartTooltip, ChartTooltipProps, ChartValueAddress, ChartValueChannel, ChartValueIsland, ChartValueIslandProps, ChartValueTransferHandler, ChartVisualMap, ChartVisualMapProps, ChartWhirlingLoading, ChartWhirlingLoadingProps, ChordChart, ChordChartProps, ChordLink, ChordNode, DEFAULT_CHART_PALETTE, EventRiverChart, EventRiverChartProps, EventRiverEvent, EventRiverEvolution, EventRiverSeries, ForceChart, ForceGraphChart, FunnelChart, FunnelChartProps, FunnelDatum, FunnelSeries, GaugeChart, GaugeChartProps, GaugeDatum, GeoJsonFeature, GeoJsonFeatureCollection, GeoJsonMultiPolygonGeometry, GeoJsonPolygonGeometry, GraphChart, GraphChartProps, GraphLink, GraphNode, HeatmapChart, HeatmapChartProps, HeatmapPoint, KLineChart, LineChart, LineChartProps, LinePoint, LineSeries, LineShareChart, LineShareChartProps, MapChart, MapChartProps, MapDatum, MapMarkLine, MapMarkPoint, MapOverlayEvent, MapOverlayHost, MapOverlaySnapshot, MixedChart, MixedChartProps, MixedSeries, PieChart, PieChartProps, PieDatum, PieSeries, RadarChart, RadarChartProps, RadarIndicator, RadarPanel, RadarSeries, ScatterChart, ScatterChartProps, ScatterDatum, ScatterVisualMap, SiaChart, SiaChartProps, SiaChartRef, SvgMapPlot, SvgMapPlotProps, ThemeRiverChart, ThemeRiverChartProps, ThemeRiverSeries, TreeChart, TreeChartProps, TreeDatum, TreemapChart, TreemapChartProps, TreemapDatum, TreemapItemStyle, VennChart, VennChartProps, VennIntersection, VennSet, WordCloudChart, WordCloudChartProps, WordCloudDatum, XYChart, XYChartProps, XYSeries, chartColor, chartTicks, createBaiduMapHost, formatChartNumber, getChartMap, linearScale, niceChartDomain, paddedValueExtent, registerChartMap, saveCompositeImage, serializeChartStack, smoothSvgPath, svgArcPath, transferCompositeValue } from './chart.js';
|
|
13
13
|
import 'vditor';
|
|
14
14
|
|
|
15
|
+
/** 自适应容器的实测尺寸,单位为 CSS 像素。 */
|
|
16
|
+
interface AutoSizerSize {
|
|
17
|
+
/** 容器内容区宽度,隐藏时为零。 */
|
|
18
|
+
width: number;
|
|
19
|
+
/** 容器内容区高度,隐藏时为零。 */
|
|
20
|
+
height: number;
|
|
21
|
+
}
|
|
22
|
+
/** 填充具有明确宽高的父容器,并向内容提供可用尺寸。 */
|
|
23
|
+
interface AutoSizerProps {
|
|
24
|
+
/** 按实测内容区尺寸渲染;隐藏或尚未测量时不渲染,重新显示后自动恢复。 */
|
|
25
|
+
children: (size: AutoSizerSize) => ReactNode;
|
|
26
|
+
}
|
|
27
|
+
/** 将尺寸监听集中在框架内,适用于需要像素坐标的图表等内容。 */
|
|
28
|
+
declare function AutoSizer({ children }: AutoSizerProps): react.JSX.Element;
|
|
29
|
+
/** 非模态任务浮层配置,不管理业务任务或轮询。 */
|
|
30
|
+
interface FloatingPanelProps {
|
|
31
|
+
/** 是否显示;关闭时卸载内容,不显示遮罩,也不抢夺焦点。 */
|
|
32
|
+
open: boolean;
|
|
33
|
+
/** 浮层可访问名称,同时作为标题展示。 */
|
|
34
|
+
title: string;
|
|
35
|
+
/** 任务状态或进度内容。 */
|
|
36
|
+
children: ReactNode;
|
|
37
|
+
/** 固定在视口的角落。@defaultValue "bottomRight" */
|
|
38
|
+
placement?: "bottomRight" | "bottomLeft" | "topRight" | "topLeft";
|
|
39
|
+
}
|
|
40
|
+
/** 使用框架默认外观展示持续任务;挂载到 body,避免被业务容器裁剪。 */
|
|
41
|
+
declare function FloatingPanel({ open, title, children, placement }: FloatingPanelProps): react.ReactPortal | null;
|
|
42
|
+
/** 排序列表的稳定标识。 */
|
|
43
|
+
type SortableKey = string | number;
|
|
44
|
+
/** 受控排序列表;只通知顺序,不保存业务数据。 */
|
|
45
|
+
interface SortableListProps {
|
|
46
|
+
/** 按当前顺序排列的唯一稳定标识,不允许重复。 */
|
|
47
|
+
items: readonly SortableKey[];
|
|
48
|
+
/** 根据标识渲染条目内容;拖动仅由框架手柄发起,内容输入控件保持原生操作。 */
|
|
49
|
+
renderItem: (key: SortableKey, index: number) => ReactNode;
|
|
50
|
+
/** 拖放或手柄方向键完成移动时返回新顺序;无变化、取消、禁用时不触发。 */
|
|
51
|
+
onOrderChange: (items: SortableKey[]) => void;
|
|
52
|
+
/** 排列方向;横向内容超出时在列表内滚动。@defaultValue "horizontal" */
|
|
53
|
+
direction?: "horizontal" | "vertical";
|
|
54
|
+
/** 禁止拖放和键盘排序,不禁用条目内部业务控件。@defaultValue false */
|
|
55
|
+
disabled?: boolean;
|
|
56
|
+
}
|
|
57
|
+
/** 拖放与键盘共用受控顺序,输入控件无需参与拖动事件。 */
|
|
58
|
+
declare function SortableList({ items, renderItem, onOrderChange, direction, disabled }: SortableListProps): react.JSX.Element;
|
|
59
|
+
|
|
15
60
|
/** 警告提示的状态类型。 */
|
|
16
61
|
type AlertStatus = "info" | "success" | "warning" | "error";
|
|
17
62
|
/** 警告提示的属性配置。 */
|
|
@@ -2831,7 +2876,7 @@ interface TableToolbarItem<T> {
|
|
|
2831
2876
|
interface TableToolbarPluginOptions<T> {
|
|
2832
2877
|
/** 范围起点。 */
|
|
2833
2878
|
start?: ReactNode;
|
|
2834
|
-
/**
|
|
2879
|
+
/** 工具栏右侧内容。纯图标按钮默认使用 30px 方形点击区域,与设置按钮一致;直接嵌套的横向 Space 或 Toolbar 统一使用外层 8px 间距。 */
|
|
2835
2880
|
end?: ReactNode;
|
|
2836
2881
|
/** 按展示顺序排列的项目配置。 */
|
|
2837
2882
|
items?: readonly TableToolbarItem<T>[];
|
|
@@ -3307,4 +3352,4 @@ interface NumberRangeProps extends Omit<HTMLAttributes<HTMLSpanElement>, "onChan
|
|
|
3307
3352
|
/** 日期区间风格的双数字输入框,使用波浪线分隔;可直接绑定 Form.Item。 */
|
|
3308
3353
|
declare const NumberRange: react.ForwardRefExoticComponent<NumberRangeProps & react.RefAttributes<HTMLSpanElement>>;
|
|
3309
3354
|
|
|
3310
|
-
export { Alert, type AlertProps, type AlertStatus, type AnyTablePlugin, 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, 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, FloatingScrollbarProvider, type FloatingScrollbarProviderProps, Form, type FormErrorField, 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, Space, type SpaceCompactProps, type SpaceProps, Splitter, type SplitterPanelProps, type SplitterProps, Switch, type SwitchProps, type SwitchVariant, Table, type TableAlign, type TableCanvasCell, type TableCellAddress, 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, 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, openSelectModal, useForm };
|
|
3355
|
+
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, 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, FloatingScrollbarProvider, type FloatingScrollbarProviderProps, Form, type FormErrorField, 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 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, 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, openSelectModal, useForm };
|