@pisell/private-materials 3.3.43 → 3.3.44

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 (222) 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/meta.js +1 -1
  5. package/build/lowcode/render/default/view.css +1 -1
  6. package/build/lowcode/render/default/view.js +5 -5
  7. package/build/lowcode/view.css +1 -1
  8. package/build/lowcode/view.js +5 -5
  9. package/es/businessModel/SalesModel/index.d.ts +0 -1
  10. package/es/components/Sales/Summary/utils.d.ts +1 -1
  11. package/es/components/appointmentBooking/components/Cart/ContinueButton/index.js +4 -25
  12. package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
  13. package/es/components/appointmentBooking/components/Cart/Item/index.js +31 -16
  14. package/es/components/appointmentBooking/components/Cart/index.d.ts +0 -1
  15. package/es/components/appointmentBooking/components/Content/index.js +39 -20
  16. package/es/components/appointmentBooking/components/Date/index.js +2 -13
  17. package/es/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
  18. package/es/components/appointmentBooking/components/Footer/index.d.ts +0 -1
  19. package/es/components/appointmentBooking/components/Form/index.js +76 -167
  20. package/es/components/appointmentBooking/components/Form/utils.d.ts +8 -0
  21. package/es/components/appointmentBooking/components/Form/utils.js +36 -0
  22. package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  23. package/es/components/appointmentBooking/components/Header/index.js +78 -46
  24. package/es/components/appointmentBooking/components/Resource/index.js +92 -115
  25. package/es/components/appointmentBooking/components/Services/index.js +19 -4
  26. package/es/components/appointmentBooking/components/TimeSlicing/index.js +20 -27
  27. package/es/components/appointmentBooking/components/Voucher/index.d.ts +0 -1
  28. package/es/components/appointmentBooking/context.js +50 -3
  29. package/es/components/appointmentBooking/deposit/index.d.ts +0 -1
  30. package/es/components/appointmentBooking/hooks.d.ts +1 -2
  31. package/es/components/appointmentBooking/hooks.js +377 -269
  32. package/es/components/appointmentBooking/utils.d.ts +91 -2
  33. package/es/components/appointmentBooking/utils.js +350 -61
  34. package/es/components/booking/components/footer/amount.d.ts +24 -0
  35. package/es/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
  36. package/es/components/booking/hooks/useClearCart.d.ts +0 -1
  37. package/es/components/booking/info/dateRange/index.d.ts +0 -1
  38. package/es/components/booking/info/service/Lists.d.ts +0 -1
  39. package/es/components/booking/info/service/addService/index.d.ts +11 -0
  40. package/es/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
  41. package/es/components/booking/info/service/serviceItem/index.d.ts +0 -1
  42. package/es/components/booking/info/service/serviceList/index.d.ts +0 -1
  43. package/es/components/booking/info/service2/Lists.d.ts +0 -1
  44. package/es/components/booking/info/service2/utils.d.ts +244 -0
  45. package/es/components/booking/info/utils.d.ts +50 -0
  46. package/es/components/booking/info2/service/addService/index.d.ts +12 -0
  47. package/es/components/booking/info2/service/editService/index.d.ts +7 -0
  48. package/es/components/booking/info2/service/serviceItem/index.d.ts +0 -1
  49. package/es/components/booking/info2/service/serviceList/index.d.ts +0 -1
  50. package/es/components/booking/utils.d.ts +172 -0
  51. package/es/components/eftposPay/amount.d.ts +1 -1
  52. package/es/components/eftposPay/component/fail/failCustom.d.ts +1 -0
  53. package/es/components/eftposPay/component/fail/index.d.ts +1 -0
  54. package/es/components/eftposPay/component/fail/unknow.d.ts +1 -0
  55. package/es/components/eftposPay/device.d.ts +1 -1
  56. package/es/components/eftposPay/hooks.d.ts +1 -1
  57. package/es/components/eftposPay/index.d.ts +1 -0
  58. package/es/components/eftposPay/pay.d.ts +1 -0
  59. package/es/components/eftposPay/store/index.d.ts +2 -2
  60. package/es/components/eftposPay/windcave/windcave.d.ts +1 -0
  61. package/es/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  62. package/es/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -1
  63. package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -1
  64. package/es/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
  65. package/es/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  66. package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
  67. package/es/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
  68. package/es/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
  69. package/es/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  70. package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  71. package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
  72. package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
  73. package/es/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
  74. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  75. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
  76. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  77. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  78. package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
  79. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  80. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  81. package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
  82. package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
  83. package/es/components/eventBooking/index.d.ts +0 -1
  84. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  85. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
  86. package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  87. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
  88. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
  89. package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
  90. package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
  91. package/es/components/pisellSelectCustomerModal/index.d.ts +0 -1
  92. package/es/components/productExtension/fields/Actor/index.d.ts +0 -1
  93. package/es/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
  94. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
  95. package/es/components/productExtension/index.d.ts +0 -1
  96. package/es/components/productSelect/components/TabProduct/index.d.ts +0 -1
  97. package/es/components/productSelect/components/productGroup/index.d.ts +11 -7
  98. package/es/components/productSelect/components/productGroup/index.js +32 -19
  99. package/es/components/productSelect/components/productGroup/index.less +17 -3
  100. package/es/components/productSelect/index.d.ts +3 -2
  101. package/es/components/productSelect/index.js +20 -6
  102. package/es/components/productSelect/index.less +7 -0
  103. package/es/components/shoppingCart/components/Cart/index.d.ts +0 -1
  104. package/es/components/shoppingCart/components/Empty/index.d.ts +0 -1
  105. package/es/components/shoppingCart/components/Render/index.d.ts +0 -1
  106. package/es/components/shoppingCart/hooks/useAddService.d.ts +0 -1
  107. package/es/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
  108. package/es/components/shoppingCart/index.d.ts +0 -1
  109. package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +9 -0
  110. package/es/components/ticketBooking/components/addServiceVariant/addService.js +11 -3
  111. package/es/components/ticketBooking/components/timeBar/index.d.ts +0 -1
  112. package/es/components/ticketBooking/utils/index.d.ts +14 -0
  113. package/es/components/wallet/hooks/useWalletCard.d.ts +0 -1
  114. package/es/components/workSpaceList/components/Modal/index.d.ts +0 -1
  115. package/lib/businessModel/SalesModel/index.d.ts +0 -1
  116. package/lib/components/Sales/Summary/utils.d.ts +1 -1
  117. package/lib/components/appointmentBooking/components/Cart/ContinueButton/index.js +0 -5
  118. package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
  119. package/lib/components/appointmentBooking/components/Cart/Item/index.js +35 -16
  120. package/lib/components/appointmentBooking/components/Cart/index.d.ts +0 -1
  121. package/lib/components/appointmentBooking/components/Content/index.js +37 -21
  122. package/lib/components/appointmentBooking/components/Date/index.js +0 -6
  123. package/lib/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
  124. package/lib/components/appointmentBooking/components/Footer/index.d.ts +0 -1
  125. package/lib/components/appointmentBooking/components/Form/index.js +56 -108
  126. package/lib/components/appointmentBooking/components/Form/utils.d.ts +8 -0
  127. package/lib/components/appointmentBooking/components/Form/utils.js +49 -0
  128. package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  129. package/lib/components/appointmentBooking/components/Header/index.js +49 -19
  130. package/lib/components/appointmentBooking/components/Resource/index.js +51 -69
  131. package/lib/components/appointmentBooking/components/Services/index.js +16 -3
  132. package/lib/components/appointmentBooking/components/TimeSlicing/index.js +1 -7
  133. package/lib/components/appointmentBooking/components/Voucher/index.d.ts +0 -1
  134. package/lib/components/appointmentBooking/context.js +52 -4
  135. package/lib/components/appointmentBooking/deposit/index.d.ts +0 -1
  136. package/lib/components/appointmentBooking/hooks.d.ts +1 -2
  137. package/lib/components/appointmentBooking/hooks.js +153 -57
  138. package/lib/components/appointmentBooking/utils.d.ts +91 -2
  139. package/lib/components/appointmentBooking/utils.js +210 -50
  140. package/lib/components/booking/components/footer/amount.d.ts +24 -0
  141. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
  142. package/lib/components/booking/hooks/useClearCart.d.ts +0 -1
  143. package/lib/components/booking/info/dateRange/index.d.ts +0 -1
  144. package/lib/components/booking/info/service/Lists.d.ts +0 -1
  145. package/lib/components/booking/info/service/addService/index.d.ts +11 -0
  146. package/lib/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
  147. package/lib/components/booking/info/service/serviceItem/index.d.ts +0 -1
  148. package/lib/components/booking/info/service/serviceList/index.d.ts +0 -1
  149. package/lib/components/booking/info/service2/Lists.d.ts +0 -1
  150. package/lib/components/booking/info/service2/utils.d.ts +244 -0
  151. package/lib/components/booking/info/utils.d.ts +50 -0
  152. package/lib/components/booking/info2/service/addService/index.d.ts +12 -0
  153. package/lib/components/booking/info2/service/editService/index.d.ts +7 -0
  154. package/lib/components/booking/info2/service/serviceItem/index.d.ts +0 -1
  155. package/lib/components/booking/info2/service/serviceList/index.d.ts +0 -1
  156. package/lib/components/booking/utils.d.ts +172 -0
  157. package/lib/components/eftposPay/amount.d.ts +1 -1
  158. package/lib/components/eftposPay/component/fail/failCustom.d.ts +1 -0
  159. package/lib/components/eftposPay/component/fail/index.d.ts +1 -0
  160. package/lib/components/eftposPay/component/fail/unknow.d.ts +1 -0
  161. package/lib/components/eftposPay/device.d.ts +1 -1
  162. package/lib/components/eftposPay/hooks.d.ts +1 -1
  163. package/lib/components/eftposPay/index.d.ts +1 -0
  164. package/lib/components/eftposPay/pay.d.ts +1 -0
  165. package/lib/components/eftposPay/store/index.d.ts +2 -2
  166. package/lib/components/eftposPay/windcave/windcave.d.ts +1 -0
  167. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  168. package/lib/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -1
  169. package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -1
  170. package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
  171. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  172. package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
  173. package/lib/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
  174. package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
  175. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  176. package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  177. package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
  178. package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
  179. package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
  180. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  181. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
  182. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  183. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  184. package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
  185. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  186. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  187. package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
  188. package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
  189. package/lib/components/eventBooking/index.d.ts +0 -1
  190. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  191. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
  192. package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  193. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
  194. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
  195. package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
  196. package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
  197. package/lib/components/pisellSelectCustomerModal/index.d.ts +0 -1
  198. package/lib/components/productExtension/fields/Actor/index.d.ts +0 -1
  199. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
  200. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
  201. package/lib/components/productExtension/index.d.ts +0 -1
  202. package/lib/components/productSelect/components/TabProduct/index.d.ts +0 -1
  203. package/lib/components/productSelect/components/productGroup/index.d.ts +11 -7
  204. package/lib/components/productSelect/components/productGroup/index.js +12 -10
  205. package/lib/components/productSelect/components/productGroup/index.less +17 -3
  206. package/lib/components/productSelect/index.d.ts +3 -2
  207. package/lib/components/productSelect/index.js +17 -3
  208. package/lib/components/productSelect/index.less +7 -0
  209. package/lib/components/shoppingCart/components/Cart/index.d.ts +0 -1
  210. package/lib/components/shoppingCart/components/Empty/index.d.ts +0 -1
  211. package/lib/components/shoppingCart/components/Render/index.d.ts +0 -1
  212. package/lib/components/shoppingCart/hooks/useAddService.d.ts +0 -1
  213. package/lib/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
  214. package/lib/components/shoppingCart/index.d.ts +0 -1
  215. package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +9 -0
  216. package/lib/components/ticketBooking/components/addServiceVariant/addService.js +9 -1
  217. package/lib/components/ticketBooking/components/timeBar/index.d.ts +0 -1
  218. package/lib/components/ticketBooking/utils/index.d.ts +14 -0
  219. package/lib/components/wallet/hooks/useWalletCard.d.ts +0 -1
  220. package/lib/components/workSpaceList/components/Modal/index.d.ts +0 -1
  221. package/lowcode/product-select/meta.ts +18 -34
  222. package/package.json +2 -2
