@pisell/private-materials 6.3.114 → 6.3.116

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 (281) 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.js +1 -1
  6. package/build/lowcode/view.js +1 -1
  7. package/es/components/booking/addons/model.d.ts +1 -10
  8. package/es/components/booking/forms/model.d.ts +1 -10
  9. package/es/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  10. package/es/components/booking/info/model.d.ts +1 -10
  11. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  12. package/es/components/booking/info/service2/utils.d.ts +1 -1
  13. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  14. package/es/components/booking/model.d.ts +1 -9
  15. package/es/components/booking/notes/model.d.ts +1 -10
  16. package/es/components/booking/payments/model.d.ts +1 -10
  17. package/es/components/eftpos/index.js +3 -3
  18. package/es/components/eftposPay/aggregatePayment/utils/payment.js +7 -1
  19. package/es/components/eftposPay/device.js +7 -3
  20. package/es/components/eftposPay/hooks.d.ts +2 -2
  21. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
  22. package/es/components/pay/toC/model.d.ts +1 -9
  23. package/es/components/schedules/model.d.ts +1 -9
  24. package/es/components/shoppingCart/components/Empty/index.d.ts +1 -0
  25. package/lib/components/booking/addons/model.d.ts +1 -10
  26. package/lib/components/booking/forms/model.d.ts +1 -10
  27. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
  28. package/lib/components/booking/info/model.d.ts +1 -10
  29. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  30. package/lib/components/booking/info/service2/utils.d.ts +1 -1
  31. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  32. package/lib/components/booking/model.d.ts +1 -9
  33. package/lib/components/booking/notes/model.d.ts +1 -10
  34. package/lib/components/booking/payments/model.d.ts +1 -10
  35. package/lib/components/eftpos/index.js +3 -3
  36. package/lib/components/eftposPay/aggregatePayment/utils/payment.js +6 -1
  37. package/lib/components/eftposPay/device.js +24 -21
  38. package/lib/components/eftposPay/hooks.d.ts +2 -2
  39. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
  40. package/lib/components/pay/toC/model.d.ts +1 -9
  41. package/lib/components/schedules/model.d.ts +1 -9
  42. package/lib/components/shoppingCart/components/Empty/index.d.ts +1 -0
  43. package/package.json +3 -3
  44. package/es/components/appointmentBooking/components/Date/state.d.ts +0 -63
  45. package/es/components/appointmentBooking/locales.d.ts +0 -366
  46. package/es/components/authentication/admin/AuthMethods/locales.d.ts +0 -249
  47. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +0 -84
  48. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +0 -41
  49. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +0 -72
  50. package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +0 -33
  51. package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +0 -27
  52. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +0 -66
  53. package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +0 -26
  54. package/es/components/authentication/admin/ChannelAuthSetting/locales.d.ts +0 -39
  55. package/es/components/authentication/admin/CustomerAuth/locales.d.ts +0 -66
  56. package/es/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +0 -108
  57. package/es/components/authentication/admin/DeviceAuth/locales.d.ts +0 -57
  58. package/es/components/authentication/admin/OAuthConfig/locales.d.ts +0 -90
  59. package/es/components/authentication/admin/OrgAdminAuth/locales.d.ts +0 -54
  60. package/es/components/authentication/admin/POSOperatorAuth/locales.d.ts +0 -48
  61. package/es/components/authentication/admin/SaaSAdminAuth/locales.d.ts +0 -54
  62. package/es/components/booking/components/tabPane/index.d.ts +0 -4
  63. package/es/components/booking/dashboard/serve.d.ts +0 -1
  64. package/es/components/booking/editBookingModal/locales.d.ts +0 -21
  65. package/es/components/booking/editBookingModal/mock.d.ts +0 -807
  66. package/es/components/booking/forms/serve.d.ts +0 -18
  67. package/es/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
  68. package/es/components/booking/info/client/serve.d.ts +0 -2
  69. package/es/components/booking/info/hooks/useHolderConfig.d.ts +0 -9
  70. package/es/components/booking/info/pet/serve.d.ts +0 -1
  71. package/es/components/booking/info/service/addTimeModal/serve.d.ts +0 -5
  72. package/es/components/booking/info/service/serve.d.ts +0 -20
  73. package/es/components/booking/info2/serve.d.ts +0 -6
  74. package/es/components/booking/info2/service/addService/mock.d.ts +0 -214
  75. package/es/components/booking/locales.d.ts +0 -846
  76. package/es/components/eftpos/PairModal/hooks.d.ts +0 -27
  77. package/es/components/eftpos/SettlementModal/Action.d.ts +0 -8
  78. package/es/components/eftpos/SettlementModal/types.d.ts +0 -138
  79. package/es/components/eftpos/const.d.ts +0 -66
  80. package/es/components/eftpos/hooks.d.ts +0 -46
  81. package/es/components/eftpos/locales.d.ts +0 -138
  82. package/es/components/eftposPay/aggregatePayment/index.d.ts +0 -3
  83. package/es/components/eftposPay/aggregatePayment/mock.d.ts +0 -495
  84. package/es/components/eftposPay/aggregatePayment/types.d.ts +0 -101
  85. package/es/components/eftposPay/app.d.ts +0 -11
  86. package/es/components/eftposPay/const.d.ts +0 -191
  87. package/es/components/eftposPay/locales.d.ts +0 -333
  88. package/es/components/eftposPay/mx51/Action.d.ts +0 -7
  89. package/es/components/eftposPay/mx51/types.d.ts +0 -138
  90. package/es/components/eftposPay/mx51/utils.d.ts +0 -10
  91. package/es/components/eftposPay/store/index.d.ts +0 -355
  92. package/es/components/eventBooking/components/Voucher/components/locales.d.ts +0 -39
  93. package/es/components/eventBooking/locales.d.ts +0 -246
  94. package/es/components/kioskSkuDetail/locales.d.ts +0 -27
  95. package/es/components/login/locales.d.ts +0 -24
  96. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +0 -6
  97. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -2
  98. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -2
  99. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -3
  100. package/es/components/pay/toC/locales.d.ts +0 -307
  101. package/es/components/pinModal/locales.d.ts +0 -27
  102. package/es/components/pinVerifyModal/locales.d.ts +0 -24
  103. package/es/components/pisellSelectCustomerModal/locales.d.ts +0 -81
  104. package/es/components/productExtension/locales.d.ts +0 -48
  105. package/es/components/productSelect/locales.d.ts +0 -18
  106. package/es/components/ruleSetting/locales.d.ts +0 -48
  107. package/es/components/schedules/locales.d.ts +0 -87
  108. package/es/components/shoppingCart/Provider.d.ts +0 -3
  109. package/es/components/shoppingCart/locales.d.ts +0 -33
  110. package/es/components/shoppingCart/mock.d.ts +0 -40
  111. package/es/components/shoppingCart/type.d.ts +0 -48
  112. package/es/components/shoppingCart/utils.d.ts +0 -63
  113. package/es/components/stepController/locales.d.ts +0 -27
  114. package/es/components/subTotal/locales.d.ts +0 -42
  115. package/es/components/systemSettings/registry/locales.d.ts +0 -272
  116. package/es/components/systemSettings/registry/services.d.ts +0 -77
  117. package/es/components/systemSettings/registry/types.d.ts +0 -126
  118. package/es/components/taxSelect/locales.d.ts +0 -24
  119. package/es/components/ticketBooking/locales.d.ts +0 -174
  120. package/es/components/wallet/utils.d.ts +0 -48
  121. package/es/components/walletList/locales.d.ts +0 -27
  122. package/es/components/walletList/types/index.d.ts +0 -194
  123. package/es/hooks/useEngineContext.d.ts +0 -10
  124. package/es/hooks/useLocale.d.ts +0 -2
  125. package/es/hooks/useWindowSize.d.ts +0 -5
  126. package/es/plus/contactInfo/components/SwipeAction/index.d.ts +0 -46
  127. package/es/plus/contactInfo/locales.d.ts +0 -15
  128. package/es/plus/contactInfoModal/locales.d.ts +0 -66
  129. package/es/plus/productSelect/ProductList/gridComponents.d.ts +0 -44
  130. package/es/plus/productSelect/locales.d.ts +0 -18
  131. package/es/plus/saasCreateOrganization/locales.d.ts +0 -15
  132. package/es/plus/saasLogin/locales.d.ts +0 -51
  133. package/es/plus/saasRegister/locales.d.ts +0 -117
  134. package/es/plus/selectHolder/locales.d.ts +0 -21
  135. package/es/plus/skuOptionsSelection/locales.d.ts +0 -33
  136. package/es/plus/skuOptionsSelection/store/store.d.ts +0 -4
  137. package/es/plus/skuOptionsSelection/types.d.ts +0 -429
  138. package/es/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +0 -1
  139. package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +0 -4
  140. package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +0 -4
  141. package/es/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +0 -1
  142. package/es/plus/walletEditor/locales.d.ts +0 -135
  143. package/es/plus/walletEditor/types.d.ts +0 -52
  144. package/es/plus/walletPassGallery/locales.d.ts +0 -285
  145. package/es/plus/walletPassGallery/utils.d.ts +0 -48
  146. package/es/pro/Login2.0/locales.d.ts +0 -543
  147. package/es/pro/Login2.0/shared/types.d.ts +0 -232
  148. package/es/pro/NumericStepper/index.d.ts +0 -43
  149. package/es/pro/Selector/BatchSelectorDemo.d.ts +0 -3
  150. package/es/pro/Selector/Item.d.ts +0 -14
  151. package/es/pro/Selector/components/Card/index.d.ts +0 -57
  152. package/es/pro/Selector/components/Indicator/index.d.ts +0 -19
  153. package/es/pro/Selector/components/LayoutContainer/index.d.ts +0 -16
  154. package/es/pro/Selector/components/Media/index.d.ts +0 -6
  155. package/es/pro/Selector/demo.d.ts +0 -3
  156. package/es/pro/Selector/hooks/usePresetItemProps.d.ts +0 -43
  157. package/es/pro/Selector/hooks/usePresetProps.d.ts +0 -24
  158. package/es/pro/Selector/locales.d.ts +0 -36
  159. package/es/pro/Selector/types.d.ts +0 -173
  160. package/es/pro/Selector/utils/index.d.ts +0 -49
  161. package/es/pro/numberKeyboard/locales.d.ts +0 -12
  162. package/es/pro/pisellNumberSelector/example.d.ts +0 -3
  163. package/lib/components/appointmentBooking/components/Date/state.d.ts +0 -63
  164. package/lib/components/appointmentBooking/locales.d.ts +0 -366
  165. package/lib/components/authentication/admin/AuthMethods/locales.d.ts +0 -249
  166. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +0 -84
  167. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +0 -41
  168. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +0 -72
  169. package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +0 -33
  170. package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +0 -27
  171. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +0 -66
  172. package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +0 -26
  173. package/lib/components/authentication/admin/ChannelAuthSetting/locales.d.ts +0 -39
  174. package/lib/components/authentication/admin/CustomerAuth/locales.d.ts +0 -66
  175. package/lib/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +0 -108
  176. package/lib/components/authentication/admin/DeviceAuth/locales.d.ts +0 -57
  177. package/lib/components/authentication/admin/OAuthConfig/locales.d.ts +0 -90
  178. package/lib/components/authentication/admin/OrgAdminAuth/locales.d.ts +0 -54
  179. package/lib/components/authentication/admin/POSOperatorAuth/locales.d.ts +0 -48
  180. package/lib/components/authentication/admin/SaaSAdminAuth/locales.d.ts +0 -54
  181. package/lib/components/booking/components/tabPane/index.d.ts +0 -4
  182. package/lib/components/booking/dashboard/serve.d.ts +0 -1
  183. package/lib/components/booking/editBookingModal/locales.d.ts +0 -21
  184. package/lib/components/booking/editBookingModal/mock.d.ts +0 -807
  185. package/lib/components/booking/forms/serve.d.ts +0 -18
  186. package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
  187. package/lib/components/booking/info/client/serve.d.ts +0 -2
  188. package/lib/components/booking/info/hooks/useHolderConfig.d.ts +0 -9
  189. package/lib/components/booking/info/pet/serve.d.ts +0 -1
  190. package/lib/components/booking/info/service/addTimeModal/serve.d.ts +0 -5
  191. package/lib/components/booking/info/service/serve.d.ts +0 -20
  192. package/lib/components/booking/info2/serve.d.ts +0 -6
  193. package/lib/components/booking/info2/service/addService/mock.d.ts +0 -214
  194. package/lib/components/booking/locales.d.ts +0 -846
  195. package/lib/components/eftpos/PairModal/hooks.d.ts +0 -27
  196. package/lib/components/eftpos/SettlementModal/Action.d.ts +0 -8
  197. package/lib/components/eftpos/SettlementModal/types.d.ts +0 -138
  198. package/lib/components/eftpos/const.d.ts +0 -66
  199. package/lib/components/eftpos/hooks.d.ts +0 -46
  200. package/lib/components/eftpos/locales.d.ts +0 -138
  201. package/lib/components/eftposPay/aggregatePayment/index.d.ts +0 -3
  202. package/lib/components/eftposPay/aggregatePayment/mock.d.ts +0 -495
  203. package/lib/components/eftposPay/aggregatePayment/types.d.ts +0 -101
  204. package/lib/components/eftposPay/app.d.ts +0 -11
  205. package/lib/components/eftposPay/const.d.ts +0 -191
  206. package/lib/components/eftposPay/locales.d.ts +0 -333
  207. package/lib/components/eftposPay/mx51/Action.d.ts +0 -7
  208. package/lib/components/eftposPay/mx51/types.d.ts +0 -138
  209. package/lib/components/eftposPay/mx51/utils.d.ts +0 -10
  210. package/lib/components/eftposPay/store/index.d.ts +0 -355
  211. package/lib/components/eventBooking/components/Voucher/components/locales.d.ts +0 -39
  212. package/lib/components/eventBooking/locales.d.ts +0 -246
  213. package/lib/components/kioskSkuDetail/locales.d.ts +0 -27
  214. package/lib/components/login/locales.d.ts +0 -24
  215. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +0 -6
  216. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -2
  217. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -2
  218. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -3
  219. package/lib/components/pay/toC/locales.d.ts +0 -307
  220. package/lib/components/pinModal/locales.d.ts +0 -27
  221. package/lib/components/pinVerifyModal/locales.d.ts +0 -24
  222. package/lib/components/pisellSelectCustomerModal/locales.d.ts +0 -81
  223. package/lib/components/productExtension/locales.d.ts +0 -48
  224. package/lib/components/productSelect/locales.d.ts +0 -18
  225. package/lib/components/ruleSetting/locales.d.ts +0 -48
  226. package/lib/components/schedules/locales.d.ts +0 -87
  227. package/lib/components/shoppingCart/Provider.d.ts +0 -3
  228. package/lib/components/shoppingCart/locales.d.ts +0 -33
  229. package/lib/components/shoppingCart/mock.d.ts +0 -40
  230. package/lib/components/shoppingCart/type.d.ts +0 -48
  231. package/lib/components/shoppingCart/utils.d.ts +0 -63
  232. package/lib/components/stepController/locales.d.ts +0 -27
  233. package/lib/components/subTotal/locales.d.ts +0 -42
  234. package/lib/components/systemSettings/registry/locales.d.ts +0 -272
  235. package/lib/components/systemSettings/registry/services.d.ts +0 -77
  236. package/lib/components/systemSettings/registry/types.d.ts +0 -126
  237. package/lib/components/taxSelect/locales.d.ts +0 -24
  238. package/lib/components/ticketBooking/locales.d.ts +0 -174
  239. package/lib/components/wallet/utils.d.ts +0 -48
  240. package/lib/components/walletList/locales.d.ts +0 -27
  241. package/lib/components/walletList/types/index.d.ts +0 -194
  242. package/lib/hooks/useEngineContext.d.ts +0 -10
  243. package/lib/hooks/useLocale.d.ts +0 -2
  244. package/lib/hooks/useWindowSize.d.ts +0 -5
  245. package/lib/plus/contactInfo/components/SwipeAction/index.d.ts +0 -46
  246. package/lib/plus/contactInfo/locales.d.ts +0 -15
  247. package/lib/plus/contactInfoModal/locales.d.ts +0 -66
  248. package/lib/plus/productSelect/ProductList/gridComponents.d.ts +0 -44
  249. package/lib/plus/productSelect/locales.d.ts +0 -18
  250. package/lib/plus/saasCreateOrganization/locales.d.ts +0 -15
  251. package/lib/plus/saasLogin/locales.d.ts +0 -51
  252. package/lib/plus/saasRegister/locales.d.ts +0 -117
  253. package/lib/plus/selectHolder/locales.d.ts +0 -21
  254. package/lib/plus/skuOptionsSelection/locales.d.ts +0 -33
  255. package/lib/plus/skuOptionsSelection/store/store.d.ts +0 -4
  256. package/lib/plus/skuOptionsSelection/types.d.ts +0 -429
  257. package/lib/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +0 -1
  258. package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +0 -4
  259. package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +0 -4
  260. package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +0 -1
  261. package/lib/plus/walletEditor/locales.d.ts +0 -135
  262. package/lib/plus/walletEditor/types.d.ts +0 -52
  263. package/lib/plus/walletPassGallery/locales.d.ts +0 -285
  264. package/lib/plus/walletPassGallery/utils.d.ts +0 -48
  265. package/lib/pro/Login2.0/locales.d.ts +0 -543
  266. package/lib/pro/Login2.0/shared/types.d.ts +0 -232
  267. package/lib/pro/NumericStepper/index.d.ts +0 -43
  268. package/lib/pro/Selector/BatchSelectorDemo.d.ts +0 -3
  269. package/lib/pro/Selector/Item.d.ts +0 -14
  270. package/lib/pro/Selector/components/Card/index.d.ts +0 -57
  271. package/lib/pro/Selector/components/Indicator/index.d.ts +0 -19
  272. package/lib/pro/Selector/components/LayoutContainer/index.d.ts +0 -16
  273. package/lib/pro/Selector/components/Media/index.d.ts +0 -6
  274. package/lib/pro/Selector/demo.d.ts +0 -3
  275. package/lib/pro/Selector/hooks/usePresetItemProps.d.ts +0 -43
  276. package/lib/pro/Selector/hooks/usePresetProps.d.ts +0 -24
  277. package/lib/pro/Selector/locales.d.ts +0 -36
  278. package/lib/pro/Selector/types.d.ts +0 -173
  279. package/lib/pro/Selector/utils/index.d.ts +0 -49
  280. package/lib/pro/numberKeyboard/locales.d.ts +0 -12
  281. package/lib/pro/pisellNumberSelector/example.d.ts +0 -3
