antdv-next 1.5.6 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (159) hide show
  1. package/dist/_util/PurePanel.js +17 -14
  2. package/dist/_util/fallbackProp.d.ts +13 -0
  3. package/dist/_util/fallbackProp.js +15 -0
  4. package/dist/_util/hooks/useAllowClear.d.ts +19 -0
  5. package/dist/_util/hooks/useAllowClear.js +16 -0
  6. package/dist/_util/hooks/useMergeSemantic.js +3 -2
  7. package/dist/_util/omitUndefined.d.ts +13 -0
  8. package/dist/_util/omitUndefined.js +20 -0
  9. package/dist/_util/statusUtils.d.ts +1 -1
  10. package/dist/_util/vueNode.d.ts +2 -6
  11. package/dist/_util/wave/index.js +4 -2
  12. package/dist/_util/wave/style.d.ts +5 -1
  13. package/dist/_util/wave/useWave.d.ts +2 -1
  14. package/dist/_util/wave/useWave.js +4 -3
  15. package/dist/affix/style/index.d.ts +5 -1
  16. package/dist/alert/Alert.d.ts +6 -2
  17. package/dist/alert/Alert.js +131 -128
  18. package/dist/alert/style/index.d.ts +4 -1
  19. package/dist/alert/style/index.js +9 -6
  20. package/dist/anchor/style/index.d.ts +5 -1
  21. package/dist/antd-with-locales.esm.js +18709 -16277
  22. package/dist/antd-with-locales.js +80 -80
  23. package/dist/antd.css +1 -1
  24. package/dist/antd.esm.js +17119 -14687
  25. package/dist/antd.js +80 -80
  26. package/dist/app/style/index.d.ts +5 -1
  27. package/dist/avatar/style/index.d.ts +5 -1
  28. package/dist/badge/index.js +1 -1
  29. package/dist/badge/style/index.d.ts +5 -1
  30. package/dist/badge/style/index.js +2 -9
  31. package/dist/badge/style/ribbon.d.ts +5 -1
  32. package/dist/border-beam/style/index.d.ts +5 -1
  33. package/dist/breadcrumb/BreadcrumbItem.js +1 -1
  34. package/dist/breadcrumb/style/index.d.ts +5 -1
  35. package/dist/button/style/index.d.ts +5 -1
  36. package/dist/calendar/style/index.d.ts +4 -1
  37. package/dist/card/Card.js +1 -1
  38. package/dist/card/style/index.d.ts +5 -1
  39. package/dist/carousel/index.js +1 -1
  40. package/dist/carousel/style/index.d.ts +5 -1
  41. package/dist/carousel/style/index.js +1 -1
  42. package/dist/cascader/index.js +3 -2
  43. package/dist/cascader/style/index.d.ts +5 -1
  44. package/dist/cascader/style/panel.d.ts +5 -1
  45. package/dist/checkbox/style/index.d.ts +4 -1
  46. package/dist/collapse/style/index.d.ts +4 -1
  47. package/dist/color-picker/ColorPicker.js +7 -11
  48. package/dist/color-picker/style/index.d.ts +5 -1
  49. package/dist/config-provider/context.d.ts +16 -21
  50. package/dist/config-provider/context.js +32 -38
  51. package/dist/config-provider/define.d.ts +3 -1
  52. package/dist/config-provider/hooks/useCSSVarCls.d.ts +3 -0
  53. package/dist/config-provider/hooks/useCSSVarCls.js +4 -3
  54. package/dist/config-provider/index.d.ts +2 -2
  55. package/dist/config-provider/index.js +24 -1
  56. package/dist/date-picker/generatePicker/generateRangePicker.js +10 -3
  57. package/dist/date-picker/generatePicker/generateSinglePicker.js +13 -5
  58. package/dist/date-picker/generatePicker/useComponents.d.ts +3 -3
  59. package/dist/date-picker/style/index.d.ts +5 -1
  60. package/dist/date-picker/util.d.ts +8 -12
  61. package/dist/date-picker/util.js +14 -7
  62. package/dist/descriptions/Cell.js +80 -75
  63. package/dist/descriptions/Row.js +14 -11
  64. package/dist/descriptions/hooks/useItems.d.ts +6 -6
  65. package/dist/descriptions/style/index.d.ts +5 -1
  66. package/dist/divider/style/index.d.ts +5 -1
  67. package/dist/drawer/DrawerPanel.js +6 -6
  68. package/dist/drawer/index.d.ts +0 -2
  69. package/dist/drawer/index.js +0 -1
  70. package/dist/drawer/style/index.d.ts +5 -1
  71. package/dist/dropdown/dropdown.js +2 -1
  72. package/dist/dropdown/style/index.d.ts +5 -1
  73. package/dist/empty/style/index.d.ts +5 -1
  74. package/dist/flex/index.js +1 -1
  75. package/dist/flex/style/index.d.ts +5 -1
  76. package/dist/float-button/FloatButtonGroup.js +1 -1
  77. package/dist/float-button/style/index.d.ts +5 -1
  78. package/dist/form/FormItem/index.js +36 -16
  79. package/dist/form/context.d.ts +1 -1
  80. package/dist/form/hooks/useVariant.d.ts +1 -1
  81. package/dist/form/style/index.d.ts +5 -1
  82. package/dist/grid/style/index.d.ts +5 -2
  83. package/dist/image/hooks/usePreviewConfig.d.ts +9 -9
  84. package/dist/image/style/index.d.ts +4 -1
  85. package/dist/input/style/index.d.ts +5 -2
  86. package/dist/input/style/otp.d.ts +5 -1
  87. package/dist/input/style/search.d.ts +5 -1
  88. package/dist/input/style/textarea.d.ts +5 -1
  89. package/dist/input-number/style/index.d.ts +5 -1
  90. package/dist/layout/style/index.d.ts +5 -1
  91. package/dist/layout/style/sider.d.ts +5 -1
  92. package/dist/listy/style/index.d.ts +5 -1
  93. package/dist/locale/useLocale.d.ts +1 -1
  94. package/dist/masonry/style/index.d.ts +4 -1
  95. package/dist/mentions/index.js +1 -1
  96. package/dist/mentions/style/index.d.ts +5 -1
  97. package/dist/menu/MenuItem.js +2 -1
  98. package/dist/message/style/index.d.ts +5 -1
  99. package/dist/modal/style/index.d.ts +3 -1
  100. package/dist/notification/style/index.d.ts +4 -1
  101. package/dist/package.js +1 -1
  102. package/dist/pagination/style/index.d.ts +5 -1
  103. package/dist/popconfirm/style/index.d.ts +5 -1
  104. package/dist/popover/index.js +4 -3
  105. package/dist/popover/style/index.d.ts +5 -1
  106. package/dist/progress/style/index.d.ts +5 -1
  107. package/dist/qrcode/index.js +0 -21
  108. package/dist/qrcode/interface.d.ts +1 -1
  109. package/dist/qrcode/style/index.d.ts +5 -1
  110. package/dist/radio/style/index.d.ts +5 -1
  111. package/dist/rate/style/index.d.ts +5 -1
  112. package/dist/result/style/index.d.ts +5 -1
  113. package/dist/segmented/style/index.d.ts +5 -1
  114. package/dist/select/index.js +2 -2
  115. package/dist/select/style/index.d.ts +5 -1
  116. package/dist/skeleton/style/index.d.ts +5 -1
  117. package/dist/slider/style/index.d.ts +5 -1
  118. package/dist/space/Compact.d.ts +1 -1
  119. package/dist/space/style/addon.d.ts +5 -1
  120. package/dist/space/style/compact.d.ts +5 -1
  121. package/dist/space/style/index.d.ts +5 -1
  122. package/dist/spin/style/index.d.ts +5 -1
  123. package/dist/splitter/style/index.d.ts +5 -1
  124. package/dist/statistic/style/index.d.ts +5 -1
  125. package/dist/steps/style/index.d.ts +5 -1
  126. package/dist/switch/style/index.d.ts +5 -1
  127. package/dist/table/InternalTable.js +52 -48
  128. package/dist/table/hooks/useSelection.js +19 -6
  129. package/dist/table/style/index.d.ts +5 -1
  130. package/dist/table/style/selection.js +1 -1
  131. package/dist/table/util.d.ts +1 -1
  132. package/dist/tabs/style/index.d.ts +5 -1
  133. package/dist/tag/CheckableTagGroup.d.ts +2 -2
  134. package/dist/tag/hooks/useColor.d.ts +1 -1
  135. package/dist/tag/style/index.d.ts +5 -1
  136. package/dist/theme/context.js +2 -1
  137. package/dist/theme/useToken.d.ts +6 -2
  138. package/dist/theme/useToken.js +46 -14
  139. package/dist/theme/util/genStyleUtils.d.ts +13 -3
  140. package/dist/theme/util/genStyleUtils.js +42 -28
  141. package/dist/timeline/style/index.d.ts +5 -1
  142. package/dist/timeline/useItems.d.ts +2 -2
  143. package/dist/timeline/useItems.js +1 -1
  144. package/dist/tooltip/index.js +1 -1
  145. package/dist/tooltip/style/index.d.ts +2 -2
  146. package/dist/tour/style/index.d.ts +5 -1
  147. package/dist/transfer/Transfer.js +2 -0
  148. package/dist/transfer/style/index.d.ts +5 -1
  149. package/dist/tree/DirectoryTree.js +1 -1
  150. package/dist/tree/style/index.d.ts +4 -1
  151. package/dist/tree-select/index.js +1 -1
  152. package/dist/tree-select/style/index.d.ts +2 -2
  153. package/dist/typography/style/index.d.ts +5 -1
  154. package/dist/upload/style/index.d.ts +5 -1
  155. package/dist/version/token.json +1 -1
  156. package/global.d.ts +5 -0
  157. package/package.json +11 -11
  158. package/web-tags.json +5007 -3018
  159. package/web-types.json +12961 -7217
