@pisell/materials 1.0.1078 → 1.0.1079

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (437) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/meta.js +1 -1
  5. package/build/lowcode/render/default/view.js +1 -1
  6. package/build/lowcode/view.js +1 -1
  7. package/es/components/PisellCards/components/GraphicTextCard/GraphicTextCard.d.ts +9 -0
  8. package/es/components/PisellCards/components/GraphicTextCard/GraphicTextCard.stories.d.ts +163 -0
  9. package/es/components/PisellCards/components/GraphicTextCard/components/BadgeWrapper.d.ts +5 -0
  10. package/es/components/PisellCards/components/GraphicTextCard/components/GraphicArea.d.ts +24 -0
  11. package/es/components/PisellCards/components/GraphicTextCard/components/TextContent.d.ts +27 -0
  12. package/es/components/PisellCards/components/GraphicTextCard/components/index.d.ts +6 -0
  13. package/es/components/PisellCards/components/GraphicTextCard/hooks/index.d.ts +5 -0
  14. package/es/components/PisellCards/components/GraphicTextCard/hooks/useGraphicTextCardClick.d.ts +15 -0
  15. package/es/components/PisellCards/components/GraphicTextCard/hooks/useGraphicTextCardStyle.d.ts +18 -0
  16. package/es/components/PisellCards/components/GraphicTextCard/index.d.ts +5 -0
  17. package/es/components/PisellCards/components/GraphicTextCard/types.d.ts +301 -0
  18. package/es/components/PisellCards/components/GraphicTextCard/utils/index.d.ts +19 -0
  19. package/es/components/PisellCards/components/TextCard/TextCard.d.ts +8 -0
  20. package/es/components/PisellCards/components/TextCard/TextCard.stories.d.ts +183 -0
  21. package/es/components/PisellCards/components/TextCard/components/BadgeWrapper.d.ts +27 -0
  22. package/es/components/PisellCards/components/TextCard/components/IconWrapper.d.ts +17 -0
  23. package/es/components/PisellCards/components/TextCard/components/TextContent.d.ts +21 -0
  24. package/es/components/PisellCards/components/TextCard/components/index.d.ts +6 -0
  25. package/es/components/PisellCards/components/TextCard/index.d.ts +5 -0
  26. package/es/components/PisellCards/components/TextCard/types.d.ts +277 -0
  27. package/es/components/PisellCards/components/index.d.ts +10 -0
  28. package/es/components/PisellCards/index.d.ts +17 -0
  29. package/es/components/PisellContactBrief/PisellContactBrief.stories.d.ts +31 -0
  30. package/es/components/PisellContactBrief/components/index.d.ts +5 -0
  31. package/es/components/PisellContactBrief/index.d.ts +6 -0
  32. package/es/components/PisellContactBrief/locales.d.ts +55 -0
  33. package/es/components/PisellContactBrief/types.d.ts +82 -0
  34. package/es/components/PisellFields/index.d.ts +37 -0
  35. package/es/components/PisellLayouts/index.d.ts +37 -0
  36. package/es/components/PisellSteps/PisellSteps.d.ts +14 -0
  37. package/es/components/PisellTabbar/PisellTabbar.d.ts +20 -0
  38. package/es/components/PisellTabbar/index.d.ts +9 -0
  39. package/es/components/PisellTabbar/template/Template1/PisellTabbar.d.ts +5 -0
  40. package/es/components/PisellTabbar/template/Template1/index.d.ts +6 -0
  41. package/es/components/PisellTabbar2/PisellTabbar.d.ts +23 -0
  42. package/es/components/PisellTabbar2/components/TabbarLevel.d.ts +8 -0
  43. package/es/components/PisellTabbar2/components/index.d.ts +1 -0
  44. package/es/components/PisellTabbar2/index.d.ts +6 -0
  45. package/es/components/PisellTabbar3/PisellTabbar.d.ts +20 -0
  46. package/es/components/PisellTabbar3/index.d.ts +6 -0
  47. package/es/components/Template/[ComponentName].d.ts +0 -0
  48. package/es/components/appVersionControl/index.d.ts +5 -0
  49. package/es/components/dataSourceComponents/dataSourceForm/serve.d.ts +201 -0
  50. package/es/components/dataSourceComponents/dataSourceForm/serve.js +4 -2
  51. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +5 -0
  52. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +3 -3
  53. package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +85 -0
  54. package/es/components/dataSourceComponents/fields/index.d.ts +16 -15
  55. package/es/components/drag-sort-tree/index.d.ts +4 -0
  56. package/es/components/filter/components/Dropdown/types.d.ts +13 -0
  57. package/es/components/filter/components/FilterButton/types.d.ts +24 -0
  58. package/es/components/filter/types.d.ts +48 -0
  59. package/es/components/hardwareErrorTip/demo.d.ts +3 -0
  60. package/es/components/hardwareErrorTip/errorCard/index.d.ts +29 -0
  61. package/es/components/hardwareErrorTip/errorTipStatistics/index.d.ts +13 -0
  62. package/es/components/hardwareErrorTip/index.d.ts +19 -0
  63. package/es/components/hardwareErrorTip/logCard/index.d.ts +28 -0
  64. package/es/components/hardwareErrorTip/types.d.ts +28 -0
  65. package/es/components/iconfont/index.d.ts +8 -0
  66. package/es/components/login-and-register/index.d.ts +82 -0
  67. package/es/components/pisell-config-provider/index.d.ts +13 -0
  68. package/es/components/pisellActionPanel/PisellActionPanel.d.ts +13 -0
  69. package/es/components/pisellActionPanel/PisellActionPanel.stories.d.ts +19 -0
  70. package/es/components/pisellActionPanel/index.d.ts +6 -0
  71. package/es/components/pisellActionPanel/types.d.ts +83 -0
  72. package/es/components/pisellBaseCard/PisellBaseCard.d.ts +8 -0
  73. package/es/components/pisellBaseCard/PisellBaseCard.stories.d.ts +19 -0
  74. package/es/components/pisellBaseCard/index.d.ts +5 -0
  75. package/es/components/pisellBaseCard/types.d.ts +45 -0
  76. package/es/components/pisellBatchActionBar/index.d.ts +6 -0
  77. package/es/components/pisellCustomerBrief/PisellCustomerBrief.d.ts +15 -0
  78. package/es/components/pisellCustomerBrief/PisellCustomerBrief.stories.d.ts +23 -0
  79. package/es/components/pisellCustomerBrief/index.d.ts +6 -0
  80. package/es/components/pisellCustomerBrief/types.d.ts +82 -0
  81. package/es/components/pisellDataSourceContainer/hooks/useHandleAction.d.ts +32 -0
  82. package/es/components/pisellDataSourceContainer/provider/ChildComponentProps.d.ts +13 -0
  83. package/es/components/pisellDataSourceContainer/provider/RefManager.d.ts +9 -0
  84. package/es/components/pisellDataSourceContainer/type.d.ts +84 -0
  85. package/es/components/pisellEmpty/index.d.ts +19 -0
  86. package/es/components/pisellEntityCard/PisellEntityCard.d.ts +8 -0
  87. package/es/components/pisellEntityCard/PisellEntityCard.stories.d.ts +47 -0
  88. package/es/components/pisellEntityCard/index.d.ts +5 -0
  89. package/es/components/pisellEntityCard/types.d.ts +144 -0
  90. package/es/components/pisellExport/PisellExport.d.ts +9 -0
  91. package/es/components/pisellExport/PisellExport.stories.d.ts +45 -0
  92. package/es/components/pisellExport/index.d.ts +2 -0
  93. package/es/components/pisellExport/types.d.ts +63 -0
  94. package/es/components/pisellFilter/type.d.ts +7 -0
  95. package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.stories.d.ts +55 -0
  96. package/es/components/pisellFloorMapLayout/components/EditableItemLayer.d.ts +46 -0
  97. package/es/components/pisellFloorMapLayout/components/ItemLayer.d.ts +53 -0
  98. package/es/components/pisellFloorMapLayout/components/MapLayer.d.ts +27 -0
  99. package/es/components/pisellFloorMapLayout/components/ViewControlsWithZoom.d.ts +19 -0
  100. package/es/components/pisellFloorMapLayout/components/index.d.ts +21 -0
  101. package/es/components/pisellFloorMapLayout/context/FloorMapLayoutContext.d.ts +16 -0
  102. package/es/components/pisellFloorMapLayout/context/mergeFloorMapLayoutContext.d.ts +5 -0
  103. package/es/components/pisellFloorMapLayout/hooks/useFloorMapTransformMetrics.d.ts +67 -0
  104. package/es/components/pisellFloorMapLayout/hooks/useShopFloorPlanSubscription.d.ts +19 -0
  105. package/es/components/pisellFloorMapLayout/index.d.ts +25 -0
  106. package/es/components/pisellFloorMapLayout/locales-ja.d.ts +113 -0
  107. package/es/components/pisellFloorMapLayout/locales-pt.d.ts +113 -0
  108. package/es/components/pisellFloorMapLayout/locales.d.ts +551 -0
  109. package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanClient.d.ts +10 -0
  110. package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanMapping.d.ts +18 -0
  111. package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanPure.d.ts +22 -0
  112. package/es/components/pisellFloorMapLayout/types.d.ts +604 -0
  113. package/es/components/pisellFloorMapLayout/utils/floorMapConfigMerge.d.ts +8 -0
  114. package/es/components/pisellFloorMapLayout/utils/floorMapDataBindingUtils.d.ts +21 -0
  115. package/es/components/pisellFloorMapLayout/utils/floorMapFallbackRender.d.ts +11 -0
  116. package/es/components/pisellFloorMapLayout/utils/floorMapRemotePersist.d.ts +17 -0
  117. package/es/components/pisellFloorMapLayout/utils/floorMapViewConfigDiff.d.ts +8 -0
  118. package/es/components/pisellFloorMapLayout/utils/layoutMeasurements.d.ts +30 -0
  119. package/es/components/pisellFloorMapLayout/utils/mergeCanvasesForTabs.d.ts +7 -0
  120. package/es/components/pisellGridPro/index.d.ts +4 -0
  121. package/es/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.d.ts +6 -0
  122. package/es/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.stories.d.ts +10 -0
  123. package/es/components/pisellHierarchicalSummaryList/components/index.d.ts +1 -0
  124. package/es/components/pisellHierarchicalSummaryList/hooks/index.d.ts +2 -0
  125. package/es/components/pisellHierarchicalSummaryList/hooks/useExpandedKeys.d.ts +15 -0
  126. package/es/components/pisellHierarchicalSummaryList/index.d.ts +5 -0
  127. package/es/components/pisellHierarchicalSummaryList/types.d.ts +248 -0
  128. package/es/components/pisellImport/PisellImport.d.ts +9 -0
  129. package/es/components/pisellImport/PisellImport.stories.d.ts +49 -0
  130. package/es/components/pisellImport/index.d.ts +2 -0
  131. package/es/components/pisellImport/types.d.ts +85 -0
  132. package/es/components/pisellList01/index.d.ts +17 -0
  133. package/es/components/pisellLookup/components/LookupTrigger.d.ts +3 -0
  134. package/es/components/pisellPhone/PisellPhone.stories.d.ts +80 -0
  135. package/es/components/pisellPhone/components/DisabledView.d.ts +16 -0
  136. package/es/components/pisellPhone/components/ReadOnlyView.d.ts +17 -0
  137. package/es/components/pisellPhone/constants/countryCodes.d.ts +21 -0
  138. package/es/components/pisellPhone/index.d.ts +8 -0
  139. package/es/components/pisellPhone/utils/countryCodeHelper.d.ts +35 -0
  140. package/es/components/pisellPhone/utils/index.d.ts +6 -0
  141. package/es/components/pisellQuickFilter/type.d.ts +12 -0
  142. package/es/components/pisellRecordBoard/context/RecordBoardContext.d.ts +3 -0
  143. package/es/components/pisellRecordBoard/context/RecordBoardProvider.d.ts +11 -0
  144. package/es/components/pisellRecordBoard/hooks/useRecordBoardContext.d.ts +16 -0
  145. package/es/components/pisellRecordBoard/layouts/CardLayout/CardList.d.ts +12 -0
  146. package/es/components/pisellRecordBoard/layouts/CardLayout/index.d.ts +13 -0
  147. package/es/components/pisellRecordBoard/layouts/GridLayout/Grid.d.ts +14 -0
  148. package/es/components/pisellRecordBoard/layouts/GridLayout/index.d.ts +13 -0
  149. package/es/components/pisellRecordBoard/shellFrame/BatchActionBar/index.d.ts +8 -0
  150. package/es/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendarDemo.d.ts +3 -0
  151. package/es/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.d.ts +7 -0
  152. package/es/components/pisellRecordBoard/shellFrame/Calendar/RecordBoardCalendar.d.ts +8 -0
  153. package/es/components/pisellRecordBoard/shellFrame/Calendar/calendarPersistGuard.d.ts +18 -0
  154. package/es/components/pisellRecordBoard/shellFrame/Calendar/index.d.ts +4 -0
  155. package/es/components/pisellRecordBoard/shellFrame/ColumnSetting/ColumnSettingPopover.d.ts +15 -0
  156. package/es/components/pisellRecordBoard/shellFrame/ColumnSetting/index.d.ts +8 -0
  157. package/es/components/pisellRecordBoard/shellFrame/FloorMap.d.ts +14 -0
  158. package/es/components/pisellRecordBoard/shellFrame/Search/index.d.ts +10 -0
  159. package/es/components/pisellRecordBoard/shellFrame/ShellBodyMetaContext.d.ts +21 -0
  160. package/es/components/pisellRecordBoard/types.d.ts +468 -0
  161. package/es/components/pisellRecordBoard/utils/partitionShellFrameChildren.d.ts +20 -0
  162. package/es/components/pisellRecordBoard/utils/recordBoardColumns.d.ts +52 -0
  163. package/es/components/pisellRecordBoard/utils/withRecordBoard.d.ts +9 -0
  164. package/es/components/pisellReservationSchedule/locales.d.ts +25 -0
  165. package/es/components/pisellReservationSchedule/types.d.ts +47 -0
  166. package/es/components/pisellReservationScheduleBand/PisellReservationScheduleBand.stories.d.ts +16 -0
  167. package/es/components/pisellReservationScheduleBand/index.d.ts +2 -0
  168. package/es/components/pisellReservationScheduleBand/types.d.ts +57 -0
  169. package/es/components/pisellShellFrame/PisellShellFrame.d.ts +13 -0
  170. package/es/components/pisellShellFrame/PisellShellFrame.stories.d.ts +15 -0
  171. package/es/components/pisellShellFrame/index.d.ts +2 -0
  172. package/es/components/pisellShellFrame/types.d.ts +56 -0
  173. package/es/components/pisellStatisticList/index.d.ts +22 -0
  174. package/es/components/pisellTimeNavigator/PisellTimeNavigator.stories.d.ts +79 -0
  175. package/es/components/pisellTimeNavigator/components/BackgroundLayer.d.ts +14 -0
  176. package/es/components/pisellTimeNavigator/components/CursorLayer.d.ts +25 -0
  177. package/es/components/pisellTimeNavigator/components/GestureLayer.d.ts +33 -0
  178. package/es/components/pisellTimeNavigator/components/index.d.ts +5 -0
  179. package/es/components/pisellTimeNavigator/hooks/useDragInertia.d.ts +14 -0
  180. package/es/components/pisellTimeNavigator/hooks/useRealtime.d.ts +5 -0
  181. package/es/components/pisellTimeNavigator/hooks/useTimeAxis.d.ts +27 -0
  182. package/es/components/pisellTimeNavigator/index.d.ts +5 -0
  183. package/es/components/pisellTimeNavigator/utils/index.d.ts +35 -0
  184. package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +4 -0
  185. package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +9 -0
  186. package/es/components/productCard/cartSkuCard/locales.d.ts +163 -0
  187. package/es/components/productCard/components/Header/Actions/index.d.ts +4 -0
  188. package/es/components/productCard/components/Header/DeleteButton/index.d.ts +4 -0
  189. package/es/components/productCard/components/Time/index.d.ts +4 -0
  190. package/es/components/productCard/status.d.ts +32 -0
  191. package/es/components/productCard/types.d.ts +85 -0
  192. package/es/components/table/Actions/component/ViewMode/index.d.ts +9 -0
  193. package/es/components/table/Table/fields/index.d.ts +2 -2
  194. package/es/components/table/Table/utils.d.ts +1 -1
  195. package/es/components/table/types.d.ts +270 -0
  196. package/es/components/versionModal/index.d.ts +24 -0
  197. package/es/locales/en-US.d.ts +439 -0
  198. package/es/locales/index.d.ts +1 -0
  199. package/es/locales/ja.d.ts +360 -0
  200. package/es/locales/pt.d.ts +360 -0
  201. package/es/locales/zh-CN.d.ts +434 -0
  202. package/es/locales/zh-TW.d.ts +434 -0
  203. package/es/theme/pisell-components.d.ts +14 -0
  204. package/lib/components/PisellCards/components/GraphicTextCard/GraphicTextCard.d.ts +9 -0
  205. package/lib/components/PisellCards/components/GraphicTextCard/GraphicTextCard.stories.d.ts +163 -0
  206. package/lib/components/PisellCards/components/GraphicTextCard/components/BadgeWrapper.d.ts +5 -0
  207. package/lib/components/PisellCards/components/GraphicTextCard/components/GraphicArea.d.ts +24 -0
  208. package/lib/components/PisellCards/components/GraphicTextCard/components/TextContent.d.ts +27 -0
  209. package/lib/components/PisellCards/components/GraphicTextCard/components/index.d.ts +6 -0
  210. package/lib/components/PisellCards/components/GraphicTextCard/hooks/index.d.ts +5 -0
  211. package/lib/components/PisellCards/components/GraphicTextCard/hooks/useGraphicTextCardClick.d.ts +15 -0
  212. package/lib/components/PisellCards/components/GraphicTextCard/hooks/useGraphicTextCardStyle.d.ts +18 -0
  213. package/lib/components/PisellCards/components/GraphicTextCard/index.d.ts +5 -0
  214. package/lib/components/PisellCards/components/GraphicTextCard/types.d.ts +301 -0
  215. package/lib/components/PisellCards/components/GraphicTextCard/utils/index.d.ts +19 -0
  216. package/lib/components/PisellCards/components/TextCard/TextCard.d.ts +8 -0
  217. package/lib/components/PisellCards/components/TextCard/TextCard.stories.d.ts +183 -0
  218. package/lib/components/PisellCards/components/TextCard/components/BadgeWrapper.d.ts +27 -0
  219. package/lib/components/PisellCards/components/TextCard/components/IconWrapper.d.ts +17 -0
  220. package/lib/components/PisellCards/components/TextCard/components/TextContent.d.ts +21 -0
  221. package/lib/components/PisellCards/components/TextCard/components/index.d.ts +6 -0
  222. package/lib/components/PisellCards/components/TextCard/index.d.ts +5 -0
  223. package/lib/components/PisellCards/components/TextCard/types.d.ts +277 -0
  224. package/lib/components/PisellCards/components/index.d.ts +10 -0
  225. package/lib/components/PisellCards/index.d.ts +17 -0
  226. package/lib/components/PisellContactBrief/PisellContactBrief.stories.d.ts +31 -0
  227. package/lib/components/PisellContactBrief/components/index.d.ts +5 -0
  228. package/lib/components/PisellContactBrief/index.d.ts +6 -0
  229. package/lib/components/PisellContactBrief/locales.d.ts +55 -0
  230. package/lib/components/PisellContactBrief/types.d.ts +82 -0
  231. package/lib/components/PisellFields/index.d.ts +37 -0
  232. package/lib/components/PisellLayouts/index.d.ts +37 -0
  233. package/lib/components/PisellSteps/PisellSteps.d.ts +14 -0
  234. package/lib/components/PisellTabbar/PisellTabbar.d.ts +20 -0
  235. package/lib/components/PisellTabbar/index.d.ts +9 -0
  236. package/lib/components/PisellTabbar/template/Template1/PisellTabbar.d.ts +5 -0
  237. package/lib/components/PisellTabbar/template/Template1/index.d.ts +6 -0
  238. package/lib/components/PisellTabbar2/PisellTabbar.d.ts +23 -0
  239. package/lib/components/PisellTabbar2/components/TabbarLevel.d.ts +8 -0
  240. package/lib/components/PisellTabbar2/components/index.d.ts +1 -0
  241. package/lib/components/PisellTabbar2/index.d.ts +6 -0
  242. package/lib/components/PisellTabbar3/PisellTabbar.d.ts +20 -0
  243. package/lib/components/PisellTabbar3/index.d.ts +6 -0
  244. package/lib/components/Template/[ComponentName].d.ts +0 -0
  245. package/lib/components/appVersionControl/index.d.ts +5 -0
  246. package/lib/components/dataSourceComponents/dataSourceForm/serve.d.ts +201 -0
  247. package/lib/components/dataSourceComponents/dataSourceForm/serve.js +4 -2
  248. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +5 -0
  249. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +3 -3
  250. package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +85 -0
  251. package/lib/components/dataSourceComponents/fields/index.d.ts +16 -15
  252. package/lib/components/drag-sort-tree/index.d.ts +4 -0
  253. package/lib/components/filter/components/Dropdown/types.d.ts +13 -0
  254. package/lib/components/filter/components/FilterButton/types.d.ts +24 -0
  255. package/lib/components/filter/types.d.ts +48 -0
  256. package/lib/components/hardwareErrorTip/demo.d.ts +3 -0
  257. package/lib/components/hardwareErrorTip/errorCard/index.d.ts +29 -0
  258. package/lib/components/hardwareErrorTip/errorTipStatistics/index.d.ts +13 -0
  259. package/lib/components/hardwareErrorTip/index.d.ts +19 -0
  260. package/lib/components/hardwareErrorTip/logCard/index.d.ts +28 -0
  261. package/lib/components/hardwareErrorTip/types.d.ts +28 -0
  262. package/lib/components/iconfont/index.d.ts +8 -0
  263. package/lib/components/login-and-register/index.d.ts +82 -0
  264. package/lib/components/pisell-config-provider/index.d.ts +13 -0
  265. package/lib/components/pisellActionPanel/PisellActionPanel.d.ts +13 -0
  266. package/lib/components/pisellActionPanel/PisellActionPanel.stories.d.ts +19 -0
  267. package/lib/components/pisellActionPanel/index.d.ts +6 -0
  268. package/lib/components/pisellActionPanel/types.d.ts +83 -0
  269. package/lib/components/pisellBaseCard/PisellBaseCard.d.ts +8 -0
  270. package/lib/components/pisellBaseCard/PisellBaseCard.stories.d.ts +19 -0
  271. package/lib/components/pisellBaseCard/index.d.ts +5 -0
  272. package/lib/components/pisellBaseCard/types.d.ts +45 -0
  273. package/lib/components/pisellBatchActionBar/index.d.ts +6 -0
  274. package/lib/components/pisellCustomerBrief/PisellCustomerBrief.d.ts +15 -0
  275. package/lib/components/pisellCustomerBrief/PisellCustomerBrief.stories.d.ts +23 -0
  276. package/lib/components/pisellCustomerBrief/index.d.ts +6 -0
  277. package/lib/components/pisellCustomerBrief/types.d.ts +82 -0
  278. package/lib/components/pisellDataSourceContainer/hooks/useHandleAction.d.ts +32 -0
  279. package/lib/components/pisellDataSourceContainer/provider/ChildComponentProps.d.ts +13 -0
  280. package/lib/components/pisellDataSourceContainer/provider/RefManager.d.ts +9 -0
  281. package/lib/components/pisellDataSourceContainer/type.d.ts +84 -0
  282. package/lib/components/pisellEmpty/index.d.ts +19 -0
  283. package/lib/components/pisellEntityCard/PisellEntityCard.d.ts +8 -0
  284. package/lib/components/pisellEntityCard/PisellEntityCard.stories.d.ts +47 -0
  285. package/lib/components/pisellEntityCard/index.d.ts +5 -0
  286. package/lib/components/pisellEntityCard/types.d.ts +144 -0
  287. package/lib/components/pisellExport/PisellExport.d.ts +9 -0
  288. package/lib/components/pisellExport/PisellExport.stories.d.ts +45 -0
  289. package/lib/components/pisellExport/index.d.ts +2 -0
  290. package/lib/components/pisellExport/types.d.ts +63 -0
  291. package/lib/components/pisellFilter/type.d.ts +7 -0
  292. package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.stories.d.ts +55 -0
  293. package/lib/components/pisellFloorMapLayout/components/EditableItemLayer.d.ts +46 -0
  294. package/lib/components/pisellFloorMapLayout/components/ItemLayer.d.ts +53 -0
  295. package/lib/components/pisellFloorMapLayout/components/MapLayer.d.ts +27 -0
  296. package/lib/components/pisellFloorMapLayout/components/ViewControlsWithZoom.d.ts +19 -0
  297. package/lib/components/pisellFloorMapLayout/components/index.d.ts +21 -0
  298. package/lib/components/pisellFloorMapLayout/context/FloorMapLayoutContext.d.ts +16 -0
  299. package/lib/components/pisellFloorMapLayout/context/mergeFloorMapLayoutContext.d.ts +5 -0
  300. package/lib/components/pisellFloorMapLayout/hooks/useFloorMapTransformMetrics.d.ts +67 -0
  301. package/lib/components/pisellFloorMapLayout/hooks/useShopFloorPlanSubscription.d.ts +19 -0
  302. package/lib/components/pisellFloorMapLayout/index.d.ts +25 -0
  303. package/lib/components/pisellFloorMapLayout/locales-ja.d.ts +113 -0
  304. package/lib/components/pisellFloorMapLayout/locales-pt.d.ts +113 -0
  305. package/lib/components/pisellFloorMapLayout/locales.d.ts +551 -0
  306. package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanClient.d.ts +10 -0
  307. package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanMapping.d.ts +18 -0
  308. package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanPure.d.ts +22 -0
  309. package/lib/components/pisellFloorMapLayout/types.d.ts +604 -0
  310. package/lib/components/pisellFloorMapLayout/utils/floorMapConfigMerge.d.ts +8 -0
  311. package/lib/components/pisellFloorMapLayout/utils/floorMapDataBindingUtils.d.ts +21 -0
  312. package/lib/components/pisellFloorMapLayout/utils/floorMapFallbackRender.d.ts +11 -0
  313. package/lib/components/pisellFloorMapLayout/utils/floorMapRemotePersist.d.ts +17 -0
  314. package/lib/components/pisellFloorMapLayout/utils/floorMapViewConfigDiff.d.ts +8 -0
  315. package/lib/components/pisellFloorMapLayout/utils/layoutMeasurements.d.ts +30 -0
  316. package/lib/components/pisellFloorMapLayout/utils/mergeCanvasesForTabs.d.ts +7 -0
  317. package/lib/components/pisellGridPro/index.d.ts +4 -0
  318. package/lib/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.d.ts +6 -0
  319. package/lib/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.stories.d.ts +10 -0
  320. package/lib/components/pisellHierarchicalSummaryList/components/index.d.ts +1 -0
  321. package/lib/components/pisellHierarchicalSummaryList/hooks/index.d.ts +2 -0
  322. package/lib/components/pisellHierarchicalSummaryList/hooks/useExpandedKeys.d.ts +15 -0
  323. package/lib/components/pisellHierarchicalSummaryList/index.d.ts +5 -0
  324. package/lib/components/pisellHierarchicalSummaryList/types.d.ts +248 -0
  325. package/lib/components/pisellImport/PisellImport.d.ts +9 -0
  326. package/lib/components/pisellImport/PisellImport.stories.d.ts +49 -0
  327. package/lib/components/pisellImport/index.d.ts +2 -0
  328. package/lib/components/pisellImport/types.d.ts +85 -0
  329. package/lib/components/pisellList01/index.d.ts +17 -0
  330. package/lib/components/pisellLookup/components/LookupTrigger.d.ts +3 -0
  331. package/lib/components/pisellPhone/PisellPhone.stories.d.ts +80 -0
  332. package/lib/components/pisellPhone/components/DisabledView.d.ts +16 -0
  333. package/lib/components/pisellPhone/components/ReadOnlyView.d.ts +17 -0
  334. package/lib/components/pisellPhone/constants/countryCodes.d.ts +21 -0
  335. package/lib/components/pisellPhone/index.d.ts +8 -0
  336. package/lib/components/pisellPhone/utils/countryCodeHelper.d.ts +35 -0
  337. package/lib/components/pisellPhone/utils/index.d.ts +6 -0
  338. package/lib/components/pisellQuickFilter/type.d.ts +12 -0
  339. package/lib/components/pisellRecordBoard/context/RecordBoardContext.d.ts +3 -0
  340. package/lib/components/pisellRecordBoard/context/RecordBoardProvider.d.ts +11 -0
  341. package/lib/components/pisellRecordBoard/hooks/useRecordBoardContext.d.ts +16 -0
  342. package/lib/components/pisellRecordBoard/layouts/CardLayout/CardList.d.ts +12 -0
  343. package/lib/components/pisellRecordBoard/layouts/CardLayout/index.d.ts +13 -0
  344. package/lib/components/pisellRecordBoard/layouts/GridLayout/Grid.d.ts +14 -0
  345. package/lib/components/pisellRecordBoard/layouts/GridLayout/index.d.ts +13 -0
  346. package/lib/components/pisellRecordBoard/shellFrame/BatchActionBar/index.d.ts +8 -0
  347. package/lib/components/pisellRecordBoard/shellFrame/Calendar/BookingCalendarDemo.d.ts +3 -0
  348. package/lib/components/pisellRecordBoard/shellFrame/Calendar/PisellRecordBoardCalendarView.d.ts +7 -0
  349. package/lib/components/pisellRecordBoard/shellFrame/Calendar/RecordBoardCalendar.d.ts +8 -0
  350. package/lib/components/pisellRecordBoard/shellFrame/Calendar/calendarPersistGuard.d.ts +18 -0
  351. package/lib/components/pisellRecordBoard/shellFrame/Calendar/index.d.ts +4 -0
  352. package/lib/components/pisellRecordBoard/shellFrame/ColumnSetting/ColumnSettingPopover.d.ts +15 -0
  353. package/lib/components/pisellRecordBoard/shellFrame/ColumnSetting/index.d.ts +8 -0
  354. package/lib/components/pisellRecordBoard/shellFrame/FloorMap.d.ts +14 -0
  355. package/lib/components/pisellRecordBoard/shellFrame/Search/index.d.ts +10 -0
  356. package/lib/components/pisellRecordBoard/shellFrame/ShellBodyMetaContext.d.ts +21 -0
  357. package/lib/components/pisellRecordBoard/types.d.ts +468 -0
  358. package/lib/components/pisellRecordBoard/utils/partitionShellFrameChildren.d.ts +20 -0
  359. package/lib/components/pisellRecordBoard/utils/recordBoardColumns.d.ts +52 -0
  360. package/lib/components/pisellRecordBoard/utils/withRecordBoard.d.ts +9 -0
  361. package/lib/components/pisellReservationSchedule/locales.d.ts +25 -0
  362. package/lib/components/pisellReservationSchedule/types.d.ts +47 -0
  363. package/lib/components/pisellReservationScheduleBand/PisellReservationScheduleBand.stories.d.ts +16 -0
  364. package/lib/components/pisellReservationScheduleBand/index.d.ts +2 -0
  365. package/lib/components/pisellReservationScheduleBand/types.d.ts +57 -0
  366. package/lib/components/pisellShellFrame/PisellShellFrame.d.ts +13 -0
  367. package/lib/components/pisellShellFrame/PisellShellFrame.stories.d.ts +15 -0
  368. package/lib/components/pisellShellFrame/index.d.ts +2 -0
  369. package/lib/components/pisellShellFrame/types.d.ts +56 -0
  370. package/lib/components/pisellStatisticList/index.d.ts +22 -0
  371. package/lib/components/pisellTimeNavigator/PisellTimeNavigator.stories.d.ts +79 -0
  372. package/lib/components/pisellTimeNavigator/components/BackgroundLayer.d.ts +14 -0
  373. package/lib/components/pisellTimeNavigator/components/CursorLayer.d.ts +25 -0
  374. package/lib/components/pisellTimeNavigator/components/GestureLayer.d.ts +33 -0
  375. package/lib/components/pisellTimeNavigator/components/index.d.ts +5 -0
  376. package/lib/components/pisellTimeNavigator/hooks/useDragInertia.d.ts +14 -0
  377. package/lib/components/pisellTimeNavigator/hooks/useRealtime.d.ts +5 -0
  378. package/lib/components/pisellTimeNavigator/hooks/useTimeAxis.d.ts +27 -0
  379. package/lib/components/pisellTimeNavigator/index.d.ts +5 -0
  380. package/lib/components/pisellTimeNavigator/utils/index.d.ts +35 -0
  381. package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +4 -0
  382. package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +9 -0
  383. package/lib/components/productCard/cartSkuCard/locales.d.ts +163 -0
  384. package/lib/components/productCard/components/Header/Actions/index.d.ts +4 -0
  385. package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +4 -0
  386. package/lib/components/productCard/components/Time/index.d.ts +4 -0
  387. package/lib/components/productCard/status.d.ts +32 -0
  388. package/lib/components/productCard/types.d.ts +85 -0
  389. package/lib/components/table/Actions/component/ViewMode/index.d.ts +9 -0
  390. package/lib/components/table/Table/fields/index.d.ts +2 -2
  391. package/lib/components/table/Table/utils.d.ts +1 -1
  392. package/lib/components/table/types.d.ts +270 -0
  393. package/lib/components/versionModal/index.d.ts +24 -0
  394. package/lib/locales/en-US.d.ts +439 -0
  395. package/lib/locales/index.d.ts +1 -0
  396. package/lib/locales/ja.d.ts +360 -0
  397. package/lib/locales/pt.d.ts +360 -0
  398. package/lib/locales/zh-CN.d.ts +434 -0
  399. package/lib/locales/zh-TW.d.ts +434 -0
  400. package/lib/theme/pisell-components.d.ts +14 -0
  401. package/package.json +1 -1
  402. package/es/components/dataSourceComponents/dataSourceForm/BaseForm.d.ts +0 -3
  403. package/es/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +0 -39
  404. package/es/components/dataSourceComponents/hooks/useActions.d.ts +0 -18
  405. package/es/components/dataSourceComponents/provider/variables/VariablesProvider.d.ts +0 -4
  406. package/es/components/pisellAdjustPrice/index.d.ts +0 -5
  407. package/es/components/pisellCheckboxGroup/index.d.ts +0 -40
  408. package/es/components/pisellFloorMapLayout/components/FloorMapImageElement.d.ts +0 -9
  409. package/es/components/pisellText/components/Amount/index.d.ts +0 -20
  410. package/es/components/pisellToast/index.d.ts +0 -17
  411. package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +0 -20
  412. package/es/components/productCard/components/Sales/index.d.ts +0 -4
  413. package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -14
  414. package/es/components/productCard/utils.d.ts +0 -33
  415. package/es/components/sort/index.d.ts +0 -5
  416. package/es/components/virtual-keyboard/Amount/index.d.ts +0 -6
  417. package/es/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +0 -25
  418. package/es/components/virtual-keyboard/Number/index.d.ts +0 -6
  419. package/es/components/virtual-keyboard/index.d.ts +0 -25
  420. package/lib/components/dataSourceComponents/dataSourceForm/BaseForm.d.ts +0 -3
  421. package/lib/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +0 -39
  422. package/lib/components/dataSourceComponents/hooks/useActions.d.ts +0 -18
  423. package/lib/components/dataSourceComponents/provider/variables/VariablesProvider.d.ts +0 -4
  424. package/lib/components/pisellAdjustPrice/index.d.ts +0 -5
  425. package/lib/components/pisellCheckboxGroup/index.d.ts +0 -40
  426. package/lib/components/pisellFloorMapLayout/components/FloorMapImageElement.d.ts +0 -9
  427. package/lib/components/pisellText/components/Amount/index.d.ts +0 -20
  428. package/lib/components/pisellToast/index.d.ts +0 -17
  429. package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +0 -20
  430. package/lib/components/productCard/components/Sales/index.d.ts +0 -4
  431. package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -14
  432. package/lib/components/productCard/utils.d.ts +0 -33
  433. package/lib/components/sort/index.d.ts +0 -5
  434. package/lib/components/virtual-keyboard/Amount/index.d.ts +0 -6
  435. package/lib/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +0 -25
  436. package/lib/components/virtual-keyboard/Number/index.d.ts +0 -6
  437. package/lib/components/virtual-keyboard/index.d.ts +0 -25
