@pisell/materials 6.11.107 → 6.11.109

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 (304) 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/index.js +1 -1
  5. package/build/lowcode/meta.js +1 -1
  6. package/build/lowcode/preview.js +7 -7
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +7 -7
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +7 -7
  11. package/es/components/Pagination/index.d.ts +0 -1
  12. package/es/components/PisellTabbar/constants.d.ts +47 -0
  13. package/es/components/PisellTabbar/hooks/useActiveKey.d.ts +55 -0
  14. package/es/components/PisellTabbar/hooks/useExpand.d.ts +42 -0
  15. package/es/components/PisellTabbar/template/Template1/constants.d.ts +10 -0
  16. package/es/components/PisellTabbar/types.d.ts +90 -0
  17. package/es/components/PisellTabbar/utils/index.d.ts +69 -0
  18. package/es/components/SafeAreaTop/index.d.ts +5 -0
  19. package/es/components/SafeAreaTop/types.d.ts +9 -0
  20. package/es/components/appVersionControl/index.d.ts +0 -1
  21. package/es/components/buttonGroupPreview/index.js +2 -1
  22. package/es/components/cardPro/index.d.ts +3 -0
  23. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -1
  24. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +3 -3
  25. package/es/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +1 -0
  26. package/es/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +1 -0
  27. package/es/components/dataSourceComponents/fields/IconSelect/ReadPretty.d.ts +1 -0
  28. package/es/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +1 -0
  29. package/es/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +1 -0
  30. package/es/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +1 -0
  31. package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  32. package/es/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +1 -0
  33. package/es/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +1 -0
  34. package/es/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +1 -0
  35. package/es/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +1 -0
  36. package/es/components/dataSourceComponents/fields/index.d.ts +8 -8
  37. package/es/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +15 -0
  38. package/es/components/drag-sort-tree/TreeItem/index.d.ts +18 -0
  39. package/es/components/filter/components/Dropdown/types.d.ts +15 -0
  40. package/es/components/filter/components/FilterButton/types.d.ts +29 -0
  41. package/es/components/filter/types.d.ts +52 -0
  42. package/es/components/iconfont/index.d.ts +8 -0
  43. package/es/components/page/index.d.ts +0 -1
  44. package/es/components/pisell-config-provider/context.d.ts +22 -0
  45. package/es/components/pisellAdjustPrice/index.d.ts +0 -1
  46. package/es/components/pisellAdjustPrice/status.d.ts +32 -0
  47. package/es/components/pisellAdjustPrice/type.d.ts +22 -0
  48. package/es/components/pisellFilter/index.d.ts +0 -1
  49. package/es/components/pisellFilter/type.d.ts +7 -0
  50. package/es/components/pisellFind/index.d.ts +34 -12
  51. package/es/components/pisellFind/index.js +114 -18
  52. package/es/components/pisellFloorMapLayout/PisellFloorMapLayout.js +6 -1
  53. package/es/components/pisellFloorMapLayout/hooks/useFloorMapEditState.d.ts +6 -0
  54. package/es/components/pisellFloorMapLayout/hooks/useFloorMapEditState.js +24 -18
  55. package/es/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanClient.js +4 -6
  56. package/es/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.d.ts +6 -0
  57. package/es/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.stories.d.ts +10 -0
  58. package/es/components/pisellHierarchicalSummaryList/components/Row.d.ts +35 -0
  59. package/es/components/pisellHierarchicalSummaryList/components/index.d.ts +1 -0
  60. package/es/components/pisellHierarchicalSummaryList/hooks/index.d.ts +2 -0
  61. package/es/components/pisellHierarchicalSummaryList/hooks/useExpandedKeys.d.ts +15 -0
  62. package/es/components/pisellHierarchicalSummaryList/index.d.ts +5 -0
  63. package/es/components/pisellHierarchicalSummaryList/types.d.ts +248 -0
  64. package/es/components/pisellInput/components/Copy/index.d.ts +0 -1
  65. package/es/components/pisellInput/index.d.ts +0 -1
  66. package/es/components/pisellLookup/PisellLookup.d.ts +4 -0
  67. package/es/components/pisellLookup/components/LookupResultHost.d.ts +7 -0
  68. package/es/components/pisellLookup/components/LookupTrigger.d.ts +3 -0
  69. package/es/components/pisellRecordBoard/layouts/GridLayout/Grid.js +4 -2
  70. package/es/components/pisellShellFrame/PisellShellFrame.d.ts +13 -0
  71. package/es/components/pisellShellFrame/types.d.ts +62 -0
  72. package/es/components/pisellToast/squareToast/index.d.ts +15 -0
  73. package/es/components/pisellToast/squareToast/methods.d.ts +13 -0
  74. package/es/components/pisellToast/squareToast/renderImperatively.d.ts +28 -0
  75. package/es/components/pisellToast/squareToast/toast.d.ts +25 -0
  76. package/es/components/productCard/cartSkuCard/components/AmountFooter/index.js +3 -14
  77. package/es/components/productCard/cartSkuCard/components/AmountFooter/index.less +2 -3
  78. package/es/components/productCard/cartSkuCard/components/Gift/index.d.ts +0 -1
  79. package/es/components/productCard/cartSkuCard/components/Gift/types.d.ts +29 -0
  80. package/es/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -1
  81. package/es/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +14 -0
  82. package/es/components/productCard/cartSkuCard/components/Note/index.d.ts +0 -1
  83. package/es/components/productCard/cartSkuCard/components/Promotion/index.d.ts +6 -0
  84. package/es/components/productCard/cartSkuCard/components/basicInfo/index.js +4 -11
  85. package/es/components/productCard/cartSkuCard/components/basicInfo/index.less +0 -8
  86. package/es/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -1
  87. package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -1
  88. package/es/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -1
  89. package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
  90. package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -1
  91. package/es/components/productCard/cartSkuCard/components/resources/index.less +4 -0
  92. package/es/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -1
  93. package/es/components/productCard/cartSkuCard/components/specs/index.js +5 -1
  94. package/es/components/productCard/cartSkuCard/components/specs/index.less +0 -24
  95. package/es/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +46 -0
  96. package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -1
  97. package/es/components/productCard/cartSkuCard/components/weighing/index.js +1 -4
  98. package/es/components/productCard/cartSkuCard/components/weighing/index.less +2 -10
  99. package/es/components/productCard/cartSkuCard/index.less +0 -2
  100. package/es/components/productCard/cartSkuCard/locales.d.ts +203 -0
  101. package/es/components/productCard/components/Action/index.d.ts +3 -0
  102. package/es/components/productCard/components/Header/EditButton/index.d.ts +0 -1
  103. package/es/components/productCard/components/Header/index.d.ts +0 -1
  104. package/es/components/productCard/components/Packages/utils.d.ts +1 -1
  105. package/es/components/productCard/components/Sales/index.d.ts +0 -1
  106. package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -1
  107. package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -1
  108. package/es/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +0 -1
  109. package/es/components/productCard/lineItem/BookingLineItem.d.ts +3 -1
  110. package/es/components/productCard/lineItem/BookingLineItem.js +39 -21
  111. package/es/components/productCard/lineItem/components/Holders/index.d.ts +9 -0
  112. package/es/components/productCard/lineItem/components/Holders/index.js +74 -0
  113. package/es/components/productCard/lineItem/components/Holders/index.less +39 -0
  114. package/es/components/productCard/lineItem/components/TimeRange/index.d.ts +0 -1
  115. package/es/components/productCard/lineItem/index.d.ts +11 -7
  116. package/es/components/productCard/lineItem/index.js +89 -27
  117. package/es/components/productCard/lineItem/index.less +40 -3
  118. package/es/components/productCard/lineItem/locales.d.ts +23 -0
  119. package/es/components/productCard/lineItem/types.d.ts +4 -0
  120. package/es/components/productCard/locales.d.ts +138 -0
  121. package/es/components/productCard/types.d.ts +1 -0
  122. package/es/components/select/index.d.ts +9 -0
  123. package/es/components/select-time/index.d.ts +0 -1
  124. package/es/components/table/BasicTable/index.d.ts +0 -1
  125. package/es/components/table/Table/utils.d.ts +1 -1
  126. package/es/components/virtual-keyboard/Amount/index.d.ts +0 -1
  127. package/es/components/virtual-keyboard/Amount/themeConfig.d.ts +32 -0
  128. package/es/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +15 -0
  129. package/es/components/virtual-keyboard/Keyboard/index.d.ts +21 -0
  130. package/es/components/virtual-keyboard/Number/index.d.ts +0 -1
  131. package/es/components/virtual-keyboard/Number/themeConfig.d.ts +32 -0
  132. package/es/components/virtual-keyboard/Number/types.d.ts +26 -0
  133. package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts +13 -0
  134. package/es/hooks/useResponsive.d.ts +1 -1
  135. package/es/locales/en-US.d.ts +565 -0
  136. package/es/locales/ja.d.ts +533 -0
  137. package/es/locales/pt.d.ts +533 -0
  138. package/es/locales/zh-CN.d.ts +560 -0
  139. package/es/locales/zh-TW.d.ts +560 -0
  140. package/lib/components/Pagination/index.d.ts +0 -1
  141. package/lib/components/PisellTabbar/constants.d.ts +47 -0
  142. package/lib/components/PisellTabbar/hooks/useActiveKey.d.ts +55 -0
  143. package/lib/components/PisellTabbar/hooks/useExpand.d.ts +42 -0
  144. package/lib/components/PisellTabbar/template/Template1/constants.d.ts +10 -0
  145. package/lib/components/PisellTabbar/types.d.ts +90 -0
  146. package/lib/components/PisellTabbar/utils/index.d.ts +69 -0
  147. package/lib/components/SafeAreaTop/index.d.ts +5 -0
  148. package/lib/components/SafeAreaTop/types.d.ts +9 -0
  149. package/lib/components/appVersionControl/index.d.ts +0 -1
  150. package/lib/components/buttonGroupPreview/index.js +2 -1
  151. package/lib/components/cardPro/index.d.ts +3 -0
  152. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -1
  153. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +3 -3
  154. package/lib/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +1 -0
  155. package/lib/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +1 -0
  156. package/lib/components/dataSourceComponents/fields/IconSelect/ReadPretty.d.ts +1 -0
  157. package/lib/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +1 -0
  158. package/lib/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +1 -0
  159. package/lib/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +1 -0
  160. package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  161. package/lib/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +1 -0
  162. package/lib/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +1 -0
  163. package/lib/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +1 -0
  164. package/lib/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +1 -0
  165. package/lib/components/dataSourceComponents/fields/index.d.ts +8 -8
  166. package/lib/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +15 -0
  167. package/lib/components/drag-sort-tree/TreeItem/index.d.ts +18 -0
  168. package/lib/components/filter/components/Dropdown/types.d.ts +15 -0
  169. package/lib/components/filter/components/FilterButton/types.d.ts +29 -0
  170. package/lib/components/filter/types.d.ts +52 -0
  171. package/lib/components/iconfont/index.d.ts +8 -0
  172. package/lib/components/page/index.d.ts +0 -1
  173. package/lib/components/pisell-config-provider/context.d.ts +22 -0
  174. package/lib/components/pisellAdjustPrice/index.d.ts +0 -1
  175. package/lib/components/pisellAdjustPrice/status.d.ts +32 -0
  176. package/lib/components/pisellAdjustPrice/type.d.ts +22 -0
  177. package/lib/components/pisellFilter/index.d.ts +0 -1
  178. package/lib/components/pisellFilter/type.d.ts +7 -0
  179. package/lib/components/pisellFind/index.d.ts +34 -12
  180. package/lib/components/pisellFind/index.js +80 -5
  181. package/lib/components/pisellFloorMapLayout/PisellFloorMapLayout.js +6 -1
  182. package/lib/components/pisellFloorMapLayout/hooks/useFloorMapEditState.d.ts +6 -0
  183. package/lib/components/pisellFloorMapLayout/hooks/useFloorMapEditState.js +36 -17
  184. package/lib/components/pisellFloorMapLayout/shopFloorPlan/shopFloorPlanClient.js +3 -5
  185. package/lib/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.d.ts +6 -0
  186. package/lib/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.stories.d.ts +10 -0
  187. package/lib/components/pisellHierarchicalSummaryList/components/Row.d.ts +35 -0
  188. package/lib/components/pisellHierarchicalSummaryList/components/index.d.ts +1 -0
  189. package/lib/components/pisellHierarchicalSummaryList/hooks/index.d.ts +2 -0
  190. package/lib/components/pisellHierarchicalSummaryList/hooks/useExpandedKeys.d.ts +15 -0
  191. package/lib/components/pisellHierarchicalSummaryList/index.d.ts +5 -0
  192. package/lib/components/pisellHierarchicalSummaryList/types.d.ts +248 -0
  193. package/lib/components/pisellInput/components/Copy/index.d.ts +0 -1
  194. package/lib/components/pisellInput/index.d.ts +0 -1
  195. package/lib/components/pisellLookup/PisellLookup.d.ts +4 -0
  196. package/lib/components/pisellLookup/components/LookupResultHost.d.ts +7 -0
  197. package/lib/components/pisellLookup/components/LookupTrigger.d.ts +3 -0
  198. package/lib/components/pisellRecordBoard/layouts/GridLayout/Grid.js +1 -1
  199. package/lib/components/pisellShellFrame/PisellShellFrame.d.ts +13 -0
  200. package/lib/components/pisellShellFrame/types.d.ts +62 -0
  201. package/lib/components/pisellToast/squareToast/index.d.ts +15 -0
  202. package/lib/components/pisellToast/squareToast/methods.d.ts +13 -0
  203. package/lib/components/pisellToast/squareToast/renderImperatively.d.ts +28 -0
  204. package/lib/components/pisellToast/squareToast/toast.d.ts +25 -0
  205. package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.js +2 -11
  206. package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.less +2 -3
  207. package/lib/components/productCard/cartSkuCard/components/Gift/index.d.ts +0 -1
  208. package/lib/components/productCard/cartSkuCard/components/Gift/types.d.ts +29 -0
  209. package/lib/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -1
  210. package/lib/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +14 -0
  211. package/lib/components/productCard/cartSkuCard/components/Note/index.d.ts +0 -1
  212. package/lib/components/productCard/cartSkuCard/components/Promotion/index.d.ts +6 -0
  213. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.js +10 -22
  214. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.less +0 -8
  215. package/lib/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -1
  216. package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -1
  217. package/lib/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -1
  218. package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
  219. package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -1
  220. package/lib/components/productCard/cartSkuCard/components/resources/index.less +4 -0
  221. package/lib/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -1
  222. package/lib/components/productCard/cartSkuCard/components/specs/index.js +11 -1
  223. package/lib/components/productCard/cartSkuCard/components/specs/index.less +0 -24
  224. package/lib/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +46 -0
  225. package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -1
  226. package/lib/components/productCard/cartSkuCard/components/weighing/index.js +4 -6
  227. package/lib/components/productCard/cartSkuCard/components/weighing/index.less +2 -10
  228. package/lib/components/productCard/cartSkuCard/index.less +0 -2
  229. package/lib/components/productCard/cartSkuCard/locales.d.ts +203 -0
  230. package/lib/components/productCard/components/Action/index.d.ts +3 -0
  231. package/lib/components/productCard/components/Header/EditButton/index.d.ts +0 -1
  232. package/lib/components/productCard/components/Header/index.d.ts +0 -1
  233. package/lib/components/productCard/components/Packages/utils.d.ts +1 -1
  234. package/lib/components/productCard/components/Sales/index.d.ts +0 -1
  235. package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -1
  236. package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -1
  237. package/lib/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +0 -1
  238. package/lib/components/productCard/lineItem/BookingLineItem.d.ts +3 -1
  239. package/lib/components/productCard/lineItem/BookingLineItem.js +40 -48
  240. package/lib/components/productCard/lineItem/components/Holders/index.d.ts +9 -0
  241. package/lib/components/productCard/lineItem/components/Holders/index.js +83 -0
  242. package/lib/components/productCard/lineItem/components/Holders/index.less +39 -0
  243. package/lib/components/productCard/lineItem/components/TimeRange/index.d.ts +0 -1
  244. package/lib/components/productCard/lineItem/index.d.ts +11 -7
  245. package/lib/components/productCard/lineItem/index.js +63 -21
  246. package/lib/components/productCard/lineItem/index.less +40 -3
  247. package/lib/components/productCard/lineItem/locales.d.ts +23 -0
  248. package/lib/components/productCard/lineItem/types.d.ts +4 -0
  249. package/lib/components/productCard/locales.d.ts +138 -0
  250. package/lib/components/productCard/types.d.ts +1 -0
  251. package/lib/components/select/index.d.ts +9 -0
  252. package/lib/components/select-time/index.d.ts +0 -1
  253. package/lib/components/table/BasicTable/index.d.ts +0 -1
  254. package/lib/components/table/Table/utils.d.ts +1 -1
  255. package/lib/components/virtual-keyboard/Amount/index.d.ts +0 -1
  256. package/lib/components/virtual-keyboard/Amount/themeConfig.d.ts +32 -0
  257. package/lib/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +15 -0
  258. package/lib/components/virtual-keyboard/Keyboard/index.d.ts +21 -0
  259. package/lib/components/virtual-keyboard/Number/index.d.ts +0 -1
  260. package/lib/components/virtual-keyboard/Number/themeConfig.d.ts +32 -0
  261. package/lib/components/virtual-keyboard/Number/types.d.ts +26 -0
  262. package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +13 -0
  263. package/lib/hooks/useResponsive.d.ts +1 -1
  264. package/lib/locales/en-US.d.ts +565 -0
  265. package/lib/locales/ja.d.ts +533 -0
  266. package/lib/locales/pt.d.ts +533 -0
  267. package/lib/locales/zh-CN.d.ts +560 -0
  268. package/lib/locales/zh-TW.d.ts +560 -0
  269. package/lowcode/pisell-find/meta.ts +19 -0
  270. package/package.json +1 -1
  271. package/es/components/PisellCards/components/GraphicTextCard/types.d.ts +0 -290
  272. package/es/components/PisellCards/components/TextCard/TextCard.d.ts +0 -7
  273. package/es/components/PisellCards/components/TextCard/components/BadgeWrapper.d.ts +0 -26
  274. package/es/components/PisellCards/components/TextCard/components/TextContent.d.ts +0 -21
  275. package/es/components/PisellCards/components/TextCard/types.d.ts +0 -270
  276. package/es/components/PisellScrollView/PisellScrollView.d.ts +0 -5
  277. package/es/components/PisellScrollView/components/Actions/index.d.ts +0 -18
  278. package/es/components/PisellScrollView/types.d.ts +0 -203
  279. package/es/components/drag-sort-tree/index.d.ts +0 -4
  280. package/es/components/login-and-register/index.d.ts +0 -82
  281. package/es/components/pisellFloorMapLayout/components/FloorMapEditQuickActions.d.ts +0 -23
  282. package/es/components/pisellFloorMapLayout/floorMapLayoutConstants.d.ts +0 -35
  283. package/es/components/pisellFloorMapLayout/utils/alignSnap.d.ts +0 -64
  284. package/es/components/pisellFloorMapLayout/utils/floorMapResourcePickerDisplay.d.ts +0 -27
  285. package/es/components/pisellFloorMapLayout/utils/floorMapResourcePickerTypes.d.ts +0 -109
  286. package/es/components/pisellGridPro/index.d.ts +0 -4
  287. package/es/components/productCard/components/Header/DeleteButton/index.d.ts +0 -3
  288. package/lib/components/PisellCards/components/GraphicTextCard/types.d.ts +0 -290
  289. package/lib/components/PisellCards/components/TextCard/TextCard.d.ts +0 -7
  290. package/lib/components/PisellCards/components/TextCard/components/BadgeWrapper.d.ts +0 -26
  291. package/lib/components/PisellCards/components/TextCard/components/TextContent.d.ts +0 -21
  292. package/lib/components/PisellCards/components/TextCard/types.d.ts +0 -270
  293. package/lib/components/PisellScrollView/PisellScrollView.d.ts +0 -5
  294. package/lib/components/PisellScrollView/components/Actions/index.d.ts +0 -18
  295. package/lib/components/PisellScrollView/types.d.ts +0 -203
  296. package/lib/components/drag-sort-tree/index.d.ts +0 -4
  297. package/lib/components/login-and-register/index.d.ts +0 -82
  298. package/lib/components/pisellFloorMapLayout/components/FloorMapEditQuickActions.d.ts +0 -23
  299. package/lib/components/pisellFloorMapLayout/floorMapLayoutConstants.d.ts +0 -35
  300. package/lib/components/pisellFloorMapLayout/utils/alignSnap.d.ts +0 -64
  301. package/lib/components/pisellFloorMapLayout/utils/floorMapResourcePickerDisplay.d.ts +0 -27
  302. package/lib/components/pisellFloorMapLayout/utils/floorMapResourcePickerTypes.d.ts +0 -109
  303. package/lib/components/pisellGridPro/index.d.ts +0 -4
  304. package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +0 -3
