@pisell/materials 1.0.1078 → 1.0.1079

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 (437) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/meta.js +1 -1
  5. package/build/lowcode/render/default/view.js +1 -1
  6. package/build/lowcode/view.js +1 -1
  7. package/es/components/PisellCards/components/GraphicTextCard/GraphicTextCard.d.ts +9 -0
  8. package/es/components/PisellCards/components/GraphicTextCard/GraphicTextCard.stories.d.ts +163 -0
  9. package/es/components/PisellCards/components/GraphicTextCard/components/BadgeWrapper.d.ts +5 -0
  10. package/es/components/PisellCards/components/GraphicTextCard/components/GraphicArea.d.ts +24 -0
  11. package/es/components/PisellCards/components/GraphicTextCard/components/TextContent.d.ts +27 -0
  12. package/es/components/PisellCards/components/GraphicTextCard/components/index.d.ts +6 -0
  13. package/es/components/PisellCards/components/GraphicTextCard/hooks/index.d.ts +5 -0
  14. package/es/components/PisellCards/components/GraphicTextCard/hooks/useGraphicTextCardClick.d.ts +15 -0
  15. package/es/components/PisellCards/components/GraphicTextCard/hooks/useGraphicTextCardStyle.d.ts +18 -0
  16. package/es/components/PisellCards/components/GraphicTextCard/index.d.ts +5 -0
  17. package/es/components/PisellCards/components/GraphicTextCard/types.d.ts +301 -0
  18. package/es/components/PisellCards/components/GraphicTextCard/utils/index.d.ts +19 -0
  19. package/es/components/PisellCards/components/TextCard/TextCard.d.ts +8 -0
  20. package/es/components/PisellCards/components/TextCard/TextCard.stories.d.ts +183 -0
  21. package/es/components/PisellCards/components/TextCard/components/BadgeWrapper.d.ts +27 -0
  22. package/es/components/PisellCards/components/TextCard/components/IconWrapper.d.ts +17 -0
  23. package/es/components/PisellCards/components/TextCard/components/TextContent.d.ts +21 -0
  24. package/es/components/PisellCards/components/TextCard/components/index.d.ts +6 -0
  25. package/es/components/PisellCards/components/TextCard/index.d.ts +5 -0
  26. package/es/components/PisellCards/components/TextCard/types.d.ts +277 -0
  27. package/es/components/PisellCards/components/index.d.ts +10 -0
  28. package/es/components/PisellCards/index.d.ts +17 -0
  29. package/es/components/PisellContactBrief/PisellContactBrief.stories.d.ts +31 -0
  30. package/es/components/PisellContactBrief/components/index.d.ts +5 -0
  31. package/es/components/PisellContactBrief/index.d.ts +6 -0
  32. package/es/components/PisellContactBrief/locales.d.ts +55 -0
  33. package/es/components/PisellContactBrief/types.d.ts +82 -0
  34. package/es/components/PisellFields/index.d.ts +37 -0
  35. package/es/components/PisellLayouts/index.d.ts +37 -0
  36. package/es/components/PisellSteps/PisellSteps.d.ts +14 -0
  37. package/es/components/PisellTabbar/PisellTabbar.d.ts +20 -0
  38. package/es/components/PisellTabbar/index.d.ts +9 -0
  39. package/es/components/PisellTabbar/template/Template1/PisellTabbar.d.ts +5 -0
  40. package/es/components/PisellTabbar/template/Template1/index.d.ts +6 -0
  41. package/es/components/PisellTabbar2/PisellTabbar.d.ts +23 -0
  42. package/es/components/PisellTabbar2/components/TabbarLevel.d.ts +8 -0
  43. package/es/components/PisellTabbar2/components/index.d.ts +1 -0
  44. package/es/components/PisellTabbar2/index.d.ts +6 -0
  45. package/es/components/PisellTabbar3/PisellTabbar.d.ts +20 -0
  46. package/es/components/PisellTabbar3/index.d.ts +6 -0
  47. package/es/components/Template/[ComponentName].d.ts +0 -0
  48. package/es/components/appVersionControl/index.d.ts +5 -0
  49. package/es/components/dataSourceComponents/dataSourceForm/serve.d.ts +201 -0
  50. package/es/components/dataSourceComponents/dataSourceForm/serve.js +4 -2
  51. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +5 -0
  52. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +3 -3
  53. package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +85 -0
  54. package/es/components/dataSourceComponents/fields/index.d.ts +16 -15
  55. package/es/components/drag-sort-tree/index.d.ts +4 -0
  56. package/es/components/filter/components/Dropdown/types.d.ts +13 -0
  57. package/es/components/filter/components/FilterButton/types.d.ts +24 -0
  58. package/es/components/filter/types.d.ts +48 -0
  59. package/es/components/hardwareErrorTip/demo.d.ts +3 -0
  60. package/es/components/hardwareErrorTip/errorCard/index.d.ts +29 -0
  61. package/es/components/hardwareErrorTip/errorTipStatistics/index.d.ts +13 -0
  62. package/es/components/hardwareErrorTip/index.d.ts +19 -0
  63. package/es/components/hardwareErrorTip/logCard/index.d.ts +28 -0
  64. package/es/components/hardwareErrorTip/types.d.ts +28 -0
  65. package/es/components/iconfont/index.d.ts +8 -0
  66. package/es/components/login-and-register/index.d.ts +82 -0
  67. package/es/components/pisell-config-provider/index.d.ts +13 -0
  68. package/es/components/pisellActionPanel/PisellActionPanel.d.ts +13 -0
  69. package/es/components/pisellActionPanel/PisellActionPanel.stories.d.ts +19 -0
  70. package/es/components/pisellActionPanel/index.d.ts +6 -0
  71. package/es/components/pisellActionPanel/types.d.ts +83 -0
  72. package/es/components/pisellBaseCard/PisellBaseCard.d.ts +8 -0
  73. package/es/components/pisellBaseCard/PisellBaseCard.stories.d.ts +19 -0
  74. package/es/components/pisellBaseCard/index.d.ts +5 -0
  75. package/es/components/pisellBaseCard/types.d.ts +45 -0
  76. package/es/components/pisellBatchActionBar/index.d.ts +6 -0
  77. package/es/components/pisellCustomerBrief/PisellCustomerBrief.d.ts +15 -0
  78. package/es/components/pisellCustomerBrief/PisellCustomerBrief.stories.d.ts +23 -0
  79. package/es/components/pisellCustomerBrief/index.d.ts +6 -0
  80. package/es/components/pisellCustomerBrief/types.d.ts +82 -0
  81. package/es/components/pisellDataSourceContainer/hooks/useHandleAction.d.ts +32 -0
  82. package/es/components/pisellDataSourceContainer/provider/ChildComponentProps.d.ts +13 -0
  83. package/es/components/pisellDataSourceContainer/provider/RefManager.d.ts +9 -0
  84. package/es/components/pisellDataSourceContainer/type.d.ts +84 -0
  85. package/es/components/pisellEmpty/index.d.ts +19 -0
  86. package/es/components/pisellEntityCard/PisellEntityCard.d.ts +8 -0
  87. package/es/components/pisellEntityCard/PisellEntityCard.stories.d.ts +47 -0
  88. package/es/components/pisellEntityCard/index.d.ts +5 -0
  89. package/es/components/pisellEntityCard/types.d.ts +144 -0
  90. package/es/components/pisellExport/PisellExport.d.ts +9 -0
  91. package/es/components/pisellExport/PisellExport.stories.d.ts +45 -0
  92. package/es/components/pisellExport/index.d.ts +2 -0
  93. package/es/components/pisellExport/types.d.ts +63 -0
  94. package/es/components/pisellFilter/type.d.ts +7 -0
  95. package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.stories.d.ts +55 -0
  96. package/es/components/pisellFloorMapLayout/components/EditableItemLayer.d.ts +46 -0
  97. package/es/components/pisellFloorMapLayout/components/ItemLayer.d.ts +53 -0
  98. package/es/components/pisellFloorMapLayout/components/MapLayer.d.ts +27 -0
  99. package/es/components/pisellFloorMapLayout/components/ViewControlsWithZoom.d.ts +19 -0
  100. package/es/components/pisellFloorMapLayout/components/index.d.ts +21 -0
  101. package/es/components/pisellFloorMapLayout/context/FloorMapLayoutContext.d.ts +16 -0
  102. package/es/components/pisellFloorMapLayout/context/mergeFloorMapLayoutContext.d.ts +5 -0
  103. package/es/components/pisellFloorMapLayout/hooks/useFloorMapTransformMetrics.d.ts +67 -0
  104. package/es/components/pisellFloorMapLayout/hooks/useShopFloorPlanSubscription.d.ts +19 -0
  105. package/es/components/pisellFloorMapLayout/index.d.ts +25 -0
  106. package/es/components/pisellFloorMapLayout/locales-ja.d.ts +113 -0
  107. package/es/components/pisellFloorMapLayout/locales-pt.d.ts +113 -0
  108. package/es/components/pisellFloorMapLayout/locales.d.ts +551 -0
  109. package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanClient.d.ts +10 -0
  110. package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanMapping.d.ts +18 -0
  111. package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanPure.d.ts +22 -0
  112. package/es/components/pisellFloorMapLayout/types.d.ts +604 -0
  113. package/es/components/pisellFloorMapLayout/utils/floorMapConfigMerge.d.ts +8 -0
  114. package/es/components/pisellFloorMapLayout/utils/floorMapDataBindingUtils.d.ts +21 -0
  115. package/es/components/pisellFloorMapLayout/utils/floorMapFallbackRender.d.ts +11 -0
  116. package/es/components/pisellFloorMapLayout/utils/floorMapRemotePersist.d.ts +17 -0
  117. package/es/components/pisellFloorMapLayout/utils/floorMapViewConfigDiff.d.ts +8 -0
  118. package/es/components/pisellFloorMapLayout/utils/layoutMeasurements.d.ts +30 -0
  119. package/es/components/pisellFloorMapLayout/utils/mergeCanvasesForTabs.d.ts +7 -0
  120. package/es/components/pisellGridPro/index.d.ts +4 -0
  121. package/es/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.d.ts +6 -0
  122. package/es/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.stories.d.ts +10 -0
  123. package/es/components/pisellHierarchicalSummaryList/components/index.d.ts +1 -0
  124. package/es/components/pisellHierarchicalSummaryList/hooks/index.d.ts +2 -0
  125. package/es/components/pisellHierarchicalSummaryList/hooks/useExpandedKeys.d.ts +15 -0
  126. package/es/components/pisellHierarchicalSummaryList/index.d.ts +5 -0
  127. package/es/components/pisellHierarchicalSummaryList/types.d.ts +248 -0
  128. package/es/components/pisellImport/PisellImport.d.ts +9 -0
  129. package/es/components/pisellImport/PisellImport.stories.d.ts +49 -0
  130. package/es/components/pisellImport/index.d.ts +2 -0
  131. package/es/components/pisellImport/types.d.ts +85 -0
  132. package/es/components/pisellList01/index.d.ts +17 -0
  133. package/es/components/pisellLookup/components/LookupTrigger.d.ts +3 -0
  134. package/es/components/pisellPhone/PisellPhone.stories.d.ts +80 -0
  135. package/es/components/pisellPhone/components/DisabledView.d.ts +16 -0
  136. package/es/components/pisellPhone/components/ReadOnlyView.d.ts +17 -0
  137. package/es/components/pisellPhone/constants/countryCodes.d.ts +21 -0
  138. package/es/components/pisellPhone/index.d.ts +8 -0
  139. package/es/components/pisellPhone/utils/countryCodeHelper.d.ts +35 -0
  140. package/es/components/pisellPhone/utils/index.d.ts +6 -0
  141. package/es/components/pisellQuickFilter/type.d.ts +12 -0
  142. package/es/components/pisellRecordBoard/context/RecordBoardContext.d.ts +3 -0
  143. package/es/components/pisellRecordBoard/context/RecordBoardProvider.d.ts +11 -0
  144. package/es/components/pisellRecordBoard/hooks/useRecordBoardContext.d.ts +16 -0
  145. package/es/components/pisellRecordBoard/layouts/CardLayout/CardList.d.ts +12 -0
  146. package/es/components/pisellRecordBoard/layouts/CardLayout/index.d.ts +13 -0
  147. package/es/components/pisellRecordBoard/layouts/GridLayout/Grid.d.ts +14 -0
  148. package/es/components/pisellRecordBoard/layouts/GridLayout/index.d.ts +13 -0
  149. package/es/components/pisellRecordBoard/shellFrame/BatchActionBar/index.d.ts +8 -0
  150. package/es/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendarDemo.d.ts +3 -0
  151. package/es/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.d.ts +7 -0
  152. package/es/components/pisellRecordBoard/shellFrame/Calendar/RecordBoardCalendar.d.ts +8 -0
  153. package/es/components/pisellRecordBoard/shellFrame/Calendar/calendarPersistGuard.d.ts +18 -0
  154. package/es/components/pisellRecordBoard/shellFrame/Calendar/index.d.ts +4 -0
  155. package/es/components/pisellRecordBoard/shellFrame/ColumnSetting/ColumnSettingPopover.d.ts +15 -0
  156. package/es/components/pisellRecordBoard/shellFrame/ColumnSetting/index.d.ts +8 -0
  157. package/es/components/pisellRecordBoard/shellFrame/FloorMap.d.ts +14 -0
  158. package/es/components/pisellRecordBoard/shellFrame/Search/index.d.ts +10 -0
  159. package/es/components/pisellRecordBoard/shellFrame/ShellBodyMetaContext.d.ts +21 -0
  160. package/es/components/pisellRecordBoard/types.d.ts +468 -0
  161. package/es/components/pisellRecordBoard/utils/partitionShellFrameChildren.d.ts +20 -0
  162. package/es/components/pisellRecordBoard/utils/recordBoardColumns.d.ts +52 -0
  163. package/es/components/pisellRecordBoard/utils/withRecordBoard.d.ts +9 -0
  164. package/es/components/pisellReservationSchedule/locales.d.ts +25 -0
  165. package/es/components/pisellReservationSchedule/types.d.ts +47 -0
  166. package/es/components/pisellReservationScheduleBand/PisellReservationScheduleBand.stories.d.ts +16 -0
  167. package/es/components/pisellReservationScheduleBand/index.d.ts +2 -0
  168. package/es/components/pisellReservationScheduleBand/types.d.ts +57 -0
  169. package/es/components/pisellShellFrame/PisellShellFrame.d.ts +13 -0
  170. package/es/components/pisellShellFrame/PisellShellFrame.stories.d.ts +15 -0
  171. package/es/components/pisellShellFrame/index.d.ts +2 -0
  172. package/es/components/pisellShellFrame/types.d.ts +56 -0
  173. package/es/components/pisellStatisticList/index.d.ts +22 -0
  174. package/es/components/pisellTimeNavigator/PisellTimeNavigator.stories.d.ts +79 -0
  175. package/es/components/pisellTimeNavigator/components/BackgroundLayer.d.ts +14 -0
  176. package/es/components/pisellTimeNavigator/components/CursorLayer.d.ts +25 -0
  177. package/es/components/pisellTimeNavigator/components/GestureLayer.d.ts +33 -0
  178. package/es/components/pisellTimeNavigator/components/index.d.ts +5 -0
  179. package/es/components/pisellTimeNavigator/hooks/useDragInertia.d.ts +14 -0
  180. package/es/components/pisellTimeNavigator/hooks/useRealtime.d.ts +5 -0
  181. package/es/components/pisellTimeNavigator/hooks/useTimeAxis.d.ts +27 -0
  182. package/es/components/pisellTimeNavigator/index.d.ts +5 -0
  183. package/es/components/pisellTimeNavigator/utils/index.d.ts +35 -0
  184. package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +4 -0
  185. package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +9 -0
  186. package/es/components/productCard/cartSkuCard/locales.d.ts +163 -0
  187. package/es/components/productCard/components/Header/Actions/index.d.ts +4 -0
  188. package/es/components/productCard/components/Header/DeleteButton/index.d.ts +4 -0
  189. package/es/components/productCard/components/Time/index.d.ts +4 -0
  190. package/es/components/productCard/status.d.ts +32 -0
  191. package/es/components/productCard/types.d.ts +85 -0
  192. package/es/components/table/Actions/component/ViewMode/index.d.ts +9 -0
  193. package/es/components/table/Table/fields/index.d.ts +2 -2
  194. package/es/components/table/Table/utils.d.ts +1 -1
  195. package/es/components/table/types.d.ts +270 -0
  196. package/es/components/versionModal/index.d.ts +24 -0
  197. package/es/locales/en-US.d.ts +439 -0
  198. package/es/locales/index.d.ts +1 -0
  199. package/es/locales/ja.d.ts +360 -0
  200. package/es/locales/pt.d.ts +360 -0
  201. package/es/locales/zh-CN.d.ts +434 -0
  202. package/es/locales/zh-TW.d.ts +434 -0
  203. package/es/theme/pisell-components.d.ts +14 -0
  204. package/lib/components/PisellCards/components/GraphicTextCard/GraphicTextCard.d.ts +9 -0
  205. package/lib/components/PisellCards/components/GraphicTextCard/GraphicTextCard.stories.d.ts +163 -0
  206. package/lib/components/PisellCards/components/GraphicTextCard/components/BadgeWrapper.d.ts +5 -0
  207. package/lib/components/PisellCards/components/GraphicTextCard/components/GraphicArea.d.ts +24 -0
  208. package/lib/components/PisellCards/components/GraphicTextCard/components/TextContent.d.ts +27 -0
  209. package/lib/components/PisellCards/components/GraphicTextCard/components/index.d.ts +6 -0
  210. package/lib/components/PisellCards/components/GraphicTextCard/hooks/index.d.ts +5 -0
  211. package/lib/components/PisellCards/components/GraphicTextCard/hooks/useGraphicTextCardClick.d.ts +15 -0
  212. package/lib/components/PisellCards/components/GraphicTextCard/hooks/useGraphicTextCardStyle.d.ts +18 -0
  213. package/lib/components/PisellCards/components/GraphicTextCard/index.d.ts +5 -0
  214. package/lib/components/PisellCards/components/GraphicTextCard/types.d.ts +301 -0
  215. package/lib/components/PisellCards/components/GraphicTextCard/utils/index.d.ts +19 -0
  216. package/lib/components/PisellCards/components/TextCard/TextCard.d.ts +8 -0
  217. package/lib/components/PisellCards/components/TextCard/TextCard.stories.d.ts +183 -0
  218. package/lib/components/PisellCards/components/TextCard/components/BadgeWrapper.d.ts +27 -0
  219. package/lib/components/PisellCards/components/TextCard/components/IconWrapper.d.ts +17 -0
  220. package/lib/components/PisellCards/components/TextCard/components/TextContent.d.ts +21 -0
  221. package/lib/components/PisellCards/components/TextCard/components/index.d.ts +6 -0
  222. package/lib/components/PisellCards/components/TextCard/index.d.ts +5 -0
  223. package/lib/components/PisellCards/components/TextCard/types.d.ts +277 -0
  224. package/lib/components/PisellCards/components/index.d.ts +10 -0
  225. package/lib/components/PisellCards/index.d.ts +17 -0
  226. package/lib/components/PisellContactBrief/PisellContactBrief.stories.d.ts +31 -0
  227. package/lib/components/PisellContactBrief/components/index.d.ts +5 -0
  228. package/lib/components/PisellContactBrief/index.d.ts +6 -0
  229. package/lib/components/PisellContactBrief/locales.d.ts +55 -0
  230. package/lib/components/PisellContactBrief/types.d.ts +82 -0
  231. package/lib/components/PisellFields/index.d.ts +37 -0
  232. package/lib/components/PisellLayouts/index.d.ts +37 -0
  233. package/lib/components/PisellSteps/PisellSteps.d.ts +14 -0
  234. package/lib/components/PisellTabbar/PisellTabbar.d.ts +20 -0
  235. package/lib/components/PisellTabbar/index.d.ts +9 -0
  236. package/lib/components/PisellTabbar/template/Template1/PisellTabbar.d.ts +5 -0
  237. package/lib/components/PisellTabbar/template/Template1/index.d.ts +6 -0
  238. package/lib/components/PisellTabbar2/PisellTabbar.d.ts +23 -0
  239. package/lib/components/PisellTabbar2/components/TabbarLevel.d.ts +8 -0
  240. package/lib/components/PisellTabbar2/components/index.d.ts +1 -0
  241. package/lib/components/PisellTabbar2/index.d.ts +6 -0
  242. package/lib/components/PisellTabbar3/PisellTabbar.d.ts +20 -0
  243. package/lib/components/PisellTabbar3/index.d.ts +6 -0
  244. package/lib/components/Template/[ComponentName].d.ts +0 -0
  245. package/lib/components/appVersionControl/index.d.ts +5 -0
  246. package/lib/components/dataSourceComponents/dataSourceForm/serve.d.ts +201 -0
  247. package/lib/components/dataSourceComponents/dataSourceForm/serve.js +4 -2
  248. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +5 -0
  249. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +3 -3
  250. package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +85 -0
  251. package/lib/components/dataSourceComponents/fields/index.d.ts +16 -15
  252. package/lib/components/drag-sort-tree/index.d.ts +4 -0
  253. package/lib/components/filter/components/Dropdown/types.d.ts +13 -0
  254. package/lib/components/filter/components/FilterButton/types.d.ts +24 -0
  255. package/lib/components/filter/types.d.ts +48 -0
  256. package/lib/components/hardwareErrorTip/demo.d.ts +3 -0
  257. package/lib/components/hardwareErrorTip/errorCard/index.d.ts +29 -0
  258. package/lib/components/hardwareErrorTip/errorTipStatistics/index.d.ts +13 -0
  259. package/lib/components/hardwareErrorTip/index.d.ts +19 -0
  260. package/lib/components/hardwareErrorTip/logCard/index.d.ts +28 -0
  261. package/lib/components/hardwareErrorTip/types.d.ts +28 -0
  262. package/lib/components/iconfont/index.d.ts +8 -0
  263. package/lib/components/login-and-register/index.d.ts +82 -0
  264. package/lib/components/pisell-config-provider/index.d.ts +13 -0
  265. package/lib/components/pisellActionPanel/PisellActionPanel.d.ts +13 -0
  266. package/lib/components/pisellActionPanel/PisellActionPanel.stories.d.ts +19 -0
  267. package/lib/components/pisellActionPanel/index.d.ts +6 -0
  268. package/lib/components/pisellActionPanel/types.d.ts +83 -0
  269. package/lib/components/pisellBaseCard/PisellBaseCard.d.ts +8 -0
  270. package/lib/components/pisellBaseCard/PisellBaseCard.stories.d.ts +19 -0
  271. package/lib/components/pisellBaseCard/index.d.ts +5 -0
  272. package/lib/components/pisellBaseCard/types.d.ts +45 -0
  273. package/lib/components/pisellBatchActionBar/index.d.ts +6 -0
  274. package/lib/components/pisellCustomerBrief/PisellCustomerBrief.d.ts +15 -0
  275. package/lib/components/pisellCustomerBrief/PisellCustomerBrief.stories.d.ts +23 -0
  276. package/lib/components/pisellCustomerBrief/index.d.ts +6 -0
  277. package/lib/components/pisellCustomerBrief/types.d.ts +82 -0
  278. package/lib/components/pisellDataSourceContainer/hooks/useHandleAction.d.ts +32 -0
  279. package/lib/components/pisellDataSourceContainer/provider/ChildComponentProps.d.ts +13 -0
  280. package/lib/components/pisellDataSourceContainer/provider/RefManager.d.ts +9 -0
  281. package/lib/components/pisellDataSourceContainer/type.d.ts +84 -0
  282. package/lib/components/pisellEmpty/index.d.ts +19 -0
  283. package/lib/components/pisellEntityCard/PisellEntityCard.d.ts +8 -0
  284. package/lib/components/pisellEntityCard/PisellEntityCard.stories.d.ts +47 -0
  285. package/lib/components/pisellEntityCard/index.d.ts +5 -0
  286. package/lib/components/pisellEntityCard/types.d.ts +144 -0
  287. package/lib/components/pisellExport/PisellExport.d.ts +9 -0
  288. package/lib/components/pisellExport/PisellExport.stories.d.ts +45 -0
  289. package/lib/components/pisellExport/index.d.ts +2 -0
  290. package/lib/components/pisellExport/types.d.ts +63 -0
  291. package/lib/components/pisellFilter/type.d.ts +7 -0
  292. package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.stories.d.ts +55 -0
  293. package/lib/components/pisellFloorMapLayout/components/EditableItemLayer.d.ts +46 -0
  294. package/lib/components/pisellFloorMapLayout/components/ItemLayer.d.ts +53 -0
  295. package/lib/components/pisellFloorMapLayout/components/MapLayer.d.ts +27 -0
  296. package/lib/components/pisellFloorMapLayout/components/ViewControlsWithZoom.d.ts +19 -0
  297. package/lib/components/pisellFloorMapLayout/components/index.d.ts +21 -0
  298. package/lib/components/pisellFloorMapLayout/context/FloorMapLayoutContext.d.ts +16 -0
  299. package/lib/components/pisellFloorMapLayout/context/mergeFloorMapLayoutContext.d.ts +5 -0
  300. package/lib/components/pisellFloorMapLayout/hooks/useFloorMapTransformMetrics.d.ts +67 -0
  301. package/lib/components/pisellFloorMapLayout/hooks/useShopFloorPlanSubscription.d.ts +19 -0
  302. package/lib/components/pisellFloorMapLayout/index.d.ts +25 -0
  303. package/lib/components/pisellFloorMapLayout/locales-ja.d.ts +113 -0
  304. package/lib/components/pisellFloorMapLayout/locales-pt.d.ts +113 -0
  305. package/lib/components/pisellFloorMapLayout/locales.d.ts +551 -0
  306. package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanClient.d.ts +10 -0
  307. package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanMapping.d.ts +18 -0
  308. package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanPure.d.ts +22 -0
  309. package/lib/components/pisellFloorMapLayout/types.d.ts +604 -0
  310. package/lib/components/pisellFloorMapLayout/utils/floorMapConfigMerge.d.ts +8 -0
  311. package/lib/components/pisellFloorMapLayout/utils/floorMapDataBindingUtils.d.ts +21 -0
  312. package/lib/components/pisellFloorMapLayout/utils/floorMapFallbackRender.d.ts +11 -0
  313. package/lib/components/pisellFloorMapLayout/utils/floorMapRemotePersist.d.ts +17 -0
  314. package/lib/components/pisellFloorMapLayout/utils/floorMapViewConfigDiff.d.ts +8 -0
  315. package/lib/components/pisellFloorMapLayout/utils/layoutMeasurements.d.ts +30 -0
  316. package/lib/components/pisellFloorMapLayout/utils/mergeCanvasesForTabs.d.ts +7 -0
  317. package/lib/components/pisellGridPro/index.d.ts +4 -0
  318. package/lib/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.d.ts +6 -0
  319. package/lib/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.stories.d.ts +10 -0
  320. package/lib/components/pisellHierarchicalSummaryList/components/index.d.ts +1 -0
  321. package/lib/components/pisellHierarchicalSummaryList/hooks/index.d.ts +2 -0
  322. package/lib/components/pisellHierarchicalSummaryList/hooks/useExpandedKeys.d.ts +15 -0
  323. package/lib/components/pisellHierarchicalSummaryList/index.d.ts +5 -0
  324. package/lib/components/pisellHierarchicalSummaryList/types.d.ts +248 -0
  325. package/lib/components/pisellImport/PisellImport.d.ts +9 -0
  326. package/lib/components/pisellImport/PisellImport.stories.d.ts +49 -0
  327. package/lib/components/pisellImport/index.d.ts +2 -0
  328. package/lib/components/pisellImport/types.d.ts +85 -0
  329. package/lib/components/pisellList01/index.d.ts +17 -0
  330. package/lib/components/pisellLookup/components/LookupTrigger.d.ts +3 -0
  331. package/lib/components/pisellPhone/PisellPhone.stories.d.ts +80 -0
  332. package/lib/components/pisellPhone/components/DisabledView.d.ts +16 -0
  333. package/lib/components/pisellPhone/components/ReadOnlyView.d.ts +17 -0
  334. package/lib/components/pisellPhone/constants/countryCodes.d.ts +21 -0
  335. package/lib/components/pisellPhone/index.d.ts +8 -0
  336. package/lib/components/pisellPhone/utils/countryCodeHelper.d.ts +35 -0
  337. package/lib/components/pisellPhone/utils/index.d.ts +6 -0
  338. package/lib/components/pisellQuickFilter/type.d.ts +12 -0
  339. package/lib/components/pisellRecordBoard/context/RecordBoardContext.d.ts +3 -0
  340. package/lib/components/pisellRecordBoard/context/RecordBoardProvider.d.ts +11 -0
  341. package/lib/components/pisellRecordBoard/hooks/useRecordBoardContext.d.ts +16 -0
  342. package/lib/components/pisellRecordBoard/layouts/CardLayout/CardList.d.ts +12 -0
  343. package/lib/components/pisellRecordBoard/layouts/CardLayout/index.d.ts +13 -0
  344. package/lib/components/pisellRecordBoard/layouts/GridLayout/Grid.d.ts +14 -0
  345. package/lib/components/pisellRecordBoard/layouts/GridLayout/index.d.ts +13 -0
  346. package/lib/components/pisellRecordBoard/shellFrame/BatchActionBar/index.d.ts +8 -0
  347. package/lib/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendarDemo.d.ts +3 -0
  348. package/lib/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.d.ts +7 -0
  349. package/lib/components/pisellRecordBoard/shellFrame/Calendar/RecordBoardCalendar.d.ts +8 -0
  350. package/lib/components/pisellRecordBoard/shellFrame/Calendar/calendarPersistGuard.d.ts +18 -0
  351. package/lib/components/pisellRecordBoard/shellFrame/Calendar/index.d.ts +4 -0
  352. package/lib/components/pisellRecordBoard/shellFrame/ColumnSetting/ColumnSettingPopover.d.ts +15 -0
  353. package/lib/components/pisellRecordBoard/shellFrame/ColumnSetting/index.d.ts +8 -0
  354. package/lib/components/pisellRecordBoard/shellFrame/FloorMap.d.ts +14 -0
  355. package/lib/components/pisellRecordBoard/shellFrame/Search/index.d.ts +10 -0
  356. package/lib/components/pisellRecordBoard/shellFrame/ShellBodyMetaContext.d.ts +21 -0
  357. package/lib/components/pisellRecordBoard/types.d.ts +468 -0
  358. package/lib/components/pisellRecordBoard/utils/partitionShellFrameChildren.d.ts +20 -0
  359. package/lib/components/pisellRecordBoard/utils/recordBoardColumns.d.ts +52 -0
  360. package/lib/components/pisellRecordBoard/utils/withRecordBoard.d.ts +9 -0
  361. package/lib/components/pisellReservationSchedule/locales.d.ts +25 -0
  362. package/lib/components/pisellReservationSchedule/types.d.ts +47 -0
  363. package/lib/components/pisellReservationScheduleBand/PisellReservationScheduleBand.stories.d.ts +16 -0
  364. package/lib/components/pisellReservationScheduleBand/index.d.ts +2 -0
  365. package/lib/components/pisellReservationScheduleBand/types.d.ts +57 -0
  366. package/lib/components/pisellShellFrame/PisellShellFrame.d.ts +13 -0
  367. package/lib/components/pisellShellFrame/PisellShellFrame.stories.d.ts +15 -0
  368. package/lib/components/pisellShellFrame/index.d.ts +2 -0
  369. package/lib/components/pisellShellFrame/types.d.ts +56 -0
  370. package/lib/components/pisellStatisticList/index.d.ts +22 -0
  371. package/lib/components/pisellTimeNavigator/PisellTimeNavigator.stories.d.ts +79 -0
  372. package/lib/components/pisellTimeNavigator/components/BackgroundLayer.d.ts +14 -0
  373. package/lib/components/pisellTimeNavigator/components/CursorLayer.d.ts +25 -0
  374. package/lib/components/pisellTimeNavigator/components/GestureLayer.d.ts +33 -0
  375. package/lib/components/pisellTimeNavigator/components/index.d.ts +5 -0
  376. package/lib/components/pisellTimeNavigator/hooks/useDragInertia.d.ts +14 -0
  377. package/lib/components/pisellTimeNavigator/hooks/useRealtime.d.ts +5 -0
  378. package/lib/components/pisellTimeNavigator/hooks/useTimeAxis.d.ts +27 -0
  379. package/lib/components/pisellTimeNavigator/index.d.ts +5 -0
  380. package/lib/components/pisellTimeNavigator/utils/index.d.ts +35 -0
  381. package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +4 -0
  382. package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +9 -0
  383. package/lib/components/productCard/cartSkuCard/locales.d.ts +163 -0
  384. package/lib/components/productCard/components/Header/Actions/index.d.ts +4 -0
  385. package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +4 -0
  386. package/lib/components/productCard/components/Time/index.d.ts +4 -0
  387. package/lib/components/productCard/status.d.ts +32 -0
  388. package/lib/components/productCard/types.d.ts +85 -0
  389. package/lib/components/table/Actions/component/ViewMode/index.d.ts +9 -0
  390. package/lib/components/table/Table/fields/index.d.ts +2 -2
  391. package/lib/components/table/Table/utils.d.ts +1 -1
  392. package/lib/components/table/types.d.ts +270 -0
  393. package/lib/components/versionModal/index.d.ts +24 -0
  394. package/lib/locales/en-US.d.ts +439 -0
  395. package/lib/locales/index.d.ts +1 -0
  396. package/lib/locales/ja.d.ts +360 -0
  397. package/lib/locales/pt.d.ts +360 -0
  398. package/lib/locales/zh-CN.d.ts +434 -0
  399. package/lib/locales/zh-TW.d.ts +434 -0
  400. package/lib/theme/pisell-components.d.ts +14 -0
  401. package/package.json +1 -1
  402. package/es/components/dataSourceComponents/dataSourceForm/BaseForm.d.ts +0 -3
  403. package/es/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +0 -39
  404. package/es/components/dataSourceComponents/hooks/useActions.d.ts +0 -18
  405. package/es/components/dataSourceComponents/provider/variables/VariablesProvider.d.ts +0 -4
  406. package/es/components/pisellAdjustPrice/index.d.ts +0 -5
  407. package/es/components/pisellCheckboxGroup/index.d.ts +0 -40
  408. package/es/components/pisellFloorMapLayout/components/FloorMapImageElement.d.ts +0 -9
  409. package/es/components/pisellText/components/Amount/index.d.ts +0 -20
  410. package/es/components/pisellToast/index.d.ts +0 -17
  411. package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +0 -20
  412. package/es/components/productCard/components/Sales/index.d.ts +0 -4
  413. package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -14
  414. package/es/components/productCard/utils.d.ts +0 -33
  415. package/es/components/sort/index.d.ts +0 -5
  416. package/es/components/virtual-keyboard/Amount/index.d.ts +0 -6
  417. package/es/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +0 -25
  418. package/es/components/virtual-keyboard/Number/index.d.ts +0 -6
  419. package/es/components/virtual-keyboard/index.d.ts +0 -25
  420. package/lib/components/dataSourceComponents/dataSourceForm/BaseForm.d.ts +0 -3
  421. package/lib/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +0 -39
  422. package/lib/components/dataSourceComponents/hooks/useActions.d.ts +0 -18
  423. package/lib/components/dataSourceComponents/provider/variables/VariablesProvider.d.ts +0 -4
  424. package/lib/components/pisellAdjustPrice/index.d.ts +0 -5
  425. package/lib/components/pisellCheckboxGroup/index.d.ts +0 -40
  426. package/lib/components/pisellFloorMapLayout/components/FloorMapImageElement.d.ts +0 -9
  427. package/lib/components/pisellText/components/Amount/index.d.ts +0 -20
  428. package/lib/components/pisellToast/index.d.ts +0 -17
  429. package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +0 -20
  430. package/lib/components/productCard/components/Sales/index.d.ts +0 -4
  431. package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -14
  432. package/lib/components/productCard/utils.d.ts +0 -33
  433. package/lib/components/sort/index.d.ts +0 -5
  434. package/lib/components/virtual-keyboard/Amount/index.d.ts +0 -6
  435. package/lib/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +0 -25
  436. package/lib/components/virtual-keyboard/Number/index.d.ts +0 -6
  437. package/lib/components/virtual-keyboard/index.d.ts +0 -25
