@zgfe/modules-dm 1.0.34-heyh.32 → 1.0.34-heyh.34

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.
@@ -102,7 +102,7 @@ var EventFilter = function EventFilter(props) {
102
102
  return /*#__PURE__*/React.createElement("div", {
103
103
  className: classPrefix
104
104
  }, /*#__PURE__*/React.createElement("div", {
105
- className: "".concat(classPrefix, "-eventSelector")
105
+ className: "".concat(classPrefix, "-eventSelector ").concat(count > 0 ? 'hasattr' : '')
106
106
  }, /*#__PURE__*/React.createElement("div", null, index + 1), /*#__PURE__*/React.createElement(BizEventSelector, {
107
107
  showAllEvent: false,
108
108
  showBuiltInTarget: false,
@@ -15,8 +15,6 @@
15
15
  }
16
16
  &-eventSelector {
17
17
  display: flex;
18
- margin-bottom: 4px;
19
- padding-bottom: 4px;
20
18
  > :nth-child(1) {
21
19
  width: 20px;
22
20
  height: 20px;
@@ -46,6 +44,10 @@
46
44
  cursor: not-allowed !important;
47
45
  }
48
46
  }
47
+ &-eventSelector.hasattr {
48
+ margin-bottom: 4px;
49
+ padding-bottom: 4px;
50
+ }
49
51
  .delete-box {
50
52
  position: absolute;
51
53
  top: -32px;
@@ -59,6 +61,7 @@
59
61
  bottom: 5px;
60
62
  left: 11px;
61
63
  font-size: 17px !important;
64
+ cursor: pointer;
62
65
  }
63
66
  }
64
67
  }
@@ -321,21 +321,24 @@ var EventGroupingDrawer = function EventGroupingDrawer(props) {
321
321
  title: null,
322
322
  content: moveContent
323
323
  }, /*#__PURE__*/React.createElement("span", {
324
- className: "".concat(groupingData.length > 1 ? '' : 'not-operable'),
324
+ className: "handle ".concat(groupingData.length > 1 ? '' : 'not-operable'),
325
325
  onClick: function onClick() {
326
326
  if (groupingData.length > 1) {
327
327
  eventMove(item.groupId);
328
328
  }
329
329
  }
330
330
  }, "\u79FB\u52A8")), /*#__PURE__*/React.createElement("span", {
331
+ className: 'handle',
331
332
  onClick: function onClick() {
332
333
  return eventShowOrHidden(0, item.groupId);
333
334
  }
334
335
  }, "\u663E\u793A"), /*#__PURE__*/React.createElement("span", {
336
+ className: 'handle',
335
337
  onClick: function onClick() {
336
338
  return eventShowOrHidden(1, item.groupId);
337
339
  }
338
340
  }, "\u9690\u85CF")), item.groupName && /*#__PURE__*/React.createElement("span", {
341
+ className: 'handle',
339
342
  onClick: function onClick() {
340
343
  return groupDelete(item.groupId);
341
344
  }
@@ -385,7 +388,7 @@ var EventGroupingDrawer = function EventGroupingDrawer(props) {
385
388
  return /*#__PURE__*/React.createElement(Fragment, null, /*#__PURE__*/React.createElement(Drawer, {
386
389
  className: classPrefix,
387
390
  width: 700,
388
- title: /*#__PURE__*/React.createElement("div", null, "\u4E8B\u4EF6\u5206\u7EC4\u7BA1\u7406", /*#__PURE__*/React.createElement("span", null, "\u7EDF\u4E00\u7BA1\u7406\u57CB\u70B9\u4E8B\u4EF6\u548C\u865A\u62DF\u4E8B\u4EF6\u4E1A\u52A1\u5206\u7EC4\uFF0C\u652F\u6301\u5BF9\u4E8B\u4EF6\u8C03\u6574\u6392\u5E8F\u548C\u9690\u85CF")),
391
+ title: /*#__PURE__*/React.createElement("div", null, "\u4E8B\u4EF6\u5206\u7EC4\u7BA1\u7406", /*#__PURE__*/React.createElement("span", null, "\u7EDF\u4E00\u7BA1\u7406\u57CB\u70B9\u4E8B\u4EF6\u548C\u865A\u62DF\u4E8B\u4EF6\u4E1A\u52A1\u5206\u7EC4\uFF0C\u4EC5\u5C55\u793A\u6709\u6570\u636E\u4E0A\u62A5\u7684\u4E8B\u4EF6")),
389
392
  placement: "right",
390
393
  onClose: function onClose() {
391
394
  setEventGroupingShow(false);
@@ -9,6 +9,7 @@ var EventItem = function EventItem(props) {
9
9
  groupingData = props.groupingData,
10
10
  setGroupingData = props.setGroupingData,
11
11
  searchData = props.searchData;
12
+ console.log('componnetData', componnetData);
12
13
  var SortableItem = function SortableItem(data) {
13
14
  var item = data.item,
14
15
  index = data.index;
@@ -1,7 +1,7 @@
1
1
  @import '~@zgfe/business-lib/es/assets/styles/inner.less';
2
2
  .data-collection {
3
3
  position: relative;
4
- height: 100%;
4
+ height: calc(100vh - 78px);
5
5
  padding: 24px;
6
6
  background: #fff;
7
7
  border-radius: 8px;
@@ -77,7 +77,7 @@
77
77
  top: 0;
78
78
  right: 0;
79
79
  display: flex;
80
- gap: 8px;
80
+ gap: 16px;
81
81
  line-height: 100%;
82
82
  > :nth-child(2),
83
83
  > :nth-child(3) {
@@ -88,6 +88,8 @@
88
88
  }
89
89
  .table-plus {
90
90
  &-table {
91
+ border-radius: 8px!important;
92
+ overflow: hidden;
91
93
  .ant-table {
92
94
  .ant-table-thead {
93
95
  > tr > th {
@@ -451,6 +453,7 @@
451
453
  > :nth-child(2) {
452
454
  margin-top: 8px;
453
455
  color: #67727f;
456
+ font-size: 12px;
454
457
  }
455
458
  }
456
459
  &-eventDataBox.see {
@@ -481,7 +484,8 @@
481
484
  gap: 16px;
482
485
  justify-content: end;
483
486
  width: 100%;
484
- padding: 24px;
487
+ padding: 16px;
488
+ padding-right: 24px;
485
489
  background: #fff;
486
490
  border-top: 1px solid #f2f3f4;
487
491
  }
@@ -524,6 +528,9 @@
524
528
  .zhongmingming {
525
529
  cursor: pointer;
526
530
  }
531
+ .zhongmingming:hover{
532
+ color: #165DFF;
533
+ }
527
534
  }
528
535
  > :last-child {
529
536
  color: #9aa1a9;
@@ -538,6 +545,9 @@
538
545
  font-size: 18px !important;
539
546
  cursor: pointer;
540
547
  }
548
+ .handle:hover{
549
+ color: #165DFF;
550
+ }
541
551
  }
542
552
  }
543
553
  &-content {
@@ -558,6 +568,7 @@
558
568
  margin: 0;
559
569
  padding: 9px 0 9px 16px;
560
570
  background: #fafafb;
571
+ border-radius: 4px;
561
572
  .ant-checkbox {
562
573
  margin-top: -6px;
563
574
  }
@@ -581,6 +592,7 @@
581
592
  }
582
593
  }
583
594
  &-top-box {
595
+ margin-top: -8px;
584
596
  display: flex;
585
597
  align-items: center;
586
598
  justify-content: space-between;
package/es/utils/index.js CHANGED
@@ -237,7 +237,6 @@ export var eventListHandle = function eventListHandle(data) {
237
237
  data.map(function (item) {
238
238
  item.checked = false;
239
239
  item.open = false;
240
- item.count = item.eventList.length;
241
240
  if (item.eventList.length > 0) {
242
241
  item.eventList = item.eventList.filter(function (_item) {
243
242
  _item.searchShow = 1;
@@ -248,6 +247,7 @@ export var eventListHandle = function eventListHandle(data) {
248
247
  item.open = true;
249
248
  }
250
249
  }
250
+ item.count = item.eventList.length;
251
251
  });
252
252
  return data;
253
253
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/modules-dm",
3
- "version": "1.0.34-heyh.32",
3
+ "version": "1.0.34-heyh.34",
4
4
  "license": "ISC",
5
5
  "module": "es/index.js",
6
6
  "typings": "es/index.d.ts",
@@ -51,7 +51,7 @@
51
51
  "umi-request": "^1.4.0",
52
52
  "yorkie": "^2.0.0"
53
53
  },
54
- "gitHead": "cfe4a63f7e2d58c69febec65e2573d99e0af49a7",
54
+ "gitHead": "d73397ddb1b75f3cf14d3d11231390c2fe03b1a6",
55
55
  "gitHooks": {
56
56
  "pre-commit": "lint-staged"
57
57
  }