@hi-ui/table 4.0.0-beta.2 → 4.0.0-beta.22
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/lib/cjs/BaseTable.js +6 -3
- package/lib/cjs/BaseTable.js.map +1 -1
- package/lib/cjs/Table.js +2 -2
- package/lib/cjs/Table.js.map +1 -1
- package/lib/cjs/TableBody.js +7 -4
- package/lib/cjs/TableBody.js.map +1 -1
- package/lib/cjs/TableCell.js +3 -2
- package/lib/cjs/TableCell.js.map +1 -1
- package/lib/cjs/TableEmbedRow.js +2 -1
- package/lib/cjs/TableEmbedRow.js.map +1 -1
- package/lib/cjs/TableHeader.js +3 -2
- package/lib/cjs/TableHeader.js.map +1 -1
- package/lib/cjs/TableSettingMenu.js +8 -7
- package/lib/cjs/TableSettingMenu.js.map +1 -1
- package/lib/cjs/hooks/use-col-width.js +5 -1
- package/lib/cjs/hooks/use-col-width.js.map +1 -1
- package/lib/cjs/styles/index.scss.js +1 -1
- package/lib/cjs/use-table.js +3 -1
- package/lib/cjs/use-table.js.map +1 -1
- package/lib/esm/BaseTable.js +6 -3
- package/lib/esm/BaseTable.js.map +1 -1
- package/lib/esm/Table.js +2 -2
- package/lib/esm/Table.js.map +1 -1
- package/lib/esm/TableBody.js +7 -4
- package/lib/esm/TableBody.js.map +1 -1
- package/lib/esm/TableCell.js +3 -2
- package/lib/esm/TableCell.js.map +1 -1
- package/lib/esm/TableEmbedRow.js +2 -1
- package/lib/esm/TableEmbedRow.js.map +1 -1
- package/lib/esm/TableHeader.js +3 -2
- package/lib/esm/TableHeader.js.map +1 -1
- package/lib/esm/TableSettingMenu.js +3 -2
- package/lib/esm/TableSettingMenu.js.map +1 -1
- package/lib/esm/hooks/use-col-width.js +5 -1
- package/lib/esm/hooks/use-col-width.js.map +1 -1
- package/lib/esm/styles/index.scss.js +1 -1
- package/lib/esm/use-table.js +3 -1
- package/lib/esm/use-table.js.map +1 -1
- package/lib/types/TableBody.d.ts +4 -0
- package/lib/types/types.d.ts +2 -1
- package/package.json +31 -28
- package/lib/cjs/hooks/use-drag-sorter/lib/esm/index.js +0 -287
- package/lib/cjs/hooks/use-drag-sorter/lib/esm/index.js.map +0 -1
- package/lib/cjs/utils/func-utils/lib/esm/_virtual/_cloneBuffer.js_commonjs-module.js +0 -29
- package/lib/cjs/utils/func-utils/lib/esm/_virtual/_cloneBuffer.js_commonjs-module.js.map +0 -1
- package/lib/cjs/utils/func-utils/lib/esm/_virtual/_commonjsHelpers.js +0 -27
- package/lib/cjs/utils/func-utils/lib/esm/_virtual/_commonjsHelpers.js.map +0 -1
- package/lib/cjs/utils/func-utils/lib/esm/_virtual/_nodeUtil.js_commonjs-module.js +0 -29
- package/lib/cjs/utils/func-utils/lib/esm/_virtual/_nodeUtil.js_commonjs-module.js.map +0 -1
- package/lib/cjs/utils/func-utils/lib/esm/_virtual/isBuffer.js_commonjs-module.js +0 -29
- package/lib/cjs/utils/func-utils/lib/esm/_virtual/isBuffer.js_commonjs-module.js.map +0 -1
- package/lib/cjs/utils/func-utils/lib/esm/index.js +0 -62
- package/lib/cjs/utils/func-utils/lib/esm/index.js.map +0 -1
- package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_DataView.js +0 -37
- package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_DataView.js.map +0 -1
- package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_Map.js +0 -37
- package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_Map.js.map +0 -1
- package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_Promise.js +0 -37
- package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_Promise.js.map +0 -1
- package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_Set.js +0 -37
- package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_Set.js.map +0 -1
- package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_Symbol.js +0 -34
- package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_Symbol.js.map +0 -1
- package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_WeakMap.js +0 -37
- package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_WeakMap.js.map +0 -1
- package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_baseGetTag.js +0 -60
- package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_baseGetTag.js.map +0 -1
- package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_baseIsArguments.js +0 -49
- package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_baseIsArguments.js.map +0 -1
- package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_baseIsNative.js +0 -80
- package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_baseIsNative.js.map +0 -1
- package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_cloneBuffer.js +0 -63
- package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_cloneBuffer.js.map +0 -1
- package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_coreJsData.js +0 -34
- package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_coreJsData.js.map +0 -1
- package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_defineProperty.js +0 -33
- package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_defineProperty.js.map +0 -1
- package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_freeGlobal.js +0 -36
- package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_freeGlobal.js.map +0 -1
- package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_getNative.js +0 -48
- package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_getNative.js.map +0 -1
- package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_getRawTag.js +0 -77
- package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_getRawTag.js.map +0 -1
- package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_getTag.js +0 -96
- package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_getTag.js.map +0 -1
- package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_getValue.js +0 -40
- package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_getValue.js.map +0 -1
- package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_isMasked.js +0 -50
- package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_isMasked.js.map +0 -1
- package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_nativeCreate.js +0 -28
- package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_nativeCreate.js.map +0 -1
- package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_nodeUtil.js +0 -58
- package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_nodeUtil.js.map +0 -1
- package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_objectToString.js +0 -49
- package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_objectToString.js.map +0 -1
- package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_root.js +0 -39
- package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_root.js.map +0 -1
- package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_toSource.js +0 -55
- package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/_toSource.js.map +0 -1
- package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/isArguments.js +0 -61
- package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/isArguments.js.map +0 -1
- package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/isBuffer.js +0 -67
- package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/isBuffer.js.map +0 -1
- package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/isFunction.js +0 -69
- package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/isFunction.js.map +0 -1
- package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/isObject.js +0 -72
- package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/isObject.js.map +0 -1
- package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/isObjectLike.js +0 -69
- package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/isObjectLike.js.map +0 -1
- package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/stubFalse.js +0 -45
- package/lib/cjs/utils/func-utils/lib/esm/node_modules/lodash/stubFalse.js.map +0 -1
- package/lib/esm/hooks/use-drag-sorter/lib/esm/index.js +0 -264
- package/lib/esm/hooks/use-drag-sorter/lib/esm/index.js.map +0 -1
- package/lib/esm/utils/func-utils/lib/esm/_virtual/_cloneBuffer.js_commonjs-module.js +0 -24
- package/lib/esm/utils/func-utils/lib/esm/_virtual/_cloneBuffer.js_commonjs-module.js.map +0 -1
- package/lib/esm/utils/func-utils/lib/esm/_virtual/_commonjsHelpers.js +0 -22
- package/lib/esm/utils/func-utils/lib/esm/_virtual/_commonjsHelpers.js.map +0 -1
- package/lib/esm/utils/func-utils/lib/esm/_virtual/_nodeUtil.js_commonjs-module.js +0 -24
- package/lib/esm/utils/func-utils/lib/esm/_virtual/_nodeUtil.js_commonjs-module.js.map +0 -1
- package/lib/esm/utils/func-utils/lib/esm/_virtual/isBuffer.js_commonjs-module.js +0 -24
- package/lib/esm/utils/func-utils/lib/esm/_virtual/isBuffer.js_commonjs-module.js.map +0 -1
- package/lib/esm/utils/func-utils/lib/esm/index.js +0 -45
- package/lib/esm/utils/func-utils/lib/esm/index.js.map +0 -1
- package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_DataView.js +0 -29
- package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_DataView.js.map +0 -1
- package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_Map.js +0 -29
- package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_Map.js.map +0 -1
- package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_Promise.js +0 -29
- package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_Promise.js.map +0 -1
- package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_Set.js +0 -29
- package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_Set.js.map +0 -1
- package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_Symbol.js +0 -27
- package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_Symbol.js.map +0 -1
- package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_WeakMap.js +0 -29
- package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_WeakMap.js.map +0 -1
- package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_baseGetTag.js +0 -51
- package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_baseGetTag.js.map +0 -1
- package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_baseIsArguments.js +0 -41
- package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_baseIsArguments.js.map +0 -1
- package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_baseIsNative.js +0 -70
- package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_baseIsNative.js.map +0 -1
- package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_cloneBuffer.js +0 -59
- package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_cloneBuffer.js.map +0 -1
- package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_coreJsData.js +0 -27
- package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_coreJsData.js.map +0 -1
- package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_defineProperty.js +0 -30
- package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_defineProperty.js.map +0 -1
- package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_freeGlobal.js +0 -17
- package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_freeGlobal.js.map +0 -1
- package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_getNative.js +0 -40
- package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_getNative.js.map +0 -1
- package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_getRawTag.js +0 -70
- package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_getRawTag.js.map +0 -1
- package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_getTag.js +0 -87
- package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_getTag.js.map +0 -1
- package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_getValue.js +0 -35
- package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_getValue.js.map +0 -1
- package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_isMasked.js +0 -43
- package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_isMasked.js.map +0 -1
- package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_nativeCreate.js +0 -25
- package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_nativeCreate.js.map +0 -1
- package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_nodeUtil.js +0 -54
- package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_nodeUtil.js.map +0 -1
- package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_objectToString.js +0 -44
- package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_objectToString.js.map +0 -1
- package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_root.js +0 -21
- package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_root.js.map +0 -1
- package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_toSource.js +0 -50
- package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/_toSource.js.map +0 -1
- package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/isArguments.js +0 -57
- package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/isArguments.js.map +0 -1
- package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/isBuffer.js +0 -62
- package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/isBuffer.js.map +0 -1
- package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/isFunction.js +0 -61
- package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/isFunction.js.map +0 -1
- package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/isObject.js +0 -55
- package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/isObject.js.map +0 -1
- package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/isObjectLike.js +0 -52
- package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/isObjectLike.js.map +0 -1
- package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/stubFalse.js +0 -40
- package/lib/esm/utils/func-utils/lib/esm/node_modules/lodash/stubFalse.js.map +0 -1
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/** @LICENSE
|
|
2
|
-
* @hi-ui/table
|
|
3
|
-
* https://github.com/XiaoMi/hiui/tree/master/packages/ui/table#readme
|
|
4
|
-
*
|
|
5
|
-
* Copyright (c) HIUI <mi-hiui@xiaomi.com>.
|
|
6
|
-
*
|
|
7
|
-
* This source code is licensed under the MIT license found in the
|
|
8
|
-
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/
|
|
10
|
-
import _getNative from './_getNative.js';
|
|
11
|
-
import _root from './_root.js';
|
|
12
|
-
/** @LICENSE
|
|
13
|
-
* @hi-ui/func-utils
|
|
14
|
-
* https://github.com/XiaoMi/hiui/tree/master/packages/utils/func-utils#readme
|
|
15
|
-
*
|
|
16
|
-
* Copyright (c) HIUI <mi-hiui@xiaomi.com>.
|
|
17
|
-
*
|
|
18
|
-
* This source code is licensed under the MIT license found in the
|
|
19
|
-
* LICENSE file in the root directory of this source tree.
|
|
20
|
-
*/
|
|
21
|
-
|
|
22
|
-
var getNative = _getNative,
|
|
23
|
-
root = _root;
|
|
24
|
-
/* Built-in method references that are verified to be native. */
|
|
25
|
-
|
|
26
|
-
var WeakMap = getNative(root, 'WeakMap');
|
|
27
|
-
var _WeakMap = WeakMap;
|
|
28
|
-
export default _WeakMap;
|
|
29
|
-
//# sourceMappingURL=_WeakMap.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_WeakMap.js","sources":["../../../../../../../../../../utils/func-utils/lib/esm/node_modules/lodash/_WeakMap.js"],"sourcesContent":["/** @LICENSE\n * @hi-ui/func-utils\n * https://github.com/XiaoMi/hiui/tree/master/packages/utils/func-utils#readme\n *\n * Copyright (c) HIUI <mi-hiui@xiaomi.com>.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nimport _getNative from './_getNative.js';\nimport _root from './_root.js';\nvar getNative = _getNative,\n root = _root;\n/* Built-in method references that are verified to be native. */\n\nvar WeakMap = getNative(root, 'WeakMap');\nvar _WeakMap = WeakMap;\nexport default _WeakMap;\n//# sourceMappingURL=_WeakMap.js.map\n"],"names":["getNative","_getNative","root","_root","WeakMap","_WeakMap"],"mappings":";;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAGA,IAAIA,SAAS,GAAGC,UAAhB;AAAA,IACIC,IAAI,GAAGC,KADX;AAEA;;AAEA,IAAIC,OAAO,GAAGJ,SAAS,CAACE,IAAD,EAAO,SAAP,CAAvB;AACG,IAACG,QAAQ,GAAGD,OAAZ;"}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
/** @LICENSE
|
|
2
|
-
* @hi-ui/table
|
|
3
|
-
* https://github.com/XiaoMi/hiui/tree/master/packages/ui/table#readme
|
|
4
|
-
*
|
|
5
|
-
* Copyright (c) HIUI <mi-hiui@xiaomi.com>.
|
|
6
|
-
*
|
|
7
|
-
* This source code is licensed under the MIT license found in the
|
|
8
|
-
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/
|
|
10
|
-
import _Symbol from './_Symbol.js';
|
|
11
|
-
import _getRawTag from './_getRawTag.js';
|
|
12
|
-
import _objectToString from './_objectToString.js';
|
|
13
|
-
/** @LICENSE
|
|
14
|
-
* @hi-ui/func-utils
|
|
15
|
-
* https://github.com/XiaoMi/hiui/tree/master/packages/utils/func-utils#readme
|
|
16
|
-
*
|
|
17
|
-
* Copyright (c) HIUI <mi-hiui@xiaomi.com>.
|
|
18
|
-
*
|
|
19
|
-
* This source code is licensed under the MIT license found in the
|
|
20
|
-
* LICENSE file in the root directory of this source tree.
|
|
21
|
-
*/
|
|
22
|
-
|
|
23
|
-
var _Symbol2 = _Symbol,
|
|
24
|
-
getRawTag = _getRawTag,
|
|
25
|
-
objectToString = _objectToString;
|
|
26
|
-
/** `Object#toString` result references. */
|
|
27
|
-
|
|
28
|
-
var nullTag = '[object Null]',
|
|
29
|
-
undefinedTag = '[object Undefined]';
|
|
30
|
-
/** Built-in value references. */
|
|
31
|
-
|
|
32
|
-
var symToStringTag = _Symbol2 ? _Symbol2.toStringTag : undefined;
|
|
33
|
-
/**
|
|
34
|
-
* The base implementation of `getTag` without fallbacks for buggy environments.
|
|
35
|
-
*
|
|
36
|
-
* @private
|
|
37
|
-
* @param {*} value The value to query.
|
|
38
|
-
* @returns {string} Returns the `toStringTag`.
|
|
39
|
-
*/
|
|
40
|
-
|
|
41
|
-
function baseGetTag(value) {
|
|
42
|
-
if (value == null) {
|
|
43
|
-
return value === undefined ? undefinedTag : nullTag;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
var _baseGetTag = baseGetTag;
|
|
50
|
-
export default _baseGetTag;
|
|
51
|
-
//# sourceMappingURL=_baseGetTag.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_baseGetTag.js","sources":["../../../../../../../../../../utils/func-utils/lib/esm/node_modules/lodash/_baseGetTag.js"],"sourcesContent":["/** @LICENSE\n * @hi-ui/func-utils\n * https://github.com/XiaoMi/hiui/tree/master/packages/utils/func-utils#readme\n *\n * Copyright (c) HIUI <mi-hiui@xiaomi.com>.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nimport _Symbol from './_Symbol.js';\nimport _getRawTag from './_getRawTag.js';\nimport _objectToString from './_objectToString.js';\nvar _Symbol2 = _Symbol,\n getRawTag = _getRawTag,\n objectToString = _objectToString;\n/** `Object#toString` result references. */\n\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n/** Built-in value references. */\n\nvar symToStringTag = _Symbol2 ? _Symbol2.toStringTag : undefined;\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\n\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n\n return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);\n}\n\nvar _baseGetTag = baseGetTag;\nexport default _baseGetTag;\n//# sourceMappingURL=_baseGetTag.js.map\n"],"names":["_Symbol2","_Symbol","getRawTag","_getRawTag","objectToString","_objectToString","nullTag","undefinedTag","symToStringTag","toStringTag","undefined","baseGetTag","value","Object","_baseGetTag"],"mappings":";;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAIA,IAAIA,QAAQ,GAAGC,OAAf;AAAA,IACIC,SAAS,GAAGC,UADhB;AAAA,IAEIC,cAAc,GAAGC,eAFrB;AAGA;;AAEA,IAAIC,OAAO,GAAG,eAAd;AAAA,IACIC,YAAY,GAAG,oBADnB;AAEA;;AAEA,IAAIC,cAAc,GAAGR,QAAQ,GAAGA,QAAQ,CAACS,WAAZ,GAA0BC,SAAvD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASC,UAAT,CAAoBC,KAApB,EAA2B;AACzB,MAAIA,KAAK,IAAI,IAAb,EAAmB;AACjB,WAAOA,KAAK,KAAKF,SAAV,GAAsBH,YAAtB,GAAqCD,OAA5C;AACD;;AAED,SAAOE,cAAc,IAAIA,cAAc,IAAIK,MAAM,CAACD,KAAD,CAA1C,GAAoDV,SAAS,CAACU,KAAD,CAA7D,GAAuER,cAAc,CAACQ,KAAD,CAA5F;AACD;;AAEE,IAACE,WAAW,GAAGH,UAAf;"}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/** @LICENSE
|
|
2
|
-
* @hi-ui/table
|
|
3
|
-
* https://github.com/XiaoMi/hiui/tree/master/packages/ui/table#readme
|
|
4
|
-
*
|
|
5
|
-
* Copyright (c) HIUI <mi-hiui@xiaomi.com>.
|
|
6
|
-
*
|
|
7
|
-
* This source code is licensed under the MIT license found in the
|
|
8
|
-
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/
|
|
10
|
-
import _baseGetTag from './_baseGetTag.js';
|
|
11
|
-
import isObjectLike_1 from './isObjectLike.js';
|
|
12
|
-
/** @LICENSE
|
|
13
|
-
* @hi-ui/func-utils
|
|
14
|
-
* https://github.com/XiaoMi/hiui/tree/master/packages/utils/func-utils#readme
|
|
15
|
-
*
|
|
16
|
-
* Copyright (c) HIUI <mi-hiui@xiaomi.com>.
|
|
17
|
-
*
|
|
18
|
-
* This source code is licensed under the MIT license found in the
|
|
19
|
-
* LICENSE file in the root directory of this source tree.
|
|
20
|
-
*/
|
|
21
|
-
|
|
22
|
-
var baseGetTag = _baseGetTag,
|
|
23
|
-
isObjectLike = isObjectLike_1;
|
|
24
|
-
/** `Object#toString` result references. */
|
|
25
|
-
|
|
26
|
-
var argsTag = '[object Arguments]';
|
|
27
|
-
/**
|
|
28
|
-
* The base implementation of `_.isArguments`.
|
|
29
|
-
*
|
|
30
|
-
* @private
|
|
31
|
-
* @param {*} value The value to check.
|
|
32
|
-
* @returns {boolean} Returns `true` if `value` is an `arguments` object,
|
|
33
|
-
*/
|
|
34
|
-
|
|
35
|
-
function baseIsArguments(value) {
|
|
36
|
-
return isObjectLike(value) && baseGetTag(value) == argsTag;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
var _baseIsArguments = baseIsArguments;
|
|
40
|
-
export default _baseIsArguments;
|
|
41
|
-
//# sourceMappingURL=_baseIsArguments.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_baseIsArguments.js","sources":["../../../../../../../../../../utils/func-utils/lib/esm/node_modules/lodash/_baseIsArguments.js"],"sourcesContent":["/** @LICENSE\n * @hi-ui/func-utils\n * https://github.com/XiaoMi/hiui/tree/master/packages/utils/func-utils#readme\n *\n * Copyright (c) HIUI <mi-hiui@xiaomi.com>.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nimport _baseGetTag from './_baseGetTag.js';\nimport isObjectLike_1 from './isObjectLike.js';\nvar baseGetTag = _baseGetTag,\n isObjectLike = isObjectLike_1;\n/** `Object#toString` result references. */\n\nvar argsTag = '[object Arguments]';\n/**\n * The base implementation of `_.isArguments`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n */\n\nfunction baseIsArguments(value) {\n return isObjectLike(value) && baseGetTag(value) == argsTag;\n}\n\nvar _baseIsArguments = baseIsArguments;\nexport default _baseIsArguments;\n//# sourceMappingURL=_baseIsArguments.js.map\n"],"names":["baseGetTag","_baseGetTag","isObjectLike","isObjectLike_1","argsTag","baseIsArguments","value","_baseIsArguments"],"mappings":";;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAGA,IAAIA,UAAU,GAAGC,WAAjB;AAAA,IACIC,YAAY,GAAGC,cADnB;AAEA;;AAEA,IAAIC,OAAO,GAAG,oBAAd;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASC,eAAT,CAAyBC,KAAzB,EAAgC;AAC9B,SAAOJ,YAAY,CAACI,KAAD,CAAZ,IAAuBN,UAAU,CAACM,KAAD,CAAV,IAAqBF,OAAnD;AACD;;AAEE,IAACG,gBAAgB,GAAGF,eAApB;"}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
/** @LICENSE
|
|
2
|
-
* @hi-ui/table
|
|
3
|
-
* https://github.com/XiaoMi/hiui/tree/master/packages/ui/table#readme
|
|
4
|
-
*
|
|
5
|
-
* Copyright (c) HIUI <mi-hiui@xiaomi.com>.
|
|
6
|
-
*
|
|
7
|
-
* This source code is licensed under the MIT license found in the
|
|
8
|
-
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/
|
|
10
|
-
import isFunction_1 from './isFunction.js';
|
|
11
|
-
import _isMasked from './_isMasked.js';
|
|
12
|
-
import isObject_1 from './isObject.js';
|
|
13
|
-
import _toSource from './_toSource.js';
|
|
14
|
-
/** @LICENSE
|
|
15
|
-
* @hi-ui/func-utils
|
|
16
|
-
* https://github.com/XiaoMi/hiui/tree/master/packages/utils/func-utils#readme
|
|
17
|
-
*
|
|
18
|
-
* Copyright (c) HIUI <mi-hiui@xiaomi.com>.
|
|
19
|
-
*
|
|
20
|
-
* This source code is licensed under the MIT license found in the
|
|
21
|
-
* LICENSE file in the root directory of this source tree.
|
|
22
|
-
*/
|
|
23
|
-
|
|
24
|
-
var isFunction = isFunction_1,
|
|
25
|
-
isMasked = _isMasked,
|
|
26
|
-
isObject = isObject_1,
|
|
27
|
-
toSource = _toSource;
|
|
28
|
-
/**
|
|
29
|
-
* Used to match `RegExp`
|
|
30
|
-
* [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
|
|
31
|
-
*/
|
|
32
|
-
|
|
33
|
-
var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
|
|
34
|
-
/** Used to detect host constructors (Safari). */
|
|
35
|
-
|
|
36
|
-
var reIsHostCtor = /^\[object .+?Constructor\]$/;
|
|
37
|
-
/** Used for built-in method references. */
|
|
38
|
-
|
|
39
|
-
var funcProto = Function.prototype,
|
|
40
|
-
objectProto = Object.prototype;
|
|
41
|
-
/** Used to resolve the decompiled source of functions. */
|
|
42
|
-
|
|
43
|
-
var funcToString = funcProto.toString;
|
|
44
|
-
/** Used to check objects for own properties. */
|
|
45
|
-
|
|
46
|
-
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
47
|
-
/** Used to detect if a method is native. */
|
|
48
|
-
|
|
49
|
-
var reIsNative = RegExp('^' + funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&').replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$');
|
|
50
|
-
/**
|
|
51
|
-
* The base implementation of `_.isNative` without bad shim checks.
|
|
52
|
-
*
|
|
53
|
-
* @private
|
|
54
|
-
* @param {*} value The value to check.
|
|
55
|
-
* @returns {boolean} Returns `true` if `value` is a native function,
|
|
56
|
-
* else `false`.
|
|
57
|
-
*/
|
|
58
|
-
|
|
59
|
-
function baseIsNative(value) {
|
|
60
|
-
if (!isObject(value) || isMasked(value)) {
|
|
61
|
-
return false;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
var pattern = isFunction(value) ? reIsNative : reIsHostCtor;
|
|
65
|
-
return pattern.test(toSource(value));
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
var _baseIsNative = baseIsNative;
|
|
69
|
-
export default _baseIsNative;
|
|
70
|
-
//# sourceMappingURL=_baseIsNative.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_baseIsNative.js","sources":["../../../../../../../../../../utils/func-utils/lib/esm/node_modules/lodash/_baseIsNative.js"],"sourcesContent":["/** @LICENSE\n * @hi-ui/func-utils\n * https://github.com/XiaoMi/hiui/tree/master/packages/utils/func-utils#readme\n *\n * Copyright (c) HIUI <mi-hiui@xiaomi.com>.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nimport isFunction_1 from './isFunction.js';\nimport _isMasked from './_isMasked.js';\nimport isObject_1 from './isObject.js';\nimport _toSource from './_toSource.js';\nvar isFunction = isFunction_1,\n isMasked = _isMasked,\n isObject = isObject_1,\n toSource = _toSource;\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\n\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n/** Used to detect host constructors (Safari). */\n\nvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n/** Used for built-in method references. */\n\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n/** Used to resolve the decompiled source of functions. */\n\nvar funcToString = funcProto.toString;\n/** Used to check objects for own properties. */\n\nvar hasOwnProperty = objectProto.hasOwnProperty;\n/** Used to detect if a method is native. */\n\nvar reIsNative = RegExp('^' + funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&').replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$');\n/**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\n\nfunction baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n\n var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n}\n\nvar _baseIsNative = baseIsNative;\nexport default _baseIsNative;\n//# sourceMappingURL=_baseIsNative.js.map\n"],"names":["isFunction","isFunction_1","isMasked","_isMasked","isObject","isObject_1","toSource","_toSource","reRegExpChar","reIsHostCtor","funcProto","Function","prototype","objectProto","Object","funcToString","toString","hasOwnProperty","reIsNative","RegExp","call","replace","baseIsNative","value","pattern","test","_baseIsNative"],"mappings":";;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAKA,IAAIA,UAAU,GAAGC,YAAjB;AAAA,IACIC,QAAQ,GAAGC,SADf;AAAA,IAEIC,QAAQ,GAAGC,UAFf;AAAA,IAGIC,QAAQ,GAAGC,SAHf;AAIA;AACA;AACA;AACA;;AAEA,IAAIC,YAAY,GAAG,qBAAnB;AACA;;AAEA,IAAIC,YAAY,GAAG,6BAAnB;AACA;;AAEA,IAAIC,SAAS,GAAGC,QAAQ,CAACC,SAAzB;AAAA,IACIC,WAAW,GAAGC,MAAM,CAACF,SADzB;AAEA;;AAEA,IAAIG,YAAY,GAAGL,SAAS,CAACM,QAA7B;AACA;;AAEA,IAAIC,cAAc,GAAGJ,WAAW,CAACI,cAAjC;AACA;;AAEA,IAAIC,UAAU,GAAGC,MAAM,CAAC,MAAMJ,YAAY,CAACK,IAAb,CAAkBH,cAAlB,EAAkCI,OAAlC,CAA0Cb,YAA1C,EAAwD,MAAxD,EAAgEa,OAAhE,CAAwE,wDAAxE,EAAkI,OAAlI,CAAN,GAAmJ,GAApJ,CAAvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASC,YAAT,CAAsBC,KAAtB,EAA6B;AAC3B,MAAI,CAACnB,QAAQ,CAACmB,KAAD,CAAT,IAAoBrB,QAAQ,CAACqB,KAAD,CAAhC,EAAyC;AACvC,WAAO,KAAP;AACD;;AAED,MAAIC,OAAO,GAAGxB,UAAU,CAACuB,KAAD,CAAV,GAAoBL,UAApB,GAAiCT,YAA/C;AACA,SAAOe,OAAO,CAACC,IAAR,CAAanB,QAAQ,CAACiB,KAAD,CAArB,CAAP;AACD;;AAEE,IAACG,aAAa,GAAGJ,YAAjB;"}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
/** @LICENSE
|
|
2
|
-
* @hi-ui/table
|
|
3
|
-
* https://github.com/XiaoMi/hiui/tree/master/packages/ui/table#readme
|
|
4
|
-
*
|
|
5
|
-
* Copyright (c) HIUI <mi-hiui@xiaomi.com>.
|
|
6
|
-
*
|
|
7
|
-
* This source code is licensed under the MIT license found in the
|
|
8
|
-
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/
|
|
10
|
-
import { _ as _cloneBuffer } from '../../_virtual/_cloneBuffer.js_commonjs-module.js';
|
|
11
|
-
import _root from './_root.js';
|
|
12
|
-
/** @LICENSE
|
|
13
|
-
* @hi-ui/func-utils
|
|
14
|
-
* https://github.com/XiaoMi/hiui/tree/master/packages/utils/func-utils#readme
|
|
15
|
-
*
|
|
16
|
-
* Copyright (c) HIUI <mi-hiui@xiaomi.com>.
|
|
17
|
-
*
|
|
18
|
-
* This source code is licensed under the MIT license found in the
|
|
19
|
-
* LICENSE file in the root directory of this source tree.
|
|
20
|
-
*/
|
|
21
|
-
|
|
22
|
-
(function (module, exports) {
|
|
23
|
-
var root = _root;
|
|
24
|
-
/** Detect free variable `exports`. */
|
|
25
|
-
|
|
26
|
-
var freeExports = exports && !exports.nodeType && exports;
|
|
27
|
-
/** Detect free variable `module`. */
|
|
28
|
-
|
|
29
|
-
var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
|
|
30
|
-
/** Detect the popular CommonJS extension `module.exports`. */
|
|
31
|
-
|
|
32
|
-
var moduleExports = freeModule && freeModule.exports === freeExports;
|
|
33
|
-
/** Built-in value references. */
|
|
34
|
-
|
|
35
|
-
var Buffer = moduleExports ? root.Buffer : undefined,
|
|
36
|
-
allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;
|
|
37
|
-
/**
|
|
38
|
-
* Creates a clone of `buffer`.
|
|
39
|
-
*
|
|
40
|
-
* @private
|
|
41
|
-
* @param {Buffer} buffer The buffer to clone.
|
|
42
|
-
* @param {boolean} [isDeep] Specify a deep clone.
|
|
43
|
-
* @returns {Buffer} Returns the cloned buffer.
|
|
44
|
-
*/
|
|
45
|
-
|
|
46
|
-
function cloneBuffer(buffer, isDeep) {
|
|
47
|
-
if (isDeep) {
|
|
48
|
-
return buffer.slice();
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
var length = buffer.length,
|
|
52
|
-
result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);
|
|
53
|
-
buffer.copy(result);
|
|
54
|
-
return result;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
module.exports = cloneBuffer;
|
|
58
|
-
})(_cloneBuffer, _cloneBuffer.exports);
|
|
59
|
-
//# sourceMappingURL=_cloneBuffer.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_cloneBuffer.js","sources":["../../../../../../../../../../utils/func-utils/lib/esm/node_modules/lodash/_cloneBuffer.js"],"sourcesContent":["/** @LICENSE\n * @hi-ui/func-utils\n * https://github.com/XiaoMi/hiui/tree/master/packages/utils/func-utils#readme\n *\n * Copyright (c) HIUI <mi-hiui@xiaomi.com>.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nimport { _ as _cloneBuffer } from '../../_virtual/_cloneBuffer.js_commonjs-module';\nimport _root from './_root.js';\n\n(function (module, exports) {\n var root = _root;\n /** Detect free variable `exports`. */\n\n var freeExports = exports && !exports.nodeType && exports;\n /** Detect free variable `module`. */\n\n var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;\n /** Detect the popular CommonJS extension `module.exports`. */\n\n var moduleExports = freeModule && freeModule.exports === freeExports;\n /** Built-in value references. */\n\n var Buffer = moduleExports ? root.Buffer : undefined,\n allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;\n /**\n * Creates a clone of `buffer`.\n *\n * @private\n * @param {Buffer} buffer The buffer to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Buffer} Returns the cloned buffer.\n */\n\n function cloneBuffer(buffer, isDeep) {\n if (isDeep) {\n return buffer.slice();\n }\n\n var length = buffer.length,\n result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);\n buffer.copy(result);\n return result;\n }\n\n module.exports = cloneBuffer;\n})(_cloneBuffer, _cloneBuffer.exports);\n//# sourceMappingURL=_cloneBuffer.js.map\n"],"names":["module","exports","root","_root","freeExports","nodeType","freeModule","moduleExports","Buffer","undefined","allocUnsafe","cloneBuffer","buffer","isDeep","slice","length","result","constructor","copy","_cloneBuffer"],"mappings":";;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAIA,CAAC,UAAUA,MAAV,EAAkBC,OAAlB,EAA2B;AAC1B,MAAIC,IAAI,GAAGC,KAAX;;;AAGA,MAAIC,WAAW,GAAGH,OAAO,IAAI,CAACA,OAAO,CAACI,QAApB,IAAgCJ,OAAlD;;;AAGA,MAAIK,UAAU,GAAGF,WAAW,IAAI,YAAY,QAA3B,IAAuCJ,MAAvC,IAAiD,CAACA,MAAM,CAACK,QAAzD,IAAqEL,MAAtF;;;AAGA,MAAIO,aAAa,GAAGD,UAAU,IAAIA,UAAU,CAACL,OAAX,KAAuBG,WAAzD;;;AAGA,MAAII,MAAM,GAAGD,aAAa,GAAGL,IAAI,CAACM,MAAR,GAAiBC,SAA3C;AAAA,MACIC,WAAW,GAAGF,MAAM,GAAGA,MAAM,CAACE,WAAV,GAAwBD,SADhD;;AAGF;AACA;AACA;AACA;AACA;AACA;AACA;;AAEE,WAASE,WAAT,CAAqBC,MAArB,EAA6BC,MAA7B,EAAqC;AACnC,QAAIA,MAAJ,EAAY;AACV,aAAOD,MAAM,CAACE,KAAP,EAAP;AACD;;AAED,QAAIC,MAAM,GAAGH,MAAM,CAACG,MAApB;AAAA,QACIC,MAAM,GAAGN,WAAW,GAAGA,WAAW,CAACK,MAAD,CAAd,GAAyB,IAAIH,MAAM,CAACK,WAAX,CAAuBF,MAAvB,CADjD;AAEAH,IAAAA,MAAM,CAACM,IAAP,CAAYF,MAAZ;AACA,WAAOA,MAAP;AACD;;AAEDhB,EAAAA,MAAM,CAACC,OAAP,GAAiBU,WAAjB;AACD,CApCD,EAoCGQ,YApCH,EAoCiBA,YAAY,CAAClB,OApC9B"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/** @LICENSE
|
|
2
|
-
* @hi-ui/table
|
|
3
|
-
* https://github.com/XiaoMi/hiui/tree/master/packages/ui/table#readme
|
|
4
|
-
*
|
|
5
|
-
* Copyright (c) HIUI <mi-hiui@xiaomi.com>.
|
|
6
|
-
*
|
|
7
|
-
* This source code is licensed under the MIT license found in the
|
|
8
|
-
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/
|
|
10
|
-
import _root from './_root.js';
|
|
11
|
-
/** @LICENSE
|
|
12
|
-
* @hi-ui/func-utils
|
|
13
|
-
* https://github.com/XiaoMi/hiui/tree/master/packages/utils/func-utils#readme
|
|
14
|
-
*
|
|
15
|
-
* Copyright (c) HIUI <mi-hiui@xiaomi.com>.
|
|
16
|
-
*
|
|
17
|
-
* This source code is licensed under the MIT license found in the
|
|
18
|
-
* LICENSE file in the root directory of this source tree.
|
|
19
|
-
*/
|
|
20
|
-
|
|
21
|
-
var root = _root;
|
|
22
|
-
/** Used to detect overreaching core-js shims. */
|
|
23
|
-
|
|
24
|
-
var coreJsData = root['__core-js_shared__'];
|
|
25
|
-
var _coreJsData = coreJsData;
|
|
26
|
-
export default _coreJsData;
|
|
27
|
-
//# sourceMappingURL=_coreJsData.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_coreJsData.js","sources":["../../../../../../../../../../utils/func-utils/lib/esm/node_modules/lodash/_coreJsData.js"],"sourcesContent":["/** @LICENSE\n * @hi-ui/func-utils\n * https://github.com/XiaoMi/hiui/tree/master/packages/utils/func-utils#readme\n *\n * Copyright (c) HIUI <mi-hiui@xiaomi.com>.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nimport _root from './_root.js';\nvar root = _root;\n/** Used to detect overreaching core-js shims. */\n\nvar coreJsData = root['__core-js_shared__'];\nvar _coreJsData = coreJsData;\nexport default _coreJsData;\n//# sourceMappingURL=_coreJsData.js.map\n"],"names":["root","_root","coreJsData","_coreJsData"],"mappings":";;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,IAAIA,IAAI,GAAGC,KAAX;AACA;;AAEA,IAAIC,UAAU,GAAGF,IAAI,CAAC,oBAAD,CAArB;AACG,IAACG,WAAW,GAAGD,UAAf;"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/** @LICENSE
|
|
2
|
-
* @hi-ui/table
|
|
3
|
-
* https://github.com/XiaoMi/hiui/tree/master/packages/ui/table#readme
|
|
4
|
-
*
|
|
5
|
-
* Copyright (c) HIUI <mi-hiui@xiaomi.com>.
|
|
6
|
-
*
|
|
7
|
-
* This source code is licensed under the MIT license found in the
|
|
8
|
-
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/
|
|
10
|
-
import _getNative from './_getNative.js';
|
|
11
|
-
/** @LICENSE
|
|
12
|
-
* @hi-ui/func-utils
|
|
13
|
-
* https://github.com/XiaoMi/hiui/tree/master/packages/utils/func-utils#readme
|
|
14
|
-
*
|
|
15
|
-
* Copyright (c) HIUI <mi-hiui@xiaomi.com>.
|
|
16
|
-
*
|
|
17
|
-
* This source code is licensed under the MIT license found in the
|
|
18
|
-
* LICENSE file in the root directory of this source tree.
|
|
19
|
-
*/
|
|
20
|
-
|
|
21
|
-
var getNative = _getNative;
|
|
22
|
-
|
|
23
|
-
(function () {
|
|
24
|
-
try {
|
|
25
|
-
var func = getNative(Object, 'defineProperty');
|
|
26
|
-
func({}, '', {});
|
|
27
|
-
return func;
|
|
28
|
-
} catch (e) {}
|
|
29
|
-
})();
|
|
30
|
-
//# sourceMappingURL=_defineProperty.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_defineProperty.js","sources":["../../../../../../../../../../utils/func-utils/lib/esm/node_modules/lodash/_defineProperty.js"],"sourcesContent":["/** @LICENSE\n * @hi-ui/func-utils\n * https://github.com/XiaoMi/hiui/tree/master/packages/utils/func-utils#readme\n *\n * Copyright (c) HIUI <mi-hiui@xiaomi.com>.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nimport _getNative from './_getNative.js';\nvar getNative = _getNative;\n\nvar defineProperty = function () {\n try {\n var func = getNative(Object, 'defineProperty');\n func({}, '', {});\n return func;\n } catch (e) {}\n}();\n\nvar _defineProperty = defineProperty;\nexport default _defineProperty;\n//# sourceMappingURL=_defineProperty.js.map\n"],"names":["getNative","_getNative","func","Object","e"],"mappings":";;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,IAAIA,SAAS,GAAGC,UAAhB;;CAEqB,YAAY;AAC/B,MAAI;AACF,QAAIC,IAAI,GAAGF,SAAS,CAACG,MAAD,EAAS,gBAAT,CAApB;AACAD,IAAAA,IAAI,CAAC,EAAD,EAAK,EAAL,EAAS,EAAT,CAAJ;AACA,WAAOA,IAAP;AACD,GAJD,CAIE,OAAOE,CAAP,EAAU,CAAE;"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/** @LICENSE
|
|
2
|
-
* @hi-ui/table
|
|
3
|
-
* https://github.com/XiaoMi/hiui/tree/master/packages/ui/table#readme
|
|
4
|
-
*
|
|
5
|
-
* Copyright (c) HIUI <mi-hiui@xiaomi.com>.
|
|
6
|
-
*
|
|
7
|
-
* This source code is licensed under the MIT license found in the
|
|
8
|
-
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/
|
|
10
|
-
import _typeof from '@babel/runtime/helpers/esm/typeof';
|
|
11
|
-
import { commonjsGlobal } from '../../_virtual/_commonjsHelpers.js';
|
|
12
|
-
/** Detect free variable `global` from Node.js. */
|
|
13
|
-
|
|
14
|
-
var freeGlobal = _typeof(commonjsGlobal) == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
|
|
15
|
-
var _freeGlobal = freeGlobal;
|
|
16
|
-
export default _freeGlobal;
|
|
17
|
-
//# sourceMappingURL=_freeGlobal.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_freeGlobal.js","sources":["../../../../../../../../../../utils/func-utils/lib/esm/node_modules/lodash/_freeGlobal.js"],"sourcesContent":["import _typeof from \"@babel/runtime/helpers/esm/typeof\";\n\n/** @LICENSE\n * @hi-ui/func-utils\n * https://github.com/XiaoMi/hiui/tree/master/packages/utils/func-utils#readme\n *\n * Copyright (c) HIUI <mi-hiui@xiaomi.com>.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nimport { commonjsGlobal } from '../../_virtual/_commonjsHelpers.js';\n/** Detect free variable `global` from Node.js. */\n\nvar freeGlobal = _typeof(commonjsGlobal) == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;\nvar _freeGlobal = freeGlobal;\nexport default _freeGlobal;\n//# sourceMappingURL=_freeGlobal.js.map\n"],"names":["freeGlobal","_typeof","commonjsGlobal","Object","_freeGlobal"],"mappings":";;;;;;;;;;;AAYA;;AAEA,IAAIA,UAAU,GAAGC,OAAO,CAACC,cAAD,CAAP,IAA2B,QAA3B,IAAuCA,cAAvC,IAAyDA,cAAc,CAACC,MAAf,KAA0BA,MAAnF,IAA6FD,cAA9G;AACG,IAACE,WAAW,GAAGJ,UAAf;"}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/** @LICENSE
|
|
2
|
-
* @hi-ui/table
|
|
3
|
-
* https://github.com/XiaoMi/hiui/tree/master/packages/ui/table#readme
|
|
4
|
-
*
|
|
5
|
-
* Copyright (c) HIUI <mi-hiui@xiaomi.com>.
|
|
6
|
-
*
|
|
7
|
-
* This source code is licensed under the MIT license found in the
|
|
8
|
-
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/
|
|
10
|
-
import _baseIsNative from './_baseIsNative.js';
|
|
11
|
-
import _getValue from './_getValue.js';
|
|
12
|
-
/** @LICENSE
|
|
13
|
-
* @hi-ui/func-utils
|
|
14
|
-
* https://github.com/XiaoMi/hiui/tree/master/packages/utils/func-utils#readme
|
|
15
|
-
*
|
|
16
|
-
* Copyright (c) HIUI <mi-hiui@xiaomi.com>.
|
|
17
|
-
*
|
|
18
|
-
* This source code is licensed under the MIT license found in the
|
|
19
|
-
* LICENSE file in the root directory of this source tree.
|
|
20
|
-
*/
|
|
21
|
-
|
|
22
|
-
var baseIsNative = _baseIsNative,
|
|
23
|
-
getValue = _getValue;
|
|
24
|
-
/**
|
|
25
|
-
* Gets the native function at `key` of `object`.
|
|
26
|
-
*
|
|
27
|
-
* @private
|
|
28
|
-
* @param {Object} object The object to query.
|
|
29
|
-
* @param {string} key The key of the method to get.
|
|
30
|
-
* @returns {*} Returns the function if it's native, else `undefined`.
|
|
31
|
-
*/
|
|
32
|
-
|
|
33
|
-
function getNative(object, key) {
|
|
34
|
-
var value = getValue(object, key);
|
|
35
|
-
return baseIsNative(value) ? value : undefined;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
var _getNative = getNative;
|
|
39
|
-
export default _getNative;
|
|
40
|
-
//# sourceMappingURL=_getNative.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_getNative.js","sources":["../../../../../../../../../../utils/func-utils/lib/esm/node_modules/lodash/_getNative.js"],"sourcesContent":["/** @LICENSE\n * @hi-ui/func-utils\n * https://github.com/XiaoMi/hiui/tree/master/packages/utils/func-utils#readme\n *\n * Copyright (c) HIUI <mi-hiui@xiaomi.com>.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nimport _baseIsNative from './_baseIsNative.js';\nimport _getValue from './_getValue.js';\nvar baseIsNative = _baseIsNative,\n getValue = _getValue;\n/**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\n\nfunction getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n}\n\nvar _getNative = getNative;\nexport default _getNative;\n//# sourceMappingURL=_getNative.js.map\n"],"names":["baseIsNative","_baseIsNative","getValue","_getValue","getNative","object","key","value","undefined","_getNative"],"mappings":";;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAGA,IAAIA,YAAY,GAAGC,aAAnB;AAAA,IACIC,QAAQ,GAAGC,SADf;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASC,SAAT,CAAmBC,MAAnB,EAA2BC,GAA3B,EAAgC;AAC9B,MAAIC,KAAK,GAAGL,QAAQ,CAACG,MAAD,EAASC,GAAT,CAApB;AACA,SAAON,YAAY,CAACO,KAAD,CAAZ,GAAsBA,KAAtB,GAA8BC,SAArC;AACD;;AAEE,IAACC,UAAU,GAAGL,SAAd;"}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
/** @LICENSE
|
|
2
|
-
* @hi-ui/table
|
|
3
|
-
* https://github.com/XiaoMi/hiui/tree/master/packages/ui/table#readme
|
|
4
|
-
*
|
|
5
|
-
* Copyright (c) HIUI <mi-hiui@xiaomi.com>.
|
|
6
|
-
*
|
|
7
|
-
* This source code is licensed under the MIT license found in the
|
|
8
|
-
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/
|
|
10
|
-
import _Symbol from './_Symbol.js';
|
|
11
|
-
/** @LICENSE
|
|
12
|
-
* @hi-ui/func-utils
|
|
13
|
-
* https://github.com/XiaoMi/hiui/tree/master/packages/utils/func-utils#readme
|
|
14
|
-
*
|
|
15
|
-
* Copyright (c) HIUI <mi-hiui@xiaomi.com>.
|
|
16
|
-
*
|
|
17
|
-
* This source code is licensed under the MIT license found in the
|
|
18
|
-
* LICENSE file in the root directory of this source tree.
|
|
19
|
-
*/
|
|
20
|
-
|
|
21
|
-
var _Symbol2 = _Symbol;
|
|
22
|
-
/** Used for built-in method references. */
|
|
23
|
-
|
|
24
|
-
var objectProto = Object.prototype;
|
|
25
|
-
/** Used to check objects for own properties. */
|
|
26
|
-
|
|
27
|
-
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
28
|
-
/**
|
|
29
|
-
* Used to resolve the
|
|
30
|
-
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
31
|
-
* of values.
|
|
32
|
-
*/
|
|
33
|
-
|
|
34
|
-
var nativeObjectToString = objectProto.toString;
|
|
35
|
-
/** Built-in value references. */
|
|
36
|
-
|
|
37
|
-
var symToStringTag = _Symbol2 ? _Symbol2.toStringTag : undefined;
|
|
38
|
-
/**
|
|
39
|
-
* A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
|
|
40
|
-
*
|
|
41
|
-
* @private
|
|
42
|
-
* @param {*} value The value to query.
|
|
43
|
-
* @returns {string} Returns the raw `toStringTag`.
|
|
44
|
-
*/
|
|
45
|
-
|
|
46
|
-
function getRawTag(value) {
|
|
47
|
-
var isOwn = hasOwnProperty.call(value, symToStringTag),
|
|
48
|
-
tag = value[symToStringTag];
|
|
49
|
-
|
|
50
|
-
try {
|
|
51
|
-
value[symToStringTag] = undefined;
|
|
52
|
-
var unmasked = true;
|
|
53
|
-
} catch (e) {}
|
|
54
|
-
|
|
55
|
-
var result = nativeObjectToString.call(value);
|
|
56
|
-
|
|
57
|
-
if (unmasked) {
|
|
58
|
-
if (isOwn) {
|
|
59
|
-
value[symToStringTag] = tag;
|
|
60
|
-
} else {
|
|
61
|
-
delete value[symToStringTag];
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
return result;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
var _getRawTag = getRawTag;
|
|
69
|
-
export default _getRawTag;
|
|
70
|
-
//# sourceMappingURL=_getRawTag.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_getRawTag.js","sources":["../../../../../../../../../../utils/func-utils/lib/esm/node_modules/lodash/_getRawTag.js"],"sourcesContent":["/** @LICENSE\n * @hi-ui/func-utils\n * https://github.com/XiaoMi/hiui/tree/master/packages/utils/func-utils#readme\n *\n * Copyright (c) HIUI <mi-hiui@xiaomi.com>.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nimport _Symbol from './_Symbol.js';\nvar _Symbol2 = _Symbol;\n/** Used for built-in method references. */\n\nvar objectProto = Object.prototype;\n/** Used to check objects for own properties. */\n\nvar hasOwnProperty = objectProto.hasOwnProperty;\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\n\nvar nativeObjectToString = objectProto.toString;\n/** Built-in value references. */\n\nvar symToStringTag = _Symbol2 ? _Symbol2.toStringTag : undefined;\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\n\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n\n return result;\n}\n\nvar _getRawTag = getRawTag;\nexport default _getRawTag;\n//# sourceMappingURL=_getRawTag.js.map\n"],"names":["_Symbol2","_Symbol","objectProto","Object","prototype","hasOwnProperty","nativeObjectToString","toString","symToStringTag","toStringTag","undefined","getRawTag","value","isOwn","call","tag","unmasked","e","result","_getRawTag"],"mappings":";;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,IAAIA,QAAQ,GAAGC,OAAf;AACA;;AAEA,IAAIC,WAAW,GAAGC,MAAM,CAACC,SAAzB;AACA;;AAEA,IAAIC,cAAc,GAAGH,WAAW,CAACG,cAAjC;AACA;AACA;AACA;AACA;AACA;;AAEA,IAAIC,oBAAoB,GAAGJ,WAAW,CAACK,QAAvC;AACA;;AAEA,IAAIC,cAAc,GAAGR,QAAQ,GAAGA,QAAQ,CAACS,WAAZ,GAA0BC,SAAvD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASC,SAAT,CAAmBC,KAAnB,EAA0B;AACxB,MAAIC,KAAK,GAAGR,cAAc,CAACS,IAAf,CAAoBF,KAApB,EAA2BJ,cAA3B,CAAZ;AAAA,MACIO,GAAG,GAAGH,KAAK,CAACJ,cAAD,CADf;;AAGA,MAAI;AACFI,IAAAA,KAAK,CAACJ,cAAD,CAAL,GAAwBE,SAAxB;AACA,QAAIM,QAAQ,GAAG,IAAf;AACD,GAHD,CAGE,OAAOC,CAAP,EAAU,CAAE;;AAEd,MAAIC,MAAM,GAAGZ,oBAAoB,CAACQ,IAArB,CAA0BF,KAA1B,CAAb;;AAEA,MAAII,QAAJ,EAAc;AACZ,QAAIH,KAAJ,EAAW;AACTD,MAAAA,KAAK,CAACJ,cAAD,CAAL,GAAwBO,GAAxB;AACD,KAFD,MAEO;AACL,aAAOH,KAAK,CAACJ,cAAD,CAAZ;AACD;AACF;;AAED,SAAOU,MAAP;AACD;;AAEE,IAACC,UAAU,GAAGR,SAAd;"}
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
/** @LICENSE
|
|
2
|
-
* @hi-ui/table
|
|
3
|
-
* https://github.com/XiaoMi/hiui/tree/master/packages/ui/table#readme
|
|
4
|
-
*
|
|
5
|
-
* Copyright (c) HIUI <mi-hiui@xiaomi.com>.
|
|
6
|
-
*
|
|
7
|
-
* This source code is licensed under the MIT license found in the
|
|
8
|
-
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/
|
|
10
|
-
import _DataView from './_DataView.js';
|
|
11
|
-
import _Map from './_Map.js';
|
|
12
|
-
import _Promise from './_Promise.js';
|
|
13
|
-
import _Set from './_Set.js';
|
|
14
|
-
import _WeakMap from './_WeakMap.js';
|
|
15
|
-
import _baseGetTag from './_baseGetTag.js';
|
|
16
|
-
import _toSource from './_toSource.js';
|
|
17
|
-
/** @LICENSE
|
|
18
|
-
* @hi-ui/func-utils
|
|
19
|
-
* https://github.com/XiaoMi/hiui/tree/master/packages/utils/func-utils#readme
|
|
20
|
-
*
|
|
21
|
-
* Copyright (c) HIUI <mi-hiui@xiaomi.com>.
|
|
22
|
-
*
|
|
23
|
-
* This source code is licensed under the MIT license found in the
|
|
24
|
-
* LICENSE file in the root directory of this source tree.
|
|
25
|
-
*/
|
|
26
|
-
|
|
27
|
-
var DataView = _DataView,
|
|
28
|
-
Map = _Map,
|
|
29
|
-
Promise$1 = _Promise,
|
|
30
|
-
Set = _Set,
|
|
31
|
-
WeakMap = _WeakMap,
|
|
32
|
-
baseGetTag = _baseGetTag,
|
|
33
|
-
toSource = _toSource;
|
|
34
|
-
/** `Object#toString` result references. */
|
|
35
|
-
|
|
36
|
-
var mapTag = '[object Map]',
|
|
37
|
-
objectTag = '[object Object]',
|
|
38
|
-
promiseTag = '[object Promise]',
|
|
39
|
-
setTag = '[object Set]',
|
|
40
|
-
weakMapTag = '[object WeakMap]';
|
|
41
|
-
var dataViewTag = '[object DataView]';
|
|
42
|
-
/** Used to detect maps, sets, and weakmaps. */
|
|
43
|
-
|
|
44
|
-
var dataViewCtorString = toSource(DataView),
|
|
45
|
-
mapCtorString = toSource(Map),
|
|
46
|
-
promiseCtorString = toSource(Promise$1),
|
|
47
|
-
setCtorString = toSource(Set),
|
|
48
|
-
weakMapCtorString = toSource(WeakMap);
|
|
49
|
-
/**
|
|
50
|
-
* Gets the `toStringTag` of `value`.
|
|
51
|
-
*
|
|
52
|
-
* @private
|
|
53
|
-
* @param {*} value The value to query.
|
|
54
|
-
* @returns {string} Returns the `toStringTag`.
|
|
55
|
-
*/
|
|
56
|
-
|
|
57
|
-
var getTag = baseGetTag; // Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.
|
|
58
|
-
|
|
59
|
-
if (DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag || Map && getTag(new Map()) != mapTag || Promise$1 && getTag(Promise$1.resolve()) != promiseTag || Set && getTag(new Set()) != setTag || WeakMap && getTag(new WeakMap()) != weakMapTag) {
|
|
60
|
-
getTag = function getTag(value) {
|
|
61
|
-
var result = baseGetTag(value),
|
|
62
|
-
Ctor = result == objectTag ? value.constructor : undefined,
|
|
63
|
-
ctorString = Ctor ? toSource(Ctor) : '';
|
|
64
|
-
|
|
65
|
-
if (ctorString) {
|
|
66
|
-
switch (ctorString) {
|
|
67
|
-
case dataViewCtorString:
|
|
68
|
-
return dataViewTag;
|
|
69
|
-
|
|
70
|
-
case mapCtorString:
|
|
71
|
-
return mapTag;
|
|
72
|
-
|
|
73
|
-
case promiseCtorString:
|
|
74
|
-
return promiseTag;
|
|
75
|
-
|
|
76
|
-
case setCtorString:
|
|
77
|
-
return setTag;
|
|
78
|
-
|
|
79
|
-
case weakMapCtorString:
|
|
80
|
-
return weakMapTag;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
return result;
|
|
85
|
-
};
|
|
86
|
-
}
|
|
87
|
-
//# sourceMappingURL=_getTag.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_getTag.js","sources":["../../../../../../../../../../utils/func-utils/lib/esm/node_modules/lodash/_getTag.js"],"sourcesContent":["/** @LICENSE\n * @hi-ui/func-utils\n * https://github.com/XiaoMi/hiui/tree/master/packages/utils/func-utils#readme\n *\n * Copyright (c) HIUI <mi-hiui@xiaomi.com>.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nimport _DataView from './_DataView.js';\nimport _Map from './_Map.js';\nimport _Promise from './_Promise.js';\nimport _Set from './_Set.js';\nimport _WeakMap from './_WeakMap.js';\nimport _baseGetTag from './_baseGetTag.js';\nimport _toSource from './_toSource.js';\nvar DataView = _DataView,\n Map = _Map,\n Promise$1 = _Promise,\n Set = _Set,\n WeakMap = _WeakMap,\n baseGetTag = _baseGetTag,\n toSource = _toSource;\n/** `Object#toString` result references. */\n\nvar mapTag = '[object Map]',\n objectTag = '[object Object]',\n promiseTag = '[object Promise]',\n setTag = '[object Set]',\n weakMapTag = '[object WeakMap]';\nvar dataViewTag = '[object DataView]';\n/** Used to detect maps, sets, and weakmaps. */\n\nvar dataViewCtorString = toSource(DataView),\n mapCtorString = toSource(Map),\n promiseCtorString = toSource(Promise$1),\n setCtorString = toSource(Set),\n weakMapCtorString = toSource(WeakMap);\n/**\n * Gets the `toStringTag` of `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\n\nvar getTag = baseGetTag; // Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.\n\nif (DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag || Map && getTag(new Map()) != mapTag || Promise$1 && getTag(Promise$1.resolve()) != promiseTag || Set && getTag(new Set()) != setTag || WeakMap && getTag(new WeakMap()) != weakMapTag) {\n getTag = function getTag(value) {\n var result = baseGetTag(value),\n Ctor = result == objectTag ? value.constructor : undefined,\n ctorString = Ctor ? toSource(Ctor) : '';\n\n if (ctorString) {\n switch (ctorString) {\n case dataViewCtorString:\n return dataViewTag;\n\n case mapCtorString:\n return mapTag;\n\n case promiseCtorString:\n return promiseTag;\n\n case setCtorString:\n return setTag;\n\n case weakMapCtorString:\n return weakMapTag;\n }\n }\n\n return result;\n };\n}\n\nvar _getTag = getTag;\nexport default _getTag;\n//# sourceMappingURL=_getTag.js.map\n"],"names":["DataView","_DataView","Map","_Map","Promise$1","_Promise","Set","_Set","WeakMap","_WeakMap","baseGetTag","_baseGetTag","toSource","_toSource","mapTag","objectTag","promiseTag","setTag","weakMapTag","dataViewTag","dataViewCtorString","mapCtorString","promiseCtorString","setCtorString","weakMapCtorString","getTag","ArrayBuffer","resolve","value","result","Ctor","constructor","undefined","ctorString"],"mappings":";;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAQA,IAAIA,QAAQ,GAAGC,SAAf;AAAA,IACIC,GAAG,GAAGC,IADV;AAAA,IAEIC,SAAS,GAAGC,QAFhB;AAAA,IAGIC,GAAG,GAAGC,IAHV;AAAA,IAIIC,OAAO,GAAGC,QAJd;AAAA,IAKIC,UAAU,GAAGC,WALjB;AAAA,IAMIC,QAAQ,GAAGC,SANf;AAOA;;AAEA,IAAIC,MAAM,GAAG,cAAb;AAAA,IACIC,SAAS,GAAG,iBADhB;AAAA,IAEIC,UAAU,GAAG,kBAFjB;AAAA,IAGIC,MAAM,GAAG,cAHb;AAAA,IAIIC,UAAU,GAAG,kBAJjB;AAKA,IAAIC,WAAW,GAAG,mBAAlB;AACA;;AAEA,IAAIC,kBAAkB,GAAGR,QAAQ,CAACZ,QAAD,CAAjC;AAAA,IACIqB,aAAa,GAAGT,QAAQ,CAACV,GAAD,CAD5B;AAAA,IAEIoB,iBAAiB,GAAGV,QAAQ,CAACR,SAAD,CAFhC;AAAA,IAGImB,aAAa,GAAGX,QAAQ,CAACN,GAAD,CAH5B;AAAA,IAIIkB,iBAAiB,GAAGZ,QAAQ,CAACJ,OAAD,CAJhC;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,IAAIiB,MAAM,GAAGf,UAAb;;AAEA,IAAIV,QAAQ,IAAIyB,MAAM,CAAC,IAAIzB,QAAJ,CAAa,IAAI0B,WAAJ,CAAgB,CAAhB,CAAb,CAAD,CAAN,IAA4CP,WAAxD,IAAuEjB,GAAG,IAAIuB,MAAM,CAAC,IAAIvB,GAAJ,EAAD,CAAN,IAAqBY,MAAnG,IAA6GV,SAAS,IAAIqB,MAAM,CAACrB,SAAS,CAACuB,OAAV,EAAD,CAAN,IAA+BX,UAAzJ,IAAuKV,GAAG,IAAImB,MAAM,CAAC,IAAInB,GAAJ,EAAD,CAAN,IAAqBW,MAAnM,IAA6MT,OAAO,IAAIiB,MAAM,CAAC,IAAIjB,OAAJ,EAAD,CAAN,IAAyBU,UAArP,EAAiQ;AAC/PO,EAAAA,MAAM,GAAG,SAASA,MAAT,CAAgBG,KAAhB,EAAuB;AAC9B,QAAIC,MAAM,GAAGnB,UAAU,CAACkB,KAAD,CAAvB;AAAA,QACIE,IAAI,GAAGD,MAAM,IAAId,SAAV,GAAsBa,KAAK,CAACG,WAA5B,GAA0CC,SADrD;AAAA,QAEIC,UAAU,GAAGH,IAAI,GAAGlB,QAAQ,CAACkB,IAAD,CAAX,GAAoB,EAFzC;;AAIA,QAAIG,UAAJ,EAAgB;AACd,cAAQA,UAAR;AACE,aAAKb,kBAAL;AACE,iBAAOD,WAAP;;AAEF,aAAKE,aAAL;AACE,iBAAOP,MAAP;;AAEF,aAAKQ,iBAAL;AACE,iBAAON,UAAP;;AAEF,aAAKO,aAAL;AACE,iBAAON,MAAP;;AAEF,aAAKO,iBAAL;AACE,iBAAON,UAAP;AAdJ;AAgBD;;AAED,WAAOW,MAAP;AACD,GAzBD;"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/** @LICENSE
|
|
2
|
-
* @hi-ui/table
|
|
3
|
-
* https://github.com/XiaoMi/hiui/tree/master/packages/ui/table#readme
|
|
4
|
-
*
|
|
5
|
-
* Copyright (c) HIUI <mi-hiui@xiaomi.com>.
|
|
6
|
-
*
|
|
7
|
-
* This source code is licensed under the MIT license found in the
|
|
8
|
-
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
/** @LICENSE
|
|
12
|
-
* @hi-ui/func-utils
|
|
13
|
-
* https://github.com/XiaoMi/hiui/tree/master/packages/utils/func-utils#readme
|
|
14
|
-
*
|
|
15
|
-
* Copyright (c) HIUI <mi-hiui@xiaomi.com>.
|
|
16
|
-
*
|
|
17
|
-
* This source code is licensed under the MIT license found in the
|
|
18
|
-
* LICENSE file in the root directory of this source tree.
|
|
19
|
-
*/
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* Gets the value at `key` of `object`.
|
|
23
|
-
*
|
|
24
|
-
* @private
|
|
25
|
-
* @param {Object} [object] The object to query.
|
|
26
|
-
* @param {string} key The key of the property to get.
|
|
27
|
-
* @returns {*} Returns the property value.
|
|
28
|
-
*/
|
|
29
|
-
function getValue(object, key) {
|
|
30
|
-
return object == null ? undefined : object[key];
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
var _getValue = getValue;
|
|
34
|
-
export default _getValue;
|
|
35
|
-
//# sourceMappingURL=_getValue.js.map
|