@pisell/private-materials 3.3.38 → 3.3.40

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 (236) 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/render/default/view.js +4 -4
  7. package/build/lowcode/view.js +4 -4
  8. package/es/components/Sales/Summary/utils.d.ts +1 -1
  9. package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
  10. package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -1
  11. package/es/components/appointmentBooking/components/Cart/index.d.ts +0 -1
  12. package/es/components/appointmentBooking/components/ConfirmInformation/index.js +32 -24
  13. package/es/components/appointmentBooking/components/Content/index.d.ts +0 -1
  14. package/es/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
  15. package/es/components/appointmentBooking/components/Footer/index.d.ts +0 -1
  16. package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  17. package/es/components/appointmentBooking/components/Header/index.d.ts +0 -1
  18. package/es/components/appointmentBooking/components/Resource/index.js +1 -0
  19. package/es/components/appointmentBooking/components/Services/index.js +13 -8
  20. package/es/components/appointmentBooking/components/Voucher/index.d.ts +0 -1
  21. package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -1
  22. package/es/components/appointmentBooking/deposit/index.d.ts +0 -1
  23. package/es/components/appointmentBooking/hooks.js +3 -1
  24. package/es/components/appointmentBooking/index.d.ts +0 -1
  25. package/es/components/appointmentBooking/utils.d.ts +1 -1
  26. package/es/components/appointmentBooking/utils.js +3 -1
  27. package/es/components/booking/addons/model.d.ts +1 -10
  28. package/es/components/booking/addons/model.js +5 -5
  29. package/es/components/booking/components/TabProduct/selectProductItem/index.js +4 -4
  30. package/es/components/booking/components/TabProduct/tabs/index.js +5 -1
  31. package/es/components/booking/components/browserSelect/index.js +1 -1
  32. package/es/components/booking/components/voucher/index.d.ts +0 -1
  33. package/es/components/booking/forms/footer.d.ts +0 -1
  34. package/es/components/booking/forms/model.d.ts +1 -10
  35. package/es/components/booking/forms/model.js +5 -5
  36. package/es/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
  37. package/es/components/booking/hooks/useClearCart.d.ts +0 -1
  38. package/es/components/booking/info/dateRange/index.d.ts +0 -1
  39. package/es/components/booking/info/model.d.ts +1 -10
  40. package/es/components/booking/info/service/addService/index.d.ts +0 -1
  41. package/es/components/booking/info/service/addTimeModal/index.d.ts +0 -1
  42. package/es/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
  43. package/es/components/booking/info/service/like/index.js +1 -1
  44. package/es/components/booking/info/service/serviceItem/index.d.ts +0 -1
  45. package/es/components/booking/info2/service/serviceItem/index.d.ts +0 -1
  46. package/es/components/booking/materiels/startTime/index.js +1 -1
  47. package/es/components/booking/model.d.ts +1 -9
  48. package/es/components/booking/notes/NoteBlock/NoteItem/index.js +1 -1
  49. package/es/components/booking/notes/NoteBlock/index.js +11 -11
  50. package/es/components/booking/notes/model.d.ts +1 -10
  51. package/es/components/booking/notes/model.js +5 -5
  52. package/es/components/booking/payments/model.d.ts +1 -10
  53. package/es/components/booking/payments/model.js +5 -5
  54. package/es/components/eftposPay/amount.d.ts +1 -1
  55. package/es/components/eftposPay/component/fail/failCustom.d.ts +0 -1
  56. package/es/components/eftposPay/component/fail/index.d.ts +0 -1
  57. package/es/components/eftposPay/component/fail/unknow.d.ts +0 -1
  58. package/es/components/eftposPay/device.d.ts +1 -1
  59. package/es/components/eftposPay/hooks.d.ts +2 -2
  60. package/es/components/eftposPay/index.d.ts +0 -1
  61. package/es/components/eftposPay/pay.d.ts +0 -1
  62. package/es/components/eftposPay/store/index.d.ts +4 -4
  63. package/es/components/eftposPay/windcave/windcave.d.ts +0 -1
  64. package/es/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  65. package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +0 -1
  66. package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.js +41 -34
  67. package/es/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -1
  68. package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -1
  69. package/es/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
  70. package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
  71. package/es/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
  72. package/es/components/eventBooking/components/Provider/Event/index.js +1 -1
  73. package/es/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
  74. package/es/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
  75. package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  76. package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
  77. package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
  78. package/es/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
  79. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
  80. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  81. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  82. package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
  83. package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
  84. package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
  85. package/es/components/eventBooking/utils.js +8 -8
  86. package/es/components/listComponent/index.js +5 -5
  87. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  88. package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  89. package/es/components/pay/toC/model.d.ts +1 -9
  90. package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
  91. package/es/components/pisellSelectCustomerModal/index.d.ts +0 -1
  92. package/es/components/productExtension/card/index.js +3 -3
  93. package/es/components/productExtension/fields/Actor/CutOffTime/index.js +1 -1
  94. package/es/components/productExtension/fields/Forms/index.js +12 -12
  95. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.js +1 -1
  96. package/es/components/productExtension/fields/SelectProducts/server.js +2 -2
  97. package/es/components/productExtension/fields/SelectResourcesTable/server.js +2 -2
  98. package/es/components/productExtension/server.js +2 -2
  99. package/es/components/productSelect/components/TabProduct/index.d.ts +0 -1
  100. package/es/components/productSelect/components/productGroup/index.d.ts +0 -1
  101. package/es/components/ruleSetting/index.d.ts +0 -1
  102. package/es/components/ruleSetting/ruleBorder/index.js +1 -1
  103. package/es/components/schedules/calendar/index.js +4 -4
  104. package/es/components/schedules/calendar/serve.js +2 -2
  105. package/es/components/schedules/components/CurrentDay/index.js +5 -5
  106. package/es/components/schedules/components/CurrentDay/serve.js +2 -2
  107. package/es/components/schedules/components/DropdownSort/index.js +1 -1
  108. package/es/components/schedules/components/ResourceList/index.js +1 -1
  109. package/es/components/schedules/components/Search/index.js +5 -5
  110. package/es/components/schedules/model.d.ts +1 -9
  111. package/es/components/schedules/model.js +5 -5
  112. package/es/components/schedules/openHours/index.js +1 -1
  113. package/es/components/schedules/openHours/serve.js +2 -2
  114. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.js +1 -1
  115. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.js +5 -5
  116. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.js +4 -4
  117. package/es/components/schedules/products/ProductDetailDrawer/index.js +3 -3
  118. package/es/components/schedules/products/serve.js +2 -2
  119. package/es/components/schedules/products/utils.js +5 -5
  120. package/es/components/schedules/resources/detail/detailContent.js +2 -2
  121. package/es/components/schedules/resources/detail/index.js +10 -10
  122. package/es/components/schedules/resources/list/index.js +2 -2
  123. package/es/components/schedules/resources/relationProduct/index.js +1 -1
  124. package/es/components/schedules/resources/serve.js +2 -2
  125. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.js +9 -9
  126. package/es/components/schedules/schedules/utils.js +1 -1
  127. package/es/components/schedules/utils.js +4 -4
  128. package/es/components/selectModal/index.js +2 -2
  129. package/es/components/shoppingCart/components/Cart/Product.d.ts +0 -1
  130. package/es/components/shoppingCart/components/Cart/index.d.ts +0 -1
  131. package/es/components/shoppingCart/hooks/useAddService.d.ts +0 -1
  132. package/es/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
  133. package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -1
  134. package/es/components/ticketBooking/components/timeBar/index.d.ts +0 -1
  135. package/es/components/wallet/Detail/model.d.ts +1 -13
  136. package/es/components/wallet/DiscountCard/model.d.ts +1 -14
  137. package/es/components/wallet/PointCard/model.d.ts +1 -13
  138. package/es/components/wallet/RechargeableCard/model.d.ts +1 -29
  139. package/es/components/wallet/Voucher/model.d.ts +1 -13
  140. package/es/components/wallet/model.d.ts +1 -9
  141. package/es/components/workSpaceList/components/Modal/index.d.ts +0 -1
  142. package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
  143. package/es/hooks/useComponents.js +1 -1
  144. package/lib/components/Sales/Summary/utils.d.ts +1 -1
  145. package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
  146. package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -1
  147. package/lib/components/appointmentBooking/components/Cart/index.d.ts +0 -1
  148. package/lib/components/appointmentBooking/components/ConfirmInformation/index.js +10 -7
  149. package/lib/components/appointmentBooking/components/Content/index.d.ts +0 -1
  150. package/lib/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
  151. package/lib/components/appointmentBooking/components/Footer/index.d.ts +0 -1
  152. package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  153. package/lib/components/appointmentBooking/components/Header/index.d.ts +0 -1
  154. package/lib/components/appointmentBooking/components/Resource/index.js +1 -0
  155. package/lib/components/appointmentBooking/components/Services/index.js +11 -7
  156. package/lib/components/appointmentBooking/components/Voucher/index.d.ts +0 -1
  157. package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -1
  158. package/lib/components/appointmentBooking/deposit/index.d.ts +0 -1
  159. package/lib/components/appointmentBooking/hooks.js +2 -2
  160. package/lib/components/appointmentBooking/index.d.ts +0 -1
  161. package/lib/components/appointmentBooking/utils.d.ts +1 -1
  162. package/lib/components/appointmentBooking/utils.js +2 -1
  163. package/lib/components/booking/addons/model.d.ts +1 -10
  164. package/lib/components/booking/components/voucher/index.d.ts +0 -1
  165. package/lib/components/booking/forms/footer.d.ts +0 -1
  166. package/lib/components/booking/forms/model.d.ts +1 -10
  167. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
  168. package/lib/components/booking/hooks/useClearCart.d.ts +0 -1
  169. package/lib/components/booking/info/dateRange/index.d.ts +0 -1
  170. package/lib/components/booking/info/model.d.ts +1 -10
  171. package/lib/components/booking/info/service/addService/index.d.ts +0 -1
  172. package/lib/components/booking/info/service/addTimeModal/index.d.ts +0 -1
  173. package/lib/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
  174. package/lib/components/booking/info/service/serviceItem/index.d.ts +0 -1
  175. package/lib/components/booking/info2/service/serviceItem/index.d.ts +0 -1
  176. package/lib/components/booking/model.d.ts +1 -9
  177. package/lib/components/booking/notes/model.d.ts +1 -10
  178. package/lib/components/booking/payments/model.d.ts +1 -10
  179. package/lib/components/eftposPay/amount.d.ts +1 -1
  180. package/lib/components/eftposPay/component/fail/failCustom.d.ts +0 -1
  181. package/lib/components/eftposPay/component/fail/index.d.ts +0 -1
  182. package/lib/components/eftposPay/component/fail/unknow.d.ts +0 -1
  183. package/lib/components/eftposPay/device.d.ts +1 -1
  184. package/lib/components/eftposPay/hooks.d.ts +2 -2
  185. package/lib/components/eftposPay/index.d.ts +0 -1
  186. package/lib/components/eftposPay/pay.d.ts +0 -1
  187. package/lib/components/eftposPay/store/index.d.ts +4 -4
  188. package/lib/components/eftposPay/windcave/windcave.d.ts +0 -1
  189. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  190. package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +0 -1
  191. package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.js +26 -23
  192. package/lib/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -1
  193. package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -1
  194. package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
  195. package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
  196. package/lib/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
  197. package/lib/components/eventBooking/components/Provider/Event/index.js +1 -1
  198. package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
  199. package/lib/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
  200. package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  201. package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
  202. package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
  203. package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
  204. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
  205. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  206. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  207. package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
  208. package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
  209. package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
  210. package/lib/components/eventBooking/utils.js +5 -3
  211. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  212. package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  213. package/lib/components/pay/toC/model.d.ts +1 -9
  214. package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
  215. package/lib/components/pisellSelectCustomerModal/index.d.ts +0 -1
  216. package/lib/components/productSelect/components/TabProduct/index.d.ts +0 -1
  217. package/lib/components/productSelect/components/productGroup/index.d.ts +0 -1
  218. package/lib/components/ruleSetting/index.d.ts +0 -1
  219. package/lib/components/schedules/model.d.ts +1 -9
  220. package/lib/components/schedules/schedules/utils.js +1 -1
  221. package/lib/components/schedules/utils.js +1 -1
  222. package/lib/components/shoppingCart/components/Cart/Product.d.ts +0 -1
  223. package/lib/components/shoppingCart/components/Cart/index.d.ts +0 -1
  224. package/lib/components/shoppingCart/hooks/useAddService.d.ts +0 -1
  225. package/lib/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
  226. package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -1
  227. package/lib/components/ticketBooking/components/timeBar/index.d.ts +0 -1
  228. package/lib/components/wallet/Detail/model.d.ts +1 -13
  229. package/lib/components/wallet/DiscountCard/model.d.ts +1 -14
  230. package/lib/components/wallet/PointCard/model.d.ts +1 -13
  231. package/lib/components/wallet/RechargeableCard/model.d.ts +1 -29
  232. package/lib/components/wallet/Voucher/model.d.ts +1 -13
  233. package/lib/components/wallet/model.d.ts +1 -9
  234. package/lib/components/workSpaceList/components/Modal/index.d.ts +0 -1
  235. package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
  236. package/package.json +3 -3
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Total: ({ className, isFooter }: any) => JSX.Element;
4
3
  export default Total;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const CartItem: () => JSX.Element;
