@pisell/private-materials 3.4.92 → 3.4.93

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 (267) 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 +2 -2
  6. package/build/lowcode/preview.js +426 -145
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +7 -7
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +9 -9
  11. package/es/businessModel/SalesModel/index.d.ts +1 -0
  12. package/es/components/appointmentBooking/components/Cart/index.d.ts +0 -1
  13. package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  14. package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.js +22 -6
  15. package/es/components/authentication/admin/ChannelAuthSetting/index.js +1 -1
  16. package/es/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  17. package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
  18. package/es/components/booking/components/collapsibleList/utils.d.ts +0 -1
  19. package/es/components/booking/components/emptyBooking/index.d.ts +0 -1
  20. package/es/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
  21. package/es/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
  22. package/es/components/booking/deposit/index.d.ts +1 -0
  23. package/es/components/booking/forms/single/index.d.ts +1 -0
  24. package/es/components/booking/forms/table/index.d.ts +0 -1
  25. package/es/components/booking/info/addServiceVariant/index.d.ts +1 -0
  26. package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  27. package/es/components/booking/info/date/index.d.ts +1 -0
  28. package/es/components/booking/info/dateRange/index.d.ts +0 -1
  29. package/es/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  30. package/es/components/booking/info/index.d.ts +1 -0
  31. package/es/components/booking/info/service/Lists.d.ts +1 -0
  32. package/es/components/booking/info/service/addService/index.d.ts +1 -0
  33. package/es/components/booking/info/service/addTimeModal/index.d.ts +1 -0
  34. package/es/components/booking/info/service/like/index.d.ts +0 -1
  35. package/es/components/booking/info/service/serviceList/index.d.ts +1 -0
  36. package/es/components/booking/info/service2/Lists.d.ts +1 -0
  37. package/es/components/booking/info2/service/addTimeModal/index.d.ts +1 -0
  38. package/es/components/booking/info2/service/contactInfoMode/index.d.ts +1 -0
  39. package/es/components/booking/info2/service/serviceList/index.d.ts +1 -0
  40. package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
  41. package/es/components/booking/notes/NoteBlock/index.d.ts +0 -1
  42. package/es/components/booking/utils.d.ts +2 -2
  43. package/es/components/ecocup/components/CupInfoCard/index.d.ts +0 -1
  44. package/es/components/ecocup/components/CustomerCard/index.d.ts +0 -1
  45. package/es/components/ecocup/components/MoreDropdown/index.d.ts +0 -1
  46. package/es/components/ecocup/cupList/hooks/useSummary.d.ts +0 -1
  47. package/es/components/eftpos/deviceList/index.d.ts +0 -1
  48. package/es/components/eftpos/group/index.d.ts +0 -1
  49. package/es/components/eftpos/icon/apiKey.d.ts +0 -1
  50. package/es/components/eftpos/icon/device.d.ts +0 -1
  51. package/es/components/eftpos/receipt/index.d.ts +0 -1
  52. package/es/components/eftposPay/amount.d.ts +2 -1
  53. package/es/components/eftposPay/app.d.ts +1 -0
  54. package/es/components/eftposPay/component/alert/warn.d.ts +0 -1
  55. package/es/components/eftposPay/component/fail/failCustom.d.ts +1 -0
  56. package/es/components/eftposPay/component/header/titlebar.d.ts +0 -1
  57. package/es/components/eftposPay/component/step/index.d.ts +0 -1
  58. package/es/components/eftposPay/component/step/step.d.ts +0 -1
  59. package/es/components/eftposPay/device.d.ts +2 -1
  60. package/es/components/eftposPay/hooks.d.ts +1 -1
  61. package/es/components/eftposPay/index.d.ts +1 -0
  62. package/es/components/eftposPay/linkly/index.d.ts +1 -0
  63. package/es/components/eftposPay/pay.d.ts +1 -0
  64. package/es/components/eftposPay/store/index.d.ts +1 -1
  65. package/es/components/eftposPay/tyro/hooks.d.ts +0 -1
  66. package/es/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  67. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
  68. package/es/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
  69. package/es/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  70. package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
  71. package/es/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  72. package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  73. package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
  74. package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
  75. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  76. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  77. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  78. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  79. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  80. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  81. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  82. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  83. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  84. package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
  85. package/es/components/eventBooking/index.d.ts +1 -0
  86. package/es/components/login/index.d.ts +0 -1
  87. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  88. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
  89. package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  90. package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
  91. package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
  92. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
  93. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  94. package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
  95. package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  96. package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  97. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
  98. package/es/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  99. package/es/components/productExtension/index.d.ts +1 -0
  100. package/es/components/ruleSetting/index.d.ts +1 -0
  101. package/es/components/ruleSetting/ruleBorder/index.d.ts +0 -1
  102. package/es/components/schedules/calendar/calendarItem.d.ts +0 -1
  103. package/es/components/schedules/calendar/index.d.ts +0 -1
  104. package/es/components/schedules/components/CurrentDay/index.d.ts +0 -1
  105. package/es/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
  106. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
  107. package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
  108. package/es/components/schedules/products/list/ProductItem/index.d.ts +0 -1
  109. package/es/components/schedules/products/list/index.d.ts +0 -1
  110. package/es/components/schedules/resources/list/index.d.ts +0 -1
  111. package/es/components/shoppingCart/hooks/useAddService.d.ts +0 -1
  112. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
  113. package/es/components/workSpaceList/components/Modal/index.d.ts +0 -1
  114. package/es/hooks/usePaymentLogger.d.ts +0 -1
  115. package/es/index.d.ts +1 -1
  116. package/es/index.js +1 -1
  117. package/es/plus/clientName/index.d.ts +0 -1
  118. package/es/plus/clinetSearch/Add/BirthdayField/index.d.ts +0 -1
  119. package/es/plus/clinetSearch/Add/GenderField/index.d.ts +0 -1
  120. package/es/plus/orderList/components/HandleActions.d.ts +0 -1
  121. package/es/plus/orderList/components/QuickFilter.d.ts +0 -1
  122. package/es/plus/orderList/components/Reset.d.ts +0 -1
  123. package/es/plus/orderList/components/Toolbar.d.ts +0 -1
  124. package/es/plus/saasCreateOrganization/components/Header.d.ts +0 -1
  125. package/es/plus/saasRegister/components/EntryEmail.d.ts +0 -1
  126. package/es/plus/saasRegister/components/EntryInfo.d.ts +0 -1
  127. package/es/plus/saasRegister/components/GoLogin.d.ts +0 -1
  128. package/es/plus/saasRegister/components/Header.d.ts +0 -1
  129. package/es/plus/saasRegister/components/VerifyError.d.ts +0 -1
  130. package/es/plus/saasRegister/components/VerifyingLink.d.ts +0 -1
  131. package/es/plus/saasRegister/components/VertifyEmail.d.ts +0 -1
  132. package/es/plus/selectHolder/components/ErrorTip/index.d.ts +0 -1
  133. package/es/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +1 -0
  134. package/es/plus/skuOptionsSelection/components/VariantCard/index.d.ts +1 -0
  135. package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +0 -1
  136. package/es/pro/pisellPaymentList/example.d.ts +0 -1
  137. package/es/pro/pisellPhoneKeyboard/index.d.ts +0 -1
  138. package/lib/businessModel/SalesModel/index.d.ts +1 -0
  139. package/lib/components/appointmentBooking/components/Cart/index.d.ts +0 -1
  140. package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  141. package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.js +16 -5
  142. package/lib/components/authentication/admin/ChannelAuthSetting/index.js +1 -1
  143. package/lib/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  144. package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
  145. package/lib/components/booking/components/collapsibleList/utils.d.ts +0 -1
  146. package/lib/components/booking/components/emptyBooking/index.d.ts +0 -1
  147. package/lib/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
  148. package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
  149. package/lib/components/booking/deposit/index.d.ts +1 -0
  150. package/lib/components/booking/forms/single/index.d.ts +1 -0
  151. package/lib/components/booking/forms/table/index.d.ts +0 -1
  152. package/lib/components/booking/info/addServiceVariant/index.d.ts +1 -0
  153. package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  154. package/lib/components/booking/info/date/index.d.ts +1 -0
  155. package/lib/components/booking/info/dateRange/index.d.ts +0 -1
  156. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  157. package/lib/components/booking/info/index.d.ts +1 -0
  158. package/lib/components/booking/info/service/Lists.d.ts +1 -0
  159. package/lib/components/booking/info/service/addService/index.d.ts +1 -0
  160. package/lib/components/booking/info/service/addTimeModal/index.d.ts +1 -0
  161. package/lib/components/booking/info/service/like/index.d.ts +0 -1
  162. package/lib/components/booking/info/service/serviceList/index.d.ts +1 -0
  163. package/lib/components/booking/info/service2/Lists.d.ts +1 -0
  164. package/lib/components/booking/info2/service/addTimeModal/index.d.ts +1 -0
  165. package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +1 -0
  166. package/lib/components/booking/info2/service/serviceList/index.d.ts +1 -0
  167. package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
  168. package/lib/components/booking/notes/NoteBlock/index.d.ts +0 -1
  169. package/lib/components/booking/utils.d.ts +2 -2
  170. package/lib/components/ecocup/components/CupInfoCard/index.d.ts +0 -1
  171. package/lib/components/ecocup/components/CustomerCard/index.d.ts +0 -1
  172. package/lib/components/ecocup/components/MoreDropdown/index.d.ts +0 -1
  173. package/lib/components/ecocup/cupList/hooks/useSummary.d.ts +0 -1
  174. package/lib/components/eftpos/deviceList/index.d.ts +0 -1
  175. package/lib/components/eftpos/group/index.d.ts +0 -1
  176. package/lib/components/eftpos/icon/apiKey.d.ts +0 -1
  177. package/lib/components/eftpos/icon/device.d.ts +0 -1
  178. package/lib/components/eftpos/receipt/index.d.ts +0 -1
  179. package/lib/components/eftposPay/amount.d.ts +2 -1
  180. package/lib/components/eftposPay/app.d.ts +1 -0
  181. package/lib/components/eftposPay/component/alert/warn.d.ts +0 -1
  182. package/lib/components/eftposPay/component/fail/failCustom.d.ts +1 -0
  183. package/lib/components/eftposPay/component/header/titlebar.d.ts +0 -1
  184. package/lib/components/eftposPay/component/step/index.d.ts +0 -1
  185. package/lib/components/eftposPay/component/step/step.d.ts +0 -1
  186. package/lib/components/eftposPay/device.d.ts +2 -1
  187. package/lib/components/eftposPay/hooks.d.ts +1 -1
  188. package/lib/components/eftposPay/index.d.ts +1 -0
  189. package/lib/components/eftposPay/linkly/index.d.ts +1 -0
  190. package/lib/components/eftposPay/pay.d.ts +1 -0
  191. package/lib/components/eftposPay/store/index.d.ts +1 -1
  192. package/lib/components/eftposPay/tyro/hooks.d.ts +0 -1
  193. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  194. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
  195. package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
  196. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  197. package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
  198. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  199. package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  200. package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
  201. package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
  202. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  203. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  204. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  205. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  206. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  207. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  208. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  209. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  210. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  211. package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
  212. package/lib/components/eventBooking/index.d.ts +1 -0
  213. package/lib/components/login/index.d.ts +0 -1
  214. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  215. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
  216. package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  217. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
  218. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
  219. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
  220. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  221. package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
  222. package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  223. package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  224. package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
  225. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  226. package/lib/components/productExtension/index.d.ts +1 -0
  227. package/lib/components/ruleSetting/index.d.ts +1 -0
  228. package/lib/components/ruleSetting/ruleBorder/index.d.ts +0 -1
  229. package/lib/components/schedules/calendar/calendarItem.d.ts +0 -1
  230. package/lib/components/schedules/calendar/index.d.ts +0 -1
  231. package/lib/components/schedules/components/CurrentDay/index.d.ts +0 -1
  232. package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
  233. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
  234. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
  235. package/lib/components/schedules/products/list/ProductItem/index.d.ts +0 -1
  236. package/lib/components/schedules/products/list/index.d.ts +0 -1
  237. package/lib/components/schedules/resources/list/index.d.ts +0 -1
  238. package/lib/components/shoppingCart/hooks/useAddService.d.ts +0 -1
  239. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
  240. package/lib/components/workSpaceList/components/Modal/index.d.ts +0 -1
  241. package/lib/hooks/usePaymentLogger.d.ts +0 -1
  242. package/lib/index.d.ts +1 -1
  243. package/lib/index.js +2 -0
  244. package/lib/plus/clientName/index.d.ts +0 -1
  245. package/lib/plus/clinetSearch/Add/BirthdayField/index.d.ts +0 -1
  246. package/lib/plus/clinetSearch/Add/GenderField/index.d.ts +0 -1
  247. package/lib/plus/orderList/components/HandleActions.d.ts +0 -1
  248. package/lib/plus/orderList/components/QuickFilter.d.ts +0 -1
  249. package/lib/plus/orderList/components/Reset.d.ts +0 -1
  250. package/lib/plus/orderList/components/Toolbar.d.ts +0 -1
  251. package/lib/plus/saasCreateOrganization/components/Header.d.ts +0 -1
  252. package/lib/plus/saasRegister/components/EntryEmail.d.ts +0 -1
  253. package/lib/plus/saasRegister/components/EntryInfo.d.ts +0 -1
  254. package/lib/plus/saasRegister/components/GoLogin.d.ts +0 -1
  255. package/lib/plus/saasRegister/components/Header.d.ts +0 -1
  256. package/lib/plus/saasRegister/components/VerifyError.d.ts +0 -1
  257. package/lib/plus/saasRegister/components/VerifyingLink.d.ts +0 -1
  258. package/lib/plus/saasRegister/components/VertifyEmail.d.ts +0 -1
  259. package/lib/plus/selectHolder/components/ErrorTip/index.d.ts +0 -1
  260. package/lib/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +1 -0
  261. package/lib/plus/skuOptionsSelection/components/VariantCard/index.d.ts +1 -0
  262. package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +0 -1
  263. package/lib/pro/pisellPaymentList/example.d.ts +0 -1
  264. package/lib/pro/pisellPhoneKeyboard/index.d.ts +0 -1
  265. package/lowcode/admin-auth-channel-auth/meta.ts +116 -0
  266. package/lowcode/admin-auth-online-shop-auth/meta.ts +81 -5
  267. package/package.json +2 -2
