@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,107 +0,0 @@
1
- import React from 'react';
2
- import { PisellCheckboxGroupProps } from '../pisellCheckboxGroup';
3
- import { PisellContextType } from '../pisell-config-provider/context';
4
- import { PisellWalletPassCardProps, FormatOption } from '../pisellWalletPassCard';
5
- import './index.less';
6
- export interface PisellCardListProps extends Omit<PisellCheckboxGroupProps, 'options'> {
7
- platform?: PisellContextType['platform'];
8
- /** 当用户查看完所有记录时,底部会显示此消息 */
9
- endMessage?: React.ReactNode;
10
- /** 加载下次数据时的加载站位 */
11
- loader?: React.ReactNode;
12
- /** 是否有更多数据 */
13
- hasMore: boolean;
14
- /** 加载更多数据回调 */
15
- loadMoreData?: () => Promise<void>;
16
- /** 当前list数据 */
17
- data: PisellWalletPassCardProps[];
18
- /** list空数据时展示内容 */
19
- empty?: React.ReactNode;
20
- /** 是否展示空状态 */
21
- showEmpty?: boolean;
22
- /** 是否展示卡片名称 */
23
- showName?: boolean;
24
- /** 是否展示店铺名称 */
25
- showStoreName?: boolean;
26
- /** 是否展示核销金额 */
27
- showRedeem?: boolean;
28
- /** 是否展示余额 */
29
- showBalance?: boolean;
30
- /** 是否展示编码 */
31
- showCode?: boolean;
32
- /** 是否展示到期时间 */
33
- showValidDate?: boolean;
34
- /** 使用日程信息计算有效期 */
35
- validDateBySchedule?: boolean;
36
- /** 日程列表 */
37
- scheduleList?: any[];
38
- /** 是否展示详情按钮 */
39
- showDetail?: boolean;
40
- /** 是否展示二维码 */
41
- showQrCode?: boolean;
42
- /** 是否展示封面图 */
43
- showCover?: boolean;
44
- /** 是否余额货币单位 */
45
- showBalanceSymbol?: boolean;
46
- /** 卡片大小 */
47
- type?: 'default' | 'mini';
48
- /** 展示操作按钮 */
49
- showActions?: boolean;
50
- /** 操作按钮配置 */
51
- actions?: {
52
- /** 按钮展示方式 */
53
- layout: 'expanded' | 'collapsed';
54
- /** detail 按钮配置 */
55
- detail?: {
56
- visible: boolean;
57
- iconColor: string;
58
- };
59
- /** edit按钮配置 */
60
- edit?: {
61
- visible: boolean;
62
- iconColor: string;
63
- dialogTitle: string;
64
- enableDialog: boolean;
65
- fields: {
66
- name: string;
67
- label: string;
68
- };
69
- };
70
- };
71
- /** 编辑编辑按钮后,弹窗展示之前 */
72
- beforeEdit?: (value: any, index: number) => Promise<any> | boolean | void;
73
- /** 编辑弹窗点击提交 */
74
- onConfirmEdit?: (value: any, index: number, data: any) => void;
75
- /** 是否展示状态标识 */
76
- showStatus?: boolean;
77
- /** 名称标题字号字重颜色配置 */
78
- nameTitleStyle?: {
79
- fontSize: number;
80
- fontWeight: number;
81
- color: string;
82
- };
83
- /** 开启编辑金额 */
84
- enableEditAmount?: boolean;
85
- /** 编辑金额事件 */
86
- onConfirmEditAmount?: (value: number, index: number, data: any) => void;
87
- /** 是否使用外部详情处理 */
88
- useExternalDetail?: boolean;
89
- /** 详情事件 */
90
- onDetail?: (value: any, index: number) => void;
91
- /** 自定义余额格式化函数,如果提供则优先使用 */
92
- formatBalance?: (balance?: number, option?: FormatOption) => React.ReactNode;
93
- /** 自定义余额标题格式化函数,如果提供则优先使用 */
94
- formatBalanceTitle?: (balanceTitle?: string, option?: FormatOption) => React.ReactNode;
95
- /** 自定义使用金额格式化函数,如果提供则优先使用 */
96
- formatRedeem?: (redeem?: number, option?: FormatOption) => React.ReactNode;
97
- /** 自定义使用金额标题格式化函数,如果提供则优先使用 */
98
- formatRedeemTitle?: (redeemTitle?: string, option?: FormatOption) => React.ReactNode;
99
- /** 编辑金额前事件 */
100
- onBeforeEditAmount?: (value: any, index: number, data: any) => Promise<any> | boolean | void;
101
- /** 选项点击事件 */
102
- onItemClick?: (e: React.MouseEvent<HTMLDivElement>, option: any) => void;
103
- /** 是否展示选中状态的背景色 */
104
- showActiveBackground?: boolean;
105
- }
106
- declare const _default: React.NamedExoticComponent<PisellCardListProps>;
107
- export default _default;
@@ -1,40 +0,0 @@
1
- import React from 'react';
2
- import { PisellContextType } from '../pisell-config-provider/context';
3
- import './index.less';
4
- export interface PisellCheckboxGroupOption {
5
- label: string;
6
- value: string;
7
- disabled?: boolean;
8
- error?: boolean;
9
- [key: string]: any;
10
- }
11
- declare type PisellCheckboxGroupValue = string | string[] | any;
12
- export interface PisellCheckboxGroupProps extends React.HTMLAttributes<HTMLDivElement> {
13
- platform?: PisellContextType['platform'];
14
- direction?: 'horizontal' | 'vertical';
15
- fullWidth?: boolean;
16
- gap?: number;
17
- padding?: number;
18
- options: PisellCheckboxGroupOption[];
19
- onChange?: (value: PisellCheckboxGroupValue, item: PisellCheckboxGroupOption) => void;
20
- value?: PisellCheckboxGroupValue;
21
- renderOption?: (option: PisellCheckboxGroupOption, active: boolean, index: number) => React.ReactNode;
22
- rowKey?: string;
23
- mode?: 'multiple' | 'single';
24
- iconPosition?: 'left' | 'right' | 'hide';
25
- optionClassName?: string;
26
- optionActiveClassName?: string;
27
- onChangeDebounce?: boolean;
28
- onItemClick?: (e: React.MouseEvent<HTMLDivElement>, option: PisellCheckboxGroupOption) => void;
29
- showActiveBackground?: boolean;
30
- }
31
- /**
32
- * @title: PisellCheckboxGroup
33
- * @description: 选中组件
34
- * @param {PisellCheckboxGroupProps} props
35
- * @return {*}
36
- * @Author: zhiwei.Wang
37
- * @Date: 2024-08-16 10:34
38
- */
39
- declare const PisellCheckboxGroup: (props: PisellCheckboxGroupProps) => JSX.Element;
40
- export default PisellCheckboxGroup;
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- import { DataSourceContainerContextType } from '../../type';
3
- declare const _default: React.ForwardRefExoticComponent<Omit<Partial<import("antd").PaginationProps> & DataSourceContainerContextType & React.RefAttributes<unknown> & {
4
- refId?: string | undefined;
5
- }, "ref"> & React.RefAttributes<any>>;
6
- export default _default;
@@ -1,3 +0,0 @@
1
- import { PisellFilterProps } from './type';
2
- declare const PisellFilter: (props: PisellFilterProps) => JSX.Element;
3
- export default PisellFilter;
@@ -1,7 +0,0 @@
1
- import { FilterListProps } from '../filter/components/FilterButton/types';
2
- /**
3
- * 筛选弹层 + 快筛列表;内部通过 Form.useForm 托管表单,无需也不应把 antd FormInstance 并入 props。
4
- */
5
- export declare type PisellFilterProps = FilterListProps & {
6
- hasForm?: boolean;
7
- };
@@ -1,55 +0,0 @@
1
- import type { Meta, StoryObj } from '@storybook/react';
2
- import { PisellFloorMapLayout } from './PisellFloorMapLayout';
3
- /**
4
- * PisellFloorMapLayout 楼层图布局
5
- *
6
- * 空间布局视图:在二维平面按坐标渲染资源(桌台/房间/工位等),
7
- * 支持缩放、平移、复位、区域定位,仅负责展示与交互。
8
- */
9
- declare const meta: Meta<typeof PisellFloorMapLayout>;
10
- export default meta;
11
- declare type Story = StoryObj<typeof PisellFloorMapLayout>;
12
- /**
13
- * 默认 - 纯色底 + 简单格子(格子单位,默认 item 间距 8px)
14
- */
15
- export declare const Default: Story;
16
- /**
17
- * 显示网格线(item 间距由 mapLayer.gap 控制)
18
- */
19
- export declare const WithGrid: Story;
20
- /**
21
- * 开启平移 - 可拖拽画布
22
- */
23
- export declare const WithPan: Story;
24
- export declare const WithShapes: Story;
25
- export declare const WithVariableSizes: Story;
26
- export declare const PixelUnits: Story;
27
- /**
28
- * 点击与 Hover 事件
29
- */
30
- export declare const WithEvents: Story;
31
- /**
32
- * Ref 调用 - 外部按钮控制缩放/复位/区域定位
33
- */
34
- export declare const WithRefControls: Story;
35
- export declare const FloorMapViewEdit: Story;
36
- /**
37
- * 平面图编辑态 + 自定义数据源记录表单(`dataSourceRecordForm.sales`)
38
- */
39
- export declare const FloorMapViewEditCustomRecordForm: Story;
40
- /**
41
- * Floor Map 视图 - 阅读态(方桌同样用 Figma 样式)
42
- */
43
- export declare const FloorMapViewRead: Story;
44
- /**
45
- * 自定义控制按钮显隐
46
- */
47
- export declare const ControlsHidden: Story;
48
- /**
49
- * `FloorMapLayoutProvider` 注入 `floorMapConfig` / `dataSources`;Layout 仅传展示向 props
50
- */
51
- export declare const FloorMapWithLayoutProvider: Story;
52
- /**
53
- * Figma 设计稿效果 - 餐厅桌台状态图(顶部 Tab + 图例参考 node 14131:6266,内容区不变)
54
- */
55
- export declare const FigmaDesign: Story;
@@ -1,22 +0,0 @@
1
- /// <reference types="react" />
2
- import type { FloorMapCanvas, FloorMapCanvasNameI18n } from '../types';
3
- import './CanvasTabs.less';
4
- export interface CanvasTabsProps {
5
- /** 画布列表 */
6
- canvases: FloorMapCanvas[];
7
- /** 当前画布 id */
8
- currentCanvasId: string | null;
9
- /** 切换画布 */
10
- onTabChange: (canvasId: string) => void;
11
- /** 是否允许添加/删除/重命名画布(编辑态) */
12
- canEdit?: boolean;
13
- /** 添加画布 */
14
- onAddCanvas?: () => void;
15
- /** 删除画布(至少保留一个画布时可调用) */
16
- onRemoveCanvas?: (canvasId: string) => void;
17
- /** 重命名画布(对象写入 `name`,并清除 `nameKey`) */
18
- onRenameCanvas?: (canvasId: string, name: string | FloorMapCanvasNameI18n) => void;
19
- className?: string;
20
- }
21
- export declare function CanvasTabs(props: CanvasTabsProps): JSX.Element;
22
- export default CanvasTabs;
@@ -1,46 +0,0 @@
1
- /**
2
- * EditableItemLayer - 编辑态图元层:拖拽、缩放、选中、吸附
3
- */
4
- import React, { type CSSProperties } from 'react';
5
- import type { FloorMapItemBase, FloorMapMergedItem, FloorMapRenderOptions } from '../types';
6
- import { type FloorMapEditQuickActionLabels } from './FloorMapEditQuickActions';
7
- import './EditableItemLayer.less';
8
- export interface EditableItemLayerProps<T extends FloorMapItemBase = FloorMapMergedItem> {
9
- items: T[];
10
- renderItem: (item: T, index: number, options?: FloorMapRenderOptions) => React.ReactNode;
11
- rowKey?: string | ((item: T, index: number) => string);
12
- cellSize: number;
13
- itemUnit?: 'cell' | 'pixel';
14
- itemGap?: number;
15
- contentWidth: number;
16
- contentHeight: number;
17
- /** 内容区 X/Y 偏移(画布包围盒向左/上扩展时,图元层整体平移) */
18
- contentOffsetX?: number;
19
- contentOffsetY?: number;
20
- selectedId: string | null;
21
- onSelect: (id: string | null) => void;
22
- onUpdateItem: (itemId: string, patch: Partial<{
23
- x: number;
24
- y: number;
25
- width: number;
26
- height: number;
27
- }>) => void;
28
- snapStep?: number;
29
- /** 画布当前缩放,用于将屏幕位移转为内容位移 */
30
- scale?: number;
31
- /** 拖拽/缩放图元时通知父组件,用于禁用画布平移,避免松手时画布跟着动 */
32
- onInteractionChange?: (active: boolean) => void;
33
- /** 每项外层容器额外样式(与定位样式合并) */
34
- getMergedItemWrapperStyle?: (item: T, index: number) => CSSProperties | undefined;
35
- className?: string;
36
- /** 编辑态选中时图元旁快捷栏(上锁 / 复制 / 删除) */
37
- editQuickBar?: {
38
- labels: FloorMapEditQuickActionLabels;
39
- isLocked: boolean;
40
- onToggleLock: () => void;
41
- onDuplicate: () => void;
42
- onDelete: () => void;
43
- } | null;
44
- }
45
- export declare function EditableItemLayer<T extends FloorMapItemBase>(props: EditableItemLayerProps<T>): JSX.Element;
46
- export default EditableItemLayer;
@@ -1,17 +0,0 @@
1
- /// <reference types="react" />
2
- import type { FloorMapDataSources, DataSourceFormColumn } from '../types';
3
- import './FloorMapDataForm.less';
4
- export interface FloorMapDataFormProps {
5
- dataSourceKey: string;
6
- recordId: string;
7
- record: Record<string, unknown>;
8
- dataSources: FloorMapDataSources;
9
- onSave: (dataSourceKey: string, id: string, newData: Record<string, unknown>) => void;
10
- saving?: boolean;
11
- /** 列配置:标签、类型(string/number/select)、选项(select 时);不传则自动列举 record 除 id 外字段 */
12
- columns?: DataSourceFormColumn[];
13
- className?: string;
14
- }
15
- /** 简单通用表单:可编辑记录中的字段;支持 columns 配置标签与控件类型 */
16
- export declare function FloorMapDataForm(props: FloorMapDataFormProps): JSX.Element;
17
- export default FloorMapDataForm;
@@ -1,21 +0,0 @@
1
- /// <reference types="react" />
2
- export interface FloorMapEditQuickActionLabels {
3
- lock: string;
4
- unlock: string;
5
- duplicate: string;
6
- delete: string;
7
- popTitle: string;
8
- popDesc: string;
9
- cancel: string;
10
- okDelete: string;
11
- ariaToolbar: string;
12
- }
13
- export interface FloorMapEditQuickActionsProps {
14
- className?: string;
15
- labels: FloorMapEditQuickActionLabels;
16
- isLocked: boolean;
17
- onToggleLock: () => void;
18
- onDuplicate: () => void;
19
- onDelete: () => void;
20
- }
21
- export declare function FloorMapEditQuickActions(props: FloorMapEditQuickActionsProps): JSX.Element;
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- export interface FloorMapImageElementProps {
3
- imageUrl?: string;
4
- name?: string;
5
- }
6
- export declare function FloorMapImageElement(props: FloorMapImageElementProps): JSX.Element;
@@ -1,27 +0,0 @@
1
- /**
2
- * MapLayer - 楼层图底层
3
- * 负责背景(无/纯色/图片/SVG)、网格线、padding、gap
4
- */
5
- import React from 'react';
6
- import type { FloorMapLayerConfig } from '../types';
7
- import './MapLayer.less';
8
- export interface MapLayerProps {
9
- /** 底层配置 */
10
- config?: FloorMapLayerConfig;
11
- /** 内容区域宽度(逻辑单位或像素,用于网格线计算) */
12
- contentWidth?: number;
13
- /** 内容区域高度 */
14
- contentHeight?: number;
15
- /** 每格像素尺寸(用于网格线间距) */
16
- cellSize?: number;
17
- /** 为 true 时不应用纯色背景,让画布底层网格透出 */
18
- preferCanvasGrid?: boolean;
19
- /** 为 true 时容器设置 pointer-events: none,空白处点击可透传到下层,供 react-zoom-pan-pinch 画布平移 */
20
- pointerEventsNone?: boolean;
21
- /** 子节点(展示层会叠在上方) */
22
- children?: React.ReactNode;
23
- /** 自定义类名 */
24
- className?: string;
25
- }
26
- export declare function MapLayer(props: MapLayerProps): JSX.Element;
27
- export default MapLayer;
@@ -1,21 +0,0 @@
1
- /**
2
- * 楼层图布局子组件导出
3
- */
4
- export { MapLayer } from './MapLayer';
5
- export { ItemLayer } from './ItemLayer';
6
- export { ViewControls } from './ViewControls';
7
- export { ViewControlsWithZoom } from './ViewControlsWithZoom';
8
- export { CanvasTabs } from './CanvasTabs';
9
- export { EditableItemLayer } from './EditableItemLayer';
10
- export { FloorMapToolbar } from './FloorMapToolbar';
11
- export { FloorMapEditTopBar } from './FloorMapEditTopBar';
12
- export { FloorMapEditPanel } from './FloorMapEditPanel';
13
- export { FloorMapDataForm } from './FloorMapDataForm';
14
- export type { ViewControlsApi } from './ViewControls';
15
- export type { ViewControlsWithZoomProps } from './ViewControlsWithZoom';
16
- export type { CanvasTabsProps } from './CanvasTabs';
17
- export type { EditableItemLayerProps } from './EditableItemLayer';
18
- export type { FloorMapToolbarProps, PlaceMode } from './FloorMapToolbar';
19
- export type { FloorMapEditTopBarProps, FloorMapEditTopBarMode, } from './FloorMapEditTopBar';
20
- export type { FloorMapEditPanelProps } from './FloorMapEditPanel';
21
- export type { FloorMapDataFormProps } from './FloorMapDataForm';
@@ -1,16 +0,0 @@
1
- /**
2
- * 平面图数据/保存等注入上下文;单独页面包 `FloorMapLayoutProvider`,RecordBoard 由 Shell 内置 Provider。
3
- */
4
- import React from 'react';
5
- import type { FloorMapLayoutContextValue } from '../types';
6
- /**
7
- * 未传 `floorMapLayoutContext` 时 Shell 使用该稳定引用,避免无意义变更引用。
8
- */
9
- export declare const EMPTY_FLOOR_MAP_LAYOUT_CONTEXT: FloorMapLayoutContextValue;
10
- export declare function useFloorMapLayoutContext(): FloorMapLayoutContextValue | undefined;
11
- export interface FloorMapLayoutProviderProps {
12
- value: FloorMapLayoutContextValue;
13
- children: React.ReactNode;
14
- }
15
- /** 注入 `FloorMapLayoutContextValue`;`value` 建议由调用方 `useMemo` 稳定化 */
16
- export declare function FloorMapLayoutProvider({ value, children, }: FloorMapLayoutProviderProps): JSX.Element;
@@ -1,5 +0,0 @@
1
- import type { FloorMapItemBase, FloorMapLayoutContextValue, PisellFloorMapLayoutProps } from '../types';
2
- /**
3
- * 将 `FloorMapLayoutContext` 与 Layout props 合并:各字段 props ?? ctx,props 显式值优先。
4
- */
5
- export declare function mergeFloorMapLayoutPropsFromContext<T extends FloorMapItemBase>(props: PisellFloorMapLayoutProps<T>, ctx: FloorMapLayoutContextValue | undefined): PisellFloorMapLayoutProps<T>;
@@ -1,21 +0,0 @@
1
- import type { MutableRefObject, PointerEvent as ReactPointerEvent } from 'react';
2
- import type { FloorMapPaletteDragPayload } from '../utils/floorMapDropUtils';
3
- export interface UseFloorMapPaletteTouchDragParams {
4
- enabled: boolean;
5
- mapDropLayerRef: MutableRefObject<HTMLDivElement | null>;
6
- contentWidth: number;
7
- contentHeight: number;
8
- contentOffsetRef: MutableRefObject<{
9
- x: number;
10
- y: number;
11
- }>;
12
- setMapPaletteDragActive: (v: boolean) => void;
13
- onDropInScene: (payload: FloorMapPaletteDragPayload, sceneX: number, sceneY: number) => void;
14
- }
15
- export interface UseFloorMapPaletteTouchDragResult {
16
- /** 挂在图元预览按钮上;mouse 不处理,交给 HTML5 DnD */
17
- handlePaletteCardPointerDown: (payload: FloorMapPaletteDragPayload, e: ReactPointerEvent<HTMLElement>) => void;
18
- /** 图元按钮 onClick 前检查:触摸拖放过则吞掉本次点击 */
19
- consumeToolbarClickIfTouchDrag: () => boolean;
20
- }
21
- export declare function useFloorMapPaletteTouchDrag(params: UseFloorMapPaletteTouchDragParams): UseFloorMapPaletteTouchDragResult;
@@ -1,19 +0,0 @@
1
- import type { ShopFloorPlanDetail } from '../shopFloorPlan/shopFloorPlanTypes';
2
- import type { ShopFloorPlanByCodeRequestOptions } from '../shopFloorPlan/shopFloorPlanTypes';
3
- export declare type UseShopFloorPlanSubscriptionParams = {
4
- /** `null` 时不发起请求(与预约页 `resolvedFloorPlanId` 一致);清空状态由调用方处理 */
5
- enabled: boolean;
6
- code: string;
7
- subscriberId: string;
8
- ensureByCode: (code: string, opts?: ShopFloorPlanByCodeRequestOptions) => Promise<ShopFloorPlanDetail | null>;
9
- unsubscribeQuery: (subscriberId: string) => Promise<void>;
10
- onDetail: (detail: ShopFloorPlanDetail) => void;
11
- onLoadError?: (err: unknown) => void;
12
- /** 与预约一致:默认 true */
13
- osServer?: boolean;
14
- };
15
- /**
16
- * 按 code 订阅店铺平面图:首包 Promise + WebSocket callback 均归一为 `onDetail`。
17
- * 不包含与业务默认 {@link FloorMapViewConfig} 的合并(由调用方在 `onDetail` 或后续 useMemo 完成)。
18
- */
19
- export declare function useShopFloorPlanSubscription(params: UseShopFloorPlanSubscriptionParams): void;
@@ -1,10 +0,0 @@
1
- import type { CreateShopFloorPlanClientOptions, EnsureShopFloorPlanByCodeOptions, PostShopFloorPlanBody, PutShopFloorPlanBody, ShopFloorPlanByCodeRequestOptions, ShopFloorPlanDetail } from './shopFloorPlanTypes';
2
- export { SHOP_FLOOR_PLAN_DUPLICATE_CODE } from './shopFloorPlanTypes';
3
- export declare function createShopFloorPlanClient(options: CreateShopFloorPlanClientOptions): {
4
- unsubscribeShopFloorPlanCodeQuery(subscriberId: string): Promise<void>;
5
- getShopFloorPlanByCode(code: string, subscribe?: ShopFloorPlanByCodeRequestOptions): Promise<ShopFloorPlanDetail | null>;
6
- postShopFloorPlan: (body: PostShopFloorPlanBody) => Promise<ShopFloorPlanDetail | null>;
7
- putShopFloorPlan(id: number, body: PutShopFloorPlanBody): Promise<unknown>;
8
- ensureShopFloorPlanByCode: (code: string, subscribe?: EnsureShopFloorPlanByCodeOptions) => Promise<ShopFloorPlanDetail | null>;
9
- };
10
- export declare type ShopFloorPlanClient = ReturnType<typeof createShopFloorPlanClient>;
@@ -1,18 +0,0 @@
1
- import type { FloorMapSceneElement } from '../types';
2
- import type { ShopFloorPlanLayoutItem } from './shopFloorPlanTypes';
3
- /**
4
- * 将场景图元转为后端 layout 项(多画布时通常摊平到同一 layout)。
5
- */
6
- export declare function sceneElementsToShopLayout(sceneElements: FloorMapSceneElement[]): ShopFloorPlanLayoutItem[];
7
- export declare type ShopLayoutToSceneOptions = {
8
- canvasId: string;
9
- dataSourceKey: string;
10
- /** 后端 `type: rect` 映射到的 {@link FloorMapSceneElement.elementKind} */
11
- rectElementKind: string;
12
- /** 后端 `type: circle` 映射到的 elementKind */
13
- circleElementKind: string;
14
- };
15
- /**
16
- * 将扁平 layout 数组转为 `sceneElements`;图元种类由调用方传入(预约场景可传 boundTable / boundRoundTable 等)。
17
- */
18
- export declare function shopLayoutToSceneElements(layout: ShopFloorPlanLayoutItem[], options: ShopLayoutToSceneOptions): FloorMapSceneElement[];
@@ -1,22 +0,0 @@
1
- import type { FloorMapSceneElement, FloorMapViewConfig } from '../types';
2
- import type { PutShopFloorPlanBody, ShopFloorPlanDetail } from './shopFloorPlanTypes';
3
- export declare function pickFloorPlanDetail(res: unknown): ShopFloorPlanDetail | null;
4
- export declare function isShopFloorPlanNotFoundResponse(res: unknown): boolean;
5
- export declare function isHttpNotFoundError(err: unknown): boolean;
6
- export declare function isFloorPlanDuplicateCodeError(err: unknown): boolean;
7
- export declare function parseLayoutFieldToViewConfigPatch(raw: unknown): Partial<FloorMapViewConfig> | null;
8
- export declare function floorMapSavedConfigToRemotePatch(config: FloorMapViewConfig): Partial<FloorMapViewConfig>;
9
- export declare function mergeFloorPlanViewRemote(base: FloorMapViewConfig, remote: Partial<FloorMapViewConfig>): FloorMapViewConfig;
10
- export declare function viewConfigToLayoutPayload(config: FloorMapViewConfig): Record<string, unknown>;
11
- export declare function inferCanvasSizeFromScene(sceneElements: FloorMapSceneElement[], fallbackWidth?: number, fallbackHeight?: number, padding?: number): {
12
- w: number;
13
- h: number;
14
- };
15
- export declare function buildFloorPlanPutBody(config: FloorMapViewConfig, options: {
16
- canvasWidth?: number;
17
- canvasHeight?: number;
18
- code?: string;
19
- name?: Record<string, string>;
20
- sort?: number;
21
- status?: number;
22
- }): PutShopFloorPlanBody;
@@ -1,72 +0,0 @@
1
- /**
2
- * 店铺平面图 HTTP 契约(/shop/schedule/floor-plan)与 {@link FloorMapViewConfig} 映射所用类型。
3
- * 具体请求由 {@link ShopFloorPlanHttpAdapter} 注入,便于 materials 不依赖宿主 request 实现。
4
- */
5
- /** 遇 code 重复(接口 5001)时,{@link isFloorPlanDuplicateCodeError} 依赖此字段 */
6
- export declare const SHOP_FLOOR_PLAN_DUPLICATE_CODE = "floorPlanDuplicateCode";
7
- export interface ShopFloorPlanDetail {
8
- id: number;
9
- shop_id?: number;
10
- code?: string;
11
- name?: string | Record<string, string>;
12
- layout: unknown;
13
- canvas_width?: number;
14
- canvas_height?: number;
15
- sort?: number;
16
- status?: number;
17
- created_at?: string;
18
- updated_at?: string;
19
- [key: string]: unknown;
20
- }
21
- export interface ShopFloorPlanLayoutItem {
22
- id: string;
23
- type: 'rect' | 'circle';
24
- label: string;
25
- x: number;
26
- y: number;
27
- rotation: number;
28
- color: string;
29
- border_color: string;
30
- resource_id: number | null;
31
- width?: number;
32
- height?: number;
33
- radius?: number;
34
- [key: string]: unknown;
35
- }
36
- export interface PostShopFloorPlanBody {
37
- code: string;
38
- name: Record<string, string>;
39
- layout?: unknown;
40
- canvas_width?: number;
41
- canvas_height?: number;
42
- sort?: number;
43
- status?: number;
44
- }
45
- export interface PutShopFloorPlanBody {
46
- code?: string;
47
- name?: Record<string, string>;
48
- layout?: unknown;
49
- canvas_width?: number;
50
- canvas_height?: number;
51
- sort?: number;
52
- status?: number;
53
- }
54
- export interface ShopFloorPlanByCodeRequestOptions {
55
- osServer?: boolean;
56
- subscriberId?: string;
57
- callback?: (res: unknown) => void;
58
- }
59
- export declare type ShopFloorPlanHttpAdapter = {
60
- get: (url: string, params?: unknown, config?: Record<string, unknown>) => Promise<unknown>;
61
- post: (url: string, body?: unknown, config?: Record<string, unknown>) => Promise<unknown>;
62
- put: (url: string, body?: unknown, config?: Record<string, unknown>) => Promise<unknown>;
63
- };
64
- export declare type CreateShopFloorPlanClientOptions = {
65
- http: ShopFloorPlanHttpAdapter;
66
- /** POST/PUT 失败且无更具体 message 时的兜底文案 */
67
- saveFailedMessage?: string;
68
- };
69
- /** ensure 流程可选:404 时 POST 创建体由调用方注入 */
70
- export declare type EnsureShopFloorPlanByCodeOptions = ShopFloorPlanByCodeRequestOptions & {
71
- buildDefaultPostBody?: (code: string) => PostShopFloorPlanBody;
72
- };
@@ -1,20 +0,0 @@
1
- import type { FloorMapCanvas, FloorMapCanvasNameI18n } from '../types';
2
- /**
3
- * 合并平面图 Tab 用多语言包(与业务侧 `locales.init` 可叠加)。
4
- */
5
- export declare function initFloorMapLayoutLocales(engineLocale: string): void;
6
- /**
7
- * 从多语言对象中取当前 locale 下展示字符串,缺省按 en → 其余首个非空。
8
- */
9
- export declare function pickFloorMapCanvasI18nString(obj: FloorMapCanvasNameI18n, engineLocale: string): string;
10
- /**
11
- * 画布在 Tab / 下拉中的展示名:
12
- * 1. `name` 为多语言对象时 **优先** 按引擎 locale 取字段(与配置内嵌文案一致);
13
- * 2. 否则 `nameKey` + `locales.getText`(需业务侧已 init 对应语言包);
14
- * 3. 否则 `name` 字符串。
15
- */
16
- export declare function getFloorMapCanvasDisplayName(canvas: FloorMapCanvas, engineLocale: string): string;
17
- /**
18
- * 打开重命名弹层时的初始多语言值(与 Translation 表单一致)。
19
- */
20
- export declare function seedFloorMapCanvasNameI18n(canvas: FloorMapCanvas, displayFallback: string): FloorMapCanvasNameI18n;
@@ -1,8 +0,0 @@
1
- /**
2
- * 将当前画布的 sceneElements 合并为 Layout 使用的 FloorMapMergedItem[]
3
- */
4
- import type { FloorMapViewConfig, FloorMapMergedItem } from '../types';
5
- /**
6
- * 合并指定画布下的 sceneElements 为一份 items(用于 ItemLayer / EditableItemLayer)
7
- */
8
- export declare function mergeCanvasItems(canvasId: string, config: Pick<FloorMapViewConfig, 'sceneElements' | 'elementKinds'>, defaultCellSize?: number): FloorMapMergedItem[];
@@ -1,21 +0,0 @@
1
- import type { FloorMapDataSources, FloorMapMergedItem } from '../types';
2
- /**
3
- * 数据源行:平面图 dataSources 列表项至少含 `id`(与 {@link FloorMapSceneElementDataBinding.recordId} 对应)。
4
- */
5
- export declare type FloorMapDataSourceRow = {
6
- id: string;
7
- [key: string]: unknown;
8
- };
9
- /**
10
- * 按画布图元上的 `dataBinding` 在 `dataSources[dataSourceKey]` 中查找对应行。
11
- * 与 private-materials 预约 `findReservationRow` 算法一致:`recordId` 与行的 `id` 均按字符串比较。
12
- */
13
- export declare function findFloorMapRowByDataBinding<T extends FloorMapDataSourceRow>(item: FloorMapMergedItem, dataSources: FloorMapDataSources): T | undefined;
14
- /**
15
- * 当 {@link findFloorMapRowByDataBinding} 无结果时,占位卡可据此选择文案(业务层自行 i18n)。
16
- */
17
- export declare type FloorMapBindingPlaceholderReason = 'missing_data_source_key' | 'missing_record_id' | 'new_unsaved_slot' | 'record_not_in_list';
18
- /**
19
- * 若已能解析到数据源行则返回 `null`;否则返回占位原因(不含文案,便于各业务映射 locales)。
20
- */
21
- export declare function getFloorMapBindingPlaceholderReason(item: FloorMapMergedItem, dataSources: FloorMapDataSources): FloorMapBindingPlaceholderReason | null;
@@ -1,8 +0,0 @@
1
- /**
2
- * 平面图数据行在下拉选项中的展示文案(侧栏「选择数据行」、工具栏多选记录)
3
- * 仅展示名称侧一条:main_field(取 ## 前段)→ code → name;不再拼接 id、form_code、status。
4
- */
5
- export declare function formatDataRecordOptionLabel(record: {
6
- id: string;
7
- [k: string]: unknown;
8
- }): string;