@pisell/private-materials 3.4.23 → 3.4.24

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 (173) 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 +13 -13
  7. package/build/lowcode/render/default/view.js +7 -7
  8. package/build/lowcode/view.js +8 -8
  9. package/es/businessModel/SalesModel/index.d.ts +1 -0
  10. package/es/components/Sales/Summary/utils.d.ts +1 -1
  11. package/es/components/appointmentBooking/components/Content/index.d.ts +1 -0
  12. package/es/components/appointmentBooking/components/Header/index.d.ts +1 -0
  13. package/es/components/appointmentBooking/components/Voucher/index.d.ts +1 -0
  14. package/es/components/appointmentBooking/deposit/index.d.ts +1 -0
  15. package/es/components/appointmentBooking/index.d.ts +1 -0
  16. package/es/components/booking/addons/model.d.ts +1 -10
  17. package/es/components/booking/components/footer/index.d.ts +1 -0
  18. package/es/components/booking/deposit/index.d.ts +1 -0
  19. package/es/components/booking/forms/model.d.ts +1 -10
  20. package/es/components/booking/hooks/useQuotation.d.ts +1 -0
  21. package/es/components/booking/info/addServiceVariant/index.d.ts +1 -0
  22. package/es/components/booking/info/header/index.d.ts +1 -0
  23. package/es/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  24. package/es/components/booking/info/index.d.ts +1 -0
  25. package/es/components/booking/info/model.d.ts +1 -10
  26. package/es/components/booking/info/service/Lists.d.ts +1 -0
  27. package/es/components/booking/info/service/addService/index.d.ts +1 -0
  28. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  29. package/es/components/booking/info/service/addTimeModal/index.d.ts +1 -0
  30. package/es/components/booking/info/service/editService/BookingList/index.d.ts +1 -0
  31. package/es/components/booking/info/service/serviceItem/index.d.ts +1 -0
  32. package/es/components/booking/info/service/serviceList/index.d.ts +1 -0
  33. package/es/components/booking/info/service2/Lists.d.ts +1 -0
  34. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  35. package/es/components/booking/info2/service/addTimeModal/index.d.ts +1 -0
  36. package/es/components/booking/info2/service/serviceItem/index.d.ts +1 -0
  37. package/es/components/booking/info2/service/serviceList/index.d.ts +1 -0
  38. package/es/components/booking/model.d.ts +1 -9
  39. package/es/components/booking/notes/addNote/index.d.ts +1 -0
  40. package/es/components/booking/notes/model.d.ts +1 -10
  41. package/es/components/booking/payments/model.d.ts +1 -10
  42. package/es/components/booking/utils.d.ts +2 -2
  43. package/es/components/eftpos/surcharge/index.d.ts +1 -0
  44. package/es/components/eftposPay/amount.d.ts +1 -1
  45. package/es/components/eftposPay/app.d.ts +1 -0
  46. package/es/components/eftposPay/device.d.ts +2 -1
  47. package/es/components/eftposPay/hooks.d.ts +1 -1
  48. package/es/components/eftposPay/index.d.ts +1 -0
  49. package/es/components/eftposPay/linkly/index.d.ts +1 -0
  50. package/es/components/eftposPay/store/index.d.ts +3 -3
  51. package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +1 -0
  52. package/es/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +1 -0
  53. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
  54. package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -0
  55. package/es/components/eventBooking/index.d.ts +1 -0
  56. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -0
  57. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -0
  58. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -0
  59. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -0
  60. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +1 -0
  61. package/es/components/pay/toC/model.d.ts +1 -9
  62. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
  63. package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  64. package/es/components/pisellSelectCustomerModal/index.d.ts +1 -0
  65. package/es/components/productExtension/index.d.ts +1 -0
  66. package/es/components/productSelect/components/TabProduct/index.d.ts +1 -0
  67. package/es/components/productSelect/components/productGroup/index.d.ts +1 -0
  68. package/es/components/ruleSetting/index.d.ts +1 -0
  69. package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
  70. package/es/components/schedules/model.d.ts +1 -9
  71. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
  72. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
  73. package/es/components/schedules/utils.d.ts +1 -1
  74. package/es/components/shoppingCart/components/Cart/Product.d.ts +1 -0
  75. package/es/components/taxSelect/index.d.ts +1 -0
  76. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
  77. package/es/components/ticketBooking/components/menuBar/index.d.ts +1 -0
  78. package/es/components/ticketBooking/components/ticketBooking/index.d.ts +1 -0
  79. package/es/components/ticketBooking/components/timeBar/index.d.ts +1 -0
  80. package/es/components/wallet/Detail/index.js +3 -1
  81. package/es/components/wallet/Detail/model.d.ts +1 -13
  82. package/es/components/wallet/DiscountCard/model.d.ts +1 -14
  83. package/es/components/wallet/PointCard/model.d.ts +1 -13
  84. package/es/components/wallet/RechargeableCard/model.d.ts +1 -29
  85. package/es/components/wallet/Voucher/model.d.ts +1 -13
  86. package/es/components/wallet/components/WalletCard.js +8 -3
  87. package/es/components/wallet/model.d.ts +1 -9
  88. package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
  89. package/es/plus/saasCreateOrganization/index.d.ts +1 -0
  90. package/es/utils/index.d.ts +1 -1
  91. package/lib/businessModel/SalesModel/index.d.ts +1 -0
  92. package/lib/components/Sales/Summary/utils.d.ts +1 -1
  93. package/lib/components/appointmentBooking/components/Content/index.d.ts +1 -0
  94. package/lib/components/appointmentBooking/components/Header/index.d.ts +1 -0
  95. package/lib/components/appointmentBooking/components/Voucher/index.d.ts +1 -0
  96. package/lib/components/appointmentBooking/deposit/index.d.ts +1 -0
  97. package/lib/components/appointmentBooking/index.d.ts +1 -0
  98. package/lib/components/booking/addons/model.d.ts +1 -10
  99. package/lib/components/booking/components/footer/index.d.ts +1 -0
  100. package/lib/components/booking/deposit/index.d.ts +1 -0
  101. package/lib/components/booking/forms/model.d.ts +1 -10
  102. package/lib/components/booking/hooks/useQuotation.d.ts +1 -0
  103. package/lib/components/booking/info/addServiceVariant/index.d.ts +1 -0
  104. package/lib/components/booking/info/header/index.d.ts +1 -0
  105. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  106. package/lib/components/booking/info/index.d.ts +1 -0
  107. package/lib/components/booking/info/model.d.ts +1 -10
  108. package/lib/components/booking/info/service/Lists.d.ts +1 -0
  109. package/lib/components/booking/info/service/addService/index.d.ts +1 -0
  110. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  111. package/lib/components/booking/info/service/addTimeModal/index.d.ts +1 -0
  112. package/lib/components/booking/info/service/editService/BookingList/index.d.ts +1 -0
  113. package/lib/components/booking/info/service/serviceItem/index.d.ts +1 -0
  114. package/lib/components/booking/info/service/serviceList/index.d.ts +1 -0
  115. package/lib/components/booking/info/service2/Lists.d.ts +1 -0
  116. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  117. package/lib/components/booking/info2/service/addTimeModal/index.d.ts +1 -0
  118. package/lib/components/booking/info2/service/serviceItem/index.d.ts +1 -0
  119. package/lib/components/booking/info2/service/serviceList/index.d.ts +1 -0
  120. package/lib/components/booking/model.d.ts +1 -9
  121. package/lib/components/booking/notes/addNote/index.d.ts +1 -0
  122. package/lib/components/booking/notes/model.d.ts +1 -10
  123. package/lib/components/booking/payments/model.d.ts +1 -10
  124. package/lib/components/booking/utils.d.ts +2 -2
  125. package/lib/components/eftpos/surcharge/index.d.ts +1 -0
  126. package/lib/components/eftposPay/amount.d.ts +1 -1
  127. package/lib/components/eftposPay/app.d.ts +1 -0
  128. package/lib/components/eftposPay/device.d.ts +2 -1
  129. package/lib/components/eftposPay/hooks.d.ts +1 -1
  130. package/lib/components/eftposPay/index.d.ts +1 -0
  131. package/lib/components/eftposPay/linkly/index.d.ts +1 -0
  132. package/lib/components/eftposPay/store/index.d.ts +3 -3
  133. package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +1 -0
  134. package/lib/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +1 -0
  135. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
  136. package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -0
  137. package/lib/components/eventBooking/index.d.ts +1 -0
  138. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -0
  139. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -0
  140. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -0
  141. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -0
  142. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +1 -0
  143. package/lib/components/pay/toC/model.d.ts +1 -9
  144. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
  145. package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  146. package/lib/components/pisellSelectCustomerModal/index.d.ts +1 -0
  147. package/lib/components/productExtension/index.d.ts +1 -0
  148. package/lib/components/productSelect/components/TabProduct/index.d.ts +1 -0
  149. package/lib/components/productSelect/components/productGroup/index.d.ts +1 -0
  150. package/lib/components/ruleSetting/index.d.ts +1 -0
  151. package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -0
  152. package/lib/components/schedules/model.d.ts +1 -9
  153. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
  154. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
  155. package/lib/components/schedules/utils.d.ts +1 -1
  156. package/lib/components/shoppingCart/components/Cart/Product.d.ts +1 -0
  157. package/lib/components/taxSelect/index.d.ts +1 -0
  158. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
  159. package/lib/components/ticketBooking/components/menuBar/index.d.ts +1 -0
  160. package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +1 -0
  161. package/lib/components/ticketBooking/components/timeBar/index.d.ts +1 -0
  162. package/lib/components/wallet/Detail/index.js +18 -5
  163. package/lib/components/wallet/Detail/model.d.ts +1 -13
  164. package/lib/components/wallet/DiscountCard/model.d.ts +1 -14
  165. package/lib/components/wallet/PointCard/model.d.ts +1 -13
  166. package/lib/components/wallet/RechargeableCard/model.d.ts +1 -29
  167. package/lib/components/wallet/Voucher/model.d.ts +1 -13
  168. package/lib/components/wallet/components/WalletCard.js +3 -1
  169. package/lib/components/wallet/model.d.ts +1 -9
  170. package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
  171. package/lib/plus/saasCreateOrganization/index.d.ts +1 -0
  172. package/lib/utils/index.d.ts +1 -1
  173. package/package.json +2 -2
