@sia.soul/sia-react-ui 0.1.6 → 0.1.7
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/{Select-rtDktLYY.d.ts → Select-Cl6UXsN5.d.ts} +12 -0
- package/dist/{Select-GiTHMScg.d.cts → Select-IjA4yqLh.d.cts} +12 -0
- package/dist/chunk-6QQRMGW4.js +1331 -0
- package/dist/{chunk-PX6BOFTW.js → chunk-F3VH6LJH.js} +2 -4
- package/dist/{chunk-EJ23MVR6.js → chunk-JJVD2ITI.js} +592 -1
- package/dist/chunk-SMNSQDXN.js +1493 -0
- package/dist/{chunk-MJUTLEEE.js → chunk-X6ZPBBDF.js} +2 -2
- package/dist/{core-D8BSMfHD.d.ts → core-CcB8n8uv.d.ts} +1 -1
- package/dist/{core-CBtbeAms.d.cts → core-DrpbQni9.d.cts} +1 -1
- package/dist/core.cjs +1093 -715
- package/dist/core.css +137 -11
- package/dist/core.d.cts +2 -2
- package/dist/core.d.ts +2 -2
- package/dist/core.js +7 -9
- package/dist/index.cjs +4122 -3971
- package/dist/index.css +137 -11
- package/dist/index.d.cts +7 -5
- package/dist/index.d.ts +7 -5
- package/dist/index.js +76 -230
- package/dist/rich-text-editor.cjs +11 -2
- package/dist/rich-text-editor.js +2 -3
- package/dist/{select-date-range-DRmGaEzP.d.cts → select-date-range-BzEXIsqZ.d.cts} +1 -1
- package/dist/{select-date-range-CQ1vmze_.d.ts → select-date-range-CU2ou9sD.d.ts} +1 -1
- package/dist/select-date-range.cjs +1091 -77
- package/dist/select-date-range.d.cts +2 -2
- package/dist/select-date-range.d.ts +2 -2
- package/dist/select-date-range.js +4 -3
- package/package.json +1 -1
- package/dist/chunk-IHTODT53.js +0 -586
- package/dist/chunk-R7BVDN3Q.js +0 -366
- package/dist/chunk-S2JAJCLN.js +0 -2154
package/dist/index.css
CHANGED
|
@@ -1530,7 +1530,9 @@ fieldset:disabled .sia-input-number__floating-placeholder {
|
|
|
1530
1530
|
animation: sia-spin 700ms linear infinite;
|
|
1531
1531
|
}
|
|
1532
1532
|
.sia-select__dropdown {
|
|
1533
|
-
|
|
1533
|
+
display: flex;
|
|
1534
|
+
flex-direction: column;
|
|
1535
|
+
width: max-content;
|
|
1534
1536
|
padding: 4px;
|
|
1535
1537
|
background: var(--sia-color-surface);
|
|
1536
1538
|
border: 1px solid var(--sia-color-border);
|
|
@@ -1538,6 +1540,7 @@ fieldset:disabled .sia-input-number__floating-placeholder {
|
|
|
1538
1540
|
box-shadow: var(--sia-shadow-popup);
|
|
1539
1541
|
}
|
|
1540
1542
|
.sia-select__search {
|
|
1543
|
+
flex-shrink: 0;
|
|
1541
1544
|
display: flex;
|
|
1542
1545
|
align-items: center;
|
|
1543
1546
|
gap: 7px;
|
|
@@ -1581,12 +1584,14 @@ fieldset:disabled .sia-input-number__floating-placeholder {
|
|
|
1581
1584
|
}
|
|
1582
1585
|
.sia-select__actions {
|
|
1583
1586
|
display: flex;
|
|
1587
|
+
flex: 0 0 auto;
|
|
1584
1588
|
align-items: center;
|
|
1589
|
+
justify-content: flex-end;
|
|
1585
1590
|
gap: 4px;
|
|
1586
|
-
min-height:
|
|
1587
|
-
margin-
|
|
1588
|
-
padding:
|
|
1589
|
-
border-
|
|
1591
|
+
min-height: 36px;
|
|
1592
|
+
margin-top: 4px;
|
|
1593
|
+
padding: 4px;
|
|
1594
|
+
border-top: 1px solid var(--sia-color-border);
|
|
1590
1595
|
}
|
|
1591
1596
|
.sia-select__actions button {
|
|
1592
1597
|
padding: 3px 6px;
|
|
@@ -1597,6 +1602,9 @@ fieldset:disabled .sia-input-number__floating-placeholder {
|
|
|
1597
1602
|
border-radius: 4px;
|
|
1598
1603
|
font-size: 12px;
|
|
1599
1604
|
}
|
|
1605
|
+
.sia-select__actions button.sia-button--danger {
|
|
1606
|
+
color: var(--sia-color-error);
|
|
1607
|
+
}
|
|
1600
1608
|
.sia-select__actions button:hover:not(:disabled) {
|
|
1601
1609
|
background: var(--sia-color-control-hover);
|
|
1602
1610
|
}
|
|
@@ -1605,12 +1613,14 @@ fieldset:disabled .sia-input-number__floating-placeholder {
|
|
|
1605
1613
|
cursor: not-allowed;
|
|
1606
1614
|
opacity: 0.45;
|
|
1607
1615
|
}
|
|
1608
|
-
.sia-select__actions span {
|
|
1616
|
+
.sia-select__actions > span {
|
|
1609
1617
|
margin-left: auto;
|
|
1610
1618
|
color: var(--sia-color-text-secondary);
|
|
1611
1619
|
font-size: 11px;
|
|
1612
1620
|
}
|
|
1613
1621
|
.sia-select__list {
|
|
1622
|
+
flex: 1 1 auto;
|
|
1623
|
+
min-height: 0;
|
|
1614
1624
|
position: relative;
|
|
1615
1625
|
display: block;
|
|
1616
1626
|
overflow-y: var(--sia-scroll-overflow, auto);
|
|
@@ -1637,9 +1647,9 @@ fieldset:disabled .sia-input-number__floating-placeholder {
|
|
|
1637
1647
|
background-color: var(--sia-color-control-hover);
|
|
1638
1648
|
}
|
|
1639
1649
|
.sia-select__option.is-selected {
|
|
1640
|
-
color: var(--sia-color-primary
|
|
1650
|
+
color: var(--sia-color-primary, #1677ff);
|
|
1641
1651
|
font-weight: 500;
|
|
1642
|
-
background-color: var(--sia-color-
|
|
1652
|
+
background-color: var(--sia-color-primary-bg, #eaf4ff);
|
|
1643
1653
|
}
|
|
1644
1654
|
.sia-select__option.is-disabled {
|
|
1645
1655
|
color: var(--sia-color-text-secondary);
|
|
@@ -3368,7 +3378,7 @@ fieldset:disabled .sia-input-number__floating-placeholder {
|
|
|
3368
3378
|
z-index: 9;
|
|
3369
3379
|
top: 0;
|
|
3370
3380
|
bottom: 0;
|
|
3371
|
-
width:
|
|
3381
|
+
width: 6px;
|
|
3372
3382
|
content: "";
|
|
3373
3383
|
opacity: 0;
|
|
3374
3384
|
pointer-events: none;
|
|
@@ -3379,7 +3389,7 @@ fieldset:disabled .sia-input-number__floating-placeholder {
|
|
|
3379
3389
|
background:
|
|
3380
3390
|
linear-gradient(
|
|
3381
3391
|
90deg,
|
|
3382
|
-
color-mix(in srgb, var(--sia-color-text)
|
|
3392
|
+
color-mix(in srgb, var(--sia-color-text) 24%, transparent),
|
|
3383
3393
|
transparent);
|
|
3384
3394
|
}
|
|
3385
3395
|
.sia-table__viewport-wrap::after {
|
|
@@ -3387,7 +3397,7 @@ fieldset:disabled .sia-input-number__floating-placeholder {
|
|
|
3387
3397
|
background:
|
|
3388
3398
|
linear-gradient(
|
|
3389
3399
|
270deg,
|
|
3390
|
-
color-mix(in srgb, var(--sia-color-text)
|
|
3400
|
+
color-mix(in srgb, var(--sia-color-text) 24%, transparent),
|
|
3391
3401
|
transparent);
|
|
3392
3402
|
}
|
|
3393
3403
|
.sia-table[data-has-fixed-left=true][data-scrolled-left=true] .sia-table__viewport-wrap::before,
|
|
@@ -4120,6 +4130,122 @@ fieldset:disabled .sia-input-number__floating-placeholder {
|
|
|
4120
4130
|
border: 1px solid var(--sia-color-border);
|
|
4121
4131
|
border-radius: 0 0 var(--sia-radius) var(--sia-radius);
|
|
4122
4132
|
}
|
|
4133
|
+
.sia-select-modal__heading {
|
|
4134
|
+
display: flex;
|
|
4135
|
+
justify-content: space-between;
|
|
4136
|
+
align-items: center;
|
|
4137
|
+
gap: 16px;
|
|
4138
|
+
margin-bottom: 16px;
|
|
4139
|
+
flex-wrap: wrap;
|
|
4140
|
+
}
|
|
4141
|
+
.sia-select-modal__heading > .sia-input-control {
|
|
4142
|
+
width: 240px;
|
|
4143
|
+
max-width: 100%;
|
|
4144
|
+
}
|
|
4145
|
+
.sia-select-modal__heading [role=tablist] {
|
|
4146
|
+
display: flex;
|
|
4147
|
+
gap: 16px;
|
|
4148
|
+
}
|
|
4149
|
+
.sia-select-modal__heading [role=tab] {
|
|
4150
|
+
border-radius: 0;
|
|
4151
|
+
padding-inline: 0;
|
|
4152
|
+
color: var(--sia-color-text);
|
|
4153
|
+
border-bottom: 2px solid transparent;
|
|
4154
|
+
}
|
|
4155
|
+
.sia-select-modal__heading [role=tab][aria-selected=true] {
|
|
4156
|
+
color: var(--sia-color-primary);
|
|
4157
|
+
border-bottom-color: var(--sia-color-primary);
|
|
4158
|
+
}
|
|
4159
|
+
.sia-select-modal__actions {
|
|
4160
|
+
display: flex;
|
|
4161
|
+
align-items: center;
|
|
4162
|
+
gap: 12px;
|
|
4163
|
+
margin-bottom: 12px;
|
|
4164
|
+
}
|
|
4165
|
+
.sia-select-modal .sia-selection-panel {
|
|
4166
|
+
min-height: 160px;
|
|
4167
|
+
}
|
|
4168
|
+
.sia-select-modal .sia-selection-panel__group {
|
|
4169
|
+
font-size: 16px;
|
|
4170
|
+
color: var(--sia-color-text);
|
|
4171
|
+
padding-left: 12px;
|
|
4172
|
+
border-left: 3px solid var(--sia-color-primary);
|
|
4173
|
+
}
|
|
4174
|
+
.sia-select-modal__footer {
|
|
4175
|
+
padding-top: 16px;
|
|
4176
|
+
border-top: 1px solid var(--sia-color-border);
|
|
4177
|
+
display: flex;
|
|
4178
|
+
width: 100%;
|
|
4179
|
+
justify-content: space-between;
|
|
4180
|
+
gap: 16px;
|
|
4181
|
+
}
|
|
4182
|
+
.sia-select-modal__footer > div {
|
|
4183
|
+
display: flex;
|
|
4184
|
+
gap: 12px;
|
|
4185
|
+
align-items: center;
|
|
4186
|
+
}
|
|
4187
|
+
.sia-select-modal .sia-selection-panel__option {
|
|
4188
|
+
font-size: 14px;
|
|
4189
|
+
}
|
|
4190
|
+
.sia-select-modal__actions > .sia-checkbox,
|
|
4191
|
+
.sia-select-modal__actions > .sia-button {
|
|
4192
|
+
font-size: 14px;
|
|
4193
|
+
}
|
|
4194
|
+
.sia-selection-panel__option > .sia-checkbox {
|
|
4195
|
+
width: 100%;
|
|
4196
|
+
min-width: 0;
|
|
4197
|
+
font: inherit;
|
|
4198
|
+
color: inherit;
|
|
4199
|
+
}
|
|
4200
|
+
.sia-selection-panel__option .sia-checkbox__label {
|
|
4201
|
+
min-width: 0;
|
|
4202
|
+
overflow: hidden;
|
|
4203
|
+
white-space: nowrap;
|
|
4204
|
+
text-overflow: ellipsis;
|
|
4205
|
+
}
|
|
4206
|
+
.sia-selection-panel__option .sia-checkbox__control {
|
|
4207
|
+
flex-shrink: 0;
|
|
4208
|
+
}
|
|
4209
|
+
.sia-selection-panel__text {
|
|
4210
|
+
display: grid;
|
|
4211
|
+
grid-template-columns: minmax(0, 1fr);
|
|
4212
|
+
justify-items: stretch;
|
|
4213
|
+
min-width: 0;
|
|
4214
|
+
max-width: 100%;
|
|
4215
|
+
text-align: left;
|
|
4216
|
+
}
|
|
4217
|
+
.sia-select__option-content {
|
|
4218
|
+
min-width: 0;
|
|
4219
|
+
flex: 1;
|
|
4220
|
+
}
|
|
4221
|
+
.sia-select__option-label,
|
|
4222
|
+
.sia-select__option-value {
|
|
4223
|
+
display: block;
|
|
4224
|
+
overflow: hidden;
|
|
4225
|
+
white-space: nowrap;
|
|
4226
|
+
text-overflow: ellipsis;
|
|
4227
|
+
}
|
|
4228
|
+
.sia-select__option-value {
|
|
4229
|
+
font-size: 12px;
|
|
4230
|
+
line-height: 18px;
|
|
4231
|
+
color: var(--sia-color-text-secondary);
|
|
4232
|
+
font-weight: 400;
|
|
4233
|
+
}
|
|
4234
|
+
.sia-select__option > .sia-icon {
|
|
4235
|
+
flex-shrink: 0;
|
|
4236
|
+
}
|
|
4237
|
+
.sia-selection-panel__label,
|
|
4238
|
+
.sia-selection-panel__text small {
|
|
4239
|
+
display: block;
|
|
4240
|
+
min-width: 0;
|
|
4241
|
+
margin: 0;
|
|
4242
|
+
padding: 0;
|
|
4243
|
+
text-align: left;
|
|
4244
|
+
text-indent: 0;
|
|
4245
|
+
overflow: hidden;
|
|
4246
|
+
white-space: nowrap;
|
|
4247
|
+
text-overflow: ellipsis;
|
|
4248
|
+
}
|
|
4123
4249
|
|
|
4124
4250
|
/* src/components-extra.css */
|
|
4125
4251
|
.sia-flex {
|
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 } from 'react';
|
|
3
|
-
import { O as OverlayContainer, a as OverlayApiHandle } from './core-
|
|
4
|
-
export { B as Badge, b as BadgeProps, c as BadgeRibbonProps, d as BadgeStatus, e as Breadcrumb, f as BreadcrumbItem, g as BreadcrumbProps, h as Button, i as ButtonProps, j as ButtonSize, k as ButtonVariant, C as Calendar, l as CalendarProps, m as Card, n as CardAccent, o as CardProps, p as Carousel, q as CarouselProps, r as CarouselRef, s as Collapse, t as CollapseItem, u as CollapseKey, v as CollapseProps, D as Dropdown, w as DropdownButtonProps, x as DropdownMenuProps, y as DropdownOpenSource, z as DropdownPlacement, A as DropdownProps, E as DropdownTrigger, F as FILLED_ICON_NAMES, G as FilledIconName, H as FloatButton, I as FloatButtonBackTopProps, J as FloatButtonGroupProps, K as FloatButtonProps, L as FloatButtonShape, M as FloatingPlacement, N as FloatingTrigger, P as ICON_NAMES, Q as Icon, R as IconName, S as IconProps, T as IconVariant, U as Image, V as ImagePreview, W as ImagePreviewConfig, X as ImagePreviewProps, Y as ImageProps, Z as Input, _ as InputProps, $ as Menu, a0 as MenuClickInfo, a1 as MenuItem, a2 as MenuMode, a3 as MenuProps, a4 as MenuTheme, a5 as MessageConfig, a6 as MessageHandle, a7 as MessageKey, a8 as MessageType, a9 as Modal, aa as ModalActionResult, ab as ModalOpenConfig, ac as ModalProps, ad as ModalType, ae as NotificationConfig, af as NotificationPlacement, ag as NotificationType, ah as Popconfirm, ai as PopconfirmProps, aj as Popover, ak as PopoverProps, al as Progress, am as ProgressProps, an as ProgressStatus, ao as Rate, ap as RateProps, aq as Segmented, ar as SegmentedOption, as as SegmentedProps, at as SegmentedValue, au as Spin, av as SpinProps, aw as StepItem, ax as StepStatus, ay as Steps, az as StepsProps, aA as TabItem, aB as Tabs, aC as TabsContextMenuClickInfo, aD as TabsOrientation, aE as TabsPosition, aF as TabsProps, aG as TabsType, aH as Tag, aI as TagProps, aJ as TagStatus, aK as TagVariant, aL as Timeline, aM as TimelineItem, aN as TimelineProps, aO as Tooltip, aP as TooltipProps, aQ as Tour, aR as TourProps, aS as TourStep, aT as Tree, aU as TreeDropPosition, aV as TreeKey, aW as TreeNode, aX as TreeProps, aY as Typography, aZ as TypographyLinkProps, a_ as TypographyProps, a$ as TypographyTitleProps, b0 as TypographyType, b1 as Upload, b2 as UploadChangeInfo, b3 as UploadDraggerProps, b4 as UploadFile, b5 as UploadFileStatus, b6 as UploadProps, b7 as UploadRequestOptions, b8 as Watermark, b9 as WatermarkFont, ba as WatermarkProps, bb as message, bc as notification } from './core-
|
|
3
|
+
import { O as OverlayContainer, a as OverlayApiHandle } from './core-DrpbQni9.cjs';
|
|
4
|
+
export { B as Badge, b as BadgeProps, c as BadgeRibbonProps, d as BadgeStatus, e as Breadcrumb, f as BreadcrumbItem, g as BreadcrumbProps, h as Button, i as ButtonProps, j as ButtonSize, k as ButtonVariant, C as Calendar, l as CalendarProps, m as Card, n as CardAccent, o as CardProps, p as Carousel, q as CarouselProps, r as CarouselRef, s as Collapse, t as CollapseItem, u as CollapseKey, v as CollapseProps, D as Dropdown, w as DropdownButtonProps, x as DropdownMenuProps, y as DropdownOpenSource, z as DropdownPlacement, A as DropdownProps, E as DropdownTrigger, F as FILLED_ICON_NAMES, G as FilledIconName, H as FloatButton, I as FloatButtonBackTopProps, J as FloatButtonGroupProps, K as FloatButtonProps, L as FloatButtonShape, M as FloatingPlacement, N as FloatingTrigger, P as ICON_NAMES, Q as Icon, R as IconName, S as IconProps, T as IconVariant, U as Image, V as ImagePreview, W as ImagePreviewConfig, X as ImagePreviewProps, Y as ImageProps, Z as Input, _ as InputProps, $ as Menu, a0 as MenuClickInfo, a1 as MenuItem, a2 as MenuMode, a3 as MenuProps, a4 as MenuTheme, a5 as MessageConfig, a6 as MessageHandle, a7 as MessageKey, a8 as MessageType, a9 as Modal, aa as ModalActionResult, ab as ModalOpenConfig, ac as ModalProps, ad as ModalType, ae as NotificationConfig, af as NotificationPlacement, ag as NotificationType, ah as Popconfirm, ai as PopconfirmProps, aj as Popover, ak as PopoverProps, al as Progress, am as ProgressProps, an as ProgressStatus, ao as Rate, ap as RateProps, aq as Segmented, ar as SegmentedOption, as as SegmentedProps, at as SegmentedValue, au as Spin, av as SpinProps, aw as StepItem, ax as StepStatus, ay as Steps, az as StepsProps, aA as TabItem, aB as Tabs, aC as TabsContextMenuClickInfo, aD as TabsOrientation, aE as TabsPosition, aF as TabsProps, aG as TabsType, aH as Tag, aI as TagProps, aJ as TagStatus, aK as TagVariant, aL as Timeline, aM as TimelineItem, aN as TimelineProps, aO as Tooltip, aP as TooltipProps, aQ as Tour, aR as TourProps, aS as TourStep, aT as Tree, aU as TreeDropPosition, aV as TreeKey, aW as TreeNode, aX as TreeProps, aY as Typography, aZ as TypographyLinkProps, a_ as TypographyProps, a$ as TypographyTitleProps, b0 as TypographyType, b1 as Upload, b2 as UploadChangeInfo, b3 as UploadDraggerProps, b4 as UploadFile, b5 as UploadFileStatus, b6 as UploadProps, b7 as UploadRequestOptions, b8 as Watermark, b9 as WatermarkFont, ba as WatermarkProps, bb as message, bc as notification } from './core-DrpbQni9.cjs';
|
|
5
5
|
import { I as InputPlaceholderMode, C as ControlSize, a as ControlStatus } from './shared-DAYZvZVu.cjs';
|
|
6
|
-
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-
|
|
6
|
+
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-BzEXIsqZ.cjs';
|
|
7
7
|
export { RichTextContent, RichTextContentFormat, RichTextContentProps, RichTextEditor, RichTextEditorProps, RichTextImagePasteHandler, RichTextToolbar } from './rich-text-editor.cjs';
|
|
8
8
|
export { MarkdownEditor, MarkdownEditorMode, MarkdownEditorProps } from './markdown-editor.cjs';
|
|
9
9
|
import * as Monaco from 'monaco-editor';
|
|
10
|
-
export { S as Select, a as SelectChangeValue, b as SelectMode, c as SelectOption, d as SelectProps, e as SelectValue } from './Select-
|
|
10
|
+
export { S as Select, a as SelectChangeValue, b as SelectMode, c as SelectOption, d as SelectProps, e as SelectValue } from './Select-IjA4yqLh.cjs';
|
|
11
11
|
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';
|
|
12
12
|
import 'vditor';
|
|
13
13
|
|
|
@@ -1287,6 +1287,8 @@ interface SelectionPanelProps {
|
|
|
1287
1287
|
disabled?: boolean;
|
|
1288
1288
|
loading?: boolean;
|
|
1289
1289
|
showSearch?: boolean;
|
|
1290
|
+
showActions?: boolean;
|
|
1291
|
+
includeUnknownValues?: boolean;
|
|
1290
1292
|
searchValue?: string;
|
|
1291
1293
|
onSearch?: (value: string) => void;
|
|
1292
1294
|
selectedOnly?: boolean;
|
|
@@ -1297,7 +1299,7 @@ interface SelectionPanelProps {
|
|
|
1297
1299
|
autoFocusSearch?: boolean;
|
|
1298
1300
|
}
|
|
1299
1301
|
/** 可嵌入下拉或弹窗的分组选择面板,长列表按行虚拟化。 */
|
|
1300
|
-
declare function SelectionPanel({ options, value, onChange, multiple, disabled, loading, showSearch, searchValue, onSearch, selectedOnly, showValue, displayField, columns, maxHeight, autoFocusSearch }: SelectionPanelProps): react.JSX.Element;
|
|
1302
|
+
declare function SelectionPanel({ options, value, onChange, multiple, disabled, loading, showSearch, showActions, includeUnknownValues, searchValue, onSearch, selectedOnly, showValue, displayField, columns, maxHeight, autoFocusSearch }: SelectionPanelProps): react.JSX.Element;
|
|
1301
1303
|
|
|
1302
1304
|
interface InputSelectProps {
|
|
1303
1305
|
options: readonly SelectionOption[];
|
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 } from 'react';
|
|
3
|
-
import { O as OverlayContainer, a as OverlayApiHandle } from './core-
|
|
4
|
-
export { B as Badge, b as BadgeProps, c as BadgeRibbonProps, d as BadgeStatus, e as Breadcrumb, f as BreadcrumbItem, g as BreadcrumbProps, h as Button, i as ButtonProps, j as ButtonSize, k as ButtonVariant, C as Calendar, l as CalendarProps, m as Card, n as CardAccent, o as CardProps, p as Carousel, q as CarouselProps, r as CarouselRef, s as Collapse, t as CollapseItem, u as CollapseKey, v as CollapseProps, D as Dropdown, w as DropdownButtonProps, x as DropdownMenuProps, y as DropdownOpenSource, z as DropdownPlacement, A as DropdownProps, E as DropdownTrigger, F as FILLED_ICON_NAMES, G as FilledIconName, H as FloatButton, I as FloatButtonBackTopProps, J as FloatButtonGroupProps, K as FloatButtonProps, L as FloatButtonShape, M as FloatingPlacement, N as FloatingTrigger, P as ICON_NAMES, Q as Icon, R as IconName, S as IconProps, T as IconVariant, U as Image, V as ImagePreview, W as ImagePreviewConfig, X as ImagePreviewProps, Y as ImageProps, Z as Input, _ as InputProps, $ as Menu, a0 as MenuClickInfo, a1 as MenuItem, a2 as MenuMode, a3 as MenuProps, a4 as MenuTheme, a5 as MessageConfig, a6 as MessageHandle, a7 as MessageKey, a8 as MessageType, a9 as Modal, aa as ModalActionResult, ab as ModalOpenConfig, ac as ModalProps, ad as ModalType, ae as NotificationConfig, af as NotificationPlacement, ag as NotificationType, ah as Popconfirm, ai as PopconfirmProps, aj as Popover, ak as PopoverProps, al as Progress, am as ProgressProps, an as ProgressStatus, ao as Rate, ap as RateProps, aq as Segmented, ar as SegmentedOption, as as SegmentedProps, at as SegmentedValue, au as Spin, av as SpinProps, aw as StepItem, ax as StepStatus, ay as Steps, az as StepsProps, aA as TabItem, aB as Tabs, aC as TabsContextMenuClickInfo, aD as TabsOrientation, aE as TabsPosition, aF as TabsProps, aG as TabsType, aH as Tag, aI as TagProps, aJ as TagStatus, aK as TagVariant, aL as Timeline, aM as TimelineItem, aN as TimelineProps, aO as Tooltip, aP as TooltipProps, aQ as Tour, aR as TourProps, aS as TourStep, aT as Tree, aU as TreeDropPosition, aV as TreeKey, aW as TreeNode, aX as TreeProps, aY as Typography, aZ as TypographyLinkProps, a_ as TypographyProps, a$ as TypographyTitleProps, b0 as TypographyType, b1 as Upload, b2 as UploadChangeInfo, b3 as UploadDraggerProps, b4 as UploadFile, b5 as UploadFileStatus, b6 as UploadProps, b7 as UploadRequestOptions, b8 as Watermark, b9 as WatermarkFont, ba as WatermarkProps, bb as message, bc as notification } from './core-
|
|
3
|
+
import { O as OverlayContainer, a as OverlayApiHandle } from './core-CcB8n8uv.js';
|
|
4
|
+
export { B as Badge, b as BadgeProps, c as BadgeRibbonProps, d as BadgeStatus, e as Breadcrumb, f as BreadcrumbItem, g as BreadcrumbProps, h as Button, i as ButtonProps, j as ButtonSize, k as ButtonVariant, C as Calendar, l as CalendarProps, m as Card, n as CardAccent, o as CardProps, p as Carousel, q as CarouselProps, r as CarouselRef, s as Collapse, t as CollapseItem, u as CollapseKey, v as CollapseProps, D as Dropdown, w as DropdownButtonProps, x as DropdownMenuProps, y as DropdownOpenSource, z as DropdownPlacement, A as DropdownProps, E as DropdownTrigger, F as FILLED_ICON_NAMES, G as FilledIconName, H as FloatButton, I as FloatButtonBackTopProps, J as FloatButtonGroupProps, K as FloatButtonProps, L as FloatButtonShape, M as FloatingPlacement, N as FloatingTrigger, P as ICON_NAMES, Q as Icon, R as IconName, S as IconProps, T as IconVariant, U as Image, V as ImagePreview, W as ImagePreviewConfig, X as ImagePreviewProps, Y as ImageProps, Z as Input, _ as InputProps, $ as Menu, a0 as MenuClickInfo, a1 as MenuItem, a2 as MenuMode, a3 as MenuProps, a4 as MenuTheme, a5 as MessageConfig, a6 as MessageHandle, a7 as MessageKey, a8 as MessageType, a9 as Modal, aa as ModalActionResult, ab as ModalOpenConfig, ac as ModalProps, ad as ModalType, ae as NotificationConfig, af as NotificationPlacement, ag as NotificationType, ah as Popconfirm, ai as PopconfirmProps, aj as Popover, ak as PopoverProps, al as Progress, am as ProgressProps, an as ProgressStatus, ao as Rate, ap as RateProps, aq as Segmented, ar as SegmentedOption, as as SegmentedProps, at as SegmentedValue, au as Spin, av as SpinProps, aw as StepItem, ax as StepStatus, ay as Steps, az as StepsProps, aA as TabItem, aB as Tabs, aC as TabsContextMenuClickInfo, aD as TabsOrientation, aE as TabsPosition, aF as TabsProps, aG as TabsType, aH as Tag, aI as TagProps, aJ as TagStatus, aK as TagVariant, aL as Timeline, aM as TimelineItem, aN as TimelineProps, aO as Tooltip, aP as TooltipProps, aQ as Tour, aR as TourProps, aS as TourStep, aT as Tree, aU as TreeDropPosition, aV as TreeKey, aW as TreeNode, aX as TreeProps, aY as Typography, aZ as TypographyLinkProps, a_ as TypographyProps, a$ as TypographyTitleProps, b0 as TypographyType, b1 as Upload, b2 as UploadChangeInfo, b3 as UploadDraggerProps, b4 as UploadFile, b5 as UploadFileStatus, b6 as UploadProps, b7 as UploadRequestOptions, b8 as Watermark, b9 as WatermarkFont, ba as WatermarkProps, bb as message, bc as notification } from './core-CcB8n8uv.js';
|
|
5
5
|
import { I as InputPlaceholderMode, C as ControlSize, a as ControlStatus } from './shared-DAYZvZVu.js';
|
|
6
|
-
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-
|
|
6
|
+
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-CU2ou9sD.js';
|
|
7
7
|
export { RichTextContent, RichTextContentFormat, RichTextContentProps, RichTextEditor, RichTextEditorProps, RichTextImagePasteHandler, RichTextToolbar } from './rich-text-editor.js';
|
|
8
8
|
export { MarkdownEditor, MarkdownEditorMode, MarkdownEditorProps } from './markdown-editor.js';
|
|
9
9
|
import * as Monaco from 'monaco-editor';
|
|
10
|
-
export { S as Select, a as SelectChangeValue, b as SelectMode, c as SelectOption, d as SelectProps, e as SelectValue } from './Select-
|
|
10
|
+
export { S as Select, a as SelectChangeValue, b as SelectMode, c as SelectOption, d as SelectProps, e as SelectValue } from './Select-Cl6UXsN5.js';
|
|
11
11
|
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';
|
|
12
12
|
import 'vditor';
|
|
13
13
|
|
|
@@ -1287,6 +1287,8 @@ interface SelectionPanelProps {
|
|
|
1287
1287
|
disabled?: boolean;
|
|
1288
1288
|
loading?: boolean;
|
|
1289
1289
|
showSearch?: boolean;
|
|
1290
|
+
showActions?: boolean;
|
|
1291
|
+
includeUnknownValues?: boolean;
|
|
1290
1292
|
searchValue?: string;
|
|
1291
1293
|
onSearch?: (value: string) => void;
|
|
1292
1294
|
selectedOnly?: boolean;
|
|
@@ -1297,7 +1299,7 @@ interface SelectionPanelProps {
|
|
|
1297
1299
|
autoFocusSearch?: boolean;
|
|
1298
1300
|
}
|
|
1299
1301
|
/** 可嵌入下拉或弹窗的分组选择面板,长列表按行虚拟化。 */
|
|
1300
|
-
declare function SelectionPanel({ options, value, onChange, multiple, disabled, loading, showSearch, searchValue, onSearch, selectedOnly, showValue, displayField, columns, maxHeight, autoFocusSearch }: SelectionPanelProps): react.JSX.Element;
|
|
1302
|
+
declare function SelectionPanel({ options, value, onChange, multiple, disabled, loading, showSearch, showActions, includeUnknownValues, searchValue, onSearch, selectedOnly, showValue, displayField, columns, maxHeight, autoFocusSearch }: SelectionPanelProps): react.JSX.Element;
|
|
1301
1303
|
|
|
1302
1304
|
interface InputSelectProps {
|
|
1303
1305
|
options: readonly SelectionOption[];
|