@pisell/materials 6.11.48 → 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 (373) 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/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.js +3 -0
  10. package/es/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.less +9 -0
  11. package/es/components/pisellRecordBoard/shellFrame/Calendar/const/bookingCalendarConstants.d.ts +4 -2
  12. package/es/components/pisellRecordBoard/shellFrame/Calendar/const/bookingCalendarConstants.js +4 -2
  13. package/es/components/pisellRecordBoard/shellFrame/Calendar/utils/BookingCalendarStyle.d.ts +1 -1
  14. package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDayView.js +26 -10
  15. package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarMonthView.js +12 -7
  16. package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarWeekView.js +20 -31
  17. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.less +7 -3
  18. package/es/components/pisellRecordBoard/shellFrame/index.d.ts +30 -0
  19. package/es/index.d.ts +265 -0
  20. package/es/pisell-materials.tw.css +1 -1
  21. package/lib/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.js +2 -0
  22. package/lib/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.less +9 -0
  23. package/lib/components/pisellRecordBoard/shellFrame/Calendar/const/bookingCalendarConstants.d.ts +4 -2
  24. package/lib/components/pisellRecordBoard/shellFrame/Calendar/const/bookingCalendarConstants.js +2 -2
  25. package/lib/components/pisellRecordBoard/shellFrame/Calendar/utils/BookingCalendarStyle.d.ts +1 -1
  26. package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDayView.js +16 -7
  27. package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarMonthView.js +14 -5
  28. package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarWeekView.js +20 -13
  29. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.less +7 -3
  30. package/lib/components/pisellRecordBoard/shellFrame/index.d.ts +30 -0
  31. package/lib/index.d.ts +265 -0
  32. package/lib/pisell-materials.tw.css +1 -1
  33. package/package.json +1 -1
  34. package/es/components/PisellCards/components/MultilevelCard/components/PanelWrapper.d.ts +0 -7
  35. package/es/components/PisellLayouts/index.d.ts +0 -38
  36. package/es/components/PisellSteps/PisellSteps.d.ts +0 -14
  37. package/es/components/PisellSuperTabs/PisellSuperTabs.d.ts +0 -8
  38. package/es/components/PisellSuperTabs/hooks/useTabsState.d.ts +0 -7
  39. package/es/components/PisellSuperTabs/types.d.ts +0 -212
  40. package/es/components/PisellTabbar/PisellTabbar.d.ts +0 -20
  41. package/es/components/PisellTabbar/constants.d.ts +0 -47
  42. package/es/components/PisellTabbar/hooks/useActiveKey.d.ts +0 -55
  43. package/es/components/PisellTabbar/hooks/useExpand.d.ts +0 -42
  44. package/es/components/PisellTabbar/template/Template1/PisellTabbar.d.ts +0 -5
  45. package/es/components/PisellTabbar/template/Template1/constants.d.ts +0 -10
  46. package/es/components/PisellTabbar/types.d.ts +0 -90
  47. package/es/components/PisellTabbar/utils/index.d.ts +0 -69
  48. package/es/components/cardPro/index.d.ts +0 -4
  49. package/es/components/dataSourceComponents/dataSourceForm/BaseForm.d.ts +0 -3
  50. package/es/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +0 -39
  51. package/es/components/dataSourceComponents/dataSourceForm/type.d.ts +0 -32
  52. package/es/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +0 -26
  53. package/es/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +0 -15
  54. package/es/components/dataSourceComponents/provider/variables/VariablesProvider.d.ts +0 -4
  55. package/es/components/drag-sort-tree/TreeItem/index.d.ts +0 -19
  56. package/es/components/iconfont/index.d.ts +0 -8
  57. package/es/components/page/index.d.ts +0 -8
  58. package/es/components/pisell-config-provider/context.d.ts +0 -22
  59. package/es/components/pisell-config-provider/index.d.ts +0 -13
  60. package/es/components/pisellAdjustPrice/index.d.ts +0 -4
  61. package/es/components/pisellAdjustPrice/status.d.ts +0 -32
  62. package/es/components/pisellAdjustPrice/type.d.ts +0 -22
  63. package/es/components/pisellCardList/index.d.ts +0 -107
  64. package/es/components/pisellCheckboxGroup/index.d.ts +0 -40
  65. package/es/components/pisellDataSourceContainer/components/Pagination/index.d.ts +0 -6
  66. package/es/components/pisellFilter/index.d.ts +0 -3
  67. package/es/components/pisellFilter/type.d.ts +0 -7
  68. package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.stories.d.ts +0 -55
  69. package/es/components/pisellFloorMapLayout/components/CanvasTabs.d.ts +0 -22
  70. package/es/components/pisellFloorMapLayout/components/EditableItemLayer.d.ts +0 -46
  71. package/es/components/pisellFloorMapLayout/components/FloorMapDataForm.d.ts +0 -17
  72. package/es/components/pisellFloorMapLayout/components/FloorMapEditQuickActions.d.ts +0 -21
  73. package/es/components/pisellFloorMapLayout/components/FloorMapImageElement.d.ts +0 -6
  74. package/es/components/pisellFloorMapLayout/components/MapLayer.d.ts +0 -27
  75. package/es/components/pisellFloorMapLayout/components/index.d.ts +0 -21
  76. package/es/components/pisellFloorMapLayout/context/FloorMapLayoutContext.d.ts +0 -16
  77. package/es/components/pisellFloorMapLayout/context/mergeFloorMapLayoutContext.d.ts +0 -5
  78. package/es/components/pisellFloorMapLayout/hooks/useFloorMapPaletteTouchDrag.d.ts +0 -21
  79. package/es/components/pisellFloorMapLayout/hooks/useShopFloorPlanSubscription.d.ts +0 -19
  80. package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanClient.d.ts +0 -10
  81. package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanMapping.d.ts +0 -18
  82. package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanPure.d.ts +0 -22
  83. package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanTypes.d.ts +0 -72
  84. package/es/components/pisellFloorMapLayout/utils/floorMapCanvasDisplay.d.ts +0 -20
  85. package/es/components/pisellFloorMapLayout/utils/floorMapConfigMerge.d.ts +0 -8
  86. package/es/components/pisellFloorMapLayout/utils/floorMapDataBindingUtils.d.ts +0 -21
  87. package/es/components/pisellFloorMapLayout/utils/floorMapDataRecordLabel.d.ts +0 -8
  88. package/es/components/pisellFloorMapLayout/utils/floorMapDropUtils.d.ts +0 -27
  89. package/es/components/pisellFloorMapLayout/utils/floorMapElementKindUtils.d.ts +0 -22
  90. package/es/components/pisellFloorMapLayout/utils/floorMapFallbackRender.d.ts +0 -11
  91. package/es/components/pisellFloorMapLayout/utils/floorMapRemotePersist.d.ts +0 -17
  92. package/es/components/pisellFloorMapLayout/utils/floorMapStageDefaults.d.ts +0 -8
  93. package/es/components/pisellFloorMapLayout/utils/floorMapViewConfigDiff.d.ts +0 -8
  94. package/es/components/pisellFloorMapLayout/utils/layoutMeasurements.d.ts +0 -30
  95. package/es/components/pisellFloorMapLayout/utils/mergeCanvasesForTabs.d.ts +0 -7
  96. package/es/components/pisellFloorMapLayout/utils/snap.d.ts +0 -10
  97. package/es/components/pisellGoodPassCard/index.d.ts +0 -50
  98. package/es/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.d.ts +0 -6
  99. package/es/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.stories.d.ts +0 -10
  100. package/es/components/pisellHierarchicalSummaryList/components/Row.d.ts +0 -35
  101. package/es/components/pisellHierarchicalSummaryList/components/index.d.ts +0 -1
  102. package/es/components/pisellHierarchicalSummaryList/hooks/index.d.ts +0 -2
  103. package/es/components/pisellHierarchicalSummaryList/hooks/useExpandedKeys.d.ts +0 -15
  104. package/es/components/pisellHierarchicalSummaryList/index.d.ts +0 -5
  105. package/es/components/pisellHierarchicalSummaryList/types.d.ts +0 -248
  106. package/es/components/pisellLookup/components/LookupTrigger.d.ts +0 -3
  107. package/es/components/pisellModal/index.d.ts +0 -62
  108. package/es/components/pisellRecordBoard/layouts/GridLayout/Grid.d.ts +0 -14
  109. package/es/components/pisellRecordBoard/shellFrame/Calendar/RecordBoardCalendar.d.ts +0 -8
  110. package/es/components/pisellRecordBoard/shellFrame/Calendar/calendarI18n.d.ts +0 -4
  111. package/es/components/pisellRecordBoard/shellFrame/Calendar/calendarPersistGuard.d.ts +0 -18
  112. package/es/components/pisellRecordBoard/shellFrame/Calendar/view/bookingCalendarDayViewContext.d.ts +0 -12
  113. package/es/components/pisellRecordBoard/shellFrame/FloorMap.d.ts +0 -14
  114. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/NoteTicker.d.ts +0 -14
  115. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/PisellRecordBoardResourceWallView.d.ts +0 -12
  116. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/RecordBoardResourceWall.d.ts +0 -8
  117. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanel.d.ts +0 -50
  118. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelColorTab.d.ts +0 -17
  119. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelLayoutTab.d.ts +0 -28
  120. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallViewportToolbar.d.ts +0 -18
  121. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.d.ts +0 -22
  122. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/resourceWallConstants.d.ts +0 -2
  123. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallCardPresentation.d.ts +0 -58
  124. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallUtils.d.ts +0 -64
  125. package/es/components/pisellRecordBoard/shellFrame/ShellBodyMetaContext.d.ts +0 -24
  126. package/es/components/pisellRecordBoard/utils/partitionShellFrameChildren.d.ts +0 -23
  127. package/es/components/pisellRecordBoard/utils/recordBoardColumns.d.ts +0 -52
  128. package/es/components/pisellReservationSchedule/PisellReservationSchedule.d.ts +0 -10
  129. package/es/components/pisellReservationSchedule/PisellReservationSchedule.stories.d.ts +0 -12
  130. package/es/components/pisellReservationSchedule/index.d.ts +0 -2
  131. package/es/components/pisellReservationSchedule/locales.d.ts +0 -43
  132. package/es/components/pisellReservationSchedule/types.d.ts +0 -52
  133. package/es/components/pisellReservationScheduleBand/PisellReservationScheduleBand.d.ts +0 -10
  134. package/es/components/pisellReservationScheduleBand/PisellReservationScheduleBand.stories.d.ts +0 -16
  135. package/es/components/pisellReservationScheduleBand/index.d.ts +0 -2
  136. package/es/components/pisellReservationScheduleBand/types.d.ts +0 -61
  137. package/es/components/pisellText/components/Amount/index.d.ts +0 -20
  138. package/es/components/pisellTimeNavigator/PisellTimeNavigator.stories.d.ts +0 -79
  139. package/es/components/pisellTimeNavigator/components/BackgroundLayer.d.ts +0 -14
  140. package/es/components/pisellTimeNavigator/components/NowButton.d.ts +0 -14
  141. package/es/components/pisellTimeNavigator/components/ScaleLayer.d.ts +0 -22
  142. package/es/components/pisellTimeNavigator/components/index.d.ts +0 -5
  143. package/es/components/pisellTimeNavigator/hooks/index.d.ts +0 -5
  144. package/es/components/pisellTimeNavigator/hooks/useDragInertia.d.ts +0 -14
  145. package/es/components/pisellTimeNavigator/hooks/useRealtime.d.ts +0 -5
  146. package/es/components/pisellTimeNavigator/hooks/useTimeAxis.d.ts +0 -27
  147. package/es/components/pisellTimeNavigator/index.d.ts +0 -5
  148. package/es/components/pisellTimeNavigator/locales.d.ts +0 -22
  149. package/es/components/pisellTimeNavigator/types.d.ts +0 -160
  150. package/es/components/pisellTimeNavigator/utils/index.d.ts +0 -41
  151. package/es/components/pisellToast/index.d.ts +0 -17
  152. package/es/components/pisellToast/squareToast/index.d.ts +0 -15
  153. package/es/components/pisellToast/squareToast/methods.d.ts +0 -13
  154. package/es/components/pisellToast/squareToast/renderImperatively.d.ts +0 -28
  155. package/es/components/pisellToast/squareToast/toast.d.ts +0 -25
  156. package/es/components/pisellWalletPassCard/index.d.ts +0 -146
  157. package/es/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +0 -3
  158. package/es/components/productCard/cartSkuCard/components/Gift/index.d.ts +0 -4
  159. package/es/components/productCard/cartSkuCard/components/Gift/types.d.ts +0 -29
  160. package/es/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -3
  161. package/es/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +0 -14
  162. package/es/components/productCard/cartSkuCard/components/Note/index.d.ts +0 -3
  163. package/es/components/productCard/cartSkuCard/components/Promotion/index.d.ts +0 -6
  164. package/es/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +0 -36
  165. package/es/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -2
  166. package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -3
  167. package/es/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -11
  168. package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +0 -20
  169. package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -3
  170. package/es/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -12
  171. package/es/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -21
  172. package/es/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +0 -46
  173. package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -8
  174. package/es/components/productCard/cartSkuCard/components/weighing/index.d.ts +0 -18
  175. package/es/components/productCard/cartSkuCard/index.d.ts +0 -10
  176. package/es/components/productCard/cartSkuCard/locales.d.ts +0 -198
  177. package/es/components/productCard/components/Action/index.d.ts +0 -4
  178. package/es/components/productCard/components/Header/EditButton/index.d.ts +0 -3
  179. package/es/components/productCard/components/Header/index.d.ts +0 -3
  180. package/es/components/productCard/components/Sales/index.d.ts +0 -3
  181. package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -3
  182. package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -13
  183. package/es/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +0 -2
  184. package/es/components/productCard/index.d.ts +0 -7
  185. package/es/components/productCard/locales.d.ts +0 -138
  186. package/es/components/productCard/status.d.ts +0 -32
  187. package/es/components/productCard/types.d.ts +0 -95
  188. package/es/components/productCard/utils.d.ts +0 -33
  189. package/es/components/select-time/index.d.ts +0 -13
  190. package/es/components/sort/index.d.ts +0 -5
  191. package/es/components/table/Table/AddFieldModal/index.d.ts +0 -4
  192. package/es/components/table/index.d.ts +0 -4
  193. package/es/components/virtual-keyboard/Amount/index.d.ts +0 -5
  194. package/es/components/virtual-keyboard/Amount/themeConfig.d.ts +0 -32
  195. package/es/components/virtual-keyboard/Amount/types.d.ts +0 -44
  196. package/es/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +0 -15
  197. package/es/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +0 -25
  198. package/es/components/virtual-keyboard/Keyboard/index.d.ts +0 -21
  199. package/es/components/virtual-keyboard/Number/index.d.ts +0 -5
  200. package/es/components/virtual-keyboard/Number/themeConfig.d.ts +0 -32
  201. package/es/components/virtual-keyboard/Number/types.d.ts +0 -26
  202. package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -13
  203. package/es/components/virtual-keyboard/index.d.ts +0 -25
  204. package/lib/components/PisellCards/components/MultilevelCard/components/PanelWrapper.d.ts +0 -7
  205. package/lib/components/PisellLayouts/index.d.ts +0 -38
  206. package/lib/components/PisellSteps/PisellSteps.d.ts +0 -14
  207. package/lib/components/PisellSuperTabs/PisellSuperTabs.d.ts +0 -8
  208. package/lib/components/PisellSuperTabs/hooks/useTabsState.d.ts +0 -7
  209. package/lib/components/PisellSuperTabs/types.d.ts +0 -212
  210. package/lib/components/PisellTabbar/PisellTabbar.d.ts +0 -20
  211. package/lib/components/PisellTabbar/constants.d.ts +0 -47
  212. package/lib/components/PisellTabbar/hooks/useActiveKey.d.ts +0 -55
  213. package/lib/components/PisellTabbar/hooks/useExpand.d.ts +0 -42
  214. package/lib/components/PisellTabbar/template/Template1/PisellTabbar.d.ts +0 -5
  215. package/lib/components/PisellTabbar/template/Template1/constants.d.ts +0 -10
  216. package/lib/components/PisellTabbar/types.d.ts +0 -90
  217. package/lib/components/PisellTabbar/utils/index.d.ts +0 -69
  218. package/lib/components/cardPro/index.d.ts +0 -4
  219. package/lib/components/dataSourceComponents/dataSourceForm/BaseForm.d.ts +0 -3
  220. package/lib/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +0 -39
  221. package/lib/components/dataSourceComponents/dataSourceForm/type.d.ts +0 -32
  222. package/lib/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +0 -26
  223. package/lib/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +0 -15
  224. package/lib/components/dataSourceComponents/provider/variables/VariablesProvider.d.ts +0 -4
  225. package/lib/components/drag-sort-tree/TreeItem/index.d.ts +0 -19
  226. package/lib/components/iconfont/index.d.ts +0 -8
  227. package/lib/components/page/index.d.ts +0 -8
  228. package/lib/components/pisell-config-provider/context.d.ts +0 -22
  229. package/lib/components/pisell-config-provider/index.d.ts +0 -13
  230. package/lib/components/pisellAdjustPrice/index.d.ts +0 -4
  231. package/lib/components/pisellAdjustPrice/status.d.ts +0 -32
  232. package/lib/components/pisellAdjustPrice/type.d.ts +0 -22
  233. package/lib/components/pisellCardList/index.d.ts +0 -107
  234. package/lib/components/pisellCheckboxGroup/index.d.ts +0 -40
  235. package/lib/components/pisellDataSourceContainer/components/Pagination/index.d.ts +0 -6
  236. package/lib/components/pisellFilter/index.d.ts +0 -3
  237. package/lib/components/pisellFilter/type.d.ts +0 -7
  238. package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.stories.d.ts +0 -55
  239. package/lib/components/pisellFloorMapLayout/components/CanvasTabs.d.ts +0 -22
  240. package/lib/components/pisellFloorMapLayout/components/EditableItemLayer.d.ts +0 -46
  241. package/lib/components/pisellFloorMapLayout/components/FloorMapDataForm.d.ts +0 -17
  242. package/lib/components/pisellFloorMapLayout/components/FloorMapEditQuickActions.d.ts +0 -21
  243. package/lib/components/pisellFloorMapLayout/components/FloorMapImageElement.d.ts +0 -6
  244. package/lib/components/pisellFloorMapLayout/components/MapLayer.d.ts +0 -27
  245. package/lib/components/pisellFloorMapLayout/components/index.d.ts +0 -21
  246. package/lib/components/pisellFloorMapLayout/context/FloorMapLayoutContext.d.ts +0 -16
  247. package/lib/components/pisellFloorMapLayout/context/mergeFloorMapLayoutContext.d.ts +0 -5
  248. package/lib/components/pisellFloorMapLayout/hooks/useFloorMapPaletteTouchDrag.d.ts +0 -21
  249. package/lib/components/pisellFloorMapLayout/hooks/useShopFloorPlanSubscription.d.ts +0 -19
  250. package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanClient.d.ts +0 -10
  251. package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanMapping.d.ts +0 -18
  252. package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanPure.d.ts +0 -22
  253. package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanTypes.d.ts +0 -72
  254. package/lib/components/pisellFloorMapLayout/utils/floorMapCanvasDisplay.d.ts +0 -20
  255. package/lib/components/pisellFloorMapLayout/utils/floorMapConfigMerge.d.ts +0 -8
  256. package/lib/components/pisellFloorMapLayout/utils/floorMapDataBindingUtils.d.ts +0 -21
  257. package/lib/components/pisellFloorMapLayout/utils/floorMapDataRecordLabel.d.ts +0 -8
  258. package/lib/components/pisellFloorMapLayout/utils/floorMapDropUtils.d.ts +0 -27
  259. package/lib/components/pisellFloorMapLayout/utils/floorMapElementKindUtils.d.ts +0 -22
  260. package/lib/components/pisellFloorMapLayout/utils/floorMapFallbackRender.d.ts +0 -11
  261. package/lib/components/pisellFloorMapLayout/utils/floorMapRemotePersist.d.ts +0 -17
  262. package/lib/components/pisellFloorMapLayout/utils/floorMapStageDefaults.d.ts +0 -8
  263. package/lib/components/pisellFloorMapLayout/utils/floorMapViewConfigDiff.d.ts +0 -8
  264. package/lib/components/pisellFloorMapLayout/utils/layoutMeasurements.d.ts +0 -30
  265. package/lib/components/pisellFloorMapLayout/utils/mergeCanvasesForTabs.d.ts +0 -7
  266. package/lib/components/pisellFloorMapLayout/utils/snap.d.ts +0 -10
  267. package/lib/components/pisellGoodPassCard/index.d.ts +0 -50
  268. package/lib/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.d.ts +0 -6
  269. package/lib/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.stories.d.ts +0 -10
  270. package/lib/components/pisellHierarchicalSummaryList/components/Row.d.ts +0 -35
  271. package/lib/components/pisellHierarchicalSummaryList/components/index.d.ts +0 -1
  272. package/lib/components/pisellHierarchicalSummaryList/hooks/index.d.ts +0 -2
  273. package/lib/components/pisellHierarchicalSummaryList/hooks/useExpandedKeys.d.ts +0 -15
  274. package/lib/components/pisellHierarchicalSummaryList/index.d.ts +0 -5
  275. package/lib/components/pisellHierarchicalSummaryList/types.d.ts +0 -248
  276. package/lib/components/pisellLookup/components/LookupTrigger.d.ts +0 -3
  277. package/lib/components/pisellModal/index.d.ts +0 -62
  278. package/lib/components/pisellRecordBoard/layouts/GridLayout/Grid.d.ts +0 -14
  279. package/lib/components/pisellRecordBoard/shellFrame/Calendar/RecordBoardCalendar.d.ts +0 -8
  280. package/lib/components/pisellRecordBoard/shellFrame/Calendar/calendarI18n.d.ts +0 -4
  281. package/lib/components/pisellRecordBoard/shellFrame/Calendar/calendarPersistGuard.d.ts +0 -18
  282. package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/bookingCalendarDayViewContext.d.ts +0 -12
  283. package/lib/components/pisellRecordBoard/shellFrame/FloorMap.d.ts +0 -14
  284. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/NoteTicker.d.ts +0 -14
  285. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/PisellRecordBoardResourceWallView.d.ts +0 -12
  286. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/RecordBoardResourceWall.d.ts +0 -8
  287. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanel.d.ts +0 -50
  288. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelColorTab.d.ts +0 -17
  289. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelLayoutTab.d.ts +0 -28
  290. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallViewportToolbar.d.ts +0 -18
  291. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.d.ts +0 -22
  292. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/resourceWallConstants.d.ts +0 -2
  293. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallCardPresentation.d.ts +0 -58
  294. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallUtils.d.ts +0 -64
  295. package/lib/components/pisellRecordBoard/shellFrame/ShellBodyMetaContext.d.ts +0 -24
  296. package/lib/components/pisellRecordBoard/utils/partitionShellFrameChildren.d.ts +0 -23
  297. package/lib/components/pisellRecordBoard/utils/recordBoardColumns.d.ts +0 -52
  298. package/lib/components/pisellReservationSchedule/PisellReservationSchedule.d.ts +0 -10
  299. package/lib/components/pisellReservationSchedule/PisellReservationSchedule.stories.d.ts +0 -12
  300. package/lib/components/pisellReservationSchedule/index.d.ts +0 -2
  301. package/lib/components/pisellReservationSchedule/locales.d.ts +0 -43
  302. package/lib/components/pisellReservationSchedule/types.d.ts +0 -52
  303. package/lib/components/pisellReservationScheduleBand/PisellReservationScheduleBand.d.ts +0 -10
  304. package/lib/components/pisellReservationScheduleBand/PisellReservationScheduleBand.stories.d.ts +0 -16
  305. package/lib/components/pisellReservationScheduleBand/index.d.ts +0 -2
  306. package/lib/components/pisellReservationScheduleBand/types.d.ts +0 -61
  307. package/lib/components/pisellText/components/Amount/index.d.ts +0 -20
  308. package/lib/components/pisellTimeNavigator/PisellTimeNavigator.stories.d.ts +0 -79
  309. package/lib/components/pisellTimeNavigator/components/BackgroundLayer.d.ts +0 -14
  310. package/lib/components/pisellTimeNavigator/components/NowButton.d.ts +0 -14
  311. package/lib/components/pisellTimeNavigator/components/ScaleLayer.d.ts +0 -22
  312. package/lib/components/pisellTimeNavigator/components/index.d.ts +0 -5
  313. package/lib/components/pisellTimeNavigator/hooks/index.d.ts +0 -5
  314. package/lib/components/pisellTimeNavigator/hooks/useDragInertia.d.ts +0 -14
  315. package/lib/components/pisellTimeNavigator/hooks/useRealtime.d.ts +0 -5
  316. package/lib/components/pisellTimeNavigator/hooks/useTimeAxis.d.ts +0 -27
  317. package/lib/components/pisellTimeNavigator/index.d.ts +0 -5
  318. package/lib/components/pisellTimeNavigator/locales.d.ts +0 -22
  319. package/lib/components/pisellTimeNavigator/types.d.ts +0 -160
  320. package/lib/components/pisellTimeNavigator/utils/index.d.ts +0 -41
  321. package/lib/components/pisellToast/index.d.ts +0 -17
  322. package/lib/components/pisellToast/squareToast/index.d.ts +0 -15
  323. package/lib/components/pisellToast/squareToast/methods.d.ts +0 -13
  324. package/lib/components/pisellToast/squareToast/renderImperatively.d.ts +0 -28
  325. package/lib/components/pisellToast/squareToast/toast.d.ts +0 -25
  326. package/lib/components/pisellWalletPassCard/index.d.ts +0 -146
  327. package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +0 -3
  328. package/lib/components/productCard/cartSkuCard/components/Gift/index.d.ts +0 -4
  329. package/lib/components/productCard/cartSkuCard/components/Gift/types.d.ts +0 -29
  330. package/lib/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -3
  331. package/lib/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +0 -14
  332. package/lib/components/productCard/cartSkuCard/components/Note/index.d.ts +0 -3
  333. package/lib/components/productCard/cartSkuCard/components/Promotion/index.d.ts +0 -6
  334. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +0 -36
  335. package/lib/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -2
  336. package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -3
  337. package/lib/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -11
  338. package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +0 -20
  339. package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -3
  340. package/lib/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -12
  341. package/lib/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -21
  342. package/lib/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +0 -46
  343. package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -8
  344. package/lib/components/productCard/cartSkuCard/components/weighing/index.d.ts +0 -18
  345. package/lib/components/productCard/cartSkuCard/index.d.ts +0 -10
  346. package/lib/components/productCard/cartSkuCard/locales.d.ts +0 -198
  347. package/lib/components/productCard/components/Action/index.d.ts +0 -4
  348. package/lib/components/productCard/components/Header/EditButton/index.d.ts +0 -3
  349. package/lib/components/productCard/components/Header/index.d.ts +0 -3
  350. package/lib/components/productCard/components/Sales/index.d.ts +0 -3
  351. package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -3
  352. package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -13
  353. package/lib/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +0 -2
  354. package/lib/components/productCard/index.d.ts +0 -7
  355. package/lib/components/productCard/locales.d.ts +0 -138
  356. package/lib/components/productCard/status.d.ts +0 -32
  357. package/lib/components/productCard/types.d.ts +0 -95
  358. package/lib/components/productCard/utils.d.ts +0 -33
  359. package/lib/components/select-time/index.d.ts +0 -13
  360. package/lib/components/sort/index.d.ts +0 -5
  361. package/lib/components/table/Table/AddFieldModal/index.d.ts +0 -4
  362. package/lib/components/table/index.d.ts +0 -4
  363. package/lib/components/virtual-keyboard/Amount/index.d.ts +0 -5
  364. package/lib/components/virtual-keyboard/Amount/themeConfig.d.ts +0 -32
  365. package/lib/components/virtual-keyboard/Amount/types.d.ts +0 -44
  366. package/lib/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +0 -15
  367. package/lib/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +0 -25
  368. package/lib/components/virtual-keyboard/Keyboard/index.d.ts +0 -21
  369. package/lib/components/virtual-keyboard/Number/index.d.ts +0 -5
  370. package/lib/components/virtual-keyboard/Number/themeConfig.d.ts +0 -32
  371. package/lib/components/virtual-keyboard/Number/types.d.ts +0 -26
  372. package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -13
  373. package/lib/components/virtual-keyboard/index.d.ts +0 -25
