
import { Conf } from './conf/index.uts'
import { Store } from './store/index.uts'
import { Anim } from './anim/index.uts'
import { Color } from './color/index.uts'
import { Dates } from './date/index.uts'
import { Format } from './format/index.uts'
import { Verify } from './verify/index.uts'
import { Random } from './random/index.uts'
import { Encrypt } from './encrypt/index.uts'
import { Obj } from './obj/index.uts'
import { Util } from './util/index.uts'

/**
 * UxFrame Core
 */
export class Core {
	
	/**
	 * 状态管理
	 */
	Store = new Store()
	
	/**
	 * 颜色库
	 */
	Color = new Color()
	
	/**
	 * 日期库
	 */
	Date = new Dates()
	
	/**
	 * 动画库
	 */
	Anim = new Anim()
	
	// /**
	//  * Canvas画布绘制函数
	//  */
	// Canvas = new useCanvas(this)
	
	// /**
	//  * Socket函数
	//  */
	// Socket = new useSocket(this)
	
	/**
	 * 格式化函数
	 */
	Fmt = new Format()
	
	/**
	 * 对象操作函数
	 */
	Obj = new Obj()
	
	/**
	 * 随机数函数
	 */
	Random = new Random()
	
	/**
	 * 校验函数
	 */
	Verify = new Verify()
	
	/**
	 * 数据加解密
	 */
	Encrypt = new Encrypt()
	
	/**
	 * 常用工具函数
	 */
	Util = new Util(this)
	
	/**
	 * 配置
	 */
	Conf = new Conf()
}