projects/aoc-client/core/utils/aoc-misc.ts
Properties |
Methods |
constructor(aocModelManager: AocModelManager)
|
||||||
Parameters :
|
cloneAbstractControl | ||||||
cloneAbstractControl(control: T)
|
||||||
Type parameters :
|
||||||
Parameters :
Returns :
T
|
deepAssign | |||||||||
deepAssign(model: T, obj: Record
|
|||||||||
Type parameters :
|
|||||||||
Parameters :
Returns :
void
|
deepClone |
deepClone(obj: any, cloneFilter: any)
|
Returns :
any
|
diff |
diff(m1: any, m2: any)
|
Calculate the difference between two objects
Returns :
any
|
equal |
equal(object1: any, object2: any)
|
Returns :
boolean
|
extractReset | ||||||
extractReset(control: ObjectLike<AbstractControl | reset>)
|
||||||
Extract a reset observable from control
Parameters :
Returns :
Observable<void>
|
modelArraySort |
modelArraySort(a: any, b: any)
|
Returns :
number
|
modelEqual | ||||||||||||
modelEqual(m1: any, m2: any, logger?: AocUiLoggerInterface)
|
||||||||||||
UNUSED
Parameters :
Returns :
any
|
modelEqual2 | ||||||||||||
modelEqual2(m1: AocModel, m2: AocModel, modelEqualOptions?: AocModelEqualOptions)
|
||||||||||||
Parameters :
Returns :
boolean
|
modelShallowClone | |||||||||
modelShallowClone(modelClass, modelToClone: T)
|
|||||||||
Type parameters :
|
|||||||||
Parameters :
Returns :
T
|
modelReservedKeys |
Type : []
|
Default value : [
'modification_time',
'modification_user',
'__save__',
'__delete__',
'__timeOfRequest__',
'__isRef__'
]
|