antdv-next 1.0.0-alpha.4 → 1.0.0-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_util/tools.js +2 -1
- package/dist/_util/wave/WaveEffect.js +6 -1
- package/dist/_util/wave/style.js +4 -3
- package/dist/affix/index.d.ts +3 -3
- package/dist/alert/Alert.d.ts +4 -3
- package/dist/alert/Alert.js +1 -1
- package/dist/anchor/Anchor.d.ts +5 -5
- package/dist/anchor/AnchorLink.js +2 -2
- package/dist/anchor/index.d.ts +1 -1
- package/dist/antd.js +76 -76
- package/dist/app/App.d.ts +2 -2
- package/dist/auto-complete/index.d.ts +77 -0
- package/dist/auto-complete/index.js +627 -0
- package/dist/avatar/Avatar.d.ts +3 -3
- package/dist/avatar/AvatarGroup.d.ts +2 -2
- package/dist/badge/Ribbon.d.ts +3 -3
- package/dist/badge/index.d.ts +3 -3
- package/dist/breadcrumb/Breadcrumb.d.ts +5 -5
- package/dist/breadcrumb/Breadcrumb.js +0 -8
- package/dist/breadcrumb/BreadcrumbItem.d.ts +1 -1
- package/dist/breadcrumb/BreadcrumbItem.js +1 -17
- package/dist/breadcrumb/index.d.ts +1 -1
- package/dist/button/Button.d.ts +3 -3
- package/dist/button/style/variant.js +116 -104
- package/dist/calendar/Header.js +1 -1
- package/dist/calendar/generateCalendar.d.ts +3 -3
- package/dist/calendar/index.d.ts +3 -3
- package/dist/card/Card.d.ts +3 -3
- package/dist/card/CardGrid.d.ts +2 -2
- package/dist/card/CardMeta.d.ts +3 -3
- package/dist/carousel/index.d.ts +3 -3
- package/dist/cascader/Panel.d.ts +3 -3
- package/dist/cascader/index.d.ts +3 -3
- package/dist/cascader/index.js +1 -1
- package/dist/checkbox/Checkbox.d.ts +3 -3
- package/dist/checkbox/Group.d.ts +3 -3
- package/dist/collapse/Collapse.d.ts +3 -3
- package/dist/color-picker/ColorPicker.d.ts +4 -4
- package/dist/color-picker/ColorPicker.js +2 -2
- package/dist/components.d.ts +3 -2
- package/dist/components.js +7 -4
- package/dist/config-provider/context.js +2 -2
- package/dist/config-provider/index.d.ts +3 -3
- package/dist/date-picker/generatePicker/generateRangePicker.js +1 -1
- package/dist/date-picker/generatePicker/generateSinglePicker.js +1 -1
- package/dist/date-picker/generatePicker/index.d.ts +15 -15
- package/dist/date-picker/index.d.ts +25 -25
- package/dist/descriptions/index.d.ts +3 -3
- package/dist/divider/index.d.ts +2 -2
- package/dist/drawer/index.d.ts +3 -3
- package/dist/dropdown/dropdown.d.ts +4 -4
- package/dist/dropdown/dropdown.js +5 -3
- package/dist/empty/index.d.ts +3 -3
- package/dist/flex/index.d.ts +3 -3
- package/dist/float-button/BackTop.d.ts +3 -3
- package/dist/float-button/FloatButton.d.ts +3 -3
- package/dist/float-button/FloatButtonGroup.d.ts +3 -3
- package/dist/float-button/style/button.js +4 -4
- package/dist/float-button/style/group.js +12 -12
- package/dist/form/Form.d.ts +3 -3
- package/dist/form/FormItem/index.d.ts +3 -3
- package/dist/form/style/index.js +3 -2
- package/dist/grid/row.d.ts +2 -2
- package/dist/grid/style/index.js +5 -4
- package/dist/image/PreviewGroup.d.ts +2 -2
- package/dist/image/index.d.ts +4 -4
- package/dist/index.d.ts +5 -4
- package/dist/index.js +5 -4
- package/dist/input/Input.js +1 -1
- package/dist/input/OTP/index.js +1 -1
- package/dist/input/TextArea.d.ts +3 -3
- package/dist/input/TextArea.js +1 -1
- package/dist/input/index.d.ts +11 -11
- package/dist/input-number/index.d.ts +3 -3
- package/dist/input-number/index.js +1 -1
- package/dist/input-number/style/index.js +18 -17
- package/dist/layout/index.d.ts +6 -6
- package/dist/layout/layout.d.ts +2 -2
- package/dist/masonry/Masonry.d.ts +3 -3
- package/dist/masonry/Masonry.js +8 -6
- package/dist/mentions/index.d.ts +3 -3
- package/dist/mentions/index.js +1 -1
- package/dist/mentions/style/index.js +18 -17
- package/dist/menu/MenuDivider.d.ts +2 -2
- package/dist/menu/SubMenu.d.ts +3 -3
- package/dist/menu/index.d.ts +5 -5
- package/dist/message/PurePanel.d.ts +2 -2
- package/dist/modal/Modal.d.ts +3 -3
- package/dist/notification/PurePanel.d.ts +2 -2
- package/dist/notification/useNotification.d.ts +2 -2
- package/dist/package.d.ts +109 -3
- package/dist/package.js +1 -1
- package/dist/pagination/Pagination.d.ts +3 -3
- package/dist/pagination/Pagination.js +1 -1
- package/dist/pagination/style/index.js +61 -50
- package/dist/popconfirm/PurePanel.d.ts +2 -2
- package/dist/popconfirm/index.d.ts +3 -3
- package/dist/popover/index.d.ts +3 -3
- package/dist/popover/style/index.js +11 -8
- package/dist/progress/progress.d.ts +3 -3
- package/dist/qrcode/index.d.ts +3 -3
- package/dist/radio/index.d.ts +5 -5
- package/dist/radio/radio.d.ts +3 -3
- package/dist/rate/index.d.ts +3 -3
- package/dist/result/index.d.ts +3 -3
- package/dist/result/noFound.d.ts +2 -2
- package/dist/result/serverError.d.ts +2 -2
- package/dist/segmented/index.d.ts +3 -3
- package/dist/select/index.d.ts +6 -6
- package/dist/select/index.js +2 -2
- package/dist/select/style/select-input-multiple.js +31 -29
- package/dist/select/style/select-input.js +50 -44
- package/dist/skeleton/Button.d.ts +2 -2
- package/dist/skeleton/Input.d.ts +2 -2
- package/dist/skeleton/Node.d.ts +3 -3
- package/dist/skeleton/Skeleton.d.ts +3 -3
- package/dist/slider/index.d.ts +3 -3
- package/dist/space/Compact.d.ts +2 -0
- package/dist/space/Compact.js +17 -4
- package/dist/space/index.d.ts +5 -5
- package/dist/space/style/addon.js +20 -19
- package/dist/spin/index.d.ts +3 -3
- package/dist/splitter/SplitBar.js +9 -2
- package/dist/splitter/Splitter.d.ts +3 -3
- package/dist/splitter/Splitter.js +2 -1
- package/dist/splitter/index.d.ts +2 -2
- package/dist/splitter/style/index.js +6 -6
- package/dist/statistic/Statistic.d.ts +3 -3
- package/dist/statistic/Timer.d.ts +5 -5
- package/dist/statistic/index.d.ts +5 -5
- package/dist/steps/ProgressIcon.js +9 -2
- package/dist/steps/index.d.ts +3 -3
- package/dist/steps/index.js +7 -4
- package/dist/steps/style/horizontal.js +13 -10
- package/dist/steps/style/icon.js +11 -8
- package/dist/steps/style/index.js +19 -18
- package/dist/steps/style/inline.js +19 -16
- package/dist/steps/style/label-placement.js +22 -20
- package/dist/steps/style/nav.js +7 -5
- package/dist/steps/style/panel.js +34 -32
- package/dist/steps/style/progress-dot.js +10 -8
- package/dist/steps/style/progress.js +29 -58
- package/dist/steps/style/rtl.js +6 -4
- package/dist/steps/style/small.js +10 -8
- package/dist/steps/style/status.js +124 -121
- package/dist/steps/style/util.js +7 -4
- package/dist/steps/style/vertical.js +17 -14
- package/dist/style/placementArrow.js +7 -5
- package/dist/switch/index.d.ts +3 -3
- package/dist/table/Column.d.ts +3 -3
- package/dist/table/ColumnGroup.d.ts +3 -3
- package/dist/table/InternalTable.js +1 -1
- package/dist/table/Table.d.ts +3 -3
- package/dist/table/hooks/useFilter/FilterDropdown.js +1 -1
- package/dist/tabs/TabPane.d.ts +3 -3
- package/dist/tabs/index.d.ts +3 -3
- package/dist/tag/CheckableTag.d.ts +3 -3
- package/dist/tag/CheckableTagGroup.d.ts +3 -3
- package/dist/tag/index.d.ts +3 -3
- package/dist/theme/index.d.ts +4 -4
- package/dist/theme/util/genStyleUtils.js +8 -5
- package/dist/time-picker/index.d.ts +7 -7
- package/dist/timeline/Timeline.d.ts +3 -3
- package/dist/tooltip/PurePanel.d.ts +2 -2
- package/dist/tooltip/PurePanel.js +3 -3
- package/dist/tooltip/UniqueProvider/index.d.ts +2 -2
- package/dist/tooltip/index.d.ts +3 -3
- package/dist/tooltip/index.js +2 -3
- package/dist/tooltip/style/index.js +10 -8
- package/dist/tooltip/util.js +5 -3
- package/dist/tour/index.d.ts +3 -3
- package/dist/tour/style/index.js +5 -4
- package/dist/transfer/Actions.d.ts +2 -2
- package/dist/transfer/Section.d.ts +2 -2
- package/dist/transfer/Transfer.d.ts +3 -3
- package/dist/transfer/Transfer.js +1 -1
- package/dist/transfer/search.d.ts +3 -3
- package/dist/tree/DirectoryTree.d.ts +3 -3
- package/dist/tree/Tree.d.ts +3 -3
- package/dist/tree-select/index.d.ts +4 -4
- package/dist/tree-select/index.js +1 -1
- package/dist/typography/Link.d.ts +3 -3
- package/dist/typography/Paragraph.d.ts +3 -3
- package/dist/typography/Text.d.ts +3 -3
- package/dist/typography/Title.d.ts +3 -3
- package/dist/typography/Typography.d.ts +3 -3
- package/dist/typography/index.d.ts +9 -9
- package/dist/upload/Dragger.d.ts +6 -3
- package/dist/upload/Upload.d.ts +3 -3
- package/dist/upload/index.d.ts +6 -3
- package/dist/watermark/index.d.ts +2 -2
- package/global.d.ts +2 -0
- package/package.json +22 -4
- package/web-tags.json +4524 -0
- package/web-types.json +12779 -0
package/dist/cascader/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { InputStatus } from "../_util/statusUtils.js";
|
|
|
6
6
|
import { SelectCommonPlacement } from "../_util/motion.js";
|
|
7
7
|
import { CascaderPanel } from "./Panel.js";
|
|
8
8
|
import { Variant } from "../config-provider/context.js";
|
|
9
|
-
import * as
|
|
9
|
+
import * as vue78 from "vue";
|
|
10
10
|
import { App, CSSProperties, SlotsType } from "vue";
|
|
11
11
|
import { CascaderProps, DefaultOptionType, SHOW_CHILD, SHOW_PARENT } from "@v-c/cascader";
|
|
12
12
|
|
|
@@ -77,9 +77,9 @@ interface CascaderEmits {
|
|
|
77
77
|
'search': NonNullable<CascaderProps['onSearch']>;
|
|
78
78
|
[key: string]: (...args: any[]) => void;
|
|
79
79
|
}
|
|
80
|
-
declare const InternalCascader:
|
|
80
|
+
declare const InternalCascader: vue78.DefineSetupFnComponent<CascaderProps$1<DefaultOptionType, string, boolean>, CascaderEmits, SlotsType<CascaderSlots>, CascaderProps$1<DefaultOptionType, string, boolean> & {
|
|
81
81
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
82
|
-
},
|
|
82
|
+
}, vue78.PublicProps>;
|
|
83
83
|
declare const Cascader: typeof InternalCascader & {
|
|
84
84
|
install: (app: App) => void;
|
|
85
85
|
Panel: typeof CascaderPanel;
|
package/dist/cascader/index.js
CHANGED
|
@@ -8,9 +8,9 @@ import useCSSVarCls_default from "../config-provider/hooks/useCSSVarCls.js";
|
|
|
8
8
|
import { useSize } from "../config-provider/hooks/useSize.js";
|
|
9
9
|
import { useCompactItemContext } from "../space/Compact.js";
|
|
10
10
|
import { useDisabledContext } from "../config-provider/DisabledContext.js";
|
|
11
|
-
import { useFormItemInputContext } from "../form/context.js";
|
|
12
11
|
import { getMergedStatus, getStatusClassNames } from "../_util/statusUtils.js";
|
|
13
12
|
import { DefaultRenderEmpty } from "../config-provider/defaultRenderEmpty.js";
|
|
13
|
+
import { useFormItemInputContext } from "../form/context.js";
|
|
14
14
|
import { useVariants } from "../form/hooks/useVariant.js";
|
|
15
15
|
import mergedBuiltinPlacements_default from "../select/mergedBuiltinPlacements.js";
|
|
16
16
|
import style_default from "../select/style/index.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMergeSemantic.js";
|
|
2
2
|
import "../_util/hooks/index.js";
|
|
3
3
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue247 from "vue";
|
|
5
5
|
import { SlotsType } from "vue";
|
|
6
6
|
import { CheckboxChangeEvent } from "@v-c/checkbox";
|
|
7
7
|
|
|
@@ -44,8 +44,8 @@ interface CheckboxProps extends AbstractCheckboxProps {
|
|
|
44
44
|
classes?: CheckboxClassNamesType;
|
|
45
45
|
styles?: CheckboxStylesType;
|
|
46
46
|
}
|
|
47
|
-
declare const InternalCheckbox:
|
|
47
|
+
declare const InternalCheckbox: vue247.DefineSetupFnComponent<CheckboxProps, CheckboxEmits, SlotsType<CheckboxSlots>, CheckboxProps & {
|
|
48
48
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
49
|
-
},
|
|
49
|
+
}, vue247.PublicProps>;
|
|
50
50
|
//#endregion
|
|
51
51
|
export { AbstractCheckboxProps, CheckboxEmits, CheckboxProps, CheckboxSlots, InternalCheckbox };
|
package/dist/checkbox/Group.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VueNode } from "../_util/type.js";
|
|
2
2
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue245 from "vue";
|
|
4
4
|
import { CSSProperties, SlotsType } from "vue";
|
|
5
5
|
import { CheckboxChangeEvent } from "@v-c/checkbox";
|
|
6
6
|
|
|
@@ -41,8 +41,8 @@ interface CheckboxGroupSlots {
|
|
|
41
41
|
index: number;
|
|
42
42
|
}) => any;
|
|
43
43
|
}
|
|
44
|
-
declare const CheckboxGroup:
|
|
44
|
+
declare const CheckboxGroup: vue245.DefineSetupFnComponent<CheckboxGroupProps, CheckboxGroupEmits, SlotsType<CheckboxGroupSlots>, CheckboxGroupProps & {
|
|
45
45
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
46
|
-
},
|
|
46
|
+
}, vue245.PublicProps>;
|
|
47
47
|
//#endregion
|
|
48
48
|
export { AbstractCheckboxGroupProps, CheckboxGroup, CheckboxGroupEmits, CheckboxGroupProps, CheckboxGroupSlots, CheckboxOptionType };
|
|
@@ -3,7 +3,7 @@ import { VueNode } from "../_util/type.js";
|
|
|
3
3
|
import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMergeSemantic.js";
|
|
4
4
|
import "../_util/hooks/index.js";
|
|
5
5
|
import { CollapsibleType } from "./CollapsePanel.js";
|
|
6
|
-
import * as
|
|
6
|
+
import * as vue448 from "vue";
|
|
7
7
|
import { CSSProperties, SlotsType } from "vue";
|
|
8
8
|
import { ItemType } from "@v-c/collapse";
|
|
9
9
|
|
|
@@ -69,8 +69,8 @@ interface CollapseSlots {
|
|
|
69
69
|
index: number;
|
|
70
70
|
}) => any;
|
|
71
71
|
}
|
|
72
|
-
declare const Collapse:
|
|
72
|
+
declare const Collapse: vue448.DefineSetupFnComponent<CollapseProps, CollapseEmits, SlotsType<CollapseSlots>, CollapseProps & {
|
|
73
73
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
74
|
-
},
|
|
74
|
+
}, vue448.PublicProps>;
|
|
75
75
|
//#endregion
|
|
76
76
|
export { Collapse, CollapseProps };
|
|
@@ -3,12 +3,12 @@ import { PopoverProps } from "../popover/index.js";
|
|
|
3
3
|
import { AggregationColor } from "./color.js";
|
|
4
4
|
import { ColorFormatType, ColorPickerClassNamesType, ColorPickerEmits, ColorPickerProps as ColorPickerProps$1, ColorPickerSlots, ColorPickerStylesType, ColorValueType, ModeType, PresetsItem, TriggerPlacement, TriggerType } from "./interface.js";
|
|
5
5
|
import "../components.js";
|
|
6
|
-
import * as
|
|
6
|
+
import * as vue402 from "vue";
|
|
7
7
|
import { SlotsType } from "vue";
|
|
8
8
|
import * as _v_c_color_picker0 from "@v-c/color-picker";
|
|
9
9
|
|
|
10
10
|
//#region src/color-picker/ColorPicker.d.ts
|
|
11
|
-
declare const ColorPicker:
|
|
11
|
+
declare const ColorPicker: vue402.DefineSetupFnComponent<ColorPickerProps$1, ColorPickerEmits, SlotsType<ColorPickerSlots>, Omit<_v_c_color_picker0.ColorPickerProps, "value" | "components" | "onChange" | "defaultValue" | "panelRender" | "onChangeComplete" | "disabledAlpha"> & {
|
|
12
12
|
[key: `data-${string}`]: string;
|
|
13
13
|
mode?: ModeType | ModeType[];
|
|
14
14
|
value?: ColorValueType;
|
|
@@ -42,8 +42,8 @@ declare const ColorPicker: vue392.DefineSetupFnComponent<ColorPickerProps$1, Col
|
|
|
42
42
|
rootClass?: string;
|
|
43
43
|
disabledAlpha?: boolean;
|
|
44
44
|
disabledFormat?: boolean;
|
|
45
|
-
} & Pick<PopoverProps, "
|
|
45
|
+
} & Pick<PopoverProps, "autoAdjustOverflow" | "getPopupContainer" | "destroyOnHidden"> & {
|
|
46
46
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
47
|
-
},
|
|
47
|
+
}, vue402.PublicProps>;
|
|
48
48
|
//#endregion
|
|
49
49
|
export { ColorPicker };
|
|
@@ -9,9 +9,9 @@ import { ContextIsolator } from "../_util/ContextIsolator.js";
|
|
|
9
9
|
import { AggregationColor } from "./color.js";
|
|
10
10
|
import { genAlphaColor, generateColor, getColorAlpha } from "./util.js";
|
|
11
11
|
import { useDisabledContext } from "../config-provider/DisabledContext.js";
|
|
12
|
-
import popover_default from "../popover/index.js";
|
|
13
|
-
import { useFormItemInputContext } from "../form/context.js";
|
|
14
12
|
import { getStatusClassNames } from "../_util/statusUtils.js";
|
|
13
|
+
import { useFormItemInputContext } from "../form/context.js";
|
|
14
|
+
import popover_default from "../popover/index.js";
|
|
15
15
|
import ColorPickerPanel_default from "./ColorPickerPanel.js";
|
|
16
16
|
import ColorTrigger_default from "./components/ColorTrigger.js";
|
|
17
17
|
import useModeColor from "./hooks/useModeColor.js";
|
package/dist/components.d.ts
CHANGED
|
@@ -53,7 +53,7 @@ import "./anchor/index.js";
|
|
|
53
53
|
import { RibbonProps } from "./badge/Ribbon.js";
|
|
54
54
|
import { Badge, BadgeProps, BadgeSlots } from "./badge/index.js";
|
|
55
55
|
import { BreadcrumbItemProps } from "./breadcrumb/BreadcrumbItem.js";
|
|
56
|
-
import { Breadcrumb, BreadcrumbEmits,
|
|
56
|
+
import { Breadcrumb, BreadcrumbEmits, BreadcrumbProps, BreadcrumbSlots, ItemType } from "./breadcrumb/Breadcrumb.js";
|
|
57
57
|
import { TabPane, TabPaneProps } from "./tabs/TabPane.js";
|
|
58
58
|
import { Tabs, TabsEmits, TabsProps, TabsRef, TabsSlots } from "./tabs/index.js";
|
|
59
59
|
import { Card, CardEmits, CardProps, CardSize, CardSlots, CardTabListType } from "./card/Card.js";
|
|
@@ -111,6 +111,7 @@ import { Affix, AffixProps } from "./affix/index.js";
|
|
|
111
111
|
import { useModal } from "./modal/useModal/index.js";
|
|
112
112
|
import { AppProps } from "./app/App.js";
|
|
113
113
|
import { _default } from "./app/index.js";
|
|
114
|
+
import { AutoComplete, AutoCompleteClassNamesType, AutoCompleteEmits, AutoCompleteProps, AutoCompleteSlots, AutoCompleteStylesType, DataSourceItemObject, DataSourceItemType, Option } from "./auto-complete/index.js";
|
|
114
115
|
import { AvatarGroup, AvatarGroupProps } from "./avatar/AvatarGroup.js";
|
|
115
116
|
import { AvatarEmits, AvatarProps, AvatarSlots } from "./avatar/Avatar.js";
|
|
116
117
|
import { Avatar } from "./avatar/index.js";
|
|
@@ -131,7 +132,7 @@ import { CompoundedInput, InputGroup, InputOTP, InputPassword, InputSearch } fro
|
|
|
131
132
|
import { BasicProps, Layout } from "./layout/layout.js";
|
|
132
133
|
import { LayoutContent, LayoutFooter, LayoutHeader, LayoutSider, useLayoutSider } from "./layout/index.js";
|
|
133
134
|
import "./masonry/index.js";
|
|
134
|
-
import { MentionPlacement, Mentions, MentionsClassNamesType, MentionsEmits, MentionsOptionProps, MentionsProps, MentionsRef, MentionsSlots, MentionsStylesType, Option } from "./mentions/index.js";
|
|
135
|
+
import { MentionPlacement, Mentions, MentionsClassNamesType, MentionsEmits, MentionsOptionProps, MentionsProps, MentionsRef, MentionsSlots, MentionsStylesType, Option as Option$1 } from "./mentions/index.js";
|
|
135
136
|
import { useMessage } from "./message/useMessage.js";
|
|
136
137
|
import { staticMethods } from "./message/index.js";
|
|
137
138
|
import { _default as _default$5 } from "./modal/index.js";
|
package/dist/components.js
CHANGED
|
@@ -20,6 +20,9 @@ import modal_default from "./modal/index.js";
|
|
|
20
20
|
import useNotification from "./notification/useNotification.js";
|
|
21
21
|
import notification_default from "./notification/index.js";
|
|
22
22
|
import app_default from "./app/index.js";
|
|
23
|
+
import empty_default from "./empty/index.js";
|
|
24
|
+
import select_default, { SelectOptGroup, SelectOption } from "./select/index.js";
|
|
25
|
+
import auto_complete_default, { Option } from "./auto-complete/index.js";
|
|
23
26
|
import popover_default from "./popover/index.js";
|
|
24
27
|
import AvatarGroup_default from "./avatar/AvatarGroup.js";
|
|
25
28
|
import avatar_default from "./avatar/index.js";
|
|
@@ -30,8 +33,6 @@ import menu_default, { MenuItem } from "./menu/index.js";
|
|
|
30
33
|
import dropdown_default from "./dropdown/index.js";
|
|
31
34
|
import breadcrumb_default from "./breadcrumb/index.js";
|
|
32
35
|
import radio_default, { RadioButton, RadioGroup } from "./radio/index.js";
|
|
33
|
-
import empty_default from "./empty/index.js";
|
|
34
|
-
import select_default, { SelectOptGroup, SelectOption } from "./select/index.js";
|
|
35
36
|
import calendar_default from "./calendar/index.js";
|
|
36
37
|
import TabPane_default from "./tabs/TabPane.js";
|
|
37
38
|
import tabs_default from "./tabs/index.js";
|
|
@@ -67,7 +68,7 @@ import input_default, { InputGroup, InputOTP, InputPassword, InputSearch } from
|
|
|
67
68
|
import layout_default, { LayoutContent, LayoutFooter, LayoutHeader, LayoutSider, useLayoutSider } from "./layout/index.js";
|
|
68
69
|
import masonry_default from "./masonry/index.js";
|
|
69
70
|
import spin_default from "./spin/index.js";
|
|
70
|
-
import mentions_default, { Option } from "./mentions/index.js";
|
|
71
|
+
import mentions_default, { Option as Option$1 } from "./mentions/index.js";
|
|
71
72
|
import pagination_default from "./pagination/index.js";
|
|
72
73
|
import popconfirm_default from "./popconfirm/index.js";
|
|
73
74
|
import progress_default from "./progress/progress.js";
|
|
@@ -101,6 +102,8 @@ var components_exports = /* @__PURE__ */ __export({
|
|
|
101
102
|
Alert: () => alert_default,
|
|
102
103
|
Anchor: () => anchor_default,
|
|
103
104
|
App: () => app_default,
|
|
105
|
+
AutoComplete: () => auto_complete_default,
|
|
106
|
+
AutoCompleteOption: () => Option,
|
|
104
107
|
Avatar: () => avatar_default,
|
|
105
108
|
AvatarGroup: () => AvatarGroup_default,
|
|
106
109
|
BackTop: () => BackTop_default,
|
|
@@ -154,7 +157,7 @@ var components_exports = /* @__PURE__ */ __export({
|
|
|
154
157
|
LayoutSider: () => LayoutSider,
|
|
155
158
|
Masonry: () => masonry_default,
|
|
156
159
|
Mentions: () => mentions_default,
|
|
157
|
-
MentionsOption: () => Option,
|
|
160
|
+
MentionsOption: () => Option$1,
|
|
158
161
|
Menu: () => menu_default,
|
|
159
162
|
MenuDivider: () => MenuDivider_default,
|
|
160
163
|
MenuItem: () => MenuItem,
|
|
@@ -68,7 +68,7 @@ function useComponentBaseConfig(propName, props, keys, suffixCls) {
|
|
|
68
68
|
const propValue = computed(() => {
|
|
69
69
|
return context.value[propName];
|
|
70
70
|
});
|
|
71
|
-
const toRefs = (propValues) => {
|
|
71
|
+
const toRefs$1 = (propValues) => {
|
|
72
72
|
const result = {
|
|
73
73
|
classes: computed(() => EMPTY_OBJECT),
|
|
74
74
|
styles: computed(() => EMPTY_OBJECT),
|
|
@@ -84,7 +84,7 @@ function useComponentBaseConfig(propName, props, keys, suffixCls) {
|
|
|
84
84
|
return result;
|
|
85
85
|
};
|
|
86
86
|
return {
|
|
87
|
-
...toRefs(propValue),
|
|
87
|
+
...toRefs$1(propValue),
|
|
88
88
|
direction: computed(() => context.value.direction),
|
|
89
89
|
prefixCls: computed(() => {
|
|
90
90
|
return context.value?.getPrefixCls(suffixCls ?? propName, props?.prefixCls);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ConfigProviderEmits, ConfigProviderProps, ConfigProviderSlots } from "./define.js";
|
|
2
2
|
import { CSPConfig } from "./context.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue188 from "vue";
|
|
4
4
|
import { SlotsType, VNodeChild } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/config-provider/index.d.ts
|
|
7
7
|
|
|
8
|
-
declare const ConfigProvider:
|
|
8
|
+
declare const ConfigProvider: vue188.DefineSetupFnComponent<ConfigProviderProps, ConfigProviderEmits, SlotsType<ConfigProviderSlots>, ConfigProviderProps & {
|
|
9
9
|
[x: `on${Capitalize<string>}`]: ((...args: any[] | unknown[]) => any) | undefined;
|
|
10
|
-
},
|
|
10
|
+
}, vue188.PublicProps>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { ConfigProvider };
|
|
@@ -11,8 +11,8 @@ import { ContextIsolator } from "../../_util/ContextIsolator.js";
|
|
|
11
11
|
import { useDisabledContext } from "../../config-provider/DisabledContext.js";
|
|
12
12
|
import en_US_default from "../locale/en_US.js";
|
|
13
13
|
import useLocale_default from "../../locale/useLocale.js";
|
|
14
|
-
import { useFormItemInputContext } from "../../form/context.js";
|
|
15
14
|
import { getMergedStatus, getStatusClassNames } from "../../_util/statusUtils.js";
|
|
15
|
+
import { useFormItemInputContext } from "../../form/context.js";
|
|
16
16
|
import { useVariants } from "../../form/hooks/useVariant.js";
|
|
17
17
|
import style_default from "../style/index.js";
|
|
18
18
|
import useMergedPickerSemantic from "../hooks/useMergedPickerSemantic.js";
|
|
@@ -11,8 +11,8 @@ import { ContextIsolator } from "../../_util/ContextIsolator.js";
|
|
|
11
11
|
import { useDisabledContext } from "../../config-provider/DisabledContext.js";
|
|
12
12
|
import en_US_default from "../locale/en_US.js";
|
|
13
13
|
import useLocale_default from "../../locale/useLocale.js";
|
|
14
|
-
import { useFormItemInputContext } from "../../form/context.js";
|
|
15
14
|
import { getMergedStatus, getStatusClassNames } from "../../_util/statusUtils.js";
|
|
15
|
+
import { useFormItemInputContext } from "../../form/context.js";
|
|
16
16
|
import { useVariants } from "../../form/hooks/useVariant.js";
|
|
17
17
|
import style_default from "../style/index.js";
|
|
18
18
|
import useMergedPickerSemantic from "../hooks/useMergedPickerSemantic.js";
|
|
@@ -2,31 +2,31 @@ import { AnyObject } from "../../_util/type.js";
|
|
|
2
2
|
import { RangePickerEmits, RangePickerSlots } from "./generateRangePicker.js";
|
|
3
3
|
import { PickerLocale, PickerProps, PickerPropsWithMultiple, RangePickerProps } from "./interface.js";
|
|
4
4
|
import { DatePickerEmits, DatePickerSlots } from "./generateSinglePicker.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as vue342 from "vue";
|
|
6
6
|
import { GenerateConfig } from "@v-c/picker/generate/index";
|
|
7
7
|
|
|
8
8
|
//#region src/date-picker/generatePicker/index.d.ts
|
|
9
|
-
declare function generatePicker<DateType extends AnyObject = AnyObject>(generateConfig: GenerateConfig<DateType>):
|
|
9
|
+
declare function generatePicker<DateType extends AnyObject = AnyObject>(generateConfig: GenerateConfig<DateType>): vue342.DefineSetupFnComponent<PickerProps<DateType>, DatePickerEmits<DateType>, vue342.SlotsType<DatePickerSlots>, PickerProps<DateType> & {
|
|
10
10
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
11
|
-
},
|
|
12
|
-
WeekPicker:
|
|
11
|
+
}, vue342.PublicProps> & {
|
|
12
|
+
WeekPicker: vue342.DefineSetupFnComponent<PickerProps<DateType>, DatePickerEmits<DateType>, vue342.SlotsType<DatePickerSlots>, PickerProps<DateType> & {
|
|
13
13
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
14
|
-
},
|
|
15
|
-
MonthPicker:
|
|
14
|
+
}, vue342.PublicProps>;
|
|
15
|
+
MonthPicker: vue342.DefineSetupFnComponent<PickerProps<DateType>, DatePickerEmits<DateType>, vue342.SlotsType<DatePickerSlots>, PickerProps<DateType> & {
|
|
16
16
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
17
|
-
},
|
|
18
|
-
YearPicker:
|
|
17
|
+
}, vue342.PublicProps>;
|
|
18
|
+
YearPicker: vue342.DefineSetupFnComponent<PickerProps<DateType>, DatePickerEmits<DateType>, vue342.SlotsType<DatePickerSlots>, PickerProps<DateType> & {
|
|
19
19
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
20
|
-
},
|
|
21
|
-
RangePicker:
|
|
20
|
+
}, vue342.PublicProps>;
|
|
21
|
+
RangePicker: vue342.DefineSetupFnComponent<RangePickerProps<DateType>, RangePickerEmits<DateType>, vue342.SlotsType<RangePickerSlots>, RangePickerProps<DateType> & {
|
|
22
22
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
23
|
-
},
|
|
24
|
-
TimePicker:
|
|
23
|
+
}, vue342.PublicProps>;
|
|
24
|
+
TimePicker: vue342.DefineSetupFnComponent<PickerProps<DateType>, DatePickerEmits<DateType>, vue342.SlotsType<DatePickerSlots>, PickerProps<DateType> & {
|
|
25
25
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
26
|
-
},
|
|
27
|
-
QuarterPicker:
|
|
26
|
+
}, vue342.PublicProps>;
|
|
27
|
+
QuarterPicker: vue342.DefineSetupFnComponent<PickerProps<DateType>, DatePickerEmits<DateType>, vue342.SlotsType<DatePickerSlots>, PickerProps<DateType> & {
|
|
28
28
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
29
|
-
},
|
|
29
|
+
}, vue342.PublicProps>;
|
|
30
30
|
};
|
|
31
31
|
//#endregion
|
|
32
32
|
export { generatePicker };
|
|
@@ -2,7 +2,7 @@ import { RangePickerEmits, RangePickerSlots } from "./generatePicker/generateRan
|
|
|
2
2
|
import { generatePicker } from "./generatePicker/index.js";
|
|
3
3
|
import { PickerLocale, PickerProps, PickerPropsWithMultiple, RangePickerProps } from "./generatePicker/interface.js";
|
|
4
4
|
import { DatePickerEmits, DatePickerSlots } from "./generatePicker/generateSinglePicker.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as vue23 from "vue";
|
|
6
6
|
import { Dayjs } from "dayjs";
|
|
7
7
|
|
|
8
8
|
//#region src/date-picker/index.d.ts
|
|
@@ -10,46 +10,46 @@ type DatePickerProps<ValueType = Dayjs, IsMultiple extends boolean = boolean> =
|
|
|
10
10
|
type MonthPickerProps<ValueType = Dayjs | Dayjs> = Omit<DatePickerProps<ValueType>, 'picker'>;
|
|
11
11
|
type WeekPickerProps<ValueType = Dayjs | Dayjs> = Omit<DatePickerProps<ValueType>, 'picker'>;
|
|
12
12
|
type RangePickerProps$1 = RangePickerProps<Dayjs>;
|
|
13
|
-
declare const DatePicker:
|
|
13
|
+
declare const DatePicker: vue23.DefineSetupFnComponent<PickerProps<Dayjs>, DatePickerEmits<Dayjs>, vue23.SlotsType<DatePickerSlots>, PickerProps<Dayjs> & {
|
|
14
14
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
15
|
-
},
|
|
16
|
-
WeekPicker:
|
|
15
|
+
}, vue23.PublicProps> & {
|
|
16
|
+
WeekPicker: vue23.DefineSetupFnComponent<PickerProps<Dayjs>, DatePickerEmits<Dayjs>, vue23.SlotsType<DatePickerSlots>, PickerProps<Dayjs> & {
|
|
17
17
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
18
|
-
},
|
|
19
|
-
MonthPicker:
|
|
18
|
+
}, vue23.PublicProps>;
|
|
19
|
+
MonthPicker: vue23.DefineSetupFnComponent<PickerProps<Dayjs>, DatePickerEmits<Dayjs>, vue23.SlotsType<DatePickerSlots>, PickerProps<Dayjs> & {
|
|
20
20
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
21
|
-
},
|
|
22
|
-
YearPicker:
|
|
21
|
+
}, vue23.PublicProps>;
|
|
22
|
+
YearPicker: vue23.DefineSetupFnComponent<PickerProps<Dayjs>, DatePickerEmits<Dayjs>, vue23.SlotsType<DatePickerSlots>, PickerProps<Dayjs> & {
|
|
23
23
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
24
|
-
},
|
|
25
|
-
RangePicker:
|
|
24
|
+
}, vue23.PublicProps>;
|
|
25
|
+
RangePicker: vue23.DefineSetupFnComponent<RangePickerProps<Dayjs>, RangePickerEmits<Dayjs>, vue23.SlotsType<RangePickerSlots>, RangePickerProps<Dayjs> & {
|
|
26
26
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
27
|
-
},
|
|
28
|
-
TimePicker:
|
|
27
|
+
}, vue23.PublicProps>;
|
|
28
|
+
TimePicker: vue23.DefineSetupFnComponent<PickerProps<Dayjs>, DatePickerEmits<Dayjs>, vue23.SlotsType<DatePickerSlots>, PickerProps<Dayjs> & {
|
|
29
29
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
30
|
-
},
|
|
31
|
-
QuarterPicker:
|
|
30
|
+
}, vue23.PublicProps>;
|
|
31
|
+
QuarterPicker: vue23.DefineSetupFnComponent<PickerProps<Dayjs>, DatePickerEmits<Dayjs>, vue23.SlotsType<DatePickerSlots>, PickerProps<Dayjs> & {
|
|
32
32
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
33
|
-
},
|
|
33
|
+
}, vue23.PublicProps>;
|
|
34
34
|
};
|
|
35
35
|
type DatePickerType = typeof DatePicker & {
|
|
36
36
|
generatePicker: typeof generatePicker;
|
|
37
37
|
};
|
|
38
38
|
declare const _default: DatePickerType;
|
|
39
|
-
declare const DateRangePicker:
|
|
39
|
+
declare const DateRangePicker: vue23.DefineSetupFnComponent<RangePickerProps<Dayjs>, RangePickerEmits<Dayjs>, vue23.SlotsType<RangePickerSlots>, RangePickerProps<Dayjs> & {
|
|
40
40
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
41
|
-
},
|
|
42
|
-
declare const DateWeekPicker:
|
|
41
|
+
}, vue23.PublicProps>;
|
|
42
|
+
declare const DateWeekPicker: vue23.DefineSetupFnComponent<PickerProps<Dayjs>, DatePickerEmits<Dayjs>, vue23.SlotsType<DatePickerSlots>, PickerProps<Dayjs> & {
|
|
43
43
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
44
|
-
},
|
|
45
|
-
declare const DateMonthPicker:
|
|
44
|
+
}, vue23.PublicProps>;
|
|
45
|
+
declare const DateMonthPicker: vue23.DefineSetupFnComponent<PickerProps<Dayjs>, DatePickerEmits<Dayjs>, vue23.SlotsType<DatePickerSlots>, PickerProps<Dayjs> & {
|
|
46
46
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
47
|
-
},
|
|
48
|
-
declare const DateYearPicker:
|
|
47
|
+
}, vue23.PublicProps>;
|
|
48
|
+
declare const DateYearPicker: vue23.DefineSetupFnComponent<PickerProps<Dayjs>, DatePickerEmits<Dayjs>, vue23.SlotsType<DatePickerSlots>, PickerProps<Dayjs> & {
|
|
49
49
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
50
|
-
},
|
|
51
|
-
declare const DateQuarterPicker:
|
|
50
|
+
}, vue23.PublicProps>;
|
|
51
|
+
declare const DateQuarterPicker: vue23.DefineSetupFnComponent<PickerProps<Dayjs>, DatePickerEmits<Dayjs>, vue23.SlotsType<DatePickerSlots>, PickerProps<Dayjs> & {
|
|
52
52
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
53
|
-
},
|
|
53
|
+
}, vue23.PublicProps>;
|
|
54
54
|
//#endregion
|
|
55
55
|
export { DateMonthPicker, DatePickerProps, DateQuarterPicker, DateRangePicker, DateWeekPicker, DateYearPicker, MonthPickerProps, RangePickerProps$1 as RangePickerProps, WeekPickerProps, _default };
|
|
@@ -4,7 +4,7 @@ import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMe
|
|
|
4
4
|
import "../_util/hooks/index.js";
|
|
5
5
|
import { DescriptionsItemProps } from "./Item.js";
|
|
6
6
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
7
|
-
import * as
|
|
7
|
+
import * as vue198 from "vue";
|
|
8
8
|
import { SlotsType } from "vue";
|
|
9
9
|
import { Key } from "@v-c/util/dist/type";
|
|
10
10
|
|
|
@@ -50,8 +50,8 @@ interface DescriptionsSlots {
|
|
|
50
50
|
labelRender?: RenderDescriptionsItem;
|
|
51
51
|
contentRender?: RenderDescriptionsItem;
|
|
52
52
|
}
|
|
53
|
-
declare const Descriptions:
|
|
53
|
+
declare const Descriptions: vue198.DefineSetupFnComponent<DescriptionsProps, EmptyEmit, SlotsType<DescriptionsSlots>, DescriptionsProps & {
|
|
54
54
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
55
|
-
},
|
|
55
|
+
}, vue198.PublicProps>;
|
|
56
56
|
//#endregion
|
|
57
57
|
export { Descriptions, DescriptionsItemType, DescriptionsProps, DescriptionsSlots };
|
package/dist/divider/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMe
|
|
|
3
3
|
import { Orientation } from "../_util/hooks/useOrientation.js";
|
|
4
4
|
import "../_util/hooks/index.js";
|
|
5
5
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
6
|
-
import * as
|
|
6
|
+
import * as vue186 from "vue";
|
|
7
7
|
|
|
8
8
|
//#region src/divider/index.d.ts
|
|
9
9
|
type SemanticName = 'root' | 'rail' | 'content';
|
|
@@ -32,6 +32,6 @@ interface DividerProps extends ComponentBaseProps {
|
|
|
32
32
|
classes?: DividerClassNamesType;
|
|
33
33
|
styles?: DividerStylesType;
|
|
34
34
|
}
|
|
35
|
-
declare const Divider:
|
|
35
|
+
declare const Divider: vue186.DefineSetupFnComponent<DividerProps, {}, {}, DividerProps & {}, vue186.PublicProps>;
|
|
36
36
|
//#endregion
|
|
37
37
|
export { Divider, DividerProps };
|
package/dist/drawer/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MaskType } from "../_util/hooks/useMergedMask.js";
|
|
2
2
|
import "../_util/hooks/index.js";
|
|
3
3
|
import { DrawerPanelProps } from "./DrawerPanel.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue190 from "vue";
|
|
5
5
|
import { SlotsType } from "vue";
|
|
6
6
|
import { DrawerProps } from "@v-c/drawer";
|
|
7
7
|
|
|
@@ -46,8 +46,8 @@ interface DrawerSlots {
|
|
|
46
46
|
default?: () => any;
|
|
47
47
|
closeIcon?: () => any;
|
|
48
48
|
}
|
|
49
|
-
declare const Drawer:
|
|
49
|
+
declare const Drawer: vue190.DefineSetupFnComponent<DrawerProps$1, DrawerEmits, SlotsType<DrawerSlots>, DrawerProps$1 & {
|
|
50
50
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
51
|
-
},
|
|
51
|
+
}, vue190.PublicProps>;
|
|
52
52
|
//#endregion
|
|
53
53
|
export { Drawer, DrawerEmits, DrawerProps$1 as DrawerProps, DrawerResizableConfig, DrawerSlots };
|
|
@@ -4,7 +4,7 @@ import { AdjustOverflow } from "../_util/placements.js";
|
|
|
4
4
|
import { MenuEmits, MenuProps as MenuProps$1, MenuSlots } from "../menu/menu.js";
|
|
5
5
|
import "../menu/index.js";
|
|
6
6
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
7
|
-
import * as
|
|
7
|
+
import * as vue314 from "vue";
|
|
8
8
|
import { SlotsType } from "vue";
|
|
9
9
|
import { AlignType } from "@v-c/trigger";
|
|
10
10
|
import { MenuProps } from "@v-c/menu";
|
|
@@ -23,7 +23,7 @@ interface DropdownProps extends ComponentBaseProps {
|
|
|
23
23
|
styles?: DropdownStylesType;
|
|
24
24
|
menu?: MenuProps$1 & {
|
|
25
25
|
activeKey?: MenuProps['activeKey'];
|
|
26
|
-
onClick
|
|
26
|
+
onClick?: MenuEmits['click'];
|
|
27
27
|
};
|
|
28
28
|
autoFocus?: boolean;
|
|
29
29
|
arrow?: boolean | DropdownArrowOptions;
|
|
@@ -57,8 +57,8 @@ interface DropdownSlots extends MenuSlots {
|
|
|
57
57
|
source: 'trigger' | 'menu';
|
|
58
58
|
}) => any;
|
|
59
59
|
}
|
|
60
|
-
declare const Dropdown:
|
|
60
|
+
declare const Dropdown: vue314.DefineSetupFnComponent<DropdownProps, DropdownEmits, SlotsType<DropdownSlots>, DropdownProps & {
|
|
61
61
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
62
|
-
},
|
|
62
|
+
}, vue314.PublicProps>;
|
|
63
63
|
//#endregion
|
|
64
64
|
export { Dropdown, DropdownArrowOptions, DropdownEmits, DropdownProps, DropdownSlots };
|
|
@@ -42,11 +42,12 @@ const Dropdown = /* @__PURE__ */ defineComponent((props, { slots, emit, attrs })
|
|
|
42
42
|
const warning = devUseWarning("Dropdown");
|
|
43
43
|
const triggerActions = computed(() => props.disabled ? [] : props.trigger);
|
|
44
44
|
const alignPoint = computed(() => !!triggerActions.value?.includes("contextMenu"));
|
|
45
|
-
const mergedOpen = shallowRef(props
|
|
46
|
-
watch(() => props.open, () => {
|
|
47
|
-
mergedOpen.value =
|
|
45
|
+
const mergedOpen = shallowRef(props.open ?? false);
|
|
46
|
+
watch(() => props.open, (value) => {
|
|
47
|
+
if (value !== void 0) mergedOpen.value = value;
|
|
48
48
|
});
|
|
49
49
|
const onInnerOpenChange = (nextOpen) => {
|
|
50
|
+
if (props.open === void 0) mergedOpen.value = nextOpen;
|
|
50
51
|
emit("openChange", nextOpen, { source: "trigger" });
|
|
51
52
|
emit("update:open", nextOpen);
|
|
52
53
|
};
|
|
@@ -60,6 +61,7 @@ const Dropdown = /* @__PURE__ */ defineComponent((props, { slots, emit, attrs })
|
|
|
60
61
|
const onMenuClick = () => {
|
|
61
62
|
const menu = props?.menu;
|
|
62
63
|
if (menu?.selectable && menu?.multiple) return;
|
|
64
|
+
if (props.open === void 0) mergedOpen.value = false;
|
|
63
65
|
emit("update:open", false);
|
|
64
66
|
emit("openChange", false, { source: "menu" });
|
|
65
67
|
};
|
package/dist/empty/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { EmptyEmit, VueNode } from "../_util/type.js";
|
|
|
2
2
|
import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMergeSemantic.js";
|
|
3
3
|
import "../_util/hooks/index.js";
|
|
4
4
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as vue61 from "vue";
|
|
6
6
|
import { SlotsType } from "vue";
|
|
7
7
|
import * as vue_jsx_runtime0 from "vue/jsx-runtime";
|
|
8
8
|
|
|
@@ -26,9 +26,9 @@ interface EmptySlots {
|
|
|
26
26
|
description: () => any;
|
|
27
27
|
default: () => any;
|
|
28
28
|
}
|
|
29
|
-
declare const Empty:
|
|
29
|
+
declare const Empty: vue61.DefineSetupFnComponent<EmptyProps, EmptyEmit, SlotsType<EmptySlots>, EmptyProps & {
|
|
30
30
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
31
|
-
},
|
|
31
|
+
}, vue61.PublicProps>;
|
|
32
32
|
declare const _default: typeof Empty & {
|
|
33
33
|
PRESENTED_IMAGE_DEFAULT: typeof defaultEmptyImg;
|
|
34
34
|
PRESENTED_IMAGE_SIMPLE: typeof simpleEmptyImg;
|
package/dist/flex/index.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { EmptyEmit } from "../_util/type.js";
|
|
2
2
|
import { FlexProps } from "./interface.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue196 from "vue";
|
|
4
4
|
import { SlotsType } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/flex/index.d.ts
|
|
7
7
|
interface FlexSlots {
|
|
8
8
|
default: () => any;
|
|
9
9
|
}
|
|
10
|
-
declare const Flex:
|
|
10
|
+
declare const Flex: vue196.DefineSetupFnComponent<FlexProps, EmptyEmit, SlotsType<FlexSlots>, FlexProps & {
|
|
11
11
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
12
|
-
},
|
|
12
|
+
}, vue196.PublicProps>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { Flex };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FloatButtonProps } from "./FloatButton.js";
|
|
2
2
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue320 from "vue";
|
|
4
4
|
import { SlotsType } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/float-button/BackTop.d.ts
|
|
@@ -17,9 +17,9 @@ interface BackTopSlots {
|
|
|
17
17
|
default?: () => any;
|
|
18
18
|
icon?: () => any;
|
|
19
19
|
}
|
|
20
|
-
declare const BackTop:
|
|
20
|
+
declare const BackTop: vue320.DefineSetupFnComponent<BackTopProps, BackTopEmits, SlotsType<BackTopSlots>, BackTopProps & {
|
|
21
21
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
22
|
-
},
|
|
22
|
+
}, vue320.PublicProps>;
|
|
23
23
|
declare const BackTopWithInstall: typeof BackTop;
|
|
24
24
|
//#endregion
|
|
25
25
|
export { BackTopWithInstall };
|
|
@@ -7,7 +7,7 @@ import { ButtonSemanticName } from "../button/Button.js";
|
|
|
7
7
|
import "../button/index.js";
|
|
8
8
|
import { BadgeProps } from "../badge/index.js";
|
|
9
9
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
10
|
-
import * as
|
|
10
|
+
import * as vue324 from "vue";
|
|
11
11
|
import { CSSProperties, SlotsType } from "vue";
|
|
12
12
|
|
|
13
13
|
//#region src/float-button/FloatButton.d.ts
|
|
@@ -54,9 +54,9 @@ interface FloatButtonEmits {
|
|
|
54
54
|
blur: (e: FocusEvent) => void;
|
|
55
55
|
[key: string]: (...args: any[]) => void;
|
|
56
56
|
}
|
|
57
|
-
declare const InternalFloatButton:
|
|
57
|
+
declare const InternalFloatButton: vue324.DefineSetupFnComponent<FloatButtonProps, FloatButtonEmits, SlotsType<FloatButtonSlots>, FloatButtonProps & {
|
|
58
58
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
59
|
-
},
|
|
59
|
+
}, vue324.PublicProps>;
|
|
60
60
|
declare const FloatButton: typeof InternalFloatButton;
|
|
61
61
|
//#endregion
|
|
62
62
|
export { FloatButton, FloatButtonGroupTrigger, FloatButtonProps, FloatButtonRef };
|
|
@@ -3,7 +3,7 @@ import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMe
|
|
|
3
3
|
import "../_util/hooks/index.js";
|
|
4
4
|
import { FloatButtonGroupTrigger, FloatButtonProps } from "./FloatButton.js";
|
|
5
5
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
6
|
-
import * as
|
|
6
|
+
import * as vue322 from "vue";
|
|
7
7
|
import { CSSProperties, SlotsType } from "vue";
|
|
8
8
|
|
|
9
9
|
//#region src/float-button/FloatButtonGroup.d.ts
|
|
@@ -31,9 +31,9 @@ interface FloatButtonGroupEmits {
|
|
|
31
31
|
'click': (e: MouseEvent) => void;
|
|
32
32
|
[key: string]: (...args: any[]) => void;
|
|
33
33
|
}
|
|
34
|
-
declare const InternalFloatButtonGroup:
|
|
34
|
+
declare const InternalFloatButtonGroup: vue322.DefineSetupFnComponent<FloatButtonGroupProps, FloatButtonGroupEmits, SlotsType<FloatButtonGroupSlots>, FloatButtonGroupProps & {
|
|
35
35
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
36
|
-
},
|
|
36
|
+
}, vue322.PublicProps>;
|
|
37
37
|
declare const FloatButtonGroup: typeof InternalFloatButtonGroup;
|
|
38
38
|
//#endregion
|
|
39
39
|
export { FloatButtonGroup, FloatButtonGroupProps };
|