@zgfe/modules-dm 1.0.42-alpha.8 → 1.0.56-zhongyuan.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (130) hide show
  1. package/es/components/demo.js +1 -1
  2. package/es/constants/api.d.ts +37 -0
  3. package/es/constants/api.js +62 -1
  4. package/es/index.d.ts +4 -3
  5. package/es/index.js +4 -3
  6. package/es/modules/CutsModal.d.ts +66 -0
  7. package/es/modules/CutsModal.js +52 -0
  8. package/es/modules/{dataCollection → dataManage}/collectionAttributeList.d.ts +3 -0
  9. package/es/modules/dataManage/collectionAttributeList.js +943 -0
  10. package/es/modules/{dataCollection → dataManage}/collectionEventList.d.ts +6 -0
  11. package/es/modules/dataManage/collectionEventList.js +883 -0
  12. package/es/modules/dataManage/components/createAttrDrawer.d.ts +4 -0
  13. package/es/modules/dataManage/components/createAttrDrawer.js +264 -0
  14. package/es/modules/dataManage/components/createMetaDrawer.d.ts +4 -0
  15. package/es/modules/dataManage/components/createMetaDrawer.js +618 -0
  16. package/es/modules/{dataCollection → dataManage}/components/createVirtualDrawer.js +20 -20
  17. package/es/modules/dataManage/components/creditPop/imgs/link.png +0 -0
  18. package/es/modules/dataManage/components/creditPop/imgs/png01.png +0 -0
  19. package/es/modules/dataManage/components/creditPop/imgs/png02.png +0 -0
  20. package/es/modules/dataManage/components/creditPop/imgs/png03.png +0 -0
  21. package/es/modules/dataManage/components/creditPop/imgs/png04.png +0 -0
  22. package/es/modules/dataManage/components/creditPop/index.d.ts +5 -0
  23. package/es/modules/dataManage/components/creditPop/index.js +89 -0
  24. package/es/modules/dataManage/components/creditPop/index.less +121 -0
  25. package/es/modules/dataManage/components/deleteConfirm.d.ts +9 -0
  26. package/es/modules/dataManage/components/deleteConfirm.js +36 -0
  27. package/es/modules/dataManage/components/deleteUserAttrConfirm.d.ts +9 -0
  28. package/es/modules/dataManage/components/deleteUserAttrConfirm.js +57 -0
  29. package/es/modules/dataManage/components/depositPop/imgs/link.png +0 -0
  30. package/es/modules/dataManage/components/depositPop/imgs/png01.png +0 -0
  31. package/es/modules/dataManage/components/depositPop/imgs/png02.png +0 -0
  32. package/es/modules/dataManage/components/depositPop/index.d.ts +5 -0
  33. package/es/modules/dataManage/components/depositPop/index.js +89 -0
  34. package/es/modules/dataManage/components/depositPop/index.less +115 -0
  35. package/es/modules/dataManage/components/developModal/index.css +36 -0
  36. package/es/modules/dataManage/components/developModal/index.d.ts +5 -0
  37. package/es/modules/dataManage/components/developModal/index.js +224 -0
  38. package/es/modules/dataManage/components/developModal/index.less +36 -0
  39. package/es/modules/dataManage/components/editTxt/index.d.ts +5 -0
  40. package/es/modules/dataManage/components/editTxt/index.js +123 -0
  41. package/es/modules/dataManage/components/editTxt/index.less +44 -0
  42. package/es/modules/dataManage/components/editTxt/types.d.ts +48 -0
  43. package/es/modules/{dataCollection → dataManage}/components/eventFilter/index.js +13 -13
  44. package/es/modules/{dataCollection → dataManage}/components/eventFilter/styles/index.less +1 -1
  45. package/es/modules/{dataCollection → dataManage}/components/eventGroupingDrawer.js +44 -47
  46. package/es/modules/dataManage/components/importAttrDialog/demo/index.d.ts +2 -0
  47. package/es/modules/dataManage/components/importAttrDialog/demo/index.js +28 -0
  48. package/es/modules/dataManage/components/importAttrDialog/index.d.ts +7 -0
  49. package/es/modules/dataManage/components/importAttrDialog/index.js +157 -0
  50. package/es/modules/dataManage/components/importAttrDialog/styles/index.less +90 -0
  51. package/es/modules/dataManage/components/importMetaDialog/demo/index.d.ts +2 -0
  52. package/es/modules/dataManage/components/importMetaDialog/demo/index.js +28 -0
  53. package/es/modules/dataManage/components/importMetaDialog/index.d.ts +7 -0
  54. package/es/modules/dataManage/components/importMetaDialog/index.js +157 -0
  55. package/es/modules/dataManage/components/importMetaDialog/styles/index.less +91 -0
  56. package/es/modules/{dataCollection → dataManage}/components/selectAttributes.js +10 -10
  57. package/es/modules/{dataCollection → dataManage}/components/tablePlus.d.ts +4 -0
  58. package/es/modules/dataManage/components/tablePlus.js +1207 -0
  59. package/es/modules/{dataCollection → dataManage}/components/virtualTablePlus.js +10 -10
  60. package/es/modules/dataManage/demo/index.js +79 -16
  61. package/es/modules/dataManage/detailedData/DetailedDataForm.d.ts +5 -0
  62. package/es/modules/dataManage/detailedData/DetailedDataForm.js +216 -0
  63. package/es/modules/dataManage/detailedData/index.d.ts +24 -0
  64. package/es/modules/dataManage/detailedData/index.js +403 -0
  65. package/es/modules/dataManage/detailedData/useColumns.d.ts +34 -0
  66. package/es/modules/dataManage/detailedData/useColumns.js +135 -0
  67. package/es/modules/dataManage/index.d.ts +9 -19
  68. package/es/modules/dataManage/index.js +176 -17
  69. package/es/modules/dataManage/styles/detailed.less +74 -0
  70. package/es/modules/dataManage/styles/index.less +1177 -18
  71. package/es/modules/{dataCollection → dataManage}/types.d.ts +8 -0
  72. package/es/modules/dataManage/types.js +1 -0
  73. package/es/modules/{dataCollection → dataManage}/virtualEventList.js +13 -13
  74. package/es/modules/dataMap/component/data.d.ts +7 -0
  75. package/es/modules/dataMap/component/data.js +257 -0
  76. package/es/modules/dataMap/component/drawerAdd.d.ts +6 -0
  77. package/es/modules/dataMap/component/drawerAdd.js +376 -0
  78. package/es/modules/dataMap/component/leftTree.d.ts +6 -0
  79. package/es/modules/dataMap/component/leftTree.js +227 -0
  80. package/es/modules/dataMap/component/rightDetail.d.ts +7 -0
  81. package/es/modules/dataMap/component/rightDetail.js +680 -0
  82. package/es/modules/dataMap/component/selectAttr.d.ts +7 -0
  83. package/es/modules/dataMap/component/selectAttr.js +92 -0
  84. package/es/modules/dataMap/css/index.css +163 -0
  85. package/es/modules/dataMap/css/index.less +177 -0
  86. package/es/modules/dataMap/demo/index.d.ts +2 -0
  87. package/es/modules/dataMap/demo/index.js +6 -0
  88. package/es/modules/dataMap/img/empty-data.png +0 -0
  89. package/es/modules/dataMap/index.d.ts +2 -0
  90. package/es/modules/dataMap/index.js +80 -0
  91. package/es/modules/dataMap/mapDetail.d.ts +3 -0
  92. package/es/modules/dataMap/mapDetail.js +44 -0
  93. package/es/modules/dataMap/mapSetting.d.ts +6 -0
  94. package/es/modules/dataMap/mapSetting.js +148 -0
  95. package/es/modules/dataPlan/addEventOrUser.js +31 -30
  96. package/es/modules/dataPlan/addPlan.js +29 -27
  97. package/es/modules/dataPlan/eventList.js +2 -2
  98. package/es/modules/dataPlan/index.js +10 -10
  99. package/es/modules/dataPlan/search.js +6 -5
  100. package/es/modules/dataPlan/tablePlus.js +3 -3
  101. package/es/modules/dataPlan/userAttributeList.js +5 -5
  102. package/es/modules/dataReal/css/index.css +48 -0
  103. package/es/modules/dataReal/css/index.less +51 -0
  104. package/es/modules/dataReal/demo/index.d.ts +2 -0
  105. package/es/modules/dataReal/demo/index.js +6 -0
  106. package/es/modules/dataReal/index1.d.ts +28 -0
  107. package/es/modules/dataReal/index1.js +215 -0
  108. package/es/modules/dataReal/table.d.ts +5 -0
  109. package/es/modules/dataReal/table.js +258 -0
  110. package/es/store/index.js +11 -11
  111. package/es/utils/index.d.ts +1 -0
  112. package/es/utils/index.js +9 -1
  113. package/package.json +8 -4
  114. package/es/modules/dataCollection/collectionAttributeList.js +0 -508
  115. package/es/modules/dataCollection/collectionEventList.js +0 -466
  116. package/es/modules/dataCollection/components/tablePlus.js +0 -676
  117. package/es/modules/dataCollection/index.d.ts +0 -19
  118. package/es/modules/dataCollection/index.js +0 -93
  119. package/es/modules/dataCollection/styles/index.less +0 -842
  120. /package/es/modules/{dataCollection → dataManage}/components/createVirtualDrawer.d.ts +0 -0
  121. /package/es/modules/{dataCollection/components/eventFilter → dataManage/components/editTxt}/types.js +0 -0
  122. /package/es/modules/{dataCollection → dataManage}/components/eventFilter/index.d.ts +0 -0
  123. /package/es/modules/{dataCollection → dataManage}/components/eventFilter/types.d.ts +0 -0
  124. /package/es/modules/{dataCollection → dataManage/components/eventFilter}/types.js +0 -0
  125. /package/es/modules/{dataCollection → dataManage}/components/eventGroupingDrawer.d.ts +0 -0
  126. /package/es/modules/{dataCollection → dataManage}/components/eventItem.d.ts +0 -0
  127. /package/es/modules/{dataCollection → dataManage}/components/eventItem.js +0 -0
  128. /package/es/modules/{dataCollection → dataManage}/components/selectAttributes.d.ts +0 -0
  129. /package/es/modules/{dataCollection → dataManage}/components/virtualTablePlus.d.ts +0 -0
  130. /package/es/modules/{dataCollection → dataManage}/virtualEventList.d.ts +0 -0
