@pisell/private-materials 6.4.47 → 6.4.49

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 (135) 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 +1 -1
  6. package/build/lowcode/preview.js +146 -146
  7. package/build/lowcode/render/default/view.js +1 -1
  8. package/build/lowcode/view.js +3 -3
  9. package/es/businessModel/SalesModel/index.d.ts +0 -1
  10. package/es/components/Sales/Summary/utils.d.ts +1 -1
  11. package/es/components/appointmentBooking/components/Header/index.d.ts +0 -1
  12. package/es/components/booking/addons/model.d.ts +10 -1
  13. package/es/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
  14. package/es/components/booking/forms/model.d.ts +10 -1
  15. package/es/components/booking/info/model.d.ts +10 -1
  16. package/es/components/booking/info/notes/index.d.ts +0 -1
  17. package/es/components/booking/info/service/Lists.d.ts +0 -1
  18. package/es/components/booking/info/service/addService/index.d.ts +1 -0
  19. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  20. package/es/components/booking/info/service/addTimeModal/index.d.ts +1 -0
  21. package/es/components/booking/info/service2/Lists.d.ts +0 -1
  22. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  23. package/es/components/booking/model.d.ts +9 -1
  24. package/es/components/booking/notes/NoteBlock/index.d.ts +0 -1
  25. package/es/components/booking/notes/addNote/index.d.ts +0 -1
  26. package/es/components/booking/notes/model.d.ts +10 -1
  27. package/es/components/booking/payments/model.d.ts +10 -1
  28. package/es/components/checkout/PaymentPlugin.d.ts +0 -1
  29. package/es/components/checkout/hooks/useWalletPass.d.ts +1 -1
  30. package/es/components/eftposPay/EFTPos.js +2 -9
  31. package/es/components/eftposPay/amount.d.ts +0 -1
  32. package/es/components/eftposPay/app.d.ts +0 -1
  33. package/es/components/eftposPay/component/fail/unknow.d.ts +1 -0
  34. package/es/components/eftposPay/hooks.d.ts +1 -1
  35. package/es/components/eftposPay/linkly/index.d.ts +0 -1
  36. package/es/components/eftposPay/serve.d.ts +1 -1
  37. package/es/components/eftposPay/serve.js +5 -5
  38. package/es/components/eftposPay/store/index.d.ts +1 -1
  39. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
  40. package/es/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  41. package/es/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  42. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  43. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  44. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  45. package/es/components/eventBooking/index.d.ts +0 -1
  46. package/es/components/pay/toB/components/CardGroup/index.d.ts +0 -1
  47. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
  48. package/es/components/pay/toC/model.d.ts +9 -1
  49. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
  50. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
  51. package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
  52. package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
  53. package/es/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
  54. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
  55. package/es/components/productExtension/index.d.ts +0 -1
  56. package/es/components/productSelect/components/productGroup/index.d.ts +0 -1
  57. package/es/components/schedules/model.d.ts +9 -1
  58. package/es/components/shoppingCart/components/Empty/index.d.ts +0 -1
  59. package/es/components/shoppingCart/components/Render/index.d.ts +0 -1
  60. package/es/components/shoppingCart/index.d.ts +0 -1
  61. package/es/components/ticketBooking/index.d.ts +0 -1
  62. package/es/components/wallet/Detail/model.d.ts +13 -1
  63. package/es/components/wallet/DiscountCard/model.d.ts +14 -1
  64. package/es/components/wallet/PointCard/model.d.ts +13 -1
  65. package/es/components/wallet/RechargeableCard/model.d.ts +29 -1
  66. package/es/components/wallet/Voucher/model.d.ts +13 -1
  67. package/es/components/wallet/hooks/useWalletCard.d.ts +0 -1
  68. package/es/components/wallet/model.d.ts +9 -1
  69. package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +0 -1
  70. package/es/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.js +8 -5
  71. package/es/pro/priceKeyboard/components/cashKeyboard/index.d.ts +0 -1
  72. package/lib/businessModel/SalesModel/index.d.ts +0 -1
  73. package/lib/components/Sales/Summary/utils.d.ts +1 -1
  74. package/lib/components/appointmentBooking/components/Header/index.d.ts +0 -1
  75. package/lib/components/booking/addons/model.d.ts +10 -1
  76. package/lib/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
  77. package/lib/components/booking/forms/model.d.ts +10 -1
  78. package/lib/components/booking/info/model.d.ts +10 -1
  79. package/lib/components/booking/info/notes/index.d.ts +0 -1
  80. package/lib/components/booking/info/service/Lists.d.ts +0 -1
  81. package/lib/components/booking/info/service/addService/index.d.ts +1 -0
  82. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  83. package/lib/components/booking/info/service/addTimeModal/index.d.ts +1 -0
  84. package/lib/components/booking/info/service2/Lists.d.ts +0 -1
  85. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  86. package/lib/components/booking/model.d.ts +9 -1
  87. package/lib/components/booking/notes/NoteBlock/index.d.ts +0 -1
  88. package/lib/components/booking/notes/addNote/index.d.ts +0 -1
  89. package/lib/components/booking/notes/model.d.ts +10 -1
  90. package/lib/components/booking/payments/model.d.ts +10 -1
  91. package/lib/components/checkout/PaymentPlugin.d.ts +0 -1
  92. package/lib/components/checkout/hooks/useWalletPass.d.ts +1 -1
  93. package/lib/components/eftposPay/EFTPos.js +2 -3
  94. package/lib/components/eftposPay/amount.d.ts +0 -1
  95. package/lib/components/eftposPay/app.d.ts +0 -1
  96. package/lib/components/eftposPay/component/fail/unknow.d.ts +1 -0
  97. package/lib/components/eftposPay/hooks.d.ts +1 -1
  98. package/lib/components/eftposPay/linkly/index.d.ts +0 -1
  99. package/lib/components/eftposPay/serve.d.ts +1 -1
  100. package/lib/components/eftposPay/serve.js +1 -1
  101. package/lib/components/eftposPay/store/index.d.ts +1 -1
  102. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
  103. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  104. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  105. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  106. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  107. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  108. package/lib/components/eventBooking/index.d.ts +0 -1
  109. package/lib/components/pay/toB/components/CardGroup/index.d.ts +0 -1
  110. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
  111. package/lib/components/pay/toC/model.d.ts +9 -1
  112. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
  113. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
  114. package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
  115. package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
  116. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
  117. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
  118. package/lib/components/productExtension/index.d.ts +0 -1
  119. package/lib/components/productSelect/components/productGroup/index.d.ts +0 -1
  120. package/lib/components/schedules/model.d.ts +9 -1
  121. package/lib/components/shoppingCart/components/Empty/index.d.ts +0 -1
  122. package/lib/components/shoppingCart/components/Render/index.d.ts +0 -1
  123. package/lib/components/shoppingCart/index.d.ts +0 -1
  124. package/lib/components/ticketBooking/index.d.ts +0 -1
  125. package/lib/components/wallet/Detail/model.d.ts +13 -1
  126. package/lib/components/wallet/DiscountCard/model.d.ts +14 -1
  127. package/lib/components/wallet/PointCard/model.d.ts +13 -1
  128. package/lib/components/wallet/RechargeableCard/model.d.ts +29 -1
  129. package/lib/components/wallet/Voucher/model.d.ts +13 -1
  130. package/lib/components/wallet/hooks/useWalletCard.d.ts +0 -1
  131. package/lib/components/wallet/model.d.ts +9 -1
  132. package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +0 -1
  133. package/lib/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.js +8 -5
  134. package/lib/pro/priceKeyboard/components/cashKeyboard/index.d.ts +0 -1
  135. package/package.json +12 -12
