Emoji.format.ps1xml
<!-- Generated with EZOut 2.0.5: Install-Module EZOut or https://github.com/StartAutomating/EZOut --> <Configuration> <ViewDefinitions> <View> <Name>Emoji.Block</Name> <ViewSelectedBy> <TypeName>Emoji.Block</TypeName> </ViewSelectedBy> <TableControl> <AutoSize /> <TableHeaders> <TableColumnHeader> <Alignment>Right</Alignment> </TableColumnHeader> <TableColumnHeader> <Alignment>Center</Alignment> </TableColumnHeader> <TableColumnHeader> <Alignment>Left</Alignment> </TableColumnHeader> </TableHeaders> <TableRowEntries> <TableRowEntry> <TableColumnItems> <TableColumnItem> <PropertyName>Start</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>BlockName</PropertyName> </TableColumnItem> <TableColumnItem> <PropertyName>End</PropertyName> </TableColumnItem> </TableColumnItems> </TableRowEntry> </TableRowEntries> </TableControl> </View> <View> <Name>Emoji.Sequence</Name> <ViewSelectedBy> <TypeName>Emoji.Sequence</TypeName> </ViewSelectedBy> <TableControl> <TableHeaders> <TableColumnHeader> </TableColumnHeader> <TableColumnHeader> <Label>ExportedCommands</Label> </TableColumnHeader> <TableColumnHeader> <Label>ExportedVariables</Label> </TableColumnHeader> </TableHeaders> <TableRowEntries> <TableRowEntry> <Wrap /> <TableColumnItems> <TableColumnItem> <PropertyName>Name</PropertyName> </TableColumnItem> <TableColumnItem> <ScriptBlock> $_.ExportedCommands.Keys -join [Environment]::NewLine </ScriptBlock> </TableColumnItem> <TableColumnItem> <ScriptBlock> $_.ExportedVariables.Keys -join [Environment]::NewLine </ScriptBlock> </TableColumnItem> </TableColumnItems> </TableRowEntry> </TableRowEntries> </TableControl> </View> <View> <Name>Emoji.Symbol</Name> <ViewSelectedBy> <TypeName>Emoji.Symbol</TypeName> </ViewSelectedBy> <TableControl> <AutoSize /> <TableHeaders> <TableColumnHeader> <Label>Emoji</Label> <Alignment>Left</Alignment> </TableColumnHeader> <TableColumnHeader> <Label>Name</Label> <Alignment>Center</Alignment> </TableColumnHeader> <TableColumnHeader> <Label>Hex</Label> <Alignment>Right</Alignment> </TableColumnHeader> </TableHeaders> <TableRowEntries> <TableRowEntry> <TableColumnItems> <TableColumnItem> <ScriptBlock> $_.Emoji.ToString().PadRight(3) </ScriptBlock> </TableColumnItem> <!-- {ConditionalStyle:"Foreground.Green"}--> <TableColumnItem> <ScriptBlock> $CellColorValue = $($Script:_LastCellStyle ='Foreground.Green';$Script:_LastCellStyle) $CellColorValue = if ($psStyle) { @(foreach ($styleProp in $CellColorValue) { if ($styleProp -match '^\$') { $ExecutionContext.SessionState.InvokeCommand.InvokeScript($styleProp) } elseif ($styleProp -match '\.') { $targetObject = $psStyle foreach ($dotProperty in $styleProp -split '(?<!\.)\.') { if ( ($targetObject.psobject.Members['Item'] -and ($targetObject.Item -is [Management.Automation.PSMethodInfo]) ) -or $targetObject -is [Collections.IDictionary] ) { $targetObject = $targetObject[$dotProperty] } else { $targetObject = $targetObject.$dotProperty } } if ($targetObject) { $targetObject } } else { $psStyle.$styleProp } }) -join '' } $output = . {$_.'Name'} @($CellColorValue; $output; $psStyle.Reset) -join '' </ScriptBlock> </TableColumnItem> <!-- {ConditionalStyle:"Foreground.Cyan"}--> <TableColumnItem> <ScriptBlock> $CellColorValue = $($Script:_LastCellStyle ='Foreground.Cyan';$Script:_LastCellStyle) $CellColorValue = if ($psStyle) { @(foreach ($styleProp in $CellColorValue) { if ($styleProp -match '^\$') { $ExecutionContext.SessionState.InvokeCommand.InvokeScript($styleProp) } elseif ($styleProp -match '\.') { $targetObject = $psStyle foreach ($dotProperty in $styleProp -split '(?<!\.)\.') { if ( ($targetObject.psobject.Members['Item'] -and ($targetObject.Item -is [Management.Automation.PSMethodInfo]) ) -or $targetObject -is [Collections.IDictionary] ) { $targetObject = $targetObject[$dotProperty] } else { $targetObject = $targetObject.$dotProperty } } if ($targetObject) { $targetObject } } else { $psStyle.$styleProp } }) -join '' } $output = . {$_.'Hex'} @($CellColorValue; $output; $psStyle.Reset) -join '' </ScriptBlock> </TableColumnItem> </TableColumnItems> </TableRowEntry> </TableRowEntries> </TableControl> </View> <View> <Name>PowerShell</Name> <ViewSelectedBy> <TypeName>Emoji.Symbol</TypeName> </ViewSelectedBy> <TableControl> <AutoSize /> <TableHeaders> <TableColumnHeader> <Label>Emoji</Label> <Alignment>Left</Alignment> </TableColumnHeader> <TableColumnHeader> <Label>Name</Label> <Alignment>Center</Alignment> </TableColumnHeader> <TableColumnHeader> <Alignment>Right</Alignment> </TableColumnHeader> </TableHeaders> <TableRowEntries> <TableRowEntry> <TableColumnItems> <TableColumnItem> <ScriptBlock> $_.Emoji.ToString().PadRight(3) </ScriptBlock> </TableColumnItem> <!-- {ConditionalStyle:"Foreground.Green"}--> <TableColumnItem> <ScriptBlock> $CellColorValue = $($Script:_LastCellStyle ='Foreground.Green';$Script:_LastCellStyle) $CellColorValue = if ($psStyle) { @(foreach ($styleProp in $CellColorValue) { if ($styleProp -match '^\$') { $ExecutionContext.SessionState.InvokeCommand.InvokeScript($styleProp) } elseif ($styleProp -match '\.') { $targetObject = $psStyle foreach ($dotProperty in $styleProp -split '(?<!\.)\.') { if ( ($targetObject.psobject.Members['Item'] -and ($targetObject.Item -is [Management.Automation.PSMethodInfo]) ) -or $targetObject -is [Collections.IDictionary] ) { $targetObject = $targetObject[$dotProperty] } else { $targetObject = $targetObject.$dotProperty } } if ($targetObject) { $targetObject } } else { $psStyle.$styleProp } }) -join '' } $output = . {$_.'Name'} @($CellColorValue; $output; $psStyle.Reset) -join '' </ScriptBlock> </TableColumnItem> <TableColumnItem> <PropertyName>PowerShell</PropertyName> </TableColumnItem> </TableColumnItems> </TableRowEntry> </TableRowEntries> </TableControl> </View> <View> <Name>Emoji</Name> <ViewSelectedBy> <TypeName>Emoji.Symbol</TypeName> </ViewSelectedBy> <TableControl> <AutoSize /> <TableHeaders> <TableColumnHeader> <Alignment>Left</Alignment> </TableColumnHeader> </TableHeaders> <TableRowEntries> <TableRowEntry> <TableColumnItems> <TableColumnItem> <PropertyName>Emoji</PropertyName> </TableColumnItem> </TableColumnItems> </TableRowEntry> </TableRowEntries> </TableControl> </View> <View> <Name>CSS</Name> <ViewSelectedBy> <TypeName>Emoji.Symbol</TypeName> </ViewSelectedBy> <TableControl> <AutoSize /> <TableHeaders> <TableColumnHeader> <Alignment>Left</Alignment> </TableColumnHeader> </TableHeaders> <TableRowEntries> <TableRowEntry> <TableColumnItems> <TableColumnItem> <PropertyName>CSS</PropertyName> </TableColumnItem> </TableColumnItems> </TableRowEntry> </TableRowEntries> </TableControl> </View> <View> <Name>Emoji.Symbol</Name> <ViewSelectedBy> <TypeName>Emoji.Symbol</TypeName> </ViewSelectedBy> <CustomControl> <CustomEntries> <CustomEntry> <CustomItem> <ExpressionBinding> <ScriptBlock> $_.Emoji.PadRight(4) </ScriptBlock> </ExpressionBinding> <ExpressionBinding> <ScriptBlock>if ($psStyle) { @(foreach ($styleProp in 'Foreground.Green') { if ($styleProp -match '^\$') { $ExecutionContext.SessionState.InvokeCommand.InvokeScript($styleProp) } elseif ($styleProp -match '\.') { $targetObject = $psStyle foreach ($dotProperty in $styleProp -split '(?<!\.)\.') { if ( ($targetObject.psobject.Members['Item'] -and ($targetObject.Item -is [Management.Automation.PSMethodInfo]) ) -or $targetObject -is [Collections.IDictionary] ) { $targetObject = $targetObject[$dotProperty] } else { $targetObject = $targetObject.$dotProperty } } if ($targetObject) { $targetObject } } else { $psStyle.$styleProp } }) -ne '' -join '' }</ScriptBlock> </ExpressionBinding> <ExpressionBinding> <PropertyName>Name</PropertyName> </ExpressionBinding> <ExpressionBinding> <ScriptBlock> if ($PSStyle) { $PSStyle.Reset } </ScriptBlock> </ExpressionBinding> </CustomItem> </CustomEntry> </CustomEntries> </CustomControl> </View> <View> <Name>Emoji</Name> <ViewSelectedBy> <TypeName>Emoji.Symbol</TypeName> </ViewSelectedBy> <CustomControl> <CustomEntries> <CustomEntry> <CustomItem> <ExpressionBinding> <PropertyName>Emoji</PropertyName> </ExpressionBinding> </CustomItem> </CustomEntry> </CustomEntries> </CustomControl> </View> <View> <Name>PowerShell</Name> <ViewSelectedBy> <TypeName>Emoji.Symbol</TypeName> </ViewSelectedBy> <CustomControl> <CustomEntries> <CustomEntry> <CustomItem> <ExpressionBinding> <ScriptBlock> $_.Emoji.PadRight(4) </ScriptBlock> </ExpressionBinding> <ExpressionBinding> <ScriptBlock>if ($psStyle) { @(foreach ($styleProp in 'Foreground.Cyan') { if ($styleProp -match '^\$') { $ExecutionContext.SessionState.InvokeCommand.InvokeScript($styleProp) } elseif ($styleProp -match '\.') { $targetObject = $psStyle foreach ($dotProperty in $styleProp -split '(?<!\.)\.') { if ( ($targetObject.psobject.Members['Item'] -and ($targetObject.Item -is [Management.Automation.PSMethodInfo]) ) -or $targetObject -is [Collections.IDictionary] ) { $targetObject = $targetObject[$dotProperty] } else { $targetObject = $targetObject.$dotProperty } } if ($targetObject) { $targetObject } } else { $psStyle.$styleProp } }) -ne '' -join '' }</ScriptBlock> </ExpressionBinding> <ExpressionBinding> <PropertyName>PowerShell</PropertyName> </ExpressionBinding> <ExpressionBinding> <ScriptBlock> if ($PSStyle) { $PSStyle.Reset } </ScriptBlock> </ExpressionBinding> <ExpressionBinding> <ScriptBlock>if ($psStyle) { @(foreach ($styleProp in 'Foreground.Green') { if ($styleProp -match '^\$') { $ExecutionContext.SessionState.InvokeCommand.InvokeScript($styleProp) } elseif ($styleProp -match '\.') { $targetObject = $psStyle foreach ($dotProperty in $styleProp -split '(?<!\.)\.') { if ( ($targetObject.psobject.Members['Item'] -and ($targetObject.Item -is [Management.Automation.PSMethodInfo]) ) -or $targetObject -is [Collections.IDictionary] ) { $targetObject = $targetObject[$dotProperty] } else { $targetObject = $targetObject.$dotProperty } } if ($targetObject) { $targetObject } } else { $psStyle.$styleProp } }) -ne '' -join '' }</ScriptBlock> </ExpressionBinding> <ExpressionBinding> <PropertyName>Name</PropertyName> </ExpressionBinding> <ExpressionBinding> <ScriptBlock> if ($PSStyle) { $PSStyle.Reset } </ScriptBlock> </ExpressionBinding> </CustomItem> </CustomEntry> </CustomEntries> </CustomControl> </View> <View> <Name>CSS</Name> <ViewSelectedBy> <TypeName>Emoji.Symbol</TypeName> </ViewSelectedBy> <CustomControl> <CustomEntries> <CustomEntry> <CustomItem> <Text>/*</Text> <ExpressionBinding> <ScriptBlock> $_.Emoji.PadRight(3) </ScriptBlock> </ExpressionBinding> <Text>*/</Text> <NewLine /> <ExpressionBinding> <PropertyName>CSS</PropertyName> </ExpressionBinding> </CustomItem> </CustomEntry> </CustomEntries> </CustomControl> </View> </ViewDefinitions> </Configuration> |