@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
|
@@ -4,10 +4,10 @@ export default _default;
|
|
|
4
4
|
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
5
|
onTextZone: {
|
|
6
6
|
type: import("vue").PropType<import("./types").OnTextZone>;
|
|
7
|
-
default:
|
|
7
|
+
default: any;
|
|
8
8
|
};
|
|
9
9
|
appendTo: {
|
|
10
|
-
type:
|
|
10
|
+
type: any;
|
|
11
11
|
default: string;
|
|
12
12
|
};
|
|
13
13
|
disabled: {
|
|
@@ -16,7 +16,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
16
16
|
};
|
|
17
17
|
speechToText: {
|
|
18
18
|
type: import("vue").PropType<import("./types").SpeechToText>;
|
|
19
|
-
default:
|
|
19
|
+
default: any;
|
|
20
20
|
};
|
|
21
21
|
submitToText: {
|
|
22
22
|
type: BooleanConstructor;
|
|
@@ -39,10 +39,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
39
39
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
40
40
|
onTextZone: {
|
|
41
41
|
type: import("vue").PropType<import("./types").OnTextZone>;
|
|
42
|
-
default:
|
|
42
|
+
default: any;
|
|
43
43
|
};
|
|
44
44
|
appendTo: {
|
|
45
|
-
type:
|
|
45
|
+
type: any;
|
|
46
46
|
default: string;
|
|
47
47
|
};
|
|
48
48
|
disabled: {
|
|
@@ -51,16 +51,16 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
51
51
|
};
|
|
52
52
|
speechToText: {
|
|
53
53
|
type: import("vue").PropType<import("./types").SpeechToText>;
|
|
54
|
-
default:
|
|
54
|
+
default: any;
|
|
55
55
|
};
|
|
56
56
|
submitToText: {
|
|
57
57
|
type: BooleanConstructor;
|
|
58
58
|
default: boolean;
|
|
59
59
|
};
|
|
60
60
|
}>> & Readonly<{
|
|
61
|
-
onError?: (
|
|
62
|
-
onSubmit?: (
|
|
63
|
-
onSubmitText?: (
|
|
61
|
+
onError?: (_: Error) => any;
|
|
62
|
+
onSubmit?: (_: import("./types").SubmitRawEvent) => any;
|
|
63
|
+
onSubmitText?: (text: string) => any;
|
|
64
64
|
}>, {
|
|
65
65
|
appendTo: any;
|
|
66
66
|
disabled: boolean;
|
|
@@ -68,233 +68,150 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
68
68
|
speechToText: import("./types").SpeechToText;
|
|
69
69
|
submitToText: boolean;
|
|
70
70
|
}, {}, {
|
|
71
|
-
ElButton:
|
|
72
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("
|
|
73
|
-
readonly size: {
|
|
74
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
75
|
-
readonly required: false;
|
|
76
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
77
|
-
__epPropKey: true;
|
|
78
|
-
};
|
|
79
|
-
readonly disabled: BooleanConstructor;
|
|
80
|
-
readonly type: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, "" | "text" | "default" | "primary" | "success" | "warning" | "info" | "danger", unknown, "", boolean>;
|
|
81
|
-
readonly icon: {
|
|
82
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>>;
|
|
83
|
-
readonly required: false;
|
|
84
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
85
|
-
__epPropKey: true;
|
|
86
|
-
};
|
|
87
|
-
readonly nativeType: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, "button" | "reset" | "submit", unknown, "button", boolean>;
|
|
88
|
-
readonly loading: BooleanConstructor;
|
|
89
|
-
readonly loadingIcon: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown, () => any, boolean>;
|
|
90
|
-
readonly plain: import("element-plus/es/utils/index.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
91
|
-
readonly text: import("element-plus/es/utils/index.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
92
|
-
readonly link: BooleanConstructor;
|
|
93
|
-
readonly bg: BooleanConstructor;
|
|
94
|
-
readonly autofocus: BooleanConstructor;
|
|
95
|
-
readonly round: import("element-plus/es/utils/index.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
96
|
-
readonly circle: BooleanConstructor;
|
|
97
|
-
readonly color: StringConstructor;
|
|
98
|
-
readonly dark: BooleanConstructor;
|
|
99
|
-
readonly autoInsertSpace: import("element-plus/es/utils/index.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
100
|
-
readonly tag: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown, "button", boolean>;
|
|
101
|
-
}>> & {
|
|
71
|
+
ElButton: {
|
|
72
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("element-plus").ButtonProps> & Readonly<{
|
|
102
73
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
103
|
-
}
|
|
104
|
-
ref:
|
|
105
|
-
size: import("vue").ComputedRef<"" | "
|
|
106
|
-
type: import("vue").ComputedRef<
|
|
74
|
+
}>, {
|
|
75
|
+
ref: Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
|
|
76
|
+
size: import("vue").ComputedRef<"" | "default" | "small" | "large">;
|
|
77
|
+
type: import("vue").ComputedRef<"" | "default" | "info" | "primary" | "success" | "warning" | "text" | "danger">;
|
|
107
78
|
disabled: import("vue").ComputedRef<boolean>;
|
|
108
79
|
shouldAddSpace: import("vue").ComputedRef<boolean>;
|
|
109
|
-
},
|
|
80
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
110
81
|
click: (evt: MouseEvent) => void;
|
|
111
|
-
}, import("vue").
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
readonly plain: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
124
|
-
readonly autoInsertSpace: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
125
|
-
readonly nativeType: import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "button" | "reset" | "submit", unknown>;
|
|
126
|
-
readonly loadingIcon: import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>;
|
|
127
|
-
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
82
|
+
}, import("vue").PublicProps, {
|
|
83
|
+
type: import("element-plus").ButtonType;
|
|
84
|
+
text: boolean;
|
|
85
|
+
disabled: boolean;
|
|
86
|
+
round: boolean;
|
|
87
|
+
dashed: boolean;
|
|
88
|
+
nativeType: import("element-plus").ButtonNativeType;
|
|
89
|
+
loadingIcon: import("element-plus/es/utils/vue/icon.mjs").IconPropType;
|
|
90
|
+
plain: boolean;
|
|
91
|
+
autoInsertSpace: boolean;
|
|
92
|
+
tag: string | import("vue").Component;
|
|
93
|
+
}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
128
94
|
P: {};
|
|
129
95
|
B: {};
|
|
130
96
|
D: {};
|
|
131
97
|
C: {};
|
|
132
98
|
M: {};
|
|
133
99
|
Defaults: {};
|
|
134
|
-
}, Readonly<import("
|
|
135
|
-
readonly size: {
|
|
136
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
137
|
-
readonly required: false;
|
|
138
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
139
|
-
__epPropKey: true;
|
|
140
|
-
};
|
|
141
|
-
readonly disabled: BooleanConstructor;
|
|
142
|
-
readonly type: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, "" | "text" | "default" | "primary" | "success" | "warning" | "info" | "danger", unknown, "", boolean>;
|
|
143
|
-
readonly icon: {
|
|
144
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>>;
|
|
145
|
-
readonly required: false;
|
|
146
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
147
|
-
__epPropKey: true;
|
|
148
|
-
};
|
|
149
|
-
readonly nativeType: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, "button" | "reset" | "submit", unknown, "button", boolean>;
|
|
150
|
-
readonly loading: BooleanConstructor;
|
|
151
|
-
readonly loadingIcon: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown, () => any, boolean>;
|
|
152
|
-
readonly plain: import("element-plus/es/utils/index.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
153
|
-
readonly text: import("element-plus/es/utils/index.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
154
|
-
readonly link: BooleanConstructor;
|
|
155
|
-
readonly bg: BooleanConstructor;
|
|
156
|
-
readonly autofocus: BooleanConstructor;
|
|
157
|
-
readonly round: import("element-plus/es/utils/index.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
158
|
-
readonly circle: BooleanConstructor;
|
|
159
|
-
readonly color: StringConstructor;
|
|
160
|
-
readonly dark: BooleanConstructor;
|
|
161
|
-
readonly autoInsertSpace: import("element-plus/es/utils/index.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
162
|
-
readonly tag: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown, "button", boolean>;
|
|
163
|
-
}>> & {
|
|
100
|
+
}, Readonly<import("element-plus").ButtonProps> & Readonly<{
|
|
164
101
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
165
|
-
}
|
|
166
|
-
ref:
|
|
167
|
-
size: import("vue").ComputedRef<"" | "
|
|
168
|
-
type: import("vue").ComputedRef<
|
|
102
|
+
}>, {
|
|
103
|
+
ref: Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
|
|
104
|
+
size: import("vue").ComputedRef<"" | "default" | "small" | "large">;
|
|
105
|
+
type: import("vue").ComputedRef<"" | "default" | "info" | "primary" | "success" | "warning" | "text" | "danger">;
|
|
169
106
|
disabled: import("vue").ComputedRef<boolean>;
|
|
170
107
|
shouldAddSpace: import("vue").ComputedRef<boolean>;
|
|
171
108
|
}, {}, {}, {}, {
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
readonly tag: import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>;
|
|
183
|
-
readonly plain: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
184
|
-
readonly autoInsertSpace: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
185
|
-
readonly nativeType: import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "button" | "reset" | "submit", unknown>;
|
|
186
|
-
readonly loadingIcon: import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>;
|
|
109
|
+
type: import("element-plus").ButtonType;
|
|
110
|
+
text: boolean;
|
|
111
|
+
disabled: boolean;
|
|
112
|
+
round: boolean;
|
|
113
|
+
dashed: boolean;
|
|
114
|
+
nativeType: import("element-plus").ButtonNativeType;
|
|
115
|
+
loadingIcon: import("element-plus/es/utils/vue/icon.mjs").IconPropType;
|
|
116
|
+
plain: boolean;
|
|
117
|
+
autoInsertSpace: boolean;
|
|
118
|
+
tag: string | import("vue").Component;
|
|
187
119
|
}>;
|
|
188
120
|
__isFragment?: never;
|
|
189
121
|
__isTeleport?: never;
|
|
190
122
|
__isSuspense?: never;
|
|
191
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("
|
|
192
|
-
readonly size: {
|
|
193
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
194
|
-
readonly required: false;
|
|
195
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
196
|
-
__epPropKey: true;
|
|
197
|
-
};
|
|
198
|
-
readonly disabled: BooleanConstructor;
|
|
199
|
-
readonly type: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, "" | "text" | "default" | "primary" | "success" | "warning" | "info" | "danger", unknown, "", boolean>;
|
|
200
|
-
readonly icon: {
|
|
201
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>>;
|
|
202
|
-
readonly required: false;
|
|
203
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
204
|
-
__epPropKey: true;
|
|
205
|
-
};
|
|
206
|
-
readonly nativeType: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, "button" | "reset" | "submit", unknown, "button", boolean>;
|
|
207
|
-
readonly loading: BooleanConstructor;
|
|
208
|
-
readonly loadingIcon: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown, () => any, boolean>;
|
|
209
|
-
readonly plain: import("element-plus/es/utils/index.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
210
|
-
readonly text: import("element-plus/es/utils/index.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
211
|
-
readonly link: BooleanConstructor;
|
|
212
|
-
readonly bg: BooleanConstructor;
|
|
213
|
-
readonly autofocus: BooleanConstructor;
|
|
214
|
-
readonly round: import("element-plus/es/utils/index.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
215
|
-
readonly circle: BooleanConstructor;
|
|
216
|
-
readonly color: StringConstructor;
|
|
217
|
-
readonly dark: BooleanConstructor;
|
|
218
|
-
readonly autoInsertSpace: import("element-plus/es/utils/index.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
219
|
-
readonly tag: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown, "button", boolean>;
|
|
220
|
-
}>> & {
|
|
123
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("element-plus").ButtonProps> & Readonly<{
|
|
221
124
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
222
|
-
}
|
|
223
|
-
ref:
|
|
224
|
-
size: import("vue").ComputedRef<"" | "
|
|
225
|
-
type: import("vue").ComputedRef<
|
|
125
|
+
}>, {
|
|
126
|
+
ref: Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
|
|
127
|
+
size: import("vue").ComputedRef<"" | "default" | "small" | "large">;
|
|
128
|
+
type: import("vue").ComputedRef<"" | "default" | "info" | "primary" | "success" | "warning" | "text" | "danger">;
|
|
226
129
|
disabled: import("vue").ComputedRef<boolean>;
|
|
227
130
|
shouldAddSpace: import("vue").ComputedRef<boolean>;
|
|
228
|
-
},
|
|
131
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
229
132
|
click: (evt: MouseEvent) => void;
|
|
230
133
|
}, string, {
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
readonly tag: import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>;
|
|
242
|
-
readonly plain: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
243
|
-
readonly autoInsertSpace: import("element-plus/es/utils/index.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
244
|
-
readonly nativeType: import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "button" | "reset" | "submit", unknown>;
|
|
245
|
-
readonly loadingIcon: import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>;
|
|
134
|
+
type: import("element-plus").ButtonType;
|
|
135
|
+
text: boolean;
|
|
136
|
+
disabled: boolean;
|
|
137
|
+
round: boolean;
|
|
138
|
+
dashed: boolean;
|
|
139
|
+
nativeType: import("element-plus").ButtonNativeType;
|
|
140
|
+
loadingIcon: import("element-plus/es/utils/vue/icon.mjs").IconPropType;
|
|
141
|
+
plain: boolean;
|
|
142
|
+
autoInsertSpace: boolean;
|
|
143
|
+
tag: string | import("vue").Component;
|
|
246
144
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
247
145
|
$slots: {
|
|
248
|
-
loading
|
|
249
|
-
|
|
250
|
-
|
|
146
|
+
loading?: (props: {}) => any;
|
|
147
|
+
} & {
|
|
148
|
+
icon?: (props: {}) => any;
|
|
149
|
+
} & {
|
|
150
|
+
default?: (props: {}) => any;
|
|
251
151
|
};
|
|
252
|
-
})
|
|
152
|
+
}) & import("vue").ObjectPlugin & {
|
|
153
|
+
setPropsDefaults: (defaults: {
|
|
154
|
+
readonly size?: "" | "small" | "default" | "large" | (() => "" | "small" | "default" | "large");
|
|
155
|
+
readonly disabled?: boolean | (() => boolean);
|
|
156
|
+
readonly type?: "" | "default" | "text" | "info" | "success" | "warning" | "primary" | "danger" | (() => "" | "default" | "text" | "info" | "success" | "warning" | "primary" | "danger");
|
|
157
|
+
readonly icon?: string | import("vue").FunctionalComponent<any, {}, any, {}> | {
|
|
158
|
+
new (...args: any[]): any;
|
|
159
|
+
__isFragment?: never;
|
|
160
|
+
__isTeleport?: never;
|
|
161
|
+
__isSuspense?: never;
|
|
162
|
+
} | (() => import("element-plus/es/utils/vue/icon.mjs").IconPropType & {});
|
|
163
|
+
readonly nativeType?: "reset" | "submit" | "button" | (() => "reset" | "submit" | "button");
|
|
164
|
+
readonly loading?: boolean | (() => boolean);
|
|
165
|
+
readonly loadingIcon?: string | import("vue").FunctionalComponent<any, {}, any, {}> | {
|
|
166
|
+
new (...args: any[]): any;
|
|
167
|
+
__isFragment?: never;
|
|
168
|
+
__isTeleport?: never;
|
|
169
|
+
__isSuspense?: never;
|
|
170
|
+
} | (() => import("element-plus/es/utils/vue/icon.mjs").IconPropType & {});
|
|
171
|
+
readonly plain?: boolean | (() => boolean);
|
|
172
|
+
readonly text?: boolean | (() => boolean);
|
|
173
|
+
readonly link?: boolean | (() => boolean);
|
|
174
|
+
readonly bg?: boolean | (() => boolean);
|
|
175
|
+
readonly autofocus?: boolean | (() => boolean);
|
|
176
|
+
readonly round?: boolean | (() => boolean);
|
|
177
|
+
readonly circle?: boolean | (() => boolean);
|
|
178
|
+
readonly dashed?: boolean | (() => boolean);
|
|
179
|
+
readonly color?: string | (() => string);
|
|
180
|
+
readonly dark?: boolean | (() => boolean);
|
|
181
|
+
readonly autoInsertSpace?: boolean | (() => boolean);
|
|
182
|
+
readonly tag?: string | import("vue").FunctionalComponent<any, {}, any, {}> | {
|
|
183
|
+
new (...args: any[]): any;
|
|
184
|
+
__isFragment?: never;
|
|
185
|
+
__isTeleport?: never;
|
|
186
|
+
__isSuspense?: never;
|
|
187
|
+
} | (() => (string | import("vue").Component) & {});
|
|
188
|
+
readonly onClick?: ((evt: MouseEvent) => any) | (() => (evt: MouseEvent) => any);
|
|
189
|
+
}) => void;
|
|
190
|
+
} & {
|
|
253
191
|
ButtonGroup: {
|
|
254
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
259
|
-
__epPropKey: true;
|
|
260
|
-
};
|
|
261
|
-
readonly type: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, "" | "text" | "default" | "primary" | "success" | "warning" | "info" | "danger", unknown, "", boolean>;
|
|
262
|
-
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, {
|
|
263
|
-
readonly type: import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "" | "text" | "default" | "primary" | "success" | "warning" | "info" | "danger", unknown>;
|
|
264
|
-
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
192
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("element-plus/es/components/button/src/button-group.mjs").ButtonGroupProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
193
|
+
direction: "horizontal" | "vertical";
|
|
194
|
+
type: "" | "default" | "info" | "primary" | "success" | "warning" | "text" | "danger";
|
|
195
|
+
}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
265
196
|
P: {};
|
|
266
197
|
B: {};
|
|
267
198
|
D: {};
|
|
268
199
|
C: {};
|
|
269
200
|
M: {};
|
|
270
201
|
Defaults: {};
|
|
271
|
-
}, Readonly<import("
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
readonly required: false;
|
|
275
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
276
|
-
__epPropKey: true;
|
|
277
|
-
};
|
|
278
|
-
readonly type: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, "" | "text" | "default" | "primary" | "success" | "warning" | "info" | "danger", unknown, "", boolean>;
|
|
279
|
-
}>>, {}, {}, {}, {}, {
|
|
280
|
-
readonly type: import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "" | "text" | "default" | "primary" | "success" | "warning" | "info" | "danger", unknown>;
|
|
202
|
+
}, Readonly<import("element-plus/es/components/button/src/button-group.mjs").ButtonGroupProps> & Readonly<{}>, {}, {}, {}, {}, {
|
|
203
|
+
direction: "horizontal" | "vertical";
|
|
204
|
+
type: "" | "default" | "info" | "primary" | "success" | "warning" | "text" | "danger";
|
|
281
205
|
}>;
|
|
282
206
|
__isFragment?: never;
|
|
283
207
|
__isTeleport?: never;
|
|
284
208
|
__isSuspense?: never;
|
|
285
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
readonly required: false;
|
|
289
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
290
|
-
__epPropKey: true;
|
|
291
|
-
};
|
|
292
|
-
readonly type: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, "" | "text" | "default" | "primary" | "success" | "warning" | "info" | "danger", unknown, "", boolean>;
|
|
293
|
-
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
|
294
|
-
readonly type: import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "" | "text" | "default" | "primary" | "success" | "warning" | "info" | "danger", unknown>;
|
|
209
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("element-plus/es/components/button/src/button-group.mjs").ButtonGroupProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
210
|
+
direction: "horizontal" | "vertical";
|
|
211
|
+
type: "" | "default" | "info" | "primary" | "success" | "warning" | "text" | "danger";
|
|
295
212
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
296
213
|
$slots: {
|
|
297
|
-
default
|
|
214
|
+
default?: (props: {}) => any;
|
|
298
215
|
};
|
|
299
216
|
});
|
|
300
217
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("@vunk/shared/string/url"),C=require("element-plus"),$=require("@vunk/core/shared/utils-vue"),f=require("../_plugin-vue_export-helper-BHFhmbuH.js"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("@vunk/shared/string/url"),C=require("element-plus"),$=require("@vunk/core/shared/utils-vue"),f=require("../_plugin-vue_export-helper-BHFhmbuH.js"),S={data:{type:Array,default:()=>[]},popperClass:{type:String,default:"vk-routes-menu-content-popper"},basePath:{type:String,default:""}},k={},P={data:{type:Object,default:()=>({})},popperClass:{type:String,default:""},basePath:{type:String,default:""}},g=$.bindPropsFactory(P),y=e.defineComponent({components:{ElSubMenu:C.ElSubMenu,ElMenuItem:C.ElMenuItem},props:P,setup(t){const p=e.computed(()=>{let n=!1;return t.data.children&&(n=t.data.children.some(a=>a.meta?.display!=0&&a.meta?.hidden!==!0)),n}),i=e.computed(()=>{const n=t.data.meta;return n?.subMenuIndex?n.subMenuIndex:c.resolveFullPath(t.data.path,t.basePath)});return{resolveFullPath:c.resolveFullPath,hasChildren:p,subMenuIndex:i}}});function v(t,p,i,n,a,m){const s=e.resolveComponent("ElSubMenu"),r=e.resolveComponent("ElMenuItem");return t.hasChildren?(e.openBlock(),e.createBlock(s,{key:0,index:t.subMenuIndex,"popper-class":t.popperClass},{title:e.withCtx(()=>[e.renderSlot(t.$slots,"menuTitle",{data:t.data,href:t.resolveFullPath(t.data.path,t.basePath),basePath:t.basePath})]),default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},8,["index","popper-class"])):(e.openBlock(),e.createBlock(r,{key:1,index:t.resolveFullPath(t.data.path,t.basePath)},{title:e.withCtx(()=>[e.renderSlot(t.$slots,"itemTitle",{data:t.data,href:t.resolveFullPath(t.data.path,t.basePath),basePath:t.basePath})]),default:e.withCtx(()=>[e.renderSlot(t.$slots,"item",{data:t.data,href:t.resolveFullPath(t.data.path,t.basePath),basePath:t.basePath})]),_:3},8,["index"]))}const w=f._export_sfc(y,[["render",v]]),M={...P},b=Symbol("skipRender"),T=e.defineComponent({components:{CoreVue:w},props:M,setup(t){const p=g(t),i=e.computed(()=>n(t.data));function n(a,m={}){const s=a.children,r=m.paths||[a.path];if(!a.meta?.alwaysShow&&s){const l=s.filter(o=>o.meta?.display!=0&&o.meta?.hidden!==!0);if(l.length===1){const o=l[0];return r.push(o.path),o[b]=!0,o.children?.length&&o.children.filter(u=>u.meta?.display!=0&&u.meta?.hidden!==!0).length?n(o,{paths:r}):{...o,meta:{...a.meta??{},...o.meta??{}},_paths:r,path:r.reduce((h,u)=>!h||u.startsWith("/")?u:h+"/"+u,"")}}}}return{skipRender:b,onlyData:i,bindProps:p}}});function B(t,p,i,n,a,m){const s=e.resolveComponent("CoreVue");return t.data.meta?.display!=0&&t.data.meta?.hidden!==!0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t.data[t.skipRender]?e.renderSlot(t.$slots,"default",{},void 0,void 0,1):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t.onlyData?(e.openBlock(),e.createBlock(s,e.mergeProps({key:0},t.bindProps,{data:t.onlyData}),{item:e.withCtx(r=>[e.renderSlot(t.$slots,"item",e.normalizeProps(e.guardReactiveProps(r)))]),menuTitle:e.withCtx(r=>[e.renderSlot(t.$slots,"menuTitle",e.normalizeProps(e.guardReactiveProps(r)))]),itemTitle:e.withCtx(r=>[e.renderSlot(t.$slots,"itemTitle",e.normalizeProps(e.guardReactiveProps(r)))]),default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16,["data"])):(e.openBlock(),e.createBlock(s,e.normalizeProps(e.mergeProps({key:1},t.bindProps)),{item:e.withCtx(r=>[e.renderSlot(t.$slots,"item",e.normalizeProps(e.guardReactiveProps(r)))]),menuTitle:e.withCtx(r=>[e.renderSlot(t.$slots,"menuTitle",e.normalizeProps(e.guardReactiveProps(r)))]),itemTitle:e.withCtx(r=>[e.renderSlot(t.$slots,"itemTitle",e.normalizeProps(e.guardReactiveProps(r)))]),default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16))],64))],64)):e.createCommentVNode("",!0)}const V=f._export_sfc(T,[["render",B]]),R=e.defineComponent({name:"VkRoutesMenuContent",components:{ItemVue:V},props:S,emits:k,setup(){return{resolveFullPath:c.resolveFullPath}}});function F(t,p,i,n,a,m){const s=e.resolveComponent("VkRoutesMenuContent"),r=e.resolveComponent("ItemVue");return e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.data,l=>(e.openBlock(),e.createBlock(r,{key:l.name||l.path,data:l,"popper-class":t.popperClass,"base-path":t.basePath},{item:e.withCtx(o=>[e.renderSlot(t.$slots,"item",e.mergeProps({ref_for:!0},o))]),menuTitle:e.withCtx(o=>[e.renderSlot(t.$slots,"menuTitle",e.mergeProps({ref_for:!0},o))]),itemTitle:e.withCtx(o=>[e.renderSlot(t.$slots,"itemTitle",e.mergeProps({ref_for:!0},o))]),default:e.withCtx(()=>[e.createVNode(s,{data:l.children,"popper-class":t.popperClass,"base-path":t.resolveFullPath(l.path,t.basePath)},{item:e.withCtx(o=>[e.renderSlot(t.$slots,"item",e.mergeProps({ref_for:!0},o))]),menuTitle:e.withCtx(o=>[e.renderSlot(t.$slots,"menuTitle",e.mergeProps({ref_for:!0},o))]),itemTitle:e.withCtx(o=>[e.renderSlot(t.$slots,"itemTitle",e.mergeProps({ref_for:!0},o))]),_:3},8,["data","popper-class","base-path"])]),_:2},1032,["data","popper-class","base-path"]))),128)}const d=f._export_sfc(R,[["render",F]]),E=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));d.install=t=>{t.component(d.name||"VkRoutesMenuContent",d)};exports.VkRoutesMenuContent=d;exports.__VkRoutesMenuContent=E;exports.default=d;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as S, computed as k, resolveComponent as b,
|
|
1
|
+
import { defineComponent as S, computed as k, resolveComponent as b, openBlock as i, createBlock as c, withCtx as s, renderSlot as n, createElementBlock as T, Fragment as M, mergeProps as p, normalizeProps as m, guardReactiveProps as $, createCommentVNode as R, renderList as F, createVNode as E } from "vue";
|
|
2
2
|
import { resolveFullPath as g } from "@vunk/shared/string/url";
|
|
3
3
|
import { ElMenuItem as w, ElSubMenu as B } from "element-plus";
|
|
4
4
|
import { bindPropsFactory as O } from "@vunk/core/shared/utils-vue";
|
|
@@ -16,7 +16,7 @@ const j = {
|
|
|
16
16
|
type: String,
|
|
17
17
|
default: ""
|
|
18
18
|
}
|
|
19
|
-
}, D = {},
|
|
19
|
+
}, D = {}, v = {
|
|
20
20
|
data: {
|
|
21
21
|
type: Object,
|
|
22
22
|
default: () => ({})
|
|
@@ -29,12 +29,12 @@ const j = {
|
|
|
29
29
|
type: String,
|
|
30
30
|
default: ""
|
|
31
31
|
}
|
|
32
|
-
}, z = O(
|
|
32
|
+
}, z = O(v), N = S({
|
|
33
33
|
components: {
|
|
34
34
|
ElSubMenu: B,
|
|
35
35
|
ElMenuItem: w
|
|
36
36
|
},
|
|
37
|
-
props:
|
|
37
|
+
props: v,
|
|
38
38
|
setup(e) {
|
|
39
39
|
const h = k(() => {
|
|
40
40
|
let o = !1;
|
|
@@ -90,8 +90,8 @@ function A(e, h, f, o, r, P) {
|
|
|
90
90
|
}, 8, ["index"]));
|
|
91
91
|
}
|
|
92
92
|
const L = /* @__PURE__ */ V(N, [["render", A]]), W = {
|
|
93
|
-
...
|
|
94
|
-
},
|
|
93
|
+
...v
|
|
94
|
+
}, I = /* @__PURE__ */ Symbol("skipRender"), q = S({
|
|
95
95
|
components: {
|
|
96
96
|
CoreVue: L
|
|
97
97
|
},
|
|
@@ -104,7 +104,7 @@ const L = /* @__PURE__ */ V(N, [["render", A]]), W = {
|
|
|
104
104
|
const u = l.filter((t) => t.meta?.display != 0 && t.meta?.hidden !== !0);
|
|
105
105
|
if (u.length === 1) {
|
|
106
106
|
const t = u[0];
|
|
107
|
-
return a.push(t.path), t[
|
|
107
|
+
return a.push(t.path), t[I] = !0, t.children?.length && t.children.filter((d) => d.meta?.display != 0 && d.meta?.hidden !== !0).length ? o(t, { paths: a }) : {
|
|
108
108
|
...t,
|
|
109
109
|
meta: {
|
|
110
110
|
...r.meta ?? {},
|
|
@@ -117,7 +117,7 @@ const L = /* @__PURE__ */ V(N, [["render", A]]), W = {
|
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
return {
|
|
120
|
-
skipRender:
|
|
120
|
+
skipRender: I,
|
|
121
121
|
onlyData: f,
|
|
122
122
|
bindProps: h
|
|
123
123
|
};
|
|
@@ -126,7 +126,7 @@ const L = /* @__PURE__ */ V(N, [["render", A]]), W = {
|
|
|
126
126
|
function G(e, h, f, o, r, P) {
|
|
127
127
|
const l = b("CoreVue");
|
|
128
128
|
return e.data.meta?.display != 0 && e.data.meta?.hidden !== !0 ? (i(), T(M, { key: 0 }, [
|
|
129
|
-
e.data[e.skipRender] ? n(e.$slots, "default", {
|
|
129
|
+
e.data[e.skipRender] ? n(e.$slots, "default", {}, void 0, void 0, 1) : (i(), T(M, { key: 0 }, [
|
|
130
130
|
e.onlyData ? (i(), c(l, p({ key: 0 }, e.bindProps, { data: e.onlyData }), {
|
|
131
131
|
item: s((a) => [
|
|
132
132
|
n(e.$slots, "item", m($(a)))
|
|
@@ -157,7 +157,7 @@ function G(e, h, f, o, r, P) {
|
|
|
157
157
|
_: 3
|
|
158
158
|
}, 16))
|
|
159
159
|
], 64))
|
|
160
|
-
], 64)) :
|
|
160
|
+
], 64)) : R("", !0);
|
|
161
161
|
}
|
|
162
162
|
const H = /* @__PURE__ */ V(q, [["render", G]]), J = S({
|
|
163
163
|
name: "VkRoutesMenuContent",
|
|
@@ -204,8 +204,8 @@ function K(e, h, f, o, r, P) {
|
|
|
204
204
|
itemTitle: s((t) => [
|
|
205
205
|
n(e.$slots, "itemTitle", p({ ref_for: !0 }, t))
|
|
206
206
|
]),
|
|
207
|
-
_:
|
|
208
|
-
},
|
|
207
|
+
_: 3
|
|
208
|
+
}, 8, ["data", "popper-class", "base-path"])
|
|
209
209
|
]),
|
|
210
210
|
_: 2
|
|
211
211
|
}, 1032, ["data", "popper-class", "base-path"]))), 128);
|