@@ -1,10 +1 @@
1
- /// <reference types="react" />
2
- import { FormState } from "../model";
3
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
- state: FormState;
5
- } & {
6
- dispatch: (params: {
7
- type: string;
8
- payload: any;
9
- }) => void;
10
- }>;
1
+ export declare const Provider: any, Context: any;
@@ -1,10 +1 @@
1
- /// <reference types="react" />
2
- import { FormState } from "../model";
3
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
- state: FormState;
5
- } & {
6
- dispatch: (params: {
7
- type: string;
8
- payload: any;
9
- }) => void;
10
- }>;
1
+ export declare const Provider: any, Context: any;
@@ -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,14 +1,5 @@
1
- /// <reference types="react" />
2
- import { FormState } from '../model';
3
1
  export declare const walkInData: {
4
2
  id: number;
5
3
  nickname: string;
6
4
  };
7
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
8
- state: FormState;
9
- } & {
10
- dispatch: (params: {
11
- type: string;
12
- payload: any;
13
- }) => void;
14
- }>;
5
+ export declare const Provider: any, Context: any;
@@ -6,7 +6,7 @@ export declare const getDurationProps: ({ cacheItem, useStartTime, currentResour
6
6
  type: string;
7
7
  value: number;
8
8
  };
9
- locale: string;
9
+ locale: any;
10
10
  slice: any;
11
11
  selectProps: {
12
12
  size: string;
@@ -245,4 +245,4 @@ export declare const updateAppointmentServicePrice: (state: any, { start_date, e
245
245
  * @Author: WangHan
246
246
  * @Date: 2024-12-24 11:32
247
247
  */
248
- export declare const updateServicePrice: (state: any) => never[] | Promise<any>;
248
+ export declare const updateServicePrice: (state: any) => Promise<any> | never[];
@@ -7,7 +7,7 @@ export declare const getDurationProps: ({ cacheItem, useStartTime, currentResour
7
7
  type: string;
8
8
  value: number;
9
9
  };
10
- locale: string;
10
+ locale: any;
11
11
  slice: any;
12
12
  selectProps: {
13
13
  size: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface FormState {
3
2
  amountSymbol: string;
4
3
  apis: {
@@ -110,11 +109,4 @@ export declare const walkInData: {
110
109
  id: number;
111
110
  nickname: string;
112
111
  };
113
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
114
- state: FormState;
115
- } & {
116
- dispatch: (params: {
117
- type: string;
118
- payload: any;
119
- }) => void;
120
- }>;
112
+ export declare const Provider: any, Context: any;
@@ -1,10 +1 @@
1
- /// <reference types="react" />
2
- import { FormState } from "../model";
3
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
- state: FormState;
5
- } & {
6
- dispatch: (params: {
7
- type: string;
8
- payload: any;
9
- }) => void;
10
- }>;
1
+ export declare const Provider: any, Context: any;
@@ -1,10 +1 @@
1
- /// <reference types="react" />
2
- import { FormState } from "../model";
3
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
- state: FormState;
5
- } & {
6
- dispatch: (params: {
7
- type: string;
8
- payload: any;
9
- }) => void;
10
- }>;
1
+ export declare const Provider: any, Context: any;
@@ -370,7 +370,7 @@ export default (function (props) {
370
370
  console.log('pair_response = ', pair_response);
371
371
  update = /*#__PURE__*/function () {
372
372
  var _ref5 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
373
- var _device$connection, _device$connection2;
373
+ var _device$connection;
374
374
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
375
375
  while (1) switch (_context3.prev = _context3.next) {
376
376
  case 0:
@@ -390,7 +390,7 @@ export default (function (props) {
390
390
  },
391
391
  content: /*#__PURE__*/React.createElement("div", {
392
392
  className: "pisell-lowcode__pos_message-custom-content_mx51"
393
- }, /*#__PURE__*/React.createElement("span", null, "Terminal paired successfully."), /*#__PURE__*/React.createElement("span", null, /*#__PURE__*/React.createElement("span", null, "Pairing Name: ", (device === null || device === void 0 || (_device$connection = device.connection) === null || _device$connection === void 0 ? void 0 : _device$connection.pairing_nickname) || '-'), /*#__PURE__*/React.createElement("span", null, "Pairing ID: ", (device === null || device === void 0 || (_device$connection2 = device.connection) === null || _device$connection2 === void 0 ? void 0 : _device$connection2.pairing_code) || '-')))
393
+ }, /*#__PURE__*/React.createElement("span", null, "Terminal paired successfully."), /*#__PURE__*/React.createElement("span", null, /*#__PURE__*/React.createElement("span", null, "Pairing Name: ", (device === null || device === void 0 || (_device$connection = device.connection) === null || _device$connection === void 0 ? void 0 : _device$connection.pairing_nickname) || '-'), /*#__PURE__*/React.createElement("span", null, "Pairing ID: ", (pair_response === null || pair_response === void 0 ? void 0 : pair_response.pairing_id) || '-')))
394
394
  });
395
395
  }
396
396
  _context3.next = 9;
@@ -724,7 +724,7 @@ export default (function (props) {
724
724
  src: mx51SCISvg,
725
725
  preview: false,
726
726
  width: 24
727
- }), /*#__PURE__*/React.createElement("span", null, "Simple Cloud Payments")) : locales.getText('page.eftpos.text.device.add')(status, name),
727
+ }), /*#__PURE__*/React.createElement("span", null, "Simple Cloud Integration")) : locales.getText('page.eftpos.text.device.add')(status, name),
728
728
  titleNoWrap: true,
729
729
  zIndex: zIndex || 9999,
730
730
  destroyOnClose: true,
@@ -819,7 +819,7 @@ var PaymentMethod = /*#__PURE__*/function () {
819
819
  this.handleOperationError(res);
820
820
  } else {
821
821
  paymentLog.addLog({
822
- title: "".concat(actionType, "\u8D85\u65F6\u6216\u65E0\u660E\u786E\u9519\u8BEF\uFF0C\u7B49\u5F85\u8F6E\u8BE2\u7ED3\u679C"),
822
+ title: "".concat(actionType, "\u8D85\u65F6\u6216\u65E0\u660E\u786E\u9519\u8BEF\uFF0C\u5F00\u59CB\u8F6E\u8BE2"),
823
823
  content: {
824
824
  actionType: actionType,
825
825
  res: res
@@ -880,6 +880,12 @@ var PaymentMethod = /*#__PURE__*/function () {
880
880
  error: _context3.t0
881
881
  }
882
882
  });
883
+ // 直接开始轮询,不等待10秒,startQuery内部会处理竞态问题
884
+ if (this.queryStartTimer) {
885
+ clearTimeout(this.queryStartTimer);
886
+ this.queryStartTimer = null;
887
+ }
888
+ this.startQuery(actionType);
883
889
  }
884
890
  case 41:
885
891
  case "end":
@@ -15,7 +15,7 @@ import { useMount } from 'ahooks';
15
15
  import { Spin, message } from 'antd';
16
16
  import React, { useState } from 'react';
17
17
  import Titlebar from "./component/header/titlebar";
18
- import { ModeEnum } from "./const";
18
+ import { ModeEnum, EftposEnum } from "./const";
19
19
  import { getPayAmonunt } from "./helper";
20
20
  import ChevronRight from '@pisell/icon/es/ChevronRight';
21
21
  import { useDispatch, useContextData, updateDevice, updateState } from "./store";
@@ -189,9 +189,11 @@ export default (function (_ref) {
189
189
  gap: '10px'
190
190
  }
191
191
  }, list.map(function (_ref3, index) {
192
+ var _connection$response;
192
193
  var id = _ref3.id,
193
194
  name = _ref3.name,
194
- pay = _ref3.pay;
195
+ pay = _ref3.pay,
196
+ connection = _ref3.connection;
195
197
  return /*#__PURE__*/React.createElement("div", {
196
198
  key: id,
197
199
  className: "pisell-lowcode__eft-pay-device ".concat(id === (device === null || device === void 0 ? void 0 : device.id) ? 'active' : ''),
@@ -207,7 +209,9 @@ export default (function (_ref) {
207
209
  className: "pisell-lowcode__eft-pay-device-money"
208
210
  }, pay.totalUnit), /*#__PURE__*/React.createElement("div", {
209
211
  className: "pisell-lowcode__eft-pay-device-sucharge"
210
- }, locales.getText('page.eftpos-pay.text.surcharge.edit.inc.surcharge'), ": ", formatAmount("".concat(pay.surcharge), 2, symbol), " (", locales.getText('page.eftpos-pay.text.surcharge.edit.rate'), ":", pay.surRate, "% +", ' ', formatAmount("".concat(pay.surMoney), 2, symbol), ")"))), /*#__PURE__*/React.createElement("div", {
212
+ }, locales.getText('page.eftpos-pay.text.surcharge.edit.inc.surcharge'), ": ", formatAmount("".concat(pay.surcharge), 2, symbol), " (", locales.getText('page.eftpos-pay.text.surcharge.edit.rate'), ":", pay.surRate, "% +", ' ', formatAmount("".concat(pay.surMoney), 2, symbol), ")"), eftpos === EftposEnum.MX51 ? /*#__PURE__*/React.createElement("div", {
213
+ className: "pisell-lowcode__eft-pay-device-sucharge"
214
+ }, "Pairing ID: ", connection === null || connection === void 0 || (_connection$response = connection.response) === null || _connection$response === void 0 ? void 0 : _connection$response.pairing_id) : null)), /*#__PURE__*/React.createElement("div", {
211
215
  style: {
212
216
  flexShrink: 0
213
217
  }
@@ -15,11 +15,11 @@ export declare const useStoreRef: <T extends {
15
15
  readonly numRef: React.MutableRefObject<string | number | undefined>;
16
16
  readonly orderIdRef: React.MutableRefObject<string | number>;
17
17
  readonly modeRef: React.MutableRefObject<ModeEnum>;
18
- readonly statusRef: React.MutableRefObject<"warn" | "success" | "loading" | "fail" | "pedding" | "resove" | "reject" | "question">;
18
+ readonly statusRef: React.MutableRefObject<"success" | "warn" | "loading" | "fail" | "pedding" | "resove" | "reject" | "question">;
19
19
  readonly netRef: React.MutableRefObject<boolean | undefined>;
20
20
  readonly symbolRef: React.MutableRefObject<string>;
21
21
  readonly amountRef: React.MutableRefObject<string | number>;
22
- readonly eftposRef: React.MutableRefObject<"stripe" | "tyro" | "windcave" | "payo" | "linkly" | "mx51">;
22
+ readonly eftposRef: React.MutableRefObject<"payo" | "tyro" | "windcave" | "stripe" | "linkly" | "mx51">;
23
23
  readonly clientRef: React.MutableRefObject<ClientEnum>;
24
24
  readonly dataRef: React.MutableRefObject<import("./store").State>;
25
25
  };
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare type CallToBookProps = {
2
3
  show: boolean;
3
4
  type: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface FormState {
3
2
  platform: 'pc' | 'h5' | '' | undefined;
4
3
  order: any;
@@ -30,11 +29,4 @@ export interface PayGroup {
30
29
  _order: any;
31
30
  front_order_uuid?: string;
32
31
  }
33
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
34
- state: FormState;
35
- } & {
36
- dispatch: (params: {
37
- type: string;
38
- payload: any;
39
- }) => void;
40
- }>;
32
+ export declare const Provider: any, Context: 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;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Empty: (props: any) => import("react").JSX.Element;
3
4
  export default Empty;
@@ -1,10 +1 @@
1
- /// <reference types="react" />
2
- import { FormState } from "../model";
3
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
- state: FormState;
5
- } & {
6
- dispatch: (params: {
7
- type: string;
8
- payload: any;
9
- }) => void;
10
- }>;
1
+ export declare const Provider: any, Context: any;
@@ -1,10 +1 @@
1
- /// <reference types="react" />
2
- import { FormState } from "../model";
3
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
- state: FormState;
5
- } & {
6
- dispatch: (params: {
7
- type: string;
8
- payload: any;
9
- }) => void;
10
- }>;
1
+ export declare const Provider: any, Context: any;
@@ -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,14 +1,5 @@
1
- /// <reference types="react" />
2
- import { FormState } from '../model';
3
1
  export declare const walkInData: {
4
2
  id: number;
5
3
  nickname: string;
6
4
  };
7
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
8
- state: FormState;
9
- } & {
10
- dispatch: (params: {
11
- type: string;
12
- payload: any;
13
- }) => void;
14
- }>;
5
+ export declare const Provider: any, Context: any;
@@ -6,7 +6,7 @@ export declare const getDurationProps: ({ cacheItem, useStartTime, currentResour
6
6
  type: string;
7
7
  value: number;
8
8
  };
9
- locale: string;
9
+ locale: any;
10
10
  slice: any;
11
11
  selectProps: {
12
12
  size: string;
@@ -245,4 +245,4 @@ export declare const updateAppointmentServicePrice: (state: any, { start_date, e
245
245
  * @Author: WangHan
246
246
  * @Date: 2024-12-24 11:32
247
247
  */
248
- export declare const updateServicePrice: (state: any) => never[] | Promise<any>;
248
+ export declare const updateServicePrice: (state: any) => Promise<any> | never[];
@@ -7,7 +7,7 @@ export declare const getDurationProps: ({ cacheItem, useStartTime, currentResour
7
7
  type: string;
8
8
  value: number;
9
9
  };
10
- locale: string;
10
+ locale: any;
11
11
  slice: any;
12
12
  selectProps: {
13
13
  size: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface FormState {
3
2
  amountSymbol: string;
4
3
  apis: {
@@ -110,11 +109,4 @@ export declare const walkInData: {
110
109
  id: number;
111
110
  nickname: string;
112
111
  };
113
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
114
- state: FormState;
115
- } & {
116
- dispatch: (params: {
117
- type: string;
118
- payload: any;
119
- }) => void;
120
- }>;
112
+ export declare const Provider: any, Context: any;
@@ -1,10 +1 @@
1
- /// <reference types="react" />
2
- import { FormState } from "../model";
3
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
- state: FormState;
5
- } & {
6
- dispatch: (params: {
7
- type: string;
8
- payload: any;
9
- }) => void;
10
- }>;
1
+ export declare const Provider: any, Context: any;
@@ -1,10 +1 @@
1
- /// <reference types="react" />
2
- import { FormState } from "../model";
3
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
- state: FormState;
5
- } & {
6
- dispatch: (params: {
7
- type: string;
8
- payload: any;
9
- }) => void;
10
- }>;
1
+ export declare const Provider: any, Context: any;
@@ -236,7 +236,7 @@ var eftpos_default = (props) => {
236
236
  console.log("device = ", device);
237
237
  console.log("pair_response = ", pair_response);
238
238
  const update = async () => {
239
- var _a, _b;
239
+ var _a;
240
240
  try {
241
241
  await onEdit({ ...device, type, pair_response }, status || "add");
242
242
  if (type === import_const.Eftpos.MX51 && (status === import_const.DeviceEnum.Add || status === import_const.DeviceEnum.Repair)) {
@@ -245,7 +245,7 @@ var eftpos_default = (props) => {
245
245
  style: {
246
246
  zIndex: (zIndex || 9999) + 1
247
247
  },
248
- content: /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__pos_message-custom-content_mx51" }, /* @__PURE__ */ import_react.default.createElement("span", null, "Terminal paired successfully."), /* @__PURE__ */ import_react.default.createElement("span", null, /* @__PURE__ */ import_react.default.createElement("span", null, "Pairing Name: ", ((_a = device == null ? void 0 : device.connection) == null ? void 0 : _a.pairing_nickname) || "-"), /* @__PURE__ */ import_react.default.createElement("span", null, "Pairing ID: ", ((_b = device == null ? void 0 : device.connection) == null ? void 0 : _b.pairing_code) || "-")))
248
+ content: /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__pos_message-custom-content_mx51" }, /* @__PURE__ */ import_react.default.createElement("span", null, "Terminal paired successfully."), /* @__PURE__ */ import_react.default.createElement("span", null, /* @__PURE__ */ import_react.default.createElement("span", null, "Pairing Name: ", ((_a = device == null ? void 0 : device.connection) == null ? void 0 : _a.pairing_nickname) || "-"), /* @__PURE__ */ import_react.default.createElement("span", null, "Pairing ID: ", (pair_response == null ? void 0 : pair_response.pairing_id) || "-")))
249
249
  });
250
250
  }
251
251
  } catch (error) {
@@ -507,7 +507,7 @@ var eftpos_default = (props) => {
507
507
  }
508
508
  },
509
509
  /* @__PURE__ */ import_react.default.createElement(import_materials.Image, { src: import_mx51SCI.default, preview: false, width: 24 }),
510
- /* @__PURE__ */ import_react.default.createElement("span", null, "Simple Cloud Payments")
510
+ /* @__PURE__ */ import_react.default.createElement("span", null, "Simple Cloud Integration")
511
511
  ) : import_utils.locales.getText("page.eftpos.text.device.add")(status, name),
512
512
  titleNoWrap: true,
513
513
  zIndex: zIndex || 9999,
@@ -564,7 +564,7 @@ var PaymentMethod = class {
564
564
  this.handleOperationError(res);
565
565
  } else {
566
566
  import_logs.default.addLog({
567
- title: `${actionType}超时或无明确错误,等待轮询结果`,
567
+ title: `${actionType}超时或无明确错误,开始轮询`,
568
568
  content: { actionType, res }
569
569
  });
570
570
  if (this.queryStartTimer) {
@@ -596,6 +596,11 @@ var PaymentMethod = class {
596
596
  title: `${actionType}超时或无明确错误,等待轮询结果`,
597
597
  content: { actionType, error }
598
598
  });
599
+ if (this.queryStartTimer) {
600
+ clearTimeout(this.queryStartTimer);
601
+ this.queryStartTimer = null;
602
+ }
603
+ this.startQuery(actionType);
599
604
  }
600
605
  }
601
606
  }
@@ -157,28 +157,31 @@ var device_default = ({
157
157
  {
158
158
  style: { display: "flex", flexDirection: "column", gap: "10px" }
159
159
  },
160
- list.map(({ id, name, pay }, index) => /* @__PURE__ */ import_react.default.createElement(
161
- "div",
162
- {
163
- key: id,
164
- className: `pisell-lowcode__eft-pay-device ${id === (device == null ? void 0 : device.id) ? "active" : ""}`,
165
- "data-index": index,
166
- onClick,
167
- role: "button",
168
- tabIndex: index
169
- },
170
- /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__eft-pay-device-content" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__eft-pay-device-name" }, name), mode === import_const.ModeEnum.Refund ? null : /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__eft-pay-device-money" }, pay.totalUnit), /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__eft-pay-device-sucharge" }, import_utils.locales.getText(
171
- "page.eftpos-pay.text.surcharge.edit.inc.surcharge"
172
- ), ": ", formatAmount(`${pay.surcharge}`, 2, symbol), " (", import_utils.locales.getText(
173
- "page.eftpos-pay.text.surcharge.edit.rate"
174
- ), ":", pay.surRate, "% +", " ", formatAmount(`${pay.surMoney}`, 2, symbol), ")"))),
175
- /* @__PURE__ */ import_react.default.createElement("div", { style: { flexShrink: 0 } }, /* @__PURE__ */ import_react.default.createElement(
176
- import_ChevronRight.default,
160
+ list.map(({ id, name, pay, connection }, index) => {
161
+ var _a;
162
+ return /* @__PURE__ */ import_react.default.createElement(
163
+ "div",
177
164
  {
178
- style: { fontWeight: "600", fontSize: "24px" }
179
- }
180
- ))
181
- ))
165
+ key: id,
166
+ className: `pisell-lowcode__eft-pay-device ${id === (device == null ? void 0 : device.id) ? "active" : ""}`,
167
+ "data-index": index,
168
+ onClick,
169
+ role: "button",
170
+ tabIndex: index
171
+ },
172
+ /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__eft-pay-device-content" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__eft-pay-device-name" }, name), mode === import_const.ModeEnum.Refund ? null : /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__eft-pay-device-money" }, pay.totalUnit), /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__eft-pay-device-sucharge" }, import_utils.locales.getText(
173
+ "page.eftpos-pay.text.surcharge.edit.inc.surcharge"
174
+ ), ": ", formatAmount(`${pay.surcharge}`, 2, symbol), " (", import_utils.locales.getText(
175
+ "page.eftpos-pay.text.surcharge.edit.rate"
176
+ ), ":", pay.surRate, "% +", " ", formatAmount(`${pay.surMoney}`, 2, symbol), ")"), eftpos === import_const.EftposEnum.MX51 ? /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode__eft-pay-device-sucharge" }, "Pairing ID: ", (_a = connection == null ? void 0 : connection.response) == null ? void 0 : _a.pairing_id) : null)),
177
+ /* @__PURE__ */ import_react.default.createElement("div", { style: { flexShrink: 0 } }, /* @__PURE__ */ import_react.default.createElement(
178
+ import_ChevronRight.default,
179
+ {
180
+ style: { fontWeight: "600", fontSize: "24px" }
181
+ }
182
+ ))
183
+ );
184
+ })
182
185
  ))
