@pisell/materials 1.0.960 → 1.0.962

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 (299) 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 +144 -165
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +30 -39
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +35 -44
  11. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +2 -2
  12. package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  13. package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  14. package/es/components/dataSourceComponents/fields/index.d.ts +11 -11
  15. package/es/components/dataSourceComponents/provider/variables/VariablesProvider.js +18 -5
  16. package/es/components/date-picker/index.d.ts +1 -0
  17. package/es/components/page/index.js +4 -2
  18. package/es/components/pisellWalletPassCard/index.js +80 -62
  19. package/es/components/pisellWalletPassCard/index.less +95 -33
  20. package/es/components/productCard/components/Packages/utils.d.ts +1 -1
  21. package/es/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
  22. package/es/components/table/Table/SelectField/index.d.ts +1 -0
  23. package/es/components/table/Table/fields/index.d.ts +1 -0
  24. package/es/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
  25. package/es/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
  26. package/es/components/table/index.js +1 -1
  27. package/es/components/tabs/index.js +9 -0
  28. package/es/components/virtualInput/index.js +0 -1
  29. package/es/components/walletCard/index.js +61 -6
  30. package/es/components/walletCard/index.less +62 -2
  31. package/es/locales/en-US.js +6 -11
  32. package/es/locales/zh-CN.js +6 -11
  33. package/es/locales/zh-TW.js +6 -11
  34. package/es/utils/index.d.ts +1 -1
  35. package/es/utils/platform.d.ts +1 -1
  36. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +2 -2
  37. package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  38. package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  39. package/lib/components/dataSourceComponents/fields/index.d.ts +11 -11
  40. package/lib/components/dataSourceComponents/provider/variables/VariablesProvider.js +20 -10
  41. package/lib/components/date-picker/index.d.ts +1 -0
  42. package/lib/components/page/index.js +3 -2
  43. package/lib/components/pisellWalletPassCard/index.js +62 -31
  44. package/lib/components/pisellWalletPassCard/index.less +95 -33
  45. package/lib/components/productCard/components/Packages/utils.d.ts +1 -1
  46. package/lib/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
  47. package/lib/components/table/Table/SelectField/index.d.ts +1 -0
  48. package/lib/components/table/Table/fields/index.d.ts +1 -0
  49. package/lib/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
  50. package/lib/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
  51. package/lib/components/table/index.js +1 -1
  52. package/lib/components/tabs/index.js +5 -0
  53. package/lib/components/virtualInput/index.js +0 -8
  54. package/lib/components/walletCard/index.js +57 -4
  55. package/lib/components/walletCard/index.less +62 -2
  56. package/lib/locales/en-US.js +3 -11
  57. package/lib/locales/zh-CN.js +3 -11
  58. package/lib/locales/zh-TW.js +3 -11
  59. package/lib/utils/index.d.ts +1 -1
  60. package/lib/utils/platform.d.ts +1 -1
  61. package/package.json +2 -2
  62. package/es/components/appVersionControl/index.d.ts +0 -4
  63. package/es/components/auto-resize-text/auto-text-size-standalone.d.ts +0 -20
  64. package/es/components/auto-resize-text/index.d.ts +0 -6
  65. package/es/components/cardPro/index.d.ts +0 -3
  66. package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts +0 -56
  67. package/es/components/dataSourceComponents/dataSourceTable/BaseTable.d.ts +0 -8
  68. package/es/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +0 -27
  69. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -39
  70. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +0 -101
  71. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +0 -33
  72. package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -85
  73. package/es/components/dataSourceComponents/fields/Input.Mobile/WithMode.d.ts +0 -17
  74. package/es/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +0 -24
  75. package/es/components/dataSourceComponents/fields/Input.Phone/WithMode.d.ts +0 -16
  76. package/es/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +0 -25
  77. package/es/components/dataSourceComponents/fields/Upload/BaseUpload.d.ts +0 -5
  78. package/es/components/dataSourceComponents/fields/Upload/CameraPopover.d.ts +0 -5
  79. package/es/components/dataSourceComponents/fields/Upload/index.d.ts +0 -3
  80. package/es/components/dataSourceComponents/fields/Upload/type.d.ts +0 -38
  81. package/es/components/dataSourceComponents/hooks/usePlatform.d.ts +0 -5
  82. package/es/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +0 -12
  83. package/es/components/dataSourceComponents/provider/variables/VariablesProvider.d.ts +0 -4
  84. package/es/components/drag-sort-tree/TreeItem/index.d.ts +0 -18
  85. package/es/components/drag-sort-tree/index.d.ts +0 -3
  86. package/es/components/filter/types.d.ts +0 -46
  87. package/es/components/hardwareErrorTip/demo.d.ts +0 -3
  88. package/es/components/hardwareErrorTip/errorCard/index.d.ts +0 -28
  89. package/es/components/hardwareErrorTip/errorTipStatistics/index.d.ts +0 -12
  90. package/es/components/hardwareErrorTip/index.d.ts +0 -19
  91. package/es/components/hardwareErrorTip/logCard/index.d.ts +0 -27
  92. package/es/components/hardwareErrorTip/types.d.ts +0 -28
  93. package/es/components/iconfont/index.d.ts +0 -8
  94. package/es/components/keyboard/index.d.ts +0 -22
  95. package/es/components/login-and-register/index.d.ts +0 -82
  96. package/es/components/page/index.d.ts +0 -5
  97. package/es/components/pisell-config-provider/context.d.ts +0 -22
  98. package/es/components/pisell-config-provider/index.d.ts +0 -13
  99. package/es/components/pisellAdjustPrice/index.d.ts +0 -4
  100. package/es/components/pisellAdjustPrice/status.d.ts +0 -32
  101. package/es/components/pisellAdjustPrice/type.d.ts +0 -22
  102. package/es/components/pisellCamera/index.d.ts +0 -4
  103. package/es/components/pisellCardList/index.d.ts +0 -107
  104. package/es/components/pisellCheckboxGroup/index.d.ts +0 -40
  105. package/es/components/pisellEmpty/index.d.ts +0 -19
  106. package/es/components/pisellGoodPassCard/index.d.ts +0 -50
  107. package/es/components/pisellQRScanner/index.d.ts +0 -24
  108. package/es/components/pisellQrcode/index.d.ts +0 -10
  109. package/es/components/pisellText/components/Amount/index.d.ts +0 -20
  110. package/es/components/pisellText/components/Editable/index.d.ts +0 -29
  111. package/es/components/pisellText/index.d.ts +0 -9
  112. package/es/components/pisellToast/index.d.ts +0 -17
  113. package/es/components/pisellToast/squareToast/index.d.ts +0 -15
  114. package/es/components/pisellToast/squareToast/methods.d.ts +0 -13
  115. package/es/components/pisellToast/squareToast/renderImperatively.d.ts +0 -29
  116. package/es/components/pisellToast/squareToast/toast.d.ts +0 -25
  117. package/es/components/pisellWalletPassCard/index.d.ts +0 -140
  118. package/es/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +0 -3
  119. package/es/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -3
  120. package/es/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +0 -14
  121. package/es/components/productCard/cartSkuCard/components/Note/index.d.ts +0 -3
  122. package/es/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +0 -27
  123. package/es/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -2
  124. package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -3
  125. package/es/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -10
  126. package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +0 -20
  127. package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -3
  128. package/es/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -12
  129. package/es/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -3
  130. package/es/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +0 -46
  131. package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -6
  132. package/es/components/productCard/cartSkuCard/index.d.ts +0 -10
  133. package/es/components/productCard/cartSkuCard/locales.d.ts +0 -96
  134. package/es/components/productCard/components/Action/index.d.ts +0 -3
  135. package/es/components/productCard/components/Header/Actions/index.d.ts +0 -3
  136. package/es/components/productCard/components/Header/DeleteButton/index.d.ts +0 -3
  137. package/es/components/productCard/components/Header/index.d.ts +0 -3
  138. package/es/components/productCard/components/Sales/index.d.ts +0 -3
  139. package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -3
  140. package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -13
  141. package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +0 -18
  142. package/es/components/productCard/components/Time/index.d.ts +0 -3
  143. package/es/components/productCard/index.d.ts +0 -7
  144. package/es/components/productCard/locales.d.ts +0 -84
  145. package/es/components/select/index.d.ts +0 -9
  146. package/es/components/sortableList/index.d.ts +0 -11
  147. package/es/components/table/Actions/component/ExportImport/components/ExportTable/function.d.ts +0 -7
  148. package/es/components/table/Actions/component/ExportImport/index.d.ts +0 -7
  149. package/es/components/table/Actions/index.d.ts +0 -17
  150. package/es/components/table/Gallery/components/GalleryItem/index.d.ts +0 -14
  151. package/es/components/table/Gallery/index.d.ts +0 -5
  152. package/es/components/table/Table/AddFieldModal/index.d.ts +0 -4
  153. package/es/components/table/Table/index.d.ts +0 -4
  154. package/es/components/table/Table/utils.d.ts +0 -167
  155. package/es/components/table/hooks/useTableSetting.d.ts +0 -21
  156. package/es/components/table/hooks/useTransDataSource.d.ts +0 -12
  157. package/es/components/table/index.d.ts +0 -4
  158. package/es/components/table/serve.d.ts +0 -13
  159. package/es/components/table/types.d.ts +0 -270
  160. package/es/components/tabs/index.d.ts +0 -16
  161. package/es/components/translation/index.d.ts +0 -15
  162. package/es/components/versionModal/index.d.ts +0 -24
  163. package/es/components/virtual-keyboard/Amount/index.d.ts +0 -5
  164. package/es/components/virtual-keyboard/Amount/themeConfig.d.ts +0 -32
  165. package/es/components/virtual-keyboard/Amount/types.d.ts +0 -44
  166. package/es/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +0 -15
  167. package/es/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +0 -25
  168. package/es/components/virtual-keyboard/Keyboard/index.d.ts +0 -21
  169. package/es/components/virtual-keyboard/Number/index.d.ts +0 -5
  170. package/es/components/virtual-keyboard/Number/themeConfig.d.ts +0 -32
  171. package/es/components/virtual-keyboard/Number/types.d.ts +0 -26
  172. package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -13
  173. package/es/components/virtual-keyboard/index.d.ts +0 -25
  174. package/es/components/virtualInput/BaseVirtualInput/index.d.ts +0 -40
  175. package/es/components/virtualInput/index.d.ts +0 -24
  176. package/es/components/walletCard/index.d.ts +0 -71
  177. package/es/index.d.ts +0 -146
  178. package/es/locales/en-US.d.ts +0 -342
  179. package/es/locales/zh-CN.d.ts +0 -337
  180. package/es/locales/zh-TW.d.ts +0 -337
  181. package/lib/components/appVersionControl/index.d.ts +0 -4
  182. package/lib/components/auto-resize-text/auto-text-size-standalone.d.ts +0 -20
  183. package/lib/components/auto-resize-text/index.d.ts +0 -6
  184. package/lib/components/cardPro/index.d.ts +0 -3
  185. package/lib/components/dataSourceComponents/dataSourceForm/utils.d.ts +0 -56
  186. package/lib/components/dataSourceComponents/dataSourceTable/BaseTable.d.ts +0 -8
  187. package/lib/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +0 -27
  188. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -39
  189. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +0 -101
  190. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +0 -33
  191. package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -85
  192. package/lib/components/dataSourceComponents/fields/Input.Mobile/WithMode.d.ts +0 -17
  193. package/lib/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +0 -24
  194. package/lib/components/dataSourceComponents/fields/Input.Phone/WithMode.d.ts +0 -16
  195. package/lib/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +0 -25
  196. package/lib/components/dataSourceComponents/fields/Upload/BaseUpload.d.ts +0 -5
  197. package/lib/components/dataSourceComponents/fields/Upload/CameraPopover.d.ts +0 -5
  198. package/lib/components/dataSourceComponents/fields/Upload/index.d.ts +0 -3
  199. package/lib/components/dataSourceComponents/fields/Upload/type.d.ts +0 -38
  200. package/lib/components/dataSourceComponents/hooks/usePlatform.d.ts +0 -5
  201. package/lib/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +0 -12
  202. package/lib/components/dataSourceComponents/provider/variables/VariablesProvider.d.ts +0 -4
  203. package/lib/components/drag-sort-tree/TreeItem/index.d.ts +0 -18
  204. package/lib/components/drag-sort-tree/index.d.ts +0 -3
  205. package/lib/components/filter/types.d.ts +0 -46
  206. package/lib/components/hardwareErrorTip/demo.d.ts +0 -3
  207. package/lib/components/hardwareErrorTip/errorCard/index.d.ts +0 -28
  208. package/lib/components/hardwareErrorTip/errorTipStatistics/index.d.ts +0 -12
  209. package/lib/components/hardwareErrorTip/index.d.ts +0 -19
  210. package/lib/components/hardwareErrorTip/logCard/index.d.ts +0 -27
  211. package/lib/components/hardwareErrorTip/types.d.ts +0 -28
  212. package/lib/components/iconfont/index.d.ts +0 -8
  213. package/lib/components/keyboard/index.d.ts +0 -22
  214. package/lib/components/login-and-register/index.d.ts +0 -82
  215. package/lib/components/page/index.d.ts +0 -5
  216. package/lib/components/pisell-config-provider/context.d.ts +0 -22
  217. package/lib/components/pisell-config-provider/index.d.ts +0 -13
  218. package/lib/components/pisellAdjustPrice/index.d.ts +0 -4
  219. package/lib/components/pisellAdjustPrice/status.d.ts +0 -32
  220. package/lib/components/pisellAdjustPrice/type.d.ts +0 -22
  221. package/lib/components/pisellCamera/index.d.ts +0 -4
  222. package/lib/components/pisellCardList/index.d.ts +0 -107
  223. package/lib/components/pisellCheckboxGroup/index.d.ts +0 -40
  224. package/lib/components/pisellEmpty/index.d.ts +0 -19
  225. package/lib/components/pisellGoodPassCard/index.d.ts +0 -50
  226. package/lib/components/pisellQRScanner/index.d.ts +0 -24
  227. package/lib/components/pisellQrcode/index.d.ts +0 -10
  228. package/lib/components/pisellText/components/Amount/index.d.ts +0 -20
  229. package/lib/components/pisellText/components/Editable/index.d.ts +0 -29
  230. package/lib/components/pisellText/index.d.ts +0 -9
  231. package/lib/components/pisellToast/index.d.ts +0 -17
  232. package/lib/components/pisellToast/squareToast/index.d.ts +0 -15
  233. package/lib/components/pisellToast/squareToast/methods.d.ts +0 -13
  234. package/lib/components/pisellToast/squareToast/renderImperatively.d.ts +0 -29
  235. package/lib/components/pisellToast/squareToast/toast.d.ts +0 -25
  236. package/lib/components/pisellWalletPassCard/index.d.ts +0 -140
  237. package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +0 -3
  238. package/lib/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -3
  239. package/lib/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +0 -14
  240. package/lib/components/productCard/cartSkuCard/components/Note/index.d.ts +0 -3
  241. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +0 -27
  242. package/lib/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -2
  243. package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -3
  244. package/lib/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -10
  245. package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +0 -20
  246. package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -3
  247. package/lib/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -12
  248. package/lib/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -3
  249. package/lib/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +0 -46
  250. package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -6
  251. package/lib/components/productCard/cartSkuCard/index.d.ts +0 -10
  252. package/lib/components/productCard/cartSkuCard/locales.d.ts +0 -96
  253. package/lib/components/productCard/components/Action/index.d.ts +0 -3
  254. package/lib/components/productCard/components/Header/Actions/index.d.ts +0 -3
  255. package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +0 -3
  256. package/lib/components/productCard/components/Header/index.d.ts +0 -3
  257. package/lib/components/productCard/components/Sales/index.d.ts +0 -3
  258. package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -3
  259. package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -13
  260. package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +0 -18
  261. package/lib/components/productCard/components/Time/index.d.ts +0 -3
  262. package/lib/components/productCard/index.d.ts +0 -7
  263. package/lib/components/productCard/locales.d.ts +0 -84
  264. package/lib/components/select/index.d.ts +0 -9
  265. package/lib/components/sortableList/index.d.ts +0 -11
  266. package/lib/components/table/Actions/component/ExportImport/components/ExportTable/function.d.ts +0 -7
  267. package/lib/components/table/Actions/component/ExportImport/index.d.ts +0 -7
  268. package/lib/components/table/Actions/index.d.ts +0 -17
  269. package/lib/components/table/Gallery/components/GalleryItem/index.d.ts +0 -14
  270. package/lib/components/table/Gallery/index.d.ts +0 -5
  271. package/lib/components/table/Table/AddFieldModal/index.d.ts +0 -4
  272. package/lib/components/table/Table/index.d.ts +0 -4
  273. package/lib/components/table/Table/utils.d.ts +0 -167
  274. package/lib/components/table/hooks/useTableSetting.d.ts +0 -21
  275. package/lib/components/table/hooks/useTransDataSource.d.ts +0 -12
  276. package/lib/components/table/index.d.ts +0 -4
  277. package/lib/components/table/serve.d.ts +0 -13
  278. package/lib/components/table/types.d.ts +0 -270
  279. package/lib/components/tabs/index.d.ts +0 -16
  280. package/lib/components/translation/index.d.ts +0 -15
  281. package/lib/components/versionModal/index.d.ts +0 -24
  282. package/lib/components/virtual-keyboard/Amount/index.d.ts +0 -5
  283. package/lib/components/virtual-keyboard/Amount/themeConfig.d.ts +0 -32
  284. package/lib/components/virtual-keyboard/Amount/types.d.ts +0 -44
  285. package/lib/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +0 -15
  286. package/lib/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +0 -25
  287. package/lib/components/virtual-keyboard/Keyboard/index.d.ts +0 -21
  288. package/lib/components/virtual-keyboard/Number/index.d.ts +0 -5
  289. package/lib/components/virtual-keyboard/Number/themeConfig.d.ts +0 -32
  290. package/lib/components/virtual-keyboard/Number/types.d.ts +0 -26
  291. package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -13
  292. package/lib/components/virtual-keyboard/index.d.ts +0 -25
  293. package/lib/components/virtualInput/BaseVirtualInput/index.d.ts +0 -40
  294. package/lib/components/virtualInput/index.d.ts +0 -24
  295. package/lib/components/walletCard/index.d.ts +0 -71
  296. package/lib/index.d.ts +0 -146
  297. package/lib/locales/en-US.d.ts +0 -342
  298. package/lib/locales/zh-CN.d.ts +0 -337
  299. package/lib/locales/zh-TW.d.ts +0 -337
