easy3wui 1.5.88 → 1.5.89-beta2

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/CHANGELOG.md ADDED
@@ -0,0 +1,189 @@
1
+ ---
2
+ order: 6
3
+ title: 更新日志
4
+ toc: false
5
+ timeline: true
6
+ ---
7
+
8
+
9
+ #### 版本号说明
10
+ * 次版本号:带有新特性的向下兼容的版本。
11
+ * 主版本号:含有破坏性更新和新特性。
12
+ ## 1.1.105
13
+ `2018-12-20`
14
+
15
+ - Easy3wFormPage
16
+ - 🌟 增加必填校验自定义文案属性:requiredMessage
17
+ - 🌟 TextArea增加autosize属性
18
+ - Easy3wQryGrid
19
+ - 点重置后查询
20
+ ---
21
+ ## 1.1.101
22
+ `2018-12-12`
23
+
24
+ - Easy3wFormPage
25
+ - 🌟 树选择默认提示改为:请输入关键字或点击三角箭头展开后选择
26
+ ---Easy3wFormPage
27
+ ---
28
+ ## 1.1.100
29
+ `2018-11-29`
30
+
31
+ - Easy3wGridInputNumber
32
+ - 🌟 设置默认宽度
33
+ ---
34
+ ## 1.1.92
35
+ `2018-11-21`
36
+
37
+ - Easy3wUpload
38
+ - 🌟 超过限制大小不显示选择的附件
39
+ - Easy3wUploadM
40
+ - 🌟 超过限制大小不显示选择的附件
41
+ - Easy3wGridPage
42
+ - 🌟 Tooltip文本换行
43
+ ---
44
+ ## 1.1.90
45
+ `2018-10-30`
46
+
47
+ - Easy3wUserLayout
48
+ - 🔥 动态粒子背景
49
+ - Easy3wUploadB
50
+ - 🌟 大附件上传成功后进度条消失
51
+ ---
52
+ ## 1.1.83
53
+ `2018-10-25`
54
+
55
+ - Easy3wModel
56
+ - 🔥 底部按钮居中
57
+ - Easy3wFlow
58
+ - 🌟 非必须的步骤边框虚化
59
+ ---
60
+
61
+ ## 1.1.77
62
+ `2018-10-17`
63
+
64
+ - Easy3wGridPage
65
+ - 🔥 固定列重复显示问题解决
66
+ - Easy3wUpload
67
+ - 🌟 大附件初始值bug修复
68
+ - 🌟大附件增加上传成功回调方法:uploadDoneCallback(uploadName, fileInfo, newList);
69
+ - Easy3wFlow
70
+ - 🌟 流程向导url加密
71
+ - Easy3wCaHandler
72
+ - 🌟 增加获取供方名称接口:getSupplierName
73
+ - Easy3wCaptcha
74
+ - 🌟 验证码字体大小固定
75
+ ---
76
+
77
+ ## 1.1.61
78
+ `2018-10-09`
79
+
80
+ - Easy3wUpload
81
+ - 🔥 附件大小为0不得上传
82
+ - Easy3wModal
83
+ - 🌟 增加默认到顶部的距离为20px
84
+ - Easy3wGridDateTimePicker
85
+ - 🔥 默认选中时间为9点
86
+ - Easy3wFormPage
87
+ - 🔥 增加getValueFromEvent属性
88
+ - 🔥 时间组件修改,默认选中时间为9点
89
+ ---
90
+ ## 1.1.52
91
+ `2018-09-27`
92
+
93
+ - Easy3wModal
94
+ - 增加destroyOnClose属性。
95
+ - Easy3wFlow
96
+ - 增加不重新获取流程数据参数。
97
+ - 去除流程向导的loading。
98
+ - Easy3wCaHandler
99
+ - 🔥增加CA服务组件。
100
+ - Easy3wCaHandler
101
+ - 🔥增加CA服务组件。
102
+ - Easy3wGetCookie
103
+ - 🔥增加获取cookie组件。
104
+ - Easy3wUploadB
105
+ - 🔥增加大附件上传组件。
106
+ ## 1.1.35
107
+ `2018-09-17`
108
+
109
+ - Easy3wGridPage
110
+ - 🌟 如果列表需要固定表头则在Easy3wGridPage中添加属性:scroll={{ y: num, x: num }}并给添加类名:ClassName="scrollY",
111
+ 列表横向滚动不需要自行添加滚动属性,整体列表为自适应宽度,如有表头fixed固定,表头不需要添加width属性
112
+ - Easy3wButton
113
+ - 🔥 增加dropdownArr属性,可设置下拉按钮组。
114
+ ---
115
+ ## 1.1.29
116
+ `2018-09-13`
117
+
118
+ - Easy3wFormPage
119
+ - 🌟 改为紧凑型表单。
120
+ - 🌟 增加rowAftBtnFlag属性。
121
+ - Easy3wGridPage
122
+ - 🌟 选中后返回的参数增加两个属性:selected:选中或取消选中,changeRows:改变的行。
123
+ ------
124
+ ## 1.1.19
125
+ `2018-09-12`
126
+
127
+ - 修复登录样式问题
128
+ - 去除console.log
129
+ ---
130
+ ## 1.1.15
131
+ `2018-09-08`
132
+
133
+ - Easy3wButton
134
+ - 🔥 增加btnType属性,可设置按钮类别,当btnType未设置时为主按钮,当btnType: secondary时为次按钮。
135
+ - Easy3wGridInputNumber
136
+ - 🐞 修复输入校验的bug。
137
+ - Easy3wGridPage
138
+ - 🐞 修复选择后返回数据错误的bug。
139
+ - 🌟 优化选择的方法。
140
+ ---
141
+ ## 1.1.6
142
+ `2018-08-27`
143
+ -
144
+ - Easy3wUploadM
145
+ - 🐞 修复默认附件不能下载的bug。
146
+ - 🌟 增加按钮前的扩展属性:extend,用于扩展上传按钮前的功能。
147
+ - 🌟 增加按钮后的扩展属性:extendBack,用于扩展上传按钮后的功能。
148
+ - 🌟 增加上传成功的回调 uploadDoneCallback(uploadName, fileList, file)。
149
+ - 🌟 增加删除的回调removeCallback(uploadName, file)。
150
+ -
151
+ ---
152
+
153
+ ## 1.1.2
154
+ `2018-08-21`
155
+ -
156
+ - Easy3wButtonOne
157
+ - 🔥 增加单个按钮组件,可配合form组件中的upload,生成类似【生成】【上传】的操作按钮组。
158
+ - Easy3wUpload
159
+ - 🌟 增加按钮前的扩展属性:extend,用于扩展上传按钮前的功能。
160
+ - 🌟 增加按钮后的扩展属性:extendBack,用于扩展上传按钮后的功能。
161
+ - Easy3wQryGrid
162
+ - 🌟 增加隐藏域属性:hiddenItems。
163
+ ---
164
+
165
+ ## 1.1.1
166
+ `2018-08-16`
167
+ - Easy3wGridPage
168
+ - 🌟 增加复选框默认不可修改功能:getCheckboxProps。
169
+ ---
170
+
171
+ ## 1.0.95
172
+ `2018-08-13`
173
+ - Easy3wUpload
174
+ - 🌟 增加上传成功后的回调方法:uploadDoneCallback,增加点击删除后的回调方法:removeCallback。
175
+ - 🌟 当为isRead时,去除删除图标。
176
+ ---
177
+
178
+ ## 1.0.94
179
+ `2018-08-12`
180
+ - Easy3wFormPage
181
+ - 🌟 treeSelect 去除labelInValue默认属性,可由cmptPros自行设置。
182
+
183
+ - Easy3wQryGrid
184
+ - 🌟 treeSelect 去除labelInValue默认属性,可由cmptPros自行设置。
185
+ - 可输入组件
186
+ - 增加Easy3wGridInput、Easy3wGridInputNumber、Easy3wGridTextArea、Easy3wGridSelect、Easy3wGridDatePicker、Easy3wGridDateTimePicker、Easy3wGridRadio、Easy3wGridCheckBox组件,以实现在表格中编辑的功能。
187
+
188
+ - Easy3wDownLoad
189
+ - 🔥 增加下载组件。
package/HISTORY.md ADDED
@@ -0,0 +1,8 @@
1
+ # History
2
+ ----
3
+
4
+ ## 0.0.60 / 2018-05-14
5
+
6
+ - Add ``.
7
+
8
+ -
package/LICENSE.md CHANGED
@@ -1,4 +1,4 @@
1
-
2
- Copyright (c) 上海同在互联网科技有限公司 版权所有
3
-
1
+
2
+ Copyright (c) 上海同在互联网科技有限公司 版权所有
3
+
4
4
  上海同在互联网科技有限公司 版权所有,使用必须获得授权,否则将追究法律责任。
