@daoyi/nmtl-ui 2.0.1-beta.84 → 2.0.1-beta.86
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-83a79687.js → Autocomplete-2b5732e8.js} +4 -4
- 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 +2 -2
- package/lib/components/Breadcrumbs.js +3 -3
- package/lib/components/{Button-f86bbd40.js → Button-305b69a0.js} +2 -2
- package/lib/components/Button.js +2 -2
- package/lib/components/Carousel.js +2 -2
- package/lib/components/CollapseContent.js +3 -3
- package/lib/components/{ContactModal-80d24d0b.js → ContactModal-f33af93a.js} +7 -7
- package/lib/components/ContactModal.js +8 -8
- package/lib/components/{Drawer-cd48391b.js → Drawer-f6842ba3.js} +2 -2
- package/lib/components/Drawer.js +4 -4
- package/lib/components/Dropdown.js +1 -1
- package/lib/components/{Empty-9a192c2a.js → Empty-bf77164f.js} +2 -2
- package/lib/components/Empty.js +2 -2
- package/lib/components/ExportButton.js +2 -2
- package/lib/components/{ExtraTools-51d59918.js → ExtraTools-b9cbb205.js} +3 -3
- package/lib/components/ExtraTools.js +3 -3
- package/lib/components/Filter.js +3 -3
- package/lib/components/Footer.js +9 -9
- package/lib/components/{ForwardLink-2554a5d9.js → ForwardLink-f80fdf67.js} +2 -2
- package/lib/components/ForwardLink.js +2 -2
- package/lib/components/Header.js +8 -8
- package/lib/components/Image.js +2 -2
- package/lib/components/Input.js +2 -2
- package/lib/components/InputMethod.js +7 -7
- package/lib/components/{KeywordSearch-a66db4e4.js → KeywordSearch-1883b67f.js} +3 -3
- package/lib/components/KeywordSearch.js +5 -5
- package/lib/components/KeywordTicker.js +4 -4
- package/lib/components/Keywords.js +8 -8
- package/lib/components/Loading.js +2 -2
- package/lib/components/MUITheme.js +1 -1
- package/lib/components/{Modal-c8a92699.js → Modal-7f799c2e.js} +4 -4
- package/lib/components/Modal.js +4 -4
- package/lib/components/{MoreButton-c01432fd.js → MoreButton-44d3b4fe.js} +2 -2
- package/lib/components/MoreButton.js +2 -2
- package/lib/components/Pagination.js +3 -3
- package/lib/components/SNA.js +4 -4
- package/lib/components/{Select-7c0ef815.js → Select-7b672be8.js} +3 -3
- package/lib/components/Select.js +3 -3
- package/lib/components/{Spin-1762ce9c.js → Spin-8dc60bfe.js} +2 -2
- package/lib/components/Spin.js +2 -2
- package/lib/components/{Tooltip-21964965.js → Tooltip-6ebfa9c1.js} +2 -2
- package/lib/components/Tooltip.js +2 -2
- package/lib/configs/config.selector.js +151 -0
- package/lib/configs/index.d.ts +1 -0
- package/lib/configs/index.js +1 -0
- package/package.json +1 -2
- /package/lib/components/{createSvgIcon-e95160be.js → createSvgIcon-e3803ee1.js} +0 -0
- /package/lib/components/{index-34fc27f1.js → index-b47819f3.js} +0 -0
- /package/lib/components/{index-cbd6bca9.js → index-b76a85f4.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { _ as _extends$1, a as _slicedToArray, b as _objectSpread2 } from './_rollupPluginBabelHelpers-a52356f6.js';
|
|
2
2
|
import React__default, { useCallback, useState, useRef, useEffect } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
|
-
import { c as classNames } from './index-
|
|
4
|
+
import { c as classNames } from './index-b76a85f4.js';
|
|
5
5
|
import { d as debounce_1 } from './debounce-127da66c.js';
|
|
6
6
|
import { Autocomplete as Autocomplete$1 } from '@material-ui/lab';
|
|
7
7
|
import { Chip, TextField, CircularProgress } from '@material-ui/core';
|
|
8
8
|
import { Close, SearchOutlined } from '@material-ui/icons';
|
|
9
|
-
import { r as requireCreateSvgIcon, i as interopRequireDefault, a as interopRequireWildcard } from './createSvgIcon-
|
|
9
|
+
import { r as requireCreateSvgIcon, i as interopRequireDefault, a as interopRequireWildcard } from './createSvgIcon-e3803ee1.js';
|
|
10
10
|
import { _ as _extends, m as merge, d as defaultTheme, c as compose, b as borders, a as display, f as flexbox, g as grid, p as positions, e as palette, h as boxShadow, s as sizing, i as spacing, t as typography } from './defaultTheme-ed7746fe.js';
|
|
11
11
|
import 'react-is';
|
|
12
12
|
import { _ as _toConsumableArray } from './toConsumableArray-dbe8af76.js';
|
|
13
13
|
import { styled as styled$1 } from '@material-ui/styles';
|
|
14
14
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
15
|
-
import { E as Empty } from './Empty-
|
|
15
|
+
import { E as Empty } from './Empty-bf77164f.js';
|
|
16
16
|
|
|
17
17
|
var ArrowDropDown = {};
|
|
18
18
|
|
|
@@ -186,7 +186,7 @@ var useAutocomplete = (_ref => {
|
|
|
186
186
|
};
|
|
187
187
|
});
|
|
188
188
|
|
|
189
|
-
var css_248z = ".autocomplete .MuiAutocomplete-inputRoot[class*=
|
|
189
|
+
var css_248z = ".autocomplete .MuiAutocomplete-inputRoot[class*=MuiOutlinedInput-root] {\n flex-wrap: wrap;\n padding: 0px 8px;\n}\n.autocomplete .MuiChip-deleteIcon {\n width: 16px;\n height: 16px;\n}\n.autocomplete__icon {\n font-size: 1.25rem;\n margin-right: 8px;\n cursor: pointer;\n}\n.autocomplete--showSearchIcon .MuiAutocomplete-inputRoot[class*=MuiOutlinedInput-root] {\n display: flex;\n flex-wrap: nowrap;\n padding: 4px 8px;\n}";
|
|
190
190
|
styleInject(css_248z);
|
|
191
191
|
|
|
192
192
|
var Autocomplete = function Autocomplete(props) {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
export { A as default } from './Autocomplete-
|
|
1
|
+
export { A as default } from './Autocomplete-2b5732e8.js';
|
|
2
2
|
import './_rollupPluginBabelHelpers-a52356f6.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'prop-types';
|
|
5
|
-
import './index-
|
|
5
|
+
import './index-b76a85f4.js';
|
|
6
6
|
import './debounce-127da66c.js';
|
|
7
7
|
import './isObjectLike-e111475d.js';
|
|
8
8
|
import './_commonjsHelpers-70de2c37.js';
|
|
9
9
|
import '@material-ui/lab';
|
|
10
10
|
import '@material-ui/core';
|
|
11
11
|
import '@material-ui/icons';
|
|
12
|
-
import './createSvgIcon-
|
|
12
|
+
import './createSvgIcon-e3803ee1.js';
|
|
13
13
|
import './defaultTheme-ed7746fe.js';
|
|
14
14
|
import 'react-is';
|
|
15
15
|
import '@material-ui/styles';
|
|
16
16
|
import 'react-dom';
|
|
17
17
|
import './toConsumableArray-dbe8af76.js';
|
|
18
18
|
import './style-inject.es-1f59c1d0.js';
|
|
19
|
-
import './Empty-
|
|
19
|
+
import './Empty-bf77164f.js';
|
package/lib/components/Avatar.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { c as classNames } from './index-
|
|
2
|
+
import { c as classNames } from './index-b76a85f4.js';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import { Avatar as Avatar$1 } from '@material-ui/core';
|
|
5
5
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
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
|
-
import { c as classNames } from './index-
|
|
4
|
+
import { c as classNames } from './index-b76a85f4.js';
|
|
5
5
|
import { d as debounce_1 } from './debounce-127da66c.js';
|
|
6
6
|
import { Fade, NoSsr, Box } from '@material-ui/core';
|
|
7
|
-
import { r as requireCreateSvgIcon, i as interopRequireDefault, a as interopRequireWildcard } from './createSvgIcon-
|
|
7
|
+
import { r as requireCreateSvgIcon, i as interopRequireDefault, a as interopRequireWildcard } from './createSvgIcon-e3803ee1.js';
|
|
8
8
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
9
9
|
import './isObjectLike-e111475d.js';
|
|
10
10
|
import './_commonjsHelpers-70de2c37.js';
|
|
@@ -34,7 +34,7 @@ var _default = (0, _createSvgIcon.default)( /*#__PURE__*/React.createElement("pa
|
|
|
34
34
|
|
|
35
35
|
default_1 = ExpandLessSharp.default = _default;
|
|
36
36
|
|
|
37
|
-
var css_248z = ".backTop {\n right: 30px;\n bottom: 50px;\n position: fixed;\n z-index: 10;\n opacity: 0;\n cursor: pointer
|
|
37
|
+
var css_248z = ".backTop {\n right: 30px;\n bottom: 50px;\n position: fixed;\n z-index: 10;\n opacity: 0;\n cursor: pointer;\n}\n.backTop__default {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n width: 70px;\n height: 70px;\n border-radius: 45px;\n opacity: 0.8;\n transition: opacity 0.3s ease-in-out;\n}\n.backTop__default:hover {\n opacity: 1;\n}\n.backTop__default .MuiSvgIcon-root {\n margin-bottom: -3px;\n}\n.backTop:hover {\n opacity: 0.7;\n}\n\n@media only screen and (max-width: 484px) {\n .backTop {\n right: 15px;\n }\n}";
|
|
38
38
|
styleInject(css_248z);
|
|
39
39
|
|
|
40
40
|
var scrollToTop = function scrollToTop() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React__default, { useEffect } from 'react';
|
|
2
|
-
import { c as classNames } from './index-
|
|
2
|
+
import { c as classNames } from './index-b76a85f4.js';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import { g as constant$1, h as interpolateNumber, j as color, k as interpolateRgb, l as interpolateString, n as exponent, o as ordinal, p as initRange, r as map, s as slice$1, u as bisectRight, v as formatSpecifier, w as formatPrefix, x as format, d as d3Select } from './transform-3a04288b.js';
|
|
5
5
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
@@ -635,7 +635,7 @@ function linear() {
|
|
|
635
635
|
return linearish(scale);
|
|
636
636
|
}
|
|
637
637
|
|
|
638
|
-
var css_248z = "#barChart {\n width: 100
|
|
638
|
+
var css_248z = "#barChart {\n width: 100%;\n}";
|
|
639
639
|
styleInject(css_248z);
|
|
640
640
|
|
|
641
641
|
var BarChart = function BarChart(_ref) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { c as classNames } from './index-
|
|
2
|
+
import { c as classNames } from './index-b76a85f4.js';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import { NavLink } from 'react-router-dom';
|
|
5
5
|
import { Typography, Breadcrumbs as Breadcrumbs$1 } from '@material-ui/core';
|
|
6
6
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
7
7
|
|
|
8
|
-
var css_248z$1 = ".breadcrumbItem {\n display: flex;\n opacity: 0.8;\n transition: opacity 0.1s ease-in-out
|
|
8
|
+
var css_248z$1 = ".breadcrumbItem {\n display: flex;\n opacity: 0.8;\n transition: opacity 0.1s ease-in-out;\n}\n.breadcrumbItem:hover {\n opacity: 1;\n}\n.breadcrumbItem--last {\n opacity: 1;\n font-weight: 500 !important;\n}\n.breadcrumbItem__icon {\n display: flex;\n align-items: center;\n margin-right: 4px;\n}\n.breadcrumbItem__icon svg {\n font-size: 18px;\n}";
|
|
9
9
|
styleInject(css_248z$1);
|
|
10
10
|
|
|
11
11
|
const BreadcrumbItem = _ref => {
|
|
@@ -45,7 +45,7 @@ BreadcrumbItem.propTypes = {
|
|
|
45
45
|
onClick: PropTypes.func
|
|
46
46
|
};
|
|
47
47
|
|
|
48
|
-
var css_248z = ".breadcrumbs__link {\n cursor: pointer;\n text-decoration: none !important
|
|
48
|
+
var css_248z = ".breadcrumbs__link {\n cursor: pointer;\n text-decoration: none !important;\n}";
|
|
49
49
|
styleInject(css_248z);
|
|
50
50
|
|
|
51
51
|
var Breadcrumbs = function Breadcrumbs(_ref) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
|
-
import { c as classNames } from './index-
|
|
3
|
+
import { c as classNames } from './index-b76a85f4.js';
|
|
4
4
|
import { Button as Button$1, CircularProgress } from '@material-ui/core';
|
|
5
5
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
6
6
|
|
|
7
|
-
var css_248z = ".button {\n border: 1px solid #ffffff99;\n border-radius: 45px;\n padding: 8px 16px;\n background: #007bff;\n color: white;\n cursor: pointer
|
|
7
|
+
var css_248z = ".button {\n border: 1px solid #ffffff99;\n border-radius: 45px;\n padding: 8px 16px;\n background: #007bff;\n color: white;\n cursor: pointer;\n}\n.button:hover {\n opacity: 0.9;\n}";
|
|
8
8
|
styleInject(css_248z);
|
|
9
9
|
|
|
10
10
|
var Button = function Button(props) {
|
package/lib/components/Button.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { B as default } from './Button-
|
|
1
|
+
export { B as default } from './Button-305b69a0.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'prop-types';
|
|
4
|
-
import './index-
|
|
4
|
+
import './index-b76a85f4.js';
|
|
5
5
|
import '@material-ui/core';
|
|
6
6
|
import './style-inject.es-1f59c1d0.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as _objectWithoutProperties$1, b as _objectSpread2, _ as _extends$3 } from './_rollupPluginBabelHelpers-a52356f6.js';
|
|
2
2
|
import React__default, { forwardRef, useRef, useImperativeHandle } from 'react';
|
|
3
|
-
import { a as classnames, c as classNames } from './index-
|
|
3
|
+
import { a as classnames, c as classNames } from './index-b76a85f4.js';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
5
5
|
import { c as commonjsGlobal, g as getAugmentedNamespace, a as getDefaultExportFromCjs } from './_commonjsHelpers-70de2c37.js';
|
|
6
6
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
@@ -4599,7 +4599,7 @@ styleInject(css_248z$2);
|
|
|
4599
4599
|
var css_248z$1 = "@charset 'UTF-8';\n/* Slider */\n.slick-loading .slick-list\n{\n background: #fff url('./ajax-loader.gif') center center no-repeat;\n}\n\n/* Icons */\n@font-face\n{\n font-family: 'slick';\n font-weight: normal;\n font-style: normal;\n\n src: url('./fonts/slick.eot');\n src: url('./fonts/slick.eot?#iefix') format('embedded-opentype'), url('./fonts/slick.woff') format('woff'), url('./fonts/slick.ttf') format('truetype'), url('./fonts/slick.svg#slick') format('svg');\n}\n/* Arrows */\n.slick-prev,\n.slick-next\n{\n font-size: 0;\n line-height: 0;\n\n position: absolute;\n top: 50%;\n\n display: block;\n\n width: 20px;\n height: 20px;\n padding: 0;\n transform: translate(0, -50%);\n\n cursor: pointer;\n\n color: transparent;\n border: none;\n outline: none;\n background: transparent;\n}\n.slick-prev:hover,\n.slick-prev:focus,\n.slick-next:hover,\n.slick-next:focus\n{\n color: transparent;\n outline: none;\n background: transparent;\n}\n.slick-prev:hover:before,\n.slick-prev:focus:before,\n.slick-next:hover:before,\n.slick-next:focus:before\n{\n opacity: 1;\n}\n.slick-prev.slick-disabled:before,\n.slick-next.slick-disabled:before\n{\n opacity: .25;\n}\n\n.slick-prev:before,\n.slick-next:before\n{\n font-family: 'slick';\n font-size: 20px;\n line-height: 1;\n\n opacity: .75;\n color: white;\n\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.slick-prev\n{\n left: -25px;\n}\n[dir='rtl'] .slick-prev\n{\n right: -25px;\n left: auto;\n}\n.slick-prev:before\n{\n content: '←';\n}\n[dir='rtl'] .slick-prev:before\n{\n content: '→';\n}\n\n.slick-next\n{\n right: -25px;\n}\n[dir='rtl'] .slick-next\n{\n right: auto;\n left: -25px;\n}\n.slick-next:before\n{\n content: '→';\n}\n[dir='rtl'] .slick-next:before\n{\n content: '←';\n}\n\n/* Dots */\n.slick-dotted.slick-slider\n{\n margin-bottom: 30px;\n}\n\n.slick-dots\n{\n position: absolute;\n bottom: -25px;\n\n display: block;\n\n width: 100%;\n padding: 0;\n margin: 0;\n\n list-style: none;\n\n text-align: center;\n}\n.slick-dots li\n{\n position: relative;\n\n display: inline-block;\n\n width: 20px;\n height: 20px;\n margin: 0 5px;\n padding: 0;\n\n cursor: pointer;\n}\n.slick-dots li button\n{\n font-size: 0;\n line-height: 0;\n\n display: block;\n\n width: 20px;\n height: 20px;\n padding: 5px;\n\n cursor: pointer;\n\n color: transparent;\n border: 0;\n outline: none;\n background: transparent;\n}\n.slick-dots li button:hover,\n.slick-dots li button:focus\n{\n outline: none;\n}\n.slick-dots li button:hover:before,\n.slick-dots li button:focus:before\n{\n opacity: 1;\n}\n.slick-dots li button:before\n{\n font-family: 'slick';\n font-size: 6px;\n line-height: 20px;\n\n position: absolute;\n top: 0;\n left: 0;\n\n width: 20px;\n height: 20px;\n\n content: '•';\n text-align: center;\n\n opacity: .25;\n color: black;\n\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n.slick-dots li.slick-active button:before\n{\n opacity: .75;\n color: black;\n}\n";
|
|
4600
4600
|
styleInject(css_248z$1);
|
|
4601
4601
|
|
|
4602
|
-
var css_248z = ".carousel .slick-arrow {\n display: none !important
|
|
4602
|
+
var css_248z = ".carousel .slick-arrow {\n display: none !important;\n}";
|
|
4603
4603
|
styleInject(css_248z);
|
|
4604
4604
|
|
|
4605
4605
|
var _excluded = ["className", "autoplay", "children"];
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { a as _slicedToArray } from './_rollupPluginBabelHelpers-a52356f6.js';
|
|
2
2
|
import React__default, { useState, useRef, useEffect } from 'react';
|
|
3
|
-
import { c as classNames } from './index-
|
|
3
|
+
import { c as classNames } from './index-b76a85f4.js';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
5
5
|
import { Typography } from '@material-ui/core';
|
|
6
|
-
import { M as MoreButton } from './MoreButton-
|
|
6
|
+
import { M as MoreButton } from './MoreButton-44d3b4fe.js';
|
|
7
7
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
8
8
|
import '@material-ui/icons';
|
|
9
9
|
|
|
@@ -63,7 +63,7 @@ var textDivider = (text => {
|
|
|
63
63
|
);
|
|
64
64
|
});
|
|
65
65
|
|
|
66
|
-
var css_248z = ".collapseContent__desc {\n font-size: 1.5rem !important;\n text-indent: 3rem;\n font-family:
|
|
66
|
+
var css_248z = ".collapseContent__desc {\n font-size: 1.5rem !important;\n text-indent: 3rem;\n font-family: \"Noto Sans TC\", \"Arial\", sans-serif !important;\n display: -webkit-box;\n overflow: hidden;\n -webkit-box-orient: vertical;\n white-space: pre-wrap;\n word-break: break-all;\n}\n.collapseContent__desc p,\n.collapseContent__desc pre {\n margin: 0;\n}\n.collapseContent__desc--1 {\n -webkit-line-clamp: 1;\n}\n.collapseContent__desc--2 {\n -webkit-line-clamp: 2;\n}\n.collapseContent__desc--3 {\n -webkit-line-clamp: 3;\n}\n.collapseContent__desc--4 {\n -webkit-line-clamp: 4;\n}\n.collapseContent__desc--5 {\n -webkit-line-clamp: 5;\n}\n.collapseContent__desc--10 {\n -webkit-line-clamp: 10;\n}\n.collapseContent__desc--lightHeight {\n line-height: 2.25;\n}\n.collapseContent__desc--expand {\n -webkit-line-clamp: initial;\n}\n.collapseContent__desc--indent {\n text-indent: 3rem;\n}";
|
|
67
67
|
styleInject(css_248z);
|
|
68
68
|
|
|
69
69
|
// const remUnit = 16;
|
|
@@ -3,13 +3,13 @@ import React__default, { createContext, forwardRef, createElement, useContext, u
|
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import { h as hoistNonReactStatics_cjs } from './hoist-non-react-statics.cjs-3f408ad2.js';
|
|
5
5
|
import axios from 'axios';
|
|
6
|
-
import { M as Modal } from './Modal-
|
|
6
|
+
import { M as Modal } from './Modal-7f799c2e.js';
|
|
7
7
|
import { c as commonjsGlobal, a as getDefaultExportFromCjs } from './_commonjsHelpers-70de2c37.js';
|
|
8
|
-
import { c as classNames } from './index-
|
|
8
|
+
import { c as classNames } from './index-b76a85f4.js';
|
|
9
9
|
import { Input, Button, Box, Typography, FormControl, RadioGroup, FormControlLabel, Radio, TextField, TextareaAutosize } from '@material-ui/core';
|
|
10
|
-
import { S as Select } from './Select-
|
|
10
|
+
import { S as Select } from './Select-7b672be8.js';
|
|
11
11
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
12
|
-
import { r as requireCreateSvgIcon, i as interopRequireDefault, a as interopRequireWildcard } from './createSvgIcon-
|
|
12
|
+
import { r as requireCreateSvgIcon, i as interopRequireDefault, a as interopRequireWildcard } from './createSvgIcon-e3803ee1.js';
|
|
13
13
|
import { getIntl } from './globalConfig';
|
|
14
14
|
|
|
15
15
|
var isArray$1 = Array.isArray;
|
|
@@ -9992,7 +9992,7 @@ const getConfig = () => ({
|
|
|
9992
9992
|
color: [getRandom(100, 255, 3), getRandom(100, 255, 4), getRandom(100, 255, 3), getRandom(100, 255, 3)]
|
|
9993
9993
|
});
|
|
9994
9994
|
|
|
9995
|
-
var css_248z$2 = ".vcode {\n display: block;\n align-items: center
|
|
9995
|
+
var css_248z$2 = ".vcode {\n display: block;\n align-items: center;\n}\n.vcode__image {\n margin-top: 10px;\n background: rgba(0, 0, 0, 0.8);\n width: 160px;\n overflow: hidden;\n height: 50px;\n text-align: center;\n position: relative;\n}\n.vcode__image:hover .vcode__mask {\n opacity: 0.8;\n}\n.vcode__image__mask {\n position: absolute;\n width: 100%;\n top: 0;\n line-height: 50px;\n background-color: rgba(0, 0, 0, 0.95);\n opacity: 0;\n z-index: 1;\n transition: opacity 0.3s ease-in-out;\n cursor: pointer;\n}\n.vcode__image__itemStr {\n float: left;\n margin-left: 20px;\n}\n.vcode__box {\n display: flex;\n align-items: center;\n}\n.vcode__error {\n color: #d93333;\n font-weight: bold;\n margin-left: 1rem;\n}\n\n#bgi {\n top: 0;\n left: 0;\n position: absolute;\n width: 100%;\n height: 100%;\n}";
|
|
9996
9996
|
styleInject(css_248z$2);
|
|
9997
9997
|
|
|
9998
9998
|
const VCode = _ref => {
|
|
@@ -10082,7 +10082,7 @@ var googleLogin = {exports: {}};
|
|
|
10082
10082
|
|
|
10083
10083
|
var GoogleLogin = /*@__PURE__*/getDefaultExportFromCjs(googleLogin.exports);
|
|
10084
10084
|
|
|
10085
|
-
var css_248z$1 = ".emailInput__loginSDK {\n display: flex;\n align-items: center
|
|
10085
|
+
var css_248z$1 = ".emailInput__loginSDK {\n display: flex;\n align-items: center;\n}\n.emailInput__loginSDK__google {\n padding: 6px 10px 4px !important;\n border: 1px solid black !important;\n}\n.emailInput__loginSDK__google div {\n padding: 0 !important;\n}\n.emailInput__loginSDK__google span {\n padding: 0 !important;\n}\n.emailInput__loginSDK__fb {\n padding: 9px 10px !important;\n border-radius: 3px;\n margin-left: 10px;\n background-color: #4c69ba;\n border: 1px solid black;\n color: white;\n}\n.emailInput__loginSDK__fb i {\n margin-right: 10px;\n}\n.emailInput__operator {\n margin-top: 10px;\n}";
|
|
10086
10086
|
styleInject(css_248z$1);
|
|
10087
10087
|
|
|
10088
10088
|
const EmailInput = _ref => {
|
|
@@ -11540,7 +11540,7 @@ Upload.propTypes = {
|
|
|
11540
11540
|
onChange: PropTypes.func.isRequired
|
|
11541
11541
|
};
|
|
11542
11542
|
|
|
11543
|
-
var css_248z = ".formItem {\n width: 100%;\n margin-bottom: 16px
|
|
11543
|
+
var css_248z = ".formItem {\n width: 100%;\n margin-bottom: 16px;\n}\n.formItem:last-child {\n margin-bottom: initial;\n}\n.formItem__title {\n display: flex;\n font-size: 16px;\n font-weight: bold;\n}\n.formItem__title__star {\n margin-left: 3px;\n color: #d93333;\n}\n.formItem__operator {\n margin: 2px 0;\n font-size: 14px;\n}\n.formItem__operator__radio__desc {\n margin-left: 35px !important;\n}\n.formItem__operator--unsupport {\n border: 1px solid #d93333;\n background: pink;\n color: black;\n padding: 5px 10px;\n}\n.formItem__error {\n color: #d93333;\n font-weight: bold;\n}\n.formItem textarea {\n border: 1px solid #d9d9d9;\n border-radius: 3px;\n width: 100%;\n background: transparent;\n padding: 6px 10px;\n}\n.formItem ::-webkit-calendar-picker-indicator {\n filter: invert(1);\n}";
|
|
11544
11544
|
styleInject(css_248z);
|
|
11545
11545
|
|
|
11546
11546
|
const FormItem = _ref => {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
export { C as default } from './ContactModal-
|
|
1
|
+
export { C as default } from './ContactModal-f33af93a.js';
|
|
2
2
|
import './_rollupPluginBabelHelpers-a52356f6.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'prop-types';
|
|
5
5
|
import './hoist-non-react-statics.cjs-3f408ad2.js';
|
|
6
6
|
import 'react-is';
|
|
7
7
|
import 'axios';
|
|
8
|
-
import './Modal-
|
|
9
|
-
import './index-
|
|
8
|
+
import './Modal-7f799c2e.js';
|
|
9
|
+
import './index-b76a85f4.js';
|
|
10
10
|
import '@material-ui/core';
|
|
11
11
|
import '@material-ui/icons';
|
|
12
|
-
import './Button-
|
|
12
|
+
import './Button-305b69a0.js';
|
|
13
13
|
import './style-inject.es-1f59c1d0.js';
|
|
14
|
-
import './Spin-
|
|
14
|
+
import './Spin-8dc60bfe.js';
|
|
15
15
|
import './_commonjsHelpers-70de2c37.js';
|
|
16
|
-
import './Select-
|
|
17
|
-
import './Empty-
|
|
18
|
-
import './createSvgIcon-
|
|
16
|
+
import './Select-7b672be8.js';
|
|
17
|
+
import './Empty-bf77164f.js';
|
|
18
|
+
import './createSvgIcon-e3803ee1.js';
|
|
19
19
|
import './defaultTheme-ed7746fe.js';
|
|
20
20
|
import '@material-ui/styles';
|
|
21
21
|
import 'react-dom';
|
|
@@ -3,7 +3,7 @@ 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-
|
|
6
|
+
import { S as Select } from './Select-7b672be8.js';
|
|
7
7
|
import { useHistory, useRouteMatch } from 'react-router-dom';
|
|
8
8
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
9
9
|
|
|
@@ -72,7 +72,7 @@ DrawerList.propTypes = {
|
|
|
72
72
|
setOpen: PropTypes.func.isRequired
|
|
73
73
|
};
|
|
74
74
|
|
|
75
|
-
var css_248z = ".drawer__icon {\n display: none !important
|
|
75
|
+
var css_248z = ".drawer__icon {\n display: none !important;\n}\n.drawer__header {\n display: flex;\n align-items: center;\n padding: 20px;\n}\n.drawer__header-title {\n font-size: 18px;\n font-weight: bold;\n}\n.drawer__list {\n padding: 10px !important;\n}\n.drawer__list .MuiSvgIcon-root {\n margin-left: 8px;\n}\n.drawer__lang {\n margin: 24px 36px !important;\n}\n\n@media screen and (max-width: 768px) {\n .drawer {\n display: flex;\n justify-content: flex-end;\n }\n .drawer__icon {\n display: flex !important;\n }\n}";
|
|
76
76
|
styleInject(css_248z);
|
|
77
77
|
|
|
78
78
|
var Drawer = function Drawer(_ref) {
|
package/lib/components/Drawer.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { D as default } from './Drawer-
|
|
1
|
+
export { D as default } from './Drawer-f6842ba3.js';
|
|
2
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-
|
|
8
|
-
import './index-
|
|
9
|
-
import './Empty-
|
|
7
|
+
import './Select-7b672be8.js';
|
|
8
|
+
import './index-b76a85f4.js';
|
|
9
|
+
import './Empty-bf77164f.js';
|
|
10
10
|
import './style-inject.es-1f59c1d0.js';
|
|
11
11
|
import 'react-router-dom';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as _slicedToArray } from './_rollupPluginBabelHelpers-a52356f6.js';
|
|
2
2
|
import React__default, { useRef, useState } from 'react';
|
|
3
|
-
import { c as classNames } from './index-
|
|
3
|
+
import { c as classNames } from './index-b76a85f4.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';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
|
-
import { c as classNames } from './index-
|
|
3
|
+
import { c as classNames } from './index-b76a85f4.js';
|
|
4
4
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
5
5
|
|
|
6
6
|
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
7
|
|
|
8
|
-
var css_248z = ".antd-empty {\n width: 100%;\n font-size: 1rem;\n line-height: 1.5715;\n text-align: center;\n overflow: hidden;\n height: 100
|
|
8
|
+
var css_248z = ".antd-empty {\n width: 100%;\n font-size: 1rem;\n line-height: 1.5715;\n text-align: center;\n overflow: hidden;\n height: 100%;\n}\n.antd-empty .ant-empty-image {\n height: 100px;\n margin-bottom: 8px;\n}\n.antd-empty .ant-empty-image img {\n height: calc(100% - 22px);\n margin: auto;\n}\n.antd-empty .antd-empty-description {\n color: rgba(0, 0, 0, 0.85);\n}";
|
|
9
9
|
styleInject(css_248z);
|
|
10
10
|
|
|
11
11
|
var Empty = function Empty(_ref) {
|
package/lib/components/Empty.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
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
|
-
import { c as classNames } from './index-
|
|
4
|
+
import { c as classNames } from './index-b76a85f4.js';
|
|
5
5
|
import { ExitToApp } from '@material-ui/icons';
|
|
6
6
|
import { Dialog, DialogContent, DialogContentText, DialogActions, Button } from '@material-ui/core';
|
|
7
7
|
import { f as fileDownload, j as jsonTxt, a as jsonExcel } from './dataExport-d55d6fa3.js';
|
|
8
8
|
import { getIntl } from './globalConfig';
|
|
9
9
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
10
10
|
|
|
11
|
-
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
|
|
11
|
+
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}\n.exportButton--right {\n justify-content: flex-end;\n}\n.exportButton__text {\n display: flex;\n align-items: center;\n text-decoration: underline;\n cursor: pointer;\n}\n.exportButton__text__icon {\n font-size: 2rem;\n margin-right: 4px;\n}\n.exportButton__text:hover {\n font-weight: bold;\n}";
|
|
12
12
|
styleInject(css_248z);
|
|
13
13
|
|
|
14
14
|
var ExportButton = function ExportButton(_ref) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
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
|
-
import { c as classNames } from './index-
|
|
4
|
+
import { c as classNames } from './index-b76a85f4.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-
|
|
8
|
+
import { T as Tooltip } from './Tooltip-6ebfa9c1.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
|
|
|
@@ -3143,7 +3143,7 @@ const ResetMobileIcon = _ref => {
|
|
|
3143
3143
|
})));
|
|
3144
3144
|
};
|
|
3145
3145
|
|
|
3146
|
-
var css_248z = ".extraTools {\n width: 100%;\n display: inline-flex;\n justify-content: flex-end;\n align-items: center;\n gap: 1rem;\n padding: 0px 20px;\n padding-top: 12px
|
|
3146
|
+
var css_248z = ".extraTools {\n width: 100%;\n display: inline-flex;\n justify-content: flex-end;\n align-items: center;\n gap: 1rem;\n padding: 0px 20px;\n padding-top: 12px;\n}\n.extraTools__share button {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.extraTools__download {\n cursor: pointer;\n}\n.extraTools__download-icon {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.extraTools__fullscreenBtn {\n cursor: pointer;\n padding-top: 0;\n}\n.extraTools__fullscreenBtn-icon {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.extraTools__fontsize {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.extraTools .font-size-changer,\n.extraTools .font-size-changer-buttons,\n.extraTools .font-size-up,\n.extraTools .font-size-down,\n.extraTools .tooltip {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.extraTools .font-size-up {\n width: 32px !important;\n cursor: pointer;\n margin-right: 16px !important;\n}\n.extraTools .font-size-down {\n cursor: pointer;\n width: 32px !important;\n}\n.extraTools .fullscreenExit {\n text-align: right;\n cursor: pointer;\n border: 0;\n}\n.extraTools #download-menu .MuiMenuItem-root {\n color: #4e3a16;\n width: auto;\n overflow: hidden;\n font-size: 1rem;\n box-sizing: border-box;\n min-height: 48px;\n font-weight: 400;\n line-height: 1;\n padding-top: 1rem;\n white-space: initial;\n border-bottom: 0;\n letter-spacing: 0.00938em;\n padding-bottom: 1rem;\n}";
|
|
3147
3147
|
styleInject(css_248z);
|
|
3148
3148
|
|
|
3149
3149
|
/* eslint-disable prefer-destructuring */
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { E as default } from './ExtraTools-
|
|
1
|
+
export { E as default } from './ExtraTools-b9cbb205.js';
|
|
2
2
|
import './_rollupPluginBabelHelpers-a52356f6.js';
|
|
3
3
|
import 'react';
|
|
4
|
-
import './index-
|
|
4
|
+
import './index-b76a85f4.js';
|
|
5
5
|
import 'prop-types';
|
|
6
6
|
import './_commonjsHelpers-70de2c37.js';
|
|
7
7
|
import '@material-ui/core';
|
|
8
|
-
import './Tooltip-
|
|
8
|
+
import './Tooltip-6ebfa9c1.js';
|
|
9
9
|
import './style-inject.es-1f59c1d0.js';
|
|
10
10
|
import './dataExport-d55d6fa3.js';
|
package/lib/components/Filter.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { f as _taggedTemplateLiteral, e as _defineProperty } from './_rollupPluginBabelHelpers-a52356f6.js';
|
|
2
2
|
import React__default, { useContext, createElement, useCallback } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
|
-
import { c as classNames } from './index-
|
|
5
|
-
import { q as queryString } from './index-
|
|
4
|
+
import { c as classNames } from './index-b76a85f4.js';
|
|
5
|
+
import { q as queryString } from './index-b47819f3.js';
|
|
6
6
|
import { useHistory } from 'react-router-dom';
|
|
7
7
|
import { isValidElementType, typeOf } from 'react-is';
|
|
8
8
|
import { h as hoistNonReactStatics_cjs } from './hoist-non-react-statics.cjs-3f408ad2.js';
|
|
@@ -717,7 +717,7 @@ historyAppendSearch.propTypes = {
|
|
|
717
717
|
history: PropTypes.objectOf(PropTypes.any).isRequired
|
|
718
718
|
};
|
|
719
719
|
|
|
720
|
-
var css_248z = "@charset \"UTF-8\";\n.filter {\n flex: 1;\n font-size: 1.5rem
|
|
720
|
+
var css_248z = "@charset \"UTF-8\";\n.filter {\n flex: 1;\n font-size: 1.5rem;\n}\n.filter__item {\n cursor: pointer;\n}\n.filter__item--active {\n font-weight: 500;\n}\n.filter__item--disabled {\n pointer-events: none;\n}\n.filter__item:hover {\n font-weight: 500;\n}\n.filter__item::after {\n content: \".\";\n}\n.filter__item:last-child::after {\n content: none;\n}";
|
|
721
721
|
styleInject(css_248z);
|
|
722
722
|
|
|
723
723
|
var _templateObject;
|
package/lib/components/Footer.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { a as _slicedToArray, d as _typeof } from './_rollupPluginBabelHelpers-a52356f6.js';
|
|
2
2
|
import React__default, { useState, useEffect } from 'react';
|
|
3
|
-
import { c as classNames } from './index-
|
|
3
|
+
import { c as classNames } from './index-b76a85f4.js';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
5
5
|
import axios from 'axios';
|
|
6
|
-
import { C as ContactModal } from './ContactModal-
|
|
7
|
-
import { S as Spin } from './Spin-
|
|
6
|
+
import { C as ContactModal } from './ContactModal-f33af93a.js';
|
|
7
|
+
import { S as Spin } from './Spin-8dc60bfe.js';
|
|
8
8
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
9
9
|
import './hoist-non-react-statics.cjs-3f408ad2.js';
|
|
10
10
|
import 'react-is';
|
|
11
|
-
import './Modal-
|
|
11
|
+
import './Modal-7f799c2e.js';
|
|
12
12
|
import '@material-ui/core';
|
|
13
13
|
import '@material-ui/icons';
|
|
14
|
-
import './Button-
|
|
14
|
+
import './Button-305b69a0.js';
|
|
15
15
|
import './_commonjsHelpers-70de2c37.js';
|
|
16
|
-
import './Select-
|
|
17
|
-
import './Empty-
|
|
18
|
-
import './createSvgIcon-
|
|
16
|
+
import './Select-7b672be8.js';
|
|
17
|
+
import './Empty-bf77164f.js';
|
|
18
|
+
import './createSvgIcon-e3803ee1.js';
|
|
19
19
|
import './defaultTheme-ed7746fe.js';
|
|
20
20
|
import '@material-ui/styles';
|
|
21
21
|
import 'react-dom';
|
|
@@ -65,7 +65,7 @@ NmtlLogo.propTypes = {
|
|
|
65
65
|
onClick: PropTypes.func
|
|
66
66
|
};
|
|
67
67
|
|
|
68
|
-
var css_248z = ".footer {\n display: flex;\n justify-content: center;\n width: 100%;\n position: relative;\n z-index: 1
|
|
68
|
+
var css_248z = ".footer {\n display: flex;\n justify-content: center;\n width: 100%;\n position: relative;\n z-index: 1;\n}\n.footer__bg {\n width: 100%;\n position: absolute;\n bottom: 0;\n}\n.footer__bg-mobile {\n display: none;\n object-position: 0 0;\n object-fit: cover;\n height: 50rem;\n}\n.footer__bg--single {\n bottom: 100%;\n}\n.footer__logo {\n width: 220px;\n cursor: pointer;\n margin: 2rem calc(8.3333333333% + 2rem);\n}\n.footer__content {\n display: flex;\n align-items: baseline;\n margin: 0 calc(8.3333333333% + 2rem);\n font-size: 1.25rem;\n}\n.footer__content__item {\n display: flex;\n flex-direction: column;\n width: 33%;\n min-width: 300px;\n margin-bottom: 2rem;\n color: white;\n}\n.footer__content__item:last-child {\n margin-bottom: 4rem;\n}\n.footer__content__item__link {\n color: white;\n cursor: pointer;\n text-decoration: none;\n}\n.footer__content__item__link:hover {\n text-decoration: underline;\n}\n.footer .customSpin {\n z-index: 2;\n}\n\n@media only screen and (max-width: 1160px) {\n .footer__content {\n flex-direction: column;\n }\n}\n@media only screen and (max-width: 767px) {\n .footer__bg {\n display: none;\n }\n .footer__bg-mobile {\n display: initial;\n }\n .footer__bg--single {\n display: initial;\n }\n .footer__content {\n font-size: 1.25rem;\n }\n}\n@media only screen and (max-width: 484px) {\n .footer__logo {\n margin: 2rem;\n }\n .footer__content {\n margin: 2rem 2rem 0;\n font-size: 1rem;\n }\n}";
|
|
69
69
|
styleInject(css_248z);
|
|
70
70
|
|
|
71
71
|
var textClassName = 'footer__content__item__text';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { c as _objectWithoutProperties } from './_rollupPluginBabelHelpers-a52356f6.js';
|
|
2
2
|
import React__default, { useMemo } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
|
-
import { q as queryString } from './index-
|
|
4
|
+
import { q as queryString } from './index-b47819f3.js';
|
|
5
5
|
import { useHistory, Link } from 'react-router-dom';
|
|
6
6
|
import { Tooltip } from '@material-ui/core';
|
|
7
7
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
8
8
|
|
|
9
|
-
var css_248z = ".forwardLink {\n width: -moz-fit-content;\n width: fit-content;\n max-width: 100%;\n display: flex
|
|
9
|
+
var css_248z = ".forwardLink {\n width: -moz-fit-content;\n width: fit-content;\n max-width: 100%;\n display: flex;\n}\n.forwardLink__link {\n color: unset;\n text-decoration: none;\n text-overflow: ellipsis;\n overflow: hidden;\n cursor: pointer;\n display: block;\n width: 100%;\n}\n.forwardLink__link--disabled {\n cursor: not-allowed;\n}";
|
|
10
10
|
styleInject(css_248z);
|
|
11
11
|
|
|
12
12
|
var _excluded = ["className", "title", "target", "disabled", "children", "tip", "onClick"];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { F as default } from './ForwardLink-
|
|
1
|
+
export { F as default } from './ForwardLink-f80fdf67.js';
|
|
2
2
|
import './_rollupPluginBabelHelpers-a52356f6.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'prop-types';
|
|
5
|
-
import './index-
|
|
5
|
+
import './index-b47819f3.js';
|
|
6
6
|
import 'react-router-dom';
|
|
7
7
|
import '@material-ui/core';
|
|
8
8
|
import './style-inject.es-1f59c1d0.js';
|
package/lib/components/Header.js
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
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
|
-
import { c as classNames } from './index-
|
|
4
|
+
import { c as classNames } from './index-b76a85f4.js';
|
|
5
5
|
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-
|
|
10
|
-
import { S as Select } from './Select-
|
|
11
|
-
import { c as checkLanguageSupport, D as Drawer, d as defaultSupportLanguage } from './Drawer-
|
|
9
|
+
import { K as KeywordSearch } from './KeywordSearch-1883b67f.js';
|
|
10
|
+
import { S as Select } from './Select-7b672be8.js';
|
|
11
|
+
import { c as checkLanguageSupport, D as Drawer, d as defaultSupportLanguage } from './Drawer-f6842ba3.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-
|
|
16
|
+
import './Autocomplete-2b5732e8.js';
|
|
17
17
|
import '@material-ui/lab';
|
|
18
|
-
import './createSvgIcon-
|
|
18
|
+
import './createSvgIcon-e3803ee1.js';
|
|
19
19
|
import './defaultTheme-ed7746fe.js';
|
|
20
20
|
import 'react-is';
|
|
21
21
|
import '@material-ui/styles';
|
|
22
22
|
import 'react-dom';
|
|
23
23
|
import './toConsumableArray-dbe8af76.js';
|
|
24
|
-
import './Empty-
|
|
24
|
+
import './Empty-bf77164f.js';
|
|
25
25
|
|
|
26
|
-
var css_248z = "@charset \"UTF-8\";\n.header {\n display: flex;\n align-items: center;\n background: rgba(255, 255, 255, 0.6);\n background-color: rgba(255, 255, 255, 0.6);\n padding: 12px 36px !important;\n position: fixed;\n top: 0;\n z-index: 10;\n width: 100% !important;\n transition: top 0.3s ease-in-out;\n box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1)
|
|
26
|
+
var css_248z = "@charset \"UTF-8\";\n.header {\n display: flex;\n align-items: center;\n background: rgba(255, 255, 255, 0.6);\n background-color: rgba(255, 255, 255, 0.6);\n padding: 12px 36px !important;\n position: fixed;\n top: 0;\n z-index: 10;\n width: 100% !important;\n transition: top 0.3s ease-in-out;\n box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);\n}\n.header__logo {\n display: flex;\n width: -moz-fit-content !important;\n width: fit-content !important;\n margin-right: 30px !important;\n cursor: pointer;\n}\n.header__logo__img {\n display: flex;\n align-items: center;\n}\n.header__logo__title {\n white-space: nowrap;\n margin-left: 1rem !important;\n font-size: 1.5rem !important;\n font-weight: 700 !important;\n font-family: \"Noto Sans TC\" !important;\n}\n.header__links {\n display: flex;\n justify-content: flex-end;\n padding-right: 14px;\n}\n.header__links a {\n text-decoration: none;\n}\n.header__links--full {\n flex: 1;\n}\n.header__links__item {\n color: rgba(0, 0, 0, 0.85);\n font-size: 1.125rem !important;\n font-weight: 500 !important;\n white-space: nowrap;\n padding: 6px 14px;\n font-family: \"Noto Sans TC\" !important;\n}\n.header__links__item--active .header__links__item {\n font-weight: 800 !important;\n background: transparent;\n border-radius: 45px;\n}\n.header__links__item:hover {\n font-weight: 800 !important;\n}\n.header__language {\n min-width: 100px !important;\n}\n.header__searchIcon {\n display: none !important;\n}\n@media screen and (max-width: 768px) {\n .header--smallUseSearchIcon .header__searchIcon {\n display: flex !important;\n margin-right: 10px !important;\n }\n .header--smallUseSearchIcon .keywordSearch {\n visibility: hidden;\n flex: 1;\n width: 0;\n }\n}\n.header--hide {\n top: -100px;\n}\n.header--focus .header__links {\n display: none;\n}\n.header .MuiTypography-root {\n width: 100%;\n display: flex;\n align-items: center;\n}\n.header .autocomplete {\n float: right;\n}\n.header .autocomplete .MuiAutocomplete-inputRoot[class*=MuiOutlinedInput-root] {\n padding: 1px 8px !important;\n}\n.header .keywordSearch {\n margin-right: 8px;\n}\n.header .keywordSearch--focus .autocomplete {\n width: 100% !important;\n}\n.header .keywordSearch--animation .autocomplete {\n width: 240px;\n transition: width 0.3s ease-in-out;\n}\n\n/* 避免寬度460以下炸版 */\n@media screen and (max-width: 460px) {\n .header .keywordSearch--animation .autocomplete {\n width: 100%;\n }\n}\n@media screen and (max-width: 768px) {\n .header {\n padding: 12px 15px !important;\n }\n .header__logo {\n margin-right: 16px !important;\n }\n .header__logo__title {\n display: none !important;\n }\n .header__links {\n display: none;\n }\n .header__links__item {\n font-size: 1rem !important;\n }\n .header__language {\n display: none !important;\n }\n .header--focus .header__logo {\n display: none !important;\n }\n\n .autocomplete__icon {\n display: none !important;\n }\n}";
|
|
27
27
|
styleInject(css_248z);
|
|
28
28
|
|
|
29
29
|
var showDarkModeSwitch = false;
|