183
186
  ) : /* @__PURE__ */ import_react.default.createElement(
184
187
  "div",
@@ -15,11 +15,11 @@ export declare const useStoreRef: <T extends {
15
15
  readonly numRef: React.MutableRefObject<string | number | undefined>;
16
16
  readonly orderIdRef: React.MutableRefObject<string | number>;
17
17
  readonly modeRef: React.MutableRefObject<ModeEnum>;
18
- readonly statusRef: React.MutableRefObject<"warn" | "success" | "loading" | "fail" | "pedding" | "resove" | "reject" | "question">;
18
+ readonly statusRef: React.MutableRefObject<"success" | "warn" | "loading" | "fail" | "pedding" | "resove" | "reject" | "question">;
19
19
  readonly netRef: React.MutableRefObject<boolean | undefined>;
20
20
  readonly symbolRef: React.MutableRefObject<string>;
21
21
  readonly amountRef: React.MutableRefObject<string | number>;
22
- readonly eftposRef: React.MutableRefObject<"stripe" | "tyro" | "windcave" | "payo" | "linkly" | "mx51">;
22
+ readonly eftposRef: React.MutableRefObject<"payo" | "tyro" | "windcave" | "stripe" | "linkly" | "mx51">;
23
23
  readonly clientRef: React.MutableRefObject<ClientEnum>;
24
24
  readonly dataRef: React.MutableRefObject<import("./store").State>;
25
25
  };
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare type CallToBookProps = {
2
3
  show: boolean;
3
4
  type: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface FormState {
3
2
  platform: 'pc' | 'h5' | '' | undefined;
4
3
  order: any;
@@ -30,11 +29,4 @@ export interface PayGroup {
30
29
  _order: any;
31
30
  front_order_uuid?: string;
32
31
  }
33
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
34
- state: FormState;
35
- } & {
36
- dispatch: (params: {
37
- type: string;
38
- payload: any;
39
- }) => void;
40
- }>;
32
+ export declare const Provider: any, Context: 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;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Empty: (props: any) => import("react").JSX.Element;
3
4
  export default Empty;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/private-materials",
3
- "version": "6.3.114",
3
+ "version": "6.3.116",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -78,8 +78,8 @@
78
78
  "styled-components": "^6.0.0-rc.3",
79
79
  "@pisell/date-picker": "3.0.8",
80
80
  "@pisell/icon": "0.0.11",
81
- "@pisell/utils": "3.0.5",
82
- "@pisell/materials": "6.3.23"
81
+ "@pisell/materials": "6.3.23",
82
+ "@pisell/utils": "3.0.5"
83
83
  },
84
84
  "peerDependencies": {
85
85
  "react": "^18.0.0",