@daoyi/nmtl-ui 2.0.1-beta.8 → 2.0.1-beta.80

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 (100) hide show
  1. package/lib/components/Autocomplete-cf913b25.js +423 -0
  2. package/lib/components/Autocomplete.js +19 -1
  3. package/lib/components/Avatar.js +53 -1
  4. package/lib/components/BackTop.js +109 -1
  5. package/lib/components/BarChart.js +762 -1
  6. package/lib/components/Breadcrumbs.js +122 -1
  7. package/lib/components/Button-611f1770.js +92 -0
  8. package/lib/components/Button.js +6 -1
  9. package/lib/components/Carousel.js +4654 -1
  10. package/lib/components/Checkbox.js +37 -1
  11. package/lib/components/CollapseContent.js +179 -1
  12. package/lib/components/ContactModal-0a4c67b8.js +12020 -0
  13. package/lib/components/ContactModal.js +22 -3
  14. package/lib/components/Drawer-55c0f66f.js +156 -0
  15. package/lib/components/Drawer.js +11 -1
  16. package/lib/components/Dropdown.js +134 -1
  17. package/lib/components/Empty-67b4d7d7.js +45 -0
  18. package/lib/components/Empty.js +5 -1
  19. package/lib/components/ExportButton.js +112 -1
  20. package/lib/components/ExtraTools-e4f085bc.js +3537 -0
  21. package/lib/components/ExtraTools.js +10 -22
  22. package/lib/components/Filter.js +782 -12
  23. package/lib/components/Footer.js +271 -1
  24. package/lib/components/ForwardLink-edab5061.js +106 -0
  25. package/lib/components/ForwardLink.js +8 -0
  26. package/lib/components/Header.js +194 -1
  27. package/lib/components/Image.js +61 -1
  28. package/lib/components/Input.js +82 -1
  29. package/lib/components/InputMethod.js +33949 -12
  30. package/lib/components/KeywordSearch-0b5681d9.js +144 -0
  31. package/lib/components/KeywordSearch.js +21 -1
  32. package/lib/components/KeywordTicker.js +190 -1
  33. package/lib/components/Keywords.js +317 -1
  34. package/lib/components/Loading.js +28 -1
  35. package/lib/components/MUITheme.js +2624 -1
  36. package/lib/components/Modal-c33b7a7f.js +108 -0
  37. package/lib/components/Modal.js +9 -1
  38. package/lib/components/MoreButton-b2306abb.js +110 -0
  39. package/lib/components/MoreButton.js +6 -1
  40. package/lib/components/Pagination.js +3637 -0
  41. package/lib/components/Radio.js +78 -1
  42. package/lib/components/SNA.js +1691 -22
  43. package/lib/components/Select-9a745e5c.js +115 -0
  44. package/lib/components/Select.js +8 -1
  45. package/lib/components/Spin-96bc2c76.js +75 -0
  46. package/lib/components/Spin.js +6 -1
  47. package/lib/components/Table.js +51 -1
  48. package/lib/components/Tooltip-123cc349.js +70 -0
  49. package/lib/components/Tooltip.js +7 -1
  50. package/lib/components/_commonjsHelpers-70de2c37.js +28 -0
  51. package/lib/components/_rollupPluginBabelHelpers-a52356f6.js +142 -0
  52. package/lib/components/createSvgIcon-ad1104bb.js +576 -0
  53. package/lib/components/dataExport-04b77185.js +93 -0
  54. package/lib/components/debounce-127da66c.js +355 -0
  55. package/lib/components/defaultTheme-ed7746fe.js +1661 -0
  56. package/lib/components/globalConfig.js +175 -0
  57. package/lib/components/hoist-non-react-statics.cjs-3f408ad2.js +105 -0
  58. package/lib/components/index-848f4409.js +61 -0
  59. package/lib/components/index-983dcd15.js +481 -0
  60. package/lib/components/isObjectLike-e111475d.js +190 -0
  61. package/lib/components/style-inject.es-1f59c1d0.js +28 -1
  62. package/lib/components/toConsumableArray-dbe8af76.js +19 -0
  63. package/lib/components/transform-3a04288b.js +5475 -0
  64. package/lib/components/withTheme-2d778133.js +6 -0
  65. package/lib/index.d.ts +2 -0
  66. package/lib/index.js +2 -0
  67. package/lib/utils/_rollupPluginBabelHelpers-8dd26e1a.js +121 -0
  68. package/lib/utils/arrayMerge.js +4953 -1
  69. package/lib/utils/chunkArray.js +15 -1
  70. package/lib/utils/convert2HtmlEntities.js +42 -1
  71. package/lib/utils/domToImage.js +802 -1
  72. package/lib/utils/downloadGephi.js +106 -1
  73. package/lib/utils/exportXlsx.js +219 -1
  74. package/lib/utils/historyAppendSearch.js +502 -1
  75. package/lib/utils/isDevelopMode.js +5 -1
  76. package/lib/utils/parseYMD.js +36 -1
  77. package/lib/utils/removeDuplicateItem.js +11 -1
  78. package/lib/utils/sendEmail.js +39 -1
  79. package/lib/utils/snaDefine-6a2bcd94.js +5 -0
  80. package/lib/utils/snaDefine.js +1 -1
  81. package/lib/utils/snaPreProcess.js +84 -1
  82. package/package.json +17 -21
  83. package/lib/components/Empty-54b79907.js +0 -1
  84. package/lib/components/KeywordSearch-5a393f12.js +0 -1
  85. package/lib/components/Select-f2441b83.js +0 -1
  86. package/lib/components/_rollupPluginBabelHelpers-1b8c042f.js +0 -1
  87. package/lib/components/_rollupPluginBabelHelpers-ec4e2a53.js +0 -1
  88. package/lib/components/createSvgIcon-62b64929.js +0 -1
  89. package/lib/components/createSvgIcon-e24792d4.js +0 -1
  90. package/lib/components/createTheme-7fffa109.js +0 -1
  91. package/lib/components/dataExport-9fccd4f0.js +0 -1
  92. package/lib/components/debounce-c993109b.js +0 -1
  93. package/lib/components/hoist-non-react-statics.cjs-d6a9befd.js +0 -1
  94. package/lib/components/index-11391ca3.js +0 -7
  95. package/lib/components/index-b2745105.js +0 -7
  96. package/lib/components/isObjectLike-2f1983fe.js +0 -1
  97. package/lib/components/style-inject.es-c875d022.js +0 -1
  98. package/lib/components/transform-0eb2d36e.js +0 -1
  99. package/lib/utils/_commonjsHelpers-e2cda605.js +0 -1
  100. package/lib/utils/_rollupPluginBabelHelpers-928a52ce.js +0 -1
