antdv-next 1.7.1 → 1.8.1
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/useMergeSemantic.js +2 -2
- package/dist/_util/vueNode.d.ts +2 -6
- package/dist/alert/Alert.js +10 -5
- package/dist/antd-with-locales.esm.js +14360 -11910
- package/dist/antd-with-locales.js +82 -79
- package/dist/antd.css +1 -1
- package/dist/antd.esm.js +13203 -10918
- package/dist/antd.js +82 -79
- package/dist/auto-complete/index.d.ts +2 -0
- package/dist/auto-complete/index.js +28 -23
- package/dist/button/Button.js +31 -18
- package/dist/calendar/Header.js +4 -4
- package/dist/card/Card.js +1 -1
- package/dist/carousel/index.js +3 -3
- package/dist/cascader/index.d.ts +7 -1
- package/dist/cascader/index.js +42 -34
- package/dist/checkbox/Checkbox.js +5 -2
- package/dist/checkbox/Group.js +2 -2
- package/dist/collapse/Collapse.js +2 -2
- package/dist/color-picker/ColorPicker.js +15 -2
- package/dist/color-picker/components/ColorSlider.js +2 -2
- package/dist/color-picker/interface.d.ts +3 -0
- package/dist/components.d.ts +1 -1
- package/dist/config-provider/context.d.ts +13 -9
- package/dist/config-provider/define.d.ts +2 -1
- package/dist/config-provider/index.js +9 -0
- package/dist/date-picker/generatePicker/generateRangePicker.d.ts +2 -0
- package/dist/date-picker/generatePicker/generateRangePicker.js +19 -11
- package/dist/date-picker/generatePicker/generateSinglePicker.d.ts +2 -0
- package/dist/date-picker/generatePicker/generateSinglePicker.js +14 -10
- package/dist/date-picker/generatePicker/useComponents.js +2 -2
- package/dist/date-picker/generatePicker/useSuffix.d.ts +12 -0
- package/dist/date-picker/generatePicker/useSuffix.js +11 -0
- package/dist/date-picker/style/panel.js +11 -8
- package/dist/date-picker/util.d.ts +2 -6
- package/dist/date-picker/util.js +4 -3
- package/dist/descriptions/hooks/useItems.d.ts +6 -6
- package/dist/descriptions/index.js +2 -2
- package/dist/divider/index.js +14 -4
- package/dist/drawer/index.js +2 -2
- package/dist/dropdown/dropdown.js +6 -6
- package/dist/flex/index.js +2 -2
- package/dist/float-button/FloatButton.js +2 -2
- package/dist/float-button/FloatButtonGroup.js +2 -2
- package/dist/float-button/PurePanel.js +5 -5
- package/dist/form/Form.js +40 -10
- package/dist/form/FormItem/ItemHolder.d.ts +3 -18
- package/dist/form/FormItem/StatusProvider.js +2 -1
- package/dist/form/FormItem/index.d.ts +1 -0
- package/dist/form/FormItem/index.js +13 -2
- package/dist/form/FormItemInput.js +3 -4
- package/dist/form/FormItemLabel.js +7 -3
- package/dist/form/context.d.ts +3 -3
- package/dist/form/hooks/useVariant.d.ts +14 -4
- package/dist/form/hooks/useVariant.js +24 -13
- package/dist/form/interface.d.ts +4 -1
- package/dist/form/style/index.js +1 -1
- package/dist/image/PreviewGroup.js +2 -2
- package/dist/image/hooks/usePreviewConfig.d.ts +7 -7
- package/dist/image/index.js +3 -3
- package/dist/index.d.ts +1 -1
- package/dist/input/Input.js +4 -4
- package/dist/input/OTP/OTPInput.js +31 -30
- package/dist/input/OTP/index.js +10 -2
- package/dist/input/Password.js +7 -3
- package/dist/input/Search.js +5 -5
- package/dist/input/TextArea.js +4 -4
- package/dist/input-number/index.js +3 -3
- package/dist/layout/Sider.js +2 -2
- package/dist/locale/ar_EG.js +3 -1
- package/dist/locale/az_AZ.js +3 -1
- package/dist/locale/bg_BG.js +3 -1
- package/dist/locale/bn_BD.js +3 -1
- package/dist/locale/by_BY.js +3 -1
- package/dist/locale/ca_ES.js +3 -1
- package/dist/locale/cs_CZ.js +13 -9
- package/dist/locale/da_DK.js +3 -1
- package/dist/locale/de_DE.js +6 -2
- package/dist/locale/el_GR.js +3 -1
- package/dist/locale/en_GB.js +3 -1
- package/dist/locale/en_US.js +5 -2
- package/dist/locale/es_ES.js +3 -1
- package/dist/locale/et_EE.js +3 -1
- package/dist/locale/eu_ES.js +3 -1
- package/dist/locale/fa_IR.js +3 -1
- package/dist/locale/fi_FI.js +3 -1
- package/dist/locale/fr_BE.js +3 -1
- package/dist/locale/fr_CA.js +3 -1
- package/dist/locale/fr_FR.js +6 -2
- package/dist/locale/ga_IE.js +3 -1
- package/dist/locale/gl_ES.js +3 -1
- package/dist/locale/he_IL.js +3 -1
- package/dist/locale/hi_IN.js +3 -1
- package/dist/locale/hr_HR.js +3 -1
- package/dist/locale/hu_HU.js +3 -1
- package/dist/locale/hy_AM.js +5 -13
- package/dist/locale/id_ID.js +3 -1
- package/dist/locale/index.d.ts +6 -0
- package/dist/locale/is_IS.js +3 -1
- package/dist/locale/it_IT.js +6 -2
- package/dist/locale/ja_JP.js +3 -1
- package/dist/locale/ka_GE.js +3 -1
- package/dist/locale/kk_KZ.js +3 -1
- package/dist/locale/km_KH.js +3 -1
- package/dist/locale/kmr_IQ.js +3 -1
- package/dist/locale/kn_IN.js +3 -1
- package/dist/locale/ko_KR.js +3 -1
- package/dist/locale/ku_IQ.js +3 -1
- package/dist/locale/lt_LT.js +3 -1
- package/dist/locale/lv_LV.js +3 -1
- package/dist/locale/mk_MK.js +3 -1
- package/dist/locale/ml_IN.js +3 -1
- package/dist/locale/mn_MN.js +3 -1
- package/dist/locale/mr_IN.js +3 -1
- package/dist/locale/ms_MY.js +3 -1
- package/dist/locale/my_MM.js +3 -1
- package/dist/locale/nb_NO.js +3 -1
- package/dist/locale/ne_NP.js +4 -2
- package/dist/locale/nl_BE.js +3 -1
- package/dist/locale/nl_NL.js +3 -1
- package/dist/locale/pl_PL.js +3 -1
- package/dist/locale/pt_BR.js +3 -1
- package/dist/locale/pt_PT.js +3 -1
- package/dist/locale/ro_RO.js +3 -1
- package/dist/locale/ru_RU.js +3 -1
- package/dist/locale/si_LK.js +3 -1
- package/dist/locale/sk_SK.js +3 -1
- package/dist/locale/sl_SI.js +3 -1
- package/dist/locale/sq_AL.js +5 -13
- package/dist/locale/sr_RS.js +3 -1
- package/dist/locale/sv_SE.js +3 -1
- package/dist/locale/ta_IN.js +3 -1
- package/dist/locale/th_TH.js +3 -1
- package/dist/locale/tk_TK.js +3 -1
- package/dist/locale/tr_TR.js +3 -1
- package/dist/locale/uk_UA.js +3 -1
- package/dist/locale/ur_PK.js +3 -1
- package/dist/locale/uz_UZ.js +3 -1
- package/dist/locale/vi_VN.js +3 -1
- package/dist/locale/zh_CN.js +5 -2
- package/dist/locale/zh_HK.js +3 -1
- package/dist/locale/zh_TW.js +3 -1
- package/dist/mentions/index.js +4 -4
- package/dist/menu/MenuItem.js +7 -7
- package/dist/menu/SubMenu.js +5 -4
- package/dist/menu/menu.js +2 -2
- package/dist/message/PurePanel.js +2 -2
- package/dist/modal/Modal.js +5 -5
- package/dist/notification/PurePanel.js +2 -2
- package/dist/notification/style/placement.js +3 -6
- package/dist/package.js +1 -1
- package/dist/pagination/Pagination.js +6 -5
- package/dist/pagination/index.d.ts +2 -1
- package/dist/pagination/interface.d.ts +2 -2
- package/dist/pagination/style/index.js +3 -3
- package/dist/popconfirm/index.js +2 -2
- package/dist/popover/PurePanel.js +2 -2
- package/dist/popover/style/index.js +1 -0
- package/dist/progress/Circle.js +3 -3
- package/dist/qrcode/index.js +2 -2
- package/dist/qrcode/style/index.js +0 -4
- package/dist/radio/radio.js +2 -2
- package/dist/rate/index.js +2 -2
- package/dist/select/index.d.ts +11 -3
- package/dist/select/index.js +55 -38
- package/dist/select/useIcons.d.ts +23 -12
- package/dist/select/useIcons.js +34 -13
- package/dist/select/useShowArrow.d.ts +2 -3
- package/dist/select/useShowArrow.js +3 -5
- package/dist/skeleton/Paragraph.js +2 -2
- package/dist/skeleton/Skeleton.js +2 -2
- package/dist/skeleton/Title.js +2 -2
- package/dist/slider/index.js +2 -2
- package/dist/space/Compact.d.ts +1 -1
- package/dist/space/index.d.ts +1 -1
- package/dist/space/style/index.js +8 -2
- package/dist/splitter/SplitBar.js +2 -1
- package/dist/splitter/Splitter.js +2 -2
- package/dist/statistic/Number.js +7 -1
- package/dist/steps/index.js +9 -3
- package/dist/switch/index.js +2 -2
- package/dist/table/InternalTable.js +2 -2
- package/dist/table/hooks/useFilter/index.js +5 -2
- package/dist/table/hooks/usePagination.d.ts +2 -1
- package/dist/table/hooks/usePagination.js +6 -3
- package/dist/table/style/expand.js +4 -1
- package/dist/table/util.d.ts +1 -1
- package/dist/tabs/index.js +19 -11
- package/dist/tag/hooks/useColor.d.ts +1 -1
- package/dist/tag/index.d.ts +1 -1
- package/dist/tag/index.js +13 -5
- package/dist/theme/getDesignToken.js +2 -1
- package/dist/time-picker/index.d.ts +6 -0
- package/dist/time-picker/index.js +11 -1
- package/dist/timeline/Timeline.js +16 -10
- package/dist/tooltip/PurePanel.js +2 -2
- package/dist/tooltip/index.js +3 -6
- package/dist/tooltip/style/index.js +1 -0
- package/dist/tour/index.js +2 -3
- package/dist/tour/panelRender.js +4 -4
- package/dist/transfer/Section.js +2 -2
- package/dist/tree/DirectoryTree.js +2 -2
- package/dist/tree/Tree.js +2 -2
- package/dist/tree/style/index.js +6 -1
- package/dist/tree/utils/iconUtil.js +1 -1
- package/dist/tree-select/index.d.ts +32 -2
- package/dist/tree-select/index.js +75 -75
- package/dist/upload/Upload.js +2 -2
- package/dist/version/token.json +1 -1
- package/dist/watermark/useWatermark.d.ts +1 -7
- package/dist/watermark/useWatermark.js +1 -7
- package/package.json +6 -6
- package/web-tags.json +87 -31
- package/web-types.json +246 -161
- package/dist/date-picker/generatePicker/SuffixIcon.d.ts +0 -12
- package/dist/date-picker/generatePicker/SuffixIcon.js +0 -51
- package/dist/form/style/fallbackCmp.d.ts +0 -14
- package/dist/form/style/fallbackCmp.js +0 -13
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.
|
|
4
|
+
"version": "1.8.1",
|
|
5
5
|
"js-types-syntax": "typescript",
|
|
6
6
|
"description-markup": "markdown",
|
|
7
7
|
"framework": "vue",
|
|
@@ -605,7 +605,7 @@
|
|
|
605
605
|
"description": "(ZH) 对齐方式\n\n(EN) Align items",
|
|
606
606
|
"value": {
|
|
607
607
|
"kind": "expression",
|
|
608
|
-
"type": "start | end | center | baseline"
|
|
608
|
+
"type": "start | end | center | baseline | stretch"
|
|
609
609
|
}
|
|
610
610
|
},
|
|
611
611
|
{
|
|
@@ -1575,16 +1575,16 @@
|
|
|
1575
1575
|
"attributes": [
|
|
1576
1576
|
{
|
|
1577
1577
|
"name": "closable",
|
|
1578
|
-
"description": "(ZH)
|
|
1578
|
+
"description": "(ZH) 是否显示关闭按钮,也可通过对象配置关闭图标和 aria-* 属性\n\n(EN) Whether to show the close button. An object can configure the close icon and aria-* attributes",
|
|
1579
1579
|
"default": "false",
|
|
1580
1580
|
"value": {
|
|
1581
1581
|
"kind": "expression",
|
|
1582
|
-
"type": "boolean"
|
|
1582
|
+
"type": "boolean | ({ closeIcon?: VueNode } & AriaAttributes)"
|
|
1583
1583
|
}
|
|
1584
1584
|
},
|
|
1585
1585
|
{
|
|
1586
1586
|
"name": "close-icon",
|
|
1587
|
-
"description": "(ZH)
|
|
1587
|
+
"description": "(ZH) 自定义关闭图标,是 closable 的简便配置方式。未设置 closable 时,设置为 true 显示默认关闭按钮,设置为 null 或 false 隐藏关闭按钮\n\n(EN) Custom close icon, as a shorthand for closable. When closable is not set, true shows the default close button, while null or false hides it",
|
|
1588
1588
|
"value": {
|
|
1589
1589
|
"kind": "expression",
|
|
1590
1590
|
"type": "VueNode"
|
|
@@ -2167,7 +2167,15 @@
|
|
|
2167
2167
|
"description": "(ZH) 每一项的唯一键,字段名或取值函数\n\n(EN) Unique key of an item, a field name or a getter",
|
|
2168
2168
|
"value": {
|
|
2169
2169
|
"kind": "expression",
|
|
2170
|
-
"type": "keyof T | (item: T) => Key"
|
|
2170
|
+
"type": "keyof T | (item: T, index: number) => Key"
|
|
2171
|
+
}
|
|
2172
|
+
},
|
|
2173
|
+
{
|
|
2174
|
+
"name": "scroll-width",
|
|
2175
|
+
"description": "(ZH) 内容的横向滚动宽度,超出容器宽度时可横向滚动,仅在 virtual 下生效\n\n(EN) Horizontal scroll width of the content; scrolls horizontally when it exceeds the container, only works with virtual",
|
|
2176
|
+
"value": {
|
|
2177
|
+
"kind": "expression",
|
|
2178
|
+
"type": "number"
|
|
2171
2179
|
}
|
|
2172
2180
|
},
|
|
2173
2181
|
{
|
|
@@ -3385,6 +3393,15 @@
|
|
|
3385
3393
|
"type": "Record<SemanticDOM, CSSProperties>"
|
|
3386
3394
|
}
|
|
3387
3395
|
},
|
|
3396
|
+
{
|
|
3397
|
+
"name": "variant",
|
|
3398
|
+
"description": "(ZH) 设置样式变体\n\n(EN) Config style variant",
|
|
3399
|
+
"default": "outlined",
|
|
3400
|
+
"value": {
|
|
3401
|
+
"kind": "expression",
|
|
3402
|
+
"type": "filled | outlined"
|
|
3403
|
+
}
|
|
3404
|
+
},
|
|
3388
3405
|
{
|
|
3389
3406
|
"name": "dot-render",
|
|
3390
3407
|
"description": "(ZH) 自定义时间轴点渲染函数\n\n(EN) Custom rendering function for timeline dot",
|
|
@@ -6072,7 +6089,7 @@
|
|
|
6072
6089
|
"events": [
|
|
6073
6090
|
{
|
|
6074
6091
|
"name": "openChange",
|
|
6075
|
-
"description": "(ZH)
|
|
6092
|
+
"description": "(ZH) 菜单显示状态改变时调用\n\n(EN) Called when the open state is changed",
|
|
6076
6093
|
"arguments": [
|
|
6077
6094
|
{
|
|
6078
6095
|
"name": "payload",
|
|
@@ -6173,6 +6190,15 @@
|
|
|
6173
6190
|
"type": "{ offset?: number | [number, number]; radius?: number }"
|
|
6174
6191
|
}
|
|
6175
6192
|
},
|
|
6193
|
+
{
|
|
6194
|
+
"name": "keyboard",
|
|
6195
|
+
"description": "(ZH) 是否启用键盘快捷行为\n\n(EN) Whether to enable keyboard shortcuts",
|
|
6196
|
+
"default": "true",
|
|
6197
|
+
"value": {
|
|
6198
|
+
"kind": "expression",
|
|
6199
|
+
"type": "boolean"
|
|
6200
|
+
}
|
|
6201
|
+
},
|
|
6176
6202
|
{
|
|
6177
6203
|
"name": "placement",
|
|
6178
6204
|
"description": "(ZH) 引导卡片相对于目标元素的位置\n\n(EN) Position of the guide card relative to the target element",
|
|
@@ -6757,11 +6783,11 @@
|
|
|
6757
6783
|
},
|
|
6758
6784
|
{
|
|
6759
6785
|
"name": "label-align",
|
|
6760
|
-
"description": "(ZH)
|
|
6761
|
-
"default": "
|
|
6786
|
+
"description": "(ZH) 标签文本对齐方式\n\n(EN) Label text alignment",
|
|
6787
|
+
"default": "end",
|
|
6762
6788
|
"value": {
|
|
6763
6789
|
"kind": "expression",
|
|
6764
|
-
"type": "
|
|
6790
|
+
"type": "start | end"
|
|
6765
6791
|
}
|
|
6766
6792
|
},
|
|
6767
6793
|
{
|
|
@@ -7021,11 +7047,11 @@
|
|
|
7021
7047
|
},
|
|
7022
7048
|
{
|
|
7023
7049
|
"name": "label-align",
|
|
7024
|
-
"description": "(ZH)
|
|
7025
|
-
"default": "
|
|
7050
|
+
"description": "(ZH) 标签文本对齐方式\n\n(EN) Label text alignment",
|
|
7051
|
+
"default": "end",
|
|
7026
7052
|
"value": {
|
|
7027
7053
|
"kind": "expression",
|
|
7028
|
-
"type": "
|
|
7054
|
+
"type": "start | end"
|
|
7029
7055
|
}
|
|
7030
7056
|
},
|
|
7031
7057
|
{
|
|
@@ -7111,6 +7137,14 @@
|
|
|
7111
7137
|
"type": "string | string[] | false"
|
|
7112
7138
|
}
|
|
7113
7139
|
},
|
|
7140
|
+
{
|
|
7141
|
+
"name": "preserve",
|
|
7142
|
+
"description": "(ZH) 当字段被删除时保留字段值。preserve={false} 时会删除 model 中的值\n\n(EN) Keep field value even when field removed. preserve={false} removes values from model",
|
|
7143
|
+
"value": {
|
|
7144
|
+
"kind": "expression",
|
|
7145
|
+
"type": "boolean"
|
|
7146
|
+
}
|
|
7147
|
+
},
|
|
7114
7148
|
{
|
|
7115
7149
|
"name": "validate-debounce",
|
|
7116
7150
|
"description": "(ZH) 延迟校验时间(毫秒)\n\n(EN) Delay milliseconds to start validation",
|
|
@@ -9439,16 +9473,6 @@
|
|
|
9439
9473
|
}
|
|
9440
9474
|
]
|
|
9441
9475
|
},
|
|
9442
|
-
{
|
|
9443
|
-
"name": "update:value",
|
|
9444
|
-
"description": "(ZH) -\n\n(EN) -",
|
|
9445
|
-
"arguments": [
|
|
9446
|
-
{
|
|
9447
|
-
"name": "payload",
|
|
9448
|
-
"type": "(value: any) => void"
|
|
9449
|
-
}
|
|
9450
|
-
]
|
|
9451
|
-
},
|
|
9452
9476
|
{
|
|
9453
9477
|
"name": "input",
|
|
9454
9478
|
"description": "(ZH) -\n\n(EN) -",
|
|
@@ -10921,11 +10945,11 @@
|
|
|
10921
10945
|
"attributes": [
|
|
10922
10946
|
{
|
|
10923
10947
|
"name": "allow-clear",
|
|
10924
|
-
"description": "(ZH)
|
|
10948
|
+
"description": "(ZH) 是否显示清除按钮\n\n(EN) Whether to show a clear button",
|
|
10925
10949
|
"default": "false",
|
|
10926
10950
|
"value": {
|
|
10927
10951
|
"kind": "expression",
|
|
10928
|
-
"type": "boolean |
|
|
10952
|
+
"type": "boolean | AllowClearConfig"
|
|
10929
10953
|
}
|
|
10930
10954
|
},
|
|
10931
10955
|
{
|
|
@@ -10937,6 +10961,15 @@
|
|
|
10937
10961
|
"type": "boolean"
|
|
10938
10962
|
}
|
|
10939
10963
|
},
|
|
10964
|
+
{
|
|
10965
|
+
"name": "auto-complete",
|
|
10966
|
+
"description": "(ZH) 输入框的 HTML autocomplete 属性\n\n(EN) The HTML autocomplete attribute of the input",
|
|
10967
|
+
"default": "new-password",
|
|
10968
|
+
"value": {
|
|
10969
|
+
"kind": "expression",
|
|
10970
|
+
"type": "string"
|
|
10971
|
+
}
|
|
10972
|
+
},
|
|
10940
10973
|
{
|
|
10941
10974
|
"name": "classes",
|
|
10942
10975
|
"description": "(ZH) 用于自定义组件内部各语义化结构的 class,支持对象或函数\n\n(EN) Customize class for each semantic structure inside the component. Supports object or function",
|
|
@@ -11247,9 +11280,18 @@
|
|
|
11247
11280
|
"type": "Record<SemanticDOM, CSSProperties> | (info: { props }) => Record<SemanticDOM, CSSProperties>"
|
|
11248
11281
|
}
|
|
11249
11282
|
},
|
|
11283
|
+
{
|
|
11284
|
+
"name": "suffix",
|
|
11285
|
+
"description": "(ZH) 自定义的选择框后缀。以防止后缀被用于其他交互,替换的后缀默认不会响应展开、收缩事件,可以通过添加 pointer-events: none 样式透传\n\n(EN) The custom suffix. Custom suffixes will not respond to clicks to open, because the replaced suffix may be designed for other interactions. You can use pointer-events: none style to bypass",
|
|
11286
|
+
"default": "<DownOutlined />",
|
|
11287
|
+
"value": {
|
|
11288
|
+
"kind": "expression",
|
|
11289
|
+
"type": "VueNode | (info: { open: boolean, searchValue: string, focused: boolean, showSearch?: boolean, loading?: boolean }) => VueNode"
|
|
11290
|
+
}
|
|
11291
|
+
},
|
|
11250
11292
|
{
|
|
11251
11293
|
"name": "suffix-icon",
|
|
11252
|
-
"description": "(ZH)
|
|
11294
|
+
"description": "(ZH) 自定义的选择框后缀图标,**已废弃,请使用 suffix 替代**\n\n(EN) The custom suffix icon, **Deprecated. Use suffix instead**",
|
|
11253
11295
|
"default": "<DownOutlined />",
|
|
11254
11296
|
"value": {
|
|
11255
11297
|
"kind": "expression",
|
|
@@ -11464,9 +11506,13 @@
|
|
|
11464
11506
|
"name": "removeIcon",
|
|
11465
11507
|
"description": "(ZH) 自定义的多选框清除图标\n\n(EN) The custom remove icon"
|
|
11466
11508
|
},
|
|
11509
|
+
{
|
|
11510
|
+
"name": "suffix",
|
|
11511
|
+
"description": "(ZH) 自定义的选择框后缀。以防止后缀被用于其他交互,替换的后缀默认不会响应展开、收缩事件,可以通过添加 pointer-events: none 样式透传\n\n(EN) The custom suffix. Custom suffixes will not respond to clicks to open, because the replaced suffix may be designed for other interactions. You can use pointer-events: none style to bypass"
|
|
11512
|
+
},
|
|
11467
11513
|
{
|
|
11468
11514
|
"name": "suffixIcon",
|
|
11469
|
-
"description": "(ZH)
|
|
11515
|
+
"description": "(ZH) 自定义的选择框后缀图标,**已废弃,请使用 suffix 插槽替代**\n\n(EN) The custom suffix icon, **Deprecated. Use suffix slot instead**"
|
|
11470
11516
|
},
|
|
11471
11517
|
{
|
|
11472
11518
|
"name": "tagRender",
|
|
@@ -14528,11 +14574,11 @@
|
|
|
14528
14574
|
"attributes": [
|
|
14529
14575
|
{
|
|
14530
14576
|
"name": "allow-clear",
|
|
14531
|
-
"description": "(ZH)
|
|
14577
|
+
"description": "(ZH) 是否显示清除按钮\n\n(EN) Whether to show a clear button",
|
|
14532
14578
|
"default": "false",
|
|
14533
14579
|
"value": {
|
|
14534
14580
|
"kind": "expression",
|
|
14535
|
-
"type": "boolean |
|
|
14581
|
+
"type": "boolean | AllowClearConfig"
|
|
14536
14582
|
}
|
|
14537
14583
|
},
|
|
14538
14584
|
{
|
|
@@ -14771,9 +14817,18 @@
|
|
|
14771
14817
|
"type": "outlined | borderless | filled | underlined"
|
|
14772
14818
|
}
|
|
14773
14819
|
},
|
|
14820
|
+
{
|
|
14821
|
+
"name": "suffix",
|
|
14822
|
+
"description": "(ZH) 自定义的选择框后缀。以防止后缀被用于其他交互,替换的后缀默认不会响应展开、收缩事件,可以通过添加 pointer-events: none 样式透传\n\n(EN) The custom suffix. Custom suffixes will not respond to clicks to open, because the replaced suffix may be designed for other interactions. You can use pointer-events: none style to bypass",
|
|
14823
|
+
"default": "<DownOutlined />",
|
|
14824
|
+
"value": {
|
|
14825
|
+
"kind": "expression",
|
|
14826
|
+
"type": "VueNode | (info: { open: boolean, searchValue: string, focused: boolean, showSearch?: boolean, loading?: boolean }) => VueNode"
|
|
14827
|
+
}
|
|
14828
|
+
},
|
|
14774
14829
|
{
|
|
14775
14830
|
"name": "suffix-icon",
|
|
14776
|
-
"description": "(ZH)
|
|
14831
|
+
"description": "(ZH) 自定义的选择框后缀图标。已废弃,请使用 suffix 替代\n\n(EN) The custom suffix icon. Deprecated. Use suffix instead",
|
|
14777
14832
|
"default": "<DownOutlined />",
|
|
14778
14833
|
"value": {
|
|
14779
14834
|
"kind": "expression",
|
|
@@ -14937,7 +14992,7 @@
|
|
|
14937
14992
|
},
|
|
14938
14993
|
{
|
|
14939
14994
|
"name": "show-arrow",
|
|
14940
|
-
"description": "(ZH) 已废弃,设置
|
|
14995
|
+
"description": "(ZH) 已废弃,设置 suffix 为 null 可隐藏\n\n(EN) Deprecated. Set suffix to null to hide",
|
|
14941
14996
|
"value": {
|
|
14942
14997
|
"kind": "expression",
|
|
14943
14998
|
"type": "boolean"
|
|
@@ -14956,6 +15011,16 @@
|
|
|
14956
15011
|
}
|
|
14957
15012
|
]
|
|
14958
15013
|
},
|
|
15014
|
+
{
|
|
15015
|
+
"name": "clear",
|
|
15016
|
+
"description": "(ZH) 清除内容时回调\n\n(EN) Called when clear",
|
|
15017
|
+
"arguments": [
|
|
15018
|
+
{
|
|
15019
|
+
"name": "payload",
|
|
15020
|
+
"type": "() => void"
|
|
15021
|
+
}
|
|
15022
|
+
]
|
|
15023
|
+
},
|
|
14959
15024
|
{
|
|
14960
15025
|
"name": "openChange",
|
|
14961
15026
|
"description": "(ZH) 展开下拉菜单的回调\n\n(EN) Callback when dropdown open state changes",
|
|
@@ -14999,9 +15064,13 @@
|
|
|
14999
15064
|
]
|
|
15000
15065
|
},
|
|
15001
15066
|
"slots": [
|
|
15067
|
+
{
|
|
15068
|
+
"name": "suffix",
|
|
15069
|
+
"description": "(ZH) 自定义的选择框后缀\n\n(EN) The custom suffix"
|
|
15070
|
+
},
|
|
15002
15071
|
{
|
|
15003
15072
|
"name": "suffixIcon",
|
|
15004
|
-
"description": "(ZH)
|
|
15073
|
+
"description": "(ZH) 自定义的选择框后缀图标。已废弃,请使用 suffix 插槽替代\n\n(EN) The custom suffix icon. Deprecated. Use suffix slot instead"
|
|
15005
15074
|
},
|
|
15006
15075
|
{
|
|
15007
15076
|
"name": "tagRender",
|
|
@@ -15879,11 +15948,11 @@
|
|
|
15879
15948
|
"events": [
|
|
15880
15949
|
{
|
|
15881
15950
|
"name": "change",
|
|
15882
|
-
"description": "(ZH) 页码或 pageSize
|
|
15951
|
+
"description": "(ZH) 页码或 pageSize 改变的回调。当 pageSize 改变时,第三个参数 info.recommendPage 会提供基于新页面大小的推荐页码,帮助保留用户当前的数据位置\n\n(EN) Called when the page number or pageSize is changed. When pageSize changes, the third parameter info.recommendPage provides a recommended page number based on the new page size to help preserve the user's data position",
|
|
15883
15952
|
"arguments": [
|
|
15884
15953
|
{
|
|
15885
15954
|
"name": "payload",
|
|
15886
|
-
"type": "(page: number, pageSize: number) => void"
|
|
15955
|
+
"type": "(page: number, pageSize: number, info?: { recommendPage?: number }) => void"
|
|
15887
15956
|
}
|
|
15888
15957
|
]
|
|
15889
15958
|
},
|
|
@@ -16380,16 +16449,6 @@
|
|
|
16380
16449
|
"type": "(text: string, prefix: string) => void"
|
|
16381
16450
|
}
|
|
16382
16451
|
]
|
|
16383
|
-
},
|
|
16384
|
-
{
|
|
16385
|
-
"name": "update:value",
|
|
16386
|
-
"description": "(ZH) 值更新时触发,用于支持 v-model:value\n\n(EN) Triggered when value updates, used for v-model:value",
|
|
16387
|
-
"arguments": [
|
|
16388
|
-
{
|
|
16389
|
-
"name": "payload",
|
|
16390
|
-
"type": "(value: string) => void"
|
|
16391
|
-
}
|
|
16392
|
-
]
|
|
16393
16452
|
}
|
|
16394
16453
|
]
|
|
16395
16454
|
},
|
|
@@ -16629,11 +16688,11 @@
|
|
|
16629
16688
|
"attributes": [
|
|
16630
16689
|
{
|
|
16631
16690
|
"name": "allow-clear",
|
|
16632
|
-
"description": "(ZH)
|
|
16691
|
+
"description": "(ZH) 是否显示清除按钮\n\n(EN) Whether to show a clear button",
|
|
16633
16692
|
"default": "true",
|
|
16634
16693
|
"value": {
|
|
16635
16694
|
"kind": "expression",
|
|
16636
|
-
"type": "boolean |
|
|
16695
|
+
"type": "boolean | AllowClearConfig"
|
|
16637
16696
|
}
|
|
16638
16697
|
},
|
|
16639
16698
|
{
|
|
@@ -16805,6 +16864,23 @@
|
|
|
16805
16864
|
"type": "'error' | 'warning'"
|
|
16806
16865
|
}
|
|
16807
16866
|
},
|
|
16867
|
+
{
|
|
16868
|
+
"name": "suffix",
|
|
16869
|
+
"description": "(ZH) 自定义的选择框后缀。以防止后缀被用于其他交互,替换的后缀默认不会响应展开、收缩事件,可以通过添加 pointer-events: none 样式透传\n\n(EN) The custom suffix. Custom suffixes will not respond to clicks to open, because the replaced suffix may be designed for other interactions. You can use pointer-events: none style to bypass",
|
|
16870
|
+
"default": "<DownOutlined />",
|
|
16871
|
+
"value": {
|
|
16872
|
+
"kind": "expression",
|
|
16873
|
+
"type": "VueNode | (info: { open: boolean, searchValue: string, focused: boolean, showSearch?: boolean, loading?: boolean }) => VueNode"
|
|
16874
|
+
}
|
|
16875
|
+
},
|
|
16876
|
+
{
|
|
16877
|
+
"name": "suffix-icon",
|
|
16878
|
+
"description": "(ZH) 自定义的选择框后缀图标。已废弃,请使用 suffix 替代\n\n(EN) The custom suffix icon. Deprecated. Use suffix instead",
|
|
16879
|
+
"value": {
|
|
16880
|
+
"kind": "expression",
|
|
16881
|
+
"type": "VueNode"
|
|
16882
|
+
}
|
|
16883
|
+
},
|
|
16808
16884
|
{
|
|
16809
16885
|
"name": "styles",
|
|
16810
16886
|
"description": "(ZH) 用于自定义组件内部各语义化结构的行内 style,支持对象或函数\n\n(EN) Customize inline style for each semantic structure inside the component. Supports object or function.",
|
|
@@ -16888,9 +16964,13 @@
|
|
|
16888
16964
|
"name": "removeIcon",
|
|
16889
16965
|
"description": "(ZH) 自定义的多选框清除图标\n\n(EN) The custom remove icon"
|
|
16890
16966
|
},
|
|
16967
|
+
{
|
|
16968
|
+
"name": "suffix",
|
|
16969
|
+
"description": "(ZH) 自定义的选择框后缀\n\n(EN) The custom suffix"
|
|
16970
|
+
},
|
|
16891
16971
|
{
|
|
16892
16972
|
"name": "suffixIcon",
|
|
16893
|
-
"description": "(ZH)
|
|
16973
|
+
"description": "(ZH) 自定义的选择框后缀图标。已废弃,请使用 suffix 插槽替代\n\n(EN) The custom suffix icon. Deprecated. Use suffix slot instead"
|
|
16894
16974
|
},
|
|
16895
16975
|
{
|
|
16896
16976
|
"name": "tagRender",
|
|
@@ -17892,16 +17972,6 @@
|
|
|
17892
17972
|
}
|
|
17893
17973
|
]
|
|
17894
17974
|
},
|
|
17895
|
-
{
|
|
17896
|
-
"name": "update:value",
|
|
17897
|
-
"description": "(ZH) -\n\n(EN) -",
|
|
17898
|
-
"arguments": [
|
|
17899
|
-
{
|
|
17900
|
-
"name": "payload",
|
|
17901
|
-
"type": "(date: DateType) => void"
|
|
17902
|
-
}
|
|
17903
|
-
]
|
|
17904
|
-
},
|
|
17905
17975
|
{
|
|
17906
17976
|
"name": "panelChange",
|
|
17907
17977
|
"description": "(ZH) 日期面板变化回调\n\n(EN) Callback for when panel changes",
|
|
@@ -17966,11 +18036,11 @@
|
|
|
17966
18036
|
"attributes": [
|
|
17967
18037
|
{
|
|
17968
18038
|
"name": "allow-clear",
|
|
17969
|
-
"description": "(ZH)
|
|
18039
|
+
"description": "(ZH) 是否显示清除按钮\n\n(EN) Whether to show a clear button",
|
|
17970
18040
|
"default": "true",
|
|
17971
18041
|
"value": {
|
|
17972
18042
|
"kind": "expression",
|
|
17973
|
-
"type": "boolean |
|
|
18043
|
+
"type": "boolean | AllowClearConfig"
|
|
17974
18044
|
}
|
|
17975
18045
|
},
|
|
17976
18046
|
{
|
|
@@ -17999,10 +18069,10 @@
|
|
|
17999
18069
|
},
|
|
18000
18070
|
{
|
|
18001
18071
|
"name": "components",
|
|
18002
|
-
"description": "(ZH)
|
|
18072
|
+
"description": "(ZH) 自定义面板、输入框和底部按钮。自定义面板组件请设置 inheritAttrs: false,否则 DatePicker 注入的 prefixCls 等会透传到根节点,导致子组件(如 Flex)以错误前缀生成样式并破坏面板布局\n\n(EN) Custom panels, input, and footer buttons. A custom panel component should set inheritAttrs: false; otherwise the picker-injected props (e.g. prefixCls) fall through to its root node, causing child components (such as Flex) to emit styles under the wrong prefix and break the panel layout",
|
|
18003
18073
|
"value": {
|
|
18004
18074
|
"kind": "expression",
|
|
18005
|
-
"type": "
|
|
18075
|
+
"type": "Components"
|
|
18006
18076
|
}
|
|
18007
18077
|
},
|
|
18008
18078
|
{
|
|
@@ -18258,9 +18328,18 @@
|
|
|
18258
18328
|
"type": "Record<SemanticDOM, CSSProperties> | (info: { props })=> Record<SemanticDOM, CSSProperties>"
|
|
18259
18329
|
}
|
|
18260
18330
|
},
|
|
18331
|
+
{
|
|
18332
|
+
"name": "suffix",
|
|
18333
|
+
"description": "(ZH) 自定义后缀\n\n(EN) The custom suffix",
|
|
18334
|
+
"value": {
|
|
18335
|
+
"kind": "expression",
|
|
18336
|
+
"type": "VueNode"
|
|
18337
|
+
}
|
|
18338
|
+
},
|
|
18261
18339
|
{
|
|
18262
18340
|
"name": "suffix-icon",
|
|
18263
|
-
"description": "(ZH)
|
|
18341
|
+
"description": "(ZH) 自定义的选择框后缀图标,请使用 suffix 替代\n\n(EN) The custom suffix icon, please use suffix instead",
|
|
18342
|
+
"deprecated": true,
|
|
18264
18343
|
"value": {
|
|
18265
18344
|
"kind": "expression",
|
|
18266
18345
|
"type": "VueNode"
|
|
@@ -18387,16 +18466,6 @@
|
|
|
18387
18466
|
}
|
|
18388
18467
|
]
|
|
18389
18468
|
},
|
|
18390
|
-
{
|
|
18391
|
-
"name": "update:value",
|
|
18392
|
-
"description": "(ZH) -\n\n(EN) -",
|
|
18393
|
-
"arguments": [
|
|
18394
|
-
{
|
|
18395
|
-
"name": "payload",
|
|
18396
|
-
"type": "(date: Dayjs | Dayjs[] | null) => void"
|
|
18397
|
-
}
|
|
18398
|
-
]
|
|
18399
|
-
},
|
|
18400
18469
|
{
|
|
18401
18470
|
"name": "calendarChange",
|
|
18402
18471
|
"description": "(ZH) 待选日期发生变化的回调。支持 info 参数\n\n(EN) Callback function, can be executed when the start time or the end time of the range is changing. The info argument is available.",
|
|
@@ -18494,9 +18563,14 @@
|
|
|
18494
18563
|
"name": "prefix",
|
|
18495
18564
|
"description": "(ZH) 自定义前缀\n\n(EN) The custom prefix"
|
|
18496
18565
|
},
|
|
18566
|
+
{
|
|
18567
|
+
"name": "suffix",
|
|
18568
|
+
"description": "(ZH) 自定义后缀\n\n(EN) The custom suffix"
|
|
18569
|
+
},
|
|
18497
18570
|
{
|
|
18498
18571
|
"name": "suffixIcon",
|
|
18499
|
-
"description": "(ZH)
|
|
18572
|
+
"description": "(ZH) 自定义的选择框后缀图标,请使用 suffix 替代\n\n(EN) The custom suffix icon, please use suffix instead",
|
|
18573
|
+
"deprecated": true
|
|
18500
18574
|
},
|
|
18501
18575
|
{
|
|
18502
18576
|
"name": "renderExtraFooter",
|
|
@@ -18535,11 +18609,11 @@
|
|
|
18535
18609
|
"attributes": [
|
|
18536
18610
|
{
|
|
18537
18611
|
"name": "allow-clear",
|
|
18538
|
-
"description": "(ZH)
|
|
18612
|
+
"description": "(ZH) 是否显示清除按钮\n\n(EN) Whether to show a clear button",
|
|
18539
18613
|
"default": "true",
|
|
18540
18614
|
"value": {
|
|
18541
18615
|
"kind": "expression",
|
|
18542
|
-
"type": "boolean |
|
|
18616
|
+
"type": "boolean | AllowClearConfig"
|
|
18543
18617
|
}
|
|
18544
18618
|
},
|
|
18545
18619
|
{
|
|
@@ -18568,10 +18642,10 @@
|
|
|
18568
18642
|
},
|
|
18569
18643
|
{
|
|
18570
18644
|
"name": "components",
|
|
18571
|
-
"description": "(ZH)
|
|
18645
|
+
"description": "(ZH) 自定义面板、输入框和底部按钮。自定义面板组件请设置 inheritAttrs: false,否则 DatePicker 注入的 prefixCls 等会透传到根节点,导致子组件(如 Flex)以错误前缀生成样式并破坏面板布局\n\n(EN) Custom panels, input, and footer buttons. A custom panel component should set inheritAttrs: false; otherwise the picker-injected props (e.g. prefixCls) fall through to its root node, causing child components (such as Flex) to emit styles under the wrong prefix and break the panel layout",
|
|
18572
18646
|
"value": {
|
|
18573
18647
|
"kind": "expression",
|
|
18574
|
-
"type": "
|
|
18648
|
+
"type": "Components"
|
|
18575
18649
|
}
|
|
18576
18650
|
},
|
|
18577
18651
|
{
|
|
@@ -18827,9 +18901,18 @@
|
|
|
18827
18901
|
"type": "Record<SemanticDOM, CSSProperties> | (info: { props })=> Record<SemanticDOM, CSSProperties>"
|
|
18828
18902
|
}
|
|
18829
18903
|
},
|
|
18904
|
+
{
|
|
18905
|
+
"name": "suffix",
|
|
18906
|
+
"description": "(ZH) 自定义后缀\n\n(EN) The custom suffix",
|
|
18907
|
+
"value": {
|
|
18908
|
+
"kind": "expression",
|
|
18909
|
+
"type": "VueNode"
|
|
18910
|
+
}
|
|
18911
|
+
},
|
|
18830
18912
|
{
|
|
18831
18913
|
"name": "suffix-icon",
|
|
18832
|
-
"description": "(ZH)
|
|
18914
|
+
"description": "(ZH) 自定义的选择框后缀图标,请使用 suffix 替代\n\n(EN) The custom suffix icon, please use suffix instead",
|
|
18915
|
+
"deprecated": true,
|
|
18833
18916
|
"value": {
|
|
18834
18917
|
"kind": "expression",
|
|
18835
18918
|
"type": "VueNode"
|
|
@@ -18956,16 +19039,6 @@
|
|
|
18956
19039
|
}
|
|
18957
19040
|
]
|
|
18958
19041
|
},
|
|
18959
|
-
{
|
|
18960
|
-
"name": "update:value",
|
|
18961
|
-
"description": "(ZH) -\n\n(EN) -",
|
|
18962
|
-
"arguments": [
|
|
18963
|
-
{
|
|
18964
|
-
"name": "payload",
|
|
18965
|
-
"type": "(date: Dayjs | Dayjs[] | null) => void"
|
|
18966
|
-
}
|
|
18967
|
-
]
|
|
18968
|
-
},
|
|
18969
19042
|
{
|
|
18970
19043
|
"name": "calendarChange",
|
|
18971
19044
|
"description": "(ZH) 待选日期发生变化的回调。支持 info 参数\n\n(EN) Callback function, can be executed when the start time or the end time of the range is changing. The info argument is available.",
|
|
@@ -19063,9 +19136,14 @@
|
|
|
19063
19136
|
"name": "prefix",
|
|
19064
19137
|
"description": "(ZH) 自定义前缀\n\n(EN) The custom prefix"
|
|
19065
19138
|
},
|
|
19139
|
+
{
|
|
19140
|
+
"name": "suffix",
|
|
19141
|
+
"description": "(ZH) 自定义后缀\n\n(EN) The custom suffix"
|
|
19142
|
+
},
|
|
19066
19143
|
{
|
|
19067
19144
|
"name": "suffixIcon",
|
|
19068
|
-
"description": "(ZH)
|
|
19145
|
+
"description": "(ZH) 自定义的选择框后缀图标,请使用 suffix 替代\n\n(EN) The custom suffix icon, please use suffix instead",
|
|
19146
|
+
"deprecated": true
|
|
19069
19147
|
},
|
|
19070
19148
|
{
|
|
19071
19149
|
"name": "renderExtraFooter",
|
|
@@ -19104,11 +19182,11 @@
|
|
|
19104
19182
|
"attributes": [
|
|
19105
19183
|
{
|
|
19106
19184
|
"name": "allow-clear",
|
|
19107
|
-
"description": "(ZH)
|
|
19185
|
+
"description": "(ZH) 是否显示清除按钮\n\n(EN) Whether to show a clear button",
|
|
19108
19186
|
"default": "true",
|
|
19109
19187
|
"value": {
|
|
19110
19188
|
"kind": "expression",
|
|
19111
|
-
"type": "boolean |
|
|
19189
|
+
"type": "boolean | AllowClearConfig"
|
|
19112
19190
|
}
|
|
19113
19191
|
},
|
|
19114
19192
|
{
|
|
@@ -19137,6 +19215,14 @@
|
|
|
19137
19215
|
"type": "boolean"
|
|
19138
19216
|
}
|
|
19139
19217
|
},
|
|
19218
|
+
{
|
|
19219
|
+
"name": "components",
|
|
19220
|
+
"description": "(ZH) 自定义面板、输入框和底部按钮,详见 DatePicker Components\n\n(EN) Custom panels, input, and footer buttons. See DatePicker Components",
|
|
19221
|
+
"value": {
|
|
19222
|
+
"kind": "expression",
|
|
19223
|
+
"type": "Components"
|
|
19224
|
+
}
|
|
19225
|
+
},
|
|
19140
19226
|
{
|
|
19141
19227
|
"name": "classes",
|
|
19142
19228
|
"description": "(ZH) 用于自定义组件内部各语义化结构的 class,支持对象或函数\n\n(EN) Customize class for each semantic structure inside the component. Supports object or function.",
|
|
@@ -19350,9 +19436,18 @@
|
|
|
19350
19436
|
"type": "Record<SemanticDOM, CSSProperties> | (info: { props })=> Record<SemanticDOM, CSSProperties>"
|
|
19351
19437
|
}
|
|
19352
19438
|
},
|
|
19439
|
+
{
|
|
19440
|
+
"name": "suffix",
|
|
19441
|
+
"description": "(ZH) 自定义后缀\n\n(EN) The custom suffix",
|
|
19442
|
+
"value": {
|
|
19443
|
+
"kind": "expression",
|
|
19444
|
+
"type": "VueNode"
|
|
19445
|
+
}
|
|
19446
|
+
},
|
|
19353
19447
|
{
|
|
19354
19448
|
"name": "suffix-icon",
|
|
19355
|
-
"description": "(ZH)
|
|
19449
|
+
"description": "(ZH) 自定义的选择框后缀图标,请使用 suffix 替代\n\n(EN) The custom suffix icon, please use suffix instead",
|
|
19450
|
+
"deprecated": true,
|
|
19356
19451
|
"value": {
|
|
19357
19452
|
"kind": "expression",
|
|
19358
19453
|
"type": "VueNode"
|
|
@@ -19383,73 +19478,57 @@
|
|
|
19383
19478
|
"kind": "expression",
|
|
19384
19479
|
"type": "outlined | borderless | filled | underlined"
|
|
19385
19480
|
}
|
|
19386
|
-
},
|
|
19387
|
-
{
|
|
19388
|
-
"name": "on-change",
|
|
19389
|
-
"description": "(ZH) 时间发生变化的回调\n\n(EN) A callback function, can be executed when the selected time is changing",
|
|
19390
|
-
"value": {
|
|
19391
|
-
"kind": "expression",
|
|
19392
|
-
"type": "function(time: dayjs, timeString: string): void"
|
|
19393
|
-
}
|
|
19394
|
-
},
|
|
19395
|
-
{
|
|
19396
|
-
"name": "on-open-change",
|
|
19397
|
-
"description": "(ZH) 面板打开/关闭时的回调\n\n(EN) A callback function which will be called while panel opening/closing",
|
|
19398
|
-
"value": {
|
|
19399
|
-
"kind": "expression",
|
|
19400
|
-
"type": "(open: boolean) => void"
|
|
19401
|
-
}
|
|
19402
19481
|
}
|
|
19403
19482
|
],
|
|
19404
19483
|
"js": {
|
|
19405
19484
|
"events": [
|
|
19406
19485
|
{
|
|
19407
|
-
"name": "
|
|
19408
|
-
"description": "(ZH)
|
|
19486
|
+
"name": "calendarChange",
|
|
19487
|
+
"description": "(ZH) 待选时间发生变化的回调。支持 info 参数\n\n(EN) A callback function, can be executed when the pending selected time is changing. The info argument is available.",
|
|
19409
19488
|
"arguments": [
|
|
19410
19489
|
{
|
|
19411
19490
|
"name": "payload",
|
|
19412
|
-
"type": "(date: Dayjs | Dayjs[]
|
|
19491
|
+
"type": "(date: Dayjs | Dayjs[], dateString: string | string[], info: { range: 'start' | 'end' }) => void"
|
|
19413
19492
|
}
|
|
19414
19493
|
]
|
|
19415
19494
|
},
|
|
19416
19495
|
{
|
|
19417
|
-
"name": "
|
|
19418
|
-
"description": "(ZH)
|
|
19496
|
+
"name": "change",
|
|
19497
|
+
"description": "(ZH) 时间发生变化的回调\n\n(EN) A callback function, can be executed when the selected time is changing",
|
|
19419
19498
|
"arguments": [
|
|
19420
19499
|
{
|
|
19421
19500
|
"name": "payload",
|
|
19422
|
-
"type": "(date: Dayjs | Dayjs[] | null) => void"
|
|
19501
|
+
"type": "(date: Dayjs | Dayjs[] | null, dateString: string | string[] | null) => void"
|
|
19423
19502
|
}
|
|
19424
19503
|
]
|
|
19425
19504
|
},
|
|
19426
19505
|
{
|
|
19427
|
-
"name": "
|
|
19428
|
-
"description": "(ZH)
|
|
19506
|
+
"name": "clear",
|
|
19507
|
+
"description": "(ZH) 点击清除按钮时的回调\n\n(EN) Callback when click the clear button",
|
|
19429
19508
|
"arguments": [
|
|
19430
19509
|
{
|
|
19431
19510
|
"name": "payload",
|
|
19432
|
-
"type": "(
|
|
19511
|
+
"type": "() => void"
|
|
19433
19512
|
}
|
|
19434
19513
|
]
|
|
19435
19514
|
},
|
|
19436
19515
|
{
|
|
19437
|
-
"name": "
|
|
19438
|
-
"description": "(ZH)
|
|
19516
|
+
"name": "openChange",
|
|
19517
|
+
"description": "(ZH) 面板打开/关闭时的回调\n\n(EN) A callback function which will be called while panel opening/closing",
|
|
19439
19518
|
"arguments": [
|
|
19440
19519
|
{
|
|
19441
19520
|
"name": "payload",
|
|
19442
|
-
"type": "(
|
|
19521
|
+
"type": "(open: boolean) => void"
|
|
19443
19522
|
}
|
|
19444
19523
|
]
|
|
19445
19524
|
},
|
|
19446
19525
|
{
|
|
19447
|
-
"name": "
|
|
19448
|
-
"description": "(ZH)
|
|
19526
|
+
"name": "panelChange",
|
|
19527
|
+
"description": "(ZH) 日历面板切换的回调\n\n(EN) Callback when picker panel mode is changed",
|
|
19449
19528
|
"arguments": [
|
|
19450
19529
|
{
|
|
19451
19530
|
"name": "payload",
|
|
19452
|
-
"type": "(
|
|
19531
|
+
"type": "(value: Dayjs, mode: PickerMode) => void"
|
|
19453
19532
|
}
|
|
19454
19533
|
]
|
|
19455
19534
|
},
|
|
@@ -19505,25 +19584,7 @@
|
|
|
19505
19584
|
}
|
|
19506
19585
|
]
|
|
19507
19586
|
},
|
|
19508
|
-
"slots": [
|
|
19509
|
-
{
|
|
19510
|
-
"name": "addon",
|
|
19511
|
-
"description": "(ZH) 已弃用,请使用 renderExtraFooter\n\n(EN) Deprecated. Use renderExtraFooter instead",
|
|
19512
|
-
"deprecated": true
|
|
19513
|
-
},
|
|
19514
|
-
{
|
|
19515
|
-
"name": "renderExtraFooter",
|
|
19516
|
-
"description": "(ZH) 在时间选择面板底部显示自定义内容\n\n(EN) Called from time picker panel to render some addon to its bottom"
|
|
19517
|
-
},
|
|
19518
|
-
{
|
|
19519
|
-
"name": "suffixIcon",
|
|
19520
|
-
"description": "(ZH) 自定义的选择框后缀图标\n\n(EN) The custom suffix icon"
|
|
19521
|
-
},
|
|
19522
|
-
{
|
|
19523
|
-
"name": "prefix",
|
|
19524
|
-
"description": "(ZH) 自定义前缀\n\n(EN) The custom prefix"
|
|
19525
|
-
}
|
|
19526
|
-
]
|
|
19587
|
+
"slots": []
|
|
19527
19588
|
},
|
|
19528
19589
|
{
|
|
19529
19590
|
"name": "a-time-range-picker",
|
|
@@ -19553,11 +19614,11 @@
|
|
|
19553
19614
|
},
|
|
19554
19615
|
{
|
|
19555
19616
|
"name": "allow-clear",
|
|
19556
|
-
"description": "(ZH)
|
|
19617
|
+
"description": "(ZH) 是否显示清除按钮\n\n(EN) Whether to show a clear button",
|
|
19557
19618
|
"default": "true",
|
|
19558
19619
|
"value": {
|
|
19559
19620
|
"kind": "expression",
|
|
19560
|
-
"type": "boolean |
|
|
19621
|
+
"type": "boolean | AllowClearConfig"
|
|
19561
19622
|
}
|
|
19562
19623
|
},
|
|
19563
19624
|
{
|
|
@@ -19586,10 +19647,10 @@
|
|
|
19586
19647
|
},
|
|
19587
19648
|
{
|
|
19588
19649
|
"name": "components",
|
|
19589
|
-
"description": "(ZH)
|
|
19650
|
+
"description": "(ZH) 自定义面板、输入框和底部按钮。自定义面板组件请设置 inheritAttrs: false,否则 DatePicker 注入的 prefixCls 等会透传到根节点,导致子组件(如 Flex)以错误前缀生成样式并破坏面板布局\n\n(EN) Custom panels, input, and footer buttons. A custom panel component should set inheritAttrs: false; otherwise the picker-injected props (e.g. prefixCls) fall through to its root node, causing child components (such as Flex) to emit styles under the wrong prefix and break the panel layout",
|
|
19590
19651
|
"value": {
|
|
19591
19652
|
"kind": "expression",
|
|
19592
|
-
"type": "
|
|
19653
|
+
"type": "Components"
|
|
19593
19654
|
}
|
|
19594
19655
|
},
|
|
19595
19656
|
{
|
|
@@ -19827,9 +19888,18 @@
|
|
|
19827
19888
|
"type": "Record<SemanticDOM, CSSProperties> | (info: { props })=> Record<SemanticDOM, CSSProperties>"
|
|
19828
19889
|
}
|
|
19829
19890
|
},
|
|
19891
|
+
{
|
|
19892
|
+
"name": "suffix",
|
|
19893
|
+
"description": "(ZH) 自定义后缀\n\n(EN) The custom suffix",
|
|
19894
|
+
"value": {
|
|
19895
|
+
"kind": "expression",
|
|
19896
|
+
"type": "VueNode"
|
|
19897
|
+
}
|
|
19898
|
+
},
|
|
19830
19899
|
{
|
|
19831
19900
|
"name": "suffix-icon",
|
|
19832
|
-
"description": "(ZH)
|
|
19901
|
+
"description": "(ZH) 自定义的选择框后缀图标,请使用 suffix 替代\n\n(EN) The custom suffix icon, please use suffix instead",
|
|
19902
|
+
"deprecated": true,
|
|
19833
19903
|
"value": {
|
|
19834
19904
|
"kind": "expression",
|
|
19835
19905
|
"type": "VueNode"
|
|
@@ -19939,16 +20009,6 @@
|
|
|
19939
20009
|
}
|
|
19940
20010
|
]
|
|
19941
20011
|
},
|
|
19942
|
-
{
|
|
19943
|
-
"name": "update:value",
|
|
19944
|
-
"description": "(ZH) -\n\n(EN) -",
|
|
19945
|
-
"arguments": [
|
|
19946
|
-
{
|
|
19947
|
-
"name": "payload",
|
|
19948
|
-
"type": "(date: Dayjs | Dayjs[] | null) => void"
|
|
19949
|
-
}
|
|
19950
|
-
]
|
|
19951
|
-
},
|
|
19952
20012
|
{
|
|
19953
20013
|
"name": "calendarChange",
|
|
19954
20014
|
"description": "(ZH) 待选日期发生变化的回调。支持 info 参数\n\n(EN) Callback function, can be executed when the start time or the end time of the range is changing. The info argument is available.",
|
|
@@ -20026,9 +20086,14 @@
|
|
|
20026
20086
|
"name": "prefix",
|
|
20027
20087
|
"description": "(ZH) 自定义前缀\n\n(EN) The custom prefix"
|
|
20028
20088
|
},
|
|
20089
|
+
{
|
|
20090
|
+
"name": "suffix",
|
|
20091
|
+
"description": "(ZH) 自定义后缀\n\n(EN) The custom suffix"
|
|
20092
|
+
},
|
|
20029
20093
|
{
|
|
20030
20094
|
"name": "suffixIcon",
|
|
20031
|
-
"description": "(ZH)
|
|
20095
|
+
"description": "(ZH) 自定义的选择框后缀图标,请使用 suffix 替代\n\n(EN) The custom suffix icon, please use suffix instead",
|
|
20096
|
+
"deprecated": true
|
|
20032
20097
|
},
|
|
20033
20098
|
{
|
|
20034
20099
|
"name": "renderExtraFooter",
|
|
@@ -20067,11 +20132,11 @@
|
|
|
20067
20132
|
"attributes": [
|
|
20068
20133
|
{
|
|
20069
20134
|
"name": "allow-clear",
|
|
20070
|
-
"description": "(ZH)
|
|
20135
|
+
"description": "(ZH) 是否显示清除按钮\n\n(EN) Whether to show a clear button",
|
|
20071
20136
|
"default": "false",
|
|
20072
20137
|
"value": {
|
|
20073
20138
|
"kind": "expression",
|
|
20074
|
-
"type": "boolean |
|
|
20139
|
+
"type": "boolean | AllowClearConfig"
|
|
20075
20140
|
}
|
|
20076
20141
|
},
|
|
20077
20142
|
{
|
|
@@ -20208,6 +20273,22 @@
|
|
|
20208
20273
|
"type": "error | warning"
|
|
20209
20274
|
}
|
|
20210
20275
|
},
|
|
20276
|
+
{
|
|
20277
|
+
"name": "suffix",
|
|
20278
|
+
"description": "(ZH) 自定义后缀\n\n(EN) The custom suffix",
|
|
20279
|
+
"value": {
|
|
20280
|
+
"kind": "expression",
|
|
20281
|
+
"type": "VueNode | (info: { open: boolean, searchValue: string, focused: boolean, showSearch?: boolean, loading?: boolean }) => VueNode"
|
|
20282
|
+
}
|
|
20283
|
+
},
|
|
20284
|
+
{
|
|
20285
|
+
"name": "suffix-icon",
|
|
20286
|
+
"description": "(ZH) 自定义后缀图标。已废弃,请使用 suffix 替代\n\n(EN) The custom suffix icon. Deprecated. Use suffix instead",
|
|
20287
|
+
"value": {
|
|
20288
|
+
"kind": "expression",
|
|
20289
|
+
"type": "VueNode"
|
|
20290
|
+
}
|
|
20291
|
+
},
|
|
20211
20292
|
{
|
|
20212
20293
|
"name": "styles",
|
|
20213
20294
|
"description": "(ZH) 用于自定义组件内部各语义化结构的行内 style,支持对象或函数\n\n(EN) Customize inline style for each semantic structure inside the component. Supports object or function",
|
|
@@ -20362,9 +20443,13 @@
|
|
|
20362
20443
|
"name": "prefix",
|
|
20363
20444
|
"description": "(ZH) 自定义前缀\n\n(EN) The custom prefix"
|
|
20364
20445
|
},
|
|
20446
|
+
{
|
|
20447
|
+
"name": "suffix",
|
|
20448
|
+
"description": "(ZH) 自定义后缀\n\n(EN) The custom suffix"
|
|
20449
|
+
},
|
|
20365
20450
|
{
|
|
20366
20451
|
"name": "suffixIcon",
|
|
20367
|
-
"description": "(ZH)
|
|
20452
|
+
"description": "(ZH) 自定义后缀图标。已废弃,请使用 suffix 插槽替代\n\n(EN) The custom suffix icon. Deprecated. Use suffix slot instead"
|
|
20368
20453
|
}
|
|
20369
20454
|
]
|
|
20370
20455
|
},
|