antdv-next 1.2.1 → 1.2.2-beta.2
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/ActionButton.d.ts +2 -2
- package/dist/_util/ContextIsolator.d.ts +3 -3
- package/dist/_util/PurePanel.d.ts +3 -3
- package/dist/_util/hooks/useClosable.d.ts +2 -2
- package/dist/_util/hooks/useMergeSemantic.d.ts +4 -4
- package/dist/_util/hooks/useMergedMask.d.ts +3 -3
- package/dist/_util/instance.d.ts +2 -2
- package/dist/_util/responsiveObserver.d.ts +2 -2
- package/dist/_util/vueNode.d.ts +5 -5
- package/dist/_util/wave/WaveEffect.d.ts +5 -5
- package/dist/_util/wave/index.d.ts +2 -2
- package/dist/_util/wave/style.d.ts +2 -2
- package/dist/_util/zindexContext.d.ts +2 -2
- package/dist/affix/index.d.ts +3 -3
- package/dist/affix/style/index.d.ts +2 -2
- package/dist/alert/Alert.d.ts +2 -2
- package/dist/alert/style/index.d.ts +2 -2
- package/dist/anchor/Anchor.d.ts +2 -2
- package/dist/anchor/AnchorLink.d.ts +2 -2
- package/dist/anchor/style/index.d.ts +2 -2
- package/dist/antd-with-locales.esm.js +6440 -6421
- package/dist/antd-with-locales.js +74 -74
- package/dist/antd.esm.js +1302 -1283
- package/dist/antd.js +20 -20
- package/dist/app/App.d.ts +2 -2
- package/dist/app/context.d.ts +2 -2
- package/dist/app/style/index.d.ts +2 -2
- package/dist/auto-complete/index.d.ts +2 -2
- package/dist/avatar/Avatar.d.ts +2 -2
- package/dist/avatar/AvatarGroup.d.ts +2 -2
- package/dist/avatar/style/index.d.ts +2 -2
- package/dist/badge/Ribbon.d.ts +2 -2
- package/dist/badge/ScrollNumber.d.ts +2 -2
- package/dist/badge/SingleNumber.d.ts +2 -2
- package/dist/badge/index.d.ts +3 -3
- package/dist/badge/style/index.d.ts +2 -2
- package/dist/badge/style/ribbon.d.ts +2 -2
- package/dist/breadcrumb/Breadcrumb.d.ts +3 -3
- package/dist/breadcrumb/BreadcrumbItem.d.ts +3 -3
- package/dist/breadcrumb/BreadcrumbSeparator.d.ts +2 -2
- package/dist/breadcrumb/style/index.d.ts +2 -2
- package/dist/breadcrumb/useItemRender.d.ts +2 -2
- package/dist/button/Button.d.ts +2 -2
- package/dist/button/Button.js +4 -1
- package/dist/button/DefaultLoadingIcon.d.ts +2 -2
- package/dist/button/DefaultLoadingIcon.js +28 -15
- package/dist/button/IconWrapper.d.ts +2 -2
- package/dist/button/style/compact.d.ts +4 -4
- package/dist/button/style/index.d.ts +2 -2
- package/dist/calendar/Header.d.ts +2 -2
- package/dist/calendar/generateCalendar.d.ts +2 -2
- package/dist/calendar/index.d.ts +2 -2
- package/dist/calendar/style/index.d.ts +2 -2
- package/dist/card/Card.d.ts +2 -2
- package/dist/card/Card.js +2 -2
- package/dist/card/CardGrid.d.ts +2 -2
- package/dist/card/CardMeta.d.ts +2 -2
- package/dist/card/style/index.d.ts +2 -2
- package/dist/carousel/index.d.ts +2 -2
- package/dist/carousel/style/index.d.ts +2 -2
- package/dist/cascader/Panel.d.ts +2 -2
- package/dist/cascader/hooks/useBase.d.ts +5 -5
- package/dist/cascader/hooks/useCheckable.d.ts +2 -2
- package/dist/cascader/index.d.ts +2 -2
- package/dist/cascader/style/index.d.ts +2 -2
- package/dist/cascader/style/panel.d.ts +2 -2
- package/dist/checkbox/Checkbox.d.ts +2 -2
- package/dist/checkbox/Group.d.ts +2 -2
- package/dist/checkbox/style/index.d.ts +4 -4
- package/dist/collapse/Collapse.d.ts +2 -2
- package/dist/collapse/CollapsePanel.d.ts +2 -2
- package/dist/collapse/style/index.d.ts +2 -2
- package/dist/color-picker/ColorPicker.d.ts +2 -2
- package/dist/color-picker/ColorPickerPanel.d.ts +2 -2
- package/dist/color-picker/components/ColorAlphaInput.d.ts +2 -2
- package/dist/color-picker/components/ColorClear.d.ts +2 -2
- package/dist/color-picker/components/ColorHexInput.d.ts +2 -2
- package/dist/color-picker/components/ColorHsbInput.d.ts +2 -2
- package/dist/color-picker/components/ColorInput.d.ts +2 -2
- package/dist/color-picker/components/ColorPresets.d.ts +2 -2
- package/dist/color-picker/components/ColorRgbInput.d.ts +2 -2
- package/dist/color-picker/components/ColorSlider.d.ts +3 -3
- package/dist/color-picker/components/ColorSteppers.d.ts +2 -2
- package/dist/color-picker/components/ColorTrigger.d.ts +2 -2
- package/dist/color-picker/components/PanelPicker/GradientColorBar.d.ts +2 -2
- package/dist/color-picker/components/PanelPicker/index.d.ts +2 -2
- package/dist/color-picker/components/PanelPresets.d.ts +2 -2
- package/dist/color-picker/context.d.ts +3 -3
- package/dist/color-picker/hooks/useModeColor.d.ts +2 -2
- package/dist/color-picker/style/index.d.ts +2 -2
- package/dist/components.d.ts +12 -12
- package/dist/config-provider/DisabledContext.d.ts +2 -2
- package/dist/config-provider/SizeContext.d.ts +2 -2
- package/dist/config-provider/context.d.ts +16 -16
- package/dist/config-provider/defaultRenderEmpty.d.ts +2 -2
- package/dist/config-provider/hooks/useCSSVarCls.d.ts +2 -2
- package/dist/config-provider/hooks/useConfig.d.ts +3 -3
- package/dist/config-provider/hooks/useSize.d.ts +2 -2
- package/dist/config-provider/hooks/useTheme.d.ts +2 -2
- package/dist/config-provider/index.d.ts +4 -4
- package/dist/date-picker/PickerButton.d.ts +2 -2
- package/dist/date-picker/generatePicker/SuffixIcon.d.ts +2 -2
- package/dist/date-picker/generatePicker/generateRangePicker.d.ts +2 -2
- package/dist/date-picker/generatePicker/generateSinglePicker.d.ts +7 -7
- package/dist/date-picker/generatePicker/index.d.ts +8 -8
- package/dist/date-picker/generatePicker/useComponents.d.ts +11 -11
- package/dist/date-picker/index.d.ts +13 -13
- package/dist/date-picker/style/index.d.ts +2 -2
- package/dist/date-picker/util.d.ts +3 -3
- package/dist/descriptions/Cell.d.ts +2 -2
- package/dist/descriptions/Item.d.ts +2 -2
- package/dist/descriptions/Row.d.ts +2 -2
- package/dist/descriptions/hooks/useItems.d.ts +10 -10
- package/dist/descriptions/hooks/useRow.d.ts +2 -2
- package/dist/descriptions/index.d.ts +2 -2
- package/dist/descriptions/style/index.d.ts +2 -2
- package/dist/divider/index.d.ts +2 -2
- package/dist/divider/style/index.d.ts +2 -2
- package/dist/drawer/DrawerPanel.d.ts +2 -2
- package/dist/drawer/index.d.ts +3 -3
- package/dist/drawer/style/index.d.ts +2 -2
- package/dist/drawer/useFocusable.d.ts +2 -2
- package/dist/dropdown/dropdown.d.ts +2 -2
- package/dist/dropdown/style/index.d.ts +2 -2
- package/dist/empty/empty.d.ts +2 -2
- package/dist/empty/index.d.ts +5 -5
- package/dist/empty/simple.d.ts +2 -2
- package/dist/empty/style/index.d.ts +2 -2
- package/dist/flex/index.d.ts +2 -2
- package/dist/flex/style/index.d.ts +2 -2
- package/dist/float-button/BackTop.d.ts +2 -2
- package/dist/float-button/FloatButton.d.ts +2 -2
- package/dist/float-button/FloatButtonGroup.d.ts +2 -2
- package/dist/float-button/PurePanel.d.ts +2 -2
- package/dist/float-button/context.d.ts +3 -3
- package/dist/float-button/style/index.d.ts +2 -2
- package/dist/form/ErrorList.d.ts +2 -2
- package/dist/form/Form.d.ts +2 -2
- package/dist/form/FormItem/ItemHolder.d.ts +3 -3
- package/dist/form/FormItem/StatusProvider.d.ts +2 -2
- package/dist/form/FormItem/index.d.ts +2 -2
- package/dist/form/FormItemInput.d.ts +2 -2
- package/dist/form/FormItemLabel.d.ts +3 -3
- package/dist/form/context.d.ts +6 -6
- package/dist/form/hooks/useVariant.d.ts +2 -2
- package/dist/form/style/fallbackCmp.d.ts +4 -4
- package/dist/form/style/index.d.ts +2 -2
- package/dist/form/util.js +5 -1
- package/dist/grid/col.d.ts +2 -2
- package/dist/grid/index.d.ts +2 -2
- package/dist/grid/row.d.ts +2 -2
- package/dist/grid/style/index.d.ts +3 -3
- package/dist/image/PreviewGroup.d.ts +12 -12
- package/dist/image/hooks/useMergedPreviewConfig.d.ts +6 -6
- package/dist/image/hooks/usePreviewConfig.d.ts +7 -7
- package/dist/image/index.d.ts +3 -3
- package/dist/image/style/index.d.ts +2 -2
- package/dist/index.d.ts +14 -13
- package/dist/input/Group.d.ts +3 -3
- package/dist/input/Input.d.ts +2 -2
- package/dist/input/OTP/OTPInput.d.ts +3 -3
- package/dist/input/OTP/index.d.ts +2 -2
- package/dist/input/Password.d.ts +2 -2
- package/dist/input/Search.d.ts +2 -2
- package/dist/input/TextArea.d.ts +2 -2
- package/dist/input/index.d.ts +6 -6
- package/dist/input/style/index.d.ts +3 -3
- package/dist/input/style/otp.d.ts +2 -2
- package/dist/input/style/search.d.ts +2 -2
- package/dist/input/style/textarea.d.ts +2 -2
- package/dist/input-number/index.d.ts +2 -2
- package/dist/input-number/style/index.d.ts +2 -2
- package/dist/layout/Sider.d.ts +2 -2
- package/dist/layout/index.d.ts +5 -5
- package/dist/layout/layout.d.ts +5 -5
- package/dist/layout/style/index.d.ts +2 -2
- package/dist/layout/style/sider.d.ts +2 -2
- package/dist/locale/index.d.ts +2 -2
- package/dist/locale/useLocale.d.ts +2 -2
- package/dist/masonry/Masonry.d.ts +19 -8
- package/dist/masonry/MasonryItem.d.ts +4 -4
- package/dist/masonry/hooks/usePositions.d.ts +2 -2
- package/dist/masonry/index.d.ts +6 -2
- package/dist/masonry/style/index.d.ts +2 -2
- package/dist/mentions/index.d.ts +2 -2
- package/dist/mentions/style/index.d.ts +2 -2
- package/dist/menu/MenuContext.d.ts +3 -3
- package/dist/menu/MenuDivider.d.ts +2 -2
- package/dist/menu/MenuItem.d.ts +2 -2
- package/dist/menu/MenuItemGroup.d.ts +2 -2
- package/dist/menu/OverrideContext.d.ts +3 -3
- package/dist/menu/SubMenu.d.ts +2 -2
- package/dist/menu/index.d.ts +3 -3
- package/dist/menu/menu.d.ts +2 -2
- package/dist/menu/style/index.d.ts +2 -2
- package/dist/message/PurePanel.d.ts +3 -3
- package/dist/message/style/index.d.ts +2 -2
- package/dist/message/useMessage.d.ts +3 -3
- package/dist/modal/ConfirmDialog.d.ts +4 -4
- package/dist/modal/Modal.d.ts +2 -2
- package/dist/modal/PurePanel.d.ts +2 -2
- package/dist/modal/components/ConfirmCancelBtn.d.ts +2 -2
- package/dist/modal/components/ConfirmOkBtn.d.ts +2 -2
- package/dist/modal/components/NormalCancelBtn.d.ts +2 -2
- package/dist/modal/components/NormalOkBtn.d.ts +2 -2
- package/dist/modal/shared.d.ts +2 -2
- package/dist/modal/style/confirm.d.ts +4 -4
- package/dist/modal/style/index.d.ts +2 -2
- package/dist/modal/useModal/HookModal.d.ts +3 -3
- package/dist/notification/PurePanel.d.ts +3 -3
- package/dist/notification/style/index.d.ts +2 -2
- package/dist/notification/style/pure-panel.d.ts +4 -4
- package/dist/notification/useNotification.d.ts +3 -3
- package/dist/package.js +1 -1
- package/dist/pagination/Pagination.d.ts +2 -2
- package/dist/pagination/style/bordered.d.ts +4 -4
- package/dist/pagination/style/index.d.ts +2 -2
- package/dist/popconfirm/PurePanel.d.ts +3 -3
- package/dist/popconfirm/index.d.ts +2 -2
- package/dist/popconfirm/style/index.d.ts +2 -2
- package/dist/popover/PurePanel.d.ts +4 -4
- package/dist/popover/index.d.ts +2 -2
- package/dist/popover/style/index.d.ts +2 -2
- package/dist/progress/Circle.d.ts +3 -3
- package/dist/progress/Line.d.ts +3 -3
- package/dist/progress/Steps.d.ts +2 -2
- package/dist/progress/progress.d.ts +2 -2
- package/dist/progress/style/index.d.ts +2 -2
- package/dist/qrcode/QrcodeStatus.d.ts +2 -2
- package/dist/qrcode/index.d.ts +2 -2
- package/dist/qrcode/style/index.d.ts +2 -2
- package/dist/radio/group.d.ts +2 -2
- package/dist/radio/index.d.ts +3 -3
- package/dist/radio/radio.d.ts +2 -2
- package/dist/radio/radioButton.d.ts +2 -2
- package/dist/radio/style/index.d.ts +2 -2
- package/dist/rate/index.d.ts +2 -2
- package/dist/rate/style/index.d.ts +2 -2
- package/dist/result/index.d.ts +2 -2
- package/dist/result/noFound.d.ts +2 -2
- package/dist/result/serverError.d.ts +2 -2
- package/dist/result/style/index.d.ts +2 -2
- package/dist/result/unauthorized.d.ts +2 -2
- package/dist/segmented/index.d.ts +2 -2
- package/dist/segmented/style/index.d.ts +2 -2
- package/dist/select/index.d.ts +4 -4
- package/dist/select/style/index.d.ts +2 -2
- package/dist/select/useIcons.d.ts +5 -5
- package/dist/select/usePopupRender.d.ts +2 -2
- package/dist/skeleton/Avatar.d.ts +2 -2
- package/dist/skeleton/Button.d.ts +2 -2
- package/dist/skeleton/Element.d.ts +2 -2
- package/dist/skeleton/Image.d.ts +2 -2
- package/dist/skeleton/Input.d.ts +2 -2
- package/dist/skeleton/Node.d.ts +2 -2
- package/dist/skeleton/Paragraph.d.ts +2 -2
- package/dist/skeleton/Skeleton.d.ts +2 -2
- package/dist/skeleton/Title.d.ts +2 -2
- package/dist/skeleton/style/index.d.ts +2 -2
- package/dist/slider/SliderTooltip.d.ts +3 -3
- package/dist/slider/index.d.ts +2 -2
- package/dist/slider/style/index.d.ts +2 -2
- package/dist/space/Addon.d.ts +2 -2
- package/dist/space/Compact.d.ts +6 -6
- package/dist/space/Item.d.ts +2 -2
- package/dist/space/index.d.ts +4 -4
- package/dist/space/style/addon.d.ts +2 -2
- package/dist/space/style/compact.d.ts +2 -2
- package/dist/space/style/index.d.ts +2 -2
- package/dist/spin/Indicator/Looper.d.ts +2 -2
- package/dist/spin/Indicator/Progress.d.ts +2 -2
- package/dist/spin/Indicator/index.d.ts +2 -2
- package/dist/spin/index.d.ts +2 -2
- package/dist/spin/style/index.d.ts +2 -2
- package/dist/spin/usePercent.d.ts +2 -2
- package/dist/splitter/Panel.d.ts +3 -3
- package/dist/splitter/SplitBar.d.ts +2 -2
- package/dist/splitter/SplitBar.js +1 -12
- package/dist/splitter/Splitter.d.ts +2 -2
- package/dist/splitter/hooks/useResizable.d.ts +2 -2
- package/dist/splitter/hooks/useResize.d.ts +2 -2
- package/dist/splitter/hooks/useSizes.d.ts +2 -2
- package/dist/splitter/index.d.ts +2 -2
- package/dist/splitter/style/index.d.ts +2 -2
- package/dist/statistic/Number.d.ts +2 -2
- package/dist/statistic/Statistic.d.ts +2 -2
- package/dist/statistic/Timer.d.ts +2 -2
- package/dist/statistic/index.d.ts +2 -2
- package/dist/statistic/style/index.d.ts +2 -2
- package/dist/steps/PanelArrow.d.ts +2 -2
- package/dist/steps/ProgressIcon.d.ts +2 -2
- package/dist/steps/index.d.ts +2 -2
- package/dist/steps/style/index.d.ts +2 -2
- package/dist/switch/index.d.ts +2 -2
- package/dist/switch/style/index.d.ts +2 -2
- package/dist/table/Column.d.ts +2 -2
- package/dist/table/ColumnGroup.d.ts +2 -2
- package/dist/table/ExpandIcon.d.ts +2 -2
- package/dist/table/InternalTable.d.ts +6 -5
- package/dist/table/Table.d.ts +16 -9
- package/dist/table/TableMeasureRowContext.d.ts +3 -3
- package/dist/table/hooks/useFilter/FilterDropdown.d.ts +3 -3
- package/dist/table/hooks/useFilter/FilterWrapper.d.ts +3 -3
- package/dist/table/hooks/useFilter/index.d.ts +14 -14
- package/dist/table/hooks/usePagination.d.ts +2 -2
- package/dist/table/hooks/useSelection.d.ts +2 -2
- package/dist/table/hooks/useSorter.d.ts +2 -2
- package/dist/table/index.d.ts +4 -17
- package/dist/table/style/index.d.ts +2 -2
- package/dist/tabs/TabPane.d.ts +2 -2
- package/dist/tabs/hooks/useLegacyItems.d.ts +2 -2
- package/dist/tabs/index.d.ts +2 -2
- package/dist/tabs/style/index.d.ts +2 -2
- package/dist/tag/CheckableTag.d.ts +2 -2
- package/dist/tag/CheckableTagGroup.d.ts +2 -2
- package/dist/tag/hooks/useColor.d.ts +2 -2
- package/dist/tag/index.d.ts +2 -2
- package/dist/tag/style/index.d.ts +2 -2
- package/dist/tag/style/presetCmp.d.ts +4 -4
- package/dist/tag/style/statusCmp.d.ts +4 -4
- package/dist/theme/context.d.ts +2 -2
- package/dist/theme/index.d.ts +4 -5
- package/dist/theme/util/genStyleUtils.d.ts +6 -6
- package/dist/time-picker/index.d.ts +8 -6
- package/dist/time-picker/index.js +12 -11
- package/dist/timeline/Timeline.d.ts +2 -2
- package/dist/timeline/TimelineItem.d.ts +2 -2
- package/dist/timeline/style/index.d.ts +2 -2
- package/dist/tooltip/PurePanel.d.ts +2 -2
- package/dist/tooltip/UniqueProvider/MotionContent.d.ts +2 -2
- package/dist/tooltip/UniqueProvider/index.d.ts +2 -2
- package/dist/tooltip/index.d.ts +2 -2
- package/dist/tooltip/style/index.d.ts +2 -2
- package/dist/tour/PurePanel.d.ts +2 -2
- package/dist/tour/index.d.ts +2 -2
- package/dist/tour/panelRender.d.ts +2 -2
- package/dist/tour/style/index.d.ts +2 -2
- package/dist/transfer/Actions.d.ts +2 -2
- package/dist/transfer/ListBody.d.ts +2 -2
- package/dist/transfer/ListItem.d.ts +2 -2
- package/dist/transfer/Section.d.ts +2 -2
- package/dist/transfer/Transfer.d.ts +2 -2
- package/dist/transfer/hooks/useData.d.ts +2 -2
- package/dist/transfer/search.d.ts +2 -2
- package/dist/transfer/style/index.d.ts +2 -2
- package/dist/tree/DirectoryTree.d.ts +2 -2
- package/dist/tree/Tree.d.ts +2 -2
- package/dist/tree/style/index.d.ts +2 -2
- package/dist/tree/utils/iconUtil.d.ts +2 -2
- package/dist/tree-select/index.d.ts +3 -3
- package/dist/tree-select/style/index.d.ts +2 -2
- package/dist/typography/Base/CopyBtn.d.ts +2 -2
- package/dist/typography/Base/Ellipsis.d.ts +3 -3
- package/dist/typography/Base/EllipsisTooltip.d.ts +2 -2
- package/dist/typography/Base/index.d.ts +2 -2
- package/dist/typography/Editable.d.ts +2 -2
- package/dist/typography/Link.d.ts +2 -2
- package/dist/typography/Paragraph.d.ts +2 -2
- package/dist/typography/Text.d.ts +2 -2
- package/dist/typography/Title.d.ts +2 -2
- package/dist/typography/Typography.d.ts +2 -2
- package/dist/typography/hooks/useCopyClick.d.ts +3 -3
- package/dist/typography/hooks/useMergedConfig.d.ts +2 -2
- package/dist/typography/hooks/useTooltipProps.d.ts +2 -2
- package/dist/typography/index.d.ts +5 -5
- package/dist/typography/style/index.d.ts +2 -2
- package/dist/upload/Dragger.d.ts +3 -3
- package/dist/upload/Upload.d.ts +2 -2
- package/dist/upload/UploadList/ListItem.d.ts +2 -2
- package/dist/upload/UploadList/index.d.ts +2 -2
- package/dist/upload/index.d.ts +3 -3
- package/dist/upload/style/index.d.ts +2 -2
- package/dist/watermark/context.d.ts +2 -2
- package/dist/watermark/index.d.ts +2 -2
- package/package.json +1 -1
- package/web-tags.json +1124 -1120
- package/web-types.json +4016 -4003
package/dist/app/App.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
2
2
|
import { AppConfig } from "./context.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue16 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/app/App.d.ts
|
|
6
6
|
interface AppProps extends ComponentBaseProps, AppConfig {
|
|
7
7
|
component?: any;
|
|
8
8
|
}
|
|
9
|
-
declare const App:
|
|
9
|
+
declare const App: vue16.DefineSetupFnComponent<AppProps, {}, {}, AppProps & {}, vue16.PublicProps>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { AppProps, App as default };
|
package/dist/app/context.d.ts
CHANGED
|
@@ -2,14 +2,14 @@ import { NotificationConfig, NotificationInstance } from "../notification/interf
|
|
|
2
2
|
import { ConfigOptions, MessageInstance } from "../message/interface.js";
|
|
3
3
|
import { HookAPI } from "../modal/useModal/types.js";
|
|
4
4
|
import "../modal/useModal/index.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as vue635 from "vue";
|
|
6
6
|
|
|
7
7
|
//#region src/app/context.d.ts
|
|
8
8
|
interface AppConfig {
|
|
9
9
|
message?: ConfigOptions;
|
|
10
10
|
notification?: NotificationConfig;
|
|
11
11
|
}
|
|
12
|
-
declare const AppConfigProvider:
|
|
12
|
+
declare const AppConfigProvider: vue635.DefineSetupFnComponent<AppConfig, {}, {}, AppConfig & {}, vue635.PublicProps>;
|
|
13
13
|
declare function useAppConfig(): AppConfig;
|
|
14
14
|
interface useAppProps {
|
|
15
15
|
message: MessageInstance;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
|
|
2
2
|
import "../../theme/internal.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue305 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/app/style/index.d.ts
|
|
6
6
|
interface ComponentToken {}
|
|
7
7
|
declare const prepareComponentToken: GetDefaultToken<'App'>;
|
|
8
|
-
declare const _default: (prefixCls:
|
|
8
|
+
declare const _default: (prefixCls: vue305.Ref<string>, rootCls?: vue305.Ref<string | undefined>) => readonly [vue305.Ref<string, string>, vue305.ComputedRef<string | undefined>];
|
|
9
9
|
//#endregion
|
|
10
10
|
export { ComponentToken, _default as default, prepareComponentToken };
|
|
@@ -3,7 +3,7 @@ import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMe
|
|
|
3
3
|
import "../_util/hooks/index.js";
|
|
4
4
|
import { InputStatus } from "../_util/statusUtils.js";
|
|
5
5
|
import { InternalSelectProps, SelectPopupSemanticClassNames, SelectPopupSemanticStyles, SelectSlots } from "../select/index.js";
|
|
6
|
-
import * as
|
|
6
|
+
import * as vue12 from "vue";
|
|
7
7
|
import { App, CSSProperties, SlotsType } from "vue";
|
|
8
8
|
import { Option, SelectProps } from "@v-c/select";
|
|
9
9
|
|
|
@@ -108,7 +108,7 @@ interface AutoCompleteSlots {
|
|
|
108
108
|
maxTagPlaceholder?: SelectSlots['maxTagPlaceholder'];
|
|
109
109
|
notFoundContent?: SelectSlots['notFoundContent'];
|
|
110
110
|
}
|
|
111
|
-
declare const InternalAutoComplete:
|
|
111
|
+
declare const InternalAutoComplete: vue12.DefineSetupFnComponent<AutoCompleteProps, AutoCompleteEmits, SlotsType<AutoCompleteSlots>, AutoCompleteProps, vue12.PublicProps>;
|
|
112
112
|
declare const AutoComplete: typeof InternalAutoComplete & {
|
|
113
113
|
Option: typeof Option;
|
|
114
114
|
install: (app: App) => void;
|
package/dist/avatar/Avatar.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { VueNode } from "../_util/type.js";
|
|
2
2
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
3
3
|
import { AvatarSize } from "./AvatarContext.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue3 from "vue";
|
|
5
5
|
import { SlotsType } from "vue";
|
|
6
6
|
|
|
7
7
|
//#region src/avatar/Avatar.d.ts
|
|
@@ -36,6 +36,6 @@ interface AvatarSlots {
|
|
|
36
36
|
src: () => any;
|
|
37
37
|
default: () => any;
|
|
38
38
|
}
|
|
39
|
-
declare const Avatar:
|
|
39
|
+
declare const Avatar: vue3.DefineSetupFnComponent<AvatarProps, AvatarEmits, SlotsType<AvatarSlots>, AvatarProps, vue3.PublicProps>;
|
|
40
40
|
//#endregion
|
|
41
41
|
export { AvatarEmits, AvatarEmitsProps, AvatarProps, AvatarSlots, Avatar as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PopoverProps } from "../popover/index.js";
|
|
2
2
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
3
3
|
import { AvatarSize } from "./AvatarContext.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue655 from "vue";
|
|
5
5
|
import { CSSProperties } from "vue";
|
|
6
6
|
|
|
7
7
|
//#region src/avatar/AvatarGroup.d.ts
|
|
@@ -19,6 +19,6 @@ interface AvatarGroupProps extends ComponentBaseProps {
|
|
|
19
19
|
size?: AvatarSize;
|
|
20
20
|
shape?: 'circle' | 'square';
|
|
21
21
|
}
|
|
22
|
-
declare const AvatarGroup:
|
|
22
|
+
declare const AvatarGroup: vue655.DefineSetupFnComponent<AvatarGroupProps, {}, {}, AvatarGroupProps & {}, vue655.PublicProps>;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { AvatarGroupProps, AvatarGroup as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
|
|
2
2
|
import "../../theme/internal.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue398 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/avatar/style/index.d.ts
|
|
6
6
|
interface ComponentToken {
|
|
@@ -66,6 +66,6 @@ interface ComponentToken {
|
|
|
66
66
|
groupBorderColor: string;
|
|
67
67
|
}
|
|
68
68
|
declare const prepareComponentToken: GetDefaultToken<'Avatar'>;
|
|
69
|
-
declare const _default: (prefixCls:
|
|
69
|
+
declare const _default: (prefixCls: vue398.Ref<string>, rootCls?: vue398.Ref<string | undefined>) => readonly [vue398.Ref<string, string>, vue398.ComputedRef<string | undefined>];
|
|
70
70
|
//#endregion
|
|
71
71
|
export { ComponentToken, _default as default, prepareComponentToken };
|
package/dist/badge/Ribbon.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMe
|
|
|
3
3
|
import "../_util/hooks/index.js";
|
|
4
4
|
import { PresetColorType } from "../_util/colors.js";
|
|
5
5
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
6
|
-
import * as
|
|
6
|
+
import * as vue645 from "vue";
|
|
7
7
|
import { CSSProperties, SlotsType } from "vue";
|
|
8
8
|
import { LiteralUnion } from "@v-c/util/dist/type";
|
|
9
9
|
|
|
@@ -33,6 +33,6 @@ interface RibbonSlots {
|
|
|
33
33
|
default?: () => any;
|
|
34
34
|
text?: () => any;
|
|
35
35
|
}
|
|
36
|
-
declare const _default:
|
|
36
|
+
declare const _default: vue645.DefineSetupFnComponent<RibbonProps, EmptyEmit, SlotsType<RibbonSlots>, RibbonProps, vue645.PublicProps>;
|
|
37
37
|
//#endregion
|
|
38
38
|
export { RibbonClassNamesType, RibbonProps, RibbonSemanticClassNames, RibbonSemanticName, RibbonSemanticStyles, RibbonSlots, RibbonStylesType, _default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EmptyEmit } from "../_util/type.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue651 from "vue";
|
|
3
3
|
import { SlotsType } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/badge/ScrollNumber.d.ts
|
|
@@ -13,6 +13,6 @@ interface ScrollNumberProps {
|
|
|
13
13
|
interface ScrollNumberSlots {
|
|
14
14
|
default?: () => any;
|
|
15
15
|
}
|
|
16
|
-
declare const _default:
|
|
16
|
+
declare const _default: vue651.DefineSetupFnComponent<ScrollNumberProps, EmptyEmit, SlotsType<ScrollNumberSlots>, ScrollNumberProps, vue651.PublicProps>;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { ScrollNumberProps, ScrollNumberSlots, _default as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue643 from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/badge/SingleNumber.d.ts
|
|
4
4
|
interface SingleNumberProps {
|
|
@@ -6,6 +6,6 @@ interface SingleNumberProps {
|
|
|
6
6
|
value: string;
|
|
7
7
|
count: number;
|
|
8
8
|
}
|
|
9
|
-
declare const _default:
|
|
9
|
+
declare const _default: vue643.DefineSetupFnComponent<SingleNumberProps, {}, {}, SingleNumberProps & {}, vue643.PublicProps>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { SingleNumberProps, _default as default };
|
package/dist/badge/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import { SizeType } from "../config-provider/SizeContext.js";
|
|
|
7
7
|
import { PresetStatusColorType } from "../_util/colors.js";
|
|
8
8
|
import _default, { RibbonProps, RibbonSlots } from "./Ribbon.js";
|
|
9
9
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
10
|
-
import * as
|
|
10
|
+
import * as vue712 from "vue";
|
|
11
11
|
import { CSSProperties, SlotsType } from "vue";
|
|
12
12
|
import { LiteralUnion } from "@v-c/util/dist/type";
|
|
13
13
|
|
|
@@ -46,11 +46,11 @@ interface BadgeSlots {
|
|
|
46
46
|
count?: () => any;
|
|
47
47
|
text?: () => any;
|
|
48
48
|
}
|
|
49
|
-
declare const InternalBadge:
|
|
49
|
+
declare const InternalBadge: vue712.DefineSetupFnComponent<BadgeProps, EmptyEmit, SlotsType<BadgeSlots>, BadgeProps, vue712.PublicProps>;
|
|
50
50
|
declare const Badge: typeof InternalBadge & {
|
|
51
51
|
Ribbon: typeof _default;
|
|
52
52
|
};
|
|
53
|
-
declare const BadgeRibbon:
|
|
53
|
+
declare const BadgeRibbon: vue712.DefineSetupFnComponent<RibbonProps, EmptyEmit, SlotsType<RibbonSlots>, RibbonProps, vue712.PublicProps>;
|
|
54
54
|
type BadgeRibbonProps = RibbonProps;
|
|
55
55
|
//#endregion
|
|
56
56
|
export { BadgeClassNamesType, BadgeProps, BadgeRibbon, BadgeRibbonProps, BadgeSemanticClassNames, BadgeSemanticName, BadgeSemanticStyles, BadgeSlots, BadgeStylesType, Badge as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FullToken, GenStyleFn, GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
|
|
2
2
|
import "../../theme/internal.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue321 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/badge/style/index.d.ts
|
|
6
6
|
/** Component only token. Which will handle additional calculation of alias token */
|
|
@@ -104,6 +104,6 @@ interface BadgeToken extends FullToken<'Badge'> {
|
|
|
104
104
|
}
|
|
105
105
|
declare function prepareToken(token: Parameters<GenStyleFn<'Badge'>>[0]): BadgeToken;
|
|
106
106
|
declare const prepareComponentToken: GetDefaultToken<'Badge'>;
|
|
107
|
-
declare const _default: (prefixCls:
|
|
107
|
+
declare const _default: (prefixCls: vue321.Ref<string>, rootCls?: vue321.Ref<string | undefined>) => readonly [vue321.Ref<string, string>, vue321.ComputedRef<string | undefined>];
|
|
108
108
|
//#endregion
|
|
109
109
|
export { BadgeToken, ComponentToken, _default as default, prepareComponentToken, prepareToken };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue315 from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/badge/style/ribbon.d.ts
|
|
4
|
-
declare const _default: (prefixCls:
|
|
4
|
+
declare const _default: (prefixCls: vue315.Ref<string>, rootCls?: vue315.Ref<string | undefined>) => readonly [vue315.Ref<string, string>, vue315.ComputedRef<string | undefined>];
|
|
5
5
|
//#endregion
|
|
6
6
|
export { _default as default };
|
|
@@ -5,7 +5,7 @@ import { DropdownProps } from "../dropdown/dropdown.js";
|
|
|
5
5
|
import "../dropdown/index.js";
|
|
6
6
|
import _default, { BreadcrumbItemProps, MenuItem } from "./BreadcrumbItem.js";
|
|
7
7
|
import _default$1 from "./BreadcrumbSeparator.js";
|
|
8
|
-
import * as
|
|
8
|
+
import * as vue5 from "vue";
|
|
9
9
|
import { CSSProperties, SlotsType } from "vue";
|
|
10
10
|
import { Key } from "@v-c/util/dist/type";
|
|
11
11
|
|
|
@@ -105,8 +105,8 @@ interface BreadcrumbSlots {
|
|
|
105
105
|
menu: MenuItem;
|
|
106
106
|
}) => any;
|
|
107
107
|
}
|
|
108
|
-
declare const Breadcrumb:
|
|
108
|
+
declare const Breadcrumb: vue5.DefineSetupFnComponent<BreadcrumbProps<AnyObject>, BreadcrumbEmits, SlotsType<BreadcrumbSlots>, BreadcrumbProps<AnyObject> & {
|
|
109
109
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
110
|
-
},
|
|
110
|
+
}, vue5.PublicProps>;
|
|
111
111
|
//#endregion
|
|
112
112
|
export { BreadcrumbClassNamesType, BreadcrumbEmits, BreadcrumbEmitsProps, _default as BreadcrumbItem, BreadcrumbItemRenderContext, BreadcrumbItemType, BreadcrumbProps, BreadcrumbSemanticClassNames, BreadcrumbSemanticName, BreadcrumbSemanticStyles, _default$1 as BreadcrumbSeparator, BreadcrumbSeparatorType, BreadcrumbSlots, BreadcrumbStylesType, InternalRouteType, ItemType, Breadcrumb as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { VueNode } from "../_util/type.js";
|
|
2
2
|
import { DropdownProps } from "../dropdown/dropdown.js";
|
|
3
3
|
import "../dropdown/index.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue639 from "vue";
|
|
5
5
|
import { CSSProperties } from "vue";
|
|
6
6
|
import { Key } from "@v-c/util/dist/type";
|
|
7
7
|
|
|
@@ -30,8 +30,8 @@ interface BreadcrumbItemProps extends SeparatorType {
|
|
|
30
30
|
class?: string;
|
|
31
31
|
style?: CSSProperties;
|
|
32
32
|
}
|
|
33
|
-
declare const InternalBreadcrumbItem:
|
|
34
|
-
declare const BreadcrumbItem:
|
|
33
|
+
declare const InternalBreadcrumbItem: vue639.DefineSetupFnComponent<Omit<BreadcrumbItemProps, "key">, {}, {}, Omit<BreadcrumbItemProps, "key"> & {}, vue639.PublicProps>;
|
|
34
|
+
declare const BreadcrumbItem: vue639.DefineSetupFnComponent<Omit<BreadcrumbItemProps, "key">, {}, {}, Omit<BreadcrumbItemProps, "key"> & {}, vue639.PublicProps>;
|
|
35
35
|
declare const _default: typeof BreadcrumbItem & {
|
|
36
36
|
/** @internal */__ANT_BREADCRUMB_ITEM: boolean;
|
|
37
37
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue14 from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/breadcrumb/BreadcrumbSeparator.d.ts
|
|
4
|
-
declare const BreadcrumbSeparator:
|
|
4
|
+
declare const BreadcrumbSeparator: vue14.DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, vue14.PublicProps>;
|
|
5
5
|
declare const _default: typeof BreadcrumbSeparator & {
|
|
6
6
|
/** @internal */__ANT_BREADCRUMB_SEPARATOR: boolean;
|
|
7
7
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
|
|
2
2
|
import "../../theme/internal.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue376 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/breadcrumb/style/index.d.ts
|
|
6
6
|
interface ComponentToken {
|
|
@@ -41,6 +41,6 @@ interface ComponentToken {
|
|
|
41
41
|
separatorColor: string;
|
|
42
42
|
}
|
|
43
43
|
declare const prepareComponentToken: GetDefaultToken<'Breadcrumb'>;
|
|
44
|
-
declare const _default: (prefixCls:
|
|
44
|
+
declare const _default: (prefixCls: vue376.Ref<string>, rootCls?: vue376.Ref<string | undefined>) => readonly [vue376.Ref<string, string>, vue376.ComputedRef<string | undefined>];
|
|
45
45
|
//#endregion
|
|
46
46
|
export { ComponentToken, _default as default, prepareComponentToken };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { VueNode } from "../_util/type.js";
|
|
2
2
|
import { BreadcrumbProps, ItemType } from "./Breadcrumb.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue_jsx_runtime30 from "vue/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/breadcrumb/useItemRender.d.ts
|
|
6
6
|
type AddParameters<TFunction extends (...args: any) => any, TParameters extends [...args: any]> = (...args: [...Parameters<TFunction>, ...TParameters]) => ReturnType<TFunction>;
|
|
7
7
|
type ItemRender = NonNullable<BreadcrumbProps['itemRender']>;
|
|
8
8
|
type InternalItemRenderParams = AddParameters<ItemRender, [href?: string, index?: number]>;
|
|
9
|
-
declare function renderItem(prefixCls: string, item: ItemType, children: VueNode, href?: string):
|
|
9
|
+
declare function renderItem(prefixCls: string, item: ItemType, children: VueNode, href?: string): vue_jsx_runtime30.JSX.Element | null;
|
|
10
10
|
declare function useItemRender(prefixCls: string, itemRender?: ItemRender, titleRender?: BreadcrumbProps['titleRender']): InternalItemRenderParams;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { useItemRender as default, renderItem };
|
package/dist/button/Button.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import "../_util/hooks/index.js";
|
|
|
4
4
|
import { SizeType } from "../config-provider/SizeContext.js";
|
|
5
5
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
6
6
|
import { ButtonColorType, ButtonHTMLType, ButtonShape, ButtonType, ButtonVariantType } from "./buttonHelper.js";
|
|
7
|
-
import * as
|
|
7
|
+
import * as vue637 from "vue";
|
|
8
8
|
import { CSSProperties, SlotsType } from "vue";
|
|
9
9
|
|
|
10
10
|
//#region src/button/Button.d.ts
|
|
@@ -63,7 +63,7 @@ interface ButtonSlots {
|
|
|
63
63
|
icon?: () => any;
|
|
64
64
|
loadingIcon?: () => any;
|
|
65
65
|
}
|
|
66
|
-
declare const InternalCompoundedButton:
|
|
66
|
+
declare const InternalCompoundedButton: vue637.DefineSetupFnComponent<ButtonProps, ButtonEmits, SlotsType<ButtonSlots>, ButtonProps, vue637.PublicProps>;
|
|
67
67
|
type CompoundedComponent = typeof InternalCompoundedButton & {
|
|
68
68
|
/** @internal */__ANT_BUTTON: boolean;
|
|
69
69
|
};
|
package/dist/button/Button.js
CHANGED
|
@@ -112,7 +112,10 @@ const InternalCompoundedButton = /* @__PURE__ */ defineComponent((props, { slots
|
|
|
112
112
|
delayTimer = null;
|
|
113
113
|
}
|
|
114
114
|
});
|
|
115
|
-
}, {
|
|
115
|
+
}, {
|
|
116
|
+
flush: "sync",
|
|
117
|
+
immediate: true
|
|
118
|
+
});
|
|
116
119
|
watch([
|
|
117
120
|
mergedInsertSpace,
|
|
118
121
|
buttonRef,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue18 from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/button/DefaultLoadingIcon.d.ts
|
|
4
4
|
interface DefaultLoadingIconProps {
|
|
@@ -7,6 +7,6 @@ interface DefaultLoadingIconProps {
|
|
|
7
7
|
loading?: boolean | object;
|
|
8
8
|
mount: boolean;
|
|
9
9
|
}
|
|
10
|
-
declare const DefaultLoadingIcon:
|
|
10
|
+
declare const DefaultLoadingIcon: vue18.DefineSetupFnComponent<DefaultLoadingIconProps, {}, {}, DefaultLoadingIconProps & {}, vue18.PublicProps>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { DefaultLoadingIconProps, DefaultLoadingIcon as default };
|
|
@@ -2,6 +2,7 @@ import IconWrapper_default from "./IconWrapper.js";
|
|
|
2
2
|
import { Transition, createVNode, defineComponent, mergeProps } from "vue";
|
|
3
3
|
import { classNames } from "@v-c/util";
|
|
4
4
|
import { LoadingOutlined } from "@antdv-next/icons";
|
|
5
|
+
import { getTransitionProps } from "@v-c/util/dist/utils/transition";
|
|
5
6
|
|
|
6
7
|
//#region src/button/DefaultLoadingIcon.tsx
|
|
7
8
|
const InnerLoadingIcon = /* @__PURE__ */ defineComponent((props) => {
|
|
@@ -27,18 +28,30 @@ const InnerLoadingIcon = /* @__PURE__ */ defineComponent((props) => {
|
|
|
27
28
|
name: "InnerLoadingIcon"
|
|
28
29
|
});
|
|
29
30
|
const DefaultLoadingIcon = /* @__PURE__ */ defineComponent((props, { attrs }) => {
|
|
31
|
+
const scheduleMotionFrame = (cb) => {
|
|
32
|
+
if (typeof requestAnimationFrame === "function") requestAnimationFrame(cb);
|
|
33
|
+
else setTimeout(cb, 0);
|
|
34
|
+
};
|
|
35
|
+
function resetStyle(el) {
|
|
36
|
+
const element = el;
|
|
37
|
+
element.style.width = "";
|
|
38
|
+
element.style.opacity = "";
|
|
39
|
+
element.style.transform = "";
|
|
40
|
+
}
|
|
30
41
|
function onBeforeEnter(el) {
|
|
31
42
|
const element = el;
|
|
32
43
|
element.style.width = "0px";
|
|
33
44
|
element.style.opacity = "0";
|
|
34
45
|
element.style.transform = "scale(0)";
|
|
35
46
|
}
|
|
36
|
-
function onEnter(el
|
|
47
|
+
function onEnter(el) {
|
|
37
48
|
const element = el;
|
|
38
|
-
element.
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
49
|
+
element.offsetWidth;
|
|
50
|
+
scheduleMotionFrame(() => {
|
|
51
|
+
element.style.width = `${element.scrollWidth}px`;
|
|
52
|
+
element.style.opacity = "1";
|
|
53
|
+
element.style.transform = "scale(1)";
|
|
54
|
+
});
|
|
42
55
|
}
|
|
43
56
|
function onBeforeLeave(el) {
|
|
44
57
|
const element = el;
|
|
@@ -46,26 +59,26 @@ const DefaultLoadingIcon = /* @__PURE__ */ defineComponent((props, { attrs }) =>
|
|
|
46
59
|
element.style.opacity = "1";
|
|
47
60
|
element.style.transform = "scale(1)";
|
|
48
61
|
}
|
|
49
|
-
function onLeave(el
|
|
62
|
+
function onLeave(el) {
|
|
50
63
|
const element = el;
|
|
51
|
-
element.
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
64
|
+
element.offsetWidth;
|
|
65
|
+
scheduleMotionFrame(() => {
|
|
66
|
+
element.style.width = "0px";
|
|
67
|
+
element.style.opacity = "0";
|
|
68
|
+
element.style.transform = "scale(0)";
|
|
69
|
+
});
|
|
56
70
|
}
|
|
57
71
|
return () => {
|
|
58
72
|
const { prefixCls, loading, existIcon, mount } = props;
|
|
59
73
|
const visible = !!loading;
|
|
60
74
|
if (existIcon) return createVNode(InnerLoadingIcon, mergeProps({ "prefixCls": prefixCls }, attrs), null);
|
|
61
|
-
return createVNode(Transition, {
|
|
62
|
-
"name": `${prefixCls}-loading-icon-motion`,
|
|
63
|
-
"appear": !mount,
|
|
75
|
+
return createVNode(Transition, mergeProps(getTransitionProps(`${prefixCls}-loading-icon-motion`, { appear: !mount }), {
|
|
64
76
|
"onBeforeEnter": onBeforeEnter,
|
|
65
77
|
"onEnter": onEnter,
|
|
78
|
+
"onAfterEnter": resetStyle,
|
|
66
79
|
"onBeforeLeave": onBeforeLeave,
|
|
67
80
|
"onLeave": onLeave
|
|
68
|
-
}, { default: () => [visible ? createVNode(InnerLoadingIcon, mergeProps({ "prefixCls": prefixCls }, attrs), null) : null] });
|
|
81
|
+
}), { default: () => [visible ? createVNode(InnerLoadingIcon, mergeProps({ "prefixCls": prefixCls }, attrs), null) : null] });
|
|
69
82
|
};
|
|
70
83
|
}, { props: {
|
|
71
84
|
prefixCls: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue41 from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/button/IconWrapper.d.ts
|
|
4
4
|
interface IconWrapperProps {
|
|
5
5
|
prefixCls: string;
|
|
6
6
|
}
|
|
7
|
-
declare const IconWrapper:
|
|
7
|
+
declare const IconWrapper: vue41.DefineSetupFnComponent<IconWrapperProps, {}, {}, IconWrapperProps & {}, vue41.PublicProps>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { IconWrapperProps, IconWrapper as default };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue475 from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/button/style/compact.d.ts
|
|
4
|
-
declare const _default:
|
|
4
|
+
declare const _default: vue475.DefineComponent<vue475.ExtractPropTypes<{
|
|
5
5
|
prefixCls: StringConstructor;
|
|
6
6
|
rootCls: StringConstructor;
|
|
7
|
-
}>, () => null, {}, {}, {},
|
|
7
|
+
}>, () => null, {}, {}, {}, vue475.ComponentOptionsMixin, vue475.ComponentOptionsMixin, {}, string, vue475.PublicProps, Readonly<vue475.ExtractPropTypes<{
|
|
8
8
|
prefixCls: StringConstructor;
|
|
9
9
|
rootCls: StringConstructor;
|
|
10
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string,
|
|
10
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, vue475.ComponentProvideOptions, true, {}, any>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { _default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentToken } from "./token.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue494 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/button/style/index.d.ts
|
|
5
|
-
declare const _default: (prefixCls:
|
|
5
|
+
declare const _default: (prefixCls: vue494.Ref<string>, rootCls?: vue494.Ref<string | undefined>) => readonly [vue494.Ref<string, string>, vue494.ComputedRef<string | undefined>];
|
|
6
6
|
//#endregion
|
|
7
7
|
export { type ComponentToken, _default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CalendarMode, SelectInfo } from "./generateCalendar.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue505 from "vue";
|
|
3
3
|
import { CSSProperties } from "vue";
|
|
4
4
|
import { Locale } from "@v-c/picker";
|
|
5
5
|
import { GenerateConfig } from "@v-c/picker/generate";
|
|
@@ -18,6 +18,6 @@ interface CalendarHeaderProps<DateType> {
|
|
|
18
18
|
onChange: (date: DateType, source: SelectInfo['source']) => void;
|
|
19
19
|
onModeChange: (mode: CalendarMode) => void;
|
|
20
20
|
}
|
|
21
|
-
declare const CalendarHeader:
|
|
21
|
+
declare const CalendarHeader: vue505.DefineSetupFnComponent<CalendarHeaderProps<any>, {}, {}, CalendarHeaderProps<any> & {}, vue505.PublicProps>;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { CalendarHeaderProps, CalendarHeader as default };
|
|
@@ -3,7 +3,7 @@ import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMe
|
|
|
3
3
|
import "../_util/hooks/index.js";
|
|
4
4
|
import locale from "../date-picker/locale/en_US.js";
|
|
5
5
|
import "./locale/en_US.js";
|
|
6
|
-
import * as
|
|
6
|
+
import * as vue432 from "vue";
|
|
7
7
|
import { CSSProperties, SlotsType } from "vue";
|
|
8
8
|
import { GenerateConfig } from "@v-c/picker/generate/index";
|
|
9
9
|
|
|
@@ -102,6 +102,6 @@ interface CalendarEmitsProps<DateType = AnyObject> {
|
|
|
102
102
|
onPanelChange?: CalendarEmits<DateType>['panelChange'];
|
|
103
103
|
onSelect?: CalendarEmits<DateType>['select'];
|
|
104
104
|
}
|
|
105
|
-
declare function generateCalendar<DateType extends AnyObject>(generateConfig: GenerateConfig<DateType>):
|
|
105
|
+
declare function generateCalendar<DateType extends AnyObject>(generateConfig: GenerateConfig<DateType>): vue432.DefineSetupFnComponent<CalendarProps<DateType>, CalendarEmits<DateType>, SlotsType<CalendarSlots>, CalendarProps<DateType>, vue432.PublicProps>;
|
|
106
106
|
//#endregion
|
|
107
107
|
export { CalendarClassNamesType, CalendarEmits, CalendarEmitsProps, CalendarMode, CalendarProps, CalendarSemanticClassNames, CalendarSemanticName, CalendarSemanticStyles, CalendarSlots, CalendarStylesType, HeaderRender, SelectInfo, calendarProps, generateCalendar as default };
|
package/dist/calendar/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import generateCalendar, { CalendarEmits, CalendarMode, CalendarProps, CalendarSlots } from "./generateCalendar.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue409 from "vue";
|
|
3
3
|
import { Dayjs } from "dayjs";
|
|
4
4
|
|
|
5
5
|
//#region src/calendar/index.d.ts
|
|
6
|
-
declare const Calendar:
|
|
6
|
+
declare const Calendar: vue409.DefineSetupFnComponent<CalendarProps<Dayjs>, CalendarEmits<Dayjs>, vue409.SlotsType<CalendarSlots>, CalendarProps<Dayjs>, vue409.PublicProps>;
|
|
7
7
|
type CalendarType = typeof Calendar & {
|
|
8
8
|
generateCalendar: typeof generateCalendar;
|
|
9
9
|
};
|
|
@@ -3,7 +3,7 @@ import "../../date-picker/style/index.js";
|
|
|
3
3
|
import { FullToken, GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
|
|
4
4
|
import { GenerateStyle } from "../../theme/interface/index.js";
|
|
5
5
|
import "../../theme/internal.js";
|
|
6
|
-
import * as
|
|
6
|
+
import * as vue507 from "vue";
|
|
7
7
|
import { CSSObject } from "@antdv-next/cssinjs";
|
|
8
8
|
|
|
9
9
|
//#region src/calendar/style/index.d.ts
|
|
@@ -63,6 +63,6 @@ interface CalendarToken extends FullToken<'Calendar'>, PickerPanelToken, PanelCo
|
|
|
63
63
|
}
|
|
64
64
|
declare const genCalendarStyles: GenerateStyle<CalendarToken, CSSObject>;
|
|
65
65
|
declare const prepareComponentToken: GetDefaultToken<'Calendar'>;
|
|
66
|
-
declare const _default: (prefixCls:
|
|
66
|
+
declare const _default: (prefixCls: vue507.Ref<string>, rootCls?: vue507.Ref<string | undefined>) => readonly [vue507.Ref<string, string>, vue507.ComputedRef<string | undefined>];
|
|
67
67
|
//#endregion
|
|
68
68
|
export { ComponentToken, _default as default, genCalendarStyles, prepareComponentToken };
|
package/dist/card/Card.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMe
|
|
|
3
3
|
import "../_util/hooks/index.js";
|
|
4
4
|
import { Tab, TabsSlots } from "../tabs/index.js";
|
|
5
5
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
6
|
-
import * as
|
|
6
|
+
import * as vue412 from "vue";
|
|
7
7
|
import { CSSProperties, SlotsType } from "vue";
|
|
8
8
|
|
|
9
9
|
//#region src/card/Card.d.ts
|
|
@@ -81,6 +81,6 @@ interface CardSlots {
|
|
|
81
81
|
tabLabelRender?: TabsSlots['labelRender'];
|
|
82
82
|
tabBarExtraContent?: () => any;
|
|
83
83
|
}
|
|
84
|
-
declare const Card:
|
|
84
|
+
declare const Card: vue412.DefineSetupFnComponent<CardProps, CardEmits, SlotsType<CardSlots>, CardProps, vue412.PublicProps>;
|
|
85
85
|
//#endregion
|
|
86
86
|
export { CardClassNamesType, CardEmits, CardEmitsProps, CardProps, CardSemanticClassNames, CardSemanticName, CardSemanticStyles, CardSize, CardSlots, CardStylesType, CardTabListType, CardType, Card as default };
|
package/dist/card/Card.js
CHANGED
|
@@ -138,10 +138,10 @@ const Card = /* @__PURE__ */ defineComponent((props, { slots, emit, attrs }) =>
|
|
|
138
138
|
...bodyStyle,
|
|
139
139
|
...mergedStyles.value.body
|
|
140
140
|
};
|
|
141
|
-
const body = createVNode("div", {
|
|
141
|
+
const body = loading || children.length ? createVNode("div", {
|
|
142
142
|
"class": bodyClasses,
|
|
143
143
|
"style": mergedBodyStyle
|
|
144
|
-
}, [loading ? loadingBlock : children]);
|
|
144
|
+
}, [loading ? loadingBlock : children]) : null;
|
|
145
145
|
const actionClasses = clsx(`${prefixCls.value}-actions`, mergedClassNames.value.actions);
|
|
146
146
|
const actionDom = actions?.length ? createVNode(ActionNode, {
|
|
147
147
|
"actionClasses": actionClasses,
|
package/dist/card/CardGrid.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue407 from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/card/CardGrid.d.ts
|
|
4
4
|
interface CardGridProps {
|
|
5
5
|
prefixCls?: string;
|
|
6
6
|
hoverable?: boolean;
|
|
7
7
|
}
|
|
8
|
-
declare const CardGrid:
|
|
8
|
+
declare const CardGrid: vue407.DefineSetupFnComponent<CardGridProps, {}, {}, CardGridProps & {}, vue407.PublicProps>;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { CardGridProps, CardGrid as default };
|
package/dist/card/CardMeta.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
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
|
-
import * as
|
|
4
|
+
import * as vue647 from "vue";
|
|
5
5
|
import { CSSProperties, SlotsType } from "vue";
|
|
6
6
|
|
|
7
7
|
//#region src/card/CardMeta.d.ts
|
|
@@ -36,6 +36,6 @@ interface CardMetaSlots {
|
|
|
36
36
|
description?: () => any;
|
|
37
37
|
default?: () => any;
|
|
38
38
|
}
|
|
39
|
-
declare const CardMeta:
|
|
39
|
+
declare const CardMeta: vue647.DefineSetupFnComponent<CardMetaProps, EmptyEmit, SlotsType<CardMetaSlots>, CardMetaProps, vue647.PublicProps>;
|
|
40
40
|
//#endregion
|
|
41
41
|
export { CardMetaClassNamesType, CardMetaProps, CardMetaSemanticClassNames, CardMetaSemanticName, CardMetaSemanticStyles, CardMetaSlots, CardMetaStylesType, CardMeta as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
|
|
2
2
|
import "../../theme/internal.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue511 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/card/style/index.d.ts
|
|
6
6
|
interface ComponentToken {
|
|
@@ -71,6 +71,6 @@ interface ComponentToken {
|
|
|
71
71
|
extraColor: string;
|
|
72
72
|
}
|
|
73
73
|
declare const prepareComponentToken: GetDefaultToken<'Card'>;
|
|
74
|
-
declare const _default: (prefixCls:
|
|
74
|
+
declare const _default: (prefixCls: vue511.Ref<string>, rootCls?: vue511.Ref<string | undefined>) => readonly [vue511.Ref<string, string>, vue511.ComputedRef<string | undefined>];
|
|
75
75
|
//#endregion
|
|
76
76
|
export { ComponentToken, _default as default, prepareComponentToken };
|