@pisell/materials 6.11.17 → 6.11.19

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 (553) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/index.js +1 -1
  5. package/build/lowcode/meta.js +7 -7
  6. package/build/lowcode/preview.js +9 -9
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +32 -32
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +25 -25
  11. package/es/components/PisellCards/index.d.ts +1 -0
  12. package/es/components/PisellFields/index.d.ts +1 -0
  13. package/es/components/PisellLayouts/index.d.ts +11 -5
  14. package/es/components/PisellLayouts/index.js +8 -4
  15. package/es/components/PisellMetrics/index.d.ts +1 -0
  16. package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
  17. package/es/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +1 -0
  18. package/es/components/dataSourceComponents/dataSourceSubForm/index.d.ts +13 -0
  19. package/es/components/dataSourceComponents/dataSourceSubForm/index.js +274 -0
  20. package/es/components/dataSourceComponents/dataSourceSubForm/index.less +19 -0
  21. package/es/components/dataSourceComponents/dataSourceSubForm/schema-full-example.json +544 -0
  22. package/es/components/dataSourceComponents/dataSourceSubForm/schema-simple-example.json +174 -0
  23. package/es/components/dataSourceComponents/dataSourceSubForm/types.d.ts +117 -0
  24. package/es/components/dataSourceComponents/dataSourceSubForm/types.js +1 -0
  25. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +1 -0
  26. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +2 -2
  27. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +1 -0
  28. package/es/components/dataSourceComponents/fields/RecordListWrapper/ReadPretty.d.ts +9 -0
  29. package/es/components/dataSourceComponents/fields/RecordListWrapper/ReadPretty.js +61 -0
  30. package/es/components/dataSourceComponents/fields/RecordListWrapper/WithMode.d.ts +4 -0
  31. package/es/components/dataSourceComponents/fields/RecordListWrapper/WithMode.js +176 -0
  32. package/es/components/dataSourceComponents/fields/RecordListWrapper/index.d.ts +12 -0
  33. package/es/components/dataSourceComponents/fields/RecordListWrapper/index.js +11 -0
  34. package/es/components/dataSourceComponents/fields/RecordListWrapper/type.d.ts +87 -0
  35. package/es/components/dataSourceComponents/fields/RecordListWrapper/type.js +1 -0
  36. package/es/components/dataSourceComponents/fields/Select/index.d.ts +1 -1
  37. package/es/components/dataSourceComponents/fields/Tabs/ReadPretty.d.ts +9 -0
  38. package/es/components/dataSourceComponents/fields/Tabs/ReadPretty.js +16 -0
  39. package/es/components/dataSourceComponents/fields/Tabs/Tabs.d.ts +23 -0
  40. package/es/components/dataSourceComponents/fields/Tabs/Tabs.js +93 -0
  41. package/es/components/dataSourceComponents/fields/Tabs/Tabs.less +64 -0
  42. package/es/components/dataSourceComponents/fields/Tabs/WithMode.d.ts +6 -0
  43. package/es/components/dataSourceComponents/fields/Tabs/WithMode.js +9 -0
  44. package/es/components/dataSourceComponents/fields/Tabs/index.d.ts +13 -0
  45. package/es/components/dataSourceComponents/fields/Tabs/index.js +18 -0
  46. package/es/components/dataSourceComponents/fields/Tabs/type.d.ts +38 -0
  47. package/es/components/dataSourceComponents/fields/Tabs/type.js +1 -0
  48. package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  49. package/es/components/dataSourceComponents/fields/index.d.ts +50 -11
  50. package/es/components/dataSourceComponents/fields/index.js +5 -1
  51. package/es/components/dataSourceComponents/fields/utils.js +3 -0
  52. package/es/components/date-picker/index.d.ts +1 -0
  53. package/es/components/pisellDataSourceContainer/hooks/useDataSourceKey.d.ts +1 -0
  54. package/es/components/pisellFilter/type.d.ts +4 -2
  55. package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.d.ts +12 -0
  56. package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.js +611 -0
  57. package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.less +92 -0
  58. package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.stories.d.ts +55 -0
  59. package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.stories.js +1667 -0
  60. package/es/components/pisellFloorMapLayout/components/CanvasTabs.d.ts +27 -0
  61. package/es/components/pisellFloorMapLayout/components/CanvasTabs.js +203 -0
  62. package/es/components/pisellFloorMapLayout/components/CanvasTabs.less +189 -0
  63. package/es/components/pisellFloorMapLayout/components/EditableItemLayer.d.ts +37 -0
  64. package/es/components/pisellFloorMapLayout/components/EditableItemLayer.js +341 -0
  65. package/es/components/pisellFloorMapLayout/components/EditableItemLayer.less +89 -0
  66. package/es/components/pisellFloorMapLayout/components/FigmaTableCard.d.ts +43 -0
  67. package/es/components/pisellFloorMapLayout/components/FigmaTableCard.js +436 -0
  68. package/es/components/pisellFloorMapLayout/components/FloorMapDataForm.d.ts +21 -0
  69. package/es/components/pisellFloorMapLayout/components/FloorMapDataForm.js +133 -0
  70. package/es/components/pisellFloorMapLayout/components/FloorMapDataForm.less +7 -0
  71. package/es/components/pisellFloorMapLayout/components/FloorMapEditPanel.d.ts +14 -0
  72. package/es/components/pisellFloorMapLayout/components/FloorMapEditPanel.js +543 -0
  73. package/es/components/pisellFloorMapLayout/components/FloorMapEditPanel.less +162 -0
  74. package/es/components/pisellFloorMapLayout/components/FloorMapEditTopBar.d.ts +36 -0
  75. package/es/components/pisellFloorMapLayout/components/FloorMapEditTopBar.js +135 -0
  76. package/es/components/pisellFloorMapLayout/components/FloorMapEditTopBar.less +150 -0
  77. package/es/components/pisellFloorMapLayout/components/FloorMapImageElement.d.ts +9 -0
  78. package/es/components/pisellFloorMapLayout/components/FloorMapImageElement.js +71 -0
  79. package/es/components/pisellFloorMapLayout/components/FloorMapToolbar.d.ts +35 -0
  80. package/es/components/pisellFloorMapLayout/components/FloorMapToolbar.js +369 -0
  81. package/es/components/pisellFloorMapLayout/components/FloorMapToolbar.less +239 -0
  82. package/es/components/pisellFloorMapLayout/components/ItemLayer.js +195 -0
  83. package/es/components/pisellFloorMapLayout/components/ItemLayer.less +19 -0
  84. package/es/components/pisellFloorMapLayout/components/MapLayer.d.ts +27 -0
  85. package/es/components/pisellFloorMapLayout/components/MapLayer.js +85 -0
  86. package/es/components/pisellFloorMapLayout/components/MapLayer.less +7 -0
  87. package/es/components/pisellFloorMapLayout/components/ViewControls.d.ts +33 -0
  88. package/es/components/pisellFloorMapLayout/components/ViewControls.js +90 -0
  89. package/es/components/pisellFloorMapLayout/components/ViewControls.less +101 -0
  90. package/es/components/pisellFloorMapLayout/components/ViewControlsWithZoom.d.ts +16 -0
  91. package/es/components/pisellFloorMapLayout/components/ViewControlsWithZoom.js +29 -0
  92. package/es/components/pisellFloorMapLayout/components/index.d.ts +21 -0
  93. package/es/components/pisellFloorMapLayout/components/index.js +13 -0
  94. package/es/components/pisellFloorMapLayout/context/FloorMapLayoutContext.d.ts +16 -0
  95. package/es/components/pisellFloorMapLayout/context/FloorMapLayoutContext.js +21 -0
  96. package/es/components/pisellFloorMapLayout/context/mergeFloorMapLayoutContext.d.ts +5 -0
  97. package/es/components/pisellFloorMapLayout/context/mergeFloorMapLayoutContext.js +28 -0
  98. package/es/components/pisellFloorMapLayout/hooks/useFloorMapEditState.d.ts +63 -0
  99. package/es/components/pisellFloorMapLayout/hooks/useFloorMapEditState.js +562 -0
  100. package/es/components/pisellFloorMapLayout/hooks/useFloorMapPaletteTouchDrag.d.ts +21 -0
  101. package/es/components/pisellFloorMapLayout/hooks/useFloorMapPaletteTouchDrag.js +122 -0
  102. package/es/components/pisellFloorMapLayout/hooks/useFloorMapTransformMetrics.d.ts +67 -0
  103. package/es/components/pisellFloorMapLayout/hooks/useFloorMapTransformMetrics.js +399 -0
  104. package/es/components/pisellFloorMapLayout/index.d.ts +15 -0
  105. package/es/components/pisellFloorMapLayout/index.js +12 -0
  106. package/es/components/pisellFloorMapLayout/locales-ja.d.ts +104 -0
  107. package/es/components/pisellFloorMapLayout/locales-ja.js +103 -0
  108. package/es/components/pisellFloorMapLayout/locales-pt.d.ts +104 -0
  109. package/es/components/pisellFloorMapLayout/locales-pt.js +103 -0
  110. package/es/components/pisellFloorMapLayout/locales.d.ts +506 -0
  111. package/es/components/pisellFloorMapLayout/locales.js +310 -0
  112. package/es/components/pisellFloorMapLayout/types.d.ts +586 -0
  113. package/es/components/pisellFloorMapLayout/types.js +152 -0
  114. package/es/components/pisellFloorMapLayout/utils/floorMapCanvasDisplay.d.ts +20 -0
  115. package/es/components/pisellFloorMapLayout/utils/floorMapCanvasDisplay.js +129 -0
  116. package/es/components/pisellFloorMapLayout/utils/floorMapConfigMerge.d.ts +8 -0
  117. package/es/components/pisellFloorMapLayout/utils/floorMapConfigMerge.js +87 -0
  118. package/es/components/pisellFloorMapLayout/utils/floorMapDataRecordLabel.d.ts +8 -0
  119. package/es/components/pisellFloorMapLayout/utils/floorMapDataRecordLabel.js +15 -0
  120. package/es/components/pisellFloorMapLayout/utils/floorMapDropUtils.d.ts +27 -0
  121. package/es/components/pisellFloorMapLayout/utils/floorMapDropUtils.js +56 -0
  122. package/es/components/pisellFloorMapLayout/utils/floorMapElementKindUtils.d.ts +22 -0
  123. package/es/components/pisellFloorMapLayout/utils/floorMapElementKindUtils.js +156 -0
  124. package/es/components/pisellFloorMapLayout/utils/floorMapFallbackRender.d.ts +11 -0
  125. package/es/components/pisellFloorMapLayout/utils/floorMapFallbackRender.js +89 -0
  126. package/es/components/pisellFloorMapLayout/utils/floorMapStageDefaults.d.ts +8 -0
  127. package/es/components/pisellFloorMapLayout/utils/floorMapStageDefaults.js +8 -0
  128. package/es/components/pisellFloorMapLayout/utils/floorMapViewConfigDiff.d.ts +8 -0
  129. package/es/components/pisellFloorMapLayout/utils/floorMapViewConfigDiff.js +108 -0
  130. package/es/components/pisellFloorMapLayout/utils/layoutMeasurements.d.ts +30 -0
  131. package/es/components/pisellFloorMapLayout/utils/layoutMeasurements.js +125 -0
  132. package/es/components/pisellFloorMapLayout/utils/mergeCanvasesForTabs.d.ts +7 -0
  133. package/es/components/pisellFloorMapLayout/utils/mergeCanvasesForTabs.js +29 -0
  134. package/es/components/pisellFloorMapLayout/utils/snap.d.ts +10 -0
  135. package/es/components/pisellFloorMapLayout/utils/snap.js +21 -0
  136. package/es/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.d.ts +6 -0
  137. package/es/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.js +175 -0
  138. package/es/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.less +129 -0
  139. package/es/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.stories.js +237 -0
  140. package/es/components/pisellHierarchicalSummaryList/components/Row.d.ts +35 -0
  141. package/es/components/pisellHierarchicalSummaryList/components/Row.js +313 -0
  142. package/es/components/pisellHierarchicalSummaryList/components/index.js +1 -0
  143. package/es/components/pisellHierarchicalSummaryList/hooks/index.js +1 -0
  144. package/es/components/pisellHierarchicalSummaryList/hooks/useExpandedKeys.js +34 -0
  145. package/es/components/pisellHierarchicalSummaryList/index.js +5 -0
  146. package/es/components/pisellHierarchicalSummaryList/types.js +1 -0
  147. package/es/components/pisellModal/components/index.d.ts +1 -0
  148. package/es/components/pisellRecordBoard/PisellRecordBoard.d.ts +2 -1
  149. package/es/components/pisellRecordBoard/PisellRecordBoard.js +98 -18
  150. package/es/components/pisellRecordBoard/PisellRecordBoard.stories.d.ts +4 -0
  151. package/es/components/pisellRecordBoard/PisellRecordBoard.stories.js +1276 -344
  152. package/es/components/pisellRecordBoard/index.d.ts +8 -2
  153. package/es/components/pisellRecordBoard/index.js +4 -2
  154. package/es/components/pisellRecordBoard/shellFrame/ColumnSetting/index.js +1 -3
  155. package/es/components/pisellRecordBoard/shellFrame/FloorMap.d.ts +14 -0
  156. package/es/components/pisellRecordBoard/shellFrame/FloorMap.js +15 -0
  157. package/es/components/pisellRecordBoard/shellFrame/ShellBodyMetaContext.d.ts +16 -0
  158. package/es/components/pisellRecordBoard/shellFrame/ShellBodyMetaContext.js +11 -0
  159. package/es/components/pisellRecordBoard/shellFrame/ToolBar/ToolBarFilter.less +61 -0
  160. package/es/components/pisellRecordBoard/shellFrame/ToolBar/index.d.ts +1 -0
  161. package/es/components/pisellRecordBoard/shellFrame/ToolBar/index.js +69 -11
  162. package/es/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolbar.less +23 -0
  163. package/es/components/pisellRecordBoard/shellFrame/index.d.ts +6 -10
  164. package/es/components/pisellRecordBoard/shellFrame/index.js +111 -20
  165. package/es/components/pisellRecordBoard/shellFrame/shellFrameFloorMap.less +25 -0
  166. package/es/components/pisellRecordBoard/types.d.ts +68 -2
  167. package/es/components/pisellRecordBoard/utils/partitionShellFrameChildren.d.ts +15 -0
  168. package/es/components/pisellRecordBoard/utils/partitionShellFrameChildren.js +57 -0
  169. package/es/components/pisellRecordBoard/utils/recordBoardColumns.js +3 -2
  170. package/es/components/pisellReservationSchedule/PisellReservationSchedule.d.ts +10 -0
  171. package/es/components/pisellReservationSchedule/PisellReservationSchedule.js +156 -0
  172. package/es/components/pisellReservationSchedule/PisellReservationSchedule.less +88 -0
  173. package/es/components/pisellReservationSchedule/PisellReservationSchedule.stories.d.ts +12 -0
  174. package/es/components/pisellReservationSchedule/PisellReservationSchedule.stories.js +105 -0
  175. package/es/components/pisellReservationSchedule/index.d.ts +2 -0
  176. package/es/components/pisellReservationSchedule/index.js +1 -0
  177. package/es/components/pisellReservationSchedule/locales.d.ts +25 -0
  178. package/es/components/pisellReservationSchedule/locales.js +24 -0
  179. package/es/components/pisellReservationSchedule/types.d.ts +42 -0
  180. package/es/components/pisellReservationSchedule/types.js +1 -0
  181. package/es/components/pisellReservationScheduleBand/PisellReservationScheduleBand.d.ts +10 -0
  182. package/es/components/pisellReservationScheduleBand/PisellReservationScheduleBand.js +94 -0
  183. package/es/components/pisellReservationScheduleBand/PisellReservationScheduleBand.less +66 -0
  184. package/es/components/pisellReservationScheduleBand/PisellReservationScheduleBand.stories.d.ts +16 -0
  185. package/es/components/pisellReservationScheduleBand/PisellReservationScheduleBand.stories.js +197 -0
  186. package/es/components/pisellReservationScheduleBand/index.d.ts +2 -0
  187. package/es/components/pisellReservationScheduleBand/index.js +1 -0
  188. package/es/components/pisellReservationScheduleBand/types.d.ts +49 -0
  189. package/es/components/pisellReservationScheduleBand/types.js +1 -0
  190. package/es/components/pisellShellFrame/PisellShellFrame.less +11 -0
  191. package/es/components/pisellTimeNavigator/PisellTimeNavigator.d.ts +10 -0
  192. package/es/components/pisellTimeNavigator/PisellTimeNavigator.js +787 -0
  193. package/es/components/pisellTimeNavigator/PisellTimeNavigator.less +461 -0
  194. package/es/components/pisellTimeNavigator/PisellTimeNavigator.stories.d.ts +79 -0
  195. package/es/components/pisellTimeNavigator/PisellTimeNavigator.stories.js +290 -0
  196. package/es/components/pisellTimeNavigator/components/BackgroundLayer.js +30 -0
  197. package/es/components/pisellTimeNavigator/components/CursorLayer.d.ts +25 -0
  198. package/es/components/pisellTimeNavigator/components/CursorLayer.js +77 -0
  199. package/es/components/pisellTimeNavigator/components/GestureLayer.d.ts +33 -0
  200. package/es/components/pisellTimeNavigator/components/GestureLayer.js +91 -0
  201. package/es/components/pisellTimeNavigator/components/NowButton.d.ts +14 -0
  202. package/es/components/pisellTimeNavigator/components/NowButton.js +38 -0
  203. package/es/components/pisellTimeNavigator/components/ScaleLayer.d.ts +22 -0
  204. package/es/components/pisellTimeNavigator/components/ScaleLayer.js +73 -0
  205. package/es/components/pisellTimeNavigator/components/index.d.ts +5 -0
  206. package/es/components/pisellTimeNavigator/components/index.js +5 -0
  207. package/es/components/pisellTimeNavigator/hooks/index.d.ts +5 -0
  208. package/es/components/pisellTimeNavigator/hooks/index.js +3 -0
  209. package/es/components/pisellTimeNavigator/hooks/useDragInertia.js +109 -0
  210. package/es/components/pisellTimeNavigator/hooks/useRealtime.js +16 -0
  211. package/es/components/pisellTimeNavigator/hooks/useTimeAxis.js +76 -0
  212. package/es/components/pisellTimeNavigator/index.d.ts +5 -0
  213. package/es/components/pisellTimeNavigator/index.js +4 -0
  214. package/es/components/pisellTimeNavigator/locales.d.ts +22 -0
  215. package/es/components/pisellTimeNavigator/locales.js +21 -0
  216. package/es/components/pisellTimeNavigator/types.js +1 -0
  217. package/es/components/pisellTimeNavigator/utils/index.js +116 -0
  218. package/es/components/pisellWalletPassCard/index.js +1 -1
  219. package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
  220. package/es/components/productCard/components/Packages/utils.d.ts +1 -1
  221. package/es/components/table/Table/fields/date/index.d.ts +1 -0
  222. package/es/components/table/Table/fields/index.d.ts +3 -2
  223. package/es/components/table/Table/fields/link/index.d.ts +1 -0
  224. package/es/components/table/Table/fields/number/index.d.ts +1 -0
  225. package/es/components/table/Table/fields/numberRange/index.d.ts +1 -0
  226. package/es/components/table/Table/fields/oldRangePicker/index.d.ts +1 -0
  227. package/es/components/table/Table/fields/rangePicker/index.d.ts +1 -0
  228. package/es/components/table/Table/fields/search/index.d.ts +1 -0
  229. package/es/components/table/Table/fields/select/index.d.ts +1 -0
  230. package/es/components/table/Table/fields/text/index.d.ts +1 -0
  231. package/es/components/table/Table/fields/treeSelect/index.d.ts +1 -0
  232. package/es/components/table/Table/utils.d.ts +1 -1
  233. package/es/components/table/index.js +1 -1
  234. package/es/hooks/useResponsive.d.ts +1 -1
  235. package/es/index.d.ts +49 -33
  236. package/es/index.js +47 -27
  237. package/es/locales/en-US.d.ts +3 -0
  238. package/es/locales/en-US.js +3 -0
  239. package/es/locales/ja.d.ts +8 -0
  240. package/es/locales/ja.js +25 -7
  241. package/es/locales/pt.d.ts +8 -0
  242. package/es/locales/pt.js +21 -3
  243. package/es/locales/zh-CN.d.ts +3 -0
  244. package/es/locales/zh-CN.js +3 -0
  245. package/es/locales/zh-TW.d.ts +3 -0
  246. package/es/locales/zh-TW.js +3 -0
  247. package/lib/components/PisellCards/index.d.ts +1 -0
  248. package/lib/components/PisellFields/index.d.ts +1 -0
  249. package/lib/components/PisellLayouts/index.d.ts +11 -5
  250. package/lib/components/PisellLayouts/index.js +15 -1
  251. package/lib/components/PisellMetrics/index.d.ts +1 -0
  252. package/lib/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
  253. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +1 -0
  254. package/lib/components/dataSourceComponents/dataSourceSubForm/index.d.ts +13 -0
  255. package/lib/components/dataSourceComponents/dataSourceSubForm/index.js +229 -0
  256. package/lib/components/dataSourceComponents/dataSourceSubForm/index.less +19 -0
  257. package/lib/components/dataSourceComponents/dataSourceSubForm/schema-full-example.json +544 -0
  258. package/lib/components/dataSourceComponents/dataSourceSubForm/schema-simple-example.json +174 -0
  259. package/lib/components/dataSourceComponents/dataSourceSubForm/types.d.ts +117 -0
  260. package/lib/components/dataSourceComponents/dataSourceSubForm/types.js +17 -0
  261. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +1 -0
  262. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +2 -2
  263. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +1 -0
  264. package/lib/components/dataSourceComponents/fields/RecordListWrapper/ReadPretty.d.ts +9 -0
  265. package/lib/components/dataSourceComponents/fields/RecordListWrapper/ReadPretty.js +64 -0
  266. package/lib/components/dataSourceComponents/fields/RecordListWrapper/WithMode.d.ts +4 -0
  267. package/lib/components/dataSourceComponents/fields/RecordListWrapper/WithMode.js +157 -0
  268. package/lib/components/dataSourceComponents/fields/RecordListWrapper/index.d.ts +12 -0
  269. package/lib/components/dataSourceComponents/fields/RecordListWrapper/index.js +40 -0
  270. package/lib/components/dataSourceComponents/fields/RecordListWrapper/type.d.ts +87 -0
  271. package/lib/components/dataSourceComponents/fields/RecordListWrapper/type.js +17 -0
  272. package/lib/components/dataSourceComponents/fields/Select/index.d.ts +1 -1
  273. package/lib/components/dataSourceComponents/fields/Tabs/ReadPretty.d.ts +9 -0
  274. package/lib/components/dataSourceComponents/fields/Tabs/ReadPretty.js +45 -0
  275. package/lib/components/dataSourceComponents/fields/Tabs/Tabs.d.ts +23 -0
  276. package/lib/components/dataSourceComponents/fields/Tabs/Tabs.js +95 -0
  277. package/lib/components/dataSourceComponents/fields/Tabs/Tabs.less +64 -0
  278. package/lib/components/dataSourceComponents/fields/Tabs/WithMode.d.ts +6 -0
  279. package/lib/components/dataSourceComponents/fields/Tabs/WithMode.js +39 -0
  280. package/lib/components/dataSourceComponents/fields/Tabs/index.d.ts +13 -0
  281. package/lib/components/dataSourceComponents/fields/Tabs/index.js +40 -0
  282. package/lib/components/dataSourceComponents/fields/Tabs/type.d.ts +38 -0
  283. package/lib/components/dataSourceComponents/fields/Tabs/type.js +17 -0
  284. package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  285. package/lib/components/dataSourceComponents/fields/index.d.ts +50 -11
  286. package/lib/components/dataSourceComponents/fields/index.js +5 -1
  287. package/lib/components/dataSourceComponents/fields/utils.js +3 -0
  288. package/lib/components/date-picker/index.d.ts +1 -0
  289. package/lib/components/pisellDataSourceContainer/hooks/useDataSourceKey.d.ts +1 -0
  290. package/lib/components/pisellFilter/type.d.ts +4 -2
  291. package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.d.ts +12 -0
  292. package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.js +709 -0
  293. package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.less +92 -0
  294. package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.stories.d.ts +55 -0
  295. package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.stories.js +1353 -0
  296. package/lib/components/pisellFloorMapLayout/components/CanvasTabs.d.ts +27 -0
  297. package/lib/components/pisellFloorMapLayout/components/CanvasTabs.js +237 -0
  298. package/lib/components/pisellFloorMapLayout/components/CanvasTabs.less +189 -0
  299. package/lib/components/pisellFloorMapLayout/components/EditableItemLayer.d.ts +37 -0
  300. package/lib/components/pisellFloorMapLayout/components/EditableItemLayer.js +358 -0
  301. package/lib/components/pisellFloorMapLayout/components/EditableItemLayer.less +89 -0
  302. package/lib/components/pisellFloorMapLayout/components/FigmaTableCard.d.ts +43 -0
  303. package/lib/components/pisellFloorMapLayout/components/FigmaTableCard.js +486 -0
  304. package/lib/components/pisellFloorMapLayout/components/FloorMapDataForm.d.ts +21 -0
  305. package/lib/components/pisellFloorMapLayout/components/FloorMapDataForm.js +119 -0
  306. package/lib/components/pisellFloorMapLayout/components/FloorMapDataForm.less +7 -0
  307. package/lib/components/pisellFloorMapLayout/components/FloorMapEditPanel.d.ts +14 -0
  308. package/lib/components/pisellFloorMapLayout/components/FloorMapEditPanel.js +556 -0
  309. package/lib/components/pisellFloorMapLayout/components/FloorMapEditPanel.less +162 -0
  310. package/lib/components/pisellFloorMapLayout/components/FloorMapEditTopBar.d.ts +36 -0
  311. package/lib/components/pisellFloorMapLayout/components/FloorMapEditTopBar.js +199 -0
  312. package/lib/components/pisellFloorMapLayout/components/FloorMapEditTopBar.less +150 -0
  313. package/lib/components/pisellFloorMapLayout/components/FloorMapImageElement.d.ts +9 -0
  314. package/lib/components/pisellFloorMapLayout/components/FloorMapImageElement.js +96 -0
  315. package/lib/components/pisellFloorMapLayout/components/FloorMapToolbar.d.ts +35 -0
  316. package/lib/components/pisellFloorMapLayout/components/FloorMapToolbar.js +348 -0
  317. package/lib/components/pisellFloorMapLayout/components/FloorMapToolbar.less +239 -0
  318. package/lib/components/pisellFloorMapLayout/components/ItemLayer.js +219 -0
  319. package/lib/components/pisellFloorMapLayout/components/ItemLayer.less +19 -0
  320. package/lib/components/pisellFloorMapLayout/components/MapLayer.d.ts +27 -0
  321. package/lib/components/pisellFloorMapLayout/components/MapLayer.js +110 -0
  322. package/lib/components/pisellFloorMapLayout/components/MapLayer.less +7 -0
  323. package/lib/components/pisellFloorMapLayout/components/ViewControls.d.ts +33 -0
  324. package/lib/components/pisellFloorMapLayout/components/ViewControls.js +127 -0
  325. package/lib/components/pisellFloorMapLayout/components/ViewControls.less +101 -0
  326. package/lib/components/pisellFloorMapLayout/components/ViewControlsWithZoom.d.ts +16 -0
  327. package/lib/components/pisellFloorMapLayout/components/ViewControlsWithZoom.js +65 -0
  328. package/lib/components/pisellFloorMapLayout/components/index.d.ts +21 -0
  329. package/lib/components/pisellFloorMapLayout/components/index.js +56 -0
  330. package/lib/components/pisellFloorMapLayout/context/FloorMapLayoutContext.d.ts +16 -0
  331. package/lib/components/pisellFloorMapLayout/context/FloorMapLayoutContext.js +54 -0
  332. package/lib/components/pisellFloorMapLayout/context/mergeFloorMapLayoutContext.d.ts +5 -0
  333. package/lib/components/pisellFloorMapLayout/context/mergeFloorMapLayoutContext.js +47 -0
  334. package/lib/components/pisellFloorMapLayout/hooks/useFloorMapEditState.d.ts +63 -0
  335. package/lib/components/pisellFloorMapLayout/hooks/useFloorMapEditState.js +546 -0
  336. package/lib/components/pisellFloorMapLayout/hooks/useFloorMapPaletteTouchDrag.d.ts +21 -0
  337. package/lib/components/pisellFloorMapLayout/hooks/useFloorMapPaletteTouchDrag.js +146 -0
  338. package/lib/components/pisellFloorMapLayout/hooks/useFloorMapTransformMetrics.d.ts +67 -0
  339. package/lib/components/pisellFloorMapLayout/hooks/useFloorMapTransformMetrics.js +382 -0
  340. package/lib/components/pisellFloorMapLayout/index.d.ts +15 -0
  341. package/lib/components/pisellFloorMapLayout/index.js +64 -0
  342. package/lib/components/pisellFloorMapLayout/locales-ja.d.ts +104 -0
  343. package/lib/components/pisellFloorMapLayout/locales-ja.js +124 -0
  344. package/lib/components/pisellFloorMapLayout/locales-pt.d.ts +104 -0
  345. package/lib/components/pisellFloorMapLayout/locales-pt.js +124 -0
  346. package/lib/components/pisellFloorMapLayout/locales.d.ts +506 -0
  347. package/lib/components/pisellFloorMapLayout/locales.js +340 -0
  348. package/lib/components/pisellFloorMapLayout/types.d.ts +586 -0
  349. package/lib/components/pisellFloorMapLayout/types.js +32 -0
  350. package/lib/components/pisellFloorMapLayout/utils/floorMapCanvasDisplay.d.ts +20 -0
  351. package/lib/components/pisellFloorMapLayout/utils/floorMapCanvasDisplay.js +126 -0
  352. package/lib/components/pisellFloorMapLayout/utils/floorMapConfigMerge.d.ts +8 -0
  353. package/lib/components/pisellFloorMapLayout/utils/floorMapConfigMerge.js +66 -0
  354. package/lib/components/pisellFloorMapLayout/utils/floorMapDataRecordLabel.d.ts +8 -0
  355. package/lib/components/pisellFloorMapLayout/utils/floorMapDataRecordLabel.js +38 -0
  356. package/lib/components/pisellFloorMapLayout/utils/floorMapDropUtils.d.ts +27 -0
  357. package/lib/components/pisellFloorMapLayout/utils/floorMapDropUtils.js +67 -0
  358. package/lib/components/pisellFloorMapLayout/utils/floorMapElementKindUtils.d.ts +22 -0
  359. package/lib/components/pisellFloorMapLayout/utils/floorMapElementKindUtils.js +142 -0
  360. package/lib/components/pisellFloorMapLayout/utils/floorMapFallbackRender.d.ts +11 -0
  361. package/lib/components/pisellFloorMapLayout/utils/floorMapFallbackRender.js +136 -0
  362. package/lib/components/pisellFloorMapLayout/utils/floorMapStageDefaults.d.ts +8 -0
  363. package/lib/components/pisellFloorMapLayout/utils/floorMapStageDefaults.js +33 -0
  364. package/lib/components/pisellFloorMapLayout/utils/floorMapViewConfigDiff.d.ts +8 -0
  365. package/lib/components/pisellFloorMapLayout/utils/floorMapViewConfigDiff.js +128 -0
  366. package/lib/components/pisellFloorMapLayout/utils/layoutMeasurements.d.ts +30 -0
  367. package/lib/components/pisellFloorMapLayout/utils/layoutMeasurements.js +96 -0
  368. package/lib/components/pisellFloorMapLayout/utils/mergeCanvasesForTabs.d.ts +7 -0
  369. package/lib/components/pisellFloorMapLayout/utils/mergeCanvasesForTabs.js +41 -0
  370. package/lib/components/pisellFloorMapLayout/utils/snap.d.ts +10 -0
  371. package/lib/components/pisellFloorMapLayout/utils/snap.js +43 -0
  372. package/lib/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.d.ts +6 -0
  373. package/lib/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.js +179 -0
  374. package/lib/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.less +129 -0
  375. package/lib/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.stories.js +185 -0
  376. package/lib/components/pisellHierarchicalSummaryList/components/Row.d.ts +35 -0
  377. package/lib/components/pisellHierarchicalSummaryList/components/Row.js +343 -0
  378. package/lib/components/pisellHierarchicalSummaryList/components/index.js +29 -0
  379. package/lib/components/pisellHierarchicalSummaryList/hooks/index.js +29 -0
  380. package/lib/components/pisellHierarchicalSummaryList/hooks/useExpandedKeys.js +49 -0
  381. package/lib/components/pisellHierarchicalSummaryList/index.js +31 -0
  382. package/lib/components/pisellHierarchicalSummaryList/types.js +17 -0
  383. package/lib/components/pisellModal/components/index.d.ts +1 -0
  384. package/lib/components/pisellRecordBoard/PisellRecordBoard.d.ts +2 -1
  385. package/lib/components/pisellRecordBoard/PisellRecordBoard.js +86 -8
  386. package/lib/components/pisellRecordBoard/PisellRecordBoard.stories.d.ts +4 -0
  387. package/lib/components/pisellRecordBoard/PisellRecordBoard.stories.js +915 -25
  388. package/lib/components/pisellRecordBoard/index.d.ts +8 -2
  389. package/lib/components/pisellRecordBoard/index.js +6 -2
  390. package/lib/components/pisellRecordBoard/shellFrame/ColumnSetting/index.js +8 -2
  391. package/lib/components/pisellRecordBoard/shellFrame/FloorMap.d.ts +14 -0
  392. package/lib/components/pisellRecordBoard/shellFrame/FloorMap.js +27 -0
  393. package/lib/components/pisellRecordBoard/shellFrame/ShellBodyMetaContext.d.ts +16 -0
  394. package/lib/components/pisellRecordBoard/shellFrame/ShellBodyMetaContext.js +45 -0
  395. package/lib/components/pisellRecordBoard/shellFrame/ToolBar/ToolBarFilter.less +61 -0
  396. package/lib/components/pisellRecordBoard/shellFrame/ToolBar/index.d.ts +1 -0
  397. package/lib/components/pisellRecordBoard/shellFrame/ToolBar/index.js +60 -8
  398. package/lib/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolbar.less +23 -0
  399. package/lib/components/pisellRecordBoard/shellFrame/index.d.ts +6 -10
  400. package/lib/components/pisellRecordBoard/shellFrame/index.js +101 -9
  401. package/lib/components/pisellRecordBoard/shellFrame/shellFrameFloorMap.less +25 -0
  402. package/lib/components/pisellRecordBoard/types.d.ts +68 -2
  403. package/lib/components/pisellRecordBoard/utils/partitionShellFrameChildren.d.ts +15 -0
  404. package/lib/components/pisellRecordBoard/utils/partitionShellFrameChildren.js +88 -0
  405. package/lib/components/pisellRecordBoard/utils/recordBoardColumns.js +11 -1
  406. package/lib/components/pisellReservationSchedule/PisellReservationSchedule.d.ts +10 -0
  407. package/lib/components/pisellReservationSchedule/PisellReservationSchedule.js +200 -0
  408. package/lib/components/pisellReservationSchedule/PisellReservationSchedule.less +88 -0
  409. package/lib/components/pisellReservationSchedule/PisellReservationSchedule.stories.d.ts +12 -0
  410. package/lib/components/pisellReservationSchedule/PisellReservationSchedule.stories.js +116 -0
  411. package/lib/components/pisellReservationSchedule/index.d.ts +2 -0
  412. package/lib/components/pisellReservationSchedule/index.js +29 -0
  413. package/lib/components/pisellReservationSchedule/locales.d.ts +25 -0
  414. package/lib/components/pisellReservationSchedule/locales.js +47 -0
  415. package/lib/components/pisellReservationSchedule/types.d.ts +42 -0
  416. package/lib/components/pisellReservationSchedule/types.js +17 -0
  417. package/lib/components/pisellReservationScheduleBand/PisellReservationScheduleBand.d.ts +10 -0
  418. package/lib/components/pisellReservationScheduleBand/PisellReservationScheduleBand.js +128 -0
  419. package/lib/components/pisellReservationScheduleBand/PisellReservationScheduleBand.less +66 -0
  420. package/lib/components/pisellReservationScheduleBand/PisellReservationScheduleBand.stories.d.ts +16 -0
  421. package/lib/components/pisellReservationScheduleBand/PisellReservationScheduleBand.stories.js +181 -0
  422. package/lib/components/pisellReservationScheduleBand/index.d.ts +2 -0
  423. package/lib/components/pisellReservationScheduleBand/index.js +29 -0
  424. package/lib/components/pisellReservationScheduleBand/types.d.ts +49 -0
  425. package/lib/components/pisellReservationScheduleBand/types.js +17 -0
  426. package/lib/components/pisellShellFrame/PisellShellFrame.less +11 -0
  427. package/lib/components/pisellTimeNavigator/PisellTimeNavigator.d.ts +10 -0
  428. package/lib/components/pisellTimeNavigator/PisellTimeNavigator.js +901 -0
  429. package/lib/components/pisellTimeNavigator/PisellTimeNavigator.less +461 -0
  430. package/lib/components/pisellTimeNavigator/PisellTimeNavigator.stories.d.ts +79 -0
  431. package/lib/components/pisellTimeNavigator/PisellTimeNavigator.stories.js +273 -0
  432. package/lib/components/pisellTimeNavigator/components/BackgroundLayer.js +78 -0
  433. package/lib/components/pisellTimeNavigator/components/CursorLayer.d.ts +25 -0
  434. package/lib/components/pisellTimeNavigator/components/CursorLayer.js +111 -0
  435. package/lib/components/pisellTimeNavigator/components/GestureLayer.d.ts +33 -0
  436. package/lib/components/pisellTimeNavigator/components/GestureLayer.js +170 -0
  437. package/lib/components/pisellTimeNavigator/components/NowButton.d.ts +14 -0
  438. package/lib/components/pisellTimeNavigator/components/NowButton.js +81 -0
  439. package/lib/components/pisellTimeNavigator/components/ScaleLayer.d.ts +22 -0
  440. package/lib/components/pisellTimeNavigator/components/ScaleLayer.js +116 -0
  441. package/lib/components/pisellTimeNavigator/components/index.d.ts +5 -0
  442. package/lib/components/pisellTimeNavigator/components/index.js +41 -0
  443. package/lib/components/pisellTimeNavigator/hooks/index.d.ts +5 -0
  444. package/lib/components/pisellTimeNavigator/hooks/index.js +35 -0
  445. package/lib/components/pisellTimeNavigator/hooks/useDragInertia.js +136 -0
  446. package/lib/components/pisellTimeNavigator/hooks/useRealtime.js +49 -0
  447. package/lib/components/pisellTimeNavigator/hooks/useTimeAxis.js +87 -0
  448. package/lib/components/pisellTimeNavigator/index.d.ts +5 -0
  449. package/lib/components/pisellTimeNavigator/index.js +47 -0
  450. package/lib/components/pisellTimeNavigator/locales.d.ts +22 -0
  451. package/lib/components/pisellTimeNavigator/locales.js +41 -0
  452. package/lib/components/pisellTimeNavigator/types.js +17 -0
  453. package/lib/components/pisellTimeNavigator/utils/index.js +107 -0
  454. package/lib/components/pisellWalletPassCard/index.js +1 -1
  455. package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
  456. package/lib/components/productCard/components/Packages/utils.d.ts +1 -1
  457. package/lib/components/table/Table/fields/date/index.d.ts +1 -0
  458. package/lib/components/table/Table/fields/index.d.ts +3 -2
  459. package/lib/components/table/Table/fields/link/index.d.ts +1 -0
  460. package/lib/components/table/Table/fields/number/index.d.ts +1 -0
  461. package/lib/components/table/Table/fields/numberRange/index.d.ts +1 -0
  462. package/lib/components/table/Table/fields/oldRangePicker/index.d.ts +1 -0
  463. package/lib/components/table/Table/fields/rangePicker/index.d.ts +1 -0
  464. package/lib/components/table/Table/fields/search/index.d.ts +1 -0
  465. package/lib/components/table/Table/fields/select/index.d.ts +1 -0
  466. package/lib/components/table/Table/fields/text/index.d.ts +1 -0
  467. package/lib/components/table/Table/fields/treeSelect/index.d.ts +1 -0
  468. package/lib/components/table/Table/utils.d.ts +1 -1
  469. package/lib/components/table/index.js +2 -2
  470. package/lib/hooks/useResponsive.d.ts +1 -1
  471. package/lib/index.d.ts +49 -33
  472. package/lib/index.js +93 -27
  473. package/lib/locales/en-US.d.ts +3 -0
  474. package/lib/locales/en-US.js +3 -0
  475. package/lib/locales/ja.d.ts +8 -0
  476. package/lib/locales/ja.js +22 -1
  477. package/lib/locales/pt.d.ts +8 -0
  478. package/lib/locales/pt.js +22 -1
  479. package/lib/locales/zh-CN.d.ts +3 -0
  480. package/lib/locales/zh-CN.js +3 -0
  481. package/lib/locales/zh-TW.d.ts +3 -0
  482. package/lib/locales/zh-TW.js +3 -0
  483. package/lowcode/data-source-form/constants.ts +3 -0
  484. package/lowcode/data-source-form/utils.ts +31 -5
  485. package/lowcode/data-source-sub-form/meta.ts +259 -0
  486. package/lowcode/data-source-sub-form/snippets.ts +21 -0
  487. package/lowcode/floor-map-image-element/meta.ts +113 -0
  488. package/lowcode/floor-map-layout-provider/meta.ts +65 -0
  489. package/lowcode/form-item-record-list-wrapper/meta.ts +180 -0
  490. package/lowcode/form-item-record-list-wrapper/snippets.ts +18 -0
  491. package/lowcode/form-item-tabs/meta.ts +172 -0
  492. package/lowcode/pisell-floor-map-layout/meta.ts +5599 -0
  493. package/lowcode/pisell-hierarchical-summary-list/meta.ts +240 -0
  494. package/lowcode/pisell-reservation-schedule/index.ts +3 -0
  495. package/lowcode/pisell-reservation-schedule/meta.ts +69 -0
  496. package/lowcode/pisell-reservation-schedule/snippets.ts +1 -0
  497. package/lowcode/pisell-reservation-schedule-band/index.ts +3 -0
  498. package/lowcode/pisell-reservation-schedule-band/meta.ts +96 -0
  499. package/lowcode/pisell-reservation-schedule-band/snippets.ts +1 -0
  500. package/lowcode/pisell-time-navigator/index.ts +3 -0
  501. package/lowcode/pisell-time-navigator/meta.ts +298 -0
  502. package/lowcode/pisell-time-navigator/snippets.ts +1 -0
  503. package/lowcode/render-figma-style-round-table-card/meta.ts +589 -0
  504. package/lowcode/render-figma-style-table-card/meta.ts +589 -0
  505. package/package.json +4 -3
  506. package/es/components/PisellCards/components/GraphicTextCard/types.d.ts +0 -290
  507. package/es/components/PisellCards/components/TextCard/TextCard.d.ts +0 -8
  508. package/es/components/PisellCards/components/TextCard/components/BadgeWrapper.d.ts +0 -26
  509. package/es/components/PisellCards/components/TextCard/components/TextContent.d.ts +0 -21
  510. package/es/components/PisellCards/components/TextCard/types.d.ts +0 -270
  511. package/es/components/PisellSteps/PisellSteps.d.ts +0 -14
  512. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -4
  513. package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -84
  514. package/es/components/drag-sort-tree/index.d.ts +0 -5
  515. package/es/components/iconfont/index.d.ts +0 -8
  516. package/es/components/login-and-register/index.d.ts +0 -82
  517. package/es/components/pisell-config-provider/index.d.ts +0 -13
  518. package/es/components/pisellEmpty/index.d.ts +0 -19
  519. package/es/components/pisellGridPro/index.d.ts +0 -4
  520. package/es/components/pisellLookup/components/LookupTrigger.d.ts +0 -3
  521. package/es/components/productCard/cartSkuCard/components/Gift/types.d.ts +0 -29
  522. package/es/components/productCard/cartSkuCard/components/Promotion/index.d.ts +0 -7
  523. package/es/components/productCard/cartSkuCard/locales.d.ts +0 -178
  524. package/es/components/productCard/components/Header/DeleteButton/index.d.ts +0 -4
  525. package/es/components/productCard/status.d.ts +0 -32
  526. package/es/components/productCard/types.d.ts +0 -95
  527. package/es/components/table/Actions/component/ViewMode/index.d.ts +0 -9
  528. package/es/components/table/types.d.ts +0 -268
  529. package/es/components/versionModal/index.d.ts +0 -23
  530. package/lib/components/PisellCards/components/GraphicTextCard/types.d.ts +0 -290
  531. package/lib/components/PisellCards/components/TextCard/TextCard.d.ts +0 -8
  532. package/lib/components/PisellCards/components/TextCard/components/BadgeWrapper.d.ts +0 -26
  533. package/lib/components/PisellCards/components/TextCard/components/TextContent.d.ts +0 -21
  534. package/lib/components/PisellCards/components/TextCard/types.d.ts +0 -270
  535. package/lib/components/PisellSteps/PisellSteps.d.ts +0 -14
  536. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -4
  537. package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -84
  538. package/lib/components/drag-sort-tree/index.d.ts +0 -5
  539. package/lib/components/iconfont/index.d.ts +0 -8
  540. package/lib/components/login-and-register/index.d.ts +0 -82
  541. package/lib/components/pisell-config-provider/index.d.ts +0 -13
  542. package/lib/components/pisellEmpty/index.d.ts +0 -19
  543. package/lib/components/pisellGridPro/index.d.ts +0 -4
  544. package/lib/components/pisellLookup/components/LookupTrigger.d.ts +0 -3
  545. package/lib/components/productCard/cartSkuCard/components/Gift/types.d.ts +0 -29
  546. package/lib/components/productCard/cartSkuCard/components/Promotion/index.d.ts +0 -7
  547. package/lib/components/productCard/cartSkuCard/locales.d.ts +0 -178
  548. package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +0 -4
  549. package/lib/components/productCard/status.d.ts +0 -32
  550. package/lib/components/productCard/types.d.ts +0 -95
  551. package/lib/components/table/Actions/component/ViewMode/index.d.ts +0 -9
  552. package/lib/components/table/types.d.ts +0 -268
  553. package/lib/components/versionModal/index.d.ts +0 -23
