@daoyi/nmtl-ui 2.0.1-beta.55 → 2.0.1-beta.58
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-8344febd.js → Autocomplete-029d41ba.js} +4 -4
- package/lib/components/Autocomplete.js +4 -4
- package/lib/components/Avatar.js +6 -4
- package/lib/components/BackTop.js +4 -4
- package/lib/components/BarChart.js +2 -2
- package/lib/components/Breadcrumbs.js +3 -3
- package/lib/components/{Button-2f8f0493.js → Button-1b58ff47.js} +2 -2
- package/lib/components/Button.js +2 -2
- package/lib/components/Carousel.js +3 -62
- package/lib/components/Checkbox.js +1 -1
- package/lib/components/CollapseContent.js +4 -4
- package/lib/components/{ContactModal-de7f221d.js → ContactModal-73f43220.js} +9 -9
- package/lib/components/ContactModal.js +9 -9
- package/lib/components/{Drawer-7f404d90.js → Drawer-d67f6c95.js} +3 -3
- package/lib/components/Drawer.js +5 -5
- package/lib/components/Dropdown.js +2 -2
- package/lib/components/{Empty-3637b766.js → Empty-53ff1821.js} +2 -2
- package/lib/components/Empty.js +2 -2
- package/lib/components/ExportButton.js +3 -3
- package/lib/components/{ExtraTools-d5b61340.js → ExtraTools-e3040d0d.js} +6 -67
- package/lib/components/ExtraTools.js +4 -4
- package/lib/components/Filter.js +4 -4
- package/lib/components/Footer.js +10 -10
- package/lib/components/{ForwardLink-a3df0bfe.js → ForwardLink-d1a33ce9.js} +7 -7
- package/lib/components/ForwardLink.js +3 -3
- package/lib/components/Header.js +8 -8
- package/lib/components/Image.js +3 -3
- package/lib/components/Input.js +2 -2
- package/lib/components/InputMethod.js +8 -8
- package/lib/components/{KeywordSearch-6a880a43.js → KeywordSearch-f3ebeff0.js} +4 -4
- package/lib/components/KeywordSearch.js +5 -5
- package/lib/components/KeywordTicker.js +5 -5
- package/lib/components/Keywords.js +9 -9
- package/lib/components/Loading.js +2 -2
- package/lib/components/MUITheme.js +1 -1
- package/lib/components/{Modal-572e17ea.js → Modal-06099b6d.js} +4 -4
- package/lib/components/Modal.js +4 -4
- package/lib/components/{MoreButton-80996b5f.js → MoreButton-641c3827.js} +2 -2
- package/lib/components/MoreButton.js +2 -2
- package/lib/components/Radio.js +1 -1
- package/lib/components/SNA.js +5 -5
- package/lib/components/{Select-89e69867.js → Select-2793e2a5.js} +4 -4
- package/lib/components/Select.js +4 -4
- package/lib/components/{Spin-ebf79c17.js → Spin-9a7c89ed.js} +2 -2
- package/lib/components/Spin.js +2 -2
- package/lib/components/Table.js +1 -1
- package/lib/components/{Tooltip-eb035cd6.js → Tooltip-f3afa927.js} +3 -3
- package/lib/components/Tooltip.js +3 -3
- package/lib/components/{_rollupPluginBabelHelpers-ed61ffc0.js → _rollupPluginBabelHelpers-a52356f6.js} +24 -42
- package/lib/components/globalConfig.js +0 -15
- package/lib/components/{index-f491ebce.js → index-a7369dc5.js} +1 -1
- package/lib/utils/{_rollupPluginBabelHelpers-a6e0e6e3.js → _rollupPluginBabelHelpers-8dd26e1a.js} +24 -42
- package/lib/utils/arrayMerge.js +4853 -0
- package/lib/utils/exportXlsx.js +1 -1
- package/lib/utils/historyAppendSearch.js +1 -1
- package/lib/utils/snaPreProcess.js +1 -1
- package/package.json +1 -1
- /package/lib/components/{createSvgIcon-48da8b6e.js → createSvgIcon-af6a82b5.js} +0 -0
- /package/lib/components/{index-7b60a97d.js → index-a69b9b9d.js} +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { _ as _extends, a as _slicedToArray, b as _objectSpread2 } from './_rollupPluginBabelHelpers-
|
|
1
|
+
import { _ as _extends, 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-a7369dc5.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
9
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
10
|
-
import { E as Empty } from './Empty-
|
|
10
|
+
import { E as Empty } from './Empty-53ff1821.js';
|
|
11
11
|
|
|
12
12
|
var useAutocomplete = (_ref => {
|
|
13
13
|
let {
|
|
@@ -103,7 +103,7 @@ var useAutocomplete = (_ref => {
|
|
|
103
103
|
};
|
|
104
104
|
});
|
|
105
105
|
|
|
106
|
-
var css_248z = ".autocomplete .MuiAutocomplete-inputRoot[class*=
|
|
106
|
+
var css_248z = ".autocomplete .MuiAutocomplete-inputRoot[class*=MuiOutlinedInput-root] {\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}";
|
|
107
107
|
styleInject(css_248z);
|
|
108
108
|
|
|
109
109
|
var Autocomplete = function Autocomplete(props) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { A as default } from './Autocomplete-
|
|
2
|
-
import './_rollupPluginBabelHelpers-
|
|
1
|
+
export { A as default } from './Autocomplete-029d41ba.js';
|
|
2
|
+
import './_rollupPluginBabelHelpers-a52356f6.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'prop-types';
|
|
5
|
-
import './index-
|
|
5
|
+
import './index-a7369dc5.js';
|
|
6
6
|
import './debounce-127da66c.js';
|
|
7
7
|
import './isObjectLike-e111475d.js';
|
|
8
8
|
import './_commonjsHelpers-70de2c37.js';
|
|
@@ -10,4 +10,4 @@ import '@material-ui/lab';
|
|
|
10
10
|
import '@material-ui/core';
|
|
11
11
|
import '@material-ui/icons';
|
|
12
12
|
import './style-inject.es-1f59c1d0.js';
|
|
13
|
-
import './Empty-
|
|
13
|
+
import './Empty-53ff1821.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-a7369dc5.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';
|
|
@@ -11,12 +11,14 @@ var Avatar = function Avatar(_ref) {
|
|
|
11
11
|
var className = _ref.className,
|
|
12
12
|
shape = _ref.shape,
|
|
13
13
|
src = _ref.src,
|
|
14
|
-
_onError = _ref.onError
|
|
15
|
-
|
|
14
|
+
_onError = _ref.onError,
|
|
15
|
+
_ref$defaultImg = _ref.defaultImg,
|
|
16
|
+
defaultImg = _ref$defaultImg === void 0 ? '' : _ref$defaultImg;
|
|
17
|
+
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(Avatar$1, {
|
|
16
18
|
className: classNames('avatar', className),
|
|
17
19
|
variant: shape,
|
|
18
20
|
src: src
|
|
19
|
-
}, /*#__PURE__*/React__default.createElement("img", {
|
|
21
|
+
}, defaultImg), typeof _onError === 'function' && /*#__PURE__*/React__default.createElement("img", {
|
|
20
22
|
src: src,
|
|
21
23
|
onError: function onError() {
|
|
22
24
|
return _onError();
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { a as _slicedToArray } from './_rollupPluginBabelHelpers-
|
|
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-a7369dc5.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-af6a82b5.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-a7369dc5.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-a7369dc5.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-a7369dc5.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-1b58ff47.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'prop-types';
|
|
4
|
-
import './index-
|
|
4
|
+
import './index-a7369dc5.js';
|
|
5
5
|
import '@material-ui/core';
|
|
6
6
|
import './style-inject.es-1f59c1d0.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as _objectWithoutProperties$1, b as _objectSpread2, _ as _extends$3 } from './_rollupPluginBabelHelpers-
|
|
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 { c as classNames } from './index-
|
|
3
|
+
import { a as classnames, c as classNames } from './index-a7369dc5.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';
|
|
@@ -432,65 +432,6 @@ function toNumber(value) {
|
|
|
432
432
|
|
|
433
433
|
var lodash_debounce = debounce;
|
|
434
434
|
|
|
435
|
-
var classnames = {exports: {}};
|
|
436
|
-
|
|
437
|
-
/*!
|
|
438
|
-
Copyright (c) 2018 Jed Watson.
|
|
439
|
-
Licensed under the MIT License (MIT), see
|
|
440
|
-
http://jedwatson.github.io/classnames
|
|
441
|
-
*/
|
|
442
|
-
|
|
443
|
-
(function (module) {
|
|
444
|
-
/* global define */
|
|
445
|
-
|
|
446
|
-
(function () {
|
|
447
|
-
|
|
448
|
-
var hasOwn = {}.hasOwnProperty;
|
|
449
|
-
|
|
450
|
-
function classNames() {
|
|
451
|
-
var classes = [];
|
|
452
|
-
|
|
453
|
-
for (var i = 0; i < arguments.length; i++) {
|
|
454
|
-
var arg = arguments[i];
|
|
455
|
-
if (!arg) continue;
|
|
456
|
-
|
|
457
|
-
var argType = typeof arg;
|
|
458
|
-
|
|
459
|
-
if (argType === 'string' || argType === 'number') {
|
|
460
|
-
classes.push(arg);
|
|
461
|
-
} else if (Array.isArray(arg)) {
|
|
462
|
-
if (arg.length) {
|
|
463
|
-
var inner = classNames.apply(null, arg);
|
|
464
|
-
if (inner) {
|
|
465
|
-
classes.push(inner);
|
|
466
|
-
}
|
|
467
|
-
}
|
|
468
|
-
} else if (argType === 'object') {
|
|
469
|
-
if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {
|
|
470
|
-
classes.push(arg.toString());
|
|
471
|
-
continue;
|
|
472
|
-
}
|
|
473
|
-
|
|
474
|
-
for (var key in arg) {
|
|
475
|
-
if (hasOwn.call(arg, key) && arg[key]) {
|
|
476
|
-
classes.push(key);
|
|
477
|
-
}
|
|
478
|
-
}
|
|
479
|
-
}
|
|
480
|
-
}
|
|
481
|
-
|
|
482
|
-
return classes.join(' ');
|
|
483
|
-
}
|
|
484
|
-
|
|
485
|
-
if (module.exports) {
|
|
486
|
-
classNames.default = classNames;
|
|
487
|
-
module.exports = classNames;
|
|
488
|
-
} else {
|
|
489
|
-
window.classNames = classNames;
|
|
490
|
-
}
|
|
491
|
-
}());
|
|
492
|
-
} (classnames));
|
|
493
|
-
|
|
494
435
|
var innerSliderUtils = {};
|
|
495
436
|
|
|
496
437
|
Object.defineProperty(innerSliderUtils, "__esModule", {
|
|
@@ -4658,7 +4599,7 @@ styleInject(css_248z$2);
|
|
|
4658
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";
|
|
4659
4600
|
styleInject(css_248z$1);
|
|
4660
4601
|
|
|
4661
|
-
var css_248z = ".carousel .slick-arrow {\n display: none !important
|
|
4602
|
+
var css_248z = ".carousel .slick-arrow {\n display: none !important;\n}";
|
|
4662
4603
|
styleInject(css_248z);
|
|
4663
4604
|
|
|
4664
4605
|
var _excluded = ["className", "autoplay", "children"];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as _objectWithoutProperties, _ as _extends } from './_rollupPluginBabelHelpers-
|
|
1
|
+
import { c as _objectWithoutProperties, _ as _extends } from './_rollupPluginBabelHelpers-a52356f6.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import { FormControlLabel, Checkbox as Checkbox$1 } from '@material-ui/core';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as _slicedToArray } from './_rollupPluginBabelHelpers-
|
|
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-a7369dc5.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-641c3827.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;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { _ as _extends$1, a as _slicedToArray$2, b as _objectSpread2, e as _defineProperty$1 } from './_rollupPluginBabelHelpers-
|
|
1
|
+
import { _ as _extends$1, a as _slicedToArray$2, b as _objectSpread2, e as _defineProperty$1 } from './_rollupPluginBabelHelpers-a52356f6.js';
|
|
2
2
|
import React__default, { createContext, forwardRef, createElement, useContext, useRef, useEffect, useReducer, useCallback, useMemo, useLayoutEffect, Component, useState, useImperativeHandle, Fragment } from 'react';
|
|
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-06099b6d.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-a7369dc5.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-2793e2a5.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-af6a82b5.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\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 => {
|
|
@@ -10072,7 +10072,7 @@ var googleLogin = {exports: {}};
|
|
|
10072
10072
|
|
|
10073
10073
|
var GoogleLogin = /*@__PURE__*/getDefaultExportFromCjs(googleLogin.exports);
|
|
10074
10074
|
|
|
10075
|
-
var css_248z$1 = ".emailInput__loginSDK {\n display: flex;\n align-items: center
|
|
10075
|
+
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}";
|
|
10076
10076
|
styleInject(css_248z$1);
|
|
10077
10077
|
|
|
10078
10078
|
const EmailInput = _ref => {
|
|
@@ -10200,7 +10200,7 @@ function __generator(thisArg, body) {
|
|
|
10200
10200
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
10201
10201
|
function step(op) {
|
|
10202
10202
|
if (f) throw new TypeError("Generator is already executing.");
|
|
10203
|
-
while (_) try {
|
|
10203
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
10204
10204
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
10205
10205
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
10206
10206
|
switch (op[0]) {
|
|
@@ -11530,7 +11530,7 @@ Upload.propTypes = {
|
|
|
11530
11530
|
onChange: PropTypes.func.isRequired
|
|
11531
11531
|
};
|
|
11532
11532
|
|
|
11533
|
-
var css_248z = ".formItem {\n width: 100%;\n margin-bottom: 16px
|
|
11533
|
+
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}";
|
|
11534
11534
|
styleInject(css_248z);
|
|
11535
11535
|
|
|
11536
11536
|
const FormItem = _ref => {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
export { C as default } from './ContactModal-
|
|
2
|
-
import './_rollupPluginBabelHelpers-
|
|
1
|
+
export { C as default } from './ContactModal-73f43220.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';
|
|
6
6
|
import 'react-is';
|
|
7
7
|
import 'axios';
|
|
8
|
-
import './Modal-
|
|
9
|
-
import './index-
|
|
8
|
+
import './Modal-06099b6d.js';
|
|
9
|
+
import './index-a7369dc5.js';
|
|
10
10
|
import '@material-ui/core';
|
|
11
11
|
import '@material-ui/icons';
|
|
12
|
-
import './Button-
|
|
12
|
+
import './Button-1b58ff47.js';
|
|
13
13
|
import './style-inject.es-1f59c1d0.js';
|
|
14
|
-
import './Spin-
|
|
14
|
+
import './Spin-9a7c89ed.js';
|
|
15
15
|
import './_commonjsHelpers-70de2c37.js';
|
|
16
|
-
import './Select-
|
|
17
|
-
import './Empty-
|
|
18
|
-
import './createSvgIcon-
|
|
16
|
+
import './Select-2793e2a5.js';
|
|
17
|
+
import './Empty-53ff1821.js';
|
|
18
|
+
import './createSvgIcon-af6a82b5.js';
|
|
19
19
|
import './defaultTheme-19a14721.js';
|
|
20
20
|
import '@material-ui/styles';
|
|
21
21
|
import 'react-dom';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as _slicedToArray } from './_rollupPluginBabelHelpers-
|
|
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-
|
|
6
|
+
import { S as Select } from './Select-2793e2a5.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-
|
|
2
|
-
import './_rollupPluginBabelHelpers-
|
|
1
|
+
export { D as default } from './Drawer-d67f6c95.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-
|
|
8
|
-
import './index-
|
|
9
|
-
import './Empty-
|
|
7
|
+
import './Select-2793e2a5.js';
|
|
8
|
+
import './index-a7369dc5.js';
|
|
9
|
+
import './Empty-53ff1821.js';
|
|
10
10
|
import './style-inject.es-1f59c1d0.js';
|
|
11
11
|
import 'react-router-dom';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as _slicedToArray } from './_rollupPluginBabelHelpers-
|
|
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-a7369dc5.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-a7369dc5.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
|
-
import { a as _slicedToArray } from './_rollupPluginBabelHelpers-
|
|
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-a7369dc5.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
|
-
import { _ as _extends } from './_rollupPluginBabelHelpers-
|
|
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-a7369dc5.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-f3afa927.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
|
|
|
@@ -66,67 +66,6 @@ function objectToGetParams(object) {
|
|
|
66
66
|
return params.length > 0 ? "?" + params.join('&') : '';
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
var classnames = {exports: {}};
|
|
70
|
-
|
|
71
|
-
/*!
|
|
72
|
-
Copyright (c) 2018 Jed Watson.
|
|
73
|
-
Licensed under the MIT License (MIT), see
|
|
74
|
-
http://jedwatson.github.io/classnames
|
|
75
|
-
*/
|
|
76
|
-
|
|
77
|
-
(function (module) {
|
|
78
|
-
/* global define */
|
|
79
|
-
|
|
80
|
-
(function () {
|
|
81
|
-
|
|
82
|
-
var hasOwn = {}.hasOwnProperty;
|
|
83
|
-
|
|
84
|
-
function classNames() {
|
|
85
|
-
var classes = [];
|
|
86
|
-
|
|
87
|
-
for (var i = 0; i < arguments.length; i++) {
|
|
88
|
-
var arg = arguments[i];
|
|
89
|
-
if (!arg) continue;
|
|
90
|
-
|
|
91
|
-
var argType = typeof arg;
|
|
92
|
-
|
|
93
|
-
if (argType === 'string' || argType === 'number') {
|
|
94
|
-
classes.push(arg);
|
|
95
|
-
} else if (Array.isArray(arg)) {
|
|
96
|
-
if (arg.length) {
|
|
97
|
-
var inner = classNames.apply(null, arg);
|
|
98
|
-
if (inner) {
|
|
99
|
-
classes.push(inner);
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
} else if (argType === 'object') {
|
|
103
|
-
if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {
|
|
104
|
-
classes.push(arg.toString());
|
|
105
|
-
continue;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
for (var key in arg) {
|
|
109
|
-
if (hasOwn.call(arg, key) && arg[key]) {
|
|
110
|
-
classes.push(key);
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
return classes.join(' ');
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
if (module.exports) {
|
|
120
|
-
classNames.default = classNames;
|
|
121
|
-
module.exports = classNames;
|
|
122
|
-
} else {
|
|
123
|
-
window.classNames = classNames;
|
|
124
|
-
}
|
|
125
|
-
}());
|
|
126
|
-
} (classnames));
|
|
127
|
-
|
|
128
|
-
var cx = classnames.exports;
|
|
129
|
-
|
|
130
69
|
var __extends$2 = (undefined && undefined.__extends) || (function () {
|
|
131
70
|
var extendStatics = function (d, b) {
|
|
132
71
|
extendStatics = Object.setPrototypeOf ||
|
|
@@ -277,7 +216,7 @@ var ShareButton$1 = /** @class */ (function (_super) {
|
|
|
277
216
|
}
|
|
278
217
|
ShareButton.prototype.render = function () {
|
|
279
218
|
var _a = this.props; _a.beforeOnClick; var children = _a.children, className = _a.className, disabled = _a.disabled, disabledStyle = _a.disabledStyle, forwardedRef = _a.forwardedRef; _a.networkLink; var networkName = _a.networkName; _a.onShareWindowClose; _a.openShareDialogOnClick; _a.opts; var resetButtonStyle = _a.resetButtonStyle, style = _a.style; _a.url; _a.windowHeight; _a.windowPosition; _a.windowWidth; var rest = __rest$1(_a, ["beforeOnClick", "children", "className", "disabled", "disabledStyle", "forwardedRef", "networkLink", "networkName", "onShareWindowClose", "openShareDialogOnClick", "opts", "resetButtonStyle", "style", "url", "windowHeight", "windowPosition", "windowWidth"]);
|
|
280
|
-
var newClassName =
|
|
219
|
+
var newClassName = classNames('react-share__ShareButton', {
|
|
281
220
|
'react-share__ShareButton--disabled': !!disabled,
|
|
282
221
|
disabled: !!disabled,
|
|
283
222
|
}, className);
|
|
@@ -1131,7 +1070,7 @@ var SocialMediaShareCount = /** @class */ (function (_super) {
|
|
|
1131
1070
|
SocialMediaShareCount.prototype.render = function () {
|
|
1132
1071
|
var _a = this.state, count = _a.count, isLoading = _a.isLoading;
|
|
1133
1072
|
var _b = this.props, _c = _b.children, children = _c === void 0 ? defaultChildren : _c, className = _b.className; _b.getCount; var rest = __rest(_b, ["children", "className", "getCount"]);
|
|
1134
|
-
return (React__default.createElement("span", __assign({ className:
|
|
1073
|
+
return (React__default.createElement("span", __assign({ className: classNames('react-share__ShareCount', className) }, rest), !isLoading && count !== undefined && children(count)));
|
|
1135
1074
|
};
|
|
1136
1075
|
return SocialMediaShareCount;
|
|
1137
1076
|
}(Component));
|
|
@@ -3204,7 +3143,7 @@ const ResetMobileIcon = _ref => {
|
|
|
3204
3143
|
})));
|
|
3205
3144
|
};
|
|
3206
3145
|
|
|
3207
|
-
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}";
|
|
3208
3147
|
styleInject(css_248z);
|
|
3209
3148
|
|
|
3210
3149
|
/* eslint-disable prefer-destructuring */
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { E as default } from './ExtraTools-
|
|
2
|
-
import './_rollupPluginBabelHelpers-
|
|
1
|
+
export { E as default } from './ExtraTools-e3040d0d.js';
|
|
2
|
+
import './_rollupPluginBabelHelpers-a52356f6.js';
|
|
3
3
|
import 'react';
|
|
4
|
-
import './index-
|
|
4
|
+
import './index-a7369dc5.js';
|
|
5
5
|
import 'prop-types';
|
|
6
6
|
import './_commonjsHelpers-70de2c37.js';
|
|
7
7
|
import '@material-ui/core';
|
|
8
|
-
import './Tooltip-
|
|
8
|
+
import './Tooltip-f3afa927.js';
|
|
9
9
|
import './style-inject.es-1f59c1d0.js';
|
|
10
10
|
import './dataExport-d55d6fa3.js';
|