@pisell/private-materials 3.2.1 → 3.2.3

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 (262) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/index.js +1 -1
  5. package/build/lowcode/meta.js +1 -1
  6. package/build/lowcode/preview.js +3 -3
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +10 -10
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +9 -9
  11. package/es/components/booking/addons/model.d.ts +10 -1
  12. package/es/components/booking/addons/model.js +5 -5
  13. package/es/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  14. package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
  15. package/es/components/booking/components/TabProduct/selectProductItem/index.js +4 -4
  16. package/es/components/booking/components/TabProduct/tabs/index.js +5 -1
  17. package/es/components/booking/components/browserSelect/index.js +1 -1
  18. package/es/components/booking/components/collapsibleList/utils.d.ts +1 -0
  19. package/es/components/booking/components/emptyBooking/index.d.ts +1 -0
  20. package/es/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
  21. package/es/components/booking/deposit/index.d.ts +1 -0
  22. package/es/components/booking/forms/model.d.ts +10 -1
  23. package/es/components/booking/forms/model.js +5 -5
  24. package/es/components/booking/forms/single/index.d.ts +1 -0
  25. package/es/components/booking/hooks/useClearCart.d.ts +1 -0
  26. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
  27. package/es/components/booking/info/date/index.d.ts +1 -0
  28. package/es/components/booking/info/header/index.d.ts +1 -0
  29. package/es/components/booking/info/model.d.ts +10 -1
  30. package/es/components/booking/info/notes/index.d.ts +1 -0
  31. package/es/components/booking/info/service/actions/index.d.ts +1 -0
  32. package/es/components/booking/info/service/like/index.js +1 -1
  33. package/es/components/booking/info/service/serviceItem/index.d.ts +1 -0
  34. package/es/components/booking/info/service/serviceList/index.d.ts +1 -0
  35. package/es/components/booking/info2/service/actions/index.d.ts +1 -0
  36. package/es/components/booking/info2/service/addService/index.d.ts +1 -0
  37. package/es/components/booking/info2/service/addTimeModal/index.d.ts +1 -0
  38. package/es/components/booking/info2/service/serviceItem/index.d.ts +1 -0
  39. package/es/components/booking/info2/service/serviceList/index.d.ts +1 -0
  40. package/es/components/booking/materiels/contacts/index.d.ts +1 -0
  41. package/es/components/booking/materiels/contacts/index.js +5 -5
  42. package/es/components/booking/materiels/duration/index.d.ts +1 -0
  43. package/es/components/booking/materiels/startTime/index.d.ts +1 -0
  44. package/es/components/booking/materiels/startTime/index.js +1 -1
  45. package/es/components/booking/model.d.ts +9 -1
  46. package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
  47. package/es/components/booking/notes/NoteBlock/NoteItem/index.js +1 -1
  48. package/es/components/booking/notes/NoteBlock/index.d.ts +1 -0
  49. package/es/components/booking/notes/NoteBlock/index.js +11 -11
  50. package/es/components/booking/notes/addNote/index.d.ts +1 -0
  51. package/es/components/booking/notes/addNote/index.js +1 -1
  52. package/es/components/booking/notes/model.d.ts +10 -1
  53. package/es/components/booking/notes/model.js +5 -5
  54. package/es/components/booking/payments/model.d.ts +10 -1
  55. package/es/components/booking/payments/model.js +5 -5
  56. package/es/components/booking/utils.d.ts +2 -2
  57. package/es/components/eftpos/index.d.ts +1 -0
  58. package/es/components/eftpos/pos.d.ts +1 -0
  59. package/es/components/eftposPay/amount.d.ts +2 -1
  60. package/es/components/eftposPay/app.d.ts +1 -0
  61. package/es/components/eftposPay/component/fail/network.d.ts +1 -0
  62. package/es/components/eftposPay/component/manual/index.d.ts +1 -0
  63. package/es/components/eftposPay/component/signature/index.d.ts +1 -0
  64. package/es/components/eftposPay/device.d.ts +2 -1
  65. package/es/components/eftposPay/hooks.d.ts +1 -1
  66. package/es/components/eftposPay/payo/config.d.ts +1 -0
  67. package/es/components/eftposPay/store/index.d.ts +4 -4
  68. package/es/components/eftposPay/tip.d.ts +1 -0
  69. package/es/components/eftposPay/windcave/receiptAction.d.ts +1 -0
  70. package/es/components/eftposPay/windcave/windcave.d.ts +1 -0
  71. package/es/components/listComponent/index.js +5 -5
  72. package/es/components/login/index.js +1 -1
  73. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -0
  74. package/es/components/pay/toC/model.d.ts +9 -1
  75. package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
  76. package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
  77. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  78. package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -0
  79. package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  80. package/es/components/pisellSelectCustomerModal/index.d.ts +1 -0
  81. package/es/components/productExtension/card/index.js +3 -3
  82. package/es/components/productExtension/fields/Actor/CutOffTime/index.js +1 -1
  83. package/es/components/productExtension/fields/Forms/index.js +12 -12
  84. package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  85. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
  86. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.js +1 -1
  87. package/es/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  88. package/es/components/productExtension/fields/SelectProducts/server.js +2 -2
  89. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  90. package/es/components/productExtension/fields/SelectResourcesTable/server.js +2 -2
  91. package/es/components/productExtension/index.d.ts +1 -0
  92. package/es/components/productExtension/index.js +7 -7
  93. package/es/components/productExtension/server.js +2 -2
  94. package/es/components/ruleSetting/ruleBorder/index.d.ts +1 -0
  95. package/es/components/ruleSetting/ruleBorder/index.js +1 -1
  96. package/es/components/schedules/calendar/index.d.ts +1 -0
  97. package/es/components/schedules/calendar/index.js +4 -4
  98. package/es/components/schedules/calendar/serve.js +2 -2
  99. package/es/components/schedules/components/CurrentDay/index.js +5 -5
  100. package/es/components/schedules/components/CurrentDay/serve.js +2 -2
  101. package/es/components/schedules/components/DropdownSort/index.js +1 -1
  102. package/es/components/schedules/components/ResourceList/index.js +1 -1
  103. package/es/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
  104. package/es/components/schedules/components/ScheduleList/index.d.ts +1 -0
  105. package/es/components/schedules/components/Search/index.js +5 -5
  106. package/es/components/schedules/index.js +10 -10
  107. package/es/components/schedules/model.d.ts +9 -1
  108. package/es/components/schedules/model.js +5 -5
  109. package/es/components/schedules/openHours/index.js +1 -1
  110. package/es/components/schedules/openHours/serve.js +2 -2
  111. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
  112. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.js +1 -1
  113. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
  114. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.js +5 -5
  115. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
  116. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
  117. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.js +4 -4
  118. package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
  119. package/es/components/schedules/products/ProductDetailDrawer/index.js +3 -3
  120. package/es/components/schedules/products/list/ProductItem/index.d.ts +1 -0
  121. package/es/components/schedules/products/list/index.d.ts +1 -0
  122. package/es/components/schedules/products/serve.js +2 -2
  123. package/es/components/schedules/products/utils.js +5 -5
  124. package/es/components/schedules/resources/detail/detailContent.js +2 -2
  125. package/es/components/schedules/resources/detail/index.js +10 -10
  126. package/es/components/schedules/resources/index.d.ts +1 -0
  127. package/es/components/schedules/resources/list/index.d.ts +1 -0
  128. package/es/components/schedules/resources/list/index.js +2 -2
  129. package/es/components/schedules/resources/relationProduct/index.js +1 -1
  130. package/es/components/schedules/resources/serve.js +2 -2
  131. package/es/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
  132. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
  133. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.js +9 -9
  134. package/es/components/schedules/schedules/index.d.ts +1 -0
  135. package/es/components/schedules/utils.js +4 -4
  136. package/es/components/selectModal/index.js +2 -2
  137. package/es/components/taxSelect/index.d.ts +1 -0
  138. package/es/components/wallet/Detail/index.js +69 -63
  139. package/es/components/wallet/Detail/index.less +1 -1
  140. package/es/components/wallet/Detail/locales.d.ts +6 -0
  141. package/es/components/wallet/Detail/locales.js +6 -0
  142. package/es/components/wallet/Detail/model.d.ts +13 -1
  143. package/es/components/wallet/DiscountCard/index.js +0 -7
  144. package/es/components/wallet/DiscountCard/model.d.ts +14 -1
  145. package/es/components/wallet/PointCard/index.js +1 -3
  146. package/es/components/wallet/PointCard/model.d.ts +13 -1
  147. package/es/components/wallet/RechargeableCard/index.js +0 -1
  148. package/es/components/wallet/RechargeableCard/model.d.ts +29 -1
  149. package/es/components/wallet/Voucher/index.js +36 -3
  150. package/es/components/wallet/Voucher/model.d.ts +13 -1
  151. package/es/components/wallet/components/FooterButtons/index.js +1 -1
  152. package/es/components/wallet/components/WalletCard.js +0 -1
  153. package/es/components/wallet/hooks/useWalletCard.d.ts +1 -0
  154. package/es/components/wallet/index.js +2 -3
  155. package/es/components/wallet/locales.js +1 -1
  156. package/es/components/wallet/model.d.ts +9 -1
  157. package/es/components/walletList/index.js +2 -4
  158. package/es/components/walletList/index.less +1 -2
  159. package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
  160. package/es/hooks/useComponents.js +1 -1
  161. package/lib/components/booking/addons/model.d.ts +10 -1
  162. package/lib/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  163. package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
  164. package/lib/components/booking/components/collapsibleList/utils.d.ts +1 -0
  165. package/lib/components/booking/components/emptyBooking/index.d.ts +1 -0
  166. package/lib/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
  167. package/lib/components/booking/deposit/index.d.ts +1 -0
  168. package/lib/components/booking/forms/model.d.ts +10 -1
  169. package/lib/components/booking/forms/single/index.d.ts +1 -0
  170. package/lib/components/booking/hooks/useClearCart.d.ts +1 -0
  171. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
  172. package/lib/components/booking/info/date/index.d.ts +1 -0
  173. package/lib/components/booking/info/header/index.d.ts +1 -0
  174. package/lib/components/booking/info/model.d.ts +10 -1
  175. package/lib/components/booking/info/notes/index.d.ts +1 -0
  176. package/lib/components/booking/info/service/actions/index.d.ts +1 -0
  177. package/lib/components/booking/info/service/serviceItem/index.d.ts +1 -0
  178. package/lib/components/booking/info/service/serviceList/index.d.ts +1 -0
  179. package/lib/components/booking/info2/service/actions/index.d.ts +1 -0
  180. package/lib/components/booking/info2/service/addService/index.d.ts +1 -0
  181. package/lib/components/booking/info2/service/addTimeModal/index.d.ts +1 -0
  182. package/lib/components/booking/info2/service/serviceItem/index.d.ts +1 -0
  183. package/lib/components/booking/info2/service/serviceList/index.d.ts +1 -0
  184. package/lib/components/booking/materiels/contacts/index.d.ts +1 -0
  185. package/lib/components/booking/materiels/duration/index.d.ts +1 -0
  186. package/lib/components/booking/materiels/startTime/index.d.ts +1 -0
  187. package/lib/components/booking/model.d.ts +9 -1
  188. package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
  189. package/lib/components/booking/notes/NoteBlock/index.d.ts +1 -0
  190. package/lib/components/booking/notes/addNote/index.d.ts +1 -0
  191. package/lib/components/booking/notes/model.d.ts +10 -1
  192. package/lib/components/booking/payments/model.d.ts +10 -1
  193. package/lib/components/booking/utils.d.ts +2 -2
  194. package/lib/components/eftpos/index.d.ts +1 -0
  195. package/lib/components/eftpos/pos.d.ts +1 -0
  196. package/lib/components/eftposPay/amount.d.ts +2 -1
  197. package/lib/components/eftposPay/app.d.ts +1 -0
  198. package/lib/components/eftposPay/component/fail/network.d.ts +1 -0
  199. package/lib/components/eftposPay/component/manual/index.d.ts +1 -0
  200. package/lib/components/eftposPay/component/signature/index.d.ts +1 -0
  201. package/lib/components/eftposPay/device.d.ts +2 -1
  202. package/lib/components/eftposPay/hooks.d.ts +1 -1
  203. package/lib/components/eftposPay/payo/config.d.ts +1 -0
  204. package/lib/components/eftposPay/store/index.d.ts +4 -4
  205. package/lib/components/eftposPay/tip.d.ts +1 -0
  206. package/lib/components/eftposPay/windcave/receiptAction.d.ts +1 -0
  207. package/lib/components/eftposPay/windcave/windcave.d.ts +1 -0
  208. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -0
  209. package/lib/components/pay/toC/model.d.ts +9 -1
  210. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
  211. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
  212. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  213. package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -0
  214. package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  215. package/lib/components/pisellSelectCustomerModal/index.d.ts +1 -0
  216. package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  217. package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
  218. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  219. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  220. package/lib/components/productExtension/index.d.ts +1 -0
  221. package/lib/components/ruleSetting/ruleBorder/index.d.ts +1 -0
  222. package/lib/components/schedules/calendar/index.d.ts +1 -0
  223. package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
  224. package/lib/components/schedules/components/ScheduleList/index.d.ts +1 -0
  225. package/lib/components/schedules/index.js +1 -2
  226. package/lib/components/schedules/model.d.ts +9 -1
  227. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
  228. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
  229. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
  230. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
  231. package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
  232. package/lib/components/schedules/products/list/ProductItem/index.d.ts +1 -0
  233. package/lib/components/schedules/products/list/index.d.ts +1 -0
  234. package/lib/components/schedules/resources/index.d.ts +1 -0
  235. package/lib/components/schedules/resources/list/index.d.ts +1 -0
  236. package/lib/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
  237. package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
  238. package/lib/components/schedules/schedules/index.d.ts +1 -0
  239. package/lib/components/schedules/utils.js +1 -1
  240. package/lib/components/taxSelect/index.d.ts +1 -0
  241. package/lib/components/wallet/Detail/index.js +54 -52
  242. package/lib/components/wallet/Detail/index.less +1 -1
  243. package/lib/components/wallet/Detail/locales.d.ts +6 -0
  244. package/lib/components/wallet/Detail/locales.js +6 -0
  245. package/lib/components/wallet/Detail/model.d.ts +13 -1
  246. package/lib/components/wallet/DiscountCard/index.js +0 -5
  247. package/lib/components/wallet/DiscountCard/model.d.ts +14 -1
  248. package/lib/components/wallet/PointCard/index.js +0 -2
  249. package/lib/components/wallet/PointCard/model.d.ts +13 -1
  250. package/lib/components/wallet/RechargeableCard/model.d.ts +29 -1
  251. package/lib/components/wallet/Voucher/index.js +26 -1
  252. package/lib/components/wallet/Voucher/model.d.ts +13 -1
  253. package/lib/components/wallet/components/FooterButtons/index.js +2 -1
  254. package/lib/components/wallet/components/WalletCard.js +0 -1
  255. package/lib/components/wallet/hooks/useWalletCard.d.ts +1 -0
  256. package/lib/components/wallet/index.js +2 -3
  257. package/lib/components/wallet/locales.js +1 -1
  258. package/lib/components/wallet/model.d.ts +9 -1
  259. package/lib/components/walletList/index.js +2 -3
  260. package/lib/components/walletList/index.less +1 -2
  261. package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
  262. package/package.json +4 -4