@@ -1,21 +1,141 @@
1
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
1
+ function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
2
+ function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
3
+ function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
4
+ function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
5
+ function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
2
6
  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(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
4
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
5
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
6
- function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
7
+ 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; } }
8
+ 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; }
9
+ 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; } }
10
+ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
7
11
  import { BizGlobalDataContext } from '@zgfe/business-lib';
8
- import React, { useContext, useEffect } from 'react';
9
- import './styles/index.less';
12
+ import { Tabs } from 'antd';
10
13
  import { DmContext, upDatedDmFun } from '../../store';
11
14
  import { ActionType } from '../../store/action';
12
- import DataCollection from '../dataCollection';
15
+ import { useLocation } from 'umi';
16
+ import React, { useState, useContext, useEffect } from 'react';
17
+ import request from '../../utils/ajax';
18
+ import apis from '../../constants/api';
19
+ import { getAppID } from '../../utils';
20
+ import EventList from './collectionEventList';
21
+ import CollectionAttributeList from './collectionAttributeList';
22
+ import VirtualEventList from './virtualEventList';
23
+ import DetailedData from './detailedData';
13
24
  var DataManage = function DataManage(props) {
25
+ var _props$selectObj, _props$selectObj2, _location$query3;
26
+ var classPrefix = 'data-manage';
14
27
  var _useContext = useContext(BizGlobalDataContext),
28
+ router = _useContext.router,
29
+ routes = _useContext.routes,
30
+ route = _useContext.route,
31
+ currentApp = _useContext.currentApp,
15
32
  authority = _useContext.authority;
16
- var classPrefix = 'data-manage';
17
- var updateEventMetas = props.updateEventMetas,
18
- showPlan = props.showPlan;
33
+ var location = useLocation();
34
+ // 判断埋点方案开关是否打开
35
+ var _useState = useState(0),
36
+ _useState2 = _slicedToArray(_useState, 2),
37
+ isOpen = _useState2[0],
38
+ setIsOpen = _useState2[1];
39
+ // 不在方案中的数据
40
+ var _useState3 = useState({}),
41
+ _useState4 = _slicedToArray(_useState3, 2),
42
+ queryPlanData = _useState4[0],
43
+ setqueryPlanData = _useState4[1];
44
+ // 选中的元事件
45
+ var _useState5 = useState((_props$selectObj = props.selectObj) === null || _props$selectObj === void 0 ? void 0 : _props$selectObj.selectEventList),
46
+ _useState6 = _slicedToArray(_useState5, 2),
47
+ selectEventList = _useState6[0],
48
+ setSelectEventList = _useState6[1];
49
+ // 选中的用户属性
50
+ var _useState7 = useState((_props$selectObj2 = props.selectObj) === null || _props$selectObj2 === void 0 ? void 0 : _props$selectObj2.selectAttrList),
51
+ _useState8 = _slicedToArray(_useState7, 2),
52
+ selectAttrList = _useState8[0],
53
+ setSelectAttrList = _useState8[1];
54
+ // query中指定查询的key,做切换的时候清空
55
+ var _useState9 = useState(route && route.query && route.query.key || ''),
56
+ _useState10 = _slicedToArray(_useState9, 2),
57
+ queryKey = _useState10[0],
58
+ setQueryKey = _useState10[1];
59
+ useEffect(function () {
60
+ props.onChangeSelectObj && props.onChangeSelectObj({
61
+ selectEventList: selectEventList,
62
+ selectAttrList: selectAttrList
63
+ });
64
+ }, [selectEventList, selectAttrList]);
65
+ // useEffect(() => {
66
+ // setSelectEventList(props.selectObj?.selectEventList);
67
+ // setSelectAttrList(props.selectObj?.selectAttrList);
68
+ // }, [props.selectObj]);
69
+ var items = props.isSingleSelect ? [authority[100020] && {
70
+ key: '1',
71
+ label: '元事件',
72
+ children: (/*#__PURE__*/React.createElement(EventList, {
73
+ isOpen: isOpen,
74
+ queryPlanData: queryPlanData,
75
+ selectTreeName: props.selectTreeName,
76
+ selectEventList: selectEventList,
77
+ setSelectEventList: setSelectEventList,
78
+ isSingleSelect: props.isSingleSelect
79
+ }))
80
+ }] : props.isSelect ? [authority[100020] && {
81
+ key: '1',
82
+ label: '元事件',
83
+ children: (/*#__PURE__*/React.createElement(EventList, {
84
+ isOpen: isOpen,
85
+ queryPlanData: queryPlanData,
86
+ selectEventList: selectEventList,
87
+ setSelectEventList: setSelectEventList,
88
+ isSelect: props.isSelect
89
+ }))
90
+ }, authority[100021] && {
91
+ key: '2',
92
+ label: "".concat((currentApp === null || currentApp === void 0 ? void 0 : currentApp.type) != 'user' ? '主体属性' : '用户属性'),
93
+ children: (/*#__PURE__*/React.createElement(CollectionAttributeList, {
94
+ isOpen: isOpen,
95
+ queryPlanData: queryPlanData,
96
+ source: "user",
97
+ selectAttrList: selectAttrList,
98
+ setSelectEventList: setSelectAttrList,
99
+ isSelect: props.isSelect
100
+ }))
101
+ }] : [authority[100020] && {
102
+ key: '1',
103
+ label: '元事件',
104
+ children: (/*#__PURE__*/React.createElement(EventList, {
105
+ isOpen: isOpen,
106
+ queryPlanData: queryPlanData,
107
+ selectTreeName: props === null || props === void 0 ? void 0 : props.selectTreeName,
108
+ queryKey: queryKey
109
+ }))
110
+ }, authority[1700559695] && {
111
+ key: '3',
112
+ label: '虚拟事件',
113
+ children: /*#__PURE__*/React.createElement(VirtualEventList, null)
114
+ }, authority[100021] && {
115
+ key: '2',
116
+ label: "".concat((currentApp === null || currentApp === void 0 ? void 0 : currentApp.type) != 'user' ? '主体属性' : '用户属性'),
117
+ children: (/*#__PURE__*/React.createElement(CollectionAttributeList, {
118
+ isOpen: isOpen,
119
+ queryPlanData: queryPlanData,
120
+ source: "user"
121
+ }))
122
+ }, authority[1716286087] && {
123
+ key: '4',
124
+ label: '明细数据',
125
+ children: /*#__PURE__*/React.createElement(DetailedData, null)
126
+ }].concat(_toConsumableArray(props.extraTabs || []));
127
+ var _useState11 = useState(props.isSelectTab ? props.isSelectTab : '1'),
128
+ _useState12 = _slicedToArray(_useState11, 2),
129
+ activeKey = _useState12[0],
130
+ setActiveKey = _useState12[1];
131
+ useEffect(function () {
132
+ var _location$query, _location$query2;
133
+ var _items = items.filter(function (item) {
134
+ return item !== undefined;
135
+ });
136
+ setActiveKey((location === null || location === void 0 ? void 0 : (_location$query = location.query) === null || _location$query === void 0 ? void 0 : _location$query.tab) ? location === null || location === void 0 ? void 0 : (_location$query2 = location.query) === null || _location$query2 === void 0 ? void 0 : _location$query2.tab : _items && _items[0] && _items[0].key || '1');
137
+ }, [items, location === null || location === void 0 ? void 0 : (_location$query3 = location.query) === null || _location$query3 === void 0 ? void 0 : _location$query3.tab]);
138
+ var updateEventMetas = props.updateEventMetas;
19
139
  var _upDatedDmFun = upDatedDmFun(),
20
140
  _upDatedDmFun2 = _slicedToArray(_upDatedDmFun, 2),
21
141
  state = _upDatedDmFun2[0],
@@ -26,6 +146,45 @@ var DataManage = function DataManage(props) {
26
146
  payload: updateEventMetas
27
147
  });
