@pisell/materials 1.8.41 → 1.8.43

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 (849) 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 +3 -3
  5. package/build/lowcode/render/default/view.css +1 -1
  6. package/build/lowcode/render/default/view.js +51 -216
  7. package/build/lowcode/view.css +1 -1
  8. package/build/lowcode/view.js +51 -216
  9. package/es/components/Pagination/index.js +43 -9
  10. package/es/components/PisellCards/components/GraphicTextCard/docs/GraphicTextCard.$tab-dev.md +2 -5
  11. package/es/components/PisellCards/components/GraphicTextCard/docs/GraphicTextCard.$tab-test.md +171 -169
  12. package/es/components/PisellCards/components/GraphicTextCard/docs/GraphicTextCard.md +27 -87
  13. package/es/components/PisellCards/components/GraphicTextCard/types.d.ts +7 -18
  14. package/es/components/PisellCards/components/TextCard/TextCard.js +3 -2
  15. package/es/components/PisellCards/components/TextCard/components/BadgeWrapper.js +6 -20
  16. package/es/components/PisellCards/components/TextCard/components/TextContent.js +1 -3
  17. package/es/components/PisellCards/components/TextCard/docs/TextCard.$tab-dev.md +5 -36
  18. package/es/components/PisellCards/components/TextCard/docs/TextCard.$tab-test.md +258 -2434
  19. package/es/components/PisellCards/components/TextCard/docs/TextCard.md +13 -78
  20. package/es/components/PisellCards/index.d.ts +0 -3
  21. package/es/components/PisellCards/index.js +1 -3
  22. package/es/components/PisellLayouts/index.d.ts +1 -1
  23. package/es/components/PisellProcedure/components/ProcedureHeader.js +1 -1
  24. package/es/components/PisellTabbar/PisellTabbar.js +1 -1
  25. package/es/components/PisellTabbar/template/Template1/PisellTabbar.js +1 -1
  26. package/es/components/SafeAreaTop/index.d.ts +6 -0
  27. package/es/components/SafeAreaTop/index.js +112 -0
  28. package/es/components/SafeAreaTop/index.less +11 -0
  29. package/es/components/SafeAreaTop/types.d.ts +13 -0
  30. package/es/components/appVersionControl/index.js +2 -3
  31. package/es/components/dataSourceComponents/dataSourceForm/BaseForm.js +4 -4
  32. package/es/components/dataSourceComponents/dataSourceForm/formItem.js +1 -1
  33. package/es/components/dataSourceComponents/dataSourceForm/index.js +1 -1
  34. package/es/components/dataSourceComponents/dataSourceForm/submitButton/index.js +3 -3
  35. package/es/components/dataSourceComponents/dataSourceForm/utils.js +3 -3
  36. package/es/components/dataSourceComponents/dataSourceShow/dataSourceTypography/index.js +1 -1
  37. package/es/components/dataSourceComponents/dataSourceSubForm/index.js +1 -1
  38. package/es/components/dataSourceComponents/dataSourceTable/BaseTable.js +2 -2
  39. package/es/components/dataSourceComponents/dataSourceTable/filter/index.js +1 -1
  40. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.js +2 -3
  41. package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -1
  42. package/es/components/dataSourceComponents/dataSourceWrapper/BaseWrapper.js +1 -1
  43. package/es/components/dataSourceComponents/fields/DatePicker/WithMode.js +0 -4
  44. package/es/components/dataSourceComponents/fields/IconSelect/WithMode.js +1 -1
  45. package/es/components/dataSourceComponents/fields/Input/WithMode.js +1 -1
  46. package/es/components/dataSourceComponents/fields/Input.Phone/serve.js +1 -4
  47. package/es/components/dataSourceComponents/fields/Radio/WithMode.js +1 -1
  48. package/es/components/dataSourceComponents/fields/TimePicker/WithMode.js +1 -1
  49. package/es/components/dataSourceComponents/hooks/useActions.js +1 -1
  50. package/es/components/dataSourceComponents/provider/dataSource/DataSourceProvider.js +1 -1
  51. package/es/components/drag-sort-tree/index.d.ts +0 -1
  52. package/es/components/drag-sort-tree/index.js +1 -0
  53. package/es/components/drawer/index.js +6 -7
  54. package/es/components/filter/components/Dropdown/index.js +4 -2
  55. package/es/components/filter/components/Dropdown/index.less +186 -0
  56. package/es/components/filter/components/FilterButton/index.js +41 -13
  57. package/es/components/filter/components/FilterButton/index.less +29 -0
  58. package/es/components/filter/components/FilterButton/types.d.ts +5 -0
  59. package/es/components/filter/components/FilterItem/index.js +93 -16
  60. package/es/components/filter/components/QuickFilter/index.js +7 -4
  61. package/es/components/filter/types.d.ts +4 -0
  62. package/es/components/login-and-register/index.js +5 -4
  63. package/es/components/page/index.js +1 -1
  64. package/es/components/pisellAppCard/PisellAppCard.js +1 -1
  65. package/es/components/pisellCardList/index.js +1 -1
  66. package/es/components/pisellCurrency/PisellCurrency.js +6 -13
  67. package/es/components/pisellCurrency/PisellCurrency.less +123 -0
  68. package/es/components/pisellDataSourceContainer/components/Pagination/index.js +9 -3
  69. package/es/components/pisellDataSourceContainer/docs/PisellDataSourceContainer.md +240 -189
  70. package/es/components/pisellDataSourceContainer/type.d.ts +1 -1
  71. package/es/components/pisellDateTimeDisplay/docs/pisellDateTimeDisplay.md +556 -556
  72. package/es/components/pisellEmail/PisellEmail.js +6 -13
  73. package/es/components/pisellEmail/PisellEmail.less +92 -0
  74. package/es/components/pisellEmpty/index.d.ts +1 -1
  75. package/es/components/pisellFilter/docs/PisellFilter.md +2 -2
  76. package/es/components/pisellFilter/index.js +7 -3
  77. package/es/components/pisellFind/docs/pisellFind.md +2 -2
  78. package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.d.ts +2 -1
  79. package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.js +480 -88
  80. package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.less +62 -0
  81. package/es/components/pisellFloorMapLayout/appearance/floorMapAppearance.d.ts +4 -0
  82. package/es/components/pisellFloorMapLayout/appearance/floorMapAppearance.js +22 -0
  83. package/es/components/pisellFloorMapLayout/components/CanvasTabs.js +18 -3
  84. package/es/components/pisellFloorMapLayout/components/CanvasTabs.less +23 -0
  85. package/es/components/pisellFloorMapLayout/components/EditableItemLayer.js +3 -2
  86. package/es/components/pisellFloorMapLayout/components/FigmaTableCard.d.ts +2 -2
  87. package/es/components/pisellFloorMapLayout/components/FigmaTableCard.js +209 -74
  88. package/es/components/pisellFloorMapLayout/components/FloorMapBuiltinShapeElement.d.ts +11 -0
  89. package/es/components/pisellFloorMapLayout/components/FloorMapBuiltinShapeElement.js +123 -0
  90. package/es/components/pisellFloorMapLayout/components/FloorMapEditPanel.js +88 -12
  91. package/es/components/pisellFloorMapLayout/components/FloorMapEditPanel.less +15 -0
  92. package/es/components/pisellFloorMapLayout/components/FloorMapEditTopBar.js +169 -23
  93. package/es/components/pisellFloorMapLayout/components/FloorMapEditTopBar.less +95 -1
  94. package/es/components/pisellFloorMapLayout/components/FloorMapOverview.js +94 -0
  95. package/es/components/pisellFloorMapLayout/components/FloorMapOverview.less +65 -0
  96. package/es/components/pisellFloorMapLayout/components/FloorMapToolbar.js +153 -38
  97. package/es/components/pisellFloorMapLayout/components/FloorMapToolbar.less +178 -4
  98. package/es/components/pisellFloorMapLayout/components/HistoryIcons.js +64 -0
  99. package/es/components/pisellFloorMapLayout/components/ItemLayer.js +32 -10
  100. package/es/components/pisellFloorMapLayout/components/ItemLayer.less +30 -2
  101. package/es/components/pisellFloorMapLayout/components/ViewControls.js +119 -65
  102. package/es/components/pisellFloorMapLayout/components/ViewControls.less +263 -50
  103. package/es/components/pisellFloorMapLayout/components/ViewControlsWithZoom.js +4 -0
  104. package/es/components/pisellFloorMapLayout/context/mergeFloorMapLayoutContext.js +3 -1
  105. package/es/components/pisellFloorMapLayout/docs/pisellFloorMapLayout.md +559 -194
  106. package/es/components/pisellFloorMapLayout/floorMapLayoutConstants.js +21 -0
  107. package/es/components/pisellFloorMapLayout/hooks/floorMapViewportPersistence.js +47 -0
  108. package/es/components/pisellFloorMapLayout/hooks/useDraftConfigHistory.js +95 -0
  109. package/es/components/pisellFloorMapLayout/hooks/useFloorMapEditState.js +105 -25
  110. package/es/components/pisellFloorMapLayout/hooks/useFloorMapTransformMetrics.js +400 -66
  111. package/es/components/pisellFloorMapLayout/index.d.ts +5 -2
  112. package/es/components/pisellFloorMapLayout/locales-ja.js +39 -1
  113. package/es/components/pisellFloorMapLayout/locales-pt.js +39 -1
  114. package/es/components/pisellFloorMapLayout/locales.js +117 -3
  115. package/es/components/pisellFloorMapLayout/types.d.ts +86 -10
  116. package/es/components/pisellFloorMapLayout/types.js +7 -1
  117. package/es/components/pisellFloorMapLayout/utils/floorMapBuiltinShapes.d.ts +46 -0
  118. package/es/components/pisellFloorMapLayout/utils/floorMapBuiltinShapes.js +533 -0
  119. package/es/components/pisellFloorMapLayout/utils/floorMapCanvasStage.js +139 -0
  120. package/es/components/pisellFloorMapLayout/utils/floorMapConfigMerge.js +11 -2
  121. package/es/components/pisellFloorMapLayout/utils/floorMapDropUtils.js +3 -1
  122. package/es/components/pisellFloorMapLayout/utils/floorMapElementKindUtils.d.ts +3 -1
  123. package/es/components/pisellFloorMapLayout/utils/floorMapElementKindUtils.js +31 -7
  124. package/es/components/pisellFloorMapLayout/utils/floorMapElementNameAsTitle.d.ts +52 -0
  125. package/es/components/pisellFloorMapLayout/utils/floorMapElementNameAsTitle.js +61 -0
  126. package/es/components/pisellFloorMapLayout/utils/floorMapFallbackRender.js +12 -1
  127. package/es/components/pisellFloorMapLayout/utils/floorMapOverviewLayout.js +64 -0
  128. package/es/components/pisellFloorMapLayout/utils/floorMapViewConfigDiff.js +3 -2
  129. package/es/components/pisellGoodPassCard/index.less +1 -0
  130. package/es/components/pisellGridPro/GridView/docs/GridView.md +47 -48
  131. package/es/components/pisellGridPro/ToolBar/docs/ToolBar.$tab-dev.md +4 -2
  132. package/es/components/pisellGridPro/ToolBar/docs/ToolBar.md +95 -81
  133. package/es/components/pisellGridPro/ToolBar/index.less +5 -4
  134. package/es/components/pisellGridPro/docs/PisellGridPro.md +173 -262
  135. package/es/components/pisellHierarchicalSummaryList/docs/pisellHierarchicalSummaryList.$tab-dev.md +3 -6
  136. package/es/components/pisellHierarchicalSummaryList/docs/pisellHierarchicalSummaryList.$tab-test.md +3 -4
  137. package/es/components/pisellHierarchicalSummaryList/docs/pisellHierarchicalSummaryList.md +1 -2
  138. package/es/components/pisellLongText/PisellLongText.js +6 -13
  139. package/es/components/pisellLongText/PisellLongText.less +67 -0
  140. package/es/components/pisellLookup/PisellLookup.js +1 -1
  141. package/es/components/pisellLookup/PisellLookup.less +46 -4
  142. package/es/components/pisellLookup/components/LookupResultHost.js +1 -1
  143. package/es/components/pisellLookup/components/LookupTrigger.js +6 -8
  144. package/es/components/pisellLookup/docs/pisellLookup.md +1 -1
  145. package/es/components/pisellMobileDateRangePicker/PisellMobileDateRangePicker.d.ts +9 -0
  146. package/es/components/pisellMobileDateRangePicker/PisellMobileDateRangePicker.js +149 -0
  147. package/es/components/pisellMobileDateRangePicker/PisellMobileDateRangePicker.less +73 -0
  148. package/es/components/pisellMobileDateRangePicker/index.d.ts +2 -0
  149. package/es/components/pisellMobileDateRangePicker/types.d.ts +31 -0
  150. package/es/components/pisellMobileDateRangePicker/types.js +4 -0
  151. package/es/components/pisellMultipleSelect/PisellMultipleSelect.js +5 -7
  152. package/es/components/pisellMultipleSelect/PisellMultipleSelect.less +139 -18
  153. package/es/components/pisellMultipleSelect/components/EditView.js +0 -1
  154. package/es/components/pisellNavigationMenu/PisellNavigationMenu.js +0 -4
  155. package/es/components/pisellNumber/PisellNumber.js +6 -13
  156. package/es/components/pisellNumber/PisellNumber.less +103 -0
  157. package/es/components/pisellPhone/PisellPhone.js +6 -13
  158. package/es/components/pisellPhone/PisellPhone.less +119 -0
  159. package/es/components/pisellPhone/components/EditView.js +19 -37
  160. package/es/components/pisellPhone/constants/countryCodes.js +25 -26
  161. package/es/components/pisellPhone/types.d.ts +2 -2
  162. package/es/components/pisellPhone/utils/countryCodeHelper.js +2 -2
  163. package/es/components/pisellQuickFilter/{doc → docs}/PisellQuickFilter.md +1 -1
  164. package/es/components/pisellRating/PisellRating.js +3 -5
  165. package/es/components/pisellRecordBoard/PisellRecordBoard.js +29 -10
  166. package/es/components/pisellRecordBoard/README.md +12 -0
  167. package/es/components/pisellRecordBoard/docs/PisellRecordBoard.md +716 -70
  168. package/es/components/pisellRecordBoard/docs/ShellFrame.md +62 -44
  169. package/es/components/pisellRecordBoard/index.d.ts +8 -1
  170. package/es/components/pisellRecordBoard/index.js +5 -0
  171. package/es/components/pisellRecordBoard/layouts/GridLayout/Grid.js +174 -17
  172. package/es/components/pisellRecordBoard/layouts/GridLayout/Grid.less +79 -0
  173. package/es/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.js +758 -0
  174. package/es/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.less +313 -0
  175. package/es/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.d.ts +5 -1
  176. package/es/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.js +10 -8
  177. package/es/components/pisellRecordBoard/shellFrame/Calendar/bookingCalendarViewShared.js +191 -0
  178. package/es/components/pisellRecordBoard/shellFrame/Calendar/calendarI18n.js +22 -0
  179. package/es/components/pisellRecordBoard/shellFrame/Calendar/calendarPersistGuard.d.ts +1 -1
  180. package/es/components/pisellRecordBoard/shellFrame/Calendar/const/bookingCalendarConstants.js +39 -0
  181. package/es/components/pisellRecordBoard/shellFrame/Calendar/hooks/useBookingCalendarDayOverlayLayout.js +74 -0
  182. package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/BookingCalendarBlockPanel.js +61 -0
  183. package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/BookingCalendarOverflowListLayer.js +26 -0
  184. package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/MoveConfirmModal.js +79 -0
  185. package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowListModal.js +61 -0
  186. package/es/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowPopover.js +37 -0
  187. package/es/components/pisellRecordBoard/shellFrame/Calendar/utils/BookingCalendarStyle.js +20 -0
  188. package/es/components/pisellRecordBoard/shellFrame/Calendar/utils/bookingCalendarDateUtils.js +532 -0
  189. package/es/components/pisellRecordBoard/shellFrame/Calendar/utils/bookingCalendarSelectionUtils.js +17 -0
  190. package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDaySelectionBar.js +31 -0
  191. package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDayView.js +583 -0
  192. package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarGroupRowHeader.js +41 -0
  193. package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarMonthView.js +111 -0
  194. package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarResourceView.js +612 -0
  195. package/es/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarWeekView.js +168 -0
  196. package/es/components/pisellRecordBoard/shellFrame/Calendar/view/bookingCalendarDayViewContext.js +8 -0
  197. package/es/components/pisellRecordBoard/shellFrame/Calendar/view/day/useBookingCalendarDayHourRemaining.js +33 -0
  198. package/es/components/pisellRecordBoard/shellFrame/Calendar/view/day/useBookingCalendarDaySelection.js +37 -0
  199. package/es/components/pisellRecordBoard/shellFrame/Calendar/view/resource/useBookingCalendarResourceCellToggle.js +18 -0
  200. package/es/components/pisellRecordBoard/shellFrame/Calendar/view/resource/useBookingCalendarResourceDayHeaderRemaining.js +33 -0
  201. package/es/components/pisellRecordBoard/shellFrame/Calendar/view/useBookingCalendarGoToDayFromCell.js +29 -0
  202. package/es/components/pisellRecordBoard/shellFrame/ColumnSetting/index.js +2 -1
  203. package/es/components/pisellRecordBoard/shellFrame/Pagination/index.js +7 -1
  204. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/NoteTicker.js +43 -0
  205. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/PisellRecordBoardResourceWallView.d.ts +14 -0
  206. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/PisellRecordBoardResourceWallView.js +436 -0
  207. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/RecordBoardResourceWall.d.ts +11 -0
  208. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/RecordBoardResourceWall.js +9 -0
  209. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanel.js +179 -0
  210. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelColorTab.js +62 -0
  211. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelLayoutTab.js +57 -0
  212. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallViewport.less +88 -0
  213. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallViewportToolbar.js +83 -0
  214. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.js +218 -0
  215. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.less +339 -0
  216. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallMarquee.less +52 -0
  217. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallCardPresentation.js +153 -0
  218. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallUtils.d.ts +32 -0
  219. package/es/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallUtils.js +170 -0
  220. package/es/components/pisellRecordBoard/shellFrame/Search/index.js +1 -1
  221. package/es/components/pisellRecordBoard/shellFrame/ShellBodyMetaContext.d.ts +5 -1
  222. package/es/components/pisellRecordBoard/shellFrame/ToolBar/ToolBarFilter.less +30 -3
  223. package/es/components/pisellRecordBoard/shellFrame/ToolBar/index.js +157 -68
  224. package/es/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolBarConstants.js +11 -0
  225. package/es/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolBarI18n.js +56 -0
  226. package/es/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolbar.less +406 -14
  227. package/es/components/pisellRecordBoard/shellFrame/ToolBarQuickFilter/index.js +14 -4
  228. package/es/components/pisellRecordBoard/shellFrame/index.d.ts +9 -2
  229. package/es/components/pisellRecordBoard/shellFrame/index.js +73 -19
  230. package/es/components/pisellRecordBoard/types.d.ts +413 -8
  231. package/es/components/pisellRecordBoard/types.js +12 -0
  232. package/es/components/pisellRecordBoard/utils/partitionShellFrameChildren.js +16 -0
  233. package/es/components/pisellRecordBoard/utils/recordBoardPhoneGrid.d.ts +22 -0
  234. package/es/components/pisellRecordBoard/utils/recordBoardPhoneGrid.js +46 -0
  235. package/es/components/pisellReservationSchedule/PisellReservationSchedule.js +67 -15
  236. package/es/components/pisellReservationSchedule/PisellReservationSchedule.less +23 -0
  237. package/es/components/pisellReservationSchedule/locales.js +21 -3
  238. package/es/components/pisellReservationSchedule/types.d.ts +5 -0
  239. package/es/components/pisellReservationScheduleBand/PisellReservationScheduleBand.js +11 -6
  240. package/es/components/pisellReservationScheduleBand/PisellReservationScheduleBand.less +37 -4
  241. package/es/components/pisellReservationScheduleBand/index.d.ts +2 -1
  242. package/es/components/pisellReservationScheduleBand/types.d.ts +13 -2
  243. package/es/components/pisellReservationScheduleBand/utils/formatScheduleAtLabel.d.ts +13 -0
  244. package/es/components/pisellReservationScheduleBand/utils/formatScheduleAtLabel.js +17 -0
  245. package/es/components/pisellShellFrame/PisellShellFrame.js +2 -2
  246. package/es/components/pisellShellFrame/PisellShellFrame.less +18 -2
  247. package/es/components/pisellShellFrame/types.d.ts +6 -0
  248. package/es/components/pisellSingleLineText/PisellSingleLineText.js +14 -21
  249. package/es/components/pisellSingleLineText/PisellSingleLineText.less +143 -0
  250. package/es/components/pisellSingleLineText/docs/pisellSingleLineText.md +256 -256
  251. package/es/components/pisellSingleSelect/PisellSingleSelect.js +4 -7
  252. package/es/components/pisellSingleSelect/PisellSingleSelect.less +106 -5
  253. package/es/components/pisellSingleSelect/docs/pisellSingleSelect.md +428 -525
  254. package/es/components/pisellSort/docs/PisellSort.md +131 -67
  255. package/es/components/pisellStatisticList/index.js +0 -1
  256. package/es/components/pisellTimeNavigator/PisellTimeNavigator.js +227 -58
  257. package/es/components/pisellTimeNavigator/PisellTimeNavigator.less +128 -15
  258. package/es/components/pisellTimeNavigator/components/CursorLayer.js +3 -3
  259. package/es/components/pisellTimeNavigator/components/GestureLayer.js +12 -3
  260. package/es/components/pisellTimeNavigator/components/ScaleLayer.js +34 -6
  261. package/es/components/pisellTimeNavigator/docs/pisellTimeNavigator.$tab-dev.md +26 -42
  262. package/es/components/pisellTimeNavigator/docs/pisellTimeNavigator.$tab-test.md +5 -5
  263. package/es/components/pisellTimeNavigator/hooks/useTimeAxis.js +43 -23
  264. package/es/components/pisellTimeNavigator/index.d.ts +1 -1
  265. package/es/components/pisellTimeNavigator/types.d.ts +15 -0
  266. package/es/components/pisellTimeNavigator/utils/index.d.ts +25 -4
  267. package/es/components/pisellTimeNavigator/utils/index.js +85 -17
  268. package/es/components/pisellTimeRangeDisplay/docs/pisellTimeRangeDisplay.md +226 -227
  269. package/es/components/pisellUrl/PisellUrl.js +6 -13
  270. package/es/components/pisellWalletPassCard/index.js +5 -11
  271. package/es/components/productCard/cartSkuCard/components/Gift/index.js +34 -0
  272. package/es/components/productCard/cartSkuCard/components/Gift/index.less +84 -0
  273. package/es/components/productCard/cartSkuCard/components/Promotion/index.js +23 -0
  274. package/es/components/productCard/cartSkuCard/components/Promotion/index.less +16 -0
  275. package/es/components/productCard/cartSkuCard/components/basicInfo/index.js +65 -4
  276. package/es/components/productCard/cartSkuCard/components/basicInfo/index.less +80 -1
  277. package/es/components/productCard/cartSkuCard/components/holders/index.js +1 -1
  278. package/es/components/productCard/cartSkuCard/components/packages/index.js +24 -9
  279. package/es/components/productCard/cartSkuCard/components/specs/index.js +22 -7
  280. package/es/components/productCard/cartSkuCard/components/specs/index.less +11 -0
  281. package/es/components/productCard/cartSkuCard/components/timeRange/index.js +2 -1
  282. package/es/components/productCard/cartSkuCard/components/weighing/index.js +27 -0
  283. package/es/components/productCard/cartSkuCard/components/weighing/index.less +25 -0
  284. package/es/components/productCard/cartSkuCard/index.js +68 -8
  285. package/es/components/productCard/cartSkuCard/locales.js +40 -5
  286. package/es/components/productCard/components/Header/DeleteButton/index.js +2 -2
  287. package/es/components/productCard/components/Header/DeleteButton/index.less +1 -2
  288. package/es/components/productCard/components/Header/EditButton/index.js +2 -1
  289. package/es/components/productCard/components/Header/index.less +1 -1
  290. package/es/components/productCard/components/Time/components/SelectHolder/index.js +2 -3
  291. package/es/components/productCard/components/Time/components/SelectHolderModal/index.js +1 -1
  292. package/es/components/productCard/components/Time/components/SelectHolderMultiple/index.js +2 -2
  293. package/es/components/productCard/components/Time/components/SelectResource/index.js +3 -6
  294. package/es/components/productCard/components/Time/index.js +2 -3
  295. package/es/components/productCard/index.d.ts +1 -0
  296. package/es/components/productCard/index.js +2 -0
  297. package/es/components/productCard/lineItem/BookingLineItem.js +173 -0
  298. package/es/components/productCard/lineItem/index.js +195 -0
  299. package/es/components/productCard/lineItem/index.less +195 -0
  300. package/es/components/productCard/lineItem/locales.js +25 -0
  301. package/es/components/productCard/status.js +3 -0
  302. package/es/components/productCard/types.d.ts +10 -0
  303. package/es/components/productCard/utils.js +1 -1
  304. package/es/components/select/index.js +1 -1
  305. package/es/components/select-time/index.js +1 -0
  306. package/es/components/table/Actions/component/ExportImport/index.js +4 -3
  307. package/es/components/table/Actions/component/GallerySetting/index.js +9 -10
  308. package/es/components/table/Actions/component/ViewMode/index.js +3 -4
  309. package/es/components/table/Actions/index.js +1 -1
  310. package/es/components/table/BasicTable/index.js +2 -2
  311. package/es/components/table/Gallery/components/GalleryItem/components/Title/index.less +1 -1
  312. package/es/components/table/Gallery/components/GalleryItem/index.js +4 -12
  313. package/es/components/table/Gallery/components/GalleryItem/index.less +0 -1
  314. package/es/components/table/Gallery/index.js +3 -11
  315. package/es/components/table/Table/fields/text/Show/index.js +1 -1
  316. package/es/components/table/Table/index.js +1 -2
  317. package/es/components/table/Table/tableConfig/header/index.js +1 -1
  318. package/es/components/table/Table/utils.js +1 -5
  319. package/es/components/table/hooks/useTableSetting.js +0 -3
  320. package/es/components/table/hooks/useTransDataSource.js +3 -4
  321. package/es/components/table/index.js +1 -1
  322. package/es/components/tabs/index.less +1 -1
  323. package/es/components/translation/index.d.ts +0 -1
  324. package/es/components/translation/index.js +10 -36
  325. package/es/components/translation/index.less +0 -12
  326. package/es/components/versionModal/index.d.ts +0 -1
  327. package/es/components/versionModal/index.js +2 -2
  328. package/es/components/versionSelect/index.js +1 -1
  329. package/es/components/virtual-keyboard/Amount/index.js +1 -1
  330. package/es/index.d.ts +101 -106
  331. package/es/index.js +97 -94
  332. package/es/locales/en-US.js +195 -70
  333. package/es/locales/ja.js +196 -13
  334. package/es/locales/pt.js +196 -13
  335. package/es/locales/zh-CN.js +189 -64
  336. package/es/locales/zh-TW.js +194 -69
  337. package/es/pisell-materials.tw.css +0 -1
  338. package/es/tailwind-input.css +3 -1
  339. package/lib/components/Pagination/index.js +42 -8
  340. package/lib/components/PisellCards/components/GraphicTextCard/docs/GraphicTextCard.$tab-dev.md +2 -5
  341. package/lib/components/PisellCards/components/GraphicTextCard/docs/GraphicTextCard.$tab-test.md +171 -169
  342. package/lib/components/PisellCards/components/GraphicTextCard/docs/GraphicTextCard.md +27 -87
  343. package/lib/components/PisellCards/components/GraphicTextCard/types.d.ts +7 -18
  344. package/lib/components/PisellCards/components/TextCard/TextCard.js +3 -2
  345. package/lib/components/PisellCards/components/TextCard/components/BadgeWrapper.js +6 -20
  346. package/lib/components/PisellCards/components/TextCard/components/TextContent.js +1 -3
  347. package/lib/components/PisellCards/components/TextCard/docs/TextCard.$tab-dev.md +5 -36
  348. package/lib/components/PisellCards/components/TextCard/docs/TextCard.$tab-test.md +258 -2434
  349. package/lib/components/PisellCards/components/TextCard/docs/TextCard.md +13 -78
  350. package/lib/components/PisellCards/index.d.ts +0 -3
  351. package/lib/components/PisellCards/index.js +1 -3
  352. package/lib/components/PisellLayouts/index.d.ts +1 -1
  353. package/lib/components/PisellProcedure/components/ProcedureHeader.js +1 -1
  354. package/lib/components/PisellTabbar/PisellTabbar.js +6 -6
  355. package/lib/components/PisellTabbar/template/Template1/PisellTabbar.js +6 -6
  356. package/lib/components/SafeAreaTop/index.d.ts +6 -0
  357. package/lib/components/SafeAreaTop/index.js +115 -0
  358. package/lib/components/SafeAreaTop/index.less +11 -0
  359. package/lib/components/SafeAreaTop/types.d.ts +13 -0
  360. package/lib/components/appVersionControl/index.js +11 -12
  361. package/lib/components/dataSourceComponents/dataSourceForm/BaseForm.js +6 -6
  362. package/lib/components/dataSourceComponents/dataSourceForm/formItem.js +1 -1
  363. package/lib/components/dataSourceComponents/dataSourceForm/index.js +1 -1
  364. package/lib/components/dataSourceComponents/dataSourceForm/submitButton/index.js +3 -3
  365. package/lib/components/dataSourceComponents/dataSourceForm/utils.js +3 -3
  366. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceTypography/index.js +1 -1
  367. package/lib/components/dataSourceComponents/dataSourceSubForm/index.js +1 -1
  368. package/lib/components/dataSourceComponents/dataSourceTable/BaseTable.js +2 -2
  369. package/lib/components/dataSourceComponents/dataSourceTable/filter/index.js +1 -1
  370. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.js +2 -3
  371. package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -1
  372. package/lib/components/dataSourceComponents/dataSourceWrapper/BaseWrapper.js +1 -1
  373. package/lib/components/dataSourceComponents/fields/DatePicker/WithMode.js +0 -4
  374. package/lib/components/dataSourceComponents/fields/IconSelect/WithMode.js +1 -1
  375. package/lib/components/dataSourceComponents/fields/Input/WithMode.js +1 -1
  376. package/lib/components/dataSourceComponents/fields/Input.Phone/serve.js +1 -4
  377. package/lib/components/dataSourceComponents/fields/Radio/WithMode.js +1 -1
  378. package/lib/components/dataSourceComponents/fields/TimePicker/WithMode.js +4 -4
  379. package/lib/components/dataSourceComponents/hooks/useActions.js +1 -1
  380. package/lib/components/dataSourceComponents/provider/dataSource/DataSourceProvider.js +1 -1
  381. package/lib/components/drag-sort-tree/index.d.ts +0 -1
  382. package/lib/components/drag-sort-tree/index.js +1 -0
  383. package/lib/components/drawer/index.js +6 -7
  384. package/lib/components/filter/components/Dropdown/index.js +5 -2
  385. package/lib/components/filter/components/Dropdown/index.less +186 -0
  386. package/lib/components/filter/components/FilterButton/index.js +40 -12
  387. package/lib/components/filter/components/FilterButton/index.less +29 -0
  388. package/lib/components/filter/components/FilterButton/types.d.ts +5 -0
  389. package/lib/components/filter/components/FilterItem/index.js +94 -16
  390. package/lib/components/filter/components/QuickFilter/index.js +7 -4
  391. package/lib/components/filter/types.d.ts +4 -0
  392. package/lib/components/login-and-register/index.js +5 -4
  393. package/lib/components/page/index.js +1 -1
  394. package/lib/components/pisellAppCard/PisellAppCard.js +7 -7
  395. package/lib/components/pisellCardList/index.js +6 -6
  396. package/lib/components/pisellCurrency/PisellCurrency.js +6 -13
  397. package/lib/components/pisellCurrency/PisellCurrency.less +123 -0
  398. package/lib/components/pisellDataSourceContainer/components/Pagination/index.js +9 -3
  399. package/lib/components/pisellDataSourceContainer/docs/PisellDataSourceContainer.md +240 -189
  400. package/lib/components/pisellDataSourceContainer/type.d.ts +1 -1
  401. package/lib/components/pisellDateTimeDisplay/docs/pisellDateTimeDisplay.md +556 -556
  402. package/lib/components/pisellEmail/PisellEmail.js +6 -13
  403. package/lib/components/pisellEmail/PisellEmail.less +92 -0
  404. package/lib/components/pisellEmpty/index.d.ts +1 -1
  405. package/lib/components/pisellFilter/docs/PisellFilter.md +2 -2
  406. package/lib/components/pisellFilter/index.js +7 -3
  407. package/lib/components/pisellFind/docs/pisellFind.md +2 -2
  408. package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.d.ts +2 -1
  409. package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.js +478 -86
  410. package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.less +62 -0
  411. package/lib/components/pisellFloorMapLayout/appearance/floorMapAppearance.d.ts +4 -0
  412. package/lib/components/pisellFloorMapLayout/appearance/floorMapAppearance.js +22 -0
  413. package/lib/components/pisellFloorMapLayout/components/CanvasTabs.js +18 -3
  414. package/lib/components/pisellFloorMapLayout/components/CanvasTabs.less +23 -0
  415. package/lib/components/pisellFloorMapLayout/components/EditableItemLayer.js +3 -2
  416. package/lib/components/pisellFloorMapLayout/components/FigmaTableCard.d.ts +2 -2
  417. package/lib/components/pisellFloorMapLayout/components/FigmaTableCard.js +209 -74
  418. package/lib/components/pisellFloorMapLayout/components/FloorMapBuiltinShapeElement.d.ts +11 -0
  419. package/lib/components/pisellFloorMapLayout/components/FloorMapBuiltinShapeElement.js +125 -0
  420. package/lib/components/pisellFloorMapLayout/components/FloorMapEditPanel.js +86 -10
  421. package/lib/components/pisellFloorMapLayout/components/FloorMapEditPanel.less +15 -0
  422. package/lib/components/pisellFloorMapLayout/components/FloorMapEditTopBar.js +168 -22
  423. package/lib/components/pisellFloorMapLayout/components/FloorMapEditTopBar.less +95 -1
  424. package/lib/components/pisellFloorMapLayout/components/FloorMapOverview.js +97 -0
  425. package/lib/components/pisellFloorMapLayout/components/FloorMapOverview.less +65 -0
  426. package/lib/components/pisellFloorMapLayout/components/FloorMapToolbar.js +150 -35
  427. package/lib/components/pisellFloorMapLayout/components/FloorMapToolbar.less +178 -4
  428. package/lib/components/pisellFloorMapLayout/components/HistoryIcons.js +67 -0
  429. package/lib/components/pisellFloorMapLayout/components/ItemLayer.js +32 -10
  430. package/lib/components/pisellFloorMapLayout/components/ItemLayer.less +30 -2
  431. package/lib/components/pisellFloorMapLayout/components/ViewControls.js +118 -64
  432. package/lib/components/pisellFloorMapLayout/components/ViewControls.less +263 -50
  433. package/lib/components/pisellFloorMapLayout/components/ViewControlsWithZoom.js +4 -0
  434. package/lib/components/pisellFloorMapLayout/context/mergeFloorMapLayoutContext.js +3 -1
  435. package/lib/components/pisellFloorMapLayout/docs/pisellFloorMapLayout.md +559 -194
  436. package/lib/components/pisellFloorMapLayout/floorMapLayoutConstants.js +25 -0
  437. package/lib/components/pisellFloorMapLayout/hooks/floorMapViewportPersistence.js +52 -0
  438. package/lib/components/pisellFloorMapLayout/hooks/useDraftConfigHistory.js +96 -0
  439. package/lib/components/pisellFloorMapLayout/hooks/useFloorMapEditState.js +104 -24
  440. package/lib/components/pisellFloorMapLayout/hooks/useFloorMapTransformMetrics.js +399 -65
  441. package/lib/components/pisellFloorMapLayout/index.d.ts +5 -2
  442. package/lib/components/pisellFloorMapLayout/locales-ja.js +39 -1
  443. package/lib/components/pisellFloorMapLayout/locales-pt.js +39 -1
  444. package/lib/components/pisellFloorMapLayout/locales.js +117 -3
  445. package/lib/components/pisellFloorMapLayout/types.d.ts +86 -10
  446. package/lib/components/pisellFloorMapLayout/types.js +7 -0
  447. package/lib/components/pisellFloorMapLayout/utils/floorMapBuiltinShapes.d.ts +46 -0
  448. package/lib/components/pisellFloorMapLayout/utils/floorMapBuiltinShapes.js +536 -0
  449. package/lib/components/pisellFloorMapLayout/utils/floorMapCanvasStage.js +140 -0
  450. package/lib/components/pisellFloorMapLayout/utils/floorMapConfigMerge.js +11 -2
  451. package/lib/components/pisellFloorMapLayout/utils/floorMapDropUtils.js +3 -1
  452. package/lib/components/pisellFloorMapLayout/utils/floorMapElementKindUtils.d.ts +3 -1
  453. package/lib/components/pisellFloorMapLayout/utils/floorMapElementKindUtils.js +30 -5
  454. package/lib/components/pisellFloorMapLayout/utils/floorMapElementNameAsTitle.d.ts +52 -0
  455. package/lib/components/pisellFloorMapLayout/utils/floorMapElementNameAsTitle.js +64 -0
  456. package/lib/components/pisellFloorMapLayout/utils/floorMapFallbackRender.js +11 -0
  457. package/lib/components/pisellFloorMapLayout/utils/floorMapOverviewLayout.js +64 -0
  458. package/lib/components/pisellFloorMapLayout/utils/floorMapViewConfigDiff.js +4 -2
  459. package/lib/components/pisellGoodPassCard/index.less +1 -0
  460. package/lib/components/pisellGridPro/GridView/docs/GridView.md +47 -48
  461. package/lib/components/pisellGridPro/ToolBar/docs/ToolBar.$tab-dev.md +4 -2
  462. package/lib/components/pisellGridPro/ToolBar/docs/ToolBar.md +95 -81
  463. package/lib/components/pisellGridPro/ToolBar/index.less +5 -4
  464. package/lib/components/pisellGridPro/docs/PisellGridPro.md +173 -262
  465. package/lib/components/pisellHierarchicalSummaryList/docs/pisellHierarchicalSummaryList.$tab-dev.md +3 -6
  466. package/lib/components/pisellHierarchicalSummaryList/docs/pisellHierarchicalSummaryList.$tab-test.md +3 -4
  467. package/lib/components/pisellHierarchicalSummaryList/docs/pisellHierarchicalSummaryList.md +1 -2
  468. package/lib/components/pisellLongText/PisellLongText.js +6 -13
  469. package/lib/components/pisellLongText/PisellLongText.less +67 -0
  470. package/lib/components/pisellLookup/PisellLookup.js +1 -1
  471. package/lib/components/pisellLookup/PisellLookup.less +46 -4
  472. package/lib/components/pisellLookup/components/LookupResultHost.js +1 -1
  473. package/lib/components/pisellLookup/components/LookupTrigger.js +6 -8
  474. package/lib/components/pisellLookup/docs/pisellLookup.md +1 -1
  475. package/lib/components/pisellMobileDateRangePicker/PisellMobileDateRangePicker.d.ts +9 -0
  476. package/lib/components/pisellMobileDateRangePicker/PisellMobileDateRangePicker.js +160 -0
  477. package/lib/components/pisellMobileDateRangePicker/PisellMobileDateRangePicker.less +73 -0
  478. package/lib/components/pisellMobileDateRangePicker/index.d.ts +2 -0
  479. package/lib/components/pisellMobileDateRangePicker/types.d.ts +31 -0
  480. package/lib/components/pisellMobileDateRangePicker/types.js +4 -0
  481. package/lib/components/pisellMultipleSelect/PisellMultipleSelect.js +4 -6
  482. package/lib/components/pisellMultipleSelect/PisellMultipleSelect.less +139 -18
  483. package/lib/components/pisellMultipleSelect/components/EditView.js +0 -1
  484. package/lib/components/pisellNavigationMenu/PisellNavigationMenu.js +0 -4
  485. package/lib/components/pisellNumber/PisellNumber.js +6 -13
  486. package/lib/components/pisellNumber/PisellNumber.less +103 -0
  487. package/lib/components/pisellPhone/PisellPhone.js +6 -13
  488. package/lib/components/pisellPhone/PisellPhone.less +119 -0
  489. package/lib/components/pisellPhone/components/EditView.js +19 -37
  490. package/lib/components/pisellPhone/constants/countryCodes.js +25 -26
  491. package/lib/components/pisellPhone/types.d.ts +2 -2
  492. package/lib/components/pisellPhone/utils/countryCodeHelper.js +2 -2
  493. package/lib/components/pisellQuickFilter/{doc → docs}/PisellQuickFilter.md +1 -1
  494. package/lib/components/pisellRating/PisellRating.js +2 -4
  495. package/lib/components/pisellRecordBoard/PisellRecordBoard.js +29 -10
  496. package/lib/components/pisellRecordBoard/README.md +12 -0
  497. package/lib/components/pisellRecordBoard/docs/PisellRecordBoard.md +716 -70
  498. package/lib/components/pisellRecordBoard/docs/ShellFrame.md +62 -44
  499. package/lib/components/pisellRecordBoard/index.d.ts +8 -1
  500. package/lib/components/pisellRecordBoard/index.js +5 -0
  501. package/lib/components/pisellRecordBoard/layouts/GridLayout/Grid.js +174 -16
  502. package/lib/components/pisellRecordBoard/layouts/GridLayout/Grid.less +79 -0
  503. package/lib/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.js +760 -0
  504. package/lib/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendar.less +313 -0
  505. package/lib/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.d.ts +5 -1
  506. package/lib/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.js +11 -8
  507. package/lib/components/pisellRecordBoard/shellFrame/Calendar/bookingCalendarViewShared.js +197 -0
  508. package/lib/components/pisellRecordBoard/shellFrame/Calendar/calendarI18n.js +23 -0
  509. package/lib/components/pisellRecordBoard/shellFrame/Calendar/calendarPersistGuard.d.ts +1 -1
  510. package/lib/components/pisellRecordBoard/shellFrame/Calendar/const/bookingCalendarConstants.js +44 -0
  511. package/lib/components/pisellRecordBoard/shellFrame/Calendar/hooks/useBookingCalendarDayOverlayLayout.js +75 -0
  512. package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/BookingCalendarBlockPanel.js +63 -0
  513. package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/BookingCalendarOverflowListLayer.js +28 -0
  514. package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/MoveConfirmModal.js +81 -0
  515. package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowListModal.js +64 -0
  516. package/lib/components/pisellRecordBoard/shellFrame/Calendar/modal/OverflowPopover.js +39 -0
  517. package/lib/components/pisellRecordBoard/shellFrame/Calendar/utils/BookingCalendarStyle.js +21 -0
  518. package/lib/components/pisellRecordBoard/shellFrame/Calendar/utils/bookingCalendarDateUtils.js +562 -0
  519. package/lib/components/pisellRecordBoard/shellFrame/Calendar/utils/bookingCalendarSelectionUtils.js +17 -0
  520. package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDaySelectionBar.js +33 -0
  521. package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarDayView.js +585 -0
  522. package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarGroupRowHeader.js +43 -0
  523. package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarMonthView.js +113 -0
  524. package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarResourceView.js +614 -0
  525. package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/BookingCalendarWeekView.js +170 -0
  526. package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/bookingCalendarDayViewContext.js +10 -0
  527. package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/day/useBookingCalendarDayHourRemaining.js +34 -0
  528. package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/day/useBookingCalendarDaySelection.js +38 -0
  529. package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/resource/useBookingCalendarResourceCellToggle.js +19 -0
  530. package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/resource/useBookingCalendarResourceDayHeaderRemaining.js +34 -0
  531. package/lib/components/pisellRecordBoard/shellFrame/Calendar/view/useBookingCalendarGoToDayFromCell.js +30 -0
  532. package/lib/components/pisellRecordBoard/shellFrame/ColumnSetting/index.js +2 -1
  533. package/lib/components/pisellRecordBoard/shellFrame/Pagination/index.js +7 -1
  534. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/NoteTicker.js +45 -0
  535. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/PisellRecordBoardResourceWallView.d.ts +14 -0
  536. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/PisellRecordBoardResourceWallView.js +439 -0
  537. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/RecordBoardResourceWall.d.ts +11 -0
  538. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/RecordBoardResourceWall.js +9 -0
  539. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanel.js +181 -0
  540. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelColorTab.js +64 -0
  541. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallControlPanelLayoutTab.js +57 -0
  542. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallViewport.less +88 -0
  543. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/ResourceWallViewportToolbar.js +85 -0
  544. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.js +220 -0
  545. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallCard.less +339 -0
  546. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/VenueWallMarquee.less +52 -0
  547. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallCardPresentation.js +153 -0
  548. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallUtils.d.ts +32 -0
  549. package/lib/components/pisellRecordBoard/shellFrame/ResourceWall/venueWallUtils.js +181 -0
  550. package/lib/components/pisellRecordBoard/shellFrame/Search/index.js +1 -1
  551. package/lib/components/pisellRecordBoard/shellFrame/ShellBodyMetaContext.d.ts +5 -1
  552. package/lib/components/pisellRecordBoard/shellFrame/ToolBar/ToolBarFilter.less +30 -3
  553. package/lib/components/pisellRecordBoard/shellFrame/ToolBar/index.js +170 -81
  554. package/lib/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolBarConstants.js +14 -0
  555. package/lib/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolBarI18n.js +63 -0
  556. package/lib/components/pisellRecordBoard/shellFrame/ToolBar/recordBoardToolbar.less +406 -14
  557. package/lib/components/pisellRecordBoard/shellFrame/ToolBarQuickFilter/index.js +14 -4
  558. package/lib/components/pisellRecordBoard/shellFrame/index.d.ts +9 -2
  559. package/lib/components/pisellRecordBoard/shellFrame/index.js +73 -19
  560. package/lib/components/pisellRecordBoard/types.d.ts +413 -8
  561. package/lib/components/pisellRecordBoard/types.js +12 -0
  562. package/lib/components/pisellRecordBoard/utils/partitionShellFrameChildren.js +16 -0
  563. package/lib/components/pisellRecordBoard/utils/recordBoardPhoneGrid.d.ts +22 -0
  564. package/lib/components/pisellRecordBoard/utils/recordBoardPhoneGrid.js +50 -0
  565. package/lib/components/pisellReservationSchedule/PisellReservationSchedule.js +67 -15
  566. package/lib/components/pisellReservationSchedule/PisellReservationSchedule.less +23 -0
  567. package/lib/components/pisellReservationSchedule/locales.js +21 -3
  568. package/lib/components/pisellReservationSchedule/types.d.ts +5 -0
  569. package/lib/components/pisellReservationScheduleBand/PisellReservationScheduleBand.js +11 -6
  570. package/lib/components/pisellReservationScheduleBand/PisellReservationScheduleBand.less +37 -4
  571. package/lib/components/pisellReservationScheduleBand/index.d.ts +2 -1
  572. package/lib/components/pisellReservationScheduleBand/types.d.ts +13 -2
  573. package/lib/components/pisellReservationScheduleBand/utils/formatScheduleAtLabel.d.ts +13 -0
  574. package/lib/components/pisellReservationScheduleBand/utils/formatScheduleAtLabel.js +17 -0
  575. package/lib/components/pisellShellFrame/PisellShellFrame.js +2 -2
  576. package/lib/components/pisellShellFrame/PisellShellFrame.less +18 -2
  577. package/lib/components/pisellShellFrame/types.d.ts +6 -0
  578. package/lib/components/pisellSingleLineText/PisellSingleLineText.js +14 -21
  579. package/lib/components/pisellSingleLineText/PisellSingleLineText.less +143 -0
  580. package/lib/components/pisellSingleLineText/docs/pisellSingleLineText.md +256 -256
  581. package/lib/components/pisellSingleSelect/PisellSingleSelect.js +4 -7
  582. package/lib/components/pisellSingleSelect/PisellSingleSelect.less +106 -5
  583. package/lib/components/pisellSingleSelect/docs/pisellSingleSelect.md +428 -525
  584. package/lib/components/pisellSort/docs/PisellSort.md +131 -67
  585. package/lib/components/pisellStatisticList/index.js +0 -1
  586. package/lib/components/pisellTimeNavigator/PisellTimeNavigator.js +226 -57
  587. package/lib/components/pisellTimeNavigator/PisellTimeNavigator.less +128 -15
  588. package/lib/components/pisellTimeNavigator/components/CursorLayer.js +3 -3
  589. package/lib/components/pisellTimeNavigator/components/GestureLayer.js +12 -3
  590. package/lib/components/pisellTimeNavigator/components/ScaleLayer.js +34 -6
  591. package/lib/components/pisellTimeNavigator/docs/pisellTimeNavigator.$tab-dev.md +26 -42
  592. package/lib/components/pisellTimeNavigator/docs/pisellTimeNavigator.$tab-test.md +5 -5
  593. package/lib/components/pisellTimeNavigator/hooks/useTimeAxis.js +42 -22
  594. package/lib/components/pisellTimeNavigator/index.d.ts +1 -1
  595. package/lib/components/pisellTimeNavigator/types.d.ts +15 -0
  596. package/lib/components/pisellTimeNavigator/utils/index.d.ts +25 -4
  597. package/lib/components/pisellTimeNavigator/utils/index.js +88 -17
  598. package/lib/components/pisellTimeRangeDisplay/docs/pisellTimeRangeDisplay.md +226 -227
  599. package/lib/components/pisellUrl/PisellUrl.js +6 -13
  600. package/lib/components/pisellWalletPassCard/index.js +5 -11
  601. package/lib/components/productCard/cartSkuCard/components/Gift/index.js +36 -0
  602. package/lib/components/productCard/cartSkuCard/components/Gift/index.less +84 -0
  603. package/lib/components/productCard/cartSkuCard/components/Promotion/index.js +25 -0
  604. package/lib/components/productCard/cartSkuCard/components/Promotion/index.less +16 -0
  605. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.js +69 -8
  606. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.less +80 -1
  607. package/lib/components/productCard/cartSkuCard/components/holders/index.js +1 -1
  608. package/lib/components/productCard/cartSkuCard/components/packages/index.js +26 -11
  609. package/lib/components/productCard/cartSkuCard/components/specs/index.js +23 -8
  610. package/lib/components/productCard/cartSkuCard/components/specs/index.less +11 -0
  611. package/lib/components/productCard/cartSkuCard/components/timeRange/index.js +2 -1
  612. package/lib/components/productCard/cartSkuCard/components/weighing/index.js +29 -0
  613. package/lib/components/productCard/cartSkuCard/components/weighing/index.less +25 -0
  614. package/lib/components/productCard/cartSkuCard/index.js +68 -8
  615. package/lib/components/productCard/cartSkuCard/locales.js +40 -5
  616. package/lib/components/productCard/components/Header/DeleteButton/index.js +2 -2
  617. package/lib/components/productCard/components/Header/DeleteButton/index.less +1 -2
  618. package/lib/components/productCard/components/Header/EditButton/index.js +2 -1
  619. package/lib/components/productCard/components/Header/index.less +1 -1
  620. package/lib/components/productCard/components/Time/components/SelectHolder/index.js +2 -3
  621. package/lib/components/productCard/components/Time/components/SelectHolderModal/index.js +5 -5
  622. package/lib/components/productCard/components/Time/components/SelectHolderMultiple/index.js +2 -2
  623. package/lib/components/productCard/components/Time/components/SelectResource/index.js +3 -6
  624. package/lib/components/productCard/components/Time/index.js +2 -3
  625. package/lib/components/productCard/index.d.ts +1 -0
  626. package/lib/components/productCard/index.js +2 -0
  627. package/lib/components/productCard/lineItem/BookingLineItem.js +177 -0
  628. package/lib/components/productCard/lineItem/index.js +197 -0
  629. package/lib/components/productCard/lineItem/index.less +195 -0
  630. package/lib/components/productCard/lineItem/locales.js +25 -0
  631. package/lib/components/productCard/status.js +3 -0
  632. package/lib/components/productCard/types.d.ts +10 -0
  633. package/lib/components/productCard/utils.js +1 -1
  634. package/lib/components/select/index.js +1 -1
  635. package/lib/components/select-time/index.js +1 -0
  636. package/lib/components/table/Actions/component/ExportImport/index.js +4 -3
  637. package/lib/components/table/Actions/component/GallerySetting/index.js +11 -12
  638. package/lib/components/table/Actions/component/ViewMode/index.js +5 -6
  639. package/lib/components/table/Actions/index.js +1 -1
  640. package/lib/components/table/BasicTable/index.js +2 -2
  641. package/lib/components/table/Gallery/components/GalleryItem/components/Title/index.less +1 -1
  642. package/lib/components/table/Gallery/components/GalleryItem/index.js +9 -17
  643. package/lib/components/table/Gallery/components/GalleryItem/index.less +0 -1
  644. package/lib/components/table/Gallery/index.js +3 -11
  645. package/lib/components/table/Table/fields/text/Show/index.js +1 -1
  646. package/lib/components/table/Table/index.js +1 -2
  647. package/lib/components/table/Table/tableConfig/header/index.js +2 -2
  648. package/lib/components/table/Table/utils.js +1 -5
  649. package/lib/components/table/hooks/useTableSetting.js +0 -3
  650. package/lib/components/table/hooks/useTransDataSource.js +3 -4
  651. package/lib/components/table/index.js +1 -1
  652. package/lib/components/tabs/index.less +1 -1
  653. package/lib/components/translation/index.d.ts +0 -1
  654. package/lib/components/translation/index.js +9 -35
  655. package/lib/components/translation/index.less +0 -12
  656. package/lib/components/versionModal/index.d.ts +0 -1
  657. package/lib/components/versionModal/index.js +2 -2
  658. package/lib/components/versionSelect/index.js +4 -4
  659. package/lib/components/virtual-keyboard/Amount/index.js +4 -4
  660. package/lib/index.d.ts +101 -106
  661. package/lib/index.js +314 -298
  662. package/lib/locales/en-US.js +195 -70
  663. package/lib/locales/ja.js +196 -13
  664. package/lib/locales/pt.js +196 -13
  665. package/lib/locales/zh-CN.js +189 -64
  666. package/lib/locales/zh-TW.js +194 -69
  667. package/lib/pisell-materials.tw.css +0 -1
  668. package/lib/tailwind-input.css +3 -1
  669. package/package.json +1 -1
  670. package/es/components/PisellContactBrief/PisellContactBrief.d.ts +0 -34
  671. package/es/components/PisellContactBrief/PisellContactBrief.js +0 -156
  672. package/es/components/PisellContactBrief/PisellContactBrief.less +0 -192
  673. package/es/components/PisellContactBrief/components/ContactFormModal.js +0 -140
  674. package/es/components/PisellContactBrief/docs/PisellContactBrief.$tab-design.md +0 -109
  675. package/es/components/PisellContactBrief/docs/PisellContactBrief.$tab-dev.md +0 -106
  676. package/es/components/PisellContactBrief/docs/PisellContactBrief.$tab-test.md +0 -125
  677. package/es/components/PisellContactBrief/docs/PisellContactBrief.md +0 -129
  678. package/es/components/PisellContactBrief/index.d.ts +0 -2
  679. package/es/components/PisellContactBrief/locales.js +0 -57
  680. package/es/components/PisellContactBrief/types.d.ts +0 -86
  681. package/es/components/Template/[ComponentName].less +0 -1
  682. package/es/components/Template/docs/[ComponentName].$tab-design.md +0 -7
  683. package/es/components/Template/docs/[ComponentName].$tab-dev.md +0 -1137
  684. package/es/components/Template/docs/[ComponentName].$tab-test.md +0 -7
  685. package/es/components/Template/docs/[ComponentName].md +0 -510
  686. package/es/components/hardwareErrorTip/errorCard/index.d.ts +0 -25
  687. package/es/components/hardwareErrorTip/errorCard/index.js +0 -68
  688. package/es/components/hardwareErrorTip/errorCard/index.less +0 -137
  689. package/es/components/hardwareErrorTip/errorTipStatistics/index.d.ts +0 -10
  690. package/es/components/hardwareErrorTip/errorTipStatistics/index.js +0 -31
  691. package/es/components/hardwareErrorTip/errorTipStatistics/index.less +0 -34
  692. package/es/components/hardwareErrorTip/index.d.ts +0 -20
  693. package/es/components/hardwareErrorTip/index.js +0 -151
  694. package/es/components/hardwareErrorTip/index.less +0 -95
  695. package/es/components/hardwareErrorTip/logCard/index.d.ts +0 -25
  696. package/es/components/hardwareErrorTip/logCard/index.js +0 -72
  697. package/es/components/hardwareErrorTip/logCard/index.less +0 -121
  698. package/es/components/hardwareErrorTip/readme.md +0 -309
  699. package/es/components/hardwareErrorTip/types.js +0 -54
  700. package/es/components/pisellActionPanel/PisellActionPanel.d.ts +0 -24
  701. package/es/components/pisellActionPanel/PisellActionPanel.js +0 -68
  702. package/es/components/pisellActionPanel/PisellActionPanel.less +0 -69
  703. package/es/components/pisellActionPanel/docs/pisellActionPanel.$tab-design.md +0 -148
  704. package/es/components/pisellActionPanel/docs/pisellActionPanel.$tab-dev.md +0 -53
  705. package/es/components/pisellActionPanel/docs/pisellActionPanel.$tab-test.md +0 -64
  706. package/es/components/pisellActionPanel/docs/pisellActionPanel.md +0 -160
  707. package/es/components/pisellActionPanel/index.d.ts +0 -2
  708. package/es/components/pisellActionPanel/types.d.ts +0 -87
  709. package/es/components/pisellBaseCard/PisellBaseCard.d.ts +0 -20
  710. package/es/components/pisellBaseCard/PisellBaseCard.js +0 -73
  711. package/es/components/pisellBaseCard/PisellBaseCard.less +0 -25
  712. package/es/components/pisellBaseCard/docs/pisellBaseCard.$tab-design.md +0 -144
  713. package/es/components/pisellBaseCard/docs/pisellBaseCard.$tab-dev.md +0 -92
  714. package/es/components/pisellBaseCard/docs/pisellBaseCard.$tab-test.md +0 -86
  715. package/es/components/pisellBaseCard/docs/pisellBaseCard.md +0 -165
  716. package/es/components/pisellBaseCard/index.d.ts +0 -2
  717. package/es/components/pisellBaseCard/types.d.ts +0 -49
  718. package/es/components/pisellCustomerBrief/PisellCustomerBrief.d.ts +0 -57
  719. package/es/components/pisellCustomerBrief/PisellCustomerBrief.js +0 -92
  720. package/es/components/pisellCustomerBrief/PisellCustomerBrief.less +0 -8
  721. package/es/components/pisellCustomerBrief/docs/pisellCustomerBrief.$tab-design.md +0 -115
  722. package/es/components/pisellCustomerBrief/docs/pisellCustomerBrief.$tab-dev.md +0 -73
  723. package/es/components/pisellCustomerBrief/docs/pisellCustomerBrief.$tab-test.md +0 -66
  724. package/es/components/pisellCustomerBrief/docs/pisellCustomerBrief.md +0 -132
  725. package/es/components/pisellCustomerBrief/index.d.ts +0 -2
  726. package/es/components/pisellCustomerBrief/types.d.ts +0 -86
  727. package/es/components/pisellEntityCard/PisellEntityCard.d.ts +0 -47
  728. package/es/components/pisellEntityCard/PisellEntityCard.js +0 -315
  729. package/es/components/pisellEntityCard/PisellEntityCard.less +0 -362
  730. package/es/components/pisellEntityCard/docs/pisellEntityCard.$tab-design.md +0 -209
  731. package/es/components/pisellEntityCard/docs/pisellEntityCard.$tab-dev.md +0 -82
  732. package/es/components/pisellEntityCard/docs/pisellEntityCard.$tab-test.md +0 -122
  733. package/es/components/pisellEntityCard/docs/pisellEntityCard.md +0 -176
  734. package/es/components/pisellEntityCard/index.d.ts +0 -2
  735. package/es/components/pisellEntityCard/types.d.ts +0 -148
  736. package/es/components/pisellExport/PisellExport.d.ts +0 -11
  737. package/es/components/pisellExport/PisellExport.js +0 -44
  738. package/es/components/pisellExport/PisellExport.less +0 -141
  739. package/es/components/pisellExport/docs/pisellExport.$tab-design.md +0 -116
  740. package/es/components/pisellExport/docs/pisellExport.$tab-dev.md +0 -132
  741. package/es/components/pisellExport/docs/pisellExport.$tab-test.md +0 -61
  742. package/es/components/pisellExport/docs/pisellExport.md +0 -162
  743. package/es/components/pisellExport/index.d.ts +0 -2
  744. package/es/components/pisellExport/types.d.ts +0 -67
  745. package/es/components/pisellImport/PisellImport.d.ts +0 -11
  746. package/es/components/pisellImport/PisellImport.js +0 -81
  747. package/es/components/pisellImport/PisellImport.less +0 -141
  748. package/es/components/pisellImport/docs/pisellImport.$tab-design.md +0 -121
  749. package/es/components/pisellImport/docs/pisellImport.$tab-dev.md +0 -137
  750. package/es/components/pisellImport/docs/pisellImport.$tab-test.md +0 -69
  751. package/es/components/pisellImport/docs/pisellImport.md +0 -174
  752. package/es/components/pisellImport/index.d.ts +0 -2
  753. package/es/components/pisellImport/types.d.ts +0 -89
  754. package/es/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendarDemo.js +0 -3811
  755. package/es/components/productCard/components/Header/Actions/index.less +0 -15
  756. package/es/theme/pisell-components.js +0 -76
  757. package/lib/components/PisellContactBrief/PisellContactBrief.d.ts +0 -34
  758. package/lib/components/PisellContactBrief/PisellContactBrief.js +0 -158
  759. package/lib/components/PisellContactBrief/PisellContactBrief.less +0 -192
  760. package/lib/components/PisellContactBrief/components/ContactFormModal.js +0 -139
  761. package/lib/components/PisellContactBrief/docs/PisellContactBrief.$tab-design.md +0 -109
  762. package/lib/components/PisellContactBrief/docs/PisellContactBrief.$tab-dev.md +0 -106
  763. package/lib/components/PisellContactBrief/docs/PisellContactBrief.$tab-test.md +0 -125
  764. package/lib/components/PisellContactBrief/docs/PisellContactBrief.md +0 -129
  765. package/lib/components/PisellContactBrief/index.d.ts +0 -2
  766. package/lib/components/PisellContactBrief/locales.js +0 -57
  767. package/lib/components/PisellContactBrief/types.d.ts +0 -86
  768. package/lib/components/Template/[ComponentName].less +0 -1
  769. package/lib/components/Template/docs/[ComponentName].$tab-design.md +0 -7
  770. package/lib/components/Template/docs/[ComponentName].$tab-dev.md +0 -1137
  771. package/lib/components/Template/docs/[ComponentName].$tab-test.md +0 -7
  772. package/lib/components/Template/docs/[ComponentName].md +0 -510
  773. package/lib/components/hardwareErrorTip/errorCard/index.d.ts +0 -25
  774. package/lib/components/hardwareErrorTip/errorCard/index.js +0 -71
  775. package/lib/components/hardwareErrorTip/errorCard/index.less +0 -137
  776. package/lib/components/hardwareErrorTip/errorTipStatistics/index.d.ts +0 -10
  777. package/lib/components/hardwareErrorTip/errorTipStatistics/index.js +0 -34
  778. package/lib/components/hardwareErrorTip/errorTipStatistics/index.less +0 -34
  779. package/lib/components/hardwareErrorTip/index.d.ts +0 -20
  780. package/lib/components/hardwareErrorTip/index.js +0 -153
  781. package/lib/components/hardwareErrorTip/index.less +0 -95
  782. package/lib/components/hardwareErrorTip/logCard/index.d.ts +0 -25
  783. package/lib/components/hardwareErrorTip/logCard/index.js +0 -75
  784. package/lib/components/hardwareErrorTip/logCard/index.less +0 -121
  785. package/lib/components/hardwareErrorTip/readme.md +0 -309
  786. package/lib/components/hardwareErrorTip/types.js +0 -57
  787. package/lib/components/pisellActionPanel/PisellActionPanel.d.ts +0 -24
  788. package/lib/components/pisellActionPanel/PisellActionPanel.js +0 -71
  789. package/lib/components/pisellActionPanel/PisellActionPanel.less +0 -69
  790. package/lib/components/pisellActionPanel/docs/pisellActionPanel.$tab-design.md +0 -148
  791. package/lib/components/pisellActionPanel/docs/pisellActionPanel.$tab-dev.md +0 -53
  792. package/lib/components/pisellActionPanel/docs/pisellActionPanel.$tab-test.md +0 -64
  793. package/lib/components/pisellActionPanel/docs/pisellActionPanel.md +0 -160
  794. package/lib/components/pisellActionPanel/index.d.ts +0 -2
  795. package/lib/components/pisellActionPanel/types.d.ts +0 -87
  796. package/lib/components/pisellBaseCard/PisellBaseCard.d.ts +0 -20
  797. package/lib/components/pisellBaseCard/PisellBaseCard.js +0 -76
  798. package/lib/components/pisellBaseCard/PisellBaseCard.less +0 -25
  799. package/lib/components/pisellBaseCard/docs/pisellBaseCard.$tab-design.md +0 -144
  800. package/lib/components/pisellBaseCard/docs/pisellBaseCard.$tab-dev.md +0 -92
  801. package/lib/components/pisellBaseCard/docs/pisellBaseCard.$tab-test.md +0 -86
  802. package/lib/components/pisellBaseCard/docs/pisellBaseCard.md +0 -165
  803. package/lib/components/pisellBaseCard/index.d.ts +0 -2
  804. package/lib/components/pisellBaseCard/types.d.ts +0 -49
  805. package/lib/components/pisellCustomerBrief/PisellCustomerBrief.d.ts +0 -57
  806. package/lib/components/pisellCustomerBrief/PisellCustomerBrief.js +0 -94
  807. package/lib/components/pisellCustomerBrief/PisellCustomerBrief.less +0 -8
  808. package/lib/components/pisellCustomerBrief/docs/pisellCustomerBrief.$tab-design.md +0 -115
  809. package/lib/components/pisellCustomerBrief/docs/pisellCustomerBrief.$tab-dev.md +0 -73
  810. package/lib/components/pisellCustomerBrief/docs/pisellCustomerBrief.$tab-test.md +0 -66
  811. package/lib/components/pisellCustomerBrief/docs/pisellCustomerBrief.md +0 -132
  812. package/lib/components/pisellCustomerBrief/index.d.ts +0 -2
  813. package/lib/components/pisellCustomerBrief/types.d.ts +0 -86
  814. package/lib/components/pisellEntityCard/PisellEntityCard.d.ts +0 -47
  815. package/lib/components/pisellEntityCard/PisellEntityCard.js +0 -318
  816. package/lib/components/pisellEntityCard/PisellEntityCard.less +0 -362
  817. package/lib/components/pisellEntityCard/docs/pisellEntityCard.$tab-design.md +0 -209
  818. package/lib/components/pisellEntityCard/docs/pisellEntityCard.$tab-dev.md +0 -82
  819. package/lib/components/pisellEntityCard/docs/pisellEntityCard.$tab-test.md +0 -122
  820. package/lib/components/pisellEntityCard/docs/pisellEntityCard.md +0 -176
  821. package/lib/components/pisellEntityCard/index.d.ts +0 -2
  822. package/lib/components/pisellEntityCard/types.d.ts +0 -148
  823. package/lib/components/pisellExport/PisellExport.d.ts +0 -11
  824. package/lib/components/pisellExport/PisellExport.js +0 -47
  825. package/lib/components/pisellExport/PisellExport.less +0 -141
  826. package/lib/components/pisellExport/docs/pisellExport.$tab-design.md +0 -116
  827. package/lib/components/pisellExport/docs/pisellExport.$tab-dev.md +0 -132
  828. package/lib/components/pisellExport/docs/pisellExport.$tab-test.md +0 -61
  829. package/lib/components/pisellExport/docs/pisellExport.md +0 -162
  830. package/lib/components/pisellExport/index.d.ts +0 -2
  831. package/lib/components/pisellExport/types.d.ts +0 -67
  832. package/lib/components/pisellImport/PisellImport.d.ts +0 -11
  833. package/lib/components/pisellImport/PisellImport.js +0 -84
  834. package/lib/components/pisellImport/PisellImport.less +0 -141
  835. package/lib/components/pisellImport/docs/pisellImport.$tab-design.md +0 -121
  836. package/lib/components/pisellImport/docs/pisellImport.$tab-dev.md +0 -137
  837. package/lib/components/pisellImport/docs/pisellImport.$tab-test.md +0 -69
  838. package/lib/components/pisellImport/docs/pisellImport.md +0 -174
  839. package/lib/components/pisellImport/index.d.ts +0 -2
  840. package/lib/components/pisellImport/types.d.ts +0 -89
  841. package/lib/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendarDemo.js +0 -3813
  842. package/lib/components/productCard/components/Header/Actions/index.less +0 -15
  843. package/lib/theme/pisell-components.js +0 -76
  844. /package/es/components/pisellQuickFilter/{doc → docs}/PisellQuickFilter.$tab-design.md +0 -0
  845. /package/es/components/pisellQuickFilter/{doc → docs}/PisellQuickFilter.$tab-dev.md +0 -0
  846. /package/es/components/pisellQuickFilter/{doc → docs}/PisellQuickFilter.$tab-test.md +0 -0
  847. /package/lib/components/pisellQuickFilter/{doc → docs}/PisellQuickFilter.$tab-design.md +0 -0
  848. /package/lib/components/pisellQuickFilter/{doc → docs}/PisellQuickFilter.$tab-dev.md +0 -0
  849. /package/lib/components/pisellQuickFilter/{doc → docs}/PisellQuickFilter.$tab-test.md +0 -0
