@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,10 +1,9 @@
1
1
  import { a as _slicedToArray } from './_rollupPluginBabelHelpers-fde6d1c6.js';
2
2
  import React__default, { useState, useEffect } 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 } from './vendor-851c6356.js';
5
5
  import axios from 'axios';
6
- import { s as styleInject } from './style-inject.es-1f59c1d0.js';
7
- import { A as Autocomplete } from './Autocomplete-aa4a8d6c.js';
6
+ import { A as Autocomplete } from './Autocomplete-5439ff22.js';
8
7
 
9
8
  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
9
  styleInject(css_248z);
@@ -1,15 +1,14 @@
1
- export { K as default } from './KeywordSearch-2d01266e.js';
1
+ export { K as default } from './KeywordSearch-224f84c1.js';
2
2
  import './_rollupPluginBabelHelpers-fde6d1c6.js';
3
3
  import 'react';
4
4
  import 'prop-types';
5
- import './index-f491ebce.js';
5
+ import './vendor-851c6356.js';
6
+ import 'react-is';
7
+ import '@material-ui/styles';
8
+ import 'react-dom';
6
9
  import 'axios';
7
- import './style-inject.es-1f59c1d0.js';
8
- import './Autocomplete-aa4a8d6c.js';
9
- import './debounce-127da66c.js';
10
- import './isObjectLike-e111475d.js';
11
- import './_commonjsHelpers-70de2c37.js';
10
+ import './Autocomplete-5439ff22.js';
12
11
  import '@material-ui/lab';
13
12
  import '@material-ui/core';
14
13
  import '@material-ui/icons';
15
- import './Empty-3637b766.js';
14
+ import './Empty-70f040a9.js';
@@ -1,8 +1,10 @@
1
1
  import { a as _slicedToArray } from './_rollupPluginBabelHelpers-fde6d1c6.js';
2
2
  import React__default, { useState, useRef, useEffect } from 'react';
3
3
  import PropTypes from 'prop-types';
4
- import { c as classNames } from './index-f491ebce.js';
5
- import { s as styleInject } from './style-inject.es-1f59c1d0.js';
4
+ import { s as styleInject, c as classNames } from './vendor-851c6356.js';
5
+ import 'react-is';
6
+ import '@material-ui/styles';
7
+ import 'react-dom';
6
8
 
7
9
  var css_248z = ".keywordTicker {\n width: 100%;\n display: flex;\n justify-content: flex-start;\n align-items: center; }\n .keywordTicker__track {\n display: flex;\n width: 100%;\n padding: 20px 0px;\n background-color: #ece8c0;\n overflow: hidden;\n margin-left: -80px;\n padding-left: 100px;\n z-index: 1;\n position: relative; }\n .keywordTicker__items {\n display: flex;\n justify-content: flex-start;\n align-items: center;\n flex-wrap: nowrap;\n position: relative; }\n .keywordTicker-item {\n width: auto;\n display: flex;\n justify-content: center;\n align-items: center;\n white-space: nowrap;\n cursor: pointer; }\n .keywordTicker-text {\n font-size: 1.5rem;\n z-index: 2;\n font-weight: bold;\n color: #825c0d;\n border-left: 2px solid #fff;\n padding: 0px 40px; }\n .keywordTicker__img {\n z-index: 2;\n position: relative;\n display: flex; }\n .keywordTicker__img img {\n height: 100%;\n max-height: 195px;\n image-rendering: -webkit-optimize-contrast;\n position: relative; }\n .keywordTicker--fake {\n position: absolute;\n opacity: 0;\n width: 100%; }\n\n@media only screen and (max-width: 768px) {\n .keywordTicker-text {\n font-size: 1.5rem;\n padding: 0px 15px; }\n .keywordTicker__img img {\n max-height: 104px;\n left: -60px; }\n .keywordTicker__track {\n padding: 10px 0px;\n margin-left: -100px; } }\n\n@media only screen and (max-width: 484px) {\n .keywordTicker-text {\n font-size: 14px; } }\n";
8
10
  styleInject(css_248z);