@@ -0,0 +1,22 @@
1
+ export interface PisellAdjustPriceProps {
2
+ value?: number;
3
+ originValue: number;
4
+ defaultValue?: number;
5
+ onChange?: (val: number) => void;
6
+ selectType?: 'light' | 'dark';
7
+ backgroundColor?: string;
8
+ containerBackgroundColor?: string;
9
+ buttonBackgroundColor?: string;
10
+ textColor?: string;
11
+ resetButtonBackgroundColor?: string;
12
+ resetButtonTextColor?: string;
13
+ isDoneButtonFollowTheme?: boolean;
14
+ doneButtonBackgroundColor?: string;
15
+ doneButtonTextColor?: string;
16
+ isShowMainText?: boolean;
17
+ mainTextColor?: string;
18
+ isShowSubText?: boolean;
19
+ subTextColor?: string;
20
+ resetText?: string;
21
+ doneText?: string;
22
+ }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PisellFilterProps } from './type';
3
2
  declare const PisellFilter: (props: PisellFilterProps) => JSX.Element;
4
3
  export default PisellFilter;
@@ -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
+ };
@@ -1,10 +1,37 @@
1
1
  import React from 'react';
2
2
  import type { PisellLookupProps, PisellLookupRef } from '../pisellLookup';
3
+ /**
4
+ * 原生扫码事件名,对齐宿主端约定。
5
+ */
6
+ export declare const SCAN_RESULT_EVENT = "nativeScanResult";
7
+ /**
8
+ * 扫码枪回传数据(对齐宿主 ScanResultPayload)
9
+ * - code: 条码标识(如条码格式 / 业务字段)
10
+ * - data: 扫描得到的字符串值(写入输入框的内容)
11
+ */
12
+ export interface PisellFindScannerData {
13
+ code: string;
14
+ data: string;
15
+ }
3
16
  /**
4
17
  * PisellFind Props
5
- * 继承 PisellLookup 的所有 Props
18
+ * 继承 PisellLookup 的所有 Props,并扩展扫码枪监听相关字段。
6
19
  */
