File tree Expand file tree Collapse file tree 7 files changed +43
-27
lines changed
src/BootstrapBlazor.Server Expand file tree Collapse file tree 7 files changed +43
-27
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ @page " /smiles-drawer"
2+ @inject IStringLocalizer <SmilesDrawers > Localizer
3+
4+ <h3 >@Localizer ["SmilesDrawerTitle"]</h3 >
5+
6+ <h4 >@Localizer ["SmilesDrawerDescription"]</h4 >
7+
8+ <PackageTips Name =" BootstrapBlazor.SmilesDrawer" />
9+
10+ <DemoBlock Title =" @Localizer[" SmilesDrawerNormalTitle " ]"
11+ Introduction =" @Localizer[" SmilesDrawerNormalIntro " ]"
12+ Name =" Normal" >
13+ <SmilesDrawer SmilesValue =" CC(=O)Oc1ccccc1C(=O)O" ></SmilesDrawer >
14+ </DemoBlock >
15+
16+ <DemoBlock Title =" @Localizer[" SmilesDrawerSizeTitle " ]"
17+ Introduction =" @Localizer[" SmilesDrawerSizeIntro " ]"
18+ Name =" Size" >
19+ <SmilesDrawer SmilesValue =" CC(=O)Oc1ccccc1C(=O)O" Theme =" light" Width =" 120" Height =" 120" ></SmilesDrawer >
20+ </DemoBlock >
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ namespace BootstrapBlazor.Server.Components.Samples;
88/// <summary>
99/// SmileDrawer 组件示例
1010/// </summary>
11- public partial class SmileDrawers
11+ public partial class SmilesDrawers
1212{
1313
1414}
Original file line number Diff line number Diff line change @@ -709,8 +709,8 @@ void AddData(DemoMenuItem item)
709709 } ,
710710 new ( )
711711 {
712- Text = Localizer [ "SmileDrawer " ] ,
713- Url = "smile -drawer"
712+ Text = Localizer [ "SmilesDrawer " ] ,
713+ Url = "smiles -drawer"
714714 } ,
715715 new ( )
716716 {
Original file line number Diff line number Diff line change 68446844 "RDKitTitle": "RDKit",
68456845 "RDKitDescription": "A powerful cheminformatics and molecule rendering toolbelt for Blazor, Powered by RDKit",
68466846 "RDKitNormalTitle": "Basic usage",
6847- "RDKitNormalIntro": "Set the molecular formula through <code>Value </code> and draw the component",
6847+ "RDKitNormalIntro": "Set the molecular formula through <code>Smiles </code> and draw the component",
68486848 "RDKitSmartsTitle": "Smarts",
68496849 "RDKitSmartsIntro": "By setting the <code>Smarts</code> value, parts of the molecular formula can be highlighted",
68506850 "RDKitSmartsLabel": "Show Smarts",
68516851 "RDKitSizeTitle": "Size",
68526852 "RDKitSizeIntro": "Set the width and height of the molecular formula by setting the <code>Width</code> and <code>Height</code> values"
6853+ },
6854+ "BootstrapBlazor.Server.Components.Samples.SmilesDrawers": {
6855+ "SmilesDrawerTitle": "SmilesDrawer",
6856+ "SmilesDrawerDescription": "A small, highly performant JavaScript component for parsing and drawing SMILES strings",
6857+ "SmilesDrawerNormalTitle": "Basic usage",
6858+ "SmilesDrawerNormalIntro": "Set the molecular formula through <code>Smiles</code> and draw the component",
6859+ "SmilesDrawerSizeTitle": "Size",
6860+ "SmilesDrawerSizeIntro": "Set the width and height of the molecular formula by setting the <code>Width</code> and <code>Height</code> values"
68536861 }
68546862}
Original file line number Diff line number Diff line change 68416841 "AttributeOnPostDataAsync" : " Frame 加载页面传递过来的数据"
68426842 },
68436843 "BootstrapBlazor.Server.Components.Samples.RDKits" : {
6844- "RDKitTitle" : " 分子图组件" ,
6844+ "RDKitTitle" : " RDKit.js 分子图组件" ,
68456845 "RDKitDescription" : " RDKit 是一个开源的化学信息学工具包,用于分子建模和化学信息学" ,
68466846 "RDKitNormalTitle" : " 基础用法" ,
6847- "RDKitNormalIntro" : " 通过 <code>Value </code> 设置分子式,组件画图" ,
6847+ "RDKitNormalIntro" : " 通过 <code>Smiles </code> 设置分子式,组件画图" ,
68486848 "RDKitSmartsTitle" : " Smarts" ,
68496849 "RDKitSmartsIntro" : " 通过设置 <code>Smarts</code> 值,高亮显示部分分子式" ,
68506850 "RDKitSmartsLabel" : " 显示 Smarts" ,
68516851 "RDKitSizeTitle" : " 尺寸" ,
68526852 "RDKitSizeIntro" : " 通过设置 <code>Width</code> <code>Height</code> 值设置分子式宽高"
6853+ },
6854+ "BootstrapBlazor.Server.Components.Samples.SmilesDrawers" : {
6855+ "SmilesDrawerTitle" : " SmilesDrawer 分子图组件" ,
6856+ "SmilesDrawerDescription" : " SmilesDrawer 是一个开源的化学信息学工具包,用于分子建模和化学信息学" ,
6857+ "SmilesDrawerNormalTitle" : " 基础用法" ,
6858+ "SmilesDrawerNormalIntro" : " 通过 <code>Smiles</code> 设置分子式,组件画图" ,
6859+ "SmilesDrawerSizeTitle" : " 尺寸" ,
6860+ "SmilesDrawerSizeIntro" : " 通过设置 <code>Width</code> <code>Height</code> 值设置分子式宽高"
68536861 }
68546862}
Original file line number Diff line number Diff line change 222222 "win-box" : " WinBoxes" ,
223223 "player" : " Players" ,
224224 "rdkit" : " Rdkits" ,
225- "smile -drawer" : " SmileDrawers "
225+ "smiles -drawer" : " SmilesDrawers "
226226 },
227227 "video" : {
228228 "table" : " BV1ap4y1x7Qn?p=1" ,
You can’t perform that action at this time.
0 commit comments