@daoyi/nmtl-ui 2.0.1-beta.84 → 2.0.1-beta.85

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/README.md +45 -45
  2. package/lib/components/{Autocomplete-83a79687.js → Autocomplete-18e0fd14.js} +4 -4
  3. package/lib/components/Autocomplete.js +4 -4
  4. package/lib/components/Avatar.js +1 -1
  5. package/lib/components/BackTop.js +3 -3
  6. package/lib/components/BarChart.js +2 -2
  7. package/lib/components/Breadcrumbs.js +3 -3
  8. package/lib/components/{Button-f86bbd40.js → Button-ef7dd575.js} +2 -2
  9. package/lib/components/Button.js +2 -2
  10. package/lib/components/Carousel.js +2 -2
  11. package/lib/components/CollapseContent.js +3 -3
  12. package/lib/components/{ContactModal-80d24d0b.js → ContactModal-75da5f05.js} +7 -7
  13. package/lib/components/ContactModal.js +8 -8
  14. package/lib/components/{Drawer-cd48391b.js → Drawer-b03f093b.js} +2 -2
  15. package/lib/components/Drawer.js +4 -4
  16. package/lib/components/Dropdown.js +1 -1
  17. package/lib/components/{Empty-9a192c2a.js → Empty-ab663853.js} +2 -2
  18. package/lib/components/Empty.js +2 -2
  19. package/lib/components/ExportButton.js +2 -2
  20. package/lib/components/{ExtraTools-51d59918.js → ExtraTools-7ca77e1a.js} +3 -3
  21. package/lib/components/ExtraTools.js +3 -3
  22. package/lib/components/Filter.js +3 -3
  23. package/lib/components/Footer.js +9 -9
  24. package/lib/components/{ForwardLink-2554a5d9.js → ForwardLink-ec844c9c.js} +6 -6
  25. package/lib/components/ForwardLink.js +2 -2
  26. package/lib/components/Header.js +8 -8
  27. package/lib/components/Image.js +2 -2
  28. package/lib/components/Input.js +2 -2
  29. package/lib/components/InputMethod.js +192 -202
  30. package/lib/components/{KeywordSearch-a66db4e4.js → KeywordSearch-18b49195.js} +3 -3
  31. package/lib/components/KeywordSearch.js +5 -5
  32. package/lib/components/KeywordTicker.js +4 -4
  33. package/lib/components/Keywords.js +8 -8
  34. package/lib/components/Loading.js +2 -2
  35. package/lib/components/MUITheme.js +1 -1
  36. package/lib/components/{Modal-c8a92699.js → Modal-a7fd17d8.js} +4 -4
  37. package/lib/components/Modal.js +4 -4
  38. package/lib/components/{MoreButton-c01432fd.js → MoreButton-efbc5181.js} +2 -2
  39. package/lib/components/MoreButton.js +2 -2
  40. package/lib/components/Pagination.js +3 -3
  41. package/lib/components/SNA.js +4 -4
  42. package/lib/components/{Select-7c0ef815.js → Select-38a08b3f.js} +3 -3
  43. package/lib/components/Select.js +3 -3
  44. package/lib/components/{Spin-1762ce9c.js → Spin-5eb597a1.js} +2 -2
  45. package/lib/components/Spin.js +2 -2
  46. package/lib/components/{Tooltip-21964965.js → Tooltip-cb531c8d.js} +2 -2
  47. package/lib/components/Tooltip.js +2 -2
  48. package/lib/components/globalConfig.js +3 -3
  49. package/lib/utils/arrayMerge.js +20 -20
  50. package/package.json +125 -126
  51. /package/lib/components/{createSvgIcon-e95160be.js → createSvgIcon-d48cdd8c.js} +0 -0
  52. /package/lib/components/{index-cbd6bca9.js → index-195d1b27.js} +0 -0
  53. /package/lib/components/{index-34fc27f1.js → index-a5d56b0c.js} +0 -0
