easy3wui 1.5.69 → 1.5.70-beta10

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.
@@ -13,14 +13,9 @@
13
13
  .e3wFormPageWrap .e3wFormItem .ant-form-item {
14
14
  margin-bottom: 8px;
15
15
  }
16
- .e3wFormPageWrap .e3wFormItem input.ant-input-number-input {
17
- text-align: right;
18
- padding-right: 22px;
19
- }
20
- .e3wFormPageWrap .e3wFormItem .rightText {
21
- text-align: right;
22
- }
23
- .e3wFormPageWrap .inputNumberFormat {
16
+ .e3wFormPageWrap .inputNumberFormat,
17
+ .e3wFormPageWrap .inputAmount,
18
+ .e3wFormPageWrap .inputDigit {
24
19
  display: -ms-flexbox;
25
20
  display: flex;
26
21
  -ms-flex-direction: row;
@@ -29,15 +24,28 @@
29
24
  flex-wrap: nowrap;
30
25
  line-height: 32px;
31
26
  }
32
- .e3wFormPageWrap .inputNumberFormat .addonBtns {
27
+ .e3wFormPageWrap .inputNumberFormat .addonBtns,
28
+ .e3wFormPageWrap .inputAmount .addonBtns,
29
+ .e3wFormPageWrap .inputDigit .addonBtns {
33
30
  height: 32px;
34
31
  width: auto;
35
32
  border-left: none;
36
33
  border-right: 1px solid #d9d9d9;
37
34
  }
38
- .e3wFormPageWrap .inputNumberFormat .inputNumberBtns .e3wFootBtn {
35
+ .e3wFormPageWrap .inputNumberFormat .inputNumberBtns .e3wFootBtn,
36
+ .e3wFormPageWrap .inputAmount .inputNumberBtns .e3wFootBtn,
37
+ .e3wFormPageWrap .inputDigit .inputNumberBtns .e3wFootBtn {
39
38
  margin: 0;
40
39
  }
40
+ .ant-input-number:hover input.ant-input-number-input {
41
+ padding-right: 33px;
42
+ }
43
+ input.ant-input-number-input {
44
+ text-align: right;
45
+ }
46
+ .rightText {
47
+ text-align: right;
48
+ }
41
49
  .bf-container.read-only .bf-content {
42
50
  height: auto;
43
51
  }
@@ -53,25 +53,32 @@
53
53
  white-space: nowrap;
54
54
  overflow: hidden;
55
55
  }
56
- .scrollPrint .ant-table-thead > tr > th {
56
+ .scrollPrint .ant-table-thead > tr > th,
57
+ .e3wFormPageWrap .scrollX .ant-table-thead > tr > th {
57
58
  text-align: center;
58
59
  }
59
- .scrollPrint .ant-table-tbody > .ant-table-row td {
60
+ .scrollPrint .ant-table-tbody > .ant-table-row td,
61
+ .e3wFormPageWrap .scrollX .ant-table-tbody > .ant-table-row td {
60
62
  max-width: 240px;
61
63
  }
62
- .scrollPrint .ant-table-tbody > .ant-table-row .e3wText {
64
+ .scrollPrint .ant-table-tbody > .ant-table-row .e3wText,
65
+ .e3wFormPageWrap .scrollX .ant-table-tbody > .ant-table-row .e3wText {
63
66
  text-align: left;
64
67
  }
65
- .scrollPrint .ant-table-tbody > .ant-table-row .e3wGridShortText {
68
+ .scrollPrint .ant-table-tbody > .ant-table-row .e3wGridShortText,
69
+ .e3wFormPageWrap .scrollX .ant-table-tbody > .ant-table-row .e3wGridShortText {
66
70
  text-align: center;
67
71
  }
68
- .scrollPrint .ant-table-tbody > .ant-table-row .e3wGridLongText {
72
+ .scrollPrint .ant-table-tbody > .ant-table-row .e3wGridLongText,
73
+ .e3wFormPageWrap .scrollX .ant-table-tbody > .ant-table-row .e3wGridLongText {
69
74
  text-align: justify;
70
75
  }
71
- .scrollPrint .ant-table-tbody > .ant-table-row .e3wGridNumber {
76
+ .scrollPrint .ant-table-tbody > .ant-table-row .e3wGridNumber,
77
+ .e3wFormPageWrap .scrollX .ant-table-tbody > .ant-table-row .e3wGridNumber {
72
78
  text-align: right;
73
79
  }
74
- .scrollPrint .ant-table-tbody > .ant-table-row .e3wMaxText {
80
+ .scrollPrint .ant-table-tbody > .ant-table-row .e3wMaxText,
81
+ .e3wFormPageWrap .scrollX .ant-table-tbody > .ant-table-row .e3wMaxText {
75
82
  max-width: 240px;
76
83
  text-align: left;
77
84
  }
package/assets/index.css CHANGED
@@ -2352,25 +2352,32 @@ s {
2352
2352
  white-space: nowrap;
2353
2353
  overflow: hidden;
2354
2354
  }
2355
- .scrollPrint .ant-table-thead > tr > th {
2355
+ .scrollPrint .ant-table-thead > tr > th,
2356
+ .e3wFormPageWrap .scrollX .ant-table-thead > tr > th {
2356
2357
  text-align: center;
2357
2358
  }
2358
- .scrollPrint .ant-table-tbody > .ant-table-row td {
2359
+ .scrollPrint .ant-table-tbody > .ant-table-row td,
2360
+ .e3wFormPageWrap .scrollX .ant-table-tbody > .ant-table-row td {
2359
2361
  max-width: 240px;
2360
2362
  }
2361
- .scrollPrint .ant-table-tbody > .ant-table-row .e3wText {
2363
+ .scrollPrint .ant-table-tbody > .ant-table-row .e3wText,
2364
+ .e3wFormPageWrap .scrollX .ant-table-tbody > .ant-table-row .e3wText {
2362
2365
  text-align: left;
2363
2366
  }
2364
- .scrollPrint .ant-table-tbody > .ant-table-row .e3wGridShortText {
2367
+ .scrollPrint .ant-table-tbody > .ant-table-row .e3wGridShortText,
2368
+ .e3wFormPageWrap .scrollX .ant-table-tbody > .ant-table-row .e3wGridShortText {
2365
2369
  text-align: center;
2366
2370
  }
2367
- .scrollPrint .ant-table-tbody > .ant-table-row .e3wGridLongText {
2371
+ .scrollPrint .ant-table-tbody > .ant-table-row .e3wGridLongText,
2372
+ .e3wFormPageWrap .scrollX .ant-table-tbody > .ant-table-row .e3wGridLongText {
2368
2373
  text-align: justify;
2369
2374
  }
2370
- .scrollPrint .ant-table-tbody > .ant-table-row .e3wGridNumber {
2375
+ .scrollPrint .ant-table-tbody > .ant-table-row .e3wGridNumber,
2376
+ .e3wFormPageWrap .scrollX .ant-table-tbody > .ant-table-row .e3wGridNumber {
2371
2377
  text-align: right;
2372
2378
  }
2373
- .scrollPrint .ant-table-tbody > .ant-table-row .e3wMaxText {
2379
+ .scrollPrint .ant-table-tbody > .ant-table-row .e3wMaxText,
2380
+ .e3wFormPageWrap .scrollX .ant-table-tbody > .ant-table-row .e3wMaxText {
2374
2381
  max-width: 240px;
2375
2382
  text-align: left;
2376
2383
  }
@@ -2404,14 +2411,9 @@ s {
2404
2411
  .e3wFormPageWrap .e3wFormItem .ant-form-item {
2405
2412
  margin-bottom: 8px;
2406
2413
  }
2407
- .e3wFormPageWrap .e3wFormItem input.ant-input-number-input {
2408
- text-align: right;
2409
- padding-right: 22px;
2410
- }
2411
- .e3wFormPageWrap .e3wFormItem .rightText {
2412
- text-align: right;
2413
- }
2414
- .e3wFormPageWrap .inputNumberFormat {
2414
+ .e3wFormPageWrap .inputNumberFormat,
2415
+ .e3wFormPageWrap .inputAmount,
2416
+ .e3wFormPageWrap .inputDigit {
2415
2417
  display: -ms-flexbox;
2416
2418
  display: flex;
2417
2419
  -ms-flex-direction: row;
@@ -2420,15 +2422,28 @@ s {
2420
2422
  flex-wrap: nowrap;
2421
2423
  line-height: 32px;
2422
2424
  }
2423
- .e3wFormPageWrap .inputNumberFormat .addonBtns {
2425
+ .e3wFormPageWrap .inputNumberFormat .addonBtns,
2426
+ .e3wFormPageWrap .inputAmount .addonBtns,
2427
+ .e3wFormPageWrap .inputDigit .addonBtns {
2424
2428
  height: 32px;
2425
2429
  width: auto;
2426
2430
  border-left: none;
2427
2431
  border-right: 1px solid #d9d9d9;
2428
2432
  }
2429
- .e3wFormPageWrap .inputNumberFormat .inputNumberBtns .e3wFootBtn {
2433
+ .e3wFormPageWrap .inputNumberFormat .inputNumberBtns .e3wFootBtn,
2434
+ .e3wFormPageWrap .inputAmount .inputNumberBtns .e3wFootBtn,
2435
+ .e3wFormPageWrap .inputDigit .inputNumberBtns .e3wFootBtn {
2430
2436
  margin: 0;
2431
2437
  }
2438
+ .ant-input-number:hover input.ant-input-number-input {
2439
+ padding-right: 33px;
2440
+ }
2441
+ input.ant-input-number-input {
2442
+ text-align: right;
2443
+ }
2444
+ .rightText {
2445
+ text-align: right;
2446
+ }
2432
2447
  .bf-container.read-only .bf-content {
2433
2448
  height: auto;
2434
2449
  }
@@ -2601,3 +2616,7 @@ s {
2601
2616
  border-style: solid;
2602
2617
  border-radius: 3px;
2603
2618
  }
2619
+ .easy3wTree .easy3wTreeSearch {
2620
+ width: calc(88%);
2621
+ margin: 0 6px;
2622
+ }
@@ -0,0 +1,4 @@
1
+ .easy3wTree .easy3wTreeSearch {
2
+ width: calc(88%);
3
+ margin: 0 6px;
4
+ }
@@ -0,0 +1,53 @@
1
+ 'use strict';
2
+
3
+ exports.__esModule = true;
4
+
5
+ var _classCallCheck2 = require('babel-runtime/helpers/classCallCheck');
6
+
7
+ var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
8
+
9
+ var _possibleConstructorReturn2 = require('babel-runtime/helpers/possibleConstructorReturn');
10
+
11
+ var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
12
+
13
+ var _inherits2 = require('babel-runtime/helpers/inherits');
14
+
15
+ var _inherits3 = _interopRequireDefault(_inherits2);
16
+
17
+ var _react = require('react');
18
+
19
+ var _react2 = _interopRequireDefault(_react);
20
+
21
+ var _col = require('antd/lib/col');
22
+
23
+ var _col2 = _interopRequireDefault(_col);
24
+
25
+ require('antd/lib/col/style');
26
+
27
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
28
+
29
+ var Easy3wCol = function (_Component) {
30
+ (0, _inherits3['default'])(Easy3wCol, _Component);
31
+
32
+ function Easy3wCol() {
33
+ (0, _classCallCheck3['default'])(this, Easy3wCol);
34
+ return (0, _possibleConstructorReturn3['default'])(this, _Component.apply(this, arguments));
35
+ }
36
+
37
+ Easy3wCol.prototype.render = function render() {
38
+ var _props = this.props,
39
+ objColProps = _props.objColProps,
40
+ children = _props.children;
41
+
42
+ return _react2['default'].createElement(
43
+ _col2['default'],
44
+ objColProps,
45
+ children
46
+ );
47
+ };
48
+
49
+ return Easy3wCol;
50
+ }(_react.Component);
51
+
52
+ exports['default'] = Easy3wCol;
53
+ module.exports = exports['default'];
@@ -70,9 +70,13 @@ var _Easy3wAESEncrypt = require('../Easy3wAESEncrypt');
70
70
 
71
71
  var _Easy3wAESEncrypt2 = _interopRequireDefault(_Easy3wAESEncrypt);
72
72
 
73
+ var _Easy3wUIConfig = require('../Easy3wUIConfig');
74
+
75
+ var _Easy3wUIConfig2 = _interopRequireDefault(_Easy3wUIConfig);
76
+
73
77
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
74
78
 
75
- // const { previewFileUrl, previewFileFlag, previewFileType } = objPreviewFile || {};
79
+ var objPreviewFileDefault = _Easy3wUIConfig2['default'].objPreviewFileDefault;
76
80
 
77
81
  var Easy3wDownLoad = function (_Component) {
78
82
  (0, _inherits3['default'])(Easy3wDownLoad, _Component);
@@ -83,7 +87,7 @@ var Easy3wDownLoad = function (_Component) {
83
87
  var _this = (0, _possibleConstructorReturn3['default'])(this, _Component.call(this, props));
84
88
 
85
89
  _this.onPreview = function (file, url) {
86
- var objPreviewFileNew = (0, _extends3['default'])({}, _comonConfig.objPreviewFile, _this.props.objPreviewFile);
90
+ var objPreviewFileNew = (0, _extends3['default'])({}, objPreviewFileDefault, _comonConfig.objPreviewFile, _this.props.objPreviewFile);
87
91
  var previewFileUrl = objPreviewFileNew.previewFileUrl,
88
92
  previewFileType = objPreviewFileNew.previewFileType;
89
93
  var uid = file.uid,
@@ -198,7 +202,7 @@ var Easy3wDownLoad = function (_Component) {
198
202
  fileViewURL = _props.fileViewURL,
199
203
  fileCallURL = _props.fileCallURL;
200
204
 
201
- var objPreviewFileNew = (0, _extends3['default'])({}, _comonConfig.objPreviewFile, this.props.objPreviewFile);
205
+ var objPreviewFileNew = (0, _extends3['default'])({}, objPreviewFileDefault, _comonConfig.objPreviewFile, this.props.objPreviewFile);
202
206
  var previewFileFlag = objPreviewFileNew.previewFileFlag,
203
207
  downloadFileFlag = objPreviewFileNew.downloadFileFlag,
204
208
  previewFileType = objPreviewFileNew.previewFileType;