@daoyi/nmtl-ui 2.0.1-beta.7 → 2.0.1-beta.71

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 (99) hide show
  1. package/lib/components/Autocomplete-e62927dc.js +334 -0
  2. package/lib/components/Autocomplete.js +13 -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-4fddcd2f.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-33f4e605.js +12020 -0
  13. package/lib/components/ContactModal.js +22 -3
  14. package/lib/components/Drawer-fb5bc1ec.js +157 -0
  15. package/lib/components/Drawer.js +11 -1
  16. package/lib/components/Dropdown.js +134 -1
  17. package/lib/components/Empty-e50b760e.js +45 -0
  18. package/lib/components/Empty.js +5 -1
  19. package/lib/components/ExportButton.js +112 -1
  20. package/lib/components/ExtraTools-a49a1d2f.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-6a82c19d.js +106 -0
  25. package/lib/components/ForwardLink.js +8 -0
  26. package/lib/components/Header.js +187 -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-3af0c402.js +140 -0
  31. package/lib/components/KeywordSearch.js +15 -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-2c39d5b8.js +108 -0
  37. package/lib/components/Modal.js +9 -1
  38. package/lib/components/MoreButton-6b323fe4.js +110 -0
  39. package/lib/components/MoreButton.js +6 -1
  40. package/lib/components/Pagination.js +3706 -0
  41. package/lib/components/Radio.js +78 -1
  42. package/lib/components/SNA.js +1691 -22
  43. package/lib/components/Select-0f131640.js +115 -0
  44. package/lib/components/Select.js +8 -1
  45. package/lib/components/Spin-1741f625.js +75 -0
  46. package/lib/components/Spin.js +6 -1
  47. package/lib/components/Table.js +51 -1
  48. package/lib/components/Tooltip-65a21a86.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-d9801fb7.js +576 -0
  53. package/lib/components/dataExport-d55d6fa3.js +92 -0
  54. package/lib/components/debounce-127da66c.js +355 -0
  55. package/lib/components/defaultTheme-5839b9b3.js +1505 -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-0be0afec.js +481 -0
  59. package/lib/components/index-ef96775f.js +61 -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/transform-3a04288b.js +5475 -0
  63. package/lib/components/withTheme-4417822c.js +6 -0
  64. package/lib/index.d.ts +2 -0
  65. package/lib/index.js +2 -0
  66. package/lib/utils/_rollupPluginBabelHelpers-8dd26e1a.js +121 -0
  67. package/lib/utils/arrayMerge.js +4953 -1
  68. package/lib/utils/chunkArray.js +15 -1
  69. package/lib/utils/convert2HtmlEntities.js +42 -1
  70. package/lib/utils/domToImage.js +802 -1
  71. package/lib/utils/downloadGephi.js +106 -1
  72. package/lib/utils/exportXlsx.js +219 -1
  73. package/lib/utils/historyAppendSearch.js +502 -1
  74. package/lib/utils/isDevelopMode.js +5 -1
  75. package/lib/utils/parseYMD.js +36 -1
  76. package/lib/utils/removeDuplicateItem.js +11 -1
  77. package/lib/utils/sendEmail.js +39 -1
  78. package/lib/utils/snaDefine-6a2bcd94.js +5 -0
  79. package/lib/utils/snaDefine.js +1 -1
  80. package/lib/utils/snaPreProcess.js +84 -1
  81. package/package.json +17 -21
  82. package/lib/components/Empty-54b79907.js +0 -1
  83. package/lib/components/KeywordSearch-5a393f12.js +0 -1
  84. package/lib/components/Select-f2441b83.js +0 -1
  85. package/lib/components/_rollupPluginBabelHelpers-1b8c042f.js +0 -1
  86. package/lib/components/_rollupPluginBabelHelpers-ec4e2a53.js +0 -1
  87. package/lib/components/createSvgIcon-62b64929.js +0 -1
  88. package/lib/components/createSvgIcon-e24792d4.js +0 -1
  89. package/lib/components/createTheme-7fffa109.js +0 -1
  90. package/lib/components/dataExport-9fccd4f0.js +0 -1
  91. package/lib/components/debounce-c993109b.js +0 -1
  92. package/lib/components/hoist-non-react-statics.cjs-d6a9befd.js +0 -1
  93. package/lib/components/index-11391ca3.js +0 -7
  94. package/lib/components/index-b2745105.js +0 -7
  95. package/lib/components/isObjectLike-2f1983fe.js +0 -1
  96. package/lib/components/style-inject.es-c875d022.js +0 -1
  97. package/lib/components/transform-0eb2d36e.js +0 -1
  98. package/lib/utils/_commonjsHelpers-e2cda605.js +0 -1
  99. package/lib/utils/_rollupPluginBabelHelpers-928a52ce.js +0 -1
