@vunk/plus 1.13.1 → 1.14.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/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/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 +1 -1
- package/package.json +11 -1
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
import type { ComputedRef, ExtractPropTypes, InjectionKey, PropType, Ref } from 'vue';
|
|
2
|
+
import type { ValidateMessages } from '../form/interface';
|
|
3
|
+
import type { RequiredMark } from '../form/Form';
|
|
4
|
+
import type { RenderEmptyHandler } from './renderEmpty';
|
|
5
|
+
import type { Locale } from '../locale-provider';
|
|
6
|
+
import type { DerivativeFunc } from '../_util/cssinjs';
|
|
7
|
+
import type { AliasToken, SeedToken } from '../theme/internal';
|
|
8
|
+
import type { MapToken, OverrideToken } from '../theme/interface';
|
|
9
|
+
import type { VueNode } from '../_util/type';
|
|
10
|
+
export interface TransformCellTextProps {
|
|
11
|
+
text: any;
|
|
12
|
+
record: any;
|
|
13
|
+
index: number;
|
|
14
|
+
column: any;
|
|
15
|
+
}
|
|
16
|
+
export declare const defaultIconPrefixCls = "anticon";
|
|
17
|
+
type GlobalFormCOntextProps = {
|
|
18
|
+
validateMessages?: Ref<ValidateMessages>;
|
|
19
|
+
};
|
|
20
|
+
export type DirectionType = 'ltr' | 'rtl' | undefined;
|
|
21
|
+
export declare const GlobalFormContextKey: InjectionKey<GlobalFormCOntextProps>;
|
|
22
|
+
export declare const useProvideGlobalForm: (state: GlobalFormCOntextProps) => void;
|
|
23
|
+
export declare const useInjectGlobalForm: () => GlobalFormCOntextProps;
|
|
24
|
+
export declare const GlobalConfigContextKey: InjectionKey<GlobalFormCOntextProps>;
|
|
25
|
+
export interface CSPConfig {
|
|
26
|
+
nonce?: string;
|
|
27
|
+
}
|
|
28
|
+
export interface Theme {
|
|
29
|
+
primaryColor?: string;
|
|
30
|
+
infoColor?: string;
|
|
31
|
+
successColor?: string;
|
|
32
|
+
processingColor?: string;
|
|
33
|
+
errorColor?: string;
|
|
34
|
+
warningColor?: string;
|
|
35
|
+
}
|
|
36
|
+
export type SizeType = 'small' | 'middle' | 'large' | undefined;
|
|
37
|
+
export type Direction = 'ltr' | 'rtl';
|
|
38
|
+
export type MappingAlgorithm = DerivativeFunc<SeedToken, MapToken>;
|
|
39
|
+
export interface ThemeConfig {
|
|
40
|
+
token?: Partial<AliasToken>;
|
|
41
|
+
components?: OverrideToken;
|
|
42
|
+
algorithm?: MappingAlgorithm | MappingAlgorithm[];
|
|
43
|
+
hashed?: boolean;
|
|
44
|
+
inherit?: boolean;
|
|
45
|
+
}
|
|
46
|
+
export declare const configProviderProps: () => {
|
|
47
|
+
iconPrefixCls: StringConstructor;
|
|
48
|
+
getTargetContainer: {
|
|
49
|
+
type: PropType<() => HTMLElement | Window>;
|
|
50
|
+
};
|
|
51
|
+
getPopupContainer: {
|
|
52
|
+
type: PropType<(triggerNode?: HTMLElement) => HTMLElement>;
|
|
53
|
+
};
|
|
54
|
+
prefixCls: StringConstructor;
|
|
55
|
+
getPrefixCls: {
|
|
56
|
+
type: PropType<(suffixCls?: string, customizePrefixCls?: string) => string>;
|
|
57
|
+
};
|
|
58
|
+
renderEmpty: {
|
|
59
|
+
type: PropType<RenderEmptyHandler>;
|
|
60
|
+
};
|
|
61
|
+
transformCellText: {
|
|
62
|
+
type: PropType<(tableProps: TransformCellTextProps) => any>;
|
|
63
|
+
};
|
|
64
|
+
csp: {
|
|
65
|
+
type: PropType<CSPConfig>;
|
|
66
|
+
default: CSPConfig;
|
|
67
|
+
};
|
|
68
|
+
input: {
|
|
69
|
+
type: PropType<{
|
|
70
|
+
autocomplete?: string;
|
|
71
|
+
}>;
|
|
72
|
+
default: {
|
|
73
|
+
autocomplete?: string;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
autoInsertSpaceInButton: {
|
|
77
|
+
type: BooleanConstructor;
|
|
78
|
+
default: any;
|
|
79
|
+
};
|
|
80
|
+
locale: {
|
|
81
|
+
type: PropType<Locale>;
|
|
82
|
+
default: Locale;
|
|
83
|
+
};
|
|
84
|
+
pageHeader: {
|
|
85
|
+
type: PropType<{
|
|
86
|
+
ghost?: boolean;
|
|
87
|
+
}>;
|
|
88
|
+
default: {
|
|
89
|
+
ghost?: boolean;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
componentSize: {
|
|
93
|
+
type: PropType<SizeType>;
|
|
94
|
+
};
|
|
95
|
+
componentDisabled: {
|
|
96
|
+
type: BooleanConstructor;
|
|
97
|
+
default: any;
|
|
98
|
+
};
|
|
99
|
+
direction: {
|
|
100
|
+
type: PropType<"ltr" | "rtl">;
|
|
101
|
+
default: string;
|
|
102
|
+
};
|
|
103
|
+
space: {
|
|
104
|
+
type: PropType<{
|
|
105
|
+
size?: SizeType | number;
|
|
106
|
+
}>;
|
|
107
|
+
default: {
|
|
108
|
+
size?: SizeType | number;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
virtual: {
|
|
112
|
+
type: BooleanConstructor;
|
|
113
|
+
default: any;
|
|
114
|
+
};
|
|
115
|
+
dropdownMatchSelectWidth: {
|
|
116
|
+
type: (BooleanConstructor | NumberConstructor)[];
|
|
117
|
+
default: boolean;
|
|
118
|
+
};
|
|
119
|
+
form: {
|
|
120
|
+
type: PropType<{
|
|
121
|
+
validateMessages?: ValidateMessages;
|
|
122
|
+
requiredMark?: RequiredMark;
|
|
123
|
+
colon?: boolean;
|
|
124
|
+
}>;
|
|
125
|
+
default: {
|
|
126
|
+
validateMessages?: ValidateMessages;
|
|
127
|
+
requiredMark?: RequiredMark;
|
|
128
|
+
colon?: boolean;
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
pagination: {
|
|
132
|
+
type: PropType<{
|
|
133
|
+
showSizeChanger?: boolean;
|
|
134
|
+
}>;
|
|
135
|
+
default: {
|
|
136
|
+
showSizeChanger?: boolean;
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
theme: {
|
|
140
|
+
type: PropType<ThemeConfig>;
|
|
141
|
+
default: ThemeConfig;
|
|
142
|
+
};
|
|
143
|
+
select: {
|
|
144
|
+
type: PropType<{
|
|
145
|
+
showSearch?: boolean;
|
|
146
|
+
}>;
|
|
147
|
+
default: {
|
|
148
|
+
showSearch?: boolean;
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
wave: {
|
|
152
|
+
type: PropType<{
|
|
153
|
+
disabled?: boolean;
|
|
154
|
+
}>;
|
|
155
|
+
default: {
|
|
156
|
+
disabled?: boolean;
|
|
157
|
+
};
|
|
158
|
+
};
|
|
159
|
+
};
|
|
160
|
+
export type ConfigProviderProps = Partial<ExtractPropTypes<ReturnType<typeof configProviderProps>>>;
|
|
161
|
+
export interface ConfigProviderInnerProps {
|
|
162
|
+
csp?: ComputedRef<CSPConfig>;
|
|
163
|
+
autoInsertSpaceInButton?: ComputedRef<boolean>;
|
|
164
|
+
locale?: ComputedRef<Locale>;
|
|
165
|
+
direction?: ComputedRef<'ltr' | 'rtl'>;
|
|
166
|
+
space?: ComputedRef<{
|
|
167
|
+
size?: number | SizeType;
|
|
168
|
+
}>;
|
|
169
|
+
virtual?: ComputedRef<boolean>;
|
|
170
|
+
dropdownMatchSelectWidth?: ComputedRef<number | boolean>;
|
|
171
|
+
getPrefixCls: (suffixCls?: string, customizePrefixCls?: string) => string;
|
|
172
|
+
iconPrefixCls: ComputedRef<string>;
|
|
173
|
+
theme?: ComputedRef<ThemeConfig>;
|
|
174
|
+
renderEmpty?: (name?: string) => VueNode;
|
|
175
|
+
getTargetContainer?: ComputedRef<() => HTMLElement | Window>;
|
|
176
|
+
getPopupContainer?: ComputedRef<(triggerNode?: HTMLElement) => HTMLElement>;
|
|
177
|
+
pageHeader?: ComputedRef<{
|
|
178
|
+
ghost?: boolean;
|
|
179
|
+
}>;
|
|
180
|
+
input?: ComputedRef<{
|
|
181
|
+
autocomplete?: string;
|
|
182
|
+
}>;
|
|
183
|
+
pagination?: ComputedRef<{
|
|
184
|
+
showSizeChanger?: boolean;
|
|
185
|
+
}>;
|
|
186
|
+
form?: ComputedRef<{
|
|
187
|
+
validateMessages?: ValidateMessages;
|
|
188
|
+
requiredMark?: RequiredMark;
|
|
189
|
+
colon?: boolean;
|
|
190
|
+
}>;
|
|
191
|
+
select?: ComputedRef<{
|
|
192
|
+
showSearch?: boolean;
|
|
193
|
+
}>;
|
|
194
|
+
componentSize?: ComputedRef<SizeType>;
|
|
195
|
+
componentDisabled?: ComputedRef<boolean>;
|
|
196
|
+
transformCellText?: ComputedRef<(tableProps: TransformCellTextProps) => any>;
|
|
197
|
+
wave?: ComputedRef<{
|
|
198
|
+
disabled?: boolean;
|
|
199
|
+
}>;
|
|
200
|
+
flex?: ComputedRef<{
|
|
201
|
+
vertical?: boolean;
|
|
202
|
+
}>;
|
|
203
|
+
}
|
|
204
|
+
export declare const configProviderKey: InjectionKey<ConfigProviderInnerProps>;
|
|
205
|
+
export declare const defaultConfigProvider: ConfigProviderInnerProps;
|
|
206
|
+
export declare const useConfigContextInject: () => ConfigProviderInnerProps;
|
|
207
|
+
export declare const useConfigContextProvider: (props: ConfigProviderInnerProps) => void;
|
|
208
|
+
export {};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { SizeType } from '../context';
|
|
2
|
+
declare const _default: (name: string, props: Record<any, any>) => {
|
|
3
|
+
configProvider: import("../context").ConfigProviderInnerProps;
|
|
4
|
+
prefixCls: import("vue").ComputedRef<string>;
|
|
5
|
+
direction: import("vue").ComputedRef<any>;
|
|
6
|
+
size: import("vue").ComputedRef<"small" | "middle" | "large">;
|
|
7
|
+
getTargetContainer: import("vue").ComputedRef<any>;
|
|
8
|
+
getPopupContainer: import("vue").ComputedRef<any>;
|
|
9
|
+
space: import("vue").ComputedRef<{
|
|
10
|
+
size?: number | SizeType;
|
|
11
|
+
}>;
|
|
12
|
+
pageHeader: import("vue").ComputedRef<{
|
|
13
|
+
ghost?: boolean;
|
|
14
|
+
}>;
|
|
15
|
+
form: import("vue").ComputedRef<{
|
|
16
|
+
validateMessages?: import("../../form/interface").ValidateMessages;
|
|
17
|
+
requiredMark?: import("../../form/Form").RequiredMark;
|
|
18
|
+
colon?: boolean;
|
|
19
|
+
}>;
|
|
20
|
+
autoInsertSpaceInButton: import("vue").ComputedRef<boolean>;
|
|
21
|
+
renderEmpty: (name?: string) => import("../../_util/type").VueNode;
|
|
22
|
+
virtual: import("vue").ComputedRef<boolean>;
|
|
23
|
+
dropdownMatchSelectWidth: import("vue").ComputedRef<number | boolean>;
|
|
24
|
+
rootPrefixCls: import("vue").ComputedRef<string>;
|
|
25
|
+
getPrefixCls: (suffixCls?: string, customizePrefixCls?: string) => string;
|
|
26
|
+
autocomplete: import("vue").ComputedRef<any>;
|
|
27
|
+
csp: import("vue").ComputedRef<any>;
|
|
28
|
+
iconPrefixCls: import("vue").ComputedRef<any>;
|
|
29
|
+
disabled: import("vue").ComputedRef<boolean>;
|
|
30
|
+
select: import("vue").ComputedRef<{
|
|
31
|
+
showSearch?: boolean;
|
|
32
|
+
}>;
|
|
33
|
+
wave: import("vue").ComputedRef<{
|
|
34
|
+
disabled?: boolean;
|
|
35
|
+
}>;
|
|
36
|
+
};
|
|
37
|
+
export default _default;
|
|
@@ -0,0 +1,290 @@
|
|
|
1
|
+
import type { MaybeRef, Plugin } from 'vue';
|
|
2
|
+
import type { RenderEmptyHandler } from './renderEmpty';
|
|
3
|
+
import type { Locale } from '../locale-provider';
|
|
4
|
+
import type { ValidateMessages } from '../form/interface';
|
|
5
|
+
import type { ConfigProviderProps, Theme } from './context';
|
|
6
|
+
import { defaultIconPrefixCls } from './context';
|
|
7
|
+
export type { ConfigProviderProps, Theme, SizeType, Direction, CSPConfig, DirectionType, } from './context';
|
|
8
|
+
export declare const defaultPrefixCls = "ant";
|
|
9
|
+
export { defaultIconPrefixCls };
|
|
10
|
+
declare function getGlobalIconPrefixCls(): string;
|
|
11
|
+
export declare const globalConfigForApi: ConfigProviderProps & {
|
|
12
|
+
getRootPrefixCls?: (rootPrefixCls?: string, customizePrefixCls?: string) => string;
|
|
13
|
+
};
|
|
14
|
+
export declare const configConsumerProps: string[];
|
|
15
|
+
type GlobalConfigProviderProps = {
|
|
16
|
+
prefixCls?: MaybeRef<ConfigProviderProps['prefixCls']>;
|
|
17
|
+
iconPrefixCls?: MaybeRef<ConfigProviderProps['iconPrefixCls']>;
|
|
18
|
+
getPopupContainer?: ConfigProviderProps['getPopupContainer'];
|
|
19
|
+
};
|
|
20
|
+
declare const setGlobalConfig: (params: GlobalConfigProviderProps & {
|
|
21
|
+
theme?: Theme;
|
|
22
|
+
}) => void;
|
|
23
|
+
export declare const globalConfig: () => {
|
|
24
|
+
getPrefixCls: (suffixCls?: string, customizePrefixCls?: string) => string;
|
|
25
|
+
getIconPrefixCls: typeof getGlobalIconPrefixCls;
|
|
26
|
+
getRootPrefixCls: () => string;
|
|
27
|
+
};
|
|
28
|
+
declare const ConfigProvider: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
29
|
+
iconPrefixCls: StringConstructor;
|
|
30
|
+
getTargetContainer: {
|
|
31
|
+
type: import("vue").PropType<() => HTMLElement | Window>;
|
|
32
|
+
};
|
|
33
|
+
getPopupContainer: {
|
|
34
|
+
type: import("vue").PropType<(triggerNode?: HTMLElement) => HTMLElement>;
|
|
35
|
+
};
|
|
36
|
+
prefixCls: StringConstructor;
|
|
37
|
+
getPrefixCls: {
|
|
38
|
+
type: import("vue").PropType<(suffixCls?: string, customizePrefixCls?: string) => string>;
|
|
39
|
+
};
|
|
40
|
+
renderEmpty: {
|
|
41
|
+
type: import("vue").PropType<RenderEmptyHandler>;
|
|
42
|
+
};
|
|
43
|
+
transformCellText: {
|
|
44
|
+
type: import("vue").PropType<(tableProps: import("./context").TransformCellTextProps) => any>;
|
|
45
|
+
};
|
|
46
|
+
csp: {
|
|
47
|
+
type: import("vue").PropType<import("./context").CSPConfig>;
|
|
48
|
+
default: import("./context").CSPConfig;
|
|
49
|
+
};
|
|
50
|
+
input: {
|
|
51
|
+
type: import("vue").PropType<{
|
|
52
|
+
autocomplete?: string;
|
|
53
|
+
}>;
|
|
54
|
+
default: {
|
|
55
|
+
autocomplete?: string;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
autoInsertSpaceInButton: {
|
|
59
|
+
type: BooleanConstructor;
|
|
60
|
+
default: any;
|
|
61
|
+
};
|
|
62
|
+
locale: {
|
|
63
|
+
type: import("vue").PropType<Locale>;
|
|
64
|
+
default: Locale;
|
|
65
|
+
};
|
|
66
|
+
pageHeader: {
|
|
67
|
+
type: import("vue").PropType<{
|
|
68
|
+
ghost?: boolean;
|
|
69
|
+
}>;
|
|
70
|
+
default: {
|
|
71
|
+
ghost?: boolean;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
componentSize: {
|
|
75
|
+
type: import("vue").PropType<import("./context").SizeType>;
|
|
76
|
+
};
|
|
77
|
+
componentDisabled: {
|
|
78
|
+
type: BooleanConstructor;
|
|
79
|
+
default: any;
|
|
80
|
+
};
|
|
81
|
+
direction: {
|
|
82
|
+
type: import("vue").PropType<"ltr" | "rtl">;
|
|
83
|
+
default: string;
|
|
84
|
+
};
|
|
85
|
+
space: {
|
|
86
|
+
type: import("vue").PropType<{
|
|
87
|
+
size?: import("./context").SizeType | number;
|
|
88
|
+
}>;
|
|
89
|
+
default: {
|
|
90
|
+
size?: import("./context").SizeType | number;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
virtual: {
|
|
94
|
+
type: BooleanConstructor;
|
|
95
|
+
default: any;
|
|
96
|
+
};
|
|
97
|
+
dropdownMatchSelectWidth: {
|
|
98
|
+
type: (BooleanConstructor | NumberConstructor)[];
|
|
99
|
+
default: boolean;
|
|
100
|
+
};
|
|
101
|
+
form: {
|
|
102
|
+
type: import("vue").PropType<{
|
|
103
|
+
validateMessages?: ValidateMessages;
|
|
104
|
+
requiredMark?: import("../form/Form").RequiredMark;
|
|
105
|
+
colon?: boolean;
|
|
106
|
+
}>;
|
|
107
|
+
default: {
|
|
108
|
+
validateMessages?: ValidateMessages;
|
|
109
|
+
requiredMark?: import("../form/Form").RequiredMark;
|
|
110
|
+
colon?: boolean;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
pagination: {
|
|
114
|
+
type: import("vue").PropType<{
|
|
115
|
+
showSizeChanger?: boolean;
|
|
116
|
+
}>;
|
|
117
|
+
default: {
|
|
118
|
+
showSizeChanger?: boolean;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
theme: {
|
|
122
|
+
type: import("vue").PropType<import("./context").ThemeConfig>;
|
|
123
|
+
default: import("./context").ThemeConfig;
|
|
124
|
+
};
|
|
125
|
+
select: {
|
|
126
|
+
type: import("vue").PropType<{
|
|
127
|
+
showSearch?: boolean;
|
|
128
|
+
}>;
|
|
129
|
+
default: {
|
|
130
|
+
showSearch?: boolean;
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
wave: {
|
|
134
|
+
type: import("vue").PropType<{
|
|
135
|
+
disabled?: boolean;
|
|
136
|
+
}>;
|
|
137
|
+
default: {
|
|
138
|
+
disabled?: boolean;
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
142
|
+
iconPrefixCls: StringConstructor;
|
|
143
|
+
getTargetContainer: {
|
|
144
|
+
type: import("vue").PropType<() => HTMLElement | Window>;
|
|
145
|
+
};
|
|
146
|
+
getPopupContainer: {
|
|
147
|
+
type: import("vue").PropType<(triggerNode?: HTMLElement) => HTMLElement>;
|
|
148
|
+
};
|
|
149
|
+
prefixCls: StringConstructor;
|
|
150
|
+
getPrefixCls: {
|
|
151
|
+
type: import("vue").PropType<(suffixCls?: string, customizePrefixCls?: string) => string>;
|
|
152
|
+
};
|
|
153
|
+
renderEmpty: {
|
|
154
|
+
type: import("vue").PropType<RenderEmptyHandler>;
|
|
155
|
+
};
|
|
156
|
+
transformCellText: {
|
|
157
|
+
type: import("vue").PropType<(tableProps: import("./context").TransformCellTextProps) => any>;
|
|
158
|
+
};
|
|
159
|
+
csp: {
|
|
160
|
+
type: import("vue").PropType<import("./context").CSPConfig>;
|
|
161
|
+
default: import("./context").CSPConfig;
|
|
162
|
+
};
|
|
163
|
+
input: {
|
|
164
|
+
type: import("vue").PropType<{
|
|
165
|
+
autocomplete?: string;
|
|
166
|
+
}>;
|
|
167
|
+
default: {
|
|
168
|
+
autocomplete?: string;
|
|
169
|
+
};
|
|
170
|
+
};
|
|
171
|
+
autoInsertSpaceInButton: {
|
|
172
|
+
type: BooleanConstructor;
|
|
173
|
+
default: any;
|
|
174
|
+
};
|
|
175
|
+
locale: {
|
|
176
|
+
type: import("vue").PropType<Locale>;
|
|
177
|
+
default: Locale;
|
|
178
|
+
};
|
|
179
|
+
pageHeader: {
|
|
180
|
+
type: import("vue").PropType<{
|
|
181
|
+
ghost?: boolean;
|
|
182
|
+
}>;
|
|
183
|
+
default: {
|
|
184
|
+
ghost?: boolean;
|
|
185
|
+
};
|
|
186
|
+
};
|
|
187
|
+
componentSize: {
|
|
188
|
+
type: import("vue").PropType<import("./context").SizeType>;
|
|
189
|
+
};
|
|
190
|
+
componentDisabled: {
|
|
191
|
+
type: BooleanConstructor;
|
|
192
|
+
default: any;
|
|
193
|
+
};
|
|
194
|
+
direction: {
|
|
195
|
+
type: import("vue").PropType<"ltr" | "rtl">;
|
|
196
|
+
default: string;
|
|
197
|
+
};
|
|
198
|
+
space: {
|
|
199
|
+
type: import("vue").PropType<{
|
|
200
|
+
size?: import("./context").SizeType | number;
|
|
201
|
+
}>;
|
|
202
|
+
default: {
|
|
203
|
+
size?: import("./context").SizeType | number;
|
|
204
|
+
};
|
|
205
|
+
};
|
|
206
|
+
virtual: {
|
|
207
|
+
type: BooleanConstructor;
|
|
208
|
+
default: any;
|
|
209
|
+
};
|
|
210
|
+
dropdownMatchSelectWidth: {
|
|
211
|
+
type: (BooleanConstructor | NumberConstructor)[];
|
|
212
|
+
default: boolean;
|
|
213
|
+
};
|
|
214
|
+
form: {
|
|
215
|
+
type: import("vue").PropType<{
|
|
216
|
+
validateMessages?: ValidateMessages;
|
|
217
|
+
requiredMark?: import("../form/Form").RequiredMark;
|
|
218
|
+
colon?: boolean;
|
|
219
|
+
}>;
|
|
220
|
+
default: {
|
|
221
|
+
validateMessages?: ValidateMessages;
|
|
222
|
+
requiredMark?: import("../form/Form").RequiredMark;
|
|
223
|
+
colon?: boolean;
|
|
224
|
+
};
|
|
225
|
+
};
|
|
226
|
+
pagination: {
|
|
227
|
+
type: import("vue").PropType<{
|
|
228
|
+
showSizeChanger?: boolean;
|
|
229
|
+
}>;
|
|
230
|
+
default: {
|
|
231
|
+
showSizeChanger?: boolean;
|
|
232
|
+
};
|
|
233
|
+
};
|
|
234
|
+
theme: {
|
|
235
|
+
type: import("vue").PropType<import("./context").ThemeConfig>;
|
|
236
|
+
default: import("./context").ThemeConfig;
|
|
237
|
+
};
|
|
238
|
+
select: {
|
|
239
|
+
type: import("vue").PropType<{
|
|
240
|
+
showSearch?: boolean;
|
|
241
|
+
}>;
|
|
242
|
+
default: {
|
|
243
|
+
showSearch?: boolean;
|
|
244
|
+
};
|
|
245
|
+
};
|
|
246
|
+
wave: {
|
|
247
|
+
type: import("vue").PropType<{
|
|
248
|
+
disabled?: boolean;
|
|
249
|
+
}>;
|
|
250
|
+
default: {
|
|
251
|
+
disabled?: boolean;
|
|
252
|
+
};
|
|
253
|
+
};
|
|
254
|
+
}>> & Readonly<{}>, {
|
|
255
|
+
form: {
|
|
256
|
+
validateMessages?: ValidateMessages;
|
|
257
|
+
requiredMark?: import("../form/Form").RequiredMark;
|
|
258
|
+
colon?: boolean;
|
|
259
|
+
};
|
|
260
|
+
input: {
|
|
261
|
+
autocomplete?: string;
|
|
262
|
+
};
|
|
263
|
+
select: {
|
|
264
|
+
showSearch?: boolean;
|
|
265
|
+
};
|
|
266
|
+
csp: import("./context").CSPConfig;
|
|
267
|
+
direction: "ltr" | "rtl";
|
|
268
|
+
space: {
|
|
269
|
+
size?: import("./context").SizeType | number;
|
|
270
|
+
};
|
|
271
|
+
theme: import("./context").ThemeConfig;
|
|
272
|
+
virtual: boolean;
|
|
273
|
+
dropdownMatchSelectWidth: number | boolean;
|
|
274
|
+
wave: {
|
|
275
|
+
disabled?: boolean;
|
|
276
|
+
};
|
|
277
|
+
locale: Locale;
|
|
278
|
+
autoInsertSpaceInButton: boolean;
|
|
279
|
+
pageHeader: {
|
|
280
|
+
ghost?: boolean;
|
|
281
|
+
};
|
|
282
|
+
componentDisabled: boolean;
|
|
283
|
+
pagination: {
|
|
284
|
+
showSizeChanger?: boolean;
|
|
285
|
+
};
|
|
286
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
287
|
+
declare const _default: typeof ConfigProvider & Plugin & {
|
|
288
|
+
readonly config: typeof setGlobalConfig;
|
|
289
|
+
};
|
|
290
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { VueNode } from '../_util/type';
|
|
2
|
+
export interface RenderEmptyProps {
|
|
3
|
+
componentName?: string;
|
|
4
|
+
}
|
|
5
|
+
export declare const DefaultRenderEmpty: (props: RenderEmptyProps) => import("vue/jsx-runtime").JSX.Element;
|
|
6
|
+
declare function renderEmpty(componentName?: string): VueNode;
|
|
7
|
+
export type RenderEmptyHandler = typeof renderEmpty;
|
|
8
|
+
export default renderEmpty;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { CSSObject } from '../../_util/cssinjs';
|
|
2
|
+
import type { InputToken } from '../../input/style';
|
|
3
|
+
import type { FullToken } from '../../theme/internal';
|
|
4
|
+
import type { GlobalToken } from '../../theme/interface';
|
|
5
|
+
import type { TokenWithCommonCls } from '../../theme/util/genComponentStyleHook';
|
|
6
|
+
export interface ComponentToken {
|
|
7
|
+
presetsWidth: number;
|
|
8
|
+
presetsMaxWidth: number;
|
|
9
|
+
zIndexPopup: number;
|
|
10
|
+
}
|
|
11
|
+
export type PickerPanelToken = {
|
|
12
|
+
pickerCellCls: string;
|
|
13
|
+
pickerCellInnerCls: string;
|
|
14
|
+
pickerTextHeight: number;
|
|
15
|
+
pickerPanelCellWidth: number;
|
|
16
|
+
pickerPanelCellHeight: number;
|
|
17
|
+
pickerDateHoverRangeBorderColor: string;
|
|
18
|
+
pickerBasicCellHoverWithRangeColor: string;
|
|
19
|
+
pickerPanelWithoutTimeCellHeight: number;
|
|
20
|
+
pickerYearMonthCellWidth: number;
|
|
21
|
+
pickerTimePanelColumnHeight: number;
|
|
22
|
+
pickerTimePanelColumnWidth: number;
|
|
23
|
+
pickerTimePanelCellHeight: number;
|
|
24
|
+
pickerCellPaddingVertical: number;
|
|
25
|
+
pickerQuarterPanelContentHeight: number;
|
|
26
|
+
pickerCellBorderGap: number;
|
|
27
|
+
pickerControlIconSize: number;
|
|
28
|
+
pickerControlIconBorderWidth: number;
|
|
29
|
+
};
|
|
30
|
+
type PickerToken = InputToken<FullToken<'DatePicker'>> & PickerPanelToken;
|
|
31
|
+
type SharedPickerToken = Omit<PickerToken, 'zIndexPopup' | 'presetsWidth' | 'presetsMaxWidth'>;
|
|
32
|
+
export declare const genPanelStyle: (token: SharedPickerToken) => CSSObject;
|
|
33
|
+
export declare const initPickerPanelToken: (token: TokenWithCommonCls<GlobalToken>) => PickerPanelToken;
|
|
34
|
+
declare const _default: (_prefixCls?: import("vue").Ref<string>) => import("../../theme/internal").UseComponentStyleResult;
|
|
35
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const Empty: import("vue").DefineComponent<{}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default Empty;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import type { CSSProperties, ExtractPropTypes } from 'vue';
|
|
2
|
+
import type { VueNode } from '../_util/type';
|
|
3
|
+
export declare const emptyProps: () => {
|
|
4
|
+
prefixCls: StringConstructor;
|
|
5
|
+
imageStyle: {
|
|
6
|
+
type: import("vue").PropType<CSSProperties>;
|
|
7
|
+
default: CSSProperties;
|
|
8
|
+
};
|
|
9
|
+
image: {
|
|
10
|
+
default: VueNode;
|
|
11
|
+
type: import("vue").PropType<VueNode>;
|
|
12
|
+
};
|
|
13
|
+
description: {
|
|
14
|
+
default: VueNode;
|
|
15
|
+
type: import("vue").PropType<VueNode>;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export type EmptyProps = Partial<ExtractPropTypes<ReturnType<typeof emptyProps>>>;
|
|
19
|
+
declare const _default: {
|
|
20
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes<{
|
|
21
|
+
prefixCls: StringConstructor;
|
|
22
|
+
imageStyle: {
|
|
23
|
+
type: import("vue").PropType<CSSProperties>;
|
|
24
|
+
default: CSSProperties;
|
|
25
|
+
};
|
|
26
|
+
image: {
|
|
27
|
+
default: VueNode;
|
|
28
|
+
type: import("vue").PropType<VueNode>;
|
|
29
|
+
};
|
|
30
|
+
description: {
|
|
31
|
+
default: VueNode;
|
|
32
|
+
type: import("vue").PropType<VueNode>;
|
|
33
|
+
};
|
|
34
|
+
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
35
|
+
image: VueNode;
|
|
36
|
+
imageStyle: CSSProperties;
|
|
37
|
+
description: VueNode;
|
|
38
|
+
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
39
|
+
P: {};
|
|
40
|
+
B: {};
|
|
41
|
+
D: {};
|
|
42
|
+
C: {};
|
|
43
|
+
M: {};
|
|
44
|
+
Defaults: {};
|
|
45
|
+
}, Readonly<ExtractPropTypes<{
|
|
46
|
+
prefixCls: StringConstructor;
|
|
47
|
+
imageStyle: {
|
|
48
|
+
type: import("vue").PropType<CSSProperties>;
|
|
49
|
+
default: CSSProperties;
|
|
50
|
+
};
|
|
51
|
+
image: {
|
|
52
|
+
default: VueNode;
|
|
53
|
+
type: import("vue").PropType<VueNode>;
|
|
54
|
+
};
|
|
55
|
+
description: {
|
|
56
|
+
default: VueNode;
|
|
57
|
+
type: import("vue").PropType<VueNode>;
|
|
58
|
+
};
|
|
59
|
+
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
|
|
60
|
+
image: VueNode;
|
|
61
|
+
imageStyle: CSSProperties;
|
|
62
|
+
description: VueNode;
|
|
63
|
+
}>;
|
|
64
|
+
__isFragment?: never;
|
|
65
|
+
__isTeleport?: never;
|
|
66
|
+
__isSuspense?: never;
|
|
67
|
+
} & import("vue").ComponentOptionsBase<Readonly<ExtractPropTypes<{
|
|
68
|
+
prefixCls: StringConstructor;
|
|
69
|
+
imageStyle: {
|
|
70
|
+
type: import("vue").PropType<CSSProperties>;
|
|
71
|
+
default: CSSProperties;
|
|
72
|
+
};
|
|
73
|
+
image: {
|
|
74
|
+
default: VueNode;
|
|
75
|
+
type: import("vue").PropType<VueNode>;
|
|
76
|
+
};
|
|
77
|
+
description: {
|
|
78
|
+
default: VueNode;
|
|
79
|
+
type: import("vue").PropType<VueNode>;
|
|
80
|
+
};
|
|
81
|
+
}>> & Readonly<{}>, () => VueNode, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
82
|
+
image: VueNode;
|
|
83
|
+
imageStyle: CSSProperties;
|
|
84
|
+
description: VueNode;
|
|
85
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin;
|
|
86
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const Simple: import("vue").DefineComponent<{}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default Simple;
|