@@ -28,7 +28,7 @@
28
28
  inset: 0; /* 简化top, right, bottom, left设置 */
29
29
  display: flex;
30
30
  flex-direction: column;
31
- height: 100vh;
31
+ height: -webkit-fill-available !important;
32
32
 
33
33
  // 样式
34
34
  padding: 0;
@@ -13,6 +13,8 @@ declare const _default: {
13
13
  'page.wallet.recharge': string;
14
14
  'page.wallet.pointsEarned': string;
15
15
  'page.wallet.pointsRedeemed': string;
16
+ 'page.wallet.refund': string;
17
+ 'page.wallet.expire': string;
16
18
  'page.wallet.viewOrder': string;
17
19
  'page.wallet.done': string;
18
20
  'page.wallet.addIos': string;
@@ -34,6 +36,8 @@ declare const _default: {
34
36
  'page.wallet.recharge': string;
35
37
  'page.wallet.pointsEarned': string;
36
38
  'page.wallet.pointsRedeemed': string;
39
+ 'page.wallet.refund': string;
40
+ 'page.wallet.expire': string;
37
41
  'page.wallet.viewOrder': string;
38
42
  'page.wallet.done': string;
39
43
  'page.wallet.addIos': string;
@@ -55,6 +59,8 @@ declare const _default: {
55
59
  'page.wallet.recharge': string;
56
60
  'page.wallet.pointsEarned': string;
57
61
  'page.wallet.pointsRedeemed': string;
62
+ 'page.wallet.refund': string;
63
+ 'page.wallet.expire': string;
58
64
  'page.wallet.viewOrder': string;
59
65
  'page.wallet.done': string;
60
66
  'page.wallet.addIos': string;
@@ -16,6 +16,8 @@ export default {
16
16
  'page.wallet.recharge': 'Recharge',
17
17
  'page.wallet.pointsEarned': 'Points Earned',
18
18
  'page.wallet.pointsRedeemed': 'Points Redeemed',
19
+ 'page.wallet.refund': 'Refund',
20
+ 'page.wallet.expire': 'Expire',
19
21
  'page.wallet.viewOrder': 'View order',
20
22
  'page.wallet.done': 'Done',
21
23
  'page.wallet.addIos': 'Add to Apple Wallet',
@@ -40,6 +42,8 @@ export default {
40
42
  'page.wallet.recharge': '充值',
41
43
  'page.wallet.pointsEarned': '获得积分',
42
44
  'page.wallet.pointsRedeemed': '使用积分',
45
+ 'page.wallet.refund': '退款',
46
+ 'page.wallet.expire': '过期',
43
47
  'page.wallet.viewOrder': '浏览订单',
44
48
  'page.wallet.done': '完成',
45
49
  'page.wallet.addIos': '添加到苹果钱包',
@@ -64,6 +68,8 @@ export default {
64
68
  'page.wallet.recharge': '充值',
65
69
  'page.wallet.pointsEarned': '獲得積分',
66
70
  'page.wallet.pointsRedeemed': '使用積分',
71
+ 'page.wallet.refund': '退款',
72
+ 'page.wallet.expire': '過期',
67
73
  'page.wallet.viewOrder': '瀏覽訂單',
68
74
  'page.wallet.done': '完成',
69
75
  'page.wallet.addIos': '添加到蘋果錢包',
@@ -1 +1,13 @@
1
- export declare const Provider: any, Context: any;
1
+ /// <reference types="react" />
2
+ interface RechargeState {
3
+ addWalletCard: any;
4
+ }
5
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
6
+ walletDetailState: RechargeState;
7
+ } & {
8
+ dispatch: (params: {
9
+ type: string;
10
+ payload: any;
11
+ }) => void;
12
+ }>;
13
+ export {};
@@ -29,9 +29,6 @@ var RechargeableCard = Provider(function (props) {
29
29
  var context = useEngineContext();
30
30
  var utils = context.appHelper.utils || {};
31
31
  var dvaStore = utils === null || utils === void 0 || (_utils$getStore = utils.getStore) === null || _utils$getStore === void 0 || (_utils$getStore = _utils$getStore.call(utils)) === null || _utils$getStore === void 0 ? void 0 : _utils$getStore.getState();
32
- var _ref = utils || {},
33
- action = _ref.action,
34
- storage = _ref.storage;
35
32
  var platform = useMemo(function () {
36
33
  return isMobile() ? 'h5' : 'pc';
37
34
  }, []);
@@ -61,7 +58,6 @@ var RechargeableCard = Provider(function (props) {
61
58
  });
62
59
 
63
60
  // 添加打印,便于调试
64
- console.log('%c [ DiscountCard global setup sync ]-46', 'font-size:13px; color:#bf2c9f;', globalState.setup);
65
61
  }
66
62
  }, [globalState.setup]);
67
63
 
@@ -87,7 +83,6 @@ var RechargeableCard = Provider(function (props) {
87
83
  });
88
84
 
89
85
  // 添加打印,便于调试
90
- console.log('%c [ DiscountCard setup back ]-51', 'font-size:13px; color:#bf2c9f;', 'list');
91
86
  };
92
87
  var _renderItem = function renderItem(item) {
93
88
  return /*#__PURE__*/React.createElement(WalletCard, {
@@ -152,7 +147,6 @@ var RechargeableCard = Provider(function (props) {
152
147
  if (!(currentDetail !== null && currentDetail !== void 0 && currentDetail.id)) return null;
153
148
 
154
149
  // 打印当前状态
155
- console.log('%c [ DiscountCard detail ]-132', 'font-size:13px; color:#bf2c9f;', globalState.setup);
156
150
 
157
151
  // 添加必要属性,确保详情正确显示
158
152
  var detailWithBar = _objectSpread(_objectSpread({}, currentDetail), {}, {
@@ -187,7 +181,6 @@ var RechargeableCard = Provider(function (props) {
187
181
  });
188
182
 
189
183
  // 添加打印,便于调试
190
- console.log('%c [ DiscountCard setup click ]-178', 'font-size:13px; color:#bf2c9f;', 'detail');
191
184
 
192
185
  // 添加必要属性,确保详情正确显示
193
186
  openDetail(_objectSpread(_objectSpread({}, currentDetail), {}, {
@@ -1 +1,14 @@
1
- export declare const Provider: any, Context: any;
1
+ /// <reference types="react" />
2
+ interface RechargeState {
3
+ total: number;
4
+ setup?: 'menu' | 'list' | 'detail' | string;
5
+ }
6
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
7
+ state: RechargeState;
8
+ } & {
9
+ dispatch: (params: {
10
+ type: string;
11
+ payload: any;
12
+ }) => void;
13
+ }>;
14
+ export {};
@@ -5,7 +5,7 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
5
5
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
6
6
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
7
7
  import React, { useContext, useEffect, useRef, useCallback } from 'react';
8
- import { RecordView, PisellEmpty, PisellText, CardMetricItem, Typography } from '@pisell/materials';
8
+ import { RecordView, PisellEmpty, CardMetricItem, Typography } from '@pisell/materials';
9
9
  import { Context, Provider } from "./model";
10
10
  import useEngineContext from "../../../hooks/useEngineContext";
11
11
  import { locales, isMobile } from '@pisell/utils';
@@ -14,7 +14,6 @@ import "./index.less";
14
14
  import { useDetail } from "../DetailContext";
15
15
  import WalletCard from "../components/WalletCard";
16
16
  var Title = Typography.Title;
17
- var Amount = PisellText.Amount;
18
17
  var RechargeableCard = Provider(function (props) {
19
18
  var _utils$getStore, _dvaStore$core;
20
19
  var globalState = props.globalState,
@@ -114,7 +113,6 @@ var RechargeableCard = Provider(function (props) {
114
113
  (_recordViewRef$curren = recordViewRef.current) === null || _recordViewRef$curren === void 0 || _recordViewRef$curren.closeDetailModal();
115
114
  }
116
115
  }, [globalState.setup]);
117
- console.log('%c [ state.total ]-132', 'font-size:13px; color:#bf2c9f;', state.total);
118
116
  return isEmpty ? /*#__PURE__*/React.createElement(PisellEmpty, null) : /*#__PURE__*/React.createElement(React.Fragment, null, platform !== 'pc' && /*#__PURE__*/React.createElement(Title, {
119
117
  className: "wallet-pointCard-title"
120
118
  }, locales.getText('page.wallet.pointCard')), /*#__PURE__*/React.createElement(CardMetricItem, {
@@ -1 +1,13 @@
1
- export declare const Provider: any, Context: any;
1
+ /// <reference types="react" />
2
+ interface RechargeState {
3
+ total: number;
4
+ }
5
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
6
+ state: RechargeState;
7
+ } & {
8
+ dispatch: (params: {
9
+ type: string;
10
+ payload: any;
11
+ }) => void;
12
+ }>;
13
+ export {};
@@ -261,7 +261,6 @@ var RechargeableCard = Provider(function (props) {
261
261
  };
262
262
  // 获取商店信息
263
263
  var shop = ((_dvaStore$core2 = dvaStore.core) === null || _dvaStore$core2 === void 0 || (_dvaStore$core2 = _dvaStore$core2.core) === null || _dvaStore$core2 === void 0 ? void 0 : _dvaStore$core2.shop) || {};
264
-
265
264
  /**
266
265
  * 处理充值
267
266
  */
@@ -1 +1,29 @@
1
- export declare const Provider: any, Context: any;
1
+ /// <reference types="react" />
2
+ interface RechargeState {
3
+ selectedGiftOptionId: string | null;
4
+ cardList: Array<{
5
+ id: string;
6
+ name: string;
7
+ price: number;
8
+ }>;
9
+ selectedItem: {
10
+ id?: string;
11
+ gift_price?: number;
12
+ price?: number;
13
+ name?: string;
14
+ variant_id?: string;
15
+ };
16
+ productId?: string;
17
+ detailId?: string;
18
+ total: string | number;
19
+ rechargeModalOpen: boolean;
20
+ }
21
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
22
+ state: RechargeState;
23
+ } & {
24
+ dispatch: (params: {
25
+ type: string;
26
+ payload: any;
27
+ }) => void;
28
+ }>;
29
+ export {};
@@ -1,9 +1,16 @@
1
- import React, { useContext, useEffect, useRef } from 'react';
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
5
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
6
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
7
+ import React, { useContext, useEffect, useRef, useCallback } from 'react';
2
8
  import { RecordView, PisellEmpty, CardMetricItem, Typography } from '@pisell/materials';
3
9
  import { Context, Provider } from "./model";
4
10
  import WalletCard from "../components/WalletCard";
5
11
  import { useWalletCard } from "../hooks/useWalletCard";
6
12
  import { locales } from '@pisell/utils';
13
+ import { useDetail } from "../DetailContext";
7
14
  import "./index.less";
8
15
  var Title = Typography.Title;
9
16
  /**
@@ -16,7 +23,9 @@ var Voucher = Provider(function (props) {
16
23
  var _globalState$product_ = globalState.product_voucher,
17
24
  product_voucher = _globalState$product_ === void 0 ? [] : _globalState$product_;
18
25
  var recordViewRef = useRef(null);
19
-
26
+ var _useDetail = useDetail(),
27
+ openDetail = _useDetail.openDetail,
28
+ renderDetail = _useDetail.renderDetail;
20
29
  // 使用通用钱包卡片钩子
21
30
  var _useWalletCard = useWalletCard({
22
31
  globalState: globalState,
@@ -57,6 +66,16 @@ var Voucher = Provider(function (props) {
57
66
  if (isEmpty) {
58
67
  return /*#__PURE__*/React.createElement(PisellEmpty, null);
59
68
  }
69
+ // 添加处理后退按钮的方法
70
+ var handleBack = useCallback(function () {
71
+ if (recordViewRef.current) {
72
+ recordViewRef.current.closeDetailModal();
73
+ }
74
+ // 更新状态
75
+ setGlobalState({
76
+ setup: 'list'
77
+ });
78
+ }, [recordViewRef, setGlobalState]);
60
79
  return /*#__PURE__*/React.createElement(React.Fragment, null, platform !== 'pc' && /*#__PURE__*/React.createElement(Title, {
61
80
  className: "wallet-voucher-title"
62
81
  }, locales.getText('page.wallet.voucher')), /*#__PURE__*/React.createElement(CardMetricItem, {
@@ -73,7 +92,21 @@ var Voucher = Provider(function (props) {
73
92
  leftSpan: 9,
74
93
  rightSpan: 15,
75
94
  gutter: 20,
76
- onRowClick: handleRowClick,
95
+ onRowClick: function onRowClick(currentDetail) {
96
+ setGlobalState({
97
+ currentId: currentDetail.id || '',
98
+ currentDetail: currentDetail,
99
+ setup: 'detail' // 设置状态为detail
100
+ });
101
+
102
+ // 添加必要属性,确保详情正确显示
103
+ var detailWithProps = _objectSpread(_objectSpread({}, currentDetail), {}, {
104
+ showWalletBar: platform === 'h5',
105
+ // 添加显示WalletBar的标志
106
+ onBack: handleBack // 添加返回处理函数
107
+ });
108
+ openDetail(detailWithProps);
109
+ },
77
110
  modalWrapStyle: {
78
111
  overflowY: 'auto',
79
112
  top: 68,
@@ -1 +1,13 @@
1
- export declare const Provider: any, Context: any;
1
+ /// <reference types="react" />
2
+ interface RechargeState {
3
+ total: 0;
4
+ }
5
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
6
+ state: RechargeState;
7
+ } & {
8
+ dispatch: (params: {
9
+ type: string;
10
+ payload: any;
11
+ }) => void;
12
+ }>;
13
+ export {};
@@ -34,7 +34,7 @@ var FooterButtons = function FooterButtons(_ref) {
34
34
  disabled: disabled,
35
35
  size: "large",
36
36
  className: "wallet-footer-buttons-item wallet-footer-buttons-item-primary"
37
- }));
37
+ }, locales.getText('page.wallet.button.add')));
38
38
  case 'detail':
39
39
  // 创建按钮数组
40
40
  var buttons = [];
@@ -50,7 +50,6 @@ var WalletCard = function WalletCard(_ref) {
50
50
 
51
51
  // 是否为当前选中项
52
52
  var isActive = id === currentId && platform === 'pc';
53
- console.log('%c [ tag ]-49', 'font-size:13px; color:#bf2c9f;', tag);
54
53
  // 是否禁用
55
54
  var isDisabled = limit_status !== 'enable';
56
55
  return /*#__PURE__*/React.createElement(PisellWalletPassCard, {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { IWalletListItemProps } from '../serve';
2
3
  /**
3
4
  * 钱包卡片Hook的参数
@@ -339,7 +339,6 @@ var Wallet = Provider(function () {
339
339
  * 处理返回按钮点击
340
340
  */
341
341
  var onBack = function onBack() {
342
- console.log('%c [ setup ]-339', 'font-size:13px; color:#bf2c9f;', setup);
343
342
  if (setup === 'menu') {
344
343
  history.back(); // 后退到上一步
345
344
  } else {
@@ -583,7 +582,6 @@ var Wallet = Provider(function () {
583
582
  if (setup === 'menu') {
584
583
  return null;
585
584
  }
586
- console.log('%c [ setup ]-538', 'font-size:13px; background:pink; color:#bf2c9f;', setup);
587
585
  // 添加按钮(setup=list时显示)
588
586
  if (setup === 'list') {
589
587
  return /*#__PURE__*/React.createElement(Button, {
@@ -654,6 +652,7 @@ var Wallet = Provider(function () {
654
652
  });
655
653
  };
656
654
  return /*#__PURE__*/React.createElement(PisellWalletPassCard, {
655
+ balanceTitle: global_wallet.currentTag === 'point_card' ? locales.getText('page.wallet.points') : undefined,
657
656
  showDetail: false,
658
657
  showRedeem: false,
659
658
  showQrCode: false,
@@ -664,7 +663,7 @@ var Wallet = Provider(function () {
664
663
  propStyle: {
665
664
  marginBottom: 10
666
665
  },
667
- showBalanceSymbol: true,
666
+ showBalanceSymbol: global_wallet.currentTag !== 'point_card',
668
667
  showBalance: global_wallet.currentTag !== 'product_discount_card',
669
668
  active: isActive,
670
669
  name: product_name,
@@ -3,7 +3,7 @@ export default {
3
3
  // English translations
4
4
  'page.wallet.rechargeableCard': 'Rechargeable card',
5
5
  'page.wallet.voucher': 'Voucher',
6
- 'page.wallet.pointCard': 'Points card',
6
+ 'page.wallet.pointCard': 'Points',
7
7
  'page.wallet.discountCard': 'Discount card',
8
8
  'page.wallet.unavailable': 'Unavailable',
9
9
  'page.wallet.available': 'Available',
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { IWalletListItemProps } from './serve';
2
3
  export interface WalletCardItemProps {
3
4
  id: string;
@@ -26,4 +27,11 @@ export interface WalletListProps {
26
27
  currentSearchListItemCode?: string;
27
28
  [key: string]: any;
28
29
  }
29
- export declare const Provider: any, Context: any;
30
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
31
+ global_wallet: WalletListProps;
32
+ } & {
33
+ dispatch: (params: {
34
+ type: string;
35
+ payload: any;
36
+ }) => void;
37
+ }>;
@@ -523,12 +523,10 @@ var WalletList = Provider(function (props) {
523
523
  return {
524
524
  key: key,
525
525
  label: key,
526
- // 不做多语言处理,保持原样
527
526
  hidden: false,
528
527
  value: balanceKey ? balance[balanceKey] || 0 : 0
529
528
  };
530
529
  });
531
-
532
530
  // 构建WalletCard的props
533
531
  // 优先级:接口返回值 > globalState > DEFAULT_CARD_CONFIG
534
532
  var cardProps = _objectSpread(_objectSpread(_objectSpread({}, DEFAULT_CARD_CONFIG), globalState), {}, {
@@ -636,7 +634,7 @@ var WalletList = Provider(function (props) {
636
634
  // 如果是加载中,显示骨架屏
637
635
  if (loading) {
638
636
  return /*#__PURE__*/React.createElement("div", {
639
- className: "pisell-wallet-container pisell-wallet-skeleton"
637
+ className: "pisell-wallet-list-container pisell-wallet-skeleton"
640
638
  }, /*#__PURE__*/React.createElement("div", {
641
639
  className: "wallet-content"
642
640
  }, /*#__PURE__*/React.createElement("div", {
@@ -687,7 +685,7 @@ var WalletList = Provider(function (props) {
687
685
 
688
686
  // 正常渲染钱包列表
689
687
  return /*#__PURE__*/React.createElement("div", {
690
- className: "pisell-wallet-container"
688
+ className: "pisell-wallet-list-container"
691
689
  }, /*#__PURE__*/React.createElement("div", {
692
690
  className: "wallet-content"
693
691
  }, /*#__PURE__*/React.createElement(Carousel, _extends({
@@ -104,7 +104,7 @@
104
104
  }
105
105
  }
106
106
 
107
- .pisell-wallet-container {
107
+ .pisell-wallet-list-container {
108
108
  overflow: visible;
109
109
  /* 修改为visible允许内容溢出显示 */
110
110
  width: 100%;
@@ -281,7 +281,6 @@
281
281
  border-radius: 50%;
282
282
  background-color: #F2F4F7;
283
283
  margin: 0 8px;
284
- cursor: pointer;
285
284
  transition: all 0.3s ease;
286
285
 
287
286
  &.active {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './../../index.less';
2
3
  declare const Search: () => JSX.Element;
3
4
  export default Search;
@@ -8,7 +8,7 @@ var useComponents = function useComponents(params) {
8
8
  var _utils$getComponents;
9
9
  var _ref = appHelper || {},
10
10
  utils = _ref.utils;
11
- return (utils === null || utils === void 0 ? void 0 : (_utils$getComponents = utils.getComponents) === null || _utils$getComponents === void 0 ? void 0 : _utils$getComponents.call(utils, components)) || [];
11
+ return (utils === null || utils === void 0 || (_utils$getComponents = utils.getComponents) === null || _utils$getComponents === void 0 ? void 0 : _utils$getComponents.call(utils, components)) || [];
12
12
  }, [components]);
13
13
  return Cpt;
14
14
  };
@@ -1 +1,10 @@
1
- export declare const Provider: any, Context: any;
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,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,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const SelectProductItem: ({ item, onClick, onChangeQuantity, amountSymbol, style, className, disabled, }: any) => JSX.Element;
3
4
  export default SelectProductItem;
@@ -1 +1,2 @@
1
+ /// <reference types="react" />
1
2
  export declare const renderBundles: (item: any, amountSymbol: string) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  /**
2
3
  * @title: 空状态
3
4
  * @description:
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const FooterMenus: ({ state, menuChange, items }: any) => JSX.Element | null;
3
4
  export default FooterMenus;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Deposit: (props: any) => JSX.Element;
2
3
  export default Deposit;
@@ -1 +1,10 @@
1
- export declare const Provider: any, Context: any;
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,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  /**
3
4
  * @title: 表单选择器
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const useClearCart: (state: any, dispatch: any) => false | JSX.Element;
2
3
  export default useClearCart;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FormState } from '../../../model';
2
3
  interface useClientFnParams {
3
4
  state: any;
@@ -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,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const header: ({ state, dispatch }: any) => JSX.Element;
3
4
  export default header;
@@ -1,5 +1,14 @@
1
+ /// <reference types="react" />
2
+ import { FormState } from '../model';
1
3
  export declare const walkInData: {
2
4
  id: number;
3
5
  nickname: string;
4
6
  };
5
- export declare const Provider: any, Context: any;
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
+ }>;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Notes: () => JSX.Element | null;
2
3
  export default Notes;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const Actions: ({ currentService }: {
3
4
  currentService: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const ServiceItem: ({ d, handleEditService, state, handleLike, resourceItem, errorMessage, handleDeleteService, }: any) => JSX.Element;
3
4
  export default ServiceItem;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const ServiceList: ({ onEdit }: {
3
4
  onEdit: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import '../../../info/service/actions/index.less';
2
3
  declare const Actions: ({ currentService }: {
3
4
  currentService: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PisellDrawerProps } from '../../../components/drawer';
2
3
  import '../../../info/service/addService/index.less';
3
4
  interface AddServiceProps {
@@ -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,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const ServiceItem: ({ d, handleEditService, state, handleLike, errorMessage, handleDeleteService, }: any) => JSX.Element;
3
4
  export default ServiceItem;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const ServiceList: ({ onEdit }: {
3
4
  onEdit: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare type ContactType = {
3
4
  country_calling_code: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { SelectProps } from 'antd';
2
3
  interface DurationProps extends SelectProps {
3
4
  locale?: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { SelectProps } from "antd";
2
3
  interface StartTimeProps extends SelectProps {
3
4
  locale?: string;