@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
|
@@ -4,7 +4,7 @@ import { setData as I } from "@vunk/core";
|
|
|
4
4
|
import { useDeferred as q, useDataComputed as z } from "@vunk/core/composables";
|
|
5
5
|
import { blobToDataURL as J } from "@vunk/shared/data/blob";
|
|
6
6
|
import { TickerStatus as m } from "@vunk/shared/enum";
|
|
7
|
-
import { shallowRef as F, computed as w, watch as _, onBeforeUnmount as W, watchEffect as Q, defineComponent as B, onMounted as x, renderSlot as S, nextTick as G, createCommentVNode as K, ref as X, resolveComponent as T,
|
|
7
|
+
import { shallowRef as F, computed as w, watch as _, onBeforeUnmount as W, watchEffect as Q, defineComponent as B, onMounted as x, renderSlot as S, nextTick as G, createCommentVNode as K, ref as X, resolveComponent as T, openBlock as $, createElementBlock as D, Fragment as j, createVNode as A, renderList as Y, createBlock as Z, withCtx as ee } from "vue";
|
|
8
8
|
import { noop as L } from "@vunk/shared/function";
|
|
9
9
|
import { Howl as M } from "howler";
|
|
10
10
|
import { Deferred as te } from "@vunk/shared/promise";
|
|
@@ -233,10 +233,7 @@ const le = /* @__PURE__ */ B({
|
|
|
233
233
|
u.value = o;
|
|
234
234
|
});
|
|
235
235
|
}
|
|
236
|
-
return (o, d) => e.enable && u.value ? S(o.$slots, "default", {
|
|
237
|
-
key: 0,
|
|
238
|
-
deferred: u.value
|
|
239
|
-
}) : K("", !0);
|
|
236
|
+
return (o, d) => e.enable && u.value ? S(o.$slots, "default", { deferred: u.value }, void 0, void 0, 0) : K("", !0);
|
|
240
237
|
}
|
|
241
238
|
});
|
|
242
239
|
function ce(e) {
|
|
@@ -32,7 +32,7 @@ export declare const props: {
|
|
|
32
32
|
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
33
33
|
readonly [Symbol.species]: ArrayConstructor;
|
|
34
34
|
};
|
|
35
|
-
default:
|
|
35
|
+
default: any;
|
|
36
36
|
};
|
|
37
37
|
/**
|
|
38
38
|
* @description md 文本
|
|
@@ -82,7 +82,7 @@ export declare const props: {
|
|
|
82
82
|
*/
|
|
83
83
|
textToSpeech: {
|
|
84
84
|
type: PropType<TextToSpeech>;
|
|
85
|
-
default:
|
|
85
|
+
default: any;
|
|
86
86
|
};
|
|
87
87
|
/**
|
|
88
88
|
* @description 段落处理函数
|
|
@@ -19,9 +19,9 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
19
19
|
default: TickerStatus;
|
|
20
20
|
};
|
|
21
21
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
22
|
-
error: (...args: any[]) => void;
|
|
23
|
-
load: (...args: any[]) => void;
|
|
24
|
-
"update:status": (...args: any[]) => void;
|
|
22
|
+
error: ((...args: unknown[]) => void) & ((...args: any[]) => void);
|
|
23
|
+
load: ((...args: unknown[]) => void) & ((...args: any[]) => void);
|
|
24
|
+
"update:status": ((...args: unknown[]) => void) & ((...args: any[]) => void);
|
|
25
25
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
26
26
|
/**
|
|
27
27
|
* 语音资源
|
|
@@ -35,9 +35,9 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
35
35
|
default: TickerStatus;
|
|
36
36
|
};
|
|
37
37
|
}>> & Readonly<{
|
|
38
|
-
onError?: (
|
|
39
|
-
onLoad?: (
|
|
40
|
-
"onUpdate:status"?: (
|
|
38
|
+
onError?: (...args: any[]) => any;
|
|
39
|
+
onLoad?: (...args: any[]) => any;
|
|
40
|
+
"onUpdate:status"?: (...args: any[]) => any;
|
|
41
41
|
}>, {
|
|
42
42
|
source: string;
|
|
43
43
|
status: TickerStatus;
|
|
@@ -25,7 +25,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
25
25
|
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
26
26
|
readonly [Symbol.species]: ArrayConstructor;
|
|
27
27
|
};
|
|
28
|
-
default:
|
|
28
|
+
default: any;
|
|
29
29
|
};
|
|
30
30
|
source: {
|
|
31
31
|
type: StringConstructor;
|
|
@@ -60,7 +60,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
60
60
|
};
|
|
61
61
|
textToSpeech: {
|
|
62
62
|
type: import("vue").PropType<import("./types").TextToSpeech>;
|
|
63
|
-
default:
|
|
63
|
+
default: any;
|
|
64
64
|
};
|
|
65
65
|
processing: {
|
|
66
66
|
type: import("vue").PropType<(paragraph: Paragraph) => void>;
|
|
@@ -115,7 +115,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
115
115
|
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
116
116
|
readonly [Symbol.species]: ArrayConstructor;
|
|
117
117
|
};
|
|
118
|
-
default:
|
|
118
|
+
default: any;
|
|
119
119
|
};
|
|
120
120
|
source: {
|
|
121
121
|
type: StringConstructor;
|
|
@@ -150,7 +150,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
150
150
|
};
|
|
151
151
|
textToSpeech: {
|
|
152
152
|
type: import("vue").PropType<import("./types").TextToSpeech>;
|
|
153
|
-
default:
|
|
153
|
+
default: any;
|
|
154
154
|
};
|
|
155
155
|
processing: {
|
|
156
156
|
type: import("vue").PropType<(paragraph: Paragraph) => void>;
|
|
@@ -169,15 +169,15 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
169
169
|
default: boolean;
|
|
170
170
|
};
|
|
171
171
|
}>> & Readonly<{
|
|
172
|
-
onComplete?: (
|
|
173
|
-
"onUpdate:status"?: (
|
|
174
|
-
onSetData?: (
|
|
175
|
-
onParagraphLoad?: (
|
|
172
|
+
onComplete?: () => any;
|
|
173
|
+
"onUpdate:status"?: (_: TickerStatus) => any;
|
|
174
|
+
onSetData?: (e: import("@vunk/core").SetDataEvent) => any;
|
|
175
|
+
onParagraphLoad?: (_: import("./types").ParagraphLoadEvent) => any;
|
|
176
176
|
}>, {
|
|
177
177
|
data: Paragraph[];
|
|
178
178
|
source: string;
|
|
179
|
-
disabled: boolean;
|
|
180
179
|
render: (text: string) => string;
|
|
180
|
+
disabled: boolean;
|
|
181
181
|
processing: (paragraph: Paragraph) => void;
|
|
182
182
|
delay: number;
|
|
183
183
|
status: TickerStatus;
|
|
@@ -201,7 +201,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
201
201
|
default: import("@vunk/shared").AnyFunc;
|
|
202
202
|
};
|
|
203
203
|
}>> & Readonly<{
|
|
204
|
-
"onUpdate:status"?: (
|
|
204
|
+
"onUpdate:status"?: (...args: any[]) => any;
|
|
205
205
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
206
206
|
"update:status": (...args: any[]) => void;
|
|
207
207
|
}, import("vue").PublicProps, {
|
|
@@ -229,7 +229,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
229
229
|
default: import("@vunk/shared").AnyFunc;
|
|
230
230
|
};
|
|
231
231
|
}>> & Readonly<{
|
|
232
|
-
"onUpdate:status"?: (
|
|
232
|
+
"onUpdate:status"?: (...args: any[]) => any;
|
|
233
233
|
}>, {}, {}, {}, {}, {
|
|
234
234
|
processing: import("@vunk/shared").AnyFunc;
|
|
235
235
|
status: ParagraphStatus;
|
|
@@ -252,7 +252,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
252
252
|
default: import("@vunk/shared").AnyFunc;
|
|
253
253
|
};
|
|
254
254
|
}>> & Readonly<{
|
|
255
|
-
"onUpdate:status"?: (
|
|
255
|
+
"onUpdate:status"?: (...args: any[]) => any;
|
|
256
256
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
257
257
|
"update:status": (...args: any[]) => void;
|
|
258
258
|
}, string, {
|
|
@@ -277,13 +277,13 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
277
277
|
default: TickerStatus;
|
|
278
278
|
};
|
|
279
279
|
}>> & Readonly<{
|
|
280
|
-
onError?: (
|
|
281
|
-
onLoad?: (
|
|
282
|
-
"onUpdate:status"?: (
|
|
280
|
+
onError?: (...args: any[]) => any;
|
|
281
|
+
onLoad?: (...args: any[]) => any;
|
|
282
|
+
"onUpdate:status"?: (...args: any[]) => any;
|
|
283
283
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
284
|
-
error: (...args: any[]) => void;
|
|
285
|
-
load: (...args: any[]) => void;
|
|
286
|
-
"update:status": (...args: any[]) => void;
|
|
284
|
+
error: ((...args: unknown[]) => void) & ((...args: any[]) => void);
|
|
285
|
+
load: ((...args: unknown[]) => void) & ((...args: any[]) => void);
|
|
286
|
+
"update:status": ((...args: unknown[]) => void) & ((...args: any[]) => void);
|
|
287
287
|
}, import("vue").PublicProps, {
|
|
288
288
|
source: string;
|
|
289
289
|
status: TickerStatus;
|
|
@@ -304,9 +304,9 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
304
304
|
default: TickerStatus;
|
|
305
305
|
};
|
|
306
306
|
}>> & Readonly<{
|
|
307
|
-
onError?: (
|
|
308
|
-
onLoad?: (
|
|
309
|
-
"onUpdate:status"?: (
|
|
307
|
+
onError?: (...args: any[]) => any;
|
|
308
|
+
onLoad?: (...args: any[]) => any;
|
|
309
|
+
"onUpdate:status"?: (...args: any[]) => any;
|
|
310
310
|
}>, {}, {}, {}, {}, {
|
|
311
311
|
source: string;
|
|
312
312
|
status: TickerStatus;
|
|
@@ -324,13 +324,13 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
324
324
|
default: TickerStatus;
|
|
325
325
|
};
|
|
326
326
|
}>> & Readonly<{
|
|
327
|
-
onError?: (
|
|
328
|
-
onLoad?: (
|
|
329
|
-
"onUpdate:status"?: (
|
|
327
|
+
onError?: (...args: any[]) => any;
|
|
328
|
+
onLoad?: (...args: any[]) => any;
|
|
329
|
+
"onUpdate:status"?: (...args: any[]) => any;
|
|
330
330
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
331
|
-
error: (...args: any[]) => void;
|
|
332
|
-
load: (...args: any[]) => void;
|
|
333
|
-
"update:status": (...args: any[]) => void;
|
|
331
|
+
error: ((...args: unknown[]) => void) & ((...args: any[]) => void);
|
|
332
|
+
load: ((...args: unknown[]) => void) & ((...args: any[]) => void);
|
|
333
|
+
"update:status": ((...args: unknown[]) => void) & ((...args: any[]) => void);
|
|
334
334
|
}, string, {
|
|
335
335
|
source: string;
|
|
336
336
|
status: TickerStatus;
|
|
@@ -360,7 +360,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
360
360
|
};
|
|
361
361
|
markdownItSetup: {
|
|
362
362
|
type: import("vue").PropType<(md: import("markdown-it-async").MarkdownItAsync) => void>;
|
|
363
|
-
default:
|
|
363
|
+
default: any;
|
|
364
364
|
};
|
|
365
365
|
finished: {
|
|
366
366
|
type: BooleanConstructor;
|
|
@@ -373,8 +373,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
373
373
|
htmlText: import("vue").Ref<string, string>;
|
|
374
374
|
isDebouncedTyping: Readonly<import("vue").Ref<boolean, boolean>>;
|
|
375
375
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
376
|
-
typing:
|
|
377
|
-
'update:finished':
|
|
376
|
+
typing: any;
|
|
377
|
+
'update:finished': any;
|
|
378
378
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
379
379
|
source: {
|
|
380
380
|
type: StringConstructor;
|
|
@@ -394,7 +394,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
394
394
|
};
|
|
395
395
|
markdownItSetup: {
|
|
396
396
|
type: import("vue").PropType<(md: import("markdown-it-async").MarkdownItAsync) => void>;
|
|
397
|
-
default:
|
|
397
|
+
default: any;
|
|
398
398
|
};
|
|
399
399
|
finished: {
|
|
400
400
|
type: BooleanConstructor;
|
|
@@ -404,8 +404,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
404
404
|
default: boolean;
|
|
405
405
|
};
|
|
406
406
|
}>> & Readonly<{
|
|
407
|
-
onTyping?: (
|
|
408
|
-
"onUpdate:finished"?: (
|
|
407
|
+
onTyping?: (...args: any) => any;
|
|
408
|
+
"onUpdate:finished"?: (...args: any) => any;
|
|
409
409
|
}>, {
|
|
410
410
|
source: string;
|
|
411
411
|
pause: boolean;
|
|
@@ -37,7 +37,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
37
37
|
default: AnyFunc;
|
|
38
38
|
};
|
|
39
39
|
}>> & Readonly<{
|
|
40
|
-
"onUpdate:status"?: (
|
|
40
|
+
"onUpdate:status"?: (...args: any[]) => any;
|
|
41
41
|
}>, {
|
|
42
42
|
processing: AnyFunc;
|
|
43
43
|
status: ParagraphStatus;
|
|
@@ -9,7 +9,7 @@ export declare function useHowlerParagraph(props: {
|
|
|
9
9
|
}, emit: ((e: 'update:status', status: TickerStatus) => void) & ((e: 'error', ev: any) => void)): {
|
|
10
10
|
url: import("vue").ComputedRef<string>;
|
|
11
11
|
broadcast: import("vue").WritableComputedRef<TickerStatus, TickerStatus>;
|
|
12
|
-
sound: import("vue").ShallowRef<Howl
|
|
12
|
+
sound: import("vue").ShallowRef<Howl, Howl>;
|
|
13
13
|
};
|
|
14
14
|
/**
|
|
15
15
|
* @description 获取浏览器语音列表
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),h=require("@vunk/plus/components/bubble-templates"),B=require("element-plus"),w=require("@element-plus/icons-vue"),S=require("@vueuse/core"),C=require("@vunk/plus/components/scrollbar"),T=require("@vunk/plus/element/bubble"),$=require("../_plugin-vue_export-helper-BHFhmbuH.js"),x=require("@vunk/shared/function"),R=require("@vunk/plus/components/agent-chat-provider"),_={},V={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",version:"1.1",width:"704",height:"704",viewBox:"0 0 704 704"};function P(s,l){return e.openBlock(),e.createElementBlock("svg",V,l[0]||(l[0]=[e.createStaticVNode('<defs><filter id="master_svg0_62_10054" filterUnits="objectBoundingBox" color-interpolation-filters="sRGB" x="-0.030120481927710843" y="-0.030120481927710843" width="1.0602409638554218" height="1.0602409638554218"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="5" result="effect1_foregroundBlur"></feGaussianBlur></filter><linearGradient id="master_svg1_62_10082" x1="0.5" y1="-0.13192443549633026" x2="0.42319029569625854" y2="1.368432641029358"><stop offset="9.145302325487137%" stop-color="currentColor" stop-opacity="1"></stop><stop offset="13.636428117752075%" stop-color="currentColor" stop-opacity="0.07539999485015869"></stop><stop offset="16.968481242656708%" stop-color="currentColor" stop-opacity="0"></stop></linearGradient></defs><g transform="matrix(0,1,-1,0,704,-664)" filter="url(#master_svg0_62_10054)"><path d="M1016,684C1199.359,684,1348,535.359,1348,352C1348,168.641,1199.359,20,1016,20C832.641,20,684,168.641,684,352C684,535.359,832.641,684,1016,684ZM1016,32C1192.731,32,1336,175.269,1336,352C1336,528.731,1192.731,672,1016,672C839.269,672,696,528.731,696,352C696,175.269,839.269,32,1016,32Z" fill-rule="evenodd" fill="url(#master_svg1_62_10082)" fill-opacity="1"></path></g>',2)]))}const z=$._export_sfc(_,[["render",P]]),N={class:"vk-bubble-list-wrapper"},q=e.defineComponent({__name:"index",props:{list:{type:Array,default:()=>[]},autoScroll:{type:Boolean,default:!0},autoScrollThreshold:{type:Number,default:200},maxHeight:{type:String,default:""},alwaysShowScrollbar:{type:Boolean,default:!1},backButtonThreshold:{type:Number,default:80},showBackButton:{type:Boolean,default:!0},backButtonPosition:{type:Object,default:()=>({bottom:"20px",left:"calc(50% - 19px)"})},btnLoading:{type:Boolean,default:!0},btnColor:{type:String,default:"#409EFF"},btnIconSize:{type:Number,default:24},scrollbarAppendTo:{type:null,default:void 0}},emits:{complete:null},setup(s,{expose:l}){const a=s,i=e.ref();function r(){document.documentElement.style.setProperty("--el-bubble-list-max-height",a.maxHeight||"100%"),document.documentElement.style.setProperty("--el-bubble-list-btn-size",`${a.btnIconSize}px`)}e.onMounted(()=>{r()}),e.watch(()=>[a.maxHeight,a.btnIconSize],()=>{r()});const u=e.ref(),v=e.computed(()=>i.value?.wrapRef?.firstElementChild),m=e.computed(()=>a.showBackButton&&u.value!==void 0&&u.value>a.backButtonThreshold);e.onMounted(()=>{setTimeout(p)});function p(){const o=i.value?.$el,n=i.value?.wrapRef;if(!(!o||!n))return u.value=n.scrollHeight-n.scrollTop-n.clientHeight,u.value}function b(...o){i.value?.scrollToBottom(...o)}function g(...o){i.value?.scrollToTop(...o)}a.autoScroll&&S.useResizeObserver(v,()=>{const o=p();o!==void 0&&o>a.autoScrollThreshold||b()});function y(o){const n=i.value?.wrapRef;if(!n)return;const d=n.querySelectorAll(".el-bubble");if(o>=d.length)return;const t=d[o],f=n.getBoundingClientRect(),k=t.getBoundingClientRect().top-f.top+n.scrollTop;n.scrollTo({top:k,behavior:"smooth"})}return l({scrollToTop:g,scrollToBottom:b,scrollToBubble:y}),(o,n)=>{const d=e.resolveComponent("el-icon");return e.openBlock(),e.createElementBlock("div",N,[e.createVNode(e.unref(C.VkScrollbar),{ref_key:"scrollbarRef",ref:i,class:"vk-bubble-list","append-to":s.scrollbarAppendTo,always:s.alwaysShowScrollbar,"hide-after":800,onScroll:p},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.list,(t,f)=>(e.openBlock(),e.createBlock(e.unref(T.Bubble),{key:t.key||f,content:t.content,placement:t.placement,loading:t.loading,shape:t.shape,variant:t.variant,"is-markdown":t.isMarkdown,"is-fog":t.isFog,typing:t.typing,"max-width":t.maxWidth,avatar:t.avatar,"avatar-size":t.avatarSize,"avatar-gap":t.avatarGap,"avatar-shape":t.avatarShape,"avatar-src-set":t.avatarSrcSet,"avatar-alt":t.avatarAlt,"avatar-fit":t.avatarFit,"no-style":t.noStyle,class:e.normalizeClass({[`is-${t.role}`]:!0})},e.createSlots({_:2},[o.$slots.avatar?{name:"avatar",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"avatar",{item:t})]),key:"0"}:void 0,o.$slots.header?{name:"header",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"header",{item:t})]),key:"1"}:void 0,o.$slots.content?{name:"content",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"content",{item:t})]),key:"2"}:void 0,o.$slots.footer?{name:"footer",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"footer",{item:t})]),key:"3"}:void 0,o.$slots.loading?{name:"loading",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"loading",{item:t})]),key:"4"}:void 0]),1032,["content","placement","loading","shape","variant","is-markdown","is-fog","typing","max-width","avatar","avatar-size","avatar-gap","avatar-shape","avatar-src-set","avatar-alt","avatar-fit","no-style","class"]))),128))]),_:3},8,["append-to","always"]),e.withDirectives(e.createElementVNode("div",{class:e.normalizeClass(["vk-bubble-list-default-back-button",{"vk-bubble-list-back-to-bottom-solt":o.$slots.backToBottom}]),style:e.normalizeStyle({bottom:s.backButtonPosition.bottom,left:s.backButtonPosition.left}),onClick:b},[e.renderSlot(o.$slots,"backToBottom",{},()=>[e.createVNode(d,{class:"vk-bubble-list-back-to-bottom-icon",style:e.normalizeStyle({color:a.btnColor})},{default:e.withCtx(()=>[e.createVNode(e.unref(w.ArrowDownBold)),a.btnLoading?(e.openBlock(),e.createBlock(z,{key:0,class:"back-to-bottom-loading-svg-bg"})):e.createCommentVNode("",!0)]),_:1},8,["style"])])],6),[[e.vShow,m.value]])])}}}),A={items:{type:Array,default:()=>[]},elRef:{type:Function,default:x.noop},scrollbarAppendTo:null,autoScrollThreshold:{type:Number,default:200}},c=e.defineComponent({name:"VkBubbleList",inheritAttrs:!1,__name:"index",props:A,setup(s){return(l,a)=>(e.openBlock(),e.createBlock(e.unref(h.VkBubbleRenderTemplates),null,{placeholder:e.withCtx(()=>[e.createVNode(e.unref(h.VkBubbleTemplates))]),default:e.withCtx(()=>[e.renderSlot(l.$slots,"renderer"),e.createVNode(e.unref(B.ElAutoResizer),null,{default:e.withCtx(({height:i})=>[e.createVNode(q,e.mergeProps({ref:l.elRef,"btn-icon-size":18,"max-height":`${i}px`,"scrollbar-append-to":l.scrollbarAppendTo,"auto-scroll-threshold":l.autoScrollThreshold,style:{"--el-bubble-list-max-height":`${i}px`},list:l.items},l.$attrs),e.createSlots({content:e.withCtx(({item:r})=>[e.createVNode(e.unref(h.VkBubbleRenderer),{source:[r]},null,8,["source"])]),_:2},[l.$slots.avatar?{name:"avatar",fn:e.withCtx(r=>[e.renderSlot(l.$slots,"avatar",e.normalizeProps(e.guardReactiveProps(r)))]),key:"0"}:void 0,l.$slots.header?{name:"header",fn:e.withCtx(r=>[e.renderSlot(l.$slots,"header",e.normalizeProps(e.guardReactiveProps(r)))]),key:"1"}:void 0,l.$slots.loading?{name:"loading",fn:e.withCtx(r=>[e.renderSlot(l.$slots,"loading",e.normalizeProps(e.guardReactiveProps(r)))]),key:"2"}:void 0,l.$slots.footer?{name:"footer",fn:e.withCtx(r=>[e.renderSlot(l.$slots,"footer",e.normalizeProps(e.guardReactiveProps(r)))]),key:"3"}:void 0]),1040,["max-height","scrollbar-append-to","auto-scroll-threshold","style","list"])]),_:3})]),_:3}))}}),E=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));c.install=s=>{s.component(c.name||"VkBubbleList",c)};Object.defineProperty(exports,"Role",{enumerable:!0,get:()=>R.Role});exports.VkBubbleList=c;exports.__VkBubbleList=E;exports.default=c;
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),h=require("@vunk/plus/components/bubble-templates"),B=require("element-plus"),w=require("@element-plus/icons-vue"),S=require("@vueuse/core"),C=require("@vunk/plus/components/scrollbar"),T=require("@vunk/plus/element/bubble"),$=require("../_plugin-vue_export-helper-BHFhmbuH.js"),x=require("@vunk/shared/function"),R=require("@vunk/plus/components/agent-chat-provider"),_={},V={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",version:"1.1",width:"704",height:"704",viewBox:"0 0 704 704"};function P(s,l){return e.openBlock(),e.createElementBlock("svg",V,[...l[0]||(l[0]=[e.createStaticVNode('<defs><filter id="master_svg0_62_10054" filterUnits="objectBoundingBox" color-interpolation-filters="sRGB" x="-0.030120481927710843" y="-0.030120481927710843" width="1.0602409638554218" height="1.0602409638554218"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="5" result="effect1_foregroundBlur"></feGaussianBlur></filter><linearGradient id="master_svg1_62_10082" x1="0.5" y1="-0.13192443549633026" x2="0.42319029569625854" y2="1.368432641029358"><stop offset="9.145302325487137%" stop-color="currentColor" stop-opacity="1"></stop><stop offset="13.636428117752075%" stop-color="currentColor" stop-opacity="0.07539999485015869"></stop><stop offset="16.968481242656708%" stop-color="currentColor" stop-opacity="0"></stop></linearGradient></defs><g transform="matrix(0,1,-1,0,704,-664)" filter="url(#master_svg0_62_10054)"><path d="M1016,684C1199.359,684,1348,535.359,1348,352C1348,168.641,1199.359,20,1016,20C832.641,20,684,168.641,684,352C684,535.359,832.641,684,1016,684ZM1016,32C1192.731,32,1336,175.269,1336,352C1336,528.731,1192.731,672,1016,672C839.269,672,696,528.731,696,352C696,175.269,839.269,32,1016,32Z" fill-rule="evenodd" fill="url(#master_svg1_62_10082)" fill-opacity="1"></path></g>',2)])])}const z=$._export_sfc(_,[["render",P]]),N={class:"vk-bubble-list-wrapper"},q=e.defineComponent({__name:"index",props:{list:{type:Array,default:()=>[]},autoScroll:{type:Boolean,default:!0},autoScrollThreshold:{type:Number,default:200},maxHeight:{type:String,default:""},alwaysShowScrollbar:{type:Boolean,default:!1},backButtonThreshold:{type:Number,default:80},showBackButton:{type:Boolean,default:!0},backButtonPosition:{type:Object,default:()=>({bottom:"20px",left:"calc(50% - 19px)"})},btnLoading:{type:Boolean,default:!0},btnColor:{type:String,default:"#409EFF"},btnIconSize:{type:Number,default:24},scrollbarAppendTo:{type:null,default:void 0}},emits:{complete:null},setup(s,{expose:l}){const a=s,i=e.ref();function r(){document.documentElement.style.setProperty("--el-bubble-list-max-height",a.maxHeight||"100%"),document.documentElement.style.setProperty("--el-bubble-list-btn-size",`${a.btnIconSize}px`)}e.onMounted(()=>{r()}),e.watch(()=>[a.maxHeight,a.btnIconSize],()=>{r()});const u=e.ref(),v=e.computed(()=>i.value?.wrapRef?.firstElementChild),m=e.computed(()=>a.showBackButton&&u.value!==void 0&&u.value>a.backButtonThreshold);e.onMounted(()=>{setTimeout(p)});function p(){const o=i.value?.$el,n=i.value?.wrapRef;if(!(!o||!n))return u.value=n.scrollHeight-n.scrollTop-n.clientHeight,u.value}function b(...o){i.value?.scrollToBottom(...o)}function g(...o){i.value?.scrollToTop(...o)}a.autoScroll&&S.useResizeObserver(v,()=>{const o=p();o!==void 0&&o>a.autoScrollThreshold||b()});function y(o){const n=i.value?.wrapRef;if(!n)return;const d=n.querySelectorAll(".el-bubble");if(o>=d.length)return;const t=d[o],f=n.getBoundingClientRect(),k=t.getBoundingClientRect().top-f.top+n.scrollTop;n.scrollTo({top:k,behavior:"smooth"})}return l({scrollToTop:g,scrollToBottom:b,scrollToBubble:y}),(o,n)=>{const d=e.resolveComponent("el-icon");return e.openBlock(),e.createElementBlock("div",N,[e.createVNode(e.unref(C.VkScrollbar),{ref_key:"scrollbarRef",ref:i,class:"vk-bubble-list","append-to":s.scrollbarAppendTo,always:s.alwaysShowScrollbar,"hide-after":800,onScroll:p},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.list,(t,f)=>(e.openBlock(),e.createBlock(e.unref(T.Bubble),{key:t.key||f,content:t.content,placement:t.placement,loading:t.loading,shape:t.shape,variant:t.variant,"is-markdown":t.isMarkdown,"is-fog":t.isFog,typing:t.typing,"max-width":t.maxWidth,avatar:t.avatar,"avatar-size":t.avatarSize,"avatar-gap":t.avatarGap,"avatar-shape":t.avatarShape,"avatar-src-set":t.avatarSrcSet,"avatar-alt":t.avatarAlt,"avatar-fit":t.avatarFit,"no-style":t.noStyle,class:e.normalizeClass({[`is-${t.role}`]:!0})},e.createSlots({_:2},[o.$slots.avatar?{name:"avatar",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"avatar",{item:t})]),key:"0"}:void 0,o.$slots.header?{name:"header",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"header",{item:t})]),key:"1"}:void 0,o.$slots.content?{name:"content",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"content",{item:t})]),key:"2"}:void 0,o.$slots.footer?{name:"footer",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"footer",{item:t})]),key:"3"}:void 0,o.$slots.loading?{name:"loading",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"loading",{item:t})]),key:"4"}:void 0]),1032,["content","placement","loading","shape","variant","is-markdown","is-fog","typing","max-width","avatar","avatar-size","avatar-gap","avatar-shape","avatar-src-set","avatar-alt","avatar-fit","no-style","class"]))),128))]),_:3},8,["append-to","always"]),e.withDirectives(e.createElementVNode("div",{class:e.normalizeClass(["vk-bubble-list-default-back-button",{"vk-bubble-list-back-to-bottom-solt":o.$slots.backToBottom}]),style:e.normalizeStyle({bottom:s.backButtonPosition.bottom,left:s.backButtonPosition.left}),onClick:b},[e.renderSlot(o.$slots,"backToBottom",{},()=>[e.createVNode(d,{class:"vk-bubble-list-back-to-bottom-icon",style:e.normalizeStyle({color:a.btnColor})},{default:e.withCtx(()=>[e.createVNode(e.unref(w.ArrowDownBold)),a.btnLoading?(e.openBlock(),e.createBlock(z,{key:0,class:"back-to-bottom-loading-svg-bg"})):e.createCommentVNode("",!0)]),_:1},8,["style"])])],6),[[e.vShow,m.value]])])}}}),A={items:{type:Array,default:()=>[]},elRef:{type:Function,default:x.noop},scrollbarAppendTo:null,autoScrollThreshold:{type:Number,default:200}},c=e.defineComponent({name:"VkBubbleList",inheritAttrs:!1,__name:"index",props:A,setup(s){return(l,a)=>(e.openBlock(),e.createBlock(e.unref(h.VkBubbleRenderTemplates),null,{placeholder:e.withCtx(()=>[e.createVNode(e.unref(h.VkBubbleTemplates))]),default:e.withCtx(()=>[e.renderSlot(l.$slots,"renderer"),e.createVNode(e.unref(B.ElAutoResizer),null,{default:e.withCtx(({height:i})=>[e.createVNode(q,e.mergeProps({ref:l.elRef,"btn-icon-size":18,"max-height":`${i}px`,"scrollbar-append-to":l.scrollbarAppendTo,"auto-scroll-threshold":l.autoScrollThreshold,style:{"--el-bubble-list-max-height":`${i}px`},list:l.items},l.$attrs),e.createSlots({content:e.withCtx(({item:r})=>[e.createVNode(e.unref(h.VkBubbleRenderer),{source:[r]},null,8,["source"])]),_:2},[l.$slots.avatar?{name:"avatar",fn:e.withCtx(r=>[e.renderSlot(l.$slots,"avatar",e.normalizeProps(e.guardReactiveProps(r)))]),key:"0"}:void 0,l.$slots.header?{name:"header",fn:e.withCtx(r=>[e.renderSlot(l.$slots,"header",e.normalizeProps(e.guardReactiveProps(r)))]),key:"1"}:void 0,l.$slots.loading?{name:"loading",fn:e.withCtx(r=>[e.renderSlot(l.$slots,"loading",e.normalizeProps(e.guardReactiveProps(r)))]),key:"2"}:void 0,l.$slots.footer?{name:"footer",fn:e.withCtx(r=>[e.renderSlot(l.$slots,"footer",e.normalizeProps(e.guardReactiveProps(r)))]),key:"3"}:void 0]),1040,["max-height","scrollbar-append-to","auto-scroll-threshold","style","list"])]),_:3})]),_:3}))}}),E=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));c.install=s=>{s.component(c.name||"VkBubbleList",c)};Object.defineProperty(exports,"Role",{enumerable:!0,get:()=>R.Role});exports.VkBubbleList=c;exports.__VkBubbleList=E;exports.default=c;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { openBlock as p, createElementBlock as B, createStaticVNode as E, defineComponent as _, ref as S, onMounted as $, watch as N, computed as T, resolveComponent as G, createVNode as u, unref as d, withCtx as l, Fragment as L, renderList as H, createBlock as w, normalizeClass as C, createSlots as z, renderSlot as s, withDirectives as I, createElementVNode as M, normalizeStyle as R, createCommentVNode as j, vShow as D, mergeProps as O, normalizeProps as m, guardReactiveProps as v } from "vue";
|
|
2
2
|
import { VkBubbleRenderTemplates as Z, VkBubbleRenderer as q, VkBubbleTemplates as U } from "@vunk/plus/components/bubble-templates";
|
|
3
3
|
import { ElAutoResizer as W } from "element-plus";
|
|
4
4
|
import { ArrowDownBold as J } from "@element-plus/icons-vue";
|
|
@@ -17,9 +17,9 @@ const te = {}, oe = {
|
|
|
17
17
|
viewBox: "0 0 704 704"
|
|
18
18
|
};
|
|
19
19
|
function le(i, o) {
|
|
20
|
-
return p(), B("svg", oe, o[0] || (o[0] = [
|
|
20
|
+
return p(), B("svg", oe, [...o[0] || (o[0] = [
|
|
21
21
|
E('<defs><filter id="master_svg0_62_10054" filterUnits="objectBoundingBox" color-interpolation-filters="sRGB" x="-0.030120481927710843" y="-0.030120481927710843" width="1.0602409638554218" height="1.0602409638554218"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"></feBlend><feGaussianBlur stdDeviation="5" result="effect1_foregroundBlur"></feGaussianBlur></filter><linearGradient id="master_svg1_62_10082" x1="0.5" y1="-0.13192443549633026" x2="0.42319029569625854" y2="1.368432641029358"><stop offset="9.145302325487137%" stop-color="currentColor" stop-opacity="1"></stop><stop offset="13.636428117752075%" stop-color="currentColor" stop-opacity="0.07539999485015869"></stop><stop offset="16.968481242656708%" stop-color="currentColor" stop-opacity="0"></stop></linearGradient></defs><g transform="matrix(0,1,-1,0,704,-664)" filter="url(#master_svg0_62_10054)"><path d="M1016,684C1199.359,684,1348,535.359,1348,352C1348,168.641,1199.359,20,1016,20C832.641,20,684,168.641,684,352C684,535.359,832.641,684,1016,684ZM1016,32C1192.731,32,1336,175.269,1336,352C1336,528.731,1192.731,672,1016,672C839.269,672,696,528.731,696,352C696,175.269,839.269,32,1016,32Z" fill-rule="evenodd" fill="url(#master_svg1_62_10082)" fill-opacity="1"></path></g>', 2)
|
|
22
|
-
]));
|
|
22
|
+
])]);
|
|
23
23
|
}
|
|
24
24
|
const ae = /* @__PURE__ */ Y(te, [["render", le]]), re = { class: "vk-bubble-list-wrapper" }, ne = /* @__PURE__ */ _({
|
|
25
25
|
__name: "index",
|
|
@@ -144,7 +144,7 @@ const ae = /* @__PURE__ */ Y(te, [["render", le]]), re = { class: "vk-bubble-lis
|
|
|
144
144
|
onScroll: h
|
|
145
145
|
}, {
|
|
146
146
|
default: l(() => [
|
|
147
|
-
(p(!0), B(
|
|
147
|
+
(p(!0), B(L, null, H(i.list, (e, y) => (p(), w(d(X), {
|
|
148
148
|
key: e.key || y,
|
|
149
149
|
content: e.content,
|
|
150
150
|
placement: e.placement,
|
|
@@ -206,7 +206,7 @@ const ae = /* @__PURE__ */ Y(te, [["render", le]]), re = { class: "vk-bubble-lis
|
|
|
206
206
|
]),
|
|
207
207
|
_: 3
|
|
208
208
|
}, 8, ["append-to", "always"]),
|
|
209
|
-
|
|
209
|
+
I(M("div", {
|
|
210
210
|
class: C(["vk-bubble-list-default-back-button", {
|
|
211
211
|
"vk-bubble-list-back-to-bottom-solt": t.$slots.backToBottom
|
|
212
212
|
}]),
|
|
@@ -30,7 +30,7 @@ type __VLS_Slots = {} & {
|
|
|
30
30
|
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
31
31
|
list: {
|
|
32
32
|
type: PropType<__VkAgentChatProvider.BubbleItem[]>;
|
|
33
|
-
default: () =>
|
|
33
|
+
default: () => any[];
|
|
34
34
|
};
|
|
35
35
|
autoScroll: {
|
|
36
36
|
type: BooleanConstructor;
|
|
@@ -80,18 +80,18 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
80
80
|
};
|
|
81
81
|
scrollbarAppendTo: {
|
|
82
82
|
type: PropType<TeleportProps["to"]>;
|
|
83
|
-
default:
|
|
83
|
+
default: any;
|
|
84
84
|
};
|
|
85
85
|
}>, {
|
|
86
86
|
scrollToTop: typeof scrollToTop;
|
|
87
87
|
scrollToBottom: typeof scrollToBottom;
|
|
88
88
|
scrollToBubble: typeof scrollToBubble;
|
|
89
89
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
90
|
-
complete: (...args: any[]) => void;
|
|
90
|
+
complete: ((...args: unknown[]) => void) & ((...args: any[]) => void);
|
|
91
91
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
92
92
|
list: {
|
|
93
93
|
type: PropType<__VkAgentChatProvider.BubbleItem[]>;
|
|
94
|
-
default: () =>
|
|
94
|
+
default: () => any[];
|
|
95
95
|
};
|
|
96
96
|
autoScroll: {
|
|
97
97
|
type: BooleanConstructor;
|
|
@@ -141,10 +141,10 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
141
141
|
};
|
|
142
142
|
scrollbarAppendTo: {
|
|
143
143
|
type: PropType<TeleportProps["to"]>;
|
|
144
|
-
default:
|
|
144
|
+
default: any;
|
|
145
145
|
};
|
|
146
146
|
}>> & Readonly<{
|
|
147
|
-
onComplete?: (
|
|
147
|
+
onComplete?: (...args: any[]) => any;
|
|
148
148
|
}>, {
|
|
149
149
|
maxHeight: string;
|
|
150
150
|
list: __VkAgentChatProvider.BubbleItem[];
|
|
@@ -160,7 +160,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
160
160
|
btnLoading: boolean;
|
|
161
161
|
btnColor: string;
|
|
162
162
|
btnIconSize: number;
|
|
163
|
-
scrollbarAppendTo: string | import("vue").RendererElement
|
|
163
|
+
scrollbarAppendTo: string | import("vue").RendererElement;
|
|
164
164
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
165
165
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
166
166
|
declare const _default: typeof __VLS_export;
|
|
@@ -18,13 +18,13 @@ export declare const props: {
|
|
|
18
18
|
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
19
19
|
readonly [Symbol.species]: ArrayConstructor;
|
|
20
20
|
};
|
|
21
|
-
default: () =>
|
|
21
|
+
default: () => any[];
|
|
22
22
|
};
|
|
23
23
|
elRef: {
|
|
24
24
|
type: PropType<AnyFunc>;
|
|
25
25
|
default: AnyFunc;
|
|
26
26
|
};
|
|
27
|
-
scrollbarAppendTo:
|
|
27
|
+
scrollbarAppendTo: any;
|
|
28
28
|
autoScrollThreshold: {
|
|
29
29
|
type: NumberConstructor;
|
|
30
30
|
default: number;
|
|
@@ -36,13 +36,13 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
36
36
|
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
37
37
|
readonly [Symbol.species]: ArrayConstructor;
|
|
38
38
|
};
|
|
39
|
-
default: () =>
|
|
39
|
+
default: () => any[];
|
|
40
40
|
};
|
|
41
41
|
elRef: {
|
|
42
42
|
type: import("vue").PropType<import("@vunk/shared").AnyFunc>;
|
|
43
43
|
default: import("@vunk/shared").AnyFunc;
|
|
44
44
|
};
|
|
45
|
-
scrollbarAppendTo:
|
|
45
|
+
scrollbarAppendTo: any;
|
|
46
46
|
autoScrollThreshold: {
|
|
47
47
|
type: NumberConstructor;
|
|
48
48
|
default: number;
|
|
@@ -65,19 +65,20 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
65
65
|
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
66
66
|
readonly [Symbol.species]: ArrayConstructor;
|
|
67
67
|
};
|
|
68
|
-
default: () =>
|
|
68
|
+
default: () => any[];
|
|
69
69
|
};
|
|
70
70
|
elRef: {
|
|
71
71
|
type: import("vue").PropType<import("@vunk/shared").AnyFunc>;
|
|
72
72
|
default: import("@vunk/shared").AnyFunc;
|
|
73
73
|
};
|
|
74
|
-
scrollbarAppendTo:
|
|
74
|
+
scrollbarAppendTo: any;
|
|
75
75
|
autoScrollThreshold: {
|
|
76
76
|
type: NumberConstructor;
|
|
77
77
|
default: number;
|
|
78
78
|
};
|
|
79
79
|
}>> & Readonly<{}>, {
|
|
80
80
|
autoScrollThreshold: number;
|
|
81
|
+
scrollbarAppendTo: any;
|
|
81
82
|
items: any[];
|
|
82
83
|
elRef: import("@vunk/shared").AnyFunc;
|
|
83
84
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createStrategyRenderer as n } from "@vunk/core/components/strategy-renderer";
|
|
2
|
-
import { defineComponent as o,
|
|
2
|
+
import { defineComponent as o, openBlock as l, createBlock as p, unref as r, withCtx as s, createVNode as b, mergeProps as m } from "vue";
|
|
3
3
|
import { VkMarkdown as u } from "@vunk/markdown";
|
|
4
4
|
const c = "vk-bubble-template-renderer", {
|
|
5
5
|
Templates: V,
|
|
@@ -19,7 +19,7 @@ const c = "vk-bubble-template-renderer", {
|
|
|
19
19
|
}
|
|
20
20
|
},
|
|
21
21
|
setup(e) {
|
|
22
|
-
return (d, i) => (
|
|
22
|
+
return (d, i) => (l(), p(r(k), { type: "VkMarkdown" }, {
|
|
23
23
|
default: s(({ props: a }) => [
|
|
24
24
|
b(r(u), m({
|
|
25
25
|
source: a.content
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as O, defineAsyncComponent as E, ref as k, computed as p,
|
|
1
|
+
import { defineComponent as O, defineAsyncComponent as E, ref as k, computed as p, openBlock as D, createElementBlock as C, createElementVNode as m, createVNode as r, unref as e, withCtx as u, Fragment as F, withDirectives as b, vShow as v, createCommentVNode as P, renderSlot as h, normalizeProps as q, guardReactiveProps as K, nextTick as M } from "vue";
|
|
2
2
|
import { useAgentChat as U } from "@vunk/plus/components/agent-chat-provider";
|
|
3
3
|
import { VkBubbleList as G } from "@vunk/plus/components/bubble-list";
|
|
4
4
|
import { VkBubbleData as H } from "@vunk/plus/components/bubble-templates";
|
|
@@ -49,7 +49,7 @@ const oe = {
|
|
|
49
49
|
const o = d.value.at(t);
|
|
50
50
|
return o?.key && s.value[o.key] ? s.value[o.key] : {};
|
|
51
51
|
}
|
|
52
|
-
return (t, o) => (
|
|
52
|
+
return (t, o) => (D(), C("div", ae, [
|
|
53
53
|
m("div", {
|
|
54
54
|
ref_key: "mainRef",
|
|
55
55
|
ref: x,
|
|
@@ -86,7 +86,7 @@ const oe = {
|
|
|
86
86
|
]),
|
|
87
87
|
two: u(() => [
|
|
88
88
|
m("div", le, [
|
|
89
|
-
t.speechToText ? (
|
|
89
|
+
t.speechToText ? (D(), C(F, { key: 0 }, [
|
|
90
90
|
b(r(e(Q), {
|
|
91
91
|
size: 40,
|
|
92
92
|
onClick: o[0] || (o[0] = (i) => l.value = e(a).Text)
|
|
@@ -108,7 +108,7 @@ const oe = {
|
|
|
108
108
|
}, null, 512), [
|
|
109
109
|
[v, l.value === e(a).Text]
|
|
110
110
|
])
|
|
111
|
-
], 64)) :
|
|
111
|
+
], 64)) : P("", !0),
|
|
112
112
|
b(r(e(J), {
|
|
113
113
|
modelValue: f.value,
|
|
114
114
|
"onUpdate:modelValue": o[2] || (o[2] = (i) => f.value = i),
|
|
@@ -32,7 +32,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
32
32
|
type: import("vue").PropType<import("./types").TextToSpeech>;
|
|
33
33
|
};
|
|
34
34
|
}>> & Readonly<{
|
|
35
|
-
onSetData?: (
|
|
35
|
+
onSetData?: (e: import("@vunk/core").SetDataEvent) => any;
|
|
36
36
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
37
37
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
38
38
|
declare const _default: typeof __VLS_export;
|