@pisell/materials 6.4.18 → 6.4.20

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 (387) 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 +7 -7
  6. package/build/lowcode/preview.js +145 -145
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +21 -21
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +22 -22
  11. package/es/components/appVersionControl/index.d.ts +5 -0
  12. package/es/components/auto-complete-number/index.d.ts +0 -1
  13. package/es/components/badge/index.d.ts +0 -1
  14. package/es/components/batch-editor/fields/index.d.ts +0 -1
  15. package/es/components/calendar/index.d.ts +0 -1
  16. package/es/components/cardPro/index.d.ts +0 -1
  17. package/es/components/checkbox/index.d.ts +0 -1
  18. package/es/components/classicLayout/index.d.ts +0 -1
  19. package/es/components/colorPicker/index.d.ts +0 -1
  20. package/es/components/config-provider/index.d.ts +0 -1
  21. package/es/components/dataSourceComponents/dataSourceForm/BaseForm.d.ts +3 -0
  22. package/es/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +39 -0
  23. package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts +56 -0
  24. package/es/components/dataSourceComponents/dataSourceForm/utils.js +3 -1
  25. package/es/components/dataSourceComponents/dataSourceTable/BaseTable.d.ts +8 -0
  26. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +2 -2
  27. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +39 -0
  28. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +100 -0
  29. package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +84 -0
  30. package/es/components/dataSourceComponents/fields/Input.Mobile/serve.js +2 -0
  31. package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  32. package/es/components/dataSourceComponents/fields/Upload/index.d.ts +3 -0
  33. package/es/components/dataSourceComponents/fields/Upload/index.js +4 -3
  34. package/es/components/dataSourceComponents/fields/index.d.ts +11 -11
  35. package/es/components/dataSourceComponents/hooks/useActions.d.ts +18 -0
  36. package/es/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +12 -0
  37. package/es/components/dataSourceComponents/provider/variables/VariablesProvider.d.ts +4 -0
  38. package/es/components/drag-sort-tree/index.d.ts +4 -0
  39. package/es/components/dropdown/index.d.ts +0 -1
  40. package/es/components/filter/components/items/index.d.ts +0 -1
  41. package/es/components/filter/components/items/text/Editor/index.d.ts +0 -1
  42. package/es/components/filter/components/items/text/Preview/index.d.ts +0 -1
  43. package/es/components/filter/components/items/text/index.d.ts +0 -1
  44. package/es/components/iconfont/index.d.ts +8 -0
  45. package/es/components/iconfont/index.js +1 -1
  46. package/es/components/login-and-register/index.d.ts +82 -0
  47. package/es/components/page/index.d.ts +5 -0
  48. package/es/components/pisell-config-provider/index.d.ts +13 -0
  49. package/es/components/pisell-config-provider/index.js +0 -1
  50. package/es/components/pisellAdjustPrice/index.d.ts +0 -1
  51. package/es/components/pisellCard/index.d.ts +0 -1
  52. package/es/components/pisellCardList/index.d.ts +107 -0
  53. package/es/components/pisellCardList/index.js +5 -1
  54. package/es/components/pisellDatePicker/datePickerCpt.d.ts +0 -1
  55. package/es/components/pisellInformationEntry/Scan/index.d.ts +0 -1
  56. package/es/components/pisellInput/components/BankCard/index.d.ts +0 -1
  57. package/es/components/pisellInput/components/Copy/index.d.ts +0 -1
  58. package/es/components/pisellInput/components/SecurityCode/index.d.ts +0 -1
  59. package/es/components/pisellInput/index.d.ts +0 -1
  60. package/es/components/pisellQrcode/index.d.ts +10 -0
  61. package/es/components/pisellText/components/Editable/index.d.ts +29 -0
  62. package/es/components/pisellText/components/Editable/index.js +130 -0
  63. package/es/components/pisellText/components/Editable/index.less +40 -0
  64. package/es/components/pisellText/index.d.ts +9 -0
  65. package/es/components/pisellText/index.js +2 -0
  66. package/es/components/pisellToast/squareToast/index.d.ts +15 -0
  67. package/es/components/pisellTooltip/index.d.ts +0 -1
  68. package/es/components/pisellUpload/index.d.ts +0 -1
  69. package/es/components/pisellWalletPassCard/index.d.ts +140 -0
  70. package/es/components/pisellWalletPassCard/index.js +17 -4
  71. package/es/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +0 -1
  72. package/es/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -1
  73. package/es/components/productCard/cartSkuCard/components/Note/index.d.ts +0 -1
  74. package/es/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +27 -0
  75. package/es/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -1
  76. package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +3 -0
  77. package/es/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -1
  78. package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
  79. package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -1
  80. package/es/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -1
  81. package/es/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -1
  82. package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -1
  83. package/es/components/productCard/cartSkuCard/index.d.ts +10 -0
  84. package/es/components/productCard/cartSkuCard/locales.d.ts +96 -0
  85. package/es/components/productCard/components/Action/index.d.ts +0 -1
  86. package/es/components/productCard/components/Divider/index.d.ts +0 -1
  87. package/es/components/productCard/components/Header/DeleteButton/index.d.ts +3 -0
  88. package/es/components/productCard/components/Header/index.d.ts +0 -1
  89. package/es/components/productCard/components/Packages/utils.d.ts +1 -1
  90. package/es/components/productCard/components/Sales/index.d.ts +0 -1
  91. package/es/components/productCard/components/Time/components/Like/index.d.ts +0 -1
  92. package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +4 -0
  93. package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -1
  94. package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +1 -0
  95. package/es/components/productCard/components/Time/index.d.ts +4 -0
  96. package/es/components/productCard/index.d.ts +7 -0
  97. package/es/components/productCard/status.d.ts +32 -0
  98. package/es/components/productCard/types.d.ts +84 -0
  99. package/es/components/productCard/utils.d.ts +31 -0
  100. package/es/components/productCard/utils.js +1 -8
  101. package/es/components/radio/index.d.ts +0 -1
  102. package/es/components/segmented/index.d.ts +0 -1
  103. package/es/components/select/index.d.ts +9 -0
  104. package/es/components/select/index.js +4 -2
  105. package/es/components/select-time/RightPanel/index.d.ts +0 -1
  106. package/es/components/skeleton/index.d.ts +0 -1
  107. package/es/components/slider/index.d.ts +0 -1
  108. package/es/components/sort/components/InlineMenu/index.d.ts +0 -1
  109. package/es/components/sortableList/index.js +2 -1
  110. package/es/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +0 -1
  111. package/es/components/table/Actions/component/ExportImport/components/ExportTable/function.js +9 -1
  112. package/es/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +0 -1
  113. package/es/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +0 -1
  114. package/es/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +0 -1
  115. package/es/components/table/Actions/component/ExportImport/index.d.ts +1 -0
  116. package/es/components/table/Actions/component/ExportImport/index.js +55 -27
  117. package/es/components/table/Actions/component/Group/index.d.ts +1 -0
  118. package/es/components/table/Actions/component/ViewMode/index.d.ts +0 -1
  119. package/es/components/table/Gallery/components/GalleryItem/index.d.ts +14 -0
  120. package/es/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
  121. package/es/components/table/Gallery/index.d.ts +5 -0
  122. package/es/components/table/Summary/index.d.ts +0 -1
  123. package/es/components/table/Table/fields/date/Config/index.d.ts +0 -1
  124. package/es/components/table/Table/fields/date/Sort/index.d.ts +0 -1
  125. package/es/components/table/Table/fields/image/Config/index.d.ts +0 -1
  126. package/es/components/table/Table/fields/image/Sort/index.d.ts +0 -1
  127. package/es/components/table/Table/fields/index.d.ts +2 -2
  128. package/es/components/table/Table/fields/link/Config/index.d.ts +0 -1
  129. package/es/components/table/Table/fields/link/Sort/index.d.ts +0 -1
  130. package/es/components/table/Table/fields/number/Config/index.d.ts +0 -1
  131. package/es/components/table/Table/fields/number/Sort/index.d.ts +0 -1
  132. package/es/components/table/Table/fields/numberRange/Config/index.d.ts +0 -1
  133. package/es/components/table/Table/fields/numberRange/Sort/index.d.ts +0 -1
  134. package/es/components/table/Table/fields/oldRangePicker/Config/index.d.ts +0 -1
  135. package/es/components/table/Table/fields/oldRangePicker/Show/index.d.ts +0 -1
  136. package/es/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +0 -1
  137. package/es/components/table/Table/fields/pSwitch/Config/index.d.ts +0 -1
  138. package/es/components/table/Table/fields/pSwitch/Sort/index.d.ts +0 -1
  139. package/es/components/table/Table/fields/rangePicker/Config/index.d.ts +0 -1
  140. package/es/components/table/Table/fields/rangePicker/Show/index.d.ts +0 -1
  141. package/es/components/table/Table/fields/rangePicker/Sort/index.d.ts +0 -1
  142. package/es/components/table/Table/fields/search/Config/index.d.ts +0 -1
  143. package/es/components/table/Table/fields/search/Sort/index.d.ts +0 -1
  144. package/es/components/table/Table/fields/select/Config/index.d.ts +0 -1
  145. package/es/components/table/Table/fields/select/Show/index.d.ts +0 -1
  146. package/es/components/table/Table/fields/select/Sort/index.d.ts +0 -1
  147. package/es/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
  148. package/es/components/table/Table/fields/text/Config/index.d.ts +0 -1
  149. package/es/components/table/Table/fields/text/Sort/index.d.ts +0 -1
  150. package/es/components/table/Table/fields/treeSelect/Config/index.d.ts +0 -1
  151. package/es/components/table/Table/fields/treeSelect/Show/index.d.ts +0 -1
  152. package/es/components/table/Table/fields/treeSelect/Sort/index.d.ts +0 -1
  153. package/es/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
  154. package/es/components/table/Table/index.d.ts +4 -0
  155. package/es/components/table/Table/index.js +7 -3
  156. package/es/components/table/Table/tableConfig/summary/index.d.ts +0 -1
  157. package/es/components/table/Table/utils.d.ts +161 -0
  158. package/es/components/table/hooks/useTableSetting.d.ts +21 -0
  159. package/es/components/table/hooks/useTransColumns.d.ts +14 -0
  160. package/es/components/table/hooks/useTransColumns.js +1 -1
  161. package/es/components/table/hooks/useTransDataSource.d.ts +11 -0
  162. package/es/components/table/index.d.ts +4 -0
  163. package/es/components/table/index.js +3 -1
  164. package/es/components/table/serve.js +8 -0
  165. package/es/components/table/types.d.ts +268 -0
  166. package/es/components/tabs/index.js +9 -0
  167. package/es/components/time-picker/index.d.ts +0 -1
  168. package/es/components/translation/index.d.ts +14 -0
  169. package/es/components/upload/index.d.ts +0 -1
  170. package/es/components/versionModal/index.d.ts +23 -0
  171. package/es/components/virtual-keyboard/Number/index.d.ts +0 -1
  172. package/es/components/virtual-keyboard/Time/utils.d.ts +0 -1
  173. package/es/components/virtualInput/index.d.ts +24 -0
  174. package/es/components/walletCard/Guest/index.d.ts +0 -1
  175. package/es/components/walletCard/Guide/index.d.ts +0 -1
  176. package/es/components/walletCard/index.d.ts +11 -11
  177. package/es/components/walletCard/index.js +51 -40
  178. package/es/index.d.ts +145 -0
  179. package/es/locales/en-US.d.ts +308 -0
  180. package/es/locales/en-US.js +3 -2
  181. package/es/locales/zh-CN.d.ts +303 -0
  182. package/es/locales/zh-CN.js +2 -1
  183. package/es/locales/zh-TW.d.ts +303 -0
  184. package/es/locales/zh-TW.js +2 -1
  185. package/es/typings.d.ts +7 -1
  186. package/es/utils/index.d.ts +1 -1
  187. package/es/utils/platform.d.ts +1 -1
  188. package/lib/components/appVersionControl/index.d.ts +5 -0
  189. package/lib/components/auto-complete-number/index.d.ts +0 -1
  190. package/lib/components/badge/index.d.ts +0 -1
  191. package/lib/components/batch-editor/fields/index.d.ts +0 -1
  192. package/lib/components/calendar/index.d.ts +0 -1
  193. package/lib/components/cardPro/index.d.ts +0 -1
  194. package/lib/components/checkbox/index.d.ts +0 -1
  195. package/lib/components/classicLayout/index.d.ts +0 -1
  196. package/lib/components/colorPicker/index.d.ts +0 -1
  197. package/lib/components/config-provider/index.d.ts +0 -1
  198. package/lib/components/dataSourceComponents/dataSourceForm/BaseForm.d.ts +3 -0
  199. package/lib/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +39 -0
  200. package/lib/components/dataSourceComponents/dataSourceForm/utils.d.ts +56 -0
  201. package/lib/components/dataSourceComponents/dataSourceForm/utils.js +1 -1
  202. package/lib/components/dataSourceComponents/dataSourceTable/BaseTable.d.ts +8 -0
  203. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +2 -2
  204. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +39 -0
  205. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +100 -0
  206. package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +84 -0
  207. package/lib/components/dataSourceComponents/fields/Input.Mobile/serve.js +2 -0
  208. package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  209. package/lib/components/dataSourceComponents/fields/Upload/index.d.ts +3 -0
  210. package/lib/components/dataSourceComponents/fields/Upload/index.js +2 -1
  211. package/lib/components/dataSourceComponents/fields/index.d.ts +11 -11
  212. package/lib/components/dataSourceComponents/hooks/useActions.d.ts +18 -0
  213. package/lib/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +12 -0
  214. package/lib/components/dataSourceComponents/provider/variables/VariablesProvider.d.ts +4 -0
  215. package/lib/components/drag-sort-tree/index.d.ts +4 -0
  216. package/lib/components/dropdown/index.d.ts +0 -1
  217. package/lib/components/filter/components/items/index.d.ts +0 -1
  218. package/lib/components/filter/components/items/text/Editor/index.d.ts +0 -1
  219. package/lib/components/filter/components/items/text/Preview/index.d.ts +0 -1
  220. package/lib/components/filter/components/items/text/index.d.ts +0 -1
  221. package/lib/components/iconfont/index.d.ts +8 -0
  222. package/lib/components/iconfont/index.js +1 -1
  223. package/lib/components/login-and-register/index.d.ts +82 -0
  224. package/lib/components/page/index.d.ts +5 -0
  225. package/lib/components/pisell-config-provider/index.d.ts +13 -0
  226. package/lib/components/pisell-config-provider/index.js +0 -1
  227. package/lib/components/pisellAdjustPrice/index.d.ts +0 -1
  228. package/lib/components/pisellCard/index.d.ts +0 -1
  229. package/lib/components/pisellCardList/index.d.ts +107 -0
  230. package/lib/components/pisellCardList/index.js +5 -1
  231. package/lib/components/pisellDatePicker/datePickerCpt.d.ts +0 -1
  232. package/lib/components/pisellInformationEntry/Scan/index.d.ts +0 -1
  233. package/lib/components/pisellInput/components/BankCard/index.d.ts +0 -1
  234. package/lib/components/pisellInput/components/Copy/index.d.ts +0 -1
  235. package/lib/components/pisellInput/components/SecurityCode/index.d.ts +0 -1
  236. package/lib/components/pisellInput/index.d.ts +0 -1
  237. package/lib/components/pisellQrcode/index.d.ts +10 -0
  238. package/lib/components/pisellText/components/Editable/index.d.ts +29 -0
  239. package/lib/components/pisellText/components/Editable/index.js +139 -0
  240. package/lib/components/pisellText/components/Editable/index.less +40 -0
  241. package/lib/components/pisellText/index.d.ts +9 -0
  242. package/lib/components/pisellText/index.js +2 -0
  243. package/lib/components/pisellToast/squareToast/index.d.ts +15 -0
  244. package/lib/components/pisellTooltip/index.d.ts +0 -1
  245. package/lib/components/pisellUpload/index.d.ts +0 -1
  246. package/lib/components/pisellWalletPassCard/index.d.ts +140 -0
  247. package/lib/components/pisellWalletPassCard/index.js +12 -2
  248. package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +0 -1
  249. package/lib/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -1
  250. package/lib/components/productCard/cartSkuCard/components/Note/index.d.ts +0 -1
  251. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +27 -0
  252. package/lib/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -1
  253. package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +3 -0
  254. package/lib/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -1
  255. package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
  256. package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -1
  257. package/lib/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -1
  258. package/lib/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -1
  259. package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -1
  260. package/lib/components/productCard/cartSkuCard/index.d.ts +10 -0
  261. package/lib/components/productCard/cartSkuCard/locales.d.ts +96 -0
  262. package/lib/components/productCard/components/Action/index.d.ts +0 -1
  263. package/lib/components/productCard/components/Divider/index.d.ts +0 -1
  264. package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +3 -0
  265. package/lib/components/productCard/components/Header/index.d.ts +0 -1
  266. package/lib/components/productCard/components/Packages/utils.d.ts +1 -1
  267. package/lib/components/productCard/components/Sales/index.d.ts +0 -1
  268. package/lib/components/productCard/components/Time/components/Like/index.d.ts +0 -1
  269. package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +4 -0
  270. package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -1
  271. package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +1 -0
  272. package/lib/components/productCard/components/Time/index.d.ts +4 -0
  273. package/lib/components/productCard/index.d.ts +7 -0
  274. package/lib/components/productCard/status.d.ts +32 -0
  275. package/lib/components/productCard/types.d.ts +84 -0
  276. package/lib/components/productCard/utils.d.ts +31 -0
  277. package/lib/components/productCard/utils.js +1 -8
  278. package/lib/components/radio/index.d.ts +0 -1
  279. package/lib/components/segmented/index.d.ts +0 -1
  280. package/lib/components/select/index.d.ts +9 -0
  281. package/lib/components/select/index.js +7 -2
  282. package/lib/components/select-time/RightPanel/index.d.ts +0 -1
  283. package/lib/components/skeleton/index.d.ts +0 -1
  284. package/lib/components/slider/index.d.ts +0 -1
  285. package/lib/components/sort/components/InlineMenu/index.d.ts +0 -1
  286. package/lib/components/sortableList/index.js +2 -2
  287. package/lib/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +0 -1
  288. package/lib/components/table/Actions/component/ExportImport/components/ExportTable/function.js +7 -1
  289. package/lib/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +0 -1
  290. package/lib/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +0 -1
  291. package/lib/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +0 -1
  292. package/lib/components/table/Actions/component/ExportImport/index.d.ts +1 -0
  293. package/lib/components/table/Actions/component/ExportImport/index.js +37 -25
  294. package/lib/components/table/Actions/component/Group/index.d.ts +1 -0
  295. package/lib/components/table/Actions/component/ViewMode/index.d.ts +0 -1
  296. package/lib/components/table/Gallery/components/GalleryItem/index.d.ts +14 -0
  297. package/lib/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
  298. package/lib/components/table/Gallery/index.d.ts +5 -0
  299. package/lib/components/table/Summary/index.d.ts +0 -1
  300. package/lib/components/table/Table/fields/date/Config/index.d.ts +0 -1
  301. package/lib/components/table/Table/fields/date/Sort/index.d.ts +0 -1
  302. package/lib/components/table/Table/fields/image/Config/index.d.ts +0 -1
  303. package/lib/components/table/Table/fields/image/Sort/index.d.ts +0 -1
  304. package/lib/components/table/Table/fields/index.d.ts +2 -2
  305. package/lib/components/table/Table/fields/link/Config/index.d.ts +0 -1
  306. package/lib/components/table/Table/fields/link/Sort/index.d.ts +0 -1
  307. package/lib/components/table/Table/fields/number/Config/index.d.ts +0 -1
  308. package/lib/components/table/Table/fields/number/Sort/index.d.ts +0 -1
  309. package/lib/components/table/Table/fields/numberRange/Config/index.d.ts +0 -1
  310. package/lib/components/table/Table/fields/numberRange/Sort/index.d.ts +0 -1
  311. package/lib/components/table/Table/fields/oldRangePicker/Config/index.d.ts +0 -1
  312. package/lib/components/table/Table/fields/oldRangePicker/Show/index.d.ts +0 -1
  313. package/lib/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +0 -1
  314. package/lib/components/table/Table/fields/pSwitch/Config/index.d.ts +0 -1
  315. package/lib/components/table/Table/fields/pSwitch/Sort/index.d.ts +0 -1
  316. package/lib/components/table/Table/fields/rangePicker/Config/index.d.ts +0 -1
  317. package/lib/components/table/Table/fields/rangePicker/Show/index.d.ts +0 -1
  318. package/lib/components/table/Table/fields/rangePicker/Sort/index.d.ts +0 -1
  319. package/lib/components/table/Table/fields/search/Config/index.d.ts +0 -1
  320. package/lib/components/table/Table/fields/search/Sort/index.d.ts +0 -1
  321. package/lib/components/table/Table/fields/select/Config/index.d.ts +0 -1
  322. package/lib/components/table/Table/fields/select/Show/index.d.ts +0 -1
  323. package/lib/components/table/Table/fields/select/Sort/index.d.ts +0 -1
  324. package/lib/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
  325. package/lib/components/table/Table/fields/text/Config/index.d.ts +0 -1
  326. package/lib/components/table/Table/fields/text/Sort/index.d.ts +0 -1
  327. package/lib/components/table/Table/fields/treeSelect/Config/index.d.ts +0 -1
  328. package/lib/components/table/Table/fields/treeSelect/Show/index.d.ts +0 -1
  329. package/lib/components/table/Table/fields/treeSelect/Sort/index.d.ts +0 -1
  330. package/lib/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
  331. package/lib/components/table/Table/index.d.ts +4 -0
  332. package/lib/components/table/Table/index.js +8 -4
  333. package/lib/components/table/Table/tableConfig/summary/index.d.ts +0 -1
  334. package/lib/components/table/Table/utils.d.ts +161 -0
  335. package/lib/components/table/hooks/useTableSetting.d.ts +21 -0
  336. package/lib/components/table/hooks/useTransColumns.d.ts +14 -0
  337. package/lib/components/table/hooks/useTransColumns.js +1 -1
  338. package/lib/components/table/hooks/useTransDataSource.d.ts +11 -0
  339. package/lib/components/table/index.d.ts +4 -0
  340. package/lib/components/table/index.js +3 -1
  341. package/lib/components/table/serve.js +8 -0
  342. package/lib/components/table/types.d.ts +268 -0
  343. package/lib/components/tabs/index.js +5 -0
  344. package/lib/components/time-picker/index.d.ts +0 -1
  345. package/lib/components/translation/index.d.ts +14 -0
  346. package/lib/components/upload/index.d.ts +0 -1
  347. package/lib/components/versionModal/index.d.ts +23 -0
  348. package/lib/components/virtual-keyboard/Number/index.d.ts +0 -1
  349. package/lib/components/virtual-keyboard/Time/utils.d.ts +0 -1
  350. package/lib/components/virtualInput/index.d.ts +24 -0
  351. package/lib/components/walletCard/Guest/index.d.ts +0 -1
  352. package/lib/components/walletCard/Guide/index.d.ts +0 -1
  353. package/lib/components/walletCard/index.d.ts +11 -11
  354. package/lib/components/walletCard/index.js +47 -29
  355. package/lib/index.d.ts +145 -0
  356. package/lib/locales/en-US.d.ts +308 -0
  357. package/lib/locales/en-US.js +3 -2
  358. package/lib/locales/zh-CN.d.ts +303 -0
  359. package/lib/locales/zh-CN.js +2 -1
  360. package/lib/locales/zh-TW.d.ts +303 -0
  361. package/lib/locales/zh-TW.js +2 -1
  362. package/lib/typings.d.ts +7 -1
  363. package/lib/utils/index.d.ts +1 -1
  364. package/lib/utils/platform.d.ts +1 -1
  365. package/lowcode/pisell-text.editable/meta.ts +115 -0
  366. package/lowcode/pisell-text.editable/snippets.ts +15 -0
  367. package/lowcode/sortable-list/meta.ts +1 -1
  368. package/lowcode/wallet-card/meta.ts +16 -14
  369. package/package.json +4 -4
  370. package/es/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +0 -25
  371. package/es/components/dataSourceComponents/hooks/usePlatform.d.ts +0 -5
  372. package/es/components/drag-sort-tree/TreeItem/index.d.ts +0 -18
  373. package/es/components/pisellAdjustPrice/status.d.ts +0 -32
  374. package/es/components/pisellQRScanner/index.d.ts +0 -24
  375. package/es/components/virtual-keyboard/Amount/themeConfig.d.ts +0 -32
  376. package/es/components/virtual-keyboard/Keyboard/index.d.ts +0 -21
  377. package/es/components/virtual-keyboard/Number/themeConfig.d.ts +0 -32
  378. package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -13
  379. package/lib/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +0 -25
  380. package/lib/components/dataSourceComponents/hooks/usePlatform.d.ts +0 -5
  381. package/lib/components/drag-sort-tree/TreeItem/index.d.ts +0 -18
  382. package/lib/components/pisellAdjustPrice/status.d.ts +0 -32
  383. package/lib/components/pisellQRScanner/index.d.ts +0 -24
  384. package/lib/components/virtual-keyboard/Amount/themeConfig.d.ts +0 -32
  385. package/lib/components/virtual-keyboard/Keyboard/index.d.ts +0 -21
  386. package/lib/components/virtual-keyboard/Number/themeConfig.d.ts +0 -32
  387. package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -13
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { AppVersionControlProps } from './types';
3
+ import './index.less';
4
+ declare const AppVersionControl: (props: AppVersionControlProps) => JSX.Element;
5
+ export default AppVersionControl;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { AutoCompleteProps, InputNumberProps } from "antd";
3
2
  interface AutoCompleteNumberProps {
4
3
  autoCompleteProps: AutoCompleteProps;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { BadgeProps as OriginalBadgeprops } from 'antd';
3
2
  import './index.less';
4
3
  export interface Badgeprops extends OriginalBadgeprops {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: {
3
2
  price: import("react").FC<import("./Price").PriceProps>;
4
3
  image: (props: import("./Image").ImageProps) => JSX.Element | null;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Calendar: (props: any) => JSX.Element;
3
2
  export default Calendar;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const _default: (props: any) => JSX.Element;
4
3
  export default _default;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Checkbox: (props: any) => JSX.Element;
3
2
  export default Checkbox;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const ClassicLayout: (props: any) => JSX.Element;
4
3
  export default ClassicLayout;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ColorPickerProps } from 'antd';
3
2
  declare const ColorPicker: (props: ColorPickerProps) => JSX.Element;
4
3
  export default ColorPicker;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ConfigProviderProps as OriginalConfigProviderProps } from "antd/es/config-provider";
3
2
  import "dayjs/locale/zh-cn";
4
3
  export interface ConfigProviderProps extends OriginalConfigProviderProps {
@@ -0,0 +1,3 @@
1
+ import './index.less';
2
+ declare const _default: any;
3
+ export default _default;
@@ -0,0 +1,39 @@
1
+ import React from 'react';
2
+ import { ButtonProps } from 'antd';
3
+ import './index.less';
4
+ export interface SubmitButtonProps extends ButtonProps {
5
+ status: 'normal' | 'disabled' | 'hidden';
6
+ children: React.ReactNode;
7
+ childrenString?: string;
8
+ confirmConfig?: {
9
+ enable: boolean;
10
+ title: string;
11
+ content: string;
12
+ icon: React.ReactNode;
13
+ okText: string;
14
+ cancelText: string;
15
+ };
16
+ toastConfig?: {
17
+ enable: boolean;
18
+ icon: React.ReactNode;
19
+ title: string;
20
+ showAfterSubmit?: boolean;
21
+ };
22
+ refreshData?: boolean;
23
+ afterSubmitType?: 'none' | 'close' | 'showModal' | 'showNotification';
24
+ afterSubmitModalConfig?: {
25
+ title: string;
26
+ content: string;
27
+ okText: string;
28
+ onOk?: () => void;
29
+ };
30
+ afterSubmitNotificationConfig?: {
31
+ title: string;
32
+ content: string;
33
+ icon: React.ReactNode;
34
+ duration: number;
35
+ placement: 'top' | 'topLeft' | 'topRight' | 'bottom' | 'bottomLeft' | 'bottomRight';
36
+ };
37
+ }
38
+ declare const SubmitButton: (props: SubmitButtonProps) => JSX.Element | null;
39
+ export default SubmitButton;
@@ -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;
@@ -446,7 +446,7 @@ var withFormItem = (WrappedComponent, overlayProps) => {
446
446
  rules
447
447
  });
448
448
  }
