SYMBOL INDEX (166 symbols across 15 files) FILE: dist/swapy.d.ts type AnimationType (line 1) | type AnimationType = 'dynamic' | 'spring' | 'none'; type BeforeSwapEvent (line 3) | type BeforeSwapEvent = { type BeforeSwapHandler (line 10) | type BeforeSwapHandler = (event: BeforeSwapEvent) => boolean; type Config (line 12) | type Config = { type DragAxis (line 24) | type DragAxis = 'x' | 'y' | 'both'; type SlotItemMap (line 32) | type SlotItemMap = { type SlotItemMapArray (line 38) | type SlotItemMapArray = Array<{ type SlotItemMapMap (line 43) | type SlotItemMapMap = Map; type SlotItemMapObject (line 45) | type SlotItemMapObject = Record; type SlottedItems (line 47) | type SlottedItems = Array<{ type SwapEndEvent (line 53) | type SwapEndEvent = { type SwapEndEventHandler (line 58) | type SwapEndEventHandler = (event: SwapEndEvent) => void; type SwapEvent (line 60) | type SwapEvent = { type SwapEventHandler (line 69) | type SwapEventHandler = (event: SwapEvent) => void; type SwapStartEvent (line 71) | type SwapStartEvent = { type SwapStartEventHandler (line 77) | type SwapStartEventHandler = (event: SwapStartEvent) => void; type Swapy (line 79) | interface Swapy { FILE: dist/swapy.js function rt (line 1) | function rt(t) { function gt (line 4) | function gt(t) { function ht (line 31) | function ht({ x: t, y: e, unit: n }, o, l) { function G (line 49) | function G(t) { function it (line 56) | function it(t) { function at (line 59) | function at(t) { function R (line 62) | function R(t, e) { function xt (line 65) | function xt(t, e) { function vt (line 68) | function vt(t, e) { function It (line 71) | function It(t, e) { function C (line 74) | function C(t, e, n) { function At (line 77) | function At(t, e, n) { function pt (line 80) | function pt(t, e, n) { function Et (line 97) | function Et(t, e, n) { function U (line 100) | function U(t, e, n, o, l) { function V (line 103) | function V(t, e, n) { function mt (line 110) | function mt(t, e, n, o) { function Mt (line 146) | function Mt(t, e) { function Dt (line 236) | function Dt(t) { function bt (line 239) | function bt(t) { function z (line 242) | function z(t) { function Lt (line 250) | function Lt(t) { function J (line 271) | function J(t) { function st (line 282) | function st(t, e) { function Yt (line 285) | function Yt(t) { function Q (line 302) | function Q(t) { function Ct (line 414) | function Ct(t, e, n, o, l, i) { function ct (line 430) | function ct(t) { function yt (line 443) | function yt(t) { function Rt (line 498) | function Rt(t, e, n) { function Ht (line 505) | function Ht(t, e) { function $t (line 511) | function $t(t, e, n, o, l, i = !1) { function wt (line 544) | function wt(t) { function kt (line 554) | function kt(t, e) { function Ot (line 696) | function Ot({ function _t (line 777) | function _t(t, e) { function Pt (line 816) | function Pt(t, e) { function ft (line 990) | function ft(t, e, n = !1) { function Nt (line 1003) | function Nt() { function tt (line 1011) | function tt(t, e) { function k (line 1099) | function k(...t) { function qt (line 1102) | function qt(t) { function ut (line 1135) | function ut(t) { function dt (line 1138) | function dt(t) { function Ft (line 1144) | function Ft(t, e) { function et (line 1150) | function et(t) { function Wt (line 1160) | function Wt(t, e) { FILE: examples/react-dynamic/App.tsx type Item (line 6) | type Item = { function App (line 19) | function App() { FILE: examples/react/App.tsx function App (line 6) | function App() { FILE: src/animators.ts type AnimateConfig (line 5) | type AnimateConfig = { type CancelFunction (line 10) | type CancelFunction = () => void constant DEFAULT_CONFIG (line 12) | const DEFAULT_CONFIG: AnimateConfig = { type AnimateProps (line 17) | type AnimateProps = Record function animate (line 19) | function animate

( FILE: src/borderRadius.ts type BorderRadius (line 1) | type BorderRadius = { function isBorderRadius (line 17) | function isBorderRadius( function parseBorderRadius (line 40) | function parseBorderRadius(borderRadius: string): BorderRadius { function calculateBorderRadiusInverse (line 79) | function calculateBorderRadiusInverse( function borderRadiusToString (line 104) | function borderRadiusToString(borderRadius: BorderRadius): string { function isBorderRadiusNone (line 112) | function isBorderRadiusNone(borderRadius: BorderRadius) { FILE: src/draggable.ts type Draggable (line 3) | interface Draggable { type DraggablePlugin (line 12) | type DraggablePlugin = Draggable & ViewPlugin type DragEvent (line 14) | type DragEvent = { type OnDragListener (line 26) | type OnDragListener = (dragEvent: DragEvent) => void type OnDropListener (line 27) | type OnDropListener = (dragEvent: DragEvent) => void type OnHoldListener (line 28) | type OnHoldListener = ({ el }: { el: HTMLElement }) => void type OnReleaseListener (line 29) | type OnReleaseListener = ({ el }: { el: HTMLElement }) => void type DraggableConfig (line 31) | type DraggableConfig = { constant DEFAULT_CONFIG (line 36) | const DEFAULT_CONFIG: DraggableConfig = { function makeDraggable (line 41) | function makeDraggable( FILE: src/easings.ts function easeOutBack (line 1) | function easeOutBack(x: number): number { function easeOutCubic (line 8) | function easeOutCubic(x: number): number { FILE: src/flip.ts type TransitionValue (line 17) | type TransitionValue = { type FlipTransitionValues (line 25) | type FlipTransitionValues = { from: TransitionValue; to: TransitionValue } type FlipChildTransitionData (line 27) | type FlipChildTransitionData = { type ElementFlipRect (line 36) | type ElementFlipRect = { el: HTMLElement; initialRect: Rect; finalRect?:... type ParentChildrenTreeData (line 38) | type ParentChildrenTreeData = Array<{ type ChildElement (line 43) | type ChildElement = HTMLElement & { originalBorderRadius: string } type Flip (line 45) | interface Flip { function flipView (line 52) | function flipView(view: View): Flip { function calculateChildData (line 223) | function calculateChildData( function getParentChildTree (line 262) | function getParentChildTree( FILE: src/index.ts type Swapy (line 26) | interface Swapy { type SwapStartEvent (line 37) | type SwapStartEvent = { type SwapStartEventHandler (line 42) | type SwapStartEventHandler = (event: SwapStartEvent) => void type SwapEvent (line 44) | type SwapEvent = { type SwapEventHandler (line 52) | type SwapEventHandler = (event: SwapEvent) => void type SwapEndEvent (line 54) | type SwapEndEvent = { type SwapEndEventHandler (line 58) | type SwapEndEventHandler = (event: SwapEndEvent) => void type BeforeSwapEvent (line 60) | type BeforeSwapEvent = { type BeforeSwapHandler (line 66) | type BeforeSwapHandler = (event: BeforeSwapEvent) => boolean type Slot (line 68) | interface Slot { type Item (line 80) | interface Item { type ItemCancelAnimation (line 98) | type ItemCancelAnimation = Record< type ScrollHandler (line 103) | type ScrollHandler = (e: Event) => void type Store (line 105) | interface Store { type AnimationType (line 128) | type AnimationType = 'dynamic' | 'spring' | 'none' type SlotItemMapObject (line 130) | type SlotItemMapObject = Record type SlotItemMapMap (line 131) | type SlotItemMapMap = Map type SlotItemMapArray (line 132) | type SlotItemMapArray = Array<{ slot: string; item: string }> type SlotItemMap (line 134) | type SlotItemMap = { type DragAxis (line 140) | type DragAxis = 'x' | 'y' | 'both' type Config (line 142) | type Config = { constant DEFAULT_CONFIG (line 152) | const DEFAULT_CONFIG: Config = { function getAnimateConfig (line 162) | function getAnimateConfig(animationType: AnimationType): AnimateConfig { function createSwapy (line 173) | function createSwapy( function createStore (line 427) | function createStore({ function createSlot (line 543) | function createSlot(slotEl: HTMLElement, store: Store): Slot { function createItem (line 592) | function createItem(itemEl: HTMLElement, store: Store): Item { function moveItemToSlot (line 983) | function moveItemToSlot(item: Item, slot: Slot, from = false) { function createSyncUpdate (line 1006) | function createSyncUpdate() { function animateFlippedItem (line 1018) | function animateFlippedItem(item: Item, flip: Flip) { function logError (line 1171) | function logError(...args: unknown[]) { function isContainerValid (line 1175) | function isContainerValid(container: Element) { function hasDuplicates (line 1246) | function hasDuplicates(array: Array): boolean { function findDuplicates (line 1250) | function findDuplicates(array: T[]): T[] { function areMapsEqual (line 1265) | function areMapsEqual( function getClosestScrollableContainer (line 1276) | function getClosestScrollableContainer( type AutoScroller (line 1301) | interface AutoScroller { function createAutoScroller (line 1306) | function createAutoScroller( FILE: src/math.ts function lerp (line 4) | function lerp(a: number, b: number, t: number): number { function lerpVectors (line 8) | function lerpVectors(v1: Vec2, v2: Vec2, t: number): Vec2 { function lerpBorderRadius (line 12) | function lerpBorderRadius( function inverseLerp (line 34) | function inverseLerp(min: number, max: number, value: number) { function remap (line 38) | function remap( function clamp (line 48) | function clamp(value: number, min: number, max: number) { FILE: src/rect.ts type Position (line 3) | type Position = { x: number; y: number } type Size (line 4) | type Size = { width: number; height: number } type Rect (line 6) | type Rect = Position & Size function createRectFromBoundingRect (line 8) | function createRectFromBoundingRect(rect: DOMRect): Rect { function getCorrectedBoundingRect (line 23) | function getCorrectedBoundingRect(element: HTMLElement): Rect { function getLayoutRect (line 55) | function getLayoutRect(el: HTMLElement): Rect { function pointIntersectsWithRect (line 74) | function pointIntersectsWithRect(point: Position, rect: Rect) { function getScrollOffset (line 83) | function getScrollOffset(el: HTMLElement): Vec2 { FILE: src/utils.ts type SlottedItems (line 3) | type SlottedItems = Array<{ function toSlottedItems (line 9) | function toSlottedItems( function initSlotItemMap (line 24) | function initSlotItemMap( function dynamicSwapy (line 34) | function dynamicSwapy( FILE: src/vector.ts type Vec2 (line 1) | type Vec2 = { x: number; y: number } function isVec2 (line 3) | function isVec2(v: any): v is Vec2 { function vec2 (line 7) | function vec2(x: number, y: number): Vec2 { function vec2Add (line 11) | function vec2Add(v1: Vec2, v2: Vec2): Vec2 { function vec2Sub (line 15) | function vec2Sub(v1: Vec2, v2: Vec2): Vec2 { function vec2Scale (line 19) | function vec2Scale(v: Vec2, a: number): Vec2 { FILE: src/view.ts type View (line 4) | interface View { type ViewPlugin (line 20) | interface ViewPlugin { type Transform (line 25) | type Transform = { function createView (line 34) | function createView(el: HTMLElement): View {