28
148
  }, []);
149
+ var queryControlSwitch = function queryControlSwitch() {
150
+ request(apis.queryControlSwitch, {
151
+ method: 'get',
152
+ params: {
153
+ appId: getAppID(currentApp)
154
+ }
155
+ }).then(function (res) {
156
+ if (!res) return;
157
+ setIsOpen(res.data.isOpen);
158
+ });
159
+ };
160
+ var queryPlan = function queryPlan() {
161
+ request(apis.queryPlan, {
162
+ method: 'post',
163
+ data: {
164
+ appId: getAppID(currentApp)
165
+ }
166
+ }).then(function (res) {
167
+ if (!res) return;
168
+ setqueryPlanData(res.data);
169
+ });
170
+ };
171
+ // 初始化数据
172
+ useEffect(function () {
173
+ if (authority[100020] || authority[100021]) {
174
+ queryControlSwitch();
175
+ queryPlan();
176
+ }
177
+ }, [authority]);
178
+ var onChange = function onChange(key) {
179
+ setQueryKey('');
180
+ setActiveKey(key);
181
+ !props.isSelect && !props.isSingleSelect && (router === null || router === void 0 ? void 0 : router.push({
182
+ name: routes.dataAccess.manage,
183
+ query: {
184
+ tab: key
185
+ }
186
+ }));
187
+ };
29
188
  return /*#__PURE__*/React.createElement(DmContext.Provider, {
30
189
  value: {
31
190
  state: state,
@@ -33,12 +192,12 @@ var DataManage = function DataManage(props) {
33
192
  }
34
193
  }, /*#__PURE__*/React.createElement("div", {
35
194
  className: classPrefix
36
- }, /*#__PURE__*/React.createElement(DataCollection, {
37
- activeTab: props.activeSubTab,
38
- extraTabs: props.extraSubTabs
195
+ }, /*#__PURE__*/React.createElement(Tabs, {
196
+ className: "tabs",
197
+ activeKey: activeKey,
198
+ destroyInactiveTabPane: true,
199
+ items: items,
200
+ onChange: onChange
39
201
  })));
40
202
  };
41
- DataManage.defaultProps = {
42
- showPlan: true
43
- };
44
203
  export default DataManage;
@@ -0,0 +1,74 @@
1
+ .detailed-data {
2
+ &-header {
3
+ display: flex;
4
+ justify-content: space-between;
5
+ padding: 16px 0;
6
+
7
+ &-left {
8
+ display: flex;
9
+ gap: 0 10px;
10
+ align-items: center;
11
+ }
12
+
13
+ &-right {
14
+ display: flex;
15
+ gap: 16px;
16
+
17
+ button span {
18
+ margin: 0 4px;
19
+ }
20
+ }
21
+ }
22
+
23
+ &-operate {
24
+ display: flex;
25
+ gap: 16px;
26
+ justify-content: flex-start;
27
+ }
28
+
29
+ &-input-340 {
30
+ width: 340px !important;
31
+ }
32
+
33
+ &-disabled,
34
+ &-disabled:hover,
35
+ &-disabled:focus {
36
+ cursor: not-allowed !important;
37
+ }
38
+
39
+ .ant-btn-primary[disabled],
40
+ .ant-btn-primary[disabled]:hover,
41
+ .ant-btn-primary[disabled]:focus,
42
+ .ant-btn-primary[disabled]:active {
43
+ color: #fff;
44
+ background: var(--io-i2-, #d0dfff);
45
+ border: 1px solid #d0dfff;
46
+ }
47
+
48
+ &-modal {
49
+ .ant-modal-body {
50
+ padding: 24px !important;
51
+ }
52
+
53
+ .ant-modal-confirm-body .ant-modal-confirm-title {
54
+ color: #000;
55
+ font-size: 24px;
56
+ line-height: 24px;
57
+ }
58
+
59
+ .ant-modal-confirm-body .ant-modal-confirm-content {
60
+ margin-top: 0;
61
+ padding-top: 24px;
62
+ }
63
+
64
+ .ant-modal-close {
65
+ padding-top: 8px;
66
+ padding-right: 6px;
67
+
68
+ &-x {
69
+ color: #021429;
70
+ font-size: 24px;
71
+ }
72
+ }
73
+ }
74
+ }