449
- return { ...otherProps || {}, ...(overlayProps == null ? void 0 : overlayProps.otherFormItemProps) || {} };
449
+ return { ...otherProps || {}, ...(overlayProps == null ? void 0 : overlayProps.otherFormItemProps) || {}, onChange: void 0 };
450
450
  }, [overlayProps == null ? void 0 : overlayProps.otherFormItemProps, otherProps]);
451
451
  return /* @__PURE__ */ import_react.default.createElement(
452
452
  import_form.default.Item,
@@ -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;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  declare const useDataSourceKey: () => {
3
- dataSourceKey: string | import("../../provider/dataSource/DataSourceContext").DataSourceType | undefined;
4
- dataSourceKeyRef: import("react").MutableRefObject<string | import("../../provider/dataSource/DataSourceContext").DataSourceType | undefined>;
3
+ dataSourceKey: string | undefined;
4
+ dataSourceKeyRef: import("react").MutableRefObject<string | undefined>;
5
5
  };
6
6
  export default useDataSourceKey;
@@ -0,0 +1,39 @@
1
+ /// <reference types="react" />
2
+ import { Drawer } from 'antd';
3
+ import { OperationItem } from '../type';
4
+ declare const useDrawerState: (operationContent?: {
5
+ [key: string]: import("react").ReactNode;
6
+ } | undefined) => {
7
+ drawerVisible: boolean;
8
+ setDrawerVisible: import("react").Dispatch<import("react").SetStateAction<boolean>>;
9
+ openDrawer: (item: OperationItem) => void;
10
+ closeDrawer: () => void;
11
+ drawerContent: import("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;
@@ -0,0 +1,100 @@
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: "link" | "button";
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
+ extraParams?: {
92
+ list?: Record<string, any> | undefined;
93
+ get?: Record<string, any> | undefined;
94
+ update?: Record<string, any> | undefined;
95
+ create?: Record<string, any> | undefined;
96
+ destroy?: Record<string, any> | undefined;
97
+ } | undefined;
98
+ localSettings?: import("../../../table/types").LocalSettingsType | undefined;
99
+ };
100
+ export default useTableProps;
@@ -0,0 +1,84 @@
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
+ extraParams?: {
77
+ list?: Record<string, any>;
78
+ get?: Record<string, any>;
79
+ update?: Record<string, any>;
80
+ create?: Record<string, any>;
81
+ destroy?: Record<string, any>;
82
+ };
83
+ localSettings?: LocalSettingsType;
84
+ }
@@ -69,12 +69,14 @@ var useCountries = () => {
69
69
  manual: true
70
70
  });
