MCPcopy Create free account

hub / github.com/Sayhi-bzb/AsciiCanvas / functions

Functions866 in github.com/Sayhi-bzb/AsciiCanvas

↓ 6 callersFunctionclampInt
(value: number, min: number, max: number)
src/domains/animation-generators/utils/generators.ts:8
↓ 6 callersFunctionclampSelectionToBounds
( area: SelectionArea, bounds: AnimationCanvasSize | null )
src/domains/canvas/state/helpers/animationHelpers.ts:359
↓ 6 callersFunctioncreateNextAnimationFrameName
( existingFrames: Array<Pick<AnimationFrame, "id" | "name">> )
src/domains/canvas/state/helpers/animationHelpers.ts:85
↓ 6 callersFunctiondrawGridLines
( ctx: CanvasRenderingContext2D, options: { startX: number; endX: number; startY: number;
src/shared/metrics/canvasDrawing.ts:12
↓ 6 callersFunctioneffectiveCellStyle
(cell: GridCell)
src/shared/utils/ansi.ts:89
↓ 6 callersFunctiongetAnimationFrameDelayMs
(fps: number)
src/domains/canvas/state/helpers/animationHelpers.ts:33
↓ 6 callersFunctiongetStaticGridViewState
(input: { selection: GridSelectionState; editMode: GridEditMode; textCursor: Point | null; selections:
src/domains/canvas/state/helpers/staticGridModel.ts:66
↓ 6 callersFunctiongetStructuredRectHandlePoints
( _bounds: NodeBounds )
src/domains/canvas/components/AsciiCanvas/hooks/useCanvasRenderer.ts:63
↓ 6 callersFunctiongetTrimmedFrameName
(name: string | null | undefined)
src/domains/canvas/state/helpers/animationHelpers.ts:47
↓ 6 callersFunctionisFromMinimap
(event: Event | undefined)
src/domains/canvas/components/AsciiCanvas/hooks/useCanvasInteraction.ts:114
↓ 6 callersFunctionisPointWithinBounds
( point: Point, bounds: AnimationCanvasSize | null )
src/domains/canvas/state/helpers/animationHelpers.ts:346
↓ 6 callersFunctionisSelected
(node: StructuredNode)
src/domains/canvas/state/helpers/structuredNodeActions.ts:21
↓ 6 callersFunctionnormalizeCellStyle
( cell: T )
src/shared/utils/ansi.ts:54
↓ 6 callersFunctionnormalizeGridEntries
( entries: unknown, fallbackColor = COLOR_PRIMARY_TEXT )
src/domains/canvas/state/helpers/snapshotHelpers.ts:169
↓ 6 callersFunctionparseProtocolDocument
( raw: string | unknown )
src/domains/protocol/import.ts:194
↓ 6 callersFunctionresizeStructuredSplitBox
( node: StructuredSplitBoxNode, handle: StructuredSplitBoxHandle, point: Point )
src/domains/canvas/state/helpers/structuredBoxEditing.ts:371
↓ 6 callersFunctionresolveCanvasLinkHit
(input: { clientX: number; clientY: number; rect: Pick<DOMRect, "left" | "top">; offset: Point; zoom
src/domains/canvas/components/AsciiCanvas/hooks/linkHitTesting.ts:43
↓ 6 callersFunctionsetAttr
( style: AnsiStyleState, name: keyof TextAttributes, enabled: boolean )
src/shared/utils/ansi.ts:164
↓ 6 callersFunctionsetTextState
( state: Partial< Pick<CanvasState, "grid" | "textCursor" | "canvasMode" | "canvasBounds"> > )
src/__tests__/unit/store/textSlice.test.ts:13
↓ 6 callersFunctionsetUiLanguage
(language: UiLanguage)
src/shared/i18n/index.ts:378
↓ 6 callersFunctionsetViewportWidth
(width: number)
src/__tests__/unit/components/sidebar-auto-collapse.test.tsx:24
↓ 6 callersFunctionstripNodeIds
( nodes: T[] )
src/__tests__/unit/components/ascii-canvas-focus.test.tsx:19
↓ 5 callersFunctionapplyStructuredSnapshotToYMaps
(scene: StructuredNode[])
src/domains/canvas/state/helpers/gridHelpers.ts:65
↓ 5 callersFunctionbaseInput
(grid: GridMap)
src/__tests__/unit/components/canvas-link-hit-testing.test.ts:12
↓ 5 callersFunctionbg
(overrides: Partial<StructuredBgNode> = {})
src/__tests__/unit/store/structuredBoxEditing.test.ts:35
↓ 5 callersFunctionbuildFreeformProtocolDocument
( grid: GridMap )
src/domains/protocol/builders.ts:167
↓ 5 callersFunctionbuildSessionSnapshot
(state: CanvasState)
src/domains/canvas/state/helpers/storeUtils.ts:71
↓ 5 callersFunctioncanSplitStructuredSplitBoxLeaf
( leaf: { bounds: NodeBounds }, axis: "horizontal" | "vertical" )
src/domains/canvas/state/helpers/structuredBoxEditing.ts:206
↓ 5 callersFunctionclampStaticAddress
(address: GridAddress, state: CanvasState)
src/domains/canvas/state/slices/staticGridSlice.ts:15
↓ 5 callersFunctioncloneComponentMetadata
(component: StructuredNode["component"])
src/domains/protocol/builders.ts:29
↓ 5 callersFunctioncloneComponentMetadata
(component: StructuredNode["component"])
src/domains/protocol/import.ts:32
↓ 5 callersFunctioncloneGridCell
(cell: GridCell)
src/domains/canvas/state/helpers/animationHelpers.ts:138
↓ 5 callersFunctioncreateClipboardEventCapture
()
src/__tests__/unit/store/session-viewport.test.ts:13
↓ 5 callersFunctioncreateComponentMetadata
(role?: string)
src/domains/canvas/state/helpers/structured/components/factory.ts:37
↓ 5 callersFunctioncreateDuplicateAnimationFrameName
( existingFrames: Array<Pick<AnimationFrame, "id" | "name">>, sourceName: string )
src/domains/canvas/state/helpers/animationHelpers.ts:100
↓ 5 callersFunctiondrawCellText
( ctx: CanvasRenderingContext2D, cell: GridCell, x: number, y: number, options?: { color?: strin
src/shared/metrics/canvasDrawing.ts:120
↓ 5 callersFunctionforceHistorySave
()
src/shared/lib/yjs-setup.ts:16
↓ 5 callersFunctiong
(U,T)
coverage/prettify.js:2
↓ 5 callersFunctiongenerateAnimationFrames
( input: AnimationGeneratorInput, config: AnimationGeneratorConfig )
src/domains/animation-generators/utils/generators.ts:195
↓ 5 callersFunctiongetActiveStructuredTemplateDragId
()
src/domains/canvas/state/helpers/structuredTemplates.ts:58
↓ 5 callersFunctiongetActiveStructuredTextSelection
(state: CanvasState)
src/domains/canvas/state/slices/selectionSlice.ts:96
↓ 5 callersFunctiongetSplitBoxPoints
( start: Point, end: Point, ratios: { verticalSplitRatio: number; topSplitRatio: number; bot
src/shared/utils/shapes.ts:387
↓ 5 callersFunctiongetStepLinePoints
(start: Point, end: Point)
src/shared/utils/shapes.ts:93
↓ 5 callersFunctiongetStructuredBoxBounds
(node: StructuredBoxNode)
src/domains/canvas/state/helpers/structuredBoxEditing.ts:86
↓ 5 callersFunctiongetStructuredBoxNameEndPoint
( node: StructuredBoxNode )
src/domains/canvas/state/helpers/structuredBoxEditing.ts:100
↓ 5 callersFunctiongetStructuredBoxNameStartPoint
( node: StructuredBoxNode )
src/domains/canvas/state/helpers/structuredBoxEditing.ts:92
↓ 5 callersFunctiongetStructuredSplitBoxLeafAtPoint
( node: StructuredSplitBoxNode, point: Point )
src/domains/canvas/state/helpers/structuredBoxEditing.ts:194
↓ 5 callersFunctiongetStructuredTemplatePreview
( templateId: StructuredTemplateId )
src/domains/canvas/state/helpers/structuredTemplates.ts:279
↓ 5 callersFunctionintersectsBounds
(a: NodeBounds, b: NodeBounds)
src/shared/utils/structured.ts:262
↓ 5 callersFunctionisCtrlOrMeta
(event: { ctrlKey: boolean; metaKey: boolean })
src/shared/utils/event.ts:1
↓ 5 callersFunctionmockMatchMedia
()
src/__tests__/unit/components/sidebar-auto-collapse.test.tsx:31
↓ 5 callersFunctionnormalizeHex
(value: string, fallback: string)
src/domains/animation-generators/utils/generators.ts:48
↓ 5 callersFunctionnormalizeTextAttributes
( attrs?: Partial<TextAttributes> | null )
src/shared/utils/ansi.ts:38
↓ 5 callersFunctionparseKey
(key: string)
src/domains/animation-generators/utils/generators.ts:16
↓ 5 callersFunctionreorderStructuredNodes
( scene: StructuredNode[], selectedIds: string[], direction: StructuredLayerDirection )
src/domains/canvas/state/helpers/structuredNodeActions.ts:12
↓ 5 callersFunctionresetDragState
()
src/domains/canvas/components/AsciiCanvas/hooks/useCanvasInteraction.ts:512
↓ 5 callersFunctionresizeStructuredRect
( node: T, handle: StructuredBoxResizeHandle, point: Point )
src/domains/canvas/state/helpers/structuredBoxEditing.ts:343
↓ 5 callersFunctionresolveSessionRuntime
(session: CanvasSession, currentTool: ToolType)
src/domains/canvas/state/helpers/storeUtils.ts:112
↓ 5 callersFunctionscene
()
src/__tests__/unit/store/structuredNodeActions.test.ts:8
↓ 5 callersFunctionshouldOpenCanvasLink
(event: Pick<MouseEvent, "ctrlKey" | "metaKey">)
src/domains/canvas/components/AsciiCanvas/hooks/useCanvasInteraction.ts:134
↓ 5 callersFunctionshouldUseCanvasLinkPointer
( hit: CanvasLinkHit | null, event: Pick<MouseEvent | KeyboardEvent, "ctrlKey" | "metaKey"> )
src/domains/canvas/components/AsciiCanvas/hooks/useCanvasInteraction.ts:137
↓ 5 callersFunctiontrimTextToColumns
(text: string, maxColumns: number)
src/shared/utils/structured.ts:71
↓ 5 callersFunctionwriteCode
(code: number)
src/domains/export/utils/export.ts:226
↓ 4 callersFunctionalignCanvasCoordinate
(value: number, lineWidth = 1)
src/shared/metrics/renderMetrics.ts:60
↓ 4 callersFunctionbuildClipboardPayload
( grid: GridMap, selections: SelectionArea[], textCursor: Point | null, brushColor: string, format:
src/domains/actions/adapters/clipboardActions.ts:86
↓ 4 callersFunctionbuildStructuredProtocolDocument
( scene: StructuredNode[], components?: StructuredComponentInstance[] )
src/domains/protocol/builders.ts:202
↓ 4 callersFunctionbuildStructuredTemplate
( templateId: StructuredTemplateId, position: { x: number; y: number }, options: StructuredTemplateBuild
src/domains/canvas/state/helpers/structuredTemplates.ts:84
↓ 4 callersFunctionbuttonVariants
(options: ButtonVariantInput = {})
src/shared/ui/button.tsx:40
↓ 4 callersFunctioncanCopyOrCut
(state: ReturnType<typeof useCanvasStore.getState>)
src/domains/actions/core/handlers/editor.ts:123
↓ 4 callersFunctionclamp
(value: number, min: number, max: number)
src/shared/utils/shapes.ts:145
↓ 4 callersFunctionclamp
(value: number, min: number, max: number)
src/shared/utils/textLayout.ts:36
↓ 4 callersFunctionclearCollapseTimer
()
src/domains/sessions/components/SessionTabs.tsx:142
↓ 4 callersFunctionclearStructuredTemplatePreview
()
src/domains/canvas/components/AsciiCanvas/index.tsx:506
↓ 4 callersFunctioncloneAnimationFrame
(frame: AnimationFrame)
src/domains/canvas/state/helpers/animationHelpers.ts:148
↓ 4 callersFunctioncloneComponentWithRemappedInstance
( component: StructuredNode["component"], instanceIdMap: Map<string, string> )
src/domains/canvas/state/helpers/structuredNodeActions.ts:58
↓ 4 callersFunctioncloneScene
(scene: StructuredNode[])
src/domains/canvas/state/helpers/snapshotHelpers.ts:86
↓ 4 callersFunctionconnect
(x1: number, y1: number, x2: number, y2: number)
src/shared/utils/shapes.ts:325
↓ 4 callersFunctioncontainsBounds
(outer: NodeBounds, inner: NodeBounds)
src/shared/utils/structured.ts:253
↓ 4 callersFunctioncreateDefaultSplitBoxRoot
(ratios: { verticalSplitRatio: number; topSplitRatio: number; bottomSplitRatio: number; })
src/shared/utils/shapes.ts:148
↓ 4 callersFunctioncreateEmptyAnimationFrame
( frameId = createAnimationFrameId(), name = DEFAULT_ANIMATION_FRAME_NAME )
src/domains/canvas/state/helpers/animationHelpers.ts:158
↓ 4 callersFunctioncreateFrame
( kind: AnimationGeneratorConfig["kind"], index: number, grid: [string, GridCell][] )
src/domains/animation-generators/utils/generators.ts:25
↓ 4 callersFunctiondownloadTextFile
( filename: string, content: string, mimeType = "application/json;charset=utf-8" )
src/domains/export/utils/export.ts:926
↓ 4 callersFunctiondrawLayer
( ctx: CanvasRenderingContext2D, targetGrid: GridMap | null, viewBounds: ReturnType<typeof GridMan
src/domains/canvas/components/AsciiCanvas/hooks/useCanvasRenderer.ts:274
↓ 4 callersFunctionemitNode
(node: StructuredNode, depth: number)
src/domains/export/utils/export.ts:998
↓ 4 callersFunctionexportProtocolToJSON
(input: ProtocolExportInput)
src/domains/export/utils/export.ts:844
↓ 4 callersFunctionexportStructuredHierarchyText
( scene: StructuredNode[], selectedNodeIds: string[] = [], components?: StructuredComponentInstance[] )
src/domains/export/utils/export.ts:1088
↓ 4 callersFunctionfindTextNodeAtCursor
( scene: CanvasState["structuredScene"], cursor: CanvasState["textCursor"], preferredNodeId?: string | n
src/domains/canvas/state/slices/textSlice.ts:48
↓ 4 callersFunctionfireDragOverAndFlush
( root: HTMLElement, event: Event )
src/__tests__/unit/components/ascii-canvas-focus.test.tsx:34
↓ 4 callersFunctiongetBoxNameTextCapacity
(bounds: NodeBounds)
src/domains/canvas/state/slices/textSlice.ts:69
↓ 4 callersFunctiongetBoxNameTextStartX
(bounds: NodeBounds)
src/domains/canvas/state/slices/textSlice.ts:72
↓ 4 callersFunctiongetCirclePoints
(center: Point, edge: Point)
src/shared/utils/shapes.ts:405
↓ 4 callersFunctiongetSelectionsBoundingBox
(selections: SelectionArea[])
src/shared/utils/selection.ts:11
↓ 4 callersFunctiongetStructuredSplitBoxActiveLeafBounds
( node: StructuredSplitBoxNode, point: Point | null )
src/domains/canvas/components/AsciiCanvas/hooks/useCanvasRenderer.ts:122
↓ 4 callersFunctiongetStructuredTextCaretHit
( point: Point, preferredNodeId?: string | null )
src/domains/canvas/components/AsciiCanvas/hooks/useCanvasInteraction.ts:835
↓ 4 callersFunctiongetTextCellWidth
(text: string)
src/shared/metrics/cellOccupancy.ts:33
↓ 4 callersFunctiongetTextColumnWidth
(text: string)
src/shared/utils/structured.ts:67
↓ 4 callersFunctionhasClipboard
()
src/shared/services/clipboard.ts:1
↓ 4 callersFunctionidsByOrder
(nodes: StructuredNode[])
src/__tests__/unit/store/structuredNodeActions.test.ts:36
↓ 4 callersFunctionisPointInHandle
(point: Point, x: number, y: number)
src/domains/canvas/components/AsciiCanvas/hooks/useCanvasInteraction.ts:347
↓ 4 callersFunctionisShapeTool
(tool: ToolType, canvasMode: CanvasState["canvasMode"])
src/domains/canvas/components/AsciiCanvas/hooks/useCanvasInteraction.ts:63
← previousnext →101–200 of 866, ranked by callers