@pisell/private-materials 6.3.170 → 6.3.171

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 (203) 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 +426 -145
  7. package/build/lowcode/render/default/view.js +1 -1
  8. package/build/lowcode/view.js +9 -9
  9. package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -0
  10. package/es/components/appointmentBooking/components/Cart/Item/index.js +13 -7
  11. package/es/components/appointmentBooking/components/Cart/index.d.ts +1 -0
  12. package/es/components/appointmentBooking/components/Deposit/index.d.ts +1 -0
  13. package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
  14. package/es/components/booking/components/TabProduct/index.d.ts +0 -1
  15. package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
  16. package/es/components/booking/components/collapsibleList/utils.d.ts +1 -0
  17. package/es/components/booking/components/emptyBooking/index.d.ts +1 -0
  18. package/es/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
  19. package/es/components/booking/components/reloadResourceModal/index.d.ts +1 -0
  20. package/es/components/booking/hooks/useClearCart.d.ts +1 -0
  21. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
  22. package/es/components/booking/info/date/index.d.ts +1 -0
  23. package/es/components/booking/info/dateRange/index.d.ts +1 -0
  24. package/es/components/booking/info/notes/index.d.ts +1 -0
  25. package/es/components/booking/info/service/actions/index.d.ts +1 -0
  26. package/es/components/booking/info2/service/actions/index.d.ts +1 -0
  27. package/es/components/booking/materiels/duration/index.d.ts +1 -0
  28. package/es/components/booking/materiels/startTime/index.d.ts +1 -0
  29. package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
  30. package/es/components/booking/notes/NoteBlock/index.d.ts +1 -0
  31. package/es/components/ecocup/components/CupInfoCard/index.d.ts +1 -0
  32. package/es/components/ecocup/components/CustomerCard/index.d.ts +1 -0
  33. package/es/components/ecocup/components/MoreDropdown/index.d.ts +1 -0
  34. package/es/components/ecocup/cupList/hooks/useSummary.d.ts +1 -0
  35. package/es/components/eftpos/form/index.d.ts +0 -1
  36. package/es/components/eftposPay/hooks.d.ts +1 -1
  37. package/es/components/eftposPay/mx51/Action.d.ts +0 -1
  38. package/es/components/eftposPay/payo/config.d.ts +1 -0
  39. package/es/components/eftposPay/store/index.d.ts +1 -1
  40. package/es/components/eftposPay/tip.d.ts +1 -0
  41. package/es/components/eftposPay/windcave/receiptAction.d.ts +1 -0
  42. package/es/components/eftposPay/windcave/windcave.d.ts +1 -0
  43. package/es/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
  44. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
  45. package/es/components/eventBooking/components/Provider/Cart/index.d.ts +1 -0
  46. package/es/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  47. package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +1 -0
  48. package/es/components/eventBooking/components/Provider/Footer/index.d.ts +1 -0
  49. package/es/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  50. package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -0
  51. package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +1 -0
  52. package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +1 -0
  53. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
  54. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
  55. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  56. package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +1 -0
  57. package/es/components/login/index.d.ts +1 -0
  58. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  59. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
  60. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
  61. package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
  62. package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
  63. package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
  64. package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -0
  65. package/es/components/productExtension/fields/Actor/index.d.ts +0 -1
  66. package/es/components/productExtension/fields/Forms/index.d.ts +0 -1
  67. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
  68. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  69. package/es/components/ruleSetting/ruleBorder/index.d.ts +1 -0
  70. package/es/components/schedules/calendar/index.d.ts +1 -0
  71. package/es/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
  72. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
  73. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
  74. package/es/components/schedules/products/index.d.ts +0 -1
  75. package/es/components/schedules/products/list/ProductItem/index.d.ts +1 -0
  76. package/es/components/schedules/products/list/index.d.ts +1 -0
  77. package/es/components/schedules/resources/list/index.d.ts +1 -0
  78. package/es/components/schedules/resources/relationProduct/index.d.ts +0 -1
  79. package/es/components/shoppingCart/hooks/useAddService.d.ts +1 -0
  80. package/es/components/shoppingCart/hooks/useClearCart.d.ts +1 -0
  81. package/es/components/shoppingCart/index.d.ts +1 -0
  82. package/es/components/venueBooking/components/Cart/index.js +41 -35
  83. package/es/components/workSpaceList/components/Modal/index.d.ts +1 -0
  84. package/es/hooks/usePaymentLogger.d.ts +1 -0
  85. package/es/plus/clinetSearch/Add/BirthdayField/index.d.ts +1 -0
  86. package/es/plus/clinetSearch/Add/GenderField/index.d.ts +1 -0
  87. package/es/plus/orderList/components/HandleActions.d.ts +1 -0
  88. package/es/plus/orderList/components/QuickFilter.d.ts +1 -0
  89. package/es/plus/orderList/components/Reset.d.ts +1 -0
  90. package/es/plus/orderList/components/Toolbar.d.ts +1 -0
  91. package/es/plus/pisellReservation/hooks/useReservationScheduleDebounced.d.ts +1 -0
  92. package/es/plus/saasCreateOrganization/components/Header.d.ts +1 -0
  93. package/es/plus/saasRegister/components/EntryEmail.d.ts +1 -0
  94. package/es/plus/saasRegister/components/EntryInfo.d.ts +1 -0
  95. package/es/plus/saasRegister/components/GoLogin.d.ts +1 -0
  96. package/es/plus/saasRegister/components/Header.d.ts +1 -0
  97. package/es/plus/saasRegister/components/VerifyError.d.ts +1 -0
  98. package/es/plus/saasRegister/components/VerifyingLink.d.ts +1 -0
  99. package/es/plus/saasRegister/components/VertifyEmail.d.ts +1 -0
  100. package/es/plus/selectHolder/components/ErrorTip/index.d.ts +1 -0
  101. package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +1 -0
  102. package/es/pro/pisellPaymentList/example.d.ts +0 -1
  103. package/es/pro/pisellPhoneKeyboard/index.d.ts +1 -0
  104. package/es/utils/buildCartHolderParams.d.ts +34 -0
  105. package/es/utils/buildCartHolderParams.js +60 -0
  106. package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -0
  107. package/lib/components/appointmentBooking/components/Cart/Item/index.js +11 -6
  108. package/lib/components/appointmentBooking/components/Cart/index.d.ts +1 -0
  109. package/lib/components/appointmentBooking/components/Deposit/index.d.ts +1 -0
  110. package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
  111. package/lib/components/booking/components/TabProduct/index.d.ts +0 -1
  112. package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
  113. package/lib/components/booking/components/collapsibleList/utils.d.ts +1 -0
  114. package/lib/components/booking/components/emptyBooking/index.d.ts +1 -0
  115. package/lib/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
  116. package/lib/components/booking/components/reloadResourceModal/index.d.ts +1 -0
  117. package/lib/components/booking/hooks/useClearCart.d.ts +1 -0
  118. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
  119. package/lib/components/booking/info/date/index.d.ts +1 -0
  120. package/lib/components/booking/info/dateRange/index.d.ts +1 -0
  121. package/lib/components/booking/info/notes/index.d.ts +1 -0
  122. package/lib/components/booking/info/service/actions/index.d.ts +1 -0
  123. package/lib/components/booking/info2/service/actions/index.d.ts +1 -0
  124. package/lib/components/booking/materiels/duration/index.d.ts +1 -0
  125. package/lib/components/booking/materiels/startTime/index.d.ts +1 -0
  126. package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
  127. package/lib/components/booking/notes/NoteBlock/index.d.ts +1 -0
  128. package/lib/components/ecocup/components/CupInfoCard/index.d.ts +1 -0
  129. package/lib/components/ecocup/components/CustomerCard/index.d.ts +1 -0
  130. package/lib/components/ecocup/components/MoreDropdown/index.d.ts +1 -0
  131. package/lib/components/ecocup/cupList/hooks/useSummary.d.ts +1 -0
  132. package/lib/components/eftpos/form/index.d.ts +0 -1
  133. package/lib/components/eftposPay/hooks.d.ts +1 -1
  134. package/lib/components/eftposPay/mx51/Action.d.ts +0 -1
  135. package/lib/components/eftposPay/payo/config.d.ts +1 -0
  136. package/lib/components/eftposPay/store/index.d.ts +1 -1
  137. package/lib/components/eftposPay/tip.d.ts +1 -0
  138. package/lib/components/eftposPay/windcave/receiptAction.d.ts +1 -0
  139. package/lib/components/eftposPay/windcave/windcave.d.ts +1 -0
  140. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
  141. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
  142. package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +1 -0
  143. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  144. package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +1 -0
  145. package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +1 -0
  146. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  147. package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -0
  148. package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +1 -0
  149. package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +1 -0
  150. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
  151. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
  152. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  153. package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +1 -0
  154. package/lib/components/login/index.d.ts +1 -0
  155. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  156. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
  157. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
  158. package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
  159. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
  160. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
  161. package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -0
  162. package/lib/components/productExtension/fields/Actor/index.d.ts +0 -1
  163. package/lib/components/productExtension/fields/Forms/index.d.ts +0 -1
  164. package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
  165. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  166. package/lib/components/ruleSetting/ruleBorder/index.d.ts +1 -0
  167. package/lib/components/schedules/calendar/index.d.ts +1 -0
  168. package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
  169. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
  170. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
  171. package/lib/components/schedules/products/index.d.ts +0 -1
  172. package/lib/components/schedules/products/list/ProductItem/index.d.ts +1 -0
  173. package/lib/components/schedules/products/list/index.d.ts +1 -0
  174. package/lib/components/schedules/resources/list/index.d.ts +1 -0
  175. package/lib/components/schedules/resources/relationProduct/index.d.ts +0 -1
  176. package/lib/components/shoppingCart/hooks/useAddService.d.ts +1 -0
  177. package/lib/components/shoppingCart/hooks/useClearCart.d.ts +1 -0
  178. package/lib/components/shoppingCart/index.d.ts +1 -0
  179. package/lib/components/venueBooking/components/Cart/index.js +14 -8
  180. package/lib/components/workSpaceList/components/Modal/index.d.ts +1 -0
  181. package/lib/hooks/usePaymentLogger.d.ts +1 -0
  182. package/lib/plus/clinetSearch/Add/BirthdayField/index.d.ts +1 -0
  183. package/lib/plus/clinetSearch/Add/GenderField/index.d.ts +1 -0
  184. package/lib/plus/orderList/components/HandleActions.d.ts +1 -0
  185. package/lib/plus/orderList/components/QuickFilter.d.ts +1 -0
  186. package/lib/plus/orderList/components/Reset.d.ts +1 -0
  187. package/lib/plus/orderList/components/Toolbar.d.ts +1 -0
  188. package/lib/plus/pisellReservation/hooks/useReservationScheduleDebounced.d.ts +1 -0
  189. package/lib/plus/saasCreateOrganization/components/Header.d.ts +1 -0
  190. package/lib/plus/saasRegister/components/EntryEmail.d.ts +1 -0
  191. package/lib/plus/saasRegister/components/EntryInfo.d.ts +1 -0
  192. package/lib/plus/saasRegister/components/GoLogin.d.ts +1 -0
  193. package/lib/plus/saasRegister/components/Header.d.ts +1 -0
  194. package/lib/plus/saasRegister/components/VerifyError.d.ts +1 -0
  195. package/lib/plus/saasRegister/components/VerifyingLink.d.ts +1 -0
  196. package/lib/plus/saasRegister/components/VertifyEmail.d.ts +1 -0
  197. package/lib/plus/selectHolder/components/ErrorTip/index.d.ts +1 -0
  198. package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +1 -0
  199. package/lib/pro/pisellPaymentList/example.d.ts +0 -1
  200. package/lib/pro/pisellPhoneKeyboard/index.d.ts +1 -0
  201. package/lib/utils/buildCartHolderParams.d.ts +34 -0
  202. package/lib/utils/buildCartHolderParams.js +51 -0
  203. package/package.json +1 -1