@@ -12,89 +12,107 @@ category: pro
12
12
 
13
13
  # Shell Frame 记录看板外壳
14
14
 
15
- Shell Frame 是 **PisellRecordBoard** 的外壳子组件,基于 `PisellShellFrame` 实现,提供「工具栏 + 多选操作栏 + 内容区 + 分页」的完整布局,与 **GridLayout** / **CardLayout** 搭配使用。
15
+ Shell Frame 是 **PisellRecordBoard** 的外壳子组件,基于 `PisellShellFrame` 实现,提供「工具栏 + 多选操作栏 + 内容区 +
16
+ 分页」的完整布局,与 **GridLayout** / **CardLayout** 搭配使用。
16
17
 
17
18
  ## 组件介绍
18
19
 
19
20
  - **使用方式**:在 `PisellRecordBoard` 下使用 `PisellRecordBoard.ShellFrame` 包裹内容区(Layout),即可获得工具栏、多选操作栏和底部分页。
20
- - **数据与配置**:Shell Frame 内各子组件通过 **useRecordBoardContext** 消费容器的 `data`、`searchParams`、`onSearch`、`columnVisibility` 等;工具栏、分页、批量操作栏的展示与行为由 **grid** / **toolBar** / **pagination** / **batchActionBar** 等打散配置控制。
21
+ - **数据与配置**:Shell Frame 内各子组件通过 **useRecordBoardContext** 消费容器的 `data`、`searchParams`、`onSearch`、
22
+ `columnVisibility` 等;工具栏、分页、批量操作栏的展示与行为由 **grid** / **toolBar** / **pagination** / **batchActionBar
23
+ ** 等打散配置控制。
21
24
 