7
- export declare type PisellFindProps = PisellLookupProps;
20
+ export interface PisellFindProps extends PisellLookupProps {
21
+ /**
22
+ * 是否开启扫码枪监听
23
+ * 通过宿主 `app.pubsub.subscribe('nativeScanResult', ...)` 订阅;
24
+ * 切换 false 时会 unsubscribe,停止接收事件。
25
+ * @default false
26
+ */
27
+ enableScanner?: boolean;
28
+ /**
29
+ * 扫码枪回调
30
+ * 监听到扫码枪事件时触发,参数为原始 payload 对象(含 `data` 字段)。
31
+ * 注意:仅在 enableScanner 为 true 时才会触发。
32
+ */
33
+ onScannerData?: (data: PisellFindScannerData) => void;
34
+ }
8
35
  /**
9
36
  * PisellFind Ref
10
37
  * 继承 PisellLookup 的所有 Ref 方法
@@ -19,22 +46,17 @@ export declare type PisellFindRef = PisellLookupRef;
19
46
  * - 默认不显示确认按钮(输入即搜索)
20
47
  * - 默认开启搜索历史
21
48
  * - 默认不展示结果区(结果在页面其他位置展示)
49
+ * - 通过 `enableScanner` 接入扫码枪:使用宿主 `app.pubsub.subscribe(SCAN_RESULT_EVENT, ...)`,
50
+ * 每次扫码直接覆盖输入框内容并触发 onSearch / onScannerData;切回 false 时自动 unsubscribe。
22
51
  *
23
52
  * @example
24
53
  * ```tsx
25
- * // 基础用法
26
- * <PisellFind
27
- * onSearch={(keyword) => {
28
- * const filtered = data.filter(item => item.name.includes(keyword));
29
- * setFilteredData(filtered);
30
- * }}
31
- * />
32
- *
33
- * // 切换为 Input 模式
34
54
  * <PisellFind
35
55
  * triggerType="input"
56
+ * enableScanner={isActive}
57
+ * onScannerData={(payload) => console.log('scan:', payload.data)}
36
58
  * onSearch={(keyword) => filterData(keyword)}
37
59
  * />
38
60
  * ```
39
61
  */
