easy3wui 1.5.46 → 1.5.47-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.
Files changed (47) hide show
  1. package/assets/gridPage.css +0 -92
  2. package/lib/Easy3wDownLoad/Easy3wRCView.js +0 -65
  3. package/package.json +1 -1
  4. package/assets/index.css +0 -1484
  5. package/assets/login.css +0 -61
  6. package/assets/loginLayout.css +0 -115
  7. package/assets/modal.css +0 -0
  8. package/assets/result.css +0 -45
  9. package/assets/userLayout.css +0 -70
  10. package/lib/Easy3wDownLoad/index.js +0 -329
  11. package/lib/Easy3wException/403.js +0 -21
  12. package/lib/Easy3wException/404.js +0 -21
  13. package/lib/Easy3wException/500.js +0 -21
  14. package/lib/Easy3wException/index.js +0 -94
  15. package/lib/Easy3wException/typeConfig.js +0 -23
  16. package/lib/Easy3wFlow/index.js +0 -548
  17. package/lib/Easy3wFormPage/index.js +0 -1955
  18. package/lib/Easy3wGetCookie/index.js +0 -14
  19. package/lib/Easy3wGlobalFooter/index.js +0 -73
  20. package/lib/Easy3wGlobalHeader/index.js +0 -148
  21. package/lib/Easy3wGridCheckBox/index.js +0 -69
  22. package/lib/Easy3wGridDatePicker/index.js +0 -90
  23. package/lib/Easy3wGridDateTimePicker/index.js +0 -122
  24. package/lib/Easy3wGridInput/index.js +0 -105
  25. package/lib/Easy3wGridInputNumber/index.js +0 -83
  26. package/lib/Easy3wGridInputNumberFormat/index.js +0 -93
  27. package/lib/Easy3wGridPage/index.js +0 -627
  28. package/lib/Easy3wGridRadio/index.js +0 -70
  29. package/lib/Easy3wGridSelect/index.js +0 -95
  30. package/lib/Easy3wGridTextArea/index.js +0 -128
  31. package/lib/Easy3wInput/index.js +0 -48
  32. package/lib/Easy3wLogin/index.js +0 -386
  33. package/lib/Easy3wLoginLayout/index.js +0 -628
  34. package/lib/Easy3wModal/index.js +0 -144
  35. package/lib/Easy3wPositionButton/index.js +0 -99
  36. package/lib/Easy3wQryGrid/index.js +0 -670
  37. package/lib/Easy3wResult/index.js +0 -77
  38. package/lib/Easy3wSetCookie/index.js +0 -13
  39. package/lib/Easy3wSpin/index.js +0 -69
  40. package/lib/Easy3wTabs/index.js +0 -89
  41. package/lib/Easy3wTagSelect/index.js +0 -238
  42. package/lib/Easy3wUpload/index.js +0 -511
  43. package/lib/Easy3wUploadB/index copy 2.js +0 -1011
  44. package/lib/Easy3wUploadB/index copy.js +0 -1020
  45. package/lib/Easy3wUploadB/index.js +0 -1056
  46. package/lib/Easy3wUploadM/index.js +0 -512
  47. package/lib/Easy3wUserLayout/index.js +0 -138