@@ -1,12 +1,12 @@
1
1
  import { a as _slicedToArray } from './_rollupPluginBabelHelpers-a52356f6.js';
2
2
  import React__default, { useState, useEffect } from 'react';
3
3
  import PropTypes from 'prop-types';
4
- import { c as classNames } from './index-cbd6bca9.js';
4
+ import { c as classNames } from './index-195d1b27.js';
5
5
  import axios from 'axios';
6
6
  import { s as styleInject } from './style-inject.es-1f59c1d0.js';
7
- import { A as Autocomplete } from './Autocomplete-83a79687.js';
7
+ import { A as Autocomplete } from './Autocomplete-18e0fd14.js';
8
8
 
9
- var css_248z = ".keywordSearch {\n border-radius: 4px;\n width: 100%;\n margin-right: 14px; }\n .keywordSearch--animation .autocomplete {\n transition: max-width 0.3s ease-out;\n max-width: 240px; }\n .keywordSearch--focus {\n flex: 1; }\n .keywordSearch--focus .autocomplete {\n max-width: 100%; }\n .keywordSearch .MuiAutocomplete-hasPopupIcon.MuiAutocomplete-hasClearIcon .MuiAutocomplete-inputRoot[class*='MuiOutlinedInput-root'] {\n border-radius: 10px;\n background-color: #ffffff66; }\n";
9
+ var css_248z = ".keywordSearch {\n border-radius: 4px;\n width: 100%;\n margin-right: 14px;\n}\n.keywordSearch--animation .autocomplete {\n transition: max-width 0.3s ease-out;\n max-width: 240px;\n}\n.keywordSearch--focus {\n flex: 1;\n}\n.keywordSearch--focus .autocomplete {\n max-width: 100%;\n}\n.keywordSearch .MuiAutocomplete-hasPopupIcon.MuiAutocomplete-hasClearIcon .MuiAutocomplete-inputRoot[class*=MuiOutlinedInput-root] {\n border-radius: 10px;\n background-color: #ffffff66;\n}";
10
10
  styleInject(css_248z);
11
11
 
