@daoyi/nmtl-ui 2.0.1-beta.49 → 2.0.1-beta.50

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 (57) hide show
  1. package/lib/components/{Autocomplete-aa4a8d6c.js → Autocomplete-3dae80ca.js} +3 -3
  2. package/lib/components/Autocomplete.js +4 -4
  3. package/lib/components/Avatar.js +1 -1
  4. package/lib/components/BackTop.js +3 -3
  5. package/lib/components/BarChart.js +1 -1
  6. package/lib/components/Breadcrumbs.js +1 -1
  7. package/lib/components/{Button-2f8f0493.js → Button-433372aa.js} +1 -1
  8. package/lib/components/Button.js +2 -2
  9. package/lib/components/Carousel.js +2 -61
  10. package/lib/components/Checkbox.js +1 -1
  11. package/lib/components/CollapseContent.js +3 -3
  12. package/lib/components/{ContactModal-a44e2a42.js → ContactModal-66bcb5d3.js} +122 -102
  13. package/lib/components/ContactModal.js +9 -9
  14. package/lib/components/{Drawer-dd8942f1.js → Drawer-df3535c2.js} +2 -2
  15. package/lib/components/Drawer.js +5 -5
  16. package/lib/components/Dropdown.js +2 -2
  17. package/lib/components/{Empty-3637b766.js → Empty-7318f658.js} +1 -1
  18. package/lib/components/Empty.js +2 -2
  19. package/lib/components/ExportButton.js +2 -2
  20. package/lib/components/{ExtraTools-55dad795.js → ExtraTools-1cb5786d.js} +125 -71
  21. package/lib/components/ExtraTools.js +4 -4
  22. package/lib/components/Filter.js +3 -3
  23. package/lib/components/Footer.js +9 -9
  24. package/lib/components/{ForwardLink-4759cf99.js → ForwardLink-0571e627.js} +7 -7
  25. package/lib/components/ForwardLink.js +4 -4
  26. package/lib/components/Header.js +7 -7
  27. package/lib/components/Image.js +2 -2
  28. package/lib/components/Input.js +1 -1
  29. package/lib/components/InputMethod.js +2 -2
  30. package/lib/components/{KeywordSearch-2d01266e.js → KeywordSearch-568a8a44.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 +6 -6
  34. package/lib/components/Loading.js +1 -1
  35. package/lib/components/{Modal-572e17ea.js → Modal-64c4ab0d.js} +3 -3
  36. package/lib/components/Modal.js +4 -4
  37. package/lib/components/{MoreButton-80996b5f.js → MoreButton-6654cc5b.js} +1 -1
  38. package/lib/components/MoreButton.js +2 -2
  39. package/lib/components/Radio.js +1 -1
  40. package/lib/components/SNA.js +7 -50
  41. package/lib/components/{Select-5533b506.js → Select-113372b2.js} +3 -3
  42. package/lib/components/Select.js +4 -4
  43. package/lib/components/{Spin-ebf79c17.js → Spin-8a5a600d.js} +1 -1
  44. package/lib/components/Spin.js +2 -2
  45. package/lib/components/Table.js +1 -1
  46. package/lib/components/{Tooltip-907eaa2e.js → Tooltip-abe1205f.js} +2 -2
  47. package/lib/components/Tooltip.js +3 -3
  48. package/lib/components/{_rollupPluginBabelHelpers-fde6d1c6.js → _rollupPluginBabelHelpers-3d9c8289.js} +32 -45
  49. package/lib/components/globalConfig.js +4 -18
  50. package/lib/components/{index-f491ebce.js → index-66babe67.js} +1 -1
  51. package/lib/utils/{_rollupPluginBabelHelpers-a6e0e6e3.js → _rollupPluginBabelHelpers-8dd26e1a.js} +24 -42
  52. package/lib/utils/exportXlsx.js +1 -1
  53. package/lib/utils/historyAppendSearch.js +1 -1
  54. package/lib/utils/snaPreProcess.js +1 -1
  55. package/package.json +1 -1
  56. /package/lib/components/{createSvgIcon-48da8b6e.js → createSvgIcon-a79ae4b1.js} +0 -0
  57. /package/lib/components/{index-7b60a97d.js → index-fdcc884e.js} +0 -0
@@ -1,11 +1,11 @@
1
- import { _ as _extends } from './_rollupPluginBabelHelpers-fde6d1c6.js';
1
+ import { _ as _extends } from './_rollupPluginBabelHelpers-3d9c8289.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-f491ebce.js';
4
+ import { c as classNames } from './index-66babe67.js';
5
5
  import PropTypes from 'prop-types';
6
6
  import { a as getDefaultExportFromCjs } from './_commonjsHelpers-70de2c37.js';
7
- import { Menu, MenuItem } from '@material-ui/core';
8
- import { T as Tooltip } from './Tooltip-907eaa2e.js';
7
+ import { Menu, MenuItem, useMediaQuery, IconButton } from '@material-ui/core';
8
+ import { T as Tooltip } from './Tooltip-abe1205f.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 = cx('react-share__ShareButton', {
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: cx('react-share__ShareCount', className) }, rest), !isLoading && count !== undefined && children(count)));
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));
@@ -3140,6 +3079,70 @@ const SVGComponent = _ref => {
3140
3079
  }))));
