Interface: KoboFoldDeps
Defined in: kobo.ts:70
Everything the fold needs from the importer, injected rather than imported so this module stays free of the survey pass (and testable on its own).
Properties
log
log: IssueLog;
Defined in: kobo.ts:71
name
name: string;
Defined in: kobo.ts:74
Final, de-duplicated RFD name for the block element.
sheet
sheet: string;
Defined in: kobo.ts:72
Methods
choicesOf()
choicesOf(list): object[];
Defined in: kobo.ts:82
Declared choices of a list, used to expand kobo--matrix_list into rows.
Parameters
| Parameter | Type |
|---|---|
list | string |
Returns
object[]
label()
label(row):
| LocalizedString
| undefined;
Defined in: kobo.ts:78
Localized value of a label* column group.
Parameters
| Parameter | Type |
|---|---|
row | XlsformRow |
Returns
| LocalizedString
| undefined
list()
list(rawName): string | undefined;
Defined in: kobo.ts:80
Sanitised choiceLists key when the list is declared, else undefined.
Parameters
| Parameter | Type |
|---|---|
rawName | string |
Returns
string | undefined
required()
required(row): string | boolean | undefined;
Defined in: kobo.ts:84
required as the survey pass parsed it, so a Kobo rank keeps its obligation.
Parameters
| Parameter | Type |
|---|---|
row | XlsformRow |
Returns
string | boolean | undefined
rowName()
rowName(row): string;
Defined in: kobo.ts:76
Final, de-duplicated RFD name for a body row.
Parameters
| Parameter | Type |
|---|---|
row | XlsformRow |
Returns
string