src/lib/schema.service.ts
Methods |
convertDataToLabelData | ||||||||||||||||
convertDataToLabelData(fields: ILabelField[], data: object[], select?: string)
|
||||||||||||||||
Convert data matching label fields (ILabelField) to a data that can be displayed im the Label Designer.
Parameters :
Returns :
ILabelData[]
|
convertSchemaDataToLabelData | ||||||||||||||||||||
convertSchemaDataToLabelData(schema: any, data: object[], select?: string, options?: ISchemaOptions)
|
||||||||||||||||||||
Convert data matching schema to a data that can be displayed in the Label Designer.
Parameters :
Returns :
ILabelData[]
|
schemaToAvailableFields | ||||||||||||
schemaToAvailableFields(schema: any, base?: ILabelField[], options?: ISchemaOptions)
|
||||||||||||
Convert json schema to list of label fields. This list can be used for the LabelDesigner components availableFields.
Parameters :
Returns :
ILabelField[]
|