3141
3080
  };
3142
3081
 
3082
+ const ResetIcon = _ref => {
3083
+ let {
3084
+ fill = '#825c0d'
3085
+ } = _ref;
3086
+ return /*#__PURE__*/React__default.createElement("svg", {
3087
+ xmlns: "http://www.w3.org/2000/svg",
3088
+ width: "32",
3089
+ height: "32",
3090
+ viewBox: "0 0 32 32"
3091
+ }, /*#__PURE__*/React__default.createElement("defs", null, /*#__PURE__*/React__default.createElement("clipPath", {
3092
+ id: "lt43fd2cha"
3093
+ }, /*#__PURE__*/React__default.createElement("path", {
3094
+ "data-name": "Rectangle 235",
3095
+ transform: "translate(1257 1065)",
3096
+ fill: fill,
3097
+ d: "M0 0h32v32H0z"
3098
+ }))), /*#__PURE__*/React__default.createElement("g", {
3099
+ "data-name": "Mask Group 85",
3100
+ transform: "translate(-1257 -1065)",
3101
+ style: {
3102
+ clipPath: 'url(#lt43fd2cha)'
3103
+ }
3104
+ }, /*#__PURE__*/React__default.createElement("path", {
3105
+ "data-name": "Path 624",
3106
+ d: "M10.17 2.285V.369L5.749 3.463l4.42 3.094V4.645a6.682 6.682 0 1 1-6.711 6.681H1.1a9.042 9.042 0 1 0 9.07-9.041z",
3107
+ transform: "translate(1262.9 1070.631)",
3108
+ fill: fill
3109
+ })));
3110
+ };
3111
+
3112
+ const ResetMobileIcon = _ref => {
3113
+ let {
3114
+ fill = '#825c0d'
3115
+ } = _ref;
3116
+ return /*#__PURE__*/React__default.createElement("svg", {
3117
+ xmlns: "http://www.w3.org/2000/svg",
3118
+ width: "32",
3119
+ height: "32",
3120
+ viewBox: "0 0 32 32"
3121
+ }, /*#__PURE__*/React__default.createElement("defs", null, /*#__PURE__*/React__default.createElement("clipPath", {
3122
+ id: "c8go4wjvba"
3123
+ }, /*#__PURE__*/React__default.createElement("path", {
3124
+ "data-name": "Rectangle 236",
3125
+ transform: "translate(1257 1065)",
3126
+ style: {
3127
+ fill: '#fff'
3128
+ },
3129
+ d: "M0 0h32v32H0z"
3130
+ }))), /*#__PURE__*/React__default.createElement("g", {
3131
+ "data-name": "Mask Group 86",
3132
+ transform: "translate(-1257 -1065)",
3133
+ style: {
3134
+ clipPath: 'url(#c8go4wjvba)'
3135
+ }
3136
+ }, /*#__PURE__*/React__default.createElement("path", {
3137
+ "data-name": "Path 625",
3138
+ d: "M8.809 2V.369L5.052 3l3.757 2.63V4A5.68 5.68 0 1 1 3.1 9.682h-2A7.686 7.686 0 1 0 8.809 2z",
3139
+ transform: "translate(1264.214 1072.131)",
3140
+ style: {
3141
+ fill
3142
+ }
3143
+ })));
3144
+ };
3145
+
3143
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 .extraTools__share button {\n display: flex;\n justify-content: center;\n align-items: center; }\n .extraTools__download {\n cursor: pointer; }\n .extraTools__download-icon {\n display: flex;\n justify-content: center;\n align-items: center; }\n .extraTools__fullscreenBtn {\n cursor: pointer;\n padding-top: 0; }\n .extraTools__fullscreenBtn-icon {\n display: flex;\n justify-content: center;\n align-items: center; }\n .extraTools__fontsize {\n display: flex;\n justify-content: center;\n align-items: center; }\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 .extraTools .font-size-up {\n width: 32px !important;\n cursor: pointer;\n margin-right: 16px !important; }\n .extraTools .font-size-down {\n cursor: pointer;\n width: 32px !important; }\n .extraTools .fullscreenExit {\n text-align: right;\n cursor: pointer;\n border: 0; }\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";
3144
3147
  styleInject(css_248z);