40
- export declare const PisellFind: React.ForwardRefExoticComponent<PisellLookupProps & React.RefAttributes<PisellLookupRef>>;
62
+ export declare const PisellFind: React.ForwardRefExoticComponent<PisellFindProps & React.RefAttributes<PisellLookupRef>>;
@@ -29,16 +29,19 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
29
29
  // src/components/pisellFind/index.tsx
30
30
  var pisellFind_exports = {};
31
31
  __export(pisellFind_exports, {
32
- PisellFind: () => PisellFind
32
+ PisellFind: () => PisellFind,
33
+ SCAN_RESULT_EVENT: () => SCAN_RESULT_EVENT
33
34
  });
34
35
  module.exports = __toCommonJS(pisellFind_exports);
35
36
  var import_react = __toESM(require("react"));
36
37
  var import_utils = require("@pisell/utils");
37
38
  var import_pisellLookup = require("../pisellLookup");
39
+ var import_useEngineContext = __toESM(require("../../hooks/useEngineContext"));
38
40
  var import_locales = require("../../locales");
41
+ var SCAN_RESULT_EVENT = "nativeScanResult";
39
42
  var PisellFind = (0, import_react.forwardRef)((props, ref) => {
43
+ var _a, _b;
40
44
  const {
41
- // 提取需要设置默认值的 Props
42
45
  triggerType = "button",
43
46
  buttonText = (() => {
44
47
  const key = "pisell2.recordBoard.toolbar.find";
@@ -53,19 +56,90 @@ var PisellFind = (0, import_react.forwardRef)((props, ref) => {
53
56
  showConfirmButton = false,
54
57
  showHistory = true,
55
58
  historyKey = "pisell_find_history",
56
- // 透传其他所有 Props
59
+ enableScanner = false,
60
+ onScannerData,
61
+ onSearch,
57
62
  ...restProps
58
63
  } = props;
64
+ const lookupRef = (0, import_react.useRef)(null);
65
+ const onScannerDataRef = (0, import_react.useRef)(onScannerData);
66
+ const onSearchRef = (0, import_react.useRef)(onSearch);
67
+ (0, import_react.useEffect)(() => {
68
+ onScannerDataRef.current = onScannerData;
69
+ }, [onScannerData]);
70
+ (0, import_react.useEffect)(() => {
71
+ onSearchRef.current = onSearch;
72
+ }, [onSearch]);
73
+ (0, import_react.useImperativeHandle)(
74
+ ref,
75
+ () => ({
76
+ open: () => {
77
+ var _a2;
78
+ return (_a2 = lookupRef.current) == null ? void 0 : _a2.open();
79
+ },
80
+ close: () => {
81
+ var _a2;
82
+ return (_a2 = lookupRef.current) == null ? void 0 : _a2.close();
83
+ },
84
+ getKeyword: () => {
85
+ var _a2;
86
+ return ((_a2 = lookupRef.current) == null ? void 0 : _a2.getKeyword()) ?? "";
87
+ },
88
+ setKeyword: (v) => {
89
+ var _a2;
90
+ return (_a2 = lookupRef.current) == null ? void 0 : _a2.setKeyword(v);
91
+ }
92
+ }),
93
+ []
94
+ );
95
+ const engineContext = (0, import_useEngineContext.default)();
96
+ const getAppRef = (0, import_react.useRef)(void 0);
97
+ getAppRef.current = typeof ((_b = (_a = engineContext == null ? void 0 : engineContext.appHelper) == null ? void 0 : _a.utils) == null ? void 0 : _b.getApp) === "function" ? engineContext.appHelper.utils.getApp : void 0;
98
+ (0, import_react.useEffect)(() => {
99
+ if (!enableScanner) return void 0;
100
+ const getApp = getAppRef.current;
101
+ if (typeof getApp !== "function") return void 0;
102
+ const app = getApp();
103
+ const pubsub = app == null ? void 0 : app.pubsub;
104
+ if (!pubsub || typeof pubsub.subscribe !== "function") {
105
+ return void 0;
106
+ }
107
+ const onScan = (payload) => {
108
+ var _a2, _b2, _c;
109
+ const data = payload == null ? void 0 : payload.data;
110
+ if (typeof data !== "string" || data.length === 0) {
111
+ return;
112
+ }
113
+ (_a2 = lookupRef.current) == null ? void 0 : _a2.setKeyword(data);
114
+ (_b2 = onSearchRef.current) == null ? void 0 : _b2.call(onSearchRef, data);
115
+ (_c = onScannerDataRef.current) == null ? void 0 : _c.call(onScannerDataRef, payload);
116
+ };
117
+ try {
118
+ pubsub.subscribe(SCAN_RESULT_EVENT, onScan);
119
+ } catch (e) {
120
+ console.warn("[PisellFind] subscribe scanner failed:", e);
121
+ return void 0;
122
+ }
123
+ return () => {
124
+ var _a2;
125
+ try {
126
+ (_a2 = pubsub.unsubscribe) == null ? void 0 : _a2.call(pubsub, SCAN_RESULT_EVENT, onScan);
127
+ } catch (e) {
128
+ console.warn("[PisellFind] unsubscribe scanner failed:", e);
129
+ }
130
+ };
131
+ }, [enableScanner]);
59
132
  return /* @__PURE__ */ import_react.default.createElement(
60
133
  import_pisellLookup.PisellLookup,
61
134
  {
62
- ref,
135
+ ref: lookupRef,
63
136
  triggerType,
64
137
  buttonText,
65
138
  placeholder,
66
139
  showConfirmButton,
67
140
  showHistory,
68
141
  historyKey,
142
+ onSearch,
69
143
  ...restProps
70
144
  }
71
145
  );
@@ -73,5 +147,6 @@ var PisellFind = (0, import_react.forwardRef)((props, ref) => {
73
147
  PisellFind.displayName = "PisellFind";
74
148
  // Annotate the CommonJS export names for ESM import in node:
75
149
  0 && (module.exports = {
76
- PisellFind
150
+ PisellFind,
151
+ SCAN_RESULT_EVENT
77
152
  });
@@ -142,7 +142,12 @@ function PisellFloorMapLayoutInner(props, ref) {
142
142
  layoutPrefix: import_floorMapLayoutConstants.FLOOR_MAP_LAYOUT_CLASS_PREFIX,
143
143
  contentOffsetRef,
144
144
  showDataSourceRecordFormBlock,
145
- focusViewportOnBoundsRef
145
+ focusViewportOnBoundsRef,
146
+ /**
147
+ * 网格显隐缓存与视口持久化共用同一命名空间,按业务/门店/平面图隔离;
148
+ * 与视口 `viewportPersistKey` 同源,避免换门店/平面图读到别家的网格偏好。
149
+ */
150
+ gridPersistNamespace: viewportPersistNamespace
146
151
  });
147
152
  const {
148
153
  config,
@@ -20,6 +20,12 @@ export interface UseFloorMapEditStateParams<T extends FloorMapItemBase> {
20
20
  showDataSourceRecordFormBlock?: boolean;
21
21
  /** 批量落点后由布局层注入:将视口移至新增图元区域 */
22
22
  focusViewportOnBoundsRef?: MutableRefObject<((bounds: PlacementBoundingBox) => void) | null>;
23
+ /**
24
+ * 网格显隐缓存命名空间(通常与视口 `viewportPersistNamespace` 同源,拼自业务/门店/平面图)。
25
+ * 传入后网格 localStorage key 变为 `prefix:namespace:canvasId`,隔离不同门店/场景;
26
+ * 不传则沿用 `prefix:canvasId`(向后兼容,跨场景可能共享)。
27
+ */
28
+ gridPersistNamespace?: string;
23
29
  }
24
30
  export declare function useFloorMapEditState<T extends FloorMapItemBase>(params: UseFloorMapEditStateParams<T>): {
25
31
  config: FloorMapViewConfig | null;
@@ -55,12 +55,12 @@ var I18N_PLACEMENT_FALLBACK_IMAGE = "pisell-floor-map-layout.placement.fallback-
55
55
  var I18N_PLACEMENT_ZONE_NAME = "pisell-floor-map-layout.zone.unnamed";
56
56
  var ZONE_PLACE_DEFAULT = { width: 240, height: 160 };
57
57
  var GRID_VIS_STORAGE_PREFIX = "pisell-floor-map-layout.grid-visible";
58
- function getGridVisStorageKey(canvasId) {
59
- return `${GRID_VIS_STORAGE_PREFIX}:${canvasId}`;
58
+ function getGridVisStorageKey(canvasId, namespace) {
59
+ return namespace ? `${GRID_VIS_STORAGE_PREFIX}:${namespace}:${canvasId}` : `${GRID_VIS_STORAGE_PREFIX}:${canvasId}`;
60
60
  }
61
- function readStoredGridVisible(canvasId) {
61
+ function readStoredGridVisible(canvasId, namespace) {
62
62
  try {
63
- const raw = localStorage.getItem(getGridVisStorageKey(canvasId));
63
+ const raw = localStorage.getItem(getGridVisStorageKey(canvasId, namespace));
64
64
  if (raw == null) return null;
65
65
  if (raw === "1") return true;
66
66
  if (raw === "0") return false;
@@ -69,18 +69,21 @@ function readStoredGridVisible(canvasId) {
69
69
  return null;
70
70
  }
71
71
  }
72
- function writeStoredGridVisible(canvasId, visible) {
72
+ function writeStoredGridVisible(canvasId, visible, namespace) {
73
73
  try {
74
- localStorage.setItem(getGridVisStorageKey(canvasId), visible ? "1" : "0");
74
+ localStorage.setItem(
75
+ getGridVisStorageKey(canvasId, namespace),
76
+ visible ? "1" : "0"
77
+ );
75
78
  } catch {
76
79
  }
77
80
  }
78
- function normalizeFloorMapConfigWithStoredGrid(floorMapConfigProp) {
81
+ function normalizeFloorMapConfigWithStoredGrid(floorMapConfigProp, namespace) {
79
82
  const baseConfig = (0, import_floorMapViewConfigDiff.normalizeFloorMapViewConfigFromProp)(floorMapConfigProp);
80
83
  return {
81
84
  ...baseConfig,
82
85
  canvases: baseConfig.canvases.map((canvas) => {
83
- const stored = readStoredGridVisible(canvas.id);
86
+ const stored = readStoredGridVisible(canvas.id, namespace);
84
87
  if (stored == null) return canvas;
85
88
  return {
86
89
  ...canvas,
@@ -174,7 +177,8 @@ function useFloorMapEditState(params) {
174
177
  layoutPrefix,
175
178
  contentOffsetRef,
176
179
  showDataSourceRecordFormBlock,
177
- focusViewportOnBoundsRef
180
+ focusViewportOnBoundsRef,
181
+ gridPersistNamespace
178
182
  } = params;
179
183
  const scheduleFocusOnPlacements = (0, import_react.useCallback)(
180
184
  (positions, sizes) => {
@@ -210,7 +214,10 @@ function useFloorMapEditState(params) {
210
214
  lastSyncedPropConfigRef.current = null;
211
215
  return;
212
216
  }
213
- const nextConfig = normalizeFloorMapConfigWithStoredGrid(floorMapConfigProp);
217
+ const nextConfig = normalizeFloorMapConfigWithStoredGrid(
218
+ floorMapConfigProp,
219
+ gridPersistNamespace
220
+ );
214
221
  const lastSynced = lastSyncedPropConfigRef.current;
215
222
  if (draftConfig && lastSynced != null) {
216
223
  const propMatchesDraft = (0, import_floorMapViewConfigDiff.floorMapViewConfigsEqual)(
@@ -237,12 +244,21 @@ function useFloorMapEditState(params) {
237
244
  return prev && enabled.some((c) => c.id === prev) ? prev : ((_a2 = enabled[0]) == null ? void 0 : _a2.id) ?? null;
238
245
  }
239
246
  );
240
- }, [floorMapConfigProp]);
247
+ }, [floorMapConfigProp, gridPersistNamespace]);
241
248
  const isLayoutDirty = (0, import_react.useMemo)(() => {
242
249
  if (!isFloorMapView || !draftConfig || !floorMapConfigProp) return false;
243
- const baseline = savedBaselineConfig ?? normalizeFloorMapConfigWithStoredGrid(floorMapConfigProp);
250
+ const baseline = savedBaselineConfig ?? normalizeFloorMapConfigWithStoredGrid(
251
+ floorMapConfigProp,
252
+ gridPersistNamespace
253
+ );
244
254
  return !(0, import_floorMapViewConfigDiff.floorMapViewConfigsEqual)(draftConfig, baseline);
245
- }, [isFloorMapView, draftConfig, floorMapConfigProp, savedBaselineConfig]);
255
+ }, [
256
+ isFloorMapView,
257
+ draftConfig,
258
+ floorMapConfigProp,
259
+ savedBaselineConfig,
260
+ gridPersistNamespace
261
+ ]);
246
262
  (0, import_react.useEffect)(() => {
247
263
  if (!selectedId || !draftConfig) return;
248
264
  const exists = (draftConfig.sceneElements ?? []).some(
@@ -672,11 +688,14 @@ function useFloorMapEditState(params) {
672
688
  setSavedBaselineConfig(null);
673
689
  return;
674
690
  }
675
- const nextConfig = normalizeFloorMapConfigWithStoredGrid(floorMapConfigProp);
691
+ const nextConfig = normalizeFloorMapConfigWithStoredGrid(
692
+ floorMapConfigProp,
693
+ gridPersistNamespace
694
+ );
676
695
  replaceDraft(nextConfig);
677
696
  lastSyncedPropConfigRef.current = nextConfig;
678
697
  setSavedBaselineConfig(null);
679
- }, [floorMapConfigProp, replaceDraft]);
698
+ }, [floorMapConfigProp, replaceDraft, gridPersistNamespace]);
680
699
  const toggleDraftCanvasShowGrid = (0, import_react.useCallback)(() => {
681
700
  commitDraft((prev) => {
682
701
  if (!prev || !currentCanvasId) return prev;
@@ -686,7 +705,7 @@ function useFloorMapEditState(params) {
686
705
  var _a2;
687
706
  if (c.id !== currentCanvasId) return c;
688
707
  const nextShow = !Boolean((_a2 = c.mapLayer) == null ? void 0 : _a2.showGrid);
689
- writeStoredGridVisible(currentCanvasId, nextShow);
708
+ writeStoredGridVisible(currentCanvasId, nextShow, gridPersistNamespace);
690
709
  return {
691
710
  ...c,
692
711
  mapLayer: { ...c.mapLayer, showGrid: nextShow }
@@ -694,7 +713,7 @@ function useFloorMapEditState(params) {
694
713
  })
695
714
  };
696
715
  });
697
- }, [currentCanvasId]);
716
+ }, [currentCanvasId, gridPersistNamespace]);
698
717
  const handleEditPanelUpdate = (0, import_react.useCallback)(
699
718
  (patch) => {
700
719
  var _a2;
@@ -32,8 +32,8 @@ async function fetchShopFloorPlanByCodeResponse(http, trimmedCode, subscribe) {
32
32
  {},
33
33
  {
34
34
  fullResult: true,
35
- isShopApi: true,
36
35
  ...(subscribe == null ? void 0 : subscribe.subscriberId) != null && subscribe.subscriberId !== "" ? {
36
+ isShopApi: true,
37
37
  abort: true,
38
38
  osServer: subscribe.osServer !== false,
39
39
  subscriberId: subscribe.subscriberId,
@@ -49,8 +49,7 @@ function createShopFloorPlanClient(options) {
49
49
  async function postShopFloorPlan(body) {
50
50
  var _a;
51
51
  const res = await http.post("/shop/schedule/floor-plan", body, {
52
- fullResult: true,
53
- isShopApi: true
52
+ fullResult: true
54
53
  });
55
54
  const ok = (res == null ? void 0 : res.code) === 200 || (res == null ? void 0 : res.status) === true || ((_a = res == null ? void 0 : res.data) == null ? void 0 : _a.status) === true;
56
55
  if (ok) {
@@ -136,8 +135,7 @@ function createShopFloorPlanClient(options) {
136
135
  `/shop/schedule/floor-plan/${id}`,
137
136
  body,
138
137
  {
139
- fullResult: true,
140
- isShopApi: true
138
+ fullResult: true
141
139
  }
142
140
  );
143
141
  const ok = (res == null ? void 0 : res.code) === 200 || (res == null ? void 0 : res.status) === true || ((_a = res == null ? void 0 : res.data) == null ? void 0 : _a.status) === true;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import type { PisellHierarchicalSummaryListProps } from './types';
3
+ import './PisellHierarchicalSummaryList.less';
4
+ /** 根节点类名,供上层用同一 DOM 包裹列表与其它区块时使用 */
5
+ export declare const PREFIX_CLS = "pisell-hierarchical-summary-list";
6
+ export declare const PisellHierarchicalSummaryList: React.FC<PisellHierarchicalSummaryListProps>;
@@ -0,0 +1,10 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import { PisellHierarchicalSummaryList } from './PisellHierarchicalSummaryList';
3
+ declare const meta: Meta<typeof PisellHierarchicalSummaryList>;
4
+ export default meta;
5
+ declare type Story = StoryObj<typeof PisellHierarchicalSummaryList>;
6
+ export declare const Default: Story;
7
+ export declare const Accordion: Story;
8
+ export declare const MaxExpandLevel: Story;
9
+ export declare const AggregateSum: Story;
10
+ export declare const FullFeatured: Story;
@@ -0,0 +1,35 @@
1
+ import React from 'react';
2
+ import type { PisellHierarchicalSummaryListAggregateConfig, PisellHierarchicalSummaryListItem, PisellHierarchicalSummaryListKey, PisellHierarchicalSummaryListLevelConfig, PisellHierarchicalSummaryListRenderContext } from '../types';
3
+ export interface RowProps {
4
+ prefixCls: string;
5
+ item: PisellHierarchicalSummaryListItem;
6
+ level: number;
7
+ index: number;
8
+ parentPathKeys: PisellHierarchicalSummaryListKey[];
9
+ expandedKeySet: ReadonlySet<PisellHierarchicalSummaryListKey>;
10
+ toggleExpanded: (key: PisellHierarchicalSummaryListKey, options?: {
11
+ siblingKeys?: PisellHierarchicalSummaryListKey[];
12
+ }) => void;
13
+ getKey: (item: PisellHierarchicalSummaryListItem, ctx: {
14
+ level: number;
15
+ index: number;
16
+ parentPathKeys: PisellHierarchicalSummaryListKey[];
17
+ }) => PisellHierarchicalSummaryListKey;
18
+ levelConfig?: Record<number, PisellHierarchicalSummaryListLevelConfig>;
19
+ indent: number;
20
+ rowGap: number;
21
+ gaps?: {
22
+ row?: number;
23
+ rowLeft?: number;
24
+ meta?: number;
25
+ rowRight?: number;
26
+ };
27
+ maxRenderLevel?: number;
28
+ maxExpandLevel?: number;
29
+ aggregate?: PisellHierarchicalSummaryListAggregateConfig;
30
+ renderLabel?: (item: PisellHierarchicalSummaryListItem, ctx: PisellHierarchicalSummaryListRenderContext) => React.ReactNode;
31
+ renderValue?: (item: PisellHierarchicalSummaryListItem, ctx: PisellHierarchicalSummaryListRenderContext) => React.ReactNode;
32
+ /** 父行是否带有 itemsCount(仅此类子项显示圆点 + #667085,其他保持黑色) */
33
+ parentHasItemsCount?: boolean;
34
+ }
35
+ export declare const Row: React.FC<RowProps>;
@@ -0,0 +1 @@
1
+ export { Row } from './Row';
@@ -0,0 +1,2 @@
1
+ export { useExpandedKeys } from './useExpandedKeys';
2
+ export type { ExpandedKeysController, UseExpandedKeysOptions } from './useExpandedKeys';
@@ -0,0 +1,15 @@
1
+ import type { PisellHierarchicalSummaryListKey } from '../types';
2
+ export interface UseExpandedKeysOptions {
3
+ expandedKeys?: PisellHierarchicalSummaryListKey[];
4
+ defaultExpandedKeys?: PisellHierarchicalSummaryListKey[];
5
+ onExpandedKeysChange?: (keys: PisellHierarchicalSummaryListKey[]) => void;
6
+ }
7
+ export interface ExpandedKeysController {
8
+ expandedKeys: PisellHierarchicalSummaryListKey[];
9
+ expandedKeySet: ReadonlySet<PisellHierarchicalSummaryListKey>;
10
+ setExpandedKeys: (next: PisellHierarchicalSummaryListKey[]) => void;
11
+ }
12
+ /**
13
+ * 展开态管理(兼容受控/非受控)。
14
+ */
15
+ export declare function useExpandedKeys(options: UseExpandedKeysOptions): ExpandedKeysController;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * PisellHierarchicalSummaryList 组件导出
3
+ */
4
+ export { PisellHierarchicalSummaryList, PREFIX_CLS as HIERARCHICAL_SUMMARY_LIST_PREFIX_CLS, } from './PisellHierarchicalSummaryList';
5
+ export type * from './types';