@@ -236,9 +236,10 @@ var CashKeyboardIntact = function CashKeyboardIntact(props) {
236
236
  minFontSizePx: 10,
237
237
  maxFontSizePx: 14,
238
238
  fontSizePrecisionPx: 0.5
239
- }, formatAmountWithOptions(originalValue || '', '', {
239
+ }, formatAmountWithOptions(originalValue || '', amountSymbol, {
240
240
  precision: 2,
241
- hideDecimalForWholeNumbers: false
241
+ hideDecimalForWholeNumbers: false,
242
+ showCurrencySymbol: true
242
243
  })))), ((_mergedDisplayField$c = mergedDisplayField.cashReceived) === null || _mergedDisplayField$c === void 0 ? void 0 : _mergedDisplayField$c.visible) && /*#__PURE__*/React.createElement("div", {
243
244
  style: _objectSpread(_objectSpread({}, getGridStyle(1)), {}, {
244
245
  padding: '6px 16px',
@@ -268,10 +269,11 @@ var CashKeyboardIntact = function CashKeyboardIntact(props) {
268
269
  minFontSizePx: 10,
269
270
  maxFontSizePx: 14,
270
271
  fontSizePrecisionPx: 0.5
271
- }, formatAmountWithOptions(internalValue || '', '', {
272
+ }, formatAmountWithOptions(internalValue || '', amountSymbol, {
272
273
  value: internalValue,
273
274
  hideDecimalForWholeNumbers: false,
274
- precision: 2
275
+ precision: 2,
276
+ showCurrencySymbol: true
275
277
  })) : '',
276
278
  height: 30,
277
279
  fontSize: 20,
@@ -296,8 +298,9 @@ var CashKeyboardIntact = function CashKeyboardIntact(props) {
296
298
  minFontSizePx: 10,
297
299
  maxFontSizePx: 14,
298
300
  fontSizePrecisionPx: 0.5
299
- }, formatAmountWithOptions(hiddenChangeDue ? 0 : changeDue, '', {
301
+ }, formatAmountWithOptions(hiddenChangeDue ? 0 : changeDue, amountSymbol, {
300
302
  value: hiddenChangeDue ? 0 : changeDue,
303
+ showCurrencySymbol: true,
301
304
  hideDecimalForWholeNumbers: false,
302
305
  precision: 2
303
306
  }))))), /*#__PURE__*/React.createElement(Shortcuts, {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CashKeyboardBaseProps } from './types';
3
2
  export interface CashKeyboardProps extends CashKeyboardBaseProps {
4
3
  containerProps?: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const SalesModel: ({ children, hooks, config }: any) => JSX.Element;
3
2
  export * from './Sales';
4
3
  export default SalesModel;
@@ -30,7 +30,7 @@ export declare const calculateSubtotal: (items: CartItem[]) => string;
30
30
  * @return {*}
31
31
  * @Author: xiangfeng.xue
32
32
  */
33
- export declare const calculateTaxFee: (shopInfo: any, items: CartItem[]) => "0.00" | Decimal;
33
+ export declare const calculateTaxFee: (shopInfo: any, items: CartItem[]) => Decimal | "0.00";
34
34
  /**
35
35
  * 计算所有价格明细
36
36
  * @param items - 购物车商品数组
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Header: () => JSX.Element;
4
3
  export default Header;
@@ -1 +1,10 @@
1
- export declare const Provider: any, Context: any;
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,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ProductItem: ({ item, onClick, amountSymbol, style, className, }: any) => JSX.Element;
4
3
  export default ProductItem;
@@ -1 +1,10 @@
1
- export declare const Provider: any, Context: any;
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,5 +1,14 @@
1
+ /// <reference types="react" />
2
+ import { FormState } from '../model';
1
3
  export declare const walkInData: {
2
4
  id: number;
3
5
  nickname: string;
4
6
  };
5
- export declare const Provider: any, Context: any;
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
+ }>;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Notes: () => JSX.Element | null;
3
2
  export default Notes;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Lists: ({ onEdit, onChange, onAction, isParallelResource }: any) => JSX.Element;
3
2
  export default Lists;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PisellDrawerProps } from '../../../components/drawer';
2
3
  import './index.less';
3
4
  interface AddServiceProps {
@@ -6,7 +6,7 @@ export declare const getDurationProps: ({ cacheItem, useStartTime, currentResour
6
6
  type: string;
7
7
  value: number;
8
8
  };
9
- locale: any;
9
+ locale: string;
10
10
  slice: any;
11
11
  selectProps: {
12
12
  size: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const AddTimeModal: () => JSX.Element;
3
4
  export default AddTimeModal;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Lists: ({ onEdit, onChange }: any) => JSX.Element;
3
2
  export default Lists;
@@ -7,7 +7,7 @@ export declare const getDurationProps: ({ cacheItem, useStartTime, currentResour
7
7
  type: string;
8
8
  value: number;
9
9
  };
10
- locale: any;
10
+ locale: string;
11
11
  slice: any;
12
12
  selectProps: {
13
13
  size: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export interface FormState {
2
3
  amountSymbol: string;
3
4
  apis: {
@@ -105,4 +106,11 @@ export declare const walkInData: {
105
106
  id: number;
106
107
  nickname: string;
107
108
  };
108
- export declare const Provider: any, Context: any;
109
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
110
+ state: FormState;
111
+ } & {
112
+ dispatch: (params: {
113
+ type: string;
114
+ payload: any;
115
+ }) => void;
116
+ }>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  export interface InfoProps {
4
3
  title?: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const AddNote: ({ value, onChange, title, placeholder }: any) => JSX.Element;
4
3
  export default AddNote;
@@ -1 +1,10 @@
1
- export declare const Provider: any, Context: any;
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 +1,10 @@
1
- export declare const Provider: any, Context: any;
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,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const PaymentPlugin: () => JSX.Element;
3
2
  export default PaymentPlugin;
@@ -17,7 +17,7 @@ export declare const useWalletPass: (props: {
17
17
  cardData: any;
18
18
  handleSelectWallet: (value: number[]) => void;
19
19
  selectedWalletIds: any[];
20
- expiredWalletIds: any[];
20
+ expiredWalletIds: any;
21
21
  expiredWalletData: any;
22
22
  disabledWalletData: any[];
23
23
  clearAllSelectedWallet: () => void;
@@ -473,12 +473,11 @@ var EFTPos = (props, ref) => {
473
473
  return Promise.reject(res);
474
474
  });
475
475
  },
476
- editTransaction(params, config) {
477
- const [id, ...otherParams] = params;
476
+ editTransaction(id, params, config) {
478
477
  console.log("editTransaction id = ", id);
479
478
  return new Promise((resolve) => {
480
479
  resolve(id);
481
- }).then(() => (0, import_serve.editTransaction)({ id, ...otherParams })).then(
480
+ }).then(() => (0, import_serve.editTransaction)(id, params, config)).then(
482
481
  (res) => {
483
482
  if (res && (res.code === "200" || res.code === 200)) {
484
483
  return res;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PosProps } from './const';
3
2
  /**
4
3
  * @title: 支付金额信息配置页
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PosProps, RouteType } from './const';
3
2
  declare const App: ({ action, api, device_number, terminal, tyroUrl, tyroVersion, onChangeParams, isMobile, channel, formatAmount, ...props }: Omit<PosProps, "type" | "mode" | "getApi"> & {
4
3
  action: RouteType;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ActionProps } from '../../const';
2
3
  /**
3
4
  * @title: 支付状态未知页面
@@ -19,7 +19,7 @@ export declare const useStoreRef: <T extends {
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<"payo" | "tyro" | "windcave" | "stripe" | "linkly">;
22
+ readonly eftposRef: React.MutableRefObject<"stripe" | "payo" | "tyro" | "windcave" | "linkly">;
23
23
  readonly clientRef: React.MutableRefObject<ClientEnum>;
24
24
  readonly dataRef: React.MutableRefObject<import("./store").State>;
25
25
  };
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Linkly: ({ api, onChange }: any) => JSX.Element;
3
2
  export default Linkly;
@@ -11,6 +11,6 @@ export declare const payButton: (params: any, config?: any) => Promise<any>;
11
11
  export declare const payData: (params: any, config?: any) => Promise<any>;
12
12
  export declare const refundData: (params: any, config?: any) => Promise<any>;
13
13
  export declare const addTransaction: (params: any, config?: any) => Promise<any>;
14
- export declare const editTransaction: (params: any, config?: any) => Promise<any>;
14
+ export declare const editTransaction: (id: any, params: any, config?: any) => Promise<any>;
15
15
  export declare const linklyPayQuery: (params: any, config?: any) => Promise<any>;
16
16
  export declare const linklyRefundQuery: (params: any, config?: any) => Promise<any>;
@@ -51,7 +51,7 @@ var payButton = async (params, config) => import_utils.request.getRequest().post
51
51
  var payData = async (params, config) => import_utils.request.getRequest().post("/shop/pay/card-reader/pay", params, config);
52
52
  var refundData = async (params, config) => import_utils.request.getRequest().post("/shop/pay/card-reader/refund", params, config);
53
53
  var addTransaction = async (params, config) => import_utils.request.getRequest().post("/shop/pay/card-reader/transaction", params, config);
54
- var editTransaction = async (params, config) => import_utils.request.getRequest().put(`/shop/pay/card-reader/transaction/${params.id}`, params, config);
54
+ var editTransaction = async (id, params, config) => import_utils.request.getRequest().put(`/shop/pay/card-reader/transaction/${id}`, params, config);
55
55
  var linklyPayQuery = async (params, config) => import_utils.request.getRequest().get("/shop/shop/linkly/pay/query", params, config);
56
56
  var linklyRefundQuery = async (params, config) => import_utils.request.getRequest().get("/shop/linkly/refund/query", params, config);
57
57
  // Annotate the CommonJS export names for ESM import in node:
@@ -297,7 +297,7 @@ export declare const backUpFree: (payload: Partial<State>) => {
297
297
  amount?: string | number | undefined;
298
298
  mode?: "refund" | "fullPay" | "pay" | "query" | undefined;
299
299
  order_id?: string | number | undefined;
300
- eftpos?: "payo" | "tyro" | "windcave" | "stripe" | "linkly" | undefined;
300
+ eftpos?: "stripe" | "payo" | "tyro" | "windcave" | "linkly" | undefined;
301
301
  action?: "amount" | "pay" | "deviceList" | undefined;
302
302
  key?: number | undefined;
303
303
  step?: number | undefined;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Deposit: () => JSX.Element;
3
2
  export default Deposit;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Layout: () => JSX.Element;
4
3
  export default Layout;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Header: () => JSX.Element;
4
3
  export default Header;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const SelectHolderModal: (props: any) => JSX.Element;
3
2
  export default SelectHolderModal;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Resource: (props: any) => JSX.Element;
3
2
  export default Resource;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Schedule: () => JSX.Element;
3
2
  export default Schedule;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const EventBooking: () => JSX.Element;
4
3
  export default EventBooking;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PayMethod, PayMethodGroup } from '../../types';
3
2
  import './index.less';
4
3
  declare const ToBPayCardGroup: (props: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.module.less';
3
2
  declare const StripePayment: () => JSX.Element;
4
3
  export default StripePayment;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export interface FormState {
2
3
  platform: 'pc' | 'h5' | '' | undefined;
3
4
  order: any;
@@ -28,4 +29,11 @@ export interface PayGroup {
28
29
  pay_number?: string;
29
30
  _order: any;
30
31
  }
31
- export declare const Provider: any, Context: any;
32
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
33
+ state: FormState;
34
+ } & {
35
+ dispatch: (params: {
36
+ type: string;
37
+ payload: any;
38
+ }) => void;
39
+ }>;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const PhoneField: ({ value, onChange }: any) => JSX.Element;
3
2
  export default PhoneField;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface AddClientProps {
4
3
  onChange: (value: any) => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface RightPanelProps {
4
3
  value: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ProductItem: ({ item, onClick, amountSymbol, style, className, }: any) => JSX.Element;
4
3
  export default ProductItem;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface valueType {
4
3
  }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const SelectResourcesTable: ({ value, onChange }: any) => JSX.Element;
4
3
  export default SelectResourcesTable;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  interface ProductExtensionProps {
4
3
  onDataChange: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare type BoolConfigVal = 0 | 1;
4
3
  export interface ProductCardConfig {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { CalendarDataItem, ScheduleItem } from "./type";
2
3
  import dayjs from "dayjs";
3
4
  export interface FormState {
@@ -68,4 +69,11 @@ export interface FormState {
68
69
  };
69
70
  setGlobalState: Function | null;
70
71
  }
71
- export declare const Provider: any, Context: any;
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
+ }>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Empty: (props: any) => JSX.Element;
4
3
  export default Empty;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Content: () => JSX.Element;
4
3
  export default Content;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { shoppingCartProps } from './type';
3
2
  declare const shoppingCart: ({ onCard, onAction, onChange, onAddProduct, onActiveKey, ...props }: shoppingCartProps) => JSX.Element;
4
3
  export default shoppingCart;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface TicketBookingProps {
4
3
  productExtensionType: string[];
@@ -1 +1,13 @@
1
- export declare const Provider: any, Context: any;
1
+ /// <reference types="react" />
2
+ interface RechargeState {
3
+ addWalletCard: any;
4
+ }
5
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
6
+ walletDetailState: RechargeState;
7
+ } & {
8
+ dispatch: (params: {
9
+ type: string;
10
+ payload: any;
11
+ }) => void;
12
+ }>;
13
+ export {};
@@ -1 +1,14 @@
1
- export declare const Provider: any, Context: any;
1
+ /// <reference types="react" />
2
+ interface RechargeState {
3
+ total: number;
4
+ setup?: 'menu' | 'list' | 'detail' | string;
5
+ }
6
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
7
+ state: RechargeState;
8
+ } & {
9
+ dispatch: (params: {
10
+ type: string;
11
+ payload: any;
12
+ }) => void;
13
+ }>;
14
+ export {};
@@ -1 +1,13 @@
1
- export declare const Provider: any, Context: any;
1
+ /// <reference types="react" />
2
+ interface RechargeState {
3
+ total: number;
4
+ }
5
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
6
+ state: RechargeState;
7
+ } & {
8
+ dispatch: (params: {
9
+ type: string;
10
+ payload: any;
11
+ }) => void;
12
+ }>;
13
+ export {};
@@ -1 +1,29 @@
1
- export declare const Provider: any, Context: any;
1
+ /// <reference types="react" />
2
+ interface RechargeState {
3
+ selectedGiftOptionId: string | null;
4
+ cardList: Array<{
5
+ id: string;
6
+ name: string;
7
+ price: number;
8
+ }>;
9
+ selectedItem: {
10
+ id?: string;
11
+ gift_price?: number;
12
+ price?: number;
13
+ name?: string;
14
+ variant_id?: string;
15
+ };
16
+ productId?: string;
17
+ detailId?: string;
18
+ total: string | number;
19
+ rechargeModalOpen: boolean;
20
+ }
21
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
22
+ state: RechargeState;
23
+ } & {
24
+ dispatch: (params: {
25
+ type: string;
26
+ payload: any;
27
+ }) => void;
28
+ }>;
29
+ export {};
@@ -1 +1,13 @@
1
- export declare const Provider: any, Context: any;
1
+ /// <reference types="react" />
2
+ interface RechargeState {
3
+ total: 0;
4
+ }
5
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
6
+ state: RechargeState;
7
+ } & {
8
+ dispatch: (params: {
9
+ type: string;
10
+ payload: any;
11
+ }) => void;
12
+ }>;
13
+ export {};
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { IWalletListItemProps } from '../serve';
3
2
  /**
4
3
  * 钱包卡片Hook的参数
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { IWalletListItemProps } from './serve';
2
3
  export interface WalletCardItemProps {
3
4
  id: string;
@@ -26,4 +27,11 @@ export interface WalletListProps {
26
27
  currentSearchListItemCode?: string;
27
28
  [key: string]: any;
28
29
  }
29
- export declare const Provider: any, Context: any;
30
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
31
+ global_wallet: WalletListProps;
32
+ } & {
33
+ dispatch: (params: {
34
+ type: string;
35
+ payload: any;
36
+ }) => void;
37
+ }>;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const PhoneField: ({ value, onChange }: any) => JSX.Element;
3
2
  export default PhoneField;