@daoyi/nmtl-ui 2.0.1-beta.53 → 2.0.1-beta.54

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 (37) hide show
  1. package/lib/components/{Autocomplete-3dae80ca.js → Autocomplete-d826e57f.js} +1 -1
  2. package/lib/components/Autocomplete.js +2 -2
  3. package/lib/components/BackTop.js +1 -1
  4. package/lib/components/Carousel.js +1 -1
  5. package/lib/components/Checkbox.js +1 -1
  6. package/lib/components/CollapseContent.js +1 -1
  7. package/lib/components/{ContactModal-66bcb5d3.js → ContactModal-bc062516.js} +1456 -215
  8. package/lib/components/ContactModal.js +3 -3
  9. package/lib/components/{Drawer-df3535c2.js → Drawer-bfcfd292.js} +2 -2
  10. package/lib/components/Drawer.js +3 -3
  11. package/lib/components/Dropdown.js +1 -1
  12. package/lib/components/ExportButton.js +1 -1
  13. package/lib/components/{ExtraTools-b0bb9399.js → ExtraTools-aa5bc12d.js} +2 -2
  14. package/lib/components/ExtraTools.js +3 -3
  15. package/lib/components/Filter.js +1 -1
  16. package/lib/components/Footer.js +3 -3
  17. package/lib/components/{ForwardLink-0571e627.js → ForwardLink-fd92b26e.js} +1 -1
  18. package/lib/components/ForwardLink.js +2 -2
  19. package/lib/components/Header.js +5 -5
  20. package/lib/components/Image.js +1 -1
  21. package/lib/components/InputMethod.js +1 -1
  22. package/lib/components/{KeywordSearch-568a8a44.js → KeywordSearch-4b7ace9c.js} +2 -2
  23. package/lib/components/KeywordSearch.js +3 -3
  24. package/lib/components/KeywordTicker.js +2 -2
  25. package/lib/components/Keywords.js +1 -1
  26. package/lib/components/Radio.js +1 -1
  27. package/lib/components/SNA.js +3 -3
  28. package/lib/components/{Select-113372b2.js → Select-f3014e5a.js} +1 -1
  29. package/lib/components/Select.js +2 -2
  30. package/lib/components/Table.js +1 -1
  31. package/lib/components/{Tooltip-abe1205f.js → Tooltip-fdee6235.js} +1 -1
  32. package/lib/components/Tooltip.js +2 -2
  33. package/lib/components/_rollupPluginBabelHelpers-a52356f6.js +142 -0
  34. package/lib/components/globalConfig.js +8 -5
  35. package/lib/utils/sendEmail.js +1 -1
  36. package/package.json +1 -1
  37. package/lib/components/_rollupPluginBabelHelpers-3d9c8289.js +0 -478
@@ -1,5 +1,5 @@
1
- export { C as default } from './ContactModal-66bcb5d3.js';
2
- import './_rollupPluginBabelHelpers-3d9c8289.js';
1
+ export { C as default } from './ContactModal-bc062516.js';
2
+ import './_rollupPluginBabelHelpers-a52356f6.js';
3
3
  import 'react';
4
4
  import 'prop-types';
5
5
  import './hoist-non-react-statics.cjs-3f408ad2.js';
@@ -13,7 +13,7 @@ import './Button-433372aa.js';
13
13
  import './style-inject.es-1f59c1d0.js';
14
14
  import './Spin-8a5a600d.js';
15
15
  import './_commonjsHelpers-70de2c37.js';
16
- import './Select-113372b2.js';
16
+ import './Select-f3014e5a.js';
17
17
  import './Empty-7318f658.js';
18
18
  import './createSvgIcon-a79ae4b1.js';
19
19
  import './defaultTheme-19a14721.js';
@@ -1,9 +1,9 @@
1
- import { a as _slicedToArray } from './_rollupPluginBabelHelpers-3d9c8289.js';
1
+ import { a as _slicedToArray } from './_rollupPluginBabelHelpers-a52356f6.js';
2
2
  import React__default, { useState } from 'react';
3
3
  import PropTypes from 'prop-types';
