@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
|
@@ -32,9 +32,9 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
32
32
|
alias?: string | string[];
|
|
33
33
|
name?: import("vue-router").RouteRecordNameGeneric;
|
|
34
34
|
beforeEnter?: import("vue-router").NavigationGuardWithThis<undefined> | import("vue-router").NavigationGuardWithThis<undefined>[];
|
|
35
|
-
end?: boolean
|
|
36
|
-
strict?: boolean
|
|
37
|
-
sensitive?: boolean
|
|
35
|
+
end?: boolean;
|
|
36
|
+
strict?: boolean;
|
|
37
|
+
sensitive?: boolean;
|
|
38
38
|
} | {
|
|
39
39
|
meta: {
|
|
40
40
|
[x: string]: unknown;
|
|
@@ -51,9 +51,9 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
51
51
|
alias?: string | string[];
|
|
52
52
|
name?: import("vue-router").RouteRecordNameGeneric;
|
|
53
53
|
beforeEnter?: import("vue-router").NavigationGuardWithThis<undefined> | import("vue-router").NavigationGuardWithThis<undefined>[];
|
|
54
|
-
end?: boolean
|
|
55
|
-
strict?: boolean
|
|
56
|
-
sensitive?: boolean
|
|
54
|
+
end?: boolean;
|
|
55
|
+
strict?: boolean;
|
|
56
|
+
sensitive?: boolean;
|
|
57
57
|
} | {
|
|
58
58
|
meta: {
|
|
59
59
|
[x: string]: unknown;
|
|
@@ -70,9 +70,9 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
70
70
|
alias?: string | string[];
|
|
71
71
|
name?: import("vue-router").RouteRecordNameGeneric;
|
|
72
72
|
beforeEnter?: import("vue-router").NavigationGuardWithThis<undefined> | import("vue-router").NavigationGuardWithThis<undefined>[];
|
|
73
|
-
end?: boolean
|
|
74
|
-
strict?: boolean
|
|
75
|
-
sensitive?: boolean
|
|
73
|
+
end?: boolean;
|
|
74
|
+
strict?: boolean;
|
|
75
|
+
sensitive?: boolean;
|
|
76
76
|
} | {
|
|
77
77
|
meta: {
|
|
78
78
|
[x: string]: unknown;
|
|
@@ -89,9 +89,9 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
89
89
|
alias?: string | string[];
|
|
90
90
|
name?: import("vue-router").RouteRecordNameGeneric;
|
|
91
91
|
beforeEnter?: import("vue-router").NavigationGuardWithThis<undefined> | import("vue-router").NavigationGuardWithThis<undefined>[];
|
|
92
|
-
end?: boolean
|
|
93
|
-
strict?: boolean
|
|
94
|
-
sensitive?: boolean
|
|
92
|
+
end?: boolean;
|
|
93
|
+
strict?: boolean;
|
|
94
|
+
sensitive?: boolean;
|
|
95
95
|
} | {
|
|
96
96
|
meta: {
|
|
97
97
|
[x: string]: unknown;
|
|
@@ -108,10 +108,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
108
108
|
name?: import("vue-router").RouteRecordNameGeneric;
|
|
109
109
|
beforeEnter?: import("vue-router").NavigationGuardWithThis<undefined> | import("vue-router").NavigationGuardWithThis<undefined>[];
|
|
110
110
|
children?: RouteRecordRaw[];
|
|
111
|
-
end?: boolean
|
|
112
|
-
strict?: boolean
|
|
113
|
-
sensitive?: boolean
|
|
114
|
-
}
|
|
111
|
+
end?: boolean;
|
|
112
|
+
strict?: boolean;
|
|
113
|
+
sensitive?: boolean;
|
|
114
|
+
}>;
|
|
115
115
|
bindProps: import("vue").ComputedRef<{}>;
|
|
116
116
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
117
117
|
data: {
|
|
@@ -166,7 +166,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
166
166
|
popperClass: string;
|
|
167
167
|
basePath: string;
|
|
168
168
|
}, {}, {
|
|
169
|
-
ElSubMenu: import("element-plus/es/utils/
|
|
169
|
+
ElSubMenu: import("element-plus/es/utils/vue/typescript.mjs").SFCWithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
170
170
|
readonly index: {
|
|
171
171
|
readonly type: import("vue").PropType<string>;
|
|
172
172
|
readonly required: true;
|
|
@@ -175,43 +175,38 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
175
175
|
};
|
|
176
176
|
readonly showTimeout: NumberConstructor;
|
|
177
177
|
readonly hideTimeout: NumberConstructor;
|
|
178
|
-
readonly popperClass:
|
|
179
|
-
readonly popperStyle:
|
|
180
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => string | import("vue").CSSProperties) | (() => string | import("vue").CSSProperties) | ((new (...args: any[]) => string | import("vue").CSSProperties) | (() => string | import("vue").CSSProperties))[], unknown, unknown>>;
|
|
181
|
-
readonly required: false;
|
|
182
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
183
|
-
__epPropKey: true;
|
|
184
|
-
};
|
|
178
|
+
readonly popperClass: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<(new (...args: any[]) => string | false | Record<string, any> | import("element-plus/es/utils/typescript.mjs").ClassValue[]) | (() => import("element-plus/es/utils/typescript.mjs").ClassValue) | (((new (...args: any[]) => string | false | Record<string, any> | import("element-plus/es/utils/typescript.mjs").ClassValue[]) | (() => import("element-plus/es/utils/typescript.mjs").ClassValue)) | null)[], unknown, unknown, undefined, boolean>;
|
|
179
|
+
readonly popperStyle: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<(new (...args: any[]) => string | false | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue) | (((new (...args: any[]) => string | false | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue)) | null)[], unknown, unknown, undefined, boolean>;
|
|
185
180
|
readonly disabled: BooleanConstructor;
|
|
186
|
-
readonly teleported: import("element-plus/es/utils/
|
|
181
|
+
readonly teleported: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
187
182
|
readonly popperOffset: NumberConstructor;
|
|
188
183
|
readonly expandCloseIcon: {
|
|
189
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/
|
|
184
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown>>;
|
|
190
185
|
readonly required: false;
|
|
191
186
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
192
187
|
__epPropKey: true;
|
|
193
188
|
};
|
|
194
189
|
readonly expandOpenIcon: {
|
|
195
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/
|
|
190
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown>>;
|
|
196
191
|
readonly required: false;
|
|
197
192
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
198
193
|
__epPropKey: true;
|
|
199
194
|
};
|
|
200
195
|
readonly collapseCloseIcon: {
|
|
201
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/
|
|
196
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown>>;
|
|
202
197
|
readonly required: false;
|
|
203
198
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
204
199
|
__epPropKey: true;
|
|
205
200
|
};
|
|
206
201
|
readonly collapseOpenIcon: {
|
|
207
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/
|
|
202
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown>>;
|
|
208
203
|
readonly required: false;
|
|
209
204
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
210
205
|
__epPropKey: true;
|
|
211
206
|
};
|
|
212
|
-
}
|
|
207
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
213
208
|
[key: string]: any;
|
|
214
|
-
}>,
|
|
209
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
215
210
|
readonly index: {
|
|
216
211
|
readonly type: import("vue").PropType<string>;
|
|
217
212
|
readonly required: true;
|
|
@@ -220,57 +215,45 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
220
215
|
};
|
|
221
216
|
readonly showTimeout: NumberConstructor;
|
|
222
217
|
readonly hideTimeout: NumberConstructor;
|
|
223
|
-
readonly popperClass:
|
|
224
|
-
readonly popperStyle:
|
|
225
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => string | import("vue").CSSProperties) | (() => string | import("vue").CSSProperties) | ((new (...args: any[]) => string | import("vue").CSSProperties) | (() => string | import("vue").CSSProperties))[], unknown, unknown>>;
|
|
226
|
-
readonly required: false;
|
|
227
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
228
|
-
__epPropKey: true;
|
|
229
|
-
};
|
|
218
|
+
readonly popperClass: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<(new (...args: any[]) => string | false | Record<string, any> | import("element-plus/es/utils/typescript.mjs").ClassValue[]) | (() => import("element-plus/es/utils/typescript.mjs").ClassValue) | (((new (...args: any[]) => string | false | Record<string, any> | import("element-plus/es/utils/typescript.mjs").ClassValue[]) | (() => import("element-plus/es/utils/typescript.mjs").ClassValue)) | null)[], unknown, unknown, undefined, boolean>;
|
|
219
|
+
readonly popperStyle: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<(new (...args: any[]) => string | false | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue) | (((new (...args: any[]) => string | false | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue)) | null)[], unknown, unknown, undefined, boolean>;
|
|
230
220
|
readonly disabled: BooleanConstructor;
|
|
231
|
-
readonly teleported: import("element-plus/es/utils/
|
|
221
|
+
readonly teleported: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
232
222
|
readonly popperOffset: NumberConstructor;
|
|
233
223
|
readonly expandCloseIcon: {
|
|
234
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/
|
|
224
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown>>;
|
|
235
225
|
readonly required: false;
|
|
236
226
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
237
227
|
__epPropKey: true;
|
|
238
228
|
};
|
|
239
229
|
readonly expandOpenIcon: {
|
|
240
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/
|
|
230
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown>>;
|
|
241
231
|
readonly required: false;
|
|
242
232
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
243
233
|
__epPropKey: true;
|
|
244
234
|
};
|
|
245
235
|
readonly collapseCloseIcon: {
|
|
246
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/
|
|
236
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown>>;
|
|
247
237
|
readonly required: false;
|
|
248
238
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
249
239
|
__epPropKey: true;
|
|
250
240
|
};
|
|
251
241
|
readonly collapseOpenIcon: {
|
|
252
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/
|
|
242
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | (((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component)) | null)[], unknown, unknown>>;
|
|
253
243
|
readonly required: false;
|
|
254
244
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
255
245
|
__epPropKey: true;
|
|
256
246
|
};
|
|
257
|
-
}
|
|
247
|
+
}>> & Readonly<{}>, {
|
|
248
|
+
readonly teleported: import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
258
249
|
readonly disabled: boolean;
|
|
259
|
-
readonly
|
|
250
|
+
readonly popperClass: import("element-plus/es/utils/typescript.mjs").ClassValue;
|
|
251
|
+
readonly popperStyle: import("vue").StyleValue;
|
|
260
252
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
261
|
-
ElMenuItem: import("element-plus/es/utils/
|
|
262
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("
|
|
263
|
-
readonly index: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => string) | (() => string | null) | ((new (...args: any[]) => string) | (() => string | null))[], unknown, unknown, null, boolean>;
|
|
264
|
-
readonly route: {
|
|
265
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => import("vue-router").RouteLocationRaw & {}) | (() => import("vue-router").RouteLocationRaw) | ((new (...args: any[]) => import("vue-router").RouteLocationRaw & {}) | (() => import("vue-router").RouteLocationRaw))[], unknown, unknown>>;
|
|
266
|
-
readonly required: false;
|
|
267
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
268
|
-
__epPropKey: true;
|
|
269
|
-
};
|
|
270
|
-
readonly disabled: BooleanConstructor;
|
|
271
|
-
}>> & {
|
|
253
|
+
ElMenuItem: import("element-plus/es/utils/vue/typescript.mjs").SFCWithInstall<{
|
|
254
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("element-plus").MenuItemProps> & Readonly<{
|
|
272
255
|
onClick?: ((item: import("element-plus").MenuItemRegistered) => any) | undefined;
|
|
273
|
-
}
|
|
256
|
+
}>, {
|
|
274
257
|
parentMenu: import("vue").ComputedRef<import("vue").ComponentInternalInstance>;
|
|
275
258
|
rootMenu: import("element-plus").MenuProvider;
|
|
276
259
|
active: import("vue").ComputedRef<boolean>;
|
|
@@ -311,30 +294,18 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
311
294
|
cssVarBlockName: (name: string) => string;
|
|
312
295
|
};
|
|
313
296
|
handleClick: () => void;
|
|
314
|
-
},
|
|
297
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
315
298
|
click: (item: import("element-plus").MenuItemRegistered) => void;
|
|
316
|
-
}, import("vue").
|
|
317
|
-
readonly disabled: boolean;
|
|
318
|
-
readonly index: import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => string) | (() => string | null) | ((new (...args: any[]) => string) | (() => string | null))[], unknown, unknown>;
|
|
319
|
-
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
299
|
+
}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
320
300
|
P: {};
|
|
321
301
|
B: {};
|
|
322
302
|
D: {};
|
|
323
303
|
C: {};
|
|
324
304
|
M: {};
|
|
325
305
|
Defaults: {};
|
|
326
|
-
}, Readonly<import("
|
|
327
|
-
readonly index: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => string) | (() => string | null) | ((new (...args: any[]) => string) | (() => string | null))[], unknown, unknown, null, boolean>;
|
|
328
|
-
readonly route: {
|
|
329
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => import("vue-router").RouteLocationRaw & {}) | (() => import("vue-router").RouteLocationRaw) | ((new (...args: any[]) => import("vue-router").RouteLocationRaw & {}) | (() => import("vue-router").RouteLocationRaw))[], unknown, unknown>>;
|
|
330
|
-
readonly required: false;
|
|
331
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
332
|
-
__epPropKey: true;
|
|
333
|
-
};
|
|
334
|
-
readonly disabled: BooleanConstructor;
|
|
335
|
-
}>> & {
|
|
306
|
+
}, Readonly<import("element-plus").MenuItemProps> & Readonly<{
|
|
336
307
|
onClick?: ((item: import("element-plus").MenuItemRegistered) => any) | undefined;
|
|
337
|
-
}
|
|
308
|
+
}>, {
|
|
338
309
|
parentMenu: import("vue").ComputedRef<import("vue").ComponentInternalInstance>;
|
|
339
310
|
rootMenu: import("element-plus").MenuProvider;
|
|
340
311
|
active: import("vue").ComputedRef<boolean>;
|
|
@@ -375,25 +346,13 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
375
346
|
cssVarBlockName: (name: string) => string;
|
|
376
347
|
};
|
|
377
348
|
handleClick: () => void;
|
|
378
|
-
}, {}, {}, {}, {
|
|
379
|
-
readonly disabled: boolean;
|
|
380
|
-
readonly index: import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => string) | (() => string | null) | ((new (...args: any[]) => string) | (() => string | null))[], unknown, unknown>;
|
|
381
|
-
}>;
|
|
349
|
+
}, {}, {}, {}, {}>;
|
|
382
350
|
__isFragment?: never;
|
|
383
351
|
__isTeleport?: never;
|
|
384
352
|
__isSuspense?: never;
|
|
385
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("
|
|
386
|
-
readonly index: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => string) | (() => string | null) | ((new (...args: any[]) => string) | (() => string | null))[], unknown, unknown, null, boolean>;
|
|
387
|
-
readonly route: {
|
|
388
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => import("vue-router").RouteLocationRaw & {}) | (() => import("vue-router").RouteLocationRaw) | ((new (...args: any[]) => import("vue-router").RouteLocationRaw & {}) | (() => import("vue-router").RouteLocationRaw))[], unknown, unknown>>;
|
|
389
|
-
readonly required: false;
|
|
390
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
391
|
-
__epPropKey: true;
|
|
392
|
-
};
|
|
393
|
-
readonly disabled: BooleanConstructor;
|
|
394
|
-
}>> & {
|
|
353
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("element-plus").MenuItemProps> & Readonly<{
|
|
395
354
|
onClick?: ((item: import("element-plus").MenuItemRegistered) => any) | undefined;
|
|
396
|
-
}
|
|
355
|
+
}>, {
|
|
397
356
|
parentMenu: import("vue").ComputedRef<import("vue").ComponentInternalInstance>;
|
|
398
357
|
rootMenu: import("element-plus").MenuProvider;
|
|
399
358
|
active: import("vue").ComputedRef<boolean>;
|
|
@@ -434,17 +393,17 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
434
393
|
cssVarBlockName: (name: string) => string;
|
|
435
394
|
};
|
|
436
395
|
handleClick: () => void;
|
|
437
|
-
},
|
|
396
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
438
397
|
click: (item: import("element-plus").MenuItemRegistered) => void;
|
|
439
|
-
}, string, {
|
|
440
|
-
readonly disabled: boolean;
|
|
441
|
-
readonly index: import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => string) | (() => string | null) | ((new (...args: any[]) => string) | (() => string | null))[], unknown, unknown>;
|
|
442
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
398
|
+
}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
443
399
|
$slots: {
|
|
444
|
-
title
|
|
445
|
-
|
|
446
|
-
default
|
|
447
|
-
|
|
400
|
+
title?: (props: {}) => any;
|
|
401
|
+
} & {
|
|
402
|
+
default?: (props: {}) => any;
|
|
403
|
+
} & {
|
|
404
|
+
default?: (props: {}) => any;
|
|
405
|
+
} & {
|
|
406
|
+
title?: (props: {}) => any;
|
|
448
407
|
};
|
|
449
408
|
})>;
|
|
450
409
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as Y, inject as ne, ref as p, computed as L, onBeforeUnmount as re, toRef as J,
|
|
1
|
+
import { defineComponent as Y, inject as ne, ref as p, computed as L, onBeforeUnmount as re, toRef as J, openBlock as P, createBlock as $, Transition as ve, unref as R, withCtx as j, withDirectives as me, createElementVNode as K, withModifiers as de, normalizeClass as O, normalizeStyle as U, vShow as pe, createElementBlock as ae, Fragment as he, createVNode as q, watch as Q, nextTick as D, provide as be, reactive as ge, onActivated as we, onMounted as Se, onUpdated as ye, resolveDynamicComponent as ze, renderSlot as Ee, createCommentVNode as Te } from "vue";
|
|
2
2
|
import { useEventListener as X, isClient as He, useResizeObserver as Z, useMutationObserver as ke, isObject as Re } from "@vueuse/core";
|
|
3
3
|
import { VkAsyncTeleport as Le } from "@vunk/core/components/async-teleport";
|
|
4
4
|
import { scrollbarContextKey as F, useNamespace as se, BAR_MAP as Ne, renderThumbStyle as Ce, GAP as k, SCOPE as Ae, scrollbarEmits as Me, scrollbarProps as Pe } from "element-plus";
|
|
@@ -367,7 +367,7 @@ const Ie = ["tabindex"], le = "ElScrollbar", V = /* @__PURE__ */ Y({
|
|
|
367
367
|
tabindex: e.tabindex,
|
|
368
368
|
onScroll: d
|
|
369
369
|
}, [
|
|
370
|
-
(P(), $(
|
|
370
|
+
(P(), $(ze(e.tag), {
|
|
371
371
|
id: e.id,
|
|
372
372
|
ref_key: "resizeRef",
|
|
373
373
|
ref: y,
|
|
@@ -378,12 +378,12 @@ const Ie = ["tabindex"], le = "ElScrollbar", V = /* @__PURE__ */ Y({
|
|
|
378
378
|
"aria-orientation": e.ariaOrientation
|
|
379
379
|
}, {
|
|
380
380
|
default: j(() => [
|
|
381
|
-
|
|
381
|
+
Ee(e.$slots, "default")
|
|
382
382
|
]),
|
|
383
383
|
_: 3
|
|
384
384
|
}, 8, ["id", "class", "style", "role", "aria-label", "aria-orientation"]))
|
|
385
385
|
], 46, Ie),
|
|
386
|
-
e.native ?
|
|
386
|
+
e.native ? Te("", !0) : (P(), $(R(Le), {
|
|
387
387
|
key: 0,
|
|
388
388
|
disabled: !r.appendTo,
|
|
389
389
|
to: r.appendTo
|
|
@@ -12,7 +12,7 @@ type __VLS_Slots = {} & {
|
|
|
12
12
|
default?: (props: typeof __VLS_9) => any;
|
|
13
13
|
};
|
|
14
14
|
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
15
|
-
appendTo:
|
|
15
|
+
appendTo: any;
|
|
16
16
|
hideAfter: {
|
|
17
17
|
type: NumberConstructor;
|
|
18
18
|
default: number;
|
|
@@ -24,19 +24,19 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
24
24
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
25
25
|
__epPropKey: true;
|
|
26
26
|
};
|
|
27
|
-
distance: import("element-plus/es/utils/
|
|
28
|
-
height: import("element-plus/es/utils/
|
|
29
|
-
maxHeight: import("element-plus/es/utils/
|
|
27
|
+
distance: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
28
|
+
height: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
29
|
+
maxHeight: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
30
30
|
native: BooleanConstructor;
|
|
31
|
-
wrapStyle: import("element-plus/es/utils/
|
|
32
|
-
wrapClass: import("element-plus/es/utils/
|
|
33
|
-
viewClass: import("element-plus/es/utils/
|
|
34
|
-
viewStyle: import("element-plus/es/utils/
|
|
31
|
+
wrapStyle: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<(new (...args: any[]) => string | false | CSSProperties | StyleValue[]) | (() => StyleValue) | (((new (...args: any[]) => string | false | CSSProperties | StyleValue[]) | (() => StyleValue)) | null)[], unknown, unknown, "", boolean>;
|
|
32
|
+
wrapClass: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<(new (...args: any[]) => string | false | Record<string, any> | import("element-plus/es/utils/typescript.mjs").ClassValue[]) | (() => import("element-plus/es/utils/typescript.mjs").ClassValue) | (((new (...args: any[]) => string | false | Record<string, any> | import("element-plus/es/utils/typescript.mjs").ClassValue[]) | (() => import("element-plus/es/utils/typescript.mjs").ClassValue)) | null)[], unknown, unknown, "", boolean>;
|
|
33
|
+
viewClass: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<(new (...args: any[]) => string | false | Record<string, any> | import("element-plus/es/utils/typescript.mjs").ClassValue[]) | (() => import("element-plus/es/utils/typescript.mjs").ClassValue) | (((new (...args: any[]) => string | false | Record<string, any> | import("element-plus/es/utils/typescript.mjs").ClassValue[]) | (() => import("element-plus/es/utils/typescript.mjs").ClassValue)) | null)[], unknown, unknown, "", boolean>;
|
|
34
|
+
viewStyle: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<(new (...args: any[]) => string | false | CSSProperties | StyleValue[]) | (() => StyleValue) | (((new (...args: any[]) => string | false | CSSProperties | StyleValue[]) | (() => StyleValue)) | null)[], unknown, unknown, "", boolean>;
|
|
35
35
|
noresize: BooleanConstructor;
|
|
36
|
-
tag: import("element-plus/es/utils/
|
|
36
|
+
tag: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<StringConstructor, unknown, unknown, "div", boolean>;
|
|
37
37
|
always: BooleanConstructor;
|
|
38
|
-
minSize: import("element-plus/es/utils/
|
|
39
|
-
tabindex: import("element-plus/es/utils/
|
|
38
|
+
minSize: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<NumberConstructor, unknown, unknown, 20, boolean>;
|
|
39
|
+
tabindex: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, undefined, boolean>;
|
|
40
40
|
id: StringConstructor;
|
|
41
41
|
role: StringConstructor;
|
|
42
42
|
}>, {
|
|
@@ -45,7 +45,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
45
45
|
/** @description scrollToBottom method */
|
|
46
46
|
scrollToBottom: typeof scrollToBottom;
|
|
47
47
|
/** @description scrollbar wrap ref */
|
|
48
|
-
wrapRef: import("vue").Ref<HTMLDivElement
|
|
48
|
+
wrapRef: import("vue").Ref<HTMLDivElement, HTMLDivElement>;
|
|
49
49
|
/** @description update scrollbar state manually */
|
|
50
50
|
update: typeof update;
|
|
51
51
|
/** @description scrolls to a particular set of coordinates */
|
|
@@ -67,7 +67,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
67
67
|
}) => void;
|
|
68
68
|
"end-reached": (direction: ScrollbarDirection) => void;
|
|
69
69
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
70
|
-
appendTo:
|
|
70
|
+
appendTo: any;
|
|
71
71
|
hideAfter: {
|
|
72
72
|
type: NumberConstructor;
|
|
73
73
|
default: number;
|
|
@@ -79,46 +79,47 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
79
79
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
80
80
|
__epPropKey: true;
|
|
81
81
|
};
|
|
82
|
-
distance: import("element-plus/es/utils/
|
|
83
|
-
height: import("element-plus/es/utils/
|
|
84
|
-
maxHeight: import("element-plus/es/utils/
|
|
82
|
+
distance: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
83
|
+
height: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
84
|
+
maxHeight: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
85
85
|
native: BooleanConstructor;
|
|
86
|
-
wrapStyle: import("element-plus/es/utils/
|
|
87
|
-
wrapClass: import("element-plus/es/utils/
|
|
88
|
-
viewClass: import("element-plus/es/utils/
|
|
89
|
-
viewStyle: import("element-plus/es/utils/
|
|
86
|
+
wrapStyle: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<(new (...args: any[]) => string | false | CSSProperties | StyleValue[]) | (() => StyleValue) | (((new (...args: any[]) => string | false | CSSProperties | StyleValue[]) | (() => StyleValue)) | null)[], unknown, unknown, "", boolean>;
|
|
87
|
+
wrapClass: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<(new (...args: any[]) => string | false | Record<string, any> | import("element-plus/es/utils/typescript.mjs").ClassValue[]) | (() => import("element-plus/es/utils/typescript.mjs").ClassValue) | (((new (...args: any[]) => string | false | Record<string, any> | import("element-plus/es/utils/typescript.mjs").ClassValue[]) | (() => import("element-plus/es/utils/typescript.mjs").ClassValue)) | null)[], unknown, unknown, "", boolean>;
|
|
88
|
+
viewClass: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<(new (...args: any[]) => string | false | Record<string, any> | import("element-plus/es/utils/typescript.mjs").ClassValue[]) | (() => import("element-plus/es/utils/typescript.mjs").ClassValue) | (((new (...args: any[]) => string | false | Record<string, any> | import("element-plus/es/utils/typescript.mjs").ClassValue[]) | (() => import("element-plus/es/utils/typescript.mjs").ClassValue)) | null)[], unknown, unknown, "", boolean>;
|
|
89
|
+
viewStyle: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<(new (...args: any[]) => string | false | CSSProperties | StyleValue[]) | (() => StyleValue) | (((new (...args: any[]) => string | false | CSSProperties | StyleValue[]) | (() => StyleValue)) | null)[], unknown, unknown, "", boolean>;
|
|
90
90
|
noresize: BooleanConstructor;
|
|
91
|
-
tag: import("element-plus/es/utils/
|
|
91
|
+
tag: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<StringConstructor, unknown, unknown, "div", boolean>;
|
|
92
92
|
always: BooleanConstructor;
|
|
93
|
-
minSize: import("element-plus/es/utils/
|
|
94
|
-
tabindex: import("element-plus/es/utils/
|
|
93
|
+
minSize: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<NumberConstructor, unknown, unknown, 20, boolean>;
|
|
94
|
+
tabindex: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, undefined, boolean>;
|
|
95
95
|
id: StringConstructor;
|
|
96
96
|
role: StringConstructor;
|
|
97
97
|
}>> & Readonly<{
|
|
98
|
-
onScroll?: (
|
|
98
|
+
onScroll?: (args_0: {
|
|
99
99
|
scrollTop: number;
|
|
100
100
|
scrollLeft: number;
|
|
101
|
-
}) => any
|
|
102
|
-
onContentInsufficient?: (
|
|
101
|
+
}) => any;
|
|
102
|
+
onContentInsufficient?: (_: {
|
|
103
103
|
vertical: boolean;
|
|
104
104
|
horizontal: boolean;
|
|
105
|
-
}) => any
|
|
106
|
-
"onEnd-reached"?: (
|
|
105
|
+
}) => any;
|
|
106
|
+
"onEnd-reached"?: (direction: ScrollbarDirection) => any;
|
|
107
107
|
}>, {
|
|
108
108
|
always: boolean;
|
|
109
109
|
hideAfter: number;
|
|
110
110
|
minSize: number;
|
|
111
|
+
appendTo: any;
|
|
111
112
|
distance: number;
|
|
112
|
-
height: import("element-plus/es/utils/
|
|
113
|
-
maxHeight: import("element-plus/es/utils/
|
|
113
|
+
height: import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
114
|
+
maxHeight: import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
114
115
|
native: boolean;
|
|
115
116
|
wrapStyle: StyleValue;
|
|
116
|
-
wrapClass:
|
|
117
|
-
viewClass:
|
|
118
|
-
viewStyle:
|
|
117
|
+
wrapClass: "";
|
|
118
|
+
viewClass: "";
|
|
119
|
+
viewStyle: StyleValue;
|
|
119
120
|
noresize: boolean;
|
|
120
121
|
tag: string;
|
|
121
|
-
tabindex: import("element-plus/es/utils/
|
|
122
|
+
tabindex: import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
122
123
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
123
124
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
124
125
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export declare const isNumber: (val: any) => val is number;
|
|
2
2
|
export declare function isStringNumber(val: string): boolean;
|
|
3
|
-
export declare function addUnit(value?: string | number, defaultUnit?: string): string
|
|
3
|
+
export declare function addUnit(value?: string | number, defaultUnit?: string): string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),f=require("@ant-design/icons-vue"),c=require("@vunk/core/composables"),B=require("ant
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),f=require("@ant-design/icons-vue"),c=require("@vunk/core/composables"),B=require("@vunk/plus/ant"),k=require("@vunk/plus/antx"),O=require("@vunk/shared/function"),q=require("element-plus"),E={fileList:{type:Array,default:void 0},action:{type:String,default:""},modelValue:{type:String,default:""},loading:{type:Boolean,default:void 0},modules:{type:Array,default:()=>[]},sendDisabled:{type:Boolean,default:!1},attachmentsVisible:{type:Boolean,default:void 0},createSendButton:{type:Function,default:void 0},createAttachmentsButton:{type:Function,default:void 0},autoSize:{type:Object,default:void 0},attachmentsProps:{type:Object,default:()=>({})},attachmentsPlaceholder:{type:String,default:"点击上传或拖拽文件到此处"}},L={"update:fileList":o=>!0,"update:modelValue":o=>!0,"update:attachmentsVisible":o=>!0,submit:o=>!0,cancel:null},R={class:"ant-sender-header-header"},z={class:"ant-sender-header-header-title"},F={class:"ant-sender-header-header-close"},b=e.defineComponent({name:"AXSenderHeader",inheritAttrs:!1,__name:"SenderHeader",props:{modelValue:{type:Boolean,default:!1},title:{type:String,default:"Sender"},contentRef:{type:Function,default:O.noop}},emits:{"update:modelValue":null},setup(o){return(r,a)=>(e.openBlock(),e.createBlock(e.unref(q.ElCollapseTransition),null,{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",e.mergeProps({class:"ant-sender-header"},r.$attrs),[e.createElementVNode("div",R,[e.createElementVNode("div",z,e.toDisplayString(o.title),1),e.createElementVNode("div",F,[e.createVNode(e.unref(B.Button),{type:"text",size:"small",onClick:a[0]||(a[0]=u=>r.$emit("update:modelValue",!1))},{icon:e.withCtx(()=>[e.createVNode(e.unref(f.CloseOutlined))]),_:1})])]),e.createElementVNode("div",{ref:o.contentRef,class:"ant-sender-header-content"},[e.renderSlot(r.$slots,"default")],512)],16),[[e.vShow,o.modelValue]])]),_:3}))}}),d=e.defineComponent({name:"VkSender",__name:"index",props:E,emits:L,setup(o,{emit:r}){const a=o,u=r,m=e.useSlots(),p=e.computed(()=>a.modules.includes("Attachments")),h=c.useModelComputed({key:"loading",default:!1},a,u),s=c.useModelComputed({key:"attachmentsVisible",default:!1},a,u);function g(t={}){const{SendButton:l,LoadingButton:n}=t;return h.value?e.createVNode(n,null,null):e.createVNode(l,{disabled:a.sendDisabled},null)}function v(t){return(a.createSendButton||g)(t)}function C(){return e.createVNode(B.Button,{type:"text",onClick:()=>s.value=!s.value},{icon:()=>e.createVNode(f.LinkOutlined,null,null)})}function V(){const t=a.createAttachmentsButton||C;return p.value?t():null}const N=(t,l)=>{const{SendButton:n,LoadingButton:i}=l.components,D=v({SendButton:n,LoadingButton:i});return e.createVNode("div",{class:"vk-sender-actions"},[e.createVNode("div",{class:"vk-sender-actions__before"},[m.actions_before?.()]),e.createVNode("div",{class:"vk-sender-actions__after"},[m.actions_after?.()??D])])},_=t=>t==="drop"?{title:"请将文件拖到此处"}:{icon:e.createVNode(f.CloudUploadOutlined,null,null),title:"上传文件",description:a.attachmentsPlaceholder},y=c.useModelComputed({key:"fileList",default:[]},a,u),w=e.ref(),S=c.useDeferred(),$=S.resolve;async function P(t){s.value=!0;const l=await S.promise;await e.nextTick();const n=l.querySelector('input[type="file"]');if(n){const i=new DataTransfer;i.items.add(t),n.files=i.files,n.dispatchEvent(new Event("change",{bubbles:!0}))}}function A(t){y.value=t.fileList}return(t,l)=>(e.openBlock(),e.createBlock(e.unref(k.Sender),{class:"vk-sender",value:t.modelValue,loading:e.unref(h),"allow-speech":!0,actions:N,"on-submit":n=>{!t.sendDisabled&&t.$emit("submit",n)},"on-cancel":()=>t.$emit("cancel"),"auto-size":t.autoSize,"onUpdate:value":l[1]||(l[1]=n=>t.$emit("update:modelValue",n)),onPasteFile:P},e.createSlots({header:e.withCtx(()=>[p.value?(e.openBlock(),e.createBlock(b,{key:0,modelValue:e.unref(s),"onUpdate:modelValue":l[0]||(l[0]=n=>e.isRef(s)?s.value=n:null),title:"附件","content-ref":e.unref($)},{default:e.withCtx(()=>[e.createVNode(e.unref(k.Attachments),e.mergeProps({ref_key:"attachmentsRef",ref:w,items:e.unref(y),placeholder:_,action:t.action,multiple:""},t.attachmentsProps,{onChange:A}),null,16,["items","action"])]),_:1},8,["modelValue","content-ref"])):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"header")]),prefix:e.withCtx(()=>[t.$slots.prefix?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(V()),{key:0})),e.renderSlot(t.$slots,"prefix")]),_:2},[t.$slots.footer?{name:"footer",fn:e.withCtx(({info:n})=>[e.renderSlot(t.$slots,"footer",{sendButton:v(n.components),attachmentsButton:V(),info:n})]),key:"0"}:void 0]),1032,["value","loading","on-submit","on-cancel","auto-size"]))}}),M=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));d.install=o=>{o.component(d.name||"VkSender",d)};exports.VkSender=d;exports.VkSenderHeader=b;exports.__VkSender=M;exports.default=d;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as C,
|
|
1
|
+
import { defineComponent as C, openBlock as m, createBlock as p, unref as s, withCtx as i, withDirectives as E, createElementVNode as u, mergeProps as A, toDisplayString as H, createVNode as l, renderSlot as h, vShow as N, useSlots as U, computed as W, ref as M, createSlots as q, resolveDynamicComponent as I, createCommentVNode as $, isRef as X, nextTick as G } from "vue";
|
|
2
2
|
import { CloseOutlined as J, CloudUploadOutlined as K, LinkOutlined as Q } from "@ant-design/icons-vue";
|
|
3
3
|
import { useModelComputed as v, useDeferred as Y } from "@vunk/core/composables";
|
|
4
|
-
import { Button as D } from "ant
|
|
5
|
-
import { Sender as Z, Attachments as x } from "
|
|
4
|
+
import { Button as D } from "@vunk/plus/ant";
|
|
5
|
+
import { Sender as Z, Attachments as x } from "@vunk/plus/antx";
|
|
6
6
|
import { noop as ee } from "@vunk/shared/function";
|
|
7
7
|
import { ElCollapseTransition as te } from "element-plus";
|
|
8
8
|
const ne = {
|
|
@@ -121,7 +121,7 @@ const ne = {
|
|
|
121
121
|
"update:modelValue": null
|
|
122
122
|
},
|
|
123
123
|
setup(n) {
|
|
124
|
-
return (d, a) => (
|
|
124
|
+
return (d, a) => (m(), p(s(te), null, {
|
|
125
125
|
default: i(() => [E(u("div", A({
|
|
126
126
|
class: "ant-sender-header"
|
|
127
127
|
}, d.$attrs), [u("div", oe, [u("div", le, H(n.title), 1), u("div", se, [l(s(D), {
|
|
@@ -217,7 +217,7 @@ const ne = {
|
|
|
217
217
|
function T(e) {
|
|
218
218
|
g.value = e.fileList;
|
|
219
219
|
}
|
|
220
|
-
return (e, o) => (
|
|
220
|
+
return (e, o) => (m(), p(s(Z), {
|
|
221
221
|
class: "vk-sender",
|
|
222
222
|
value: e.modelValue,
|
|
223
223
|
loading: s(V),
|
|
@@ -231,7 +231,7 @@ const ne = {
|
|
|
231
231
|
"onUpdate:value": o[1] || (o[1] = (t) => e.$emit("update:modelValue", t)),
|
|
232
232
|
onPasteFile: F
|
|
233
233
|
}, q({
|
|
234
|
-
header: i(() => [k.value ? (
|
|
234
|
+
header: i(() => [k.value ? (m(), p(re, {
|
|
235
235
|
key: 0,
|
|
236
236
|
modelValue: s(r),
|
|
237
237
|
"onUpdate:modelValue": o[0] || (o[0] = (t) => X(r) ? r.value = t : null),
|
|
@@ -250,7 +250,7 @@ const ne = {
|
|
|
250
250
|
}), null, 16, ["items", "action"])]),
|
|
251
251
|
_: 1
|
|
252
252
|
}, 8, ["modelValue", "content-ref"])) : $("", !0), h(e.$slots, "header")]),
|
|
253
|
-
prefix: i(() => [e.$slots.prefix ? $("", !0) : (
|
|
253
|
+
prefix: i(() => [e.$slots.prefix ? $("", !0) : (m(), p(I(B()), {
|
|
254
254
|
key: 0
|
|
255
255
|
})), h(e.$slots, "prefix")]),
|
|
256
256
|
_: 2
|
|
@@ -18,7 +18,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
18
18
|
default: AnyFunc;
|
|
19
19
|
};
|
|
20
20
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
21
|
-
"update:modelValue": (...args: any[]) => void;
|
|
21
|
+
"update:modelValue": ((...args: unknown[]) => void) & ((...args: any[]) => void);
|
|
22
22
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
23
23
|
modelValue: {
|
|
24
24
|
type: BooleanConstructor;
|
|
@@ -33,7 +33,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
33
33
|
default: AnyFunc;
|
|
34
34
|
};
|
|
35
35
|
}>> & Readonly<{
|
|
36
|
-
"onUpdate:modelValue"?: (
|
|
36
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
37
37
|
}>, {
|
|
38
38
|
title: string;
|
|
39
39
|
modelValue: boolean;
|