Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Lib

Hierarchy

  • Lib

Index

Methods

Static AppsXmlTemplate

  • AppsXmlTemplate(callBack: function): void
  • Parameters

    • callBack: function
        • (err: any, result: any): any
        • Parameters

          • err: any
          • result: any

          Returns any

    Returns void

Static Base64

  • Base64(): object
  • Returns object

    • VERSION: string
    • decode: _decode
    • encode: _encode

Static BooleanToNumber

  • BooleanToNumber(value: any): any
  • Parameters

    • value: any

    Returns any

Static BootboxHide

  • BootboxHide(i_time?: number): void
  • Parameters

    • Default value i_time: number = 1500

    Returns void

Static CheckFoundIndex

  • CheckFoundIndex(i_value: number, i_message?: string): number
  • CheckFoundIndex will check if a return value is -1 and error out if in dev mode (list.findIndex or indexOf for example)

    constructor

    Parameters

    • i_value: number
    • Default value i_message: string = "CheckFoundIndex did not find index"

    Returns number

Static CleanCharForXml

  • CleanCharForXml(value: any): any
  • Parameters

    • value: any

    Returns any

Static ComputeMask

  • ComputeMask(accessMask: any): number
  • Parameters

    • accessMask: any

    Returns number

Static ConstructImmutableFromTable

  • ConstructImmutableFromTable(path: any): Array<any>
  • Parameters

    • path: any

    Returns Array<any>

Static DevMode

  • DevMode(): boolean

Static Exists

  • Exists(i_value: any): boolean
  • Parameters

    • i_value: any

    Returns boolean

Static FileTailName

  • FileTailName(fileName: string, level: number): string
  • Parameters

    • fileName: string
    • level: number

    Returns string

Static GetADaysMask

  • GetADaysMask(accessMask: any): List<any>
  • Parameters

    • accessMask: any

    Returns List<any>

Static GetAccessMask

  • GetAccessMask(accessMask: any): List<any>
  • Parameters

    • accessMask: any

    Returns List<any>

Static GetCompSelector

  • GetCompSelector(i_constructor: any): any
  • Parameters

    • i_constructor: any

    Returns any

Static GetSamples

  • GetSamples(): Object

Static IsRound

  • IsRound(number: number): boolean
  • Parameters

    • number: number

    Returns boolean

Static LoadComponentAsync

  • LoadComponentAsync(name: string, path: string): any
  • Parameters

    • name: string
    • path: string

    Returns any

Static MapOfIndex

  • MapOfIndex(map: Map<string, any>, index: number, position?: "first"): string
  • Parameters

    • map: Map<string, any>
    • index: number
    • Default value position: "first" = | "last"

    Returns string

Static PrivilegesXmlTemplate

  • PrivilegesXmlTemplate(defaultValues: boolean, selPrivId: string, appStore?: AppStore, callBack: function): void
  • PrivilegesXmlTemplate will generate a template for priveleges in 2 possible modes

    mode 1: just a raw template (we will ignore the values set) and this is the mode when no selPrivName and appStore params are given

    mode 2: is when we actually serialize data to save to server and in this mode we do pass in the selPrivName and appStore which we use to retrieve current values from user appStore and generate the final XML to save to server

    constructor

    Parameters

    • defaultValues: boolean
    • selPrivId: string
    • Default value appStore: AppStore = null
    • callBack: function
        • (err: any, result: any): any
        • Parameters

          • err: any
          • result: any

          Returns any

    Returns void

Static ProcessDateField

  • ProcessDateField(dateString: string, addDay?: boolean): any
  • constructor

    Parameters

    • dateString: string

      format of date + time: /Date(1469923200000+0000)/"

    • Default value addDay: boolean = false

    Returns any

Static ProcessDateFieldToUnix

  • ProcessDateFieldToUnix(dateString: string, addDay?: boolean): any
  • constructor

    Parameters

    • dateString: string

      format of date + time: /Date(1469923200000+0000)/"

    • Default value addDay: boolean = false

    Returns any

Static ProcessHourStartEnd

  • ProcessHourStartEnd(value: string, key: string): any
  • Parameters

    • value: string
    • key: string

    Returns any

Static ReduxLoggerMiddleware

  • ReduxLoggerMiddleware(store: any): (Anonymous function)
  • Parameters

    • store: any

    Returns (Anonymous function)

Static StoreFactory

  • StoreFactory(reducerList: Object): (Anonymous function)
  • Parameters

    • reducerList: Object

    Returns (Anonymous function)

Static UnionList

  • UnionList(a: List<any>, b: List<any>): List<any>
  • Parameters

    • a: List<any>
    • b: List<any>

    Returns List<any>

Static Xml2Json

  • Xml2Json(): any

Static guid

  • guid(): string

Static log

  • log(msg: any): void
  • Parameters

    • msg: any

    Returns void

Generated using TypeDoc