@pisell/materials 3.2.6 → 3.2.7

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 (413) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/meta.js +1 -1
  5. package/es/components/appVersionControl/types.d.ts +24 -0
  6. package/es/components/appVersionControl/utils.d.ts +13 -0
  7. package/es/components/auto-complete-number/index.d.ts +1 -0
  8. package/es/components/badge/index.d.ts +8 -0
  9. package/es/components/batch-editor/fields/index.d.ts +1 -0
  10. package/es/components/browserSelect/index.d.ts +21 -0
  11. package/es/components/buttonGroupPreview/index.d.ts +19 -0
  12. package/es/components/calendar/index.d.ts +1 -0
  13. package/es/components/cardPro/index.d.ts +4 -0
  14. package/es/components/checkbox/index.d.ts +3 -0
  15. package/es/components/classicLayout/index.d.ts +1 -0
  16. package/es/components/colorPicker/index.d.ts +4 -0
  17. package/es/components/config-provider/index.d.ts +8 -0
  18. package/es/components/cropPhoto/index.d.ts +3 -0
  19. package/es/components/customSelect/index.d.ts +17 -0
  20. package/es/components/dataSourceComponents/dataSourceForm/group/index.d.ts +20 -0
  21. package/es/components/dataSourceComponents/dataSourceForm/provider/formSetting/FormSettingContext.d.ts +15 -0
  22. package/es/components/dataSourceComponents/dataSourceForm/provider/formSetting/FormSettingProvider.d.ts +8 -0
  23. package/es/components/dataSourceComponents/dataSourceForm/provider/hooks/useFormSetting.d.ts +5 -0
  24. package/es/components/dataSourceComponents/dataSourceForm/provider/hooks/useJsonPrefixPath.d.ts +5 -0
  25. package/es/components/dataSourceComponents/dataSourceForm/provider/jsonWrapper/JsonWrapperContext.d.ts +6 -0
  26. package/es/components/dataSourceComponents/dataSourceForm/serve.d.ts +149 -0
  27. package/es/components/dataSourceComponents/dataSourceForm/type.d.ts +31 -0
  28. package/es/components/dataSourceComponents/dataSourceMenu/Basic.d.ts +8 -0
  29. package/es/components/dataSourceComponents/dataSourceMenu/index.d.ts +8 -0
  30. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +1 -0
  31. package/es/components/dataSourceComponents/dataSourceTable/hooks/usePagination.d.ts +16 -0
  32. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +1 -0
  33. package/es/components/dataSourceComponents/dataSourceTable/provider/tableSetting/TableSettingContext.d.ts +7 -0
  34. package/es/components/dataSourceComponents/dataSourceTable/provider/tableSetting/TableSettingProvider.d.ts +8 -0
  35. package/es/components/dataSourceComponents/dataSourceWrapper/BaseWrapper.d.ts +7 -0
  36. package/es/components/dataSourceComponents/fields/Checkbox/type.d.ts +9 -0
  37. package/es/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +5 -0
  38. package/es/components/dataSourceComponents/fields/ColorPicker/type.d.ts +5 -0
  39. package/es/components/dataSourceComponents/fields/DatePicker/ReadPretty.d.ts +5 -0
  40. package/es/components/dataSourceComponents/fields/DatePicker/type.d.ts +6 -0
  41. package/es/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +5 -0
  42. package/es/components/dataSourceComponents/fields/DateRangePicker/type.d.ts +4 -0
  43. package/es/components/dataSourceComponents/fields/IconSelect/ReadPretty.d.ts +5 -0
  44. package/es/components/dataSourceComponents/fields/IconSelect/type.d.ts +8 -0
  45. package/es/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +5 -0
  46. package/es/components/dataSourceComponents/fields/Input/type.d.ts +8 -0
  47. package/es/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +5 -0
  48. package/es/components/dataSourceComponents/fields/Input.Email/type.d.ts +5 -0
  49. package/es/components/dataSourceComponents/fields/Input.Json/type.d.ts +5 -0
  50. package/es/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +24 -0
  51. package/es/components/dataSourceComponents/fields/Input.Mobile/type.d.ts +5 -0
  52. package/es/components/dataSourceComponents/fields/Input.Password/type.d.ts +5 -0
  53. package/es/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +24 -0
  54. package/es/components/dataSourceComponents/fields/Input.Phone/type.d.ts +5 -0
  55. package/es/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +5 -0
  56. package/es/components/dataSourceComponents/fields/Input.Subdomain/serve.d.ts +11 -0
  57. package/es/components/dataSourceComponents/fields/Input.Subdomain/type.d.ts +5 -0
  58. package/es/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +5 -0
  59. package/es/components/dataSourceComponents/fields/Input.TextArea/type.d.ts +5 -0
  60. package/es/components/dataSourceComponents/fields/Input.Url/type.d.ts +5 -0
  61. package/es/components/dataSourceComponents/fields/InputNumber/ReadPretty.d.ts +5 -0
  62. package/es/components/dataSourceComponents/fields/InputNumber/type.d.ts +7 -0
  63. package/es/components/dataSourceComponents/fields/InputNumber/utils.d.ts +1 -0
  64. package/es/components/dataSourceComponents/fields/Radio/type.d.ts +8 -0
  65. package/es/components/dataSourceComponents/fields/Select/type.d.ts +5 -0
  66. package/es/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +5 -0
  67. package/es/components/dataSourceComponents/fields/TimePicker/type.d.ts +5 -0
  68. package/es/components/dataSourceComponents/fields/Translation/BaseTranslation.d.ts +5 -0
  69. package/es/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +5 -0
  70. package/es/components/dataSourceComponents/fields/Translation/type.d.ts +16 -0
  71. package/es/components/dataSourceComponents/fields/Upload/constants.d.ts +9 -0
  72. package/es/components/dataSourceComponents/fields/Upload/type.d.ts +37 -0
  73. package/es/components/dataSourceComponents/fields/Upload/types.d.ts +48 -0
  74. package/es/components/dataSourceComponents/fields/index.d.ts +7 -7
  75. package/es/components/dataSourceComponents/hooks/useComponentId.d.ts +2 -0
  76. package/es/components/dataSourceComponents/hooks/useCtxActions.d.ts +8 -0
  77. package/es/components/dataSourceComponents/hooks/useDataSource.d.ts +5 -0
  78. package/es/components/dataSourceComponents/hooks/useParseActionsVariable.d.ts +6 -0
  79. package/es/components/dataSourceComponents/hooks/usePlatform.d.ts +3 -0
  80. package/es/components/dataSourceComponents/hooks/useVariables.d.ts +2 -0
  81. package/es/components/dataSourceComponents/provider/actions/ActionsContext.d.ts +11 -0
  82. package/es/components/dataSourceComponents/provider/actions/ActionsProvider.d.ts +12 -0
  83. package/es/components/dataSourceComponents/provider/dataSource/DataSourceContext.d.ts +119 -0
  84. package/es/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +12 -0
  85. package/es/components/dataSourceComponents/provider/variables/utils.d.ts +12 -0
  86. package/es/components/dataSourceComponents/utils/index.d.ts +0 -0
  87. package/es/components/date-picker/constants.d.ts +39 -0
  88. package/es/components/date-picker/hooks/useMediaQuery.d.ts +2 -0
  89. package/es/components/drag-sort-tree/TreeItem/index.d.ts +1 -0
  90. package/es/components/dropdown/index.d.ts +1 -0
  91. package/es/components/filter/components/items/index.d.ts +1 -0
  92. package/es/components/filter/components/items/text/Editor/index.d.ts +1 -0
  93. package/es/components/filter/components/items/text/Preview/index.d.ts +1 -0
  94. package/es/components/filter/components/items/text/index.d.ts +1 -0
  95. package/es/components/iconSelect/utils.d.ts +14 -0
  96. package/es/components/iconfont/index.d.ts +8 -0
  97. package/es/components/image/index.d.ts +10 -0
  98. package/es/components/login-and-register/index.d.ts +82 -0
  99. package/es/components/organizationTenantSwitcher/index.d.ts +17 -0
  100. package/es/components/page-header/index.d.ts +14 -0
  101. package/es/components/pisellAnchor/index.d.ts +23 -0
  102. package/es/components/pisellAppCard/index.d.ts +3 -0
  103. package/es/components/pisellAppCard/types.d.ts +34 -0
  104. package/es/components/pisellDatePicker/datePickerCpt.d.ts +1 -0
  105. package/es/components/pisellDatePicker/index.d.ts +1 -0
  106. package/es/components/pisellDraggable/components/Action/Action.d.ts +10 -0
  107. package/es/components/pisellDraggable/components/Action/index.d.ts +2 -0
  108. package/es/components/pisellDraggable/components/Handle/Handle.d.ts +3 -0
  109. package/es/components/pisellDraggable/components/Handle/index.d.ts +1 -0
  110. package/es/components/pisellDraggable/components/Remove/Remove.d.ts +3 -0
  111. package/es/components/pisellDraggable/components/Remove/index.d.ts +1 -0
  112. package/es/components/pisellDraggable/components/TreeItem/SortableTreeItem.d.ts +9 -0
  113. package/es/components/pisellDraggable/components/TreeItem/TreeItem.d.ts +23 -0
  114. package/es/components/pisellDraggable/components/TreeItem/index.d.ts +2 -0
  115. package/es/components/pisellDraggable/components/index.d.ts +4 -0
  116. package/es/components/pisellDraggable/index.d.ts +32 -0
  117. package/es/components/pisellDraggable/types.d.ts +19 -0
  118. package/es/components/pisellDraggable/utilities.d.ts +17 -0
  119. package/es/components/pisellDropSort/PisellDropSort.d.ts +5 -0
  120. package/es/components/pisellDropSort/components/SortableItem/index.d.ts +25 -0
  121. package/es/components/pisellDropSort/index.d.ts +3 -0
  122. package/es/components/pisellDropSort/types.d.ts +52 -0
  123. package/es/components/pisellInformationEntry/Scan/index.d.ts +1 -0
  124. package/es/components/pisellInput/components/BankCard/index.d.ts +1 -0
  125. package/es/components/pisellInput/components/SecurityCode/index.d.ts +1 -0
  126. package/es/components/pisellLayout/content.d.ts +10 -0
  127. package/es/components/pisellLayout/footer.d.ts +8 -0
  128. package/es/components/pisellLayout/header.d.ts +10 -0
  129. package/es/components/pisellLayout/index.d.ts +14 -0
  130. package/es/components/pisellLayout/sider.d.ts +8 -0
  131. package/es/components/pisellMenu/PisellMenu.d.ts +9 -0
  132. package/es/components/pisellMenu/index.d.ts +3 -0
  133. package/es/components/pisellMenu/types.d.ts +26 -0
  134. package/es/components/pisellModal/components/Information/index.d.ts +21 -0
  135. package/es/components/pisellNavigationMenu/index.d.ts +3 -0
  136. package/es/components/pisellNavigationMenu/types.d.ts +64 -0
  137. package/es/components/pisellNavigationMenu/utils.d.ts +15 -0
  138. package/es/components/pisellQRScanner/index.d.ts +37 -0
  139. package/es/components/pisellQrcode/index.d.ts +10 -0
  140. package/es/components/pisellStatisticList/index.d.ts +21 -0
  141. package/es/components/pisellTags/index.d.ts +13 -0
  142. package/es/components/pisellTags/utils.d.ts +1 -0
  143. package/es/components/pisellTooltip/index.d.ts +1 -0
  144. package/es/components/pisellUpload/index.d.ts +11 -0
  145. package/es/components/pisellViewGrid/index.d.ts +16 -0
  146. package/es/components/profileMenu/index.d.ts +26 -0
  147. package/es/components/radio/index.d.ts +3 -0
  148. package/es/components/segmented/index.d.ts +1 -0
  149. package/es/components/select/index.d.ts +9 -0
  150. package/es/components/select-time/RightPanel/index.d.ts +1 -0
  151. package/es/components/select-time/index.d.ts +1 -0
  152. package/es/components/skeleton/index.d.ts +1 -0
  153. package/es/components/slider/index.d.ts +1 -0
  154. package/es/components/sort/components/InlineMenu/index.d.ts +1 -0
  155. package/es/components/table/Actions/component/ColumnsSetting/index.d.ts +1 -0
  156. package/es/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +1 -0
  157. package/es/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +1 -0
  158. package/es/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +1 -0
  159. package/es/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +1 -0
  160. package/es/components/table/Actions/component/Group/PopoverContent.d.ts +1 -0
  161. package/es/components/table/Actions/component/ViewMode/index.d.ts +1 -0
  162. package/es/components/table/Summary/index.d.ts +1 -0
  163. package/es/components/table/Table/fields/date/Config/index.d.ts +1 -0
  164. package/es/components/table/Table/fields/date/Sort/index.d.ts +1 -0
  165. package/es/components/table/Table/fields/image/Config/index.d.ts +1 -0
  166. package/es/components/table/Table/fields/image/Sort/index.d.ts +1 -0
  167. package/es/components/table/Table/fields/image/index.d.ts +1 -0
  168. package/es/components/table/Table/fields/link/Config/index.d.ts +1 -0
  169. package/es/components/table/Table/fields/link/Sort/index.d.ts +1 -0
  170. package/es/components/table/Table/fields/number/Config/index.d.ts +1 -0
  171. package/es/components/table/Table/fields/number/Sort/index.d.ts +1 -0
  172. package/es/components/table/Table/fields/numberRange/Config/index.d.ts +1 -0
  173. package/es/components/table/Table/fields/numberRange/Sort/index.d.ts +1 -0
  174. package/es/components/table/Table/fields/oldRangePicker/Config/index.d.ts +1 -0
  175. package/es/components/table/Table/fields/oldRangePicker/Show/index.d.ts +1 -0
  176. package/es/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +1 -0
  177. package/es/components/table/Table/fields/pSwitch/Config/index.d.ts +1 -0
  178. package/es/components/table/Table/fields/pSwitch/Sort/index.d.ts +1 -0
  179. package/es/components/table/Table/fields/pSwitch/index.d.ts +1 -0
  180. package/es/components/table/Table/fields/rangePicker/Config/index.d.ts +1 -0
  181. package/es/components/table/Table/fields/rangePicker/Show/index.d.ts +1 -0
  182. package/es/components/table/Table/fields/rangePicker/Sort/index.d.ts +1 -0
  183. package/es/components/table/Table/fields/search/Config/index.d.ts +1 -0
  184. package/es/components/table/Table/fields/search/Sort/index.d.ts +1 -0
  185. package/es/components/table/Table/fields/select/Config/index.d.ts +1 -0
  186. package/es/components/table/Table/fields/select/Show/index.d.ts +1 -0
  187. package/es/components/table/Table/fields/select/Sort/index.d.ts +1 -0
  188. package/es/components/table/Table/fields/text/Config/index.d.ts +1 -0
  189. package/es/components/table/Table/fields/text/Sort/index.d.ts +1 -0
  190. package/es/components/table/Table/fields/treeSelect/Config/index.d.ts +1 -0
  191. package/es/components/table/Table/fields/treeSelect/Show/index.d.ts +1 -0
  192. package/es/components/table/Table/fields/treeSelect/Sort/index.d.ts +1 -0
  193. package/es/components/table/Table/tableConfig/summary/index.d.ts +1 -0
  194. package/es/components/table/TableFilter/SortIcon.d.ts +1 -0
  195. package/es/components/table/Tabs/index.d.ts +14 -0
  196. package/es/components/table/utils.d.ts +14 -0
  197. package/es/components/tabs/index.d.ts +16 -0
  198. package/es/components/time-picker/index.d.ts +1 -0
  199. package/es/components/typography/index.d.ts +2 -0
  200. package/es/components/upload/index.d.ts +1 -0
  201. package/es/components/versionModal/index.d.ts +23 -0
  202. package/es/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +1 -0
  203. package/es/components/virtual-keyboard/Time/utils.d.ts +1 -0
  204. package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts +1 -0
  205. package/es/components/walletCard/Guest/index.d.ts +1 -0
  206. package/es/hooks/useEngineContext.d.ts +9 -0
  207. package/es/hooks/useSetRequest.d.ts +2 -0
  208. package/es/utils/mergeWith.d.ts +1 -0
  209. package/lib/components/appVersionControl/types.d.ts +24 -0
  210. package/lib/components/appVersionControl/utils.d.ts +13 -0
  211. package/lib/components/auto-complete-number/index.d.ts +1 -0
  212. package/lib/components/badge/index.d.ts +8 -0
  213. package/lib/components/batch-editor/fields/index.d.ts +1 -0
  214. package/lib/components/browserSelect/index.d.ts +21 -0
  215. package/lib/components/buttonGroupPreview/index.d.ts +19 -0
  216. package/lib/components/calendar/index.d.ts +1 -0
  217. package/lib/components/cardPro/index.d.ts +4 -0
  218. package/lib/components/checkbox/index.d.ts +3 -0
  219. package/lib/components/classicLayout/index.d.ts +1 -0
  220. package/lib/components/colorPicker/index.d.ts +4 -0
  221. package/lib/components/config-provider/index.d.ts +8 -0
  222. package/lib/components/cropPhoto/index.d.ts +3 -0
  223. package/lib/components/customSelect/index.d.ts +17 -0
  224. package/lib/components/dataSourceComponents/dataSourceForm/group/index.d.ts +20 -0
  225. package/lib/components/dataSourceComponents/dataSourceForm/provider/formSetting/FormSettingContext.d.ts +15 -0
  226. package/lib/components/dataSourceComponents/dataSourceForm/provider/formSetting/FormSettingProvider.d.ts +8 -0
  227. package/lib/components/dataSourceComponents/dataSourceForm/provider/hooks/useFormSetting.d.ts +5 -0
  228. package/lib/components/dataSourceComponents/dataSourceForm/provider/hooks/useJsonPrefixPath.d.ts +5 -0
  229. package/lib/components/dataSourceComponents/dataSourceForm/provider/jsonWrapper/JsonWrapperContext.d.ts +6 -0
  230. package/lib/components/dataSourceComponents/dataSourceForm/serve.d.ts +149 -0
  231. package/lib/components/dataSourceComponents/dataSourceForm/type.d.ts +31 -0
  232. package/lib/components/dataSourceComponents/dataSourceMenu/Basic.d.ts +8 -0
  233. package/lib/components/dataSourceComponents/dataSourceMenu/index.d.ts +8 -0
  234. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +1 -0
  235. package/lib/components/dataSourceComponents/dataSourceTable/hooks/usePagination.d.ts +16 -0
  236. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +1 -0
  237. package/lib/components/dataSourceComponents/dataSourceTable/provider/tableSetting/TableSettingContext.d.ts +7 -0
  238. package/lib/components/dataSourceComponents/dataSourceTable/provider/tableSetting/TableSettingProvider.d.ts +8 -0
  239. package/lib/components/dataSourceComponents/dataSourceWrapper/BaseWrapper.d.ts +7 -0
  240. package/lib/components/dataSourceComponents/fields/Checkbox/type.d.ts +9 -0
  241. package/lib/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +5 -0
  242. package/lib/components/dataSourceComponents/fields/ColorPicker/type.d.ts +5 -0
  243. package/lib/components/dataSourceComponents/fields/DatePicker/ReadPretty.d.ts +5 -0
  244. package/lib/components/dataSourceComponents/fields/DatePicker/type.d.ts +6 -0
  245. package/lib/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +5 -0
  246. package/lib/components/dataSourceComponents/fields/DateRangePicker/type.d.ts +4 -0
  247. package/lib/components/dataSourceComponents/fields/IconSelect/ReadPretty.d.ts +5 -0
  248. package/lib/components/dataSourceComponents/fields/IconSelect/type.d.ts +8 -0
  249. package/lib/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +5 -0
  250. package/lib/components/dataSourceComponents/fields/Input/type.d.ts +8 -0
  251. package/lib/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +5 -0
  252. package/lib/components/dataSourceComponents/fields/Input.Email/type.d.ts +5 -0
  253. package/lib/components/dataSourceComponents/fields/Input.Json/type.d.ts +5 -0
  254. package/lib/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +24 -0
  255. package/lib/components/dataSourceComponents/fields/Input.Mobile/type.d.ts +5 -0
  256. package/lib/components/dataSourceComponents/fields/Input.Password/type.d.ts +5 -0
  257. package/lib/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +24 -0
  258. package/lib/components/dataSourceComponents/fields/Input.Phone/type.d.ts +5 -0
  259. package/lib/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +5 -0
  260. package/lib/components/dataSourceComponents/fields/Input.Subdomain/serve.d.ts +11 -0
  261. package/lib/components/dataSourceComponents/fields/Input.Subdomain/type.d.ts +5 -0
  262. package/lib/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +5 -0
  263. package/lib/components/dataSourceComponents/fields/Input.TextArea/type.d.ts +5 -0
  264. package/lib/components/dataSourceComponents/fields/Input.Url/type.d.ts +5 -0
  265. package/lib/components/dataSourceComponents/fields/InputNumber/ReadPretty.d.ts +5 -0
  266. package/lib/components/dataSourceComponents/fields/InputNumber/type.d.ts +7 -0
  267. package/lib/components/dataSourceComponents/fields/InputNumber/utils.d.ts +1 -0
  268. package/lib/components/dataSourceComponents/fields/Radio/type.d.ts +8 -0
  269. package/lib/components/dataSourceComponents/fields/Select/type.d.ts +5 -0
  270. package/lib/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +5 -0
  271. package/lib/components/dataSourceComponents/fields/TimePicker/type.d.ts +5 -0
  272. package/lib/components/dataSourceComponents/fields/Translation/BaseTranslation.d.ts +5 -0
  273. package/lib/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +5 -0
  274. package/lib/components/dataSourceComponents/fields/Translation/type.d.ts +16 -0
  275. package/lib/components/dataSourceComponents/fields/Upload/constants.d.ts +9 -0
  276. package/lib/components/dataSourceComponents/fields/Upload/type.d.ts +37 -0
  277. package/lib/components/dataSourceComponents/fields/Upload/types.d.ts +48 -0
  278. package/lib/components/dataSourceComponents/fields/index.d.ts +7 -7
  279. package/lib/components/dataSourceComponents/hooks/useComponentId.d.ts +2 -0
  280. package/lib/components/dataSourceComponents/hooks/useCtxActions.d.ts +8 -0
  281. package/lib/components/dataSourceComponents/hooks/useDataSource.d.ts +5 -0
  282. package/lib/components/dataSourceComponents/hooks/useParseActionsVariable.d.ts +6 -0
  283. package/lib/components/dataSourceComponents/hooks/usePlatform.d.ts +3 -0
  284. package/lib/components/dataSourceComponents/hooks/useVariables.d.ts +2 -0
  285. package/lib/components/dataSourceComponents/provider/actions/ActionsContext.d.ts +11 -0
  286. package/lib/components/dataSourceComponents/provider/actions/ActionsProvider.d.ts +12 -0
  287. package/lib/components/dataSourceComponents/provider/dataSource/DataSourceContext.d.ts +119 -0
  288. package/lib/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +12 -0
  289. package/lib/components/dataSourceComponents/provider/variables/utils.d.ts +12 -0
  290. package/lib/components/dataSourceComponents/utils/index.d.ts +0 -0
  291. package/lib/components/date-picker/constants.d.ts +39 -0
  292. package/lib/components/date-picker/hooks/useMediaQuery.d.ts +2 -0
  293. package/lib/components/drag-sort-tree/TreeItem/index.d.ts +1 -0
  294. package/lib/components/dropdown/index.d.ts +1 -0
  295. package/lib/components/filter/components/items/index.d.ts +1 -0
  296. package/lib/components/filter/components/items/text/Editor/index.d.ts +1 -0
  297. package/lib/components/filter/components/items/text/Preview/index.d.ts +1 -0
  298. package/lib/components/filter/components/items/text/index.d.ts +1 -0
  299. package/lib/components/iconSelect/utils.d.ts +14 -0
  300. package/lib/components/iconfont/index.d.ts +8 -0
  301. package/lib/components/image/index.d.ts +10 -0
  302. package/lib/components/login-and-register/index.d.ts +82 -0
  303. package/lib/components/organizationTenantSwitcher/index.d.ts +17 -0
  304. package/lib/components/page-header/index.d.ts +14 -0
  305. package/lib/components/pisellAnchor/index.d.ts +23 -0
  306. package/lib/components/pisellAppCard/index.d.ts +3 -0
  307. package/lib/components/pisellAppCard/types.d.ts +34 -0
  308. package/lib/components/pisellDatePicker/datePickerCpt.d.ts +1 -0
  309. package/lib/components/pisellDatePicker/index.d.ts +1 -0
  310. package/lib/components/pisellDraggable/components/Action/Action.d.ts +10 -0
  311. package/lib/components/pisellDraggable/components/Action/index.d.ts +2 -0
  312. package/lib/components/pisellDraggable/components/Handle/Handle.d.ts +3 -0
  313. package/lib/components/pisellDraggable/components/Handle/index.d.ts +1 -0
  314. package/lib/components/pisellDraggable/components/Remove/Remove.d.ts +3 -0
  315. package/lib/components/pisellDraggable/components/Remove/index.d.ts +1 -0
  316. package/lib/components/pisellDraggable/components/TreeItem/SortableTreeItem.d.ts +9 -0
  317. package/lib/components/pisellDraggable/components/TreeItem/TreeItem.d.ts +23 -0
  318. package/lib/components/pisellDraggable/components/TreeItem/index.d.ts +2 -0
  319. package/lib/components/pisellDraggable/components/index.d.ts +4 -0
  320. package/lib/components/pisellDraggable/index.d.ts +32 -0
  321. package/lib/components/pisellDraggable/types.d.ts +19 -0
  322. package/lib/components/pisellDraggable/utilities.d.ts +17 -0
  323. package/lib/components/pisellDropSort/PisellDropSort.d.ts +5 -0
  324. package/lib/components/pisellDropSort/components/SortableItem/index.d.ts +25 -0
  325. package/lib/components/pisellDropSort/index.d.ts +3 -0
  326. package/lib/components/pisellDropSort/types.d.ts +52 -0
  327. package/lib/components/pisellInformationEntry/Scan/index.d.ts +1 -0
  328. package/lib/components/pisellInput/components/BankCard/index.d.ts +1 -0
  329. package/lib/components/pisellInput/components/SecurityCode/index.d.ts +1 -0
  330. package/lib/components/pisellLayout/content.d.ts +10 -0
  331. package/lib/components/pisellLayout/footer.d.ts +8 -0
  332. package/lib/components/pisellLayout/header.d.ts +10 -0
  333. package/lib/components/pisellLayout/index.d.ts +14 -0
  334. package/lib/components/pisellLayout/sider.d.ts +8 -0
  335. package/lib/components/pisellMenu/PisellMenu.d.ts +9 -0
  336. package/lib/components/pisellMenu/index.d.ts +3 -0
  337. package/lib/components/pisellMenu/types.d.ts +26 -0
  338. package/lib/components/pisellModal/components/Information/index.d.ts +21 -0
  339. package/lib/components/pisellNavigationMenu/index.d.ts +3 -0
  340. package/lib/components/pisellNavigationMenu/types.d.ts +64 -0
  341. package/lib/components/pisellNavigationMenu/utils.d.ts +15 -0
  342. package/lib/components/pisellQRScanner/index.d.ts +37 -0
  343. package/lib/components/pisellQrcode/index.d.ts +10 -0
  344. package/lib/components/pisellStatisticList/index.d.ts +21 -0
  345. package/lib/components/pisellTags/index.d.ts +13 -0
  346. package/lib/components/pisellTags/utils.d.ts +1 -0
  347. package/lib/components/pisellTooltip/index.d.ts +1 -0
  348. package/lib/components/pisellUpload/index.d.ts +11 -0
  349. package/lib/components/pisellViewGrid/index.d.ts +16 -0
  350. package/lib/components/profileMenu/index.d.ts +26 -0
  351. package/lib/components/radio/index.d.ts +3 -0
  352. package/lib/components/segmented/index.d.ts +1 -0
  353. package/lib/components/select/index.d.ts +9 -0
  354. package/lib/components/select-time/RightPanel/index.d.ts +1 -0
  355. package/lib/components/select-time/index.d.ts +1 -0
  356. package/lib/components/skeleton/index.d.ts +1 -0
  357. package/lib/components/slider/index.d.ts +1 -0
  358. package/lib/components/sort/components/InlineMenu/index.d.ts +1 -0
  359. package/lib/components/table/Actions/component/ColumnsSetting/index.d.ts +1 -0
  360. package/lib/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +1 -0
  361. package/lib/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +1 -0
  362. package/lib/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +1 -0
  363. package/lib/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +1 -0
  364. package/lib/components/table/Actions/component/Group/PopoverContent.d.ts +1 -0
  365. package/lib/components/table/Actions/component/ViewMode/index.d.ts +1 -0
  366. package/lib/components/table/Summary/index.d.ts +1 -0
  367. package/lib/components/table/Table/fields/date/Config/index.d.ts +1 -0
  368. package/lib/components/table/Table/fields/date/Sort/index.d.ts +1 -0
  369. package/lib/components/table/Table/fields/image/Config/index.d.ts +1 -0
  370. package/lib/components/table/Table/fields/image/Sort/index.d.ts +1 -0
  371. package/lib/components/table/Table/fields/image/index.d.ts +1 -0
  372. package/lib/components/table/Table/fields/link/Config/index.d.ts +1 -0
  373. package/lib/components/table/Table/fields/link/Sort/index.d.ts +1 -0
  374. package/lib/components/table/Table/fields/number/Config/index.d.ts +1 -0
  375. package/lib/components/table/Table/fields/number/Sort/index.d.ts +1 -0
  376. package/lib/components/table/Table/fields/numberRange/Config/index.d.ts +1 -0
  377. package/lib/components/table/Table/fields/numberRange/Sort/index.d.ts +1 -0
  378. package/lib/components/table/Table/fields/oldRangePicker/Config/index.d.ts +1 -0
  379. package/lib/components/table/Table/fields/oldRangePicker/Show/index.d.ts +1 -0
  380. package/lib/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +1 -0
  381. package/lib/components/table/Table/fields/pSwitch/Config/index.d.ts +1 -0
  382. package/lib/components/table/Table/fields/pSwitch/Sort/index.d.ts +1 -0
  383. package/lib/components/table/Table/fields/pSwitch/index.d.ts +1 -0
  384. package/lib/components/table/Table/fields/rangePicker/Config/index.d.ts +1 -0
  385. package/lib/components/table/Table/fields/rangePicker/Show/index.d.ts +1 -0
  386. package/lib/components/table/Table/fields/rangePicker/Sort/index.d.ts +1 -0
  387. package/lib/components/table/Table/fields/search/Config/index.d.ts +1 -0
  388. package/lib/components/table/Table/fields/search/Sort/index.d.ts +1 -0
  389. package/lib/components/table/Table/fields/select/Config/index.d.ts +1 -0
  390. package/lib/components/table/Table/fields/select/Show/index.d.ts +1 -0
  391. package/lib/components/table/Table/fields/select/Sort/index.d.ts +1 -0
  392. package/lib/components/table/Table/fields/text/Config/index.d.ts +1 -0
  393. package/lib/components/table/Table/fields/text/Sort/index.d.ts +1 -0
  394. package/lib/components/table/Table/fields/treeSelect/Config/index.d.ts +1 -0
  395. package/lib/components/table/Table/fields/treeSelect/Show/index.d.ts +1 -0
  396. package/lib/components/table/Table/fields/treeSelect/Sort/index.d.ts +1 -0
  397. package/lib/components/table/Table/tableConfig/summary/index.d.ts +1 -0
  398. package/lib/components/table/TableFilter/SortIcon.d.ts +1 -0
  399. package/lib/components/table/Tabs/index.d.ts +14 -0
  400. package/lib/components/table/utils.d.ts +14 -0
  401. package/lib/components/tabs/index.d.ts +16 -0
  402. package/lib/components/time-picker/index.d.ts +1 -0
  403. package/lib/components/typography/index.d.ts +2 -0
  404. package/lib/components/upload/index.d.ts +1 -0
  405. package/lib/components/versionModal/index.d.ts +23 -0
  406. package/lib/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +1 -0
  407. package/lib/components/virtual-keyboard/Time/utils.d.ts +1 -0
  408. package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +1 -0
  409. package/lib/components/walletCard/Guest/index.d.ts +1 -0
  410. package/lib/hooks/useEngineContext.d.ts +9 -0
  411. package/lib/hooks/useSetRequest.d.ts +2 -0
  412. package/lib/utils/mergeWith.d.ts +1 -0
  413. package/package.json +3 -3
