Files
tekelanew_acs/acs/nladmin-ui/node_modules/xe-utils/setupDefaults.d.ts

53 lines
1.1 KiB
TypeScript
Raw Normal View History

2024-12-03 17:40:13 +08:00
import { CommafyOptions } from "./commafy"
import { FirstDayOfWeek } from "./getWhatWeek"
import { ToDateStringFormats } from "./toDateString"
export interface SetupDefaults {
/**
*
* toArrayTree()toTreeArray()
*/
treeOptions?: {
strict?: boolean;
parentKey?: string;
key?: string;
children?: string;
data?: string;
[key: string]: any;
};
/**
*
* toDateString()
*/
parseDateFormat?: string;
/**
*
* toDateString()
*/
parseDateRules?: ToDateStringFormats;
/**
*
* getWhatWeek()getYearWeek()toDateString()
*/
firstDayOfWeek?: FirstDayOfWeek;
/**
*
* commafy()
*/
commafyOptions?: CommafyOptions;
/**
* parseDateRules
* @deprecated
*/
formatStringMatchs?: any;
/**
* parseDateFormat
* @deprecated
*/
formatString?: string;
[key: string]: any;
}
export default SetupDefaults