@daoyi/nmtl-ui 2.0.1-beta.47 → 2.0.1-beta.48
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-5439ff22.js → Autocomplete-aa4a8d6c.js} +4 -2
- package/lib/components/Autocomplete.js +7 -6
- package/lib/components/Avatar.js +2 -4
- package/lib/components/BackTop.js +28 -1
- package/lib/components/BarChart.js +634 -4
- package/lib/components/Breadcrumbs.js +2 -4
- package/lib/components/{Button-63c7e9f3.js → Button-2f8f0493.js} +2 -1
- package/lib/components/Button.js +3 -5
- package/lib/components/Carousel.js +4659 -7
- package/lib/components/CollapseContent.js +3 -5
- package/lib/components/ContactModal-a44e2a42.js +10759 -0
- package/lib/components/ContactModal.js +14 -9
- package/lib/components/{Drawer-af3ed21a.js → Drawer-dd8942f1.js} +2 -2
- package/lib/components/Drawer.js +5 -7
- package/lib/components/Dropdown.js +2 -3
- package/lib/components/{Empty-70f040a9.js → Empty-3637b766.js} +2 -1
- package/lib/components/Empty.js +3 -5
- package/lib/components/ExportButton.js +3 -5
- package/lib/components/ExtraTools-55dad795.js +3479 -0
- package/lib/components/ExtraTools.js +6 -7
- package/lib/components/Filter.js +691 -5
- package/lib/components/Footer.js +14 -9
- package/lib/components/ForwardLink.js +3 -4
- package/lib/components/Header.js +10 -9
- package/lib/components/Image.js +7 -4
- package/lib/components/Input.js +2 -4
- package/lib/components/InputMethod.js +10861 -4
- package/lib/components/{KeywordSearch-224f84c1.js → KeywordSearch-2d01266e.js} +3 -2
- package/lib/components/KeywordSearch.js +8 -7
- package/lib/components/KeywordTicker.js +2 -4
- package/lib/components/Keywords.js +30 -5
- package/lib/components/Loading.js +2 -4
- package/lib/components/MUITheme.js +2375 -3
- package/lib/components/{Modal-a7591b98.js → Modal-572e17ea.js} +4 -3
- package/lib/components/Modal.js +5 -7
- package/lib/components/{MoreButton-f15ca38e.js → MoreButton-80996b5f.js} +2 -1
- package/lib/components/MoreButton.js +3 -5
- package/lib/components/Radio.js +1 -4
- package/lib/components/SNA.js +1416 -5
- package/lib/components/{Select-98a8e973.js → Select-5533b506.js} +3 -2
- package/lib/components/Select.js +4 -6
- package/lib/components/{Spin-690a3597.js → Spin-ebf79c17.js} +2 -1
- package/lib/components/Spin.js +3 -5
- package/lib/components/{Tooltip-b7eb966d.js → Tooltip-907eaa2e.js} +2 -1
- package/lib/components/Tooltip.js +3 -5
- package/lib/components/_commonjsHelpers-70de2c37.js +28 -0
- package/lib/components/createSvgIcon-48da8b6e.js +576 -0
- package/lib/components/dataExport-d55d6fa3.js +92 -0
- package/lib/components/debounce-127da66c.js +355 -0
- package/lib/components/defaultTheme-19a14721.js +1485 -0
- package/lib/components/hoist-non-react-statics.cjs-3f408ad2.js +105 -0
- package/lib/components/index-7b60a97d.js +481 -0
- package/lib/components/index-f491ebce.js +61 -0
- package/lib/components/isObjectLike-e111475d.js +190 -0
- package/lib/components/style-inject.es-1f59c1d0.js +28 -0
- package/lib/components/transform-3a04288b.js +5475 -0
- package/lib/utils/domToImage.js +771 -1
- package/lib/utils/exportXlsx.js +36 -1
- package/lib/utils/historyAppendSearch.js +480 -1
- package/package.json +1 -1
- package/lib/components/ContactModal-a59bc808.js +0 -924
- package/lib/components/ExtraTools-f10a66a8.js +0 -818
- package/lib/components/dataExport-f418e6fe.js +0 -56
- package/lib/components/vendor-851c6356.js +0 -41940
- package/lib/utils/vendor-3ec75cc9.js +0 -1289
|
@@ -1,9 +1,10 @@
|
|
|
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 {
|
|
4
|
+
import { c as classNames } from './index-f491ebce.js';
|
|
5
5
|
import axios from 'axios';
|
|
6
|
-
import {
|
|
6
|
+
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
7
|
+
import { A as Autocomplete } from './Autocomplete-aa4a8d6c.js';
|
|
7
8
|
|
|
8
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";
|
|
9
10
|
styleInject(css_248z);
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
export { K as default } from './KeywordSearch-
|
|
1
|
+
export { K as default } from './KeywordSearch-2d01266e.js';
|
|
2
2
|
import './_rollupPluginBabelHelpers-fde6d1c6.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'prop-types';
|
|
5
|
-
import './
|
|
6
|
-
import 'react-is';
|
|
7
|
-
import '@material-ui/styles';
|
|
8
|
-
import 'react-dom';
|
|
5
|
+
import './index-f491ebce.js';
|
|
9
6
|
import 'axios';
|
|
10
|
-
import './
|
|
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';
|
|
11
12
|
import '@material-ui/lab';
|
|
12
13
|
import '@material-ui/core';
|
|
13
14
|
import '@material-ui/icons';
|
|
14
|
-
import './Empty-
|
|
15
|
+
import './Empty-3637b766.js';
|
|
@@ -1,10 +1,8 @@
|
|
|
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 {
|
|
5
|
-
import '
|
|
6
|
-
import '@material-ui/styles';
|
|
7
|
-
import 'react-dom';
|
|
4
|
+
import { c as classNames } from './index-f491ebce.js';
|
|
5
|
+
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
8
6
|
|
|
9
7
|
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";
|
|
10
8
|
styleInject(css_248z);
|
|
@@ -1,15 +1,19 @@
|
|
|
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 {
|
|
5
|
-
import { M as Modal } from './Modal-
|
|
4
|
+
import { c as classNames } from './index-f491ebce.js';
|
|
5
|
+
import { M as Modal } from './Modal-572e17ea.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';
|
|
7
14
|
import 'react-is';
|
|
8
15
|
import '@material-ui/styles';
|
|
9
16
|
import 'react-dom';
|
|
10
|
-
import '@material-ui/icons';
|
|
11
|
-
import './Button-63c7e9f3.js';
|
|
12
|
-
import './Spin-690a3597.js';
|
|
13
17
|
|
|
14
18
|
const useRWD = () => {
|
|
15
19
|
const [device, setDevice] = useState('PC');
|
|
@@ -26,6 +30,27 @@ const useRWD = () => {
|
|
|
26
30
|
return device;
|
|
27
31
|
};
|
|
28
32
|
|
|
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
|
+
|
|
29
54
|
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";
|
|
30
55
|
styleInject(css_248z$2);
|
|
31
56
|
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { c as classNames } from './index-f491ebce.js';
|
|
3
3
|
import { CircularProgress } from '@material-ui/core';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
5
|
-
import '
|
|
6
|
-
import '@material-ui/styles';
|
|
7
|
-
import 'react-dom';
|
|
5
|
+
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
8
6
|
|
|
9
7
|
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";
|
|
10
8
|
styleInject(css_248z);
|