@pisell/materials 6.11.204 → 6.11.205

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 (289) 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.js +1 -1
  6. package/build/lowcode/view.js +1 -1
  7. package/es/components/PisellCards/components/MultilevelCard/components/PanelWrapper.d.ts +7 -0
  8. package/es/components/PisellCards/index.d.ts +1 -0
  9. package/es/components/PisellLayouts/index.d.ts +1 -0
  10. package/es/components/PisellMetrics/index.d.ts +1 -0
  11. package/es/components/PisellProcedure/PisellProcedure.d.ts +22 -0
  12. package/es/components/PisellProcedure/PisellProcedure.stories.d.ts +163 -0
  13. package/es/components/PisellProcedure/components/FooterActions.d.ts +24 -0
  14. package/es/components/PisellProcedure/components/ProcedureBody.d.ts +41 -0
  15. package/es/components/PisellProcedure/components/ProcedureContent.d.ts +23 -0
  16. package/es/components/PisellProcedure/components/ProcedureSidebar.d.ts +38 -0
  17. package/es/components/PisellProcedure/components/index.d.ts +12 -0
  18. package/es/components/PisellProcedure/hooks/index.d.ts +8 -0
  19. package/es/components/PisellProcedure/hooks/useStepManager.d.ts +50 -0
  20. package/es/components/PisellProcedure/index.d.ts +5 -0
  21. package/es/components/PisellProcedure/types.d.ts +363 -0
  22. package/es/components/PisellProcedure/utils/footerPosition.d.ts +41 -0
  23. package/es/components/PisellProcedure/utils/index.d.ts +8 -0
  24. package/es/components/PisellProcedure/utils/layoutRatio.d.ts +42 -0
  25. package/es/components/PisellScrollView/PisellScrollView.stories.d.ts +87 -0
  26. package/es/components/PisellScrollView/components/Actions/index.d.ts +18 -0
  27. package/es/components/PisellScrollView/hooks/index.d.ts +3 -0
  28. package/es/components/PisellScrollView/hooks/useIntersection.d.ts +8 -0
  29. package/es/components/PisellScrollView/hooks/useScrollEvents.d.ts +20 -0
  30. package/es/components/PisellScrollView/index.d.ts +3 -0
  31. package/es/components/PisellScrollView/types.d.ts +203 -0
  32. package/es/components/PisellSteps/PisellSteps.stories.d.ts +155 -0
  33. package/es/components/PisellSteps/hooks/index.d.ts +4 -0
  34. package/es/components/PisellSteps/hooks/useStepClick.d.ts +11 -0
  35. package/es/components/PisellSteps/index.d.ts +3 -0
  36. package/es/components/PisellSteps/types.d.ts +257 -0
  37. package/es/components/PisellSteps/utils/index.d.ts +54 -0
  38. package/es/components/PisellSuperTabs/hooks/index.d.ts +1 -0
  39. package/es/components/PisellSuperTabs/hooks/useTabsState.d.ts +7 -0
  40. package/es/components/PisellSuperTabs/index.d.ts +3 -0
  41. package/es/components/PisellSuperTabs/types.d.ts +212 -0
  42. package/es/components/PisellTabbar/constants.d.ts +47 -0
  43. package/es/components/PisellTabbar/hooks/index.d.ts +2 -0
  44. package/es/components/PisellTabbar/hooks/useActiveKey.d.ts +55 -0
  45. package/es/components/PisellTabbar/hooks/useExpand.d.ts +42 -0
  46. package/es/components/PisellTabbar/template/Template1/constants.d.ts +10 -0
  47. package/es/components/PisellTabbar/template/Template1/utils/index.d.ts +35 -0
  48. package/es/components/PisellTabbar/types.d.ts +90 -0
  49. package/es/components/PisellTabbar/utils/index.d.ts +69 -0
  50. package/es/components/dataSourceComponents/dataSourceForm/provider/formSetting/FormSettingContext.d.ts +18 -0
  51. package/es/components/dataSourceComponents/dataSourceForm/provider/formSetting/FormSettingProvider.d.ts +8 -0
  52. package/es/components/dataSourceComponents/dataSourceForm/serve.d.ts +201 -0
  53. package/es/components/dataSourceComponents/dataSourceForm/type.d.ts +35 -0
  54. package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
  55. package/es/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +1 -0
  56. package/es/components/dataSourceComponents/dataSourceSubForm/types.d.ts +117 -0
  57. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +3 -2
  58. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +1 -0
  59. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +3 -3
  60. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +1 -0
  61. package/es/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +26 -0
  62. package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  63. package/es/components/dataSourceComponents/fields/RecordListWrapper/ReadPretty.d.ts +9 -0
  64. package/es/components/dataSourceComponents/fields/RecordListWrapper/index.d.ts +1 -1
  65. package/es/components/dataSourceComponents/fields/RecordListWrapper/type.d.ts +87 -0
  66. package/es/components/dataSourceComponents/fields/Select/index.d.ts +1 -1
  67. package/es/components/dataSourceComponents/fields/Tabs/Tabs.d.ts +23 -0
  68. package/es/components/dataSourceComponents/fields/Tabs/index.d.ts +2 -1
  69. package/es/components/dataSourceComponents/fields/Tabs/type.d.ts +38 -0
  70. package/es/components/dataSourceComponents/fields/index.d.ts +14 -14
  71. package/es/components/dataSourceComponents/hooks/useActions.d.ts +18 -0
  72. package/es/components/dataSourceComponents/provider/dataSource/DataSourceContext.d.ts +121 -0
  73. package/es/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +15 -0
  74. package/es/components/date-picker/index.d.ts +1 -0
  75. package/es/components/pisellDataSourceContainer/hooks/useDataSourceKey.d.ts +3 -2
  76. package/es/components/pisellFind/PisellFind.stories.d.ts +45 -0
  77. package/es/components/pisellFloorMapLayout/components/FloorMapEditQuickActions.d.ts +26 -0
  78. package/es/components/pisellFloorMapLayout/components/HistoryIcons.d.ts +39 -0
  79. package/es/components/pisellFloorMapLayout/floorMapLayoutConstants.d.ts +35 -0
  80. package/es/components/pisellFloorMapLayout/hooks/floorMapViewportPersistence.d.ts +25 -0
  81. package/es/components/pisellFloorMapLayout/hooks/useDraftConfigHistory.d.ts +18 -0
  82. package/es/components/pisellFloorMapLayout/hooks/useFloorMapPaletteTouchDrag.d.ts +21 -0
  83. package/es/components/pisellFloorMapLayout/utils/alignSnap.d.ts +64 -0
  84. package/es/components/pisellFloorMapLayout/utils/floorMapBuiltinShapes.d.ts +59 -0
  85. package/es/components/pisellFloorMapLayout/utils/floorMapDropUtils.d.ts +33 -0
  86. package/es/components/pisellFloorMapLayout/utils/floorMapElementNameAsTitle.d.ts +50 -0
  87. package/es/components/pisellFloorMapLayout/utils/floorMapResourcePickerDisplay.d.ts +27 -0
  88. package/es/components/pisellFloorMapLayout/utils/floorMapResourcePickerTypes.d.ts +109 -0
  89. package/es/components/pisellGridPro/GridView/index.d.ts +6 -0
  90. package/es/components/pisellGridPro/GridView/type.d.ts +3 -0
  91. package/es/components/pisellLookup/PisellLookup.js +5 -3
  92. package/es/components/pisellLookup/PisellLookup.stories.d.ts +129 -0
  93. package/es/components/pisellLookup/components/HotWords.d.ts +7 -0
  94. package/es/components/pisellLookup/components/LookupAuxiliary.d.ts +7 -0
  95. package/es/components/pisellLookup/components/SearchHistory.d.ts +7 -0
  96. package/es/components/pisellLookup/components/SuggestWords.d.ts +7 -0
  97. package/es/components/pisellLookup/components/index.d.ts +9 -0
  98. package/es/components/pisellLookup/hooks/useSearchHistory.d.ts +48 -0
  99. package/es/components/pisellLookup/index.d.ts +6 -0
  100. package/es/components/pisellLookup/types.d.ts +672 -0
  101. package/es/components/pisellLookup/utils/index.d.ts +5 -0
  102. package/es/components/pisellLookup/utils/trigger.d.ts +42 -0
  103. package/es/components/pisellMobileDateRangePicker/PisellMobileDateRangePicker.d.ts +8 -0
  104. package/es/components/pisellMobileDateRangePicker/index.d.ts +2 -0
  105. package/es/components/pisellMobileDateRangePicker/types.d.ts +28 -0
  106. package/es/components/pisellModal/components/index.d.ts +1 -0
  107. package/es/components/pisellRecordBoard/shellFrame/Calendar/bookingCalendarViewShared.d.ts +1 -1
  108. package/es/components/pisellRecordBoard/shellFrame/Calendar/calendarI18n.d.ts +4 -0
  109. package/es/components/pisellRecordBoard/shellFrame/Calendar/calendarPersistGuard.d.ts +18 -0
  110. package/es/components/pisellRecordBoard/shellFrame/Calendar/const/bookingCalendarConstants.d.ts +73 -0
  111. package/es/components/pisellRecordBoard/shellFrame/Calendar/utils/BookingCalendarStyle.d.ts +1 -1
  112. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/NoteTicker.d.ts +14 -0
  113. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallViewportToolbar.d.ts +18 -0
  114. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/resourceWallConstants.d.ts +2 -0
  115. package/es/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolBarConstants.d.ts +8 -0
  116. package/es/components/pisellReservationSchedule/locales.d.ts +43 -0
  117. package/es/components/pisellReservationSchedule/types.d.ts +52 -0
  118. package/es/components/pisellReservationScheduleBand/types.d.ts +68 -0
  119. package/es/components/pisellReservationScheduleBand/utils/formatScheduleAtLabel.d.ts +9 -0
  120. package/es/components/pisellTimeNavigator/components/CursorLayer.d.ts +29 -0
  121. package/es/components/pisellTimeNavigator/components/GestureLayer.d.ts +41 -0
  122. package/es/components/pisellTimeNavigator/components/ScaleLayer.d.ts +40 -0
  123. package/es/components/pisellTimeNavigator/hooks/index.d.ts +5 -0
  124. package/es/components/pisellTimeNavigator/hooks/useTimeAxis.d.ts +37 -0
  125. package/es/components/pisellTimeNavigator/timeNavigatorConstants.d.ts +20 -0
  126. package/es/components/pisellTimeNavigator/types.d.ts +175 -0
  127. package/es/components/pisellTimeNavigator/utils/index.d.ts +79 -0
  128. package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
  129. package/es/components/productCard/components/Packages/utils.d.ts +1 -1
  130. package/es/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
  131. package/es/components/table/Table/fields/date/index.d.ts +1 -0
  132. package/es/components/table/Table/fields/image/index.d.ts +1 -0
  133. package/es/components/table/Table/fields/link/index.d.ts +1 -0
  134. package/es/components/table/Table/fields/number/index.d.ts +1 -0
  135. package/es/components/table/Table/fields/numberRange/index.d.ts +1 -0
  136. package/es/components/table/Table/fields/oldRangePicker/index.d.ts +1 -0
  137. package/es/components/table/Table/fields/pSwitch/index.d.ts +1 -0
  138. package/es/components/table/Table/fields/rangePicker/index.d.ts +1 -0
  139. package/es/components/table/Table/fields/search/index.d.ts +1 -0
  140. package/es/components/table/Table/fields/select/Edit/index.d.ts +4 -0
  141. package/es/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
  142. package/es/components/table/Table/fields/select/index.d.ts +1 -0
  143. package/es/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
  144. package/es/components/table/Table/fields/treeSelect/index.d.ts +1 -0
  145. package/es/components/table/Table/utils.d.ts +1 -1
  146. package/es/utils/index.d.ts +1 -1
  147. package/es/utils/platform.d.ts +1 -1
  148. package/lib/components/PisellCards/components/MultilevelCard/components/PanelWrapper.d.ts +7 -0
  149. package/lib/components/PisellCards/index.d.ts +1 -0
  150. package/lib/components/PisellLayouts/index.d.ts +1 -0
  151. package/lib/components/PisellMetrics/index.d.ts +1 -0
  152. package/lib/components/PisellProcedure/PisellProcedure.d.ts +22 -0
  153. package/lib/components/PisellProcedure/PisellProcedure.stories.d.ts +163 -0
  154. package/lib/components/PisellProcedure/components/FooterActions.d.ts +24 -0
  155. package/lib/components/PisellProcedure/components/ProcedureBody.d.ts +41 -0
  156. package/lib/components/PisellProcedure/components/ProcedureContent.d.ts +23 -0
  157. package/lib/components/PisellProcedure/components/ProcedureSidebar.d.ts +38 -0
  158. package/lib/components/PisellProcedure/components/index.d.ts +12 -0
  159. package/lib/components/PisellProcedure/hooks/index.d.ts +8 -0
  160. package/lib/components/PisellProcedure/hooks/useStepManager.d.ts +50 -0
  161. package/lib/components/PisellProcedure/index.d.ts +5 -0
  162. package/lib/components/PisellProcedure/types.d.ts +363 -0
  163. package/lib/components/PisellProcedure/utils/footerPosition.d.ts +41 -0
  164. package/lib/components/PisellProcedure/utils/index.d.ts +8 -0
  165. package/lib/components/PisellProcedure/utils/layoutRatio.d.ts +42 -0
  166. package/lib/components/PisellScrollView/PisellScrollView.stories.d.ts +87 -0
  167. package/lib/components/PisellScrollView/components/Actions/index.d.ts +18 -0
  168. package/lib/components/PisellScrollView/hooks/index.d.ts +3 -0
  169. package/lib/components/PisellScrollView/hooks/useIntersection.d.ts +8 -0
  170. package/lib/components/PisellScrollView/hooks/useScrollEvents.d.ts +20 -0
  171. package/lib/components/PisellScrollView/index.d.ts +3 -0
  172. package/lib/components/PisellScrollView/types.d.ts +203 -0
  173. package/lib/components/PisellSteps/PisellSteps.stories.d.ts +155 -0
  174. package/lib/components/PisellSteps/hooks/index.d.ts +4 -0
  175. package/lib/components/PisellSteps/hooks/useStepClick.d.ts +11 -0
  176. package/lib/components/PisellSteps/index.d.ts +3 -0
  177. package/lib/components/PisellSteps/types.d.ts +257 -0
  178. package/lib/components/PisellSteps/utils/index.d.ts +54 -0
  179. package/lib/components/PisellSuperTabs/hooks/index.d.ts +1 -0
  180. package/lib/components/PisellSuperTabs/hooks/useTabsState.d.ts +7 -0
  181. package/lib/components/PisellSuperTabs/index.d.ts +3 -0
  182. package/lib/components/PisellSuperTabs/types.d.ts +212 -0
  183. package/lib/components/PisellTabbar/constants.d.ts +47 -0
  184. package/lib/components/PisellTabbar/hooks/index.d.ts +2 -0
  185. package/lib/components/PisellTabbar/hooks/useActiveKey.d.ts +55 -0
  186. package/lib/components/PisellTabbar/hooks/useExpand.d.ts +42 -0
  187. package/lib/components/PisellTabbar/template/Template1/constants.d.ts +10 -0
  188. package/lib/components/PisellTabbar/template/Template1/utils/index.d.ts +35 -0
  189. package/lib/components/PisellTabbar/types.d.ts +90 -0
  190. package/lib/components/PisellTabbar/utils/index.d.ts +69 -0
  191. package/lib/components/dataSourceComponents/dataSourceForm/provider/formSetting/FormSettingContext.d.ts +18 -0
  192. package/lib/components/dataSourceComponents/dataSourceForm/provider/formSetting/FormSettingProvider.d.ts +8 -0
  193. package/lib/components/dataSourceComponents/dataSourceForm/serve.d.ts +201 -0
  194. package/lib/components/dataSourceComponents/dataSourceForm/type.d.ts +35 -0
  195. package/lib/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
  196. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +1 -0
  197. package/lib/components/dataSourceComponents/dataSourceSubForm/types.d.ts +117 -0
  198. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +3 -2
  199. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +1 -0
  200. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +3 -3
  201. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +1 -0
  202. package/lib/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +26 -0
  203. package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  204. package/lib/components/dataSourceComponents/fields/RecordListWrapper/ReadPretty.d.ts +9 -0
  205. package/lib/components/dataSourceComponents/fields/RecordListWrapper/index.d.ts +1 -1
  206. package/lib/components/dataSourceComponents/fields/RecordListWrapper/type.d.ts +87 -0
  207. package/lib/components/dataSourceComponents/fields/Select/index.d.ts +1 -1
  208. package/lib/components/dataSourceComponents/fields/Tabs/Tabs.d.ts +23 -0
  209. package/lib/components/dataSourceComponents/fields/Tabs/index.d.ts +2 -1
  210. package/lib/components/dataSourceComponents/fields/Tabs/type.d.ts +38 -0
  211. package/lib/components/dataSourceComponents/fields/index.d.ts +14 -14
  212. package/lib/components/dataSourceComponents/hooks/useActions.d.ts +18 -0
  213. package/lib/components/dataSourceComponents/provider/dataSource/DataSourceContext.d.ts +121 -0
  214. package/lib/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +15 -0
  215. package/lib/components/date-picker/index.d.ts +1 -0
  216. package/lib/components/pisellDataSourceContainer/hooks/useDataSourceKey.d.ts +3 -2
  217. package/lib/components/pisellFind/PisellFind.stories.d.ts +45 -0
  218. package/lib/components/pisellFloorMapLayout/components/FloorMapEditQuickActions.d.ts +26 -0
  219. package/lib/components/pisellFloorMapLayout/components/HistoryIcons.d.ts +39 -0
  220. package/lib/components/pisellFloorMapLayout/floorMapLayoutConstants.d.ts +35 -0
  221. package/lib/components/pisellFloorMapLayout/hooks/floorMapViewportPersistence.d.ts +25 -0
  222. package/lib/components/pisellFloorMapLayout/hooks/useDraftConfigHistory.d.ts +18 -0
  223. package/lib/components/pisellFloorMapLayout/hooks/useFloorMapPaletteTouchDrag.d.ts +21 -0
  224. package/lib/components/pisellFloorMapLayout/utils/alignSnap.d.ts +64 -0
  225. package/lib/components/pisellFloorMapLayout/utils/floorMapBuiltinShapes.d.ts +59 -0
  226. package/lib/components/pisellFloorMapLayout/utils/floorMapDropUtils.d.ts +33 -0
  227. package/lib/components/pisellFloorMapLayout/utils/floorMapElementNameAsTitle.d.ts +50 -0
  228. package/lib/components/pisellFloorMapLayout/utils/floorMapResourcePickerDisplay.d.ts +27 -0
  229. package/lib/components/pisellFloorMapLayout/utils/floorMapResourcePickerTypes.d.ts +109 -0
  230. package/lib/components/pisellGridPro/GridView/index.d.ts +6 -0
  231. package/lib/components/pisellGridPro/GridView/type.d.ts +3 -0
  232. package/lib/components/pisellLookup/PisellLookup.js +3 -2
  233. package/lib/components/pisellLookup/PisellLookup.stories.d.ts +129 -0
  234. package/lib/components/pisellLookup/components/HotWords.d.ts +7 -0
  235. package/lib/components/pisellLookup/components/LookupAuxiliary.d.ts +7 -0
  236. package/lib/components/pisellLookup/components/SearchHistory.d.ts +7 -0
  237. package/lib/components/pisellLookup/components/SuggestWords.d.ts +7 -0
  238. package/lib/components/pisellLookup/components/index.d.ts +9 -0
  239. package/lib/components/pisellLookup/hooks/useSearchHistory.d.ts +48 -0
  240. package/lib/components/pisellLookup/index.d.ts +6 -0
  241. package/lib/components/pisellLookup/types.d.ts +672 -0
  242. package/lib/components/pisellLookup/utils/index.d.ts +5 -0
  243. package/lib/components/pisellLookup/utils/trigger.d.ts +42 -0
  244. package/lib/components/pisellMobileDateRangePicker/PisellMobileDateRangePicker.d.ts +8 -0
  245. package/lib/components/pisellMobileDateRangePicker/index.d.ts +2 -0
  246. package/lib/components/pisellMobileDateRangePicker/types.d.ts +28 -0
  247. package/lib/components/pisellModal/components/index.d.ts +1 -0
  248. package/lib/components/pisellRecordBoard/shellFrame/Calendar/bookingCalendarViewShared.d.ts +1 -1
  249. package/lib/components/pisellRecordBoard/shellFrame/Calendar/calendarI18n.d.ts +4 -0
  250. package/lib/components/pisellRecordBoard/shellFrame/Calendar/calendarPersistGuard.d.ts +18 -0
  251. package/lib/components/pisellRecordBoard/shellFrame/Calendar/const/bookingCalendarConstants.d.ts +73 -0
  252. package/lib/components/pisellRecordBoard/shellFrame/Calendar/utils/BookingCalendarStyle.d.ts +1 -1
  253. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/NoteTicker.d.ts +14 -0
  254. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallViewportToolbar.d.ts +18 -0
  255. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/resourceWallConstants.d.ts +2 -0
  256. package/lib/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolBarConstants.d.ts +8 -0
  257. package/lib/components/pisellReservationSchedule/locales.d.ts +43 -0
  258. package/lib/components/pisellReservationSchedule/types.d.ts +52 -0
  259. package/lib/components/pisellReservationScheduleBand/types.d.ts +68 -0
  260. package/lib/components/pisellReservationScheduleBand/utils/formatScheduleAtLabel.d.ts +9 -0
  261. package/lib/components/pisellTimeNavigator/components/CursorLayer.d.ts +29 -0
  262. package/lib/components/pisellTimeNavigator/components/GestureLayer.d.ts +41 -0
  263. package/lib/components/pisellTimeNavigator/components/ScaleLayer.d.ts +40 -0
  264. package/lib/components/pisellTimeNavigator/hooks/index.d.ts +5 -0
  265. package/lib/components/pisellTimeNavigator/hooks/useTimeAxis.d.ts +37 -0
  266. package/lib/components/pisellTimeNavigator/timeNavigatorConstants.d.ts +20 -0
  267. package/lib/components/pisellTimeNavigator/types.d.ts +175 -0
  268. package/lib/components/pisellTimeNavigator/utils/index.d.ts +79 -0
  269. package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
  270. package/lib/components/productCard/components/Packages/utils.d.ts +1 -1
  271. package/lib/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
  272. package/lib/components/table/Table/fields/date/index.d.ts +1 -0
  273. package/lib/components/table/Table/fields/image/index.d.ts +1 -0
  274. package/lib/components/table/Table/fields/link/index.d.ts +1 -0
  275. package/lib/components/table/Table/fields/number/index.d.ts +1 -0
  276. package/lib/components/table/Table/fields/numberRange/index.d.ts +1 -0
  277. package/lib/components/table/Table/fields/oldRangePicker/index.d.ts +1 -0
  278. package/lib/components/table/Table/fields/pSwitch/index.d.ts +1 -0
  279. package/lib/components/table/Table/fields/rangePicker/index.d.ts +1 -0
  280. package/lib/components/table/Table/fields/search/index.d.ts +1 -0
  281. package/lib/components/table/Table/fields/select/Edit/index.d.ts +4 -0
  282. package/lib/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
  283. package/lib/components/table/Table/fields/select/index.d.ts +1 -0
  284. package/lib/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
  285. package/lib/components/table/Table/fields/treeSelect/index.d.ts +1 -0
  286. package/lib/components/table/Table/utils.d.ts +1 -1
  287. package/lib/utils/index.d.ts +1 -1
  288. package/lib/utils/platform.d.ts +1 -1
  289. package/package.json +1 -1
