@pisell/materials 6.8.6 → 6.8.8

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 (29) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/meta.js +1 -1
  5. package/build/lowcode/render/default/view.css +1 -1
  6. package/build/lowcode/render/default/view.js +4 -4
  7. package/build/lowcode/view.css +1 -1
  8. package/build/lowcode/view.js +4 -4
  9. package/es/components/PisellProcedure/PisellProcedure.less +4 -2
  10. package/es/components/dataSourceComponents/dataSourceForm/submitButton/index.js +2 -3
  11. package/es/components/dataSourceComponents/fields/Input.Mobile/serve.js +0 -2
  12. package/es/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +1 -0
  13. package/es/components/productCard/cartSkuCard/components/basicInfo/index.js +5 -2
  14. package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
  15. package/es/components/productCard/cartSkuCard/components/specs/index.d.ts +18 -1
  16. package/es/components/productCard/cartSkuCard/components/specs/index.js +22 -13
  17. package/es/components/productCard/cartSkuCard/index.js +5 -2
  18. package/es/components/productCard/components/Packages/utils.d.ts +1 -1
  19. package/lib/components/PisellProcedure/PisellProcedure.less +4 -2
  20. package/lib/components/dataSourceComponents/dataSourceForm/submitButton/index.js +0 -1
  21. package/lib/components/dataSourceComponents/fields/Input.Mobile/serve.js +0 -2
  22. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +1 -0
  23. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.js +2 -2
  24. package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
  25. package/lib/components/productCard/cartSkuCard/components/specs/index.d.ts +18 -1
  26. package/lib/components/productCard/cartSkuCard/components/specs/index.js +7 -7
  27. package/lib/components/productCard/cartSkuCard/index.js +3 -1
  28. package/lib/components/productCard/components/Packages/utils.d.ts +1 -1
  29. package/package.json +3 -3
@@ -299,8 +299,10 @@
299
299
 
300
300
  // 固定在整体底部 - 跟随页面滚动,始终在底部
301
301
  &--fixed-bottom {
302
- position: sticky;
303
- bottom: 0;
302
+ position: relative;
303
+ bottom: auto;
304
+ flex-shrink: 0;
305
+ margin-top: auto;
304
306
  }
305
307
 
306
308
  // 内嵌在 content 区域底部 - 紧贴内容底部
@@ -210,16 +210,15 @@ var SubmitButton = function SubmitButton(props) {
210
210
  }
211
211
  }
212
212
  setFormFieldsUntouched(form);
213
- _context2.next = 28;
213
+ _context2.next = 27;
214
214
  break;
215
215
  case 24:
216
216
  _context2.prev = 24;
217
217
  _context2.t0 = _context2["catch"](0);
218
- debugger;
219
218
  PisellToast({
220
219
  content: "".concat(_context2.t0.message)
221
220
  });
222
- case 28:
221
+ case 27:
223
222
  case "end":
224
223
  return _context2.stop();
225
224
  }