@@ -1,5 +1,9 @@
1
+ import { SeedToken } from "../../theme/interface/seeds.js";
2
+ import { AliasToken } from "../../theme/interface/alias.js";
1
3
  import { SharedComponentToken, SharedInputToken } from "../../input/style/token.js";
4
+ import { ComponentTokenMap } from "../../theme/interface/components.js";
2
5
  import { FullToken, GenStyleFn, GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
6
+ import "../../theme/interface/index.js";
3
7
  import "../../theme/internal.js";
4
8
  //#region src/pagination/style/index.d.ts
5
9
  interface ComponentToken {
@@ -107,6 +111,6 @@ interface PaginationToken extends FullToken<'Pagination'>, SharedComponentToken,
107
111
  }
108
112
  declare const prepareComponentToken: GetDefaultToken<'Pagination'>;
109
113
  declare function prepareToken(token: Parameters<GenStyleFn<'Pagination'>>[0]): PaginationToken;
110
- declare const _default: (prefixCls: import("vue").Ref<string>, rootCls?: import("vue").Ref<string | undefined>) => readonly [import("vue").Ref<string, string>, import("vue").ComputedRef<string | undefined>];
114
+ declare const _default: (prefixCls: import("vue").Ref<string>, rootCls?: import("vue").Ref<string | undefined>, tokenResult?: import("@antdv-next/cssinjs").UseTokenReturn<ComponentTokenMap, AliasToken, SeedToken> | undefined) => readonly [import("vue").Ref<string, string>, import("vue").ComputedRef<string | undefined>];
111
115
  //#endregion
112
116
  export { ComponentToken, PaginationToken, _default as default, prepareComponentToken, prepareToken };
@@ -1,4 +1,8 @@
1
+ import { SeedToken } from "../../theme/interface/seeds.js";
2
+ import { AliasToken } from "../../theme/interface/alias.js";
3
+ import { ComponentTokenMap } from "../../theme/interface/components.js";
1
4
  import { FullToken, GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
5
+ import "../../theme/interface/index.js";
2
6
  import "../../theme/internal.js";
3
7
  //#region src/popconfirm/style/index.d.ts
4
8
  interface ComponentToken {
@@ -14,6 +18,6 @@ interface ComponentToken {
14
18
  */
15
19
  interface PopconfirmToken extends FullToken<'Popconfirm'> {}
16
20
  declare const prepareComponentToken: GetDefaultToken<'Popconfirm'>;
17
- declare const _default: (prefixCls: import("vue").Ref<string>, rootCls?: import("vue").Ref<string | undefined>) => readonly [import("vue").Ref<string, string>, import("vue").ComputedRef<string | undefined>];
21
+ declare const _default: (prefixCls: import("vue").Ref<string>, rootCls?: import("vue").Ref<string | undefined>, tokenResult?: import("@antdv-next/cssinjs").UseTokenReturn<ComponentTokenMap, AliasToken, SeedToken> | undefined) => readonly [import("vue").Ref<string, string>, import("vue").ComputedRef<string | undefined>];
18
22
  //#endregion
19
23
  export { ComponentToken, PopconfirmToken, _default as default, prepareComponentToken };
@@ -6,7 +6,7 @@ import InternalTooltip from "../tooltip/index.js";
6
6
  import { isRenderable } from "../_util/is.js";
7
7
  import style_default from "./style/index.js";
8
8
  import PurePanel, { Overlay } from "./PurePanel.js";
9
- import { computed, createVNode, defineComponent, mergeDefaults, mergeProps, shallowRef, watch } from "vue";
9
+ import { computed, createVNode, defineComponent, isVNode, mergeDefaults, mergeProps, shallowRef, watch } from "vue";
10
10
  import { clsx } from "@v-c/util";
11
11
  import { filterEmpty, removeUndefined } from "@v-c/util/dist/props-util";
12
12
  import { getTransitionName } from "@v-c/util/dist/utils/transition";
@@ -60,7 +60,8 @@ const Popover = /* @__PURE__ */ defineComponent((props, { slots, attrs, expose,
60
60
  settingOpen(nextOpen);
61
61
  };
62
62
  return () => {
63
- const children = filterEmpty(slots?.default?.() ?? [])?.[0];
63
+ const firstChild = filterEmpty(slots?.default?.() ?? [])[0];
64
+ const child = firstChild && !(isVNode(firstChild) && typeof firstChild.type !== "symbol") ? createVNode("span", null, [firstChild]) : firstChild;
64
65
  const { placement, mouseLeaveDelay: _mouseLeaveDelay, mouseEnterDelay: _mouseEnterDelay, motion, ...restProps } = props;
65
66
  const titleNode = getSlotPropsFnRun(slots, props, "title");
66
67
  const contentNode = getSlotPropsFnRun(slots, props, "content");
@@ -96,7 +97,7 @@ const Popover = /* @__PURE__ */ defineComponent((props, { slots, attrs, expose,
96
97
  "motion": { name: getTransitionName(rootCls.value, "zoom-big", typeof motion?.name === "string" ? motion?.name : void 0) },
97
98
  "dataPopoverInject": true,
98
99
  "ref": popoverRef
99
- }), { default: () => [children ? createVNode(children, { onKeydown: onKeyDown }) : null] });
100
+ }), { default: () => [child ? createVNode(child, { onKeydown: onKeyDown }) : null] });
100
101
  };
101
102
  }, {
102
103
  props: /*@__PURE__*/ mergeDefaults({
@@ -1,6 +1,10 @@
1
+ import { SeedToken } from "../../theme/interface/seeds.js";
2
+ import { AliasToken } from "../../theme/interface/alias.js";
1
3
  import { ArrowToken } from "../../style/roundedArrow.js";
2
4
  import { ArrowOffsetToken } from "../../style/placementArrow.js";
5
+ import { ComponentTokenMap } from "../../theme/interface/components.js";
3
6
  import { FullToken, GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
7
+ import "../../theme/interface/index.js";
4
8
  import "../../theme/internal.js";
5
9
  //#region src/popover/style/index.d.ts
6
10
  interface ComponentToken extends ArrowToken, ArrowOffsetToken {
@@ -54,6 +58,6 @@ type PopoverToken = FullToken<'Popover'> & {
54
58
  popoverColor: string;
55
59
  };
56
60
  declare const prepareComponentToken: GetDefaultToken<'Popover'>;
57
- declare const _default: (prefixCls: import("vue").Ref<string>, rootCls?: import("vue").Ref<string | undefined>) => readonly [import("vue").Ref<string, string>, import("vue").ComputedRef<string | undefined>];
61
+ declare const _default: (prefixCls: import("vue").Ref<string>, rootCls?: import("vue").Ref<string | undefined>, tokenResult?: import("@antdv-next/cssinjs").UseTokenReturn<ComponentTokenMap, AliasToken, SeedToken> | undefined) => readonly [import("vue").Ref<string, string>, import("vue").ComputedRef<string | undefined>];
58
62
  //#endregion
59
63
  export { ComponentToken, PopoverToken, _default as default, prepareComponentToken };
@@ -1,4 +1,8 @@
1
+ import { SeedToken } from "../../theme/interface/seeds.js";
2
+ import { AliasToken } from "../../theme/interface/alias.js";
3
+ import { ComponentTokenMap } from "../../theme/interface/components.js";
1
4
  import { GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
5
+ import "../../theme/interface/index.js";
2
6
  import "../../theme/internal.js";
3
7
  //#region src/progress/style/index.d.ts
4
8
  interface ComponentToken {
@@ -35,6 +39,6 @@ interface ComponentToken {
35
39
  }
36
40
  declare const LineStrokeColorVar = "--progress-line-stroke-color";
37
41
  declare const prepareComponentToken: GetDefaultToken<'Progress'>;
38
- declare const _default: (prefixCls: import("vue").Ref<string>, rootCls?: import("vue").Ref<string | undefined>) => readonly [import("vue").Ref<string, string>, import("vue").ComputedRef<string | undefined>];
42
+ declare const _default: (prefixCls: import("vue").Ref<string>, rootCls?: import("vue").Ref<string | undefined>, tokenResult?: import("@antdv-next/cssinjs").UseTokenReturn<ComponentTokenMap, AliasToken, SeedToken> | undefined) => readonly [import("vue").Ref<string, string>, import("vue").ComputedRef<string | undefined>];
39
43
  //#endregion
40
44
  export { ComponentToken, LineStrokeColorVar, _default as default, prepareComponentToken };
@@ -148,39 +148,18 @@ const QRCode = /* @__PURE__ */ defineComponent((props, { emit, attrs, slots, exp
148
148
  type: Number,
149
149
  required: false
150
150
  },
151
- level: {
152
- type: String,
153
- required: false
154
- },
155
151
  bgColor: {
156
152
  type: String,
157
153
  required: false
158
154
  },
159
- fgColor: {
160
- type: String,
161
- required: false
162
- },
163
- includeMargin: {
164
- type: Boolean,
165
- required: false,
166
- default: void 0
167
- },
168
155
  marginSize: {
169
156
  type: Number,
170
157
  required: false
171
158
  },
172
- imageSettings: {
173
- type: Object,
174
- required: false
175
- },
176
159
  title: {
177
160
  type: String,
178
161
  required: false
179
162
  },
180
- minVersion: {
181
- type: Number,
182
- required: false
183
- },
184
163
  rootClass: {
185
164
  type: String,
186
165
  required: false
@@ -25,7 +25,7 @@ interface QRCodeSemanticStyles {
25
25
  }
26
26
  type QRCodeClassNamesType = SemanticClassNamesType<QRCodeProps, QRCodeSemanticClassNames>;
27
27
  type QRCodeStylesType = SemanticStylesType<QRCodeProps, QRCodeSemanticStyles>;
28
- interface QRCodeProps extends QRProps, ComponentBaseProps {
28
+ interface QRCodeProps extends Omit<QRProps, 'fgColor' | 'imageSettings' | 'includeMargin' | 'level' | 'minVersion'>, ComponentBaseProps {
29
29
  type?: 'canvas' | 'svg';
30
30
  icon?: string;
31
31
  iconSize?: number | {
@@ -1,8 +1,12 @@
1
+ import { SeedToken } from "../../theme/interface/seeds.js";
2
+ import { AliasToken } from "../../theme/interface/alias.js";
3
+ import { ComponentTokenMap } from "../../theme/interface/components.js";
1
4
  import { GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
5
+ import "../../theme/interface/index.js";
2
6
  import "../../theme/internal.js";
3
7
  //#region src/qrcode/style/index.d.ts
4
8
  interface ComponentToken {}
5
9
  declare const prepareComponentToken: GetDefaultToken<'QRCode'>;
6
- declare const _default: (prefixCls: import("vue").Ref<string>, rootCls?: import("vue").Ref<string | undefined>) => readonly [import("vue").Ref<string, string>, import("vue").ComputedRef<string | undefined>];
10
+ declare const _default: (prefixCls: import("vue").Ref<string>, rootCls?: import("vue").Ref<string | undefined>, tokenResult?: import("@antdv-next/cssinjs").UseTokenReturn<ComponentTokenMap, AliasToken, SeedToken> | undefined) => readonly [import("vue").Ref<string, string>, import("vue").ComputedRef<string | undefined>];
7
11
  //#endregion
8
12
  export { ComponentToken, _default as default, prepareComponentToken };
@@ -1,4 +1,8 @@
1
+ import { SeedToken } from "../../theme/interface/seeds.js";
2
+ import { AliasToken } from "../../theme/interface/alias.js";
3
+ import { ComponentTokenMap } from "../../theme/interface/components.js";
1
4
  import { GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
5
+ import "../../theme/interface/index.js";
2
6
  import "../../theme/internal.js";
3
7
  //#region src/radio/style/index.d.ts
4
8
  interface ComponentToken {
@@ -78,6 +82,6 @@ interface ComponentToken {
78
82
  radioBgColor: string;
79
83
  }
80
84
  declare const prepareComponentToken: GetDefaultToken<'Radio'>;
81
- declare const _default: (prefixCls: import("vue").Ref<string>, rootCls?: import("vue").Ref<string | undefined>) => readonly [import("vue").Ref<string, string>, import("vue").ComputedRef<string | undefined>];
85
+ declare const _default: (prefixCls: import("vue").Ref<string>, rootCls?: import("vue").Ref<string | undefined>, tokenResult?: import("@antdv-next/cssinjs").UseTokenReturn<ComponentTokenMap, AliasToken, SeedToken> | undefined) => readonly [import("vue").Ref<string, string>, import("vue").ComputedRef<string | undefined>];
82
86
  //#endregion
83
87
  export { ComponentToken, _default as default, prepareComponentToken };
@@ -1,4 +1,8 @@
1
+ import { SeedToken } from "../../theme/interface/seeds.js";
2
+ import { AliasToken } from "../../theme/interface/alias.js";
3
+ import { ComponentTokenMap } from "../../theme/interface/components.js";
1
4
  import { GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
5
+ import "../../theme/interface/index.js";
2
6
  import "../../theme/internal.js";
3
7
  import { CSSObject } from "@antdv-next/cssinjs";
4
8
  //#region src/rate/style/index.d.ts
@@ -35,6 +39,6 @@ interface ComponentToken {
35
39
  starBg: string;
36
40
  }
37
41
  declare const prepareComponentToken: GetDefaultToken<'Rate'>;
38
- declare const _default: (prefixCls: import("vue").Ref<string>, rootCls?: import("vue").Ref<string | undefined>) => readonly [import("vue").Ref<string, string>, import("vue").ComputedRef<string | undefined>];
42
+ declare const _default: (prefixCls: import("vue").Ref<string>, rootCls?: import("vue").Ref<string | undefined>, tokenResult?: import("@antdv-next/cssinjs").UseTokenReturn<ComponentTokenMap, AliasToken, SeedToken> | undefined) => readonly [import("vue").Ref<string, string>, import("vue").ComputedRef<string | undefined>];
39
43
  //#endregion
40
44
  export { ComponentToken, _default as default, prepareComponentToken };
@@ -1,4 +1,8 @@
1
+ import { SeedToken } from "../../theme/interface/seeds.js";
2
+ import { AliasToken } from "../../theme/interface/alias.js";
3
+ import { ComponentTokenMap } from "../../theme/interface/components.js";
1
4
  import { GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
5
+ import "../../theme/interface/index.js";
2
6
  import "../../theme/internal.js";
3
7
  import { CSSProperties } from "vue";
4
8
  //#region src/result/style/index.d.ts
@@ -25,6 +29,6 @@ interface ComponentToken {
25
29
  extraMargin: CSSProperties['margin'];
26
30
  }
27
31
  declare const prepareComponentToken: GetDefaultToken<'Result'>;
28
- declare const _default: (prefixCls: import("vue").Ref<string>, rootCls?: import("vue").Ref<string | undefined>) => readonly [import("vue").Ref<string, string>, import("vue").ComputedRef<string | undefined>];
32
+ declare const _default: (prefixCls: import("vue").Ref<string>, rootCls?: import("vue").Ref<string | undefined>, tokenResult?: import("@antdv-next/cssinjs").UseTokenReturn<ComponentTokenMap, AliasToken, SeedToken> | undefined) => readonly [import("vue").Ref<string, string>, import("vue").ComputedRef<string | undefined>];
29
33
  //#endregion
30
34
  export { ComponentToken, _default as default, prepareComponentToken };
@@ -1,4 +1,8 @@
1
+ import { SeedToken } from "../../theme/interface/seeds.js";
2
+ import { AliasToken } from "../../theme/interface/alias.js";
3
+ import { ComponentTokenMap } from "../../theme/interface/components.js";
1
4
  import { GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
5
+ import "../../theme/interface/index.js";
2
6
  import "../../theme/internal.js";
3
7
  //#region src/segmented/style/index.d.ts
4
8
  interface ComponentToken {
@@ -44,6 +48,6 @@ interface ComponentToken {
44
48
  trackBg: string;
45
49
  }
46
50
  declare const prepareComponentToken: GetDefaultToken<'Segmented'>;
47
- declare const _default: (prefixCls: import("vue").Ref<string>, rootCls?: import("vue").Ref<string | undefined>) => readonly [import("vue").Ref<string, string>, import("vue").ComputedRef<string | undefined>];
51
+ declare const _default: (prefixCls: import("vue").Ref<string>, rootCls?: import("vue").Ref<string | undefined>, tokenResult?: import("@antdv-next/cssinjs").UseTokenReturn<ComponentTokenMap, AliasToken, SeedToken> | undefined) => readonly [import("vue").Ref<string, string>, import("vue").ComputedRef<string | undefined>];
48
52
  //#endregion
49
53
  export { ComponentToken, _default as default, prepareComponentToken };
@@ -9,6 +9,7 @@ import { getSlotPropsFnRun, toPropsRefs } from "../_util/tools.js";
9
9
  import useCSSVarCls from "../config-provider/hooks/useCSSVarCls.js";
10
10
  import { useDisabledContext } from "../config-provider/DisabledContext.js";
11
11
  import genPurePanel from "../_util/PurePanel.js";
12
+ import { omitUndefined } from "../_util/omitUndefined.js";
12
13
  import { getMergedStatus, getStatusClassNames } from "../_util/statusUtils.js";
13
14
  import { DefaultRenderEmpty } from "../config-provider/defaultRenderEmpty.js";
14
15
  import { useFormItemInputContext } from "../form/context.js";
@@ -21,7 +22,6 @@ import useShowArrow from "./useShowArrow.js";
21
22
  import { computed, createVNode, defineComponent, mergeDefaults, mergeProps, shallowRef, watch } from "vue";
22
23
  import { clsx } from "@v-c/util";
23
24
  import { getTransitionName } from "@v-c/util/dist/utils/transition";
24
- import { omit } from "es-toolkit";
25
25
  import VcSelect, { OptGroup, Option } from "@v-c/select";
26
26
  //#region src/select/index.tsx
27
27
  const omitKeys = [
@@ -152,7 +152,7 @@ const Select = /* @__PURE__ */ defineComponent((props, { slots, emit, expose, at
152
152
  componentName: "Select"
153
153
  });
154
154
  const mergedAllowClear = allowClear === true ? { clearIcon } : allowClear;
155
- const selectProps = omit(rest, [
155
+ const selectProps = omitUndefined(rest, [
156
156
  "suffixIcon",
157
157
  "classes",
158
158
  "styles",
@@ -1,5 +1,9 @@
1
+ import { SeedToken } from "../../theme/interface/seeds.js";
2
+ import { AliasToken } from "../../theme/interface/alias.js";
1
3
  import { ComponentToken } from "./token.js";
4
+ import { ComponentTokenMap } from "../../theme/interface/components.js";
5
+ import "../../theme/interface/index.js";
2
6
  //#region src/select/style/index.d.ts
3
- declare const _default: (prefixCls: import("vue").Ref<string>, rootCls?: import("vue").Ref<string | undefined>) => readonly [import("vue").Ref<string, string>, import("vue").ComputedRef<string | undefined>];
7
+ declare const _default: (prefixCls: import("vue").Ref<string>, rootCls?: import("vue").Ref<string | undefined>, tokenResult?: import("@antdv-next/cssinjs").UseTokenReturn<ComponentTokenMap, AliasToken, SeedToken> | undefined) => readonly [import("vue").Ref<string, string>, import("vue").ComputedRef<string | undefined>];
4
8
  //#endregion
5
9
  export { type ComponentToken, _default as default };
@@ -1,4 +1,8 @@
1
+ import { SeedToken } from "../../theme/interface/seeds.js";
2
+ import { AliasToken } from "../../theme/interface/alias.js";
3
+ import { ComponentTokenMap } from "../../theme/interface/components.js";
1
4
  import { GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
5
+ import "../../theme/interface/index.js";
2
6
  import "../../theme/internal.js";
3
7
  //#region src/skeleton/style/index.d.ts
4
8
  interface ComponentToken {
@@ -38,6 +42,6 @@ interface ComponentToken {
38
42
  paragraphLiHeight: number;
39
43
  }
40
44
  declare const prepareComponentToken: GetDefaultToken<'Skeleton'>;
41
- declare const _default: (prefixCls: import("vue").Ref<string>, rootCls?: import("vue").Ref<string | undefined>) => readonly [import("vue").Ref<string, string>, import("vue").ComputedRef<string | undefined>];
45
+ declare const _default: (prefixCls: import("vue").Ref<string>, rootCls?: import("vue").Ref<string | undefined>, tokenResult?: import("@antdv-next/cssinjs").UseTokenReturn<ComponentTokenMap, AliasToken, SeedToken> | undefined) => readonly [import("vue").Ref<string, string>, import("vue").ComputedRef<string | undefined>];
42
46
  //#endregion
43
47
  export { ComponentToken, _default as default, prepareComponentToken };
@@ -1,4 +1,8 @@
1
+ import { SeedToken } from "../../theme/interface/seeds.js";
2
+ import { AliasToken } from "../../theme/interface/alias.js";
3
+ import { ComponentTokenMap } from "../../theme/interface/components.js";
1
4
  import { GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
5
+ import "../../theme/interface/index.js";
2
6
  import "../../theme/internal.js";
3
7
  //#region src/slider/style/index.d.ts
4
8
  interface ComponentToken {
@@ -94,6 +98,6 @@ interface ComponentToken {
94
98
  trackBgDisabled: string;
95
99
  }
96
100
  declare const prepareComponentToken: GetDefaultToken<'Slider'>;
97
- declare const _default: (prefixCls: import("vue").Ref<string>, rootCls?: import("vue").Ref<string | undefined>) => readonly [import("vue").Ref<string, string>, import("vue").ComputedRef<string | undefined>];
101
+ declare const _default: (prefixCls: import("vue").Ref<string>, rootCls?: import("vue").Ref<string | undefined>, tokenResult?: import("@antdv-next/cssinjs").UseTokenReturn<ComponentTokenMap, AliasToken, SeedToken> | undefined) => readonly [import("vue").Ref<string, string>, import("vue").ComputedRef<string | undefined>];
98
102
  //#endregion
99
103
  export { ComponentToken, _default as default, prepareComponentToken };
@@ -21,7 +21,7 @@ interface SpaceCompactItemContextType {
21
21
  declare function useSpaceCompactItemContext(): Ref<SpaceCompactItemContextType | null, SpaceCompactItemContextType | null>;
22
22
  declare function useCompactItemContext(prefixCls: Ref<string>, direction: Ref<DirectionType>): {
23
23
  compactSize: import("vue").ComputedRef<SizeType>;
24
- compactDirection: import("vue").ComputedRef<"horizontal" | "vertical" | undefined>;
24
+ compactDirection: import("vue").ComputedRef<"vertical" | "horizontal" | undefined>;
25
25
  compactItemClassnames: import("vue").ComputedRef<string>;
26
26
  };
27
27
  declare const NoCompactStyle: import("vue").DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, import("vue").PublicProps>;
@@ -1,6 +1,10 @@
1
+ import { SeedToken } from "../../theme/interface/seeds.js";
2
+ import { AliasToken } from "../../theme/interface/alias.js";
3
+ import { ComponentTokenMap } from "../../theme/interface/components.js";
4
+ import "../../theme/interface/index.js";
1
5
  //#region src/space/style/addon.d.ts
2
6
  /** Component only token. Which will handle additional calculation of alias token */
3
7
  interface ComponentToken {}
4
- declare const _default: (prefixCls: import("vue").Ref<string>, rootCls?: import("vue").Ref<string | undefined>) => readonly [import("vue").Ref<string, string>, import("vue").ComputedRef<string | undefined>];
8
+ declare const _default: (prefixCls: import("vue").Ref<string>, rootCls?: import("vue").Ref<string | undefined>, tokenResult?: import("@antdv-next/cssinjs").UseTokenReturn<ComponentTokenMap, AliasToken, SeedToken> | undefined) => readonly [import("vue").Ref<string, string>, import("vue").ComputedRef<string | undefined>];
5
9
  //#endregion
6
10
  export { ComponentToken, _default as default };
@@ -1,6 +1,10 @@
1
+ import { SeedToken } from "../../theme/interface/seeds.js";
2
+ import { AliasToken } from "../../theme/interface/alias.js";
3
+ import { ComponentTokenMap } from "../../theme/interface/components.js";
4
+ import "../../theme/interface/index.js";
1
5
  //#region src/space/style/compact.d.ts
2
6
  /** Component only token. Which will handle additional calculation of alias token */
3
7
  interface ComponentToken {}
4
- declare const _default: (prefixCls: import("vue").Ref<string>, rootCls?: import("vue").Ref<string | undefined>) => readonly [import("vue").Ref<string, string>, import("vue").ComputedRef<string | undefined>];
8
+ declare const _default: (prefixCls: import("vue").Ref<string>, rootCls?: import("vue").Ref<string | undefined>, tokenResult?: import("@antdv-next/cssinjs").UseTokenReturn<ComponentTokenMap, AliasToken, SeedToken> | undefined) => readonly [import("vue").Ref<string, string>, import("vue").ComputedRef<string | undefined>];
5
9
  //#endregion
6
10
  export { ComponentToken, _default as default };
@@ -1,4 +1,8 @@
1
+ import { SeedToken } from "../../theme/interface/seeds.js";
2
+ import { AliasToken } from "../../theme/interface/alias.js";
3
+ import { ComponentTokenMap } from "../../theme/interface/components.js";
1
4
  import { GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
5
+ import "../../theme/interface/index.js";
2
6
  import "../../theme/internal.js";
3
7
  //#region src/space/style/index.d.ts
4
8
  /** Component only token. Which will handle additional calculation of alias token */
@@ -17,6 +21,6 @@ interface ComponentToken {
17
21
  addonPaddingBlock?: number | string;
18
22
  }
19
23
  declare const prepareComponentToken: GetDefaultToken<'Space'>;
20
- declare const _default: (prefixCls: import("vue").Ref<string>, rootCls?: import("vue").Ref<string | undefined>) => readonly [import("vue").Ref<string, string>, import("vue").ComputedRef<string | undefined>];
24
+ declare const _default: (prefixCls: import("vue").Ref<string>, rootCls?: import("vue").Ref<string | undefined>, tokenResult?: import("@antdv-next/cssinjs").UseTokenReturn<ComponentTokenMap, AliasToken, SeedToken> | undefined) => readonly [import("vue").Ref<string, string>, import("vue").ComputedRef<string | undefined>];
21
25
  //#endregion
22
26
  export { ComponentToken, _default as default, prepareComponentToken };
@@ -1,4 +1,8 @@
1
+ import { SeedToken } from "../../theme/interface/seeds.js";
2
+ import { AliasToken } from "../../theme/interface/alias.js";
3
+ import { ComponentTokenMap } from "../../theme/interface/components.js";
1
4
  import { GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
5
+ import "../../theme/interface/index.js";
2
6
  import "../../theme/internal.js";
3
7
  //#region src/spin/style/index.d.ts
4
8
  interface ComponentToken {
@@ -24,6 +28,6 @@ interface ComponentToken {
24
28
  dotSizeLG: number;
25
29
  }
26
30
  declare const prepareComponentToken: GetDefaultToken<'Spin'>;
27
- declare const _default: (prefixCls: import("vue").Ref<string>, rootCls?: import("vue").Ref<string | undefined>) => readonly [import("vue").Ref<string, string>, import("vue").ComputedRef<string | undefined>];
31
+ declare const _default: (prefixCls: import("vue").Ref<string>, rootCls?: import("vue").Ref<string | undefined>, tokenResult?: import("@antdv-next/cssinjs").UseTokenReturn<ComponentTokenMap, AliasToken, SeedToken> | undefined) => readonly [import("vue").Ref<string, string>, import("vue").ComputedRef<string | undefined>];
28
32
  //#endregion
29
33
  export { ComponentToken, _default as default, prepareComponentToken };
@@ -1,4 +1,8 @@
1
+ import { SeedToken } from "../../theme/interface/seeds.js";
2
+ import { AliasToken } from "../../theme/interface/alias.js";
3
+ import { ComponentTokenMap } from "../../theme/interface/components.js";
1
4
  import { GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
5
+ import "../../theme/interface/index.js";
2
6
  import "../../theme/internal.js";
3
7
  //#region src/splitter/style/index.d.ts
4
8
  interface ComponentToken {
@@ -25,6 +29,6 @@ interface ComponentToken {
25
29
  splitTriggerSize: number;
26
30
  }
27
31
  declare const prepareComponentToken: GetDefaultToken<'Splitter'>;
28
- declare const _default: (prefixCls: import("vue").Ref<string>, rootCls?: import("vue").Ref<string | undefined>) => readonly [import("vue").Ref<string, string>, import("vue").ComputedRef<string | undefined>];
32
+ declare const _default: (prefixCls: import("vue").Ref<string>, rootCls?: import("vue").Ref<string | undefined>, tokenResult?: import("@antdv-next/cssinjs").UseTokenReturn<ComponentTokenMap, AliasToken, SeedToken> | undefined) => readonly [import("vue").Ref<string, string>, import("vue").ComputedRef<string | undefined>];
29
33
  //#endregion
30
34
  export { ComponentToken, _default as default, prepareComponentToken };
@@ -1,4 +1,8 @@
1
+ import { SeedToken } from "../../theme/interface/seeds.js";
2
+ import { AliasToken } from "../../theme/interface/alias.js";
3
+ import { ComponentTokenMap } from "../../theme/interface/components.js";
1
4
  import { GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
5
+ import "../../theme/interface/index.js";
2
6
  import "../../theme/internal.js";
3
7
  //#region src/statistic/style/index.d.ts
4
8
  interface ComponentToken {
@@ -14,6 +18,6 @@ interface ComponentToken {
14
18
  contentFontSize: number | string;
15
19
  }
16
20
  declare const prepareComponentToken: GetDefaultToken<'Statistic'>;
17
- declare const _default: (prefixCls: import("vue").Ref<string>, rootCls?: import("vue").Ref<string | undefined>) => readonly [import("vue").Ref<string, string>, import("vue").ComputedRef<string | undefined>];
21
+ declare const _default: (prefixCls: import("vue").Ref<string>, rootCls?: import("vue").Ref<string | undefined>, tokenResult?: import("@antdv-next/cssinjs").UseTokenReturn<ComponentTokenMap, AliasToken, SeedToken> | undefined) => readonly [import("vue").Ref<string, string>, import("vue").ComputedRef<string | undefined>];
18
22
  //#endregion
19
23
  export { ComponentToken, _default as default, prepareComponentToken };
@@ -1,4 +1,8 @@
1
+ import { SeedToken } from "../../theme/interface/seeds.js";
2
+ import { AliasToken } from "../../theme/interface/alias.js";
3
+ import { ComponentTokenMap } from "../../theme/interface/components.js";
1
4
  import { FullToken, GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
5
+ import "../../theme/interface/index.js";
2
6
  import "../../theme/internal.js";
3
7
  import { CSSProperties } from "vue";
4
8
  //#region src/steps/style/index.d.ts
@@ -76,6 +80,6 @@ interface StepsToken extends FullToken<'Steps'> {
76
80
  inlineDotSize: number;
77
81
  }
78
82
  declare const prepareComponentToken: GetDefaultToken<'Steps'>;
79
- declare const _default: (prefixCls: import("vue").Ref<string>, rootCls?: import("vue").Ref<string | undefined>) => readonly [import("vue").Ref<string, string>, import("vue").ComputedRef<string | undefined>];
83
+ declare const _default: (prefixCls: import("vue").Ref<string>, rootCls?: import("vue").Ref<string | undefined>, tokenResult?: import("@antdv-next/cssinjs").UseTokenReturn<ComponentTokenMap, AliasToken, SeedToken> | undefined) => readonly [import("vue").Ref<string, string>, import("vue").ComputedRef<string | undefined>];
80
84
  //#endregion
81
85
  export { ComponentToken, StepsToken, _default as default, prepareComponentToken };
@@ -1,4 +1,8 @@
1
+ import { SeedToken } from "../../theme/interface/seeds.js";
2
+ import { AliasToken } from "../../theme/interface/alias.js";
3
+ import { ComponentTokenMap } from "../../theme/interface/components.js";
1
4
  import { GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
5
+ import "../../theme/interface/index.js";
2
6
  import "../../theme/internal.js";
3
7
  //#region src/switch/style/index.d.ts
4
8
  interface ComponentToken {
@@ -69,6 +73,6 @@ interface ComponentToken {
69
73
  innerMaxMarginSM: number;
70
74
  }
71
75
  declare const prepareComponentToken: GetDefaultToken<'Switch'>;
72
- declare const _default: (prefixCls: import("vue").Ref<string>, rootCls?: import("vue").Ref<string | undefined>) => readonly [import("vue").Ref<string, string>, import("vue").ComputedRef<string | undefined>];
76
+ declare const _default: (prefixCls: import("vue").Ref<string>, rootCls?: import("vue").Ref<string | undefined>, tokenResult?: import("@antdv-next/cssinjs").UseTokenReturn<ComponentTokenMap, AliasToken, SeedToken> | undefined) => readonly [import("vue").Ref<string, string>, import("vue").ComputedRef<string | undefined>];
73
77
  //#endregion
74
78
  export { ComponentToken, _default as default, prepareComponentToken };