antdv-next 1.0.0-alpha.3 → 1.0.0-alpha.5
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/ActionButton.js +22 -10
- package/dist/_util/ContextIsolator.js +4 -2
- package/dist/_util/tools.js +2 -1
- package/dist/_util/wave/WaveEffect.js +6 -1
- package/dist/_util/wave/index.js +6 -3
- package/dist/_util/wave/style.js +4 -3
- package/dist/affix/index.d.ts +3 -3
- package/dist/affix/index.js +14 -6
- package/dist/alert/Alert.d.ts +4 -3
- package/dist/alert/Alert.js +52 -26
- package/dist/anchor/Anchor.d.ts +5 -5
- package/dist/anchor/Anchor.js +28 -14
- package/dist/anchor/AnchorLink.js +14 -8
- package/dist/anchor/index.d.ts +1 -1
- package/dist/antd.js +86 -86
- package/dist/app/App.d.ts +2 -2
- package/dist/app/App.js +12 -5
- package/dist/auto-complete/index.d.ts +77 -0
- package/dist/auto-complete/index.js +627 -0
- package/dist/avatar/Avatar.d.ts +3 -3
- package/dist/avatar/Avatar.js +24 -12
- package/dist/avatar/AvatarGroup.d.ts +2 -2
- package/dist/avatar/AvatarGroup.js +10 -5
- package/dist/badge/Ribbon.d.ts +3 -3
- package/dist/badge/Ribbon.js +14 -6
- package/dist/badge/ScrollNumber.js +10 -5
- package/dist/badge/SingleNumber.js +6 -3
- package/dist/badge/index.d.ts +3 -3
- package/dist/badge/index.js +32 -15
- package/dist/breadcrumb/Breadcrumb.d.ts +5 -5
- package/dist/breadcrumb/Breadcrumb.js +24 -19
- package/dist/breadcrumb/BreadcrumbItem.d.ts +1 -1
- package/dist/breadcrumb/BreadcrumbItem.js +33 -33
- package/dist/breadcrumb/index.d.ts +1 -1
- package/dist/button/Button.d.ts +3 -3
- package/dist/button/Button.js +46 -22
- package/dist/button/DefaultLoadingIcon.js +12 -6
- package/dist/button/IconWrapper.js +2 -1
- package/dist/button/style/variant.js +116 -104
- package/dist/calendar/Header.js +81 -37
- package/dist/calendar/generateCalendar.js +44 -19
- package/dist/calendar/index.d.ts +3 -3
- package/dist/card/Card.d.ts +3 -3
- package/dist/card/Card.js +50 -25
- package/dist/card/CardGrid.d.ts +2 -2
- package/dist/card/CardGrid.js +4 -2
- package/dist/card/CardMeta.d.ts +3 -3
- package/dist/card/CardMeta.js +12 -6
- package/dist/carousel/index.d.ts +3 -3
- package/dist/carousel/index.js +112 -56
- package/dist/cascader/Panel.d.ts +3 -3
- package/dist/cascader/Panel.js +44 -17
- package/dist/cascader/index.d.ts +3 -3
- package/dist/cascader/index.js +175 -82
- package/dist/checkbox/Checkbox.d.ts +3 -3
- package/dist/checkbox/Checkbox.js +36 -17
- package/dist/checkbox/Group.d.ts +3 -3
- package/dist/checkbox/Group.js +16 -8
- package/dist/collapse/Collapse.d.ts +3 -3
- package/dist/collapse/Collapse.js +34 -17
- package/dist/color-picker/ColorPicker.d.ts +4 -4
- package/dist/color-picker/ColorPicker.js +58 -28
- package/dist/color-picker/ColorPickerPanel.js +74 -35
- package/dist/color-picker/components/ColorAlphaInput.js +6 -3
- package/dist/color-picker/components/ColorClear.js +8 -4
- package/dist/color-picker/components/ColorHexInput.js +6 -3
- package/dist/color-picker/components/ColorHsbInput.js +6 -3
- package/dist/color-picker/components/ColorInput.js +16 -7
- package/dist/color-picker/components/ColorPresets.js +8 -4
- package/dist/color-picker/components/ColorRgbInput.js +6 -3
- package/dist/color-picker/components/ColorSlider.js +58 -27
- package/dist/color-picker/components/ColorSteppers.js +14 -7
- package/dist/color-picker/components/ColorTrigger.js +20 -9
- package/dist/color-picker/components/PanelPicker/GradientColorBar.js +40 -19
- package/dist/components.d.ts +3 -2
- package/dist/components.js +7 -4
- package/dist/config-provider/SizeContext.js +2 -1
- package/dist/config-provider/context.js +2 -2
- package/dist/config-provider/defaultRenderEmpty.js +2 -1
- package/dist/config-provider/index.d.ts +3 -3
- package/dist/config-provider/index.js +304 -152
- package/dist/date-picker/PickerButton.js +46 -22
- package/dist/date-picker/generatePicker/SuffixIcon.js +8 -4
- package/dist/date-picker/generatePicker/generateRangePicker.js +555 -257
- package/dist/date-picker/generatePicker/generateSinglePicker.js +559 -257
- package/dist/date-picker/generatePicker/index.d.ts +15 -15
- package/dist/date-picker/index.d.ts +25 -25
- package/dist/descriptions/Cell.js +20 -10
- package/dist/descriptions/Row.js +16 -8
- package/dist/descriptions/index.d.ts +3 -3
- package/dist/descriptions/index.js +30 -15
- package/dist/divider/index.d.ts +2 -2
- package/dist/divider/index.js +26 -13
- package/dist/drawer/DrawerPanel.js +38 -18
- package/dist/drawer/index.d.ts +3 -3
- package/dist/drawer/index.js +130 -62
- package/dist/dropdown/dropdown.d.ts +4 -4
- package/dist/dropdown/dropdown.js +47 -24
- package/dist/empty/index.d.ts +3 -3
- package/dist/empty/index.js +12 -6
- package/dist/flex/index.d.ts +3 -3
- package/dist/flex/index.js +28 -9
- package/dist/float-button/BackTop.d.ts +3 -3
- package/dist/float-button/BackTop.js +36 -18
- package/dist/float-button/FloatButton.d.ts +3 -3
- package/dist/float-button/FloatButton.js +32 -16
- package/dist/float-button/FloatButtonGroup.d.ts +3 -3
- package/dist/float-button/FloatButtonGroup.js +42 -21
- package/dist/float-button/PurePanel.js +78 -39
- package/dist/float-button/style/button.js +4 -4
- package/dist/float-button/style/group.js +12 -12
- package/dist/form/ErrorList.js +12 -6
- package/dist/form/Form.d.ts +3 -3
- package/dist/form/Form.js +48 -24
- package/dist/form/FormItem/ItemHolder.js +66 -33
- package/dist/form/FormItem/StatusProvider.js +18 -8
- package/dist/form/FormItem/index.d.ts +3 -3
- package/dist/form/FormItem/index.js +56 -28
- package/dist/form/FormItemInput.js +24 -12
- package/dist/form/FormItemLabel.js +20 -10
- package/dist/form/context.js +10 -5
- package/dist/form/style/index.js +3 -2
- package/dist/grid/col.js +26 -13
- package/dist/grid/row.js +10 -5
- package/dist/grid/style/index.js +5 -4
- package/dist/image/PreviewGroup.d.ts +2 -2
- package/dist/image/PreviewGroup.js +20 -9
- package/dist/image/index.d.ts +4 -4
- package/dist/image/index.js +24 -12
- package/dist/index.d.ts +5 -4
- package/dist/index.js +5 -4
- package/dist/input/Group.js +6 -3
- package/dist/input/Input.js +71 -30
- package/dist/input/OTP/OTPInput.js +76 -33
- package/dist/input/OTP/index.js +37 -18
- package/dist/input/Password.js +76 -33
- package/dist/input/Search.js +80 -33
- package/dist/input/TextArea.d.ts +3 -3
- package/dist/input/TextArea.js +59 -26
- package/dist/input/index.d.ts +11 -11
- package/dist/input-number/index.d.ts +3 -3
- package/dist/input-number/index.js +89 -38
- package/dist/input-number/style/index.js +18 -17
- package/dist/layout/Sider.js +20 -10
- package/dist/layout/index.d.ts +6 -6
- package/dist/layout/layout.d.ts +2 -2
- package/dist/layout/layout.js +28 -14
- package/dist/locale/index.js +4 -2
- package/dist/masonry/Masonry.d.ts +3 -3
- package/dist/masonry/Masonry.js +28 -15
- package/dist/masonry/MasonryItem.js +18 -8
- package/dist/mentions/index.d.ts +3 -3
- package/dist/mentions/index.js +63 -29
- package/dist/mentions/style/index.js +18 -17
- package/dist/menu/MenuContext.js +2 -1
- package/dist/menu/MenuDivider.d.ts +2 -2
- package/dist/menu/MenuDivider.js +4 -2
- package/dist/menu/MenuItem.d.ts +3 -3
- package/dist/menu/MenuItem.js +38 -19
- package/dist/menu/OverrideContext.js +2 -1
- package/dist/menu/SubMenu.d.ts +3 -3
- package/dist/menu/SubMenu.js +40 -19
- package/dist/menu/index.d.ts +5 -5
- package/dist/menu/index.js +84 -37
- package/dist/menu/menu.js +88 -39
- package/dist/message/PurePanel.d.ts +2 -2
- package/dist/message/PurePanel.js +42 -20
- package/dist/message/index.js +6 -3
- package/dist/message/useMessage.js +26 -12
- package/dist/modal/ConfirmDialog.js +392 -184
- package/dist/modal/Modal.d.ts +3 -3
- package/dist/modal/Modal.js +102 -47
- package/dist/modal/confirm.js +116 -54
- package/dist/modal/shared.js +18 -9
- package/dist/modal/useModal/HookModal.js +8 -4
- package/dist/notification/PurePanel.d.ts +2 -2
- package/dist/notification/PurePanel.js +56 -27
- package/dist/notification/index.js +6 -3
- package/dist/notification/useNotification.js +34 -16
- package/dist/package.d.ts +109 -3
- package/dist/package.js +1 -1
- package/dist/pagination/Pagination.d.ts +3 -3
- package/dist/pagination/Pagination.js +69 -34
- package/dist/pagination/style/index.js +61 -50
- package/dist/popconfirm/PurePanel.d.ts +2 -2
- package/dist/popconfirm/PurePanel.js +68 -34
- package/dist/popconfirm/index.d.ts +3 -3
- package/dist/popconfirm/index.js +76 -35
- package/dist/popover/PurePanel.js +132 -60
- package/dist/popover/index.d.ts +3 -3
- package/dist/popover/index.js +60 -27
- package/dist/popover/style/index.js +11 -8
- package/dist/progress/Circle.js +52 -26
- package/dist/progress/Line.js +52 -26
- package/dist/progress/Steps.js +50 -25
- package/dist/progress/progress.d.ts +3 -3
- package/dist/progress/progress.js +50 -25
- package/dist/qrcode/QrcodeStatus.js +12 -5
- package/dist/qrcode/index.d.ts +3 -3
- package/dist/qrcode/index.js +48 -23
- package/dist/radio/group.js +34 -15
- package/dist/radio/index.d.ts +5 -5
- package/dist/radio/radio.d.ts +3 -3
- package/dist/radio/radio.js +36 -17
- package/dist/radio/radioButton.js +30 -14
- package/dist/rate/index.d.ts +3 -3
- package/dist/rate/index.js +34 -17
- package/dist/result/index.d.ts +3 -3
- package/dist/result/index.js +28 -12
- package/dist/result/noFound.d.ts +2 -2
- package/dist/result/serverError.d.ts +2 -2
- package/dist/result/unauthorized.d.ts +2 -2
- package/dist/segmented/index.d.ts +3 -3
- package/dist/segmented/index.js +36 -18
- package/dist/select/index.d.ts +6 -6
- package/dist/select/index.js +150 -74
- package/dist/select/style/select-input-multiple.js +31 -29
- package/dist/select/style/select-input.js +50 -44
- package/dist/skeleton/Avatar.d.ts +2 -2
- package/dist/skeleton/Avatar.js +10 -5
- package/dist/skeleton/Button.d.ts +2 -2
- package/dist/skeleton/Button.js +12 -6
- package/dist/skeleton/Element.js +10 -5
- package/dist/skeleton/Image.d.ts +2 -2
- package/dist/skeleton/Image.js +6 -3
- package/dist/skeleton/Input.d.ts +2 -2
- package/dist/skeleton/Input.js +10 -5
- package/dist/skeleton/Node.d.ts +3 -3
- package/dist/skeleton/Node.js +8 -4
- package/dist/skeleton/Paragraph.js +8 -4
- package/dist/skeleton/Skeleton.d.ts +3 -3
- package/dist/skeleton/Skeleton.js +20 -10
- package/dist/skeleton/Title.js +8 -4
- package/dist/slider/SliderTooltip.js +62 -28
- package/dist/slider/index.d.ts +3 -3
- package/dist/slider/index.js +60 -29
- package/dist/space/Addon.js +8 -4
- package/dist/space/Compact.d.ts +2 -0
- package/dist/space/Compact.js +37 -15
- package/dist/space/Item.js +8 -4
- package/dist/space/index.d.ts +5 -5
- package/dist/space/index.js +23 -12
- package/dist/space/style/addon.js +20 -19
- package/dist/space/style/compact.js +20 -0
- package/dist/spin/Indicator/Looper.js +4 -2
- package/dist/spin/Indicator/Progress.js +8 -4
- package/dist/spin/Indicator/index.js +6 -3
- package/dist/spin/index.d.ts +3 -3
- package/dist/spin/index.js +24 -12
- package/dist/splitter/Panel.js +18 -9
- package/dist/splitter/SplitBar.js +53 -24
- package/dist/splitter/Splitter.d.ts +3 -3
- package/dist/splitter/Splitter.js +22 -11
- package/dist/splitter/index.d.ts +2 -2
- package/dist/splitter/style/index.js +6 -6
- package/dist/statistic/Number.js +12 -6
- package/dist/statistic/Statistic.d.ts +3 -3
- package/dist/statistic/Statistic.js +30 -15
- package/dist/statistic/Timer.d.ts +5 -5
- package/dist/statistic/Timer.js +34 -17
- package/dist/statistic/index.d.ts +5 -5
- package/dist/steps/PanelArrow.js +2 -1
- package/dist/steps/ProgressIcon.js +13 -4
- package/dist/steps/index.d.ts +3 -3
- package/dist/steps/index.js +51 -26
- package/dist/steps/style/horizontal.js +13 -10
- package/dist/steps/style/icon.js +11 -8
- package/dist/steps/style/index.js +19 -18
- package/dist/steps/style/inline.js +19 -16
- package/dist/steps/style/label-placement.js +22 -20
- package/dist/steps/style/nav.js +7 -5
- package/dist/steps/style/panel.js +34 -32
- package/dist/steps/style/progress-dot.js +10 -8
- package/dist/steps/style/progress.js +29 -58
- package/dist/steps/style/rtl.js +6 -4
- package/dist/steps/style/small.js +10 -8
- package/dist/steps/style/status.js +124 -121
- package/dist/steps/style/util.js +7 -4
- package/dist/steps/style/vertical.js +17 -14
- package/dist/style/placementArrow.js +7 -5
- package/dist/switch/index.d.ts +3 -3
- package/dist/switch/index.js +34 -17
- package/dist/table/Column.d.ts +3 -3
- package/dist/table/Column.js +86 -41
- package/dist/table/ColumnGroup.d.ts +3 -3
- package/dist/table/ColumnGroup.js +84 -41
- package/dist/table/InternalTable.js +107 -53
- package/dist/table/Table.d.ts +3 -3
- package/dist/table/Table.js +104 -51
- package/dist/table/hooks/useFilter/FilterDropdown.js +39 -19
- package/dist/table/hooks/useFilter/FilterWrapper.js +4 -2
- package/dist/tabs/TabPane.d.ts +3 -3
- package/dist/tabs/index.d.ts +3 -3
- package/dist/tabs/index.js +62 -31
- package/dist/tag/CheckableTag.d.ts +3 -3
- package/dist/tag/CheckableTag.js +10 -5
- package/dist/tag/CheckableTagGroup.d.ts +3 -3
- package/dist/tag/CheckableTagGroup.js +28 -12
- package/dist/tag/index.d.ts +3 -3
- package/dist/tag/index.js +30 -14
- package/dist/theme/index.d.ts +4 -4
- package/dist/theme/util/genStyleUtils.js +8 -5
- package/dist/time-picker/index.d.ts +7 -7
- package/dist/time-picker/index.js +1106 -509
- package/dist/timeline/Timeline.d.ts +3 -3
- package/dist/timeline/Timeline.js +20 -10
- package/dist/timeline/TimelineItem.js +22 -10
- package/dist/timeline/TimelineItemList.js +24 -12
- package/dist/tooltip/PurePanel.d.ts +2 -2
- package/dist/tooltip/PurePanel.js +61 -29
- package/dist/tooltip/UniqueProvider/index.d.ts +2 -2
- package/dist/tooltip/index.d.ts +3 -3
- package/dist/tooltip/index.js +62 -30
- package/dist/tooltip/style/index.js +10 -8
- package/dist/tooltip/util.js +5 -3
- package/dist/tour/index.d.ts +3 -3
- package/dist/tour/index.js +52 -25
- package/dist/tour/panelRender.js +18 -9
- package/dist/tour/style/index.js +5 -4
- package/dist/transfer/Actions.d.ts +2 -2
- package/dist/transfer/Actions.js +36 -18
- package/dist/transfer/ListBody.js +76 -38
- package/dist/transfer/ListItem.js +22 -11
- package/dist/transfer/Section.d.ts +2 -2
- package/dist/transfer/Section.js +76 -38
- package/dist/transfer/Transfer.d.ts +3 -3
- package/dist/transfer/Transfer.js +53 -27
- package/dist/transfer/search.js +8 -4
- package/dist/tree/DirectoryTree.d.ts +3 -3
- package/dist/tree/DirectoryTree.js +90 -45
- package/dist/tree/Tree.d.ts +3 -3
- package/dist/tree/Tree.js +90 -45
- package/dist/tree/utils/iconUtil.js +10 -5
- package/dist/tree-select/index.d.ts +4 -4
- package/dist/tree-select/index.js +195 -95
- package/dist/typography/Base/CopyBtn.js +24 -12
- package/dist/typography/Base/Ellipsis.js +16 -8
- package/dist/typography/Base/EllipsisTooltip.js +6 -3
- package/dist/typography/Base/index.js +42 -20
- package/dist/typography/Editable.js +28 -13
- package/dist/typography/Link.d.ts +3 -3
- package/dist/typography/Link.js +48 -23
- package/dist/typography/Paragraph.d.ts +3 -3
- package/dist/typography/Paragraph.js +42 -20
- package/dist/typography/Text.js +42 -20
- package/dist/typography/Title.d.ts +3 -3
- package/dist/typography/Title.js +42 -20
- package/dist/typography/Typography.d.ts +3 -3
- package/dist/typography/Typography.js +16 -7
- package/dist/typography/index.d.ts +9 -9
- package/dist/upload/Dragger.d.ts +6 -3
- package/dist/upload/Dragger.js +76 -38
- package/dist/upload/Upload.d.ts +3 -3
- package/dist/upload/Upload.js +74 -37
- package/dist/upload/UploadList/ListItem.js +44 -22
- package/dist/upload/UploadList/index.js +50 -24
- package/dist/upload/index.d.ts +6 -3
- package/dist/watermark/index.d.ts +2 -2
- package/dist/watermark/index.js +22 -11
- package/global.d.ts +2 -0
- package/package.json +22 -4
- package/web-tags.json +4524 -0
- package/web-types.json +12779 -0
|
@@ -62,28 +62,37 @@ var ColorInput_default = /* @__PURE__ */ defineComponent((props) => {
|
|
|
62
62
|
props: {
|
|
63
63
|
prefixCls: {
|
|
64
64
|
type: String,
|
|
65
|
-
required: true
|
|
65
|
+
required: true,
|
|
66
|
+
default: void 0
|
|
67
|
+
},
|
|
68
|
+
format: {
|
|
69
|
+
required: false,
|
|
70
|
+
default: void 0
|
|
66
71
|
},
|
|
67
|
-
format: { required: false },
|
|
68
72
|
onFormatChange: {
|
|
69
73
|
type: Function,
|
|
70
|
-
required: false
|
|
74
|
+
required: false,
|
|
75
|
+
default: void 0
|
|
71
76
|
},
|
|
72
77
|
disabledAlpha: {
|
|
73
78
|
type: Boolean,
|
|
74
|
-
required: false
|
|
79
|
+
required: false,
|
|
80
|
+
default: void 0
|
|
75
81
|
},
|
|
76
82
|
value: {
|
|
77
83
|
type: Object,
|
|
78
|
-
required: false
|
|
84
|
+
required: false,
|
|
85
|
+
default: void 0
|
|
79
86
|
},
|
|
80
87
|
onChange: {
|
|
81
88
|
type: Function,
|
|
82
|
-
required: false
|
|
89
|
+
required: false,
|
|
90
|
+
default: void 0
|
|
83
91
|
},
|
|
84
92
|
disabledFormat: {
|
|
85
93
|
type: Boolean,
|
|
86
|
-
required: false
|
|
94
|
+
required: false,
|
|
95
|
+
default: void 0
|
|
87
96
|
}
|
|
88
97
|
},
|
|
89
98
|
name: "ColorInput",
|
|
@@ -61,19 +61,23 @@ var ColorPresets_default = /* @__PURE__ */ defineComponent((props) => {
|
|
|
61
61
|
props: {
|
|
62
62
|
prefixCls: {
|
|
63
63
|
type: String,
|
|
64
|
-
required: true
|
|
64
|
+
required: true,
|
|
65
|
+
default: void 0
|
|
65
66
|
},
|
|
66
67
|
presets: {
|
|
67
68
|
type: Array,
|
|
68
|
-
required: true
|
|
69
|
+
required: true,
|
|
70
|
+
default: void 0
|
|
69
71
|
},
|
|
70
72
|
value: {
|
|
71
73
|
type: Object,
|
|
72
|
-
required: false
|
|
74
|
+
required: false,
|
|
75
|
+
default: void 0
|
|
73
76
|
},
|
|
74
77
|
onChange: {
|
|
75
78
|
type: Function,
|
|
76
|
-
required: false
|
|
79
|
+
required: false,
|
|
80
|
+
default: void 0
|
|
77
81
|
}
|
|
78
82
|
},
|
|
79
83
|
name: "ColorPresets",
|
|
@@ -47,15 +47,18 @@ var ColorRgbInput_default = /* @__PURE__ */ defineComponent((props) => {
|
|
|
47
47
|
props: {
|
|
48
48
|
prefixCls: {
|
|
49
49
|
type: String,
|
|
50
|
-
required: true
|
|
50
|
+
required: true,
|
|
51
|
+
default: void 0
|
|
51
52
|
},
|
|
52
53
|
value: {
|
|
53
54
|
type: Object,
|
|
54
|
-
required: false
|
|
55
|
+
required: false,
|
|
56
|
+
default: void 0
|
|
55
57
|
},
|
|
56
58
|
onChange: {
|
|
57
59
|
type: Function,
|
|
58
|
-
required: false
|
|
60
|
+
required: false,
|
|
61
|
+
default: void 0
|
|
59
62
|
}
|
|
60
63
|
},
|
|
61
64
|
name: "ColorRgbInput",
|
|
@@ -67,65 +67,86 @@ const GradientColorSlider = /* @__PURE__ */ defineComponent((props) => {
|
|
|
67
67
|
props: {
|
|
68
68
|
value: {
|
|
69
69
|
type: Array,
|
|
70
|
-
required: true
|
|
70
|
+
required: true,
|
|
71
|
+
default: void 0
|
|
71
72
|
},
|
|
72
73
|
onChange: {
|
|
73
74
|
type: Function,
|
|
74
|
-
required: false
|
|
75
|
+
required: false,
|
|
76
|
+
default: void 0
|
|
75
77
|
},
|
|
76
78
|
onChangeComplete: {
|
|
77
79
|
type: Function,
|
|
78
|
-
required: true
|
|
80
|
+
required: true,
|
|
81
|
+
default: void 0
|
|
79
82
|
},
|
|
80
83
|
range: {
|
|
81
84
|
type: Boolean,
|
|
82
|
-
required: false
|
|
85
|
+
required: false,
|
|
86
|
+
default: void 0
|
|
83
87
|
},
|
|
84
88
|
className: {
|
|
85
89
|
type: String,
|
|
86
|
-
required: false
|
|
90
|
+
required: false,
|
|
91
|
+
default: void 0
|
|
87
92
|
},
|
|
88
93
|
activeIndex: {
|
|
89
94
|
type: Number,
|
|
90
|
-
required: false
|
|
95
|
+
required: false,
|
|
96
|
+
default: void 0
|
|
91
97
|
},
|
|
92
98
|
onActive: {
|
|
93
99
|
type: Function,
|
|
94
|
-
required: false
|
|
100
|
+
required: false,
|
|
101
|
+
default: void 0
|
|
102
|
+
},
|
|
103
|
+
type: {
|
|
104
|
+
required: true,
|
|
105
|
+
default: void 0
|
|
95
106
|
},
|
|
96
|
-
type: { required: true },
|
|
97
107
|
onDragStart: {
|
|
98
108
|
type: Function,
|
|
99
|
-
required: false
|
|
109
|
+
required: false,
|
|
110
|
+
default: void 0
|
|
100
111
|
},
|
|
101
112
|
onDragChange: {
|
|
102
113
|
type: Function,
|
|
103
|
-
required: false
|
|
114
|
+
required: false,
|
|
115
|
+
default: void 0
|
|
104
116
|
},
|
|
105
117
|
onKeyDelete: {
|
|
106
118
|
type: Function,
|
|
107
|
-
required: false
|
|
119
|
+
required: false,
|
|
120
|
+
default: void 0
|
|
121
|
+
},
|
|
122
|
+
color: {
|
|
123
|
+
required: true,
|
|
124
|
+
default: void 0
|
|
108
125
|
},
|
|
109
|
-
color: { required: true },
|
|
110
126
|
prefixCls: {
|
|
111
127
|
type: String,
|
|
112
|
-
required: true
|
|
128
|
+
required: true,
|
|
129
|
+
default: void 0
|
|
113
130
|
},
|
|
114
131
|
colors: {
|
|
115
132
|
type: Array,
|
|
116
|
-
required: true
|
|
133
|
+
required: true,
|
|
134
|
+
default: void 0
|
|
117
135
|
},
|
|
118
136
|
min: {
|
|
119
137
|
type: Number,
|
|
120
|
-
required: true
|
|
138
|
+
required: true,
|
|
139
|
+
default: void 0
|
|
121
140
|
},
|
|
122
141
|
max: {
|
|
123
142
|
type: Number,
|
|
124
|
-
required: true
|
|
143
|
+
required: true,
|
|
144
|
+
default: void 0
|
|
125
145
|
},
|
|
126
146
|
disabled: {
|
|
127
147
|
type: Boolean,
|
|
128
|
-
required: true
|
|
148
|
+
required: true,
|
|
149
|
+
default: void 0
|
|
129
150
|
}
|
|
130
151
|
},
|
|
131
152
|
name: "GradientColorSlider",
|
|
@@ -146,43 +167,53 @@ const SingleColorSlider = /* @__PURE__ */ defineComponent((props) => {
|
|
|
146
167
|
props: {
|
|
147
168
|
prefixCls: {
|
|
148
169
|
type: String,
|
|
149
|
-
required: true
|
|
170
|
+
required: true,
|
|
171
|
+
default: void 0
|
|
150
172
|
},
|
|
151
173
|
colors: {
|
|
152
174
|
type: Array,
|
|
153
|
-
required: true
|
|
175
|
+
required: true,
|
|
176
|
+
default: void 0
|
|
154
177
|
},
|
|
155
178
|
min: {
|
|
156
179
|
type: Number,
|
|
157
|
-
required: true
|
|
180
|
+
required: true,
|
|
181
|
+
default: void 0
|
|
158
182
|
},
|
|
159
183
|
max: {
|
|
160
184
|
type: Number,
|
|
161
|
-
required: true
|
|
185
|
+
required: true,
|
|
186
|
+
default: void 0
|
|
162
187
|
},
|
|
163
188
|
value: {
|
|
164
189
|
type: Number,
|
|
165
|
-
required: true
|
|
190
|
+
required: true,
|
|
191
|
+
default: void 0
|
|
166
192
|
},
|
|
167
193
|
disabled: {
|
|
168
194
|
type: Boolean,
|
|
169
|
-
required: true
|
|
195
|
+
required: true,
|
|
196
|
+
default: void 0
|
|
170
197
|
},
|
|
171
198
|
onChange: {
|
|
172
199
|
type: Function,
|
|
173
|
-
required: true
|
|
200
|
+
required: true,
|
|
201
|
+
default: void 0
|
|
174
202
|
},
|
|
175
203
|
onChangeComplete: {
|
|
176
204
|
type: Function,
|
|
177
|
-
required: true
|
|
205
|
+
required: true,
|
|
206
|
+
default: void 0
|
|
178
207
|
},
|
|
179
208
|
type: {
|
|
180
209
|
type: String,
|
|
181
|
-
required: true
|
|
210
|
+
required: true,
|
|
211
|
+
default: void 0
|
|
182
212
|
},
|
|
183
213
|
color: {
|
|
184
214
|
type: Object,
|
|
185
|
-
required: true
|
|
215
|
+
required: true,
|
|
216
|
+
default: void 0
|
|
186
217
|
}
|
|
187
218
|
},
|
|
188
219
|
name: "ColorSlider",
|
|
@@ -28,31 +28,38 @@ var ColorSteppers_default = /* @__PURE__ */ defineComponent((props) => {
|
|
|
28
28
|
props: {
|
|
29
29
|
prefixCls: {
|
|
30
30
|
type: String,
|
|
31
|
-
required: true
|
|
31
|
+
required: true,
|
|
32
|
+
default: void 0
|
|
32
33
|
},
|
|
33
34
|
value: {
|
|
34
35
|
type: Number,
|
|
35
|
-
required: false
|
|
36
|
+
required: false,
|
|
37
|
+
default: void 0
|
|
36
38
|
},
|
|
37
39
|
min: {
|
|
38
40
|
type: Number,
|
|
39
|
-
required: false
|
|
41
|
+
required: false,
|
|
42
|
+
default: void 0
|
|
40
43
|
},
|
|
41
44
|
max: {
|
|
42
45
|
type: Number,
|
|
43
|
-
required: false
|
|
46
|
+
required: false,
|
|
47
|
+
default: void 0
|
|
44
48
|
},
|
|
45
49
|
onChange: {
|
|
46
50
|
type: Function,
|
|
47
|
-
required: false
|
|
51
|
+
required: false,
|
|
52
|
+
default: void 0
|
|
48
53
|
},
|
|
49
54
|
className: {
|
|
50
55
|
type: String,
|
|
51
|
-
required: false
|
|
56
|
+
required: false,
|
|
57
|
+
default: void 0
|
|
52
58
|
},
|
|
53
59
|
formatter: {
|
|
54
60
|
type: Function,
|
|
55
|
-
required: false
|
|
61
|
+
required: false,
|
|
62
|
+
default: void 0
|
|
56
63
|
}
|
|
57
64
|
},
|
|
58
65
|
name: "ColorSteppers",
|
|
@@ -52,36 +52,47 @@ var ColorTrigger_default = /* @__PURE__ */ defineComponent((props, { attrs }) =>
|
|
|
52
52
|
props: {
|
|
53
53
|
prefixCls: {
|
|
54
54
|
type: String,
|
|
55
|
-
required: true
|
|
55
|
+
required: true,
|
|
56
|
+
default: void 0
|
|
56
57
|
},
|
|
57
58
|
disabled: {
|
|
58
59
|
type: Boolean,
|
|
59
|
-
required: false
|
|
60
|
+
required: false,
|
|
61
|
+
default: void 0
|
|
62
|
+
},
|
|
63
|
+
format: {
|
|
64
|
+
required: false,
|
|
65
|
+
default: void 0
|
|
60
66
|
},
|
|
61
|
-
format: { required: false },
|
|
62
67
|
color: {
|
|
63
68
|
type: Object,
|
|
64
|
-
required: true
|
|
69
|
+
required: true,
|
|
70
|
+
default: void 0
|
|
65
71
|
},
|
|
66
72
|
open: {
|
|
67
73
|
type: Boolean,
|
|
68
|
-
required: false
|
|
74
|
+
required: false,
|
|
75
|
+
default: void 0
|
|
69
76
|
},
|
|
70
77
|
showText: {
|
|
71
78
|
type: [Boolean, Function],
|
|
72
|
-
required: false
|
|
79
|
+
required: false,
|
|
80
|
+
default: void 0
|
|
73
81
|
},
|
|
74
82
|
className: {
|
|
75
83
|
type: String,
|
|
76
|
-
required: false
|
|
84
|
+
required: false,
|
|
85
|
+
default: void 0
|
|
77
86
|
},
|
|
78
87
|
style: {
|
|
79
88
|
type: Object,
|
|
80
|
-
required: false
|
|
89
|
+
required: false,
|
|
90
|
+
default: void 0
|
|
81
91
|
},
|
|
82
92
|
activeIndex: {
|
|
83
93
|
type: Number,
|
|
84
|
-
required: true
|
|
94
|
+
required: true,
|
|
95
|
+
default: void 0
|
|
85
96
|
}
|
|
86
97
|
},
|
|
87
98
|
name: "AColorTrigger",
|
|
@@ -83,76 +83,97 @@ var GradientColorBar_default = /* @__PURE__ */ defineComponent((props) => {
|
|
|
83
83
|
props: {
|
|
84
84
|
colors: {
|
|
85
85
|
type: Array,
|
|
86
|
-
required: true
|
|
86
|
+
required: true,
|
|
87
|
+
default: void 0
|
|
87
88
|
},
|
|
88
89
|
prefixCls: {
|
|
89
90
|
type: String,
|
|
90
|
-
required: true
|
|
91
|
+
required: true,
|
|
92
|
+
default: void 0
|
|
91
93
|
},
|
|
92
94
|
allowClear: {
|
|
93
95
|
type: Boolean,
|
|
94
|
-
required: false
|
|
96
|
+
required: false,
|
|
97
|
+
default: void 0
|
|
95
98
|
},
|
|
96
99
|
disabled: {
|
|
97
100
|
type: Boolean,
|
|
98
|
-
required: false
|
|
101
|
+
required: false,
|
|
102
|
+
default: void 0
|
|
99
103
|
},
|
|
100
104
|
disabledAlpha: {
|
|
101
105
|
type: Boolean,
|
|
102
|
-
required: false
|
|
106
|
+
required: false,
|
|
107
|
+
default: void 0
|
|
103
108
|
},
|
|
104
109
|
mode: {
|
|
105
110
|
type: String,
|
|
106
|
-
required: true
|
|
111
|
+
required: true,
|
|
112
|
+
default: void 0
|
|
107
113
|
},
|
|
108
114
|
onModeChange: {
|
|
109
115
|
type: Function,
|
|
110
|
-
required: true
|
|
116
|
+
required: true,
|
|
117
|
+
default: void 0
|
|
111
118
|
},
|
|
112
119
|
modeOptions: {
|
|
113
120
|
type: Array,
|
|
114
|
-
required: true
|
|
121
|
+
required: true,
|
|
122
|
+
default: void 0
|
|
115
123
|
},
|
|
116
124
|
value: {
|
|
117
125
|
type: Object,
|
|
118
|
-
required: true
|
|
126
|
+
required: true,
|
|
127
|
+
default: void 0
|
|
119
128
|
},
|
|
120
129
|
onChange: {
|
|
121
130
|
type: Function,
|
|
122
|
-
required: false
|
|
131
|
+
required: false,
|
|
132
|
+
default: void 0
|
|
123
133
|
},
|
|
124
134
|
onChangeComplete: {
|
|
125
135
|
type: Function,
|
|
126
|
-
required: false
|
|
136
|
+
required: false,
|
|
137
|
+
default: void 0
|
|
138
|
+
},
|
|
139
|
+
format: {
|
|
140
|
+
required: false,
|
|
141
|
+
default: void 0
|
|
127
142
|
},
|
|
128
|
-
format: { required: false },
|
|
129
143
|
onFormatChange: {
|
|
130
144
|
type: Function,
|
|
131
|
-
required: false
|
|
145
|
+
required: false,
|
|
146
|
+
default: void 0
|
|
132
147
|
},
|
|
133
148
|
activeIndex: {
|
|
134
149
|
type: Number,
|
|
135
|
-
required: true
|
|
150
|
+
required: true,
|
|
151
|
+
default: void 0
|
|
136
152
|
},
|
|
137
153
|
onActive: {
|
|
138
154
|
type: Function,
|
|
139
|
-
required: true
|
|
155
|
+
required: true,
|
|
156
|
+
default: void 0
|
|
140
157
|
},
|
|
141
158
|
gradientDragging: {
|
|
142
159
|
type: Boolean,
|
|
143
|
-
required: true
|
|
160
|
+
required: true,
|
|
161
|
+
default: void 0
|
|
144
162
|
},
|
|
145
163
|
onGradientDragging: {
|
|
146
164
|
type: Function,
|
|
147
|
-
required: true
|
|
165
|
+
required: true,
|
|
166
|
+
default: void 0
|
|
148
167
|
},
|
|
149
168
|
onClear: {
|
|
150
169
|
type: Function,
|
|
151
|
-
required: false
|
|
170
|
+
required: false,
|
|
171
|
+
default: void 0
|
|
152
172
|
},
|
|
153
173
|
disabledFormat: {
|
|
154
174
|
type: Boolean,
|
|
155
|
-
required: false
|
|
175
|
+
required: false,
|
|
176
|
+
default: void 0
|
|
156
177
|
}
|
|
157
178
|
},
|
|
158
179
|
name: "GradientColorBar",
|
package/dist/components.d.ts
CHANGED
|
@@ -53,7 +53,7 @@ import "./anchor/index.js";
|
|
|
53
53
|
import { RibbonProps } from "./badge/Ribbon.js";
|
|
54
54
|
import { Badge, BadgeProps, BadgeSlots } from "./badge/index.js";
|
|
55
55
|
import { BreadcrumbItemProps } from "./breadcrumb/BreadcrumbItem.js";
|
|
56
|
-
import { Breadcrumb, BreadcrumbEmits,
|
|
56
|
+
import { Breadcrumb, BreadcrumbEmits, BreadcrumbProps, BreadcrumbSlots, ItemType } from "./breadcrumb/Breadcrumb.js";
|
|
57
57
|
import { TabPane, TabPaneProps } from "./tabs/TabPane.js";
|
|
58
58
|
import { Tabs, TabsEmits, TabsProps, TabsRef, TabsSlots } from "./tabs/index.js";
|
|
59
59
|
import { Card, CardEmits, CardProps, CardSize, CardSlots, CardTabListType } from "./card/Card.js";
|
|
@@ -111,6 +111,7 @@ import { Affix, AffixProps } from "./affix/index.js";
|
|
|
111
111
|
import { useModal } from "./modal/useModal/index.js";
|
|
112
112
|
import { AppProps } from "./app/App.js";
|
|
113
113
|
import { _default } from "./app/index.js";
|
|
114
|
+
import { AutoComplete, AutoCompleteClassNamesType, AutoCompleteEmits, AutoCompleteProps, AutoCompleteSlots, AutoCompleteStylesType, DataSourceItemObject, DataSourceItemType, Option } from "./auto-complete/index.js";
|
|
114
115
|
import { AvatarGroup, AvatarGroupProps } from "./avatar/AvatarGroup.js";
|
|
115
116
|
import { AvatarEmits, AvatarProps, AvatarSlots } from "./avatar/Avatar.js";
|
|
116
117
|
import { Avatar } from "./avatar/index.js";
|
|
@@ -131,7 +132,7 @@ import { CompoundedInput, InputGroup, InputOTP, InputPassword, InputSearch } fro
|
|
|
131
132
|
import { BasicProps, Layout } from "./layout/layout.js";
|
|
132
133
|
import { LayoutContent, LayoutFooter, LayoutHeader, LayoutSider, useLayoutSider } from "./layout/index.js";
|
|
133
134
|
import "./masonry/index.js";
|
|
134
|
-
import { MentionPlacement, Mentions, MentionsClassNamesType, MentionsEmits, MentionsOptionProps, MentionsProps, MentionsRef, MentionsSlots, MentionsStylesType, Option } from "./mentions/index.js";
|
|
135
|
+
import { MentionPlacement, Mentions, MentionsClassNamesType, MentionsEmits, MentionsOptionProps, MentionsProps, MentionsRef, MentionsSlots, MentionsStylesType, Option as Option$1 } from "./mentions/index.js";
|
|
135
136
|
import { useMessage } from "./message/useMessage.js";
|
|
136
137
|
import { staticMethods } from "./message/index.js";
|
|
137
138
|
import { _default as _default$5 } from "./modal/index.js";
|
package/dist/components.js
CHANGED
|
@@ -20,6 +20,9 @@ import modal_default from "./modal/index.js";
|
|
|
20
20
|
import useNotification from "./notification/useNotification.js";
|
|
21
21
|
import notification_default from "./notification/index.js";
|
|
22
22
|
import app_default from "./app/index.js";
|
|
23
|
+
import empty_default from "./empty/index.js";
|
|
24
|
+
import select_default, { SelectOptGroup, SelectOption } from "./select/index.js";
|
|
25
|
+
import auto_complete_default, { Option } from "./auto-complete/index.js";
|
|
23
26
|
import popover_default from "./popover/index.js";
|
|
24
27
|
import AvatarGroup_default from "./avatar/AvatarGroup.js";
|
|
25
28
|
import avatar_default from "./avatar/index.js";
|
|
@@ -30,8 +33,6 @@ import menu_default, { MenuItem } from "./menu/index.js";
|
|
|
30
33
|
import dropdown_default from "./dropdown/index.js";
|
|
31
34
|
import breadcrumb_default from "./breadcrumb/index.js";
|
|
32
35
|
import radio_default, { RadioButton, RadioGroup } from "./radio/index.js";
|
|
33
|
-
import empty_default from "./empty/index.js";
|
|
34
|
-
import select_default, { SelectOptGroup, SelectOption } from "./select/index.js";
|
|
35
36
|
import calendar_default from "./calendar/index.js";
|
|
36
37
|
import TabPane_default from "./tabs/TabPane.js";
|
|
37
38
|
import tabs_default from "./tabs/index.js";
|
|
@@ -67,7 +68,7 @@ import input_default, { InputGroup, InputOTP, InputPassword, InputSearch } from
|
|
|
67
68
|
import layout_default, { LayoutContent, LayoutFooter, LayoutHeader, LayoutSider, useLayoutSider } from "./layout/index.js";
|
|
68
69
|
import masonry_default from "./masonry/index.js";
|
|
69
70
|
import spin_default from "./spin/index.js";
|
|
70
|
-
import mentions_default, { Option } from "./mentions/index.js";
|
|
71
|
+
import mentions_default, { Option as Option$1 } from "./mentions/index.js";
|
|
71
72
|
import pagination_default from "./pagination/index.js";
|
|
72
73
|
import popconfirm_default from "./popconfirm/index.js";
|
|
73
74
|
import progress_default from "./progress/progress.js";
|
|
@@ -101,6 +102,8 @@ var components_exports = /* @__PURE__ */ __export({
|
|
|
101
102
|
Alert: () => alert_default,
|
|
102
103
|
Anchor: () => anchor_default,
|
|
103
104
|
App: () => app_default,
|
|
105
|
+
AutoComplete: () => auto_complete_default,
|
|
106
|
+
AutoCompleteOption: () => Option,
|
|
104
107
|
Avatar: () => avatar_default,
|
|
105
108
|
AvatarGroup: () => AvatarGroup_default,
|
|
106
109
|
BackTop: () => BackTop_default,
|
|
@@ -154,7 +157,7 @@ var components_exports = /* @__PURE__ */ __export({
|
|
|
154
157
|
LayoutSider: () => LayoutSider,
|
|
155
158
|
Masonry: () => masonry_default,
|
|
156
159
|
Mentions: () => mentions_default,
|
|
157
|
-
MentionsOption: () => Option,
|
|
160
|
+
MentionsOption: () => Option$1,
|
|
158
161
|
Menu: () => menu_default,
|
|
159
162
|
MenuDivider: () => MenuDivider_default,
|
|
160
163
|
MenuItem: () => MenuItem,
|
|
@@ -11,7 +11,8 @@ const SizeProvider = /* @__PURE__ */ defineComponent((props, { slots }) => {
|
|
|
11
11
|
};
|
|
12
12
|
}, { props: { size: {
|
|
13
13
|
type: [String, null],
|
|
14
|
-
required: false
|
|
14
|
+
required: false,
|
|
15
|
+
default: void 0
|
|
15
16
|
} } });
|
|
16
17
|
function useSizeProvider(value) {
|
|
17
18
|
provide(SizeContextKey, value);
|
|
@@ -68,7 +68,7 @@ function useComponentBaseConfig(propName, props, keys, suffixCls) {
|
|
|
68
68
|
const propValue = computed(() => {
|
|
69
69
|
return context.value[propName];
|
|
70
70
|
});
|
|
71
|
-
const toRefs = (propValues) => {
|
|
71
|
+
const toRefs$1 = (propValues) => {
|
|
72
72
|
const result = {
|
|
73
73
|
classes: computed(() => EMPTY_OBJECT),
|
|
74
74
|
styles: computed(() => EMPTY_OBJECT),
|
|
@@ -84,7 +84,7 @@ function useComponentBaseConfig(propName, props, keys, suffixCls) {
|
|
|
84
84
|
return result;
|
|
85
85
|
};
|
|
86
86
|
return {
|
|
87
|
-
...toRefs(propValue),
|
|
87
|
+
...toRefs$1(propValue),
|
|
88
88
|
direction: computed(() => context.value.direction),
|
|
89
89
|
prefixCls: computed(() => {
|
|
90
90
|
return context.value?.getPrefixCls(suffixCls ?? propName, props?.prefixCls);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ConfigProviderEmits, ConfigProviderProps, ConfigProviderSlots } from "./define.js";
|
|
2
2
|
import { CSPConfig } from "./context.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue188 from "vue";
|
|
4
4
|
import { SlotsType, VNodeChild } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/config-provider/index.d.ts
|
|
7
7
|
|
|
8
|
-
declare const ConfigProvider:
|
|
8
|
+
declare const ConfigProvider: vue188.DefineSetupFnComponent<ConfigProviderProps, ConfigProviderEmits, SlotsType<ConfigProviderSlots>, ConfigProviderProps & {
|
|
9
9
|
[x: `on${Capitalize<string>}`]: ((...args: any[] | unknown[]) => any) | undefined;
|
|
10
|
-
},
|
|
10
|
+
}, vue188.PublicProps>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { ConfigProvider };
|