@@ -0,0 +1,6 @@
1
+ import { withThemeCreator } from '@material-ui/styles';
2
+ import { d as defaultTheme } from './defaultTheme-ed7746fe.js';
3
+
4
+ withThemeCreator({
5
+ defaultTheme: defaultTheme
6
+ });
package/lib/index.d.ts CHANGED
@@ -21,6 +21,8 @@ export { default as Breadcrumbs } from './components/Breadcrumbs';
21
21
  export { default as ExportButton } from './components/ExportButton';
22
22
  export { default as SNA } from './components/SNA';
23
23
  export { default as BarChart } from './components/BarChart';
24
+ export { default as ForwardLink } from './components/ForwardLink';
25
+ export { default as Pagination } from './components/Pagination';
24
26
 
25
27
  export { default as ContactModal } from './components/ContactModal';
26
28
  export { default as KeywordSearch } from './components/KeywordSearch';
package/lib/index.js CHANGED
@@ -21,6 +21,8 @@ export { default as Breadcrumbs } from './components/Breadcrumbs';
21
21
  export { default as ExportButton } from './components/ExportButton';
22
22
  export { default as SNA } from './components/SNA';
23
23
  export { default as BarChart } from './components/BarChart';
24
+ export { default as ForwardLink } from './components/ForwardLink';
25
+ export { default as Pagination } from './components/Pagination';
24
26
 
25
27
  export { default as ContactModal } from './components/ContactModal';
26
28
  export { default as KeywordSearch } from './components/KeywordSearch';
