antdv-next 1.8.2 → 1.8.4
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/_util/hooks/index.d.ts +2 -1
- package/dist/_util/hooks/index.js +2 -1
- package/dist/_util/hooks/useClosable.d.ts +3 -3
- package/dist/_util/hooks/useClosable.js +9 -9
- package/dist/_util/hooks/useScopeId.d.ts +7 -0
- package/dist/_util/hooks/useScopeId.js +15 -0
- package/dist/_util/scrollTo.js +1 -1
- package/dist/_util/statusUtils.js +1 -1
- package/dist/_util/vueNode.d.ts +2 -6
- package/dist/affix/index.js +2 -7
- package/dist/anchor/Anchor.js +4 -2
- package/dist/antd-with-locales.esm.js +17314 -16799
- package/dist/antd-with-locales.js +81 -81
- package/dist/antd.css +1 -1
- package/dist/antd.esm.js +14978 -14467
- package/dist/antd.js +81 -81
- package/dist/badge/SingleNumber.js +11 -2
- package/dist/badge/index.d.ts +4 -1
- package/dist/badge/index.js +4 -4
- package/dist/button/buttonHelper.d.ts +1 -1
- package/dist/button/style/index.js +8 -2
- package/dist/calendar/generateCalendar.d.ts +5 -4
- package/dist/calendar/generateCalendar.js +4 -7
- package/dist/card/Card.d.ts +4 -1
- package/dist/card/Card.js +24 -18
- package/dist/card/index.d.ts +2 -2
- package/dist/cascader/index.d.ts +5 -2
- package/dist/cascader/index.js +10 -7
- package/dist/checkbox/Checkbox.js +3 -0
- package/dist/checkbox/Group.d.ts +2 -1
- package/dist/checkbox/Group.js +3 -7
- package/dist/color-picker/ColorPicker.js +4 -0
- package/dist/color-picker/ColorPickerPanel.js +4 -0
- package/dist/color-picker/components/ColorSlider.js +12 -4
- package/dist/color-picker/components/PanelPicker/GradientColorBar.js +2 -0
- package/dist/components.d.ts +13 -9
- package/dist/components.js +3 -3
- package/dist/config-provider/context.d.ts +3 -3
- package/dist/config-provider/context.js +3 -3
- package/dist/date-picker/generatePicker/generateRangePicker.js +4 -5
- package/dist/date-picker/generatePicker/generateSinglePicker.js +4 -6
- package/dist/descriptions/hooks/useItems.d.ts +6 -6
- package/dist/descriptions/hooks/useRow.js +1 -1
- package/dist/float-button/FloatButtonGroup.js +3 -1
- package/dist/float-button/style/button.js +2 -2
- package/dist/form/Form.d.ts +17 -44
- package/dist/form/Form.js +54 -5
- package/dist/form/FormItem/ItemHolder.js +1 -1
- package/dist/form/FormItem/index.d.ts +3 -3
- package/dist/form/FormItem/index.js +4 -0
- package/dist/form/context.d.ts +3 -3
- package/dist/form/hooks/useForm.d.ts +4 -5
- package/dist/form/index.d.ts +29 -3
- package/dist/form/index.js +6 -6
- package/dist/form/types.d.ts +15 -7
- package/dist/image/hooks/usePreviewConfig.d.ts +6 -6
- package/dist/image/index.d.ts +5 -5
- package/dist/index.d.ts +15 -8
- package/dist/index.js +2 -2
- package/dist/input/Group.d.ts +3 -2
- package/dist/input/Group.js +23 -19
- package/dist/input/Input.d.ts +8 -1
- package/dist/input/Input.js +4 -0
- package/dist/input/OTP/OTPInput.js +4 -0
- package/dist/input/Password.js +4 -0
- package/dist/input/Search.js +4 -0
- package/dist/input/TextArea.d.ts +2 -0
- package/dist/input/TextArea.js +8 -0
- package/dist/input/index.d.ts +2 -2
- package/dist/input-number/style/index.js +3 -2
- package/dist/layout/layout.js +2 -3
- package/dist/listy/index.js +4 -3
- package/dist/locale/ko_KR.js +25 -23
- package/dist/locale/pt_BR.js +9 -7
- package/dist/mentions/index.js +10 -1
- package/dist/menu/MenuItem.js +1 -1
- package/dist/menu/index.d.ts +2 -1
- package/dist/menu/index.js +29 -5
- package/dist/menu/menu.js +41 -15
- package/dist/message/index.js +11 -9
- package/dist/modal/confirm.js +2 -3
- package/dist/modal/index.d.ts +2 -2
- package/dist/modal/interface.d.ts +1 -1
- package/dist/modal/useModal/index.js +9 -4
- package/dist/notification/index.js +3 -7
- package/dist/package.js +1 -1
- package/dist/package.json.d.ts +1 -0
- package/dist/pagination/Pagination.js +3 -1
- package/dist/radio/group.d.ts +1 -0
- package/dist/radio/group.js +2 -5
- package/dist/radio/interface.d.ts +1 -1
- package/dist/segmented/style/index.js +3 -2
- package/dist/select/index.d.ts +1 -0
- package/dist/select/index.js +3 -7
- package/dist/select/useIcons.d.ts +3 -1
- package/dist/select/useIcons.js +5 -2
- package/dist/skeleton/style/index.js +9 -13
- package/dist/slider/SliderTooltip.js +0 -1
- package/dist/slider/index.d.ts +2 -0
- package/dist/slider/index.js +4 -0
- package/dist/splitter/Splitter.d.ts +2 -3
- package/dist/splitter/Splitter.js +18 -34
- package/dist/splitter/interface.d.ts +17 -8
- package/dist/statistic/Timer.d.ts +2 -2
- package/dist/steps/index.js +2 -1
- package/dist/table/hooks/useFilter/FilterDropdown.js +1 -1
- package/dist/table/hooks/usePagination.d.ts +1 -2
- package/dist/table/hooks/usePagination.js +1 -3
- package/dist/table/hooks/useSorter.js +4 -8
- package/dist/table/style/index.js +1 -0
- package/dist/table/style/size.js +1 -0
- package/dist/tabs/style/index.js +5 -1
- package/dist/tag/hooks/useColor.d.ts +1 -1
- package/dist/theme/themes/dark/colors.d.ts +2 -1
- package/dist/theme/themes/dark/colors.js +19 -3
- package/dist/theme/themes/dark/index.js +2 -3
- package/dist/tour/index.js +4 -1
- package/dist/tour/style/index.js +6 -6
- package/dist/transfer/ListItem.js +1 -0
- package/dist/transfer/Section.js +1 -0
- package/dist/transfer/hooks/useSelection.js +2 -1
- package/dist/tree/DirectoryTree.js +11 -6
- package/dist/tree/utils/dictUtil.js +5 -8
- package/dist/typography/Base/EllipsisTooltip.js +5 -1
- package/dist/typography/Base/index.js +11 -8
- package/dist/typography/Base/util.js +2 -1
- package/dist/upload/Dragger.js +0 -8
- package/dist/upload/Upload.d.ts +2 -0
- package/dist/upload/Upload.js +23 -22
- package/dist/upload/UploadList/ListItem.js +4 -0
- package/dist/upload/UploadList/index.js +6 -1
- package/dist/upload/interface.d.ts +4 -2
- package/dist/version/token.json +1 -1
- package/dist/watermark/utils.js +1 -1
- package/package.json +44 -43
- package/web-tags.json +22 -14
- package/web-types.json +64 -31
package/web-tags.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.8.
|
|
2
|
+
"version": "1.8.4",
|
|
3
3
|
"tags": [
|
|
4
4
|
{
|
|
5
5
|
"name": "a-affix",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
39
|
"name": "color",
|
|
40
|
-
"description": "Default:
|
|
40
|
+
"description": "Default: primary when variant=\"solid\"\n\n(ZH) 设置按钮的颜色\n\n(EN) Set button color"
|
|
41
41
|
},
|
|
42
42
|
{
|
|
43
43
|
"name": "danger",
|
|
@@ -59,6 +59,10 @@
|
|
|
59
59
|
"name": "html-type",
|
|
60
60
|
"description": "Default: button\n\n(ZH) 设置 button 原生的 type 值,可选值请参考 HTML 标准\n\n(EN) Set the original html type of button, see: HTML Standard"
|
|
61
61
|
},
|
|
62
|
+
{
|
|
63
|
+
"name": "icon",
|
|
64
|
+
"description": "Default: -\n\n(ZH) 设置按钮的图标组件\n\n(EN) Set the icon component of button"
|
|
65
|
+
},
|
|
62
66
|
{
|
|
63
67
|
"name": "icon-placement",
|
|
64
68
|
"description": "Default: start\n\n(ZH) 设置按钮图标组件的位置\n\n(EN) Set the icon position of button"
|
|
@@ -2673,13 +2677,9 @@
|
|
|
2673
2677
|
"name": "a-avatar-group",
|
|
2674
2678
|
"description": "(ZH) 用来代表用户或事物,支持图片、图标或字符展示。\n\n(EN) Used to represent users or things, supporting the display of images, icons, or characters.",
|
|
2675
2679
|
"attributes": [
|
|
2676
|
-
{
|
|
2677
|
-
"name": "prefix-cls",
|
|
2678
|
-
"description": "Default: -\n\n(ZH) -\n\n(EN) -"
|
|
2679
|
-
},
|
|
2680
2680
|
{
|
|
2681
2681
|
"name": "max",
|
|
2682
|
-
"description": "Default: -\n\n(ZH)
|
|
2682
|
+
"description": "Default: -\n\n(ZH) 设置最多显示相关配置\n\n(EN) Set maximum display related configurations"
|
|
2683
2683
|
},
|
|
2684
2684
|
{
|
|
2685
2685
|
"name": "size",
|
|
@@ -2687,7 +2687,7 @@
|
|
|
2687
2687
|
},
|
|
2688
2688
|
{
|
|
2689
2689
|
"name": "shape",
|
|
2690
|
-
"description": "Default: circle\n\n(ZH)
|
|
2690
|
+
"description": "Default: circle\n\n(ZH) 设置头像的形状\n\n(EN) The shape of the avatar"
|
|
2691
2691
|
}
|
|
2692
2692
|
]
|
|
2693
2693
|
},
|
|
@@ -3293,6 +3293,10 @@
|
|
|
3293
3293
|
"name": "reverse",
|
|
3294
3294
|
"description": "Default: false\n\n(ZH) 反向坐标轴\n\n(EN) Reverse the component"
|
|
3295
3295
|
},
|
|
3296
|
+
{
|
|
3297
|
+
"name": "start-point",
|
|
3298
|
+
"description": "Default: min\n\n(ZH) 单滑块模式下高亮轨道的起始值\n\n(EN) The start value of the highlighted track in single mode"
|
|
3299
|
+
},
|
|
3296
3300
|
{
|
|
3297
3301
|
"name": "step",
|
|
3298
3302
|
"description": "Default: 1\n\n(ZH) 步长,取值必须大于 0,并且可被 (max - min) 整除。当 marks 不为空对象时,可以设置 step 为 null,此时 Slider 的可选值仅有 marks、min 和 max\n\n(EN) The granularity the slider can step through values. Must be greater than 0, and be divisible by (max - min). When step is null and marks exist, valid points will only be marks, min and max"
|
|
@@ -3663,9 +3667,13 @@
|
|
|
3663
3667
|
"name": "a-input-group",
|
|
3664
3668
|
"description": "(ZH) 输入框组合。已废弃,请使用 Space.Compact 代替。\n\n(EN) Input group. Deprecated, use Space.Compact instead.",
|
|
3665
3669
|
"attributes": [
|
|
3670
|
+
{
|
|
3671
|
+
"name": "compact",
|
|
3672
|
+
"description": "Default: false\n\nWhether to use compact style."
|
|
3673
|
+
},
|
|
3666
3674
|
{
|
|
3667
3675
|
"name": "size",
|
|
3668
|
-
"description": "Default:
|
|
3676
|
+
"description": "Default: default\n\nSize of the group. Applied by style only, not forwarded to the grouped controls."
|
|
3669
3677
|
}
|
|
3670
3678
|
]
|
|
3671
3679
|
},
|
|
@@ -4641,7 +4649,7 @@
|
|
|
4641
4649
|
},
|
|
4642
4650
|
{
|
|
4643
4651
|
"name": "hoverable",
|
|
4644
|
-
"description": "Default:
|
|
4652
|
+
"description": "Default: true\n\n(ZH) 鼠标移过时可浮起\n\n(EN) Lift up when hovering card"
|
|
4645
4653
|
}
|
|
4646
4654
|
]
|
|
4647
4655
|
},
|
|
@@ -5327,7 +5335,7 @@
|
|
|
5327
5335
|
},
|
|
5328
5336
|
{
|
|
5329
5337
|
"name": "height",
|
|
5330
|
-
"description": "Default: -\n\n(ZH)
|
|
5338
|
+
"description": "Default: -\n\n(ZH) height 为正数时,无论 virtual 如何设置,均限制树的纵向滚动区域的最大高度。省略 height 或将其设为 0 时,树的高度随内容增长。\n\n(EN) A positive value sets the maximum height of the Tree's vertical scroll area with either virtual setting. The Tree grows with its content when height is omitted or 0."
|
|
5331
5339
|
},
|
|
5332
5340
|
{
|
|
5333
5341
|
"name": "icon",
|
|
@@ -5387,7 +5395,7 @@
|
|
|
5387
5395
|
},
|
|
5388
5396
|
{
|
|
5389
5397
|
"name": "virtual",
|
|
5390
|
-
"description": "Default: true\n\n(ZH)
|
|
5398
|
+
"description": "Default: true\n\n(ZH) height 为正数时是否启用节点的虚拟渲染\n\n(EN) Whether to virtualize node rendering when height is positive"
|
|
5391
5399
|
}
|
|
5392
5400
|
]
|
|
5393
5401
|
},
|
|
@@ -5469,7 +5477,7 @@
|
|
|
5469
5477
|
},
|
|
5470
5478
|
{
|
|
5471
5479
|
"name": "height",
|
|
5472
|
-
"description": "Default: -\n\n(ZH)
|
|
5480
|
+
"description": "Default: -\n\n(ZH) height 为正数时,无论 virtual 如何设置,均限制树的纵向滚动区域的最大高度。省略 height 或将其设为 0 时,树的高度随内容增长。\n\n(EN) A positive value sets the maximum height of the Tree's vertical scroll area with either virtual setting. The Tree grows with its content when height is omitted or 0."
|
|
5473
5481
|
},
|
|
5474
5482
|
{
|
|
5475
5483
|
"name": "icon",
|
|
@@ -5529,7 +5537,7 @@
|
|
|
5529
5537
|
},
|
|
5530
5538
|
{
|
|
5531
5539
|
"name": "virtual",
|
|
5532
|
-
"description": "Default: true\n\n(ZH)
|
|
5540
|
+
"description": "Default: true\n\n(ZH) height 为正数时是否启用节点的虚拟渲染\n\n(EN) Whether to virtualize node rendering when height is positive"
|
|
5533
5541
|
}
|
|
5534
5542
|
]
|
|
5535
5543
|
},
|
package/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "antdv-next",
|
|
4
|
-
"version": "1.8.
|
|
4
|
+
"version": "1.8.4",
|
|
5
5
|
"js-types-syntax": "typescript",
|
|
6
6
|
"description-markup": "markdown",
|
|
7
7
|
"framework": "vue",
|
|
@@ -98,6 +98,7 @@
|
|
|
98
98
|
{
|
|
99
99
|
"name": "color",
|
|
100
100
|
"description": "(ZH) 设置按钮的颜色\n\n(EN) Set button color",
|
|
101
|
+
"default": "primary when variant=\"solid\"",
|
|
101
102
|
"value": {
|
|
102
103
|
"kind": "expression",
|
|
103
104
|
"type": "default | primary | danger | PresetColors"
|
|
@@ -147,6 +148,14 @@
|
|
|
147
148
|
"type": "submit | reset | button"
|
|
148
149
|
}
|
|
149
150
|
},
|
|
151
|
+
{
|
|
152
|
+
"name": "icon",
|
|
153
|
+
"description": "(ZH) 设置按钮的图标组件\n\n(EN) Set the icon component of button",
|
|
154
|
+
"value": {
|
|
155
|
+
"kind": "expression",
|
|
156
|
+
"type": "VueNode"
|
|
157
|
+
}
|
|
158
|
+
},
|
|
150
159
|
{
|
|
151
160
|
"name": "icon-placement",
|
|
152
161
|
"description": "(ZH) 设置按钮图标组件的位置\n\n(EN) Set the icon position of button",
|
|
@@ -2017,7 +2026,7 @@
|
|
|
2017
2026
|
"default": "80",
|
|
2018
2027
|
"value": {
|
|
2019
2028
|
"kind": "expression",
|
|
2020
|
-
"type": "number"
|
|
2029
|
+
"type": "number | string"
|
|
2021
2030
|
}
|
|
2022
2031
|
},
|
|
2023
2032
|
{
|
|
@@ -6680,6 +6689,10 @@
|
|
|
6680
6689
|
]
|
|
6681
6690
|
},
|
|
6682
6691
|
"slots": [
|
|
6692
|
+
{
|
|
6693
|
+
"name": "default",
|
|
6694
|
+
"description": "(ZH) 头像显示的内容\n\n(EN) Content of the avatar"
|
|
6695
|
+
},
|
|
6683
6696
|
{
|
|
6684
6697
|
"name": "icon",
|
|
6685
6698
|
"description": "(ZH) 设置头像的自定义图标\n\n(EN) Custom icon type for an icon avatar"
|
|
@@ -6699,20 +6712,12 @@
|
|
|
6699
6712
|
"symbol": "AvatarGroup"
|
|
6700
6713
|
},
|
|
6701
6714
|
"attributes": [
|
|
6702
|
-
{
|
|
6703
|
-
"name": "prefix-cls",
|
|
6704
|
-
"description": "(ZH) -\n\n(EN) -",
|
|
6705
|
-
"value": {
|
|
6706
|
-
"kind": "expression",
|
|
6707
|
-
"type": "string"
|
|
6708
|
-
}
|
|
6709
|
-
},
|
|
6710
6715
|
{
|
|
6711
6716
|
"name": "max",
|
|
6712
|
-
"description": "(ZH)
|
|
6717
|
+
"description": "(ZH) 设置最多显示相关配置\n\n(EN) Set maximum display related configurations",
|
|
6713
6718
|
"value": {
|
|
6714
6719
|
"kind": "expression",
|
|
6715
|
-
"type": "{ count?: number style?: CSSProperties popover?: PopoverProps }"
|
|
6720
|
+
"type": "{ count?: number; style?: CSSProperties; popover?: PopoverProps }"
|
|
6716
6721
|
}
|
|
6717
6722
|
},
|
|
6718
6723
|
{
|
|
@@ -6721,16 +6726,16 @@
|
|
|
6721
6726
|
"default": "medium",
|
|
6722
6727
|
"value": {
|
|
6723
6728
|
"kind": "expression",
|
|
6724
|
-
"type": "
|
|
6729
|
+
"type": "number | large | medium | small | { xs: number, sm: number, ... }"
|
|
6725
6730
|
}
|
|
6726
6731
|
},
|
|
6727
6732
|
{
|
|
6728
6733
|
"name": "shape",
|
|
6729
|
-
"description": "(ZH)
|
|
6734
|
+
"description": "(ZH) 设置头像的形状\n\n(EN) The shape of the avatar",
|
|
6730
6735
|
"default": "circle",
|
|
6731
6736
|
"value": {
|
|
6732
6737
|
"kind": "expression",
|
|
6733
|
-
"type": "
|
|
6738
|
+
"type": "circle | square"
|
|
6734
6739
|
}
|
|
6735
6740
|
}
|
|
6736
6741
|
],
|
|
@@ -8289,6 +8294,15 @@
|
|
|
8289
8294
|
"type": "boolean"
|
|
8290
8295
|
}
|
|
8291
8296
|
},
|
|
8297
|
+
{
|
|
8298
|
+
"name": "start-point",
|
|
8299
|
+
"description": "(ZH) 单滑块模式下高亮轨道的起始值\n\n(EN) The start value of the highlighted track in single mode",
|
|
8300
|
+
"default": "min",
|
|
8301
|
+
"value": {
|
|
8302
|
+
"kind": "expression",
|
|
8303
|
+
"type": "number"
|
|
8304
|
+
}
|
|
8305
|
+
},
|
|
8292
8306
|
{
|
|
8293
8307
|
"name": "step",
|
|
8294
8308
|
"description": "(ZH) 步长,取值必须大于 0,并且可被 (max - min) 整除。当 marks 不为空对象时,可以设置 step 为 null,此时 Slider 的可选值仅有 marks、min 和 max\n\n(EN) The granularity the slider can step through values. Must be greater than 0, and be divisible by (max - min). When step is null and marks exist, valid points will only be marks, min and max",
|
|
@@ -9288,13 +9302,22 @@
|
|
|
9288
9302
|
"symbol": "InputGroup"
|
|
9289
9303
|
},
|
|
9290
9304
|
"attributes": [
|
|
9305
|
+
{
|
|
9306
|
+
"name": "compact",
|
|
9307
|
+
"description": "Whether to use compact style.",
|
|
9308
|
+
"default": "false",
|
|
9309
|
+
"value": {
|
|
9310
|
+
"kind": "expression",
|
|
9311
|
+
"type": "boolean"
|
|
9312
|
+
}
|
|
9313
|
+
},
|
|
9291
9314
|
{
|
|
9292
9315
|
"name": "size",
|
|
9293
|
-
"description": "Size of the grouped controls.",
|
|
9294
|
-
"default": "
|
|
9316
|
+
"description": "Size of the group. Applied by style only, not forwarded to the grouped controls.",
|
|
9317
|
+
"default": "default",
|
|
9295
9318
|
"value": {
|
|
9296
9319
|
"kind": "expression",
|
|
9297
|
-
"type": "`large` | `
|
|
9320
|
+
"type": "`large` | `default` | `small`"
|
|
9298
9321
|
}
|
|
9299
9322
|
}
|
|
9300
9323
|
],
|
|
@@ -11716,6 +11739,16 @@
|
|
|
11716
11739
|
}
|
|
11717
11740
|
]
|
|
11718
11741
|
},
|
|
11742
|
+
{
|
|
11743
|
+
"name": "draggerDoubleClick",
|
|
11744
|
+
"description": "(ZH) 双击拖拽条回调\n\n(EN) Callback triggered when the dragger is double-clicked",
|
|
11745
|
+
"arguments": [
|
|
11746
|
+
{
|
|
11747
|
+
"name": "payload",
|
|
11748
|
+
"type": "(index: number) => void"
|
|
11749
|
+
}
|
|
11750
|
+
]
|
|
11751
|
+
},
|
|
11719
11752
|
{
|
|
11720
11753
|
"name": "resize",
|
|
11721
11754
|
"description": "(ZH) 面板大小变化回调\n\n(EN) Panel size change callback",
|
|
@@ -11918,7 +11951,7 @@
|
|
|
11918
11951
|
"default": "medium",
|
|
11919
11952
|
"value": {
|
|
11920
11953
|
"kind": "expression",
|
|
11921
|
-
"type": "
|
|
11954
|
+
"type": "medium | small"
|
|
11922
11955
|
}
|
|
11923
11956
|
},
|
|
11924
11957
|
{
|
|
@@ -11926,7 +11959,7 @@
|
|
|
11926
11959
|
"description": "(ZH) 卡片类型,可设置为 inner 或 不设置\n\n(EN) Card style type, can be set to inner or not set",
|
|
11927
11960
|
"value": {
|
|
11928
11961
|
"kind": "expression",
|
|
11929
|
-
"type": "
|
|
11962
|
+
"type": "string"
|
|
11930
11963
|
}
|
|
11931
11964
|
},
|
|
11932
11965
|
{
|
|
@@ -12087,7 +12120,7 @@
|
|
|
12087
12120
|
{
|
|
12088
12121
|
"name": "hoverable",
|
|
12089
12122
|
"description": "(ZH) 鼠标移过时可浮起\n\n(EN) Lift up when hovering card",
|
|
12090
|
-
"default": "
|
|
12123
|
+
"default": "true",
|
|
12091
12124
|
"value": {
|
|
12092
12125
|
"kind": "expression",
|
|
12093
12126
|
"type": "boolean"
|
|
@@ -13860,7 +13893,7 @@
|
|
|
13860
13893
|
},
|
|
13861
13894
|
{
|
|
13862
13895
|
"name": "height",
|
|
13863
|
-
"description": "(ZH)
|
|
13896
|
+
"description": "(ZH) height 为正数时,无论 virtual 如何设置,均限制树的纵向滚动区域的最大高度。省略 height 或将其设为 0 时,树的高度随内容增长。\n\n(EN) A positive value sets the maximum height of the Tree's vertical scroll area with either virtual setting. The Tree grows with its content when height is omitted or 0.",
|
|
13864
13897
|
"value": {
|
|
13865
13898
|
"kind": "expression",
|
|
13866
13899
|
"type": "number"
|
|
@@ -13986,7 +14019,7 @@
|
|
|
13986
14019
|
},
|
|
13987
14020
|
{
|
|
13988
14021
|
"name": "virtual",
|
|
13989
|
-
"description": "(ZH)
|
|
14022
|
+
"description": "(ZH) height 为正数时是否启用节点的虚拟渲染\n\n(EN) Whether to virtualize node rendering when height is positive",
|
|
13990
14023
|
"default": "true",
|
|
13991
14024
|
"value": {
|
|
13992
14025
|
"kind": "expression",
|
|
@@ -14301,7 +14334,7 @@
|
|
|
14301
14334
|
},
|
|
14302
14335
|
{
|
|
14303
14336
|
"name": "height",
|
|
14304
|
-
"description": "(ZH)
|
|
14337
|
+
"description": "(ZH) height 为正数时,无论 virtual 如何设置,均限制树的纵向滚动区域的最大高度。省略 height 或将其设为 0 时,树的高度随内容增长。\n\n(EN) A positive value sets the maximum height of the Tree's vertical scroll area with either virtual setting. The Tree grows with its content when height is omitted or 0.",
|
|
14305
14338
|
"value": {
|
|
14306
14339
|
"kind": "expression",
|
|
14307
14340
|
"type": "number"
|
|
@@ -14427,7 +14460,7 @@
|
|
|
14427
14460
|
},
|
|
14428
14461
|
{
|
|
14429
14462
|
"name": "virtual",
|
|
14430
|
-
"description": "(ZH)
|
|
14463
|
+
"description": "(ZH) height 为正数时是否启用节点的虚拟渲染\n\n(EN) Whether to virtualize node rendering when height is positive",
|
|
14431
14464
|
"default": "true",
|
|
14432
14465
|
"value": {
|
|
14433
14466
|
"kind": "expression",
|
|
@@ -17906,7 +17939,7 @@
|
|
|
17906
17939
|
"description": "(ZH) 自定义单元格的内容\n\n(EN) Customize cell content",
|
|
17907
17940
|
"value": {
|
|
17908
17941
|
"kind": "expression",
|
|
17909
|
-
"type": "(date: DateType, info:
|
|
17942
|
+
"type": "(date: DateType, info: { prefixCls: string, originNode: VueNode, today: DateType, range?: 'start' | 'end', type: 'time' | 'date' | 'week' | 'month' | 'quarter' | 'year' | 'decade', locale?: Locale, subType?: 'hour' | 'minute' | 'second' | 'meridiem' }) => VueNode"
|
|
17910
17943
|
}
|
|
17911
17944
|
},
|
|
17912
17945
|
{
|
|
@@ -17914,7 +17947,7 @@
|
|
|
17914
17947
|
"description": "(ZH) 自定义单元格的内容\n\n(EN) Customize cell content",
|
|
17915
17948
|
"value": {
|
|
17916
17949
|
"kind": "expression",
|
|
17917
|
-
"type": "(date: DateType, info:
|
|
17950
|
+
"type": "(date: DateType, info: { prefixCls: string, originNode: VueNode, today: DateType, range?: 'start' | 'end', type: 'time' | 'date' | 'week' | 'month' | 'quarter' | 'year' | 'decade', locale?: Locale, subType?: 'hour' | 'minute' | 'second' | 'meridiem' }) => VueNode"
|
|
17918
17951
|
}
|
|
17919
17952
|
},
|
|
17920
17953
|
{
|
|
@@ -17922,7 +17955,7 @@
|
|
|
17922
17955
|
"description": "(ZH) 自定义头部内容\n\n(EN) Render custom header in panel",
|
|
17923
17956
|
"value": {
|
|
17924
17957
|
"kind": "expression",
|
|
17925
|
-
"type": "
|
|
17958
|
+
"type": "(config: { value: DateType, type: 'year' | 'month', onChange: (date: DateType) => void, onTypeChange: (type: 'year' | 'month') => void }) => VueNode"
|
|
17926
17959
|
}
|
|
17927
17960
|
},
|
|
17928
17961
|
{
|
|
@@ -17947,7 +17980,7 @@
|
|
|
17947
17980
|
"default": "month",
|
|
17948
17981
|
"value": {
|
|
17949
17982
|
"kind": "expression",
|
|
17950
|
-
"type": "
|
|
17983
|
+
"type": "'year' | 'month'"
|
|
17951
17984
|
}
|
|
17952
17985
|
},
|
|
17953
17986
|
{
|
|
@@ -17987,7 +18020,7 @@
|
|
|
17987
18020
|
"arguments": [
|
|
17988
18021
|
{
|
|
17989
18022
|
"name": "payload",
|
|
17990
|
-
"type": "(date: DateType, mode:
|
|
18023
|
+
"type": "(date: DateType, mode: 'year' | 'month') => void"
|
|
17991
18024
|
}
|
|
17992
18025
|
]
|
|
17993
18026
|
},
|
|
@@ -17997,7 +18030,7 @@
|
|
|
17997
18030
|
"arguments": [
|
|
17998
18031
|
{
|
|
17999
18032
|
"name": "payload",
|
|
18000
|
-
"type": "(date: DateType, selectInfo:
|
|
18033
|
+
"type": "(date: DateType, selectInfo: { source: 'year' | 'month' | 'date' | 'customize' }) => void"
|
|
18001
18034
|
}
|
|
18002
18035
|
]
|
|
18003
18036
|
}
|