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
package/dist/modal/shared.js
CHANGED
|
@@ -53,11 +53,13 @@ const Footer = /* @__PURE__ */ defineComponent((props) => {
|
|
|
53
53
|
props: {
|
|
54
54
|
onOk: {
|
|
55
55
|
type: Function,
|
|
56
|
-
required: false
|
|
56
|
+
required: false,
|
|
57
|
+
default: void 0
|
|
57
58
|
},
|
|
58
59
|
onCancel: {
|
|
59
60
|
type: Function,
|
|
60
|
-
required: false
|
|
61
|
+
required: false,
|
|
62
|
+
default: void 0
|
|
61
63
|
},
|
|
62
64
|
footer: {
|
|
63
65
|
type: [
|
|
@@ -68,7 +70,8 @@ const Footer = /* @__PURE__ */ defineComponent((props) => {
|
|
|
68
70
|
null,
|
|
69
71
|
Object
|
|
70
72
|
],
|
|
71
|
-
required: false
|
|
73
|
+
required: false,
|
|
74
|
+
default: void 0
|
|
72
75
|
},
|
|
73
76
|
okText: {
|
|
74
77
|
type: [
|
|
@@ -79,11 +82,13 @@ const Footer = /* @__PURE__ */ defineComponent((props) => {
|
|
|
79
82
|
null,
|
|
80
83
|
Object
|
|
81
84
|
],
|
|
82
|
-
required: false
|
|
85
|
+
required: false,
|
|
86
|
+
default: void 0
|
|
83
87
|
},
|
|
84
88
|
okType: {
|
|
85
89
|
type: String,
|
|
86
|
-
required: false
|
|
90
|
+
required: false,
|
|
91
|
+
default: void 0
|
|
87
92
|
},
|
|
88
93
|
cancelText: {
|
|
89
94
|
type: [
|
|
@@ -94,19 +99,23 @@ const Footer = /* @__PURE__ */ defineComponent((props) => {
|
|
|
94
99
|
null,
|
|
95
100
|
Object
|
|
96
101
|
],
|
|
97
|
-
required: false
|
|
102
|
+
required: false,
|
|
103
|
+
default: void 0
|
|
98
104
|
},
|
|
99
105
|
confirmLoading: {
|
|
100
106
|
type: Boolean,
|
|
101
|
-
required: false
|
|
107
|
+
required: false,
|
|
108
|
+
default: void 0
|
|
102
109
|
},
|
|
103
110
|
okButtonProps: {
|
|
104
111
|
type: Object,
|
|
105
|
-
required: false
|
|
112
|
+
required: false,
|
|
113
|
+
default: void 0
|
|
106
114
|
},
|
|
107
115
|
cancelButtonProps: {
|
|
108
116
|
type: Object,
|
|
109
|
-
required: false
|
|
117
|
+
required: false,
|
|
118
|
+
default: void 0
|
|
110
119
|
}
|
|
111
120
|
},
|
|
112
121
|
name: "ModalFooter",
|
|
@@ -48,19 +48,23 @@ const HookModal = /* @__PURE__ */ defineComponent((props, { expose }) => {
|
|
|
48
48
|
props: {
|
|
49
49
|
afterClose: {
|
|
50
50
|
type: Function,
|
|
51
|
-
required: true
|
|
51
|
+
required: true,
|
|
52
|
+
default: void 0
|
|
52
53
|
},
|
|
53
54
|
config: {
|
|
54
55
|
type: Object,
|
|
55
|
-
required: true
|
|
56
|
+
required: true,
|
|
57
|
+
default: void 0
|
|
56
58
|
},
|
|
57
59
|
onConfirm: {
|
|
58
60
|
type: Function,
|
|
59
|
-
required: false
|
|
61
|
+
required: false,
|
|
62
|
+
default: void 0
|
|
60
63
|
},
|
|
61
64
|
isSilent: {
|
|
62
65
|
type: Function,
|
|
63
|
-
required: false
|
|
66
|
+
required: false,
|
|
67
|
+
default: void 0
|
|
64
68
|
}
|
|
65
69
|
},
|
|
66
70
|
name: "HookModal",
|
|
@@ -2,7 +2,7 @@ import { VueNode } from "../_util/type.js";
|
|
|
2
2
|
import { SemanticClassNames, SemanticClassNamesType, SemanticStyles, SemanticStylesType } from "../_util/hooks/useMergeSemantic.js";
|
|
3
3
|
import "../_util/hooks/index.js";
|
|
4
4
|
import { IconType, NotificationSemantic } from "./interface.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as vue229 from "vue";
|
|
6
6
|
|
|
7
7
|
//#region src/notification/PurePanel.d.ts
|
|
8
8
|
type PurePanelClassNamesType = SemanticClassNamesType<PurePanelProps, NotificationSemantic>;
|
|
@@ -36,6 +36,6 @@ interface PurePanelProps extends Omit<PureContentProps, 'prefixCls' | 'children'
|
|
|
36
36
|
onClick?: (event: Event) => void;
|
|
37
37
|
}
|
|
38
38
|
/** @private Internal Component. Do not use in your production. */
|
|
39
|
-
declare const PurePanel:
|
|
39
|
+
declare const PurePanel: vue229.DefineSetupFnComponent<PurePanelProps, {}, {}, PurePanelProps & {}, vue229.PublicProps>;
|
|
40
40
|
//#endregion
|
|
41
41
|
export { PurePanel };
|
|
@@ -60,7 +60,8 @@ const PureContent = /* @__PURE__ */ defineComponent((props) => {
|
|
|
60
60
|
props: /* @__PURE__ */ mergeDefaults({
|
|
61
61
|
prefixCls: {
|
|
62
62
|
type: String,
|
|
63
|
-
required: true
|
|
63
|
+
required: true,
|
|
64
|
+
default: void 0
|
|
64
65
|
},
|
|
65
66
|
icon: {
|
|
66
67
|
type: [
|
|
@@ -71,7 +72,8 @@ const PureContent = /* @__PURE__ */ defineComponent((props) => {
|
|
|
71
72
|
null,
|
|
72
73
|
Object
|
|
73
74
|
],
|
|
74
|
-
required: false
|
|
75
|
+
required: false,
|
|
76
|
+
default: void 0
|
|
75
77
|
},
|
|
76
78
|
title: {
|
|
77
79
|
type: [
|
|
@@ -82,7 +84,8 @@ const PureContent = /* @__PURE__ */ defineComponent((props) => {
|
|
|
82
84
|
null,
|
|
83
85
|
Object
|
|
84
86
|
],
|
|
85
|
-
required: false
|
|
87
|
+
required: false,
|
|
88
|
+
default: void 0
|
|
86
89
|
},
|
|
87
90
|
description: {
|
|
88
91
|
type: [
|
|
@@ -93,7 +96,8 @@ const PureContent = /* @__PURE__ */ defineComponent((props) => {
|
|
|
93
96
|
null,
|
|
94
97
|
Object
|
|
95
98
|
],
|
|
96
|
-
required: false
|
|
99
|
+
required: false,
|
|
100
|
+
default: void 0
|
|
97
101
|
},
|
|
98
102
|
actions: {
|
|
99
103
|
type: [
|
|
@@ -104,23 +108,28 @@ const PureContent = /* @__PURE__ */ defineComponent((props) => {
|
|
|
104
108
|
null,
|
|
105
109
|
Object
|
|
106
110
|
],
|
|
107
|
-
required: false
|
|
111
|
+
required: false,
|
|
112
|
+
default: void 0
|
|
108
113
|
},
|
|
109
114
|
type: {
|
|
110
115
|
type: String,
|
|
111
|
-
required: false
|
|
116
|
+
required: false,
|
|
117
|
+
default: void 0
|
|
112
118
|
},
|
|
113
119
|
role: {
|
|
114
120
|
type: String,
|
|
115
|
-
required: false
|
|
121
|
+
required: false,
|
|
122
|
+
default: void 0
|
|
116
123
|
},
|
|
117
124
|
classes: {
|
|
118
125
|
type: Object,
|
|
119
|
-
required: true
|
|
126
|
+
required: true,
|
|
127
|
+
default: void 0
|
|
120
128
|
},
|
|
121
129
|
styles: {
|
|
122
130
|
type: Object,
|
|
123
|
-
required: true
|
|
131
|
+
required: true,
|
|
132
|
+
default: void 0
|
|
124
133
|
}
|
|
125
134
|
}, defaults),
|
|
126
135
|
name: "NoticePureContent",
|
|
@@ -210,7 +219,8 @@ const PurePanel = /* @__PURE__ */ defineComponent((props, { attrs }) => {
|
|
|
210
219
|
null,
|
|
211
220
|
Object
|
|
212
221
|
],
|
|
213
|
-
required: false
|
|
222
|
+
required: false,
|
|
223
|
+
default: void 0
|
|
214
224
|
},
|
|
215
225
|
duration: {
|
|
216
226
|
type: [
|
|
@@ -218,31 +228,38 @@ const PurePanel = /* @__PURE__ */ defineComponent((props, { attrs }) => {
|
|
|
218
228
|
Boolean,
|
|
219
229
|
null
|
|
220
230
|
],
|
|
221
|
-
required: false
|
|
231
|
+
required: false,
|
|
232
|
+
default: void 0
|
|
222
233
|
},
|
|
223
234
|
showProgress: {
|
|
224
235
|
type: Boolean,
|
|
225
|
-
required: false
|
|
236
|
+
required: false,
|
|
237
|
+
default: void 0
|
|
226
238
|
},
|
|
227
239
|
pauseOnHover: {
|
|
228
240
|
type: Boolean,
|
|
229
|
-
required: false
|
|
241
|
+
required: false,
|
|
242
|
+
default: void 0
|
|
230
243
|
},
|
|
231
244
|
closable: {
|
|
232
245
|
type: [Boolean, Object],
|
|
233
|
-
required: false
|
|
246
|
+
required: false,
|
|
247
|
+
default: void 0
|
|
234
248
|
},
|
|
235
249
|
prefixCls: {
|
|
236
250
|
type: String,
|
|
237
|
-
required: false
|
|
251
|
+
required: false,
|
|
252
|
+
default: void 0
|
|
238
253
|
},
|
|
239
254
|
classes: {
|
|
240
255
|
type: [Object, Function],
|
|
241
|
-
required: false
|
|
256
|
+
required: false,
|
|
257
|
+
default: void 0
|
|
242
258
|
},
|
|
243
259
|
styles: {
|
|
244
260
|
type: [Object, Function],
|
|
245
|
-
required: false
|
|
261
|
+
required: false,
|
|
262
|
+
default: void 0
|
|
246
263
|
},
|
|
247
264
|
closeIcon: {
|
|
248
265
|
type: [
|
|
@@ -253,16 +270,22 @@ const PurePanel = /* @__PURE__ */ defineComponent((props, { attrs }) => {
|
|
|
253
270
|
null,
|
|
254
271
|
Object
|
|
255
272
|
],
|
|
256
|
-
required: false
|
|
273
|
+
required: false,
|
|
274
|
+
default: void 0
|
|
257
275
|
},
|
|
258
276
|
props: {
|
|
259
277
|
type: Object,
|
|
260
|
-
required: false
|
|
278
|
+
required: false,
|
|
279
|
+
default: void 0
|
|
280
|
+
},
|
|
281
|
+
onClose: {
|
|
282
|
+
required: false,
|
|
283
|
+
default: void 0
|
|
261
284
|
},
|
|
262
|
-
onClose: { required: false },
|
|
263
285
|
onClick: {
|
|
264
286
|
type: Function,
|
|
265
|
-
required: false
|
|
287
|
+
required: false,
|
|
288
|
+
default: void 0
|
|
266
289
|
},
|
|
267
290
|
icon: {
|
|
268
291
|
type: [
|
|
@@ -273,7 +296,8 @@ const PurePanel = /* @__PURE__ */ defineComponent((props, { attrs }) => {
|
|
|
273
296
|
null,
|
|
274
297
|
Object
|
|
275
298
|
],
|
|
276
|
-
required: false
|
|
299
|
+
required: false,
|
|
300
|
+
default: void 0
|
|
277
301
|
},
|
|
278
302
|
title: {
|
|
279
303
|
type: [
|
|
@@ -284,7 +308,8 @@ const PurePanel = /* @__PURE__ */ defineComponent((props, { attrs }) => {
|
|
|
284
308
|
null,
|
|
285
309
|
Object
|
|
286
310
|
],
|
|
287
|
-
required: false
|
|
311
|
+
required: false,
|
|
312
|
+
default: void 0
|
|
288
313
|
},
|
|
289
314
|
description: {
|
|
290
315
|
type: [
|
|
@@ -295,7 +320,8 @@ const PurePanel = /* @__PURE__ */ defineComponent((props, { attrs }) => {
|
|
|
295
320
|
null,
|
|
296
321
|
Object
|
|
297
322
|
],
|
|
298
|
-
required: false
|
|
323
|
+
required: false,
|
|
324
|
+
default: void 0
|
|
299
325
|
},
|
|
300
326
|
actions: {
|
|
301
327
|
type: [
|
|
@@ -306,15 +332,18 @@ const PurePanel = /* @__PURE__ */ defineComponent((props, { attrs }) => {
|
|
|
306
332
|
null,
|
|
307
333
|
Object
|
|
308
334
|
],
|
|
309
|
-
required: false
|
|
335
|
+
required: false,
|
|
336
|
+
default: void 0
|
|
310
337
|
},
|
|
311
338
|
type: {
|
|
312
339
|
type: String,
|
|
313
|
-
required: false
|
|
340
|
+
required: false,
|
|
341
|
+
default: void 0
|
|
314
342
|
},
|
|
315
343
|
role: {
|
|
316
344
|
type: String,
|
|
317
|
-
required: false
|
|
345
|
+
required: false,
|
|
346
|
+
default: void 0
|
|
318
347
|
}
|
|
319
348
|
},
|
|
320
349
|
name: "NoticePurePanel",
|
|
@@ -57,11 +57,13 @@ const GlobalHolder = /* @__PURE__ */ defineComponent((props, { expose }) => {
|
|
|
57
57
|
}, { props: {
|
|
58
58
|
notificationConfig: {
|
|
59
59
|
type: Object,
|
|
60
|
-
required: true
|
|
60
|
+
required: true,
|
|
61
|
+
default: void 0
|
|
61
62
|
},
|
|
62
63
|
sync: {
|
|
63
64
|
type: Function,
|
|
64
|
-
required: true
|
|
65
|
+
required: true,
|
|
66
|
+
default: void 0
|
|
65
67
|
}
|
|
66
68
|
} });
|
|
67
69
|
const GlobalHolderWrapper = /* @__PURE__ */ defineComponent((props) => {
|
|
@@ -97,7 +99,8 @@ const GlobalHolderWrapper = /* @__PURE__ */ defineComponent((props) => {
|
|
|
97
99
|
};
|
|
98
100
|
}, { props: { onReady: {
|
|
99
101
|
type: Function,
|
|
100
|
-
required: false
|
|
102
|
+
required: false,
|
|
103
|
+
default: void 0
|
|
101
104
|
} } });
|
|
102
105
|
function flushNotificationQueue() {
|
|
103
106
|
if (!notification) {
|
|
@@ -33,7 +33,8 @@ const Wrapper = /* @__PURE__ */ defineComponent((props, { slots }) => {
|
|
|
33
33
|
};
|
|
34
34
|
}, { props: { prefixCls: {
|
|
35
35
|
type: String,
|
|
36
|
-
required: true
|
|
36
|
+
required: true,
|
|
37
|
+
default: void 0
|
|
37
38
|
} } });
|
|
38
39
|
const renderNotifications = (node, { prefixCls, key }) => {
|
|
39
40
|
return createVNode(Wrapper, {
|
|
@@ -94,47 +95,58 @@ const Holder = /* @__PURE__ */ defineComponent((props, { expose }) => {
|
|
|
94
95
|
props: /* @__PURE__ */ mergeDefaults({
|
|
95
96
|
top: {
|
|
96
97
|
type: Number,
|
|
97
|
-
required: false
|
|
98
|
+
required: false,
|
|
99
|
+
default: void 0
|
|
98
100
|
},
|
|
99
101
|
bottom: {
|
|
100
102
|
type: Number,
|
|
101
|
-
required: false
|
|
103
|
+
required: false,
|
|
104
|
+
default: void 0
|
|
102
105
|
},
|
|
103
106
|
prefixCls: {
|
|
104
107
|
type: String,
|
|
105
|
-
required: false
|
|
108
|
+
required: false,
|
|
109
|
+
default: void 0
|
|
106
110
|
},
|
|
107
111
|
getContainer: {
|
|
108
112
|
type: Function,
|
|
109
|
-
required: false
|
|
113
|
+
required: false,
|
|
114
|
+
default: void 0
|
|
110
115
|
},
|
|
111
116
|
placement: {
|
|
112
117
|
type: String,
|
|
113
|
-
required: false
|
|
118
|
+
required: false,
|
|
119
|
+
default: void 0
|
|
114
120
|
},
|
|
115
121
|
maxCount: {
|
|
116
122
|
type: Number,
|
|
117
|
-
required: false
|
|
123
|
+
required: false,
|
|
124
|
+
default: void 0
|
|
118
125
|
},
|
|
119
126
|
rtl: {
|
|
120
127
|
type: Boolean,
|
|
121
|
-
required: false
|
|
128
|
+
required: false,
|
|
129
|
+
default: void 0
|
|
122
130
|
},
|
|
123
131
|
stack: {
|
|
124
132
|
type: [Boolean, Object],
|
|
125
|
-
required: false
|
|
133
|
+
required: false,
|
|
134
|
+
default: void 0
|
|
126
135
|
},
|
|
127
136
|
duration: {
|
|
128
137
|
type: [Number, Boolean],
|
|
129
|
-
required: false
|
|
138
|
+
required: false,
|
|
139
|
+
default: void 0
|
|
130
140
|
},
|
|
131
141
|
showProgress: {
|
|
132
142
|
type: Boolean,
|
|
133
|
-
required: false
|
|
143
|
+
required: false,
|
|
144
|
+
default: void 0
|
|
134
145
|
},
|
|
135
146
|
pauseOnHover: {
|
|
136
147
|
type: Boolean,
|
|
137
|
-
required: false
|
|
148
|
+
required: false,
|
|
149
|
+
default: void 0
|
|
138
150
|
},
|
|
139
151
|
closeIcon: {
|
|
140
152
|
type: [
|
|
@@ -145,17 +157,23 @@ const Holder = /* @__PURE__ */ defineComponent((props, { expose }) => {
|
|
|
145
157
|
null,
|
|
146
158
|
Object
|
|
147
159
|
],
|
|
148
|
-
required: false
|
|
160
|
+
required: false,
|
|
161
|
+
default: void 0
|
|
149
162
|
},
|
|
150
163
|
classes: {
|
|
151
164
|
type: [Object, Function],
|
|
152
|
-
required: false
|
|
165
|
+
required: false,
|
|
166
|
+
default: void 0
|
|
153
167
|
},
|
|
154
168
|
styles: {
|
|
155
169
|
type: [Object, Function],
|
|
156
|
-
required: false
|
|
170
|
+
required: false,
|
|
171
|
+
default: void 0
|
|
157
172
|
},
|
|
158
|
-
onAllRemoved: {
|
|
173
|
+
onAllRemoved: {
|
|
174
|
+
required: false,
|
|
175
|
+
default: void 0
|
|
176
|
+
}
|
|
159
177
|
}, holderDefaultProps),
|
|
160
178
|
name: "NotificationHolder",
|
|
161
179
|
inheritAttrs: false
|
package/dist/package.d.ts
CHANGED
|
@@ -1,5 +1,111 @@
|
|
|
1
1
|
//#region package.d.ts
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
declare const _exports: {
|
|
3
|
+
name: string;
|
|
4
|
+
type: string;
|
|
5
|
+
version: string;
|
|
6
|
+
description: string;
|
|
7
|
+
author: {
|
|
8
|
+
email: string;
|
|
9
|
+
name: string;
|
|
10
|
+
};
|
|
11
|
+
license: string;
|
|
12
|
+
exports: {
|
|
13
|
+
".": {
|
|
14
|
+
types: string;
|
|
15
|
+
import: string;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
"./dist/*": {
|
|
19
|
+
types: string;
|
|
20
|
+
import: string;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
"./dist/locale/*": {
|
|
24
|
+
types: string;
|
|
25
|
+
import: string;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
"./locale/*": {
|
|
29
|
+
types: string;
|
|
30
|
+
import: string;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
"./global.d.ts": string;
|
|
34
|
+
"./global": string;
|
|
35
|
+
"./dist/reset.css": string;
|
|
36
|
+
"./web-types.json": string;
|
|
37
|
+
"./web-tags.json": string;
|
|
38
|
+
"./package.json": string;
|
|
39
|
+
};
|
|
40
|
+
unpkg: string;
|
|
41
|
+
jsdelivr: string;
|
|
42
|
+
files: string[];
|
|
43
|
+
contributes: {
|
|
44
|
+
html: {
|
|
45
|
+
customData: string[];
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
scripts: {
|
|
49
|
+
test: string;
|
|
50
|
+
build: string;
|
|
51
|
+
"build:esm": string;
|
|
52
|
+
"build:umd": string;
|
|
53
|
+
"build:web-types": string;
|
|
54
|
+
prepublish: string;
|
|
55
|
+
bump: string;
|
|
56
|
+
};
|
|
57
|
+
dependencies: {
|
|
58
|
+
"@ant-design/colors": string;
|
|
59
|
+
"@ant-design/fast-color": string;
|
|
60
|
+
"@antdv-next/cssinjs": string;
|
|
61
|
+
"@antdv-next/icons": string;
|
|
62
|
+
"@v-c/async-validator": string;
|
|
63
|
+
"@v-c/cascader": string;
|
|
64
|
+
"@v-c/checkbox": string;
|
|
65
|
+
"@v-c/collapse": string;
|
|
66
|
+
"@v-c/color-picker": string;
|
|
67
|
+
"@v-c/dialog": string;
|
|
68
|
+
"@v-c/drawer": string;
|
|
69
|
+
"@v-c/dropdown": string;
|
|
70
|
+
"@v-c/image": string;
|
|
71
|
+
"@v-c/input": string;
|
|
72
|
+
"@v-c/input-number": string;
|
|
73
|
+
"@v-c/mentions": string;
|
|
74
|
+
"@v-c/menu": string;
|
|
75
|
+
"@v-c/mutate-observer": string;
|
|
76
|
+
"@v-c/notification": string;
|
|
77
|
+
"@v-c/pagination": string;
|
|
78
|
+
"@v-c/picker": string;
|
|
79
|
+
"@v-c/progress": string;
|
|
80
|
+
"@v-c/qrcode": string;
|
|
81
|
+
"@v-c/rate": string;
|
|
82
|
+
"@v-c/resize-observer": string;
|
|
83
|
+
"@v-c/segmented": string;
|
|
84
|
+
"@v-c/select": string;
|
|
85
|
+
"@v-c/slick": string;
|
|
86
|
+
"@v-c/slider": string;
|
|
87
|
+
"@v-c/steps": string;
|
|
88
|
+
"@v-c/switch": string;
|
|
89
|
+
"@v-c/table": string;
|
|
90
|
+
"@v-c/tabs": string;
|
|
91
|
+
"@v-c/textarea": string;
|
|
92
|
+
"@v-c/tooltip": string;
|
|
93
|
+
"@v-c/tour": string;
|
|
94
|
+
"@v-c/tree": string;
|
|
95
|
+
"@v-c/tree-select": string;
|
|
96
|
+
"@v-c/trigger": string;
|
|
97
|
+
"@v-c/upload": string;
|
|
98
|
+
"@v-c/util": string;
|
|
99
|
+
"@v-c/virtual-list": string;
|
|
100
|
+
"@vueuse/core": string;
|
|
101
|
+
dayjs: string;
|
|
102
|
+
defu: string;
|
|
103
|
+
"es-toolkit": string;
|
|
104
|
+
"scroll-into-view-if-needed": string;
|
|
105
|
+
};
|
|
106
|
+
"web-types": string;
|
|
107
|
+
browserslist: string[];
|
|
108
|
+
};
|
|
109
|
+
declare let _version2: typeof _exports["version"];
|
|
4
110
|
//#endregion
|
|
5
|
-
export {
|
|
111
|
+
export { _version2 };
|
package/dist/package.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { PaginationEmits, PaginationProps, PaginationSlots } from "./interface.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue363 from "vue";
|
|
3
3
|
import { SlotsType } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/pagination/Pagination.d.ts
|
|
6
|
-
declare const Pagination:
|
|
6
|
+
declare const Pagination: vue363.DefineSetupFnComponent<PaginationProps, PaginationEmits, SlotsType<PaginationSlots>, PaginationProps & {
|
|
7
7
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
8
|
-
},
|
|
8
|
+
}, vue363.PublicProps>;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Pagination };
|