Functions
Const contains
- contains(collection: any[], id: string, key: string): boolean
-
Parameters
-
collection: any[]
-
id: string
-
key: string
Returns boolean
Const convertToArray
- convertToArray(obj: any): any[]
Const debounce
- debounce(func: Function, wait: number, immediate: boolean): (Anonymous function)
-
Parameters
-
func: Function
-
wait: number
-
immediate: boolean
Returns (Anonymous function)
Const extractElement
- extractElement(flowKey: string): string
-
Parameters
Returns string
Const extractFlowId
- extractFlowId(flowKey: string): string
-
Parameters
Returns string
Const extractFlowVersionId
- extractFlowVersionId(flowKey: string): string
-
Parameters
Returns string
Const extractStateId
- extractStateId(flowKey: string): string
-
Parameters
Returns string
Const extractTenantId
- extractTenantId(flowKey: string): string
-
Parameters
Returns string
Const get
- get(collection: any[], id: string, key: string): any
-
Parameters
-
collection: any[]
-
id: string
-
key: string
Returns any
Const getFlowKey
- getFlowKey(tenantId: string, flowId: string, flowVersionId: string, stateId: string, element: string): any
-
Parameters
-
tenantId: string
-
flowId: string
-
flowVersionId: string
-
stateId: string
-
element: string
Returns any
Const getLookUpKey
- getLookUpKey(flowKey: string): string
-
Parameters
Returns string
Const getNumber
- getNumber(value: any): number
-
Parameters
Returns number
Const getObjectDataProperty
- getObjectDataProperty(properties: any[], propertyName: string): any
-
Parameters
-
properties: any[]
-
propertyName: string
Returns any
Const getValueByPath
- getValueByPath(obj: any, path: string): any
Const isEmptyObjectData
- isEmptyObjectData(model: any): boolean
-
Parameters
Returns boolean
Const isEqual
- isEqual(value1: string, value2: string, ignoreCase: boolean): boolean
-
Parameters
-
value1: string
-
value2: string
-
ignoreCase: boolean
Returns boolean
Const isNullOrEmpty
- isNullOrEmpty(value: string): boolean
-
Parameters
Returns boolean
Const isNullOrUndefined
- isNullOrUndefined(value: any): boolean
-
Parameters
Returns boolean
Const isNullOrWhitespace
- isNullOrWhitespace(value: string): boolean
-
Parameters
Returns boolean
Const isPlaceholderObjectData
- isPlaceholderObjectData(objectData: any[]): boolean
-
Parameters
Returns boolean
Const isSmallScreen
- isSmallScreen(flowKey: any): boolean
-
Parameters
Returns boolean
Const parseQueryString
- parseQueryString(queryString: string): any
Const removeFlow
- removeFlow(flowKey: string): void
Const removeFlowFromDOM
- removeFlowFromDOM(flowKey: any): void
Const removeURIParam
- removeURIParam(uri: any, key: any): string
-
Parameters
Returns string
Const replaceBrowserUrl
- replaceBrowserUrl(response: any): void
Const setObjectDataProperty
- setObjectDataProperty(properties: any[], propertyName: string, value: string | number | boolean): void
-
Parameters
-
properties: any[]
-
propertyName: string
-
value: string | number | boolean
Returns void
Const setURIParam
- setURIParam(uri: any, key: any, value: any): string
-
Parameters
-
uri: any
-
key: any
-
value: any
Returns string
Const whenAll
- whenAll(deferreds: JQueryDeferred<any[]>[]): JQueryDeferred<any>
-
Parameters
-
deferreds: JQueryDeferred<any[]>[]
Returns JQueryDeferred<any>
Check if an array contains item where the
key
property is equal toid