@pisell/materials 1.0.1054 → 1.0.1056

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 (478) 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/build/lowcode/render/default/view.css +1 -1
  6. package/build/lowcode/render/default/view.js +4 -4
  7. package/build/lowcode/view.css +1 -1
  8. package/build/lowcode/view.js +4 -4
  9. package/es/components/dataSourceComponents/dataSourceSubForm/index.js +18 -5
  10. package/es/components/dataSourceComponents/dataSourceSubForm/schema-full-example.json +38 -32
  11. package/es/components/dataSourceComponents/fields/RecordListWrapper/WithMode.js +58 -26
  12. package/es/components/dataSourceComponents/fields/Tabs/Tabs.d.ts +23 -0
  13. package/es/components/dataSourceComponents/fields/Tabs/Tabs.js +1 -1
  14. package/es/components/dataSourceComponents/fields/Tabs/Tabs.less +2 -1
  15. package/es/components/pisellRecordBoard/shellFrame/ToolBar/index.js +6 -2
  16. package/lib/components/dataSourceComponents/dataSourceSubForm/index.js +16 -3
  17. package/lib/components/dataSourceComponents/dataSourceSubForm/schema-full-example.json +38 -32
  18. package/lib/components/dataSourceComponents/fields/RecordListWrapper/WithMode.js +49 -21
  19. package/lib/components/dataSourceComponents/fields/Tabs/Tabs.d.ts +23 -0
  20. package/lib/components/dataSourceComponents/fields/Tabs/Tabs.js +1 -1
  21. package/lib/components/dataSourceComponents/fields/Tabs/Tabs.less +2 -1
  22. package/lib/components/pisellRecordBoard/shellFrame/ToolBar/index.js +7 -1
  23. package/lowcode/data-source-form/utils.ts +3 -0
  24. package/package.json +1 -1
  25. package/es/components/Pagination/index.d.ts +0 -12
  26. package/es/components/PisellCards/components/GraphicTextCard/GraphicTextCard.stories.d.ts +0 -163
  27. package/es/components/PisellFields/index.d.ts +0 -36
  28. package/es/components/PisellLayouts/index.d.ts +0 -32
  29. package/es/components/PisellMetrics/index.d.ts +0 -23
  30. package/es/components/PisellTabbar/PisellTabbar.d.ts +0 -20
  31. package/es/components/PisellTabbar/template/Template1/PisellTabbar.d.ts +0 -5
  32. package/es/components/appVersionControl/index.d.ts +0 -4
  33. package/es/components/cardMetricItem/index.d.ts +0 -15
  34. package/es/components/dataSourceComponents/dataSourceForm/BaseForm.d.ts +0 -3
  35. package/es/components/dataSourceComponents/dataSourceForm/serve.d.ts +0 -178
  36. package/es/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +0 -39
  37. package/es/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +0 -8
  38. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -5
  39. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +0 -101
  40. package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -85
  41. package/es/components/dataSourceComponents/fields/DatePicker/WithMode.d.ts +0 -7
  42. package/es/components/dataSourceComponents/fields/DatePicker/index.d.ts +0 -11
  43. package/es/components/dataSourceComponents/fields/RecordListWrapper/type.d.ts +0 -87
  44. package/es/components/dataSourceComponents/fields/Translation/BaseTranslation.d.ts +0 -5
  45. package/es/components/dataSourceComponents/fields/Translation/type.d.ts +0 -21
  46. package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +0 -18
  47. package/es/components/dataSourceComponents/provider/variables/VariablesProvider.d.ts +0 -4
  48. package/es/components/filter/components/Dropdown/index.d.ts +0 -9
  49. package/es/components/filter/components/FilterButton/index.d.ts +0 -4
  50. package/es/components/filter/components/FilterItem/AsyncOptionsSelectWrapper.d.ts +0 -21
  51. package/es/components/filter/components/FilterItem/index.d.ts +0 -5
  52. package/es/components/page/index.d.ts +0 -8
  53. package/es/components/pisellAdjustPrice/index.d.ts +0 -4
  54. package/es/components/pisellBatchActionBar/PisellBatchActionBar.d.ts +0 -31
  55. package/es/components/pisellCardList/index.d.ts +0 -107
  56. package/es/components/pisellCheckboxGroup/index.d.ts +0 -40
  57. package/es/components/pisellCurrency/PisellCurrency.d.ts +0 -39
  58. package/es/components/pisellCurrency/PisellCurrency.stories.d.ts +0 -56
  59. package/es/components/pisellCurrency/components/DisabledView.d.ts +0 -11
  60. package/es/components/pisellCurrency/components/EditView.d.ts +0 -18
  61. package/es/components/pisellCurrency/components/ReadOnlyView.d.ts +0 -17
  62. package/es/components/pisellCurrency/components/index.d.ts +0 -6
  63. package/es/components/pisellCurrency/index.d.ts +0 -7
  64. package/es/components/pisellCurrency/types.d.ts +0 -56
  65. package/es/components/pisellCurrency/utils/currencyFormatter.d.ts +0 -31
  66. package/es/components/pisellCurrency/utils/index.d.ts +0 -5
  67. package/es/components/pisellDataSourceContainer/components/ColumnsSetting/index.d.ts +0 -28
  68. package/es/components/pisellDataSourceContainer/components/ColumnsSetting/utils.d.ts +0 -28
  69. package/es/components/pisellDataSourceContainer/components/Table/index.d.ts +0 -9
  70. package/es/components/pisellDataSourceContainer/components/Table/useColumns.d.ts +0 -14
  71. package/es/components/pisellDateTimeDisplay/PisellDateTimeDisplay.d.ts +0 -35
  72. package/es/components/pisellDateTimeDisplay/PisellDateTimeDisplay.stories.d.ts +0 -195
  73. package/es/components/pisellDateTimeDisplay/components/DateDisplay.d.ts +0 -48
  74. package/es/components/pisellDateTimeDisplay/components/TimeDisplay.d.ts +0 -42
  75. package/es/components/pisellDateTimeDisplay/components/WeekdayDisplay.d.ts +0 -57
  76. package/es/components/pisellDateTimeDisplay/components/index.d.ts +0 -6
  77. package/es/components/pisellDateTimeDisplay/hooks/index.d.ts +0 -2
  78. package/es/components/pisellDateTimeDisplay/hooks/useCurrentTime.d.ts +0 -46
  79. package/es/components/pisellDateTimeDisplay/index.d.ts +0 -3
  80. package/es/components/pisellDateTimeDisplay/utils/formatDate.d.ts +0 -21
  81. package/es/components/pisellDateTimeDisplay/utils/formatDateOrRelative.d.ts +0 -17
  82. package/es/components/pisellDateTimeDisplay/utils/formatWeekday.d.ts +0 -30
  83. package/es/components/pisellDateTimeDisplay/utils/index.d.ts +0 -7
  84. package/es/components/pisellDateTimeDisplay/utils/localeUtils.d.ts +0 -22
  85. package/es/components/pisellDateTimeDisplay/utils/relativeDay.d.ts +0 -24
  86. package/es/components/pisellEmail/PisellEmail.d.ts +0 -37
  87. package/es/components/pisellEmail/PisellEmail.stories.d.ts +0 -116
  88. package/es/components/pisellEmail/components/DisabledView.d.ts +0 -14
  89. package/es/components/pisellEmail/components/EditView.d.ts +0 -15
  90. package/es/components/pisellEmail/components/ReadOnlyView.d.ts +0 -15
  91. package/es/components/pisellEmail/index.d.ts +0 -7
  92. package/es/components/pisellEmail/types.d.ts +0 -176
  93. package/es/components/pisellEmail/utils/emailHelper.d.ts +0 -66
  94. package/es/components/pisellEmail/utils/emailValidator.d.ts +0 -45
  95. package/es/components/pisellEmail/utils/index.d.ts +0 -6
  96. package/es/components/pisellFilter/index.d.ts +0 -3
  97. package/es/components/pisellFind/PisellFind.stories.d.ts +0 -45
  98. package/es/components/pisellFind/index.d.ts +0 -40
  99. package/es/components/pisellGoodPassCard/index.d.ts +0 -50
  100. package/es/components/pisellLongText/PisellLongText.d.ts +0 -39
  101. package/es/components/pisellLongText/PisellLongText.stories.d.ts +0 -123
  102. package/es/components/pisellLongText/components/DisabledView.d.ts +0 -16
  103. package/es/components/pisellLongText/components/EditView.d.ts +0 -19
  104. package/es/components/pisellLongText/components/ReadOnlyView.d.ts +0 -18
  105. package/es/components/pisellLongText/index.d.ts +0 -7
  106. package/es/components/pisellLongText/types.d.ts +0 -147
  107. package/es/components/pisellMetricCard/PisellMetricCard.d.ts +0 -35
  108. package/es/components/pisellMetricCard/PisellMetricCard.stories.d.ts +0 -17
  109. package/es/components/pisellMetricCard/components/MetricComparison.d.ts +0 -14
  110. package/es/components/pisellMetricCard/components/index.d.ts +0 -7
  111. package/es/components/pisellMetricCard/index.d.ts +0 -6
  112. package/es/components/pisellMetricCard/utils/formatMetricValue.d.ts +0 -34
  113. package/es/components/pisellMetricCard/utils/index.d.ts +0 -5
  114. package/es/components/pisellMultipleSelect/PisellMultipleSelect.d.ts +0 -9
  115. package/es/components/pisellMultipleSelect/PisellMultipleSelect.stories.d.ts +0 -70
  116. package/es/components/pisellMultipleSelect/components/DisabledView.d.ts +0 -8
  117. package/es/components/pisellMultipleSelect/components/EditView.d.ts +0 -8
  118. package/es/components/pisellMultipleSelect/components/ReadOnlyView.d.ts +0 -8
  119. package/es/components/pisellMultipleSelect/index.d.ts +0 -7
  120. package/es/components/pisellMultipleSelect/types.d.ts +0 -160
  121. package/es/components/pisellNavigationMenu/PisellNavigationMenu.d.ts +0 -5
  122. package/es/components/pisellNumber/PisellNumber.d.ts +0 -42
  123. package/es/components/pisellNumber/PisellNumber.stories.d.ts +0 -66
  124. package/es/components/pisellNumber/components/DisabledView.d.ts +0 -11
  125. package/es/components/pisellNumber/components/EditView.d.ts +0 -18
  126. package/es/components/pisellNumber/components/ReadOnlyView.d.ts +0 -16
  127. package/es/components/pisellNumber/components/index.d.ts +0 -6
  128. package/es/components/pisellNumber/index.d.ts +0 -7
  129. package/es/components/pisellNumber/types.d.ts +0 -168
  130. package/es/components/pisellPercent/PisellPercent.d.ts +0 -38
  131. package/es/components/pisellPercent/PisellPercent.stories.d.ts +0 -52
  132. package/es/components/pisellPercent/components/DisabledView.d.ts +0 -11
  133. package/es/components/pisellPercent/components/EditView.d.ts +0 -17
  134. package/es/components/pisellPercent/components/ReadOnlyView.d.ts +0 -14
  135. package/es/components/pisellPercent/components/index.d.ts +0 -6
  136. package/es/components/pisellPercent/index.d.ts +0 -7
  137. package/es/components/pisellPercent/types.d.ts +0 -68
  138. package/es/components/pisellPercent/utils/index.d.ts +0 -6
  139. package/es/components/pisellPercent/utils/percentFormatter.d.ts +0 -27
  140. package/es/components/pisellPhone/PisellPhone.d.ts +0 -36
  141. package/es/components/pisellPhone/PisellPhone.stories.d.ts +0 -80
  142. package/es/components/pisellPhone/components/DisabledView.d.ts +0 -16
  143. package/es/components/pisellPhone/components/EditView.d.ts +0 -19
  144. package/es/components/pisellPhone/components/ReadOnlyView.d.ts +0 -17
  145. package/es/components/pisellPhone/constants/countryCodes.d.ts +0 -20
  146. package/es/components/pisellPhone/index.d.ts +0 -8
  147. package/es/components/pisellPhone/types.d.ts +0 -209
  148. package/es/components/pisellPhone/utils/countryCodeHelper.d.ts +0 -35
  149. package/es/components/pisellPhone/utils/index.d.ts +0 -6
  150. package/es/components/pisellPhone/utils/phoneValidator.d.ts +0 -11
  151. package/es/components/pisellRating/PisellRating.d.ts +0 -31
  152. package/es/components/pisellRating/PisellRating.stories.d.ts +0 -53
  153. package/es/components/pisellRating/index.d.ts +0 -7
  154. package/es/components/pisellRating/types.d.ts +0 -124
  155. package/es/components/pisellRecordBoard/PisellRecordBoard.d.ts +0 -8
  156. package/es/components/pisellRecordBoard/PisellRecordBoard.stories.d.ts +0 -81
  157. package/es/components/pisellRecordBoard/context/RecordBoardContext.d.ts +0 -3
  158. package/es/components/pisellRecordBoard/context/RecordBoardProvider.d.ts +0 -11
  159. package/es/components/pisellRecordBoard/hooks/useRecordBoardContext.d.ts +0 -16
  160. package/es/components/pisellRecordBoard/index.d.ts +0 -35
  161. package/es/components/pisellRecordBoard/layouts/CardLayout/CardList.d.ts +0 -12
  162. package/es/components/pisellRecordBoard/layouts/CardLayout/index.d.ts +0 -13
  163. package/es/components/pisellRecordBoard/layouts/GridLayout/Grid.d.ts +0 -14
  164. package/es/components/pisellRecordBoard/layouts/GridLayout/index.d.ts +0 -13
  165. package/es/components/pisellRecordBoard/shellFrame/BatchActionBar/index.d.ts +0 -8
  166. package/es/components/pisellRecordBoard/shellFrame/ColumnSetting/ColumnSettingPopover.d.ts +0 -15
  167. package/es/components/pisellRecordBoard/shellFrame/ColumnSetting/index.d.ts +0 -8
  168. package/es/components/pisellRecordBoard/shellFrame/Pagination/index.d.ts +0 -14
  169. package/es/components/pisellRecordBoard/shellFrame/Search/index.d.ts +0 -10
  170. package/es/components/pisellRecordBoard/shellFrame/ToolBarQuickFilter/index.d.ts +0 -17
  171. package/es/components/pisellRecordBoard/shellFrame/ToolBarReset/index.d.ts +0 -16
  172. package/es/components/pisellRecordBoard/shellFrame/index.d.ts +0 -26
  173. package/es/components/pisellRecordBoard/types.d.ts +0 -315
  174. package/es/components/pisellRecordBoard/utils/recordBoardColumns.d.ts +0 -41
  175. package/es/components/pisellRecordBoard/utils/withRecordBoard.d.ts +0 -9
  176. package/es/components/pisellRow/index.d.ts +0 -22
  177. package/es/components/pisellSingleLineText/PisellSingleLineText.d.ts +0 -40
  178. package/es/components/pisellSingleLineText/PisellSingleLineText.stories.d.ts +0 -102
  179. package/es/components/pisellSingleLineText/components/DisabledView.d.ts +0 -16
  180. package/es/components/pisellSingleLineText/components/EditView.d.ts +0 -19
  181. package/es/components/pisellSingleLineText/components/ReadOnlyView.d.ts +0 -20
  182. package/es/components/pisellSingleLineText/index.d.ts +0 -7
  183. package/es/components/pisellSingleLineText/types.d.ts +0 -139
  184. package/es/components/pisellSingleSelect/PisellSingleSelect.d.ts +0 -9
  185. package/es/components/pisellSingleSelect/PisellSingleSelect.stories.d.ts +0 -66
  186. package/es/components/pisellSingleSelect/components/DisabledView.d.ts +0 -8
  187. package/es/components/pisellSingleSelect/components/EditView.d.ts +0 -8
  188. package/es/components/pisellSingleSelect/components/ReadOnlyView.d.ts +0 -8
  189. package/es/components/pisellSingleSelect/index.d.ts +0 -7
  190. package/es/components/pisellSingleSelect/types.d.ts +0 -92
  191. package/es/components/pisellText/components/Amount/index.d.ts +0 -20
  192. package/es/components/pisellText/components/Editable/index.d.ts +0 -32
  193. package/es/components/pisellTimeRangeDisplay/PisellTimeRangeDisplay.d.ts +0 -32
  194. package/es/components/pisellTimeRangeDisplay/PisellTimeRangeDisplay.stories.d.ts +0 -61
  195. package/es/components/pisellTimeRangeDisplay/components/DateBlock.d.ts +0 -20
  196. package/es/components/pisellTimeRangeDisplay/components/DurationBlock.d.ts +0 -19
  197. package/es/components/pisellTimeRangeDisplay/components/TimeRangeBlock.d.ts +0 -30
  198. package/es/components/pisellTimeRangeDisplay/components/WeekdayBlock.d.ts +0 -18
  199. package/es/components/pisellTimeRangeDisplay/components/index.d.ts +0 -8
  200. package/es/components/pisellTimeRangeDisplay/index.d.ts +0 -3
  201. package/es/components/pisellTimeRangeDisplay/utils/index.d.ts +0 -4
  202. package/es/components/pisellToast/index.d.ts +0 -17
  203. package/es/components/pisellUrl/PisellUrl.d.ts +0 -37
  204. package/es/components/pisellUrl/PisellUrl.stories.d.ts +0 -108
  205. package/es/components/pisellUrl/components/DisabledView.d.ts +0 -14
  206. package/es/components/pisellUrl/components/EditView.d.ts +0 -15
  207. package/es/components/pisellUrl/components/ReadOnlyView.d.ts +0 -15
  208. package/es/components/pisellUrl/index.d.ts +0 -7
  209. package/es/components/pisellUrl/types.d.ts +0 -160
  210. package/es/components/pisellWalletPassCard/index.d.ts +0 -146
  211. package/es/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +0 -3
  212. package/es/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -3
  213. package/es/components/productCard/cartSkuCard/components/Note/index.d.ts +0 -3
  214. package/es/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +0 -29
  215. package/es/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -2
  216. package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -3
  217. package/es/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -10
  218. package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +0 -20
  219. package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -3
  220. package/es/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -12
  221. package/es/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -3
  222. package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -8
  223. package/es/components/productCard/cartSkuCard/index.d.ts +0 -10
  224. package/es/components/productCard/components/Header/index.d.ts +0 -3
  225. package/es/components/productCard/components/Sales/index.d.ts +0 -3
  226. package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -3
  227. package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -13
  228. package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +0 -18
  229. package/es/components/productCard/components/Time/index.d.ts +0 -3
  230. package/es/components/productCard/index.d.ts +0 -7
  231. package/es/components/productCard/utils.d.ts +0 -33
  232. package/es/components/sort/index.d.ts +0 -5
  233. package/es/components/table/Actions/component/ExportImport/index.d.ts +0 -7
  234. package/es/components/table/BasicTable/index.d.ts +0 -3
  235. package/es/components/table/Gallery/components/GalleryItem/index.d.ts +0 -14
  236. package/es/components/table/Gallery/index.d.ts +0 -5
  237. package/es/components/table/Table/AddFieldModal/index.d.ts +0 -4
  238. package/es/components/table/Table/index.d.ts +0 -4
  239. package/es/components/table/Table/utils.d.ts +0 -167
  240. package/es/components/table/hooks/useTableSetting.d.ts +0 -21
  241. package/es/components/table/hooks/useTransDataSource.d.ts +0 -12
  242. package/es/components/table/index.d.ts +0 -4
  243. package/es/components/translation/index.d.ts +0 -18
  244. package/es/components/versionModal/index.d.ts +0 -24
  245. package/es/components/virtual-keyboard/Amount/index.d.ts +0 -5
  246. package/es/components/virtual-keyboard/Amount/types.d.ts +0 -44
  247. package/es/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +0 -25
  248. package/es/components/virtual-keyboard/Number/index.d.ts +0 -5
  249. package/es/components/virtual-keyboard/index.d.ts +0 -25
  250. package/es/components/walletCard/index.d.ts +0 -79
  251. package/es/index.d.ts +0 -243
  252. package/lib/components/Pagination/index.d.ts +0 -12
  253. package/lib/components/PisellCards/components/GraphicTextCard/GraphicTextCard.stories.d.ts +0 -163
  254. package/lib/components/PisellFields/index.d.ts +0 -36
  255. package/lib/components/PisellLayouts/index.d.ts +0 -32
  256. package/lib/components/PisellMetrics/index.d.ts +0 -23
  257. package/lib/components/PisellTabbar/PisellTabbar.d.ts +0 -20
  258. package/lib/components/PisellTabbar/template/Template1/PisellTabbar.d.ts +0 -5
  259. package/lib/components/appVersionControl/index.d.ts +0 -4
  260. package/lib/components/cardMetricItem/index.d.ts +0 -15
  261. package/lib/components/dataSourceComponents/dataSourceForm/BaseForm.d.ts +0 -3
  262. package/lib/components/dataSourceComponents/dataSourceForm/serve.d.ts +0 -178
  263. package/lib/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +0 -39
  264. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +0 -8
  265. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -5
  266. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +0 -101
  267. package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -85
  268. package/lib/components/dataSourceComponents/fields/DatePicker/WithMode.d.ts +0 -7
  269. package/lib/components/dataSourceComponents/fields/DatePicker/index.d.ts +0 -11
  270. package/lib/components/dataSourceComponents/fields/RecordListWrapper/type.d.ts +0 -87
  271. package/lib/components/dataSourceComponents/fields/Translation/BaseTranslation.d.ts +0 -5
  272. package/lib/components/dataSourceComponents/fields/Translation/type.d.ts +0 -21
  273. package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +0 -18
  274. package/lib/components/dataSourceComponents/provider/variables/VariablesProvider.d.ts +0 -4
  275. package/lib/components/filter/components/Dropdown/index.d.ts +0 -9
  276. package/lib/components/filter/components/FilterButton/index.d.ts +0 -4
  277. package/lib/components/filter/components/FilterItem/AsyncOptionsSelectWrapper.d.ts +0 -21
  278. package/lib/components/filter/components/FilterItem/index.d.ts +0 -5
  279. package/lib/components/page/index.d.ts +0 -8
  280. package/lib/components/pisellAdjustPrice/index.d.ts +0 -4
  281. package/lib/components/pisellBatchActionBar/PisellBatchActionBar.d.ts +0 -31
  282. package/lib/components/pisellCardList/index.d.ts +0 -107
  283. package/lib/components/pisellCheckboxGroup/index.d.ts +0 -40
  284. package/lib/components/pisellCurrency/PisellCurrency.d.ts +0 -39
  285. package/lib/components/pisellCurrency/PisellCurrency.stories.d.ts +0 -56
  286. package/lib/components/pisellCurrency/components/DisabledView.d.ts +0 -11
  287. package/lib/components/pisellCurrency/components/EditView.d.ts +0 -18
  288. package/lib/components/pisellCurrency/components/ReadOnlyView.d.ts +0 -17
  289. package/lib/components/pisellCurrency/components/index.d.ts +0 -6
  290. package/lib/components/pisellCurrency/index.d.ts +0 -7
  291. package/lib/components/pisellCurrency/types.d.ts +0 -56
  292. package/lib/components/pisellCurrency/utils/currencyFormatter.d.ts +0 -31
  293. package/lib/components/pisellCurrency/utils/index.d.ts +0 -5
  294. package/lib/components/pisellDataSourceContainer/components/ColumnsSetting/index.d.ts +0 -28
  295. package/lib/components/pisellDataSourceContainer/components/ColumnsSetting/utils.d.ts +0 -28
  296. package/lib/components/pisellDataSourceContainer/components/Table/index.d.ts +0 -9
  297. package/lib/components/pisellDataSourceContainer/components/Table/useColumns.d.ts +0 -14
  298. package/lib/components/pisellDateTimeDisplay/PisellDateTimeDisplay.d.ts +0 -35
  299. package/lib/components/pisellDateTimeDisplay/PisellDateTimeDisplay.stories.d.ts +0 -195
  300. package/lib/components/pisellDateTimeDisplay/components/DateDisplay.d.ts +0 -48
  301. package/lib/components/pisellDateTimeDisplay/components/TimeDisplay.d.ts +0 -42
  302. package/lib/components/pisellDateTimeDisplay/components/WeekdayDisplay.d.ts +0 -57
  303. package/lib/components/pisellDateTimeDisplay/components/index.d.ts +0 -6
  304. package/lib/components/pisellDateTimeDisplay/hooks/index.d.ts +0 -2
  305. package/lib/components/pisellDateTimeDisplay/hooks/useCurrentTime.d.ts +0 -46
  306. package/lib/components/pisellDateTimeDisplay/index.d.ts +0 -3
  307. package/lib/components/pisellDateTimeDisplay/utils/formatDate.d.ts +0 -21
  308. package/lib/components/pisellDateTimeDisplay/utils/formatDateOrRelative.d.ts +0 -17
  309. package/lib/components/pisellDateTimeDisplay/utils/formatWeekday.d.ts +0 -30
  310. package/lib/components/pisellDateTimeDisplay/utils/index.d.ts +0 -7
  311. package/lib/components/pisellDateTimeDisplay/utils/localeUtils.d.ts +0 -22
  312. package/lib/components/pisellDateTimeDisplay/utils/relativeDay.d.ts +0 -24
  313. package/lib/components/pisellEmail/PisellEmail.d.ts +0 -37
  314. package/lib/components/pisellEmail/PisellEmail.stories.d.ts +0 -116
  315. package/lib/components/pisellEmail/components/DisabledView.d.ts +0 -14
  316. package/lib/components/pisellEmail/components/EditView.d.ts +0 -15
  317. package/lib/components/pisellEmail/components/ReadOnlyView.d.ts +0 -15
  318. package/lib/components/pisellEmail/index.d.ts +0 -7
  319. package/lib/components/pisellEmail/types.d.ts +0 -176
  320. package/lib/components/pisellEmail/utils/emailHelper.d.ts +0 -66
  321. package/lib/components/pisellEmail/utils/emailValidator.d.ts +0 -45
  322. package/lib/components/pisellEmail/utils/index.d.ts +0 -6
  323. package/lib/components/pisellFilter/index.d.ts +0 -3
  324. package/lib/components/pisellFind/PisellFind.stories.d.ts +0 -45
  325. package/lib/components/pisellFind/index.d.ts +0 -40
  326. package/lib/components/pisellGoodPassCard/index.d.ts +0 -50
  327. package/lib/components/pisellLongText/PisellLongText.d.ts +0 -39
  328. package/lib/components/pisellLongText/PisellLongText.stories.d.ts +0 -123
  329. package/lib/components/pisellLongText/components/DisabledView.d.ts +0 -16
  330. package/lib/components/pisellLongText/components/EditView.d.ts +0 -19
  331. package/lib/components/pisellLongText/components/ReadOnlyView.d.ts +0 -18
  332. package/lib/components/pisellLongText/index.d.ts +0 -7
  333. package/lib/components/pisellLongText/types.d.ts +0 -147
  334. package/lib/components/pisellMetricCard/PisellMetricCard.d.ts +0 -35
  335. package/lib/components/pisellMetricCard/PisellMetricCard.stories.d.ts +0 -17
  336. package/lib/components/pisellMetricCard/components/MetricComparison.d.ts +0 -14
  337. package/lib/components/pisellMetricCard/components/index.d.ts +0 -7
  338. package/lib/components/pisellMetricCard/index.d.ts +0 -6
  339. package/lib/components/pisellMetricCard/utils/formatMetricValue.d.ts +0 -34
  340. package/lib/components/pisellMetricCard/utils/index.d.ts +0 -5
  341. package/lib/components/pisellMultipleSelect/PisellMultipleSelect.d.ts +0 -9
  342. package/lib/components/pisellMultipleSelect/PisellMultipleSelect.stories.d.ts +0 -70
  343. package/lib/components/pisellMultipleSelect/components/DisabledView.d.ts +0 -8
  344. package/lib/components/pisellMultipleSelect/components/EditView.d.ts +0 -8
  345. package/lib/components/pisellMultipleSelect/components/ReadOnlyView.d.ts +0 -8
  346. package/lib/components/pisellMultipleSelect/index.d.ts +0 -7
  347. package/lib/components/pisellMultipleSelect/types.d.ts +0 -160
  348. package/lib/components/pisellNavigationMenu/PisellNavigationMenu.d.ts +0 -5
  349. package/lib/components/pisellNumber/PisellNumber.d.ts +0 -42
  350. package/lib/components/pisellNumber/PisellNumber.stories.d.ts +0 -66
  351. package/lib/components/pisellNumber/components/DisabledView.d.ts +0 -11
  352. package/lib/components/pisellNumber/components/EditView.d.ts +0 -18
  353. package/lib/components/pisellNumber/components/ReadOnlyView.d.ts +0 -16
  354. package/lib/components/pisellNumber/components/index.d.ts +0 -6
  355. package/lib/components/pisellNumber/index.d.ts +0 -7
  356. package/lib/components/pisellNumber/types.d.ts +0 -168
  357. package/lib/components/pisellPercent/PisellPercent.d.ts +0 -38
  358. package/lib/components/pisellPercent/PisellPercent.stories.d.ts +0 -52
  359. package/lib/components/pisellPercent/components/DisabledView.d.ts +0 -11
  360. package/lib/components/pisellPercent/components/EditView.d.ts +0 -17
  361. package/lib/components/pisellPercent/components/ReadOnlyView.d.ts +0 -14
  362. package/lib/components/pisellPercent/components/index.d.ts +0 -6
  363. package/lib/components/pisellPercent/index.d.ts +0 -7
  364. package/lib/components/pisellPercent/types.d.ts +0 -68
  365. package/lib/components/pisellPercent/utils/index.d.ts +0 -6
  366. package/lib/components/pisellPercent/utils/percentFormatter.d.ts +0 -27
  367. package/lib/components/pisellPhone/PisellPhone.d.ts +0 -36
  368. package/lib/components/pisellPhone/PisellPhone.stories.d.ts +0 -80
  369. package/lib/components/pisellPhone/components/DisabledView.d.ts +0 -16
  370. package/lib/components/pisellPhone/components/EditView.d.ts +0 -19
  371. package/lib/components/pisellPhone/components/ReadOnlyView.d.ts +0 -17
  372. package/lib/components/pisellPhone/constants/countryCodes.d.ts +0 -20
  373. package/lib/components/pisellPhone/index.d.ts +0 -8
  374. package/lib/components/pisellPhone/types.d.ts +0 -209
  375. package/lib/components/pisellPhone/utils/countryCodeHelper.d.ts +0 -35
  376. package/lib/components/pisellPhone/utils/index.d.ts +0 -6
  377. package/lib/components/pisellPhone/utils/phoneValidator.d.ts +0 -11
  378. package/lib/components/pisellRating/PisellRating.d.ts +0 -31
  379. package/lib/components/pisellRating/PisellRating.stories.d.ts +0 -53
  380. package/lib/components/pisellRating/index.d.ts +0 -7
  381. package/lib/components/pisellRating/types.d.ts +0 -124
  382. package/lib/components/pisellRecordBoard/PisellRecordBoard.d.ts +0 -8
  383. package/lib/components/pisellRecordBoard/PisellRecordBoard.stories.d.ts +0 -81
  384. package/lib/components/pisellRecordBoard/context/RecordBoardContext.d.ts +0 -3
  385. package/lib/components/pisellRecordBoard/context/RecordBoardProvider.d.ts +0 -11
  386. package/lib/components/pisellRecordBoard/hooks/useRecordBoardContext.d.ts +0 -16
  387. package/lib/components/pisellRecordBoard/index.d.ts +0 -35
  388. package/lib/components/pisellRecordBoard/layouts/CardLayout/CardList.d.ts +0 -12
  389. package/lib/components/pisellRecordBoard/layouts/CardLayout/index.d.ts +0 -13
  390. package/lib/components/pisellRecordBoard/layouts/GridLayout/Grid.d.ts +0 -14
  391. package/lib/components/pisellRecordBoard/layouts/GridLayout/index.d.ts +0 -13
  392. package/lib/components/pisellRecordBoard/shellFrame/BatchActionBar/index.d.ts +0 -8
  393. package/lib/components/pisellRecordBoard/shellFrame/ColumnSetting/ColumnSettingPopover.d.ts +0 -15
  394. package/lib/components/pisellRecordBoard/shellFrame/ColumnSetting/index.d.ts +0 -8
  395. package/lib/components/pisellRecordBoard/shellFrame/Pagination/index.d.ts +0 -14
  396. package/lib/components/pisellRecordBoard/shellFrame/Search/index.d.ts +0 -10
  397. package/lib/components/pisellRecordBoard/shellFrame/ToolBarQuickFilter/index.d.ts +0 -17
  398. package/lib/components/pisellRecordBoard/shellFrame/ToolBarReset/index.d.ts +0 -16
  399. package/lib/components/pisellRecordBoard/shellFrame/index.d.ts +0 -26
  400. package/lib/components/pisellRecordBoard/types.d.ts +0 -315
  401. package/lib/components/pisellRecordBoard/utils/recordBoardColumns.d.ts +0 -41
  402. package/lib/components/pisellRecordBoard/utils/withRecordBoard.d.ts +0 -9
  403. package/lib/components/pisellRow/index.d.ts +0 -22
  404. package/lib/components/pisellSingleLineText/PisellSingleLineText.d.ts +0 -40
  405. package/lib/components/pisellSingleLineText/PisellSingleLineText.stories.d.ts +0 -102
  406. package/lib/components/pisellSingleLineText/components/DisabledView.d.ts +0 -16
  407. package/lib/components/pisellSingleLineText/components/EditView.d.ts +0 -19
  408. package/lib/components/pisellSingleLineText/components/ReadOnlyView.d.ts +0 -20
  409. package/lib/components/pisellSingleLineText/index.d.ts +0 -7
  410. package/lib/components/pisellSingleLineText/types.d.ts +0 -139
  411. package/lib/components/pisellSingleSelect/PisellSingleSelect.d.ts +0 -9
  412. package/lib/components/pisellSingleSelect/PisellSingleSelect.stories.d.ts +0 -66
  413. package/lib/components/pisellSingleSelect/components/DisabledView.d.ts +0 -8
  414. package/lib/components/pisellSingleSelect/components/EditView.d.ts +0 -8
  415. package/lib/components/pisellSingleSelect/components/ReadOnlyView.d.ts +0 -8
  416. package/lib/components/pisellSingleSelect/index.d.ts +0 -7
  417. package/lib/components/pisellSingleSelect/types.d.ts +0 -92
  418. package/lib/components/pisellText/components/Amount/index.d.ts +0 -20
  419. package/lib/components/pisellText/components/Editable/index.d.ts +0 -32
  420. package/lib/components/pisellTimeRangeDisplay/PisellTimeRangeDisplay.d.ts +0 -32
  421. package/lib/components/pisellTimeRangeDisplay/PisellTimeRangeDisplay.stories.d.ts +0 -61
  422. package/lib/components/pisellTimeRangeDisplay/components/DateBlock.d.ts +0 -20
  423. package/lib/components/pisellTimeRangeDisplay/components/DurationBlock.d.ts +0 -19
  424. package/lib/components/pisellTimeRangeDisplay/components/TimeRangeBlock.d.ts +0 -30
  425. package/lib/components/pisellTimeRangeDisplay/components/WeekdayBlock.d.ts +0 -18
  426. package/lib/components/pisellTimeRangeDisplay/components/index.d.ts +0 -8
  427. package/lib/components/pisellTimeRangeDisplay/index.d.ts +0 -3
  428. package/lib/components/pisellTimeRangeDisplay/utils/index.d.ts +0 -4
  429. package/lib/components/pisellToast/index.d.ts +0 -17
  430. package/lib/components/pisellUrl/PisellUrl.d.ts +0 -37
  431. package/lib/components/pisellUrl/PisellUrl.stories.d.ts +0 -108
  432. package/lib/components/pisellUrl/components/DisabledView.d.ts +0 -14
  433. package/lib/components/pisellUrl/components/EditView.d.ts +0 -15
  434. package/lib/components/pisellUrl/components/ReadOnlyView.d.ts +0 -15
  435. package/lib/components/pisellUrl/index.d.ts +0 -7
  436. package/lib/components/pisellUrl/types.d.ts +0 -160
  437. package/lib/components/pisellWalletPassCard/index.d.ts +0 -146
  438. package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +0 -3
  439. package/lib/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -3
  440. package/lib/components/productCard/cartSkuCard/components/Note/index.d.ts +0 -3
  441. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +0 -29
  442. package/lib/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -2
  443. package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -3
  444. package/lib/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -10
  445. package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +0 -20
  446. package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -3
  447. package/lib/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -12
  448. package/lib/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -3
  449. package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -8
  450. package/lib/components/productCard/cartSkuCard/index.d.ts +0 -10
  451. package/lib/components/productCard/components/Header/index.d.ts +0 -3
  452. package/lib/components/productCard/components/Sales/index.d.ts +0 -3
  453. package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -3
  454. package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -13
  455. package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +0 -18
  456. package/lib/components/productCard/components/Time/index.d.ts +0 -3
  457. package/lib/components/productCard/index.d.ts +0 -7
  458. package/lib/components/productCard/utils.d.ts +0 -33
  459. package/lib/components/sort/index.d.ts +0 -5
  460. package/lib/components/table/Actions/component/ExportImport/index.d.ts +0 -7
  461. package/lib/components/table/BasicTable/index.d.ts +0 -3
  462. package/lib/components/table/Gallery/components/GalleryItem/index.d.ts +0 -14
  463. package/lib/components/table/Gallery/index.d.ts +0 -5
  464. package/lib/components/table/Table/AddFieldModal/index.d.ts +0 -4
  465. package/lib/components/table/Table/index.d.ts +0 -4
  466. package/lib/components/table/Table/utils.d.ts +0 -167
  467. package/lib/components/table/hooks/useTableSetting.d.ts +0 -21
  468. package/lib/components/table/hooks/useTransDataSource.d.ts +0 -12
  469. package/lib/components/table/index.d.ts +0 -4
  470. package/lib/components/translation/index.d.ts +0 -18
  471. package/lib/components/versionModal/index.d.ts +0 -24
  472. package/lib/components/virtual-keyboard/Amount/index.d.ts +0 -5
  473. package/lib/components/virtual-keyboard/Amount/types.d.ts +0 -44
  474. package/lib/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +0 -25
  475. package/lib/components/virtual-keyboard/Number/index.d.ts +0 -5
  476. package/lib/components/virtual-keyboard/index.d.ts +0 -25
  477. package/lib/components/walletCard/index.d.ts +0 -79
  478. package/lib/index.d.ts +0 -243