package/README.md CHANGED
@@ -1,28 +1,28 @@
1
- # easy3wUI
2
- easy3w UI 组件
3
- # 编译
4
- npm run compile
5
- # 发布代码
6
- npm publish
7
- npm publish --tag V1
8
- # 测试版发布
9
- npm publish --tag beta
10
-
11
- react-data-grid使用6.0.1版本对应的react@16
12
- 7版本未形成稳定版本,暂时使用6.0.1版本;对应的react@18+版本
13
- https://www.npmjs.com/
14
- 登录npm
15
- 在终端输入npm login ,在登录前一定要将npm源设置为官方源
16
- // 官方镜像源
17
- npm config set registry https://registry.npmjs.org/
18
- // 淘宝镜像源
19
- npm config set registry http://registry.npm.taobao.org/
20
- 检查当前npm源:
21
- npm config get registry
22
-
23
- # 生成令牌‌‌操作步骤‌:
24
- * 登录 npm 官网,进入令牌管理页面(https://www.npmjs.com/settings/(您的用户名)/tokens)。
25
- * ‌删除旧令牌‌:点击令牌右侧的“Delete”(删除)按钮。
26
- * ‌创建新令牌‌:点击“Generate New Token”(生成新令牌),输入名称并勾选“Bypass two-factor authentication”(绕过 2FA)。
27
- * ‌立即复制新令牌‌:创建后立即点击复制按钮,‌避免离开页面‌。
1
+ # easy3wUI
2
+ easy3w UI 组件
3
+ # 编译
4
+ npm run compile
5
+ # 发布代码
6
+ npm publish
7
+ npm publish --tag V1
8
+ # 测试版发布
9
+ npm publish --tag beta
10
+
11
+ react-data-grid使用6.0.1版本对应的react@16
12
+ 7版本未形成稳定版本,暂时使用6.0.1版本;对应的react@18+版本
13
+ https://www.npmjs.com/
14
+ 登录npm
15
+ 在终端输入npm login ,在登录前一定要将npm源设置为官方源
16
+ // 官方镜像源
17
+ npm config set registry https://registry.npmjs.org/
18
+ // 淘宝镜像源
19
+ npm config set registry http://registry.npm.taobao.org/
20
+ 检查当前npm源:
21
+ npm config get registry
22
+
23
+ # 生成令牌‌‌操作步骤‌:
24
+ * 登录 npm 官网,进入令牌管理页面(https://www.npmjs.com/settings/(您的用户名)/tokens)。
25
+ * ‌删除旧令牌‌:点击令牌右侧的“Delete”(删除)按钮。
26
+ * ‌创建新令牌‌:点击“Generate New Token”(生成新令牌),输入名称并勾选“Bypass two-factor authentication”(绕过 2FA)。
27
+ * ‌立即复制新令牌‌:创建后立即点击复制按钮,‌避免离开页面‌。
28
28
  * 配置令牌到 .npmrc 文件,在项目根目录下
@@ -40,6 +40,82 @@
40
40
  .e3wFormPageWrap .bf-container {
41
41
  border: 1px solid #eee;
42
42
  }
43
+ .approval_flag_only .e3wFormPageWrapPC .bf-container {
44
+ border: 1px solid #eee;
45
+ }
46
+ .approval_flag_only .e3wFormPageWrapPC .ant-form-item-label {
47
+ line-height: 24px;
48
+ }
49
+ .approval_flag_only .e3wFormPageWrapPC .ant-form-item-control {
50
+ line-height: 24px;
51
+ }
52
+ .approval_flag_only .e3wFormPageWrapPC .ant-form-item-required::before {
53
+ content: "";
54
+ }
55
+ .approval_flag_only .e3wFormPageWrapPC .ant-form-item-label > label::after {
56
+ content: "";
57
+ margin: 0px;
58
+ }
59
+ .approval_flag_only .e3wFormPageWrapPC .ant-form-item-label > label {
60
+ width: 100%;
61
+ display: inline-block;
62
+ overflow: hidden;
63
+ white-space: nowrap;
64
+ text-overflow: ellipsis;
65
+ padding-right: 20px;
66
+ }
67
+ .approval_flag_only .e3wFormPageWrapPC .ant-form-item-label > label.ant-form-item-required::after {
68
+ content: "*";
69
+ color: var(--label-required-color);
70
+ }
71
+ .approval_flag_only .e3wFormPageWrapPC .ant-form-item-label > label.ant-form-item-required {
72
+ position: relative;
73
+ }
74
+ .approval_flag_only .e3wFormPageWrapPC .ant-form-item-label > label.ant-form-item-required::after {
75
+ position: absolute;
76
+ right: 0;
77
+ width: 20px;
78
+ text-align: center;
79
+ }
80
+ .approval_flag_only .e3wFormPageWrapPC .ant-form-item:has(.ant-form-item-label) > .ant-form-item-control-wrapper .e3wFootBtn:first-child {
81
+ margin-left: 0;
82
+ }
83
+ .approval_flag_only .e3wFormPageWrapPC .e3wFormCol[data-fieldtype][data-col-readflag="1"]:not([data-fieldtype="e3wFormCol_strTemplate"]) .ant-form-item:has(.ant-form-item-label) > .ant-form-item-control-wrapper {
84
+ border-bottom: 1px solid var(--primary-color);
85
+ height: auto;
86
+ }
87
+ .approval_flag_only .e3wFormPageWrapPC .e3wFormCol[data-fieldtype][data-col-readflag="1"]:not([data-fieldtype="e3wFormCol_strTemplate"]) .ant-form-item:has(.ant-form-item-label) > .ant-form-item-control-wrapper textarea {
88
+ border: none;
89
+ padding: 0;
90
+ }
91
+ .approval_flag_only .e3wFormPageWrapPC .e3wFormCol[data-fieldtype][data-col-readflag="1"]:not([data-fieldtype="e3wFormCol_strTemplate"]) .ant-form-item:has(.ant-form-item-label) > .ant-form-item-control-wrapper .bf-container {
92
+ border: none;
93
+ }
94
+ .approval_flag_only .e3wFormPageWrapPC .e3wFormCol[data-fieldtype][data-col-readflag="1"]:not([data-fieldtype="e3wFormCol_strTemplate"]) .ant-form-item:has(.ant-form-item-label) > .ant-form-item-control-wrapper .bf-container .public-DraftEditor-content > div {
95
+ padding-bottom: 0;
96
+ }
97
+ .approval_flag_only .e3wFormPageWrapPC .e3wFormCol[data-fieldtype][data-col-readflag="1"]:not([data-fieldtype="e3wFormCol_strTemplate"]) .ant-form-item:has(.ant-form-item-label) > .ant-form-item-control-wrapper .bf-container .public-DraftEditor-content {
98
+ padding: 0;
99
+ }
100
+ .approval_flag_only .e3wFormPageWrapPC .e3wFormCol[data-fieldtype][data-col-readflag="1"]:not([data-fieldtype="e3wFormCol_strTemplate"]) .ant-form-item:has(.ant-form-item-label) > .ant-form-item-control-wrapper .bf-content {
101
+ padding-bottom: 0;
102
+ }
103
+ .approval_flag_only .e3wFormPageWrapPC .e3wFormCol[data-fieldtype][data-fieldtype="e3wFormCol_strTemplate"] .e3wFormStrTemplate .ant-form-item > .ant-form-item-control-wrapper {
104
+ width: 100%;
105
+ height: auto;
106
+ }
107
+ .approval_flag_only .e3wFormPageWrapPC .e3wFormCol[data-fieldtype][data-fieldtype="e3wFormCol_strTemplate"] .e3wFormStrTemplate .ant-form-item > .ant-form-item-control-wrapper .e3wFootBtn:first-child {
108
+ margin-left: 0;
109
+ }
110
+ .approval_flag_only .e3wFormPageWrapPC .e3wFormCol[data-fieldtype][data-col-readflag="1"][data-fieldtype="e3wFormCol_strTemplate"] .e3wFormStrTemplate .ant-form-item > .ant-form-item-control-wrapper {
111
+ border-bottom: 1px solid var(--primary-color);
112
+ }
113
+ .approval_flag_only .e3wFormPageWrapPC .ant-row.ant-form-item {
114
+ display: -ms-flexbox;
115
+ display: flex;
116
+ -ms-flex-direction: row;
117
+ flex-direction: row;
118
+ }
43
119
  input.ant-input-number-input {
44
120
  text-align: right;
45
121
  padding-right: 21px;
@@ -53,7 +53,7 @@
53
53
  }
54
54
  .e3wGlobalHeaderRight .e3wGlobalHeaderAccount .e3wGlobalHeaderAvatar {
55
55
  margin: 20px 8px 20px 0;
56
- color: #1890ff;
56
+ color: var(--primary-color);
57
57
  background: rgba(255, 255, 255, 0.85);
58
58
  vertical-align: middle;
59
59
  }
@@ -21,6 +21,23 @@
21
21
  .scrollY .ant-table-thead > tr > th {
22
22
  text-align: center;
23
23
  }
24
+ .scrollY .ant-table-wrapper .ant-table-tbody > tr:nth-child(even) > td {
25
+ background: var(--table-header-bg);
26
+ }
27
+ .scrollY .ant-table-wrapper .ant-table-tbody > tr:nth-child(odd) > td {
28
+ background: #fff;
29
+ }
30
+ .scrollY .ant-table-wrapper .ant-table-tbody > tr:hover:not(.antd-table-expanded-row):not(.antd-table-row-selected) > td {
31
+ background: var(--table-row-hover-bg);
32
+ }
33
+ .scrollY .ant-table-wrapper .ant-table-bordered .ant-table-thead > tr > th,
34
+ .scrollY .ant-table-wrapper .ant-table-bordered .ant-table-tbody > tr > td {
35
+ border-right: 0;
36
+ }
37
+ .scrollY .ant-table-wrapper .ant-table-thead > tr > th,
38
+ .scrollY .ant-table-wrapper .ant-table-tbody > tr > td {
39
+ border-bottom: 0;
40
+ }
24
41
  .scrollX .ant-table-thead > tr > th {
25
42
  word-break: keep-all;
26
43
  white-space: nowrap;
@@ -53,6 +70,23 @@
53
70
  white-space: nowrap;
54
71
  overflow: hidden;
55
72
  }
73
+ .scrollX .ant-table-wrapper .ant-table-tbody > tr:nth-child(even) > td {
74
+ background: var(--table-header-bg);
75
+ }
76
+ .scrollX .ant-table-wrapper .ant-table-tbody > tr:nth-child(odd) > td {
77
+ background: #fff;
78
+ }
79
+ .scrollX .ant-table-wrapper .ant-table-tbody > tr:hover:not(.antd-table-expanded-row):not(.antd-table-row-selected) > td {
80
+ background: var(--table-row-hover-bg);
81
+ }
82
+ .scrollX .ant-table-wrapper .ant-table-bordered .ant-table-thead > tr > th,
83
+ .scrollX .ant-table-wrapper .ant-table-bordered .ant-table-tbody > tr > td {
84
+ border-right: 0;
85
+ }
86
+ .scrollX .ant-table-wrapper .ant-table-thead > tr > th,
87
+ .scrollX .ant-table-wrapper .ant-table-tbody > tr > td {
88
+ border-bottom: 0;
89
+ }
56
90
  .scrollPrint .ant-table-thead > tr > th {
57
91
  text-align: center;
58
92
  }
@@ -75,8 +109,25 @@
75
109
  max-width: 240px;
76
110
  text-align: left;
77
111
  }
112
+ .scrollPrint .ant-table-wrapper .ant-table-tbody > tr:nth-child(even) > td {
113
+ background: var(--table-header-bg);
114
+ }
115
+ .scrollPrint .ant-table-wrapper .ant-table-tbody > tr:nth-child(odd) > td {
116
+ background: #fff;
117
+ }
118
+ .scrollPrint .ant-table-wrapper .ant-table-tbody > tr:hover:not(.antd-table-expanded-row):not(.antd-table-row-selected) > td {
119
+ background: var(--table-row-hover-bg);
120
+ }
121
+ .scrollPrint .ant-table-wrapper .ant-table-bordered .ant-table-thead > tr > th,
122
+ .scrollPrint .ant-table-wrapper .ant-table-bordered .ant-table-tbody > tr > td {
123
+ border-right: 0;
124
+ }
125
+ .scrollPrint .ant-table-wrapper .ant-table-thead > tr > th,
126
+ .scrollPrint .ant-table-wrapper .ant-table-tbody > tr > td {
127
+ border-bottom: 0;
128
+ }
78
129
  .butt {
79
- background-color: #1890ff;
130
+ background-color: var(--primary-color);
80
131
  color: #fff;
81
132
  font-size: 14px;
82
133
  }
@@ -84,7 +135,7 @@
84
135
  .butt:focus,
85
136
  .butt:hover,
86
137
  .butt:active {
87
- background-color: #1890ff;
138
+ background-color: var(--primary-color);
88
139
  color: #fff;
89
140
  }
90
141
  .onRow tr:hover {
package/assets/index.css CHANGED
@@ -172,7 +172,7 @@
172
172
  }
173
173
  .e3wGlobalHeaderRight .e3wGlobalHeaderAccount .e3wGlobalHeaderAvatar {
174
174
  margin: 20px 8px 20px 0;
175
- color: #1890ff;
175
+ color: var(--primary-color);
176
176
  background: rgba(255, 255, 255, 0.85);
177
177
  vertical-align: middle;
178
178
  }
@@ -342,7 +342,7 @@
342
342
  }
