@daoyi/nmtl-ui 2.0.1-beta.46 → 2.0.1-beta.47

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 (69) hide show
  1. package/lib/components/{Autocomplete-aa4a8d6c.js → Autocomplete-5439ff22.js} +2 -4
  2. package/lib/components/Autocomplete.js +6 -7
  3. package/lib/components/Avatar.js +4 -2
  4. package/lib/components/BackTop.js +1 -28
  5. package/lib/components/BarChart.js +4 -634
  6. package/lib/components/Breadcrumbs.js +4 -2
  7. package/lib/components/{Button-2f8f0493.js → Button-63c7e9f3.js} +1 -2
  8. package/lib/components/Button.js +5 -3
  9. package/lib/components/Carousel.js +7 -4659
  10. package/lib/components/CollapseContent.js +5 -3
  11. package/lib/components/ContactModal-a59bc808.js +924 -0
  12. package/lib/components/ContactModal.js +10 -15
  13. package/lib/components/{Drawer-dd8942f1.js → Drawer-af3ed21a.js} +2 -2
  14. package/lib/components/Drawer.js +7 -5
  15. package/lib/components/Dropdown.js +3 -2
  16. package/lib/components/{Empty-3637b766.js → Empty-70f040a9.js} +1 -2
  17. package/lib/components/Empty.js +5 -3
  18. package/lib/components/ExportButton.js +6 -4
  19. package/lib/components/ExtraTools-f10a66a8.js +818 -0
  20. package/lib/components/ExtraTools.js +7 -6
  21. package/lib/components/Filter.js +5 -691
  22. package/lib/components/Footer.js +10 -15
  23. package/lib/components/ForwardLink.js +4 -3
  24. package/lib/components/Header.js +9 -10
  25. package/lib/components/Image.js +4 -7
  26. package/lib/components/Input.js +4 -2
  27. package/lib/components/InputMethod.js +4 -10861
  28. package/lib/components/{KeywordSearch-2d01266e.js → KeywordSearch-224f84c1.js} +2 -3
  29. package/lib/components/KeywordSearch.js +7 -8
  30. package/lib/components/KeywordTicker.js +4 -2
  31. package/lib/components/Keywords.js +5 -30
  32. package/lib/components/Loading.js +4 -2
  33. package/lib/components/MUITheme.js +3 -2375
  34. package/lib/components/{Modal-572e17ea.js → Modal-a7591b98.js} +3 -4
  35. package/lib/components/Modal.js +7 -5
  36. package/lib/components/{MoreButton-80996b5f.js → MoreButton-f15ca38e.js} +1 -2
  37. package/lib/components/MoreButton.js +5 -3
  38. package/lib/components/Radio.js +4 -1
  39. package/lib/components/SNA.js +5 -1416
  40. package/lib/components/{Select-5533b506.js → Select-98a8e973.js} +2 -3
  41. package/lib/components/Select.js +6 -4
  42. package/lib/components/{Spin-ebf79c17.js → Spin-690a3597.js} +1 -2
  43. package/lib/components/Spin.js +5 -3
  44. package/lib/components/{Tooltip-907eaa2e.js → Tooltip-b7eb966d.js} +1 -2
  45. package/lib/components/Tooltip.js +5 -3
  46. package/lib/components/dataExport-f418e6fe.js +56 -0
  47. package/lib/components/vendor-851c6356.js +41940 -0
  48. package/lib/index.d.ts +1 -3
  49. package/lib/index.js +1 -3
  50. package/lib/utils/domToImage.js +1 -771
  51. package/lib/utils/exportXlsx.js +1 -36
  52. package/lib/utils/historyAppendSearch.js +1 -480
  53. package/lib/utils/vendor-3ec75cc9.js +1289 -0
  54. package/package.json +1 -1
  55. package/lib/components/ContactModal-c8240b19.js +0 -10759
  56. package/lib/components/ExtraTools-55dad795.js +0 -3479
  57. package/lib/components/_commonjsHelpers-70de2c37.js +0 -28
  58. package/lib/components/createSvgIcon-48da8b6e.js +0 -576
  59. package/lib/components/dataExport-d55d6fa3.js +0 -92
  60. package/lib/components/debounce-127da66c.js +0 -355
  61. package/lib/components/defaultTheme-19a14721.js +0 -1485
  62. package/lib/components/globalConfig-40069b54.js +0 -158
  63. package/lib/components/hoist-non-react-statics.cjs-3f408ad2.js +0 -105
  64. package/lib/components/index-7b60a97d.js +0 -481
  65. package/lib/components/index-f491ebce.js +0 -61
  66. package/lib/components/isObjectLike-e111475d.js +0 -190
  67. package/lib/components/style-inject.es-1f59c1d0.js +0 -28
  68. package/lib/components/transform-3a04288b.js +0 -5475
  69. /package/lib/{globalConfig.js → components/globalConfig.js} +0 -0
