antdv-next 1.0.0-alpha.5 → 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 (208) 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/alert/Alert.d.ts +3 -3
  5. package/dist/anchor/Anchor.d.ts +3 -3
  6. package/dist/antd.js +113 -105
  7. package/dist/app/App.d.ts +2 -2
  8. package/dist/auto-complete/index.d.ts +4 -3
  9. package/dist/auto-complete/index.js +8 -1
  10. package/dist/avatar/Avatar.d.ts +3 -3
  11. package/dist/avatar/AvatarGroup.d.ts +2 -2
  12. package/dist/badge/Ribbon.d.ts +3 -3
  13. package/dist/badge/ScrollNumber.js +1 -1
  14. package/dist/badge/SingleNumber.js +1 -1
  15. package/dist/badge/index.d.ts +3 -3
  16. package/dist/badge/index.js +5 -3
  17. package/dist/badge/style/index.js +1 -1
  18. package/dist/breadcrumb/Breadcrumb.d.ts +3 -3
  19. package/dist/button/Button.d.ts +3 -3
  20. package/dist/calendar/generateCalendar.d.ts +3 -3
  21. package/dist/calendar/index.d.ts +3 -3
  22. package/dist/calendar/style/index.d.ts +1 -1
  23. package/dist/calendar/style/index.js +1 -1
  24. package/dist/card/Card.d.ts +3 -3
  25. package/dist/card/CardGrid.d.ts +2 -2
  26. package/dist/card/CardMeta.d.ts +3 -3
  27. package/dist/card/style/index.js +11 -2
  28. package/dist/cascader/Panel.d.ts +3 -3
  29. package/dist/cascader/index.d.ts +1 -0
  30. package/dist/cascader/index.js +2 -0
  31. package/dist/checkbox/Checkbox.d.ts +3 -3
  32. package/dist/checkbox/Group.d.ts +3 -3
  33. package/dist/checkbox/style/index.d.ts +1 -1
  34. package/dist/color-picker/ColorPicker.d.ts +4 -4
  35. package/dist/color-picker/ColorPicker.js +11 -0
  36. package/dist/components.d.ts +8 -6
  37. package/dist/config-provider/context.d.ts +2 -1
  38. package/dist/config-provider/context.js +1 -1
  39. package/dist/config-provider/define.d.ts +14 -0
  40. package/dist/config-provider/index.d.ts +3 -3
  41. package/dist/config-provider/index.js +21 -2
  42. package/dist/date-picker/generatePicker/generateRangePicker.js +1 -1
  43. package/dist/date-picker/generatePicker/generateSinglePicker.js +2 -1
  44. package/dist/date-picker/generatePicker/index.d.ts +17 -17
  45. package/dist/date-picker/index.d.ts +29 -27
  46. package/dist/date-picker/index.js +3 -0
  47. package/dist/date-picker/style/panel.js +4 -4
  48. package/dist/descriptions/index.d.ts +3 -3
  49. package/dist/divider/index.d.ts +2 -2
  50. package/dist/drawer/index.d.ts +6 -4
  51. package/dist/drawer/index.js +17 -5
  52. package/dist/drawer/useFocusable.d.ts +10 -0
  53. package/dist/drawer/useFocusable.js +18 -0
  54. package/dist/dropdown/dropdown.d.ts +3 -3
  55. package/dist/dropdown/dropdown.js +7 -0
  56. package/dist/empty/index.d.ts +3 -3
  57. package/dist/flex/index.d.ts +3 -3
  58. package/dist/flex/index.js +1 -1
  59. package/dist/float-button/BackTop.d.ts +3 -3
  60. package/dist/float-button/BackTop.js +4 -1
  61. package/dist/float-button/FloatButton.d.ts +3 -3
  62. package/dist/float-button/FloatButtonGroup.d.ts +3 -3
  63. package/dist/float-button/PurePanel.js +5 -5
  64. package/dist/form/ErrorList.js +4 -7
  65. package/dist/form/Form.d.ts +7 -3
  66. package/dist/form/Form.js +39 -22
  67. package/dist/form/FormItem/ItemHolder.js +0 -1
  68. package/dist/form/FormItem/index.d.ts +5 -5
  69. package/dist/form/FormItem/index.js +48 -29
  70. package/dist/form/FormItemInput.js +17 -19
  71. package/dist/form/utils/valueUtil.js +4 -1
  72. package/dist/grid/col.js +7 -2
  73. package/dist/grid/index.d.ts +2 -2
  74. package/dist/grid/style/index.js +6 -5
  75. package/dist/image/PreviewGroup.d.ts +2 -2
  76. package/dist/image/index.d.ts +7 -4
  77. package/dist/image/index.js +2 -0
  78. package/dist/image/style/index.d.ts +1 -1
  79. package/dist/index.d.ts +12 -9
  80. package/dist/index.js +3 -1
  81. package/dist/input/TextArea.d.ts +3 -3
  82. package/dist/input/index.d.ts +11 -11
  83. package/dist/input/style/index.d.ts +2 -2
  84. package/dist/input-number/index.d.ts +4 -4
  85. package/dist/input-number/index.js +1 -5
  86. package/dist/layout/index.d.ts +6 -6
  87. package/dist/layout/layout.d.ts +2 -2
  88. package/dist/layout/style/sider.js +1 -1
  89. package/dist/masonry/Masonry.d.ts +3 -3
  90. package/dist/mentions/index.d.ts +4 -3
  91. package/dist/mentions/index.js +3 -1
  92. package/dist/menu/MenuDivider.d.ts +2 -2
  93. package/dist/menu/MenuItem.d.ts +3 -3
  94. package/dist/menu/SubMenu.d.ts +3 -3
  95. package/dist/menu/index.d.ts +5 -5
  96. package/dist/menu/style/horizontal.js +1 -1
  97. package/dist/menu/style/index.js +5 -5
  98. package/dist/message/PurePanel.d.ts +2 -2
  99. package/dist/message/useMessage.d.ts +1 -0
  100. package/dist/modal/ConfirmDialog.js +1 -1
  101. package/dist/modal/Modal.d.ts +3 -3
  102. package/dist/modal/Modal.js +17 -6
  103. package/dist/modal/PurePanel.js +305 -0
  104. package/dist/modal/index.js +2 -0
  105. package/dist/modal/interface.d.ts +3 -1
  106. package/dist/notification/PurePanel.d.ts +2 -2
  107. package/dist/notification/PurePanel.js +4 -3
  108. package/dist/notification/style/index.d.ts +1 -1
  109. package/dist/notification/useNotification.d.ts +3 -2
  110. package/dist/notification/useNotification.js +7 -7
  111. package/dist/package.d.ts +34 -0
  112. package/dist/package.js +1 -1
  113. package/dist/pagination/Pagination.d.ts +3 -3
  114. package/dist/popconfirm/PurePanel.d.ts +2 -2
  115. package/dist/popconfirm/PurePanel.js +2 -1
  116. package/dist/popconfirm/index.d.ts +3 -3
  117. package/dist/popover/PurePanel.js +4 -2
  118. package/dist/popover/index.d.ts +9 -6
  119. package/dist/popover/index.js +2 -1
  120. package/dist/progress/progress.d.ts +3 -3
  121. package/dist/qrcode/index.d.ts +3 -3
  122. package/dist/radio/index.d.ts +5 -5
  123. package/dist/radio/radio.d.ts +3 -3
  124. package/dist/radio/style/index.js +1 -1
  125. package/dist/rate/index.d.ts +3 -3
  126. package/dist/rate/style/index.d.ts +1 -1
  127. package/dist/result/index.d.ts +3 -3
  128. package/dist/segmented/index.d.ts +3 -3
  129. package/dist/select/index.d.ts +5 -5
  130. package/dist/select/index.js +3 -1
  131. package/dist/select/style/dropdown.js +1 -1
  132. package/dist/skeleton/Avatar.d.ts +2 -2
  133. package/dist/skeleton/Button.d.ts +2 -2
  134. package/dist/skeleton/Image.d.ts +2 -2
  135. package/dist/skeleton/Input.d.ts +2 -2
  136. package/dist/skeleton/Node.d.ts +3 -3
  137. package/dist/skeleton/Skeleton.d.ts +3 -3
  138. package/dist/skeleton/Skeleton.js +1 -1
  139. package/dist/skeleton/Title.d.ts +1 -2
  140. package/dist/skeleton/Title.js +0 -5
  141. package/dist/slider/index.d.ts +3 -3
  142. package/dist/space/index.d.ts +5 -5
  143. package/dist/spin/index.d.ts +3 -3
  144. package/dist/spin/index.js +7 -6
  145. package/dist/splitter/Splitter.d.ts +3 -3
  146. package/dist/splitter/index.d.ts +2 -2
  147. package/dist/statistic/Statistic.d.ts +3 -3
  148. package/dist/statistic/Timer.d.ts +5 -5
  149. package/dist/statistic/index.d.ts +5 -5
  150. package/dist/steps/index.d.ts +3 -3
  151. package/dist/steps/style/icon.js +1 -1
  152. package/dist/steps/style/inline.js +1 -1
  153. package/dist/steps/style/panel.js +1 -1
  154. package/dist/switch/index.d.ts +3 -3
  155. package/dist/table/Column.d.ts +3 -3
  156. package/dist/table/ColumnGroup.d.ts +3 -3
  157. package/dist/table/InternalTable.js +19 -5
  158. package/dist/table/Table.d.ts +3 -3
  159. package/dist/table/style/index.js +3 -3
  160. package/dist/table/style/radius.js +6 -0
  161. package/dist/table/style/virtual.js +1 -1
  162. package/dist/tabs/TabPane.d.ts +3 -3
  163. package/dist/tabs/index.d.ts +3 -3
  164. package/dist/tag/CheckableTag.d.ts +3 -3
  165. package/dist/tag/CheckableTagGroup.d.ts +3 -3
  166. package/dist/tag/CheckableTagGroup.js +3 -3
  167. package/dist/tag/index.d.ts +3 -3
  168. package/dist/theme/context.d.ts +2 -2
  169. package/dist/theme/index.d.ts +4 -4
  170. package/dist/theme/useToken.d.ts +2 -2
  171. package/dist/theme/useToken.js +1 -1
  172. package/dist/theme/util/genStyleUtils.d.ts +2 -2
  173. package/dist/theme/util/useResetIconStyle.js +1 -1
  174. package/dist/time-picker/index.d.ts +8 -7
  175. package/dist/time-picker/index.js +17 -13
  176. package/dist/timeline/Timeline.d.ts +3 -3
  177. package/dist/tooltip/PurePanel.d.ts +2 -2
  178. package/dist/tooltip/PurePanel.js +10 -6
  179. package/dist/tooltip/UniqueProvider/index.d.ts +2 -2
  180. package/dist/tooltip/index.d.ts +3 -3
  181. package/dist/tour/PurePanel.js +243 -0
  182. package/dist/tour/index.d.ts +3 -3
  183. package/dist/tour/index.js +2 -0
  184. package/dist/transfer/Actions.d.ts +2 -2
  185. package/dist/transfer/Section.d.ts +2 -2
  186. package/dist/transfer/Transfer.d.ts +3 -3
  187. package/dist/transfer/Transfer.js +1 -1
  188. package/dist/transfer/search.d.ts +3 -3
  189. package/dist/tree/DirectoryTree.d.ts +3 -3
  190. package/dist/tree/Tree.d.ts +3 -3
  191. package/dist/tree/style/index.d.ts +1 -1
  192. package/dist/tree-select/index.d.ts +5 -4
  193. package/dist/tree-select/index.js +2 -0
  194. package/dist/typography/Paragraph.d.ts +3 -3
  195. package/dist/typography/Text.d.ts +3 -3
  196. package/dist/typography/Title.d.ts +3 -3
  197. package/dist/typography/Typography.d.ts +3 -3
  198. package/dist/typography/index.d.ts +9 -9
  199. package/dist/upload/Dragger.d.ts +3 -3
  200. package/dist/upload/Upload.d.ts +3 -3
  201. package/dist/upload/Upload.js +15 -1
  202. package/dist/upload/index.d.ts +3 -3
  203. package/dist/upload/interface.d.ts +4 -4
  204. package/dist/watermark/index.d.ts +2 -2
  205. package/global.d.ts +1 -0
  206. package/package.json +49 -15
  207. package/web-tags.json +2452 -1907
  208. package/web-types.json +7148 -5592
