@sheinx/base 3.7.10 → 3.7.11-beta.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.
@@ -1 +1 @@
1
- {"version":3,"file":"input-number.d.ts","sourceRoot":"","sources":["input-number.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;;AA4FvD,wBAAuC"}
1
+ {"version":3,"file":"input-number.d.ts","sourceRoot":"","sources":["input-number.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;;AA8FvD,wBAAuC"}
@@ -12,7 +12,7 @@ var _hooks = require("@sheinx/hooks");
12
12
  var _classnames = _interopRequireDefault(require("classnames"));
13
13
  var _useInputCommon = _interopRequireDefault(require("./use-input-common"));
14
14
  var _jsxRuntime = require("react/jsx-runtime");
15
- var _excluded = ["jssStyle", "hideArrow", "numType", "integerLimit", "digits", "min", "max", "step", "allowNull"],
15
+ var _excluded = ["jssStyle", "hideArrow", "numType", "integerLimit", "digits", "min", "max", "step", "allowNull", "coin"],
16
16
  _excluded2 = ["onMinus", "onPlus"];
17
17
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
18
18
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
@@ -34,6 +34,7 @@ var InputNumber = function InputNumber(props) {
34
34
  max = commonProps.max,
35
35
  step = commonProps.step,
36
36
  allowNull = commonProps.allowNull,
37
+ coin = commonProps.coin,
37
38
  restProps = _objectWithoutProperties(commonProps, _excluded);
38
39
  var inputStyle = jssStyle === null || jssStyle === void 0 || (_jssStyle$input = jssStyle.input) === null || _jssStyle$input === void 0 ? void 0 : _jssStyle$input.call(jssStyle);
39
40
  var numberFormatParams = {
@@ -45,7 +46,8 @@ var InputNumber = function InputNumber(props) {
45
46
  min: min,
46
47
  max: max,
47
48
  step: step,
48
- allowNull: allowNull
49
+ allowNull: allowNull,
50
+ coin: coin
49
51
  };
50
52
  var _useInputNumber = (0, _hooks.useInputNumber)(_objectSpread({
51
53
  value: commonProps.value,
@@ -1 +1 @@
1
- {"version":3,"file":"input-number.d.ts","sourceRoot":"","sources":["input-number.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;;AA4FvD,wBAAuC"}
1
+ {"version":3,"file":"input-number.d.ts","sourceRoot":"","sources":["input-number.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;;AA8FvD,wBAAuC"}
@@ -1,5 +1,5 @@
1
1
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
- var _excluded = ["jssStyle", "hideArrow", "numType", "integerLimit", "digits", "min", "max", "step", "allowNull"],
2
+ var _excluded = ["jssStyle", "hideArrow", "numType", "integerLimit", "digits", "min", "max", "step", "allowNull", "coin"],
3
3
  _excluded2 = ["onMinus", "onPlus"];
4
4
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
5
5
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
@@ -28,6 +28,7 @@ var InputNumber = function InputNumber(props) {
28
28
  max = commonProps.max,
29
29
  step = commonProps.step,
30
30
  allowNull = commonProps.allowNull,
31
+ coin = commonProps.coin,
31
32
  restProps = _objectWithoutProperties(commonProps, _excluded);
32
33
  var inputStyle = jssStyle === null || jssStyle === void 0 || (_jssStyle$input = jssStyle.input) === null || _jssStyle$input === void 0 ? void 0 : _jssStyle$input.call(jssStyle);
33
34
  var numberFormatParams = {
@@ -39,7 +40,8 @@ var InputNumber = function InputNumber(props) {
39
40
  min: min,
40
41
  max: max,
41
42
  step: step,
42
- allowNull: allowNull
43
+ allowNull: allowNull,
44
+ coin: coin
43
45
  };
44
46
  var _useInputNumber = useInputNumber(_objectSpread({
45
47
  value: commonProps.value,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sheinx/base",
3
- "version": "3.7.10",
3
+ "version": "3.7.11-beta.2",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -10,7 +10,7 @@
10
10
  "module": "./esm/index.js",
11
11
  "typings": "./cjs/index.d.ts",
12
12
  "dependencies": {
13
- "@sheinx/hooks": "3.7.10",
13
+ "@sheinx/hooks": "3.7.11-beta.2",
14
14
  "immer": "^10.0.0",
15
15
  "classnames": "^2.0.0",
16
16
  "@shined/reactive": "^0.1.3-alpha.0"