antdv-next 1.0.0-alpha.4 → 1.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (266) hide show
  1. package/dist/_util/PurePanel.js +106 -0
  2. package/dist/_util/hooks/useMergeSemantic.js +3 -3
  3. package/dist/_util/styleUtils.js +10 -0
  4. package/dist/_util/tools.js +2 -1
  5. package/dist/_util/wave/WaveEffect.js +6 -1
  6. package/dist/_util/wave/style.js +4 -3
  7. package/dist/affix/index.d.ts +3 -3
  8. package/dist/alert/Alert.d.ts +4 -3
  9. package/dist/alert/Alert.js +1 -1
  10. package/dist/anchor/Anchor.d.ts +5 -5
  11. package/dist/anchor/AnchorLink.js +2 -2
  12. package/dist/anchor/index.d.ts +1 -1
  13. package/dist/antd.js +123 -115
  14. package/dist/app/App.d.ts +2 -2
  15. package/dist/auto-complete/index.d.ts +78 -0
  16. package/dist/auto-complete/index.js +634 -0
  17. package/dist/avatar/Avatar.d.ts +3 -3
  18. package/dist/avatar/AvatarGroup.d.ts +2 -2
  19. package/dist/badge/Ribbon.d.ts +3 -3
  20. package/dist/badge/ScrollNumber.js +1 -1
  21. package/dist/badge/SingleNumber.js +1 -1
  22. package/dist/badge/index.d.ts +3 -3
  23. package/dist/badge/index.js +5 -3
  24. package/dist/badge/style/index.js +1 -1
  25. package/dist/breadcrumb/Breadcrumb.d.ts +5 -5
  26. package/dist/breadcrumb/Breadcrumb.js +0 -8
  27. package/dist/breadcrumb/BreadcrumbItem.d.ts +1 -1
  28. package/dist/breadcrumb/BreadcrumbItem.js +1 -17
  29. package/dist/breadcrumb/index.d.ts +1 -1
  30. package/dist/button/Button.d.ts +3 -3
  31. package/dist/button/style/variant.js +116 -104
  32. package/dist/calendar/Header.js +1 -1
  33. package/dist/calendar/generateCalendar.d.ts +3 -3
  34. package/dist/calendar/index.d.ts +3 -3
  35. package/dist/calendar/style/index.d.ts +1 -1
  36. package/dist/calendar/style/index.js +1 -1
  37. package/dist/card/Card.d.ts +3 -3
  38. package/dist/card/CardGrid.d.ts +2 -2
  39. package/dist/card/CardMeta.d.ts +3 -3
  40. package/dist/card/style/index.js +11 -2
  41. package/dist/carousel/index.d.ts +3 -3
  42. package/dist/cascader/Panel.d.ts +3 -3
  43. package/dist/cascader/index.d.ts +4 -3
  44. package/dist/cascader/index.js +3 -1
  45. package/dist/checkbox/Checkbox.d.ts +3 -3
  46. package/dist/checkbox/Group.d.ts +3 -3
  47. package/dist/checkbox/style/index.d.ts +1 -1
  48. package/dist/collapse/Collapse.d.ts +3 -3
  49. package/dist/color-picker/ColorPicker.d.ts +3 -3
  50. package/dist/color-picker/ColorPicker.js +13 -2
  51. package/dist/components.d.ts +11 -8
  52. package/dist/components.js +7 -4
  53. package/dist/config-provider/context.d.ts +2 -1
  54. package/dist/config-provider/context.js +3 -3
  55. package/dist/config-provider/define.d.ts +14 -0
  56. package/dist/config-provider/index.d.ts +3 -3
  57. package/dist/config-provider/index.js +21 -2
  58. package/dist/date-picker/generatePicker/generateRangePicker.js +2 -2
  59. package/dist/date-picker/generatePicker/generateSinglePicker.js +3 -2
  60. package/dist/date-picker/generatePicker/index.d.ts +17 -17
  61. package/dist/date-picker/index.d.ts +29 -27
  62. package/dist/date-picker/index.js +3 -0
  63. package/dist/date-picker/style/panel.js +4 -4
  64. package/dist/descriptions/index.d.ts +3 -3
  65. package/dist/divider/index.d.ts +2 -2
  66. package/dist/drawer/index.d.ts +6 -4
  67. package/dist/drawer/index.js +17 -5
  68. package/dist/drawer/useFocusable.d.ts +10 -0
  69. package/dist/drawer/useFocusable.js +18 -0
  70. package/dist/dropdown/dropdown.d.ts +4 -4
  71. package/dist/dropdown/dropdown.js +12 -3
  72. package/dist/empty/index.d.ts +3 -3
  73. package/dist/flex/index.d.ts +3 -3
  74. package/dist/flex/index.js +1 -1
  75. package/dist/float-button/BackTop.d.ts +3 -3
  76. package/dist/float-button/BackTop.js +4 -1
  77. package/dist/float-button/FloatButton.d.ts +3 -3
  78. package/dist/float-button/FloatButtonGroup.d.ts +3 -3
  79. package/dist/float-button/PurePanel.js +5 -5
  80. package/dist/float-button/style/button.js +4 -4
  81. package/dist/float-button/style/group.js +12 -12
  82. package/dist/form/ErrorList.js +4 -7
  83. package/dist/form/Form.d.ts +7 -3
  84. package/dist/form/Form.js +39 -22
  85. package/dist/form/FormItem/ItemHolder.js +0 -1
  86. package/dist/form/FormItem/index.d.ts +5 -5
  87. package/dist/form/FormItem/index.js +48 -29
  88. package/dist/form/FormItemInput.js +17 -19
  89. package/dist/form/style/index.js +3 -2
  90. package/dist/form/utils/valueUtil.js +4 -1
  91. package/dist/grid/col.js +7 -2
  92. package/dist/grid/index.d.ts +2 -2
  93. package/dist/grid/row.d.ts +2 -2
  94. package/dist/grid/style/index.js +7 -5
  95. package/dist/image/PreviewGroup.d.ts +2 -2
  96. package/dist/image/index.d.ts +7 -4
  97. package/dist/image/index.js +2 -0
  98. package/dist/image/style/index.d.ts +1 -1
  99. package/dist/index.d.ts +16 -12
  100. package/dist/index.js +7 -4
  101. package/dist/input/Input.js +1 -1
  102. package/dist/input/OTP/index.js +1 -1
  103. package/dist/input/TextArea.d.ts +3 -3
  104. package/dist/input/TextArea.js +1 -1
  105. package/dist/input/index.d.ts +11 -11
  106. package/dist/input/style/index.d.ts +2 -2
  107. package/dist/input-number/index.d.ts +4 -4
  108. package/dist/input-number/index.js +2 -6
  109. package/dist/input-number/style/index.js +18 -17
  110. package/dist/layout/index.d.ts +6 -6
  111. package/dist/layout/layout.d.ts +2 -2
  112. package/dist/layout/style/sider.js +1 -1
  113. package/dist/masonry/Masonry.d.ts +3 -3
  114. package/dist/masonry/Masonry.js +8 -6
  115. package/dist/mentions/index.d.ts +4 -3
  116. package/dist/mentions/index.js +4 -2
  117. package/dist/mentions/style/index.js +18 -17
  118. package/dist/menu/MenuDivider.d.ts +2 -2
  119. package/dist/menu/MenuItem.d.ts +3 -3
  120. package/dist/menu/index.d.ts +5 -5
  121. package/dist/menu/style/horizontal.js +1 -1
  122. package/dist/menu/style/index.js +5 -5
  123. package/dist/message/PurePanel.d.ts +2 -2
  124. package/dist/message/useMessage.d.ts +1 -0
  125. package/dist/modal/ConfirmDialog.js +1 -1
  126. package/dist/modal/Modal.d.ts +3 -3
  127. package/dist/modal/Modal.js +17 -6
  128. package/dist/modal/PurePanel.js +305 -0
  129. package/dist/modal/index.js +2 -0
  130. package/dist/modal/interface.d.ts +3 -1
  131. package/dist/notification/PurePanel.d.ts +2 -2
  132. package/dist/notification/PurePanel.js +4 -3
  133. package/dist/notification/style/index.d.ts +1 -1
  134. package/dist/notification/useNotification.d.ts +2 -1
  135. package/dist/notification/useNotification.js +7 -7
  136. package/dist/package.d.ts +143 -3
  137. package/dist/package.js +1 -1
  138. package/dist/pagination/Pagination.d.ts +3 -3
  139. package/dist/pagination/Pagination.js +1 -1
  140. package/dist/pagination/style/index.js +61 -50
  141. package/dist/popconfirm/PurePanel.d.ts +2 -2
  142. package/dist/popconfirm/PurePanel.js +2 -1
  143. package/dist/popconfirm/index.d.ts +3 -3
  144. package/dist/popover/PurePanel.js +4 -2
  145. package/dist/popover/index.d.ts +9 -6
  146. package/dist/popover/index.js +2 -1
  147. package/dist/popover/style/index.js +11 -8
  148. package/dist/progress/progress.d.ts +3 -3
  149. package/dist/qrcode/index.d.ts +3 -3
  150. package/dist/radio/index.d.ts +5 -5
  151. package/dist/radio/radio.d.ts +3 -3
  152. package/dist/radio/style/index.js +1 -1
  153. package/dist/rate/index.d.ts +3 -3
  154. package/dist/rate/style/index.d.ts +1 -1
  155. package/dist/result/index.d.ts +3 -3
  156. package/dist/result/noFound.d.ts +2 -2
  157. package/dist/result/serverError.d.ts +2 -2
  158. package/dist/segmented/index.d.ts +3 -3
  159. package/dist/select/index.d.ts +6 -6
  160. package/dist/select/index.js +5 -3
  161. package/dist/select/style/dropdown.js +1 -1
  162. package/dist/select/style/select-input-multiple.js +31 -29
  163. package/dist/select/style/select-input.js +50 -44
  164. package/dist/skeleton/Avatar.d.ts +2 -2
  165. package/dist/skeleton/Button.d.ts +2 -2
  166. package/dist/skeleton/Image.d.ts +2 -2
  167. package/dist/skeleton/Input.d.ts +2 -2
  168. package/dist/skeleton/Node.d.ts +3 -3
  169. package/dist/skeleton/Skeleton.d.ts +3 -3
  170. package/dist/skeleton/Skeleton.js +1 -1
  171. package/dist/skeleton/Title.d.ts +1 -2
  172. package/dist/skeleton/Title.js +0 -5
  173. package/dist/slider/index.d.ts +3 -3
  174. package/dist/space/Compact.d.ts +2 -0
  175. package/dist/space/Compact.js +17 -4
  176. package/dist/space/index.d.ts +5 -5
  177. package/dist/space/style/addon.js +20 -19
  178. package/dist/spin/index.d.ts +3 -3
  179. package/dist/spin/index.js +7 -6
  180. package/dist/splitter/SplitBar.js +9 -2
  181. package/dist/splitter/Splitter.d.ts +3 -3
  182. package/dist/splitter/Splitter.js +2 -1
  183. package/dist/splitter/index.d.ts +2 -2
  184. package/dist/splitter/style/index.js +6 -6
  185. package/dist/statistic/Statistic.d.ts +3 -3
  186. package/dist/statistic/Timer.d.ts +5 -5
  187. package/dist/statistic/index.d.ts +5 -5
  188. package/dist/steps/ProgressIcon.js +9 -2
  189. package/dist/steps/index.d.ts +3 -3
  190. package/dist/steps/index.js +7 -4
  191. package/dist/steps/style/horizontal.js +13 -10
  192. package/dist/steps/style/icon.js +12 -9
  193. package/dist/steps/style/index.js +19 -18
  194. package/dist/steps/style/inline.js +20 -17
  195. package/dist/steps/style/label-placement.js +22 -20
  196. package/dist/steps/style/nav.js +7 -5
  197. package/dist/steps/style/panel.js +34 -32
  198. package/dist/steps/style/progress-dot.js +10 -8
  199. package/dist/steps/style/progress.js +29 -58
  200. package/dist/steps/style/rtl.js +6 -4
  201. package/dist/steps/style/small.js +10 -8
  202. package/dist/steps/style/status.js +124 -121
  203. package/dist/steps/style/util.js +7 -4
  204. package/dist/steps/style/vertical.js +17 -14
  205. package/dist/style/placementArrow.js +7 -5
  206. package/dist/switch/index.d.ts +3 -3
  207. package/dist/table/Column.d.ts +3 -3
  208. package/dist/table/ColumnGroup.d.ts +3 -3
  209. package/dist/table/InternalTable.js +20 -6
  210. package/dist/table/Table.d.ts +3 -3
  211. package/dist/table/hooks/useFilter/FilterDropdown.js +1 -1
  212. package/dist/table/style/index.js +3 -3
  213. package/dist/table/style/radius.js +6 -0
  214. package/dist/table/style/virtual.js +1 -1
  215. package/dist/tabs/TabPane.d.ts +3 -3
  216. package/dist/tabs/index.d.ts +3 -3
  217. package/dist/tag/CheckableTag.d.ts +3 -3
  218. package/dist/tag/CheckableTagGroup.d.ts +3 -3
  219. package/dist/tag/CheckableTagGroup.js +3 -3
  220. package/dist/tag/index.d.ts +3 -3
  221. package/dist/theme/context.d.ts +2 -2
  222. package/dist/theme/index.d.ts +1 -1
  223. package/dist/theme/useToken.d.ts +2 -2
  224. package/dist/theme/useToken.js +1 -1
  225. package/dist/theme/util/genStyleUtils.d.ts +2 -2
  226. package/dist/theme/util/genStyleUtils.js +8 -5
  227. package/dist/theme/util/useResetIconStyle.js +1 -1
  228. package/dist/time-picker/index.d.ts +8 -7
  229. package/dist/time-picker/index.js +17 -13
  230. package/dist/timeline/Timeline.d.ts +3 -3
  231. package/dist/tooltip/PurePanel.d.ts +2 -2
  232. package/dist/tooltip/PurePanel.js +12 -8
  233. package/dist/tooltip/UniqueProvider/index.d.ts +2 -2
  234. package/dist/tooltip/index.d.ts +3 -3
  235. package/dist/tooltip/index.js +2 -3
  236. package/dist/tooltip/style/index.js +10 -8
  237. package/dist/tooltip/util.js +5 -3
  238. package/dist/tour/PurePanel.js +243 -0
  239. package/dist/tour/index.d.ts +3 -3
  240. package/dist/tour/index.js +2 -0
  241. package/dist/tour/style/index.js +5 -4
  242. package/dist/transfer/Actions.d.ts +2 -2
  243. package/dist/transfer/Section.d.ts +2 -2
  244. package/dist/transfer/Transfer.d.ts +3 -3
  245. package/dist/transfer/Transfer.js +2 -2
  246. package/dist/transfer/search.d.ts +3 -3
  247. package/dist/tree/DirectoryTree.d.ts +3 -3
  248. package/dist/tree/Tree.d.ts +3 -3
  249. package/dist/tree/style/index.d.ts +1 -1
  250. package/dist/tree-select/index.d.ts +5 -4
  251. package/dist/tree-select/index.js +3 -1
  252. package/dist/typography/Link.d.ts +3 -3
  253. package/dist/typography/Paragraph.d.ts +3 -3
  254. package/dist/typography/Text.d.ts +3 -3
  255. package/dist/typography/Title.d.ts +3 -3
  256. package/dist/typography/Typography.d.ts +3 -3
  257. package/dist/typography/index.d.ts +9 -9
  258. package/dist/upload/Dragger.d.ts +6 -3
  259. package/dist/upload/Upload.d.ts +3 -3
  260. package/dist/upload/Upload.js +15 -1
  261. package/dist/upload/index.d.ts +6 -3
  262. package/dist/upload/interface.d.ts +4 -4
  263. package/global.d.ts +3 -0
  264. package/package.json +69 -17
  265. package/web-tags.json +5069 -0
  266. package/web-types.json +14335 -0