4
4
  import { List, ListItem, ListItemIcon, ListItemText, IconButton, Drawer as Drawer$1, Divider } from '@material-ui/core';
5
5
  import { DehazeRounded } from '@material-ui/icons';
6
- import { S as Select } from './Select-113372b2.js';
6
+ import { S as Select } from './Select-f3014e5a.js';
7
7
  import { useHistory, useRouteMatch } from 'react-router-dom';
8
8
  import { s as styleInject } from './style-inject.es-1f59c1d0.js';
9
9
 
@@ -1,10 +1,10 @@
1
- export { D as default } from './Drawer-df3535c2.js';
2
- import './_rollupPluginBabelHelpers-3d9c8289.js';
1
+ export { D as default } from './Drawer-bfcfd292.js';
2
+ import './_rollupPluginBabelHelpers-a52356f6.js';
3
3
  import 'react';
4
4
  import 'prop-types';
5
5
  import '@material-ui/core';
6
6
  import '@material-ui/icons';
7
- import './Select-113372b2.js';
7
+ import './Select-f3014e5a.js';
8
8
  import './index-66babe67.js';
9
9
  import './Empty-7318f658.js';
10
10
  import './style-inject.es-1f59c1d0.js';
@@ -1,4 +1,4 @@
1
- import { a as _slicedToArray } from './_rollupPluginBabelHelpers-3d9c8289.js';
1
+ import { a as _slicedToArray } from './_rollupPluginBabelHelpers-a52356f6.js';
2
2
  import React__default, { useRef, useState } from 'react';
3
3
  import { c as classNames } from './index-66babe67.js';
4
4
  import PropTypes from 'prop-types';
@@ -1,4 +1,4 @@
1
- import { a as _slicedToArray } from './_rollupPluginBabelHelpers-3d9c8289.js';
1
+ import { a as _slicedToArray } from './_rollupPluginBabelHelpers-a52356f6.js';
2
2
  import React__default, { useState } from 'react';
3
3
  import PropTypes from 'prop-types';
4
4
  import { c as classNames } from './index-66babe67.js';
@@ -1,11 +1,11 @@
1
- import { _ as _extends } from './_rollupPluginBabelHelpers-3d9c8289.js';
1
+ import { _ as _extends } from './_rollupPluginBabelHelpers-a52356f6.js';
2
2
  import * as React from 'react';
3
3
  import React__default, { Component, forwardRef, useState } from 'react';
4
4
  import { c as classNames } from './index-66babe67.js';
5
5
  import PropTypes from 'prop-types';
6
6
  import { a as getDefaultExportFromCjs } from './_commonjsHelpers-70de2c37.js';
7
7
  import { Menu, MenuItem, useMediaQuery, IconButton } from '@material-ui/core';
8
- import { T as Tooltip } from './Tooltip-abe1205f.js';
8
+ import { T as Tooltip } from './Tooltip-fdee6235.js';
9
9
  import { s as snaToExcel, f as fileDownload$1, a as jsonExcel } from './dataExport-d55d6fa3.js';
10
10
  import { s as styleInject } from './style-inject.es-1f59c1d0.js';
11
11
 
@@ -1,10 +1,10 @@
1
- export { E as default } from './ExtraTools-b0bb9399.js';
2
- import './_rollupPluginBabelHelpers-3d9c8289.js';
1
+ export { E as default } from './ExtraTools-aa5bc12d.js';
2
+ import './_rollupPluginBabelHelpers-a52356f6.js';
3
3
  import 'react';
4
4
  import './index-66babe67.js';
5
5
  import 'prop-types';
6
6
  import './_commonjsHelpers-70de2c37.js';
7
7
  import '@material-ui/core';
8
- import './Tooltip-abe1205f.js';
8
+ import './Tooltip-fdee6235.js';
9
9
  import './style-inject.es-1f59c1d0.js';
10
10
  import './dataExport-d55d6fa3.js';