@@ -9,6 +9,35 @@
9
9
  width: 100%;
10
10
  display: flex;
11
11
  cursor: pointer;
12
+ position: relative;
13
+ }
14
+
15
+ .pisell-wallet-add-holder-mask {
16
+ position: absolute;
17
+ top: 0;
18
+ left: 0;
19
+ width: 100%;
20
+ height: 100%;
21
+ background-color: rgba(0, 0, 0, 0.6);
22
+ display: flex;
23
+ flex-direction: column;
24
+ align-items: center;
25
+ justify-content: center;
26
+ gap: 16px;
27
+
28
+ &-text {
29
+ color: #fff;
30
+ text-align: center;
31
+ font-size: 16px;
32
+ font-style: normal;
33
+ font-weight: 600;
34
+ line-height: 24px;
35
+ white-space: pre-line;
36
+ }
37
+
38
+ &-button {
39
+ font-weight: bold;
40
+ }
12
41
  }
13
42
 
14
43
  // 卡片内容区域
@@ -35,6 +64,12 @@
35
64
  color: #fff;
36
65
  }
37
66
  }
67
+
68
+ .pisell-wallet-card-header-holder-name {
69
+ color: var(--Gray-900, #101828);
70
+ border: 1px solid var(--Gray-100, #f2f4f7);
71
+ background: var(--Gray-100, #f2f4f7);
72
+ }
38
73
  }
39
74
 
40
75
  // 亮色主题
@@ -54,6 +89,12 @@
54
89
  color: #101828;
55
90
  }
56
91
  }
