@daoyi/nmtl-ui 2.0.1-beta.90 → 2.0.1-beta.92
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-24e9686d.js → Autocomplete-5d6f1df8.js} +57 -15
- package/lib/components/Autocomplete.js +6 -5
- package/lib/components/Avatar.js +1 -1
- package/lib/components/BackTop.js +3 -3
- package/lib/components/BarChart.js +1 -1
- package/lib/components/Breadcrumbs.js +1 -1
- package/lib/components/{Button-430d39e6.js → Button-305b69a0.js} +1 -1
- package/lib/components/Button.js +2 -2
- package/lib/components/Carousel.js +2 -61
- package/lib/components/Checkbox.js +1 -1
- package/lib/components/CollapseContent.js +3 -3
- package/lib/components/{ContactModal-523ae294.js → ContactModal-1997d146.js} +94 -22
- package/lib/components/ContactModal.js +10 -10
- package/lib/components/{Drawer-ec47e780.js → Drawer-b9855a54.js} +10 -3
- package/lib/components/Drawer.js +6 -5
- package/lib/components/Dropdown.js +2 -2
- package/lib/components/{Empty-dc5fc2fc.js → Empty-bf77164f.js} +1 -1
- package/lib/components/Empty.js +2 -2
- package/lib/components/ExportButton.js +2 -2
- package/lib/components/{ExtraTools-0ffc772b.js → ExtraTools-5954ee3a.js} +75 -78
- package/lib/components/ExtraTools.js +4 -4
- package/lib/components/Filter.js +3 -3
- package/lib/components/Footer.js +10 -10
- package/lib/components/{ForwardLink-15222b22.js → ForwardLink-aa950a50.js} +17 -8
- package/lib/components/ForwardLink.js +4 -3
- package/lib/components/Header.js +25 -9
- package/lib/components/Image.js +2 -2
- package/lib/components/Input.js +1 -1
- package/lib/components/InputMethod.js +197 -187
- package/lib/components/{KeywordSearch-91167d24.js → KeywordSearch-33341dd3.js} +3 -3
- package/lib/components/KeywordSearch.js +7 -6
- package/lib/components/KeywordTicker.js +5 -4
- package/lib/components/Keywords.js +7 -6
- package/lib/components/Loading.js +1 -1
- package/lib/components/{Modal-6b8c72d7.js → Modal-5a27951f.js} +12 -4
- package/lib/components/Modal.js +5 -4
- package/lib/components/{MoreButton-4d5d94da.js → MoreButton-44d3b4fe.js} +1 -1
- package/lib/components/MoreButton.js +2 -2
- package/lib/components/Pagination.js +3 -3
- package/lib/components/Radio.js +1 -1
- package/lib/components/SNA.js +4 -4
- package/lib/components/{Select-7da870e0.js → Select-e550d0a5.js} +24 -7
- package/lib/components/Select.js +4 -4
- package/lib/components/{Spin-9a07b106.js → Spin-8dc60bfe.js} +1 -1
- package/lib/components/Spin.js +2 -2
- package/lib/components/Table.js +1 -1
- package/lib/components/{Tooltip-6d53cb6e.js → Tooltip-6ebfa9c1.js} +2 -2
- package/lib/components/Tooltip.js +3 -3
- package/lib/components/{_rollupPluginBabelHelpers-ed61ffc0.js → _rollupPluginBabelHelpers-a52356f6.js} +24 -42
- package/lib/components/globalConfig.js +30 -21
- package/lib/components/{index-f491ebce.js → index-b76a85f4.js} +1 -1
- package/lib/utils/{_rollupPluginBabelHelpers-a6e0e6e3.js → _rollupPluginBabelHelpers-8dd26e1a.js} +24 -42
- package/lib/utils/arrayMerge.js +21 -21
- package/lib/utils/exportXlsx.js +1 -1
- package/lib/utils/historyAppendSearch.js +1 -1
- package/lib/utils/snaPreProcess.js +1 -1
- package/package.json +125 -125
- /package/lib/components/{createSvgIcon-ff0e3b99.js → createSvgIcon-e3803ee1.js} +0 -0
- /package/lib/components/{index-a6f22b92.js → index-b47819f3.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,19 @@
|
|
|
1
|
-
import { _ as _extends$1, a as _slicedToArray, b as _objectSpread2 } from './_rollupPluginBabelHelpers-
|
|
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
|
+
import { getIntl } from './globalConfig';
|
|
14
15
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
15
|
-
import { E as Empty } from './Empty-
|
|
16
|
+
import { E as Empty } from './Empty-bf77164f.js';
|
|
16
17
|
|
|
17
18
|
var ArrowDropDown = {};
|
|
18
19
|
|
|
@@ -97,7 +98,8 @@ var useAutocomplete = (_ref => {
|
|
|
97
98
|
onEnter,
|
|
98
99
|
currentResult,
|
|
99
100
|
setCurrentDefaultValue,
|
|
100
|
-
arrowIcon
|
|
101
|
+
arrowIcon,
|
|
102
|
+
ariaLabel
|
|
101
103
|
} = _ref;
|
|
102
104
|
const getValue = useCallback(data => typeof data === 'object' ? data.value : data, []);
|
|
103
105
|
const getLabel = useCallback(value => {
|
|
@@ -114,6 +116,12 @@ var useAutocomplete = (_ref => {
|
|
|
114
116
|
return typeof value === 'object' ? value.label : value;
|
|
115
117
|
}, [options]);
|
|
116
118
|
|
|
119
|
+
// Filter duplicate data by each item.value
|
|
120
|
+
const getUniqueArray = useCallback(result => {
|
|
121
|
+
if (!Array.isArray(result)) return undefined;
|
|
122
|
+
return [...new Map(result.map(obj => [obj.value, obj])).values()];
|
|
123
|
+
}, []);
|
|
124
|
+
|
|
117
125
|
/* 若MUI的Autocomplete下方的options列表要勾選已選的項目 必須從options取出才可 */
|
|
118
126
|
const getValueFromOptions = useCallback(defaultValue => {
|
|
119
127
|
if (Array.isArray(options)) {
|
|
@@ -150,7 +158,13 @@ var useAutocomplete = (_ref => {
|
|
|
150
158
|
}, getTagProps({
|
|
151
159
|
index
|
|
152
160
|
})))), [options]);
|
|
153
|
-
const defaultRenderInput = useCallback(params => /*#__PURE__*/React__default.createElement(TextField
|
|
161
|
+
const defaultRenderInput = useCallback(params => /*#__PURE__*/React__default.createElement(TextField
|
|
162
|
+
// WCAG 3.3.2 輸入框需有可及名稱(placeholder 不是 label),未提供 ariaLabel 時以 placeholder 代替
|
|
163
|
+
, _extends$1({}, params, {
|
|
164
|
+
inputProps: {
|
|
165
|
+
...params.inputProps,
|
|
166
|
+
'aria-label': ariaLabel || placeholder
|
|
167
|
+
},
|
|
154
168
|
variant: "outlined",
|
|
155
169
|
placeholder: placeholder,
|
|
156
170
|
InputProps: {
|
|
@@ -159,8 +173,16 @@ var useAutocomplete = (_ref => {
|
|
|
159
173
|
className: "autocomplete__icon",
|
|
160
174
|
color: "inherit",
|
|
161
175
|
size: 20
|
|
162
|
-
}), searchIcon &&
|
|
176
|
+
}), searchIcon &&
|
|
177
|
+
/*#__PURE__*/
|
|
178
|
+
// WCAG 2.1.1 / 4.1.2 搜尋圖示為可點擊元素,需可鍵盤操作並有名稱
|
|
179
|
+
React__default.createElement(SearchOutlined, {
|
|
163
180
|
className: "autocomplete__icon",
|
|
181
|
+
role: "button",
|
|
182
|
+
tabIndex: 0,
|
|
183
|
+
"aria-label": getIntl().formatMessage({
|
|
184
|
+
id: 'aria.autocomplete.search'
|
|
185
|
+
}),
|
|
164
186
|
onClick: event => {
|
|
165
187
|
const tmpObj = {
|
|
166
188
|
labels: currentResult || '',
|
|
@@ -168,6 +190,17 @@ var useAutocomplete = (_ref => {
|
|
|
168
190
|
};
|
|
169
191
|
setCurrentDefaultValue(tmpObj);
|
|
170
192
|
return onEnter(event, tmpObj);
|
|
193
|
+
},
|
|
194
|
+
onKeyDown: event => {
|
|
195
|
+
if (event.key === 'Enter' || event.key === ' ') {
|
|
196
|
+
event.preventDefault();
|
|
197
|
+
const tmpObj = {
|
|
198
|
+
labels: currentResult || '',
|
|
199
|
+
value: currentResult || ''
|
|
200
|
+
};
|
|
201
|
+
setCurrentDefaultValue(tmpObj);
|
|
202
|
+
onEnter(event, tmpObj);
|
|
203
|
+
}
|
|
171
204
|
}
|
|
172
205
|
}), !searchIcon && !loading && arrowIcon && /*#__PURE__*/React__default.createElement(Box, {
|
|
173
206
|
style: {
|
|
@@ -177,12 +210,13 @@ var useAutocomplete = (_ref => {
|
|
|
177
210
|
}
|
|
178
211
|
}, /*#__PURE__*/React__default.createElement(default_1, null)), params.InputProps.endAdornment)
|
|
179
212
|
}
|
|
180
|
-
})), [loading, searchIcon, arrowIcon]);
|
|
213
|
+
})), [loading, searchIcon, arrowIcon, ariaLabel, placeholder]);
|
|
181
214
|
return {
|
|
182
215
|
getValue,
|
|
183
216
|
getValueFromOptions,
|
|
184
217
|
defaultTag,
|
|
185
|
-
defaultRenderInput
|
|
218
|
+
defaultRenderInput,
|
|
219
|
+
getUniqueArray
|
|
186
220
|
};
|
|
187
221
|
});
|
|
188
222
|
|
|
@@ -203,7 +237,8 @@ var Autocomplete = function Autocomplete(props) {
|
|
|
203
237
|
placeholder = props.placeholder,
|
|
204
238
|
searchIcon = props.searchIcon,
|
|
205
239
|
_renderInput = props.renderInput,
|
|
206
|
-
_renderTags = props.renderTags
|
|
240
|
+
_renderTags = props.renderTags,
|
|
241
|
+
ariaLabel = props.ariaLabel;
|
|
207
242
|
var _onChange = props.onChange,
|
|
208
243
|
onSearch = props.onSearch,
|
|
209
244
|
onFocus = props.onFocus,
|
|
@@ -230,7 +265,7 @@ var Autocomplete = function Autocomplete(props) {
|
|
|
230
265
|
_useState10 = _slicedToArray(_useState9, 2),
|
|
231
266
|
currentDefaultValue = _useState10[0],
|
|
232
267
|
setCurrentDefaultValue = _useState10[1];
|
|
233
|
-
var _useAutocomplete = useAutocomplete(_objectSpread2({}, {
|
|
268
|
+
var _useAutocomplete = useAutocomplete(_objectSpread2(_objectSpread2({}, {
|
|
234
269
|
options: options,
|
|
235
270
|
placeholder: placeholder,
|
|
236
271
|
loading: loading,
|
|
@@ -240,11 +275,14 @@ var Autocomplete = function Autocomplete(props) {
|
|
|
240
275
|
onEnter: onEnter,
|
|
241
276
|
setCurrentDefaultValue: setCurrentDefaultValue,
|
|
242
277
|
arrowIcon: arrowIcon
|
|
278
|
+
}), {}, {
|
|
279
|
+
ariaLabel: ariaLabel
|
|
243
280
|
})),
|
|
244
281
|
getValue = _useAutocomplete.getValue,
|
|
245
282
|
getValueFromOptions = _useAutocomplete.getValueFromOptions,
|
|
246
283
|
defaultTag = _useAutocomplete.defaultTag,
|
|
247
|
-
defaultRenderInput = _useAutocomplete.defaultRenderInput
|
|
284
|
+
defaultRenderInput = _useAutocomplete.defaultRenderInput,
|
|
285
|
+
getUniqueArray = _useAutocomplete.getUniqueArray;
|
|
248
286
|
var handleSearch = useRef(debounce_1(function (result) {
|
|
249
287
|
return onSearch(result);
|
|
250
288
|
}, 500)).current;
|
|
@@ -345,7 +383,8 @@ var Autocomplete = function Autocomplete(props) {
|
|
|
345
383
|
return _renderInput && _renderInput(params) || defaultRenderInput(params);
|
|
346
384
|
},
|
|
347
385
|
renderTags: function renderTags(tagValue, getTagProps) {
|
|
348
|
-
|
|
386
|
+
var uniqueArray = getUniqueArray(tagValue) || tagValue;
|
|
387
|
+
return _renderTags && _renderTags(uniqueArray, getTagProps) || defaultTag(uniqueArray, getTagProps);
|
|
349
388
|
}
|
|
350
389
|
// popupIcon={<ExpandMore />}
|
|
351
390
|
,
|
|
@@ -375,7 +414,8 @@ Autocomplete.defaultProps = {
|
|
|
375
414
|
onFocus: function onFocus() {},
|
|
376
415
|
onBlur: function onBlur() {},
|
|
377
416
|
onEnter: function onEnter() {},
|
|
378
|
-
arrowIcon: false
|
|
417
|
+
arrowIcon: false,
|
|
418
|
+
ariaLabel: undefined
|
|
379
419
|
};
|
|
380
420
|
Autocomplete.propTypes = {
|
|
381
421
|
/** Css名稱 */
|
|
@@ -417,7 +457,9 @@ Autocomplete.propTypes = {
|
|
|
417
457
|
/** 鍵盤輸入Enter的callback */
|
|
418
458
|
onEnter: PropTypes.func,
|
|
419
459
|
/** 是否顯示arrow icon */
|
|
420
|
-
arrowIcon: PropTypes.bool
|
|
460
|
+
arrowIcon: PropTypes.bool,
|
|
461
|
+
/** 輸入框的無障礙名稱(WCAG 3.3.2),未提供時以placeholder代替 */
|
|
462
|
+
ariaLabel: PropTypes.string
|
|
421
463
|
};
|
|
422
464
|
|
|
423
465
|
export { Autocomplete as A };
|
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
export { A as default } from './Autocomplete-
|
|
2
|
-
import './_rollupPluginBabelHelpers-
|
|
1
|
+
export { A as default } from './Autocomplete-5d6f1df8.js';
|
|
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
|
+
import './globalConfig';
|
|
18
19
|
import './style-inject.es-1f59c1d0.js';
|
|
19
|
-
import './Empty-
|
|
20
|
+
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
|
-
import { a as _slicedToArray } from './_rollupPluginBabelHelpers-
|
|
1
|
+
import { a as _slicedToArray } from './_rollupPluginBabelHelpers-a52356f6.js';
|
|
2
2
|
import React__default, { useState, useRef, useEffect } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
|
-
import { c as classNames } from './index-
|
|
4
|
+
import { c as classNames } from './index-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
|
-
import { c as _objectWithoutProperties$1, b as _objectSpread2, _ as _extends$3 } from './_rollupPluginBabelHelpers-
|
|
1
|
+
import { c as _objectWithoutProperties$1, b as _objectSpread2, _ as _extends$3 } from './_rollupPluginBabelHelpers-a52356f6.js';
|
|
2
2
|
import React__default, { forwardRef, useRef, useImperativeHandle } from 'react';
|
|
3
|
-
import { c as classNames } from './index-
|
|
3
|
+
import { a as classnames, c as classNames } from './index-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';
|
|
@@ -432,65 +432,6 @@ function toNumber(value) {
|
|
|
432
432
|
|
|
433
433
|
var lodash_debounce = debounce;
|
|
434
434
|
|
|
435
|
-
var classnames = {exports: {}};
|
|
436
|
-
|
|
437
|
-
/*!
|
|
438
|
-
Copyright (c) 2018 Jed Watson.
|
|
439
|
-
Licensed under the MIT License (MIT), see
|
|
440
|
-
http://jedwatson.github.io/classnames
|
|
441
|
-
*/
|
|
442
|
-
|
|
443
|
-
(function (module) {
|
|
444
|
-
/* global define */
|
|
445
|
-
|
|
446
|
-
(function () {
|
|
447
|
-
|
|
448
|
-
var hasOwn = {}.hasOwnProperty;
|
|
449
|
-
|
|
450
|
-
function classNames() {
|
|
451
|
-
var classes = [];
|
|
452
|
-
|
|
453
|
-
for (var i = 0; i < arguments.length; i++) {
|
|
454
|
-
var arg = arguments[i];
|
|
455
|
-
if (!arg) continue;
|
|
456
|
-
|
|
457
|
-
var argType = typeof arg;
|
|
458
|
-
|
|
459
|
-
if (argType === 'string' || argType === 'number') {
|
|
460
|
-
classes.push(arg);
|
|
461
|
-
} else if (Array.isArray(arg)) {
|
|
462
|
-
if (arg.length) {
|
|
463
|
-
var inner = classNames.apply(null, arg);
|
|
464
|
-
if (inner) {
|
|
465
|
-
classes.push(inner);
|
|
466
|
-
}
|
|
467
|
-
}
|
|
468
|
-
} else if (argType === 'object') {
|
|
469
|
-
if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {
|
|
470
|
-
classes.push(arg.toString());
|
|
471
|
-
continue;
|
|
472
|
-
}
|
|
473
|
-
|
|
474
|
-
for (var key in arg) {
|
|
475
|
-
if (hasOwn.call(arg, key) && arg[key]) {
|
|
476
|
-
classes.push(key);
|
|
477
|
-
}
|
|
478
|
-
}
|
|
479
|
-
}
|
|
480
|
-
}
|
|
481
|
-
|
|
482
|
-
return classes.join(' ');
|
|
483
|
-
}
|
|
484
|
-
|
|
485
|
-
if (module.exports) {
|
|
486
|
-
classNames.default = classNames;
|
|
487
|
-
module.exports = classNames;
|
|
488
|
-
} else {
|
|
489
|
-
window.classNames = classNames;
|
|
490
|
-
}
|
|
491
|
-
}());
|
|
492
|
-
} (classnames));
|
|
493
|
-
|
|
494
435
|
var innerSliderUtils = {};
|
|
495
436
|
|
|
496
437
|
Object.defineProperty(innerSliderUtils, "__esModule", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as _objectWithoutProperties, _ as _extends } from './_rollupPluginBabelHelpers-
|
|
1
|
+
import { c as _objectWithoutProperties, _ as _extends } from './_rollupPluginBabelHelpers-a52356f6.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import { FormControlLabel, Checkbox as Checkbox$1 } from '@material-ui/core';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as _slicedToArray } from './_rollupPluginBabelHelpers-
|
|
1
|
+
import { a as _slicedToArray } from './_rollupPluginBabelHelpers-a52356f6.js';
|
|
2
2
|
import React__default, { useState, useRef, useEffect } from 'react';
|
|
3
|
-
import { c as classNames } from './index-
|
|
3
|
+
import { c as classNames } from './index-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
|
|