@@ -0,0 +1,35 @@
1
+ /**
2
+ * PisellTabbar 工具函数
3
+ */
4
+ import { TabbarDataSource } from '../../../types';
5
+ /**
6
+ * 向数据源添加特殊项(如 all、search、expand 按钮)
7
+ *
8
+ * @param dataSource - 原始数据源
9
+ * @param keys - 要添加的特殊项 key 数组
10
+ * @returns 添加了特殊项的新数据源
11
+ *
12
+ * @example
13
+ * ```tsx
14
+ * const newData = addDataSourceItemsByKey(categoryData, ['expand', 'all']);
15
+ * // 返回: [expandItem, allItem, ...categoryData]
16
+ * ```
17
+ */
18
+ export declare const addDataSourceItemsByKey: (dataSource: TabbarDataSource[], keys: ('all' | 'search' | 'expand')[]) => TabbarDataSource[];
19
+ /**
20
+ * 获取默认激活的 key 数组
21
+ *
22
+ * @param dataSource - 数据源
23
+ * @param rowKey - 用作唯一标识的字段名
24
+ * @returns 默认激活的 key 数组(多层级)
25
+ *
26
+ * @description
27
+ * 默认选中第一项,如果第一项有子级,同时选中第一个子级
28
+ *
29
+ * @example
30
+ * ```tsx
31
+ * const defaultKeys = getDefaultActiveKey(categoryData, 'id');
32
+ * // 返回: [1, 0] (第一层级的第一项ID,第二层级的第一项ID)
33
+ * ```
34
+ */
35
+ export declare const getDefaultActiveKey: (dataSource: TabbarDataSource[], rowKey: string) => (string | number)[];
@@ -0,0 +1,90 @@
1
+ import { CSSProperties } from 'react';
2
+ /**
3
+ * Tabbar 数据源项类型
4
+ */
5
+ export interface TabbarDataSource {
6
+ /** 唯一标识 */
7
+ id: string | number;
8
+ /** 店铺ID */
9
+ shop_id?: number;
10
+ /** 父级ID */
11
+ parent_id?: number;
12
+ /** 显示名称 */
13
+ name: string;
14
+ /** URL slug */
15
+ slug?: string;
16
+ /** 图标 URL 或图标名称 */
17
+ icon?: string;
18
+ /** 子级数据 */
19
+ children?: TabbarDataSource[];
20
+ /** 自定义点击事件标识 */
21
+ customClick?: boolean;
22
+ /** 唯一 key */
23
+ key?: string;
24
+ }
25
+ /**
26
+ * 层级配置
27
+ */
28
+ export interface TabbarLevelConfig {
29
+ /** SuperTabs 背景色 */
30
+ superTabsBg: string;
31
+ /** 卡片宽度 */
32
+ cardWidth: number;
33
+ /** 卡片高度 */
34
+ cardHeight: number;
35
+ /** 左侧缩进 */
36
+ paddingLeft?: number;
37
+ }
38
+ /**
39
+ * 展开配置
40
+ */
41
+ export interface ExpandConfig {
42
+ /** 激活状态配置 */
43
+ active: {
44
+ icon: string;
45
+ text: string;
46
+ };
47
+ /** 未激活状态配置 */
48
+ inactive: {
49
+ icon: string;
50
+ text: string;
51
+ };
52
+ }
53
+ /**
54
+ * 展开状态
55
+ */
56
+ export interface ExpandState {
57
+ level1: boolean;
58
+ level2: boolean;
59
+ level3: boolean;
60
+ }
61
+ /**
62
+ * 层级类型
63
+ */
64
+ export declare type LevelType = 'level1' | 'level2' | 'level3';
65
+ /**
66
+ * PisellTabbar 组件属性
67
+ */
68
+ export interface PisellTabbarProps {
69
+ /** 数据源 */
70
+ dataSource?: TabbarDataSource[];
71
+ /** 当前选中的值(多层级 key 数组) */
72
+ value?: (string | number)[];
73
+ /** 值变化回调 */
74
+ onChange?: (value: (string | number)[]) => void;
75
+ /** 自定义类名 */
76
+ className?: string;
77
+ /** 自定义样式 */
78
+ style?: CSSProperties;
79
+ /** 层级配置(可按层级自定义) */
80
+ levelConfig?: Partial<Record<LevelType, Partial<TabbarLevelConfig>>>;
81
+ /** 展开配置 */
82
+ expandConfig?: ExpandConfig;
83
+ /** 最大层级数 */
84
+ maxLevel?: 1 | 2 | 3;
85
+ onSearch?: (value: string) => void;
86
+ __designMode?: boolean;
87
+ }
88
+ export interface PisellTabbarRef {
89
+ closeSearchMode: () => void;
90
+ }
@@ -0,0 +1,69 @@
1
+ /**
2
+ * PisellTabbar 工具函数
3
+ */
4
+ import { TabbarDataSource } from '../types';
5
+ /**
6
+ * 默认的特殊项配置
7
+ */
8
+ export declare const defaultItems: {
9
+ all: {
10
+ id: number;
11
+ shop_id: number;
12
+ parent_id: number;
13
+ name: any;
14
+ slug: string;
15
+ icon: string;
16
+ };
17
+ search: {
18
+ id: number;
19
+ shop_id: number;
20
+ parent_id: number;
21
+ name: any;
22
+ text: any;
23
+ slug: string;
24
+ key: string;
25
+ icon: string;
26
+ customClick: boolean;
27
+ };
28
+ expand: {
29
+ id: number;
30
+ shop_id: number;
31
+ parent_id: number;
32
+ key: string;
33
+ icon: string;
34
+ name: string;
35
+ slug: string;
36
+ customClick: boolean;
37
+ };
38
+ };
39
+ /**
40
+ * 向数据源添加特殊项(如 all、search、expand 按钮)
41
+ *
42
+ * @param dataSource - 原始数据源
43
+ * @param keys - 要添加的特殊项 key 数组
44
+ * @returns 添加了特殊项的新数据源
45
+ *
46
+ * @example
47
+ * ```tsx
48
+ * const newData = addDataSourceItemsByKey(categoryData, ['expand', 'all']);
49
+ * // 返回: [expandItem, allItem, ...categoryData]
50
+ * ```
51
+ */
52
+ export declare const addDataSourceItemsByKey: (dataSource: TabbarDataSource[], keys: ('all' | 'search' | 'expand')[]) => TabbarDataSource[];
53
+ /**
54
+ * 获取默认激活的 key 数组
55
+ *
56
+ * @param dataSource - 数据源
57
+ * @param rowKey - 用作唯一标识的字段名
58
+ * @returns 默认激活的 key 数组(多层级)
59
+ *
60
+ * @description
61
+ * 默认选中第一项,如果第一项有子级,同时选中第一个子级
62
+ *
63
+ * @example
64
+ * ```tsx
65
+ * const defaultKeys = getDefaultActiveKey(categoryData, 'id');
66
+ * // 返回: [1, 0] (第一层级的第一项ID,第二层级的第一项ID)
67
+ * ```
68
+ */
69
+ export declare const getDefaultActiveKey: (dataSource: TabbarDataSource[], rowKey: string) => (string | number)[];
@@ -0,0 +1,18 @@
1
+ /// <reference types="react" />
2
+ import { ModeType } from '../../type';
3
+ export interface FormSettingContextType {
4
+ onDataSourceFinish?: (values: any, result: any, form: any) => void;
5
+ renderMode?: ModeType;
6
+ groupInfoPosition?: 'top' | 'side';
7
+ children?: React.ReactNode;
8
+ currentValue?: 'server' | 'local';
9
+ size?: 'small' | 'middle' | 'large';
10
+ formatSubmitValues?: (values: Record<string, any>) => Record<string, any>;
11
+ formatInitialValues?: (values: Record<string, any>) => Record<string, any>;
12
+ customSubmit?: (values: Record<string, any>) => Promise<any>;
13
+ beforeSubmit?: (values: Record<string, any>) => Promise<boolean> | boolean;
14
+ scene?: 'template' | 'profile' | 'instance';
15
+ sceneRequestId?: string;
16
+ }
17
+ export declare const FormSettingContext: import("react").Context<FormSettingContextType>;
18
+ export default FormSettingContext;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { FormSettingContextType } from './FormSettingContext';
3
+ /**
4
+ * @title: 表单设置Provider
5
+ * @description: 提供表单设置信息
6
+ */
7
+ declare const FormSettingProvider: React.FC<FormSettingContextType>;
8
+ export default FormSettingProvider;
@@ -0,0 +1,201 @@
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 declare type DeviceSettingScene = 'template' | 'profile' | 'instance';
179
+ /**
180
+ * 获取设备设置元数据(POST 类型 GET)
181
+ * @param params.scene 场景,默认 template
182
+ * @param params.sceneRequestId URL 中 {id} 占位符的实际取值
183
+ * @param params.items 需要获取的字段列表,例如 ['order.name', 'order.id']
184
+ */
185
+ export declare const getDeviceSettingMetaData: (params: {
186
+ scene?: DeviceSettingScene | undefined;
187
+ sceneRequestId: string;
188
+ items: string[];
189
+ }) => Promise<any>;
190
+ /**
191
+ * 更新设备设置数据
192
+ * @param params.scene 场景,默认 template
193
+ * @param params.sceneRequestId URL 中 {id} 占位符的实际取值
194
+ * @param params.data 需要更新的字段值对象
195
+ */
196
+ export declare const updateDeviceSetting: (params: {
197
+ scene?: DeviceSettingScene | undefined;
198
+ sceneRequestId: string;
199
+ data: Record<string, any>;
200
+ }) => Promise<any>;
201
+ export {};
@@ -0,0 +1,35 @@
1
+ import React from 'react';
2
+ import { DataSourceType } from "../provider/dataSource/DataSourceContext";
3
+ export declare type ModeType = 'edit' | 'add' | 'view' | 'disabled' | 'hidden' | 'tableView';
4
+ export interface DataSourceFormProps {
5
+ title: string;
6
+ description: string;
7
+ dataSource: DataSourceType;
8
+ extraParams?: Record<string, any>;
9
+ showTitle: boolean;
10
+ showDescription: boolean;
11
+ groupInfoPosition: 'top' | 'side';
12
+ variables: any[];
13
+ renderMode?: ModeType;
14
+ currentValue?: 'server' | 'local';
15
+ scene?: 'template' | 'profile' | 'instance';
16
+ sceneRequestId?: string;
17
+ children: React.ReactNode;
18
+ className?: string;
19
+ size?: 'small' | 'middle' | 'large';
20
+ onDataSourceFinish?: (values: any, result: any) => void;
21
+ __designMode?: string;
22
+ formatSubmitValues?: (values: Record<string, any>) => Record<string, any>;
23
+ formatInitialValues?: (values: Record<string, any>) => Record<string, any>;
24
+ onDataSourceLoaded?: (values: Record<string, any>, result: any) => void;
25
+ customSubmit?: (values: Record<string, any>) => Promise<any>;
26
+ beforeSubmit?: (values: Record<string, any>) => Promise<boolean> | boolean;
27
+ leaveConfirmConfig?: {
28
+ enable: boolean;
29
+ title: string;
30
+ content: string;
31
+ icon: React.ReactNode;
32
+ okText: string;
33
+ cancelText: string;
34
+ };
35
+ }
@@ -44,7 +44,7 @@ export declare const withDataSource: <P extends unknown>(WrappedComponent: React
44
44
  }) => React.JSX.Element;
