@daoyi/nmtl-ui 2.0.1-beta.85 → 2.0.1-beta.87
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/README.md +45 -45
- package/lib/components/{Autocomplete-18e0fd14.js → Autocomplete-2b5732e8.js} +3 -3
- package/lib/components/Autocomplete.js +4 -4
- package/lib/components/Avatar.js +1 -1
- package/lib/components/BackTop.js +2 -2
- package/lib/components/BarChart.js +1 -1
- package/lib/components/Breadcrumbs.js +1 -1
- package/lib/components/{Button-ef7dd575.js → Button-305b69a0.js} +1 -1
- package/lib/components/Button.js +2 -2
- package/lib/components/Carousel.js +1 -1
- package/lib/components/CollapseContent.js +2 -2
- package/lib/components/{ContactModal-75da5f05.js → ContactModal-f33af93a.js} +4 -4
- package/lib/components/ContactModal.js +8 -8
- package/lib/components/{Drawer-b03f093b.js → Drawer-f6842ba3.js} +1 -1
- package/lib/components/Drawer.js +4 -4
- package/lib/components/Dropdown.js +1 -1
- package/lib/components/{Empty-ab663853.js → Empty-bf77164f.js} +1 -1
- package/lib/components/Empty.js +2 -2
- package/lib/components/ExportButton.js +1 -1
- package/lib/components/{ExtraTools-7ca77e1a.js → ExtraTools-b9cbb205.js} +2 -2
- package/lib/components/ExtraTools.js +3 -3
- package/lib/components/Filter.js +2 -2
- package/lib/components/Footer.js +8 -8
- package/lib/components/{ForwardLink-ec844c9c.js → ForwardLink-f80fdf67.js} +5 -5
- package/lib/components/ForwardLink.js +2 -2
- package/lib/components/Header.js +7 -7
- package/lib/components/Image.js +1 -1
- package/lib/components/Input.js +1 -1
- package/lib/components/InputMethod.js +196 -186
- package/lib/components/{KeywordSearch-18b49195.js → KeywordSearch-1883b67f.js} +2 -2
- package/lib/components/KeywordSearch.js +5 -5
- package/lib/components/KeywordTicker.js +3 -3
- package/lib/components/Keywords.js +5 -5
- package/lib/components/Loading.js +1 -1
- package/lib/components/{Modal-a7fd17d8.js → Modal-7f799c2e.js} +3 -3
- package/lib/components/Modal.js +4 -4
- package/lib/components/{MoreButton-efbc5181.js → MoreButton-44d3b4fe.js} +1 -1
- package/lib/components/MoreButton.js +2 -2
- package/lib/components/Pagination.js +2 -2
- package/lib/components/SNA.js +3 -3
- package/lib/components/{Select-38a08b3f.js → Select-7b672be8.js} +2 -2
- package/lib/components/Select.js +3 -3
- package/lib/components/{Spin-5eb597a1.js → Spin-8dc60bfe.js} +1 -1
- package/lib/components/Spin.js +2 -2
- package/lib/components/{Tooltip-cb531c8d.js → Tooltip-6ebfa9c1.js} +1 -1
- package/lib/components/Tooltip.js +2 -2
- package/lib/components/globalConfig.js +3 -3
- package/lib/configs/config.selector.js +151 -0
- package/lib/configs/index.d.ts +1 -0
- package/lib/configs/index.js +1 -0
- package/lib/utils/arrayMerge.js +20 -20
- package/package.json +125 -125
- /package/lib/components/{createSvgIcon-d48cdd8c.js → createSvgIcon-e3803ee1.js} +0 -0
- /package/lib/components/{index-a5d56b0c.js → index-b47819f3.js} +0 -0
- /package/lib/components/{index-195d1b27.js → index-b76a85f4.js} +0 -0
package/README.md
CHANGED
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
# react-storybook-jsx-starter
|
|
2
|
-
|
|
3
|
-
This project based
|
|
4
|
-
|
|
5
|
-
This project is bootstrapped with the following
|
|
6
|
-
- [Create React App](https://github.com/facebook/create-react-app)
|
|
7
|
-
- [Storybook/react v.6.3.5](https://storybook.js.org/)
|
|
8
|
-
- [Rollup v.2.54.0](https://rollupjs.org/guide/en/)
|
|
9
|
-
- [Airbnb esint config v.18.0.0](https://www.npmjs.com/package/eslint-config-airbnb)
|
|
10
|
-
|
|
11
|
-
## Getting Started
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
## Available Scripts
|
|
15
|
-
|
|
16
|
-
In the project directory, you can run:
|
|
17
|
-
|
|
18
|
-
### `yarn start` and `yarn storybook`
|
|
19
|
-
|
|
20
|
-
Runs storybook.<br>
|
|
21
|
-
Open [http://localhost:6006](http://localhost:6006) to view it in the browser.
|
|
22
|
-
The page will reload if you make component edits.
|
|
23
|
-
|
|
24
|
-
### `yarn create`
|
|
25
|
-
|
|
26
|
-
Help you create component or util. It will automatic generate `folder`, `JSX`, `.store.jsx`.
|
|
27
|
-
|
|
28
|
-
### `yarn lint`
|
|
29
|
-
|
|
30
|
-
Runs airbnb linting config.<br>
|
|
31
|
-
Please refer to `.eslintrc` for more details in rules that are excluded/added from the initial Airbnb configuration, which can be found [here](https://www.npmjs.com/package/eslint-config-airbnb)
|
|
32
|
-
Notice: If developer using visual code IDE, download `eslint` and `prettier` extensions to help you develop.
|
|
33
|
-
|
|
34
|
-
### `yarn build`
|
|
35
|
-
|
|
36
|
-
Builds the component library using rollup.<br>
|
|
37
|
-
This runs a set of defined configurations under `rollup.config.js` file.<br>
|
|
38
|
-
Index.js & index.ts will automatic generated by `rollup.index.js` file.
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
### `yarn build-storybook`
|
|
42
|
-
|
|
43
|
-
Builds static files for storybook site. This is so it can be deployed as the docs source for the component library.
|
|
44
|
-
|
|
45
|
-
|
|
1
|
+
# react-storybook-jsx-starter
|
|
2
|
+
|
|
3
|
+
This project based
|
|
4
|
+
|
|
5
|
+
This project is bootstrapped with the following
|
|
6
|
+
- [Create React App](https://github.com/facebook/create-react-app)
|
|
7
|
+
- [Storybook/react v.6.3.5](https://storybook.js.org/)
|
|
8
|
+
- [Rollup v.2.54.0](https://rollupjs.org/guide/en/)
|
|
9
|
+
- [Airbnb esint config v.18.0.0](https://www.npmjs.com/package/eslint-config-airbnb)
|
|
10
|
+
|
|
11
|
+
## Getting Started
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## Available Scripts
|
|
15
|
+
|
|
16
|
+
In the project directory, you can run:
|
|
17
|
+
|
|
18
|
+
### `yarn start` and `yarn storybook`
|
|
19
|
+
|
|
20
|
+
Runs storybook.<br>
|
|
21
|
+
Open [http://localhost:6006](http://localhost:6006) to view it in the browser.
|
|
22
|
+
The page will reload if you make component edits.
|
|
23
|
+
|
|
24
|
+
### `yarn create`
|
|
25
|
+
|
|
26
|
+
Help you create component or util. It will automatic generate `folder`, `JSX`, `.store.jsx`.
|
|
27
|
+
|
|
28
|
+
### `yarn lint`
|
|
29
|
+
|
|
30
|
+
Runs airbnb linting config.<br>
|
|
31
|
+
Please refer to `.eslintrc` for more details in rules that are excluded/added from the initial Airbnb configuration, which can be found [here](https://www.npmjs.com/package/eslint-config-airbnb)
|
|
32
|
+
Notice: If developer using visual code IDE, download `eslint` and `prettier` extensions to help you develop.
|
|
33
|
+
|
|
34
|
+
### `yarn build`
|
|
35
|
+
|
|
36
|
+
Builds the component library using rollup.<br>
|
|
37
|
+
This runs a set of defined configurations under `rollup.config.js` file.<br>
|
|
38
|
+
Index.js & index.ts will automatic generated by `rollup.index.js` file.
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
### `yarn build-storybook`
|
|
42
|
+
|
|
43
|
+
Builds static files for storybook site. This is so it can be deployed as the docs source for the component library.
|
|
44
|
+
|
|
45
|
+
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { _ as _extends$1, a as _slicedToArray, b as _objectSpread2 } from './_rollupPluginBabelHelpers-a52356f6.js';
|
|
2
2
|
import React__default, { useCallback, useState, useRef, useEffect } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
|
-
import { c as classNames } from './index-
|
|
4
|
+
import { c as classNames } from './index-b76a85f4.js';
|
|
5
5
|
import { d as debounce_1 } from './debounce-127da66c.js';
|
|
6
6
|
import { Autocomplete as Autocomplete$1 } from '@material-ui/lab';
|
|
7
7
|
import { Chip, TextField, CircularProgress } from '@material-ui/core';
|
|
8
8
|
import { Close, SearchOutlined } from '@material-ui/icons';
|
|
9
|
-
import { r as requireCreateSvgIcon, i as interopRequireDefault, a as interopRequireWildcard } from './createSvgIcon-
|
|
9
|
+
import { r as requireCreateSvgIcon, i as interopRequireDefault, a as interopRequireWildcard } from './createSvgIcon-e3803ee1.js';
|
|
10
10
|
import { _ as _extends, m as merge, d as defaultTheme, c as compose, b as borders, a as display, f as flexbox, g as grid, p as positions, e as palette, h as boxShadow, s as sizing, i as spacing, t as typography } from './defaultTheme-ed7746fe.js';
|
|
11
11
|
import 'react-is';
|
|
12
12
|
import { _ as _toConsumableArray } from './toConsumableArray-dbe8af76.js';
|
|
13
13
|
import { styled as styled$1 } from '@material-ui/styles';
|
|
14
14
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
15
|
-
import { E as Empty } from './Empty-
|
|
15
|
+
import { E as Empty } from './Empty-bf77164f.js';
|
|
16
16
|
|
|
17
17
|
var ArrowDropDown = {};
|
|
18
18
|
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
export { A as default } from './Autocomplete-
|
|
1
|
+
export { A as default } from './Autocomplete-2b5732e8.js';
|
|
2
2
|
import './_rollupPluginBabelHelpers-a52356f6.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'prop-types';
|
|
5
|
-
import './index-
|
|
5
|
+
import './index-b76a85f4.js';
|
|
6
6
|
import './debounce-127da66c.js';
|
|
7
7
|
import './isObjectLike-e111475d.js';
|
|
8
8
|
import './_commonjsHelpers-70de2c37.js';
|
|
9
9
|
import '@material-ui/lab';
|
|
10
10
|
import '@material-ui/core';
|
|
11
11
|
import '@material-ui/icons';
|
|
12
|
-
import './createSvgIcon-
|
|
12
|
+
import './createSvgIcon-e3803ee1.js';
|
|
13
13
|
import './defaultTheme-ed7746fe.js';
|
|
14
14
|
import 'react-is';
|
|
15
15
|
import '@material-ui/styles';
|
|
16
16
|
import 'react-dom';
|
|
17
17
|
import './toConsumableArray-dbe8af76.js';
|
|
18
18
|
import './style-inject.es-1f59c1d0.js';
|
|
19
|
-
import './Empty-
|
|
19
|
+
import './Empty-bf77164f.js';
|
package/lib/components/Avatar.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { c as classNames } from './index-
|
|
2
|
+
import { c as classNames } from './index-b76a85f4.js';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import { Avatar as Avatar$1 } from '@material-ui/core';
|
|
5
5
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { a as _slicedToArray } from './_rollupPluginBabelHelpers-a52356f6.js';
|
|
2
2
|
import React__default, { useState, useRef, useEffect } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
|
-
import { c as classNames } from './index-
|
|
4
|
+
import { c as classNames } from './index-b76a85f4.js';
|
|
5
5
|
import { d as debounce_1 } from './debounce-127da66c.js';
|
|
6
6
|
import { Fade, NoSsr, Box } from '@material-ui/core';
|
|
7
|
-
import { r as requireCreateSvgIcon, i as interopRequireDefault, a as interopRequireWildcard } from './createSvgIcon-
|
|
7
|
+
import { r as requireCreateSvgIcon, i as interopRequireDefault, a as interopRequireWildcard } from './createSvgIcon-e3803ee1.js';
|
|
8
8
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
9
9
|
import './isObjectLike-e111475d.js';
|
|
10
10
|
import './_commonjsHelpers-70de2c37.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React__default, { useEffect } from 'react';
|
|
2
|
-
import { c as classNames } from './index-
|
|
2
|
+
import { c as classNames } from './index-b76a85f4.js';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import { g as constant$1, h as interpolateNumber, j as color, k as interpolateRgb, l as interpolateString, n as exponent, o as ordinal, p as initRange, r as map, s as slice$1, u as bisectRight, v as formatSpecifier, w as formatPrefix, x as format, d as d3Select } from './transform-3a04288b.js';
|
|
5
5
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { c as classNames } from './index-
|
|
2
|
+
import { c as classNames } from './index-b76a85f4.js';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import { NavLink } from 'react-router-dom';
|
|
5
5
|
import { Typography, Breadcrumbs as Breadcrumbs$1 } from '@material-ui/core';
|
|
@@ -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-
|
|
3
|
+
import { c as classNames } from './index-b76a85f4.js';
|
|
4
4
|
import { Button as Button$1, CircularProgress } from '@material-ui/core';
|
|
5
5
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
6
6
|
|
package/lib/components/Button.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { B as default } from './Button-
|
|
1
|
+
export { B as default } from './Button-305b69a0.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'prop-types';
|
|
4
|
-
import './index-
|
|
4
|
+
import './index-b76a85f4.js';
|
|
5
5
|
import '@material-ui/core';
|
|
6
6
|
import './style-inject.es-1f59c1d0.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as _objectWithoutProperties$1, b as _objectSpread2, _ as _extends$3 } from './_rollupPluginBabelHelpers-a52356f6.js';
|
|
2
2
|
import React__default, { forwardRef, useRef, useImperativeHandle } from 'react';
|
|
3
|
-
import { a as classnames, c as classNames } from './index-
|
|
3
|
+
import { a as classnames, c as classNames } from './index-b76a85f4.js';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
5
5
|
import { c as commonjsGlobal, g as getAugmentedNamespace, a as getDefaultExportFromCjs } from './_commonjsHelpers-70de2c37.js';
|
|
6
6
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { a as _slicedToArray } from './_rollupPluginBabelHelpers-a52356f6.js';
|
|
2
2
|
import React__default, { useState, useRef, useEffect } from 'react';
|
|
3
|
-
import { c as classNames } from './index-
|
|
3
|
+
import { c as classNames } from './index-b76a85f4.js';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
5
5
|
import { Typography } from '@material-ui/core';
|
|
6
|
-
import { M as MoreButton } from './MoreButton-
|
|
6
|
+
import { M as MoreButton } from './MoreButton-44d3b4fe.js';
|
|
7
7
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
8
8
|
import '@material-ui/icons';
|
|
9
9
|
|
|
@@ -3,13 +3,13 @@ import React__default, { createContext, forwardRef, createElement, useContext, u
|
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import { h as hoistNonReactStatics_cjs } from './hoist-non-react-statics.cjs-3f408ad2.js';
|
|
5
5
|
import axios from 'axios';
|
|
6
|
-
import { M as Modal } from './Modal-
|
|
6
|
+
import { M as Modal } from './Modal-7f799c2e.js';
|
|
7
7
|
import { c as commonjsGlobal, a as getDefaultExportFromCjs } from './_commonjsHelpers-70de2c37.js';
|
|
8
|
-
import { c as classNames } from './index-
|
|
8
|
+
import { c as classNames } from './index-b76a85f4.js';
|
|
9
9
|
import { Input, Button, Box, Typography, FormControl, RadioGroup, FormControlLabel, Radio, TextField, TextareaAutosize } from '@material-ui/core';
|
|
10
|
-
import { S as Select } from './Select-
|
|
10
|
+
import { S as Select } from './Select-7b672be8.js';
|
|
11
11
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
12
|
-
import { r as requireCreateSvgIcon, i as interopRequireDefault, a as interopRequireWildcard } from './createSvgIcon-
|
|
12
|
+
import { r as requireCreateSvgIcon, i as interopRequireDefault, a as interopRequireWildcard } from './createSvgIcon-e3803ee1.js';
|
|
13
13
|
import { getIntl } from './globalConfig';
|
|
14
14
|
|
|
15
15
|
var isArray$1 = Array.isArray;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
export { C as default } from './ContactModal-
|
|
1
|
+
export { C as default } from './ContactModal-f33af93a.js';
|
|
2
2
|
import './_rollupPluginBabelHelpers-a52356f6.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'prop-types';
|
|
5
5
|
import './hoist-non-react-statics.cjs-3f408ad2.js';
|
|
6
6
|
import 'react-is';
|
|
7
7
|
import 'axios';
|
|
8
|
-
import './Modal-
|
|
9
|
-
import './index-
|
|
8
|
+
import './Modal-7f799c2e.js';
|
|
9
|
+
import './index-b76a85f4.js';
|
|
10
10
|
import '@material-ui/core';
|
|
11
11
|
import '@material-ui/icons';
|
|
12
|
-
import './Button-
|
|
12
|
+
import './Button-305b69a0.js';
|
|
13
13
|
import './style-inject.es-1f59c1d0.js';
|
|
14
|
-
import './Spin-
|
|
14
|
+
import './Spin-8dc60bfe.js';
|
|
15
15
|
import './_commonjsHelpers-70de2c37.js';
|
|
16
|
-
import './Select-
|
|
17
|
-
import './Empty-
|
|
18
|
-
import './createSvgIcon-
|
|
16
|
+
import './Select-7b672be8.js';
|
|
17
|
+
import './Empty-bf77164f.js';
|
|
18
|
+
import './createSvgIcon-e3803ee1.js';
|
|
19
19
|
import './defaultTheme-ed7746fe.js';
|
|
20
20
|
import '@material-ui/styles';
|
|
21
21
|
import 'react-dom';
|
|
@@ -3,7 +3,7 @@ import React__default, { useState } from 'react';
|
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import { List, ListItem, ListItemIcon, ListItemText, IconButton, Drawer as Drawer$1, Divider } from '@material-ui/core';
|
|
5
5
|
import { DehazeRounded } from '@material-ui/icons';
|
|
6
|
-
import { S as Select } from './Select-
|
|
6
|
+
import { S as Select } from './Select-7b672be8.js';
|
|
7
7
|
import { useHistory, useRouteMatch } from 'react-router-dom';
|
|
8
8
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
9
9
|
|
package/lib/components/Drawer.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { D as default } from './Drawer-
|
|
1
|
+
export { D as default } from './Drawer-f6842ba3.js';
|
|
2
2
|
import './_rollupPluginBabelHelpers-a52356f6.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'prop-types';
|
|
5
5
|
import '@material-ui/core';
|
|
6
6
|
import '@material-ui/icons';
|
|
7
|
-
import './Select-
|
|
8
|
-
import './index-
|
|
9
|
-
import './Empty-
|
|
7
|
+
import './Select-7b672be8.js';
|
|
8
|
+
import './index-b76a85f4.js';
|
|
9
|
+
import './Empty-bf77164f.js';
|
|
10
10
|
import './style-inject.es-1f59c1d0.js';
|
|
11
11
|
import 'react-router-dom';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as _slicedToArray } from './_rollupPluginBabelHelpers-a52356f6.js';
|
|
2
2
|
import React__default, { useRef, useState } from 'react';
|
|
3
|
-
import { c as classNames } from './index-
|
|
3
|
+
import { c as classNames } from './index-b76a85f4.js';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
5
5
|
import { Button, Menu, Divider, MenuItem, ListItemIcon, ListItemText } from '@material-ui/core';
|
|
6
6
|
import { makeStyles } from '@material-ui/styles';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
|
-
import { c as classNames } from './index-
|
|
3
|
+
import { c as classNames } from './index-b76a85f4.js';
|
|
4
4
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
5
5
|
|
|
6
6
|
var img = "data:image/svg+xml,%3csvg class='ant-empty-img-default' width='184' height='152' viewBox='0 0 184 152' xmlns='http://www.w3.org/2000/svg'%3e %3cg fill='none' fill-rule='evenodd'%3e %3cg transform='translate(24 31.67)'%3e %3cellipse fill='%23f5f5f5' fill-opacity='0.8' cx='67.797' cy='106.89' rx='67.797' ry='12.668'%3e%3c/ellipse%3e %3cpath fill='%23aeb8c2' d='M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z'%3e%3c/path%3e %3cpath fill='url(%23linearGradient-1)' d='M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z' transform='translate(13.56)'%3e%3c/path%3e %3cpath fill='%23f5f5f7' d='M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z'%3e%3c/path%3e %3cpath fill='%23dce0e6' d='M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z'%3e%3c/path%3e %3c/g%3e %3cpath fill='%23dce0e6' d='M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z'%3e%3c/path%3e %3cg fill='white' transform='translate(149.65 15.383)'%3e %3cellipse cx='20.654' cy='3.167' rx='2.849' ry='2.815'%3e%3c/ellipse%3e %3cpath d='M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z'%3e%3c/path%3e %3c/g%3e %3c/g%3e%3c/svg%3e";
|
package/lib/components/Empty.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as _slicedToArray } from './_rollupPluginBabelHelpers-a52356f6.js';
|
|
2
2
|
import React__default, { useState } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
|
-
import { c as classNames } from './index-
|
|
4
|
+
import { c as classNames } from './index-b76a85f4.js';
|
|
5
5
|
import { ExitToApp } from '@material-ui/icons';
|
|
6
6
|
import { Dialog, DialogContent, DialogContentText, DialogActions, Button } from '@material-ui/core';
|
|
7
7
|
import { f as fileDownload, j as jsonTxt, a as jsonExcel } from './dataExport-d55d6fa3.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { _ as _extends } from './_rollupPluginBabelHelpers-a52356f6.js';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import React__default, { Component, forwardRef, useState } from 'react';
|
|
4
|
-
import { c as classNames } from './index-
|
|
4
|
+
import { c as classNames } from './index-b76a85f4.js';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
6
|
import { a as getDefaultExportFromCjs } from './_commonjsHelpers-70de2c37.js';
|
|
7
7
|
import { Menu, MenuItem, useMediaQuery, IconButton } from '@material-ui/core';
|
|
8
|
-
import { T as Tooltip } from './Tooltip-
|
|
8
|
+
import { T as Tooltip } from './Tooltip-6ebfa9c1.js';
|
|
9
9
|
import { s as snaToExcel, f as fileDownload$1, a as jsonExcel } from './dataExport-d55d6fa3.js';
|
|
10
10
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
11
11
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { E as default } from './ExtraTools-
|
|
1
|
+
export { E as default } from './ExtraTools-b9cbb205.js';
|
|
2
2
|
import './_rollupPluginBabelHelpers-a52356f6.js';
|
|
3
3
|
import 'react';
|
|
4
|
-
import './index-
|
|
4
|
+
import './index-b76a85f4.js';
|
|
5
5
|
import 'prop-types';
|
|
6
6
|
import './_commonjsHelpers-70de2c37.js';
|
|
7
7
|
import '@material-ui/core';
|
|
8
|
-
import './Tooltip-
|
|
8
|
+
import './Tooltip-6ebfa9c1.js';
|
|
9
9
|
import './style-inject.es-1f59c1d0.js';
|
|
10
10
|
import './dataExport-d55d6fa3.js';
|
package/lib/components/Filter.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { f as _taggedTemplateLiteral, e as _defineProperty } from './_rollupPluginBabelHelpers-a52356f6.js';
|
|
2
2
|
import React__default, { useContext, createElement, useCallback } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
|
-
import { c as classNames } from './index-
|
|
5
|
-
import { q as queryString } from './index-
|
|
4
|
+
import { c as classNames } from './index-b76a85f4.js';
|
|
5
|
+
import { q as queryString } from './index-b47819f3.js';
|
|
6
6
|
import { useHistory } from 'react-router-dom';
|
|
7
7
|
import { isValidElementType, typeOf } from 'react-is';
|
|
8
8
|
import { h as hoistNonReactStatics_cjs } from './hoist-non-react-statics.cjs-3f408ad2.js';
|
package/lib/components/Footer.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { a as _slicedToArray, d as _typeof } from './_rollupPluginBabelHelpers-a52356f6.js';
|
|
2
2
|
import React__default, { useState, useEffect } from 'react';
|
|
3
|
-
import { c as classNames } from './index-
|
|
3
|
+
import { c as classNames } from './index-b76a85f4.js';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
5
5
|
import axios from 'axios';
|
|
6
|
-
import { C as ContactModal } from './ContactModal-
|
|
7
|
-
import { S as Spin } from './Spin-
|
|
6
|
+
import { C as ContactModal } from './ContactModal-f33af93a.js';
|
|
7
|
+
import { S as Spin } from './Spin-8dc60bfe.js';
|
|
8
8
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
9
9
|
import './hoist-non-react-statics.cjs-3f408ad2.js';
|
|
10
10
|
import 'react-is';
|
|
11
|
-
import './Modal-
|
|
11
|
+
import './Modal-7f799c2e.js';
|
|
12
12
|
import '@material-ui/core';
|
|
13
13
|
import '@material-ui/icons';
|
|
14
|
-
import './Button-
|
|
14
|
+
import './Button-305b69a0.js';
|
|
15
15
|
import './_commonjsHelpers-70de2c37.js';
|
|
16
|
-
import './Select-
|
|
17
|
-
import './Empty-
|
|
18
|
-
import './createSvgIcon-
|
|
16
|
+
import './Select-7b672be8.js';
|
|
17
|
+
import './Empty-bf77164f.js';
|
|
18
|
+
import './createSvgIcon-e3803ee1.js';
|
|
19
19
|
import './defaultTheme-ed7746fe.js';
|
|
20
20
|
import '@material-ui/styles';
|
|
21
21
|
import 'react-dom';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as _objectWithoutProperties } from './_rollupPluginBabelHelpers-a52356f6.js';
|
|
2
2
|
import React__default, { useMemo } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
|
-
import { q as queryString } from './index-
|
|
4
|
+
import { q as queryString } from './index-b47819f3.js';
|
|
5
5
|
import { useHistory, Link } from 'react-router-dom';
|
|
6
6
|
import { Tooltip } from '@material-ui/core';
|
|
7
7
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
@@ -25,10 +25,10 @@ var ForwardLink = function ForwardLink(_ref) {
|
|
|
25
25
|
var _useMemo = useMemo(function () {
|
|
26
26
|
var _rest$pathname;
|
|
27
27
|
if (disabled) return {};
|
|
28
|
-
/*
|
|
29
|
-
* 若將 search 寫在 pathname 中,意即 pathname=/asd?zxc=qwe
|
|
30
|
-
* 會導致換頁時 React route dom 無法匹配 => 空白畫面
|
|
31
|
-
* 若真有此情況發生 需把 search 提領出來
|
|
28
|
+
/*
|
|
29
|
+
* 若將 search 寫在 pathname 中,意即 pathname=/asd?zxc=qwe
|
|
30
|
+
* 會導致換頁時 React route dom 無法匹配 => 空白畫面
|
|
31
|
+
* 若真有此情況發生 需把 search 提領出來
|
|
32
32
|
*/
|
|
33
33
|
var foundIndex = (_rest$pathname = rest.pathname) === null || _rest$pathname === void 0 ? void 0 : _rest$pathname.indexOf('?');
|
|
34
34
|
if (foundIndex > -1) return {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { F as default } from './ForwardLink-
|
|
1
|
+
export { F as default } from './ForwardLink-f80fdf67.js';
|
|
2
2
|
import './_rollupPluginBabelHelpers-a52356f6.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'prop-types';
|
|
5
|
-
import './index-
|
|
5
|
+
import './index-b47819f3.js';
|
|
6
6
|
import 'react-router-dom';
|
|
7
7
|
import '@material-ui/core';
|
|
8
8
|
import './style-inject.es-1f59c1d0.js';
|
package/lib/components/Header.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { a as _slicedToArray } from './_rollupPluginBabelHelpers-a52356f6.js';
|
|
2
2
|
import React__default, { useState, useRef, useEffect } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
|
-
import { c as classNames } from './index-
|
|
4
|
+
import { c as classNames } from './index-b76a85f4.js';
|
|
5
5
|
import { d as debounce_1 } from './debounce-127da66c.js';
|
|
6
6
|
import { useHistory, useRouteMatch, NavLink } from 'react-router-dom';
|
|
7
7
|
import { Typography, IconButton } from '@material-ui/core';
|
|
8
8
|
import { SearchOutlined } from '@material-ui/icons';
|
|
9
|
-
import { K as KeywordSearch } from './KeywordSearch-
|
|
10
|
-
import { S as Select } from './Select-
|
|
11
|
-
import { c as checkLanguageSupport, D as Drawer, d as defaultSupportLanguage } from './Drawer-
|
|
9
|
+
import { K as KeywordSearch } from './KeywordSearch-1883b67f.js';
|
|
10
|
+
import { S as Select } from './Select-7b672be8.js';
|
|
11
|
+
import { c as checkLanguageSupport, D as Drawer, d as defaultSupportLanguage } from './Drawer-f6842ba3.js';
|
|
12
12
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
13
13
|
import './isObjectLike-e111475d.js';
|
|
14
14
|
import './_commonjsHelpers-70de2c37.js';
|
|
15
15
|
import 'axios';
|
|
16
|
-
import './Autocomplete-
|
|
16
|
+
import './Autocomplete-2b5732e8.js';
|
|
17
17
|
import '@material-ui/lab';
|
|
18
|
-
import './createSvgIcon-
|
|
18
|
+
import './createSvgIcon-e3803ee1.js';
|
|
19
19
|
import './defaultTheme-ed7746fe.js';
|
|
20
20
|
import 'react-is';
|
|
21
21
|
import '@material-ui/styles';
|
|
22
22
|
import 'react-dom';
|
|
23
23
|
import './toConsumableArray-dbe8af76.js';
|
|
24
|
-
import './Empty-
|
|
24
|
+
import './Empty-bf77164f.js';
|
|
25
25
|
|
|
26
26
|
var css_248z = "@charset \"UTF-8\";\n.header {\n display: flex;\n align-items: center;\n background: rgba(255, 255, 255, 0.6);\n background-color: rgba(255, 255, 255, 0.6);\n padding: 12px 36px !important;\n position: fixed;\n top: 0;\n z-index: 10;\n width: 100% !important;\n transition: top 0.3s ease-in-out;\n box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);\n}\n.header__logo {\n display: flex;\n width: -moz-fit-content !important;\n width: fit-content !important;\n margin-right: 30px !important;\n cursor: pointer;\n}\n.header__logo__img {\n display: flex;\n align-items: center;\n}\n.header__logo__title {\n white-space: nowrap;\n margin-left: 1rem !important;\n font-size: 1.5rem !important;\n font-weight: 700 !important;\n font-family: \"Noto Sans TC\" !important;\n}\n.header__links {\n display: flex;\n justify-content: flex-end;\n padding-right: 14px;\n}\n.header__links a {\n text-decoration: none;\n}\n.header__links--full {\n flex: 1;\n}\n.header__links__item {\n color: rgba(0, 0, 0, 0.85);\n font-size: 1.125rem !important;\n font-weight: 500 !important;\n white-space: nowrap;\n padding: 6px 14px;\n font-family: \"Noto Sans TC\" !important;\n}\n.header__links__item--active .header__links__item {\n font-weight: 800 !important;\n background: transparent;\n border-radius: 45px;\n}\n.header__links__item:hover {\n font-weight: 800 !important;\n}\n.header__language {\n min-width: 100px !important;\n}\n.header__searchIcon {\n display: none !important;\n}\n@media screen and (max-width: 768px) {\n .header--smallUseSearchIcon .header__searchIcon {\n display: flex !important;\n margin-right: 10px !important;\n }\n .header--smallUseSearchIcon .keywordSearch {\n visibility: hidden;\n flex: 1;\n width: 0;\n }\n}\n.header--hide {\n top: -100px;\n}\n.header--focus .header__links {\n display: none;\n}\n.header .MuiTypography-root {\n width: 100%;\n display: flex;\n align-items: center;\n}\n.header .autocomplete {\n float: right;\n}\n.header .autocomplete .MuiAutocomplete-inputRoot[class*=MuiOutlinedInput-root] {\n padding: 1px 8px !important;\n}\n.header .keywordSearch {\n margin-right: 8px;\n}\n.header .keywordSearch--focus .autocomplete {\n width: 100% !important;\n}\n.header .keywordSearch--animation .autocomplete {\n width: 240px;\n transition: width 0.3s ease-in-out;\n}\n\n/* 避免寬度460以下炸版 */\n@media screen and (max-width: 460px) {\n .header .keywordSearch--animation .autocomplete {\n width: 100%;\n }\n}\n@media screen and (max-width: 768px) {\n .header {\n padding: 12px 15px !important;\n }\n .header__logo {\n margin-right: 16px !important;\n }\n .header__logo__title {\n display: none !important;\n }\n .header__links {\n display: none;\n }\n .header__links__item {\n font-size: 1rem !important;\n }\n .header__language {\n display: none !important;\n }\n .header--focus .header__logo {\n display: none !important;\n }\n\n .autocomplete__icon {\n display: none !important;\n }\n}";
|
|
27
27
|
styleInject(css_248z);
|
package/lib/components/Image.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as _slicedToArray } from './_rollupPluginBabelHelpers-a52356f6.js';
|
|
2
2
|
import React__default, { useState } from 'react';
|
|
3
|
-
import { c as classNames } from './index-
|
|
3
|
+
import { c as classNames } from './index-b76a85f4.js';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
5
5
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
6
6
|
|
package/lib/components/Input.js
CHANGED
|
@@ -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-
|
|
3
|
+
import { c as classNames } from './index-b76a85f4.js';
|
|
4
4
|
import { OutlinedInput } from '@material-ui/core';
|
|
5
5
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
6
6
|
|