@@ -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;
@@ -30,6 +30,7 @@ import VoucherCard from "../../Voucher";
30
30
  import Deposit from "../../Deposit";
31
31
  import { handleAddHolder } from "../utils";
32
32
  import { buildCartHolderParams, getAppointmentCartHolderConfig } from "../../../../../utils/buildCartHolderParams";
33
+ import { getSkuRelationFormId, handleCartHolderFormSuccess } from "../../../../../utils/buildCartHolderParams";
33
34
  import "./index.less";
34
35
  var CartItem = function CartItem(_ref) {
35
36
  var _businessUtils$getApp, _businessUtils$getApp2, _currentStep$step, _currentStep$step2;
@@ -180,13 +181,14 @@ var CartItem = function CartItem(_ref) {
180
181
  // 关联的表单id
181
182
  var relationShipFormId = bookingSubject === null || bookingSubject === void 0 ? void 0 : bookingSubject.relationship_form_id;
182
183
  var formId = e === null || e === void 0 || (_e$_productInit = e._productInit) === null || _e$_productInit === void 0 || (_e$_productInit = _e$_productInit.holder_config) === null || _e$_productInit === void 0 ? void 0 : _e$_productInit.resource_id;
184
+ var skuRelationFormId = getSkuRelationFormId(holderMap, formId);
183
185
  return openForm({
184
- form_id: formId || relationShipFormId || (bookingSubject === null || bookingSubject === void 0 ? void 0 : bookingSubject.form_id),
186
+ form_id: skuRelationFormId || formId || relationShipFormId || (bookingSubject === null || bookingSubject === void 0 ? void 0 : bookingSubject.form_id),
185
187
  title: locales.getText('pisell2.event.create.form'),
186
188
  utils: utils,
187
189
  callback: function () {
188
190
  var _callback = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(res) {
189
- var result, _res$values, _res$values2;
191
+ var result, _handleCartHolderForm, formRecordId, mainField;
190
192
  return _regeneratorRuntime().wrap(function _callee$(_context) {
191
193
  while (1) switch (_context.prev = _context.next) {
192
194
  case 0:
@@ -199,14 +201,18 @@ var CartItem = function CartItem(_ref) {
199
201
  _context.next = 6;
200
202
  break;
201
203
  }
202
- appointmentBooking.appendFormRecord({
203
- record: res === null || res === void 0 ? void 0 : res.values
204
- });
204
+ _handleCartHolderForm = handleCartHolderFormSuccess({
205
+ res: res,
206
+ formId: formId,
207
+ skuRelationFormId: skuRelationFormId,
208
+ utils: utils,
209
+ module: appointmentBooking
210
+ }), formRecordId = _handleCartHolderForm.formRecordId, mainField = _handleCartHolderForm.mainField;
205
211
  appointmentBooking.updateCart({
206
212
  _id: e === null || e === void 0 ? void 0 : e._id,
207
213
  account: {
208
- id: res === null || res === void 0 || (_res$values = res.values) === null || _res$values === void 0 ? void 0 : _res$values.form_record_id,
209
- username: res === null || res === void 0 || (_res$values2 = res.values) === null || _res$values2 === void 0 ? void 0 : _res$values2.main_field
214
+ id: formRecordId,
215
+ username: mainField
210
216
  }
211
217
  });
212
218
  return _context.abrupt("return");
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Cart: ({ open, onCancel, onNext }: any) => JSX.Element;
3
4
  export default Cart;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface DepositProps {
3
4
  showTitle?: boolean;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const GuestOptionsModal: (props: any) => JSX.Element;
3
4
  export default GuestOptionsModal;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  interface TabProductProps {
4
3
  list: any[];
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const SelectProductItem: ({ item, onClick, onChangeQuantity, amountSymbol, style, className, disabled, }: any) => JSX.Element;
3
4
  export default SelectProductItem;
@@ -1 +1,2 @@
1
+ /// <reference types="react" />
1
2
  export declare const renderBundles: (item: any, amountSymbol: string) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  /**
2
3
  * @title: 空状态
3
4
  * @description:
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const FooterMenus: ({ state, menuChange, items }: any) => JSX.Element | null;
3
4
  export default FooterMenus;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface IProps {
3
4
  modal: any;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const useClearCart: (state: any, dispatch: any) => JSX.Element;
2
3
  export default useClearCart;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FormState } from '../../../model';
2
3
  interface useClientFnParams {
3
4
  state: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  export declare const updateServiceDate: (services: any[], date: any, isTime: boolean) => any[];
3
4
  declare const DateCom: () => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  export declare const disabledDate: (current: any, position: any, currentDate: any) => any;
3
4
  declare const DateRange: ({ state, dispatch, key }: any) => JSX.Element;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Notes: () => JSX.Element | null;
2
3
  export default Notes;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const Actions: ({ currentService }: {
3
4
  currentService: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import '../../../info/service/actions/index.less';
2
3
  declare const Actions: ({ currentService }: {
3
4
  currentService: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { SelectProps } from 'antd';
2
3
  interface DurationProps extends SelectProps {
3
4
  locale?: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { SelectProps } from "antd";
2
3
  interface StartTimeProps extends SelectProps {
3
4
  locale?: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  export interface InfoProps {
3
4
  isEdit: boolean;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  export interface InfoProps {
3
4
  title?: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface IProps {
3
4
  type: 'rentInfo' | 'markInfo' | 'belongInfo' | 'otherBelongInfo';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  import { ICustomer } from '../../types';
3
4
  interface IProps extends Partial<ICustomer> {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  interface MoreDropdownProps {
2
3
  locales: any;
3
4
  onClick?: (key: string) => void;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import '../index.less';
2
3
  export declare const useSummary: (locales: any, staticsData: any, isPartner?: boolean) => () => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @title: 递归循环表单数据
4
3
  * @Author: hongbing.wang
@@ -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<"stripe" | "tyro" | "payo" | "windcave" | "linkly" | "mx51">;
22
+ readonly eftposRef: React.MutableRefObject<"stripe" | "tyro" | "windcave" | "payo" | "linkly" | "mx51">;
23
23
  readonly clientRef: React.MutableRefObject<ClientEnum>;
24
24
  readonly dataRef: React.MutableRefObject<import("./store").State>;
25
25
  };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ParsedElement } from './types';
3
2
  /**
4
3
  * @title 渲染动态内容
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { StatusEnum } from '../const';
2
3
  export declare const POS: ({ api, onChange, }: {
3
4
  api: {
@@ -299,7 +299,7 @@ export declare const backUpFree: (payload: Partial<State>) => {
299
299
  amount?: string | number | undefined;
300
300
  mode?: "refund" | "pay" | "fullPay" | "query" | undefined;
301
301
  order_id?: string | number | undefined;
302
- eftpos?: "stripe" | "tyro" | "payo" | "windcave" | "linkly" | "mx51" | undefined;
302
+ eftpos?: "stripe" | "tyro" | "windcave" | "payo" | "linkly" | "mx51" | undefined;
303
303
  action?: "amount" | "pay" | "deviceList" | undefined;
304
304
  key?: number | undefined;
305
305
  step?: number | undefined;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './tip.less';
2
3
  /**
3
4
  * @title: 支付状态未知页面
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  /**
2
3
  * @title: 按钮操作区
3
4
  * @description: 仅包含签名
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: ({ api, onChange, formatAmount, }: {
2
3
  api: any;
3
4
  onChange: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const ErrorTip: ({ text }: any) => JSX.Element;
3
4
  export default ErrorTip;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  interface DepositProps {
2
3
  showTitle?: boolean;
3
4
  }
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Cart: ({ open, onCancel }: any) => JSX.Element;
3
4
  export default Cart;
@@ -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,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const EmptyHolderModal: (props: any) => JSX.Element;
3
4
  export default EmptyHolderModal;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Footer: () => JSX.Element;
3
4
  export default Footer;
@@ -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,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const InformationOptionsModal: (props: any) => JSX.Element;
3
4
  export default InformationOptionsModal;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const OrderProductModal: (props: any) => JSX.Element;
3
4
  export default OrderProductModal;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const RemoveOptionConfirmModal: (props: any) => JSX.Element;
2
3
  export default RemoveOptionConfirmModal;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const WeekItem: (props: any) => JSX.Element;
3
4
  export default WeekItem;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare type CalenDateWeekProps = {
3
4
  currentDate: string;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Schedule: () => JSX.Element;
3
2
  export default Schedule;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const ScheduleTimeItem: ({ timeList }: any) => JSX.Element;
3
4
  export default ScheduleTimeItem;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  export interface LoginProps {
3
4
  title: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const StripeSDK: ({ public_key, client_secret, children, lang, }: {
3
2
  public_key: string;
4
3
  client_secret?: string | undefined;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const SetupForm: ({ onReady, amount, order_id, payment_method, scene, }: any) => JSX.Element;
3
4
  export default SetupForm;
@@ -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
  import { WalletPassDataType } from '../../../PaymentMethods/WalletPass/serve';
2
3
  import './index.less';
3
4
  interface WalletUseListProps {
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const DateSectionCom: ({ value, onChange, showTime, className, style, useSpace, format, itemStyle, }: any) => JSX.Element;
2
3
  export default DateSectionCom;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const GenderField: (props: any) => JSX.Element;
2
3
  export default GenderField;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface CustomerListProps {
3
4
  value: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const Actor: ({ name }: {
3
2
  name: string;
4
3
  }) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface InfoProps {
3
2
  relation_id: any;
4
3
  action: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const ProductItemPreview: ({ item, onClick, onRemove, amountSymbol, style, className, }: any) => JSX.Element;
3
4
  export default ProductItemPreview;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const SelectResourcesTable: ({ value, onChange }: any) => JSX.Element;
3
4
  export default SelectResourcesTable;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  interface RuleSettingProps {
3
4
  value: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const Calendar: () => JSX.Element;
3
4
  export default Calendar;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ScheduleItem } from "../../type";
2
3
  import "./index.less";
3
4
  declare type ScheduleDetailListPropsType = {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const ResourcesModule: ({ product }: {
2
3
  product: any;
3
4
  }) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const ProductDetail: ({ form, currentProduct, }: {
4
3
  form: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Products: () => JSX.Element;
4
3
  export default Products;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare type Item = any;
3
4
  interface ProductItemProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface ProductListProps {
3
4
  loading: boolean;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare type ResourcesListProps = {
3
4
  list: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const RelationProduct: ({ value, onChange, }: {
4
3
  value?: any;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const useAddService: (id?: number, type?: string) => JSX.Element | null;
2
3
  export default useAddService;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const useClearCart: (key?: number | undefined) => JSX.Element;
2
3
  export default useClearCart;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { shoppingCartProps } from './type';
2
3
  declare const shoppingCart: ({ onCard, onAction, onChange, onAddProduct, onActiveKey, ...props }: shoppingCartProps) => JSX.Element;
3
4
  export default shoppingCart;