45
45
  export declare const withOptions: <P extends unknown>(WrappedComponent: React.ComponentType<P>) => (props: P & {
46
46
  options?: any;
47
- optionSourceType?: "default" | "custom" | "api" | undefined;
47
+ optionSourceType?: "default" | "api" | "custom" | undefined;
48
48
  labelField: string;
49
49
  valueField: string;
50
50
  extraParams?: Record<string, any> | undefined;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const DataSourceQRCode: (props: any) => import("react").JSX.Element;
2
3
  export default DataSourceQRCode;
@@ -0,0 +1,117 @@
1
+ import React from 'react';
2
+ import { ModeType } from '../dataSourceForm/type';
3
+ /**
4
+ * @title 字段选项接口
5
+ * @description 用于下拉框、单选框等组件的选项配置
6
+ */
7
+ export interface DataSourceSubFormOption {
8
+ label?: React.ReactNode;
9
+ value: string | number;
10
+ }
11
+ /**
12
+ * @title 字段 Schema 接口
13
+ * @description 定义表单字段的结构和配置
14
+ */
15
+ export interface DataSourceSubFormFieldSchema {
16
+ /** 字段名称(必填) */
17
+ name: string;
18
+ /** 字段标签 */
19
+ label?: React.ReactNode;
20
+ /** 组件类型(兼容多种命名方式) */
21
+ component?: string;
22
+ componentName?: string;
23
+ /** 字段数据类型 */
24
+ type?: string;
25
+ /** 接口类型,用于映射到具体组件(如 Select、Input 等) */
26
+ interface?: string;
27
+ /** 字段选项列表(用于 Select、Radio 等) */
28
+ options?: DataSourceSubFormOption[];
29
+ /** 组件额外配置 */
30
+ props?: Record<string, any>;
31
+ /** 子字段(用于嵌套结构,如 Input.JSON) */
32
+ children?: DataSourceSubFormFieldSchema[];
33
+ _children?: DataSourceSubFormFieldSchema[];
34
+ /** 字段 Schema 配置 */
35
+ schema?: Record<string, any>;
36
+ /** UI Schema 配置(支持低代码平台的各种配置项) */
37
+ uiSchema?: {
38
+ title?: React.ReactNode;
39
+ enum?: DataSourceSubFormOption[];
40
+ 'x-component'?: string;
41
+ 'x-component-props'?: Record<string, any>;
42
+ 'x-read-pretty'?: boolean;
43
+ 'x-validator'?: string;
44
+ 'x-display'?: 'visible' | 'hidden' | 'none';
45
+ 'x-pattern'?: 'editable' | 'disabled' | 'readPretty';
46
+ 'x-data-source'?: {
47
+ type?: string;
48
+ options?: Array<{
49
+ id?: string;
50
+ label: string | Record<string, any>;
51
+ value: string;
52
+ color?: string;
53
+ }>;
54
+ labelField?: string;
55
+ valueField?: string;
56
+ dataSource?: any;
57
+ extraParams?: Record<string, any>;
58
+ };
59
+ 'x-record-schema'?: DataSourceSubFormSchema | DataSourceSubFormFieldSchema[] | string;
60
+ default?: any;
61
+ type?: 'string' | 'number' | 'integer' | 'boolean' | 'array' | 'object';
62
+ };
63
+ }
64
+ /**
65
+ * @title Schema 接口
66
+ * @description 表单字段集合的结构定义
67
+ */
68
+ export interface DataSourceSubFormSchema {
69
+ /** 字段列表 */
70
+ fields?: DataSourceSubFormFieldSchema[];
71
+ /** 属性映射(key-value 形式) */
72
+ properties?: Record<string, any>;
73
+ /** 子字段列表 */
74
+ children?: DataSourceSubFormFieldSchema[];
75
+ }
76
+ /**
77
+ * @title DataSourceSubForm 组件 Props
78
+ * @description
79
+ * 独立的子表单组件,用于渲染一组表单字段。
80
+ * 支持通过 xRecordSchema 配置字段,或直接传入 children 低代码子组件。
81
+ */
82
+ export interface DataSourceSubFormProps {
83
+ /** 渲染模式:edit(编辑)、disabled(禁用)、preview(预览) */
84
+ renderMode?: ModeType;
85
+ /**
86
+ * 表单值对象
87
+ * @example { "fieldName1": "value1", "fieldName2": "value2" }
88
+ */
89
+ value?: Record<string, any>;
90
+ /**
91
+ * 值变化回调
92
+ * @param value 更新后的表单值对象
93
+ */
94
+ onChange?: (value: Record<string, any>) => void;
95
+ /**
96
+ * xRecordSchema:定义表单字段结构
97
+ * 支持三种格式:
98
+ * 1. JSON 字符串
99
+ * 2. Schema 对象(包含 fields/properties/children)
100
+ * 3. 字段数组
101
+ */
102
+ xRecordSchema?: string | DataSourceSubFormSchema | DataSourceSubFormFieldSchema[];
103
+ /**
104
+ * 容器 children:低代码引擎渲染的子组件节点
105
+ * 优先使用 children,如果没有则回退到 xRecordSchema 渲染
106
+ */
107
+ children?: React.ReactNode;
108
+ /** 低代码设计模式标识 */
109
+ __designMode?: string;
110
+ /** 表单布局方式 */
111
+ layout?: 'horizontal' | 'vertical' | 'inline';
112
+ /** 自定义类名 */
113
+ className?: string;
114
+ /** 自定义样式 */
115
+ style?: React.CSSProperties;
116
+ [key: string]: any;
117
+ }
@@ -1,5 +1,6 @@
1
+ /// <reference types="react" />
1
2
  declare const useDataSourceKey: () => {
2
- dataSourceKey: string | import("../../provider/dataSource/DataSourceContext").DataSourceType | undefined;
3
- dataSourceKeyRef: import("react").MutableRefObject<string | import("../../provider/dataSource/DataSourceContext").DataSourceType | undefined>;
3
+ dataSourceKey: string | undefined;
4
+ dataSourceKeyRef: import("react").MutableRefObject<string | undefined>;
4
5
  };
5
6
  export default useDataSourceKey;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const useDrawerState: (operationContent?: {
2
3
  [key: string]: import("react").ReactNode;
3
4
  } | undefined) => any;
@@ -19,7 +19,7 @@ interface UseTablePropsProps {
19
19
  */
20
20
  declare const useTableProps: (props: UseTablePropsProps) => {
21
21
  currentComponentId: any;
22
- title: string | number | boolean | React.JSX.Element | Iterable<React.ReactNode> | (() => React.ReactNode) | null | undefined;
22
+ title: number | boolean | Iterable<React.ReactNode> | React.JSX.Element | (() => React.ReactNode) | null | undefined;
23
23
  pagination: {
24
24
  total: number;
25
25
  current: number;
@@ -28,7 +28,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
28
28
  showSizeChanger: boolean;
29
29
  };
30
30
  columns: import("./useColumns").Column[];
31
- subTitle: string | number | boolean | React.JSX.Element | Iterable<React.ReactNode> | (() => React.ReactNode) | null | undefined;
31
+ subTitle: number | boolean | Iterable<React.ReactNode> | React.JSX.Element | (() => React.ReactNode) | null | undefined;
32
32
  buttons: any[] | null;
33
33
  filter: {
34
34
  dom: any;
@@ -52,7 +52,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
52
52
  show: boolean;
53
53
  title: string;
54
54
  width: number;
55
- align: "center" | "left" | "right";
55
+ align: "left" | "right" | "center";
56
56
  fixed: false | "left" | "right";
57
57
  type: "link" | "button";
58
58
  items: OperationItem[];
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { DataSourceTableProps } from '../type';
2
3
  declare type Params = {
3
4
  pagination?: {
@@ -0,0 +1,26 @@
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
+ 'ja': string;
12
+ 'pt': string;
13
+ original: string;
14
+ };
15
+ code: string;
16
+ calling_code: string;
17
+ currency_code: string;
18
+ sort: number;
19
+ status: string;
20
+ created_at: string;
21
+ updated_at: string;
22
+ prefix: string;
23
+ }
24
+ export declare const useCountries: () => {
25
+ data: Country[];
26
+ };
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  declare const Subdomain: React.FC<import("antd").InputProps & {
3
3
  onChange: (value: string) => void;
4
4
  onBlur?: ((e: React.FocusEvent<HTMLInputElement, Element>) => void) | undefined;
5
- rootDomain: "custom" | "xzero" | "saas";
5
+ rootDomain: "saas" | "custom" | "xzero";
6
6
  customDomain?: string | undefined;
7
7
  value?: string | undefined;
8
8
  tenantId: string;