3145
3148
 
@@ -3372,6 +3375,49 @@ FontSizeChanger.propTypes = {
3372
3375
  /** 改變文字的選項 */
3373
3376
  FontSizeOptions: PropTypes.objectOf(PropTypes.any)
3374
3377
  };
3378
+ const SNAResetBtn = _ref6 => {
3379
+ let {
3380
+ className,
3381
+ intl,
3382
+ iconColor,
3383
+ renderSNA
3384
+ } = _ref6;
3385
+ const isMobile = useMediaQuery('(max-width: 746px)');
3386
+ return /*#__PURE__*/React__default.createElement("div", {
3387
+ className: classNames('extraTools__resetSNA', className)
3388
+ }, /*#__PURE__*/React__default.createElement("div", {
3389
+ id: "resetBtn"
3390
+ }, /*#__PURE__*/React__default.createElement(Tooltip, {
3391
+ title: intl ? intl.formatMessage({
3392
+ id: 'common.sna.reset'
3393
+ }) : '回到原來位置與大小'
3394
+ }, /*#__PURE__*/React__default.createElement(IconButton, {
3395
+ onClick: () => renderSNA(),
3396
+ style: {
3397
+ padding: '0px'
3398
+ }
3399
+ }, isMobile ? /*#__PURE__*/React__default.createElement(ResetMobileIcon, {
3400
+ fill: iconColor
3401
+ }) : /*#__PURE__*/React__default.createElement(ResetIcon, {
3402
+ fill: iconColor
3403
+ })))));
3404
+ };
3405
+ SNAResetBtn.defaultProps = {
3406
+ className: undefined,
3407
+ intl: undefined,
3408
+ iconColor: '#825c0d',
3409
+ renderSNA: undefined
3410
+ };
3411
+ SNAResetBtn.propTypes = {
3412
+ /** Css Name */
3413
+ className: PropTypes.string,
3414
+ /** 語言 */
3415
+ intl: PropTypes.objectOf(PropTypes.any),
3416
+ /** icon顏色 */
3417
+ iconColor: PropTypes.string,
3418
+ /** 重新渲染SNA */
3419
+ renderSNA: PropTypes.func
3420
+ };
3375
3421
 