@@ -1,22 +1,17 @@
1
- export { C as default } from './ContactModal-c8240b19.js';
1
+ export { C as default } from './ContactModal-a59bc808.js';
2
2
  import './_rollupPluginBabelHelpers-fde6d1c6.js';
3
3
  import 'react';
4
4
  import 'prop-types';
5
- import './hoist-non-react-statics.cjs-3f408ad2.js';
5
+ import './vendor-851c6356.js';
6
6
  import 'react-is';
7
+ import '@material-ui/styles';
8
+ import 'react-dom';
7
9
  import 'axios';
8
- import './Modal-572e17ea.js';
9
- import './index-f491ebce.js';
10
+ import './Modal-a7591b98.js';
10
11
  import '@material-ui/core';
11
12
  import '@material-ui/icons';
12
- import './Button-2f8f0493.js';
13
- import './style-inject.es-1f59c1d0.js';
14
- import './Spin-ebf79c17.js';
15
- import './_commonjsHelpers-70de2c37.js';
16
- import './Select-5533b506.js';
17
- import './Empty-3637b766.js';
18
- import './createSvgIcon-48da8b6e.js';
19
- import './defaultTheme-19a14721.js';
20
- import '@material-ui/styles';
21
- import 'react-dom';
22
- import './globalConfig-40069b54.js';
13
+ import './Button-63c7e9f3.js';
14
+ import './Spin-690a3597.js';
15
+ import './Select-98a8e973.js';
16
+ import './Empty-70f040a9.js';
17
+ import './globalConfig';
@@ -3,9 +3,9 @@ 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-5533b506.js';
6
+ import { S as Select } from './Select-98a8e973.js';
7
7
  import { useHistory, useRouteMatch } from 'react-router-dom';
8
- import { s as styleInject } from './style-inject.es-1f59c1d0.js';
8
+ import { s as styleInject } from './vendor-851c6356.js';
9
9
 
