@pisell/materials 1.0.965 → 1.0.966

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 (309) 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 +160 -144
  7. package/build/lowcode/render/default/view.js +39 -30
  8. package/build/lowcode/view.js +39 -30
  9. package/es/components/appVersionControl/index.d.ts +4 -0
  10. package/es/components/auto-resize-text/auto-text-size-standalone.d.ts +20 -0
  11. package/es/components/auto-resize-text/index.d.ts +6 -0
  12. package/es/components/cardPro/index.d.ts +3 -0
  13. package/es/components/dataSourceComponents/dataSourceForm/BaseForm.js +42 -8
  14. package/es/components/dataSourceComponents/dataSourceForm/serve.d.ts +30 -0
  15. package/es/components/dataSourceComponents/dataSourceForm/serve.js +93 -0
  16. package/es/components/dataSourceComponents/dataSourceForm/submitButton/index.js +43 -20
  17. package/es/components/dataSourceComponents/dataSourceForm/urlUtils.d.ts +36 -0
  18. package/es/components/dataSourceComponents/dataSourceForm/urlUtils.js +129 -0
  19. package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts +56 -0
  20. package/es/components/dataSourceComponents/dataSourceTable/BaseTable.d.ts +8 -0
  21. package/es/components/dataSourceComponents/dataSourceTable/BaseTable.js +1 -0
  22. package/es/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +27 -0
  23. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +2 -2
  24. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +5 -0
  25. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +101 -0
  26. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +33 -0
  27. package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +85 -0
  28. package/es/components/dataSourceComponents/fields/Input.Mobile/WithMode.d.ts +17 -0
  29. package/es/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +24 -0
  30. package/es/components/dataSourceComponents/fields/Input.Phone/WithMode.d.ts +16 -0
  31. package/es/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +25 -0
  32. package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  33. package/es/components/dataSourceComponents/fields/Upload/BaseUpload.d.ts +5 -0
  34. package/es/components/dataSourceComponents/fields/Upload/CameraPopover.d.ts +5 -0
  35. package/es/components/dataSourceComponents/fields/Upload/index.d.ts +3 -0
  36. package/es/components/dataSourceComponents/fields/Upload/type.d.ts +38 -0
  37. package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  38. package/es/components/dataSourceComponents/fields/index.d.ts +11 -11
  39. package/es/components/dataSourceComponents/hooks/useActions.js +20 -14
  40. package/es/components/dataSourceComponents/hooks/usePlatform.d.ts +5 -0
  41. package/es/components/dataSourceComponents/provider/dataSource/DataSourceContext.d.ts +1 -0
  42. package/es/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +15 -0
  43. package/es/components/dataSourceComponents/provider/variables/VariablesProvider.d.ts +4 -0
  44. package/es/components/date-picker/index.d.ts +0 -1
  45. package/es/components/drag-sort-tree/TreeItem/index.d.ts +18 -0
  46. package/es/components/drag-sort-tree/index.d.ts +3 -0
  47. package/es/components/filter/types.d.ts +46 -0
  48. package/es/components/hardwareErrorTip/demo.d.ts +3 -0
  49. package/es/components/hardwareErrorTip/errorCard/index.d.ts +28 -0
  50. package/es/components/hardwareErrorTip/errorTipStatistics/index.d.ts +12 -0
  51. package/es/components/hardwareErrorTip/index.d.ts +19 -0
  52. package/es/components/hardwareErrorTip/logCard/index.d.ts +27 -0
  53. package/es/components/hardwareErrorTip/types.d.ts +28 -0
  54. package/es/components/iconfont/index.d.ts +8 -0
  55. package/es/components/iconfont/index.js +1 -1
  56. package/es/components/keyboard/index.d.ts +22 -0
  57. package/es/components/login-and-register/index.d.ts +82 -0
  58. package/es/components/page/index.d.ts +8 -0
  59. package/es/components/pisell-config-provider/context.d.ts +22 -0
  60. package/es/components/pisell-config-provider/index.d.ts +13 -0
  61. package/es/components/pisellAdjustPrice/index.d.ts +4 -0
  62. package/es/components/pisellAdjustPrice/status.d.ts +32 -0
  63. package/es/components/pisellAdjustPrice/type.d.ts +22 -0
  64. package/es/components/pisellCamera/index.d.ts +4 -0
  65. package/es/components/pisellCardList/index.d.ts +107 -0
  66. package/es/components/pisellCheckboxGroup/index.d.ts +40 -0
  67. package/es/components/pisellEmpty/index.d.ts +19 -0
  68. package/es/components/pisellGoodPassCard/index.d.ts +50 -0
  69. package/es/components/pisellQRScanner/index.d.ts +24 -0
  70. package/es/components/pisellQrcode/index.d.ts +10 -0
  71. package/es/components/pisellText/components/Amount/index.d.ts +20 -0
  72. package/es/components/pisellText/components/Editable/index.d.ts +29 -0
  73. package/es/components/pisellText/index.d.ts +9 -0
  74. package/es/components/pisellToast/index.d.ts +17 -0
  75. package/es/components/pisellToast/squareToast/index.d.ts +15 -0
  76. package/es/components/pisellToast/squareToast/methods.d.ts +13 -0
  77. package/es/components/pisellToast/squareToast/renderImperatively.d.ts +29 -0
  78. package/es/components/pisellToast/squareToast/toast.d.ts +25 -0
  79. package/es/components/pisellWalletPassCard/index.d.ts +148 -0
  80. package/es/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +3 -0
  81. package/es/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +3 -0
  82. package/es/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +14 -0
  83. package/es/components/productCard/cartSkuCard/components/Note/index.d.ts +3 -0
  84. package/es/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +28 -0
  85. package/es/components/productCard/cartSkuCard/components/discountReason/index.d.ts +2 -0
  86. package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +3 -0
  87. package/es/components/productCard/cartSkuCard/components/holders/index.js +6 -1
  88. package/es/components/productCard/cartSkuCard/components/packages/index.d.ts +10 -0
  89. package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +20 -0
  90. package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +3 -0
  91. package/es/components/productCard/cartSkuCard/components/sales/index.d.ts +12 -0
  92. package/es/components/productCard/cartSkuCard/components/specs/index.d.ts +3 -0
  93. package/es/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +46 -0
  94. package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +6 -0
  95. package/es/components/productCard/cartSkuCard/index.d.ts +10 -0
  96. package/es/components/productCard/cartSkuCard/locales.d.ts +99 -0
  97. package/es/components/productCard/components/Action/index.d.ts +3 -0
  98. package/es/components/productCard/components/Header/Actions/index.d.ts +3 -0
  99. package/es/components/productCard/components/Header/DeleteButton/index.d.ts +3 -0
  100. package/es/components/productCard/components/Header/index.d.ts +3 -0
  101. package/es/components/productCard/components/Packages/utils.d.ts +1 -1
  102. package/es/components/productCard/components/Sales/index.d.ts +3 -0
  103. package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +3 -0
  104. package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +13 -0
  105. package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +18 -0
  106. package/es/components/productCard/components/Time/index.d.ts +3 -0
  107. package/es/components/productCard/index.d.ts +7 -0
  108. package/es/components/productCard/locales.d.ts +84 -0
  109. package/es/components/productCard/status.d.ts +32 -0
  110. package/es/components/productCard/types.d.ts +85 -0
  111. package/es/components/productCard/utils.d.ts +31 -0
  112. package/es/components/select/index.d.ts +9 -0
  113. package/es/components/sortableList/index.d.ts +11 -0
  114. package/es/components/table/Actions/component/ExportImport/components/ExportTable/function.d.ts +7 -0
  115. package/es/components/table/Actions/component/ExportImport/index.d.ts +7 -0
  116. package/es/components/table/Actions/index.d.ts +17 -0
  117. package/es/components/table/Gallery/components/GalleryItem/index.d.ts +14 -0
  118. package/es/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
  119. package/es/components/table/Gallery/index.d.ts +5 -0
  120. package/es/components/table/Table/AddFieldModal/index.d.ts +4 -0
  121. package/es/components/table/Table/SelectField/index.d.ts +0 -1
  122. package/es/components/table/Table/fields/index.d.ts +0 -1
  123. package/es/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
  124. package/es/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
  125. package/es/components/table/Table/index.d.ts +4 -0
  126. package/es/components/table/Table/index.js +7 -3
  127. package/es/components/table/Table/utils.d.ts +167 -0
  128. package/es/components/table/hooks/useTableSetting.d.ts +21 -0
  129. package/es/components/table/hooks/useTransColumns.d.ts +1 -1
  130. package/es/components/table/hooks/useTransColumns.js +1 -1
  131. package/es/components/table/hooks/useTransDataSource.d.ts +12 -0
  132. package/es/components/table/index.d.ts +4 -0
  133. package/es/components/table/index.js +3 -1
  134. package/es/components/table/serve.d.ts +13 -0
  135. package/es/components/table/types.d.ts +270 -0
  136. package/es/components/tabs/index.d.ts +17 -0
  137. package/es/components/translation/index.d.ts +15 -0
  138. package/es/components/versionModal/index.d.ts +24 -0
  139. package/es/components/virtual-keyboard/Amount/index.d.ts +5 -0
  140. package/es/components/virtual-keyboard/Amount/themeConfig.d.ts +32 -0
  141. package/es/components/virtual-keyboard/Amount/types.d.ts +44 -0
  142. package/es/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +15 -0
  143. package/es/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +25 -0
  144. package/es/components/virtual-keyboard/Keyboard/index.d.ts +21 -0
  145. package/es/components/virtual-keyboard/Number/index.d.ts +5 -0
  146. package/es/components/virtual-keyboard/Number/themeConfig.d.ts +32 -0
  147. package/es/components/virtual-keyboard/Number/types.d.ts +26 -0
  148. package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts +13 -0
  149. package/es/components/virtual-keyboard/index.d.ts +25 -0
  150. package/es/components/virtualInput/BaseVirtualInput/index.d.ts +40 -0
  151. package/es/components/virtualInput/index.d.ts +23 -0
  152. package/es/components/walletCard/index.d.ts +79 -0
  153. package/es/index.d.ts +146 -0
  154. package/es/locales/en-US.d.ts +344 -0
  155. package/es/locales/zh-CN.d.ts +339 -0
  156. package/es/locales/zh-TW.d.ts +339 -0
  157. package/es/utils/index.d.ts +1 -1
  158. package/es/utils/platform.d.ts +1 -1
  159. package/lib/components/appVersionControl/index.d.ts +4 -0
  160. package/lib/components/auto-resize-text/auto-text-size-standalone.d.ts +20 -0
  161. package/lib/components/auto-resize-text/index.d.ts +6 -0
  162. package/lib/components/cardPro/index.d.ts +3 -0
  163. package/lib/components/dataSourceComponents/dataSourceForm/BaseForm.js +20 -2
  164. package/lib/components/dataSourceComponents/dataSourceForm/serve.d.ts +30 -0
  165. package/lib/components/dataSourceComponents/dataSourceForm/serve.js +45 -2
  166. package/lib/components/dataSourceComponents/dataSourceForm/submitButton/index.js +16 -1
  167. package/lib/components/dataSourceComponents/dataSourceForm/urlUtils.d.ts +36 -0
  168. package/lib/components/dataSourceComponents/dataSourceForm/urlUtils.js +92 -0
  169. package/lib/components/dataSourceComponents/dataSourceForm/utils.d.ts +56 -0
  170. package/lib/components/dataSourceComponents/dataSourceTable/BaseTable.d.ts +8 -0
  171. package/lib/components/dataSourceComponents/dataSourceTable/BaseTable.js +1 -0
  172. package/lib/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +27 -0
  173. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +2 -2
  174. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +5 -0
  175. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +101 -0
  176. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +33 -0
  177. package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +85 -0
  178. package/lib/components/dataSourceComponents/fields/Input.Mobile/WithMode.d.ts +17 -0
  179. package/lib/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +24 -0
  180. package/lib/components/dataSourceComponents/fields/Input.Phone/WithMode.d.ts +16 -0
  181. package/lib/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +25 -0
  182. package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  183. package/lib/components/dataSourceComponents/fields/Upload/BaseUpload.d.ts +5 -0
  184. package/lib/components/dataSourceComponents/fields/Upload/CameraPopover.d.ts +5 -0
  185. package/lib/components/dataSourceComponents/fields/Upload/index.d.ts +3 -0
  186. package/lib/components/dataSourceComponents/fields/Upload/type.d.ts +38 -0
  187. package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  188. package/lib/components/dataSourceComponents/fields/index.d.ts +11 -11
  189. package/lib/components/dataSourceComponents/hooks/useActions.js +3 -0
  190. package/lib/components/dataSourceComponents/hooks/usePlatform.d.ts +5 -0
  191. package/lib/components/dataSourceComponents/provider/dataSource/DataSourceContext.d.ts +1 -0
  192. package/lib/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +15 -0
  193. package/lib/components/dataSourceComponents/provider/variables/VariablesProvider.d.ts +4 -0
  194. package/lib/components/date-picker/index.d.ts +0 -1
  195. package/lib/components/drag-sort-tree/TreeItem/index.d.ts +18 -0
  196. package/lib/components/drag-sort-tree/index.d.ts +3 -0
  197. package/lib/components/filter/types.d.ts +46 -0
  198. package/lib/components/hardwareErrorTip/demo.d.ts +3 -0
  199. package/lib/components/hardwareErrorTip/errorCard/index.d.ts +28 -0
  200. package/lib/components/hardwareErrorTip/errorTipStatistics/index.d.ts +12 -0
  201. package/lib/components/hardwareErrorTip/index.d.ts +19 -0
  202. package/lib/components/hardwareErrorTip/logCard/index.d.ts +27 -0
  203. package/lib/components/hardwareErrorTip/types.d.ts +28 -0
  204. package/lib/components/iconfont/index.d.ts +8 -0
  205. package/lib/components/iconfont/index.js +1 -1
  206. package/lib/components/keyboard/index.d.ts +22 -0
  207. package/lib/components/login-and-register/index.d.ts +82 -0
  208. package/lib/components/page/index.d.ts +8 -0
  209. package/lib/components/pisell-config-provider/context.d.ts +22 -0
  210. package/lib/components/pisell-config-provider/index.d.ts +13 -0
  211. package/lib/components/pisellAdjustPrice/index.d.ts +4 -0
  212. package/lib/components/pisellAdjustPrice/status.d.ts +32 -0
  213. package/lib/components/pisellAdjustPrice/type.d.ts +22 -0
  214. package/lib/components/pisellCamera/index.d.ts +4 -0
  215. package/lib/components/pisellCardList/index.d.ts +107 -0
  216. package/lib/components/pisellCheckboxGroup/index.d.ts +40 -0
  217. package/lib/components/pisellEmpty/index.d.ts +19 -0
  218. package/lib/components/pisellGoodPassCard/index.d.ts +50 -0
  219. package/lib/components/pisellQRScanner/index.d.ts +24 -0
  220. package/lib/components/pisellQrcode/index.d.ts +10 -0
  221. package/lib/components/pisellText/components/Amount/index.d.ts +20 -0
  222. package/lib/components/pisellText/components/Editable/index.d.ts +29 -0
  223. package/lib/components/pisellText/index.d.ts +9 -0
  224. package/lib/components/pisellToast/index.d.ts +17 -0
  225. package/lib/components/pisellToast/squareToast/index.d.ts +15 -0
  226. package/lib/components/pisellToast/squareToast/methods.d.ts +13 -0
  227. package/lib/components/pisellToast/squareToast/renderImperatively.d.ts +29 -0
  228. package/lib/components/pisellToast/squareToast/toast.d.ts +25 -0
  229. package/lib/components/pisellWalletPassCard/index.d.ts +148 -0
  230. package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +3 -0
  231. package/lib/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +3 -0
  232. package/lib/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +14 -0
  233. package/lib/components/productCard/cartSkuCard/components/Note/index.d.ts +3 -0
  234. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +28 -0
  235. package/lib/components/productCard/cartSkuCard/components/discountReason/index.d.ts +2 -0
  236. package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +3 -0
  237. package/lib/components/productCard/cartSkuCard/components/holders/index.js +6 -1
  238. package/lib/components/productCard/cartSkuCard/components/packages/index.d.ts +10 -0
  239. package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +20 -0
  240. package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +3 -0
  241. package/lib/components/productCard/cartSkuCard/components/sales/index.d.ts +12 -0
  242. package/lib/components/productCard/cartSkuCard/components/specs/index.d.ts +3 -0
  243. package/lib/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +46 -0
  244. package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +6 -0
  245. package/lib/components/productCard/cartSkuCard/index.d.ts +10 -0
  246. package/lib/components/productCard/cartSkuCard/locales.d.ts +99 -0
  247. package/lib/components/productCard/components/Action/index.d.ts +3 -0
  248. package/lib/components/productCard/components/Header/Actions/index.d.ts +3 -0
  249. package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +3 -0
  250. package/lib/components/productCard/components/Header/index.d.ts +3 -0
  251. package/lib/components/productCard/components/Packages/utils.d.ts +1 -1
  252. package/lib/components/productCard/components/Sales/index.d.ts +3 -0
  253. package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +3 -0
  254. package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +13 -0
  255. package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +18 -0
  256. package/lib/components/productCard/components/Time/index.d.ts +3 -0
  257. package/lib/components/productCard/index.d.ts +7 -0
  258. package/lib/components/productCard/locales.d.ts +84 -0
  259. package/lib/components/productCard/status.d.ts +32 -0
  260. package/lib/components/productCard/types.d.ts +85 -0
  261. package/lib/components/productCard/utils.d.ts +31 -0
  262. package/lib/components/select/index.d.ts +9 -0
  263. package/lib/components/sortableList/index.d.ts +11 -0
  264. package/lib/components/table/Actions/component/ExportImport/components/ExportTable/function.d.ts +7 -0
  265. package/lib/components/table/Actions/component/ExportImport/index.d.ts +7 -0
  266. package/lib/components/table/Actions/index.d.ts +17 -0
  267. package/lib/components/table/Gallery/components/GalleryItem/index.d.ts +14 -0
  268. package/lib/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
  269. package/lib/components/table/Gallery/index.d.ts +5 -0
  270. package/lib/components/table/Table/AddFieldModal/index.d.ts +4 -0
  271. package/lib/components/table/Table/SelectField/index.d.ts +0 -1
  272. package/lib/components/table/Table/fields/index.d.ts +0 -1
  273. package/lib/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
  274. package/lib/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
  275. package/lib/components/table/Table/index.d.ts +4 -0
  276. package/lib/components/table/Table/index.js +8 -4
  277. package/lib/components/table/Table/utils.d.ts +167 -0
  278. package/lib/components/table/hooks/useTableSetting.d.ts +21 -0
  279. package/lib/components/table/hooks/useTransColumns.d.ts +1 -1
  280. package/lib/components/table/hooks/useTransColumns.js +1 -1
  281. package/lib/components/table/hooks/useTransDataSource.d.ts +12 -0
  282. package/lib/components/table/index.d.ts +4 -0
  283. package/lib/components/table/index.js +3 -1
  284. package/lib/components/table/serve.d.ts +13 -0
  285. package/lib/components/table/types.d.ts +270 -0
  286. package/lib/components/tabs/index.d.ts +17 -0
  287. package/lib/components/translation/index.d.ts +15 -0
  288. package/lib/components/versionModal/index.d.ts +24 -0
  289. package/lib/components/virtual-keyboard/Amount/index.d.ts +5 -0
  290. package/lib/components/virtual-keyboard/Amount/themeConfig.d.ts +32 -0
  291. package/lib/components/virtual-keyboard/Amount/types.d.ts +44 -0
  292. package/lib/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +15 -0
  293. package/lib/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +25 -0
  294. package/lib/components/virtual-keyboard/Keyboard/index.d.ts +21 -0
  295. package/lib/components/virtual-keyboard/Number/index.d.ts +5 -0
  296. package/lib/components/virtual-keyboard/Number/themeConfig.d.ts +32 -0
  297. package/lib/components/virtual-keyboard/Number/types.d.ts +26 -0
  298. package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +13 -0
  299. package/lib/components/virtual-keyboard/index.d.ts +25 -0
  300. package/lib/components/virtualInput/BaseVirtualInput/index.d.ts +40 -0
  301. package/lib/components/virtualInput/index.d.ts +23 -0
  302. package/lib/components/walletCard/index.d.ts +79 -0
  303. package/lib/index.d.ts +146 -0
  304. package/lib/locales/en-US.d.ts +344 -0
  305. package/lib/locales/zh-CN.d.ts +339 -0
  306. package/lib/locales/zh-TW.d.ts +339 -0
  307. package/lib/utils/index.d.ts +1 -1
  308. package/lib/utils/platform.d.ts +1 -1
  309. package/package.json +3 -3