@@ -65,13 +65,11 @@ export var useCountries = function useCountries() {
65
65
  data = _useRequest.data,
66
66
  run = _useRequest.run;
67
67
  useEffect(function () {
68
- debugger;
69
68
  if (!isShop) {
70
69
  run();
71
70
  }
72
71
  }, [isShop]);
73
72
  var currentData = useMemo(function () {
74
- debugger;
75
73
  if (isShop) {
76
74
  var _appHelper$utils;
77
75
  var codeList = appHelper === null || appHelper === void 0 || (_appHelper$utils = appHelper.utils) === null || _appHelper$utils === void 0 || (_appHelper$utils = _appHelper$utils.store) === null || _appHelper$utils === void 0 || (_appHelper$utils = _appHelper$utils.getState()) === null || _appHelper$utils === void 0 || (_appHelper$utils = _appHelper$utils.global) === null || _appHelper$utils === void 0 ? void 0 : _appHelper$utils.codeList;
@@ -22,6 +22,7 @@ interface IProps {
22
22
  * 2. isMain 且 type 为 a5,展示holder
23
23
  */
24
24
  isMainProduct?: boolean;
25
+ maxSpecsCount?: number;
25
26
  type?: 'a2' | 'a5';
26
27
  }
27
28
  declare const BasicInfo: (props: IProps) => JSX.Element;
@@ -11,7 +11,9 @@ var BasicInfo = function BasicInfo(props) {
11
11
  dataSource = _props$dataSource === void 0 ? {} : _props$dataSource,
12
12
  style = props.style,
13
13
  isMainProduct = props.isMainProduct,
14
- type = props.type;
14
+ type = props.type,
15
+ _props$maxSpecsCount = props.maxSpecsCount,
16
+ maxSpecsCount = _props$maxSpecsCount === void 0 ? 1 : _props$maxSpecsCount;
15
17
  var image = dataSource.image,
16
18
  bundle = dataSource.bundle,
17
19
  options = dataSource.options,
@@ -80,7 +82,8 @@ var BasicInfo = function BasicInfo(props) {
80
82
  }, /*#__PURE__*/React.createElement("div", {
81
83
  className: "product-name"
82
84
  }, name), hasSpecs ? /*#__PURE__*/React.createElement(Specs, {
83
- dataSource: dataSource
85
+ dataSource: dataSource,
86
+ maxSpecsCount: maxSpecsCount
84
87
  }) : /*#__PURE__*/React.createElement("div", {
85
88
  className: "product-price"
86
89
  }, formatAmount(price, 2, symbol))), /*#__PURE__*/React.createElement("div", {
@@ -17,4 +17,4 @@ export declare const minusSign: (item: any, type?: string) => "" | "-";
17
17
  * @Author: WangHan
18
18
  * @Date: 2024-11-22 10:58
19
19
  */
20
- export declare const _formatAmount: (price?: number, amountSymbol?: string, digit?: number) => any;
20
+ export declare const _formatAmount: (price?: number, amountSymbol?: string, digit?: number) => string | number;
@@ -1,3 +1,20 @@
1
1
  import './index.less';
2
- declare const Specs: (props: any) => JSX.Element | null;
2
+ interface SpecsProps {
3
+ /** 数据源 */
4
+ dataSource?: {
5
+ bundle?: Array<{
6
+ title: string;
7
+ }>;
8
+ options?: Array<{
9
+ name: string;
10
+ price: number;
11
+ num: number;
12
+ }>;
13
+ product_option_string?: string;
14
+ symbol?: string;
15
+ };
16
+ /** 最大展示数量,默认为 1 */
17
+ maxSpecsCount?: number;
18
+ }
19
+ declare const Specs: (props: SpecsProps) => JSX.Element | null;
3
20
  export default Specs;
@@ -4,7 +4,9 @@ import "./index.less";
4
4
  import { PREFIX } from "../../index";
5
5
  var Specs = function Specs(props) {
6
6
  var _props$dataSource = props.dataSource,
7
- dataSource = _props$dataSource === void 0 ? {} : _props$dataSource;
7
+ dataSource = _props$dataSource === void 0 ? {} : _props$dataSource,
8
+ _props$maxSpecsCount = props.maxSpecsCount,
9
+ maxSpecsCount = _props$maxSpecsCount === void 0 ? 1 : _props$maxSpecsCount;
8
10
  var bundle = dataSource.bundle,
9
11
  options = dataSource.options,
10
12
  product_option_string = dataSource.product_option_string,
@@ -17,27 +19,34 @@ var Specs = function Specs(props) {
17
19
  }
18
20
  }, locales.getText('pisell2.cart.sku-card.more'));
19
21
  if (Array.isArray(bundle) && (bundle === null || bundle === void 0 ? void 0 : bundle.length) > 0) {
20
- var first = bundle[0];
22
+ var displayItems = bundle.slice(0, maxSpecsCount);
21
23
  return /*#__PURE__*/React.createElement("div", {
22
24
  className: "".concat(PREFIX, "__specs")
23
- }, /*#__PURE__*/React.createElement("div", null, first.title), bundle.length > 1 ? more : null);
25
+ }, displayItems.map(function (item, index) {
26
+ return /*#__PURE__*/React.createElement("div", {
27
+ key: index
28
+ }, item.title);
29
+ }), bundle.length > maxSpecsCount ? more : null);
24
30
  }
25
31
  if (product_option_string) {
26
32
  return /*#__PURE__*/React.createElement("div", {
27
33
  className: "".concat(PREFIX, "__specs")
28
- }, /*#__PURE__*/React.createElement("div", null, product_option_string), options.length > 1 ? more : null);
34
+ }, /*#__PURE__*/React.createElement("div", null, product_option_string), options && options.length > maxSpecsCount ? more : null);
29
35
  }
30
- if (options.length > 0) {
31
- var _first = options[0];
36
+ if (options && options.length > 0) {
37
+ var _displayItems = options.slice(0, maxSpecsCount);
32
38
  return /*#__PURE__*/React.createElement("div", {
33
39
  className: "".concat(PREFIX, "__specs")
34
- }, /*#__PURE__*/React.createElement("div", {
35
- className: "spec-item"
36
- }, /*#__PURE__*/React.createElement("span", {
37
- className: "spec-name"
38
- }, _first.name), /*#__PURE__*/React.createElement("span", {
39
- className: "spec-num"
40
- }, /*#__PURE__*/React.createElement("span", null, symbol, _first.price), /*#__PURE__*/React.createElement("span", null), "x", /*#__PURE__*/React.createElement("span", null, _first.num))), options.length > 1 ? more : null);
40
+ }, _displayItems.map(function (item, index) {
41
+ return /*#__PURE__*/React.createElement("div", {
42
+ className: "spec-item",
43
+ key: index
44
+ }, /*#__PURE__*/React.createElement("span", {
45
+ className: "spec-name"
46
+ }, item.name), /*#__PURE__*/React.createElement("span", {
47
+ className: "spec-num"
48
+ }, /*#__PURE__*/React.createElement("span", null, symbol, item.price), /*#__PURE__*/React.createElement("span", null), "x", /*#__PURE__*/React.createElement("span", null, item.num)));
49
+ }), options.length > maxSpecsCount ? more : null);
41
50
  }