@@ -1,19 +1,15 @@
1
1
  import { a as _slicedToArray } from './_rollupPluginBabelHelpers-fde6d1c6.js';
2
2
  import React__default, { useState, useEffect } from 'react';
3
3
  import PropTypes from 'prop-types';
4
- import { c as classNames } from './index-f491ebce.js';
5
- import { M as Modal } from './Modal-572e17ea.js';
4
+ import { s as styleInject, c as classNames, T as default_1 } from './vendor-851c6356.js';
5
+ import { M as Modal } from './Modal-a7591b98.js';
6
6
  import { Typography } from '@material-ui/core';
7
- import { r as requireCreateSvgIcon, i as interopRequireDefault, a as interopRequireWildcard } from './createSvgIcon-48da8b6e.js';
8
- import { s as styleInject } from './style-inject.es-1f59c1d0.js';
9
- import '@material-ui/icons';
10
- import './Button-2f8f0493.js';
11
- import './Spin-ebf79c17.js';
12
- import './_commonjsHelpers-70de2c37.js';
13
- import './defaultTheme-19a14721.js';
14
7
  import 'react-is';
15
8
  import '@material-ui/styles';
16
9
  import 'react-dom';
10
+ import '@material-ui/icons';
11
+ import './Button-63c7e9f3.js';
12
+ import './Spin-690a3597.js';
17
13
 
18
14
  const useRWD = () => {
19
15
  const [device, setDevice] = useState('PC');
@@ -30,27 +26,6 @@ const useRWD = () => {
30
26
  return device;
31
27
  };
32
28
 
33
- var MoreHoriz = {};
34
-
35
- var _interopRequireDefault = interopRequireDefault.exports;
36
-
37
- var _interopRequireWildcard = interopRequireWildcard.exports;
38
-
39
- Object.defineProperty(MoreHoriz, "__esModule", {
40
- value: true
41
- });
42
- var default_1 = MoreHoriz.default = void 0;
43
-
44
- var React = _interopRequireWildcard(React__default);
45
-
46
- var _createSvgIcon = _interopRequireDefault(requireCreateSvgIcon());
47
-
48
- var _default = (0, _createSvgIcon.default)( /*#__PURE__*/React.createElement("path", {
49
- d: "M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"
50
- }), 'MoreHoriz');
51
-
52
- default_1 = MoreHoriz.default = _default;
53
-
54
29
  var css_248z$2 = ".keywordList {\n display: flex;\n flex-wrap: wrap;\n margin-top: 0.8rem; }\n .keywordList__item {\n font-size: 1.125rem !important;\n border-radius: 5px;\n margin-right: 0.5rem !important;\n margin-bottom: 0.5rem !important;\n cursor: pointer; }\n .keywordList__item__hover {\n border-radius: 5px;\n line-height: normal;\n padding: 0.125rem 0.625rem;\n background: transparent;\n transition: 0.3s background ease-in-out; }\n .keywordList__item__hover:hover {\n background: rgba(0, 0, 0, 0.1); }\n .keywordList__icon svg {\n font-size: 1rem;\n line-height: 1rem; }\n .keywordList__icon .keywordList__item__hover {\n display: flex;\n align-items: center;\n height: 100%;\n padding: 0.125rem 0.875rem; }\n\n@media screen and (max-width: 484px) {\n .keywordList__item {\n font-size: 0.75rem !important; } }\n";
55
30
  styleInject(css_248z$2);
56
31
 
@@ -1,8 +1,10 @@
1
1
  import React__default from 'react';
2
- import { c as classNames } from './index-f491ebce.js';
2
+ import { s as styleInject, c as classNames } from './vendor-851c6356.js';
3
3
  import { CircularProgress } from '@material-ui/core';
4
4
  import PropTypes from 'prop-types';
5
- import { s as styleInject } from './style-inject.es-1f59c1d0.js';
5
+ import 'react-is';
6
+ import '@material-ui/styles';
7
+ import 'react-dom';
6
8
 
7
9
  var css_248z = ".loadingPage {\n padding: 4rem 0;\n color: #0087dc;\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: center; }\n";
8
10
  styleInject(css_248z);