@zgfe/modules-settings 1.2.51-zhongyuan.0 → 1.2.51-zhongyuan.5
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/README.md +33 -33
- package/es/components/card/demo/index.js +6 -6
- package/es/components/card/index.js +6 -6
- package/es/components/card/index.less +87 -87
- package/es/components/pageLoading/index.less +7 -7
- package/es/components/picCircleSelect/bak/index copy 2.tsx.bak +92 -92
- package/es/components/picCircleSelect/bak/index copy 3.tsx.bak +58 -58
- package/es/components/picCircleSelect/bak/index copy 4.tsx.bak +66 -66
- package/es/components/picCircleSelect/bak/index copy 5.tsx.bak +116 -116
- package/es/components/picCircleSelect/bak/index copy 6.tsx.bak +116 -116
- package/es/components/picCircleSelect/bak/index copy.tsx.bak +41 -41
- package/es/components/picCircleSelect/bak/index.tsx.bak +48 -48
- package/es/components/picCircleSelect/bak/index1.tsx.bak +46 -46
- package/es/components/picCircleSelect/bak/index2.tsx.bak +104 -104
- package/es/components/picCircleSelect/demo/index.js +5 -5
- package/es/components/picCircleSelect/index.js +7 -8
- package/es/components/picCircleSelect/index.less +37 -37
- package/es/components/processCanvas/customNode/node_point.js +4 -4
- package/es/components/processCanvas/demo/index.js +5 -6
- package/es/components/processCanvas/index.js +11 -11
- package/es/components/processCanvas/styles/customNode.less +149 -149
- package/es/components/processCanvas/styles/index.less +34 -34
- package/es/components/processCanvas/toolbar.js +5 -5
- package/es/components/selectAppWrapper/index.js +14 -15
- package/es/components/settingTabs/index.js +5 -5
- package/es/components/settingTabs/index.less +51 -51
- package/es/constants/api.d.ts +13 -0
- package/es/constants/api.js +18 -2
- package/es/constants/icons/demo.css +539 -539
- package/es/constants/icons/demo_index.html +9871 -9871
- package/es/constants/icons/iconfont.css +1699 -1699
- package/es/constants/icons/iconfont.json +2956 -2956
- package/es/global.d.ts +4 -4
- package/es/modules/appSettings/appInfo/index.js +7 -7
- package/es/modules/appSettings/dataAccessFilter/index.js +5 -5
- package/es/modules/appSettings/dataAccessFilter/index.less +5 -5
- package/es/modules/appSettings/virtualSource/index.js +7 -7
- package/es/modules/appSettings/virtualSource/styles/index.less +28 -28
- package/es/modules/appSettings/virtualSource/styles/table.less +51 -51
- package/es/modules/companySetting/appList/index.js +12 -12
- package/es/modules/companySetting/appList/index.less +126 -126
- package/es/modules/companySetting/application/applicationForm.js +9 -9
- package/es/modules/companySetting/application/applicationSetting.js +5 -5
- package/es/modules/companySetting/application/index.js +28 -28
- package/es/modules/companySetting/application/index.less +126 -126
- package/es/modules/companySetting/business/businessForm.js +7 -7
- package/es/modules/companySetting/business/index.js +27 -27
- package/es/modules/companySetting/business/index.less +92 -92
- package/es/modules/companySetting/cost/index.js +20 -20
- package/es/modules/companySetting/cost/index.less +38 -38
- package/es/modules/companySetting/department/index.js +16 -16
- package/es/modules/companySetting/department/index.less +157 -157
- package/es/modules/companySetting/edit/authConfig.js +5 -5
- package/es/modules/companySetting/edit/authConfigCEP.js +11 -11
- package/es/modules/companySetting/edit/authGroup.js +13 -13
- package/es/modules/companySetting/edit/authModule.js +18 -18
- package/es/modules/companySetting/edit/multiAuthModule.js +13 -13
- package/es/modules/companySetting/edit/styles/authConfig.less +3 -3
- package/es/modules/companySetting/edit/styles/authGroup.less +10 -10
- package/es/modules/companySetting/edit/styles/authModule.less +82 -82
- package/es/modules/companySetting/edit/styles/user.less +54 -54
- package/es/modules/companySetting/edit/styles/userGroup.less +44 -44
- package/es/modules/companySetting/edit/user.js +14 -14
- package/es/modules/companySetting/edit/userGroup.js +16 -16
- package/es/modules/companySetting/index.js +29 -29
- package/es/modules/companySetting/index.less +90 -90
- package/es/modules/companySetting/info/index.js +7 -7
- package/es/modules/companySetting/info/index.less +42 -42
- package/es/modules/companySetting/mainPart/images/img2.svg +12 -12
- package/es/modules/companySetting/mainPart/index.js +28 -28
- package/es/modules/companySetting/mainPart/index.less +239 -239
- package/es/modules/companySetting/mainPart/mainPartForm.js +13 -13
- package/es/modules/companySetting/mainPart/mainPartSetting.js +5 -5
- package/es/modules/companySetting/mainPart/useColumns.js +16 -16
- package/es/modules/companySetting/operationLog/index.js +13 -13
- package/es/modules/companySetting/operationLog/index.less +33 -33
- package/es/modules/companySetting/role/index.js +23 -23
- package/es/modules/companySetting/role/index.less +296 -296
- package/es/modules/companySetting/role/setDataRangeDialog/index.js +2 -2
- package/es/modules/companySetting/role/setDataRangeDialog/index.less +37 -37
- package/es/modules/companySetting/style/common.less +79 -79
- package/es/modules/companySetting/style/reset.less +117 -117
- package/es/modules/companySetting/user/index.js +193 -24
- package/es/modules/companySetting/user/index.less +11 -0
- package/es/modules/companySetting/user/invite.js +14 -14
- package/es/modules/companySetting/virtualApp/config.js +8 -8
- package/es/modules/companySetting/virtualApp/index.js +12 -12
- package/es/modules/companySetting/virtualApp/panels/list.js +8 -9
- package/es/modules/companySetting/virtualApp/panels/sourceItem.js +7 -7
- package/es/modules/companySetting/virtualApp/styles/config.less +37 -37
- package/es/modules/companySetting/virtualApp/styles/index.less +21 -21
- package/es/modules/companySetting/virtualApp/styles/list.less +28 -28
- package/es/modules/companySetting/virtualApp/styles/sourceItem.less +33 -33
- package/es/modules/companySetting/virtualApp/styles/table.less +44 -44
- package/es/modules/companySetting/wechatBinding/index.js +7 -7
- package/es/modules/companySetting/wechatBinding/index.less +58 -58
- package/es/modules/createDemand/collectionAttributeList.js +9 -9
- package/es/modules/createDemand/constants.js +17 -17
- package/es/modules/createDemand/demo/index.js +7 -7
- package/es/modules/createDemand/demo/selectPoint.js +13 -13
- package/es/modules/createDemand/index.js +39 -41
- package/es/modules/createDemand/styles/index.less +277 -277
- package/es/modules/createDemand_bf/collectionAttributeList.js +9 -9
- package/es/modules/createDemand_bf/constants.js +4 -4
- package/es/modules/createDemand_bf/index.js +35 -35
- package/es/modules/createDemand_bf/styles/index.less +222 -222
- package/es/modules/createProcess/components/index.less +52 -52
- package/es/modules/createProcess/components/processNode.js +11 -11
- package/es/modules/createProcess/index.js +17 -17
- package/es/modules/createProcess/index.less +114 -114
- package/es/modules/createProcess/title/index.js +11 -11
- package/es/modules/createProcess/title/index.less +53 -53
- package/es/modules/dealDemand/collectionAttributeList.js +9 -9
- package/es/modules/dealDemand/constants.js +7 -7
- package/es/modules/dealDemand/demo/index.js +7 -7
- package/es/modules/dealDemand/demo/selectPoint.js +13 -13
- package/es/modules/dealDemand/index.js +22 -24
- package/es/modules/dealDemand/styles/index.less +265 -265
- package/es/modules/demandManage/index.js +14 -15
- package/es/modules/demandManage/styles/index.less +210 -210
- package/es/modules/getPassword/index.js +10 -10
- package/es/modules/getPassword/index.less +122 -122
- package/es/modules/messageList/index.js +7 -8
- package/es/modules/messageList/index.less +81 -81
- package/es/modules/personalSetting/index.js +5 -5
- package/es/modules/personalSetting/info/index.js +5 -5
- package/es/modules/personalSetting/reset/index.js +5 -5
- package/es/modules/personalSetting/securityLog/index.js +14 -14
- package/es/modules/personalSetting/securityLog/index.less +11 -11
- package/es/modules/personalSetting/styles/unbinding.less +73 -73
- package/es/modules/personalSetting/unbinding/index.js +5 -5
- package/es/modules/pointMap/ImportModal/demo/index.js +5 -5
- package/es/modules/pointMap/ImportModal/index.js +14 -14
- package/es/modules/pointMap/ImportModal/styles/index.less +91 -91
- package/es/modules/pointMap/demo/index.js +7 -7
- package/es/modules/pointMap/editTxt/index.js +11 -11
- package/es/modules/pointMap/editTxt/index.less +55 -55
- package/es/modules/pointMap/index.js +11 -11
- package/es/modules/pointMap/pageInfo.js +44 -46
- package/es/modules/pointMap/styles/index.less +38 -38
- package/es/modules/pointMap/styles/pageInfo.less +244 -244
- package/es/modules/pointMap/styles/tree.css +142 -0
- package/es/modules/pointMap/styles/tree.less +29 -0
- package/es/modules/pointMap/tree.js +75 -27
- package/es/modules/systemSetting/Dictionary.d.ts +3 -0
- package/es/modules/systemSetting/Dictionary.js +387 -0
- package/es/modules/systemSetting/DictionaryType.d.ts +14 -0
- package/es/modules/systemSetting/DictionaryType.js +203 -0
- package/es/modules/systemSetting/approvalmanage/approvalStrategy/index.js +14 -14
- package/es/modules/systemSetting/approvalmanage/approvalStrategy/index.less +14 -14
- package/es/modules/systemSetting/approvalmanage/index.js +5 -5
- package/es/modules/systemSetting/approvalmanage/index.less +5 -5
- package/es/modules/systemSetting/approvalmanage/processManage/index.js +13 -13
- package/es/modules/systemSetting/approvalmanage/processManage/index.less +39 -39
- package/es/modules/systemSetting/authUrl.js +15 -15
- package/es/modules/systemSetting/document-setting/index.d.ts +3 -0
- package/es/modules/systemSetting/document-setting/index.js +467 -0
- package/es/modules/systemSetting/img/empty-data.png +0 -0
- package/es/modules/systemSetting/index.css +111 -0
- package/es/modules/systemSetting/index.js +19 -8
- package/es/modules/systemSetting/index.less +117 -0
- package/es/modules/systemSetting/notice/configItem/index.less +21 -21
- package/es/modules/systemSetting/notice/edit/index.js +5 -5
- package/es/modules/systemSetting/notice/edit/index.less +26 -26
- package/es/modules/systemSetting/notice/index.js +11 -11
- package/es/requests/department.js +6 -6
- package/es/requests/role.js +6 -6
- package/es/types/companySetting.d.ts +1 -0
- package/es/utils/base64.js +0 -1
- package/es/utils/constants.js +0 -4
- package/es/utils/functionalPermissions.js +6 -8
- package/es/utils/util.js +16 -16
- package/package.json +9 -7
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
function _slicedToArray(
|
|
1
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
2
2
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
3
|
-
function _unsupportedIterableToArray(
|
|
4
|
-
function _arrayLikeToArray(
|
|
5
|
-
function _iterableToArrayLimit(
|
|
6
|
-
function _arrayWithHoles(
|
|
3
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
4
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
5
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
6
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
7
7
|
import React, { useState } from 'react';
|
|
8
8
|
import Card from '../index';
|
|
9
9
|
var CardDemo = function CardDemo() {
|
|
@@ -36,5 +36,4 @@ var CardDemo = function CardDemo() {
|
|
|
36
36
|
}
|
|
37
37
|
}));
|
|
38
38
|
};
|
|
39
|
-
|
|
40
39
|
export default CardDemo;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
function _typeof(
|
|
2
|
-
function ownKeys(
|
|
3
|
-
function _objectSpread(
|
|
4
|
-
function _defineProperty(
|
|
5
|
-
function _toPropertyKey(
|
|
6
|
-
function _toPrimitive(
|
|
7
|
-
function _slicedToArray(
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
5
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
6
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
8
8
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
9
|
-
function _unsupportedIterableToArray(
|
|
10
|
-
function _arrayLikeToArray(
|
|
11
|
-
function _iterableToArrayLimit(
|
|
12
|
-
function _arrayWithHoles(
|
|
9
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
10
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
11
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
12
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
13
13
|
import { Graph } from '@antv/x6';
|
|
14
14
|
// import { DagreLayout } from '@antv/layout'
|
|
15
15
|
import React, { useEffect, useRef, useState } from 'react';
|
|
@@ -1,149 +1,149 @@
|
|
|
1
|
-
@import '~@zgfe/business-lib/es/assets/styles/inner.less';
|
|
2
|
-
.base-node {
|
|
3
|
-
padding-bottom: 8px;
|
|
4
|
-
background: #fff;
|
|
5
|
-
border: 2px solid transparent;
|
|
6
|
-
border-radius: 8px;
|
|
7
|
-
/* 投影/一级下拉菜单 */
|
|
8
|
-
box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.1);
|
|
9
|
-
cursor: pointer;
|
|
10
|
-
.base-node-top {
|
|
11
|
-
display: flex;
|
|
12
|
-
gap: 8px;
|
|
13
|
-
align-items: center;
|
|
14
|
-
height: 40px;
|
|
15
|
-
padding: 0 8px;
|
|
16
|
-
&-txt {
|
|
17
|
-
flex: 1;
|
|
18
|
-
overflow: hidden;
|
|
19
|
-
color: var(--io-N-, #021429);
|
|
20
|
-
font-weight: 400;
|
|
21
|
-
font-size: 16px;
|
|
22
|
-
line-height: 24px; /* 150% */
|
|
23
|
-
white-space: nowrap;
|
|
24
|
-
text-overflow: ellipsis;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
.base-node-top:hover {
|
|
28
|
-
.zhongmingming {
|
|
29
|
-
color: #457dff;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
.base-node-content {
|
|
33
|
-
display: flex;
|
|
34
|
-
gap: 10px;
|
|
35
|
-
align-items: center;
|
|
36
|
-
align-self: stretch;
|
|
37
|
-
height: 24px;
|
|
38
|
-
margin: 0 8px;
|
|
39
|
-
padding: 0px 4px;
|
|
40
|
-
color: var(--io-N6-, #67727f);
|
|
41
|
-
font-weight: 400;
|
|
42
|
-
font-size: 14px;
|
|
43
|
-
font-family: 'PingFang SC';
|
|
44
|
-
font-style: normal;
|
|
45
|
-
line-height: normal;
|
|
46
|
-
background: #f4f6f8;
|
|
47
|
-
border-radius: 4px;
|
|
48
|
-
}
|
|
49
|
-
&:hover {
|
|
50
|
-
.close-btn {
|
|
51
|
-
color: #fff;
|
|
52
|
-
background: #ccd0d4;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
.close-btn-bg {
|
|
56
|
-
position: absolute;
|
|
57
|
-
top: -24px;
|
|
58
|
-
right: -36px;
|
|
59
|
-
padding: 12px;
|
|
60
|
-
}
|
|
61
|
-
.base-node-approve-time {
|
|
62
|
-
position: absolute;
|
|
63
|
-
bottom: -24px;
|
|
64
|
-
left: 0;
|
|
65
|
-
color: var(--io-N4-, #9aa1a9);
|
|
66
|
-
font-size: 12px;
|
|
67
|
-
line-height: 20px; /* 166.667% */
|
|
68
|
-
}
|
|
69
|
-
.base-node-approve-detail {
|
|
70
|
-
position: absolute;
|
|
71
|
-
bottom: -44px;
|
|
72
|
-
left: 0;
|
|
73
|
-
font-size: 12px;
|
|
74
|
-
line-height: 20px; /* 166.667% */
|
|
75
|
-
}
|
|
76
|
-
.close-btn:hover {
|
|
77
|
-
color: #fff;
|
|
78
|
-
background: #ccd0d4;
|
|
79
|
-
}
|
|
80
|
-
.close-btn {
|
|
81
|
-
width: 24px;
|
|
82
|
-
height: 24px;
|
|
83
|
-
padding-left: 4px;
|
|
84
|
-
color: transparent;
|
|
85
|
-
font-size: 16px;
|
|
86
|
-
background: transparent;
|
|
87
|
-
border-radius: 12px;
|
|
88
|
-
}
|
|
89
|
-
.close-btn:hover {
|
|
90
|
-
color: #fff;
|
|
91
|
-
background: #fb5547;
|
|
92
|
-
}
|
|
93
|
-
.shenpi {
|
|
94
|
-
color: #457dff;
|
|
95
|
-
font-size: 18px !important;
|
|
96
|
-
}
|
|
97
|
-
.check_filled {
|
|
98
|
-
color: #29bd52;
|
|
99
|
-
font-size: 18px !important;
|
|
100
|
-
}
|
|
101
|
-
.tishi1 {
|
|
102
|
-
color: #fb5547;
|
|
103
|
-
font-size: 18px !important;
|
|
104
|
-
}
|
|
105
|
-
.zhongmingming {
|
|
106
|
-
color: #ccd0d4;
|
|
107
|
-
font-size: 20px !important;
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
.base-btn-add {
|
|
111
|
-
display: flex;
|
|
112
|
-
align-items: center;
|
|
113
|
-
justify-content: center;
|
|
114
|
-
width: 32px;
|
|
115
|
-
height: 32px;
|
|
116
|
-
padding: 8px;
|
|
117
|
-
color: #457dff;
|
|
118
|
-
font-size: 16px;
|
|
119
|
-
background: #fff;
|
|
120
|
-
border-radius: 16px;
|
|
121
|
-
/* 投影/一级下拉菜单 */
|
|
122
|
-
box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.1);
|
|
123
|
-
cursor: pointer;
|
|
124
|
-
}
|
|
125
|
-
.base-btn-add:hover {
|
|
126
|
-
color: #fff;
|
|
127
|
-
background: #457dff;
|
|
128
|
-
}
|
|
129
|
-
.node-end {
|
|
130
|
-
display: flex;
|
|
131
|
-
gap: 8px;
|
|
132
|
-
align-items: center;
|
|
133
|
-
width: 224px;
|
|
134
|
-
height: 40px;
|
|
135
|
-
padding: 0px 8px;
|
|
136
|
-
overflow: hidden;
|
|
137
|
-
color: var(--io-N-, #021429);
|
|
138
|
-
font-weight: 400;
|
|
139
|
-
font-size: 16px;
|
|
140
|
-
font-family: 'PingFang SC';
|
|
141
|
-
font-style: normal;
|
|
142
|
-
line-height: 22px; /* 137.5% */
|
|
143
|
-
text-overflow: ellipsis;
|
|
144
|
-
background: #fff;
|
|
145
|
-
border-radius: 20px;
|
|
146
|
-
|
|
147
|
-
/* 投影/一级下拉菜单 */
|
|
148
|
-
box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.1);
|
|
149
|
-
}
|
|
1
|
+
@import '~@zgfe/business-lib/es/assets/styles/inner.less';
|
|
2
|
+
.base-node {
|
|
3
|
+
padding-bottom: 8px;
|
|
4
|
+
background: #fff;
|
|
5
|
+
border: 2px solid transparent;
|
|
6
|
+
border-radius: 8px;
|
|
7
|
+
/* 投影/一级下拉菜单 */
|
|
8
|
+
box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.1);
|
|
9
|
+
cursor: pointer;
|
|
10
|
+
.base-node-top {
|
|
11
|
+
display: flex;
|
|
12
|
+
gap: 8px;
|
|
13
|
+
align-items: center;
|
|
14
|
+
height: 40px;
|
|
15
|
+
padding: 0 8px;
|
|
16
|
+
&-txt {
|
|
17
|
+
flex: 1;
|
|
18
|
+
overflow: hidden;
|
|
19
|
+
color: var(--io-N-, #021429);
|
|
20
|
+
font-weight: 400;
|
|
21
|
+
font-size: 16px;
|
|
22
|
+
line-height: 24px; /* 150% */
|
|
23
|
+
white-space: nowrap;
|
|
24
|
+
text-overflow: ellipsis;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
.base-node-top:hover {
|
|
28
|
+
.zhongmingming {
|
|
29
|
+
color: #457dff;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
.base-node-content {
|
|
33
|
+
display: flex;
|
|
34
|
+
gap: 10px;
|
|
35
|
+
align-items: center;
|
|
36
|
+
align-self: stretch;
|
|
37
|
+
height: 24px;
|
|
38
|
+
margin: 0 8px;
|
|
39
|
+
padding: 0px 4px;
|
|
40
|
+
color: var(--io-N6-, #67727f);
|
|
41
|
+
font-weight: 400;
|
|
42
|
+
font-size: 14px;
|
|
43
|
+
font-family: 'PingFang SC';
|
|
44
|
+
font-style: normal;
|
|
45
|
+
line-height: normal;
|
|
46
|
+
background: #f4f6f8;
|
|
47
|
+
border-radius: 4px;
|
|
48
|
+
}
|
|
49
|
+
&:hover {
|
|
50
|
+
.close-btn {
|
|
51
|
+
color: #fff;
|
|
52
|
+
background: #ccd0d4;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
.close-btn-bg {
|
|
56
|
+
position: absolute;
|
|
57
|
+
top: -24px;
|
|
58
|
+
right: -36px;
|
|
59
|
+
padding: 12px;
|
|
60
|
+
}
|
|
61
|
+
.base-node-approve-time {
|
|
62
|
+
position: absolute;
|
|
63
|
+
bottom: -24px;
|
|
64
|
+
left: 0;
|
|
65
|
+
color: var(--io-N4-, #9aa1a9);
|
|
66
|
+
font-size: 12px;
|
|
67
|
+
line-height: 20px; /* 166.667% */
|
|
68
|
+
}
|
|
69
|
+
.base-node-approve-detail {
|
|
70
|
+
position: absolute;
|
|
71
|
+
bottom: -44px;
|
|
72
|
+
left: 0;
|
|
73
|
+
font-size: 12px;
|
|
74
|
+
line-height: 20px; /* 166.667% */
|
|
75
|
+
}
|
|
76
|
+
.close-btn:hover {
|
|
77
|
+
color: #fff;
|
|
78
|
+
background: #ccd0d4;
|
|
79
|
+
}
|
|
80
|
+
.close-btn {
|
|
81
|
+
width: 24px;
|
|
82
|
+
height: 24px;
|
|
83
|
+
padding-left: 4px;
|
|
84
|
+
color: transparent;
|
|
85
|
+
font-size: 16px;
|
|
86
|
+
background: transparent;
|
|
87
|
+
border-radius: 12px;
|
|
88
|
+
}
|
|
89
|
+
.close-btn:hover {
|
|
90
|
+
color: #fff;
|
|
91
|
+
background: #fb5547;
|
|
92
|
+
}
|
|
93
|
+
.shenpi {
|
|
94
|
+
color: #457dff;
|
|
95
|
+
font-size: 18px !important;
|
|
96
|
+
}
|
|
97
|
+
.check_filled {
|
|
98
|
+
color: #29bd52;
|
|
99
|
+
font-size: 18px !important;
|
|
100
|
+
}
|
|
101
|
+
.tishi1 {
|
|
102
|
+
color: #fb5547;
|
|
103
|
+
font-size: 18px !important;
|
|
104
|
+
}
|
|
105
|
+
.zhongmingming {
|
|
106
|
+
color: #ccd0d4;
|
|
107
|
+
font-size: 20px !important;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
.base-btn-add {
|
|
111
|
+
display: flex;
|
|
112
|
+
align-items: center;
|
|
113
|
+
justify-content: center;
|
|
114
|
+
width: 32px;
|
|
115
|
+
height: 32px;
|
|
116
|
+
padding: 8px;
|
|
117
|
+
color: #457dff;
|
|
118
|
+
font-size: 16px;
|
|
119
|
+
background: #fff;
|
|
120
|
+
border-radius: 16px;
|
|
121
|
+
/* 投影/一级下拉菜单 */
|
|
122
|
+
box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.1);
|
|
123
|
+
cursor: pointer;
|
|
124
|
+
}
|
|
125
|
+
.base-btn-add:hover {
|
|
126
|
+
color: #fff;
|
|
127
|
+
background: #457dff;
|
|
128
|
+
}
|
|
129
|
+
.node-end {
|
|
130
|
+
display: flex;
|
|
131
|
+
gap: 8px;
|
|
132
|
+
align-items: center;
|
|
133
|
+
width: 224px;
|
|
134
|
+
height: 40px;
|
|
135
|
+
padding: 0px 8px;
|
|
136
|
+
overflow: hidden;
|
|
137
|
+
color: var(--io-N-, #021429);
|
|
138
|
+
font-weight: 400;
|
|
139
|
+
font-size: 16px;
|
|
140
|
+
font-family: 'PingFang SC';
|
|
141
|
+
font-style: normal;
|
|
142
|
+
line-height: 22px; /* 137.5% */
|
|
143
|
+
text-overflow: ellipsis;
|
|
144
|
+
background: #fff;
|
|
145
|
+
border-radius: 20px;
|
|
146
|
+
|
|
147
|
+
/* 投影/一级下拉菜单 */
|
|
148
|
+
box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.1);
|
|
149
|
+
}
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
@import '~@zgfe/business-lib/es/assets/styles/inner.less';
|
|
2
|
-
.setting-graph-panel {
|
|
3
|
-
position: absolute;
|
|
4
|
-
// background: #fff;
|
|
5
|
-
top: 12px;
|
|
6
|
-
left: 50%;
|
|
7
|
-
z-index: 1;
|
|
8
|
-
height: 32px;
|
|
9
|
-
padding: 7px 12px;
|
|
10
|
-
transform: translateX(-50%);
|
|
11
|
-
.x6-toolbar-group {
|
|
12
|
-
gap: 5px;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
// .setting-graph-canvas::-webkit-scrollbar{
|
|
16
|
-
// width: 10px;
|
|
17
|
-
// }
|
|
18
|
-
|
|
19
|
-
.x6-widget-transform-resize {
|
|
20
|
-
display: none;
|
|
21
|
-
}
|
|
22
|
-
.x6-widget-transform-cursor-ne {
|
|
23
|
-
display: inherit;
|
|
24
|
-
}
|
|
25
|
-
.flow-container {
|
|
26
|
-
display: flex;
|
|
27
|
-
flex-direction: column;
|
|
28
|
-
.x6-toolbar {
|
|
29
|
-
flex: none;
|
|
30
|
-
}
|
|
31
|
-
.x6-graph {
|
|
32
|
-
flex: 1;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
1
|
+
@import '~@zgfe/business-lib/es/assets/styles/inner.less';
|
|
2
|
+
.setting-graph-panel {
|
|
3
|
+
position: absolute;
|
|
4
|
+
// background: #fff;
|
|
5
|
+
top: 12px;
|
|
6
|
+
left: 50%;
|
|
7
|
+
z-index: 1;
|
|
8
|
+
height: 32px;
|
|
9
|
+
padding: 7px 12px;
|
|
10
|
+
transform: translateX(-50%);
|
|
11
|
+
.x6-toolbar-group {
|
|
12
|
+
gap: 5px;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
// .setting-graph-canvas::-webkit-scrollbar{
|
|
16
|
+
// width: 10px;
|
|
17
|
+
// }
|
|
18
|
+
|
|
19
|
+
.x6-widget-transform-resize {
|
|
20
|
+
display: none;
|
|
21
|
+
}
|
|
22
|
+
.x6-widget-transform-cursor-ne {
|
|
23
|
+
display: inherit;
|
|
24
|
+
}
|
|
25
|
+
.flow-container {
|
|
26
|
+
display: flex;
|
|
27
|
+
flex-direction: column;
|
|
28
|
+
.x6-toolbar {
|
|
29
|
+
flex: none;
|
|
30
|
+
}
|
|
31
|
+
.x6-graph {
|
|
32
|
+
flex: 1;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
function _slicedToArray(
|
|
1
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
2
2
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
3
|
-
function _unsupportedIterableToArray(
|
|
4
|
-
function _arrayLikeToArray(
|
|
5
|
-
function _iterableToArrayLimit(
|
|
6
|
-
function _arrayWithHoles(
|
|
3
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
4
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
5
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
6
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
7
7
|
import React, { useEffect, useState } from 'react';
|
|
8
8
|
import { Toolbar } from '@antv/x6-react-components';
|
|
9
9
|
import '@antv/x6-react-components/es/menu/style/index.css';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
function _typeof(
|
|
2
|
-
function ownKeys(
|
|
3
|
-
function _objectSpread(
|
|
4
|
-
function _defineProperty(
|
|
5
|
-
function _toPropertyKey(
|
|
6
|
-
function _toPrimitive(
|
|
7
|
-
function _slicedToArray(
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
5
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
6
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
8
8
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
9
|
-
function _unsupportedIterableToArray(
|
|
10
|
-
function _arrayLikeToArray(
|
|
11
|
-
function _iterableToArrayLimit(
|
|
12
|
-
function _arrayWithHoles(
|
|
9
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
10
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
11
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
12
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
13
13
|
import React, { useEffect, useState, useContext } from 'react';
|
|
14
14
|
import { Spin } from 'antd';
|
|
15
15
|
import { BizUserCondition, BizGlobalDataContext, ajax } from '@zgfe/business-lib';
|
|
@@ -78,7 +78,6 @@ var SetDataRangeDialog = function SetDataRangeDialog(props) {
|
|
|
78
78
|
loadEnvList(currentSelectAppInfo.app_id);
|
|
79
79
|
// queryGroupTags(currentSelectAppInfo);
|
|
80
80
|
};
|
|
81
|
-
|
|
82
81
|
function loadUserProps(appId) {
|
|
83
82
|
setLoadUsers(true);
|
|
84
83
|
ajax('/zg/web/v2/appusergroup/getUserPropMeta', {
|
|
@@ -134,7 +133,7 @@ var SetDataRangeDialog = function SetDataRangeDialog(props) {
|
|
|
134
133
|
});
|
|
135
134
|
setStore(newStore);
|
|
136
135
|
}, [loadEvent, loadEnv, loadUsers]);
|
|
137
|
-
return /*#__PURE__*/React.createElement("div", null, !loadEnv && !loadEvent && !loadUsers ? /*#__PURE__*/React.createElement(BizGlobalDataContext.Provider, {
|
|
136
|
+
return /*#__PURE__*/React.createElement("div", null, !loadEnv && !loadEvent && !loadUsers ? (/*#__PURE__*/React.createElement(BizGlobalDataContext.Provider, {
|
|
138
137
|
value: {
|
|
139
138
|
eventGroupList: newStore.eventGroupList,
|
|
140
139
|
userPropList: newStore.userPropList,
|
|
@@ -158,8 +157,8 @@ var SetDataRangeDialog = function SetDataRangeDialog(props) {
|
|
|
158
157
|
eventAttrNum: 3,
|
|
159
158
|
isRealTime: true,
|
|
160
159
|
key: currentSelectAppInfo.app_id
|
|
161
|
-
})) : /*#__PURE__*/React.createElement(Spin, {
|
|
160
|
+
}))) : (/*#__PURE__*/React.createElement(Spin, {
|
|
162
161
|
tip: "\u57FA\u7840\u6570\u636E\u52A0\u8F7D\u4E2D"
|
|
163
|
-
}));
|
|
162
|
+
})));
|
|
164
163
|
};
|
|
165
164
|
export default SetDataRangeDialog;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
function _slicedToArray(
|
|
1
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
2
2
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
3
|
-
function _unsupportedIterableToArray(
|
|
4
|
-
function _arrayLikeToArray(
|
|
5
|
-
function _iterableToArrayLimit(
|
|
6
|
-
function _arrayWithHoles(
|
|
3
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
4
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
5
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
6
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
7
7
|
import React, { useState } from 'react';
|
|
8
8
|
import Sider from 'antd/lib/layout/Sider';
|
|
9
9
|
import Layout, { Content } from 'antd/lib/layout/layout';
|