UNPKG

xdesign-vue-next

Version:

XDesign Component for vue-next

1 lines 1.12 kB
{"version":3,"file":"common.mjs","sources":["../../../src/_common/js/common.ts"],"sourcesContent":["export type PlainObject = { [key: string]: any };\n\nexport type OptionData = {\n label?: string;\n value?: string | number;\n} & PlainObject;\n\nexport type TreeOptionData<T = string | number> = {\n children?: Array<TreeOptionData<T>>;\n /** option label content */\n label?: any;\n /** option search text */\n text?: string;\n /** option value */\n value?: T;\n} & PlainObject;\n\nexport type SizeEnum = 'small' | 'medium' | 'large';\n\nexport type HorizontalAlignEnum = 'left' | 'center' | 'right';\n\nexport type VerticalAlignEnum = 'top' | 'middle' | 'bottom';\n\nexport type ClassName = { [className: string]: any } | ClassName[] | string;\n\nexport type CSSSelector = string;\n\nexport interface Styles {\n [css: string]: string | number;\n}\n\nexport enum EKeyboardDirection {\n left = 37,\n up = 38,\n right = 39,\n down = 40,\n}\n"],"names":["EKeyboardDirection"],"mappings":";;;;;;AA+BO,sCAAA,IAAA,kBAAA,kBAAA,UAAA,mBAAA,EAAA;;;;;AAAKA,EAAAA,OAAAA,mBAAAA,CAAAA;AAAA,CAAA,CAAA,kBAAA,IAAA,EAAA;;;;"}