@@ -1,4 +1,4 @@
1
- import { h as _taggedTemplateLiteral, e as _defineProperty } from './_rollupPluginBabelHelpers-3d9c8289.js';
1
+ import { f as _taggedTemplateLiteral, e as _defineProperty } from './_rollupPluginBabelHelpers-a52356f6.js';
2
2
  import React__default, { useContext, createElement } from 'react';
3
3
  import PropTypes from 'prop-types';
4
4
  import { c as classNames } from './index-66babe67.js';
@@ -1,9 +1,9 @@
1
- import { a as _slicedToArray, d as _typeof } from './_rollupPluginBabelHelpers-3d9c8289.js';
1
+ import { a as _slicedToArray, d as _typeof } from './_rollupPluginBabelHelpers-a52356f6.js';
2
2
  import React__default, { useState, useEffect } from 'react';
3
3
  import { c as classNames } from './index-66babe67.js';
4
4
  import PropTypes from 'prop-types';
5
5
  import axios from 'axios';
6
- import { C as ContactModal } from './ContactModal-66bcb5d3.js';
6
+ import { C as ContactModal } from './ContactModal-bc062516.js';
7
7
  import { S as Spin } from './Spin-8a5a600d.js';
8
8
  import { s as styleInject } from './style-inject.es-1f59c1d0.js';
9
9
  import './hoist-non-react-statics.cjs-3f408ad2.js';
@@ -13,7 +13,7 @@ import '@material-ui/core';
13
13
  import '@material-ui/icons';
14
14
  import './Button-433372aa.js';
15
15
  import './_commonjsHelpers-70de2c37.js';
16
- import './Select-113372b2.js';
16
+ import './Select-f3014e5a.js';
17
17
  import './Empty-7318f658.js';
18
18
  import './createSvgIcon-a79ae4b1.js';
19
19
  import './defaultTheme-19a14721.js';
@@ -1,4 +1,4 @@
1
- import { c as _objectWithoutProperties } from './_rollupPluginBabelHelpers-3d9c8289.js';
1
+ import { c as _objectWithoutProperties } from './_rollupPluginBabelHelpers-a52356f6.js';
2
2
  import React__default, { useMemo } from 'react';
3
3
  import { c as classNames } from './index-66babe67.js';
4
4
  import PropTypes from 'prop-types';
@@ -1,5 +1,5 @@
1
- export { F as default } from './ForwardLink-0571e627.js';
2
- import './_rollupPluginBabelHelpers-3d9c8289.js';
1
+ export { F as default } from './ForwardLink-fd92b26e.js';
2
+ import './_rollupPluginBabelHelpers-a52356f6.js';
3
3
  import 'react';
4
4
  import './index-66babe67.js';
5
5
  import 'prop-types';
@@ -1,4 +1,4 @@
1
- import { a as _slicedToArray } from './_rollupPluginBabelHelpers-3d9c8289.js';
1
+ import { a as _slicedToArray } from './_rollupPluginBabelHelpers-a52356f6.js';
2
2
  import React__default, { useState, useRef, useEffect } from 'react';
3
3
  import PropTypes from 'prop-types';
4
4
  import { c as classNames } from './index-66babe67.js';
@@ -6,14 +6,14 @@ import { d as debounce_1 } from './debounce-127da66c.js';
6
6
  import { useHistory, useRouteMatch, NavLink } from 'react-router-dom';
7
7
  import { Typography, IconButton } from '@material-ui/core';
8
8
  import { SearchOutlined } from '@material-ui/icons';
9
- import { K as KeywordSearch } from './KeywordSearch-568a8a44.js';
10
- import { S as Select } from './Select-113372b2.js';
11
- import { c as checkLanguageSupport, D as Drawer, d as defaultSupportLanguage } from './Drawer-df3535c2.js';
9
+ import { K as KeywordSearch } from './KeywordSearch-4b7ace9c.js';
10
+ import { S as Select } from './Select-f3014e5a.js';
11
+ import { c as checkLanguageSupport, D as Drawer, d as defaultSupportLanguage } from './Drawer-bfcfd292.js';
12
12
  import { s as styleInject } from './style-inject.es-1f59c1d0.js';
13
13
  import './isObjectLike-e111475d.js';
