easy3wui 1.5.21 → 1.5.22

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 (70) hide show
  1. package/package.json +1 -1
  2. package/assets/btn.css +0 -17
  3. package/assets/captcha.css +0 -5
  4. package/assets/card.css +0 -34
  5. package/assets/exception.css +0 -76
  6. package/assets/flow.css +0 -860
  7. package/assets/formPage.css +0 -15
  8. package/assets/globalFooter.css +0 -26
  9. package/assets/globalHeader.css +0 -69
  10. package/assets/gridPage.css +0 -93
  11. package/assets/index.css +0 -1454
  12. package/assets/login.css +0 -61
  13. package/assets/loginLayout.css +0 -115
  14. package/assets/modal.css +0 -0
  15. package/assets/result.css +0 -45
  16. package/assets/userLayout.css +0 -70
  17. package/lib/Easy3wA/index.js +0 -100
  18. package/lib/Easy3wAESDecrypt/index.js +0 -21
  19. package/lib/Easy3wAESEncrypt/index.js +0 -20
  20. package/lib/Easy3wBlankLayout/index.js +0 -114
  21. package/lib/Easy3wButton/index.js +0 -265
  22. package/lib/Easy3wButtonOne/index.js +0 -148
  23. package/lib/Easy3wCaHandler/index.js +0 -206
  24. package/lib/Easy3wCaptcha/index.js +0 -145
  25. package/lib/Easy3wCard/index.js +0 -66
  26. package/lib/Easy3wDictCode/index.js +0 -50
  27. package/lib/Easy3wDownLoad/Easy3wFileView.js +0 -82
  28. package/lib/Easy3wDownLoad/Easy3wImgView.js +0 -73
  29. package/lib/Easy3wDownLoad/Easy3wPDFView.js +0 -139
  30. package/lib/Easy3wDownLoad/Easy3wRCView.js +0 -65
  31. package/lib/Easy3wDownLoad/index.js +0 -315
  32. package/lib/Easy3wException/403.js +0 -21
  33. package/lib/Easy3wException/404.js +0 -21
  34. package/lib/Easy3wException/500.js +0 -21
  35. package/lib/Easy3wException/index.js +0 -94
  36. package/lib/Easy3wException/typeConfig.js +0 -23
  37. package/lib/Easy3wFlow/index.js +0 -546
  38. package/lib/Easy3wFormPage/index.js +0 -1591
  39. package/lib/Easy3wGetCookie/index.js +0 -14
  40. package/lib/Easy3wGlobalFooter/index.js +0 -73
  41. package/lib/Easy3wGlobalHeader/index.js +0 -148
  42. package/lib/Easy3wGridCheckBox/index.js +0 -69
  43. package/lib/Easy3wGridDatePicker/index.js +0 -90
  44. package/lib/Easy3wGridDateTimePicker/index.js +0 -122
  45. package/lib/Easy3wGridInput/index.js +0 -85
  46. package/lib/Easy3wGridInputNumber/index.js +0 -83
  47. package/lib/Easy3wGridInputNumberFormat/index.js +0 -93
  48. package/lib/Easy3wGridPage/index.js +0 -593
  49. package/lib/Easy3wGridRadio/index.js +0 -70
  50. package/lib/Easy3wGridSelect/index.js +0 -93
  51. package/lib/Easy3wGridTextArea/index.js +0 -84
  52. package/lib/Easy3wInput/index.js +0 -48
  53. package/lib/Easy3wLogin/index.js +0 -386
  54. package/lib/Easy3wLoginLayout/index.js +0 -628
  55. package/lib/Easy3wModal/index.js +0 -143
  56. package/lib/Easy3wPositionButton/index.js +0 -99
  57. package/lib/Easy3wQryGrid/index.js +0 -670
  58. package/lib/Easy3wResult/index.js +0 -77
  59. package/lib/Easy3wSetCookie/index.js +0 -13
  60. package/lib/Easy3wSpin/index.js +0 -69
  61. package/lib/Easy3wTabs/index.js +0 -89
  62. package/lib/Easy3wTagSelect/index.js +0 -238
  63. package/lib/Easy3wTagSelect/index.less +0 -120
  64. package/lib/Easy3wUpload/index.js +0 -507
  65. package/lib/Easy3wUploadB/index copy 2.js +0 -1011
  66. package/lib/Easy3wUploadB/index copy.js +0 -1020
  67. package/lib/Easy3wUploadB/index.js +0 -1039
  68. package/lib/Easy3wUploadM/index.js +0 -506
  69. package/lib/Easy3wUserLayout/index.js +0 -138
  70. package/lib/index.js +0 -383
@@ -1,143 +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
- style: { top: 20 }
126
- }, this.props, {
127
- afterClose: function afterClose() {
128
- document.body.style.overflow = '';
129
- }
130
- }),
131
- children
132
- );
133
- };
134
-
135
- return Easy3wModal;
136
- }(_react.Component);
137
-
138
- exports['default'] = (0, _dva.connect)(function (state) {
139
- return {
140
- loadingFlag: state.loading
141
- };
142
- })(Easy3wModal);
143
- 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'];