@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 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;
@@ -1,3 +1,4 @@
1
+ export declare const noop: () => void;
1
2
  export declare function is(val: unknown, type: string): boolean;
2
3
  export declare function isBoolean(val: unknown): val is boolean;
3
4
  export declare function isNumber(val: unknown): boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gx-design-vue/pro-utils",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "@gx-design-vue/pro-utils",
5
5
  "license": "MIT",
6
6
  "types": "dist/index.d.ts",