@@ -101,7 +101,7 @@ export declare function updateLists<T extends Record<string, any>>(list: T[], ke
101
101
  * @Author: WangHan
102
102
  * @Date: 2025-04-27 17:27
103
103
  */
104
- export declare const updateBookingFormStorage: (bookingForm: any, id: number, newData: any) => any;
104
+ export declare const updateBookingFormStorage: (bookingForm: any, id: number | string, newData: any) => any;
105
105
  export declare const Toast: (text: string) => void;
106
106
  /**
107
107
  * @title: 添加或移除表单步骤
@@ -111,4 +111,93 @@ export declare const Toast: (text: string) => void;
111
111
  * @Author: WangHan
112
112
  * @Date: 2025-05-06 21:51
113
113
  */
114
- export declare const checkHasFormStep: ({ setIsErrorHolder, nextStep, isSkip, checkHolder, checkAccount, carts, setCarts, hasResourceFormId, currentStep, stepList, appointmentBooking, locales, isLogin, openLoginModal, isFormSubject, utils, accountLists, getHolders }: any) => true | undefined;
114
+ export declare const checkHasFormStep: ({ setIsErrorHolder, nextStep, isSkip, checkHolder, checkAccount, carts, setCarts, hasResourceFormId, currentStep, stepList, appointmentBooking, locales, isLogin, openLoginModal, isFormSubject, utils, accountLists, getHolders }: any) => void;
115
+ export declare const getCartCurrentResourceData: (cart: any, currentKey: any, resources: any[]) => any;
116
+ /**
117
+ * @title: 获取购物车资源列表
118
+ * @description:
119
+ * @return {*}
120
+ * @Author: WangHan
121
+ * @Date: 2025-05-25 13:56
122
+ */
123
+ export declare const getMultiResources: (cart: any, currentSelectedResource: any, currentKey: string) => any[];
124
+ export declare const getCurrentBoard: (appointmentBooking: any, code: string) => any;
125
+ /**
126
+ * @title:
127
+ * @description: 根据资源code获取资源标题
128
+ * @param {any} appointmentBooking
129
+ * @param {string} code
130
+ * @return {*}
131
+ * @Author: WangHan
132
+ * @Date: 2025-05-24 18:51
133
+ */
134
+ export declare const getResourceTitle: (appointmentBooking: any, code: string, utils: any, originResource: any) => string;
135
+ /**
136
+ * @title: 监测购物车中是否有没有选择资源的
137
+ * @description:
138
+ * @param {any} carts
139
+ * @return {*}
140
+ * @Author: WangHan
141
+ * @Date: 2025-05-24 18:47
142
+ */
143
+ export declare const checkAndMarkCartRenderError: (carts: any, appointmentBooking?: any, utils?: any) => {
144
+ hasError: boolean;
145
+ updatedCartList: any;
146
+ } | {
147
+ hasError?: undefined;
148
+ updatedCartList?: undefined;
149
+ };
150
+ /**
151
+ * @title: 查表表单步骤插入到哪个步骤的后面的key
152
+ * @description:
153
+ * @param {string} currentKey
154
+ * @param {any} stepList
155
+ * @return {*}
156
+ * @Author: WangHan
157
+ * @Date: 2025-05-24 19:05
158
+ */
159
+ export declare const getFormInsertBeforeKey: (currentKey: string, stepList: any[]) => any;
160
+ /**
161
+ * @title: 监测holder数据
162
+ * @description:
163
+ * @param {any} isFormSubject
164
+ * @param {any} checkAccount
165
+ * @param {any} carts
166
+ * @return {*}
167
+ * @Author: WangHan
168
+ * @Date: 2025-05-24 22:46
169
+ */
170
+ export declare const checkAndGoNext: (isFormSubject: any, checkAccount: any, carts: any[]) => {
171
+ hasError: boolean;
172
+ updatedCartList: any[];
173
+ };
174
+ export declare const currentAppointmentBoard: (currentKey: string, resources: any[], appointmentBooking: any) => {
175
+ isRequired: boolean;
176
+ isSystem: boolean;
177
+ isSkip: boolean;
178
+ form_id: number;
179
+ form_code: any;
180
+ cart_id: string;
181
+ resource_form_id: string;
182
+ policy_id: string;
183
+ } | {
184
+ isRequired?: undefined;
185
+ isSystem?: undefined;
186
+ isSkip?: undefined;
187
+ form_id?: undefined;
188
+ form_code?: undefined;
189
+ cart_id?: undefined;
190
+ resource_form_id?: undefined;
191
+ policy_id?: undefined;
192
+ };
193
+ export declare const currentRenderLists: (resources: any[], code: any) => any;
194
+ /**
195
+ * @title: 更新购物车
196
+ * @description:
197
+ * @param {any} carts
198
+ * @param {any} value
199
+ * @return {*}
200
+ * @Author: WangHan
201
+ * @Date: 2025-05-25 23:17
202
+ */
203
+ export declare const updateCartResources: (item: any, value?: any, currentSelectedResources?: any) => any;
@@ -397,78 +397,367 @@ export var checkHasFormStep = function checkHasFormStep(_ref2) {
397
397
  var isNext = false;
398
398
 
399
399
  // 验证资源是否挂接了表单
400
- if (hasResourceFormId) {
401
- var index = (currentStep === null || currentStep === void 0 ? void 0 : currentStep.index) + 1;
402
- var description = locales.getText('pisell2.appointment.fill-form');
400
+ // if (hasResourceFormId) {
401
+ // const index = currentStep?.index + 1;
402
+ // const description = locales.getText('pisell2.appointment.fill-form');
403
403
 
404
- // 判断是否已经存在选择时间步骤
405
- var isExist = stepList === null || stepList === void 0 ? void 0 : stepList.some(function (item) {
406
- return (item === null || item === void 0 ? void 0 : item.key) === 'select-time';
404
+ // // 判断是否已经存在选择时间步骤
405
+ // const isExist = stepList?.some((item: any) => item?.key === 'select-time');
406
+
407
+ // appointmentBooking.addStep({ index, key: 'fill-form', description }, isExist ? 'select-time' : undefined);
408
+ // } else {
409
+ // appointmentBooking.removeStep('fill-form');
410
+ // }
411
+
412
+ var stepLists = appointmentBooking === null || appointmentBooking === void 0 || (_appointmentBooking$s = appointmentBooking.store) === null || _appointmentBooking$s === void 0 || (_appointmentBooking$s = _appointmentBooking$s.step) === null || _appointmentBooking$s === void 0 || (_appointmentBooking$s = _appointmentBooking$s.store) === null || _appointmentBooking$s === void 0 ? void 0 : _appointmentBooking$s.stepList;
413
+
414
+ // 如果当前是倒数第二步,则进行检测登录和账户信息
415
+ // if (currentStep?.index + 2 === stepLists?.length) {
416
+ // // 检测holder表
417
+ // const _checkHolder = () => {
418
+ // const result = checkHolder({
419
+ // isFormSubject,
420
+ // checkAccount,
421
+ // carts,
422
+ // });
423
+
424
+ // // if (result) {
425
+ // // setCarts(result);
426
+ // // }
427
+
428
+ // if (!!result) return true
429
+ // }
430
+
431
+ // if (!isLogin) {
432
+ // utils.action({
433
+ // type: 'pisell1.login',
434
+ // data: {
435
+ // type: 'plugin'
436
+ // },
437
+ // callback: (status: string) => {
438
+ // if (status === 'success') {
439
+ // if (!isFormSubject) {
440
+ // const user = JSON.parse(utils?.storage?.get('customer') || '{}');
441
+ // const currentUser = formatCustomer(user);
442
+ // const meAccount = accountLists?.find((d: any) => !d?.isGuest);
443
+ // appointmentBooking.setLoginAccount(meAccount?.id, currentUser);
444
+ // } else {
445
+ // getHolders();
446
+ // }
447
+
448
+ // // 如果只有一个资源执行跳过
449
+ // if (isSkip) {
450
+ // isNext = true
451
+ // }
452
+ // }
453
+ // },
454
+ // });
455
+ // } else {
456
+ // isNext = true
457
+ // }
458
+
459
+ // if (isNext && !_checkHolder()) {
460
+ // nextStep()
461
+ // } else {
462
+ // return true
463
+ // }
464
+ // } else {
465
+ // // 如果只有一个资源执行跳过
466
+ // if (isSkip) {
467
+ // nextStep()
468
+ // }
469
+ // }
470
+ };
471
+ export var getCartCurrentResourceData = function getCartCurrentResourceData(cart, currentKey, resources) {
472
+ try {
473
+ var _currentKey$split, _resources$, _cart$_origin, _resourceItem, _resourceItem2;
474
+ var currentFormId = currentKey === null || currentKey === void 0 || (_currentKey$split = currentKey.split('_@')) === null || _currentKey$split === void 0 || (_currentKey$split = _currentKey$split[1]) === null || _currentKey$split === void 0 ? void 0 : _currentKey$split.split('-');
475
+ var form_id = Number((currentFormId === null || currentFormId === void 0 ? void 0 : currentFormId[0]) || (resources === null || resources === void 0 || (_resources$ = resources[0]) === null || _resources$ === void 0 || (_resources$ = _resources$.resources) === null || _resources$ === void 0 || (_resources$ = _resources$[0]) === null || _resources$ === void 0 ? void 0 : _resources$.id));
476
+ if (!form_id || !resources.length) return;
477
+ var cartId = cart._id;
478
+ var cartOriginResources = ((_cart$_origin = cart._origin) === null || _cart$_origin === void 0 ? void 0 : _cart$_origin.resources) || [];
479
+
480
+ // 3. 找到资源数据中与购物车id匹配的资源数据
481
+ var resourceData = resources.find(function (r) {
482
+ return String(r._id) === String(cartId);
483
+ });
484
+ if (!resourceData) return;
485
+
486
+ // 4. 在资源数据的 resources 数组中找到当前资源
487
+ var resourceItem = (resourceData.resources || []).find(function (r) {
488
+ return Number(r.id) === form_id;
489
+ });
490
+ if (!resourceItem) return;
491
+ resourceItem = _objectSpread(_objectSpread({}, resourceItem), {}, {
492
+ renderList: ((_resourceItem = resourceItem) === null || _resourceItem === void 0 || (_resourceItem = _resourceItem.renderList) === null || _resourceItem === void 0 ? void 0 : _resourceItem.map(function (r) {
493
+ return _objectSpread(_objectSpread({}, r), {}, {
494
+ label: (r === null || r === void 0 ? void 0 : r.main_field) || (r === null || r === void 0 ? void 0 : r.id)
495
+ });
496
+ })) || []
497
+ });
498
+
499
+ // 5. 在购物车的 _origin.resources 里找到当前资源的 render id
500
+ var cartResource = cartOriginResources.find(function (r) {
501
+ return Number(r.form_id) === form_id;
502
+ });
503
+
504
+ // 6. 在 resourceItem.renderList 里找到 render id 匹配的那一项
505
+ var renderId = (cartResource === null || cartResource === void 0 ? void 0 : cartResource.id) || 0;
506
+
507
+ // 7. renderList 里的 id
508
+ var renderItem = (((_resourceItem2 = resourceItem) === null || _resourceItem2 === void 0 ? void 0 : _resourceItem2.renderList) || []).find(function (r) {
509
+ return Number(r === null || r === void 0 ? void 0 : r.id) === Number(renderId);
510
+ });
511
+ return {
512
+ cartItem: cart,
513
+ resourceItem: _objectSpread(_objectSpread({}, resourceItem), {}, {
514
+ originRenderLists: resourceData.resources
515
+ }),
516
+ renderItem: renderItem
517
+ };
518
+ } catch (error) {
519
+ return cart;
520
+ }
521
+ };
522
+
523
+ /**
524
+ * @title: 获取购物车资源列表
525
+ * @description:
526
+ * @return {*}
527
+ * @Author: WangHan
528
+ * @Date: 2025-05-25 13:56
529
+ */
530
+ export var getMultiResources = function getMultiResources(cart, currentSelectedResource, currentKey) {
531
+ var _cart$_origin2;
532
+ var resourceItem = currentSelectedResource === null || currentSelectedResource === void 0 ? void 0 : currentSelectedResource.resourceItem;
533
+ if (!resourceItem || !cart) return [];
534
+ var isCurrentResourceStep = currentKey.startsWith('select-resource');
535
+ var resources = (cart === null || cart === void 0 || (_cart$_origin2 = cart._origin) === null || _cart$_origin2 === void 0 ? void 0 : _cart$_origin2.resources) || [];
536
+ // 已选择的资源
537
+ var selectedResources = isCurrentResourceStep ? resources.filter(function (r) {
538
+ return (r === null || r === void 0 ? void 0 : r.form_id) !== (resourceItem === null || resourceItem === void 0 ? void 0 : resourceItem.form_id);
539
+ }) : resources;
540
+ selectedResources = selectedResources.map(function (r) {
541
+ return _objectSpread(_objectSpread({}, r), {}, {
542
+ name: (r === null || r === void 0 ? void 0 : r.main_field) || (r === null || r === void 0 ? void 0 : r.id),
543
+ isShowChangeResource: false,
544
+ is_hide_like: true
407
545
  });
408
- appointmentBooking.addStep({
409
- index: index,
410
- key: 'fill-form',
411
- description: description
412
- }, isExist ? 'select-time' : undefined);
546
+ });
547
+ var currentResources = resources.find(function (r) {
548
+ return (r === null || r === void 0 ? void 0 : r.form_id) === (resourceItem === null || resourceItem === void 0 ? void 0 : resourceItem.form_id);
549
+ });
550
+ var errorTip = (currentSelectedResource === null || currentSelectedResource === void 0 ? void 0 : currentSelectedResource.errorTip) || {};
551
+
552
+ // 当前的资源
553
+ var currentResource = isCurrentResourceStep ? [{
554
+ allowClearResource: true,
555
+ lists: (resourceItem === null || resourceItem === void 0 ? void 0 : resourceItem.renderList) || [],
556
+ is_hide_like: true,
557
+ id: currentResources === null || currentResources === void 0 ? void 0 : currentResources.id,
558
+ isErrorResource: (errorTip === null || errorTip === void 0 ? void 0 : errorTip.isErrorResource) || false,
559
+ resourceErrorText: (errorTip === null || errorTip === void 0 ? void 0 : errorTip.resourceErrorText) || ''
560
+ }] : [];
561
+ return [].concat(_toConsumableArray(selectedResources), currentResource);
562
+ };
563
+ export var getCurrentBoard = function getCurrentBoard(appointmentBooking, code) {
564
+ var _appointmentBoard$res;
565
+ var _ref3 = (appointmentBooking === null || appointmentBooking === void 0 ? void 0 : appointmentBooking.otherParams) || {},
566
+ appointmentBoard = _ref3.appointmentBoard;
567
+ var resourceConfig = appointmentBoard === null || appointmentBoard === void 0 || (_appointmentBoard$res = appointmentBoard.resource_tab) === null || _appointmentBoard$res === void 0 ? void 0 : _appointmentBoard$res[code];
568
+ return resourceConfig;
569
+ };
570
+
571
+ /**
572
+ * @title:
573
+ * @description: 根据资源code获取资源标题
574
+ * @param {any} appointmentBooking
575
+ * @param {string} code
576
+ * @return {*}
577
+ * @Author: WangHan
578
+ * @Date: 2025-05-24 18:51
579
+ */
580
+ export var getResourceTitle = function getResourceTitle(appointmentBooking, code, utils, originResource) {
581
+ var resourceConfig = getCurrentBoard(appointmentBooking, code);
582
+ var name = '';
583
+
584
+ // 如果存在配置,则使用配置的名称
585
+ if (resourceConfig !== null && resourceConfig !== void 0 && resourceConfig.resource_type_title) {
586
+ name = utils.translation(resourceConfig === null || resourceConfig === void 0 ? void 0 : resourceConfig.resource_type_title);
413
587
  } else {
414
- appointmentBooking.removeStep('fill-form');
588
+ name = (originResource === null || originResource === void 0 ? void 0 : originResource.title) || '';
415
589
  }
416
- var stepLists = appointmentBooking === null || appointmentBooking === void 0 || (_appointmentBooking$s = appointmentBooking.store) === null || _appointmentBooking$s === void 0 || (_appointmentBooking$s = _appointmentBooking$s.step) === null || _appointmentBooking$s === void 0 || (_appointmentBooking$s = _appointmentBooking$s.store) === null || _appointmentBooking$s === void 0 ? void 0 : _appointmentBooking$s.stepList;
590
+ return name;
591
+ };
417
592
 
418
- // 如果当前是倒数第二步,则进行检测登录和账户信息
419
- if ((currentStep === null || currentStep === void 0 ? void 0 : currentStep.index) + 2 === (stepLists === null || stepLists === void 0 ? void 0 : stepLists.length)) {
420
- // 检测holder表
421
- var _checkHolder = function _checkHolder() {
422
- var result = checkHolder({
423
- isFormSubject: isFormSubject,
424
- checkAccount: checkAccount,
425
- carts: carts
426
- });
427
- if (result) {
428
- setCarts(result);
593
+ /**
594
+ * @title: 监测购物车中是否有没有选择资源的
595
+ * @description:
596
+ * @param {any} carts
597
+ * @return {*}
598
+ * @Author: WangHan
599
+ * @Date: 2025-05-24 18:47
600
+ */
601
+ export var checkAndMarkCartRenderError = function checkAndMarkCartRenderError(carts, appointmentBooking, utils) {
602
+ try {
603
+ var hasError = false;
604
+ var updatedCartList = carts === null || carts === void 0 ? void 0 : carts.map(function (cart) {
605
+ var currentResource = cart === null || cart === void 0 ? void 0 : cart.currentSelectedResource;
606
+ if (!(currentResource !== null && currentResource !== void 0 && currentResource.renderItem)) {
607
+ hasError = true;
608
+ var resourceItem = (currentResource === null || currentResource === void 0 ? void 0 : currentResource.resourceItem) || {};
609
+ var name = getResourceTitle(appointmentBooking, resourceItem === null || resourceItem === void 0 ? void 0 : resourceItem.code, utils, resourceItem);
610
+ return _objectSpread(_objectSpread({}, cart), {}, {
611
+ currentSelectedResource: _objectSpread(_objectSpread({}, currentResource), {}, {
612
+ errorTip: {
613
+ isErrorResource: true,
614
+ resourceErrorText: name
615
+ }
616
+ })
617
+ });
429
618
  }
430
- setIsErrorHolder(!!result);
431
- if (!!result) return true;
619
+ return cart;
620
+ });
621
+ return {
622
+ hasError: hasError,
623
+ updatedCartList: updatedCartList
432
624
  };
433
- if (!isLogin) {
434
- utils.action({
435
- type: 'pisell1.login',
436
- data: {
437
- type: 'plugin'
438
- },
439
- callback: function callback(status) {
440
- if (status === 'success') {
441
- if (!isFormSubject) {
442
- var _utils$storage2;
443
- var user = JSON.parse((utils === null || utils === void 0 || (_utils$storage2 = utils.storage) === null || _utils$storage2 === void 0 ? void 0 : _utils$storage2.get('customer')) || '{}');
444
- var currentUser = formatCustomer(user);
445
- var meAccount = accountLists === null || accountLists === void 0 ? void 0 : accountLists.find(function (d) {
446
- return !(d !== null && d !== void 0 && d.isGuest);
447
- });
448
- appointmentBooking.setLoginAccount(meAccount === null || meAccount === void 0 ? void 0 : meAccount.id, currentUser);
449
- } else {
450
- getHolders();
451
- }
625
+ } catch (error) {
626
+ return {};
627
+ }
628
+ };
452
629
 
453
- // 如果只有一个资源执行跳过
454
- if (isSkip) {
455
- isNext = true;
456
- }
457
- }
458
- }
630
+ /**
631
+ * @title: 查表表单步骤插入到哪个步骤的后面的key
632
+ * @description:
633
+ * @param {string} currentKey
634
+ * @param {any} stepList
635
+ * @return {*}
636
+ * @Author: WangHan
637
+ * @Date: 2025-05-24 19:05
638
+ */
639
+ export var getFormInsertBeforeKey = function getFormInsertBeforeKey(currentKey, stepList) {
640
+ // 判断是否第一个资源
641
+ var isFirstResource = currentKey === 'select-resource';
642
+
643
+ // 查找“选择时间”步骤
644
+ var timeStep = stepList.find(function (item) {
645
+ return item.key.startsWith('select-time');
646
+ });
647
+ if (isFirstResource && timeStep) {
648
+ // 插入到选择时间后面
649
+ return timeStep.key;
650
+ } else {
651
+ // 插入到当前资源后面
652
+ return currentKey;
653
+ }
654
+ };
655
+
656
+ /**
657
+ * @title: 监测holder数据
658
+ * @description:
659
+ * @param {any} isFormSubject
660
+ * @param {any} checkAccount
661
+ * @param {any} carts
662
+ * @return {*}
663
+ * @Author: WangHan
664
+ * @Date: 2025-05-24 22:46
665
+ */
666
+ export var checkAndGoNext = function checkAndGoNext(isFormSubject, checkAccount, carts) {
667
+ var hasError = false;
668
+ var updatedCartList = _toConsumableArray(carts);
669
+ if (isFormSubject && !checkAccount('holder')) {
670
+ updatedCartList = carts === null || carts === void 0 ? void 0 : carts.map(function (item) {
671
+ if (!(item !== null && item !== void 0 && item.holder_id)) {
672
+ hasError = true;
673
+ return _objectSpread(_objectSpread({}, item), {}, {
674
+ isErrorHolder: true
675
+ });
676
+ }
677
+ return item;
678
+ });
679
+ }
680
+ return {
681
+ hasError: hasError,
682
+ updatedCartList: updatedCartList
683
+ };
684
+ };
685
+ export var currentAppointmentBoard = function currentAppointmentBoard(currentKey, resources, appointmentBooking) {
686
+ try {
687
+ var _currentKey$split2, _resources$2, _resources$3, _appointmentBooking$o;
688
+ var currentStepKey = currentKey === null || currentKey === void 0 || (_currentKey$split2 = currentKey.split('_@')) === null || _currentKey$split2 === void 0 || (_currentKey$split2 = _currentKey$split2[1]) === null || _currentKey$split2 === void 0 ? void 0 : _currentKey$split2.split('-');
689
+ var form_id = Number((currentStepKey === null || currentStepKey === void 0 ? void 0 : currentStepKey[0]) || (resources === null || resources === void 0 || (_resources$2 = resources[0]) === null || _resources$2 === void 0 || (_resources$2 = _resources$2.resources) === null || _resources$2 === void 0 || (_resources$2 = _resources$2[0]) === null || _resources$2 === void 0 ? void 0 : _resources$2.id));
690
+ var form_code = (currentStepKey === null || currentStepKey === void 0 ? void 0 : currentStepKey[1]) || (resources === null || resources === void 0 || (_resources$3 = resources[0]) === null || _resources$3 === void 0 || (_resources$3 = _resources$3.resources) === null || _resources$3 === void 0 || (_resources$3 = _resources$3[0]) === null || _resources$3 === void 0 ? void 0 : _resources$3.code);
691
+ var cart_id = currentStepKey === null || currentStepKey === void 0 ? void 0 : currentStepKey[2];
692
+ var resource_form_id = currentStepKey === null || currentStepKey === void 0 ? void 0 : currentStepKey[3];
693
+ var policy_id = currentStepKey === null || currentStepKey === void 0 ? void 0 : currentStepKey[4];
694
+ var resource_tab = appointmentBooking === null || appointmentBooking === void 0 || (_appointmentBooking$o = appointmentBooking.otherParams) === null || _appointmentBooking$o === void 0 || (_appointmentBooking$o = _appointmentBooking$o.appointmentBoard) === null || _appointmentBooking$o === void 0 ? void 0 : _appointmentBooking$o.resource_tab;
695
+ var config = resource_tab === null || resource_tab === void 0 ? void 0 : resource_tab[form_code];
696
+ var isRequired = (config === null || config === void 0 ? void 0 : config.customer_resource) === 'customer_resource_required';
697
+ var isSystem = (config === null || config === void 0 ? void 0 : config.customer_resource) === 'customer_resource_system';
698
+ var isSkip = config !== null && config !== void 0 && config.hasOwnProperty('resource_skip_select') ? !!(config !== null && config !== void 0 && config.resource_skip_select) : true;
699
+ return {
700
+ isRequired: isRequired,
701
+ isSystem: isSystem,
702
+ isSkip: isSkip,
703
+ form_id: form_id,
704
+ form_code: form_code,
705
+ cart_id: cart_id,
706
+ resource_form_id: resource_form_id,
707
+ policy_id: policy_id
708
+ };
709
+ } catch (error) {
710
+ return {};
711
+ }
712
+ };
713
+ export var currentRenderLists = function currentRenderLists(resources, code) {
714
+ var _resources$4;
715
+ if (!(resources !== null && resources !== void 0 && resources.length) || !code) return [];
716
+ var _resources = (resources === null || resources === void 0 || (_resources$4 = resources[0]) === null || _resources$4 === void 0 ? void 0 : _resources$4.resources) || [];
717
+ var currentResource = _resources === null || _resources === void 0 ? void 0 : _resources.find(function (item) {
718
+ return item.code === code;
719
+ });
720
+ return (currentResource === null || currentResource === void 0 ? void 0 : currentResource.renderList) || [];
721
+ };
722
+
723
+ /**
724
+ * @title: 更新购物车
725
+ * @description:
726
+ * @param {any} carts
727
+ * @param {any} value
728
+ * @return {*}
729
+ * @Author: WangHan
730
+ * @Date: 2025-05-25 23:17
731
+ */
732
+ export var updateCartResources = function updateCartResources(item, value, currentSelectedResources) {
733
+ var _item$_origin;
734
+ var newResource = [];
735
+ var resources = (item === null || item === void 0 || (_item$_origin = item._origin) === null || _item$_origin === void 0 ? void 0 : _item$_origin.resources) || [];
736
+
737
+ // 更新资源
738
+ if (value) {
739
+ var currentResourceIndex = resources.findIndex(function (item) {
740
+ return item.form_id === value.form_id;
741
+ });
742
+ if (currentResourceIndex > -1) {
743
+ newResource = resources.map(function (item) {
744
+ return item.form_id === value.form_id ? value : item;
459
745
  });
460
746
  } else {
461
- isNext = true;
462
- }
463
- if (isNext && !_checkHolder()) {
464
- nextStep();
465
- } else {
466
- return true;
747
+ newResource = [].concat(_toConsumableArray(resources), [value]);
467
748
  }
468
749
  } else {
469
- // 如果只有一个资源执行跳过
470
- if (isSkip) {
471
- nextStep();
472
- }
750
+ var _currentResource$curr;
751
+ // 清空资源
752
+ var currentResource = currentSelectedResources === null || currentSelectedResources === void 0 ? void 0 : currentSelectedResources.find(function (resource) {
753
+ return (resource === null || resource === void 0 ? void 0 : resource._id) === (item === null || item === void 0 ? void 0 : item._id);
754
+ });
755
+ var form_id = currentResource === null || currentResource === void 0 || (_currentResource$curr = currentResource.currentSelectedResource) === null || _currentResource$curr === void 0 || (_currentResource$curr = _currentResource$curr.renderItem) === null || _currentResource$curr === void 0 ? void 0 : _currentResource$curr.form_id;
756
+
757
+ // 过滤掉当前资源
758
+ newResource = resources.filter(function (item) {
759
+ return item.form_id !== form_id;
760
+ });
473
761
  }
762
+ return newResource || [];
474
763
  };
@@ -0,0 +1,24 @@
1
+ export declare const getRelationDetailsTotal: (relation_details: any) => number;
2
+ export declare const is_price_include_tax: (state: any) => any;
3
+ /**
4
+ * 总金额
5
+ * @param state
6
+ * @returns
7
+ */
8
+ export declare const getSumTotal: (state: any, isEdit: boolean) => {
9
+ productAmount: number;
10
+ duration: string;
11
+ tax: number;
12
+ shopDiscount: number;
13
+ otherAmount: number;
14
+ sumTotalAmount: number;
15
+ paidAmount: number;
16
+ notPaidAmount: number;
17
+ paySurchargeFee: number;
18
+ expectAmount: number;
19
+ actualPaidAmount: number;
20
+ orderPaidAmount: number;
21
+ totalRefundAmount: number;
22
+ dueAmount: number;
23
+ roundingAmount: number;
24
+ };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SendModalValues } from './index';
3
2
  declare const useSendModal: (bookingId?: number) => {
4
3
  open: boolean;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const useClearCart: (state: any, dispatch: any) => false | JSX.Element;
3
2
  export default useClearCart;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  export declare const disabledDate: (current: any, position: any, currentDate: any) => any;
4
3
  declare const DateRange: ({ state, dispatch, key }: any) => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Lists: ({ onEdit, onChange, onAction, isParallelResource }: any) => JSX.Element;
3
2
  export default Lists;
@@ -0,0 +1,11 @@
1
+ import { PisellDrawerProps } from '../../../components/drawer';
2
+ import './index.less';
3
+ interface AddServiceProps {
4
+ onEdit?: any;
5
+ dispatch?: any;
6
+ state?: any;
7
+ drawerProps?: PisellDrawerProps;
8
+ renderMode?: 'current' | 'drawer';
9
+ }
10
+ declare const Info: (props: AddServiceProps) => JSX.Element;
11
+ export default Info;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const BookingList: ({ items }: {
3
2
  items: any[];
4
3
  }) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ServiceItem: ({ d, handleEditService, state, handleLike, resourceItem, errorMessage, handleDeleteService, }: any) => JSX.Element;
4
3
  export default ServiceItem;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ServiceList: ({ onEdit }: {
4
3
  onEdit: any;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Lists: ({ onEdit, onChange }: any) => JSX.Element;
3
2
  export default Lists;