343
343
  .e3wLoginLayoutRight .e3wLoginLayoutAccount .e3wLoginLayoutAvatar {
344
344
  margin: 20px 8px 20px 0;
345
- color: #1890ff;
345
+ color: var(--primary-color);
346
346
  background: rgba(255, 255, 255, 0.85);
347
347
  vertical-align: middle;
348
348
  }
@@ -2321,6 +2321,23 @@
2321
2321
  .scrollY .ant-table-thead > tr > th {
2322
2322
  text-align: center;
2323
2323
  }
2324
+ .scrollY .ant-table-wrapper .ant-table-tbody > tr:nth-child(even) > td {
2325
+ background: var(--table-header-bg);
2326
+ }
2327
+ .scrollY .ant-table-wrapper .ant-table-tbody > tr:nth-child(odd) > td {
2328
+ background: #fff;
2329
+ }
2330
+ .scrollY .ant-table-wrapper .ant-table-tbody > tr:hover:not(.antd-table-expanded-row):not(.antd-table-row-selected) > td {
2331
+ background: var(--table-row-hover-bg);
2332
+ }
2333
+ .scrollY .ant-table-wrapper .ant-table-bordered .ant-table-thead > tr > th,
2334
+ .scrollY .ant-table-wrapper .ant-table-bordered .ant-table-tbody > tr > td {
2335
+ border-right: 0;
2336
+ }
2337
+ .scrollY .ant-table-wrapper .ant-table-thead > tr > th,
2338
+ .scrollY .ant-table-wrapper .ant-table-tbody > tr > td {
2339
+ border-bottom: 0;
2340
+ }
2324
2341
  .scrollX .ant-table-thead > tr > th {
2325
2342
  word-break: keep-all;
2326
2343
  white-space: nowrap;
@@ -2353,6 +2370,23 @@
2353
2370
  white-space: nowrap;
2354
2371
  overflow: hidden;
2355
2372
  }
