@vunk/plus 1.13.1 → 1.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ant/_util/BaseInput.d.ts +56 -0
- package/ant/_util/BaseInputInner.d.ts +65 -0
- package/ant/_util/BaseMixin.d.ts +7 -0
- package/ant/_util/EventInterface.d.ts +18 -0
- package/ant/_util/KeyCode.d.ts +436 -0
- package/ant/_util/Portal.d.ts +14 -0
- package/ant/_util/PortalWrapper.d.ts +41 -0
- package/ant/_util/canUseDom.d.ts +2 -0
- package/ant/_util/classNames.d.ts +2 -0
- package/ant/_util/collapseMotion.d.ts +3 -0
- package/ant/_util/colors.d.ts +13 -0
- package/ant/_util/copy-to-clipboard/index.d.ts +8 -0
- package/ant/_util/copy-to-clipboard/toggle-selection.d.ts +2 -0
- package/ant/_util/createContext.d.ts +5 -0
- package/ant/_util/createRef.d.ts +10 -0
- package/ant/_util/cssinjs/Cache.d.ts +11 -0
- package/ant/_util/cssinjs/Keyframes.d.ts +9 -0
- package/ant/_util/cssinjs/StyleContext.d.ts +508 -0
- package/ant/_util/cssinjs/hooks/useCacheToken.d.ts +40 -0
- package/ant/_util/cssinjs/hooks/useGlobalCache.d.ts +3 -0
- package/ant/_util/cssinjs/hooks/useHMR.d.ts +3 -0
- package/ant/_util/cssinjs/hooks/useStyleRegister/cacheMapUtil.d.ts +14 -0
- package/ant/_util/cssinjs/hooks/useStyleRegister/index.d.ts +68 -0
- package/ant/_util/cssinjs/index.d.ts +195 -0
- package/ant/_util/cssinjs/linters/contentQuotesLinter.d.ts +3 -0
- package/ant/_util/cssinjs/linters/hashedAnimationLinter.d.ts +3 -0
- package/ant/_util/cssinjs/linters/index.d.ts +6 -0
- package/ant/_util/cssinjs/linters/interface.d.ts +8 -0
- package/ant/_util/cssinjs/linters/legacyNotSelectorLinter.d.ts +3 -0
- package/ant/_util/cssinjs/linters/logicalPropertiesLinter.d.ts +3 -0
- package/ant/_util/cssinjs/linters/parentSelectorLinter.d.ts +3 -0
- package/ant/_util/cssinjs/linters/utils.d.ts +2 -0
- package/ant/_util/cssinjs/theme/Theme.d.ts +11 -0
- package/ant/_util/cssinjs/theme/ThemeCache.d.ts +20 -0
- package/ant/_util/cssinjs/theme/createTheme.d.ts +6 -0
- package/ant/_util/cssinjs/theme/index.d.ts +4 -0
- package/ant/_util/cssinjs/theme/interface.d.ts +2 -0
- package/ant/_util/cssinjs/transformers/interface.d.ts +4 -0
- package/ant/_util/cssinjs/transformers/legacyLogicalProperties.d.ts +12 -0
- package/ant/_util/cssinjs/transformers/px2rem.d.ts +20 -0
- package/ant/_util/cssinjs/util.d.ts +8 -0
- package/ant/_util/firstNotUndefined.d.ts +2 -0
- package/ant/_util/gapSize.d.ts +3 -0
- package/ant/_util/getScrollBarSize.d.ts +5 -0
- package/ant/_util/hooks/_vueuse/resolveUnref.d.ts +5 -0
- package/ant/_util/hooks/_vueuse/types.d.ts +114 -0
- package/ant/_util/hooks/_vueuse/unrefElement.d.ts +13 -0
- package/ant/_util/hooks/useBreakpoint.d.ts +4 -0
- package/ant/_util/hooks/useFlexGapSupport.d.ts +2 -0
- package/ant/_util/hooks/useMergedState.d.ts +7 -0
- package/ant/_util/hooks/useRefs.d.ts +7 -0
- package/ant/_util/hooks/useScrollLocker.d.ts +6 -0
- package/ant/_util/hooks/useState.d.ts +2 -0
- package/ant/_util/isValid.d.ts +2 -0
- package/ant/_util/omit.d.ts +2 -0
- package/ant/_util/pickAttrs.d.ts +11 -0
- package/ant/_util/placements.d.ts +65 -0
- package/ant/_util/props-util/index.d.ts +33 -0
- package/ant/_util/props-util/initDefaultProps.d.ts +6 -0
- package/ant/_util/raf.d.ts +5 -0
- package/ant/_util/responsiveObserve.d.ts +21 -0
- package/ant/_util/setStyle.d.ts +12 -0
- package/ant/_util/statusUtils.d.ts +6 -0
- package/ant/_util/styleChecker.d.ts +4 -0
- package/ant/_util/transButton.d.ts +34 -0
- package/ant/_util/transition.d.ts +18 -0
- package/ant/_util/type.d.ts +62 -0
- package/ant/_util/util.d.ts +18 -0
- package/ant/_util/vnode.d.ts +11 -0
- package/ant/_util/vue-types/index.d.ts +12 -0
- package/ant/_util/warning.d.ts +6 -0
- package/ant/_util/wave/WaveEffect.d.ts +6 -0
- package/ant/_util/wave/index.d.ts +13 -0
- package/ant/_util/wave/style.d.ts +6 -0
- package/ant/_util/wave/useWave.d.ts +4 -0
- package/ant/_util/wave/util.d.ts +3 -0
- package/ant/button/LoadingIcon.d.ts +12 -0
- package/ant/button/button-group.d.ts +33 -0
- package/ant/button/button.d.ts +112 -0
- package/ant/button/buttonTypes.d.ts +58 -0
- package/ant/button/index.d.ts +12 -0
- package/ant/button/style/group.d.ts +4 -0
- package/ant/button/style/index.d.ts +10 -0
- package/ant/calendar/style/index.d.ts +21 -0
- package/ant/config-provider/DisabledContext.d.ts +4 -0
- package/ant/config-provider/SizeContext.d.ts +4 -0
- package/ant/config-provider/context.d.ts +208 -0
- package/ant/config-provider/cssVariables.d.ts +3 -0
- package/ant/config-provider/hooks/useConfigInject.d.ts +37 -0
- package/ant/config-provider/hooks/useTheme.d.ts +3 -0
- package/ant/config-provider/index.d.ts +290 -0
- package/ant/config-provider/renderEmpty.d.ts +8 -0
- package/ant/config-provider/style/index.d.ts +3 -0
- package/ant/date-picker/style/index.d.ts +35 -0
- package/ant/empty/empty.d.ts +2 -0
- package/ant/empty/index.d.ts +86 -0
- package/ant/empty/simple.d.ts +2 -0
- package/ant/empty/style/index.d.ts +5 -0
- package/ant/flex/index.d.ts +142 -0
- package/ant/flex/interface.d.ts +36 -0
- package/ant/flex/style/index.d.ts +29 -0
- package/ant/flex/utils.d.ts +6 -0
- package/ant/form/ErrorList.d.ts +21 -0
- package/ant/form/Form.d.ts +772 -0
- package/ant/form/FormItem.d.ts +191 -0
- package/ant/form/FormItemContext.d.ts +32 -0
- package/ant/form/FormItemInput.d.ts +44 -0
- package/ant/form/FormItemLabel.d.ts +19 -0
- package/ant/form/context.d.ts +35 -0
- package/ant/form/index.d.ts +16 -0
- package/ant/form/interface.d.ts +171 -0
- package/ant/form/style/explain.d.ts +4 -0
- package/ant/form/style/index.d.ts +7 -0
- package/ant/form/useForm.d.ts +45 -0
- package/ant/form/utils/asyncUtil.d.ts +2 -0
- package/ant/form/utils/messages.d.ts +47 -0
- package/ant/form/utils/typeUtil.d.ts +1 -0
- package/ant/form/utils/useDebounce.d.ts +2 -0
- package/ant/form/utils/validateUtil.d.ts +6 -0
- package/ant/form/utils/valueUtil.d.ts +15 -0
- package/ant/grid/Col.d.ts +116 -0
- package/ant/grid/Row.d.ts +77 -0
- package/ant/grid/context.d.ts +11 -0
- package/ant/grid/index.d.ts +10 -0
- package/ant/grid/style/index.d.ts +2 -0
- package/ant/image/PreviewGroup.d.ts +37 -0
- package/ant/image/index.d.ts +71 -0
- package/ant/image/style/index.d.ts +21 -0
- package/ant/index.cjs +203 -0
- package/ant/index.d.ts +27 -0
- package/ant/index.mjs +20993 -0
- package/ant/input/ClearableLabeledInput.d.ts +151 -0
- package/ant/input/Group.d.ts +24 -0
- package/ant/input/Input.d.ts +191 -0
- package/ant/input/Password.d.ts +217 -0
- package/ant/input/ResizableTextArea.d.ts +215 -0
- package/ant/input/Search.d.ts +195 -0
- package/ant/input/TextArea.d.ts +217 -0
- package/ant/input/calculateNodeHeight.d.ts +9 -0
- package/ant/input/index.d.ts +15 -0
- package/ant/input/inputProps.d.ts +207 -0
- package/ant/input/style/index.d.ts +30 -0
- package/ant/input/util.d.ts +2 -0
- package/ant/locale/LocaleReceiver.d.ts +35 -0
- package/ant/locale/en_US.d.ts +3 -0
- package/ant/locale/index.d.ts +91 -0
- package/ant/locale-provider/LocaleReceiver.d.ts +3 -0
- package/ant/locale-provider/index.d.ts +3 -0
- package/ant/modal/locale.d.ts +7 -0
- package/ant/modal/style/index.d.ts +32 -0
- package/ant/progress/Circle.d.ts +168 -0
- package/ant/progress/Line.d.ts +205 -0
- package/ant/progress/Steps.d.ts +168 -0
- package/ant/progress/index.d.ts +204 -0
- package/ant/progress/progress.d.ts +117 -0
- package/ant/progress/props.d.ts +79 -0
- package/ant/progress/style/index.d.ts +4 -0
- package/ant/progress/utils.d.ts +13 -0
- package/ant/space/Compact.d.ts +119 -0
- package/ant/space/style/compact.d.ts +8 -0
- package/ant/space/style/index.d.ts +5 -0
- package/ant/style/compact-item-vertical.d.ts +4 -0
- package/ant/style/compact-item.d.ts +18 -0
- package/ant/style/index.d.ts +13 -0
- package/ant/style/motion/collapse.d.ts +4 -0
- package/ant/style/motion/fade.d.ts +7 -0
- package/ant/style/motion/index.d.ts +6 -0
- package/ant/style/motion/motion.d.ts +2 -0
- package/ant/style/motion/move.d.ts +15 -0
- package/ant/style/motion/slide.d.ts +15 -0
- package/ant/style/motion/zoom.d.ts +19 -0
- package/ant/style/operationUnit.d.ts +3 -0
- package/ant/style/placementArrow.d.ts +19 -0
- package/ant/style/presetColor.d.ts +16 -0
- package/ant/style/roundedArrow.d.ts +2 -0
- package/ant/theme/index.d.ts +23 -0
- package/ant/theme/interface/alias.d.ts +115 -0
- package/ant/theme/interface/components.d.ts +32 -0
- package/ant/theme/interface/index.d.ts +13 -0
- package/ant/theme/interface/maps/colors.d.ts +350 -0
- package/ant/theme/interface/maps/font.d.ts +44 -0
- package/ant/theme/interface/maps/index.d.ts +17 -0
- package/ant/theme/interface/maps/size.d.ts +63 -0
- package/ant/theme/interface/maps/style.d.ts +37 -0
- package/ant/theme/interface/presetColors.d.ts +8 -0
- package/ant/theme/interface/seeds.d.ts +163 -0
- package/ant/theme/internal.d.ts +49 -0
- package/ant/theme/themes/ColorMap.d.ts +15 -0
- package/ant/theme/themes/compact/genCompactSizeMapToken.d.ts +2 -0
- package/ant/theme/themes/compact/index.d.ts +4 -0
- package/ant/theme/themes/dark/colorAlgorithm.d.ts +2 -0
- package/ant/theme/themes/dark/colors.d.ts +3 -0
- package/ant/theme/themes/dark/index.d.ts +4 -0
- package/ant/theme/themes/default/colorAlgorithm.d.ts +2 -0
- package/ant/theme/themes/default/colors.d.ts +3 -0
- package/ant/theme/themes/default/index.d.ts +2 -0
- package/ant/theme/themes/seed.d.ts +4 -0
- package/ant/theme/themes/shared/genColorMapToken.d.ts +8 -0
- package/ant/theme/themes/shared/genCommonMapToken.d.ts +2 -0
- package/ant/theme/themes/shared/genControlHeight.d.ts +3 -0
- package/ant/theme/themes/shared/genFontMapToken.d.ts +3 -0
- package/ant/theme/themes/shared/genFontSizes.d.ts +4 -0
- package/ant/theme/themes/shared/genRadius.d.ts +3 -0
- package/ant/theme/themes/shared/genSizeMapToken.d.ts +2 -0
- package/ant/theme/util/alias.d.ts +12 -0
- package/ant/theme/util/genComponentStyleHook.d.ts +26 -0
- package/ant/theme/util/getAlphaColor.d.ts +2 -0
- package/ant/theme/util/statistic.d.ts +18 -0
- package/ant/tooltip/Tooltip.d.ts +228 -0
- package/ant/tooltip/abstractTooltipProps.d.ts +73 -0
- package/ant/tooltip/index.d.ts +245 -0
- package/ant/tooltip/style/index.d.ts +8 -0
- package/ant/tooltip/util.d.ts +6 -0
- package/ant/typography/Base.d.ts +200 -0
- package/ant/typography/Editable.d.ts +49 -0
- package/ant/typography/Link.d.ts +51 -0
- package/ant/typography/Paragraph.d.ts +51 -0
- package/ant/typography/Text.d.ts +51 -0
- package/ant/typography/Title.d.ts +48 -0
- package/ant/typography/Typography.d.ts +24 -0
- package/ant/typography/index.d.ts +17 -0
- package/ant/typography/style/index.d.ts +9 -0
- package/ant/typography/style/mixins.d.ts +9 -0
- package/ant/typography/util.d.ts +11 -0
- package/ant/upload/Dragger.d.ts +393 -0
- package/ant/upload/Upload.d.ts +396 -0
- package/ant/upload/UploadList/ListItem.d.ts +339 -0
- package/ant/upload/UploadList/index.d.ts +232 -0
- package/ant/upload/index.d.ts +1460 -0
- package/ant/upload/interface.d.ts +355 -0
- package/ant/upload/style/dragger.d.ts +4 -0
- package/ant/upload/style/index.d.ts +10 -0
- package/ant/upload/style/list.d.ts +4 -0
- package/ant/upload/style/motion.d.ts +4 -0
- package/ant/upload/style/picture.d.ts +5 -0
- package/ant/upload/style/rtl.d.ts +4 -0
- package/ant/upload/utils.d.ts +8 -0
- package/ant/vc-align/Align.d.ts +45 -0
- package/ant/vc-align/hooks/useBuffer.d.ts +3 -0
- package/ant/vc-align/interface.d.ts +56 -0
- package/ant/vc-align/util.d.ts +4 -0
- package/ant/vc-dialog/Content.d.ts +181 -0
- package/ant/vc-dialog/Dialog.d.ts +169 -0
- package/ant/vc-dialog/DialogWrap.d.ts +165 -0
- package/ant/vc-dialog/IDialogPropTypes.d.ts +79 -0
- package/ant/vc-dialog/Mask.d.ts +14 -0
- package/ant/vc-dialog/index.d.ts +4 -0
- package/ant/vc-dialog/util.d.ts +6 -0
- package/ant/vc-image/index.d.ts +3 -0
- package/ant/vc-image/src/Image.d.ts +114 -0
- package/ant/vc-image/src/Preview.d.ts +292 -0
- package/ant/vc-image/src/PreviewGroup.d.ts +79 -0
- package/ant/vc-image/src/getFixScaleEleTransPosition.d.ts +16 -0
- package/ant/vc-image/src/hooks/useFrameSetState.d.ts +3 -0
- package/ant/vc-input/BaseInput.d.ts +97 -0
- package/ant/vc-input/Input.d.ts +192 -0
- package/ant/vc-input/inputProps.d.ts +169 -0
- package/ant/vc-input/utils/commonUtils.d.ts +8 -0
- package/ant/vc-progress/index.d.ts +5 -0
- package/ant/vc-progress/src/Circle.d.ts +41 -0
- package/ant/vc-progress/src/Line.d.ts +40 -0
- package/ant/vc-progress/src/common.d.ts +5 -0
- package/ant/vc-progress/src/index.d.ts +86 -0
- package/ant/vc-progress/src/types.d.ts +25 -0
- package/ant/vc-resize-observer/index.d.ts +25 -0
- package/ant/vc-tooltip/index.d.ts +2 -0
- package/ant/vc-tooltip/src/Content.d.ts +17 -0
- package/ant/vc-tooltip/src/Tooltip.d.ts +141 -0
- package/ant/vc-tooltip/src/placements.d.ts +111 -0
- package/ant/vc-trigger/Popup/Mask.d.ts +14 -0
- package/ant/vc-trigger/Popup/MobilePopupInner.d.ts +103 -0
- package/ant/vc-trigger/Popup/PopupInner.d.ts +98 -0
- package/ant/vc-trigger/Popup/index.d.ts +104 -0
- package/ant/vc-trigger/Popup/interface.d.ts +151 -0
- package/ant/vc-trigger/Popup/useStretchStyle.d.ts +4 -0
- package/ant/vc-trigger/Popup/useVisibleStatus.d.ts +15 -0
- package/ant/vc-trigger/Trigger.d.ts +282 -0
- package/ant/vc-trigger/context.d.ts +11 -0
- package/ant/vc-trigger/index.d.ts +6 -0
- package/ant/vc-trigger/interface.d.ts +175 -0
- package/ant/vc-trigger/utils/alignUtil.d.ts +3 -0
- package/ant/vc-trigger/utils/motionUtil.d.ts +12 -0
- package/ant/vc-upload/AjaxUploader.d.ts +108 -0
- package/ant/vc-upload/Upload.d.ts +108 -0
- package/ant/vc-upload/attr-accept.d.ts +3 -0
- package/ant/vc-upload/index.d.ts +4 -0
- package/ant/vc-upload/interface.d.ts +79 -0
- package/ant/vc-upload/request.d.ts +4 -0
- package/ant/vc-upload/traverseFileTree.d.ts +14 -0
- package/ant/vc-upload/uid.d.ts +1 -0
- package/ant/vc-util/Dom/contains.d.ts +1 -0
- package/ant/vc-util/Dom/css.d.ts +22 -0
- package/ant/vc-util/Dom/dynamicCSS.d.ts +20 -0
- package/ant/vc-util/Dom/isVisible.d.ts +2 -0
- package/ant/vc-util/Dom/scrollLocker.d.ts +12 -0
- package/ant/vc-util/devWarning.d.ts +4 -0
- package/ant/vc-util/get.d.ts +1 -0
- package/ant/vc-util/set.d.ts +1 -0
- package/ant/vc-util/warning.d.ts +7 -0
- package/ant/version/index.d.ts +2 -0
- package/antx/_util/__tests__/warning.test.d.ts +1 -0
- package/antx/_util/cssinjs/Cache.d.ts +11 -0
- package/antx/_util/cssinjs/Keyframes.d.ts +9 -0
- package/antx/_util/cssinjs/StyleContext.d.ts +508 -0
- package/antx/_util/cssinjs/hooks/useCSSVarRegister.d.ts +20 -0
- package/antx/_util/cssinjs/hooks/useCacheToken.d.ts +40 -0
- package/antx/_util/cssinjs/hooks/useGlobalCache.d.ts +6 -0
- package/antx/_util/cssinjs/hooks/useHMR.d.ts +3 -0
- package/antx/_util/cssinjs/hooks/useStyleRegister/cacheMapUtil.d.ts +14 -0
- package/antx/_util/cssinjs/hooks/useStyleRegister/index.d.ts +69 -0
- package/antx/_util/cssinjs/index.d.ts +197 -0
- package/antx/_util/cssinjs/linters/contentQuotesLinter.d.ts +3 -0
- package/antx/_util/cssinjs/linters/hashedAnimationLinter.d.ts +3 -0
- package/antx/_util/cssinjs/linters/index.d.ts +6 -0
- package/antx/_util/cssinjs/linters/interface.d.ts +8 -0
- package/antx/_util/cssinjs/linters/legacyNotSelectorLinter.d.ts +3 -0
- package/antx/_util/cssinjs/linters/logicalPropertiesLinter.d.ts +3 -0
- package/antx/_util/cssinjs/linters/parentSelectorLinter.d.ts +3 -0
- package/antx/_util/cssinjs/linters/utils.d.ts +2 -0
- package/antx/_util/cssinjs/theme/Theme.d.ts +11 -0
- package/antx/_util/cssinjs/theme/ThemeCache.d.ts +20 -0
- package/antx/_util/cssinjs/theme/createTheme.d.ts +6 -0
- package/antx/_util/cssinjs/theme/index.d.ts +4 -0
- package/antx/_util/cssinjs/theme/interface.d.ts +2 -0
- package/antx/_util/cssinjs/transformers/interface.d.ts +4 -0
- package/antx/_util/cssinjs/transformers/legacyLogicalProperties.d.ts +12 -0
- package/antx/_util/cssinjs/transformers/px2rem.d.ts +20 -0
- package/antx/_util/cssinjs/util.d.ts +28 -0
- package/antx/_util/cssinjs-utils/_util/hooks/useUniqueMemo.d.ts +5 -0
- package/antx/_util/cssinjs-utils/hooks/useCSP.d.ts +8 -0
- package/antx/_util/cssinjs-utils/hooks/usePrefix.d.ts +11 -0
- package/antx/_util/cssinjs-utils/hooks/useToken.d.ts +21 -0
- package/antx/_util/cssinjs-utils/index.d.ts +6 -0
- package/antx/_util/cssinjs-utils/interface/components.d.ts +10 -0
- package/antx/_util/cssinjs-utils/interface/index.d.ts +3 -0
- package/antx/_util/cssinjs-utils/util/calc/CSSCalculator.d.ts +15 -0
- package/antx/_util/cssinjs-utils/util/calc/NumCalculator.d.ts +11 -0
- package/antx/_util/cssinjs-utils/util/calc/calculator.d.ts +30 -0
- package/antx/_util/cssinjs-utils/util/calc/index.d.ts +5 -0
- package/antx/_util/cssinjs-utils/util/genStyleUtils.d.ts +116 -0
- package/antx/_util/cssinjs-utils/util/getCompVarPrefix.d.ts +2 -0
- package/antx/_util/cssinjs-utils/util/getComponentToken.d.ts +9 -0
- package/antx/_util/cssinjs-utils/util/getDefaultComponentToken.d.ts +5 -0
- package/antx/_util/cssinjs-utils/util/maxmin.d.ts +8 -0
- package/antx/_util/cssinjs-utils/util/statistic.d.ts +20 -0
- package/antx/_util/getScrollBarSize.d.ts +5 -0
- package/antx/_util/getValue.d.ts +2 -0
- package/antx/_util/hooks/use-event-callback.d.ts +1 -0
- package/antx/_util/hooks/use-state.d.ts +2 -0
- package/antx/_util/hooks/use-x-component-config.d.ts +4 -0
- package/antx/_util/hooks/useMergedState.d.ts +7 -0
- package/antx/_util/motion.d.ts +3 -0
- package/antx/_util/pick-attrs.d.ts +11 -0
- package/antx/_util/setStyle.d.ts +12 -0
- package/antx/_util/transition.d.ts +29 -0
- package/antx/_util/type.d.ts +62 -0
- package/antx/_util/warning.d.ts +47 -0
- package/antx/attachments/Attachments.vue.d.ts +16 -0
- package/antx/attachments/DropArea.vue.d.ts +4 -0
- package/antx/attachments/FileList/AudioIcon.vue.d.ts +3 -0
- package/antx/attachments/FileList/FileList.vue.d.ts +4 -0
- package/antx/attachments/FileList/FileListCard.vue.d.ts +6 -0
- package/antx/attachments/FileList/Progress.vue.d.ts +103 -0
- package/antx/attachments/FileList/VideoIcon.vue.d.ts +3 -0
- package/antx/attachments/FileList/index.d.ts +3 -0
- package/antx/attachments/PlaceholderUploader.vue.d.ts +6 -0
- package/antx/attachments/SilentUploader.vue.d.ts +6 -0
- package/antx/attachments/constants.d.ts +9 -0
- package/antx/attachments/context.d.ts +21 -0
- package/antx/attachments/index.d.ts +26 -0
- package/antx/attachments/interface.d.ts +130 -0
- package/antx/attachments/style/fileCard.d.ts +4 -0
- package/antx/attachments/style/index.d.ts +9 -0
- package/antx/attachments/util.d.ts +3 -0
- package/antx/components.d.ts +4 -0
- package/antx/hooks.d.ts +8 -0
- package/antx/index.cjs +78 -0
- package/antx/index.d.ts +10 -0
- package/antx/index.mjs +6015 -0
- package/antx/sender/Sender.vue.d.ts +48 -0
- package/antx/sender/SenderHeader.vue.d.ts +13 -0
- package/antx/sender/StopLoading.vue.d.ts +6 -0
- package/antx/sender/components/ActionButton/context.d.ts +21 -0
- package/antx/sender/components/ActionButton/index.vue.d.ts +13 -0
- package/antx/sender/components/ClearButton.vue.d.ts +4 -0
- package/antx/sender/components/LoadingButton.vue.d.ts +4 -0
- package/antx/sender/components/SendButton.vue.d.ts +4 -0
- package/antx/sender/components/SpeechButton/RecordingIcon.vue.d.ts +4 -0
- package/antx/sender/components/SpeechButton/index.vue.d.ts +4 -0
- package/antx/sender/context.d.ts +21 -0
- package/antx/sender/index.d.ts +82 -0
- package/antx/sender/interface.d.ts +145 -0
- package/antx/sender/style/header.d.ts +4 -0
- package/antx/sender/style/index.d.ts +9 -0
- package/antx/sender/useSpeech.d.ts +16 -0
- package/antx/theme/components.d.ts +8 -0
- package/antx/theme/cssinjs-utils.d.ts +14 -0
- package/antx/theme/genStyleUtils.d.ts +27 -0
- package/antx/theme/index.d.ts +2 -0
- package/antx/theme/patch-antd.d.ts +28 -0
- package/antx/theme/useToken.d.ts +19 -0
- package/antx/transition-collapse/TransitionCollapse.vue.d.ts +17 -0
- package/antx/transition-collapse/index.d.ts +6 -0
- package/antx/transition-collapse/style/index.d.ts +6 -0
- package/antx/type-utility.d.ts +1 -0
- package/antx/use-x-agent/index.d.ts +4 -0
- package/antx/use-x-agent/use-x-agent.d.ts +34 -0
- package/antx/use-x-chat/index.d.ts +4 -0
- package/antx/use-x-chat/use-x-chat.d.ts +54 -0
- package/antx/use-x-chat/useSyncState.d.ts +4 -0
- package/antx/version/index.d.ts +2 -0
- package/antx/x-provider/context.d.ts +84 -0
- package/antx/x-provider/hooks/use-x-provider-context.d.ts +9 -0
- package/antx/x-provider/index.d.ts +5 -0
- package/antx/x-provider/index.vue.d.ts +13 -0
- package/antx/x-request/index.d.ts +6 -0
- package/antx/x-request/x-fetch.d.ts +18 -0
- package/antx/x-request/x-request.d.ts +89 -0
- package/antx/x-stream/index.d.ts +4 -0
- package/antx/x-stream/x-stream.d.ts +32 -0
- package/components/agent-chat-provider/index.cjs +1 -1
- package/components/agent-chat-provider/index.mjs +1 -3
- package/components/agent-chat-provider/src/index.vue.d.ts +3 -3
- package/components/agent-chat-provider/src/types.d.ts +1 -1
- package/components/agent-chat-provider/src/use.d.ts +2 -2
- package/components/avatar/index.mjs +2 -2
- package/components/avatar/src/index.vue.d.ts +2 -121
- package/components/broadcasting-markdown/index.cjs +3 -3
- package/components/broadcasting-markdown/index.mjs +2 -5
- package/components/broadcasting-markdown/src/ctx.d.ts +2 -2
- package/components/broadcasting-markdown/src/howler-speech.vue.d.ts +6 -6
- package/components/broadcasting-markdown/src/index.vue.d.ts +33 -33
- package/components/broadcasting-markdown/src/paragraph.vue.d.ts +1 -1
- package/components/broadcasting-markdown/src/use.d.ts +1 -1
- package/components/bubble-list/index.cjs +1 -1
- package/components/bubble-list/index.mjs +5 -5
- package/components/bubble-list/src/core/index.vue.d.ts +7 -7
- package/components/bubble-list/src/ctx.d.ts +2 -2
- package/components/bubble-list/src/index.vue.d.ts +5 -4
- package/components/bubble-templates/index.mjs +2 -2
- package/components/chat-independent/index.mjs +4 -4
- package/components/chat-independent/src/index.vue.d.ts +1 -1
- package/components/components.css +1 -1
- package/components/drawer/index.mjs +1 -1
- package/components/drawer/src/ctx.d.ts +37 -31
- package/components/drawer/src/index.vue.d.ts +87 -77
- package/components/file-viewer/index.cjs +1 -0
- package/components/file-viewer/index.d.ts +4 -0
- package/components/file-viewer/index.mjs +130 -0
- package/components/file-viewer/src/ctx.d.ts +69 -0
- package/components/file-viewer/src/index.vue.d.ts +108 -0
- package/components/file-viewer/src/types.d.ts +3 -0
- package/components/lottie-animation/index.mjs +2 -2
- package/components/lottie-animation/src/index.vue.d.ts +1 -1
- package/components/metahuman-broadcasting/index.mjs +2 -2
- package/components/metahuman-broadcasting/src/ctx.d.ts +2 -2
- package/components/metahuman-broadcasting/src/index.vue.d.ts +4 -4
- package/components/monaco-editor/index.cjs +1 -1
- package/components/monaco-editor/index.mjs +52 -48
- package/components/monaco-editor/src/ctx.d.ts +3 -3
- package/components/monaco-editor/src/index.vue.d.ts +5 -5
- package/components/pixi-frame/index.cjs +1 -1
- package/components/pixi-frame/index.mjs +25 -25
- package/components/pixi-frame/src/apng.vue.d.ts +10 -10
- package/components/pixi-frame/src/bitmap-generator.vue.d.ts +7 -7
- package/components/pixi-frame/src/bitmap.vue.d.ts +12 -12
- package/components/pixi-frame/src/buffer-image.vue.d.ts +13 -13
- package/components/pixi-frame/src/core.vue.d.ts +12 -12
- package/components/pixi-frame/src/ctx.d.ts +5 -5
- package/components/pixi-frame/src/index.vue.d.ts +81 -81
- package/components/pixi-frame/src/video.vue.d.ts +10 -10
- package/components/recorder-button/index.cjs +1 -1
- package/components/recorder-button/index.mjs +75 -75
- package/components/recorder-button/src/ctx.d.ts +3 -3
- package/components/recorder-button/src/index.vue.d.ts +114 -197
- package/components/routes-menu-content/index.cjs +1 -1
- package/components/routes-menu-content/index.mjs +12 -12
- package/components/routes-menu-content/src/ctx.d.ts +1 -1
- package/components/routes-menu-content/src/index.vue.d.ts +58 -99
- package/components/routes-menu-content/src/item/core/ctx.d.ts +1 -1
- package/components/routes-menu-content/src/item/core/index.vue.d.ts +40 -81
- package/components/routes-menu-content/src/item/index.vue.d.ts +56 -97
- package/components/scrollbar/index.mjs +4 -4
- package/components/scrollbar/src/index.vue.d.ts +35 -34
- package/components/scrollbar/src/util.d.ts +1 -1
- package/components/sender/index.cjs +1 -1
- package/components/sender/index.mjs +7 -7
- package/components/sender/src/SenderHeader.vue.d.ts +2 -2
- package/components/sender/src/ctx.d.ts +9 -9
- package/components/sender/src/index.vue.d.ts +28 -28
- package/components/speech-button/index.cjs +1 -1
- package/components/speech-button/index.mjs +1 -1
- package/components/speech-button/src/ctx.d.ts +1 -1
- package/components/speech-button/src/index.vue.d.ts +3 -3
- package/components/table-columns/src/ctx.d.ts +2 -2
- package/components/table-columns/src/el-ctx.d.ts +2 -2
- package/components/table-columns/src/index.vue.d.ts +6 -6
- package/components/table-columns/src/types.d.ts +3 -4
- package/components/tables-v1/index.cjs +1 -1
- package/components/tables-v1/index.mjs +3 -3
- package/components/tables-v1/src/ctx.d.ts +69 -74
- package/components/tables-v1/src/el-ctx.d.ts +24 -24
- package/components/tables-v1/src/index.vue.d.ts +54 -313
- package/components/tables-v1-checkbox/index.cjs +31 -35
- package/components/tables-v1-checkbox/index.mjs +1239 -1042
- package/components/tables-v1-checkbox/src/ctx.d.ts +68 -73
- package/components/tables-v1-checkbox/src/index.vue.d.ts +274 -542
- package/components/text/index.mjs +3 -3
- package/components/text/src/ctx.d.ts +39 -246
- package/components/text/src/index.vue.d.ts +98 -509
- package/components/thinking/index.mjs +5 -5
- package/components/thinking/src/ctx.d.ts +3 -3
- package/components/thinking/src/index.vue.d.ts +8 -8
- package/components/typing-markdown/index.mjs +2 -2
- package/components/typing-markdown/src/ctx.d.ts +3 -3
- package/components/typing-markdown/src/index.vue.d.ts +6 -6
- package/components/vditor/index.cjs +1 -1
- package/components/vditor/index.mjs +2 -2
- package/components/vditor/src/ctx.d.ts +2 -2
- package/components/vditor/src/handle-fullscreen.vue.d.ts +3 -3
- package/components/vditor/src/handle-value.vue.d.ts +3 -3
- package/components/vditor/src/index.vue.d.ts +10 -10
- package/components/xgplayer/index.mjs +5 -5
- package/composables/recorder/index.cjs +1 -1
- package/composables/recorder/index.mjs +3214 -3099
- package/element/bubble/index.cjs +2 -2
- package/element/bubble/index.mjs +57 -57
- package/element/index.css +1 -1
- package/element/thinking/index.cjs +1 -1
- package/element/thinking/index.mjs +63 -69
- package/icons/end/index.cjs +1 -1
- package/icons/end/index.mjs +3 -3
- package/icons/keyboard/index.cjs +1 -1
- package/icons/keyboard/index.mjs +3 -3
- package/icons/start/index.cjs +1 -1
- package/icons/start/index.mjs +3 -3
- package/icons/voice/index.cjs +1 -1
- package/icons/voice/index.mjs +3 -3
- package/index.css +2 -2
- package/package.json +16 -1
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
import type { VueTypeValidableDef, VueTypeDef } from 'vue-types';
|
|
3
|
+
declare const initDefaultProps: <T>(types: T, defaultProps: { [K in keyof T]?: T[K] extends VueTypeValidableDef<infer U> ? U : T[K] extends VueTypeDef<infer U> ? U : T[K] extends {
|
|
4
|
+
type: PropType<infer U>;
|
|
5
|
+
} ? U : any; }) => T;
|
|
6
|
+
export default initDefaultProps;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export type Breakpoint = 'xxxl' | 'xxl' | 'xl' | 'lg' | 'md' | 'sm' | 'xs';
|
|
2
|
+
export type BreakpointMap = Record<Breakpoint, string>;
|
|
3
|
+
export type ScreenMap = Partial<Record<Breakpoint, boolean>>;
|
|
4
|
+
export type ScreenSizeMap = Partial<Record<Breakpoint, number>>;
|
|
5
|
+
export declare const responsiveArray: Breakpoint[];
|
|
6
|
+
type SubscribeFunc = (screens: ScreenMap) => void;
|
|
7
|
+
export default function useResponsiveObserver(): import("vue").ComputedRef<{
|
|
8
|
+
matchHandlers: {
|
|
9
|
+
[prop: string]: {
|
|
10
|
+
mql: MediaQueryList;
|
|
11
|
+
listener: ((this: MediaQueryList, ev: MediaQueryListEvent) => any) | null;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
dispatch(pointMap: ScreenMap): boolean;
|
|
15
|
+
subscribe(func: SubscribeFunc): number;
|
|
16
|
+
unsubscribe(paramToken: number): void;
|
|
17
|
+
unregister(): void;
|
|
18
|
+
register(): void;
|
|
19
|
+
responsiveMap: BreakpointMap;
|
|
20
|
+
}>;
|
|
21
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { CSSProperties } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* Easy to set element style, return previous style
|
|
4
|
+
* IE browser compatible(IE browser doesn't merge overflow style, need to set it separately)
|
|
5
|
+
* https://github.com/ant-design/ant-design/issues/19393
|
|
6
|
+
*
|
|
7
|
+
*/
|
|
8
|
+
export interface SetStyleOptions {
|
|
9
|
+
element?: HTMLElement;
|
|
10
|
+
}
|
|
11
|
+
declare function setStyle(style: CSSProperties, options?: SetStyleOptions): CSSProperties;
|
|
12
|
+
export default setStyle;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { ValidateStatus } from '../form/FormItem';
|
|
2
|
+
declare const InputStatuses: readonly ["warning", "error", ""];
|
|
3
|
+
export type InputStatus = (typeof InputStatuses)[number];
|
|
4
|
+
export declare function getStatusClassNames(prefixCls: string, status?: ValidateStatus, hasFeedback?: boolean): string;
|
|
5
|
+
export declare const getMergedStatus: (contextStatus?: ValidateStatus, customStatus?: InputStatus) => "" | "validating" | "error" | "success" | "warning";
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
declare const TransButton: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
noStyle: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: any;
|
|
5
|
+
};
|
|
6
|
+
onClick: FunctionConstructor;
|
|
7
|
+
disabled: {
|
|
8
|
+
type: BooleanConstructor;
|
|
9
|
+
default: any;
|
|
10
|
+
};
|
|
11
|
+
autofocus: {
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
default: any;
|
|
14
|
+
};
|
|
15
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
16
|
+
noStyle: {
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
default: any;
|
|
19
|
+
};
|
|
20
|
+
onClick: FunctionConstructor;
|
|
21
|
+
disabled: {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
default: any;
|
|
24
|
+
};
|
|
25
|
+
autofocus: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
default: any;
|
|
28
|
+
};
|
|
29
|
+
}>> & Readonly<{}>, {
|
|
30
|
+
disabled: boolean;
|
|
31
|
+
autofocus: boolean;
|
|
32
|
+
noStyle: boolean;
|
|
33
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
34
|
+
export default TransButton;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { BaseTransitionProps, CSSProperties, Ref, TransitionGroupProps, TransitionProps } from 'vue';
|
|
2
|
+
declare const SelectPlacements: ["bottomLeft", "bottomRight", "topLeft", "topRight"];
|
|
3
|
+
export type SelectCommonPlacement = (typeof SelectPlacements)[number];
|
|
4
|
+
declare const getTransitionDirection: (placement: SelectCommonPlacement | undefined) => "slide-up" | "slide-down";
|
|
5
|
+
export declare const getTransitionProps: (transitionName: string, opt?: TransitionProps) => TransitionProps;
|
|
6
|
+
export declare const getTransitionGroupProps: (transitionName: string, opt?: TransitionProps) => TransitionGroupProps;
|
|
7
|
+
export declare type MotionEvent = (TransitionEvent | AnimationEvent) & {
|
|
8
|
+
deadline?: boolean;
|
|
9
|
+
};
|
|
10
|
+
export declare type MotionEventHandler = (element: Element, done?: () => void) => CSSProperties;
|
|
11
|
+
export declare type MotionEndEventHandler = (element: Element, done?: () => void) => boolean | void;
|
|
12
|
+
export interface CSSMotionProps extends Partial<BaseTransitionProps<Element>> {
|
|
13
|
+
name?: string;
|
|
14
|
+
css?: boolean;
|
|
15
|
+
}
|
|
16
|
+
declare const collapseMotion: (name: string, style: Ref<CSSProperties>, className: Ref<string>) => CSSMotionProps;
|
|
17
|
+
declare const getTransitionName: (rootPrefixCls: string, motion: string, transitionName?: string) => string;
|
|
18
|
+
export { collapseMotion, getTransitionName, getTransitionDirection };
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import type { PropType, Plugin, Ref, VNode, SlotsType } from 'vue';
|
|
2
|
+
export declare const tuple: <T extends string[]>(...args: T) => T;
|
|
3
|
+
export declare const tupleNum: <T extends number[]>(...args: T) => T;
|
|
4
|
+
/**
|
|
5
|
+
* https://stackoverflow.com/a/59187769
|
|
6
|
+
* Extract the type of an element of an array/tuple without performing indexing
|
|
7
|
+
*/
|
|
8
|
+
export type ElementOf<T> = T extends (infer E)[] ? E : T extends readonly (infer F)[] ? F : never;
|
|
9
|
+
/**
|
|
10
|
+
* https://github.com/Microsoft/TypeScript/issues/29729
|
|
11
|
+
*/
|
|
12
|
+
export type LiteralUnion<T extends string> = T | (string & {});
|
|
13
|
+
export type Data = Record<string, unknown>;
|
|
14
|
+
export type Key = string | number;
|
|
15
|
+
type DefaultFactory<T> = (props: Data) => T | null | undefined;
|
|
16
|
+
export interface PropOptions<T = any, D = T> {
|
|
17
|
+
type?: PropType<T> | true | null;
|
|
18
|
+
required?: boolean;
|
|
19
|
+
default?: D | DefaultFactory<D> | null | undefined | object;
|
|
20
|
+
validator?(value: unknown): boolean;
|
|
21
|
+
}
|
|
22
|
+
declare type VNodeChildAtom = VNode | string | number | boolean | null | undefined | void;
|
|
23
|
+
export type VueNode = VNodeChildAtom | VNodeChildAtom[] | VNode;
|
|
24
|
+
export declare const withInstall: <T>(comp: T) => T & Plugin;
|
|
25
|
+
export type MaybeRef<T> = T | Ref<T>;
|
|
26
|
+
export declare function eventType<T>(): {
|
|
27
|
+
type: PropType<T | T[]>;
|
|
28
|
+
};
|
|
29
|
+
export declare function objectType<T = {}>(defaultVal?: T): {
|
|
30
|
+
type: PropType<T>;
|
|
31
|
+
default: T;
|
|
32
|
+
};
|
|
33
|
+
export declare function booleanType(defaultVal?: boolean): {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
37
|
+
export declare function functionType<T = () => {}>(defaultVal?: T): {
|
|
38
|
+
type: PropType<T>;
|
|
39
|
+
default: T;
|
|
40
|
+
};
|
|
41
|
+
export declare function anyType<T = any>(defaultVal?: T, required?: boolean): {
|
|
42
|
+
default: T;
|
|
43
|
+
type: PropType<T>;
|
|
44
|
+
};
|
|
45
|
+
export declare function vNodeType<T = VueNode>(): {
|
|
46
|
+
type: PropType<T>;
|
|
47
|
+
};
|
|
48
|
+
export declare function arrayType<T extends any[]>(defaultVal?: T): {
|
|
49
|
+
type: PropType<T>;
|
|
50
|
+
default: T;
|
|
51
|
+
};
|
|
52
|
+
export declare function stringType<T extends string = string>(defaultVal?: T): {
|
|
53
|
+
type: PropType<T>;
|
|
54
|
+
default: T;
|
|
55
|
+
};
|
|
56
|
+
export declare function someType<T>(types?: any[], defaultVal?: T): {
|
|
57
|
+
type: PropType<T>;
|
|
58
|
+
default: T;
|
|
59
|
+
};
|
|
60
|
+
export type CustomSlotsType<T> = SlotsType<T>;
|
|
61
|
+
export type AnyObject = Record<PropertyKey, any>;
|
|
62
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { VueNode } from './type';
|
|
2
|
+
export declare const isFunction: (val: any) => boolean;
|
|
3
|
+
export declare const controlDefaultValue: any;
|
|
4
|
+
export declare const isArray: (arg: any) => arg is any[];
|
|
5
|
+
export declare const isString: (val: any) => val is string;
|
|
6
|
+
export declare const isSymbol: (val: any) => val is symbol;
|
|
7
|
+
export declare const isObject: (val: any) => boolean;
|
|
8
|
+
declare const isOn: (key: any) => boolean;
|
|
9
|
+
declare const cacheStringFunction: (fn: any) => (str: any) => any;
|
|
10
|
+
declare const camelize: (str: any) => any;
|
|
11
|
+
declare const hyphenate: (str: any) => any;
|
|
12
|
+
declare const capitalize: (str: any) => any;
|
|
13
|
+
declare function resolvePropValue(options: any, props: any, key: any, value: any): any;
|
|
14
|
+
export declare function getDataAndAriaProps(props: any): {};
|
|
15
|
+
export declare function toPx(val: any): any;
|
|
16
|
+
export declare function renderHelper<T = Record<string, any>>(v: VueNode | ((arg0: T) => VueNode), props?: T, defaultV?: any): any;
|
|
17
|
+
export declare function wrapPromiseFn(openFn: (resolve: VoidFunction) => VoidFunction): any;
|
|
18
|
+
export { isOn, cacheStringFunction, camelize, hyphenate, capitalize, resolvePropValue };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Slots, VNode, VNodeArrayChildren, VNodeProps } from 'vue';
|
|
2
|
+
import type { RefObject } from './createRef';
|
|
3
|
+
type NodeProps = Record<string, any> & Omit<VNodeProps, 'ref'> & {
|
|
4
|
+
ref?: VNodeProps['ref'] | RefObject;
|
|
5
|
+
};
|
|
6
|
+
export declare function cloneElement<T, U>(vnode: VNode<T, U> | VNode<T, U>[], nodeProps?: NodeProps, override?: boolean, mergeRef?: boolean): VNode<T, U>;
|
|
7
|
+
export declare function cloneVNodes(vnodes: any, nodeProps?: {}, override?: boolean): any;
|
|
8
|
+
export declare function deepCloneElement<T, U>(vnode: VNode<T, U> | VNode<T, U>[], nodeProps?: NodeProps, override?: boolean, mergeRef?: boolean): any;
|
|
9
|
+
export declare function triggerVNodeUpdate(vm: VNode, attrs: Record<string, any>, dom: any): void;
|
|
10
|
+
export declare function customRenderSlot(slots: Slots, name: string, props: Record<string, unknown>, fallback?: () => VNodeArrayChildren): VNodeArrayChildren;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { CSSProperties } from 'vue';
|
|
2
|
+
import type { VueTypeValidableDef, VueTypesInterface } from 'vue-types';
|
|
3
|
+
import type { VueNode } from '../type';
|
|
4
|
+
export declare function withUndefined<T extends {
|
|
5
|
+
default?: any;
|
|
6
|
+
}>(type: T): T;
|
|
7
|
+
declare const _default: VueTypesInterface & {
|
|
8
|
+
readonly looseBool: VueTypeValidableDef<boolean>;
|
|
9
|
+
readonly style: VueTypeValidableDef<CSSProperties>;
|
|
10
|
+
readonly VueNode: VueTypeValidableDef<VueNode>;
|
|
11
|
+
};
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface WaveProps {
|
|
2
|
+
disabled?: boolean;
|
|
3
|
+
}
|
|
4
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
|
+
disabled: BooleanConstructor;
|
|
6
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
|
+
disabled: BooleanConstructor;
|
|
10
|
+
}>> & Readonly<{}>, {
|
|
11
|
+
disabled: boolean;
|
|
12
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { FullToken } from '../../theme/internal';
|
|
2
|
+
export interface ComponentToken {
|
|
3
|
+
}
|
|
4
|
+
export type WaveToken = FullToken<'Wave'>;
|
|
5
|
+
declare const _default: (_prefixCls?: import("vue").Ref<string>) => import("../../theme/internal").UseComponentStyleResult;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
prefixCls: StringConstructor;
|
|
3
|
+
loading: (ObjectConstructor | BooleanConstructor)[];
|
|
4
|
+
existIcon: BooleanConstructor;
|
|
5
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
6
|
+
prefixCls: StringConstructor;
|
|
7
|
+
loading: (ObjectConstructor | BooleanConstructor)[];
|
|
8
|
+
existIcon: BooleanConstructor;
|
|
9
|
+
}>> & Readonly<{}>, {
|
|
10
|
+
existIcon: boolean;
|
|
11
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
import type { SizeType } from '../config-provider';
|
|
3
|
+
export declare const buttonGroupProps: () => {
|
|
4
|
+
prefixCls: StringConstructor;
|
|
5
|
+
size: {
|
|
6
|
+
type: PropType<SizeType>;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
export type ButtonGroupProps = Partial<ExtractPropTypes<ReturnType<typeof buttonGroupProps>>>;
|
|
10
|
+
export declare const GroupSizeContext: {
|
|
11
|
+
useProvide: (props: {
|
|
12
|
+
size: SizeType;
|
|
13
|
+
}, newProps?: {
|
|
14
|
+
size: SizeType;
|
|
15
|
+
}) => {
|
|
16
|
+
size: SizeType;
|
|
17
|
+
};
|
|
18
|
+
useInject: () => {
|
|
19
|
+
size: SizeType;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
23
|
+
prefixCls: StringConstructor;
|
|
24
|
+
size: {
|
|
25
|
+
type: PropType<SizeType>;
|
|
26
|
+
};
|
|
27
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
28
|
+
prefixCls: StringConstructor;
|
|
29
|
+
size: {
|
|
30
|
+
type: PropType<SizeType>;
|
|
31
|
+
};
|
|
32
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
33
|
+
export default _default;
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import buttonProps from './buttonTypes';
|
|
2
|
+
import type { ButtonType } from './buttonTypes';
|
|
3
|
+
import type { CustomSlotsType } from '../_util/type';
|
|
4
|
+
export { buttonProps };
|
|
5
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
6
|
+
prefixCls: StringConstructor;
|
|
7
|
+
type: import("vue").PropType<ButtonType>;
|
|
8
|
+
htmlType: {
|
|
9
|
+
type: import("vue").PropType<import("./buttonTypes").ButtonHTMLType>;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
shape: {
|
|
13
|
+
type: import("vue").PropType<import("./buttonTypes").ButtonShape>;
|
|
14
|
+
};
|
|
15
|
+
size: {
|
|
16
|
+
type: import("vue").PropType<import(".").ButtonSize>;
|
|
17
|
+
};
|
|
18
|
+
loading: {
|
|
19
|
+
type: import("vue").PropType<boolean | {
|
|
20
|
+
delay?: number;
|
|
21
|
+
}>;
|
|
22
|
+
default: () => boolean | {
|
|
23
|
+
delay?: number;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
disabled: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: any;
|
|
29
|
+
};
|
|
30
|
+
ghost: {
|
|
31
|
+
type: BooleanConstructor;
|
|
32
|
+
default: any;
|
|
33
|
+
};
|
|
34
|
+
block: {
|
|
35
|
+
type: BooleanConstructor;
|
|
36
|
+
default: any;
|
|
37
|
+
};
|
|
38
|
+
danger: {
|
|
39
|
+
type: BooleanConstructor;
|
|
40
|
+
default: any;
|
|
41
|
+
};
|
|
42
|
+
icon: import("vue-types").VueTypeValidableDef<any, import("vue-types").ValidatorFunction<any>>;
|
|
43
|
+
href: StringConstructor;
|
|
44
|
+
target: StringConstructor;
|
|
45
|
+
title: StringConstructor;
|
|
46
|
+
onClick: {
|
|
47
|
+
type: import("vue").PropType<import("..").MouseEventHandler | import("..").MouseEventHandler[]>;
|
|
48
|
+
};
|
|
49
|
+
onMousedown: {
|
|
50
|
+
type: import("vue").PropType<import("..").MouseEventHandler | import("..").MouseEventHandler[]>;
|
|
51
|
+
};
|
|
52
|
+
}>, () => import("../_util/type").VueNode, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
53
|
+
prefixCls: StringConstructor;
|
|
54
|
+
type: import("vue").PropType<ButtonType>;
|
|
55
|
+
htmlType: {
|
|
56
|
+
type: import("vue").PropType<import("./buttonTypes").ButtonHTMLType>;
|
|
57
|
+
default: string;
|
|
58
|
+
};
|
|
59
|
+
shape: {
|
|
60
|
+
type: import("vue").PropType<import("./buttonTypes").ButtonShape>;
|
|
61
|
+
};
|
|
62
|
+
size: {
|
|
63
|
+
type: import("vue").PropType<import(".").ButtonSize>;
|
|
64
|
+
};
|
|
65
|
+
loading: {
|
|
66
|
+
type: import("vue").PropType<boolean | {
|
|
67
|
+
delay?: number;
|
|
68
|
+
}>;
|
|
69
|
+
default: () => boolean | {
|
|
70
|
+
delay?: number;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
disabled: {
|
|
74
|
+
type: BooleanConstructor;
|
|
75
|
+
default: any;
|
|
76
|
+
};
|
|
77
|
+
ghost: {
|
|
78
|
+
type: BooleanConstructor;
|
|
79
|
+
default: any;
|
|
80
|
+
};
|
|
81
|
+
block: {
|
|
82
|
+
type: BooleanConstructor;
|
|
83
|
+
default: any;
|
|
84
|
+
};
|
|
85
|
+
danger: {
|
|
86
|
+
type: BooleanConstructor;
|
|
87
|
+
default: any;
|
|
88
|
+
};
|
|
89
|
+
icon: import("vue-types").VueTypeValidableDef<any, import("vue-types").ValidatorFunction<any>>;
|
|
90
|
+
href: StringConstructor;
|
|
91
|
+
target: StringConstructor;
|
|
92
|
+
title: StringConstructor;
|
|
93
|
+
onClick: {
|
|
94
|
+
type: import("vue").PropType<import("..").MouseEventHandler | import("..").MouseEventHandler[]>;
|
|
95
|
+
};
|
|
96
|
+
onMousedown: {
|
|
97
|
+
type: import("vue").PropType<import("..").MouseEventHandler | import("..").MouseEventHandler[]>;
|
|
98
|
+
};
|
|
99
|
+
}>> & Readonly<{}>, {
|
|
100
|
+
block: boolean;
|
|
101
|
+
disabled: boolean;
|
|
102
|
+
ghost: boolean;
|
|
103
|
+
danger: boolean;
|
|
104
|
+
htmlType: import("./buttonTypes").ButtonHTMLType;
|
|
105
|
+
loading: boolean | {
|
|
106
|
+
delay?: number;
|
|
107
|
+
};
|
|
108
|
+
}, CustomSlotsType<{
|
|
109
|
+
icon: any;
|
|
110
|
+
default: any;
|
|
111
|
+
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
112
|
+
export default _default;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import type { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
import type { SizeType } from '../config-provider';
|
|
3
|
+
import type { MouseEventHandler } from '../_util/EventInterface';
|
|
4
|
+
export type ButtonType = 'link' | 'default' | 'primary' | 'ghost' | 'dashed' | 'text';
|
|
5
|
+
export type ButtonShape = 'default' | 'circle' | 'round';
|
|
6
|
+
export type ButtonHTMLType = 'submit' | 'button' | 'reset';
|
|
7
|
+
export type LegacyButtonType = ButtonType | 'danger';
|
|
8
|
+
export declare function convertLegacyProps(type?: LegacyButtonType): ButtonProps;
|
|
9
|
+
export declare const buttonProps: () => {
|
|
10
|
+
prefixCls: StringConstructor;
|
|
11
|
+
type: PropType<ButtonType>;
|
|
12
|
+
htmlType: {
|
|
13
|
+
type: PropType<ButtonHTMLType>;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
shape: {
|
|
17
|
+
type: PropType<ButtonShape>;
|
|
18
|
+
};
|
|
19
|
+
size: {
|
|
20
|
+
type: PropType<SizeType>;
|
|
21
|
+
};
|
|
22
|
+
loading: {
|
|
23
|
+
type: PropType<boolean | {
|
|
24
|
+
delay?: number;
|
|
25
|
+
}>;
|
|
26
|
+
default: () => boolean | {
|
|
27
|
+
delay?: number;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
disabled: {
|
|
31
|
+
type: BooleanConstructor;
|
|
32
|
+
default: any;
|
|
33
|
+
};
|
|
34
|
+
ghost: {
|
|
35
|
+
type: BooleanConstructor;
|
|
36
|
+
default: any;
|
|
37
|
+
};
|
|
38
|
+
block: {
|
|
39
|
+
type: BooleanConstructor;
|
|
40
|
+
default: any;
|
|
41
|
+
};
|
|
42
|
+
danger: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: any;
|
|
45
|
+
};
|
|
46
|
+
icon: import("vue-types").VueTypeValidableDef<any, import("vue-types").ValidatorFunction<any>>;
|
|
47
|
+
href: StringConstructor;
|
|
48
|
+
target: StringConstructor;
|
|
49
|
+
title: StringConstructor;
|
|
50
|
+
onClick: {
|
|
51
|
+
type: PropType<MouseEventHandler | MouseEventHandler[]>;
|
|
52
|
+
};
|
|
53
|
+
onMousedown: {
|
|
54
|
+
type: PropType<MouseEventHandler | MouseEventHandler[]>;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
export type ButtonProps = Partial<ExtractPropTypes<ReturnType<typeof buttonProps>>>;
|
|
58
|
+
export default buttonProps;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { Plugin } from 'vue';
|
|
2
|
+
import Button from './button';
|
|
3
|
+
import ButtonGroup from './button-group';
|
|
4
|
+
import type { ButtonProps, ButtonShape, ButtonType } from './buttonTypes';
|
|
5
|
+
import type { ButtonGroupProps } from './button-group';
|
|
6
|
+
import type { SizeType as ButtonSize } from '../config-provider';
|
|
7
|
+
export type { ButtonProps, ButtonShape, ButtonType, ButtonGroupProps, ButtonSize };
|
|
8
|
+
export { ButtonGroup };
|
|
9
|
+
declare const _default: typeof Button & Plugin & {
|
|
10
|
+
readonly Group: typeof ButtonGroup;
|
|
11
|
+
};
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { FullToken } from '../../theme/internal';
|
|
2
|
+
/** Component only token. Which will handle additional calculation of alias token */
|
|
3
|
+
export interface ComponentToken {
|
|
4
|
+
}
|
|
5
|
+
export interface ButtonToken extends FullToken<'Button'> {
|
|
6
|
+
colorOutlineDefault: string;
|
|
7
|
+
buttonPaddingHorizontal: number;
|
|
8
|
+
}
|
|
9
|
+
declare const _default: (_prefixCls?: import("vue").Ref<string>) => import("../../theme/internal").UseComponentStyleResult;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { CSSObject } from '../../_util/cssinjs';
|
|
2
|
+
import type { PickerPanelToken } from '../../date-picker/style';
|
|
3
|
+
import type { InputToken } from '../../input/style';
|
|
4
|
+
import type { FullToken } from '../../theme/internal';
|
|
5
|
+
export interface ComponentToken {
|
|
6
|
+
yearControlWidth: number;
|
|
7
|
+
monthControlWidth: number;
|
|
8
|
+
miniContentHeight: number;
|
|
9
|
+
}
|
|
10
|
+
interface CalendarToken extends InputToken<FullToken<'Calendar'>>, PickerPanelToken {
|
|
11
|
+
calendarCls: string;
|
|
12
|
+
calendarFullBg: string;
|
|
13
|
+
calendarFullPanelBg: string;
|
|
14
|
+
calendarItemActiveBg: string;
|
|
15
|
+
dateValueHeight: number;
|
|
16
|
+
weekHeight: number;
|
|
17
|
+
dateContentHeight: number;
|
|
18
|
+
}
|
|
19
|
+
export declare const genCalendarStyles: (token: CalendarToken) => CSSObject;
|
|
20
|
+
declare const _default: (_prefixCls?: import("vue").Ref<string>) => import("../../theme/internal").UseComponentStyleResult;
|
|
21
|
+
export default _default;
|