Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "model/internal"

Index

Variables

Const MAX_COLORS

MAX_COLORS: number = colors.length

Functions

chooseUIntByDataLength

colorPool

  • colorPool(): (Anonymous function)

duplicateGroup

  • duplicateGroup<T>(group: T): T

everyIndices

  • everyIndices(arr: IndicesArray, callback: function): boolean
  • Parameters

    • arr: IndicesArray
    • callback: function
        • (value: number, i: number): boolean
        • Parameters

          • value: number
          • i: number

          Returns boolean

    Returns boolean

filterIndices

  • filterIndices(arr: IndicesArray, callback: function): number[]
  • Parameters

    • arr: IndicesArray
    • callback: function
        • (value: number, i: number): boolean
        • Parameters

          • value: number
          • i: number

          Returns boolean

    Returns number[]

forEachIndices

  • forEachIndices(arr: IndicesArray, callback: function): void
  • Parameters

    • arr: IndicesArray
    • callback: function
        • (value: number, i: number): void
        • Parameters

          • value: number
          • i: number

          Returns void

    Returns void

getAllToolbarActions

  • getAllToolbarActions(col: Column): string[]

getAllToolbarDialogAddons

  • getAllToolbarDialogAddons(col: Column, key: string): string[]

groupRoots

integrateDefaults

  • integrateDefaults<T>(desc: T, defaults?: Partial<T>): T
  • Type parameters

    • T

    Parameters

    • desc: T
    • Default value defaults: Partial<T> = {}

    Returns T

isOrderedGroup

joinGroups

mapIndices

  • Type parameters

    • T

    Parameters

    • arr: IndicesArray
    • callback: function
        • (value: number, i: number): T
        • Parameters

          • value: number
          • i: number

          Returns T

    Returns T[]

patternFunction

  • patternFunction(pattern: string, args: string[]): Function

toGroupID

  • toGroupID(group: IGroup): string

traverseGroupsDFS

unifyParents

  • unifyParents<T>(groups: T[]): T[]