@@ -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,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface valueType {
3
4
  }
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  interface ProductExtensionProps {
3
4
  onDataChange: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  interface RuleSettingProps {
3
4
  value: 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 { 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 Calendar: () => JSX.Element;
4
3
  export default Calendar;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare type CurrentDayProps = {
4
3
  onClose: () => void;
@@ -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
  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 ProductDetailByDate: () => JSX.Element;
4
3
  export default ProductDetailByDate;
@@ -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 type ResourcesListProps = {
4
3
  list: any;
@@ -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,4 @@
1
+ /// <reference types="react" />
1
2
  interface AddServiceVariantProps {
2
3
  globalState: any;
3
4
  setGlobalState: 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
  interface LogData {
3
2
  key: string;
4
3
  value: any;
package/es/index.d.ts CHANGED
@@ -52,7 +52,7 @@ export { default as SaasRegister } from './plus/saasRegister';
52
52
  export { default as SaasCreateOrganization } from './plus/saasCreateOrganization';
53
53
  export { default as PinModal } from './components/pinModal';
54
54
  export { default as PinVerifyModal } from './components/pinVerifyModal';
55
- export { OAuthConfig, SaaSAdminAuth, OrgAdminAuth, CustomerAuth, CustomerOAuthConfig, DeviceAuth, POSOperatorAuth, OnlineShopAuth, SaaSManagermentAuth, } from './components/authentication/admin';
55
+ export { ChannelAuthSetting, OAuthConfig, SaaSAdminAuth, OrgAdminAuth, CustomerAuth, CustomerOAuthConfig, DeviceAuth, POSOperatorAuth, OnlineShopAuth, SaaSManagermentAuth, } from './components/authentication/admin';
56
56
  export type { SaaSAdminAuthProps, OrgAdminAuthProps, DeviceAuthProps, POSOperatorAuthProps, CustomerOAuthConfigProps, } from './components/authentication/admin';
57
57
  export { default as ContactInfo } from './plus/contactInfo';
58
58
  export { default as ContactInfoModal } from './plus/contactInfoModal';
package/es/index.js CHANGED
@@ -56,7 +56,7 @@ export { default as SaasRegister } from "./plus/saasRegister";
56
56
  export { default as SaasCreateOrganization } from "./plus/saasCreateOrganization";
57
57
  export { default as PinModal } from "./components/pinModal";
58
58
  export { default as PinVerifyModal } from "./components/pinVerifyModal";
59
- export { OAuthConfig, SaaSAdminAuth, OrgAdminAuth, CustomerAuth, CustomerOAuthConfig, DeviceAuth, POSOperatorAuth, OnlineShopAuth, SaaSManagermentAuth } from "./components/authentication/admin";
59
+ export { ChannelAuthSetting, OAuthConfig, SaaSAdminAuth, OrgAdminAuth, CustomerAuth, CustomerOAuthConfig, DeviceAuth, POSOperatorAuth, OnlineShopAuth, SaaSManagermentAuth } from "./components/authentication/admin";
60
60
  export { default as ContactInfo } from "./plus/contactInfo";
61
61
  export { default as ContactInfoModal } from "./plus/contactInfoModal";
62
62
  export { Login2, Register2, AuthModal } from "./pro/Login2.0";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  import { IClientNameProps } from './type';
4
3
  declare const ClientName: ({ className, dataSource, style }: IClientNameProps) => JSX.Element | null;
@@ -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
  declare const HandleActions: (props: {
3
2
  locales: any;
4
3
  __id?: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const QuickFilter: (props: {
3
2
  locales: any;
4
3
  }) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const Reset: (props: {
3
2
  locales: any;
4
3
  setValueType: (value: any) => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const Toolbar: (props: {
3
2
  locales: any;
4
3
  clearSelectedData: () => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SCOProps } from '../types';
3
2
  import '../index.less';
4
3
  export declare const Header: (props: SCOProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FormInstance } from 'antd';
3
2
  import { SRProps } from '../types';
4
3
  import '../index.less';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FormInstance } from 'antd';
3
2
  import { SRProps } from '../types';
4
3
  import '../index.less';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SRProps } from '../types';
3
2
  import '../index.less';
4
3
  declare const GoLogin: (props: SRProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SRProps } from '../types';
3
2
  import '../index.less';
4
3
  export declare const Header: (props: SRProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SRStepStatus } from '../types';
3
2
  import '../index.less';
4
3
  declare const VerifyError: (props: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import '../index.less';
3
2
  declare const VerifyingEmailLink: (props: {
4
3
  onVerifyLink: () => Promise<void>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import '../index.less';
3
2
  declare const VertifyEmail: (props: {
4
3
  email: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ErrorTip: ({ text }: any) => JSX.Element;
4
3
  export default ErrorTip;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const TitleExtra: (props: any) => JSX.Element;
3
4
  export default TitleExtra;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const VariantCard: (props: any) => JSX.Element;
3
4
  export default VariantCard;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface TimelineSectionProps {
4
3
  code: string;
@@ -4,7 +4,6 @@
4
4
  * 这个文件演示了如何使用 PisellPaymentList 和 PisellPaymentListItem 组件
5
5
  * 包括如何通过 Context 访问父组件配置
6
6
  */
7
- /// <reference types="react" />
8
7
  export declare const BasicExample: () => JSX.Element;
9
8
  export declare const ChildrenExample: () => JSX.Element;
10
9
  export declare const CustomItemExample: () => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PopoverProps } from 'antd';
3
2
  import './index.less';
4
3
  interface PisellPhoneKeyboardProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const SalesModel: ({ children, hooks, config }: any) => JSX.Element;
2
3
  export * from './Sales';
3
4
  export default SalesModel;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Cart: ({ open, onCancel, onNext }: 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 GuestOptionsModal: (props: any) => JSX.Element;
4
3
  export default GuestOptionsModal;
@@ -55,13 +55,15 @@ var Onlineshopauth = ({
55
55
  var _a, _b;
56
56
  const context = (0, import_useEngineContext.default)();
57
57
  const { useParams } = context.appHelper.utils.getApp().history;
58
- const { channel } = useParams();
58
+ let channel = new URLSearchParams(window.location.search).get("channel") || "";
59
+ const { channel: _channel } = useParams();
60
+ channel = channel || _channel;
59
61
  const { request } = context.appHelper.utils.getApp();
60
62
  const [loading, setLoading] = (0, import_react.useState)(true);
61
63
  const [channelData, setChannelData] = (0, import_react.useState)(null);
62
64
  const pageSettingRef = (0, import_react.useRef)(null);
63
65
  import_utils.locales.init(import_locales.default, ((_b = (_a = context == null ? void 0 : context.engine) == null ? void 0 : _a.props) == null ? void 0 : _b.locale) || "en");
64
- const allTabs = ["pageSetting", "authenticationMethods"];
66
+ const allTabs = ["pageSetting", "authenticationMethods", "collectInfo"];
65
67
  const saveData = (data) => {
66
68
  request.post(`/api/tenant_channel:update?filter=%7B%22channel_code%22%3A%22${channel}%22%7D`, {
67
69
  ...channelData,
@@ -101,12 +103,21 @@ var Onlineshopauth = ({
101
103
  });
102
104
  }
103
105
  }, [request, channel]);
106
+ const filteredTabsByVisibleTabs = (0, import_react.useMemo)(() => {
107
+ if (visibleTabs && visibleTabs.length > 0) {
108
+ return allTabs.filter((tab) => visibleTabs.includes(tab));
109
+ }
110
+ return allTabs;
111
+ }, [visibleTabs]);
104
112
  const displayTabs = (0, import_react.useMemo)(() => {
105
113
  if (channel === "management") {
106
- return ["pageSetting"];
114
+ if (filteredTabsByVisibleTabs.includes("pageSetting")) {
115
+ return ["pageSetting"];
116
+ }
117
+ return [];
107
118
  }
108
- return allTabs;
109
- }, [channel]);
119
+ return filteredTabsByVisibleTabs;
120
+ }, [channel, filteredTabsByVisibleTabs]);
110
121
  const initialActiveTab = (0, import_react.useMemo)(() => {
111
122
  if (defaultActiveTab && displayTabs.includes(defaultActiveTab)) {
112
123
  return defaultActiveTab;
@@ -58,7 +58,7 @@ var ChannelAuthSetting = ({
58
58
  const params = useParams();
59
59
  import_utils.locales.init(import_locales.default, ((_b = (_a = context == null ? void 0 : context.engine) == null ? void 0 : _a.props) == null ? void 0 : _b.locale) || "en");
60
60
  console.log("ChannelAuthSetting", params);
61
- const allTabs = ["pageSetting"];
61
+ const allTabs = ["pageSetting", "authenticationMethods", "collectInfo"];
62
62
  const displayTabs = (0, import_react.useMemo)(() => {
63
63
  if (visibleTabs && visibleTabs.length > 0) {
64
64
  return allTabs.filter((tab) => visibleTabs.includes(tab));
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const ProductItem: ({ item, onClick, amountSymbol, style, className, }: any) => JSX.Element;
3
4
  export default ProductItem;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const SelectProductItem: ({ item, onClick, onChangeQuantity, amountSymbol, style, className, disabled, }: any) => JSX.Element;
4
3
  export default SelectProductItem;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare const renderBundles: (item: any, amountSymbol: string) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @title: 空状态
4
3
  * @description:
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const FooterMenus: ({ state, menuChange, items }: any) => JSX.Element | null;
4
3
  export default FooterMenus;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const FormItemChildrenWrap: (props: any) => JSX.Element;
3
2
  export default FormItemChildrenWrap;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Deposit: (props: any) => JSX.Element;
2
3
  export default Deposit;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  /**
3
4
  * @title: 表单选择器
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const Table: ({ value, onChange, field, mode, onAdd }: any) => JSX.Element;
4
3
  export default Table;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  interface AddServiceVariantProps {
2
3
  globalState: any;
3
4
  setGlobalState: any;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const useIsLowSpeedNetwork: () => import("react").MutableRefObject<boolean>;
3
2
  export default useIsLowSpeedNetwork;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  export declare const updateServiceDate: (services: any[], date: any, isTime: boolean) => any[];
3
4
  declare const DateCom: () => JSX.Element;
@@ -1,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,4 @@
1
+ /// <reference types="react" />
1
2
  import { EditServiceRef } from "../service/editService";
2
3
  declare const useInfoHolder: (state: any, dispatch: any) => {
3
4
  detailRef: import("react").MutableRefObject<EditServiceRef | undefined>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { InfoProps } from './main';
2
3
  declare const APP: (props: InfoProps) => JSX.Element;
3
4
  export default APP;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Lists: ({ onEdit, onChange, onAction, isParallelResource }: any) => JSX.Element;
2
3
  export default Lists;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PisellDrawerProps } from '../../../components/drawer';
2
3
  import './index.less';
3
4
  interface AddServiceProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const AddTimeModal: () => JSX.Element;
3
4
  export default AddTimeModal;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const Like: ({ status, onChange, className, style, }: {
4
3
  style?: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const ServiceList: ({ onEdit }: {
3
4
  onEdit: any;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Lists: ({ onEdit, onChange }: any) => JSX.Element;
2
3
  export default Lists;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import '../../../info/service/addTimeModal/index.less';
2
3
  declare const AddTimeModal: () => JSX.Element;
3
4
  export default AddTimeModal;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const ContactInfoMode: () => JSX.Element;
2
3
  export default ContactInfoMode;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const ServiceList: ({ onEdit }: {
3
4
  onEdit: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  export interface InfoProps {
4
3
  isEdit: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  export interface InfoProps {
4
3
  title?: string;
@@ -166,10 +166,10 @@ export declare const getProductTotalPrice: (item: any) => number;
166
166
  export declare const getDuration: (duration: number | {
167
167
  type: string;
168
168
  value: number;
169
- }) => number | "flexible" | {
169
+ }) => number | {
170
170
  type: string;
171
171
  value: number;
172
- };
172
+ } | "flexible";
173
173
  export declare const isWalkIn: (customer_id?: number | string) => boolean;
174
174
  export declare const getIsEdit: (state: any) => boolean;
175
175
  export {};
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface IProps {
4
3
  type: 'rentInfo' | 'markInfo' | 'belongInfo' | 'otherBelongInfo';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  import { ICustomer } from '../../types';
4
3
  interface IProps extends Partial<ICustomer> {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface MoreDropdownProps {
3
2
  locales: any;
4
3
  onClick?: (key: string) => void;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import '../index.less';
3
2
  export declare const useSummary: (locales: any, staticsData: any, isPartner?: boolean) => () => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const _default: ({ input, ...formItemProps }: any) => JSX.Element;
3
2
  export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { RadioGroupProps } from 'antd';
3
2
  export declare const CheckboxGroup: ({ direction, options, ...props }: any) => JSX.Element;
4
3
  export declare const RadioGroup: ({ direction, options, ...props }: RadioGroupProps & {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: ({ color }: {
3
2
  color?: string | undefined;
4
3
  }) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: ({ color }: {
3
2
  color?: string | undefined;
4
3
  }) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @title: 自定义组件设置
4
3
  * @description: 自定义组件设置
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PosProps } from './const';
2
3
  /**
3
4
  * @title: 支付金额信息配置页
@@ -8,7 +9,7 @@ import { PosProps } from './const';
8
9
  */
9
10
  declare const _default: ({ className, onChange, onClose, formatAmount, isMobile, net, client }: {
10
11
  className?: string | undefined;
11
- onChange?: ((status: "success" | "page" | "print" | "fail" | "mark_tx_processed", params?: string | {
12
+ onChange?: ((status: "success" | "page" | "fail" | "print" | "mark_tx_processed", params?: string | {
12
13
  [keys: string]: unknown;
13
14
  } | undefined, other?: any) => void) | undefined;
14
15
  onClose: () => void;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PosProps, RouteType } from './const';
2
3
  declare const App: ({ action, api, device_number, terminal, tyroUrl, tyroVersion, onChangeParams, isMobile, channel, formatAmount, ...props }: Omit<PosProps, "type" | "mode" | "getApi"> & {
3
4
  action: RouteType;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const _default: () => JSX.Element;
3
2
  export default _default;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ActionProps } from '../../const';
2
3
  declare const _default: ({ className, isMobile, onChange }: ActionProps) => JSX.Element;
3
4
  export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './titlebar.less';
3
2
  declare enum EPopupTitleBarVariantType {
4
3
  BackTitleClose = "back-title-cancel",
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { StatusType } from '../../const';
3
2
  declare const _default: (props: {
4
3
  status: StatusType;