2373
+ .scrollX .ant-table-wrapper .ant-table-tbody > tr:nth-child(even) > td {
2374
+ background: var(--table-header-bg);
2375
+ }
2376
+ .scrollX .ant-table-wrapper .ant-table-tbody > tr:nth-child(odd) > td {
2377
+ background: #fff;
2378
+ }
2379
+ .scrollX .ant-table-wrapper .ant-table-tbody > tr:hover:not(.antd-table-expanded-row):not(.antd-table-row-selected) > td {
2380
+ background: var(--table-row-hover-bg);
2381
+ }
2382
+ .scrollX .ant-table-wrapper .ant-table-bordered .ant-table-thead > tr > th,
2383
+ .scrollX .ant-table-wrapper .ant-table-bordered .ant-table-tbody > tr > td {
2384
+ border-right: 0;
2385
+ }
2386
+ .scrollX .ant-table-wrapper .ant-table-thead > tr > th,
2387
+ .scrollX .ant-table-wrapper .ant-table-tbody > tr > td {
2388
+ border-bottom: 0;
2389
+ }
2356
2390
  .scrollPrint .ant-table-thead > tr > th {
2357
2391
  text-align: center;
2358
2392
  }
@@ -2375,8 +2409,25 @@
2375
2409
  max-width: 240px;
2376
2410
  text-align: left;
2377
2411
  }
2412
+ .scrollPrint .ant-table-wrapper .ant-table-tbody > tr:nth-child(even) > td {
2413
+ background: var(--table-header-bg);
2414
+ }
2415
+ .scrollPrint .ant-table-wrapper .ant-table-tbody > tr:nth-child(odd) > td {
2416
+ background: #fff;
2417
+ }
2418
+ .scrollPrint .ant-table-wrapper .ant-table-tbody > tr:hover:not(.antd-table-expanded-row):not(.antd-table-row-selected) > td {
2419
+ background: var(--table-row-hover-bg);
2420
+ }
2421
+ .scrollPrint .ant-table-wrapper .ant-table-bordered .ant-table-thead > tr > th,
2422
+ .scrollPrint .ant-table-wrapper .ant-table-bordered .ant-table-tbody > tr > td {
2423
+ border-right: 0;
2424
+ }
2425
+ .scrollPrint .ant-table-wrapper .ant-table-thead > tr > th,
2426
+ .scrollPrint .ant-table-wrapper .ant-table-tbody > tr > td {
2427
+ border-bottom: 0;
2428
+ }
2378
2429
  .butt {
2379
- background-color: #1890ff;
2430
+ background-color: var(--primary-color);
2380
2431
  color: #fff;
2381
2432
  font-size: 14px;
2382
2433
  }
@@ -2384,7 +2435,7 @@
2384
2435
  .butt:focus,