14
14
  import './_commonjsHelpers-70de2c37.js';
15
15
  import 'axios';
16
- import './Autocomplete-3dae80ca.js';
16
+ import './Autocomplete-d826e57f.js';
17
17
  import '@material-ui/lab';
18
18
  import './Empty-7318f658.js';
19
19
 
@@ -1,4 +1,4 @@
1
- import { a as _slicedToArray } from './_rollupPluginBabelHelpers-3d9c8289.js';
1
+ import { a as _slicedToArray } from './_rollupPluginBabelHelpers-a52356f6.js';
2
2
  import React__default, { useState } from 'react';
3
3
  import { c as classNames } from './index-66babe67.js';
4
4
  import PropTypes from 'prop-types';
@@ -1,4 +1,4 @@
1
- import { a as _slicedToArray } from './_rollupPluginBabelHelpers-3d9c8289.js';
1
+ import { a as _slicedToArray } from './_rollupPluginBabelHelpers-a52356f6.js';
2
2
  import React__default, { useState, useRef, useEffect } from 'react';
3
3
  import PropTypes from 'prop-types';
4
4
  import { c as classNames } from './index-66babe67.js';
@@ -1,10 +1,10 @@
1
- import { a as _slicedToArray } from './_rollupPluginBabelHelpers-3d9c8289.js';
1
+ import { a as _slicedToArray } from './_rollupPluginBabelHelpers-a52356f6.js';
2
2
  import React__default, { useState, useEffect } from 'react';
3
3
  import PropTypes from 'prop-types';
4
4
  import { c as classNames } from './index-66babe67.js';
5
5
  import axios from 'axios';
6
6
  import { s as styleInject } from './style-inject.es-1f59c1d0.js';
7
- import { A as Autocomplete } from './Autocomplete-3dae80ca.js';
7
+ import { A as Autocomplete } from './Autocomplete-d826e57f.js';
8
8
 
9
9
  var css_248z = ".keywordSearch {\n border-radius: 4px;\n width: 100%;\n margin-right: 14px; }\n .keywordSearch--animation .autocomplete {\n transition: max-width 0.3s ease-out;\n max-width: 240px; }\n .keywordSearch--focus {\n flex: 1; }\n .keywordSearch--focus .autocomplete {\n max-width: 100%; }\n .keywordSearch .MuiAutocomplete-hasPopupIcon.MuiAutocomplete-hasClearIcon .MuiAutocomplete-inputRoot[class*='MuiOutlinedInput-root'] {\n border-radius: 10px;\n background-color: #ffffff66; }\n";
10
10
  styleInject(css_248z);
@@ -1,11 +1,11 @@
1
- export { K as default } from './KeywordSearch-568a8a44.js';
2
- import './_rollupPluginBabelHelpers-3d9c8289.js';
1
+ export { K as default } from './KeywordSearch-4b7ace9c.js';
2
+ import './_rollupPluginBabelHelpers-a52356f6.js';
3
3
  import 'react';
4
4
  import 'prop-types';
5
5
  import './index-66babe67.js';
6
6
  import 'axios';
7
7
  import './style-inject.es-1f59c1d0.js';
8
- import './Autocomplete-3dae80ca.js';
8
+ import './Autocomplete-d826e57f.js';
9
9
  import './debounce-127da66c.js';
10
10
  import './isObjectLike-e111475d.js';
11
11
  import './_commonjsHelpers-70de2c37.js';
@@ -1,8 +1,8 @@
1
- import { a as _slicedToArray } from './_rollupPluginBabelHelpers-3d9c8289.js';
1
+ import { a as _slicedToArray } from './_rollupPluginBabelHelpers-a52356f6.js';
2
2
  import React__default, { useState, useRef, useEffect } from 'react';
3
3
  import PropTypes from 'prop-types';
4
4
  import { c as classNames } from './index-66babe67.js';
5
- import { F as ForwardLink } from './ForwardLink-0571e627.js';
5
+ import { F as ForwardLink } from './ForwardLink-fd92b26e.js';
6
6
  import { s as styleInject } from './style-inject.es-1f59c1d0.js';