71
71
  (0, import_react.useEffect)(() => {
72
+ debugger;
72
73
  if (!isShop) {
73
74
  run();
74
75
  }
75
76
  }, [isShop]);
76
77
  const currentData = (0, import_react.useMemo)(() => {
77
78
  var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
79
+ debugger;
78
80
  if (isShop) {
79
81
  const codeList = (_d = (_c = (_b = (_a = appHelper == null ? void 0 : appHelper.utils) == null ? void 0 : _a.store) == null ? void 0 : _b.getState()) == null ? void 0 : _c.global) == null ? void 0 : _d.codeList;
80
82
  if (codeList) {
@@ -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" | "saas" | "xzero";
5
+ rootDomain: "custom" | "xzero" | "saas";
6
6
  customDomain?: string | undefined;
7
7
  value?: string | undefined;
8
8
  tenantId: string;
@@ -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;
@@ -55,8 +55,9 @@ var Upload = (0, import_utils.withFormItem)(import_WithMode.default, {
55
55
  }
56
56
  }
57
57
  };
58
+ return { rules: [...(others == null ? void 0 : others.rules) || [], rule] };
58
59
  }
59
- return { rules: [...(others == null ? void 0 : others.rules) || [], rule] };
60
+ return {};
60
61
  }
61
62
  });