@@ -0,0 +1,19 @@
1
+ import React from 'react';
2
+ import { EmptyProps } from 'antd';
3
+ import { PisellContextType } from '../pisell-config-provider/context';
4
+ import './index.less';
5
+ export interface PisellEmptyProps extends EmptyProps {
6
+ /** 平台 */
7
+ platform?: PisellContextType['platform'];
8
+ /** 额外内容描述 */
9
+ extraDescription?: React.ReactNode;
10
+ /** 额外内容描述 */
11
+ icon?: React.ReactNode;
12
+ /** 自定义底部额外操作区域 */
13
+ footer?: React.ReactNode;
14
+ /** 最大宽度 */
15
+ maxWidth?: number;
16
+ [key: string]: any;
17
+ }
18
+ declare const PisellEmpty: (props: PisellEmptyProps) => React.JSX.Element;
19
+ export default PisellEmpty;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import type { PisellEntityCardProps } from './types';
3
+ import './PisellEntityCard.less';
4
+ /**
5
+ * PisellEntityCard 实体卡片
6
+ * 基于 PisellBaseCard,使用结构化配置展示实体信息,支持密度、布局、左滑删除与插槽
7
+ */
8
+ export declare function PisellEntityCard({ children, className, style, hoverStyle, activeStyle, disabledStyle, clickable, disabled, onClick, media, primaryText, subtitleText, secondaryTexts, tags, actions, showMedia, showPrimaryText, showSubtitle, showSecondaryText, showTags, showActions, density, layout, width, swipeToDelete, onDelete, tagPosition, contentGap, primaryLineClamp, secondaryLineClamp: secondaryLineClampProp, renderMedia, renderPrimary, renderSubtitle, renderSecondary, renderTags, renderActions, }: PisellEntityCardProps): React.JSX.Element;
@@ -0,0 +1,47 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import { PisellEntityCard } from './PisellEntityCard';
3
+ declare const meta: Meta<typeof PisellEntityCard>;
4
+ export default meta;
5
+ declare type Story = StoryObj<typeof PisellEntityCard>;
6
+ /** 默认:横向 B2,主文案 + 次级 + 头像 */
7
+ export declare const Default: Story;
8
+ /** 仅主文案(最小) */
9
+ export declare const PrimaryOnly: Story;
10
+ /** 主文案 + 头像 一行 */
11
+ export declare const B1Line: Story;
12
+ /** B2 横向:头像 + 主 + 次级两行 */
13
+ export declare const B2Horizontal: Story;
14
+ /** B2 竖向 */
15
+ export declare const B2Vertical: Story;
16
+ /** B5:次级最多 5 行 */
17
+ export declare const B5Standard: Story;
18
+ /** B9 全部展示 */
19
+ export declare const B9Extended: Story;
20
+ /** Action 区域默认关闭(不传 showActions 或 showActions: false) */
21
+ export declare const ActionDefaultOff: Story;
22
+ /** Action 仅文本 */
23
+ export declare const ActionTextOnly: Story;
24
+ /** Action 仅按钮 */
25
+ export declare const ActionButtonOnly: Story;
26
+ /** Action 仅图标(Figma 支持右侧按钮 - 编辑图标) */
27
+ export declare const ActionIconOnly: Story;
28
+ /** Action 混合:文本 + 按钮 + 图标,并各自自定义样式 */
29
+ export declare const ActionMixedWithCustomStyle: Story;
30
+ /** 带底部操作(兼容旧名) */
31
+ export declare const WithActions: Story;
32
+ /** 左滑删除(需在真机或模拟 touch 下左滑验证) */
33
+ export declare const SwipeToDelete: Story;
34
+ /** 标签 inline */
35
+ export declare const TagPositionInline: Story;
36
+ /** 宽度撑满父容器 */
37
+ export declare const WidthFull: Story;
38
+ /** 自定义主文案插槽 */
39
+ export declare const SlotPrimary: Story;
40
+ /** 缩略图类型媒体 */
41
+ export declare const MediaThumbnail: Story;
42
+ /** 图标类型媒体 */
43
+ export declare const MediaIcon: Story;
44
+ /** 可点击卡片 */
45
+ export declare const Clickable: Story;
46
+ /** 禁用态 */
47
+ export declare const Disabled: Story;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * PisellEntityCard 组件导出
3
+ */
4
+ export { PisellEntityCard } from './PisellEntityCard';
5
+ export type { PisellEntityCardProps, EntityCardDensity, EntityCardLayout, EntityCardWidth, EntityCardMediaType, EntityCardMediaConfig, EntityCardSecondaryItem, EntityCardTagItem, EntityCardActionItem, EntityCardTagPosition, } from './types';
@@ -0,0 +1,144 @@
1
+ import type { CSSProperties, ReactNode } from 'react';
2
+ import type { PisellBaseCardProps } from '../pisellBaseCard/types';
3
+ /**
4
+ * 实体卡信息密度等级
5
+ * - B1: 最小单位,一行
6
+ * - B2: 主+次级两行
7
+ * - B5: 次级最多 5 行
8
+ * - B9: 全部展示
9
+ */
10
+ export declare type EntityCardDensity = 'B1' | 'B2' | 'B5' | 'B9';
11
+ /**
12
+ * 实体卡布局方向
13
+ */
14
+ export declare type EntityCardLayout = 'horizontal' | 'vertical';
15
+ /**
16
+ * 实体卡宽度模式
17
+ * - content: 由内容撑满
18
+ * - full: 撑满父容器
19
+ * - number: 固定像素宽度
20
+ */
21
+ export declare type EntityCardWidth = 'content' | 'full' | number;
22
+ /**
23
+ * 媒体类型:头像 / 缩略图 / 图标
24
+ */
25
+ export declare type EntityCardMediaType = 'avatar' | 'thumbnail' | 'icon';
26
+ /**
27
+ * 实体卡媒体配置(头像、缩略图、图标)
28
+ */
29
+ export interface EntityCardMediaConfig {
30
+ /** 类型 */
31
+ type: EntityCardMediaType;
32
+ /** 图片地址(avatar/thumbnail 使用) */
33
+ src?: string;
34
+ /** 替换文本 / 描述 */
35
+ alt?: string;
36
+ /** 图标节点(type 为 icon 时使用) */
37
+ icon?: ReactNode;
38
+ /** 尺寸,如 24、48、64 或 CSS 值 */
39
+ size?: number | string;
40
+ /** 形状(avatar/thumbnail):circle | square */
41
+ shape?: 'circle' | 'square';
42
+ /** 图标颜色(type 为 icon 时) */
43
+ color?: string;
44
+ }
45
+ /**
46
+ * 次级文案单项(可带提示)
47
+ */
48
+ export interface EntityCardSecondaryItem {
49
+ /** 文本内容 */
50
+ text: string;
51
+ /** 是否显示提示 icon(如 info-circle) */
52
+ showTooltip?: boolean;
53
+ }
54
+ /**
55
+ * 实体卡标签项
56
+ */
57
+ export interface EntityCardTagItem {
58
+ /** 标签文案 */
59
+ text: string;
60
+ /** 可选自定义样式 */
61
+ style?: CSSProperties;
62
+ }
63
+ /**
64
+ * 实体卡底部操作项
65
+ * 支持文本、按钮、图标三种形式,可各自通过 style / className 更改样式
66
+ */
67
+ export interface EntityCardActionItem {
68
+ /** 展示形式:文本 / 按钮 / 图标 */
69
+ type: 'text' | 'button' | 'icon';
70
+ /** 文案(text/button 时显示) */
71
+ label?: string;
72
+ /** 图标节点(icon 时单独展示,或 button 旁图标) */
73
+ icon?: ReactNode;
74
+ /** 点击回调 */
75
+ onClick?: () => void;
76
+ /** 单项内联样式 */
77
+ style?: CSSProperties;
78
+ /** 单项类名,用于自定义样式 */
79
+ className?: string;
80
+ }
81
+ /**
82
+ * 标签展示位置:与主标题同行 / 次级信息下方
83
+ */
84
+ export declare type EntityCardTagPosition = 'inline' | 'below';
85
+ /**
86
+ * PisellEntityCard 组件 Props
87
+ * 基于 PisellBaseCard,使用结构化配置展示实体信息,支持密度、布局、左滑删除与插槽
88
+ */
89
+ export interface PisellEntityCardProps extends PisellBaseCardProps {
90
+ /** 媒体区:头像 / 缩略图 / 图标配置 */
91
+ media?: EntityCardMediaConfig;
92
+ /** 主文案(Name/Title) */
93
+ primaryText?: string;
94
+ /** 副标题:与主标题同一行、紧跟主标题后的部分(如电话号),14px Regular #667085 */
95
+ subtitleText?: string;
96
+ /** 次级文案列表,顺序即展示顺序;可带 showTooltip */
97
+ secondaryTexts?: EntityCardSecondaryItem[];
98
+ /** 标签列表,顺序即展示顺序 */
99
+ tags?: EntityCardTagItem[];
100
+ /** 底部操作列表(View Detail、Select 等) */
101
+ actions?: EntityCardActionItem[];
102
+ /** 是否显示媒体区 @default true */
103
+ showMedia?: boolean;
104
+ /** 是否显示主文案 @default true */
105
+ showPrimaryText?: boolean;
106
+ /** 是否显示副标题(与主标题同行) @default true */
107
+ showSubtitle?: boolean;
108
+ /** 是否显示次级文案 @default true */
109
+ showSecondaryText?: boolean;
110
+ /** 是否显示标签 @default true */
111
+ showTags?: boolean;
112
+ /** 是否显示底部 Action 区 @default false */
113
+ showActions?: boolean;
114
+ /** 信息密度 @default 'B2' */
115
+ density?: EntityCardDensity;
116
+ /** 布局方向 @default 'horizontal' */
117
+ layout?: EntityCardLayout;
118
+ /** 卡片宽度 @default 'content' */
119
+ width?: EntityCardWidth;
120
+ /** 是否开启左滑删除 @default false */
121
+ swipeToDelete?: boolean;
122
+ /** 左滑后点击删除时回调 */
123
+ onDelete?: () => void;
124
+ /** 标签展示位置 @default 'below' */
125
+ tagPosition?: EntityCardTagPosition;
126
+ /** 内容区 gap(CSS gap 值) */
127
+ contentGap?: number | string;
128
+ /** 主文案行数限制(CSS -webkit-line-clamp) */
129
+ primaryLineClamp?: number;
130
+ /** 次级文案行数限制(按密度有默认值,可覆盖) */
131
+ secondaryLineClamp?: number;
132
+ /** 自定义渲染媒体区 */
133
+ renderMedia?: () => ReactNode;
134
+ /** 自定义渲染主文案区 */
135
+ renderPrimary?: () => ReactNode;
136
+ /** 自定义渲染副标题区(与主标题同行) */
137
+ renderSubtitle?: () => ReactNode;
138
+ /** 自定义渲染次级文案区 */
139
+ renderSecondary?: () => ReactNode;
140
+ /** 自定义渲染标签区 */
141
+ renderTags?: () => ReactNode;
142
+ /** 自定义渲染底部操作区 */
143
+ renderActions?: () => ReactNode;
144
+ }
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import type { PisellExportProps } from './types';
3
+ import './PisellExport.less';
4
+ /**
5
+ * PisellExport 导出触发器组件
6
+ *
7
+ * @description 仅负责 UI 展示与点击回调,不内置导出逻辑;支持 Icon/Button 两种形态与三种尺寸
8
+ */
9
+ export declare function PisellExport(props: PisellExportProps): React.JSX.Element;
@@ -0,0 +1,45 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import { PisellExport } from './PisellExport';
3
+ declare const meta: Meta<typeof PisellExport>;
4
+ export default meta;
5
+ declare type Story = StoryObj<typeof PisellExport>;
6
+ /**
7
+ * 默认 Button 形态
8
+ */
9
+ export declare const Basic: Story;
10
+ /**
11
+ * 仅图标形态
12
+ */
13
+ export declare const IconOnly: Story;
14
+ /**
15
+ * 三种尺寸 - Button
16
+ */
17
+ export declare const SizesButton: Story;
18
+ /**
19
+ * 三种尺寸 - Icon
20
+ */
21
+ export declare const SizesIcon: Story;
22
+ /**
23
+ * 默认样式 vs 主色样式
24
+ */
25
+ export declare const DefaultVsPrimary: Story;
26
+ /**
27
+ * 禁用态
28
+ */
29
+ export declare const Disabled: Story;
30
+ /**
31
+ * 自定义文案
32
+ */
33
+ export declare const CustomLabel: Story;
34
+ /**
35
+ * 自定义图标(antd 图标)
36
+ */
37
+ export declare const CustomIcon: Story;
38
+ /**
39
+ * 点击回调示例
40
+ */
41
+ export declare const WithCallback: Story;
42
+ /**
43
+ * 设计稿矩阵:Button 形态 × 尺寸 × 类型
44
+ */
45
+ export declare const ButtonMatrix: Story;
@@ -0,0 +1,2 @@
1
+ export { PisellExport } from './PisellExport';
2
+ export type { PisellExportProps, VariantType, SizeType, ExportButtonType } from './types';
@@ -0,0 +1,63 @@
1
+ import type { CSSProperties, MouseEvent as ReactMouseEvent, ReactNode } from 'react';
2
+ /**
3
+ * 展示形态
4
+ * @description icon:仅图标;button:图标 + 文案
5
+ */
6
+ export declare type VariantType = 'icon' | 'button';
7
+ /**
8
+ * 尺寸
9
+ * @description 小、中、大三种尺寸,对应设计稿 padding 与字体
10
+ */
11
+ export declare type SizeType = 'small' | 'medium' | 'large';
12
+ /**
13
+ * 视觉类型
14
+ * @description default:默认边框/灰字;primary:主色描边或填充
15
+ */
16
+ export declare type ExportButtonType = 'default' | 'primary';
17
+ /**
18
+ * PisellExport 组件 Props
19
+ * @description 导出触发器 UI 组件,仅负责展示与点击回调,不内置导出逻辑
20
+ */
21
+ export interface PisellExportProps {
22
+ /**
23
+ * 展示形态
24
+ * @default 'button'
25
+ */
26
+ variant?: VariantType;
27
+ /**
28
+ * 尺寸
29
+ * @default 'medium'
30
+ */
31
+ size?: SizeType;
32
+ /**
33
+ * 视觉类型(默认样式 / 主色样式)
34
+ * @default 'default'
35
+ */
36
+ type?: ExportButtonType;
37
+ /**
38
+ * 是否禁用
39
+ * @default false
40
+ */
41
+ disabled?: boolean;
42
+ /**
43
+ * Button 形态下的文案,不传时使用国际化默认文案
44
+ */
45
+ label?: ReactNode;
46
+ /**
47
+ * 自定义图标,不传时使用内置下载图标(download-cloud-01)
48
+ */
49
+ icon?: ReactNode;
50
+ /**
51
+ * 点击触发导出
52
+ * @description 由调用方在此回调中实现导出请求、轮询、下载等逻辑
53
+ */
54
+ onExport?: (e: ReactMouseEvent<HTMLElement>) => void;
55
+ /**
56
+ * 自定义类名
57
+ */
58
+ className?: string;
59
+ /**
60
+ * 自定义样式
61
+ */
62
+ style?: CSSProperties;
63
+ }
@@ -0,0 +1,7 @@
1
+ import { FilterListProps } from '../filter/components/FilterButton/types';
2
+ /**
3
+ * 筛选弹层 + 快筛列表;内部通过 Form.useForm 托管表单,无需也不应把 antd FormInstance 并入 props。
4
+ */
5
+ export declare type PisellFilterProps = FilterListProps & {
6
+ hasForm?: boolean;
7
+ };
@@ -0,0 +1,55 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import { PisellFloorMapLayout } from './PisellFloorMapLayout';
3
+ /**
4
+ * PisellFloorMapLayout 楼层图布局
5
+ *
6
+ * 空间布局视图:在二维平面按坐标渲染资源(桌台/房间/工位等),
7
+ * 支持缩放、平移、复位、区域定位,仅负责展示与交互。
8
+ */
9
+ declare const meta: Meta<typeof PisellFloorMapLayout>;
10
+ export default meta;
11
+ declare type Story = StoryObj<typeof PisellFloorMapLayout>;
12
+ /**
13
+ * 默认 - 纯色底 + 简单格子(格子单位,默认 item 间距 8px)
14
+ */
15
+ export declare const Default: Story;
16
+ /**
17
+ * 显示网格线(item 间距由 mapLayer.gap 控制)
18
+ */
19
+ export declare const WithGrid: Story;
20
+ /**
21
+ * 开启平移 - 可拖拽画布
22
+ */
23
+ export declare const WithPan: Story;
24
+ export declare const WithShapes: Story;
25
+ export declare const WithVariableSizes: Story;
26
+ export declare const PixelUnits: Story;
27
+ /**
28
+ * 点击与 Hover 事件
29
+ */
30
+ export declare const WithEvents: Story;
31
+ /**
32
+ * Ref 调用 - 外部按钮控制缩放/复位/区域定位
33
+ */
34
+ export declare const WithRefControls: Story;
35
+ export declare const FloorMapViewEdit: Story;
36
+ /**
37
+ * 平面图编辑态 + 自定义数据源记录表单(`dataSourceRecordForm.sales`)
38
+ */
39
+ export declare const FloorMapViewEditCustomRecordForm: Story;
40
+ /**
41
+ * Floor Map 视图 - 阅读态(方桌同样用 Figma 样式)
42
+ */
43
+ export declare const FloorMapViewRead: Story;
44
+ /**
45
+ * 自定义控制按钮显隐
46
+ */
47
+ export declare const ControlsHidden: Story;
48
+ /**
49
+ * `FloorMapLayoutProvider` 注入 `floorMapConfig` / `dataSources`;Layout 仅传展示向 props
50
+ */
51
+ export declare const FloorMapWithLayoutProvider: Story;
52
+ /**
53
+ * Figma 设计稿效果 - 餐厅桌台状态图(顶部 Tab + 图例参考 node 14131:6266,内容区不变)
54
+ */
55
+ export declare const FigmaDesign: Story;
@@ -0,0 +1,46 @@
1
+ /**
2
+ * EditableItemLayer - 编辑态图元层:拖拽、缩放、选中、吸附
3
+ */
4
+ import React, { type CSSProperties } from 'react';
5
+ import type { FloorMapItemBase, FloorMapMergedItem, FloorMapRenderOptions } from '../types';
6
+ import { type FloorMapEditQuickActionLabels } from './FloorMapEditQuickActions';
7
+ import './EditableItemLayer.less';
8
+ export interface EditableItemLayerProps<T extends FloorMapItemBase = FloorMapMergedItem> {
9
+ items: T[];
10
+ renderItem: (item: T, index: number, options?: FloorMapRenderOptions) => React.ReactNode;
11
+ rowKey?: string | ((item: T, index: number) => string);
12
+ cellSize: number;
13
+ itemUnit?: 'cell' | 'pixel';
14
+ itemGap?: number;
15
+ contentWidth: number;
16
+ contentHeight: number;
17
+ /** 内容区 X/Y 偏移(画布包围盒向左/上扩展时,图元层整体平移) */
18
+ contentOffsetX?: number;
19
+ contentOffsetY?: number;
20
+ selectedId: string | null;
21
+ onSelect: (id: string | null) => void;
22
+ onUpdateItem: (itemId: string, patch: Partial<{
23
+ x: number;
24
+ y: number;
25
+ width: number;
26
+ height: number;
27
+ }>) => void;
28
+ snapStep?: number;
29
+ /** 画布当前缩放,用于将屏幕位移转为内容位移 */
30
+ scale?: number;
31
+ /** 拖拽/缩放图元时通知父组件,用于禁用画布平移,避免松手时画布跟着动 */
32
+ onInteractionChange?: (active: boolean) => void;
33
+ /** 每项外层容器额外样式(与定位样式合并) */
34
+ getMergedItemWrapperStyle?: (item: T, index: number) => CSSProperties | undefined;
35
+ className?: string;
36
+ /** 编辑态选中时图元旁快捷栏(上锁 / 复制 / 删除) */
37
+ editQuickBar?: {
38
+ labels: FloorMapEditQuickActionLabels;
39
+ isLocked: boolean;
40
+ onToggleLock: () => void;
41
+ onDuplicate: () => void;
42
+ onDelete: () => void;
43
+ } | null;
44
+ }
45
+ export declare function EditableItemLayer<T extends FloorMapItemBase>(props: EditableItemLayerProps<T>): React.JSX.Element;
46
+ export default EditableItemLayer;
@@ -0,0 +1,53 @@
1
+ /**
2
+ * ItemLayer - 楼层图展示层
3
+ * 按 items 的 (x, y) 与 cellSize 定位,用 renderItem 渲染每项内容
4
+ */
5
+ import React from 'react';
6
+ import type { FloorMapItemBase, FloorMapItemUnit } from '../types';
7
+ import type { CSSProperties } from 'react';
8
+ import './ItemLayer.less';
9
+ export interface ItemLayerProps<T extends FloorMapItemBase> {
10
+ /** 资源列表 */
11
+ items: T[];
12
+ /** 每项渲染函数 */
13
+ renderItem: (item: T, index: number) => React.ReactNode;
14
+ /** 每项 key */
15
+ rowKey?: string | ((item: T, index: number) => string);
16
+ /** 每格像素尺寸(cell 单位时用;pixel 单位时作为缺省宽高) */
17
+ cellSize: number;
18
+ /** item 坐标与尺寸单位:cell 格子数,pixel 像素 */
19
+ itemUnit?: FloorMapItemUnit;
20
+ /** item 之间的间距(像素),仅 cell 单位时生效 */
21
+ itemGap?: number;
22
+ /** 内容区总宽度(像素),由 items 推导或外部传入 */
23
+ contentWidth: number;
24
+ /** 内容区总高度(像素) */
25
+ contentHeight: number;
26
+ /** 内容区 X 偏移(画布包围盒向左/上扩展时,图元层整体平移) */
27
+ contentOffsetX?: number;
28
+ /** 内容区 Y 偏移 */
29
+ contentOffsetY?: number;
30
+ /** 是否启用 hover 事件 */
31
+ enableHover?: boolean;
32
+ /**
33
+ * 是否在 hover 时显示外沿描边(选中感高亮)。默认 true。
34
+ * 平面图只读态可由布局关闭,仅去掉描边,不影响 onItemHover。
35
+ */
36
+ itemHoverOutline?: boolean;
37
+ /** 点击回调 */
38
+ onItemClick?: (item: T, index: number, e: React.MouseEvent<HTMLElement>) => void;
39
+ /** hover 进入 */
40
+ onItemHover?: (item: T, index: number, e: React.MouseEvent<HTMLElement>) => void;
41
+ /** hover 离开 */
42
+ onItemLeave?: (item: T, index: number, e: React.MouseEvent<HTMLElement>) => void;
43
+ /** 每项外层容器额外样式(与定位样式合并) */
44
+ getMergedItemWrapperStyle?: (item: T, index: number) => CSSProperties | undefined;
45
+ /**
46
+ * 与编辑态一致:在含 `data-pisell-floor-room-scroll-surface` 的区域内按下时置 true,
47
+ * 用于禁用 Transform 画布平移,避免图元内纵向滑动拖动画布。
48
+ */
49
+ onInteractionChange?: (active: boolean) => void;
50
+ className?: string;
51
+ }
52
+ export declare function ItemLayer<T extends FloorMapItemBase>(props: ItemLayerProps<T>): React.JSX.Element;
53
+ export default ItemLayer;
@@ -0,0 +1,27 @@
1
+ /**
2
+ * MapLayer - 楼层图底层
3
+ * 负责背景(无/纯色/图片/SVG)、网格线、padding、gap
4
+ */
5
+ import React from 'react';
6
+ import type { FloorMapLayerConfig } from '../types';
7
+ import './MapLayer.less';
8
+ export interface MapLayerProps {
9
+ /** 底层配置 */
10
+ config?: FloorMapLayerConfig;
11
+ /** 内容区域宽度(逻辑单位或像素,用于网格线计算) */
12
+ contentWidth?: number;
13
+ /** 内容区域高度 */
14
+ contentHeight?: number;
15
+ /** 每格像素尺寸(用于网格线间距) */
16
+ cellSize?: number;
17
+ /** 为 true 时不应用纯色背景,让画布底层网格透出 */
18
+ preferCanvasGrid?: boolean;
19
+ /** 为 true 时容器设置 pointer-events: none,空白处点击可透传到下层,供 react-zoom-pan-pinch 画布平移 */
20
+ pointerEventsNone?: boolean;
21
+ /** 子节点(展示层会叠在上方) */
22
+ children?: React.ReactNode;
23
+ /** 自定义类名 */
24
+ className?: string;
25
+ }
26
+ export declare function MapLayer(props: MapLayerProps): React.JSX.Element;
27
+ export default MapLayer;
@@ -0,0 +1,19 @@
1
+ /**
2
+ * 在 TransformWrapper 内用 useControls 拿到 zoom 控制并渲染 ViewControls,确保点击加减能缩放
3
+ */
4
+ import React from 'react';
5
+ import type { FloorMapControlsConfig } from '../types';
6
+ export interface ViewControlsWithZoomProps {
7
+ config?: FloorMapControlsConfig;
8
+ scale?: number;
9
+ isFullscreen?: boolean;
10
+ fitBounds: () => void;
11
+ /** 未传时不展示全屏按钮(如编辑态 floorMapFullscreenMode 为 disabled) */
12
+ toggleFullscreen?: () => void;
13
+ mapGridVisible?: boolean;
14
+ onToggleMapGrid?: () => void;
15
+ dockChrome?: boolean;
16
+ dockExpandedTrailing?: React.ReactNode;
17
+ autoCollapseDockMs?: number;
18
+ }
19
+ export declare function ViewControlsWithZoom(props: ViewControlsWithZoomProps): React.JSX.Element;
@@ -0,0 +1,21 @@
1
+ /**
2
+ * 楼层图布局子组件导出
3
+ */
4
+ export { MapLayer } from './MapLayer';
5
+ export { ItemLayer } from './ItemLayer';
6
+ export { ViewControls } from './ViewControls';
7
+ export { ViewControlsWithZoom } from './ViewControlsWithZoom';
8
+ export { CanvasTabs } from './CanvasTabs';
9
+ export { EditableItemLayer } from './EditableItemLayer';
10
+ export { FloorMapToolbar } from './FloorMapToolbar';
11
+ export { FloorMapEditTopBar } from './FloorMapEditTopBar';
12
+ export { FloorMapEditPanel } from './FloorMapEditPanel';
13
+ export { FloorMapDataForm } from './FloorMapDataForm';
14
+ export type { ViewControlsApi } from './ViewControls';
15
+ export type { ViewControlsWithZoomProps } from './ViewControlsWithZoom';
16
+ export type { CanvasTabsProps } from './CanvasTabs';
17
+ export type { EditableItemLayerProps } from './EditableItemLayer';
18
+ export type { FloorMapToolbarProps, PlaceMode } from './FloorMapToolbar';
19
+ export type { FloorMapEditTopBarProps, FloorMapEditTopBarMode, } from './FloorMapEditTopBar';
20
+ export type { FloorMapEditPanelProps } from './FloorMapEditPanel';
21
+ export type { FloorMapDataFormProps } from './FloorMapDataForm';
@@ -0,0 +1,16 @@
1
+ /**
2
+ * 平面图数据/保存等注入上下文;单独页面包 `FloorMapLayoutProvider`,RecordBoard 由 Shell 内置 Provider。
3
+ */
4
+ import React from 'react';
5
+ import type { FloorMapLayoutContextValue } from '../types';
6
+ /**
7
+ * 未传 `floorMapLayoutContext` 时 Shell 使用该稳定引用,避免无意义变更引用。
8
+ */
9
+ export declare const EMPTY_FLOOR_MAP_LAYOUT_CONTEXT: FloorMapLayoutContextValue;
10
+ export declare function useFloorMapLayoutContext(): FloorMapLayoutContextValue | undefined;
11
+ export interface FloorMapLayoutProviderProps {
12
+ value: FloorMapLayoutContextValue;
13
+ children: React.ReactNode;
14
+ }
15
+ /** 注入 `FloorMapLayoutContextValue`;`value` 建议由调用方 `useMemo` 稳定化 */
16
+ export declare function FloorMapLayoutProvider({ value, children, }: FloorMapLayoutProviderProps): React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ import type { FloorMapItemBase, FloorMapLayoutContextValue, PisellFloorMapLayoutProps } from '../types';
2
+ /**
3
+ * 将 `FloorMapLayoutContext` 与 Layout props 合并:各字段 props ?? ctx,props 显式值优先。
4
+ */
5
+ export declare function mergeFloorMapLayoutPropsFromContext<T extends FloorMapItemBase>(props: PisellFloorMapLayoutProps<T>, ctx: FloorMapLayoutContextValue | undefined): PisellFloorMapLayoutProps<T>;