venus-design 0.4.3 → 0.4.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.
@@ -22,7 +22,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
22
22
  * @Description: 基础设置 -> 流程管理 -> 流程设计
23
23
  */
24
24
  import React from 'react';
25
- import { ActivitiJson, EditingTools, BpmnModeler } from "./..";
25
+ import { ActivitiJson, BpmnModeler } from "./..";
26
26
  // Bpmn 相关文件
27
27
  // 这里引入的是右侧属性栏这个框
28
28
  import 'bpmn-js/dist/assets/diagram-js.css';
@@ -347,7 +347,6 @@ var DrawBpmn = /*#__PURE__*/function (_React$Component) {
347
347
  }, {
348
348
  key: "render",
349
349
  value: function render() {
350
- var _this3 = this;
351
350
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
352
351
  title: "\u6D41\u7A0B\u8BBE\u8BA1",
353
352
  className: "wf"
@@ -357,23 +356,6 @@ var DrawBpmn = /*#__PURE__*/function (_React$Component) {
357
356
  }, /*#__PURE__*/React.createElement("div", {
358
357
  className: "canvas",
359
358
  id: "canvas"
360
- }), /*#__PURE__*/React.createElement(EditingTools, {
361
- onOpenFIle: this.handleOpenFile,
362
- onUndo: this.handleUndo,
363
- onRedo: this.handleRedo,
364
- onDownloadSvg: this.handleDownloadSvg,
365
- onDownloadXml: this.handleDownloadXml,
366
- onZoomIn: function onZoomIn() {
367
- return _this3.handleZoom(0.1);
368
- },
369
- onZoomOut: function onZoomOut() {
370
- return _this3.handleZoom(-0.1);
371
- },
372
- onZoomReset: function onZoomReset() {
373
- return _this3.handleZoom(0);
374
- },
375
- onPreview: this.handlePreview,
376
- onPreviewXml: function onPreviewXml() {}
377
359
  }))));
378
360
  }
379
361
  }]);
@@ -1,88 +1,5 @@
1
1
  @import "~@/common";
2
- .wrap{
3
- display: flex;
4
- background-color: #F9F9F9;
5
- .leftWrap{
6
- width: 270px;
7
- // min-height: 1000px;
8
- height: calc(100vh - 92px);
9
- padding: 20px 15px;
10
- margin-right: 20px;
11
- background: #fff;
12
- overflow: auto;
13
- .titleName{
14
- line-height: 27px;
15
- display: flex;
16
- justify-content: space-between;
17
- :global(.ant-btn){
18
- padding: 0 10px;
19
- }
20
- .addBtnCls{
21
- width: 76px;
22
- height: 27px;
23
- }
24
- }
25
- .menuList{
26
- margin-top: 20px;
27
- .secItem{
28
- color: #818C98;
29
- position: relative;
30
- cursor: pointer;
31
- .txt{
32
- display: inline-block;
33
- width: 155px;
34
- line-height: 31px;
35
- overflow: hidden;
36
- white-space: nowrap;
37
- text-overflow: ellipsis;
38
- }
39
2
 
40
- .userIcon{
41
- width: 14px;
42
- height: 15px;
43
- margin-right: 8px;
44
- }
45
- .moreIcon{
46
- position: absolute;
47
- right: -10px;
48
- top: 11px;
49
- height: 16px;
50
- padding: 3px 7px;
51
- cursor: pointer;
52
- }
53
-
54
- }
55
- }
56
-
57
- }
58
- .rightWrap{
59
- width: 100%;
60
- // min-height: 1000px;
61
- height: calc(100vh - 92px);
62
- overflow: auto;
63
- padding: 20px;
64
- background: #fff;
65
- .addUserBtnCls{
66
- display: flex;
67
- justify-content: flex-end
68
- }
69
- }
70
- .tableWrap{
71
- :global(.ant-table-placeholder) {
72
- border-bottom: none;
73
- }
74
-
75
- :global(.ant-table-thead > tr > th) {
76
- border-right: none;
77
- border-bottom: 1px solid #f6f6f8;
78
- }
79
-
80
- :global(.ant-table-tbody > tr > td) {
81
- border-right: none;
82
- border-bottom: 1px solid #f6f6f8;
83
- }
84
- }
85
- }
86
3
  .btnCls{
87
4
  color: #88B5FF;
88
5
  cursor: pointer;
@@ -65,7 +65,6 @@ var VenusWorkDetail = function VenusWorkDetail(props) {
65
65
  var winHeight = document.documentElement.clientHeight - 230;
66
66
  //查询数据
67
67
  useEffect(function () {
68
- console.log(props);
69
68
  if (props.actionId != undefined) {
70
69
  if (props.actionId == "adjust") {
71
70
  getAdjustData();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "venus-design",
3
- "version": "0.4.3",
3
+ "version": "0.4.5",
4
4
  "description": "venus all compoments",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",