Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DataV-Team/DataV-Vue3
/ functions
Functions
98 in github.com/DataV-Team/DataV-Vue3
⨍
Functions
98
◇
Types & classes
4
↓ 26 callers
Function
withInstall
(comp: T)
src/utils/common.ts:7
↓ 25 callers
Function
useResize
()
src/hooks/useResize.ts:53
↓ 13 callers
Function
createBorderBoxCommonProps
()
src/utils/borderBox.ts:5
↓ 13 callers
Function
mergeColor
(defaultColors: string[], colors: string[] = [])
src/utils/borderBox.ts:20
↓ 12 callers
Function
createColorProps
()
src/utils/decoration.ts:3
↓ 12 callers
Function
mergeColor
(defaultColors: string[], colors: string[] = [])
src/utils/common.ts:31
↓ 7 callers
Function
useUuid
()
src/hooks/useUuid.ts:4
↓ 7 callers
Function
xPos
(pos: number)
src/components/decoration-8/index.tsx:40
↓ 6 callers
Function
getCircleRadianPoint
(x, y, radius, radian)
src/components/decoration-12/index.tsx:55
↓ 4 callers
Function
createDurationProps
(duration: number)
src/utils/decoration.ts:22
↓ 4 callers
Function
styled
(StyledComponent: T)
src/utils/styled.tsx:65
↓ 3 callers
Function
createReverseProps
()
src/utils/decoration.ts:12
↓ 3 callers
Function
getFullClassName
(className: string, dot = true)
src/utils/styled.tsx:44
↓ 2 callers
Function
copy
(str: string)
docs/components/utils.ts:1
↓ 2 callers
Function
definePropType
(val: any)
src/utils/common.ts:16
↓ 2 callers
Function
getPointDistances
* @description 获取多个点,每个点之间的距离 * @param {Point[]} points * @return {number[]}
src/components/decoration-5/index.tsx:25
↓ 2 callers
Function
getRenderRefCount
(id: string)
src/utils/styled.tsx:20
↓ 1 callers
Function
StyledComponents
* StyledComponents CSS In JS * 为了更好处理样式的tree shake 使用styled components将组件样式和组件逻辑绑定 * 使用组件时无需再额外导入CSS文件
src/utils/styled.tsx:11
↓ 1 callers
Function
addRenderRef
(id: string)
src/utils/styled.tsx:24
↓ 1 callers
Function
appendStyle
(className: string)
src/utils/styled.tsx:69
↓ 1 callers
Function
borderBox4Props
()
src/components/border-box-4/index.tsx:37
↓ 1 callers
Function
borderBox5Props
()
src/components/border-box-5/index.tsx:40
↓ 1 callers
Function
borderBox8Props
()
src/components/border-box-8/index.tsx:20
↓ 1 callers
Function
calcArcD
({ x, y, width }: { x: number; y: number; width: number })
src/components/decoration-12/index.tsx:116
↓ 1 callers
Function
calcCircleR
({ ringNum, width, ringWidth, }: { ringNum: number; width: number; ringWidth: number; })
src/components/decoration-12/index.tsx:88
↓ 1 callers
Function
calcPathColor
(color, segment)
src/components/decoration-12/index.tsx:35
↓ 1 callers
Function
calcPathD
({ x, y, width, segment, sectorAngle, }: { x: number; y: number; width: number; segment: num
src/components/decoration-12/index.tsx:59
↓ 1 callers
Function
calcPointsPosition
({ width, height, rowPoints, rowCount, }: { width: number; height: number; rowPoints: number;
src/components/decoration-6/index.tsx:28
↓ 1 callers
Function
calcPointsPosition
({ width, height, rowPoints, rowCount, }: { width: number; height: number; rowPoints: number;
src/components/decoration-3/index.tsx:8
↓ 1 callers
Function
calcPointsPosition
({ width, height, rowPoints, rowCount, }: { width: number; height: number; rowPoints: number;
src/components/decoration-1/index.tsx:11
↓ 1 callers
Function
calcSVGData
(reverse, width, height)
src/components/decoration-2/index.tsx:18
↓ 1 callers
Function
calcSVGData
(width: number, height: number)
src/components/decoration-5/index.tsx:31
↓ 1 callers
Function
calcSplitLinePoints
({ x, y, width }: { x: number; y: number; width: number })
src/components/decoration-12/index.tsx:102
↓ 1 callers
Function
calcTwoPointDistance
(pointA: Point, pointB: Point)
src/utils/common.ts:24
↓ 1 callers
Function
compileStyledComponentsPlugin
(styledPlaceholder: string)
scripts/plugins/compileStyledComponentsPlugin.ts:20
↓ 1 callers
Function
createBorderBox11Props
()
src/components/border-box-11/index.tsx:26
↓ 1 callers
Function
createDecoration12Props
()
src/components/decoration-12/index.tsx:41
↓ 1 callers
Function
createDecoration2Props
()
src/components/decoration-2/index.tsx:10
↓ 1 callers
Function
createDecoration4Props
()
src/components/decoration-4/index.tsx:11
↓ 1 callers
Function
createDecoration5Props
()
src/components/decoration-5/index.tsx:13
↓ 1 callers
Function
createDecoration8Props
()
src/components/decoration-8/index.tsx:10
↓ 1 callers
Function
createDecoration9Props
()
src/components/decoration-9/index.tsx:12
↓ 1 callers
Function
createStyle
(style: TemplateStringsArray, className: string)
src/utils/styled.tsx:55
↓ 1 callers
Function
delRenderRef
(id: string)
src/utils/styled.tsx:28
↓ 1 callers
Function
getRefDom
(ref: HTMLElement | ComponentPublicInstance)
src/hooks/useResize.ts:41
↓ 1 callers
Function
handleRomSizeChange
()
src/hooks/useResize.ts:62
↓ 1 callers
Function
init
()
scripts/dev/init.ts:12
↓ 1 callers
Function
observerDomResize
(dom: HTMLElement, callback: () => void)
src/hooks/useResize.ts:16
↓ 1 callers
Function
randomColor
()
src/components/decoration-6/index.tsx:99
↓ 1 callers
Function
removeStyle
()
src/utils/styled.tsx:73
↓ 1 callers
Function
setClassNamePrefix
(classNamePrefix: string)
src/utils/styled.tsx:40
↓ 1 callers
Function
updateDomSize
(dom: HTMLElement, target: { width: number; height: number })
src/hooks/useResize.ts:28
↓ 1 callers
Function
versionGenerator
()
scripts/release/version-generator.ts:32
↓ 1 callers
Function
withPrefix
(loggerPrefix: string)
src/utils/logger.ts:1
Function
DataV
(app: App, { classNamePrefix }: { classNamePrefix?: string } = {})
src/index.ts:32
Function
changeFoldStatus
()
docs/components/fold-box/index.tsx:17
Function
copyInfo
()
docs/components/copy-btn/index.tsx:24
Function
error
(...msg: string[])
src/utils/logger.ts:15
Function
getClassNameForBind
(className: string)
src/utils/styled.tsx:51
Function
info
(...msg: string[])
src/utils/logger.ts:5
Function
navigateToReactPage
()
docs/components/react-page-btn/index.tsx:4
Function
refresh
()
docs/guide/refreshLayoutSizeDemo.tsx:12
Function
setup
(props, { expose })
src/components/decoration-2/index.tsx:52
Function
setup
(props, { slots, expose })
src/components/decoration-7/index.tsx:26
Function
setup
(props, { slots, expose })
src/components/decoration-12/index.tsx:138
Function
setup
(props, { slots, expose })
src/components/border-box-13/index.tsx:29
Function
setup
(props, { slots, expose })
src/components/border-box-9/index.tsx:30
Function
setup
(props, { slots, expose })
src/components/border-box-7/index.tsx:42
Function
setup
(props, { expose })
src/components/decoration-6/index.tsx:84
Function
setup
(props, { expose })
src/components/decoration-3/index.tsx:64
Function
setup
(props, { expose })
src/components/decoration-4/index.tsx:82
Function
setup
(props, { expose })
src/components/decoration-8/index.tsx:31
Function
setup
(props, { slots, expose })
src/components/border-box-10/index.tsx:44
Function
setup
(props, { slots, expose })
src/components/border-box-6/index.tsx:34
Function
setup
(props, { slots, expose })
src/components/border-box-1/index.tsx:44
Function
setup
(props, { slots, expose })
src/components/border-box-8/index.tsx:40
Function
setup
(props, { expose })
src/components/decoration-1/index.tsx:69
Function
setup
(props, { slots, expose })
src/components/border-box-12/index.tsx:31
Function
setup
(props, { slots, expose })
src/components/border-box-11/index.tsx:46
Function
setup
(props, { slots, expose })
src/components/border-box-4/index.tsx:53
Function
setup
(props, { slots, expose })
src/components/border-box-3/index.tsx:41
Function
setup
(props, { slots, expose })
src/components/border-box-2/index.tsx:34
Function
setup
(props, { expose })
src/components/decoration-5/index.tsx:71
Function
setup
(_, { slots })
src/components/loading/index.tsx:23
Function
setup
(props, { expose })
src/components/decoration-10/index.tsx:25
Function
setup
(props, { slots, expose })
src/components/decoration-11/index.tsx:37
Function
setup
(props, { slots, expose })
src/components/decoration-9/index.tsx:47
Function
setup
(props, { slots, expose })
src/components/border-box-5/index.tsx:56
Function
setup
(props, { slots })
src/utils/styled.tsx:82
Function
setup
()
scripts/dev/dev-env/index.tsx:9
Function
setup
()
docs/components/dev-panel/index.tsx:7
Function
setup
(_, { slots })
docs/components/full-width-table/index.tsx:7
Function
setup
(props, { slots })
docs/components/fold-box/index.tsx:14
Function
setup
(props)
docs/components/copy-btn/index.tsx:17
Function
setup
()
docs/components/react-page-btn/index.tsx:13
Function
setup
()
docs/guide/refreshLayoutSizeDemo.tsx:8
Function
transform
(content, id)
scripts/plugins/compileStyledComponentsPlugin.ts:24
Function
warn
(...msg: string[])
src/utils/logger.ts:10