@@ -1,13 +1 @@
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
+ export declare const Provider: any, Context: any;
@@ -1,29 +1 @@
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
+ export declare const Provider: any, Context: any;
@@ -1,13 +1 @@
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
+ export declare const Provider: any, Context: any;
@@ -1,3 +1,7 @@
1
+ var _excluded = ["id", "tag", "product_title", "balance", "code", "encoded", "expire_date", "shop", "limit_status", "product_cover", "par_value", "unified_messages"];
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
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
4
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
1
5
  import React, { useMemo } from 'react';
2
6
  import { PisellWalletPassCard } from '@pisell/materials';
3
7
  import { isMobile } from '@pisell/utils';
@@ -35,7 +39,8 @@ var WalletCard = function WalletCard(_ref) {
35
39
  _item$par_value = item.par_value,
36
40
  par_value = _item$par_value === void 0 ? '' : _item$par_value,
37
41
  _item$unified_message = item.unified_messages,
38
- unified_messages = _item$unified_message === void 0 ? {} : _item$unified_message;
42
+ unified_messages = _item$unified_message === void 0 ? {} : _item$unified_message,
43
+ rest = _objectWithoutProperties(item, _excluded);
39
44
 
40
45
  // 获取平台
41
46
  var platform = useMemo(function () {
@@ -52,7 +57,7 @@ var WalletCard = function WalletCard(_ref) {
52
57
  var isActive = id === currentId && platform === 'pc';
53
58
  // 是否禁用
54
59
  var isDisabled = limit_status !== 'enable';
55
- return /*#__PURE__*/React.createElement(PisellWalletPassCard, {
60
+ return /*#__PURE__*/React.createElement(PisellWalletPassCard, _extends({}, rest, {
56
61
  balanceTitle: balanceTitle,
57
62
  showDetail: false,
58
63
  showRedeem: false,
@@ -77,6 +82,6 @@ var WalletCard = function WalletCard(_ref) {
77
82
  code: encoded,
78
83
  validDate: expire_date,
79
84
  onClick: onClick
80
- });
85
+ }));
81
86
  };
82
87
  export default /*#__PURE__*/React.memo(WalletCard);
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { IWalletListItemProps } from './serve';
3
2
  export interface WalletCardItemProps {
4
3
  id: string;
@@ -27,11 +26,4 @@ export interface WalletListProps {
27
26
  currentSearchListItemCode?: string;
28
27
  [key: string]: any;
29
28
  }
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
- }>;
29
+ export declare const Provider: any, Context: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './../../index.less';
2
3
  declare const Search: () => JSX.Element;
3
4
  export default Search;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { SCOProps } from './types';
2
3
  import './index.less';
3
4
  declare const SaasCreateOrganization: (props: SCOProps) => JSX.Element;
@@ -18,6 +18,6 @@ declare let modal: Omit<ModalStaticFunctions, 'warn'>;
18
18
  export declare const setModal: (m: Omit<ModalStaticFunctions, 'warn'>) => void;
19
19
  export declare const saveConfirm: () => Promise<{
20
20
  destroy: () => void;
21
- update: (configUpdate: import("antd/es/modal/interface").ModalFuncProps | ((prevConfig: import("antd/es/modal/interface").ModalFuncProps) => import("antd/es/modal/interface").ModalFuncProps)) => void;
21
+ update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
22
22
  }>;
23
23
  export { modal };
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const SalesModel: ({ children, hooks, config }: any) => JSX.Element;
2
3
  export * from './Sales';
3
4
  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,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Layout: () => JSX.Element;
3
4
  export default Layout;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Header: () => JSX.Element;
3
4
  export default Header;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import '../../../booking/components/voucher/index.less';
2
3
  import './index.less';
3
4
  declare const VoucherCard: (props: any) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Deposit: (props: any) => JSX.Element;
3
4
  export default Deposit;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const AppointmentBooking: () => JSX.Element;
3
4
  export default AppointmentBooking;
@@ -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,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  /**
3
4
  * @title: 底部
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Deposit: (props: any) => JSX.Element;
2
3
  export default Deposit;
@@ -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,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const calculateTotalPrice: (data: any) => number;
2
3
  declare const useQuotation: (state: any, dispatch: any) => {
3
4
  dom: JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  interface AddServiceVariantProps {
2
3
  globalState: any;
3
4
  setGlobalState: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const header: ({ state, dispatch }: any) => JSX.Element;
3
4
  export default header;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { EditServiceRef } from "../service/editService";
2
3
  declare const useInfoHolder: (state: any, dispatch: any) => {
3
4
  detailRef: import("react").MutableRefObject<EditServiceRef | undefined>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { InfoProps } from './main';
2
3
  declare const APP: (props: InfoProps) => JSX.Element;
3
4
  export default APP;
@@ -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;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Lists: ({ onEdit, onChange, onAction, isParallelResource }: any) => JSX.Element;
2
3
  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: string;
9
+ locale: any;
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,4 @@
1
+ /// <reference types="react" />
1
2
  declare const BookingList: ({ items }: {
2
3
  items: any[];
3
4
  }) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const ServiceItem: ({ d, handleEditService, state, handleLike, resourceItem, errorMessage, handleDeleteService, }: any) => JSX.Element;
3
4
  export default ServiceItem;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const ServiceList: ({ onEdit }: {
3
4
  onEdit: any;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Lists: ({ onEdit, onChange }: any) => JSX.Element;
2
3
  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: string;
10
+ locale: any;
11
11
  slice: any;
12
12
  selectProps: {
13
13
  size: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import '../../../info/service/addTimeModal/index.less';
2
3
  declare const AddTimeModal: () => JSX.Element;
3
4
  export default AddTimeModal;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const ServiceItem: ({ d, handleEditService, state, handleLike, errorMessage, handleDeleteService, }: any) => JSX.Element;
3
4
  export default ServiceItem;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const ServiceList: ({ onEdit }: {
3
4
  onEdit: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface FormState {
3
2
  amountSymbol: string;
4
3
  apis: {
@@ -105,11 +104,4 @@ export declare const walkInData: {
105
104
  id: number;
106
105
  nickname: string;
107
106
  };
108
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
109
- state: FormState;
110
- } & {
111
- dispatch: (params: {
112
- type: string;
113
- payload: any;
114
- }) => void;
115
- }>;
107
+ export declare const Provider: any, Context: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const AddNote: ({ value, onChange, wait, title, placeholder }: any) => JSX.Element;
3
4
  export default AddNote;
@@ -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;
@@ -165,10 +165,10 @@ export declare const getProductTotalPrice: (item: any) => number;
165
165
  export declare const getDuration: (duration: number | {
166
166
  type: string;
167
167
  value: number;
168
- }) => number | "flexible" | {
168
+ }) => number | {
169
169
  type: string;
170
170
  value: number;
171
- };
171
+ } | "flexible";
172
172
  export declare const isWalkIn: (customer_id?: number | string) => boolean;
173
173
  export declare const getIsEdit: (state: any) => boolean;
174
174
  export {};
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.css';
2
3
  /**
3
4
  * @title: 自定义组件设置
@@ -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" | "page" | "fail" | "print" | "mark_tx_processed", params?: string | {
13
13
  [keys: string]: unknown;
14
14
  } | undefined, other?: any) => void) | undefined;
15
15
  onClose: () => void;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PosProps, RouteType } from './const';
2
3
  declare const App: ({ action, api, device_number, terminal, tyroUrl, tyroVersion, onChangeParams, isMobile, channel, formatAmount, ...props }: Omit<PosProps, "type" | "mode" | "getApi"> & {
3
4
  action: RouteType;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PayProps, PosProps } from './const';
2
3
  import './device.less';
3
4
  /**
@@ -10,7 +11,7 @@ import './device.less';
10
11
  declare const _default: ({ api, onChange, onClose, className, device_number, isMobile, net, client, formatAmount, }: {
11
12
  api: PayProps['api'];
12
13
  className?: string | undefined;
13
- onChange?: ((status: "page" | "success" | "print" | "fail" | "mark_tx_processed", params?: string | {
14
+ onChange?: ((status: "success" | "page" | "fail" | "print" | "mark_tx_processed", params?: string | {
14
15
  [keys: string]: unknown;
15
16
  } | undefined, other?: any) => void) | undefined;
16
17
  onClose: () => void;
@@ -15,7 +15,7 @@ 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" | "fail" | "pedding" | "resove" | "reject" | "question">;
18
+ readonly statusRef: React.MutableRefObject<"loading" | "warn" | "success" | "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>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PosProps } from './const';
2
3
  import './index.less';
3
4
  declare const _default: (props: PosProps) => JSX.Element | null;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Linkly: ({ api, onChange }: any) => JSX.Element;
2
3
  export default Linkly;
@@ -174,7 +174,7 @@ export declare const updateCustom: (payload: {
174
174
  export declare const updateStatus: (status: 'loading' | 'warn' | 'fail' | 'success' | 'question') => {
175
175
  type: EActionTypes;
176
176
  payload: {
177
- status: "loading" | "success" | "warn" | "fail" | "question";
177
+ status: "loading" | "warn" | "success" | "fail" | "question";
178
178
  };
179
179
  };
180
180
  /**
@@ -295,7 +295,7 @@ export declare const backUpFree: (payload: Partial<State>) => {
295
295
  name?: string | undefined;
296
296
  symbol?: string | undefined;
297
297
  amount?: string | number | undefined;
298
- mode?: "refund" | "pay" | "fullPay" | "query" | undefined;
298
+ mode?: "pay" | "fullPay" | "refund" | "query" | undefined;
299
299
  order_id?: string | number | undefined;
300
300
  eftpos?: "stripe" | "payo" | "tyro" | "windcave" | "linkly" | undefined;
301
301
  action?: "amount" | "pay" | "deviceList" | undefined;
@@ -308,7 +308,7 @@ export declare const backUpFree: (payload: Partial<State>) => {
308
308
  net?: boolean | undefined;
309
309
  component?: string | undefined;
310
310
  form?: string | undefined;
311
- status?: "loading" | "success" | "warn" | "fail" | "pedding" | "resove" | "reject" | "question" | undefined;
311
+ status?: "loading" | "warn" | "success" | "fail" | "pedding" | "resove" | "reject" | "question" | undefined;
312
312
  warn?: string | undefined;
313
313
  steps?: {
314
314
  /** 用于重置当前步骤 */
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const ContinueButton: () => JSX.Element;
3
4
  export default ContinueButton;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Total: ({ className, isFooter }: any) => JSX.Element;
3
4
  export default Total;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare type CallToBookProps = {
2
3
  show: boolean;
3
4
  type: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { CalendarDataItem } from '../../type';
2
3
  declare type CalendarItemProps = {
3
4
  month: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const EventBooking: () => JSX.Element;
3
4
  export default EventBooking;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const ThreedsLoading: ({ title, showSuccessBackButton, onSuccessBack }: any) => JSX.Element;
3
4
  export default ThreedsLoading;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const StripePayment: () => JSX.Element;
2
3
  export default StripePayment;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const StripeSDK: ({ public_key, client_secret, children, lang, }: {
2
3
  public_key: string;
3
4
  client_secret?: string | undefined;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const PageLoading: () => JSX.Element;
2
3
  export default PageLoading;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const PaymentRequestForm: () => JSX.Element | null;
2
3
  export default PaymentRequestForm;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface FormState {
3
2
  platform: 'pc' | 'h5' | '' | undefined;
4
3
  order: any;
@@ -29,11 +28,4 @@ export interface PayGroup {
29
28
  pay_number?: string;
30
29
  _order: any;
31
30
  }
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
- }>;
31
+ export declare const Provider: any, Context: any;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const PhoneField: ({ value, onChange }: any) => JSX.Element;
2
3
  export default PhoneField;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface RightPanelProps {
3
4
  value: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PopoverProps } from 'antd';
2
3
  import { CustomerCardProps } from './CustomerCard';
3
4
  import './index.less';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  interface ProductExtensionProps {
3
4
  onDataChange: any;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const TabProduct: (props: any) => JSX.Element;
2
3
  export default TabProduct;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare type BoolConfigVal = 0 | 1;
3
4
  export interface ProductCardConfig {