10
10
  var defaultSupportLanguage = [
11
11
  // { value: 'en', label: 'English' },
@@ -1,11 +1,13 @@
1
- export { D as default } from './Drawer-dd8942f1.js';
1
+ export { D as default } from './Drawer-af3ed21a.js';
2
2
  import './_rollupPluginBabelHelpers-fde6d1c6.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-5533b506.js';
8
- import './index-f491ebce.js';
9
- import './Empty-3637b766.js';
10
- import './style-inject.es-1f59c1d0.js';
7
+ import './Select-98a8e973.js';
8
+ import './vendor-851c6356.js';
9
+ import 'react-is';
10
+ import '@material-ui/styles';
11
+ import 'react-dom';
12
+ import './Empty-70f040a9.js';
11
13
  import 'react-router-dom';
@@ -1,10 +1,11 @@
1
1
  import { a as _slicedToArray } from './_rollupPluginBabelHelpers-fde6d1c6.js';
2
2
  import React__default, { useRef, useState } from 'react';
3
- import { c as classNames } from './index-f491ebce.js';
3
+ import { s as styleInject, c as classNames } from './vendor-851c6356.js';
4
4
  import PropTypes from 'prop-types';
5
5
  import { Button, Menu, Divider, MenuItem, ListItemIcon, ListItemText } from '@material-ui/core';
6
6
  import { makeStyles } from '@material-ui/styles';
7
- import { s as styleInject } from './style-inject.es-1f59c1d0.js';
7
+ import 'react-is';
8
+ import 'react-dom';
8
9
 
9
10
  var css_248z = "";
10
11
  styleInject(css_248z);
@@ -1,7 +1,6 @@
1
1
  import React__default from 'react';
2
2
  import PropTypes from 'prop-types';
3
- import { c as classNames } from './index-f491ebce.js';
4
- import { s as styleInject } from './style-inject.es-1f59c1d0.js';
3
+ import { s as styleInject, c as classNames } from './vendor-851c6356.js';
5
4
 
6
5
  var img = "data:image/svg+xml,%3csvg class='ant-empty-img-default' width='184' height='152' viewBox='0 0 184 152' xmlns='http://www.w3.org/2000/svg'%3e %3cg fill='none' fill-rule='evenodd'%3e %3cg transform='translate(24 31.67)'%3e %3cellipse fill='%23f5f5f5' fill-opacity='0.8' cx='67.797' cy='106.89' rx='67.797' ry='12.668'%3e%3c/ellipse%3e %3cpath fill='%23aeb8c2' d='M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z'%3e%3c/path%3e %3cpath fill='url(%23linearGradient-1)' d='M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z' transform='translate(13.56)'%3e%3c/path%3e %3cpath fill='%23f5f5f7' d='M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z'%3e%3c/path%3e %3cpath fill='%23dce0e6' d='M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z'%3e%3c/path%3e %3c/g%3e %3cpath fill='%23dce0e6' d='M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z'%3e%3c/path%3e %3cg fill='white' transform='translate(149.65 15.383)'%3e %3cellipse cx='20.654' cy='3.167' rx='2.849' ry='2.815'%3e%3c/ellipse%3e %3cpath d='M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z'%3e%3c/path%3e %3c/g%3e %3c/g%3e%3c/svg%3e";
7
6
 
@@ -1,5 +1,7 @@
1
- export { E as default } from './Empty-3637b766.js';
1
+ export { E as default } from './Empty-70f040a9.js';
2
2
  import 'react';
3
3
  import 'prop-types';
4
- import './index-f491ebce.js';
5
- import './style-inject.es-1f59c1d0.js';
4
+ import './vendor-851c6356.js';
5
+ import 'react-is';
6
+ import '@material-ui/styles';
7
+ import 'react-dom';
@@ -1,12 +1,14 @@
1
1
  import { a as _slicedToArray } from './_rollupPluginBabelHelpers-fde6d1c6.js';
2
2
  import React__default, { useState } from 'react';
3
3
  import PropTypes from 'prop-types';
4
- import { c as classNames } from './index-f491ebce.js';
4
+ import { s as styleInject, c as classNames, f as fileDownload } from './vendor-851c6356.js';
5
5
  import { ExitToApp } from '@material-ui/icons';
6
6
  import { Dialog, DialogContent, DialogContentText, DialogActions, Button } from '@material-ui/core';
7
- import { f as fileDownload, j as jsonTxt, a as jsonExcel } from './dataExport-d55d6fa3.js';
8
- import { g as getIntl } from './globalConfig-40069b54.js';
9
- import { s as styleInject } from './style-inject.es-1f59c1d0.js';
7
+ import { j as jsonTxt, a as jsonExcel } from './dataExport-f418e6fe.js';
8
+ import { getIntl } from './globalConfig';
9
+ import 'react-is';
10
+ import '@material-ui/styles';
11
+ import 'react-dom';
10
12
 
11
13
  var css_248z = ".exportButton {\n display: flex;\n align-items: center;\n font-size: 1.5rem;\n transition: color 0.3s ease-in-out;\n -webkit-user-select: none;\n user-select: none; }\n .exportButton--right {\n justify-content: flex-end; }\n .exportButton__text {\n display: flex;\n align-items: center;\n text-decoration: underline;\n cursor: pointer; }\n .exportButton__text__icon {\n font-size: 2rem;\n margin-right: 4px; }\n .exportButton__text:hover {\n font-weight: bold; }\n";
12
14
  styleInject(css_248z);