4
3
  export default CartItem;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Cart: ({ open, onCancel }: any) => JSX.Element;
4
3
  export default Cart;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const EmptyHolderModal: (props: any) => JSX.Element;
4
3
  export default EmptyHolderModal;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Event: () => JSX.Element;
4
3
  export default Event;
@@ -69,7 +69,7 @@ var Event = () => {
69
69
  customer_id: customer == null ? void 0 : customer.id,
70
70
  open_quotation: 1
71
71
  });
72
- }, [(_b = (_a = data == null ? void 0 : data.resourceData) == null ? void 0 : _a.currentResourceItem) == null ? void 0 : _b.id, customer]);
72
+ }, [(_b = (_a = data == null ? void 0 : data.resourceData) == null ? void 0 : _a.currentResourceItem) == null ? void 0 : _b.id, customer == null ? void 0 : customer.id]);
73
73
  const handleClick = (item) => {
74
74
  selectEvent(item);
75
75
  onOpenEventDetail(item);
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Footer: () => JSX.Element;
4
3
  export default Footer;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Information: () => JSX.Element;
4
3
  export default Information;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const InformationOptionsModal: (props: any) => JSX.Element;
4
3
  export default InformationOptionsModal;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const OrderProductModal: (props: any) => JSX.Element;
4
3
  export default OrderProductModal;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const RemoveOptionConfirmModal: (props: any) => JSX.Element;
3
2
  export default RemoveOptionConfirmModal;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Resource: () => JSX.Element;
4
3
  export default Resource;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare type CallToBookProps = {
3
2
  show: boolean;
4
3
  type: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const WeekItem: (props: any) => JSX.Element;
4
3
  export default WeekItem;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare type CalenDateWeekProps = {
4
3
  currentDate: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const BookingOptions: (props: {
3
2
  onChangeBookingOption?: ((bookingOption: any) => void) | undefined;
4
3
  }) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CalendarDataItem } from '../../type';
3
2
  declare type CalendarItemProps = {
4
3
  month: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ScheduleTimeItem: ({ timeList }: any) => JSX.Element;
4
3
  export default ScheduleTimeItem;
@@ -39,7 +39,9 @@ module.exports = __toCommonJS(utils_exports);
39
39
  var import_dayjs = __toESM(require("dayjs"));
40
40
  var import_useEngineContext = __toESM(require("../../hooks/useEngineContext"));
41
41
  var formatBackgroundColors = (colors) => {
42
- let _colors = Array.from(new Set(colors.map((color) => color == null ? void 0 : color.toLocaleLowerCase()) || [])).filter((d) => !!d);
42
+ let _colors = Array.from(
43
+ new Set(colors.map((color) => color == null ? void 0 : color.toLocaleLowerCase()) || [])
44
+ ).filter((d) => !!d);
43
45
  let colorStr = _colors.map((color, index) => {
44
46
  return `${color} ${index * 100 / _colors.length}% ${(index + 1) * 100 / _colors.length}%`;
45
47
  }).join(", ");
@@ -73,12 +75,12 @@ var formatMonthDisplay = (dateString) => {
73
75
  return date.toLocaleString(locale, { month: "long", year: "numeric" });
74
76
  };
75
77
  var resourceTitle = (data) => {
76
- var _a, _b, _c, _d, _e, _f, _g;
78
+ var _a, _b, _c, _d, _e, _f;
77
79
  const context = (0, import_useEngineContext.default)();
78
80
  const form = (_c = (_b = (_a = data == null ? void 0 : data.initData) == null ? void 0 : _a.boardSetting) == null ? void 0 : _b.event_v2_form) == null ? void 0 : _c.form;
79
81
  const title = ((_d = form == null ? void 0 : form.setting) == null ? void 0 : _d.title) || (form == null ? void 0 : form.title);
80
82
  const translation = (_f = (_e = context == null ? void 0 : context.appHelper) == null ? void 0 : _e.utils) == null ? void 0 : _f.translation;
81
- return (_g = translation(title)) == null ? void 0 : _g.toLowerCase();
83
+ return translation(title);
82
84
  };
83
85
  // Annotate the CommonJS export names for ESM import in node:
84
86
  0 && (module.exports = {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const SetupForm: ({ onReady, amount, order_id, payment_method, scene, }: any) => JSX.Element;
4
3
  export default SetupForm;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { WalletPassDataType } from '../../../PaymentMethods/WalletPass/serve';
3
2
  import './index.less';
4
3
  interface WalletUseListProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface FormState {
3
2
  platform: 'pc' | 'h5' | '' | undefined;
4
3
  order: any;
@@ -29,11 +28,4 @@ export interface PayGroup {
29
28
  pay_number?: string;
30
29
  _order: any;
31
30
  }
32
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
33
- state: FormState;
34
- } & {
35
- dispatch: (params: {
36
- type: string;
37
- payload: any;
38
- }) => void;
39
- }>;
31
+ export declare const Provider: any, Context: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface CustomerListProps {
4
3
  value: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PopoverProps } from 'antd';
3
2
  import { CustomerCardProps } from './CustomerCard';
4
3
  import './index.less';
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const TabProduct: (props: any) => JSX.Element;
3
2
  export default TabProduct;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  export interface ProductCardConfig {
4
3
  showImg: boolean;
@@ -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 { CalendarDataItem, ScheduleItem } from "./type";
3
2
  import dayjs from "dayjs";
4
3
  export interface FormState {
@@ -69,11 +68,4 @@ export interface FormState {
69
68
  };
70
69
  setGlobalState: Function | null;
71
70
  }
72
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
73
- state: FormState;
74
- } & {
75
- dispatch: (params: {
76
- type: string;
77
- payload: any;
78
- }) => void;
79
- }>;
71
+ export declare const Provider: any, Context: any;
@@ -144,7 +144,7 @@ var getDaysByRepeatWeek = (params, isGetRange) => {
144
144
  const _end = _start.add(scheduleDiff, "second");
145
145
  if (isGetRange) {
146
146
  if (excludedDaysMap.has(_start.format("YYYY-MM-DD"))) {
147
- startTmp = startTmp.day(1).add(frequency, "week");
147
+ startTmp = startTmp.day(1).add(frequency, "day");
148
148
  continue;
149
149
  }
150
150
  const arr = getDataRange({
@@ -27,8 +27,8 @@ __export(utils_exports, {
27
27
  module.exports = __toCommonJS(utils_exports);
28
28
  var import_utils = require("@pisell/utils");
29
29
  var Request = class {
30
+ request = {};
30
31
  constructor() {
31
- this.request = {};
32
32
  }
33
33
  setRequest(val) {
34
34
  this.request = val;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ProductProps } from '../../type';
3
2
  declare const Product: (props: ProductProps) => JSX.Element;
4
3
  export default Product;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Cart: () => JSX.Element;
4
3
  export default Cart;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const useAddService: (id?: number, type?: string) => JSX.Element | null;
3
2
  export default useAddService;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const useClearCart: (key?: number | undefined) => JSX.Element | null;
3
2
  export default useClearCart;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface AddServiceProps {
4
3
  onEdit?: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { Dayjs } from 'dayjs';
3
2
  import './index.less';
4
3
  interface ITimeBarProps {
@@ -1,13 +1 @@
1
- /// <reference types="react" />
2
- interface RechargeState {
3
- addWalletCard: any;
4
- }
5
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
6
- walletDetailState: RechargeState;
7
- } & {
8
- dispatch: (params: {
9
- type: string;
10
- payload: any;
11
- }) => void;
12
- }>;
13
- export {};
1
+ export declare const Provider: any, Context: any;
@@ -1,14 +1 @@
1
- /// <reference types="react" />
2
- interface RechargeState {
3
- total: number;
4
- setup?: 'menu' | 'list' | 'detail' | string;
5
- }
6
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
7
- state: RechargeState;
8
- } & {
9
- dispatch: (params: {
10
- type: string;
11
- payload: any;
12
- }) => void;
13
- }>;
14
- export {};
1
+ export declare const Provider: any, Context: any;
@@ -1,13 +1 @@
1
- /// <reference types="react" />
2
- interface RechargeState {
3
- total: number;
4
- }
5
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
6
- state: RechargeState;
7
- } & {
8
- dispatch: (params: {
9
- type: string;
10
- payload: any;
11
- }) => void;
12
- }>;
13
- export {};
1
+ export declare const Provider: any, Context: any;
@@ -1,29 +1 @@
1
- /// <reference types="react" />
2
- interface RechargeState {
3
- selectedGiftOptionId: string | null;
4
- cardList: Array<{
5
- id: string;
6
- name: string;
7
- price: number;
8
- }>;
9
- selectedItem: {
10
- id?: string;
11
- gift_price?: number;
12
- price?: number;
13
- name?: string;
14
- variant_id?: string;
15
- };
16
- productId?: string;
17
- detailId?: string;
18
- total: string | number;
19
- rechargeModalOpen: boolean;
20
- }
21
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
22
- state: RechargeState;
23
- } & {
24
- dispatch: (params: {
25
- type: string;
26
- payload: any;
27
- }) => void;
28
- }>;
29
- export {};
1
+ export declare const Provider: any, Context: any;
@@ -1,13 +1 @@
1
- /// <reference types="react" />
2
- interface RechargeState {
3
- total: 0;
4
- }
5
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
6
- state: RechargeState;
7
- } & {
8
- dispatch: (params: {
9
- type: string;
10
- payload: any;
11
- }) => void;
12
- }>;
13
- export {};
1
+ export declare const Provider: any, Context: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { IWalletListItemProps } from './serve';
3
2
  export interface WalletCardItemProps {
4
3
  id: string;
@@ -27,11 +26,4 @@ export interface WalletListProps {
27
26
  currentSearchListItemCode?: string;
28
27
  [key: string]: any;
29
28
  }
30
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
31
- global_wallet: WalletListProps;
32
- } & {
33
- dispatch: (params: {
34
- type: string;
35
- payload: any;
36
- }) => void;
37
- }>;
29
+ export declare const Provider: any, Context: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Modal as AntModal, ModalFuncProps as AntModalFuncProps, ModalProps as AntModalProps } from 'antd';
3
2
  import './index.less';
4
3
  interface ModalProps extends AntModalProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './../../index.less';
3
2
  declare const Search: () => JSX.Element;
4
3
  export default Search;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/private-materials",
3
- "version": "3.3.38",
3
+ "version": "3.3.40",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -60,9 +60,9 @@
60
60
  "rc-virtual-list": "^3.11.3",
61
61
  "decimal.js": "^10.4.3",
62
62
  "@pisell/utils": "1.0.42",
63
+ "@pisell/materials": "3.3.14",
63
64
  "@pisell/icon": "0.0.11",
64
- "@pisell/date-picker": "3.0.2",
65
- "@pisell/materials": "3.3.14"
65
+ "@pisell/date-picker": "3.0.2"
66
66
  },
67
67
  "peerDependencies": {
68
68
  "react": "^18.0.0",