@@ -3,13 +3,13 @@ import { FormatConfig, valueType } from "./utils.js";
3
3
  import { Statistic, StatisticClassNamesType, StatisticProps, StatisticSlots, StatisticStylesType } from "./Statistic.js";
4
4
  import { StatisticTimeEmits, StatisticTimer, StatisticTimerProps, TimerType } from "./Timer.js";
5
5
  import { ComponentBaseProps } from "../config-provider/context.js";
6
- import * as vue112 from "vue";
6
+ import * as vue166 from "vue";
7
7
 
8
8
  //#region src/statistic/index.d.ts
9
- declare const StatisticTimer$1: vue112.DefineSetupFnComponent<StatisticTimerProps, StatisticTimeEmits, vue112.SlotsType<StatisticSlots>, FormatConfig & ComponentBaseProps & {
9
+ declare const StatisticTimer$1: vue166.DefineSetupFnComponent<StatisticTimerProps, StatisticTimeEmits, vue166.SlotsType<StatisticSlots>, FormatConfig & ComponentBaseProps & {
10
10
  value?: valueType;
11
- valueStyle?: vue112.CSSProperties;
12
- valueRender?: (node: any) => vue112.VNodeChild;
11
+ valueStyle?: vue166.CSSProperties;
12
+ valueRender?: (node: any) => vue166.VNodeChild;
13
13
  title?: VueNode;
14
14
  prefix?: VueNode;
15
15
  suffix?: VueNode;
@@ -21,7 +21,7 @@ declare const StatisticTimer$1: vue112.DefineSetupFnComponent<StatisticTimerProp
21
21
  format?: string;
22
22
  } & {
23
23
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
24
- }, vue112.PublicProps>;
24
+ }, vue166.PublicProps>;
25
25
  declare const _default: typeof Statistic & {
26
26
  Timer: typeof StatisticTimer;
27
27
  };
