@jetlinks-web/components 2.0.4-16 → 2.0.4-18
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/FullPage/FullPage.js +1 -1
- package/es/ProLayout/PageContainer/index.js +2 -1
- package/es/ProLayout/RouteContext.js +1 -1
- package/es/ProLayout/SiderMenu/BaseMenu.js +2 -1
- package/es/ProLayout/TopHeader/index.js +1 -1
- package/es/ProLayout/style/default.less +0 -1
- package/es/Search/Advanced/SaveHistory.js +1 -1
- package/es/Search/Item.js +1 -1
- package/es/Search/Search.js +1 -1
- package/es/style/index.css +104 -104
- package/lib/FullPage/FullPage.js +1 -1
- package/lib/ProLayout/PageContainer/index.js +2 -1
- package/lib/ProLayout/RouteContext.js +1 -1
- package/lib/ProLayout/SiderMenu/BaseMenu.js +2 -1
- package/lib/ProLayout/TopHeader/index.js +1 -1
- package/lib/ProLayout/style/default.less +0 -1
- package/lib/Search/Advanced/SaveHistory.js +1 -1
- package/lib/Search/Item.js +1 -1
- package/lib/Search/Search.js +1 -1
- package/lib/style/index.css +104 -104
- package/package.json +3 -3
package/es/FullPage/FullPage.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
} */
|
|
7
7
|
import { defineComponent as _defineComponent } from 'vue';
|
|
8
8
|
import { unref as _unref, renderSlot as _renderSlot, createElementVNode as _createElementVNode, normalizeStyle as _normalizeStyle, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
|
|
9
|
-
const _withScopeId = n => (_pushScopeId("data-v-
|
|
9
|
+
const _withScopeId = n => (_pushScopeId("data-v-1713253553456"), n = n(), _popScopeId(), n);
|
|
10
10
|
const _hoisted_1 = { class: "full-page-warp-content" };
|
|
11
11
|
import { ref } from 'vue';
|
|
12
12
|
import { useElementBounding } from '@vueuse/core';
|
|
@@ -12,6 +12,7 @@ import { pageHeaderProps } from 'ant-design-vue/es/page-header';
|
|
|
12
12
|
import { useRouteContext } from '../RouteContext';
|
|
13
13
|
import { getSlotVNode } from '../util';
|
|
14
14
|
import 'ant-design-vue/es/_util/type';
|
|
15
|
+
import PropTypes from 'ant-design-vue/es/_util/vue-types';
|
|
15
16
|
import './index.less';
|
|
16
17
|
function _isSlot(s) {
|
|
17
18
|
return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !_isVNode(s);
|
|
@@ -59,7 +60,7 @@ export var pageHeaderTabConfig = {
|
|
|
59
60
|
export var pageContainerProps = _objectSpread(_objectSpread(_objectSpread({}, pageHeaderTabConfig), pageHeaderProps), {}, {
|
|
60
61
|
prefixCls: {
|
|
61
62
|
type: String,
|
|
62
|
-
default: '
|
|
63
|
+
default: PropTypes.string.def('ant-pro')
|
|
63
64
|
},
|
|
64
65
|
title: {
|
|
65
66
|
type: [Object, String, Boolean, Function],
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { provide, reactive } from 'vue';
|
|
2
2
|
import { useContext } from '@jetlinks-web/hooks';
|
|
3
|
-
export var defaultPrefixCls = '
|
|
3
|
+
export var defaultPrefixCls = 'ant-pro';
|
|
4
4
|
export var getPrefixCls = function getPrefixCls(suffixCls, customizePrefixCls) {
|
|
5
5
|
if (customizePrefixCls) return customizePrefixCls;
|
|
6
6
|
return suffixCls ? "".concat(defaultPrefixCls, "-").concat(suffixCls) : defaultPrefixCls;
|
|
@@ -12,13 +12,14 @@ import IconFont from '../../Icon';
|
|
|
12
12
|
import { regular } from '@jetlinks-web/utils';
|
|
13
13
|
import { Menu } from 'ant-design-vue';
|
|
14
14
|
import { createFromIconfontCN } from '@ant-design/icons-vue';
|
|
15
|
+
import 'ant-design-vue/es/_util/vue-types';
|
|
15
16
|
function _isSlot(s) {
|
|
16
17
|
return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !_isVNode(s);
|
|
17
18
|
}
|
|
18
19
|
export var baseMenuProps = _objectSpread(_objectSpread({}, defaultSettingProps), {}, {
|
|
19
20
|
prefixCls: {
|
|
20
21
|
type: String,
|
|
21
|
-
default:
|
|
22
|
+
default: defaultPrefixCls
|
|
22
23
|
},
|
|
23
24
|
locale: {
|
|
24
25
|
type: [Function, Boolean],
|
|
@@ -16,7 +16,7 @@ function _isSlot(s) {
|
|
|
16
16
|
return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !_isVNode(s);
|
|
17
17
|
}
|
|
18
18
|
export var baseHeaderProps = _objectSpread(_objectSpread({}, defaultSettingProps), {}, {
|
|
19
|
-
prefixCls: '
|
|
19
|
+
prefixCls: PropTypes.string.def('ant-pro'),
|
|
20
20
|
collapsed: PropTypes.looseBool,
|
|
21
21
|
logo: siderMenuProps.logo,
|
|
22
22
|
logoStyle: siderMenuProps.logoStyle,
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
} */
|
|
22
22
|
import { defineComponent as _defineComponent } from 'vue';
|
|
23
23
|
import { unref as _unref, createVNode as _createVNode, withCtx as _withCtx, createTextVNode as _createTextVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
|
|
24
|
-
const _withScopeId = n => (_pushScopeId("data-v-
|
|
24
|
+
const _withScopeId = n => (_pushScopeId("data-v-1713253554885"), n = n(), _popScopeId(), n);
|
|
25
25
|
const _hoisted_1 = {
|
|
26
26
|
key: 0,
|
|
27
27
|
style: { "width": "240px" }
|
package/es/Search/Item.js
CHANGED
|
@@ -78,7 +78,7 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
78
78
|
} */
|
|
79
79
|
import { defineComponent as _defineComponent } from 'vue';
|
|
80
80
|
import { unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createElementBlock as _createElementBlock, createVNode as _createVNode, Fragment as _Fragment, normalizeStyle as _normalizeStyle, mergeProps as _mergeProps, resolveDynamicComponent as _resolveDynamicComponent, withCtx as _withCtx, createElementVNode as _createElementVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
|
|
81
|
-
const _withScopeId = n => (_pushScopeId("data-v-
|
|
81
|
+
const _withScopeId = n => (_pushScopeId("data-v-1713253554416"), n = n(), _popScopeId(), n);
|
|
82
82
|
const _hoisted_1 = { class: "JSearch-item" };
|
|
83
83
|
const _hoisted_2 = {
|
|
84
84
|
key: 0,
|
package/es/Search/Search.js
CHANGED
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
} */
|
|
37
37
|
import { defineComponent as _defineComponent } from 'vue';
|
|
38
38
|
import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createVNode as _createVNode, unref as _unref, withCtx as _withCtx, createBlock as _createBlock, renderSlot as _renderSlot, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, normalizeStyle as _normalizeStyle, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
|
|
39
|
-
const _withScopeId = n => (_pushScopeId("data-v-
|
|
39
|
+
const _withScopeId = n => (_pushScopeId("data-v-1713253554671"), n = n(), _popScopeId(), n);
|
|
40
40
|
const _hoisted_1 = { class: "JSearch-content simple" };
|
|
41
41
|
const _hoisted_2 = { class: "JSearch-items" };
|
|
42
42
|
import { Button, Row, Col, Form, FormItemRest, } from 'ant-design-vue';
|
package/es/style/index.css
CHANGED
|
@@ -52,142 +52,142 @@
|
|
|
52
52
|
background-color: #f2f3f5;
|
|
53
53
|
color: #00000060;
|
|
54
54
|
}
|
|
55
|
-
.
|
|
55
|
+
.ant-pro-basicLayout {
|
|
56
56
|
display: flex;
|
|
57
57
|
flex-direction: column;
|
|
58
58
|
width: 100%;
|
|
59
59
|
min-height: 100%;
|
|
60
60
|
}
|
|
61
|
-
.
|
|
61
|
+
.ant-pro-basicLayout .ant-layout-header.ant-pro-fixed-header {
|
|
62
62
|
position: fixed;
|
|
63
63
|
top: 0;
|
|
64
64
|
}
|
|
65
|
-
.
|
|
65
|
+
.ant-pro-basicLayout-content {
|
|
66
66
|
position: relative;
|
|
67
67
|
margin: 24px;
|
|
68
68
|
}
|
|
69
|
-
.
|
|
69
|
+
.ant-pro-basicLayout-content .ant-pro-page-container {
|
|
70
70
|
margin: -24px -24px 0;
|
|
71
71
|
}
|
|
72
|
-
.
|
|
72
|
+
.ant-pro-basicLayout-content-disable-margin {
|
|
73
73
|
margin: 0;
|
|
74
74
|
}
|
|
75
|
-
.
|
|
75
|
+
.ant-pro-basicLayout-content-disable-margin .ant-pro-page-container {
|
|
76
76
|
margin: 0;
|
|
77
77
|
}
|
|
78
|
-
.
|
|
78
|
+
.ant-pro-basicLayout-content > .ant-layout {
|
|
79
79
|
max-height: 100%;
|
|
80
80
|
}
|
|
81
|
-
.
|
|
81
|
+
.ant-pro-basicLayout .ant-pro-basicLayout-is-children.ant-pro-basicLayout-fix-siderbar {
|
|
82
82
|
height: 100vh;
|
|
83
83
|
overflow: hidden;
|
|
84
84
|
transform: rotate(0);
|
|
85
85
|
}
|
|
86
|
-
.
|
|
86
|
+
.ant-pro-basicLayout .ant-pro-basicLayout-has-header .tech-page-container {
|
|
87
87
|
height: calc(100vh - 48px);
|
|
88
88
|
}
|
|
89
|
-
.
|
|
89
|
+
.ant-pro-basicLayout .ant-pro-basicLayout-has-header .ant-pro-basicLayout-is-children.ant-pro-basicLayout-has-header .tech-page-container {
|
|
90
90
|
height: calc(100vh - 48px - 48px);
|
|
91
91
|
}
|
|
92
|
-
.
|
|
92
|
+
.ant-pro-basicLayout .ant-pro-basicLayout-has-header .ant-pro-basicLayout-is-children.ant-pro-basicLayout-has-header .ant-pro-basicLayout-is-children {
|
|
93
93
|
min-height: calc(100vh - 48px);
|
|
94
94
|
}
|
|
95
|
-
.
|
|
95
|
+
.ant-pro-basicLayout .ant-pro-basicLayout-has-header .ant-pro-basicLayout-is-children.ant-pro-basicLayout-has-header .ant-pro-basicLayout-is-children.ant-pro-basicLayout-fix-siderbar {
|
|
96
96
|
height: calc(100vh - 48px);
|
|
97
97
|
}
|
|
98
|
-
.
|
|
98
|
+
.ant-pro-fixed-header {
|
|
99
99
|
z-index: 9;
|
|
100
100
|
width: 100%;
|
|
101
101
|
}
|
|
102
|
-
.
|
|
102
|
+
.ant-pro-page-container-children-content {
|
|
103
103
|
margin: 24px 24px 0;
|
|
104
104
|
}
|
|
105
|
-
.
|
|
105
|
+
.ant-pro-page-container-warp {
|
|
106
106
|
background-color: #fff;
|
|
107
107
|
}
|
|
108
|
-
.
|
|
108
|
+
.ant-pro-page-container-warp .ant-tabs-bar {
|
|
109
109
|
margin: 0;
|
|
110
110
|
}
|
|
111
|
-
.
|
|
111
|
+
.ant-pro-page-container-ghost .ant-pro-page-container-warp {
|
|
112
112
|
background-color: #fff;
|
|
113
113
|
}
|
|
114
|
-
.
|
|
114
|
+
.ant-pro-page-container-main .ant-pro-page-container-detail {
|
|
115
115
|
display: flex;
|
|
116
116
|
}
|
|
117
|
-
.
|
|
117
|
+
.ant-pro-page-container-main .ant-pro-page-container-row {
|
|
118
118
|
display: flex;
|
|
119
119
|
width: 100%;
|
|
120
120
|
}
|
|
121
|
-
.
|
|
121
|
+
.ant-pro-page-container-main .ant-pro-page-container-title-content {
|
|
122
122
|
margin-bottom: 16px;
|
|
123
123
|
}
|
|
124
|
-
.
|
|
125
|
-
.
|
|
124
|
+
.ant-pro-page-container-main .ant-pro-page-container-title,
|
|
125
|
+
.ant-pro-page-container-main .ant-pro-page-container-content {
|
|
126
126
|
flex: auto;
|
|
127
127
|
}
|
|
128
|
-
.
|
|
129
|
-
.
|
|
128
|
+
.ant-pro-page-container-main .ant-pro-page-container-extraContent,
|
|
129
|
+
.ant-pro-page-container-main .ant-pro-page-container-main {
|
|
130
130
|
flex: 0 1 auto;
|
|
131
131
|
}
|
|
132
|
-
.
|
|
132
|
+
.ant-pro-page-container-main .ant-pro-page-container-main {
|
|
133
133
|
width: 100%;
|
|
134
134
|
}
|
|
135
|
-
.
|
|
135
|
+
.ant-pro-page-container-main .ant-pro-page-container-title {
|
|
136
136
|
margin-bottom: 16px;
|
|
137
137
|
}
|
|
138
|
-
.
|
|
138
|
+
.ant-pro-page-container-main .ant-pro-page-container-logo {
|
|
139
139
|
margin-bottom: 16px;
|
|
140
140
|
}
|
|
141
|
-
.
|
|
141
|
+
.ant-pro-page-container-main .ant-pro-page-container-extraContent {
|
|
142
142
|
min-width: 242px;
|
|
143
143
|
margin-left: 88px;
|
|
144
144
|
text-align: right;
|
|
145
145
|
}
|
|
146
146
|
@media screen and (max-width: 1200px) {
|
|
147
|
-
.
|
|
147
|
+
.ant-pro-page-container-main .ant-pro-page-container-extraContent {
|
|
148
148
|
margin-left: 44px;
|
|
149
149
|
}
|
|
150
150
|
}
|
|
151
151
|
@media screen and (max-width: 992px) {
|
|
152
|
-
.
|
|
152
|
+
.ant-pro-page-container-main .ant-pro-page-container-extraContent {
|
|
153
153
|
margin-left: 20px;
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
156
|
@media screen and (max-width: 768px) {
|
|
157
|
-
.
|
|
157
|
+
.ant-pro-page-container-main .ant-pro-page-container-row {
|
|
158
158
|
display: block;
|
|
159
159
|
}
|
|
160
|
-
.
|
|
161
|
-
.
|
|
160
|
+
.ant-pro-page-container-main .ant-pro-page-container-action,
|
|
161
|
+
.ant-pro-page-container-main .ant-pro-page-container-extraContent {
|
|
162
162
|
margin-left: 0;
|
|
163
163
|
text-align: left;
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
166
|
@media screen and (max-width: 576px) {
|
|
167
|
-
.
|
|
167
|
+
.ant-pro-page-container-detail {
|
|
168
168
|
display: block;
|
|
169
169
|
}
|
|
170
|
-
.
|
|
170
|
+
.ant-pro-page-container-extraContent {
|
|
171
171
|
margin-left: 0;
|
|
172
172
|
}
|
|
173
173
|
}
|
|
174
|
-
.
|
|
174
|
+
.ant-pro-sider {
|
|
175
175
|
position: relative;
|
|
176
176
|
background-color: #001529;
|
|
177
177
|
border-right: 0;
|
|
178
178
|
z-index: 20;
|
|
179
179
|
}
|
|
180
|
-
.
|
|
180
|
+
.ant-pro-sider .ant-menu {
|
|
181
181
|
background: transparent;
|
|
182
182
|
}
|
|
183
|
-
.
|
|
183
|
+
.ant-pro-sider.ant-layout-sider-light .ant-menu-item a {
|
|
184
184
|
color: rgba(0, 0, 0, 0.85);
|
|
185
185
|
}
|
|
186
|
-
.
|
|
187
|
-
.
|
|
186
|
+
.ant-pro-sider.ant-layout-sider-light .ant-menu-item-selected a,
|
|
187
|
+
.ant-pro-sider.ant-layout-sider-light .ant-menu-item a:hover {
|
|
188
188
|
color: #315EFB;
|
|
189
189
|
}
|
|
190
|
-
.
|
|
190
|
+
.ant-pro-sider-logo {
|
|
191
191
|
position: relative;
|
|
192
192
|
display: flex;
|
|
193
193
|
align-items: center;
|
|
@@ -195,18 +195,18 @@
|
|
|
195
195
|
cursor: pointer;
|
|
196
196
|
transition: padding 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
|
|
197
197
|
}
|
|
198
|
-
.
|
|
198
|
+
.ant-pro-sider-logo > a {
|
|
199
199
|
display: flex;
|
|
200
200
|
align-items: center;
|
|
201
201
|
justify-content: center;
|
|
202
202
|
min-height: 32px;
|
|
203
203
|
}
|
|
204
|
-
.
|
|
204
|
+
.ant-pro-sider-logo img {
|
|
205
205
|
display: inline-block;
|
|
206
206
|
height: 32px;
|
|
207
207
|
vertical-align: middle;
|
|
208
208
|
}
|
|
209
|
-
.
|
|
209
|
+
.ant-pro-sider-logo h1 {
|
|
210
210
|
display: inline-block;
|
|
211
211
|
height: 32px;
|
|
212
212
|
margin: 0 0 0 12px;
|
|
@@ -217,46 +217,46 @@
|
|
|
217
217
|
vertical-align: middle;
|
|
218
218
|
animation: pro-layout-title-hide 0.3s;
|
|
219
219
|
}
|
|
220
|
-
.
|
|
220
|
+
.ant-pro-sider-extra {
|
|
221
221
|
margin-bottom: 16px;
|
|
222
222
|
padding: 0 16px;
|
|
223
223
|
}
|
|
224
|
-
.
|
|
224
|
+
.ant-pro-sider-extra-no-logo {
|
|
225
225
|
margin-top: 16px;
|
|
226
226
|
}
|
|
227
|
-
.
|
|
227
|
+
.ant-pro-sider-menu {
|
|
228
228
|
position: relative;
|
|
229
229
|
z-index: 10;
|
|
230
230
|
min-height: 100%;
|
|
231
231
|
box-shadow: 2px 0 6px rgba(0, 21, 41, 0.35);
|
|
232
232
|
}
|
|
233
|
-
.
|
|
233
|
+
.ant-pro-sider .ant-layout-sider-children {
|
|
234
234
|
display: flex;
|
|
235
235
|
flex-direction: column;
|
|
236
236
|
height: 100%;
|
|
237
237
|
/* 滚动条滑块 */
|
|
238
238
|
}
|
|
239
|
-
.
|
|
239
|
+
.ant-pro-sider .ant-layout-sider-children ::-webkit-scrollbar {
|
|
240
240
|
width: 6px;
|
|
241
241
|
height: 6px;
|
|
242
242
|
}
|
|
243
|
-
.
|
|
243
|
+
.ant-pro-sider .ant-layout-sider-children ::-webkit-scrollbar-track {
|
|
244
244
|
background: rgba(255, 255, 255, 0.15);
|
|
245
245
|
border-radius: 3px;
|
|
246
246
|
box-shadow: inset 0 0 5px rgba(37, 37, 37, 0.05);
|
|
247
247
|
}
|
|
248
|
-
.
|
|
248
|
+
.ant-pro-sider .ant-layout-sider-children ::-webkit-scrollbar-thumb {
|
|
249
249
|
background: rgba(255, 255, 255, 0.2);
|
|
250
250
|
border-radius: 3px;
|
|
251
251
|
box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.05);
|
|
252
252
|
}
|
|
253
|
-
.
|
|
253
|
+
.ant-pro-sider.ant-layout-sider-collapsed .ant-menu-inline-collapsed {
|
|
254
254
|
width: 48px;
|
|
255
255
|
}
|
|
256
|
-
.
|
|
256
|
+
.ant-pro-sider.ant-layout-sider-collapsed .ant-pro-sider-logo {
|
|
257
257
|
padding: 16px 8px;
|
|
258
258
|
}
|
|
259
|
-
.
|
|
259
|
+
.ant-pro-sider.ant-layout-sider.ant-pro-sider-fixed {
|
|
260
260
|
position: fixed;
|
|
261
261
|
top: 0;
|
|
262
262
|
left: 0;
|
|
@@ -266,60 +266,60 @@
|
|
|
266
266
|
overflow-x: hidden;
|
|
267
267
|
box-shadow: 2px 0 8px 0 rgba(29, 35, 41, 0.05);
|
|
268
268
|
}
|
|
269
|
-
.
|
|
269
|
+
.ant-pro-sider.ant-layout-sider.ant-pro-sider-fixed > .ant-menu-root :not(.ant-pro-sider-link-menu) {
|
|
270
270
|
height: calc(100vh - 48px);
|
|
271
271
|
overflow-y: auto;
|
|
272
272
|
}
|
|
273
|
-
.
|
|
273
|
+
.ant-pro-sider-light {
|
|
274
274
|
background-color: #fff;
|
|
275
275
|
box-shadow: 2px 0 8px 0 rgba(29, 35, 41, 0.05);
|
|
276
276
|
}
|
|
277
|
-
.
|
|
277
|
+
.ant-pro-sider-light .ant-layout-sider-children {
|
|
278
278
|
/* 滚动条滑块 */
|
|
279
279
|
}
|
|
280
|
-
.
|
|
280
|
+
.ant-pro-sider-light .ant-layout-sider-children ::-webkit-scrollbar-track {
|
|
281
281
|
background: rgba(0, 0, 0, 0.06);
|
|
282
282
|
border-radius: 3px;
|
|
283
283
|
box-shadow: inset 0 0 5px rgba(0, 21, 41, 0.05);
|
|
284
284
|
}
|
|
285
|
-
.
|
|
285
|
+
.ant-pro-sider-light .ant-layout-sider-children ::-webkit-scrollbar-thumb {
|
|
286
286
|
background: rgba(0, 0, 0, 0.12);
|
|
287
287
|
border-radius: 3px;
|
|
288
288
|
box-shadow: inset 0 0 5px rgba(0, 21, 41, 0.05);
|
|
289
289
|
}
|
|
290
|
-
.
|
|
290
|
+
.ant-pro-sider-light .ant-pro-sider-logo h1 {
|
|
291
291
|
color: #315EFB;
|
|
292
292
|
}
|
|
293
|
-
.
|
|
293
|
+
.ant-pro-sider-light .ant-menu-light {
|
|
294
294
|
border-right-color: transparent;
|
|
295
295
|
}
|
|
296
|
-
.
|
|
296
|
+
.ant-pro-sider-light .ant-pro-sider-collapsed-button {
|
|
297
297
|
border-top: 1px solid #f0f0f0;
|
|
298
298
|
}
|
|
299
|
-
.
|
|
299
|
+
.ant-pro-sider-icon {
|
|
300
300
|
width: 14px;
|
|
301
301
|
vertical-align: baseline;
|
|
302
302
|
}
|
|
303
|
-
.
|
|
303
|
+
.ant-pro-sider-links {
|
|
304
304
|
width: 100%;
|
|
305
305
|
}
|
|
306
|
-
.
|
|
306
|
+
.ant-pro-sider-links ul.ant-menu-root {
|
|
307
307
|
height: auto;
|
|
308
308
|
}
|
|
309
|
-
.
|
|
309
|
+
.ant-pro-sider-collapsed-button {
|
|
310
310
|
border-top: 1px solid rgba(0, 0, 0, 0.25);
|
|
311
311
|
}
|
|
312
|
-
.
|
|
312
|
+
.ant-pro-sider-collapsed-button .anticon {
|
|
313
313
|
font-size: 16px;
|
|
314
314
|
}
|
|
315
|
-
.
|
|
315
|
+
.ant-pro-sider .top-nav-menu li.ant-menu-item {
|
|
316
316
|
height: 100%;
|
|
317
317
|
line-height: 1;
|
|
318
318
|
}
|
|
319
|
-
.
|
|
319
|
+
.ant-pro-sider .drawer .drawer-content {
|
|
320
320
|
background: #001529;
|
|
321
321
|
}
|
|
322
|
-
.
|
|
322
|
+
.ant-pro-menu-item .anticon + .ant-pro-menu-item-title {
|
|
323
323
|
margin-left: 10px;
|
|
324
324
|
}
|
|
325
325
|
@keyframes pro-layout-title-hide {
|
|
@@ -336,7 +336,7 @@
|
|
|
336
336
|
opacity: 1;
|
|
337
337
|
}
|
|
338
338
|
}
|
|
339
|
-
.
|
|
339
|
+
.ant-pro-global-header {
|
|
340
340
|
position: relative;
|
|
341
341
|
display: flex;
|
|
342
342
|
align-items: center;
|
|
@@ -345,37 +345,37 @@
|
|
|
345
345
|
background: #fff;
|
|
346
346
|
box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
|
|
347
347
|
}
|
|
348
|
-
.
|
|
348
|
+
.ant-pro-global-header > * {
|
|
349
349
|
height: 100%;
|
|
350
350
|
}
|
|
351
|
-
.
|
|
351
|
+
.ant-pro-global-header-collapsed-button {
|
|
352
352
|
display: flex;
|
|
353
353
|
align-items: center;
|
|
354
354
|
margin-left: 16px;
|
|
355
355
|
font-size: 20px;
|
|
356
356
|
}
|
|
357
|
-
.
|
|
357
|
+
.ant-pro-global-header-layout-mix {
|
|
358
358
|
background-color: #001529;
|
|
359
359
|
}
|
|
360
|
-
.
|
|
360
|
+
.ant-pro-global-header-layout-mix .ant-pro-global-header-logo h1 {
|
|
361
361
|
color: #fff;
|
|
362
362
|
}
|
|
363
|
-
.
|
|
363
|
+
.ant-pro-global-header-layout-mix .anticon {
|
|
364
364
|
color: #fff;
|
|
365
365
|
}
|
|
366
|
-
.
|
|
366
|
+
.ant-pro-global-header-logo {
|
|
367
367
|
position: relative;
|
|
368
368
|
overflow: hidden;
|
|
369
369
|
}
|
|
370
|
-
.
|
|
370
|
+
.ant-pro-global-header-logo a {
|
|
371
371
|
display: flex;
|
|
372
372
|
align-items: center;
|
|
373
373
|
height: 100%;
|
|
374
374
|
}
|
|
375
|
-
.
|
|
375
|
+
.ant-pro-global-header-logo a img {
|
|
376
376
|
height: 28px;
|
|
377
377
|
}
|
|
378
|
-
.
|
|
378
|
+
.ant-pro-global-header-logo a h1 {
|
|
379
379
|
height: 32px;
|
|
380
380
|
margin: 0 0 0 8px;
|
|
381
381
|
margin: 0 0 0 12px;
|
|
@@ -384,71 +384,71 @@
|
|
|
384
384
|
font-size: 18px;
|
|
385
385
|
line-height: 32px;
|
|
386
386
|
}
|
|
387
|
-
.
|
|
387
|
+
.ant-pro-global-header-menu .anticon {
|
|
388
388
|
margin-right: 8px;
|
|
389
389
|
}
|
|
390
|
-
.
|
|
390
|
+
.ant-pro-global-header-menu .ant-dropdown-menu-item {
|
|
391
391
|
min-width: 160px;
|
|
392
392
|
}
|
|
393
|
-
.
|
|
393
|
+
.ant-pro-global-header .dark {
|
|
394
394
|
height: 48px;
|
|
395
395
|
}
|
|
396
|
-
.
|
|
396
|
+
.ant-pro-global-header .dark .action {
|
|
397
397
|
color: rgba(255, 255, 255, 0.85);
|
|
398
398
|
}
|
|
399
|
-
.
|
|
399
|
+
.ant-pro-global-header .dark .action > i {
|
|
400
400
|
color: rgba(255, 255, 255, 0.85);
|
|
401
401
|
}
|
|
402
|
-
.
|
|
403
|
-
.
|
|
402
|
+
.ant-pro-global-header .dark .action:hover,
|
|
403
|
+
.ant-pro-global-header .dark .action.opened {
|
|
404
404
|
background: #315EFB;
|
|
405
405
|
}
|
|
406
|
-
.
|
|
406
|
+
.ant-pro-global-header .dark .action .ant-badge {
|
|
407
407
|
color: rgba(255, 255, 255, 0.85);
|
|
408
408
|
}
|
|
409
|
-
.
|
|
409
|
+
.ant-pro-top-nav-header {
|
|
410
410
|
position: relative;
|
|
411
411
|
width: 100%;
|
|
412
412
|
height: 100%;
|
|
413
413
|
box-shadow: 0 1px 4px 0 rgba(0, 21, 41, 0.12);
|
|
414
414
|
transition: background 0.3s, width 0.2s;
|
|
415
415
|
}
|
|
416
|
-
.
|
|
416
|
+
.ant-pro-top-nav-header .ant-menu {
|
|
417
417
|
background: transparent;
|
|
418
418
|
}
|
|
419
|
-
.
|
|
419
|
+
.ant-pro-top-nav-header.light {
|
|
420
420
|
background-color: #fff;
|
|
421
421
|
}
|
|
422
|
-
.
|
|
422
|
+
.ant-pro-top-nav-header.light .ant-pro-top-nav-header-logo h1 {
|
|
423
423
|
color: rgba(0, 0, 0, 0.85);
|
|
424
424
|
}
|
|
425
|
-
.
|
|
425
|
+
.ant-pro-top-nav-header.light .anticon {
|
|
426
426
|
color: inherit;
|
|
427
427
|
}
|
|
428
|
-
.
|
|
428
|
+
.ant-pro-top-nav-header-main {
|
|
429
429
|
display: flex;
|
|
430
430
|
height: 100%;
|
|
431
431
|
padding-left: 16px;
|
|
432
432
|
}
|
|
433
|
-
.
|
|
433
|
+
.ant-pro-top-nav-header-main-left {
|
|
434
434
|
display: flex;
|
|
435
435
|
min-width: 192px;
|
|
436
436
|
}
|
|
437
|
-
.
|
|
437
|
+
.ant-pro-top-nav-header .anticon {
|
|
438
438
|
color: #fff;
|
|
439
439
|
}
|
|
440
|
-
.
|
|
440
|
+
.ant-pro-top-nav-header-logo {
|
|
441
441
|
position: relative;
|
|
442
442
|
min-width: 165px;
|
|
443
443
|
height: 100%;
|
|
444
444
|
overflow: hidden;
|
|
445
445
|
}
|
|
446
|
-
.
|
|
446
|
+
.ant-pro-top-nav-header-logo img {
|
|
447
447
|
display: inline-block;
|
|
448
448
|
height: 32px;
|
|
449
449
|
vertical-align: middle;
|
|
450
450
|
}
|
|
451
|
-
.
|
|
451
|
+
.ant-pro-top-nav-header-logo h1 {
|
|
452
452
|
display: inline-block;
|
|
453
453
|
margin: 0 0 0 12px;
|
|
454
454
|
color: #fff;
|
|
@@ -456,20 +456,20 @@
|
|
|
456
456
|
font-size: 16px;
|
|
457
457
|
vertical-align: top;
|
|
458
458
|
}
|
|
459
|
-
.
|
|
459
|
+
.ant-pro-top-nav-header-menu {
|
|
460
460
|
min-width: 0;
|
|
461
461
|
}
|
|
462
|
-
.
|
|
462
|
+
.ant-pro-top-nav-header-menu .ant-menu.ant-menu-horizontal {
|
|
463
463
|
height: 100%;
|
|
464
464
|
border: none;
|
|
465
465
|
}
|
|
466
|
-
.
|
|
466
|
+
.ant-pro-top-nav-header-menu .ant-menu.ant-menu-horizontal .ant-menu-item {
|
|
467
467
|
height: 100%;
|
|
468
468
|
}
|
|
469
|
-
.
|
|
469
|
+
.ant-pro-top-nav-header-menu .ant-menu.ant-menu-horizontal .ant-menu-item .ant-badge {
|
|
470
470
|
color: unset;
|
|
471
471
|
}
|
|
472
|
-
.
|
|
472
|
+
.ant-pro-menu-popup .ant-badge {
|
|
473
473
|
color: unset;
|
|
474
474
|
}
|
|
475
475
|
.jtable-body-spin {
|
package/lib/FullPage/FullPage.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
} */
|
|
7
7
|
import { defineComponent as _defineComponent } from 'vue';
|
|
8
8
|
import { unref as _unref, renderSlot as _renderSlot, createElementVNode as _createElementVNode, normalizeStyle as _normalizeStyle, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
|
|
9
|
-
const _withScopeId = n => (_pushScopeId("data-v-
|
|
9
|
+
const _withScopeId = n => (_pushScopeId("data-v-1713253553449"), n = n(), _popScopeId(), n);
|
|
10
10
|
const _hoisted_1 = { class: "full-page-warp-content" };
|
|
11
11
|
import { ref } from 'vue';
|
|
12
12
|
import { useElementBounding } from '@vueuse/core';
|
|
@@ -14,6 +14,7 @@ var _antDesignVue = require("ant-design-vue");
|
|
|
14
14
|
var _pageHeader = require("ant-design-vue/es/page-header");
|
|
15
15
|
var _RouteContext = require("../RouteContext");
|
|
16
16
|
var _util = require("../util");
|
|
17
|
+
var _vueTypes = _interopRequireDefault(require("ant-design-vue/es/_util/vue-types"));
|
|
17
18
|
require("./index.less");
|
|
18
19
|
var _excluded = ["title", "tabList", "tabActiveKey", "content", "pageHeaderRender", "header", "extraContent", "prefixedClassName", "prefixCls", "fixedHeader", "showBack"];
|
|
19
20
|
function _isSlot(s) {
|
|
@@ -62,7 +63,7 @@ var pageHeaderTabConfig = exports.pageHeaderTabConfig = {
|
|
|
62
63
|
var pageContainerProps = exports.pageContainerProps = (0, _objectSpread2.default)((0, _objectSpread2.default)((0, _objectSpread2.default)({}, pageHeaderTabConfig), _pageHeader.pageHeaderProps), {}, {
|
|
63
64
|
prefixCls: {
|
|
64
65
|
type: String,
|
|
65
|
-
default: '
|
|
66
|
+
default: _vueTypes.default.string.def('ant-pro')
|
|
66
67
|
},
|
|
67
68
|
title: {
|
|
68
69
|
type: [Object, String, Boolean, Function],
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.useRouteContext = exports.routeContextInjectKey = exports.provideRouteContext = exports.getPrefixCls = exports.defaultRouteContext = exports.defaultPrefixCls = void 0;
|
|
7
7
|
var _vue = require("vue");
|
|
8
8
|
var _hooks = require("@jetlinks-web/hooks");
|
|
9
|
-
var defaultPrefixCls = exports.defaultPrefixCls = '
|
|
9
|
+
var defaultPrefixCls = exports.defaultPrefixCls = 'ant-pro';
|
|
10
10
|
var getPrefixCls = exports.getPrefixCls = function getPrefixCls(suffixCls, customizePrefixCls) {
|
|
11
11
|
if (customizePrefixCls) return customizePrefixCls;
|
|
12
12
|
return suffixCls ? "".concat(defaultPrefixCls, "-").concat(suffixCls) : defaultPrefixCls;
|
|
@@ -17,13 +17,14 @@ var _Icon = _interopRequireDefault(require("../../Icon"));
|
|
|
17
17
|
var _utils = require("@jetlinks-web/utils");
|
|
18
18
|
var _antDesignVue = require("ant-design-vue");
|
|
19
19
|
var _iconsVue = require("@ant-design/icons-vue/lib/icons");
|
|
20
|
+
require("ant-design-vue/es/_util/vue-types");
|
|
20
21
|
function _isSlot(s) {
|
|
21
22
|
return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !(0, _vue.isVNode)(s);
|
|
22
23
|
}
|
|
23
24
|
var baseMenuProps = exports.baseMenuProps = (0, _objectSpread2.default)((0, _objectSpread2.default)({}, _defaultSettings.defaultSettingProps), {}, {
|
|
24
25
|
prefixCls: {
|
|
25
26
|
type: String,
|
|
26
|
-
default:
|
|
27
|
+
default: _RouteContext.defaultPrefixCls
|
|
27
28
|
},
|
|
28
29
|
locale: {
|
|
29
30
|
type: [Function, Boolean],
|
|
@@ -21,7 +21,7 @@ function _isSlot(s) {
|
|
|
21
21
|
return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !(0, _vue.isVNode)(s);
|
|
22
22
|
}
|
|
23
23
|
var baseHeaderProps = exports.baseHeaderProps = (0, _objectSpread2.default)((0, _objectSpread2.default)({}, _defaultSettings.defaultSettingProps), {}, {
|
|
24
|
-
prefixCls: '
|
|
24
|
+
prefixCls: _vueTypes.default.string.def('ant-pro'),
|
|
25
25
|
collapsed: _vueTypes.default.looseBool,
|
|
26
26
|
logo: _SiderMenu.siderMenuProps.logo,
|
|
27
27
|
logoStyle: _SiderMenu.siderMenuProps.logoStyle,
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
} */
|
|
22
22
|
import { defineComponent as _defineComponent } from 'vue';
|
|
23
23
|
import { unref as _unref, createVNode as _createVNode, withCtx as _withCtx, createTextVNode as _createTextVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
|
|
24
|
-
const _withScopeId = n => (_pushScopeId("data-v-
|
|
24
|
+
const _withScopeId = n => (_pushScopeId("data-v-1713253554899"), n = n(), _popScopeId(), n);
|
|
25
25
|
const _hoisted_1 = {
|
|
26
26
|
key: 0,
|
|
27
27
|
style: { "width": "240px" }
|
package/lib/Search/Item.js
CHANGED
|
@@ -78,7 +78,7 @@ function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]
|
|
|
78
78
|
} */
|
|
79
79
|
import { defineComponent as _defineComponent } from 'vue';
|
|
80
80
|
import { unref as _unref, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createElementBlock as _createElementBlock, createVNode as _createVNode, Fragment as _Fragment, normalizeStyle as _normalizeStyle, mergeProps as _mergeProps, resolveDynamicComponent as _resolveDynamicComponent, withCtx as _withCtx, createElementVNode as _createElementVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
|
|
81
|
-
const _withScopeId = n => (_pushScopeId("data-v-
|
|
81
|
+
const _withScopeId = n => (_pushScopeId("data-v-1713253554478"), n = n(), _popScopeId(), n);
|
|
82
82
|
const _hoisted_1 = { class: "JSearch-item" };
|
|
83
83
|
const _hoisted_2 = {
|
|
84
84
|
key: 0,
|
package/lib/Search/Search.js
CHANGED
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
} */
|
|
37
37
|
import { defineComponent as _defineComponent } from 'vue';
|
|
38
38
|
import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createVNode as _createVNode, unref as _unref, withCtx as _withCtx, createBlock as _createBlock, renderSlot as _renderSlot, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, normalizeStyle as _normalizeStyle, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from "vue";
|
|
39
|
-
const _withScopeId = n => (_pushScopeId("data-v-
|
|
39
|
+
const _withScopeId = n => (_pushScopeId("data-v-1713253554691"), n = n(), _popScopeId(), n);
|
|
40
40
|
const _hoisted_1 = { class: "JSearch-content simple" };
|
|
41
41
|
const _hoisted_2 = { class: "JSearch-items" };
|
|
42
42
|
import { Button, Row, Col, Form, FormItemRest, } from 'ant-design-vue';
|
package/lib/style/index.css
CHANGED
|
@@ -52,142 +52,142 @@
|
|
|
52
52
|
background-color: #f2f3f5;
|
|
53
53
|
color: #00000060;
|
|
54
54
|
}
|
|
55
|
-
.
|
|
55
|
+
.ant-pro-basicLayout {
|
|
56
56
|
display: flex;
|
|
57
57
|
flex-direction: column;
|
|
58
58
|
width: 100%;
|
|
59
59
|
min-height: 100%;
|
|
60
60
|
}
|
|
61
|
-
.
|
|
61
|
+
.ant-pro-basicLayout .ant-layout-header.ant-pro-fixed-header {
|
|
62
62
|
position: fixed;
|
|
63
63
|
top: 0;
|
|
64
64
|
}
|
|
65
|
-
.
|
|
65
|
+
.ant-pro-basicLayout-content {
|
|
66
66
|
position: relative;
|
|
67
67
|
margin: 24px;
|
|
68
68
|
}
|
|
69
|
-
.
|
|
69
|
+
.ant-pro-basicLayout-content .ant-pro-page-container {
|
|
70
70
|
margin: -24px -24px 0;
|
|
71
71
|
}
|
|
72
|
-
.
|
|
72
|
+
.ant-pro-basicLayout-content-disable-margin {
|
|
73
73
|
margin: 0;
|
|
74
74
|
}
|
|
75
|
-
.
|
|
75
|
+
.ant-pro-basicLayout-content-disable-margin .ant-pro-page-container {
|
|
76
76
|
margin: 0;
|
|
77
77
|
}
|
|
78
|
-
.
|
|
78
|
+
.ant-pro-basicLayout-content > .ant-layout {
|
|
79
79
|
max-height: 100%;
|
|
80
80
|
}
|
|
81
|
-
.
|
|
81
|
+
.ant-pro-basicLayout .ant-pro-basicLayout-is-children.ant-pro-basicLayout-fix-siderbar {
|
|
82
82
|
height: 100vh;
|
|
83
83
|
overflow: hidden;
|
|
84
84
|
transform: rotate(0);
|
|
85
85
|
}
|
|
86
|
-
.
|
|
86
|
+
.ant-pro-basicLayout .ant-pro-basicLayout-has-header .tech-page-container {
|
|
87
87
|
height: calc(100vh - 48px);
|
|
88
88
|
}
|
|
89
|
-
.
|
|
89
|
+
.ant-pro-basicLayout .ant-pro-basicLayout-has-header .ant-pro-basicLayout-is-children.ant-pro-basicLayout-has-header .tech-page-container {
|
|
90
90
|
height: calc(100vh - 48px - 48px);
|
|
91
91
|
}
|
|
92
|
-
.
|
|
92
|
+
.ant-pro-basicLayout .ant-pro-basicLayout-has-header .ant-pro-basicLayout-is-children.ant-pro-basicLayout-has-header .ant-pro-basicLayout-is-children {
|
|
93
93
|
min-height: calc(100vh - 48px);
|
|
94
94
|
}
|
|
95
|
-
.
|
|
95
|
+
.ant-pro-basicLayout .ant-pro-basicLayout-has-header .ant-pro-basicLayout-is-children.ant-pro-basicLayout-has-header .ant-pro-basicLayout-is-children.ant-pro-basicLayout-fix-siderbar {
|
|
96
96
|
height: calc(100vh - 48px);
|
|
97
97
|
}
|
|
98
|
-
.
|
|
98
|
+
.ant-pro-fixed-header {
|
|
99
99
|
z-index: 9;
|
|
100
100
|
width: 100%;
|
|
101
101
|
}
|
|
102
|
-
.
|
|
102
|
+
.ant-pro-page-container-children-content {
|
|
103
103
|
margin: 24px 24px 0;
|
|
104
104
|
}
|
|
105
|
-
.
|
|
105
|
+
.ant-pro-page-container-warp {
|
|
106
106
|
background-color: #fff;
|
|
107
107
|
}
|
|
108
|
-
.
|
|
108
|
+
.ant-pro-page-container-warp .ant-tabs-bar {
|
|
109
109
|
margin: 0;
|
|
110
110
|
}
|
|
111
|
-
.
|
|
111
|
+
.ant-pro-page-container-ghost .ant-pro-page-container-warp {
|
|
112
112
|
background-color: #fff;
|
|
113
113
|
}
|
|
114
|
-
.
|
|
114
|
+
.ant-pro-page-container-main .ant-pro-page-container-detail {
|
|
115
115
|
display: flex;
|
|
116
116
|
}
|
|
117
|
-
.
|
|
117
|
+
.ant-pro-page-container-main .ant-pro-page-container-row {
|
|
118
118
|
display: flex;
|
|
119
119
|
width: 100%;
|
|
120
120
|
}
|
|
121
|
-
.
|
|
121
|
+
.ant-pro-page-container-main .ant-pro-page-container-title-content {
|
|
122
122
|
margin-bottom: 16px;
|
|
123
123
|
}
|
|
124
|
-
.
|
|
125
|
-
.
|
|
124
|
+
.ant-pro-page-container-main .ant-pro-page-container-title,
|
|
125
|
+
.ant-pro-page-container-main .ant-pro-page-container-content {
|
|
126
126
|
flex: auto;
|
|
127
127
|
}
|
|
128
|
-
.
|
|
129
|
-
.
|
|
128
|
+
.ant-pro-page-container-main .ant-pro-page-container-extraContent,
|
|
129
|
+
.ant-pro-page-container-main .ant-pro-page-container-main {
|
|
130
130
|
flex: 0 1 auto;
|
|
131
131
|
}
|
|
132
|
-
.
|
|
132
|
+
.ant-pro-page-container-main .ant-pro-page-container-main {
|
|
133
133
|
width: 100%;
|
|
134
134
|
}
|
|
135
|
-
.
|
|
135
|
+
.ant-pro-page-container-main .ant-pro-page-container-title {
|
|
136
136
|
margin-bottom: 16px;
|
|
137
137
|
}
|
|
138
|
-
.
|
|
138
|
+
.ant-pro-page-container-main .ant-pro-page-container-logo {
|
|
139
139
|
margin-bottom: 16px;
|
|
140
140
|
}
|
|
141
|
-
.
|
|
141
|
+
.ant-pro-page-container-main .ant-pro-page-container-extraContent {
|
|
142
142
|
min-width: 242px;
|
|
143
143
|
margin-left: 88px;
|
|
144
144
|
text-align: right;
|
|
145
145
|
}
|
|
146
146
|
@media screen and (max-width: 1200px) {
|
|
147
|
-
.
|
|
147
|
+
.ant-pro-page-container-main .ant-pro-page-container-extraContent {
|
|
148
148
|
margin-left: 44px;
|
|
149
149
|
}
|
|
150
150
|
}
|
|
151
151
|
@media screen and (max-width: 992px) {
|
|
152
|
-
.
|
|
152
|
+
.ant-pro-page-container-main .ant-pro-page-container-extraContent {
|
|
153
153
|
margin-left: 20px;
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
156
|
@media screen and (max-width: 768px) {
|
|
157
|
-
.
|
|
157
|
+
.ant-pro-page-container-main .ant-pro-page-container-row {
|
|
158
158
|
display: block;
|
|
159
159
|
}
|
|
160
|
-
.
|
|
161
|
-
.
|
|
160
|
+
.ant-pro-page-container-main .ant-pro-page-container-action,
|
|
161
|
+
.ant-pro-page-container-main .ant-pro-page-container-extraContent {
|
|
162
162
|
margin-left: 0;
|
|
163
163
|
text-align: left;
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
166
|
@media screen and (max-width: 576px) {
|
|
167
|
-
.
|
|
167
|
+
.ant-pro-page-container-detail {
|
|
168
168
|
display: block;
|
|
169
169
|
}
|
|
170
|
-
.
|
|
170
|
+
.ant-pro-page-container-extraContent {
|
|
171
171
|
margin-left: 0;
|
|
172
172
|
}
|
|
173
173
|
}
|
|
174
|
-
.
|
|
174
|
+
.ant-pro-sider {
|
|
175
175
|
position: relative;
|
|
176
176
|
background-color: #001529;
|
|
177
177
|
border-right: 0;
|
|
178
178
|
z-index: 20;
|
|
179
179
|
}
|
|
180
|
-
.
|
|
180
|
+
.ant-pro-sider .ant-menu {
|
|
181
181
|
background: transparent;
|
|
182
182
|
}
|
|
183
|
-
.
|
|
183
|
+
.ant-pro-sider.ant-layout-sider-light .ant-menu-item a {
|
|
184
184
|
color: rgba(0, 0, 0, 0.85);
|
|
185
185
|
}
|
|
186
|
-
.
|
|
187
|
-
.
|
|
186
|
+
.ant-pro-sider.ant-layout-sider-light .ant-menu-item-selected a,
|
|
187
|
+
.ant-pro-sider.ant-layout-sider-light .ant-menu-item a:hover {
|
|
188
188
|
color: #315EFB;
|
|
189
189
|
}
|
|
190
|
-
.
|
|
190
|
+
.ant-pro-sider-logo {
|
|
191
191
|
position: relative;
|
|
192
192
|
display: flex;
|
|
193
193
|
align-items: center;
|
|
@@ -195,18 +195,18 @@
|
|
|
195
195
|
cursor: pointer;
|
|
196
196
|
transition: padding 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
|
|
197
197
|
}
|
|
198
|
-
.
|
|
198
|
+
.ant-pro-sider-logo > a {
|
|
199
199
|
display: flex;
|
|
200
200
|
align-items: center;
|
|
201
201
|
justify-content: center;
|
|
202
202
|
min-height: 32px;
|
|
203
203
|
}
|
|
204
|
-
.
|
|
204
|
+
.ant-pro-sider-logo img {
|
|
205
205
|
display: inline-block;
|
|
206
206
|
height: 32px;
|
|
207
207
|
vertical-align: middle;
|
|
208
208
|
}
|
|
209
|
-
.
|
|
209
|
+
.ant-pro-sider-logo h1 {
|
|
210
210
|
display: inline-block;
|
|
211
211
|
height: 32px;
|
|
212
212
|
margin: 0 0 0 12px;
|
|
@@ -217,46 +217,46 @@
|
|
|
217
217
|
vertical-align: middle;
|
|
218
218
|
animation: pro-layout-title-hide 0.3s;
|
|
219
219
|
}
|
|
220
|
-
.
|
|
220
|
+
.ant-pro-sider-extra {
|
|
221
221
|
margin-bottom: 16px;
|
|
222
222
|
padding: 0 16px;
|
|
223
223
|
}
|
|
224
|
-
.
|
|
224
|
+
.ant-pro-sider-extra-no-logo {
|
|
225
225
|
margin-top: 16px;
|
|
226
226
|
}
|
|
227
|
-
.
|
|
227
|
+
.ant-pro-sider-menu {
|
|
228
228
|
position: relative;
|
|
229
229
|
z-index: 10;
|
|
230
230
|
min-height: 100%;
|
|
231
231
|
box-shadow: 2px 0 6px rgba(0, 21, 41, 0.35);
|
|
232
232
|
}
|
|
233
|
-
.
|
|
233
|
+
.ant-pro-sider .ant-layout-sider-children {
|
|
234
234
|
display: flex;
|
|
235
235
|
flex-direction: column;
|
|
236
236
|
height: 100%;
|
|
237
237
|
/* 滚动条滑块 */
|
|
238
238
|
}
|
|
239
|
-
.
|
|
239
|
+
.ant-pro-sider .ant-layout-sider-children ::-webkit-scrollbar {
|
|
240
240
|
width: 6px;
|
|
241
241
|
height: 6px;
|
|
242
242
|
}
|
|
243
|
-
.
|
|
243
|
+
.ant-pro-sider .ant-layout-sider-children ::-webkit-scrollbar-track {
|
|
244
244
|
background: rgba(255, 255, 255, 0.15);
|
|
245
245
|
border-radius: 3px;
|
|
246
246
|
box-shadow: inset 0 0 5px rgba(37, 37, 37, 0.05);
|
|
247
247
|
}
|
|
248
|
-
.
|
|
248
|
+
.ant-pro-sider .ant-layout-sider-children ::-webkit-scrollbar-thumb {
|
|
249
249
|
background: rgba(255, 255, 255, 0.2);
|
|
250
250
|
border-radius: 3px;
|
|
251
251
|
box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.05);
|
|
252
252
|
}
|
|
253
|
-
.
|
|
253
|
+
.ant-pro-sider.ant-layout-sider-collapsed .ant-menu-inline-collapsed {
|
|
254
254
|
width: 48px;
|
|
255
255
|
}
|
|
256
|
-
.
|
|
256
|
+
.ant-pro-sider.ant-layout-sider-collapsed .ant-pro-sider-logo {
|
|
257
257
|
padding: 16px 8px;
|
|
258
258
|
}
|
|
259
|
-
.
|
|
259
|
+
.ant-pro-sider.ant-layout-sider.ant-pro-sider-fixed {
|
|
260
260
|
position: fixed;
|
|
261
261
|
top: 0;
|
|
262
262
|
left: 0;
|
|
@@ -266,60 +266,60 @@
|
|
|
266
266
|
overflow-x: hidden;
|
|
267
267
|
box-shadow: 2px 0 8px 0 rgba(29, 35, 41, 0.05);
|
|
268
268
|
}
|
|
269
|
-
.
|
|
269
|
+
.ant-pro-sider.ant-layout-sider.ant-pro-sider-fixed > .ant-menu-root :not(.ant-pro-sider-link-menu) {
|
|
270
270
|
height: calc(100vh - 48px);
|
|
271
271
|
overflow-y: auto;
|
|
272
272
|
}
|
|
273
|
-
.
|
|
273
|
+
.ant-pro-sider-light {
|
|
274
274
|
background-color: #fff;
|
|
275
275
|
box-shadow: 2px 0 8px 0 rgba(29, 35, 41, 0.05);
|
|
276
276
|
}
|
|
277
|
-
.
|
|
277
|
+
.ant-pro-sider-light .ant-layout-sider-children {
|
|
278
278
|
/* 滚动条滑块 */
|
|
279
279
|
}
|
|
280
|
-
.
|
|
280
|
+
.ant-pro-sider-light .ant-layout-sider-children ::-webkit-scrollbar-track {
|
|
281
281
|
background: rgba(0, 0, 0, 0.06);
|
|
282
282
|
border-radius: 3px;
|
|
283
283
|
box-shadow: inset 0 0 5px rgba(0, 21, 41, 0.05);
|
|
284
284
|
}
|
|
285
|
-
.
|
|
285
|
+
.ant-pro-sider-light .ant-layout-sider-children ::-webkit-scrollbar-thumb {
|
|
286
286
|
background: rgba(0, 0, 0, 0.12);
|
|
287
287
|
border-radius: 3px;
|
|
288
288
|
box-shadow: inset 0 0 5px rgba(0, 21, 41, 0.05);
|
|
289
289
|
}
|
|
290
|
-
.
|
|
290
|
+
.ant-pro-sider-light .ant-pro-sider-logo h1 {
|
|
291
291
|
color: #315EFB;
|
|
292
292
|
}
|
|
293
|
-
.
|
|
293
|
+
.ant-pro-sider-light .ant-menu-light {
|
|
294
294
|
border-right-color: transparent;
|
|
295
295
|
}
|
|
296
|
-
.
|
|
296
|
+
.ant-pro-sider-light .ant-pro-sider-collapsed-button {
|
|
297
297
|
border-top: 1px solid #f0f0f0;
|
|
298
298
|
}
|
|
299
|
-
.
|
|
299
|
+
.ant-pro-sider-icon {
|
|
300
300
|
width: 14px;
|
|
301
301
|
vertical-align: baseline;
|
|
302
302
|
}
|
|
303
|
-
.
|
|
303
|
+
.ant-pro-sider-links {
|
|
304
304
|
width: 100%;
|
|
305
305
|
}
|
|
306
|
-
.
|
|
306
|
+
.ant-pro-sider-links ul.ant-menu-root {
|
|
307
307
|
height: auto;
|
|
308
308
|
}
|
|
309
|
-
.
|
|
309
|
+
.ant-pro-sider-collapsed-button {
|
|
310
310
|
border-top: 1px solid rgba(0, 0, 0, 0.25);
|
|
311
311
|
}
|
|
312
|
-
.
|
|
312
|
+
.ant-pro-sider-collapsed-button .anticon {
|
|
313
313
|
font-size: 16px;
|
|
314
314
|
}
|
|
315
|
-
.
|
|
315
|
+
.ant-pro-sider .top-nav-menu li.ant-menu-item {
|
|
316
316
|
height: 100%;
|
|
317
317
|
line-height: 1;
|
|
318
318
|
}
|
|
319
|
-
.
|
|
319
|
+
.ant-pro-sider .drawer .drawer-content {
|
|
320
320
|
background: #001529;
|
|
321
321
|
}
|
|
322
|
-
.
|
|
322
|
+
.ant-pro-menu-item .anticon + .ant-pro-menu-item-title {
|
|
323
323
|
margin-left: 10px;
|
|
324
324
|
}
|
|
325
325
|
@keyframes pro-layout-title-hide {
|
|
@@ -336,7 +336,7 @@
|
|
|
336
336
|
opacity: 1;
|
|
337
337
|
}
|
|
338
338
|
}
|
|
339
|
-
.
|
|
339
|
+
.ant-pro-global-header {
|
|
340
340
|
position: relative;
|
|
341
341
|
display: flex;
|
|
342
342
|
align-items: center;
|
|
@@ -345,37 +345,37 @@
|
|
|
345
345
|
background: #fff;
|
|
346
346
|
box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
|
|
347
347
|
}
|
|
348
|
-
.
|
|
348
|
+
.ant-pro-global-header > * {
|
|
349
349
|
height: 100%;
|
|
350
350
|
}
|
|
351
|
-
.
|
|
351
|
+
.ant-pro-global-header-collapsed-button {
|
|
352
352
|
display: flex;
|
|
353
353
|
align-items: center;
|
|
354
354
|
margin-left: 16px;
|
|
355
355
|
font-size: 20px;
|
|
356
356
|
}
|
|
357
|
-
.
|
|
357
|
+
.ant-pro-global-header-layout-mix {
|
|
358
358
|
background-color: #001529;
|
|
359
359
|
}
|
|
360
|
-
.
|
|
360
|
+
.ant-pro-global-header-layout-mix .ant-pro-global-header-logo h1 {
|
|
361
361
|
color: #fff;
|
|
362
362
|
}
|
|
363
|
-
.
|
|
363
|
+
.ant-pro-global-header-layout-mix .anticon {
|
|
364
364
|
color: #fff;
|
|
365
365
|
}
|
|
366
|
-
.
|
|
366
|
+
.ant-pro-global-header-logo {
|
|
367
367
|
position: relative;
|
|
368
368
|
overflow: hidden;
|
|
369
369
|
}
|
|
370
|
-
.
|
|
370
|
+
.ant-pro-global-header-logo a {
|
|
371
371
|
display: flex;
|
|
372
372
|
align-items: center;
|
|
373
373
|
height: 100%;
|
|
374
374
|
}
|
|
375
|
-
.
|
|
375
|
+
.ant-pro-global-header-logo a img {
|
|
376
376
|
height: 28px;
|
|
377
377
|
}
|
|
378
|
-
.
|
|
378
|
+
.ant-pro-global-header-logo a h1 {
|
|
379
379
|
height: 32px;
|
|
380
380
|
margin: 0 0 0 8px;
|
|
381
381
|
margin: 0 0 0 12px;
|
|
@@ -384,71 +384,71 @@
|
|
|
384
384
|
font-size: 18px;
|
|
385
385
|
line-height: 32px;
|
|
386
386
|
}
|
|
387
|
-
.
|
|
387
|
+
.ant-pro-global-header-menu .anticon {
|
|
388
388
|
margin-right: 8px;
|
|
389
389
|
}
|
|
390
|
-
.
|
|
390
|
+
.ant-pro-global-header-menu .ant-dropdown-menu-item {
|
|
391
391
|
min-width: 160px;
|
|
392
392
|
}
|
|
393
|
-
.
|
|
393
|
+
.ant-pro-global-header .dark {
|
|
394
394
|
height: 48px;
|
|
395
395
|
}
|
|
396
|
-
.
|
|
396
|
+
.ant-pro-global-header .dark .action {
|
|
397
397
|
color: rgba(255, 255, 255, 0.85);
|
|
398
398
|
}
|
|
399
|
-
.
|
|
399
|
+
.ant-pro-global-header .dark .action > i {
|
|
400
400
|
color: rgba(255, 255, 255, 0.85);
|
|
401
401
|
}
|
|
402
|
-
.
|
|
403
|
-
.
|
|
402
|
+
.ant-pro-global-header .dark .action:hover,
|
|
403
|
+
.ant-pro-global-header .dark .action.opened {
|
|
404
404
|
background: #315EFB;
|
|
405
405
|
}
|
|
406
|
-
.
|
|
406
|
+
.ant-pro-global-header .dark .action .ant-badge {
|
|
407
407
|
color: rgba(255, 255, 255, 0.85);
|
|
408
408
|
}
|
|
409
|
-
.
|
|
409
|
+
.ant-pro-top-nav-header {
|
|
410
410
|
position: relative;
|
|
411
411
|
width: 100%;
|
|
412
412
|
height: 100%;
|
|
413
413
|
box-shadow: 0 1px 4px 0 rgba(0, 21, 41, 0.12);
|
|
414
414
|
transition: background 0.3s, width 0.2s;
|
|
415
415
|
}
|
|
416
|
-
.
|
|
416
|
+
.ant-pro-top-nav-header .ant-menu {
|
|
417
417
|
background: transparent;
|
|
418
418
|
}
|
|
419
|
-
.
|
|
419
|
+
.ant-pro-top-nav-header.light {
|
|
420
420
|
background-color: #fff;
|
|
421
421
|
}
|
|
422
|
-
.
|
|
422
|
+
.ant-pro-top-nav-header.light .ant-pro-top-nav-header-logo h1 {
|
|
423
423
|
color: rgba(0, 0, 0, 0.85);
|
|
424
424
|
}
|
|
425
|
-
.
|
|
425
|
+
.ant-pro-top-nav-header.light .anticon {
|
|
426
426
|
color: inherit;
|
|
427
427
|
}
|
|
428
|
-
.
|
|
428
|
+
.ant-pro-top-nav-header-main {
|
|
429
429
|
display: flex;
|
|
430
430
|
height: 100%;
|
|
431
431
|
padding-left: 16px;
|
|
432
432
|
}
|
|
433
|
-
.
|
|
433
|
+
.ant-pro-top-nav-header-main-left {
|
|
434
434
|
display: flex;
|
|
435
435
|
min-width: 192px;
|
|
436
436
|
}
|
|
437
|
-
.
|
|
437
|
+
.ant-pro-top-nav-header .anticon {
|
|
438
438
|
color: #fff;
|
|
439
439
|
}
|
|
440
|
-
.
|
|
440
|
+
.ant-pro-top-nav-header-logo {
|
|
441
441
|
position: relative;
|
|
442
442
|
min-width: 165px;
|
|
443
443
|
height: 100%;
|
|
444
444
|
overflow: hidden;
|
|
445
445
|
}
|
|
446
|
-
.
|
|
446
|
+
.ant-pro-top-nav-header-logo img {
|
|
447
447
|
display: inline-block;
|
|
448
448
|
height: 32px;
|
|
449
449
|
vertical-align: middle;
|
|
450
450
|
}
|
|
451
|
-
.
|
|
451
|
+
.ant-pro-top-nav-header-logo h1 {
|
|
452
452
|
display: inline-block;
|
|
453
453
|
margin: 0 0 0 12px;
|
|
454
454
|
color: #fff;
|
|
@@ -456,20 +456,20 @@
|
|
|
456
456
|
font-size: 16px;
|
|
457
457
|
vertical-align: top;
|
|
458
458
|
}
|
|
459
|
-
.
|
|
459
|
+
.ant-pro-top-nav-header-menu {
|
|
460
460
|
min-width: 0;
|
|
461
461
|
}
|
|
462
|
-
.
|
|
462
|
+
.ant-pro-top-nav-header-menu .ant-menu.ant-menu-horizontal {
|
|
463
463
|
height: 100%;
|
|
464
464
|
border: none;
|
|
465
465
|
}
|
|
466
|
-
.
|
|
466
|
+
.ant-pro-top-nav-header-menu .ant-menu.ant-menu-horizontal .ant-menu-item {
|
|
467
467
|
height: 100%;
|
|
468
468
|
}
|
|
469
|
-
.
|
|
469
|
+
.ant-pro-top-nav-header-menu .ant-menu.ant-menu-horizontal .ant-menu-item .ant-badge {
|
|
470
470
|
color: unset;
|
|
471
471
|
}
|
|
472
|
-
.
|
|
472
|
+
.ant-pro-menu-popup .ant-badge {
|
|
473
473
|
color: unset;
|
|
474
474
|
}
|
|
475
475
|
.jtable-body-spin {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jetlinks-web/components",
|
|
3
|
-
"version": "2.0.4-
|
|
3
|
+
"version": "2.0.4-18",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -134,8 +134,8 @@
|
|
|
134
134
|
"webpack-merge": "^5.0.0",
|
|
135
135
|
"webpackbar": "^5.0.2",
|
|
136
136
|
"@jetlinks-web/constants": "^1.0.2",
|
|
137
|
-
"@jetlinks-web/
|
|
138
|
-
"@jetlinks-web/
|
|
137
|
+
"@jetlinks-web/utils": "^1.0.6",
|
|
138
|
+
"@jetlinks-web/hooks": "^1.0.12"
|
|
139
139
|
},
|
|
140
140
|
"publishConfig": {
|
|
141
141
|
"registry": "https://registry.npmjs.org/",
|