@pisell/private-materials 6.3.5 → 6.3.7

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 +13 -13
  7. package/build/lowcode/render/default/view.js +1 -1
  8. package/build/lowcode/view.js +8 -8
  9. package/es/components/appointmentBooking/components/Footer/index.d.ts +1 -0
  10. package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
  11. package/es/components/appointmentBooking/components/Header/index.d.ts +0 -1
  12. package/es/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
  13. package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
  14. package/es/components/booking/components/collapsibleList/utils.d.ts +0 -1
  15. package/es/components/booking/components/emptyBooking/index.d.ts +0 -1
  16. package/es/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
  17. package/es/components/booking/components/reloadResourceModal/index.d.ts +0 -1
  18. package/es/components/booking/deposit/index.d.ts +0 -1
  19. package/es/components/booking/editBookingModal/index.js +3 -4
  20. package/es/components/booking/forms/single/index.d.ts +0 -1
  21. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
  22. package/es/components/booking/info/date/index.d.ts +0 -1
  23. package/es/components/booking/info/dateRange/index.d.ts +1 -0
  24. package/es/components/booking/info/header/index.d.ts +0 -1
  25. package/es/components/booking/info/notes/index.d.ts +0 -1
  26. package/es/components/booking/info/service/actions/index.d.ts +0 -1
  27. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  28. package/es/components/booking/info/service/editService/BookingList/index.d.ts +1 -0
  29. package/es/components/booking/info/service/serviceList/index.d.ts +0 -1
  30. package/es/components/booking/info2/service/actions/index.d.ts +0 -1
  31. package/es/components/booking/info2/service/addService/index.d.ts +0 -1
  32. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  33. package/es/components/booking/info2/service/addService/utils.js +1 -1
  34. package/es/components/booking/info2/service/serviceList/index.d.ts +0 -1
  35. package/es/components/booking/materiels/contacts/index.d.ts +0 -1
  36. package/es/components/booking/materiels/duration/index.d.ts +0 -1
  37. package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
  38. package/es/components/booking/notes/NoteBlock/index.d.ts +0 -1
  39. package/es/components/eftpos/index.d.ts +0 -1
  40. package/es/components/eftpos/pos.d.ts +0 -1
  41. package/es/components/eftposPay/amount.d.ts +0 -1
  42. package/es/components/eftposPay/component/fail/network.d.ts +0 -1
  43. package/es/components/eftposPay/component/manual/index.d.ts +0 -1
  44. package/es/components/eftposPay/component/signature/index.d.ts +0 -1
  45. package/es/components/eftposPay/device.d.ts +0 -1
  46. package/es/components/eftposPay/payo/config.d.ts +0 -1
  47. package/es/components/eftposPay/store/index.d.ts +1 -1
  48. package/es/components/eftposPay/tip.d.ts +0 -1
  49. package/es/components/eftposPay/windcave/receiptAction.d.ts +0 -1
  50. package/es/components/eftposPay/windcave/windcave.d.ts +0 -1
  51. package/es/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
  52. package/es/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  53. package/es/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  54. package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -0
  55. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  56. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
  57. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
  58. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
  59. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  60. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  61. package/es/components/eventBooking/components/progressBar/index.js +20 -0
  62. package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
  63. package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -0
  64. package/es/components/eventBooking/index.d.ts +0 -1
  65. package/es/components/login/index.d.ts +0 -1
  66. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -1
  67. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
  68. package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +1 -0
  69. package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.js +12 -2
  70. package/es/components/pay/toC/PaymentMethods/WalletPass/index.js +31 -24
  71. package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
  72. package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
  73. package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
  74. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
  75. package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
  76. package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
  77. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
  78. package/es/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
  79. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
  80. package/es/components/productExtension/index.d.ts +0 -1
  81. package/es/components/ruleSetting/ruleBorder/index.d.ts +0 -1
  82. package/es/components/schedules/calendar/index.d.ts +0 -1
  83. package/es/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
  84. package/es/components/schedules/components/ScheduleList/index.d.ts +0 -1
  85. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
  86. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
  87. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
  88. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
  89. package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
  90. package/es/components/schedules/products/list/ProductItem/index.d.ts +0 -1
  91. package/es/components/schedules/products/list/index.d.ts +0 -1
  92. package/es/components/schedules/resources/index.d.ts +0 -1
  93. package/es/components/schedules/resources/list/index.d.ts +0 -1
  94. package/es/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
  95. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
  96. package/es/components/schedules/schedules/index.d.ts +0 -1
  97. package/es/components/schedules/utils.d.ts +1 -1
  98. package/es/components/shoppingCart/index.d.ts +0 -1
  99. package/es/components/taxSelect/index.d.ts +0 -1
  100. package/es/components/wallet/Detail/index.js +2 -2
  101. package/es/components/wallet/components/WalletCard.js +3 -2
  102. package/es/components/wallet/hooks/useWalletCard.d.ts +0 -1
  103. package/es/components/workSpaceList/components/Modal/index.d.ts +1 -0
  104. package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
  105. package/es/utils/index.d.ts +1 -1
  106. package/lib/components/appointmentBooking/components/Footer/index.d.ts +1 -0
  107. package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
  108. package/lib/components/appointmentBooking/components/Header/index.d.ts +0 -1
  109. package/lib/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
  110. package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
  111. package/lib/components/booking/components/collapsibleList/utils.d.ts +0 -1
  112. package/lib/components/booking/components/emptyBooking/index.d.ts +0 -1
  113. package/lib/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
  114. package/lib/components/booking/components/reloadResourceModal/index.d.ts +0 -1
  115. package/lib/components/booking/deposit/index.d.ts +0 -1
  116. package/lib/components/booking/editBookingModal/index.js +3 -4
  117. package/lib/components/booking/forms/single/index.d.ts +0 -1
  118. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
  119. package/lib/components/booking/info/date/index.d.ts +0 -1
  120. package/lib/components/booking/info/dateRange/index.d.ts +1 -0
  121. package/lib/components/booking/info/header/index.d.ts +0 -1
  122. package/lib/components/booking/info/notes/index.d.ts +0 -1
  123. package/lib/components/booking/info/service/actions/index.d.ts +0 -1
  124. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  125. package/lib/components/booking/info/service/editService/BookingList/index.d.ts +1 -0
  126. package/lib/components/booking/info/service/serviceList/index.d.ts +0 -1
  127. package/lib/components/booking/info2/service/actions/index.d.ts +0 -1
  128. package/lib/components/booking/info2/service/addService/index.d.ts +0 -1
  129. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  130. package/lib/components/booking/info2/service/addService/utils.js +1 -1
  131. package/lib/components/booking/info2/service/serviceList/index.d.ts +0 -1
  132. package/lib/components/booking/materiels/contacts/index.d.ts +0 -1
  133. package/lib/components/booking/materiels/duration/index.d.ts +0 -1
  134. package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
  135. package/lib/components/booking/notes/NoteBlock/index.d.ts +0 -1
  136. package/lib/components/eftpos/index.d.ts +0 -1
  137. package/lib/components/eftpos/pos.d.ts +0 -1
  138. package/lib/components/eftposPay/amount.d.ts +0 -1
  139. package/lib/components/eftposPay/component/fail/network.d.ts +0 -1
  140. package/lib/components/eftposPay/component/manual/index.d.ts +0 -1
  141. package/lib/components/eftposPay/component/signature/index.d.ts +0 -1
  142. package/lib/components/eftposPay/device.d.ts +0 -1
  143. package/lib/components/eftposPay/payo/config.d.ts +0 -1
  144. package/lib/components/eftposPay/store/index.d.ts +1 -1
  145. package/lib/components/eftposPay/tip.d.ts +0 -1
  146. package/lib/components/eftposPay/windcave/receiptAction.d.ts +0 -1
  147. package/lib/components/eftposPay/windcave/windcave.d.ts +0 -1
  148. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
  149. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  150. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  151. package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -0
  152. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  153. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
  154. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
  155. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
  156. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  157. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  158. package/lib/components/eventBooking/components/progressBar/index.js +18 -0
  159. package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
  160. package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -0
  161. package/lib/components/eventBooking/index.d.ts +0 -1
  162. package/lib/components/login/index.d.ts +0 -1
  163. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -1
  164. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
  165. package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +1 -0
  166. package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.js +9 -2
  167. package/lib/components/pay/toC/PaymentMethods/WalletPass/index.js +6 -2
  168. package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
  169. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
  170. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
  171. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
  172. package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
  173. package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
  174. package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
  175. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
  176. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
  177. package/lib/components/productExtension/index.d.ts +0 -1
  178. package/lib/components/ruleSetting/ruleBorder/index.d.ts +0 -1
  179. package/lib/components/schedules/calendar/index.d.ts +0 -1
  180. package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
  181. package/lib/components/schedules/components/ScheduleList/index.d.ts +0 -1
  182. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
  183. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
  184. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
  185. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
  186. package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
  187. package/lib/components/schedules/products/list/ProductItem/index.d.ts +0 -1
  188. package/lib/components/schedules/products/list/index.d.ts +0 -1
  189. package/lib/components/schedules/resources/index.d.ts +0 -1
  190. package/lib/components/schedules/resources/list/index.d.ts +0 -1
  191. package/lib/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
  192. package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
  193. package/lib/components/schedules/schedules/index.d.ts +0 -1
  194. package/lib/components/schedules/utils.d.ts +1 -1
  195. package/lib/components/shoppingCart/index.d.ts +0 -1
  196. package/lib/components/taxSelect/index.d.ts +0 -1
  197. package/lib/components/wallet/Detail/index.js +3 -3
  198. package/lib/components/wallet/components/WalletCard.js +1 -1
  199. package/lib/components/wallet/hooks/useWalletCard.d.ts +0 -1
  200. package/lib/components/workSpaceList/components/Modal/index.d.ts +1 -0
  201. package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
  202. package/lib/utils/index.d.ts +1 -1
  203. package/package.json +2 -2
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  interface RuleSettingProps {
4
3
  value: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const Calendar: () => JSX.Element;
4
3
  export default Calendar;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ScheduleItem } from "../../type";