42
51
  return null;
43
52
  };
@@ -1,4 +1,4 @@
1
- var _excluded = ["dataSource", "isShowImage", "isShowHolder", "isShowNote", "isShowDelete", "isShowAmountFooter", "isShowPackageNote", "isShowEditProduct", "onEditProduct", "onAction", "onDelete", "onNote", "onLike", "onCard", "onChangeResource", "onChangeHolder", "type", "rightActions", "escapeDom"];
1
+ var _excluded = ["dataSource", "isShowImage", "isShowHolder", "isShowNote", "isShowDelete", "isShowAmountFooter", "isShowPackageNote", "isShowEditProduct", "onEditProduct", "onAction", "onDelete", "onNote", "onLike", "onCard", "onChangeResource", "onChangeHolder", "type", "rightActions", "escapeDom", "maxSpecsCount"];
2
2
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
3
3
  function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
4
4
  function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
@@ -58,6 +58,8 @@ var CartSkuCard = function CartSkuCard(props) {
58
58
  _props$rightActions = props.rightActions,
59
59
  rightActions = _props$rightActions === void 0 ? [] : _props$rightActions,
60
60
  escapeDom = props.escapeDom,
61
+ _props$maxSpecsCount = props.maxSpecsCount,
62
+ maxSpecsCount = _props$maxSpecsCount === void 0 ? 1 : _props$maxSpecsCount,
61
63
  other = _objectWithoutProperties(props, _excluded);
62
64
  var useOpenNoteRef = useRef();
63
65
  var context = useEngineContext();
@@ -111,7 +113,8 @@ var CartSkuCard = function CartSkuCard(props) {
111
113
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(BasicInfo, {
112
114
  isShowImage: isShowImage,
113
115
  dataSource: dataSource,
114
- isMainProduct: true
116
+ isMainProduct: true,
117
+ maxSpecsCount: maxSpecsCount
115
118
  }), /*#__PURE__*/React.createElement(DiscountReason, {
116
119
  dataSource: dataSource
117
120
  }), isShowNote ? /*#__PURE__*/React.createElement(Note, _extends({}, other, {
@@ -17,4 +17,4 @@ export declare const minusSign: (item: any, type?: string) => "" | "-";
17
17
  * @Author: WangHan
18
18
  * @Date: 2024-11-22 10:58
19
19
  */
20
- export declare const _formatAmount: (price?: number, amountSymbol?: string, digit?: number) => any;
20
+ export declare const _formatAmount: (price?: number, amountSymbol?: string, digit?: number) => string | number;
@@ -299,8 +299,10 @@
299
299
 
300
300
  // 固定在整体底部 - 跟随页面滚动,始终在底部
301
301
  &--fixed-bottom {
302
- position: sticky;
303
- bottom: 0;
302
+ position: relative;
303
+ bottom: auto;
304
+ flex-shrink: 0;
305
+ margin-top: auto;
304
306
  }
305
307
 
306
308
  // 内嵌在 content 区域底部 - 紧贴内容底部
@@ -158,7 +158,6 @@ var SubmitButton = (props) => {
158
158
  }
159
159
  (0, import_utils.setFormFieldsUntouched)(form);
160
160
  } catch (error) {
161
- debugger;
162
161
  (0, import_pisellToast.default)({
163
162
  content: `${error.message}`
164
163
  });
@@ -69,14 +69,12 @@ var useCountries = () => {
69
69
  manual: true
70
70
  });
71
71
  (0, import_react.useEffect)(() => {
72
- debugger;
73
72
  if (!isShop) {
74
73
  run();
75
74
  }
76
75
  }, [isShop]);
77
76
  const currentData = (0, import_react.useMemo)(() => {
78
77
  var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
79
- debugger;
80
78
  if (isShop) {
81
79
  const codeList = (_d = (_c = (_b = (_a = appHelper == null ? void 0 : appHelper.utils) == null ? void 0 : _a.store) == null ? void 0 : _b.getState()) == null ? void 0 : _c.global) == null ? void 0 : _d.codeList;
82
80
  if (codeList) {
@@ -22,6 +22,7 @@ interface IProps {
22
22
  * 2. isMain 且 type 为 a5,展示holder
23
23
  */
24
24
  isMainProduct?: boolean;
25
+ maxSpecsCount?: number;
25
26
  type?: 'a2' | 'a5';
26
27
  }
27
28
  declare const BasicInfo: (props: IProps) => JSX.Element;
@@ -40,7 +40,7 @@ var import_holders = __toESM(require("../holders"));
40
40
  var import__ = require("../../index");
41
41
  var import_index = require("./index.less");
42
42
  var BasicInfo = (props) => {
43
- const { isShowImage, dataSource = {}, style, isMainProduct, type } = props;
43
+ const { isShowImage, dataSource = {}, style, isMainProduct, type, maxSpecsCount = 1 } = props;
44
44
  const {
45
45
  image,
46
46
  bundle,
@@ -78,6 +78,6 @@ var BasicInfo = (props) => {
78
78
  if (type === "a5") {
79
79
  return /* @__PURE__ */ import_react.default.createElement("div", { className: `${import__.PREFIX}__basic-info`, style: style || {} }, renderNumTag(), renderImage(), !isShowImage || !image && !name ? /* @__PURE__ */ import_react.default.createElement("div", { style: { width: 20 } }) : null, /* @__PURE__ */ import_react.default.createElement("div", { className: `product-info` }, /* @__PURE__ */ import_react.default.createElement("div", { className: `product-name` }, name), (!holder_id || !(holder_id == null ? void 0 : holder_id.length)) && !isFormSubject ? /* @__PURE__ */ import_react.default.createElement("div", { className: `product-price` }, (0, import_utils.formatAmount)(price, 2, symbol)) : /* @__PURE__ */ import_react.default.createElement(import_holders.default, { dataSource })));
80
80
  }
81
- return /* @__PURE__ */ import_react.default.createElement("div", { className: `${import__.PREFIX}__basic-info`, style: style || {} }, renderNumTag(), renderImage(), !isShowImage || !image && !name ? /* @__PURE__ */ import_react.default.createElement("div", { style: { width: 20 } }) : null, /* @__PURE__ */ import_react.default.createElement("div", { className: `product-info` }, /* @__PURE__ */ import_react.default.createElement("div", { className: `product-name` }, name), hasSpecs ? /* @__PURE__ */ import_react.default.createElement(import_specs.default, { dataSource }) : /* @__PURE__ */ import_react.default.createElement("div", { className: `product-price` }, (0, import_utils.formatAmount)(price, 2, symbol))), /* @__PURE__ */ import_react.default.createElement("div", { className: `product-amount` }, /* @__PURE__ */ import_react.default.createElement("div", { className: `total-amont` }, (0, import_utils.formatAmount)(total * num, 2, symbol)), origin_total && Number(total) !== Number(origin_total) ? /* @__PURE__ */ import_react.default.createElement("div", { className: `origin-amount` }, (0, import_utils.formatAmount)(origin_total * num, 2, symbol)) : null));
81
+ return /* @__PURE__ */ import_react.default.createElement("div", { className: `${import__.PREFIX}__basic-info`, style: style || {} }, renderNumTag(), renderImage(), !isShowImage || !image && !name ? /* @__PURE__ */ import_react.default.createElement("div", { style: { width: 20 } }) : null, /* @__PURE__ */ import_react.default.createElement("div", { className: `product-info` }, /* @__PURE__ */ import_react.default.createElement("div", { className: `product-name` }, name), hasSpecs ? /* @__PURE__ */ import_react.default.createElement(import_specs.default, { dataSource, maxSpecsCount }) : /* @__PURE__ */ import_react.default.createElement("div", { className: `product-price` }, (0, import_utils.formatAmount)(price, 2, symbol))), /* @__PURE__ */ import_react.default.createElement("div", { className: `product-amount` }, /* @__PURE__ */ import_react.default.createElement("div", { className: `total-amont` }, (0, import_utils.formatAmount)(total * num, 2, symbol)), origin_total && Number(total) !== Number(origin_total) ? /* @__PURE__ */ import_react.default.createElement("div", { className: `origin-amount` }, (0, import_utils.formatAmount)(origin_total * num, 2, symbol)) : null));
82
82
  };
83
83
  var basicInfo_default = BasicInfo;
@@ -17,4 +17,4 @@ export declare const minusSign: (item: any, type?: string) => "" | "-";
17
17
  * @Author: WangHan
18
18
  * @Date: 2024-11-22 10:58
19
19
  */
20
- export declare const _formatAmount: (price?: number, amountSymbol?: string, digit?: number) => any;
20
+ export declare const _formatAmount: (price?: number, amountSymbol?: string, digit?: number) => string | number;
@@ -1,3 +1,20 @@
1
1
  import './index.less';
2
- declare const Specs: (props: any) => JSX.Element | null;
2
+ interface SpecsProps {
3
+ /** 数据源 */
4
+ dataSource?: {
5
+ bundle?: Array<{
6
+ title: string;
7
+ }>;
8
+ options?: Array<{
9
+ name: string;
10
+ price: number;
11
+ num: number;
12
+ }>;
13
+ product_option_string?: string;
14
+ symbol?: string;
15
+ };
16
+ /** 最大展示数量,默认为 1 */
17
+ maxSpecsCount?: number;
18
+ }
19
+ declare const Specs: (props: SpecsProps) => JSX.Element | null;
3
20
  export default Specs;
@@ -37,7 +37,7 @@ var import_utils = require("@pisell/utils");
37
37
  var import_index = require("./index.less");
38
38
  var import__ = require("../../index");
39
39
  var Specs = (props) => {
40
- const { dataSource = {} } = props;
40
+ const { dataSource = {}, maxSpecsCount = 1 } = props;
41
41
  const { bundle, options, product_option_string, symbol } = dataSource;
42
42
  const more = /* @__PURE__ */ import_react.default.createElement(
43
43
  "div",
@@ -51,15 +51,15 @@ var Specs = (props) => {
51
51
  import_utils.locales.getText("pisell2.cart.sku-card.more")
52
52
  );
53
53
  if (Array.isArray(bundle) && (bundle == null ? void 0 : bundle.length) > 0) {
54
- const first = bundle[0];
55
- return /* @__PURE__ */ import_react.default.createElement("div", { className: `${import__.PREFIX}__specs` }, /* @__PURE__ */ import_react.default.createElement("div", null, first.title), bundle.length > 1 ? more : null);
54
+ const displayItems = bundle.slice(0, maxSpecsCount);
55
+ return /* @__PURE__ */ import_react.default.createElement("div", { className: `${import__.PREFIX}__specs` }, displayItems.map((item, index) => /* @__PURE__ */ import_react.default.createElement("div", { key: index }, item.title)), bundle.length > maxSpecsCount ? more : null);
56
56
  }
57
57
  if (product_option_string) {
58
- return /* @__PURE__ */ import_react.default.createElement("div", { className: `${import__.PREFIX}__specs` }, /* @__PURE__ */ import_react.default.createElement("div", null, product_option_string), options.length > 1 ? more : null);
58
+ return /* @__PURE__ */ import_react.default.createElement("div", { className: `${import__.PREFIX}__specs` }, /* @__PURE__ */ import_react.default.createElement("div", null, product_option_string), options && options.length > maxSpecsCount ? more : null);
59
59
  }
60
- if (options.length > 0) {
61
- const first = options[0];
62
- return /* @__PURE__ */ import_react.default.createElement("div", { className: `${import__.PREFIX}__specs` }, /* @__PURE__ */ import_react.default.createElement("div", { className: "spec-item" }, /* @__PURE__ */ import_react.default.createElement("span", { className: "spec-name" }, first.name), /* @__PURE__ */ import_react.default.createElement("span", { className: "spec-num" }, /* @__PURE__ */ import_react.default.createElement("span", null, symbol, first.price), /* @__PURE__ */ import_react.default.createElement("span", null), "x", /* @__PURE__ */ import_react.default.createElement("span", null, first.num))), options.length > 1 ? more : null);
60
+ if (options && options.length > 0) {
61
+ const displayItems = options.slice(0, maxSpecsCount);
62
+ return /* @__PURE__ */ import_react.default.createElement("div", { className: `${import__.PREFIX}__specs` }, displayItems.map((item, index) => /* @__PURE__ */ import_react.default.createElement("div", { className: "spec-item", key: index }, /* @__PURE__ */ import_react.default.createElement("span", { className: "spec-name" }, item.name), /* @__PURE__ */ import_react.default.createElement("span", { className: "spec-num" }, /* @__PURE__ */ import_react.default.createElement("span", null, symbol, item.price), /* @__PURE__ */ import_react.default.createElement("span", null), "x", /* @__PURE__ */ import_react.default.createElement("span", null, item.num)))), options.length > maxSpecsCount ? more : null);
63
63
  }
64
64
  return null;
65
65
  };
@@ -75,6 +75,7 @@ var CartSkuCard = (props) => {
75
75
  type,
76
76
  rightActions = [],
77
77
  escapeDom,
78
+ maxSpecsCount = 1,
78
79
  ...other
79
80
  } = props;
80
81
  const useOpenNoteRef = (0, import_react.useRef)();
@@ -131,7 +132,8 @@ var CartSkuCard = (props) => {
131
132
  {
132
133
  isShowImage,
133
134
  dataSource,
134
- isMainProduct: true
135
+ isMainProduct: true,
136
+ maxSpecsCount
135
137
  }
136
138
  ), /* @__PURE__ */ import_react.default.createElement(import_discountReason.default, { dataSource }), isShowNote ? /* @__PURE__ */ import_react.default.createElement(
137
139
  import_Note.default,
@@ -17,4 +17,4 @@ export declare const minusSign: (item: any, type?: string) => "" | "-";
17
17
  * @Author: WangHan
18
18
  * @Date: 2024-11-22 10:58
19
19
  */
20
- export declare const _formatAmount: (price?: number, amountSymbol?: string, digit?: number) => any;
20
+ export declare const _formatAmount: (price?: number, amountSymbol?: string, digit?: number) => string | number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/materials",
3
- "version": "6.8.6",
3
+ "version": "6.8.8",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -78,9 +78,9 @@
78
78
  "swiper": "^8.4.7",
79
79
  "antd-mobile": "^5.38.1",
80
80
  "vod-js-sdk-v6": "^1.4.11",
81
- "@pisell/icon": "0.0.11",
81
+ "@pisell/date-picker": "3.0.7",
82
82
  "@pisell/utils": "3.0.2",
83
- "@pisell/date-picker": "3.0.7"
83
+ "@pisell/icon": "0.0.11"
84
84
  },
85
85
  "peerDependencies": {
86
86
  "react": "^18.0.0",