@@ -0,0 +1,121 @@
1
+ function ownKeys(object, enumerableOnly) {
2
+ var keys = Object.keys(object);
3
+ if (Object.getOwnPropertySymbols) {
4
+ var symbols = Object.getOwnPropertySymbols(object);
5
+ enumerableOnly && (symbols = symbols.filter(function (sym) {
6
+ return Object.getOwnPropertyDescriptor(object, sym).enumerable;
7
+ })), keys.push.apply(keys, symbols);
8
+ }
9
+ return keys;
10
+ }
11
+ function _objectSpread2(target) {
12
+ for (var i = 1; i < arguments.length; i++) {
13
+ var source = null != arguments[i] ? arguments[i] : {};
14
+ i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {
15
+ _defineProperty(target, key, source[key]);
16
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {
17
+ Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
18
+ });
19
+ }
20
+ return target;
21
+ }
22
+ function _defineProperty(obj, key, value) {
23
+ if (key in obj) {
24
+ Object.defineProperty(obj, key, {
25
+ value: value,
26
+ enumerable: true,
27
+ configurable: true,
28
+ writable: true
29
+ });
30
+ } else {
31
+ obj[key] = value;
32
+ }
33
+ return obj;
34
+ }
35
+ function _objectWithoutPropertiesLoose(source, excluded) {
36
+ if (source == null) return {};
37
+ var target = {};
38
+ var sourceKeys = Object.keys(source);
39
+ var key, i;
40
+ for (i = 0; i < sourceKeys.length; i++) {
41
+ key = sourceKeys[i];
42
+ if (excluded.indexOf(key) >= 0) continue;
43
+ target[key] = source[key];
44
+ }
45
+ return target;
46
+ }
47
+ function _objectWithoutProperties(source, excluded) {
48
+ if (source == null) return {};
49
+ var target = _objectWithoutPropertiesLoose(source, excluded);
50
+ var key, i;
51
+ if (Object.getOwnPropertySymbols) {
52
+ var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
53
+ for (i = 0; i < sourceSymbolKeys.length; i++) {
54
+ key = sourceSymbolKeys[i];
55
+ if (excluded.indexOf(key) >= 0) continue;
56
+ if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
57
+ target[key] = source[key];
58
+ }
59
+ }
60
+ return target;
61
+ }
62
+ function _slicedToArray(arr, i) {
63
+ return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
64
+ }
65
+ function _toConsumableArray(arr) {
66
+ return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
67
+ }
68
+ function _arrayWithoutHoles(arr) {
69
+ if (Array.isArray(arr)) return _arrayLikeToArray(arr);
70
+ }
71
+ function _arrayWithHoles(arr) {
72
+ if (Array.isArray(arr)) return arr;
73
+ }
74
+ function _iterableToArray(iter) {
75
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
76
+ }
77
+ function _iterableToArrayLimit(arr, i) {
78
+ var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
79
+ if (_i == null) return;
80
+ var _arr = [];
81
+ var _n = true;
82
+ var _d = false;
83
+ var _s, _e;
84
+ try {
85
+ for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
86
+ _arr.push(_s.value);
87
+ if (i && _arr.length === i) break;
88
+ }
89
+ } catch (err) {
90
+ _d = true;
91
+ _e = err;
92
+ } finally {
93
+ try {
94
+ if (!_n && _i["return"] != null) _i["return"]();
95
+ } finally {
96
+ if (_d) throw _e;
97
+ }
98
+ }
99
+ return _arr;
100
+ }
101
+ function _unsupportedIterableToArray(o, minLen) {
102
+ if (!o) return;
103
+ if (typeof o === "string") return _arrayLikeToArray(o, minLen);
104
+ var n = Object.prototype.toString.call(o).slice(8, -1);
105
+ if (n === "Object" && o.constructor) n = o.constructor.name;
106
+ if (n === "Map" || n === "Set") return Array.from(o);
107
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
108
+ }
109
+ function _arrayLikeToArray(arr, len) {
110
+ if (len == null || len > arr.length) len = arr.length;
111
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
112
+ return arr2;
113
+ }
114
+ function _nonIterableSpread() {
115
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
116
+ }
117
+ function _nonIterableRest() {
118
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
119
+ }
120
+
121
+ export { _toConsumableArray as _, _slicedToArray as a, _objectWithoutProperties as b, _objectSpread2 as c };