@@ -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,5 @@
1
+ import { InputProps as AntInputProps } from 'antd';
2
+ import { ModeType } from "../../dataSourceForm/type";
3
+ export interface InputProps extends AntInputProps {
4
+ renderMode: ModeType;
5
+ }
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { InputProps } from './type';
3
+ import './ReadPretty.less';
4
+ declare const InputReadPretty: (props: InputProps) => JSX.Element;
5
+ export default InputReadPretty;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * 获取nocobase数据列表 获取域名后缀
3
+ */
4
+ export declare const getTenantData: (id: string) => Promise<TenantData>;
5
+ export interface TenantData {
6
+ 'saas.domain': string;
7
+ }
8
+ /**
9
+ * 自定义 Hook,用于获取租户数据
10
+ */
11
+ export declare const useTenantData: (rootDomain: string, tenantId?: string) => TenantData | undefined;
@@ -0,0 +1,5 @@
1
+ import { InputProps as AntInputProps } from 'antd';
2
+ import { ModeType } from "../../dataSourceForm/type";
3
+ export interface InputProps extends AntInputProps {
4
+ renderMode: ModeType;
5
+ }
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { TextAreaProps } from "./type";
3
+ import "./ReadPretty.less";
4
+ declare const TextAreaReadPretty: (props: TextAreaProps) => JSX.Element;
5
+ export default TextAreaReadPretty;
@@ -0,0 +1,5 @@
1
+ import { TextAreaProps as AntTextAreaProps } from 'antd/es/input/TextArea';
2
+ import { ModeType } from "../../dataSourceForm/type";
3
+ export interface TextAreaProps extends AntTextAreaProps {
4
+ renderMode: ModeType;
5
+ }
@@ -0,0 +1,5 @@
1
+ import { InputProps as AntInputProps } from 'antd';
2
+ import { ModeType } from "../../dataSourceForm/type";
3
+ export interface UrlProps extends AntInputProps {
4
+ renderMode: ModeType;
5
+ }
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { InputNumberProps } from './type';
3
+ import './ReadPretty.less';
4
+ declare const ReadPretty: React.FC<InputNumberProps>;
5
+ export default ReadPretty;
@@ -0,0 +1,7 @@
1
+ import { InputNumberProps as AntInputNumberProps } from "antd/es/input-number";
2
+ import { ModeType } from "../../dataSourceForm/type";
3
+ export interface InputNumberProps extends AntInputNumberProps {
4
+ renderMode: ModeType;
5
+ useThousandsSeparator: boolean;
6
+ previewFormatter?: 'none' | 'thousand' | 'million' | 'billion';
7
+ }
@@ -0,0 +1 @@
1
+ export declare const formatNumberWithUnit: (value: number, precision?: number, previewFormatter?: 'none' | 'thousand' | 'million' | 'billion') => string;
@@ -0,0 +1,8 @@
1
+ import { RadioProps as AntRadioProps, RadioGroupProps as AntRadioGroupProps } from 'antd';
2
+ import { ModeType } from "../../dataSourceForm/type";
3
+ export interface RadioProps extends AntRadioProps {
4
+ renderMode: ModeType;
5
+ }
6
+ export interface RadioGroupProps extends AntRadioGroupProps {
7
+ renderMode: ModeType;
8
+ }
@@ -0,0 +1,5 @@
1
+ import { SelectProps as AntSelectProps } from 'antd';
2
+ import { ModeType } from "../../dataSourceForm/type";
3
+ export interface SelectProps extends AntSelectProps {
4
+ renderMode: ModeType;
5
+ }
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { TimePickerProps } from './type';
3
+ import './ReadPretty.less';
4
+ declare const TimePickerReadPretty: (props: TimePickerProps) => JSX.Element;
5
+ export default TimePickerReadPretty;
@@ -0,0 +1,5 @@
1
+ import { TimePickerProps as AntTimePickerProps } from 'antd';
2
+ import { ModeType } from "../../dataSourceForm/type";
3
+ export interface TimePickerProps extends Omit<AntTimePickerProps, 'renderMode'> {
4
+ renderMode: ModeType;
5
+ }
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { TranslationProps } from './type';
3
+ import './index.less';
4
+ declare const Translation: React.FC<TranslationProps>;
5
+ export default Translation;
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { TranslationProps } from './type';
3
+ import './ReadPretty.less';
4
+ declare const TranslationReadPretty: (props: TranslationProps) => JSX.Element;
5
+ export default TranslationReadPretty;
@@ -0,0 +1,16 @@
1
+ import { ModeType } from "../../dataSourceForm/type";
2
+ export interface TranslationValue {
3
+ en: string;
4
+ 'zh-CN': string;
5
+ 'zh-HK': string;
6
+ original: string;
7
+ }
8
+ export interface TranslationProps {
9
+ renderMode: ModeType;
10
+ value?: TranslationValue;
11
+ onChange?: (value: TranslationValue) => void;
12
+ disabled?: boolean;
13
+ placeholder?: string;
14
+ className?: string;
15
+ type?: 'text' | 'textarea';
16
+ }
@@ -0,0 +1,9 @@
1
+ export declare const SUPPORTED_LANGUAGES: readonly ["original", "en", "zh-CN", "zh-HK"];
2
+ export declare const DEFAULT_MAX_COUNT = 9;
3
+ export declare const DEFAULT_UID = "-1";
4
+ export declare const MEDIA_TYPES: {
5
+ readonly VIDEO: "video/";
6
+ readonly AUDIO: "audio/";
7
+ };
8
+ export declare const IMAGE_QUALITY = 0.8;
9
+ export declare const IMAGE_TYPE = "image/jpeg";
@@ -0,0 +1,37 @@
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
+ }
@@ -0,0 +1,48 @@
1
+ import type { UploadFile } from 'antd/es/upload/interface';
2
+ import { SUPPORTED_LANGUAGES } from './constants';
3
+ export declare type Language = typeof SUPPORTED_LANGUAGES[number];
4
+ export interface MediaMetadata {
5
+ width?: number;
6
+ height?: number;
7
+ duration?: number;
8
+ bitrate?: number;
9
+ cover?: File;
10
+ }
11
+ export interface FileCountValidation {
12
+ multiple: boolean;
13
+ minCount: number;
14
+ maxCount: number;
15
+ valueLength: number;
16
+ }
17
+ export interface ValidationResult {
18
+ success: boolean;
19
+ message?: string;
20
+ }
21
+ export interface MultilingualFile extends UploadFile {
22
+ multilingual?: SingleMultilingualValue;
23
+ multilingualFileList?: Record<Language, UploadFile[]>;
24
+ response?: {
25
+ status: boolean;
26
+ data: {
27
+ url: string;
28
+ };
29
+ };
30
+ }
31
+ export interface FileListOptions {
32
+ enableMultilingual: boolean;
33
+ multiple: boolean;
34
+ }
35
+ export declare type SingleUploadValue = string;
36
+ export declare type MultipleUploadValue = string[];
37
+ export declare type SingleMultilingualValue = Record<Language, string>;
38
+ export declare type MultipleMultilingualValue = SingleMultilingualValue[];
39
+ export declare type UploadValue = SingleUploadValue | MultipleUploadValue | SingleMultilingualValue | MultipleMultilingualValue;
40
+ export interface MultilingualUploadResponse {
41
+ status: boolean;
42
+ data: {
43
+ url: string;
44
+ };
45
+ }
46
+ export declare type UploadChangeHandler = (value: UploadValue) => void;
47
+ export declare type NonNullMultilingualValue = NonNullable<SingleMultilingualValue>;
48
+ export declare type NonNullMultilingualArray = NonNullMultilingualValue[];
@@ -60,7 +60,11 @@ 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("./Input/type").InputProps> & {
63
+ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<any> | import("react").FC<import("./Upload/type").UploadProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | (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("./Input/type").InputProps> & {
64
68
  JSON: import("react").FC<any>;
65
69
  Password: import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
66
70
  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>;
@@ -80,11 +84,7 @@ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
80
84
  name?: string | undefined;
81
85
  fieldKey?: string | undefined;
82
86
  } & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
83
- }) | import("react").FC<(import("antd").DatePickerProps & import("../dataSourceForm/utils").WithModeProps) & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps> | (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<{}> & {
87
+ }) | (import("react").FC<{}> & {
88
88
  Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
89
89
  } & {
90
90
  Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
@@ -98,5 +98,5 @@ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
98
98
  dataSource?: any;
99
99
  }) => JSX.Element) | import("react").FC<import("./TimePicker/type").TimePickerProps & 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("antd").InputProps & {
100
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("./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
+ } & 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("./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,2 @@
1
+ declare const useComponentId: (props: Record<string, any>) => any;
2
+ export default useComponentId;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * 组件上下文中操作的provider
3
+ * visible
4
+ * setVisible
5
+ * @returns
6
+ */
7
+ declare const useCtxActions: () => import("../provider/actions/ActionsContext").ActionsContextType;
8
+ export default useCtxActions;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * 获取当前dataSource
3
+ */
4
+ declare const useDataSource: () => import("../provider/dataSource/DataSourceContext").DataSourceContextType;
5
+ export default useDataSource;
@@ -0,0 +1,6 @@
1
+ import { Collection } from '../dataSourceForm/serve';
2
+ declare type Actions = Collection['actions'];
3
+ declare const useParseActionsVariable: () => {
4
+ parseActions: (actions: Actions, localVariables: Record<string, any>) => Record<string, any>;
5
+ };
6
+ export default useParseActionsVariable;
@@ -0,0 +1,3 @@
1
+ declare const usePlatform: () => any;
2
+ declare const useIsShop: () => boolean;
3
+ export { usePlatform, useIsShop };
@@ -0,0 +1,2 @@
1
+ declare const useVariables: () => import("../provider/variables/VariablesContext").VariablesContextType;
2
+ export default useVariables;
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ export interface ActionsContextType {
3
+ visible?: boolean;
4
+ setVisible?: (visible: boolean) => void;
5
+ refreshTableData?: () => void;
6
+ onClose?: () => void;
7
+ beforeClose?: () => boolean | Promise<boolean>;
8
+ setBeforeClose?: (beforeClose: () => boolean | Promise<boolean>) => void;
9
+ }
10
+ declare const ActionsContext: import("react").Context<ActionsContextType>;
11
+ export default ActionsContext;
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import { ActionsContextType } from './ActionsContext';
3
+ interface ActionsProviderProps extends ActionsContextType {
4
+ children: React.ReactNode;
5
+ }
6
+ /**
7
+ * 自定义请求的provider
8
+ * @param props
9
+ * @constructor
10
+ */
11
+ declare const ActionsProvider: React.FC<ActionsProviderProps>;
12
+ export default ActionsProvider;
@@ -0,0 +1,119 @@
1
+ /// <reference types="react" />
2
+ import { Result } from 'ahooks/es/useRequest/src/types';
3
+ import { ActionsItem } from '../../dataSourceForm/serve';
4
+ export interface Field {
5
+ name: string;
6
+ type: string;
7
+ allowNull: boolean;
8
+ primaryKey: boolean;
9
+ unique: boolean;
10
+ autoIncrement: boolean;
11
+ description?: (null | string)[];
12
+ possibleTypes?: string[];
13
+ rawType: string;
14
+ interface: string;
15
+ uiSchema: UiSchema;
16
+ key?: string;
17
+ collectionName?: string;
18
+ collectionKey?: any;
19
+ dataSourceKey?: string;
20
+ defaultValue?: any;
21
+ }
22
+ interface UiSchema {
23
+ type?: string;
24
+ 'x-component': string;
25
+ 'x-component-props'?: Xcomponentprops;
26
+ 'x-validator'?: string;
27
+ title: string;
28
+ default?: any;
29
+ enum?: any[];
30
+ }
31
+ interface Xcomponentprops {
32
+ style?: Style;
33
+ autoSize?: AutoSize;
34
+ stringMode?: boolean;
35
+ step?: string;
36
+ dateFormat?: string;
37
+ showTime?: boolean;
38
+ }
39
+ interface AutoSize {
40
+ minRows: number;
41
+ }
42
+ interface Style {
43
+ width: string;
44
+ }
45
+ export declare type ActionTypes = 'list' | 'get' | 'update' | 'create' | 'destroy';
46
+ export declare type DataSourceType = {
47
+ actions: {
48
+ get: ActionsItem;
49
+ update: ActionsItem;
50
+ create: ActionsItem;
51
+ delete: ActionsItem;
52
+ list: ActionsItem;
53
+ };
54
+ headerDataSource: string;
55
+ dataSourceKey: string;
56
+ filterTargetKey: string;
57
+ introspected: boolean;
58
+ isCustomApi: boolean;
59
+ key: string;
60
+ tableName: string;
61
+ logging: boolean;
62
+ name: string;
63
+ title: string;
64
+ titleField: string;
65
+ types: ActionTypes[];
66
+ fields: Field[];
67
+ options: {
68
+ apiType: string;
69
+ baseUrl: string;
70
+ };
71
+ };
72
+ export declare type DataSourceContextProps = {
73
+ dataSource: DataSourceType;
74
+ children?: React.ReactNode;
75
+ currentValue?: string;
76
+ actions?: {
77
+ list?: () => Promise<any>;
78
+ get?: () => Promise<any>;
79
+ update?: () => Promise<any>;
80
+ create?: () => Promise<any>;
81
+ destroy?: () => Promise<any>;
82
+ };
83
+ requestOptions?: {
84
+ list?: any;
85
+ get?: any;
86
+ update?: any;
87
+ create?: any;
88
+ destroy?: any;
89
+ };
90
+ overrideData?: {
91
+ list?: any;
92
+ get?: any;
93
+ };
94
+ autoRun?: {
95
+ list?: boolean;
96
+ get?: boolean;
97
+ };
98
+ extraParams?: {
99
+ list?: Record<string, any>;
100
+ get?: Record<string, any>;
101
+ update?: Record<string, any>;
102
+ create?: Record<string, any>;
103
+ destroy?: Record<string, any>;
104
+ };
105
+ __id?: string;
106
+ __designMode?: string;
107
+ };
108
+ export interface DataSourceContextType {
109
+ dataSource?: DataSourceType;
110
+ list: Result<any, any>;
111
+ destroy: Result<any, any>;
112
+ get: Result<any, any>;
113
+ update: Result<any, any>;
114
+ create: Result<any, any>;
115
+ __designMode?: string;
116
+ getCurrentRecord: () => any;
117
+ }
118
+ export declare const DataSourceContext: import("react").Context<DataSourceContextType>;
119
+ export default DataSourceContext;
@@ -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,12 @@
1
+ export declare const genComponentValueVariable: (componentId: string, value: Record<string, any>) => {
2
+ [x: string]: {
3
+ value: Record<string, any>;
4
+ };
5
+ };
6
+ export declare const genComponentFunctionVariable: (componentId: string, value: Record<string, any>) => {
7
+ [x: string]: {
8
+ functions: Record<string, any>;
9
+ };
10
+ };
11
+ export declare const isVariableKey: (key: string) => boolean;
12
+ export declare const getVariableKey: (str: string) => string | undefined;
@@ -0,0 +1,39 @@
1
+ import dayjs from 'dayjs';
2
+ export declare const presetDetailMap: {
3
+ today: {
4
+ getValue: () => dayjs.Dayjs;
5
+ label: () => any;
6
+ };
7
+ yesterday: {
8
+ getValue: () => dayjs.Dayjs;
9
+ label: () => any;
10
+ };
11
+ tomorrow: {
12
+ getValue: () => dayjs.Dayjs;
13
+ label: () => any;
14
+ };
15
+ next_monday: {
16
+ getValue: () => dayjs.Dayjs;
17
+ label: () => any;
18
+ };
19
+ last_friday: {
20
+ getValue: () => dayjs.Dayjs;
21
+ label: () => any;
22
+ };
23
+ first_day_of_this_month: {
24
+ getValue: () => dayjs.Dayjs;
25
+ label: () => any;
26
+ };
27
+ last_day_of_this_month: {
28
+ getValue: () => dayjs.Dayjs;
29
+ label: () => any;
30
+ };
31
+ first_day_of_next_month: {
32
+ getValue: () => dayjs.Dayjs;
33
+ label: () => any;
34
+ };
35
+ last_day_of_last_month: {
36
+ getValue: () => dayjs.Dayjs;
37
+ label: () => any;
38
+ };
39
+ };
@@ -0,0 +1,2 @@
1
+ declare const useMediaQuery: (query: string) => boolean;
2
+ export default useMediaQuery;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  import { ValueProps, SortType } from '../types';
3
4
  declare type IdType = string | number;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Dropdown: (props: any) => JSX.Element;
2
3
  export default Dropdown;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const fieldMaps: {
2
3
  text: {
3
4
  field: {
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Text: () => JSX.Element;
2
3
  export default Text;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Text: (props: any) => JSX.Element;
2
3
  export default Text;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: {
2
3
  field: {
3
4
  field_icon: string;
@@ -0,0 +1,14 @@
1
+ export declare type IconGroup = 'outlined' | 'filled' | 'two-tone' | 'iconfont';
2
+ export declare function get(obj: any, path: string, defaultValue?: any): any;
3
+ export declare function getAntdIconList(): ({
4
+ name: any;
5
+ group: "filled" | "outlined" | "two-tone";
6
+ icon: any;
7
+ } | null)[];
8
+ interface IconItem {
9
+ name: string;
10
+ group: IconGroup;
11
+ icon: any;
12
+ }
13
+ export declare function getIconList(): IconItem[];
14
+ export {};
@@ -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;
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import type { ImageProps as AntdImageProps } from 'antd';
3
+ export interface ImageProps extends Omit<AntdImageProps, 'placeholder'> {
4
+ /**
5
+ * 占位图类型
6
+ */
7
+ fallbackType?: 'image' | 'avatar' | 'product';
8
+ }
9
+ declare const Image: React.FC<ImageProps>;
10
+ export default Image;