src/app/models/ParseParams.interface.ts
Properties |
|
| dateHeaders |
dateHeaders:
|
Type : string[]
|
|
Defined in src/app/models/ParseParams.interface.ts:25
|
| dateTimeHeaders |
dateTimeHeaders:
|
Type : string[]
|
|
Defined in src/app/models/ParseParams.interface.ts:26
|
| dcValidator |
dcValidator:
|
Type : DcValidator
|
|
Defined in src/app/models/ParseParams.interface.ts:10
|
| encoding |
encoding:
|
Type : FileUploadEncoding
|
| Optional |
|
Defined in src/app/models/ParseParams.interface.ts:28
|
| file |
file:
|
Type : File
|
|
Defined in src/app/models/ParseParams.interface.ts:8
|
| headerArray |
headerArray:
|
Type : string[]
|
|
Defined in src/app/models/ParseParams.interface.ts:22
|
| headerPks |
headerPks:
|
Type : string[]
|
|
Defined in src/app/models/ParseParams.interface.ts:21
|
| headerShow |
headerShow:
|
Type : string[]
|
|
Defined in src/app/models/ParseParams.interface.ts:23
|
| password |
password:
|
Type : string
|
| Optional |
|
Defined in src/app/models/ParseParams.interface.ts:9
|
| timeHeaders |
timeHeaders:
|
Type : string[]
|
|
Defined in src/app/models/ParseParams.interface.ts:24
|
| uploader |
uploader:
|
Type : FileUploader
|
| Optional |
|
Defined in src/app/models/ParseParams.interface.ts:20
|
|
Parse function will manipulate and return the uploader array which can be provided with files already in the queue Otherwise new empty instance will be created. |
| workbook |
workbook:
|
Type : XLSX.WorkBook
|
| Optional |
|
Defined in src/app/models/ParseParams.interface.ts:15
|
|
If workbook is provided, parse function will not run a XLSX.read() it will use this property instead. So the client must do a file read beforehand |
| xlRules |
xlRules:
|
Type : ExcelRule[]
|
|
Defined in src/app/models/ParseParams.interface.ts:27
|
import { DcValidator } from '../shared/dc-validator/dc-validator'
import { FileUploadEncoding } from './FileUploadEncoding'
import { FileUploader } from './FileUploader.class'
import { ExcelRule } from './TableData'
import XLSX from 'xlsx'
export interface ParseParams {
file: File
password?: string
dcValidator: DcValidator
/**
* If workbook is provided, parse function will not run a XLSX.read()
* it will use this property instead. So the client must do a file read beforehand
*/
workbook?: XLSX.WorkBook
/**
* Parse function will manipulate and return the uploader array which can be provided with files already in the queue
* Otherwise new empty instance will be created.
*/
uploader?: FileUploader
headerPks: string[]
headerArray: string[]
headerShow: string[]
timeHeaders: string[]
dateHeaders: string[]
dateTimeHeaders: string[]
xlRules: ExcelRule[]
encoding?: FileUploadEncoding
}