@jetlinks-web/components 2.0.3 → 2.0.4-10
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/AMap/Map.js +5 -1
- package/es/AMap/index.js +3 -0
- package/es/BadgeStatus/Badge.js +3 -0
- package/es/BadgeStatus/index.js +3 -0
- package/es/CardSelect/CardSelect.js +4 -2
- package/es/CardSelect/index.js +3 -0
- package/es/CheckButton/CheckButton.js +4 -2
- package/es/CheckButton/index.js +3 -0
- package/es/CheckButton/style/index.css +37 -0
- package/es/CheckButton/style/index.less +40 -0
- package/es/ConfigProvider/index.js +3 -0
- package/es/Echarts/Echarts.js +3 -0
- package/es/Echarts/index.js +3 -0
- package/es/Ellipsis/Ellipsis.js +26 -23
- package/es/Ellipsis/index.js +3 -0
- package/es/Ellipsis/style/index.css +17 -0
- package/es/Ellipsis/style/index.less +20 -0
- package/es/Empty/Empty.js +3 -0
- package/es/Empty/index.js +3 -0
- package/es/FullPage/FullPage.js +4 -1
- package/es/FullPage/index.js +3 -0
- package/es/Icon/index.js +3 -0
- package/es/MonacoEditor/Monaco.js +4 -2
- package/es/MonacoEditor/index.js +3 -0
- package/es/PermissionButton/index.js +4 -1
- package/es/ProLayout/index.js +3 -0
- package/es/ProLayout/style/default.less +4 -4
- package/es/ProTable/index.js +4 -1
- package/es/ProTable/style/index.less +92 -92
- package/es/Scrollbar/index.js +3 -0
- package/es/Search/Advanced/SaveHistory.js +1 -1
- package/es/Search/Advanced/index.js +3 -0
- package/es/Search/Item.js +1 -1
- package/es/Search/Search.js +4 -1
- package/es/Search/index.js +3 -0
- package/es/ValueItem/ValueItem.js +3 -0
- package/es/ValueItem/index.js +3 -0
- package/es/components.js +17 -0
- package/es/index.js +13 -22
- package/es/style/index.css +287 -0
- package/es/style/index.less +6 -0
- package/es/style/variable.less +2 -2
- package/es/style.js +2 -0
- package/lib/AMap/Map.js +5 -1
- package/lib/AMap/index.js +3 -0
- package/lib/BadgeStatus/Badge.js +3 -0
- package/lib/BadgeStatus/index.js +3 -0
- package/lib/CardSelect/CardSelect.js +4 -2
- package/lib/CardSelect/index.js +3 -0
- package/lib/CheckButton/CheckButton.js +4 -2
- package/lib/CheckButton/index.js +3 -0
- package/lib/CheckButton/style/index.css +37 -0
- package/lib/CheckButton/style/index.less +40 -0
- package/lib/ConfigProvider/index.js +3 -0
- package/lib/Echarts/Echarts.js +3 -0
- package/lib/Echarts/index.js +3 -0
- package/lib/Ellipsis/Ellipsis.js +26 -23
- package/lib/Ellipsis/index.js +3 -0
- package/lib/Ellipsis/style/index.css +17 -0
- package/lib/Ellipsis/style/index.less +20 -0
- package/lib/Empty/Empty.js +3 -0
- package/lib/Empty/index.js +3 -0
- package/lib/FullPage/FullPage.js +4 -1
- package/lib/FullPage/index.js +3 -0
- package/lib/Icon/index.js +3 -0
- package/lib/MonacoEditor/Monaco.js +4 -2
- package/lib/MonacoEditor/index.js +3 -0
- package/lib/PermissionButton/index.js +4 -1
- package/lib/ProLayout/index.js +3 -0
- package/lib/ProLayout/style/default.less +4 -4
- package/lib/ProTable/index.js +4 -1
- package/lib/ProTable/style/index.less +92 -92
- package/lib/Scrollbar/index.js +3 -0
- package/lib/Search/Advanced/SaveHistory.js +1 -1
- package/lib/Search/Advanced/index.js +3 -0
- package/lib/Search/Item.js +1 -1
- package/lib/Search/Search.js +4 -1
- package/lib/Search/index.js +3 -0
- package/lib/ValueItem/ValueItem.js +3 -0
- package/lib/ValueItem/index.js +3 -0
- package/lib/components.js +134 -0
- package/lib/index.js +18 -138
- package/lib/style/components.less +2 -0
- package/lib/style/index.css +287 -0
- package/lib/style/index.less +6 -0
- package/lib/style/variable.less +2 -2
- package/lib/style.js +2 -0
- package/package.json +8 -9
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
Object.defineProperty(exports, "AIcon", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function get() {
|
|
11
|
+
return _Icon.default;
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
Object.defineProperty(exports, "AdvancedSearch", {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function get() {
|
|
17
|
+
return _Search.AdvancedSearch;
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
Object.defineProperty(exports, "BadgeStatus", {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
get: function get() {
|
|
23
|
+
return _BadgeStatus.default;
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
Object.defineProperty(exports, "CardSelect", {
|
|
27
|
+
enumerable: true,
|
|
28
|
+
get: function get() {
|
|
29
|
+
return _CardSelect.default;
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
Object.defineProperty(exports, "CheckButton", {
|
|
33
|
+
enumerable: true,
|
|
34
|
+
get: function get() {
|
|
35
|
+
return _CheckButton.default;
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
Object.defineProperty(exports, "ConfigProvider", {
|
|
39
|
+
enumerable: true,
|
|
40
|
+
get: function get() {
|
|
41
|
+
return _ConfigProvider.default;
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
Object.defineProperty(exports, "Echarts", {
|
|
45
|
+
enumerable: true,
|
|
46
|
+
get: function get() {
|
|
47
|
+
return _Echarts.default;
|
|
48
|
+
}
|
|
49
|
+
});
|
|
50
|
+
Object.defineProperty(exports, "Ellipsis", {
|
|
51
|
+
enumerable: true,
|
|
52
|
+
get: function get() {
|
|
53
|
+
return _Ellipsis.default;
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
Object.defineProperty(exports, "Empty", {
|
|
57
|
+
enumerable: true,
|
|
58
|
+
get: function get() {
|
|
59
|
+
return _Empty.default;
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
Object.defineProperty(exports, "FullPage", {
|
|
63
|
+
enumerable: true,
|
|
64
|
+
get: function get() {
|
|
65
|
+
return _FullPage.default;
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
Object.defineProperty(exports, "MonacoEditor", {
|
|
69
|
+
enumerable: true,
|
|
70
|
+
get: function get() {
|
|
71
|
+
return _MonacoEditor.default;
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
Object.defineProperty(exports, "PageContainer", {
|
|
75
|
+
enumerable: true,
|
|
76
|
+
get: function get() {
|
|
77
|
+
return _ProLayout.PageContainer;
|
|
78
|
+
}
|
|
79
|
+
});
|
|
80
|
+
Object.defineProperty(exports, "PermissionButton", {
|
|
81
|
+
enumerable: true,
|
|
82
|
+
get: function get() {
|
|
83
|
+
return _PermissionButton.default;
|
|
84
|
+
}
|
|
85
|
+
});
|
|
86
|
+
Object.defineProperty(exports, "ProLayout", {
|
|
87
|
+
enumerable: true,
|
|
88
|
+
get: function get() {
|
|
89
|
+
return _ProLayout.default;
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
Object.defineProperty(exports, "ProTable", {
|
|
93
|
+
enumerable: true,
|
|
94
|
+
get: function get() {
|
|
95
|
+
return _ProTable.default;
|
|
96
|
+
}
|
|
97
|
+
});
|
|
98
|
+
Object.defineProperty(exports, "Scrollbar", {
|
|
99
|
+
enumerable: true,
|
|
100
|
+
get: function get() {
|
|
101
|
+
return _Scrollbar.default;
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
Object.defineProperty(exports, "Search", {
|
|
105
|
+
enumerable: true,
|
|
106
|
+
get: function get() {
|
|
107
|
+
return _Search.default;
|
|
108
|
+
}
|
|
109
|
+
});
|
|
110
|
+
Object.defineProperty(exports, "ValueItem", {
|
|
111
|
+
enumerable: true,
|
|
112
|
+
get: function get() {
|
|
113
|
+
return _ValueItem.default;
|
|
114
|
+
}
|
|
115
|
+
});
|
|
116
|
+
require("./AMap");
|
|
117
|
+
var _BadgeStatus = _interopRequireDefault(require("./BadgeStatus"));
|
|
118
|
+
var _CardSelect = _interopRequireDefault(require("./CardSelect"));
|
|
119
|
+
var _CheckButton = _interopRequireDefault(require("./CheckButton"));
|
|
120
|
+
var _ConfigProvider = _interopRequireDefault(require("./ConfigProvider"));
|
|
121
|
+
var _Echarts = _interopRequireDefault(require("./Echarts"));
|
|
122
|
+
var _Ellipsis = _interopRequireDefault(require("./Ellipsis"));
|
|
123
|
+
var _Empty = _interopRequireDefault(require("./Empty"));
|
|
124
|
+
var _FullPage = _interopRequireDefault(require("./FullPage"));
|
|
125
|
+
var _Icon = _interopRequireDefault(require("./Icon"));
|
|
126
|
+
var _MonacoEditor = _interopRequireDefault(require("./MonacoEditor"));
|
|
127
|
+
var _PermissionButton = _interopRequireDefault(require("./PermissionButton"));
|
|
128
|
+
var _ProLayout = _interopRequireWildcard(require("./ProLayout"));
|
|
129
|
+
var _ProTable = _interopRequireDefault(require("./ProTable"));
|
|
130
|
+
var _Scrollbar = _interopRequireDefault(require("./Scrollbar"));
|
|
131
|
+
var _Search = _interopRequireWildcard(require("./Search"));
|
|
132
|
+
var _ValueItem = _interopRequireDefault(require("./ValueItem"));
|
|
133
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
134
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
package/lib/index.js
CHANGED
|
@@ -1,158 +1,38 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
3
|
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
5
4
|
Object.defineProperty(exports, "__esModule", {
|
|
6
5
|
value: true
|
|
7
6
|
});
|
|
8
7
|
var _exportNames = {
|
|
9
|
-
|
|
10
|
-
CardSelect: true,
|
|
11
|
-
CheckButton: true,
|
|
12
|
-
ConfigProvider: true,
|
|
13
|
-
Echarts: true,
|
|
14
|
-
Ellipsis: true,
|
|
15
|
-
Empty: true,
|
|
16
|
-
FullPage: true,
|
|
17
|
-
AIcon: true,
|
|
18
|
-
MonacoEditor: true,
|
|
19
|
-
PermissionButton: true,
|
|
20
|
-
ProTable: true,
|
|
21
|
-
Scrollbar: true,
|
|
22
|
-
Search: true,
|
|
23
|
-
AdvancedSearch: true,
|
|
24
|
-
ValueItem: true
|
|
8
|
+
install: true
|
|
25
9
|
};
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
return _Icon.default;
|
|
30
|
-
}
|
|
31
|
-
});
|
|
32
|
-
Object.defineProperty(exports, "AdvancedSearch", {
|
|
33
|
-
enumerable: true,
|
|
34
|
-
get: function get() {
|
|
35
|
-
return _Search.AdvancedSearch;
|
|
36
|
-
}
|
|
37
|
-
});
|
|
38
|
-
Object.defineProperty(exports, "BadgeStatus", {
|
|
39
|
-
enumerable: true,
|
|
40
|
-
get: function get() {
|
|
41
|
-
return _BadgeStatus.default;
|
|
42
|
-
}
|
|
43
|
-
});
|
|
44
|
-
Object.defineProperty(exports, "CardSelect", {
|
|
45
|
-
enumerable: true,
|
|
46
|
-
get: function get() {
|
|
47
|
-
return _CardSelect.default;
|
|
48
|
-
}
|
|
49
|
-
});
|
|
50
|
-
Object.defineProperty(exports, "CheckButton", {
|
|
51
|
-
enumerable: true,
|
|
52
|
-
get: function get() {
|
|
53
|
-
return _CheckButton.default;
|
|
54
|
-
}
|
|
55
|
-
});
|
|
56
|
-
Object.defineProperty(exports, "ConfigProvider", {
|
|
57
|
-
enumerable: true,
|
|
58
|
-
get: function get() {
|
|
59
|
-
return _ConfigProvider.default;
|
|
60
|
-
}
|
|
61
|
-
});
|
|
62
|
-
Object.defineProperty(exports, "Echarts", {
|
|
63
|
-
enumerable: true,
|
|
64
|
-
get: function get() {
|
|
65
|
-
return _Echarts.default;
|
|
66
|
-
}
|
|
67
|
-
});
|
|
68
|
-
Object.defineProperty(exports, "Ellipsis", {
|
|
69
|
-
enumerable: true,
|
|
70
|
-
get: function get() {
|
|
71
|
-
return _Ellipsis.default;
|
|
72
|
-
}
|
|
73
|
-
});
|
|
74
|
-
Object.defineProperty(exports, "Empty", {
|
|
75
|
-
enumerable: true,
|
|
76
|
-
get: function get() {
|
|
77
|
-
return _Empty.default;
|
|
78
|
-
}
|
|
79
|
-
});
|
|
80
|
-
Object.defineProperty(exports, "FullPage", {
|
|
81
|
-
enumerable: true,
|
|
82
|
-
get: function get() {
|
|
83
|
-
return _FullPage.default;
|
|
84
|
-
}
|
|
85
|
-
});
|
|
86
|
-
Object.defineProperty(exports, "MonacoEditor", {
|
|
87
|
-
enumerable: true,
|
|
88
|
-
get: function get() {
|
|
89
|
-
return _MonacoEditor.default;
|
|
90
|
-
}
|
|
91
|
-
});
|
|
92
|
-
Object.defineProperty(exports, "PermissionButton", {
|
|
93
|
-
enumerable: true,
|
|
94
|
-
get: function get() {
|
|
95
|
-
return _PermissionButton.default;
|
|
96
|
-
}
|
|
97
|
-
});
|
|
98
|
-
Object.defineProperty(exports, "ProTable", {
|
|
99
|
-
enumerable: true,
|
|
100
|
-
get: function get() {
|
|
101
|
-
return _ProTable.default;
|
|
102
|
-
}
|
|
103
|
-
});
|
|
104
|
-
Object.defineProperty(exports, "Scrollbar", {
|
|
105
|
-
enumerable: true,
|
|
106
|
-
get: function get() {
|
|
107
|
-
return _Scrollbar.default;
|
|
108
|
-
}
|
|
109
|
-
});
|
|
110
|
-
Object.defineProperty(exports, "Search", {
|
|
111
|
-
enumerable: true,
|
|
112
|
-
get: function get() {
|
|
113
|
-
return _Search.default;
|
|
114
|
-
}
|
|
115
|
-
});
|
|
116
|
-
Object.defineProperty(exports, "ValueItem", {
|
|
117
|
-
enumerable: true,
|
|
118
|
-
get: function get() {
|
|
119
|
-
return _ValueItem.default;
|
|
120
|
-
}
|
|
121
|
-
});
|
|
122
|
-
exports.default = void 0;
|
|
123
|
-
var _AMap = _interopRequireDefault(require("./AMap"));
|
|
124
|
-
var _BadgeStatus = _interopRequireDefault(require("./BadgeStatus"));
|
|
125
|
-
var _CardSelect = _interopRequireDefault(require("./CardSelect"));
|
|
126
|
-
var _CheckButton = _interopRequireDefault(require("./CheckButton"));
|
|
127
|
-
var _ConfigProvider = _interopRequireDefault(require("./ConfigProvider"));
|
|
128
|
-
var _Echarts = _interopRequireDefault(require("./Echarts"));
|
|
129
|
-
var _Ellipsis = _interopRequireDefault(require("./Ellipsis"));
|
|
130
|
-
var _Empty = _interopRequireDefault(require("./Empty"));
|
|
131
|
-
var _FullPage = _interopRequireDefault(require("./FullPage"));
|
|
132
|
-
var _Icon = _interopRequireDefault(require("./Icon"));
|
|
133
|
-
var _MonacoEditor = _interopRequireDefault(require("./MonacoEditor"));
|
|
134
|
-
var _PermissionButton = _interopRequireDefault(require("./PermissionButton"));
|
|
135
|
-
var _ProLayout = _interopRequireWildcard(require("./ProLayout"));
|
|
136
|
-
var _ProTable = _interopRequireDefault(require("./ProTable"));
|
|
137
|
-
var _Scrollbar = _interopRequireDefault(require("./Scrollbar"));
|
|
138
|
-
var _Search = _interopRequireWildcard(require("./Search"));
|
|
139
|
-
var _ValueItem = _interopRequireDefault(require("./ValueItem"));
|
|
140
|
-
var _style = require("./style");
|
|
141
|
-
Object.keys(_style).forEach(function (key) {
|
|
10
|
+
exports.install = exports.default = void 0;
|
|
11
|
+
var components = _interopRequireWildcard(require("./components"));
|
|
12
|
+
Object.keys(components).forEach(function (key) {
|
|
142
13
|
if (key === "default" || key === "__esModule") return;
|
|
143
14
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
144
|
-
if (key in exports && exports[key] ===
|
|
15
|
+
if (key in exports && exports[key] === components[key]) return;
|
|
145
16
|
Object.defineProperty(exports, key, {
|
|
146
17
|
enumerable: true,
|
|
147
18
|
get: function get() {
|
|
148
|
-
return
|
|
19
|
+
return components[key];
|
|
149
20
|
}
|
|
150
21
|
});
|
|
151
22
|
});
|
|
152
23
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
153
24
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
25
|
+
/*eslint import/namespace: ['error', { allowComputed: true }]*/
|
|
26
|
+
|
|
27
|
+
var install = exports.install = function install(app) {
|
|
28
|
+
Object.keys(components).forEach(function (key) {
|
|
29
|
+
var component = components[key];
|
|
30
|
+
if (component.install) {
|
|
31
|
+
app.use(component);
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
return app;
|
|
35
|
+
};
|
|
154
36
|
var _default = exports.default = {
|
|
155
|
-
install:
|
|
156
|
-
app.component('JAMap', _AMap.default).component('JBadgeStatus', _BadgeStatus.default).component('JCardSelect', _CardSelect.default).component('JCheckButton', _CheckButton.default).component('JConfigProvider', _ConfigProvider.default).component('JEcharts', _Echarts.default).component('JEllipsis', _Ellipsis.default).component('JEmpty', _Empty.default).component('JFullPage', _FullPage.default).component('AIcon', _Icon.default).component('JMonacoEditor', _MonacoEditor.default).component('JPermissionButton', _PermissionButton.default).component('JProLayout', _ProLayout.default).component('JPageContainer', _ProLayout.PageContainer).component('JProTable', _ProTable.default).component('JScrollbar', _Scrollbar.default).component('JSearch', _Search.default).component('JAdvancedSearch', _Search.AdvancedSearch).component('JValueItem', _ValueItem.default);
|
|
157
|
-
}
|
|
37
|
+
install: install
|
|
158
38
|
};
|
|
@@ -0,0 +1,287 @@
|
|
|
1
|
+
.j-ellipsis {
|
|
2
|
+
overflow: hidden;
|
|
3
|
+
vertical-align: bottom;
|
|
4
|
+
}
|
|
5
|
+
.j-ellipsis-cursor {
|
|
6
|
+
cursor: pointer;
|
|
7
|
+
}
|
|
8
|
+
.j-ellipsis-line-clamp {
|
|
9
|
+
display: -webkit-box;
|
|
10
|
+
-webkit-box-orient: vertical;
|
|
11
|
+
word-break: break-all;
|
|
12
|
+
}
|
|
13
|
+
.j-ellipsis-deep {
|
|
14
|
+
max-height: 380px;
|
|
15
|
+
-webkit-line-clamp: 17;
|
|
16
|
+
text-overflow: ellipsis;
|
|
17
|
+
}
|
|
18
|
+
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
|
|
19
|
+
/* stylelint-disable no-duplicate-selectors */
|
|
20
|
+
/* stylelint-disable */
|
|
21
|
+
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
|
|
22
|
+
.j-check-button {
|
|
23
|
+
display: flex;
|
|
24
|
+
gap: 16px;
|
|
25
|
+
width: 100%;
|
|
26
|
+
}
|
|
27
|
+
.j-check-button .j-check-button-item {
|
|
28
|
+
flex: 1;
|
|
29
|
+
min-width: 0;
|
|
30
|
+
padding: 8px;
|
|
31
|
+
border-radius: 6px;
|
|
32
|
+
background-color: #f2f3f5;
|
|
33
|
+
transition: all 0.3s;
|
|
34
|
+
color: #333;
|
|
35
|
+
text-align: center;
|
|
36
|
+
cursor: pointer;
|
|
37
|
+
}
|
|
38
|
+
.j-check-button .j-check-button-item:hover {
|
|
39
|
+
background-color: #315EFB;
|
|
40
|
+
opacity: 0.85;
|
|
41
|
+
color: #fff;
|
|
42
|
+
}
|
|
43
|
+
.j-check-button .j-check-button-item.selected {
|
|
44
|
+
background-color: #315EFB;
|
|
45
|
+
color: #fff;
|
|
46
|
+
}
|
|
47
|
+
.j-check-button .j-check-button-item.disabled {
|
|
48
|
+
cursor: not-allowed;
|
|
49
|
+
color: #00000060;
|
|
50
|
+
}
|
|
51
|
+
.j-check-button .j-check-button-item.disabled:hover {
|
|
52
|
+
background-color: #f2f3f5;
|
|
53
|
+
color: #00000060;
|
|
54
|
+
}
|
|
55
|
+
.jtable-body-spin {
|
|
56
|
+
min-height: 100%;
|
|
57
|
+
width: 100%;
|
|
58
|
+
padding: 16px 24px 24px;
|
|
59
|
+
background-color: #fff;
|
|
60
|
+
}
|
|
61
|
+
.jtable-body-spin .ant-spin-nested-loading {
|
|
62
|
+
height: 100%;
|
|
63
|
+
}
|
|
64
|
+
.jtable-body-spin .ant-spin-nested-loading .ant-spin-container {
|
|
65
|
+
height: 100%;
|
|
66
|
+
}
|
|
67
|
+
.jtable-body-spin .jtable-body {
|
|
68
|
+
width: 100%;
|
|
69
|
+
box-sizing: border-box;
|
|
70
|
+
height: 100%;
|
|
71
|
+
display: flex;
|
|
72
|
+
flex-direction: column;
|
|
73
|
+
}
|
|
74
|
+
.jtable-body-spin .jtable-body .jtable-body-header {
|
|
75
|
+
display: flex;
|
|
76
|
+
justify-content: space-between;
|
|
77
|
+
align-items: center;
|
|
78
|
+
}
|
|
79
|
+
.jtable-body-spin .jtable-body .jtable-body-header .jtable-body-header-right {
|
|
80
|
+
display: flex;
|
|
81
|
+
gap: 8px;
|
|
82
|
+
align-items: center;
|
|
83
|
+
}
|
|
84
|
+
.jtable-body-spin .jtable-body .jtable-body-header .jtable-body-header-right .jtable-body-header-right-button .right-button-icon {
|
|
85
|
+
font-size: 16px;
|
|
86
|
+
color: #d9d9d9;
|
|
87
|
+
}
|
|
88
|
+
.jtable-body-spin .jtable-body .jtable-body-header .jtable-body-header-right .jtable-body-header-right-button .ant-radio-button-wrapper {
|
|
89
|
+
padding: 0 8px;
|
|
90
|
+
}
|
|
91
|
+
.jtable-body-spin .jtable-body .jtable-body-header .jtable-body-header-right .jtable-body-header-right-button .ant-radio-button-wrapper-checked .right-button-icon {
|
|
92
|
+
color: #315EFB;
|
|
93
|
+
}
|
|
94
|
+
.jtable-body-spin .jtable-body .jtable-content {
|
|
95
|
+
flex: 1;
|
|
96
|
+
padding: 16px 0;
|
|
97
|
+
}
|
|
98
|
+
.jtable-body-spin .jtable-body .jtable-content .jtable-alert {
|
|
99
|
+
margin-bottom: 16px;
|
|
100
|
+
}
|
|
101
|
+
.jtable-body-spin .jtable-body .jtable-content .jtable-card .jtable-card-items {
|
|
102
|
+
display: grid;
|
|
103
|
+
grid-gap: 26px;
|
|
104
|
+
}
|
|
105
|
+
.jtable-body-spin .jtable-body .jtable-content .jtable-card .jtable-card-items .jtable-card-item {
|
|
106
|
+
display: flex;
|
|
107
|
+
min-width: 0;
|
|
108
|
+
}
|
|
109
|
+
.jtable-body-spin .jtable-body .jtable-pagination {
|
|
110
|
+
width: 100%;
|
|
111
|
+
display: flex;
|
|
112
|
+
justify-content: flex-end;
|
|
113
|
+
}
|
|
114
|
+
.jtable-body-spin .jtable-body .j-table-empty {
|
|
115
|
+
display: flex;
|
|
116
|
+
justify-content: center;
|
|
117
|
+
align-items: center;
|
|
118
|
+
margin: 10% 0;
|
|
119
|
+
}
|
|
120
|
+
.JSearch-warp {
|
|
121
|
+
padding: 24px;
|
|
122
|
+
background-color: #fff;
|
|
123
|
+
margin-bottom: 24px;
|
|
124
|
+
}
|
|
125
|
+
.JSearch-warp .pack-up .JSearch-items {
|
|
126
|
+
flex: 1 1 auto;
|
|
127
|
+
}
|
|
128
|
+
.JSearch-warp .pack-up .JSearch-items .left {
|
|
129
|
+
min-width: 380px;
|
|
130
|
+
max-width: 580px;
|
|
131
|
+
}
|
|
132
|
+
.JSearch-warp.senior > .JSearch-content {
|
|
133
|
+
display: flex;
|
|
134
|
+
}
|
|
135
|
+
.JSearch-warp.senior > .JSearch-content .JSearch-footer {
|
|
136
|
+
display: flex;
|
|
137
|
+
gap: 64px;
|
|
138
|
+
position: relative;
|
|
139
|
+
}
|
|
140
|
+
.JSearch-warp.senior > .JSearch-content .JSearch-footer .more-btn .more-text {
|
|
141
|
+
padding-right: 24px;
|
|
142
|
+
}
|
|
143
|
+
.JSearch-warp.senior > .JSearch-content .JSearch-footer .more-btn .more-icon {
|
|
144
|
+
transition: transform 0.3s;
|
|
145
|
+
transform: rotateZ(90deg);
|
|
146
|
+
font-size: 14px;
|
|
147
|
+
}
|
|
148
|
+
.JSearch-warp.senior > .JSearch-content .JSearch-footer .more-btn .more-icon.more-up {
|
|
149
|
+
transform: rotateZ(-90deg);
|
|
150
|
+
}
|
|
151
|
+
.JSearch-warp.senior > .JSearch-content .JSearch-footer.expand {
|
|
152
|
+
margin-top: 16px;
|
|
153
|
+
width: 100%;
|
|
154
|
+
justify-content: space-between;
|
|
155
|
+
}
|
|
156
|
+
.JSearch-warp.senior > .JSearch-content .JSearch-footer .JSearch-footer--btns {
|
|
157
|
+
display: flex;
|
|
158
|
+
gap: 12px;
|
|
159
|
+
}
|
|
160
|
+
.JSearch-warp.senior > .JSearch-content .items-expand {
|
|
161
|
+
display: flex;
|
|
162
|
+
gap: 16px;
|
|
163
|
+
}
|
|
164
|
+
.JSearch-warp.senior > .JSearch-content .items-expand .left,
|
|
165
|
+
.JSearch-warp.senior > .JSearch-content .items-expand .right {
|
|
166
|
+
min-width: 0;
|
|
167
|
+
flex: 1 1 0;
|
|
168
|
+
}
|
|
169
|
+
.JSearch-warp.senior > .JSearch-content .items-expand .left-items,
|
|
170
|
+
.JSearch-warp.senior > .JSearch-content .items-expand .right-items {
|
|
171
|
+
display: flex;
|
|
172
|
+
gap: 16px;
|
|
173
|
+
flex-direction: column;
|
|
174
|
+
}
|
|
175
|
+
.JSearch-warp.senior > .JSearch-content .items-expand .center {
|
|
176
|
+
display: flex;
|
|
177
|
+
flex-direction: column;
|
|
178
|
+
justify-content: center;
|
|
179
|
+
}
|
|
180
|
+
.JSearch-warp.senior > .JSearch-content .items-expand.vertical {
|
|
181
|
+
flex-direction: column;
|
|
182
|
+
}
|
|
183
|
+
.JSearch-warp.senior > .JSearch-content .items-expand.vertical .center {
|
|
184
|
+
flex-direction: row;
|
|
185
|
+
justify-content: center;
|
|
186
|
+
}
|
|
187
|
+
.JSearch-warp.senior > .JSearch-content.senior-expand {
|
|
188
|
+
flex-direction: column;
|
|
189
|
+
}
|
|
190
|
+
.JSearch-warp.senior > .JSearch-content.small {
|
|
191
|
+
gap: 12px;
|
|
192
|
+
}
|
|
193
|
+
.JSearch-warp.senior > .JSearch-content.small .JSearch-footer {
|
|
194
|
+
gap: 4px;
|
|
195
|
+
}
|
|
196
|
+
.JSearch-warp .JSearch-content.simple .JSearch-footer--btns {
|
|
197
|
+
display: flex;
|
|
198
|
+
gap: 12px;
|
|
199
|
+
}
|
|
200
|
+
.JSearch-warp .JSearch-content.simple .JSearch-item {
|
|
201
|
+
gap: 8px;
|
|
202
|
+
}
|
|
203
|
+
.JSearch-warp .JSearch-content.simple .JSearch-item .JSearch-item--label {
|
|
204
|
+
text-align: right;
|
|
205
|
+
}
|
|
206
|
+
.JSearch-warp .no-radius {
|
|
207
|
+
border-radius: 0;
|
|
208
|
+
border-color: #f1f1f1;
|
|
209
|
+
}
|
|
210
|
+
.JSearch-warp .search-history-warp {
|
|
211
|
+
position: relative;
|
|
212
|
+
}
|
|
213
|
+
.JSearch-warp .search-history-warp .search-history-button {
|
|
214
|
+
padding-right: 32px;
|
|
215
|
+
}
|
|
216
|
+
.JSearch-warp .search-history-warp .search-history-button-icon {
|
|
217
|
+
position: absolute;
|
|
218
|
+
width: 24px;
|
|
219
|
+
height: 18px;
|
|
220
|
+
right: 6px;
|
|
221
|
+
top: 8px;
|
|
222
|
+
color: #fff;
|
|
223
|
+
line-height: 18px;
|
|
224
|
+
text-align: center;
|
|
225
|
+
font-weight: bold;
|
|
226
|
+
}
|
|
227
|
+
.JSearch-warp .search-history-warp .search-history-button-icon > span {
|
|
228
|
+
font-size: 14px;
|
|
229
|
+
}
|
|
230
|
+
.search-history-empty {
|
|
231
|
+
padding: 12px 12px 6px 12px;
|
|
232
|
+
background-color: #fff;
|
|
233
|
+
}
|
|
234
|
+
.search-history-items {
|
|
235
|
+
width: 120px;
|
|
236
|
+
max-height: 300px;
|
|
237
|
+
overflow-y: auto;
|
|
238
|
+
}
|
|
239
|
+
.search-history-items .search-history-item {
|
|
240
|
+
display: flex;
|
|
241
|
+
padding: 4px 0px 4px 4px;
|
|
242
|
+
align-items: center;
|
|
243
|
+
gap: 4px;
|
|
244
|
+
}
|
|
245
|
+
.search-history-items .search-history-item:hover {
|
|
246
|
+
background-color: #f1f1f1;
|
|
247
|
+
}
|
|
248
|
+
.search-history-items .search-history-item .history-item--title {
|
|
249
|
+
width: calc(100% - 30px);
|
|
250
|
+
cursor: pointer;
|
|
251
|
+
}
|
|
252
|
+
.search-history-items .search-history-item .delete {
|
|
253
|
+
padding: 0 6px;
|
|
254
|
+
flex: 0 0 28px;
|
|
255
|
+
}
|
|
256
|
+
.search-history-list-pop .ant-popover-inner-content {
|
|
257
|
+
padding: 0;
|
|
258
|
+
}
|
|
259
|
+
.JSearch-item {
|
|
260
|
+
display: flex;
|
|
261
|
+
gap: 16px;
|
|
262
|
+
align-items: center;
|
|
263
|
+
}
|
|
264
|
+
.JSearch-item .JSearch-item--type {
|
|
265
|
+
width: 90px;
|
|
266
|
+
min-width: 0;
|
|
267
|
+
}
|
|
268
|
+
.JSearch-item .JSearch-item--type > span {
|
|
269
|
+
line-height: 34px;
|
|
270
|
+
font-weight: bold;
|
|
271
|
+
}
|
|
272
|
+
.JSearch-item .JSearch-item--column {
|
|
273
|
+
width: 130px;
|
|
274
|
+
min-width: 0;
|
|
275
|
+
}
|
|
276
|
+
.JSearch-item .JSearch-item--termType {
|
|
277
|
+
width: 110px;
|
|
278
|
+
min-width: 0;
|
|
279
|
+
}
|
|
280
|
+
.JSearch-item .JSearch-item--label {
|
|
281
|
+
min-width: 40px;
|
|
282
|
+
}
|
|
283
|
+
.JSearch-item .JSearch-item--value {
|
|
284
|
+
display: flex;
|
|
285
|
+
width: 0;
|
|
286
|
+
flex-grow: 1;
|
|
287
|
+
}
|
package/lib/style/variable.less
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
@text-color-title: #000;
|
|
2
|
-
@text-color-subtitle: #263237;
|
|
1
|
+
@text-color-title: #000;
|
|
2
|
+
@text-color-subtitle: #263237;
|
package/lib/style.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jetlinks-web/components",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.4-10",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -17,15 +17,12 @@
|
|
|
17
17
|
"@vuemap/vue-amap": "^2.0.17",
|
|
18
18
|
"@vueuse/core": "^10.2.1",
|
|
19
19
|
"@vueuse/router": "^10.9.0",
|
|
20
|
-
"ant-design-vue": "3.2.20",
|
|
21
20
|
"echarts": "^5.4.3",
|
|
22
21
|
"monaco-editor": "^0.40.0",
|
|
23
|
-
"sortablejs": "^1.15.2"
|
|
24
|
-
"@jetlinks-web/constants": "^1.0.2",
|
|
25
|
-
"@jetlinks-web/hooks": "^1.0.12",
|
|
26
|
-
"@jetlinks-web/utils": "^1.0.6"
|
|
22
|
+
"sortablejs": "^1.15.2"
|
|
27
23
|
},
|
|
28
24
|
"devDependencies": {
|
|
25
|
+
"ant-design-vue": "3.2.20",
|
|
29
26
|
"@babel/cli": "^7.8.4",
|
|
30
27
|
"@babel/core": "^7.10.5",
|
|
31
28
|
"@babel/plugin-proposal-class-properties": "^7.8.3",
|
|
@@ -43,6 +40,7 @@
|
|
|
43
40
|
"@babel/polyfill": "^7.8.7",
|
|
44
41
|
"@babel/preset-env": "^7.9.6",
|
|
45
42
|
"@babel/preset-typescript": "^7.10.4",
|
|
43
|
+
"@babel/runtime": "^7.24.4",
|
|
46
44
|
"@commitlint/cli": "^17.4.2",
|
|
47
45
|
"@commitlint/config-conventional": "^17.4.2",
|
|
48
46
|
"@rollup/plugin-commonjs": "^22.0.1",
|
|
@@ -66,14 +64,12 @@
|
|
|
66
64
|
"babel-plugin-transform-require-context": "^0.1.1",
|
|
67
65
|
"case-sensitive-paths-webpack-plugin": "^2.1.2",
|
|
68
66
|
"child_process": "^1.0.2",
|
|
69
|
-
"codesandbox": "^2.2.3",
|
|
70
67
|
"colorful": "^2.1.0",
|
|
71
68
|
"commander": "^6.1.0",
|
|
72
69
|
"commitlint": "^17.4.2",
|
|
73
70
|
"compute-scroll-into-view": "^3.0.0",
|
|
74
71
|
"css-loader": "^6.7.3",
|
|
75
72
|
"css-minimizer-webpack-plugin": "^3.0.0",
|
|
76
|
-
"diacritics": "^1.3.0",
|
|
77
73
|
"duplicate-package-checker-webpack-plugin": "^3.0.0",
|
|
78
74
|
"esbuild": "~0.12.29",
|
|
79
75
|
"esbuild-loader": "^2.18.0",
|
|
@@ -136,7 +132,10 @@
|
|
|
136
132
|
"webpack-cli": "^4.6.0",
|
|
137
133
|
"webpack-dev-server": "^4.0.0",
|
|
138
134
|
"webpack-merge": "^5.0.0",
|
|
139
|
-
"webpackbar": "^5.0.2"
|
|
135
|
+
"webpackbar": "^5.0.2",
|
|
136
|
+
"@jetlinks-web/constants": "^1.0.2",
|
|
137
|
+
"@jetlinks-web/hooks": "^1.0.12",
|
|
138
|
+
"@jetlinks-web/utils": "^1.0.6"
|
|
140
139
|
},
|
|
141
140
|
"publishConfig": {
|
|
142
141
|
"registry": "https://registry.npmjs.org/",
|