3
2
  import "./index.less";
4
3
  declare type ScheduleDetailListPropsType = {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ButtonProps } from 'antd';
3
2
  import { ScheduleItem } from '../../type';
4
3
  import './index.less';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const MaxParticipantsModule: ({ form, value, onChange, useSchedule, isAutoChange, onData, }: {
4
3
  form: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const ResourcesModule: ({ product }: {
3
2
  product: any;
4
3
  }) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const AddSchedules: ({ value, onChange, drawerContainer, isSelf }: any) => JSX.Element;
4
3
  export default AddSchedules;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare type Value = number[];
4
3
  declare const SchedulesModule: ({ value, onChange, drawerContainer, ruleFn, tabKey, previewItemChange, isSelf, isTitle, }: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const ProductDetailDrawer: () => JSX.Element;
4
3
  export default ProductDetailDrawer;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare type Item = any;
4
3
  interface ProductItemProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface ProductListProps {
4
3
  loading: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Resources: () => JSX.Element;
4
3
  export default Resources;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare type ResourcesListProps = {
4
3
  list: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ScheduleItem } from '../../type';
3
2
  import './index.less';
4
3
  declare type AllSchedulesPropsType = {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { DrawerProps } from "antd";
3
2
  import { ScheduleItem } from "../../type";
4
3
  import "./index.less";
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const SchedulesConnect: () => JSX.Element;
3
2
  export default SchedulesConnect;
@@ -17,6 +17,6 @@ declare let modal: Omit<ModalStaticFunctions, "warn">;
17
17
  export declare const setModal: (m: Omit<ModalStaticFunctions, "warn">) => void;
18
18
  export declare const saveConfirm: () => Promise<{
19
19
  destroy: () => void;
20
- update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
20
+ update: (configUpdate: import("antd/es/modal/interface").ModalFuncProps | ((prevConfig: import("antd/es/modal/interface").ModalFuncProps) => import("antd/es/modal/interface").ModalFuncProps)) => void;
21
21
  }>;
22
22
  export { modal };
@@ -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 { SelectProps } from "antd";
3
2
  import "./index.less";
4
3
  interface TaxSelectProps {
@@ -30,7 +30,7 @@ var Text = Typography.Text;
30
30
  dayjs.extend(timezone);
31
31
  dayjs.extend(utc);
32
32
  var Detail = /*#__PURE__*/forwardRef(function (props, ref) {
33
- var _context$appHelper, _utils$getStore, _dvaStore$core, _context$appHelper2, _store$getState, _detail$machinecode_c;
33
+ var _context$appHelper, _utils$getStore, _dvaStore$core, _context$appHelper2, _store$getState, _utils$interaction, _utils$interaction$is, _detail$machinecode_c;
34
34
  var _props$detail = props.detail,
35
35
  detail = _props$detail === void 0 ? {} : _props$detail,
36
36
  _props$buttonGroupLis = props.buttonGroupList,
@@ -817,7 +817,7 @@ var Detail = /*#__PURE__*/forwardRef(function (props, ref) {
817
817
  return /*#__PURE__*/React.createElement("div", {
818
818
  className: "wallet-detail".concat(platform === 'h5' ? ' wallet-detail-h5' : ' wallet-detail-pc', " ").concat(className || ''),
819
819
  ref: detailWrapperRef
820
- }, (platform === 'h5' || showWalletBar) && /*#__PURE__*/React.createElement("div", {
820
+ }, (platform === 'h5' || showWalletBar) && !(utils !== null && utils !== void 0 && (_utils$interaction = utils.interaction) !== null && _utils$interaction !== void 0 && (_utils$interaction = _utils$interaction.utils) !== null && _utils$interaction !== void 0 && (_utils$interaction$is = _utils$interaction.isAppEnv) !== null && _utils$interaction$is !== void 0 && _utils$interaction$is.call(_utils$interaction)) && /*#__PURE__*/React.createElement("div", {
821
821
  className: "wallet-detail-header"
822
822
  }, /*#__PURE__*/React.createElement(WalletBar, {
823
823
  setup: "detail",
@@ -62,8 +62,9 @@ var WalletCard = function WalletCard(_ref) {
62
62
  disabled: isDisabled,
63
63
  showDisabledReason: isDisabled,
64
64
  disabledReason: disabledReason,
65
- propStyle: {
66
- marginBottom: 16
65
+ style: {
66
+ marginBottom: 16,
67
+ width: '100%'
67
68
  },
68
69
  showBalanceSymbol: !['point_card', 'good_pass'].includes(tag),
69
70
  active: isActive,
@@ -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 { Modal as AntModal, ModalFuncProps as AntModalFuncProps, ModalProps as AntModalProps } from 'antd';
2
3
  import './index.less';
3
4
  interface ModalProps extends AntModalProps {
@@ -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;
@@ -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").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
21
+ update: (configUpdate: import("antd/es/modal/interface").ModalFuncProps | ((prevConfig: import("antd/es/modal/interface").ModalFuncProps) => import("antd/es/modal/interface").ModalFuncProps)) => void;
22
22
  }>;
23
23
  export { modal };
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Footer: ({ onNext, isOpen }: any) => JSX.Element;
3
4
  export default Footer;
@@ -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
  declare const Header: () => JSX.Element;
4
3
  export default Header;
@@ -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
  declare const SelectProductItem: ({ item, onClick, onChangeQuantity, amountSymbol, style, className, disabled, }: any) => JSX.Element;
4
3
  export default SelectProductItem;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare const renderBundles: (item: any, amountSymbol: string) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @title: 空状态
4
3
  * @description:
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const FooterMenus: ({ state, menuChange, items }: any) => JSX.Element | null;
4
3
  export default FooterMenus;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface IProps {
4
3
  modal: any;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Deposit: (props: any) => JSX.Element;
3
2
  export default Deposit;
@@ -60,6 +60,7 @@ var EditBookingModal = (props, ref) => {
60
60
  return {
61
61
  open: (params2) => {
62
62
  console.log("change", params2);
63
+ form.resetFields();
63
64
  setParams(params2);
64
65
  setOpen(true);
65
66
  }
@@ -159,9 +160,7 @@ var EditBookingModal = (props, ref) => {
159
160
  });
160
161
  }, [data]);
161
162
  const updateResource = (resource) => {
162
- form.setFieldsValue({
163
- resource
164
- });
163
+ form.setFieldValue("resource", resource);
165
164
  };
166
165
  const originCacheItem = (0, import_react.useMemo)(() => {
167
166
  if (!data) {
@@ -211,9 +210,9 @@ var EditBookingModal = (props, ref) => {
211
210
  };
212
211
  }, [data, useToDate, useResource]);
213
212
  const initState = () => {
214
- form.resetFields();
215
213
  setData(null);
216
214
  setOpen(false);
215
+ form.resetFields();
217
216
  };
218
217
  const onCancel = () => {
219
218
  initState();
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  /**
4
3
  * @title: 表单选择器
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FormState } from '../../../model';
3
2
  interface useClientFnParams {
4
3
  state: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  export declare const updateServiceDate: (services: any[], date: any, isTime: boolean) => any[];
4
3
  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,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const header: ({ state, dispatch }: any) => JSX.Element;
4
3
  export default header;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Notes: () => JSX.Element | null;
3
2
  export default Notes;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const Actions: ({ currentService }: {
4
3
  currentService: any;
@@ -6,7 +6,7 @@ export declare const getDurationProps: ({ cacheItem, useStartTime, currentResour
6
6
  type: string;
7
7
  value: number;
8
8
  };
9
- locale: string;
9
+ locale: any;
10
10
  slice: any;
11
11
  selectProps: {
12
12
  size: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const BookingList: ({ items }: {
2
3
  items: any[];
3
4
  }) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ServiceList: ({ onEdit }: {
4
3
  onEdit: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import '../../../info/service/actions/index.less';
3
2
  declare const Actions: ({ currentService }: {
4
3
  currentService: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PisellDrawerProps } from '../../../components/drawer';
3
2
  import '../../../info/service/addService/index.less';
4
3
  interface AddServiceProps {
@@ -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;
@@ -233,7 +233,7 @@ var setDefaultResource = ({ cacheItem, resources }) => {
233
233
  let resourceId = Number(serviceParams == null ? void 0 : serviceParams.resource_id);
234
234
  for (let item of resources) {
235
235
  const renderList = item.renderList.filter(
236
- (d) => d.is_default == 1 || d.id === resourceId
236
+ (d) => d.id === resourceId
237
237
  );
238
238
  let defaultOriginalResource = [];
239
239
  if (renderList.length === 0) {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ServiceList: ({ onEdit }: {
4
3
  onEdit: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare type ContactType = {
4
3
  country_calling_code: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SelectProps } from 'antd';
3
2
  interface DurationProps extends SelectProps {
4
3
  locale?: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  export interface InfoProps {
4
3
  isEdit: boolean;
@@ -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 { Eftpos, DeviceStatus } from './const';
3
2
  import './index.less';
4
3
  interface PosProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DeviceProp } from "./const";
3
2
  interface PosProps {
4
3
  eftposName: string;
@@ -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 { ActionProps } from '../../const';
3
2
  /**
4
3
  * @title: 断网(客户端)提示页
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ActionProps } from '../../const';
3
2
  import './index.less';
4
3
  /**
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ActionProps } from '../../const';
3
2
  /**
4
3
  * @title: 取消签名确认页
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PayProps, PosProps } from './const';
3
2
  import './device.less';
4
3
  /**
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { StatusEnum } from '../const';
3
2
  export declare const POS: ({ api, onChange, }: {
4
3
  api: {
@@ -298,7 +298,7 @@ export declare const backUpFree: (payload: Partial<State>) => {
298
298
  mode?: "refund" | "pay" | "fullPay" | "query" | undefined;
299
299
  order_id?: string | number | undefined;
300
300
  eftpos?: "payo" | "tyro" | "windcave" | "stripe" | "linkly" | undefined;
301
- action?: "amount" | "deviceList" | "pay" | undefined;
301
+ action?: "amount" | "pay" | "deviceList" | undefined;
302
302
  key?: number | undefined;
303
303
  step?: number | undefined;
304
304
  title?: string | undefined;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './tip.less';
3
2
  /**
4
3
  * @title: 支付状态未知页面
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @title: 按钮操作区
4
3
  * @description: 仅包含签名
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: ({ api, onChange, formatAmount, }: {
3
2
  api: any;
4
3
  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,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,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,2 @@
1
- /// <reference types="react" />
2
1
  declare const SelectHolderModal: (props: any) => JSX.Element;
3
2
  export default SelectHolderModal;
@@ -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 './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 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;
@@ -64,6 +64,24 @@ var ProgressBar = ({
64
64
  const handleOk = () => {
65
65
  var _a2, _b;
66
66
  if ((_b = (_a2 = interaction == null ? void 0 : interaction.utils) == null ? void 0 : _a2.isAppEnv) == null ? void 0 : _b.call(_a2)) {
67
+ const url = window.location.href;
68
+ if (url.includes("isByTabbar")) {
69
+ removeSessionStorage == null ? void 0 : removeSessionStorage();
70
+ const urlParams = new URLSearchParams(window.location.search);
71
+ urlParams.delete("cacheId");
72
+ setOpen(false);
73
+ interaction.utils.postMessageToApp({
74
+ module: "global",
75
+ key: "openNative",
76
+ data: {
77
+ link: {
78
+ page: "home"
79
+ }
80
+ }
81
+ });
82
+ window.location.href = window.location.pathname + "?" + urlParams.toString();
83
+ return;
84
+ }
67
85
  interaction.utils.postMessageToApp({
68
86
  module: "global",
69
87
  key: "paymentResultAction",
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare type Item = any;
4
3
  interface ProductItemProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { CalendarDataItem } from '../../type';
2
3
  declare type CalendarItemProps = {
3
4
  month: string;
@@ -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 "./index.less";
3
2
  export interface LoginProps {
4
3
  title: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ThreedsLoading: ({ title, showSuccessBackButton, onSuccessBack }: any) => JSX.Element;
4
3
  export default ThreedsLoading;
@@ -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;