@@ -0,0 +1,92 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+
19
+ // src/components/dataSourceComponents/dataSourceForm/urlUtils.ts
20
+ var urlUtils_exports = {};
21
+ __export(urlUtils_exports, {
22
+ getFormSettingParams: () => getFormSettingParams,
23
+ getUrlParams: () => getUrlParams,
24
+ saveFormSettingMeta: () => saveFormSettingMeta,
25
+ updateTenantSettingFromUrl: () => updateTenantSettingFromUrl
26
+ });
27
+ module.exports = __toCommonJS(urlUtils_exports);
28
+ var import_utils = require("../../table/utils");
29
+ var getUrlParams = () => {
30
+ const urlSearchParams = new URLSearchParams(window.location.search);
31
+ const urlParams = {};
32
+ urlSearchParams.forEach((value, key) => {
33
+ urlParams[key] = value;
34
+ });
35
+ return urlParams;
36
+ };
37
+ var getFormSettingParams = (urlParams) => {
38
+ const params = urlParams || getUrlParams();
39
+ return {
40
+ businessCode: params.businessCode || params.business_code,
41
+ channelCode: params.channelCode || params.channel_code,
42
+ board: params.board,
43
+ includeBoard: params.board === "1",
44
+ isBoard: params.isBoard
45
+ };
46
+ };
47
+ var saveFormSettingMeta = async (sectionCodes, data, businessCode, channelCode, includeBoard) => {
48
+ const queryParams = new URLSearchParams();
49
+ sectionCodes.forEach((code) => {
50
+ queryParams.append("section_code[]", code);
51
+ });
52
+ if (businessCode) {
53
+ queryParams.append("business_code", businessCode);
54
+ }
55
+ if (channelCode) {
56
+ queryParams.append("channel_code", channelCode);
57
+ }
58
+ if (includeBoard && businessCode && channelCode) {
59
+ queryParams.append("board_code", `${businessCode}×${channelCode}`);
60
+ }
61
+ const url = `/setting?${queryParams.toString()}`;
62
+ return import_utils.request.getRequest().post(url, data, {
63
+ headers: {
64
+ "Content-Type": "application/json"
65
+ }
66
+ });
67
+ };
68
+ var updateTenantSettingFromUrl = async (data) => {
69
+ const urlParams = getUrlParams();
70
+ const businessCode = urlParams.businessCode;
71
+ const channelCode = urlParams.channelCode;
72
+ const boardCode = urlParams.isBoard === "1" && businessCode && channelCode ? `${businessCode}x${channelCode}` : void 0;
73
+ const requestBody = {
74
+ business_code: businessCode || "",
75
+ channel_code: channelCode || "",
76
+ board_code: boardCode || "",
77
+ data
78
+ };
79
+ const url = "/tenant/setting";
80
+ return import_utils.request.getRequest().post(url, requestBody, {
81
+ headers: {
82
+ "Content-Type": "application/json"
83
+ }
84
+ });
85
+ };
86
+ // Annotate the CommonJS export names for ESM import in node:
87
+ 0 && (module.exports = {
88
+ getFormSettingParams,
89
+ getUrlParams,
90
+ saveFormSettingMeta,
91
+ updateTenantSettingFromUrl
92
+ });
@@ -0,0 +1,56 @@
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;
@@ -0,0 +1,8 @@
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;
@@ -105,6 +105,7 @@ var BaseTable = (props, ref) => {
105
105
  }, [dataSourceKey]);
