@pisell/private-materials 6.6.40 → 6.6.42

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 (90) 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/index.js +1 -1
  5. package/build/lowcode/meta.js +2 -2
  6. package/build/lowcode/preview.js +16 -16
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +7 -7
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +13 -13
  11. package/es/components/booking/addons/model.d.ts +1 -10
  12. package/es/components/booking/forms/model.d.ts +1 -10
  13. package/es/components/booking/info/model.d.ts +1 -10
  14. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  15. package/es/components/booking/info/service2/utils.d.ts +1 -1
  16. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  17. package/es/components/booking/model.d.ts +1 -9
  18. package/es/components/booking/notes/model.d.ts +1 -10
  19. package/es/components/booking/payments/model.d.ts +1 -10
  20. package/es/components/booking/utils.d.ts +2 -2
  21. package/es/components/eftposPay/amount.d.ts +1 -1
  22. package/es/components/eftposPay/device.d.ts +1 -1
  23. package/es/components/eftposPay/hooks.d.ts +2 -2
  24. package/es/components/eftposPay/store/index.d.ts +5 -5
  25. package/es/components/pay/toC/model.d.ts +1 -9
  26. package/es/components/schedules/model.d.ts +1 -9
  27. package/es/components/ticketBooking/utils/index.d.ts +2 -1
  28. package/es/components/ticketBooking/utils/index.js +3 -2
  29. package/es/plus/clientCard/index.js +6 -4
  30. package/es/plus/clientCard/index.less +6 -2
  31. package/es/plus/clientCard/types.d.ts +1 -0
  32. package/es/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +1 -1
  33. package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +1 -1
  34. package/es/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +1 -1
  35. package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +1 -1
  36. package/es/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
  37. package/es/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +1 -1
  38. package/es/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +1 -1
  39. package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +1 -1
  40. package/es/plus/walletPassGallery/components/passDetail/index.d.ts +1 -0
  41. package/es/plus/walletPassGallery/components/passDetail/index.js +85 -43
  42. package/es/plus/walletPassGallery/components/passList/index.js +12 -4
  43. package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +3 -0
  44. package/es/plus/walletPassGallery/components/timelineSection/index.js +26 -3
  45. package/es/plus/walletPassGallery/index.d.ts +4 -0
  46. package/es/plus/walletPassGallery/index.js +95 -46
  47. package/es/plus/walletPassGallery/serve.d.ts +11 -1
  48. package/es/plus/walletPassGallery/serve.js +85 -59
  49. package/lib/components/booking/addons/model.d.ts +1 -10
  50. package/lib/components/booking/forms/model.d.ts +1 -10
  51. package/lib/components/booking/info/model.d.ts +1 -10
  52. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  53. package/lib/components/booking/info/service2/utils.d.ts +1 -1
  54. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  55. package/lib/components/booking/model.d.ts +1 -9
  56. package/lib/components/booking/notes/model.d.ts +1 -10
  57. package/lib/components/booking/payments/model.d.ts +1 -10
  58. package/lib/components/booking/utils.d.ts +2 -2
  59. package/lib/components/eftposPay/amount.d.ts +1 -1
  60. package/lib/components/eftposPay/device.d.ts +1 -1
  61. package/lib/components/eftposPay/hooks.d.ts +2 -2
  62. package/lib/components/eftposPay/store/index.d.ts +5 -5
  63. package/lib/components/pay/toC/model.d.ts +1 -9
  64. package/lib/components/schedules/model.d.ts +1 -9
  65. package/lib/components/ticketBooking/utils/index.d.ts +2 -1
  66. package/lib/components/ticketBooking/utils/index.js +3 -2
  67. package/lib/plus/clientCard/index.js +5 -4
  68. package/lib/plus/clientCard/index.less +6 -2
  69. package/lib/plus/clientCard/types.d.ts +1 -0
  70. package/lib/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +1 -1
  71. package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +1 -1
  72. package/lib/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +1 -1
  73. package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +1 -1
  74. package/lib/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
  75. package/lib/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +1 -1
  76. package/lib/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +1 -1
  77. package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +1 -1
  78. package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +1 -0
  79. package/lib/plus/walletPassGallery/components/passDetail/index.js +65 -10
  80. package/lib/plus/walletPassGallery/components/passList/index.js +12 -5
  81. package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +3 -0
  82. package/lib/plus/walletPassGallery/components/timelineSection/index.js +32 -10
  83. package/lib/plus/walletPassGallery/index.d.ts +4 -0
  84. package/lib/plus/walletPassGallery/index.js +116 -45
  85. package/lib/plus/walletPassGallery/serve.d.ts +11 -1
  86. package/lib/plus/walletPassGallery/serve.js +25 -12
  87. package/lowcode/client-card/meta.ts +9 -3
  88. package/lowcode/client-search/meta.ts +316 -0
  89. package/lowcode/wallet-pass-gallery/meta.ts +66 -1
  90. package/package.json +3 -3