2385
2436
  .butt:hover,
2386
2437
  .butt:active {
2387
- background-color: #1890ff;
2438
+ background-color: var(--primary-color);
2388
2439
  color: #fff;
2389
2440
  }
2390
2441
  .onRow tr:hover {
@@ -2443,6 +2494,82 @@
2443
2494
  .e3wFormPageWrap .bf-container {
2444
2495
  border: 1px solid #eee;
2445
2496
  }
2497
+ .approval_flag_only .e3wFormPageWrapPC .bf-container {
2498
+ border: 1px solid #eee;
2499
+ }
2500
+ .approval_flag_only .e3wFormPageWrapPC .ant-form-item-label {
2501
+ line-height: 24px;
2502
+ }
2503
+ .approval_flag_only .e3wFormPageWrapPC .ant-form-item-control {
2504
+ line-height: 24px;
2505
+ }
2506
+ .approval_flag_only .e3wFormPageWrapPC .ant-form-item-required::before {
2507
+ content: "";
2508
+ }
2509
+ .approval_flag_only .e3wFormPageWrapPC .ant-form-item-label > label::after {
2510
+ content: "";
2511
+ margin: 0px;
2512
+ }
2513
+ .approval_flag_only .e3wFormPageWrapPC .ant-form-item-label > label {
2514
+ width: 100%;
2515
+ display: inline-block;
2516
+ overflow: hidden;
2517
+ white-space: nowrap;
2518
+ text-overflow: ellipsis;
2519
+ padding-right: 20px;
2520
+ }
2521
+ .approval_flag_only .e3wFormPageWrapPC .ant-form-item-label > label.ant-form-item-required::after {
2522
+ content: "*";
2523
+ color: var(--label-required-color);
2524
+ }
2525
+ .approval_flag_only .e3wFormPageWrapPC .ant-form-item-label > label.ant-form-item-required {
2526
+ position: relative;
2527
+ }
2528
+ .approval_flag_only .e3wFormPageWrapPC .ant-form-item-label > label.ant-form-item-required::after {
2529
+ position: absolute;
2530
+ right: 0;
2531
+ width: 20px;
2532
+ text-align: center;
2533
+ }
2534
+ .approval_flag_only .e3wFormPageWrapPC .ant-form-item:has(.ant-form-item-label) > .ant-form-item-control-wrapper .e3wFootBtn:first-child {
2535
+ margin-left: 0;
2536
+ }
2537
+ .approval_flag_only .e3wFormPageWrapPC .e3wFormCol[data-fieldtype][data-col-readflag="1"]:not([data-fieldtype="e3wFormCol_strTemplate"]) .ant-form-item:has(.ant-form-item-label) > .ant-form-item-control-wrapper {
2538
+ border-bottom: 1px solid var(--primary-color);
2539
+ height: auto;
2540
+ }
2541
+ .approval_flag_only .e3wFormPageWrapPC .e3wFormCol[data-fieldtype][data-col-readflag="1"]:not([data-fieldtype="e3wFormCol_strTemplate"]) .ant-form-item:has(.ant-form-item-label) > .ant-form-item-control-wrapper textarea {
2542
+ border: none;
2543
+ padding: 0;
2544
+ }
2545
+ .approval_flag_only .e3wFormPageWrapPC .e3wFormCol[data-fieldtype][data-col-readflag="1"]:not([data-fieldtype="e3wFormCol_strTemplate"]) .ant-form-item:has(.ant-form-item-label) > .ant-form-item-control-wrapper .bf-container {
2546
+ border: none;
2547
+ }
2548
+ .approval_flag_only .e3wFormPageWrapPC .e3wFormCol[data-fieldtype][data-col-readflag="1"]:not([data-fieldtype="e3wFormCol_strTemplate"]) .ant-form-item:has(.ant-form-item-label) > .ant-form-item-control-wrapper .bf-container .public-DraftEditor-content > div {
2549
+ padding-bottom: 0;
2550
+ }
2551
+ .approval_flag_only .e3wFormPageWrapPC .e3wFormCol[data-fieldtype][data-col-readflag="1"]:not([data-fieldtype="e3wFormCol_strTemplate"]) .ant-form-item:has(.ant-form-item-label) > .ant-form-item-control-wrapper .bf-container .public-DraftEditor-content {
2552
+ padding: 0;
2553
+ }
2554
+ .approval_flag_only .e3wFormPageWrapPC .e3wFormCol[data-fieldtype][data-col-readflag="1"]:not([data-fieldtype="e3wFormCol_strTemplate"]) .ant-form-item:has(.ant-form-item-label) > .ant-form-item-control-wrapper .bf-content {
2555
+ padding-bottom: 0;
2556
+ }
2557
+ .approval_flag_only .e3wFormPageWrapPC .e3wFormCol[data-fieldtype][data-fieldtype="e3wFormCol_strTemplate"] .e3wFormStrTemplate .ant-form-item > .ant-form-item-control-wrapper {
2558
+ width: 100%;
2559
+ height: auto;
2560
+ }
2561
+ .approval_flag_only .e3wFormPageWrapPC .e3wFormCol[data-fieldtype][data-fieldtype="e3wFormCol_strTemplate"] .e3wFormStrTemplate .ant-form-item > .ant-form-item-control-wrapper .e3wFootBtn:first-child {
2562
+ margin-left: 0;
2563
+ }
2564
+ .approval_flag_only .e3wFormPageWrapPC .e3wFormCol[data-fieldtype][data-col-readflag="1"][data-fieldtype="e3wFormCol_strTemplate"] .e3wFormStrTemplate .ant-form-item > .ant-form-item-control-wrapper {
2565
+ border-bottom: 1px solid var(--primary-color);
2566
+ }
2567
+ .approval_flag_only .e3wFormPageWrapPC .ant-row.ant-form-item {
2568
+ display: -ms-flexbox;
2569
+ display: flex;
2570
+ -ms-flex-direction: row;
2571
+ flex-direction: row;
2572
+ }
2446
2573
  input.ant-input-number-input {
2447
2574
  text-align: right;
2448
2575
  padding-right: 21px;
@@ -92,7 +92,7 @@
92
92
  }
93
93
  .e3wLoginLayoutRight .e3wLoginLayoutAccount .e3wLoginLayoutAvatar {
94
94
  margin: 20px 8px 20px 0;
95
- color: #1890ff;
95
+ color: var(--primary-color);
96
96
  background: rgba(255, 255, 255, 0.85);
97
97
  vertical-align: middle;
98
98
  }
@@ -2699,7 +2699,7 @@ var Easy3wFormPageM = exports.Easy3wFormPageM = function (_Component) {
2699
2699
  { noStyle: true, spinLoading: spinLoading },
2700
2700
  _react2['default'].createElement(
2701
2701
  'div',
2702
- { className: (0, _classnames2['default'])(['e3wFormPageWrap']) },
2702
+ { className: (0, _classnames2['default'])(['e3wFormPageWrap', 'e3wFormPageWrapM']) },
2703
2703
  this.getAllForms()
2704
2704
  )
2705
2705
  );
@@ -2640,7 +2640,7 @@ var Easy3wFormPagePC = exports.Easy3wFormPagePC = function (_Component) {
2640
2640
  { noStyle: true, spinLoading: spinLoading },
2641
2641
  _react2['default'].createElement(
2642
2642
  'div',
2643
- { className: (0, _classnames2['default'])(['e3wFormPageWrap']) },
2643
+ { className: (0, _classnames2['default'])(['e3wFormPageWrap', 'e3wFormPageWrapPC']) },
2644
2644
  this.getAllForms()
2645
2645
  )
2646
2646
  );
@@ -1,120 +1,120 @@
1
- @import '~antd/lib/style/themes/default.less';
2
-
3
- .tagSelect {
4
- user-select: none;
5
- margin-left: -8px;
6
- position: relative;
7
- overflow: hidden;
8
- max-height: 32px;
9
- // line-height: 32px;
10
- transition: all 0.3s;
11
- :global {
12
- .ant-tag {
13
- padding: 0 8px;
14
- margin-right: 24px;
15
- font-size: @font-size-base;
16
- }
17
- }
18
- &.expanded {
19
- transition: all 0.3s;
20
- max-height: 800px;
21
- }
22
- .trigger {
23
- position: absolute;
24
- top: 0;
25
- right: 0;
26
- i {
27
- font-size: 12px;
28
- }
29
- }
30
- &.hasExpandTag {
31
- padding-right: 50px;
32
- }
33
- }
34
-
35
- .standardFormRow {
36
- border-bottom: 1px dashed @border-color-split;
37
- // padding-bottom: 8px;
38
- // margin-bottom: 8px;
39
- display: flex;
40
- :global {
41
- .ant-form-item {
42
- margin-right: 24px;
43
- }
44
- .ant-form-item-label label {
45
- color: @text-color;
46
- margin-right: 0;
47
- }
48
- .ant-form-item-label,
49
- .ant-form-item-control {
50
- padding: 0;
51
- line-height: 32px;
52
- }
53
- }
54
- .label {
55
- // color: @heading-color;
56
- // color: rgb(173,124,89);
57
- font-size: @font-size-base;
58
- padding-right: 12px;
59
- margin-right: 12px;
60
- // margin-right: 24px;
61
- background:#F8F8FF;
62
- // background: rgb(84, 104, 178);
63
- // opacity: 0.5;
64
- flex: 0 0 auto;
65
- text-align: right;
66
- & > span {
67
- display: inline-block;
68
- height: 32px;
69
- line-height: 32px;
70
- &:after {
71
- content: '|';
72
- }
73
- }
74
- // border-radius: 2px;
75
- & > a {
76
- color: @heading-color;
77
- // color: rgb(255, 255, 255);
78
- display: inline-block;
79
- height: 32px;
80
- line-height: 32px;
81
- // width: 100%;
82
- cursor: pointer;
83
- }
84
- }
85
- .content {
86
- flex: 1 1 0;
87
- :global {
88
- .ant-form-item:last-child {
89
- margin-right: 0;
90
- }
91
- }
92
- }
93
- }
94
-
95
- .standardFormRowLast {
96
- border: none;
97
- padding-bottom: 0;
98
- margin-bottom: 0;
99
- }
100
-
101
- .standardFormRowBlock {
102
- :global {
103
- .ant-form-item,
104
- div.ant-form-item-control-wrapper {
105
- display: block;
106
- }
107
- }
108
- }
109
-
110
- .standardFormRowGrid {
111
- :global {
112
- .ant-form-item,
113
- div.ant-form-item-control-wrapper {
114
- display: block;
115
- }
116
- .ant-form-item-label {
117
- float: left;
118
- }
119
- }
120
- }
1
+ @import '~antd/lib/style/themes/default.less';
2
+
3
+ .tagSelect {
4
+ user-select: none;
5
+ margin-left: -8px;
6
+ position: relative;
7
+ overflow: hidden;
8
+ max-height: 32px;
9
+ // line-height: 32px;
10
+ transition: all 0.3s;
11
+ :global {
12
+ .ant-tag {
13
+ padding: 0 8px;
14
+ margin-right: 24px;
15
+ font-size: @font-size-base;
16
+ }
17
+ }
18
+ &.expanded {
19
+ transition: all 0.3s;
20
+ max-height: 800px;
21
+ }
22
+ .trigger {
23
+ position: absolute;
24
+ top: 0;
25
+ right: 0;
26
+ i {
27
+ font-size: 12px;
28
+ }
29
+ }
30
+ &.hasExpandTag {
31
+ padding-right: 50px;
32
+ }
33
+ }
34
+
35
+ .standardFormRow {
36
+ border-bottom: 1px dashed @border-color-split;
37
+ // padding-bottom: 8px;
38
+ // margin-bottom: 8px;
39
+ display: flex;
40
+ :global {
41
+ .ant-form-item {
42
+ margin-right: 24px;
43
+ }
44
+ .ant-form-item-label label {
45
+ color: @text-color;
46
+ margin-right: 0;
47
+ }
48
+ .ant-form-item-label,
49
+ .ant-form-item-control {
50
+ padding: 0;
51
+ line-height: 32px;
52
+ }
53
+ }
54
+ .label {
55
+ // color: @heading-color;
56
+ // color: rgb(173,124,89);
57
+ font-size: @font-size-base;
58
+ padding-right: 12px;
59
+ margin-right: 12px;
60
+ // margin-right: 24px;
61
+ background:#F8F8FF;
62
+ // background: rgb(84, 104, 178);
63
+ // opacity: 0.5;
64
+ flex: 0 0 auto;
65
+ text-align: right;
66
+ & > span {
67
+ display: inline-block;
68
+ height: 32px;
69
+ line-height: 32px;
70
+ &:after {
71
+ content: '|';
72
+ }
73
+ }
74
+ // border-radius: 2px;
75
+ & > a {
76
+ color: @heading-color;
77
+ // color: rgb(255, 255, 255);
78
+ display: inline-block;
79
+ height: 32px;
80
+ line-height: 32px;
81
+ // width: 100%;
82
+ cursor: pointer;
83
+ }
84
+ }
85
+ .content {
86
+ flex: 1 1 0;
87
+ :global {
88
+ .ant-form-item:last-child {
89
+ margin-right: 0;
90
+ }
91
+ }
92
+ }
93
+ }
94
+
95
+ .standardFormRowLast {
96
+ border: none;
97
+ padding-bottom: 0;
98
+ margin-bottom: 0;
99
+ }
100
+
101
+ .standardFormRowBlock {
102
+ :global {
103
+ .ant-form-item,
104
+ div.ant-form-item-control-wrapper {
105
+ display: block;
106
+ }
107
+ }
108
+ }
109
+
110
+ .standardFormRowGrid {
111
+ :global {
112
+ .ant-form-item,
113
+ div.ant-form-item-control-wrapper {
114
+ display: block;
115
+ }
116
+ .ant-form-item-label {
117
+ float: left;
118
+ }
119
+ }
120
+ }
@@ -47,22 +47,22 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'd
47
47
  var Search = _input2['default'].Search;
48
48
  var TreeNode = _tree2['default'].TreeNode;
49
49
 
50
- /**
51
- * props参数
52
- * arrData: 树数据源 必须 Array
53
- * objTreeProps: 树配置参数 非必须 Object
54
- * 另加属性:touchRenderNode, titleField = 'title', countField = 'count', keyField = 'key'
55
- * touchRenderNode: 自定义渲染节点 非必须 Function 返回值:{ title, count, key, isLeaf, expanded, selected, loading }
56
- * titleField: 节点标题字段 非必须 String 默认值:'title'
57
- * countField: 节点计数字段 非必须 String 默认值:'count'
58
- * keyField: 节点key字段 非必须 String 默认值:'key'
59
- * objSearchProps: 搜索配置参数 非必须 Object
60
- * 另加属性:searchFlag = true, onSearchCallback
61
- * searchFlag: 是否开启搜索功能 非必须 Boolean 默认值:true
62
- * onSearchCallback: 搜索回调函数 非必须 Function 返回值:(arrDataVisible, searchValue, expandedKeys)
63
- * bidPureComponent: 绑定组件方法 非必须 Function
64
- * intUpdateCount: 数据更新次数 必须 Number
65
- * selectedKeys: 选中节点key 非必须 Array
50
+ /**
51
+ * props参数
52
+ * arrData: 树数据源 必须 Array
53
+ * objTreeProps: 树配置参数 非必须 Object
54
+ * 另加属性:touchRenderNode, titleField = 'title', countField = 'count', keyField = 'key'
55
+ * touchRenderNode: 自定义渲染节点 非必须 Function 返回值:{ title, count, key, isLeaf, expanded, selected, loading }
56
+ * titleField: 节点标题字段 非必须 String 默认值:'title'
57
+ * countField: 节点计数字段 非必须 String 默认值:'count'
58
+ * keyField: 节点key字段 非必须 String 默认值:'key'
59
+ * objSearchProps: 搜索配置参数 非必须 Object
60
+ * 另加属性:searchFlag = true, onSearchCallback
61
+ * searchFlag: 是否开启搜索功能 非必须 Boolean 默认值:true
62
+ * onSearchCallback: 搜索回调函数 非必须 Function 返回值:(arrDataVisible, searchValue, expandedKeys)
63
+ * bidPureComponent: 绑定组件方法 非必须 Function
64
+ * intUpdateCount: 数据更新次数 必须 Number
65
+ * selectedKeys: 选中节点key 非必须 Array
66
66
  */
67
67
 
68
68
  var Easy3wTree = function (_Component) {
package/package.json CHANGED
@@ -1,122 +1,122 @@
1
- {
2
- "name": "easy3wui",
3
- "version": "1.5.88",
4
- "description": "easy3wui components for react",
5
- "keywords": [
6
- "react",
7
- "easy3wui"
8
- ],
9
- "homepage": "https://github.com/alsmill/easy3wUI",
10
- "maintainers": [
11
- "chenc@easy3w.com",
12
- "zhanggl@easy3w.com"
13
- ],
14
- "repository": {
15
- "type": "git",
16
- "url": "git@github.com:alsmill/easy3wUI.git"
17
- },
18
- "bugs": {
19
- "url": "https://github.com/alsmill/easy3wUI/issues"
20
- },
21
- "files": [
22
- "lib",
23
- "assets/*.css"
24
- ],
25
- "overrides": {
26
- "graceful-fs": "^4.2.11"
27
- },
28
- "main": "lib/index",
29
- "license": "上海同在互联网科技有限公司 版权所有",
30
- "config": {
31
- "port": 8006,
32
- "entry": {
33
- "easy3wui": [
34
- "./assets/index.less",
35
- "./src/index.js"
36
- ]
37
- }
38
- },
39
- "scripts": {
40
- "build": "rc-tools run build",
41
- "compile": "rc-tools run compile --babel-runtime",
42
- "gh-pages": "rc-tools run gh-pages",
43
- "start": "rc-tools --max_old_space_size=4096 run server",
44
- "pub": "rc-tools run pub",
45
- "lint": "rc-tools run lint",
46
- "karma": "rc-test run karma",
47
- "saucelabs": "rc-test run saucelabs",
48
- "test": "rc-test run test",
49
- "chrome-test": "rc-test run chrome-test",
50
- "coverage": "rc-test run coverage"
51
- },
52
- "devDependencies": {
53
- "axios": "^0.17.1",
54
- "babel-eslint": "^8.0.1",
55
- "babel-jest": "^21.0.0",
56
- "babel-plugin-dva-hmr": "^0.3.2",
57
- "babel-plugin-import": "^1.2.1",
58
- "babel-plugin-transform-class-properties": "^6.24.1",
59
- "babel-plugin-transform-decorators-legacy": "^1.3.4",
60
- "babel-plugin-transform-runtime": "^6.9.0",
61
- "babel-preset-env": "^1.6.1",
62
- "babel-preset-react": "^6.24.1",
63
- "babel-runtime": "^6.26.0",
64
- "cross-env": "^5.1.1",
65
- "cross-port-killer": "^1.0.1",
66
- "dva": "^2.1.0",
67
- "enzyme": "^3.1.0",
68
- "enzyme-adapter-react-16": "^1.0.2",
69
- "eslint": "^4.8.0",
70
- "eslint-config-airbnb": "^16.0.0",
71
- "eslint-plugin-babel": "^4.0.0",
72
- "eslint-plugin-compat": "^2.1.0",
73
- "eslint-plugin-import": "^2.2.0",
74
- "eslint-plugin-jsx-a11y": "^6.0.0",
75
- "eslint-plugin-markdown": "^1.0.0-beta.6",
76
- "eslint-plugin-react": "^7.0.1",
77
- "gh-pages": "^1.0.0",
78
- "husky": "^0.14.3",
79
- "jest": "^21.0.1",
80
- "lint-staged": "^4.3.0",
81
- "mockjs": "^1.0.1-beta3",
82
- "numeral": "^2.0.6",
83
- "crypto-js": "4.0.0",
84
- "pre-commit": "1.x",
85
- "prettier": "^1.9.0",
86
- "pro-download": "^1.0.0",
87
- "prop-types": "^15.5.8",
88
- "rc-test": "^6.0.8",
89
- "rc-tools": "^7.0.2",
90
- "rc-trigger": "^2.2.2",
91
- "react": "16.8.6",
92
- "react-container-query": "^0.11.0",
93
- "react-document-title": "^2.0.3",
94
- "react-dom": "16.8.6",
95
- "react-test-renderer": "^16.0.0",
96
- "redbox-react": "^1.3.2",
97
- "roadhog": "^2.5.0-beta.4",
98
- "roadhog-api-doc": "^1.0.3",
99
- "rollbar": "^2.3.1",
100
- "stylelint": "^8.1.0",
101
- "stylelint-config-standard": "^17.0.0"
102
- },
103
- "pre-commit": [
104
- "lint"
105
- ],
106
- "dependencies": {
107
- "@hanyk/rc-viewer": "^0.0.3",
108
- "antd": "3.24.2",
109
- "braft-editor": "^2.3.8",
110
- "braft-extensions": "^0.1.1",
111
- "lodash": "4.17.11",
112
- "react-images": "^1.0.0",
113
- "react-number-format": "^4.3.1",
114
- "react-number-input": "^15.5.1",
115
- "react-pdf": "^4.0.5",
116
- "react-zmage": "^0.8.5",
117
- "spark-md5": "^3.0.0",
118
- "superagent": "^3.8.3",
119
- "react-data-grid": "6.0.1",
120
- "react-data-grid-addons": "6.0.1"
121
- }
122
- }
1
+ {
2
+ "name": "easy3wui",
3
+ "version": "1.5.89-beta2",
4
+ "description": "easy3wui components for react",
5
+ "keywords": [
6
+ "react",
7
+ "easy3wui"
8
+ ],
9
+ "homepage": "https://github.com/alsmill/easy3wUI",
10
+ "maintainers": [
11
+ "chenc@easy3w.com",
12
+ "zhanggl@easy3w.com"
13
+ ],
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "git@github.com:alsmill/easy3wUI.git"
17
+ },
18
+ "bugs": {
19
+ "url": "https://github.com/alsmill/easy3wUI/issues"
20
+ },
21
+ "files": [
22
+ "lib",
23
+ "assets/*.css"
24
+ ],
25
+ "overrides": {
26
+ "graceful-fs": "^4.2.11"
27
+ },
28
+ "main": "lib/index",
29
+ "license": "上海同在互联网科技有限公司 版权所有",
30
+ "config": {
31
+ "port": 8006,
32
+ "entry": {
33
+ "easy3wui": [
34
+ "./assets/index.less",
35
+ "./src/index.js"
36
+ ]
37
+ }
38
+ },
39
+ "scripts": {
40
+ "build": "rc-tools run build",
41
+ "compile": "rc-tools run compile --babel-runtime",
42
+ "gh-pages": "rc-tools run gh-pages",
43
+ "start": "rc-tools --max_old_space_size=4096 run server",
44
+ "pub": "rc-tools run pub",
45
+ "lint": "rc-tools run lint",
46
+ "karma": "rc-test run karma",
47
+ "saucelabs": "rc-test run saucelabs",
48
+ "test": "rc-test run test",
49
+ "chrome-test": "rc-test run chrome-test",
50
+ "coverage": "rc-test run coverage"
51
+ },
52
+ "devDependencies": {
53
+ "axios": "^0.17.1",
54
+ "babel-eslint": "^8.0.1",
55
+ "babel-jest": "^21.0.0",
56
+ "babel-plugin-dva-hmr": "^0.3.2",
57
+ "babel-plugin-import": "^1.2.1",
58
+ "babel-plugin-transform-class-properties": "^6.24.1",
59
+ "babel-plugin-transform-decorators-legacy": "^1.3.4",
60
+ "babel-plugin-transform-runtime": "^6.9.0",
61
+ "babel-preset-env": "^1.6.1",
62
+ "babel-preset-react": "^6.24.1",
63
+ "babel-runtime": "^6.26.0",
64
+ "cross-env": "^5.1.1",
65
+ "cross-port-killer": "^1.0.1",
66
+ "dva": "^2.1.0",
67
+ "enzyme": "^3.1.0",
68
+ "enzyme-adapter-react-16": "^1.0.2",
69
+ "eslint": "^4.8.0",
70
+ "eslint-config-airbnb": "^16.0.0",
71
+ "eslint-plugin-babel": "^4.0.0",
72
+ "eslint-plugin-compat": "^2.1.0",
73
+ "eslint-plugin-import": "^2.2.0",
74
+ "eslint-plugin-jsx-a11y": "^6.0.0",
75
+ "eslint-plugin-markdown": "^1.0.0-beta.6",
76
+ "eslint-plugin-react": "^7.0.1",
77
+ "gh-pages": "^1.0.0",
78
+ "husky": "^0.14.3",
79
+ "jest": "^21.0.1",
80
+ "lint-staged": "^4.3.0",
81
+ "mockjs": "^1.0.1-beta3",
82
+ "numeral": "^2.0.6",
83
+ "crypto-js": "4.0.0",
84
+ "pre-commit": "1.x",
85
+ "prettier": "^1.9.0",
86
+ "pro-download": "^1.0.0",
87
+ "prop-types": "^15.5.8",
88
+ "rc-test": "^6.0.8",
89
+ "rc-tools": "^7.0.2",
90
+ "rc-trigger": "^2.2.2",
91
+ "react": "16.8.6",
92
+ "react-container-query": "^0.11.0",
93
+ "react-document-title": "^2.0.3",
94
+ "react-dom": "16.8.6",
95
+ "react-test-renderer": "^16.0.0",
96
+ "redbox-react": "^1.3.2",
97
+ "roadhog": "^2.5.0-beta.4",
98
+ "roadhog-api-doc": "^1.0.3",
99
+ "rollbar": "^2.3.1",
100
+ "stylelint": "^8.1.0",
101
+ "stylelint-config-standard": "^17.0.0"
102
+ },
103
+ "pre-commit": [
104
+ "lint"
105
+ ],
106
+ "dependencies": {
107
+ "@hanyk/rc-viewer": "^0.0.3",
108
+ "antd": "3.24.2",
109
+ "braft-editor": "^2.3.8",
110
+ "braft-extensions": "^0.1.1",
111
+ "lodash": "4.17.11",
112
+ "react-images": "^1.0.0",
113
+ "react-number-format": "^4.3.1",
114
+ "react-number-input": "^15.5.1",
115
+ "react-pdf": "^4.0.5",
116
+ "react-zmage": "^0.8.5",
117
+ "spark-md5": "^3.0.0",
118
+ "superagent": "^3.8.3",
119
+ "react-data-grid": "6.0.1",
120
+ "react-data-grid-addons": "6.0.1"
121
+ }
122
+ }