7
7
  import './index-fdcc884e.js';
8
8
  import 'react-router-dom';
@@ -1,4 +1,4 @@
1
- import { a as _slicedToArray } from './_rollupPluginBabelHelpers-3d9c8289.js';
1
+ import { a as _slicedToArray } from './_rollupPluginBabelHelpers-a52356f6.js';
2
2
  import React__default, { useState, useEffect } from 'react';
3
3
  import PropTypes from 'prop-types';
4
4
  import { c as classNames } from './index-66babe67.js';
@@ -1,4 +1,4 @@
1
- import { b as _objectSpread2 } from './_rollupPluginBabelHelpers-3d9c8289.js';
1
+ import { b as _objectSpread2 } from './_rollupPluginBabelHelpers-a52356f6.js';
2
2
  import React__default from 'react';
3
3
  import PropTypes from 'prop-types';
4
4
  import { RadioGroup, FormControlLabel, Radio as Radio$1 } from '@material-ui/core';
@@ -2,12 +2,12 @@ import React__default, { useMemo, useEffect } from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import { c as classNames } from './index-66babe67.js';
4
4
  import { e as event, d as d3Select, a as dispatch, c as customEvent, D as DragEvent, q as quadtree, m as map, t as timer, T as Transform, i as identity, b as interrupt, o as ordinal, f as category10 } from './transform-3a04288b.js';
5
- import { E as ExtraTools } from './ExtraTools-b0bb9399.js';
5
+ import { E as ExtraTools } from './ExtraTools-aa5bc12d.js';
6
6
  import { s as styleInject } from './style-inject.es-1f59c1d0.js';
7
- import './_rollupPluginBabelHelpers-3d9c8289.js';
7
+ import './_rollupPluginBabelHelpers-a52356f6.js';
8
8
  import './_commonjsHelpers-70de2c37.js';
9
9
  import '@material-ui/core';
10
- import './Tooltip-abe1205f.js';
10
+ import './Tooltip-fdee6235.js';
11
11
  import './dataExport-d55d6fa3.js';
12
12
 