@@ -1,7 +1,7 @@
1
1
  import { VueNode } from "../_util/type.js";
2
2
  import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMergeSemantic.js";
3
3
  import "../_util/hooks/index.js";
4
- import * as vue136 from "vue";
4
+ import * as vue171 from "vue";
5
5
  import { CSSProperties, SlotsType } from "vue";
6
6
  import { StepsProps } from "@v-c/steps";
7
7
 
@@ -80,8 +80,8 @@ interface StepsSlots {
80
80
  default: () => any;
81
81
  iconRender?: IconRenderType;
82
82
  }
83
- declare const Steps: vue136.DefineSetupFnComponent<StepsProps$1, StepsEmits, SlotsType<StepsSlots>, StepsProps$1 & {
83
+ declare const Steps: vue171.DefineSetupFnComponent<StepsProps$1, StepsEmits, SlotsType<StepsSlots>, StepsProps$1 & {
84
84
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
85
- }, vue136.PublicProps>;
85
+ }, vue171.PublicProps>;
86
86
  //#endregion
87
87
  export { Steps, StepsProps$1 as StepsProps };
@@ -23,7 +23,7 @@ const genIconStyle = (token) => {
23
23
  borderRadius: varRef("icon-size"),
24
24
  border: `${varRef("icon-border-width")} ${lineType} transparent`,
25
25
  transition: [
26
- "background",
26
+ "background-color",
27
27
  "border",
28
28
  "color",
29
29
  "inset",
@@ -32,7 +32,7 @@ const genInlineStyle = (token) => {
32
32
  "marginInline": token.calc(token.marginXXS).div(2).equal(),
33
33
  "borderRadius": token.borderRadiusSM,
34
34
  "cursor": "pointer",
35
- "transition": `background ${token.motionDurationMid}`,
35
+ "transition": `background-color ${token.motionDurationMid}`,
36
36
  "&:hover": { background: token.controlItemBgHover }
37
37
  },
38
38
  "&-icon": { [`${itemCls}-icon-dot`]: { "&:after": { display: "none" } } },
@@ -30,7 +30,7 @@ const genPanelStyle = (token) => {
30
30
  [varName("panel-title-height")]: `calc(${varRef("title-font-size")} * ${varRef("title-line-height")})`,
31
31
  [varName("item-base-height")]: calc(varRef("panel-padding")).mul(2).add(varRef("icon-size")).add(varRef("panel-title-height")).equal(),
32
32
  [varName("item-base-width")]: `calc(${varRef("item-base-height")} * 0.7071)`,
33
- transition: `background ${motionDurationMid}`
33
+ transition: `background-color ${motionDurationMid}`
34
34
  }
35
35
  },
36
36
  [`${itemCls}-icon`]: { display: "none" },
@@ -2,7 +2,7 @@ import { VueNode } from "../_util/type.js";
2
2
  import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMergeSemantic.js";
3
3
  import "../_util/hooks/index.js";
4
4
  import { ComponentBaseProps } from "../config-provider/context.js";
5
- import * as vue140 from "vue";
5
+ import * as vue173 from "vue";
6
6
  import { SlotsType } from "vue";
7
7
  import { SwitchChangeEventHandler, SwitchClickEventHandler } from "@v-c/switch";
8
8
 
@@ -47,8 +47,8 @@ interface SwitchSlots {
47
47
  checkedChildren: () => any;
48
48
  unCheckedChildren: () => any;
49
49
  }
50
- declare const Switch: vue140.DefineSetupFnComponent<SwitchProps, SwitchEmits, SlotsType<SwitchSlots>, SwitchProps & {
50
+ declare const Switch: vue173.DefineSetupFnComponent<SwitchProps, SwitchEmits, SlotsType<SwitchSlots>, SwitchProps & {
51
51
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
52
- }, vue140.PublicProps>;
52
+ }, vue173.PublicProps>;
53
53
  //#endregion
54
54
  export { Switch, SwitchEmits, SwitchProps, SwitchSize, SwitchSlots };
@@ -1,6 +1,6 @@
1
1
  import { AnyObject, EmptyEmit } from "../_util/type.js";
2
2
  import { ColumnType } from "./interface.js";
3
- import * as vue365 from "vue";
3
+ import * as vue383 from "vue";
4
4
  import { SlotsType } from "vue";
5
5
 
6
6
  //#region src/table/Column.d.ts
@@ -13,8 +13,8 @@ interface ColumnSlots {
13
13
  /**
14
14
  * Syntactic sugar for `columns` prop. HOC will not work on this.
15
15
  */
16
- declare const Column: vue365.DefineSetupFnComponent<ColumnProps<AnyObject>, EmptyEmit, SlotsType<ColumnSlots>, ColumnProps<AnyObject> & {
16
+ declare const Column: vue383.DefineSetupFnComponent<ColumnProps<AnyObject>, EmptyEmit, SlotsType<ColumnSlots>, ColumnProps<AnyObject> & {
17
17
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
18
- }, vue365.PublicProps>;
18
+ }, vue383.PublicProps>;
19
19
  //#endregion
20
20
  export { Column, ColumnProps };
@@ -1,7 +1,7 @@
1
1
  import { AnyObject, EmptyEmit } from "../_util/type.js";
2
2
  import { ColumnType } from "./interface.js";
3
3
  import { ColumnProps } from "./Column.js";
4
- import * as vue367 from "vue";
4
+ import * as vue381 from "vue";
5
5
  import { SlotsType } from "vue";
6
6
 
7
7
  //#region src/table/ColumnGroup.d.ts
@@ -14,8 +14,8 @@ interface ColumnGroupSlots {
14
14
  /**
15
15
  * Syntactic sugar for `columns` prop. HOC will not work on this.
16
16
  */
17
- declare const ColumnGroup: vue367.DefineSetupFnComponent<ColumnGroupProps<AnyObject>, EmptyEmit, SlotsType<ColumnGroupSlots>, ColumnGroupProps<AnyObject> & {
17
+ declare const ColumnGroup: vue381.DefineSetupFnComponent<ColumnGroupProps<AnyObject>, EmptyEmit, SlotsType<ColumnGroupSlots>, ColumnGroupProps<AnyObject> & {
18
18
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
19
- }, vue367.PublicProps>;
19
+ }, vue381.PublicProps>;
20
20
  //#endregion
21
21
  export { ColumnGroup };
@@ -1,4 +1,4 @@
1
- import { useComponentBaseConfig } from "../config-provider/context.js";
1
+ import { useComponentBaseConfig, useConfig } from "../config-provider/context.js";
2
2
  import useToken from "../theme/useToken.js";
3
3
  import "../theme/internal.js";
4
4
  import { useMergeSemantic, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
@@ -40,7 +40,8 @@ function resolvePanelRender(slots, props, key) {
40
40
  if (slots[key] || props[key]) return (data) => getSlotPropsFnRun(slots, props, key, true, data);
41
41
  }
42
42
  const InternalTable = /* @__PURE__ */ defineComponent((props, { slots, emit, attrs, expose }) => {
43
- const { prefixCls, direction, getPrefixCls, class: contextClassName, style: contextStyle, classes: contextClassNames, styles: contextStyles, renderEmpty, getPopupContainer: contextGetPopupContainer, virtual: contextVirtual } = useComponentBaseConfig("table", props);
43
+ const { prefixCls, direction, getPrefixCls, class: contextClassName, style: contextStyle, classes: contextClassNames, styles: contextStyles, renderEmpty, getPopupContainer: contextGetPopupContainer, virtual: contextVirtual, bodyCell: contextBodyCell, headerCell: contextHeaderCell } = useComponentBaseConfig("table", props, ["bodyCell", "headerCell"]);
44
+ const configCtx = useConfig();
44
45
  const { classes, styles } = toPropsRefs(props, "classes", "styles");
45
46
  const mergedSize = useSize(computed(() => props.size));
46
47
  const mergedProps = computed(() => {
@@ -236,6 +237,21 @@ const InternalTable = /* @__PURE__ */ defineComponent((props, { slots, emit, att
236
237
  default: return padding * 2 + fontHeight + lineWidth;
237
238
  }
238
239
  });
240
+ const renderHeaderCell = (ctx) => {
241
+ const node = getSlotPropsFnRun(slots, props, "headerCell", true, ctx);
242
+ if (node === null || node === void 0) {
243
+ if (contextHeaderCell.value) return contextHeaderCell.value(ctx);
244
+ }
245
+ return node;
246
+ };
247
+ const renderBodyCell = (ctx) => {
248
+ const node = getSlotPropsFnRun(slots, props, "bodyCell", true, ctx);
249
+ if (node === null || node === void 0) {
250
+ if (contextBodyCell.value) return contextBodyCell.value(ctx);
251
+ else if (configCtx.value?.transformCellText) return configCtx.value.transformCellText(ctx);
252
+ }
253
+ return node;
254
+ };
239
255
  return () => {
240
256
  const columnTitlePropsFn = () => {
241
257
  const mergedFilters = {};
@@ -248,8 +264,6 @@ const InternalTable = /* @__PURE__ */ defineComponent((props, { slots, emit, att
248
264
  };
249
265
  };
250
266
  const [transformTitleColumns] = useTitleColumns(columnTitlePropsFn());
251
- const renderHeaderCell = (ctx) => getSlotPropsFnRun(slots, props, "headerCell", true, ctx);
252
- const renderBodyCell = (ctx) => getSlotPropsFnRun(slots, props, "bodyCell", true, ctx);
253
267
  const renderExpandedRow = slots.expandedRowRender ? (record, index, indent, expanded) => getSlotPropsFnRun(slots, props, "expandedRowRender", true, {
254
268
  record,
255
269
  index,
@@ -261,7 +275,7 @@ const InternalTable = /* @__PURE__ */ defineComponent((props, { slots, emit, att
261
275
  if (spinProps.value?.spinning && rawData.value === EMPTY_LIST) return null;
262
276
  if (slots.emptyText) return getSlotPropsFnRun(slots, props, "emptyText");
263
277
  if (typeof locale?.emptyText !== "undefined") return locale?.emptyText;
264
- return renderEmpty?.("Table") || createVNode(DefaultRenderEmpty, { "componentName": "Table" }, null);
278
+ return renderEmpty?.value?.("Table") || createVNode(DefaultRenderEmpty, { "componentName": "Table" }, null);
265
279
  };
266
280
  const mergedEmptyNode = mergedEmptyNodeFn();
267
281
  const mergedGetPopupContainer = props.getPopupContainer || contextGetPopupContainer;
@@ -3,14 +3,14 @@ import { SELECTION_ALL, SELECTION_COLUMN, SELECTION_INVERT, SELECTION_NONE } fro
3
3
  import { Column } from "./Column.js";
4
4
  import { ColumnGroup } from "./ColumnGroup.js";
5
5
  import { TableEmits, TableProps as TableProps$1, TableSlots } from "./InternalTable.js";
6
- import * as vue369 from "vue";
6
+ import * as vue386 from "vue";
7
7
  import { SlotsType } from "vue";
8
8
  import { EXPAND_COLUMN, Summary } from "@v-c/table";
9
9
 
10
10
  //#region src/table/Table.d.ts
11
- declare const Table: vue369.DefineSetupFnComponent<TableProps$1<AnyObject>, TableEmits<AnyObject>, SlotsType<TableSlots<AnyObject>>, TableProps$1<AnyObject> & {
11
+ declare const Table: vue386.DefineSetupFnComponent<TableProps$1<AnyObject>, TableEmits<AnyObject>, SlotsType<TableSlots<AnyObject>>, TableProps$1<AnyObject> & {
12
12
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
13
- }, vue369.PublicProps>;
13
+ }, vue386.PublicProps>;
14
14
  declare const ForwardTable: typeof Table & {
15
15
  displayName?: string;
16
16
  SELECTION_COLUMN: typeof SELECTION_COLUMN;
@@ -66,7 +66,7 @@ const genTableStyle = (token) => {
66
66
  "textAlign": "start",
67
67
  "background": tableHeaderBg,
68
68
  "borderBottom": tableBorder,
69
- "transition": `background ${motionDurationMid} ease`,
69
+ "transition": `background-color ${motionDurationMid} ease`,
70
70
  "&[colspan]:not([colspan='1'])": { textAlign: "center" },
71
71
  [`&:not(:last-child):not(${componentCls}-selection-column):not(${componentCls}-row-expand-icon-cell):not([colspan])::before`]: {
72
72
  position: "absolute",
@@ -84,7 +84,7 @@ const genTableStyle = (token) => {
84
84
  },
85
85
  [`${componentCls}-tbody`]: { "> tr": {
86
86
  "> th, > td": {
87
- transition: `background ${motionDurationMid}, border-color ${motionDurationMid}`,
87
+ transition: `background-color ${motionDurationMid}, border-color ${motionDurationMid}`,
88
88
  borderBottom: tableBorder,
89
89
  [`
90
90
  > ${componentCls}-wrapper:only-child,
@@ -106,7 +106,7 @@ const genTableStyle = (token) => {
106
106
  textAlign: "start",
107
107
  background: tableHeaderBg,
108
108
  borderBottom: tableBorder,
109
- transition: `background ${motionDurationMid} ease`
109
+ transition: `background-color ${motionDurationMid} ease`
110
110
  },
111
111
  [`& > ${componentCls}-measure-cell`]: {
112
112
  paddingBlock: `0 !important`,
@@ -14,6 +14,12 @@ const genRadiusStyle = (token) => {
14
14
  "&-container": {
15
15
  "borderStartStartRadius": tableRadius,
16
16
  "borderStartEndRadius": tableRadius,
17
+ "&::before": { borderStartStartRadius: tableRadius },
18
+ "&::after": { borderStartEndRadius: tableRadius },
19
+ [`> ${componentCls}-content`]: {
20
+ borderStartStartRadius: tableRadius,
21
+ borderStartEndRadius: tableRadius
22
+ },
17
23
  "table > thead > tr:first-child": {
18
24
  "> *:first-child": { borderStartStartRadius: tableRadius },
19
25
  "> *:last-child": { borderStartEndRadius: tableRadius }
@@ -17,7 +17,7 @@ const genVirtualStyle = (token) => {
17
17
  } },
18
18
  [`${componentCls}-cell`]: {
19
19
  borderBottom: tableBorder,
20
- transition: `background ${motionDurationMid}`
20
+ transition: `background-color ${motionDurationMid}`
21
21
  },
22
22
  [`${componentCls}-expanded-row`]: { [`${rowCellCls}${rowCellCls}-fixed`]: {
23
23
  position: "sticky",
@@ -1,5 +1,5 @@
1
1
  import { EmptyEmit } from "../_util/type.js";
2
- import * as vue288 from "vue";
2
+ import * as vue302 from "vue";
3
3
  import { CSSProperties, SlotsType } from "vue";
4
4
  import { TabPaneProps } from "@v-c/tabs";
5
5
 
@@ -16,8 +16,8 @@ interface TabPaneSlots {
16
16
  closeIcon?: () => any;
17
17
  icon?: () => any;
18
18
  }
19
- declare const TabPane: vue288.DefineSetupFnComponent<TabPaneProps$1, EmptyEmit, SlotsType<TabPaneSlots>, TabPaneProps$1 & {
19
+ declare const TabPane: vue302.DefineSetupFnComponent<TabPaneProps$1, EmptyEmit, SlotsType<TabPaneSlots>, TabPaneProps$1 & {
20
20
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
21
- }, vue288.PublicProps>;
21
+ }, vue302.PublicProps>;
22
22
  //#endregion
23
23
  export { TabPane, TabPaneProps$1 as TabPaneProps };
@@ -4,7 +4,7 @@ import { SemanticClassNames, SemanticClassNamesType, SemanticStyles, SemanticSty
4
4
  import "../_util/hooks/index.js";
5
5
  import { TabPane, TabPaneProps as TabPaneProps$1 } from "./TabPane.js";
6
6
  import { ComponentBaseProps } from "../config-provider/context.js";
7
- import * as vue144 from "vue";
7
+ import * as vue162 from "vue";
8
8
  import { SlotsType } from "vue";
9
9
  import { GetIndicatorSize, MoreProps, Tab, TabsProps } from "@v-c/tabs";
10
10
 
@@ -87,8 +87,8 @@ interface TabsSlots {
87
87
  rightExtra?: () => any;
88
88
  leftExtra?: () => any;
89
89
  }
90
- declare const Tabs: vue144.DefineSetupFnComponent<TabsProps$1, TabsEmits, SlotsType<TabsSlots>, TabsProps$1 & {
90
+ declare const Tabs: vue162.DefineSetupFnComponent<TabsProps$1, TabsEmits, SlotsType<TabsSlots>, TabsProps$1 & {
91
91
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
92
- }, vue144.PublicProps>;
92
+ }, vue162.PublicProps>;
93
93
  //#endregion
94
94
  export { Tab$1 as Tab, Tabs, TabsEmits, TabsProps$1 as TabsProps, TabsRef, TabsSlots };
@@ -1,6 +1,6 @@
1
1
  import { VueNode } from "../_util/type.js";
2
2
  import { ComponentBaseProps } from "../config-provider/context.js";
3
- import * as vue328 from "vue";
3
+ import * as vue330 from "vue";
4
4
  import { SlotsType } from "vue";
5
5
 
6
6
  //#region src/tag/CheckableTag.d.ts
@@ -27,8 +27,8 @@ interface CheckableTagSlots {
27
27
  default: () => any;
28
28
  icon: () => any;
29
29
  }
30
- declare const CheckableTag: vue328.DefineSetupFnComponent<CheckableTagProps, CheckableTagEmits, SlotsType<CheckableTagSlots>, CheckableTagProps & {
30
+ declare const CheckableTag: vue330.DefineSetupFnComponent<CheckableTagProps, CheckableTagEmits, SlotsType<CheckableTagSlots>, CheckableTagProps & {
31
31
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
32
- }, vue328.PublicProps>;
32
+ }, vue330.PublicProps>;
33
33
  //#endregion
34
34
  export { CheckableTag, CheckableTagProps };
@@ -2,7 +2,7 @@ import { VueNode } from "../_util/type.js";
2
2
  import { SemanticClassNames, SemanticStyles } from "../_util/hooks/useMergeSemantic.js";
3
3
  import "../_util/hooks/index.js";
4
4
  import { ComponentBaseProps } from "../config-provider/context.js";
5
- import * as vue326 from "vue";
5
+ import * as vue328 from "vue";
6
6
 
7
7
  //#region src/tag/CheckableTagGroup.d.ts
8
8
  type CheckableTagDefaultValue = string | number;
@@ -36,8 +36,8 @@ interface CheckableTagGroupEmits<CheckableTagValue = CheckableTagDefaultValue> {
36
36
  'update:value': (value: CheckableTagValue | CheckableTagValue[] | null) => void;
37
37
  [key: string]: (...args: any[]) => any;
38
38
  }
39
- declare const CheckableTagGroup: vue326.DefineSetupFnComponent<CheckableTagGroupProps<CheckableTagDefaultValue>, CheckableTagGroupEmits<CheckableTagDefaultValue>, {}, CheckableTagGroupProps<CheckableTagDefaultValue> & {
39
+ declare const CheckableTagGroup: vue328.DefineSetupFnComponent<CheckableTagGroupProps<CheckableTagDefaultValue>, CheckableTagGroupEmits<CheckableTagDefaultValue>, {}, CheckableTagGroupProps<CheckableTagDefaultValue> & {
40
40
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
41
- }, vue326.PublicProps>;
41
+ }, vue328.PublicProps>;
42
42
  //#endregion
43
43
  export { CheckableTagGroup };
@@ -49,9 +49,9 @@ const CheckableTagGroup = /* @__PURE__ */ defineComponent((props, { emit, attrs,
49
49
  aria: true,
50
50
  data: true
51
51
  }), {
52
- "class": clsx(groupPrefixCls, rootClass, {
53
- [`${groupPrefixCls}-disabled`]: disabled,
54
- [`${groupPrefixCls}-rtl`]: direction.value === "rtl"
52
+ "class": clsx(groupPrefixCls.value, rootClass, {
53
+ [`${groupPrefixCls.value}-disabled`]: disabled,
54
+ [`${groupPrefixCls.value}-rtl`]: direction.value === "rtl"
55
55
  }, hashId.value, cssVarCls.value, attrs.class, mergedClassNames.value.root),
56
56
  "style": [mergedStyles.value.root, attrs.style],
57
57
  "id": id,
@@ -6,7 +6,7 @@ import { ClosableType } from "../_util/hooks/useClosable.js";
6
6
  import { CheckableTag, CheckableTagProps } from "./CheckableTag.js";
7
7
  import { CheckableTagGroup } from "./CheckableTagGroup.js";
8
8
  import { ComponentBaseProps } from "../config-provider/context.js";
9
- import * as vue92 from "vue";
9
+ import * as vue177 from "vue";
10
10
  import { SlotsType } from "vue";
11
11
  import { LiteralUnion } from "@v-c/util/dist/type";
12
12
 
@@ -38,9 +38,9 @@ interface TagEmits {
38
38
  close: (ev: MouseEvent) => void;
39
39
  [key: string]: (...args: any[]) => any;
40
40
  }
41
- declare const InternalTag: vue92.DefineSetupFnComponent<TagProps, TagEmits, SlotsType<TagSlots>, TagProps & {
41
+ declare const InternalTag: vue177.DefineSetupFnComponent<TagProps, TagEmits, SlotsType<TagSlots>, TagProps & {
42
42
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
43
- }, vue92.PublicProps>;
43
+ }, vue177.PublicProps>;
44
44
  declare const Tag: typeof InternalTag & {
45
45
  CheckableTag: typeof CheckableTag;
46
46
  };
@@ -1,4 +1,4 @@
1
1
  import "./interface/index.js";
2
2
  import "./themes/default/theme.js";
3
- import { Ref } from "vue";
4
- import "@antdv-next/cssinjs";
3
+ import "@antdv-next/cssinjs";
4
+ import { Ref } from "vue";
@@ -5,15 +5,15 @@ import { GlobalToken } from "./interface/cssinjs-utils.js";
5
5
  import "./interface/index.js";
6
6
  import { getDesignToken } from "./getDesignToken.js";
7
7
  import { derivative } from "./themes/default/index.js";
8
- import * as vue4 from "vue";
9
8
  import * as _antdv_next_cssinjs0 from "@antdv-next/cssinjs";
9
+ import * as vue2 from "vue";
10
10
 
11
11
  //#region src/theme/index.d.ts
12
12
  /** Get current context Design Token. Will be different if you are using nest theme config. */
13
13
  declare function useToken(): {
14
- theme: vue4.Ref<_antdv_next_cssinjs0.Theme<SeedToken, AliasToken>, _antdv_next_cssinjs0.Theme<SeedToken, AliasToken>>;
15
- token: vue4.Ref<GlobalToken, GlobalToken>;
16
- hashId: vue4.Ref<string, string>;
14
+ theme: vue2.Ref<_antdv_next_cssinjs0.Theme<SeedToken, AliasToken>, _antdv_next_cssinjs0.Theme<SeedToken, AliasToken>>;
15
+ token: vue2.Ref<GlobalToken, GlobalToken>;
16
+ hashId: vue2.Ref<string, string>;
17
17
  };
18
18
  declare const _default: {
19
19
  /** Default seedToken */
@@ -1,4 +1,4 @@
1
1
  import "./interface/index.js";
2
2
  import "./context.js";
3
- import { Ref } from "vue";
4
- import "@antdv-next/cssinjs";
3
+ import "@antdv-next/cssinjs";
4
+ import { Ref } from "vue";
@@ -3,8 +3,8 @@ import seed_default from "./themes/seed.js";
3
3
  import theme_default from "./themes/default/theme.js";
4
4
  import { useDesignToken } from "./context.js";
5
5
  import formatToken from "./util/alias.js";
6
- import { computed } from "vue";
7
6
  import { useCacheToken } from "@antdv-next/cssinjs";
7
+ import { computed } from "vue";
8
8
 
9
9
  //#region src/theme/useToken.ts
10
10
  const unitless = {
@@ -1,3 +1,3 @@
1
1
  import "../interface/index.js";
2
- import "vue";
3
- import "@antdv-next/cssinjs";
2
+ import "@antdv-next/cssinjs";
3
+ import "vue";
@@ -1,7 +1,7 @@
1
1
  import useToken from "../useToken.js";
2
2
  import { genIconStyle } from "../../style/index.js";
3
- import { computed } from "vue";
4
3
  import { useStyleRegister } from "@antdv-next/cssinjs";
4
+ import { computed } from "vue";
5
5
 
6
6
  //#region src/theme/util/useResetIconStyle.ts
7
7
  function useResetIconStyle(iconPrefixCls, csp) {
@@ -4,7 +4,7 @@ import "../_util/hooks/index.js";
4
4
  import { InputStatus } from "../_util/statusUtils.js";
5
5
  import "../date-picker/generatePicker/index.js";
6
6
  import { PickerProps as PickerProps$1, RangePickerProps as RangePickerProps$1 } from "../date-picker/generatePicker/interface.js";
7
- import * as vue17 from "vue";
7
+ import * as vue51 from "vue";
8
8
  import { CSSProperties, SlotsType } from "vue";
9
9
  import { PickerMode } from "@v-c/picker";
10
10
 
@@ -46,9 +46,9 @@ interface TimeRangePickerEmits<DateType = AnyObject> {
46
46
  'keydown': (e: KeyboardEvent, preventDefault: VoidFunction) => void;
47
47
  [key: string]: (...args: any[]) => void;
48
48
  }
49
- declare const RangePicker$1: vue17.DefineSetupFnComponent<TimeRangePickerProps, TimeRangePickerEmits<AnyObject>, {}, TimeRangePickerProps & {
49
+ declare const RangePicker$1: vue51.DefineSetupFnComponent<TimeRangePickerProps, TimeRangePickerEmits<AnyObject>, {}, TimeRangePickerProps & {
50
50
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
51
- }, vue17.PublicProps>;
51
+ }, vue51.PublicProps>;
52
52
  interface TimePickerProps extends Omit<PickerTimeProps<AnyObject>, 'picker' | 'classes' | 'styles'> {
53
53
  addon?: () => VueNode;
54
54
  status?: InputStatus;
@@ -79,15 +79,16 @@ interface TimePickerEmits<DateType = AnyObject> {
79
79
  'keydown': (e: KeyboardEvent, preventDefault: VoidFunction) => void;
80
80
  [key: string]: (...args: any[]) => void;
81
81
  }
82
- declare const TimePicker: vue17.DefineSetupFnComponent<TimePickerProps, TimePickerEmits<AnyObject>, SlotsType<TimePickerSlots>, TimePickerProps & {
82
+ declare const TimePicker: vue51.DefineSetupFnComponent<TimePickerProps, TimePickerEmits<AnyObject>, SlotsType<TimePickerSlots>, TimePickerProps & {
83
83
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
84
- }, vue17.PublicProps>;
84
+ }, vue51.PublicProps>;
85
85
  type MergedTimePicker = typeof TimePicker & {
86
86
  RangePicker: typeof RangePicker$1;
87
+ _InternalPanelDoNotUseOrYouWillBeFired: any;
87
88
  };
88
89
  declare const _default: MergedTimePicker;
89
- declare const TimeRangePicker: vue17.DefineSetupFnComponent<TimeRangePickerProps, TimeRangePickerEmits<AnyObject>, {}, TimeRangePickerProps & {
90
+ declare const TimeRangePicker: vue51.DefineSetupFnComponent<TimeRangePickerProps, TimeRangePickerEmits<AnyObject>, {}, TimeRangePickerProps & {
90
91
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
91
- }, vue17.PublicProps>;
92
+ }, vue51.PublicProps>;
92
93
  //#endregion
93
94
  export { TimePickerLocale, TimePickerProps, TimeRangePicker, TimeRangePickerProps, _default };
@@ -1,5 +1,6 @@
1
1
  import { devUseWarning, isDev } from "../_util/warning.js";
2
2
  import { toPropsRefs } from "../_util/tools.js";
3
+ import PurePanel_default from "../_util/PurePanel.js";
3
4
  import { useVariants } from "../form/hooks/useVariant.js";
4
5
  import useMergedPickerSemantic from "../date-picker/hooks/useMergedPickerSemantic.js";
5
6
  import date_picker_default from "../date-picker/index.js";
@@ -39,19 +40,21 @@ const RangePicker = /* @__PURE__ */ defineComponent((props, { slots, emit, expos
39
40
  blur: () => rangeRef.value?.blur?.(),
40
41
  nativeElement: computed(() => rangeRef.value?.nativeElement)
41
42
  });
42
- return () => createVNode(InternalRangePicker, mergeProps(attrs, props, {
43
- "ref": rangeRef,
44
- "picker": "time",
45
- "mode": void 0,
46
- "onChange": onChange,
47
- "onCalendarChange": onCalendarChange,
48
- "onPanelChange": onPanelChange,
49
- "onOpenChange": onOpenChange,
50
- "onOk": onOk,
51
- "onFocus": onFocus,
52
- "onBlur": onBlur,
53
- "onKeydown": onKeyDown
54
- }), slots);
43
+ return () => {
44
+ return createVNode(InternalRangePicker, mergeProps(attrs, props, {
45
+ "ref": rangeRef,
46
+ "picker": "time",
47
+ "mode": void 0,
48
+ "onChange": onChange,
49
+ "onCalendarChange": onCalendarChange,
50
+ "onPanelChange": onPanelChange,
51
+ "onOpenChange": onOpenChange,
52
+ "onOk": onOk,
53
+ "onFocus": onFocus,
54
+ "onBlur": onBlur,
55
+ "onKeydown": onKeyDown
56
+ }), slots);
57
+ };
55
58
  }, {
56
59
  emits: [
57
60
  "change",
@@ -2967,6 +2970,7 @@ const TimePicker = /* @__PURE__ */ defineComponent((props, { slots, emit, expose
2967
2970
  name: "ATimePicker",
2968
2971
  inheritAttrs: false
2969
2972
  });
2973
+ TimePicker._InternalPanelDoNotUseOrYouWillBeFired = PurePanel_default(TimePicker, "popupAlign", void 0, "picker");
2970
2974
  TimePicker.RangePicker = RangePicker;
2971
2975
  TimePicker.install = (app) => {
2972
2976
  app.component(TimePicker.name, TimePicker);
@@ -1,7 +1,7 @@
1
1
  import { EmptyEmit, VueNode } from "../_util/type.js";
2
2
  import { ComponentBaseProps } from "../config-provider/context.js";
3
3
  import { TimelineItemProps } from "./TimelineItem.js";
4
- import * as vue286 from "vue";
4
+ import * as vue314 from "vue";
5
5
  import { SlotsType } from "vue";
6
6
 
7
7
  //#region src/timeline/Timeline.d.ts
@@ -40,8 +40,8 @@ interface TimelineSlots {
40
40
  index: number;
41
41
  }) => void;
42
42
  }
43
- declare const Timeline: vue286.DefineSetupFnComponent<TimelineProps, EmptyEmit, SlotsType<TimelineSlots>, TimelineProps & {
43
+ declare const Timeline: vue314.DefineSetupFnComponent<TimelineProps, EmptyEmit, SlotsType<TimelineSlots>, TimelineProps & {
44
44
  [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
45
- }, vue286.PublicProps>;
45
+ }, vue314.PublicProps>;
46
46
  //#endregion
47
47
  export { Timeline, TimelineProps };
@@ -1,9 +1,9 @@
1
1
  import { TooltipProps } from "./index.js";
2
- import * as vue312 from "vue";
2
+ import * as vue318 from "vue";
3
3
 
4
4
  //#region src/tooltip/PurePanel.d.ts
5
5
  interface PurePanelProps extends TooltipProps {}
6
6
  /** @private Internal Component. Do not use in your production. */
7
- declare const PurePanel: vue312.DefineSetupFnComponent<PurePanelProps, {}, {}, PurePanelProps & {}, vue312.PublicProps>;
7
+ declare const PurePanel: vue318.DefineSetupFnComponent<PurePanelProps, {}, {}, PurePanelProps & {}, vue318.PublicProps>;
8
8
  //#endregion
9
9
  export { PurePanel };
@@ -1,11 +1,13 @@
1
1
  import { useComponentBaseConfig } from "../config-provider/context.js";
2
2
  import { 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
+ import useCSSVarCls_default from "../config-provider/hooks/useCSSVarCls.js";
5
6
  import style_default from "./style/index.js";
6
7
  import { parseColor } from "./util.js";
7
8
  import { computed, createVNode, defineComponent, isVNode, mergeDefaults, mergeProps } from "vue";
8
9
  import { clsx } from "@v-c/util";
10
+ import { omit } from "es-toolkit";
9
11
  import { Popup } from "@v-c/tooltip";
10
12
 
11
13
  //#region src/tooltip/PurePanel.tsx
@@ -13,9 +15,9 @@ function _isSlot(s) {
13
15
  return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
14
16
  }
15
17
  /** @private Internal Component. Do not use in your production. */
16
- const PurePanel = /* @__PURE__ */ defineComponent((props, { attrs }) => {
18
+ const PurePanel = /* @__PURE__ */ defineComponent((props, { attrs, slots }) => {
17
19
  const { prefixCls, rootPrefixCls } = useComponentBaseConfig("tooltip", props);
18
- const rootCls = rootPrefixCls;
20
+ const rootCls = useCSSVarCls_default(prefixCls);
19
21
  const { placement, classes, styles } = toPropsRefs(props, "placement", "classes", "styles");
20
22
  const [hashId, cssVarCls] = style_default(prefixCls, rootCls);
21
23
  const mergedProps = computed(() => ({
@@ -23,16 +25,18 @@ const PurePanel = /* @__PURE__ */ defineComponent((props, { attrs }) => {
23
25
  placement: placement.value
24
26
  }));
25
27
  const colorInfo = computed(() => parseColor(rootPrefixCls.value, prefixCls.value, props.color));
26
- const innerStyles = computed(() => ({ container: colorInfo.value.overlayStyle }));
28
+ const innerStyles = computed(() => {
29
+ return { container: { ...colorInfo.value.overlayStyle } };
30
+ });
27
31
  const [mergedClassNames, mergedStyles] = useMergeSemantic(useToArr(classes), useToArr(innerStyles, styles), useToProps(mergedProps));
28
32
  return () => {
29
33
  const arrowContentStyle = colorInfo.value.arrowStyle;
30
- const { title } = props;
34
+ const title = getSlotPropsFnRun(slots, props, "title");
31
35
  const rootClassName = clsx(rootCls.value, hashId.value, cssVarCls.value, prefixCls.value, `${prefixCls.value}-pure`, `${prefixCls.value}-placement-${placement.value}`, attrs.class, colorInfo.value.className);
32
36
  return createVNode("div", {
33
37
  "class": rootClassName,
34
38
  "style": arrowContentStyle
35
- }, [createVNode("div", { "class": `${prefixCls.value}-arrow` }, null), createVNode(Popup, mergeProps(props, {
39
+ }, [createVNode("div", { "class": `${prefixCls.value}-arrow` }, null), createVNode(Popup, mergeProps(omit(props, ["class"]), {
36
40
  "className": hashId.value,
37
41
  "prefixCls": prefixCls.value,
38
42
  "classNames": mergedClassNames.value,