antdv-next 1.7.1 → 1.8.0
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/alert/Alert.js +10 -5
- package/dist/antd-with-locales.esm.js +12549 -12267
- package/dist/antd-with-locales.js +79 -79
- package/dist/antd.css +1 -1
- package/dist/antd.esm.js +9474 -9357
- package/dist/antd.js +78 -78
- package/dist/auto-complete/index.d.ts +2 -0
- package/dist/auto-complete/index.js +28 -23
- package/dist/badge/style/ribbon.d.ts +1 -0
- package/dist/border-beam/style/index.d.ts +1 -0
- package/dist/button/Button.js +31 -18
- package/dist/button/style/index.d.ts +1 -0
- 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/cascader/style/panel.d.ts +1 -0
- 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/useSuffix.d.ts +12 -0
- package/dist/date-picker/generatePicker/useSuffix.js +11 -0
- package/dist/date-picker/style/index.d.ts +1 -0
- package/dist/date-picker/util.d.ts +2 -6
- package/dist/date-picker/util.js +4 -3
- package/dist/descriptions/hooks/useItems.d.ts +4 -4
- 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/empty/style/index.d.ts +1 -0
- 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/style/otp.d.ts +1 -0
- package/dist/input/style/search.d.ts +1 -0
- package/dist/input/style/textarea.d.ts +1 -0
- package/dist/input-number/index.js +3 -3
- package/dist/input-number/style/index.d.ts +1 -0
- package/dist/layout/Sider.js +2 -2
- package/dist/layout/style/sider.d.ts +1 -0
- 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/message/style/index.d.ts +1 -0
- 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/style/index.d.ts +1 -0
- 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/addon.d.ts +1 -0
- package/dist/space/style/compact.d.ts +1 -0
- 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/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/theme/index.d.ts +1 -0
- 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 +1 -1
- package/web-tags.json +80 -28
- package/web-types.json +232 -155
- 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.0",
|
|
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
|
{
|
|
@@ -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
|
{
|
|
@@ -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
|
{
|
|
@@ -19350,9 +19428,18 @@
|
|
|
19350
19428
|
"type": "Record<SemanticDOM, CSSProperties> | (info: { props })=> Record<SemanticDOM, CSSProperties>"
|
|
19351
19429
|
}
|
|
19352
19430
|
},
|
|
19431
|
+
{
|
|
19432
|
+
"name": "suffix",
|
|
19433
|
+
"description": "(ZH) 自定义后缀\n\n(EN) The custom suffix",
|
|
19434
|
+
"value": {
|
|
19435
|
+
"kind": "expression",
|
|
19436
|
+
"type": "VueNode"
|
|
19437
|
+
}
|
|
19438
|
+
},
|
|
19353
19439
|
{
|
|
19354
19440
|
"name": "suffix-icon",
|
|
19355
|
-
"description": "(ZH)
|
|
19441
|
+
"description": "(ZH) 自定义的选择框后缀图标,请使用 suffix 替代\n\n(EN) The custom suffix icon, please use suffix instead",
|
|
19442
|
+
"deprecated": true,
|
|
19356
19443
|
"value": {
|
|
19357
19444
|
"kind": "expression",
|
|
19358
19445
|
"type": "VueNode"
|
|
@@ -19383,73 +19470,57 @@
|
|
|
19383
19470
|
"kind": "expression",
|
|
19384
19471
|
"type": "outlined | borderless | filled | underlined"
|
|
19385
19472
|
}
|
|
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
19473
|
}
|
|
19403
19474
|
],
|
|
19404
19475
|
"js": {
|
|
19405
19476
|
"events": [
|
|
19406
19477
|
{
|
|
19407
|
-
"name": "
|
|
19408
|
-
"description": "(ZH)
|
|
19478
|
+
"name": "calendarChange",
|
|
19479
|
+
"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
19480
|
"arguments": [
|
|
19410
19481
|
{
|
|
19411
19482
|
"name": "payload",
|
|
19412
|
-
"type": "(date: Dayjs | Dayjs[]
|
|
19483
|
+
"type": "(date: Dayjs | Dayjs[], dateString: string | string[], info: { range: 'start' | 'end' }) => void"
|
|
19413
19484
|
}
|
|
19414
19485
|
]
|
|
19415
19486
|
},
|
|
19416
19487
|
{
|
|
19417
|
-
"name": "
|
|
19418
|
-
"description": "(ZH)
|
|
19488
|
+
"name": "change",
|
|
19489
|
+
"description": "(ZH) 时间发生变化的回调\n\n(EN) A callback function, can be executed when the selected time is changing",
|
|
19419
19490
|
"arguments": [
|
|
19420
19491
|
{
|
|
19421
19492
|
"name": "payload",
|
|
19422
|
-
"type": "(date: Dayjs | Dayjs[] | null) => void"
|
|
19493
|
+
"type": "(date: Dayjs | Dayjs[] | null, dateString: string | string[] | null) => void"
|
|
19423
19494
|
}
|
|
19424
19495
|
]
|
|
19425
19496
|
},
|
|
19426
19497
|
{
|
|
19427
|
-
"name": "
|
|
19428
|
-
"description": "(ZH)
|
|
19498
|
+
"name": "clear",
|
|
19499
|
+
"description": "(ZH) 点击清除按钮时的回调\n\n(EN) Callback when click the clear button",
|
|
19429
19500
|
"arguments": [
|
|
19430
19501
|
{
|
|
19431
19502
|
"name": "payload",
|
|
19432
|
-
"type": "(
|
|
19503
|
+
"type": "() => void"
|
|
19433
19504
|
}
|
|
19434
19505
|
]
|
|
19435
19506
|
},
|
|
19436
19507
|
{
|
|
19437
|
-
"name": "
|
|
19438
|
-
"description": "(ZH)
|
|
19508
|
+
"name": "openChange",
|
|
19509
|
+
"description": "(ZH) 面板打开/关闭时的回调\n\n(EN) A callback function which will be called while panel opening/closing",
|
|
19439
19510
|
"arguments": [
|
|
19440
19511
|
{
|
|
19441
19512
|
"name": "payload",
|
|
19442
|
-
"type": "(
|
|
19513
|
+
"type": "(open: boolean) => void"
|
|
19443
19514
|
}
|
|
19444
19515
|
]
|
|
19445
19516
|
},
|
|
19446
19517
|
{
|
|
19447
|
-
"name": "
|
|
19448
|
-
"description": "(ZH)
|
|
19518
|
+
"name": "panelChange",
|
|
19519
|
+
"description": "(ZH) 日历面板切换的回调\n\n(EN) Callback when picker panel mode is changed",
|
|
19449
19520
|
"arguments": [
|
|
19450
19521
|
{
|
|
19451
19522
|
"name": "payload",
|
|
19452
|
-
"type": "(
|
|
19523
|
+
"type": "(value: Dayjs, mode: PickerMode) => void"
|
|
19453
19524
|
}
|
|
19454
19525
|
]
|
|
19455
19526
|
},
|
|
@@ -19505,25 +19576,7 @@
|
|
|
19505
19576
|
}
|
|
19506
19577
|
]
|
|
19507
19578
|
},
|
|
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
|
-
]
|
|
19579
|
+
"slots": []
|
|
19527
19580
|
},
|
|
19528
19581
|
{
|
|
19529
19582
|
"name": "a-time-range-picker",
|
|
@@ -19553,11 +19606,11 @@
|
|
|
19553
19606
|
},
|
|
19554
19607
|
{
|
|
19555
19608
|
"name": "allow-clear",
|
|
19556
|
-
"description": "(ZH)
|
|
19609
|
+
"description": "(ZH) 是否显示清除按钮\n\n(EN) Whether to show a clear button",
|
|
19557
19610
|
"default": "true",
|
|
19558
19611
|
"value": {
|
|
19559
19612
|
"kind": "expression",
|
|
19560
|
-
"type": "boolean |
|
|
19613
|
+
"type": "boolean | AllowClearConfig"
|
|
19561
19614
|
}
|
|
19562
19615
|
},
|
|
19563
19616
|
{
|
|
@@ -19827,9 +19880,18 @@
|
|
|
19827
19880
|
"type": "Record<SemanticDOM, CSSProperties> | (info: { props })=> Record<SemanticDOM, CSSProperties>"
|
|
19828
19881
|
}
|
|
19829
19882
|
},
|
|
19883
|
+
{
|
|
19884
|
+
"name": "suffix",
|
|
19885
|
+
"description": "(ZH) 自定义后缀\n\n(EN) The custom suffix",
|
|
19886
|
+
"value": {
|
|
19887
|
+
"kind": "expression",
|
|
19888
|
+
"type": "VueNode"
|
|
19889
|
+
}
|
|
19890
|
+
},
|
|
19830
19891
|
{
|
|
19831
19892
|
"name": "suffix-icon",
|
|
19832
|
-
"description": "(ZH)
|
|
19893
|
+
"description": "(ZH) 自定义的选择框后缀图标,请使用 suffix 替代\n\n(EN) The custom suffix icon, please use suffix instead",
|
|
19894
|
+
"deprecated": true,
|
|
19833
19895
|
"value": {
|
|
19834
19896
|
"kind": "expression",
|
|
19835
19897
|
"type": "VueNode"
|
|
@@ -19939,16 +20001,6 @@
|
|
|
19939
20001
|
}
|
|
19940
20002
|
]
|
|
19941
20003
|
},
|
|
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
20004
|
{
|
|
19953
20005
|
"name": "calendarChange",
|
|
19954
20006
|
"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 +20078,14 @@
|
|
|
20026
20078
|
"name": "prefix",
|
|
20027
20079
|
"description": "(ZH) 自定义前缀\n\n(EN) The custom prefix"
|
|
20028
20080
|
},
|
|
20081
|
+
{
|
|
20082
|
+
"name": "suffix",
|
|
20083
|
+
"description": "(ZH) 自定义后缀\n\n(EN) The custom suffix"
|
|
20084
|
+
},
|
|
20029
20085
|
{
|
|
20030
20086
|
"name": "suffixIcon",
|
|
20031
|
-
"description": "(ZH)
|
|
20087
|
+
"description": "(ZH) 自定义的选择框后缀图标,请使用 suffix 替代\n\n(EN) The custom suffix icon, please use suffix instead",
|
|
20088
|
+
"deprecated": true
|
|
20032
20089
|
},
|
|
20033
20090
|
{
|
|
20034
20091
|
"name": "renderExtraFooter",
|
|
@@ -20067,11 +20124,11 @@
|
|
|
20067
20124
|
"attributes": [
|
|
20068
20125
|
{
|
|
20069
20126
|
"name": "allow-clear",
|
|
20070
|
-
"description": "(ZH)
|
|
20127
|
+
"description": "(ZH) 是否显示清除按钮\n\n(EN) Whether to show a clear button",
|
|
20071
20128
|
"default": "false",
|
|
20072
20129
|
"value": {
|
|
20073
20130
|
"kind": "expression",
|
|
20074
|
-
"type": "boolean |
|
|
20131
|
+
"type": "boolean | AllowClearConfig"
|
|
20075
20132
|
}
|
|
20076
20133
|
},
|
|
20077
20134
|
{
|
|
@@ -20208,6 +20265,22 @@
|
|
|
20208
20265
|
"type": "error | warning"
|
|
20209
20266
|
}
|
|
20210
20267
|
},
|
|
20268
|
+
{
|
|
20269
|
+
"name": "suffix",
|
|
20270
|
+
"description": "(ZH) 自定义后缀\n\n(EN) The custom suffix",
|
|
20271
|
+
"value": {
|
|
20272
|
+
"kind": "expression",
|
|
20273
|
+
"type": "VueNode | (info: { open: boolean, searchValue: string, focused: boolean, showSearch?: boolean, loading?: boolean }) => VueNode"
|
|
20274
|
+
}
|
|
20275
|
+
},
|
|
20276
|
+
{
|
|
20277
|
+
"name": "suffix-icon",
|
|
20278
|
+
"description": "(ZH) 自定义后缀图标。已废弃,请使用 suffix 替代\n\n(EN) The custom suffix icon. Deprecated. Use suffix instead",
|
|
20279
|
+
"value": {
|
|
20280
|
+
"kind": "expression",
|
|
20281
|
+
"type": "VueNode"
|
|
20282
|
+
}
|
|
20283
|
+
},
|
|
20211
20284
|
{
|
|
20212
20285
|
"name": "styles",
|
|
20213
20286
|
"description": "(ZH) 用于自定义组件内部各语义化结构的行内 style,支持对象或函数\n\n(EN) Customize inline style for each semantic structure inside the component. Supports object or function",
|
|
@@ -20362,9 +20435,13 @@
|
|
|
20362
20435
|
"name": "prefix",
|
|
20363
20436
|
"description": "(ZH) 自定义前缀\n\n(EN) The custom prefix"
|
|
20364
20437
|
},
|
|
20438
|
+
{
|
|
20439
|
+
"name": "suffix",
|
|
20440
|
+
"description": "(ZH) 自定义后缀\n\n(EN) The custom suffix"
|
|
20441
|
+
},
|
|
20365
20442
|
{
|
|
20366
20443
|
"name": "suffixIcon",
|
|
20367
|
-
"description": "(ZH)
|
|
20444
|
+
"description": "(ZH) 自定义后缀图标。已废弃,请使用 suffix 插槽替代\n\n(EN) The custom suffix icon. Deprecated. Use suffix slot instead"
|
|
20368
20445
|
}
|
|
20369
20446
|
]
|
|
20370
20447
|
},
|