22
25
  ## 结构示意
23
26
 
24
27
  ```
25
28
  ┌─────────────────────────────────────────────────────────────────┐
26
- │ ToolBar(左侧:QuickFilter + 搜索;右侧:列设置、排序、筛选、重置)
29
+ │ ToolBar(最左可选:表格/平面图;左侧 QuickFilter + 搜索;右侧列设置、排序、筛选、重置)
27
30
  ├─────────────────────────────────────────────────────────────────┤
28
31
  │ BatchActionBar(有选中项时展示:全选/反选/清空/删除 + 自定义 actions)│
29
32
  ├─────────────────────────────────────────────────────────────────┤
30
- │ children(通常为 GridLayout 或 CardLayout)
33
+ 主内容:childrenGridLayout/CardLayout)或 PisellFloorMapLayout
31
34
  ├─────────────────────────────────────────────────────────────────┤
32
- │ Pagination(底部分页)
35
+ │ Pagination(仅表格主内容时展示;平面图模式隐藏)
33
36
  └─────────────────────────────────────────────────────────────────┘
34
37
  ```
35
38
 
39
+ ### 平面图模式(`FloorMap` 子组件 / 根级 `floorMap`)
40
+
41
+ 当 ShellFrame 解析到 **平面图能力**(子节点含 **`PisellRecordBoard.FloorMap`** 和/或根级传入 **`floorMap`**)且当前 *
42
+ *`bodyView === 'floorMap'`**(或仅平面图、无表格区子节点时固定为平面图)时:
43
+
44
+ - 主内容区渲染 **PisellFloorMapLayout**,**不再**使用 `ScrollAreaMeasurer` 包裹(避免与画布滚动/缩放冲突)。
45
+ - **底部分页不展示**;批量操作栏仍保留(若业务需要可再在 BatchActionBar 层做显隐)。
46
+ - 切换回 **表格** 时恢复滚动测量与底部分页。
47
+ - **仅平面图、无 Grid 子节点** 时,左侧 **QuickFilter** 仍可来自 **`grid.columns`**(列上 `filter.quickFilter`)或 *
48
+ *`toolBar.quickFilter.filterList`**
49
+ ;详见 [PisellRecordBoard - 仅平面图快筛](./PisellRecordBoard.md#仅平面图左侧快筛与搜索无-gridlayout)。
50
+
51
+ 详见 [PisellRecordBoard 使用文档](./PisellRecordBoard.md) 中的「平面图(Floor Map)」章节。
52
+
36
53
  ## 使用方式
37
54
 
38
55
  ```tsx
39
56
  import React from 'react';
40
- import { PisellRecordBoard } from '@pisell/materials';
57
+ import {PisellRecordBoard} from '@pisell/materials';
41
58
 
42
- const list = [{ id: '1', name: '示例' }];
43
- const columns = [{ title: '名称', dataIndex: 'name', key: 'name' }];
59
+ const list = [{id: '1', name: '示例'}];
60
+ const columns = [{title: '名称', dataIndex: 'name', key: 'name'}];
44
61
 
45
- function Demo() {
46
- return (
62
+ export default () => (
47
63
  <PisellRecordBoard
48
- rowKey="id"
49
- data={list}
50
- loading={false}
51
- total={100}
52
- pagination={{ pageNumber: 1, pageSize: 10 }}
53
- onPageChange={() => {}}
54
- searchParams={{}}
55
- onSearch={() => {}}
56
- grid={{ columns }}
64
+ rowKey="id"
65
+ data={list}
66
+ loading={false}
67
+ total={100}
68
+ pagination={{pageNumber: 1, pageSize: 10}}
69
+ onPageChange={() => {
70
+ }}
71
+ searchParams={{}}
72
+ onSearch={() => {
73
+ }}
74
+ grid={{columns}}
57
75
  >
58
- <PisellRecordBoard.ShellFrame>
59
- <PisellRecordBoard.GridLayout />
60
- </PisellRecordBoard.ShellFrame>
76
+ <PisellRecordBoard.ShellFrame>
77
+ <PisellRecordBoard.GridLayout/>
78
+ </PisellRecordBoard.ShellFrame>
61
79
  </PisellRecordBoard>
62
- );
63
- }
64
- export default Demo;
80
+ );
65
81
  ```
66
82
 
67
83
  ## 子模块说明
68
84
 
69
- | 模块 | 说明 |
70
- |------|------|
71
- | **ToolBar** | 工具栏。左侧:QuickFilter(可选)+ PisellFind 搜索;右侧:列设置、Sort、PisellFilter、ToolBarReset、slots.topRight。筛选项与排序项可由 `grid.columns` 派生,或通过 `toolBar.filter` / `toolBar.sort` 覆盖。 |
72
- | **BatchActionBar** | 多选操作栏。有选中行时展示;全选/反选/清空基于当前页 data;删除与自定义操作通过 `batchActionBar.actions` 等配置。 |
73
- | **Pagination** | 底部分页。从 context 取 `pagination`、`total`、`onPageChange`;可透传 `childComponentProps.pagination`。样式类名:`record-board-shell-frame-pagination`。 |
74
- | **Search** | 独立搜索槽(非 ToolBar 内嵌)。绑定 `searchParams.keyword` 与 `onSearch`,可通过 `childComponentProps.search` 透传 PisellFind 的 props。 |
75
- | **ToolBarReset** | 重置按钮。清空筛选与排序(filter.values、sort),并调用 `onSearch` / `onReset`。 |
76
- | **ToolBarQuickFilter** | 左侧内联快速筛选。将 quickFilter 直接展示在 ToolBar 左侧;与 `searchParams.filter` 联动。启用时建议 Filter 弹层传 `hiddenQuickFilter: true`。 |
77
- | **ColumnSetting** | 列显示隐藏入口。有 `grid.columns` 且 `toolBar.columnSetting !== false` 时在 ToolBar 右侧展示;点击弹出列显隐勾选。 |
85
+ | 模块 | 说明 |
86
+ |------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------|
87
+ | **ToolBar** | 工具栏。左侧:QuickFilter(可选)+ PisellFind 搜索;右侧:列设置、Sort、PisellFilter、ToolBarReset、slots.topRight。筛选项与排序项可由 `grid.columns` 派生,或通过 `toolBar.filter` / `toolBar.sort` 覆盖。 |
88
+ | **BatchActionBar** | 多选操作栏。有选中行时展示;全选/反选/清空基于当前页 data;删除与自定义操作通过 `batchActionBar.actions` 等配置。 |
89
+ | **Pagination** | 底部分页。从 context 取 `pagination`、`total`、`onPageChange`;可透传 `childComponentProps.pagination`。样式类名:`record-board-shell-frame-pagination`。 |
90
+ | **Search** | 独立搜索槽(非 ToolBar 内嵌)。绑定 `searchParams.keyword` 与 `onSearch`,可通过 `childComponentProps.search` 透传 PisellFind 的 props。 |
91
+ | **ToolBarReset** | 重置按钮。清空筛选与排序(filter.values、sort),并调用 `onSearch` / `onReset`。 |
92
+ | **ToolBarQuickFilter** | 左侧内联快速筛选。将 quickFilter 直接展示在 ToolBar 左侧;与 `searchParams.filter` 联动。启用时建议 Filter 弹层传 `hiddenQuickFilter: true`。 |
93
+ | **ColumnSetting** | 列显示隐藏入口。有 `grid.columns` 且 `toolBar.columnSetting !== false` 时在 ToolBar 右侧展示;点击弹出列显隐勾选。 |
78
94
 
79
95
  ## 配置入口(childComponentProps)
80
96
 
81
97
  Shell Frame 内各块通过 RecordBoard 打散传入的 **grid**、**toolBar**、**pagination**、**batchActionBar** 等生效,对应关系如下。
82
98
 
83
- | 配置键 | 作用范围 | 说明 |
84
- |--------|----------|------|
85
- | **grid** | 列、滚动、多选、列默认隐藏 | `columns`、`defaultHiddenColumnKeys`、列上 `hidden: true` 参与列显隐;ColumnSetting 据此展示列列表。 |
86
- | **toolBar** | ToolBar | `search`:true/对象/false,控制搜索展示与透传。`filter`:同上,控制筛选弹层。`sort`:同上,控制排序。`quickFilter`:true 或 `{ filterList, formFiltersPrefix, size }`。`columnSetting`:是否显示列设置入口,默认 true。`topLeft` / `topRight` / `bottomLeft` / `bottomRight` / `tabs`:插槽。 |
87
- | **pagination** | Pagination | 透传给底部分页组件(如 showSizeChanger、sizeOptions 等)。 |
88
- | **batchActionBar** | BatchActionBar | 与 PisellBatchActionBar 的 props 对齐:`actions`、`defaultActions`、`overflowThreshold`、`onDelete` 等。 |
99
+ | 配置键 | 作用范围 | 说明 |
100
+ |--------------------|----------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
101
+ | **grid** | 列、滚动、多选、列默认隐藏 | `columns`、`defaultHiddenColumnKeys`、列上 `hidden: true` 参与列显隐;ColumnSetting 据此展示列列表。 |
102
+ | **toolBar** | ToolBar | `search`:true/对象/false,控制搜索展示与透传。`filter`:同上,控制筛选弹层。`sort`:同上,控制排序。`quickFilter`:true 或 `{ filterList, formFiltersPrefix, size }`。`columnSetting`:是否显示列设置入口,默认 true。`topLeft` / `topRight` / `bottomLeft` / `bottomRight` / `tabs`:插槽。 |
103
+ | **pagination** | Pagination | 透传给底部分页组件(如 showSizeChanger、sizeOptions 等)。 |
104
+ | **batchActionBar** | BatchActionBar | 与 PisellBatchActionBar 的 props 对齐:`actions`、`defaultActions`、`overflowThreshold`、`onDelete` 等。 |
89
105
 
90
106
  ## 搜索与筛选约定
91
107
 
92
108
  - **搜索**:默认绑定 `searchParams.keyword`,变更时调用 `onSearch({ ...searchParams, keyword: value })`。
93
- - **筛选**:绑定 `searchParams.filter`,结构为 `{ quickFilter, otherFilter, values }`;ToolBar 内右侧 Filter 弹层默认 `hiddenQuickFilter: true`,快筛全部在左侧 QuickFilter 展示。**筛选默认值**:在受控用法下,给传入的 `searchParams` 设置初始值,在 `filter.values` 里按 quickFilter 的 `name`/`key` 写好默认值即可(详见 [PisellRecordBoard - 筛选默认值](./PisellRecordBoard.md#筛选默认值quickfilter))。
109
+ - **筛选**:绑定 `searchParams.filter`,结构为 `{ quickFilter, otherFilter, values }`;ToolBar 内右侧 Filter 弹层默认
110
+ `hiddenQuickFilter: true`,快筛全部在左侧 QuickFilter 展示。**筛选默认值**:在受控用法下,给传入的 `searchParams` 设置初始值,在
111
+ `filter.values` 里按 quickFilter 的 `name`/`key`
112
+ 写好默认值即可(详见 [PisellRecordBoard - 筛选默认值](./PisellRecordBoard.md#筛选默认值quickfilter))。
94
113
  - **排序**:绑定 `searchParams.sort`,单值字符串;Sort 与 Filter 变更均通过 `onSearch` 写回 `searchParams`。
95
114
 
96
115
  ## 相关文档
97
116
 
98
- - [PisellRecordBoard](./PisellRecordBoard.md)
99
- - [架构说明](./architecture.md)
100
- - [列与筛选/排序绑定](./columns-filter-binding.md)
117
+ - [PisellRecordBoard 使用文档](./PisellRecordBoard.md)
118
+ - [PisellRecordBoard 开发文档](./PisellRecordBoard.$tab-dev.md)(ShellFrame 分支实现)
@@ -1,4 +1,4 @@
1
- import { RecordBoardBodyView, RecordBoardCalendarBookingLike, RecordBoardCalendarProps, RecordBoardCalendarResource, RecordBoardChildComponentProps, RecordBoardColumnFilterConfig, RecordBoardColumnType, RecordBoardContextValue, RecordBoardFieldType, RecordBoardFloorMapProps, RecordBoardGetOptions, RecordBoardGridProps, RecordBoardLayoutType, RecordBoardOptionItem, RecordBoardProps, RecordBoardToolBarProps } from "./types.js";
1
+ import { DEFAULT_RESOURCE_WALL_LAYOUT_PERSIST, RecordBoardBlockedTimeMergedRange, RecordBoardBlockedTimePanelPayload, RecordBoardBodyView, RecordBoardBookingMoveDraft, RecordBoardCalendarBlockedTimePayload, RecordBoardCalendarBookingLike, RecordBoardCalendarBookingRenderArgs, RecordBoardCalendarDayOverlayBooking, RecordBoardCalendarProps, RecordBoardCalendarResource, RecordBoardCalendarResourceRenderArgs, RecordBoardCalendarSelectedFreeSlot, RecordBoardCalendarTimelineHeaderGroup, RecordBoardCalendarTimelineHeaderRenderContext, RecordBoardChildComponentProps, RecordBoardColumnFilterConfig, RecordBoardColumnType, RecordBoardContextValue, RecordBoardCreateBookingDayGroup, RecordBoardCreateBookingFromSelectionPayload, RecordBoardFieldType, RecordBoardFloorMapProps, RecordBoardGetOptions, RecordBoardGridProps, RecordBoardLayoutType, RecordBoardLayoutVariant, RecordBoardOptionItem, RecordBoardProps, RecordBoardResourceWallCardModel, RecordBoardResourceWallLayoutPersist, RecordBoardResourceWallProps, RecordBoardToolBarProps } from "./types.js";
2
2
  import { RecordBoardGridView } from "./layouts/GridLayout/Grid.js";
3
3
  import { GridLayout } from "./layouts/GridLayout/index.js";
4
4
  import { RecordBoardCardList } from "./layouts/CardLayout/CardList.js";
@@ -9,9 +9,12 @@ import { RecordBoardPagination } from "./shellFrame/Pagination/index.js";
9
9
  import { RecordBoardSearch } from "./shellFrame/Search/index.js";
10
10
  import { RecordBoardFloorMap } from "./shellFrame/FloorMap.js";
11
11
  import { RecordBoardCalendar } from "./shellFrame/Calendar/RecordBoardCalendar.js";
12
+ import { RecordBoardResourceWall } from "./shellFrame/ResourceWall/RecordBoardResourceWall.js";
12
13
  import { useRecordBoardShellBodyMeta } from "./shellFrame/ShellBodyMetaContext.js";
13
14
  import { RecordBoardShellFrame } from "./shellFrame/index.js";
14
15
  import { useRecordBoardContext } from "./hooks/useRecordBoardContext.js";
16
+ import { DEFAULT_RESOURCE_WALL_FILTER_FIELD_KEY } from "./shellFrame/ResourceWall/PisellRecordBoardResourceWallView.js";
17
+ import { AdaptColumnsForPhoneLayoutOptions, RECORD_BOARD_PHONE_GRID_CLASS, adaptColumnsForPhoneLayout } from "./utils/recordBoardPhoneGrid.js";
15
18
  import React from "react";
16
19
 
17
20
  //#region src/components/pisellRecordBoard/index.d.ts
@@ -32,6 +35,10 @@ interface PisellRecordBoardType extends React.FC<RecordBoardProps> {
32
35
  * 日历槽位:仅在 ShellFrame 内声明,无 DOM;与 GridLayout / FloorMap 并存时出现「表格 / 平面图 / 日历」切换。
33
36
  */
34
37
  Calendar: typeof RecordBoardCalendar;
38
+ /**
39
+ * 大屏资源墙槽位:仅在 ShellFrame 内声明,无 DOM;与其它主区并存时出现视图切换。
40
+ */
41
+ ResourceWall: typeof RecordBoardResourceWall;
35
42
  /** 单独使用:搜索槽(PisellFind,绑定 searchParams.keyword / onSearch) */
36
43
  Search: typeof RecordBoardSearch;
37
44
  /** 单独使用:工具栏(PisellToolBar,含搜索/导出,可透传 topLeft/topRight 等) */
@@ -1,16 +1,20 @@
1
1
  import PisellRecordBoard$1 from "./PisellRecordBoard.js";
2
2
  import { useRecordBoardContext } from "./hooks/useRecordBoardContext.js";
3
+ import "./utils/recordBoardPhoneGrid.js";
3
4
  import RecordBoardGridView from "./layouts/GridLayout/Grid.js";
4
5
  import GridLayout from "./layouts/GridLayout/index.js";
5
6
  import RecordBoardCardList from "./layouts/CardLayout/CardList.js";
6
7
  import CardLayout from "./layouts/CardLayout/index.js";
7
8
  import RecordBoardFloorMap from "./shellFrame/FloorMap.js";
8
9
  import RecordBoardCalendar from "./shellFrame/Calendar/RecordBoardCalendar.js";
10
+ import RecordBoardResourceWall from "./shellFrame/ResourceWall/RecordBoardResourceWall.js";
9
11
  import "./shellFrame/ShellBodyMetaContext.js";
10
12
  import RecordBoardToolBar from "./shellFrame/ToolBar/index.js";
11
13
  import RecordBoardBatchActionBar from "./shellFrame/BatchActionBar/index.js";
12
14
  import RecordBoardPagination from "./shellFrame/Pagination/index.js";
13
15
  import RecordBoardSearch from "./shellFrame/Search/index.js";
16
+ import "./types.js";
17
+ import "./shellFrame/ResourceWall/PisellRecordBoardResourceWallView.js";
14
18
  import RecordBoardShellFrame from "./shellFrame/index.js";
15
19
  //#region src/components/pisellRecordBoard/index.tsx
16
20
  const PisellRecordBoard = PisellRecordBoard$1;
@@ -19,6 +23,7 @@ PisellRecordBoard.GridLayout = GridLayout;
19
23
  PisellRecordBoard.CardLayout = CardLayout;
20
24
  PisellRecordBoard.FloorMap = RecordBoardFloorMap;
21
25
  PisellRecordBoard.Calendar = RecordBoardCalendar;
26
+ PisellRecordBoard.ResourceWall = RecordBoardResourceWall;
22
27
  PisellRecordBoard.Search = RecordBoardSearch;
23
28
  PisellRecordBoard.ToolBar = RecordBoardToolBar;
24
29
  PisellRecordBoard.Pagination = RecordBoardPagination;
@@ -3,8 +3,10 @@ import { _objectSpread2 } from "../../../../_virtual/_@oxc-project_runtime@0.122
3
3
  import { _objectWithoutProperties } from "../../../../_virtual/_@oxc-project_runtime@0.122.0/helpers/objectWithoutProperties.js";
4
4
  import { computeUniformColumnSummary, getRecordBoardColumnKey, isTrivialUniformSummaryReactContent, processColumnsForGrid } from "../../utils/recordBoardColumns.js";
5
5
  import { useRecordBoardContext } from "../../hooks/useRecordBoardContext.js";
6
+ import { resolveRecordBoardPhoneScrollX } from "../../utils/recordBoardPhoneGrid.js";
6
7
  import React, { useEffect, useMemo, useRef, useState } from "react";
7
- import { Table } from "antd";
8
+ import { Spin, Table } from "antd";
9
+ import classNames from "classnames";
8
10
  import "./Grid.less";
9
11
  //#region src/components/pisellRecordBoard/layouts/GridLayout/Grid.tsx
10
12
  const _excluded = [
@@ -12,7 +14,7 @@ const _excluded = [
12
14
  "columns",
13
15
  "rowKey",
14
16
  "rowSelection"
15
- ], _excluded2 = ["autoCalc"];
17
+ ], _excluded2 = ["autoCalc"], _excluded3 = ["onScroll"], _excluded4 = ["summary"];
16
18
  function getRowKey(record, rowKey) {
17
19
  var _ref, _record$id;
18
20
  if (typeof rowKey === "function") return rowKey(record);
@@ -48,16 +50,25 @@ const CONTEXT_ONLY_KEYS = [
48
50
  "setScrollAreaHeight",
49
51
  "collapseUniformColumns",
50
52
  "columnOrder",
51
- "onColumnOrderChange"
53
+ "onColumnOrderChange",
54
+ "gridInfiniteScroll",
55
+ "infiniteScroll",
56
+ "paginationRender",
57
+ "layoutVariant",
58
+ "phoneColumnWidthCaps",
59
+ "phoneColumnWidthRatioByKey",
60
+ "phoneColumnWidthRatio"
52
61
  ];
53
62
  const RecordBoardGridView = (props) => {
54
- var _ref2, _ctx$data2, _ctx$data3;
63
+ var _ref2, _ctx$data2, _ctx$data4;
55
64
  const ctx = useRecordBoardContext({ displayName: "grid" });
56
65
  const { render, columns: columnsProp, rowKey: rowKeyProp, rowSelection: rowSelectionProp } = props, rest = _objectWithoutProperties(props, _excluded);
57
66
  const rawColumns = (_ref2 = columnsProp !== null && columnsProp !== void 0 ? columnsProp : ctx.columns) !== null && _ref2 !== void 0 ? _ref2 : [];
58
67
  const columnVisibility = ctx.columnVisibility;
59
68
  const columnOrder = ctx.columnOrder;
60
69
  const collapseUniformColumns = ctx.collapseUniformColumns !== false;
70
+ const isPhoneLayout = ctx.layoutVariant === "phone";
71
+ const gridClassName = typeof ctx.className === "string" ? ctx.className : void 0;
61
72
  /** 同值列总结区高度,用于 autoCalc 时正确计算 scroll.y */
62
73
  const summaryRef = useRef(null);
63
74
  const [uniformSummaryHeight, setUniformSummaryHeight] = useState(0);
@@ -102,7 +113,8 @@ const RecordBoardGridView = (props) => {
102
113
  columnVisibility,
103
114
  columnOrder,
104
115
  collapseUniformColumns,
105
- ctx.data
116
+ ctx.data,
117
+ isPhoneLayout
106
118
  ]);
107
119
  const tableRowKey = useMemo(() => {
108
120
  var _ref3, _ctx$rowKey;
@@ -147,6 +159,7 @@ const RecordBoardGridView = (props) => {
147
159
  const gridTableProps = useMemo(() => {
148
160
  const picked = {};
149
161
  Object.keys(ctx).forEach((k) => {
162
+ if (k === "onScroll") return;
150
163
  if (CONTEXT_ONLY_KEYS.includes(k)) return;
151
164
  picked[k] = ctx[k];
152
165
  });
@@ -156,22 +169,31 @@ const RecordBoardGridView = (props) => {
156
169
  const dataSource = (_ctx$data2 = ctx.data) !== null && _ctx$data2 !== void 0 ? _ctx$data2 : [];
157
170
  const isEmpty = !Array.isArray(dataSource) || dataSource.length === 0;
158
171
  const sumColumnWidths = useMemo(() => {
159
- return columns.reduce((sum, col) => {
160
- var _col$width;
161
- return sum + ((_col$width = col.width) !== null && _col$width !== void 0 ? _col$width : 250);
162
- }, 0) || 2e3;
163
- }, [columns]);
172
+ const sum = columns.reduce((acc, col) => {
173
+ if (typeof col.width === "number" && Number.isFinite(col.width)) return acc + col.width;
174
+ return isPhoneLayout ? acc : acc + 250;
175
+ }, 0);
176
+ if (sum > 0) return sum;
177
+ return isPhoneLayout ? 0 : 2e3;
178
+ }, [columns, isPhoneLayout]);
179
+ const selectionColumnWidth = useMemo(() => {
180
+ if (!rowSelection || typeof rowSelection !== "object") return 0;
181
+ const w = rowSelection.columnWidth;
182
+ return typeof w === "number" && Number.isFinite(w) ? w : 48;
183
+ }, [rowSelection]);
184
+ const gridInfiniteScroll = ctx.gridInfiniteScroll === true;
164
185
  const tableScroll = useMemo(() => {
165
186
  var _rest$scroll;
166
187
  const scroll = (_rest$scroll = rest.scroll) !== null && _rest$scroll !== void 0 ? _rest$scroll : ctx.scroll;
167
- const scrollX = isEmpty && scroll && typeof scroll.x !== "number" ? sumColumnWidths : scroll === null || scroll === void 0 ? void 0 : scroll.x;
188
+ const rawScrollX = isEmpty && scroll && typeof scroll.x !== "number" ? sumColumnWidths : scroll === null || scroll === void 0 ? void 0 : scroll.x;
189
+ const scrollX = isPhoneLayout ? resolveRecordBoardPhoneScrollX(rawScrollX, sumColumnWidths, { selectionColumnWidth }) : rawScrollX;
168
190
  if ((scroll === null || scroll === void 0 ? void 0 : scroll.autoCalc) && typeof ctx.scrollAreaHeight === "number") {
169
191
  const wrapHeight = ctx.scrollAreaHeight;
170
192
  const reservedHeight = 40 + uniformSummaryHeight + 24;
171
193
  return {
172
194
  x: scrollX !== null && scrollX !== void 0 ? scrollX : sumColumnWidths,
173
195
  y: Math.max(wrapHeight - reservedHeight, 100),
174
- scrollToFirstRowOnChange: scroll.scrollToFirstRowOnChange
196
+ scrollToFirstRowOnChange: gridInfiniteScroll ? false : scroll.scrollToFirstRowOnChange
175
197
  };
176
198
  }
177
199
  if (scroll && typeof scroll === "object") {
@@ -179,7 +201,7 @@ const RecordBoardGridView = (props) => {
179
201
  const resolved = Object.keys(restScroll).length ? restScroll : void 0;
180
202
  if (resolved) {
181
203
  var _ref5;
182
- return _objectSpread2(_objectSpread2({}, resolved), {}, { x: (_ref5 = scrollX !== null && scrollX !== void 0 ? scrollX : resolved.x) !== null && _ref5 !== void 0 ? _ref5 : sumColumnWidths });
204
+ return _objectSpread2(_objectSpread2({}, resolved), {}, { x: (_ref5 = scrollX !== null && scrollX !== void 0 ? scrollX : resolved.x) !== null && _ref5 !== void 0 ? _ref5 : sumColumnWidths }, gridInfiniteScroll ? { scrollToFirstRowOnChange: false } : {});
183
205
  }
184
206
  return resolved;
185
207
  }
@@ -192,11 +214,145 @@ const RecordBoardGridView = (props) => {
192
214
  columns,
193
215
  sumColumnWidths,
194
216
  isEmpty,
195
- uniformSummaryHeight
217
+ uniformSummaryHeight,
218
+ gridInfiniteScroll,
219
+ isPhoneLayout,
220
+ selectionColumnWidth
196
221
  ]);
222
+ /** 触底加载下一页:距底部约 48px 内触发,避免 loading 与重复 onPageChange */
223
+ const infiniteLoadLockRef = useRef(false);
224
+ /** 已触发 onPageChange、等待下一页数据:宿主可能不设 ctx.loading,需单独驱动表尾「加载中」 */
225
+ const [infiniteScrollFetching, setInfiniteScrollFetching] = useState(false);
226
+ useEffect(() => {
227
+ if (!ctx.loading) infiniteLoadLockRef.current = false;
228
+ }, [ctx.loading, dataSource.length]);
229
+ useEffect(() => {
230
+ setInfiniteScrollFetching(false);
231
+ }, [dataSource.length]);
232
+ /**
233
+ * 无限滚动:监听**实际发生滚动**的节点。
234
+ * - 有 `scroll.y` 时表体在内部滚动,类名在 ConfigProvider 下为 `.pisell-lowcode-table-body`(非 `.ant-table-body`);
235
+ * - `scrollAreaHeight` 未就绪或仅 `autoCalc` 未算高时,整表在 Shell 的 `.pisell-record-board-scroll-body` 内滚,仅绑表体会漏事件(如 HUD 抽屉内嵌表)。
236
+ */
237
+ const gridWrapRef = useRef(null);
238
+ const ctxRef = useRef(ctx);
239
+ ctxRef.current = ctx;
240
+ const restRef = useRef(rest);
241
+ restRef.current = rest;
242
+ const gridInfiniteRef = useRef(false);
243
+ gridInfiniteRef.current = gridInfiniteScroll;
244
+ useEffect(() => {
245
+ if (!gridInfiniteScroll) return;
246
+ const root = gridWrapRef.current;
247
+ if (!root) return;
248
+ const handler = (e) => {
249
+ var _r$onScroll, _onScroll2, _e$currentTarget, _c$data, _c$total;
250
+ const r = restRef.current;
251
+ const c = ctxRef.current;
252
+ const ev = e;
253
+ (_r$onScroll = r.onScroll) === null || _r$onScroll === void 0 || _r$onScroll.call(r, ev);
254
+ (_onScroll2 = c.onScroll) === null || _onScroll2 === void 0 || _onScroll2.call(c, ev);
255
+ if (!gridInfiniteRef.current) return;
256
+ if (c.loading || infiniteLoadLockRef.current) return;
257
+ const st = (_e$currentTarget = e.currentTarget) !== null && _e$currentTarget !== void 0 ? _e$currentTarget : e.target;
258
+ const dataLen = ((_c$data = c.data) !== null && _c$data !== void 0 ? _c$data : []).length;
259
+ const tot = (_c$total = c.total) !== null && _c$total !== void 0 ? _c$total : 0;
260
+ const { scrollTop, clientHeight, scrollHeight } = st;
261
+ const dist = scrollHeight - scrollTop - clientHeight;
262
+ if (dataLen >= tot) return;
263
+ if (dist > 48) return;
264
+ infiniteLoadLockRef.current = true;
265
+ setInfiniteScrollFetching(true);
266
+ c.onPageChange(c.pagination.pageNumber + 1, c.pagination.pageSize);
267
+ };
268
+ const listScrollTargets = (r) => {
269
+ const out = [];
270
+ const seen = /* @__PURE__ */ new Set();
271
+ const add = (el) => {
272
+ if (el && !seen.has(el)) {
273
+ seen.add(el);
274
+ out.push(el);
275
+ }
276
+ };
277
+ r.querySelectorAll(".ant-table-body, .pisell-lowcode-table-body").forEach((n) => add(n));
278
+ add(r.closest(".pisell-record-board-scroll-body"));
279
+ return out;
280
+ };
281
+ const cleanups = [];
282
+ const bind = () => {
283
+ cleanups.forEach((fn) => fn());
284
+ cleanups.length = 0;
285
+ listScrollTargets(root).forEach((el) => {
286
+ el.addEventListener("scroll", handler, { passive: true });
287
+ cleanups.push(() => el.removeEventListener("scroll", handler));
288
+ });
289
+ };
290
+ const t0 = window.setTimeout(() => bind(), 0);
291
+ const t1 = window.setTimeout(() => bind(), 120);
292
+ const t2 = window.setTimeout(() => bind(), 400);
293
+ return () => {
294
+ clearTimeout(t0);
295
+ clearTimeout(t1);
296
+ clearTimeout(t2);
297
+ cleanups.forEach((fn) => fn());
298
+ };
299
+ }, [
300
+ gridInfiniteScroll,
301
+ dataSource.length,
302
+ isEmpty,
303
+ ctx.scrollAreaHeight,
304
+ columns,
305
+ summaryItems.length
306
+ ]);
307
+ const tableRest = useMemo(() => {
308
+ if (!gridInfiniteScroll) return rest;
309
+ const _ref6 = rest, { onScroll: _onScroll } = _ref6;
310
+ return _objectWithoutProperties(_ref6, _excluded3);
311
+ }, [gridInfiniteScroll, rest]);
312
+ const userGridSummary = gridTableProps.summary;
313
+ const infiniteSummaryColSpan = useMemo(() => {
314
+ return (Array.isArray(columns) ? columns.length : 1) + (rowSelection ? 1 : 0);
315
+ }, [columns, rowSelection]);
316
+ /** 无限滚动:在 Table.Summary 内展示状态(与宿主 summary 合并) */
317
+ const mergedTableSummary = useMemo(() => {
318
+ if (!gridInfiniteScroll) return userGridSummary;
319
+ return (pageData) => {
320
+ var _ctx$data3;
321
+ const userNode = typeof userGridSummary === "function" ? userGridSummary(pageData) : userGridSummary;
322
+ const len = ((_ctx$data3 = ctx.data) !== null && _ctx$data3 !== void 0 ? _ctx$data3 : []).length;
323
+ const tot = ctx.total;
324
+ const loadingMore = !!ctx.loading || infiniteScrollFetching;
325
+ const showBar = len > 0 || loadingMore;
326
+ if (!showBar && !userNode) return null;
327
+ const hasMore = tot == null || typeof tot !== "number" ? true : len < tot;
328
+ const allLoaded = typeof tot === "number" && tot > 0 && len > 0 && len >= tot;
329
+ let statusInner = null;
330
+ if (showBar) {
331
+ if (allLoaded) statusInner = /* @__PURE__ */ React.createElement("span", { className: "pisell-record-board-infinite-scroll-tip-done" }, getText("record-board-infinite-scroll-all-loaded"));
332
+ else if (hasMore && len > 0) statusInner = /* @__PURE__ */ React.createElement("span", { className: "pisell-record-board-infinite-scroll-tip-loading" }, /* @__PURE__ */ React.createElement(Spin, { size: "small" }), /* @__PURE__ */ React.createElement("span", null, getText("record-board-infinite-scroll-loading-more")));
333
+ }
334
+ const statusBlock = statusInner != null ? /* @__PURE__ */ React.createElement(Table.Summary, { fixed: "bottom" }, /* @__PURE__ */ React.createElement(Table.Summary.Row, { className: "pisell-record-board-infinite-scroll-summary-row" }, /* @__PURE__ */ React.createElement(Table.Summary.Cell, {
335
+ index: 0,
336
+ colSpan: infiniteSummaryColSpan,
337
+ align: "left"
338
+ }, /* @__PURE__ */ React.createElement("div", { className: "pisell-record-board-infinite-scroll-tip" }, statusInner)))) : null;
339
+ if (!userNode && !statusBlock) return null;
340
+ return /* @__PURE__ */ React.createElement(React.Fragment, null, userNode, statusBlock);
341
+ };
342
+ }, [
343
+ gridInfiniteScroll,
344
+ userGridSummary,
345
+ infiniteSummaryColSpan,
346
+ ctx.data,
347
+ ctx.total,
348
+ ctx.loading,
349
+ infiniteScrollFetching
350
+ ]);
351
+ const _ref7 = gridTableProps, { summary: _userSummaryOmitted } = _ref7, gridTablePropsWithoutSummary = _objectWithoutProperties(_ref7, _excluded4);
197
352
  return /* @__PURE__ */ React.createElement("div", {
353
+ ref: gridWrapRef,
198
354
  "data-layout-slot": "grid",
199
- className: "pisell-lowcode-record-board-grid"
355
+ className: classNames("pisell-lowcode-record-board-grid", isPhoneLayout && "pisell-record-board-grid--phone", gridClassName)
200
356
  }, summaryItems.length > 0 && /* @__PURE__ */ React.createElement("div", {
201
357
  ref: summaryRef,
202
358
  className: "pisell-record-board-uniform-summary"
@@ -208,10 +364,11 @@ const RecordBoardGridView = (props) => {
208
364
  key: item.columnKey,
209
365
  className: "pisell-record-board-uniform-summary-item"
210
366
  }, /* @__PURE__ */ React.createElement("span", { className: "pisell-record-board-uniform-summary-label" }, item.title), /* @__PURE__ */ React.createElement("span", { className: "pisell-record-board-uniform-summary-value" }, content));
211
- })), /* @__PURE__ */ React.createElement(Table, _objectSpread2(_objectSpread2(_objectSpread2({}, rest), gridTableProps), {}, {
367
+ })), /* @__PURE__ */ React.createElement(Table, _objectSpread2(_objectSpread2(_objectSpread2({}, tableRest), gridTablePropsWithoutSummary), {}, {
368
+ summary: mergedTableSummary,
212
369
  scroll: tableScroll,
213
370
  rowKey: tableRowKey,
214
- dataSource: (_ctx$data3 = ctx.data) !== null && _ctx$data3 !== void 0 ? _ctx$data3 : [],
371
+ dataSource: (_ctx$data4 = ctx.data) !== null && _ctx$data4 !== void 0 ? _ctx$data4 : [],
215
372
  loading: ctx.loading,
216
373
  columns,
217
374
  rowSelection,
@@ -7,6 +7,54 @@
7
7
  }
8
8
  }
9
9
 
10
+ /**
11
+ * `layoutVariant="phone"`:统一收窄表头/表体与无限滚动表尾单元格 padding(业务列样式可挂在 grid.className 下)。
12
+ */
13
+ .pisell-lowcode-record-board-grid.pisell-record-board-grid--phone {
14
+ .pisell-lowcode-table-thead .pisell-lowcode-table-cell,
15
+ .pisell-lowcode-table-tbody .pisell-lowcode-table-cell,
16
+ .ant-table-thead .ant-table-cell,
17
+ .ant-table-tbody .ant-table-cell {
18
+ padding: 6px 6px !important;
19
+ }
20
+
21
+ .pisell-record-board-infinite-scroll-summary-row > .pisell-lowcode-table-cell,
22
+ .pisell-record-board-infinite-scroll-summary-row > .ant-table-cell {
23
+ padding: 6px 6px !important;
24
+ }
25
+
26
+ .pisell-record-board-uniform-summary {
27
+ flex-wrap: wrap;
28
+ align-items: flex-start;
29
+ gap: 8px 12px;
30
+ min-height: 36px;
31
+ padding: 8px 12px;
32
+
33
+ .pisell-record-board-uniform-summary-item {
34
+ flex-shrink: 1;
35
+ min-width: 0;
36
+ max-width: 100%;
37
+ flex-wrap: wrap;
38
+ }
39
+
40
+ .pisell-record-board-uniform-summary-label,
41
+ .pisell-record-board-uniform-summary-value {
42
+ white-space: normal;
43
+ }
44
+
45
+ /** 同值总结区 Tag:略小于桌面 14px pill,与手机行高对齐 */
46
+ .pisell-tags,
47
+ .ant-tag,
48
+ .pisell-lowcode-tag {
49
+ padding: 1px 8px;
50
+ font-size: 11px;
51
+ line-height: 16px;
52
+ border-radius: 10px;
53
+ gap: 4px;
54
+ }
55
+ }
56
+ }
57
+
10
58
  // 同值列折叠时的总结区样式(参考 Figma 12840-86869)
11
59
  .pisell-record-board-uniform-summary {
12
60
  display: flex;
@@ -111,3 +159,34 @@
111
159
  .pisell-record-board-row-cancelled {
112
160
  background: #fff1f0;
113
161
  }
162
+
163
+ // 无限滚动:表尾 Table.Summary 一行,文案靠左
164
+ // 不再加 border-top:上方数据行已有 border-bottom,再画 top 会与 antd 格线叠成双线
165
+ .pisell-record-board-infinite-scroll-summary-row > .pisell-lowcode-table-cell,
166
+ .pisell-record-board-infinite-scroll-summary-row > .ant-table-cell {
167
+ background: var(--ant-color-bg-container, #ffffff) !important;
168
+ border-top: none !important;
169
+ text-align: left !important;
170
+ vertical-align: middle;
171
+ padding: 8px 12px !important;
172
+ }
173
+
174
+ .pisell-record-board-infinite-scroll-tip {
175
+ display: inline-flex;
176
+ align-items: center;
177
+ justify-content: flex-start;
178
+ gap: 8px;
179
+ font-size: 12px;
180
+ line-height: 18px;
181
+ }
182
+
183
+ .pisell-record-board-infinite-scroll-tip-loading {
184
+ display: inline-flex;
185
+ align-items: center;
186
+ gap: 8px;
187
+ color: #475467;
188
+ }
189
+
190
+ .pisell-record-board-infinite-scroll-tip-done {
191
+ color: #667085;
192
+ }