@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,277 @@
1
+ import { CSSProperties, ReactNode } from 'react';
2
+ import { PisellBasicCardProps } from '../../types';
3
+ /**
4
+ * 样式变体类型
5
+ */
6
+ export declare type TextCardVariant = 'text' | 'filled' | 'outlined' | 'light' | 'gradient' | 'dashed';
7
+ /**
8
+ * 尺寸类型
9
+ */
10
+ export declare type TextCardSize = 'small' | 'default' | 'large';
11
+ /**
12
+ * 宽度模式
13
+ */
14
+ export declare type TextCardWidthMode = 'auto' | 'fixed' | 'full';
15
+ /**
16
+ * 图标配置
17
+ */
18
+ export interface IconConfig {
19
+ /**
20
+ * 图标大小(单位:px)
21
+ */
22
+ size?: number;
23
+ /**
24
+ * 图标颜色
25
+ */
26
+ color?: string;
27
+ }
28
+ /**
29
+ * 标签配置
30
+ */
31
+ export interface TagConfig {
32
+ /**
33
+ * 标签颜色
34
+ */
35
+ color?: string;
36
+ /**
37
+ * 标签自定义样式
38
+ */
39
+ style?: CSSProperties;
40
+ }
41
+ /**
42
+ * 角标类型
43
+ */
44
+ export declare type BadgeType = 'dot' | 'number' | 'text';
45
+ /**
46
+ * 角标大小
47
+ */
48
+ export declare type BadgeSize = 'small' | 'default';
49
+ /**
50
+ * 角标配置
51
+ */
52
+ export interface BadgeConfig {
53
+ /**
54
+ * 角标类型
55
+ * @default 'dot'
56
+ */
57
+ type?: BadgeType;
58
+ /**
59
+ * 角标内容(数字或文本)
60
+ * 当 type 为 'number' 或 'text' 时有效
61
+ */
62
+ content?: ReactNode;
63
+ /**
64
+ * 角标偏移量 [x, y]
65
+ * 正数向右/下偏移,负数向左/上偏移
66
+ */
67
+ offset?: [number, number];
68
+ /**
69
+ * 角标颜色
70
+ */
71
+ color?: string;
72
+ /**
73
+ * 角标自定义样式
74
+ */
75
+ style?: CSSProperties;
76
+ /**
77
+ * 角标大小
78
+ */
79
+ size?: BadgeSize;
80
+ /**
81
+ * 角标是否显示零值
82
+ */
83
+ showZero?: boolean;
84
+ /**
85
+ * 角标其他属性
86
+ */
87
+ [key: string]: any;
88
+ }
89
+ /**
90
+ * 文本配置
91
+ */
92
+ export interface TextConfig {
93
+ /**
94
+ * 字体大小(单位:px)
95
+ */
96
+ fontSize?: number;
97
+ /**
98
+ * 字体粗细
99
+ */
100
+ fontWeight?: string | number;
101
+ /**
102
+ * 文本颜色
103
+ */
104
+ color?: string;
105
+ /**
106
+ * 最大显示行数
107
+ * @default 1
108
+ */
109
+ maxLines?: number;
110
+ /**
111
+ * 是否显示省略号
112
+ * @default true
113
+ */
114
+ ellipsis?: boolean;
115
+ /**
116
+ * 文本对齐方式
117
+ * @default 'left'
118
+ */
119
+ textAlign?: 'left' | 'center' | 'right';
120
+ flex?: string;
121
+ }
122
+ /**
123
+ * TextCard 组件 Props
124
+ * 基于 PisellBasicCardProps 扩展
125
+ * 注意:重写 onClick 为可选属性
126
+ */
127
+ export interface TextCardProps extends Omit<PisellBasicCardProps, 'onClick'> {
128
+ /**
129
+ * 卡片显示的文本内容(必填)
130
+ */
131
+ text: ReactNode;
132
+ /**
133
+ * 卡片样式变体
134
+ * @default 'text'
135
+ */
136
+ variant?: TextCardVariant;
137
+ /**
138
+ * 卡片尺寸
139
+ * @default 'default'
140
+ */
141
+ size?: TextCardSize;
142
+ /**
143
+ * 是否可点击
144
+ * @default true
145
+ */
146
+ clickable?: boolean;
147
+ /**
148
+ * 前置图标
149
+ * 支持 ReactNode(如 antd Icon、svg 等)
150
+ */
151
+ prefixIcon?: ReactNode;
152
+ /**
153
+ * 后置图标
154
+ * 支持 ReactNode(如 antd Icon、svg 等)
155
+ */
156
+ suffixIcon?: ReactNode;
157
+ /**
158
+ * 图标配置
159
+ * 统一配置前置和后置图标的大小和颜色
160
+ */
161
+ iconConfig?: IconConfig;
162
+ /**
163
+ * 后置标签
164
+ * 支持 ReactNode(如 antd Tag、Badge 等)
165
+ */
166
+ tag?: ReactNode;
167
+ /**
168
+ * 标签配置
169
+ */
170
+ tagConfig?: TagConfig;
171
+ /**
172
+ * 角标配置
173
+ * 用于显示红点、数字或文本提示
174
+ */
175
+ badge?: BadgeConfig;
176
+ /**
177
+ * 前置插槽
178
+ * 用于替换前置图标,优先级高于 prefixIcon
179
+ */
180
+ prefixSlot?: ReactNode;
181
+ /**
182
+ * 后置插槽
183
+ * 用于替换后置图标和标签,优先级高于 suffixIcon 和 tag
184
+ */
185
+ suffixSlot?: ReactNode;
186
+ /**
187
+ * 文本配置
188
+ * 用于自定义文本样式和显示行为
189
+ */
190
+ textConfig?: TextConfig;
191
+ /**
192
+ * 宽度模式
193
+ * - auto: 内容撑满,最大宽度 maxWidth
194
+ * - fixed: 固定宽度 width
195
+ * - full: 撑满父容器,最小宽度 28px
196
+ * @default 'auto'
197
+ */
198
+ widthMode?: TextCardWidthMode;
199
+ /**
200
+ * 固定宽度值
201
+ * 当 widthMode='fixed' 时有效
202
+ */
203
+ width?: number | string;
204
+ /**
205
+ * 最大宽度
206
+ * 当 widthMode='auto' 时有效
207
+ * @default 400
208
+ */
209
+ maxWidth?: number | string;
210
+ /**
211
+ * 点击事件
212
+ * 当 clickable=true 且不在 disabled/loading 状态时触发
213
+ * 注意:PisellBasicCardProps 中的 onClick 是必填的,这里重新定义为可选
214
+ */
215
+ onClick?: (event: React.MouseEvent<HTMLDivElement>) => void;
216
+ /**
217
+ * 自定义渲染函数
218
+ * 完全自定义组件的渲染内容
219
+ * 当提供此函数时,组件内置的渲染逻辑将被忽略
220
+ */
221
+ render?: (props: TextCardProps) => ReactNode;
222
+ }
223
+ /**
224
+ * TextContent 组件 Props
225
+ * 文本内容子组件
226
+ */
227
+ export interface TextContentProps {
228
+ /**
229
+ * 文本内容
230
+ */
231
+ text: ReactNode;
232
+ /**
233
+ * 文本配置
234
+ */
235
+ textConfig?: TextConfig;
236
+ /**
237
+ * 自定义类名
238
+ */
239
+ className?: string;
240
+ active?: PisellBasicCardProps['active'];
241
+ }
242
+ /**
243
+ * IconWrapper 组件 Props
244
+ * 图标包装子组件
245
+ */
246
+ export interface IconWrapperProps {
247
+ /**
248
+ * 图标内容
249
+ */
250
+ icon: ReactNode;
251
+ /**
252
+ * 图标配置
253
+ */
254
+ config?: IconConfig;
255
+ /**
256
+ * 图标位置
257
+ */
258
+ position: 'prefix' | 'suffix';
259
+ /**
260
+ * 自定义类名
261
+ */
262
+ className?: string;
263
+ }
264
+ /**
265
+ * BadgeWrapper 组件 Props
266
+ * 角标包装子组件
267
+ */
268
+ export interface BadgeWrapperProps {
269
+ /**
270
+ * 角标配置
271
+ */
272
+ badge?: BadgeConfig;
273
+ /**
274
+ * 子元素
275
+ */
276
+ children: ReactNode;
277
+ }
@@ -0,0 +1,10 @@
1
+ export { default as GraphicTextCard } from './GraphicTextCard';
2
+ export { default as TextCard } from './TextCard';
3
+ export { default as TabCard } from './TabCard';
4
+ export { default as MultilevelCard } from './MultilevelCard';
5
+ export { default as PisellImageCard } from './PisellImageCard';
6
+ export type { GraphicTextCardProps } from './GraphicTextCard/types';
7
+ export type { TextCardProps } from './TextCard/types';
8
+ export type { TabCardProps } from './TabCard/types';
9
+ export type { MultilevelCardProps } from './MultilevelCard/types';
10
+ export type { PisellImageCardProps } from './PisellImageCard/types';
@@ -0,0 +1,17 @@
1
+ import { PisellEntityCard } from '../pisellEntityCard';
2
+ declare const PisellCards: {
3
+ TabCard: (props: any) => import("react").JSX.Element;
4
+ TextCard: (props: any) => import("react").JSX.Element;
5
+ GraphicTextCard: (props: import("./components/GraphicTextCard").GraphicTextCardProps) => import("react").JSX.Element;
6
+ MultilevelCard: (props: any) => import("react").JSX.Element;
7
+ PisellImageCard: (props: import("./components/PisellImageCard").PisellImageCardProps) => import("react").JSX.Element;
8
+ PisellEntityCard: typeof PisellEntityCard;
9
+ };
10
+ export default PisellCards;
11
+ export type { PisellBasicCardProps } from './types';
12
+ export type { TabCardProps, BadgeConfig } from './components/TabCard/types';
13
+ export type { TextCardProps } from './components/TextCard/types';
14
+ export type { GraphicTextCardProps, GraphicTextCardVariant, GraphicTextCardSize, GraphicConfig, } from './components/GraphicTextCard/types';
15
+ export type { MultilevelCardProps } from './components/MultilevelCard/types';
16
+ export type { PisellImageCardProps, ImageDataSource, ImageFillMode, } from './components/PisellImageCard/types';
17
+ export type { PisellEntityCardProps, EntityCardDensity, EntityCardLayout, EntityCardWidth, EntityCardMediaType, EntityCardMediaConfig, EntityCardSecondaryItem, EntityCardTagItem, EntityCardActionItem, EntityCardTagPosition, } from '../pisellEntityCard';
@@ -0,0 +1,31 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import { PisellContactBrief } from './PisellContactBrief';
3
+ declare const meta: Meta<typeof PisellContactBrief>;
4
+ export default meta;
5
+ declare type Story = StoryObj<typeof PisellContactBrief>;
6
+ /** 默认:姓名 + 电话 + 邮箱,横向,有编辑图标 */
7
+ export declare const Default: Story;
8
+ /** 无头像(占位) */
9
+ export declare const NoAvatar: Story;
10
+ /** 有头像 */
11
+ export declare const WithAvatar: Story;
12
+ /** 竖向布局 */
13
+ export declare const Vertical: Story;
14
+ /** 仅姓名 + 电话(无邮箱) */
15
+ export declare const NoEmail: Story;
16
+ /** 仅姓名 + 邮箱(无电话) */
17
+ export declare const NoPhone: Story;
18
+ /** 扩展字段:生日、地址 */
19
+ export declare const WithExtraFields: Story;
20
+ /** 左滑删除 */
21
+ export declare const SwipeToDelete: Story;
22
+ /** 编辑提交回调(仅日志) */
23
+ export declare const WithEditSubmit: Story;
24
+ /** 禁用态 */
25
+ export declare const Disabled: Story;
26
+ /** 主文案行数限制为 1 */
27
+ export declare const PrimaryLineClamp: Story;
28
+ /** 新建联系人按钮(CreateButton) */
29
+ export declare const CreateButtonOnly: Story;
30
+ /** 卡片 + 新建按钮(列表场景) */
31
+ export declare const ListWithCreateButton: Story;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * PisellContactBrief 子组件导出
3
+ */
4
+ export { ContactFormModal } from './ContactFormModal';
5
+ export type { ContactFormModalProps, ContactFormModalMode } from './ContactFormModal';
@@ -0,0 +1,6 @@
1
+ /**
2
+ * PisellContactBrief 组件导出
3
+ * 联系人简要卡片 + CreateButton(PisellContactBrief.CreateButton)
4
+ */
5
+ export { PisellContactBrief } from './PisellContactBrief';
6
+ export type { PisellContactBriefProps, PisellContactBriefCreateButtonProps, PisellContactBriefComponent, ContactFormValues, ContactBriefExtraField, } from './types';
@@ -0,0 +1,55 @@
1
+ /**
2
+ * PisellContactBrief 多语言文案
3
+ * 中、英、繁;由业务 locales.init 合并或组件内 init 后使用 locales.getText(key)
4
+ */
5
+ declare const _default: {
6
+ en: {
7
+ 'pisell.contact.brief.addContact': string;
8
+ 'pisell.contact.brief.edit': string;
9
+ 'pisell.contact.brief.delete': string;
10
+ 'pisell.contact.brief.modal.title.create': string;
11
+ 'pisell.contact.brief.modal.title.edit': string;
12
+ 'pisell.contact.brief.modal.cancel': string;
13
+ 'pisell.contact.brief.modal.save': string;
14
+ 'pisell.contact.brief.modal.field.firstname': string;
15
+ 'pisell.contact.brief.modal.field.lastname': string;
16
+ 'pisell.contact.brief.modal.field.phone': string;
17
+ 'pisell.contact.brief.modal.field.email': string;
18
+ 'pisell.contact.brief.modal.field.phone.placeholder': string;
19
+ 'pisell.contact.brief.modal.field.email.placeholder': string;
20
+ 'pisell.contact.brief.modal.field.required': string;
21
+ };
22
+ 'zh-CN': {
23
+ 'pisell.contact.brief.addContact': string;
24
+ 'pisell.contact.brief.edit': string;
25
+ 'pisell.contact.brief.delete': string;
26
+ 'pisell.contact.brief.modal.title.create': string;
27
+ 'pisell.contact.brief.modal.title.edit': string;
28
+ 'pisell.contact.brief.modal.cancel': string;
29
+ 'pisell.contact.brief.modal.save': string;
30
+ 'pisell.contact.brief.modal.field.firstname': string;
31
+ 'pisell.contact.brief.modal.field.lastname': string;
32
+ 'pisell.contact.brief.modal.field.phone': string;
33
+ 'pisell.contact.brief.modal.field.email': string;
34
+ 'pisell.contact.brief.modal.field.phone.placeholder': string;
35
+ 'pisell.contact.brief.modal.field.email.placeholder': string;
36
+ 'pisell.contact.brief.modal.field.required': string;
37
+ };
38
+ 'zh-HK': {
39
+ 'pisell.contact.brief.addContact': string;
40
+ 'pisell.contact.brief.edit': string;
41
+ 'pisell.contact.brief.delete': string;
42
+ 'pisell.contact.brief.modal.title.create': string;
43
+ 'pisell.contact.brief.modal.title.edit': string;
44
+ 'pisell.contact.brief.modal.cancel': string;
45
+ 'pisell.contact.brief.modal.save': string;
46
+ 'pisell.contact.brief.modal.field.firstname': string;
47
+ 'pisell.contact.brief.modal.field.lastname': string;
48
+ 'pisell.contact.brief.modal.field.phone': string;
49
+ 'pisell.contact.brief.modal.field.email': string;
50
+ 'pisell.contact.brief.modal.field.phone.placeholder': string;
51
+ 'pisell.contact.brief.modal.field.email.placeholder': string;
52
+ 'pisell.contact.brief.modal.field.required': string;
53
+ };
54
+ };
55
+ export default _default;
@@ -0,0 +1,82 @@
1
+ import type React from 'react';
2
+ import type { PisellBaseCardProps } from '../pisellBaseCard/types';
3
+ import type { EntityCardLayout } from '../pisellEntityCard/types';
4
+ /**
5
+ * 联系人表单值(新建/编辑弹窗提交结构)
6
+ * 基础字段 name、phone、email + 扩展字段(与 extraFields[].key 对应)扁平在同一对象
7
+ */
8
+ export interface ContactFormValues {
9
+ /** 姓名 */
10
+ name: string;
11
+ /** 电话 */
12
+ phone?: string;
13
+ /** 邮箱 */
14
+ email?: string;
15
+ /** 扩展字段及任意表单项,key 与 extraFields 配置对应 */
16
+ [key: string]: string | undefined;
17
+ }
18
+ /**
19
+ * 可增加字段配置项
20
+ * 顺序即卡片展示与弹窗表单项顺序
21
+ */
22
+ export interface ContactBriefExtraField {
23
+ /** 字段 key,与 extraData / ContactFormValues 对应 */
24
+ key: string;
25
+ /** 展示与表单项 label(可配合多语言) */
26
+ label: string;
27
+ }
28
+ /**
29
+ * PisellContactBrief 组件 Props
30
+ * 基于 PisellEntityCard 展示联系人简要信息,内置编辑弹窗
31
+ */
32
+ export interface PisellContactBriefProps extends Pick<PisellBaseCardProps, 'className' | 'style' | 'hoverStyle' | 'activeStyle' | 'disabledStyle' | 'clickable' | 'disabled' | 'onClick'> {
33
+ /** 联系人姓名(主文案) */
34
+ name: string;
35
+ /** 电话(副标题,与姓名同行) */
36
+ phone?: string;
37
+ /** 邮箱(次级文案) */
38
+ email?: string;
39
+ /** 头像图片地址,不传则显示默认占位 */
40
+ avatar?: string;
41
+ /** 扩展字段值,key 与 extraFields 配置对应 */
42
+ extraData?: Record<string, string>;
43
+ /** 可增加字段配置,顺序即展示与表单顺序 */
44
+ extraFields?: ContactBriefExtraField[];
45
+ /** 编辑弹窗提交回调 */
46
+ onSubmit?: (values: ContactFormValues) => void;
47
+ /** 左滑删除回调(透传 Entity Card) */
48
+ onDelete?: () => void;
49
+ /** 是否开启左滑删除 @default false */
50
+ swipeToDelete?: boolean;
51
+ /** 布局方向 @default 'horizontal' */
52
+ layout?: EntityCardLayout;
53
+ /** 是否显示头像 @default true */
54
+ showAvatar?: boolean;
55
+ /** 是否显示电话 @default true */
56
+ showPhone?: boolean;
57
+ /** 是否显示邮箱 @default true */
58
+ showEmail?: boolean;
59
+ /** 主文案行数限制 */
60
+ primaryLineClamp?: number;
61
+ /** 次级文案行数限制 */
62
+ secondaryLineClamp?: number;
63
+ }
64
+ /**
65
+ * PisellContactBrief.CreateButton 组件 Props
66
+ * 点击后打开新建联系人弹窗
67
+ */
68
+ export interface PisellContactBriefCreateButtonProps extends Pick<PisellBaseCardProps, 'className' | 'style'> {
69
+ /** 可增加字段配置,与卡片一致,弹窗内表单项与之对应 */
70
+ extraFields?: ContactBriefExtraField[];
71
+ /** 新建弹窗提交回调,调用方保存数据后可更新列表 */
72
+ onCreate?: (values: ContactFormValues) => void;
73
+ /** 自定义点击行为;不传则使用内置打开新建弹窗 */
74
+ onClick?: (e: React.MouseEvent<HTMLDivElement>) => void;
75
+ }
76
+ /**
77
+ * 复合组件类型:PisellContactBrief + CreateButton
78
+ */
79
+ export interface PisellContactBriefComponent {
80
+ (props: PisellContactBriefProps): React.ReactElement;
81
+ CreateButton: React.ComponentType<PisellContactBriefCreateButtonProps>;
82
+ }
@@ -0,0 +1,37 @@
1
+ /**
2
+ * PisellFields 命名空间
3
+ * 字段组件集合 - 支持编辑态、只读态、禁用态三种视图模式
4
+ *
5
+ * @example
6
+ * import { PisellFields } from '@pisell/materials';
7
+ *
8
+ * <PisellFields.SingleLineText value="hello" viewMode="edit" />
9
+ * <PisellFields.Number value={123} viewMode="readonly" />
10
+ * <PisellFields.Currency value={1000} currencySymbol="$" />
11
+ */
12
+ /// <reference types="react" />
13
+ declare const PisellFields: {
14
+ SingleLineText: import("react").NamedExoticComponent<import("../pisellSingleLineText").PisellSingleLineTextProps>;
15
+ LongText: import("react").NamedExoticComponent<import("../pisellLongText").PisellLongTextProps>;
16
+ Number: import("react").NamedExoticComponent<import("../pisellNumber").PisellNumberProps>;
17
+ Currency: import("react").NamedExoticComponent<import("../pisellCurrency").PisellCurrencyProps>;
18
+ Percent: import("react").NamedExoticComponent<import("../pisellPercent").PisellPercentProps>;
19
+ Phone: import("react").NamedExoticComponent<import("../pisellPhone").PisellPhoneProps>;
20
+ Email: import("react").NamedExoticComponent<import("../pisellEmail").PisellEmailProps>;
21
+ Url: import("react").NamedExoticComponent<import("../pisellUrl").PisellUrlProps>;
22
+ Rating: import("react").NamedExoticComponent<import("../pisellRating").PisellRatingProps>;
23
+ SingleSelect: import("react").ForwardRefExoticComponent<import("../pisellSingleSelect").PisellSingleSelectProps<string | number> & import("react").RefAttributes<import("../pisellSingleSelect").SingleSelectRef<string | number>>>;
24
+ MultipleSelect: import("react").ForwardRefExoticComponent<import("../pisellMultipleSelect").PisellMultipleSelectProps<string | number> & import("react").RefAttributes<import("../pisellMultipleSelect").MultipleSelectRef<string | number>>>;
25
+ };
26
+ export default PisellFields;
27
+ export type { PisellSingleLineTextProps, } from '../pisellSingleLineText';
28
+ export type { PisellLongTextProps, } from '../pisellLongText';
29
+ export type { PisellNumberProps, } from '../pisellNumber';
30
+ export type { PisellCurrencyProps, } from '../pisellCurrency';
31
+ export type { PisellPercentProps, } from '../pisellPercent';
32
+ export type { PisellPhoneProps, CountryCode, } from '../pisellPhone';
33
+ export type { PisellEmailProps, MailtoOptions, } from '../pisellEmail';
34
+ export type { PisellUrlProps, } from '../pisellUrl';
35
+ export type { PisellRatingProps, } from '../pisellRating';
36
+ export type { PisellSingleSelectProps, SingleSelectRef, } from '../pisellSingleSelect';
37
+ export type { PisellMultipleSelectProps, MultipleSelectRef, } from '../pisellMultipleSelect';
@@ -0,0 +1,37 @@
1
+ /**
2
+ * PisellLayouts 命名空间
3
+ * 布局组件集合
4
+ *
5
+ * @example
6
+ * import { PisellLayouts } from '@pisell/materials';
7
+ *
8
+ * <PisellLayouts.BasicGrid columns={3} gap={16}>
9
+ * {items.map(item => <Card key={item.id} {...item} />)}
10
+ * </PisellLayouts.BasicGrid>
11
+ *
12
+ * <PisellLayouts.ScrollView direction="horizontal">
13
+ * <Content />
14
+ * </PisellLayouts.ScrollView>
15
+ */
16
+ declare const PisellLayouts: {
17
+ BasicGrid: <T>(props: import("../PisellBasicGrid").PisellBasicGridProps<T>) => import("react").JSX.Element;
18
+ ScrollView: import("react").ForwardRefExoticComponent<Omit<import("../PisellScrollView").PisellScrollViewProps, "ref"> & import("react").RefAttributes<import("../PisellScrollView").PisellScrollViewRef>>;
19
+ FloorMapLayout: <T_1 extends import("../pisellFloorMapLayout").FloorMapItemBase = import("../pisellFloorMapLayout").FloorMapItemBase>(props: import("../pisellFloorMapLayout").PisellFloorMapLayoutProps<T_1> & {
20
+ ref?: import("react").Ref<import("../pisellFloorMapLayout").PisellFloorMapLayoutRef> | undefined;
21
+ }) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
22
+ Layout: import("../pisellLayout").CompoundedComponent;
23
+ Content: import("react").FC<import("../pisellLayout/content").PisellContentProps>;
24
+ Footer: import("react").FC<import("../pisellLayout/footer").PisellFooterProps>;
25
+ Header: import("react").FC<import("../pisellLayout/header").PisellHeaderProps>;
26
+ Sider: import("react").FC<import("../pisellLayout/sider").PisellSiderProps>;
27
+ Container: <T_2 extends import("../pisellContainer").RenderType>(props: import("../pisellContainer").PisellContainerProps<T_2>) => any;
28
+ Row: (props: import("../pisellRow").PisellRowProps) => import("react").JSX.Element;
29
+ ViewGrid: import("react").FC<import("../pisellViewGrid").PisellViewGridProps>;
30
+ };
31
+ export default PisellLayouts;
32
+ export type { PisellBasicGridProps } from '../PisellBasicGrid';
33
+ export type { PisellScrollViewProps } from '../PisellScrollView';
34
+ export type { PisellFloorMapLayoutProps, PisellFloorMapLayoutRef, FloorMapFullscreenMode, FloorMapLayoutContextValue, FloorMapLayoutProviderProps, } from '../pisellFloorMapLayout';
35
+ export { FloorMapLayoutProvider, useFloorMapLayoutContext, EMPTY_FLOOR_MAP_LAYOUT_CONTEXT, mergeFloorMapLayoutPropsFromContext, } from '../pisellFloorMapLayout';
36
+ export type { PisellLayoutProps, CompoundedComponent } from '../pisellLayout';
37
+ export type { PisellRowProps } from '../pisellRow';
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ import './PisellSteps.less';
3
+ import type { PisellStepsProps } from './types';
4
+ /**
5
+ * PisellSteps 步骤条组件
6
+ *
7
+ * 基于 Ant Design Steps 组件进行二次封装和增强
8
+ * 支持多种展示样式、布局方式和丰富的交互功能
9
+ *
10
+ * @author Pisell Team
11
+ * @version 1.0.0
12
+ */
13
+ declare const PisellSteps: React.FC<PisellStepsProps>;
14
+ export default PisellSteps;
@@ -0,0 +1,20 @@
1
+ import React from 'react';
2
+ import './PisellTabbar.less';
3
+ import { PisellTabbarProps } from './types';
4
+ /**
5
+ * PisellTabbar - 多层级 Tabbar 组件
6
+ *
7
+ * 支持最多 3 层级的 Tab 导航,每层级可独立展开/收起
8
+ *
9
+ * @component
10
+ * @example
11
+ * ```tsx
12
+ * <PisellTabbar
13
+ * dataSource={categoryData}
14
+ * value={[1, 10, 100]}
15
+ * onChange={(value) => console.log('当前选中:', value)}
16
+ * />
17
+ * ```
18
+ */
19
+ declare const PisellTabbar: React.FC<PisellTabbarProps>;
20
+ export default PisellTabbar;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * PisellTabbar 组件导出文件
3
+ * @module PisellTabbar
4
+ */
5
+ import PisellTabbar from './PisellTabbar';
6
+ import PisellTabbarTemplate1 from './template/Template1';
7
+ export type { PisellTabbarProps, TabbarDataSource, LevelType } from './types';
8
+ export { PisellTabbarTemplate1 };
9
+ export default PisellTabbar;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import '../../PisellTabbar.less';
3
+ import { PisellTabbarProps } from '../../types';
4
+ declare const _default: React.ForwardRefExoticComponent<PisellTabbarProps & React.RefAttributes<unknown>>;
5
+ export default _default;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * PisellTabbar 组件导出文件
3
+ * @module PisellTabbar
4
+ */
5
+ import PisellTabbar from './PisellTabbar';
6
+ export default PisellTabbar;
@@ -0,0 +1,23 @@
1
+ import React from 'react';
2
+ import { getDefaultActiveKey } from './utils';
3
+ import { PisellTabbarProps } from './types';
4
+ import './PisellTabbar.less';
5
+ /**
6
+ * PisellTabbar - 多层级 Tabbar 组件
7
+ *
8
+ * 支持最多 3 层级的 Tab 导航,每层级可独立展开/收起
9
+ *
10
+ * @component
11
+ * @example
12
+ * ```tsx
13
+ * <PisellTabbar
14
+ * dataSource={categoryData}
15
+ * value={[1, 10, 100]}
16
+ * onChange={(value) => console.log('当前选中:', value)}
17
+ * />
18
+ * ```
19
+ */
20
+ declare const PisellTabbar: React.FC<PisellTabbarProps> & {
21
+ getDefaultActiveKey: typeof getDefaultActiveKey;
22
+ };
23
+ export default PisellTabbar;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { TabbarLevelProps } from '../types';
3
+ /**
4
+ * Tabbar 层级组件
5
+ * 负责渲染单个层级的 Tab 导航
6
+ */
7
+ declare const TabbarLevel: React.FC<TabbarLevelProps>;
8
+ export default TabbarLevel;
@@ -0,0 +1 @@
1
+ export { default as TabbarLevel } from './TabbarLevel';
@@ -0,0 +1,6 @@
1
+ /**
2
+ * PisellTabbar 组件导出文件
3
+ * @module PisellTabbar
4
+ */
5
+ export { default } from './PisellTabbar';
6
+ export type { PisellTabbarProps, TabbarDataSource, LevelType } from './types';