@pisell/materials 6.11.47 → 6.11.49

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 (375) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/meta.js +1 -1
  5. package/build/lowcode/render/default/view.css +1 -1
  6. package/build/lowcode/render/default/view.js +2 -2
  7. package/build/lowcode/view.css +1 -1
  8. package/build/lowcode/view.js +2 -2
  9. package/es/components/pisellFloorMapLayout/components/ViewControls.less +3 -3
  10. package/es/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.js +3 -0
  11. package/es/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.less +9 -0
  12. package/es/components/pisellRecordBoard/shellFrame/Calendar/const/bookingCalendarConstants.d.ts +4 -2
  13. package/es/components/pisellRecordBoard/shellFrame/Calendar/const/bookingCalendarConstants.js +4 -2
  14. package/es/components/pisellRecordBoard/shellFrame/Calendar/utils/BookingCalendarStyle.d.ts +1 -1
  15. package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDayView.js +26 -10
  16. package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarMonthView.js +12 -7
  17. package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarWeekView.js +20 -31
  18. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.less +7 -3
  19. package/es/components/pisellRecordBoard/shellFrame/index.d.ts +30 -0
  20. package/es/index.d.ts +265 -0
  21. package/es/pisell-materials.tw.css +1 -1
  22. package/lib/components/pisellFloorMapLayout/components/ViewControls.less +3 -3
  23. package/lib/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.js +2 -0
  24. package/lib/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.less +9 -0
  25. package/lib/components/pisellRecordBoard/shellFrame/Calendar/const/bookingCalendarConstants.d.ts +4 -2
  26. package/lib/components/pisellRecordBoard/shellFrame/Calendar/const/bookingCalendarConstants.js +2 -2
  27. package/lib/components/pisellRecordBoard/shellFrame/Calendar/utils/BookingCalendarStyle.d.ts +1 -1
  28. package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDayView.js +16 -7
  29. package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarMonthView.js +14 -5
  30. package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarWeekView.js +20 -13
  31. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.less +7 -3
  32. package/lib/components/pisellRecordBoard/shellFrame/index.d.ts +30 -0
  33. package/lib/index.d.ts +265 -0
  34. package/lib/pisell-materials.tw.css +1 -1
  35. package/package.json +1 -1
  36. package/es/components/PisellCards/components/MultilevelCard/components/PanelWrapper.d.ts +0 -7
  37. package/es/components/PisellLayouts/index.d.ts +0 -38
  38. package/es/components/PisellSteps/PisellSteps.d.ts +0 -14
  39. package/es/components/PisellSuperTabs/PisellSuperTabs.d.ts +0 -8
  40. package/es/components/PisellSuperTabs/hooks/useTabsState.d.ts +0 -7
  41. package/es/components/PisellSuperTabs/types.d.ts +0 -212
  42. package/es/components/PisellTabbar/PisellTabbar.d.ts +0 -20
  43. package/es/components/PisellTabbar/constants.d.ts +0 -47
  44. package/es/components/PisellTabbar/hooks/useActiveKey.d.ts +0 -55
  45. package/es/components/PisellTabbar/hooks/useExpand.d.ts +0 -42
  46. package/es/components/PisellTabbar/template/Template1/PisellTabbar.d.ts +0 -5
  47. package/es/components/PisellTabbar/template/Template1/constants.d.ts +0 -10
  48. package/es/components/PisellTabbar/types.d.ts +0 -90
  49. package/es/components/PisellTabbar/utils/index.d.ts +0 -69
  50. package/es/components/cardPro/index.d.ts +0 -4
  51. package/es/components/dataSourceComponents/dataSourceForm/BaseForm.d.ts +0 -3
  52. package/es/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +0 -39
  53. package/es/components/dataSourceComponents/dataSourceForm/type.d.ts +0 -32
  54. package/es/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +0 -26
  55. package/es/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +0 -15
  56. package/es/components/dataSourceComponents/provider/variables/VariablesProvider.d.ts +0 -4
  57. package/es/components/drag-sort-tree/TreeItem/index.d.ts +0 -19
  58. package/es/components/iconfont/index.d.ts +0 -8
  59. package/es/components/page/index.d.ts +0 -8
  60. package/es/components/pisell-config-provider/context.d.ts +0 -22
  61. package/es/components/pisell-config-provider/index.d.ts +0 -13
  62. package/es/components/pisellAdjustPrice/index.d.ts +0 -4
  63. package/es/components/pisellAdjustPrice/status.d.ts +0 -32
  64. package/es/components/pisellAdjustPrice/type.d.ts +0 -22
  65. package/es/components/pisellCardList/index.d.ts +0 -107
  66. package/es/components/pisellCheckboxGroup/index.d.ts +0 -40
  67. package/es/components/pisellDataSourceContainer/components/Pagination/index.d.ts +0 -6
  68. package/es/components/pisellFilter/index.d.ts +0 -3
  69. package/es/components/pisellFilter/type.d.ts +0 -7
  70. package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.stories.d.ts +0 -55
  71. package/es/components/pisellFloorMapLayout/components/CanvasTabs.d.ts +0 -22
  72. package/es/components/pisellFloorMapLayout/components/EditableItemLayer.d.ts +0 -46
  73. package/es/components/pisellFloorMapLayout/components/FloorMapDataForm.d.ts +0 -17
  74. package/es/components/pisellFloorMapLayout/components/FloorMapEditQuickActions.d.ts +0 -21
  75. package/es/components/pisellFloorMapLayout/components/FloorMapImageElement.d.ts +0 -6
  76. package/es/components/pisellFloorMapLayout/components/MapLayer.d.ts +0 -27
  77. package/es/components/pisellFloorMapLayout/components/index.d.ts +0 -21
  78. package/es/components/pisellFloorMapLayout/context/FloorMapLayoutContext.d.ts +0 -16
  79. package/es/components/pisellFloorMapLayout/context/mergeFloorMapLayoutContext.d.ts +0 -5
  80. package/es/components/pisellFloorMapLayout/hooks/useFloorMapPaletteTouchDrag.d.ts +0 -21
  81. package/es/components/pisellFloorMapLayout/hooks/useShopFloorPlanSubscription.d.ts +0 -19
  82. package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanClient.d.ts +0 -10
  83. package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanMapping.d.ts +0 -18
  84. package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanPure.d.ts +0 -22
  85. package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanTypes.d.ts +0 -72
  86. package/es/components/pisellFloorMapLayout/utils/floorMapCanvasDisplay.d.ts +0 -20
  87. package/es/components/pisellFloorMapLayout/utils/floorMapConfigMerge.d.ts +0 -8
  88. package/es/components/pisellFloorMapLayout/utils/floorMapDataBindingUtils.d.ts +0 -21
  89. package/es/components/pisellFloorMapLayout/utils/floorMapDataRecordLabel.d.ts +0 -8
  90. package/es/components/pisellFloorMapLayout/utils/floorMapDropUtils.d.ts +0 -27
  91. package/es/components/pisellFloorMapLayout/utils/floorMapElementKindUtils.d.ts +0 -22
  92. package/es/components/pisellFloorMapLayout/utils/floorMapFallbackRender.d.ts +0 -11
  93. package/es/components/pisellFloorMapLayout/utils/floorMapRemotePersist.d.ts +0 -17
  94. package/es/components/pisellFloorMapLayout/utils/floorMapStageDefaults.d.ts +0 -8
  95. package/es/components/pisellFloorMapLayout/utils/floorMapViewConfigDiff.d.ts +0 -8
  96. package/es/components/pisellFloorMapLayout/utils/layoutMeasurements.d.ts +0 -30
  97. package/es/components/pisellFloorMapLayout/utils/mergeCanvasesForTabs.d.ts +0 -7
  98. package/es/components/pisellFloorMapLayout/utils/snap.d.ts +0 -10
  99. package/es/components/pisellGoodPassCard/index.d.ts +0 -50
  100. package/es/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.d.ts +0 -6
  101. package/es/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.stories.d.ts +0 -10
  102. package/es/components/pisellHierarchicalSummaryList/components/Row.d.ts +0 -35
  103. package/es/components/pisellHierarchicalSummaryList/components/index.d.ts +0 -1
  104. package/es/components/pisellHierarchicalSummaryList/hooks/index.d.ts +0 -2
  105. package/es/components/pisellHierarchicalSummaryList/hooks/useExpandedKeys.d.ts +0 -15
  106. package/es/components/pisellHierarchicalSummaryList/index.d.ts +0 -5
  107. package/es/components/pisellHierarchicalSummaryList/types.d.ts +0 -248
  108. package/es/components/pisellLookup/components/LookupTrigger.d.ts +0 -3
  109. package/es/components/pisellModal/index.d.ts +0 -62
  110. package/es/components/pisellRecordBoard/layouts/GridLayout/Grid.d.ts +0 -14
  111. package/es/components/pisellRecordBoard/shellFrame/Calendar/RecordBoardCalendar.d.ts +0 -8
  112. package/es/components/pisellRecordBoard/shellFrame/Calendar/calendarI18n.d.ts +0 -4
  113. package/es/components/pisellRecordBoard/shellFrame/Calendar/calendarPersistGuard.d.ts +0 -18
  114. package/es/components/pisellRecordBoard/shellFrame/Calendar/view/bookingCalendarDayViewContext.d.ts +0 -12
  115. package/es/components/pisellRecordBoard/shellFrame/FloorMap.d.ts +0 -14
  116. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/NoteTicker.d.ts +0 -14
  117. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/PisellRecordBoardResourceWallView.d.ts +0 -12
  118. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/RecordBoardResourceWall.d.ts +0 -8
  119. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanel.d.ts +0 -50
  120. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelColorTab.d.ts +0 -17
  121. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelLayoutTab.d.ts +0 -28
  122. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallViewportToolbar.d.ts +0 -18
  123. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.d.ts +0 -22
  124. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/resourceWallConstants.d.ts +0 -2
  125. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallCardPresentation.d.ts +0 -58
  126. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallUtils.d.ts +0 -64
  127. package/es/components/pisellRecordBoard/shellFrame/ShellBodyMetaContext.d.ts +0 -24
  128. package/es/components/pisellRecordBoard/utils/partitionShellFrameChildren.d.ts +0 -23
  129. package/es/components/pisellRecordBoard/utils/recordBoardColumns.d.ts +0 -52
  130. package/es/components/pisellReservationSchedule/PisellReservationSchedule.d.ts +0 -10
  131. package/es/components/pisellReservationSchedule/PisellReservationSchedule.stories.d.ts +0 -12
  132. package/es/components/pisellReservationSchedule/index.d.ts +0 -2
  133. package/es/components/pisellReservationSchedule/locales.d.ts +0 -43
  134. package/es/components/pisellReservationSchedule/types.d.ts +0 -52
  135. package/es/components/pisellReservationScheduleBand/PisellReservationScheduleBand.d.ts +0 -10
  136. package/es/components/pisellReservationScheduleBand/PisellReservationScheduleBand.stories.d.ts +0 -16
  137. package/es/components/pisellReservationScheduleBand/index.d.ts +0 -2
  138. package/es/components/pisellReservationScheduleBand/types.d.ts +0 -61
  139. package/es/components/pisellText/components/Amount/index.d.ts +0 -20
  140. package/es/components/pisellTimeNavigator/PisellTimeNavigator.stories.d.ts +0 -79
  141. package/es/components/pisellTimeNavigator/components/BackgroundLayer.d.ts +0 -14
  142. package/es/components/pisellTimeNavigator/components/NowButton.d.ts +0 -14
  143. package/es/components/pisellTimeNavigator/components/ScaleLayer.d.ts +0 -22
  144. package/es/components/pisellTimeNavigator/components/index.d.ts +0 -5
  145. package/es/components/pisellTimeNavigator/hooks/index.d.ts +0 -5
  146. package/es/components/pisellTimeNavigator/hooks/useDragInertia.d.ts +0 -14
  147. package/es/components/pisellTimeNavigator/hooks/useRealtime.d.ts +0 -5
  148. package/es/components/pisellTimeNavigator/hooks/useTimeAxis.d.ts +0 -27
  149. package/es/components/pisellTimeNavigator/index.d.ts +0 -5
  150. package/es/components/pisellTimeNavigator/locales.d.ts +0 -22
  151. package/es/components/pisellTimeNavigator/types.d.ts +0 -160
  152. package/es/components/pisellTimeNavigator/utils/index.d.ts +0 -41
  153. package/es/components/pisellToast/index.d.ts +0 -17
  154. package/es/components/pisellToast/squareToast/index.d.ts +0 -15
  155. package/es/components/pisellToast/squareToast/methods.d.ts +0 -13
  156. package/es/components/pisellToast/squareToast/renderImperatively.d.ts +0 -28
  157. package/es/components/pisellToast/squareToast/toast.d.ts +0 -25
  158. package/es/components/pisellWalletPassCard/index.d.ts +0 -146
  159. package/es/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +0 -3
  160. package/es/components/productCard/cartSkuCard/components/Gift/index.d.ts +0 -4
  161. package/es/components/productCard/cartSkuCard/components/Gift/types.d.ts +0 -29
  162. package/es/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -3
  163. package/es/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +0 -14
  164. package/es/components/productCard/cartSkuCard/components/Note/index.d.ts +0 -3
  165. package/es/components/productCard/cartSkuCard/components/Promotion/index.d.ts +0 -6
  166. package/es/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +0 -36
  167. package/es/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -2
  168. package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -3
  169. package/es/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -11
  170. package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +0 -20
  171. package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -3
  172. package/es/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -12
  173. package/es/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -21
  174. package/es/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +0 -46
  175. package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -8
  176. package/es/components/productCard/cartSkuCard/components/weighing/index.d.ts +0 -18
  177. package/es/components/productCard/cartSkuCard/index.d.ts +0 -10
  178. package/es/components/productCard/cartSkuCard/locales.d.ts +0 -198
  179. package/es/components/productCard/components/Action/index.d.ts +0 -4
  180. package/es/components/productCard/components/Header/EditButton/index.d.ts +0 -3
  181. package/es/components/productCard/components/Header/index.d.ts +0 -3
  182. package/es/components/productCard/components/Sales/index.d.ts +0 -3
  183. package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -3
  184. package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -13
  185. package/es/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +0 -2
  186. package/es/components/productCard/index.d.ts +0 -7
  187. package/es/components/productCard/locales.d.ts +0 -138
  188. package/es/components/productCard/status.d.ts +0 -32
  189. package/es/components/productCard/types.d.ts +0 -95
  190. package/es/components/productCard/utils.d.ts +0 -33
  191. package/es/components/select-time/index.d.ts +0 -13
  192. package/es/components/sort/index.d.ts +0 -5
  193. package/es/components/table/Table/AddFieldModal/index.d.ts +0 -4
  194. package/es/components/table/index.d.ts +0 -4
  195. package/es/components/virtual-keyboard/Amount/index.d.ts +0 -5
  196. package/es/components/virtual-keyboard/Amount/themeConfig.d.ts +0 -32
  197. package/es/components/virtual-keyboard/Amount/types.d.ts +0 -44
  198. package/es/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +0 -15
  199. package/es/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +0 -25
  200. package/es/components/virtual-keyboard/Keyboard/index.d.ts +0 -21
  201. package/es/components/virtual-keyboard/Number/index.d.ts +0 -5
  202. package/es/components/virtual-keyboard/Number/themeConfig.d.ts +0 -32
  203. package/es/components/virtual-keyboard/Number/types.d.ts +0 -26
  204. package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -13
  205. package/es/components/virtual-keyboard/index.d.ts +0 -25
  206. package/lib/components/PisellCards/components/MultilevelCard/components/PanelWrapper.d.ts +0 -7
  207. package/lib/components/PisellLayouts/index.d.ts +0 -38
  208. package/lib/components/PisellSteps/PisellSteps.d.ts +0 -14
  209. package/lib/components/PisellSuperTabs/PisellSuperTabs.d.ts +0 -8
  210. package/lib/components/PisellSuperTabs/hooks/useTabsState.d.ts +0 -7
  211. package/lib/components/PisellSuperTabs/types.d.ts +0 -212
  212. package/lib/components/PisellTabbar/PisellTabbar.d.ts +0 -20
  213. package/lib/components/PisellTabbar/constants.d.ts +0 -47
  214. package/lib/components/PisellTabbar/hooks/useActiveKey.d.ts +0 -55
  215. package/lib/components/PisellTabbar/hooks/useExpand.d.ts +0 -42
  216. package/lib/components/PisellTabbar/template/Template1/PisellTabbar.d.ts +0 -5
  217. package/lib/components/PisellTabbar/template/Template1/constants.d.ts +0 -10
  218. package/lib/components/PisellTabbar/types.d.ts +0 -90
  219. package/lib/components/PisellTabbar/utils/index.d.ts +0 -69
  220. package/lib/components/cardPro/index.d.ts +0 -4
  221. package/lib/components/dataSourceComponents/dataSourceForm/BaseForm.d.ts +0 -3
  222. package/lib/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +0 -39
  223. package/lib/components/dataSourceComponents/dataSourceForm/type.d.ts +0 -32
  224. package/lib/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +0 -26
  225. package/lib/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +0 -15
  226. package/lib/components/dataSourceComponents/provider/variables/VariablesProvider.d.ts +0 -4
  227. package/lib/components/drag-sort-tree/TreeItem/index.d.ts +0 -19
  228. package/lib/components/iconfont/index.d.ts +0 -8
  229. package/lib/components/page/index.d.ts +0 -8
  230. package/lib/components/pisell-config-provider/context.d.ts +0 -22
  231. package/lib/components/pisell-config-provider/index.d.ts +0 -13
  232. package/lib/components/pisellAdjustPrice/index.d.ts +0 -4
  233. package/lib/components/pisellAdjustPrice/status.d.ts +0 -32
  234. package/lib/components/pisellAdjustPrice/type.d.ts +0 -22
  235. package/lib/components/pisellCardList/index.d.ts +0 -107
  236. package/lib/components/pisellCheckboxGroup/index.d.ts +0 -40
  237. package/lib/components/pisellDataSourceContainer/components/Pagination/index.d.ts +0 -6
  238. package/lib/components/pisellFilter/index.d.ts +0 -3
  239. package/lib/components/pisellFilter/type.d.ts +0 -7
  240. package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.stories.d.ts +0 -55
  241. package/lib/components/pisellFloorMapLayout/components/CanvasTabs.d.ts +0 -22
  242. package/lib/components/pisellFloorMapLayout/components/EditableItemLayer.d.ts +0 -46
  243. package/lib/components/pisellFloorMapLayout/components/FloorMapDataForm.d.ts +0 -17
  244. package/lib/components/pisellFloorMapLayout/components/FloorMapEditQuickActions.d.ts +0 -21
  245. package/lib/components/pisellFloorMapLayout/components/FloorMapImageElement.d.ts +0 -6
  246. package/lib/components/pisellFloorMapLayout/components/MapLayer.d.ts +0 -27
  247. package/lib/components/pisellFloorMapLayout/components/index.d.ts +0 -21
  248. package/lib/components/pisellFloorMapLayout/context/FloorMapLayoutContext.d.ts +0 -16
  249. package/lib/components/pisellFloorMapLayout/context/mergeFloorMapLayoutContext.d.ts +0 -5
  250. package/lib/components/pisellFloorMapLayout/hooks/useFloorMapPaletteTouchDrag.d.ts +0 -21
  251. package/lib/components/pisellFloorMapLayout/hooks/useShopFloorPlanSubscription.d.ts +0 -19
  252. package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanClient.d.ts +0 -10
  253. package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanMapping.d.ts +0 -18
  254. package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanPure.d.ts +0 -22
  255. package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanTypes.d.ts +0 -72
  256. package/lib/components/pisellFloorMapLayout/utils/floorMapCanvasDisplay.d.ts +0 -20
  257. package/lib/components/pisellFloorMapLayout/utils/floorMapConfigMerge.d.ts +0 -8
  258. package/lib/components/pisellFloorMapLayout/utils/floorMapDataBindingUtils.d.ts +0 -21
  259. package/lib/components/pisellFloorMapLayout/utils/floorMapDataRecordLabel.d.ts +0 -8
  260. package/lib/components/pisellFloorMapLayout/utils/floorMapDropUtils.d.ts +0 -27
  261. package/lib/components/pisellFloorMapLayout/utils/floorMapElementKindUtils.d.ts +0 -22
  262. package/lib/components/pisellFloorMapLayout/utils/floorMapFallbackRender.d.ts +0 -11
  263. package/lib/components/pisellFloorMapLayout/utils/floorMapRemotePersist.d.ts +0 -17
  264. package/lib/components/pisellFloorMapLayout/utils/floorMapStageDefaults.d.ts +0 -8
  265. package/lib/components/pisellFloorMapLayout/utils/floorMapViewConfigDiff.d.ts +0 -8
  266. package/lib/components/pisellFloorMapLayout/utils/layoutMeasurements.d.ts +0 -30
  267. package/lib/components/pisellFloorMapLayout/utils/mergeCanvasesForTabs.d.ts +0 -7
  268. package/lib/components/pisellFloorMapLayout/utils/snap.d.ts +0 -10
  269. package/lib/components/pisellGoodPassCard/index.d.ts +0 -50
  270. package/lib/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.d.ts +0 -6
  271. package/lib/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.stories.d.ts +0 -10
  272. package/lib/components/pisellHierarchicalSummaryList/components/Row.d.ts +0 -35
  273. package/lib/components/pisellHierarchicalSummaryList/components/index.d.ts +0 -1
  274. package/lib/components/pisellHierarchicalSummaryList/hooks/index.d.ts +0 -2
  275. package/lib/components/pisellHierarchicalSummaryList/hooks/useExpandedKeys.d.ts +0 -15
  276. package/lib/components/pisellHierarchicalSummaryList/index.d.ts +0 -5
  277. package/lib/components/pisellHierarchicalSummaryList/types.d.ts +0 -248
  278. package/lib/components/pisellLookup/components/LookupTrigger.d.ts +0 -3
  279. package/lib/components/pisellModal/index.d.ts +0 -62
  280. package/lib/components/pisellRecordBoard/layouts/GridLayout/Grid.d.ts +0 -14
  281. package/lib/components/pisellRecordBoard/shellFrame/Calendar/RecordBoardCalendar.d.ts +0 -8
  282. package/lib/components/pisellRecordBoard/shellFrame/Calendar/calendarI18n.d.ts +0 -4
  283. package/lib/components/pisellRecordBoard/shellFrame/Calendar/calendarPersistGuard.d.ts +0 -18
  284. package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/bookingCalendarDayViewContext.d.ts +0 -12
  285. package/lib/components/pisellRecordBoard/shellFrame/FloorMap.d.ts +0 -14
  286. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/NoteTicker.d.ts +0 -14
  287. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/PisellRecordBoardResourceWallView.d.ts +0 -12
  288. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/RecordBoardResourceWall.d.ts +0 -8
  289. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanel.d.ts +0 -50
  290. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelColorTab.d.ts +0 -17
  291. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelLayoutTab.d.ts +0 -28
  292. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallViewportToolbar.d.ts +0 -18
  293. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.d.ts +0 -22
  294. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/resourceWallConstants.d.ts +0 -2
  295. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallCardPresentation.d.ts +0 -58
  296. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallUtils.d.ts +0 -64
  297. package/lib/components/pisellRecordBoard/shellFrame/ShellBodyMetaContext.d.ts +0 -24
  298. package/lib/components/pisellRecordBoard/utils/partitionShellFrameChildren.d.ts +0 -23
  299. package/lib/components/pisellRecordBoard/utils/recordBoardColumns.d.ts +0 -52
  300. package/lib/components/pisellReservationSchedule/PisellReservationSchedule.d.ts +0 -10
  301. package/lib/components/pisellReservationSchedule/PisellReservationSchedule.stories.d.ts +0 -12
  302. package/lib/components/pisellReservationSchedule/index.d.ts +0 -2
  303. package/lib/components/pisellReservationSchedule/locales.d.ts +0 -43
  304. package/lib/components/pisellReservationSchedule/types.d.ts +0 -52
  305. package/lib/components/pisellReservationScheduleBand/PisellReservationScheduleBand.d.ts +0 -10
  306. package/lib/components/pisellReservationScheduleBand/PisellReservationScheduleBand.stories.d.ts +0 -16
  307. package/lib/components/pisellReservationScheduleBand/index.d.ts +0 -2
  308. package/lib/components/pisellReservationScheduleBand/types.d.ts +0 -61
  309. package/lib/components/pisellText/components/Amount/index.d.ts +0 -20
  310. package/lib/components/pisellTimeNavigator/PisellTimeNavigator.stories.d.ts +0 -79
  311. package/lib/components/pisellTimeNavigator/components/BackgroundLayer.d.ts +0 -14
  312. package/lib/components/pisellTimeNavigator/components/NowButton.d.ts +0 -14
  313. package/lib/components/pisellTimeNavigator/components/ScaleLayer.d.ts +0 -22
  314. package/lib/components/pisellTimeNavigator/components/index.d.ts +0 -5
  315. package/lib/components/pisellTimeNavigator/hooks/index.d.ts +0 -5
  316. package/lib/components/pisellTimeNavigator/hooks/useDragInertia.d.ts +0 -14
  317. package/lib/components/pisellTimeNavigator/hooks/useRealtime.d.ts +0 -5
  318. package/lib/components/pisellTimeNavigator/hooks/useTimeAxis.d.ts +0 -27
  319. package/lib/components/pisellTimeNavigator/index.d.ts +0 -5
  320. package/lib/components/pisellTimeNavigator/locales.d.ts +0 -22
  321. package/lib/components/pisellTimeNavigator/types.d.ts +0 -160
  322. package/lib/components/pisellTimeNavigator/utils/index.d.ts +0 -41
  323. package/lib/components/pisellToast/index.d.ts +0 -17
  324. package/lib/components/pisellToast/squareToast/index.d.ts +0 -15
  325. package/lib/components/pisellToast/squareToast/methods.d.ts +0 -13
  326. package/lib/components/pisellToast/squareToast/renderImperatively.d.ts +0 -28
  327. package/lib/components/pisellToast/squareToast/toast.d.ts +0 -25
  328. package/lib/components/pisellWalletPassCard/index.d.ts +0 -146
  329. package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +0 -3
  330. package/lib/components/productCard/cartSkuCard/components/Gift/index.d.ts +0 -4
  331. package/lib/components/productCard/cartSkuCard/components/Gift/types.d.ts +0 -29
  332. package/lib/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -3
  333. package/lib/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +0 -14
  334. package/lib/components/productCard/cartSkuCard/components/Note/index.d.ts +0 -3
  335. package/lib/components/productCard/cartSkuCard/components/Promotion/index.d.ts +0 -6
  336. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +0 -36
  337. package/lib/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -2
  338. package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -3
  339. package/lib/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -11
  340. package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +0 -20
  341. package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -3
  342. package/lib/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -12
  343. package/lib/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -21
  344. package/lib/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +0 -46
  345. package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -8
  346. package/lib/components/productCard/cartSkuCard/components/weighing/index.d.ts +0 -18
  347. package/lib/components/productCard/cartSkuCard/index.d.ts +0 -10
  348. package/lib/components/productCard/cartSkuCard/locales.d.ts +0 -198
  349. package/lib/components/productCard/components/Action/index.d.ts +0 -4
  350. package/lib/components/productCard/components/Header/EditButton/index.d.ts +0 -3
  351. package/lib/components/productCard/components/Header/index.d.ts +0 -3
  352. package/lib/components/productCard/components/Sales/index.d.ts +0 -3
  353. package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -3
  354. package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -13
  355. package/lib/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +0 -2
  356. package/lib/components/productCard/index.d.ts +0 -7
  357. package/lib/components/productCard/locales.d.ts +0 -138
  358. package/lib/components/productCard/status.d.ts +0 -32
  359. package/lib/components/productCard/types.d.ts +0 -95
  360. package/lib/components/productCard/utils.d.ts +0 -33
  361. package/lib/components/select-time/index.d.ts +0 -13
  362. package/lib/components/sort/index.d.ts +0 -5
  363. package/lib/components/table/Table/AddFieldModal/index.d.ts +0 -4
  364. package/lib/components/table/index.d.ts +0 -4
  365. package/lib/components/virtual-keyboard/Amount/index.d.ts +0 -5
  366. package/lib/components/virtual-keyboard/Amount/themeConfig.d.ts +0 -32
  367. package/lib/components/virtual-keyboard/Amount/types.d.ts +0 -44
  368. package/lib/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +0 -15
  369. package/lib/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +0 -25
  370. package/lib/components/virtual-keyboard/Keyboard/index.d.ts +0 -21
  371. package/lib/components/virtual-keyboard/Number/index.d.ts +0 -5
  372. package/lib/components/virtual-keyboard/Number/themeConfig.d.ts +0 -32
  373. package/lib/components/virtual-keyboard/Number/types.d.ts +0 -26
  374. package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -13
  375. package/lib/components/virtual-keyboard/index.d.ts +0 -25