@@ -6,6 +6,7 @@ import "../_util/hooks/index.js";
6
6
  import { ClosableType } from "../_util/hooks/useClosable.js";
7
7
  import { ButtonProps, LegacyButtonType } from "../button/Button.js";
8
8
  import "../button/index.js";
9
+ import { FocusableConfig, OmitFocusType } from "../drawer/useFocusable.js";
9
10
  import { DirectionType } from "../config-provider/context.js";
10
11
  import { CSSProperties } from "vue";
11
12
  import { DialogProps } from "@v-c/dialog";
@@ -14,7 +15,7 @@ import { DialogProps } from "@v-c/dialog";
14
15
  type SemanticName = 'root' | 'header' | 'body' | 'footer' | 'container' | 'title' | 'wrapper' | 'mask';
15
16
  type ModalClassNamesType = SemanticClassNamesType<ModalProps, SemanticName>;
16
17
  type ModalStylesType = SemanticStylesType<ModalProps, SemanticName>;
17
- interface ModalCommonProps extends Omit<DialogProps, 'footer' | 'width' | 'onClose' | 'animation' | 'maskAnimation' | 'transitionName' | 'maskTransitionName' | 'mask' | 'classNames' | 'styles' | 'modalRender' | 'rootStyle' | 'style'> {
18
+ interface ModalCommonProps extends Omit<DialogProps, 'footer' | 'width' | 'onClose' | 'animation' | 'maskAnimation' | 'transitionName' | 'maskTransitionName' | 'mask' | 'classNames' | 'styles' | 'modalRender' | 'rootStyle' | 'style' | OmitFocusType> {
18
19
  footer?: VueNode | ((params: {
19
20
  originNode: VueNode;
20
21
  extra: {
@@ -85,6 +86,7 @@ interface ModalProps extends ModalCommonProps {
85
86
  * @since 5.18.0
86
87
  */
87
88
  loading?: boolean;
89
+ focusable?: FocusableConfig;
88
90
  }
89
91
  interface ModalEmits {
90
92
  /** Specify a function that will be called when a user clicks the OK button */
@@ -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 vue335 from "vue";
5
+ import * as vue340 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: vue335.DefineSetupFnComponent<PurePanelProps, {}, {}, PurePanelProps & {}, vue335.PublicProps>;
39
+ declare const PurePanel: vue340.DefineSetupFnComponent<PurePanelProps, {}, {}, PurePanelProps & {}, vue340.PublicProps>;
40
40
  //#endregion
41
41
  export { PurePanel };
@@ -1,7 +1,7 @@
1
1
  import { useBaseConfig, useComponentBaseConfig } from "../config-provider/context.js";
2
2
  import { pureAttrs, useMergeSemantic, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
3
3
  import "../_util/hooks/index.js";
4
- import { toPropsRefs } from "../_util/tools.js";
4
+ import { getSlotPropsFnRun, toPropsRefs } from "../_util/tools.js";
5
5
  import useCSSVarCls_default from "../config-provider/hooks/useCSSVarCls.js";
6
6
  import useClosable, { pickClosable } from "../_util/hooks/useClosable.js";
7
7
  import style_default from "./style/index.js";
@@ -152,7 +152,7 @@ const omitKeys = [
152
152
  "closable"
153
153
  ];
154
154
  /** @private Internal Component. Do not use in your production. */
155
- const PurePanel = /* @__PURE__ */ defineComponent((props, { attrs }) => {
155
+ const PurePanel = /* @__PURE__ */ defineComponent((props, { attrs, slots }) => {
156
156
  const { classes: notificationClassNames, styles } = toPropsRefs(props, "classes", "styles");
157
157
  const { getPrefixCls, class: contextClassName, style: contextStyle, classes: contextClassNames, styles: contextStyles } = useComponentBaseConfig("notification", props);
158
158
  const { notification: notificationContext } = useBaseConfig("notification", props);
@@ -184,6 +184,7 @@ const PurePanel = /* @__PURE__ */ defineComponent((props, { attrs }) => {
184
184
  const notificationClassName = attrs.class;
185
185
  const style = attrs.style;
186
186
  const restProps = omit(props, omitKeys);
187
+ const actions = getSlotPropsFnRun(slots, props, "actions");
187
188
  return createVNode("div", {
188
189
  "class": clsx(`${noticePrefixCls}-pure-panel`, hashId.value, notificationClassName, cssVarCls.value, rootCls.value, mergedClassNames.value?.root),
189
190
  "style": mergedStyles.value.root
@@ -204,7 +205,7 @@ const PurePanel = /* @__PURE__ */ defineComponent((props, { attrs }) => {
204
205
  "type": props.type,
205
206
  "title": props.title,
206
207
  "description": props.description,
207
- "actions": props.actions
208
+ "actions": actions
208
209
  }, null)
209
210
  }), null)]);
210
211
  };
@@ -1,6 +1,6 @@
1
1
  import "../../theme/internal.js";
2
- import "vue";
3
2
  import { CSSObject } from "@antdv-next/cssinjs";
3
+ import "vue";
4
4
 
5
5
  //#region src/notification/style/index.d.ts
6
6
  /** Component only token. Which will handle additional calculation of alias token */
@@ -1,8 +1,9 @@
1
1
  import { NotificationConfig, NotificationInstance } from "./interface.js";
2
+ import { MaybeRef } from "@v-c/util/dist/type";
2
3
  import * as vue_jsx_runtime10 from "vue/jsx-runtime";
3
4
 
4
5
  //#region src/notification/useNotification.d.ts
5
6
 
6
- declare function useNotification(notificationConfig?: NotificationConfig): readonly [NotificationInstance, () => vue_jsx_runtime10.JSX.Element];
7
+ declare function useNotification(notificationConfig?: MaybeRef<NotificationConfig>): readonly [NotificationInstance, () => vue_jsx_runtime10.JSX.Element];
7
8
  //#endregion
8
9
  export { useNotification };
@@ -10,7 +10,7 @@ import { computeClosable, pickClosable } from "../_util/hooks/useClosable.js";
10
10
  import style_default from "./style/index.js";
11
11
  import { PureContent, getCloseIcon } from "./PurePanel.js";
12
12
  import { getCloseIconConfig, getMotion, getPlacementStyle } from "./util.js";
13
- import { computed, createVNode, defineComponent, isVNode, mergeDefaults, mergeProps, shallowRef } from "vue";
13
+ import { computed, createVNode, defineComponent, isVNode, mergeDefaults, mergeProps, shallowRef, unref } from "vue";
14
14
  import { clsx } from "@v-c/util";
15
15
  import { useNotification, useNotificationProvider } from "@v-c/notification";
16
16
 
@@ -60,7 +60,7 @@ const Holder = /* @__PURE__ */ defineComponent((props, { expose }) => {
60
60
  };
61
61
  const getClassName = () => clsx({ [`${prefixCls.value}-rtl`]: props.rtl ?? direction.value === "rtl" });
62
62
  const getNotificationMotion = () => getMotion(prefixCls.value);
63
- const [api, holder] = useNotification({
63
+ const [api, holder] = useNotification(computed(() => ({
64
64
  prefixCls: prefixCls.value,
65
65
  style: getStyle,
66
66
  className: getClassName,
@@ -78,7 +78,7 @@ const Holder = /* @__PURE__ */ defineComponent((props, { expose }) => {
78
78
  offset: 8,
79
79
  gap: token.value?.margin
80
80
  }
81
- });
81
+ })));
82
82
  const mergedProps = computed(() => props);
83
83
  const [mergedClassNames, mergedStyles] = useMergeSemantic(useToArr(contextClassNames, classes), useToArr(contextStyles, styles), useToProps(mergedProps));
84
84
  expose({
@@ -195,9 +195,9 @@ function useInternalNotification(notificationConfig) {
195
195
  const { title, description, icon, type, actions, class: className, style, role = "alert", closeIcon, closable, classes: configClassNames = {}, styles = {},...restConfig } = config;
196
196
  const mergedTitle = title;
197
197
  const mergedActions = actions;
198
- const realCloseIcon = getCloseIcon(noticePrefixCls, getCloseIconConfig(closeIcon, notificationConfig, notification));
198
+ const realCloseIcon = getCloseIcon(noticePrefixCls, getCloseIconConfig(closeIcon, unref(notificationConfig), notification));
199
199
  const [rawClosable, mergedCloseIcon, , ariaProps] = computeClosable(pickClosable(computed(() => ({
200
- ...notificationConfig || {},
200
+ ...unref(notificationConfig) || {},
201
201
  ...config
202
202
  }))), pickClosable(notificationContext), computed(() => ({
203
203
  closable: true,
@@ -213,7 +213,7 @@ function useInternalNotification(notificationConfig) {
213
213
  const mergedClassNames = mergeClassNames(void 0, originClassNames, semanticClassNames);
214
214
  const mergedStyles = mergeStyles(originStyles, semanticStyles);
215
215
  return originOpen({
216
- placement: notificationConfig?.placement ?? DEFAULT_PLACEMENT,
216
+ placement: unref(notificationConfig)?.placement ?? DEFAULT_PLACEMENT,
217
217
  ...restConfig,
218
218
  content: createVNode(PureContent, {
219
219
  "prefixCls": noticePrefixCls,
@@ -257,7 +257,7 @@ function useInternalNotification(notificationConfig) {
257
257
  return clone;
258
258
  };
259
259
  const holderContext = () => {
260
- return createVNode(Holder, mergeProps({ "key": "notificaion-holder" }, notificationConfig, { "ref": holderRef }), null);
260
+ return createVNode(Holder, mergeProps({ "key": "notificaion-holder" }, unref(notificationConfig), { "ref": holderRef }), null);
261
261
  };
262
262
  return [wrapAPIFn(), holderContext];
263
263
  }
package/dist/package.d.ts CHANGED
@@ -1,5 +1,145 @@
1
1
  //#region package.d.ts
2
-
3
- declare let version: string;
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
+ "./date-picker/*": {
34
+ types: string;
35
+ import: string;
36
+ default: string;
37
+ };
38
+ "./date-picker/locale/*": {
39
+ types: string;
40
+ import: string;
41
+ default: string;
42
+ };
43
+ "./time-picker/*": {
44
+ types: string;
45
+ import: string;
46
+ default: string;
47
+ };
48
+ "./time-picker/locale/*": {
49
+ types: string;
50
+ import: string;
51
+ default: string;
52
+ };
53
+ "./date-picker/generate": {
54
+ types: string;
55
+ import: string;
56
+ default: string;
57
+ };
58
+ "./date-picker/generate/*": {
59
+ types: string;
60
+ import: string;
61
+ default: string;
62
+ };
63
+ "./global.d.ts": string;
64
+ "./global": string;
65
+ "./dist/reset.css": string;
66
+ "./web-types.json": string;
67
+ "./web-tags.json": string;
68
+ "./package.json": string;
69
+ };
70
+ unpkg: string;
71
+ jsdelivr: string;
72
+ files: string[];
73
+ contributes: {
74
+ html: {
75
+ customData: string[];
76
+ };
77
+ };
78
+ scripts: {
79
+ test: string;
80
+ build: string;
81
+ "build:esm": string;
82
+ "build:umd": string;
83
+ "build:web-types": string;
84
+ prepublish: string;
85
+ bump: string;
86
+ };
87
+ dependencies: {
88
+ "@ant-design/colors": string;
89
+ "@ant-design/fast-color": string;
90
+ "@antdv-next/cssinjs": string;
91
+ "@antdv-next/icons": string;
92
+ "@v-c/async-validator": string;
93
+ "@v-c/cascader": string;
94
+ "@v-c/checkbox": string;
95
+ "@v-c/collapse": string;
96
+ "@v-c/color-picker": string;
97
+ "@v-c/dialog": string;
98
+ "@v-c/drawer": string;
99
+ "@v-c/dropdown": string;
100
+ "@v-c/image": string;
101
+ "@v-c/input": string;
102
+ "@v-c/input-number": string;
103
+ "@v-c/mentions": string;
104
+ "@v-c/menu": string;
105
+ "@v-c/mutate-observer": string;
106
+ "@v-c/notification": string;
107
+ "@v-c/pagination": string;
108
+ "@v-c/picker": string;
109
+ "@v-c/progress": string;
110
+ "@v-c/qrcode": string;
111
+ "@v-c/rate": string;
112
+ "@v-c/resize-observer": string;
113
+ "@v-c/segmented": string;
114
+ "@v-c/select": string;
115
+ "@v-c/slick": string;
116
+ "@v-c/slider": string;
117
+ "@v-c/steps": string;
118
+ "@v-c/switch": string;
119
+ "@v-c/table": string;
120
+ "@v-c/tabs": string;
121
+ "@v-c/textarea": string;
122
+ "@v-c/tooltip": string;
123
+ "@v-c/tour": string;
124
+ "@v-c/tree": string;
125
+ "@v-c/tree-select": string;
126
+ "@v-c/trigger": string;
127
+ "@v-c/upload": string;
128
+ "@v-c/util": string;
129
+ "@v-c/virtual-list": string;
130
+ "@vueuse/core": string;
131
+ dayjs: string;
132
+ defu: string;
133
+ "es-toolkit": string;
134
+ "scroll-into-view-if-needed": string;
135
+ "throttle-debounce": string;
136
+ };
137
+ "web-types": string;
138
+ browserslist: string[];
139
+ devDependencies: {
140
+ "@types/throttle-debounce": string;
141
+ };
142
+ };
143
+ declare let _version2: typeof _exports["version"];
4
144
  //#endregion
5
- export { version };
145
+ export { _version2 };
package/dist/package.js CHANGED
@@ -1,5 +1,5 @@
1
1
  //#region package.json
2
- var version = "1.0.0-alpha.4";
2
+ var version = "1.0.0-beta.1";
3
3
 
4
4
  //#endregion
5
5
  export { version };
@@ -1,10 +1,10 @@
1
1
  import { PaginationEmits, PaginationProps, PaginationSlots } from "./interface.js";
2
- import * as vue222 from "vue";
2
+ import * as vue365 from "vue";
3
3
  import { SlotsType } from "vue";
4
4
 
5
5
  //#region src/pagination/Pagination.d.ts
6
- declare const Pagination: vue222.DefineSetupFnComponent<PaginationProps, PaginationEmits, SlotsType<PaginationSlots>, PaginationProps & {
6
+ declare const Pagination: vue365.DefineSetupFnComponent<PaginationProps, PaginationEmits, SlotsType<PaginationSlots>, PaginationProps & {
7
7
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
8
- }, vue222.PublicProps>;
8
+ }, vue365.PublicProps>;
9
9
  //#endregion
10
10
  export { Pagination };
@@ -8,8 +8,8 @@ import { getSlotPropsFnRun, toPropsRefs } from "../_util/tools.js";
8
8
  import useCSSVarCls_default from "../config-provider/hooks/useCSSVarCls.js";
9
9
  import { useSize } from "../config-provider/hooks/useSize.js";
10
10
  import useLocale_default from "../locale/useLocale.js";
11
- import useBreakpoint_default from "../grid/hooks/useBreakpoint.js";
12
11
  import select_default from "../select/index.js";
12
+ import useBreakpoint_default from "../grid/hooks/useBreakpoint.js";
13
13
  import style_default from "./style/index.js";
14
14
  import bordered_default from "./style/bordered.js";
15
15
  import resolveShowSizeChanger from "./useShowSizeChanger.js";
@@ -1,5 +1,5 @@
1
1
  import { genFocusOutline, genFocusStyle, resetComponent } from "../../style/index.js";
2
- import { genStyleHooks } from "../../theme/util/genStyleUtils.js";
2
+ import { genCssVar, genStyleHooks } from "../../theme/util/genStyleUtils.js";
3
3
  import { mergeToken } from "../../theme/internal.js";
4
4
  import { initComponentToken, initInputToken } from "../../input/style/token.js";
5
5
  import { genBaseOutlinedStyle, genDisabledStyle } from "../../input/style/variants.js";
@@ -63,23 +63,24 @@ const genPaginationDisabledStyle = (token) => {
63
63
  };
64
64
  };
65
65
  const genPaginationMiniStyle = (token) => {
66
- const { componentCls } = token;
66
+ const { componentCls, antCls } = token;
67
+ const [, varRef] = genCssVar(antCls, "pagination");
67
68
  return {
68
69
  [`&${componentCls}-mini ${componentCls}-total-text, &${componentCls}-mini ${componentCls}-simple-pager`]: {
69
- height: token.itemSizeSM,
70
- lineHeight: unit(token.itemSizeSM)
70
+ height: varRef("item-size-actual"),
71
+ lineHeight: varRef("item-size-actual")
71
72
  },
72
73
  [`&${componentCls}-mini ${componentCls}-item`]: {
73
- minWidth: token.itemSizeSM,
74
- height: token.itemSizeSM,
74
+ minWidth: varRef("item-size-actual"),
75
+ height: varRef("item-size-actual"),
75
76
  margin: 0,
76
- lineHeight: unit(token.calc(token.itemSizeSM).sub(2).equal())
77
+ lineHeight: unit(token.calc(varRef("item-size-actual")).sub(2).equal())
77
78
  },
78
79
  [`&${componentCls}-mini ${componentCls}-prev, &${componentCls}-mini ${componentCls}-next`]: {
79
- minWidth: token.itemSizeSM,
80
- height: token.itemSizeSM,
80
+ minWidth: varRef("item-size-actual"),
81
+ height: varRef("item-size-actual"),
81
82
  margin: 0,
82
- lineHeight: unit(token.itemSizeSM)
83
+ lineHeight: varRef("item-size-actual")
83
84
  },
84
85
  [`&${componentCls}-mini:not(${componentCls}-disabled)`]: { [`${componentCls}-prev, ${componentCls}-next`]: {
85
86
  [`&:hover ${componentCls}-item-link`]: { backgroundColor: token.colorBgTextHover },
@@ -93,21 +94,21 @@ const genPaginationMiniStyle = (token) => {
93
94
  "backgroundColor": "transparent",
94
95
  "borderColor": "transparent",
95
96
  "&::after": {
96
- height: token.itemSizeSM,
97
- lineHeight: unit(token.itemSizeSM)
97
+ height: varRef("item-size-actual"),
98
+ lineHeight: varRef("item-size-actual")
98
99
  }
99
100
  },
100
101
  [`&${componentCls}-mini ${componentCls}-jump-prev, &${componentCls}-mini ${componentCls}-jump-next`]: {
101
- height: token.itemSizeSM,
102
+ height: varRef("item-size-actual"),
102
103
  marginInlineEnd: 0,
103
- lineHeight: unit(token.itemSizeSM)
104
+ lineHeight: varRef("item-size-actual")
104
105
  },
105
106
  [`&${componentCls}-mini ${componentCls}-options`]: {
106
107
  "marginInlineStart": token.paginationMiniOptionsMarginInlineStart,
107
108
  "&-size-changer": { top: token.miniOptionsSizeChangerTop },
108
109
  "&-quick-jumper": {
109
- height: token.itemSizeSM,
110
- lineHeight: unit(token.itemSizeSM),
110
+ height: varRef("item-size-actual"),
111
+ lineHeight: varRef("item-size-actual"),
111
112
  input: {
112
113
  ...genInputSmallStyle(token),
113
114
  width: token.paginationMiniQuickJumperInputWidth,
@@ -118,29 +119,30 @@ const genPaginationMiniStyle = (token) => {
118
119
  };
119
120
  };
120
121
  const genPaginationSimpleStyle = (token) => {
121
- const { componentCls } = token;
122
+ const { componentCls, antCls } = token;
123
+ const [, varRef] = genCssVar(antCls, "pagination");
122
124
  return { [`&${componentCls}-simple`]: {
123
125
  [`${componentCls}-prev, ${componentCls}-next`]: {
124
- height: token.itemSize,
125
- lineHeight: unit(token.itemSize),
126
+ height: varRef("item-size-actual"),
127
+ lineHeight: varRef("item-size-actual"),
126
128
  verticalAlign: "top",
127
129
  [`${componentCls}-item-link`]: {
128
- "height": token.itemSize,
130
+ "height": varRef("item-size-actual"),
129
131
  "backgroundColor": "transparent",
130
132
  "border": 0,
131
133
  "&:hover": { backgroundColor: token.colorBgTextHover },
132
134
  "&:active": { backgroundColor: token.colorBgTextActive },
133
135
  "&::after": {
134
- height: token.itemSize,
135
- lineHeight: unit(token.itemSize)
136
+ height: varRef("item-size-actual"),
137
+ lineHeight: varRef("item-size-actual")
136
138
  }
137
139
  }
138
140
  },
139
141
  [`${componentCls}-simple-pager`]: {
140
142
  display: "inline-flex",
141
143
  alignItems: "center",
142
- height: token.itemSize,
143
- marginInlineEnd: token.marginXS,
144
+ height: varRef("item-size-actual"),
145
+ marginInlineEnd: varRef("item-spacing-actual"),
144
146
  input: {
145
147
  "boxSizing": "border-box",
146
148
  "height": "100%",
@@ -169,25 +171,26 @@ const genPaginationSimpleStyle = (token) => {
169
171
  [`&${componentCls}-disabled`]: { [`${componentCls}-prev, ${componentCls}-next`]: { [`${componentCls}-item-link`]: { "&:hover, &:active": { backgroundColor: "transparent" } } } },
170
172
  [`&${componentCls}-mini`]: {
171
173
  [`${componentCls}-prev, ${componentCls}-next`]: {
172
- height: token.itemSizeSM,
173
- lineHeight: unit(token.itemSizeSM),
174
+ height: varRef("item-size-actual"),
175
+ lineHeight: varRef("item-size-actual"),
174
176
  [`${componentCls}-item-link`]: {
175
- "height": token.itemSizeSM,
177
+ "height": varRef("item-size-actual"),
176
178
  "&::after": {
177
- height: token.itemSizeSM,
178
- lineHeight: unit(token.itemSizeSM)
179
+ height: varRef("item-size-actual"),
180
+ lineHeight: varRef("item-size-actual")
179
181
  }
180
182
  }
181
183
  },
182
184
  [`${componentCls}-simple-pager`]: {
183
- height: token.itemSizeSM,
185
+ height: varRef("item-size-actual"),
184
186
  input: { width: token.paginationMiniQuickJumperInputWidth }
185
187
  }
186
188
  }
187
189
  } };
188
190
  };
189
191
  const genPaginationJumpStyle = (token) => {
190
- const { componentCls } = token;
192
+ const { componentCls, antCls } = token;
193
+ const [, varRef] = genCssVar(antCls, "pagination");
191
194
  return {
192
195
  [`${componentCls}-jump-prev, ${componentCls}-jump-next`]: {
193
196
  "outline": 0,
@@ -231,7 +234,7 @@ const genPaginationJumpStyle = (token) => {
231
234
  ${componentCls}-prev,
232
235
  ${componentCls}-jump-prev,
233
236
  ${componentCls}-jump-next
234
- `]: { marginInlineEnd: token.marginXS },
237
+ `]: { marginInlineEnd: varRef("item-spacing-actual") },
235
238
  [`
236
239
  ${componentCls}-prev,
237
240
  ${componentCls}-next,
@@ -239,11 +242,11 @@ const genPaginationJumpStyle = (token) => {
239
242
  ${componentCls}-jump-next
240
243
  `]: {
241
244
  display: "inline-block",
242
- minWidth: token.itemSize,
243
- height: token.itemSize,
245
+ minWidth: varRef("item-size-actual"),
246
+ height: varRef("item-size-actual"),
244
247
  color: token.colorText,
245
248
  fontFamily: token.fontFamily,
246
- lineHeight: unit(token.itemSize),
249
+ lineHeight: varRef("item-size-actual"),
247
250
  textAlign: "center",
248
251
  verticalAlign: "middle",
249
252
  listStyle: "none",
@@ -286,9 +289,9 @@ const genPaginationJumpStyle = (token) => {
286
289
  "&-size-changer": { width: "auto" },
287
290
  "&-quick-jumper": {
288
291
  display: "inline-block",
289
- height: token.controlHeight,
290
- marginInlineStart: token.marginXS,
291
- lineHeight: unit(token.controlHeight),
292
+ height: varRef("item-size-actual"),
293
+ marginInlineStart: varRef("item-spacing-actual"),
294
+ lineHeight: varRef("item-size-actual"),
292
295
  verticalAlign: "top",
293
296
  input: {
294
297
  ...genBasicInputStyle(token),
@@ -300,25 +303,26 @@ const genPaginationJumpStyle = (token) => {
300
303
  }),
301
304
  "&[disabled]": { ...genDisabledStyle(token) },
302
305
  "width": token.quickJumperInputWidth,
303
- "height": token.controlHeight,
306
+ "height": varRef("item-size-actual"),
304
307
  "boxSizing": "border-box",
305
308
  "margin": 0,
306
- "marginInlineStart": token.marginXS,
307
- "marginInlineEnd": token.marginXS
309
+ "marginInlineStart": varRef("item-spacing-actual"),
310
+ "marginInlineEnd": varRef("item-spacing-actual")
308
311
  }
309
312
  }
310
313
  }
311
314
  };
312
315
  };
313
316
  const genPaginationItemStyle = (token) => {
314
- const { componentCls } = token;
317
+ const { componentCls, antCls } = token;
318
+ const [, varRef] = genCssVar(antCls, "pagination");
315
319
  return { [`${componentCls}-item`]: {
316
320
  "display": "inline-block",
317
- "minWidth": token.itemSize,
318
- "height": token.itemSize,
319
- "marginInlineEnd": token.marginXS,
321
+ "minWidth": varRef("item-size-actual"),
322
+ "height": varRef("item-size-actual"),
323
+ "marginInlineEnd": varRef("item-spacing-actual"),
320
324
  "fontFamily": token.fontFamily,
321
- "lineHeight": unit(token.calc(token.itemSize).sub(2).equal()),
325
+ "lineHeight": unit(token.calc(varRef("item-size-actual")).sub(2).equal()),
322
326
  "textAlign": "center",
323
327
  "verticalAlign": "middle",
324
328
  "listStyle": "none",
@@ -352,9 +356,16 @@ const genPaginationItemStyle = (token) => {
352
356
  } };
353
357
  };
354
358
  const genPaginationStyle = (token) => {
355
- const { componentCls } = token;
359
+ const { componentCls, antCls } = token;
360
+ const [varName, varRef] = genCssVar(antCls, "pagination");
356
361
  return {
357
362
  [componentCls]: {
363
+ [varName("item-size-actual")]: unit(token.itemSize),
364
+ [varName("item-spacing-actual")]: unit(token.marginXS),
365
+ "&-mini": {
366
+ [varName("item-size-actual")]: unit(token.itemSizeSM),
367
+ [varName("item-spacing-actual")]: unit(token.marginXXS)
368
+ },
358
369
  ...resetComponent(token),
359
370
  "display": "flex",
360
371
  "&-start": { justifyContent: "start" },
@@ -375,9 +386,9 @@ const genPaginationStyle = (token) => {
375
386
  },
376
387
  [`${componentCls}-total-text`]: {
377
388
  display: "inline-block",
378
- height: token.itemSize,
379
- marginInlineEnd: token.marginXS,
380
- lineHeight: unit(token.calc(token.itemSize).sub(2).equal()),
389
+ height: varRef("item-size-actual"),
390
+ marginInlineEnd: varRef("item-spacing-actual"),
391
+ lineHeight: unit(token.calc(varRef("item-size-actual")).sub(2).equal()),
381
392
  verticalAlign: "middle"
382
393
  },
383
394
  ...genPaginationItemStyle(token),
@@ -2,7 +2,7 @@ import { SemanticClassNames, SemanticStyles } from "../_util/hooks/useMergeSeman
2
2
  import "../_util/hooks/index.js";
3
3
  import { PopoverSemanticName } from "../popover/index.js";
4
4
  import { PopconfirmProps } from "./index.js";
5
- import * as vue51 from "vue";
5
+ import * as vue57 from "vue";
6
6
  import { CSSProperties } from "vue";
7
7
 
8
8
  //#region src/popconfirm/PurePanel.d.ts
@@ -23,6 +23,6 @@ interface PurePanelProps extends Omit<OverlayProps, 'prefixCls'>, Pick<Popconfir
23
23
  class?: string;
24
24
  style?: CSSProperties;
25
25
  }
26
- declare const PurePanel: vue51.DefineSetupFnComponent<PurePanelProps, {}, {}, PurePanelProps & {}, vue51.PublicProps>;
26
+ declare const PurePanel: vue57.DefineSetupFnComponent<PurePanelProps, {}, {}, PurePanelProps & {}, vue57.PublicProps>;
27
27
  //#endregion
28
28
  export { PopconfirmLocale, PurePanel };
@@ -7,6 +7,7 @@ import PurePanel_default from "../popover/PurePanel.js";
7
7
  import style_default from "./style/index.js";
8
8
  import { computed, createVNode, defineComponent, isVNode, mergeProps } from "vue";
9
9
  import { clsx } from "@v-c/util";
10
+ import { ExclamationCircleFilled } from "@antdv-next/icons";
10
11
 
11
12
  //#region src/popconfirm/PurePanel.tsx
12
13
  function _isSlot(s) {
@@ -17,7 +18,7 @@ const Overlay = /* @__PURE__ */ defineComponent((props) => {
17
18
  const btnPrefixCls = computed(() => config.value?.getPrefixCls?.("btn") ?? "ant-btn");
18
19
  const [contextLocale] = useLocale_default("Popconfirm", en_US_default.Popconfirm);
19
20
  return () => {
20
- const { prefixCls, icon, title, description, cancelText, okText, okType = "primary", okButtonProps, cancelButtonProps, showCancel = true, close, onConfirm, onCancel, onPopupClick, classes, styles } = props;
21
+ const { prefixCls, icon = createVNode(ExclamationCircleFilled, null, null), title, description, cancelText, okText, okType = "primary", okButtonProps, cancelButtonProps, showCancel = true, close, onConfirm, onCancel, onPopupClick, classes, styles } = props;
21
22
  const cancelButtonAttrs = {
22
23
  size: "small",
23
24
  ...cancelButtonProps ?? {}
@@ -6,7 +6,7 @@ import { ButtonProps, LegacyButtonType } from "../button/Button.js";
6
6
  import "../button/index.js";
7
7
  import { PopoverProps, PopoverSemanticName } from "../popover/index.js";
8
8
  import { PurePanel } from "./PurePanel.js";
9
- import * as vue78 from "vue";
9
+ import * as vue130 from "vue";
10
10
  import { App, SlotsType } from "vue";
11
11
 
12
12
  //#region src/popconfirm/index.d.ts
@@ -40,9 +40,9 @@ interface PopconfirmSlots {
40
40
  okText?: () => any;
41
41
  cancelText?: () => any;
42
42
  }
43
- declare const InternalPopconfirm: vue78.DefineSetupFnComponent<PopconfirmProps, PopconfirmEmits, SlotsType<PopconfirmSlots>, PopconfirmProps & {
43
+ declare const InternalPopconfirm: vue130.DefineSetupFnComponent<PopconfirmProps, PopconfirmEmits, SlotsType<PopconfirmSlots>, PopconfirmProps & {
44
44
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
45
- }, vue78.PublicProps>;
45
+ }, vue130.PublicProps>;
46
46
  type PopconfirmType = typeof InternalPopconfirm & {
47
47
  install: (app: App) => void;
48
48
  _InternalPanelDoNotUseOrYouWillBeFired: typeof PurePanel;
@@ -258,11 +258,13 @@ const RawPurePanel = /* @__PURE__ */ defineComponent((props, { slots, attrs }) =
258
258
  name: "PopoverRawPurePanel",
259
259
  inheritAttrs: false
260
260
  });
261
- const PurePanel = /* @__PURE__ */ defineComponent((props, { attrs }) => {
261
+ const PurePanel = /* @__PURE__ */ defineComponent((props, { attrs, slots }) => {
262
262
  const { prefixCls } = useComponentBaseConfig("popover", props);
263
263
  const [hashId, cssVarCls] = style_default(prefixCls);
264
264
  return () => {
265
+ const content = getSlotPropsFnRun(slots, props, "content");
265
266
  return createVNode(RawPurePanel, mergeProps(omit(attrs, ["class"]), props, {
267
+ "content": content,
266
268
  "prefixCls": prefixCls.value,
267
269
  "hashId": hashId.value,
268
270
  "class": clsx(attrs.class, cssVarCls.value)
@@ -430,4 +432,4 @@ const PurePanel = /* @__PURE__ */ defineComponent((props, { attrs }) => {
430
432
  var PurePanel_default = PurePanel;
431
433
 
432
434
  //#endregion
433
- export { Overlay, PurePanel_default as default };
435
+ export { Overlay, RawPurePanel, PurePanel_default as default };