antdv-next 1.7.0 → 1.8.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.
- package/dist/_util/hooks/useMergeSemantic.js +2 -2
- package/dist/_util/statusUtils.d.ts +1 -1
- package/dist/_util/vueNode.d.ts +11 -1
- package/dist/_util/vueNode.js +17 -1
- package/dist/affix/index.js +12 -9
- package/dist/alert/Alert.js +10 -5
- package/dist/anchor/Anchor.js +11 -6
- package/dist/anchor/style/index.js +2 -3
- package/dist/antd-with-locales.esm.js +16938 -18716
- package/dist/antd-with-locales.js +79 -86
- package/dist/antd.css +1 -1
- package/dist/antd.esm.js +15197 -17143
- package/dist/antd.js +80 -87
- package/dist/auto-complete/index.d.ts +2 -0
- package/dist/auto-complete/index.js +28 -23
- package/dist/avatar/Avatar.js +1 -1
- package/dist/avatar/AvatarContext.d.ts +2 -2
- package/dist/avatar/AvatarGroup.js +3 -5
- package/dist/badge/style/ribbon.d.ts +1 -0
- package/dist/border-beam/style/index.d.ts +1 -0
- package/dist/breadcrumb/index.d.ts +8 -1
- package/dist/button/Button.js +31 -18
- package/dist/button/style/index.d.ts +1 -0
- package/dist/calendar/Header.js +4 -4
- package/dist/calendar/generateCalendar.d.ts +10 -10
- package/dist/calendar/index.d.ts +1 -1
- package/dist/card/Card.js +1 -1
- package/dist/card/index.d.ts +8 -1
- package/dist/card/style/index.js +3 -7
- package/dist/carousel/index.js +3 -3
- package/dist/cascader/hooks/useIcons.js +3 -2
- package/dist/cascader/index.d.ts +9 -1
- package/dist/cascader/index.js +42 -34
- package/dist/cascader/style/panel.d.ts +1 -0
- package/dist/checkbox/Checkbox.js +5 -2
- package/dist/checkbox/Group.js +6 -6
- package/dist/collapse/Collapse.js +2 -2
- package/dist/color-picker/ColorPicker.js +15 -2
- package/dist/color-picker/components/ColorSlider.js +2 -2
- package/dist/color-picker/interface.d.ts +3 -0
- package/dist/color-picker/style/input.js +6 -11
- package/dist/components.d.ts +24 -24
- package/dist/components.js +1 -2
- package/dist/config-provider/context.d.ts +16 -11
- package/dist/config-provider/define.d.ts +2 -1
- package/dist/config-provider/index.js +9 -0
- package/dist/date-picker/generatePicker/generateRangePicker.d.ts +2 -0
- package/dist/date-picker/generatePicker/generateRangePicker.js +23 -15
- package/dist/date-picker/generatePicker/generateSinglePicker.d.ts +2 -0
- package/dist/date-picker/generatePicker/generateSinglePicker.js +18 -14
- package/dist/date-picker/generatePicker/interface.d.ts +17 -5
- package/dist/date-picker/generatePicker/useComponents.d.ts +1 -14
- package/dist/date-picker/generatePicker/useSuffix.d.ts +12 -0
- package/dist/date-picker/generatePicker/useSuffix.js +11 -0
- package/dist/date-picker/style/index.d.ts +1 -0
- package/dist/date-picker/util.d.ts +1 -1
- package/dist/date-picker/util.js +4 -3
- package/dist/descriptions/hooks/useItems.d.ts +6 -6
- package/dist/descriptions/index.js +2 -2
- package/dist/divider/index.js +14 -4
- package/dist/drawer/index.js +2 -2
- package/dist/dropdown/dropdown.js +6 -6
- package/dist/dropdown/style/index.js +0 -6
- package/dist/empty/index.js +2 -1
- package/dist/empty/style/index.d.ts +1 -0
- package/dist/flex/index.js +2 -2
- package/dist/float-button/BackTop.js +2 -1
- package/dist/float-button/FloatButton.js +2 -2
- package/dist/float-button/FloatButtonGroup.js +2 -2
- package/dist/float-button/PurePanel.js +5 -5
- package/dist/form/Form.js +47 -16
- package/dist/form/FormItem/ItemHolder.d.ts +3 -18
- package/dist/form/FormItem/StatusProvider.js +2 -1
- package/dist/form/FormItem/index.d.ts +1 -0
- package/dist/form/FormItem/index.js +22 -9
- package/dist/form/FormItemInput.js +3 -4
- package/dist/form/FormItemLabel.js +8 -4
- package/dist/form/context.d.ts +3 -3
- package/dist/form/hooks/useVariant.d.ts +14 -4
- package/dist/form/hooks/useVariant.js +24 -13
- package/dist/form/interface.d.ts +4 -1
- package/dist/form/style/index.js +1 -1
- package/dist/grid/hooks/useBreakpoint.js +12 -6
- package/dist/image/PreviewGroup.d.ts +9 -2
- package/dist/image/PreviewGroup.js +2 -2
- package/dist/image/hooks/usePreviewConfig.d.ts +2 -2
- package/dist/image/index.d.ts +3 -3
- package/dist/image/index.js +3 -3
- package/dist/index.d.ts +26 -24
- package/dist/index.js +1 -2
- package/dist/input/Input.js +4 -4
- package/dist/input/OTP/OTPInput.js +31 -30
- package/dist/input/OTP/index.js +10 -2
- package/dist/input/Password.js +7 -3
- package/dist/input/Search.js +5 -5
- package/dist/input/TextArea.js +4 -4
- package/dist/input/style/index.js +2 -15
- package/dist/input/style/otp.d.ts +1 -0
- package/dist/input/style/search.d.ts +1 -0
- package/dist/input/style/textarea.d.ts +1 -0
- package/dist/input-number/index.js +3 -3
- package/dist/input-number/style/index.d.ts +1 -0
- package/dist/layout/Sider.js +2 -2
- package/dist/layout/style/sider.d.ts +1 -0
- package/dist/listy/interface.d.ts +23 -4
- package/dist/listy/style/index.js +1 -0
- package/dist/locale/ar_EG.js +3 -1
- package/dist/locale/az_AZ.js +3 -1
- package/dist/locale/bg_BG.js +3 -1
- package/dist/locale/bn_BD.js +3 -1
- package/dist/locale/by_BY.js +3 -1
- package/dist/locale/ca_ES.js +3 -1
- package/dist/locale/cs_CZ.js +13 -9
- package/dist/locale/da_DK.js +3 -1
- package/dist/locale/de_DE.js +6 -2
- package/dist/locale/el_GR.js +3 -1
- package/dist/locale/en_GB.js +3 -1
- package/dist/locale/en_US.js +5 -2
- package/dist/locale/es_ES.js +3 -1
- package/dist/locale/et_EE.js +3 -1
- package/dist/locale/eu_ES.js +3 -1
- package/dist/locale/fa_IR.js +3 -1
- package/dist/locale/fi_FI.js +3 -1
- package/dist/locale/fr_BE.js +3 -1
- package/dist/locale/fr_CA.js +3 -1
- package/dist/locale/fr_FR.js +6 -2
- package/dist/locale/ga_IE.js +3 -1
- package/dist/locale/gl_ES.js +3 -1
- package/dist/locale/he_IL.js +3 -1
- package/dist/locale/hi_IN.js +3 -1
- package/dist/locale/hr_HR.js +3 -1
- package/dist/locale/hu_HU.js +3 -1
- package/dist/locale/hy_AM.js +5 -13
- package/dist/locale/id_ID.js +3 -1
- package/dist/locale/index.d.ts +6 -0
- package/dist/locale/is_IS.js +3 -1
- package/dist/locale/it_IT.js +6 -2
- package/dist/locale/ja_JP.js +3 -1
- package/dist/locale/ka_GE.js +3 -1
- package/dist/locale/kk_KZ.js +3 -1
- package/dist/locale/km_KH.js +3 -1
- package/dist/locale/kmr_IQ.js +3 -1
- package/dist/locale/kn_IN.js +3 -1
- package/dist/locale/ko_KR.js +3 -1
- package/dist/locale/ku_IQ.js +3 -1
- package/dist/locale/lt_LT.js +3 -1
- package/dist/locale/lv_LV.js +3 -1
- package/dist/locale/mk_MK.js +3 -1
- package/dist/locale/ml_IN.js +3 -1
- package/dist/locale/mn_MN.js +3 -1
- package/dist/locale/mr_IN.js +3 -1
- package/dist/locale/ms_MY.js +3 -1
- package/dist/locale/my_MM.js +3 -1
- package/dist/locale/nb_NO.js +3 -1
- package/dist/locale/ne_NP.js +4 -2
- package/dist/locale/nl_BE.js +3 -1
- package/dist/locale/nl_NL.js +3 -1
- package/dist/locale/pl_PL.js +3 -1
- package/dist/locale/pt_BR.js +3 -1
- package/dist/locale/pt_PT.js +3 -1
- package/dist/locale/ro_RO.js +3 -1
- package/dist/locale/ru_RU.js +3 -1
- package/dist/locale/si_LK.js +3 -1
- package/dist/locale/sk_SK.js +3 -1
- package/dist/locale/sl_SI.js +3 -1
- package/dist/locale/sq_AL.js +5 -13
- package/dist/locale/sr_RS.js +3 -1
- package/dist/locale/sv_SE.js +3 -1
- package/dist/locale/ta_IN.js +3 -1
- package/dist/locale/th_TH.js +3 -1
- package/dist/locale/tk_TK.js +3 -1
- package/dist/locale/tr_TR.js +3 -1
- package/dist/locale/uk_UA.js +3 -1
- package/dist/locale/ur_PK.js +3 -1
- package/dist/locale/uz_UZ.js +3 -1
- package/dist/locale/vi_VN.js +3 -1
- package/dist/locale/zh_CN.js +5 -2
- package/dist/locale/zh_HK.js +3 -1
- package/dist/locale/zh_TW.js +3 -1
- package/dist/mentions/index.js +4 -4
- package/dist/menu/MenuItem.js +7 -7
- package/dist/menu/SubMenu.js +5 -4
- package/dist/menu/menu.js +2 -2
- package/dist/message/PurePanel.js +2 -2
- package/dist/message/style/index.d.ts +1 -0
- package/dist/message/style/index.js +2 -1
- package/dist/modal/Modal.js +5 -5
- package/dist/modal/PurePanel.js +2 -2
- package/dist/modal/style/confirm.js +1 -1
- package/dist/notification/PurePanel.js +2 -2
- package/dist/notification/style/index.d.ts +3 -0
- package/dist/notification/style/index.js +4 -5
- package/dist/notification/style/placement.js +3 -6
- package/dist/package.js +1 -1
- package/dist/pagination/Pagination.js +6 -5
- package/dist/pagination/index.d.ts +2 -1
- package/dist/pagination/interface.d.ts +2 -2
- package/dist/pagination/style/index.js +15 -7
- package/dist/popconfirm/index.js +4 -3
- package/dist/popover/PurePanel.js +2 -2
- package/dist/popover/style/index.js +1 -0
- package/dist/progress/Circle.js +3 -3
- package/dist/progress/Line.js +2 -1
- package/dist/progress/progress.js +1 -1
- package/dist/qrcode/QrcodeStatus.js +2 -1
- package/dist/qrcode/index.js +2 -2
- package/dist/qrcode/style/index.js +0 -4
- package/dist/radio/radio.js +2 -2
- package/dist/rate/index.js +2 -2
- package/dist/select/index.d.ts +11 -3
- package/dist/select/index.js +55 -38
- package/dist/select/style/index.d.ts +1 -0
- package/dist/select/useIcons.d.ts +23 -8
- package/dist/select/useIcons.js +34 -13
- package/dist/select/useShowArrow.d.ts +2 -3
- package/dist/select/useShowArrow.js +3 -5
- package/dist/skeleton/Paragraph.js +2 -2
- package/dist/skeleton/Skeleton.js +2 -2
- package/dist/skeleton/Title.js +2 -2
- package/dist/slider/index.d.ts +6 -1
- package/dist/slider/index.js +7 -5
- package/dist/space/Item.d.ts +1 -0
- package/dist/space/Item.js +6 -2
- package/dist/space/index.d.ts +1 -1
- package/dist/space/index.js +1 -0
- package/dist/space/style/addon.d.ts +1 -0
- package/dist/space/style/compact.d.ts +1 -0
- package/dist/space/style/index.js +8 -2
- package/dist/spin/Indicator/index.js +5 -1
- package/dist/splitter/SplitBar.js +2 -1
- package/dist/splitter/Splitter.js +10 -4
- package/dist/splitter/interface.d.ts +1 -0
- package/dist/statistic/Number.js +7 -1
- package/dist/statistic/Statistic.d.ts +3 -0
- package/dist/statistic/Statistic.js +2 -1
- package/dist/steps/index.js +16 -8
- package/dist/switch/index.js +10 -4
- package/dist/table/InternalTable.js +22 -7
- package/dist/table/hooks/useFilter/index.js +5 -2
- package/dist/table/hooks/usePagination.d.ts +2 -1
- package/dist/table/hooks/usePagination.js +6 -3
- package/dist/table/index.d.ts +2 -2
- package/dist/table/util.d.ts +1 -1
- package/dist/tabs/index.js +19 -11
- package/dist/tabs/style/index.js +2 -6
- package/dist/tag/index.d.ts +1 -1
- package/dist/tag/index.js +13 -5
- package/dist/theme/getDesignToken.js +2 -1
- package/dist/theme/index.d.ts +1 -0
- package/dist/time-picker/index.d.ts +16 -9
- package/dist/time-picker/index.js +31 -84
- package/dist/timeline/Timeline.js +16 -10
- package/dist/tooltip/PurePanel.js +2 -2
- package/dist/tooltip/index.js +3 -6
- package/dist/tooltip/style/index.js +1 -1
- package/dist/tour/index.js +2 -3
- package/dist/tour/panelRender.js +4 -4
- package/dist/transfer/Section.js +2 -2
- package/dist/tree/DirectoryTree.d.ts +19 -7
- package/dist/tree/DirectoryTree.js +2 -2
- package/dist/tree/Tree.d.ts +73 -58
- package/dist/tree/Tree.js +2 -2
- package/dist/tree/index.d.ts +8 -5
- package/dist/tree/index.js +4 -3
- package/dist/tree/style/index.js +6 -1
- package/dist/tree/utils/iconUtil.js +1 -1
- package/dist/tree-select/index.d.ts +32 -2
- package/dist/tree-select/index.js +75 -75
- package/dist/upload/Upload.js +2 -2
- package/dist/upload/utils.js +8 -3
- package/dist/version/token.json +1 -1
- package/dist/watermark/useWatermark.d.ts +1 -7
- package/dist/watermark/useWatermark.js +1 -7
- package/package.json +20 -20
- package/web-tags.json +85 -29
- package/web-types.json +242 -157
- package/dist/date-picker/generatePicker/SuffixIcon.d.ts +0 -12
- package/dist/date-picker/generatePicker/SuffixIcon.js +0 -51
- package/dist/form/style/fallbackCmp.d.ts +0 -14
- package/dist/form/style/fallbackCmp.js +0 -13
package/dist/cascader/index.js
CHANGED
|
@@ -8,14 +8,15 @@ import { useZIndex } from "../_util/hooks/useZIndex.js";
|
|
|
8
8
|
import { getSlotPropsFnRun, getSlotPropsFnRunWithFallback, 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
|
+
import { useVariants } from "../form/hooks/useVariant.js";
|
|
11
12
|
import { useLocaleGetter } from "../locale/useLocale.js";
|
|
12
13
|
import genPurePanel from "../_util/PurePanel.js";
|
|
14
|
+
import useAllowClear from "../_util/hooks/useAllowClear.js";
|
|
13
15
|
import { getMergedStatus, getStatusClassNames } from "../_util/statusUtils.js";
|
|
14
16
|
import { DefaultRenderEmpty } from "../config-provider/defaultRenderEmpty.js";
|
|
15
|
-
import { useVariants } from "../form/hooks/useVariant.js";
|
|
16
17
|
import mergedBuiltinPlacements from "../select/mergedBuiltinPlacements.js";
|
|
17
18
|
import style_default from "../select/style/index.js";
|
|
18
|
-
import useIcons from "../select/useIcons.js";
|
|
19
|
+
import useIcons, { getCustomSuffix } from "../select/useIcons.js";
|
|
19
20
|
import usePopupRender from "../select/usePopupRender.js";
|
|
20
21
|
import useShowArrow from "../select/useShowArrow.js";
|
|
21
22
|
import useBase from "./hooks/useBase.js";
|
|
@@ -26,7 +27,7 @@ import CascaderPanel from "./Panel.js";
|
|
|
26
27
|
import { computed, createVNode, defineComponent, mergeProps, shallowRef } from "vue";
|
|
27
28
|
import { clsx } from "@v-c/util";
|
|
28
29
|
import { getTransitionName } from "@v-c/util/dist/utils/transition";
|
|
29
|
-
import { omit } from "es-toolkit";
|
|
30
|
+
import { omit as omit$1 } from "es-toolkit";
|
|
30
31
|
import VcCascader, { SHOW_CHILD, SHOW_PARENT } from "@v-c/cascader";
|
|
31
32
|
//#region src/cascader/index.tsx
|
|
32
33
|
function highlightKeyword(str, lowerKeyword, prefixCls) {
|
|
@@ -67,12 +68,14 @@ const defaultSearchRender = (inputValue, path, prefixCls, fieldNames) => {
|
|
|
67
68
|
return optionList;
|
|
68
69
|
};
|
|
69
70
|
const InternalCascader = /* @__PURE__ */ defineComponent((props, { attrs, emit, slots, expose }) => {
|
|
70
|
-
const { getPopupContainer: getContextPopupContainer, popupOverflow, class: contextClassName, style: contextStyle, classes: contextClassNames, styles: contextStyles, getPrefixCls, expandIcon: contextExpandIcon, loadingIcon: contextLoadingIcon, searchIcon: _contextSearchIcon, clearIcon: contextClearIcon, removeIcon: contextRemoveIcon, suffixIcon: contextSuffixIcon } = useComponentBaseConfig("cascader", props, [
|
|
71
|
+
const { getPopupContainer: getContextPopupContainer, popupOverflow, class: contextClassName, style: contextStyle, classes: contextClassNames, styles: contextStyles, getPrefixCls, expandIcon: contextExpandIcon, loadingIcon: contextLoadingIcon, searchIcon: _contextSearchIcon, clearIcon: contextClearIcon, allowClear: contextAllowClear, removeIcon: contextRemoveIcon, suffix: contextSuffix, suffixIcon: contextSuffixIcon } = useComponentBaseConfig("cascader", props, [
|
|
71
72
|
"expandIcon",
|
|
72
73
|
"loadingIcon",
|
|
73
74
|
"searchIcon",
|
|
74
75
|
"clearIcon",
|
|
76
|
+
"allowClear",
|
|
75
77
|
"removeIcon",
|
|
78
|
+
"suffix",
|
|
76
79
|
"suffixIcon"
|
|
77
80
|
]);
|
|
78
81
|
const getGlobalLocale = useLocaleGetter("global");
|
|
@@ -113,11 +116,13 @@ const InternalCascader = /* @__PURE__ */ defineComponent((props, { attrs, emit,
|
|
|
113
116
|
dropdownRender: "popupRender",
|
|
114
117
|
dropdownMenuColumnStyle: "styles.popup.listItem",
|
|
115
118
|
popupMenuColumnStyle: "styles.popup.listItem",
|
|
116
|
-
bordered: "variant"
|
|
119
|
+
bordered: "variant",
|
|
120
|
+
suffixIcon: "suffix"
|
|
117
121
|
}).forEach(([oldProp, newProp]) => {
|
|
118
122
|
warning.deprecated(!(props[oldProp] !== void 0), oldProp, newProp);
|
|
119
123
|
});
|
|
120
|
-
warning(!
|
|
124
|
+
warning.deprecated(!slots.suffixIcon, "suffixIcon", "suffix");
|
|
125
|
+
warning(!(props.showArrow !== void 0), "deprecated", "`showArrow` is deprecated which will be removed in next major version. It will be a default behavior, you can hide it by setting `suffix` to null.");
|
|
121
126
|
}
|
|
122
127
|
const mergedPopupStyle = computed(() => {
|
|
123
128
|
const { popupStyle, dropdownStyle } = props;
|
|
@@ -165,28 +170,32 @@ const InternalCascader = /* @__PURE__ */ defineComponent((props, { attrs, emit,
|
|
|
165
170
|
return () => {
|
|
166
171
|
const { popupClassName, dropdownClassName, rootClass, dropdownRender, popupRender, dropdownMenuColumnStyle, popupMenuColumnStyle, showArrow, allowClear, expandIcon, loadingIcon, transitionName, choiceTransitionName, builtinPlacements, getPopupContainer, displayRender, optionRender, multiple, prefixCls: _prefixCls, direction: _direction, size: _size, disabled: _disabled, status: _status, bordered: _bordered, variant: _variant, classes: _classes, styles: _styles, popupStyle: _popupStyle, dropdownStyle: _dropdownStyle, ...rest } = props;
|
|
167
172
|
const { className, style, restAttrs } = getAttrStyleAndClass(attrs);
|
|
168
|
-
const
|
|
169
|
-
const
|
|
173
|
+
const customSuffix = getCustomSuffix(slots, props);
|
|
174
|
+
const mergedCustomSuffix = customSuffix !== void 0 ? customSuffix : getSlotPropsFnRun(slots, props, "suffixIcon", false);
|
|
175
|
+
const showSuffix = useShowArrow(mergedCustomSuffix, showArrow);
|
|
170
176
|
const { hasFeedback, isFormItemInput, feedbackIcon } = formItemInputContext.value || {};
|
|
171
|
-
const {
|
|
177
|
+
const { suffix: mergedSuffix, removeIcon } = useIcons({
|
|
172
178
|
...rest,
|
|
173
179
|
multiple,
|
|
174
180
|
hasFeedback,
|
|
175
181
|
feedbackIcon,
|
|
176
|
-
|
|
177
|
-
|
|
182
|
+
showSuffix,
|
|
183
|
+
showArrow,
|
|
184
|
+
suffix: mergedCustomSuffix,
|
|
185
|
+
contextSuffix: contextSuffix.value !== void 0 ? contextSuffix.value : contextSuffixIcon.value,
|
|
178
186
|
removeIcon: rest.removeIcon ?? contextRemoveIcon.value,
|
|
179
187
|
clearIcon: rest.clearIcon,
|
|
180
188
|
prefixCls: prefixCls.value,
|
|
181
189
|
componentName: "Cascader"
|
|
182
190
|
});
|
|
183
|
-
const
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
191
|
+
const mergedAllowClear = useAllowClear({
|
|
192
|
+
allowClear,
|
|
193
|
+
contextAllowClear: contextAllowClear.value,
|
|
194
|
+
defaultAllowClear: true,
|
|
195
|
+
clearIcon: rest.clearIcon,
|
|
196
|
+
contextClearIcon: contextClearIcon.value,
|
|
197
|
+
defaultLabel: getGlobalLocale().clear
|
|
198
|
+
});
|
|
190
199
|
const mergedPopupRender = usePopupRender((slots.popupRender ?? popupRender) || dropdownRender);
|
|
191
200
|
const mergedPopupMenuColumnStyle = popupMenuColumnStyle ?? dropdownMenuColumnStyle;
|
|
192
201
|
const customExpandIcon = getSlotPropsFnRunWithFallback(slots, props, "expandIcon");
|
|
@@ -215,7 +224,7 @@ const InternalCascader = /* @__PURE__ */ defineComponent((props, { attrs, emit,
|
|
|
215
224
|
[`${prefixCls.value}-${variant.value}`]: enableVariantCls.value,
|
|
216
225
|
[`${prefixCls.value}-in-form-item`]: isFormItemInput
|
|
217
226
|
}, getStatusClassNames(prefixCls.value, mergedStatus.value, hasFeedback), compactItemClassnames.value, contextClassName.value, rootClass, mergedClassNames.value?.root, rootCls.value, cascaderRootCls.value, hashId.value, cssVarCls.value, className);
|
|
218
|
-
return createVNode(VcCascader, mergeProps(restAttrs, omit(rest, ["suffixIcon"]), {
|
|
227
|
+
return createVNode(VcCascader, mergeProps(restAttrs, omit$1(rest, ["suffix", "suffixIcon"]), {
|
|
219
228
|
"ref": cascaderRef,
|
|
220
229
|
"classNames": mergedClassNames.value,
|
|
221
230
|
"styles": mergedStyles.value,
|
|
@@ -241,7 +250,7 @@ const InternalCascader = /* @__PURE__ */ defineComponent((props, { attrs, emit,
|
|
|
241
250
|
"expandIcon": mergedExpandIcon,
|
|
242
251
|
"loadingIcon": mergedLoadingIcon,
|
|
243
252
|
"checkable": checkable,
|
|
244
|
-
"
|
|
253
|
+
"suffix": mergedSuffix,
|
|
245
254
|
"removeIcon": removeIcon,
|
|
246
255
|
"getPopupContainer": getPopupContainer || getContextPopupContainer,
|
|
247
256
|
"popupRender": mergedPopupRender,
|
|
@@ -288,6 +297,18 @@ const InternalCascader = /* @__PURE__ */ defineComponent((props, { attrs, emit,
|
|
|
288
297
|
type: String,
|
|
289
298
|
required: false
|
|
290
299
|
},
|
|
300
|
+
suffix: {
|
|
301
|
+
type: [
|
|
302
|
+
Function,
|
|
303
|
+
String,
|
|
304
|
+
Number,
|
|
305
|
+
null,
|
|
306
|
+
Object,
|
|
307
|
+
Boolean
|
|
308
|
+
],
|
|
309
|
+
required: false,
|
|
310
|
+
default: void 0
|
|
311
|
+
},
|
|
291
312
|
suffixIcon: {
|
|
292
313
|
type: [
|
|
293
314
|
Function,
|
|
@@ -574,19 +595,6 @@ const InternalCascader = /* @__PURE__ */ defineComponent((props, { attrs, emit,
|
|
|
574
595
|
required: false,
|
|
575
596
|
default: void 0
|
|
576
597
|
},
|
|
577
|
-
suffix: {
|
|
578
|
-
type: [
|
|
579
|
-
Object,
|
|
580
|
-
Function,
|
|
581
|
-
String,
|
|
582
|
-
Number,
|
|
583
|
-
null,
|
|
584
|
-
Boolean,
|
|
585
|
-
Array
|
|
586
|
-
],
|
|
587
|
-
required: false,
|
|
588
|
-
default: void 0
|
|
589
|
-
},
|
|
590
598
|
clearIcon: {
|
|
591
599
|
type: [
|
|
592
600
|
Object,
|
|
@@ -706,6 +714,6 @@ Cascader.install = (app) => {
|
|
|
706
714
|
app.component(InternalCascader.name, Cascader);
|
|
707
715
|
app.component(CascaderPanel.name, CascaderPanel);
|
|
708
716
|
};
|
|
709
|
-
Cascader._InternalPanelDoNotUseOrYouWillBeFired = genPurePanel(Cascader, "popupAlign", (props) => omit(props, ["visible"]));
|
|
717
|
+
Cascader._InternalPanelDoNotUseOrYouWillBeFired = genPurePanel(Cascader, "popupAlign", (props) => omit$1(props, ["visible"]));
|
|
710
718
|
//#endregion
|
|
711
719
|
export { CascaderPanel, SHOW_CHILD, SHOW_PARENT, Cascader as default };
|
|
@@ -2,6 +2,7 @@ import { SeedToken } from "../../theme/interface/seeds.js";
|
|
|
2
2
|
import { AliasToken } from "../../theme/interface/alias.js";
|
|
3
3
|
import { ComponentTokenMap } from "../../theme/interface/components.js";
|
|
4
4
|
import "../../theme/interface/index.js";
|
|
5
|
+
import "../../theme/internal.js";
|
|
5
6
|
//#region src/cascader/style/panel.d.ts
|
|
6
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) => import("vue").Ref<string, string>;
|
|
7
8
|
//#endregion
|
|
@@ -15,7 +15,7 @@ import { isValueEqual } from "../_util/isEqual.js";
|
|
|
15
15
|
import { useGroupContext } from "./GroupContext.js";
|
|
16
16
|
import { computed, createVNode, defineComponent, mergeDefaults, mergeProps, nextTick, shallowRef, toRef, watch } from "vue";
|
|
17
17
|
import { clsx } from "@v-c/util";
|
|
18
|
-
import { omit } from "es-toolkit";
|
|
18
|
+
import { omit as omit$1 } from "es-toolkit";
|
|
19
19
|
import VcCheckbox from "@v-c/checkbox";
|
|
20
20
|
//#region src/checkbox/Checkbox.tsx
|
|
21
21
|
const InternalCheckbox = /* @__PURE__ */ defineComponent((props, { slots, emit, attrs, expose }) => {
|
|
@@ -107,7 +107,7 @@ const InternalCheckbox = /* @__PURE__ */ defineComponent((props, { slots, emit,
|
|
|
107
107
|
"onMouseenter": (e) => emit("mouseenter", e),
|
|
108
108
|
"onMouseleave": (e) => emit("mouseleave", e),
|
|
109
109
|
"onClick": onLabelClick
|
|
110
|
-
}, restAttrs), [createVNode(VcCheckbox, mergeProps(omit(props, keys), {
|
|
110
|
+
}, restAttrs), [createVNode(VcCheckbox, mergeProps(omit$1(props, keys), {
|
|
111
111
|
"onChange": (e) => {
|
|
112
112
|
emit("change", e);
|
|
113
113
|
},
|
|
@@ -132,6 +132,9 @@ const InternalCheckbox = /* @__PURE__ */ defineComponent((props, { slots, emit,
|
|
|
132
132
|
"class": checkboxClass,
|
|
133
133
|
"style": mergedStyles.value.icon,
|
|
134
134
|
"disabled": mergedDisabled.value,
|
|
135
|
+
"onFocus": (e) => {
|
|
136
|
+
emit("focus", e);
|
|
137
|
+
},
|
|
135
138
|
"onBlur": (e) => {
|
|
136
139
|
formItemContext?.triggerBlur?.();
|
|
137
140
|
emit("blur", e);
|
package/dist/checkbox/Group.js
CHANGED
|
@@ -7,7 +7,7 @@ import { useGroupContextProvider } from "./GroupContext.js";
|
|
|
7
7
|
import InternalCheckbox from "./Checkbox.js";
|
|
8
8
|
import { computed, createVNode, defineComponent, isVNode, mergeDefaults, mergeProps, shallowRef, toRef, watch } from "vue";
|
|
9
9
|
import { clsx } from "@v-c/util";
|
|
10
|
-
import { omit } from "es-toolkit";
|
|
10
|
+
import { omit as omit$1 } from "es-toolkit";
|
|
11
11
|
//#region src/checkbox/Group.tsx
|
|
12
12
|
function _isSlot(s) {
|
|
13
13
|
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
|
|
@@ -15,7 +15,7 @@ function _isSlot(s) {
|
|
|
15
15
|
const CheckboxGroup = /* @__PURE__ */ defineComponent((props, { slots, emit, attrs }) => {
|
|
16
16
|
const { prefixCls, direction } = useBaseConfig("checkbox", props);
|
|
17
17
|
const value = shallowRef(props?.value ?? props?.defaultValue ?? []);
|
|
18
|
-
|
|
18
|
+
let registeredValues = [];
|
|
19
19
|
watch(() => props.value, () => {
|
|
20
20
|
value.value = props?.value ?? [];
|
|
21
21
|
});
|
|
@@ -29,17 +29,17 @@ const CheckboxGroup = /* @__PURE__ */ defineComponent((props, { slots, emit, att
|
|
|
29
29
|
}).filter((item) => item !== null && item !== void 0 && item.value !== null && item.value !== void 0);
|
|
30
30
|
});
|
|
31
31
|
const cancelValue = (val) => {
|
|
32
|
-
registeredValues
|
|
32
|
+
registeredValues = registeredValues.filter((v) => v !== val);
|
|
33
33
|
};
|
|
34
34
|
const registerValue = (val) => {
|
|
35
|
-
registeredValues
|
|
35
|
+
registeredValues = [...registeredValues, val];
|
|
36
36
|
};
|
|
37
37
|
const toggleOption = (option) => {
|
|
38
38
|
const optionIndex = value.value.indexOf(option.value);
|
|
39
39
|
const newValue = [...value.value];
|
|
40
40
|
if (optionIndex === -1) newValue.push(option.value);
|
|
41
41
|
else newValue.splice(optionIndex, 1);
|
|
42
|
-
const sortVals = newValue.filter((val) => registeredValues.
|
|
42
|
+
const sortVals = newValue.filter((val) => registeredValues.includes(val)).sort((a, b) => {
|
|
43
43
|
return memoizedOptions.value.findIndex((opt) => opt.value === a) - memoizedOptions.value.findIndex((opt) => opt.value === b);
|
|
44
44
|
});
|
|
45
45
|
emit("change", sortVals);
|
|
@@ -79,7 +79,7 @@ const CheckboxGroup = /* @__PURE__ */ defineComponent((props, { slots, emit, att
|
|
|
79
79
|
}));
|
|
80
80
|
return () => {
|
|
81
81
|
const { rootClass, role } = props;
|
|
82
|
-
const restProps = omit(props, [
|
|
82
|
+
const restProps = omit$1(props, [
|
|
83
83
|
"options",
|
|
84
84
|
"rootClass",
|
|
85
85
|
"defaultValue",
|
|
@@ -10,7 +10,7 @@ import style_default from "./style/index.js";
|
|
|
10
10
|
import { computed, createVNode, defineComponent, mergeDefaults, mergeProps } from "vue";
|
|
11
11
|
import { classNames } from "@v-c/util";
|
|
12
12
|
import { RightOutlined } from "@antdv-next/icons";
|
|
13
|
-
import { omit } from "es-toolkit";
|
|
13
|
+
import { omit as omit$1 } from "es-toolkit";
|
|
14
14
|
import VcCollapse from "@v-c/collapse";
|
|
15
15
|
//#region src/collapse/Collapse.tsx
|
|
16
16
|
const Collapse = /* @__PURE__ */ defineComponent((props, { attrs, emit, slots }) => {
|
|
@@ -80,7 +80,7 @@ const Collapse = /* @__PURE__ */ defineComponent((props, { attrs, emit, slots })
|
|
|
80
80
|
if (children) _item.children = children;
|
|
81
81
|
return _item;
|
|
82
82
|
});
|
|
83
|
-
return createVNode(VcCollapse, mergeProps({ "openMotion": openMotion.value }, omit(attrs, ["class", "style"]), omit(props, [
|
|
83
|
+
return createVNode(VcCollapse, mergeProps({ "openMotion": openMotion.value }, omit$1(attrs, ["class", "style"]), omit$1(props, [
|
|
84
84
|
"rootClass",
|
|
85
85
|
"items",
|
|
86
86
|
"expandIconPlacement",
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { devUseWarning, isDev } from "../_util/warning.js";
|
|
1
2
|
import { useFormItemInputContext } from "../form/context.js";
|
|
2
3
|
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
3
4
|
import { useSize } from "../config-provider/hooks/useSize.js";
|
|
@@ -47,6 +48,12 @@ const ColorPicker = /* @__PURE__ */ defineComponent((props, { slots, expose, emi
|
|
|
47
48
|
});
|
|
48
49
|
const contextStyleRoot = useSemanticRootStyle(contextStyle);
|
|
49
50
|
const [mergedClassNames, mergedStyles] = useMergeSemantic(useToArr(contextClassNames, classes), useToArr(contextStyles, contextStyleRoot, styles), useToProps(mergedProps), computed(() => ({ popup: { _default: "root" } })));
|
|
51
|
+
if (isDev) {
|
|
52
|
+
const warning = devUseWarning("ColorPicker");
|
|
53
|
+
watch(() => mergedStyles.value?.popupOverlayInner, (popupOverlayInner) => {
|
|
54
|
+
warning.deprecated(!popupOverlayInner, "styles.popupOverlayInner", "styles.popup.container");
|
|
55
|
+
}, { immediate: true });
|
|
56
|
+
}
|
|
50
57
|
const internalPopupOpen = shallowRef(open.value ?? false);
|
|
51
58
|
watch(open, (val) => {
|
|
52
59
|
internalPopupOpen.value = val ?? false;
|
|
@@ -186,10 +193,16 @@ const ColorPicker = /* @__PURE__ */ defineComponent((props, { slots, expose, emi
|
|
|
186
193
|
"styles": mergedStyles.value
|
|
187
194
|
}), null);
|
|
188
195
|
return createVNode(Popover, mergeProps({
|
|
189
|
-
"classes": {
|
|
196
|
+
"classes": {
|
|
197
|
+
root: mergedPopupCls,
|
|
198
|
+
container: mergedClassNames.value?.popup?.container
|
|
199
|
+
},
|
|
190
200
|
"styles": {
|
|
191
201
|
root: mergedStyles.value?.popup?.root,
|
|
192
|
-
container:
|
|
202
|
+
container: {
|
|
203
|
+
...mergedStyles.value?.popupOverlayInner,
|
|
204
|
+
...mergedStyles.value?.popup?.container
|
|
205
|
+
}
|
|
193
206
|
},
|
|
194
207
|
"onOpenChange": triggerOpenChange,
|
|
195
208
|
"content": panelNode
|
|
@@ -3,7 +3,7 @@ import { useSliderInternalContextProvider } from "../../slider/Context.js";
|
|
|
3
3
|
import Slider from "../../slider/index.js";
|
|
4
4
|
import { cloneVNode, computed, createVNode, defineComponent, mergeProps } from "vue";
|
|
5
5
|
import { clsx } from "@v-c/util";
|
|
6
|
-
import { omit } from "es-toolkit";
|
|
6
|
+
import { omit as omit$1 } from "es-toolkit";
|
|
7
7
|
import { UnstableProvider } from "@v-c/slider";
|
|
8
8
|
//#region src/color-picker/components/ColorSlider.tsx
|
|
9
9
|
const GradientColorSlider = /* @__PURE__ */ defineComponent((props) => {
|
|
@@ -142,7 +142,7 @@ const SingleColorSlider = /* @__PURE__ */ defineComponent((props) => {
|
|
|
142
142
|
const onChangeComplete = (v) => props.onChangeComplete?.(v[0]);
|
|
143
143
|
return () => {
|
|
144
144
|
const { value, ...restProps } = props;
|
|
145
|
-
return createVNode(GradientColorSlider, mergeProps(omit(restProps, ["onChange", "onChangeComplete"]), {
|
|
145
|
+
return createVNode(GradientColorSlider, mergeProps(omit$1(restProps, ["onChange", "onChangeComplete"]), {
|
|
146
146
|
"value": [value],
|
|
147
147
|
"onChange": onChange,
|
|
148
148
|
"onChangeComplete": onChangeComplete
|
|
@@ -56,12 +56,15 @@ interface ColorPickerSemanticStyles {
|
|
|
56
56
|
type ColorPickerClassNamesType = SemanticClassNamesType<ColorPickerProps, ColorPickerSemanticClassNames, {
|
|
57
57
|
popup?: {
|
|
58
58
|
root?: string;
|
|
59
|
+
container?: string;
|
|
59
60
|
};
|
|
60
61
|
}>;
|
|
61
62
|
type ColorPickerStylesType = SemanticStylesType<ColorPickerProps, ColorPickerSemanticStyles, {
|
|
62
63
|
popup?: {
|
|
63
64
|
root?: CSSProperties;
|
|
65
|
+
container?: CSSProperties;
|
|
64
66
|
};
|
|
67
|
+
/** @deprecated Will be removed in v7. Please use `popup.container` instead. */
|
|
65
68
|
popupOverlayInner?: CSSProperties;
|
|
66
69
|
}>;
|
|
67
70
|
type ColorPickerProps = Omit<ColorPickerProps$1, 'onChange' | 'onChangeComplete' | 'value' | 'defaultValue' | 'valueFormat' | 'panelRender' | 'disabledAlpha' | 'components'> & {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { unit } from "@antdv-next/cssinjs";
|
|
2
2
|
//#region src/color-picker/style/input.ts
|
|
3
3
|
const genInputStyle = (token) => {
|
|
4
|
-
const { componentCls, antCls, fontSizeSM, lineHeightSM, colorPickerAlphaInputWidth, marginXXS, paddingXXS, controlHeightSM, marginXS,
|
|
4
|
+
const { componentCls, antCls, fontSizeSM, lineHeightSM, colorPickerAlphaInputWidth, marginXXS, paddingXXS, controlHeightSM, marginXS, paddingXS, colorTextPlaceholder, colorPickerInputNumberHandleWidth, lineWidth } = token;
|
|
5
5
|
return { [`${componentCls}-input-container`]: {
|
|
6
6
|
display: "flex",
|
|
7
7
|
[`${componentCls}-steppers${antCls}-input-number`]: {
|
|
@@ -22,16 +22,11 @@ const genInputStyle = (token) => {
|
|
|
22
22
|
marginInlineEnd: marginXS,
|
|
23
23
|
width: "auto",
|
|
24
24
|
"&-single": {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
[`${antCls}-select-
|
|
30
|
-
[`${antCls}-select-selection-item`]: {
|
|
31
|
-
paddingInlineEnd: token.calc(fontSizeIcon).add(marginXXS).equal(),
|
|
32
|
-
fontSize: fontSizeSM,
|
|
33
|
-
lineHeight: unit(controlHeightSM)
|
|
34
|
-
},
|
|
25
|
+
padding: 0,
|
|
26
|
+
border: 0,
|
|
27
|
+
fontSize: fontSizeSM,
|
|
28
|
+
lineHeight: unit(controlHeightSM),
|
|
29
|
+
[`${antCls}-select-content`]: { marginInlineEnd: marginXXS },
|
|
35
30
|
[`${antCls}-select-item-option-content`]: {
|
|
36
31
|
fontSize: fontSizeSM,
|
|
37
32
|
lineHeight: lineHeightSM
|
package/dist/components.d.ts
CHANGED
|
@@ -3,14 +3,14 @@ import Col, { ColProps, ColSize } from "./grid/col.js";
|
|
|
3
3
|
import Row, { RowProps } from "./grid/row.js";
|
|
4
4
|
import "./grid/index.js";
|
|
5
5
|
import UniqueProvider from "./tooltip/UniqueProvider/index.js";
|
|
6
|
-
import _default$
|
|
6
|
+
import _default$17, { TooltipAlignConfig, TooltipEmits, TooltipPlacement, TooltipProps, TooltipRef, TooltipSlots } from "./tooltip/index.js";
|
|
7
7
|
import { Rule, RuleObject, RuleRender, RuleType } from "./form/types.js";
|
|
8
8
|
import InternalForm, { FormEmits, FormInstance, FormProps, FormSlots } from "./form/Form.js";
|
|
9
9
|
import InternalFormItem, { FormItemEmits, FormItemProps, FormItemSlots } from "./form/FormItem/index.js";
|
|
10
10
|
import { DatePickerEmits, DatePickerSlots } from "./date-picker/generatePicker/generateSinglePicker.js";
|
|
11
|
-
import _default$
|
|
12
|
-
import _default$
|
|
13
|
-
import _default$
|
|
11
|
+
import _default$16, { TimePickerEmits, TimePickerLocale, TimePickerProps, TimePickerSlots, TimeRangePicker, TimeRangePickerEmits, TimeRangePickerProps, TimeRangePickerSlots } from "./time-picker/index.js";
|
|
12
|
+
import _default$7, { DateMonthPicker, DatePickerProps, DateQuarterPicker, DateRangePicker, DateWeekPicker, DateYearPicker, MonthPickerProps, RangePickerProps, WeekPickerProps } from "./date-picker/index.js";
|
|
13
|
+
import _default$8, { EmptyProps, EmptyRef, EmptySlots } from "./empty/index.js";
|
|
14
14
|
import { ModalEmits, ModalSlots } from "./modal/interface.js";
|
|
15
15
|
import Select, { SelectEmits, SelectOptGroup, SelectOption, SelectProps, SelectSlots, SelectValue } from "./select/index.js";
|
|
16
16
|
import { PaginationClassNamesType, PaginationComponents, PaginationConfig, PaginationEmits, PaginationLocale, PaginationPosition, PaginationSizeChangerProps, PaginationSlots, PaginationStylesType } from "./pagination/interface.js";
|
|
@@ -19,7 +19,7 @@ import { PaginationProps } from "./pagination/index.js";
|
|
|
19
19
|
import Popover, { PopoverEmits, PopoverProps, PopoverRef, PopoverSlots } from "./popover/index.js";
|
|
20
20
|
import Popconfirm, { PopconfirmEmits, PopconfirmProps, PopconfirmSlots } from "./popconfirm/index.js";
|
|
21
21
|
import { SplitterEmits, SplitterSlots } from "./splitter/interface.js";
|
|
22
|
-
import _default$
|
|
22
|
+
import _default$13, { SpinProps, SpinRef, SpinSlots } from "./spin/index.js";
|
|
23
23
|
import InternalCheckbox, { CheckboxEmits, CheckboxProps, CheckboxSlots } from "./checkbox/Checkbox.js";
|
|
24
24
|
import CheckboxGroup, { CheckboxGroupEmits, CheckboxGroupProps, CheckboxGroupSlots, CheckboxOptionType } from "./checkbox/Group.js";
|
|
25
25
|
import "./checkbox/index.js";
|
|
@@ -28,14 +28,14 @@ import { MenuEmits, MenuSlots } from "./menu/menu.js";
|
|
|
28
28
|
import MenuItemGroup, { MenuItemGroupProps } from "./menu/MenuItemGroup.js";
|
|
29
29
|
import SubMenu, { SubMenuProps } from "./menu/SubMenu.js";
|
|
30
30
|
import MenuDivider from "./menu/MenuDivider.js";
|
|
31
|
-
import _default$
|
|
31
|
+
import _default$10, { MenuInfo, MenuItem, MenuItemType, MenuProps, MenuRef, SelectInfo } from "./menu/index.js";
|
|
32
32
|
import { DropdownArrowOptions, DropdownEmits, DropdownProps, DropdownSlots } from "./dropdown/dropdown.js";
|
|
33
33
|
import Dropdown from "./dropdown/index.js";
|
|
34
|
-
import { ColumnType, ColumnsType, SortOrder, SorterResult, TableLocale, TablePaginationConfig, TableRowSelection } from "./table/interface.js";
|
|
34
|
+
import { ColumnType, ColumnsType, FilterDropdownProps, SortOrder, SorterResult, TableLocale, TablePaginationConfig, TableRowSelection } from "./table/interface.js";
|
|
35
35
|
import { TableClassNamesType, TableEmits, TableProps, TableSlots, TableStylesType } from "./table/InternalTable.js";
|
|
36
36
|
import Column from "./table/Column.js";
|
|
37
37
|
import ColumnGroup from "./table/ColumnGroup.js";
|
|
38
|
-
import _default$
|
|
38
|
+
import _default$15, { DataIndex, Summary, SummaryCell, SummaryRow } from "./table/index.js";
|
|
39
39
|
import { TourEmits, TourLocale, TourSlots, TourStylesType } from "./tour/interface.js";
|
|
40
40
|
import Tour, { TourProps, TourStepItem } from "./tour/index.js";
|
|
41
41
|
import { KeyWise, KeyWiseTransferItem, ListStyle, PaginationType, RenderResult, RenderResultObject, SelectAllLabel, TransferClassNamesType, TransferCustomListBodyProps, TransferDirection, TransferEmits, TransferItem, TransferKey, TransferListBodyProps, TransferListProps, TransferLocale, TransferRender, TransferSearchOption, TransferSlots, TransferStylesType } from "./transfer/interface.js";
|
|
@@ -47,23 +47,24 @@ import Progress, { ProgressProps } from "./progress/progress.js";
|
|
|
47
47
|
import "./progress/index.js";
|
|
48
48
|
import { UploadChangeParam, UploadEmits, UploadFile, UploadSlots } from "./upload/interface.js";
|
|
49
49
|
import { useExportConfig } from "./config-provider/hooks/useConfig.js";
|
|
50
|
-
import _default$
|
|
50
|
+
import _default$6, { ConfigProviderProps } from "./config-provider/index.js";
|
|
51
51
|
import Alert, { AlertEmits, AlertProps, AlertSemanticType, AlertSlots } from "./alert/Alert.js";
|
|
52
52
|
import "./alert/index.js";
|
|
53
53
|
import { Affix, AffixEmits, AffixProps, AffixRef } from "./affix/index.js";
|
|
54
54
|
import { AnchorLinkProps } from "./anchor/AnchorLink.js";
|
|
55
55
|
import Anchor, { AnchorEmits, AnchorProps, AnchorSlots } from "./anchor/Anchor.js";
|
|
56
56
|
import "./anchor/index.js";
|
|
57
|
+
import AutoComplete, { AutoCompleteClassNamesType, AutoCompleteEmits, AutoCompleteProps, AutoCompleteSlots, AutoCompleteStylesType, DataSourceItemObject, DataSourceItemType, Option } from "./auto-complete/index.js";
|
|
57
58
|
import { RibbonProps, RibbonRef } from "./badge/Ribbon.js";
|
|
58
59
|
import Badge, { BadgeProps, BadgeRibbon, BadgeSlots } from "./badge/index.js";
|
|
59
|
-
import _default$
|
|
60
|
-
import _default$
|
|
61
|
-
import
|
|
60
|
+
import _default$2, { BreadcrumbItemProps } from "./breadcrumb/BreadcrumbItem.js";
|
|
61
|
+
import _default$3 from "./breadcrumb/BreadcrumbSeparator.js";
|
|
62
|
+
import { BreadcrumbEmits, BreadcrumbProps, BreadcrumbRef, BreadcrumbSlots, ItemType } from "./breadcrumb/Breadcrumb.js";
|
|
62
63
|
import { CalendarMode, CalendarProps, CalendarRef } from "./calendar/generateCalendar.js";
|
|
63
|
-
import _default$
|
|
64
|
+
import _default$4 from "./calendar/index.js";
|
|
64
65
|
import TabPane, { TabPaneProps } from "./tabs/TabPane.js";
|
|
65
66
|
import Tabs, { TabsEmits, TabsProps, TabsRef, TabsSlots } from "./tabs/index.js";
|
|
66
|
-
import
|
|
67
|
+
import { CardEmits, CardProps, CardSize, CardSlots, CardTabListType } from "./card/Card.js";
|
|
67
68
|
import CardMeta, { CardMetaProps, CardMetaRef } from "./card/CardMeta.js";
|
|
68
69
|
import CascaderPanel, { CascaderPanelEmits, CascaderPanelProps, CascaderPanelSlots } from "./cascader/Panel.js";
|
|
69
70
|
import Cascader, { CascaderEmits, CascaderProps, CascaderSlots } from "./cascader/index.js";
|
|
@@ -99,7 +100,7 @@ import staticMethods$1 from "./notification/index.js";
|
|
|
99
100
|
import { QRCodeEmits } from "./qrcode/interface.js";
|
|
100
101
|
import QRCode, { QRCodeProps, QRCodeRef } from "./qrcode/index.js";
|
|
101
102
|
import { RadioChangeEvent, RadioEmits, RadioGroupEmits, RadioGroupOptionType, RadioGroupSlots, RadioSlots } from "./radio/interface.js";
|
|
102
|
-
import _default$
|
|
103
|
+
import _default$12, { ResultProps, ResultRef, ResultSlots, ResultStatusType } from "./result/index.js";
|
|
103
104
|
import Segmented, { SegmentedEmits, SegmentedOptions, SegmentedProps, SegmentedSlots } from "./segmented/index.js";
|
|
104
105
|
import SkeletonAvatar from "./skeleton/Avatar.js";
|
|
105
106
|
import SkeletonButton from "./skeleton/Button.js";
|
|
@@ -114,7 +115,7 @@ import Space, { SpaceAddon, SpaceCompact, SpaceProps, SpaceSize, SpaceSlots } fr
|
|
|
114
115
|
import Splitter, { SplitterRef } from "./splitter/Splitter.js";
|
|
115
116
|
import { SplitterPanel, SplitterProps } from "./splitter/index.js";
|
|
116
117
|
import { StatisticRef } from "./statistic/Statistic.js";
|
|
117
|
-
import _default$
|
|
118
|
+
import _default$14, { StatisticProps, StatisticTimer, StatisticTimerProps } from "./statistic/index.js";
|
|
118
119
|
import Steps, { StepItem, StepsEmits, StepsProps, StepsSlots } from "./steps/index.js";
|
|
119
120
|
import Switch, { SwitchEmits, SwitchProps, SwitchSize, SwitchSlots } from "./switch/index.js";
|
|
120
121
|
import CheckableTag, { CheckableTagProps } from "./tag/CheckableTag.js";
|
|
@@ -124,8 +125,8 @@ import Timeline, { TimelineItemType, TimelineProps } from "./timeline/Timeline.j
|
|
|
124
125
|
import { TimelineItem, TimelineItemProps, TimelineItemSlots } from "./timeline/TimelineItem.js";
|
|
125
126
|
import "./timeline/index.js";
|
|
126
127
|
import { AntTreeNode, AntTreeNodeCheckedEvent, AntTreeNodeExpandedEvent, AntTreeNodeMouseEvent, AntTreeNodeProps, AntTreeNodeSelectedEvent, AntdTreeNodeAttribute, TreeEmits, TreeProps, TreeSlots } from "./tree/Tree.js";
|
|
127
|
-
import
|
|
128
|
-
import Tree, { BasicDataNode, DataNode, TreeInstance, UseTreeConfig, useTree } from "./tree/index.js";
|
|
128
|
+
import { DirectoryTreeEmits, DirectoryTreeProps, DirectoryTreeSlots, ExpandAction } from "./tree/DirectoryTree.js";
|
|
129
|
+
import Tree, { BasicDataNode, DataNode, DirectoryTree, TreeInstance, UseTreeConfig, useTree } from "./tree/index.js";
|
|
129
130
|
import TreeSelect, { TreeSelectEmits, TreeSelectNode, TreeSelectProps, TreeSelectSlots } from "./tree-select/index.js";
|
|
130
131
|
import { BlockProps } from "./typography/interface.js";
|
|
131
132
|
import { ButtonColorType, ButtonHTMLType, ButtonShape, ButtonType, ButtonVariantType } from "./button/buttonHelper.js";
|
|
@@ -134,16 +135,15 @@ import "./button/index.js";
|
|
|
134
135
|
import useModal from "./modal/useModal/index.js";
|
|
135
136
|
import { AppProps } from "./app/App.js";
|
|
136
137
|
import _default from "./app/index.js";
|
|
137
|
-
import AutoComplete, { AutoCompleteClassNamesType, AutoCompleteEmits, AutoCompleteProps, AutoCompleteSlots, AutoCompleteStylesType, DataSourceItemObject, DataSourceItemType, Option } from "./auto-complete/index.js";
|
|
138
138
|
import { AvatarEmits, AvatarProps, AvatarSlots } from "./avatar/Avatar.js";
|
|
139
139
|
import AvatarGroup, { AvatarGroupProps, AvatarGroupRef } from "./avatar/AvatarGroup.js";
|
|
140
140
|
import Avatar from "./avatar/index.js";
|
|
141
141
|
import { BorderBeamColor, BorderBeamGradient } from "./border-beam/util.js";
|
|
142
142
|
import BorderBeam, { BorderBeamProps } from "./border-beam/BorderBeam.js";
|
|
143
143
|
import "./border-beam/index.js";
|
|
144
|
-
import "./breadcrumb/index.js";
|
|
144
|
+
import _default$1 from "./breadcrumb/index.js";
|
|
145
145
|
import CardGrid, { CardGridProps, CardGridRef } from "./card/CardGrid.js";
|
|
146
|
-
import "./card/index.js";
|
|
146
|
+
import _default$5 from "./card/index.js";
|
|
147
147
|
import Carousel, { CarouselEmits, CarouselProps, CarouselRef, CarouselSlots } from "./carousel/index.js";
|
|
148
148
|
import { FormHookInstance, useForm, useFormInstance } from "./form/hooks/useForm.js";
|
|
149
149
|
import "./form/index.js";
|
|
@@ -151,11 +151,11 @@ import { InputGroupProps } from "./input/Group.js";
|
|
|
151
151
|
import CompoundedInput, { InputGroup, InputOTP, InputPassword, InputSearch } from "./input/index.js";
|
|
152
152
|
import Layout, { BasicProps } from "./layout/layout.js";
|
|
153
153
|
import { LayoutContent, LayoutFooter, LayoutHeader, LayoutSider, useLayoutSider } from "./layout/index.js";
|
|
154
|
-
import _default$
|
|
154
|
+
import _default$9 from "./masonry/index.js";
|
|
155
155
|
import Mentions, { MentionPlacement, MentionsClassNamesType, MentionsEmits, MentionsOptionProps, MentionsProps, MentionsRef, MentionsSlots, MentionsStylesType, Option as Option$1 } from "./mentions/index.js";
|
|
156
156
|
import useMessage from "./message/useMessage.js";
|
|
157
157
|
import staticMethods from "./message/index.js";
|
|
158
|
-
import _default$
|
|
158
|
+
import _default$11, { ModalProps } from "./modal/index.js";
|
|
159
159
|
import InternalRadio from "./radio/radio.js";
|
|
160
160
|
import { RadioButton, RadioGroup, RadioGroupProps, RadioOptionType, RadioProps } from "./radio/index.js";
|
|
161
161
|
import Rate, { RateEmits, RateProps } from "./rate/index.js";
|
|
@@ -168,4 +168,4 @@ import { DraggerProps } from "./upload/Dragger.js";
|
|
|
168
168
|
import { UploadRef } from "./upload/Upload.js";
|
|
169
169
|
import Upload, { UploadDragger, UploadProps } from "./upload/index.js";
|
|
170
170
|
import Watermark, { WatermarkProps, WatermarkRef } from "./watermark/index.js";
|
|
171
|
-
export { Affix, type AffixEmits, type AffixProps, type AffixRef, Alert, type AlertEmits, type AlertProps, type AlertSemanticType, type AlertSlots, Anchor, type AnchorEmits, type AnchorLinkProps, type AnchorProps, type AnchorSlots, type AntTreeNode, type AntTreeNodeCheckedEvent, type AntTreeNodeExpandedEvent, type AntTreeNodeMouseEvent, type AntTreeNodeProps, type AntTreeNodeSelectedEvent, type AntdTreeNodeAttribute, _default as App, type AppProps, AutoComplete, type AutoCompleteClassNamesType, type AutoCompleteEmits, Option as AutoCompleteOption, type AutoCompleteProps, type AutoCompleteSlots, type AutoCompleteStylesType, Avatar, type AvatarEmits, AvatarGroup, type AvatarGroupProps, type AvatarGroupRef, type AvatarProps, type AvatarSlots, BackTopWithInstall as BackTop, Badge, type BadgeProps, BadgeRibbon, type RibbonProps as BadgeRibbonProps, type RibbonRef as BadgeRibbonRef, type BadgeSlots, type BasicDataNode, BorderBeam, type BorderBeamColor, type BorderBeamGradient, type BorderBeamProps, Breadcrumb, type BreadcrumbEmits, _default$1 as BreadcrumbItem, type BreadcrumbItemProps, type ItemType as BreadcrumbItemType, type BreadcrumbProps, type BreadcrumbRef, _default$2 as BreadcrumbSeparator, type BreadcrumbSlots, Button, type ButtonColorType, type ButtonEmits, type ButtonHTMLType, type ButtonProps, type ButtonSemanticName, type ButtonShape, type SizeType as ButtonSize, type ButtonSlots, type ButtonType, type ButtonVariantType, _default$3 as Calendar, type CalendarMode, type CalendarProps, type CalendarRef, Card, type CardEmits, CardGrid, type CardGridProps, type CardGridRef, CardMeta, type CardMetaProps, type CardMetaRef, type CardProps, type CardSize, type CardSlots, type CardTabListType, Carousel, type CarouselEmits, type CarouselProps, type CarouselRef, type CarouselSlots, Cascader, type CascaderEmits, CascaderPanel, type CascaderPanelEmits, type CascaderPanelProps, type CascaderPanelSlots, type CascaderProps, type CascaderSlots, CheckableTag, CheckableTagGroup, type CheckableTagProps, InternalCheckbox as Checkbox, type CheckboxEmits, CheckboxGroup, type CheckboxGroupEmits, type CheckboxGroupProps, type CheckboxGroupSlots, type CheckboxOptionType, type CheckboxProps, type CheckboxSlots, Col, type ColProps, type ColSize, Collapse, CollapsePanel, type CollapsePanelProps, type CollapsePanelSlots, type CollapseProps, type AggregationColor as Color, ColorPicker, type ColorPickerEmits, type ColorPickerProps, type ColorPickerSlots, type ColorValueType, _default$4 as ConfigProvider, type ConfigProviderProps, type DataSourceItemObject, type DataSourceItemType, DateMonthPicker, _default$5 as DatePicker, type DatePickerEmits, type DatePickerProps, type DatePickerSlots, DateQuarterPicker, DateRangePicker, DateWeekPicker, DateYearPicker, Descriptions, DescriptionsItem, type DescriptionsItemProps, type DescriptionsItemSlots, type DescriptionsItemType, type DescriptionsProps, type DescriptionsRef, type DescriptionsSlots, DirectoryTree, type DirectoryTreeEmits, type ExpandAction as DirectoryTreeExpandAction, type DirectoryTreeProps, type DirectoryTreeSlots, Divider, type DividerProps, type DividerRef, Drawer, type DrawerEmits, type DrawerProps, type DrawerResizableConfig, type DrawerSlots, Dropdown, type DropdownArrowOptions, type DropdownEmits, type DropdownProps, type DropdownSlots, _default$6 as Empty, type EmptyProps, type EmptyRef, type EmptySlots, Flex, type FlexProps, type FlexSlots, FloatButton, FloatButtonGroup, type FloatButtonGroupProps, type FloatButtonGroupRef, type FloatButtonProps, type FloatButtonRef, InternalForm as Form, type FormEmits, type FormHookInstance, type FormInstance, InternalFormItem as FormItem, type FormItemEmits, type FormItemProps, type FormItemSlots, type FormProps, type FormSlots, _default_1 as Image, type ImageEmits, type PreviewConfig as ImagePreviewConfig, ImagePreviewGroup, type ImagePreviewGroupProps, type ImageProps, type ImageSlots, CompoundedInput as Input, type InputEmits, InputGroup, type InputGroupProps, InputNumber, type InputNumberEmits, type InputNumberProps, type VcInputNumberRef as InputNumberRef, type InputNumberStepContext, type ValueType as InputNumberValueType, InputOTP, type OTPEmits as InputOTPEmits, type OTPProps as InputOTPProps, type OTPSlots as InputOTPSlots, InputPassword, type PasswordProps as InputPasswordProps, type InputPasswordRef, type InputProps, type InputRef, InputSearch, type SearchProps as InputSearchProps, type InputSearchRef, type InputSlots, type InputTextAreaRef, type KeyWise, type KeyWiseTransferItem, Layout, LayoutContent, LayoutFooter, LayoutHeader, type BasicProps as LayoutProps, LayoutSider, type LegacyButtonType, type ListStyle, Listy, type ListyClassNames, type ListyProps, type ListyRef, type ListyScrollToConfig, type ListyStyles, _default$7 as Masonry, type MasonryEmits, type MasonryProps, type MasonryRef, type MasonrySlots, type MentionPlacement, Mentions, type MentionsClassNamesType, type MentionsEmits, Option$1 as MentionsOption, type MentionsOptionProps, type MentionsProps, type MentionsRef, type MentionsSlots, type MentionsStylesType, _default$8 as Menu, MenuDivider, type MenuEmits, type MenuInfo, MenuItem, MenuItemGroup, type MenuItemGroupProps, type MenuItemProps, type MenuItemType, type MenuProps, type MenuRef, type MenuSlots, _default$9 as Modal, type ModalEmits, type ModalProps, type ModalSlots, type MonthPickerProps, Pagination, type PaginationClassNamesType, type PaginationComponents, type PaginationConfig, type PaginationEmits, type PaginationLocale, type PaginationPosition, type PaginationProps, type PaginationSizeChangerProps, type PaginationSlots, type PaginationStylesType, Popconfirm, type PopconfirmEmits, type PopconfirmProps, type PopconfirmSlots, Popover, type PopoverEmits, type PopoverProps, type PopoverRef, type PopoverSlots, Progress, type ProgressProps, QRCode, type QRCodeEmits, type QRCodeProps, type QRCodeRef, InternalRadio as Radio, RadioButton, type RadioChangeEvent, type RadioEmits, RadioGroup, type RadioGroupEmits, type RadioGroupOptionType, type RadioGroupProps, type RadioGroupSlots, type RadioOptionType, type RadioProps, type RadioSlots, type RangePickerProps, Rate, type RateEmits, type RateProps, type RenderResult, type RenderResultObject, _default$10 as Result, type ResultProps, type ResultRef, type ResultSlots, type ResultStatusType, Row, type RowProps, type Rule, type RuleObject, type RuleRender, type RuleType, Segmented, type SegmentedEmits, type SegmentedOptions, type SegmentedProps, type SegmentedSlots, Select, type SelectAllLabel, type SelectEmits, type SelectInfo, SelectOptGroup, SelectOption, type SelectProps, type SelectSlots, type SelectValue, SkeletonWithSubComponents as Skeleton, SkeletonAvatar, SkeletonButton, SkeletonImage, SkeletonInput, SkeletonNode, type SkeletonProps, type SkeletonRef, Slider, type SliderEmits, type SliderProps, type SliderRef, Space, SpaceAddon, SpaceCompact, type SpaceCompactProps, type SpaceCompactRef, type SpaceProps, type SpaceSize, type SpaceSlots, _default$11 as Spin, type SpinProps, type SpinRef, type SpinSlots, Splitter, type SplitterEmits, SplitterPanel, type SplitterProps, type SplitterRef, type SplitterSlots, _default$12 as Statistic, type StatisticProps, type StatisticRef, StatisticTimer, type StatisticTimerProps, type StepItem, Steps, type StepsEmits, type StepsProps, type StepsSlots, SubMenu, type SubMenuProps, Switch, type SwitchEmits, type SwitchProps, type SwitchSize, type SwitchSlots, TabPane, type TabPaneProps, _default$13 as Table, type TableClassNamesType, Column as TableColumn, ColumnGroup as TableColumnGroup, type ColumnType as TableColumnType, type ColumnsType as TableColumnsType, type DataIndex as TableDataIndex, type TableEmits, type TableLocale, type TablePaginationConfig, type TableProps, type TableRowSelection, type TableSlots, type SortOrder as TableSortOrder, type SorterResult as TableSorterResult, type TableStylesType, Summary as TableSummary, SummaryCell as TableSummaryCell, SummaryRow as TableSummaryRow, Tabs, type TabsEmits, type TabsProps, type TabsRef, type TabsSlots, Tag, type TagProps, type TagSlots, InternalTextArea as TextArea, type TextAreaProps, type TextAreaRef, _default$14 as TimePicker, type TimePickerEmits, type TimePickerLocale, type TimePickerProps, type TimePickerSlots, TimeRangePicker, type TimeRangePickerEmits, type TimeRangePickerProps, type TimeRangePickerSlots, Timeline, TimelineItem, type TimelineItemProps, type TimelineItemSlots, type TimelineItemType, type TimelineProps, _default$15 as Tooltip, type TooltipAlignConfig, type TooltipEmits, type TooltipPlacement, type TooltipProps, type TooltipRef, type TooltipSlots, Tour, type TourEmits, type TourLocale, type TourProps, type TourSlots, type TourStepItem, type TourStylesType, InternalTransfer as Transfer, type TransferClassNamesType, type TransferCustomListBodyProps, type TransferDirection, type TransferEmits, type TransferItem, type TransferKey, type TransferListBodyProps, type TransferListProps, type TransferLocale, type TransferOperationProps, type PaginationType as TransferPaginationType, type TransferProps, type TransferRef, type TransferRender, type TransferSearchEmits, type TransferSearchOption, type TransferSearchProps, type TransferSearchSlots, type TransferSlots, type TransferStylesType, Tree, type DataNode as TreeDataNode, type TreeEmits, type TreeInstance, type TreeProps, TreeSelect, type TreeSelectEmits, type TreeSelectNode, type TreeSelectProps, type TreeSelectSlots, type TreeSlots, type UseTreeConfig as TreeUseTreeConfig, Typography, type BlockProps as TypographyBaseProps, TypographyLink, type LinkProps as TypographyLinkProps, TypographyParagraph, type ParagraphProps as TypographyParagraphProps, TypographyText, type TextProps as TypographyTextProps, TypographyTitle, type TitleProps as TypographyTitleProps, UniqueProvider, Upload, type UploadChangeParam, UploadDragger, type DraggerProps as UploadDraggerProps, type UploadEmits, type UploadFile, type UploadProps, type UploadRef, type UploadSlots, Watermark, type WatermarkProps, type WatermarkRef, type WeekPickerProps, staticMethods as message, staticMethods$1 as notification, useExportConfig as useConfig, useForm, useFormInstance, useLayoutSider, useMessage, useModal, useNotification, useTree };
|
|
171
|
+
export { Affix, type AffixEmits, type AffixProps, type AffixRef, Alert, type AlertEmits, type AlertProps, type AlertSemanticType, type AlertSlots, Anchor, type AnchorEmits, type AnchorLinkProps, type AnchorProps, type AnchorSlots, type AntTreeNode, type AntTreeNodeCheckedEvent, type AntTreeNodeExpandedEvent, type AntTreeNodeMouseEvent, type AntTreeNodeProps, type AntTreeNodeSelectedEvent, type AntdTreeNodeAttribute, _default as App, type AppProps, AutoComplete, type AutoCompleteClassNamesType, type AutoCompleteEmits, Option as AutoCompleteOption, type AutoCompleteProps, type AutoCompleteSlots, type AutoCompleteStylesType, Avatar, type AvatarEmits, AvatarGroup, type AvatarGroupProps, type AvatarGroupRef, type AvatarProps, type AvatarSlots, BackTopWithInstall as BackTop, Badge, type BadgeProps, BadgeRibbon, type RibbonProps as BadgeRibbonProps, type RibbonRef as BadgeRibbonRef, type BadgeSlots, type BasicDataNode, BorderBeam, type BorderBeamColor, type BorderBeamGradient, type BorderBeamProps, _default$1 as Breadcrumb, type BreadcrumbEmits, _default$2 as BreadcrumbItem, type BreadcrumbItemProps, type ItemType as BreadcrumbItemType, type BreadcrumbProps, type BreadcrumbRef, _default$3 as BreadcrumbSeparator, type BreadcrumbSlots, Button, type ButtonColorType, type ButtonEmits, type ButtonHTMLType, type ButtonProps, type ButtonSemanticName, type ButtonShape, type SizeType as ButtonSize, type ButtonSlots, type ButtonType, type ButtonVariantType, _default$4 as Calendar, type CalendarMode, type CalendarProps, type CalendarRef, _default$5 as Card, type CardEmits, CardGrid, type CardGridProps, type CardGridRef, CardMeta, type CardMetaProps, type CardMetaRef, type CardProps, type CardSize, type CardSlots, type CardTabListType, Carousel, type CarouselEmits, type CarouselProps, type CarouselRef, type CarouselSlots, Cascader, type CascaderEmits, CascaderPanel, type CascaderPanelEmits, type CascaderPanelProps, type CascaderPanelSlots, type CascaderProps, type CascaderSlots, CheckableTag, CheckableTagGroup, type CheckableTagProps, InternalCheckbox as Checkbox, type CheckboxEmits, CheckboxGroup, type CheckboxGroupEmits, type CheckboxGroupProps, type CheckboxGroupSlots, type CheckboxOptionType, type CheckboxProps, type CheckboxSlots, Col, type ColProps, type ColSize, Collapse, CollapsePanel, type CollapsePanelProps, type CollapsePanelSlots, type CollapseProps, type AggregationColor as Color, ColorPicker, type ColorPickerEmits, type ColorPickerProps, type ColorPickerSlots, type ColorValueType, _default$6 as ConfigProvider, type ConfigProviderProps, type DataSourceItemObject, type DataSourceItemType, DateMonthPicker, _default$7 as DatePicker, type DatePickerEmits, type DatePickerProps, type DatePickerSlots, DateQuarterPicker, DateRangePicker, DateWeekPicker, DateYearPicker, Descriptions, DescriptionsItem, type DescriptionsItemProps, type DescriptionsItemSlots, type DescriptionsItemType, type DescriptionsProps, type DescriptionsRef, type DescriptionsSlots, DirectoryTree, type DirectoryTreeEmits, type ExpandAction as DirectoryTreeExpandAction, type DirectoryTreeProps, type DirectoryTreeSlots, Divider, type DividerProps, type DividerRef, Drawer, type DrawerEmits, type DrawerProps, type DrawerResizableConfig, type DrawerSlots, Dropdown, type DropdownArrowOptions, type DropdownEmits, type DropdownProps, type DropdownSlots, _default$8 as Empty, type EmptyProps, type EmptyRef, type EmptySlots, Flex, type FlexProps, type FlexSlots, FloatButton, FloatButtonGroup, type FloatButtonGroupProps, type FloatButtonGroupRef, type FloatButtonProps, type FloatButtonRef, InternalForm as Form, type FormEmits, type FormHookInstance, type FormInstance, InternalFormItem as FormItem, type FormItemEmits, type FormItemProps, type FormItemSlots, type FormProps, type FormSlots, _default_1 as Image, type ImageEmits, type PreviewConfig as ImagePreviewConfig, ImagePreviewGroup, type ImagePreviewGroupProps, type ImageProps, type ImageSlots, CompoundedInput as Input, type InputEmits, InputGroup, type InputGroupProps, InputNumber, type InputNumberEmits, type InputNumberProps, type VcInputNumberRef as InputNumberRef, type InputNumberStepContext, type ValueType as InputNumberValueType, InputOTP, type OTPEmits as InputOTPEmits, type OTPProps as InputOTPProps, type OTPSlots as InputOTPSlots, InputPassword, type PasswordProps as InputPasswordProps, type InputPasswordRef, type InputProps, type InputRef, InputSearch, type SearchProps as InputSearchProps, type InputSearchRef, type InputSlots, type InputTextAreaRef, type KeyWise, type KeyWiseTransferItem, Layout, LayoutContent, LayoutFooter, LayoutHeader, type BasicProps as LayoutProps, LayoutSider, type LegacyButtonType, type ListStyle, Listy, type ListyClassNames, type ListyProps, type ListyRef, type ListyScrollToConfig, type ListyStyles, _default$9 as Masonry, type MasonryEmits, type MasonryProps, type MasonryRef, type MasonrySlots, type MentionPlacement, Mentions, type MentionsClassNamesType, type MentionsEmits, Option$1 as MentionsOption, type MentionsOptionProps, type MentionsProps, type MentionsRef, type MentionsSlots, type MentionsStylesType, _default$10 as Menu, MenuDivider, type MenuEmits, type MenuInfo, MenuItem, MenuItemGroup, type MenuItemGroupProps, type MenuItemProps, type MenuItemType, type MenuProps, type MenuRef, type MenuSlots, _default$11 as Modal, type ModalEmits, type ModalProps, type ModalSlots, type MonthPickerProps, Pagination, type PaginationClassNamesType, type PaginationComponents, type PaginationConfig, type PaginationEmits, type PaginationLocale, type PaginationPosition, type PaginationProps, type PaginationSizeChangerProps, type PaginationSlots, type PaginationStylesType, Popconfirm, type PopconfirmEmits, type PopconfirmProps, type PopconfirmSlots, Popover, type PopoverEmits, type PopoverProps, type PopoverRef, type PopoverSlots, Progress, type ProgressProps, QRCode, type QRCodeEmits, type QRCodeProps, type QRCodeRef, InternalRadio as Radio, RadioButton, type RadioChangeEvent, type RadioEmits, RadioGroup, type RadioGroupEmits, type RadioGroupOptionType, type RadioGroupProps, type RadioGroupSlots, type RadioOptionType, type RadioProps, type RadioSlots, type RangePickerProps, Rate, type RateEmits, type RateProps, type RenderResult, type RenderResultObject, _default$12 as Result, type ResultProps, type ResultRef, type ResultSlots, type ResultStatusType, Row, type RowProps, type Rule, type RuleObject, type RuleRender, type RuleType, Segmented, type SegmentedEmits, type SegmentedOptions, type SegmentedProps, type SegmentedSlots, Select, type SelectAllLabel, type SelectEmits, type SelectInfo, SelectOptGroup, SelectOption, type SelectProps, type SelectSlots, type SelectValue, SkeletonWithSubComponents as Skeleton, SkeletonAvatar, SkeletonButton, SkeletonImage, SkeletonInput, SkeletonNode, type SkeletonProps, type SkeletonRef, Slider, type SliderEmits, type SliderProps, type SliderRef, Space, SpaceAddon, SpaceCompact, type SpaceCompactProps, type SpaceCompactRef, type SpaceProps, type SpaceSize, type SpaceSlots, _default$13 as Spin, type SpinProps, type SpinRef, type SpinSlots, Splitter, type SplitterEmits, SplitterPanel, type SplitterProps, type SplitterRef, type SplitterSlots, _default$14 as Statistic, type StatisticProps, type StatisticRef, StatisticTimer, type StatisticTimerProps, type StepItem, Steps, type StepsEmits, type StepsProps, type StepsSlots, SubMenu, type SubMenuProps, Switch, type SwitchEmits, type SwitchProps, type SwitchSize, type SwitchSlots, TabPane, type TabPaneProps, _default$15 as Table, type TableClassNamesType, Column as TableColumn, ColumnGroup as TableColumnGroup, type ColumnType as TableColumnType, type ColumnsType as TableColumnsType, type DataIndex as TableDataIndex, type TableEmits, type FilterDropdownProps as TableFilterDropdownProps, type TableLocale, type TablePaginationConfig, type TableProps, type TableRowSelection, type TableSlots, type SortOrder as TableSortOrder, type SorterResult as TableSorterResult, type TableStylesType, Summary as TableSummary, SummaryCell as TableSummaryCell, SummaryRow as TableSummaryRow, Tabs, type TabsEmits, type TabsProps, type TabsRef, type TabsSlots, Tag, type TagProps, type TagSlots, InternalTextArea as TextArea, type TextAreaProps, type TextAreaRef, _default$16 as TimePicker, type TimePickerEmits, type TimePickerLocale, type TimePickerProps, type TimePickerSlots, TimeRangePicker, type TimeRangePickerEmits, type TimeRangePickerProps, type TimeRangePickerSlots, Timeline, TimelineItem, type TimelineItemProps, type TimelineItemSlots, type TimelineItemType, type TimelineProps, _default$17 as Tooltip, type TooltipAlignConfig, type TooltipEmits, type TooltipPlacement, type TooltipProps, type TooltipRef, type TooltipSlots, Tour, type TourEmits, type TourLocale, type TourProps, type TourSlots, type TourStepItem, type TourStylesType, InternalTransfer as Transfer, type TransferClassNamesType, type TransferCustomListBodyProps, type TransferDirection, type TransferEmits, type TransferItem, type TransferKey, type TransferListBodyProps, type TransferListProps, type TransferLocale, type TransferOperationProps, type PaginationType as TransferPaginationType, type TransferProps, type TransferRef, type TransferRender, type TransferSearchEmits, type TransferSearchOption, type TransferSearchProps, type TransferSearchSlots, type TransferSlots, type TransferStylesType, Tree, type DataNode as TreeDataNode, type TreeEmits, type TreeInstance, type TreeProps, TreeSelect, type TreeSelectEmits, type TreeSelectNode, type TreeSelectProps, type TreeSelectSlots, type TreeSlots, type UseTreeConfig as TreeUseTreeConfig, Typography, type BlockProps as TypographyBaseProps, TypographyLink, type LinkProps as TypographyLinkProps, TypographyParagraph, type ParagraphProps as TypographyParagraphProps, TypographyText, type TextProps as TypographyTextProps, TypographyTitle, type TitleProps as TypographyTitleProps, UniqueProvider, Upload, type UploadChangeParam, UploadDragger, type DraggerProps as UploadDraggerProps, type UploadEmits, type UploadFile, type UploadProps, type UploadRef, type UploadSlots, Watermark, type WatermarkProps, type WatermarkRef, type WeekPickerProps, staticMethods as message, staticMethods$1 as notification, useExportConfig as useConfig, useForm, useFormInstance, useLayoutSider, useMessage, useModal, useNotification, useTree };
|
package/dist/components.js
CHANGED
|
@@ -89,8 +89,7 @@ import Steps from "./steps/index.js";
|
|
|
89
89
|
import Switch from "./switch/index.js";
|
|
90
90
|
import Column from "./table/Column.js";
|
|
91
91
|
import ColumnGroup from "./table/ColumnGroup.js";
|
|
92
|
-
import DirectoryTree from "./tree/
|
|
93
|
-
import Tree, { useTree } from "./tree/index.js";
|
|
92
|
+
import Tree, { DirectoryTree, useTree } from "./tree/index.js";
|
|
94
93
|
import InternalTable, { Summary, SummaryCell, SummaryRow } from "./table/index.js";
|
|
95
94
|
import CheckableTag from "./tag/CheckableTag.js";
|
|
96
95
|
import CheckableTagGroup from "./tag/CheckableTagGroup.js";
|