@jetlinks-web/components 3.0.1-rc → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/AutoComplete/AutoComplete.js +13 -9
- package/es/BadgeStatus/Badge.js +1 -2
- package/es/BadgeStatus/color.js +3 -3
- package/es/CardSelect/CardSelect.js +23 -13
- package/es/CardSelect/style/index.js +25 -1
- package/es/CheckButton/CheckButton.js +12 -4
- package/es/CheckButton/style/index.js +41 -1
- package/es/DragModal/DragModal.js +14 -8
- package/es/DragModal/style/index.js +64 -1
- package/es/EditTable/Body.js +10 -3
- package/es/EditTable/EditTable.js +13 -7
- package/es/EditTable/FormItem.js +18 -19
- package/es/EditTable/Header.js +16 -6
- package/es/EditTable/components/ContextMenu/Menu.js +11 -5
- package/es/EditTable/components/Search/search.js +1 -2
- package/es/EditTable/components/Search/sort.js +1 -3
- package/es/EditTable/group.js +23 -18
- package/es/EditTable/hooks/useValidate.js +1 -1
- package/es/EditTable/style/body.js +53 -0
- package/es/EditTable/style/form.js +24 -0
- package/es/EditTable/style/group.js +25 -0
- package/es/EditTable/style/header.js +58 -0
- package/es/EditTable/style/index.js +42 -1
- package/es/EditTable/style/menu.js +27 -0
- package/es/EditTable/style/table.js +46 -0
- package/es/EditTable/utils.js +30 -3
- package/es/Ellipsis/Ellipsis.js +10 -2
- package/es/Ellipsis/style/index.js +24 -1
- package/es/FullPage/FullPage.js +1 -2
- package/es/LocaleProvider/index.js +1 -2
- package/es/PermissionButton/index.js +6 -7
- package/es/ProLayout/Basic/BasicLayout.js +45 -41
- package/es/ProLayout/Basic/BasicLayoutStyle.js +39 -0
- package/es/ProLayout/Basic/Header.js +3 -7
- package/es/ProLayout/Basic/HeaderStyle.js +10 -0
- package/es/ProLayout/PageContainer/index.js +21 -17
- package/es/ProLayout/PageContainer/style.js +46 -0
- package/es/ProLayout/SiderMenu/BaseMenu.js +18 -42
- package/es/ProLayout/SiderMenu/SiderMenu.js +24 -36
- package/es/ProLayout/SiderMenu/style.js +166 -0
- package/es/ProLayout/TopHeader/index.js +13 -12
- package/es/ProLayout/TopHeader/style.js +126 -0
- package/es/ProLayout/style/index.js +7 -1
- package/es/ProLayout/util.js +5 -5
- package/es/ProTable/Alert.js +12 -4
- package/es/ProTable/Content.js +108 -28
- package/es/ProTable/Header.js +21 -11
- package/es/ProTable/Pagination.js +12 -4
- package/es/ProTable/ProTable.js +46 -34
- package/es/ProTable/hooks/index.js +2 -0
- package/es/ProTable/hooks/useTableInject.js +5 -0
- package/es/ProTable/hooks/useTableSelection.js +95 -0
- package/es/ProTable/setting.js +1 -1
- package/es/ProTable/style/index.js +109 -1
- package/es/RadioButton/RadioButton.js +10 -4
- package/es/RadioButton/style/index.js +23 -1
- package/es/Scrollbar/Scrollbar.js +10 -3
- package/es/Scrollbar/Thumb.js +36 -25
- package/es/Scrollbar/style/index.js +63 -1
- package/es/Search/Advanced/History.js +23 -16
- package/es/Search/Advanced/SaveHistory.js +1 -2
- package/es/Search/Advanced/index.js +212 -292
- package/es/Search/Item.js +175 -415
- package/es/Search/Search.js +78 -172
- package/es/Search/hooks/index.js +108 -1
- package/es/Search/hooks/useRouteQuery.js +57 -0
- package/es/Search/setting.js +132 -14
- package/es/Search/style/index.js +4 -2
- package/es/Search/style/item.js +28 -0
- package/es/Search/style/search.js +133 -0
- package/es/Search/util.js +116 -124
- package/es/Skeleton/components/DashBoardCard.js +19 -12
- package/es/Skeleton/components/DashBoardChart.js +48 -45
- package/es/Skeleton/components/Detail.js +27 -21
- package/es/Skeleton/components/Drawer.js +23 -14
- package/es/Skeleton/components/Item.js +9 -1
- package/es/Skeleton/components/List.js +0 -1
- package/es/Skeleton/components/ListCard.js +20 -13
- package/es/Skeleton/components/ListCardItem.js +12 -13
- package/es/Skeleton/components/ListTable.js +19 -10
- package/es/Skeleton/components/Page.js +0 -1
- package/es/Skeleton/components/Tree.js +21 -14
- package/es/Skeleton/skeleton.js +17 -8
- package/es/Skeleton/style/index.js +132 -1
- package/es/Title/style/index.js +29 -1
- package/es/Title/title.js +13 -5
- package/es/ValueItem/ValueItem.js +44 -39
- package/es/components.js +1 -5
- package/es/locale/en-US.js +3 -7
- package/es/locale/zh-CN.js +3 -7
- package/es/style/index.js +0 -3
- package/es/style/styleRegister.js +21 -0
- package/es/style/variable.js +4 -0
- package/es/style.js +0 -13
- package/lib/AutoComplete/AutoComplete.js +13 -9
- package/lib/BadgeStatus/Badge.js +1 -2
- package/lib/BadgeStatus/color.js +3 -3
- package/lib/CardSelect/CardSelect.js +23 -13
- package/lib/CardSelect/style/index.js +30 -1
- package/lib/CheckButton/CheckButton.js +12 -4
- package/lib/CheckButton/style/index.js +46 -1
- package/lib/DragModal/DragModal.js +14 -8
- package/lib/DragModal/style/index.js +69 -1
- package/lib/EditTable/Body.js +10 -3
- package/lib/EditTable/EditTable.js +13 -7
- package/lib/EditTable/FormItem.js +18 -19
- package/lib/EditTable/Header.js +16 -6
- package/lib/EditTable/components/ContextMenu/Menu.js +11 -5
- package/lib/EditTable/components/Search/search.js +1 -2
- package/lib/EditTable/components/Search/sort.js +1 -3
- package/lib/EditTable/group.js +23 -18
- package/lib/EditTable/hooks/useValidate.js +1 -1
- package/lib/EditTable/style/body.js +60 -0
- package/lib/EditTable/style/form.js +31 -0
- package/lib/EditTable/style/group.js +32 -0
- package/lib/EditTable/style/header.js +65 -0
- package/lib/EditTable/style/index.js +47 -1
- package/lib/EditTable/style/menu.js +33 -0
- package/lib/EditTable/style/table.js +52 -0
- package/lib/EditTable/utils.js +31 -3
- package/lib/Ellipsis/Ellipsis.js +10 -2
- package/lib/Ellipsis/style/index.js +29 -1
- package/lib/FullPage/FullPage.js +1 -2
- package/lib/Icon/icon.js +1 -2
- package/lib/LocaleProvider/index.js +1 -2
- package/lib/PermissionButton/index.js +6 -7
- package/lib/ProLayout/Basic/BasicLayout.js +45 -42
- package/lib/ProLayout/Basic/BasicLayoutStyle.js +46 -0
- package/lib/ProLayout/Basic/Header.js +2 -6
- package/lib/ProLayout/Basic/HeaderStyle.js +17 -0
- package/lib/ProLayout/PageContainer/index.js +19 -15
- package/lib/ProLayout/PageContainer/style.js +53 -0
- package/lib/ProLayout/SiderMenu/BaseMenu.js +19 -42
- package/lib/ProLayout/SiderMenu/SiderMenu.js +24 -37
- package/lib/ProLayout/SiderMenu/style.js +173 -0
- package/lib/ProLayout/TopHeader/index.js +14 -12
- package/lib/ProLayout/TopHeader/style.js +133 -0
- package/lib/ProLayout/style/index.js +12 -1
- package/lib/ProLayout/util.js +5 -5
- package/lib/ProTable/Alert.js +12 -4
- package/lib/ProTable/Content.js +108 -28
- package/lib/ProTable/Header.js +21 -11
- package/lib/ProTable/Pagination.js +12 -4
- package/lib/ProTable/ProTable.js +46 -34
- package/lib/ProTable/hooks/index.js +27 -0
- package/lib/ProTable/hooks/useTableInject.js +11 -0
- package/lib/ProTable/hooks/useTableSelection.js +102 -0
- package/lib/ProTable/setting.js +1 -1
- package/lib/ProTable/style/index.js +114 -1
- package/lib/RadioButton/RadioButton.js +10 -4
- package/lib/RadioButton/style/index.js +28 -1
- package/lib/Scrollbar/Scrollbar.js +10 -3
- package/lib/Scrollbar/Thumb.js +36 -25
- package/lib/Scrollbar/style/index.js +68 -1
- package/lib/Search/Advanced/History.js +23 -16
- package/lib/Search/Advanced/SaveHistory.js +1 -2
- package/lib/Search/Advanced/index.js +212 -292
- package/lib/Search/Item.js +175 -415
- package/lib/Search/Search.js +78 -172
- package/lib/Search/hooks/index.js +130 -1
- package/lib/Search/hooks/useRouteQuery.js +64 -0
- package/lib/Search/setting.js +133 -15
- package/lib/Search/style/index.js +9 -2
- package/lib/Search/style/item.js +35 -0
- package/lib/Search/style/search.js +140 -0
- package/lib/Search/util.js +116 -124
- package/lib/Skeleton/components/DashBoardCard.js +19 -12
- package/lib/Skeleton/components/DashBoardChart.js +48 -45
- package/lib/Skeleton/components/Detail.js +27 -21
- package/lib/Skeleton/components/Drawer.js +23 -14
- package/lib/Skeleton/components/Item.js +9 -1
- package/lib/Skeleton/components/List.js +0 -1
- package/lib/Skeleton/components/ListCard.js +20 -13
- package/lib/Skeleton/components/ListCardItem.js +12 -13
- package/lib/Skeleton/components/ListTable.js +19 -10
- package/lib/Skeleton/components/Page.js +0 -1
- package/lib/Skeleton/components/Tree.js +21 -14
- package/lib/Skeleton/skeleton.js +17 -8
- package/lib/Skeleton/style/index.js +137 -1
- package/lib/Title/style/index.js +34 -1
- package/lib/Title/title.js +13 -5
- package/lib/ValueItem/ValueItem.js +44 -39
- package/lib/components.js +1 -30
- package/lib/index.js +1 -2
- package/lib/locale/en-US.js +3 -7
- package/lib/locale/zh-CN.js +3 -7
- package/lib/style/components.less +0 -1
- package/lib/style/index.js +1 -4
- package/lib/style/styleRegister.js +28 -0
- package/lib/style/variable.js +10 -0
- package/lib/style.js +1 -15
- package/package.json +170 -173
- package/es/AMap/Map.js +0 -133
- package/es/AMap/index.js +0 -5
- package/es/AMap/util.js +0 -56
- package/es/CardSelect/style/index.css +0 -24
- package/es/CardSelect/style/index.less +0 -26
- package/es/CheckButton/style/index.css +0 -37
- package/es/CheckButton/style/index.less +0 -40
- package/es/DragModal/style/index.css +0 -82
- package/es/DragModal/style/index.less +0 -97
- package/es/Echarts/Echarts.js +0 -48
- package/es/Echarts/index.js +0 -5
- package/es/EditTable/style/body.less +0 -66
- package/es/EditTable/style/form.less +0 -33
- package/es/EditTable/style/group.less +0 -32
- package/es/EditTable/style/header.less +0 -77
- package/es/EditTable/style/index.css +0 -267
- package/es/EditTable/style/index.less +0 -41
- package/es/EditTable/style/menu.less +0 -25
- package/es/EditTable/style/table.less +0 -47
- package/es/Ellipsis/style/index.css +0 -17
- package/es/Ellipsis/style/index.less +0 -20
- package/es/FlameGraph/FlameGraph.js +0 -136
- package/es/FlameGraph/index.js +0 -5
- package/es/FlameGraph/style/index.css +0 -43
- package/es/FlameGraph/style/index.js +0 -1
- package/es/FlameGraph/style/index.less +0 -52
- package/es/ProLayout/Basic/BasicLayout.less +0 -66
- package/es/ProLayout/Basic/Header.less +0 -8
- package/es/ProLayout/PageContainer/index.less +0 -103
- package/es/ProLayout/SiderMenu/index.less +0 -231
- package/es/ProLayout/TopHeader/index.less +0 -174
- package/es/ProLayout/style/default.less +0 -4
- package/es/ProLayout/style/style.less +0 -7
- package/es/ProTable/style/ProTable.less +0 -139
- package/es/RadioButton/style/index.css +0 -20
- package/es/RadioButton/style/index.less +0 -19
- package/es/Scrollbar/style/index.css +0 -65
- package/es/Scrollbar/style/index.less +0 -83
- package/es/Search/style/Item.less +0 -33
- package/es/Search/style/Search.less +0 -179
- package/es/Skeleton/style/Skeleton.less +0 -166
- package/es/Title/style/index.css +0 -27
- package/es/Title/style/index.less +0 -27
- package/es/style/index.css +0 -5375
- package/es/style/index.less +0 -14
- package/es/style/variable.css +0 -4
- package/es/style/variable.less +0 -4
- package/lib/AMap/Map.js +0 -133
- package/lib/AMap/index.js +0 -12
- package/lib/AMap/util.js +0 -62
- package/lib/CardSelect/style/index.css +0 -24
- package/lib/CardSelect/style/index.less +0 -26
- package/lib/CheckButton/style/index.css +0 -37
- package/lib/CheckButton/style/index.less +0 -40
- package/lib/DragModal/style/index.css +0 -82
- package/lib/DragModal/style/index.less +0 -97
- package/lib/Echarts/Echarts.js +0 -48
- package/lib/Echarts/index.js +0 -12
- package/lib/EditTable/style/body.less +0 -66
- package/lib/EditTable/style/form.less +0 -33
- package/lib/EditTable/style/group.less +0 -32
- package/lib/EditTable/style/header.less +0 -77
- package/lib/EditTable/style/index.css +0 -267
- package/lib/EditTable/style/index.less +0 -41
- package/lib/EditTable/style/menu.less +0 -25
- package/lib/EditTable/style/table.less +0 -47
- package/lib/Ellipsis/style/index.css +0 -17
- package/lib/Ellipsis/style/index.less +0 -20
- package/lib/FlameGraph/FlameGraph.js +0 -136
- package/lib/FlameGraph/index.js +0 -12
- package/lib/FlameGraph/style/index.css +0 -43
- package/lib/FlameGraph/style/index.js +0 -3
- package/lib/FlameGraph/style/index.less +0 -52
- package/lib/ProLayout/Basic/BasicLayout.less +0 -66
- package/lib/ProLayout/Basic/Header.less +0 -8
- package/lib/ProLayout/PageContainer/index.less +0 -103
- package/lib/ProLayout/SiderMenu/index.less +0 -231
- package/lib/ProLayout/TopHeader/index.less +0 -174
- package/lib/ProLayout/style/default.less +0 -4
- package/lib/ProLayout/style/style.less +0 -7
- package/lib/ProTable/style/ProTable.less +0 -139
- package/lib/RadioButton/style/index.css +0 -20
- package/lib/RadioButton/style/index.less +0 -19
- package/lib/Scrollbar/style/index.css +0 -65
- package/lib/Scrollbar/style/index.less +0 -83
- package/lib/Search/style/Item.less +0 -33
- package/lib/Search/style/Search.less +0 -179
- package/lib/Skeleton/style/Skeleton.less +0 -166
- package/lib/Title/style/index.css +0 -27
- package/lib/Title/style/index.less +0 -27
- package/lib/style/index.css +0 -5375
- package/lib/style/index.less +0 -14
- package/lib/style/variable.css +0 -4
- package/lib/style/variable.less +0 -4
package/lib/FlameGraph/index.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.default = void 0;
|
|
8
|
-
var _FlameGraph = _interopRequireDefault(require("./FlameGraph.js"));
|
|
9
|
-
_FlameGraph.default.install = function (app) {
|
|
10
|
-
app.component(_FlameGraph.default.name, _FlameGraph.default);
|
|
11
|
-
};
|
|
12
|
-
var _default = exports.default = _FlameGraph.default;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
.j-flame-graph {
|
|
2
|
-
position: relative;
|
|
3
|
-
width: 100%;
|
|
4
|
-
height: 100%;
|
|
5
|
-
overflow: auto;
|
|
6
|
-
/* 修改矩形块样式 */
|
|
7
|
-
}
|
|
8
|
-
.j-flame-graph .actions {
|
|
9
|
-
position: sticky;
|
|
10
|
-
top: 0;
|
|
11
|
-
left: 0;
|
|
12
|
-
padding: 10px;
|
|
13
|
-
background: #fff;
|
|
14
|
-
}
|
|
15
|
-
.j-flame-graph .d3-flame-graph {
|
|
16
|
-
margin-top: 40px;
|
|
17
|
-
}
|
|
18
|
-
.j-flame-graph .d3-flame-graph rect {
|
|
19
|
-
stroke: #fff;
|
|
20
|
-
stroke-width: 1px;
|
|
21
|
-
}
|
|
22
|
-
.j-flame-graph .d3-flame-graph text {
|
|
23
|
-
font-size: 18px;
|
|
24
|
-
fill: #333;
|
|
25
|
-
}
|
|
26
|
-
.j-flame-graph .frame {
|
|
27
|
-
cursor: pointer;
|
|
28
|
-
}
|
|
29
|
-
.j-flame-graph .frame:hover {
|
|
30
|
-
fill: #E600E6;
|
|
31
|
-
}
|
|
32
|
-
.j-flame-graph .frame:hover rect {
|
|
33
|
-
fill: #ffffe0;
|
|
34
|
-
}
|
|
35
|
-
.j-flame-graph .frame div {
|
|
36
|
-
color: #000;
|
|
37
|
-
}
|
|
38
|
-
.j-flame-graph .j-flame-graph-search {
|
|
39
|
-
position: sticky;
|
|
40
|
-
top: 0;
|
|
41
|
-
left: 0;
|
|
42
|
-
width: 200px;
|
|
43
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
.j-flame-graph {
|
|
2
|
-
position: relative;
|
|
3
|
-
width: 100%;
|
|
4
|
-
height: 100%;
|
|
5
|
-
overflow: auto;
|
|
6
|
-
.actions {
|
|
7
|
-
position: sticky;
|
|
8
|
-
top: 0;
|
|
9
|
-
left: 0;
|
|
10
|
-
padding: 10px;
|
|
11
|
-
background: #fff;
|
|
12
|
-
}
|
|
13
|
-
.d3-flame-graph {
|
|
14
|
-
margin-top: 40px;
|
|
15
|
-
}
|
|
16
|
-
/* 修改矩形块样式 */
|
|
17
|
-
.d3-flame-graph {
|
|
18
|
-
rect {
|
|
19
|
-
stroke: #fff;
|
|
20
|
-
stroke-width: 1px;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
text {
|
|
24
|
-
font-size: 18px;
|
|
25
|
-
fill: #333;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.frame {
|
|
30
|
-
cursor: pointer;
|
|
31
|
-
}
|
|
32
|
-
.frame:hover {
|
|
33
|
-
fill: #E600E6;
|
|
34
|
-
}
|
|
35
|
-
.frame:hover rect {
|
|
36
|
-
fill: #ffffe0;
|
|
37
|
-
}
|
|
38
|
-
.frame div {
|
|
39
|
-
color: #000
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.j-flame-graph-search {
|
|
43
|
-
position: sticky;
|
|
44
|
-
top: 0;
|
|
45
|
-
left: 0;
|
|
46
|
-
width: 200px;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
@import '../style/default.less';
|
|
2
|
-
|
|
3
|
-
.@{basicLayout-prefix-cls} {
|
|
4
|
-
// BFC
|
|
5
|
-
display: flex;
|
|
6
|
-
flex-direction: column;
|
|
7
|
-
width: 100%;
|
|
8
|
-
min-height: 100%;
|
|
9
|
-
|
|
10
|
-
.@{ant-prefix}-layout-header {
|
|
11
|
-
&.@{ant-prefix}-pro-fixed-header {
|
|
12
|
-
position: fixed;
|
|
13
|
-
top: 0;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
&-content {
|
|
18
|
-
position: relative;
|
|
19
|
-
margin: 24px;
|
|
20
|
-
|
|
21
|
-
.@{ant-prefix}-pro-page-container {
|
|
22
|
-
margin: -24px -24px 0;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
&-disable-margin {
|
|
26
|
-
margin: 0;
|
|
27
|
-
|
|
28
|
-
.@{ant-prefix}-pro-page-container {
|
|
29
|
-
margin: 0;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
> .@{ant-prefix}-layout {
|
|
34
|
-
max-height: 100%;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
// children should support fixed
|
|
39
|
-
.@{basicLayout-prefix-cls}-is-children.@{basicLayout-prefix-cls}-fix-siderbar {
|
|
40
|
-
height: 100vh;
|
|
41
|
-
overflow: hidden;
|
|
42
|
-
transform: rotate(0);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.@{basicLayout-prefix-cls}-has-header {
|
|
46
|
-
// tech-page-container
|
|
47
|
-
.tech-page-container {
|
|
48
|
-
height: calc(100vh - @pro-layout-header-height);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.@{basicLayout-prefix-cls}-is-children.@{basicLayout-prefix-cls}-has-header {
|
|
52
|
-
.tech-page-container {
|
|
53
|
-
height: calc(100vh - @pro-layout-header-height -
|
|
54
|
-
@pro-layout-header-height);
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.@{basicLayout-prefix-cls}-is-children {
|
|
58
|
-
min-height: calc(100vh - @pro-layout-header-height);
|
|
59
|
-
|
|
60
|
-
&.@{basicLayout-prefix-cls}-fix-siderbar {
|
|
61
|
-
height: calc(100vh - @pro-layout-header-height);
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
}
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
@import '../style/default.less';
|
|
2
|
-
|
|
3
|
-
@pro-layout-page-container: ~'@{ant-prefix}-pro-page-container';
|
|
4
|
-
|
|
5
|
-
.@{pro-layout-page-container}-children-content {
|
|
6
|
-
margin: 24px 24px 0;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.@{pro-layout-page-container} {
|
|
10
|
-
&-warp {
|
|
11
|
-
background-color: @component-background;
|
|
12
|
-
.@{ant-prefix}-tabs-bar {
|
|
13
|
-
margin: 0;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
&-ghost {
|
|
17
|
-
.@{pro-layout-page-container}-warp {
|
|
18
|
-
background-color: @component-background;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.@{pro-layout-page-container}-main {
|
|
24
|
-
.@{pro-layout-page-container}-detail {
|
|
25
|
-
display: flex;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.@{pro-layout-page-container}-row {
|
|
29
|
-
display: flex;
|
|
30
|
-
width: 100%;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.@{pro-layout-page-container}-title-content {
|
|
34
|
-
margin-bottom: 16px;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.@{pro-layout-page-container}-title,
|
|
38
|
-
.@{pro-layout-page-container}-content {
|
|
39
|
-
flex: auto;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.@{pro-layout-page-container}-extraContent,
|
|
43
|
-
.@{pro-layout-page-container}-main {
|
|
44
|
-
flex: 0 1 auto;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.@{pro-layout-page-container}-main {
|
|
48
|
-
width: 100%;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.@{pro-layout-page-container}-title {
|
|
52
|
-
margin-bottom: 16px;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.@{pro-layout-page-container}-logo {
|
|
56
|
-
margin-bottom: 16px;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.@{pro-layout-page-container}-extraContent {
|
|
60
|
-
min-width: 242px;
|
|
61
|
-
margin-left: 88px;
|
|
62
|
-
text-align: right;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
@media screen and (max-width: @screen-xl) {
|
|
67
|
-
.@{pro-layout-page-container}-main {
|
|
68
|
-
.@{pro-layout-page-container}-extraContent {
|
|
69
|
-
margin-left: 44px;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
@media screen and (max-width: @screen-lg) {
|
|
75
|
-
.@{pro-layout-page-container}-main {
|
|
76
|
-
.@{pro-layout-page-container}-extraContent {
|
|
77
|
-
margin-left: 20px;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
@media screen and (max-width: @screen-md) {
|
|
83
|
-
.@{pro-layout-page-container}-main {
|
|
84
|
-
.@{pro-layout-page-container}-row {
|
|
85
|
-
display: block;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.@{pro-layout-page-container}-action,
|
|
89
|
-
.@{pro-layout-page-container}-extraContent {
|
|
90
|
-
margin-left: 0;
|
|
91
|
-
text-align: left;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
@media screen and (max-width: @screen-sm) {
|
|
97
|
-
.@{pro-layout-page-container}-detail {
|
|
98
|
-
display: block;
|
|
99
|
-
}
|
|
100
|
-
.@{pro-layout-page-container}-extraContent {
|
|
101
|
-
margin-left: 0;
|
|
102
|
-
}
|
|
103
|
-
}
|
|
@@ -1,231 +0,0 @@
|
|
|
1
|
-
@import '../style/default.less';
|
|
2
|
-
|
|
3
|
-
@pro-layout-sider-menu-prefix-cls: ~'@{ant-prefix}-pro-sider';
|
|
4
|
-
|
|
5
|
-
@nav-header-height: @pro-layout-header-height;
|
|
6
|
-
|
|
7
|
-
.@{pro-layout-sider-menu-prefix-cls} {
|
|
8
|
-
position: relative;
|
|
9
|
-
background-color: @layout-sider-background;
|
|
10
|
-
border-right: 0;
|
|
11
|
-
// FIXME: 临时修正(可能不会做兼容)
|
|
12
|
-
z-index: 20;
|
|
13
|
-
|
|
14
|
-
// 这里关掉了动画,不然使用无法兼容
|
|
15
|
-
.@{ant-prefix}-menu {
|
|
16
|
-
background: transparent;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
&.@{ant-prefix}-layout-sider-light {
|
|
20
|
-
.@{ant-prefix}-menu-item a {
|
|
21
|
-
color: @heading-color;
|
|
22
|
-
}
|
|
23
|
-
.@{ant-prefix}-menu-item-selected a,
|
|
24
|
-
.@{ant-prefix}-menu-item a:hover {
|
|
25
|
-
color: @primary-color;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
&-logo {
|
|
30
|
-
position: relative;
|
|
31
|
-
display: flex;
|
|
32
|
-
align-items: center;
|
|
33
|
-
padding: 16px 16px;
|
|
34
|
-
cursor: pointer;
|
|
35
|
-
transition: padding 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
|
|
36
|
-
|
|
37
|
-
> a {
|
|
38
|
-
display: flex;
|
|
39
|
-
align-items: center;
|
|
40
|
-
justify-content: center;
|
|
41
|
-
min-height: 32px;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
img {
|
|
45
|
-
display: inline-block;
|
|
46
|
-
height: 32px;
|
|
47
|
-
vertical-align: middle;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
h1 {
|
|
51
|
-
display: inline-block;
|
|
52
|
-
height: 32px;
|
|
53
|
-
margin: 0 0 0 12px;
|
|
54
|
-
color: white;
|
|
55
|
-
font-weight: 600;
|
|
56
|
-
font-size: 18px;
|
|
57
|
-
line-height: 32px;
|
|
58
|
-
vertical-align: middle;
|
|
59
|
-
animation: pro-layout-title-hide 0.3s;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
&-logo-card {
|
|
64
|
-
padding: 16px 0;
|
|
65
|
-
justify-content: center;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
&-extra {
|
|
69
|
-
margin-bottom: 16px;
|
|
70
|
-
padding: 0 16px;
|
|
71
|
-
&-no-logo {
|
|
72
|
-
margin-top: 16px;
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
&-menu {
|
|
77
|
-
position: relative;
|
|
78
|
-
z-index: 10;
|
|
79
|
-
min-height: 100%;
|
|
80
|
-
box-shadow: 2px 0 6px rgba(0, 21, 41, 0.35);
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.@{ant-prefix}-layout-sider-children {
|
|
84
|
-
display: flex;
|
|
85
|
-
flex-direction: column;
|
|
86
|
-
height: 100%;
|
|
87
|
-
|
|
88
|
-
::-webkit-scrollbar {
|
|
89
|
-
width: 6px;
|
|
90
|
-
height: 6px;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
::-webkit-scrollbar-track {
|
|
94
|
-
background: rgba(255, 255, 255, 0.15);
|
|
95
|
-
border-radius: 3px;
|
|
96
|
-
box-shadow: inset 0 0 5px rgba(37, 37, 37, 0.05);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
/* 滚动条滑块 */
|
|
100
|
-
::-webkit-scrollbar-thumb {
|
|
101
|
-
background: rgba(255, 255, 255, 0.2);
|
|
102
|
-
border-radius: 3px;
|
|
103
|
-
box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.05);
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
&.@{ant-prefix}-layout-sider-collapsed {
|
|
108
|
-
.@{ant-prefix}-menu-inline-collapsed {
|
|
109
|
-
width: 48px;
|
|
110
|
-
}
|
|
111
|
-
.@{pro-layout-sider-menu-prefix-cls} {
|
|
112
|
-
&-logo {
|
|
113
|
-
padding: 16px 8px;
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
&.@{ant-prefix}-layout-sider.@{pro-layout-sider-menu-prefix-cls}-fixed {
|
|
119
|
-
position: fixed;
|
|
120
|
-
top: 0;
|
|
121
|
-
left: 0;
|
|
122
|
-
z-index: 99; // react pro-components: z-index: 100;
|
|
123
|
-
height: 100%;
|
|
124
|
-
overflow: auto;
|
|
125
|
-
overflow-x: hidden;
|
|
126
|
-
box-shadow: 2px 0 8px 0 rgba(29, 35, 41, 0.05);
|
|
127
|
-
> .@{ant-prefix}-menu-root {
|
|
128
|
-
:not(.@{pro-layout-sider-menu-prefix-cls}-link-menu) {
|
|
129
|
-
height: ~'calc(100vh - @{nav-header-height})';
|
|
130
|
-
overflow-y: auto;
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
&-light {
|
|
136
|
-
background-color: @component-background;
|
|
137
|
-
box-shadow: 2px 0 8px 0 rgba(29, 35, 41, 0.05);
|
|
138
|
-
|
|
139
|
-
.@{ant-prefix}-layout-sider-children {
|
|
140
|
-
::-webkit-scrollbar-track {
|
|
141
|
-
background: rgba(0, 0, 0, 0.06);
|
|
142
|
-
border-radius: 3px;
|
|
143
|
-
box-shadow: inset 0 0 5px rgba(0, 21, 41, 0.05);
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
/* 滚动条滑块 */
|
|
147
|
-
::-webkit-scrollbar-thumb {
|
|
148
|
-
background: rgba(0, 0, 0, 0.12);
|
|
149
|
-
border-radius: 3px;
|
|
150
|
-
box-shadow: inset 0 0 5px rgba(0, 21, 41, 0.05);
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.@{pro-layout-sider-menu-prefix-cls}-logo {
|
|
155
|
-
h1 {
|
|
156
|
-
color: @primary-color;
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
.@{ant-prefix}-menu-light {
|
|
160
|
-
border-right-color: transparent;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
.@{pro-layout-sider-menu-prefix-cls}-collapsed-button {
|
|
164
|
-
border-top: @border-width-base @border-style-base
|
|
165
|
-
@border-color-split;
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
&-icon {
|
|
170
|
-
width: 14px;
|
|
171
|
-
vertical-align: baseline;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
&-links {
|
|
175
|
-
width: 100%;
|
|
176
|
-
ul.@{ant-prefix}-menu-root {
|
|
177
|
-
height: auto;
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
&-collapsed-button {
|
|
182
|
-
border-top: @border-width-base @border-style-base rgba(0, 0, 0, 0.25);
|
|
183
|
-
.anticon {
|
|
184
|
-
font-size: 16px;
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
.top-nav-menu li.@{ant-prefix}-menu-item {
|
|
189
|
-
height: 100%;
|
|
190
|
-
line-height: 1;
|
|
191
|
-
}
|
|
192
|
-
.drawer .drawer-content {
|
|
193
|
-
background: @layout-sider-background;
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
// 修正菜单 collapsed 时,icon 与 title 的间距
|
|
198
|
-
.@{ant-prefix}-pro-menu-item {
|
|
199
|
-
.anticon + .@{ant-prefix}-pro-menu-item-title {
|
|
200
|
-
margin-left: 10px;
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
.sider-app-menus {
|
|
205
|
-
width: 100px;
|
|
206
|
-
background-color: #fff;
|
|
207
|
-
cursor: pointer;
|
|
208
|
-
padding: 6px;
|
|
209
|
-
transition: all .3s;
|
|
210
|
-
border-radius: 4px;
|
|
211
|
-
color: #333;
|
|
212
|
-
|
|
213
|
-
&:hover {
|
|
214
|
-
background-color: #efefef;
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
@keyframes pro-layout-title-hide {
|
|
219
|
-
0% {
|
|
220
|
-
display: none;
|
|
221
|
-
opacity: 0;
|
|
222
|
-
}
|
|
223
|
-
80% {
|
|
224
|
-
display: none;
|
|
225
|
-
opacity: 0;
|
|
226
|
-
}
|
|
227
|
-
100% {
|
|
228
|
-
display: unset;
|
|
229
|
-
opacity: 1;
|
|
230
|
-
}
|
|
231
|
-
}
|
|
@@ -1,174 +0,0 @@
|
|
|
1
|
-
@import '../style/default.less';
|
|
2
|
-
|
|
3
|
-
@top-nav-header-prefix-cls: ~'@{ant-prefix}-pro-top-nav-header';
|
|
4
|
-
@pro-layout-global-header-prefix-cls: ~'@{ant-prefix}-pro-global-header';
|
|
5
|
-
|
|
6
|
-
@pro-layout-header-bg: @component-background;
|
|
7
|
-
@pro-layout-header-hover-bg: @component-background;
|
|
8
|
-
@pro-layout-header-box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
|
|
9
|
-
|
|
10
|
-
.@{pro-layout-global-header-prefix-cls} {
|
|
11
|
-
position: relative;
|
|
12
|
-
display: flex;
|
|
13
|
-
align-items: center;
|
|
14
|
-
height: 100%;
|
|
15
|
-
padding: 0 16px;
|
|
16
|
-
background: @pro-layout-header-bg;
|
|
17
|
-
box-shadow: @pro-layout-header-box-shadow;
|
|
18
|
-
> * {
|
|
19
|
-
height: 100%;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
&-collapsed-button {
|
|
23
|
-
display: flex;
|
|
24
|
-
align-items: center;
|
|
25
|
-
margin-left: 16px;
|
|
26
|
-
font-size: 20px;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
&-layout {
|
|
30
|
-
&-mix {
|
|
31
|
-
background-color: @layout-sider-background;
|
|
32
|
-
.@{pro-layout-global-header-prefix-cls}-logo {
|
|
33
|
-
h1 {
|
|
34
|
-
color: @btn-primary-color;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
.anticon {
|
|
38
|
-
color: @btn-primary-color;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
&-logo {
|
|
44
|
-
position: relative;
|
|
45
|
-
overflow: hidden;
|
|
46
|
-
a {
|
|
47
|
-
display: flex;
|
|
48
|
-
align-items: center;
|
|
49
|
-
height: 100%;
|
|
50
|
-
img {
|
|
51
|
-
height: 28px;
|
|
52
|
-
}
|
|
53
|
-
h1 {
|
|
54
|
-
height: 32px;
|
|
55
|
-
margin: 0 0 0 8px;
|
|
56
|
-
margin: 0 0 0 12px;
|
|
57
|
-
color: @primary-color;
|
|
58
|
-
font-weight: 600;
|
|
59
|
-
font-size: 18px;
|
|
60
|
-
line-height: 32px;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
&-menu {
|
|
66
|
-
.anticon {
|
|
67
|
-
margin-right: 8px;
|
|
68
|
-
}
|
|
69
|
-
.@{ant-prefix}-dropdown-menu-item {
|
|
70
|
-
min-width: 160px;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.dark {
|
|
75
|
-
height: @pro-layout-header-height;
|
|
76
|
-
.action {
|
|
77
|
-
color: rgba(255, 255, 255, 0.85);
|
|
78
|
-
> i {
|
|
79
|
-
color: rgba(255, 255, 255, 0.85);
|
|
80
|
-
}
|
|
81
|
-
&:hover,
|
|
82
|
-
&.opened {
|
|
83
|
-
background: @primary-color;
|
|
84
|
-
}
|
|
85
|
-
.@{ant-prefix}-badge {
|
|
86
|
-
color: rgba(255, 255, 255, 0.85);
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.@{top-nav-header-prefix-cls} {
|
|
93
|
-
position: relative;
|
|
94
|
-
width: 100%;
|
|
95
|
-
height: 100%;
|
|
96
|
-
box-shadow: 0 1px 4px 0 rgba(0, 21, 41, 0.12);
|
|
97
|
-
transition: background 0.3s, width 0.2s;
|
|
98
|
-
|
|
99
|
-
.@{ant-prefix}-menu {
|
|
100
|
-
background: transparent;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
&.light {
|
|
104
|
-
background-color: @component-background;
|
|
105
|
-
.@{top-nav-header-prefix-cls}-logo {
|
|
106
|
-
h1 {
|
|
107
|
-
color: @heading-color;
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
.anticon {
|
|
111
|
-
color: inherit;
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
&-main {
|
|
116
|
-
display: flex;
|
|
117
|
-
height: 100%;
|
|
118
|
-
padding-left: 16px;
|
|
119
|
-
&-left {
|
|
120
|
-
display: flex;
|
|
121
|
-
min-width: 192px;
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
.anticon {
|
|
126
|
-
color: @btn-primary-color;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
&-logo {
|
|
130
|
-
position: relative;
|
|
131
|
-
min-width: 165px;
|
|
132
|
-
height: 100%;
|
|
133
|
-
overflow: hidden;
|
|
134
|
-
|
|
135
|
-
img {
|
|
136
|
-
display: inline-block;
|
|
137
|
-
height: 32px;
|
|
138
|
-
vertical-align: middle;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
h1 {
|
|
142
|
-
display: inline-block;
|
|
143
|
-
margin: 0 0 0 12px;
|
|
144
|
-
color: @btn-primary-color;
|
|
145
|
-
font-weight: 600;
|
|
146
|
-
font-size: 16px;
|
|
147
|
-
vertical-align: top;
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
&-menu {
|
|
152
|
-
min-width: 0;
|
|
153
|
-
|
|
154
|
-
.@{ant-prefix}-menu.@{ant-prefix}-menu-horizontal {
|
|
155
|
-
height: 100%;
|
|
156
|
-
border: none;
|
|
157
|
-
|
|
158
|
-
.@{ant-prefix}-menu-item {
|
|
159
|
-
height: 100%;
|
|
160
|
-
|
|
161
|
-
.@{ant-prefix}-badge {
|
|
162
|
-
color: unset;
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
// replace sub.item
|
|
170
|
-
.@{ant-prefix}-pro-menu-popup {
|
|
171
|
-
.@{ant-prefix}-badge {
|
|
172
|
-
color: unset;
|
|
173
|
-
}
|
|
174
|
-
}
|