106
106
  (0, import_react.useEffect)(() => {
107
107
  if (dataSourceKeyRef.current) {
108
+ if (dataSource == null ? void 0 : dataSource.fromSettingMeta) return;
108
109
  list == null ? void 0 : list.run(queryPageConfig);
109
110
  } else {
110
111
  list == null ? void 0 : list.mutate([]);
@@ -0,0 +1,27 @@
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,5 +1,5 @@
1
1
  declare const useDataSourceKey: () => {
2
- dataSourceKey: string | import("../../provider/dataSource/DataSourceContext").DataSourceType | undefined;
3
- dataSourceKeyRef: import("react").MutableRefObject<string | import("../../provider/dataSource/DataSourceContext").DataSourceType | undefined>;
2
+ dataSourceKey: string | undefined;
3
+ dataSourceKeyRef: import("react").MutableRefObject<string | undefined>;
4
4
  };
5
5
  export default useDataSourceKey;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ declare const useDrawerState: (operationContent?: {
3
+ [key: string]: React.ReactNode;
4
+ } | undefined) => any;
5
+ export default useDrawerState;
@@ -0,0 +1,101 @@
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;
@@ -0,0 +1,33 @@
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;
@@ -0,0 +1,85 @@
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
+ }
@@ -0,0 +1,17 @@
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;
@@ -0,0 +1,24 @@
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
+ };
@@ -0,0 +1,16 @@
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;
@@ -0,0 +1,25 @@
1
+ /**
2
+ * 获取nocobase数据列表
3
+ */
4
+ export declare const getCountryDataList: () => Promise<any>;
5
+ export declare const getShopCountryDataList: (locale?: any) => Promise<any>;
6
+ export interface Country {
7
+ id: number;
8
+ name: {
9
+ en: string;
10
+ 'zh-CN': string;
11
+ 'zh-HK': string;
12
+ original: string;
13
+ };
14
+ code: string;
15
+ calling_code: string;
16
+ currency_code: string;
17
+ sort: number;
18
+ status: string;
19
+ created_at: string;
20
+ updated_at: string;
21
+ prefix: string;
22
+ }
23
+ export declare const useCountries: () => {
24
+ data: Country[];
25
+ };
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  declare const Subdomain: React.FC<import("antd").InputProps & {
3
3
  onChange: (value: string) => void;
4
4
  onBlur?: ((e: React.FocusEvent<HTMLInputElement, Element>) => void) | undefined;
5
- rootDomain: "custom" | "xzero" | "saas";
5
+ rootDomain: "custom" | "saas" | "xzero";
6
6
  customDomain?: string | undefined;
7
7
  value?: string | undefined;
8
8
  tenantId: string;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { UploadProps } from './type';
3
+ import './index.less';
4
+ declare const BaseUpload: React.FC<UploadProps>;
5
+ export default BaseUpload;
@@ -0,0 +1,5 @@
1
+ declare const CameraPopover: (props: {
2
+ onLocalFileClick: () => void;
3
+ onCameraChange: (file: any) => void;
4
+ }) => JSX.Element;
5
+ export default CameraPopover;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const Upload: React.FC<import("./type").UploadProps & import("../../dataSourceForm/utils").WithModeProps & import("../../dataSourceForm/utils").WithFormItemProps>;
3
+ export default Upload;
@@ -0,0 +1,38 @@
1
+ import { UploadFile as AntdUploadFile } from 'antd/es/upload/interface';
2
+ import type { UploadValue, UploadChangeHandler } from './types';
3
+ export interface UploadFile extends AntdUploadFile {
4
+ metadata?: {
5
+ width?: number;
6
+ height?: number;
7
+ duration?: number;
8
+ bitrate?: number;
9
+ };
10
+ }
11
+ export interface UploadProps {
12
+ renderMode?: string;
13
+ fieldKey: string;
14
+ maxSize?: number;
15
+ minCount?: number;
16
+ maxCount?: number;
17
+ multiple?: boolean;
18
+ presetType?: string[];
19
+ presetTypeString?: string[];
20
+ customType?: string[];
21
+ enablePresetType?: boolean;
22
+ enableCustomType?: boolean;
23
+ allowPreview?: boolean;
24
+ value?: UploadValue;
25
+ typeMaxSizeMap?: Record<string, number>;
26
+ enableMultilingual?: boolean;
27
+ onChange?: UploadChangeHandler;
28
+ disabled?: boolean;
29
+ mediaUploadUrl?: string;
30
+ getHeaders?: () => Record<string, string>;
31
+ mediaConfig?: {
32
+ data: {
33
+ upload_onetime_limit: number;
34
+ upload_maxsize: number;
35
+ };
36
+ };
37
+ allowCamera?: boolean;
38
+ }
@@ -15,4 +15,4 @@ export declare const getFileMetadataParams: (file: RcFile & {
15
15
  metadata?: MediaMetadata;
16
16
  }) => Record<string, any>;
17
17
  export declare const isValueEqual: (value: any, fileListValue: any) => boolean;
18
- export declare const getBaseTime: (size: number) => 1000 | 2000 | 4000 | 8000;
18
+ export declare const getBaseTime: (size: number) => 2000 | 1000 | 4000 | 8000;
@@ -19,7 +19,7 @@ declare const formFieldMap: {
19
19
  Subdomain: import("react").FC<import("antd").InputProps & {
20
20
  onChange: (value: string) => void;
21
21
  onBlur?: ((e: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
22
- rootDomain: "custom" | "xzero" | "saas";
22
+ rootDomain: "custom" | "saas" | "xzero";
23
23
  customDomain?: string | undefined;
24
24
  value?: string | undefined;
25
25
  tenantId: string;
@@ -59,7 +59,13 @@ declare const formFieldMap: {
59
59
  FormItemTranslation: import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
60
60
  FormItemIconSelect: import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
61
61
  };
62
- declare const getFieldComponent: (fieldComponent: string) => (import("react").FC<import("./Input/type").InputProps> & {
62
+ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<any> | import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps> | (import("react").FC<{}> & {
63
+ Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
64
+ } & {
65
+ Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
66
+ }) | import("react").FC<import("./ColorPicker/type").ColorPickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<(import("antd").DatePickerProps & import("../dataSourceForm/utils").WithModeProps) & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & {
67
+ onChange: (value: string) => void;
68
+ } & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Phone/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Mobile/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<import("./Input/type").InputProps> & {
63
69
  JSON: import("react").FC<any>;
64
70
  Password: import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
65
71
  TextArea: import("react").FC<import("antd/es/input").TextAreaProps & import("react").RefAttributes<import("antd/es/input/TextArea").TextAreaRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
@@ -72,18 +78,14 @@ declare const getFieldComponent: (fieldComponent: string) => (import("react").FC
72
78
  Subdomain: import("react").FC<import("antd").InputProps & {
73
79
  onChange: (value: string) => void;
74
80
  onBlur?: ((e: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
75
- rootDomain: "custom" | "xzero" | "saas";
81
+ rootDomain: "custom" | "saas" | "xzero";
76
82
  customDomain?: string | undefined;
77
83
  value?: string | undefined;
78
84
  tenantId: string;
79
85
  name?: string | undefined;
80
86
  fieldKey?: string | undefined;
81
87
  } & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
82
- }) | import("react").FC<import("./TimePicker/type").TimePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<{}> & {
83
- Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
84
- } & {
85
- Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
86
- }) | import("react").FC<import("./ColorPicker/type").ColorPickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<(import("antd").DatePickerProps & import("../dataSourceForm/utils").WithModeProps) & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<{}> & {
88
+ }) | import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps> | (import("react").FC<{}> & {
87
89
  Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
88
90
  } & {
89
91
  Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
@@ -95,7 +97,5 @@ declare const getFieldComponent: (fieldComponent: string) => (import("react").FC
95
97
  extraParams?: Record<string, any> | undefined;
96
98
  } & {
97
99
  dataSource?: any;
98
- }) => JSX.Element) | import("react").FC<any> | import("react").FC<import("./Input.Phone/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Mobile/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & {
99
- onChange: (value: string) => void;
100
- } & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./DateRangePicker/type").DateRangePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Upload/type").UploadProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
100
+ }) => JSX.Element) | import("react").FC<import("./TimePicker/type").TimePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./DateRangePicker/type").DateRangePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Upload/type").UploadProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
101
101
  export { getFieldComponent, formFieldMap };