12
12
  const removeDuplicateItem = function (array) {
@@ -1,21 +1,21 @@
1
- export { K as default } from './KeywordSearch-a66db4e4.js';
1
+ export { K as default } from './KeywordSearch-18b49195.js';
2
2
  import './_rollupPluginBabelHelpers-a52356f6.js';
3
3
  import 'react';
4
4
  import 'prop-types';
5
- import './index-cbd6bca9.js';
5
+ import './index-195d1b27.js';
6
6
  import 'axios';
7
7
  import './style-inject.es-1f59c1d0.js';
8
- import './Autocomplete-83a79687.js';
8
+ import './Autocomplete-18e0fd14.js';
9
9
  import './debounce-127da66c.js';
10
10
  import './isObjectLike-e111475d.js';
11
11
  import './_commonjsHelpers-70de2c37.js';
12
12
  import '@material-ui/lab';
13
13
  import '@material-ui/core';
14
14
  import '@material-ui/icons';
15
- import './createSvgIcon-e95160be.js';
15
+ import './createSvgIcon-d48cdd8c.js';
16
16
  import './defaultTheme-ed7746fe.js';
17
17
  import 'react-is';
18
18
  import '@material-ui/styles';
19
19
  import 'react-dom';
20
20
  import './toConsumableArray-dbe8af76.js';
21
- import './Empty-9a192c2a.js';
21
+ import './Empty-ab663853.js';
@@ -1,14 +1,14 @@
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-cbd6bca9.js';
5
- import { F as ForwardLink } from './ForwardLink-2554a5d9.js';
4
+ import { c as classNames } from './index-195d1b27.js';
5
+ import { F as ForwardLink } from './ForwardLink-ec844c9c.js';
6
6
  import { s as styleInject } from './style-inject.es-1f59c1d0.js';
7
- import './index-34fc27f1.js';
7
+ import './index-a5d56b0c.js';
8
8
  import 'react-router-dom';
9
9
  import '@material-ui/core';
10
10
 
11
- var css_248z = ".keywordTicker {\n width: 100%;\n display: flex;\n justify-content: flex-start;\n align-items: center; }\n .keywordTicker__track {\n display: flex;\n width: 100%;\n padding: 20px 0px;\n background-color: #ece8c0;\n overflow: hidden;\n margin-left: -80px;\n padding-left: 100px;\n z-index: 1;\n position: relative; }\n .keywordTicker__items {\n display: flex;\n justify-content: flex-start;\n align-items: center;\n flex-wrap: nowrap;\n position: relative; }\n .keywordTicker-item {\n width: auto;\n display: flex;\n justify-content: center;\n align-items: center;\n white-space: nowrap;\n cursor: pointer; }\n .keywordTicker-text {\n font-size: 1.5rem;\n z-index: 2;\n font-weight: bold;\n color: #825c0d;\n border-left: 2px solid #fff;\n padding: 0px 40px; }\n .keywordTicker__img {\n z-index: 2;\n position: relative;\n display: flex; }\n .keywordTicker__img img {\n height: 100%;\n max-height: 195px;\n image-rendering: -webkit-optimize-contrast;\n position: relative; }\n .keywordTicker--fake {\n position: absolute;\n opacity: 0;\n width: 100%; }\n\n@media only screen and (max-width: 768px) {\n .keywordTicker-text {\n font-size: 1.5rem;\n padding: 0px 15px; }\n .keywordTicker__img img {\n max-height: 104px;\n left: -60px; }\n .keywordTicker__track {\n padding: 10px 0px;\n margin-left: -100px; } }\n\n@media only screen and (max-width: 484px) {\n .keywordTicker-text {\n font-size: 14px; } }\n";
11
+ var css_248z = ".keywordTicker {\n width: 100%;\n display: flex;\n justify-content: flex-start;\n align-items: center;\n}\n.keywordTicker__track {\n display: flex;\n width: 100%;\n padding: 20px 0px;\n background-color: #ece8c0;\n overflow: hidden;\n margin-left: -80px;\n padding-left: 100px;\n z-index: 1;\n position: relative;\n}\n.keywordTicker__items {\n display: flex;\n justify-content: flex-start;\n align-items: center;\n flex-wrap: nowrap;\n position: relative;\n}\n.keywordTicker-item {\n width: auto;\n display: flex;\n justify-content: center;\n align-items: center;\n white-space: nowrap;\n cursor: pointer;\n}\n.keywordTicker-text {\n font-size: 1.5rem;\n z-index: 2;\n font-weight: bold;\n color: #825c0d;\n border-left: 2px solid #fff;\n padding: 0px 40px;\n}\n.keywordTicker__img {\n z-index: 2;\n position: relative;\n display: flex;\n}\n.keywordTicker__img img {\n height: 100%;\n max-height: 195px;\n image-rendering: -webkit-optimize-contrast;\n position: relative;\n}\n.keywordTicker--fake {\n position: absolute;\n opacity: 0;\n width: 100%;\n}\n\n@media only screen and (max-width: 768px) {\n .keywordTicker-text {\n font-size: 1.5rem;\n padding: 0px 15px;\n }\n .keywordTicker__img img {\n max-height: 104px;\n left: -60px;\n }\n .keywordTicker__track {\n padding: 10px 0px;\n margin-left: -100px;\n }\n}\n@media only screen and (max-width: 484px) {\n .keywordTicker-text {\n font-size: 14px;\n }\n}";
12
12
  styleInject(css_248z);
13
13
 
14
14
  var KeywordTicker = function KeywordTicker(_ref) {
@@ -1,14 +1,14 @@
1
1
  import { a as _slicedToArray } from './_rollupPluginBabelHelpers-a52356f6.js';
2
2
  import React__default, { useState, useEffect } from 'react';
3
3
  import PropTypes from 'prop-types';
4
- import { c as classNames } from './index-cbd6bca9.js';
5
- import { M as Modal } from './Modal-c8a92699.js';
4
+ import { c as classNames } from './index-195d1b27.js';
5
+ import { M as Modal } from './Modal-a7fd17d8.js';
6
6
  import { Typography } from '@material-ui/core';
7
- import { r as requireCreateSvgIcon, i as interopRequireDefault, a as interopRequireWildcard } from './createSvgIcon-e95160be.js';
7
+ import { r as requireCreateSvgIcon, i as interopRequireDefault, a as interopRequireWildcard } from './createSvgIcon-d48cdd8c.js';
8
8
  import { s as styleInject } from './style-inject.es-1f59c1d0.js';
9
9
  import '@material-ui/icons';
10
- import './Button-f86bbd40.js';
11
- import './Spin-1762ce9c.js';
10
+ import './Button-ef7dd575.js';
11
+ import './Spin-5eb597a1.js';
12
12
  import './_commonjsHelpers-70de2c37.js';
13
13
  import './defaultTheme-ed7746fe.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; }\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";
54
+ var css_248z$2 = ".keywordList {\n display: flex;\n flex-wrap: wrap;\n margin-top: 0.8rem;\n}\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}\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}\n.keywordList__item__hover:hover {\n background: rgba(0, 0, 0, 0.1);\n}\n.keywordList__icon svg {\n font-size: 1rem;\n line-height: 1rem;\n}\n.keywordList__icon .keywordList__item__hover {\n display: flex;\n align-items: center;\n height: 100%;\n padding: 0.125rem 0.875rem;\n}\n\n@media screen and (max-width: 484px) {\n .keywordList__item {\n font-size: 0.75rem !important;\n }\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; }\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";
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}\n.keywordModal__content__image {\n display: flex;\n justify-content: center;\n width: 100%;\n}\n.keywordModal__content__image__img {\n height: 7.75rem;\n object-fit: scale-down;\n}\n.keywordModal__content__detail {\n width: 100%;\n padding: 1rem 1.25rem;\n border-radius: 5px;\n}\n.keywordModal__content__detail__title {\n font-weight: bold;\n font-size: 1.5rem;\n text-decoration: underline;\n cursor: pointer;\n}\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}\n.keywordModal__content__detail__author {\n margin-top: 0.8rem;\n font-size: 1.25rem;\n cursor: pointer;\n}\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: 'Noto Sans TC', 'Arial', sans-serif !important; }\n";
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-cbd6bca9.js';
2
+ import { c as classNames } from './index-195d1b27.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; }\n";
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) {
@@ -2377,7 +2377,7 @@ var merge_1 = merge;
2377
2377
 
2378
2378
  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"'];
2379
2379
 
2380
- var css_248z = "@import url(\"https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100;300;400;500;700;900&display=swap\");\n";
2380
+ var css_248z = "@import url(\"https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100;300;400;500;700;900&display=swap\");";
2381
2381
  styleInject(css_248z);
2382
2382
 
2383
2383
  const defaultColors = {
@@ -1,13 +1,13 @@
1
1
  import React__default from 'react';
2
- import { c as classNames } from './index-cbd6bca9.js';
2
+ import { c as classNames } from './index-195d1b27.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-f86bbd40.js';
7
- import { S as Spin } from './Spin-1762ce9c.js';
6
+ import { B as Button } from './Button-ef7dd575.js';
7
+ import { S as Spin } from './Spin-5eb597a1.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; }\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";
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) {
@@ -1,9 +1,9 @@
1
- export { M as default } from './Modal-c8a92699.js';
1
+ export { M as default } from './Modal-a7fd17d8.js';
2
2
  import 'react';
3
- import './index-cbd6bca9.js';
3
+ import './index-195d1b27.js';
4
4
  import 'prop-types';
5
5
  import '@material-ui/core';
6
6
  import '@material-ui/icons';
7
- import './Button-f86bbd40.js';
7
+ import './Button-ef7dd575.js';
8
8
  import './style-inject.es-1f59c1d0.js';
9
- import './Spin-1762ce9c.js';
9
+ import './Spin-5eb597a1.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-cbd6bca9.js';
3
+ import { c as classNames } from './index-195d1b27.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; }\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";
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}\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}\n.moreButton:hover .moreButton__mask {\n opacity: 1;\n}\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}\n.moreButton--shadow:hover {\n box-shadow: initial !important;\n left: 3px;\n top: 3px;\n}\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}\n.moreButton--small .moreButton__mask {\n opacity: 0 !important;\n}\n.moreButton__icon {\n display: flex;\n z-index: 1;\n}\n.moreButton__icon--small {\n font-size: 1.5rem;\n border-radius: 45px;\n color: white !important;\n}\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}\n.moreButton__text--small {\n margin-left: 0.75rem;\n font-size: 1.5rem;\n color: #0c2a4d;\n}\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-c01432fd.js';
1
+ export { M as default } from './MoreButton-efbc5181.js';
2
2
  import 'react';
3
3
  import 'prop-types';
4
- import './index-cbd6bca9.js';
4
+ import './index-195d1b27.js';
5
5
  import '@material-ui/icons';
6
6
  import './style-inject.es-1f59c1d0.js';
@@ -3,14 +3,14 @@ import * as React$2 from 'react';
3
3
  import React__default, { Children, isValidElement, cloneElement } from 'react';
4
4
  import PropTypes from 'prop-types';
5
5
  import { d as defaultTheme, k as _objectWithoutProperties, o as _slicedToArray, _ as _extends, q as _objectWithoutPropertiesLoose, r as alpha, j as formatMuiErrorMessage } from './defaultTheme-ed7746fe.js';
6
- import { u as useControlled, c as clsx, b as useEventCallback, w as withStyles, d as useIsFocusVisible, e as useForkRef, f as createSvgIcon, g as capitalize, h as debounce, r as requireCreateSvgIcon, i as interopRequireDefault, a as interopRequireWildcard } from './createSvgIcon-e95160be.js';
6
+ import { u as useControlled, c as clsx, b as useEventCallback, w as withStyles, d as useIsFocusVisible, e as useForkRef, f as createSvgIcon, g as capitalize, h as debounce, r as requireCreateSvgIcon, i as interopRequireDefault, a as interopRequireWildcard } from './createSvgIcon-d48cdd8c.js';
7
7
  import 'react-is';
8
8
  import { useTheme as useTheme$1 } from '@material-ui/styles';
9
9
  import './withTheme-2d778133.js';
10
10
  import { _ as _toConsumableArray } from './toConsumableArray-dbe8af76.js';
11
11
  import * as ReactDOM from 'react-dom';
12
12
  import ReactDOM__default from 'react-dom';
13
- import { c as classNames } from './index-cbd6bca9.js';
13
+ import { c as classNames } from './index-195d1b27.js';
14
14
  import { IconButton } from '@material-ui/core';
15
15
  import { s as styleInject } from './style-inject.es-1f59c1d0.js';
16
16
  import './_commonjsHelpers-70de2c37.js';
@@ -3537,7 +3537,7 @@ var _default = (0, _createSvgIcon.default)( /*#__PURE__*/React.createElement("pa
3537
3537
 
3538
3538
  default_1 = ArrowRight.default = _default;
3539
3539
 
3540
- var css_248z = ".ntml-pagination__center {\n display: flex;\n justify-content: center; }\n .ntml-pagination__center .MuiSvgIcon-colorSecondary {\n color: #509891; }\n\n.ntml-pagination .MuiPaginationItem-root {\n font-size: 1.5rem; }\n\n.ntml-pagination .MuiNativeSelect-select.MuiNativeSelect-select {\n font-size: 1.5rem; }\n\n.ntml-pagination__rightSide {\n position: relative;\n float: right;\n top: -36px; }\n .ntml-pagination__rightSide-showTotal {\n display: flex;\n align-items: center;\n font-size: 1.5rem; }\n .ntml-pagination__rightSide-showTotal .MuiInput-root {\n width: 90px;\n height: 34px;\n margin: 0 8px;\n padding: 2px 8px 3px 20px;\n border-radius: 17px;\n background-color: rgba(222, 219, 202, 0.4);\n border: 0px; }\n .ntml-pagination__rightSide-showTotal .MuiNativeSelect-icon {\n color: #509891; }\n .ntml-pagination__rightSide-showTotal .MuiNativeSelect-select:not([multiple]) option,\n .ntml-pagination__rightSide-showTotal .MuiNativeSelect-select:not([multiple]) optgroup {\n background-color: rgba(222, 219, 202, 0.4); }\n\n@media only screen and (max-width: 1200px) {\n .ntml-pagination__center-page {\n width: 48px;\n height: 48px;\n display: flex;\n background-color: rgba(222, 219, 202, 0.4);\n border-radius: 50%;\n align-items: center;\n justify-content: center; }\n .ntml-pagination__rightSide {\n position: relative;\n float: initial;\n top: 0;\n display: flex;\n justify-content: center;\n margin-top: 28px; } }\n";
3540
+ var css_248z = ".ntml-pagination__center {\n display: flex;\n justify-content: center;\n}\n.ntml-pagination__center .MuiSvgIcon-colorSecondary {\n color: #509891;\n}\n.ntml-pagination .MuiPaginationItem-root {\n font-size: 1.5rem;\n}\n.ntml-pagination .MuiNativeSelect-select.MuiNativeSelect-select {\n font-size: 1.5rem;\n}\n.ntml-pagination__rightSide {\n position: relative;\n float: right;\n top: -36px;\n}\n.ntml-pagination__rightSide-showTotal {\n display: flex;\n align-items: center;\n font-size: 1.5rem;\n}\n.ntml-pagination__rightSide-showTotal .MuiInput-root {\n width: 90px;\n height: 34px;\n margin: 0 8px;\n padding: 2px 8px 3px 20px;\n border-radius: 17px;\n background-color: rgba(222, 219, 202, 0.4);\n border: 0px;\n}\n.ntml-pagination__rightSide-showTotal .MuiNativeSelect-icon {\n color: #509891;\n}\n.ntml-pagination__rightSide-showTotal .MuiNativeSelect-select:not([multiple]) option,\n.ntml-pagination__rightSide-showTotal .MuiNativeSelect-select:not([multiple]) optgroup {\n background-color: rgba(222, 219, 202, 0.4);\n}\n\n@media only screen and (max-width: 1200px) {\n .ntml-pagination__center-page {\n width: 48px;\n height: 48px;\n display: flex;\n background-color: rgba(222, 219, 202, 0.4);\n border-radius: 50%;\n align-items: center;\n justify-content: center;\n }\n\n .ntml-pagination__rightSide {\n position: relative;\n float: initial;\n top: 0;\n display: flex;\n justify-content: center;\n margin-top: 28px;\n }\n}";
3541
3541
  styleInject(css_248z);
3542
3542
 
3543
3543
  var _excluded = ["className", "pageSize", "total", "onChange"];
@@ -1,13 +1,13 @@
1
1
  import React__default, { useMemo, useEffect } from 'react';
2
2
  import PropTypes from 'prop-types';
3
- import { c as classNames } from './index-cbd6bca9.js';
3
+ import { c as classNames } from './index-195d1b27.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-51d59918.js';
5
+ import { E as ExtraTools } from './ExtraTools-7ca77e1a.js';
6
6
  import { s as styleInject } from './style-inject.es-1f59c1d0.js';
7
7
  import './_rollupPluginBabelHelpers-a52356f6.js';
8
8
  import './_commonjsHelpers-70de2c37.js';
9
9
  import '@material-ui/core';
10
- import './Tooltip-21964965.js';
10
+ import './Tooltip-cb531c8d.js';
11
11
  import './dataExport-d55d6fa3.js';
12
12
 
13
13
  function sourceEvent() {
@@ -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%; }\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";
1398
+ var css_248z = ".SNA {\n overflow: hidden;\n object-fit: contain;\n position: relative;\n font-size: 0.75rem;\n width: 100%;\n}\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}\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}\n.SNA .links line {\n stroke: #c7bfb4;\n stroke-width: 2;\n}\n.SNA .mainNode {\n fill: #4e3a16;\n}\n.SNA .person {\n fill: #867b3a;\n}\n.SNA .publication {\n fill: #825c0d;\n}\n.SNA .article {\n fill: #afafaf;\n}\n.SNA .keyword {\n fill: #fcfae8;\n}\n.SNA .org {\n fill: #000000;\n}\n.SNA #network-graph svg {\n width: 100%;\n height: 100%;\n}\n\n@media only screen and (max-width: 484px) {\n .SNA {\n margin-left: 0px;\n }\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}\n@media only screen and (max-width: 484px) {\n .SNA {\n margin-left: 0px;\n }\n}";
1399
1399
  styleInject(css_248z);
1400
1400
 
1401
1401
  /* eslint-disable indent */
@@ -1,12 +1,12 @@
1
1
  import { b as _objectSpread2, d as _typeof } from './_rollupPluginBabelHelpers-a52356f6.js';
2
2
  import React__default from 'react';
3
3
  import PropTypes from 'prop-types';
4
- import { c as classNames } from './index-cbd6bca9.js';
4
+ import { c as classNames } from './index-195d1b27.js';
5
5
  import { FormControl, Select as Select$1, CircularProgress, MenuItem } from '@material-ui/core';
6
- import { E as Empty } from './Empty-9a192c2a.js';
6
+ import { E as Empty } from './Empty-ab663853.js';
7
7
  import { s as styleInject } from './style-inject.es-1f59c1d0.js';
8
8
 
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";
9
+ var css_248z = ".select__placeholder {\n color: #999;\n}\n.select--small {\n width: 100%;\n}\n.select--small .MuiSelect-root {\n padding: 0.5rem 1.5rem 0.25rem;\n color: white;\n}\n.select--small .MuiSelect-root .select__placeholder {\n color: white;\n}\n.select--small .MuiSelect-root:hover, .select--small .MuiSelect-root:focus {\n background: transparent;\n}\n.select--small .MuiSvgIcon-root {\n color: white;\n}\n.select--small .MuiOutlinedInput-root {\n border-radius: 45px;\n}";
10
10
  styleInject(css_248z);
11
11
 
12
12
  var Select = function Select(props) {
@@ -1,8 +1,8 @@
1
- export { S as default } from './Select-7c0ef815.js';
1
+ export { S as default } from './Select-38a08b3f.js';
2
2
  import './_rollupPluginBabelHelpers-a52356f6.js';
3
3
  import 'react';
4
4
  import 'prop-types';
5
- import './index-cbd6bca9.js';
5
+ import './index-195d1b27.js';
6
6
  import '@material-ui/core';
7
- import './Empty-9a192c2a.js';
7
+ import './Empty-ab663853.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-cbd6bca9.js';
3
+ import { c as classNames } from './index-195d1b27.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; }\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";
7
+ var css_248z = ".customSpin {\n width: 100%;\n min-height: 100px;\n position: relative;\n}\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 = {
@@ -1,6 +1,6 @@
1
- export { S as default } from './Spin-1762ce9c.js';
1
+ export { S as default } from './Spin-5eb597a1.js';
2
2
  import 'react';
3
3
  import 'prop-types';
4
- import './index-cbd6bca9.js';
4
+ import './index-195d1b27.js';
5
5
  import '@material-ui/core';
6
6
  import './style-inject.es-1f59c1d0.js';
@@ -2,7 +2,7 @@ import React__default from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import { Tooltip as Tooltip$1 } from '@material-ui/core';
4
4
  import { _ as _extends } from './_rollupPluginBabelHelpers-a52356f6.js';
5
- import { c as classNames } from './index-cbd6bca9.js';
5
+ import { c as classNames } from './index-195d1b27.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; }\n";
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-21964965.js';
1
+ export { T as default, p as placements } from './Tooltip-cb531c8d.js';
2
2
  import 'react';
3
3
  import 'prop-types';
4
4
  import '@material-ui/core';
5
5
  import './_rollupPluginBabelHelpers-a52356f6.js';
6
- import './index-cbd6bca9.js';
6
+ import './index-195d1b27.js';
7
7
  import './style-inject.es-1f59c1d0.js';
@@ -151,9 +151,9 @@ var ZH_TW = 'zh-tw';
151
151
  var ZH_CN = 'zh-cn';
152
152
  var EN_US = 'en-us';
153
153
 
154
- /**
155
- * 全域i18n
156
- * 讓元件擁有自己的i18n
154
+ /**
155
+ * 全域i18n
156
+ * 讓元件擁有自己的i18n
157
157
  */
158
158
  var lang;
159
159
  var languages = (_languages = {}, _defineProperty(_languages, ZH_TW, zhtw), _defineProperty(_languages, ZH_CN, zhcn), _defineProperty(_languages, EN_US, enus), _languages);
@@ -4891,26 +4891,26 @@ var arrayMergeTimeline = function arrayMergeTimeline(input, keys, mergeKeys) {
4891
4891
  }, []);
4892
4892
  };
4893
4893
 
4894
- /**
4895
- * arrayMergeBySingleKey 函式功能說明。
4896
- * 根據 id 合併其它所有鍵值為 array
4897
- *
4898
- * params example:
4899
- * arrayMergeBySingleKey(data, 'id', {
4900
- * targetKeys: ['oriImgUrl'],
4901
- * newMergedKeys: ['oriImgUrls'],
4902
- * isShowIndex: true,
4903
- * omitKeys: ['oriImgUrl'],
4904
- * })
4905
- *
4906
- * @param {Array} input - 傳入的data。
4907
- * @param {String} sameKey - data中相同的key(id)。
4908
- * @param {Object} targetKeys {Array} - 欲merge的key。
4909
- * newMergedKeys {Array} - merged後的新key名稱【與targetKeys位置對應】
4910
- * isShowIndex {Boolean} - 該筆data是否顯示index
4911
- * omitKeys {Array} - 移除此筆data中的key
4912
- * @return {[object]} 回傳範例:
4913
- * [{id:1,source:["賴和"],images:[{image:xxxxxxx},{image:xxxxxxx}]},{id:2,source:"賴和",images:[{image:xxxxxxx},{image:xxxxxxx}]}]。
4894
+ /**
4895
+ * arrayMergeBySingleKey 函式功能說明。
4896
+ * 根據 id 合併其它所有鍵值為 array
4897
+ *
4898
+ * params example:
4899
+ * arrayMergeBySingleKey(data, 'id', {
4900
+ * targetKeys: ['oriImgUrl'],
4901
+ * newMergedKeys: ['oriImgUrls'],
4902
+ * isShowIndex: true,
4903
+ * omitKeys: ['oriImgUrl'],
4904
+ * })
4905
+ *
4906
+ * @param {Array} input - 傳入的data。
4907
+ * @param {String} sameKey - data中相同的key(id)。
4908
+ * @param {Object} targetKeys {Array} - 欲merge的key。
4909
+ * newMergedKeys {Array} - merged後的新key名稱【與targetKeys位置對應】
4910
+ * isShowIndex {Boolean} - 該筆data是否顯示index
4911
+ * omitKeys {Array} - 移除此筆data中的key
4912
+ * @return {[object]} 回傳範例:
4913
+ * [{id:1,source:["賴和"],images:[{image:xxxxxxx},{image:xxxxxxx}]},{id:2,source:"賴和",images:[{image:xxxxxxx},{image:xxxxxxx}]}]。
4914
4914
  */
4915
4915
  var arrayMergeBySingleKey = function arrayMergeBySingleKey(input, sameKey, _ref) {
4916
4916
  var targetKeys = _ref.targetKeys,