92
+
93
+ .pisell-wallet-card-header-holder-name {
94
+ color: #fff;
95
+ border: 1px solid var(--Gray-600, #475467);
96
+ background: var(--Gray-600, #475467);
97
+ }
57
98
  }
58
99
  }
59
100
 
@@ -66,6 +107,25 @@
66
107
  display: flex;
67
108
  justify-content: space-between;
68
109
  align-items: flex-start;
110
+ min-height: 100px;
111
+
112
+ .pisell-wallet-card-header-holder-name {
113
+ cursor: pointer;
114
+ display: inline-block;
115
+ overflow: hidden;
116
+ text-overflow: ellipsis;
117
+ white-space: nowrap;
118
+ padding: 2px 8px;
119
+ border-radius: 16px;
120
+ height: 22px;
121
+ min-width: 50px;
122
+ text-align: center;
123
+ font-size: 12px;
124
+ line-height: 16px;
125
+ max-width: 100%;
126
+ font-style: normal;
127
+ font-weight: 500;
128
+ }
69
129
 
70
130
  // 头部左侧
71
131
  .pisell-wallet-card-header-left {
@@ -78,7 +138,7 @@
78
138
  display: flex;
79
139
  align-items: center;
80
140
  gap: 10px;
81
- margin-bottom: 8px;
141
+ margin-bottom: 4px;
82
142
 
83
143
  // 卡片名称文本
84
144
  .pisell-wallet-card-header-level-text {
@@ -157,7 +217,7 @@
157
217
 
158
218
  // 卡片内容列表
159
219
  .pisell-wallet-card-list {
160
- margin-top: 30px;
220
+ margin-top: unset;
161
221
  height: 50px;
162
222
  box-sizing: border-box;
163
223
  display: flex;
@@ -399,15 +399,7 @@ var en_US_default = {
399
399
  "pisell-upload-camera-capture": "Capture",
400
400
  "pisell-upload-camera-retake": "Retake",
401
401
  "pisell-upload-camera-use": "Use photo",
402
- // 列表组件
403
- "pisell-list-tab-group-default": "Field",
404
- "pisell-list-empty-text-default": "No data available",
405
- "pisell-list-load-more": "Load More",
406
- "pisell-list-view-less": "View Less",
407
- "pisell-list-pagination-total": (start, end, total) => `Showing ${start}-${end} of ${total} items`,
408
- "pisell-list-scroll-down": "Scroll Down",
409
- "pisell-list-scroll-right": "Scroll Right",
410
- "pisell-list-pagination-page-of": (current, total) => `Page ${current} of ${total}`,
411
- "pisell-list-pagination-previous": "Previous",
412
- "pisell-list-pagination-next": "Next"
402
+ // 钱包卡片组件
403
+ "pisell2.wallet-card.add-holder-tip": "To ensure your benefits, please\r\nassign a holder to activate this card.",
404
+ "pisell2.wallet-card.add-holder-button-text": "Set Holder"
413
405
  };
@@ -390,15 +390,7 @@ var zh_CN_default = {
390
390
  "pisell-upload-camera-capture": "拍摄/拍照",
391
391
  "pisell-upload-camera-retake": "重拍",
392
392
  "pisell-upload-camera-use": "使用照片",
393
- // 列表组件
394
- "pisell-list-tab-group-default": "字段",
395
- "pisell-list-empty-text-default": "暂无数据",
396
- "pisell-list-load-more": "查看更多",
397
- "pisell-list-view-less": "查看更少",
398
- "pisell-list-pagination-total": (start, end, total) => `显示第 ${start}-${end} 条,共 ${total} 条`,
399
- "pisell-list-scroll-down": "向下滚动",
400
- "pisell-list-scroll-right": "向右滚动",
401
- "pisell-list-pagination-page-of": (current, total) => `第 ${current} 页 共 ${total} 页`,
402
- "pisell-list-pagination-previous": "上一页",
403
- "pisell-list-pagination-next": "下一页"
393
+ // 钱包卡片组件
394
+ "pisell2.wallet-card.add-holder-tip": "为确保您的权益,此卡\r\n需指定使用人后方可激活使用。",
395
+ "pisell2.wallet-card.add-holder-button-text": "添加持有人"
404
396
  };
@@ -391,15 +391,7 @@ var zh_TW_default = {
391
391
  "pisell-upload-camera-capture": "拍攝/拍照",
392
392
  "pisell-upload-camera-retake": "重拍",
393
393
  "pisell-upload-camera-use": "使用照片",
394
- // 列表組件
395
- "pisell-list-tab-group-default": "字段",
396
- "pisell-list-empty-text-default": "暫無數據",
397
- "pisell-list-load-more": "查看更多",
398
- "pisell-list-view-less": "查看更少",
399
- "pisell-list-pagination-total": (start, end, total) => `顯示第 ${start}-${end} 條,共 ${total} 條`,
400
- "pisell-list-scroll-down": "向下滾動",
401
- "pisell-list-scroll-right": "向右滾動",
402
- "pisell-list-pagination-page-of": (current, total) => `第 ${current} 頁 共 ${total} 頁`,
403
- "pisell-list-pagination-previous": "上一頁",
404
- "pisell-list-pagination-next": "下一頁"
394
+ // 钱包卡片组件
395
+ "pisell2.wallet-card.add-holder-tip": "為確保您的權益,此卡\r\n需指定使用人後方可激活使用。",
396
+ "pisell2.wallet-card.add-holder-button-text": "添加使用人"
405
397
  };
@@ -1,4 +1,4 @@
1
1
  export declare const isBrowser: boolean;
2
- export declare const getCssNumber: (val: string | number) => string;
2
+ export declare const getCssNumber: (val: string | number) => string | number;
3
3
  export declare function uuid(): string;
4
4
  export * from './mergeWith';
@@ -1 +1 @@
1
- export declare const isMobile: () => boolean;
1
+ export declare const isMobile: () => any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/materials",
3
- "version": "1.0.960",
3
+ "version": "1.0.962",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -59,7 +59,7 @@
59
59
  "@use-gesture/react": "^10.3.1",
60
60
  "@zxing/library": "0.21.2",
61
61
  "ahooks": "^3.7.6",
62
- "antd": "5.6.3",
62
+ "antd": "*",
63
63
  "antd-img-crop": "^4.23.0",
64
64
  "classnames": "^2.3.2",
65
65
  "crypto-js": "^4.2.0",
@@ -1,4 +0,0 @@
1
- import { AppVersionControlProps } from './types';
2
- import './index.less';
3
- declare const AppVersionControl: (props: AppVersionControlProps) => JSX.Element;
4
- export default AppVersionControl;
@@ -1,20 +0,0 @@
1
- export declare type Options = {
2
- mode?: 'oneline' | 'multiline' | 'box' | 'boxoneline' | undefined;
3
- minFontSizePx?: number | undefined;
4
- maxFontSizePx?: number | undefined;
5
- fontSizePrecisionPx?: number | undefined;
6
- scrollToEnd?: boolean | undefined;
7
- };
8
- export declare function updateTextSize({ innerEl, containerEl, mode, minFontSizePx, maxFontSizePx, fontSizePrecisionPx, scrollToEnd, }: Options & {
9
- innerEl: HTMLElement;
10
- containerEl: HTMLElement;
11
- }): void;
12
- declare type DisconnectableFunction = {
13
- (): void;
14
- disconnect: () => void;
15
- };
16
- export declare function autoTextSize({ innerEl, containerEl, mode, minFontSizePx, maxFontSizePx, fontSizePrecisionPx, scrollToEnd, }: Options & {
17
- innerEl: HTMLElement;
18
- containerEl: HTMLElement;
19
- }): DisconnectableFunction;
20
- export {};
@@ -1,6 +0,0 @@
1
- import React, { DetailedHTMLProps, HTMLAttributes, ReactElement, ReactHTML } from 'react';
2
- import { Options } from './auto-text-size-standalone';
3
- export default function AutoResizeText({ mode, minFontSizePx, maxFontSizePx, fontSizePrecisionPx, scrollToEnd, as: Comp, children, ...rest }: Options & {
4
- as?: keyof ReactHTML | React.ComponentType<any>;
5
- children?: React.ReactNode;
6
- } & DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>): ReactElement;
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const _default: (props: any) => JSX.Element;
3
- export default _default;
@@ -1,56 +0,0 @@
1
- import React from 'react';
2
- import { FormInstance } from 'antd';
3
- import { ModeType } from './type';
4
- import './style.less';
5
- export interface WithModeProps {
6
- renderMode?: ModeType;
7
- value?: any;
8
- onChange?: (value: any) => void;
9
- [key: string]: any;
10
- }
11
- /**
12
- * @title: 增加renderMode属性
13
- * @description: 基于renderMode属性控制渲染模式
14
- * @return: *
15
- * @Author: shengjie.zuo
16
- * @Date: 2024-11-23 17:13:18
17
- */
18
- export declare const withMode: <P extends object>(FieldComponent: React.ComponentType<P>, ReadPrettyComponent?: React.ComponentType<P & {
19
- renderMode: ModeType;
20
- }> | undefined, transformProps?: ((props: P, renderMode: ModeType) => P) | undefined) => React.FC<P & WithModeProps>;
21
- export interface WithFormItemProps {
22
- name: string;
23
- label?: string;
24
- mode?: ModeType;
25
- [key: string]: any;
26
- }
27
- export declare const formItemNameReplace: (name: string) => string;
28
- export declare const formItemNameReverse: (name: string) => string;
29
- export declare const isValidDomain: (value: string) => boolean;
30
- /**
31
- * @title: 追加formItem层
32
- * @description:
33
- * @return: *
34
- * @Author: shengjie.zuo
35
- * @Date: 2024-11-23 17:14:25
36
- */
37
- export declare const withFormItem: <P extends object>(WrappedComponent: React.ComponentType<P>, overlayProps?: {
38
- otherFormItemProps?: Record<string, any> | ((props: Record<string, any>, others?: Record<string, any>) => Record<string, any>) | undefined;
39
- innerProps?: Record<string, any> | undefined;
40
- } | undefined) => React.FC<P & WithFormItemProps>;
41
- export declare const withDataSource: <P extends unknown>(WrappedComponent: React.ComponentType<P>) => (props: P & {
42
- dataSource?: any;
43
- }) => JSX.Element;
44
- export declare const withOptions: <P extends unknown>(WrappedComponent: React.ComponentType<P>) => (props: P & {
45
- options?: any;
46
- optionSourceType?: "default" | "custom" | "api" | undefined;
47
- labelField: string;
48
- valueField: string;
49
- extraParams?: Record<string, any> | undefined;
50
- }) => JSX.Element;
51
- export declare const getNestedValue: (obj: Record<string, any>, path: string) => Record<string, any>;
52
- export declare const renderValueWithMap: (value: any, valueMap?: Record<string, string>, renderMode?: ModeType) => JSX.Element | null;
53
- export declare function toArr(str: string | number | (string | number)[]): (string | number)[];
54
- export declare const filterSystemFields: (params: Record<string, any>) => Record<string, any>;
55
- export declare const transformFormObjToArrayWithUntouched: (obj: Record<string, any>) => any[];
56
- export declare const setFormFieldsUntouched: (form: FormInstance) => void;
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- import { DataSourceTableProps } from './type';
3
- export interface TableRef {
4
- refreshCurrentPage: () => void;
5
- refreshData: () => void;
6
- }
7
- declare const _default: React.ForwardRefExoticComponent<DataSourceTableProps & React.RefAttributes<TableRef>>;
8
- export default _default;
@@ -1,27 +0,0 @@
1
- import './index.less';
2
- interface BaseFilterItem {
3
- name?: string;
4
- value: string;
5
- label?: string;
6
- type?: string;
7
- isHidden: boolean;
8
- isCustom?: boolean;
9
- }
10
- interface FilterProps {
11
- componentId: string;
12
- filterBy: Record<string, any>;
13
- quickFilterMaxLength?: number;
14
- sortButtonShow?: boolean;
15
- mode?: 'simple' | 'complex';
16
- items: BaseFilterItem[];
17
- handleValuesChange: (changedFields: any, allFields: any) => void;
18
- show: boolean;
19
- search: {
20
- show: boolean;
21
- placeholder: string;
22
- key: string;
23
- };
24
- getInitialValues?: () => Record<string, any>;
25
- }
26
- declare const Filter: (props: FilterProps) => JSX.Element;
27
- export default Filter;
@@ -1,39 +0,0 @@
1
- import { Drawer } from 'antd';
2
- import React from 'react';
3
- import { OperationItem } from '../type';
4
- declare const useDrawerState: (operationContent?: {
5
- [key: string]: React.ReactNode;
6
- } | undefined) => {
7
- drawerVisible: boolean;
8
- setDrawerVisible: React.Dispatch<React.SetStateAction<boolean>>;
9
- openDrawer: (item: OperationItem) => void;
10
- closeDrawer: () => void;
11
- drawerContent: React.ReactNode;
12
- Container: {
13
- (props: import("../../../pisellModal").PisellModalProps): JSX.Element;
14
- confirm: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => {
15
- destroy: () => void;
16
- update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
17
- };
18
- info: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => {
19
- destroy: () => void;
20
- update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
21
- };
22
- error: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => {
23
- destroy: () => void;
24
- update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
25
- };
26
- warn: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => any;
27
- warning: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => {
28
- destroy: () => void;
29
- update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
30
- };
31
- success: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => {
32
- destroy: () => void;
33
- update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
34
- };
35
- Information: (props: import("../../../pisellModal/components/Information").InformationProps) => JSX.Element;
36
- } | typeof Drawer;
37
- containerProps: {};
38
- };
39
- export default useDrawerState;
@@ -1,101 +0,0 @@
1
- import React from 'react';
2
- import { DataSourceTableProps } from '../type';
3
- import { OperationItem } from '../type';
4
- interface UseTablePropsProps {
5
- data: any;
6
- originProps: DataSourceTableProps;
7
- openDrawer: (type: OperationItem) => void;
8
- closeDrawer: () => void;
9
- refreshData: () => void;
10
- handleFilterChange: (changedFields: any, allFields: any) => void;
11
- tableRef: any;
12
- getInitialValues: () => Record<string, any>;
13
- }
14
- /**
15
- * 处理table的props
16
- * 转换title
17
- * @param props
18
- * @returns
19
- */
20
- declare const useTableProps: (props: UseTablePropsProps) => {
21
- currentComponentId: any;
22
- title: number | boolean | React.ReactFragment | JSX.Element | (() => React.ReactNode) | null | undefined;
23
- pagination: {
24
- total: number;
25
- current: number;
26
- pageSize: number;
27
- size: string;
28
- showSizeChanger: boolean;
29
- };
30
- columns: import("./useColumns").Column[];
31
- subTitle: number | boolean | React.ReactFragment | JSX.Element | (() => React.ReactNode) | null | undefined;
32
- buttons: any[] | null;
33
- filter: {
34
- dom: any;
35
- items: any;
36
- } | null;
37
- onRow: (record: any) => any;
38
- actionButtons: any[] | null;
39
- __id?: string | undefined;
40
- currentSettingKey?: string | undefined;
41
- titleButtons?: {
42
- show: boolean;
43
- maxCount: number;
44
- items: OperationItem[];
45
- } | undefined;
46
- tableButtons?: {
47
- show: boolean;
48
- maxCount: number;
49
- items: OperationItem[];
50
- } | undefined;
51
- operation?: {
52
- show: boolean;
53
- title: string;
54
- width: number;
55
- align: "center" | "left" | "right";
56
- fixed: false | "left" | "right";
57
- type: "button" | "link";
58
- items: OperationItem[];
59
- } | undefined;
60
- operationContent?: {
61
- [key: string]: React.ReactNode;
62
- } | undefined;
63
- dataSource: import("../../provider/dataSource/DataSourceContext").DataSourceType;
64
- search?: {
65
- show: boolean;
66
- placeholder: string;
67
- } | undefined;
68
- __designMode: string;
69
- componentId: string;
70
- clickToDetail?: {
71
- show: boolean;
72
- useCustomAction: boolean;
73
- actionType: string;
74
- openMode: "modal" | "drawer";
75
- openContentSize: "small" | "middle" | "large";
76
- openTitle: string;
77
- key: string;
78
- } | undefined;
79
- filterBy?: Record<string, any> | undefined;
80
- sortBy: string;
81
- tabs?: {
82
- show: boolean;
83
- type: string;
84
- items: {
85
- name: string;
86
- filterBy: Record<string, any>;
87
- sortBy: string;
88
- }[];
89
- } | undefined;
90
- onValuesChange?: ((changedValues: any, values: any) => void) | undefined;
91
- onDeleteFinish?: ((record: Record<string, any>) => void) | undefined;
92
- extraParams?: {
93
- list?: Record<string, any> | undefined;
94
- get?: Record<string, any> | undefined;
95
- update?: Record<string, any> | undefined;
96
- create?: Record<string, any> | undefined;
97
- destroy?: Record<string, any> | undefined;
98
- } | undefined;
99
- localSettings?: import("../../../table/types").LocalSettingsType | undefined;
100
- };
101
- export default useTableProps;
@@ -1,33 +0,0 @@
1
- import { DataSourceTableProps } from '../type';
2
- declare type Params = {
3
- pagination?: {
4
- page: number;
5
- size: number;
6
- };
7
- order_by?: string;
8
- tabs?: {
9
- name: string;
10
- filterBy: Record<string, any>;
11
- sortBy: string;
12
- };
13
- };
14
- declare const useTableQuery: (props: DataSourceTableProps, currentSettingHash: string) => {
15
- queryPageConfig: {
16
- page: number;
17
- pageSize: number;
18
- filter: Record<string, any>;
19
- sort: string;
20
- };
21
- setQueryPageConfig: import("react").Dispatch<import("react").SetStateAction<{
22
- page: number;
23
- pageSize: number;
24
- filter: Record<string, any>;
25
- sort: string;
26
- }>>;
27
- handleValuesChange: (params: Params, allParams: Params) => void;
28
- refreshData: () => void;
29
- handleFilterChange: (changedFields: any, allFields: any) => void;
30
- refreshCurrentPage: () => void;
31
- getInitialValues: () => Record<string, any>;
32
- };
33
- export default useTableQuery;
@@ -1,85 +0,0 @@
1
- /// <reference types="react" />
2
- import { ColumnType } from 'antd/es/table';
3
- import { LocalSettingsType } from '../../table/types';
4
- import { DataSourceType } from '../provider/dataSource/DataSourceContext';
5
- export declare type OperationItem = {
6
- label?: string;
7
- openMode: 'modal' | 'drawer' | 'custom';
8
- openContentSize: 'small' | 'middle' | 'large';
9
- openTitle: string;
10
- actionType: 'detail' | 'edit' | 'delete' | 'custom';
11
- key: string;
12
- buttonProps?: any;
13
- onClick?: (record: any) => void;
14
- afterClose?: () => void;
15
- };
16
- export interface DataSourceTableProps {
17
- __id?: string;
18
- currentComponentId?: string;
19
- currentSettingKey?: string;
20
- title?: string | React.ReactNode | (() => React.ReactNode);
21
- subTitle?: string | React.ReactNode | (() => React.ReactNode);
22
- titleButtons?: {
23
- show: boolean;
24
- maxCount: number;
25
- items: OperationItem[];
26
- };
27
- tableButtons?: {
28
- show: boolean;
29
- maxCount: number;
30
- items: OperationItem[];
31
- };
32
- buttons?: any[];
33
- operation?: {
34
- show: boolean;
35
- title: string;
36
- width: number;
37
- align: 'left' | 'center' | 'right';
38
- fixed: 'left' | 'right' | false;
39
- type: 'link' | 'button';
40
- items: OperationItem[];
41
- };
42
- operationContent?: {
43
- [key: string]: React.ReactNode;
44
- };
45
- dataSource: DataSourceType;
46
- columns: ColumnType<any>[];
47
- filter: any;
48
- search?: {
49
- show: boolean;
50
- placeholder: string;
51
- };
52
- __designMode: string;
53
- componentId: string;
54
- clickToDetail?: {
55
- show: boolean;
56
- useCustomAction: boolean;
57
- actionType: string;
58
- openMode: 'modal' | 'drawer';
59
- openContentSize: 'small' | 'middle' | 'large';
60
- openTitle: string;
61
- key: string;
62
- };
63
- onRow?: any;
64
- filterBy?: Record<string, any>;
65
- sortBy: string;
66
- tabs?: {
67
- show: boolean;
68
- type: string;
69
- items: {
70
- name: string;
71
- filterBy: Record<string, any>;
72
- sortBy: string;
73
- }[];
74
- };
75
- onValuesChange?: (changedValues: any, values: any) => void;
76
- onDeleteFinish?: (record: Record<string, any>) => void;
77
- extraParams?: {
78
- list?: Record<string, any>;
79
- get?: Record<string, any>;
80
- update?: Record<string, any>;
81
- create?: Record<string, any>;
82
- destroy?: Record<string, any>;
83
- };
84
- localSettings?: LocalSettingsType;
85
- }
@@ -1,17 +0,0 @@
1
- import React from 'react';
2
- import { InputProps } from 'antd';
3
- import { ModeType } from '../../dataSourceForm/type';
4
- declare type PhoneValue = string | {
5
- phone: string;
6
- countryCallingCode: string;
7
- countryCode?: string;
8
- };
9
- export interface PhoneInputProps extends Omit<InputProps, 'value' | 'onChange'> {
10
- renderMode: ModeType;
11
- value?: PhoneValue;
12
- onChange?: (value: PhoneValue) => void;
13
- returnFormat?: 'string' | 'object';
14
- inputRef?: any;
15
- }
16
- declare const MobileNumberInputWithMode: React.FC<PhoneInputProps & import("../../dataSourceForm/utils").WithModeProps>;
17
- export default MobileNumberInputWithMode;
@@ -1,24 +0,0 @@
1
- /**
2
- * 获取nocobase数据列表
3
- */
4
- export declare const getCountryDataList: () => Promise<any>;
5
- export interface Country {
6
- id: number;
7
- name: {
8
- en: string;
9
- 'zh-CN': string;
10
- 'zh-HK': string;
11
- original: string;
12
- };
13
- code: string;
14
- calling_code: string;
15
- currency_code: string;
16
- sort: number;
17
- status: string;
18
- created_at: string;
19
- updated_at: string;
20
- prefix: string;
21
- }
22
- export declare const useCountries: () => {
23
- data: Country[];
24
- };
@@ -1,16 +0,0 @@
1
- import React from 'react';
2
- import { InputProps } from 'antd';
3
- import { ModeType } from "../../dataSourceForm/type";
4
- declare type PhoneValue = string | {
5
- phone: string;
6
- countryCallingCode: string;
7
- };
8
- export interface PhoneInputProps extends Omit<InputProps, 'value' | 'onChange'> {
9
- renderMode: ModeType;
10
- value?: PhoneValue;
11
- onChange?: (value: PhoneValue) => void;
12
- returnFormat?: 'string' | 'object';
13
- inputRef?: any;
14
- }
15
- declare const PhoneNumberInputWithMode: React.FC<PhoneInputProps & import("../../dataSourceForm/utils").WithModeProps>;
16
- export default PhoneNumberInputWithMode;