@gx-design-vue/pro-utils 0.0.1 → 0.0.2
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/dist/index.es.js +2 -1
- package/dist/index.js +2 -0
- package/dist/utils/validate.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -2563,6 +2563,7 @@ function getRandomNumber() {
|
|
|
2563
2563
|
}
|
|
2564
2564
|
|
|
2565
2565
|
const toString = Object.prototype.toString;
|
|
2566
|
+
const noop = () => { };
|
|
2566
2567
|
function is(val, type) {
|
|
2567
2568
|
return toString.call(val) === `[object ${type}]`;
|
|
2568
2569
|
}
|
|
@@ -2606,4 +2607,4 @@ function isFunction(func) {
|
|
|
2606
2607
|
return (typeof func === 'function' || Object.prototype.toString.call(func) === '[object Function]');
|
|
2607
2608
|
}
|
|
2608
2609
|
|
|
2609
|
-
export { arrayRepeat, compareToMax, deepCopy, genColumnKey, getRandomNumber, getSortIndex, handleCurrentPage, handleFormDefaultValue, handleShowIndex, hanndleField, is, isArray, isBoolean, isFunction, isNumber, isObject, isString, runFunction };
|
|
2610
|
+
export { arrayRepeat, compareToMax, deepCopy, genColumnKey, getRandomNumber, getSortIndex, handleCurrentPage, handleFormDefaultValue, handleShowIndex, hanndleField, is, isArray, isBoolean, isFunction, isNumber, isObject, isString, noop, runFunction };
|
package/dist/index.js
CHANGED
|
@@ -2567,6 +2567,7 @@ function getRandomNumber() {
|
|
|
2567
2567
|
}
|
|
2568
2568
|
|
|
2569
2569
|
const toString = Object.prototype.toString;
|
|
2570
|
+
const noop = () => { };
|
|
2570
2571
|
function is(val, type) {
|
|
2571
2572
|
return toString.call(val) === `[object ${type}]`;
|
|
2572
2573
|
}
|
|
@@ -2627,4 +2628,5 @@ exports.isFunction = isFunction;
|
|
|
2627
2628
|
exports.isNumber = isNumber;
|
|
2628
2629
|
exports.isObject = isObject;
|
|
2629
2630
|
exports.isString = isString;
|
|
2631
|
+
exports.noop = noop;
|
|
2630
2632
|
exports.runFunction = runFunction;
|
package/dist/utils/validate.d.ts
CHANGED