@@ -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
+ }
@@ -0,0 +1,17 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __copyProps = (to, from, except, desc) => {
6
+ if (from && typeof from === "object" || typeof from === "function") {
7
+ for (let key of __getOwnPropNames(from))
8
+ if (!__hasOwnProp.call(to, key) && key !== except)
9
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
10
+ }
11
+ return to;
12
+ };
13
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
14
+
15
+ // src/components/dataSourceComponents/dataSourceSubForm/types.ts
16
+ var types_exports = {};
17
+ module.exports = __toCommonJS(types_exports);
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const useDataSourceKey: () => {
2
3
  dataSourceKey: string | undefined;
3
4
  dataSourceKeyRef: import("react").MutableRefObject<string | undefined>;
@@ -54,7 +54,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
54
54
  width: number;
55
55
  align: "center" | "left" | "right";
56
56
  fixed: false | "left" | "right";
57
- type: "button" | "link";
57
+ type: "link" | "button";
58
58
  items: OperationItem[];
59
59
  } | undefined;
60
60
  operationContent?: {
@@ -72,7 +72,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
72
72
  useCustomAction: boolean;
73
73
  actionType: string;
74
74
  openMode: "modal" | "drawer";
75
- openContentSize: "small" | "middle" | "large";
75
+ openContentSize: "small" | "large" | "middle";
76
76
  openTitle: string;
77
77
  key: string;
78
78
  } | undefined;
