antdv-next 1.3.2 → 1.3.4-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/tools.d.ts +14 -1
- package/dist/_util/tools.js +29 -2
- package/dist/_util/vueNode.d.ts +2 -7
- 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 +12318 -12247
- package/dist/antd-with-locales.js +89 -75
- package/dist/antd.css +1 -1
- package/dist/antd.esm.js +9278 -9223
- package/dist/antd.js +71 -57
- 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/border-beam/BorderBeam.d.ts +3 -3
- package/dist/border-beam/hooks/useBorderSize.d.ts +2 -2
- package/dist/border-beam/style/index.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/DefaultLoadingIcon.d.ts +2 -2
- package/dist/button/IconWrapper.d.ts +2 -2
- package/dist/button/buttonHelper.d.ts +1 -1
- 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/generateCalendar.js +3 -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/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 +2 -2
- package/dist/checkbox/style/index.js +10 -9
- 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/config-provider/DisabledContext.d.ts +2 -2
- package/dist/config-provider/SizeContext.d.ts +2 -2
- package/dist/config-provider/context.d.ts +15 -15
- 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/style/index.js +13 -4
- 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/descriptions/style/index.js +2 -1
- 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/empty.js +33 -31
- package/dist/empty/index.d.ts +5 -5
- package/dist/empty/simple.d.ts +2 -2
- package/dist/empty/simple.js +4 -4
- package/dist/empty/style/index.d.ts +2 -2
- package/dist/empty/utils.d.ts +4 -0
- package/dist/empty/utils.js +10 -0
- 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/ErrorList.js +2 -1
- package/dist/form/Form.d.ts +2 -2
- package/dist/form/FormItem/ItemHolder.d.ts +3 -3
- package/dist/form/FormItem/ItemHolder.js +1 -1
- 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 +7 -7
- 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/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 +9 -9
- package/dist/image/index.d.ts +3 -3
- package/dist/image/style/index.d.ts +2 -2
- 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/km_KH.js +5 -0
- package/dist/locale/pt_BR.js +11 -0
- package/dist/locale/useLocale.d.ts +2 -2
- package/dist/masonry/Masonry.d.ts +3 -3
- package/dist/masonry/MasonryItem.d.ts +2 -2
- package/dist/masonry/hooks/usePositions.d.ts +2 -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/MenuItem.js +3 -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/PureList.d.ts +3 -3
- package/dist/message/PurePanel.d.ts +3 -3
- package/dist/message/style/index.d.ts +5 -5
- 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 +4 -4
- package/dist/modal/style/confirm.d.ts +4 -4
- package/dist/modal/style/index.d.ts +2 -2
- package/dist/modal/style/index.js +3 -0
- package/dist/modal/useModal/HookModal.d.ts +3 -3
- package/dist/notification/PureList.d.ts +3 -3
- package/dist/notification/PurePanel.d.ts +3 -3
- package/dist/notification/style/index.d.ts +5 -5
- 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 +3 -3
- package/dist/popconfirm/index.js +3 -2
- package/dist/popconfirm/style/index.d.ts +2 -2
- package/dist/popconfirm/style/index.js +1 -1
- 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/popover/style/index.js +3 -3
- 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/style/index.js +5 -5
- 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/dropdown.js +1 -0
- package/dist/select/style/index.d.ts +2 -2
- package/dist/select/style/select-input-customize.js +13 -1
- 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/style/placementArrow.d.ts +1 -0
- package/dist/style/placementArrow.js +2 -2
- package/dist/style/roundedArrow.d.ts +1 -1
- package/dist/style/roundedArrow.js +18 -17
- 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 +2 -2
- 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/FilterWrapper.js +2 -1
- 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/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/tabs/style/index.js +20 -1
- 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 +7 -7
- package/dist/theme/interface/alias.d.ts +2 -0
- package/dist/theme/themes/default/theme.d.ts +2 -2
- package/dist/theme/util/alias.js +1 -0
- package/dist/theme/util/genStyleUtils.d.ts +14 -14
- package/dist/time-picker/index.d.ts +4 -4
- 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/tooltip/style/index.js +5 -5
- 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/Section.js +5 -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/DirectoryTree.js +1 -1
- package/dist/tree/Tree.d.ts +2 -2
- package/dist/tree/style/index.d.ts +2 -2
- package/dist/tree/utils/dropIndicator.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 +4 -4
- package/web-tags.json +1117 -1125
- package/web-types.json +5216 -5232
|
@@ -3,7 +3,7 @@ import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMe
|
|
|
3
3
|
import "../_util/hooks/index.js";
|
|
4
4
|
import { ClosableType } from "../_util/hooks/useClosable.js";
|
|
5
5
|
import { DrawerProps as DrawerProps$1 } from "./index.js";
|
|
6
|
-
import * as
|
|
6
|
+
import * as vue545 from "vue";
|
|
7
7
|
import { CSSProperties } from "vue";
|
|
8
8
|
import { DrawerProps } from "@v-c/drawer";
|
|
9
9
|
|
|
@@ -72,6 +72,6 @@ interface DrawerPanelProps {
|
|
|
72
72
|
/** @deprecated Please use `styles.content` instead */
|
|
73
73
|
drawerStyle?: CSSProperties;
|
|
74
74
|
}
|
|
75
|
-
declare const DrawerPanel:
|
|
75
|
+
declare const DrawerPanel: vue545.DefineSetupFnComponent<DrawerPanelProps, {}, {}, DrawerPanelProps & {}, vue545.PublicProps>;
|
|
76
76
|
//#endregion
|
|
77
77
|
export { DrawerClassNamesType, DrawerPanelProps, DrawerSemanticClassNames, DrawerSemanticName, DrawerSemanticStyles, DrawerStylesType, DrawerPanel as default };
|
package/dist/drawer/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { MaskType } from "../_util/hooks/useMergedMask.js";
|
|
|
2
2
|
import "../_util/hooks/index.js";
|
|
3
3
|
import { FocusableConfig, OmitFocusType } from "./useFocusable.js";
|
|
4
4
|
import { DrawerPanelProps } from "./DrawerPanel.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as vue534 from "vue";
|
|
6
6
|
import { SlotsType } from "vue";
|
|
7
7
|
import { DrawerProps as DrawerProps$1 } from "@v-c/drawer";
|
|
8
8
|
|
|
@@ -63,11 +63,11 @@ interface DrawerSlots {
|
|
|
63
63
|
default?: () => any;
|
|
64
64
|
closeIcon?: () => any;
|
|
65
65
|
}
|
|
66
|
-
declare const Drawer:
|
|
66
|
+
declare const Drawer: vue534.DefineSetupFnComponent<DrawerProps, DrawerEmits, SlotsType<DrawerSlots>, DrawerProps, vue534.PublicProps>;
|
|
67
67
|
interface PurePanelInterface {
|
|
68
68
|
prefixCls?: string;
|
|
69
69
|
placement?: DrawerProps['placement'];
|
|
70
70
|
}
|
|
71
|
-
declare const PurePanel:
|
|
71
|
+
declare const PurePanel: vue534.DefineSetupFnComponent<Omit<DrawerPanelProps, "prefixCls"> & PurePanelInterface, {}, {}, Omit<DrawerPanelProps, "prefixCls"> & PurePanelInterface & {}, vue534.PublicProps>;
|
|
72
72
|
//#endregion
|
|
73
73
|
export { DrawerEmits, DrawerEmitsProps, DrawerProps, DrawerResizableConfig, DrawerSlots, PurePanel, PushState, Drawer as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FullToken, GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
|
|
2
2
|
import "../../theme/internal.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue795 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/drawer/style/index.d.ts
|
|
6
6
|
interface ComponentToken {
|
|
@@ -27,6 +27,6 @@ interface ComponentToken {
|
|
|
27
27
|
}
|
|
28
28
|
interface DrawerToken extends FullToken<'Drawer'> {}
|
|
29
29
|
declare const prepareComponentToken: GetDefaultToken<'Drawer'>;
|
|
30
|
-
declare const _default: (prefixCls:
|
|
30
|
+
declare const _default: (prefixCls: vue795.Ref<string>, rootCls?: vue795.Ref<string | undefined>) => readonly [vue795.Ref<string, string>, vue795.ComputedRef<string | undefined>];
|
|
31
31
|
//#endregion
|
|
32
32
|
export { ComponentToken, DrawerToken, _default as default, prepareComponentToken };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue762 from "vue";
|
|
2
2
|
import { Ref } from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/drawer/useFocusable.d.ts
|
|
@@ -7,7 +7,7 @@ interface FocusableConfig {
|
|
|
7
7
|
focusTriggerAfterClose?: boolean;
|
|
8
8
|
trap?: boolean;
|
|
9
9
|
}
|
|
10
|
-
declare function useFocusable(focusable?: Ref<FocusableConfig | undefined>, defaultTrap?: Ref<boolean | undefined>, legacyFocusTriggerAfterClose?: Ref<FocusableConfig['focusTriggerAfterClose'] | undefined>):
|
|
10
|
+
declare function useFocusable(focusable?: Ref<FocusableConfig | undefined>, defaultTrap?: Ref<boolean | undefined>, legacyFocusTriggerAfterClose?: Ref<FocusableConfig['focusTriggerAfterClose'] | undefined>): vue762.ComputedRef<{
|
|
11
11
|
focusTriggerAfterClose: boolean;
|
|
12
12
|
trap: boolean;
|
|
13
13
|
}>;
|
|
@@ -4,7 +4,7 @@ import { AdjustOverflow } from "../_util/placements.js";
|
|
|
4
4
|
import { MenuEmits, MenuSlots } from "../menu/menu.js";
|
|
5
5
|
import { MenuProps as MenuProps$1 } from "../menu/index.js";
|
|
6
6
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
7
|
-
import * as
|
|
7
|
+
import * as vue551 from "vue";
|
|
8
8
|
import { CSSProperties, SlotsType } from "vue";
|
|
9
9
|
import { AlignType } from "@v-c/trigger";
|
|
10
10
|
import { MenuProps } from "@v-c/menu";
|
|
@@ -75,6 +75,6 @@ interface DropdownSlots extends MenuSlots {
|
|
|
75
75
|
source: 'trigger' | 'menu';
|
|
76
76
|
}) => any;
|
|
77
77
|
}
|
|
78
|
-
declare const Dropdown:
|
|
78
|
+
declare const Dropdown: vue551.DefineSetupFnComponent<DropdownProps, DropdownEmits, SlotsType<DropdownSlots>, DropdownProps, vue551.PublicProps>;
|
|
79
79
|
//#endregion
|
|
80
80
|
export { DropdownArrowOptions, DropdownClassNamesType, DropdownEmits, DropdownEmitsProps, DropdownProps, DropdownSemanticClassNames, DropdownSemanticName, DropdownSemanticStyles, DropdownSlots, DropdownStylesType, Dropdown as default };
|
|
@@ -2,7 +2,7 @@ import { ArrowToken } from "../../style/roundedArrow.js";
|
|
|
2
2
|
import { ArrowOffsetToken } from "../../style/placementArrow.js";
|
|
3
3
|
import { FullToken, GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
|
|
4
4
|
import "../../theme/internal.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as vue660 from "vue";
|
|
6
6
|
import { CSSProperties } from "vue";
|
|
7
7
|
|
|
8
8
|
//#region src/dropdown/style/index.d.ts
|
|
@@ -40,6 +40,6 @@ interface DropdownToken extends FullToken<'Dropdown'> {
|
|
|
40
40
|
menuCls: string;
|
|
41
41
|
}
|
|
42
42
|
declare const prepareComponentToken: GetDefaultToken<'Dropdown'>;
|
|
43
|
-
declare const _default: (prefixCls:
|
|
43
|
+
declare const _default: (prefixCls: vue660.Ref<string>, rootCls?: vue660.Ref<string | undefined>) => readonly [vue660.Ref<string, string>, vue660.ComputedRef<string | undefined>];
|
|
44
44
|
//#endregion
|
|
45
45
|
export { ComponentToken, DropdownToken, _default as default, prepareComponentToken };
|
package/dist/empty/empty.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue560 from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/empty/empty.d.ts
|
|
4
|
-
declare const Empty:
|
|
4
|
+
declare const Empty: vue560.DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, vue560.PublicProps>;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { Empty as default };
|
package/dist/empty/empty.js
CHANGED
|
@@ -1,17 +1,25 @@
|
|
|
1
1
|
import useToken from "../theme/useToken.js";
|
|
2
2
|
import useLocale_default from "../locale/useLocale.js";
|
|
3
|
+
import { getAsSolidColor } from "./utils.js";
|
|
3
4
|
import { computed, createVNode, defineComponent } from "vue";
|
|
4
|
-
import { FastColor } from "@ant-design/fast-color";
|
|
5
5
|
|
|
6
6
|
//#region src/empty/empty.tsx
|
|
7
7
|
const Empty = /* @__PURE__ */ defineComponent(() => {
|
|
8
8
|
const [, token] = useToken();
|
|
9
9
|
const [locale] = useLocale_default("Empty");
|
|
10
|
-
const
|
|
10
|
+
const colors = computed(() => {
|
|
11
|
+
const { colorBgContainer, colorFill, colorFillSecondary, colorFillTertiary, colorTextQuaternary } = token.value;
|
|
12
|
+
return {
|
|
13
|
+
panelBgColor: getAsSolidColor(colorFillTertiary, colorBgContainer),
|
|
14
|
+
borderColor: getAsSolidColor(colorTextQuaternary, colorBgContainer),
|
|
15
|
+
detailColor: getAsSolidColor(colorFill, colorBgContainer),
|
|
16
|
+
shadowColor: getAsSolidColor(colorFillSecondary, colorBgContainer),
|
|
17
|
+
iconColor: colorBgContainer
|
|
18
|
+
};
|
|
19
|
+
});
|
|
11
20
|
return () => {
|
|
12
|
-
const
|
|
21
|
+
const { panelBgColor, borderColor, detailColor, shadowColor, iconColor } = colors.value;
|
|
13
22
|
return createVNode("svg", {
|
|
14
|
-
"style": themeStyle,
|
|
15
23
|
"width": "184",
|
|
16
24
|
"height": "152",
|
|
17
25
|
"viewBox": "0 0 184 152",
|
|
@@ -20,46 +28,40 @@ const Empty = /* @__PURE__ */ defineComponent(() => {
|
|
|
20
28
|
"fill": "none",
|
|
21
29
|
"fill-rule": "evenodd"
|
|
22
30
|
}, [
|
|
23
|
-
createVNode("g", { "transform": "translate(24 31.
|
|
31
|
+
createVNode("g", { "transform": "translate(24 31.7)" }, [
|
|
24
32
|
createVNode("ellipse", {
|
|
25
33
|
"fill-opacity": ".8",
|
|
26
|
-
"fill":
|
|
27
|
-
"cx": "67.
|
|
28
|
-
"cy": "106.
|
|
29
|
-
"rx": "67.
|
|
30
|
-
"ry": "12.
|
|
34
|
+
"fill": shadowColor,
|
|
35
|
+
"cx": "67.8",
|
|
36
|
+
"cy": "106.9",
|
|
37
|
+
"rx": "67.8",
|
|
38
|
+
"ry": "12.7"
|
|
31
39
|
}, null),
|
|
32
40
|
createVNode("path", {
|
|
33
|
-
"
|
|
34
|
-
"
|
|
41
|
+
"fill": borderColor,
|
|
42
|
+
"d": "M122 69.7 98.1 40.2a6 6 0 0 0-4.6-2.2H42.1a6 6 0 0 0-4.6 2.2l-24 29.5V85H122z"
|
|
35
43
|
}, null),
|
|
36
44
|
createVNode("path", {
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"transform": "translate(13.56)"
|
|
45
|
+
"fill": panelBgColor,
|
|
46
|
+
"d": "M33.8 0h68a4 4 0 0 1 4 4v93.3a4 4 0 0 1-4 4h-68a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4"
|
|
40
47
|
}, null),
|
|
41
48
|
createVNode("path", {
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
}, null),
|
|
45
|
-
createVNode("path", {
|
|
46
|
-
"d": "M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",
|
|
47
|
-
"fill": "#DCE0E6"
|
|
49
|
+
"fill": detailColor,
|
|
50
|
+
"d": "M42.7 10h50.2a2 2 0 0 1 2 2v25a2 2 0 0 1-2 2H42.7a2 2 0 0 1-2-2V12a2 2 0 0 1 2-2m.2 39.8h49.8a2.3 2.3 0 1 1 0 4.5H42.9a2.3 2.3 0 0 1 0-4.5m0 11.7h49.8a2.3 2.3 0 1 1 0 4.6H42.9a2.3 2.3 0 0 1 0-4.6m79 43.5a7 7 0 0 1-6.8 5.4H20.5a7 7 0 0 1-6.7-5.4l-.2-1.8V69.7h26.3c2.9 0 5.2 2.4 5.2 5.4s2.4 5.4 5.3 5.4h34.8c2.9 0 5.3-2.4 5.3-5.4s2.3-5.4 5.2-5.4H122v33.5q0 1-.2 1.8"
|
|
48
51
|
}, null)
|
|
49
52
|
]),
|
|
50
53
|
createVNode("path", {
|
|
51
|
-
"
|
|
52
|
-
"
|
|
54
|
+
"fill": detailColor,
|
|
55
|
+
"d": "m149.1 33.3-6.8 2.6a1 1 0 0 1-1.3-1.2l2-6.2q-4.1-4.5-4.2-10.4c0-10 10.1-18.1 22.6-18.1S184 8.1 184 18.1s-10.1 18-22.6 18q-6.8 0-12.3-2.8"
|
|
53
56
|
}, null),
|
|
54
57
|
createVNode("g", {
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
}, [createVNode("
|
|
58
|
-
"cx": "20.
|
|
59
|
-
"cy": "3.
|
|
60
|
-
"
|
|
61
|
-
|
|
62
|
-
}, null), createVNode("path", { "d": "M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z" }, null)])
|
|
58
|
+
"fill": iconColor,
|
|
59
|
+
"transform": "translate(149.7 15.4)"
|
|
60
|
+
}, [createVNode("circle", {
|
|
61
|
+
"cx": "20.7",
|
|
62
|
+
"cy": "3.2",
|
|
63
|
+
"r": "2.8"
|
|
64
|
+
}, null), createVNode("path", { "d": "M5.7 5.6H0L2.9.7zM9.3.7h5v5h-5z" }, null)])
|
|
63
65
|
])]);
|
|
64
66
|
};
|
|
65
67
|
}, { name: "AEmptyImage" });
|
package/dist/empty/index.d.ts
CHANGED
|
@@ -2,16 +2,16 @@ import { EmptyEmit, VueNode as VueNode$1 } 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 vue924 from "vue";
|
|
6
6
|
import { CSSProperties, SlotsType } from "vue";
|
|
7
|
-
import * as
|
|
7
|
+
import * as vue_jsx_runtime30 from "vue/jsx-runtime";
|
|
8
8
|
|
|
9
9
|
//#region src/empty/index.d.ts
|
|
10
10
|
interface TransferLocale {
|
|
11
11
|
description: string;
|
|
12
12
|
}
|
|
13
|
-
declare const defaultEmptyImg:
|
|
14
|
-
declare const simpleEmptyImg:
|
|
13
|
+
declare const defaultEmptyImg: vue_jsx_runtime30.JSX.Element;
|
|
14
|
+
declare const simpleEmptyImg: vue_jsx_runtime30.JSX.Element;
|
|
15
15
|
type EmptySemanticName = keyof EmptySemanticClassNames & keyof EmptySemanticStyles;
|
|
16
16
|
interface EmptySemanticClassNames {
|
|
17
17
|
root?: string;
|
|
@@ -39,7 +39,7 @@ interface EmptySlots {
|
|
|
39
39
|
description: () => any;
|
|
40
40
|
default: () => any;
|
|
41
41
|
}
|
|
42
|
-
declare const Empty:
|
|
42
|
+
declare const Empty: vue924.DefineSetupFnComponent<EmptyProps, EmptyEmit, SlotsType<EmptySlots>, EmptyProps, vue924.PublicProps>;
|
|
43
43
|
declare const _default: typeof Empty & {
|
|
44
44
|
PRESENTED_IMAGE_DEFAULT: typeof defaultEmptyImg;
|
|
45
45
|
PRESENTED_IMAGE_SIMPLE: typeof simpleEmptyImg;
|
package/dist/empty/simple.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue578 from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/empty/simple.d.ts
|
|
4
|
-
declare const Simple:
|
|
4
|
+
declare const Simple: vue578.DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, vue578.PublicProps>;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { Simple as default };
|
package/dist/empty/simple.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import useToken from "../theme/useToken.js";
|
|
2
2
|
import useLocale_default from "../locale/useLocale.js";
|
|
3
|
+
import { getAsSolidColor } from "./utils.js";
|
|
3
4
|
import { computed, createVNode, defineComponent } from "vue";
|
|
4
|
-
import { FastColor } from "@ant-design/fast-color";
|
|
5
5
|
|
|
6
6
|
//#region src/empty/simple.tsx
|
|
7
7
|
const Simple = /* @__PURE__ */ defineComponent(() => {
|
|
@@ -10,9 +10,9 @@ const Simple = /* @__PURE__ */ defineComponent(() => {
|
|
|
10
10
|
const colors = computed(() => {
|
|
11
11
|
const { colorFill, colorFillTertiary, colorFillQuaternary, colorBgContainer } = token.value;
|
|
12
12
|
return {
|
|
13
|
-
borderColor:
|
|
14
|
-
shadowColor:
|
|
15
|
-
contentColor:
|
|
13
|
+
borderColor: getAsSolidColor(colorFill, colorBgContainer),
|
|
14
|
+
shadowColor: getAsSolidColor(colorFillTertiary, colorBgContainer),
|
|
15
|
+
contentColor: getAsSolidColor(colorFillQuaternary, colorBgContainer)
|
|
16
16
|
};
|
|
17
17
|
});
|
|
18
18
|
return () => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue933 from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/empty/style/index.d.ts
|
|
4
4
|
/** Component only token. Which will handle additional calculation of alias token */
|
|
5
5
|
interface ComponentToken {}
|
|
6
|
-
declare const _default: (prefixCls:
|
|
6
|
+
declare const _default: (prefixCls: vue933.Ref<string>, rootCls?: vue933.Ref<string | undefined>) => readonly [vue933.Ref<string, string>, vue933.ComputedRef<string | undefined>];
|
|
7
7
|
//#endregion
|
|
8
8
|
export { ComponentToken, _default as default };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FastColor } from "@ant-design/fast-color";
|
|
2
|
+
|
|
3
|
+
//#region src/empty/utils.ts
|
|
4
|
+
function getAsSolidColor(color, background) {
|
|
5
|
+
if (color?.startsWith("var(") || background?.startsWith("var(")) return color;
|
|
6
|
+
return new FastColor(color).onBackground(background).toHexString();
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
//#endregion
|
|
10
|
+
export { getAsSolidColor };
|
package/dist/flex/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { EmptyEmit } from "../_util/type.js";
|
|
2
2
|
import { FlexProps } from "./interface.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue913 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: vue913.DefineSetupFnComponent<FlexProps, EmptyEmit, SlotsType<FlexSlots>, FlexProps, vue913.PublicProps>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { type FlexProps, FlexSlots, Flex as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FullToken, GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
|
|
2
2
|
import "../../theme/internal.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue785 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/flex/style/index.d.ts
|
|
6
6
|
/** Component only token. Which will handle additional calculation of alias token */
|
|
@@ -29,6 +29,6 @@ interface FlexToken extends FullToken<'Flex'> {
|
|
|
29
29
|
flexGapLG: number;
|
|
30
30
|
}
|
|
31
31
|
declare const prepareComponentToken: GetDefaultToken<'Flex'>;
|
|
32
|
-
declare const _default: (prefixCls:
|
|
32
|
+
declare const _default: (prefixCls: vue785.Ref<string>, rootCls?: vue785.Ref<string | undefined>) => readonly [vue785.Ref<string, string>, vue785.ComputedRef<string | undefined>];
|
|
33
33
|
//#endregion
|
|
34
34
|
export { ComponentToken, FlexToken, _default as default, prepareComponentToken };
|
|
@@ -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 vue911 from "vue";
|
|
4
4
|
import { SlotsType } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/float-button/BackTop.d.ts
|
|
@@ -19,7 +19,7 @@ interface BackTopSlots {
|
|
|
19
19
|
default?: () => any;
|
|
20
20
|
icon?: () => any;
|
|
21
21
|
}
|
|
22
|
-
declare const BackTop:
|
|
22
|
+
declare const BackTop: vue911.DefineSetupFnComponent<BackTopProps, BackTopEmits, SlotsType<BackTopSlots>, BackTopProps, vue911.PublicProps>;
|
|
23
23
|
declare const BackTopWithInstall: typeof BackTop;
|
|
24
24
|
//#endregion
|
|
25
25
|
export { BackTopEmits, BackTopEmitsProps, BackTopProps, BackTopSlots, BackTopWithInstall as default };
|
|
@@ -7,7 +7,7 @@ import { ComponentBaseProps } from "../config-provider/context.js";
|
|
|
7
7
|
import { ButtonHTMLType } from "../button/buttonHelper.js";
|
|
8
8
|
import { ButtonSemanticClassNames, ButtonSemanticName, ButtonSemanticStyles } from "../button/Button.js";
|
|
9
9
|
import "../button/index.js";
|
|
10
|
-
import * as
|
|
10
|
+
import * as vue56 from "vue";
|
|
11
11
|
import { CSSProperties, SlotsType } from "vue";
|
|
12
12
|
|
|
13
13
|
//#region src/float-button/FloatButton.d.ts
|
|
@@ -62,7 +62,7 @@ interface FloatButtonEmitsProps {
|
|
|
62
62
|
onBlur?: FloatButtonEmits['blur'];
|
|
63
63
|
}
|
|
64
64
|
declare const floatButtonPrefixCls = "float-btn";
|
|
65
|
-
declare const InternalFloatButton:
|
|
65
|
+
declare const InternalFloatButton: vue56.DefineSetupFnComponent<FloatButtonProps, FloatButtonEmits, SlotsType<FloatButtonSlots>, FloatButtonProps, vue56.PublicProps>;
|
|
66
66
|
declare const FloatButton: typeof InternalFloatButton;
|
|
67
67
|
//#endregion
|
|
68
68
|
export { FloatButtonBadgeProps, FloatButtonClassNamesType, FloatButtonElement, FloatButtonEmits, FloatButtonEmitsProps, FloatButtonGroupTrigger, FloatButtonProps, FloatButtonRef, FloatButtonSemanticName, FloatButtonShape, FloatButtonSlots, FloatButtonStylesType, FloatButtonType, FloatButton as default, floatButtonPrefixCls };
|
|
@@ -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 vue24 from "vue";
|
|
7
7
|
import { CSSProperties, SlotsType } from "vue";
|
|
8
8
|
|
|
9
9
|
//#region src/float-button/FloatButtonGroup.d.ts
|
|
@@ -55,7 +55,7 @@ interface FloatButtonGroupEmitsProps {
|
|
|
55
55
|
'onUpdate:open'?: FloatButtonGroupEmits['update:open'];
|
|
56
56
|
onClick?: FloatButtonGroupEmits['click'];
|
|
57
57
|
}
|
|
58
|
-
declare const InternalFloatButtonGroup:
|
|
58
|
+
declare const InternalFloatButtonGroup: vue24.DefineSetupFnComponent<FloatButtonGroupProps, FloatButtonGroupEmits, SlotsType<FloatButtonGroupSlots>, FloatButtonGroupProps, vue24.PublicProps>;
|
|
59
59
|
declare const FloatButtonGroup: typeof InternalFloatButtonGroup;
|
|
60
60
|
//#endregion
|
|
61
61
|
export { FloatButtonGroupClassNamesType, FloatButtonGroupEmits, FloatButtonGroupEmitsProps, FloatButtonGroupProps, FloatButtonGroupSemanticClassNames, FloatButtonGroupSemanticName, FloatButtonGroupSemanticStyles, FloatButtonGroupSlots, FloatButtonGroupStylesType, FloatButtonGroup as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FloatButtonProps } from "./FloatButton.js";
|
|
2
2
|
import { FloatButtonGroupProps } from "./FloatButtonGroup.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue52 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/float-button/PurePanel.d.ts
|
|
6
6
|
interface PureFloatButtonProps extends Omit<FloatButtonProps, 'target'> {
|
|
@@ -14,6 +14,6 @@ interface PurePanelProps extends Omit<PureFloatButtonProps, 'classes' | 'styles'
|
|
|
14
14
|
classes?: ClassNamesType;
|
|
15
15
|
styles?: StylesType;
|
|
16
16
|
}
|
|
17
|
-
declare const PurePanel:
|
|
17
|
+
declare const PurePanel: vue52.DefineSetupFnComponent<PurePanelProps, {}, {}, PurePanelProps & {}, vue52.PublicProps>;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { PureFloatButtonProps, PurePanelProps, PurePanel as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FloatButtonProps, FloatButtonShape } from "./FloatButton.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue16 from "vue";
|
|
3
3
|
import { Ref } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/float-button/context.d.ts
|
|
@@ -11,10 +11,10 @@ interface GroupContextProps {
|
|
|
11
11
|
}
|
|
12
12
|
declare function useGroupContext(): Ref<GroupContextProps | null, GroupContextProps | null> | undefined;
|
|
13
13
|
declare function useGroupContextProvider(value: Ref<GroupContextProps | null>): void;
|
|
14
|
-
declare const GroupContextProvider:
|
|
14
|
+
declare const GroupContextProvider: vue16.DefineSetupFnComponent<{
|
|
15
15
|
value: GroupContextProps;
|
|
16
16
|
}, {}, {}, {
|
|
17
17
|
value: GroupContextProps;
|
|
18
|
-
} & {},
|
|
18
|
+
} & {}, vue16.PublicProps>;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { GroupContextProps, GroupContextProvider, useGroupContext, useGroupContextProvider };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FullToken, GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
|
|
2
2
|
import "../../theme/internal.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue1087 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/float-button/style/index.d.ts
|
|
6
6
|
/** Component only token. Which will handle additional calculation of alias token */
|
|
@@ -32,6 +32,6 @@ type FloatButtonToken = FullToken<'FloatButton'> & {
|
|
|
32
32
|
floatButtonInsetInlineEnd: number;
|
|
33
33
|
};
|
|
34
34
|
declare const prepareComponentToken: GetDefaultToken<'FloatButton'>;
|
|
35
|
-
declare const _default: (prefixCls:
|
|
35
|
+
declare const _default: (prefixCls: vue1087.Ref<string>, rootCls?: vue1087.Ref<string | undefined>) => readonly [vue1087.Ref<string, string>, vue1087.ComputedRef<string | undefined>];
|
|
36
36
|
//#endregion
|
|
37
37
|
export { ComponentToken, FloatButtonToken, _default as default, prepareComponentToken };
|
package/dist/form/ErrorList.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VueNode as VueNode$1 } from "../_util/type.js";
|
|
2
2
|
import { ValidateStatus } from "./FormItem/index.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue74 from "vue";
|
|
4
4
|
import { CSSProperties } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/form/ErrorList.d.ts
|
|
@@ -15,6 +15,6 @@ interface ErrorListProps {
|
|
|
15
15
|
helpItemClassName?: string;
|
|
16
16
|
helpItemStyle?: CSSProperties;
|
|
17
17
|
}
|
|
18
|
-
declare const ErrorList:
|
|
18
|
+
declare const ErrorList: vue74.DefineSetupFnComponent<ErrorListProps, {}, {}, ErrorListProps & {}, vue74.PublicProps>;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { ErrorListProps, ErrorList as default };
|
package/dist/form/ErrorList.js
CHANGED
|
@@ -33,8 +33,9 @@ const ErrorList = /* @__PURE__ */ defineComponent((props, { attrs }) => {
|
|
|
33
33
|
const help = getSlotPropsFnRun({}, props, "help");
|
|
34
34
|
const debounceErrors = errors || EMPTY_LIST;
|
|
35
35
|
const debouncedWarnings = warnings || EMPTY_LIST;
|
|
36
|
+
const hasHelp = isNonNullable_default(help) && help !== false;
|
|
36
37
|
const fullKeyListFn = () => {
|
|
37
|
-
if (
|
|
38
|
+
if (hasHelp) return [toErrorEntity(help, "help", helpStatus)];
|
|
38
39
|
return [...debounceErrors.map((error, index) => toErrorEntity(error, "error", "error", index)), ...debouncedWarnings.map((warning, index) => toErrorEntity(warning, "warning", "warning", index))];
|
|
39
40
|
};
|
|
40
41
|
const fullKeyList = fullKeyListFn();
|
package/dist/form/Form.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ import { FormTooltipProps } from "./FormItemLabel.js";
|
|
|
8
8
|
import { FieldData, InternalNamePath, NamePath, Rule, ValidateErrorEntity, ValidateMessages, ValidateOptions } from "./types.js";
|
|
9
9
|
import { FeedbackIcons } from "./FormItem/index.js";
|
|
10
10
|
import { ComponentBaseProps, Variant } from "../config-provider/context.js";
|
|
11
|
-
import * as
|
|
11
|
+
import * as vue63 from "vue";
|
|
12
12
|
import { CSSProperties, HTMLAttributes, SlotsType } from "vue";
|
|
13
13
|
|
|
14
14
|
//#region src/form/Form.d.ts
|
|
@@ -111,6 +111,6 @@ interface FormInstance {
|
|
|
111
111
|
focusField: (fieldName: NamePath) => void;
|
|
112
112
|
getFieldInstance: (name: NamePath) => any;
|
|
113
113
|
}
|
|
114
|
-
declare const InternalForm:
|
|
114
|
+
declare const InternalForm: vue63.DefineSetupFnComponent<FormProps, FormEmits, SlotsType<FormSlots>, FormProps, vue63.PublicProps>;
|
|
115
115
|
//#endregion
|
|
116
116
|
export { FormClassNamesType, FormEmits, FormEmitsProps, FormInstance, FormItemLayout, FormLayout, FormProps, FormSemanticClassNames, FormSemanticName, FormSemanticStyles, FormSlots, FormStylesType, RequiredMark, type ScrollFocusOptions, InternalForm as default };
|
|
@@ -5,7 +5,7 @@ import { FormItemInputProps } from "../FormItemInput.js";
|
|
|
5
5
|
import { BaseFormItemProps, FeedbackIcons, FormItemProps, ValidateStatus } from "./index.js";
|
|
6
6
|
import { ComponentBaseProps } from "../../config-provider/context.js";
|
|
7
7
|
import { ReportMetaChange } from "../context.js";
|
|
8
|
-
import * as
|
|
8
|
+
import * as vue1073 from "vue";
|
|
9
9
|
|
|
10
10
|
//#region src/form/FormItem/ItemHolder.d.ts
|
|
11
11
|
type ItemHolderProps = FormItemProps & {
|
|
@@ -16,7 +16,7 @@ type ItemHolderProps = FormItemProps & {
|
|
|
16
16
|
isRequired?: boolean;
|
|
17
17
|
onSubItemMetaChange: ReportMetaChange;
|
|
18
18
|
};
|
|
19
|
-
declare const ItemHolder:
|
|
19
|
+
declare const ItemHolder: vue1073.DefineSetupFnComponent<ItemHolderProps, {}, {}, BaseFormItemProps & ComponentBaseProps & Omit<FormItemLabelProps, "requiredMark"> & FormItemInputProps & {
|
|
20
20
|
noStyle?: boolean;
|
|
21
21
|
id?: string;
|
|
22
22
|
hasFeedback?: boolean | {
|
|
@@ -34,6 +34,6 @@ declare const ItemHolder: vue863.DefineSetupFnComponent<ItemHolderProps, {}, {},
|
|
|
34
34
|
fieldId?: string;
|
|
35
35
|
isRequired?: boolean;
|
|
36
36
|
onSubItemMetaChange: ReportMetaChange;
|
|
37
|
-
} & {},
|
|
37
|
+
} & {}, vue1073.PublicProps>;
|
|
38
38
|
//#endregion
|
|
39
39
|
export { ItemHolderProps, ItemHolder as default };
|
|
@@ -17,7 +17,7 @@ const ItemHolder = /* @__PURE__ */ defineComponent((props, { attrs, slots }) =>
|
|
|
17
17
|
const layout = computed(() => props?.layout ?? formContext.value?.layout);
|
|
18
18
|
const vertical = computed(() => layout.value === "vertical");
|
|
19
19
|
const itemRef = shallowRef();
|
|
20
|
-
const hasHelp = computed(() => isNonNullable_default(props.help));
|
|
20
|
+
const hasHelp = computed(() => isNonNullable_default(props.help) && props.help !== false);
|
|
21
21
|
const hasError = computed(() => !!(hasHelp.value || props?.errors?.length || props?.warnings?.length));
|
|
22
22
|
const isOnScreen = computed(() => !!itemRef.value && isVisible(itemRef.value));
|
|
23
23
|
const marginBottom = shallowRef();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Meta, NamePath } from "../types.js";
|
|
2
2
|
import { FeedbackIcons, ValidateStatus } from "./index.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue739 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/form/FormItem/StatusProvider.d.ts
|
|
6
6
|
interface StatusProviderProps {
|
|
@@ -15,6 +15,6 @@ interface StatusProviderProps {
|
|
|
15
15
|
noStyle?: boolean;
|
|
16
16
|
name?: NamePath;
|
|
17
17
|
}
|
|
18
|
-
declare const StatusProvider:
|
|
18
|
+
declare const StatusProvider: vue739.DefineSetupFnComponent<StatusProviderProps, {}, {}, StatusProviderProps & {}, vue739.PublicProps>;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { StatusProviderProps, StatusProvider as default };
|
|
@@ -3,7 +3,7 @@ import { NamePath, Rule, TriggerType } from "../types.js";
|
|
|
3
3
|
import { FormItemLayout } from "../Form.js";
|
|
4
4
|
import { FormItemInputProps } from "../FormItemInput.js";
|
|
5
5
|
import { ComponentBaseProps } from "../../config-provider/context.js";
|
|
6
|
-
import * as
|
|
6
|
+
import * as vue960 from "vue";
|
|
7
7
|
import { SlotsType } from "vue";
|
|
8
8
|
|
|
9
9
|
//#region src/form/FormItem/index.d.ts
|
|
@@ -44,6 +44,6 @@ interface FormItemSlots {
|
|
|
44
44
|
help?: () => any;
|
|
45
45
|
}
|
|
46
46
|
interface InternalFormItemProps extends FormItemProps, FormItemEmitsProps {}
|
|
47
|
-
declare const InternalFormItem:
|
|
47
|
+
declare const InternalFormItem: vue960.DefineSetupFnComponent<InternalFormItemProps, FormItemEmits, SlotsType<FormItemSlots>, InternalFormItemProps, vue960.PublicProps>;
|
|
48
48
|
//#endregion
|
|
49
49
|
export { BaseFormItemProps, FeedbackIcons, FormItemEmits, FormItemEmitsProps, FormItemProps, FormItemSlots, ValidateStatus, InternalFormItem as default };
|
|
@@ -2,7 +2,7 @@ import { VueNode as VueNode$1 } from "../_util/type.js";
|
|
|
2
2
|
import { ColProps } from "../grid/col.js";
|
|
3
3
|
import "../grid/index.js";
|
|
4
4
|
import { ValidateStatus } from "./FormItem/index.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as vue65 from "vue";
|
|
6
6
|
|
|
7
7
|
//#region src/form/FormItemInput.d.ts
|
|
8
8
|
interface FormItemInputMiscProps {
|
|
@@ -21,6 +21,6 @@ interface FormItemInputProps {
|
|
|
21
21
|
fieldId?: string;
|
|
22
22
|
label?: VueNode$1;
|
|
23
23
|
}
|
|
24
|
-
declare const FormItemInput:
|
|
24
|
+
declare const FormItemInput: vue65.DefineSetupFnComponent<FormItemInputProps & FormItemInputMiscProps, {}, {}, FormItemInputProps & FormItemInputMiscProps & {}, vue65.PublicProps>;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { FormItemInputProps, FormItemInput as default };
|
|
@@ -4,7 +4,7 @@ import "../grid/index.js";
|
|
|
4
4
|
import { TooltipProps } from "../tooltip/index.js";
|
|
5
5
|
import { FormLabelAlign } from "./interface.js";
|
|
6
6
|
import { RequiredMark } from "./Form.js";
|
|
7
|
-
import * as
|
|
7
|
+
import * as vue76 from "vue";
|
|
8
8
|
|
|
9
9
|
//#region src/form/FormItemLabel.d.ts
|
|
10
10
|
type FormTooltipProps = TooltipProps & {
|
|
@@ -27,12 +27,12 @@ interface FormItemLabelProps {
|
|
|
27
27
|
tooltip?: FormItemTooltipType;
|
|
28
28
|
vertical?: boolean;
|
|
29
29
|
}
|
|
30
|
-
declare const FormItemLabel:
|
|
30
|
+
declare const FormItemLabel: vue76.DefineSetupFnComponent<FormItemLabelProps & {
|
|
31
31
|
required?: boolean;
|
|
32
32
|
prefixCls: string;
|
|
33
33
|
}, {}, {}, FormItemLabelProps & {
|
|
34
34
|
required?: boolean;
|
|
35
35
|
prefixCls: string;
|
|
36
|
-
} & {},
|
|
36
|
+
} & {}, vue76.PublicProps>;
|
|
37
37
|
//#endregion
|
|
38
38
|
export { ColPropsWithClass, FormItemLabelProps, FormItemTooltipType, FormTooltipProps, FormItemLabel as default };
|