@@ -1,58 +0,0 @@
1
- import type { RecordBoardResourceWallCardModel } from '../../types';
2
- import { type VenueWallStatusKey, type VenueWallStatusTone } from './venueWallUtils';
3
- /** 与平面图 empty / reserved / occupied 对齐的三种大屏展示态 */
4
- export declare type VenueWallFloorLikeStatus = 'empty' | 'reserved' | 'occupied';
5
- /**
6
- * 标题胶囊 5 态:在 floorLike 三大类基础上,把 `late` 与 `expired` 拆出独立色与文案,
7
- * 与当前区一档强调色(红)对齐。
8
- */
9
- export declare type VenueWallHeaderStatusKey = 'empty' | 'reserved' | 'late' | 'occupied' | 'expired';
10
- /** 由 {@link buildVenueWallCardPresentation} 产出,供 VenueWallCard 渲染层使用 */
11
- export declare type VenueWallCardPresentation = {
12
- statusKey: VenueWallStatusKey;
13
- floorLikeStatus: VenueWallFloorLikeStatus;
14
- /** 标题栏右侧 5 态键,决定胶囊样式(描边/底色变体) */
15
- headerStatusKey: VenueWallHeaderStatusKey;
16
- /** 标题栏右侧:空闲 / 预约中 / 迟到 / 占用中 / 超时 */
17
- headerStatusLabel: string;
18
- /** 标题胶囊主色(迟到/超时为红,与一档强调色对齐) */
19
- headerStatusColor: string;
20
- /** 紫色渐变占用卡 vs 浅色强调卡 */
21
- cardVariant: 'occupied' | 'accent';
22
- mainColor: string;
23
- subColor: string;
24
- surfaceAccentColor: string;
25
- /** 当前区一档:剩余时间 / 距开始 / 结束提示等(非布局「块」) */
26
- primaryEmphasisLine: string;
27
- primaryEmphasisColor: string;
28
- /** 二档:预约时段文案 */
29
- timeRangeLine: string;
30
- /** 二档:联系人(「Available to Book」等占位已剥离) */
31
- contactLine: string;
32
- showProgress: boolean;
33
- progress: number;
34
- progressColor: string;
35
- showEndingSoonMarquee: boolean;
36
- marqueeText: string;
37
- marqueeColor: string;
38
- /** 跑马灯胶囊底:与 {@link primaryEmphasisColor} 同一强调色(半透明叠底) */
39
- marqueeShellBackground: string;
40
- };
41
- /**
42
- * 纯函数:三态大屏文案 + 进度 + 条件跑马灯。
43
- * 右上角标题栏仅保留 empty/reserved/occupied;迟到/超时只出现在当前区一档主提示。
44
- */
45
- export declare function buildVenueWallCardPresentation(args: {
46
- card: RecordBoardResourceWallCardModel;
47
- toneMap: Record<VenueWallStatusKey, VenueWallStatusTone>;
48
- wallNowMs: number;
49
- liveRemainingMin: number;
50
- liveRemainingPreciseMin: number;
51
- liveStartsInMin: number;
52
- liveLateMin: number;
53
- boardingSoonBeforeMin: number;
54
- idleMain: string;
55
- idleSub: string;
56
- occupiedCardColor: string;
57
- availableCardColor: string;
58
- }): VenueWallCardPresentation;
@@ -1,64 +0,0 @@
1
- /**
2
- * 资源墙(Venue Wall)共用工具:六态键、默认色板、倒计时文案、卡片状态推导、配色合并与 diff。
3
- */
4
- import type { RecordBoardResourceWallCardModel } from '../../types';
5
- export declare type VenueWallStatusKey = 'inUse' | 'endingSoon' | 'expired' | 'available' | 'boardingSoon' | 'late';
6
- /** 单态展示配置(与 {@link VENUE_WALL_STATUS_COLOR_MAP} 值同形) */
7
- export declare type VenueWallStatusTone = {
8
- key: VenueWallStatusKey;
9
- label: string;
10
- note: string;
11
- color: string;
12
- noteBg: string;
13
- };
14
- /** 仅覆盖部分字段;用于 Control Panel / localStorage */
15
- export declare type VenueWallStatusToneOverrides = Partial<Record<VenueWallStatusKey, Partial<VenueWallStatusTone>>>;
16
- /** 单外观(浅 / 深)下的占用/空闲色与六态覆盖;持久化时 light、dark 各存一份 */
17
- export declare type VenueWallAppearanceSlot = {
18
- occupiedCardColor?: string;
19
- availableCardColor?: string;
20
- statusToneOverrides?: VenueWallStatusToneOverrides;
21
- };
22
- export declare type VenueWallAppearanceTheme = {
23
- light?: VenueWallAppearanceSlot;
24
- dark?: VenueWallAppearanceSlot;
25
- };
26
- export declare const VENUE_WALL_STATUS_KEYS: VenueWallStatusKey[];
27
- /**
28
- * 六态默认色与占位英文;`getVenueWallStatusToneMap` 会将 label/note 换为 i18n,此处仅作 merge 基底。
29
- */
30
- export declare const VENUE_WALL_STATUS_COLOR_MAP: Record<VenueWallStatusKey, VenueWallStatusTone>;
31
- /** 将 `#RGB` / `#RRGGBB` 转为 `rgba(...)`,供渐变与半透明底 */
32
- export declare function alphaColor(hex: string, alpha: number): string;
33
- /** 将数值限制在 [min, max](布局行列、主文案比例等) */
34
- export declare const clamp: (value: number, min: number, max: number) => number;
35
- /** 由卡片字段推导状态键(与演示页 test.tsx 规则一致) */
36
- export declare function deriveVenueWallStatus(card: RecordBoardResourceWallCardModel): VenueWallStatusKey;
37
- /**
38
- * ToolBar Sort 写入的 `searchParams.sort`(如 `status:asc:string`)拆出字段名与升降序。
39
- */
40
- export declare function parseRecordBoardToolbarSortParam(sort: unknown): {
41
- field: string;
42
- dir: 'asc' | 'desc';
43
- } | null;
44
- /** 当 Sort 字段名匹配这些 key(忽略大小写)时,资源墙按占用态重排卡片 */
45
- export declare const DEFAULT_RESOURCE_WALL_STATUS_SORT_FIELD_KEYS: string[];
46
- export declare function matchesResourceWallStatusSortField(sortField: string, keys: readonly string[]): boolean;
47
- /**
48
- * 用于资源墙排序:占用/将结/已结束为 1,其余为 0(与 {@link deriveVenueWallStatus} 一致)。
49
- * asc → 空闲侧在前;desc → 占用侧在前。
50
- */
51
- export declare function venueWallOccupiedSortRank(card: RecordBoardResourceWallCardModel): 0 | 1;
52
- export declare function formatDurationHM(minAbs: number): string;
53
- /**
54
- * 将「剩余/超支分钟数」格式化为跑码条/主副标题用短文案(走 i18n 模板,负值表示 overtime)。
55
- */
56
- export declare function formatVenueWallCountdown(min: number): string;
57
- /**
58
- * 合并默认六态配色与业务覆盖,供 {@link VenueWallCard} 与 Control Panel 表单初值共用。
59
- */
60
- export declare function getVenueWallStatusToneMap(overrides?: VenueWallStatusToneOverrides | null): Record<VenueWallStatusKey, VenueWallStatusTone>;
61
- /**
62
- * 将编辑后的完整六态表压成「相对默认」的 overrides,便于持久化与 props 传递。
63
- */
64
- export declare function diffVenueWallStatusToneOverrides(draft: Record<VenueWallStatusKey, VenueWallStatusTone>): VenueWallStatusToneOverrides;
@@ -1,24 +0,0 @@
1
- import React from 'react';
2
- import type { RecordBoardFloorMapProps, RecordBoardCalendarProps, RecordBoardResourceWallProps } from '../types';
3
- /**
4
- * ShellFrame 解析子节点后的元信息,供 ToolBar 等判断是否需要「表格 / 平面图 / 日历」Segmented。
5
- * 未处于 ShellFrame.Provider 内时为 undefined(如单独挂载 ToolBar)。
6
- */
7
- export interface RecordBoardShellBodyMeta {
8
- /** 子组件 FloorMap props 与根级 floorMap 合并后的结果(子优先) */
9
- effectiveFloorMapProps?: RecordBoardFloorMapProps;
10
- /** 子组件 Calendar props 与根级 calendar 合并后的结果(子优先) */
11
- effectiveCalendarProps?: RecordBoardCalendarProps;
12
- /** ShellFrame 内是否存在 GridLayout / CardLayout 等非 FloorMap 子节点 */
13
- hasGridContent: boolean;
14
- /** 合并后是否存在可渲染的平面图配置 */
15
- hasFloorMapSlot: boolean;
16
- /** 合并后是否存在可渲染的日历配置 */
17
- hasCalendarSlot: boolean;
18
- /** 子组件 ResourceWall props 与根级 resourceWall 合并后的结果(子优先) */
19
- effectiveResourceWallProps?: RecordBoardResourceWallProps;
20
- /** 合并后是否存在大屏资源墙槽(根级或子节点声明即 true) */
21
- hasResourceWallSlot: boolean;
22
- }
23
- export declare const RecordBoardShellBodyMetaContext: React.Context<RecordBoardShellBodyMeta | undefined>;
24
- export declare function useRecordBoardShellBodyMeta(): RecordBoardShellBodyMeta | undefined;
@@ -1,23 +0,0 @@
1
- import React from 'react';
2
- import type { RecordBoardFloorMapProps, RecordBoardCalendarProps, RecordBoardResourceWallProps } from '../types';
3
- /** 与 shellFrame/FloorMap 上定义的 displayName 一致,用于从 ShellFrame children 中识别平面图槽 */
4
- export declare const RECORD_BOARD_FLOOR_MAP_DISPLAY_NAME = "RecordBoard.FloorMap";
5
- /** 与 shellFrame/Calendar 上定义的 displayName 一致 */
6
- export declare const RECORD_BOARD_CALENDAR_DISPLAY_NAME = "RecordBoard.Calendar";
7
- /** 与 shellFrame/ResourceWall 上定义的 displayName 一致 */
8
- export declare const RECORD_BOARD_RESOURCE_WALL_DISPLAY_NAME = "RecordBoard.ResourceWall";
9
- /**
10
- * 将 ShellFrame 的 children 拆成:供表格区渲染的子树 + 可选的 FloorMap / Calendar 透传 props。
11
- * 支持 Fragment 嵌套;多个同槽时以最后一个为准。
12
- */
13
- export declare function partitionShellFrameChildren(children: React.ReactNode): {
14
- gridChildren: React.ReactNode;
15
- /** 是否出现 FloorMap 槽位节点(props 可为空,可与根级 floorMap 合并) */
16
- hasFloorMapChild: boolean;
17
- floorMapPropsFromChild?: RecordBoardFloorMapProps;
18
- hasCalendarChild: boolean;
19
- calendarPropsFromChild?: RecordBoardCalendarProps;
20
- hasResourceWallChild: boolean;
21
- resourceWallPropsFromChild?: RecordBoardResourceWallProps;
22
- hasGridContent: boolean;
23
- };
@@ -1,52 +0,0 @@
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;
@@ -1,10 +0,0 @@
1
- /// <reference types="react" />
2
- import type { PisellReservationScheduleProps } from './types';
3
- import './PisellReservationSchedule.less';
4
- /**
5
- * 营业日导航条:上一日、中间日期文案、下一日(深色条样式,适配预约顶栏)
6
- */
7
- export declare function PisellReservationSchedule(props: PisellReservationScheduleProps): JSX.Element;
8
- export declare namespace PisellReservationSchedule {
9
- var displayName: string;
10
- }
@@ -1,12 +0,0 @@
1
- import type { Meta, StoryObj } from '@storybook/react';
2
- import { PisellReservationSchedule } from './PisellReservationSchedule';
3
- /**
4
- * PisellReservationSchedule:预约营业日导航(上一天 / 日期文案 / 下一天)。
5
- * 多语言与日期格式依赖 LowCode 引擎 locale。详见组件目录下 docs/PisellReservationSchedule.md。
6
- */
7
- declare const meta: Meta<typeof PisellReservationSchedule>;
8
- export default meta;
9
- declare type Story = StoryObj<typeof PisellReservationSchedule>;
10
- export declare const Default: Story;
11
- export declare const WithMinMax: Story;
12
- export declare const Controlled: Story;
@@ -1,2 +0,0 @@
1
- export { PisellReservationSchedule } from './PisellReservationSchedule';
2
- export type { PisellReservationScheduleProps, ReservationScheduleValue, } from './types';
@@ -1,43 +0,0 @@
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.prev-week': string;
8
- 'pisell-reservation-schedule.next-week': string;
9
- 'pisell-reservation-schedule.prev-month': string;
10
- 'pisell-reservation-schedule.next-month': string;
11
- 'pisell-reservation-schedule.pick-date': string;
12
- 'pisell-reservation-schedule.pick-date-title': string;
13
- 'pisell-reservation-schedule.pick-week-title': string;
14
- 'pisell-reservation-schedule.pick-month-title': string;
15
- };
16
- 'zh-CN': {
17
- 'pisell-reservation-schedule.today': string;
18
- 'pisell-reservation-schedule.prev': string;
19
- 'pisell-reservation-schedule.next': string;
20
- 'pisell-reservation-schedule.prev-week': string;
21
- 'pisell-reservation-schedule.next-week': string;
22
- 'pisell-reservation-schedule.prev-month': string;
23
- 'pisell-reservation-schedule.next-month': string;
24
- 'pisell-reservation-schedule.pick-date': string;
25
- 'pisell-reservation-schedule.pick-date-title': string;
26
- 'pisell-reservation-schedule.pick-week-title': string;
27
- 'pisell-reservation-schedule.pick-month-title': string;
28
- };
29
- 'zh-HK': {
30
- 'pisell-reservation-schedule.today': string;
31
- 'pisell-reservation-schedule.prev': string;
32
- 'pisell-reservation-schedule.next': string;
33
- 'pisell-reservation-schedule.prev-week': string;
34
- 'pisell-reservation-schedule.next-week': string;
35
- 'pisell-reservation-schedule.prev-month': string;
36
- 'pisell-reservation-schedule.next-month': string;
37
- 'pisell-reservation-schedule.pick-date': string;
38
- 'pisell-reservation-schedule.pick-date-title': string;
39
- 'pisell-reservation-schedule.pick-week-title': string;
40
- 'pisell-reservation-schedule.pick-month-title': string;
41
- };
42
- };
43
- export default _default;
@@ -1,52 +0,0 @@
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
- /**
48
- * 顶栏切换步长:`day` 按日;`week` 按周;`month` 按月(与 RecordBoard 日历视图联动)。
49
- * @default 'day'
50
- */
51
- navigationUnit?: 'day' | 'week' | 'month';
52
- }
@@ -1,10 +0,0 @@
1
- /// <reference types="react" />
2
- import type { PisellReservationScheduleBandProps } from './types';
3
- import './PisellReservationScheduleBand.less';
4
- /**
5
- * 预约顶栏组合:营业日切换 + 锚定到选中日的时间导航轴
6
- */
7
- export declare function PisellReservationScheduleBand(props: PisellReservationScheduleBandProps): JSX.Element;
8
- export declare namespace PisellReservationScheduleBand {
9
- var displayName: string;
10
- }
@@ -1,16 +0,0 @@
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;
@@ -1,2 +0,0 @@
1
- export { PisellReservationScheduleBand } from './PisellReservationScheduleBand';
2
- export type { PisellReservationScheduleBandProps, ReservationScheduleBandValue, TimeNavigatorPassthroughProps, } from './types';
@@ -1,61 +0,0 @@
1
- import type { CSSProperties, ReactNode } from 'react';
2
- import type { Dayjs } from 'dayjs';
3
- import type { PisellTimeNavigatorProps } from '../pisellTimeNavigator/types';
4
- import type { PisellReservationScheduleProps } from '../pisellReservationSchedule/types';
5
- /** 组合值:日历日 + 该日上的时刻(与 PisellTimeNavigator 对齐) */
6
- export interface ReservationScheduleBandValue {
7
- date: Dayjs;
8
- at: Dayjs;
9
- }
10
- export declare type TimeNavigatorPassthroughProps = Omit<PisellTimeNavigatorProps, 'value' | 'onChange' | 'referenceDate' | 'defaultValue'>;
11
- /**
12
- * PisellReservationScheduleBand:营业日条 + 横向时间轴
13
- */
14
- export interface PisellReservationScheduleBandProps {
15
- /**
16
- * 受控:选中日 + 轴上时刻
17
- */
18
- value?: ReservationScheduleBandValue;
19
- /**
20
- * 日历日或时刻任一变化时触发
21
- */
22
- onChange?: (next: ReservationScheduleBandValue) => void;
23
- /**
24
- * 非受控初始值(可只传部分字段)
25
- */
26
- defaultValue?: Partial<ReservationScheduleBandValue>;
27
- /**
28
- * 透传给 PisellReservationSchedule(如 minDate / maxDate)
29
- */
30
- scheduleProps?: Omit<PisellReservationScheduleProps, 'value' | 'onChange' | 'defaultValue'>;
31
- /**
32
- * 透传给 PisellTimeNavigator(不含 value/onChange/referenceDate)
33
- */
34
- timeNavigatorProps?: TimeNavigatorPassthroughProps;
35
- /**
36
- * 顶栏日程行:PisellReservationSchedule 左侧自定义内容(如标题)
37
- */
38
- scheduleStartSlot?: ReactNode;
39
- /**
40
- * 顶栏日程行:PisellReservationSchedule 右侧自定义内容(如状态、主按钮)
41
- */
42
- scheduleEndSlot?: ReactNode;
43
- /**
44
- * 顶栏日程行:紧挨在选日组件之后(如「跟随当前」),与中间列同一 flex 区
45
- */
46
- scheduleAfterDateSlot?: ReactNode;
47
- /**
48
- * 为 true 时隐藏下方时间导航轴(如日历视图仅需要选日/选周/选月)
49
- */
50
- hideTimeNavigator?: boolean;
51
- /**
52
- * 为 true 时在整个日程带上叠加载层(如切换营业日后拉预约列表期间)
53
- */
54
- dataLoading?: boolean;
55
- /**
56
- * 加载层内文案,由业务侧 {@link locales.getText} 等注入
57
- */
58
- dataLoadingTip?: ReactNode;
59
- className?: string;
60
- style?: CSSProperties;
61
- }
@@ -1,20 +0,0 @@
1
- import React from 'react';
2
- import { PisellContextType } from '../../../pisell-config-provider/context';
3
- export interface AmountProps extends React.HTMLAttributes<HTMLSpanElement> {
4
- /** 平台 */
5
- platform?: PisellContextType['platform'];
6
- /** 当前数值 */
7
- value?: number | string;
8
- /** 小数点后位数 默认是小数点后2位 */
9
- precision?: number;
10
- /** 显示货币符号 指的是 ¥$ 等货币符号等显隐,默认是展示 */
11
- showCurrencySymbol?: boolean;
12
- /** 千分位 指的是长金额的千分位逗号隔开,比如“123, 245, 315” 这种展现形式,默认是关闭 */
13
- useThousandsSeparator?: boolean;
14
- /** 整数位隐藏小数 指的是如果价格为整数,后面的".00" 将被省略以节省页面空间 */
15
- hideDecimalForWholeNumbers?: boolean;
16
- /** 货币符号 */
17
- symbol?: string;
18
- }
19
- declare const Amount: (props: AmountProps) => JSX.Element;
20
- export default Amount;
@@ -1,79 +0,0 @@
1
- import type { Meta, StoryObj } from '@storybook/react';
2
- import { PisellTimeNavigator } from './PisellTimeNavigator';
3
- /**
4
- * PisellTimeNavigator 组件 Storybook
5
- * 时间导航轴:时间范围内浏览、选择、控制
6
- */
7
- declare const meta: Meta<typeof PisellTimeNavigator>;
8
- export default meta;
9
- declare type Story = StoryObj<typeof PisellTimeNavigator>;
10
- /**
11
- * 默认:横向、轴动、显示 Now
12
- */
13
- export declare const Default: Story;
14
- /** 默认 - 竖向 */
15
- export declare const DefaultVertical: Story;
16
- /**
17
- * 受控 + 默认 12:00
18
- */
19
- export declare const Controlled: Story;
20
- /** 受控 - 竖向 */
21
- export declare const ControlledVertical: Story;
22
- /**
23
- * 非受控 + 默认 14:30
24
- */
25
- export declare const Uncontrolled: Story;
26
- /** 非受控 - 竖向 */
27
- export declare const UncontrolledVertical: Story;
28
- /**
29
- * 竖向
30
- */
31
- export declare const Vertical: Story;
32
- /**
33
- * 指针动模式(cursor-moves)
34
- */
35
- export declare const CursorMoves: Story;
36
- /** 指针动模式 - 竖向 */
37
- export declare const CursorMovesVertical: Story;
38
- /**
39
- * 营业时间高亮 10:00–22:00
40
- */
41
- export declare const BusinessHours: Story;
42
- /** 营业时间高亮 - 竖向 */
43
- export declare const BusinessHoursVertical: Story;
44
- /**
45
- * 自定义时间范围 08:00–20:00
46
- */
47
- export declare const CustomRange: Story;
48
- /** 自定义时间范围 - 竖向 */
49
- export declare const CustomRangeVertical: Story;
50
- /**
51
- * 步长 30 分钟
52
- */
53
- export declare const Step30: Story;
54
- /** 步长 30 分钟 - 竖向 */
55
- export declare const Step30Vertical: Story;
56
- /**
57
- * 惯性滚动开启
58
- */
59
- export declare const Inertia: Story;
60
- /** 惯性滚动 - 竖向 */
61
- export declare const InertiaVertical: Story;
62
- /**
63
- * 吸附到整点(松手后自动吸附到 0/15/30/45 分刻度)
64
- */
65
- export declare const SnapToStep: Story;
66
- /** 吸附到整点 - 竖向 */
67
- export declare const SnapToStepVertical: Story;
68
- /**
69
- * 隐藏 Now 按钮
70
- */
71
- export declare const NoNowButton: Story;
72
- /** 隐藏 Now 按钮 - 竖向 */
73
- export declare const NoNowButtonVertical: Story;
74
- /**
75
- * 实时模式(仅演示,实际会跟随系统时间)
76
- */
77
- export declare const Realtime: Story;
78
- /** 实时模式 - 竖向 */
79
- export declare const RealtimeVertical: Story;
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
- export interface BackgroundLayerProps {
3
- orientation: 'horizontal' | 'vertical';
4
- /** 过去时间淡化色 */
5
- pastTimeFade?: string;
6
- /** 营业时间区间 [startPx, endPx],用于视觉高亮 */
7
- businessHoursPx?: [number, number];
8
- className?: string;
9
- style?: React.CSSProperties;
10
- }
11
- /**
12
- * 背景区间层:营业时间高亮、过去时间淡化等(当前时间渐变已拆为独立块,见 axis-wrap 内 .pisell-time-navigator-current-gradient)
13
- */
14
- export declare function BackgroundLayer({ orientation, pastTimeFade, businessHoursPx, className, style, }: BackgroundLayerProps): JSX.Element;
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
- import type { CSSProperties } from 'react';
3
- export interface NowButtonProps {
4
- orientation: 'horizontal' | 'vertical';
5
- onClick: () => void;
6
- style?: CSSProperties;
7
- className?: string;
8
- renderCustom?: () => React.ReactNode;
9
- }
10
- /**
11
- * Now 按钮:固定入口,点击跳回当前时间并进入 Realtime
12
- * 横向:右侧,左箭头;竖向:底部,上箭头
13
- */
14
- export declare function NowButton({ orientation, onClick, style, className, renderCustom, }: NowButtonProps): JSX.Element;
@@ -1,22 +0,0 @@
1
- import React from 'react';
2
- import type { Dayjs } from 'dayjs';
3
- export interface ScaleLayerProps {
4
- orientation: 'horizontal' | 'vertical';
5
- ticks: Dayjs[];
6
- stepMinutes: number;
7
- majorStepMinutes: number;
8
- timeFormat: string;
9
- locale?: string;
10
- style?: React.CSSProperties;
11
- className?: string;
12
- /**
13
- * 横向每格宽度(px),须与 useTimeAxis 的 cellSizePx 一致;
14
- * 不传时样式表默认 82(axis-moves);cursor-moves 压缩比例时必传
15
- */
16
- horizontalCellSizePx?: number;
17
- }
18
- /**
19
- * 刻度层:渲染时间刻度与标签
20
- * 横向:整点数字 + 小圆点;竖向:整点/半点数字 + 分割线
21
- */
22
- export declare function ScaleLayer({ orientation, ticks, stepMinutes, majorStepMinutes, timeFormat, locale, style, className, horizontalCellSizePx, }: ScaleLayerProps): JSX.Element;
@@ -1,5 +0,0 @@
1
- export { BackgroundLayer } from './BackgroundLayer';
2
- export { CursorLayer } from './CursorLayer';
3
- export { GestureLayer } from './GestureLayer';
4
- export { NowButton } from './NowButton';
5
- export { ScaleLayer } from './ScaleLayer';
@@ -1,5 +0,0 @@
1
- export { useTimeAxis } from './useTimeAxis';
2
- export type { UseTimeAxisOptions, TimeAxisState } from './useTimeAxis';
3
- export { useRealtime } from './useRealtime';
4
- export { useDragInertia } from './useDragInertia';
5
- export type { UseDragInertiaOptions } from './useDragInertia';
@@ -1,14 +0,0 @@
1
- export interface UseDragInertiaOptions {
2
- enabled: boolean;
3
- orientation: 'horizontal' | 'vertical';
4
- getScrollContainer: () => HTMLElement | null;
5
- }
6
- /**
7
- * 惯性滚动:根据拖动末段速度在松手后继续滚动并衰减
8
- */
9
- export declare function useDragInertia(options: UseDragInertiaOptions): {
10
- onPointerDown: (e: React.PointerEvent) => void;
11
- onPointerMove: (e: React.PointerEvent) => void;
12
- onPointerUp: (e: React.PointerEvent) => void;
13
- stopInertia: () => void;
14
- };
@@ -1,5 +0,0 @@
1
- import type { Dayjs } from 'dayjs';
2
- /**
3
- * Realtime 模式:每秒将当前系统时间通过 onTick 回传
4
- */
5
- export declare function useRealtime(enabled: boolean, onTick: (now: Dayjs) => void): void;