refactor: move from-decimal delim options into operation
This commit is contained in:
parent
3a698d4c37
commit
db3ac41c1b
@ -7,7 +7,6 @@
|
||||
*/
|
||||
|
||||
import Utils from "../Utils.mjs";
|
||||
import {DELIM_OPTIONS} from "./Delim.mjs";
|
||||
|
||||
|
||||
/**
|
||||
@ -36,9 +35,3 @@ export function fromDecimal(data, delim="Auto") {
|
||||
}
|
||||
return output;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* From Decimal delimiters.
|
||||
*/
|
||||
export const FROM_DECIMAL_DELIM_OPTIONS = [...DELIM_OPTIONS, "Auto"];
|
||||
|
||||
@ -5,7 +5,13 @@
|
||||
*/
|
||||
|
||||
import Operation from "../Operation.mjs";
|
||||
import {fromDecimal, FROM_DECIMAL_DELIM_OPTIONS} from "../lib/Decimal.mjs";
|
||||
import {DELIM_OPTIONS} from "../lib/Delim.mjs";
|
||||
import {fromDecimal} from "../lib/Decimal.mjs";
|
||||
|
||||
/**
|
||||
* From Decimal delimiters, plus auto-detection.
|
||||
*/
|
||||
const FROM_DECIMAL_DELIM_OPTIONS = [...DELIM_OPTIONS, "Auto"];
|
||||
|
||||
/**
|
||||
* From Decimal operation
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user