@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
@@ -10,6 +10,7 @@ export interface WalletPassListProps {
10
10
  walletSetting: {
11
11
  name: string;
12
12
  };
13
+ onChangeDebounce?: boolean;
13
14
  }
14
15
  export declare type WalletPassListRef = {
15
16
  init: (params: MachineCodeListParams, formatList?: (val: WalletPassDataType[]) => WalletPassDataType[]) => void;
@@ -41,7 +41,7 @@ var import_utils2 = require("../utils");
41
41
  var import_index = require("./index.less");
42
42
  var WalletPassList = (0, import_react.forwardRef)(
43
43
  (props, ref) => {
44
- const { title, onChange, data: propsData, value, walletSetting } = props;
44
+ const { title, onChange, data: propsData, value, walletSetting, onLoadingChange, loading: propsLoading, onChangeDebounce } = props;
45
45
  const [data, setData] = (0, import_react.useState)(
46
46
  propsData || []
47
47
  );
@@ -51,6 +51,9 @@ var WalletPassList = (0, import_react.forwardRef)(
51
51
  setData(propsData);
52
52
  }
53
53
  }, [propsData]);
54
+ (0, import_react.useEffect)(() => {
55
+ setLoading(!!propsLoading);
56
+ }, [propsLoading]);
54
57
  const getList = async (params, formatList) => {
55
58
  setLoading(true);
56
59
  try {
@@ -70,6 +73,9 @@ var WalletPassList = (0, import_react.forwardRef)(
70
73
  (0, import_react.useImperativeHandle)(ref, () => ({
71
74
  init
72
75
  }));
76
+ (0, import_react.useEffect)(() => {
77
+ onLoadingChange == null ? void 0 : onLoadingChange(loading);
78
+ }, [loading]);
73
79
  const { availableList, disabledList } = (0, import_react.useMemo)(() => {
74
80
  const _disabledList = [];
75
81
  const _availableList = [];
@@ -111,7 +117,8 @@ var WalletPassList = (0, import_react.forwardRef)(
111
117
  value,
112
118
  onChange: handleChange,
113
119
  showEmpty: data.length === 0,
114
- empty
120
+ empty,
121
+ onChangeDebounce
115
122
  }
116
123
  ), !!disabledList.length && /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-walletPass-list-disabled" }, import_utils.locales.getText("tocPay.text.walletPassDisabled")), /* @__PURE__ */ import_react.default.createElement(
117
124
  import_materials.PisellCardList,
@@ -48,6 +48,7 @@ var WalletPass = (0, import_react.forwardRef)((props, ref) => {
48
48
  var _a;
49
49
  const { onWalletPassChange, walletPass, walletSetting } = props;
50
50
  const [currentWalletPass, setCurrentWalletPass] = (0, import_react.useState)(walletPass);
51
+ const [loading, setLoading] = (0, import_react.useState)(false);
51
52
  const [open, setOpen] = (0, import_react.useState)(false);
52
53
  const [searchOpen, setSearchOpen] = (0, import_react.useState)(false);
53
54
  const [addList, setAddList] = (0, import_react.useState)([]);
@@ -281,7 +282,9 @@ var WalletPass = (0, import_react.forwardRef)((props, ref) => {
281
282
  data: otherCustomerWalletPassList,
282
283
  title: import_utils.locales.getText("tocPay.text.couponCodesAdded"),
283
284
  onChange: handleOtherChange,
284
- value: selectValue
285
+ value: selectValue,
286
+ loading,
287
+ onChangeDebounce: true
285
288
  }
286
289
  ), /* @__PURE__ */ import_react.default.createElement(
287
290
  import_List.default,
@@ -290,7 +293,8 @@ var WalletPass = (0, import_react.forwardRef)((props, ref) => {
290
293
  title: walletSetting.name,
291
294
  onChange: handleCurrentChange,
292
295
  ref: listRef,
293
- value: selectValue
296
+ value: selectValue,
297
+ onLoadingChange: setLoading
294
298
  }
295
299
  ))
296
300
  ), /* @__PURE__ */ import_react.default.createElement(
@@ -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,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const DateSectionCom: ({ value, onChange, showTime, className, style, useSpace, format, itemStyle, }: any) => JSX.Element;
3
2
  export default DateSectionCom;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const GenderField: (props: any) => JSX.Element;
3
2
  export default GenderField;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface AddClientProps {
4
3
  onChange: (value: any) => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface RightPanelProps {
4
3
  value: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ProductItem: ({ item, onClick, amountSymbol, style, className, }: any) => JSX.Element;
4
3
  export default ProductItem;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const ProductItemPreview: ({ item, onClick, onRemove, amountSymbol, style, className, }: any) => JSX.Element;
4
3
  export default ProductItemPreview;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface valueType {
4
3
  }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const SelectResourcesTable: ({ value, onChange }: any) => JSX.Element;
4
3
  export default SelectResourcesTable;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  interface ProductExtensionProps {
4
3
  onDataChange: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  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 {
@@ -50,7 +50,7 @@ var { Text } = import_materials2.Typography;
50
50
  import_dayjs.default.extend(import_timezone.default);
51
51
  import_dayjs.default.extend(import_utc.default);
52
52
  var Detail = (0, import_react.forwardRef)((props, ref) => {
53
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j;
53
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m;
54
54
  const {
55
55
  detail = {},
56
56
  buttonGroupList = [[]],
@@ -545,7 +545,7 @@ var Detail = (0, import_react.forwardRef)((props, ref) => {
545
545
  className: `wallet-detail${platform === "h5" ? " wallet-detail-h5" : " wallet-detail-pc"} ${className || ""}`,
546
546
  ref: detailWrapperRef
547
547
  },
548
- (platform === "h5" || showWalletBar) && /* @__PURE__ */ import_react.default.createElement("div", { className: "wallet-detail-header" }, /* @__PURE__ */ import_react.default.createElement(import_components.WalletBar, { setup: "detail", onBack: handleBack })),
548
+ (platform === "h5" || showWalletBar) && !((_l = (_k = (_j = utils == null ? void 0 : utils.interaction) == null ? void 0 : _j.utils) == null ? void 0 : _k.isAppEnv) == null ? void 0 : _l.call(_k)) && /* @__PURE__ */ import_react.default.createElement("div", { className: "wallet-detail-header" }, /* @__PURE__ */ import_react.default.createElement(import_components.WalletBar, { setup: "detail", onBack: handleBack })),
549
549
  /* @__PURE__ */ import_react.default.createElement(
550
550
  "div",
551
551
  {
@@ -632,7 +632,7 @@ var Detail = (0, import_react.forwardRef)((props, ref) => {
632
632
  step: "detail",
633
633
  addWalletLoading,
634
634
  onAppleWalletClick: tag === "gift_card" ? addWalletCard : void 0,
635
- onRechargeClick: tag === "gift_card" && ((_j = detail == null ? void 0 : detail.machinecode_config) == null ? void 0 : _j.hide_recharge) === 0 ? handleRecharge : void 0,
635
+ onRechargeClick: tag === "gift_card" && ((_m = detail == null ? void 0 : detail.machinecode_config) == null ? void 0 : _m.hide_recharge) === 0 ? handleRecharge : void 0,
636
636
  platform,
637
637
  isIOS: (0, import_utils.isIos)()
638
638
  }
@@ -73,7 +73,7 @@ var WalletCard = ({
73
73
  disabled: isDisabled,
74
74
  showDisabledReason: isDisabled,
75
75
  disabledReason,
76
- propStyle: { marginBottom: 16 },
76
+ style: { marginBottom: 16, width: "100%" },
77
77
  showBalanceSymbol: !["point_card", "good_pass"].includes(tag),
78
78
  active: isActive,
79
79
  name: product_title,
@@ -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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/private-materials",
3
- "version": "6.3.5",
3
+ "version": "6.3.7",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -59,8 +59,8 @@
59
59
  "react-infinite-scroll-component": "^6.1.0",
60
60
  "rc-virtual-list": "^3.11.3",
61
61
  "decimal.js": "^10.4.3",
62
- "@pisell/materials": "6.3.1",
63
62
  "@pisell/utils": "3.0.0",
63
+ "@pisell/materials": "6.3.2",
64
64
  "@pisell/icon": "0.0.11",
65
65
  "@pisell/date-picker": "3.0.4"
66
66
  },