Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pro-blocks
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
duanledexianxianxian
pro-blocks
Commits
5ef5a854
Commit
5ef5a854
authored
Jun 06, 2019
by
陈帅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change lib to es
parent
e4a6ba45
Changes
103
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
103 changed files
with
106 additions
and
106 deletions
+106
-106
AccountCenter/src/Center.less
AccountCenter/src/Center.less
+1
-1
AccountCenter/src/components/Applications/index.less
AccountCenter/src/components/Applications/index.less
+1
-1
AccountCenter/src/components/ArticleListContent/index.less
AccountCenter/src/components/ArticleListContent/index.less
+1
-1
AccountCenter/src/components/Articles/index.less
AccountCenter/src/components/Articles/index.less
+1
-1
AccountCenter/src/components/AvatarList/index.less
AccountCenter/src/components/AvatarList/index.less
+1
-1
AccountCenter/src/components/Projects/index.less
AccountCenter/src/components/Projects/index.less
+1
-1
AccountSettings/src/components/BaseView.less
AccountSettings/src/components/BaseView.less
+1
-1
AccountSettings/src/components/GeographicView.less
AccountSettings/src/components/GeographicView.less
+1
-1
AccountSettings/src/components/PhoneView.less
AccountSettings/src/components/PhoneView.less
+1
-1
AccountSettings/src/components/base.tsx
AccountSettings/src/components/base.tsx
+1
-1
AccountSettings/src/style.less
AccountSettings/src/style.less
+1
-1
DashboardAnalysis/src/components/Charts/ChartCard/index.less
DashboardAnalysis/src/components/Charts/ChartCard/index.less
+1
-1
DashboardAnalysis/src/components/Charts/ChartCard/index.tsx
DashboardAnalysis/src/components/Charts/ChartCard/index.tsx
+1
-1
DashboardAnalysis/src/components/Charts/Field/index.less
DashboardAnalysis/src/components/Charts/Field/index.less
+1
-1
DashboardAnalysis/src/components/Charts/MiniProgress/index.less
...ardAnalysis/src/components/Charts/MiniProgress/index.less
+1
-1
DashboardAnalysis/src/components/Charts/Pie/index.less
DashboardAnalysis/src/components/Charts/Pie/index.less
+1
-1
DashboardAnalysis/src/components/Charts/TimelineChart/index.less
...rdAnalysis/src/components/Charts/TimelineChart/index.less
+1
-1
DashboardAnalysis/src/components/Charts/WaterWave/index.less
DashboardAnalysis/src/components/Charts/WaterWave/index.less
+1
-1
DashboardAnalysis/src/components/NumberInfo/index.less
DashboardAnalysis/src/components/NumberInfo/index.less
+1
-1
DashboardAnalysis/src/components/ProportionSales.tsx
DashboardAnalysis/src/components/ProportionSales.tsx
+1
-1
DashboardAnalysis/src/components/SalesCard.tsx
DashboardAnalysis/src/components/SalesCard.tsx
+1
-1
DashboardAnalysis/src/components/Trend/index.less
DashboardAnalysis/src/components/Trend/index.less
+1
-1
DashboardAnalysis/src/index.tsx
DashboardAnalysis/src/index.tsx
+2
-2
DashboardAnalysis/src/style.less
DashboardAnalysis/src/style.less
+1
-1
DashboardAnalysis/src/utils/utils.ts
DashboardAnalysis/src/utils/utils.ts
+1
-1
DashboardMonitor/src/components/Charts/Pie/index.less
DashboardMonitor/src/components/Charts/Pie/index.less
+1
-1
DashboardMonitor/src/components/Charts/WaterWave/index.less
DashboardMonitor/src/components/Charts/WaterWave/index.less
+1
-1
DashboardMonitor/src/style.less
DashboardMonitor/src/style.less
+1
-1
DashboardWorkplace/src/components/EditableLinkGroup/index.less
...oardWorkplace/src/components/EditableLinkGroup/index.less
+1
-1
DashboardWorkplace/src/components/Radar/index.less
DashboardWorkplace/src/components/Radar/index.less
+1
-1
DashboardWorkplace/src/style.less
DashboardWorkplace/src/style.less
+1
-1
EditorFlow/src/components/EditorDetailPanel/DetailForm.tsx
EditorFlow/src/components/EditorDetailPanel/DetailForm.tsx
+1
-1
EditorKoni/src/components/EditorDetailPanel/DetailForm.tsx
EditorKoni/src/components/EditorDetailPanel/DetailForm.tsx
+1
-1
EditorKoni/src/components/PageHeaderWrapper/index.less
EditorKoni/src/components/PageHeaderWrapper/index.less
+1
-1
EditorKoni/src/components/PageHeaderWrapper/index.tsx
EditorKoni/src/components/PageHeaderWrapper/index.tsx
+1
-1
EditorMind/src/components/EditorDetailPanel/DetailForm.tsx
EditorMind/src/components/EditorDetailPanel/DetailForm.tsx
+1
-1
EditorMind/src/components/PageHeaderWrapper/index.less
EditorMind/src/components/PageHeaderWrapper/index.less
+1
-1
EditorMind/src/components/PageHeaderWrapper/index.tsx
EditorMind/src/components/PageHeaderWrapper/index.tsx
+1
-1
Exception403/src/components/Exception/index.less
Exception403/src/components/Exception/index.less
+1
-1
Exception404/src/components/Exception/index.less
Exception404/src/components/Exception/index.less
+1
-1
Exception500/src/components/Exception/index.less
Exception500/src/components/Exception/index.less
+1
-1
FormAdvancedForm/src/components/FooterToolbar/index.less
FormAdvancedForm/src/components/FooterToolbar/index.less
+1
-1
FormAdvancedForm/src/index.tsx
FormAdvancedForm/src/index.tsx
+1
-1
FormAdvancedForm/src/style.less
FormAdvancedForm/src/style.less
+1
-1
FormBasicForm/src/components/PageHeaderWrapper/index.less
FormBasicForm/src/components/PageHeaderWrapper/index.less
+1
-1
FormBasicForm/src/index.tsx
FormBasicForm/src/index.tsx
+1
-1
FormBasicForm/src/style.less
FormBasicForm/src/style.less
+1
-1
FormStepForm/src/components/PageHeaderWrapper/index.less
FormStepForm/src/components/PageHeaderWrapper/index.less
+1
-1
FormStepForm/src/components/Result/index.less
FormStepForm/src/components/Result/index.less
+1
-1
FormStepForm/src/components/Step1/index.less
FormStepForm/src/components/Step1/index.less
+1
-1
FormStepForm/src/components/Step1/index.tsx
FormStepForm/src/components/Step1/index.tsx
+1
-1
FormStepForm/src/components/Step2/index.less
FormStepForm/src/components/Step2/index.less
+1
-1
FormStepForm/src/components/Step2/index.tsx
FormStepForm/src/components/Step2/index.tsx
+1
-1
FormStepForm/src/components/Step3/index.less
FormStepForm/src/components/Step3/index.less
+1
-1
FormStepForm/src/style.less
FormStepForm/src/style.less
+1
-1
ListBasicList/src/Result/index.less
ListBasicList/src/Result/index.less
+1
-1
ListBasicList/src/index.tsx
ListBasicList/src/index.tsx
+1
-1
ListBasicList/src/style.less
ListBasicList/src/style.less
+1
-1
ListCardList/src/components/PageHeaderWrapper/index.less
ListCardList/src/components/PageHeaderWrapper/index.less
+1
-1
ListCardList/src/style.less
ListCardList/src/style.less
+1
-1
ListSearch/src/components/PageHeaderWrapper/index.less
ListSearch/src/components/PageHeaderWrapper/index.less
+1
-1
ListSearch/src/components/PageHeaderWrapper/index.tsx
ListSearch/src/components/PageHeaderWrapper/index.tsx
+1
-1
ListSearchApplications/src/components/PageHeaderWrapper/index.less
...hApplications/src/components/PageHeaderWrapper/index.less
+1
-1
ListSearchApplications/src/components/StandardFormRow/index.less
...rchApplications/src/components/StandardFormRow/index.less
+1
-1
ListSearchApplications/src/components/TagSelect/index.less
ListSearchApplications/src/components/TagSelect/index.less
+1
-1
ListSearchApplications/src/index.tsx
ListSearchApplications/src/index.tsx
+1
-1
ListSearchApplications/src/style.less
ListSearchApplications/src/style.less
+1
-1
ListSearchArticles/src/components/ArticleListContent/index.less
...archArticles/src/components/ArticleListContent/index.less
+1
-1
ListSearchArticles/src/components/StandardFormRow/index.less
ListSearchArticles/src/components/StandardFormRow/index.less
+1
-1
ListSearchArticles/src/components/TagSelect/index.less
ListSearchArticles/src/components/TagSelect/index.less
+1
-1
ListSearchArticles/src/index.tsx
ListSearchArticles/src/index.tsx
+1
-1
ListSearchArticles/src/style.less
ListSearchArticles/src/style.less
+1
-1
ListSearchProjects/src/components/AvatarList/index.less
ListSearchProjects/src/components/AvatarList/index.less
+1
-1
ListSearchProjects/src/components/StandardFormRow/index.less
ListSearchProjects/src/components/StandardFormRow/index.less
+1
-1
ListSearchProjects/src/components/TagSelect/index.less
ListSearchProjects/src/components/TagSelect/index.less
+1
-1
ListSearchProjects/src/index.tsx
ListSearchProjects/src/index.tsx
+1
-1
ListSearchProjects/src/style.less
ListSearchProjects/src/style.less
+1
-1
ListTableList/src/components/CreateForm.tsx
ListTableList/src/components/CreateForm.tsx
+1
-1
ListTableList/src/components/StandardTable/index.less
ListTableList/src/components/StandardTable/index.less
+1
-1
ListTableList/src/components/StandardTable/index.tsx
ListTableList/src/components/StandardTable/index.tsx
+1
-1
ListTableList/src/components/UpdateForm.tsx
ListTableList/src/components/UpdateForm.tsx
+1
-1
ListTableList/src/index.tsx
ListTableList/src/index.tsx
+2
-2
ListTableList/src/style.less
ListTableList/src/style.less
+1
-1
ProfileAdvanced/src/DescriptionList/index.less
ProfileAdvanced/src/DescriptionList/index.less
+1
-1
ProfileAdvanced/src/index.tsx
ProfileAdvanced/src/index.tsx
+1
-1
ProfileAdvanced/src/style.less
ProfileAdvanced/src/style.less
+1
-1
ProfileBasic/src/components/DescriptionList/index.less
ProfileBasic/src/components/DescriptionList/index.less
+1
-1
ProfileBasic/src/components/PageHeaderWrapper/index.less
ProfileBasic/src/components/PageHeaderWrapper/index.less
+1
-1
ProfileBasic/src/style.less
ProfileBasic/src/style.less
+1
-1
ResultFail/src/Result/index.less
ResultFail/src/Result/index.less
+1
-1
ResultFail/src/index.less
ResultFail/src/index.less
+1
-1
ResultSuccess/src/Result/index.less
ResultSuccess/src/Result/index.less
+1
-1
ResultSuccess/src/index.less
ResultSuccess/src/index.less
+1
-1
UserLogin/src/components/Login/LoginItem.tsx
UserLogin/src/components/Login/LoginItem.tsx
+1
-1
UserLogin/src/components/Login/LoginSubmit.tsx
UserLogin/src/components/Login/LoginSubmit.tsx
+1
-1
UserLogin/src/components/Login/LoginTab.tsx
UserLogin/src/components/Login/LoginTab.tsx
+1
-1
UserLogin/src/components/Login/index.less
UserLogin/src/components/Login/index.less
+1
-1
UserLogin/src/components/Login/index.tsx
UserLogin/src/components/Login/index.tsx
+1
-1
UserLogin/src/index.tsx
UserLogin/src/index.tsx
+2
-2
UserLogin/src/style.less
UserLogin/src/style.less
+1
-1
UserRegister/src/index.tsx
UserRegister/src/index.tsx
+1
-1
UserRegister/src/style.less
UserRegister/src/style.less
+1
-1
UserRegisterResult/src/Result/index.less
UserRegisterResult/src/Result/index.less
+1
-1
No files found.
AccountCenter/src/Center.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.avatarHolder {
margin-bottom: 24px;
...
...
AccountCenter/src/components/Applications/index.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.filterCardList {
margin-bottom: -24px;
...
...
AccountCenter/src/components/ArticleListContent/index.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.listContent {
.description {
...
...
AccountCenter/src/components/Articles/index.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.articleList {
:global {
...
...
AccountCenter/src/components/AvatarList/index.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.avatarList {
display: inline-block;
...
...
AccountCenter/src/components/Projects/index.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.coverCardList {
margin-bottom: -24px;
...
...
AccountSettings/src/components/BaseView.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.baseView {
display: flex;
...
...
AccountSettings/src/components/GeographicView.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.row {
.item {
...
...
AccountSettings/src/components/PhoneView.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.area_code {
width: 30%;
...
...
AccountSettings/src/components/base.tsx
View file @
5ef5a854
import
React
,
{
Component
,
Fragment
}
from
'
react
'
;
import
{
formatMessage
,
FormattedMessage
}
from
'
umi-plugin-react/locale
'
;
import
{
Form
,
Input
,
Upload
,
Select
,
Button
,
message
}
from
'
antd
'
;
import
{
FormComponentProps
}
from
'
antd/
lib
/form
'
;
import
{
FormComponentProps
}
from
'
antd/
es
/form
'
;
import
{
connect
}
from
'
dva
'
;
import
styles
from
'
./BaseView.less
'
;
import
GeographicView
from
'
./GeographicView
'
;
...
...
AccountSettings/src/style.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.main {
display: flex;
...
...
DashboardAnalysis/src/components/Charts/ChartCard/index.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.chartCard {
position: relative;
...
...
DashboardAnalysis/src/components/Charts/ChartCard/index.tsx
View file @
5ef5a854
import
React
from
'
react
'
;
import
{
Card
}
from
'
antd
'
;
import
classNames
from
'
classnames
'
;
import
{
CardProps
}
from
'
antd/
lib
/card
'
;
import
{
CardProps
}
from
'
antd/
es
/card
'
;
import
styles
from
'
./index.less
'
;
...
...
DashboardAnalysis/src/components/Charts/Field/index.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.field {
margin: 0;
...
...
DashboardAnalysis/src/components/Charts/MiniProgress/index.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.miniProgress {
position: relative;
...
...
DashboardAnalysis/src/components/Charts/Pie/index.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.pie {
position: relative;
...
...
DashboardAnalysis/src/components/Charts/TimelineChart/index.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.timelineChart {
background: @component-background;
...
...
DashboardAnalysis/src/components/Charts/WaterWave/index.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.waterWave {
position: relative;
...
...
DashboardAnalysis/src/components/NumberInfo/index.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.numberInfo {
.suffix {
...
...
DashboardAnalysis/src/components/ProportionSales.tsx
View file @
5ef5a854
...
...
@@ -4,7 +4,7 @@ import Charts from './Charts';
import
{
FormattedMessage
}
from
'
umi-plugin-react/locale
'
;
import
styles
from
'
../style.less
'
;
import
Yuan
from
'
../utils/Yuan
'
;
import
{
RadioChangeEvent
}
from
'
antd/
lib
/radio
'
;
import
{
RadioChangeEvent
}
from
'
antd/
es
/radio
'
;
import
{
ISalesData
}
from
'
../data
'
;
const
{
Pie
}
=
Charts
;
...
...
DashboardAnalysis/src/components/SalesCard.tsx
View file @
5ef5a854
...
...
@@ -3,7 +3,7 @@ import { Row, Col, Card, Tabs, DatePicker } from 'antd';
import
{
FormattedMessage
,
formatMessage
}
from
'
umi-plugin-react/locale
'
;
import
numeral
from
'
numeral
'
;
import
Charts
from
'
./Charts
'
;
import
{
RangePickerValue
}
from
'
antd/
lib
/date-picker/interface
'
;
import
{
RangePickerValue
}
from
'
antd/
es
/date-picker/interface
'
;
import
{
ISalesData
}
from
'
../data
'
;
import
styles
from
'
../style.less
'
;
...
...
DashboardAnalysis/src/components/Trend/index.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.trendItem {
display: inline-block;
...
...
DashboardAnalysis/src/index.tsx
View file @
5ef5a854
import
React
,
{
Component
,
Suspense
}
from
'
react
'
;
import
{
connect
}
from
'
dva
'
;
import
{
Row
,
Col
,
Icon
,
Menu
,
Dropdown
}
from
'
antd
'
;
import
{
RangePickerValue
}
from
'
antd/
lib
/date-picker/interface
'
;
import
{
RangePickerValue
}
from
'
antd/
es
/date-picker/interface
'
;
import
{
getTimeDistance
}
from
'
./utils/utils
'
;
import
styles
from
'
./style.less
'
;
import
PageLoading
from
'
./components/PageLoading
'
;
import
{
Dispatch
}
from
'
redux
'
;
import
{
IAnalysisData
}
from
'
./data.d
'
;
import
{
RadioChangeEvent
}
from
'
antd/
lib
/radio
'
;
import
{
RadioChangeEvent
}
from
'
antd/
es
/radio
'
;
import
{
GridContent
}
from
'
@ant-design/pro-layout
'
;
const
IntroduceRow
=
React
.
lazy
(()
=>
import
(
'
./components/IntroduceRow
'
));
...
...
DashboardAnalysis/src/style.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.iconGroup {
i {
...
...
DashboardAnalysis/src/utils/utils.ts
View file @
5ef5a854
import
moment
from
'
moment
'
;
import
{
RangePickerValue
}
from
'
antd/
lib
/date-picker/interface
'
;
import
{
RangePickerValue
}
from
'
antd/
es
/date-picker/interface
'
;
export
function
fixedZero
(
val
:
number
)
{
return
val
*
1
<
10
?
`0
${
val
}
`
:
val
;
...
...
DashboardMonitor/src/components/Charts/Pie/index.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.pie {
position: relative;
...
...
DashboardMonitor/src/components/Charts/WaterWave/index.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.waterWave {
position: relative;
...
...
DashboardMonitor/src/style.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.mapChart {
height: 452px;
...
...
DashboardWorkplace/src/components/EditableLinkGroup/index.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.linkGroup {
padding: 20px 0 8px 24px;
...
...
DashboardWorkplace/src/components/Radar/index.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.radar {
.legend {
...
...
DashboardWorkplace/src/style.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.textOverflow() {
overflow: hidden;
...
...
EditorFlow/src/components/EditorDetailPanel/DetailForm.tsx
View file @
5ef5a854
import
React
,
{
Fragment
}
from
'
react
'
;
import
{
Card
,
Form
,
Input
,
Select
}
from
'
antd
'
;
import
{
withPropsAPI
}
from
'
gg-editor
'
;
import
{
FormComponentProps
}
from
'
antd/
lib
/form
'
;
import
{
FormComponentProps
}
from
'
antd/
es
/form
'
;
const
upperFirst
=
(
str
:
string
)
=>
{
return
str
.
toLowerCase
().
replace
(
/
(
|^
)[
a-z
]
/g
,
(
l
:
string
)
=>
l
.
toUpperCase
());
...
...
EditorKoni/src/components/EditorDetailPanel/DetailForm.tsx
View file @
5ef5a854
import
React
,
{
Fragment
}
from
'
react
'
;
import
{
Card
,
Form
,
Input
,
Select
}
from
'
antd
'
;
import
{
withPropsAPI
}
from
'
gg-editor
'
;
import
{
FormComponentProps
}
from
'
antd/
lib
/form
'
;
import
{
FormComponentProps
}
from
'
antd/
es
/form
'
;
const
upperFirst
=
(
str
:
string
)
=>
{
return
str
.
toLowerCase
().
replace
(
/
(
|^
)[
a-z
]
/g
,
(
l
:
string
)
=>
l
.
toUpperCase
());
...
...
EditorKoni/src/components/PageHeaderWrapper/index.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.children-content {
margin: 24px 24px 0;
...
...
EditorKoni/src/components/PageHeaderWrapper/index.tsx
View file @
5ef5a854
...
...
@@ -2,7 +2,7 @@ import React from 'react';
import
{
RouteContext
,
GridContent
}
from
'
@ant-design/pro-layout
'
;
import
{
PageHeader
,
Tabs
,
Typography
}
from
'
antd
'
;
import
styles
from
'
./index.less
'
;
import
{
TabsProps
}
from
'
antd/
lib
/tabs
'
;
import
{
TabsProps
}
from
'
antd/
es
/tabs
'
;
interface
IPageHeaderTabConfig
{
tabList
?:
Array
<
{
key
:
string
;
...
...
EditorMind/src/components/EditorDetailPanel/DetailForm.tsx
View file @
5ef5a854
import
React
,
{
Fragment
}
from
'
react
'
;
import
{
Card
,
Form
,
Input
,
Select
}
from
'
antd
'
;
import
{
withPropsAPI
}
from
'
gg-editor
'
;
import
{
FormComponentProps
}
from
'
antd/
lib
/form
'
;
import
{
FormComponentProps
}
from
'
antd/
es
/form
'
;
const
upperFirst
=
(
str
:
string
)
=>
{
return
str
.
toLowerCase
().
replace
(
/
(
|^
)[
a-z
]
/g
,
(
l
:
string
)
=>
l
.
toUpperCase
());
...
...
EditorMind/src/components/PageHeaderWrapper/index.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.children-content {
margin: 24px 24px 0;
...
...
EditorMind/src/components/PageHeaderWrapper/index.tsx
View file @
5ef5a854
...
...
@@ -2,7 +2,7 @@ import React from 'react';
import
{
RouteContext
,
GridContent
}
from
'
@ant-design/pro-layout
'
;
import
{
PageHeader
,
Tabs
,
Typography
}
from
'
antd
'
;
import
styles
from
'
./index.less
'
;
import
{
TabsProps
}
from
'
antd/
lib
/tabs
'
;
import
{
TabsProps
}
from
'
antd/
es
/tabs
'
;
interface
IPageHeaderTabConfig
{
tabList
?:
Array
<
{
key
:
string
;
...
...
Exception403/src/components/Exception/index.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.exception {
display: flex;
...
...
Exception404/src/components/Exception/index.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.exception {
display: flex;
...
...
Exception500/src/components/Exception/index.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.exception {
display: flex;
...
...
FormAdvancedForm/src/components/FooterToolbar/index.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.toolbar {
position: fixed;
...
...
FormAdvancedForm/src/index.tsx
View file @
5ef5a854
...
...
@@ -15,7 +15,7 @@ import {
import
{
connect
}
from
'
dva
'
;
import
TableForm
from
'
./components/TableForm
'
;
import
styles
from
'
./style.less
'
;
import
{
FormComponentProps
}
from
'
antd/
lib
/form
'
;
import
{
FormComponentProps
}
from
'
antd/
es
/form
'
;
import
{
Dispatch
}
from
'
redux
'
;
import
FooterToolbar
from
'
./components/FooterToolbar
'
;
import
{
PageHeaderWrapper
}
from
'
@ant-design/pro-layout
'
;
...
...
FormAdvancedForm/src/style.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.card {
margin-bottom: 24px;
...
...
FormBasicForm/src/components/PageHeaderWrapper/index.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.content {
margin: 24px 24px 0;
...
...
FormBasicForm/src/index.tsx
View file @
5ef5a854
...
...
@@ -15,7 +15,7 @@ import {
}
from
'
antd
'
;
import
{
PageHeaderWrapper
}
from
'
@ant-design/pro-layout
'
;
import
styles
from
'
./style.less
'
;
import
{
FormComponentProps
}
from
'
antd/
lib
/form
'
;
import
{
FormComponentProps
}
from
'
antd/
es
/form
'
;
import
{
Dispatch
}
from
'
redux
'
;
const
FormItem
=
Form
.
Item
;
...
...
FormBasicForm/src/style.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.card {
margin-bottom: 24px;
...
...
FormStepForm/src/components/PageHeaderWrapper/index.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.children-content {
margin: 24px 24px 0;
...
...
FormStepForm/src/components/Result/index.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.result {
width: 72%;
...
...
FormStepForm/src/components/Step1/index.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.stepForm {
max-width: 500px;
...
...
FormStepForm/src/components/Step1/index.tsx
View file @
5ef5a854
...
...
@@ -2,7 +2,7 @@ import React, { Fragment } from 'react';
import
{
connect
}
from
'
dva
'
;
import
{
Form
,
Input
,
Button
,
Select
,
Divider
}
from
'
antd
'
;
import
styles
from
'
./index.less
'
;
import
{
FormComponentProps
}
from
'
antd/
lib
/form
'
;
import
{
FormComponentProps
}
from
'
antd/
es
/form
'
;
import
{
IStateType
}
from
'
../../model
'
;
import
{
Dispatch
}
from
'
redux
'
;
...
...
FormStepForm/src/components/Step2/index.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.stepForm {
max-width: 500px;
...
...
FormStepForm/src/components/Step2/index.tsx
View file @
5ef5a854
...
...
@@ -2,7 +2,7 @@ import React from 'react';
import
{
connect
}
from
'
dva
'
;
import
{
Form
,
Input
,
Button
,
Alert
,
Divider
,
Statistic
}
from
'
antd
'
;
import
styles
from
'
./index.less
'
;
import
{
FormComponentProps
}
from
'
antd/
lib
/form
'
;
import
{
FormComponentProps
}
from
'
antd/
es
/form
'
;
import
{
IStateType
}
from
'
../../model
'
;
import
{
Dispatch
}
from
'
redux
'
;
...
...
FormStepForm/src/components/Step3/index.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.stepForm {
max-width: 500px;
...
...
FormStepForm/src/style.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.card {
margin-bottom: 24px;
...
...
ListBasicList/src/Result/index.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.result {
width: 72%;
...
...
ListBasicList/src/index.tsx
View file @
5ef5a854
...
...
@@ -20,7 +20,7 @@ import {
DatePicker
,
Select
,
}
from
'
antd
'
;
import
{
FormComponentProps
}
from
'
antd/
lib
/form
'
;
import
{
FormComponentProps
}
from
'
antd/
es
/form
'
;
import
{
IStateType
}
from
'
./model
'
;
import
{
Dispatch
}
from
'
redux
'
;
import
{
BasicListItemDataType
}
from
'
./data
'
;
...
...
ListBasicList/src/style.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
@import './utils/utils.less';
.standardList {
...
...
ListCardList/src/components/PageHeaderWrapper/index.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.children-content {
margin: 24px 24px 0;
...
...
ListCardList/src/style.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
@import './utils/utils.less';
.cardList {
...
...
ListSearch/src/components/PageHeaderWrapper/index.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.children-content {
margin: 24px 24px 0;
...
...
ListSearch/src/components/PageHeaderWrapper/index.tsx
View file @
5ef5a854
...
...
@@ -3,7 +3,7 @@ import { RouteContext } from '@ant-design/pro-layout';
import
{
PageHeader
,
Tabs
,
Typography
}
from
'
antd
'
;
import
styles
from
'
./index.less
'
;
import
{
GridContent
}
from
'
@ant-design/pro-layout
'
;
import
{
TabsProps
}
from
'
antd/
lib
/tabs
'
;
import
{
TabsProps
}
from
'
antd/
es
/tabs
'
;
interface
IPageHeaderTabConfig
{
tabList
?:
Array
<
{
key
:
string
;
...
...
ListSearchApplications/src/components/PageHeaderWrapper/index.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.children-content {
margin: 24px 24px 0;
...
...
ListSearchApplications/src/components/StandardFormRow/index.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.standardFormRow {
display: flex;
...
...
ListSearchApplications/src/components/TagSelect/index.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.tagSelect {
position: relative;
...
...
ListSearchApplications/src/index.tsx
View file @
5ef5a854
...
...
@@ -7,7 +7,7 @@ import StandardFormRow from './components/StandardFormRow';
import
styles
from
'
./style.less
'
;
import
{
IStateType
}
from
'
./model
'
;
import
{
Dispatch
}
from
'
redux
'
;
import
{
FormComponentProps
}
from
'
antd/
lib
/form
'
;
import
{
FormComponentProps
}
from
'
antd/
es
/form
'
;
import
{
ListItemDataType
}
from
'
./data
'
;
const
{
Option
}
=
Select
;
...
...
ListSearchApplications/src/style.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.filterCardList {
margin-bottom: -24px;
...
...
ListSearchArticles/src/components/ArticleListContent/index.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.listContent {
.description {
...
...
ListSearchArticles/src/components/StandardFormRow/index.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.standardFormRow {
display: flex;
...
...
ListSearchArticles/src/components/TagSelect/index.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.tagSelect {
position: relative;
...
...
ListSearchArticles/src/index.tsx
View file @
5ef5a854
...
...
@@ -7,7 +7,7 @@ import StandardFormRow from './components/StandardFormRow';
import
ArticleListContent
from
'
./components/ArticleListContent
'
;
import
styles
from
'
./style.less
'
;
import
{
Dispatch
}
from
'
redux
'
;
import
{
FormComponentProps
}
from
'
antd/
lib
/form
'
;
import
{
FormComponentProps
}
from
'
antd/
es
/form
'
;
import
{
ListItemDataType
}
from
'
./data
'
;
import
{
IStateType
}
from
'
./model
'
;
...
...
ListSearchArticles/src/style.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
a.listItemMetaTitle {
color: @heading-color;
...
...
ListSearchProjects/src/components/AvatarList/index.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.avatarList {
display: inline-block;
...
...
ListSearchProjects/src/components/StandardFormRow/index.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.standardFormRow {
display: flex;
...
...
ListSearchProjects/src/components/TagSelect/index.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.tagSelect {
position: relative;
...
...
ListSearchProjects/src/index.tsx
View file @
5ef5a854
...
...
@@ -8,7 +8,7 @@ import AvatarList from './components/AvatarList';
import
styles
from
'
./style.less
'
;
import
{
IStateType
}
from
'
./model
'
;
import
{
Dispatch
}
from
'
redux
'
;
import
{
FormComponentProps
}
from
'
antd/
lib
/form
'
;
import
{
FormComponentProps
}
from
'
antd/
es
/form
'
;
import
{
ListItemDataType
}
from
'
./data
'
;
const
{
Option
}
=
Select
;
const
FormItem
=
Form
.
Item
;
...
...
ListSearchProjects/src/style.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
@import './utils/utils.less';
.coverCardList {
...
...
ListTableList/src/components/CreateForm.tsx
View file @
5ef5a854
import
React
from
'
react
'
;
import
{
Input
,
Modal
,
Form
}
from
'
antd
'
;
import
{
FormComponentProps
}
from
'
antd/
lib
/form
'
;
import
{
FormComponentProps
}
from
'
antd/
es
/form
'
;
const
FormItem
=
Form
.
Item
;
...
...
ListTableList/src/components/StandardTable/index.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.standardTable {
:global {
...
...
ListTableList/src/components/StandardTable/index.tsx
View file @
5ef5a854
import
React
,
{
Component
,
Fragment
}
from
'
react
'
;
import
{
Table
,
Alert
}
from
'
antd
'
;
import
{
TableProps
,
ColumnProps
,
SorterResult
}
from
'
antd/
lib
/table
'
;
import
{
TableProps
,
ColumnProps
,
SorterResult
}
from
'
antd/
es
/table
'
;
import
styles
from
'
./index.less
'
;
import
{
TableListItem
}
from
'
../../data
'
;
...
...
ListTableList/src/components/UpdateForm.tsx
View file @
5ef5a854
import
React
,
{
Component
}
from
'
react
'
;
import
{
Input
,
Select
,
Button
,
DatePicker
,
Form
,
Modal
,
Steps
,
Radio
}
from
'
antd
'
;
import
{
TableListItem
}
from
'
../data
'
;
import
{
FormComponentProps
}
from
'
antd/
lib
/form
'
;
import
{
FormComponentProps
}
from
'
antd/
es
/form
'
;
export
type
IFormValsType
=
{
target
?:
string
;
...
...
ListTableList/src/index.tsx
View file @
5ef5a854
...
...
@@ -18,8 +18,8 @@ import {
Badge
,
Divider
,
}
from
'
antd
'
;
import
{
FormComponentProps
}
from
'
antd/
lib
/form
'
;
import
{
SorterResult
}
from
'
antd/
lib
/table
'
;
import
{
FormComponentProps
}
from
'
antd/
es
/form
'
;
import
{
SorterResult
}
from
'
antd/
es
/table
'
;
import
StandardTable
,
{
StandardTableColumnProps
}
from
'
./components/StandardTable
'
;
import
{
TableListItem
,
TableListParams
,
TableListPagination
}
from
'
./data
'
;
import
{
Dispatch
}
from
'
redux
'
;
...
...
ListTableList/src/style.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
@import './utils/utils.less';
.tableList {
...
...
ProfileAdvanced/src/DescriptionList/index.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.descriptionList {
// offset the padding-bottom of last row
...
...
ProfileAdvanced/src/index.tsx
View file @
5ef5a854
...
...
@@ -20,7 +20,7 @@ import {
Typography
,
Tabs
,
}
from
'
antd
'
;
import
{
TabsProps
}
from
'
antd/
lib
/tabs
'
;
import
{
TabsProps
}
from
'
antd/
es
/tabs
'
;
import
classNames
from
'
classnames
'
;
import
DescriptionList
from
'
./DescriptionList
'
;
import
styles
from
'
./style.less
'
;
...
...
ProfileAdvanced/src/style.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.headerList {
margin-bottom: 4px;
...
...
ProfileBasic/src/components/DescriptionList/index.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.descriptionList {
// offset the padding-bottom of last row
...
...
ProfileBasic/src/components/PageHeaderWrapper/index.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.content {
margin: 24px 24px 0;
...
...
ProfileBasic/src/style.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.title {
margin-bottom: 16px;
...
...
ResultFail/src/Result/index.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.result {
width: 72%;
...
...
ResultFail/src/index.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.error_icon {
color: @highlight-color;
...
...
ResultSuccess/src/Result/index.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.result {
width: 72%;
...
...
ResultSuccess/src/index.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.title {
position: relative;
...
...
UserLogin/src/components/Login/LoginItem.tsx
View file @
5ef5a854
...
...
@@ -4,7 +4,7 @@ import omit from 'omit.js';
import
styles
from
'
./index.less
'
;
import
ItemMap
from
'
./map
'
;
import
LoginContext
,
{
ILoginContext
}
from
'
./LoginContext
'
;
import
{
FormComponentProps
}
from
'
antd/
lib
/form
'
;
import
{
FormComponentProps
}
from
'
antd/
es
/form
'
;
type
Omit
<
T
,
K
extends
keyof
T
>
=
Pick
<
T
,
Exclude
<
keyof
T
,
K
>>
;
...
...
UserLogin/src/components/Login/LoginSubmit.tsx
View file @
5ef5a854
...
...
@@ -2,7 +2,7 @@ import React from 'react';
import
classNames
from
'
classnames
'
;
import
{
Button
,
Form
}
from
'
antd
'
;
import
styles
from
'
./index.less
'
;
import
{
ButtonProps
}
from
'
antd/
lib
/button
'
;
import
{
ButtonProps
}
from
'
antd/
es
/button
'
;
const
FormItem
=
Form
.
Item
;
interface
LoginSubmitProps
extends
ButtonProps
{
...
...
UserLogin/src/components/Login/LoginTab.tsx
View file @
5ef5a854
import
React
,
{
Component
}
from
'
react
'
;
import
{
Tabs
}
from
'
antd
'
;
import
{
TabPaneProps
}
from
'
antd/
lib
/tabs
'
;
import
{
TabPaneProps
}
from
'
antd/
es
/tabs
'
;
import
LoginContext
,
{
ILoginContext
}
from
'
./LoginContext
'
;
const
{
TabPane
}
=
Tabs
;
...
...
UserLogin/src/components/Login/index.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.login {
:global {
...
...
UserLogin/src/components/Login/index.tsx
View file @
5ef5a854
...
...
@@ -5,7 +5,7 @@ import LoginItem, { LoginItemType, LoginItemProps } from './LoginItem';
import
LoginTab
from
'
./LoginTab
'
;
import
styles
from
'
./index.less
'
;
import
LoginContext
,
{
ILoginContext
}
from
'
./LoginContext
'
;
import
{
FormComponentProps
}
from
'
antd/
lib
/form
'
;
import
{
FormComponentProps
}
from
'
antd/
es
/form
'
;
import
LoginSubmit
from
'
./LoginSubmit
'
;
export
interface
LoginProps
{
...
...
UserLogin/src/index.tsx
View file @
5ef5a854
...
...
@@ -7,8 +7,8 @@ import LoginComponents from './components/Login';
import
styles
from
'
./style.less
'
;
import
{
Dispatch
}
from
'
redux
'
;
import
{
IStateType
}
from
'
./model
'
;
import
{
FormComponentProps
}
from
'
antd/
lib
/form
'
;
import
{
CheckboxChangeEvent
}
from
'
antd/
lib
/checkbox
'
;
import
{
FormComponentProps
}
from
'
antd/
es
/form
'
;
import
{
CheckboxChangeEvent
}
from
'
antd/
es
/checkbox
'
;
const
{
Tab
,
UserName
,
Password
,
Mobile
,
Captcha
,
Submit
}
=
LoginComponents
;
...
...
UserLogin/src/style.less
View file @
5ef5a854
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.main {
width: 368px;
...
...
UserRegister/src/index.tsx
View file @
5ef5a854
This diff is collapsed.
Click to expand it.
UserRegister/src/style.less
View file @
5ef5a854
This diff is collapsed.
Click to expand it.
UserRegisterResult/src/Result/index.less
View file @
5ef5a854
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment