MCPcopy Create free account

hub / github.com/Shaddix/dnd-kit-sortable-tree / functions

Functions51 in github.com/Shaddix/dnd-kit-sortable-tree

↓ 3 callersFunctionfindItemDeep
( items: TreeItems<T>, itemId: UniqueIdentifier )
src/utilities.ts:197
↓ 3 callersFunctionflattenTree
( items: TreeItems<T> )
src/utilities.ts:168
↓ 3 callersFunctiongetMovementAnnouncement
( eventName: string, activeId: UniqueIdentifier, overId?: UniqueIdentifier )
src/SortableTree.tsx:399
↓ 2 callersFunctionfindParentWhichCanHaveChildren
( parent: FlattenedItem<T> | null, dragItem: FlattenedItem<T>, canRootHaveChildren?: boolean |
src/utilities.ts:97
↓ 2 callersFunctionresetState
()
src/SortableTree.tsx:390
↓ 1 callersFunction_revertLastChanges
()
src/utilities.ts:15
↓ 1 callersFunctionbuildTree
( flattenedItems: FlattenedItem<T>[] )
src/utilities.ts:174
↓ 1 callersFunctioncountChildren
(items: TreeItem<T>[], count = 0)
src/utilities.ts:264
↓ 1 callersFunctioncustomListSortingStrategy
( isValid: (activeIndex: any, overIndex: any) => boolean )
src/SortingStrategy.ts:5
↓ 1 callersFunctionfindItem
(items: TreeItem<T>[], itemId: UniqueIdentifier)
src/utilities.ts:193
↓ 1 callersFunctionfindParentWithDepth
(depth: number, previousItem: FlattenedItem<T>)
src/utilities.ts:89
↓ 1 callersFunctionflatten
( items: TreeItems<T>, parentId: UniqueIdentifier | null = null, depth = 0, parent: FlattenedItem<
src/utilities.ts:145
↓ 1 callersFunctionflattenParents
( parent: FlattenedItem<T> | null )
src/ui/folder/FolderTreeItemWrapper.tsx:6
↓ 1 callersFunctiongetChildCount
( items: TreeItems<T>, id: UniqueIdentifier )
src/utilities.ts:274
↓ 1 callersFunctiongetDragDepth
(offset: number, indentationWidth: number)
src/utilities.ts:11
↓ 1 callersFunctiongetIsOverParent
( parent: FlattenedItem<T> | null, overId: UniqueIdentifier )
src/utilities.ts:305
↓ 1 callersFunctiongetParentId
()
src/utilities.ts:123
↓ 1 callersFunctiongetProjection
( items: FlattenedItem<T>[], activeId: UniqueIdentifier | null, overId: UniqueIdentifier | null, d
src/utilities.ts:16
↓ 1 callersMethodonCollapse
(id: UniqueIdentifier)
src/SortableTreeItem.tsx:27
↓ 1 callersMethodonRemove
(id: UniqueIdentifier)
src/SortableTreeItem.tsx:29
↓ 1 callersFunctionremoveChildrenOf
( items: FlattenedItem<T>[], ids: UniqueIdentifier[] )
src/utilities.ts:287
↓ 1 callersFunctionremoveItem
( items: TreeItems<T>, id: string )
src/utilities.ts:220
↓ 1 callersFunctionsetProperty
( items: TreeItems<TData>, id: string, property: T, setter: (value: TreeItem<TData>[T]) => TreeIte
src/utilities.ts:241
FunctionFolderRoot
(props)
stories/components/folder/FolderRoot.tsx:71
FunctionMinimal
()
stories/Simple.stories.tsx:56
FunctionMinimalViable
()
stories/Simple.stories.tsx:90
FunctionSimpleWithChangedItems
( args )
stories/Simple.stories.tsx:135
FunctionSortableTree
({ items, indicator, indentationWidth = 20, onItemsChanged, TreeItemComponent, pointerSensor
src/SortableTree.tsx:106
FunctionSortableTreeItemNotMemoized
({ id, depth, isLast, TreeItemComponent, parent, disableSorting, sortableProps, keepGhostInPla
src/SortableTreeItem.tsx:50
FunctionTemplate
(args)
stories/Simple.stories.tsx:21
FunctionTemplate
(args)
stories/Folder.stories.tsx:10
FunctionTreeRoot
(props)
stories/components/tree/TreeRoot.tsx:63
FunctionTreeRootWithChangeableItems
(props)
stories/components/tree/TreeRoot.tsx:76
FunctionWithInput
()
stories/components/WithInput.tsx:9
FunctionadjustTranslate
({ transform })
src/SortableTree.tsx:458
FunctionanimateLayoutChanges
({ isSorting, isDragging, })
src/SortableTreeItem.tsx:34
FunctionhandleDragCancel
()
src/SortableTree.tsx:386
FunctionhandleDragEnd
({ active, over }: DragEndEvent)
src/SortableTree.tsx:351
FunctionhandleDragMove
({ delta }: DragMoveEvent)
src/SortableTree.tsx:343
FunctionhandleDragOver
({ over }: DragOverEvent)
src/SortableTree.tsx:347
FunctionhandleDragStart
({ active: { id: activeId } }: DragStartEvent)
src/SortableTree.tsx:327
Functionkeyframes
({ transform })
src/SortableTree.tsx:84
FunctiononDragCancel
({ active })
src/SortableTree.tsx:230
FunctiononDragEnd
({ active, over })
src/SortableTree.tsx:227
FunctiononDragMove
({ active, over })
src/SortableTree.tsx:221
FunctiononDragOver
({ active, over })
src/SortableTree.tsx:224
FunctiononDragStart
({ active })
src/SortableTree.tsx:218
Functionrollup
(config, options)
tsdx.config.js:6
FunctionsideEffects
({ active })
src/SortableTree.tsx:98
FunctionsortingStrategy
({ activeIndex, activeNodeRect, index, rects, overIndex, })
src/SortingStrategy.ts:8
MethodwrapperRef
(node: HTMLLIElement)
src/SortableTreeItem.tsx:31