@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.
@@ -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-1713252364046"), n = n(), _popScopeId(), n);
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: 'jetlinks-pro'
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 = 'jetlinks-pro';
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: 'jetlinks-pro'
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: 'jetlinks-pro',
19
+ prefixCls: PropTypes.string.def('ant-pro'),
20
20
  collapsed: PropTypes.looseBool,
21
21
  logo: siderMenuProps.logo,
22
22
  logoStyle: siderMenuProps.logoStyle,
@@ -1,5 +1,4 @@
1
1
  @import 'ant-design-vue/es/style/themes/index.less';
2
- @ant-prefix: "jetlinks";
3
2
 
4
3
  @basicLayout-prefix-cls: ~'@{ant-prefix}-pro-basicLayout';
5
4
  @pro-layout-header-height: 48px;
@@ -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-1713252366869"), n = n(), _popScopeId(), n);
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-1713252365409"), n = n(), _popScopeId(), n);
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,
@@ -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-1713252365890"), n = n(), _popScopeId(), n);
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';
@@ -52,142 +52,142 @@
52
52
  background-color: #f2f3f5;
53
53
  color: #00000060;
54
54
  }
55
- .jetlinks-pro-basicLayout {
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
- .jetlinks-pro-basicLayout .jetlinks-layout-header.jetlinks-pro-fixed-header {
61
+ .ant-pro-basicLayout .ant-layout-header.ant-pro-fixed-header {
62
62
  position: fixed;
63
63
  top: 0;
64
64
  }
65
- .jetlinks-pro-basicLayout-content {
65
+ .ant-pro-basicLayout-content {
66
66
  position: relative;
67
67
  margin: 24px;
68
68
  }
69
- .jetlinks-pro-basicLayout-content .jetlinks-pro-page-container {
69
+ .ant-pro-basicLayout-content .ant-pro-page-container {
70
70
  margin: -24px -24px 0;
71
71
  }
72
- .jetlinks-pro-basicLayout-content-disable-margin {
72
+ .ant-pro-basicLayout-content-disable-margin {
73
73
  margin: 0;
74
74
  }
75
- .jetlinks-pro-basicLayout-content-disable-margin .jetlinks-pro-page-container {
75
+ .ant-pro-basicLayout-content-disable-margin .ant-pro-page-container {
76
76
  margin: 0;
77
77
  }
78
- .jetlinks-pro-basicLayout-content > .jetlinks-layout {
78
+ .ant-pro-basicLayout-content > .ant-layout {
79
79
  max-height: 100%;
80
80
  }
81
- .jetlinks-pro-basicLayout .jetlinks-pro-basicLayout-is-children.jetlinks-pro-basicLayout-fix-siderbar {
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
- .jetlinks-pro-basicLayout .jetlinks-pro-basicLayout-has-header .tech-page-container {
86
+ .ant-pro-basicLayout .ant-pro-basicLayout-has-header .tech-page-container {
87
87
  height: calc(100vh - 48px);
88
88
  }
89
- .jetlinks-pro-basicLayout .jetlinks-pro-basicLayout-has-header .jetlinks-pro-basicLayout-is-children.jetlinks-pro-basicLayout-has-header .tech-page-container {
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
- .jetlinks-pro-basicLayout .jetlinks-pro-basicLayout-has-header .jetlinks-pro-basicLayout-is-children.jetlinks-pro-basicLayout-has-header .jetlinks-pro-basicLayout-is-children {
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
- .jetlinks-pro-basicLayout .jetlinks-pro-basicLayout-has-header .jetlinks-pro-basicLayout-is-children.jetlinks-pro-basicLayout-has-header .jetlinks-pro-basicLayout-is-children.jetlinks-pro-basicLayout-fix-siderbar {
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
- .jetlinks-pro-fixed-header {
98
+ .ant-pro-fixed-header {
99
99
  z-index: 9;
100
100
  width: 100%;
101
101
  }
102
- .jetlinks-pro-page-container-children-content {
102
+ .ant-pro-page-container-children-content {
103
103
  margin: 24px 24px 0;
104
104
  }
105
- .jetlinks-pro-page-container-warp {
105
+ .ant-pro-page-container-warp {
106
106
  background-color: #fff;
107
107
  }
108
- .jetlinks-pro-page-container-warp .jetlinks-tabs-bar {
108
+ .ant-pro-page-container-warp .ant-tabs-bar {
109
109
  margin: 0;
110
110
  }
111
- .jetlinks-pro-page-container-ghost .jetlinks-pro-page-container-warp {
111
+ .ant-pro-page-container-ghost .ant-pro-page-container-warp {
112
112
  background-color: #fff;
113
113
  }
114
- .jetlinks-pro-page-container-main .jetlinks-pro-page-container-detail {
114
+ .ant-pro-page-container-main .ant-pro-page-container-detail {
115
115
  display: flex;
116
116
  }
117
- .jetlinks-pro-page-container-main .jetlinks-pro-page-container-row {
117
+ .ant-pro-page-container-main .ant-pro-page-container-row {
118
118
  display: flex;
119
119
  width: 100%;
120
120
  }
121
- .jetlinks-pro-page-container-main .jetlinks-pro-page-container-title-content {
121
+ .ant-pro-page-container-main .ant-pro-page-container-title-content {
122
122
  margin-bottom: 16px;
123
123
  }
124
- .jetlinks-pro-page-container-main .jetlinks-pro-page-container-title,
125
- .jetlinks-pro-page-container-main .jetlinks-pro-page-container-content {
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
- .jetlinks-pro-page-container-main .jetlinks-pro-page-container-extraContent,
129
- .jetlinks-pro-page-container-main .jetlinks-pro-page-container-main {
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
- .jetlinks-pro-page-container-main .jetlinks-pro-page-container-main {
132
+ .ant-pro-page-container-main .ant-pro-page-container-main {
133
133
  width: 100%;
134
134
  }
135
- .jetlinks-pro-page-container-main .jetlinks-pro-page-container-title {
135
+ .ant-pro-page-container-main .ant-pro-page-container-title {
136
136
  margin-bottom: 16px;
137
137
  }
138
- .jetlinks-pro-page-container-main .jetlinks-pro-page-container-logo {
138
+ .ant-pro-page-container-main .ant-pro-page-container-logo {
139
139
  margin-bottom: 16px;
140
140
  }
141
- .jetlinks-pro-page-container-main .jetlinks-pro-page-container-extraContent {
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
- .jetlinks-pro-page-container-main .jetlinks-pro-page-container-extraContent {
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
- .jetlinks-pro-page-container-main .jetlinks-pro-page-container-extraContent {
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
- .jetlinks-pro-page-container-main .jetlinks-pro-page-container-row {
157
+ .ant-pro-page-container-main .ant-pro-page-container-row {
158
158
  display: block;
159
159
  }
160
- .jetlinks-pro-page-container-main .jetlinks-pro-page-container-action,
161
- .jetlinks-pro-page-container-main .jetlinks-pro-page-container-extraContent {
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
- .jetlinks-pro-page-container-detail {
167
+ .ant-pro-page-container-detail {
168
168
  display: block;
169
169
  }
170
- .jetlinks-pro-page-container-extraContent {
170
+ .ant-pro-page-container-extraContent {
171
171
  margin-left: 0;
172
172
  }
173
173
  }
174
- .jetlinks-pro-sider {
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
- .jetlinks-pro-sider .jetlinks-menu {
180
+ .ant-pro-sider .ant-menu {
181
181
  background: transparent;
182
182
  }
183
- .jetlinks-pro-sider.jetlinks-layout-sider-light .jetlinks-menu-item a {
183
+ .ant-pro-sider.ant-layout-sider-light .ant-menu-item a {
184
184
  color: rgba(0, 0, 0, 0.85);
185
185
  }
186
- .jetlinks-pro-sider.jetlinks-layout-sider-light .jetlinks-menu-item-selected a,
187
- .jetlinks-pro-sider.jetlinks-layout-sider-light .jetlinks-menu-item a:hover {
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
- .jetlinks-pro-sider-logo {
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
- .jetlinks-pro-sider-logo > a {
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
- .jetlinks-pro-sider-logo img {
204
+ .ant-pro-sider-logo img {
205
205
  display: inline-block;
206
206
  height: 32px;
207
207
  vertical-align: middle;
208
208
  }
209
- .jetlinks-pro-sider-logo h1 {
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
- .jetlinks-pro-sider-extra {
220
+ .ant-pro-sider-extra {
221
221
  margin-bottom: 16px;
222
222
  padding: 0 16px;
223
223
  }
224
- .jetlinks-pro-sider-extra-no-logo {
224
+ .ant-pro-sider-extra-no-logo {
225
225
  margin-top: 16px;
226
226
  }
227
- .jetlinks-pro-sider-menu {
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
- .jetlinks-pro-sider .jetlinks-layout-sider-children {
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
- .jetlinks-pro-sider .jetlinks-layout-sider-children ::-webkit-scrollbar {
239
+ .ant-pro-sider .ant-layout-sider-children ::-webkit-scrollbar {
240
240
  width: 6px;
241
241
  height: 6px;
242
242
  }
243
- .jetlinks-pro-sider .jetlinks-layout-sider-children ::-webkit-scrollbar-track {
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
- .jetlinks-pro-sider .jetlinks-layout-sider-children ::-webkit-scrollbar-thumb {
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
- .jetlinks-pro-sider.jetlinks-layout-sider-collapsed .jetlinks-menu-inline-collapsed {
253
+ .ant-pro-sider.ant-layout-sider-collapsed .ant-menu-inline-collapsed {
254
254
  width: 48px;
255
255
  }
256
- .jetlinks-pro-sider.jetlinks-layout-sider-collapsed .jetlinks-pro-sider-logo {
256
+ .ant-pro-sider.ant-layout-sider-collapsed .ant-pro-sider-logo {
257
257
  padding: 16px 8px;
258
258
  }
259
- .jetlinks-pro-sider.jetlinks-layout-sider.jetlinks-pro-sider-fixed {
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
- .jetlinks-pro-sider.jetlinks-layout-sider.jetlinks-pro-sider-fixed > .jetlinks-menu-root :not(.jetlinks-pro-sider-link-menu) {
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
- .jetlinks-pro-sider-light {
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
- .jetlinks-pro-sider-light .jetlinks-layout-sider-children {
277
+ .ant-pro-sider-light .ant-layout-sider-children {
278
278
  /* 滚动条滑块 */
279
279
  }
280
- .jetlinks-pro-sider-light .jetlinks-layout-sider-children ::-webkit-scrollbar-track {
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
- .jetlinks-pro-sider-light .jetlinks-layout-sider-children ::-webkit-scrollbar-thumb {
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
- .jetlinks-pro-sider-light .jetlinks-pro-sider-logo h1 {
290
+ .ant-pro-sider-light .ant-pro-sider-logo h1 {
291
291
  color: #315EFB;
292
292
  }
293
- .jetlinks-pro-sider-light .jetlinks-menu-light {
293
+ .ant-pro-sider-light .ant-menu-light {
294
294
  border-right-color: transparent;
295
295
  }
296
- .jetlinks-pro-sider-light .jetlinks-pro-sider-collapsed-button {
296
+ .ant-pro-sider-light .ant-pro-sider-collapsed-button {
297
297
  border-top: 1px solid #f0f0f0;
298
298
  }
299
- .jetlinks-pro-sider-icon {
299
+ .ant-pro-sider-icon {
300
300
  width: 14px;
301
301
  vertical-align: baseline;
302
302
  }
303
- .jetlinks-pro-sider-links {
303
+ .ant-pro-sider-links {
304
304
  width: 100%;
305
305
  }
306
- .jetlinks-pro-sider-links ul.jetlinks-menu-root {
306
+ .ant-pro-sider-links ul.ant-menu-root {
307
307
  height: auto;
308
308
  }
309
- .jetlinks-pro-sider-collapsed-button {
309
+ .ant-pro-sider-collapsed-button {
310
310
  border-top: 1px solid rgba(0, 0, 0, 0.25);
311
311
  }
312
- .jetlinks-pro-sider-collapsed-button .anticon {
312
+ .ant-pro-sider-collapsed-button .anticon {
313
313
  font-size: 16px;
314
314
  }
315
- .jetlinks-pro-sider .top-nav-menu li.jetlinks-menu-item {
315
+ .ant-pro-sider .top-nav-menu li.ant-menu-item {
316
316
  height: 100%;
317
317
  line-height: 1;
318
318
  }
319
- .jetlinks-pro-sider .drawer .drawer-content {
319
+ .ant-pro-sider .drawer .drawer-content {
320
320
  background: #001529;
321
321
  }
322
- .jetlinks-pro-menu-item .anticon + .jetlinks-pro-menu-item-title {
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
- .jetlinks-pro-global-header {
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
- .jetlinks-pro-global-header > * {
348
+ .ant-pro-global-header > * {
349
349
  height: 100%;
350
350
  }
351
- .jetlinks-pro-global-header-collapsed-button {
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
- .jetlinks-pro-global-header-layout-mix {
357
+ .ant-pro-global-header-layout-mix {
358
358
  background-color: #001529;
359
359
  }
360
- .jetlinks-pro-global-header-layout-mix .jetlinks-pro-global-header-logo h1 {
360
+ .ant-pro-global-header-layout-mix .ant-pro-global-header-logo h1 {
361
361
  color: #fff;
362
362
  }
363
- .jetlinks-pro-global-header-layout-mix .anticon {
363
+ .ant-pro-global-header-layout-mix .anticon {
364
364
  color: #fff;
365
365
  }
366
- .jetlinks-pro-global-header-logo {
366
+ .ant-pro-global-header-logo {
367
367
  position: relative;
368
368
  overflow: hidden;
369
369
  }
370
- .jetlinks-pro-global-header-logo a {
370
+ .ant-pro-global-header-logo a {
371
371
  display: flex;
372
372
  align-items: center;
373
373
  height: 100%;
374
374
  }
375
- .jetlinks-pro-global-header-logo a img {
375
+ .ant-pro-global-header-logo a img {
376
376
  height: 28px;
377
377
  }
378
- .jetlinks-pro-global-header-logo a h1 {
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
- .jetlinks-pro-global-header-menu .anticon {
387
+ .ant-pro-global-header-menu .anticon {
388
388
  margin-right: 8px;
389
389
  }
390
- .jetlinks-pro-global-header-menu .jetlinks-dropdown-menu-item {
390
+ .ant-pro-global-header-menu .ant-dropdown-menu-item {
391
391
  min-width: 160px;
392
392
  }
393
- .jetlinks-pro-global-header .dark {
393
+ .ant-pro-global-header .dark {
394
394
  height: 48px;
395
395
  }
396
- .jetlinks-pro-global-header .dark .action {
396
+ .ant-pro-global-header .dark .action {
397
397
  color: rgba(255, 255, 255, 0.85);
398
398
  }
399
- .jetlinks-pro-global-header .dark .action > i {
399
+ .ant-pro-global-header .dark .action > i {
400
400
  color: rgba(255, 255, 255, 0.85);
401
401
  }
402
- .jetlinks-pro-global-header .dark .action:hover,
403
- .jetlinks-pro-global-header .dark .action.opened {
402
+ .ant-pro-global-header .dark .action:hover,
403
+ .ant-pro-global-header .dark .action.opened {
404
404
  background: #315EFB;
405
405
  }
406
- .jetlinks-pro-global-header .dark .action .jetlinks-badge {
406
+ .ant-pro-global-header .dark .action .ant-badge {
407
407
  color: rgba(255, 255, 255, 0.85);
408
408
  }
409
- .jetlinks-pro-top-nav-header {
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
- .jetlinks-pro-top-nav-header .jetlinks-menu {
416
+ .ant-pro-top-nav-header .ant-menu {
417
417
  background: transparent;
418
418
  }
419
- .jetlinks-pro-top-nav-header.light {
419
+ .ant-pro-top-nav-header.light {
420
420
  background-color: #fff;
421
421
  }
422
- .jetlinks-pro-top-nav-header.light .jetlinks-pro-top-nav-header-logo h1 {
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
- .jetlinks-pro-top-nav-header.light .anticon {
425
+ .ant-pro-top-nav-header.light .anticon {
426
426
  color: inherit;
427
427
  }
428
- .jetlinks-pro-top-nav-header-main {
428
+ .ant-pro-top-nav-header-main {
429
429
  display: flex;
430
430
  height: 100%;
431
431
  padding-left: 16px;
432
432
  }
433
- .jetlinks-pro-top-nav-header-main-left {
433
+ .ant-pro-top-nav-header-main-left {
434
434
  display: flex;
435
435
  min-width: 192px;
436
436
  }
437
- .jetlinks-pro-top-nav-header .anticon {
437
+ .ant-pro-top-nav-header .anticon {
438
438
  color: #fff;
439
439
  }
440
- .jetlinks-pro-top-nav-header-logo {
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
- .jetlinks-pro-top-nav-header-logo img {
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
- .jetlinks-pro-top-nav-header-logo h1 {
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
- .jetlinks-pro-top-nav-header-menu {
459
+ .ant-pro-top-nav-header-menu {
460
460
  min-width: 0;
461
461
  }
462
- .jetlinks-pro-top-nav-header-menu .jetlinks-menu.jetlinks-menu-horizontal {
462
+ .ant-pro-top-nav-header-menu .ant-menu.ant-menu-horizontal {
463
463
  height: 100%;
464
464
  border: none;
465
465
  }
466
- .jetlinks-pro-top-nav-header-menu .jetlinks-menu.jetlinks-menu-horizontal .jetlinks-menu-item {
466
+ .ant-pro-top-nav-header-menu .ant-menu.ant-menu-horizontal .ant-menu-item {
467
467
  height: 100%;
468
468
  }
469
- .jetlinks-pro-top-nav-header-menu .jetlinks-menu.jetlinks-menu-horizontal .jetlinks-menu-item .jetlinks-badge {
469
+ .ant-pro-top-nav-header-menu .ant-menu.ant-menu-horizontal .ant-menu-item .ant-badge {
470
470
  color: unset;
471
471
  }
472
- .jetlinks-pro-menu-popup .jetlinks-badge {
472
+ .ant-pro-menu-popup .ant-badge {
473
473
  color: unset;
474
474
  }
475
475
  .jtable-body-spin {
@@ -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-1713252364022"), n = n(), _popScopeId(), n);
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: 'jetlinks-pro'
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 = 'jetlinks-pro';
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: 'jetlinks-pro'
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: 'jetlinks-pro',
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,
@@ -1,5 +1,4 @@
1
1
  @import 'ant-design-vue/es/style/themes/index.less';
2
- @ant-prefix: "jetlinks";
3
2
 
4
3
  @basicLayout-prefix-cls: ~'@{ant-prefix}-pro-basicLayout';
5
4
  @pro-layout-header-height: 48px;
@@ -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-1713252366819"), n = n(), _popScopeId(), n);
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" }
@@ -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-1713252365211"), n = n(), _popScopeId(), n);
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,
@@ -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-1713252365808"), n = n(), _popScopeId(), n);
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';
@@ -52,142 +52,142 @@
52
52
  background-color: #f2f3f5;
53
53
  color: #00000060;
54
54
  }
55
- .jetlinks-pro-basicLayout {
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
- .jetlinks-pro-basicLayout .jetlinks-layout-header.jetlinks-pro-fixed-header {
61
+ .ant-pro-basicLayout .ant-layout-header.ant-pro-fixed-header {
62
62
  position: fixed;
63
63
  top: 0;
64
64
  }
65
- .jetlinks-pro-basicLayout-content {
65
+ .ant-pro-basicLayout-content {
66
66
  position: relative;
67
67
  margin: 24px;
68
68
  }
69
- .jetlinks-pro-basicLayout-content .jetlinks-pro-page-container {
69
+ .ant-pro-basicLayout-content .ant-pro-page-container {
70
70
  margin: -24px -24px 0;
71
71
  }
72
- .jetlinks-pro-basicLayout-content-disable-margin {
72
+ .ant-pro-basicLayout-content-disable-margin {
73
73
  margin: 0;
74
74
  }
75
- .jetlinks-pro-basicLayout-content-disable-margin .jetlinks-pro-page-container {
75
+ .ant-pro-basicLayout-content-disable-margin .ant-pro-page-container {
76
76
  margin: 0;
77
77
  }
78
- .jetlinks-pro-basicLayout-content > .jetlinks-layout {
78
+ .ant-pro-basicLayout-content > .ant-layout {
79
79
  max-height: 100%;
80
80
  }
81
- .jetlinks-pro-basicLayout .jetlinks-pro-basicLayout-is-children.jetlinks-pro-basicLayout-fix-siderbar {
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
- .jetlinks-pro-basicLayout .jetlinks-pro-basicLayout-has-header .tech-page-container {
86
+ .ant-pro-basicLayout .ant-pro-basicLayout-has-header .tech-page-container {
87
87
  height: calc(100vh - 48px);
88
88
  }
89
- .jetlinks-pro-basicLayout .jetlinks-pro-basicLayout-has-header .jetlinks-pro-basicLayout-is-children.jetlinks-pro-basicLayout-has-header .tech-page-container {
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
- .jetlinks-pro-basicLayout .jetlinks-pro-basicLayout-has-header .jetlinks-pro-basicLayout-is-children.jetlinks-pro-basicLayout-has-header .jetlinks-pro-basicLayout-is-children {
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
- .jetlinks-pro-basicLayout .jetlinks-pro-basicLayout-has-header .jetlinks-pro-basicLayout-is-children.jetlinks-pro-basicLayout-has-header .jetlinks-pro-basicLayout-is-children.jetlinks-pro-basicLayout-fix-siderbar {
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
- .jetlinks-pro-fixed-header {
98
+ .ant-pro-fixed-header {
99
99
  z-index: 9;
100
100
  width: 100%;
101
101
  }
102
- .jetlinks-pro-page-container-children-content {
102
+ .ant-pro-page-container-children-content {
103
103
  margin: 24px 24px 0;
104
104
  }
105
- .jetlinks-pro-page-container-warp {
105
+ .ant-pro-page-container-warp {
106
106
  background-color: #fff;
107
107
  }
108
- .jetlinks-pro-page-container-warp .jetlinks-tabs-bar {
108
+ .ant-pro-page-container-warp .ant-tabs-bar {
109
109
  margin: 0;
110
110
  }
111
- .jetlinks-pro-page-container-ghost .jetlinks-pro-page-container-warp {
111
+ .ant-pro-page-container-ghost .ant-pro-page-container-warp {
112
112
  background-color: #fff;
113
113
  }
114
- .jetlinks-pro-page-container-main .jetlinks-pro-page-container-detail {
114
+ .ant-pro-page-container-main .ant-pro-page-container-detail {
115
115
  display: flex;
116
116
  }
117
- .jetlinks-pro-page-container-main .jetlinks-pro-page-container-row {
117
+ .ant-pro-page-container-main .ant-pro-page-container-row {
118
118
  display: flex;
119
119
  width: 100%;
120
120
  }
121
- .jetlinks-pro-page-container-main .jetlinks-pro-page-container-title-content {
121
+ .ant-pro-page-container-main .ant-pro-page-container-title-content {
122
122
  margin-bottom: 16px;
123
123
  }
124
- .jetlinks-pro-page-container-main .jetlinks-pro-page-container-title,
125
- .jetlinks-pro-page-container-main .jetlinks-pro-page-container-content {
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
- .jetlinks-pro-page-container-main .jetlinks-pro-page-container-extraContent,
129
- .jetlinks-pro-page-container-main .jetlinks-pro-page-container-main {
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
- .jetlinks-pro-page-container-main .jetlinks-pro-page-container-main {
132
+ .ant-pro-page-container-main .ant-pro-page-container-main {
133
133
  width: 100%;
134
134
  }
135
- .jetlinks-pro-page-container-main .jetlinks-pro-page-container-title {
135
+ .ant-pro-page-container-main .ant-pro-page-container-title {
136
136
  margin-bottom: 16px;
137
137
  }
138
- .jetlinks-pro-page-container-main .jetlinks-pro-page-container-logo {
138
+ .ant-pro-page-container-main .ant-pro-page-container-logo {
139
139
  margin-bottom: 16px;
140
140
  }
141
- .jetlinks-pro-page-container-main .jetlinks-pro-page-container-extraContent {
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
- .jetlinks-pro-page-container-main .jetlinks-pro-page-container-extraContent {
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
- .jetlinks-pro-page-container-main .jetlinks-pro-page-container-extraContent {
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
- .jetlinks-pro-page-container-main .jetlinks-pro-page-container-row {
157
+ .ant-pro-page-container-main .ant-pro-page-container-row {
158
158
  display: block;
159
159
  }
160
- .jetlinks-pro-page-container-main .jetlinks-pro-page-container-action,
161
- .jetlinks-pro-page-container-main .jetlinks-pro-page-container-extraContent {
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
- .jetlinks-pro-page-container-detail {
167
+ .ant-pro-page-container-detail {
168
168
  display: block;
169
169
  }
170
- .jetlinks-pro-page-container-extraContent {
170
+ .ant-pro-page-container-extraContent {
171
171
  margin-left: 0;
172
172
  }
173
173
  }
174
- .jetlinks-pro-sider {
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
- .jetlinks-pro-sider .jetlinks-menu {
180
+ .ant-pro-sider .ant-menu {
181
181
  background: transparent;
182
182
  }
183
- .jetlinks-pro-sider.jetlinks-layout-sider-light .jetlinks-menu-item a {
183
+ .ant-pro-sider.ant-layout-sider-light .ant-menu-item a {
184
184
  color: rgba(0, 0, 0, 0.85);
185
185
  }
186
- .jetlinks-pro-sider.jetlinks-layout-sider-light .jetlinks-menu-item-selected a,
187
- .jetlinks-pro-sider.jetlinks-layout-sider-light .jetlinks-menu-item a:hover {
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
- .jetlinks-pro-sider-logo {
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
- .jetlinks-pro-sider-logo > a {
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
- .jetlinks-pro-sider-logo img {
204
+ .ant-pro-sider-logo img {
205
205
  display: inline-block;
206
206
  height: 32px;
207
207
  vertical-align: middle;
208
208
  }
209
- .jetlinks-pro-sider-logo h1 {
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
- .jetlinks-pro-sider-extra {
220
+ .ant-pro-sider-extra {
221
221
  margin-bottom: 16px;
222
222
  padding: 0 16px;
223
223
  }
224
- .jetlinks-pro-sider-extra-no-logo {
224
+ .ant-pro-sider-extra-no-logo {
225
225
  margin-top: 16px;
226
226
  }
227
- .jetlinks-pro-sider-menu {
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
- .jetlinks-pro-sider .jetlinks-layout-sider-children {
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
- .jetlinks-pro-sider .jetlinks-layout-sider-children ::-webkit-scrollbar {
239
+ .ant-pro-sider .ant-layout-sider-children ::-webkit-scrollbar {
240
240
  width: 6px;
241
241
  height: 6px;
242
242
  }
243
- .jetlinks-pro-sider .jetlinks-layout-sider-children ::-webkit-scrollbar-track {
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
- .jetlinks-pro-sider .jetlinks-layout-sider-children ::-webkit-scrollbar-thumb {
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
- .jetlinks-pro-sider.jetlinks-layout-sider-collapsed .jetlinks-menu-inline-collapsed {
253
+ .ant-pro-sider.ant-layout-sider-collapsed .ant-menu-inline-collapsed {
254
254
  width: 48px;
255
255
  }
256
- .jetlinks-pro-sider.jetlinks-layout-sider-collapsed .jetlinks-pro-sider-logo {
256
+ .ant-pro-sider.ant-layout-sider-collapsed .ant-pro-sider-logo {
257
257
  padding: 16px 8px;
258
258
  }
259
- .jetlinks-pro-sider.jetlinks-layout-sider.jetlinks-pro-sider-fixed {
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
- .jetlinks-pro-sider.jetlinks-layout-sider.jetlinks-pro-sider-fixed > .jetlinks-menu-root :not(.jetlinks-pro-sider-link-menu) {
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
- .jetlinks-pro-sider-light {
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
- .jetlinks-pro-sider-light .jetlinks-layout-sider-children {
277
+ .ant-pro-sider-light .ant-layout-sider-children {
278
278
  /* 滚动条滑块 */
279
279
  }
280
- .jetlinks-pro-sider-light .jetlinks-layout-sider-children ::-webkit-scrollbar-track {
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
- .jetlinks-pro-sider-light .jetlinks-layout-sider-children ::-webkit-scrollbar-thumb {
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
- .jetlinks-pro-sider-light .jetlinks-pro-sider-logo h1 {
290
+ .ant-pro-sider-light .ant-pro-sider-logo h1 {
291
291
  color: #315EFB;
292
292
  }
293
- .jetlinks-pro-sider-light .jetlinks-menu-light {
293
+ .ant-pro-sider-light .ant-menu-light {
294
294
  border-right-color: transparent;
295
295
  }
296
- .jetlinks-pro-sider-light .jetlinks-pro-sider-collapsed-button {
296
+ .ant-pro-sider-light .ant-pro-sider-collapsed-button {
297
297
  border-top: 1px solid #f0f0f0;
298
298
  }
299
- .jetlinks-pro-sider-icon {
299
+ .ant-pro-sider-icon {
300
300
  width: 14px;
301
301
  vertical-align: baseline;
302
302
  }
303
- .jetlinks-pro-sider-links {
303
+ .ant-pro-sider-links {
304
304
  width: 100%;
305
305
  }
306
- .jetlinks-pro-sider-links ul.jetlinks-menu-root {
306
+ .ant-pro-sider-links ul.ant-menu-root {
307
307
  height: auto;
308
308
  }
309
- .jetlinks-pro-sider-collapsed-button {
309
+ .ant-pro-sider-collapsed-button {
310
310
  border-top: 1px solid rgba(0, 0, 0, 0.25);
311
311
  }
312
- .jetlinks-pro-sider-collapsed-button .anticon {
312
+ .ant-pro-sider-collapsed-button .anticon {
313
313
  font-size: 16px;
314
314
  }
315
- .jetlinks-pro-sider .top-nav-menu li.jetlinks-menu-item {
315
+ .ant-pro-sider .top-nav-menu li.ant-menu-item {
316
316
  height: 100%;
317
317
  line-height: 1;
318
318
  }
319
- .jetlinks-pro-sider .drawer .drawer-content {
319
+ .ant-pro-sider .drawer .drawer-content {
320
320
  background: #001529;
321
321
  }
322
- .jetlinks-pro-menu-item .anticon + .jetlinks-pro-menu-item-title {
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
- .jetlinks-pro-global-header {
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
- .jetlinks-pro-global-header > * {
348
+ .ant-pro-global-header > * {
349
349
  height: 100%;
350
350
  }
351
- .jetlinks-pro-global-header-collapsed-button {
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
- .jetlinks-pro-global-header-layout-mix {
357
+ .ant-pro-global-header-layout-mix {
358
358
  background-color: #001529;
359
359
  }
360
- .jetlinks-pro-global-header-layout-mix .jetlinks-pro-global-header-logo h1 {
360
+ .ant-pro-global-header-layout-mix .ant-pro-global-header-logo h1 {
361
361
  color: #fff;
362
362
  }
363
- .jetlinks-pro-global-header-layout-mix .anticon {
363
+ .ant-pro-global-header-layout-mix .anticon {
364
364
  color: #fff;
365
365
  }
366
- .jetlinks-pro-global-header-logo {
366
+ .ant-pro-global-header-logo {
367
367
  position: relative;
368
368
  overflow: hidden;
369
369
  }
370
- .jetlinks-pro-global-header-logo a {
370
+ .ant-pro-global-header-logo a {
371
371
  display: flex;
372
372
  align-items: center;
373
373
  height: 100%;
374
374
  }
375
- .jetlinks-pro-global-header-logo a img {
375
+ .ant-pro-global-header-logo a img {
376
376
  height: 28px;
377
377
  }
378
- .jetlinks-pro-global-header-logo a h1 {
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
- .jetlinks-pro-global-header-menu .anticon {
387
+ .ant-pro-global-header-menu .anticon {
388
388
  margin-right: 8px;
389
389
  }
390
- .jetlinks-pro-global-header-menu .jetlinks-dropdown-menu-item {
390
+ .ant-pro-global-header-menu .ant-dropdown-menu-item {
391
391
  min-width: 160px;
392
392
  }
393
- .jetlinks-pro-global-header .dark {
393
+ .ant-pro-global-header .dark {
394
394
  height: 48px;
395
395
  }
396
- .jetlinks-pro-global-header .dark .action {
396
+ .ant-pro-global-header .dark .action {
397
397
  color: rgba(255, 255, 255, 0.85);
398
398
  }
399
- .jetlinks-pro-global-header .dark .action > i {
399
+ .ant-pro-global-header .dark .action > i {
400
400
  color: rgba(255, 255, 255, 0.85);
401
401
  }
402
- .jetlinks-pro-global-header .dark .action:hover,
403
- .jetlinks-pro-global-header .dark .action.opened {
402
+ .ant-pro-global-header .dark .action:hover,
403
+ .ant-pro-global-header .dark .action.opened {
404
404
  background: #315EFB;
405
405
  }
406
- .jetlinks-pro-global-header .dark .action .jetlinks-badge {
406
+ .ant-pro-global-header .dark .action .ant-badge {
407
407
  color: rgba(255, 255, 255, 0.85);
408
408
  }
409
- .jetlinks-pro-top-nav-header {
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
- .jetlinks-pro-top-nav-header .jetlinks-menu {
416
+ .ant-pro-top-nav-header .ant-menu {
417
417
  background: transparent;
418
418
  }
419
- .jetlinks-pro-top-nav-header.light {
419
+ .ant-pro-top-nav-header.light {
420
420
  background-color: #fff;
421
421
  }
422
- .jetlinks-pro-top-nav-header.light .jetlinks-pro-top-nav-header-logo h1 {
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
- .jetlinks-pro-top-nav-header.light .anticon {
425
+ .ant-pro-top-nav-header.light .anticon {
426
426
  color: inherit;
427
427
  }
428
- .jetlinks-pro-top-nav-header-main {
428
+ .ant-pro-top-nav-header-main {
429
429
  display: flex;
430
430
  height: 100%;
431
431
  padding-left: 16px;
432
432
  }
433
- .jetlinks-pro-top-nav-header-main-left {
433
+ .ant-pro-top-nav-header-main-left {
434
434
  display: flex;
435
435
  min-width: 192px;
436
436
  }
437
- .jetlinks-pro-top-nav-header .anticon {
437
+ .ant-pro-top-nav-header .anticon {
438
438
  color: #fff;
439
439
  }
440
- .jetlinks-pro-top-nav-header-logo {
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
- .jetlinks-pro-top-nav-header-logo img {
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
- .jetlinks-pro-top-nav-header-logo h1 {
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
- .jetlinks-pro-top-nav-header-menu {
459
+ .ant-pro-top-nav-header-menu {
460
460
  min-width: 0;
461
461
  }
462
- .jetlinks-pro-top-nav-header-menu .jetlinks-menu.jetlinks-menu-horizontal {
462
+ .ant-pro-top-nav-header-menu .ant-menu.ant-menu-horizontal {
463
463
  height: 100%;
464
464
  border: none;
465
465
  }
466
- .jetlinks-pro-top-nav-header-menu .jetlinks-menu.jetlinks-menu-horizontal .jetlinks-menu-item {
466
+ .ant-pro-top-nav-header-menu .ant-menu.ant-menu-horizontal .ant-menu-item {
467
467
  height: 100%;
468
468
  }
469
- .jetlinks-pro-top-nav-header-menu .jetlinks-menu.jetlinks-menu-horizontal .jetlinks-menu-item .jetlinks-badge {
469
+ .ant-pro-top-nav-header-menu .ant-menu.ant-menu-horizontal .ant-menu-item .ant-badge {
470
470
  color: unset;
471
471
  }
472
- .jetlinks-pro-menu-popup .jetlinks-badge {
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-16",
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/hooks": "^1.0.12",
138
- "@jetlinks-web/utils": "^1.0.6"
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/",