Skip to content

Commit a906d3a

Browse files
committed
doc: 移除组件总览页面
1 parent 1dd1e19 commit a906d3a

File tree

4 files changed

+122
-430
lines changed

4 files changed

+122
-430
lines changed
Lines changed: 122 additions & 159 deletions
Original file line numberDiff line numberDiff line change
@@ -1,159 +1,122 @@
1-
@page "/components"
2-
@inject IStringLocalizer<Coms> Localizer
3-
4-
<div class="coms-search">
5-
<div class="row">
6-
<div class="col-12">
7-
<Search @bind-Value="@SearchText" PlaceHolder="@Localizer["Search"]"
8-
OnSearch="@OnSearch" OnClear="OnClear" ShowClearButton="true"></Search>
9-
</div>
10-
</div>
11-
<div class="coms-search-filter">
12-
</div>
13-
</div>
14-
15-
<CascadingValue Value="ComponentItems" IsFixed="true">
16-
<CascadingValue Value="@SearchText">
17-
18-
<ComponentCategory Text="@Localizer["Text1"]">
19-
<ComponentCard Text="@Localizer["DividerText"]" Image="Divider.svg" Url="divider"></ComponentCard>
20-
<ComponentCard Text="@Localizer["LayoutText"]" Image="Layout.svg" Url="layout"></ComponentCard>
21-
<ComponentCard Text="@Localizer["FooterText"]" Image="Footer.jpg" Url="footer"></ComponentCard>
22-
<ComponentCard Text="@Localizer["RowText"]" Image="Row.jpg" Url="row"></ComponentCard>
23-
<ComponentCard Text="@Localizer["ScrollText"]" Image="Scroll.png" Url="scroll"></ComponentCard>
24-
<ComponentCard Text="@Localizer["SkeletonText"]" Image="Skeleton.png" Url="skeleton"></ComponentCard>
25-
<ComponentCard Text="@Localizer["SplitText"]" Image="Split.png" Url="split"></ComponentCard>
26-
</ComponentCategory>
27-
28-
<ComponentCategory Text="@Localizer["Text2"]">
29-
<ComponentCard Text="@Localizer["AnchorText"]" Image="Anchor.png" Url="anchor"></ComponentCard>
30-
<ComponentCard Text="@Localizer["AnchorLinkText"]" Image="AnchorLink.jpg" Url="anchor-link"></ComponentCard>
31-
<ComponentCard Text="@Localizer["BreadcrumbText"]" Image="Breadcrumb.png" Url="breadcrumb"></ComponentCard>
32-
<ComponentCard Text="@Localizer["DropdownText"]" Image="Dropdown.svg" Url="dropdown"></ComponentCard>
33-
<ComponentCard Text="@Localizer["FullScreenText"]" Image="FullScreen.jpg" Url="fullscreen"></ComponentCard>
34-
<ComponentCard Text="@Localizer["GoTopText"]" Image="GoTop.png" Url="go-top"></ComponentCard>
35-
<ComponentCard Text="@Localizer["LogoutText"]" Image="Logout.png" Url="logout"></ComponentCard>
36-
<ComponentCard Text="@Localizer["MenuText"]" Image="Menu.svg" Url="menu"></ComponentCard>
37-
<ComponentCard Text="@Localizer["NavText"]" Image="Space.svg" Url="navigation"></ComponentCard>
38-
<ComponentCard Text="@Localizer["PaginationText"]" Image="Pagination.svg" Url="pagination"></ComponentCard>
39-
<ComponentCard Text="@Localizer["StepsText"]" Image="Steps.svg" Url="step"></ComponentCard>
40-
<ComponentCard Text="@Localizer["TabText"]" Image="Tabs.svg" Url="tab"></ComponentCard>
41-
</ComponentCategory>
42-
43-
<ComponentCategory Text="@Localizer["Text3"]">
44-
<ComponentCard Text="@Localizer["AutoCompleteText"]" Image="AutoComplete.svg" Url="auto-complete"></ComponentCard>
45-
<ComponentCard Text="@Localizer["AutoFillText"]" Image="AutoFill.jpg" Url="auto-fill"></ComponentCard>
46-
<ComponentCard Text="@Localizer["ButtonText"]" Image="Button.svg" Url="button"></ComponentCard>
47-
<ComponentCard Text="@Localizer["CascaderText"]" Image="Cascader.png" Url="cascader"></ComponentCard>
48-
<ComponentCard Text="@Localizer["CheckboxText"]" Image="CheckBox.svg" Url="checkbox"></ComponentCard>
49-
<ComponentCard Text="@Localizer["CheckboxListText"]" Image="CheckboxList.png" Url="checkbox-list"></ComponentCard>
50-
<ComponentCard Text="@Localizer["ColorPickerText"]" Image="ColorPicker.jpg" Url="color-picker"></ComponentCard>
51-
<ComponentCard Text="@Localizer["DateTimePickerText"]" Image="DatePicker.svg" Url="datetime-picker"></ComponentCard>
52-
<ComponentCard Text="@Localizer["DateTimeRangeText"]" Image="DateTimeRange.png" Url="datetime-range"></ComponentCard>
53-
<ComponentCard Text="@Localizer["EditorText"]" Image="Editor.png" Url="editor"></ComponentCard>
54-
<ComponentCard Text="@Localizer["EditorFormText"]" Image="EditorForm.png" Url="editor-form"></ComponentCard>
55-
<ComponentCard Text="@Localizer["FloatingLabelText"]" Image="FloatingLabel.jpg" Url="floating-label"></ComponentCard>
56-
<ComponentCard Text="@Localizer["InputText"]" Image="Input.svg" Url="input"></ComponentCard>
57-
<ComponentCard Text="@Localizer["InputNumberText"]" Image="InputNumber.png" Url="input-number"></ComponentCard>
58-
<ComponentCard Text="@Localizer["InputGroupText"]" Image="InputGroup.png" Url="input-group"></ComponentCard>
59-
<ComponentCard Text="@Localizer["MarkdownText"]" Image="Markdown.png" Url="markdown"></ComponentCard>
60-
<ComponentCard Text="@Localizer["MultiSelectText"]" Image="MultiSelect.png" Url="multi-select"></ComponentCard>
61-
<ComponentCard Text="@Localizer["OnScreenKeyboardText"]" Image="OnScreenKeyboard.png" Url="onscreen-keyboard"></ComponentCard>
62-
<ComponentCard Text="@Localizer["RadioText"]" Image="Radio.svg" Url="radio"></ComponentCard>
63-
<ComponentCard Text="@Localizer["RateText"]" Image="Rate.jpg" Url="rate"></ComponentCard>
64-
<ComponentCard Text="@Localizer["SelectText"]" Image="Select.svg" Url="select"></ComponentCard>
65-
<ComponentCard Text="@Localizer["SliderText"]" Image="Slider.svg" Url="slider"></ComponentCard>
66-
<ComponentCard Text="@Localizer["SwitchText"]" Image="Switch.svg" Url="switch"></ComponentCard>
67-
<ComponentCard Text="@Localizer["TextareaText"]" Image="Textarea.png" Url="textarea"></ComponentCard>
68-
<ComponentCard Text="@Localizer["ToggleText"]" Image="Toggle.png" Url="toggle"></ComponentCard>
69-
<ComponentCard Text="@Localizer["TransferText"]" Image="Transfer.svg" Url="transfer"></ComponentCard>
70-
<ComponentCard Text="@Localizer["UploadText"]" Image="Upload.svg" Url="upload"></ComponentCard>
71-
<ComponentCard Text="@Localizer["ValidateFormText"]" Image="ValidateForm.png" Url="validate-form"></ComponentCard>
72-
</ComponentCategory>
73-
74-
<ComponentCategory Text="@Localizer["Text4"]">
75-
<ComponentCard Text="@Localizer["AvatarText"]" Image="Avatar.svg" Url="avatar"></ComponentCard>
76-
<ComponentCard Text="@Localizer["BadgeText"]" Image="Badge.svg" Url="badge"></ComponentCard>
77-
<ComponentCard Text="@Localizer["BarcodeReaderText"]" Image="BarcodeReader.png" Url="barcode-reader"></ComponentCard>
78-
<ComponentCard Text="@Localizer["BlockText"]" Image="Block.jpg" Url="block"></ComponentCard>
79-
<ComponentCard Text="@Localizer["BluetoothText"]" Image="Bluetooth.jpg" Url="blue-tooth"></ComponentCard>
80-
<ComponentCard Text="@Localizer["CardText"]" Image="Card.svg" Url="card"></ComponentCard>
81-
<ComponentCard Text="@Localizer["CalendarText"]" Image="Calendar.svg" Url="calendar"></ComponentCard>
82-
<ComponentCard Text="@Localizer["CameraText"]" Image="Camera.png" Url="Camera"></ComponentCard>
83-
<ComponentCard Text="@Localizer["CaptchaText"]" Image="Captcha.png" Url="captcha"></ComponentCard>
84-
<ComponentCard Text="@Localizer["CarouselText"]" Image="Carousel.svg" Url="carousel"></ComponentCard>
85-
<ComponentCard Text="@Localizer["ClientText"]" Image="Client.jpg" Url="client"></ComponentCard>
86-
<ComponentCard Text="@Localizer["CircleText"]" Image="Circle.png" Url="circle"></ComponentCard>
87-
<ComponentCard Text="@Localizer["CollapseText"]" Image="Collapse.svg" Url="collapse"></ComponentCard>
88-
<ComponentCard Text="@Localizer["DisplayText"]" Image="Display.jpg" Url="display"></ComponentCard>
89-
<ComponentCard Text="@Localizer["DownloadText"]" Image="Download.png" Url="download"></ComponentCard>
90-
<ComponentCard Text="@Localizer["DropdownWidgetText"]" Image="DropdownWidget.png" Url="dropdown-widget"></ComponentCard>
91-
<ComponentCard Text="@Localizer["EmptyText"]" Image="Empty.jpg" Url="empty"></ComponentCard>
92-
<ComponentCard Text="@Localizer["FileViewerText"]" Image="FileViewer.jpg" Url="file-viewer"></ComponentCard>
93-
<ComponentCard Text="@Localizer["GeolocationText"]" Image="Geolocation.jpg" Url="geolocation"></ComponentCard>
94-
<ComponentCard Text="@Localizer["GroupBoxText"]" Image="GroupBox.png" Url="group-box"></ComponentCard>
95-
<ComponentCard Text="@Localizer["HandwrittenPageText"]" Image="Handwritten.jpg" Url="handwritten"></ComponentCard>
96-
<ComponentCard Text="@Localizer["IpText"]" Image="IP.jpg" Url="ips"></ComponentCard>
97-
<ComponentCard Text="@Localizer["LinkButtonText"]" Image="LinkButton.png" Url="link-button"></ComponentCard>
98-
<ComponentCard Text="@Localizer["ListViewText"]" Image="ListView.png" Url="list-view"></ComponentCard>
99-
<ComponentCard Text="@Localizer["LocatorText"]" Image="Locator.jpg" Url="locator"></ComponentCard>
100-
<ComponentCard Text="@Localizer["ImageViewerText"]" Image="Image.png" Url="image-viewer"></ComponentCard>
101-
<ComponentCard Text="@Localizer["MindMapText"]" Image="MindMap.jpg" Url="mind-map"></ComponentCard>
102-
<ComponentCard Text="@Localizer["PdfReaderText"]" Image="PdfReader.jpg" Url="pdf-reader"></ComponentCard>
103-
<ComponentCard Text="@Localizer["PrintText"]" Image="Print.jpg" Url="print"></ComponentCard>
104-
<ComponentCard Text="@Localizer["QRCodeText"]" Image="QRCode.png" Url="qr-code"></ComponentCard>
105-
<ComponentCard Text="@Localizer["RecognizerText"]" Image="Recognizer.png" Url="recognizer"></ComponentCard>
106-
<ComponentCard Text="@Localizer["SearchText"]" Image="Search.png" Url="search"></ComponentCard>
107-
<ComponentCard Text="@Localizer["SignaturePadText"]" Image="SignaturePad.png" Url="signature-pad"></ComponentCard>
108-
<ComponentCard Text="@Localizer["SpeechWaveText"]" Image="SpeechWave.png" Url="speech-wave"></ComponentCard>
109-
<ComponentCard Text="@Localizer["SwitchButtonText"]" Image="LinkButton.png" Url="switch-button"></ComponentCard>
110-
<ComponentCard Text="@Localizer["TableText"]" Image="Table.svg" Url="table"></ComponentCard>
111-
<ComponentCard Text="@Localizer["TagText"]" Image="Tag.svg" Url="tag"></ComponentCard>
112-
<ComponentCard Text="@Localizer["TimelineText"]" Image="Timeline.svg" Url="timeline"></ComponentCard>
113-
<ComponentCard Text="@Localizer["TitleText"]" Image="Title.jpg" Url="title"></ComponentCard>
114-
<ComponentCard Text="@Localizer["TreeViewText"]" Image="Tree.svg" Url="tree-view"></ComponentCard>
115-
<ComponentCard Text="@Localizer["TransitionText"]" Image="Transition.jpg" Url="transition"></ComponentCard>
116-
<ComponentCard Text="@Localizer["VideoPlayerText"]" Image="VideoPlayer.jpg" Url="video-player"></ComponentCard>
117-
<ComponentCard Text="@Localizer["FileViewerText"]" Image="FileViewer.jpg" Url="file-viewer"></ComponentCard>
118-
<ComponentCard Text="@Localizer["WebSerialText"]" Image="WebSerial.jpg" Url="web-serial"></ComponentCard>
119-
<ComponentCard Text="@Localizer["WebSpeechText"]" Image="WebSpeech.jpg" Url="web-speech"></ComponentCard>
120-
<ComponentCard Text="@Localizer["ImageCropperText"]" Image="ImageCropper.jpg" Url="image-cropper"></ComponentCard>
121-
<ComponentCard Text="@Localizer["BarcodeGeneratorText"]" Image="BarcodeGenerator.jpg" Url="barcode-generator"></ComponentCard>
122-
<ComponentCard Text="@Localizer["MermaidText"]" Image="Mermaid.png" Url="mermaid"></ComponentCard>
123-
</ComponentCategory>
124-
125-
<ComponentCategory Text="@Localizer["Text6"]">
126-
<ComponentCard Text="@Localizer["ChartSummaryText"]" Image="Chart.png" Url="chart/index"></ComponentCard>
127-
<ComponentCard Text="@Localizer["ChartLineText"]" Image="Line.jpg" Url="chart/line"></ComponentCard>
128-
<ComponentCard Text="@Localizer["ChartBarText"]" Image="Bar.jpg" Url="chart/bar"></ComponentCard>
129-
<ComponentCard Text="@Localizer["ChartPieText"]" Image="Pie.jpg" Url="chart/pie"></ComponentCard>
130-
<ComponentCard Text="@Localizer["ChartDoughnutText"]" Image="Doughnut.jpg" Url="chart/doughnut"></ComponentCard>
131-
<ComponentCard Text="@Localizer["ChartBubbleText"]" Image="Bubble.jpg" Url="chart/bubble"></ComponentCard>
132-
</ComponentCategory>
133-
134-
<ComponentCategory Text="@Localizer["Text5"]">
135-
<ComponentCard Text="@Localizer["AlertText"]" Image="Alert.svg" Url="alert"></ComponentCard>
136-
<ComponentCard Text="@Localizer["ConsoleText"]" Image="Console.png" Url="console"></ComponentCard>
137-
<ComponentCard Text="@Localizer["DialogText"]" Image="Notification.svg" Url="dialog"></ComponentCard>
138-
<ComponentCard Text="@Localizer["DispatchText"]" Image="Dispatch.jpg" Url="dispatch"></ComponentCard>
139-
<ComponentCard Text="@Localizer["DrawerText"]" Image="Drawer.svg" Url="drawer"></ComponentCard>
140-
<ComponentCard Text="@Localizer["EditDialogText"]" Image="Notification.svg" Url="edit-dialog"></ComponentCard>
141-
<ComponentCard Text="@Localizer["LightText"]" Image="Light.png" Url="light"></ComponentCard>
142-
<ComponentCard Text="@Localizer["MessageText"]" Image="Message.svg" Url="message"></ComponentCard>
143-
<ComponentCard Text="@Localizer["ModalText"]" Image="Modal.svg" Url="modal"></ComponentCard>
144-
<ComponentCard Text="@Localizer["NotificationsText"]" Image="Notifications.jpg" Url="notification"></ComponentCard>
145-
<ComponentCard Text="@Localizer["PopoverConfirmText"]" Image="Pop-confirm.svg" Url="pop-confirm"></ComponentCard>
146-
<ComponentCard Text="@Localizer["PopoverText"]" Image="Popover.svg" Url="popover"></ComponentCard>
147-
<ComponentCard Text="@Localizer["ProgressText"]" Image="Progress.svg" Url="progress"></ComponentCard>
148-
<ComponentCard Text="@Localizer["ReconnectorText"]" Image="Reconnector.png" Url="reconnector"></ComponentCard>
149-
<ComponentCard Text="@Localizer["ResponsiveText"]" Image="Responsive.png" Url="responsive"></ComponentCard>
150-
<ComponentCard Text="@Localizer["SearchDialogText"]" Image="SearchDialog.png" Url="search-dialog"></ComponentCard>
151-
<ComponentCard Text="@Localizer["SpinnerText"]" Image="Spinner.gif" Url="spinner"></ComponentCard>
152-
<ComponentCard Text="@Localizer["SweetAlertText"]" Image="SweetAlert.png" Url="sweet-alert"></ComponentCard>
153-
<ComponentCard Text="@Localizer["TimerText"]" Image="Timer.png" Url="timer"></ComponentCard>
154-
<ComponentCard Text="@Localizer["ToastText"]" Image="Toast.png" Url="toast"></ComponentCard>
155-
<ComponentCard Text="@Localizer["TooltipText"]" Image="Tooltip.svg" Url="tooltip"></ComponentCard>
156-
</ComponentCategory>
157-
158-
</CascadingValue>
159-
</CascadingValue>
1+
Divider.svg
2+
Layout.svg
3+
Footer.jpg
4+
Row.jpg
5+
Scroll.png
6+
Skeleton.png
7+
Split.png
8+
Anchor.png
9+
AnchorLink.jpg
10+
Breadcrumb.png
11+
Dropdown.svg
12+
FullScreen.jpg
13+
GoTop.png
14+
Logout.png
15+
Menu.svg
16+
Space.svg
17+
Pagination.svg
18+
Steps.svg
19+
Tabs.svg
20+
AutoComplete.svg
21+
AutoFill.jpg
22+
Button.svg
23+
Cascader.png
24+
CheckBox.svg
25+
CheckboxList.png
26+
ColorPicker.jpg
27+
DatePicker.svg
28+
DateTimeRange.png
29+
Editor.png
30+
EditorForm.png
31+
FloatingLabel.jpg
32+
Input.svg
33+
InputNumber.png
34+
InputGroup.png
35+
Markdown.png
36+
MultiSelect.png
37+
OnScreenKeyboard.png
38+
Radio.svg
39+
Rate.jpg
40+
Select.svg
41+
Slider.svg
42+
Switch.svg
43+
Textarea.png
44+
Toggle.png
45+
Transfer.svg
46+
Upload.svg
47+
ValidateForm.png
48+
Avatar.svg
49+
Badge.svg
50+
BarcodeReader.png
51+
Block.jpg
52+
Bluetooth.jpg
53+
Card.svg
54+
Calendar.svg
55+
Camera.png
56+
Captcha.png
57+
Carousel.svg
58+
Client.jpg
59+
Circle.png
60+
Collapse.svg
61+
Display.jpg
62+
Download.png
63+
DropdownWidget.png
64+
Empty.jpg
65+
FileViewer.jpg
66+
Geolocation.jpg
67+
GroupBox.png
68+
Handwritten.jpg
69+
IP.jpg
70+
LinkButton.png
71+
ListView.png
72+
Locator.jpg
73+
Image.png
74+
MindMap.jpg
75+
PdfReader.jpg
76+
Print.jpg
77+
QRCode.png
78+
Recognizer.png
79+
Search.png
80+
SignaturePad.png
81+
SpeechWave.png
82+
LinkButton.png
83+
Table.svg
84+
Tag.svg
85+
Timeline.svg
86+
Title.jpg
87+
Tree.svg
88+
Transition.jpg
89+
VideoPlayer.jpg
90+
FileViewer.jpg
91+
WebSerial.jpg
92+
WebSpeech.jpg
93+
ImageCropper.jpg
94+
BarcodeGenerator.jpg
95+
Mermaid.png
96+
Chart.png
97+
Line.jpg
98+
Bar.jpg
99+
Pie.jpg
100+
Doughnut.jpg
101+
Bubble.jpg
102+
Alert.svg
103+
Console.png
104+
Notification.svg
105+
Dispatch.jpg
106+
Drawer.svg
107+
Notification.svg
108+
Light.png
109+
Message.svg
110+
Modal.svg
111+
Notifications.jpg
112+
Pop-confirm.svg
113+
Popover.svg
114+
Progress.svg
115+
Reconnector.png
116+
Responsive.png
117+
SearchDialog.png
118+
Spinner.gif
119+
SweetAlert.png
120+
Timer.png
121+
Toast.png
122+
Tooltip.svg

src/BootstrapBlazor.Server/Extensions/MenusLocalizerExtensions.cs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -124,17 +124,8 @@ public static List<MenuItem> GenerateMenus(this IStringLocalizer<NavMenu> Locali
124124
Text = Localizer["Utility"],
125125
Icon = "fa-fw fa-solid fa-code"
126126
};
127-
128127
AddBootstrapBlazorUtility(item);
129128

130-
item = new DemoMenuItem()
131-
{
132-
Text = Localizer["Components"],
133-
Icon = "fa-fw fa-solid fa-heart fa-beat icon-summary",
134-
Url = "components"
135-
};
136-
AddSummary(item);
137-
138129
return menus;
139130

140131
void AddBootstrapBlazorUtility(DemoMenuItem item)

0 commit comments

Comments
 (0)