62
63
  var Upload_default = Upload;
@@ -20,7 +20,7 @@ declare const formFieldMap: {
20
20
  Subdomain: import("react").FC<import("antd").InputProps & {
21
21
  onChange: (value: string) => void;
22
22
  onBlur?: ((e: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
23
- rootDomain: "custom" | "saas" | "xzero";
23
+ rootDomain: "custom" | "xzero" | "saas";
24
24
  customDomain?: string | undefined;
25
25
  value?: string | undefined;
26
26
  tenantId: string;
@@ -60,13 +60,7 @@ declare const formFieldMap: {
60
60
  FormItemTranslation: import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
61
61
  FormItemIconSelect: import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
62
62
  };
63
- declare const getFieldComponent: (fieldComponent: string) => import("react").FC<any> | import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps> | (import("react").FC<{}> & {
64
- Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
65
- } & {
66
- Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
67
- }) | 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 & {
68
- onChange: (value: string) => void;
69
- } & 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
+ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<any> | (import("react").FC<import("./Input/type").InputProps> & {
70
64
  JSON: import("react").FC<any>;
71
65
  Password: import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
72
66
  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>;
@@ -79,14 +73,18 @@ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
79
73
  Subdomain: import("react").FC<import("antd").InputProps & {
80
74
  onChange: (value: string) => void;
81
75
  onBlur?: ((e: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
82
- rootDomain: "custom" | "saas" | "xzero";
76
+ rootDomain: "custom" | "xzero" | "saas";
83
77
  customDomain?: string | undefined;
84
78
  value?: string | undefined;
85
79
  tenantId: string;
86
80
  name?: string | undefined;
87
81
  fieldKey?: string | undefined;
88
82
  } & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
89
- }) | import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps> | (import("react").FC<{}> & {
83
+ }) | import("react").FC<import("./TimePicker/type").TimePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<{}> & {
84
+ Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
85
+ } & {
86
+ Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
87
+ }) | 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<{}> & {
90
88
  Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
91
89
  } & {
92
90
  Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
@@ -98,5 +96,7 @@ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
98
96
  extraParams?: Record<string, any> | undefined;
99
97
  } & {
100
98
  dataSource?: any;
101
- }) => 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>;
99
+ }) => JSX.Element) | 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 & {
100
+ onChange: (value: string) => void;
101
+ } & 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>;
102
102
  export { getFieldComponent, formFieldMap };
@@ -0,0 +1,18 @@
1
+ import { DataSourceType } from '../provider/dataSource/DataSourceContext';
2
+ export interface UseActionsParams {
3
+ dataSource?: DataSourceType;
4
+ currentValue?: 'server' | 'local';
5
+ __designMode?: string;
6
+ extraParams?: Record<string, any>;
7
+ }
8
+ declare const useActions: ({ dataSource: propsDataSource, currentValue: propsCurrentValue, __designMode, extraParams: propsExtraParams, }?: UseActionsParams) => {
9
+ create: (values: Record<string, any>) => Promise<any>;
10
+ get: () => Promise<any>;
11
+ update: (values: Record<string, any>) => Promise<any>;
12
+ list: (params: {
13
+ page: number;
14
+ pageSize: number;
15
+ }) => Promise<any>;
16
+ destroy: (id: string) => Promise<any>;
17
+ };
18
+ export default useActions;
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ export interface VariablesContextType {
3
+ children?: React.ReactNode;
4
+ variables?: Record<string, any>;
5
+ registerVariable?: (value: Record<string, any>) => void;
6
+ parseVariable?: (str: string, localVariables?: Record<string, any>) => any;
7
+ registerValueVariable?: (componentId: string, value: Record<string, any>) => void;
8
+ registerFunctionVariable?: (componentId: string, value: Record<string, any>) => void;
9
+ subscribeVariables?: (listener: (allVariables: Record<string, any>, updateVariables: Record<string, any>) => void) => () => void;
10
+ }
11
+ export declare const VariablesContext: import("react").Context<VariablesContextType>;
12
+ export default VariablesContext;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { VariablesContextType } from './VariablesContext';
3
+ declare const VariablesProvider: React.FC<VariablesContextType>;
4
+ export default VariablesProvider;
@@ -0,0 +1,4 @@
1
+ import './index.less';
2
+ import { SortType } from './types';
3
+ declare const DragSortTree: (props: SortType) => JSX.Element;
4
+ export default DragSortTree;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Dropdown: (props: any) => JSX.Element;
3
2
  export default Dropdown;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const fieldMaps: {
3
2
  text: {
4
3
  field: {
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Text: () => JSX.Element;
3
2
  export default Text;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Text: (props: any) => JSX.Element;
3
2
  export default Text;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: {
3
2
  field: {
4
3
  field_icon: string;
@@ -0,0 +1,8 @@
1
+ import { IconComponentProps } from '@ant-design/icons/es/components/Icon';
2
+ import React from 'react';
3
+ interface IconFontProps extends IconComponentProps {
4
+ type: string;
5
+ onClick?: React.MouseEventHandler<HTMLSpanElement>;
6
+ }
7
+ declare const IconFont: React.FC<IconFontProps>;
8
+ export default IconFont;
@@ -35,7 +35,7 @@ module.exports = __toCommonJS(iconfont_exports);
35
35
  var import_icons = require("@ant-design/icons");
36
36
  var import_react = __toESM(require("react"));
37
37
  var MyIcon = (0, import_icons.createFromIconfontCN)({
38
- scriptUrl: "https://static.pisellcdn.com/pisell2iconfont1.16.js"
38
+ scriptUrl: "https://static.pisellcdn.com/pisell2iconfont1.20.js"
39
39
  // 在 iconfont.cn 上生成
40
40
  });
41
41
  var IconFont = (props) => {