|
|
@ -399,6 +399,18 @@ export default async ( |
|
|
|
.join(','); |
|
|
|
.join(','); |
|
|
|
return { type: 'select', data: csvOpt }; |
|
|
|
return { type: 'select', data: csvOpt }; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
case 'number': |
|
|
|
|
|
|
|
if (col.typeOptions?.format === 'percentV2') |
|
|
|
|
|
|
|
return { |
|
|
|
|
|
|
|
type: UITypes.Percent, |
|
|
|
|
|
|
|
data: { |
|
|
|
|
|
|
|
percentOption: col.typeOptions?.precision, |
|
|
|
|
|
|
|
allowNegativeNumber: col.typeOptions?.negative, |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
return { type: undefined }; |
|
|
|
|
|
|
|
|
|
|
|
default: |
|
|
|
default: |
|
|
|
return { type: undefined }; |
|
|
|
return { type: undefined }; |
|
|
|
} |
|
|
|
} |
|
|
@ -510,6 +522,10 @@ export default async ( |
|
|
|
ncCol.dtxp = colOptions.data; |
|
|
|
ncCol.dtxp = colOptions.data; |
|
|
|
break; |
|
|
|
break; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
case UITypes.Percent: |
|
|
|
|
|
|
|
ncCol.meta = colOptions.data; |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
|
|
|
|
case undefined: |
|
|
|
case undefined: |
|
|
|
break; |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|