antdv-next 1.7.0 → 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/_util/statusUtils.d.ts +1 -1
- package/dist/_util/vueNode.d.ts +11 -1
- package/dist/_util/vueNode.js +17 -1
- package/dist/affix/index.js +12 -9
- package/dist/alert/Alert.js +10 -5
- package/dist/anchor/Anchor.js +11 -6
- package/dist/anchor/style/index.js +2 -3
- package/dist/antd-with-locales.esm.js +16938 -18716
- package/dist/antd-with-locales.js +79 -86
- package/dist/antd.css +1 -1
- package/dist/antd.esm.js +15197 -17143
- package/dist/antd.js +80 -87
- package/dist/auto-complete/index.d.ts +2 -0
- package/dist/auto-complete/index.js +28 -23
- package/dist/avatar/Avatar.js +1 -1
- package/dist/avatar/AvatarContext.d.ts +2 -2
- package/dist/avatar/AvatarGroup.js +3 -5
- package/dist/badge/style/ribbon.d.ts +1 -0
- package/dist/border-beam/style/index.d.ts +1 -0
- package/dist/breadcrumb/index.d.ts +8 -1
- 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/calendar/generateCalendar.d.ts +10 -10
- package/dist/calendar/index.d.ts +1 -1
- package/dist/card/Card.js +1 -1
- package/dist/card/index.d.ts +8 -1
- package/dist/card/style/index.js +3 -7
- package/dist/carousel/index.js +3 -3
- package/dist/cascader/hooks/useIcons.js +3 -2
- package/dist/cascader/index.d.ts +9 -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 +6 -6
- 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/color-picker/style/input.js +6 -11
- package/dist/components.d.ts +24 -24
- package/dist/components.js +1 -2
- package/dist/config-provider/context.d.ts +16 -11
- 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 +23 -15
- package/dist/date-picker/generatePicker/generateSinglePicker.d.ts +2 -0
- package/dist/date-picker/generatePicker/generateSinglePicker.js +18 -14
- package/dist/date-picker/generatePicker/interface.d.ts +17 -5
- package/dist/date-picker/generatePicker/useComponents.d.ts +1 -14
- 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 +1 -1
- 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/dropdown/style/index.js +0 -6
- package/dist/empty/index.js +2 -1
- package/dist/empty/style/index.d.ts +1 -0
- package/dist/flex/index.js +2 -2
- package/dist/float-button/BackTop.js +2 -1
- 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 +47 -16
- 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 +22 -9
- package/dist/form/FormItemInput.js +3 -4
- package/dist/form/FormItemLabel.js +8 -4
- 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/grid/hooks/useBreakpoint.js +12 -6
- package/dist/image/PreviewGroup.d.ts +9 -2
- package/dist/image/PreviewGroup.js +2 -2
- package/dist/image/hooks/usePreviewConfig.d.ts +2 -2
- package/dist/image/index.d.ts +3 -3
- package/dist/image/index.js +3 -3
- package/dist/index.d.ts +26 -24
- package/dist/index.js +1 -2
- 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/index.js +2 -15
- 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/listy/interface.d.ts +23 -4
- package/dist/listy/style/index.js +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/message/style/index.js +2 -1
- package/dist/modal/Modal.js +5 -5
- package/dist/modal/PurePanel.js +2 -2
- package/dist/modal/style/confirm.js +1 -1
- package/dist/notification/PurePanel.js +2 -2
- package/dist/notification/style/index.d.ts +3 -0
- package/dist/notification/style/index.js +4 -5
- 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 +15 -7
- package/dist/popconfirm/index.js +4 -3
- package/dist/popover/PurePanel.js +2 -2
- package/dist/popover/style/index.js +1 -0
- package/dist/progress/Circle.js +3 -3
- package/dist/progress/Line.js +2 -1
- package/dist/progress/progress.js +1 -1
- package/dist/qrcode/QrcodeStatus.js +2 -1
- 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 -8
- 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.d.ts +6 -1
- package/dist/slider/index.js +7 -5
- package/dist/space/Item.d.ts +1 -0
- package/dist/space/Item.js +6 -2
- package/dist/space/index.d.ts +1 -1
- package/dist/space/index.js +1 -0
- 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/spin/Indicator/index.js +5 -1
- package/dist/splitter/SplitBar.js +2 -1
- package/dist/splitter/Splitter.js +10 -4
- package/dist/splitter/interface.d.ts +1 -0
- package/dist/statistic/Number.js +7 -1
- package/dist/statistic/Statistic.d.ts +3 -0
- package/dist/statistic/Statistic.js +2 -1
- package/dist/steps/index.js +16 -8
- package/dist/switch/index.js +10 -4
- package/dist/table/InternalTable.js +22 -7
- 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/index.d.ts +2 -2
- package/dist/table/util.d.ts +1 -1
- package/dist/tabs/index.js +19 -11
- package/dist/tabs/style/index.js +2 -6
- 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 +16 -9
- package/dist/time-picker/index.js +31 -84
- 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 -1
- 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.d.ts +19 -7
- package/dist/tree/DirectoryTree.js +2 -2
- package/dist/tree/Tree.d.ts +73 -58
- package/dist/tree/Tree.js +2 -2
- package/dist/tree/index.d.ts +8 -5
- package/dist/tree/index.js +4 -3
- 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/upload/utils.js +8 -3
- 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 +20 -20
- package/web-tags.json +85 -29
- package/web-types.json +242 -157
- 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",
|
|
@@ -11596,6 +11642,15 @@
|
|
|
11596
11642
|
"type": "{ start?: VueNode; end?: VueNode }"
|
|
11597
11643
|
}
|
|
11598
11644
|
},
|
|
11645
|
+
{
|
|
11646
|
+
"name": "destroy-on-hidden",
|
|
11647
|
+
"description": "(ZH) 折叠时(size 为 0)销毁面板内容,应用于所有面板,可在单个面板上覆盖\n\n(EN) Destroy panel content when collapsed (size is 0). Applies to all panels, can be overridden per panel",
|
|
11648
|
+
"default": "false",
|
|
11649
|
+
"value": {
|
|
11650
|
+
"kind": "expression",
|
|
11651
|
+
"type": "boolean"
|
|
11652
|
+
}
|
|
11653
|
+
},
|
|
11599
11654
|
{
|
|
11600
11655
|
"name": "dragger-icon",
|
|
11601
11656
|
"description": "(ZH) 自定义拖拽图标\n\n(EN) Custom dragger icon",
|
|
@@ -11727,8 +11782,7 @@
|
|
|
11727
11782
|
},
|
|
11728
11783
|
{
|
|
11729
11784
|
"name": "destroy-on-hidden",
|
|
11730
|
-
"description": "(ZH) 折叠时(size 为 0
|
|
11731
|
-
"default": "false",
|
|
11785
|
+
"description": "(ZH) 折叠时(size 为 0)销毁面板内容,覆盖 Splitter 的 destroyOnHidden\n\n(EN) Destroy panel content when collapsed (size is 0). Overrides Splitter's destroyOnHidden",
|
|
11732
11786
|
"value": {
|
|
11733
11787
|
"kind": "expression",
|
|
11734
11788
|
"type": "boolean"
|
|
@@ -14520,11 +14574,11 @@
|
|
|
14520
14574
|
"attributes": [
|
|
14521
14575
|
{
|
|
14522
14576
|
"name": "allow-clear",
|
|
14523
|
-
"description": "(ZH)
|
|
14577
|
+
"description": "(ZH) 是否显示清除按钮\n\n(EN) Whether to show a clear button",
|
|
14524
14578
|
"default": "false",
|
|
14525
14579
|
"value": {
|
|
14526
14580
|
"kind": "expression",
|
|
14527
|
-
"type": "boolean |
|
|
14581
|
+
"type": "boolean | AllowClearConfig"
|
|
14528
14582
|
}
|
|
14529
14583
|
},
|
|
14530
14584
|
{
|
|
@@ -14763,9 +14817,18 @@
|
|
|
14763
14817
|
"type": "outlined | borderless | filled | underlined"
|
|
14764
14818
|
}
|
|
14765
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
|
+
},
|
|
14766
14829
|
{
|
|
14767
14830
|
"name": "suffix-icon",
|
|
14768
|
-
"description": "(ZH)
|
|
14831
|
+
"description": "(ZH) 自定义的选择框后缀图标。已废弃,请使用 suffix 替代\n\n(EN) The custom suffix icon. Deprecated. Use suffix instead",
|
|
14769
14832
|
"default": "<DownOutlined />",
|
|
14770
14833
|
"value": {
|
|
14771
14834
|
"kind": "expression",
|
|
@@ -14929,7 +14992,7 @@
|
|
|
14929
14992
|
},
|
|
14930
14993
|
{
|
|
14931
14994
|
"name": "show-arrow",
|
|
14932
|
-
"description": "(ZH) 已废弃,设置
|
|
14995
|
+
"description": "(ZH) 已废弃,设置 suffix 为 null 可隐藏\n\n(EN) Deprecated. Set suffix to null to hide",
|
|
14933
14996
|
"value": {
|
|
14934
14997
|
"kind": "expression",
|
|
14935
14998
|
"type": "boolean"
|
|
@@ -14948,6 +15011,16 @@
|
|
|
14948
15011
|
}
|
|
14949
15012
|
]
|
|
14950
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
|
+
},
|
|
14951
15024
|
{
|
|
14952
15025
|
"name": "openChange",
|
|
14953
15026
|
"description": "(ZH) 展开下拉菜单的回调\n\n(EN) Callback when dropdown open state changes",
|
|
@@ -14991,9 +15064,13 @@
|
|
|
14991
15064
|
]
|
|
14992
15065
|
},
|
|
14993
15066
|
"slots": [
|
|
15067
|
+
{
|
|
15068
|
+
"name": "suffix",
|
|
15069
|
+
"description": "(ZH) 自定义的选择框后缀\n\n(EN) The custom suffix"
|
|
15070
|
+
},
|
|
14994
15071
|
{
|
|
14995
15072
|
"name": "suffixIcon",
|
|
14996
|
-
"description": "(ZH)
|
|
15073
|
+
"description": "(ZH) 自定义的选择框后缀图标。已废弃,请使用 suffix 插槽替代\n\n(EN) The custom suffix icon. Deprecated. Use suffix slot instead"
|
|
14997
15074
|
},
|
|
14998
15075
|
{
|
|
14999
15076
|
"name": "tagRender",
|
|
@@ -15871,11 +15948,11 @@
|
|
|
15871
15948
|
"events": [
|
|
15872
15949
|
{
|
|
15873
15950
|
"name": "change",
|
|
15874
|
-
"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",
|
|
15875
15952
|
"arguments": [
|
|
15876
15953
|
{
|
|
15877
15954
|
"name": "payload",
|
|
15878
|
-
"type": "(page: number, pageSize: number) => void"
|
|
15955
|
+
"type": "(page: number, pageSize: number, info?: { recommendPage?: number }) => void"
|
|
15879
15956
|
}
|
|
15880
15957
|
]
|
|
15881
15958
|
},
|
|
@@ -16372,16 +16449,6 @@
|
|
|
16372
16449
|
"type": "(text: string, prefix: string) => void"
|
|
16373
16450
|
}
|
|
16374
16451
|
]
|
|
16375
|
-
},
|
|
16376
|
-
{
|
|
16377
|
-
"name": "update:value",
|
|
16378
|
-
"description": "(ZH) 值更新时触发,用于支持 v-model:value\n\n(EN) Triggered when value updates, used for v-model:value",
|
|
16379
|
-
"arguments": [
|
|
16380
|
-
{
|
|
16381
|
-
"name": "payload",
|
|
16382
|
-
"type": "(value: string) => void"
|
|
16383
|
-
}
|
|
16384
|
-
]
|
|
16385
16452
|
}
|
|
16386
16453
|
]
|
|
16387
16454
|
},
|
|
@@ -16621,11 +16688,11 @@
|
|
|
16621
16688
|
"attributes": [
|
|
16622
16689
|
{
|
|
16623
16690
|
"name": "allow-clear",
|
|
16624
|
-
"description": "(ZH)
|
|
16691
|
+
"description": "(ZH) 是否显示清除按钮\n\n(EN) Whether to show a clear button",
|
|
16625
16692
|
"default": "true",
|
|
16626
16693
|
"value": {
|
|
16627
16694
|
"kind": "expression",
|
|
16628
|
-
"type": "boolean |
|
|
16695
|
+
"type": "boolean | AllowClearConfig"
|
|
16629
16696
|
}
|
|
16630
16697
|
},
|
|
16631
16698
|
{
|
|
@@ -16797,6 +16864,23 @@
|
|
|
16797
16864
|
"type": "'error' | 'warning'"
|
|
16798
16865
|
}
|
|
16799
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
|
+
},
|
|
16800
16884
|
{
|
|
16801
16885
|
"name": "styles",
|
|
16802
16886
|
"description": "(ZH) 用于自定义组件内部各语义化结构的行内 style,支持对象或函数\n\n(EN) Customize inline style for each semantic structure inside the component. Supports object or function.",
|
|
@@ -16880,9 +16964,13 @@
|
|
|
16880
16964
|
"name": "removeIcon",
|
|
16881
16965
|
"description": "(ZH) 自定义的多选框清除图标\n\n(EN) The custom remove icon"
|
|
16882
16966
|
},
|
|
16967
|
+
{
|
|
16968
|
+
"name": "suffix",
|
|
16969
|
+
"description": "(ZH) 自定义的选择框后缀\n\n(EN) The custom suffix"
|
|
16970
|
+
},
|
|
16883
16971
|
{
|
|
16884
16972
|
"name": "suffixIcon",
|
|
16885
|
-
"description": "(ZH)
|
|
16973
|
+
"description": "(ZH) 自定义的选择框后缀图标。已废弃,请使用 suffix 插槽替代\n\n(EN) The custom suffix icon. Deprecated. Use suffix slot instead"
|
|
16886
16974
|
},
|
|
16887
16975
|
{
|
|
16888
16976
|
"name": "tagRender",
|
|
@@ -17884,16 +17972,6 @@
|
|
|
17884
17972
|
}
|
|
17885
17973
|
]
|
|
17886
17974
|
},
|
|
17887
|
-
{
|
|
17888
|
-
"name": "update:value",
|
|
17889
|
-
"description": "(ZH) -\n\n(EN) -",
|
|
17890
|
-
"arguments": [
|
|
17891
|
-
{
|
|
17892
|
-
"name": "payload",
|
|
17893
|
-
"type": "(date: DateType) => void"
|
|
17894
|
-
}
|
|
17895
|
-
]
|
|
17896
|
-
},
|
|
17897
17975
|
{
|
|
17898
17976
|
"name": "panelChange",
|
|
17899
17977
|
"description": "(ZH) 日期面板变化回调\n\n(EN) Callback for when panel changes",
|
|
@@ -17958,11 +18036,11 @@
|
|
|
17958
18036
|
"attributes": [
|
|
17959
18037
|
{
|
|
17960
18038
|
"name": "allow-clear",
|
|
17961
|
-
"description": "(ZH)
|
|
18039
|
+
"description": "(ZH) 是否显示清除按钮\n\n(EN) Whether to show a clear button",
|
|
17962
18040
|
"default": "true",
|
|
17963
18041
|
"value": {
|
|
17964
18042
|
"kind": "expression",
|
|
17965
|
-
"type": "boolean |
|
|
18043
|
+
"type": "boolean | AllowClearConfig"
|
|
17966
18044
|
}
|
|
17967
18045
|
},
|
|
17968
18046
|
{
|
|
@@ -18250,9 +18328,18 @@
|
|
|
18250
18328
|
"type": "Record<SemanticDOM, CSSProperties> | (info: { props })=> Record<SemanticDOM, CSSProperties>"
|
|
18251
18329
|
}
|
|
18252
18330
|
},
|
|
18331
|
+
{
|
|
18332
|
+
"name": "suffix",
|
|
18333
|
+
"description": "(ZH) 自定义后缀\n\n(EN) The custom suffix",
|
|
18334
|
+
"value": {
|
|
18335
|
+
"kind": "expression",
|
|
18336
|
+
"type": "VueNode"
|
|
18337
|
+
}
|
|
18338
|
+
},
|
|
18253
18339
|
{
|
|
18254
18340
|
"name": "suffix-icon",
|
|
18255
|
-
"description": "(ZH)
|
|
18341
|
+
"description": "(ZH) 自定义的选择框后缀图标,请使用 suffix 替代\n\n(EN) The custom suffix icon, please use suffix instead",
|
|
18342
|
+
"deprecated": true,
|
|
18256
18343
|
"value": {
|
|
18257
18344
|
"kind": "expression",
|
|
18258
18345
|
"type": "VueNode"
|
|
@@ -18379,16 +18466,6 @@
|
|
|
18379
18466
|
}
|
|
18380
18467
|
]
|
|
18381
18468
|
},
|
|
18382
|
-
{
|
|
18383
|
-
"name": "update:value",
|
|
18384
|
-
"description": "(ZH) -\n\n(EN) -",
|
|
18385
|
-
"arguments": [
|
|
18386
|
-
{
|
|
18387
|
-
"name": "payload",
|
|
18388
|
-
"type": "(date: Dayjs | Dayjs[] | null) => void"
|
|
18389
|
-
}
|
|
18390
|
-
]
|
|
18391
|
-
},
|
|
18392
18469
|
{
|
|
18393
18470
|
"name": "calendarChange",
|
|
18394
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.",
|
|
@@ -18486,9 +18563,14 @@
|
|
|
18486
18563
|
"name": "prefix",
|
|
18487
18564
|
"description": "(ZH) 自定义前缀\n\n(EN) The custom prefix"
|
|
18488
18565
|
},
|
|
18566
|
+
{
|
|
18567
|
+
"name": "suffix",
|
|
18568
|
+
"description": "(ZH) 自定义后缀\n\n(EN) The custom suffix"
|
|
18569
|
+
},
|
|
18489
18570
|
{
|
|
18490
18571
|
"name": "suffixIcon",
|
|
18491
|
-
"description": "(ZH)
|
|
18572
|
+
"description": "(ZH) 自定义的选择框后缀图标,请使用 suffix 替代\n\n(EN) The custom suffix icon, please use suffix instead",
|
|
18573
|
+
"deprecated": true
|
|
18492
18574
|
},
|
|
18493
18575
|
{
|
|
18494
18576
|
"name": "renderExtraFooter",
|
|
@@ -18527,11 +18609,11 @@
|
|
|
18527
18609
|
"attributes": [
|
|
18528
18610
|
{
|
|
18529
18611
|
"name": "allow-clear",
|
|
18530
|
-
"description": "(ZH)
|
|
18612
|
+
"description": "(ZH) 是否显示清除按钮\n\n(EN) Whether to show a clear button",
|
|
18531
18613
|
"default": "true",
|
|
18532
18614
|
"value": {
|
|
18533
18615
|
"kind": "expression",
|
|
18534
|
-
"type": "boolean |
|
|
18616
|
+
"type": "boolean | AllowClearConfig"
|
|
18535
18617
|
}
|
|
18536
18618
|
},
|
|
18537
18619
|
{
|
|
@@ -18819,9 +18901,18 @@
|
|
|
18819
18901
|
"type": "Record<SemanticDOM, CSSProperties> | (info: { props })=> Record<SemanticDOM, CSSProperties>"
|
|
18820
18902
|
}
|
|
18821
18903
|
},
|
|
18904
|
+
{
|
|
18905
|
+
"name": "suffix",
|
|
18906
|
+
"description": "(ZH) 自定义后缀\n\n(EN) The custom suffix",
|
|
18907
|
+
"value": {
|
|
18908
|
+
"kind": "expression",
|
|
18909
|
+
"type": "VueNode"
|
|
18910
|
+
}
|
|
18911
|
+
},
|
|
18822
18912
|
{
|
|
18823
18913
|
"name": "suffix-icon",
|
|
18824
|
-
"description": "(ZH)
|
|
18914
|
+
"description": "(ZH) 自定义的选择框后缀图标,请使用 suffix 替代\n\n(EN) The custom suffix icon, please use suffix instead",
|
|
18915
|
+
"deprecated": true,
|
|
18825
18916
|
"value": {
|
|
18826
18917
|
"kind": "expression",
|
|
18827
18918
|
"type": "VueNode"
|
|
@@ -18948,16 +19039,6 @@
|
|
|
18948
19039
|
}
|
|
18949
19040
|
]
|
|
18950
19041
|
},
|
|
18951
|
-
{
|
|
18952
|
-
"name": "update:value",
|
|
18953
|
-
"description": "(ZH) -\n\n(EN) -",
|
|
18954
|
-
"arguments": [
|
|
18955
|
-
{
|
|
18956
|
-
"name": "payload",
|
|
18957
|
-
"type": "(date: Dayjs | Dayjs[] | null) => void"
|
|
18958
|
-
}
|
|
18959
|
-
]
|
|
18960
|
-
},
|
|
18961
19042
|
{
|
|
18962
19043
|
"name": "calendarChange",
|
|
18963
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.",
|
|
@@ -19055,9 +19136,14 @@
|
|
|
19055
19136
|
"name": "prefix",
|
|
19056
19137
|
"description": "(ZH) 自定义前缀\n\n(EN) The custom prefix"
|
|
19057
19138
|
},
|
|
19139
|
+
{
|
|
19140
|
+
"name": "suffix",
|
|
19141
|
+
"description": "(ZH) 自定义后缀\n\n(EN) The custom suffix"
|
|
19142
|
+
},
|
|
19058
19143
|
{
|
|
19059
19144
|
"name": "suffixIcon",
|
|
19060
|
-
"description": "(ZH)
|
|
19145
|
+
"description": "(ZH) 自定义的选择框后缀图标,请使用 suffix 替代\n\n(EN) The custom suffix icon, please use suffix instead",
|
|
19146
|
+
"deprecated": true
|
|
19061
19147
|
},
|
|
19062
19148
|
{
|
|
19063
19149
|
"name": "renderExtraFooter",
|
|
@@ -19096,11 +19182,11 @@
|
|
|
19096
19182
|
"attributes": [
|
|
19097
19183
|
{
|
|
19098
19184
|
"name": "allow-clear",
|
|
19099
|
-
"description": "(ZH)
|
|
19185
|
+
"description": "(ZH) 是否显示清除按钮\n\n(EN) Whether to show a clear button",
|
|
19100
19186
|
"default": "true",
|
|
19101
19187
|
"value": {
|
|
19102
19188
|
"kind": "expression",
|
|
19103
|
-
"type": "boolean |
|
|
19189
|
+
"type": "boolean | AllowClearConfig"
|
|
19104
19190
|
}
|
|
19105
19191
|
},
|
|
19106
19192
|
{
|
|
@@ -19342,9 +19428,18 @@
|
|
|
19342
19428
|
"type": "Record<SemanticDOM, CSSProperties> | (info: { props })=> Record<SemanticDOM, CSSProperties>"
|
|
19343
19429
|
}
|
|
19344
19430
|
},
|
|
19431
|
+
{
|
|
19432
|
+
"name": "suffix",
|
|
19433
|
+
"description": "(ZH) 自定义后缀\n\n(EN) The custom suffix",
|
|
19434
|
+
"value": {
|
|
19435
|
+
"kind": "expression",
|
|
19436
|
+
"type": "VueNode"
|
|
19437
|
+
}
|
|
19438
|
+
},
|
|
19345
19439
|
{
|
|
19346
19440
|
"name": "suffix-icon",
|
|
19347
|
-
"description": "(ZH)
|
|
19441
|
+
"description": "(ZH) 自定义的选择框后缀图标,请使用 suffix 替代\n\n(EN) The custom suffix icon, please use suffix instead",
|
|
19442
|
+
"deprecated": true,
|
|
19348
19443
|
"value": {
|
|
19349
19444
|
"kind": "expression",
|
|
19350
19445
|
"type": "VueNode"
|
|
@@ -19375,73 +19470,57 @@
|
|
|
19375
19470
|
"kind": "expression",
|
|
19376
19471
|
"type": "outlined | borderless | filled | underlined"
|
|
19377
19472
|
}
|
|
19378
|
-
},
|
|
19379
|
-
{
|
|
19380
|
-
"name": "on-change",
|
|
19381
|
-
"description": "(ZH) 时间发生变化的回调\n\n(EN) A callback function, can be executed when the selected time is changing",
|
|
19382
|
-
"value": {
|
|
19383
|
-
"kind": "expression",
|
|
19384
|
-
"type": "function(time: dayjs, timeString: string): void"
|
|
19385
|
-
}
|
|
19386
|
-
},
|
|
19387
|
-
{
|
|
19388
|
-
"name": "on-open-change",
|
|
19389
|
-
"description": "(ZH) 面板打开/关闭时的回调\n\n(EN) A callback function which will be called while panel opening/closing",
|
|
19390
|
-
"value": {
|
|
19391
|
-
"kind": "expression",
|
|
19392
|
-
"type": "(open: boolean) => void"
|
|
19393
|
-
}
|
|
19394
19473
|
}
|
|
19395
19474
|
],
|
|
19396
19475
|
"js": {
|
|
19397
19476
|
"events": [
|
|
19398
19477
|
{
|
|
19399
|
-
"name": "
|
|
19400
|
-
"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.",
|
|
19401
19480
|
"arguments": [
|
|
19402
19481
|
{
|
|
19403
19482
|
"name": "payload",
|
|
19404
|
-
"type": "(date: Dayjs | Dayjs[]
|
|
19483
|
+
"type": "(date: Dayjs | Dayjs[], dateString: string | string[], info: { range: 'start' | 'end' }) => void"
|
|
19405
19484
|
}
|
|
19406
19485
|
]
|
|
19407
19486
|
},
|
|
19408
19487
|
{
|
|
19409
|
-
"name": "
|
|
19410
|
-
"description": "(ZH)
|
|
19488
|
+
"name": "change",
|
|
19489
|
+
"description": "(ZH) 时间发生变化的回调\n\n(EN) A callback function, can be executed when the selected time is changing",
|
|
19411
19490
|
"arguments": [
|
|
19412
19491
|
{
|
|
19413
19492
|
"name": "payload",
|
|
19414
|
-
"type": "(date: Dayjs | Dayjs[] | null) => void"
|
|
19493
|
+
"type": "(date: Dayjs | Dayjs[] | null, dateString: string | string[] | null) => void"
|
|
19415
19494
|
}
|
|
19416
19495
|
]
|
|
19417
19496
|
},
|
|
19418
19497
|
{
|
|
19419
|
-
"name": "
|
|
19420
|
-
"description": "(ZH)
|
|
19498
|
+
"name": "clear",
|
|
19499
|
+
"description": "(ZH) 点击清除按钮时的回调\n\n(EN) Callback when click the clear button",
|
|
19421
19500
|
"arguments": [
|
|
19422
19501
|
{
|
|
19423
19502
|
"name": "payload",
|
|
19424
|
-
"type": "(
|
|
19503
|
+
"type": "() => void"
|
|
19425
19504
|
}
|
|
19426
19505
|
]
|
|
19427
19506
|
},
|
|
19428
19507
|
{
|
|
19429
|
-
"name": "
|
|
19430
|
-
"description": "(ZH)
|
|
19508
|
+
"name": "openChange",
|
|
19509
|
+
"description": "(ZH) 面板打开/关闭时的回调\n\n(EN) A callback function which will be called while panel opening/closing",
|
|
19431
19510
|
"arguments": [
|
|
19432
19511
|
{
|
|
19433
19512
|
"name": "payload",
|
|
19434
|
-
"type": "(
|
|
19513
|
+
"type": "(open: boolean) => void"
|
|
19435
19514
|
}
|
|
19436
19515
|
]
|
|
19437
19516
|
},
|
|
19438
19517
|
{
|
|
19439
|
-
"name": "
|
|
19440
|
-
"description": "(ZH)
|
|
19518
|
+
"name": "panelChange",
|
|
19519
|
+
"description": "(ZH) 日历面板切换的回调\n\n(EN) Callback when picker panel mode is changed",
|
|
19441
19520
|
"arguments": [
|
|
19442
19521
|
{
|
|
19443
19522
|
"name": "payload",
|
|
19444
|
-
"type": "(
|
|
19523
|
+
"type": "(value: Dayjs, mode: PickerMode) => void"
|
|
19445
19524
|
}
|
|
19446
19525
|
]
|
|
19447
19526
|
},
|
|
@@ -19497,25 +19576,7 @@
|
|
|
19497
19576
|
}
|
|
19498
19577
|
]
|
|
19499
19578
|
},
|
|
19500
|
-
"slots": [
|
|
19501
|
-
{
|
|
19502
|
-
"name": "addon",
|
|
19503
|
-
"description": "(ZH) 已弃用,请使用 renderExtraFooter\n\n(EN) Deprecated. Use renderExtraFooter instead",
|
|
19504
|
-
"deprecated": true
|
|
19505
|
-
},
|
|
19506
|
-
{
|
|
19507
|
-
"name": "renderExtraFooter",
|
|
19508
|
-
"description": "(ZH) 在时间选择面板底部显示自定义内容\n\n(EN) Called from time picker panel to render some addon to its bottom"
|
|
19509
|
-
},
|
|
19510
|
-
{
|
|
19511
|
-
"name": "suffixIcon",
|
|
19512
|
-
"description": "(ZH) 自定义的选择框后缀图标\n\n(EN) The custom suffix icon"
|
|
19513
|
-
},
|
|
19514
|
-
{
|
|
19515
|
-
"name": "prefix",
|
|
19516
|
-
"description": "(ZH) 自定义前缀\n\n(EN) The custom prefix"
|
|
19517
|
-
}
|
|
19518
|
-
]
|
|
19579
|
+
"slots": []
|
|
19519
19580
|
},
|
|
19520
19581
|
{
|
|
19521
19582
|
"name": "a-time-range-picker",
|
|
@@ -19545,11 +19606,11 @@
|
|
|
19545
19606
|
},
|
|
19546
19607
|
{
|
|
19547
19608
|
"name": "allow-clear",
|
|
19548
|
-
"description": "(ZH)
|
|
19609
|
+
"description": "(ZH) 是否显示清除按钮\n\n(EN) Whether to show a clear button",
|
|
19549
19610
|
"default": "true",
|
|
19550
19611
|
"value": {
|
|
19551
19612
|
"kind": "expression",
|
|
19552
|
-
"type": "boolean |
|
|
19613
|
+
"type": "boolean | AllowClearConfig"
|
|
19553
19614
|
}
|
|
19554
19615
|
},
|
|
19555
19616
|
{
|
|
@@ -19819,9 +19880,18 @@
|
|
|
19819
19880
|
"type": "Record<SemanticDOM, CSSProperties> | (info: { props })=> Record<SemanticDOM, CSSProperties>"
|
|
19820
19881
|
}
|
|
19821
19882
|
},
|
|
19883
|
+
{
|
|
19884
|
+
"name": "suffix",
|
|
19885
|
+
"description": "(ZH) 自定义后缀\n\n(EN) The custom suffix",
|
|
19886
|
+
"value": {
|
|
19887
|
+
"kind": "expression",
|
|
19888
|
+
"type": "VueNode"
|
|
19889
|
+
}
|
|
19890
|
+
},
|
|
19822
19891
|
{
|
|
19823
19892
|
"name": "suffix-icon",
|
|
19824
|
-
"description": "(ZH)
|
|
19893
|
+
"description": "(ZH) 自定义的选择框后缀图标,请使用 suffix 替代\n\n(EN) The custom suffix icon, please use suffix instead",
|
|
19894
|
+
"deprecated": true,
|
|
19825
19895
|
"value": {
|
|
19826
19896
|
"kind": "expression",
|
|
19827
19897
|
"type": "VueNode"
|
|
@@ -19931,16 +20001,6 @@
|
|
|
19931
20001
|
}
|
|
19932
20002
|
]
|
|
19933
20003
|
},
|
|
19934
|
-
{
|
|
19935
|
-
"name": "update:value",
|
|
19936
|
-
"description": "(ZH) -\n\n(EN) -",
|
|
19937
|
-
"arguments": [
|
|
19938
|
-
{
|
|
19939
|
-
"name": "payload",
|
|
19940
|
-
"type": "(date: Dayjs | Dayjs[] | null) => void"
|
|
19941
|
-
}
|
|
19942
|
-
]
|
|
19943
|
-
},
|
|
19944
20004
|
{
|
|
19945
20005
|
"name": "calendarChange",
|
|
19946
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.",
|
|
@@ -20018,9 +20078,14 @@
|
|
|
20018
20078
|
"name": "prefix",
|
|
20019
20079
|
"description": "(ZH) 自定义前缀\n\n(EN) The custom prefix"
|
|
20020
20080
|
},
|
|
20081
|
+
{
|
|
20082
|
+
"name": "suffix",
|
|
20083
|
+
"description": "(ZH) 自定义后缀\n\n(EN) The custom suffix"
|
|
20084
|
+
},
|
|
20021
20085
|
{
|
|
20022
20086
|
"name": "suffixIcon",
|
|
20023
|
-
"description": "(ZH)
|
|
20087
|
+
"description": "(ZH) 自定义的选择框后缀图标,请使用 suffix 替代\n\n(EN) The custom suffix icon, please use suffix instead",
|
|
20088
|
+
"deprecated": true
|
|
20024
20089
|
},
|
|
20025
20090
|
{
|
|
20026
20091
|
"name": "renderExtraFooter",
|
|
@@ -20059,11 +20124,11 @@
|
|
|
20059
20124
|
"attributes": [
|
|
20060
20125
|
{
|
|
20061
20126
|
"name": "allow-clear",
|
|
20062
|
-
"description": "(ZH)
|
|
20127
|
+
"description": "(ZH) 是否显示清除按钮\n\n(EN) Whether to show a clear button",
|
|
20063
20128
|
"default": "false",
|
|
20064
20129
|
"value": {
|
|
20065
20130
|
"kind": "expression",
|
|
20066
|
-
"type": "boolean |
|
|
20131
|
+
"type": "boolean | AllowClearConfig"
|
|
20067
20132
|
}
|
|
20068
20133
|
},
|
|
20069
20134
|
{
|
|
@@ -20200,6 +20265,22 @@
|
|
|
20200
20265
|
"type": "error | warning"
|
|
20201
20266
|
}
|
|
20202
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
|
+
},
|
|
20203
20284
|
{
|
|
20204
20285
|
"name": "styles",
|
|
20205
20286
|
"description": "(ZH) 用于自定义组件内部各语义化结构的行内 style,支持对象或函数\n\n(EN) Customize inline style for each semantic structure inside the component. Supports object or function",
|
|
@@ -20354,9 +20435,13 @@
|
|
|
20354
20435
|
"name": "prefix",
|
|
20355
20436
|
"description": "(ZH) 自定义前缀\n\n(EN) The custom prefix"
|
|
20356
20437
|
},
|
|
20438
|
+
{
|
|
20439
|
+
"name": "suffix",
|
|
20440
|
+
"description": "(ZH) 自定义后缀\n\n(EN) The custom suffix"
|
|
20441
|
+
},
|
|
20357
20442
|
{
|
|
20358
20443
|
"name": "suffixIcon",
|
|
20359
|
-
"description": "(ZH)
|
|
20444
|
+
"description": "(ZH) 自定义后缀图标。已废弃,请使用 suffix 插槽替代\n\n(EN) The custom suffix icon. Deprecated. Use suffix slot instead"
|
|
20360
20445
|
}
|
|
20361
20446
|
]
|
|
20362
20447
|
},
|