@@ -1,144 +0,0 @@
1
- 'use strict';
2
-
3
- exports.__esModule = true;
4
-
5
- var _extends2 = require('babel-runtime/helpers/extends');
6
-
7
- var _extends3 = _interopRequireDefault(_extends2);
8
-
9
- var _notification2 = require('antd/lib/notification');
10
-
11
- var _notification3 = _interopRequireDefault(_notification2);
12
-
13
- var _classCallCheck2 = require('babel-runtime/helpers/classCallCheck');
14
-
15
- var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
16
-
17
- var _possibleConstructorReturn2 = require('babel-runtime/helpers/possibleConstructorReturn');
18
-
19
- var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
20
-
21
- var _inherits2 = require('babel-runtime/helpers/inherits');
22
-
23
- var _inherits3 = _interopRequireDefault(_inherits2);
24
-
25
- require('antd/lib/notification/style');
26
-
27
- var _react = require('react');
28
-
29
- var _react2 = _interopRequireDefault(_react);
30
-
31
- var _antd = require('antd');
32
-
33
- var _modal = require('antd/lib/modal');
34
-
35
- var _modal2 = _interopRequireDefault(_modal);
36
-
37
- require('antd/lib/modal/style');
38
-
39
- var _dva = require('dva');
40
-
41
- var _button = require('antd/lib/button');
42
-
43
- var _button2 = _interopRequireDefault(_button);
44
-
45
- require('antd/lib/button/style');
46
-
47
- var _classnames = require('classnames');
48
-
49
- var _classnames2 = _interopRequireDefault(_classnames);
50
-
51
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
52
-
53
- var Easy3wModal = function (_Component) {
54
- (0, _inherits3['default'])(Easy3wModal, _Component);
55
-
56
- function Easy3wModal() {
57
- var _temp, _this, _ret;
58
-
59
- (0, _classCallCheck3['default'])(this, Easy3wModal);
60
-
61
- for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
62
- args[_key] = arguments[_key];
63
- }
64
-
65
- return _ret = (_temp = (_this = (0, _possibleConstructorReturn3['default'])(this, _Component.call.apply(_Component, [this].concat(args))), _this), _this.onClickFunc = function (e, func) {
66
- var globalLoading = _this.props.loadingFlag.global;
67
- if (globalLoading) {
68
- _notification3['default'].warning({
69
- message: '温馨提示',
70
- description: '正在后台处理,请稍后!',
71
- duration: 3
72
- });
73
- } else {
74
- func(e);
75
- }
76
- }, _this.getOneBtnObj = function (obj) {
77
- return _react2['default'].createElement(
78
- _button2['default'],
79
- {
80
- onClick: function onClick(e) {
81
- return _this.onClickFunc(e, obj.func);
82
- },
83
- type: 'primary',
84
- className: (0, _classnames2['default'])(['e3wFootBtn']),
85
- loading: obj.loading
86
- },
87
- obj.cName
88
- );
89
- }, _this.getBtnObj = function () {
90
- var footBtnArr = _this.props.footBtnArr;
91
-
92
- var allBtn = footBtnArr.map(function (btn) {
93
- return _this.getOneBtnObj(btn);
94
- });
95
- return _react2['default'].createElement(
96
- 'div',
97
- { style: { textAlign: 'center' } },
98
- allBtn
99
- );
100
- }, _temp), (0, _possibleConstructorReturn3['default'])(_this, _ret);
101
- }
102
-
103
- Easy3wModal.prototype.render = function render() {
104
- var _props = this.props,
105
- title = _props.title,
106
- children = _props.children,
107
- visible = _props.visible,
108
- loadingFlag = _props.loadingFlag,
109
- cancelHandler = _props.cancelHandler,
110
- onOk = _props.onOk,
111
- width = _props.width;
112
-
113
- var btnObj = this.getBtnObj();
114
- return _react2['default'].createElement(
115
- _modal2['default'],
116
- (0, _extends3['default'])({
117
- title: title,
118
- visible: visible,
119
- confirmLoading: loadingFlag,
120
- onCancel: cancelHandler,
121
- onOk: onOk,
122
- footer: btnObj,
123
- width: width,
124
- destroyOnClose: true,
125
- maskClosable: false,
126
- style: { top: 20 }
127
- }, this.props, {
128
- afterClose: function afterClose() {
129
- document.body.style.overflow = '';
130
- }
131
- }),
132
- children
133
- );
134
- };
135
-
136
- return Easy3wModal;
137
- }(_react.Component);
138
-
139
- exports['default'] = (0, _dva.connect)(function (state) {
140
- return {
141
- loadingFlag: state.loading
142
- };
143
- })(Easy3wModal);
144
- module.exports = exports['default'];
@@ -1,99 +0,0 @@
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 _classnames = require('classnames');
22
-
23
- var _classnames2 = _interopRequireDefault(_classnames);
24
-
25
- var _notification = require('antd/lib/notification');
26
-
27
- var _notification2 = _interopRequireDefault(_notification);
28
-
29
- require('antd/lib/notification/style');
30
-
31
- var _dva = require('dva');
32
-
33
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
34
-
35
- var Easy3wPositionButton = function (_Component) {
36
- (0, _inherits3['default'])(Easy3wPositionButton, _Component);
37
-
38
- function Easy3wPositionButton() {
39
- var _temp, _this, _ret;
40
-
41
- (0, _classCallCheck3['default'])(this, Easy3wPositionButton);
42
-
43
- for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
44
- args[_key] = arguments[_key];
45
- }
46
-
47
- return _ret = (_temp = (_this = (0, _possibleConstructorReturn3['default'])(this, _Component.call.apply(_Component, [this].concat(args))), _this), _this.onClickFunc = function (e, func) {
48
- var globalLoading = _this.props.loading.global;
49
- if (globalLoading) {
50
- _notification2['default'].warning({
51
- message: '温馨提示',
52
- description: '正在后台处理,请稍后!',
53
- duration: 3
54
- });
55
- } else {
56
- func(e);
57
- }
58
- }, _this.getOneBtnObj = function (obj, index) {
59
- return _react2['default'].createElement(
60
- 'a',
61
- {
62
- onClick: function onClick(e) {
63
- return _this.onClickFunc(e, obj.func);
64
- },
65
- style: { color: obj.color ? obj.color : '', textShadow: obj.shadow ? obj.shadow : '', fontSize: obj.size ? obj.size : '' },
66
- type: 'primary',
67
- className: (0, _classnames2['default'])(['e3wPositionA']),
68
- key: index
69
- },
70
- obj.cName
71
- );
72
- }, _this.getBtnObj = function () {
73
- var aBtnArr = _this.props.aBtnArr;
74
-
75
- var allBtn = aBtnArr.map(function (btn, index) {
76
- return _this.getOneBtnObj(btn, index);
77
- });
78
- return allBtn;
79
- }, _temp), (0, _possibleConstructorReturn3['default'])(_this, _ret);
80
- }
81
-
82
- Easy3wPositionButton.prototype.render = function render() {
83
- var btnObj = this.getBtnObj();
84
- return _react2['default'].createElement(
85
- 'div',
86
- { className: 'positionDiv' },
87
- btnObj
88
- );
89
- };
90
-
91
- return Easy3wPositionButton;
92
- }(_react.Component);
93
-
94
- exports['default'] = (0, _dva.connect)(function (state) {
95
- return {
96
- loading: state.loading
97
- };
98
- })(Easy3wPositionButton);
99
- module.exports = exports['default'];