@@ -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,9 @@
1
+ import React from 'react';
2
+ import { RecordListWrapperProps } from './type';
3
+ /**
4
+ * @title: RecordListWrapper 只读态
5
+ * @description: 低代码详情模式下展示每个 option 对应的 record 数据。
6
+ * 值结构: { optionValue: { field1: v1, field2: v2 } }
7
+ */
8
+ declare const RecordListWrapperReadPretty: React.FC<RecordListWrapperProps>;
9
+ export default RecordListWrapperReadPretty;
@@ -0,0 +1,64 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
27
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+
29
+ // src/components/dataSourceComponents/fields/RecordListWrapper/ReadPretty.tsx
30
+ var ReadPretty_exports = {};
31
+ __export(ReadPretty_exports, {
32
+ default: () => ReadPretty_default
33
+ });
34
+ module.exports = __toCommonJS(ReadPretty_exports);
35
+ var import_react = __toESM(require("react"));
36
+ var RecordListWrapperReadPretty = (props) => {
37
+ const { value, options = [] } = props;
38
+ const safeValue = value && typeof value === "object" && !Array.isArray(value) ? value : {};
39
+ const entries = Object.entries(safeValue);
40
+ if (!entries.length) {
41
+ return /* @__PURE__ */ import_react.default.createElement("span", null, "-");
42
+ }
43
+ return /* @__PURE__ */ import_react.default.createElement("div", null, /* @__PURE__ */ import_react.default.createElement("div", { style: { marginBottom: 8 } }, "Records: ", entries.length), entries.map(([key, record]) => {
44
+ const option = options.find((o) => String(o.value) === key);
45
+ const label = (option == null ? void 0 : option.label) || key;
46
+ const displayLabel = typeof label === "object" ? JSON.stringify(label) : label;
47
+ return /* @__PURE__ */ import_react.default.createElement("div", { key, style: { marginBottom: 8 } }, /* @__PURE__ */ import_react.default.createElement("div", { style: { fontWeight: 500, marginBottom: 4 } }, displayLabel), /* @__PURE__ */ import_react.default.createElement(
48
+ "pre",
49
+ {
50
+ style: {
51
+ margin: 0,
52
+ padding: 8,
53
+ background: "#f7f8fa",
54
+ borderRadius: 4,
55
+ fontSize: 12,
56
+ maxHeight: 200,
57
+ overflow: "auto"
58
+ }
59
+ },
60
+ JSON.stringify(record, null, 2)
61
+ ));
62
+ }));
63
+ };
64
+ var ReadPretty_default = RecordListWrapperReadPretty;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { RecordListWrapperProps } from './type';
3
+ declare const RecordListWrapperWithMode: React.FC<RecordListWrapperProps & import("../../dataSourceForm/utils").WithModeProps>;
4
+ export default RecordListWrapperWithMode;
@@ -0,0 +1,157 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
27
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+
29
+ // src/components/dataSourceComponents/fields/RecordListWrapper/WithMode.tsx
30
+ var WithMode_exports = {};
31
+ __export(WithMode_exports, {
32
+ default: () => WithMode_default
33
+ });
34
+ module.exports = __toCommonJS(WithMode_exports);
35
+ var import_react = __toESM(require("react"));
36
+ var import_utils = require("../../dataSourceForm/utils");
37
+ var import_ReadPretty = __toESM(require("./ReadPretty"));
38
+ var import_Tabs = __toESM(require("../Tabs/Tabs"));
39
+ var import_dataSourceSubForm = __toESM(require("../../dataSourceSubForm"));
40
+ var RecordListWrapperBase = (props) => {
41
+ const {
42
+ value,
43
+ onChange,
44
+ options = [],
45
+ children,
46
+ xRecordSchema,
47
+ topSlot,
48
+ slot,
49
+ renderMode,
50
+ __designMode,
51
+ defaultValue
52
+ } = props;
53
+ const isMounted = (0, import_react.useRef)(false);
54
+ const dataSourceSubFormRef = (0, import_react.useRef)(null);
55
+ const safeValue = (0, import_react.useMemo)(() => {
56
+ if (value && typeof value === "object" && !Array.isArray(value)) {
57
+ return value;
58
+ }
59
+ return {};
60
+ }, [value]);
61
+ const [activeKey, setActiveKey] = (0, import_react.useState)(() => {
62
+ var _a;
63
+ if (defaultValue != null) return String(defaultValue);
64
+ return String(((_a = options[0]) == null ? void 0 : _a.value) || "");
65
+ });
66
+ (0, import_react.useEffect)(() => {
67
+ if (defaultValue != null) {
68
+ setActiveKey(String(defaultValue));
69
+ }
70
+ }, [defaultValue]);
71
+ (0, import_react.useEffect)(() => {
72
+ var _a;
73
+ if (options.length && !options.find((o) => String(o.value) === activeKey)) {
74
+ setActiveKey(
75
+ defaultValue != null ? String(defaultValue) : String(((_a = options[0]) == null ? void 0 : _a.value) || "")
76
+ );
77
+ }
78
+ }, [options]);
79
+ (0, import_react.useEffect)(() => {
80
+ var _a, _b;
81
+ if (isMounted.current) {
82
+ return;
83
+ }
84
+ if ((options == null ? void 0 : options.length) > 0 && dataSourceSubFormRef.current) {
85
+ const defaultValues = ((_b = (_a = dataSourceSubFormRef.current).getFieldsValue) == null ? void 0 : _b.call(_a)) ?? {};
86
+ const completeValue = options.reduce(
87
+ (acc, option) => {
88
+ if (option.value === null || option.value === void 0) return acc;
89
+ acc[String(option.value)] = {
90
+ ...defaultValues,
91
+ ...safeValue[String(option.value)] || {}
92
+ };
93
+ return acc;
94
+ },
95
+ {}
96
+ );
97
+ onChange == null ? void 0 : onChange(completeValue);
98
+ isMounted.current = true;
99
+ }
100
+ }, [options, safeValue]);
101
+ const renderTopSlot = () => {
102
+ const slotElement = topSlot || slot;
103
+ if (slotElement && import_react.default.isValidElement(slotElement)) {
104
+ return import_react.default.cloneElement(slotElement, {
105
+ options,
106
+ value: activeKey,
107
+ onChange: setActiveKey
108
+ });
109
+ }
110
+ const tabOptions = options.map((o) => ({
111
+ ...o,
112
+ label: o.label ?? String(o.value)
113
+ }));
114
+ if (!options.length) {
115
+ return /* @__PURE__ */ import_react.default.createElement("div", { style: { color: "#999", fontSize: 16 } }, "暂无选项,请配置数据源。");
116
+ }
117
+ return /* @__PURE__ */ import_react.default.createElement(
118
+ import_Tabs.default,
119
+ {
120
+ options: tabOptions,
121
+ value: activeKey,
122
+ onChange: (key) => setActiveKey(String(key)),
123
+ disabled: renderMode === "disabled"
124
+ }
125
+ );
126
+ };
127
+ const renderBottom = () => {
128
+ return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement(
129
+ import_dataSourceSubForm.default,
130
+ {
131
+ activeKey,
132
+ value: safeValue[activeKey],
133
+ onChange: (recordValue) => onChange == null ? void 0 : onChange({ ...safeValue || {}, [activeKey]: recordValue || {} }),
134
+ xRecordSchema,
135
+ renderMode,
136
+ __designMode
137
+ },
138
+ children
139
+ ), /* @__PURE__ */ import_react.default.createElement("div", { style: { width: "100%", height: 0, visibility: "hidden", overflow: "hidden" } }, /* @__PURE__ */ import_react.default.createElement(
140
+ import_dataSourceSubForm.default,
141
+ {
142
+ key: "record-list-wrapper-default-value-form",
143
+ ref: dataSourceSubFormRef,
144
+ xRecordSchema,
145
+ renderMode,
146
+ __designMode
147
+ },
148
+ children
149
+ )));
150
+ };
151
+ return /* @__PURE__ */ import_react.default.createElement("div", null, /* @__PURE__ */ import_react.default.createElement("div", { style: { marginBottom: 12 } }, renderTopSlot()), renderBottom());
152
+ };
153
+ var RecordListWrapperWithMode = (0, import_utils.withMode)(
154
+ RecordListWrapperBase,
155
+ import_ReadPretty.default
156
+ );
157
+ var WithMode_default = RecordListWrapperWithMode;
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ declare const RecordListWrapperWithDataSource: (props: import("./type").RecordListWrapperProps & import("../../dataSourceForm/utils").WithModeProps & import("../../dataSourceForm/utils").WithFormItemProps & {
3
+ options?: any;
4
+ optionSourceType?: "custom" | "default" | "api" | undefined;
5
+ labelField: string;
6
+ valueField: string;
7
+ extraParams?: Record<string, any> | undefined;
8
+ } & {
9
+ dataSource?: any;
10
+ extraParams?: Record<string, any> | undefined;
11
+ }) => React.JSX.Element;
12
+ export default RecordListWrapperWithDataSource;
@@ -0,0 +1,40 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
27
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+
29
+ // src/components/dataSourceComponents/fields/RecordListWrapper/index.tsx
30
+ var RecordListWrapper_exports = {};
31
+ __export(RecordListWrapper_exports, {
32
+ default: () => RecordListWrapper_default
33
+ });
34
+ module.exports = __toCommonJS(RecordListWrapper_exports);
35
+ var import_utils = require("../../dataSourceForm/utils");
36
+ var import_WithMode = __toESM(require("./WithMode"));
37
+ var RecordListWrapperWithFormItem = (0, import_utils.withFormItem)(import_WithMode.default);
38
+ var RecordListWrapperWithOptions = (0, import_utils.withOptions)(RecordListWrapperWithFormItem);
39
+ var RecordListWrapperWithDataSource = (0, import_utils.withDataSource)(RecordListWrapperWithOptions);
40
+ var RecordListWrapper_default = RecordListWrapperWithDataSource;
@@ -0,0 +1,87 @@
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
+ }
@@ -0,0 +1,17 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __copyProps = (to, from, except, desc) => {
6
+ if (from && typeof from === "object" || typeof from === "function") {
7
+ for (let key of __getOwnPropNames(from))
8
+ if (!__hasOwnProp.call(to, key) && key !== except)
9
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
10
+ }
11
+ return to;
12
+ };
13
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
14
+
15
+ // src/components/dataSourceComponents/fields/RecordListWrapper/type.ts
16
+ var type_exports = {};
17
+ module.exports = __toCommonJS(type_exports);
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  declare const SelectWithDataSource: (props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../../dataSourceForm/utils").WithModeProps & import("../../dataSourceForm/utils").WithFormItemProps & {
3
3
  options?: any;
4
- optionSourceType?: "default" | "custom" | "api" | undefined;
4
+ optionSourceType?: "custom" | "default" | "api" | undefined;
5
5
  labelField: string;
6
6
  valueField: string;
7
7
  extraParams?: Record<string, any> | undefined;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { TabsReadPrettyProps } from './type';
3
+ /**
4
+ * Tabs 只读展示组件
5
+ *
6
+ * @description 在 view / tableView 模式下展示选中的标签名称文本。
7
+ */
8
+ declare const TabsReadPretty: React.FC<TabsReadPrettyProps>;
9
+ export default TabsReadPretty;
@@ -0,0 +1,45 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
27
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+
29
+ // src/components/dataSourceComponents/fields/Tabs/ReadPretty.tsx
30
+ var ReadPretty_exports = {};
31
+ __export(ReadPretty_exports, {
32
+ default: () => ReadPretty_default
33
+ });
34
+ module.exports = __toCommonJS(ReadPretty_exports);
35
+ var import_useValueMap = __toESM(require("../../hooks/useValueMap"));
36
+ var import_utils = require("../../dataSourceForm/utils");
37
+ var TabsReadPretty = ({
38
+ value,
39
+ options,
40
+ renderMode
41
+ }) => {
42
+ const valueMap = (0, import_useValueMap.default)(options || []);
43
+ return (0, import_utils.renderValueWithMap)(value, valueMap, renderMode);
44
+ };
45
+ var ReadPretty_default = TabsReadPretty;
@@ -0,0 +1,23 @@
1
+ import React from 'react';
2
+ import { TabsProps } from './type';
3
+ import './Tabs.less';
4
+ /**
5
+ * Tabs 胶囊风格选项卡组件
6
+ *
7
+ * @description 提供类似 Segmented 控件的胶囊风格选项卡,支持受控与非受控模式。
8
+ * 用于表单中替代 Radio.Group,展示更为直观的标签页切换交互。
9
+ *
10
+ * @example
11
+ * ```tsx
12
+ * <Tabs
13
+ * value={current}
14
+ * options={[
15
+ * { label: '校区', value: 'campus' },
16
+ * { label: '场地', value: 'venue' },
17
+ * ]}
18
+ * onChange={(val) => setCurrent(val)}
19
+ * />
20
+ * ```
21
+ */
22
+ declare const Tabs: React.FC<TabsProps>;
23
+ export default Tabs;