@@ -1,10 +1 @@
1
- /// <reference types="react" />
2
- import { FormState } from "../model";
3
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
- state: FormState;
5
- } & {
6
- dispatch: (params: {
7
- type: string;
8
- payload: any;
9
- }) => void;
10
- }>;
1
+ export declare const Provider: any, Context: any;
@@ -1,10 +1 @@
1
- /// <reference types="react" />
2
- import { FormState } from "../model";
3
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
- state: FormState;
5
- } & {
6
- dispatch: (params: {
7
- type: string;
8
- payload: any;
9
- }) => void;
10
- }>;
1
+ export declare const Provider: any, Context: any;
@@ -1,14 +1,5 @@
1
- /// <reference types="react" />
2
- import { FormState } from '../model';
3
1
  export declare const walkInData: {
4
2
  id: number;
5
3
  nickname: string;
6
4
  };
7
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
8
- state: FormState;
9
- } & {
10
- dispatch: (params: {
11
- type: string;
12
- payload: any;
13
- }) => void;
14
- }>;
5
+ export declare const Provider: any, Context: any;
@@ -6,7 +6,7 @@ export declare const getDurationProps: ({ cacheItem, useStartTime, currentResour
6
6
  type: string;
7
7
  value: number;
8
8
  };
9
- locale: string;
9
+ locale: any;
10
10
  slice: any;
11
11
  selectProps: {
12
12
  size: string;
@@ -216,4 +216,4 @@ export declare const updateAppointmentServicePrice: (state: any, { start_date, e
216
216
  * @Author: WangHan
217
217
  * @Date: 2024-12-24 11:32
218
218
  */
219
- export declare const updateServicePrice: (state: any) => never[] | Promise<any>;
219
+ export declare const updateServicePrice: (state: any) => Promise<any> | never[];
@@ -7,7 +7,7 @@ export declare const getDurationProps: ({ cacheItem, useStartTime, currentResour
7
7
  type: string;
8
8
  value: number;
9
9
  };
10
- locale: string;
10
+ locale: any;
11
11
  slice: any;
12
12
  selectProps: {
13
13
  size: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface FormState {
3
2
  amountSymbol: string;
4
3
  apis: {
@@ -110,11 +109,4 @@ export declare const walkInData: {
110
109
  id: number;
111
110
  nickname: string;
112
111
  };
113
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
114
- state: FormState;
115
- } & {
116
- dispatch: (params: {
117
- type: string;
118
- payload: any;
119
- }) => void;
120
- }>;
112
+ export declare const Provider: any, Context: any;
@@ -1,10 +1 @@
1
- /// <reference types="react" />
2
- import { FormState } from "../model";
3
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
- state: FormState;
5
- } & {
6
- dispatch: (params: {
7
- type: string;
8
- payload: any;
9
- }) => void;
10
- }>;
1
+ export declare const Provider: any, Context: any;
@@ -1,10 +1 @@
1
- /// <reference types="react" />
2
- import { FormState } from "../model";
3
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
- state: FormState;
5
- } & {
6
- dispatch: (params: {
7
- type: string;
8
- payload: any;
9
- }) => void;
10
- }>;
1
+ export declare const Provider: any, Context: any;
@@ -175,10 +175,10 @@ export declare const getProductOriginTotalPrice: (item: any) => number;
175
175
  export declare const getDuration: (duration: number | {
176
176
  type: string;
177
177
  value: number;
178
- }) => number | "flexible" | {
178
+ }) => number | {
179
179
  type: string;
180
180
  value: number;
181
- };
181
+ } | "flexible";
182
182
  export declare const isWalkIn: (customer_id?: number | string) => boolean;
183
183
  export declare const getIsEdit: (state: any) => boolean;
184
184
  export {};
@@ -9,7 +9,7 @@ import { PosProps } from './const';
9
9
  */
10
10
  declare const _default: ({ className, onChange, onClose, formatAmount, isMobile, net, client }: {
11
11
  className?: string | undefined;
12
- onChange?: ((status: "page" | "success" | "print" | "fail" | "mark_tx_processed", params?: string | {
12
+ onChange?: ((status: "success" | "print" | "page" | "fail" | "mark_tx_processed", params?: string | {
13
13
  [keys: string]: unknown;
14
14
  } | undefined, other?: any) => void) | undefined;
15
15
  onClose: () => void;
@@ -11,7 +11,7 @@ import './device.less';
11
11
  declare const _default: ({ api, onChange, onClose, className, device_number, isMobile, net, client, formatAmount, containerStyle, }: {
12
12
  api: PayProps['api'];
13
13
  className?: string | undefined;
14
- onChange?: ((status: "page" | "success" | "print" | "fail" | "mark_tx_processed", params?: string | {
14
+ onChange?: ((status: "success" | "print" | "page" | "fail" | "mark_tx_processed", params?: string | {
15
15
  [keys: string]: unknown;
16
16
  } | undefined, other?: any) => void) | undefined;
17
17
  onClose: () => void;
@@ -15,11 +15,11 @@ export declare const useStoreRef: <T extends {
15
15
  readonly numRef: React.MutableRefObject<string | number | undefined>;
16
16
  readonly orderIdRef: React.MutableRefObject<string | number>;
17
17
  readonly modeRef: React.MutableRefObject<ModeEnum>;
18
- readonly statusRef: React.MutableRefObject<"loading" | "success" | "warn" | "init" | "fail" | "pedding" | "resove" | "reject" | "question">;
18
+ readonly statusRef: React.MutableRefObject<"success" | "warn" | "loading" | "init" | "fail" | "pedding" | "resove" | "reject" | "question">;
19
19
  readonly netRef: React.MutableRefObject<boolean | undefined>;
20
20
  readonly symbolRef: React.MutableRefObject<string>;
21
21
  readonly amountRef: React.MutableRefObject<string | number>;
22
- readonly eftposRef: React.MutableRefObject<"stripe" | "payo" | "tyro" | "windcave" | "linkly" | "huifu">;
22
+ readonly eftposRef: React.MutableRefObject<"payo" | "tyro" | "windcave" | "stripe" | "linkly" | "huifu">;
23
23
  readonly clientRef: React.MutableRefObject<ClientEnum>;
24
24
  readonly dataRef: React.MutableRefObject<import("./store").State>;
25
25
  };
@@ -178,7 +178,7 @@ export declare const updateCustom: (payload: {
178
178
  export declare const updateStatus: (status: 'loading' | 'warn' | 'fail' | 'success' | 'question') => {
179
179
  type: EActionTypes;
180
180
  payload: {
181
- status: "loading" | "success" | "warn" | "fail" | "question";
181
+ status: "success" | "warn" | "loading" | "fail" | "question";
182
182
  };
183
183
  };
184
184
  /**
@@ -299,10 +299,10 @@ export declare const backUpFree: (payload: Partial<State>) => {
299
299
  name?: string | undefined;
300
300
  symbol?: string | undefined;
301
301
  amount?: string | number | undefined;
302
- mode?: "pay" | "refund" | "fullPay" | "query" | undefined;
302
+ mode?: "refund" | "pay" | "fullPay" | "query" | undefined;
303
303
  order_id?: string | number | undefined;
304
- eftpos?: "stripe" | "payo" | "tyro" | "windcave" | "linkly" | "huifu" | undefined;
305
- action?: "pay" | "amount" | "deviceList" | undefined;
304
+ eftpos?: "payo" | "tyro" | "windcave" | "stripe" | "linkly" | "huifu" | undefined;
305
+ action?: "amount" | "pay" | "deviceList" | undefined;
306
306
  key?: number | undefined;
307
307
  step?: number | undefined;
308
308
  title?: string | undefined;
@@ -312,7 +312,7 @@ export declare const backUpFree: (payload: Partial<State>) => {
312
312
  net?: boolean | undefined;
313
313
  component?: string | undefined;
314
314
  form?: string | undefined;
315
- status?: "loading" | "success" | "warn" | "init" | "fail" | "pedding" | "resove" | "reject" | "question" | undefined;
315
+ status?: "success" | "warn" | "loading" | "init" | "fail" | "pedding" | "resove" | "reject" | "question" | undefined;
316
316
  warn?: string | undefined;
317
317
  steps?: {
318
318
  /** 用于重置当前步骤 */
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface FormState {
3
2
  platform: 'pc' | 'h5' | '' | undefined;
4
3
  order: any;
@@ -30,11 +29,4 @@ export interface PayGroup {
30
29
  _order: any;
31
30
  front_order_uuid?: string;
32
31
  }
33
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
34
- state: FormState;
35
- } & {
36
- dispatch: (params: {
37
- type: string;
38
- payload: any;
39
- }) => void;
40
- }>;
32
+ export declare const Provider: any, Context: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CalendarDataItem, ScheduleItem } from "./type";
3
2
  import dayjs from "dayjs";
4
3
  export interface FormState {
@@ -69,11 +68,4 @@ export interface FormState {
69
68
  };
70
69
  setGlobalState: Function | null;
71
70
  }
72
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
73
- state: FormState;
74
- } & {
75
- dispatch: (params: {
76
- type: string;
77
- payload: any;
78
- }) => void;
79
- }>;
71
+ export declare const Provider: any, Context: any;
@@ -47,7 +47,7 @@ declare type ScanData = {
47
47
  };
48
48
  };
49
49
  export declare const formatScanCustomer: (data: ScanData) => {
50
- searchType: "product" | "customer" | "wallet" | "walletPass" | "local_product";
50
+ searchType: "customer" | "product" | "wallet" | "walletPass" | "local_product";
51
51
  data: any;
52
52
  scanCode: string;
53
53
  } | null;
@@ -84,6 +84,7 @@ export declare const rulesHooks: {
84
84
  startDate: any;
85
85
  bundle: any;
86
86
  options: any;
87
+ main_product_selling_price: any;
87
88
  };
88
89
  setProduct(product: Record<string, any>, values: {
89
90
  total: number;
@@ -387,7 +387,7 @@ export var getShopDiscountKey = function getShopDiscountKey(osKey) {
387
387
  export var rulesHooks = {
388
388
  // 获取商品关键信息
389
389
  getProduct: function getProduct(product) {
390
- var _product$_extend, _product$_extend2, _product$_extend3, _product$_extend4, _product$_extend5;
390
+ var _product$_extend, _product$_extend2, _product$_extend3, _product$_extend4, _product$_extend5, _product$_extend6;
391
391
  var detail = {
392
392
  booking_id: product.booking_id,
393
393
  id: product.id,
@@ -403,7 +403,8 @@ export var rulesHooks = {
403
403
  isNormalProduct: (_product$_extend2 = product._extend) === null || _product$_extend2 === void 0 ? void 0 : _product$_extend2.isNormalProduct,
404
404
  startDate: (_product$_extend3 = product._extend) === null || _product$_extend3 === void 0 ? void 0 : _product$_extend3.startDate,
405
405
  bundle: ((_product$_extend4 = product._extend) === null || _product$_extend4 === void 0 || (_product$_extend4 = _product$_extend4.other) === null || _product$_extend4 === void 0 ? void 0 : _product$_extend4.bundle) || [],
406
- options: ((_product$_extend5 = product._extend) === null || _product$_extend5 === void 0 || (_product$_extend5 = _product$_extend5.other) === null || _product$_extend5 === void 0 ? void 0 : _product$_extend5.option) || []
406
+ options: ((_product$_extend5 = product._extend) === null || _product$_extend5 === void 0 || (_product$_extend5 = _product$_extend5.other) === null || _product$_extend5 === void 0 ? void 0 : _product$_extend5.option) || [],
407
+ main_product_selling_price: (_product$_extend6 = product._extend) === null || _product$_extend6 === void 0 ? void 0 : _product$_extend6.main_product_selling_price
407
408
  };
408
409
  return detail;
409
410
  },
@@ -64,7 +64,7 @@ var renderAvatar = function renderAvatar(processedData) {
64
64
  }, /*#__PURE__*/React.createElement(PisellAvatar, _extends({
65
65
  className: "".concat(PREFIX, "__avatar")
66
66
  }, avatarConfig, {
67
- icon: /*#__PURE__*/React.createElement(Iconfont, {
67
+ icon: /*#__PURE__*/React.createElement(Icon, {
68
68
  type: icon
69
69
  })
70
70
  })), statusIndicator);
@@ -186,7 +186,7 @@ var renderExtraFields = function renderExtraFields() {
186
186
  return /*#__PURE__*/React.createElement("div", {
187
187
  key: index,
188
188
  className: "".concat(PREFIX, "__extra-field")
189
- }, field.icon && /*#__PURE__*/React.createElement(Iconfont, {
189
+ }, field.icon && /*#__PURE__*/React.createElement(Icon, {
190
190
  type: field.icon,
191
191
  className: "".concat(PREFIX, "__extra-field-icon"),
192
192
  style: {
@@ -229,6 +229,8 @@ var ClientCard = function ClientCard(_ref) {
229
229
  isShowTag = _ref$isShowTag === void 0 ? true : _ref$isShowTag,
230
230
  _ref$isShowStatus = _ref.isShowStatus,
231
231
  isShowStatus = _ref$isShowStatus === void 0 ? false : _ref$isShowStatus,
232
+ _ref$isShowEmptyDescr = _ref.isShowEmptyDescription,
233
+ isShowEmptyDescription = _ref$isShowEmptyDescr === void 0 ? true : _ref$isShowEmptyDescr,
232
234
  _ref$avatar = _ref.avatar,
233
235
  avatar = _ref$avatar === void 0 ? {} : _ref$avatar,
234
236
  _ref$status = _ref.status,
@@ -304,7 +306,7 @@ var ClientCard = function ClientCard(_ref) {
304
306
  }, /*#__PURE__*/React.createElement("div", {
305
307
  className: "".concat(PREFIX, "__info")
306
308
  }, isShowAvatar && /*#__PURE__*/React.createElement(PisellAvatar, {
307
- icon: avatar.icon ? /*#__PURE__*/React.createElement(Iconfont, {
309
+ icon: avatar.icon ? /*#__PURE__*/React.createElement(Icon, {
308
310
  type: avatar.icon
309
311
  }) : /*#__PURE__*/React.createElement(User01, {
310
312
  style: {
@@ -320,7 +322,7 @@ var ClientCard = function ClientCard(_ref) {
320
322
  }, isShowName && /*#__PURE__*/React.createElement(ClientName, {
321
323
  dataSource: defaultName || locales.getText('pisell2.text.add-client'),
322
324
  style: nameStyle
323
- }), /*#__PURE__*/React.createElement("div", {
325
+ }), isShowEmptyDescription && /*#__PURE__*/React.createElement("div", {
324
326
  className: "".concat(PREFIX, "__empty-description")
325
327
  }, locales.getText('pisell2.text.leave-empty-for-walk-in')))), /*#__PURE__*/React.createElement("div", {
326
328
  className: "".concat(PREFIX, "__actions")
@@ -49,12 +49,16 @@
49
49
  overflow: hidden;
50
50
 
51
51
  .pisell-client-card__name {
52
- flex-grow: 1;
52
+ flex: 0 1 auto;
53
53
  min-width: 0;
54
+ overflow: hidden;
55
+ text-overflow: ellipsis;
56
+ white-space: nowrap;
54
57
  }
55
58
 
56
59
  .pisell-client-card__tags {
57
- flex: 1 0 42px;
60
+ flex: 0 100 auto;
61
+ min-width: 42px;
58
62
  overflow: hidden;
59
63
 
60
64
  &--nowrap {
@@ -91,6 +91,7 @@ export interface DisplayConfig {
91
91
  isShowAddress?: boolean;
92
92
  isShowTag?: boolean;
93
93
  isShowStatus?: boolean;
94
+ isShowEmptyDescription?: boolean;
94
95
  }
95
96
  export interface ClientCardProps extends DisplayConfig {
96
97
  type?: CardType;
@@ -2,5 +2,5 @@ import React from 'react';
2
2
  import { ProductCardConfig } from '../../type';
3
3
  declare const Capacity: ({ props }: {
4
4
  props: ProductCardConfig;
5
- }) => string | number | true | React.JSX.Element | Iterable<React.ReactNode> | null;
5
+ }) => string | number | true | Iterable<React.ReactNode> | React.JSX.Element | null;
6
6
  export default Capacity;
@@ -3,5 +3,5 @@ import { SkuStatusOverlayConfig } from '../../type';
3
3
  import './index.less';
4
4
  declare const CardMask: ({ props }: {
5
5
  props: SkuStatusOverlayConfig;
6
- }) => string | number | true | React.JSX.Element | Iterable<React.ReactNode> | null;
6
+ }) => string | number | true | Iterable<React.ReactNode> | React.JSX.Element | null;
7
7
  export default CardMask;
@@ -3,5 +3,5 @@ import { ProductCardConfig } from '../../type';
3
3
  import './index.less';
4
4
  declare const Countdown: ({ props }: {
5
5
  props: ProductCardConfig;
6
- }) => string | number | true | React.JSX.Element | Iterable<React.ReactNode> | null;
6
+ }) => string | number | true | Iterable<React.ReactNode> | React.JSX.Element | null;
7
7
  export default Countdown;
@@ -2,5 +2,5 @@ import React from 'react';
2
2
  import { ProductCardConfig } from '../../type';
3
3
  declare const Duration: ({ props }: {
4
4
  props: ProductCardConfig;
5
- }) => string | number | true | React.JSX.Element | Iterable<React.ReactNode> | null;
5
+ }) => string | number | true | Iterable<React.ReactNode> | React.JSX.Element | null;
6
6
  export default Duration;
@@ -3,5 +3,5 @@ import { ProductCardConfig } from '../../type';
3
3
  import './index.less';
4
4
  declare const MemberPrice: ({ props }: {
5
5
  props: ProductCardConfig;
6
- }) => string | number | true | React.JSX.Element | Iterable<React.ReactNode> | null;
6
+ }) => string | number | true | Iterable<React.ReactNode> | React.JSX.Element | null;
7
7
  export default MemberPrice;
@@ -2,5 +2,5 @@ import React from 'react';
2
2
  import { ProductCardConfig } from '../../type';
3
3
  declare const Resource: ({ props }: {
4
4
  props: ProductCardConfig;
5
- }) => string | number | true | React.JSX.Element | Iterable<React.ReactNode> | null;
5
+ }) => string | number | true | Iterable<React.ReactNode> | React.JSX.Element | null;
6
6
  export default Resource;
@@ -2,5 +2,5 @@ import React from 'react';
2
2
  import { ProductCardConfig } from '../../type';
3
3
  declare const Stock: ({ props }: {
4
4
  props: ProductCardConfig;
5
- }) => string | number | true | React.JSX.Element | Iterable<React.ReactNode> | null;
5
+ }) => string | number | true | Iterable<React.ReactNode> | React.JSX.Element | null;
6
6
  export default Stock;
@@ -2,5 +2,5 @@ import React from 'react';
2
2
  import { ProductCardConfig } from '../../type';
3
3
  declare const Time: ({ props }: {
4
4
  props: ProductCardConfig;
5
- }) => string | number | true | React.JSX.Element | Iterable<React.ReactNode> | null;
5
+ }) => string | number | true | Iterable<React.ReactNode> | React.JSX.Element | null;
6
6
  export default Time;
@@ -5,6 +5,7 @@ interface PassDetailProps {
5
5
  platform?: 'pc' | 'h5';
6
6
  buttonGroupList?: any[][];
7
7
  showTimeLine?: boolean;
8
+ onListRefresh?: () => void;
8
9
  }
9
10
  declare const PassDetail: (props: PassDetailProps) => React.JSX.Element | null;
10
11
  export default PassDetail;