@@ -0,0 +1,468 @@
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
+ /**
7
+ * 布局类型:一种 layout 对应一种「视图的集合」
8
+ * - grid: 搜索 + 表格 + 分页
9
+ * - card: 搜索 + 卡片列表 + 分页
10
+ * 后续可扩展 list、kanban 等
11
+ */
12
+ export declare type RecordBoardLayoutType = 'grid' | 'card';
13
+ /**
14
+ * 列字段类型:对应 Pisell 表单组件,传入列 type 时用该组件自动渲染列(只读)与筛选项(编辑)
15
+ */
16
+ export declare type RecordBoardFieldType = 'singleLineText' | 'longText' | 'email' | 'phone' | 'url' | 'number' | 'currency' | 'percent' | 'rating' | 'singleSelect' | 'multipleSelect' | 'dateTime';
17
+ /** 无 type 时筛选项可传入自定义组件,需支持 value / onChange 以接入 Form */
18
+ export declare type RecordBoardFilterComponentProps = {
19
+ value?: any;
20
+ onChange?: (value: any) => void;
21
+ [key: string]: any;
22
+ };
23
+ /** 选项格式,用于 getOptions / options;color 用于只读态 Tag 展示 */
24
+ export declare type RecordBoardOptionItem = {
25
+ label: string;
26
+ value: any;
27
+ /** 只读态 Tag 颜色,如 '#e6f7ff' 或 antd 预设 'blue' */
28
+ color?: string;
29
+ };
30
+ /** 同步或异步返回选项列表,singleSelect/multipleSelect 的 fieldProps.getOptions 或 filter.getOptions 使用 */
31
+ export declare type RecordBoardGetOptions = (() => RecordBoardOptionItem[]) | (() => Promise<RecordBoardOptionItem[]>);
32
+ /** 列筛选配置:不传列 type 时使用。可配置 type + options/props,或传入 component(接收 value/onChange)。 */
33
+ export interface RecordBoardColumnFilterConfig {
34
+ type?: 'single' | 'input' | 'datePicker' | 'rangePicker' | 'rangePickerNew' | 'search';
35
+ label?: string;
36
+ options?: RecordBoardOptionItem[];
37
+ /** 同步或异步获取选项,与 options 二选一;支持 singleSelect/multipleSelect 及无 type 时 type:'single' */
38
+ getOptions?: RecordBoardGetOptions;
39
+ props?: Record<string, any>;
40
+ /** 放在快速筛选(true)还是高级筛选(false) */
41
+ quickFilter?: boolean;
42
+ /** 无 type 时可用:自定义筛选组件,由 Form 注入 value/onChange */
43
+ component?: ComponentType<RecordBoardFilterComponentProps>;
44
+ }
45
+ /**
46
+ * RecordBoard 列类型扩展(与 antd Table Column 兼容,仅增加可选字段)。
47
+ *
48
+ * 有 type(如 singleLineText)时:
49
+ * - 表格:自动用对应 Pisell 组件只读渲染;传入 render 则优先使用(覆盖)。
50
+ * - 筛选:自动用对应组件编辑态;传入 filter(type 或 component)则优先使用(覆盖)。
51
+ * - 排序:自动从组件 SortOptions 派生;传入 sort 则优先使用(覆盖)。
52
+ *
53
+ * 无 type 时:
54
+ * - 表格:无 render 则纯文本;可自定义 render。
55
+ * - 筛选:需配置 filterable + filter(type 或 component,component 需 value/onChange)。
56
+ * - 排序:需配置 sortable + sort(type 或 getSortItems)。
57
+ */
58
+ export interface RecordBoardColumnType<RecordType = any> {
59
+ title?: ReactNode;
60
+ dataIndex?: string | string[];
61
+ key?: string;
62
+ width?: number | string;
63
+ align?: 'left' | 'right' | 'center';
64
+ fixed?: 'left' | 'right' | boolean;
65
+ ellipsis?: boolean;
66
+ /** 列渲染;无 type 时必靠此或默认纯文本;有 type 时可选,传入则覆盖自动派生 */
67
+ render?: (value: any, record: RecordType, index: number) => ReactNode;
68
+ /** 其他 antd 列属性 */
69
+ [key: string]: any;
70
+ /** 字段类型;传入则表格/筛选/排序自动派生,可被 render/filter/sort 覆盖 */
71
+ type?: RecordBoardFieldType;
72
+ /**
73
+ * 传给 Pisell 组件的额外 props(type 存在且未用 filter/render 覆盖时生效)。
74
+ * singleSelect/multipleSelect 时支持 options 或 getOptions(同步/异步返回选项列表)。
75
+ */
76
+ fieldProps?: Record<string, any>;
77
+ /** 是否参与筛选;false 时不生成筛项;有 type 时默认 true */
78
+ filterable?: boolean;
79
+ /** 筛选配置;无 type 时必传 type 或 component;有 type 时可选,传入则覆盖自动派生 */
80
+ filter?: RecordBoardColumnFilterConfig;
81
+ /** 是否参与排序;false 时不生成排序项;有 type 时默认 true */
82
+ sortable?: boolean;
83
+ /**
84
+ * 排序配置;无 type 时需 sortable + sort;有 type 时可选,传入则覆盖自动派生。
85
+ * - type:内置排序子项(string/number/option 等)。
86
+ * - getSortItems:(fieldKey) => [{ key, label }]。
87
+ */
88
+ sort?: {
89
+ type?: 'date' | 'string' | 'number' | 'option';
90
+ label?: string;
91
+ isHidden?: boolean;
92
+ /** 自定义排序子项,优先于 type;fieldKey 为列 key/dataIndex */
93
+ getSortItems?: (fieldKey: string) => Array<{
94
+ key: string;
95
+ label: string;
96
+ }>;
97
+ };
98
+ /** 默认隐藏该列,与 grid.defaultHiddenColumnKeys 合并参与初始化列显隐 */
99
+ hidden?: boolean;
100
+ /**
101
+ * 当开启 grid.collapseUniformColumns 时,用此函数从 (value, record) 得到用于比较的值;
102
+ * 返回 string 或 number 时参与全等比较,返回 null/undefined 则该列不参与折叠。
103
+ * 未传则用 dataIndex 取值;与 render 类似,便于从复杂数据中抽取值再判断是否全同。
104
+ */
105
+ uniformCompare?: (value: any, record: any) => string | number | null | undefined;
106
+ /**
107
+ * 当开启 grid.collapseUniformColumns 时,为 false 则该列即使全列同值/全空也不折叠、不进入总结区;默认 true。
108
+ */
109
+ collapseWhenUniform?: boolean;
110
+ }
111
+ /**
112
+ * 分页状态(与容器内部一致)
113
+ */
114
+ export interface RecordBoardPaginationState {
115
+ pageNumber: number;
116
+ pageSize: number;
117
+ }
118
+ /**
119
+ * 列表请求结果(与 dataSource / useRequest 等对齐)
120
+ */
121
+ export interface RecordBoardListResult {
122
+ list: any[];
123
+ count?: number;
124
+ total?: number;
125
+ }
126
+ /** ShellFrame 内容区:表格、平面图或日历(与 GridLayout 同级切换) */
127
+ export declare type RecordBoardBodyView = 'grid' | 'floorMap' | 'calendar';
128
+ /** 日历 Y 轴资源行(与 BookingCalendarDemo 中 court 对齐) */
129
+ export interface RecordBoardCalendarResource {
130
+ id: string;
131
+ name: string;
132
+ /** 分组标签,用于筛选 chip(如区域 / 表单 code) */
133
+ groupType?: string;
134
+ }
135
+ /**
136
+ * 日历格内预约条数据(与 BookingCalendarDemo 内部 booking 形状一致);
137
+ * `raw` 为宿主预约行时,业务层可用其打开详情弹窗。
138
+ */
139
+ export interface RecordBoardCalendarBookingLike {
140
+ id: string;
141
+ courtId: string;
142
+ date: string;
143
+ startHour: number;
144
+ endHour: number;
145
+ name: string;
146
+ kind: 'booking' | 'block';
147
+ phone?: string;
148
+ statusTag?: string;
149
+ note?: string;
150
+ blockBy?: string;
151
+ blockedAt?: string;
152
+ raw?: Record<string, unknown>;
153
+ }
154
+ /** 日历视图槽位 props:由 Shell 合并根级与子槽后传入 PisellRecordBoardCalendarView */
155
+ export interface RecordBoardCalendarProps {
156
+ persistGuard?: CalendarPersistContextValue;
157
+ className?: string;
158
+ style?: CSSProperties;
159
+ /** 受控:画布等资源行;不传则使用内置演示数据 */
160
+ resources?: RecordBoardCalendarResource[];
161
+ /** 受控:预约条列表;传入(含空数组)时不再使用内置 seed */
162
+ bookings?: RecordBoardCalendarBookingLike[];
163
+ loading?: boolean;
164
+ /**
165
+ * 点击预约条。返回 true 表示已消费(不再打开内置详情抽屉)。
166
+ */
167
+ onBookingClick?: (item: RecordBoardCalendarBookingLike) => boolean | void;
168
+ /**
169
+ * 锚点日 / 视图变化(月、周、日),用于父级扩展 booking 请求时间窗。
170
+ */
171
+ onViewportChange?: (payload: {
172
+ view: string;
173
+ anchorDate: Date;
174
+ rangeStart: Date;
175
+ rangeEnd: Date;
176
+ }) => void;
177
+ /** 当前日历粒度(与顶栏 Segmented 一致);不传则组件内默认 `month` */
178
+ calendarView?: 'day' | 'week' | 'month';
179
+ onCalendarViewChange?: (view: 'day' | 'week' | 'month') => void;
180
+ /** 锚点日(通常与营业日 `schedule.date` 对齐);不传则组件内默认日期 */
181
+ anchorDate?: Date;
182
+ /** 日历内交互(如跨日跳转)更新锚点时回调,由父级写回日程 */
183
+ onAnchorDateChange?: (date: Date) => void;
184
+ /**
185
+ * 日视图横向整点列所依据的营业区间(与 PisellTimeNavigator `range` 语义一致,如 06:00–次日 06:00)。
186
+ * 不传时日历演示默认 02:00–次日 02:00。
187
+ */
188
+ timelineRange?: TimeRangeOption;
189
+ }
190
+ /**
191
+ * 平面图槽位 props:与 PisellFloorMapLayout 对齐;items/renderItem 可省略(由 RecordBoard 默认 [] / () => null)。
192
+ */
193
+ export declare type RecordBoardFloorMapProps = Partial<PisellFloorMapLayoutProps>;
194
+ /**
195
+ * RecordBoard 容器 Context 值
196
+ * 与具体 layout 类型无关,所有 layout 共用同一套数据与操作
197
+ */
198
+ export interface RecordBoardContextValue {
199
+ /**
200
+ * 平面图多数据源字典(整份各 key,不参与表格分页切片)。
201
+ * ShellFrame 会与 FloorMap 子 props 中的 dataSources 合并后传入 PisellFloorMapLayout。
202
+ */
203
+ dataSources?: FloorMapDataSources;
204
+ /**
205
+ * 表格绑定 `dataSources` 的 key;仅当未传入根级 `data` 时,表格数据由 `dataSources[gridDataSourceKey]` 推导并做客户端分页切片。
206
+ */
207
+ gridDataSourceKey?: string;
208
+ /** 当前列表数据 */
209
+ data: any[];
210
+ /** 加载态 */
211
+ loading: boolean;
212
+ /** 总数(用于分页) */
213
+ total: number;
214
+ /** 分页状态 */
215
+ pagination: RecordBoardPaginationState;
216
+ /** 分页变更 */
217
+ onPageChange: (pageNumber: number, pageSize: number) => void;
218
+ /** 搜索/筛选参数 */
219
+ searchParams: Record<string, any>;
220
+ /** 触发搜索(会重置到第一页) */
221
+ onSearch: (params: Record<string, any>) => void;
222
+ /** 重置搜索 */
223
+ onReset?: () => void;
224
+ /** 当前布局类型,供子组件按需做差异化 */
225
+ layoutType: RecordBoardLayoutType;
226
+ /** 多选:当前选中的 key 列表 */
227
+ selectedKeys: Key[];
228
+ /** 多选:当前选中的行数据 */
229
+ selectedRows: any[];
230
+ /** 多选:选择变更回调(表格/卡片勾选、BatchActionBar 全选/清空/反选时调用) */
231
+ onSelectionChange: (keys: Key[], rows: any[]) => void;
232
+ /** 行主键,用于多选与列表渲染,如 'id' 或 (record) => record.id */
233
+ rowKey?: string | ((record: any) => Key);
234
+ /**
235
+ * 列显示隐藏状态(仅影响表格/卡片列展示,不影响 filter/sort 配置)。
236
+ * key 为列 key/dataIndex,value 为是否显示;未出现的列默认显示。
237
+ */
238
+ columnVisibility?: Record<string, boolean>;
239
+ /** 列显示隐藏变更回调 */
240
+ onColumnVisibilityChange?: (visibility: Record<string, boolean>) => void;
241
+ /** 列 key 顺序(用于列设置弹层拖拽排序),未设置时按 grid.columns 顺序 */
242
+ columnOrder?: string[] | null;
243
+ /** 列顺序变更回调(拖拽排序后) */
244
+ onColumnOrderChange?: (columnKeys: string[]) => void;
245
+ /** 各子组件透传 props,由 Provider 注入 */
246
+ childComponentProps?: RecordBoardChildComponentProps;
247
+ /** 是否占满父容器高度,供 ShellFrame 做弹性布局(内容区纯 CSS 滚动 + 表头 sticky;scroll.autoCalc 时用测量高度) */
248
+ fillHeight?: boolean;
249
+ /** 内容区滚动容器高度(fillHeight 且 grid.scroll.autoCalc 时由 ShellFrame 测量),供 Grid 计算 scroll.y */
250
+ scrollAreaHeight?: number | null;
251
+ /** 设置内容区滚动容器高度(由 ShellFrame 测量组件调用) */
252
+ setScrollAreaHeight?: (height: number | null) => void;
253
+ /** 点击重置时递增,供 ToolBar 给 PisellFilter 设 key 以强制重挂载,清空弹窗内表单 */
254
+ filterResetKey?: number;
255
+ /** 递增 filterResetKey,由 ToolBarReset 在重置时调用 */
256
+ setFilterResetKey?: (fn: (prev: number) => number) => void;
257
+ /** 当前主内容区:表格或平面图;无平面图配置时一般为 grid(ShellFrame 内仅 FloorMap 时会改为 floorMap) */
258
+ bodyView: RecordBoardBodyView;
259
+ setBodyView: (v: RecordBoardBodyView) => void;
260
+ /** 根级传入的平面图 props(可选);与 ShellFrame 内 FloorMap 子组件合并,子优先 */
261
+ floorMapProps?: RecordBoardFloorMapProps;
262
+ /**
263
+ * 平面图数据/保存等注入上下文(与 `FloorMapLayoutContextValue` 同形),由 Shell 内置 `FloorMapLayoutProvider` 注入 `PisellFloorMapLayout`;
264
+ * 与 `useRecordBoardContext()` 同源镜像,供 Toolbar 等读取。
265
+ */
266
+ floorMapLayoutContext?: FloorMapLayoutContextValue;
267
+ /** 双视图并存时首屏偏好(根 props,与 PisellRecordBoard.defaultBodyView 一致) */
268
+ defaultBodyView?: RecordBoardBodyView;
269
+ /** 是否允许表格/平面图切换,与根 props `bodyViewSwitchable` 一致 */
270
+ bodyViewSwitchable?: boolean;
271
+ /** 挂到 ShellFrame 内 PisellFloorMapLayout,供外部 imperative 调用(如 saveLayout / fitBounds) */
272
+ floorMapLayoutRef?: Ref<PisellFloorMapLayoutRef | null>;
273
+ /**
274
+ * 平面图视图下叠在画布内的底部居中悬浮区(如「编辑平面图」),不单独占一行 footer。
275
+ */
276
+ floorMapFooter?: ReactNode;
277
+ /** 根级传入的日历视图 props(可选);与 ShellFrame 内 Calendar 子组件合并,子优先 */
278
+ calendarProps?: RecordBoardCalendarProps;
279
+ }
280
+ /**
281
+ * 各 layout 下子组件的可选透传配置(类似 ChildComponentProps)
282
+ */
283
+ /**
284
+ * BatchActionBar 透传配置,与 PisellBatchActionBar 的 props 对齐。
285
+ * 具体类型见 PisellBatchActionBarProps,此处仅做透传用。
286
+ */
287
+ export declare type RecordBoardBatchActionBarProps = Record<string, any>;
288
+ /** Filter 透传配置,与 PisellFilter 的 props 对齐 */
289
+ export declare type RecordBoardFilterProps = Record<string, any>;
290
+ /**
291
+ * ToolBar 透传配置。
292
+ * - 继承 PisellToolBar 的 slots:topLeft、topRight、bottomLeft、bottomRight、tabs。
293
+ * - search:默认在工具栏内渲染 PisellFind;为对象时透传为 PisellFind 的 props;为 false 时不渲染搜索。
294
+ * - filter:默认在工具栏右侧渲染 PisellFilter;为对象时透传 PisellFilter props;为 false 时不渲染。筛选值绑定 searchParams.filter,变更触发 onSearch。
295
+ */
296
+ export interface RecordBoardToolBarProps {
297
+ /**
298
+ * `compact`:Find / 快筛 / 排序筛选 / 重置 / 视图切换等统一小号,用于窄容器(如 HUD 内嵌表)。
299
+ * @default 'default'
300
+ */
301
+ toolbarDensity?: 'default' | 'compact';
302
+ className?: string;
303
+ style?: React.CSSProperties;
304
+ tabs?: React.ReactNode;
305
+ topLeft?: React.ReactNode;
306
+ topRight?: React.ReactNode;
307
+ bottomLeft?: React.ReactNode;
308
+ bottomRight?: React.ReactNode;
309
+ /** 在 ToolBar 内渲染搜索:默认 PisellFind;对象透传 PisellFind props;false 不渲染 */
310
+ search?: boolean | RecordBoardSearchProps;
311
+ /** 在 ToolBar 右侧渲染筛选:默认 PisellFilter;对象透传 PisellFilter props;false 不渲染。值存于 searchParams.filter */
312
+ filter?: boolean | RecordBoardFilterProps;
313
+ /** 在 ToolBar 内、筛选左侧渲染排序:默认 Sort;对象可传 list、placement 等;false 不渲染。值存于 searchParams.sort */
314
+ sort?: boolean | Record<string, any>;
315
+ /**
316
+ * 在 ToolBar 左侧展示内联快速筛选(替代 Filter 弹层内的 quickFilter)。
317
+ * 为 true 时使用 columns 派生的 quickFilter 列表;为对象时可传 filterList、formFiltersPrefix、size 等。
318
+ * 启用后建议对 filter 传 hiddenQuickFilter: true,弹层内仅保留高级筛选。
319
+ * hideFilterNamesOnFloorMap:仅当 Shell 内同时有表格+平面图且当前为平面图时,按筛选项 name(或 key)从内联快筛中移除,避免与顶栏日程重复(如预约 booking_time_start_between)。
320
+ */
321
+ quickFilter?: boolean | Record<string, any>;
322
+ /** 列显示隐藏设置入口;默认 true(有 grid.columns 时显示);false 时不渲染 */
323
+ columnSetting?: boolean;
324
+ }
325
+ /** Search 透传配置,与 PisellFind 的 props 对齐 */
326
+ export declare type RecordBoardSearchProps = Record<string, any>;
327
+ /**
328
+ * Grid 布局透传配置,对应 RecordBoardGridView 的 props(useRecordBoardContext('grid') 会将其合并到 context)。
329
+ * 基于 antd TableProps,省略由 context 注入或组件自管的项(dataSource、loading、pagination、columns、scroll、size、rowSelection)。
330
+ * 多选用 selectedKeys/selectedRows/onSelectionChange;其余 Table props(如 onRow、onHeaderRow、expandable、rowClassName、summary)透传。
331
+ */
332
+ export declare type RecordBoardGridProps = {
333
+ /** 列配置;ToolBar 据此派生筛选与排序,ColumnSetting 据此做列显示隐藏 */
334
+ columns?: RecordBoardColumnType[];
335
+ /** 默认隐藏的列 key 列表(对应 columns 的 key 或 dataIndex),用于初始化列显隐状态 */
336
+ defaultHiddenColumnKeys?: string[];
337
+ /**
338
+ * 当前页某列全部同值或全部为空时:隐藏该列,并在表格上方展示总结区(列名 + 统一值/空数据)。
339
+ * 比较规则:列可配置 uniformCompare(value, record) 返回用于比较的 string/number;否则用 dataIndex 取值;仅 string/number 参与比较,undefined/null 不参与。
340
+ * 默认 true;传 false 可关闭。
341
+ */
342
+ collapseUniformColumns?: boolean;
343
+ /**
344
+ * 表格滚动配置,对齐 materials Table useGenScroll。
345
+ * - x / y:同 antd Table scroll。
346
+ * - autoCalc:为 true 时根据内容区高度自动计算 scroll.y(需 fillHeight),表头固定、表体滚动。
347
+ * - scrollToFirstRowOnChange:翻页后是否滚动到第一行。
348
+ */
349
+ scroll?: {
350
+ x?: number | string;
351
+ y?: number | string;
352
+ autoCalc?: boolean;
353
+ scrollToFirstRowOnChange?: boolean;
354
+ };
355
+ /** 表格尺寸 */
356
+ size?: 'small' | 'middle' | 'default';
357
+ /** 当前选中的行 key 列表(多选) */
358
+ selectedKeys?: Key[];
359
+ /** 当前选中的行数据(多选) */
360
+ selectedRows?: unknown[];
361
+ /** 多选变更回调 */
362
+ onSelectionChange?: (keys: Key[], rows: unknown[]) => void;
363
+ /** 多选列配置:fixed、columnWidth 等,与 selectedKeys/onSelectionChange 合并为 Table rowSelection */
364
+ rowSelection?: Partial<Omit<NonNullable<TableProps<unknown>['rowSelection']>, 'selectedRowKeys' | 'onChange'>>;
365
+ } & Omit<TableProps<unknown>, 'dataSource' | 'loading' | 'pagination' | 'columns' | 'scroll' | 'size' | 'rowSelection'>;
366
+ export interface RecordBoardChildComponentProps {
367
+ /** 搜索配置,透传给 PisellFind;关键词绑定 searchParams.keyword */
368
+ search?: RecordBoardSearchProps;
369
+ /** 工具栏配置,透传给 PisellToolBar;内置搜索会接 context.searchParams/onSearch */
370
+ toolBar?: RecordBoardToolBarProps;
371
+ pagination?: Record<string, any>;
372
+ /** Grid 布局配置:列、滚动、尺寸等,透传给 RecordBoardGridView */
373
+ grid?: RecordBoardGridProps;
374
+ cardList?: Record<string, any>;
375
+ /** 多选操作栏配置,透传给 PisellBatchActionBar */
376
+ batchActionBar?: RecordBoardBatchActionBarProps;
377
+ }
378
+ /**
379
+ * RecordBoard 容器 Props。
380
+ * 仅打散传参:列表/分页/搜索/多选/列显隐、以及 grid/toolBar/search/paginationConfig/batchActionBar/cardList 独立传入。
381
+ */
382
+ export interface RecordBoardProps {
383
+ /** 子节点,一般为某种 Layout 或自定义组合 */
384
+ children?: ReactNode;
385
+ /** 当前使用的布局类型 */
386
+ layoutType?: RecordBoardLayoutType;
387
+ /** 行主键,用于多选与列表 */
388
+ rowKey?: string | ((record: any) => Key);
389
+ /** 当前列表数据 */
390
+ data?: any[];
391
+ /**
392
+ * 平面图多数据源;与 `FloorMap` / 根级 `floorMap` 的 dataSources 在 ShellFrame 内合并(后者覆盖同 key)。
393
+ * 表格默认仍用 `data`;若不传 `data` 且提供 `gridDataSourceKey`,则由本字段对应 key 推导表格行并客户端分页。
394
+ */
395
+ dataSources?: FloorMapDataSources;
396
+ /**
397
+ * 表格使用的 `dataSources` key(如 `'tables'`);与 `floorMapConfig` 内 `dataSourceKey` 对齐。
398
+ * 仅在根级 **`data` 未传入**时生效。
399
+ */
400
+ gridDataSourceKey?: string;
401
+ /** 加载态 */
402
+ loading?: boolean;
403
+ /** 总数(用于分页);由 `dataSources` 推导表格时,未传则默认为该 key 对应数组长度 */
404
+ total?: number;
405
+ /** 分页状态 */
406
+ pagination?: RecordBoardPaginationState;
407
+ /** 分页变更 */
408
+ onPageChange?: (pageNumber: number, pageSize: number) => void;
409
+ /** 搜索/筛选参数 */
410
+ searchParams?: Record<string, any>;
411
+ /** 触发搜索(会重置到第一页) */
412
+ onSearch?: (params: Record<string, any>) => void;
413
+ /** 重置搜索 */
414
+ onReset?: () => void;
415
+ /** 列显隐持久化:传入则用 @pisell/utils 的 getComponentStorageKey 规则写入 localStorage;低代码可传 __id */
416
+ columnVisibilityStorageKey?: string;
417
+ /** Grid 配置:列、滚动、尺寸等 */
418
+ grid?: RecordBoardGridProps;
419
+ /** 工具栏配置 */
420
+ toolBar?: RecordBoardToolBarProps;
421
+ /** 搜索配置,透传给 PisellFind */
422
+ search?: RecordBoardSearchProps;
423
+ /** 分页组件透传配置(与 pagination 状态区分,此处为 Pagination 组件 props) */
424
+ paginationConfig?: Record<string, any>;
425
+ /** 多选操作栏配置 */
426
+ batchActionBar?: RecordBoardBatchActionBarProps;
427
+ /** 卡片列表配置 */
428
+ cardList?: Record<string, any>;
429
+ /** 是否启用分页(与 pagination 状态区分) */
430
+ enablePagination?: boolean;
431
+ /**
432
+ * 日历(可选):与 PisellRecordBoardCalendarView 对齐。
433
+ * 推荐在 ShellFrame 内使用 PisellRecordBoard.Calendar 声明;若同时传根级与本项,Shell 内子组件 props 优先合并。
434
+ */
435
+ calendar?: RecordBoardCalendarProps;
436
+ /**
437
+ * 平面图(可选,兼容低代码 / SalesGrid 等):与 PisellFloorMapLayout 对齐。
438
+ * 推荐在 ShellFrame 内使用 PisellRecordBoard.FloorMap 声明;若同时传根级与本项,Shell 内子组件 props 优先合并。
439
+ */
440
+ floorMap?: RecordBoardFloorMapProps;
441
+ /**
442
+ * 平面图 Context 注入(`FloorMapLayoutContextValue`):配置/保存/加载等;展示向 props 仍建议走 `floorMap`。
443
+ * Shell 在平面图节点内置 Provider,无需再包一层 `FloorMapLayoutProvider`。
444
+ */
445
+ floorMapLayoutContext?: FloorMapLayoutContextValue;
446
+ /**
447
+ * 表格与平面图并存时首屏子视图,默认 grid。
448
+ * 仅声明 FloorMap 而无 Grid/Card 内容时由 ShellFrame 固定为平面图,不出现切换器。
449
+ */
450
+ defaultBodyView?: RecordBoardBodyView;
451
+ /** 与 bodyView 同步持久化到 localStorage 的 key(双视图时生效) */
452
+ bodyViewStorageKey?: string;
453
+ /**
454
+ * 是否允许在表格/平面图之间切换(Segmented)。为 false 时不展示切换器,且若设置了 {@link lockedBodyView} 则锁定子视图。
455
+ * @default true
456
+ */
457
+ bodyViewSwitchable?: boolean;
458
+ /**
459
+ * 当 `bodyViewSwitchable === false` 时强制保持的子视图;未传时默认为 `floorMap`。
460
+ */
461
+ lockedBodyView?: RecordBoardBodyView;
462
+ /** 平面图 Layout 实例 ref,由 ShellFrame 注入 */
463
+ floorMapLayoutRef?: Ref<PisellFloorMapLayoutRef | null>;
464
+ /** 平面图画布内底部悬浮插槽(如编辑入口),注入 Context 供 ShellFrame 渲染 */
465
+ floorMapFooter?: ReactNode;
466
+ /** 其他 */
467
+ [key: string]: any;
468
+ }
@@ -0,0 +1,20 @@
1
+ import React from 'react';
2
+ import type { RecordBoardFloorMapProps } from '../types';
3
+ import type { RecordBoardCalendarProps } from '../types';
4
+ /** 与 shellFrame/FloorMap 上定义的 displayName 一致,用于从 ShellFrame children 中识别平面图槽 */
5
+ export declare const RECORD_BOARD_FLOOR_MAP_DISPLAY_NAME = "RecordBoard.FloorMap";
6
+ /** 与 shellFrame/Calendar 上定义的 displayName 一致 */
7
+ export declare const RECORD_BOARD_CALENDAR_DISPLAY_NAME = "RecordBoard.Calendar";
8
+ /**
9
+ * 将 ShellFrame 的 children 拆成:供表格区渲染的子树 + 可选的 FloorMap / Calendar 透传 props。
10
+ * 支持 Fragment 嵌套;多个同槽时以最后一个为准。
11
+ */
12
+ export declare function partitionShellFrameChildren(children: React.ReactNode): {
13
+ gridChildren: React.ReactNode;
14
+ /** 是否出现 FloorMap 槽位节点(props 可为空,可与根级 floorMap 合并) */
15
+ hasFloorMapChild: boolean;
16
+ floorMapPropsFromChild?: RecordBoardFloorMapProps;
17
+ hasCalendarChild: boolean;
18
+ calendarPropsFromChild?: RecordBoardCalendarProps;
19
+ hasGridContent: boolean;
20
+ };
@@ -0,0 +1,52 @@
1
+ import React from 'react';
2
+ import type { RecordBoardColumnType } from '../types';
3
+ import type { FilterValueType } from '../../filter/components/FilterButton/types';
4
+ import type { SortItemProps } from '../../sort/types';
5
+ /** 获取列唯一 key,供列显示隐藏等使用 */
6
+ export declare function getRecordBoardColumnKey(column: RecordBoardColumnType): string;
7
+ /**
8
+ * 同值列总结栏不展示的内容:null/undefined、空串、纯空白、占位「-」。
9
+ * 列仍可折叠;仅用于不生成总结栏条目(避免「-」、空白等占位)。
10
+ */
11
+ export declare function isTrivialUniformSummaryDisplayValue(v: any): boolean;
12
+ /**
13
+ * 总结区实际渲染的 React 节点是否视为无展示价值(与 {@link isTrivialUniformSummaryDisplayValue} 对齐,含一层子节点)。
14
+ */
15
+ export declare function isTrivialUniformSummaryReactContent(node: React.ReactNode): boolean;
16
+ export interface UniformColumnSummaryItem {
17
+ columnKey: string;
18
+ title: string;
19
+ type: 'uniform' | 'empty';
20
+ /** 无 render 时的回退展示 */
21
+ displayValue?: string;
22
+ /** 仅用于判断是否相等的值(uniformCompare 的返回值或 dataIndex 取值),不参与 render */
23
+ value?: any;
24
+ /** 表格里该列单元格的值(dataIndex 从 record 取值),传给 render 的与表格单元格一致 */
25
+ cellValue?: any;
26
+ /** 代表行(如首行),供列 render 使用 */
27
+ record?: any;
28
+ }
29
+ /**
30
+ * 根据当前页 data 计算:哪些列「全列同值」或「全空」应隐藏,以及总结区展示项。
31
+ * 折叠列与总结项可不一一对应:全空、整列「-」/空白等同值仍折叠,但不生成无信息总结项。
32
+ * 仅当 grid.collapseUniformColumns 为 true 时使用。
33
+ */
34
+ export declare function computeUniformColumnSummary(data: any[], columns: RecordBoardColumnType[]): {
35
+ uniformHiddenColumnKeys: string[];
36
+ summaryItems: UniformColumnSummaryItem[];
37
+ };
38
+ /**
39
+ * 处理列配置:对带 type 的列注入基于 Pisell 组件的 render,其余列保持不变。
40
+ * 有 type 时若列上传入了 render 则优先使用(覆盖自动派生)。
41
+ */
42
+ export declare function processColumnsForGrid<RecordType = any>(columns: RecordBoardColumnType<RecordType>[] | undefined): RecordBoardColumnType<RecordType>[];
43
+ /**
44
+ * 从 columns 派生排序列表(SortItemProps[])。
45
+ * 有 type 的列:根据组件 SortOptions(或默认)生成;无 type 的列:根据 sortable + sort 生成。
46
+ */
47
+ export declare function deriveSortFromColumns(columns: RecordBoardColumnType[] | undefined): SortItemProps[];
48
+ /**
49
+ * 从 columns 派生 filter 列表(quickFilter + otherFilter)。
50
+ * 有 type 的列:根据 type + fieldProps 生成筛选项;无 type 的列:根据 filterable + filter 生成。
51
+ */
52
+ export declare function deriveFilterFromColumns(columns: RecordBoardColumnType[] | undefined): FilterValueType;
@@ -0,0 +1,9 @@
1
+ import React, { ComponentType } from 'react';
2
+ import type { RecordBoardContextValue, RecordBoardChildComponentProps } from '../types';
3
+ declare type RecordBoardDisplayName = keyof RecordBoardChildComponentProps;
4
+ /**
5
+ * 为 RecordBoard 下的子组件注入 context,并合并 childComponentProps[displayName]。
6
+ * 用于 Search / ToolBar / Pagination / Grid / CardList 等「被接管」的通用组件封装。
7
+ */
8
+ declare function withRecordBoard<P extends object, R = any>(WrappedComponent: ComponentType<P & RecordBoardContextValue>, displayName: RecordBoardDisplayName): React.ForwardRefExoticComponent<React.PropsWithoutRef<P> & React.RefAttributes<R>>;
9
+ export default withRecordBoard;
@@ -0,0 +1,25 @@
1
+ /** PisellReservationSchedule 多语言;使用前 locales.init 合并 */
2
+ declare const _default: {
3
+ en: {
4
+ 'pisell-reservation-schedule.today': string;
5
+ 'pisell-reservation-schedule.prev': string;
6
+ 'pisell-reservation-schedule.next': string;
7
+ 'pisell-reservation-schedule.pick-date': string;
8
+ 'pisell-reservation-schedule.pick-date-title': string;
9
+ };
10
+ 'zh-CN': {
11
+ 'pisell-reservation-schedule.today': string;
12
+ 'pisell-reservation-schedule.prev': string;
13
+ 'pisell-reservation-schedule.next': string;
14
+ 'pisell-reservation-schedule.pick-date': string;
15
+ 'pisell-reservation-schedule.pick-date-title': string;
16
+ };
17
+ 'zh-HK': {
18
+ 'pisell-reservation-schedule.today': string;
19
+ 'pisell-reservation-schedule.prev': string;
20
+ 'pisell-reservation-schedule.next': string;
21
+ 'pisell-reservation-schedule.pick-date': string;
22
+ 'pisell-reservation-schedule.pick-date-title': string;
23
+ };
24
+ };
25
+ export default _default;
@@ -0,0 +1,47 @@
1
+ import type { CSSProperties } from 'react';
2
+ import type { Dayjs } from 'dayjs';
3
+ /** 与 PisellTimeNavigator 一致:dayjs 或可解析字符串 */
4
+ export declare type ReservationScheduleValue = Dayjs | string | null | undefined;
5
+ /**
6
+ * PisellReservationSchedule:营业日切换条(上一日 / 文案 / 下一日)
7
+ */
8
+ export interface PisellReservationScheduleProps {
9
+ /**
10
+ * 当前选中日(受控),日历日语义,建议使用 startOf('day') 对齐
11
+ */
12
+ value?: ReservationScheduleValue;
13
+ /**
14
+ * 选中日变更
15
+ */
16
+ onChange?: (date: Dayjs) => void;
17
+ /**
18
+ * 非受控初始日
19
+ */
20
+ defaultValue?: ReservationScheduleValue;
21
+ /**
22
+ * 不可早于该日(含)
23
+ */
24
+ minDate?: ReservationScheduleValue;
25
+ /**
26
+ * 不可晚于该日(含)
27
+ */
28
+ maxDate?: ReservationScheduleValue;
29
+ /**
30
+ * 自定义类名
31
+ */
32
+ className?: string;
33
+ /**
34
+ * 根节点样式
35
+ */
36
+ style?: CSSProperties;
37
+ /**
38
+ * 为 true 时禁用上一日/下一日、日期点选(弹日历);用于「跟随当前时刻」等只读日期条
39
+ * @default false
40
+ */
41
+ navigationLocked?: boolean;
42
+ /**
43
+ * `navigationLocked` 时的展示形态:`full` 保留左右箭头占位;`labelOnly` 仅展示中间日期文案(如场控页)。
44
+ * @default 'full'
45
+ */
46
+ navigationLockedDisplay?: 'full' | 'labelOnly';
47
+ }
@@ -0,0 +1,16 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import { PisellReservationScheduleBand } from './PisellReservationScheduleBand';
3
+ /**
4
+ * PisellReservationScheduleBand:营业日条 + 横向时间轴顶栏组合,统一 value `{ date, at }`。
5
+ * 详见组件目录下 docs/PisellReservationScheduleBand.md。
6
+ */
7
+ declare const meta: Meta<typeof PisellReservationScheduleBand>;
8
+ export default meta;
9
+ declare type Story = StoryObj<typeof PisellReservationScheduleBand>;
10
+ export declare const Default: Story;
11
+ export declare const CustomTimeNavigator: Story;
12
+ export declare const ScheduleMinMax: Story;
13
+ export declare const Controlled: Story;
14
+ export declare const InitialPastDay: Story;
15
+ /** 日程行左右插槽:左标题 + 中间 PisellReservationSchedule + 右操作区(整条顶栏暗色背景需在业务外层自行包一层,避免压住下方时间轴) */
16
+ export declare const WithScheduleSlots: Story;
@@ -0,0 +1,2 @@
1
+ export { PisellReservationScheduleBand } from './PisellReservationScheduleBand';
2
+ export type { PisellReservationScheduleBandProps, ReservationScheduleBandValue, TimeNavigatorPassthroughProps, } from './types';