@pisell/materials 6.11.55 → 6.11.57

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 (486) 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/drawer/index.js +12 -5
  8. package/lib/components/drawer/index.js +10 -4
  9. package/lowcode/pisell-record-board-calendar-view/meta.ts +1 -1
  10. package/package.json +3 -3
  11. package/es/components/Pagination/index.d.ts +0 -14
  12. package/es/components/PisellCards/components/MultilevelCard/components/PanelWrapper.d.ts +0 -7
  13. package/es/components/PisellLayouts/index.d.ts +0 -37
  14. package/es/components/PisellSteps/PisellSteps.d.ts +0 -14
  15. package/es/components/PisellSuperTabs/PisellSuperTabs.d.ts +0 -8
  16. package/es/components/PisellSuperTabs/hooks/useTabsState.d.ts +0 -7
  17. package/es/components/PisellSuperTabs/types.d.ts +0 -212
  18. package/es/components/PisellTabbar/PisellTabbar.d.ts +0 -20
  19. package/es/components/PisellTabbar/constants.d.ts +0 -47
  20. package/es/components/PisellTabbar/hooks/useActiveKey.d.ts +0 -55
  21. package/es/components/PisellTabbar/hooks/useExpand.d.ts +0 -42
  22. package/es/components/PisellTabbar/template/Template1/PisellTabbar.d.ts +0 -5
  23. package/es/components/PisellTabbar/template/Template1/constants.d.ts +0 -10
  24. package/es/components/PisellTabbar/types.d.ts +0 -90
  25. package/es/components/PisellTabbar/utils/index.d.ts +0 -69
  26. package/es/components/cardPro/index.d.ts +0 -4
  27. package/es/components/dataSourceComponents/dataSourceForm/BaseForm.d.ts +0 -3
  28. package/es/components/dataSourceComponents/dataSourceForm/provider/formSetting/FormSettingContext.d.ts +0 -18
  29. package/es/components/dataSourceComponents/dataSourceForm/provider/formSetting/FormSettingProvider.d.ts +0 -8
  30. package/es/components/dataSourceComponents/dataSourceForm/serve.d.ts +0 -201
  31. package/es/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +0 -39
  32. package/es/components/dataSourceComponents/dataSourceForm/type.d.ts +0 -35
  33. package/es/components/dataSourceComponents/dataSourceTable/BaseTable.d.ts +0 -8
  34. package/es/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +0 -26
  35. package/es/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +0 -27
  36. package/es/components/dataSourceComponents/hooks/useActions.d.ts +0 -18
  37. package/es/components/dataSourceComponents/provider/dataSource/DataSourceContext.d.ts +0 -121
  38. package/es/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +0 -15
  39. package/es/components/dataSourceComponents/provider/variables/VariablesProvider.d.ts +0 -4
  40. package/es/components/drag-sort-tree/TreeItem/index.d.ts +0 -19
  41. package/es/components/filter/components/FilterItem/index.d.ts +0 -5
  42. package/es/components/filter/components/QuickFilter/index.d.ts +0 -12
  43. package/es/components/iconfont/index.d.ts +0 -8
  44. package/es/components/page/index.d.ts +0 -9
  45. package/es/components/pisell-config-provider/context.d.ts +0 -22
  46. package/es/components/pisell-config-provider/index.d.ts +0 -13
  47. package/es/components/pisellAdjustPrice/index.d.ts +0 -5
  48. package/es/components/pisellAdjustPrice/status.d.ts +0 -32
  49. package/es/components/pisellAdjustPrice/type.d.ts +0 -22
  50. package/es/components/pisellCardList/index.d.ts +0 -107
  51. package/es/components/pisellCheckboxGroup/index.d.ts +0 -40
  52. package/es/components/pisellDataSourceContainer/components/Pagination/index.d.ts +0 -6
  53. package/es/components/pisellFilter/index.d.ts +0 -4
  54. package/es/components/pisellFilter/type.d.ts +0 -7
  55. package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.d.ts +0 -13
  56. package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.stories.d.ts +0 -55
  57. package/es/components/pisellFloorMapLayout/components/CanvasTabs.d.ts +0 -27
  58. package/es/components/pisellFloorMapLayout/components/EditableItemLayer.d.ts +0 -46
  59. package/es/components/pisellFloorMapLayout/components/FigmaTableCard.d.ts +0 -43
  60. package/es/components/pisellFloorMapLayout/components/FloorMapDataForm.d.ts +0 -21
  61. package/es/components/pisellFloorMapLayout/components/FloorMapEditPanel.d.ts +0 -14
  62. package/es/components/pisellFloorMapLayout/components/FloorMapEditQuickActions.d.ts +0 -24
  63. package/es/components/pisellFloorMapLayout/components/FloorMapEditTopBar.d.ts +0 -60
  64. package/es/components/pisellFloorMapLayout/components/FloorMapImageElement.d.ts +0 -9
  65. package/es/components/pisellFloorMapLayout/components/FloorMapToolbar.d.ts +0 -35
  66. package/es/components/pisellFloorMapLayout/components/HistoryIcons.d.ts +0 -39
  67. package/es/components/pisellFloorMapLayout/components/ItemLayer.d.ts +0 -57
  68. package/es/components/pisellFloorMapLayout/components/MapLayer.d.ts +0 -27
  69. package/es/components/pisellFloorMapLayout/components/ViewControls.d.ts +0 -55
  70. package/es/components/pisellFloorMapLayout/components/ViewControlsWithZoom.d.ts +0 -25
  71. package/es/components/pisellFloorMapLayout/components/index.d.ts +0 -21
  72. package/es/components/pisellFloorMapLayout/context/FloorMapLayoutContext.d.ts +0 -16
  73. package/es/components/pisellFloorMapLayout/context/mergeFloorMapLayoutContext.d.ts +0 -5
  74. package/es/components/pisellFloorMapLayout/floorMapLayoutConstants.d.ts +0 -4
  75. package/es/components/pisellFloorMapLayout/hooks/floorMapViewportPersistence.d.ts +0 -25
  76. package/es/components/pisellFloorMapLayout/hooks/useDraftConfigHistory.d.ts +0 -18
  77. package/es/components/pisellFloorMapLayout/hooks/useFloorMapEditState.d.ts +0 -71
  78. package/es/components/pisellFloorMapLayout/hooks/useFloorMapPaletteTouchDrag.d.ts +0 -21
  79. package/es/components/pisellFloorMapLayout/hooks/useFloorMapTransformMetrics.d.ts +0 -89
  80. package/es/components/pisellFloorMapLayout/hooks/useShopFloorPlanSubscription.d.ts +0 -19
  81. package/es/components/pisellFloorMapLayout/index.d.ts +0 -26
  82. package/es/components/pisellFloorMapLayout/locales-ja.d.ts +0 -133
  83. package/es/components/pisellFloorMapLayout/locales-pt.d.ts +0 -133
  84. package/es/components/pisellFloorMapLayout/locales.d.ts +0 -651
  85. package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanClient.d.ts +0 -10
  86. package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanMapping.d.ts +0 -18
  87. package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanPure.d.ts +0 -22
  88. package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanTypes.d.ts +0 -72
  89. package/es/components/pisellFloorMapLayout/types.d.ts +0 -646
  90. package/es/components/pisellFloorMapLayout/utils/floorMapCanvasDisplay.d.ts +0 -20
  91. package/es/components/pisellFloorMapLayout/utils/floorMapConfigMerge.d.ts +0 -8
  92. package/es/components/pisellFloorMapLayout/utils/floorMapDataBindingUtils.d.ts +0 -21
  93. package/es/components/pisellFloorMapLayout/utils/floorMapDataRecordLabel.d.ts +0 -8
  94. package/es/components/pisellFloorMapLayout/utils/floorMapDropUtils.d.ts +0 -27
  95. package/es/components/pisellFloorMapLayout/utils/floorMapElementKindUtils.d.ts +0 -22
  96. package/es/components/pisellFloorMapLayout/utils/floorMapElementNameAsTitle.d.ts +0 -50
  97. package/es/components/pisellFloorMapLayout/utils/floorMapFallbackRender.d.ts +0 -11
  98. package/es/components/pisellFloorMapLayout/utils/floorMapRemotePersist.d.ts +0 -17
  99. package/es/components/pisellFloorMapLayout/utils/floorMapStageDefaults.d.ts +0 -8
  100. package/es/components/pisellFloorMapLayout/utils/floorMapViewConfigDiff.d.ts +0 -8
  101. package/es/components/pisellFloorMapLayout/utils/layoutMeasurements.d.ts +0 -30
  102. package/es/components/pisellFloorMapLayout/utils/mergeCanvasesForTabs.d.ts +0 -7
  103. package/es/components/pisellFloorMapLayout/utils/snap.d.ts +0 -10
  104. package/es/components/pisellGoodPassCard/index.d.ts +0 -50
  105. package/es/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.d.ts +0 -6
  106. package/es/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.stories.d.ts +0 -10
  107. package/es/components/pisellHierarchicalSummaryList/components/Row.d.ts +0 -35
  108. package/es/components/pisellHierarchicalSummaryList/components/index.d.ts +0 -1
  109. package/es/components/pisellHierarchicalSummaryList/hooks/index.d.ts +0 -2
  110. package/es/components/pisellHierarchicalSummaryList/hooks/useExpandedKeys.d.ts +0 -15
  111. package/es/components/pisellHierarchicalSummaryList/index.d.ts +0 -5
  112. package/es/components/pisellHierarchicalSummaryList/types.d.ts +0 -248
  113. package/es/components/pisellLookup/components/LookupTrigger.d.ts +0 -3
  114. package/es/components/pisellModal/index.d.ts +0 -62
  115. package/es/components/pisellRecordBoard/PisellRecordBoard.d.ts +0 -9
  116. package/es/components/pisellRecordBoard/PisellRecordBoard.stories.d.ts +0 -89
  117. package/es/components/pisellRecordBoard/index.d.ts +0 -51
  118. package/es/components/pisellRecordBoard/layouts/GridLayout/Grid.d.ts +0 -14
  119. package/es/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.d.ts +0 -9
  120. package/es/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.d.ts +0 -11
  121. package/es/components/pisellRecordBoard/shellFrame/Calendar/RecordBoardCalendar.d.ts +0 -8
  122. package/es/components/pisellRecordBoard/shellFrame/Calendar/bookingCalendarViewShared.d.ts +0 -26
  123. package/es/components/pisellRecordBoard/shellFrame/Calendar/calendarI18n.d.ts +0 -4
  124. package/es/components/pisellRecordBoard/shellFrame/Calendar/calendarPersistGuard.d.ts +0 -18
  125. package/es/components/pisellRecordBoard/shellFrame/Calendar/const/bookingCalendarConstants.d.ts +0 -49
  126. package/es/components/pisellRecordBoard/shellFrame/Calendar/index.d.ts +0 -7
  127. package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/MoveConfirmModal.d.ts +0 -17
  128. package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowListModal.d.ts +0 -17
  129. package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowPopover.d.ts +0 -9
  130. package/es/components/pisellRecordBoard/shellFrame/Calendar/utils/BookingCalendarStyle.d.ts +0 -10
  131. package/es/components/pisellRecordBoard/shellFrame/Calendar/utils/bookingCalendarDateUtils.d.ts +0 -232
  132. package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDaySelectionBar.d.ts +0 -13
  133. package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDayView.d.ts +0 -53
  134. package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarGroupRowHeader.d.ts +0 -23
  135. package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarMonthView.d.ts +0 -18
  136. package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarWeekView.d.ts +0 -27
  137. package/es/components/pisellRecordBoard/shellFrame/Calendar/view/bookingCalendarDayViewContext.d.ts +0 -12
  138. package/es/components/pisellRecordBoard/shellFrame/ColumnSetting/index.d.ts +0 -8
  139. package/es/components/pisellRecordBoard/shellFrame/FloorMap.d.ts +0 -14
  140. package/es/components/pisellRecordBoard/shellFrame/Pagination/index.d.ts +0 -14
  141. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/NoteTicker.d.ts +0 -14
  142. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/PisellRecordBoardResourceWallView.d.ts +0 -12
  143. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/RecordBoardResourceWall.d.ts +0 -8
  144. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanel.d.ts +0 -50
  145. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelColorTab.d.ts +0 -17
  146. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelLayoutTab.d.ts +0 -28
  147. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallViewportToolbar.d.ts +0 -18
  148. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.d.ts +0 -22
  149. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/resourceWallConstants.d.ts +0 -2
  150. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallCardPresentation.d.ts +0 -58
  151. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallUtils.d.ts +0 -64
  152. package/es/components/pisellRecordBoard/shellFrame/ShellBodyMetaContext.d.ts +0 -24
  153. package/es/components/pisellRecordBoard/shellFrame/ToolBar/index.d.ts +0 -12
  154. package/es/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolBarConstants.d.ts +0 -8
  155. package/es/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolBarI18n.d.ts +0 -13
  156. package/es/components/pisellRecordBoard/shellFrame/ToolBarQuickFilter/index.d.ts +0 -17
  157. package/es/components/pisellRecordBoard/shellFrame/index.d.ts +0 -30
  158. package/es/components/pisellRecordBoard/types.d.ts +0 -802
  159. package/es/components/pisellRecordBoard/utils/partitionShellFrameChildren.d.ts +0 -23
  160. package/es/components/pisellRecordBoard/utils/recordBoardColumns.d.ts +0 -52
  161. package/es/components/pisellReservationSchedule/PisellReservationSchedule.d.ts +0 -10
  162. package/es/components/pisellReservationSchedule/PisellReservationSchedule.stories.d.ts +0 -12
  163. package/es/components/pisellReservationSchedule/index.d.ts +0 -2
  164. package/es/components/pisellReservationSchedule/locales.d.ts +0 -43
  165. package/es/components/pisellReservationSchedule/types.d.ts +0 -52
  166. package/es/components/pisellReservationScheduleBand/PisellReservationScheduleBand.d.ts +0 -10
  167. package/es/components/pisellReservationScheduleBand/PisellReservationScheduleBand.stories.d.ts +0 -16
  168. package/es/components/pisellReservationScheduleBand/index.d.ts +0 -2
  169. package/es/components/pisellReservationScheduleBand/types.d.ts +0 -61
  170. package/es/components/pisellShellFrame/PisellShellFrame.d.ts +0 -13
  171. package/es/components/pisellShellFrame/types.d.ts +0 -62
  172. package/es/components/pisellText/components/Amount/index.d.ts +0 -20
  173. package/es/components/pisellTimeNavigator/PisellTimeNavigator.d.ts +0 -10
  174. package/es/components/pisellTimeNavigator/PisellTimeNavigator.stories.d.ts +0 -79
  175. package/es/components/pisellTimeNavigator/components/BackgroundLayer.d.ts +0 -14
  176. package/es/components/pisellTimeNavigator/components/CursorLayer.d.ts +0 -27
  177. package/es/components/pisellTimeNavigator/components/GestureLayer.d.ts +0 -41
  178. package/es/components/pisellTimeNavigator/components/NowButton.d.ts +0 -14
  179. package/es/components/pisellTimeNavigator/components/ScaleLayer.d.ts +0 -22
  180. package/es/components/pisellTimeNavigator/components/index.d.ts +0 -5
  181. package/es/components/pisellTimeNavigator/hooks/index.d.ts +0 -5
  182. package/es/components/pisellTimeNavigator/hooks/useDragInertia.d.ts +0 -14
  183. package/es/components/pisellTimeNavigator/hooks/useRealtime.d.ts +0 -5
  184. package/es/components/pisellTimeNavigator/hooks/useTimeAxis.d.ts +0 -27
  185. package/es/components/pisellTimeNavigator/index.d.ts +0 -5
  186. package/es/components/pisellTimeNavigator/locales.d.ts +0 -22
  187. package/es/components/pisellTimeNavigator/timeNavigatorConstants.d.ts +0 -20
  188. package/es/components/pisellTimeNavigator/types.d.ts +0 -160
  189. package/es/components/pisellTimeNavigator/utils/index.d.ts +0 -41
  190. package/es/components/pisellToast/index.d.ts +0 -17
  191. package/es/components/pisellToast/squareToast/index.d.ts +0 -15
  192. package/es/components/pisellToast/squareToast/methods.d.ts +0 -13
  193. package/es/components/pisellToast/squareToast/renderImperatively.d.ts +0 -28
  194. package/es/components/pisellToast/squareToast/toast.d.ts +0 -25
  195. package/es/components/pisellWalletPassCard/index.d.ts +0 -146
  196. package/es/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +0 -4
  197. package/es/components/productCard/cartSkuCard/components/Gift/index.d.ts +0 -5
  198. package/es/components/productCard/cartSkuCard/components/Gift/types.d.ts +0 -29
  199. package/es/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -4
  200. package/es/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +0 -14
  201. package/es/components/productCard/cartSkuCard/components/Note/index.d.ts +0 -4
  202. package/es/components/productCard/cartSkuCard/components/Promotion/index.d.ts +0 -7
  203. package/es/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +0 -36
  204. package/es/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -3
  205. package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -4
  206. package/es/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -12
  207. package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +0 -20
  208. package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -4
  209. package/es/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -13
  210. package/es/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -22
  211. package/es/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +0 -46
  212. package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -9
  213. package/es/components/productCard/cartSkuCard/components/weighing/index.d.ts +0 -19
  214. package/es/components/productCard/cartSkuCard/index.d.ts +0 -11
  215. package/es/components/productCard/cartSkuCard/locales.d.ts +0 -198
  216. package/es/components/productCard/components/Action/index.d.ts +0 -4
  217. package/es/components/productCard/components/Header/EditButton/index.d.ts +0 -4
  218. package/es/components/productCard/components/Header/index.d.ts +0 -4
  219. package/es/components/productCard/components/Sales/index.d.ts +0 -4
  220. package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -4
  221. package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -14
  222. package/es/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +0 -3
  223. package/es/components/productCard/index.d.ts +0 -7
  224. package/es/components/productCard/locales.d.ts +0 -138
  225. package/es/components/productCard/status.d.ts +0 -32
  226. package/es/components/productCard/types.d.ts +0 -95
  227. package/es/components/productCard/utils.d.ts +0 -33
  228. package/es/components/select-time/index.d.ts +0 -14
  229. package/es/components/sort/index.d.ts +0 -5
  230. package/es/components/table/Table/AddFieldModal/index.d.ts +0 -4
  231. package/es/components/table/index.d.ts +0 -4
  232. package/es/components/virtual-keyboard/Amount/index.d.ts +0 -6
  233. package/es/components/virtual-keyboard/Amount/themeConfig.d.ts +0 -32
  234. package/es/components/virtual-keyboard/Amount/types.d.ts +0 -44
  235. package/es/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +0 -15
  236. package/es/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +0 -25
  237. package/es/components/virtual-keyboard/Keyboard/index.d.ts +0 -21
  238. package/es/components/virtual-keyboard/Number/index.d.ts +0 -6
  239. package/es/components/virtual-keyboard/Number/themeConfig.d.ts +0 -32
  240. package/es/components/virtual-keyboard/Number/types.d.ts +0 -26
  241. package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -13
  242. package/es/components/virtual-keyboard/index.d.ts +0 -25
  243. package/es/index.d.ts +0 -265
  244. package/es/locales/en-US.d.ts +0 -560
  245. package/es/locales/ja.d.ts +0 -528
  246. package/es/locales/pt.d.ts +0 -528
  247. package/es/locales/zh-CN.d.ts +0 -555
  248. package/es/locales/zh-TW.d.ts +0 -555
  249. package/lib/components/Pagination/index.d.ts +0 -14
  250. package/lib/components/PisellCards/components/MultilevelCard/components/PanelWrapper.d.ts +0 -7
  251. package/lib/components/PisellLayouts/index.d.ts +0 -37
  252. package/lib/components/PisellSteps/PisellSteps.d.ts +0 -14
  253. package/lib/components/PisellSuperTabs/PisellSuperTabs.d.ts +0 -8
  254. package/lib/components/PisellSuperTabs/hooks/useTabsState.d.ts +0 -7
  255. package/lib/components/PisellSuperTabs/types.d.ts +0 -212
  256. package/lib/components/PisellTabbar/PisellTabbar.d.ts +0 -20
  257. package/lib/components/PisellTabbar/constants.d.ts +0 -47
  258. package/lib/components/PisellTabbar/hooks/useActiveKey.d.ts +0 -55
  259. package/lib/components/PisellTabbar/hooks/useExpand.d.ts +0 -42
  260. package/lib/components/PisellTabbar/template/Template1/PisellTabbar.d.ts +0 -5
  261. package/lib/components/PisellTabbar/template/Template1/constants.d.ts +0 -10
  262. package/lib/components/PisellTabbar/types.d.ts +0 -90
  263. package/lib/components/PisellTabbar/utils/index.d.ts +0 -69
  264. package/lib/components/cardPro/index.d.ts +0 -4
  265. package/lib/components/dataSourceComponents/dataSourceForm/BaseForm.d.ts +0 -3
  266. package/lib/components/dataSourceComponents/dataSourceForm/provider/formSetting/FormSettingContext.d.ts +0 -18
  267. package/lib/components/dataSourceComponents/dataSourceForm/provider/formSetting/FormSettingProvider.d.ts +0 -8
  268. package/lib/components/dataSourceComponents/dataSourceForm/serve.d.ts +0 -201
  269. package/lib/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +0 -39
  270. package/lib/components/dataSourceComponents/dataSourceForm/type.d.ts +0 -35
  271. package/lib/components/dataSourceComponents/dataSourceTable/BaseTable.d.ts +0 -8
  272. package/lib/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +0 -26
  273. package/lib/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +0 -27
  274. package/lib/components/dataSourceComponents/hooks/useActions.d.ts +0 -18
  275. package/lib/components/dataSourceComponents/provider/dataSource/DataSourceContext.d.ts +0 -121
  276. package/lib/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +0 -15
  277. package/lib/components/dataSourceComponents/provider/variables/VariablesProvider.d.ts +0 -4
  278. package/lib/components/drag-sort-tree/TreeItem/index.d.ts +0 -19
  279. package/lib/components/filter/components/FilterItem/index.d.ts +0 -5
  280. package/lib/components/filter/components/QuickFilter/index.d.ts +0 -12
  281. package/lib/components/iconfont/index.d.ts +0 -8
  282. package/lib/components/page/index.d.ts +0 -9
  283. package/lib/components/pisell-config-provider/context.d.ts +0 -22
  284. package/lib/components/pisell-config-provider/index.d.ts +0 -13
  285. package/lib/components/pisellAdjustPrice/index.d.ts +0 -5
  286. package/lib/components/pisellAdjustPrice/status.d.ts +0 -32
  287. package/lib/components/pisellAdjustPrice/type.d.ts +0 -22
  288. package/lib/components/pisellCardList/index.d.ts +0 -107
  289. package/lib/components/pisellCheckboxGroup/index.d.ts +0 -40
  290. package/lib/components/pisellDataSourceContainer/components/Pagination/index.d.ts +0 -6
  291. package/lib/components/pisellFilter/index.d.ts +0 -4
  292. package/lib/components/pisellFilter/type.d.ts +0 -7
  293. package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.d.ts +0 -13
  294. package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.stories.d.ts +0 -55
  295. package/lib/components/pisellFloorMapLayout/components/CanvasTabs.d.ts +0 -27
  296. package/lib/components/pisellFloorMapLayout/components/EditableItemLayer.d.ts +0 -46
  297. package/lib/components/pisellFloorMapLayout/components/FigmaTableCard.d.ts +0 -43
  298. package/lib/components/pisellFloorMapLayout/components/FloorMapDataForm.d.ts +0 -21
  299. package/lib/components/pisellFloorMapLayout/components/FloorMapEditPanel.d.ts +0 -14
  300. package/lib/components/pisellFloorMapLayout/components/FloorMapEditQuickActions.d.ts +0 -24
  301. package/lib/components/pisellFloorMapLayout/components/FloorMapEditTopBar.d.ts +0 -60
  302. package/lib/components/pisellFloorMapLayout/components/FloorMapImageElement.d.ts +0 -9
  303. package/lib/components/pisellFloorMapLayout/components/FloorMapToolbar.d.ts +0 -35
  304. package/lib/components/pisellFloorMapLayout/components/HistoryIcons.d.ts +0 -39
  305. package/lib/components/pisellFloorMapLayout/components/ItemLayer.d.ts +0 -57
  306. package/lib/components/pisellFloorMapLayout/components/MapLayer.d.ts +0 -27
  307. package/lib/components/pisellFloorMapLayout/components/ViewControls.d.ts +0 -55
  308. package/lib/components/pisellFloorMapLayout/components/ViewControlsWithZoom.d.ts +0 -25
  309. package/lib/components/pisellFloorMapLayout/components/index.d.ts +0 -21
  310. package/lib/components/pisellFloorMapLayout/context/FloorMapLayoutContext.d.ts +0 -16
  311. package/lib/components/pisellFloorMapLayout/context/mergeFloorMapLayoutContext.d.ts +0 -5
  312. package/lib/components/pisellFloorMapLayout/floorMapLayoutConstants.d.ts +0 -4
  313. package/lib/components/pisellFloorMapLayout/hooks/floorMapViewportPersistence.d.ts +0 -25
  314. package/lib/components/pisellFloorMapLayout/hooks/useDraftConfigHistory.d.ts +0 -18
  315. package/lib/components/pisellFloorMapLayout/hooks/useFloorMapEditState.d.ts +0 -71
  316. package/lib/components/pisellFloorMapLayout/hooks/useFloorMapPaletteTouchDrag.d.ts +0 -21
  317. package/lib/components/pisellFloorMapLayout/hooks/useFloorMapTransformMetrics.d.ts +0 -89
  318. package/lib/components/pisellFloorMapLayout/hooks/useShopFloorPlanSubscription.d.ts +0 -19
  319. package/lib/components/pisellFloorMapLayout/index.d.ts +0 -26
  320. package/lib/components/pisellFloorMapLayout/locales-ja.d.ts +0 -133
  321. package/lib/components/pisellFloorMapLayout/locales-pt.d.ts +0 -133
  322. package/lib/components/pisellFloorMapLayout/locales.d.ts +0 -651
  323. package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanClient.d.ts +0 -10
  324. package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanMapping.d.ts +0 -18
  325. package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanPure.d.ts +0 -22
  326. package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanTypes.d.ts +0 -72
  327. package/lib/components/pisellFloorMapLayout/types.d.ts +0 -646
  328. package/lib/components/pisellFloorMapLayout/utils/floorMapCanvasDisplay.d.ts +0 -20
  329. package/lib/components/pisellFloorMapLayout/utils/floorMapConfigMerge.d.ts +0 -8
  330. package/lib/components/pisellFloorMapLayout/utils/floorMapDataBindingUtils.d.ts +0 -21
  331. package/lib/components/pisellFloorMapLayout/utils/floorMapDataRecordLabel.d.ts +0 -8
  332. package/lib/components/pisellFloorMapLayout/utils/floorMapDropUtils.d.ts +0 -27
  333. package/lib/components/pisellFloorMapLayout/utils/floorMapElementKindUtils.d.ts +0 -22
  334. package/lib/components/pisellFloorMapLayout/utils/floorMapElementNameAsTitle.d.ts +0 -50
  335. package/lib/components/pisellFloorMapLayout/utils/floorMapFallbackRender.d.ts +0 -11
  336. package/lib/components/pisellFloorMapLayout/utils/floorMapRemotePersist.d.ts +0 -17
  337. package/lib/components/pisellFloorMapLayout/utils/floorMapStageDefaults.d.ts +0 -8
  338. package/lib/components/pisellFloorMapLayout/utils/floorMapViewConfigDiff.d.ts +0 -8
  339. package/lib/components/pisellFloorMapLayout/utils/layoutMeasurements.d.ts +0 -30
  340. package/lib/components/pisellFloorMapLayout/utils/mergeCanvasesForTabs.d.ts +0 -7
  341. package/lib/components/pisellFloorMapLayout/utils/snap.d.ts +0 -10
  342. package/lib/components/pisellGoodPassCard/index.d.ts +0 -50
  343. package/lib/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.d.ts +0 -6
  344. package/lib/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.stories.d.ts +0 -10
  345. package/lib/components/pisellHierarchicalSummaryList/components/Row.d.ts +0 -35
  346. package/lib/components/pisellHierarchicalSummaryList/components/index.d.ts +0 -1
  347. package/lib/components/pisellHierarchicalSummaryList/hooks/index.d.ts +0 -2
  348. package/lib/components/pisellHierarchicalSummaryList/hooks/useExpandedKeys.d.ts +0 -15
  349. package/lib/components/pisellHierarchicalSummaryList/index.d.ts +0 -5
  350. package/lib/components/pisellHierarchicalSummaryList/types.d.ts +0 -248
  351. package/lib/components/pisellLookup/components/LookupTrigger.d.ts +0 -3
  352. package/lib/components/pisellModal/index.d.ts +0 -62
  353. package/lib/components/pisellRecordBoard/PisellRecordBoard.d.ts +0 -9
  354. package/lib/components/pisellRecordBoard/PisellRecordBoard.stories.d.ts +0 -89
  355. package/lib/components/pisellRecordBoard/index.d.ts +0 -51
  356. package/lib/components/pisellRecordBoard/layouts/GridLayout/Grid.d.ts +0 -14
  357. package/lib/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.d.ts +0 -9
  358. package/lib/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.d.ts +0 -11
  359. package/lib/components/pisellRecordBoard/shellFrame/Calendar/RecordBoardCalendar.d.ts +0 -8
  360. package/lib/components/pisellRecordBoard/shellFrame/Calendar/bookingCalendarViewShared.d.ts +0 -26
  361. package/lib/components/pisellRecordBoard/shellFrame/Calendar/calendarI18n.d.ts +0 -4
  362. package/lib/components/pisellRecordBoard/shellFrame/Calendar/calendarPersistGuard.d.ts +0 -18
  363. package/lib/components/pisellRecordBoard/shellFrame/Calendar/const/bookingCalendarConstants.d.ts +0 -49
  364. package/lib/components/pisellRecordBoard/shellFrame/Calendar/index.d.ts +0 -7
  365. package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/MoveConfirmModal.d.ts +0 -17
  366. package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowListModal.d.ts +0 -17
  367. package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowPopover.d.ts +0 -9
  368. package/lib/components/pisellRecordBoard/shellFrame/Calendar/utils/BookingCalendarStyle.d.ts +0 -10
  369. package/lib/components/pisellRecordBoard/shellFrame/Calendar/utils/bookingCalendarDateUtils.d.ts +0 -232
  370. package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDaySelectionBar.d.ts +0 -13
  371. package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDayView.d.ts +0 -53
  372. package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarGroupRowHeader.d.ts +0 -23
  373. package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarMonthView.d.ts +0 -18
  374. package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarWeekView.d.ts +0 -27
  375. package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/bookingCalendarDayViewContext.d.ts +0 -12
  376. package/lib/components/pisellRecordBoard/shellFrame/ColumnSetting/index.d.ts +0 -8
  377. package/lib/components/pisellRecordBoard/shellFrame/FloorMap.d.ts +0 -14
  378. package/lib/components/pisellRecordBoard/shellFrame/Pagination/index.d.ts +0 -14
  379. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/NoteTicker.d.ts +0 -14
  380. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/PisellRecordBoardResourceWallView.d.ts +0 -12
  381. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/RecordBoardResourceWall.d.ts +0 -8
  382. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanel.d.ts +0 -50
  383. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelColorTab.d.ts +0 -17
  384. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelLayoutTab.d.ts +0 -28
  385. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallViewportToolbar.d.ts +0 -18
  386. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.d.ts +0 -22
  387. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/resourceWallConstants.d.ts +0 -2
  388. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallCardPresentation.d.ts +0 -58
  389. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallUtils.d.ts +0 -64
  390. package/lib/components/pisellRecordBoard/shellFrame/ShellBodyMetaContext.d.ts +0 -24
  391. package/lib/components/pisellRecordBoard/shellFrame/ToolBar/index.d.ts +0 -12
  392. package/lib/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolBarConstants.d.ts +0 -8
  393. package/lib/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolBarI18n.d.ts +0 -13
  394. package/lib/components/pisellRecordBoard/shellFrame/ToolBarQuickFilter/index.d.ts +0 -17
  395. package/lib/components/pisellRecordBoard/shellFrame/index.d.ts +0 -30
  396. package/lib/components/pisellRecordBoard/types.d.ts +0 -802
  397. package/lib/components/pisellRecordBoard/utils/partitionShellFrameChildren.d.ts +0 -23
  398. package/lib/components/pisellRecordBoard/utils/recordBoardColumns.d.ts +0 -52
  399. package/lib/components/pisellReservationSchedule/PisellReservationSchedule.d.ts +0 -10
  400. package/lib/components/pisellReservationSchedule/PisellReservationSchedule.stories.d.ts +0 -12
  401. package/lib/components/pisellReservationSchedule/index.d.ts +0 -2
  402. package/lib/components/pisellReservationSchedule/locales.d.ts +0 -43
  403. package/lib/components/pisellReservationSchedule/types.d.ts +0 -52
  404. package/lib/components/pisellReservationScheduleBand/PisellReservationScheduleBand.d.ts +0 -10
  405. package/lib/components/pisellReservationScheduleBand/PisellReservationScheduleBand.stories.d.ts +0 -16
  406. package/lib/components/pisellReservationScheduleBand/index.d.ts +0 -2
  407. package/lib/components/pisellReservationScheduleBand/types.d.ts +0 -61
  408. package/lib/components/pisellShellFrame/PisellShellFrame.d.ts +0 -13
  409. package/lib/components/pisellShellFrame/types.d.ts +0 -62
  410. package/lib/components/pisellText/components/Amount/index.d.ts +0 -20
  411. package/lib/components/pisellTimeNavigator/PisellTimeNavigator.d.ts +0 -10
  412. package/lib/components/pisellTimeNavigator/PisellTimeNavigator.stories.d.ts +0 -79
  413. package/lib/components/pisellTimeNavigator/components/BackgroundLayer.d.ts +0 -14
  414. package/lib/components/pisellTimeNavigator/components/CursorLayer.d.ts +0 -27
  415. package/lib/components/pisellTimeNavigator/components/GestureLayer.d.ts +0 -41
  416. package/lib/components/pisellTimeNavigator/components/NowButton.d.ts +0 -14
  417. package/lib/components/pisellTimeNavigator/components/ScaleLayer.d.ts +0 -22
  418. package/lib/components/pisellTimeNavigator/components/index.d.ts +0 -5
  419. package/lib/components/pisellTimeNavigator/hooks/index.d.ts +0 -5
  420. package/lib/components/pisellTimeNavigator/hooks/useDragInertia.d.ts +0 -14
  421. package/lib/components/pisellTimeNavigator/hooks/useRealtime.d.ts +0 -5
  422. package/lib/components/pisellTimeNavigator/hooks/useTimeAxis.d.ts +0 -27
  423. package/lib/components/pisellTimeNavigator/index.d.ts +0 -5
  424. package/lib/components/pisellTimeNavigator/locales.d.ts +0 -22
  425. package/lib/components/pisellTimeNavigator/timeNavigatorConstants.d.ts +0 -20
  426. package/lib/components/pisellTimeNavigator/types.d.ts +0 -160
  427. package/lib/components/pisellTimeNavigator/utils/index.d.ts +0 -41
  428. package/lib/components/pisellToast/index.d.ts +0 -17
  429. package/lib/components/pisellToast/squareToast/index.d.ts +0 -15
  430. package/lib/components/pisellToast/squareToast/methods.d.ts +0 -13
  431. package/lib/components/pisellToast/squareToast/renderImperatively.d.ts +0 -28
  432. package/lib/components/pisellToast/squareToast/toast.d.ts +0 -25
  433. package/lib/components/pisellWalletPassCard/index.d.ts +0 -146
  434. package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +0 -4
  435. package/lib/components/productCard/cartSkuCard/components/Gift/index.d.ts +0 -5
  436. package/lib/components/productCard/cartSkuCard/components/Gift/types.d.ts +0 -29
  437. package/lib/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -4
  438. package/lib/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +0 -14
  439. package/lib/components/productCard/cartSkuCard/components/Note/index.d.ts +0 -4
  440. package/lib/components/productCard/cartSkuCard/components/Promotion/index.d.ts +0 -7
  441. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +0 -36
  442. package/lib/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -3
  443. package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -4
  444. package/lib/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -12
  445. package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +0 -20
  446. package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -4
  447. package/lib/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -13
  448. package/lib/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -22
  449. package/lib/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +0 -46
  450. package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -9
  451. package/lib/components/productCard/cartSkuCard/components/weighing/index.d.ts +0 -19
  452. package/lib/components/productCard/cartSkuCard/index.d.ts +0 -11
  453. package/lib/components/productCard/cartSkuCard/locales.d.ts +0 -198
  454. package/lib/components/productCard/components/Action/index.d.ts +0 -4
  455. package/lib/components/productCard/components/Header/EditButton/index.d.ts +0 -4
  456. package/lib/components/productCard/components/Header/index.d.ts +0 -4
  457. package/lib/components/productCard/components/Sales/index.d.ts +0 -4
  458. package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -4
  459. package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -14
  460. package/lib/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +0 -3
  461. package/lib/components/productCard/index.d.ts +0 -7
  462. package/lib/components/productCard/locales.d.ts +0 -138
  463. package/lib/components/productCard/status.d.ts +0 -32
  464. package/lib/components/productCard/types.d.ts +0 -95
  465. package/lib/components/productCard/utils.d.ts +0 -33
  466. package/lib/components/select-time/index.d.ts +0 -14
  467. package/lib/components/sort/index.d.ts +0 -5
  468. package/lib/components/table/Table/AddFieldModal/index.d.ts +0 -4
  469. package/lib/components/table/index.d.ts +0 -4
  470. package/lib/components/virtual-keyboard/Amount/index.d.ts +0 -6
  471. package/lib/components/virtual-keyboard/Amount/themeConfig.d.ts +0 -32
  472. package/lib/components/virtual-keyboard/Amount/types.d.ts +0 -44
  473. package/lib/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +0 -15
  474. package/lib/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +0 -25
  475. package/lib/components/virtual-keyboard/Keyboard/index.d.ts +0 -21
  476. package/lib/components/virtual-keyboard/Number/index.d.ts +0 -6
  477. package/lib/components/virtual-keyboard/Number/themeConfig.d.ts +0 -32
  478. package/lib/components/virtual-keyboard/Number/types.d.ts +0 -26
  479. package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -13
  480. package/lib/components/virtual-keyboard/index.d.ts +0 -25
  481. package/lib/index.d.ts +0 -265
  482. package/lib/locales/en-US.d.ts +0 -560
  483. package/lib/locales/ja.d.ts +0 -528
  484. package/lib/locales/pt.d.ts +0 -528
  485. package/lib/locales/zh-CN.d.ts +0 -555
  486. package/lib/locales/zh-TW.d.ts +0 -555
