@daoyi/nmtl-ui 2.0.1-beta.53 → 2.0.1-beta.55
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/lib/components/{Autocomplete-3dae80ca.js → Autocomplete-8344febd.js} +3 -3
- package/lib/components/Autocomplete.js +4 -4
- package/lib/components/Avatar.js +1 -1
- package/lib/components/BackTop.js +3 -3
- package/lib/components/BarChart.js +1 -1
- package/lib/components/Breadcrumbs.js +1 -1
- package/lib/components/{Button-433372aa.js → Button-2f8f0493.js} +1 -1
- package/lib/components/Button.js +2 -2
- package/lib/components/Carousel.js +61 -2
- package/lib/components/Checkbox.js +1 -1
- package/lib/components/CollapseContent.js +3 -3
- package/lib/components/{ContactModal-66bcb5d3.js → ContactModal-de7f221d.js} +1459 -218
- package/lib/components/ContactModal.js +9 -9
- package/lib/components/{Drawer-df3535c2.js → Drawer-7f404d90.js} +2 -2
- package/lib/components/Drawer.js +5 -5
- package/lib/components/Dropdown.js +2 -2
- package/lib/components/{Empty-7318f658.js → Empty-3637b766.js} +1 -1
- package/lib/components/Empty.js +2 -2
- package/lib/components/ExportButton.js +2 -2
- package/lib/components/{ExtraTools-b0bb9399.js → ExtraTools-d5b61340.js} +66 -5
- package/lib/components/ExtraTools.js +4 -4
- package/lib/components/Filter.js +3 -3
- package/lib/components/Footer.js +9 -9
- package/lib/components/{ForwardLink-0571e627.js → ForwardLink-a3df0bfe.js} +10 -9
- package/lib/components/ForwardLink.js +3 -4
- package/lib/components/Header.js +7 -7
- package/lib/components/Image.js +2 -2
- package/lib/components/Input.js +1 -1
- package/lib/components/InputMethod.js +2 -2
- package/lib/components/{KeywordSearch-568a8a44.js → KeywordSearch-6a880a43.js} +3 -3
- package/lib/components/KeywordSearch.js +5 -5
- package/lib/components/KeywordTicker.js +4 -4
- package/lib/components/Keywords.js +6 -6
- package/lib/components/Loading.js +1 -1
- package/lib/components/{Modal-64c4ab0d.js → Modal-572e17ea.js} +3 -3
- package/lib/components/Modal.js +4 -4
- package/lib/components/{MoreButton-6654cc5b.js → MoreButton-80996b5f.js} +1 -1
- package/lib/components/MoreButton.js +2 -2
- package/lib/components/Radio.js +1 -1
- package/lib/components/SNA.js +4 -4
- package/lib/components/{Select-113372b2.js → Select-89e69867.js} +3 -3
- package/lib/components/Select.js +4 -4
- package/lib/components/{Spin-8a5a600d.js → Spin-ebf79c17.js} +1 -1
- package/lib/components/Spin.js +2 -2
- package/lib/components/Table.js +1 -1
- package/lib/components/{Tooltip-abe1205f.js → Tooltip-eb035cd6.js} +2 -2
- package/lib/components/Tooltip.js +3 -3
- package/lib/components/_rollupPluginBabelHelpers-ed61ffc0.js +160 -0
- package/lib/components/globalConfig.js +23 -5
- package/lib/components/{index-66babe67.js → index-f491ebce.js} +1 -1
- package/lib/utils/{_rollupPluginBabelHelpers-8dd26e1a.js → _rollupPluginBabelHelpers-a6e0e6e3.js} +42 -24
- package/lib/utils/exportXlsx.js +1 -1
- package/lib/utils/historyAppendSearch.js +1 -1
- package/lib/utils/sendEmail.js +1 -1
- package/lib/utils/snaPreProcess.js +1 -1
- package/package.json +1 -1
- package/lib/components/_rollupPluginBabelHelpers-3d9c8289.js +0 -478
- /package/lib/components/{createSvgIcon-a79ae4b1.js → createSvgIcon-48da8b6e.js} +0 -0
- /package/lib/components/{index-fdcc884e.js → index-7b60a97d.js} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import { Tooltip as Tooltip$1 } from '@material-ui/core';
|
|
4
|
-
import { _ as _extends } from './_rollupPluginBabelHelpers-
|
|
5
|
-
import { c as classNames } from './index-
|
|
4
|
+
import { _ as _extends } from './_rollupPluginBabelHelpers-ed61ffc0.js';
|
|
5
|
+
import { c as classNames } from './index-f491ebce.js';
|
|
6
6
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
7
7
|
|
|
8
8
|
const TooltipContent = /*#__PURE__*/React__default.forwardRef((props, ref) => /*#__PURE__*/React__default.createElement("div", _extends({}, props, {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { T as default, p as placements } from './Tooltip-
|
|
1
|
+
export { T as default, p as placements } from './Tooltip-eb035cd6.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'prop-types';
|
|
4
4
|
import '@material-ui/core';
|
|
5
|
-
import './_rollupPluginBabelHelpers-
|
|
6
|
-
import './index-
|
|
5
|
+
import './_rollupPluginBabelHelpers-ed61ffc0.js';
|
|
6
|
+
import './index-f491ebce.js';
|
|
7
7
|
import './style-inject.es-1f59c1d0.js';
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
function _iterableToArrayLimit(arr, i) {
|
|
2
|
+
var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
|
|
3
|
+
if (null != _i) {
|
|
4
|
+
var _s,
|
|
5
|
+
_e,
|
|
6
|
+
_x,
|
|
7
|
+
_r,
|
|
8
|
+
_arr = [],
|
|
9
|
+
_n = !0,
|
|
10
|
+
_d = !1;
|
|
11
|
+
try {
|
|
12
|
+
if (_x = (_i = _i.call(arr)).next, 0 === i) {
|
|
13
|
+
if (Object(_i) !== _i) return;
|
|
14
|
+
_n = !1;
|
|
15
|
+
} else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);
|
|
16
|
+
} catch (err) {
|
|
17
|
+
_d = !0, _e = err;
|
|
18
|
+
} finally {
|
|
19
|
+
try {
|
|
20
|
+
if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return;
|
|
21
|
+
} finally {
|
|
22
|
+
if (_d) throw _e;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
return _arr;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
function ownKeys(object, enumerableOnly) {
|
|
29
|
+
var keys = Object.keys(object);
|
|
30
|
+
if (Object.getOwnPropertySymbols) {
|
|
31
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
32
|
+
enumerableOnly && (symbols = symbols.filter(function (sym) {
|
|
33
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
34
|
+
})), keys.push.apply(keys, symbols);
|
|
35
|
+
}
|
|
36
|
+
return keys;
|
|
37
|
+
}
|
|
38
|
+
function _objectSpread2(target) {
|
|
39
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
40
|
+
var source = null != arguments[i] ? arguments[i] : {};
|
|
41
|
+
i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {
|
|
42
|
+
_defineProperty(target, key, source[key]);
|
|
43
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {
|
|
44
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
return target;
|
|
48
|
+
}
|
|
49
|
+
function _typeof(obj) {
|
|
50
|
+
"@babel/helpers - typeof";
|
|
51
|
+
|
|
52
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
53
|
+
return typeof obj;
|
|
54
|
+
} : function (obj) {
|
|
55
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
56
|
+
}, _typeof(obj);
|
|
57
|
+
}
|
|
58
|
+
function _defineProperty(obj, key, value) {
|
|
59
|
+
key = _toPropertyKey(key);
|
|
60
|
+
if (key in obj) {
|
|
61
|
+
Object.defineProperty(obj, key, {
|
|
62
|
+
value: value,
|
|
63
|
+
enumerable: true,
|
|
64
|
+
configurable: true,
|
|
65
|
+
writable: true
|
|
66
|
+
});
|
|
67
|
+
} else {
|
|
68
|
+
obj[key] = value;
|
|
69
|
+
}
|
|
70
|
+
return obj;
|
|
71
|
+
}
|
|
72
|
+
function _extends() {
|
|
73
|
+
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
74
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
75
|
+
var source = arguments[i];
|
|
76
|
+
for (var key in source) {
|
|
77
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
78
|
+
target[key] = source[key];
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
return target;
|
|
83
|
+
};
|
|
84
|
+
return _extends.apply(this, arguments);
|
|
85
|
+
}
|
|
86
|
+
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
87
|
+
if (source == null) return {};
|
|
88
|
+
var target = {};
|
|
89
|
+
var sourceKeys = Object.keys(source);
|
|
90
|
+
var key, i;
|
|
91
|
+
for (i = 0; i < sourceKeys.length; i++) {
|
|
92
|
+
key = sourceKeys[i];
|
|
93
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
94
|
+
target[key] = source[key];
|
|
95
|
+
}
|
|
96
|
+
return target;
|
|
97
|
+
}
|
|
98
|
+
function _objectWithoutProperties(source, excluded) {
|
|
99
|
+
if (source == null) return {};
|
|
100
|
+
var target = _objectWithoutPropertiesLoose(source, excluded);
|
|
101
|
+
var key, i;
|
|
102
|
+
if (Object.getOwnPropertySymbols) {
|
|
103
|
+
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
104
|
+
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
|
105
|
+
key = sourceSymbolKeys[i];
|
|
106
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
107
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
108
|
+
target[key] = source[key];
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
return target;
|
|
112
|
+
}
|
|
113
|
+
function _taggedTemplateLiteral(strings, raw) {
|
|
114
|
+
if (!raw) {
|
|
115
|
+
raw = strings.slice(0);
|
|
116
|
+
}
|
|
117
|
+
return Object.freeze(Object.defineProperties(strings, {
|
|
118
|
+
raw: {
|
|
119
|
+
value: Object.freeze(raw)
|
|
120
|
+
}
|
|
121
|
+
}));
|
|
122
|
+
}
|
|
123
|
+
function _slicedToArray(arr, i) {
|
|
124
|
+
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
|
125
|
+
}
|
|
126
|
+
function _arrayWithHoles(arr) {
|
|
127
|
+
if (Array.isArray(arr)) return arr;
|
|
128
|
+
}
|
|
129
|
+
function _unsupportedIterableToArray(o, minLen) {
|
|
130
|
+
if (!o) return;
|
|
131
|
+
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
132
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
133
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
134
|
+
if (n === "Map" || n === "Set") return Array.from(o);
|
|
135
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
136
|
+
}
|
|
137
|
+
function _arrayLikeToArray(arr, len) {
|
|
138
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
139
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
140
|
+
return arr2;
|
|
141
|
+
}
|
|
142
|
+
function _nonIterableRest() {
|
|
143
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
144
|
+
}
|
|
145
|
+
function _toPrimitive(input, hint) {
|
|
146
|
+
if (typeof input !== "object" || input === null) return input;
|
|
147
|
+
var prim = input[Symbol.toPrimitive];
|
|
148
|
+
if (prim !== undefined) {
|
|
149
|
+
var res = prim.call(input, hint || "default");
|
|
150
|
+
if (typeof res !== "object") return res;
|
|
151
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
152
|
+
}
|
|
153
|
+
return (hint === "string" ? String : Number)(input);
|
|
154
|
+
}
|
|
155
|
+
function _toPropertyKey(arg) {
|
|
156
|
+
var key = _toPrimitive(arg, "string");
|
|
157
|
+
return typeof key === "symbol" ? key : String(key);
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
export { _extends as _, _slicedToArray as a, _objectSpread2 as b, _objectWithoutProperties as c, _typeof as d, _defineProperty as e, _taggedTemplateLiteral as f };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
function _defineProperty(obj, key, value) {
|
|
2
|
+
key = _toPropertyKey(key);
|
|
2
3
|
if (key in obj) {
|
|
3
4
|
Object.defineProperty(obj, key, {
|
|
4
5
|
value: value,
|
|
@@ -11,6 +12,20 @@ function _defineProperty(obj, key, value) {
|
|
|
11
12
|
}
|
|
12
13
|
return obj;
|
|
13
14
|
}
|
|
15
|
+
function _toPrimitive(input, hint) {
|
|
16
|
+
if (typeof input !== "object" || input === null) return input;
|
|
17
|
+
var prim = input[Symbol.toPrimitive];
|
|
18
|
+
if (prim !== undefined) {
|
|
19
|
+
var res = prim.call(input, hint || "default");
|
|
20
|
+
if (typeof res !== "object") return res;
|
|
21
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
22
|
+
}
|
|
23
|
+
return (hint === "string" ? String : Number)(input);
|
|
24
|
+
}
|
|
25
|
+
function _toPropertyKey(arg) {
|
|
26
|
+
var key = _toPrimitive(arg, "string");
|
|
27
|
+
return typeof key === "symbol" ? key : String(key);
|
|
28
|
+
}
|
|
14
29
|
|
|
15
30
|
var zhtw = {
|
|
16
31
|
"common.action.failed": "操作失敗",
|
|
@@ -50,7 +65,8 @@ var zhtw = {
|
|
|
50
65
|
"common.form.code.error": "驗證碼錯誤",
|
|
51
66
|
"common.form.attachment": "附件上傳",
|
|
52
67
|
"common.form.attachment.valid.error": "附件上傳上限為10MB",
|
|
53
|
-
"common.form.attachment.hint": "
|
|
68
|
+
"common.form.attachment.hint": "1.上傳附件大小限制:總共10MB",
|
|
69
|
+
"common.form.attachment.hint2": "2.若有多個檔案請先集中至同一資料夾並以壓縮檔上傳",
|
|
54
70
|
"common.form.contactUs": "聯繫我們",
|
|
55
71
|
"common.form.error": "表單尚未完成 請檢察必填項目",
|
|
56
72
|
"common.sna.reset": "回到原來位置與大小"
|
|
@@ -93,8 +109,9 @@ var zhcn = {
|
|
|
93
109
|
"common.form.code": "验证码",
|
|
94
110
|
"common.form.code.error": "验证码错误",
|
|
95
111
|
"common.form.attachment": "附件上传",
|
|
96
|
-
"common.form.attachment.valid.error": "附件上传上限为
|
|
97
|
-
"common.form.attachment.hint": "
|
|
112
|
+
"common.form.attachment.valid.error": "附件上传上限为10MB",
|
|
113
|
+
"common.form.attachment.hint": "1.上传附件大小限制:总共10MB",
|
|
114
|
+
"common.form.attachment.hint2": "2.若有多个档案请先集中至同一资料夹并以压缩档上传",
|
|
98
115
|
"common.form.contactUs": "联系我们",
|
|
99
116
|
"common.form.error": "表单尚未完成 请检察必填项目"
|
|
100
117
|
};
|
|
@@ -136,8 +153,9 @@ var enus = {
|
|
|
136
153
|
"common.form.code": "Verification Code",
|
|
137
154
|
"common.form.code.error": "Verification code error",
|
|
138
155
|
"common.form.attachment": "Attachment Upload",
|
|
139
|
-
"common.form.attachment.valid.error": "Attachment upload limit is
|
|
140
|
-
"common.form.attachment.hint": "Upload attachment size limit:
|
|
156
|
+
"common.form.attachment.valid.error": "Attachment upload limit is 10MB",
|
|
157
|
+
"common.form.attachment.hint": "1. Upload attachment size limit: 10MB in total. ",
|
|
158
|
+
"common.form.attachment.hint2": "2. If there are multiple files, please gather them in the same folder and upload them as compressed files",
|
|
141
159
|
"common.form.contactUs": "Contact Us",
|
|
142
160
|
"common.form.error": "The form has not been completed, please check the required items"
|
|
143
161
|
};
|
package/lib/utils/{_rollupPluginBabelHelpers-8dd26e1a.js → _rollupPluginBabelHelpers-a6e0e6e3.js}
RENAMED
|
@@ -1,3 +1,30 @@
|
|
|
1
|
+
function _iterableToArrayLimit(arr, i) {
|
|
2
|
+
var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
|
|
3
|
+
if (null != _i) {
|
|
4
|
+
var _s,
|
|
5
|
+
_e,
|
|
6
|
+
_x,
|
|
7
|
+
_r,
|
|
8
|
+
_arr = [],
|
|
9
|
+
_n = !0,
|
|
10
|
+
_d = !1;
|
|
11
|
+
try {
|
|
12
|
+
if (_x = (_i = _i.call(arr)).next, 0 === i) {
|
|
13
|
+
if (Object(_i) !== _i) return;
|
|
14
|
+
_n = !1;
|
|
15
|
+
} else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);
|
|
16
|
+
} catch (err) {
|
|
17
|
+
_d = !0, _e = err;
|
|
18
|
+
} finally {
|
|
19
|
+
try {
|
|
20
|
+
if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return;
|
|
21
|
+
} finally {
|
|
22
|
+
if (_d) throw _e;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
return _arr;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
1
28
|
function ownKeys(object, enumerableOnly) {
|
|
2
29
|
var keys = Object.keys(object);
|
|
3
30
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -20,6 +47,7 @@ function _objectSpread2(target) {
|
|
|
20
47
|
return target;
|
|
21
48
|
}
|
|
22
49
|
function _defineProperty(obj, key, value) {
|
|
50
|
+
key = _toPropertyKey(key);
|
|
23
51
|
if (key in obj) {
|
|
24
52
|
Object.defineProperty(obj, key, {
|
|
25
53
|
value: value,
|
|
@@ -74,30 +102,6 @@ function _arrayWithHoles(arr) {
|
|
|
74
102
|
function _iterableToArray(iter) {
|
|
75
103
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
76
104
|
}
|
|
77
|
-
function _iterableToArrayLimit(arr, i) {
|
|
78
|
-
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
79
|
-
if (_i == null) return;
|
|
80
|
-
var _arr = [];
|
|
81
|
-
var _n = true;
|
|
82
|
-
var _d = false;
|
|
83
|
-
var _s, _e;
|
|
84
|
-
try {
|
|
85
|
-
for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
|
|
86
|
-
_arr.push(_s.value);
|
|
87
|
-
if (i && _arr.length === i) break;
|
|
88
|
-
}
|
|
89
|
-
} catch (err) {
|
|
90
|
-
_d = true;
|
|
91
|
-
_e = err;
|
|
92
|
-
} finally {
|
|
93
|
-
try {
|
|
94
|
-
if (!_n && _i["return"] != null) _i["return"]();
|
|
95
|
-
} finally {
|
|
96
|
-
if (_d) throw _e;
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
return _arr;
|
|
100
|
-
}
|
|
101
105
|
function _unsupportedIterableToArray(o, minLen) {
|
|
102
106
|
if (!o) return;
|
|
103
107
|
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
@@ -117,5 +121,19 @@ function _nonIterableSpread() {
|
|
|
117
121
|
function _nonIterableRest() {
|
|
118
122
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
119
123
|
}
|
|
124
|
+
function _toPrimitive(input, hint) {
|
|
125
|
+
if (typeof input !== "object" || input === null) return input;
|
|
126
|
+
var prim = input[Symbol.toPrimitive];
|
|
127
|
+
if (prim !== undefined) {
|
|
128
|
+
var res = prim.call(input, hint || "default");
|
|
129
|
+
if (typeof res !== "object") return res;
|
|
130
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
131
|
+
}
|
|
132
|
+
return (hint === "string" ? String : Number)(input);
|
|
133
|
+
}
|
|
134
|
+
function _toPropertyKey(arg) {
|
|
135
|
+
var key = _toPrimitive(arg, "string");
|
|
136
|
+
return typeof key === "symbol" ? key : String(key);
|
|
137
|
+
}
|
|
120
138
|
|
|
121
139
|
export { _toConsumableArray as _, _slicedToArray as a, _objectWithoutProperties as b, _objectSpread2 as c };
|
package/lib/utils/exportXlsx.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as _slicedToArray } from './_rollupPluginBabelHelpers-
|
|
1
|
+
import { a as _slicedToArray } from './_rollupPluginBabelHelpers-a6e0e6e3.js';
|
|
2
2
|
|
|
3
3
|
var fileDownload = function(data, filename, mime, bom) {
|
|
4
4
|
var blobData = (typeof bom !== 'undefined') ? [bom, data] : [data];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as _objectWithoutProperties, c as _objectSpread2 } from './_rollupPluginBabelHelpers-
|
|
1
|
+
import { b as _objectWithoutProperties, c as _objectSpread2 } from './_rollupPluginBabelHelpers-a6e0e6e3.js';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
|
|
4
4
|
var queryString = {};
|
package/lib/utils/sendEmail.js
CHANGED
|
@@ -9,7 +9,7 @@ import axios from 'axios';
|
|
|
9
9
|
//
|
|
10
10
|
// apiUrl: "https://api.daoyidh.com/mail"
|
|
11
11
|
var sendEmail = function sendEmail(sendMail, apiUrl, onSuccess) {
|
|
12
|
-
var timeout = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] :
|
|
12
|
+
var timeout = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 10000;
|
|
13
13
|
// timeout
|
|
14
14
|
axios.defaults.timeout = timeout;
|
|
15
15
|
try {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as _toConsumableArray } from './_rollupPluginBabelHelpers-
|
|
1
|
+
import { _ as _toConsumableArray } from './_rollupPluginBabelHelpers-a6e0e6e3.js';
|
|
2
2
|
import { s as snaDefine } from './snaDefine-6a2bcd94.js';
|
|
3
3
|
|
|
4
4
|
var snaPreProcess = function snaPreProcess(_ref) {
|
package/package.json
CHANGED