@@ -1,27 +0,0 @@
1
- /**
2
- * 平面图编辑态:侧栏图元拖拽到画布的 DataTransfer 与坐标
3
- */
4
- /** 与 setData 一致,用于识别左侧图元栏发起的拖拽 */
5
- export declare const FLOOR_MAP_PALETTE_DRAG_MIME = "application/x-pisell-floor-map-element";
6
- export interface FloorMapPaletteDragPayload {
7
- elementKind: string;
8
- dataSourceKey?: string;
9
- recordId?: string;
10
- recordIds?: string[];
11
- }
12
- /**
13
- * 与 {@link useFloorMapEditState} 落点一致:内容区 drop 的 offset 减去内容区 padding 偏移
14
- */
15
- export declare function sceneXYFromContentDropOffset(offsetX: number, offsetY: number, contentOffset: {
16
- x: number;
17
- y: number;
18
- }): {
19
- x: number;
20
- y: number;
21
- };
22
- /** 是否为左侧图元栏拖拽(非本地文件 / 外链图片) */
23
- export declare function isFloorMapPaletteDrag(dt: DataTransfer | null): boolean;
24
- /**
25
- * 解析侧栏拖拽 payload;非法时返回 null
26
- */
27
- export declare function parsePaletteDragPayload(dt: DataTransfer): FloorMapPaletteDragPayload | null;
@@ -1,22 +0,0 @@
1
- /**
2
- * 图元种类解析与绑定展示前校验(供合并项渲染、工具栏逻辑复用)
3
- */
4
- import type { FloorMapElementKindConfig, FloorMapViewConfig, FloorMapSceneElement, FloorMapDataSources, FloorMapElementDataBindingPolicy } from '../types';
5
- /** 与 RecordBoard Story 一致:`floorMapImage` */
6
- export declare function isFloorMapImageElementKind(kind: string | undefined): boolean;
7
- /** dataBindingPolicy 缺省视为 none */
8
- export declare function resolveDataBindingPolicy(kind: FloorMapElementKindConfig | undefined): FloorMapElementDataBindingPolicy;
9
- export declare function getElementKindConfig(config: Pick<FloorMapViewConfig, 'elementKinds'> | undefined, elementKind: string | undefined): FloorMapElementKindConfig | undefined;
10
- /**
11
- * 与调色板分组一致:取与当前图元 **同一 categoryId**(含未填 categoryId 时落到首个分类)下的可切换种类,
12
- * 排除舞台、底图。若仅有一种则编辑面板可不展示切换器。
13
- */
14
- export declare function getSwappableElementKindsInSameCategory(config: FloorMapViewConfig, elementKind: string | undefined): FloorMapElementKindConfig[];
15
- /**
16
- * 在右侧编辑面板将图元改为同分类下的另一种 kind 时的草稿 patch(绑定不兼容则清空)
17
- */
18
- export declare function patchSceneElementForKindSwitch(config: FloorMapViewConfig, element: FloorMapSceneElement, nextKindValue: string): Partial<FloorMapSceneElement>;
19
- /**
20
- * @returns 人类可读错误文案;无问题时返回 null
21
- */
22
- export declare function getSceneElementRenderIssue(element: FloorMapSceneElement, kind: FloorMapElementKindConfig | undefined, dataSources: FloorMapDataSources | undefined): string | null;
@@ -1,11 +0,0 @@
1
- /**
2
- * 无 renderItemByKind 时的占位渲染(装饰、舞台等),避免画布上不显示
3
- */
4
- import React from 'react';
5
- import type { FloorMapMergedItem } from '../types';
6
- /**
7
- * @returns 与 PisellFloorMapLayout 内联 fallback 一致的渲染函数(useCallback 由调用方包裹)
8
- */
9
- /** 绑定校验失败或 renderItemByKind 抛错时的占位 */
10
- export declare function renderFloorMapRenderError(message: string): React.ReactNode;
11
- export declare function renderFloorMapFallbackPlaceholder(item: FloorMapMergedItem): React.ReactNode;
@@ -1,17 +0,0 @@
1
- import type { FloorMapViewConfig } from '../types';
2
- export declare type WrapFloorMapOnSaveWithRemotePersistParams = {
3
- /** 与预约页一致:id 有效且为有限正整数 */
4
- canPersist: boolean;
5
- persistTargetId: number;
6
- /** 写入远端(如 PUT shop floor-plan) */
7
- persist: (id: number, config: FloorMapViewConfig) => Promise<unknown>;
8
- /** 成功后将草稿同步到「远程补丁」状态,避免编辑态被旧 GET 覆盖 */
9
- setRemoteFloorPlanView: (patch: Partial<FloorMapViewConfig>) => void;
10
- onFloorPlanPersisted?: () => void;
11
- prevOnSave?: (config: FloorMapViewConfig) => void;
12
- onPersistError?: (err: unknown) => void;
13
- };
14
- /**
15
- * 将 `floorMap.onSave` 包装为:先持久化到远端,再 `setRemoteFloorPlanView(floorMapSavedConfigToRemotePatch)` 与用户 `prevOnSave`。
16
- */
17
- export declare function wrapFloorMapOnSaveWithRemotePersist(params: WrapFloorMapOnSaveWithRemotePersistParams): (config: FloorMapViewConfig) => void;
@@ -1,8 +0,0 @@
1
- /**
2
- * 舞台/区域类装饰:落点默认尺寸与默认显示名(与 FLOOR_MAP_STAGE_ELEMENT_KIND 配套)
3
- */
4
- export declare const STAGE_DECO_DEFAULT: {
5
- readonly width: 320;
6
- readonly height: 120;
7
- readonly name: "舞台";
8
- };
@@ -1,8 +0,0 @@
1
- import type { FloorMapViewConfig } from '../types';
2
- /**
3
- * 与 {@link useFloorMapEditState} 中 `useEffect` 逻辑一致:补全 `canvasUi`、空 `elementKinds` 时的默认调色板、`sceneElements`。
4
- * 用于从上游 prop 得到「可与当前 draft 公平比较」的基准配置。
5
- */
6
- export declare function normalizeFloorMapViewConfigFromProp(floorMapConfigProp: FloorMapViewConfig): FloorMapViewConfig;
7
- /** 判断当前编辑草稿是否与基准配置一致(数组顺序无关) */
8
- export declare function floorMapViewConfigsEqual(a: FloorMapViewConfig, b: FloorMapViewConfig): boolean;
@@ -1,30 +0,0 @@
1
- /**
2
- * 平面图/布局内容区尺寸计算:格子与像素单位、gap 解析、包围盒
3
- */
4
- import type { FloorMapItemBase, FloorMapItemUnit } from '../types';
5
- /** 默认每格像素 */
6
- export declare const DEFAULT_CELL_SIZE = 64;
7
- /** 默认 item 间距(像素) */
8
- export declare const DEFAULT_ITEM_GAP = 8;
9
- /**
10
- * 将 mapLayer.gap 解析为像素数
11
- */
12
- export declare function gapToPx(gap: number | string | undefined): number;
13
- /**
14
- * 根据 items 计算内容区像素宽高
15
- * - cell:按格子数 + cellSize + itemGap 计算
16
- * - pixel:按 item 的 x/y/width/height 像素取边界(仅右/下边界,用于非 floor map 或兼容)
17
- */
18
- export declare function getContentSize<T extends FloorMapItemBase>(items: T[], cellSize: number, itemGap: number, itemUnit: FloorMapItemUnit): {
19
- contentWidth: number;
20
- contentHeight: number;
21
- };
22
- /**
23
- * pixel 模式下取 items 包围盒(含左/上),用于画布四周扩 padding 时的尺寸与偏移
24
- */
25
- export declare function getPixelBoundingBox<T extends FloorMapItemBase>(items: T[], cellSize: number): {
26
- minLeft: number;
27
- minTop: number;
28
- maxRight: number;
29
- maxBottom: number;
30
- } | null;
@@ -1,7 +0,0 @@
1
- import type { FloorMapCanvas, FloorMapViewConfig } from '../types';
2
- /**
3
- * 为画布 Tab 合并展示用字段:
4
- * - `tabBadge` 若在配置中已给出则原样使用(含 0);
5
- * - 否则用当前 `sceneElements` 中属于该画布的数量,且仅在大于 0 时展示角标。
6
- */
7
- export declare function mergeCanvasesForTabs(config: FloorMapViewConfig): FloorMapCanvas[];
@@ -1,10 +0,0 @@
1
- /**
2
- * 吸附:将坐标或尺寸按 snapStep 取整;snapStep 为 0 不吸附
3
- */
4
- export declare function snapValue(value: number, snapStep: number): number;
5
- export declare function snapRect(x: number, y: number, width: number, height: number, snapStep: number): {
6
- x: number;
7
- y: number;
8
- width: number;
9
- height: number;
10
- };
@@ -1,50 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- interface ApplicableProductDetails {
4
- amount: string;
5
- type: string;
6
- resource_id: number;
7
- title: string;
8
- original_amount: string;
9
- }
10
- interface Discount {
11
- id: number;
12
- product_name: string;
13
- encoded: string;
14
- code: string;
15
- tag: string;
16
- expire_time?: string;
17
- product_id: number;
18
- relation_type: string;
19
- par_value: string;
20
- used_par_value: string;
21
- limit_status: string;
22
- limited_relation_product_data: any;
23
- balance: string;
24
- format_title: any;
25
- product: any;
26
- savedAmount: number;
27
- isDisabled: boolean;
28
- isSelected?: boolean;
29
- isAvailable?: boolean;
30
- isUsed?: boolean;
31
- applicableProductIds?: number[];
32
- applicableProductDetails: ApplicableProductDetails[];
33
- appliedProductDetails: any[];
34
- }
35
- export interface PisellGoodPassCardProps {
36
- /**数据源 */
37
- dataSource: Array<Discount>;
38
- /**事件 */
39
- onChange?: (current: {
40
- id: string | number;
41
- isSelected: boolean;
42
- }) => void;
43
- /**样式 */
44
- style: React.CSSProperties;
45
- /**快捷展示排序 */
46
- mixedSort?: (val: Discount[]) => Discount[];
47
- isInModal: boolean;
48
- }
49
- declare const index: (props: PisellGoodPassCardProps) => JSX.Element;
50
- export default index;
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- import type { PisellHierarchicalSummaryListProps } from './types';
3
- import './PisellHierarchicalSummaryList.less';
4
- /** 根节点类名,供上层用同一 DOM 包裹列表与其它区块时使用 */
5
- export declare const PREFIX_CLS = "pisell-hierarchical-summary-list";
6
- export declare const PisellHierarchicalSummaryList: React.FC<PisellHierarchicalSummaryListProps>;
@@ -1,10 +0,0 @@
1
- import type { Meta, StoryObj } from '@storybook/react';
2
- import { PisellHierarchicalSummaryList } from './PisellHierarchicalSummaryList';
3
- declare const meta: Meta<typeof PisellHierarchicalSummaryList>;
4
- export default meta;
5
- declare type Story = StoryObj<typeof PisellHierarchicalSummaryList>;
6
- export declare const Default: Story;
7
- export declare const Accordion: Story;
8
- export declare const MaxExpandLevel: Story;
9
- export declare const AggregateSum: Story;
10
- export declare const FullFeatured: Story;
@@ -1,35 +0,0 @@
1
- import React from 'react';
2
- import type { PisellHierarchicalSummaryListAggregateConfig, PisellHierarchicalSummaryListItem, PisellHierarchicalSummaryListKey, PisellHierarchicalSummaryListLevelConfig, PisellHierarchicalSummaryListRenderContext } from '../types';
3
- export interface RowProps {
4
- prefixCls: string;
5
- item: PisellHierarchicalSummaryListItem;
6
- level: number;
7
- index: number;
8
- parentPathKeys: PisellHierarchicalSummaryListKey[];
9
- expandedKeySet: ReadonlySet<PisellHierarchicalSummaryListKey>;
10
- toggleExpanded: (key: PisellHierarchicalSummaryListKey, options?: {
11
- siblingKeys?: PisellHierarchicalSummaryListKey[];
12
- }) => void;
13
- getKey: (item: PisellHierarchicalSummaryListItem, ctx: {
14
- level: number;
15
- index: number;
16
- parentPathKeys: PisellHierarchicalSummaryListKey[];
17
- }) => PisellHierarchicalSummaryListKey;
18
- levelConfig?: Record<number, PisellHierarchicalSummaryListLevelConfig>;
19
- indent: number;
20
- rowGap: number;
21
- gaps?: {
22
- row?: number;
23
- rowLeft?: number;
24
- meta?: number;
25
- rowRight?: number;
26
- };
27
- maxRenderLevel?: number;
28
- maxExpandLevel?: number;
29
- aggregate?: PisellHierarchicalSummaryListAggregateConfig;
30
- renderLabel?: (item: PisellHierarchicalSummaryListItem, ctx: PisellHierarchicalSummaryListRenderContext) => React.ReactNode;
31
- renderValue?: (item: PisellHierarchicalSummaryListItem, ctx: PisellHierarchicalSummaryListRenderContext) => React.ReactNode;
32
- /** 父行是否带有 itemsCount(仅此类子项显示圆点 + #667085,其他保持黑色) */
33
- parentHasItemsCount?: boolean;
34
- }
35
- export declare const Row: React.FC<RowProps>;
@@ -1 +0,0 @@
1
- export { Row } from './Row';
@@ -1,2 +0,0 @@
1
- export { useExpandedKeys } from './useExpandedKeys';
2
- export type { ExpandedKeysController, UseExpandedKeysOptions } from './useExpandedKeys';
@@ -1,15 +0,0 @@
1
- import type { PisellHierarchicalSummaryListKey } from '../types';
2
- export interface UseExpandedKeysOptions {
3
- expandedKeys?: PisellHierarchicalSummaryListKey[];
4
- defaultExpandedKeys?: PisellHierarchicalSummaryListKey[];
5
- onExpandedKeysChange?: (keys: PisellHierarchicalSummaryListKey[]) => void;
6
- }
7
- export interface ExpandedKeysController {
8
- expandedKeys: PisellHierarchicalSummaryListKey[];
9
- expandedKeySet: ReadonlySet<PisellHierarchicalSummaryListKey>;
10
- setExpandedKeys: (next: PisellHierarchicalSummaryListKey[]) => void;
11
- }
12
- /**
13
- * 展开态管理(兼容受控/非受控)。
14
- */
15
- export declare function useExpandedKeys(options: UseExpandedKeysOptions): ExpandedKeysController;
@@ -1,5 +0,0 @@
1
- /**
2
- * PisellHierarchicalSummaryList 组件导出
3
- */
4
- export { PisellHierarchicalSummaryList, PREFIX_CLS as HIERARCHICAL_SUMMARY_LIST_PREFIX_CLS, } from './PisellHierarchicalSummaryList';
5
- export type * from './types';
@@ -1,248 +0,0 @@
1
- import type React from 'react';
2
- import type { CSSProperties } from 'react';
3
- export declare type PisellHierarchicalSummaryListKey = React.Key;
4
- export interface PisellHierarchicalSummaryListItem {
5
- /**
6
- * 行标题。最小字段(必填)
7
- */
8
- label: React.ReactNode;
9
- /**
10
- * 行数值。允许 ReactNode(string/number/组合展示)。
11
- * 若不传且开启聚合,可能由 children 聚合得到。
12
- */
13
- value?: React.ReactNode;
14
- /**
15
- * 子级数据(无限层级递归)
16
- */
17
- children?: PisellHierarchicalSummaryListItem[];
18
- /**
19
- * 可选:稳定 key(推荐传入以保证展开态稳定)。
20
- * 不传时组件会基于层级路径生成 key。
21
- */
22
- key?: PisellHierarchicalSummaryListKey;
23
- /**
24
- * 可选:是否隐藏该项
25
- */
26
- hidden?: boolean;
27
- /**
28
- * 可选:排序权重,值越小越靠前
29
- */
30
- order?: number;
31
- /**
32
- * 可选:条目数提示(如 "N items" / "N 条"),允许 ReactNode
33
- */
34
- itemsCount?: React.ReactNode;
35
- /**
36
- * 可选:信息提示 tooltip 内容(hover 触达)
37
- */
38
- infoTooltip?: React.ReactNode;
39
- /**
40
- * 可选:右侧 value 后附加轻量操作(tag/pill/button 等)
41
- */
42
- extra?: React.ReactNode;
43
- /**
44
- * 可选:覆盖当前行样式
45
- */
46
- rowStyle?: CSSProperties;
47
- /**
48
- * 可选:覆盖当前行类名
49
- */
50
- rowClassName?: string;
51
- /**
52
- * 可选:自定义展开内容。若设置,行可展开且展开后渲染此内容(不再渲染 children 列表)。
53
- * 用于在列表中嵌入 Collapse 等自定义区块。
54
- */
55
- expandedContent?: React.ReactNode;
56
- }
57
- export interface PisellHierarchicalSummaryListLevelTextStyle {
58
- fontSize?: number | string;
59
- fontWeight?: number | string;
60
- color?: string;
61
- /** 行高,如 24 或 '24px' */
62
- lineHeight?: number | string;
63
- }
64
- export interface PisellHierarchicalSummaryListIconStyle {
65
- /** 图标尺寸(px),用于 fontSize 或宽高一致时的边长) */
66
- size?: number;
67
- color?: string;
68
- /** 图标容器宽(px),不传则用 size */
69
- width?: number;
70
- /** 图标容器高(px),不传则用 size */
71
- height?: number;
72
- }
73
- export interface PisellHierarchicalSummaryListDividerStyle {
74
- show?: boolean;
75
- color?: string;
76
- style?: 'solid' | 'dashed' | 'dotted';
77
- }
78
- export interface PisellHierarchicalSummaryListLevelConfig {
79
- /**
80
- * 层级缩进(px)。不传则继承全局 indent 规则。
81
- */
82
- indent?: number;
83
- /**
84
- * 是否显示 "·" 分隔符(标题区元信息前的点)
85
- */
86
- showDotSeparator?: boolean;
87
- /**
88
- * 层级内分割线
89
- */
90
- divider?: PisellHierarchicalSummaryListDividerStyle;
91
- /**
92
- * 行容器样式(背景/边框/padding/圆角/阴影等)
93
- */
94
- rowStyle?: CSSProperties;
95
- /**
96
- * 行容器类名
97
- */
98
- rowClassName?: string;
99
- /**
100
- * 标题文本样式
101
- */
102
- labelTextStyle?: PisellHierarchicalSummaryListLevelTextStyle;
103
- /**
104
- * 数值文本样式
105
- */
106
- valueTextStyle?: PisellHierarchicalSummaryListLevelTextStyle;
107
- /**
108
- * info icon 样式(size/color)
109
- */
110
- infoIconStyle?: PisellHierarchicalSummaryListIconStyle;
111
- /**
112
- * 展开/收起箭头 icon 样式(size/color)
113
- */
114
- expandIconStyle?: PisellHierarchicalSummaryListIconStyle;
115
- /**
116
- * 行内元信息样式(如 "·"、N items、info icon 的文案颜色/字号等)
117
- */
118
- metaTextStyle?: PisellHierarchicalSummaryListLevelTextStyle;
119
- }
120
- export declare type PisellHierarchicalSummaryListAggregateMode = 'none' | 'sum';
121
- export interface PisellHierarchicalSummaryListAggregateConfig {
122
- /**
123
- * 聚合模式
124
- * - none: 不聚合
125
- * - sum: 对子级 number 值求和(或使用 getNumberValue 提取)
126
- * @default 'none'
127
- */
128
- mode?: PisellHierarchicalSummaryListAggregateMode;
129
- /**
130
- * 从条目提取 number 值,用于 sum 聚合。
131
- * 默认:若 item.value 是 number,则使用该值;否则忽略。
132
- */
133
- getNumberValue?: (item: PisellHierarchicalSummaryListItem) => number | null | undefined;
134
- /**
135
- * 聚合结果格式化(sum 输出到 value 区)
136
- */
137
- format?: (sum: number, ctx: {
138
- item: PisellHierarchicalSummaryListItem;
139
- level: number;
140
- }) => React.ReactNode;
141
- }
142
- export interface PisellHierarchicalSummaryListRenderContext {
143
- level: number;
144
- pathKeys: PisellHierarchicalSummaryListKey[];
145
- expanded: boolean;
146
- hasChildren: boolean;
147
- aggregatedValue?: React.ReactNode;
148
- }
149
- export interface PisellHierarchicalSummaryListProps {
150
- /**
151
- * 数据源
152
- */
153
- items: PisellHierarchicalSummaryListItem[];
154
- /**
155
- * 展开项 keys(受控)
156
- */
157
- expandedKeys?: PisellHierarchicalSummaryListKey[];
158
- /**
159
- * 默认展开项 keys(非受控)
160
- */
161
- defaultExpandedKeys?: PisellHierarchicalSummaryListKey[];
162
- /**
163
- * 默认展开层级(非受控初始化)。0 表示只展示 L1(不默认展开子级)。
164
- * @default 0
165
- */
166
- defaultExpandedLevel?: number;
167
- /**
168
- * 展开项变化回调
169
- */
170
- onExpandedKeysChange?: (keys: PisellHierarchicalSummaryListKey[]) => void;
171
- /**
172
- * 手风琴模式:同一层级下仅允许一个子项展开
173
- * @default false
174
- */
175
- accordion?: boolean;
176
- /**
177
- * 最大渲染层级(从 1 开始)。超过层级仍保留行,但不再渲染 children。
178
- */
179
- maxRenderLevel?: number;
180
- /**
181
- * 最大可展开层级(从 1 开始)。超过层级不显示展开箭头。
182
- */
183
- maxExpandLevel?: number;
184
- /**
185
- * 全局缩进(px),作用于 L2+;也可通过 levelConfig 覆盖。
186
- * @default 16
187
- */
188
- indent?: number;
189
- /**
190
- * 行间距(px)
191
- * @default 8
192
- */
193
- rowGap?: number;
194
- /**
195
- * 容器内边距(px 或 CSS 值),不传则使用 less 默认 20px
196
- */
197
- padding?: number | string;
198
- /**
199
- * 行内间距(px),用于 1:1 复刻设计稿
200
- * - row: 行内左右两栏间距
201
- * - rowLeft: 左侧 label 与 meta(· / N items)间距
202
- * - meta: meta 内 dot / items-count / info 间距
203
- * - rowRight: 右侧 value 与 extra / 展开图标间距
204
- */
205
- gaps?: {
206
- row?: number;
207
- rowLeft?: number;
208
- meta?: number;
209
- rowRight?: number;
210
- };
211
- /**
212
- * 按层级配置样式与功能开关(key 为 level,从 1 开始)
213
- */
214
- levelConfig?: Record<number, PisellHierarchicalSummaryListLevelConfig>;
215
- /**
216
- * 自定义渲染 label
217
- */
218
- renderLabel?: (item: PisellHierarchicalSummaryListItem, ctx: PisellHierarchicalSummaryListRenderContext) => React.ReactNode;
219
- /**
220
- * 自定义渲染 value
221
- */
222
- renderValue?: (item: PisellHierarchicalSummaryListItem, ctx: PisellHierarchicalSummaryListRenderContext) => React.ReactNode;
223
- /**
224
- * 自定义 key 生成(当 item.key 不存在时使用)
225
- */
226
- getKey?: (item: PisellHierarchicalSummaryListItem, ctx: {
227
- level: number;
228
- index: number;
229
- parentPathKeys: PisellHierarchicalSummaryListKey[];
230
- }) => PisellHierarchicalSummaryListKey;
231
- /**
232
- * 聚合配置:支持内置或外部传入
233
- */
234
- aggregate?: PisellHierarchicalSummaryListAggregateConfig;
235
- /**
236
- * 根节点类名
237
- */
238
- className?: string;
239
- /**
240
- * 根节点样式
241
- */
242
- style?: CSSProperties;
243
- /**
244
- * 是否渲染根节点 div。为 false 时只渲染内部内容(用于外层用同一 DOM 包裹列表与其它区块)。
245
- * @default true
246
- */
247
- renderRoot?: boolean;
248
- }
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- import type { LookupTriggerProps, LookupTriggerRef } from '../types';
3
- export declare const LookupTrigger: React.ForwardRefExoticComponent<LookupTriggerProps & React.RefAttributes<LookupTriggerRef>>;
@@ -1,62 +0,0 @@
1
- import React from 'react';
2
- import { ModalProps, ButtonProps } from 'antd';
3
- import { PisellContextType } from '../pisell-config-provider/context';
4
- export interface PisellModalProps extends ModalProps {
5
- /** 平台 */
6
- platform?: PisellContextType['platform'];
7
- /**
8
- * 弹窗大小
9
- * large 800
10
- * middle 600
11
- * small 400
12
- * */
13
- size?: 'large' | 'middle' | 'small';
14
- /** 头部分割线是否展示 */
15
- headerDivider?: boolean;
16
- /** 底部分割线是否展示 */
17
- footerDivider?: boolean;
18
- /** 删除按钮props */
19
- deleteButtonProps?: ButtonProps | null;
20
- /** 删除事件 */
21
- onDelete?: () => void;
22
- /** 移动端展示时弹窗高度 默认null 在移动端全屏 */
23
- mobileModalHeight?: string | number;
24
- /** footer中额外操作按钮 */
25
- actions?: React.ReactNode;
26
- /** 取消按钮是否展示 */
27
- cancelVisible?: boolean;
28
- /** 确认按钮是否展示 */
29
- okVisible?: boolean;
30
- /** 是否展示header */
31
- header?: boolean | null;
32
- /**
33
- * 透传至底层 Dialog 遮罩(antd Modal 运行时支持,但 ModalProps 类型未声明)
34
- */
35
- maskProps?: React.HTMLAttributes<HTMLDivElement>;
36
- }
37
- declare const PisellModal: {
38
- (props: PisellModalProps): JSX.Element;
39
- confirm: (props: import("./components/functions").PisellModalFuncProps) => {
40
- destroy: () => void;
41
- update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
42
- };
43
- info: (props: import("./components/functions").PisellModalFuncProps) => {
44
- destroy: () => void;
45
- update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
46
- };
47
- error: (props: import("./components/functions").PisellModalFuncProps) => {
48
- destroy: () => void;
49
- update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
50
- };
51
- warn: (props: import("./components/functions").PisellModalFuncProps) => any;
52
- warning: (props: import("./components/functions").PisellModalFuncProps) => {
53
- destroy: () => void;
54
- update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
55
- };
56
- success: (props: import("./components/functions").PisellModalFuncProps) => {
57
- destroy: () => void;
58
- update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
59
- };
60
- Information: (props: import("./components/Information").InformationProps) => JSX.Element;
61
- };
62
- export default PisellModal;
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
- import type { TableProps } from 'antd';
3
- import type { RecordBoardContextValue } from '../../types';
4
- import './Grid.less';
5
- export interface RecordBoardGridViewProps extends Omit<TableProps<any>, 'dataSource' | 'loading' | 'pagination'>, Partial<Pick<RecordBoardContextValue, 'data' | 'loading'>> {
6
- /** 列配置,同 antd Table columns */
7
- columns?: TableProps<any>['columns'];
8
- className?: string;
9
- style?: React.CSSProperties;
10
- /** 自定义渲染,传入后不再使用内置 Table */
11
- render?: (ctx: RecordBoardContextValue) => React.ReactNode;
12
- }
13
- declare const RecordBoardGridView: React.FC<RecordBoardGridViewProps>;
14
- export default RecordBoardGridView;
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- import type { RecordBoardCalendarProps } from '../../types';
3
- /**
4
- * RecordBoard 日历槽位:仅在 PisellRecordBoard.ShellFrame 内使用,本身不渲染 DOM。
5
- * 与 GridLayout、FloorMap 并存时出现「表格 / 平面图 / 日历」切换。
6
- */
7
- declare const RecordBoardCalendar: React.FC<RecordBoardCalendarProps>;
8
- export default RecordBoardCalendar;
@@ -1,4 +0,0 @@
1
- /** 日历视图文案:占位符 `{name}`、`{date}` 等由调用方替换 */
2
- export declare function tCal(id: string, vars?: Record<string, string | number>): string;
3
- /** 月/周表头:周一为 0(与 rangeDays / startOfWeek 一致) */
4
- export declare const CALENDAR_WEEKDAY_IDS: readonly ["pisell2.recordBoard.calendar.weekday.mon", "pisell2.recordBoard.calendar.weekday.tue", "pisell2.recordBoard.calendar.weekday.wed", "pisell2.recordBoard.calendar.weekday.thu", "pisell2.recordBoard.calendar.weekday.fri", "pisell2.recordBoard.calendar.weekday.sat", "pisell2.recordBoard.calendar.weekday.sun"];
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- /** 日历内会改本地预约数据的动作类型,供业务层拦截(如平面图未支持写接口时 toast) */
3
- export declare type CalendarPersistKind = 'moveBooking' | 'createBooking' | 'removeBlocks' | 'createBlock' | 'checkin' | 'checkinReschedule' | 'mergeOrder' | 'other';
4
- export interface CalendarPersistContextValue {
5
- /**
6
- * 返回 false 时日历组件应取消本次本地数据变更(由调用方决定是否已 toast)。
7
- * 未提供时默认允许所有本地变更(Story / 独立演示)。
8
- */
9
- beforePersist?: (kind: CalendarPersistKind) => boolean;
10
- }
11
- export declare const CalendarPersistProvider: React.FC<{
12
- children: React.ReactNode;
13
- value?: CalendarPersistContextValue;
14
- }>;
15
- /**
16
- * 在日历 Demo 内判断某类写操作是否允许执行本地 state 更新。
17
- */
18
- export declare function useCalendarPersist(): (kind: CalendarPersistKind) => boolean;