UNPKG

@extclp/vexip-ui

Version:

A Vue 3 UI library, Highly customizability, full TypeScript, performance pretty good

1 lines 1.06 kB
{"version":3,"file":"symbol.mjs","sources":["../../../components/grid/symbol.ts"],"sourcesContent":["import type { InjectionKey } from 'vue'\r\n\r\nexport type LayoutProp = number | string | (number | string)[]\r\n\r\nexport type GridJustify =\r\n | 'start'\r\n | 'end'\r\n | 'center'\r\n | 'space-around'\r\n | 'space-between'\r\n | 'space-evenly'\r\nexport type GridAlign = 'top' | 'middle' | 'bottom' | 'stretch'\r\n\r\nexport interface CellFlex {\r\n justify: 'start' | 'end' | 'center' | 'space-around' | 'space-between' | 'space-evenly',\r\n align: 'top' | 'middle' | 'bottom' | 'stretch',\r\n}\r\n\r\nexport interface GridState {\r\n cellFlex: CellFlex | false,\r\n columns: LayoutProp,\r\n}\r\n\r\nexport interface CellOptions {\r\n top?: number | string,\r\n left?: number | string,\r\n width?: number,\r\n height?: number,\r\n right?: number | string,\r\n bottom?: number | string,\r\n}\r\n\r\nexport const GRID_STATE = '__VXP_GRID_STATE' as unknown as InjectionKey<GridState>\r\n"],"names":["GRID_STATE"],"mappings":"AAgCO,MAAMA,IAAa;"}