13
13
  function sourceEvent() {
@@ -1,4 +1,4 @@
1
- import { b as _objectSpread2, d as _typeof } from './_rollupPluginBabelHelpers-3d9c8289.js';
1
+ import { b as _objectSpread2, d as _typeof } from './_rollupPluginBabelHelpers-a52356f6.js';
2
2
  import React__default from 'react';
3
3
  import PropTypes from 'prop-types';
4
4
  import { c as classNames } from './index-66babe67.js';
@@ -1,5 +1,5 @@
1
- export { S as default } from './Select-113372b2.js';
2
- import './_rollupPluginBabelHelpers-3d9c8289.js';
1
+ export { S as default } from './Select-f3014e5a.js';
2
+ import './_rollupPluginBabelHelpers-a52356f6.js';
3
3
  import 'react';
4
4
  import 'prop-types';
5
5
  import './index-66babe67.js';
@@ -1,4 +1,4 @@
1
- import { c as _objectWithoutProperties } from './_rollupPluginBabelHelpers-3d9c8289.js';
1
+ import { c as _objectWithoutProperties } from './_rollupPluginBabelHelpers-a52356f6.js';
2
2
  import React__default from 'react';
3
3
  import PropTypes from 'prop-types';
4
4
  import { TableContainer, Paper, Table as Table$1, TableHead, TableRow, TableCell, TableBody } from '@material-ui/core';
@@ -1,7 +1,7 @@
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-3d9c8289.js';
4
+ import { _ as _extends } from './_rollupPluginBabelHelpers-a52356f6.js';
5
5
  import { c as classNames } from './index-66babe67.js';
6
6
  import { s as styleInject } from './style-inject.es-1f59c1d0.js';
7
7
 
@@ -1,7 +1,7 @@
1
- export { T as default, p as placements } from './Tooltip-abe1205f.js';
1
+ export { T as default, p as placements } from './Tooltip-fdee6235.js';
2
2
  import 'react';
3
3
  import 'prop-types';
4
4
  import '@material-ui/core';
5
- import './_rollupPluginBabelHelpers-3d9c8289.js';
5
+ import './_rollupPluginBabelHelpers-a52356f6.js';
6
6
  import './index-66babe67.js';
7
7
  import './style-inject.es-1f59c1d0.js';
@@ -0,0 +1,142 @@
1
+ function ownKeys(object, enumerableOnly) {
2
+ var keys = Object.keys(object);
3
+ if (Object.getOwnPropertySymbols) {
4
+ var symbols = Object.getOwnPropertySymbols(object);
5
+ enumerableOnly && (symbols = symbols.filter(function (sym) {
6
+ return Object.getOwnPropertyDescriptor(object, sym).enumerable;
7
+ })), keys.push.apply(keys, symbols);
8
+ }
9
+ return keys;
10
+ }
11
+ function _objectSpread2(target) {
12
+ for (var i = 1; i < arguments.length; i++) {
13
+ var source = null != arguments[i] ? arguments[i] : {};
14
+ i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {
15
+ _defineProperty(target, key, source[key]);
16
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {
17
+ Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
18
+ });
19
+ }
20
+ return target;
21
+ }
22
+ function _typeof(obj) {
23
+ "@babel/helpers - typeof";
24
+
25
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
26
+ return typeof obj;
27
+ } : function (obj) {
28
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
29
+ }, _typeof(obj);
30
+ }
31
+ function _defineProperty(obj, key, value) {
32
+ if (key in obj) {
33
+ Object.defineProperty(obj, key, {
34
+ value: value,
35
+ enumerable: true,
36
+ configurable: true,
37
+ writable: true
38
+ });
39
+ } else {
40
+ obj[key] = value;
41
+ }
42
+ return obj;
43
+ }
44
+ function _extends() {
45
+ _extends = Object.assign ? Object.assign.bind() : function (target) {
46
+ for (var i = 1; i < arguments.length; i++) {
47
+ var source = arguments[i];
48
+ for (var key in source) {
49
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
50
+ target[key] = source[key];
51
+ }
52
+ }
53
+ }
54
+ return target;
55
+ };
56
+ return _extends.apply(this, arguments);
57
+ }
58
+ function _objectWithoutPropertiesLoose(source, excluded) {
59
+ if (source == null) return {};
60
+ var target = {};
61
+ var sourceKeys = Object.keys(source);
62
+ var key, i;
63
+ for (i = 0; i < sourceKeys.length; i++) {
64
+ key = sourceKeys[i];
65
+ if (excluded.indexOf(key) >= 0) continue;
66
+ target[key] = source[key];
67
+ }
68
+ return target;
69
+ }
70
+ function _objectWithoutProperties(source, excluded) {
71
+ if (source == null) return {};
72
+ var target = _objectWithoutPropertiesLoose(source, excluded);
73
+ var key, i;
74
+ if (Object.getOwnPropertySymbols) {
75
+ var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
76
+ for (i = 0; i < sourceSymbolKeys.length; i++) {
77
+ key = sourceSymbolKeys[i];
78
+ if (excluded.indexOf(key) >= 0) continue;
79
+ if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
80
+ target[key] = source[key];
81
+ }
82
+ }
83
+ return target;
84
+ }
85
+ function _taggedTemplateLiteral(strings, raw) {
86
+ if (!raw) {
87
+ raw = strings.slice(0);
88
+ }
89
+ return Object.freeze(Object.defineProperties(strings, {
90
+ raw: {
91
+ value: Object.freeze(raw)
92
+ }
93
+ }));
94
+ }
95
+ function _slicedToArray(arr, i) {
96
+ return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
97
+ }
98
+ function _arrayWithHoles(arr) {
99
+ if (Array.isArray(arr)) return arr;
100
+ }
101
+ function _iterableToArrayLimit(arr, i) {
102
+ var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
103
+ if (_i == null) return;
104
+ var _arr = [];
105
+ var _n = true;
106
+ var _d = false;
107
+ var _s, _e;
108
+ try {
109
+ for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
110
+ _arr.push(_s.value);
111
+ if (i && _arr.length === i) break;
112
+ }
113
+ } catch (err) {
114
+ _d = true;
115
+ _e = err;
116
+ } finally {
117
+ try {
118
+ if (!_n && _i["return"] != null) _i["return"]();
119
+ } finally {
120
+ if (_d) throw _e;
121
+ }
122
+ }
123
+ return _arr;
124
+ }
125
+ function _unsupportedIterableToArray(o, minLen) {
126
+ if (!o) return;
127
+ if (typeof o === "string") return _arrayLikeToArray(o, minLen);
128
+ var n = Object.prototype.toString.call(o).slice(8, -1);
129
+ if (n === "Object" && o.constructor) n = o.constructor.name;
130
+ if (n === "Map" || n === "Set") return Array.from(o);
131
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
132
+ }
133
+ function _arrayLikeToArray(arr, len) {
134
+ if (len == null || len > arr.length) len = arr.length;
135
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
136
+ return arr2;
137
+ }
138
+ function _nonIterableRest() {
139
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
140
+ }
141
+
142
+ export { _extends as _, _slicedToArray as a, _objectSpread2 as b, _objectWithoutProperties as c, _typeof as d, _defineProperty as e, _taggedTemplateLiteral as f };
@@ -50,7 +50,8 @@ var zhtw = {
50
50
  "common.form.code.error": "驗證碼錯誤",
51
51
  "common.form.attachment": "附件上傳",
52
52
  "common.form.attachment.valid.error": "附件上傳上限為10MB",
53
- "common.form.attachment.hint": "上傳附件大小限制:10MB",
53
+ "common.form.attachment.hint": "1.上傳附件大小限制:總共10MB",
54
+ "common.form.attachment.hint2": "2.若有多個檔案請先集中至同一資料夾並以壓縮檔上傳",
54
55
  "common.form.contactUs": "聯繫我們",
55
56
  "common.form.error": "表單尚未完成 請檢察必填項目",
56
57
  "common.sna.reset": "回到原來位置與大小"
@@ -93,8 +94,9 @@ var zhcn = {
93
94
  "common.form.code": "验证码",
94
95
  "common.form.code.error": "验证码错误",
95
96
  "common.form.attachment": "附件上传",
96
- "common.form.attachment.valid.error": "附件上传上限为2MB",
97
- "common.form.attachment.hint": "上传附件大小限制:2MB",
97
+ "common.form.attachment.valid.error": "附件上传上限为10MB",
98
+ "common.form.attachment.hint": "1.上传附件大小限制:总共10MB",
99
+ "common.form.attachment.hint2": "2.若有多个档案请先集中至同一资料夹并以压缩档上传",
98
100
  "common.form.contactUs": "联系我们",
99
101
  "common.form.error": "表单尚未完成 请检察必填项目"
100
102
  };
@@ -136,8 +138,9 @@ var enus = {
136
138
  "common.form.code": "Verification Code",
137
139
  "common.form.code.error": "Verification code error",
138
140
  "common.form.attachment": "Attachment Upload",
139
- "common.form.attachment.valid.error": "Attachment upload limit is 2MB",
140
- "common.form.attachment.hint": "Upload attachment size limit: 2MB",
141
+ "common.form.attachment.valid.error": "Attachment upload limit is 10MB",
142
+ "common.form.attachment.hint": "1. Upload attachment size limit: 10MB in total. ",
143
+ "common.form.attachment.hint2": "2. If there are multiple files, please gather them in the same folder and upload them as compressed files",
141
144
  "common.form.contactUs": "Contact Us",
142
145
  "common.form.error": "The form has not been completed, please check the required items"
143
146
  };
@@ -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] : 5000;
12
+ var timeout = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 10000;
13
13
  // timeout
14
14
  axios.defaults.timeout = timeout;
15
15
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daoyi/nmtl-ui",
3
- "version": "2.0.1-beta.53",
3
+ "version": "2.0.1-beta.54",
4
4
  "description": "This project is to be used as a starter kit for building React component using Storybook and Rollup",
5
5
  "author": "daoyi",
6
6
  "main": "lib/index.js",