@@ -1,802 +0,0 @@
1
- import type { ReactNode, Key, ComponentType, Ref, CSSProperties } from 'react';
2
- import type { PisellFloorMapLayoutProps, PisellFloorMapLayoutRef, FloorMapDataSources, FloorMapLayoutContextValue } from '../pisellFloorMapLayout/types';
3
- import type { TableProps } from 'antd';
4
- import type { CalendarPersistContextValue } from './shellFrame/Calendar/calendarPersistGuard';
5
- import type { TimeRangeOption } from '../pisellTimeNavigator/types';
6
- import type { VenueWallAppearanceTheme, VenueWallStatusToneOverrides } from './shellFrame/ResourceWall/venueWallUtils';
7
- /**
8
- * 布局类型:一种 layout 对应一种「视图的集合」
9
- * - grid: 搜索 + 表格 + 分页
10
- * - card: 搜索 + 卡片列表 + 分页
11
- * 后续可扩展 list、kanban 等
12
- */
13
- export declare type RecordBoardLayoutType = 'grid' | 'card';
14
- /**
15
- * 列字段类型:对应 Pisell 表单组件,传入列 type 时用该组件自动渲染列(只读)与筛选项(编辑)
16
- */
17
- export declare type RecordBoardFieldType = 'singleLineText' | 'longText' | 'email' | 'phone' | 'url' | 'number' | 'currency' | 'percent' | 'rating' | 'singleSelect' | 'multipleSelect' | 'dateTime';
18
- /** 无 type 时筛选项可传入自定义组件,需支持 value / onChange 以接入 Form */
19
- export declare type RecordBoardFilterComponentProps = {
20
- value?: any;
21
- onChange?: (value: any) => void;
22
- [key: string]: any;
23
- };
24
- /** 选项格式,用于 getOptions / options;color 用于只读态 Tag 展示 */
25
- export declare type RecordBoardOptionItem = {
26
- label: string;
27
- value: any;
28
- /** 只读态 Tag 颜色,如 '#e6f7ff' 或 antd 预设 'blue' */
29
- color?: string;
30
- };
31
- /** 同步或异步返回选项列表,singleSelect/multipleSelect 的 fieldProps.getOptions 或 filter.getOptions 使用 */
32
- export declare type RecordBoardGetOptions = (() => RecordBoardOptionItem[]) | (() => Promise<RecordBoardOptionItem[]>);
33
- /** 列筛选配置:不传列 type 时使用。可配置 type + options/props,或传入 component(接收 value/onChange)。 */
34
- export interface RecordBoardColumnFilterConfig {
35
- type?: 'single' | 'input' | 'datePicker' | 'rangePicker' | 'rangePickerNew' | 'search';
36
- label?: string;
37
- options?: RecordBoardOptionItem[];
38
- /** 同步或异步获取选项,与 options 二选一;支持 singleSelect/multipleSelect 及无 type 时 type:'single' */
39
- getOptions?: RecordBoardGetOptions;
40
- props?: Record<string, any>;
41
- /** 放在快速筛选(true)还是高级筛选(false) */
42
- quickFilter?: boolean;
43
- /** 无 type 时可用:自定义筛选组件,由 Form 注入 value/onChange */
44
- component?: ComponentType<RecordBoardFilterComponentProps>;
45
- }
46
- /**
47
- * RecordBoard 列类型扩展(与 antd Table Column 兼容,仅增加可选字段)。
48
- *
49
- * 有 type(如 singleLineText)时:
50
- * - 表格:自动用对应 Pisell 组件只读渲染;传入 render 则优先使用(覆盖)。
51
- * - 筛选:自动用对应组件编辑态;传入 filter(type 或 component)则优先使用(覆盖)。
52
- * - 排序:自动从组件 SortOptions 派生;传入 sort 则优先使用(覆盖)。
53
- *
54
- * 无 type 时:
55
- * - 表格:无 render 则纯文本;可自定义 render。
56
- * - 筛选:需配置 filterable + filter(type 或 component,component 需 value/onChange)。
57
- * - 排序:需配置 sortable + sort(type 或 getSortItems)。
58
- */
59
- export interface RecordBoardColumnType<RecordType = any> {
60
- title?: ReactNode;
61
- dataIndex?: string | string[];
62
- key?: string;
63
- width?: number | string;
64
- align?: 'left' | 'right' | 'center';
65
- fixed?: 'left' | 'right' | boolean;
66
- ellipsis?: boolean;
67
- /** 列渲染;无 type 时必靠此或默认纯文本;有 type 时可选,传入则覆盖自动派生 */
68
- render?: (value: any, record: RecordType, index: number) => ReactNode;
69
- /** 其他 antd 列属性 */
70
- [key: string]: any;
71
- /** 字段类型;传入则表格/筛选/排序自动派生,可被 render/filter/sort 覆盖 */
72
- type?: RecordBoardFieldType;
73
- /**
74
- * 传给 Pisell 组件的额外 props(type 存在且未用 filter/render 覆盖时生效)。
75
- * singleSelect/multipleSelect 时支持 options 或 getOptions(同步/异步返回选项列表)。
76
- */
77
- fieldProps?: Record<string, any>;
78
- /** 是否参与筛选;false 时不生成筛项;有 type 时默认 true */
79
- filterable?: boolean;
80
- /** 筛选配置;无 type 时必传 type 或 component;有 type 时可选,传入则覆盖自动派生 */
81
- filter?: RecordBoardColumnFilterConfig;
82
- /** 是否参与排序;false 时不生成排序项;有 type 时默认 true */
83
- sortable?: boolean;
84
- /**
85
- * 排序配置;无 type 时需 sortable + sort;有 type 时可选,传入则覆盖自动派生。
86
- * - type:内置排序子项(string/number/option 等)。
87
- * - getSortItems:(fieldKey) => [{ key, label }]。
88
- */
89
- sort?: {
90
- type?: 'date' | 'string' | 'number' | 'option';
91
- label?: string;
92
- isHidden?: boolean;
93
- /** 自定义排序子项,优先于 type;fieldKey 为列 key/dataIndex */
94
- getSortItems?: (fieldKey: string) => Array<{
95
- key: string;
96
- label: string;
97
- }>;
98
- };
99
- /** 默认隐藏该列,与 grid.defaultHiddenColumnKeys 合并参与初始化列显隐 */
100
- hidden?: boolean;
101
- /**
102
- * 当开启 grid.collapseUniformColumns 时,用此函数从 (value, record) 得到用于比较的值;
103
- * 返回 string 或 number 时参与全等比较,返回 null/undefined 则该列不参与折叠。
104
- * 未传则用 dataIndex 取值;与 render 类似,便于从复杂数据中抽取值再判断是否全同。
105
- */
106
- uniformCompare?: (value: any, record: any) => string | number | null | undefined;
107
- /**
108
- * 当开启 grid.collapseUniformColumns 时,为 false 则该列即使全列同值/全空也不折叠、不进入总结区;默认 true。
109
- */
110
- collapseWhenUniform?: boolean;
111
- }
112
- /**
113
- * 分页状态(与容器内部一致)
114
- */
115
- export interface RecordBoardPaginationState {
116
- pageNumber: number;
117
- pageSize: number;
118
- }
119
- /**
120
- * 列表请求结果(与 dataSource / useRequest 等对齐)
121
- */
122
- export interface RecordBoardListResult {
123
- list: any[];
124
- count?: number;
125
- total?: number;
126
- }
127
- /** ShellFrame 内容区:表格、平面图、日历或大屏资源墙(与 GridLayout 同级切换) */
128
- export declare type RecordBoardBodyView = 'grid' | 'floorMap' | 'calendar' | 'resourceWall';
129
- /** 日历 Y 轴资源行(与 BookingCalendarDemo 中 court 对齐) */
130
- export interface RecordBoardCalendarResource {
131
- id: string;
132
- name: string;
133
- /** 分组标签,用于筛选 chip(如区域 / 表单 code) */
134
- groupType?: string;
135
- }
136
- /**
137
- * 日历格内预约条数据(与 BookingCalendarDemo 内部 booking 形状一致);
138
- * `raw` 为宿主预约行时,业务层可用其打开详情弹窗。
139
- */
140
- export interface RecordBoardCalendarBookingLike {
141
- id: string;
142
- courtId: string;
143
- date: string;
144
- startHour: number;
145
- endHour: number;
146
- name: string;
147
- kind: 'booking' | 'block';
148
- phone?: string;
149
- statusTag?: string;
150
- note?: string;
151
- blockBy?: string;
152
- blockedAt?: string;
153
- raw?: Record<string, unknown>;
154
- }
155
- /** 日视图时间轴上的一条预约 overlay(与 BookingCalendarDemo 内部结构对齐) */
156
- export interface RecordBoardCalendarDayOverlayBooking {
157
- item: RecordBoardCalendarBookingLike;
158
- courtId: string;
159
- start: number;
160
- end: number;
161
- span: number;
162
- rowTop: number;
163
- rowHeight: number;
164
- rowIndex: number;
165
- lane?: number;
166
- laneCount?: number;
167
- continuesNext?: boolean;
168
- continuesPrev?: boolean;
169
- }
170
- /** 表头时间分组合并(声明式);与 {@link RecordBoardCalendarProps.renderTimelineHeader} 二选一优先用 render */
171
- export interface RecordBoardCalendarTimelineHeaderGroup {
172
- /** 含 0,对应 `hourSlots` 下标 */
173
- startSlotIndex: number;
174
- /** 含,须 ≥ startSlotIndex */
175
- endSlotIndex: number;
176
- label: ReactNode;
177
- }
178
- /** 自定义时间列表头时注入的上下文 */
179
- export interface RecordBoardCalendarTimelineHeaderRenderContext {
180
- anchorDate: Date;
181
- /** 各列左边界钟点(相对锚日 0 点的浮点小时,与现 hourSlots 一致) */
182
- hourSlots: number[];
183
- slotStepMinutes: number;
184
- /** 单列像素宽:与历史日视图整点列宽一致(每槽一列,细粒度时列数变多、横向滚动) */
185
- slotColWidthPx: number;
186
- isLight: boolean;
187
- firstTimelineHour: number;
188
- endTimelineExclusive: number;
189
- isBusinessHour: (hour: number) => boolean;
190
- formatHourLabel: (hour: number) => string;
191
- /** 与 `hourSlots[i]` 一致 */
192
- getSlotStartHour: (slotIndex: number) => number;
193
- slotCount: number;
194
- /** 每槽「空闲场地数 / 总场地」等,键为槽起点钟点 */
195
- dayHourRemaining: Record<number, {
196
- remaining: number;
197
- total: number;
198
- ratio: number;
199
- }>;
200
- }
201
- /** 自定义左侧资源格 */
202
- export interface RecordBoardCalendarResourceRenderArgs {
203
- view: 'day' | 'week' | 'month';
204
- row: {
205
- kind: 'court' | 'group';
206
- id: string;
207
- name?: string;
208
- label?: string;
209
- count?: number;
210
- collapsed?: boolean;
211
- type?: string;
212
- };
213
- isLight: boolean;
214
- /** 分组行折叠切换(仅 group 行有意义) */
215
- onToggleGroup?: (groupLabel: string) => void;
216
- }
217
- /** 自定义日视图中间预约条外层容器内层(定位仍由日历负责) */
218
- export interface RecordBoardCalendarBookingRenderArgs {
219
- booking: RecordBoardCalendarDayOverlayBooking;
220
- dayKey: string;
221
- calendarView: 'day' | 'week' | 'month';
222
- isLight: boolean;
223
- /** 日视图时间轴上该预约条当前绘制宽度(像素),便于窄条用 Tooltip / minWidth 等策略展示信息 */
224
- overlayWidthPx: number;
225
- onOpenDetail: (item: RecordBoardCalendarBookingLike) => void;
226
- onDragStart: (item: RecordBoardCalendarBookingLike) => void;
227
- onJumpNext: () => void;
228
- }
229
- /**
230
- * 月 / 周格内单条预约插槽参数。
231
- * 未使用 {@link RecordBoardCalendarProps.renderMonthWeekBooking} 时,月 / 周格仅默认 booking(紫)/ block(红),不展示状态徽标与按状态的底色。
232
- */
233
- export interface RecordBoardCalendarGridBookingRenderArgs {
234
- item: RecordBoardCalendarBookingLike;
235
- dateKey: string;
236
- view: 'month' | 'week';
237
- isLight: boolean;
238
- /**
239
- * 日历建议的外层样式(圆角、内边距、默认 booking/block 底色),可与自定义 `className` 拼接。
240
- * 宿主若完全自定义外观,可忽略本字段。
241
- */
242
- layoutClassName: string;
243
- onOpenDetail: (item: RecordBoardCalendarBookingLike) => void;
244
- /** 开始拖拽(月视图内置会处理 `draggable`;周格当前未挂 draggable,可自行在插槽内处理) */
245
- onDragStart?: (item: RecordBoardCalendarBookingLike) => void;
246
- draggable: boolean;
247
- }
248
- /** 拖拽改期的投放目标(与日历内部确认态 moveDraft 字段一致)。 */
249
- export interface RecordBoardBookingMoveDraft {
250
- targetCourtId: string;
251
- /** `YYYY-MM-DD` */
252
- targetDate: string;
253
- /** 与日历 `hourSlots` 一致的浮点起点小时(可含半格如 9.5) */
254
- targetHour: number;
255
- }
256
- /**
257
- * 对接 `POST /shop/schedule/blocked-time` 的请求体(与后台字段一致)。
258
- */
259
- export interface RecordBoardCalendarBlockedTimePayload {
260
- name: string;
261
- note?: string;
262
- resource_ids: number[];
263
- blocked_sales_channels: string[];
264
- /** `YYYY-MM-DD HH:mm` */
265
- start_time: string;
266
- /** `YYYY-MM-DD HH:mm` */
267
- end_time: string;
268
- }
269
- /** 日视图连续空闲槽合并后的一段(与内置锁台面版预填一致) */
270
- export interface RecordBoardBlockedTimeMergedRange {
271
- courtId: string;
272
- /** `YYYY-MM-DD` */
273
- date: string;
274
- /** 与时间轴一致的浮点小时 */
275
- startHour: number;
276
- endHour: number;
277
- }
278
- /** 日视图多选的空闲格 */
279
- export interface RecordBoardCalendarSelectedFreeSlot {
280
- courtId: string;
281
- date: string;
282
- hour: number;
283
- court?: string;
284
- }
285
- /** 宿主弹出锁台/屏蔽表单时由日历传入的上下文(替代内置锁台面版) */
286
- export interface RecordBoardBlockedTimePanelPayload {
287
- /** 槽位步长(小时),与日历内部 `slotStepHours` 一致 */
288
- slotStepHours: number;
289
- /** 与 {@link RecordBoardCalendarProps.slotStepMinutes} 一致 */
290
- slotStepMinutes: number;
291
- /** 日视图锚定日 `YYYY-MM-DD` */
292
- dayKey: string;
293
- selectedFreeSlots: RecordBoardCalendarSelectedFreeSlot[];
294
- mergedRange: RecordBoardBlockedTimeMergedRange;
295
- }
296
- /** 日历视图槽位 props:由 Shell 合并根级与子槽后传入 PisellRecordBoardCalendarView */
297
- export interface RecordBoardCalendarProps {
298
- persistGuard?: CalendarPersistContextValue;
299
- /**
300
- * 日历画布外观:亮色切换 `theme-root.theme-light`;未传或 `dark` 为深色(默认)。
301
- */
302
- appearance?: 'light' | 'dark';
303
- className?: string;
304
- style?: CSSProperties;
305
- /** 受控:画布等资源行;不传则使用内置演示数据 */
306
- resources?: RecordBoardCalendarResource[];
307
- /** 受控:预约条列表;传入(含空数组)时不再使用内置 seed */
308
- bookings?: RecordBoardCalendarBookingLike[];
309
- loading?: boolean;
310
- /**
311
- * 点击预约条。返回 true 表示已消费(不再打开内置详情抽屉)。
312
- */
313
- onBookingClick?: (item: RecordBoardCalendarBookingLike) => boolean | void;
314
- /**
315
- * 拖拽预约条松手且投放合法后,由宿主接管确认与持久化(例如业务侧 booking 改约弹窗)。
316
- * **传入后**日历不再弹出内置 MoveConfirmModal,也不会写入本地 bookings。
317
- * 返回 `true` 表示宿主已视为完成(一般由弹窗 resolve);`false`/`undefined`/reject 表示未生效。
318
- */
319
- onBookingMoveRequest?: (payload: {
320
- item: RecordBoardCalendarBookingLike;
321
- draft: RecordBoardBookingMoveDraft;
322
- }) => Promise<boolean | void>;
323
- /**
324
- * 锚点日 / 视图变化(月、周、日),用于父级扩展 booking 请求时间窗。
325
- * 宿主导出时建议对拉数做 **debounce**(如 200–300ms),与切 `bodyView`、切日等快速操作对齐,避免重复请求。
326
- */
327
- onViewportChange?: (payload: {
328
- view: string;
329
- anchorDate: Date;
330
- rangeStart: Date;
331
- rangeEnd: Date;
332
- }) => void;
333
- /** 当前日历粒度(与顶栏 Segmented 一致);不传则组件内默认 `month` */
334
- calendarView?: 'day' | 'week' | 'month';
335
- onCalendarViewChange?: (view: 'day' | 'week' | 'month') => void;
336
- /** 锚点日(通常与营业日 `schedule.date` 对齐);不传则组件内默认日期 */
337
- anchorDate?: Date;
338
- /** 日历内交互(如跨日跳转)更新锚点时回调,由父级写回日程 */
339
- onAnchorDateChange?: (date: Date) => void;
340
- /**
341
- * 日视图横向整点列所依据的营业区间(与 PisellTimeNavigator `range` 语义一致,如 06:00–次日 06:00)。
342
- * 不传时日历演示默认 02:00–次日 02:00。
343
- */
344
- timelineRange?: TimeRangeOption;
345
- /**
346
- * 日视图时间轴列步长(分钟)。须能整除 60 或与业务约定一致;默认 **60**(与历史「整点列」一致)。
347
- * Pisell Reservation 等业务可在私有包组装 props 时默认传 10。
348
- */
349
- slotStepMinutes?: number;
350
- /**
351
- * 保存「屏蔽时间」时提交(如 `/shop/schedule/blocked-time`)。
352
- * 返回 `false` 表示未成功(弹窗保持);`true` 或 `undefined` 视为成功并关闭弹窗、清空选中。
353
- * 若同时传 {@link onBlockedTimePanelRequest},内置锁台面版不再展示,本回调仅在内置路径生效。
354
- */
355
- onBlockedTimeSave?: (payload: RecordBoardCalendarBlockedTimePayload) => Promise<boolean | void>;
356
- /**
357
- * 日视图选中连续空闲槽并点「屏蔽」时,由宿主弹出锁台表单(替代内置锁台面版)。
358
- * **传入后**不再渲染内置屏蔽弹层;未传时仍使用内置表单 + {@link onBlockedTimeSave}。
359
- */
360
- onBlockedTimePanelRequest?: (payload: RecordBoardBlockedTimePanelPayload) => Promise<boolean | void>;
361
- /** 与接口 `blocked_sales_channels` 一致;默认 `['online_store']` */
362
- blockedTimeSalesChannels?: string[];
363
- /**
364
- * 完全自定义日视图时间列表头(不含左上角日期角格)。未传时按槽渲染默认表头;
365
- * 若同时传 {@link timelineHeaderGroups},则先渲染分组行再渲染默认/本插槽由实现约定:当前实现为先分组行再默认槽行。
366
- */
367
- renderTimelineHeader?: (ctx: RecordBoardCalendarTimelineHeaderRenderContext) => ReactNode;
368
- /**
369
- * 在时间槽行上方增加一行合并表头(列宽与槽位对齐)。
370
- * 若同时传 {@link renderTimelineHeader},则仅渲染插槽,**忽略**本字段。
371
- */
372
- timelineHeaderGroups?: RecordBoardCalendarTimelineHeaderGroup[];
373
- /**
374
- * 自定义日视图时间轴上的预约条内容(仅日视图 overlay 生效;月 / 周见 {@link renderMonthWeekBooking})。
375
- */
376
- renderBooking?: (args: RecordBoardCalendarBookingRenderArgs) => ReactNode;
377
- /**
378
- * 自定义月 / 周格内单条预约。未传时仅默认 booking / block 样式与名称、时间,不展示迟到/取消等状态徽标与状态变色。
379
- */
380
- renderMonthWeekBooking?: (args: RecordBoardCalendarGridBookingRenderArgs) => ReactNode;
381
- /** 自定义周/日视图左侧资源列单元 */
382
- renderResourceCell?: (args: RecordBoardCalendarResourceRenderArgs) => ReactNode;
383
- }
384
- /**
385
- * 平面图槽位 props:与 PisellFloorMapLayout 对齐;items/renderItem 可省略(由 RecordBoard 默认 [] / () => null)。
386
- */
387
- export declare type RecordBoardFloorMapProps = Partial<PisellFloorMapLayoutProps>;
388
- /** 大屏资源墙单卡数据(与画布资源 id 对齐,见 {@link resourceId}) */
389
- export interface RecordBoardResourceWallCardModel {
390
- /** 与日历/画布 `form_record` id 一致 */
391
- resourceId: string;
392
- resource: string;
393
- /** 资源类型等次级标签(如表单 `form_code`);大屏卡左上角展示于资源名上方 */
394
- area?: string;
395
- /**
396
- * 资源墙展示态:由业务兼容层(如预约页)基于 booking.status + now + start/end 计算。
397
- * materials 侧仅按该字段渲染,不再做 light/时间窗口推断。
398
- */
399
- status?: 'available' | 'inUse' | 'boardingSoon' | 'late' | 'endingSoon' | 'expired';
400
- currentTime?: string;
401
- currentBooking?: string;
402
- /** boardingSoon:距离开始分钟;inUse/endingSoon/expired:距离结束分钟 */
403
- startsInMin?: number;
404
- /** late:已超过开始时间但仍未占用(分钟,递增) */
405
- lateMin?: number;
406
- remainingMin?: number;
407
- /**
408
- * 占用态当前场次 Unix 毫秒时间戳(宿主可用 booking start/end 回填)。
409
- * 大屏进度条优先用其与墙钟差值连续更新;缺省时退回「剩余分钟漂移 / 60」。
410
- */
411
- sessionStartMs?: number;
412
- sessionEndMs?: number;
413
- nextList?: Array<{
414
- time: string;
415
- booking: string;
416
- startInMin: number;
417
- }>;
418
- /**
419
- * 当前区展示的是「尚未开始」的预约时:主面板小标题用「下一预约」文案,且不再单独渲染下方 Next 条带。
420
- */
421
- wallUseNextLabelHideNextRow?: boolean;
422
- /**
423
- * @deprecated light 相关状态已弃用(2026-04):资源墙仅保留 5 态,不再渲染 light 文案。
424
- * 旧字段暂保留以兼容历史数据源,但不会再被 materials 使用。
425
- */
426
- lightState?: 'off' | 'off_soon_on' | 'on_soon_off';
427
- /** @deprecated */
428
- lightOnInMin?: number;
429
- /** @deprecated */
430
- lightOffInMin?: number;
431
- }
432
- /**
433
- * 控制台「Resource & Layout」中与版式/轮播相关的可持久化字段(不含资源多选,其走 filter;不含配色,其走 appearanceTheme)。
434
- */
435
- export interface RecordBoardResourceWallLayoutPersist {
436
- layoutKey: string;
437
- customCols: number;
438
- customRows: number;
439
- pageDurationSec: number;
440
- boardingSoonBeforeMin: number;
441
- heroMaxWidthRatio: number;
442
- }
443
- /** {@link RecordBoardResourceWallLayoutPersist} 默认值,与 {@link PisellRecordBoardResourceWallView} 历史初始 state 一致 */
444
- export declare const DEFAULT_RESOURCE_WALL_LAYOUT_PERSIST: RecordBoardResourceWallLayoutPersist;
445
- /**
446
- * 大屏资源墙视图 props;与 Shell 内 `PisellRecordBoard.ResourceWall` 合并(子优先)。
447
- * 展示顺序默认由 `searchParams.filter.values[filterFieldKey]`(默认 `resource_wall_resource_ids`)非空 `string[]` 决定;
448
- * **未写该键、值非数组、或 `[]`**:不展示卡片。**仅渲染 `cards` 中能按 `resourceId` 命中的项**;
449
- * 命中不到的 id(例如磁盘残留的旧店铺 / 已删资源)直接剔除、不再回退成「数字占位卡」,磁盘清洗由宿主负责。
450
- * 当 `searchParams.sort` 的字段名与 {@link RecordBoardResourceWallProps.statusSortFieldKeys} 匹配(默认 `status`)时,
451
- * 在筛选顺序基础上按卡占用态重排:升序空闲在前,降序占用(inUse/将结/已结束)在前。
452
- */
453
- export interface RecordBoardResourceWallProps {
454
- className?: string;
455
- style?: CSSProperties;
456
- /** 全量卡片;展示时按快筛字段过滤 */
457
- cards?: RecordBoardResourceWallCardModel[];
458
- loading?: boolean;
459
- /**
460
- * 与 ToolBar 快筛里多选字段的 `name`/`key` 一致,用于从 context.searchParams.filter.values 读取 string[]。
461
- * @default 'resource_wall_resource_ids'
462
- */
463
- filterFieldKey?: string;
464
- /**
465
- * 与 ToolBar `searchParams.sort` 首段字段名比对(忽略大小写);命中时资源墙按卡状态重排。
466
- * 列 key 不是 `status` 时传入实际字段名,例如 `['courtStatus']`。
467
- * @default ['status']
468
- */
469
- statusSortFieldKeys?: string[];
470
- /** 六态文案/配色覆盖(与默认 map 浅合并);通常由宿主从 localStorage 水合 */
471
- statusToneOverrides?: VenueWallStatusToneOverrides;
472
- /** 覆盖变更时回调,宿主可写入 localStorage */
473
- onStatusToneOverridesChange?: (next: VenueWallStatusToneOverrides) => void;
474
- /**
475
- * 浅 / 深外观各自的卡面主色与六态覆盖;与 {@link onAppearanceThemeChange} 配合由宿主持久化。
476
- * 未传入时由视图内部维护(刷新丢失)。
477
- */
478
- appearanceTheme?: VenueWallAppearanceTheme;
479
- onAppearanceThemeChange?: (next: VenueWallAppearanceTheme) => void;
480
- /** 当前大屏外观:浅色 / 深色;与 {@link onAppearanceModeChange} 一并由宿主导入 localStorage */
481
- appearanceMode?: 'light' | 'dark';
482
- onAppearanceModeChange?: (mode: 'light' | 'dark') => void;
483
- /**
484
- * 版式与轮播等;与 {@link onResourceWallLayoutChange} 由宿主导入 localStorage(预约页)。
485
- */
486
- resourceWallLayout?: Partial<RecordBoardResourceWallLayoutPersist>;
487
- onResourceWallLayoutChange?: (next: RecordBoardResourceWallLayoutPersist) => void;
488
- }
489
- /**
490
- * RecordBoard 容器 Context 值
491
- * 与具体 layout 类型无关,所有 layout 共用同一套数据与操作
492
- */
493
- export interface RecordBoardContextValue {
494
- /**
495
- * 平面图多数据源字典(整份各 key,不参与表格分页切片)。
496
- * ShellFrame 会与 FloorMap 子 props 中的 dataSources 合并后传入 PisellFloorMapLayout。
497
- */
498
- dataSources?: FloorMapDataSources;
499
- /**
500
- * 表格绑定 `dataSources` 的 key;仅当未传入根级 `data` 时,表格数据由 `dataSources[gridDataSourceKey]` 推导并做客户端分页切片。
501
- */
502
- gridDataSourceKey?: string;
503
- /** 当前列表数据 */
504
- data: any[];
505
- /** 加载态 */
506
- loading: boolean;
507
- /** 总数(用于分页) */
508
- total: number;
509
- /** 分页状态 */
510
- pagination: RecordBoardPaginationState;
511
- /** 分页变更 */
512
- onPageChange: (pageNumber: number, pageSize: number) => void;
513
- /** 搜索/筛选参数 */
514
- searchParams: Record<string, any>;
515
- /** 触发搜索(会重置到第一页) */
516
- onSearch: (params: Record<string, any>) => void;
517
- /** 重置搜索 */
518
- onReset?: () => void;
519
- /** 当前布局类型,供子组件按需做差异化 */
520
- layoutType: RecordBoardLayoutType;
521
- /** 多选:当前选中的 key 列表 */
522
- selectedKeys: Key[];
523
- /** 多选:当前选中的行数据 */
524
- selectedRows: any[];
525
- /** 多选:选择变更回调(表格/卡片勾选、BatchActionBar 全选/清空/反选时调用) */
526
- onSelectionChange: (keys: Key[], rows: any[]) => void;
527
- /** 行主键,用于多选与列表渲染,如 'id' 或 (record) => record.id */
528
- rowKey?: string | ((record: any) => Key);
529
- /**
530
- * 列显示隐藏状态(仅影响表格/卡片列展示,不影响 filter/sort 配置)。
531
- * key 为列 key/dataIndex,value 为是否显示;未出现的列默认显示。
532
- */
533
- columnVisibility?: Record<string, boolean>;
534
- /** 列显示隐藏变更回调 */
535
- onColumnVisibilityChange?: (visibility: Record<string, boolean>) => void;
536
- /** 列 key 顺序(用于列设置弹层拖拽排序),未设置时按 grid.columns 顺序 */
537
- columnOrder?: string[] | null;
538
- /** 列顺序变更回调(拖拽排序后) */
539
- onColumnOrderChange?: (columnKeys: string[]) => void;
540
- /** 各子组件透传 props,由 Provider 注入 */
541
- childComponentProps?: RecordBoardChildComponentProps;
542
- /**
543
- * 业务方完全自定义的分页渲染(从根 props 透传过来)。
544
- * `<RecordBoardPagination />` 优先级:组件 `render` prop > 此 ctx 字段 > 默认 materials Pagination。
545
- */
546
- paginationRender?: (ctx: RecordBoardContextValue) => React.ReactNode;
547
- /**
548
- * 与 `grid.infiniteScroll` 同步:为 true 时不渲染 ShellFrame 底部分页,由 Grid 表体触底触发翻页。
549
- */
550
- gridInfiniteScroll?: boolean;
551
- /** 是否占满父容器高度,供 ShellFrame 做弹性布局(内容区纯 CSS 滚动 + 表头 sticky;scroll.autoCalc 时用测量高度) */
552
- fillHeight?: boolean;
553
- /** 内容区滚动容器高度(fillHeight 且 grid.scroll.autoCalc 时由 ShellFrame 测量),供 Grid 计算 scroll.y */
554
- scrollAreaHeight?: number | null;
555
- /** 设置内容区滚动容器高度(由 ShellFrame 测量组件调用) */
556
- setScrollAreaHeight?: (height: number | null) => void;
557
- /** 点击重置时递增,供 ToolBar 给 PisellFilter 设 key 以强制重挂载,清空弹窗内表单 */
558
- filterResetKey?: number;
559
- /** 递增 filterResetKey,由 ToolBarReset 在重置时调用 */
560
- setFilterResetKey?: (fn: (prev: number) => number) => void;
561
- /** 当前主内容区:表格或平面图;无平面图配置时一般为 grid(ShellFrame 内仅 FloorMap 时会改为 floorMap) */
562
- bodyView: RecordBoardBodyView;
563
- setBodyView: (v: RecordBoardBodyView) => void;
564
- /** 根级传入的平面图 props(可选);与 ShellFrame 内 FloorMap 子组件合并,子优先 */
565
- floorMapProps?: RecordBoardFloorMapProps;
566
- /**
567
- * 平面图数据/保存等注入上下文(与 `FloorMapLayoutContextValue` 同形),由 Shell 内置 `FloorMapLayoutProvider` 注入 `PisellFloorMapLayout`;
568
- * 与 `useRecordBoardContext()` 同源镜像,供 Toolbar 等读取。
569
- */
570
- floorMapLayoutContext?: FloorMapLayoutContextValue;
571
- /** 双视图并存时首屏偏好(根 props,与 PisellRecordBoard.defaultBodyView 一致) */
572
- defaultBodyView?: RecordBoardBodyView;
573
- /** 是否允许表格/平面图切换,与根 props `bodyViewSwitchable` 一致 */
574
- bodyViewSwitchable?: boolean;
575
- /** 挂到 ShellFrame 内 PisellFloorMapLayout,供外部 imperative 调用(如 saveLayout / fitBounds) */
576
- floorMapLayoutRef?: Ref<PisellFloorMapLayoutRef | null>;
577
- /**
578
- * 平面图视图下叠在画布内的底部居中悬浮区(如「编辑平面图」),不单独占一行 footer。
579
- */
580
- floorMapFooter?: ReactNode;
581
- /** 根级传入的日历视图 props(可选);与 ShellFrame 内 Calendar 子组件合并,子优先 */
582
- calendarProps?: RecordBoardCalendarProps;
583
- /** 根级传入的大屏资源墙 props(可选);与 ShellFrame 内 ResourceWall 子组件合并,子优先 */
584
- resourceWallProps?: RecordBoardResourceWallProps;
585
- }
586
- /**
587
- * 各 layout 下子组件的可选透传配置(类似 ChildComponentProps)
588
- */
589
- /**
590
- * BatchActionBar 透传配置,与 PisellBatchActionBar 的 props 对齐。
591
- * 具体类型见 PisellBatchActionBarProps,此处仅做透传用。
592
- */
593
- export declare type RecordBoardBatchActionBarProps = Record<string, any>;
594
- /** Filter 透传配置,与 PisellFilter 的 props 对齐 */
595
- export declare type RecordBoardFilterProps = Record<string, any>;
596
- /**
597
- * ToolBar 透传配置。
598
- * - 继承 PisellToolBar 的 slots:topLeft、topRight、bottomLeft、bottomRight、tabs。
599
- * - search:默认在工具栏内渲染 PisellFind;为对象时透传为 PisellFind 的 props;为 false 时不渲染搜索。
600
- * - filter:默认在工具栏右侧渲染 PisellFilter;为对象时透传 PisellFilter props;为 false 时不渲染。筛选值绑定 searchParams.filter,变更触发 onSearch。
601
- */
602
- export interface RecordBoardToolBarProps {
603
- /**
604
- * `compact`:Find / 快筛 / 排序筛选 / 重置 / 视图切换等统一小号,用于窄容器(如 HUD 内嵌表)。
605
- * `compact-narrow`:极窄容器(如 HUD 抽屉)下的进一步压缩 ──
606
- * - Find 退化为图标触发器(弹搜索 Modal/Drawer),不再常驻 input
607
- * - 列显示 / 排序 / 筛选合并到一个齿轮按钮的 Popover 内
608
- * - Reset 仍单独保留(快捷高频动作)
609
- * @default 'default'
610
- */
611
- toolbarDensity?: 'default' | 'compact' | 'compact-narrow';
612
- className?: string;
613
- style?: React.CSSProperties;
614
- tabs?: React.ReactNode;
615
- topLeft?: React.ReactNode;
616
- topRight?: React.ReactNode;
617
- bottomLeft?: React.ReactNode;
618
- bottomRight?: React.ReactNode;
619
- /** 在 ToolBar 内渲染搜索:默认 PisellFind;对象透传 PisellFind props;false 不渲染 */
620
- search?: boolean | RecordBoardSearchProps;
621
- /** 在 ToolBar 右侧渲染筛选:默认 PisellFilter;对象透传 PisellFilter props;false 不渲染。值存于 searchParams.filter */
622
- filter?: boolean | RecordBoardFilterProps;
623
- /**
624
- * 在 ToolBar 内、筛选左侧渲染排序:默认 Sort;对象可传 list、placement 等;false 不渲染。值存于 searchParams.sort。
625
- * 资源墙视图:排序**菜单内**仅保留「状态」相关项(其余排序仅在表格等视图出现);若无状态列派生项,会注入「空闲优先 / 占用优先」子项。
626
- * 可传 `resourceWallSortFieldKeys: string[]` 与非 `status` 列 key 对齐。表格/平面图/日历仍使用完整排序列表。
627
- */
628
- sort?: boolean | Record<string, any>;
629
- /**
630
- * 在 ToolBar 左侧展示内联快速筛选(替代 Filter 弹层内的 quickFilter)。
631
- * 为 true 时使用 columns 派生的 quickFilter 列表;为对象时可传 filterList、formFiltersPrefix、size 等。
632
- * 启用后建议对 filter 传 hiddenQuickFilter: true,弹层内仅保留高级筛选。
633
- * hideFilterNamesOnFloorMap:仅当 Shell 内同时有表格+平面图且当前为平面图时,按筛选项 name(或 key)从内联快筛中移除,避免与顶栏日程重复(如预约 booking_time_start_between)。
634
- */
635
- quickFilter?: boolean | Record<string, any>;
636
- /** 列显示隐藏设置入口;默认 true(有 grid.columns 时显示);false 时不渲染 */
637
- columnSetting?: boolean;
638
- }
639
- /** Search 透传配置,与 PisellFind 的 props 对齐 */
640
- export declare type RecordBoardSearchProps = Record<string, any>;
641
- /**
642
- * Grid 布局透传配置,对应 RecordBoardGridView 的 props(useRecordBoardContext('grid') 会将其合并到 context)。
643
- * 基于 antd TableProps,省略由 context 注入或组件自管的项(dataSource、loading、pagination、columns、scroll、size、rowSelection)。
644
- * 多选用 selectedKeys/selectedRows/onSelectionChange;其余 Table props(如 onRow、onHeaderRow、expandable、rowClassName、summary)透传。
645
- */
646
- export declare type RecordBoardGridProps = {
647
- /** 列配置;ToolBar 据此派生筛选与排序,ColumnSetting 据此做列显示隐藏 */
648
- columns?: RecordBoardColumnType[];
649
- /** 默认隐藏的列 key 列表(对应 columns 的 key 或 dataIndex),用于初始化列显隐状态 */
650
- defaultHiddenColumnKeys?: string[];
651
- /**
652
- * 当前页某列全部同值或全部为空时:隐藏该列,并在表格上方展示总结区(列名 + 统一值/空数据)。
653
- * 比较规则:列可配置 uniformCompare(value, record) 返回用于比较的 string/number;否则用 dataIndex 取值;仅 string/number 参与比较,undefined/null 不参与。
654
- * 默认 true;传 false 可关闭。
655
- */
656
- collapseUniformColumns?: boolean;
657
- /**
658
- * 表格滚动配置,对齐 materials Table useGenScroll。
659
- * - x / y:同 antd Table scroll。
660
- * - autoCalc:为 true 时根据内容区高度自动计算 scroll.y(需 fillHeight),表头固定、表体滚动。
661
- * - scrollToFirstRowOnChange:翻页后是否滚动到第一行。
662
- */
663
- scroll?: {
664
- x?: number | string;
665
- y?: number | string;
666
- autoCalc?: boolean;
667
- scrollToFirstRowOnChange?: boolean;
668
- };
669
- /**
670
- * 为 true 时:表体滚动触底触发 `onPageChange` 加载下一页,ShellFrame **不展示**底部分页条。
671
- * 宿主需保证 `data` 为已加载的**累积**行(或 dataSources 模式由容器做累积切片),且 `total` 为总量;触底停更条件为 `data.length < total`。
672
- */
673
- infiniteScroll?: boolean;
674
- /** 表格尺寸 */
675
- size?: 'small' | 'middle' | 'default';
676
- /** 当前选中的行 key 列表(多选) */
677
- selectedKeys?: Key[];
678
- /** 当前选中的行数据(多选) */
679
- selectedRows?: unknown[];
680
- /** 多选变更回调 */
681
- onSelectionChange?: (keys: Key[], rows: unknown[]) => void;
682
- /** 多选列配置:fixed、columnWidth 等,与 selectedKeys/onSelectionChange 合并为 Table rowSelection */
683
- rowSelection?: Partial<Omit<NonNullable<TableProps<unknown>['rowSelection']>, 'selectedRowKeys' | 'onChange'>>;
684
- } & Omit<TableProps<unknown>, 'dataSource' | 'loading' | 'pagination' | 'columns' | 'scroll' | 'size' | 'rowSelection'>;
685
- export interface RecordBoardChildComponentProps {
686
- /** 搜索配置,透传给 PisellFind;关键词绑定 searchParams.keyword */
687
- search?: RecordBoardSearchProps;
688
- /** 工具栏配置,透传给 PisellToolBar;内置搜索会接 context.searchParams/onSearch */
689
- toolBar?: RecordBoardToolBarProps;
690
- pagination?: Record<string, any>;
691
- /** Grid 布局配置:列、滚动、尺寸等,透传给 RecordBoardGridView */
692
- grid?: RecordBoardGridProps;
693
- cardList?: Record<string, any>;
694
- /** 多选操作栏配置,透传给 PisellBatchActionBar */
695
- batchActionBar?: RecordBoardBatchActionBarProps;
696
- }
697
- /**
698
- * RecordBoard 容器 Props。
699
- * 仅打散传参:列表/分页/搜索/多选/列显隐、以及 grid/toolBar/search/paginationConfig/batchActionBar/cardList 独立传入。
700
- */
701
- export interface RecordBoardProps {
702
- /** 子节点,一般为某种 Layout 或自定义组合 */
703
- children?: ReactNode;
704
- /** 当前使用的布局类型 */
705
- layoutType?: RecordBoardLayoutType;
706
- /** 行主键,用于多选与列表 */
707
- rowKey?: string | ((record: any) => Key);
708
- /** 当前列表数据 */
709
- data?: any[];
710
- /**
711
- * 平面图多数据源;与 `FloorMap` / 根级 `floorMap` 的 dataSources 在 ShellFrame 内合并(后者覆盖同 key)。
712
- * 表格默认仍用 `data`;若不传 `data` 且提供 `gridDataSourceKey`,则由本字段对应 key 推导表格行并客户端分页。
713
- */
714
- dataSources?: FloorMapDataSources;
715
- /**
716
- * 表格使用的 `dataSources` key(如 `'tables'`);与 `floorMapConfig` 内 `dataSourceKey` 对齐。
717
- * 仅在根级 **`data` 未传入**时生效。
718
- */
719
- gridDataSourceKey?: string;
720
- /** 加载态 */
721
- loading?: boolean;
722
- /** 总数(用于分页);由 `dataSources` 推导表格时,未传则默认为该 key 对应数组长度 */
723
- total?: number;
724
- /** 分页状态 */
725
- pagination?: RecordBoardPaginationState;
726
- /** 分页变更 */
727
- onPageChange?: (pageNumber: number, pageSize: number) => void;
728
- /** 搜索/筛选参数 */
729
- searchParams?: Record<string, any>;
730
- /** 触发搜索(会重置到第一页) */
731
- onSearch?: (params: Record<string, any>) => void;
732
- /** 重置搜索 */
733
- onReset?: () => void;
734
- /** 列显隐持久化:传入则用 @pisell/utils 的 getComponentStorageKey 规则写入 localStorage;低代码可传 __id */
735
- columnVisibilityStorageKey?: string;
736
- /** Grid 配置:列、滚动、尺寸等 */
737
- grid?: RecordBoardGridProps;
738
- /** 工具栏配置 */
739
- toolBar?: RecordBoardToolBarProps;
740
- /** 搜索配置,透传给 PisellFind */
741
- search?: RecordBoardSearchProps;
742
- /** 分页组件透传配置(与 pagination 状态区分,此处为 Pagination 组件 props) */
743
- paginationConfig?: Record<string, any>;
744
- /**
745
- * 完全自定义分页渲染:传入则 ShellFrame 内置的 `<RecordBoardPagination />` 用此函数替换默认渲染。
746
- *
747
- * 适用场景:业务方需要在窄容器(如 hud 抽屉)里不要 materials Pagination
748
- * 那套 50px 高、Previous/Next 大按钮、灰底边框容器,直接用 antd 原生 small Pagination
749
- * 或其它紧凑实现。比 `paginationConfig` 更彻底(后者只是 props 透传,外壳样式仍在)。
750
- *
751
- * 入参 ctx 包含 pagination/total/onPageChange 等当前分页所需上下文。
752
- */
753
- paginationRender?: (ctx: RecordBoardContextValue) => React.ReactNode;
754
- /** 多选操作栏配置 */
755
- batchActionBar?: RecordBoardBatchActionBarProps;
756
- /** 卡片列表配置 */
757
- cardList?: Record<string, any>;
758
- /** 是否启用分页(与 pagination 状态区分) */
759
- enablePagination?: boolean;
760
- /**
761
- * 日历(可选):与 PisellRecordBoardCalendarView 对齐。
762
- * 推荐在 ShellFrame 内使用 PisellRecordBoard.Calendar 声明;若同时传根级与本项,Shell 内子组件 props 优先合并。
763
- */
764
- calendar?: RecordBoardCalendarProps;
765
- /**
766
- * 大屏资源墙(可选):与 Shell 内 `PisellRecordBoard.ResourceWall` 对齐。
767
- * 推荐在 ShellFrame 内声明子组件;若同时传根级与本项,Shell 内子组件 props 优先合并。
768
- */
769
- resourceWall?: RecordBoardResourceWallProps;
770
- /**
771
- * 平面图(可选,兼容低代码 / SalesGrid 等):与 PisellFloorMapLayout 对齐。
772
- * 推荐在 ShellFrame 内使用 PisellRecordBoard.FloorMap 声明;若同时传根级与本项,Shell 内子组件 props 优先合并。
773
- */
774
- floorMap?: RecordBoardFloorMapProps;
775
- /**
776
- * 平面图 Context 注入(`FloorMapLayoutContextValue`):配置/保存/加载等;展示向 props 仍建议走 `floorMap`。
777
- * Shell 在平面图节点内置 Provider,无需再包一层 `FloorMapLayoutProvider`。
778
- */
779
- floorMapLayoutContext?: FloorMapLayoutContextValue;
780
- /**
781
- * 表格与平面图并存时首屏子视图,默认 grid。
782
- * 仅声明 FloorMap 而无 Grid/Card 内容时由 ShellFrame 固定为平面图,不出现切换器。
783
- */
784
- defaultBodyView?: RecordBoardBodyView;
785
- /** 与 bodyView 同步持久化到 localStorage 的 key(双视图时生效) */
786
- bodyViewStorageKey?: string;
787
- /**
788
- * 是否允许在表格/平面图之间切换(Segmented)。为 false 时不展示切换器,且若设置了 {@link lockedBodyView} 则锁定子视图。
789
- * @default true
790
- */
791
- bodyViewSwitchable?: boolean;
792
- /**
793
- * 当 `bodyViewSwitchable === false` 时强制保持的子视图;未传时默认为 `floorMap`。
794
- */
795
- lockedBodyView?: RecordBoardBodyView;
796
- /** 平面图 Layout 实例 ref,由 ShellFrame 注入 */
797
- floorMapLayoutRef?: Ref<PisellFloorMapLayoutRef | null>;
798
- /** 平面图画布内底部悬浮插槽(如编辑入口),注入 Context 供 ShellFrame 渲染 */
799
- floorMapFooter?: ReactNode;
800
- /** 其他 */
801
- [key: string]: any;
802
- }