@vunk/plus 1.13.0 → 1.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ant/_util/BaseInput.d.ts +56 -0
- package/ant/_util/BaseInputInner.d.ts +65 -0
- package/ant/_util/BaseMixin.d.ts +7 -0
- package/ant/_util/EventInterface.d.ts +18 -0
- package/ant/_util/KeyCode.d.ts +436 -0
- package/ant/_util/Portal.d.ts +14 -0
- package/ant/_util/PortalWrapper.d.ts +41 -0
- package/ant/_util/canUseDom.d.ts +2 -0
- package/ant/_util/classNames.d.ts +2 -0
- package/ant/_util/collapseMotion.d.ts +3 -0
- package/ant/_util/colors.d.ts +13 -0
- package/ant/_util/copy-to-clipboard/index.d.ts +8 -0
- package/ant/_util/copy-to-clipboard/toggle-selection.d.ts +2 -0
- package/ant/_util/createContext.d.ts +5 -0
- package/ant/_util/createRef.d.ts +10 -0
- package/ant/_util/cssinjs/Cache.d.ts +11 -0
- package/ant/_util/cssinjs/Keyframes.d.ts +9 -0
- package/ant/_util/cssinjs/StyleContext.d.ts +508 -0
- package/ant/_util/cssinjs/hooks/useCacheToken.d.ts +40 -0
- package/ant/_util/cssinjs/hooks/useGlobalCache.d.ts +3 -0
- package/ant/_util/cssinjs/hooks/useHMR.d.ts +3 -0
- package/ant/_util/cssinjs/hooks/useStyleRegister/cacheMapUtil.d.ts +14 -0
- package/ant/_util/cssinjs/hooks/useStyleRegister/index.d.ts +68 -0
- package/ant/_util/cssinjs/index.d.ts +195 -0
- package/ant/_util/cssinjs/linters/contentQuotesLinter.d.ts +3 -0
- package/ant/_util/cssinjs/linters/hashedAnimationLinter.d.ts +3 -0
- package/ant/_util/cssinjs/linters/index.d.ts +6 -0
- package/ant/_util/cssinjs/linters/interface.d.ts +8 -0
- package/ant/_util/cssinjs/linters/legacyNotSelectorLinter.d.ts +3 -0
- package/ant/_util/cssinjs/linters/logicalPropertiesLinter.d.ts +3 -0
- package/ant/_util/cssinjs/linters/parentSelectorLinter.d.ts +3 -0
- package/ant/_util/cssinjs/linters/utils.d.ts +2 -0
- package/ant/_util/cssinjs/theme/Theme.d.ts +11 -0
- package/ant/_util/cssinjs/theme/ThemeCache.d.ts +20 -0
- package/ant/_util/cssinjs/theme/createTheme.d.ts +6 -0
- package/ant/_util/cssinjs/theme/index.d.ts +4 -0
- package/ant/_util/cssinjs/theme/interface.d.ts +2 -0
- package/ant/_util/cssinjs/transformers/interface.d.ts +4 -0
- package/ant/_util/cssinjs/transformers/legacyLogicalProperties.d.ts +12 -0
- package/ant/_util/cssinjs/transformers/px2rem.d.ts +20 -0
- package/ant/_util/cssinjs/util.d.ts +8 -0
- package/ant/_util/firstNotUndefined.d.ts +2 -0
- package/ant/_util/gapSize.d.ts +3 -0
- package/ant/_util/getScrollBarSize.d.ts +5 -0
- package/ant/_util/hooks/_vueuse/resolveUnref.d.ts +5 -0
- package/ant/_util/hooks/_vueuse/types.d.ts +114 -0
- package/ant/_util/hooks/_vueuse/unrefElement.d.ts +13 -0
- package/ant/_util/hooks/useBreakpoint.d.ts +4 -0
- package/ant/_util/hooks/useFlexGapSupport.d.ts +2 -0
- package/ant/_util/hooks/useMergedState.d.ts +7 -0
- package/ant/_util/hooks/useRefs.d.ts +7 -0
- package/ant/_util/hooks/useScrollLocker.d.ts +6 -0
- package/ant/_util/hooks/useState.d.ts +2 -0
- package/ant/_util/isValid.d.ts +2 -0
- package/ant/_util/omit.d.ts +2 -0
- package/ant/_util/pickAttrs.d.ts +11 -0
- package/ant/_util/placements.d.ts +65 -0
- package/ant/_util/props-util/index.d.ts +33 -0
- package/ant/_util/props-util/initDefaultProps.d.ts +6 -0
- package/ant/_util/raf.d.ts +5 -0
- package/ant/_util/responsiveObserve.d.ts +21 -0
- package/ant/_util/setStyle.d.ts +12 -0
- package/ant/_util/statusUtils.d.ts +6 -0
- package/ant/_util/styleChecker.d.ts +4 -0
- package/ant/_util/transButton.d.ts +34 -0
- package/ant/_util/transition.d.ts +18 -0
- package/ant/_util/type.d.ts +62 -0
- package/ant/_util/util.d.ts +18 -0
- package/ant/_util/vnode.d.ts +11 -0
- package/ant/_util/vue-types/index.d.ts +12 -0
- package/ant/_util/warning.d.ts +6 -0
- package/ant/_util/wave/WaveEffect.d.ts +6 -0
- package/ant/_util/wave/index.d.ts +13 -0
- package/ant/_util/wave/style.d.ts +6 -0
- package/ant/_util/wave/useWave.d.ts +4 -0
- package/ant/_util/wave/util.d.ts +3 -0
- package/ant/button/LoadingIcon.d.ts +12 -0
- package/ant/button/button-group.d.ts +33 -0
- package/ant/button/button.d.ts +112 -0
- package/ant/button/buttonTypes.d.ts +58 -0
- package/ant/button/index.d.ts +12 -0
- package/ant/button/style/group.d.ts +4 -0
- package/ant/button/style/index.d.ts +10 -0
- package/ant/calendar/style/index.d.ts +21 -0
- package/ant/config-provider/DisabledContext.d.ts +4 -0
- package/ant/config-provider/SizeContext.d.ts +4 -0
- package/ant/config-provider/context.d.ts +208 -0
- package/ant/config-provider/cssVariables.d.ts +3 -0
- package/ant/config-provider/hooks/useConfigInject.d.ts +37 -0
- package/ant/config-provider/hooks/useTheme.d.ts +3 -0
- package/ant/config-provider/index.d.ts +290 -0
- package/ant/config-provider/renderEmpty.d.ts +8 -0
- package/ant/config-provider/style/index.d.ts +3 -0
- package/ant/date-picker/style/index.d.ts +35 -0
- package/ant/empty/empty.d.ts +2 -0
- package/ant/empty/index.d.ts +86 -0
- package/ant/empty/simple.d.ts +2 -0
- package/ant/empty/style/index.d.ts +5 -0
- package/ant/flex/index.d.ts +142 -0
- package/ant/flex/interface.d.ts +36 -0
- package/ant/flex/style/index.d.ts +29 -0
- package/ant/flex/utils.d.ts +6 -0
- package/ant/form/ErrorList.d.ts +21 -0
- package/ant/form/Form.d.ts +772 -0
- package/ant/form/FormItem.d.ts +191 -0
- package/ant/form/FormItemContext.d.ts +32 -0
- package/ant/form/FormItemInput.d.ts +44 -0
- package/ant/form/FormItemLabel.d.ts +19 -0
- package/ant/form/context.d.ts +35 -0
- package/ant/form/index.d.ts +16 -0
- package/ant/form/interface.d.ts +171 -0
- package/ant/form/style/explain.d.ts +4 -0
- package/ant/form/style/index.d.ts +7 -0
- package/ant/form/useForm.d.ts +45 -0
- package/ant/form/utils/asyncUtil.d.ts +2 -0
- package/ant/form/utils/messages.d.ts +47 -0
- package/ant/form/utils/typeUtil.d.ts +1 -0
- package/ant/form/utils/useDebounce.d.ts +2 -0
- package/ant/form/utils/validateUtil.d.ts +6 -0
- package/ant/form/utils/valueUtil.d.ts +15 -0
- package/ant/grid/Col.d.ts +116 -0
- package/ant/grid/Row.d.ts +77 -0
- package/ant/grid/context.d.ts +11 -0
- package/ant/grid/index.d.ts +10 -0
- package/ant/grid/style/index.d.ts +2 -0
- package/ant/image/PreviewGroup.d.ts +37 -0
- package/ant/image/index.d.ts +71 -0
- package/ant/image/style/index.d.ts +21 -0
- package/ant/index.cjs +203 -0
- package/ant/index.d.ts +27 -0
- package/ant/index.mjs +20993 -0
- package/ant/input/ClearableLabeledInput.d.ts +151 -0
- package/ant/input/Group.d.ts +24 -0
- package/ant/input/Input.d.ts +191 -0
- package/ant/input/Password.d.ts +217 -0
- package/ant/input/ResizableTextArea.d.ts +215 -0
- package/ant/input/Search.d.ts +195 -0
- package/ant/input/TextArea.d.ts +217 -0
- package/ant/input/calculateNodeHeight.d.ts +9 -0
- package/ant/input/index.d.ts +15 -0
- package/ant/input/inputProps.d.ts +207 -0
- package/ant/input/style/index.d.ts +30 -0
- package/ant/input/util.d.ts +2 -0
- package/ant/locale/LocaleReceiver.d.ts +35 -0
- package/ant/locale/en_US.d.ts +3 -0
- package/ant/locale/index.d.ts +91 -0
- package/ant/locale-provider/LocaleReceiver.d.ts +3 -0
- package/ant/locale-provider/index.d.ts +3 -0
- package/ant/modal/locale.d.ts +7 -0
- package/ant/modal/style/index.d.ts +32 -0
- package/ant/progress/Circle.d.ts +168 -0
- package/ant/progress/Line.d.ts +205 -0
- package/ant/progress/Steps.d.ts +168 -0
- package/ant/progress/index.d.ts +204 -0
- package/ant/progress/progress.d.ts +117 -0
- package/ant/progress/props.d.ts +79 -0
- package/ant/progress/style/index.d.ts +4 -0
- package/ant/progress/utils.d.ts +13 -0
- package/ant/space/Compact.d.ts +119 -0
- package/ant/space/style/compact.d.ts +8 -0
- package/ant/space/style/index.d.ts +5 -0
- package/ant/style/compact-item-vertical.d.ts +4 -0
- package/ant/style/compact-item.d.ts +18 -0
- package/ant/style/index.d.ts +13 -0
- package/ant/style/motion/collapse.d.ts +4 -0
- package/ant/style/motion/fade.d.ts +7 -0
- package/ant/style/motion/index.d.ts +6 -0
- package/ant/style/motion/motion.d.ts +2 -0
- package/ant/style/motion/move.d.ts +15 -0
- package/ant/style/motion/slide.d.ts +15 -0
- package/ant/style/motion/zoom.d.ts +19 -0
- package/ant/style/operationUnit.d.ts +3 -0
- package/ant/style/placementArrow.d.ts +19 -0
- package/ant/style/presetColor.d.ts +16 -0
- package/ant/style/roundedArrow.d.ts +2 -0
- package/ant/theme/index.d.ts +23 -0
- package/ant/theme/interface/alias.d.ts +115 -0
- package/ant/theme/interface/components.d.ts +32 -0
- package/ant/theme/interface/index.d.ts +13 -0
- package/ant/theme/interface/maps/colors.d.ts +350 -0
- package/ant/theme/interface/maps/font.d.ts +44 -0
- package/ant/theme/interface/maps/index.d.ts +17 -0
- package/ant/theme/interface/maps/size.d.ts +63 -0
- package/ant/theme/interface/maps/style.d.ts +37 -0
- package/ant/theme/interface/presetColors.d.ts +8 -0
- package/ant/theme/interface/seeds.d.ts +163 -0
- package/ant/theme/internal.d.ts +49 -0
- package/ant/theme/themes/ColorMap.d.ts +15 -0
- package/ant/theme/themes/compact/genCompactSizeMapToken.d.ts +2 -0
- package/ant/theme/themes/compact/index.d.ts +4 -0
- package/ant/theme/themes/dark/colorAlgorithm.d.ts +2 -0
- package/ant/theme/themes/dark/colors.d.ts +3 -0
- package/ant/theme/themes/dark/index.d.ts +4 -0
- package/ant/theme/themes/default/colorAlgorithm.d.ts +2 -0
- package/ant/theme/themes/default/colors.d.ts +3 -0
- package/ant/theme/themes/default/index.d.ts +2 -0
- package/ant/theme/themes/seed.d.ts +4 -0
- package/ant/theme/themes/shared/genColorMapToken.d.ts +8 -0
- package/ant/theme/themes/shared/genCommonMapToken.d.ts +2 -0
- package/ant/theme/themes/shared/genControlHeight.d.ts +3 -0
- package/ant/theme/themes/shared/genFontMapToken.d.ts +3 -0
- package/ant/theme/themes/shared/genFontSizes.d.ts +4 -0
- package/ant/theme/themes/shared/genRadius.d.ts +3 -0
- package/ant/theme/themes/shared/genSizeMapToken.d.ts +2 -0
- package/ant/theme/util/alias.d.ts +12 -0
- package/ant/theme/util/genComponentStyleHook.d.ts +26 -0
- package/ant/theme/util/getAlphaColor.d.ts +2 -0
- package/ant/theme/util/statistic.d.ts +18 -0
- package/ant/tooltip/Tooltip.d.ts +228 -0
- package/ant/tooltip/abstractTooltipProps.d.ts +73 -0
- package/ant/tooltip/index.d.ts +245 -0
- package/ant/tooltip/style/index.d.ts +8 -0
- package/ant/tooltip/util.d.ts +6 -0
- package/ant/typography/Base.d.ts +200 -0
- package/ant/typography/Editable.d.ts +49 -0
- package/ant/typography/Link.d.ts +51 -0
- package/ant/typography/Paragraph.d.ts +51 -0
- package/ant/typography/Text.d.ts +51 -0
- package/ant/typography/Title.d.ts +48 -0
- package/ant/typography/Typography.d.ts +24 -0
- package/ant/typography/index.d.ts +17 -0
- package/ant/typography/style/index.d.ts +9 -0
- package/ant/typography/style/mixins.d.ts +9 -0
- package/ant/typography/util.d.ts +11 -0
- package/ant/upload/Dragger.d.ts +393 -0
- package/ant/upload/Upload.d.ts +396 -0
- package/ant/upload/UploadList/ListItem.d.ts +339 -0
- package/ant/upload/UploadList/index.d.ts +232 -0
- package/ant/upload/index.d.ts +1460 -0
- package/ant/upload/interface.d.ts +355 -0
- package/ant/upload/style/dragger.d.ts +4 -0
- package/ant/upload/style/index.d.ts +10 -0
- package/ant/upload/style/list.d.ts +4 -0
- package/ant/upload/style/motion.d.ts +4 -0
- package/ant/upload/style/picture.d.ts +5 -0
- package/ant/upload/style/rtl.d.ts +4 -0
- package/ant/upload/utils.d.ts +8 -0
- package/ant/vc-align/Align.d.ts +45 -0
- package/ant/vc-align/hooks/useBuffer.d.ts +3 -0
- package/ant/vc-align/interface.d.ts +56 -0
- package/ant/vc-align/util.d.ts +4 -0
- package/ant/vc-dialog/Content.d.ts +181 -0
- package/ant/vc-dialog/Dialog.d.ts +169 -0
- package/ant/vc-dialog/DialogWrap.d.ts +165 -0
- package/ant/vc-dialog/IDialogPropTypes.d.ts +79 -0
- package/ant/vc-dialog/Mask.d.ts +14 -0
- package/ant/vc-dialog/index.d.ts +4 -0
- package/ant/vc-dialog/util.d.ts +6 -0
- package/ant/vc-image/index.d.ts +3 -0
- package/ant/vc-image/src/Image.d.ts +114 -0
- package/ant/vc-image/src/Preview.d.ts +292 -0
- package/ant/vc-image/src/PreviewGroup.d.ts +79 -0
- package/ant/vc-image/src/getFixScaleEleTransPosition.d.ts +16 -0
- package/ant/vc-image/src/hooks/useFrameSetState.d.ts +3 -0
- package/ant/vc-input/BaseInput.d.ts +97 -0
- package/ant/vc-input/Input.d.ts +192 -0
- package/ant/vc-input/inputProps.d.ts +169 -0
- package/ant/vc-input/utils/commonUtils.d.ts +8 -0
- package/ant/vc-progress/index.d.ts +5 -0
- package/ant/vc-progress/src/Circle.d.ts +41 -0
- package/ant/vc-progress/src/Line.d.ts +40 -0
- package/ant/vc-progress/src/common.d.ts +5 -0
- package/ant/vc-progress/src/index.d.ts +86 -0
- package/ant/vc-progress/src/types.d.ts +25 -0
- package/ant/vc-resize-observer/index.d.ts +25 -0
- package/ant/vc-tooltip/index.d.ts +2 -0
- package/ant/vc-tooltip/src/Content.d.ts +17 -0
- package/ant/vc-tooltip/src/Tooltip.d.ts +141 -0
- package/ant/vc-tooltip/src/placements.d.ts +111 -0
- package/ant/vc-trigger/Popup/Mask.d.ts +14 -0
- package/ant/vc-trigger/Popup/MobilePopupInner.d.ts +103 -0
- package/ant/vc-trigger/Popup/PopupInner.d.ts +98 -0
- package/ant/vc-trigger/Popup/index.d.ts +104 -0
- package/ant/vc-trigger/Popup/interface.d.ts +151 -0
- package/ant/vc-trigger/Popup/useStretchStyle.d.ts +4 -0
- package/ant/vc-trigger/Popup/useVisibleStatus.d.ts +15 -0
- package/ant/vc-trigger/Trigger.d.ts +282 -0
- package/ant/vc-trigger/context.d.ts +11 -0
- package/ant/vc-trigger/index.d.ts +6 -0
- package/ant/vc-trigger/interface.d.ts +175 -0
- package/ant/vc-trigger/utils/alignUtil.d.ts +3 -0
- package/ant/vc-trigger/utils/motionUtil.d.ts +12 -0
- package/ant/vc-upload/AjaxUploader.d.ts +108 -0
- package/ant/vc-upload/Upload.d.ts +108 -0
- package/ant/vc-upload/attr-accept.d.ts +3 -0
- package/ant/vc-upload/index.d.ts +4 -0
- package/ant/vc-upload/interface.d.ts +79 -0
- package/ant/vc-upload/request.d.ts +4 -0
- package/ant/vc-upload/traverseFileTree.d.ts +14 -0
- package/ant/vc-upload/uid.d.ts +1 -0
- package/ant/vc-util/Dom/contains.d.ts +1 -0
- package/ant/vc-util/Dom/css.d.ts +22 -0
- package/ant/vc-util/Dom/dynamicCSS.d.ts +20 -0
- package/ant/vc-util/Dom/isVisible.d.ts +2 -0
- package/ant/vc-util/Dom/scrollLocker.d.ts +12 -0
- package/ant/vc-util/devWarning.d.ts +4 -0
- package/ant/vc-util/get.d.ts +1 -0
- package/ant/vc-util/set.d.ts +1 -0
- package/ant/vc-util/warning.d.ts +7 -0
- package/ant/version/index.d.ts +2 -0
- package/antx/_util/__tests__/warning.test.d.ts +1 -0
- package/antx/_util/cssinjs/Cache.d.ts +11 -0
- package/antx/_util/cssinjs/Keyframes.d.ts +9 -0
- package/antx/_util/cssinjs/StyleContext.d.ts +508 -0
- package/antx/_util/cssinjs/hooks/useCSSVarRegister.d.ts +20 -0
- package/antx/_util/cssinjs/hooks/useCacheToken.d.ts +40 -0
- package/antx/_util/cssinjs/hooks/useGlobalCache.d.ts +6 -0
- package/antx/_util/cssinjs/hooks/useHMR.d.ts +3 -0
- package/antx/_util/cssinjs/hooks/useStyleRegister/cacheMapUtil.d.ts +14 -0
- package/antx/_util/cssinjs/hooks/useStyleRegister/index.d.ts +69 -0
- package/antx/_util/cssinjs/index.d.ts +197 -0
- package/antx/_util/cssinjs/linters/contentQuotesLinter.d.ts +3 -0
- package/antx/_util/cssinjs/linters/hashedAnimationLinter.d.ts +3 -0
- package/antx/_util/cssinjs/linters/index.d.ts +6 -0
- package/antx/_util/cssinjs/linters/interface.d.ts +8 -0
- package/antx/_util/cssinjs/linters/legacyNotSelectorLinter.d.ts +3 -0
- package/antx/_util/cssinjs/linters/logicalPropertiesLinter.d.ts +3 -0
- package/antx/_util/cssinjs/linters/parentSelectorLinter.d.ts +3 -0
- package/antx/_util/cssinjs/linters/utils.d.ts +2 -0
- package/antx/_util/cssinjs/theme/Theme.d.ts +11 -0
- package/antx/_util/cssinjs/theme/ThemeCache.d.ts +20 -0
- package/antx/_util/cssinjs/theme/createTheme.d.ts +6 -0
- package/antx/_util/cssinjs/theme/index.d.ts +4 -0
- package/antx/_util/cssinjs/theme/interface.d.ts +2 -0
- package/antx/_util/cssinjs/transformers/interface.d.ts +4 -0
- package/antx/_util/cssinjs/transformers/legacyLogicalProperties.d.ts +12 -0
- package/antx/_util/cssinjs/transformers/px2rem.d.ts +20 -0
- package/antx/_util/cssinjs/util.d.ts +28 -0
- package/antx/_util/cssinjs-utils/_util/hooks/useUniqueMemo.d.ts +5 -0
- package/antx/_util/cssinjs-utils/hooks/useCSP.d.ts +8 -0
- package/antx/_util/cssinjs-utils/hooks/usePrefix.d.ts +11 -0
- package/antx/_util/cssinjs-utils/hooks/useToken.d.ts +21 -0
- package/antx/_util/cssinjs-utils/index.d.ts +6 -0
- package/antx/_util/cssinjs-utils/interface/components.d.ts +10 -0
- package/antx/_util/cssinjs-utils/interface/index.d.ts +3 -0
- package/antx/_util/cssinjs-utils/util/calc/CSSCalculator.d.ts +15 -0
- package/antx/_util/cssinjs-utils/util/calc/NumCalculator.d.ts +11 -0
- package/antx/_util/cssinjs-utils/util/calc/calculator.d.ts +30 -0
- package/antx/_util/cssinjs-utils/util/calc/index.d.ts +5 -0
- package/antx/_util/cssinjs-utils/util/genStyleUtils.d.ts +116 -0
- package/antx/_util/cssinjs-utils/util/getCompVarPrefix.d.ts +2 -0
- package/antx/_util/cssinjs-utils/util/getComponentToken.d.ts +9 -0
- package/antx/_util/cssinjs-utils/util/getDefaultComponentToken.d.ts +5 -0
- package/antx/_util/cssinjs-utils/util/maxmin.d.ts +8 -0
- package/antx/_util/cssinjs-utils/util/statistic.d.ts +20 -0
- package/antx/_util/getScrollBarSize.d.ts +5 -0
- package/antx/_util/getValue.d.ts +2 -0
- package/antx/_util/hooks/use-event-callback.d.ts +1 -0
- package/antx/_util/hooks/use-state.d.ts +2 -0
- package/antx/_util/hooks/use-x-component-config.d.ts +4 -0
- package/antx/_util/hooks/useMergedState.d.ts +7 -0
- package/antx/_util/motion.d.ts +3 -0
- package/antx/_util/pick-attrs.d.ts +11 -0
- package/antx/_util/setStyle.d.ts +12 -0
- package/antx/_util/transition.d.ts +29 -0
- package/antx/_util/type.d.ts +62 -0
- package/antx/_util/warning.d.ts +47 -0
- package/antx/attachments/Attachments.vue.d.ts +16 -0
- package/antx/attachments/DropArea.vue.d.ts +4 -0
- package/antx/attachments/FileList/AudioIcon.vue.d.ts +3 -0
- package/antx/attachments/FileList/FileList.vue.d.ts +4 -0
- package/antx/attachments/FileList/FileListCard.vue.d.ts +6 -0
- package/antx/attachments/FileList/Progress.vue.d.ts +103 -0
- package/antx/attachments/FileList/VideoIcon.vue.d.ts +3 -0
- package/antx/attachments/FileList/index.d.ts +3 -0
- package/antx/attachments/PlaceholderUploader.vue.d.ts +6 -0
- package/antx/attachments/SilentUploader.vue.d.ts +6 -0
- package/antx/attachments/constants.d.ts +9 -0
- package/antx/attachments/context.d.ts +21 -0
- package/antx/attachments/index.d.ts +26 -0
- package/antx/attachments/interface.d.ts +130 -0
- package/antx/attachments/style/fileCard.d.ts +4 -0
- package/antx/attachments/style/index.d.ts +9 -0
- package/antx/attachments/util.d.ts +3 -0
- package/antx/components.d.ts +4 -0
- package/antx/hooks.d.ts +8 -0
- package/antx/index.cjs +78 -0
- package/antx/index.d.ts +10 -0
- package/antx/index.mjs +6015 -0
- package/antx/sender/Sender.vue.d.ts +48 -0
- package/antx/sender/SenderHeader.vue.d.ts +13 -0
- package/antx/sender/StopLoading.vue.d.ts +6 -0
- package/antx/sender/components/ActionButton/context.d.ts +21 -0
- package/antx/sender/components/ActionButton/index.vue.d.ts +13 -0
- package/antx/sender/components/ClearButton.vue.d.ts +4 -0
- package/antx/sender/components/LoadingButton.vue.d.ts +4 -0
- package/antx/sender/components/SendButton.vue.d.ts +4 -0
- package/antx/sender/components/SpeechButton/RecordingIcon.vue.d.ts +4 -0
- package/antx/sender/components/SpeechButton/index.vue.d.ts +4 -0
- package/antx/sender/context.d.ts +21 -0
- package/antx/sender/index.d.ts +82 -0
- package/antx/sender/interface.d.ts +145 -0
- package/antx/sender/style/header.d.ts +4 -0
- package/antx/sender/style/index.d.ts +9 -0
- package/antx/sender/useSpeech.d.ts +16 -0
- package/antx/theme/components.d.ts +8 -0
- package/antx/theme/cssinjs-utils.d.ts +14 -0
- package/antx/theme/genStyleUtils.d.ts +27 -0
- package/antx/theme/index.d.ts +2 -0
- package/antx/theme/patch-antd.d.ts +28 -0
- package/antx/theme/useToken.d.ts +19 -0
- package/antx/transition-collapse/TransitionCollapse.vue.d.ts +17 -0
- package/antx/transition-collapse/index.d.ts +6 -0
- package/antx/transition-collapse/style/index.d.ts +6 -0
- package/antx/type-utility.d.ts +1 -0
- package/antx/use-x-agent/index.d.ts +4 -0
- package/antx/use-x-agent/use-x-agent.d.ts +34 -0
- package/antx/use-x-chat/index.d.ts +4 -0
- package/antx/use-x-chat/use-x-chat.d.ts +54 -0
- package/antx/use-x-chat/useSyncState.d.ts +4 -0
- package/antx/version/index.d.ts +2 -0
- package/antx/x-provider/context.d.ts +84 -0
- package/antx/x-provider/hooks/use-x-provider-context.d.ts +9 -0
- package/antx/x-provider/index.d.ts +5 -0
- package/antx/x-provider/index.vue.d.ts +13 -0
- package/antx/x-request/index.d.ts +6 -0
- package/antx/x-request/x-fetch.d.ts +18 -0
- package/antx/x-request/x-request.d.ts +89 -0
- package/antx/x-stream/index.d.ts +4 -0
- package/antx/x-stream/x-stream.d.ts +32 -0
- package/components/agent-chat-provider/index.cjs +1 -1
- package/components/agent-chat-provider/index.mjs +1 -3
- package/components/agent-chat-provider/src/index.vue.d.ts +3 -3
- package/components/agent-chat-provider/src/types.d.ts +1 -1
- package/components/agent-chat-provider/src/use.d.ts +2 -2
- package/components/avatar/index.mjs +2 -2
- package/components/avatar/src/index.vue.d.ts +2 -121
- package/components/broadcasting-markdown/index.cjs +3 -3
- package/components/broadcasting-markdown/index.mjs +2 -5
- package/components/broadcasting-markdown/src/ctx.d.ts +2 -2
- package/components/broadcasting-markdown/src/howler-speech.vue.d.ts +6 -6
- package/components/broadcasting-markdown/src/index.vue.d.ts +33 -33
- package/components/broadcasting-markdown/src/paragraph.vue.d.ts +1 -1
- package/components/broadcasting-markdown/src/use.d.ts +1 -1
- package/components/bubble-list/index.cjs +1 -1
- package/components/bubble-list/index.mjs +5 -5
- package/components/bubble-list/src/core/index.vue.d.ts +7 -7
- package/components/bubble-list/src/ctx.d.ts +2 -2
- package/components/bubble-list/src/index.vue.d.ts +5 -4
- package/components/bubble-templates/index.mjs +2 -2
- package/components/chat-independent/index.mjs +4 -4
- package/components/chat-independent/src/index.vue.d.ts +1 -1
- package/components/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/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 +899 -450
- 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 +94 -1
- package/components/tables-v1-checkbox/index.mjs +2071 -88
- 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 +11 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare var __VLS_9: {}, __VLS_11: {
|
|
2
2
|
modelValue: boolean;
|
|
3
|
-
direction: import("element-plus/es/utils/
|
|
3
|
+
direction: import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
4
4
|
}, __VLS_39: {};
|
|
5
5
|
type __VLS_Slots = {} & {
|
|
6
6
|
default?: (props: typeof __VLS_9) => any;
|
|
@@ -12,20 +12,20 @@ type __VLS_Slots = {} & {
|
|
|
12
12
|
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
13
13
|
modules: {
|
|
14
14
|
type: import("vue").PropType<"toggle"[]>;
|
|
15
|
-
default: () =>
|
|
15
|
+
default: () => any[];
|
|
16
16
|
};
|
|
17
17
|
absolute: {
|
|
18
18
|
type: BooleanConstructor;
|
|
19
19
|
default: boolean;
|
|
20
20
|
};
|
|
21
|
-
direction: import("element-plus/es/utils/
|
|
21
|
+
direction: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
|
|
22
22
|
resizable: BooleanConstructor;
|
|
23
|
-
size: import("element-plus/es/utils/
|
|
24
|
-
withHeader: import("element-plus/es/utils/
|
|
25
|
-
modalFade: import("element-plus/es/utils/
|
|
26
|
-
headerAriaLevel: import("element-plus/es/utils/
|
|
23
|
+
size: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "30%", boolean>;
|
|
24
|
+
withHeader: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
25
|
+
modalFade: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
26
|
+
headerAriaLevel: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
27
27
|
appendToBody: BooleanConstructor;
|
|
28
|
-
appendTo: import("element-plus/es/utils/
|
|
28
|
+
appendTo: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown, "body", boolean>;
|
|
29
29
|
beforeClose: {
|
|
30
30
|
readonly type: import("vue").PropType<import("element-plus").DialogBeforeCloseFn>;
|
|
31
31
|
readonly required: false;
|
|
@@ -33,13 +33,13 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
33
33
|
__epPropKey: true;
|
|
34
34
|
};
|
|
35
35
|
destroyOnClose: BooleanConstructor;
|
|
36
|
-
closeOnClickModal: import("element-plus/es/utils/
|
|
37
|
-
closeOnPressEscape: import("element-plus/es/utils/
|
|
38
|
-
lockScroll: import("element-plus/es/utils/
|
|
39
|
-
modal: import("element-plus/es/utils/
|
|
36
|
+
closeOnClickModal: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
37
|
+
closeOnPressEscape: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
38
|
+
lockScroll: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
39
|
+
modal: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
40
40
|
modalPenetrable: BooleanConstructor;
|
|
41
|
-
openDelay: import("element-plus/es/utils/
|
|
42
|
-
closeDelay: import("element-plus/es/utils/
|
|
41
|
+
openDelay: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
42
|
+
closeDelay: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
43
43
|
top: {
|
|
44
44
|
readonly type: import("vue").PropType<string>;
|
|
45
45
|
readonly required: false;
|
|
@@ -47,12 +47,9 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
47
47
|
__epPropKey: true;
|
|
48
48
|
};
|
|
49
49
|
modelValue: BooleanConstructor;
|
|
50
|
-
modalClass:
|
|
51
|
-
headerClass: StringConstructor;
|
|
52
|
-
bodyClass: StringConstructor;
|
|
53
|
-
footerClass: StringConstructor;
|
|
50
|
+
modalClass: 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>;
|
|
54
51
|
width: {
|
|
55
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/
|
|
52
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
56
53
|
readonly required: false;
|
|
57
54
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
58
55
|
__epPropKey: true;
|
|
@@ -64,46 +61,52 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
64
61
|
__epPropKey: true;
|
|
65
62
|
};
|
|
66
63
|
trapFocus: BooleanConstructor;
|
|
67
|
-
transition: import("element-plus/es/utils/
|
|
64
|
+
transition: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<(new (...args: any[]) => string | import("vue").TransitionProps) | (() => import("element-plus").DialogTransition) | (((new (...args: any[]) => string | import("vue").TransitionProps) | (() => import("element-plus").DialogTransition)) | null)[], unknown, unknown, undefined, boolean>;
|
|
68
65
|
center: BooleanConstructor;
|
|
69
|
-
alignCenter: import("element-plus/es/utils/
|
|
66
|
+
alignCenter: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
70
67
|
closeIcon: {
|
|
71
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/
|
|
68
|
+
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>>;
|
|
72
69
|
readonly required: false;
|
|
73
70
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
74
71
|
__epPropKey: true;
|
|
75
72
|
};
|
|
76
|
-
draggable: import("element-plus/es/utils/
|
|
77
|
-
overflow: import("element-plus/es/utils/
|
|
73
|
+
draggable: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
74
|
+
overflow: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
78
75
|
fullscreen: BooleanConstructor;
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
76
|
+
headerClass: 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>;
|
|
77
|
+
bodyClass: 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>;
|
|
78
|
+
footerClass: 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>;
|
|
79
|
+
showClose: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
80
|
+
title: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
81
|
+
ariaLevel: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
82
82
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
83
83
|
close: () => void;
|
|
84
|
+
resize: (evt: MouseEvent, size: number) => void;
|
|
84
85
|
open: () => void;
|
|
86
|
+
closed: () => void;
|
|
85
87
|
"update:modelValue": (value: boolean) => void;
|
|
88
|
+
"resize-start": (evt: MouseEvent, size: number) => void;
|
|
89
|
+
"resize-end": (evt: MouseEvent, size: number) => void;
|
|
86
90
|
opened: () => void;
|
|
87
|
-
closed: () => void;
|
|
88
91
|
openAutoFocus: () => void;
|
|
89
92
|
closeAutoFocus: () => void;
|
|
90
93
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
91
94
|
modules: {
|
|
92
95
|
type: import("vue").PropType<"toggle"[]>;
|
|
93
|
-
default: () =>
|
|
96
|
+
default: () => any[];
|
|
94
97
|
};
|
|
95
98
|
absolute: {
|
|
96
99
|
type: BooleanConstructor;
|
|
97
100
|
default: boolean;
|
|
98
101
|
};
|
|
99
|
-
direction: import("element-plus/es/utils/
|
|
102
|
+
direction: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
|
|
100
103
|
resizable: BooleanConstructor;
|
|
101
|
-
size: import("element-plus/es/utils/
|
|
102
|
-
withHeader: import("element-plus/es/utils/
|
|
103
|
-
modalFade: import("element-plus/es/utils/
|
|
104
|
-
headerAriaLevel: import("element-plus/es/utils/
|
|
104
|
+
size: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "30%", boolean>;
|
|
105
|
+
withHeader: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
106
|
+
modalFade: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
107
|
+
headerAriaLevel: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
105
108
|
appendToBody: BooleanConstructor;
|
|
106
|
-
appendTo: import("element-plus/es/utils/
|
|
109
|
+
appendTo: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown, "body", boolean>;
|
|
107
110
|
beforeClose: {
|
|
108
111
|
readonly type: import("vue").PropType<import("element-plus").DialogBeforeCloseFn>;
|
|
109
112
|
readonly required: false;
|
|
@@ -111,13 +114,13 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
111
114
|
__epPropKey: true;
|
|
112
115
|
};
|
|
113
116
|
destroyOnClose: BooleanConstructor;
|
|
114
|
-
closeOnClickModal: import("element-plus/es/utils/
|
|
115
|
-
closeOnPressEscape: import("element-plus/es/utils/
|
|
116
|
-
lockScroll: import("element-plus/es/utils/
|
|
117
|
-
modal: import("element-plus/es/utils/
|
|
117
|
+
closeOnClickModal: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
118
|
+
closeOnPressEscape: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
119
|
+
lockScroll: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
120
|
+
modal: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
118
121
|
modalPenetrable: BooleanConstructor;
|
|
119
|
-
openDelay: import("element-plus/es/utils/
|
|
120
|
-
closeDelay: import("element-plus/es/utils/
|
|
122
|
+
openDelay: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
123
|
+
closeDelay: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
121
124
|
top: {
|
|
122
125
|
readonly type: import("vue").PropType<string>;
|
|
123
126
|
readonly required: false;
|
|
@@ -125,12 +128,9 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
125
128
|
__epPropKey: true;
|
|
126
129
|
};
|
|
127
130
|
modelValue: BooleanConstructor;
|
|
128
|
-
modalClass:
|
|
129
|
-
headerClass: StringConstructor;
|
|
130
|
-
bodyClass: StringConstructor;
|
|
131
|
-
footerClass: StringConstructor;
|
|
131
|
+
modalClass: 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>;
|
|
132
132
|
width: {
|
|
133
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/
|
|
133
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
134
134
|
readonly required: false;
|
|
135
135
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
136
136
|
__epPropKey: true;
|
|
@@ -142,59 +142,69 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
142
142
|
__epPropKey: true;
|
|
143
143
|
};
|
|
144
144
|
trapFocus: BooleanConstructor;
|
|
145
|
-
transition: import("element-plus/es/utils/
|
|
145
|
+
transition: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<(new (...args: any[]) => string | import("vue").TransitionProps) | (() => import("element-plus").DialogTransition) | (((new (...args: any[]) => string | import("vue").TransitionProps) | (() => import("element-plus").DialogTransition)) | null)[], unknown, unknown, undefined, boolean>;
|
|
146
146
|
center: BooleanConstructor;
|
|
147
|
-
alignCenter: import("element-plus/es/utils/
|
|
147
|
+
alignCenter: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
148
148
|
closeIcon: {
|
|
149
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/
|
|
149
|
+
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>>;
|
|
150
150
|
readonly required: false;
|
|
151
151
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
152
152
|
__epPropKey: true;
|
|
153
153
|
};
|
|
154
|
-
draggable: import("element-plus/es/utils/
|
|
155
|
-
overflow: import("element-plus/es/utils/
|
|
154
|
+
draggable: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
155
|
+
overflow: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
156
156
|
fullscreen: BooleanConstructor;
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
157
|
+
headerClass: 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>;
|
|
158
|
+
bodyClass: 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>;
|
|
159
|
+
footerClass: 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>;
|
|
160
|
+
showClose: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
161
|
+
title: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
162
|
+
ariaLevel: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
160
163
|
}>> & Readonly<{
|
|
161
|
-
onClose?: (
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
164
|
+
onClose?: () => any;
|
|
165
|
+
onResize?: (evt: MouseEvent, size: number) => any;
|
|
166
|
+
onOpen?: () => any;
|
|
167
|
+
onClosed?: () => any;
|
|
168
|
+
"onUpdate:modelValue"?: (value: boolean) => any;
|
|
169
|
+
"onResize-start"?: (evt: MouseEvent, size: number) => any;
|
|
170
|
+
"onResize-end"?: (evt: MouseEvent, size: number) => any;
|
|
171
|
+
onOpened?: () => any;
|
|
172
|
+
onOpenAutoFocus?: () => any;
|
|
173
|
+
onCloseAutoFocus?: () => any;
|
|
168
174
|
}>, {
|
|
169
|
-
size: import("element-plus/es/utils/
|
|
170
|
-
transition:
|
|
175
|
+
size: import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
176
|
+
transition: undefined;
|
|
171
177
|
title: string;
|
|
172
|
-
appendTo: import("element-plus/es/utils/
|
|
178
|
+
appendTo: import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>;
|
|
173
179
|
center: boolean;
|
|
174
180
|
absolute: boolean;
|
|
181
|
+
direction: import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
182
|
+
overflow: import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
183
|
+
draggable: import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
184
|
+
ariaLevel: string;
|
|
185
|
+
destroyOnClose: boolean;
|
|
175
186
|
modules: "toggle"[];
|
|
176
187
|
modelValue: boolean;
|
|
177
|
-
|
|
178
|
-
showClose: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
179
|
-
direction: import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
188
|
+
showClose: import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
180
189
|
resizable: boolean;
|
|
181
|
-
withHeader: import("element-plus/es/utils/
|
|
182
|
-
modalFade: import("element-plus/es/utils/
|
|
190
|
+
withHeader: import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
191
|
+
modalFade: import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
183
192
|
headerAriaLevel: string;
|
|
184
193
|
appendToBody: boolean;
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
modal: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
194
|
+
closeOnClickModal: import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
195
|
+
closeOnPressEscape: import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
196
|
+
lockScroll: import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
197
|
+
modal: import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
190
198
|
modalPenetrable: boolean;
|
|
191
199
|
openDelay: number;
|
|
192
200
|
closeDelay: number;
|
|
201
|
+
modalClass: undefined;
|
|
193
202
|
trapFocus: boolean;
|
|
194
|
-
alignCenter: import("element-plus/es/utils/
|
|
195
|
-
draggable: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
203
|
+
alignCenter: import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
196
204
|
fullscreen: boolean;
|
|
197
|
-
|
|
205
|
+
headerClass: undefined;
|
|
206
|
+
bodyClass: undefined;
|
|
207
|
+
footerClass: undefined;
|
|
198
208
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
199
209
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
200
210
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as i, ref as r, onMounted as l,
|
|
1
|
+
import { defineComponent as i, ref as r, onMounted as l, openBlock as s, createElementBlock as p, Fragment as c, createElementVNode as m, renderSlot as d } from "vue";
|
|
2
2
|
import u from "lottie-web";
|
|
3
3
|
import { _ } from "../_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
4
4
|
const f = {
|
|
@@ -34,7 +34,7 @@ const f = {
|
|
|
34
34
|
class: "vk-lottie-animation"
|
|
35
35
|
};
|
|
36
36
|
function h(t, a, e, o, y, A) {
|
|
37
|
-
return
|
|
37
|
+
return s(), p(c, null, [
|
|
38
38
|
m("div", g, null, 512),
|
|
39
39
|
d(t.$slots, "default")
|
|
40
40
|
], 64);
|
|
@@ -16,7 +16,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
16
16
|
default: string;
|
|
17
17
|
};
|
|
18
18
|
}>> & Readonly<{
|
|
19
|
-
onLoad?: (
|
|
19
|
+
onLoad?: (e: import("./types").LoadEvent) => any;
|
|
20
20
|
}>, {
|
|
21
21
|
path: string;
|
|
22
22
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as U, ref as m, onMounted as C,
|
|
1
|
+
import { defineComponent as U, ref as m, onMounted as C, openBlock as M, createElementBlock as P, Fragment as V, createVNode as f, unref as r, mergeProps as x, withCtx as D, renderSlot as A, isRef as E } from "vue";
|
|
2
2
|
import { VkBroadcastingMarkdown as T } from "@vunk/plus/components/broadcasting-markdown";
|
|
3
3
|
import { VkPixiFrameBitmap as q, VkPixiFrameBitmapGenerator as j } from "@vunk/plus/components/pixi-frame";
|
|
4
4
|
import { blobToAudioBuffer as z } from "@vunk/plus/shared/data";
|
|
@@ -113,7 +113,7 @@ const $ = {
|
|
|
113
113
|
function w(e) {
|
|
114
114
|
i.value.push(e);
|
|
115
115
|
}
|
|
116
|
-
return (e, t) => (
|
|
116
|
+
return (e, t) => (M(), P(V, null, [
|
|
117
117
|
f(r(T), x(e.$attrs, {
|
|
118
118
|
status: r(o),
|
|
119
119
|
data: p.value,
|
|
@@ -42,7 +42,7 @@ export declare const props: {
|
|
|
42
42
|
*/
|
|
43
43
|
status: {
|
|
44
44
|
type: PropType<TickerStatus>;
|
|
45
|
-
default:
|
|
45
|
+
default: any;
|
|
46
46
|
};
|
|
47
47
|
/**
|
|
48
48
|
* @description 缓存多少帧后开始播放
|
|
@@ -57,5 +57,5 @@ export declare const props: {
|
|
|
57
57
|
};
|
|
58
58
|
};
|
|
59
59
|
export declare const emits: {
|
|
60
|
-
'update:status':
|
|
60
|
+
'update:status': any;
|
|
61
61
|
};
|
|
@@ -28,7 +28,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
28
28
|
};
|
|
29
29
|
status: {
|
|
30
30
|
type: import("vue").PropType<TickerStatus>;
|
|
31
|
-
default:
|
|
31
|
+
default: any;
|
|
32
32
|
};
|
|
33
33
|
playAfterCache: {
|
|
34
34
|
type: NumberConstructor;
|
|
@@ -39,7 +39,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
39
39
|
default: boolean;
|
|
40
40
|
};
|
|
41
41
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
42
|
-
"update:status": (...args: any[]) => void;
|
|
42
|
+
"update:status": ((...args: unknown[]) => void) & ((...args: any[]) => void);
|
|
43
43
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
44
44
|
source: {
|
|
45
45
|
type: StringConstructor;
|
|
@@ -63,7 +63,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
63
63
|
};
|
|
64
64
|
status: {
|
|
65
65
|
type: import("vue").PropType<TickerStatus>;
|
|
66
|
-
default:
|
|
66
|
+
default: any;
|
|
67
67
|
};
|
|
68
68
|
playAfterCache: {
|
|
69
69
|
type: NumberConstructor;
|
|
@@ -74,7 +74,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
74
74
|
default: boolean;
|
|
75
75
|
};
|
|
76
76
|
}>> & Readonly<{
|
|
77
|
-
"onUpdate:status"?: (
|
|
77
|
+
"onUpdate:status"?: (...args: any[]) => any;
|
|
78
78
|
}>, {
|
|
79
79
|
source: string;
|
|
80
80
|
disabled: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const g=require("@vueuse/core"),h=require("monaco-editor"),e=require("vue"),y=require("@vunk/core/shared/utils-vue"),v=require("../_plugin-vue_export-helper-BHFhmbuH.js"),c={modelValue:{type:String,default:""},defaultOptions:{type:Object,default:()=>({})},readOnly:{type:Boolean,default:!1},autoHeight:{type:Boolean,default:!1}},b=y.bindPropsFactory(c),s={"update:modelValue":null,load:t=>!0},O=y.onEmitsFactory(s),V=Object.freeze(Object.defineProperty({__proto__:null,createBindProps:b,createOnEmits:O,emits:s,props:c},Symbol.toStringTag,{value:"Module"})),M=e.defineComponent({name:"VkMonacoEditor",props:c,emits:s,setup(t,{emit:l}){const a=e.ref(),n=e.ref(""),d=e.computed(()=>{if(!(!t.autoHeight||!n.value))return{height:n.value}});return e.onMounted(()=>{const u={...t.defaultOptions};t.autoHeight&&(u.scrollBeyondLastLine=!1);const o=h.editor.create(a.value,u);l("load",o);function f(){if(!t.autoHeight)return;const i=`${Math.ceil(o.getContentHeight())}px`;n.value!==i&&(n.value=i,e.nextTick(()=>{o.layout()}))}const p=g.watchPausable(()=>t.modelValue,i=>{o.setValue(i)},{immediate:!0});o.onDidChangeModelContent(()=>{p.pause(),l("update:modelValue",o.getValue()),e.nextTick(()=>{p.resume()})});const _=o.onDidContentSizeChange(f);e.watchEffect(f),e.watchEffect(()=>{o.updateOptions({readOnly:t.readOnly})});const m=new ResizeObserver(()=>{o.layout()});m.observe(a.value),e.onBeforeUnmount(()=>{_.dispose(),m.disconnect(),o.dispose()})}),{editorNode:a,editorStyle:d}}});function E(t,l,a,n,d,u){return e.openBlock(),e.createElementBlock("div",{ref:"editorNode",class:"vk-monaco-editor",style:e.normalizeStyle(t.editorStyle)},null,4)}const r=v._export_sfc(M,[["render",E]]),S=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));r.install=t=>{t.component(r.name||"VkMonacoEditor",r)};exports.VkMonacoEditor=r;exports._VkMonacoEditorCtx=V;exports.__VkMonacoEditor=S;exports.default=r;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { watchPausable as
|
|
2
|
-
import { editor as
|
|
3
|
-
import { defineComponent as
|
|
4
|
-
import { bindPropsFactory as
|
|
1
|
+
import { watchPausable as h } from "@vueuse/core";
|
|
2
|
+
import { editor as b } from "monaco-editor";
|
|
3
|
+
import { defineComponent as v, ref as p, computed as O, onMounted as V, nextTick as y, watchEffect as _, onBeforeUnmount as M, openBlock as S, createElementBlock as k, normalizeStyle as E } from "vue";
|
|
4
|
+
import { bindPropsFactory as H, onEmitsFactory as x } from "@vunk/core/shared/utils-vue";
|
|
5
5
|
import { _ as z } from "../_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
6
|
-
const
|
|
6
|
+
const c = {
|
|
7
7
|
modelValue: {
|
|
8
8
|
type: String,
|
|
9
9
|
default: ""
|
|
@@ -20,85 +20,89 @@ const i = {
|
|
|
20
20
|
type: Boolean,
|
|
21
21
|
default: !1
|
|
22
22
|
}
|
|
23
|
-
},
|
|
23
|
+
}, B = H(c), s = {
|
|
24
24
|
"update:modelValue": null,
|
|
25
|
-
load: (
|
|
26
|
-
},
|
|
25
|
+
load: (e) => !0
|
|
26
|
+
}, C = x(s), L = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
27
27
|
__proto__: null,
|
|
28
|
-
createBindProps:
|
|
29
|
-
createOnEmits:
|
|
30
|
-
emits:
|
|
31
|
-
props:
|
|
32
|
-
}, Symbol.toStringTag, { value: "Module" })), j =
|
|
28
|
+
createBindProps: B,
|
|
29
|
+
createOnEmits: C,
|
|
30
|
+
emits: s,
|
|
31
|
+
props: c
|
|
32
|
+
}, Symbol.toStringTag, { value: "Module" })), j = v({
|
|
33
33
|
name: "VkMonacoEditor",
|
|
34
|
-
props:
|
|
35
|
-
emits:
|
|
36
|
-
setup(
|
|
37
|
-
const n = p(), o = p(""),
|
|
38
|
-
if (!(!
|
|
34
|
+
props: c,
|
|
35
|
+
emits: s,
|
|
36
|
+
setup(e, { emit: r }) {
|
|
37
|
+
const n = p(), o = p(""), u = O(() => {
|
|
38
|
+
if (!(!e.autoHeight || !o.value))
|
|
39
39
|
return {
|
|
40
40
|
height: o.value
|
|
41
41
|
};
|
|
42
42
|
});
|
|
43
|
-
return
|
|
44
|
-
const
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
43
|
+
return V(() => {
|
|
44
|
+
const i = {
|
|
45
|
+
...e.defaultOptions
|
|
46
|
+
};
|
|
47
|
+
e.autoHeight && (i.scrollBeyondLastLine = !1);
|
|
48
|
+
const t = b.create(n.value, i);
|
|
49
|
+
r("load", t);
|
|
50
|
+
function d() {
|
|
51
|
+
if (!e.autoHeight)
|
|
48
52
|
return;
|
|
49
|
-
const a = `${Math.ceil(
|
|
50
|
-
o.value !== a && (o.value = a,
|
|
51
|
-
|
|
53
|
+
const a = `${Math.ceil(t.getContentHeight())}px`;
|
|
54
|
+
o.value !== a && (o.value = a, y(() => {
|
|
55
|
+
t.layout();
|
|
52
56
|
}));
|
|
53
57
|
}
|
|
54
|
-
const
|
|
55
|
-
() =>
|
|
58
|
+
const f = h(
|
|
59
|
+
() => e.modelValue,
|
|
56
60
|
(a) => {
|
|
57
|
-
|
|
61
|
+
t.setValue(a);
|
|
58
62
|
},
|
|
59
63
|
{
|
|
60
64
|
immediate: !0
|
|
61
65
|
}
|
|
62
66
|
);
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
67
|
+
t.onDidChangeModelContent(() => {
|
|
68
|
+
f.pause(), r("update:modelValue", t.getValue()), y(() => {
|
|
69
|
+
f.resume();
|
|
66
70
|
});
|
|
67
71
|
});
|
|
68
|
-
const
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
readOnly:
|
|
72
|
+
const g = t.onDidContentSizeChange(d);
|
|
73
|
+
_(d), _(() => {
|
|
74
|
+
t.updateOptions({
|
|
75
|
+
readOnly: e.readOnly
|
|
72
76
|
});
|
|
73
77
|
});
|
|
74
|
-
const
|
|
75
|
-
|
|
78
|
+
const m = new ResizeObserver(() => {
|
|
79
|
+
t.layout();
|
|
76
80
|
});
|
|
77
|
-
|
|
78
|
-
|
|
81
|
+
m.observe(n.value), M(() => {
|
|
82
|
+
g.dispose(), m.disconnect(), t.dispose();
|
|
79
83
|
});
|
|
80
84
|
}), {
|
|
81
85
|
editorNode: n,
|
|
82
|
-
editorStyle:
|
|
86
|
+
editorStyle: u
|
|
83
87
|
};
|
|
84
88
|
}
|
|
85
89
|
});
|
|
86
|
-
function
|
|
87
|
-
return S(),
|
|
90
|
+
function $(e, r, n, o, u, i) {
|
|
91
|
+
return S(), k("div", {
|
|
88
92
|
ref: "editorNode",
|
|
89
93
|
class: "vk-monaco-editor",
|
|
90
|
-
style:
|
|
94
|
+
style: E(e.editorStyle)
|
|
91
95
|
}, null, 4);
|
|
92
96
|
}
|
|
93
|
-
const l = /* @__PURE__ */ z(j, [["render",
|
|
97
|
+
const l = /* @__PURE__ */ z(j, [["render", $]]), N = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
94
98
|
__proto__: null
|
|
95
99
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
96
|
-
l.install = (
|
|
97
|
-
|
|
100
|
+
l.install = (e) => {
|
|
101
|
+
e.component(l.name || "VkMonacoEditor", l);
|
|
98
102
|
};
|
|
99
103
|
export {
|
|
100
104
|
l as VkMonacoEditor,
|
|
101
|
-
|
|
105
|
+
L as _VkMonacoEditorCtx,
|
|
102
106
|
N as __VkMonacoEditor,
|
|
103
107
|
l as default
|
|
104
108
|
};
|
|
@@ -18,12 +18,12 @@ export declare const props: {
|
|
|
18
18
|
default: boolean;
|
|
19
19
|
};
|
|
20
20
|
};
|
|
21
|
-
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"
|
|
21
|
+
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"readOnly", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"defaultOptions", keyof T2> | Extract<"autoHeight", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"readOnly", keyof T2>, KE> | Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"defaultOptions", keyof T2>, KE> | Exclude<Extract<"autoHeight", keyof T2>, KE> : Extract<"readOnly", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"defaultOptions", keyof T2> | Extract<"autoHeight", keyof T2>]: { [k in Extract<"readOnly", keyof T2> | Extract<"modelValue", keyof T2> | Extract<"defaultOptions", keyof T2> | Extract<"autoHeight", keyof T2>]: T2[k]; }[P]; }>;
|
|
22
22
|
export declare const emits: {
|
|
23
|
-
'update:modelValue':
|
|
23
|
+
'update:modelValue': any;
|
|
24
24
|
load: (_editor: editor.IStandaloneCodeEditor) => boolean;
|
|
25
25
|
};
|
|
26
|
-
export declare const createOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("load" | "update:modelValue")[]>(emit: T2, excludes?: EX
|
|
26
|
+
export declare const createOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends ("load" | "update:modelValue")[]>(emit: T2, excludes?: EX) => { [P in EX extends (infer KE)[] ? Exclude<"load", KE> | Exclude<"update:modelValue", KE> : "load" | "update:modelValue"]: {
|
|
27
27
|
'update:modelValue': (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
28
28
|
load: (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
29
29
|
}[P]; };
|
|
@@ -23,9 +23,9 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
23
23
|
editorNode: Ref<HTMLDivElement, HTMLDivElement>;
|
|
24
24
|
editorStyle: import("vue").ComputedRef<{
|
|
25
25
|
height: string;
|
|
26
|
-
}
|
|
26
|
+
}>;
|
|
27
27
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
28
|
-
'update:modelValue':
|
|
28
|
+
'update:modelValue': any;
|
|
29
29
|
load: (_editor: mEditor.IStandaloneCodeEditor) => boolean;
|
|
30
30
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
31
31
|
modelValue: {
|
|
@@ -45,11 +45,11 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
45
45
|
default: boolean;
|
|
46
46
|
};
|
|
47
47
|
}>> & Readonly<{
|
|
48
|
-
onLoad?: (
|
|
49
|
-
"onUpdate:modelValue"?: (
|
|
48
|
+
onLoad?: (_editor: mEditor.IStandaloneCodeEditor) => any;
|
|
49
|
+
"onUpdate:modelValue"?: (...args: any) => any;
|
|
50
50
|
}>, {
|
|
51
|
-
modelValue: string;
|
|
52
51
|
readOnly: boolean;
|
|
52
|
+
modelValue: string;
|
|
53
53
|
defaultOptions: mEditor.IStandaloneEditorConstructionOptions;
|
|
54
54
|
autoHeight: boolean;
|
|
55
55
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|