import { CardRenderSymbolType } from './CardRenderSymbolType' ; import { Size } from './Size' ; export class CardRenderSymbol { private constructor ( public type , public size , public isIcon = false ) { } public static asterix ( size = Size . MEDIUM ) { return new CardRenderSymbol ( CardRenderSymbolType . ASTERIX , size ) ; } public static or ( size = Size . MEDIUM ) { return new CardRenderSymbol ( CardRenderSymbolType . OR , size ) ; } public static plus ( size = Size . MEDIUM ) { return new CardRenderSymbol ( CardRenderSymbolType . PLUS , size , true ) ; } public static minus ( size = Size . MEDIUM ) { return new CardRenderSymbol ( CardRenderSymbolType . MINUS , size , true ) ; } public static empty ( size = Size . MEDIUM ) { return new CardRenderSymbol ( CardRenderSymbolType . EMPTY , size ) ; } public static slash ( size = Size . MEDIUM ) { return new CardRenderSymbol ( CardRenderSymbolType . SLASH , size ) ; } public static colon ( size = Size . MEDIUM ) { return new CardRenderSymbol ( CardRenderSymbolType . COLON , size ) ; } public static arrow ( size = Size . MEDIUM ) { return new CardRenderSymbol ( CardRenderSymbolType . ARROW , size , true ) ; } public static bracketOpen ( size = Size . MEDIUM ) { return new CardRenderSymbol ( CardRenderSymbolType . BRACKET_OPEN , size ) ; } public static bracketClose ( size = Size . MEDIUM ) { return new CardRenderSymbol ( CardRenderSymbolType . BRACKET_CLOSE , size ) ; } public static nbsp ( size = Size . MEDIUM ) { return new CardRenderSymbol ( CardRenderSymbolType . NBSP , size , true ) ; } public static vSpace ( size = Size . MEDIUM ) { return new CardRenderSymbol ( CardRenderSymbolType . VSPACE , size , true ) ; } public static equals ( size = Size . MEDIUM ) { return new CardRenderSymbol ( CardRenderSymbolType . EQUALS , size ) ; } }