@@ -0,0 +1,190 @@
1
+ import { c as commonjsGlobal } from './_commonjsHelpers-70de2c37.js';
2
+
3
+ /**
4
+ * Checks if `value` is the
5
+ * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
6
+ * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
7
+ *
8
+ * @static
9
+ * @memberOf _
10
+ * @since 0.1.0
11
+ * @category Lang
12
+ * @param {*} value The value to check.
13
+ * @returns {boolean} Returns `true` if `value` is an object, else `false`.
14
+ * @example
15
+ *
16
+ * _.isObject({});
17
+ * // => true
18
+ *
19
+ * _.isObject([1, 2, 3]);
20
+ * // => true
21
+ *
22
+ * _.isObject(_.noop);
23
+ * // => true
24
+ *
25
+ * _.isObject(null);
26
+ * // => false
27
+ */
28
+
29
+ function isObject(value) {
30
+ var type = typeof value;
31
+ return value != null && (type == 'object' || type == 'function');
32
+ }
33
+
34
+ var isObject_1 = isObject;
35
+
36
+ /** Detect free variable `global` from Node.js. */
37
+
38
+ var freeGlobal$1 = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
39
+
40
+ var _freeGlobal = freeGlobal$1;
41
+
42
+ var freeGlobal = _freeGlobal;
43
+
44
+ /** Detect free variable `self`. */
45
+ var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
46
+
47
+ /** Used as a reference to the global object. */
48
+ var root$1 = freeGlobal || freeSelf || Function('return this')();
49
+
50
+ var _root = root$1;
51
+
52
+ var root = _root;
53
+
54
+ /** Built-in value references. */
55
+ var Symbol$2 = root.Symbol;
56
+
57
+ var _Symbol = Symbol$2;
58
+
59
+ var Symbol$1 = _Symbol;
60
+
61
+ /** Used for built-in method references. */
62
+ var objectProto$1 = Object.prototype;
63
+
64
+ /** Used to check objects for own properties. */
65
+ var hasOwnProperty = objectProto$1.hasOwnProperty;
66
+
67
+ /**
68
+ * Used to resolve the
69
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
70
+ * of values.
71
+ */
72
+ var nativeObjectToString$1 = objectProto$1.toString;
73
+
74
+ /** Built-in value references. */
75
+ var symToStringTag$1 = Symbol$1 ? Symbol$1.toStringTag : undefined;
76
+
77
+ /**
78
+ * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
79
+ *
80
+ * @private
81
+ * @param {*} value The value to query.
82
+ * @returns {string} Returns the raw `toStringTag`.
83
+ */
84
+ function getRawTag$1(value) {
85
+ var isOwn = hasOwnProperty.call(value, symToStringTag$1),
86
+ tag = value[symToStringTag$1];
87
+
88
+ try {
89
+ value[symToStringTag$1] = undefined;
90
+ var unmasked = true;
91
+ } catch (e) {}
92
+
93
+ var result = nativeObjectToString$1.call(value);
94
+ if (unmasked) {
95
+ if (isOwn) {
96
+ value[symToStringTag$1] = tag;
97
+ } else {
98
+ delete value[symToStringTag$1];
99
+ }
100
+ }
101
+ return result;
102
+ }
103
+
104
+ var _getRawTag = getRawTag$1;
105
+
106
+ /** Used for built-in method references. */
107
+
108
+ var objectProto = Object.prototype;
109
+
110
+ /**
111
+ * Used to resolve the
112
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
113
+ * of values.
114
+ */
115
+ var nativeObjectToString = objectProto.toString;
116
+
117
+ /**
118
+ * Converts `value` to a string using `Object.prototype.toString`.
119
+ *
120
+ * @private
121
+ * @param {*} value The value to convert.
122
+ * @returns {string} Returns the converted string.
123
+ */
124
+ function objectToString$1(value) {
125
+ return nativeObjectToString.call(value);
126
+ }
127
+
128
+ var _objectToString = objectToString$1;
129
+
130
+ var Symbol = _Symbol,
131
+ getRawTag = _getRawTag,
132
+ objectToString = _objectToString;
133
+
134
+ /** `Object#toString` result references. */
135
+ var nullTag = '[object Null]',
136
+ undefinedTag = '[object Undefined]';
137
+
138
+ /** Built-in value references. */
139
+ var symToStringTag = Symbol ? Symbol.toStringTag : undefined;
140
+
141
+ /**
142
+ * The base implementation of `getTag` without fallbacks for buggy environments.
143
+ *
144
+ * @private
145
+ * @param {*} value The value to query.
146
+ * @returns {string} Returns the `toStringTag`.
147
+ */
148
+ function baseGetTag(value) {
149
+ if (value == null) {
150
+ return value === undefined ? undefinedTag : nullTag;
151
+ }
152
+ return (symToStringTag && symToStringTag in Object(value))
153
+ ? getRawTag(value)
154
+ : objectToString(value);
155
+ }
156
+
157
+ var _baseGetTag = baseGetTag;
158
+
159
+ /**
160
+ * Checks if `value` is object-like. A value is object-like if it's not `null`
161
+ * and has a `typeof` result of "object".
162
+ *
163
+ * @static
164
+ * @memberOf _
165
+ * @since 4.0.0
166
+ * @category Lang
167
+ * @param {*} value The value to check.
168
+ * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
169
+ * @example
170
+ *
171
+ * _.isObjectLike({});
172
+ * // => true
173
+ *
174
+ * _.isObjectLike([1, 2, 3]);
175
+ * // => true
176
+ *
177
+ * _.isObjectLike(_.noop);
178
+ * // => false
179
+ *
180
+ * _.isObjectLike(null);
181
+ * // => false
182
+ */
183
+
184
+ function isObjectLike(value) {
185
+ return value != null && typeof value == 'object';
186
+ }
187
+
188
+ var isObjectLike_1 = isObjectLike;
189
+
190
+ export { _root as _, _baseGetTag as a, isObject_1 as b, _freeGlobal as c, isObjectLike_1 as i };
@@ -1 +1,28 @@
1
- function e(e,t){void 0===t&&(t={});var d=t.insertAt;if(e&&"undefined"!=typeof document){var n=document.head||document.getElementsByTagName("head")[0],s=document.createElement("style");s.type="text/css","top"===d&&n.firstChild?n.insertBefore(s,n.firstChild):n.appendChild(s),s.styleSheet?s.styleSheet.cssText=e:s.appendChild(document.createTextNode(e))}}export{e as s};
1
+ function styleInject(css, ref) {
2
+ if ( ref === void 0 ) ref = {};
3
+ var insertAt = ref.insertAt;
4
+
5
+ if (!css || typeof document === 'undefined') { return; }
6
+
7
+ var head = document.head || document.getElementsByTagName('head')[0];
8
+ var style = document.createElement('style');
9
+ style.type = 'text/css';
10
+
11
+ if (insertAt === 'top') {
12
+ if (head.firstChild) {
13
+ head.insertBefore(style, head.firstChild);
14
+ } else {
15
+ head.appendChild(style);
16
+ }
17
+ } else {
18
+ head.appendChild(style);
19
+ }
20
+
21
+ if (style.styleSheet) {
22
+ style.styleSheet.cssText = css;
23
+ } else {
24
+ style.appendChild(document.createTextNode(css));
25
+ }
26
+ }
27
+
28
+ export { styleInject as s };