3376
3422
  var ExtraTools = function ExtraTools(_ref) {
3377
3423
  var className = _ref.className,
@@ -3384,7 +3430,8 @@ var ExtraTools = function ExtraTools(_ref) {
3384
3430
  FontSizeTargets = _ref.FontSizeTargets,
3385
3431
  FontSizeOptions = _ref.FontSizeOptions,
3386
3432
  DownloadExcel = _ref.DownloadExcel,
3387
- fullscreenDomId = _ref.fullscreenDomId;
3433
+ fullscreenDomId = _ref.fullscreenDomId,
3434
+ renderSNA = _ref.renderSNA;
3388
3435
  var hideButton = function hideButton(keys) {
3389
3436
  return (exclude || []).filter(function (key) {
3390
3437
  return keys.some(function (item) {
@@ -3402,7 +3449,8 @@ var ExtraTools = function ExtraTools(_ref) {
3402
3449
  FontSizeTargets: FontSizeTargets,
3403
3450
  FontSizeOptions: FontSizeOptions,
3404
3451
  DownloadExcel: DownloadExcel,
3405
- fullscreenDomId: fullscreenDomId
3452
+ fullscreenDomId: fullscreenDomId,
3453
+ renderSNA: renderSNA
3406
3454
  };
3407
3455
  var tools = [{
3408
3456
  keys: ['share'],
@@ -3416,6 +3464,9 @@ var ExtraTools = function ExtraTools(_ref) {
3416
3464
  }, {
3417
3465
  keys: ['fontSizeChanger'],
3418
3466
  Component: FontSizeChanger
3467
+ }, {
3468
+ keys: ['resetSNA'],
3469
+ Component: SNAResetBtn
3419
3470
  }];
3420
3471
  return /*#__PURE__*/React__default.createElement("div", {
3421
3472
  className: classNames('extraTools', className)
@@ -3447,7 +3498,8 @@ ExtraTools.defaultProps = {
3447
3498
  range: 1
3448
3499
  },
3449
3500
  DownloadExcel: undefined,
3450
- fullscreenDomId: undefined
3501
+ fullscreenDomId: undefined,
3502
+ renderSNA: undefined
3451
3503
  };
3452
3504
 
3453
3505
  /* Write props detail information and 'npm run updateStory' will help you generate stories's argTypes */
@@ -3473,7 +3525,9 @@ ExtraTools.propTypes = {
3473
3525
  /** Download元件, 由外部傳入的原因是需要環境設定 */
3474
3526
  DownloadExcel: PropTypes.oneOfType([PropTypes.node, PropTypes.func]),
3475
3527
  /** 全螢幕指定DOM */
3476
- fullscreenDomId: PropTypes.string
3528
+ fullscreenDomId: PropTypes.string,
3529
+ /** 重設SNA */
3530
+ renderSNA: PropTypes.func
3477
3531
  };
3478
3532
 
3479
3533
  export { ExtraTools as E };
@@ -1,10 +1,10 @@
1
- export { E as default } from './ExtraTools-55dad795.js';
2
- import './_rollupPluginBabelHelpers-fde6d1c6.js';
1
+ export { E as default } from './ExtraTools-1cb5786d.js';
2
+ import './_rollupPluginBabelHelpers-3d9c8289.js';
3
3
  import 'react';
4
- import './index-f491ebce.js';
4
+ import './index-66babe67.js';
5
5
  import 'prop-types';
6
6
  import './_commonjsHelpers-70de2c37.js';
7
7
  import '@material-ui/core';
8
- import './Tooltip-907eaa2e.js';
8
+ import './Tooltip-abe1205f.js';
9
9
  import './style-inject.es-1f59c1d0.js';
10
10
  import './dataExport-d55d6fa3.js';
@@ -1,8 +1,8 @@
1
- import { h as _taggedTemplateLiteral, e as _defineProperty } from './_rollupPluginBabelHelpers-fde6d1c6.js';
1
+ import { h as _taggedTemplateLiteral, e as _defineProperty } from './_rollupPluginBabelHelpers-3d9c8289.js';
2
2
  import React__default, { useContext, createElement } from 'react';
3
3
  import PropTypes from 'prop-types';
4
- import { c as classNames } from './index-f491ebce.js';
5
- import { q as queryString } from './index-7b60a97d.js';
4
+ import { c as classNames } from './index-66babe67.js';
5
+ import { q as queryString } from './index-fdcc884e.js';
6
6
  import { useHistory } from 'react-router-dom';
7
7
  import { isValidElementType, typeOf } from 'react-is';
8
8
  import { h as hoistNonReactStatics_cjs } from './hoist-non-react-statics.cjs-3f408ad2.js';
@@ -1,21 +1,21 @@
1
- import { a as _slicedToArray, d as _typeof } from './_rollupPluginBabelHelpers-fde6d1c6.js';
1
+ import { a as _slicedToArray, d as _typeof } from './_rollupPluginBabelHelpers-3d9c8289.js';
2
2
  import React__default, { useState, useEffect } from 'react';
3
- import { c as classNames } from './index-f491ebce.js';
3
+ import { c as classNames } from './index-66babe67.js';
4
4
  import PropTypes from 'prop-types';
5
5
  import axios from 'axios';
6
- import { C as ContactModal } from './ContactModal-a44e2a42.js';
7
- import { S as Spin } from './Spin-ebf79c17.js';
6
+ import { C as ContactModal } from './ContactModal-66bcb5d3.js';
7
+ import { S as Spin } from './Spin-8a5a600d.js';
8
8
  import { s as styleInject } from './style-inject.es-1f59c1d0.js';
9
9
  import './hoist-non-react-statics.cjs-3f408ad2.js';
10
10
  import 'react-is';
11
- import './Modal-572e17ea.js';
11
+ import './Modal-64c4ab0d.js';
12
12
  import '@material-ui/core';
13
13
  import '@material-ui/icons';
14
- import './Button-2f8f0493.js';
14
+ import './Button-433372aa.js';
15
15
  import './_commonjsHelpers-70de2c37.js';
16
- import './Select-5533b506.js';
17
- import './Empty-3637b766.js';
18
- import './createSvgIcon-48da8b6e.js';
16
+ import './Select-113372b2.js';
17
+ import './Empty-7318f658.js';
18
+ import './createSvgIcon-a79ae4b1.js';
19
19
  import './defaultTheme-19a14721.js';
20
20
  import '@material-ui/styles';
21
21
  import 'react-dom';
@@ -1,8 +1,8 @@
1
- import { c as _objectWithoutProperties } from './_rollupPluginBabelHelpers-fde6d1c6.js';
1
+ import { c as _objectWithoutProperties } from './_rollupPluginBabelHelpers-3d9c8289.js';
2
2
  import React__default, { useMemo } from 'react';
3
- import { c as classNames } from './index-f491ebce.js';
3
+ import { c as classNames } from './index-66babe67.js';
4
4
  import PropTypes from 'prop-types';
5
- import { q as queryString } from './index-7b60a97d.js';
5
+ import { q as queryString } from './index-fdcc884e.js';
6
6
  import { useHistory, Link } from 'react-router-dom';
7
7
  import { Tooltip } from '@material-ui/core';
8
8
  import { s as styleInject } from './style-inject.es-1f59c1d0.js';
@@ -26,10 +26,10 @@ var ForwardLink = function ForwardLink(_ref) {
26
26
  var _useMemo = useMemo(function () {
27
27
  var _rest$pathname;
28
28
  if (disabled) return {};
29
- /*
30
- * 若將 search 寫在 pathname 中,意即 pathname=/asd?zxc=qwe
31
- * 會導致換頁時 React route dom 無法匹配 => 空白畫面
32
- * 若真有此情況發生 需把 search 提領出來
29
+ /*
30
+ * 若將 search 寫在 pathname 中,意即 pathname=/asd?zxc=qwe
31
+ * 會導致換頁時 React route dom 無法匹配 => 空白畫面
32
+ * 若真有此情況發生 需把 search 提領出來
33
33
  */
34
34
  var foundIndex = (_rest$pathname = rest.pathname) === null || _rest$pathname === void 0 ? void 0 : _rest$pathname.indexOf('?');
35
35
  if (foundIndex > -1) return {
@@ -1,9 +1,9 @@
1
- export { F as default } from './ForwardLink-4759cf99.js';
2
- import './_rollupPluginBabelHelpers-fde6d1c6.js';
1
+ export { F as default } from './ForwardLink-0571e627.js';
2
+ import './_rollupPluginBabelHelpers-3d9c8289.js';
3
3
  import 'react';
4
- import './index-f491ebce.js';
4
+ import './index-66babe67.js';
5
5
  import 'prop-types';
6
- import './index-7b60a97d.js';
6
+ import './index-fdcc884e.js';
7
7
  import 'react-router-dom';
8
8
  import '@material-ui/core';
9
9
  import './style-inject.es-1f59c1d0.js';
@@ -1,21 +1,21 @@
1
- import { a as _slicedToArray } from './_rollupPluginBabelHelpers-fde6d1c6.js';
1
+ import { a as _slicedToArray } from './_rollupPluginBabelHelpers-3d9c8289.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-f491ebce.js';
4
+ import { c as classNames } from './index-66babe67.js';
5
5
  import { d as debounce_1 } from './debounce-127da66c.js';
6
6
  import { useHistory, useRouteMatch, NavLink } from 'react-router-dom';
7
7
  import { Typography, IconButton } from '@material-ui/core';
8
8
  import { SearchOutlined } from '@material-ui/icons';
9
- import { K as KeywordSearch } from './KeywordSearch-2d01266e.js';
10
- import { S as Select } from './Select-5533b506.js';
11
- import { c as checkLanguageSupport, D as Drawer, d as defaultSupportLanguage } from './Drawer-dd8942f1.js';
9
+ import { K as KeywordSearch } from './KeywordSearch-568a8a44.js';
10
+ import { S as Select } from './Select-113372b2.js';
11
+ import { c as checkLanguageSupport, D as Drawer, d as defaultSupportLanguage } from './Drawer-df3535c2.js';
12
12
  import { s as styleInject } from './style-inject.es-1f59c1d0.js';
13
13
  import './isObjectLike-e111475d.js';
14
14
  import './_commonjsHelpers-70de2c37.js';
15
15
  import 'axios';
16
- import './Autocomplete-aa4a8d6c.js';
16
+ import './Autocomplete-3dae80ca.js';
17
17
  import '@material-ui/lab';
18
- import './Empty-3637b766.js';
18
+ import './Empty-7318f658.js';
19
19
 
20
20
  var css_248z = "@charset \"UTF-8\";\n.header {\n display: flex;\n align-items: center;\n background: rgba(255, 255, 255, 0.6);\n background-color: rgba(255, 255, 255, 0.6);\n padding: 12px 36px !important;\n position: fixed;\n top: 0;\n z-index: 10;\n width: 100% !important;\n transition: top 0.3s ease-in-out;\n box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);\n -webkit-backdrop-filter: blur(4px);\n backdrop-filter: blur(4px); }\n .header__logo {\n display: flex;\n width: -moz-fit-content !important;\n width: fit-content !important;\n margin-right: 30px !important;\n cursor: pointer; }\n .header__logo__img {\n display: flex;\n align-items: center; }\n .header__logo__title {\n white-space: nowrap;\n margin-left: 1rem !important;\n font-size: 1.5rem !important;\n font-weight: 700 !important;\n font-family: 'Noto Sans TC' !important; }\n .header__links {\n display: flex;\n justify-content: flex-end;\n padding-right: 14px; }\n .header__links a {\n text-decoration: none; }\n .header__links--full {\n flex: 1; }\n .header__links__item {\n color: rgba(0, 0, 0, 0.85);\n font-size: 1.125rem !important;\n font-weight: 500 !important;\n white-space: nowrap;\n padding: 6px 14px;\n font-family: 'Noto Sans TC' !important; }\n .header__links__item--active .header__links__item {\n font-weight: 800 !important;\n background: transparent;\n border-radius: 45px; }\n .header__links__item:hover {\n font-weight: 800 !important; }\n .header__language {\n min-width: 100px !important; }\n .header__searchIcon {\n display: none !important; }\n @media screen and (max-width: 768px) {\n .header--smallUseSearchIcon .header__searchIcon {\n display: flex !important;\n margin-right: 10px !important; }\n .header--smallUseSearchIcon .keywordSearch {\n visibility: hidden;\n flex: 1;\n width: 0; } }\n .header--hide {\n top: -100px; }\n .header--focus .header__links {\n display: none; }\n .header .MuiTypography-root {\n width: 100%;\n display: flex;\n align-items: center; }\n .header .autocomplete {\n float: right; }\n .header .autocomplete .MuiAutocomplete-inputRoot[class*='MuiOutlinedInput-root'] {\n padding: 1px 8px !important; }\n .header .keywordSearch {\n margin-right: 8px; }\n .header .keywordSearch--focus .autocomplete {\n width: 100% !important; }\n .header .keywordSearch--animation .autocomplete {\n width: 240px;\n transition: width 0.3s ease-in-out; }\n\n/* 避免寬度460以下炸版 */\n@media screen and (max-width: 460px) {\n .header .keywordSearch--animation .autocomplete {\n width: 100%; } }\n\n@media screen and (max-width: 768px) {\n .header {\n padding: 12px 15px !important; }\n .header__logo {\n margin-right: 16px !important; }\n .header__logo__title {\n display: none !important; }\n .header__links {\n display: none; }\n .header__links__item {\n font-size: 1rem !important; }\n .header__language {\n display: none !important; }\n .header--focus .header__logo {\n display: none !important; }\n .autocomplete__icon {\n display: none !important; } }\n";
21
21
  styleInject(css_248z);
@@ -1,6 +1,6 @@
1
- import { a as _slicedToArray } from './_rollupPluginBabelHelpers-fde6d1c6.js';
1
+ import { a as _slicedToArray } from './_rollupPluginBabelHelpers-3d9c8289.js';
2
2
  import React__default, { useState } from 'react';
3
- import { c as classNames } from './index-f491ebce.js';
3
+ import { c as classNames } from './index-66babe67.js';
4
4
  import PropTypes from 'prop-types';
5
5
  import { s as styleInject } from './style-inject.es-1f59c1d0.js';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import React__default from 'react';
2
2
  import PropTypes from 'prop-types';
3
- import { c as classNames } from './index-f491ebce.js';
3
+ import { c as classNames } from './index-66babe67.js';
4
4
  import { OutlinedInput } from '@material-ui/core';
5
5
  import { s as styleInject } from './style-inject.es-1f59c1d0.js';
6
6
 
@@ -1,7 +1,7 @@
1
- import { a as _slicedToArray } from './_rollupPluginBabelHelpers-fde6d1c6.js';
1
+ import { a as _slicedToArray } from './_rollupPluginBabelHelpers-3d9c8289.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-f491ebce.js';
4
+ import { c as classNames } from './index-66babe67.js';
5
5
  import { ExpandMore, ExpandLess, Search } from '@material-ui/icons';
6
6
  import { s as styleInject } from './style-inject.es-1f59c1d0.js';
7
7
  import { c as commonjsGlobal } from './_commonjsHelpers-70de2c37.js';
@@ -1,10 +1,10 @@
1
- import { a as _slicedToArray } from './_rollupPluginBabelHelpers-fde6d1c6.js';
1
+ import { a as _slicedToArray } from './_rollupPluginBabelHelpers-3d9c8289.js';
2
2
  import React__default, { useState, useEffect } from 'react';
3
3
  import PropTypes from 'prop-types';
4
- import { c as classNames } from './index-f491ebce.js';
4
+ import { c as classNames } from './index-66babe67.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-aa4a8d6c.js';
7
+ import { A as Autocomplete } from './Autocomplete-3dae80ca.js';
8
8
 
9
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";
10
10
  styleInject(css_248z);
@@ -1,15 +1,15 @@
1
- export { K as default } from './KeywordSearch-2d01266e.js';
2
- import './_rollupPluginBabelHelpers-fde6d1c6.js';
1
+ export { K as default } from './KeywordSearch-568a8a44.js';
2
+ import './_rollupPluginBabelHelpers-3d9c8289.js';
3
3
  import 'react';
4
4
  import 'prop-types';
5
- import './index-f491ebce.js';
5
+ import './index-66babe67.js';
6
6
  import 'axios';
7
7
  import './style-inject.es-1f59c1d0.js';
8
- import './Autocomplete-aa4a8d6c.js';
8
+ import './Autocomplete-3dae80ca.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 './Empty-3637b766.js';
15
+ import './Empty-7318f658.js';
@@ -1,10 +1,10 @@
1
- import { a as _slicedToArray } from './_rollupPluginBabelHelpers-fde6d1c6.js';
1
+ import { a as _slicedToArray } from './_rollupPluginBabelHelpers-3d9c8289.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-f491ebce.js';
5
- import { F as ForwardLink } from './ForwardLink-4759cf99.js';
4
+ import { c as classNames } from './index-66babe67.js';
5
+ import { F as ForwardLink } from './ForwardLink-0571e627.js';
6
6
  import { s as styleInject } from './style-inject.es-1f59c1d0.js';
7
- import './index-7b60a97d.js';
7
+ import './index-fdcc884e.js';
8
8
  import 'react-router-dom';
9
9
  import '@material-ui/core';
10
10
 
@@ -1,14 +1,14 @@
1
- import { a as _slicedToArray } from './_rollupPluginBabelHelpers-fde6d1c6.js';
1
+ import { a as _slicedToArray } from './_rollupPluginBabelHelpers-3d9c8289.js';
2
2
  import React__default, { useState, useEffect } from 'react';
3
3
  import PropTypes from 'prop-types';
4
- import { c as classNames } from './index-f491ebce.js';
5
- import { M as Modal } from './Modal-572e17ea.js';
4
+ import { c as classNames } from './index-66babe67.js';
5
+ import { M as Modal } from './Modal-64c4ab0d.js';
6
6
  import { Typography } from '@material-ui/core';
7
- import { r as requireCreateSvgIcon, i as interopRequireDefault, a as interopRequireWildcard } from './createSvgIcon-48da8b6e.js';
7
+ import { r as requireCreateSvgIcon, i as interopRequireDefault, a as interopRequireWildcard } from './createSvgIcon-a79ae4b1.js';
8
8
  import { s as styleInject } from './style-inject.es-1f59c1d0.js';
9
9
  import '@material-ui/icons';
10
- import './Button-2f8f0493.js';
11
- import './Spin-ebf79c17.js';
10
+ import './Button-433372aa.js';
11
+ import './Spin-8a5a600d.js';
12
12
  import './_commonjsHelpers-70de2c37.js';
13
13
  import './defaultTheme-19a14721.js';
14
14
  import 'react-is';
@@ -1,5 +1,5 @@
1
1
  import React__default from 'react';
2
- import { c as classNames } from './index-f491ebce.js';
2
+ import { c as classNames } from './index-66babe67.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';
@@ -1,10 +1,10 @@
1
1
  import React__default from 'react';
2
- import { c as classNames } from './index-f491ebce.js';
2
+ import { c as classNames } from './index-66babe67.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-2f8f0493.js';
7
- import { S as Spin } from './Spin-ebf79c17.js';
6
+ import { B as Button } from './Button-433372aa.js';
7
+ import { S as Spin } from './Spin-8a5a600d.js';
8
8
  import { s as styleInject } from './style-inject.es-1f59c1d0.js';
9
9
 
10
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";
@@ -1,9 +1,9 @@
1
- export { M as default } from './Modal-572e17ea.js';
1
+ export { M as default } from './Modal-64c4ab0d.js';
2
2
  import 'react';
3
- import './index-f491ebce.js';
3
+ import './index-66babe67.js';
4
4
  import 'prop-types';
5
5
  import '@material-ui/core';
6
6
  import '@material-ui/icons';
7
- import './Button-2f8f0493.js';
7
+ import './Button-433372aa.js';
8
8
  import './style-inject.es-1f59c1d0.js';
9
- import './Spin-ebf79c17.js';
9
+ import './Spin-8a5a600d.js';
@@ -1,6 +1,6 @@
1
1
  import React__default from 'react';
2
2
  import PropTypes from 'prop-types';
3
- import { c as classNames } from './index-f491ebce.js';
3
+ import { c as classNames } from './index-66babe67.js';
4
4
  import { ExpandLess, ExpandMore } from '@material-ui/icons';
5
5
  import { s as styleInject } from './style-inject.es-1f59c1d0.js';
6
6
 
@@ -1,6 +1,6 @@
1
- export { M as default } from './MoreButton-80996b5f.js';
1
+ export { M as default } from './MoreButton-6654cc5b.js';
2
2
  import 'react';
3
3
  import 'prop-types';
4
- import './index-f491ebce.js';
4
+ import './index-66babe67.js';
5
5
  import '@material-ui/icons';
6
6
  import './style-inject.es-1f59c1d0.js';
@@ -1,4 +1,4 @@
1
- import { b as _objectSpread2 } from './_rollupPluginBabelHelpers-fde6d1c6.js';
1
+ import { b as _objectSpread2 } from './_rollupPluginBabelHelpers-3d9c8289.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';