@daoyi/nmtl-ui 2.0.1-beta.58 → 2.0.1-beta.59
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-029d41ba.js → Autocomplete-ed66ea1e.js} +70 -65
- package/lib/components/Autocomplete.js +4 -4
- package/lib/components/Avatar.js +1 -1
- 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-1b58ff47.js → Button-3d002693.js} +2 -2
- package/lib/components/Button.js +2 -2
- package/lib/components/Carousel.js +3 -3
- package/lib/components/Checkbox.js +1 -1
- package/lib/components/CollapseContent.js +4 -4
- package/lib/components/{ContactModal-73f43220.js → ContactModal-5af70002.js} +8 -8
- package/lib/components/ContactModal.js +9 -9
- package/lib/components/{Drawer-d67f6c95.js → Drawer-47f9967c.js} +3 -3
- package/lib/components/Drawer.js +5 -5
- package/lib/components/Dropdown.js +2 -2
- package/lib/components/{Empty-53ff1821.js → Empty-b674a51e.js} +2 -2
- package/lib/components/Empty.js +2 -2
- package/lib/components/ExportButton.js +4 -4
- package/lib/components/{ExtraTools-e3040d0d.js → ExtraTools-97665703.js} +5 -5
- package/lib/components/ExtraTools.js +5 -5
- package/lib/components/Filter.js +4 -4
- package/lib/components/Footer.js +10 -10
- package/lib/components/{ForwardLink-d1a33ce9.js → ForwardLink-02ae24fb.js} +3 -3
- 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 +11 -6
- package/lib/components/InputMethod.js +8 -8
- package/lib/components/{KeywordSearch-f3ebeff0.js → KeywordSearch-52526414.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-06099b6d.js → Modal-1e6d1b61.js} +4 -4
- package/lib/components/Modal.js +4 -4
- package/lib/components/{MoreButton-641c3827.js → MoreButton-a001648b.js} +2 -2
- package/lib/components/MoreButton.js +2 -2
- package/lib/components/Radio.js +1 -1
- package/lib/components/SNA.js +6 -6
- package/lib/components/{Select-2793e2a5.js → Select-a607a0d4.js} +4 -4
- package/lib/components/Select.js +4 -4
- package/lib/components/{Spin-9a7c89ed.js → Spin-a5ff6ede.js} +2 -2
- package/lib/components/Spin.js +2 -2
- package/lib/components/Table.js +1 -1
- package/lib/components/{Tooltip-f3afa927.js → Tooltip-f1cd39ef.js} +3 -3
- package/lib/components/Tooltip.js +3 -3
- package/lib/components/{_rollupPluginBabelHelpers-a52356f6.js → _rollupPluginBabelHelpers-7eb4ffba.js} +1 -1
- package/lib/components/{dataExport-d55d6fa3.js → dataExport-04b77185.js} +31 -30
- package/package.json +1 -1
- /package/lib/components/{createSvgIcon-af6a82b5.js → createSvgIcon-b7f70edc.js} +0 -0
- /package/lib/components/{index-a7369dc5.js → index-8aa477f6.js} +0 -0
- /package/lib/components/{index-a69b9b9d.js → index-b1cfc87c.js} +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as _slicedToArray } from './_rollupPluginBabelHelpers-7eb4ffba.js';
|
|
2
2
|
import React__default, { useState, useEffect } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
|
-
import { c as classNames } from './index-
|
|
5
|
-
import { M as Modal } from './Modal-
|
|
4
|
+
import { c as classNames } from './index-8aa477f6.js';
|
|
5
|
+
import { M as Modal } from './Modal-1e6d1b61.js';
|
|
6
6
|
import { Typography } 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-b7f70edc.js';
|
|
8
8
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
9
9
|
import '@material-ui/icons';
|
|
10
|
-
import './Button-
|
|
11
|
-
import './Spin-
|
|
10
|
+
import './Button-3d002693.js';
|
|
11
|
+
import './Spin-a5ff6ede.js';
|
|
12
12
|
import './_commonjsHelpers-70de2c37.js';
|
|
13
13
|
import './defaultTheme-19a14721.js';
|
|
14
14
|
import 'react-is';
|
|
@@ -51,7 +51,7 @@ var _default = (0, _createSvgIcon.default)( /*#__PURE__*/React.createElement("pa
|
|
|
51
51
|
|
|
52
52
|
default_1 = MoreHoriz.default = _default;
|
|
53
53
|
|
|
54
|
-
var css_248z$2 = ".keywordList {\n display: flex;\n flex-wrap: wrap;\n margin-top: 0.8rem
|
|
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";
|
|
55
55
|
styleInject(css_248z$2);
|
|
56
56
|
|
|
57
57
|
const KeywordList = _ref => {
|
|
@@ -118,7 +118,7 @@ KeywordList.propTypes = {
|
|
|
118
118
|
onKeywordClick: PropTypes.func
|
|
119
119
|
};
|
|
120
120
|
|
|
121
|
-
var css_248z$1 = ".keywordModal__content {\n width: 100%;\n display: flex;\n flex-direction: column;\n align-items: center;\n border-radius: 5px
|
|
121
|
+
var css_248z$1 = ".keywordModal__content {\n width: 100%;\n display: flex;\n flex-direction: column;\n align-items: center;\n border-radius: 5px; }\n .keywordModal__content__image {\n display: flex;\n justify-content: center;\n width: 100%; }\n .keywordModal__content__image__img {\n height: 7.75rem;\n object-fit: scale-down; }\n .keywordModal__content__detail {\n width: 100%;\n padding: 1rem 1.25rem;\n border-radius: 5px; }\n .keywordModal__content__detail__title {\n font-weight: bold;\n font-size: 1.5rem;\n text-decoration: underline;\n cursor: pointer; }\n .keywordModal__content__detail__desc {\n margin-top: 0.8rem;\n font-size: 1rem;\n display: -webkit-box;\n overflow: hidden;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical; }\n .keywordModal__content__detail__author {\n margin-top: 0.8rem;\n font-size: 1.25rem;\n cursor: pointer; }\n .keywordModal__content__detail__author:hover {\n text-decoration: underline; }\n\n.keywordModal p {\n font-family: 'Noto Sans TC', 'Arial', sans-serif !important; }\n\n.keywordModal .MuiPaper-root {\n min-width: initial !important; }\n";
|
|
122
122
|
styleInject(css_248z$1);
|
|
123
123
|
|
|
124
124
|
const KeywordModal = props => {
|
|
@@ -219,7 +219,7 @@ KeywordModal.propTypes = {
|
|
|
219
219
|
onAuthorClick: PropTypes.func
|
|
220
220
|
};
|
|
221
221
|
|
|
222
|
-
var css_248z = ".keywords p {\n font-family:
|
|
222
|
+
var css_248z = ".keywords p {\n font-family: 'Noto Sans TC', 'Arial', sans-serif !important; }\n";
|
|
223
223
|
styleInject(css_248z);
|
|
224
224
|
|
|
225
225
|
var Keywords = function Keywords(props) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { c as classNames } from './index-
|
|
2
|
+
import { c as classNames } from './index-8aa477f6.js';
|
|
3
3
|
import { CircularProgress } from '@material-ui/core';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
5
5
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
6
6
|
|
|
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
|
|
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";
|
|
8
8
|
styleInject(css_248z);
|
|
9
9
|
|
|
10
10
|
var Loading = function Loading(_ref) {
|
|
@@ -2380,7 +2380,7 @@ withThemeCreator({
|
|
|
2380
2380
|
|
|
2381
2381
|
var fonts = ['Noto Sans TC', 'Microsoft JhengHei', 'sans-serif', '-apple-system', 'BlinkMacSystemFont', '"Segoe UI"', 'Roboto', '"Helvetica Neue"', 'Arial', 'sans-serif', '"Apple Color Emoji"', '"Segoe UI Emoji"', '"Segoe UI Symbol"'];
|
|
2382
2382
|
|
|
2383
|
-
var css_248z = "@import url(\"https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100;300;400;500;700;900&display=swap\")
|
|
2383
|
+
var css_248z = "@import url(\"https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100;300;400;500;700;900&display=swap\");\n";
|
|
2384
2384
|
styleInject(css_248z);
|
|
2385
2385
|
|
|
2386
2386
|
const defaultColors = {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { c as classNames } from './index-
|
|
2
|
+
import { c as classNames } from './index-8aa477f6.js';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import { Dialog, DialogTitle, IconButton, DialogContent, DialogActions, CircularProgress } from '@material-ui/core';
|
|
5
5
|
import { CloseSharp } from '@material-ui/icons';
|
|
6
|
-
import { B as Button } from './Button-
|
|
7
|
-
import { S as Spin } from './Spin-
|
|
6
|
+
import { B as Button } from './Button-3d002693.js';
|
|
7
|
+
import { S as Spin } from './Spin-a5ff6ede.js';
|
|
8
8
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
9
9
|
|
|
10
|
-
var css_248z = ".modal__title h2 {\n display: flex;\n align-items: center
|
|
10
|
+
var css_248z = ".modal__title h2 {\n display: flex;\n align-items: center; }\n\n.modal__title__text {\n flex: 1;\n font-size: 16px;\n padding: 8px 0;\n color: white; }\n\n.modal__title__close {\n cursor: pointer;\n color: white; }\n\n.modal--transparent .MuiPaper-root {\n background: transparent !important;\n box-shadow: none; }\n\n.modal--transparent .modal__title {\n background: transparent !important; }\n";
|
|
11
11
|
styleInject(css_248z);
|
|
12
12
|
|
|
13
13
|
var Modal = function Modal(props) {
|
package/lib/components/Modal.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { M as default } from './Modal-
|
|
1
|
+
export { M as default } from './Modal-1e6d1b61.js';
|
|
2
2
|
import 'react';
|
|
3
|
-
import './index-
|
|
3
|
+
import './index-8aa477f6.js';
|
|
4
4
|
import 'prop-types';
|
|
5
5
|
import '@material-ui/core';
|
|
6
6
|
import '@material-ui/icons';
|
|
7
|
-
import './Button-
|
|
7
|
+
import './Button-3d002693.js';
|
|
8
8
|
import './style-inject.es-1f59c1d0.js';
|
|
9
|
-
import './Spin-
|
|
9
|
+
import './Spin-a5ff6ede.js';
|
|
@@ -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-8aa477f6.js';
|
|
4
4
|
import { ExpandLess, ExpandMore } from '@material-ui/icons';
|
|
5
5
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
6
6
|
|
|
7
|
-
var css_248z = ".moreButton {\n width: -moz-fit-content;\n width: fit-content;\n display: flex;\n align-items: center;\n position: relative;\n margin: 1rem 0rem;\n border-radius: 8px;\n padding: 1rem 2.5rem;\n -webkit-user-select: none;\n user-select: none;\n cursor: pointer
|
|
7
|
+
var css_248z = ".moreButton {\n width: -moz-fit-content;\n width: fit-content;\n display: flex;\n align-items: center;\n position: relative;\n margin: 1rem 0rem;\n border-radius: 8px;\n padding: 1rem 2.5rem;\n -webkit-user-select: none;\n user-select: none;\n cursor: pointer; }\n .moreButton__mask {\n transition: all 0.3s ease-in-out;\n position: absolute;\n left: 0;\n top: 0;\n border-radius: 8px;\n width: 100%;\n height: 100%;\n opacity: 0; }\n .moreButton:hover .moreButton__mask {\n opacity: 1; }\n .moreButton--shadow {\n transition: all 0.3s ease-in-out;\n border: 3px solid #ffffff;\n position: relative;\n left: 0px;\n top: 0px; }\n .moreButton--shadow:hover {\n box-shadow: initial !important;\n left: 3px;\n top: 3px; }\n .moreButton--small {\n border: 0;\n padding: 0;\n left: 0px !important;\n top: 0px !important;\n background: transparent !important;\n box-shadow: initial !important; }\n .moreButton--small .moreButton__mask {\n opacity: 0 !important; }\n .moreButton__icon {\n display: flex;\n z-index: 1; }\n .moreButton__icon--small {\n font-size: 1.5rem;\n border-radius: 45px;\n color: white !important; }\n .moreButton__text {\n z-index: 1;\n font-size: 1.5rem;\n line-height: 1.5rem;\n transition: color 0.3s ease-in-out; }\n .moreButton__text--small {\n margin-left: 0.75rem;\n font-size: 1.5rem;\n color: #0c2a4d; }\n .moreButton__text--small:hover {\n text-decoration: underline; }\n";
|
|
8
8
|
styleInject(css_248z);
|
|
9
9
|
|
|
10
10
|
var MoreButton = function MoreButton(props) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { M as default } from './MoreButton-
|
|
1
|
+
export { M as default } from './MoreButton-a001648b.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'prop-types';
|
|
4
|
-
import './index-
|
|
4
|
+
import './index-8aa477f6.js';
|
|
5
5
|
import '@material-ui/icons';
|
|
6
6
|
import './style-inject.es-1f59c1d0.js';
|
package/lib/components/Radio.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as _objectSpread2 } from './_rollupPluginBabelHelpers-
|
|
1
|
+
import { b as _objectSpread2 } from './_rollupPluginBabelHelpers-7eb4ffba.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import { RadioGroup, FormControlLabel, Radio as Radio$1 } from '@material-ui/core';
|
package/lib/components/SNA.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import React__default, { useMemo, useEffect } from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
|
-
import { c as classNames } from './index-
|
|
3
|
+
import { c as classNames } from './index-8aa477f6.js';
|
|
4
4
|
import { e as event, d as d3Select, a as dispatch, c as customEvent, D as DragEvent, q as quadtree, m as map, t as timer, T as Transform, i as identity, b as interrupt, o as ordinal, f as category10 } from './transform-3a04288b.js';
|
|
5
|
-
import { E as ExtraTools } from './ExtraTools-
|
|
5
|
+
import { E as ExtraTools } from './ExtraTools-97665703.js';
|
|
6
6
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
7
|
-
import './_rollupPluginBabelHelpers-
|
|
7
|
+
import './_rollupPluginBabelHelpers-7eb4ffba.js';
|
|
8
8
|
import './_commonjsHelpers-70de2c37.js';
|
|
9
9
|
import '@material-ui/core';
|
|
10
|
-
import './Tooltip-
|
|
11
|
-
import './dataExport-
|
|
10
|
+
import './Tooltip-f1cd39ef.js';
|
|
11
|
+
import './dataExport-04b77185.js';
|
|
12
12
|
|
|
13
13
|
function sourceEvent() {
|
|
14
14
|
var current = event, source;
|
|
@@ -1395,7 +1395,7 @@ function zoom() {
|
|
|
1395
1395
|
return zoom;
|
|
1396
1396
|
}
|
|
1397
1397
|
|
|
1398
|
-
var css_248z = ".SNA {\n overflow: hidden;\n object-fit: contain;\n position: relative;\n font-size: 0.75rem;\n width: 100
|
|
1398
|
+
var css_248z = ".SNA {\n overflow: hidden;\n object-fit: contain;\n position: relative;\n font-size: 0.75rem;\n width: 100%; }\n .SNA--smallSize .node {\n padding-top: 8px;\n font-size: 0.75rem;\n width: 3rem;\n height: 3rem;\n overflow: hidden;\n white-space: pre-wrap;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical; }\n .SNA .node {\n background-color: #4a4e69;\n border-radius: 50%;\n color: #fff;\n font-size: 20px;\n font-weight: 500;\n height: 54px;\n width: 54px;\n padding-top: 15px;\n position: absolute;\n text-align: center;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n cursor: grab; }\n .SNA .links line {\n stroke: #c7bfb4;\n stroke-width: 2; }\n .SNA .mainNode {\n fill: #4e3a16; }\n .SNA .person {\n fill: #867b3a; }\n .SNA .publication {\n fill: #825c0d; }\n .SNA .article {\n fill: #afafaf; }\n .SNA .keyword {\n fill: #fcfae8; }\n .SNA .org {\n fill: #000000; }\n .SNA #network-graph svg {\n width: 100%;\n height: 100%; }\n\n@media only screen and (max-width: 484px) {\n .SNA {\n margin-left: 0px; }\n .SNA .node {\n background-color: #4a4e69;\n border-radius: 50%;\n color: #fff;\n font-size: 1px;\n font-weight: 500;\n height: 44px;\n width: 44px;\n padding-top: 12px;\n position: absolute;\n text-align: center;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n cursor: grab; } }\n\n@media only screen and (max-width: 484px) {\n .SNA {\n margin-left: 0px; } }\n";
|
|
1399
1399
|
styleInject(css_248z);
|
|
1400
1400
|
|
|
1401
1401
|
/* eslint-disable indent */
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { b as _objectSpread2,
|
|
1
|
+
import { b as _objectSpread2, _ as _typeof } from './_rollupPluginBabelHelpers-7eb4ffba.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
|
-
import { c as classNames } from './index-
|
|
4
|
+
import { c as classNames } from './index-8aa477f6.js';
|
|
5
5
|
import { FormControl, Select as Select$1, CircularProgress, MenuItem } from '@material-ui/core';
|
|
6
|
-
import { E as Empty } from './Empty-
|
|
6
|
+
import { E as Empty } from './Empty-b674a51e.js';
|
|
7
7
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
8
8
|
|
|
9
|
-
var css_248z = ".select__placeholder {\n color: #999
|
|
9
|
+
var css_248z = ".select__placeholder {\n color: #999; }\n\n.select--small {\n width: 100%; }\n .select--small .MuiSelect-root {\n padding: 0.5rem 1.5rem 0.25rem;\n color: white; }\n .select--small .MuiSelect-root .select__placeholder {\n color: white; }\n .select--small .MuiSelect-root:hover, .select--small .MuiSelect-root:focus {\n background: transparent; }\n .select--small .MuiSvgIcon-root {\n color: white; }\n .select--small .MuiOutlinedInput-root {\n border-radius: 45px; }\n";
|
|
10
10
|
styleInject(css_248z);
|
|
11
11
|
|
|
12
12
|
var Select = function Select(props) {
|
package/lib/components/Select.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { S as default } from './Select-
|
|
2
|
-
import './_rollupPluginBabelHelpers-
|
|
1
|
+
export { S as default } from './Select-a607a0d4.js';
|
|
2
|
+
import './_rollupPluginBabelHelpers-7eb4ffba.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'prop-types';
|
|
5
|
-
import './index-
|
|
5
|
+
import './index-8aa477f6.js';
|
|
6
6
|
import '@material-ui/core';
|
|
7
|
-
import './Empty-
|
|
7
|
+
import './Empty-b674a51e.js';
|
|
8
8
|
import './style-inject.es-1f59c1d0.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React__default, { useMemo } from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
|
-
import { c as classNames } from './index-
|
|
3
|
+
import { c as classNames } from './index-8aa477f6.js';
|
|
4
4
|
import { Fade, CircularProgress } from '@material-ui/core';
|
|
5
5
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
6
6
|
|
|
7
|
-
var css_248z = ".customSpin {\n width: 100%;\n min-height: 100px;\n position: relative
|
|
7
|
+
var css_248z = ".customSpin {\n width: 100%;\n min-height: 100px;\n position: relative; }\n .customSpin__spin {\n width: 100%;\n height: 100%;\n position: absolute;\n z-index: 2;\n display: flex;\n justify-content: center;\n align-items: center; }\n";
|
|
8
8
|
styleInject(css_248z);
|
|
9
9
|
|
|
10
10
|
var stringSize = {
|
package/lib/components/Spin.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { S as default } from './Spin-
|
|
1
|
+
export { S as default } from './Spin-a5ff6ede.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'prop-types';
|
|
4
|
-
import './index-
|
|
4
|
+
import './index-8aa477f6.js';
|
|
5
5
|
import '@material-ui/core';
|
|
6
6
|
import './style-inject.es-1f59c1d0.js';
|
package/lib/components/Table.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { d as _objectWithoutProperties } from './_rollupPluginBabelHelpers-7eb4ffba.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import { TableContainer, Paper, Table as Table$1, TableHead, TableRow, TableCell, TableBody } from '@material-ui/core';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import { Tooltip as Tooltip$1 } from '@material-ui/core';
|
|
4
|
-
import {
|
|
5
|
-
import { c as classNames } from './index-
|
|
4
|
+
import { a as _extends } from './_rollupPluginBabelHelpers-7eb4ffba.js';
|
|
5
|
+
import { c as classNames } from './index-8aa477f6.js';
|
|
6
6
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
7
7
|
|
|
8
8
|
const TooltipContent = /*#__PURE__*/React__default.forwardRef((props, ref) => /*#__PURE__*/React__default.createElement("div", _extends({}, props, {
|
|
@@ -18,7 +18,7 @@ TooltipContent.propTypes = {
|
|
|
18
18
|
className: PropTypes.string
|
|
19
19
|
};
|
|
20
20
|
|
|
21
|
-
var css_248z = ".tooltip {\n width: -moz-fit-content;\n width: fit-content
|
|
21
|
+
var css_248z = ".tooltip {\n width: -moz-fit-content;\n width: fit-content; }\n";
|
|
22
22
|
styleInject(css_248z);
|
|
23
23
|
|
|
24
24
|
var placements = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { T as default, p as placements } from './Tooltip-
|
|
1
|
+
export { T as default, p as placements } from './Tooltip-f1cd39ef.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'prop-types';
|
|
4
4
|
import '@material-ui/core';
|
|
5
|
-
import './_rollupPluginBabelHelpers-
|
|
6
|
-
import './index-
|
|
5
|
+
import './_rollupPluginBabelHelpers-7eb4ffba.js';
|
|
6
|
+
import './index-8aa477f6.js';
|
|
7
7
|
import './style-inject.es-1f59c1d0.js';
|
|
@@ -139,4 +139,4 @@ function _nonIterableRest() {
|
|
|
139
139
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
-
export {
|
|
142
|
+
export { _typeof as _, _extends as a, _objectSpread2 as b, _slicedToArray as c, _objectWithoutProperties as d, _defineProperty as e, _taggedTemplateLiteral as f };
|
|
@@ -34,56 +34,57 @@ var fileDownload = function(data, filename, mime, bom) {
|
|
|
34
34
|
}
|
|
35
35
|
};
|
|
36
36
|
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
var jsonExcel = function jsonExcel(json) {
|
|
38
|
+
var output = '';
|
|
39
39
|
if (Array.isArray(json) && json.length > 0) {
|
|
40
|
-
|
|
41
|
-
output +=
|
|
42
|
-
json.forEach(item
|
|
43
|
-
keys.forEach(key
|
|
44
|
-
output +=
|
|
40
|
+
var keys = Object.keys(json[0]);
|
|
41
|
+
output += "".concat(keys.toString(), "\n");
|
|
42
|
+
json.forEach(function (item) {
|
|
43
|
+
keys.forEach(function (key) {
|
|
44
|
+
output += "".concat(item[key], ",");
|
|
45
45
|
});
|
|
46
46
|
output += '\n';
|
|
47
47
|
});
|
|
48
48
|
} else {
|
|
49
|
-
|
|
50
|
-
output +=
|
|
51
|
-
|
|
52
|
-
output +=
|
|
49
|
+
var _keys = Object.keys(json);
|
|
50
|
+
output += "".concat(_keys.toString(), "\n");
|
|
51
|
+
_keys.forEach(function (key) {
|
|
52
|
+
output += "".concat(json[key], ",");
|
|
53
53
|
});
|
|
54
54
|
output += '\n';
|
|
55
55
|
}
|
|
56
56
|
return output;
|
|
57
57
|
};
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
var jsonTxt = function jsonTxt(json) {
|
|
59
|
+
var output = '';
|
|
60
60
|
if (Array.isArray(json) && json.length > 0) {
|
|
61
|
-
|
|
62
|
-
json.forEach((item, index)
|
|
63
|
-
output +=
|
|
64
|
-
keys.forEach(key
|
|
65
|
-
output +=
|
|
61
|
+
var keys = Object.keys(json[0]);
|
|
62
|
+
json.forEach(function (item, index) {
|
|
63
|
+
output += "(".concat(index + 1, ")\n");
|
|
64
|
+
keys.forEach(function (key) {
|
|
65
|
+
output += "".concat(key, ": ").concat(item[key], "\n");
|
|
66
66
|
});
|
|
67
67
|
output += '\n';
|
|
68
68
|
});
|
|
69
69
|
} else {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
output +=
|
|
70
|
+
var _keys2 = Object.keys(json);
|
|
71
|
+
_keys2.forEach(function (key) {
|
|
72
|
+
output += "".concat(key, ": ").concat(json[key], "\n");
|
|
73
73
|
});
|
|
74
74
|
}
|
|
75
75
|
return output;
|
|
76
76
|
};
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
links,
|
|
80
|
-
nodes
|
|
81
|
-
} = data || {};
|
|
77
|
+
var snaToExcel = function snaToExcel(data) {
|
|
78
|
+
var _ref = data || {},
|
|
79
|
+
links = _ref.links,
|
|
80
|
+
nodes = _ref.nodes;
|
|
82
81
|
if (links && links.length > 0) {
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
82
|
+
var result = links.map(function (link) {
|
|
83
|
+
return {
|
|
84
|
+
From: nodes[link.source].name,
|
|
85
|
+
To: nodes[link.target].name
|
|
86
|
+
};
|
|
87
|
+
});
|
|
87
88
|
return result;
|
|
88
89
|
}
|
|
89
90
|
return [];
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|