easy3wui 1.5.65-beta.1 → 1.5.65

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.
@@ -579,13 +579,13 @@ Easy3wFlow.propTypes = {
579
579
  flowCurCode: _propTypes2['default'].string
580
580
  };
581
581
 
582
- var Easy3wFlowSoho = function (_Component2) {
583
- (0, _inherits3['default'])(Easy3wFlowSoho, _Component2);
582
+ var Easy3wFlowTight = function (_Component2) {
583
+ (0, _inherits3['default'])(Easy3wFlowTight, _Component2);
584
584
 
585
- function Easy3wFlowSoho() {
585
+ function Easy3wFlowTight() {
586
586
  var _temp2, _this2, _ret2;
587
587
 
588
- (0, _classCallCheck3['default'])(this, Easy3wFlowSoho);
588
+ (0, _classCallCheck3['default'])(this, Easy3wFlowTight);
589
589
 
590
590
  for (var _len2 = arguments.length, args = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
591
591
  args[_key2] = arguments[_key2];
@@ -1217,27 +1217,27 @@ var Easy3wFlowSoho = function (_Component2) {
1217
1217
  // 传入业务ID,角色ID,流程编码,当前打开的节点ID,是否只读 5个参数
1218
1218
 
1219
1219
 
1220
- Easy3wFlowSoho.prototype.render = function render() {
1220
+ Easy3wFlowTight.prototype.render = function render() {
1221
1221
  var flowData = this.props.flowData;
1222
1222
 
1223
1223
  var renderFlow = this.getFlowData(flowData);
1224
1224
  return _react2['default'].createElement(
1225
1225
  'div',
1226
- { className: (0, _classnames2['default'])('Easy3wFlowSoho') },
1226
+ { className: (0, _classnames2['default'])('Easy3wFlowTight') },
1227
1227
  flowData ? renderFlow : ''
1228
1228
  );
1229
1229
  };
1230
1230
 
1231
- return Easy3wFlowSoho;
1231
+ return Easy3wFlowTight;
1232
1232
  }(_react.Component);
1233
1233
 
1234
- Easy3wFlowSoho.defaultProps = {
1234
+ Easy3wFlowTight.defaultProps = {
1235
1235
  flowCurCode: '' };
1236
- Easy3wFlowSoho.propTypes = {
1236
+ Easy3wFlowTight.propTypes = {
1237
1237
  businessId: _propTypes2['default'].string.isRequired,
1238
1238
  roleCode: _propTypes2['default'].string.isRequired,
1239
1239
  processCode: _propTypes2['default'].string.isRequired,
1240
1240
  flowCurCode: _propTypes2['default'].string
1241
1241
  };
1242
- exports['default'] = projectType === 'soho' ? Easy3wFlowSoho : Easy3wFlow;
1242
+ exports['default'] = projectType === '1' ? Easy3wFlowTight : Easy3wFlow;
1243
1243
  module.exports = exports['default'];
@@ -248,7 +248,7 @@ var mixSingle = {
248
248
  labelCol: { span: 4 },
249
249
  wrapperCol: { span: 18 }
250
250
  };
251
- var mixSingleSoho = {
251
+ var mixSingleTight = {
252
252
  labelCol: { span: 4 },
253
253
  wrapperCol: { span: 20 }
254
254
  };
@@ -260,7 +260,7 @@ var doubleItemLeft = {
260
260
  labelCol: { span: 8 },
261
261
  wrapperCol: { span: 12 }
262
262
  };
263
- var doubleItemLeftSoho = {
263
+ var doubleItemLeftTight = {
264
264
  labelCol: { span: 8 },
265
265
  wrapperCol: { span: 16 }
266
266
  };
@@ -272,7 +272,7 @@ var formItemRight = {
272
272
  labelCol: { span: 8 },
273
273
  wrapperCol: { span: 12 }
274
274
  };
275
- var formItemRightSoho = {
275
+ var formItemRightTight = {
276
276
  labelCol: { span: 8 },
277
277
  wrapperCol: { span: 16 }
278
278
  };
@@ -295,7 +295,7 @@ var formItemRightWithBtn = {
295
295
  var formItemStyle = {
296
296
  marginBottom: 6
297
297
  };
298
- var formItemStyleSoho = {
298
+ var formItemStyleTight = {
299
299
  margin: '0px'
300
300
  };
301
301
  // 手机号区号及正则表 当有国家区号相同时后加区号在原本的区号基础上加 '+序号'
@@ -1982,13 +1982,13 @@ var Easy3wFormPage = function (_Component) {
1982
1982
  return Easy3wFormPage;
1983
1983
  }(_react.Component);
1984
1984
 
1985
- var Easy3wFormPageSoho = function (_Component2) {
1986
- (0, _inherits3['default'])(Easy3wFormPageSoho, _Component2);
1985
+ var Easy3wFormPageTight = function (_Component2) {
1986
+ (0, _inherits3['default'])(Easy3wFormPageTight, _Component2);
1987
1987
 
1988
- function Easy3wFormPageSoho() {
1988
+ function Easy3wFormPageTight() {
1989
1989
  var _temp2, _this2, _ret2;
1990
1990
 
1991
- (0, _classCallCheck3['default'])(this, Easy3wFormPageSoho);
1991
+ (0, _classCallCheck3['default'])(this, Easy3wFormPageTight);
1992
1992
 
1993
1993
  for (var _len2 = arguments.length, args = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
1994
1994
  args[_key2] = arguments[_key2];
@@ -2253,7 +2253,7 @@ var Easy3wFormPageSoho = function (_Component2) {
2253
2253
  (0, _extends3['default'])({
2254
2254
  label: label
2255
2255
  }, formItemLayout, formItemProps, {
2256
- style: formItemStyleSoho,
2256
+ style: formItemStyleTight,
2257
2257
  className: (0, _classnames2['default'])(['formContent'])
2258
2258
  }),
2259
2259
  getFieldDecorator(fieldId + 'Easy3wView', {
@@ -2270,7 +2270,7 @@ var Easy3wFormPageSoho = function (_Component2) {
2270
2270
  (0, _extends3['default'])({
2271
2271
  label: label
2272
2272
  }, formItemLayout, formItemProps, {
2273
- style: formItemStyleSoho,
2273
+ style: formItemStyleTight,
2274
2274
  className: (0, _classnames2['default'])(['formContent'])
2275
2275
  }),
2276
2276
  getFieldDecorator(fieldId + 'Easy3wView', {
@@ -2290,7 +2290,7 @@ var Easy3wFormPageSoho = function (_Component2) {
2290
2290
  (0, _extends3['default'])({
2291
2291
  label: label
2292
2292
  }, formItemLayout, formItemProps, {
2293
- style: formItemStyleSoho,
2293
+ style: formItemStyleTight,
2294
2294
  className: (0, _classnames2['default'])(['formContent'])
2295
2295
  }),
2296
2296
  getFieldDecorator(fieldId + 'Easy3wView', {
@@ -2315,7 +2315,7 @@ var Easy3wFormPageSoho = function (_Component2) {
2315
2315
  (0, _extends3['default'])({
2316
2316
  label: label
2317
2317
  }, formItemLayout, formItemProps, {
2318
- style: formItemStyleSoho,
2318
+ style: formItemStyleTight,
2319
2319
  className: (0, _classnames2['default'])(['formContent'])
2320
2320
  }),
2321
2321
  _react2['default'].createElement(
@@ -2361,7 +2361,7 @@ var Easy3wFormPageSoho = function (_Component2) {
2361
2361
  (0, _extends3['default'])({
2362
2362
  label: label
2363
2363
  }, formItemLayout, formItemProps, {
2364
- style: formItemStyleSoho,
2364
+ style: formItemStyleTight,
2365
2365
  className: (0, _classnames2['default'])(['formContent'])
2366
2366
  }),
2367
2367
  itemArea
@@ -2372,7 +2372,7 @@ var Easy3wFormPageSoho = function (_Component2) {
2372
2372
  (0, _extends3['default'])({
2373
2373
  label: label
2374
2374
  }, formItemLayout, formItemProps, {
2375
- style: formItemStyleSoho,
2375
+ style: formItemStyleTight,
2376
2376
  className: (0, _classnames2['default'])(['formContent'])
2377
2377
  }),
2378
2378
  _react2['default'].createElement(
@@ -2439,7 +2439,7 @@ var Easy3wFormPageSoho = function (_Component2) {
2439
2439
  {
2440
2440
  labelCol: { span: 48 },
2441
2441
  wrapperCol: { span: 48 },
2442
- style: formItemStyleSoho,
2442
+ style: formItemStyleTight,
2443
2443
  className: (0, _classnames2['default'])(['formContent'])
2444
2444
  },
2445
2445
  getFieldDecorator(fieldId + 'Easy3wView', {
@@ -2466,7 +2466,7 @@ var Easy3wFormPageSoho = function (_Component2) {
2466
2466
  {
2467
2467
  labelCol: { span: 48 },
2468
2468
  wrapperCol: { span: 48 },
2469
- style: formItemStyleSoho,
2469
+ style: formItemStyleTight,
2470
2470
  className: (0, _classnames2['default'])(['formContent'])
2471
2471
  },
2472
2472
  _react2['default'].createElement(
@@ -2511,7 +2511,7 @@ var Easy3wFormPageSoho = function (_Component2) {
2511
2511
  {
2512
2512
  labelCol: { span: 48 },
2513
2513
  wrapperCol: { span: 48 },
2514
- style: formItemStyleSoho,
2514
+ style: formItemStyleTight,
2515
2515
  className: (0, _classnames2['default'])(['formContent'])
2516
2516
  },
2517
2517
  getFieldDecorator(fieldId, (0, _extends3['default'])({}, decoratorObj))(itemArea)
@@ -2558,22 +2558,22 @@ var Easy3wFormPageSoho = function (_Component2) {
2558
2558
  col1Layout = singleItem;
2559
2559
  }
2560
2560
  if (doubleColFlag) {
2561
- col1Layout = doubleItemLeftSoho;
2562
- col2Layout = formItemRightSoho;
2561
+ col1Layout = doubleItemLeftTight;
2562
+ col2Layout = formItemRightTight;
2563
2563
  if (rowAftBtnFlag) {
2564
2564
  col2Layout = formItemRightWithBtn;
2565
2565
  }
2566
2566
  }
2567
2567
  if (mixColFlag) {
2568
2568
  if (colsLength === 1) {
2569
- col1Layout = mixSingleSoho;
2569
+ col1Layout = mixSingleTight;
2570
2570
  if (rowAftBtnFlag) {
2571
2571
  col1Layout = mixSingleWithBtn;
2572
2572
  }
2573
2573
  }
2574
2574
  if (colsLength === 2) {
2575
- col1Layout = doubleItemLeftSoho;
2576
- col2Layout = formItemRightSoho;
2575
+ col1Layout = doubleItemLeftTight;
2576
+ col2Layout = formItemRightTight;
2577
2577
  if (rowAftBtnFlag) {
2578
2578
  col1Layout = doubleItemLeftWithBtn;
2579
2579
  col2Layout = formItemRightWithBtn;
@@ -2785,7 +2785,7 @@ var Easy3wFormPageSoho = function (_Component2) {
2785
2785
  form: form,
2786
2786
  required: required,
2787
2787
  label: label,
2788
- style: formItemStyleSoho,
2788
+ style: formItemStyleTight,
2789
2789
  className: (0, _classnames2['default'])(['formContent'])
2790
2790
  }, formItemLayout, cmptProsNew));
2791
2791
  }, _this2.getUploadBColItem = function (colObj, formItemLayout) {
@@ -2811,7 +2811,7 @@ var Easy3wFormPageSoho = function (_Component2) {
2811
2811
  form: form,
2812
2812
  required: required,
2813
2813
  label: label,
2814
- style: formItemStyleSoho,
2814
+ style: formItemStyleTight,
2815
2815
  className: (0, _classnames2['default'])(['formContent'])
2816
2816
  }, formItemLayout, cmptProsNew));
2817
2817
  }, _this2.getUploadMColItem = function (colObj, formItemLayout) {
@@ -2836,7 +2836,7 @@ var Easy3wFormPageSoho = function (_Component2) {
2836
2836
  form: form,
2837
2837
  required: required,
2838
2838
  label: label,
2839
- style: formItemStyleSoho,
2839
+ style: formItemStyleTight,
2840
2840
  className: (0, _classnames2['default'])(['formContent'])
2841
2841
  }, formItemLayout, cmptProsNew));
2842
2842
  }, _this2.inputHandler = function (item) {
@@ -3076,7 +3076,7 @@ var Easy3wFormPageSoho = function (_Component2) {
3076
3076
  (0, _extends3['default'])({
3077
3077
  label: label
3078
3078
  }, formItemLayout, formItemProps, {
3079
- style: formItemStyleSoho,
3079
+ style: formItemStyleTight,
3080
3080
  className: (0, _classnames2['default'])(['formContent'])
3081
3081
  }),
3082
3082
  valueFormat + ' ' + (cmptPros && cmptPros.addonAfter ? cmptPros.addonAfter : '')
@@ -3087,7 +3087,7 @@ var Easy3wFormPageSoho = function (_Component2) {
3087
3087
  (0, _extends3['default'])({
3088
3088
  label: label
3089
3089
  }, formItemLayout, formItemProps, {
3090
- style: formItemStyleSoho,
3090
+ style: formItemStyleTight,
3091
3091
  className: cmptPros && cmptPros.addonAfter ? (0, _classnames2['default'])(['formContentAlone']) : (0, _classnames2['default'])(['formContent'])
3092
3092
  }),
3093
3093
  _react2['default'].createElement(
@@ -3193,7 +3193,7 @@ var Easy3wFormPageSoho = function (_Component2) {
3193
3193
  (0, _extends3['default'])({
3194
3194
  label: label
3195
3195
  }, formItemLayout, formItemProps, {
3196
- style: formItemStyleSoho,
3196
+ style: formItemStyleTight,
3197
3197
  className: (0, _classnames2['default'])(['formContent'])
3198
3198
  }),
3199
3199
  getFieldDecorator(fieldId + 'Easy3wView', {
@@ -3208,7 +3208,7 @@ var Easy3wFormPageSoho = function (_Component2) {
3208
3208
  (0, _extends3['default'])({
3209
3209
  label: label
3210
3210
  }, formItemLayout, formItemProps, {
3211
- style: formItemStyleSoho,
3211
+ style: formItemStyleTight,
3212
3212
  className: (0, _classnames2['default'])(['formContent'])
3213
3213
  }),
3214
3214
  _react2['default'].createElement(
@@ -3294,7 +3294,7 @@ var Easy3wFormPageSoho = function (_Component2) {
3294
3294
  (0, _extends3['default'])({
3295
3295
  label: label
3296
3296
  }, formItemLayout, formItemProps, {
3297
- style: formItemStyleSoho,
3297
+ style: formItemStyleTight,
3298
3298
  className: (0, _classnames2['default'])(['formContent'])
3299
3299
  }),
3300
3300
  getFieldDecorator(fieldId + 'Easy3wView', {
@@ -3309,7 +3309,7 @@ var Easy3wFormPageSoho = function (_Component2) {
3309
3309
  (0, _extends3['default'])({
3310
3310
  label: label
3311
3311
  }, formItemLayout, formItemProps, {
3312
- style: formItemStyleSoho,
3312
+ style: formItemStyleTight,
3313
3313
  className: (0, _classnames2['default'])(['formContent'])
3314
3314
  }),
3315
3315
  getFieldDecorator(fieldId, (0, _extends3['default'])({}, decoratorObj, {
@@ -3378,7 +3378,7 @@ var Easy3wFormPageSoho = function (_Component2) {
3378
3378
  (0, _extends3['default'])({
3379
3379
  label: label
3380
3380
  }, formItemLayout, formItemProps, {
3381
- style: formItemStyleSoho,
3381
+ style: formItemStyleTight,
3382
3382
  className: (0, _classnames2['default'])(['formContent'])
3383
3383
  }),
3384
3384
  getFieldDecorator(fieldId + 'Easy3wView', {
@@ -3393,7 +3393,7 @@ var Easy3wFormPageSoho = function (_Component2) {
3393
3393
  (0, _extends3['default'])({
3394
3394
  label: label
3395
3395
  }, formItemLayout, formItemProps, {
3396
- style: formItemStyleSoho,
3396
+ style: formItemStyleTight,
3397
3397
  className: (0, _classnames2['default'])(['formContent'])
3398
3398
  }),
3399
3399
  getFieldDecorator(fieldId, (0, _extends3['default'])({}, decoratorObj, {
@@ -3707,7 +3707,7 @@ var Easy3wFormPageSoho = function (_Component2) {
3707
3707
 
3708
3708
  /** strHandler end */
3709
3709
 
3710
- Easy3wFormPageSoho.prototype.render = function render() {
3710
+ Easy3wFormPageTight.prototype.render = function render() {
3711
3711
  var getAllForms = this.getAllForms();
3712
3712
  var borderFlag = this.props.borderFlag;
3713
3713
  // noLabelFlag 布尔值
@@ -3720,7 +3720,7 @@ var Easy3wFormPageSoho = function (_Component2) {
3720
3720
  }
3721
3721
  return _react2['default'].createElement(
3722
3722
  'div',
3723
- { className: (0, _classnames2['default'])(['e3wFormPageWrapSoho']) },
3723
+ { className: (0, _classnames2['default'])(['e3wFormPageWrapTight']) },
3724
3724
  _react2['default'].createElement(
3725
3725
  'div',
3726
3726
  { className: (0, _classnames2['default'])(noBorderFlag ? ['e3wFormPageNoBorder'] : ['e3wFormPage']) },
@@ -3742,14 +3742,14 @@ var Easy3wFormPageSoho = function (_Component2) {
3742
3742
  // }
3743
3743
  };
3744
3744
 
3745
- return Easy3wFormPageSoho;
3745
+ return Easy3wFormPageTight;
3746
3746
  }(_react.Component);
3747
3747
 
3748
- exports['default'] = projectType === 'soho' ? (0, _dva.connect)(function (state) {
3748
+ exports['default'] = projectType === '1' ? (0, _dva.connect)(function (state) {
3749
3749
  return {
3750
3750
  loadingFlag: state.loading
3751
3751
  };
3752
- })(Easy3wFormPageSoho) : (0, _dva.connect)(function (state) {
3752
+ })(Easy3wFormPageTight) : (0, _dva.connect)(function (state) {
3753
3753
  return {
3754
3754
  loadingFlag: state.loading,
3755
3755
  globalData: state.globalData
@@ -93,7 +93,7 @@ var _ref3 = objEasy3wUpload || {},
93
93
 
94
94
  var FormItem = _form2['default'].Item;
95
95
  var formItemStyle = {
96
- marginBottom: projectType === 'soho' ? 3 : 6
96
+ marginBottom: projectType === '1' ? 3 : 6
97
97
  };
98
98
 
99
99
  var Easy3wUpload = function (_Component) {
@@ -91,7 +91,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'd
91
91
  // 文件上传配置
92
92
  var _ref = _comonConfig.objE3wUIFileConfig || {},
93
93
  maxSizeB = _ref.maxSizeB;
94
- // maxSizeB 大附件-文件大小限制 单位:MB
94
+ // maxSizeB 大附件-文件大小限制 单位:MB
95
95
  // maxSize 附件-文件大小限制 单位:MB
96
96
 
97
97
 
@@ -102,7 +102,7 @@ var _ref3 = objEasy3wUploadB || {},
102
102
  projectType = _ref3.projectType;
103
103
 
104
104
  var formItemStyle = {
105
- marginBottom: projectType === 'soho' ? 3 : 6
105
+ marginBottom: projectType === '1' ? 3 : 6
106
106
  };
107
107
  function Easy3wGetCookie(name) {
108
108
  var arr = void 0;
@@ -93,7 +93,7 @@ var _ref3 = objEasy3wUploadM || {},
93
93
  projectType = _ref3.projectType;
94
94
 
95
95
  var formItemStyle = {
96
- marginBottom: projectType ? 3 : 6
96
+ marginBottom: projectType === '1' ? 3 : 6
97
97
  };
98
98
 
99
99
  var Easy3wUploadM = function (_Component) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easy3wui",
3
- "version": "1.5.65-beta.1",
3
+ "version": "1.5.65",
4
4
  "description": "easy3wui components for react",
5
5
  "keywords": [
6
6
  "react",