@@ -1,178 +0,0 @@
1
- export interface DataSourceType {
2
- key: string;
3
- displayName: string;
4
- status: string;
5
- type: string;
6
- isDBInstance: boolean;
7
- collections: Collection[];
8
- }
9
- export declare type ActionsItem = {
10
- method: string;
11
- path: string;
12
- params: {
13
- name: string;
14
- value: string;
15
- }[];
16
- headers: {
17
- name: string;
18
- value: string;
19
- }[];
20
- body: Record<string, any>;
21
- };
22
- export interface Collection {
23
- name: string;
24
- title: string;
25
- tableName: string;
26
- timestamps: boolean;
27
- autoGenId: boolean;
28
- filterTargetKey: string;
29
- fields: Field[];
30
- introspected: boolean;
31
- unavailableActions: any[];
32
- actions: {
33
- get: ActionsItem;
34
- update: ActionsItem;
35
- create: ActionsItem;
36
- delete: ActionsItem;
37
- list: ActionsItem;
38
- };
39
- }
40
- interface Field {
41
- name: string;
42
- type: string;
43
- allowNull: boolean;
44
- primaryKey: boolean;
45
- unique: boolean;
46
- autoIncrement: boolean;
47
- description?: (null | string)[];
48
- possibleTypes?: string[];
49
- rawType: string;
50
- interface: string;
51
- uiSchema: UiSchema;
52
- key?: string;
53
- collectionName?: string;
54
- collectionKey?: any;
55
- dataSourceKey?: string;
56
- defaultValue?: any;
57
- }
58
- interface UiSchema {
59
- type?: string;
60
- 'x-component': string;
61
- 'x-component-props'?: Xcomponentprops;
62
- 'x-validator'?: string;
63
- title: string;
64
- default?: any;
65
- enum?: any[];
66
- }
67
- interface Xcomponentprops {
68
- style?: Style;
69
- autoSize?: AutoSize;
70
- stringMode?: boolean;
71
- step?: string;
72
- dateFormat?: string;
73
- showTime?: boolean;
74
- }
75
- interface AutoSize {
76
- minRows: number;
77
- }
78
- interface Style {
79
- width: string;
80
- }
81
- /**
82
- * 获取nocobase自定义数据源
83
- */
84
- export declare const getNocobaseDataSource: () => Promise<DataSourceType[]>;
85
- /**
86
- * 获取nocobase主数据源
87
- */
88
- export declare const getNocobaseMainDataSource: () => Promise<any>;
89
- /**
90
- * 获取nocobase数据源设置
91
- */
92
- export declare const getNocobaseDataSourceOptions: () => Promise<any>;
93
- /**
94
- * 创建nocobase数据
95
- */
96
- export declare const createNocobaseData: (params: {
97
- key: string;
98
- data: any;
99
- headers?: any;
100
- }) => Promise<any>;
101
- /**
102
- * nocobase get数据
103
- */
104
- export declare const getNocobaseData: (params: {
105
- key: string;
106
- query: Record<string, any>;
107
- headers?: any;
108
- }) => Promise<any>;
109
- /**
110
- * 自定义api接口
111
- */
112
- export declare const customApi: (url: string, data: Record<string, any>, options: {
113
- method: 'GET' | 'POST' | 'PUT' | 'DELETE';
114
- baseUrl?: string | undefined;
115
- headers?: {
116
- name: string;
117
- value: any;
118
- }[] | undefined;
119
- params?: {
120
- name: string;
121
- value: any;
122
- }[] | undefined;
123
- body?: Record<string, any> | undefined;
124
- dataSourceKey?: string | undefined;
125
- }) => Promise<any>;
126
- /**
127
- * 更新nocobase数据
128
- */
129
- export declare const updateNocobaseData: (params: {
130
- key: string;
131
- data: any;
132
- headers?: any;
133
- query?: Record<string, any> | undefined;
134
- }) => Promise<any>;
135
- /**
136
- * 获取nocobase数据列表
137
- */
138
- export declare const getNocobaseDataList: (allParams: {
139
- key: string;
140
- params: {
141
- page: number;
142
- pageSize: number;
143
- };
144
- headers?: any;
145
- }) => Promise<any>;
146
- /**
147
- * 删除nocobase数据
148
- */
149
- export declare const deleteNocobaseData: (key: string, id: string, headers?: any) => Promise<any>;
150
- /**
151
- * 获取formSettingMeta数据
152
- * @param params 请求参数
153
- * @param params.sectionCodes 配置段代码数组,如 ['payment']
154
- * @param params.businessCode 业务代码
155
- * @param params.channelCode 渠道代码
156
- * @param params.isBoard 是否包含board_code参数
157
- * @returns Promise<any> 返回设置元数据
158
- */
159
- export declare const getFormSettingMetaData: (params: {
160
- sectionCodes: string[];
161
- scope: string;
162
- target?: string | undefined;
163
- }) => Promise<any>;
164
- /**
165
- * 更新租户设置数据
166
- * @param params 请求参数
167
- * @param params.businessCode 业务代码
168
- * @param params.channelCode 渠道代码
169
- * @param params.boardCode 板块代码
170
- * @param params.data 要更新的数据对象,如 {"order.prefix":"","order.suffix":"","payment.number":""}
171
- * @returns Promise<any> 返回更新结果
172
- */
173
- export declare const updateTenantSetting: (params: {
174
- scope: string;
175
- target?: string | undefined;
176
- data: Record<string, any>;
177
- }) => Promise<any>;
178
- export {};
@@ -1,39 +0,0 @@
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;
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- import { ImageProps } from 'antd';
3
- /**
4
- * @title: 数据源图片组件
5
- * @description: 支持变量解析的图片组件
6
- */
7
- declare const DataSourceImage: React.FC<ImageProps>;
8
- export default DataSourceImage;
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- declare const useDrawerState: (operationContent?: {
3
- [key: string]: React.ReactNode;
4
- } | undefined) => any;
5
- export default useDrawerState;
@@ -1,101 +0,0 @@
1
- import React from 'react';
2
- import { DataSourceTableProps } from '../type';
3
- import { OperationItem } from '../type';
4
- interface UseTablePropsProps {
5
- data: any;
6
- originProps: DataSourceTableProps;
7
- openDrawer: (type: OperationItem) => void;
8
- closeDrawer: () => void;
9
- refreshData: () => void;
10
- handleFilterChange: (changedFields: any, allFields: any) => void;
11
- tableRef: any;
12
- getInitialValues: () => Record<string, any>;
13
- }
14
- /**
15
- * 处理table的props
16
- * 转换title
17
- * @param props
18
- * @returns
19
- */
20
- declare const useTableProps: (props: UseTablePropsProps) => {
21
- currentComponentId: any;
22
- title: string | 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: string | 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: "large" | "middle" | "small";
76
- openTitle: string;
77
- key: string;
78
- } | undefined;
79
- filterBy?: Record<string, any> | undefined;
80
- sortBy: string;
81
- tabs?: {
82
- show: boolean;
83
- type: string;
84
- items: {
85
- name: string;
86
- filterBy: Record<string, any>;
87
- sortBy: string;
88
- }[];
89
- } | undefined;
90
- onValuesChange?: ((changedValues: any, values: any) => void) | undefined;
91
- onDeleteFinish?: ((record: Record<string, any>) => void) | undefined;
92
- extraParams?: {
93
- list?: Record<string, any> | undefined;
94
- get?: Record<string, any> | undefined;
95
- update?: Record<string, any> | undefined;
96
- create?: Record<string, any> | undefined;
97
- destroy?: Record<string, any> | undefined;
98
- } | undefined;
99
- localSettings?: import("../../../table/types").LocalSettingsType | undefined;
100
- };
101
- export default useTableProps;
@@ -1,85 +0,0 @@
1
- /// <reference types="react" />
2
- import { ColumnType } from 'antd/es/table';
3
- import { LocalSettingsType } from '../../table/types';
4
- import { DataSourceType } from '../provider/dataSource/DataSourceContext';
5
- export declare type OperationItem = {
6
- label?: string;
7
- openMode: 'modal' | 'drawer' | 'custom';
8
- openContentSize: 'small' | 'middle' | 'large';
9
- openTitle: string;
10
- actionType: 'detail' | 'edit' | 'delete' | 'custom';
11
- key: string;
12
- buttonProps?: any;
13
- onClick?: (record: any) => void;
14
- afterClose?: () => void;
15
- };
16
- export interface DataSourceTableProps {
17
- __id?: string;
18
- currentComponentId?: string;
19
- currentSettingKey?: string;
20
- title?: string | React.ReactNode | (() => React.ReactNode);
21
- subTitle?: string | React.ReactNode | (() => React.ReactNode);
22
- titleButtons?: {
23
- show: boolean;
24
- maxCount: number;
25
- items: OperationItem[];
26
- };
27
- tableButtons?: {
28
- show: boolean;
29
- maxCount: number;
30
- items: OperationItem[];
31
- };
32
- buttons?: any[];
33
- operation?: {
34
- show: boolean;
35
- title: string;
36
- width: number;
37
- align: 'left' | 'center' | 'right';
38
- fixed: 'left' | 'right' | false;
39
- type: 'link' | 'button';
40
- items: OperationItem[];
41
- };
42
- operationContent?: {
43
- [key: string]: React.ReactNode;
44
- };
45
- dataSource: DataSourceType;
46
- columns: ColumnType<any>[];
47
- filter: any;
48
- search?: {
49
- show: boolean;
50
- placeholder: string;
51
- };
52
- __designMode: string;
53
- componentId: string;
54
- clickToDetail?: {
55
- show: boolean;
56
- useCustomAction: boolean;
57
- actionType: string;
58
- openMode: 'modal' | 'drawer';
59
- openContentSize: 'small' | 'middle' | 'large';
60
- openTitle: string;
61
- key: string;
62
- };
63
- onRow?: any;
64
- filterBy?: Record<string, any>;
65
- sortBy: string;
66
- tabs?: {
67
- show: boolean;
68
- type: string;
69
- items: {
70
- name: string;
71
- filterBy: Record<string, any>;
72
- sortBy: string;
73
- }[];
74
- };
75
- onValuesChange?: (changedValues: any, values: any) => void;
76
- onDeleteFinish?: (record: Record<string, any>) => void;
77
- extraParams?: {
78
- list?: Record<string, any>;
79
- get?: Record<string, any>;
80
- update?: Record<string, any>;
81
- create?: Record<string, any>;
82
- destroy?: Record<string, any>;
83
- };
84
- localSettings?: LocalSettingsType;
85
- }
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- /**
3
- * @title: 带模式控制的 DatePicker 组件
4
- * @description: 支持 edit、view、disabled 等渲染模式的日期选择器
5
- */
6
- declare const DatePickerWithMode: React.FC<any>;
7
- export default DatePickerWithMode;
@@ -1,11 +0,0 @@
1
- import React from 'react';
2
- import { DatePickerProps } from 'antd';
3
- import { WithFormItemProps } from '../../dataSourceForm/utils';
4
- /** DatePicker 组件的 Props 类型 */
5
- export declare type DataSourceDatePickerProps = DatePickerProps & WithFormItemProps;
6
- /**
7
- * @title: 数据源日期选择器组件
8
- * @description: 支持表单项包装的日期选择器组件
9
- */
10
- declare const DatePicker: React.FC<DataSourceDatePickerProps>;
11
- export default DatePicker;
@@ -1,87 +0,0 @@
1
- import React from 'react';
2
- import { ModeType } from '../../dataSourceForm/type';
3
- export interface RecordListWrapperOption {
4
- label?: React.ReactNode;
5
- value: string | number;
6
- }
7
- export interface RecordListWrapperFieldSchema {
8
- name: string;
9
- label?: React.ReactNode;
10
- component?: string;
11
- componentName?: string;
12
- type?: string;
13
- /** 接口类型,用于映射到具体组件(如 Select、Input 等) */
14
- interface?: string;
15
- options?: RecordListWrapperOption[];
16
- props?: Record<string, any>;
17
- /** 子字段(用于嵌套结构,如 Input.JSON) */
18
- children?: RecordListWrapperFieldSchema[];
19
- _children?: RecordListWrapperFieldSchema[];
20
- schema?: Record<string, any>;
21
- uiSchema?: {
22
- title?: React.ReactNode;
23
- enum?: RecordListWrapperOption[];
24
- 'x-component'?: string;
25
- 'x-component-props'?: Record<string, any>;
26
- 'x-read-pretty'?: boolean;
27
- 'x-validator'?: string;
28
- 'x-display'?: 'visible' | 'hidden' | 'none';
29
- 'x-pattern'?: 'editable' | 'disabled' | 'readPretty';
30
- 'x-data-source'?: {
31
- type?: string;
32
- options?: Array<{
33
- id?: string;
34
- label: string | Record<string, any>;
35
- value: string;
36
- color?: string;
37
- }>;
38
- labelField?: string;
39
- valueField?: string;
40
- dataSource?: any;
41
- extraParams?: Record<string, any>;
42
- };
43
- 'x-record-schema'?: RecordListWrapperSchema | RecordListWrapperFieldSchema[] | string;
44
- default?: any;
45
- type?: 'string' | 'number' | 'integer' | 'boolean' | 'array' | 'object';
46
- };
47
- }
48
- export interface RecordListWrapperSchema {
49
- fields?: RecordListWrapperFieldSchema[];
50
- properties?: Record<string, any>;
51
- children?: RecordListWrapperFieldSchema[];
52
- }
53
- /**
54
- * @title RecordListWrapper 组件 Props
55
- * @description
56
- * 值结构为 Map:key 是 xDataSource option 的 value,value 是该 option 对应的表单字段值。
57
- * 例如:{ "5": { "code": "xxx", "type": "yyy" }, "3": { "code": "aaa" } }
58
- */
59
- export interface RecordListWrapperProps {
60
- renderMode: ModeType;
61
- /**
62
- * 值: Map 结构
63
- * - key: xDataSource option 的 value
64
- * - value: 该 option 对应的 xRecordSchema 字段值对象
65
- */
66
- value?: Record<string, Record<string, any>>;
67
- onChange?: (value: Record<string, Record<string, any>>) => void;
68
- /** xDataSource 选项列表,驱动 tabs 导航和 records 结构 */
69
- options?: RecordListWrapperOption[];
70
- /**
71
- * 上部插槽:用户可在低代码平台拖入自定义导航组件。
72
- * RecordListWrapper 会通过 cloneElement 注入 options、value(activeKey)、onChange。
73
- */
74
- topSlot?: React.ReactNode;
75
- slot?: React.ReactNode;
76
- /** xRecordSchema:定义每条记录的子字段结构 */
77
- xRecordSchema?: string | RecordListWrapperSchema | RecordListWrapperFieldSchema[];
78
- /** 容器 children:低代码引擎渲染的子组件节点 */
79
- children?: React.ReactNode;
80
- /** 低代码设计模式标识 */
81
- __designMode?: string;
82
- /**
83
- * 默认激活的 Tab key,外部传入时优先于 options[0].value
84
- */
85
- defaultValue?: string;
86
- [key: string]: any;
87
- }
@@ -1,5 +0,0 @@
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;
@@ -1,21 +0,0 @@
1
- /// <reference types="react" />
2
- import { ModeType } from "../../dataSourceForm/type";
3
- export interface TranslationValue {
4
- en: string;
5
- 'zh-CN': string;
6
- 'zh-HK': string;
7
- 'ja': string;
8
- 'pt': string;
9
- original: string;
10
- }
11
- export interface TranslationProps {
12
- renderMode: ModeType;
13
- value?: TranslationValue;
14
- onChange?: (value: TranslationValue) => void;
15
- disabled?: boolean;
16
- placeholder?: string;
17
- className?: string;
18
- type?: 'text' | 'textarea';
19
- maxLength?: number;
20
- inputStyle?: React.CSSProperties;
21
- }
@@ -1,18 +0,0 @@
1
- import { RcFile, UploadFile } from 'antd/es/upload/interface';
2
- import type { MediaMetadata, FileCountValidation, ValidationResult, MultilingualFile, FileListOptions, UploadValue, SingleMultilingualValue } from './types';
3
- export declare const generateUid: () => string;
4
- export declare const getSuffix: (name: string) => string;
5
- export declare const getPointSuffix: (name: string) => string;
6
- export declare const getFileType: (name: string) => string;
7
- export declare const getFileName: (url: string) => string;
8
- export declare const checkFileCount: ({ multiple, minCount, maxCount, valueLength, }: FileCountValidation) => ValidationResult;
9
- export declare const getMediaMetadata: (file: RcFile) => Promise<MediaMetadata | null>;
10
- export declare const genFileListByString: (value: string) => UploadFile[];
11
- export declare const createMultilingualData: (value: string) => SingleMultilingualValue;
12
- export declare const createMultilingualFileList: (value: string) => Record<string, UploadFile<any>[]>;
13
- export declare const getDefaultFileList: (value: UploadValue | undefined, options: FileListOptions) => MultilingualFile[];
14
- export declare const getFileMetadataParams: (file: RcFile & {
15
- metadata?: MediaMetadata;
16
- }) => Record<string, any>;
17
- export declare const isValueEqual: (value: any, fileListValue: any) => boolean;
18
- export declare const getBaseTime: (size: number) => 1000 | 2000 | 4000 | 8000;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { VariablesContextType } from './VariablesContext';
3
- declare const VariablesProvider: React.FC<VariablesContextType>;
4
- export default VariablesProvider;
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- import { DropdownProps } from './types';
4
- declare const Dropdown: React.FC<DropdownProps & {
5
- onOpen: () => void;
6
- onClose: () => void;
7
- renderItem?: (item: any, otherProps?: any) => React.ReactNode;
8
- }>;
9
- export default Dropdown;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { FilterListProps } from './types';
3
- declare const Filter: React.FC<FilterListProps>;
4
- export default Filter;
@@ -1,21 +0,0 @@
1
- /**
2
- * 筛选项中 singleSelect/multipleSelect 的异步 options 包装器。
3
- * 当列配置传入 getOptions(同步或异步)时,先解析再渲染 PisellSingleSelect/PisellMultipleSelect。
4
- */
5
- import React from 'react';
6
- export declare type GetOptionsFn = (() => {
7
- label: string;
8
- value: any;
9
- }[]) | (() => Promise<{
10
- label: string;
11
- value: any;
12
- }[]>);
13
- export interface AsyncOptionsSelectWrapperProps {
14
- getOptions: GetOptionsFn;
15
- fieldType: 'singleSelect' | 'multipleSelect';
16
- value?: any;
17
- onChange?: (value: any, option?: any) => void;
18
- [key: string]: any;
19
- }
20
- declare const AsyncOptionsSelectWrapper: React.FC<AsyncOptionsSelectWrapperProps>;
21
- export default AsyncOptionsSelectWrapper;
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- import { FilterItemProps } from '../../types';
3
- import './index.less';
4
- declare const FilterItem: React.FC<FilterItemProps>;
5
- export default FilterItem;
@@ -1,8 +0,0 @@
1
- import { ConfigProviderProps } from '../config-provider';
2
- interface PageProps extends ConfigProviderProps {
3
- variablesConfig?: {
4
- disabledHistoryListener?: boolean;
5
- };
6
- }
7
- declare const Page: (props: PageProps) => JSX.Element;
8
- export default Page;
@@ -1,4 +0,0 @@
1
- import './index.less';
2
- import { PisellAdjustPriceProps } from './type';
3
- declare const PisellAdjustPrice: (props: PisellAdjustPriceProps) => JSX.Element;
4
- export default PisellAdjustPrice;
@@ -1,31 +0,0 @@
1
- import React from 'react';
2
- import type { PisellBatchActionBarProps } from './types';
3
- import './PisellBatchActionBar.less';
4
- /**
5
- * PisellBatchActionBar 批量操作栏组件
6
- *
7
- * @description 选择感知型的批量操作组件,用于承载基于选中对象的批量行为操作
8
- * @author Pisell Team
9
- * @version 1.0.0
10
- *
11
- * @example
12
- * ```tsx
13
- * <PisellBatchActionBar
14
- * selectedKeys={selectedKeys}
15
- * selectedRows={selectedRows}
16
- * total={total}
17
- * defaultActions={{
18
- * selectAll: true,
19
- * clear: true,
20
- * }}
21
- * onSelectAll={() => {
22
- * // 全选逻辑
23
- * }}
24
- * onClear={() => {
25
- * // 清空选择逻辑
26
- * }}
27
- * />
28
- * ```
29
- */
30
- declare const PisellBatchActionBar: React.FC<PisellBatchActionBarProps>;
31
- export default PisellBatchActionBar;